diff --git a/.buildkite/ftr_configs.yml b/.buildkite/ftr_configs.yml index c57e480db74de..f3af92d9e934b 100644 --- a/.buildkite/ftr_configs.yml +++ b/.buildkite/ftr_configs.yml @@ -47,9 +47,9 @@ disabled: - x-pack/test/functional_enterprise_search/visual_config.ts - x-pack/test/functional_enterprise_search/cli_config.ts - x-pack/test_serverless/functional/test_suites/security/cypress/security_config.ts - - x-pack/plugins/apm/ftr_e2e/ftr_config_open.ts - - x-pack/plugins/apm/ftr_e2e/ftr_config_run.ts - - x-pack/plugins/apm/ftr_e2e/ftr_config.ts + - x-pack/plugins/observability_solution/apm/ftr_e2e/ftr_config_open.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/test_serverless/functional/test_suites/observability/cypress/config_headless.ts - x-pack/test_serverless/functional/test_suites/observability/cypress/config_runner.ts - x-pack/test/security_solution_cypress/serverless_config.ts diff --git a/.buildkite/pipeline-utils/buildkite/client.ts b/.buildkite/pipeline-utils/buildkite/client.ts index 313b48b56e49c..123ea4cfbf2f2 100644 --- a/.buildkite/pipeline-utils/buildkite/client.ts +++ b/.buildkite/pipeline-utils/buildkite/client.ts @@ -29,7 +29,7 @@ export interface BuildkiteGroup { steps: BuildkiteStep[]; } -export type BuildkiteStep = BuildkiteCommandStep | BuildkiteInputStep; +export type BuildkiteStep = BuildkiteCommandStep | BuildkiteInputStep | BuildkiteTriggerStep; export interface BuildkiteCommandStep { command: string; @@ -94,6 +94,25 @@ export interface BuildkiteInputStep { env?: { [key: string]: string }; } +export interface BuildkiteTriggerStep { + trigger: string; + label?: string; + build?: { + message?: string; // The message for the build. Supports emoji. + commit?: string; // The commit hash for the build. + branch?: string; // The branch for the build. + meta_data?: string; // A map of meta-data for the build. + env?: Record; // A map of environment variables for the build. + }; + async?: boolean; + branches?: string; + if?: string; + allow_dependency_failure?: boolean; + soft_fail?: boolean; + depends_on?: string | string[]; + skip?: string; +} + export interface BuildkiteTriggerBuildParams { commit: string; branch: string; diff --git a/.buildkite/pipelines/pipeline.kibana-serverless-release.yaml b/.buildkite/pipelines/pipeline.kibana-serverless-release.yaml deleted file mode 100644 index d96ae53bed5b9..0000000000000 --- a/.buildkite/pipelines/pipeline.kibana-serverless-release.yaml +++ /dev/null @@ -1,12 +0,0 @@ -steps: - - label: ":releasethekraken: Release kibana" - # https://regex101.com/r/tY52jo/1 - if: build.tag =~ /^deploy@\d+\$/ - trigger: gpctl-promote - build: - env: - SERVICE_COMMIT_HASH: "${BUILDKITE_COMMIT:0:12}" - REMOTE_SERVICE_CONFIG: https://raw.githubusercontent.com/elastic/serverless-gitops/main/gen/gpctl/kibana/config.yaml - -notify: - - slack: "#kibana-mission-control" diff --git a/.buildkite/pipelines/serverless_deployment/create_deployment_tag.yml b/.buildkite/pipelines/serverless_deployment/create_deployment_tag.yml index e6aa863d27104..10ecc5590087f 100644 --- a/.buildkite/pipelines/serverless_deployment/create_deployment_tag.yml +++ b/.buildkite/pipelines/serverless_deployment/create_deployment_tag.yml @@ -33,5 +33,9 @@ steps: - ts-node .buildkite/scripts/serverless/create_deploy_tag/release_wizard_messaging.ts --state create_deploy_tag - bash .buildkite/scripts/serverless/create_deploy_tag/create_deploy_tag.sh - ts-node .buildkite/scripts/serverless/create_deploy_tag/release_wizard_messaging.ts --state tag_created + - ts-node .buildkite/scripts/serverless/create_deploy_tag/generate_gpctl_trigger.ts + - ts-node .buildkite/scripts/serverless/create_deploy_tag/release_wizard_messaging.ts --state trigger_gpctl env: DRY_RUN: $DRY_RUN + + - wait: ~ diff --git a/.buildkite/scripts/serverless/create_deploy_tag/create_deploy_tag.sh b/.buildkite/scripts/serverless/create_deploy_tag/create_deploy_tag.sh index 87c197142a9bb..2b8bad71027c2 100755 --- a/.buildkite/scripts/serverless/create_deploy_tag/create_deploy_tag.sh +++ b/.buildkite/scripts/serverless/create_deploy_tag/create_deploy_tag.sh @@ -33,4 +33,4 @@ else echo "Skipping tag push to GitHub due to DRY_RUN=$DRY_RUN" fi -echo "Created deploy tag: $DEPLOY_TAG - your QA release should start @ https://buildkite.com/elastic/kibana-serverless-release/builds?branch=$DEPLOY_TAG" +echo "Created deploy tag: $DEPLOY_TAG" diff --git a/.buildkite/scripts/serverless/create_deploy_tag/generate_gpctl_trigger.ts b/.buildkite/scripts/serverless/create_deploy_tag/generate_gpctl_trigger.ts new file mode 100644 index 0000000000000..8fa778fe8a676 --- /dev/null +++ b/.buildkite/scripts/serverless/create_deploy_tag/generate_gpctl_trigger.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 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. + */ + +import { buildkite } from './shared'; +import { getSelectedCommitHash } from './info_sections/commit_info'; +import { BuildkiteTriggerStep } from '#pipeline-utils'; + +const IS_DRY_RUN = process.env.DRY_RUN?.match(/(1|true)/i); +const REMOTE_SERVICE_CONFIG = `https://raw.githubusercontent.com/elastic/serverless-gitops/main/gen/gpctl/kibana/config.yaml`; + +async function main() { + const selectedSha = getSelectedCommitHash(); + uploadTriggerStep(selectedSha); +} + +function uploadTriggerStep(commitSha: string) { + const triggerStep: BuildkiteTriggerStep = { + label: ':releasethekaken: Trigger GPCTL / Release Kibana', + trigger: 'gpctl-promote', + async: true, + build: { + message: 'Triggered by Kibana serverless release pipeline', + env: { + SERVICE_COMMIT_HASH: commitSha.slice(0, 12), + REMOTE_SERVICE_CONFIG, + }, + }, + }; + + if (IS_DRY_RUN) { + console.log('Dry run: skipping upload of GPCTL trigger step. Step definition:', triggerStep); + } else { + buildkite.uploadSteps([triggerStep]); + } +} + +main() + .then(() => { + console.log('GPCTL Trigger step uploaded.'); + }) + .catch((error) => { + console.error(error); + process.exit(1); + }); diff --git a/.buildkite/scripts/serverless/create_deploy_tag/release_wizard_messaging.ts b/.buildkite/scripts/serverless/create_deploy_tag/release_wizard_messaging.ts index 7873332371823..94422c2949a87 100644 --- a/.buildkite/scripts/serverless/create_deploy_tag/release_wizard_messaging.ts +++ b/.buildkite/scripts/serverless/create_deploy_tag/release_wizard_messaging.ts @@ -34,9 +34,9 @@ type StateNames = | 'wait_for_confirmation' | 'create_deploy_tag' | 'tag_created' + | 'trigger_gpctl' | 'end' - | 'error_generic' - | string; + | 'error_generic'; interface StateShape { name: string; @@ -117,7 +117,20 @@ const states: Record = { name: 'Release tag created', description: 'The initial step release is completed, follow up jobs will be triggered soon.', instruction: `

Deploy tag successfully created!

`, - post: async () => { + instructionStyle: 'success', + display: true, + }, + trigger_gpctl: { + name: 'Triggering GPCTL deployment', + description: 'Triggering the GPCTL deployment for the release - sit back and relax.', + instruction: `GPCTL deployment triggered, follow the trigger step for more info.`, + instructionStyle: 'info', + display: true, + }, + end: { + name: 'End of the release process', + description: 'The release process has ended.', + pre: async () => { // The deployTag here is only for communication, if it's missing, it's not a big deal, but it's an error const deployTag = buildkite.getMetadata(DEPLOY_TAG_META_KEY) || @@ -128,8 +141,7 @@ const states: Record = { buildkite.setAnnotation( WIZARD_CTX_INSTRUCTION, 'success', - `

Deploy tag successfully created!


-Your deployment will appear here on buildkite.` + `

Release successfully initiated!

` ); if (!selectedCommit) { @@ -153,12 +165,6 @@ Your deployment will appear :kibana: Kibana Serverless deployment wizard :mage:`; const wizardSteps = Object.keys(states) - .filter((stateName) => states[stateName].display) - .filter((stateName) => !(IS_AUTOMATED_RUN && states[stateName].skipWhenAutomated)) + .filter((stateName) => states[stateName as StateNames].display) + .filter((stateName) => !(IS_AUTOMATED_RUN && states[stateName as StateNames].skipWhenAutomated)) .map((stateName) => { - const stateInfo = states[stateName]; + const stateInfo = states[stateName as StateNames]; const stateStatus = stateData[stateName]; const stateEmoji = { ok: ':white_check_mark:', @@ -271,7 +277,7 @@ ${wizardSteps.join('\n')} } function updateWizardInstruction(targetState: string, stateData: any) { - const { instructionStyle, instruction } = states[targetState]; + const { instructionStyle, instruction } = states[targetState as StateNames]; if (IS_AUTOMATED_RUN) { buildkite.setAnnotation( diff --git a/.eslintrc.js b/.eslintrc.js index dba4cf3f925dd..918e469ae0a58 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -591,7 +591,7 @@ module.exports = { '**/*.test.js', 'x-pack/test/apm_api_integration/**/*.ts', 'x-pack/test/functional/apps/**/*.js', - 'x-pack/plugins/apm/**/*.js', + 'x-pack/plugins/observability_solution/apm/**/*.js', 'test/*/config.ts', 'test/*/config_open.ts', 'test/*/*.config.ts', @@ -871,8 +871,8 @@ module.exports = { */ { files: [ - 'x-pack/plugins/apm/**/*.{js,mjs,ts,tsx}', - 'x-pack/plugins/observability/**/*.{js,mjs,ts,tsx}', + 'x-pack/plugins/observability_solution/apm/**/*.{js,mjs,ts,tsx}', + 'x-pack/plugins/observability_solution/observability/**/*.{js,mjs,ts,tsx}', 'x-pack/plugins/observability_solution/exploratory_view/**/*.{js,mjs,ts,tsx}', 'x-pack/plugins/observability_solution/ux/**/*.{js,mjs,ts,tsx}', ], @@ -894,8 +894,8 @@ module.exports = { }, { files: [ - 'x-pack/plugins/apm/**/*.stories.*', - 'x-pack/plugins/observability/**/*.stories.*', + 'x-pack/plugins/observability_solution/apm/**/*.stories.*', + 'x-pack/plugins/observability_solution/observability/**/*.stories.*', 'x-pack/plugins/observability_solution/exploratory_view/**/*.stories.*', ], rules: { @@ -911,16 +911,18 @@ module.exports = { { files: [ 'x-pack/plugins/aiops/**/*.tsx', - 'x-pack/plugins/apm/**/*.tsx', - 'x-pack/plugins/observability_solution/exploratory_view/**/*.tsx', 'x-pack/plugins/infra/**/*.tsx', - 'x-pack/plugins/observability/**/*.tsx', - 'x-pack/plugins/observability_solution/observability_onboarding/**/*.tsx', + 'x-pack/plugins/observability_solution/apm/**/*.tsx', + 'x-pack/plugins/observability_solution/dataset_quality/**/*.tsx', + 'x-pack/plugins/observability_solution/exploratory_view/**/*.tsx', + 'x-pack/plugins/observability_solution/infra/**/*.tsx', + 'x-pack/plugins/observability_solution/observability/**/*.tsx', 'x-pack/plugins/observability_solution/observability_ai_assistant/**/*.tsx', 'x-pack/plugins/observability_solution/observability_onboarding/**/*.tsx', 'x-pack/plugins/observability_solution/observability_shared/**/*.tsx', 'x-pack/plugins/observability_solution/profiling/**/*.tsx', 'x-pack/plugins/observability_solution/synthetics/**/*.tsx', + 'x-pack/plugins/observability_solution/uptime/**/*.tsx', 'x-pack/plugins/observability_solution/ux/**/*.tsx', 'src/plugins/ai_assistant_management/**/*.tsx', ], @@ -930,11 +932,10 @@ module.exports = { }, { files: [ - 'x-pack/plugins/apm/**/!(*.stories.tsx|*.test.tsx|*.storybook_decorator.tsx|*.mock.tsx)', + 'x-pack/plugins/observability_solution/apm/**/!(*.stories.tsx|*.test.tsx|*.storybook_decorator.tsx|*.mock.tsx)', 'x-pack/plugins/observability_solution/exploratory_view/**/!(*.stories.tsx|*.test.tsx|*.storybook_decorator.tsx|*.mock.tsx)', - 'x-pack/plugins/infra/**/!(*.stories.tsx|*.test.tsx|*.storybook_decorator.tsx|*.mock.tsx)', - 'x-pack/plugins/observability/**/!(*.stories.tsx|*.test.tsx|*.storybook_decorator.tsx|*.mock.tsx)', - 'x-pack/plugins/observability_solution/observability_onboarding/**/!(*.stories.tsx|*.test.tsx|*.storybook_decorator.tsx|*.mock.tsx)', + 'x-pack/plugins/observability_solution/infra/**/!(*.stories.tsx|*.test.tsx|*.storybook_decorator.tsx|*.mock.tsx)', + 'x-pack/plugins/observability_solution/observability/**/!(*.stories.tsx|*.test.tsx|*.storybook_decorator.tsx|*.mock.tsx)', 'x-pack/plugins/observability_solution/observability_ai_assistant/**/!(*.stories.tsx|*.test.tsx|*.storybook_decorator.tsx|*.mock.tsx)', 'x-pack/plugins/observability_solution/observability_onboarding/**/!(*.stories.tsx|*.test.tsx|*.storybook_decorator.tsx|*.mock.tsx)', 'x-pack/plugins/observability_solution/observability_shared/**/!(*.stories.tsx|*.test.tsx|*.storybook_decorator.tsx|*.mock.tsx)', @@ -950,7 +951,7 @@ module.exports = { }, { // require explicit return types in route handlers for performance reasons - files: ['x-pack/plugins/apm/server/**/route.ts'], + files: ['x-pack/plugins/observability_solution/apm/server/**/route.ts'], rules: { '@typescript-eslint/explicit-function-return-type': [ 'error', diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 48211d6f11b2b..cc413d05d8cb9 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -40,8 +40,8 @@ packages/analytics/shippers/elastic_v3/common @elastic/kibana-core packages/analytics/shippers/elastic_v3/server @elastic/kibana-core packages/analytics/shippers/fullstory @elastic/kibana-core packages/kbn-apm-config-loader @elastic/kibana-core @vigneshshanmugam -x-pack/plugins/apm_data_access @elastic/obs-knowledge-team @elastic/obs-ux-infra_services-team -x-pack/plugins/apm @elastic/obs-ux-infra_services-team +x-pack/plugins/observability_solution/apm_data_access @elastic/obs-knowledge-team @elastic/obs-ux-infra_services-team +x-pack/plugins/observability_solution/apm @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-utils @elastic/obs-ux-infra_services-team @@ -464,7 +464,7 @@ x-pack/plugins/index_lifecycle_management @elastic/platform-deployment-managemen x-pack/plugins/index_management @elastic/platform-deployment-management test/plugin_functional/plugins/index_patterns @elastic/kibana-data-discovery x-pack/packages/kbn-infra-forge @elastic/obs-ux-management-team -x-pack/plugins/infra @elastic/obs-ux-logs-team @elastic/obs-ux-infra_services-team +x-pack/plugins/observability_solution/infra @elastic/obs-ux-logs-team @elastic/obs-ux-infra_services-team x-pack/plugins/ingest_pipelines @elastic/platform-deployment-management src/plugins/input_control_vis @elastic/kibana-presentation src/plugins/inspector @elastic/kibana-presentation @@ -576,7 +576,7 @@ x-pack/test/cases_api_integration/common/plugins/observability @elastic/response x-pack/packages/observability/get_padded_alert_time_range_util @elastic/obs-ux-management-team x-pack/plugins/observability_solution/observability_logs_explorer @elastic/obs-ux-logs-team x-pack/plugins/observability_solution/observability_onboarding @elastic/obs-ux-logs-team -x-pack/plugins/observability @elastic/obs-ux-management-team +x-pack/plugins/observability_solution/observability @elastic/obs-ux-management-team x-pack/plugins/observability_solution/observability_shared @elastic/observability-ui x-pack/test/security_api_integration/plugins/oidc_provider @elastic/kibana-security test/common/plugins/otel_metrics @elastic/obs-ux-infra_services-team @@ -991,60 +991,60 @@ packages/kbn-monaco/src/esql @elastic/kibana-visualizations /.github/workflows/oblt-github-commands @elastic/observablt-robots # Infra Monitoring -/x-pack/plugins/infra/server/routes @elastic/obs-ux-infra_services-team -/x-pack/plugins/infra/server/routes/log_analysis @elastic/obs-ux-logs-team -/x-pack/plugins/infra/server/routes/log_alerts @elastic/obs-ux-logs-team -/x-pack/plugins/infra/server/saved_objects/metrics_explorer_view @elastic/obs-ux-infra_services-team -/x-pack/plugins/infra/server/saved_objects/inventory_view @elastic/obs-ux-infra_services-team -/x-pack/plugins/infra/server/services @elastic/obs-ux-infra_services-team -/x-pack/plugins/infra/server/services/rules @elastic/obs-ux-infra_services-team @elastic/obs-ux-logs-team -/x-pack/plugins/infra/server/lib @elastic/obs-ux-infra_services-team -/x-pack/plugins/infra/server/lib/log_analysis @elastic/obs-ux-logs-team -/x-pack/plugins/infra/docs/state_machines @elastic/obs-ux-logs-team -/x-pack/plugins/infra/common/inventory_models @elastic/obs-ux-infra_services-team -/x-pack/plugins/infra/common/http_api/metrics_api.ts @elastic/obs-ux-infra_services-team -/x-pack/plugins/infra/common/http_api/snapshot_api.ts @elastic/obs-ux-infra_services-team -/x-pack/plugins/infra/common/http_api/log_analysis @elastic/obs-ux-logs-team -/x-pack/plugins/infra/common/http_api/metrics_explorer_views @elastic/obs-ux-infra_services-team -/x-pack/plugins/infra/common/http_api/host_details @elastic/obs-ux-infra_services-team -/x-pack/plugins/infra/common/http_api/log_alerts @elastic/obs-ux-logs-team -/x-pack/plugins/infra/common/snapshot_metric_i18n.ts @elastic/obs-ux-infra_services-team -/x-pack/plugins/infra/common/inventory_views @elastic/obs-ux-infra_services-team -/x-pack/plugins/infra/common/color_palette.test.ts @elastic/obs-ux-infra_services-team -/x-pack/plugins/infra/common/performance_tracing.ts @elastic/obs-ux-logs-team -/x-pack/plugins/infra/common/log_search_summary @elastic/obs-ux-logs-team -/x-pack/plugins/infra/common/metrics_sources @elastic/obs-ux-infra_services-team -/x-pack/plugins/infra/common/saved_views @elastic/obs-ux-infra_services-team -/x-pack/plugins/infra/common/infra_ml @elastic/obs-ux-infra_services-team -/x-pack/plugins/infra/common/formatters @elastic/obs-ux-infra_services-team -/x-pack/plugins/infra/common/log_text_scale @elastic/obs-ux-logs-team -/x-pack/plugins/infra/common/log_analysis @elastic/obs-ux-logs-team -/x-pack/plugins/infra/common/search_strategies/log_entries @elastic/obs-ux-logs-team -/x-pack/plugins/infra/common/metrics_explorer_views @elastic/obs-ux-infra_services-team -/x-pack/plugins/infra/common/source_configuration @elastic/obs-ux-infra_services-team -/x-pack/plugins/infra/common/color_palette.ts @elastic/obs-ux-infra_services-team -/x-pack/plugins/infra/common/log_search_result @elastic/obs-ux-logs-team -/x-pack/plugins/infra/public/apps/logs_app.tsx @elastic/obs-ux-logs-team -/x-pack/plugins/infra/public/apps/metrics_app.tsx @elastic/obs-ux-infra_services-team -/x-pack/plugins/infra/public/components/lens @elastic/obs-ux-infra_services-team -/x-pack/plugins/infra/public/components/try_it_button.tsx @elastic/obs-ux-infra_services-team -/x-pack/plugins/infra/public/components/fixed_datepicker.tsx -/x-pack/plugins/infra/public/components/logging @elastic/obs-ux-logs-team -/x-pack/plugins/infra/public/components/infrastructure_node_metrics_tables @elastic/obs-ux-infra_services-team -/x-pack/plugins/infra/public/components/saved_views @elastic/obs-ux-infra_services-team -/x-pack/plugins/infra/public/components/feature_feedback_button.tsx @elastic/obs-ux-infra_services-team -/x-pack/plugins/infra/public/components/log_stream @elastic/obs-ux-logs-team -/x-pack/plugins/infra/public/components/source_configuration @elastic/obs-ux-infra_services-team -/x-pack/plugins/infra/public/components/asset_details @elastic/obs-ux-infra_services-team -/x-pack/plugins/infra/public/containers/logs @elastic/obs-ux-logs-team -/x-pack/plugins/infra/public/containers/metrics_source @elastic/obs-ux-infra_services-team -/x-pack/plugins/infra/public/containers/metrics_explorer @elastic/obs-ux-infra_services-team -/x-pack/plugins/infra/public/containers/ml @elastic/obs-ux-infra_services-team -/x-pack/plugins/infra/public/pages/logs @elastic/obs-ux-logs-team -/x-pack/plugins/infra/public/pages/metrics @elastic/obs-ux-infra_services-team -/x-pack/plugins/infra/public/common @elastic/obs-ux-infra_services-team -/x-pack/plugins/infra/public/observability_logs @elastic/obs-ux-logs-team -/x-pack/plugins/infra/public/services @elastic/obs-ux-infra_services-team +/x-pack/plugins/observability_solution/infra/server/routes @elastic/obs-ux-infra_services-team +/x-pack/plugins/observability_solution/infra/server/routes/log_analysis @elastic/obs-ux-logs-team +/x-pack/plugins/observability_solution/infra/server/routes/log_alerts @elastic/obs-ux-logs-team +/x-pack/plugins/observability_solution/infra/server/saved_objects/metrics_explorer_view @elastic/obs-ux-infra_services-team +/x-pack/plugins/observability_solution/infra/server/saved_objects/inventory_view @elastic/obs-ux-infra_services-team +/x-pack/plugins/observability_solution/infra/server/services @elastic/obs-ux-infra_services-team +/x-pack/plugins/observability_solution/infra/server/services/rules @elastic/obs-ux-infra_services-team @elastic/obs-ux-logs-team +/x-pack/plugins/observability_solution/infra/server/lib @elastic/obs-ux-infra_services-team +/x-pack/plugins/observability_solution/infra/server/lib/log_analysis @elastic/obs-ux-logs-team +/x-pack/plugins/observability_solution/infra/docs/state_machines @elastic/obs-ux-logs-team +/x-pack/plugins/observability_solution/infra/common/inventory_models @elastic/obs-ux-infra_services-team +/x-pack/plugins/observability_solution/infra/common/http_api/metrics_api.ts @elastic/obs-ux-infra_services-team +/x-pack/plugins/observability_solution/infra/common/http_api/snapshot_api.ts @elastic/obs-ux-infra_services-team +/x-pack/plugins/observability_solution/infra/common/http_api/log_analysis @elastic/obs-ux-logs-team +/x-pack/plugins/observability_solution/infra/common/http_api/metrics_explorer_views @elastic/obs-ux-infra_services-team +/x-pack/plugins/observability_solution/infra/common/http_api/host_details @elastic/obs-ux-infra_services-team +/x-pack/plugins/observability_solution/infra/common/http_api/log_alerts @elastic/obs-ux-logs-team +/x-pack/plugins/observability_solution/infra/common/snapshot_metric_i18n.ts @elastic/obs-ux-infra_services-team +/x-pack/plugins/observability_solution/infra/common/inventory_views @elastic/obs-ux-infra_services-team +/x-pack/plugins/observability_solution/infra/common/color_palette.test.ts @elastic/obs-ux-infra_services-team +/x-pack/plugins/observability_solution/infra/common/performance_tracing.ts @elastic/obs-ux-logs-team +/x-pack/plugins/observability_solution/infra/common/log_search_summary @elastic/obs-ux-logs-team +/x-pack/plugins/observability_solution/infra/common/metrics_sources @elastic/obs-ux-infra_services-team +/x-pack/plugins/observability_solution/infra/common/saved_views @elastic/obs-ux-infra_services-team +/x-pack/plugins/observability_solution/infra/common/infra_ml @elastic/obs-ux-infra_services-team +/x-pack/plugins/observability_solution/infra/common/formatters @elastic/obs-ux-infra_services-team +/x-pack/plugins/observability_solution/infra/common/log_text_scale @elastic/obs-ux-logs-team +/x-pack/plugins/observability_solution/infra/common/log_analysis @elastic/obs-ux-logs-team +/x-pack/plugins/observability_solution/infra/common/search_strategies/log_entries @elastic/obs-ux-logs-team +/x-pack/plugins/observability_solution/infra/common/metrics_explorer_views @elastic/obs-ux-infra_services-team +/x-pack/plugins/observability_solution/infra/common/source_configuration @elastic/obs-ux-infra_services-team +/x-pack/plugins/observability_solution/infra/common/color_palette.ts @elastic/obs-ux-infra_services-team +/x-pack/plugins/observability_solution/infra/common/log_search_result @elastic/obs-ux-logs-team +/x-pack/plugins/observability_solution/infra/public/apps/logs_app.tsx @elastic/obs-ux-logs-team +/x-pack/plugins/observability_solution/infra/public/apps/metrics_app.tsx @elastic/obs-ux-infra_services-team +/x-pack/plugins/observability_solution/infra/public/components/lens @elastic/obs-ux-infra_services-team +/x-pack/plugins/observability_solution/infra/public/components/try_it_button.tsx @elastic/obs-ux-infra_services-team +/x-pack/plugins/observability_solution/infra/public/components/fixed_datepicker.tsx +/x-pack/plugins/observability_solution/infra/public/components/logging @elastic/obs-ux-logs-team +/x-pack/plugins/observability_solution/infra/public/components/infrastructure_node_metrics_tables @elastic/obs-ux-infra_services-team +/x-pack/plugins/observability_solution/infra/public/components/saved_views @elastic/obs-ux-infra_services-team +/x-pack/plugins/observability_solution/infra/public/components/feature_feedback_button.tsx @elastic/obs-ux-infra_services-team +/x-pack/plugins/observability_solution/infra/public/components/log_stream @elastic/obs-ux-logs-team +/x-pack/plugins/observability_solution/infra/public/components/source_configuration @elastic/obs-ux-infra_services-team +/x-pack/plugins/observability_solution/infra/public/components/asset_details @elastic/obs-ux-infra_services-team +/x-pack/plugins/observability_solution/infra/public/containers/logs @elastic/obs-ux-logs-team +/x-pack/plugins/observability_solution/infra/public/containers/metrics_source @elastic/obs-ux-infra_services-team +/x-pack/plugins/observability_solution/infra/public/containers/metrics_explorer @elastic/obs-ux-infra_services-team +/x-pack/plugins/observability_solution/infra/public/containers/ml @elastic/obs-ux-infra_services-team +/x-pack/plugins/observability_solution/infra/public/pages/logs @elastic/obs-ux-logs-team +/x-pack/plugins/observability_solution/infra/public/pages/metrics @elastic/obs-ux-infra_services-team +/x-pack/plugins/observability_solution/infra/public/common @elastic/obs-ux-infra_services-team +/x-pack/plugins/observability_solution/infra/public/observability_logs @elastic/obs-ux-logs-team +/x-pack/plugins/observability_solution/infra/public/services @elastic/obs-ux-infra_services-team /x-pack/test/functional/apps/infra @elastic/obs-ux-infra_services-team /x-pack/test/functional/apps/infra/logs @elastic/obs-ux-logs-team /x-pack/test/api_integration/apis/infra @elastic/obs-ux-infra_services-team @@ -1052,8 +1052,8 @@ packages/kbn-monaco/src/esql @elastic/kibana-visualizations # Observability UX management team x-pack/packages/observability/alert_details @elastic/obs-ux-management-team x-pack/test/observability_functional @elastic/obs-ux-management-team -x-pack/plugins/infra/public/alerting @elastic/obs-ux-management-team -x-pack/plugins/infra/server/lib/alerting @elastic/obs-ux-management-team +x-pack/plugins/observability_solution/infra/public/alerting @elastic/obs-ux-management-team +x-pack/plugins/observability_solution/infra/server/lib/alerting @elastic/obs-ux-management-team # Elastic Stack Monitoring /x-pack/test/functional/apps/monitoring @elastic/obs-ux-infra_services-team @elastic/stack-monitoring @@ -1076,7 +1076,7 @@ x-pack/plugins/infra/server/lib/alerting @elastic/obs-ux-management-team /packages/kbn-utility-types/src/dot.ts @dgieselaar /packages/kbn-utility-types/src/dot_test.ts @dgieselaar #CC# /src/plugins/apm_oss/ @elastic/apm-ui -#CC# /x-pack/plugins/observability/ @elastic/apm-ui +#CC# /x-pack/plugins/observability_solution/observability/ @elastic/apm-ui # Uptime /x-pack/test/functional_with_es_ssl/apps/discover_ml_uptime/uptime/ @elastic/obs-ux-infra_services-team @@ -1097,7 +1097,7 @@ x-pack/plugins/infra/server/lib/alerting @elastic/obs-ux-management-team /x-pack/test/functional/apps/infra/tour.ts @elastic/platform-onboarding # Observability settings -/x-pack/plugins/observability/server/ui_settings.ts @elastic/obs-docs +/x-pack/plugins/observability_solution/observability/server/ui_settings.ts @elastic/obs-docs ### END Observability Plugins @@ -1542,8 +1542,8 @@ x-pack/plugins/security_solution/server/lib/security_integrations @elastic/secur **/*.scss @elastic/kibana-design # Observability design -/x-pack/plugins/apm/**/*.scss @elastic/observability-design -/x-pack/plugins/infra/**/*.scss @elastic/observability-design +/x-pack/plugins/observability_solution/infra/**/*.scss @elastic/observability-design +/x-pack/plugins/observability_solution/apm/**/*.scss @elastic/observability-design /x-pack/plugins/fleet/**/*.scss @elastic/observability-design /x-pack/plugins/monitoring/**/*.scss @elastic/observability-design diff --git a/.github/paths-labeller.yml b/.github/paths-labeller.yml index 0ed5bfd6004bf..49d89e52abb0c 100644 --- a/.github/paths-labeller.yml +++ b/.github/paths-labeller.yml @@ -9,7 +9,7 @@ - 'src/plugins/expressions/**/*.*' - 'src/plugins/bfetch/**/*.*' - 'Team:obs-ux-infra_services': - - 'x-pack/plugins/apm/**/*.*' + - 'x-pack/plugins/observability_solution/apm/**/*.*' - 'x-pack/test/apm_api_integration/**/*.*' - 'packages/kbn-apm-synthtrace/**/*.*' - 'packages/kbn-apm-synthtrace-client/**/*.*' @@ -21,4 +21,4 @@ - 'x-pack/plugins/fleet/**/*.*' - 'x-pack/test/fleet_api_integration/**/*.*' - 'Team:obs-ux-management': - - 'x-pack/plugins/observability/**/*.*' + - 'x-pack/plugins/observability_solution/observability/**/*.*' diff --git a/.gitignore b/.gitignore index dbfb30c92ff31..cb94ba7ef2d3f 100644 --- a/.gitignore +++ b/.gitignore @@ -91,8 +91,8 @@ npm-debug.log* ## @cypress/snapshot from apm plugin /snapshots.js /apm-diagnostics*.json -/x-pack/plugins/apm/ftr_e2e/cypress/e2e/service_map/snapshots/*.actual.png -/x-pack/plugins/apm/ftr_e2e/cypress/e2e/service_map/snapshots/*.diff.png +/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 # transpiled cypress config x-pack/plugins/fleet/cypress.config.d.ts @@ -141,4 +141,3 @@ x-pack/test/security_api_integration/plugins/audit_log/audit.log # ignore FTR temp directory .ftr role_users.json - diff --git a/api_docs/actions.mdx b/api_docs/actions.mdx index 2ae444041d712..abb4965cf3857 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-02-23 +date: 2024-03-04 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 9d57bcd8decce..16096191aaf93 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-02-23 +date: 2024-03-04 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'advancedSettings'] --- import advancedSettingsObj from './advanced_settings.devdocs.json'; diff --git a/api_docs/ai_assistant_management_observability.mdx b/api_docs/ai_assistant_management_observability.mdx index 7ecef55573194..f51769bf66077 100644 --- a/api_docs/ai_assistant_management_observability.mdx +++ b/api_docs/ai_assistant_management_observability.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/aiAssistantManagementObservability title: "aiAssistantManagementObservability" image: https://source.unsplash.com/400x175/?github description: API docs for the aiAssistantManagementObservability plugin -date: 2024-02-23 +date: 2024-03-04 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'aiAssistantManagementObservability'] --- import aiAssistantManagementObservabilityObj from './ai_assistant_management_observability.devdocs.json'; diff --git a/api_docs/ai_assistant_management_selection.mdx b/api_docs/ai_assistant_management_selection.mdx index 57b8d223bcfe7..15ec1e38c4409 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-02-23 +date: 2024-03-04 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 fc291bd721831..fef1606ca5159 100644 --- a/api_docs/aiops.devdocs.json +++ b/api_docs/aiops.devdocs.json @@ -714,8 +714,8 @@ "pluginId": "cases", "scope": "public", "docId": "kibCasesPluginApi", - "section": "def-public.CasesUiStart", - "text": "CasesUiStart" + "section": "def-public.CasesPublicStart", + "text": "CasesPublicStart" }, " | undefined" ], diff --git a/api_docs/aiops.mdx b/api_docs/aiops.mdx index 4baaf3bc9bd70..9b5786db5f810 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-02-23 +date: 2024-03-04 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 c4d8e14a4aeb9..742db75b9e834 100644 --- a/api_docs/alerting.devdocs.json +++ b/api_docs/alerting.devdocs.json @@ -3541,31 +3541,31 @@ }, { "plugin": "observability", - "path": "x-pack/plugins/observability/server/lib/rules/custom_threshold/custom_threshold_executor.ts" + "path": "x-pack/plugins/observability_solution/observability/server/lib/rules/custom_threshold/custom_threshold_executor.ts" }, { "plugin": "observability", - "path": "x-pack/plugins/observability/server/lib/rules/custom_threshold/custom_threshold_executor.ts" + "path": "x-pack/plugins/observability_solution/observability/server/lib/rules/custom_threshold/custom_threshold_executor.ts" }, { "plugin": "observability", - "path": "x-pack/plugins/observability/server/lib/rules/slo_burn_rate/executor.ts" + "path": "x-pack/plugins/observability_solution/observability/server/lib/rules/slo_burn_rate/executor.ts" }, { "plugin": "infra", - "path": "x-pack/plugins/infra/server/lib/alerting/log_threshold/log_threshold_executor.ts" + "path": "x-pack/plugins/observability_solution/infra/server/lib/alerting/log_threshold/log_threshold_executor.ts" }, { "plugin": "infra", - "path": "x-pack/plugins/infra/server/lib/alerting/log_threshold/log_threshold_executor.ts" + "path": "x-pack/plugins/observability_solution/infra/server/lib/alerting/log_threshold/log_threshold_executor.ts" }, { "plugin": "infra", - "path": "x-pack/plugins/infra/server/lib/alerting/log_threshold/log_threshold_executor.ts" + "path": "x-pack/plugins/observability_solution/infra/server/lib/alerting/log_threshold/log_threshold_executor.ts" }, { "plugin": "infra", - "path": "x-pack/plugins/infra/server/lib/alerting/inventory_metric_threshold/inventory_metric_threshold_executor.ts" + "path": "x-pack/plugins/observability_solution/infra/server/lib/alerting/inventory_metric_threshold/inventory_metric_threshold_executor.ts" }, { "plugin": "securitySolution", @@ -3609,7 +3609,7 @@ }, { "plugin": "observability", - "path": "x-pack/plugins/observability/server/lib/rules/slo_burn_rate/executor.test.ts" + "path": "x-pack/plugins/observability_solution/observability/server/lib/rules/slo_burn_rate/executor.test.ts" } ] }, diff --git a/api_docs/alerting.mdx b/api_docs/alerting.mdx index 8a3110337b97a..4abe82b3d2ad8 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-02-23 +date: 2024-03-04 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 54636bb51d365..bfdec5f3ee2ed 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/apm/public/index.ts", + "path": "x-pack/plugins/observability_solution/apm/public/index.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -22,7 +22,7 @@ "tags": [], "label": "serviceMapEnabled", "description": [], - "path": "x-pack/plugins/apm/public/index.ts", + "path": "x-pack/plugins/observability_solution/apm/public/index.ts", "deprecated": false, "trackAdoption": false }, @@ -36,7 +36,7 @@ "signature": [ "{ enabled: boolean; }" ], - "path": "x-pack/plugins/apm/public/index.ts", + "path": "x-pack/plugins/observability_solution/apm/public/index.ts", "deprecated": false, "trackAdoption": false }, @@ -47,7 +47,7 @@ "tags": [], "label": "latestAgentVersionsUrl", "description": [], - "path": "x-pack/plugins/apm/public/index.ts", + "path": "x-pack/plugins/observability_solution/apm/public/index.ts", "deprecated": false, "trackAdoption": false }, @@ -58,7 +58,7 @@ "tags": [], "label": "serverlessOnboarding", "description": [], - "path": "x-pack/plugins/apm/public/index.ts", + "path": "x-pack/plugins/observability_solution/apm/public/index.ts", "deprecated": false, "trackAdoption": false }, @@ -69,7 +69,7 @@ "tags": [], "label": "managedServiceUrl", "description": [], - "path": "x-pack/plugins/apm/public/index.ts", + "path": "x-pack/plugins/observability_solution/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; }" ], - "path": "x-pack/plugins/apm/public/index.ts", + "path": "x-pack/plugins/observability_solution/apm/public/index.ts", "deprecated": false, "trackAdoption": false }, @@ -97,7 +97,7 @@ "signature": [ "{ enabled: boolean; }" ], - "path": "x-pack/plugins/apm/public/index.ts", + "path": "x-pack/plugins/observability_solution/apm/public/index.ts", "deprecated": false, "trackAdoption": false } @@ -146,7 +146,7 @@ }, ">; }; })>; }" ], - "path": "x-pack/plugins/apm/public/plugin.ts", + "path": "x-pack/plugins/observability_solution/apm/public/plugin.ts", "deprecated": false, "trackAdoption": false, "lifecycle": "setup", @@ -162,7 +162,7 @@ "signature": [ "void" ], - "path": "x-pack/plugins/apm/public/plugin.ts", + "path": "x-pack/plugins/observability_solution/apm/public/plugin.ts", "deprecated": false, "trackAdoption": false, "lifecycle": "start", @@ -208,7 +208,7 @@ "APMPluginStartDependencies", ">" ], - "path": "x-pack/plugins/apm/server/plugin.ts", + "path": "x-pack/plugins/observability_solution/apm/server/plugin.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -222,7 +222,7 @@ "signature": [ "any" ], - "path": "x-pack/plugins/apm/server/plugin.ts", + "path": "x-pack/plugins/observability_solution/apm/server/plugin.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -243,7 +243,7 @@ }, "" ], - "path": "x-pack/plugins/apm/server/plugin.ts", + "path": "x-pack/plugins/observability_solution/apm/server/plugin.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -277,7 +277,7 @@ "SearchAggregatedTransactionSetting", "; telemetryCollectionEnabled: boolean; metricsInterval: number; agent: Readonly<{} & { migrations: Readonly<{} & { enabled: boolean; }>; }>; 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; }>; }>>; }" ], - "path": "x-pack/plugins/apm/server/plugin.ts", + "path": "x-pack/plugins/observability_solution/apm/server/plugin.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -300,7 +300,7 @@ "APMPluginStartDependencies", ", unknown>" ], - "path": "x-pack/plugins/apm/server/plugin.ts", + "path": "x-pack/plugins/observability_solution/apm/server/plugin.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -315,7 +315,7 @@ "signature": [ "APMPluginSetupDependencies" ], - "path": "x-pack/plugins/apm/server/plugin.ts", + "path": "x-pack/plugins/observability_solution/apm/server/plugin.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -343,7 +343,7 @@ "APMPluginStartDependencies", ") => void" ], - "path": "x-pack/plugins/apm/server/plugin.ts", + "path": "x-pack/plugins/observability_solution/apm/server/plugin.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -363,7 +363,7 @@ "text": "CoreStart" } ], - "path": "x-pack/plugins/apm/server/plugin.ts", + "path": "x-pack/plugins/observability_solution/apm/server/plugin.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -378,7 +378,7 @@ "signature": [ "APMPluginStartDependencies" ], - "path": "x-pack/plugins/apm/server/plugin.ts", + "path": "x-pack/plugins/observability_solution/apm/server/plugin.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -396,7 +396,7 @@ "signature": [ "() => void" ], - "path": "x-pack/plugins/apm/server/plugin.ts", + "path": "x-pack/plugins/observability_solution/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/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/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/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_service_summary\" | \"POST /internal/apm/assistant/get_correlation_values\" | \"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}/transactions/flamegraph\" | \"GET /internal/apm/services/{serviceName}/transactions/functions\" | \"POST /internal/apm/custom-dashboard\" | \"DELETE /internal/apm/custom-dashboard\" | \"GET /internal/apm/services/{serviceName}/dashboards\"" ], - "path": "x-pack/plugins/apm/server/routes/apm_routes/get_global_apm_server_route_repository.ts", + "path": "x-pack/plugins/observability_solution/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/apm/common/rules/apm_rule_types.ts", + "path": "x-pack/plugins/observability_solution/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 agent: Readonly<{} & { migrations: Readonly<{} & { enabled: boolean; }>; }>; 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; }>; }" ], - "path": "x-pack/plugins/apm/server/index.ts", + "path": "x-pack/plugins/observability_solution/apm/server/index.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -7965,7 +7965,7 @@ "APMRouteCreateOptions", "; }" ], - "path": "x-pack/plugins/apm/server/routes/apm_routes/get_global_apm_server_route_repository.ts", + "path": "x-pack/plugins/observability_solution/apm/server/routes/apm_routes/get_global_apm_server_route_repository.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -7979,7 +7979,7 @@ "tags": [], "label": "APMPluginSetup", "description": [], - "path": "x-pack/plugins/apm/server/types.ts", + "path": "x-pack/plugins/observability_solution/apm/server/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -7996,7 +7996,7 @@ "SearchAggregatedTransactionSetting", "; telemetryCollectionEnabled: boolean; metricsInterval: number; agent: Readonly<{} & { migrations: Readonly<{} & { enabled: boolean; }>; }>; 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; }>; }>>" ], - "path": "x-pack/plugins/apm/server/types.ts", + "path": "x-pack/plugins/observability_solution/apm/server/types.ts", "deprecated": false, "trackAdoption": false } @@ -8022,7 +8022,7 @@ "CriticalPathTreeNode", "[]; maxDepth: number; numNodes: number; }" ], - "path": "x-pack/plugins/apm/common/critical_path/get_aggregated_critical_path_root_nodes.ts", + "path": "x-pack/plugins/observability_solution/apm/common/critical_path/get_aggregated_critical_path_root_nodes.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -8033,7 +8033,7 @@ "tags": [], "label": "params", "description": [], - "path": "x-pack/plugins/apm/common/critical_path/get_aggregated_critical_path_root_nodes.ts", + "path": "x-pack/plugins/observability_solution/apm/common/critical_path/get_aggregated_critical_path_root_nodes.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -8047,7 +8047,7 @@ "signature": [ "CriticalPathResponse" ], - "path": "x-pack/plugins/apm/common/critical_path/get_aggregated_critical_path_root_nodes.ts", + "path": "x-pack/plugins/observability_solution/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 7aebe4cc34cd0..776a312f1777d 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-02-23 +date: 2024-03-04 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 e9cf99fb8e272..2ac94bd08db27 100644 --- a/api_docs/apm_data_access.devdocs.json +++ b/api_docs/apm_data_access.devdocs.json @@ -24,7 +24,7 @@ "signature": [ "{ readonly indices: Readonly<{} & { error: string; transaction: string; span: string; metric: string; onboarding: string; sourcemap: string; }>; }" ], - "path": "x-pack/plugins/apm_data_access/server/index.ts", + "path": "x-pack/plugins/observability_solution/apm_data_access/server/index.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -39,7 +39,7 @@ "signature": [ "{ readonly error: string; readonly transaction: string; readonly span: string; readonly metric: string; readonly onboarding: string; readonly sourcemap: string; }" ], - "path": "x-pack/plugins/apm_data_access/server/index.ts", + "path": "x-pack/plugins/observability_solution/apm_data_access/server/index.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -53,7 +53,7 @@ "tags": [], "label": "ApmDataAccessPluginSetup", "description": [], - "path": "x-pack/plugins/apm_data_access/server/types.ts", + "path": "x-pack/plugins/observability_solution/apm_data_access/server/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -67,7 +67,7 @@ "signature": [ "{ readonly error: string; readonly transaction: string; readonly span: string; readonly metric: string; readonly onboarding: string; readonly sourcemap: string; }" ], - "path": "x-pack/plugins/apm_data_access/server/types.ts", + "path": "x-pack/plugins/observability_solution/apm_data_access/server/types.ts", "deprecated": false, "trackAdoption": false }, @@ -89,7 +89,7 @@ }, ") => Promise>" ], - "path": "x-pack/plugins/apm_data_access/server/types.ts", + "path": "x-pack/plugins/observability_solution/apm_data_access/server/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -109,7 +109,7 @@ "text": "SavedObjectsClientContract" } ], - "path": "x-pack/plugins/apm_data_access/server/types.ts", + "path": "x-pack/plugins/observability_solution/apm_data_access/server/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -128,7 +128,7 @@ "tags": [], "label": "ApmDataAccessPluginStart", "description": [], - "path": "x-pack/plugins/apm_data_access/server/types.ts", + "path": "x-pack/plugins/observability_solution/apm_data_access/server/types.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -152,7 +152,7 @@ "signature": [ "\"apmDataAccess\"" ], - "path": "x-pack/plugins/apm_data_access/common/index.ts", + "path": "x-pack/plugins/observability_solution/apm_data_access/common/index.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -167,7 +167,7 @@ "signature": [ "\"apmDataAccess\"" ], - "path": "x-pack/plugins/apm_data_access/common/index.ts", + "path": "x-pack/plugins/observability_solution/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 3a7b4d39cadd7..45d0b93d3859a 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-02-23 +date: 2024-03-04 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'apmDataAccess'] --- import apmDataAccessObj from './apm_data_access.devdocs.json'; diff --git a/api_docs/asset_manager.mdx b/api_docs/asset_manager.mdx index 7ca41e089cc8e..4a68ee8faeb02 100644 --- a/api_docs/asset_manager.mdx +++ b/api_docs/asset_manager.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/assetManager title: "assetManager" image: https://source.unsplash.com/400x175/?github description: API docs for the assetManager plugin -date: 2024-02-23 +date: 2024-03-04 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'assetManager'] --- import assetManagerObj from './asset_manager.devdocs.json'; diff --git a/api_docs/banners.mdx b/api_docs/banners.mdx index dab522dc32676..950733450c4cd 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-02-23 +date: 2024-03-04 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'banners'] --- import bannersObj from './banners.devdocs.json'; diff --git a/api_docs/bfetch.mdx b/api_docs/bfetch.mdx index 93205dbda2402..4b137b23d0529 100644 --- a/api_docs/bfetch.mdx +++ b/api_docs/bfetch.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/bfetch title: "bfetch" image: https://source.unsplash.com/400x175/?github description: API docs for the bfetch plugin -date: 2024-02-23 +date: 2024-03-04 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'bfetch'] --- import bfetchObj from './bfetch.devdocs.json'; diff --git a/api_docs/canvas.mdx b/api_docs/canvas.mdx index c59a896dab733..a44672c66c869 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-02-23 +date: 2024-03-04 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 ee20857a9d57b..1cb57689b0a23 100644 --- a/api_docs/cases.devdocs.json +++ b/api_docs/cases.devdocs.json @@ -130,36 +130,7 @@ "initialIsOpen": false } ], - "interfaces": [ - { - "parentPluginId": "cases", - "id": "def-public.CasesUiSetup", - "type": "Interface", - "tags": [], - "label": "CasesUiSetup", - "description": [], - "path": "x-pack/plugins/cases/public/types.ts", - "deprecated": false, - "trackAdoption": false, - "children": [ - { - "parentPluginId": "cases", - "id": "def-public.CasesUiSetup.attachmentFramework", - "type": "Object", - "tags": [], - "label": "attachmentFramework", - "description": [], - "signature": [ - "AttachmentFramework" - ], - "path": "x-pack/plugins/cases/public/types.ts", - "deprecated": false, - "trackAdoption": false - } - ], - "initialIsOpen": false - } - ], + "interfaces": [], "enums": [], "misc": [ { @@ -455,10 +426,10 @@ ], "start": { "parentPluginId": "cases", - "id": "def-public.CasesUiStart", + "id": "def-public.CasesPublicStart", "type": "Interface", "tags": [], - "label": "CasesUiStart", + "label": "CasesPublicStart", "description": [], "path": "x-pack/plugins/cases/public/types.ts", "deprecated": false, @@ -466,7 +437,7 @@ "children": [ { "parentPluginId": "cases", - "id": "def-public.CasesUiStart.api", + "id": "def-public.CasesPublicStart.api", "type": "Object", "tags": [], "label": "api", @@ -702,7 +673,7 @@ }, { "parentPluginId": "cases", - "id": "def-public.CasesUiStart.ui", + "id": "def-public.CasesPublicStart.ui", "type": "Object", "tags": [], "label": "ui", @@ -754,13 +725,13 @@ }, { "parentPluginId": "cases", - "id": "def-public.CasesUiStart.hooks", + "id": "def-public.CasesPublicStart.hooks", "type": "Object", "tags": [], "label": "hooks", "description": [], "signature": [ - "{ useCasesAddToNewCaseFlyout: (props?: AddToNewCaseFlyoutProps) => { open: ({ attachments, headerContent, }?: { attachments?: ", + "{ useCasesAddToNewCaseFlyout: ({ initialValue, toastTitle, toastContent, afterCaseCreated, onSuccess, onClose, }?: AddToNewCaseFlyoutProps) => { open: ({ attachments, headerContent, }?: { attachments?: ", { "pluginId": "cases", "scope": "public", @@ -768,7 +739,7 @@ "section": "def-public.CaseAttachmentsWithoutOwner", "text": "CaseAttachmentsWithoutOwner" }, - " | undefined; headerContent?: React.ReactNode; }) => void; close: () => void; }; useCasesAddToExistingCaseModal: (props?: ", + " | undefined; headerContent?: React.ReactNode; }) => void; close: () => void; }; useCasesAddToExistingCaseModal: ({ successToaster, noAttachmentsToaster, onSuccess, onClose, onCreateCaseClicked, }?: ", "AddToExistingCaseModalProps", ") => { open: ({ getAttachments, }?: { getAttachments?: (({ theCase }: { theCase?: ", { @@ -794,7 +765,7 @@ }, { "parentPluginId": "cases", - "id": "def-public.CasesUiStart.helpers", + "id": "def-public.CasesPublicStart.helpers", "type": "Object", "tags": [], "label": "helpers", @@ -829,6 +800,35 @@ ], "lifecycle": "start", "initialIsOpen": true + }, + "setup": { + "parentPluginId": "cases", + "id": "def-public.CasesPublicSetup", + "type": "Interface", + "tags": [], + "label": "CasesPublicSetup", + "description": [], + "path": "x-pack/plugins/cases/public/types.ts", + "deprecated": false, + "trackAdoption": false, + "children": [ + { + "parentPluginId": "cases", + "id": "def-public.CasesPublicSetup.attachmentFramework", + "type": "Object", + "tags": [], + "label": "attachmentFramework", + "description": [], + "signature": [ + "AttachmentFramework" + ], + "path": "x-pack/plugins/cases/public/types.ts", + "deprecated": false, + "trackAdoption": false + } + ], + "lifecycle": "setup", + "initialIsOpen": true } }, "server": { @@ -963,150 +963,151 @@ } ], "functions": [], - "interfaces": [ - { - "parentPluginId": "cases", - "id": "def-server.CasesSetup", - "type": "Interface", - "tags": [], - "label": "CasesSetup", - "description": [], - "path": "x-pack/plugins/cases/server/types.ts", - "deprecated": false, - "trackAdoption": false, - "children": [ - { - "parentPluginId": "cases", - "id": "def-server.CasesSetup.attachmentFramework", - "type": "Object", - "tags": [], - "label": "attachmentFramework", - "description": [], - "signature": [ - "AttachmentFramework" - ], - "path": "x-pack/plugins/cases/server/types.ts", - "deprecated": false, - "trackAdoption": false - } - ], - "initialIsOpen": false - }, - { - "parentPluginId": "cases", - "id": "def-server.CasesStart", - "type": "Interface", - "tags": [], - "label": "CasesStart", - "description": [ - "\nCases server exposed contract for interacting with cases entities." - ], - "path": "x-pack/plugins/cases/server/types.ts", - "deprecated": false, - "trackAdoption": false, - "children": [ - { - "parentPluginId": "cases", - "id": "def-server.CasesStart.getCasesClientWithRequest", - "type": "Function", - "tags": [], - "label": "getCasesClientWithRequest", - "description": [ - "\nReturns a client which can be used to interact with the cases backend entities.\n" - ], - "signature": [ - "(request: ", - { - "pluginId": "@kbn/core-http-server", - "scope": "common", - "docId": "kibKbnCoreHttpServerPluginApi", - "section": "def-common.KibanaRequest", - "text": "KibanaRequest" - }, - ") => Promise<", - { - "pluginId": "cases", - "scope": "server", - "docId": "kibCasesPluginApi", - "section": "def-server.CasesClient", - "text": "CasesClient" - }, - ">" - ], - "path": "x-pack/plugins/cases/server/types.ts", - "deprecated": false, - "trackAdoption": false, - "children": [ - { - "parentPluginId": "cases", - "id": "def-server.CasesStart.getCasesClientWithRequest.$1", - "type": "Object", - "tags": [], - "label": "request", - "description": [ - "a KibanaRequest" - ], - "signature": [ - { - "pluginId": "@kbn/core-http-server", - "scope": "common", - "docId": "kibKbnCoreHttpServerPluginApi", - "section": "def-common.KibanaRequest", - "text": "KibanaRequest" - }, - "" - ], - "path": "x-pack/plugins/cases/server/types.ts", - "deprecated": false, - "trackAdoption": false, - "isRequired": true - } - ], - "returnComment": [ - "a {@link CasesClient }" - ] - }, - { - "parentPluginId": "cases", - "id": "def-server.CasesStart.getExternalReferenceAttachmentTypeRegistry", - "type": "Function", - "tags": [], - "label": "getExternalReferenceAttachmentTypeRegistry", - "description": [], - "signature": [ - "() => ", - "ExternalReferenceAttachmentTypeRegistry" - ], - "path": "x-pack/plugins/cases/server/types.ts", - "deprecated": false, - "trackAdoption": false, - "children": [], - "returnComment": [] - }, - { - "parentPluginId": "cases", - "id": "def-server.CasesStart.getPersistableStateAttachmentTypeRegistry", - "type": "Function", - "tags": [], - "label": "getPersistableStateAttachmentTypeRegistry", - "description": [], - "signature": [ - "() => ", - "PersistableStateAttachmentTypeRegistry" - ], - "path": "x-pack/plugins/cases/server/types.ts", - "deprecated": false, - "trackAdoption": false, - "children": [], - "returnComment": [] - } - ], - "initialIsOpen": false - } - ], + "interfaces": [], "enums": [], "misc": [], - "objects": [] + "objects": [], + "setup": { + "parentPluginId": "cases", + "id": "def-server.CasesServerSetup", + "type": "Interface", + "tags": [], + "label": "CasesServerSetup", + "description": [], + "path": "x-pack/plugins/cases/server/types.ts", + "deprecated": false, + "trackAdoption": false, + "children": [ + { + "parentPluginId": "cases", + "id": "def-server.CasesServerSetup.attachmentFramework", + "type": "Object", + "tags": [], + "label": "attachmentFramework", + "description": [], + "signature": [ + "AttachmentFramework" + ], + "path": "x-pack/plugins/cases/server/types.ts", + "deprecated": false, + "trackAdoption": false + } + ], + "lifecycle": "setup", + "initialIsOpen": true + }, + "start": { + "parentPluginId": "cases", + "id": "def-server.CasesServerStart", + "type": "Interface", + "tags": [], + "label": "CasesServerStart", + "description": [ + "\nCases server exposed contract for interacting with cases entities." + ], + "path": "x-pack/plugins/cases/server/types.ts", + "deprecated": false, + "trackAdoption": false, + "children": [ + { + "parentPluginId": "cases", + "id": "def-server.CasesServerStart.getCasesClientWithRequest", + "type": "Function", + "tags": [], + "label": "getCasesClientWithRequest", + "description": [ + "\nReturns a client which can be used to interact with the cases backend entities.\n" + ], + "signature": [ + "(request: ", + { + "pluginId": "@kbn/core-http-server", + "scope": "common", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-common.KibanaRequest", + "text": "KibanaRequest" + }, + ") => Promise<", + { + "pluginId": "cases", + "scope": "server", + "docId": "kibCasesPluginApi", + "section": "def-server.CasesClient", + "text": "CasesClient" + }, + ">" + ], + "path": "x-pack/plugins/cases/server/types.ts", + "deprecated": false, + "trackAdoption": false, + "children": [ + { + "parentPluginId": "cases", + "id": "def-server.CasesServerStart.getCasesClientWithRequest.$1", + "type": "Object", + "tags": [], + "label": "request", + "description": [ + "a KibanaRequest" + ], + "signature": [ + { + "pluginId": "@kbn/core-http-server", + "scope": "common", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-common.KibanaRequest", + "text": "KibanaRequest" + }, + "" + ], + "path": "x-pack/plugins/cases/server/types.ts", + "deprecated": false, + "trackAdoption": false, + "isRequired": true + } + ], + "returnComment": [ + "a {@link CasesClient }" + ] + }, + { + "parentPluginId": "cases", + "id": "def-server.CasesServerStart.getExternalReferenceAttachmentTypeRegistry", + "type": "Function", + "tags": [], + "label": "getExternalReferenceAttachmentTypeRegistry", + "description": [], + "signature": [ + "() => ", + "ExternalReferenceAttachmentTypeRegistry" + ], + "path": "x-pack/plugins/cases/server/types.ts", + "deprecated": false, + "trackAdoption": false, + "children": [], + "returnComment": [] + }, + { + "parentPluginId": "cases", + "id": "def-server.CasesServerStart.getPersistableStateAttachmentTypeRegistry", + "type": "Function", + "tags": [], + "label": "getPersistableStateAttachmentTypeRegistry", + "description": [], + "signature": [ + "() => ", + "PersistableStateAttachmentTypeRegistry" + ], + "path": "x-pack/plugins/cases/server/types.ts", + "deprecated": false, + "trackAdoption": false, + "children": [], + "returnComment": [] + } + ], + "lifecycle": "start", + "initialIsOpen": true + } }, "common": { "classes": [], diff --git a/api_docs/cases.mdx b/api_docs/cases.mdx index 763f57f9a2772..2667387728198 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-02-23 +date: 2024-03-04 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'cases'] --- import casesObj from './cases.devdocs.json'; @@ -25,6 +25,9 @@ Contact [@elastic/response-ops](https://github.com/orgs/elastic/teams/response-o ## Client +### Setup + + ### Start @@ -34,20 +37,20 @@ Contact [@elastic/response-ops](https://github.com/orgs/elastic/teams/response-o ### Functions -### Interfaces - - ### Consts, variables and types ## Server +### Setup + + +### Start + + ### Classes -### Interfaces - - ## Common ### Functions diff --git a/api_docs/charts.mdx b/api_docs/charts.mdx index fc2434ec37a1c..484e10cead6d6 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-02-23 +date: 2024-03-04 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 383941e805240..328a5e7263ec2 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-02-23 +date: 2024-03-04 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 69a036cdb1ca8..210479006dd7a 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-02-23 +date: 2024-03-04 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 852d7a65d59bc..ceafa3258f888 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-02-23 +date: 2024-03-04 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'cloudDefend'] --- import cloudDefendObj from './cloud_defend.devdocs.json'; diff --git a/api_docs/cloud_experiments.mdx b/api_docs/cloud_experiments.mdx index b8a5f055ac034..8432354c270c8 100644 --- a/api_docs/cloud_experiments.mdx +++ b/api_docs/cloud_experiments.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/cloudExperiments title: "cloudExperiments" image: https://source.unsplash.com/400x175/?github description: API docs for the cloudExperiments plugin -date: 2024-02-23 +date: 2024-03-04 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'cloudExperiments'] --- import cloudExperimentsObj from './cloud_experiments.devdocs.json'; diff --git a/api_docs/cloud_security_posture.mdx b/api_docs/cloud_security_posture.mdx index f246a974118fa..35214ec640645 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-02-23 +date: 2024-03-04 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 15e0c6d4f62c2..fdee7d258d696 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-02-23 +date: 2024-03-04 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 82a72054d4337..875772d95c591 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-02-23 +date: 2024-03-04 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 37eee50c1af40..4f53974a1a4b3 100644 --- a/api_docs/controls.devdocs.json +++ b/api_docs/controls.devdocs.json @@ -189,7 +189,7 @@ "section": "def-common.PersistableControlGroupInput", "text": "PersistableControlGroupInput" }, - ") => void; setControlStyle: (payload: ", + ") => void; setControlWithInvalidSelectionsId: (payload: string | undefined) => void; setControlStyle: (payload: ", "ControlStyle", ") => void; setChainingSystem: (payload: ", "ControlGroupChainingSystem", @@ -456,6 +456,90 @@ ], "returnComment": [] }, + { + "parentPluginId": "controls", + "id": "def-public.ControlGroupContainer.canShowInvalidSelectionsWarning", + "type": "Function", + "tags": [], + "label": "canShowInvalidSelectionsWarning", + "description": [], + "signature": [ + "() => boolean" + ], + "path": "src/plugins/controls/public/control_group/embeddable/control_group_container.tsx", + "deprecated": false, + "trackAdoption": false, + "children": [], + "returnComment": [] + }, + { + "parentPluginId": "controls", + "id": "def-public.ControlGroupContainer.suppressInvalidSelectionsWarning", + "type": "Function", + "tags": [], + "label": "suppressInvalidSelectionsWarning", + "description": [], + "signature": [ + "() => void" + ], + "path": "src/plugins/controls/public/control_group/embeddable/control_group_container.tsx", + "deprecated": false, + "trackAdoption": false, + "children": [], + "returnComment": [] + }, + { + "parentPluginId": "controls", + "id": "def-public.ControlGroupContainer.reportInvalidSelections", + "type": "Function", + "tags": [], + "label": "reportInvalidSelections", + "description": [], + "signature": [ + "({ id, hasInvalidSelections, }: { id: string; hasInvalidSelections: boolean; }) => void" + ], + "path": "src/plugins/controls/public/control_group/embeddable/control_group_container.tsx", + "deprecated": false, + "trackAdoption": false, + "children": [ + { + "parentPluginId": "controls", + "id": "def-public.ControlGroupContainer.reportInvalidSelections.$1", + "type": "Object", + "tags": [], + "label": "{\n id,\n hasInvalidSelections,\n }", + "description": [], + "path": "src/plugins/controls/public/control_group/embeddable/control_group_container.tsx", + "deprecated": false, + "trackAdoption": false, + "children": [ + { + "parentPluginId": "controls", + "id": "def-public.ControlGroupContainer.reportInvalidSelections.$1.id", + "type": "string", + "tags": [], + "label": "id", + "description": [], + "path": "src/plugins/controls/public/control_group/embeddable/control_group_container.tsx", + "deprecated": false, + "trackAdoption": false + }, + { + "parentPluginId": "controls", + "id": "def-public.ControlGroupContainer.reportInvalidSelections.$1.hasInvalidSelections", + "type": "boolean", + "tags": [], + "label": "hasInvalidSelections", + "description": [], + "path": "src/plugins/controls/public/control_group/embeddable/control_group_container.tsx", + "deprecated": false, + "trackAdoption": false + } + ] + } + ], + "returnComment": [] + }, { "parentPluginId": "controls", "id": "def-public.ControlGroupContainer.resetToLastSavedState", @@ -472,6 +556,22 @@ "children": [], "returnComment": [] }, + { + "parentPluginId": "controls", + "id": "def-public.ControlGroupContainer.reload", + "type": "Function", + "tags": [], + "label": "reload", + "description": [], + "signature": [ + "() => void" + ], + "path": "src/plugins/controls/public/control_group/embeddable/control_group_container.tsx", + "deprecated": false, + "trackAdoption": false, + "children": [], + "returnComment": [] + }, { "parentPluginId": "controls", "id": "def-public.ControlGroupContainer.getPersistableInput", @@ -1933,6 +2033,26 @@ "deprecated": false, "trackAdoption": false }, + { + "parentPluginId": "controls", + "id": "def-public.OptionsListEmbeddable.parent", + "type": "Object", + "tags": [], + "label": "parent", + "description": [], + "signature": [ + { + "pluginId": "controls", + "scope": "public", + "docId": "kibControlsPluginApi", + "section": "def-public.ControlGroupContainer", + "text": "ControlGroupContainer" + } + ], + "path": "src/plugins/controls/public/options_list/embeddable/options_list_embeddable.tsx", + "deprecated": false, + "trackAdoption": false + }, { "parentPluginId": "controls", "id": "def-public.OptionsListEmbeddable.select", @@ -2022,7 +2142,7 @@ "label": "dispatch", "description": [], "signature": [ - "{ deselectOption: (payload: string) => void; setSearchString: (payload: string) => void; setAllowExpensiveQueries: (payload: boolean) => void; setPopoverOpen: (payload: boolean) => void; setSort: (payload: Partial<", + "{ deselectOption: (payload: string) => void; setSearchString: (payload: string) => void; setAllowExpensiveQueries: (payload: boolean) => void; setInvalidSelectionWarningOpen: (payload: boolean) => void; setPopoverOpen: (payload: boolean) => void; setSort: (payload: Partial<", "OptionsListSortingType", ">) => void; selectExists: (payload: boolean) => void; selectOption: (payload: string) => void; replaceSelection: (payload: string) => void; clearSelections: (payload: unknown) => void; setExclude: (payload: boolean) => void; clearValidAndInvalidSelections: (payload: unknown) => void; setValidAndInvalidSelections: (payload: { validSelections: string[]; invalidSelections: string[]; }) => void; setErrorMessage: (payload: string | undefined) => void; setLoading: (payload: boolean) => void; setField: (payload: ", { @@ -3037,6 +3157,26 @@ "deprecated": false, "trackAdoption": false }, + { + "parentPluginId": "controls", + "id": "def-public.RangeSliderEmbeddable.parent", + "type": "Object", + "tags": [], + "label": "parent", + "description": [], + "signature": [ + { + "pluginId": "controls", + "scope": "public", + "docId": "kibControlsPluginApi", + "section": "def-public.ControlGroupContainer", + "text": "ControlGroupContainer" + } + ], + "path": "src/plugins/controls/public/range_slider/embeddable/range_slider_embeddable.tsx", + "deprecated": false, + "trackAdoption": false + }, { "parentPluginId": "controls", "id": "def-public.RangeSliderEmbeddable.select", diff --git a/api_docs/controls.mdx b/api_docs/controls.mdx index 3cf6f9129009a..f265f764949d3 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-02-23 +date: 2024-03-04 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'controls'] --- import controlsObj from './controls.devdocs.json'; @@ -21,7 +21,7 @@ Contact [@elastic/kibana-presentation](https://github.com/orgs/elastic/teams/kib | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 323 | 0 | 315 | 16 | +| 332 | 0 | 324 | 16 | ## Client diff --git a/api_docs/custom_integrations.devdocs.json b/api_docs/custom_integrations.devdocs.json index bc972ab186865..a51b6b10b4513 100644 --- a/api_docs/custom_integrations.devdocs.json +++ b/api_docs/custom_integrations.devdocs.json @@ -1890,6 +1890,41 @@ } ] }, + { + "parentPluginId": "customIntegrations", + "id": "def-common.INTEGRATION_CATEGORY_DISPLAY.cloudsecurity_cdr", + "type": "Object", + "tags": [], + "label": "cloudsecurity_cdr", + "description": [], + "path": "src/plugins/custom_integrations/common/index.ts", + "deprecated": false, + "trackAdoption": false, + "children": [ + { + "parentPluginId": "customIntegrations", + "id": "def-common.INTEGRATION_CATEGORY_DISPLAY.cloudsecurity_cdr.title", + "type": "string", + "tags": [], + "label": "title", + "description": [], + "path": "src/plugins/custom_integrations/common/index.ts", + "deprecated": false, + "trackAdoption": false + }, + { + "parentPluginId": "customIntegrations", + "id": "def-common.INTEGRATION_CATEGORY_DISPLAY.cloudsecurity_cdr.parent_id", + "type": "string", + "tags": [], + "label": "parent_id", + "description": [], + "path": "src/plugins/custom_integrations/common/index.ts", + "deprecated": false, + "trackAdoption": false + } + ] + }, { "parentPluginId": "customIntegrations", "id": "def-common.INTEGRATION_CATEGORY_DISPLAY.elasticsearch_sdk", diff --git a/api_docs/custom_integrations.mdx b/api_docs/custom_integrations.mdx index 8a94bb8dd3c1c..68320faebcbdf 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-02-23 +date: 2024-03-04 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'customIntegrations'] --- import customIntegrationsObj from './custom_integrations.devdocs.json'; @@ -21,7 +21,7 @@ Contact [@elastic/fleet](https://github.com/orgs/elastic/teams/fleet) for questi | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 268 | 0 | 249 | 1 | +| 271 | 0 | 252 | 1 | ## Client diff --git a/api_docs/dashboard.mdx b/api_docs/dashboard.mdx index 48a353316b63e..dd9a1350c25d8 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-02-23 +date: 2024-03-04 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'dashboard'] --- import dashboardObj from './dashboard.devdocs.json'; diff --git a/api_docs/dashboard_enhanced.mdx b/api_docs/dashboard_enhanced.mdx index ceaa18ffa884b..4ee506be3343a 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-02-23 +date: 2024-03-04 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 4841ce4610ab6..352b04096a449 100644 --- a/api_docs/data.devdocs.json +++ b/api_docs/data.devdocs.json @@ -12210,6 +12210,10 @@ "deprecated": true, "trackAdoption": false, "references": [ + { + "plugin": "graph", + "path": "x-pack/plugins/graph/public/plugin.ts" + }, { "plugin": "stackAlerts", "path": "x-pack/plugins/stack_alerts/public/rule_types/geo_containment/rule_form/data_view_select.tsx" @@ -12230,10 +12234,6 @@ "plugin": "stackAlerts", "path": "x-pack/plugins/stack_alerts/public/rule_types/geo_containment/rule_form/entity_form.tsx" }, - { - "plugin": "graph", - "path": "x-pack/plugins/graph/public/plugin.ts" - }, { "plugin": "inputControlVis", "path": "src/plugins/input_control_vis/public/control/list_control_factory.ts" diff --git a/api_docs/data.mdx b/api_docs/data.mdx index 298770ce57809..d5a401cc9f875 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-02-23 +date: 2024-03-04 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'data'] --- import dataObj from './data.devdocs.json'; diff --git a/api_docs/data_query.mdx b/api_docs/data_query.mdx index cb1281ec989f7..33c787ac15d52 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-02-23 +date: 2024-03-04 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'data.query'] --- import dataQueryObj from './data_query.devdocs.json'; diff --git a/api_docs/data_search.mdx b/api_docs/data_search.mdx index 42c7b7d66c44a..4082dd76934da 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-02-23 +date: 2024-03-04 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'data.search'] --- import dataSearchObj from './data_search.devdocs.json'; diff --git a/api_docs/data_view_editor.mdx b/api_docs/data_view_editor.mdx index 51d001aa9fbc4..46a0b5c01c2ad 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-02-23 +date: 2024-03-04 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 264b2f7022825..55f008003e6be 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-02-23 +date: 2024-03-04 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 9702977d7ea19..6633e556f6fad 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-02-23 +date: 2024-03-04 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'dataViewManagement'] --- import dataViewManagementObj from './data_view_management.devdocs.json'; diff --git a/api_docs/data_views.mdx b/api_docs/data_views.mdx index 52ef2acb9f2a5..09abe9af0bc5d 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-02-23 +date: 2024-03-04 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 c932922c23d60..6d0a633a27541 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-02-23 +date: 2024-03-04 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 f4b57185791fd..a5207c151cfff 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-02-23 +date: 2024-03-04 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 f3890c5ff9d2b..6a2c6ceb70453 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-02-23 +date: 2024-03-04 tags: ['contributor', 'dev', 'apidocs', 'kibana'] --- @@ -17,18 +17,18 @@ tags: ['contributor', 'dev', 'apidocs', 'kibana'] | Deprecated API | Referencing plugin(s) | Remove By | | ---------------|-----------|-----------| | | ml, stackAlerts | - | -| | share, uiActions, guidedOnboarding, home, serverless, management, spaces, savedObjects, indexManagement, devTools, console, visualizations, dashboard, savedObjectsTagging, expressionXY, lens, expressionMetricVis, expressionGauge, security, alerting, triggersActionsUi, cases, aiops, licenseManagement, maps, dataVisualizer, ml, exploratoryView, fleet, metricsDataAccess, ingestPipelines, osquery, profiling, apm, expressionImage, expressionMetric, expressionError, expressionRevealImage, expressionRepeatImage, expressionShape, crossClusterReplication, graph, grokdebugger, indexLifecycleManagement, infra, logstash, monitoring, painlessLab, remoteClusters, rollup, searchprofiler, newsfeed, securitySolution, snapshotRestore, transform, upgradeAssistant, watcher, cloudDataMigration, observabilityOnboarding, synthetics, uptime, ux, filesManagement, kibanaOverview, visDefaultEditor, expressionHeatmap, expressionLegacyMetricVis, expressionPartitionVis, expressionTagcloud, visTypeTable, visTypeTimelion, visTypeTimeseries, visTypeVega, visTypeVislib | - | +| | share, uiActions, guidedOnboarding, home, serverless, management, spaces, savedObjects, indexManagement, devTools, console, visualizations, dashboard, savedObjectsTagging, expressionXY, lens, expressionMetricVis, expressionGauge, security, alerting, triggersActionsUi, cases, aiops, maps, expressionImage, expressionMetric, expressionError, expressionRevealImage, expressionRepeatImage, expressionShape, licenseManagement, dataVisualizer, ml, fleet, crossClusterReplication, graph, grokdebugger, indexLifecycleManagement, ingestPipelines, logstash, metricsDataAccess, exploratoryView, osquery, infra, monitoring, painlessLab, remoteClusters, rollup, searchprofiler, newsfeed, securitySolution, snapshotRestore, transform, upgradeAssistant, watcher, cloudDataMigration, profiling, apm, observabilityOnboarding, synthetics, uptime, ux, filesManagement, kibanaOverview, visDefaultEditor, expressionHeatmap, expressionLegacyMetricVis, expressionPartitionVis, expressionTagcloud, visTypeTable, visTypeTimelion, visTypeTimeseries, visTypeVega, visTypeVislib | - | | | encryptedSavedObjects, actions, data, ml, logstash, securitySolution, cloudChat | - | | | actions, ml, savedObjectsTagging, enterpriseSearch | - | | | @kbn/core-saved-objects-browser-internal, @kbn/core, savedObjects, visualizations, aiops, ml, dataVisualizer, dashboardEnhanced, graph, lens, securitySolution, eventAnnotation, @kbn/core-saved-objects-browser-mocks | - | | | @kbn/core, savedObjects, embeddable, visualizations, canvas, graph, ml, @kbn/core-saved-objects-common, @kbn/core-saved-objects-server, actions, alerting, savedSearch, enterpriseSearch, securitySolution, taskManager, @kbn/core-saved-objects-server-internal, @kbn/core-saved-objects-api-server | - | -| | @kbn/core-saved-objects-base-server-internal, @kbn/core-saved-objects-migration-server-internal, @kbn/core-saved-objects-server-internal, @kbn/core-ui-settings-server-internal, @kbn/core-usage-data-server-internal, taskManager, spaces, actions, @kbn/core-saved-objects-migration-server-mocks, share, dataViews, data, alerting, lens, cases, observability, apmDataAccess, ml, fleet, visualizations, apm, savedSearch, canvas, cloudSecurityPosture, logsShared, graph, infra, lists, maps, securitySolution, synthetics, uptime, dashboard, eventAnnotation, links, savedObjectsManagement, @kbn/core-test-helpers-so-type-serializer, @kbn/core-saved-objects-api-server-internal | - | +| | @kbn/core-saved-objects-base-server-internal, @kbn/core-saved-objects-migration-server-internal, @kbn/core-saved-objects-server-internal, @kbn/core-ui-settings-server-internal, @kbn/core-usage-data-server-internal, taskManager, spaces, actions, @kbn/core-saved-objects-migration-server-mocks, share, dataViews, data, alerting, lens, cases, apmDataAccess, visualizations, ml, observability, savedSearch, canvas, fleet, cloudSecurityPosture, logsShared, graph, lists, maps, infra, securitySolution, apm, synthetics, uptime, dashboard, eventAnnotation, links, savedObjectsManagement, @kbn/core-test-helpers-so-type-serializer, @kbn/core-saved-objects-api-server-internal | - | | | stackAlerts, alerting, securitySolution, inputControlVis | - | -| | stackAlerts, graph, inputControlVis, securitySolution, savedObjects | - | +| | graph, stackAlerts, inputControlVis, securitySolution, savedObjects | - | | | dashboard, dataVisualizer, stackAlerts, expressionPartitionVis | - | | | stackAlerts, alerting, securitySolution, inputControlVis | - | | | triggersActionsUi | - | -| | inspector, data, savedObjects, console, runtimeFields, indexManagement, dataViewEditor, unifiedSearch, embeddable, visualizations, dashboard, licensing, savedObjectsTagging, dataViewFieldEditor, lens, security, triggersActionsUi, cases, observabilityShared, telemetry, maps, exploratoryView, fleet, timelines, banners, @kbn/reporting-public, reporting, cloudSecurityPosture, dashboardEnhanced, imageEmbeddable, graph, monitoring, securitySolution, cloudLinks, synthetics, uptime, dataViewManagement, eventAnnotationListing, filesManagement, uiActions, visTypeVislib | - | +| | inspector, data, savedObjects, console, runtimeFields, indexManagement, dataViewEditor, unifiedSearch, embeddable, visualizations, dashboard, licensing, savedObjectsTagging, dataViewFieldEditor, lens, security, triggersActionsUi, cases, observabilityShared, banners, maps, @kbn/reporting-public, reporting, timelines, fleet, telemetry, cloudSecurityPosture, dashboardEnhanced, imageEmbeddable, graph, exploratoryView, monitoring, securitySolution, cloudLinks, synthetics, uptime, dataViewManagement, eventAnnotationListing, filesManagement, uiActions, visTypeVislib | - | | | @kbn/core, visualizations, triggersActionsUi | - | | | ruleRegistry, observability, infra, securitySolution, synthetics, uptime | - | | | alerting, discover, securitySolution | - | @@ -44,7 +44,7 @@ tags: ['contributor', 'dev', 'apidocs', 'kibana'] | | securitySolution | - | | | securitySolution | - | | | @kbn/core-saved-objects-api-browser, @kbn/core-saved-objects-browser-internal, @kbn/core-saved-objects-api-server, @kbn/core, home, savedObjectsTagging, canvas, savedObjects, @kbn/core-saved-objects-browser-mocks, @kbn/core-saved-objects-import-export-server-internal, savedObjectsTaggingOss, lists, securitySolution, upgradeAssistant, savedObjectsManagement, @kbn/core-ui-settings-server-internal | - | -| | @kbn/core-saved-objects-migration-server-internal, actions, dataViews, data, alerting, lens, cases, savedObjectsTagging, visualizations, savedSearch, canvas, graph, lists, maps, securitySolution, dashboard, @kbn/core-test-helpers-so-type-serializer | - | +| | @kbn/core-saved-objects-migration-server-internal, actions, dataViews, data, alerting, lens, cases, visualizations, savedSearch, canvas, savedObjectsTagging, graph, lists, maps, securitySolution, dashboard, @kbn/core-test-helpers-so-type-serializer | - | | | lists, securitySolution, @kbn/securitysolution-io-ts-list-types | - | | | lists, securitySolution, @kbn/securitysolution-io-ts-list-types | - | | | lists, securitySolution, @kbn/securitysolution-io-ts-list-types | - | @@ -58,14 +58,14 @@ tags: ['contributor', 'dev', 'apidocs', 'kibana'] | | securitySolution | - | | | securitySolution | - | | | @kbn/monaco, securitySolution | - | -| | dataVisualizer, exploratoryView, fleet, osquery, cloudSecurityPosture, discoverEnhanced, synthetics | - | +| | dataVisualizer, fleet, cloudSecurityPosture, discoverEnhanced, exploratoryView, osquery, synthetics | - | | | actions, alerting | - | | | data, discover, imageEmbeddable, embeddable | - | | | @kbn/core-plugins-browser-internal, @kbn/core-root-browser-internal, home, savedObjects, unifiedSearch, visualizations, fileUpload, dashboardEnhanced, transform, dashboard, discover, dataVisualizer | - | | | @kbn/core-saved-objects-browser-mocks, discover, @kbn/core-saved-objects-browser-internal | - | | | @kbn/management-settings-field-definition, discover | - | | | monitoring | - | -| | @kbn/core-saved-objects-api-browser, @kbn/core, savedObjects, savedObjectsManagement, visualizations, savedObjectsTagging, eventAnnotation, lens, graph, dashboard, savedObjectsTaggingOss, kibanaUtils, expressions, data, embeddable, controls, uiActionsEnhanced, maps, canvas, dashboardEnhanced, globalSearchProviders | - | +| | @kbn/core-saved-objects-api-browser, @kbn/core, savedObjects, savedObjectsManagement, visualizations, savedObjectsTagging, eventAnnotation, lens, graph, dashboard, savedObjectsTaggingOss, kibanaUtils, expressions, data, embeddable, controls, uiActionsEnhanced, canvas, maps, dashboardEnhanced, globalSearchProviders | - | | | @kbn/core-saved-objects-browser, @kbn/core-saved-objects-browser-internal, @kbn/core, home, savedObjects, visualizations, lens, visTypeTimeseries, @kbn/core-saved-objects-browser-mocks | - | | | @kbn/core-saved-objects-browser-internal, @kbn/core-saved-objects-browser-mocks, savedObjects, dashboard | - | | | @kbn/core-saved-objects-browser-mocks, home, @kbn/core-saved-objects-browser-internal | - | @@ -141,10 +141,10 @@ tags: ['contributor', 'dev', 'apidocs', 'kibana'] | | @kbn/core-lifecycle-browser-mocks, @kbn/core, @kbn/core-plugins-browser-internal | - | | | @kbn/core | - | | | @kbn/core-plugins-server-internal | - | -| | security, aiops, licenseManagement, ml, observability, profiling, apm, crossClusterReplication, logstash, painlessLab, searchprofiler, watcher | 8.8.0 | +| | security, aiops, licenseManagement, ml, crossClusterReplication, logstash, observability, painlessLab, searchprofiler, watcher, profiling, apm | 8.8.0 | | | spaces, security, actions, alerting, aiops, ml, remoteClusters, graph, indexLifecycleManagement, mapsEms, osquery, securitySolution, painlessLab, rollup, searchprofiler, snapshotRestore, transform, upgradeAssistant | 8.8.0 | -| | apm, fleet, security, securitySolution | 8.8.0 | -| | apm, fleet, security, securitySolution | 8.8.0 | +| | fleet, apm, security, securitySolution | 8.8.0 | +| | fleet, apm, security, securitySolution | 8.8.0 | | | spaces, security, alerting | 8.8.0 | | | embeddable, presentationUtil, dashboard, lens, discover, graph, links | 8.8.0 | | | @kbn/core-application-browser-internal, @kbn/core-application-browser-mocks, management, fleet, security, kibanaOverview, @kbn/core | 8.8.0 | diff --git a/api_docs/deprecations_by_plugin.mdx b/api_docs/deprecations_by_plugin.mdx index ec9b18f7b3588..934f63a404430 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-02-23 +date: 2024-03-04 tags: ['contributor', 'dev', 'apidocs', 'kibana'] --- @@ -426,12 +426,12 @@ tags: ['contributor', 'dev', 'apidocs', 'kibana'] | Deprecated API | Reference location(s) | Remove By | | ---------------|-----------|-----------| -| | [plugin.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/apm/public/plugin.ts#:~:text=environment) | 8.8.0 | -| | [index.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/apm/public/application/index.tsx#:~:text=KibanaThemeProvider), [index.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/apm/public/application/index.tsx#:~:text=KibanaThemeProvider), [index.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/apm/public/application/index.tsx#:~:text=KibanaThemeProvider) | - | -| | [license_check.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/apm/common/license_check.test.ts#:~:text=mode), [license_check.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/apm/common/license_check.test.ts#:~:text=mode), [license_check.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/apm/common/license_check.test.ts#:~:text=mode), [license_check.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/apm/common/license_check.test.ts#:~:text=mode), [license_check.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/apm/common/license_check.test.ts#:~:text=mode), [license_check.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/apm/common/license_check.test.ts#:~:text=mode), [license_check.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/apm/common/license_check.test.ts#:~:text=mode), [license_check.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/apm/common/license_check.test.ts#:~:text=mode), [license_check.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/apm/common/license_check.test.ts#:~:text=mode), [license_check.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/apm/common/license_check.test.ts#:~:text=mode)+ 2 more | 8.8.0 | -| | [license_context.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/apm/public/context/license/license_context.tsx#:~:text=license%24) | 8.8.0 | -| | [license_check.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/apm/common/license_check.test.ts#:~:text=mode), [license_check.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/apm/common/license_check.test.ts#:~:text=mode), [license_check.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/apm/common/license_check.test.ts#:~:text=mode), [license_check.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/apm/common/license_check.test.ts#:~:text=mode), [license_check.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/apm/common/license_check.test.ts#:~:text=mode), [license_check.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/apm/common/license_check.test.ts#:~:text=mode), [license_check.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/apm/common/license_check.test.ts#:~:text=mode), [license_check.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/apm/common/license_check.test.ts#:~:text=mode), [license_check.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/apm/common/license_check.test.ts#:~:text=mode), [license_check.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/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/plugins/apm/server/saved_objects/apm_service_groups.ts#:~:text=migrations) | - | +| | [plugin.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/observability_solution/apm/public/plugin.ts#:~:text=environment) | 8.8.0 | +| | [index.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/observability_solution/apm/public/application/index.tsx#:~:text=KibanaThemeProvider), [index.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/observability_solution/apm/public/application/index.tsx#:~:text=KibanaThemeProvider), [index.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/observability_solution/apm/public/application/index.tsx#:~:text=KibanaThemeProvider) | - | +| | [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_context.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/observability_solution/apm/public/context/license/license_context.tsx#:~:text=license%24) | 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) | - | @@ -439,7 +439,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/apm_data_access/server/saved_objects/apm_indices.ts#:~:text=migrations) | - | +| | [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) | - | @@ -997,9 +997,9 @@ tags: ['contributor', 'dev', 'apidocs', 'kibana'] | Deprecated API | Reference location(s) | Remove By | | ---------------|-----------|-----------| -| | [log_threshold_executor.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/infra/server/lib/alerting/log_threshold/log_threshold_executor.ts#:~:text=alertFactory), [log_threshold_executor.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/infra/server/lib/alerting/log_threshold/log_threshold_executor.ts#:~:text=alertFactory), [log_threshold_executor.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/infra/server/lib/alerting/log_threshold/log_threshold_executor.ts#:~:text=alertFactory), [inventory_metric_threshold_executor.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/infra/server/lib/alerting/inventory_metric_threshold/inventory_metric_threshold_executor.ts#:~:text=alertFactory) | - | -| | [common_providers.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/infra/public/apps/common_providers.tsx#:~:text=KibanaThemeProvider), [common_providers.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/infra/public/apps/common_providers.tsx#:~:text=KibanaThemeProvider), [common_providers.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/infra/public/apps/common_providers.tsx#:~:text=KibanaThemeProvider) | - | -| | [saved_object_type.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/infra/server/lib/sources/saved_object_type.ts#:~:text=migrations) | - | +| | [log_threshold_executor.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/observability_solution/infra/server/lib/alerting/log_threshold/log_threshold_executor.ts#:~:text=alertFactory), [log_threshold_executor.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/observability_solution/infra/server/lib/alerting/log_threshold/log_threshold_executor.ts#:~:text=alertFactory), [log_threshold_executor.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/observability_solution/infra/server/lib/alerting/log_threshold/log_threshold_executor.ts#:~:text=alertFactory), [inventory_metric_threshold_executor.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/observability_solution/infra/server/lib/alerting/inventory_metric_threshold/inventory_metric_threshold_executor.ts#:~:text=alertFactory) | - | +| | [common_providers.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/observability_solution/infra/public/apps/common_providers.tsx#:~:text=KibanaThemeProvider), [common_providers.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/observability_solution/infra/public/apps/common_providers.tsx#:~:text=KibanaThemeProvider), [common_providers.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/observability_solution/infra/public/apps/common_providers.tsx#:~:text=KibanaThemeProvider) | - | +| | [saved_object_type.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/observability_solution/infra/server/lib/sources/saved_object_type.ts#:~:text=migrations) | - | @@ -1211,9 +1211,9 @@ tags: ['contributor', 'dev', 'apidocs', 'kibana'] | Deprecated API | Reference location(s) | Remove By | | ---------------|-----------|-----------| -| | [custom_threshold_executor.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/observability/server/lib/rules/custom_threshold/custom_threshold_executor.ts#:~:text=alertFactory), [custom_threshold_executor.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/observability/server/lib/rules/custom_threshold/custom_threshold_executor.ts#:~:text=alertFactory), [executor.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/observability/server/lib/rules/slo_burn_rate/executor.ts#:~:text=alertFactory), [executor.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/observability/server/lib/rules/slo_burn_rate/executor.test.ts#:~:text=alertFactory) | - | -| | [plugin.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/observability/public/plugin.ts#:~:text=license%24) | 8.8.0 | -| | [slo.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/observability/server/saved_objects/slo.ts#:~:text=migrations) | - | +| | [custom_threshold_executor.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/observability_solution/observability/server/lib/rules/custom_threshold/custom_threshold_executor.ts#:~:text=alertFactory), [custom_threshold_executor.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/observability_solution/observability/server/lib/rules/custom_threshold/custom_threshold_executor.ts#:~:text=alertFactory), [executor.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/observability_solution/observability/server/lib/rules/slo_burn_rate/executor.ts#:~:text=alertFactory), [executor.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/observability_solution/observability/server/lib/rules/slo_burn_rate/executor.test.ts#:~:text=alertFactory) | - | +| | [plugin.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/observability_solution/observability/public/plugin.ts#:~:text=license%24) | 8.8.0 | +| | [slo.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/observability_solution/observability/server/saved_objects/slo.ts#:~:text=migrations) | - | diff --git a/api_docs/deprecations_by_team.mdx b/api_docs/deprecations_by_team.mdx index 3d168da06ada3..29f879a4a1dac 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-02-23 +date: 2024-03-04 tags: ['contributor', 'dev', 'apidocs', 'kibana'] --- @@ -117,10 +117,10 @@ migrates to using the Kibana Privilege model: https://github.com/elastic/kibana/ | Plugin | Deprecated API | Reference location(s) | Remove By | | --------|-------|-----------|-----------| -| apm | | [plugin.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/apm/public/plugin.ts#:~:text=environment) | 8.8.0 | -| apm | | [license_check.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/apm/common/license_check.test.ts#:~:text=mode), [license_check.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/apm/common/license_check.test.ts#:~:text=mode), [license_check.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/apm/common/license_check.test.ts#:~:text=mode), [license_check.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/apm/common/license_check.test.ts#:~:text=mode), [license_check.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/apm/common/license_check.test.ts#:~:text=mode), [license_check.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/apm/common/license_check.test.ts#:~:text=mode), [license_check.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/apm/common/license_check.test.ts#:~:text=mode), [license_check.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/apm/common/license_check.test.ts#:~:text=mode), [license_check.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/apm/common/license_check.test.ts#:~:text=mode), [license_check.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/apm/common/license_check.test.ts#:~:text=mode)+ 2 more | 8.8.0 | -| apm | | [license_context.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/apm/public/context/license/license_context.tsx#:~:text=license%24), [license_context.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/observability_solution/profiling/public/components/contexts/license/license_context.tsx#:~:text=license%24) | 8.8.0 | -| apm | | [license_check.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/apm/common/license_check.test.ts#:~:text=mode), [license_check.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/apm/common/license_check.test.ts#:~:text=mode), [license_check.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/apm/common/license_check.test.ts#:~:text=mode), [license_check.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/apm/common/license_check.test.ts#:~:text=mode), [license_check.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/apm/common/license_check.test.ts#:~:text=mode), [license_check.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/apm/common/license_check.test.ts#:~:text=mode), [license_check.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/apm/common/license_check.test.ts#:~:text=mode), [license_check.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/apm/common/license_check.test.ts#:~:text=mode), [license_check.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/apm/common/license_check.test.ts#:~:text=mode), [license_check.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/apm/common/license_check.test.ts#:~:text=mode)+ 2 more | 8.8.0 | +| apm | | [plugin.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/observability_solution/apm/public/plugin.ts#:~:text=environment) | 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_context.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/observability_solution/apm/public/context/license/license_context.tsx#:~:text=license%24), [license_context.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/observability_solution/profiling/public/components/contexts/license/license_context.tsx#:~:text=license%24) | 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 | @@ -128,7 +128,7 @@ migrates to using the Kibana Privilege model: https://github.com/elastic/kibana/ | Plugin | Deprecated API | Reference location(s) | Remove By | | --------|-------|-----------|-----------| -| observability | | [plugin.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/observability/public/plugin.ts#:~:text=license%24) | 8.8.0 | +| observability | | [plugin.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/observability_solution/observability/public/plugin.ts#:~:text=license%24) | 8.8.0 | diff --git a/api_docs/dev_tools.mdx b/api_docs/dev_tools.mdx index 7a6790ef98c6c..72a8418d32274 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-02-23 +date: 2024-03-04 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 c695e2248be5f..c667195a2aec7 100644 --- a/api_docs/discover.devdocs.json +++ b/api_docs/discover.devdocs.json @@ -806,7 +806,9 @@ }, "<", "InternalState", - ", InternalStateTransitions, {}>" + ", ", + "InternalStateTransitions", + ", {}>" ], "path": "src/plugins/discover/public/application/main/services/discover_state.ts", "deprecated": false, @@ -2732,26 +2734,10 @@ "plugin": "dataVisualizer", "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/actions_panel/actions_panel.tsx" }, - { - "plugin": "exploratoryView", - "path": "x-pack/plugins/observability_solution/exploratory_view/public/components/shared/exploratory_view/hooks/use_discover_link.tsx" - }, { "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": "osquery", - "path": "x-pack/plugins/osquery/public/packs/pack_queries_status_table.tsx" - }, - { - "plugin": "osquery", - "path": "x-pack/plugins/osquery/public/discover/view_results_in_discover.tsx" - }, - { - "plugin": "osquery", - "path": "x-pack/plugins/osquery/public/common/hooks/use_discover_link.tsx" - }, { "plugin": "cloudSecurityPosture", "path": "x-pack/plugins/cloud_security_posture/public/pages/configurations/findings_flyout/overview_tab.tsx" @@ -2764,6 +2750,22 @@ "plugin": "discoverEnhanced", "path": "x-pack/plugins/discover_enhanced/public/actions/explore_data/explore_data_chart_action.ts" }, + { + "plugin": "exploratoryView", + "path": "x-pack/plugins/observability_solution/exploratory_view/public/components/shared/exploratory_view/hooks/use_discover_link.tsx" + }, + { + "plugin": "osquery", + "path": "x-pack/plugins/osquery/public/packs/pack_queries_status_table.tsx" + }, + { + "plugin": "osquery", + "path": "x-pack/plugins/osquery/public/discover/view_results_in_discover.tsx" + }, + { + "plugin": "osquery", + "path": "x-pack/plugins/osquery/public/common/hooks/use_discover_link.tsx" + }, { "plugin": "synthetics", "path": "x-pack/plugins/observability_solution/synthetics/public/apps/synthetics/components/common/components/stderr_logs.tsx" diff --git a/api_docs/discover.mdx b/api_docs/discover.mdx index d5c5fc9513a74..153a9e332e608 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-02-23 +date: 2024-03-04 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'discover'] --- import discoverObj from './discover.devdocs.json'; @@ -21,7 +21,7 @@ Contact [@elastic/kibana-data-discovery](https://github.com/orgs/elastic/teams/k | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 157 | 0 | 109 | 23 | +| 157 | 0 | 109 | 24 | ## Client diff --git a/api_docs/discover_enhanced.mdx b/api_docs/discover_enhanced.mdx index d725f661417dd..8bf418b91d211 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-02-23 +date: 2024-03-04 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'discoverEnhanced'] --- import discoverEnhancedObj from './discover_enhanced.devdocs.json'; diff --git a/api_docs/ecs_data_quality_dashboard.mdx b/api_docs/ecs_data_quality_dashboard.mdx index 59485f8cd3f5f..58a2464f89764 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-02-23 +date: 2024-03-04 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'ecsDataQualityDashboard'] --- import ecsDataQualityDashboardObj from './ecs_data_quality_dashboard.devdocs.json'; diff --git a/api_docs/elastic_assistant.mdx b/api_docs/elastic_assistant.mdx index 8203450ba0653..7ff02405dd81f 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-02-23 +date: 2024-03-04 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'elasticAssistant'] --- import elasticAssistantObj from './elastic_assistant.devdocs.json'; diff --git a/api_docs/embeddable.mdx b/api_docs/embeddable.mdx index a379df518d01f..51d6008119729 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-02-23 +date: 2024-03-04 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'embeddable'] --- import embeddableObj from './embeddable.devdocs.json'; diff --git a/api_docs/embeddable_enhanced.mdx b/api_docs/embeddable_enhanced.mdx index 4c4b7d5db479e..7651e41aa07bc 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-02-23 +date: 2024-03-04 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 c7be2f2fcdf21..7078ac4c7cafb 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-02-23 +date: 2024-03-04 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'encryptedSavedObjects'] --- import encryptedSavedObjectsObj from './encrypted_saved_objects.devdocs.json'; diff --git a/api_docs/enterprise_search.mdx b/api_docs/enterprise_search.mdx index 796e211713fb9..b39966b6cc8c9 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-02-23 +date: 2024-03-04 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'enterpriseSearch'] --- import enterpriseSearchObj from './enterprise_search.devdocs.json'; diff --git a/api_docs/es_ui_shared.mdx b/api_docs/es_ui_shared.mdx index 5cc260d7ea38c..2c753a813f0d0 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-02-23 +date: 2024-03-04 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'esUiShared'] --- import esUiSharedObj from './es_ui_shared.devdocs.json'; diff --git a/api_docs/event_annotation.mdx b/api_docs/event_annotation.mdx index b359c4563bfbc..cfe13fda85f87 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-02-23 +date: 2024-03-04 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 6de036a12df28..1ce3f47966c43 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-02-23 +date: 2024-03-04 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'eventAnnotationListing'] --- import eventAnnotationListingObj from './event_annotation_listing.devdocs.json'; diff --git a/api_docs/event_log.mdx b/api_docs/event_log.mdx index b876bf97cf469..0324c5990edd5 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-02-23 +date: 2024-03-04 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 497bbcee327b9..7d1c278b1382a 100644 --- a/api_docs/exploratory_view.devdocs.json +++ b/api_docs/exploratory_view.devdocs.json @@ -972,8 +972,8 @@ "pluginId": "cases", "scope": "public", "docId": "kibCasesPluginApi", - "section": "def-public.CasesUiStart", - "text": "CasesUiStart" + "section": "def-public.CasesPublicStart", + "text": "CasesPublicStart" } ], "path": "x-pack/plugins/observability_solution/exploratory_view/public/plugin.ts", diff --git a/api_docs/exploratory_view.mdx b/api_docs/exploratory_view.mdx index 21d361a0c70d8..2df83fe479e31 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-02-23 +date: 2024-03-04 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'exploratoryView'] --- import exploratoryViewObj from './exploratory_view.devdocs.json'; diff --git a/api_docs/expression_error.mdx b/api_docs/expression_error.mdx index b07441ed67060..3ec1c7cc808f2 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-02-23 +date: 2024-03-04 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 185d57a7efddf..db7d17c99fcc0 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-02-23 +date: 2024-03-04 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 26e88003c3f55..5b53575922e94 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-02-23 +date: 2024-03-04 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'expressionHeatmap'] --- import expressionHeatmapObj from './expression_heatmap.devdocs.json'; diff --git a/api_docs/expression_image.mdx b/api_docs/expression_image.mdx index 2c8ab0ce8a10e..fe1bb78c3b2fd 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-02-23 +date: 2024-03-04 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 8ce44486eb453..80039547031b5 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-02-23 +date: 2024-03-04 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'expressionLegacyMetricVis'] --- import expressionLegacyMetricVisObj from './expression_legacy_metric_vis.devdocs.json'; diff --git a/api_docs/expression_metric.mdx b/api_docs/expression_metric.mdx index 0eb3b71bc5db0..e1a9ade140ab8 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-02-23 +date: 2024-03-04 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 08f536ad556da..e7691ac1f8f1a 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-02-23 +date: 2024-03-04 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 d390cb0931c9f..c510a33dbfba4 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-02-23 +date: 2024-03-04 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'expressionPartitionVis'] --- import expressionPartitionVisObj from './expression_partition_vis.devdocs.json'; diff --git a/api_docs/expression_repeat_image.mdx b/api_docs/expression_repeat_image.mdx index c6e136f5c124f..7bab6465e5519 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-02-23 +date: 2024-03-04 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'expressionRepeatImage'] --- import expressionRepeatImageObj from './expression_repeat_image.devdocs.json'; diff --git a/api_docs/expression_reveal_image.mdx b/api_docs/expression_reveal_image.mdx index f37e29269850e..59bbe1e1f3228 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-02-23 +date: 2024-03-04 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'expressionRevealImage'] --- import expressionRevealImageObj from './expression_reveal_image.devdocs.json'; diff --git a/api_docs/expression_shape.mdx b/api_docs/expression_shape.mdx index bddc32f6d0716..15a7fcfc93ced 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-02-23 +date: 2024-03-04 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 fb0fa3100bee8..828ca5b5fd98d 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-02-23 +date: 2024-03-04 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 df2e01dc7b2c0..732982ac07fc7 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-02-23 +date: 2024-03-04 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 5cfe8943f38db..51da6e6c8d2bd 100644 --- a/api_docs/expressions.devdocs.json +++ b/api_docs/expressions.devdocs.json @@ -4769,7 +4769,7 @@ "section": "def-common.ExecutionContract", "text": "ExecutionContract" }, - "" + "" ], "path": "src/plugins/expressions/common/service/expressions_services.ts", "deprecated": false, @@ -10039,7 +10039,7 @@ "section": "def-common.ExecutionContract", "text": "ExecutionContract" }, - "" + "" ], "path": "src/plugins/expressions/common/service/expressions_services.ts", "deprecated": false, @@ -26737,7 +26737,7 @@ "section": "def-common.ExecutionContract", "text": "ExecutionContract" }, - "" + "" ], "path": "src/plugins/expressions/common/service/expressions_services.ts", "deprecated": false, @@ -34517,7 +34517,7 @@ "section": "def-common.ExecutionContract", "text": "ExecutionContract" }, - "" + "" ], "path": "src/plugins/expressions/common/service/expressions_services.ts", "deprecated": false, diff --git a/api_docs/expressions.mdx b/api_docs/expressions.mdx index 812aebc3f75b6..2cc06fc20d4c7 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-02-23 +date: 2024-03-04 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'expressions'] --- import expressionsObj from './expressions.devdocs.json'; diff --git a/api_docs/features.mdx b/api_docs/features.mdx index 9adc87f5c6949..534fadcf7ed49 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-02-23 +date: 2024-03-04 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 3663e778c7609..4b129e68e842c 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-02-23 +date: 2024-03-04 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'fieldFormats'] --- import fieldFormatsObj from './field_formats.devdocs.json'; diff --git a/api_docs/file_upload.mdx b/api_docs/file_upload.mdx index c0c1d1ae42f93..a55ea428510e3 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-02-23 +date: 2024-03-04 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'fileUpload'] --- import fileUploadObj from './file_upload.devdocs.json'; diff --git a/api_docs/files.mdx b/api_docs/files.mdx index 96699268831f3..cb8e0c549fe28 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-02-23 +date: 2024-03-04 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 fb9c0d8cc343c..9793a01da362b 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-02-23 +date: 2024-03-04 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 c5ce101604d86..b24fec88e321e 100644 --- a/api_docs/fleet.devdocs.json +++ b/api_docs/fleet.devdocs.json @@ -4759,15 +4759,7 @@ "\nReturn the status by the Agent's id" ], "signature": [ - "(agentId: string) => Promise<", - { - "pluginId": "fleet", - "scope": "common", - "docId": "kibFleetPluginApi", - "section": "def-common.AgentStatus", - "text": "AgentStatus" - }, - ">" + "(agentId: string) => Promise<\"error\" | \"offline\" | \"online\" | \"inactive\" | \"enrolling\" | \"unenrolling\" | \"unenrolled\" | \"updating\" | \"degraded\">" ], "path": "x-pack/plugins/fleet/server/services/agents/agent_service.ts", "deprecated": false, @@ -17885,14 +17877,7 @@ "label": "status", "description": [], "signature": [ - { - "pluginId": "fleet", - "scope": "common", - "docId": "kibFleetPluginApi", - "section": "def-common.AgentStatus", - "text": "AgentStatus" - }, - " | undefined" + "\"error\" | \"offline\" | \"online\" | \"inactive\" | \"enrolling\" | \"unenrolling\" | \"unenrolled\" | \"updating\" | \"degraded\" | undefined" ], "path": "x-pack/plugins/fleet/common/types/models/agent.ts", "deprecated": false, @@ -20194,15 +20179,7 @@ "label": "statusSummary", "description": [], "signature": [ - "Record<", - { - "pluginId": "fleet", - "scope": "common", - "docId": "kibFleetPluginApi", - "section": "def-common.AgentStatus", - "text": "AgentStatus" - }, - ", number> | undefined" + "Record<\"error\" | \"offline\" | \"online\" | \"inactive\" | \"enrolling\" | \"unenrolling\" | \"unenrolled\" | \"updating\" | \"degraded\", number> | undefined" ], "path": "x-pack/plugins/fleet/common/types/rest_spec/agent.ts", "deprecated": false, @@ -25605,7 +25582,7 @@ "label": "PackageSpecCategory", "description": [], "signature": [ - "\"monitoring\" | \"security\" | \"connector\" | \"observability\" | \"infrastructure\" | \"cloud\" | \"custom\" | \"enterprise_search\" | \"advanced_analytics_ueba\" | \"analytics_engine\" | \"application_observability\" | \"app_search\" | \"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\" | \"elasticsearch_sdk\" | \"elastic_stack\" | \"email_security\" | \"firewall_security\" | \"google_cloud\" | \"iam\" | \"ids_ips\" | \"java_observability\" | \"kubernetes\" | \"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\" | \"workplace_search\"" + "\"monitoring\" | \"security\" | \"connector\" | \"observability\" | \"infrastructure\" | \"cloud\" | \"custom\" | \"enterprise_search\" | \"advanced_analytics_ueba\" | \"analytics_engine\" | \"application_observability\" | \"app_search\" | \"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\" | \"kubernetes\" | \"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\" | \"workplace_search\"" ], "path": "x-pack/plugins/fleet/common/types/models/package_spec.ts", "deprecated": false, diff --git a/api_docs/fleet.mdx b/api_docs/fleet.mdx index e7264f121764f..5d668c24951a5 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-02-23 +date: 2024-03-04 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 60adeefdfb4aa..331e20b8288fb 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-02-23 +date: 2024-03-04 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 e25f60f4a2fe0..a3c9b19c5c13c 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-02-23 +date: 2024-03-04 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'guidedOnboarding'] --- import guidedOnboardingObj from './guided_onboarding.devdocs.json'; diff --git a/api_docs/home.devdocs.json b/api_docs/home.devdocs.json index ebc453f366895..3e619758420e7 100644 --- a/api_docs/home.devdocs.json +++ b/api_docs/home.devdocs.json @@ -1447,7 +1447,7 @@ "references": [ { "plugin": "apm", - "path": "x-pack/plugins/apm/public/plugin.ts" + "path": "x-pack/plugins/observability_solution/apm/public/plugin.ts" } ] } diff --git a/api_docs/home.mdx b/api_docs/home.mdx index 335f6ff6ee257..144a455bfb360 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-02-23 +date: 2024-03-04 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 a853a6d70d4ce..4e75f894f2758 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-02-23 +date: 2024-03-04 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 be3b182436d19..90cdff0e18ec4 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-02-23 +date: 2024-03-04 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'indexLifecycleManagement'] --- import indexLifecycleManagementObj from './index_lifecycle_management.devdocs.json'; diff --git a/api_docs/index_management.mdx b/api_docs/index_management.mdx index 64f8985fb3a2e..9920573430fe3 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-02-23 +date: 2024-03-04 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'indexManagement'] --- import indexManagementObj from './index_management.devdocs.json'; diff --git a/api_docs/infra.devdocs.json b/api_docs/infra.devdocs.json index fc998806d1d34..1057a5e8af9ce 100644 --- a/api_docs/infra.devdocs.json +++ b/api_docs/infra.devdocs.json @@ -12,7 +12,7 @@ "tags": [], "label": "InfraFormatterType", "description": [], - "path": "x-pack/plugins/infra/public/lib/lib.ts", + "path": "x-pack/plugins/observability_solution/infra/public/lib/lib.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -27,7 +27,7 @@ "tags": [], "label": "FORMATTERS", "description": [], - "path": "x-pack/plugins/infra/common/formatters/index.ts", + "path": "x-pack/plugins/observability_solution/infra/common/formatters/index.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -41,7 +41,7 @@ "signature": [ "(val: number) => string" ], - "path": "x-pack/plugins/infra/common/formatters/index.ts", + "path": "x-pack/plugins/observability_solution/infra/common/formatters/index.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -53,7 +53,7 @@ "tags": [], "label": "val", "description": [], - "path": "x-pack/plugins/infra/common/formatters/number.ts", + "path": "x-pack/plugins/observability_solution/infra/common/formatters/number.ts", "deprecated": false, "trackAdoption": false } @@ -71,7 +71,7 @@ "signature": [ "(bytes: number) => string" ], - "path": "x-pack/plugins/infra/common/formatters/index.ts", + "path": "x-pack/plugins/observability_solution/infra/common/formatters/index.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -83,7 +83,7 @@ "tags": [], "label": "bytes", "description": [], - "path": "x-pack/plugins/infra/common/formatters/bytes.ts", + "path": "x-pack/plugins/observability_solution/infra/common/formatters/bytes.ts", "deprecated": false, "trackAdoption": false } @@ -101,7 +101,7 @@ "signature": [ "(bytes: number) => string" ], - "path": "x-pack/plugins/infra/common/formatters/index.ts", + "path": "x-pack/plugins/observability_solution/infra/common/formatters/index.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -113,7 +113,7 @@ "tags": [], "label": "bytes", "description": [], - "path": "x-pack/plugins/infra/common/formatters/bytes.ts", + "path": "x-pack/plugins/observability_solution/infra/common/formatters/bytes.ts", "deprecated": false, "trackAdoption": false } @@ -131,7 +131,7 @@ "signature": [ "(bytes: number) => string" ], - "path": "x-pack/plugins/infra/common/formatters/index.ts", + "path": "x-pack/plugins/observability_solution/infra/common/formatters/index.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -143,7 +143,7 @@ "tags": [], "label": "bytes", "description": [], - "path": "x-pack/plugins/infra/common/formatters/bytes.ts", + "path": "x-pack/plugins/observability_solution/infra/common/formatters/bytes.ts", "deprecated": false, "trackAdoption": false } @@ -159,7 +159,7 @@ "signature": [ "(val: number) => string" ], - "path": "x-pack/plugins/infra/common/formatters/index.ts", + "path": "x-pack/plugins/observability_solution/infra/common/formatters/index.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -171,7 +171,7 @@ "tags": [], "label": "val", "description": [], - "path": "x-pack/plugins/infra/common/formatters/percent.ts", + "path": "x-pack/plugins/observability_solution/infra/common/formatters/percent.ts", "deprecated": false, "trackAdoption": false } @@ -187,7 +187,7 @@ "signature": [ "(val: number) => string" ], - "path": "x-pack/plugins/infra/common/formatters/index.ts", + "path": "x-pack/plugins/observability_solution/infra/common/formatters/index.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -199,7 +199,7 @@ "tags": [], "label": "val", "description": [], - "path": "x-pack/plugins/infra/common/formatters/high_precision.ts", + "path": "x-pack/plugins/observability_solution/infra/common/formatters/high_precision.ts", "deprecated": false, "trackAdoption": false } @@ -216,7 +216,7 @@ "tags": [], "label": "InfraClientStartExports", "description": [], - "path": "x-pack/plugins/infra/public/types.ts", + "path": "x-pack/plugins/observability_solution/infra/public/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -230,7 +230,7 @@ "signature": [ "InventoryViewsServiceStart" ], - "path": "x-pack/plugins/infra/public/types.ts", + "path": "x-pack/plugins/observability_solution/infra/public/types.ts", "deprecated": false, "trackAdoption": false }, @@ -245,7 +245,7 @@ "MetricsExplorerViewsServiceStart", " | undefined" ], - "path": "x-pack/plugins/infra/public/types.ts", + "path": "x-pack/plugins/observability_solution/infra/public/types.ts", "deprecated": false, "trackAdoption": false }, @@ -259,7 +259,7 @@ "signature": [ "ITelemetryClient" ], - "path": "x-pack/plugins/infra/public/types.ts", + "path": "x-pack/plugins/observability_solution/infra/public/types.ts", "deprecated": false, "trackAdoption": false }, @@ -273,7 +273,7 @@ "signature": [ "InfraLocators" ], - "path": "x-pack/plugins/infra/public/types.ts", + "path": "x-pack/plugins/observability_solution/infra/public/types.ts", "deprecated": false, "trackAdoption": false } @@ -293,7 +293,7 @@ "tags": [], "label": "InfraConfig", "description": [], - "path": "x-pack/plugins/infra/common/plugin_config_types.ts", + "path": "x-pack/plugins/observability_solution/infra/common/plugin_config_types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -307,7 +307,7 @@ "signature": [ "{ inventory_threshold: { group_by_page_size: number; }; metric_threshold: { group_by_page_size: number; }; }" ], - "path": "x-pack/plugins/infra/common/plugin_config_types.ts", + "path": "x-pack/plugins/observability_solution/infra/common/plugin_config_types.ts", "deprecated": false, "trackAdoption": false }, @@ -318,7 +318,7 @@ "tags": [], "label": "enabled", "description": [], - "path": "x-pack/plugins/infra/common/plugin_config_types.ts", + "path": "x-pack/plugins/observability_solution/infra/common/plugin_config_types.ts", "deprecated": false, "trackAdoption": false }, @@ -332,7 +332,7 @@ "signature": [ "{ compositeSize: number; }" ], - "path": "x-pack/plugins/infra/common/plugin_config_types.ts", + "path": "x-pack/plugins/observability_solution/infra/common/plugin_config_types.ts", "deprecated": false, "trackAdoption": false }, @@ -346,7 +346,7 @@ "signature": [ "{ default?: { fields?: { message?: string[] | undefined; } | undefined; } | undefined; } | undefined" ], - "path": "x-pack/plugins/infra/common/plugin_config_types.ts", + "path": "x-pack/plugins/observability_solution/infra/common/plugin_config_types.ts", "deprecated": false, "trackAdoption": false }, @@ -360,7 +360,7 @@ "signature": [ "{ customThresholdAlertsEnabled: boolean; logsUIEnabled: boolean; metricsExplorerEnabled: boolean; osqueryEnabled: boolean; inventoryThresholdAlertRuleEnabled: boolean; metricThresholdAlertRuleEnabled: boolean; logThresholdAlertRuleEnabled: boolean; alertsAndRulesDropdownEnabled: boolean; profilingEnabled: boolean; }" ], - "path": "x-pack/plugins/infra/common/plugin_config_types.ts", + "path": "x-pack/plugins/observability_solution/infra/common/plugin_config_types.ts", "deprecated": false, "trackAdoption": false } @@ -374,7 +374,7 @@ "tags": [], "label": "InfraRequestHandlerContext", "description": [], - "path": "x-pack/plugins/infra/server/types.ts", + "path": "x-pack/plugins/observability_solution/infra/server/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -396,7 +396,7 @@ "MlDatafeedStats", "[]; }>; } | undefined" ], - "path": "x-pack/plugins/infra/server/types.ts", + "path": "x-pack/plugins/observability_solution/infra/server/types.ts", "deprecated": false, "trackAdoption": false }, @@ -418,7 +418,7 @@ "AggregationsAggregate", ">>>; } | undefined" ], - "path": "x-pack/plugins/infra/server/types.ts", + "path": "x-pack/plugins/observability_solution/infra/server/types.ts", "deprecated": false, "trackAdoption": false }, @@ -429,7 +429,7 @@ "tags": [], "label": "spaceId", "description": [], - "path": "x-pack/plugins/infra/server/types.ts", + "path": "x-pack/plugins/observability_solution/infra/server/types.ts", "deprecated": false, "trackAdoption": false }, @@ -449,7 +449,7 @@ "text": "SavedObjectsClientContract" } ], - "path": "x-pack/plugins/infra/server/types.ts", + "path": "x-pack/plugins/observability_solution/infra/server/types.ts", "deprecated": false, "trackAdoption": false }, @@ -469,7 +469,7 @@ "text": "IUiSettingsClient" } ], - "path": "x-pack/plugins/infra/server/types.ts", + "path": "x-pack/plugins/observability_solution/infra/server/types.ts", "deprecated": false, "trackAdoption": false } @@ -487,7 +487,7 @@ "tags": [], "label": "InfraPluginSetup", "description": [], - "path": "x-pack/plugins/infra/server/types.ts", + "path": "x-pack/plugins/observability_solution/infra/server/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -501,7 +501,7 @@ "signature": [ "void" ], - "path": "x-pack/plugins/infra/server/types.ts", + "path": "x-pack/plugins/observability_solution/infra/server/types.ts", "deprecated": false, "trackAdoption": false }, @@ -515,7 +515,7 @@ "signature": [ "void | undefined" ], - "path": "x-pack/plugins/infra/server/types.ts", + "path": "x-pack/plugins/observability_solution/infra/server/types.ts", "deprecated": false, "trackAdoption": false } @@ -530,7 +530,7 @@ "tags": [], "label": "InfraPluginStart", "description": [], - "path": "x-pack/plugins/infra/server/types.ts", + "path": "x-pack/plugins/observability_solution/infra/server/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -544,7 +544,7 @@ "signature": [ "InventoryViewsServiceStart" ], - "path": "x-pack/plugins/infra/server/types.ts", + "path": "x-pack/plugins/observability_solution/infra/server/types.ts", "deprecated": false, "trackAdoption": false }, @@ -559,7 +559,7 @@ "MetricsExplorerViewsServiceStart", " | undefined" ], - "path": "x-pack/plugins/infra/server/types.ts", + "path": "x-pack/plugins/observability_solution/infra/server/types.ts", "deprecated": false, "trackAdoption": false } diff --git a/api_docs/infra.mdx b/api_docs/infra.mdx index 4bb4a14ecc1dd..132d6d5348051 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-02-23 +date: 2024-03-04 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 e63a2737eee4d..514ee64cdbb24 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-02-23 +date: 2024-03-04 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'ingestPipelines'] --- import ingestPipelinesObj from './ingest_pipelines.devdocs.json'; diff --git a/api_docs/inspector.mdx b/api_docs/inspector.mdx index 17536878f0f5c..a20bbb1d699df 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-02-23 +date: 2024-03-04 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'inspector'] --- import inspectorObj from './inspector.devdocs.json'; diff --git a/api_docs/interactive_setup.mdx b/api_docs/interactive_setup.mdx index 8f9d2b7510a2b..8da3ae1b6ae34 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-02-23 +date: 2024-03-04 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'interactiveSetup'] --- import interactiveSetupObj from './interactive_setup.devdocs.json'; diff --git a/api_docs/kbn_ace.mdx b/api_docs/kbn_ace.mdx index 7ad91e47ca002..c1a6a80a4bab7 100644 --- a/api_docs/kbn_ace.mdx +++ b/api_docs/kbn_ace.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ace title: "@kbn/ace" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ace plugin -date: 2024-02-23 +date: 2024-03-04 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ace'] --- import kbnAceObj from './kbn_ace.devdocs.json'; diff --git a/api_docs/kbn_actions_types.mdx b/api_docs/kbn_actions_types.mdx index a3323cf51c7a8..5bb714825d68c 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-02-23 +date: 2024-03-04 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/actions-types'] --- import kbnActionsTypesObj from './kbn_actions_types.devdocs.json'; diff --git a/api_docs/kbn_aiops_components.mdx b/api_docs/kbn_aiops_components.mdx index 5663b70afe9aa..6cb612e447eab 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-02-23 +date: 2024-03-04 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/aiops-components'] --- import kbnAiopsComponentsObj from './kbn_aiops_components.devdocs.json'; diff --git a/api_docs/kbn_aiops_utils.mdx b/api_docs/kbn_aiops_utils.mdx index 3a0c72f29fff4..fd7e02f543cba 100644 --- a/api_docs/kbn_aiops_utils.mdx +++ b/api_docs/kbn_aiops_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-aiops-utils title: "@kbn/aiops-utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/aiops-utils plugin -date: 2024-02-23 +date: 2024-03-04 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/aiops-utils'] --- import kbnAiopsUtilsObj from './kbn_aiops_utils.devdocs.json'; diff --git a/api_docs/kbn_alerting_api_integration_helpers.mdx b/api_docs/kbn_alerting_api_integration_helpers.mdx index ae5ded51ed8cb..6c2e5fc3585df 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-02-23 +date: 2024-03-04 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_state_types.mdx b/api_docs/kbn_alerting_state_types.mdx index 46d2cb2617c21..cd8cd8eb45fd9 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-02-23 +date: 2024-03-04 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/alerting-state-types'] --- import kbnAlertingStateTypesObj from './kbn_alerting_state_types.devdocs.json'; diff --git a/api_docs/kbn_alerting_types.mdx b/api_docs/kbn_alerting_types.mdx index f1b6e23385742..b712805f4712c 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-02-23 +date: 2024-03-04 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/alerting-types'] --- import kbnAlertingTypesObj from './kbn_alerting_types.devdocs.json'; diff --git a/api_docs/kbn_alerts_as_data_utils.mdx b/api_docs/kbn_alerts_as_data_utils.mdx index 7044a7d5f0e6b..8d60490784dd8 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-02-23 +date: 2024-03-04 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_ui_shared.mdx b/api_docs/kbn_alerts_ui_shared.mdx index 1497a345e4ff0..8961d84ea1a7c 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-02-23 +date: 2024-03-04 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 8c7e087ceb123..38faa56e87f31 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-02-23 +date: 2024-03-04 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/analytics'] --- import kbnAnalyticsObj from './kbn_analytics.devdocs.json'; diff --git a/api_docs/kbn_analytics_client.devdocs.json b/api_docs/kbn_analytics_client.devdocs.json index 7aba696c210fe..68d5d3159f9f4 100644 --- a/api_docs/kbn_analytics_client.devdocs.json +++ b/api_docs/kbn_analytics_client.devdocs.json @@ -719,8 +719,8 @@ "path": "src/plugins/dashboard/public/services/analytics/analytics_service.ts" }, { - "plugin": "fleet", - "path": "x-pack/plugins/fleet/server/services/telemetry/fleet_usage_sender.ts" + "plugin": "observabilityAIAssistant", + "path": "x-pack/plugins/observability_solution/observability_ai_assistant/public/analytics/index.ts" }, { "plugin": "fleet", @@ -735,12 +735,8 @@ "path": "x-pack/plugins/fleet/server/services/telemetry/fleet_usage_sender.ts" }, { - "plugin": "observabilityAIAssistant", - "path": "x-pack/plugins/observability_solution/observability_ai_assistant/public/analytics/index.ts" - }, - { - "plugin": "apm", - "path": "x-pack/plugins/apm/public/services/telemetry/telemetry_client.ts" + "plugin": "fleet", + "path": "x-pack/plugins/fleet/server/services/telemetry/fleet_usage_sender.ts" }, { "plugin": "elasticAssistant", @@ -760,31 +756,31 @@ }, { "plugin": "infra", - "path": "x-pack/plugins/infra/public/services/telemetry/telemetry_client.ts" + "path": "x-pack/plugins/observability_solution/infra/public/services/telemetry/telemetry_client.ts" }, { "plugin": "infra", - "path": "x-pack/plugins/infra/public/services/telemetry/telemetry_client.ts" + "path": "x-pack/plugins/observability_solution/infra/public/services/telemetry/telemetry_client.ts" }, { "plugin": "infra", - "path": "x-pack/plugins/infra/public/services/telemetry/telemetry_client.ts" + "path": "x-pack/plugins/observability_solution/infra/public/services/telemetry/telemetry_client.ts" }, { "plugin": "infra", - "path": "x-pack/plugins/infra/public/services/telemetry/telemetry_client.ts" + "path": "x-pack/plugins/observability_solution/infra/public/services/telemetry/telemetry_client.ts" }, { "plugin": "infra", - "path": "x-pack/plugins/infra/public/services/telemetry/telemetry_client.ts" + "path": "x-pack/plugins/observability_solution/infra/public/services/telemetry/telemetry_client.ts" }, { "plugin": "infra", - "path": "x-pack/plugins/infra/public/services/telemetry/telemetry_client.ts" + "path": "x-pack/plugins/observability_solution/infra/public/services/telemetry/telemetry_client.ts" }, { "plugin": "infra", - "path": "x-pack/plugins/infra/public/services/telemetry/telemetry_client.ts" + "path": "x-pack/plugins/observability_solution/infra/public/services/telemetry/telemetry_client.ts" }, { "plugin": "osquery", @@ -894,6 +890,10 @@ "plugin": "securitySolution", "path": "x-pack/plugins/security_solution/public/common/lib/telemetry/telemetry_client.ts" }, + { + "plugin": "apm", + "path": "x-pack/plugins/observability_solution/apm/public/services/telemetry/telemetry_client.ts" + }, { "plugin": "observabilityAIAssistant", "path": "x-pack/plugins/observability_solution/observability_ai_assistant/public/mock.tsx" @@ -988,75 +988,75 @@ }, { "plugin": "apm", - "path": "x-pack/plugins/apm/public/services/telemetry/telemetry_service.test.ts" + "path": "x-pack/plugins/observability_solution/apm/public/services/telemetry/telemetry_service.test.ts" }, { "plugin": "apm", - "path": "x-pack/plugins/apm/public/services/telemetry/telemetry_service.test.ts" + "path": "x-pack/plugins/observability_solution/apm/public/services/telemetry/telemetry_service.test.ts" }, { "plugin": "infra", - "path": "x-pack/plugins/infra/public/services/telemetry/telemetry_service.test.ts" + "path": "x-pack/plugins/observability_solution/infra/public/services/telemetry/telemetry_service.test.ts" }, { "plugin": "infra", - "path": "x-pack/plugins/infra/public/services/telemetry/telemetry_service.test.ts" + "path": "x-pack/plugins/observability_solution/infra/public/services/telemetry/telemetry_service.test.ts" }, { "plugin": "infra", - "path": "x-pack/plugins/infra/public/services/telemetry/telemetry_service.test.ts" + "path": "x-pack/plugins/observability_solution/infra/public/services/telemetry/telemetry_service.test.ts" }, { "plugin": "infra", - "path": "x-pack/plugins/infra/public/services/telemetry/telemetry_service.test.ts" + "path": "x-pack/plugins/observability_solution/infra/public/services/telemetry/telemetry_service.test.ts" }, { "plugin": "infra", - "path": "x-pack/plugins/infra/public/services/telemetry/telemetry_service.test.ts" + "path": "x-pack/plugins/observability_solution/infra/public/services/telemetry/telemetry_service.test.ts" }, { "plugin": "infra", - "path": "x-pack/plugins/infra/public/services/telemetry/telemetry_service.test.ts" + "path": "x-pack/plugins/observability_solution/infra/public/services/telemetry/telemetry_service.test.ts" }, { "plugin": "infra", - "path": "x-pack/plugins/infra/public/services/telemetry/telemetry_service.test.ts" + "path": "x-pack/plugins/observability_solution/infra/public/services/telemetry/telemetry_service.test.ts" }, { "plugin": "infra", - "path": "x-pack/plugins/infra/public/services/telemetry/telemetry_service.test.ts" + "path": "x-pack/plugins/observability_solution/infra/public/services/telemetry/telemetry_service.test.ts" }, { "plugin": "infra", - "path": "x-pack/plugins/infra/public/services/telemetry/telemetry_service.test.ts" + "path": "x-pack/plugins/observability_solution/infra/public/services/telemetry/telemetry_service.test.ts" }, { "plugin": "infra", - "path": "x-pack/plugins/infra/public/services/telemetry/telemetry_service.test.ts" + "path": "x-pack/plugins/observability_solution/infra/public/services/telemetry/telemetry_service.test.ts" }, { "plugin": "infra", - "path": "x-pack/plugins/infra/public/services/telemetry/telemetry_service.test.ts" + "path": "x-pack/plugins/observability_solution/infra/public/services/telemetry/telemetry_service.test.ts" }, { "plugin": "infra", - "path": "x-pack/plugins/infra/public/services/telemetry/telemetry_service.test.ts" + "path": "x-pack/plugins/observability_solution/infra/public/services/telemetry/telemetry_service.test.ts" }, { "plugin": "infra", - "path": "x-pack/plugins/infra/public/services/telemetry/telemetry_service.test.ts" + "path": "x-pack/plugins/observability_solution/infra/public/services/telemetry/telemetry_service.test.ts" }, { "plugin": "infra", - "path": "x-pack/plugins/infra/public/services/telemetry/telemetry_service.test.ts" + "path": "x-pack/plugins/observability_solution/infra/public/services/telemetry/telemetry_service.test.ts" }, { "plugin": "infra", - "path": "x-pack/plugins/infra/public/services/telemetry/telemetry_service.test.ts" + "path": "x-pack/plugins/observability_solution/infra/public/services/telemetry/telemetry_service.test.ts" }, { "plugin": "infra", - "path": "x-pack/plugins/infra/public/services/telemetry/telemetry_service.test.ts" + "path": "x-pack/plugins/observability_solution/infra/public/services/telemetry/telemetry_service.test.ts" }, { "plugin": "securitySolution", @@ -1506,11 +1506,11 @@ }, { "plugin": "telemetry", - "path": "src/plugins/telemetry/server/plugin.ts" + "path": "src/plugins/telemetry/public/plugin.ts" }, { "plugin": "telemetry", - "path": "src/plugins/telemetry/public/plugin.ts" + "path": "src/plugins/telemetry/server/plugin.ts" }, { "plugin": "securitySolution", diff --git a/api_docs/kbn_analytics_client.mdx b/api_docs/kbn_analytics_client.mdx index 2f926f21fea19..b5ffdc996ba76 100644 --- a/api_docs/kbn_analytics_client.mdx +++ b/api_docs/kbn_analytics_client.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-analytics-client title: "@kbn/analytics-client" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/analytics-client plugin -date: 2024-02-23 +date: 2024-03-04 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/analytics-client'] --- import kbnAnalyticsClientObj from './kbn_analytics_client.devdocs.json'; diff --git a/api_docs/kbn_analytics_collection_utils.mdx b/api_docs/kbn_analytics_collection_utils.mdx index 6441dcba67403..2fa95a4a8fb0b 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-02-23 +date: 2024-03-04 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/analytics-collection-utils'] --- import kbnAnalyticsCollectionUtilsObj from './kbn_analytics_collection_utils.devdocs.json'; diff --git a/api_docs/kbn_analytics_shippers_elastic_v3_browser.mdx b/api_docs/kbn_analytics_shippers_elastic_v3_browser.mdx index b53e9e622dc81..ae6c16aa04833 100644 --- a/api_docs/kbn_analytics_shippers_elastic_v3_browser.mdx +++ b/api_docs/kbn_analytics_shippers_elastic_v3_browser.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-analytics-shippers-elastic-v3-browser title: "@kbn/analytics-shippers-elastic-v3-browser" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/analytics-shippers-elastic-v3-browser plugin -date: 2024-02-23 +date: 2024-03-04 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/analytics-shippers-elastic-v3-browser'] --- import kbnAnalyticsShippersElasticV3BrowserObj from './kbn_analytics_shippers_elastic_v3_browser.devdocs.json'; diff --git a/api_docs/kbn_analytics_shippers_elastic_v3_common.mdx b/api_docs/kbn_analytics_shippers_elastic_v3_common.mdx index a77102f2d6e9a..4888379295d6d 100644 --- a/api_docs/kbn_analytics_shippers_elastic_v3_common.mdx +++ b/api_docs/kbn_analytics_shippers_elastic_v3_common.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-analytics-shippers-elastic-v3-common title: "@kbn/analytics-shippers-elastic-v3-common" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/analytics-shippers-elastic-v3-common plugin -date: 2024-02-23 +date: 2024-03-04 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/analytics-shippers-elastic-v3-common'] --- import kbnAnalyticsShippersElasticV3CommonObj from './kbn_analytics_shippers_elastic_v3_common.devdocs.json'; diff --git a/api_docs/kbn_analytics_shippers_elastic_v3_server.mdx b/api_docs/kbn_analytics_shippers_elastic_v3_server.mdx index d2a5521cefed6..df2c9688e7650 100644 --- a/api_docs/kbn_analytics_shippers_elastic_v3_server.mdx +++ b/api_docs/kbn_analytics_shippers_elastic_v3_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-analytics-shippers-elastic-v3-server title: "@kbn/analytics-shippers-elastic-v3-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/analytics-shippers-elastic-v3-server plugin -date: 2024-02-23 +date: 2024-03-04 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/analytics-shippers-elastic-v3-server'] --- import kbnAnalyticsShippersElasticV3ServerObj from './kbn_analytics_shippers_elastic_v3_server.devdocs.json'; diff --git a/api_docs/kbn_analytics_shippers_fullstory.mdx b/api_docs/kbn_analytics_shippers_fullstory.mdx index cec7c9ecf338b..b0ad3cc75a2ea 100644 --- a/api_docs/kbn_analytics_shippers_fullstory.mdx +++ b/api_docs/kbn_analytics_shippers_fullstory.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-analytics-shippers-fullstory title: "@kbn/analytics-shippers-fullstory" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/analytics-shippers-fullstory plugin -date: 2024-02-23 +date: 2024-03-04 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/analytics-shippers-fullstory'] --- import kbnAnalyticsShippersFullstoryObj from './kbn_analytics_shippers_fullstory.devdocs.json'; diff --git a/api_docs/kbn_apm_config_loader.mdx b/api_docs/kbn_apm_config_loader.mdx index 366abd9e905b0..54c758a701ab7 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-02-23 +date: 2024-03-04 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_synthtrace.mdx b/api_docs/kbn_apm_synthtrace.mdx index b5c44946014e8..499fea3942314 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-02-23 +date: 2024-03-04 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.mdx b/api_docs/kbn_apm_synthtrace_client.mdx index e50d0471c4e65..9241390c39350 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-02-23 +date: 2024-03-04 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_utils.mdx b/api_docs/kbn_apm_utils.mdx index 2a9b28e5d008a..4337bf230f2f3 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-02-23 +date: 2024-03-04 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/apm-utils'] --- import kbnApmUtilsObj from './kbn_apm_utils.devdocs.json'; diff --git a/api_docs/kbn_axe_config.mdx b/api_docs/kbn_axe_config.mdx index 16a9c469c074f..bf7e307ee74e3 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-02-23 +date: 2024-03-04 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/axe-config'] --- import kbnAxeConfigObj from './kbn_axe_config.devdocs.json'; diff --git a/api_docs/kbn_bfetch_error.mdx b/api_docs/kbn_bfetch_error.mdx index df48f5393d798..65b1817c02c99 100644 --- a/api_docs/kbn_bfetch_error.mdx +++ b/api_docs/kbn_bfetch_error.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-bfetch-error title: "@kbn/bfetch-error" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/bfetch-error plugin -date: 2024-02-23 +date: 2024-03-04 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/bfetch-error'] --- import kbnBfetchErrorObj from './kbn_bfetch_error.devdocs.json'; diff --git a/api_docs/kbn_calculate_auto.mdx b/api_docs/kbn_calculate_auto.mdx index 23b9811185451..fa0086d9f61f9 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-02-23 +date: 2024-03-04 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 55cbe7b63496f..adb4b4fd597f3 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-02-23 +date: 2024-03-04 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/calculate-width-from-char-count'] --- import kbnCalculateWidthFromCharCountObj from './kbn_calculate_width_from_char_count.devdocs.json'; diff --git a/api_docs/kbn_cases_components.mdx b/api_docs/kbn_cases_components.mdx index 76f592a543ccb..191359e8efe35 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-02-23 +date: 2024-03-04 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/cases-components'] --- import kbnCasesComponentsObj from './kbn_cases_components.devdocs.json'; diff --git a/api_docs/kbn_cell_actions.mdx b/api_docs/kbn_cell_actions.mdx index bbc721ba1b204..b942688eff2c7 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-02-23 +date: 2024-03-04 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 0a8f9dd91c9e3..a42f7fbdf333b 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-02-23 +date: 2024-03-04 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 3e44b46d2889c..9ab4610ec0c90 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-02-23 +date: 2024-03-04 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/chart-icons'] --- import kbnChartIconsObj from './kbn_chart_icons.devdocs.json'; diff --git a/api_docs/kbn_ci_stats_core.mdx b/api_docs/kbn_ci_stats_core.mdx index ca36728bff3dd..1f681ebd1b2d0 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-02-23 +date: 2024-03-04 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 d8457fbb92c04..40136f298f026 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-02-23 +date: 2024-03-04 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 20f1ea5fe9f34..5647a630896cc 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-02-23 +date: 2024-03-04 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 c5f1be2af559b..6d5cf363e6791 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-02-23 +date: 2024-03-04 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/cli-dev-mode'] --- import kbnCliDevModeObj from './kbn_cli_dev_mode.devdocs.json'; diff --git a/api_docs/kbn_code_editor.mdx b/api_docs/kbn_code_editor.mdx index e47460cc9f73d..ff361a67a2ca9 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-02-23 +date: 2024-03-04 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 de7fe9a238040..c1a64d52175cb 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-02-23 +date: 2024-03-04 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/code-editor-mock'] --- import kbnCodeEditorMockObj from './kbn_code_editor_mock.devdocs.json'; diff --git a/api_docs/kbn_code_owners.mdx b/api_docs/kbn_code_owners.mdx index f68bc56db7eea..1f185336facb8 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-02-23 +date: 2024-03-04 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/code-owners'] --- import kbnCodeOwnersObj from './kbn_code_owners.devdocs.json'; diff --git a/api_docs/kbn_coloring.mdx b/api_docs/kbn_coloring.mdx index ea86450278322..8f0985cfc1c4a 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-02-23 +date: 2024-03-04 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 cba25b6182f9a..f7c0685e8af05 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-02-23 +date: 2024-03-04 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 21311ba330913..2e6f0b228022d 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-02-23 +date: 2024-03-04 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 ba612f3cd677c..8245141c3688a 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-02-23 +date: 2024-03-04 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 5bbd9f26b7e6a..a6fe0d38aefcf 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-02-23 +date: 2024-03-04 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_tabbed_table_list_view.mdx b/api_docs/kbn_content_management_tabbed_table_list_view.mdx index 90e9939b82b35..5c2ceb74b040a 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-02-23 +date: 2024-03-04 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 2393628981e32..829ef95d9ab34 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-02-23 +date: 2024-03-04 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 f62821d814ed6..2b47f8befcda5 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-02-23 +date: 2024-03-04 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 569cbff714701..4add0aaaa4c02 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-02-23 +date: 2024-03-04 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_utils.mdx b/api_docs/kbn_content_management_utils.mdx index 3105ff5c9093e..e8007d30d549c 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-02-23 +date: 2024-03-04 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.mdx b/api_docs/kbn_core_analytics_browser.mdx index b84472cbc99aa..def404db5f26e 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-02-23 +date: 2024-03-04 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.mdx b/api_docs/kbn_core_analytics_browser_internal.mdx index 0b493f5808e86..da073b04f8c5c 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-02-23 +date: 2024-03-04 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-analytics-browser-internal'] --- import kbnCoreAnalyticsBrowserInternalObj from './kbn_core_analytics_browser_internal.devdocs.json'; diff --git a/api_docs/kbn_core_analytics_browser_mocks.mdx b/api_docs/kbn_core_analytics_browser_mocks.mdx index c84f5f65bc986..2e9184451c337 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-02-23 +date: 2024-03-04 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.mdx b/api_docs/kbn_core_analytics_server.mdx index 1d2f84e52d134..8bedb198314a4 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-02-23 +date: 2024-03-04 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.mdx b/api_docs/kbn_core_analytics_server_internal.mdx index 432b795feb0d9..31d9e84855556 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-02-23 +date: 2024-03-04 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.mdx b/api_docs/kbn_core_analytics_server_mocks.mdx index dc1ea1382f268..172b5d22fff83 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-02-23 +date: 2024-03-04 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.mdx b/api_docs/kbn_core_application_browser.mdx index e24919f222f24..61e2e39366c61 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-02-23 +date: 2024-03-04 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.mdx b/api_docs/kbn_core_application_browser_internal.mdx index 6eb2d7c91de34..403b4235ce1b8 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-02-23 +date: 2024-03-04 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-application-browser-internal'] --- import kbnCoreApplicationBrowserInternalObj from './kbn_core_application_browser_internal.devdocs.json'; diff --git a/api_docs/kbn_core_application_browser_mocks.mdx b/api_docs/kbn_core_application_browser_mocks.mdx index af0ec80e5444f..b589828dee599 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-02-23 +date: 2024-03-04 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.mdx b/api_docs/kbn_core_application_common.mdx index 66e5279b24e23..2c354d3db7148 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-02-23 +date: 2024-03-04 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.mdx b/api_docs/kbn_core_apps_browser_internal.mdx index 9db109d64b8e9..6d3ea74e03df1 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-02-23 +date: 2024-03-04 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 d09cb820ef60c..40f4ee87abd20 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-02-23 +date: 2024-03-04 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.mdx b/api_docs/kbn_core_apps_server_internal.mdx index f0ed3326ea254..e791a49021895 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-02-23 +date: 2024-03-04 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-apps-server-internal'] --- import kbnCoreAppsServerInternalObj from './kbn_core_apps_server_internal.devdocs.json'; diff --git a/api_docs/kbn_core_base_browser_mocks.mdx b/api_docs/kbn_core_base_browser_mocks.mdx index 458b9c6261c6e..f1c007df15678 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-02-23 +date: 2024-03-04 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.mdx b/api_docs/kbn_core_base_common.mdx index 441be8bbcb2fb..fd9544d366712 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-02-23 +date: 2024-03-04 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 70608c42d87cc..e06da025a3241 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-02-23 +date: 2024-03-04 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 fbc56cdf59a95..7c981edd7d0e2 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-02-23 +date: 2024-03-04 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 bb3ea0360c1d0..eb52590132ad8 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-02-23 +date: 2024-03-04 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 1af0ac0dd308f..b558bc4d23f14 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-02-23 +date: 2024-03-04 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 8bdec2e5e8256..29bb2a2d5cab1 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-02-23 +date: 2024-03-04 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 f247722383392..a426168828f33 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-02-23 +date: 2024-03-04 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.mdx b/api_docs/kbn_core_chrome_browser.mdx index ee03a28d4d3ab..d0e98aa04f21f 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-02-23 +date: 2024-03-04 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 1d5cc807c8943..291d2cab7999c 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-02-23 +date: 2024-03-04 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 08e2393c259cc..44e14d98594d7 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-02-23 +date: 2024-03-04 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 1169638e8c8ba..1f6ccbf5d44ad 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-02-23 +date: 2024-03-04 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 8b6110760a7fe..1f26dd51d893f 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-02-23 +date: 2024-03-04 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 50e05065c9468..bfc4dc80bf080 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-02-23 +date: 2024-03-04 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 3b5700df296ae..95d0741b96972 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-02-23 +date: 2024-03-04 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 95a6c50dcc449..7b90c523ebdac 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-02-23 +date: 2024-03-04 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 3f6ee656bace0..b7506c3c02978 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-02-23 +date: 2024-03-04 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 1525151d4c419..891e6239d177b 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-02-23 +date: 2024-03-04 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 0d8249b2f6357..aac24e985e7e2 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-02-23 +date: 2024-03-04 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 f433a68ec6477..a237da9e3f2f3 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-02-23 +date: 2024-03-04 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 5ccd93eae9a76..0b920e2a0b34c 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-02-23 +date: 2024-03-04 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 9de0cfedcc447..58da005d271b7 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-02-23 +date: 2024-03-04 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 720b3a091c99e..3cf3ff43d5a8c 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-02-23 +date: 2024-03-04 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 c4f2eb7602c3b..4e2c353da5e07 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-02-23 +date: 2024-03-04 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 60cc995f1e6df..b4ece4b43d41b 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-02-23 +date: 2024-03-04 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 dd816aff93cff..6f8bf21aecb30 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-02-23 +date: 2024-03-04 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 8f01becae6a3e..d167e1d56a20d 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-02-23 +date: 2024-03-04 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 6617a4ec15f63..7130f76eed3df 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-02-23 +date: 2024-03-04 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 33ecd3356ee53..78addaa907794 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-02-23 +date: 2024-03-04 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 683001161c696..fea2548e07c76 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-02-23 +date: 2024-03-04 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 d596212280f86..67f3647439aa2 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-02-23 +date: 2024-03-04 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.mdx b/api_docs/kbn_core_elasticsearch_server.mdx index a838bdfb17fd0..0a79103c77782 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-02-23 +date: 2024-03-04 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 b67fe4680353a..dd284aa45a999 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-02-23 +date: 2024-03-04 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 8044fe1840c4f..8e0fba0ca9341 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-02-23 +date: 2024-03-04 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 dda32aa2f9bcc..5225992bef838 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-02-23 +date: 2024-03-04 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 7629a7dcc707d..9707e4ee3976f 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-02-23 +date: 2024-03-04 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 840976977b73b..50503cf24eb31 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-02-23 +date: 2024-03-04 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 1ad118fccdaa4..59bc240b8a0e9 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-02-23 +date: 2024-03-04 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 97545ec0c9a01..bdb0672a00dfb 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-02-23 +date: 2024-03-04 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 a88069327d246..8b5b3779fdf35 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-02-23 +date: 2024-03-04 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 cd7e99d8cae66..ddc91d23b9a93 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-02-23 +date: 2024-03-04 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 94cdb091d7395..8222797e2702a 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-02-23 +date: 2024-03-04 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 f8191548fa7c6..6cc42451bf70d 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-02-23 +date: 2024-03-04 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 892523f0465e3..951c4ec28adf3 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-02-23 +date: 2024-03-04 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 f6b43d677a3b3..633f1923d8df5 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-02-23 +date: 2024-03-04 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_http_browser.mdx b/api_docs/kbn_core_http_browser.mdx index c01d2a6d491bb..31d8e13b7a066 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-02-23 +date: 2024-03-04 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 7533eba6f0dca..92f1e623143f9 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-02-23 +date: 2024-03-04 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 f487da14b9805..e9aab3dd76cb9 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-02-23 +date: 2024-03-04 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 23a9729a3b9fd..3aa39fc8bb6c6 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-02-23 +date: 2024-03-04 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 b08e9d12e96da..2dbfd593b896e 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-02-23 +date: 2024-03-04 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 e89dbbf2881a8..af2062bde6aea 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-02-23 +date: 2024-03-04 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 2cbe2b8ba86d5..c3843fc3cdab7 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-02-23 +date: 2024-03-04 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 6ebb90f12f0d2..eff8265739f74 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-02-23 +date: 2024-03-04 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 e678e20f4acb2..abb16dba81b77 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-02-23 +date: 2024-03-04 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 cd9f2c9136fd2..4b584f544bf30 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-02-23 +date: 2024-03-04 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 76bdd0b8ca952..667016eb7020a 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-02-23 +date: 2024-03-04 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 176ec64529598..2365e4275e35c 100644 --- a/api_docs/kbn_core_http_server.devdocs.json +++ b/api_docs/kbn_core_http_server.devdocs.json @@ -3660,6 +3660,10 @@ "plugin": "ruleRegistry", "path": "x-pack/plugins/rule_registry/server/routes/get_aad_fields_by_rule_type.ts" }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/server/routes/fields.ts" + }, { "plugin": "guidedOnboarding", "path": "src/plugins/guided_onboarding/server/routes/guide_state_routes.ts" @@ -3674,7 +3678,7 @@ }, { "plugin": "observability", - "path": "x-pack/plugins/observability/server/lib/annotations/register_annotation_apis.ts" + "path": "x-pack/plugins/observability_solution/observability/server/lib/annotations/register_annotation_apis.ts" }, { "plugin": "triggersActionsUi", @@ -3684,30 +3688,6 @@ "plugin": "triggersActionsUi", "path": "x-pack/plugins/triggers_actions_ui/server/routes/config.ts" }, - { - "plugin": "savedObjectsTagging", - "path": "x-pack/plugins/saved_objects_tagging/server/routes/tags/get_all_tags.ts" - }, - { - "plugin": "savedObjectsTagging", - "path": "x-pack/plugins/saved_objects_tagging/server/routes/tags/get_tag.ts" - }, - { - "plugin": "savedObjectsTagging", - "path": "x-pack/plugins/saved_objects_tagging/server/routes/assignments/find_assignable_objects.ts" - }, - { - "plugin": "savedObjectsTagging", - "path": "x-pack/plugins/saved_objects_tagging/server/routes/assignments/get_assignable_types.ts" - }, - { - "plugin": "savedObjectsTagging", - "path": "x-pack/plugins/saved_objects_tagging/server/routes/internal/find_tags.ts" - }, - { - "plugin": "visTypeTimeseries", - "path": "src/plugins/vis_types/timeseries/server/routes/fields.ts" - }, { "plugin": "metricsDataAccess", "path": "x-pack/plugins/metrics_data_access/server/lib/adapters/framework/kibana_framework_adapter.ts" @@ -3748,6 +3728,26 @@ "plugin": "banners", "path": "x-pack/plugins/banners/server/routes/info.ts" }, + { + "plugin": "savedObjectsTagging", + "path": "x-pack/plugins/saved_objects_tagging/server/routes/tags/get_all_tags.ts" + }, + { + "plugin": "savedObjectsTagging", + "path": "x-pack/plugins/saved_objects_tagging/server/routes/tags/get_tag.ts" + }, + { + "plugin": "savedObjectsTagging", + "path": "x-pack/plugins/saved_objects_tagging/server/routes/assignments/find_assignable_objects.ts" + }, + { + "plugin": "savedObjectsTagging", + "path": "x-pack/plugins/saved_objects_tagging/server/routes/assignments/get_assignable_types.ts" + }, + { + "plugin": "savedObjectsTagging", + "path": "x-pack/plugins/saved_objects_tagging/server/routes/internal/find_tags.ts" + }, { "plugin": "cloudSecurityPosture", "path": "x-pack/plugins/cloud_security_posture/server/routes/vulnerabilities_dashboard/vulnerabilities_dashboard.ts" @@ -4284,10 +4284,6 @@ "plugin": "indexLifecycleManagement", "path": "x-pack/plugins/index_lifecycle_management/server/routes/api/snapshot_repositories/register_fetch_route.ts" }, - { - "plugin": "infra", - "path": "x-pack/plugins/infra/server/lib/adapters/framework/kibana_framework_adapter.ts" - }, { "plugin": "ingestPipelines", "path": "x-pack/plugins/ingest_pipelines/server/routes/api/get.ts" @@ -4320,6 +4316,10 @@ "plugin": "logstash", "path": "x-pack/plugins/logstash/server/routes/pipelines/list.ts" }, + { + "plugin": "infra", + "path": "x-pack/plugins/observability_solution/infra/server/lib/adapters/framework/kibana_framework_adapter.ts" + }, { "plugin": "monitoring", "path": "x-pack/plugins/monitoring/server/plugin.ts" @@ -4618,7 +4618,7 @@ }, { "plugin": "apm", - "path": "x-pack/plugins/apm/server/lib/helpers/create_es_client/create_apm_event_client/index.test.ts" + "path": "x-pack/plugins/observability_solution/apm/server/lib/helpers/create_es_client/create_apm_event_client/index.test.ts" }, { "plugin": "console", @@ -6226,9 +6226,17 @@ "plugin": "ruleRegistry", "path": "x-pack/plugins/rule_registry/server/routes/get_alert_summary.ts" }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/server/routes/vis.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/server/routes/job_service.ts" + }, { "plugin": "observability", - "path": "x-pack/plugins/observability/server/lib/annotations/register_annotation_apis.ts" + "path": "x-pack/plugins/observability_solution/observability/server/lib/annotations/register_annotation_apis.ts" }, { "plugin": "triggersActionsUi", @@ -6243,8 +6251,12 @@ "path": "x-pack/plugins/triggers_actions_ui/server/data/routes/indices.ts" }, { - "plugin": "ml", - "path": "x-pack/plugins/ml/server/routes/job_service.ts" + "plugin": "metricsDataAccess", + "path": "x-pack/plugins/metrics_data_access/server/lib/adapters/framework/kibana_framework_adapter.ts" + }, + { + "plugin": "assetManager", + "path": "x-pack/plugins/asset_manager/server/routes/sample_assets.ts" }, { "plugin": "savedObjectsTagging", @@ -6262,18 +6274,6 @@ "plugin": "savedObjectsTagging", "path": "x-pack/plugins/saved_objects_tagging/server/routes/internal/bulk_delete.ts" }, - { - "plugin": "visTypeTimeseries", - "path": "src/plugins/vis_types/timeseries/server/routes/vis.ts" - }, - { - "plugin": "metricsDataAccess", - "path": "x-pack/plugins/metrics_data_access/server/lib/adapters/framework/kibana_framework_adapter.ts" - }, - { - "plugin": "assetManager", - "path": "x-pack/plugins/asset_manager/server/routes/sample_assets.ts" - }, { "plugin": "indexManagement", "path": "x-pack/plugins/index_management/server/routes/api/data_streams/register_delete_route.ts" @@ -6738,10 +6738,6 @@ "plugin": "indexLifecycleManagement", "path": "x-pack/plugins/index_lifecycle_management/server/routes/api/templates/register_add_policy_route.ts" }, - { - "plugin": "infra", - "path": "x-pack/plugins/infra/server/lib/adapters/framework/kibana_framework_adapter.ts" - }, { "plugin": "ingestPipelines", "path": "x-pack/plugins/ingest_pipelines/server/routes/api/create.ts" @@ -6770,6 +6766,10 @@ "plugin": "logstash", "path": "x-pack/plugins/logstash/server/routes/pipelines/delete.ts" }, + { + "plugin": "infra", + "path": "x-pack/plugins/observability_solution/infra/server/lib/adapters/framework/kibana_framework_adapter.ts" + }, { "plugin": "monitoring", "path": "x-pack/plugins/monitoring/server/routes/api/v1/alerts/enable.ts" @@ -6874,6 +6874,10 @@ "plugin": "serverlessSearch", "path": "x-pack/plugins/serverless_search/server/routes/connectors_routes.ts" }, + { + "plugin": "serverlessSearch", + "path": "x-pack/plugins/serverless_search/server/routes/connectors_routes.ts" + }, { "plugin": "snapshotRestore", "path": "x-pack/plugins/snapshot_restore/server/routes/api/repositories.ts" @@ -8280,10 +8284,6 @@ "plugin": "enterpriseSearch", "path": "x-pack/plugins/enterprise_search/server/routes/workplace_search/sources.ts" }, - { - "plugin": "infra", - "path": "x-pack/plugins/infra/server/lib/adapters/framework/kibana_framework_adapter.ts" - }, { "plugin": "ingestPipelines", "path": "x-pack/plugins/ingest_pipelines/server/routes/api/update.ts" @@ -8296,6 +8296,10 @@ "plugin": "logstash", "path": "x-pack/plugins/logstash/server/routes/pipeline/save.ts" }, + { + "plugin": "infra", + "path": "x-pack/plugins/observability_solution/infra/server/lib/adapters/framework/kibana_framework_adapter.ts" + }, { "plugin": "monitoring", "path": "x-pack/plugins/monitoring/server/plugin.ts" @@ -8736,7 +8740,7 @@ }, { "plugin": "infra", - "path": "x-pack/plugins/infra/server/lib/adapters/framework/kibana_framework_adapter.ts" + "path": "x-pack/plugins/observability_solution/infra/server/lib/adapters/framework/kibana_framework_adapter.ts" }, { "plugin": "@kbn/core-http-router-server-internal", @@ -9058,11 +9062,7 @@ }, { "plugin": "observability", - "path": "x-pack/plugins/observability/server/lib/annotations/register_annotation_apis.ts" - }, - { - "plugin": "savedObjectsTagging", - "path": "x-pack/plugins/saved_objects_tagging/server/routes/tags/delete_tag.ts" + "path": "x-pack/plugins/observability_solution/observability/server/lib/annotations/register_annotation_apis.ts" }, { "plugin": "metricsDataAccess", @@ -9072,6 +9072,10 @@ "plugin": "assetManager", "path": "x-pack/plugins/asset_manager/server/routes/sample_assets.ts" }, + { + "plugin": "savedObjectsTagging", + "path": "x-pack/plugins/saved_objects_tagging/server/routes/tags/delete_tag.ts" + }, { "plugin": "indexManagement", "path": "x-pack/plugins/index_management/server/routes/api/component_templates/register_delete_route.ts" @@ -9224,10 +9228,6 @@ "plugin": "indexLifecycleManagement", "path": "x-pack/plugins/index_lifecycle_management/server/routes/api/policies/register_delete_route.ts" }, - { - "plugin": "infra", - "path": "x-pack/plugins/infra/server/lib/adapters/framework/kibana_framework_adapter.ts" - }, { "plugin": "ingestPipelines", "path": "x-pack/plugins/ingest_pipelines/server/routes/api/delete.ts" @@ -9236,6 +9236,10 @@ "plugin": "logstash", "path": "x-pack/plugins/logstash/server/routes/pipeline/delete.ts" }, + { + "plugin": "infra", + "path": "x-pack/plugins/observability_solution/infra/server/lib/adapters/framework/kibana_framework_adapter.ts" + }, { "plugin": "reporting", "path": "x-pack/plugins/reporting/server/routes/internal/management/jobs.ts" @@ -13458,22 +13462,6 @@ "plugin": "ml", "path": "x-pack/plugins/ml/server/routes/management.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": "fleet", - "path": "x-pack/plugins/fleet/server/services/security/fleet_router.ts" - }, { "plugin": "metricsDataAccess", "path": "x-pack/plugins/metrics_data_access/server/lib/adapters/framework/kibana_framework_adapter.ts" @@ -13510,6 +13498,22 @@ "plugin": "canvas", "path": "x-pack/plugins/canvas/server/routes/functions/functions.ts" }, + { + "plugin": "telemetry", + "path": "src/plugins/telemetry/server/routes/telemetry_config.ts" + }, + { + "plugin": "telemetry", + "path": "src/plugins/telemetry/server/routes/telemetry_config.ts" + }, + { + "plugin": "telemetry", + "path": "src/plugins/telemetry/server/routes/telemetry_last_reported.ts" + }, + { + "plugin": "fleet", + "path": "x-pack/plugins/fleet/server/services/security/fleet_router.ts" + }, { "plugin": "cloudDefend", "path": "x-pack/plugins/cloud_defend/server/routes/policies/policies.ts" @@ -13574,10 +13578,6 @@ "plugin": "fileUpload", "path": "x-pack/plugins/file_upload/server/routes.ts" }, - { - "plugin": "infra", - "path": "x-pack/plugins/infra/server/lib/adapters/framework/kibana_framework_adapter.ts" - }, { "plugin": "kubernetesSecurity", "path": "x-pack/plugins/kubernetes_security/server/routes/aggregate.ts" @@ -13670,6 +13670,10 @@ "plugin": "maps", "path": "x-pack/plugins/maps/server/routes.ts" }, + { + "plugin": "infra", + "path": "x-pack/plugins/observability_solution/infra/server/lib/adapters/framework/kibana_framework_adapter.ts" + }, { "plugin": "osquery", "path": "x-pack/plugins/osquery/server/routes/live_query/get_live_query_details_route.ts" @@ -14245,18 +14249,6 @@ "plugin": "ml", "path": "x-pack/plugins/ml/server/routes/anomaly_detectors.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/metrics_data_access/server/lib/adapters/framework/kibana_framework_adapter.ts" @@ -14278,12 +14270,20 @@ "path": "x-pack/plugins/canvas/server/routes/workpad/update.ts" }, { - "plugin": "logsShared", - "path": "x-pack/plugins/logs_shared/server/lib/adapters/framework/kibana_framework_adapter.ts" + "plugin": "telemetry", + "path": "src/plugins/telemetry/server/routes/telemetry_user_has_seen_notice.ts" }, { - "plugin": "infra", - "path": "x-pack/plugins/infra/server/lib/adapters/framework/kibana_framework_adapter.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": "logsShared", + "path": "x-pack/plugins/logs_shared/server/lib/adapters/framework/kibana_framework_adapter.ts" }, { "plugin": "lists", @@ -14305,6 +14305,10 @@ "plugin": "lists", "path": "x-pack/plugins/lists/server/routes/list/update_list_route.ts" }, + { + "plugin": "infra", + "path": "x-pack/plugins/observability_solution/infra/server/lib/adapters/framework/kibana_framework_adapter.ts" + }, { "plugin": "securitySolution", "path": "x-pack/plugins/security_solution/server/lib/detection_engine/prebuilt_rules/api/install_prebuilt_rules_and_timelines/install_prebuilt_rules_and_timelines_route.ts" @@ -14844,22 +14848,6 @@ "plugin": "ml", "path": "x-pack/plugins/ml/server/routes/alerting.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": "metricsDataAccess", "path": "x-pack/plugins/metrics_data_access/server/lib/adapters/framework/kibana_framework_adapter.ts" @@ -14880,6 +14868,22 @@ "plugin": "canvas", "path": "x-pack/plugins/canvas/server/routes/workpad/import.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": "cloudSecurityPosture", "path": "x-pack/plugins/cloud_security_posture/server/routes/benchmark_rules/bulk_action/bulk_action.ts" @@ -14924,10 +14928,6 @@ "plugin": "fileUpload", "path": "x-pack/plugins/file_upload/server/routes.ts" }, - { - "plugin": "infra", - "path": "x-pack/plugins/infra/server/lib/adapters/framework/kibana_framework_adapter.ts" - }, { "plugin": "lists", "path": "x-pack/plugins/lists/server/routes/create_endpoint_list_item_route.ts" @@ -14992,6 +14992,10 @@ "plugin": "maps", "path": "x-pack/plugins/maps/server/data_indexing/indexing_routes.ts" }, + { + "plugin": "infra", + "path": "x-pack/plugins/observability_solution/infra/server/lib/adapters/framework/kibana_framework_adapter.ts" + }, { "plugin": "securitySolution", "path": "x-pack/plugins/security_solution/server/lib/timeline/routes/timelines/create_timelines/index.ts" @@ -15403,21 +15407,17 @@ "plugin": "@kbn/core-http-router-server-mocks", "path": "packages/core/http/core-http-router-server-mocks/src/versioned_router.mock.ts" }, - { - "plugin": "fleet", - "path": "x-pack/plugins/fleet/server/services/security/fleet_router.ts" - }, { "plugin": "metricsDataAccess", "path": "x-pack/plugins/metrics_data_access/server/lib/adapters/framework/kibana_framework_adapter.ts" }, { - "plugin": "logsShared", - "path": "x-pack/plugins/logs_shared/server/lib/adapters/framework/kibana_framework_adapter.ts" + "plugin": "fleet", + "path": "x-pack/plugins/fleet/server/services/security/fleet_router.ts" }, { - "plugin": "infra", - "path": "x-pack/plugins/infra/server/lib/adapters/framework/kibana_framework_adapter.ts" + "plugin": "logsShared", + "path": "x-pack/plugins/logs_shared/server/lib/adapters/framework/kibana_framework_adapter.ts" }, { "plugin": "lists", @@ -15427,6 +15427,10 @@ "plugin": "lists", "path": "x-pack/plugins/lists/server/routes/list/patch_list_route.ts" }, + { + "plugin": "infra", + "path": "x-pack/plugins/observability_solution/infra/server/lib/adapters/framework/kibana_framework_adapter.ts" + }, { "plugin": "securitySolution", "path": "x-pack/plugins/security_solution/server/lib/detection_engine/rule_management/api/rules/bulk_patch_rules/route.ts" @@ -15590,10 +15594,6 @@ "plugin": "ml", "path": "x-pack/plugins/ml/server/routes/anomaly_detectors.ts" }, - { - "plugin": "fleet", - "path": "x-pack/plugins/fleet/server/services/security/fleet_router.ts" - }, { "plugin": "metricsDataAccess", "path": "x-pack/plugins/metrics_data_access/server/lib/adapters/framework/kibana_framework_adapter.ts" @@ -15607,12 +15607,12 @@ "path": "x-pack/plugins/canvas/server/routes/workpad/delete.ts" }, { - "plugin": "logsShared", - "path": "x-pack/plugins/logs_shared/server/lib/adapters/framework/kibana_framework_adapter.ts" + "plugin": "fleet", + "path": "x-pack/plugins/fleet/server/services/security/fleet_router.ts" }, { - "plugin": "infra", - "path": "x-pack/plugins/infra/server/lib/adapters/framework/kibana_framework_adapter.ts" + "plugin": "logsShared", + "path": "x-pack/plugins/logs_shared/server/lib/adapters/framework/kibana_framework_adapter.ts" }, { "plugin": "lists", @@ -15642,6 +15642,10 @@ "plugin": "maps", "path": "x-pack/plugins/maps/server/data_indexing/indexing_routes.ts" }, + { + "plugin": "infra", + "path": "x-pack/plugins/observability_solution/infra/server/lib/adapters/framework/kibana_framework_adapter.ts" + }, { "plugin": "osquery", "path": "x-pack/plugins/osquery/server/routes/saved_query/delete_saved_query_route.ts" diff --git a/api_docs/kbn_core_http_server.mdx b/api_docs/kbn_core_http_server.mdx index 8fd50f0019bf0..0d20a54cecd23 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-02-23 +date: 2024-03-04 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 a677cc0ed97c3..e5dc25428149d 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-02-23 +date: 2024-03-04 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 2bc3d9ba878f5..75a82c76c271a 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-02-23 +date: 2024-03-04 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_i18n_browser.mdx b/api_docs/kbn_core_i18n_browser.mdx index 12183e1ca93ff..f09c1ede3ebd7 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-02-23 +date: 2024-03-04 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 29aea606a2274..721218998974c 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-02-23 +date: 2024-03-04 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 cdfa702b5add9..c6bb7355e05ec 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-02-23 +date: 2024-03-04 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 5c620f588e049..a5f8ae4c1ed1c 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-02-23 +date: 2024-03-04 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 1c11f87215426..d5ea8321727c8 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-02-23 +date: 2024-03-04 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 67963e1ebd3f6..1071530594516 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-02-23 +date: 2024-03-04 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 7bbebc913d054..fd9d1f56bec93 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-02-23 +date: 2024-03-04 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 7e16cb8f11fa3..ca5fd474f74c2 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-02-23 +date: 2024-03-04 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.mdx b/api_docs/kbn_core_lifecycle_browser.mdx index f0e638bd8aa87..b04bba41f7417 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-02-23 +date: 2024-03-04 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.mdx b/api_docs/kbn_core_lifecycle_browser_mocks.mdx index 4baf13f22fd2b..81e81c0e45b13 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-02-23 +date: 2024-03-04 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 7eb8bc91f029b..310272d9c8944 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-02-23 +date: 2024-03-04 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.mdx b/api_docs/kbn_core_lifecycle_server_mocks.mdx index e345b11a3c847..5e2cbf9c19ae3 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-02-23 +date: 2024-03-04 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 10d91b66a0438..2582196d7d803 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-02-23 +date: 2024-03-04 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 743553d00623e..35e78af1ac6ab 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-02-23 +date: 2024-03-04 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 7dbc902d12a4f..8c79b70b35dae 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-02-23 +date: 2024-03-04 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 c115d8522cd59..331c0876833e4 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-02-23 +date: 2024-03-04 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 2bb248b1b3c7d..541f88fadb1d5 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-02-23 +date: 2024-03-04 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 dd4b7166d89cd..7b4d51f160598 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-02-23 +date: 2024-03-04 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 4e166681af6b6..86cf92dd7d5dc 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-02-23 +date: 2024-03-04 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 ef1bb75c2b79a..45057e8db9472 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-02-23 +date: 2024-03-04 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 9b129f2c506f7..ceee1b4ea4817 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-02-23 +date: 2024-03-04 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 423b6799833e8..7270a4dfb29f1 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-02-23 +date: 2024-03-04 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 d8df19eff0798..fe9be8806750a 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-02-23 +date: 2024-03-04 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 7d9bf63570a97..77bc0c7d6d35b 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-02-23 +date: 2024-03-04 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 ec79d51a961c0..e1c37724111dd 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-02-23 +date: 2024-03-04 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 e73c6c7ffe684..e6041d5e24f3c 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-02-23 +date: 2024-03-04 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 e7f2967df8122..7c6dd7cf2b8aa 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-02-23 +date: 2024-03-04 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 9ce8b4ae033b2..c2edc46c44843 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-02-23 +date: 2024-03-04 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 95c1d0c76d307..f8c29a9eb85a4 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-02-23 +date: 2024-03-04 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 668712a00adee..eaaa601cbf99e 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-02-23 +date: 2024-03-04 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 bfdd47fa2b692..08da9e67f8774 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-02-23 +date: 2024-03-04 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 b8267e92c5b8e..0757fbaf3f066 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-02-23 +date: 2024-03-04 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 a52e770b73f19..abe9edd8a61cf 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-02-23 +date: 2024-03-04 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 62d24701f2cc6..10aa3fcc0a095 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-02-23 +date: 2024-03-04 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 8503bc0b2aadf..bd9273dfacce7 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-02-23 +date: 2024-03-04 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 46c15b227cc1e..f3b666501ff6d 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-02-23 +date: 2024-03-04 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.mdx b/api_docs/kbn_core_plugins_server.mdx index 89b83c93f2720..c7747f4536ac6 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-02-23 +date: 2024-03-04 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 953221399f446..fdbff5e92e9e4 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-02-23 +date: 2024-03-04 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 b50e107109719..d8eb2cece7e59 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-02-23 +date: 2024-03-04 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 c5709a395eaac..b1ffbfba27c63 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-02-23 +date: 2024-03-04 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_mocks.mdx b/api_docs/kbn_core_rendering_browser_mocks.mdx index eaaa6a8db7c6c..036d677363d8e 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-02-23 +date: 2024-03-04 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 3ff47eeee3e09..dcdcf4871f201 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-02-23 +date: 2024-03-04 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 974ba600208ac..26074f19bdfe5 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-02-23 +date: 2024-03-04 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 d7f03b43e8159..e5af080d99063 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-02-23 +date: 2024-03-04 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.mdx b/api_docs/kbn_core_saved_objects_api_browser.mdx index 597b841dfd441..5c0076581012b 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-02-23 +date: 2024-03-04 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.mdx b/api_docs/kbn_core_saved_objects_api_server.mdx index d9e0404e83015..09a9e421a98ee 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-02-23 +date: 2024-03-04 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 7027ddf7aa792..b5963ed875f31 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-02-23 +date: 2024-03-04 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 836f954797d41..197343945a225 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-02-23 +date: 2024-03-04 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 494013f00bc64..1c4c353f2b52b 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-02-23 +date: 2024-03-04 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.mdx b/api_docs/kbn_core_saved_objects_browser.mdx index 9837ec3eb99a5..7d8da18b041fc 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-02-23 +date: 2024-03-04 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 360c7c2d01173..615dae4e5b722 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-02-23 +date: 2024-03-04 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 3c18bd2810687..c929f9d8b0cef 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-02-23 +date: 2024-03-04 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 750acc4e09dc1..52541781a0642 100644 --- a/api_docs/kbn_core_saved_objects_common.devdocs.json +++ b/api_docs/kbn_core_saved_objects_common.devdocs.json @@ -2498,6 +2498,14 @@ "plugin": "lens", "path": "x-pack/plugins/lens/common/embeddable_factory/index.ts" }, + { + "plugin": "canvas", + "path": "x-pack/plugins/canvas/canvas_plugin_src/functions/external/saved_lens.ts" + }, + { + "plugin": "canvas", + "path": "x-pack/plugins/canvas/canvas_plugin_src/functions/external/saved_lens.ts" + }, { "plugin": "maps", "path": "x-pack/plugins/maps/common/migrations/references.ts" @@ -2526,14 +2534,6 @@ "plugin": "maps", "path": "x-pack/plugins/maps/public/map_attribute_service.ts" }, - { - "plugin": "canvas", - "path": "x-pack/plugins/canvas/canvas_plugin_src/functions/external/saved_lens.ts" - }, - { - "plugin": "canvas", - "path": "x-pack/plugins/canvas/canvas_plugin_src/functions/external/saved_lens.ts" - }, { "plugin": "canvas", "path": "x-pack/plugins/canvas/canvas_plugin_src/functions/external/saved_map.ts" diff --git a/api_docs/kbn_core_saved_objects_common.mdx b/api_docs/kbn_core_saved_objects_common.mdx index 028d5c8df13e5..c59bf8f4fa6d8 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-02-23 +date: 2024-03-04 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 a1080c25cae78..5c90867203cf3 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-02-23 +date: 2024-03-04 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 3b6fa1054897c..eb4b4d1af6e4c 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-02-23 +date: 2024-03-04 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 9309a9455d4c2..e7641655ec898 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-02-23 +date: 2024-03-04 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 4ece232b64425..7af52676a5569 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-02-23 +date: 2024-03-04 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 f6c4d72445514..34e7d62792970 100644 --- a/api_docs/kbn_core_saved_objects_server.devdocs.json +++ b/api_docs/kbn_core_saved_objects_server.devdocs.json @@ -10566,12 +10566,12 @@ "path": "x-pack/plugins/cases/server/saved_object_types/connector_mappings.ts" }, { - "plugin": "observability", - "path": "x-pack/plugins/observability/server/saved_objects/slo.ts" + "plugin": "apmDataAccess", + "path": "x-pack/plugins/observability_solution/apm_data_access/server/saved_objects/apm_indices.ts" }, { - "plugin": "apmDataAccess", - "path": "x-pack/plugins/apm_data_access/server/saved_objects/apm_indices.ts" + "plugin": "visualizations", + "path": "src/plugins/visualizations/server/saved_objects/visualization.ts" }, { "plugin": "ml", @@ -10586,48 +10586,44 @@ "path": "x-pack/plugins/ml/server/saved_objects/saved_objects.ts" }, { - "plugin": "fleet", - "path": "x-pack/plugins/fleet/server/saved_objects/index.ts" - }, - { - "plugin": "fleet", - "path": "x-pack/plugins/fleet/server/saved_objects/index.ts" + "plugin": "observability", + "path": "x-pack/plugins/observability_solution/observability/server/saved_objects/slo.ts" }, { - "plugin": "fleet", - "path": "x-pack/plugins/fleet/server/saved_objects/index.ts" + "plugin": "savedSearch", + "path": "src/plugins/saved_search/server/saved_objects/search.ts" }, { - "plugin": "fleet", - "path": "x-pack/plugins/fleet/server/saved_objects/index.ts" + "plugin": "canvas", + "path": "x-pack/plugins/canvas/server/saved_objects/workpad.ts" }, { - "plugin": "fleet", - "path": "x-pack/plugins/fleet/server/saved_objects/index.ts" + "plugin": "canvas", + "path": "x-pack/plugins/canvas/server/saved_objects/custom_element.ts" }, { - "plugin": "visualizations", - "path": "src/plugins/visualizations/server/saved_objects/visualization.ts" + "plugin": "canvas", + "path": "x-pack/plugins/canvas/server/saved_objects/workpad_template.ts" }, { - "plugin": "apm", - "path": "x-pack/plugins/apm/server/saved_objects/apm_service_groups.ts" + "plugin": "fleet", + "path": "x-pack/plugins/fleet/server/saved_objects/index.ts" }, { - "plugin": "savedSearch", - "path": "src/plugins/saved_search/server/saved_objects/search.ts" + "plugin": "fleet", + "path": "x-pack/plugins/fleet/server/saved_objects/index.ts" }, { - "plugin": "canvas", - "path": "x-pack/plugins/canvas/server/saved_objects/workpad.ts" + "plugin": "fleet", + "path": "x-pack/plugins/fleet/server/saved_objects/index.ts" }, { - "plugin": "canvas", - "path": "x-pack/plugins/canvas/server/saved_objects/custom_element.ts" + "plugin": "fleet", + "path": "x-pack/plugins/fleet/server/saved_objects/index.ts" }, { - "plugin": "canvas", - "path": "x-pack/plugins/canvas/server/saved_objects/workpad_template.ts" + "plugin": "fleet", + "path": "x-pack/plugins/fleet/server/saved_objects/index.ts" }, { "plugin": "cloudSecurityPosture", @@ -10641,10 +10637,6 @@ "plugin": "graph", "path": "x-pack/plugins/graph/server/saved_objects/graph_workspace.ts" }, - { - "plugin": "infra", - "path": "x-pack/plugins/infra/server/lib/sources/saved_object_type.ts" - }, { "plugin": "lists", "path": "x-pack/plugins/lists/server/saved_objects/exception_list.ts" @@ -10657,6 +10649,10 @@ "plugin": "maps", "path": "x-pack/plugins/maps/server/saved_objects/setup_saved_objects.ts" }, + { + "plugin": "infra", + "path": "x-pack/plugins/observability_solution/infra/server/lib/sources/saved_object_type.ts" + }, { "plugin": "securitySolution", "path": "x-pack/plugins/security_solution/server/lib/timeline/saved_object_mappings/timelines.ts" @@ -10677,6 +10673,10 @@ "plugin": "securitySolution", "path": "x-pack/plugins/security_solution/server/endpoint/lib/artifacts/saved_object_mappings.ts" }, + { + "plugin": "apm", + "path": "x-pack/plugins/observability_solution/apm/server/saved_objects/apm_service_groups.ts" + }, { "plugin": "synthetics", "path": "x-pack/plugins/observability_solution/synthetics/server/saved_objects/synthetics_monitor.ts" @@ -11380,10 +11380,6 @@ "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": "visualizations", "path": "src/plugins/visualizations/server/saved_objects/visualization.ts" @@ -11400,6 +11396,10 @@ "plugin": "canvas", "path": "x-pack/plugins/canvas/server/saved_objects/custom_element.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" diff --git a/api_docs/kbn_core_saved_objects_server.mdx b/api_docs/kbn_core_saved_objects_server.mdx index 7c953bfdd9697..d77031ce24970 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-02-23 +date: 2024-03-04 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 037acc6601cbd..c176005eeb65a 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-02-23 +date: 2024-03-04 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 c5232ec41e5f3..f2d66e64e18a6 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-02-23 +date: 2024-03-04 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 21b83030efaa2..cf211dc4db04b 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-02-23 +date: 2024-03-04 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_status_common.mdx b/api_docs/kbn_core_status_common.mdx index a0e42a8fb7501..d797f7792b0fc 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-02-23 +date: 2024-03-04 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_common_internal.mdx b/api_docs/kbn_core_status_common_internal.mdx index bc7b2a38e5674..6e7e11919f921 100644 --- a/api_docs/kbn_core_status_common_internal.mdx +++ b/api_docs/kbn_core_status_common_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-status-common-internal title: "@kbn/core-status-common-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-status-common-internal plugin -date: 2024-02-23 +date: 2024-03-04 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-status-common-internal'] --- import kbnCoreStatusCommonInternalObj from './kbn_core_status_common_internal.devdocs.json'; diff --git a/api_docs/kbn_core_status_server.mdx b/api_docs/kbn_core_status_server.mdx index 82b49f5872e53..46ead0633917c 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-02-23 +date: 2024-03-04 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 b835b7e9176fe..1d024896adea6 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-02-23 +date: 2024-03-04 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 938e16c1c8efe..86d9268c7ca72 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-02-23 +date: 2024-03-04 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 50c4153fbba36..51a5acc0ab6c8 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-02-23 +date: 2024-03-04 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 ecd7c3f4781f5..9390fa788663b 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-02-23 +date: 2024-03-04 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 446422293e6a3..cdaf0360bf815 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-02-23 +date: 2024-03-04 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 7e68469f33872..79d1ae4eeec6a 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-02-23 +date: 2024-03-04 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 5e797e8490666..d80ebd5f838b1 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-02-23 +date: 2024-03-04 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 8bd699f788f1a..a5f7bf35130c9 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-02-23 +date: 2024-03-04 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 052fed7e65846..d36375ddef57c 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-02-23 +date: 2024-03-04 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 b32c28c0b4d8a..a18af0cb3b353 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-02-23 +date: 2024-03-04 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 28be613337ee1..3b92c2f6d75c6 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-02-23 +date: 2024-03-04 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 9064099a96117..384633549c648 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-02-23 +date: 2024-03-04 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 8830d057aecd6..1bd1cf96aa755 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-02-23 +date: 2024-03-04 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 825e01b6fe77b..1ce99a2774066 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-02-23 +date: 2024-03-04 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 754cbc0b82d9d..f845860d9613f 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-02-23 +date: 2024-03-04 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 a05d7a77c4129..36830b701c0d9 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-02-23 +date: 2024-03-04 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 d02bcb3171e9b..3a755ca7623bf 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-02-23 +date: 2024-03-04 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 6c7cf7e9f9afb..e631b100e3457 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-02-23 +date: 2024-03-04 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 696b246417039..49f1c872669bb 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-02-23 +date: 2024-03-04 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 f01fba8dbfe49..5b67069e4e3e4 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-02-23 +date: 2024-03-04 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_settings_server.mdx b/api_docs/kbn_core_user_settings_server.mdx index 99122397af9d4..f7d1586fa4788 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-02-23 +date: 2024-03-04 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_internal.mdx b/api_docs/kbn_core_user_settings_server_internal.mdx index f7f2ff4968c16..2354cec2cf1d0 100644 --- a/api_docs/kbn_core_user_settings_server_internal.mdx +++ b/api_docs/kbn_core_user_settings_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-user-settings-server-internal title: "@kbn/core-user-settings-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-user-settings-server-internal plugin -date: 2024-02-23 +date: 2024-03-04 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-user-settings-server-internal'] --- import kbnCoreUserSettingsServerInternalObj from './kbn_core_user_settings_server_internal.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 fbab63c258c6c..6f25e9f814c2a 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-02-23 +date: 2024-03-04 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 bf795a6431f06..ada6bbb3b84de 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-02-23 +date: 2024-03-04 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 3cd131a77a518..4f82ea206b32e 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-02-23 +date: 2024-03-04 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 4d2a1db3f9de7..6f7600120d616 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-02-23 +date: 2024-03-04 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 d027c4b823b42..de94b17985d4a 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-02-23 +date: 2024-03-04 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 ebbdb221d851a..d945219e83587 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-02-23 +date: 2024-03-04 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 c1f9d3c5d5bc4..b9d729bf0d5f6 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-02-23 +date: 2024-03-04 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 15a1f482d7dc6..b6ba10977c700 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-02-23 +date: 2024-03-04 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 dcbd0865562aa..3fc0e1507a7f6 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-02-23 +date: 2024-03-04 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 30f63070ac9d4..02eb749847426 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-02-23 +date: 2024-03-04 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 e63ff7d429381..308f6ac07861b 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-02-23 +date: 2024-03-04 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 70418fbb3afe3..dfe6ebb2ab0f8 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-02-23 +date: 2024-03-04 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 657b521b2e287..894c152729fdc 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-02-23 +date: 2024-03-04 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/deeplinks-devtools'] --- import kbnDeeplinksDevtoolsObj from './kbn_deeplinks_devtools.devdocs.json'; diff --git a/api_docs/kbn_deeplinks_management.mdx b/api_docs/kbn_deeplinks_management.mdx index 65894adf9a470..a299fbb9f339c 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-02-23 +date: 2024-03-04 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 b0464d51362a0..8e7f52598b5c4 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-02-23 +date: 2024-03-04 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/deeplinks-ml'] --- import kbnDeeplinksMlObj from './kbn_deeplinks_ml.devdocs.json'; diff --git a/api_docs/kbn_deeplinks_observability.devdocs.json b/api_docs/kbn_deeplinks_observability.devdocs.json index 41256ca000675..1bf628668ad77 100644 --- a/api_docs/kbn_deeplinks_observability.devdocs.json +++ b/api_docs/kbn_deeplinks_observability.devdocs.json @@ -606,7 +606,7 @@ "section": "def-common.AppId", "text": "AppId" }, - " | \"logs:settings\" | \"logs:stream\" | \"logs:log-categories\" | \"logs:anomalies\" | \"observability-overview:cases\" | \"observability-overview:rules\" | \"observability-overview:alerts\" | \"observability-overview:cases_create\" | \"observability-overview:cases_configure\" | \"observability-overview:slos\" | \"metrics:settings\" | \"metrics:hosts\" | \"metrics:inventory\" | \"metrics:metrics-explorer\" | \"apm:traces\" | \"apm:dependencies\" | \"apm:service-map\" | \"apm:settings\" | \"apm:services\" | \"apm:service-groups-list\" | \"apm:storage-explorer\" | \"synthetics:management\" | \"synthetics:overview\"" + " | \"logs:settings\" | \"logs:stream\" | \"logs:log-categories\" | \"logs:anomalies\" | \"observability-overview:cases\" | \"observability-overview:rules\" | \"observability-overview:alerts\" | \"observability-overview:cases_create\" | \"observability-overview:cases_configure\" | \"observability-overview:slos\" | \"metrics:settings\" | \"metrics:hosts\" | \"metrics:inventory\" | \"metrics:metrics-explorer\" | \"metrics:assetDetails\" | \"apm:traces\" | \"apm:dependencies\" | \"apm:service-map\" | \"apm:settings\" | \"apm:services\" | \"apm:service-groups-list\" | \"apm:storage-explorer\" | \"synthetics:management\" | \"synthetics:overview\"" ], "path": "packages/deeplinks/observability/deep_links.ts", "deprecated": false, diff --git a/api_docs/kbn_deeplinks_observability.mdx b/api_docs/kbn_deeplinks_observability.mdx index b120d6c422b12..0c455856c92cb 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-02-23 +date: 2024-03-04 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/deeplinks-observability'] --- import kbnDeeplinksObservabilityObj from './kbn_deeplinks_observability.devdocs.json'; diff --git a/api_docs/kbn_deeplinks_search.mdx b/api_docs/kbn_deeplinks_search.mdx index 9457246afabc1..99cd146b224a7 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-02-23 +date: 2024-03-04 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/deeplinks-search'] --- import kbnDeeplinksSearchObj from './kbn_deeplinks_search.devdocs.json'; diff --git a/api_docs/kbn_default_nav_analytics.mdx b/api_docs/kbn_default_nav_analytics.mdx index 9604d9446ad26..a5203a03298a5 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-02-23 +date: 2024-03-04 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 02c020359d167..379d54c36891d 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-02-23 +date: 2024-03-04 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 1c997f0b7769a..ae2f9f8cb4af5 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-02-23 +date: 2024-03-04 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 a5306a8b3b90b..9360d67e416ac 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-02-23 +date: 2024-03-04 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 2d4871e2d21c5..026fd4b30ea76 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-02-23 +date: 2024-03-04 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 5203ab1a01f10..546c138b16559 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-02-23 +date: 2024-03-04 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 50a862d6e116a..2edf35f5b5b9d 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-02-23 +date: 2024-03-04 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 f7c4457f0576e..a7ba8fc6aefb3 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-02-23 +date: 2024-03-04 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/dev-utils'] --- import kbnDevUtilsObj from './kbn_dev_utils.devdocs.json'; diff --git a/api_docs/kbn_discover_utils.mdx b/api_docs/kbn_discover_utils.mdx index 26bf1442167f0..9f702750361f4 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-02-23 +date: 2024-03-04 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 a857583402702..e4f4b4f25b250 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-02-23 +date: 2024-03-04 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 b920ef1afb686..ea869fa4bf7d5 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-02-23 +date: 2024-03-04 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 9e222d3ba4481..e3a04889a34eb 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-02-23 +date: 2024-03-04 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 5b12cd04c8a46..ccefc75390e57 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-02-23 +date: 2024-03-04 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 09e13b8ac3963..cd171be3843a9 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-02-23 +date: 2024-03-04 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 50102a83b4147..09d45dd9e7114 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-02-23 +date: 2024-03-04 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/elastic-agent-utils'] --- import kbnElasticAgentUtilsObj from './kbn_elastic_agent_utils.devdocs.json'; diff --git a/api_docs/kbn_elastic_assistant.mdx b/api_docs/kbn_elastic_assistant.mdx index 5b3c1d99d8e9b..adf09a12f69e0 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-02-23 +date: 2024-03-04 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/elastic-assistant'] --- import kbnElasticAssistantObj from './kbn_elastic_assistant.devdocs.json'; diff --git a/api_docs/kbn_elastic_assistant_common.mdx b/api_docs/kbn_elastic_assistant_common.mdx index 9e75066216205..d8725bdda15bc 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-02-23 +date: 2024-03-04 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/elastic-assistant-common'] --- import kbnElasticAssistantCommonObj from './kbn_elastic_assistant_common.devdocs.json'; diff --git a/api_docs/kbn_es.mdx b/api_docs/kbn_es.mdx index 7928cd55d60ff..dbe6fc3c25dec 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-02-23 +date: 2024-03-04 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 17d826ef64a15..41c978a2f51e5 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-02-23 +date: 2024-03-04 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 12d32b1870a35..dd6ba9a247a79 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-02-23 +date: 2024-03-04 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 959574138376a..a6b68924a6dde 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-02-23 +date: 2024-03-04 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 77c58246885fc..7a12149463e63 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-02-23 +date: 2024-03-04 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 bcf14b668718f..7dfb79f8b19a6 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-02-23 +date: 2024-03-04 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_utils.devdocs.json b/api_docs/kbn_esql_utils.devdocs.json index d3fbbaf62bca4..a17f9027dc90d 100644 --- a/api_docs/kbn_esql_utils.devdocs.json +++ b/api_docs/kbn_esql_utils.devdocs.json @@ -218,6 +218,41 @@ "returnComment": [], "initialIsOpen": false }, + { + "parentPluginId": "@kbn/esql-utils", + "id": "def-common.getInitialESQLQuery", + "type": "Function", + "tags": [], + "label": "getInitialESQLQuery", + "description": [ + "\nBuilds an ES|QL query for the provided index or index pattern" + ], + "signature": [ + "(indexOrIndexPattern: string) => string" + ], + "path": "packages/kbn-esql-utils/src/utils/get_initial_esql_query.ts", + "deprecated": false, + "trackAdoption": false, + "children": [ + { + "parentPluginId": "@kbn/esql-utils", + "id": "def-common.getInitialESQLQuery.$1", + "type": "string", + "tags": [], + "label": "indexOrIndexPattern", + "description": [], + "signature": [ + "string" + ], + "path": "packages/kbn-esql-utils/src/utils/get_initial_esql_query.ts", + "deprecated": false, + "trackAdoption": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, { "parentPluginId": "@kbn/esql-utils", "id": "def-common.getLimitFromESQLQuery", diff --git a/api_docs/kbn_esql_utils.mdx b/api_docs/kbn_esql_utils.mdx index 5fc5ca86ab502..7176225dc9f7e 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-02-23 +date: 2024-03-04 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/esql-utils'] --- import kbnEsqlUtilsObj from './kbn_esql_utils.devdocs.json'; @@ -21,7 +21,7 @@ Contact [@elastic/kibana-visualizations](https://github.com/orgs/elastic/teams/k | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 15 | 0 | 14 | 0 | +| 17 | 0 | 15 | 0 | ## Common diff --git a/api_docs/kbn_event_annotation_common.mdx b/api_docs/kbn_event_annotation_common.mdx index 7775eb53b5565..d53d7e089c246 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-02-23 +date: 2024-03-04 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 848e9b1593a59..74b355d3afe6e 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-02-23 +date: 2024-03-04 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 13ffbf4a86881..1440676759940 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-02-23 +date: 2024-03-04 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 04a26a17b91f8..5b826a709775e 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-02-23 +date: 2024-03-04 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 3363e4fdd46e0..d5e7aa0e7c910 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-02-23 +date: 2024-03-04 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 bdbe26c67fcc6..67ba5788b4ad1 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-02-23 +date: 2024-03-04 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 f70d71d357b3e..98268a53718b1 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-02-23 +date: 2024-03-04 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 cae60df60c5e9..145b172bdcdec 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-02-23 +date: 2024-03-04 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 1b6e7d220a7fd..785b8c521693b 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-02-23 +date: 2024-03-04 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_generate.mdx b/api_docs/kbn_generate.mdx index 74e43f7231163..c9800d03b4af5 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-02-23 +date: 2024-03-04 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 6e8fd696e2320..7656b7dd161f7 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-02-23 +date: 2024-03-04 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 08be25aeeea4e..b10175a9c00e7 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-02-23 +date: 2024-03-04 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/generate-csv'] --- import kbnGenerateCsvObj from './kbn_generate_csv.devdocs.json'; diff --git a/api_docs/kbn_guided_onboarding.mdx b/api_docs/kbn_guided_onboarding.mdx index c35aae11dccb5..e333f2153636b 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-02-23 +date: 2024-03-04 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 84fb8e12ff87b..222a757424d27 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-02-23 +date: 2024-03-04 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 69284f5a62c58..111d5d80ef3b1 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-02-23 +date: 2024-03-04 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 515840810c957..93b54d98bda78 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-02-23 +date: 2024-03-04 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 9d20faea1396e..0a11030a9cfa5 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-02-23 +date: 2024-03-04 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 bf32550f9b122..6e2b3c010ea24 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-02-23 +date: 2024-03-04 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 509dc7caf744c..71d9eada8dc6f 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-02-23 +date: 2024-03-04 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 a89a966fad697..6ca222459b56d 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-02-23 +date: 2024-03-04 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 35baec02f6367..25e9492c814a5 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-02-23 +date: 2024-03-04 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/import-resolver'] --- import kbnImportResolverObj from './kbn_import_resolver.devdocs.json'; diff --git a/api_docs/kbn_infra_forge.mdx b/api_docs/kbn_infra_forge.mdx index b731d17ccf08f..5626df24857d8 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-02-23 +date: 2024-03-04 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 fb7e773618d0b..c92dc18788207 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-02-23 +date: 2024-03-04 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/interpreter'] --- import kbnInterpreterObj from './kbn_interpreter.devdocs.json'; diff --git a/api_docs/kbn_io_ts_utils.devdocs.json b/api_docs/kbn_io_ts_utils.devdocs.json index de5c18d1da018..a175ad37ceda5 100644 --- a/api_docs/kbn_io_ts_utils.devdocs.json +++ b/api_docs/kbn_io_ts_utils.devdocs.json @@ -638,7 +638,9 @@ "description": [], "signature": [ "(type: ", - "Mixed", + "Type", + " | ", + "ParseableType", ") => JSONSchema" ], "path": "packages/kbn-io-ts-utils/src/to_json_schema/index.ts", @@ -648,12 +650,14 @@ { "parentPluginId": "@kbn/io-ts-utils", "id": "def-common.toJsonSchema.$1", - "type": "Object", + "type": "CompoundType", "tags": [], "label": "type", "description": [], "signature": [ - "Mixed" + "Type", + " | ", + "ParseableType" ], "path": "packages/kbn-io-ts-utils/src/to_json_schema/index.ts", "deprecated": false, diff --git a/api_docs/kbn_io_ts_utils.mdx b/api_docs/kbn_io_ts_utils.mdx index 13a23bf94f62e..ce01481e13bae 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-02-23 +date: 2024-03-04 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/io-ts-utils'] --- import kbnIoTsUtilsObj from './kbn_io_ts_utils.devdocs.json'; diff --git a/api_docs/kbn_jest_serializers.mdx b/api_docs/kbn_jest_serializers.mdx index cbee62b1cb7c0..fe78b5dceac10 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-02-23 +date: 2024-03-04 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 1bd864e938a10..507e9198783bb 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-02-23 +date: 2024-03-04 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 aea4dc6a2e726..f1c3c91b89f45 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-02-23 +date: 2024-03-04 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/json-ast'] --- import kbnJsonAstObj from './kbn_json_ast.devdocs.json'; diff --git a/api_docs/kbn_kibana_manifest_schema.mdx b/api_docs/kbn_kibana_manifest_schema.mdx index 180a42759aa9b..530a9306e9311 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-02-23 +date: 2024-03-04 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_popover.mdx b/api_docs/kbn_language_documentation_popover.mdx index c678ded6b174d..72859db593a8f 100644 --- a/api_docs/kbn_language_documentation_popover.mdx +++ b/api_docs/kbn_language_documentation_popover.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-language-documentation-popover title: "@kbn/language-documentation-popover" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/language-documentation-popover plugin -date: 2024-02-23 +date: 2024-03-04 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/language-documentation-popover'] --- import kbnLanguageDocumentationPopoverObj from './kbn_language_documentation_popover.devdocs.json'; diff --git a/api_docs/kbn_lens_embeddable_utils.mdx b/api_docs/kbn_lens_embeddable_utils.mdx index 43ce571f66920..66f43c008d01c 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-02-23 +date: 2024-03-04 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 cd7f1f4d33bb6..95f9eb6fe9b2c 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-02-23 +date: 2024-03-04 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 35fed666f6165..ead3b16c98be8 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-02-23 +date: 2024-03-04 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 04d65a19d7f28..5931d1a3095f0 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-02-23 +date: 2024-03-04 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 0a4301976d251..7a342f79e3f29 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-02-23 +date: 2024-03-04 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 e07cc717848fc..d0a3647d5ad90 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-02-23 +date: 2024-03-04 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 1a7d984d5de3d..92180d2aa995d 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-02-23 +date: 2024-03-04 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 89f6077aac928..74a1121b81302 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-02-23 +date: 2024-03-04 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 be798b42bad1c..c5a3dac4d733b 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-02-23 +date: 2024-03-04 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 802852899c8f2..e11410e8dc30f 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-02-23 +date: 2024-03-04 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 a1f0e3a186ebb..00c1f274e09ab 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-02-23 +date: 2024-03-04 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 7e5ddd66bfb3e..69dcf6c551d1f 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-02-23 +date: 2024-03-04 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 2edcfacf23722..b01c772ebf045 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-02-23 +date: 2024-03-04 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 40973ecbd7d43..5fba7e8c54c5d 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-02-23 +date: 2024-03-04 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 15d4a36de1cf5..37da70c84834a 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-02-23 +date: 2024-03-04 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 49636be0216a6..ef811caa2404f 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-02-23 +date: 2024-03-04 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 0a9e5f29d53ef..4586750c2776e 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-02-23 +date: 2024-03-04 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 7dc4e806f7127..e46f4f783b8b6 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-02-23 +date: 2024-03-04 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/management-storybook-config'] --- import kbnManagementStorybookConfigObj from './kbn_management_storybook_config.devdocs.json'; diff --git a/api_docs/kbn_mapbox_gl.mdx b/api_docs/kbn_mapbox_gl.mdx index c2438fbc4f80c..ed22338b43871 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-02-23 +date: 2024-03-04 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.mdx b/api_docs/kbn_maps_vector_tile_utils.mdx index cc6e648570d6b..00419b2c2a934 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-02-23 +date: 2024-03-04 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 5fc5ac61bf627..0317c264af530 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-02-23 +date: 2024-03-04 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 6d3272ea699a5..6dd3dfa70338c 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-02-23 +date: 2024-03-04 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 c9305fba7bfab..663d24ca588d5 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-02-23 +date: 2024-03-04 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 72b3d6be9ceba..f286d770dc6b9 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-02-23 +date: 2024-03-04 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 bd5e8f16d4ebc..352802872e424 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-02-23 +date: 2024-03-04 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 f42fce93da5ed..a686840dff03f 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-02-23 +date: 2024-03-04 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 065ca4a9294f2..fc85a3f3dd063 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-02-23 +date: 2024-03-04 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 f536e32e087d8..bafe450cc7c5d 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-02-23 +date: 2024-03-04 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 fabbdf5583f73..0ed80546232ca 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-02-23 +date: 2024-03-04 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 c80cf3e2cbddf..e41c5504e06c1 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-02-23 +date: 2024-03-04 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_in_memory_table.mdx b/api_docs/kbn_ml_in_memory_table.mdx index ee55aafe984f8..3e1ac9d072823 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-02-23 +date: 2024-03-04 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 0bf50667288b5..4fdd1e28b0be4 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-02-23 +date: 2024-03-04 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 e196ea091abc1..f787a9baded3c 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-02-23 +date: 2024-03-04 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 4717589e9c2ff..03eab8d5e9de2 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-02-23 +date: 2024-03-04 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 dbbf47d644bd7..87627a06d6d8e 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-02-23 +date: 2024-03-04 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 c218dc5bfa305..10d7ee949ff3a 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-02-23 +date: 2024-03-04 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 b41791c74a2e7..d07ed78d5c29d 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-02-23 +date: 2024-03-04 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_query_utils.mdx b/api_docs/kbn_ml_query_utils.mdx index f3b0674fb487d..e8fb4e03c3fbb 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-02-23 +date: 2024-03-04 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 d21fc891da17a..a7d2de42546c1 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-02-23 +date: 2024-03-04 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 f4d05cd9babf5..4e4c4f08c507e 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-02-23 +date: 2024-03-04 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 d4d21615a32a6..d7073f1134ede 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-02-23 +date: 2024-03-04 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 8598fc734e583..9e17ad7c6ee00 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-02-23 +date: 2024-03-04 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_trained_models_utils.mdx b/api_docs/kbn_ml_trained_models_utils.mdx index c8ab30ec495a9..d9e7af0e81e30 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-02-23 +date: 2024-03-04 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 0967a99c219ea..6ee1890238e4a 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-02-23 +date: 2024-03-04 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 02b25a5fc5e7b..4b0ff5b297fec 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-02-23 +date: 2024-03-04 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ml-url-state'] --- import kbnMlUrlStateObj from './kbn_ml_url_state.devdocs.json'; diff --git a/api_docs/kbn_mock_idp_utils.mdx b/api_docs/kbn_mock_idp_utils.mdx index 6519df784a79d..11194dd7962e6 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-02-23 +date: 2024-03-04 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 e1035a15e537e..4a882cdb6e62e 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-02-23 +date: 2024-03-04 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 2b28ed044710f..83dbd5f302ba9 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-02-23 +date: 2024-03-04 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/object-versioning'] --- import kbnObjectVersioningObj from './kbn_object_versioning.devdocs.json'; diff --git a/api_docs/kbn_observability_alert_details.mdx b/api_docs/kbn_observability_alert_details.mdx index 0f23f756abf96..c36c53d152eec 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-02-23 +date: 2024-03-04 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_test_data.mdx b/api_docs/kbn_observability_alerting_test_data.mdx index 00014a134b32f..609efa513516c 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-02-23 +date: 2024-03-04 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 b0de41fc5527b..4356a0b8db8d6 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-02-23 +date: 2024-03-04 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_openapi_bundler.mdx b/api_docs/kbn_openapi_bundler.mdx index 870a8419386a1..df263f203488a 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-02-23 +date: 2024-03-04 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 994c40fb6c4ba..4d96a4f63b736 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-02-23 +date: 2024-03-04 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 cb375fa16949f..90ddee375dd15 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-02-23 +date: 2024-03-04 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 685565ff36c86..441ea4499da12 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-02-23 +date: 2024-03-04 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 26ffdb4e0c859..f77d2a870b1c8 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-02-23 +date: 2024-03-04 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_panel_loader.mdx b/api_docs/kbn_panel_loader.mdx index 495b1109298fd..0608932d61fdf 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-02-23 +date: 2024-03-04 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 69411ef8cf95e..a93e3ed6bf3eb 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-02-23 +date: 2024-03-04 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 8a463b52c0d7e..c6c41361e322c 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-02-23 +date: 2024-03-04 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 31a22a036e624..498841700d941 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-02-23 +date: 2024-03-04 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 63fd4444c405c..d131ddeb39870 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-02-23 +date: 2024-03-04 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/plugin-helpers'] --- import kbnPluginHelpersObj from './kbn_plugin_helpers.devdocs.json'; diff --git a/api_docs/kbn_presentation_containers.mdx b/api_docs/kbn_presentation_containers.mdx index e46086501ecb1..c800d2a03fb74 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-02-23 +date: 2024-03-04 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/presentation-containers'] --- import kbnPresentationContainersObj from './kbn_presentation_containers.devdocs.json'; diff --git a/api_docs/kbn_presentation_library.mdx b/api_docs/kbn_presentation_library.mdx index 0e4e00741a393..6279647360496 100644 --- a/api_docs/kbn_presentation_library.mdx +++ b/api_docs/kbn_presentation_library.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-presentation-library title: "@kbn/presentation-library" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/presentation-library plugin -date: 2024-02-23 +date: 2024-03-04 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/presentation-library'] --- import kbnPresentationLibraryObj from './kbn_presentation_library.devdocs.json'; diff --git a/api_docs/kbn_presentation_publishing.mdx b/api_docs/kbn_presentation_publishing.mdx index 1f66ec0fc9402..d5de4dd3387b5 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-02-23 +date: 2024-03-04 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/presentation-publishing'] --- import kbnPresentationPublishingObj from './kbn_presentation_publishing.devdocs.json'; diff --git a/api_docs/kbn_profiling_utils.mdx b/api_docs/kbn_profiling_utils.mdx index 4235d06628599..b53a48a854004 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-02-23 +date: 2024-03-04 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 b4a3b14c01168..dd07ce97f6f74 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-02-23 +date: 2024-03-04 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 65ec5a0b5a2ca..163066afd550c 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-02-23 +date: 2024-03-04 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/react-field'] --- import kbnReactFieldObj from './kbn_react_field.devdocs.json'; diff --git a/api_docs/kbn_react_kibana_context_common.mdx b/api_docs/kbn_react_kibana_context_common.mdx index 9e2e9de1950d6..10980fc53fda7 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-02-23 +date: 2024-03-04 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.mdx b/api_docs/kbn_react_kibana_context_render.mdx index 33efecf9ebc91..f9ed5875ae23c 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-02-23 +date: 2024-03-04 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.mdx b/api_docs/kbn_react_kibana_context_root.mdx index 6bd29763fc04f..28dd0e75bf6d1 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-02-23 +date: 2024-03-04 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 231fcfdb4b1a5..fc7aa5a80cb06 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-02-23 +date: 2024-03-04 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 c234bbbd65bc7..ce6f55652121e 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-02-23 +date: 2024-03-04 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.mdx b/api_docs/kbn_react_kibana_mount.mdx index 1ed5639a14a8c..e2adb1ba77456 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-02-23 +date: 2024-03-04 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/react-kibana-mount'] --- import kbnReactKibanaMountObj from './kbn_react_kibana_mount.devdocs.json'; diff --git a/api_docs/kbn_repo_file_maps.mdx b/api_docs/kbn_repo_file_maps.mdx index d396c9b14e313..b9bd8edbb5061 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-02-23 +date: 2024-03-04 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 1179f4f4308d0..898a073b82915 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-02-23 +date: 2024-03-04 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 f828614db5e01..41954eb0271b6 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-02-23 +date: 2024-03-04 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 1e95d50da4419..0cb72914d74f9 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-02-23 +date: 2024-03-04 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 032c6cce60875..457d3bbf699f3 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-02-23 +date: 2024-03-04 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/reporting-common'] --- import kbnReportingCommonObj from './kbn_reporting_common.devdocs.json'; diff --git a/api_docs/kbn_reporting_export_types_csv.mdx b/api_docs/kbn_reporting_export_types_csv.mdx index f4c271b21a09c..149826ee2b52f 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-02-23 +date: 2024-03-04 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 413f7d58878e6..8b0c9c0386d3e 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-02-23 +date: 2024-03-04 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 68d3348a005d0..1c757fc409f7d 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-02-23 +date: 2024-03-04 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 ca46b72963b35..0ddd5e92c5c12 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-02-23 +date: 2024-03-04 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 5cdcfc43497b9..b15ef18960fe6 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-02-23 +date: 2024-03-04 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 5fe1b9d434b0c..336b6e8d316fc 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-02-23 +date: 2024-03-04 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 d655a4a66e7c0..464e590fb8f2a 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-02-23 +date: 2024-03-04 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 61c377d483220..4736a64c5dfe7 100644 --- a/api_docs/kbn_reporting_public.devdocs.json +++ b/api_docs/kbn_reporting_public.devdocs.json @@ -1449,39 +1449,6 @@ } ], "functions": [ - { - "parentPluginId": "@kbn/reporting-public", - "id": "def-public.add", - "type": "Function", - "tags": [], - "label": "add", - "description": [], - "signature": [ - "(jobId: string) => void" - ], - "path": "packages/kbn-reporting/public/job_completion_notifications.ts", - "deprecated": false, - "trackAdoption": false, - "children": [ - { - "parentPluginId": "@kbn/reporting-public", - "id": "def-public.add.$1", - "type": "string", - "tags": [], - "label": "jobId", - "description": [], - "signature": [ - "string" - ], - "path": "packages/kbn-reporting/public/job_completion_notifications.ts", - "deprecated": false, - "trackAdoption": false, - "isRequired": true - } - ], - "returnComment": [], - "initialIsOpen": false - }, { "parentPluginId": "@kbn/reporting-public", "id": "def-public.checkLicense", @@ -1585,34 +1552,18 @@ }, { "parentPluginId": "@kbn/reporting-public", - "id": "def-public.remove", + "id": "def-public.jobCompletionNotifications", "type": "Function", "tags": [], - "label": "remove", + "label": "jobCompletionNotifications", "description": [], "signature": [ - "(jobId: string) => void" + "() => { getPendingJobIds: () => string[]; addPendingJobId: (jobId: string) => void; setPendingJobIds: (jobIds: string[]) => void; }" ], "path": "packages/kbn-reporting/public/job_completion_notifications.ts", "deprecated": false, "trackAdoption": false, - "children": [ - { - "parentPluginId": "@kbn/reporting-public", - "id": "def-public.remove.$1", - "type": "string", - "tags": [], - "label": "jobId", - "description": [], - "signature": [ - "string" - ], - "path": "packages/kbn-reporting/public/job_completion_notifications.ts", - "deprecated": false, - "trackAdoption": false, - "isRequired": true - } - ], + "children": [], "returnComment": [], "initialIsOpen": false }, diff --git a/api_docs/kbn_reporting_public.mdx b/api_docs/kbn_reporting_public.mdx index d15b8f51c3d29..f5518e05efc1e 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-02-23 +date: 2024-03-04 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/reporting-public'] --- import kbnReportingPublicObj from './kbn_reporting_public.devdocs.json'; @@ -21,7 +21,7 @@ Contact [@elastic/appex-sharedux](https://github.com/orgs/elastic/teams/appex-sh | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 113 | 0 | 107 | 2 | +| 110 | 0 | 104 | 2 | ## Client diff --git a/api_docs/kbn_reporting_server.mdx b/api_docs/kbn_reporting_server.mdx index 2429e088d0296..69ab21d5c84bd 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-02-23 +date: 2024-03-04 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 c090f2d84ec51..8d722d078e413 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-02-23 +date: 2024-03-04 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/resizable-layout'] --- import kbnResizableLayoutObj from './kbn_resizable_layout.devdocs.json'; diff --git a/api_docs/kbn_rison.mdx b/api_docs/kbn_rison.mdx index c6aac13f17614..97989c4275ac3 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-02-23 +date: 2024-03-04 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/rison'] --- import kbnRisonObj from './kbn_rison.devdocs.json'; diff --git a/api_docs/kbn_router_utils.mdx b/api_docs/kbn_router_utils.mdx index 18802c3b9823b..90275ede7a644 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-02-23 +date: 2024-03-04 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/router-utils'] --- import kbnRouterUtilsObj from './kbn_router_utils.devdocs.json'; diff --git a/api_docs/kbn_rrule.mdx b/api_docs/kbn_rrule.mdx index f846a5a5390bc..672f50cdbbdc8 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-02-23 +date: 2024-03-04 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 c162aed2aef5e..9cfa2a5daacd3 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-02-23 +date: 2024-03-04 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 c6e1a13386f0f..689fb8b4b171b 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-02-23 +date: 2024-03-04 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/saved-objects-settings'] --- import kbnSavedObjectsSettingsObj from './kbn_saved_objects_settings.devdocs.json'; diff --git a/api_docs/kbn_search_api_panels.mdx b/api_docs/kbn_search_api_panels.mdx index 045c7eba912ac..89c05153a137d 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-02-23 +date: 2024-03-04 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/search-api-panels'] --- import kbnSearchApiPanelsObj from './kbn_search_api_panels.devdocs.json'; diff --git a/api_docs/kbn_search_connectors.mdx b/api_docs/kbn_search_connectors.mdx index d439c3492c914..3c47d6ddb00dc 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-02-23 +date: 2024-03-04 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 0be8bc8017fa4..a5dd83a75254f 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-02-23 +date: 2024-03-04 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/search-errors'] --- import kbnSearchErrorsObj from './kbn_search_errors.devdocs.json'; diff --git a/api_docs/kbn_search_index_documents.mdx b/api_docs/kbn_search_index_documents.mdx index 83ffa5a2d9058..2bdac52c10674 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-02-23 +date: 2024-03-04 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 c12936773fca2..8c7c074819bcd 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-02-23 +date: 2024-03-04 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/search-response-warnings'] --- import kbnSearchResponseWarningsObj from './kbn_search_response_warnings.devdocs.json'; diff --git a/api_docs/kbn_security_hardening.mdx b/api_docs/kbn_security_hardening.mdx index bbd82dd7aca41..bf81f3dd794a2 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-02-23 +date: 2024-03-04 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/security-hardening'] --- import kbnSecurityHardeningObj from './kbn_security_hardening.devdocs.json'; diff --git a/api_docs/kbn_security_plugin_types_common.devdocs.json b/api_docs/kbn_security_plugin_types_common.devdocs.json index 711bd3fec69e0..5aa76efd27dd6 100644 --- a/api_docs/kbn_security_plugin_types_common.devdocs.json +++ b/api_docs/kbn_security_plugin_types_common.devdocs.json @@ -581,6 +581,22 @@ "children": [], "returnComment": [] }, + { + "parentPluginId": "@kbn/security-plugin-types-common", + "id": "def-common.SecurityLicense.getUnavailableReason", + "type": "Function", + "tags": [], + "label": "getUnavailableReason", + "description": [], + "signature": [ + "() => string | undefined" + ], + "path": "x-pack/packages/security/plugin_types_common/src/licensing/license.ts", + "deprecated": false, + "trackAdoption": false, + "children": [], + "returnComment": [] + }, { "parentPluginId": "@kbn/security-plugin-types-common", "id": "def-common.SecurityLicense.isEnabled", diff --git a/api_docs/kbn_security_plugin_types_common.mdx b/api_docs/kbn_security_plugin_types_common.mdx index f61e1a8efccf6..8dce362351e3b 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-02-23 +date: 2024-03-04 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/security-plugin-types-common'] --- import kbnSecurityPluginTypesCommonObj from './kbn_security_plugin_types_common.devdocs.json'; @@ -21,7 +21,7 @@ Contact [@elastic/kibana-security](https://github.com/orgs/elastic/teams/kibana- | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 82 | 0 | 35 | 0 | +| 83 | 0 | 36 | 0 | ## Common diff --git a/api_docs/kbn_security_plugin_types_public.mdx b/api_docs/kbn_security_plugin_types_public.mdx index 099f0bcdee2e2..ae45021a715c4 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-02-23 +date: 2024-03-04 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.mdx b/api_docs/kbn_security_plugin_types_server.mdx index 5c44fb9945a75..5317911b7ad47 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-02-23 +date: 2024-03-04 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_solution_features.mdx b/api_docs/kbn_security_solution_features.mdx index f3a23ba497a11..33fb6a03b766b 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-02-23 +date: 2024-03-04 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.mdx b/api_docs/kbn_security_solution_navigation.mdx index ce7a2b4cb7fad..d6aed2c2972a4 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-02-23 +date: 2024-03-04 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 ba7d5b31412ae..74f55c3a4d9f8 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-02-23 +date: 2024-03-04 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 ff5d5aa0adb78..be52787be2155 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-02-23 +date: 2024-03-04 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_securitysolution_autocomplete.mdx b/api_docs/kbn_securitysolution_autocomplete.mdx index 5d9741509f109..c75e963dcd4c8 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-02-23 +date: 2024-03-04 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 cf209bacfbb9e..9c6630962dfd7 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-02-23 +date: 2024-03-04 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 ac95260399c97..5e4cb1b3a097c 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-02-23 +date: 2024-03-04 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 f84c43c25c94c..27c9bda063626 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-02-23 +date: 2024-03-04 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 134a17d0c7d7a..e47a4eef5ff52 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-02-23 +date: 2024-03-04 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_grouping.mdx b/api_docs/kbn_securitysolution_grouping.mdx index fe4877589ac8e..b2994dff74241 100644 --- a/api_docs/kbn_securitysolution_grouping.mdx +++ b/api_docs/kbn_securitysolution_grouping.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-securitysolution-grouping title: "@kbn/securitysolution-grouping" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/securitysolution-grouping plugin -date: 2024-02-23 +date: 2024-03-04 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/securitysolution-grouping'] --- import kbnSecuritysolutionGroupingObj from './kbn_securitysolution_grouping.devdocs.json'; diff --git a/api_docs/kbn_securitysolution_hook_utils.mdx b/api_docs/kbn_securitysolution_hook_utils.mdx index ac596333df6b6..1cfaa471d18dd 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-02-23 +date: 2024-03-04 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 3705ff3902c03..00176c620d0ca 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-02-23 +date: 2024-03-04 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 7f90ea5aed3cd..00786d67e15d9 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-02-23 +date: 2024-03-04 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 bcf7037e7837c..3766c6e44934f 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-02-23 +date: 2024-03-04 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 138c63022cbb1..f7ff3b26f55f4 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-02-23 +date: 2024-03-04 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 b6d7385323a4d..611b7e6155df7 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-02-23 +date: 2024-03-04 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 92a6081421803..f2d1fbb1cc905 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-02-23 +date: 2024-03-04 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 e971d6eba0a0b..e85d4ee140744 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-02-23 +date: 2024-03-04 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 0166cacf9c6a8..5d7c23cc9f536 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-02-23 +date: 2024-03-04 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 3028d57457611..a30ed4f1e4461 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-02-23 +date: 2024-03-04 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 965440c4aa729..7e7d3a5973924 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-02-23 +date: 2024-03-04 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 6fc2a30bb3477..2be27c87536e8 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-02-23 +date: 2024-03-04 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 36996eea1f44c..2c2bd83796ccf 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-02-23 +date: 2024-03-04 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 9cce866d1b25d..8b3d26dcea19b 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-02-23 +date: 2024-03-04 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/server-route-repository'] --- import kbnServerRouteRepositoryObj from './kbn_server_route_repository.devdocs.json'; diff --git a/api_docs/kbn_serverless_common_settings.mdx b/api_docs/kbn_serverless_common_settings.mdx index e52906f2c930c..aa8fd6b6469bb 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-02-23 +date: 2024-03-04 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 925585e5dcdc0..260f62d094b40 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-02-23 +date: 2024-03-04 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 49f3cd847b157..fbdaf17d8989b 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-02-23 +date: 2024-03-04 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/serverless-project-switcher'] --- import kbnServerlessProjectSwitcherObj from './kbn_serverless_project_switcher.devdocs.json'; diff --git a/api_docs/kbn_serverless_search_settings.mdx b/api_docs/kbn_serverless_search_settings.mdx index b2fd4d8654a5c..0efee10a90bdb 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-02-23 +date: 2024-03-04 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 91fe2659476f6..24f4721724bf3 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-02-23 +date: 2024-03-04 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 df6c191254493..e2fd7b2fa0b45 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-02-23 +date: 2024-03-04 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 4d83cd20c0dfc..94d1520f0a556 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-02-23 +date: 2024-03-04 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 78ff2a1ba54ac..3204a4e10a68f 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-02-23 +date: 2024-03-04 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 916bbf71fe106..cb22efc7dd273 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-02-23 +date: 2024-03-04 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 36e565ec91088..2ba4f1b6e9f7c 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-02-23 +date: 2024-03-04 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 a2d70c2c67517..ef26e7a7614f9 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-02-23 +date: 2024-03-04 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 e143eec0467d8..b035f6deda54e 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-02-23 +date: 2024-03-04 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.mdx b/api_docs/kbn_shared_ux_chrome_navigation.mdx index 054fa7168a27e..a2db1c390e70e 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-02-23 +date: 2024-03-04 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 89c77532a7e9b..a56e04d42b559 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-02-23 +date: 2024-03-04 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 3f116e9d52310..152b3010b24d7 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-02-23 +date: 2024-03-04 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 1aa3b193ead4e..bf4d879fc905b 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-02-23 +date: 2024-03-04 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 2708bebf87dff..edc65c29770c3 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-02-23 +date: 2024-03-04 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 5642caf1c0559..01414c3f263e8 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-02-23 +date: 2024-03-04 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 df1e347878688..3dbc149a823f3 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-02-23 +date: 2024-03-04 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 4762148194339..efc4105f15642 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-02-23 +date: 2024-03-04 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 c297a374d27e1..6f0f68e1c0c90 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-02-23 +date: 2024-03-04 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 579e5d650ed23..849640028eeee 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-02-23 +date: 2024-03-04 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 77cc0ba197b64..7a912fd250d21 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-02-23 +date: 2024-03-04 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 24a3464a54c94..028c8d091b696 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-02-23 +date: 2024-03-04 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 2d9054c7a98f5..df76148b802be 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-02-23 +date: 2024-03-04 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 389e53eebb6ae..1b345bbcafaae 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-02-23 +date: 2024-03-04 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 228288de419d2..6c6da02200606 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-02-23 +date: 2024-03-04 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 4d5ce2c950653..13255119ed0f0 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-02-23 +date: 2024-03-04 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 39ddb110b785d..fad172f3a7645 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-02-23 +date: 2024-03-04 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 61f2f754ed118..758fb42d40b1d 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-02-23 +date: 2024-03-04 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 f8fe7aa4699d7..1e17e50728298 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-02-23 +date: 2024-03-04 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 065dd4347bd5f..3504de5ce6e13 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-02-23 +date: 2024-03-04 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 691e816269f86..3825f7128292f 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-02-23 +date: 2024-03-04 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 d933e656eb63f..137063a8caa7c 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-02-23 +date: 2024-03-04 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 d4c31d3ec900c..e223e45e8dfac 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-02-23 +date: 2024-03-04 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 d7ae1e5d75025..4ef5f6da11eaf 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-02-23 +date: 2024-03-04 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 9980efd6f2eb5..cb5e99cea06cd 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-02-23 +date: 2024-03-04 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 571e49f7a79cc..081323d7462ad 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-02-23 +date: 2024-03-04 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 4d4d9840f64ea..4095f900268a0 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-02-23 +date: 2024-03-04 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 9e7bde160bf5d..73c786b83e381 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-02-23 +date: 2024-03-04 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 2043706b57d22..4c439c252444b 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-02-23 +date: 2024-03-04 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 b1e4dffd478b1..9c98c79b46e64 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-02-23 +date: 2024-03-04 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 d16ce039dcff5..35204b9b29081 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-02-23 +date: 2024-03-04 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 32eb9773c4a9d..241a38d7d0ee3 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-02-23 +date: 2024-03-04 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_utility.mdx b/api_docs/kbn_shared_ux_utility.mdx index ac2ab42cffc29..e90e0d612a29e 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-02-23 +date: 2024-03-04 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.devdocs.json b/api_docs/kbn_slo_schema.devdocs.json index 3bc0e22116e92..d6a46586733fc 100644 --- a/api_docs/kbn_slo_schema.devdocs.json +++ b/api_docs/kbn_slo_schema.devdocs.json @@ -606,7 +606,7 @@ "label": "CreateSLOInput", "description": [], "signature": [ - "{ name: string; description: string; indicator: { type: \"sli.apm.transactionDuration\"; params: { environment: string; service: string; transactionType: string; transactionName: string; threshold: number; index: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }; } | { type: \"sli.apm.transactionErrorRate\"; params: { environment: string; service: string; transactionType: string; transactionName: string; index: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }; } | { type: \"sli.kql.custom\"; params: { index: string; good: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; }; total: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; }; timestampField: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }; } | { type: \"sli.metric.custom\"; params: { index: string; good: { metrics: (({ name: string; aggregation: \"sum\"; field: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }) | ({ name: string; aggregation: \"doc_count\"; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }))[]; equation: string; }; total: { metrics: (({ name: string; aggregation: \"sum\"; field: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }) | ({ name: string; aggregation: \"doc_count\"; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }))[]; equation: string; }; timestampField: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }; } | { type: \"sli.metric.timeslice\"; params: { index: string; metric: { metrics: (({ name: string; aggregation: \"min\" | \"max\" | \"sum\" | \"avg\" | \"cardinality\" | \"last_value\" | \"std_deviation\"; field: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }) | ({ name: string; aggregation: \"doc_count\"; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }) | ({ name: string; aggregation: \"percentile\"; field: string; percentile: number; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }))[]; equation: string; threshold: number; comparator: \"GT\" | \"GTE\" | \"LT\" | \"LTE\"; }; timestampField: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }; } | { type: \"sli.histogram.custom\"; params: { index: string; timestampField: string; good: ({ field: string; aggregation: \"value_count\"; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }) | ({ field: string; aggregation: \"range\"; from: number; to: number; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }); total: ({ field: string; aggregation: \"value_count\"; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }) | ({ field: string; aggregation: \"range\"; from: number; to: number; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }); } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }; }; timeWindow: { duration: string; type: \"rolling\"; } | { duration: string; type: \"calendarAligned\"; }; budgetingMethod: \"occurrences\" | \"timeslices\"; objective: { target: number; } & { timesliceTarget?: number | undefined; timesliceWindow?: string | undefined; }; } & { id?: string | undefined; settings?: { syncDelay?: string | undefined; frequency?: string | undefined; } | undefined; tags?: string[] | undefined; groupBy?: string | undefined; revision?: number | undefined; }" + "{ name: string; description: string; indicator: { type: \"sli.apm.transactionDuration\"; params: { environment: string; service: string; transactionType: string; transactionName: string; threshold: number; index: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }; } | { type: \"sli.apm.transactionErrorRate\"; params: { environment: string; service: string; transactionType: string; transactionName: string; index: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }; } | { type: \"sli.kql.custom\"; params: { index: string; good: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; }; total: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; }; timestampField: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }; } | { type: \"sli.metric.custom\"; params: { index: string; good: { metrics: (({ name: string; aggregation: \"sum\"; field: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }) | ({ name: string; aggregation: \"doc_count\"; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }))[]; equation: string; }; total: { metrics: (({ name: string; aggregation: \"sum\"; field: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }) | ({ name: string; aggregation: \"doc_count\"; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }))[]; equation: string; }; timestampField: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }; } | { type: \"sli.metric.timeslice\"; params: { index: string; metric: { metrics: (({ name: string; aggregation: \"min\" | \"max\" | \"sum\" | \"avg\" | \"cardinality\" | \"last_value\" | \"std_deviation\"; field: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }) | ({ name: string; aggregation: \"doc_count\"; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }) | ({ name: string; aggregation: \"percentile\"; field: string; percentile: number; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }))[]; equation: string; threshold: number; comparator: \"GT\" | \"GTE\" | \"LT\" | \"LTE\"; }; timestampField: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }; } | { type: \"sli.histogram.custom\"; params: { index: string; timestampField: string; good: ({ field: string; aggregation: \"value_count\"; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }) | ({ field: string; aggregation: \"range\"; from: number; to: number; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }); total: ({ field: string; aggregation: \"value_count\"; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }) | ({ field: string; aggregation: \"range\"; from: number; to: number; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }); } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }; }; timeWindow: { duration: string; type: \"rolling\"; } | { duration: string; type: \"calendarAligned\"; }; budgetingMethod: \"occurrences\" | \"timeslices\"; objective: { target: number; } & { timesliceTarget?: number | undefined; timesliceWindow?: string | undefined; }; } & { id?: string | undefined; settings?: { syncDelay?: string | undefined; frequency?: string | undefined; } | undefined; tags?: string[] | undefined; groupBy?: string | string[] | undefined; revision?: number | undefined; }" ], "path": "x-pack/packages/kbn-slo-schema/src/rest_specs/slo.ts", "deprecated": false, @@ -661,7 +661,7 @@ "section": "def-common.Duration", "text": "Duration" }, - " | undefined; } | undefined; tags?: string[] | undefined; groupBy?: string | undefined; revision?: number | undefined; }" + " | undefined; } | undefined; tags?: string[] | undefined; groupBy?: string | string[] | undefined; revision?: number | undefined; }" ], "path": "x-pack/packages/kbn-slo-schema/src/rest_specs/slo.ts", "deprecated": false, @@ -766,7 +766,7 @@ "label": "FindSLODefinitionsResponse", "description": [], "signature": [ - "{ page: number; perPage: number; total: number; results: ({ id: string; name: string; description: string; indicator: { type: \"sli.apm.transactionDuration\"; params: { environment: string; service: string; transactionType: string; transactionName: string; threshold: number; index: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }; } | { type: \"sli.apm.transactionErrorRate\"; params: { environment: string; service: string; transactionType: string; transactionName: string; index: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }; } | { type: \"sli.kql.custom\"; params: { index: string; good: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; }; total: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; }; timestampField: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }; } | { type: \"sli.metric.custom\"; params: { index: string; good: { metrics: (({ name: string; aggregation: \"sum\"; field: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }) | ({ name: string; aggregation: \"doc_count\"; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }))[]; equation: string; }; total: { metrics: (({ name: string; aggregation: \"sum\"; field: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }) | ({ name: string; aggregation: \"doc_count\"; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }))[]; equation: string; }; timestampField: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }; } | { type: \"sli.metric.timeslice\"; params: { index: string; metric: { metrics: (({ name: string; aggregation: \"min\" | \"max\" | \"sum\" | \"avg\" | \"cardinality\" | \"last_value\" | \"std_deviation\"; field: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }) | ({ name: string; aggregation: \"doc_count\"; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }) | ({ name: string; aggregation: \"percentile\"; field: string; percentile: number; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }))[]; equation: string; threshold: number; comparator: \"GT\" | \"GTE\" | \"LT\" | \"LTE\"; }; timestampField: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }; } | { type: \"sli.histogram.custom\"; params: { index: string; timestampField: string; good: ({ field: string; aggregation: \"value_count\"; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }) | ({ field: string; aggregation: \"range\"; from: number; to: number; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }); total: ({ field: string; aggregation: \"value_count\"; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }) | ({ field: string; aggregation: \"range\"; from: number; to: number; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }); } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }; }; timeWindow: { duration: string; type: \"rolling\"; } | { duration: string; type: \"calendarAligned\"; }; budgetingMethod: \"occurrences\" | \"timeslices\"; objective: { target: number; } & { timesliceTarget?: number | undefined; timesliceWindow?: string | undefined; }; revision: number; settings: { syncDelay: string; frequency: string; }; enabled: boolean; tags: string[]; groupBy: string; createdAt: string; updatedAt: string; version: number; } & { instanceId?: string | undefined; })[]; }" + "{ page: number; perPage: number; total: number; results: ({ id: string; name: string; description: string; indicator: { type: \"sli.apm.transactionDuration\"; params: { environment: string; service: string; transactionType: string; transactionName: string; threshold: number; index: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }; } | { type: \"sli.apm.transactionErrorRate\"; params: { environment: string; service: string; transactionType: string; transactionName: string; index: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }; } | { type: \"sli.kql.custom\"; params: { index: string; good: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; }; total: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; }; timestampField: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }; } | { type: \"sli.metric.custom\"; params: { index: string; good: { metrics: (({ name: string; aggregation: \"sum\"; field: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }) | ({ name: string; aggregation: \"doc_count\"; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }))[]; equation: string; }; total: { metrics: (({ name: string; aggregation: \"sum\"; field: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }) | ({ name: string; aggregation: \"doc_count\"; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }))[]; equation: string; }; timestampField: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }; } | { type: \"sli.metric.timeslice\"; params: { index: string; metric: { metrics: (({ name: string; aggregation: \"min\" | \"max\" | \"sum\" | \"avg\" | \"cardinality\" | \"last_value\" | \"std_deviation\"; field: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }) | ({ name: string; aggregation: \"doc_count\"; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }) | ({ name: string; aggregation: \"percentile\"; field: string; percentile: number; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }))[]; equation: string; threshold: number; comparator: \"GT\" | \"GTE\" | \"LT\" | \"LTE\"; }; timestampField: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }; } | { type: \"sli.histogram.custom\"; params: { index: string; timestampField: string; good: ({ field: string; aggregation: \"value_count\"; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }) | ({ field: string; aggregation: \"range\"; from: number; to: number; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }); total: ({ field: string; aggregation: \"value_count\"; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }) | ({ field: string; aggregation: \"range\"; from: number; to: number; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }); } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }; }; timeWindow: { duration: string; type: \"rolling\"; } | { duration: string; type: \"calendarAligned\"; }; budgetingMethod: \"occurrences\" | \"timeslices\"; objective: { target: number; } & { timesliceTarget?: number | undefined; timesliceWindow?: string | undefined; }; revision: number; settings: { syncDelay: string; frequency: string; }; enabled: boolean; tags: string[]; groupBy: string | string[]; createdAt: string; updatedAt: string; version: number; } & { instanceId?: string | undefined; })[]; }" ], "path": "x-pack/packages/kbn-slo-schema/src/rest_specs/slo.ts", "deprecated": false, @@ -826,7 +826,7 @@ "label": "FindSLOResponse", "description": [], "signature": [ - "{ page: number; perPage: number; total: number; results: ({ id: string; name: string; description: string; indicator: { type: \"sli.apm.transactionDuration\"; params: { environment: string; service: string; transactionType: string; transactionName: string; threshold: number; index: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }; } | { type: \"sli.apm.transactionErrorRate\"; params: { environment: string; service: string; transactionType: string; transactionName: string; index: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }; } | { type: \"sli.kql.custom\"; params: { index: string; good: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; }; total: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; }; timestampField: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }; } | { type: \"sli.metric.custom\"; params: { index: string; good: { metrics: (({ name: string; aggregation: \"sum\"; field: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }) | ({ name: string; aggregation: \"doc_count\"; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }))[]; equation: string; }; total: { metrics: (({ name: string; aggregation: \"sum\"; field: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }) | ({ name: string; aggregation: \"doc_count\"; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }))[]; equation: string; }; timestampField: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }; } | { type: \"sli.metric.timeslice\"; params: { index: string; metric: { metrics: (({ name: string; aggregation: \"min\" | \"max\" | \"sum\" | \"avg\" | \"cardinality\" | \"last_value\" | \"std_deviation\"; field: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }) | ({ name: string; aggregation: \"doc_count\"; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }) | ({ name: string; aggregation: \"percentile\"; field: string; percentile: number; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }))[]; equation: string; threshold: number; comparator: \"GT\" | \"GTE\" | \"LT\" | \"LTE\"; }; timestampField: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }; } | { type: \"sli.histogram.custom\"; params: { index: string; timestampField: string; good: ({ field: string; aggregation: \"value_count\"; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }) | ({ field: string; aggregation: \"range\"; from: number; to: number; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }); total: ({ field: string; aggregation: \"value_count\"; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }) | ({ field: string; aggregation: \"range\"; from: number; to: number; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }); } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }; }; timeWindow: { duration: string; type: \"rolling\"; } | { duration: string; type: \"calendarAligned\"; }; budgetingMethod: \"occurrences\" | \"timeslices\"; objective: { target: number; } & { timesliceTarget?: number | undefined; timesliceWindow?: string | undefined; }; revision: number; settings: { syncDelay: string; frequency: string; }; enabled: boolean; tags: string[]; groupBy: string; createdAt: string; updatedAt: string; version: number; } & { instanceId?: string | undefined; } & { summary: { status: \"HEALTHY\" | \"NO_DATA\" | \"DEGRADING\" | \"VIOLATED\"; sliValue: number; errorBudget: { initial: number; consumed: number; remaining: number; isEstimated: boolean; }; }; })[]; }" + "{ page: number; perPage: number; total: number; results: ({ id: string; name: string; description: string; indicator: { type: \"sli.apm.transactionDuration\"; params: { environment: string; service: string; transactionType: string; transactionName: string; threshold: number; index: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }; } | { type: \"sli.apm.transactionErrorRate\"; params: { environment: string; service: string; transactionType: string; transactionName: string; index: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }; } | { type: \"sli.kql.custom\"; params: { index: string; good: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; }; total: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; }; timestampField: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }; } | { type: \"sli.metric.custom\"; params: { index: string; good: { metrics: (({ name: string; aggregation: \"sum\"; field: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }) | ({ name: string; aggregation: \"doc_count\"; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }))[]; equation: string; }; total: { metrics: (({ name: string; aggregation: \"sum\"; field: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }) | ({ name: string; aggregation: \"doc_count\"; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }))[]; equation: string; }; timestampField: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }; } | { type: \"sli.metric.timeslice\"; params: { index: string; metric: { metrics: (({ name: string; aggregation: \"min\" | \"max\" | \"sum\" | \"avg\" | \"cardinality\" | \"last_value\" | \"std_deviation\"; field: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }) | ({ name: string; aggregation: \"doc_count\"; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }) | ({ name: string; aggregation: \"percentile\"; field: string; percentile: number; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }))[]; equation: string; threshold: number; comparator: \"GT\" | \"GTE\" | \"LT\" | \"LTE\"; }; timestampField: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }; } | { type: \"sli.histogram.custom\"; params: { index: string; timestampField: string; good: ({ field: string; aggregation: \"value_count\"; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }) | ({ field: string; aggregation: \"range\"; from: number; to: number; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }); total: ({ field: string; aggregation: \"value_count\"; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }) | ({ field: string; aggregation: \"range\"; from: number; to: number; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }); } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }; }; timeWindow: { duration: string; type: \"rolling\"; } | { duration: string; type: \"calendarAligned\"; }; budgetingMethod: \"occurrences\" | \"timeslices\"; objective: { target: number; } & { timesliceTarget?: number | undefined; timesliceWindow?: string | undefined; }; revision: number; settings: { syncDelay: string; frequency: string; }; enabled: boolean; tags: string[]; groupBy: string | string[]; createdAt: string; updatedAt: string; version: number; } & { instanceId?: string | undefined; } & { summary: { status: \"HEALTHY\" | \"NO_DATA\" | \"DEGRADING\" | \"VIOLATED\"; sliValue: number; errorBudget: { initial: number; consumed: number; remaining: number; isEstimated: boolean; }; }; groupings: { [x: string]: string | number; }; })[]; }" ], "path": "x-pack/packages/kbn-slo-schema/src/rest_specs/slo.ts", "deprecated": false, @@ -849,7 +849,7 @@ "section": "def-common.Duration", "text": "Duration" }, - " | undefined; }) | undefined; instanceId?: string | undefined; groupBy?: string | undefined; }" + " | undefined; }) | undefined; instanceId?: string | undefined; groupBy?: string | undefined; groupings?: { [x: string]: unknown; } | undefined; }" ], "path": "x-pack/packages/kbn-slo-schema/src/rest_specs/slo.ts", "deprecated": false, @@ -894,7 +894,7 @@ "label": "GetSLOInstancesResponse", "description": [], "signature": [ - "{ groupBy: string; instances: string[]; }" + "{ groupBy: string | string[]; instances: string[]; }" ], "path": "x-pack/packages/kbn-slo-schema/src/rest_specs/slo.ts", "deprecated": false, @@ -924,7 +924,7 @@ "label": "GetSLOResponse", "description": [], "signature": [ - "{ id: string; name: string; description: string; indicator: { type: \"sli.apm.transactionDuration\"; params: { environment: string; service: string; transactionType: string; transactionName: string; threshold: number; index: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }; } | { type: \"sli.apm.transactionErrorRate\"; params: { environment: string; service: string; transactionType: string; transactionName: string; index: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }; } | { type: \"sli.kql.custom\"; params: { index: string; good: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; }; total: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; }; timestampField: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }; } | { type: \"sli.metric.custom\"; params: { index: string; good: { metrics: (({ name: string; aggregation: \"sum\"; field: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }) | ({ name: string; aggregation: \"doc_count\"; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }))[]; equation: string; }; total: { metrics: (({ name: string; aggregation: \"sum\"; field: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }) | ({ name: string; aggregation: \"doc_count\"; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }))[]; equation: string; }; timestampField: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }; } | { type: \"sli.metric.timeslice\"; params: { index: string; metric: { metrics: (({ name: string; aggregation: \"min\" | \"max\" | \"sum\" | \"avg\" | \"cardinality\" | \"last_value\" | \"std_deviation\"; field: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }) | ({ name: string; aggregation: \"doc_count\"; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }) | ({ name: string; aggregation: \"percentile\"; field: string; percentile: number; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }))[]; equation: string; threshold: number; comparator: \"GT\" | \"GTE\" | \"LT\" | \"LTE\"; }; timestampField: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }; } | { type: \"sli.histogram.custom\"; params: { index: string; timestampField: string; good: ({ field: string; aggregation: \"value_count\"; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }) | ({ field: string; aggregation: \"range\"; from: number; to: number; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }); total: ({ field: string; aggregation: \"value_count\"; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }) | ({ field: string; aggregation: \"range\"; from: number; to: number; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }); } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }; }; timeWindow: { duration: string; type: \"rolling\"; } | { duration: string; type: \"calendarAligned\"; }; budgetingMethod: \"occurrences\" | \"timeslices\"; objective: { target: number; } & { timesliceTarget?: number | undefined; timesliceWindow?: string | undefined; }; revision: number; settings: { syncDelay: string; frequency: string; }; enabled: boolean; tags: string[]; groupBy: string; createdAt: string; updatedAt: string; version: number; } & { instanceId?: string | undefined; } & { summary: { status: \"HEALTHY\" | \"NO_DATA\" | \"DEGRADING\" | \"VIOLATED\"; sliValue: number; errorBudget: { initial: number; consumed: number; remaining: number; isEstimated: boolean; }; }; }" + "{ id: string; name: string; description: string; indicator: { type: \"sli.apm.transactionDuration\"; params: { environment: string; service: string; transactionType: string; transactionName: string; threshold: number; index: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }; } | { type: \"sli.apm.transactionErrorRate\"; params: { environment: string; service: string; transactionType: string; transactionName: string; index: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }; } | { type: \"sli.kql.custom\"; params: { index: string; good: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; }; total: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; }; timestampField: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }; } | { type: \"sli.metric.custom\"; params: { index: string; good: { metrics: (({ name: string; aggregation: \"sum\"; field: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }) | ({ name: string; aggregation: \"doc_count\"; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }))[]; equation: string; }; total: { metrics: (({ name: string; aggregation: \"sum\"; field: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }) | ({ name: string; aggregation: \"doc_count\"; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }))[]; equation: string; }; timestampField: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }; } | { type: \"sli.metric.timeslice\"; params: { index: string; metric: { metrics: (({ name: string; aggregation: \"min\" | \"max\" | \"sum\" | \"avg\" | \"cardinality\" | \"last_value\" | \"std_deviation\"; field: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }) | ({ name: string; aggregation: \"doc_count\"; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }) | ({ name: string; aggregation: \"percentile\"; field: string; percentile: number; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }))[]; equation: string; threshold: number; comparator: \"GT\" | \"GTE\" | \"LT\" | \"LTE\"; }; timestampField: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }; } | { type: \"sli.histogram.custom\"; params: { index: string; timestampField: string; good: ({ field: string; aggregation: \"value_count\"; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }) | ({ field: string; aggregation: \"range\"; from: number; to: number; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }); total: ({ field: string; aggregation: \"value_count\"; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }) | ({ field: string; aggregation: \"range\"; from: number; to: number; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }); } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }; }; timeWindow: { duration: string; type: \"rolling\"; } | { duration: string; type: \"calendarAligned\"; }; budgetingMethod: \"occurrences\" | \"timeslices\"; objective: { target: number; } & { timesliceTarget?: number | undefined; timesliceWindow?: string | undefined; }; revision: number; settings: { syncDelay: string; frequency: string; }; enabled: boolean; tags: string[]; groupBy: string | string[]; createdAt: string; updatedAt: string; version: number; } & { instanceId?: string | undefined; } & { summary: { status: \"HEALTHY\" | \"NO_DATA\" | \"DEGRADING\" | \"VIOLATED\"; sliValue: number; errorBudget: { initial: number; consumed: number; remaining: number; isEstimated: boolean; }; }; groupings: { [x: string]: string | number; }; }" ], "path": "x-pack/packages/kbn-slo-schema/src/rest_specs/slo.ts", "deprecated": false, @@ -1119,7 +1119,7 @@ "label": "ResetSLOResponse", "description": [], "signature": [ - "{ id: string; name: string; description: string; indicator: { type: \"sli.apm.transactionDuration\"; params: { environment: string; service: string; transactionType: string; transactionName: string; threshold: number; index: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }; } | { type: \"sli.apm.transactionErrorRate\"; params: { environment: string; service: string; transactionType: string; transactionName: string; index: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }; } | { type: \"sli.kql.custom\"; params: { index: string; good: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; }; total: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; }; timestampField: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }; } | { type: \"sli.metric.custom\"; params: { index: string; good: { metrics: (({ name: string; aggregation: \"sum\"; field: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }) | ({ name: string; aggregation: \"doc_count\"; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }))[]; equation: string; }; total: { metrics: (({ name: string; aggregation: \"sum\"; field: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }) | ({ name: string; aggregation: \"doc_count\"; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }))[]; equation: string; }; timestampField: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }; } | { type: \"sli.metric.timeslice\"; params: { index: string; metric: { metrics: (({ name: string; aggregation: \"min\" | \"max\" | \"sum\" | \"avg\" | \"cardinality\" | \"last_value\" | \"std_deviation\"; field: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }) | ({ name: string; aggregation: \"doc_count\"; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }) | ({ name: string; aggregation: \"percentile\"; field: string; percentile: number; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }))[]; equation: string; threshold: number; comparator: \"GT\" | \"GTE\" | \"LT\" | \"LTE\"; }; timestampField: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }; } | { type: \"sli.histogram.custom\"; params: { index: string; timestampField: string; good: ({ field: string; aggregation: \"value_count\"; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }) | ({ field: string; aggregation: \"range\"; from: number; to: number; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }); total: ({ field: string; aggregation: \"value_count\"; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }) | ({ field: string; aggregation: \"range\"; from: number; to: number; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }); } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }; }; timeWindow: { duration: string; type: \"rolling\"; } | { duration: string; type: \"calendarAligned\"; }; budgetingMethod: \"occurrences\" | \"timeslices\"; objective: { target: number; } & { timesliceTarget?: number | undefined; timesliceWindow?: string | undefined; }; revision: number; settings: { syncDelay: string; frequency: string; }; enabled: boolean; tags: string[]; groupBy: string; createdAt: string; updatedAt: string; version: number; } & { instanceId?: string | undefined; }" + "{ id: string; name: string; description: string; indicator: { type: \"sli.apm.transactionDuration\"; params: { environment: string; service: string; transactionType: string; transactionName: string; threshold: number; index: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }; } | { type: \"sli.apm.transactionErrorRate\"; params: { environment: string; service: string; transactionType: string; transactionName: string; index: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }; } | { type: \"sli.kql.custom\"; params: { index: string; good: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; }; total: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; }; timestampField: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }; } | { type: \"sli.metric.custom\"; params: { index: string; good: { metrics: (({ name: string; aggregation: \"sum\"; field: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }) | ({ name: string; aggregation: \"doc_count\"; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }))[]; equation: string; }; total: { metrics: (({ name: string; aggregation: \"sum\"; field: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }) | ({ name: string; aggregation: \"doc_count\"; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }))[]; equation: string; }; timestampField: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }; } | { type: \"sli.metric.timeslice\"; params: { index: string; metric: { metrics: (({ name: string; aggregation: \"min\" | \"max\" | \"sum\" | \"avg\" | \"cardinality\" | \"last_value\" | \"std_deviation\"; field: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }) | ({ name: string; aggregation: \"doc_count\"; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }) | ({ name: string; aggregation: \"percentile\"; field: string; percentile: number; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }))[]; equation: string; threshold: number; comparator: \"GT\" | \"GTE\" | \"LT\" | \"LTE\"; }; timestampField: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }; } | { type: \"sli.histogram.custom\"; params: { index: string; timestampField: string; good: ({ field: string; aggregation: \"value_count\"; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }) | ({ field: string; aggregation: \"range\"; from: number; to: number; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }); total: ({ field: string; aggregation: \"value_count\"; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }) | ({ field: string; aggregation: \"range\"; from: number; to: number; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }); } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }; }; timeWindow: { duration: string; type: \"rolling\"; } | { duration: string; type: \"calendarAligned\"; }; budgetingMethod: \"occurrences\" | \"timeslices\"; objective: { target: number; } & { timesliceTarget?: number | undefined; timesliceWindow?: string | undefined; }; revision: number; settings: { syncDelay: string; frequency: string; }; enabled: boolean; tags: string[]; groupBy: string | string[]; createdAt: string; updatedAt: string; version: number; } & { instanceId?: string | undefined; }" ], "path": "x-pack/packages/kbn-slo-schema/src/rest_specs/slo.ts", "deprecated": false, @@ -1149,7 +1149,7 @@ "label": "SLOResponse", "description": [], "signature": [ - "{ id: string; name: string; description: string; indicator: { type: \"sli.apm.transactionDuration\"; params: { environment: string; service: string; transactionType: string; transactionName: string; threshold: number; index: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }; } | { type: \"sli.apm.transactionErrorRate\"; params: { environment: string; service: string; transactionType: string; transactionName: string; index: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }; } | { type: \"sli.kql.custom\"; params: { index: string; good: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; }; total: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; }; timestampField: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }; } | { type: \"sli.metric.custom\"; params: { index: string; good: { metrics: (({ name: string; aggregation: \"sum\"; field: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }) | ({ name: string; aggregation: \"doc_count\"; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }))[]; equation: string; }; total: { metrics: (({ name: string; aggregation: \"sum\"; field: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }) | ({ name: string; aggregation: \"doc_count\"; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }))[]; equation: string; }; timestampField: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }; } | { type: \"sli.metric.timeslice\"; params: { index: string; metric: { metrics: (({ name: string; aggregation: \"min\" | \"max\" | \"sum\" | \"avg\" | \"cardinality\" | \"last_value\" | \"std_deviation\"; field: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }) | ({ name: string; aggregation: \"doc_count\"; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }) | ({ name: string; aggregation: \"percentile\"; field: string; percentile: number; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }))[]; equation: string; threshold: number; comparator: \"GT\" | \"GTE\" | \"LT\" | \"LTE\"; }; timestampField: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }; } | { type: \"sli.histogram.custom\"; params: { index: string; timestampField: string; good: ({ field: string; aggregation: \"value_count\"; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }) | ({ field: string; aggregation: \"range\"; from: number; to: number; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }); total: ({ field: string; aggregation: \"value_count\"; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }) | ({ field: string; aggregation: \"range\"; from: number; to: number; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }); } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }; }; timeWindow: { duration: string; type: \"rolling\"; } | { duration: string; type: \"calendarAligned\"; }; budgetingMethod: \"occurrences\" | \"timeslices\"; objective: { target: number; } & { timesliceTarget?: number | undefined; timesliceWindow?: string | undefined; }; revision: number; settings: { syncDelay: string; frequency: string; }; enabled: boolean; tags: string[]; groupBy: string; createdAt: string; updatedAt: string; version: number; } & { instanceId?: string | undefined; }" + "{ id: string; name: string; description: string; indicator: { type: \"sli.apm.transactionDuration\"; params: { environment: string; service: string; transactionType: string; transactionName: string; threshold: number; index: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }; } | { type: \"sli.apm.transactionErrorRate\"; params: { environment: string; service: string; transactionType: string; transactionName: string; index: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }; } | { type: \"sli.kql.custom\"; params: { index: string; good: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; }; total: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; }; timestampField: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }; } | { type: \"sli.metric.custom\"; params: { index: string; good: { metrics: (({ name: string; aggregation: \"sum\"; field: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }) | ({ name: string; aggregation: \"doc_count\"; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }))[]; equation: string; }; total: { metrics: (({ name: string; aggregation: \"sum\"; field: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }) | ({ name: string; aggregation: \"doc_count\"; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }))[]; equation: string; }; timestampField: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }; } | { type: \"sli.metric.timeslice\"; params: { index: string; metric: { metrics: (({ name: string; aggregation: \"min\" | \"max\" | \"sum\" | \"avg\" | \"cardinality\" | \"last_value\" | \"std_deviation\"; field: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }) | ({ name: string; aggregation: \"doc_count\"; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }) | ({ name: string; aggregation: \"percentile\"; field: string; percentile: number; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }))[]; equation: string; threshold: number; comparator: \"GT\" | \"GTE\" | \"LT\" | \"LTE\"; }; timestampField: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }; } | { type: \"sli.histogram.custom\"; params: { index: string; timestampField: string; good: ({ field: string; aggregation: \"value_count\"; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }) | ({ field: string; aggregation: \"range\"; from: number; to: number; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }); total: ({ field: string; aggregation: \"value_count\"; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }) | ({ field: string; aggregation: \"range\"; from: number; to: number; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }); } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }; }; timeWindow: { duration: string; type: \"rolling\"; } | { duration: string; type: \"calendarAligned\"; }; budgetingMethod: \"occurrences\" | \"timeslices\"; objective: { target: number; } & { timesliceTarget?: number | undefined; timesliceWindow?: string | undefined; }; revision: number; settings: { syncDelay: string; frequency: string; }; enabled: boolean; tags: string[]; groupBy: string | string[]; createdAt: string; updatedAt: string; version: number; } & { instanceId?: string | undefined; }" ], "path": "x-pack/packages/kbn-slo-schema/src/rest_specs/slo.ts", "deprecated": false, @@ -1164,7 +1164,7 @@ "label": "SLOWithSummaryResponse", "description": [], "signature": [ - "{ id: string; name: string; description: string; indicator: { type: \"sli.apm.transactionDuration\"; params: { environment: string; service: string; transactionType: string; transactionName: string; threshold: number; index: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }; } | { type: \"sli.apm.transactionErrorRate\"; params: { environment: string; service: string; transactionType: string; transactionName: string; index: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }; } | { type: \"sli.kql.custom\"; params: { index: string; good: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; }; total: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; }; timestampField: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }; } | { type: \"sli.metric.custom\"; params: { index: string; good: { metrics: (({ name: string; aggregation: \"sum\"; field: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }) | ({ name: string; aggregation: \"doc_count\"; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }))[]; equation: string; }; total: { metrics: (({ name: string; aggregation: \"sum\"; field: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }) | ({ name: string; aggregation: \"doc_count\"; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }))[]; equation: string; }; timestampField: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }; } | { type: \"sli.metric.timeslice\"; params: { index: string; metric: { metrics: (({ name: string; aggregation: \"min\" | \"max\" | \"sum\" | \"avg\" | \"cardinality\" | \"last_value\" | \"std_deviation\"; field: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }) | ({ name: string; aggregation: \"doc_count\"; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }) | ({ name: string; aggregation: \"percentile\"; field: string; percentile: number; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }))[]; equation: string; threshold: number; comparator: \"GT\" | \"GTE\" | \"LT\" | \"LTE\"; }; timestampField: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }; } | { type: \"sli.histogram.custom\"; params: { index: string; timestampField: string; good: ({ field: string; aggregation: \"value_count\"; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }) | ({ field: string; aggregation: \"range\"; from: number; to: number; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }); total: ({ field: string; aggregation: \"value_count\"; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }) | ({ field: string; aggregation: \"range\"; from: number; to: number; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }); } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }; }; timeWindow: { duration: string; type: \"rolling\"; } | { duration: string; type: \"calendarAligned\"; }; budgetingMethod: \"occurrences\" | \"timeslices\"; objective: { target: number; } & { timesliceTarget?: number | undefined; timesliceWindow?: string | undefined; }; revision: number; settings: { syncDelay: string; frequency: string; }; enabled: boolean; tags: string[]; groupBy: string; createdAt: string; updatedAt: string; version: number; } & { instanceId?: string | undefined; } & { summary: { status: \"HEALTHY\" | \"NO_DATA\" | \"DEGRADING\" | \"VIOLATED\"; sliValue: number; errorBudget: { initial: number; consumed: number; remaining: number; isEstimated: boolean; }; }; }" + "{ id: string; name: string; description: string; indicator: { type: \"sli.apm.transactionDuration\"; params: { environment: string; service: string; transactionType: string; transactionName: string; threshold: number; index: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }; } | { type: \"sli.apm.transactionErrorRate\"; params: { environment: string; service: string; transactionType: string; transactionName: string; index: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }; } | { type: \"sli.kql.custom\"; params: { index: string; good: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; }; total: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; }; timestampField: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }; } | { type: \"sli.metric.custom\"; params: { index: string; good: { metrics: (({ name: string; aggregation: \"sum\"; field: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }) | ({ name: string; aggregation: \"doc_count\"; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }))[]; equation: string; }; total: { metrics: (({ name: string; aggregation: \"sum\"; field: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }) | ({ name: string; aggregation: \"doc_count\"; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }))[]; equation: string; }; timestampField: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }; } | { type: \"sli.metric.timeslice\"; params: { index: string; metric: { metrics: (({ name: string; aggregation: \"min\" | \"max\" | \"sum\" | \"avg\" | \"cardinality\" | \"last_value\" | \"std_deviation\"; field: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }) | ({ name: string; aggregation: \"doc_count\"; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }) | ({ name: string; aggregation: \"percentile\"; field: string; percentile: number; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }))[]; equation: string; threshold: number; comparator: \"GT\" | \"GTE\" | \"LT\" | \"LTE\"; }; timestampField: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }; } | { type: \"sli.histogram.custom\"; params: { index: string; timestampField: string; good: ({ field: string; aggregation: \"value_count\"; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }) | ({ field: string; aggregation: \"range\"; from: number; to: number; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }); total: ({ field: string; aggregation: \"value_count\"; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }) | ({ field: string; aggregation: \"range\"; from: number; to: number; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }); } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }; }; timeWindow: { duration: string; type: \"rolling\"; } | { duration: string; type: \"calendarAligned\"; }; budgetingMethod: \"occurrences\" | \"timeslices\"; objective: { target: number; } & { timesliceTarget?: number | undefined; timesliceWindow?: string | undefined; }; revision: number; settings: { syncDelay: string; frequency: string; }; enabled: boolean; tags: string[]; groupBy: string | string[]; createdAt: string; updatedAt: string; version: number; } & { instanceId?: string | undefined; } & { summary: { status: \"HEALTHY\" | \"NO_DATA\" | \"DEGRADING\" | \"VIOLATED\"; sliValue: number; errorBudget: { initial: number; consumed: number; remaining: number; isEstimated: boolean; }; }; groupings: { [x: string]: string | number; }; }" ], "path": "x-pack/packages/kbn-slo-schema/src/rest_specs/slo.ts", "deprecated": false, @@ -1254,7 +1254,7 @@ "label": "UpdateSLOInput", "description": [], "signature": [ - "{ name?: string | undefined; description?: string | undefined; indicator?: { type: \"sli.apm.transactionDuration\"; params: { environment: string; service: string; transactionType: string; transactionName: string; threshold: number; index: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }; } | { type: \"sli.apm.transactionErrorRate\"; params: { environment: string; service: string; transactionType: string; transactionName: string; index: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }; } | { type: \"sli.kql.custom\"; params: { index: string; good: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; }; total: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; }; timestampField: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }; } | { type: \"sli.metric.custom\"; params: { index: string; good: { metrics: (({ name: string; aggregation: \"sum\"; field: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }) | ({ name: string; aggregation: \"doc_count\"; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }))[]; equation: string; }; total: { metrics: (({ name: string; aggregation: \"sum\"; field: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }) | ({ name: string; aggregation: \"doc_count\"; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }))[]; equation: string; }; timestampField: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }; } | { type: \"sli.metric.timeslice\"; params: { index: string; metric: { metrics: (({ name: string; aggregation: \"min\" | \"max\" | \"sum\" | \"avg\" | \"cardinality\" | \"last_value\" | \"std_deviation\"; field: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }) | ({ name: string; aggregation: \"doc_count\"; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }) | ({ name: string; aggregation: \"percentile\"; field: string; percentile: number; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }))[]; equation: string; threshold: number; comparator: \"GT\" | \"GTE\" | \"LT\" | \"LTE\"; }; timestampField: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }; } | { type: \"sli.histogram.custom\"; params: { index: string; timestampField: string; good: ({ field: string; aggregation: \"value_count\"; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }) | ({ field: string; aggregation: \"range\"; from: number; to: number; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }); total: ({ field: string; aggregation: \"value_count\"; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }) | ({ field: string; aggregation: \"range\"; from: number; to: number; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }); } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }; } | undefined; timeWindow?: { duration: string; type: \"rolling\"; } | { duration: string; type: \"calendarAligned\"; } | undefined; budgetingMethod?: \"occurrences\" | \"timeslices\" | undefined; objective?: ({ target: number; } & { timesliceTarget?: number | undefined; timesliceWindow?: string | undefined; }) | undefined; settings?: { syncDelay?: string | undefined; frequency?: string | undefined; } | undefined; tags?: string[] | undefined; groupBy?: string | undefined; }" + "{ name?: string | undefined; description?: string | undefined; indicator?: { type: \"sli.apm.transactionDuration\"; params: { environment: string; service: string; transactionType: string; transactionName: string; threshold: number; index: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }; } | { type: \"sli.apm.transactionErrorRate\"; params: { environment: string; service: string; transactionType: string; transactionName: string; index: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }; } | { type: \"sli.kql.custom\"; params: { index: string; good: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; }; total: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; }; timestampField: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }; } | { type: \"sli.metric.custom\"; params: { index: string; good: { metrics: (({ name: string; aggregation: \"sum\"; field: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }) | ({ name: string; aggregation: \"doc_count\"; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }))[]; equation: string; }; total: { metrics: (({ name: string; aggregation: \"sum\"; field: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }) | ({ name: string; aggregation: \"doc_count\"; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }))[]; equation: string; }; timestampField: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }; } | { type: \"sli.metric.timeslice\"; params: { index: string; metric: { metrics: (({ name: string; aggregation: \"min\" | \"max\" | \"sum\" | \"avg\" | \"cardinality\" | \"last_value\" | \"std_deviation\"; field: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }) | ({ name: string; aggregation: \"doc_count\"; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }) | ({ name: string; aggregation: \"percentile\"; field: string; percentile: number; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }))[]; equation: string; threshold: number; comparator: \"GT\" | \"GTE\" | \"LT\" | \"LTE\"; }; timestampField: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }; } | { type: \"sli.histogram.custom\"; params: { index: string; timestampField: string; good: ({ field: string; aggregation: \"value_count\"; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }) | ({ field: string; aggregation: \"range\"; from: number; to: number; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }); total: ({ field: string; aggregation: \"value_count\"; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }) | ({ field: string; aggregation: \"range\"; from: number; to: number; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }); } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }; } | undefined; timeWindow?: { duration: string; type: \"rolling\"; } | { duration: string; type: \"calendarAligned\"; } | undefined; budgetingMethod?: \"occurrences\" | \"timeslices\" | undefined; objective?: ({ target: number; } & { timesliceTarget?: number | undefined; timesliceWindow?: string | undefined; }) | undefined; settings?: { syncDelay?: string | undefined; frequency?: string | undefined; } | undefined; tags?: string[] | undefined; groupBy?: string | string[] | undefined; }" ], "path": "x-pack/packages/kbn-slo-schema/src/rest_specs/slo.ts", "deprecated": false, @@ -1309,7 +1309,7 @@ "section": "def-common.Duration", "text": "Duration" }, - " | undefined; } | undefined; tags?: string[] | undefined; groupBy?: string | undefined; }" + " | undefined; } | undefined; tags?: string[] | undefined; groupBy?: string | string[] | undefined; }" ], "path": "x-pack/packages/kbn-slo-schema/src/rest_specs/slo.ts", "deprecated": false, @@ -1324,7 +1324,7 @@ "label": "UpdateSLOResponse", "description": [], "signature": [ - "{ id: string; name: string; description: string; indicator: { type: \"sli.apm.transactionDuration\"; params: { environment: string; service: string; transactionType: string; transactionName: string; threshold: number; index: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }; } | { type: \"sli.apm.transactionErrorRate\"; params: { environment: string; service: string; transactionType: string; transactionName: string; index: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }; } | { type: \"sli.kql.custom\"; params: { index: string; good: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; }; total: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; }; timestampField: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }; } | { type: \"sli.metric.custom\"; params: { index: string; good: { metrics: (({ name: string; aggregation: \"sum\"; field: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }) | ({ name: string; aggregation: \"doc_count\"; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }))[]; equation: string; }; total: { metrics: (({ name: string; aggregation: \"sum\"; field: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }) | ({ name: string; aggregation: \"doc_count\"; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }))[]; equation: string; }; timestampField: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }; } | { type: \"sli.metric.timeslice\"; params: { index: string; metric: { metrics: (({ name: string; aggregation: \"min\" | \"max\" | \"sum\" | \"avg\" | \"cardinality\" | \"last_value\" | \"std_deviation\"; field: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }) | ({ name: string; aggregation: \"doc_count\"; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }) | ({ name: string; aggregation: \"percentile\"; field: string; percentile: number; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }))[]; equation: string; threshold: number; comparator: \"GT\" | \"GTE\" | \"LT\" | \"LTE\"; }; timestampField: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }; } | { type: \"sli.histogram.custom\"; params: { index: string; timestampField: string; good: ({ field: string; aggregation: \"value_count\"; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }) | ({ field: string; aggregation: \"range\"; from: number; to: number; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }); total: ({ field: string; aggregation: \"value_count\"; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }) | ({ field: string; aggregation: \"range\"; from: number; to: number; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }); } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }; }; timeWindow: { duration: string; type: \"rolling\"; } | { duration: string; type: \"calendarAligned\"; }; budgetingMethod: \"occurrences\" | \"timeslices\"; objective: { target: number; } & { timesliceTarget?: number | undefined; timesliceWindow?: string | undefined; }; revision: number; settings: { syncDelay: string; frequency: string; }; enabled: boolean; tags: string[]; groupBy: string; createdAt: string; updatedAt: string; version: number; } & { instanceId?: string | undefined; }" + "{ id: string; name: string; description: string; indicator: { type: \"sli.apm.transactionDuration\"; params: { environment: string; service: string; transactionType: string; transactionName: string; threshold: number; index: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }; } | { type: \"sli.apm.transactionErrorRate\"; params: { environment: string; service: string; transactionType: string; transactionName: string; index: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }; } | { type: \"sli.kql.custom\"; params: { index: string; good: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; }; total: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; }; timestampField: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }; } | { type: \"sli.metric.custom\"; params: { index: string; good: { metrics: (({ name: string; aggregation: \"sum\"; field: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }) | ({ name: string; aggregation: \"doc_count\"; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }))[]; equation: string; }; total: { metrics: (({ name: string; aggregation: \"sum\"; field: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }) | ({ name: string; aggregation: \"doc_count\"; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }))[]; equation: string; }; timestampField: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }; } | { type: \"sli.metric.timeslice\"; params: { index: string; metric: { metrics: (({ name: string; aggregation: \"min\" | \"max\" | \"sum\" | \"avg\" | \"cardinality\" | \"last_value\" | \"std_deviation\"; field: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }) | ({ name: string; aggregation: \"doc_count\"; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }) | ({ name: string; aggregation: \"percentile\"; field: string; percentile: number; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }))[]; equation: string; threshold: number; comparator: \"GT\" | \"GTE\" | \"LT\" | \"LTE\"; }; timestampField: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }; } | { type: \"sli.histogram.custom\"; params: { index: string; timestampField: string; good: ({ field: string; aggregation: \"value_count\"; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }) | ({ field: string; aggregation: \"range\"; from: number; to: number; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }); total: ({ field: string; aggregation: \"value_count\"; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }) | ({ field: string; aggregation: \"range\"; from: number; to: number; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }); } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }; }; timeWindow: { duration: string; type: \"rolling\"; } | { duration: string; type: \"calendarAligned\"; }; budgetingMethod: \"occurrences\" | \"timeslices\"; objective: { target: number; } & { timesliceTarget?: number | undefined; timesliceWindow?: string | undefined; }; revision: number; settings: { syncDelay: string; frequency: string; }; enabled: boolean; tags: string[]; groupBy: string | string[]; createdAt: string; updatedAt: string; version: number; } & { instanceId?: string | undefined; }" ], "path": "x-pack/packages/kbn-slo-schema/src/rest_specs/slo.ts", "deprecated": false, @@ -1353,6 +1353,34 @@ "trackAdoption": false, "initialIsOpen": false }, + { + "parentPluginId": "@kbn/slo-schema", + "id": "def-common.allOrAnyStringOrArray", + "type": "Object", + "tags": [], + "label": "allOrAnyStringOrArray", + "description": [], + "signature": [ + "UnionC", + "<[", + "LiteralC", + "<\"*\">, ", + "StringC", + ", ", + "ArrayC", + "<", + "UnionC", + "<[", + "LiteralC", + "<\"*\">, ", + "StringC", + "]>>]>" + ], + "path": "x-pack/packages/kbn-slo-schema/src/schema/common.ts", + "deprecated": false, + "trackAdoption": false, + "initialIsOpen": false + }, { "parentPluginId": "@kbn/slo-schema", "id": "def-common.apmTransactionDurationIndicatorSchema", @@ -2918,7 +2946,15 @@ "LiteralC", "<\"*\">, ", "StringC", - "]>; revision: ", + ", ", + "ArrayC", + "<", + "UnionC", + "<[", + "LiteralC", + "<\"*\">, ", + "StringC", + "]>>]>; revision: ", "NumberC", "; }>]>; }>" ], @@ -3075,12 +3111,8 @@ "<{ sloId: ", "StringC", "; instanceId: ", - "UnionC", - "<[", - "LiteralC", - "<\"*\">, ", "StringC", - "]>; }>>; }>; }>" + "; }>>; }>; }>" ], "path": "x-pack/packages/kbn-slo-schema/src/rest_specs/slo.ts", "deprecated": false, @@ -4456,7 +4488,15 @@ "LiteralC", "<\"*\">, ", "StringC", - "]>; createdAt: ", + ", ", + "ArrayC", + "<", + "UnionC", + "<[", + "LiteralC", + "<\"*\">, ", + "StringC", + "]>>]>; createdAt: ", "Type", "; updatedAt: ", "Type", @@ -5898,7 +5938,15 @@ "LiteralC", "<\"*\">, ", "StringC", - "]>; createdAt: ", + ", ", + "ArrayC", + "<", + "UnionC", + "<[", + "LiteralC", + "<\"*\">, ", + "StringC", + "]>>]>; createdAt: ", "Type", "; updatedAt: ", "Type", @@ -5938,7 +5986,17 @@ "NumberC", "; isEstimated: ", "BooleanC", - "; }>; }>; }>]>>; }>" + "; }>; }>; groupings: ", + "RecordC", + "<", + "StringC", + ", ", + "UnionC", + "<[", + "StringC", + ", ", + "NumberC", + "]>>; }>]>>; }>" ], "path": "x-pack/packages/kbn-slo-schema/src/rest_specs/slo.ts", "deprecated": false, @@ -7156,7 +7214,13 @@ "StringC", "; groupBy: ", "StringC", - "; }>]>; }>" + "; groupings: ", + "RecordC", + "<", + "StringC", + ", ", + "UnknownC", + ">; }>]>; }>" ], "path": "x-pack/packages/kbn-slo-schema/src/rest_specs/slo.ts", "deprecated": false, @@ -7297,8 +7361,14 @@ "signature": [ "TypeC", "<{ groupBy: ", + "UnionC", + "<[", "StringC", - "; instances: ", + ", ", + "ArrayC", + "<", + "StringC", + ">]>; instances: ", "ArrayC", "<", "StringC", @@ -8618,7 +8688,15 @@ "LiteralC", "<\"*\">, ", "StringC", - "]>; createdAt: ", + ", ", + "ArrayC", + "<", + "UnionC", + "<[", + "LiteralC", + "<\"*\">, ", + "StringC", + "]>>]>; createdAt: ", "Type", "; updatedAt: ", "Type", @@ -8658,13 +8736,47 @@ "NumberC", "; isEstimated: ", "BooleanC", - "; }>; }>; }>]>" + "; }>; }>; groupings: ", + "RecordC", + "<", + "StringC", + ", ", + "UnionC", + "<[", + "StringC", + ", ", + "NumberC", + "]>>; }>]>" ], "path": "x-pack/packages/kbn-slo-schema/src/rest_specs/slo.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false }, + { + "parentPluginId": "@kbn/slo-schema", + "id": "def-common.groupingsSchema", + "type": "Object", + "tags": [], + "label": "groupingsSchema", + "description": [], + "signature": [ + "RecordC", + "<", + "StringC", + ", ", + "UnionC", + "<[", + "StringC", + ", ", + "NumberC", + "]>>" + ], + "path": "x-pack/packages/kbn-slo-schema/src/schema/common.ts", + "deprecated": false, + "trackAdoption": false, + "initialIsOpen": false + }, { "parentPluginId": "@kbn/slo-schema", "id": "def-common.groupSummarySchema", @@ -12547,7 +12659,15 @@ "LiteralC", "<\"*\">, ", "StringC", - "]>; createdAt: ", + ", ", + "ArrayC", + "<", + "UnionC", + "<[", + "LiteralC", + "<\"*\">, ", + "StringC", + "]>>]>; createdAt: ", "Type", "; updatedAt: ", "Type", @@ -13984,7 +14104,15 @@ "LiteralC", "<\"*\">, ", "StringC", - "]>; createdAt: ", + ", ", + "ArrayC", + "<", + "UnionC", + "<[", + "LiteralC", + "<\"*\">, ", + "StringC", + "]>>]>; createdAt: ", "Type", "; updatedAt: ", "Type", @@ -15282,7 +15410,15 @@ "LiteralC", "<\"*\">, ", "StringC", - "]>; version: ", + ", ", + "ArrayC", + "<", + "UnionC", + "<[", + "LiteralC", + "<\"*\">, ", + "StringC", + "]>>]>; version: ", "NumberC", "; }>" ], @@ -16568,7 +16704,15 @@ "LiteralC", "<\"*\">, ", "StringC", - "]>; createdAt: ", + ", ", + "ArrayC", + "<", + "UnionC", + "<[", + "LiteralC", + "<\"*\">, ", + "StringC", + "]>>]>; createdAt: ", "Type", "; updatedAt: ", "Type", @@ -16608,7 +16752,17 @@ "NumberC", "; isEstimated: ", "BooleanC", - "; }>; }>; }>]>" + "; }>; }>; groupings: ", + "RecordC", + "<", + "StringC", + ", ", + "UnionC", + "<[", + "StringC", + ", ", + "NumberC", + "]>>; }>]>" ], "path": "x-pack/packages/kbn-slo-schema/src/rest_specs/slo.ts", "deprecated": false, @@ -17894,7 +18048,15 @@ "LiteralC", "<\"*\">, ", "StringC", - "]>; version: ", + ", ", + "ArrayC", + "<", + "UnionC", + "<[", + "LiteralC", + "<\"*\">, ", + "StringC", + "]>>]>; version: ", "NumberC", "; }>, ", "TypeC", @@ -17922,7 +18084,17 @@ "NumberC", "; isEstimated: ", "BooleanC", - "; }>; }>; }>]>" + "; }>; }>; groupings: ", + "RecordC", + "<", + "StringC", + ", ", + "UnionC", + "<[", + "StringC", + ", ", + "NumberC", + "]>>; }>]>" ], "path": "x-pack/packages/kbn-slo-schema/src/schema/slo.ts", "deprecated": false, @@ -20120,7 +20292,15 @@ "LiteralC", "<\"*\">, ", "StringC", - "]>; }>; }>" + ", ", + "ArrayC", + "<", + "UnionC", + "<[", + "LiteralC", + "<\"*\">, ", + "StringC", + "]>>]>; }>; }>" ], "path": "x-pack/packages/kbn-slo-schema/src/rest_specs/slo.ts", "deprecated": false, @@ -21402,7 +21582,15 @@ "LiteralC", "<\"*\">, ", "StringC", - "]>; createdAt: ", + ", ", + "ArrayC", + "<", + "UnionC", + "<[", + "LiteralC", + "<\"*\">, ", + "StringC", + "]>>]>; createdAt: ", "Type", "; updatedAt: ", "Type", diff --git a/api_docs/kbn_slo_schema.mdx b/api_docs/kbn_slo_schema.mdx index b27c87c36a7ef..d743102c3c42b 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-02-23 +date: 2024-03-04 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/slo-schema'] --- import kbnSloSchemaObj from './kbn_slo_schema.devdocs.json'; @@ -21,7 +21,7 @@ Contact [@elastic/obs-ux-management-team](https://github.com/orgs/elastic/teams/ | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 159 | 0 | 159 | 0 | +| 161 | 0 | 161 | 0 | ## Common diff --git a/api_docs/kbn_some_dev_log.mdx b/api_docs/kbn_some_dev_log.mdx index 71ca16286895a..c38c2d6fa6ce2 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-02-23 +date: 2024-03-04 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 e0378f90be082..16f2ca63230d9 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-02-23 +date: 2024-03-04 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/sort-predicates'] --- import kbnSortPredicatesObj from './kbn_sort_predicates.devdocs.json'; diff --git a/api_docs/kbn_std.mdx b/api_docs/kbn_std.mdx index e7e22ce08ad70..0f8e2aca86b0f 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-02-23 +date: 2024-03-04 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 e2e07f762ea5a..5b918683052b2 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-02-23 +date: 2024-03-04 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/stdio-dev-helpers'] --- import kbnStdioDevHelpersObj from './kbn_stdio_dev_helpers.devdocs.json'; diff --git a/api_docs/kbn_storybook.mdx b/api_docs/kbn_storybook.mdx index f83a510d66ff9..75da84b99a54e 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-02-23 +date: 2024-03-04 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/storybook'] --- import kbnStorybookObj from './kbn_storybook.devdocs.json'; diff --git a/api_docs/kbn_telemetry_tools.mdx b/api_docs/kbn_telemetry_tools.mdx index f170da98b1581..f8a442fbed45f 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-02-23 +date: 2024-03-04 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 4dad83e2ecba3..e22065345be39 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-02-23 +date: 2024-03-04 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 dfb7b9367d3f4..b99aa8d8c94e7 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-02-23 +date: 2024-03-04 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 32b50ea6cedca..69d5d4ccd1079 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-02-23 +date: 2024-03-04 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 0452221af2d72..b0599b80b2197 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-02-23 +date: 2024-03-04 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/test-subj-selector'] --- import kbnTestSubjSelectorObj from './kbn_test_subj_selector.devdocs.json'; diff --git a/api_docs/kbn_text_based_editor.mdx b/api_docs/kbn_text_based_editor.mdx index 175b9199328e6..50c45aa09bff0 100644 --- a/api_docs/kbn_text_based_editor.mdx +++ b/api_docs/kbn_text_based_editor.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-text-based-editor title: "@kbn/text-based-editor" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/text-based-editor plugin -date: 2024-02-23 +date: 2024-03-04 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/text-based-editor'] --- import kbnTextBasedEditorObj from './kbn_text_based_editor.devdocs.json'; diff --git a/api_docs/kbn_timerange.mdx b/api_docs/kbn_timerange.mdx index 88316030b5ac9..61d94361abfc0 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-02-23 +date: 2024-03-04 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 57e3aa1ab9a4b..6633e25655b40 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-02-23 +date: 2024-03-04 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/tooling-log'] --- import kbnToolingLogObj from './kbn_tooling_log.devdocs.json'; diff --git a/api_docs/kbn_triggers_actions_ui_types.mdx b/api_docs/kbn_triggers_actions_ui_types.mdx index 9405cb082e685..f3232e4ad9ba1 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-02-23 +date: 2024-03-04 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_ts_projects.mdx b/api_docs/kbn_ts_projects.mdx index 558ad4df4de1f..de1a7bc8d6189 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-02-23 +date: 2024-03-04 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 36472fdb13fef..f71b1bce378b3 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-02-23 +date: 2024-03-04 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 b76c06c7a5b96..256cb3160c5ff 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-02-23 +date: 2024-03-04 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 6243121924be0..c4e888c12539b 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-02-23 +date: 2024-03-04 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 aff0991c99412..bfcfa545c41a6 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-02-23 +date: 2024-03-04 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 ef58353ad5762..c1ec4447dcb1b 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-02-23 +date: 2024-03-04 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 29d18d26f6b01..edaa71bb796a4 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-02-23 +date: 2024-03-04 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 08e6f7c4caad1..131f78fa5685c 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-02-23 +date: 2024-03-04 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 a238d6bd62492..344914520fac9 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-02-23 +date: 2024-03-04 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/unsaved-changes-badge'] --- import kbnUnsavedChangesBadgeObj from './kbn_unsaved_changes_badge.devdocs.json'; diff --git a/api_docs/kbn_use_tracked_promise.mdx b/api_docs/kbn_use_tracked_promise.mdx index 88eea37c7e80a..e89cc9a2d6ae3 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-02-23 +date: 2024-03-04 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.mdx b/api_docs/kbn_user_profile_components.mdx index 817bc3182c22e..07776a9b8d570 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-02-23 +date: 2024-03-04 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 6e04ad916ca94..ff9686a5f4fb8 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-02-23 +date: 2024-03-04 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 c41e3a8a47ef5..e97aec74901da 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-02-23 +date: 2024-03-04 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 16644400c1d0f..f4f10e3239c67 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-02-23 +date: 2024-03-04 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 10f104cd6582c..158c2e4815cc1 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-02-23 +date: 2024-03-04 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 4408b437a4b91..546559f58a0a4 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-02-23 +date: 2024-03-04 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 44ce58b7ffe3d..84ed3e7162b59 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-02-23 +date: 2024-03-04 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 2eb9c90c03af6..c68652f057a38 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-02-23 +date: 2024-03-04 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_helpers.mdx b/api_docs/kbn_zod_helpers.mdx index 61af75585c4e8..2c2f858d43335 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-02-23 +date: 2024-03-04 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 fee49a87cc7f5..71192dd998b38 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-02-23 +date: 2024-03-04 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 35e40c5034b9b..b7aff2e5df3b7 100644 --- a/api_docs/kibana_react.devdocs.json +++ b/api_docs/kibana_react.devdocs.json @@ -1075,22 +1075,6 @@ "plugin": "aiops", "path": "x-pack/plugins/aiops/public/embeddable/embeddable_change_point_chart.tsx" }, - { - "plugin": "licenseManagement", - "path": "x-pack/plugins/license_management/public/shared_imports.ts" - }, - { - "plugin": "licenseManagement", - "path": "x-pack/plugins/license_management/public/application/app_providers.tsx" - }, - { - "plugin": "licenseManagement", - "path": "x-pack/plugins/license_management/public/application/app_providers.tsx" - }, - { - "plugin": "licenseManagement", - "path": "x-pack/plugins/license_management/public/application/app_providers.tsx" - }, { "plugin": "maps", "path": "x-pack/plugins/maps/public/embeddable/map_embeddable.tsx" @@ -1115,6 +1099,118 @@ "plugin": "maps", "path": "x-pack/plugins/maps/public/render_app.tsx" }, + { + "plugin": "expressionImage", + "path": "src/plugins/expression_image/public/expression_renderers/image_renderer.tsx" + }, + { + "plugin": "expressionImage", + "path": "src/plugins/expression_image/public/expression_renderers/image_renderer.tsx" + }, + { + "plugin": "expressionImage", + "path": "src/plugins/expression_image/public/expression_renderers/image_renderer.tsx" + }, + { + "plugin": "expressionMetric", + "path": "src/plugins/expression_metric/public/expression_renderers/metric_renderer.tsx" + }, + { + "plugin": "expressionMetric", + "path": "src/plugins/expression_metric/public/expression_renderers/metric_renderer.tsx" + }, + { + "plugin": "expressionMetric", + "path": "src/plugins/expression_metric/public/expression_renderers/metric_renderer.tsx" + }, + { + "plugin": "expressionError", + "path": "src/plugins/expression_error/public/expression_renderers/error_renderer.tsx" + }, + { + "plugin": "expressionError", + "path": "src/plugins/expression_error/public/expression_renderers/error_renderer.tsx" + }, + { + "plugin": "expressionError", + "path": "src/plugins/expression_error/public/expression_renderers/error_renderer.tsx" + }, + { + "plugin": "expressionError", + "path": "src/plugins/expression_error/public/expression_renderers/debug_renderer.tsx" + }, + { + "plugin": "expressionError", + "path": "src/plugins/expression_error/public/expression_renderers/debug_renderer.tsx" + }, + { + "plugin": "expressionError", + "path": "src/plugins/expression_error/public/expression_renderers/debug_renderer.tsx" + }, + { + "plugin": "expressionRevealImage", + "path": "src/plugins/expression_reveal_image/public/expression_renderers/reveal_image_renderer.tsx" + }, + { + "plugin": "expressionRevealImage", + "path": "src/plugins/expression_reveal_image/public/expression_renderers/reveal_image_renderer.tsx" + }, + { + "plugin": "expressionRevealImage", + "path": "src/plugins/expression_reveal_image/public/expression_renderers/reveal_image_renderer.tsx" + }, + { + "plugin": "expressionRepeatImage", + "path": "src/plugins/expression_repeat_image/public/expression_renderers/repeat_image_renderer.tsx" + }, + { + "plugin": "expressionRepeatImage", + "path": "src/plugins/expression_repeat_image/public/expression_renderers/repeat_image_renderer.tsx" + }, + { + "plugin": "expressionRepeatImage", + "path": "src/plugins/expression_repeat_image/public/expression_renderers/repeat_image_renderer.tsx" + }, + { + "plugin": "expressionShape", + "path": "src/plugins/expression_shape/public/expression_renderers/shape_renderer.tsx" + }, + { + "plugin": "expressionShape", + "path": "src/plugins/expression_shape/public/expression_renderers/shape_renderer.tsx" + }, + { + "plugin": "expressionShape", + "path": "src/plugins/expression_shape/public/expression_renderers/shape_renderer.tsx" + }, + { + "plugin": "expressionShape", + "path": "src/plugins/expression_shape/public/expression_renderers/progress_renderer.tsx" + }, + { + "plugin": "expressionShape", + "path": "src/plugins/expression_shape/public/expression_renderers/progress_renderer.tsx" + }, + { + "plugin": "expressionShape", + "path": "src/plugins/expression_shape/public/expression_renderers/progress_renderer.tsx" + }, + { + "plugin": "licenseManagement", + "path": "x-pack/plugins/license_management/public/shared_imports.ts" + }, + { + "plugin": "licenseManagement", + "path": "x-pack/plugins/license_management/public/application/app_providers.tsx" + }, + { + "plugin": "licenseManagement", + "path": "x-pack/plugins/license_management/public/application/app_providers.tsx" + }, + { + "plugin": "licenseManagement", + "path": "x-pack/plugins/license_management/public/application/app_providers.tsx" + }, { "plugin": "dataVisualizer", "path": "x-pack/plugins/data_visualizer/public/application/file_data_visualizer/file_data_visualizer.tsx" @@ -1223,18 +1319,6 @@ "plugin": "ml", "path": "x-pack/plugins/ml/public/application/management/jobs_list/components/jobs_list_page/jobs_list_page.tsx" }, - { - "plugin": "exploratoryView", - "path": "x-pack/plugins/observability_solution/exploratory_view/public/application/index.tsx" - }, - { - "plugin": "exploratoryView", - "path": "x-pack/plugins/observability_solution/exploratory_view/public/application/index.tsx" - }, - { - "plugin": "exploratoryView", - "path": "x-pack/plugins/observability_solution/exploratory_view/public/application/index.tsx" - }, { "plugin": "fleet", "path": "x-pack/plugins/fleet/public/applications/integrations/app.tsx" @@ -1260,276 +1344,168 @@ "path": "x-pack/plugins/fleet/public/applications/fleet/app.tsx" }, { - "plugin": "metricsDataAccess", - "path": "x-pack/plugins/metrics_data_access/public/apps/common_providers.tsx" - }, - { - "plugin": "metricsDataAccess", - "path": "x-pack/plugins/metrics_data_access/public/apps/common_providers.tsx" - }, - { - "plugin": "metricsDataAccess", - "path": "x-pack/plugins/metrics_data_access/public/apps/common_providers.tsx" - }, - { - "plugin": "ingestPipelines", - "path": "x-pack/plugins/ingest_pipelines/public/shared_imports.ts" - }, - { - "plugin": "ingestPipelines", - "path": "x-pack/plugins/ingest_pipelines/public/application/index.tsx" - }, - { - "plugin": "ingestPipelines", - "path": "x-pack/plugins/ingest_pipelines/public/application/index.tsx" - }, - { - "plugin": "ingestPipelines", - "path": "x-pack/plugins/ingest_pipelines/public/application/index.tsx" - }, - { - "plugin": "osquery", - "path": "x-pack/plugins/osquery/public/shared_components/osquery_results/osquery_result_wrapper.tsx" - }, - { - "plugin": "osquery", - "path": "x-pack/plugins/osquery/public/shared_components/osquery_results/osquery_result_wrapper.tsx" - }, - { - "plugin": "osquery", - "path": "x-pack/plugins/osquery/public/shared_components/osquery_results/osquery_result_wrapper.tsx" - }, - { - "plugin": "osquery", - "path": "x-pack/plugins/osquery/public/shared_imports.ts" - }, - { - "plugin": "osquery", - "path": "x-pack/plugins/osquery/public/shared_components/osquery_results/osquery_results.tsx" - }, - { - "plugin": "osquery", - "path": "x-pack/plugins/osquery/public/shared_components/osquery_results/osquery_results.tsx" - }, - { - "plugin": "osquery", - "path": "x-pack/plugins/osquery/public/shared_components/osquery_results/osquery_results.tsx" - }, - { - "plugin": "osquery", - "path": "x-pack/plugins/osquery/public/shared_components/services_wrapper.tsx" - }, - { - "plugin": "osquery", - "path": "x-pack/plugins/osquery/public/shared_components/services_wrapper.tsx" - }, - { - "plugin": "osquery", - "path": "x-pack/plugins/osquery/public/shared_components/services_wrapper.tsx" - }, - { - "plugin": "osquery", - "path": "x-pack/plugins/osquery/public/application.tsx" - }, - { - "plugin": "osquery", - "path": "x-pack/plugins/osquery/public/application.tsx" - }, - { - "plugin": "osquery", - "path": "x-pack/plugins/osquery/public/application.tsx" - }, - { - "plugin": "profiling", - "path": "x-pack/plugins/observability_solution/profiling/public/app.tsx" - }, - { - "plugin": "profiling", - "path": "x-pack/plugins/observability_solution/profiling/public/app.tsx" - }, - { - "plugin": "profiling", - "path": "x-pack/plugins/observability_solution/profiling/public/app.tsx" - }, - { - "plugin": "apm", - "path": "x-pack/plugins/apm/public/application/index.tsx" - }, - { - "plugin": "apm", - "path": "x-pack/plugins/apm/public/application/index.tsx" - }, - { - "plugin": "apm", - "path": "x-pack/plugins/apm/public/application/index.tsx" - }, - { - "plugin": "expressionImage", - "path": "src/plugins/expression_image/public/expression_renderers/image_renderer.tsx" + "plugin": "crossClusterReplication", + "path": "x-pack/plugins/cross_cluster_replication/public/shared_imports.ts" }, { - "plugin": "expressionImage", - "path": "src/plugins/expression_image/public/expression_renderers/image_renderer.tsx" + "plugin": "crossClusterReplication", + "path": "x-pack/plugins/cross_cluster_replication/public/app/index.tsx" }, { - "plugin": "expressionImage", - "path": "src/plugins/expression_image/public/expression_renderers/image_renderer.tsx" + "plugin": "crossClusterReplication", + "path": "x-pack/plugins/cross_cluster_replication/public/app/index.tsx" }, { - "plugin": "expressionMetric", - "path": "src/plugins/expression_metric/public/expression_renderers/metric_renderer.tsx" + "plugin": "crossClusterReplication", + "path": "x-pack/plugins/cross_cluster_replication/public/app/index.tsx" }, { - "plugin": "expressionMetric", - "path": "src/plugins/expression_metric/public/expression_renderers/metric_renderer.tsx" + "plugin": "graph", + "path": "x-pack/plugins/graph/public/application.tsx" }, { - "plugin": "expressionMetric", - "path": "src/plugins/expression_metric/public/expression_renderers/metric_renderer.tsx" + "plugin": "graph", + "path": "x-pack/plugins/graph/public/application.tsx" }, { - "plugin": "expressionError", - "path": "src/plugins/expression_error/public/expression_renderers/error_renderer.tsx" + "plugin": "graph", + "path": "x-pack/plugins/graph/public/application.tsx" }, { - "plugin": "expressionError", - "path": "src/plugins/expression_error/public/expression_renderers/error_renderer.tsx" + "plugin": "grokdebugger", + "path": "x-pack/plugins/grokdebugger/public/shared_imports.ts" }, { - "plugin": "expressionError", - "path": "src/plugins/expression_error/public/expression_renderers/error_renderer.tsx" + "plugin": "indexLifecycleManagement", + "path": "x-pack/plugins/index_lifecycle_management/public/shared_imports.ts" }, { - "plugin": "expressionError", - "path": "src/plugins/expression_error/public/expression_renderers/debug_renderer.tsx" + "plugin": "indexLifecycleManagement", + "path": "x-pack/plugins/index_lifecycle_management/public/application/index.tsx" }, { - "plugin": "expressionError", - "path": "src/plugins/expression_error/public/expression_renderers/debug_renderer.tsx" + "plugin": "indexLifecycleManagement", + "path": "x-pack/plugins/index_lifecycle_management/public/application/index.tsx" }, { - "plugin": "expressionError", - "path": "src/plugins/expression_error/public/expression_renderers/debug_renderer.tsx" + "plugin": "indexLifecycleManagement", + "path": "x-pack/plugins/index_lifecycle_management/public/application/index.tsx" }, { - "plugin": "expressionRevealImage", - "path": "src/plugins/expression_reveal_image/public/expression_renderers/reveal_image_renderer.tsx" + "plugin": "ingestPipelines", + "path": "x-pack/plugins/ingest_pipelines/public/shared_imports.ts" }, { - "plugin": "expressionRevealImage", - "path": "src/plugins/expression_reveal_image/public/expression_renderers/reveal_image_renderer.tsx" + "plugin": "ingestPipelines", + "path": "x-pack/plugins/ingest_pipelines/public/application/index.tsx" }, { - "plugin": "expressionRevealImage", - "path": "src/plugins/expression_reveal_image/public/expression_renderers/reveal_image_renderer.tsx" + "plugin": "ingestPipelines", + "path": "x-pack/plugins/ingest_pipelines/public/application/index.tsx" }, { - "plugin": "expressionRepeatImage", - "path": "src/plugins/expression_repeat_image/public/expression_renderers/repeat_image_renderer.tsx" + "plugin": "ingestPipelines", + "path": "x-pack/plugins/ingest_pipelines/public/application/index.tsx" }, { - "plugin": "expressionRepeatImage", - "path": "src/plugins/expression_repeat_image/public/expression_renderers/repeat_image_renderer.tsx" + "plugin": "logstash", + "path": "x-pack/plugins/logstash/public/application/index.tsx" }, { - "plugin": "expressionRepeatImage", - "path": "src/plugins/expression_repeat_image/public/expression_renderers/repeat_image_renderer.tsx" + "plugin": "logstash", + "path": "x-pack/plugins/logstash/public/application/index.tsx" }, { - "plugin": "expressionShape", - "path": "src/plugins/expression_shape/public/expression_renderers/shape_renderer.tsx" + "plugin": "logstash", + "path": "x-pack/plugins/logstash/public/application/index.tsx" }, { - "plugin": "expressionShape", - "path": "src/plugins/expression_shape/public/expression_renderers/shape_renderer.tsx" + "plugin": "metricsDataAccess", + "path": "x-pack/plugins/metrics_data_access/public/apps/common_providers.tsx" }, { - "plugin": "expressionShape", - "path": "src/plugins/expression_shape/public/expression_renderers/shape_renderer.tsx" + "plugin": "metricsDataAccess", + "path": "x-pack/plugins/metrics_data_access/public/apps/common_providers.tsx" }, { - "plugin": "expressionShape", - "path": "src/plugins/expression_shape/public/expression_renderers/progress_renderer.tsx" + "plugin": "metricsDataAccess", + "path": "x-pack/plugins/metrics_data_access/public/apps/common_providers.tsx" }, { - "plugin": "expressionShape", - "path": "src/plugins/expression_shape/public/expression_renderers/progress_renderer.tsx" + "plugin": "exploratoryView", + "path": "x-pack/plugins/observability_solution/exploratory_view/public/application/index.tsx" }, { - "plugin": "expressionShape", - "path": "src/plugins/expression_shape/public/expression_renderers/progress_renderer.tsx" + "plugin": "exploratoryView", + "path": "x-pack/plugins/observability_solution/exploratory_view/public/application/index.tsx" }, { - "plugin": "crossClusterReplication", - "path": "x-pack/plugins/cross_cluster_replication/public/shared_imports.ts" + "plugin": "exploratoryView", + "path": "x-pack/plugins/observability_solution/exploratory_view/public/application/index.tsx" }, { - "plugin": "crossClusterReplication", - "path": "x-pack/plugins/cross_cluster_replication/public/app/index.tsx" + "plugin": "osquery", + "path": "x-pack/plugins/osquery/public/shared_components/osquery_results/osquery_result_wrapper.tsx" }, { - "plugin": "crossClusterReplication", - "path": "x-pack/plugins/cross_cluster_replication/public/app/index.tsx" + "plugin": "osquery", + "path": "x-pack/plugins/osquery/public/shared_components/osquery_results/osquery_result_wrapper.tsx" }, { - "plugin": "crossClusterReplication", - "path": "x-pack/plugins/cross_cluster_replication/public/app/index.tsx" + "plugin": "osquery", + "path": "x-pack/plugins/osquery/public/shared_components/osquery_results/osquery_result_wrapper.tsx" }, { - "plugin": "graph", - "path": "x-pack/plugins/graph/public/application.tsx" + "plugin": "osquery", + "path": "x-pack/plugins/osquery/public/shared_imports.ts" }, { - "plugin": "graph", - "path": "x-pack/plugins/graph/public/application.tsx" + "plugin": "osquery", + "path": "x-pack/plugins/osquery/public/shared_components/osquery_results/osquery_results.tsx" }, { - "plugin": "graph", - "path": "x-pack/plugins/graph/public/application.tsx" + "plugin": "osquery", + "path": "x-pack/plugins/osquery/public/shared_components/osquery_results/osquery_results.tsx" }, { - "plugin": "grokdebugger", - "path": "x-pack/plugins/grokdebugger/public/shared_imports.ts" + "plugin": "osquery", + "path": "x-pack/plugins/osquery/public/shared_components/osquery_results/osquery_results.tsx" }, { - "plugin": "indexLifecycleManagement", - "path": "x-pack/plugins/index_lifecycle_management/public/shared_imports.ts" + "plugin": "osquery", + "path": "x-pack/plugins/osquery/public/shared_components/services_wrapper.tsx" }, { - "plugin": "indexLifecycleManagement", - "path": "x-pack/plugins/index_lifecycle_management/public/application/index.tsx" + "plugin": "osquery", + "path": "x-pack/plugins/osquery/public/shared_components/services_wrapper.tsx" }, { - "plugin": "indexLifecycleManagement", - "path": "x-pack/plugins/index_lifecycle_management/public/application/index.tsx" + "plugin": "osquery", + "path": "x-pack/plugins/osquery/public/shared_components/services_wrapper.tsx" }, { - "plugin": "indexLifecycleManagement", - "path": "x-pack/plugins/index_lifecycle_management/public/application/index.tsx" + "plugin": "osquery", + "path": "x-pack/plugins/osquery/public/application.tsx" }, { - "plugin": "infra", - "path": "x-pack/plugins/infra/public/apps/common_providers.tsx" + "plugin": "osquery", + "path": "x-pack/plugins/osquery/public/application.tsx" }, { - "plugin": "infra", - "path": "x-pack/plugins/infra/public/apps/common_providers.tsx" + "plugin": "osquery", + "path": "x-pack/plugins/osquery/public/application.tsx" }, { "plugin": "infra", - "path": "x-pack/plugins/infra/public/apps/common_providers.tsx" - }, - { - "plugin": "logstash", - "path": "x-pack/plugins/logstash/public/application/index.tsx" + "path": "x-pack/plugins/observability_solution/infra/public/apps/common_providers.tsx" }, { - "plugin": "logstash", - "path": "x-pack/plugins/logstash/public/application/index.tsx" + "plugin": "infra", + "path": "x-pack/plugins/observability_solution/infra/public/apps/common_providers.tsx" }, { - "plugin": "logstash", - "path": "x-pack/plugins/logstash/public/application/index.tsx" + "plugin": "infra", + "path": "x-pack/plugins/observability_solution/infra/public/apps/common_providers.tsx" }, { "plugin": "monitoring", @@ -1691,6 +1667,30 @@ "plugin": "cloudDataMigration", "path": "x-pack/plugins/cloud_integrations/cloud_data_migration/public/application/index.tsx" }, + { + "plugin": "profiling", + "path": "x-pack/plugins/observability_solution/profiling/public/app.tsx" + }, + { + "plugin": "profiling", + "path": "x-pack/plugins/observability_solution/profiling/public/app.tsx" + }, + { + "plugin": "profiling", + "path": "x-pack/plugins/observability_solution/profiling/public/app.tsx" + }, + { + "plugin": "apm", + "path": "x-pack/plugins/observability_solution/apm/public/application/index.tsx" + }, + { + "plugin": "apm", + "path": "x-pack/plugins/observability_solution/apm/public/application/index.tsx" + }, + { + "plugin": "apm", + "path": "x-pack/plugins/observability_solution/apm/public/application/index.tsx" + }, { "plugin": "observabilityOnboarding", "path": "x-pack/plugins/observability_solution/observability_onboarding/public/application/app.tsx" @@ -2785,12 +2785,12 @@ "path": "x-pack/plugins/observability_solution/observability_shared/public/components/header_menu/header_menu_portal.tsx" }, { - "plugin": "telemetry", - "path": "src/plugins/telemetry/public/services/telemetry_notifications/render_opt_in_status_notice_banner.tsx" + "plugin": "banners", + "path": "x-pack/plugins/banners/public/plugin.tsx" }, { - "plugin": "telemetry", - "path": "src/plugins/telemetry/public/services/telemetry_notifications/render_opt_in_status_notice_banner.tsx" + "plugin": "banners", + "path": "x-pack/plugins/banners/public/plugin.tsx" }, { "plugin": "maps", @@ -2801,192 +2801,184 @@ "path": "x-pack/plugins/maps/public/render_app.tsx" }, { - "plugin": "exploratoryView", - "path": "x-pack/plugins/observability_solution/exploratory_view/public/components/shared/exploratory_view/header/add_to_case_action.tsx" + "plugin": "@kbn/reporting-public", + "path": "packages/kbn-reporting/public/share/share_context_menu/reporting_panel_content/reporting_panel_content.tsx" }, { - "plugin": "exploratoryView", - "path": "x-pack/plugins/observability_solution/exploratory_view/public/components/shared/exploratory_view/header/add_to_case_action.tsx" + "plugin": "@kbn/reporting-public", + "path": "packages/kbn-reporting/public/share/share_context_menu/reporting_panel_content/reporting_panel_content.tsx" }, { - "plugin": "fleet", - "path": "x-pack/plugins/fleet/public/applications/integrations/hooks/use_confirm_open_unverified.tsx" + "plugin": "reporting", + "path": "x-pack/plugins/reporting/public/notifier/job_failure.tsx" }, { - "plugin": "fleet", - "path": "x-pack/plugins/fleet/public/applications/integrations/hooks/use_confirm_open_unverified.tsx" + "plugin": "reporting", + "path": "x-pack/plugins/reporting/public/notifier/job_failure.tsx" }, { - "plugin": "fleet", - "path": "x-pack/plugins/fleet/public/applications/integrations/hooks/use_package_install.tsx" + "plugin": "reporting", + "path": "x-pack/plugins/reporting/public/notifier/job_failure.tsx" }, { - "plugin": "fleet", - "path": "x-pack/plugins/fleet/public/applications/integrations/hooks/use_package_install.tsx" + "plugin": "reporting", + "path": "x-pack/plugins/reporting/public/notifier/general_error.tsx" }, { - "plugin": "fleet", - "path": "x-pack/plugins/fleet/public/applications/integrations/hooks/use_package_install.tsx" + "plugin": "reporting", + "path": "x-pack/plugins/reporting/public/notifier/general_error.tsx" }, { - "plugin": "fleet", - "path": "x-pack/plugins/fleet/public/applications/integrations/hooks/use_package_install.tsx" + "plugin": "reporting", + "path": "x-pack/plugins/reporting/public/notifier/job_success.tsx" }, { - "plugin": "fleet", - "path": "x-pack/plugins/fleet/public/applications/integrations/hooks/use_package_install.tsx" + "plugin": "reporting", + "path": "x-pack/plugins/reporting/public/notifier/job_success.tsx" }, { - "plugin": "fleet", - "path": "x-pack/plugins/fleet/public/applications/integrations/hooks/use_package_install.tsx" + "plugin": "reporting", + "path": "x-pack/plugins/reporting/public/notifier/job_success.tsx" }, { - "plugin": "fleet", - "path": "x-pack/plugins/fleet/public/applications/integrations/hooks/use_package_install.tsx" + "plugin": "reporting", + "path": "x-pack/plugins/reporting/public/notifier/job_warning_formulas.tsx" }, { - "plugin": "fleet", - "path": "x-pack/plugins/fleet/public/applications/integrations/hooks/use_package_install.tsx" + "plugin": "reporting", + "path": "x-pack/plugins/reporting/public/notifier/job_warning_formulas.tsx" }, { - "plugin": "fleet", - "path": "x-pack/plugins/fleet/public/applications/integrations/hooks/use_package_install.tsx" + "plugin": "reporting", + "path": "x-pack/plugins/reporting/public/notifier/job_warning_formulas.tsx" }, { - "plugin": "fleet", - "path": "x-pack/plugins/fleet/public/applications/integrations/hooks/use_package_install.tsx" + "plugin": "reporting", + "path": "x-pack/plugins/reporting/public/notifier/job_warning_max_size.tsx" }, { - "plugin": "fleet", - "path": "x-pack/plugins/fleet/public/applications/integrations/hooks/use_package_install.tsx" + "plugin": "reporting", + "path": "x-pack/plugins/reporting/public/notifier/job_warning_max_size.tsx" }, { - "plugin": "fleet", - "path": "x-pack/plugins/fleet/public/applications/integrations/hooks/use_confirm_force_install.tsx" + "plugin": "reporting", + "path": "x-pack/plugins/reporting/public/notifier/job_warning_max_size.tsx" }, { - "plugin": "fleet", - "path": "x-pack/plugins/fleet/public/applications/integrations/hooks/use_confirm_force_install.tsx" + "plugin": "reporting", + "path": "x-pack/plugins/reporting/public/notifier/job_warning.tsx" }, { - "plugin": "fleet", - "path": "x-pack/plugins/fleet/public/components/devtools_request_flyout/devtools_request_flyout.tsx" + "plugin": "reporting", + "path": "x-pack/plugins/reporting/public/notifier/job_warning.tsx" }, { - "plugin": "fleet", - "path": "x-pack/plugins/fleet/public/components/devtools_request_flyout/devtools_request_flyout.tsx" + "plugin": "reporting", + "path": "x-pack/plugins/reporting/public/notifier/job_warning.tsx" }, { - "plugin": "fleet", - "path": "x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/settings/update_button.tsx" + "plugin": "timelines", + "path": "x-pack/plugins/timelines/public/components/hover_actions/actions/add_to_timeline.tsx" }, { - "plugin": "fleet", - "path": "x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/settings/update_button.tsx" + "plugin": "timelines", + "path": "x-pack/plugins/timelines/public/components/hover_actions/actions/add_to_timeline.tsx" }, { "plugin": "fleet", - "path": "x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/settings/update_button.tsx" + "path": "x-pack/plugins/fleet/public/applications/integrations/hooks/use_confirm_open_unverified.tsx" }, { "plugin": "fleet", - "path": "x-pack/plugins/fleet/public/applications/integrations/components/header/header_portal.tsx" + "path": "x-pack/plugins/fleet/public/applications/integrations/hooks/use_confirm_open_unverified.tsx" }, { "plugin": "fleet", - "path": "x-pack/plugins/fleet/public/applications/integrations/components/header/header_portal.tsx" - }, - { - "plugin": "timelines", - "path": "x-pack/plugins/timelines/public/components/hover_actions/actions/add_to_timeline.tsx" - }, - { - "plugin": "timelines", - "path": "x-pack/plugins/timelines/public/components/hover_actions/actions/add_to_timeline.tsx" + "path": "x-pack/plugins/fleet/public/applications/integrations/hooks/use_package_install.tsx" }, { - "plugin": "banners", - "path": "x-pack/plugins/banners/public/plugin.tsx" + "plugin": "fleet", + "path": "x-pack/plugins/fleet/public/applications/integrations/hooks/use_package_install.tsx" }, { - "plugin": "banners", - "path": "x-pack/plugins/banners/public/plugin.tsx" + "plugin": "fleet", + "path": "x-pack/plugins/fleet/public/applications/integrations/hooks/use_package_install.tsx" }, { - "plugin": "@kbn/reporting-public", - "path": "packages/kbn-reporting/public/share/share_context_menu/reporting_panel_content/reporting_panel_content.tsx" + "plugin": "fleet", + "path": "x-pack/plugins/fleet/public/applications/integrations/hooks/use_package_install.tsx" }, { - "plugin": "@kbn/reporting-public", - "path": "packages/kbn-reporting/public/share/share_context_menu/reporting_panel_content/reporting_panel_content.tsx" + "plugin": "fleet", + "path": "x-pack/plugins/fleet/public/applications/integrations/hooks/use_package_install.tsx" }, { - "plugin": "reporting", - "path": "x-pack/plugins/reporting/public/notifier/job_failure.tsx" + "plugin": "fleet", + "path": "x-pack/plugins/fleet/public/applications/integrations/hooks/use_package_install.tsx" }, { - "plugin": "reporting", - "path": "x-pack/plugins/reporting/public/notifier/job_failure.tsx" + "plugin": "fleet", + "path": "x-pack/plugins/fleet/public/applications/integrations/hooks/use_package_install.tsx" }, { - "plugin": "reporting", - "path": "x-pack/plugins/reporting/public/notifier/job_failure.tsx" + "plugin": "fleet", + "path": "x-pack/plugins/fleet/public/applications/integrations/hooks/use_package_install.tsx" }, { - "plugin": "reporting", - "path": "x-pack/plugins/reporting/public/notifier/general_error.tsx" + "plugin": "fleet", + "path": "x-pack/plugins/fleet/public/applications/integrations/hooks/use_package_install.tsx" }, { - "plugin": "reporting", - "path": "x-pack/plugins/reporting/public/notifier/general_error.tsx" + "plugin": "fleet", + "path": "x-pack/plugins/fleet/public/applications/integrations/hooks/use_package_install.tsx" }, { - "plugin": "reporting", - "path": "x-pack/plugins/reporting/public/notifier/job_success.tsx" + "plugin": "fleet", + "path": "x-pack/plugins/fleet/public/applications/integrations/hooks/use_package_install.tsx" }, { - "plugin": "reporting", - "path": "x-pack/plugins/reporting/public/notifier/job_success.tsx" + "plugin": "fleet", + "path": "x-pack/plugins/fleet/public/applications/integrations/hooks/use_confirm_force_install.tsx" }, { - "plugin": "reporting", - "path": "x-pack/plugins/reporting/public/notifier/job_success.tsx" + "plugin": "fleet", + "path": "x-pack/plugins/fleet/public/applications/integrations/hooks/use_confirm_force_install.tsx" }, { - "plugin": "reporting", - "path": "x-pack/plugins/reporting/public/notifier/job_warning_formulas.tsx" + "plugin": "telemetry", + "path": "src/plugins/telemetry/public/services/telemetry_notifications/render_opt_in_status_notice_banner.tsx" }, { - "plugin": "reporting", - "path": "x-pack/plugins/reporting/public/notifier/job_warning_formulas.tsx" + "plugin": "telemetry", + "path": "src/plugins/telemetry/public/services/telemetry_notifications/render_opt_in_status_notice_banner.tsx" }, { - "plugin": "reporting", - "path": "x-pack/plugins/reporting/public/notifier/job_warning_formulas.tsx" + "plugin": "fleet", + "path": "x-pack/plugins/fleet/public/components/devtools_request_flyout/devtools_request_flyout.tsx" }, { - "plugin": "reporting", - "path": "x-pack/plugins/reporting/public/notifier/job_warning_max_size.tsx" + "plugin": "fleet", + "path": "x-pack/plugins/fleet/public/components/devtools_request_flyout/devtools_request_flyout.tsx" }, { - "plugin": "reporting", - "path": "x-pack/plugins/reporting/public/notifier/job_warning_max_size.tsx" + "plugin": "fleet", + "path": "x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/settings/update_button.tsx" }, { - "plugin": "reporting", - "path": "x-pack/plugins/reporting/public/notifier/job_warning_max_size.tsx" + "plugin": "fleet", + "path": "x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/settings/update_button.tsx" }, { - "plugin": "reporting", - "path": "x-pack/plugins/reporting/public/notifier/job_warning.tsx" + "plugin": "fleet", + "path": "x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/settings/update_button.tsx" }, { - "plugin": "reporting", - "path": "x-pack/plugins/reporting/public/notifier/job_warning.tsx" + "plugin": "fleet", + "path": "x-pack/plugins/fleet/public/applications/integrations/components/header/header_portal.tsx" }, { - "plugin": "reporting", - "path": "x-pack/plugins/reporting/public/notifier/job_warning.tsx" + "plugin": "fleet", + "path": "x-pack/plugins/fleet/public/applications/integrations/components/header/header_portal.tsx" }, { "plugin": "cloudSecurityPosture", @@ -3040,6 +3032,14 @@ "plugin": "graph", "path": "x-pack/plugins/graph/public/application.tsx" }, + { + "plugin": "exploratoryView", + "path": "x-pack/plugins/observability_solution/exploratory_view/public/components/shared/exploratory_view/header/add_to_case_action.tsx" + }, + { + "plugin": "exploratoryView", + "path": "x-pack/plugins/observability_solution/exploratory_view/public/components/shared/exploratory_view/header/add_to_case_action.tsx" + }, { "plugin": "monitoring", "path": "x-pack/plugins/monitoring/public/application/hooks/use_request_error_handler.tsx" diff --git a/api_docs/kibana_react.mdx b/api_docs/kibana_react.mdx index 4f33bf877061f..84d35b980be8a 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-02-23 +date: 2024-03-04 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'kibanaReact'] --- import kibanaReactObj from './kibana_react.devdocs.json'; diff --git a/api_docs/kibana_utils.mdx b/api_docs/kibana_utils.mdx index dd1b128bec849..61cbca16bcb12 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-02-23 +date: 2024-03-04 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 c7f9de887004e..50e024e334595 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-02-23 +date: 2024-03-04 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 74765c591cf0c..f44cc85b9bcfa 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-02-23 +date: 2024-03-04 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 54c40fd7e8158..e45364f240273 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-02-23 +date: 2024-03-04 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 a44140a0f22e5..e43dd05df64e9 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-02-23 +date: 2024-03-04 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 2bc54835757f2..a947dbbd1b67f 100644 --- a/api_docs/licensing.devdocs.json +++ b/api_docs/licensing.devdocs.json @@ -495,72 +495,72 @@ "trackAdoption": false, "references": [ { - "plugin": "apm", - "path": "x-pack/plugins/apm/common/license_check.test.ts" + "plugin": "fleet", + "path": "x-pack/plugins/fleet/common/services/agent_policy_config.test.ts" }, { - "plugin": "apm", - "path": "x-pack/plugins/apm/common/license_check.test.ts" + "plugin": "fleet", + "path": "x-pack/plugins/fleet/common/services/agent_policy_config.test.ts" }, { - "plugin": "apm", - "path": "x-pack/plugins/apm/common/license_check.test.ts" + "plugin": "fleet", + "path": "x-pack/plugins/fleet/server/services/agent_policy_watch.test.ts" }, { - "plugin": "apm", - "path": "x-pack/plugins/apm/common/license_check.test.ts" + "plugin": "fleet", + "path": "x-pack/plugins/fleet/server/services/agent_policy_watch.test.ts" }, { - "plugin": "apm", - "path": "x-pack/plugins/apm/common/license_check.test.ts" + "plugin": "fleet", + "path": "x-pack/plugins/fleet/server/services/agent_policy_watch.test.ts" }, { "plugin": "apm", - "path": "x-pack/plugins/apm/common/license_check.test.ts" + "path": "x-pack/plugins/observability_solution/apm/common/license_check.test.ts" }, { "plugin": "apm", - "path": "x-pack/plugins/apm/common/license_check.test.ts" + "path": "x-pack/plugins/observability_solution/apm/common/license_check.test.ts" }, { "plugin": "apm", - "path": "x-pack/plugins/apm/common/license_check.test.ts" + "path": "x-pack/plugins/observability_solution/apm/common/license_check.test.ts" }, { "plugin": "apm", - "path": "x-pack/plugins/apm/common/license_check.test.ts" + "path": "x-pack/plugins/observability_solution/apm/common/license_check.test.ts" }, { "plugin": "apm", - "path": "x-pack/plugins/apm/common/license_check.test.ts" + "path": "x-pack/plugins/observability_solution/apm/common/license_check.test.ts" }, { "plugin": "apm", - "path": "x-pack/plugins/apm/common/license_check.test.ts" + "path": "x-pack/plugins/observability_solution/apm/common/license_check.test.ts" }, { "plugin": "apm", - "path": "x-pack/plugins/apm/common/license_check.test.ts" + "path": "x-pack/plugins/observability_solution/apm/common/license_check.test.ts" }, { - "plugin": "fleet", - "path": "x-pack/plugins/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/plugins/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/plugins/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/plugins/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/plugins/fleet/server/services/agent_policy_watch.test.ts" + "plugin": "apm", + "path": "x-pack/plugins/observability_solution/apm/common/license_check.test.ts" }, { "plugin": "security", @@ -822,18 +822,6 @@ "plugin": "ml", "path": "x-pack/plugins/ml/public/plugin.ts" }, - { - "plugin": "observability", - "path": "x-pack/plugins/observability/public/plugin.ts" - }, - { - "plugin": "profiling", - "path": "x-pack/plugins/observability_solution/profiling/public/components/contexts/license/license_context.tsx" - }, - { - "plugin": "apm", - "path": "x-pack/plugins/apm/public/context/license/license_context.tsx" - }, { "plugin": "crossClusterReplication", "path": "x-pack/plugins/cross_cluster_replication/public/plugin.ts" @@ -842,6 +830,10 @@ "plugin": "logstash", "path": "x-pack/plugins/logstash/public/plugin.ts" }, + { + "plugin": "observability", + "path": "x-pack/plugins/observability_solution/observability/public/plugin.ts" + }, { "plugin": "painlessLab", "path": "x-pack/plugins/painless_lab/public/plugin.tsx" @@ -865,6 +857,14 @@ { "plugin": "watcher", "path": "x-pack/plugins/watcher/public/plugin.ts" + }, + { + "plugin": "profiling", + "path": "x-pack/plugins/observability_solution/profiling/public/components/contexts/license/license_context.tsx" + }, + { + "plugin": "apm", + "path": "x-pack/plugins/observability_solution/apm/public/context/license/license_context.tsx" } ] }, @@ -1808,72 +1808,72 @@ "trackAdoption": false, "references": [ { - "plugin": "apm", - "path": "x-pack/plugins/apm/common/license_check.test.ts" + "plugin": "fleet", + "path": "x-pack/plugins/fleet/common/services/agent_policy_config.test.ts" }, { - "plugin": "apm", - "path": "x-pack/plugins/apm/common/license_check.test.ts" + "plugin": "fleet", + "path": "x-pack/plugins/fleet/common/services/agent_policy_config.test.ts" }, { - "plugin": "apm", - "path": "x-pack/plugins/apm/common/license_check.test.ts" + "plugin": "fleet", + "path": "x-pack/plugins/fleet/server/services/agent_policy_watch.test.ts" }, { - "plugin": "apm", - "path": "x-pack/plugins/apm/common/license_check.test.ts" + "plugin": "fleet", + "path": "x-pack/plugins/fleet/server/services/agent_policy_watch.test.ts" }, { - "plugin": "apm", - "path": "x-pack/plugins/apm/common/license_check.test.ts" + "plugin": "fleet", + "path": "x-pack/plugins/fleet/server/services/agent_policy_watch.test.ts" }, { "plugin": "apm", - "path": "x-pack/plugins/apm/common/license_check.test.ts" + "path": "x-pack/plugins/observability_solution/apm/common/license_check.test.ts" }, { "plugin": "apm", - "path": "x-pack/plugins/apm/common/license_check.test.ts" + "path": "x-pack/plugins/observability_solution/apm/common/license_check.test.ts" }, { "plugin": "apm", - "path": "x-pack/plugins/apm/common/license_check.test.ts" + "path": "x-pack/plugins/observability_solution/apm/common/license_check.test.ts" }, { "plugin": "apm", - "path": "x-pack/plugins/apm/common/license_check.test.ts" + "path": "x-pack/plugins/observability_solution/apm/common/license_check.test.ts" }, { "plugin": "apm", - "path": "x-pack/plugins/apm/common/license_check.test.ts" + "path": "x-pack/plugins/observability_solution/apm/common/license_check.test.ts" }, { "plugin": "apm", - "path": "x-pack/plugins/apm/common/license_check.test.ts" + "path": "x-pack/plugins/observability_solution/apm/common/license_check.test.ts" }, { "plugin": "apm", - "path": "x-pack/plugins/apm/common/license_check.test.ts" + "path": "x-pack/plugins/observability_solution/apm/common/license_check.test.ts" }, { - "plugin": "fleet", - "path": "x-pack/plugins/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/plugins/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/plugins/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/plugins/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/plugins/fleet/server/services/agent_policy_watch.test.ts" + "plugin": "apm", + "path": "x-pack/plugins/observability_solution/apm/common/license_check.test.ts" }, { "plugin": "security", diff --git a/api_docs/licensing.mdx b/api_docs/licensing.mdx index d50c5e69a096b..24bbc97b4be6b 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-02-23 +date: 2024-03-04 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'licensing'] --- import licensingObj from './licensing.devdocs.json'; diff --git a/api_docs/links.mdx b/api_docs/links.mdx index 3b5bf4e1dd62d..4c95672226662 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-02-23 +date: 2024-03-04 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 e63782010f279..443ee1210a5af 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-02-23 +date: 2024-03-04 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'lists'] --- import listsObj from './lists.devdocs.json'; diff --git a/api_docs/logs_explorer.devdocs.json b/api_docs/logs_explorer.devdocs.json index 4c377f721d569..f6569623cc7a6 100644 --- a/api_docs/logs_explorer.devdocs.json +++ b/api_docs/logs_explorer.devdocs.json @@ -351,7 +351,7 @@ "signature": [ "Interpreter", "<(", - "WithDatasetSelection", + "WithDataSourceSelection", " & ", "WithControlPanels", " & ", @@ -371,7 +371,7 @@ "text": "DisplayOptions" }, ") | (", - "WithDatasetSelection", + "WithDataSourceSelection", " & ", "WithControlPanels", " & ", @@ -395,7 +395,7 @@ " & ", "WithDiscoverStateContainer", ") | (", - "WithDatasetSelection", + "WithDataSourceSelection", " & ", "WithControlPanels", " & ", @@ -417,7 +417,7 @@ " & ", "WithDiscoverStateContainer", ") | (", - "WithDatasetSelection", + "WithDataSourceSelection", " & ", "WithControlPanelGroupAPI", " & ", @@ -495,7 +495,7 @@ "signature": [ "StateMachine", "<(", - "WithDatasetSelection", + "WithDataSourceSelection", " & ", "WithControlPanels", " & ", @@ -515,7 +515,7 @@ "text": "DisplayOptions" }, ") | (", - "WithDatasetSelection", + "WithDataSourceSelection", " & ", "WithControlPanels", " & ", @@ -539,7 +539,7 @@ " & ", "WithDiscoverStateContainer", ") | (", - "WithDatasetSelection", + "WithDataSourceSelection", " & ", "WithControlPanels", " & ", @@ -561,7 +561,7 @@ " & ", "WithDiscoverStateContainer", ") | (", - "WithDatasetSelection", + "WithDataSourceSelection", " & ", "WithControlPanelGroupAPI", " & ", @@ -849,7 +849,7 @@ "description": [], "signature": [ "(", - "WithDatasetSelection", + "WithDataSourceSelection", " & ", "WithControlPanels", " & ", @@ -869,7 +869,7 @@ "text": "DisplayOptions" }, ") | (", - "WithDatasetSelection", + "WithDataSourceSelection", " & ", "WithControlPanels", " & ", @@ -893,7 +893,7 @@ " & ", "WithDiscoverStateContainer", ") | (", - "WithDatasetSelection", + "WithDataSourceSelection", " & ", "WithControlPanels", " & ", @@ -915,7 +915,7 @@ " & ", "WithDiscoverStateContainer", ") | (", - "WithDatasetSelection", + "WithDataSourceSelection", " & ", "WithControlPanelGroupAPI", " & ", @@ -972,7 +972,7 @@ }, " & { controls: ", "ControlOptions", - "; datasetSelection: { selectionType: \"all\"; } | { selectionType: \"dataView\"; selection: { dataView: { id: string; } & { dataType?: \"unknown\" | \"logs\" | \"unresolved\" | undefined; kibanaSpaces?: string[] | undefined; name?: string | undefined; title?: string | undefined; type?: string | undefined; }; }; } | { selectionType: \"single\"; selection: { name?: string | undefined; } & { title?: string | undefined; } & { version?: string | undefined; } & { dataset: { name: ", + "; dataSourceSelection: { selectionType: \"all\"; } | { selectionType: \"dataView\"; selection: { dataView: { id: string; } & { dataType?: \"unknown\" | \"logs\" | \"unresolved\" | undefined; kibanaSpaces?: string[] | undefined; name?: string | undefined; title?: string | undefined; type?: string | undefined; }; }; } | { selectionType: \"single\"; selection: { name?: string | undefined; } & { title?: string | undefined; } & { version?: string | undefined; } & { dataset: { name: ", "Branded", " ", "DataViewSpecWithId" ], - "path": "x-pack/plugins/observability_solution/logs_explorer/common/dataset_selection/all_dataset_selection.ts", + "path": "x-pack/plugins/observability_solution/logs_explorer/common/data_source_selection/all_dataset_selection.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -1252,7 +1252,7 @@ "signature": [ "() => { selectionType: \"all\"; }" ], - "path": "x-pack/plugins/observability_solution/logs_explorer/common/dataset_selection/all_dataset_selection.ts", + "path": "x-pack/plugins/observability_solution/logs_explorer/common/data_source_selection/all_dataset_selection.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -1275,7 +1275,7 @@ "text": "AllDatasetSelection" } ], - "path": "x-pack/plugins/observability_solution/logs_explorer/common/dataset_selection/all_dataset_selection.ts", + "path": "x-pack/plugins/observability_solution/logs_explorer/common/data_source_selection/all_dataset_selection.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -1300,9 +1300,9 @@ "text": "DataViewSelection" }, " implements ", - "DatasetSelectionStrategy" + "DataSourceSelectionStrategy" ], - "path": "x-pack/plugins/observability_solution/logs_explorer/common/dataset_selection/data_view_selection.ts", + "path": "x-pack/plugins/observability_solution/logs_explorer/common/data_source_selection/data_view_selection.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1316,7 +1316,7 @@ "signature": [ "\"dataView\"" ], - "path": "x-pack/plugins/observability_solution/logs_explorer/common/dataset_selection/data_view_selection.ts", + "path": "x-pack/plugins/observability_solution/logs_explorer/common/data_source_selection/data_view_selection.ts", "deprecated": false, "trackAdoption": false }, @@ -1332,7 +1332,7 @@ "DataViewDescriptor", "; }" ], - "path": "x-pack/plugins/observability_solution/logs_explorer/common/dataset_selection/data_view_selection.ts", + "path": "x-pack/plugins/observability_solution/logs_explorer/common/data_source_selection/data_view_selection.ts", "deprecated": false, "trackAdoption": false }, @@ -1347,7 +1347,7 @@ "() => ", "DataViewSpecWithId" ], - "path": "x-pack/plugins/observability_solution/logs_explorer/common/dataset_selection/data_view_selection.ts", + "path": "x-pack/plugins/observability_solution/logs_explorer/common/data_source_selection/data_view_selection.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -1363,7 +1363,7 @@ "signature": [ "() => { selectionType: \"dataView\"; selection: { dataView: { id: string; dataType: \"unknown\" | \"logs\" | \"unresolved\" | undefined; name: string | undefined; title: string | undefined; }; }; }" ], - "path": "x-pack/plugins/observability_solution/logs_explorer/common/dataset_selection/data_view_selection.ts", + "path": "x-pack/plugins/observability_solution/logs_explorer/common/data_source_selection/data_view_selection.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -1386,7 +1386,7 @@ "text": "DataViewSelection" } ], - "path": "x-pack/plugins/observability_solution/logs_explorer/common/dataset_selection/data_view_selection.ts", + "path": "x-pack/plugins/observability_solution/logs_explorer/common/data_source_selection/data_view_selection.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1400,7 +1400,7 @@ "signature": [ "{ dataView: { id: string; } & { dataType?: \"unknown\" | \"logs\" | \"unresolved\" | undefined; kibanaSpaces?: string[] | undefined; name?: string | undefined; title?: string | undefined; type?: string | undefined; }; }" ], - "path": "x-pack/plugins/observability_solution/logs_explorer/common/dataset_selection/data_view_selection.ts", + "path": "x-pack/plugins/observability_solution/logs_explorer/common/data_source_selection/data_view_selection.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1427,7 +1427,7 @@ "text": "DataViewSelection" } ], - "path": "x-pack/plugins/observability_solution/logs_explorer/common/dataset_selection/data_view_selection.ts", + "path": "x-pack/plugins/observability_solution/logs_explorer/common/data_source_selection/data_view_selection.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1441,7 +1441,7 @@ "signature": [ "DataViewDescriptor" ], - "path": "x-pack/plugins/observability_solution/logs_explorer/common/dataset_selection/data_view_selection.ts", + "path": "x-pack/plugins/observability_solution/logs_explorer/common/data_source_selection/data_view_selection.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1468,9 +1468,9 @@ "text": "UnresolvedDatasetSelection" }, " implements ", - "DatasetSelectionStrategy" + "DataSourceSelectionStrategy" ], - "path": "x-pack/plugins/observability_solution/logs_explorer/common/dataset_selection/unresolved_dataset_selection.ts", + "path": "x-pack/plugins/observability_solution/logs_explorer/common/data_source_selection/unresolved_dataset_selection.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1484,7 +1484,7 @@ "signature": [ "\"unresolved\"" ], - "path": "x-pack/plugins/observability_solution/logs_explorer/common/dataset_selection/unresolved_dataset_selection.ts", + "path": "x-pack/plugins/observability_solution/logs_explorer/common/data_source_selection/unresolved_dataset_selection.ts", "deprecated": false, "trackAdoption": false }, @@ -1500,7 +1500,7 @@ "Dataset", "; }" ], - "path": "x-pack/plugins/observability_solution/logs_explorer/common/dataset_selection/unresolved_dataset_selection.ts", + "path": "x-pack/plugins/observability_solution/logs_explorer/common/data_source_selection/unresolved_dataset_selection.ts", "deprecated": false, "trackAdoption": false }, @@ -1515,7 +1515,7 @@ "() => ", "DataViewSpecWithId" ], - "path": "x-pack/plugins/observability_solution/logs_explorer/common/dataset_selection/unresolved_dataset_selection.ts", + "path": "x-pack/plugins/observability_solution/logs_explorer/common/data_source_selection/unresolved_dataset_selection.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -1535,7 +1535,7 @@ "IndexPatternBrand", ">; title: string; }; }; }" ], - "path": "x-pack/plugins/observability_solution/logs_explorer/common/dataset_selection/unresolved_dataset_selection.ts", + "path": "x-pack/plugins/observability_solution/logs_explorer/common/data_source_selection/unresolved_dataset_selection.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -1562,7 +1562,7 @@ "text": "UnresolvedDatasetSelection" } ], - "path": "x-pack/plugins/observability_solution/logs_explorer/common/dataset_selection/unresolved_dataset_selection.ts", + "path": "x-pack/plugins/observability_solution/logs_explorer/common/data_source_selection/unresolved_dataset_selection.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1580,7 +1580,7 @@ "IndexPatternBrand", ">; } & { title?: string | undefined; }; }" ], - "path": "x-pack/plugins/observability_solution/logs_explorer/common/dataset_selection/unresolved_dataset_selection.ts", + "path": "x-pack/plugins/observability_solution/logs_explorer/common/data_source_selection/unresolved_dataset_selection.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1607,7 +1607,7 @@ "text": "UnresolvedDatasetSelection" } ], - "path": "x-pack/plugins/observability_solution/logs_explorer/common/dataset_selection/unresolved_dataset_selection.ts", + "path": "x-pack/plugins/observability_solution/logs_explorer/common/data_source_selection/unresolved_dataset_selection.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1621,7 +1621,7 @@ "signature": [ "Dataset" ], - "path": "x-pack/plugins/observability_solution/logs_explorer/common/dataset_selection/unresolved_dataset_selection.ts", + "path": "x-pack/plugins/observability_solution/logs_explorer/common/data_source_selection/unresolved_dataset_selection.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1636,13 +1636,13 @@ "functions": [ { "parentPluginId": "logsExplorer", - "id": "def-common.hydrateDatasetSelection", + "id": "def-common.hydrateDataSourceSelection", "type": "Function", "tags": [], - "label": "hydrateDatasetSelection", + "label": "hydrateDataSourceSelection", "description": [], "signature": [ - "(datasetSelection: { selectionType: \"all\"; } | { selectionType: \"dataView\"; selection: { dataView: { id: string; } & { dataType?: \"unknown\" | \"logs\" | \"unresolved\" | undefined; kibanaSpaces?: string[] | undefined; name?: string | undefined; title?: string | undefined; type?: string | undefined; }; }; } | { selectionType: \"single\"; selection: { name?: string | undefined; } & { title?: string | undefined; } & { version?: string | undefined; } & { dataset: { name: ", + "(dataSourceSelection: { selectionType: \"all\"; } | { selectionType: \"dataView\"; selection: { dataView: { id: string; } & { dataType?: \"unknown\" | \"logs\" | \"unresolved\" | undefined; kibanaSpaces?: string[] | undefined; name?: string | undefined; title?: string | undefined; type?: string | undefined; }; }; } | { selectionType: \"single\"; selection: { name?: string | undefined; } & { title?: string | undefined; } & { version?: string | undefined; } & { dataset: { name: ", "Branded", "; } & { title?: string | undefined; }; }; }" ], - "path": "x-pack/plugins/observability_solution/logs_explorer/common/dataset_selection/hydrate_dataset_selection.ts.ts", + "path": "x-pack/plugins/observability_solution/logs_explorer/common/data_source_selection/hydrate_data_source_selection.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1719,7 +1719,7 @@ "(input: any) => input is ", "DatasetSelection" ], - "path": "x-pack/plugins/observability_solution/logs_explorer/common/dataset_selection/index.ts", + "path": "x-pack/plugins/observability_solution/logs_explorer/common/data_source_selection/index.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1733,7 +1733,41 @@ "signature": [ "any" ], - "path": "x-pack/plugins/observability_solution/logs_explorer/common/dataset_selection/index.ts", + "path": "x-pack/plugins/observability_solution/logs_explorer/common/data_source_selection/index.ts", + "deprecated": false, + "trackAdoption": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "logsExplorer", + "id": "def-common.isDataSourceSelection", + "type": "Function", + "tags": [], + "label": "isDataSourceSelection", + "description": [], + "signature": [ + "(input: any) => input is ", + "DataSourceSelection" + ], + "path": "x-pack/plugins/observability_solution/logs_explorer/common/data_source_selection/index.ts", + "deprecated": false, + "trackAdoption": false, + "children": [ + { + "parentPluginId": "logsExplorer", + "id": "def-common.isDataSourceSelection.$1", + "type": "Any", + "tags": [], + "label": "input", + "description": [], + "signature": [ + "any" + ], + "path": "x-pack/plugins/observability_solution/logs_explorer/common/data_source_selection/index.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1759,7 +1793,7 @@ "text": "DataViewSelection" } ], - "path": "x-pack/plugins/observability_solution/logs_explorer/common/dataset_selection/index.ts", + "path": "x-pack/plugins/observability_solution/logs_explorer/common/data_source_selection/index.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1773,7 +1807,7 @@ "signature": [ "any" ], - "path": "x-pack/plugins/observability_solution/logs_explorer/common/dataset_selection/index.ts", + "path": "x-pack/plugins/observability_solution/logs_explorer/common/data_source_selection/index.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1799,7 +1833,7 @@ "text": "UnresolvedDatasetSelection" } ], - "path": "x-pack/plugins/observability_solution/logs_explorer/common/dataset_selection/index.ts", + "path": "x-pack/plugins/observability_solution/logs_explorer/common/data_source_selection/index.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1813,7 +1847,7 @@ "signature": [ "any" ], - "path": "x-pack/plugins/observability_solution/logs_explorer/common/dataset_selection/index.ts", + "path": "x-pack/plugins/observability_solution/logs_explorer/common/data_source_selection/index.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -2128,10 +2162,10 @@ }, { "parentPluginId": "logsExplorer", - "id": "def-common.DatasetSelectionPlain", + "id": "def-common.DataSourceSelectionPlain", "type": "Type", "tags": [], - "label": "DatasetSelectionPlain", + "label": "DataSourceSelectionPlain", "description": [], "signature": [ "{ selectionType: \"all\"; } | { selectionType: \"dataView\"; selection: { dataView: { id: string; } & { dataType?: \"unknown\" | \"logs\" | \"unresolved\" | undefined; kibanaSpaces?: string[] | undefined; name?: string | undefined; title?: string | undefined; type?: string | undefined; }; }; } | { selectionType: \"single\"; selection: { name?: string | undefined; } & { title?: string | undefined; } & { version?: string | undefined; } & { dataset: { name: ", @@ -2144,7 +2178,7 @@ "IndexPatternBrand", ">; } & { title?: string | undefined; }; }; }" ], - "path": "x-pack/plugins/observability_solution/logs_explorer/common/dataset_selection/types.ts", + "path": "x-pack/plugins/observability_solution/logs_explorer/common/data_source_selection/types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -2491,10 +2525,10 @@ }, { "parentPluginId": "logsExplorer", - "id": "def-common.datasetSelectionPlainRT", + "id": "def-common.dataSourceSelectionPlainRT", "type": "Object", "tags": [], - "label": "datasetSelectionPlainRT", + "label": "dataSourceSelectionPlainRT", "description": [], "signature": [ "UnionC", @@ -2596,7 +2630,7 @@ "StringC", "; }>]>>; }>]>; }>]>" ], - "path": "x-pack/plugins/observability_solution/logs_explorer/common/dataset_selection/types.ts", + "path": "x-pack/plugins/observability_solution/logs_explorer/common/data_source_selection/types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false diff --git a/api_docs/logs_explorer.mdx b/api_docs/logs_explorer.mdx index 55b0991b8ea28..f230f0d740807 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-02-23 +date: 2024-03-04 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'logsExplorer'] --- import logsExplorerObj from './logs_explorer.devdocs.json'; @@ -21,7 +21,7 @@ Contact [@elastic/obs-ux-logs-team](https://github.com/orgs/elastic/teams/obs-ux | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 119 | 3 | 119 | 22 | +| 121 | 4 | 121 | 23 | ## Client diff --git a/api_docs/logs_shared.mdx b/api_docs/logs_shared.mdx index daa502bd24c73..b5751776482cc 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-02-23 +date: 2024-03-04 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'logsShared'] --- import logsSharedObj from './logs_shared.devdocs.json'; diff --git a/api_docs/management.mdx b/api_docs/management.mdx index 7b657d6878e21..69f2969fb3ecb 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-02-23 +date: 2024-03-04 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'management'] --- import managementObj from './management.devdocs.json'; diff --git a/api_docs/maps.mdx b/api_docs/maps.mdx index 004bf12b84685..cca8547de9bf4 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-02-23 +date: 2024-03-04 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'maps'] --- import mapsObj from './maps.devdocs.json'; diff --git a/api_docs/maps_ems.mdx b/api_docs/maps_ems.mdx index 59056093c148c..06febf8784fa4 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-02-23 +date: 2024-03-04 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'mapsEms'] --- import mapsEmsObj from './maps_ems.devdocs.json'; diff --git a/api_docs/metrics_data_access.mdx b/api_docs/metrics_data_access.mdx index 969c3cbe3b5ec..61e3b3cfc7aea 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-02-23 +date: 2024-03-04 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'metricsDataAccess'] --- import metricsDataAccessObj from './metrics_data_access.devdocs.json'; diff --git a/api_docs/ml.devdocs.json b/api_docs/ml.devdocs.json index db72af477ed0c..c3033b6f1cdf5 100644 --- a/api_docs/ml.devdocs.json +++ b/api_docs/ml.devdocs.json @@ -1209,7 +1209,9 @@ "section": "def-common.DataFrameAnalyticsConfig", "text": "DataFrameAnalyticsConfig" }, - ">, createDataView?: boolean, timeFieldName?: string | undefined): Promise; updateDataFrameAnalytics(analyticsId: string, updateConfig: ", + ">, createDataView?: boolean, timeFieldName?: string | undefined): Promise<", + "PutDataFrameAnalyticsResponseSchema", + ">; updateDataFrameAnalytics(analyticsId: string, updateConfig: ", { "pluginId": "@kbn/ml-data-frame-analytics-utils", "scope": "common", diff --git a/api_docs/ml.mdx b/api_docs/ml.mdx index 3f02eb1d1fed1..3f22dcf15d4cc 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-02-23 +date: 2024-03-04 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'ml'] --- import mlObj from './ml.devdocs.json'; @@ -21,7 +21,7 @@ Contact [@elastic/ml-ui](https://github.com/orgs/elastic/teams/ml-ui) for questi | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 151 | 3 | 65 | 95 | +| 151 | 3 | 65 | 96 | ## Client diff --git a/api_docs/mock_idp_plugin.mdx b/api_docs/mock_idp_plugin.mdx index ea7686baa8022..85b7f852098f7 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-02-23 +date: 2024-03-04 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'mockIdpPlugin'] --- import mockIdpPluginObj from './mock_idp_plugin.devdocs.json'; diff --git a/api_docs/monitoring.mdx b/api_docs/monitoring.mdx index 4f936e5b082b1..18048ec3ed7a6 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-02-23 +date: 2024-03-04 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'monitoring'] --- import monitoringObj from './monitoring.devdocs.json'; diff --git a/api_docs/monitoring_collection.mdx b/api_docs/monitoring_collection.mdx index a854b01e31294..5d9bfa5146bd8 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-02-23 +date: 2024-03-04 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 3e1248c61340a..29d4867773a5a 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-02-23 +date: 2024-03-04 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 2917ac609ad5c..268cfb88b4ff4 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-02-23 +date: 2024-03-04 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 8982d56186989..3e4a267a76768 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-02-23 +date: 2024-03-04 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 ea21541e46242..eef19c42ac6a1 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-02-23 +date: 2024-03-04 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 57e00f4cbd294..93bfd434cf304 100644 --- a/api_docs/observability.devdocs.json +++ b/api_docs/observability.devdocs.json @@ -19,7 +19,7 @@ }, " extends React.Component" ], - "path": "x-pack/plugins/observability/public/components/rule_kql_filter/autocomplete_field/autocomplete_field.tsx", + "path": "x-pack/plugins/observability_solution/observability/public/components/rule_kql_filter/autocomplete_field/autocomplete_field.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -30,7 +30,7 @@ "tags": [], "label": "state", "description": [], - "path": "x-pack/plugins/observability/public/components/rule_kql_filter/autocomplete_field/autocomplete_field.tsx", + "path": "x-pack/plugins/observability_solution/observability/public/components/rule_kql_filter/autocomplete_field/autocomplete_field.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -44,7 +44,7 @@ "signature": [ "false" ], - "path": "x-pack/plugins/observability/public/components/rule_kql_filter/autocomplete_field/autocomplete_field.tsx", + "path": "x-pack/plugins/observability_solution/observability/public/components/rule_kql_filter/autocomplete_field/autocomplete_field.tsx", "deprecated": false, "trackAdoption": false }, @@ -58,7 +58,7 @@ "signature": [ "false" ], - "path": "x-pack/plugins/observability/public/components/rule_kql_filter/autocomplete_field/autocomplete_field.tsx", + "path": "x-pack/plugins/observability_solution/observability/public/components/rule_kql_filter/autocomplete_field/autocomplete_field.tsx", "deprecated": false, "trackAdoption": false }, @@ -72,7 +72,7 @@ "signature": [ "null" ], - "path": "x-pack/plugins/observability/public/components/rule_kql_filter/autocomplete_field/autocomplete_field.tsx", + "path": "x-pack/plugins/observability_solution/observability/public/components/rule_kql_filter/autocomplete_field/autocomplete_field.tsx", "deprecated": false, "trackAdoption": false } @@ -88,7 +88,7 @@ "signature": [ "() => JSX.Element" ], - "path": "x-pack/plugins/observability/public/components/rule_kql_filter/autocomplete_field/autocomplete_field.tsx", + "path": "x-pack/plugins/observability_solution/observability/public/components/rule_kql_filter/autocomplete_field/autocomplete_field.tsx", "deprecated": false, "trackAdoption": false, "children": [], @@ -104,7 +104,7 @@ "signature": [ "() => void" ], - "path": "x-pack/plugins/observability/public/components/rule_kql_filter/autocomplete_field/autocomplete_field.tsx", + "path": "x-pack/plugins/observability_solution/observability/public/components/rule_kql_filter/autocomplete_field/autocomplete_field.tsx", "deprecated": false, "trackAdoption": false, "children": [], @@ -120,7 +120,7 @@ "signature": [ "(prevProps: AutocompleteFieldProps) => void" ], - "path": "x-pack/plugins/observability/public/components/rule_kql_filter/autocomplete_field/autocomplete_field.tsx", + "path": "x-pack/plugins/observability_solution/observability/public/components/rule_kql_filter/autocomplete_field/autocomplete_field.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -134,7 +134,7 @@ "signature": [ "AutocompleteFieldProps" ], - "path": "x-pack/plugins/observability/public/components/rule_kql_filter/autocomplete_field/autocomplete_field.tsx", + "path": "x-pack/plugins/observability_solution/observability/public/components/rule_kql_filter/autocomplete_field/autocomplete_field.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -157,7 +157,7 @@ "signature": [ "({ alertSummaryFields }: AlertSummaryProps) => JSX.Element" ], - "path": "x-pack/plugins/observability/public/pages/alert_details/components/alert_summary.tsx", + "path": "x-pack/plugins/observability_solution/observability/public/pages/alert_details/components/alert_summary.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -171,7 +171,7 @@ "signature": [ "AlertSummaryProps" ], - "path": "x-pack/plugins/observability/public/pages/alert_details/components/alert_summary.tsx", + "path": "x-pack/plugins/observability_solution/observability/public/pages/alert_details/components/alert_summary.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -207,7 +207,7 @@ ") => ", "BucketSize" ], - "path": "x-pack/plugins/observability/public/pages/overview/helpers/calculate_bucket_size.ts", + "path": "x-pack/plugins/observability_solution/observability/public/pages/overview/helpers/calculate_bucket_size.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -227,7 +227,7 @@ "text": "TimeRange" } ], - "path": "x-pack/plugins/observability/public/pages/overview/helpers/calculate_bucket_size.ts", + "path": "x-pack/plugins/observability_solution/observability/public/pages/overview/helpers/calculate_bucket_size.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -248,7 +248,7 @@ "text": "TimeBuckets" } ], - "path": "x-pack/plugins/observability/public/pages/overview/helpers/calculate_bucket_size.ts", + "path": "x-pack/plugins/observability_solution/observability/public/pages/overview/helpers/calculate_bucket_size.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -271,7 +271,7 @@ "Maybe", "; defaultValue?: string | undefined; extended?: boolean | undefined; }) => ConvertedDuration" ], - "path": "x-pack/plugins/observability/common/utils/formatters/duration.ts", + "path": "x-pack/plugins/observability_solution/observability/common/utils/formatters/duration.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -282,7 +282,7 @@ "tags": [], "label": "{\n unit,\n microseconds,\n defaultValue = NOT_AVAILABLE_LABEL,\n extended,\n}", "description": [], - "path": "x-pack/plugins/observability/common/utils/formatters/duration.ts", + "path": "x-pack/plugins/observability_solution/observability/common/utils/formatters/duration.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -297,7 +297,7 @@ "\"microseconds\" | ", "TimeUnit" ], - "path": "x-pack/plugins/observability/common/utils/formatters/duration.ts", + "path": "x-pack/plugins/observability_solution/observability/common/utils/formatters/duration.ts", "deprecated": false, "trackAdoption": false }, @@ -311,7 +311,7 @@ "signature": [ "number | null | undefined" ], - "path": "x-pack/plugins/observability/common/utils/formatters/duration.ts", + "path": "x-pack/plugins/observability_solution/observability/common/utils/formatters/duration.ts", "deprecated": false, "trackAdoption": false }, @@ -325,7 +325,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/observability/common/utils/formatters/duration.ts", + "path": "x-pack/plugins/observability_solution/observability/common/utils/formatters/duration.ts", "deprecated": false, "trackAdoption": false }, @@ -339,7 +339,7 @@ "signature": [ "boolean | undefined" ], - "path": "x-pack/plugins/observability/common/utils/formatters/duration.ts", + "path": "x-pack/plugins/observability_solution/observability/common/utils/formatters/duration.ts", "deprecated": false, "trackAdoption": false } @@ -375,7 +375,7 @@ }, " | undefined; list: () => string[]; } & { getFormatter: () => () => string; registerFormatter: () => void; list: () => string[]; }" ], - "path": "x-pack/plugins/observability/public/rules/observability_rule_type_registry_mock.ts", + "path": "x-pack/plugins/observability_solution/observability/public/rules/observability_rule_type_registry_mock.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -401,7 +401,7 @@ ") => ", "LinkProps" ], - "path": "x-pack/plugins/observability/public/hooks/create_use_rules_link.ts", + "path": "x-pack/plugins/observability_solution/observability/public/hooks/create_use_rules_link.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -418,7 +418,7 @@ "signature": [ "({\n rangeFrom,\n rangeTo,\n refreshPaused,\n refreshInterval,\n width = 'restricted',\n onTimeRangeRefresh,\n}: DatePickerProps) => JSX.Element" ], - "path": "x-pack/plugins/observability/public/pages/overview/components/date_picker/date_picker.tsx", + "path": "x-pack/plugins/observability_solution/observability/public/pages/overview/components/date_picker/date_picker.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -432,7 +432,7 @@ "signature": [ "DatePickerProps" ], - "path": "x-pack/plugins/observability/public/pages/overview/components/date_picker/date_picker.tsx", + "path": "x-pack/plugins/observability_solution/observability/public/pages/overview/components/date_picker/date_picker.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -451,7 +451,7 @@ "signature": [ "({ children }: { children: React.ReactElement>; }) => JSX.Element" ], - "path": "x-pack/plugins/observability/public/context/date_picker_context/date_picker_context.tsx", + "path": "x-pack/plugins/observability_solution/observability/public/context/date_picker_context/date_picker_context.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -462,7 +462,7 @@ "tags": [], "label": "{ children }", "description": [], - "path": "x-pack/plugins/observability/public/context/date_picker_context/date_picker_context.tsx", + "path": "x-pack/plugins/observability_solution/observability/public/context/date_picker_context/date_picker_context.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -476,7 +476,7 @@ "signature": [ "React.ReactElement>" ], - "path": "x-pack/plugins/observability/public/context/date_picker_context/date_picker_context.tsx", + "path": "x-pack/plugins/observability_solution/observability/public/context/date_picker_context/date_picker_context.tsx", "deprecated": false, "trackAdoption": false } @@ -496,7 +496,7 @@ "signature": [ "(ruleTypeId?: string | undefined, evaluationValue?: number | undefined) => string | number" ], - "path": "x-pack/plugins/observability/public/utils/format_alert_evaluation_value.ts", + "path": "x-pack/plugins/observability_solution/observability/public/utils/format_alert_evaluation_value.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -510,7 +510,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/observability/public/utils/format_alert_evaluation_value.ts", + "path": "x-pack/plugins/observability_solution/observability/public/utils/format_alert_evaluation_value.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -525,7 +525,7 @@ "signature": [ "number | undefined" ], - "path": "x-pack/plugins/observability/public/utils/format_alert_evaluation_value.ts", + "path": "x-pack/plugins/observability_solution/observability/public/utils/format_alert_evaluation_value.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -544,7 +544,7 @@ "signature": [ "(query: Record) => string" ], - "path": "x-pack/plugins/observability/public/utils/url.ts", + "path": "x-pack/plugins/observability_solution/observability/public/utils/url.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -558,7 +558,7 @@ "signature": [ "Record" ], - "path": "x-pack/plugins/observability/public/utils/url.ts", + "path": "x-pack/plugins/observability_solution/observability/public/utils/url.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -592,7 +592,7 @@ "text": "AlertSummaryTimeRange" } ], - "path": "x-pack/plugins/observability/public/utils/alert_summary_widget/get_alert_summary_time_range.tsx", + "path": "x-pack/plugins/observability_solution/observability/public/utils/alert_summary_widget/get_alert_summary_time_range.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -612,7 +612,7 @@ "text": "TimeRange" } ], - "path": "x-pack/plugins/observability/public/utils/alert_summary_widget/get_alert_summary_time_range.tsx", + "path": "x-pack/plugins/observability_solution/observability/public/utils/alert_summary_widget/get_alert_summary_time_range.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -627,7 +627,7 @@ "signature": [ "string" ], - "path": "x-pack/plugins/observability/public/utils/alert_summary_widget/get_alert_summary_time_range.tsx", + "path": "x-pack/plugins/observability_solution/observability/public/utils/alert_summary_widget/get_alert_summary_time_range.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -642,7 +642,7 @@ "signature": [ "string" ], - "path": "x-pack/plugins/observability/public/utils/alert_summary_widget/get_alert_summary_time_range.tsx", + "path": "x-pack/plugins/observability_solution/observability/public/utils/alert_summary_widget/get_alert_summary_time_range.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -661,7 +661,7 @@ "signature": [ "({\n traceId,\n rangeFrom,\n rangeTo,\n}: { traceId: string; rangeFrom: string; rangeTo: string; }) => string" ], - "path": "x-pack/plugins/observability/public/utils/get_apm_trace_url.ts", + "path": "x-pack/plugins/observability_solution/observability/public/utils/get_apm_trace_url.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -672,7 +672,7 @@ "tags": [], "label": "{\n traceId,\n rangeFrom,\n rangeTo,\n}", "description": [], - "path": "x-pack/plugins/observability/public/utils/get_apm_trace_url.ts", + "path": "x-pack/plugins/observability_solution/observability/public/utils/get_apm_trace_url.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -683,7 +683,7 @@ "tags": [], "label": "traceId", "description": [], - "path": "x-pack/plugins/observability/public/utils/get_apm_trace_url.ts", + "path": "x-pack/plugins/observability_solution/observability/public/utils/get_apm_trace_url.ts", "deprecated": false, "trackAdoption": false }, @@ -694,7 +694,7 @@ "tags": [], "label": "rangeFrom", "description": [], - "path": "x-pack/plugins/observability/public/utils/get_apm_trace_url.ts", + "path": "x-pack/plugins/observability_solution/observability/public/utils/get_apm_trace_url.ts", "deprecated": false, "trackAdoption": false }, @@ -705,7 +705,7 @@ "tags": [], "label": "rangeTo", "description": [], - "path": "x-pack/plugins/observability/public/utils/get_apm_trace_url.ts", + "path": "x-pack/plugins/observability_solution/observability/public/utils/get_apm_trace_url.ts", "deprecated": false, "trackAdoption": false } @@ -727,7 +727,7 @@ "CoreVitalProps", ") => JSX.Element" ], - "path": "x-pack/plugins/observability/public/pages/overview/components/sections/ux/core_web_vitals/get_core_web_vitals_lazy.tsx", + "path": "x-pack/plugins/observability_solution/observability/public/pages/overview/components/sections/ux/core_web_vitals/get_core_web_vitals_lazy.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -741,7 +741,7 @@ "signature": [ "CoreVitalProps" ], - "path": "x-pack/plugins/observability/public/pages/overview/components/sections/ux/core_web_vitals/get_core_web_vitals_lazy.tsx", + "path": "x-pack/plugins/observability_solution/observability/public/pages/overview/components/sections/ux/core_web_vitals/get_core_web_vitals_lazy.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -788,7 +788,7 @@ "CommonProps", " & { as?: \"div\" | undefined; } & _EuiFlyoutProps & Omit, HTMLDivElement>, keyof _EuiFlyoutProps> & Omit, HTMLDivElement>, \"key\" | keyof React.HTMLAttributes | \"css\"> & { ref?: ((instance: HTMLDivElement | null) => void) | React.RefObject | null | undefined; }, \"type\" | \"prefix\" | \"key\" | \"id\" | \"defaultValue\" | \"security\" | \"onChange\" | \"defaultChecked\" | \"suppressContentEditableWarning\" | \"suppressHydrationWarning\" | \"accessKey\" | \"className\" | \"contentEditable\" | \"contextMenu\" | \"dir\" | \"draggable\" | \"hidden\" | \"lang\" | \"placeholder\" | \"slot\" | \"spellCheck\" | \"style\" | \"tabIndex\" | \"title\" | \"translate\" | \"radioGroup\" | \"role\" | \"about\" | \"datatype\" | \"inlist\" | \"property\" | \"resource\" | \"typeof\" | \"vocab\" | \"autoCapitalize\" | \"autoCorrect\" | \"autoSave\" | \"color\" | \"itemProp\" | \"itemScope\" | \"itemType\" | \"itemID\" | \"itemRef\" | \"results\" | \"unselectable\" | \"inputMode\" | \"is\" | \"aria-activedescendant\" | \"aria-atomic\" | \"aria-autocomplete\" | \"aria-busy\" | \"aria-checked\" | \"aria-colcount\" | \"aria-colindex\" | \"aria-colspan\" | \"aria-controls\" | \"aria-current\" | \"aria-describedby\" | \"aria-details\" | \"aria-disabled\" | \"aria-dropeffect\" | \"aria-errormessage\" | \"aria-expanded\" | \"aria-flowto\" | \"aria-grabbed\" | \"aria-haspopup\" | \"aria-hidden\" | \"aria-invalid\" | \"aria-keyshortcuts\" | \"aria-label\" | \"aria-labelledby\" | \"aria-level\" | \"aria-live\" | \"aria-modal\" | \"aria-multiline\" | \"aria-multiselectable\" | \"aria-orientation\" | \"aria-owns\" | \"aria-placeholder\" | \"aria-posinset\" | \"aria-pressed\" | \"aria-readonly\" | \"aria-relevant\" | \"aria-required\" | \"aria-roledescription\" | \"aria-rowcount\" | \"aria-rowindex\" | \"aria-rowspan\" | \"aria-selected\" | \"aria-setsize\" | \"aria-sort\" | \"aria-valuemax\" | \"aria-valuemin\" | \"aria-valuenow\" | \"aria-valuetext\" | \"children\" | \"dangerouslySetInnerHTML\" | \"onCopy\" | \"onCopyCapture\" | \"onCut\" | \"onCutCapture\" | \"onPaste\" | \"onPasteCapture\" | \"onCompositionEnd\" | \"onCompositionEndCapture\" | \"onCompositionStart\" | \"onCompositionStartCapture\" | \"onCompositionUpdate\" | \"onCompositionUpdateCapture\" | \"onFocus\" | \"onFocusCapture\" | \"onBlur\" | \"onBlurCapture\" | \"onChangeCapture\" | \"onBeforeInput\" | \"onBeforeInputCapture\" | \"onInput\" | \"onInputCapture\" | \"onReset\" | \"onResetCapture\" | \"onSubmit\" | \"onSubmitCapture\" | \"onInvalid\" | \"onInvalidCapture\" | \"onLoad\" | \"onLoadCapture\" | \"onError\" | \"onErrorCapture\" | \"onKeyDown\" | \"onKeyDownCapture\" | \"onKeyPress\" | \"onKeyPressCapture\" | \"onKeyUp\" | \"onKeyUpCapture\" | \"onAbort\" | \"onAbortCapture\" | \"onCanPlay\" | \"onCanPlayCapture\" | \"onCanPlayThrough\" | \"onCanPlayThroughCapture\" | \"onDurationChange\" | \"onDurationChangeCapture\" | \"onEmptied\" | \"onEmptiedCapture\" | \"onEncrypted\" | \"onEncryptedCapture\" | \"onEnded\" | \"onEndedCapture\" | \"onLoadedData\" | \"onLoadedDataCapture\" | \"onLoadedMetadata\" | \"onLoadedMetadataCapture\" | \"onLoadStart\" | \"onLoadStartCapture\" | \"onPause\" | \"onPauseCapture\" | \"onPlay\" | \"onPlayCapture\" | \"onPlaying\" | \"onPlayingCapture\" | \"onProgress\" | \"onProgressCapture\" | \"onRateChange\" | \"onRateChangeCapture\" | \"onSeeked\" | \"onSeekedCapture\" | \"onSeeking\" | \"onSeekingCapture\" | \"onStalled\" | \"onStalledCapture\" | \"onSuspend\" | \"onSuspendCapture\" | \"onTimeUpdate\" | \"onTimeUpdateCapture\" | \"onVolumeChange\" | \"onVolumeChangeCapture\" | \"onWaiting\" | \"onWaitingCapture\" | \"onAuxClick\" | \"onAuxClickCapture\" | \"onClick\" | \"onClickCapture\" | \"onContextMenu\" | \"onContextMenuCapture\" | \"onDoubleClick\" | \"onDoubleClickCapture\" | \"onDrag\" | \"onDragCapture\" | \"onDragEnd\" | \"onDragEndCapture\" | \"onDragEnter\" | \"onDragEnterCapture\" | \"onDragExit\" | \"onDragExitCapture\" | \"onDragLeave\" | \"onDragLeaveCapture\" | \"onDragOver\" | \"onDragOverCapture\" | \"onDragStart\" | \"onDragStartCapture\" | \"onDrop\" | \"onDropCapture\" | \"onMouseDown\" | \"onMouseDownCapture\" | \"onMouseEnter\" | \"onMouseLeave\" | \"onMouseMove\" | \"onMouseMoveCapture\" | \"onMouseOut\" | \"onMouseOutCapture\" | \"onMouseOver\" | \"onMouseOverCapture\" | \"onMouseUp\" | \"onMouseUpCapture\" | \"onSelect\" | \"onSelectCapture\" | \"onTouchCancel\" | \"onTouchCancelCapture\" | \"onTouchEnd\" | \"onTouchEndCapture\" | \"onTouchMove\" | \"onTouchMoveCapture\" | \"onTouchStart\" | \"onTouchStartCapture\" | \"onPointerDown\" | \"onPointerDownCapture\" | \"onPointerMove\" | \"onPointerMoveCapture\" | \"onPointerUp\" | \"onPointerUpCapture\" | \"onPointerCancel\" | \"onPointerCancelCapture\" | \"onPointerEnter\" | \"onPointerEnterCapture\" | \"onPointerLeave\" | \"onPointerLeaveCapture\" | \"onPointerOver\" | \"onPointerOverCapture\" | \"onPointerOut\" | \"onPointerOutCapture\" | \"onGotPointerCapture\" | \"onGotPointerCaptureCapture\" | \"onLostPointerCapture\" | \"onLostPointerCaptureCapture\" | \"onScroll\" | \"onScrollCapture\" | \"onWheel\" | \"onWheelCapture\" | \"onAnimationStart\" | \"onAnimationStartCapture\" | \"onAnimationEnd\" | \"onAnimationEndCapture\" | \"onAnimationIteration\" | \"onAnimationIterationCapture\" | \"onTransitionEnd\" | \"onTransitionEndCapture\" | \"data-test-subj\" | \"css\" | \"ref\" | \"onClose\" | \"paddingSize\" | \"size\" | \"maxWidth\" | \"ownFocus\" | \"hideCloseButton\" | \"closeButtonProps\" | \"closeButtonPosition\" | \"maskProps\" | \"outsideClickCloses\" | \"side\" | \"pushMinBreakpoint\" | \"pushAnimation\" | \"focusTrapProps\" | \"includeFixedHeadersInFocusTrap\" | \"as\">, \"type\" | \"prefix\" | \"key\" | \"id\" | \"defaultValue\" | \"security\" | \"alert\" | \"onChange\" | \"defaultChecked\" | \"suppressContentEditableWarning\" | \"suppressHydrationWarning\" | \"accessKey\" | \"className\" | \"contentEditable\" | \"contextMenu\" | \"dir\" | \"draggable\" | \"hidden\" | \"lang\" | \"placeholder\" | \"slot\" | \"spellCheck\" | \"style\" | \"tabIndex\" | \"title\" | \"translate\" | \"radioGroup\" | \"role\" | \"about\" | \"datatype\" | \"inlist\" | \"property\" | \"resource\" | \"typeof\" | \"vocab\" | \"autoCapitalize\" | \"autoCorrect\" | \"autoSave\" | \"color\" | \"itemProp\" | \"itemScope\" | \"itemType\" | \"itemID\" | \"itemRef\" | \"results\" | \"unselectable\" | \"inputMode\" | \"is\" | \"aria-activedescendant\" | \"aria-atomic\" | \"aria-autocomplete\" | \"aria-busy\" | \"aria-checked\" | \"aria-colcount\" | \"aria-colindex\" | \"aria-colspan\" | \"aria-controls\" | \"aria-current\" | \"aria-describedby\" | \"aria-details\" | \"aria-disabled\" | \"aria-dropeffect\" | \"aria-errormessage\" | \"aria-expanded\" | \"aria-flowto\" | \"aria-grabbed\" | \"aria-haspopup\" | \"aria-hidden\" | \"aria-invalid\" | \"aria-keyshortcuts\" | \"aria-label\" | \"aria-labelledby\" | \"aria-level\" | \"aria-live\" | \"aria-modal\" | \"aria-multiline\" | \"aria-multiselectable\" | \"aria-orientation\" | \"aria-owns\" | \"aria-placeholder\" | \"aria-posinset\" | \"aria-pressed\" | \"aria-readonly\" | \"aria-relevant\" | \"aria-required\" | \"aria-roledescription\" | \"aria-rowcount\" | \"aria-rowindex\" | \"aria-rowspan\" | \"aria-selected\" | \"aria-setsize\" | \"aria-sort\" | \"aria-valuemax\" | \"aria-valuemin\" | \"aria-valuenow\" | \"aria-valuetext\" | \"children\" | \"dangerouslySetInnerHTML\" | \"onCopy\" | \"onCopyCapture\" | \"onCut\" | \"onCutCapture\" | \"onPaste\" | \"onPasteCapture\" | \"onCompositionEnd\" | \"onCompositionEndCapture\" | \"onCompositionStart\" | \"onCompositionStartCapture\" | \"onCompositionUpdate\" | \"onCompositionUpdateCapture\" | \"onFocus\" | \"onFocusCapture\" | \"onBlur\" | \"onBlurCapture\" | \"onChangeCapture\" | \"onBeforeInput\" | \"onBeforeInputCapture\" | \"onInput\" | \"onInputCapture\" | \"onReset\" | \"onResetCapture\" | \"onSubmit\" | \"onSubmitCapture\" | \"onInvalid\" | \"onInvalidCapture\" | \"onLoad\" | \"onLoadCapture\" | \"onError\" | \"onErrorCapture\" | \"onKeyDown\" | \"onKeyDownCapture\" | \"onKeyPress\" | \"onKeyPressCapture\" | \"onKeyUp\" | \"onKeyUpCapture\" | \"onAbort\" | \"onAbortCapture\" | \"onCanPlay\" | \"onCanPlayCapture\" | \"onCanPlayThrough\" | \"onCanPlayThroughCapture\" | \"onDurationChange\" | \"onDurationChangeCapture\" | \"onEmptied\" | \"onEmptiedCapture\" | \"onEncrypted\" | \"onEncryptedCapture\" | \"onEnded\" | \"onEndedCapture\" | \"onLoadedData\" | \"onLoadedDataCapture\" | \"onLoadedMetadata\" | \"onLoadedMetadataCapture\" | \"onLoadStart\" | \"onLoadStartCapture\" | \"onPause\" | \"onPauseCapture\" | \"onPlay\" | \"onPlayCapture\" | \"onPlaying\" | \"onPlayingCapture\" | \"onProgress\" | \"onProgressCapture\" | \"onRateChange\" | \"onRateChangeCapture\" | \"onSeeked\" | \"onSeekedCapture\" | \"onSeeking\" | \"onSeekingCapture\" | \"onStalled\" | \"onStalledCapture\" | \"onSuspend\" | \"onSuspendCapture\" | \"onTimeUpdate\" | \"onTimeUpdateCapture\" | \"onVolumeChange\" | \"onVolumeChangeCapture\" | \"onWaiting\" | \"onWaitingCapture\" | \"onAuxClick\" | \"onAuxClickCapture\" | \"onClick\" | \"onClickCapture\" | \"onContextMenu\" | \"onContextMenuCapture\" | \"onDoubleClick\" | \"onDoubleClickCapture\" | \"onDrag\" | \"onDragCapture\" | \"onDragEnd\" | \"onDragEndCapture\" | \"onDragEnter\" | \"onDragEnterCapture\" | \"onDragExit\" | \"onDragExitCapture\" | \"onDragLeave\" | \"onDragLeaveCapture\" | \"onDragOver\" | \"onDragOverCapture\" | \"onDragStart\" | \"onDragStartCapture\" | \"onDrop\" | \"onDropCapture\" | \"onMouseDown\" | \"onMouseDownCapture\" | \"onMouseEnter\" | \"onMouseLeave\" | \"onMouseMove\" | \"onMouseMoveCapture\" | \"onMouseOut\" | \"onMouseOutCapture\" | \"onMouseOver\" | \"onMouseOverCapture\" | \"onMouseUp\" | \"onMouseUpCapture\" | \"onSelect\" | \"onSelectCapture\" | \"onTouchCancel\" | \"onTouchCancelCapture\" | \"onTouchEnd\" | \"onTouchEndCapture\" | \"onTouchMove\" | \"onTouchMoveCapture\" | \"onTouchStart\" | \"onTouchStartCapture\" | \"onPointerDown\" | \"onPointerDownCapture\" | \"onPointerMove\" | \"onPointerMoveCapture\" | \"onPointerUp\" | \"onPointerUpCapture\" | \"onPointerCancel\" | \"onPointerCancelCapture\" | \"onPointerEnter\" | \"onPointerEnterCapture\" | \"onPointerLeave\" | \"onPointerLeaveCapture\" | \"onPointerOver\" | \"onPointerOverCapture\" | \"onPointerOut\" | \"onPointerOutCapture\" | \"onGotPointerCapture\" | \"onGotPointerCaptureCapture\" | \"onLostPointerCapture\" | \"onLostPointerCaptureCapture\" | \"onScroll\" | \"onScrollCapture\" | \"onWheel\" | \"onWheelCapture\" | \"onAnimationStart\" | \"onAnimationStartCapture\" | \"onAnimationEnd\" | \"onAnimationEndCapture\" | \"onAnimationIteration\" | \"onAnimationIterationCapture\" | \"onTransitionEnd\" | \"onTransitionEndCapture\" | \"data-test-subj\" | \"css\" | \"alerts\" | \"observabilityRuleTypeRegistry\" | \"onClose\" | \"paddingSize\" | \"size\" | \"maxWidth\" | \"ownFocus\" | \"hideCloseButton\" | \"closeButtonProps\" | \"closeButtonPosition\" | \"maskProps\" | \"outsideClickCloses\" | \"side\" | \"pushMinBreakpoint\" | \"pushAnimation\" | \"focusTrapProps\" | \"includeFixedHeadersInFocusTrap\" | \"as\" | \"rawAlert\" | \"isInApp\" | \"selectedAlertId\"> & { ref?: ((instance: HTMLDivElement | null) => void) | React.RefObject | null | undefined; }> & { readonly _result: ({ alert, rawAlert, alerts, isInApp, observabilityRuleTypeRegistry, onClose, selectedAlertId, }: AlertsFlyoutProps) => JSX.Element | null; }" ], - "path": "x-pack/plugins/observability/public/index.ts", + "path": "x-pack/plugins/observability_solution/observability/public/index.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -822,7 +822,7 @@ "ObservabilityAlertSearchBarProps", ") => JSX.Element" ], - "path": "x-pack/plugins/observability/public/components/alert_search_bar/get_alert_search_bar_lazy.tsx", + "path": "x-pack/plugins/observability_solution/observability/public/components/alert_search_bar/get_alert_search_bar_lazy.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -836,7 +836,7 @@ "signature": [ "ObservabilityAlertSearchBarProps" ], - "path": "x-pack/plugins/observability/public/components/alert_search_bar/get_alert_search_bar_lazy.tsx", + "path": "x-pack/plugins/observability_solution/observability/public/components/alert_search_bar/get_alert_search_bar_lazy.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -855,7 +855,7 @@ "signature": [ "({\n derivedIndexPattern,\n onSubmit,\n onChange,\n value,\n placeholder,\n curryLoadSuggestions = defaultCurryLoadSuggestions,\n compressed,\n}: Props) => JSX.Element" ], - "path": "x-pack/plugins/observability/public/components/rule_kql_filter/kuery_bar.tsx", + "path": "x-pack/plugins/observability_solution/observability/public/components/rule_kql_filter/kuery_bar.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -869,7 +869,7 @@ "signature": [ "Props" ], - "path": "x-pack/plugins/observability/public/components/rule_kql_filter/kuery_bar.tsx", + "path": "x-pack/plugins/observability_solution/observability/public/components/rule_kql_filter/kuery_bar.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -890,7 +890,7 @@ "ParsedQuery", "" ], - "path": "x-pack/plugins/observability/public/utils/url.ts", + "path": "x-pack/plugins/observability_solution/observability/public/utils/url.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -904,7 +904,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/observability/public/utils/url.ts", + "path": "x-pack/plugins/observability_solution/observability/public/utils/url.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -938,7 +938,7 @@ "text": "AlertSummaryTimeRange" } ], - "path": "x-pack/plugins/observability/public/hooks/use_summary_time_range.tsx", + "path": "x-pack/plugins/observability_solution/observability/public/hooks/use_summary_time_range.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -958,7 +958,7 @@ "text": "TimeRange" } ], - "path": "x-pack/plugins/observability/public/hooks/use_summary_time_range.tsx", + "path": "x-pack/plugins/observability_solution/observability/public/hooks/use_summary_time_range.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -984,7 +984,7 @@ "text": "TimeBuckets" } ], - "path": "x-pack/plugins/observability/public/hooks/use_time_buckets.ts", + "path": "x-pack/plugins/observability_solution/observability/public/hooks/use_time_buckets.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -1001,7 +1001,7 @@ "signature": [ "React.FunctionComponent>" ], - "path": "x-pack/plugins/observability/public/components/rule_kql_filter/with_kuery_autocompletion.tsx", + "path": "x-pack/plugins/observability_solution/observability/public/components/rule_kql_filter/with_kuery_autocompletion.tsx", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -1046,7 +1046,7 @@ "tags": [], "label": "AlertSummaryField", "description": [], - "path": "x-pack/plugins/observability/public/pages/alert_details/components/alert_summary.tsx", + "path": "x-pack/plugins/observability_solution/observability/public/pages/alert_details/components/alert_summary.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -1060,7 +1060,7 @@ "signature": [ "boolean | React.ReactChild | React.ReactFragment | React.ReactPortal | null | undefined" ], - "path": "x-pack/plugins/observability/public/pages/alert_details/components/alert_summary.tsx", + "path": "x-pack/plugins/observability_solution/observability/public/pages/alert_details/components/alert_summary.tsx", "deprecated": false, "trackAdoption": false }, @@ -1074,7 +1074,7 @@ "signature": [ "boolean | React.ReactChild | React.ReactFragment | React.ReactPortal | null | undefined" ], - "path": "x-pack/plugins/observability/public/pages/alert_details/components/alert_summary.tsx", + "path": "x-pack/plugins/observability_solution/observability/public/pages/alert_details/components/alert_summary.tsx", "deprecated": false, "trackAdoption": false } @@ -1105,7 +1105,7 @@ "text": "FetchDataResponse" } ], - "path": "x-pack/plugins/observability/public/typings/fetch_overview_data/index.ts", + "path": "x-pack/plugins/observability_solution/observability/public/typings/fetch_overview_data/index.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1135,7 +1135,7 @@ }, "; }" ], - "path": "x-pack/plugins/observability/public/typings/fetch_overview_data/index.ts", + "path": "x-pack/plugins/observability_solution/observability/public/typings/fetch_overview_data/index.ts", "deprecated": false, "trackAdoption": false }, @@ -1157,7 +1157,7 @@ }, "; }" ], - "path": "x-pack/plugins/observability/public/typings/fetch_overview_data/index.ts", + "path": "x-pack/plugins/observability_solution/observability/public/typings/fetch_overview_data/index.ts", "deprecated": false, "trackAdoption": false } @@ -1171,7 +1171,7 @@ "tags": [], "label": "APMHasDataResponse", "description": [], - "path": "x-pack/plugins/observability/public/typings/fetch_overview_data/index.ts", + "path": "x-pack/plugins/observability_solution/observability/public/typings/fetch_overview_data/index.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1182,7 +1182,7 @@ "tags": [], "label": "hasData", "description": [], - "path": "x-pack/plugins/observability/public/typings/fetch_overview_data/index.ts", + "path": "x-pack/plugins/observability_solution/observability/public/typings/fetch_overview_data/index.ts", "deprecated": false, "trackAdoption": false }, @@ -1196,7 +1196,7 @@ "signature": [ "ApmIndicesConfig" ], - "path": "x-pack/plugins/observability/public/typings/fetch_overview_data/index.ts", + "path": "x-pack/plugins/observability_solution/observability/public/typings/fetch_overview_data/index.ts", "deprecated": false, "trackAdoption": false } @@ -1227,7 +1227,7 @@ "text": "RuleTypeParams" } ], - "path": "x-pack/plugins/observability/public/typings/slo/index.ts", + "path": "x-pack/plugins/observability_solution/observability/public/typings/slo/index.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1238,7 +1238,7 @@ "tags": [], "label": "sloId", "description": [], - "path": "x-pack/plugins/observability/public/typings/slo/index.ts", + "path": "x-pack/plugins/observability_solution/observability/public/typings/slo/index.ts", "deprecated": false, "trackAdoption": false }, @@ -1259,7 +1259,7 @@ }, "[]" ], - "path": "x-pack/plugins/observability/public/typings/slo/index.ts", + "path": "x-pack/plugins/observability_solution/observability/public/typings/slo/index.ts", "deprecated": false, "trackAdoption": false } @@ -1273,7 +1273,7 @@ "tags": [], "label": "ChartData", "description": [], - "path": "x-pack/plugins/observability/public/typings/slo/index.ts", + "path": "x-pack/plugins/observability_solution/observability/public/typings/slo/index.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1284,7 +1284,7 @@ "tags": [], "label": "key", "description": [], - "path": "x-pack/plugins/observability/public/typings/slo/index.ts", + "path": "x-pack/plugins/observability_solution/observability/public/typings/slo/index.ts", "deprecated": false, "trackAdoption": false }, @@ -1298,7 +1298,7 @@ "signature": [ "number | undefined" ], - "path": "x-pack/plugins/observability/public/typings/slo/index.ts", + "path": "x-pack/plugins/observability_solution/observability/public/typings/slo/index.ts", "deprecated": false, "trackAdoption": false } @@ -1312,7 +1312,7 @@ "tags": [], "label": "Coordinates", "description": [], - "path": "x-pack/plugins/observability/public/typings/fetch_overview_data/index.ts", + "path": "x-pack/plugins/observability_solution/observability/public/typings/fetch_overview_data/index.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1323,7 +1323,7 @@ "tags": [], "label": "x", "description": [], - "path": "x-pack/plugins/observability/public/typings/fetch_overview_data/index.ts", + "path": "x-pack/plugins/observability_solution/observability/public/typings/fetch_overview_data/index.ts", "deprecated": false, "trackAdoption": false }, @@ -1337,7 +1337,7 @@ "signature": [ "number | null | undefined" ], - "path": "x-pack/plugins/observability/public/typings/fetch_overview_data/index.ts", + "path": "x-pack/plugins/observability_solution/observability/public/typings/fetch_overview_data/index.ts", "deprecated": false, "trackAdoption": false } @@ -1361,7 +1361,7 @@ }, "" ], - "path": "x-pack/plugins/observability/public/typings/fetch_overview_data/index.ts", + "path": "x-pack/plugins/observability_solution/observability/public/typings/fetch_overview_data/index.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1391,7 +1391,7 @@ }, "[T]>" ], - "path": "x-pack/plugins/observability/public/typings/fetch_overview_data/index.ts", + "path": "x-pack/plugins/observability_solution/observability/public/typings/fetch_overview_data/index.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -1412,7 +1412,7 @@ "text": "FetchDataParams" } ], - "path": "x-pack/plugins/observability/public/typings/fetch_overview_data/index.ts", + "path": "x-pack/plugins/observability_solution/observability/public/typings/fetch_overview_data/index.ts", "deprecated": false, "trackAdoption": false } @@ -1444,7 +1444,7 @@ }, "[T]>" ], - "path": "x-pack/plugins/observability/public/typings/fetch_overview_data/index.ts", + "path": "x-pack/plugins/observability_solution/observability/public/typings/fetch_overview_data/index.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -1466,7 +1466,7 @@ }, " | undefined" ], - "path": "x-pack/plugins/observability/public/typings/fetch_overview_data/index.ts", + "path": "x-pack/plugins/observability_solution/observability/public/typings/fetch_overview_data/index.ts", "deprecated": false, "trackAdoption": false } @@ -1482,7 +1482,7 @@ "tags": [], "label": "Duration", "description": [], - "path": "x-pack/plugins/observability/public/typings/slo/index.ts", + "path": "x-pack/plugins/observability_solution/observability/public/typings/slo/index.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1493,7 +1493,7 @@ "tags": [], "label": "value", "description": [], - "path": "x-pack/plugins/observability/public/typings/slo/index.ts", + "path": "x-pack/plugins/observability_solution/observability/public/typings/slo/index.ts", "deprecated": false, "trackAdoption": false }, @@ -1507,7 +1507,7 @@ "signature": [ "\"m\" | \"M\" | \"w\" | \"d\" | \"h\"" ], - "path": "x-pack/plugins/observability/public/typings/slo/index.ts", + "path": "x-pack/plugins/observability_solution/observability/public/typings/slo/index.ts", "deprecated": false, "trackAdoption": false } @@ -1521,7 +1521,7 @@ "tags": [], "label": "FetchDataParams", "description": [], - "path": "x-pack/plugins/observability/public/typings/fetch_overview_data/index.ts", + "path": "x-pack/plugins/observability_solution/observability/public/typings/fetch_overview_data/index.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1535,7 +1535,7 @@ "signature": [ "{ start: number; end: number; }" ], - "path": "x-pack/plugins/observability/public/typings/fetch_overview_data/index.ts", + "path": "x-pack/plugins/observability_solution/observability/public/typings/fetch_overview_data/index.ts", "deprecated": false, "trackAdoption": false }, @@ -1549,7 +1549,7 @@ "signature": [ "{ start: string; end: string; }" ], - "path": "x-pack/plugins/observability/public/typings/fetch_overview_data/index.ts", + "path": "x-pack/plugins/observability_solution/observability/public/typings/fetch_overview_data/index.ts", "deprecated": false, "trackAdoption": false }, @@ -1563,7 +1563,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/observability/public/typings/fetch_overview_data/index.ts", + "path": "x-pack/plugins/observability_solution/observability/public/typings/fetch_overview_data/index.ts", "deprecated": false, "trackAdoption": false }, @@ -1574,7 +1574,7 @@ "tags": [], "label": "bucketSize", "description": [], - "path": "x-pack/plugins/observability/public/typings/fetch_overview_data/index.ts", + "path": "x-pack/plugins/observability_solution/observability/public/typings/fetch_overview_data/index.ts", "deprecated": false, "trackAdoption": false }, @@ -1585,7 +1585,7 @@ "tags": [], "label": "intervalString", "description": [], - "path": "x-pack/plugins/observability/public/typings/fetch_overview_data/index.ts", + "path": "x-pack/plugins/observability_solution/observability/public/typings/fetch_overview_data/index.ts", "deprecated": false, "trackAdoption": false }, @@ -1599,7 +1599,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/observability/public/typings/fetch_overview_data/index.ts", + "path": "x-pack/plugins/observability_solution/observability/public/typings/fetch_overview_data/index.ts", "deprecated": false, "trackAdoption": false } @@ -1613,7 +1613,7 @@ "tags": [], "label": "FetchDataResponse", "description": [], - "path": "x-pack/plugins/observability/public/typings/fetch_overview_data/index.ts", + "path": "x-pack/plugins/observability_solution/observability/public/typings/fetch_overview_data/index.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1624,7 +1624,7 @@ "tags": [], "label": "appLink", "description": [], - "path": "x-pack/plugins/observability/public/typings/fetch_overview_data/index.ts", + "path": "x-pack/plugins/observability_solution/observability/public/typings/fetch_overview_data/index.ts", "deprecated": false, "trackAdoption": false } @@ -1638,7 +1638,7 @@ "tags": [], "label": "HasDataParams", "description": [], - "path": "x-pack/plugins/observability/public/typings/fetch_overview_data/index.ts", + "path": "x-pack/plugins/observability_solution/observability/public/typings/fetch_overview_data/index.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1652,7 +1652,7 @@ "signature": [ "{ start: number; end: number; }" ], - "path": "x-pack/plugins/observability/public/typings/fetch_overview_data/index.ts", + "path": "x-pack/plugins/observability_solution/observability/public/typings/fetch_overview_data/index.ts", "deprecated": false, "trackAdoption": false } @@ -1666,7 +1666,7 @@ "tags": [], "label": "HasDataResponse", "description": [], - "path": "x-pack/plugins/observability/public/typings/fetch_overview_data/index.ts", + "path": "x-pack/plugins/observability_solution/observability/public/typings/fetch_overview_data/index.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1677,7 +1677,7 @@ "tags": [], "label": "hasData", "description": [], - "path": "x-pack/plugins/observability/public/typings/fetch_overview_data/index.ts", + "path": "x-pack/plugins/observability_solution/observability/public/typings/fetch_overview_data/index.ts", "deprecated": false, "trackAdoption": false } @@ -1691,7 +1691,7 @@ "tags": [], "label": "InfraLogsHasDataResponse", "description": [], - "path": "x-pack/plugins/observability/public/typings/fetch_overview_data/index.ts", + "path": "x-pack/plugins/observability_solution/observability/public/typings/fetch_overview_data/index.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1702,7 +1702,7 @@ "tags": [], "label": "hasData", "description": [], - "path": "x-pack/plugins/observability/public/typings/fetch_overview_data/index.ts", + "path": "x-pack/plugins/observability_solution/observability/public/typings/fetch_overview_data/index.ts", "deprecated": false, "trackAdoption": false }, @@ -1713,7 +1713,7 @@ "tags": [], "label": "indices", "description": [], - "path": "x-pack/plugins/observability/public/typings/fetch_overview_data/index.ts", + "path": "x-pack/plugins/observability_solution/observability/public/typings/fetch_overview_data/index.ts", "deprecated": false, "trackAdoption": false } @@ -1727,7 +1727,7 @@ "tags": [], "label": "InfraMetricsHasDataResponse", "description": [], - "path": "x-pack/plugins/observability/public/typings/fetch_overview_data/index.ts", + "path": "x-pack/plugins/observability_solution/observability/public/typings/fetch_overview_data/index.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1738,7 +1738,7 @@ "tags": [], "label": "hasData", "description": [], - "path": "x-pack/plugins/observability/public/typings/fetch_overview_data/index.ts", + "path": "x-pack/plugins/observability_solution/observability/public/typings/fetch_overview_data/index.ts", "deprecated": false, "trackAdoption": false }, @@ -1749,7 +1749,7 @@ "tags": [], "label": "indices", "description": [], - "path": "x-pack/plugins/observability/public/typings/fetch_overview_data/index.ts", + "path": "x-pack/plugins/observability_solution/observability/public/typings/fetch_overview_data/index.ts", "deprecated": false, "trackAdoption": false } @@ -1780,7 +1780,7 @@ "text": "FetchDataResponse" } ], - "path": "x-pack/plugins/observability/public/typings/fetch_overview_data/index.ts", + "path": "x-pack/plugins/observability_solution/observability/public/typings/fetch_overview_data/index.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1802,7 +1802,7 @@ }, " & { label: string; }; }" ], - "path": "x-pack/plugins/observability/public/typings/fetch_overview_data/index.ts", + "path": "x-pack/plugins/observability_solution/observability/public/typings/fetch_overview_data/index.ts", "deprecated": false, "trackAdoption": false }, @@ -1824,7 +1824,7 @@ }, " & { label: string; }; }" ], - "path": "x-pack/plugins/observability/public/typings/fetch_overview_data/index.ts", + "path": "x-pack/plugins/observability_solution/observability/public/typings/fetch_overview_data/index.ts", "deprecated": false, "trackAdoption": false } @@ -1855,7 +1855,7 @@ "text": "FetchDataResponse" } ], - "path": "x-pack/plugins/observability/public/typings/fetch_overview_data/index.ts", + "path": "x-pack/plugins/observability_solution/observability/public/typings/fetch_overview_data/index.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1877,7 +1877,7 @@ }, ">" ], - "path": "x-pack/plugins/observability/public/typings/fetch_overview_data/index.ts", + "path": "x-pack/plugins/observability_solution/observability/public/typings/fetch_overview_data/index.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1891,7 +1891,7 @@ "signature": [ "string" ], - "path": "x-pack/plugins/observability/public/typings/fetch_overview_data/index.ts", + "path": "x-pack/plugins/observability_solution/observability/public/typings/fetch_overview_data/index.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1906,7 +1906,7 @@ "signature": [ "string" ], - "path": "x-pack/plugins/observability/public/typings/fetch_overview_data/index.ts", + "path": "x-pack/plugins/observability_solution/observability/public/typings/fetch_overview_data/index.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1931,7 +1931,7 @@ }, "[]" ], - "path": "x-pack/plugins/observability/public/typings/fetch_overview_data/index.ts", + "path": "x-pack/plugins/observability_solution/observability/public/typings/fetch_overview_data/index.ts", "deprecated": false, "trackAdoption": false } @@ -1945,7 +1945,7 @@ "tags": [], "label": "MetricsFetchDataSeries", "description": [], - "path": "x-pack/plugins/observability/public/typings/fetch_overview_data/index.ts", + "path": "x-pack/plugins/observability_solution/observability/public/typings/fetch_overview_data/index.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1956,7 +1956,7 @@ "tags": [], "label": "id", "description": [], - "path": "x-pack/plugins/observability/public/typings/fetch_overview_data/index.ts", + "path": "x-pack/plugins/observability_solution/observability/public/typings/fetch_overview_data/index.ts", "deprecated": false, "trackAdoption": false }, @@ -1970,7 +1970,7 @@ "signature": [ "string | null" ], - "path": "x-pack/plugins/observability/public/typings/fetch_overview_data/index.ts", + "path": "x-pack/plugins/observability_solution/observability/public/typings/fetch_overview_data/index.ts", "deprecated": false, "trackAdoption": false }, @@ -1984,7 +1984,7 @@ "signature": [ "string | null" ], - "path": "x-pack/plugins/observability/public/typings/fetch_overview_data/index.ts", + "path": "x-pack/plugins/observability_solution/observability/public/typings/fetch_overview_data/index.ts", "deprecated": false, "trackAdoption": false }, @@ -1998,7 +1998,7 @@ "signature": [ "string | null" ], - "path": "x-pack/plugins/observability/public/typings/fetch_overview_data/index.ts", + "path": "x-pack/plugins/observability_solution/observability/public/typings/fetch_overview_data/index.ts", "deprecated": false, "trackAdoption": false }, @@ -2012,7 +2012,7 @@ "signature": [ "number | null" ], - "path": "x-pack/plugins/observability/public/typings/fetch_overview_data/index.ts", + "path": "x-pack/plugins/observability_solution/observability/public/typings/fetch_overview_data/index.ts", "deprecated": false, "trackAdoption": false }, @@ -2026,7 +2026,7 @@ "signature": [ "number | null" ], - "path": "x-pack/plugins/observability/public/typings/fetch_overview_data/index.ts", + "path": "x-pack/plugins/observability_solution/observability/public/typings/fetch_overview_data/index.ts", "deprecated": false, "trackAdoption": false }, @@ -2040,7 +2040,7 @@ "signature": [ "number | null" ], - "path": "x-pack/plugins/observability/public/typings/fetch_overview_data/index.ts", + "path": "x-pack/plugins/observability_solution/observability/public/typings/fetch_overview_data/index.ts", "deprecated": false, "trackAdoption": false }, @@ -2054,7 +2054,7 @@ "signature": [ "number | null" ], - "path": "x-pack/plugins/observability/public/typings/fetch_overview_data/index.ts", + "path": "x-pack/plugins/observability_solution/observability/public/typings/fetch_overview_data/index.ts", "deprecated": false, "trackAdoption": false }, @@ -2068,7 +2068,7 @@ "signature": [ "number | null" ], - "path": "x-pack/plugins/observability/public/typings/fetch_overview_data/index.ts", + "path": "x-pack/plugins/observability_solution/observability/public/typings/fetch_overview_data/index.ts", "deprecated": false, "trackAdoption": false }, @@ -2082,7 +2082,7 @@ "signature": [ "number | null" ], - "path": "x-pack/plugins/observability/public/typings/fetch_overview_data/index.ts", + "path": "x-pack/plugins/observability_solution/observability/public/typings/fetch_overview_data/index.ts", "deprecated": false, "trackAdoption": false }, @@ -2136,7 +2136,7 @@ }, "; }[]" ], - "path": "x-pack/plugins/observability/public/typings/fetch_overview_data/index.ts", + "path": "x-pack/plugins/observability_solution/observability/public/typings/fetch_overview_data/index.ts", "deprecated": false, "trackAdoption": false } @@ -2150,7 +2150,7 @@ "tags": [], "label": "ObservabilityFetchDataResponse", "description": [], - "path": "x-pack/plugins/observability/public/typings/fetch_overview_data/index.ts", + "path": "x-pack/plugins/observability_solution/observability/public/typings/fetch_overview_data/index.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2170,7 +2170,7 @@ "text": "ApmFetchDataResponse" } ], - "path": "x-pack/plugins/observability/public/typings/fetch_overview_data/index.ts", + "path": "x-pack/plugins/observability_solution/observability/public/typings/fetch_overview_data/index.ts", "deprecated": false, "trackAdoption": false }, @@ -2190,7 +2190,7 @@ "text": "MetricsFetchDataResponse" } ], - "path": "x-pack/plugins/observability/public/typings/fetch_overview_data/index.ts", + "path": "x-pack/plugins/observability_solution/observability/public/typings/fetch_overview_data/index.ts", "deprecated": false, "trackAdoption": false }, @@ -2210,7 +2210,7 @@ "text": "LogsFetchDataResponse" } ], - "path": "x-pack/plugins/observability/public/typings/fetch_overview_data/index.ts", + "path": "x-pack/plugins/observability_solution/observability/public/typings/fetch_overview_data/index.ts", "deprecated": false, "trackAdoption": false }, @@ -2230,7 +2230,7 @@ "text": "UptimeFetchDataResponse" } ], - "path": "x-pack/plugins/observability/public/typings/fetch_overview_data/index.ts", + "path": "x-pack/plugins/observability_solution/observability/public/typings/fetch_overview_data/index.ts", "deprecated": false, "trackAdoption": false }, @@ -2250,7 +2250,7 @@ "text": "UxFetchDataResponse" } ], - "path": "x-pack/plugins/observability/public/typings/fetch_overview_data/index.ts", + "path": "x-pack/plugins/observability_solution/observability/public/typings/fetch_overview_data/index.ts", "deprecated": false, "trackAdoption": false }, @@ -2270,7 +2270,7 @@ "text": "FetchDataResponse" } ], - "path": "x-pack/plugins/observability/public/typings/fetch_overview_data/index.ts", + "path": "x-pack/plugins/observability_solution/observability/public/typings/fetch_overview_data/index.ts", "deprecated": false, "trackAdoption": false } @@ -2284,7 +2284,7 @@ "tags": [], "label": "ObservabilityHasDataResponse", "description": [], - "path": "x-pack/plugins/observability/public/typings/fetch_overview_data/index.ts", + "path": "x-pack/plugins/observability_solution/observability/public/typings/fetch_overview_data/index.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2304,7 +2304,7 @@ "text": "APMHasDataResponse" } ], - "path": "x-pack/plugins/observability/public/typings/fetch_overview_data/index.ts", + "path": "x-pack/plugins/observability_solution/observability/public/typings/fetch_overview_data/index.ts", "deprecated": false, "trackAdoption": false }, @@ -2324,7 +2324,7 @@ "text": "InfraMetricsHasDataResponse" } ], - "path": "x-pack/plugins/observability/public/typings/fetch_overview_data/index.ts", + "path": "x-pack/plugins/observability_solution/observability/public/typings/fetch_overview_data/index.ts", "deprecated": false, "trackAdoption": false }, @@ -2344,7 +2344,7 @@ "text": "InfraLogsHasDataResponse" } ], - "path": "x-pack/plugins/observability/public/typings/fetch_overview_data/index.ts", + "path": "x-pack/plugins/observability_solution/observability/public/typings/fetch_overview_data/index.ts", "deprecated": false, "trackAdoption": false }, @@ -2364,7 +2364,7 @@ "text": "SyntheticsHasDataResponse" } ], - "path": "x-pack/plugins/observability/public/typings/fetch_overview_data/index.ts", + "path": "x-pack/plugins/observability_solution/observability/public/typings/fetch_overview_data/index.ts", "deprecated": false, "trackAdoption": false }, @@ -2384,7 +2384,7 @@ "text": "UXHasDataResponse" } ], - "path": "x-pack/plugins/observability/public/typings/fetch_overview_data/index.ts", + "path": "x-pack/plugins/observability_solution/observability/public/typings/fetch_overview_data/index.ts", "deprecated": false, "trackAdoption": false }, @@ -2398,7 +2398,7 @@ "signature": [ "UniversalProfilingHasDataResponse" ], - "path": "x-pack/plugins/observability/public/typings/fetch_overview_data/index.ts", + "path": "x-pack/plugins/observability_solution/observability/public/typings/fetch_overview_data/index.ts", "deprecated": false, "trackAdoption": false } @@ -2412,7 +2412,7 @@ "tags": [], "label": "ObservabilityPublicPluginsSetup", "description": [], - "path": "x-pack/plugins/observability/public/plugin.ts", + "path": "x-pack/plugins/observability_solution/observability/public/plugin.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2432,7 +2432,7 @@ "text": "DataPublicPluginSetup" } ], - "path": "x-pack/plugins/observability/public/plugin.ts", + "path": "x-pack/plugins/observability_solution/observability/public/plugin.ts", "deprecated": false, "trackAdoption": false }, @@ -2454,7 +2454,7 @@ }, "[]) => void; has: (id: string) => boolean; }" ], - "path": "x-pack/plugins/observability/public/plugin.ts", + "path": "x-pack/plugins/observability_solution/observability/public/plugin.ts", "deprecated": false, "trackAdoption": false }, @@ -2478,7 +2478,7 @@ }, "[]>) => void; }; }" ], - "path": "x-pack/plugins/observability/public/plugin.ts", + "path": "x-pack/plugins/observability_solution/observability/public/plugin.ts", "deprecated": false, "trackAdoption": false }, @@ -2498,7 +2498,7 @@ "text": "ObservabilityAIAssistantPluginSetup" } ], - "path": "x-pack/plugins/observability/public/plugin.ts", + "path": "x-pack/plugins/observability_solution/observability/public/plugin.ts", "deprecated": false, "trackAdoption": false }, @@ -2546,7 +2546,7 @@ }, ") => void; }" ], - "path": "x-pack/plugins/observability/public/plugin.ts", + "path": "x-pack/plugins/observability_solution/observability/public/plugin.ts", "deprecated": false, "trackAdoption": false }, @@ -2566,7 +2566,7 @@ "text": "TriggersAndActionsUIPublicPluginSetup" } ], - "path": "x-pack/plugins/observability/public/plugin.ts", + "path": "x-pack/plugins/observability_solution/observability/public/plugin.ts", "deprecated": false, "trackAdoption": false }, @@ -2587,7 +2587,7 @@ }, " | undefined" ], - "path": "x-pack/plugins/observability/public/plugin.ts", + "path": "x-pack/plugins/observability_solution/observability/public/plugin.ts", "deprecated": false, "trackAdoption": false }, @@ -2607,7 +2607,7 @@ "text": "UsageCollectionSetup" } ], - "path": "x-pack/plugins/observability/public/plugin.ts", + "path": "x-pack/plugins/observability_solution/observability/public/plugin.ts", "deprecated": false, "trackAdoption": false }, @@ -2627,7 +2627,7 @@ "text": "EmbeddableSetup" } ], - "path": "x-pack/plugins/observability/public/plugin.ts", + "path": "x-pack/plugins/observability_solution/observability/public/plugin.ts", "deprecated": false, "trackAdoption": false }, @@ -2673,7 +2673,7 @@ }, ") => void; }" ], - "path": "x-pack/plugins/observability/public/plugin.ts", + "path": "x-pack/plugins/observability_solution/observability/public/plugin.ts", "deprecated": false, "trackAdoption": false }, @@ -2693,7 +2693,7 @@ "text": "LicensingPluginSetup" } ], - "path": "x-pack/plugins/observability/public/plugin.ts", + "path": "x-pack/plugins/observability_solution/observability/public/plugin.ts", "deprecated": false, "trackAdoption": false }, @@ -2714,7 +2714,7 @@ }, " | undefined" ], - "path": "x-pack/plugins/observability/public/plugin.ts", + "path": "x-pack/plugins/observability_solution/observability/public/plugin.ts", "deprecated": false, "trackAdoption": false }, @@ -2735,7 +2735,7 @@ }, " | undefined" ], - "path": "x-pack/plugins/observability/public/plugin.ts", + "path": "x-pack/plugins/observability_solution/observability/public/plugin.ts", "deprecated": false, "trackAdoption": false } @@ -2749,7 +2749,7 @@ "tags": [], "label": "ObservabilityPublicPluginsStart", "description": [], - "path": "x-pack/plugins/observability/public/plugin.ts", + "path": "x-pack/plugins/observability_solution/observability/public/plugin.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2787,7 +2787,7 @@ }, ") => void; has: (id: string) => boolean; }" ], - "path": "x-pack/plugins/observability/public/plugin.ts", + "path": "x-pack/plugins/observability_solution/observability/public/plugin.ts", "deprecated": false, "trackAdoption": false }, @@ -2803,11 +2803,11 @@ "pluginId": "cases", "scope": "public", "docId": "kibCasesPluginApi", - "section": "def-public.CasesUiStart", - "text": "CasesUiStart" + "section": "def-public.CasesPublicStart", + "text": "CasesPublicStart" } ], - "path": "x-pack/plugins/observability/public/plugin.ts", + "path": "x-pack/plugins/observability_solution/observability/public/plugin.ts", "deprecated": false, "trackAdoption": false }, @@ -2830,7 +2830,7 @@ "ActiveCursor", "; }" ], - "path": "x-pack/plugins/observability/public/plugin.ts", + "path": "x-pack/plugins/observability_solution/observability/public/plugin.ts", "deprecated": false, "trackAdoption": false }, @@ -2850,7 +2850,7 @@ "text": "ContentManagementPublicStart" } ], - "path": "x-pack/plugins/observability/public/plugin.ts", + "path": "x-pack/plugins/observability_solution/observability/public/plugin.ts", "deprecated": false, "trackAdoption": false }, @@ -2870,7 +2870,7 @@ "text": "DataPublicPluginStart" } ], - "path": "x-pack/plugins/observability/public/plugin.ts", + "path": "x-pack/plugins/observability_solution/observability/public/plugin.ts", "deprecated": false, "trackAdoption": false }, @@ -2890,7 +2890,7 @@ "text": "DataViewsServicePublic" } ], - "path": "x-pack/plugins/observability/public/plugin.ts", + "path": "x-pack/plugins/observability_solution/observability/public/plugin.ts", "deprecated": false, "trackAdoption": false }, @@ -2910,7 +2910,7 @@ "text": "PluginStart" } ], - "path": "x-pack/plugins/observability/public/plugin.ts", + "path": "x-pack/plugins/observability_solution/observability/public/plugin.ts", "deprecated": false, "trackAdoption": false }, @@ -2930,7 +2930,7 @@ "text": "DiscoverStart" } ], - "path": "x-pack/plugins/observability/public/plugin.ts", + "path": "x-pack/plugins/observability_solution/observability/public/plugin.ts", "deprecated": false, "trackAdoption": false }, @@ -2950,7 +2950,7 @@ "text": "EmbeddableStart" } ], - "path": "x-pack/plugins/observability/public/plugin.ts", + "path": "x-pack/plugins/observability_solution/observability/public/plugin.ts", "deprecated": false, "trackAdoption": false }, @@ -2992,7 +2992,7 @@ }, ") => JSX.Element | null; }" ], - "path": "x-pack/plugins/observability/public/plugin.ts", + "path": "x-pack/plugins/observability_solution/observability/public/plugin.ts", "deprecated": false, "trackAdoption": false }, @@ -3022,7 +3022,7 @@ }, "; }" ], - "path": "x-pack/plugins/observability/public/plugin.ts", + "path": "x-pack/plugins/observability_solution/observability/public/plugin.ts", "deprecated": false, "trackAdoption": false }, @@ -3043,7 +3043,7 @@ }, " | undefined" ], - "path": "x-pack/plugins/observability/public/plugin.ts", + "path": "x-pack/plugins/observability_solution/observability/public/plugin.ts", "deprecated": false, "trackAdoption": false }, @@ -3063,7 +3063,7 @@ "text": "LensPublicStart" } ], - "path": "x-pack/plugins/observability/public/plugin.ts", + "path": "x-pack/plugins/observability_solution/observability/public/plugin.ts", "deprecated": false, "trackAdoption": false }, @@ -3083,7 +3083,7 @@ "text": "LicensingPluginStart" } ], - "path": "x-pack/plugins/observability/public/plugin.ts", + "path": "x-pack/plugins/observability_solution/observability/public/plugin.ts", "deprecated": false, "trackAdoption": false }, @@ -3127,7 +3127,7 @@ }, ">; }) => void; setIsSidebarEnabled: (isEnabled: boolean) => void; }" ], - "path": "x-pack/plugins/observability/public/plugin.ts", + "path": "x-pack/plugins/observability_solution/observability/public/plugin.ts", "deprecated": false, "trackAdoption": false }, @@ -3147,7 +3147,7 @@ "text": "ObservabilityAIAssistantPluginStart" } ], - "path": "x-pack/plugins/observability/public/plugin.ts", + "path": "x-pack/plugins/observability_solution/observability/public/plugin.ts", "deprecated": false, "trackAdoption": false }, @@ -3209,7 +3209,7 @@ }, ">) => void; has: (id: string) => boolean; }" ], - "path": "x-pack/plugins/observability/public/plugin.ts", + "path": "x-pack/plugins/observability_solution/observability/public/plugin.ts", "deprecated": false, "trackAdoption": false }, @@ -3229,7 +3229,7 @@ "text": "SecurityPluginStart" } ], - "path": "x-pack/plugins/observability/public/plugin.ts", + "path": "x-pack/plugins/observability_solution/observability/public/plugin.ts", "deprecated": false, "trackAdoption": false }, @@ -3269,7 +3269,7 @@ }, ">): void; }" ], - "path": "x-pack/plugins/observability/public/plugin.ts", + "path": "x-pack/plugins/observability_solution/observability/public/plugin.ts", "deprecated": false, "trackAdoption": false }, @@ -3290,7 +3290,7 @@ }, " | undefined" ], - "path": "x-pack/plugins/observability/public/plugin.ts", + "path": "x-pack/plugins/observability_solution/observability/public/plugin.ts", "deprecated": false, "trackAdoption": false }, @@ -3310,7 +3310,7 @@ "text": "TriggersAndActionsUIPublicPluginStart" } ], - "path": "x-pack/plugins/observability/public/plugin.ts", + "path": "x-pack/plugins/observability_solution/observability/public/plugin.ts", "deprecated": false, "trackAdoption": false }, @@ -3330,7 +3330,7 @@ "text": "UsageCollectionSetup" } ], - "path": "x-pack/plugins/observability/public/plugin.ts", + "path": "x-pack/plugins/observability_solution/observability/public/plugin.ts", "deprecated": false, "trackAdoption": false }, @@ -3350,7 +3350,7 @@ "text": "UnifiedSearchPublicPluginStart" } ], - "path": "x-pack/plugins/observability/public/plugin.ts", + "path": "x-pack/plugins/observability_solution/observability/public/plugin.ts", "deprecated": false, "trackAdoption": false }, @@ -3371,7 +3371,7 @@ }, " | undefined" ], - "path": "x-pack/plugins/observability/public/plugin.ts", + "path": "x-pack/plugins/observability_solution/observability/public/plugin.ts", "deprecated": false, "trackAdoption": false }, @@ -3392,7 +3392,7 @@ }, " | undefined" ], - "path": "x-pack/plugins/observability/public/plugin.ts", + "path": "x-pack/plugins/observability_solution/observability/public/plugin.ts", "deprecated": false, "trackAdoption": false }, @@ -3406,7 +3406,7 @@ "signature": [ "AiopsPluginStart" ], - "path": "x-pack/plugins/observability/public/plugin.ts", + "path": "x-pack/plugins/observability_solution/observability/public/plugin.ts", "deprecated": false, "trackAdoption": false }, @@ -3427,7 +3427,7 @@ }, " | undefined" ], - "path": "x-pack/plugins/observability/public/plugin.ts", + "path": "x-pack/plugins/observability_solution/observability/public/plugin.ts", "deprecated": false, "trackAdoption": false }, @@ -3447,7 +3447,7 @@ "text": "IUiSettingsClient" } ], - "path": "x-pack/plugins/observability/public/plugin.ts", + "path": "x-pack/plugins/observability_solution/observability/public/plugin.ts", "deprecated": false, "trackAdoption": false }, @@ -3535,7 +3535,7 @@ }, "; }" ], - "path": "x-pack/plugins/observability/public/plugin.ts", + "path": "x-pack/plugins/observability_solution/observability/public/plugin.ts", "deprecated": false, "trackAdoption": false }, @@ -3556,7 +3556,7 @@ }, " | undefined" ], - "path": "x-pack/plugins/observability/public/plugin.ts", + "path": "x-pack/plugins/observability_solution/observability/public/plugin.ts", "deprecated": false, "trackAdoption": false }, @@ -3576,7 +3576,7 @@ "text": "ThemeServiceSetup" } ], - "path": "x-pack/plugins/observability/public/plugin.ts", + "path": "x-pack/plugins/observability_solution/observability/public/plugin.ts", "deprecated": false, "trackAdoption": false } @@ -3608,7 +3608,7 @@ }, "" ], - "path": "x-pack/plugins/observability/public/rules/create_observability_rule_type_registry.ts", + "path": "x-pack/plugins/observability_solution/observability/public/rules/create_observability_rule_type_registry.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -3634,7 +3634,7 @@ "Maybe", ", denominator: number | undefined, fallbackResult?: string) => string; }; }) => { reason: string; link?: string | undefined; hasBasePath?: boolean | undefined; }" ], - "path": "x-pack/plugins/observability/public/rules/create_observability_rule_type_registry.ts", + "path": "x-pack/plugins/observability_solution/observability/public/rules/create_observability_rule_type_registry.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -3661,7 +3661,7 @@ "Maybe", ", denominator: number | undefined, fallbackResult?: string) => string; }; }" ], - "path": "x-pack/plugins/observability/public/rules/create_observability_rule_type_registry.ts", + "path": "x-pack/plugins/observability_solution/observability/public/rules/create_observability_rule_type_registry.ts", "deprecated": false, "trackAdoption": false } @@ -3677,7 +3677,7 @@ "signature": [ "number | undefined" ], - "path": "x-pack/plugins/observability/public/rules/create_observability_rule_type_registry.ts", + "path": "x-pack/plugins/observability_solution/observability/public/rules/create_observability_rule_type_registry.ts", "deprecated": false, "trackAdoption": false } @@ -3691,7 +3691,7 @@ "tags": [], "label": "Series", "description": [], - "path": "x-pack/plugins/observability/public/typings/fetch_overview_data/index.ts", + "path": "x-pack/plugins/observability_solution/observability/public/typings/fetch_overview_data/index.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -3712,7 +3712,7 @@ }, "[]" ], - "path": "x-pack/plugins/observability/public/typings/fetch_overview_data/index.ts", + "path": "x-pack/plugins/observability_solution/observability/public/typings/fetch_overview_data/index.ts", "deprecated": false, "trackAdoption": false } @@ -3747,7 +3747,7 @@ "text": "SerializableRecord" } ], - "path": "x-pack/plugins/observability/public/locators/slo_edit.ts", + "path": "x-pack/plugins/observability_solution/observability/public/locators/slo_edit.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -3760,7 +3760,7 @@ "tags": [], "label": "Stat", "description": [], - "path": "x-pack/plugins/observability/public/typings/fetch_overview_data/index.ts", + "path": "x-pack/plugins/observability_solution/observability/public/typings/fetch_overview_data/index.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -3774,7 +3774,7 @@ "signature": [ "\"number\" | \"percent\" | \"bytesPerSecond\"" ], - "path": "x-pack/plugins/observability/public/typings/fetch_overview_data/index.ts", + "path": "x-pack/plugins/observability_solution/observability/public/typings/fetch_overview_data/index.ts", "deprecated": false, "trackAdoption": false }, @@ -3785,7 +3785,7 @@ "tags": [], "label": "value", "description": [], - "path": "x-pack/plugins/observability/public/typings/fetch_overview_data/index.ts", + "path": "x-pack/plugins/observability_solution/observability/public/typings/fetch_overview_data/index.ts", "deprecated": false, "trackAdoption": false } @@ -3816,7 +3816,7 @@ "text": "HasDataResponse" } ], - "path": "x-pack/plugins/observability/public/typings/fetch_overview_data/index.ts", + "path": "x-pack/plugins/observability_solution/observability/public/typings/fetch_overview_data/index.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -3827,7 +3827,7 @@ "tags": [], "label": "indices", "description": [], - "path": "x-pack/plugins/observability/public/typings/fetch_overview_data/index.ts", + "path": "x-pack/plugins/observability_solution/observability/public/typings/fetch_overview_data/index.ts", "deprecated": false, "trackAdoption": false } @@ -3851,7 +3851,7 @@ }, "" ], - "path": "x-pack/plugins/observability/public/typings/alerts.ts", + "path": "x-pack/plugins/observability_solution/observability/public/typings/alerts.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -3873,7 +3873,7 @@ }, "[]; }; 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.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; }; }>> & OutputOf> & TAdditionalMetaFields" ], - "path": "x-pack/plugins/observability/public/typings/alerts.ts", + "path": "x-pack/plugins/observability_solution/observability/public/typings/alerts.ts", "deprecated": false, "trackAdoption": false }, @@ -3884,7 +3884,7 @@ "tags": [], "label": "start", "description": [], - "path": "x-pack/plugins/observability/public/typings/alerts.ts", + "path": "x-pack/plugins/observability_solution/observability/public/typings/alerts.ts", "deprecated": false, "trackAdoption": false }, @@ -3895,7 +3895,7 @@ "tags": [], "label": "lastUpdated", "description": [], - "path": "x-pack/plugins/observability/public/typings/alerts.ts", + "path": "x-pack/plugins/observability_solution/observability/public/typings/alerts.ts", "deprecated": false, "trackAdoption": false }, @@ -3906,7 +3906,7 @@ "tags": [], "label": "reason", "description": [], - "path": "x-pack/plugins/observability/public/typings/alerts.ts", + "path": "x-pack/plugins/observability_solution/observability/public/typings/alerts.ts", "deprecated": false, "trackAdoption": false }, @@ -3920,7 +3920,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/observability/public/typings/alerts.ts", + "path": "x-pack/plugins/observability_solution/observability/public/typings/alerts.ts", "deprecated": false, "trackAdoption": false }, @@ -3931,7 +3931,7 @@ "tags": [], "label": "active", "description": [], - "path": "x-pack/plugins/observability/public/typings/alerts.ts", + "path": "x-pack/plugins/observability_solution/observability/public/typings/alerts.ts", "deprecated": false, "trackAdoption": false }, @@ -3945,7 +3945,7 @@ "signature": [ "boolean | undefined" ], - "path": "x-pack/plugins/observability/public/typings/alerts.ts", + "path": "x-pack/plugins/observability_solution/observability/public/typings/alerts.ts", "deprecated": false, "trackAdoption": false } @@ -3976,7 +3976,7 @@ "text": "FetchDataResponse" } ], - "path": "x-pack/plugins/observability/public/typings/fetch_overview_data/index.ts", + "path": "x-pack/plugins/observability_solution/observability/public/typings/fetch_overview_data/index.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -4014,7 +4014,7 @@ }, "; }" ], - "path": "x-pack/plugins/observability/public/typings/fetch_overview_data/index.ts", + "path": "x-pack/plugins/observability_solution/observability/public/typings/fetch_overview_data/index.ts", "deprecated": false, "trackAdoption": false }, @@ -4044,7 +4044,7 @@ }, "; }" ], - "path": "x-pack/plugins/observability/public/typings/fetch_overview_data/index.ts", + "path": "x-pack/plugins/observability_solution/observability/public/typings/fetch_overview_data/index.ts", "deprecated": false, "trackAdoption": false } @@ -4075,7 +4075,7 @@ "text": "FetchDataResponse" } ], - "path": "x-pack/plugins/observability/public/typings/fetch_overview_data/index.ts", + "path": "x-pack/plugins/observability_solution/observability/public/typings/fetch_overview_data/index.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -4095,7 +4095,7 @@ "text": "UXMetrics" } ], - "path": "x-pack/plugins/observability/public/typings/fetch_overview_data/index.ts", + "path": "x-pack/plugins/observability_solution/observability/public/typings/fetch_overview_data/index.ts", "deprecated": false, "trackAdoption": false } @@ -4126,7 +4126,7 @@ "text": "HasDataResponse" } ], - "path": "x-pack/plugins/observability/public/typings/fetch_overview_data/index.ts", + "path": "x-pack/plugins/observability_solution/observability/public/typings/fetch_overview_data/index.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -4140,7 +4140,7 @@ "signature": [ "string | number | undefined" ], - "path": "x-pack/plugins/observability/public/typings/fetch_overview_data/index.ts", + "path": "x-pack/plugins/observability_solution/observability/public/typings/fetch_overview_data/index.ts", "deprecated": false, "trackAdoption": false }, @@ -4154,7 +4154,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/observability/public/typings/fetch_overview_data/index.ts", + "path": "x-pack/plugins/observability_solution/observability/public/typings/fetch_overview_data/index.ts", "deprecated": false, "trackAdoption": false } @@ -4168,7 +4168,7 @@ "tags": [], "label": "WindowSchema", "description": [], - "path": "x-pack/plugins/observability/public/typings/slo/index.ts", + "path": "x-pack/plugins/observability_solution/observability/public/typings/slo/index.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -4179,7 +4179,7 @@ "tags": [], "label": "id", "description": [], - "path": "x-pack/plugins/observability/public/typings/slo/index.ts", + "path": "x-pack/plugins/observability_solution/observability/public/typings/slo/index.ts", "deprecated": false, "trackAdoption": false }, @@ -4190,7 +4190,7 @@ "tags": [], "label": "burnRateThreshold", "description": [], - "path": "x-pack/plugins/observability/public/typings/slo/index.ts", + "path": "x-pack/plugins/observability_solution/observability/public/typings/slo/index.ts", "deprecated": false, "trackAdoption": false }, @@ -4201,7 +4201,7 @@ "tags": [], "label": "maxBurnRateThreshold", "description": [], - "path": "x-pack/plugins/observability/public/typings/slo/index.ts", + "path": "x-pack/plugins/observability_solution/observability/public/typings/slo/index.ts", "deprecated": false, "trackAdoption": false }, @@ -4221,7 +4221,7 @@ "text": "Duration" } ], - "path": "x-pack/plugins/observability/public/typings/slo/index.ts", + "path": "x-pack/plugins/observability_solution/observability/public/typings/slo/index.ts", "deprecated": false, "trackAdoption": false }, @@ -4241,7 +4241,7 @@ "text": "Duration" } ], - "path": "x-pack/plugins/observability/public/typings/slo/index.ts", + "path": "x-pack/plugins/observability_solution/observability/public/typings/slo/index.ts", "deprecated": false, "trackAdoption": false }, @@ -4252,7 +4252,7 @@ "tags": [], "label": "actionGroup", "description": [], - "path": "x-pack/plugins/observability/public/typings/slo/index.ts", + "path": "x-pack/plugins/observability_solution/observability/public/typings/slo/index.ts", "deprecated": false, "trackAdoption": false } @@ -4272,7 +4272,7 @@ "signature": [ "\"ALERTS_LOCATOR\"" ], - "path": "x-pack/plugins/observability/common/index.ts", + "path": "x-pack/plugins/observability_solution/observability/common/index.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -4287,7 +4287,7 @@ "signature": [ "\"observability:apmEnableTableSearchBar\"" ], - "path": "x-pack/plugins/observability/common/ui_settings_keys.ts", + "path": "x-pack/plugins/observability_solution/observability/common/ui_settings_keys.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -4302,7 +4302,7 @@ "signature": [ "\"observability:apmServiceGroupMaxNumberOfServices\"" ], - "path": "x-pack/plugins/observability/common/ui_settings_keys.ts", + "path": "x-pack/plugins/observability_solution/observability/common/ui_settings_keys.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -4317,7 +4317,7 @@ "signature": [ "\"m\" | \"M\" | \"w\" | \"d\" | \"h\"" ], - "path": "x-pack/plugins/observability/public/typings/slo/index.ts", + "path": "x-pack/plugins/observability_solution/observability/public/typings/slo/index.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -4332,7 +4332,7 @@ "signature": [ "\"observability:apmAgentExplorerView\"" ], - "path": "x-pack/plugins/observability/common/ui_settings_keys.ts", + "path": "x-pack/plugins/observability_solution/observability/common/ui_settings_keys.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -4347,7 +4347,7 @@ "signature": [ "\"observability:enableComparisonByDefault\"" ], - "path": "x-pack/plugins/observability/common/ui_settings_keys.ts", + "path": "x-pack/plugins/observability_solution/observability/common/ui_settings_keys.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -4362,7 +4362,7 @@ "signature": [ "\"observability:enableInfrastructureHostsView\"" ], - "path": "x-pack/plugins/observability/common/ui_settings_keys.ts", + "path": "x-pack/plugins/observability_solution/observability/common/ui_settings_keys.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -4377,7 +4377,7 @@ "signature": [ "\"observability:enableInspectEsQueries\"" ], - "path": "x-pack/plugins/observability/common/ui_settings_keys.ts", + "path": "x-pack/plugins/observability_solution/observability/common/ui_settings_keys.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -4392,7 +4392,7 @@ "signature": [ "\"observability:enableLegacyUptimeApp\"" ], - "path": "x-pack/plugins/observability/common/ui_settings_keys.ts", + "path": "x-pack/plugins/observability_solution/observability/common/ui_settings_keys.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -4415,7 +4415,7 @@ }, ") => Promise" ], - "path": "x-pack/plugins/observability/public/typings/fetch_overview_data/index.ts", + "path": "x-pack/plugins/observability_solution/observability/public/typings/fetch_overview_data/index.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -4436,7 +4436,7 @@ "text": "FetchDataParams" } ], - "path": "x-pack/plugins/observability/public/typings/fetch_overview_data/index.ts", + "path": "x-pack/plugins/observability_solution/observability/public/typings/fetch_overview_data/index.ts", "deprecated": false, "trackAdoption": false } @@ -4469,7 +4469,7 @@ }, "[T]>" ], - "path": "x-pack/plugins/observability/public/typings/fetch_overview_data/index.ts", + "path": "x-pack/plugins/observability_solution/observability/public/typings/fetch_overview_data/index.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -4491,7 +4491,7 @@ }, " | undefined" ], - "path": "x-pack/plugins/observability/public/typings/fetch_overview_data/index.ts", + "path": "x-pack/plugins/observability_solution/observability/public/typings/fetch_overview_data/index.ts", "deprecated": false, "trackAdoption": false } @@ -4508,7 +4508,7 @@ "signature": [ "number | null" ], - "path": "x-pack/plugins/observability/public/typings/fetch_overview_data/index.ts", + "path": "x-pack/plugins/observability_solution/observability/public/typings/fetch_overview_data/index.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -4523,7 +4523,7 @@ "signature": [ "\"observability-overview\"" ], - "path": "x-pack/plugins/observability/common/index.ts", + "path": "x-pack/plugins/observability_solution/observability/common/index.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -4538,7 +4538,7 @@ "signature": [ "\"observability\"" ], - "path": "x-pack/plugins/observability/common/index.ts", + "path": "x-pack/plugins/observability_solution/observability/common/index.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -4553,7 +4553,7 @@ "signature": [ "\"uptime\" | \"ux\" | \"infra_logs\" | \"infra_metrics\" | \"apm\" | \"universal_profiling\"" ], - "path": "x-pack/plugins/observability/public/typings/fetch_overview_data/index.ts", + "path": "x-pack/plugins/observability_solution/observability/public/typings/fetch_overview_data/index.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -4580,7 +4580,7 @@ "Maybe", ", denominator: number | undefined, fallbackResult?: string) => string; }; }) => { reason: string; link?: string | undefined; hasBasePath?: boolean | undefined; }" ], - "path": "x-pack/plugins/observability/public/rules/create_observability_rule_type_registry.ts", + "path": "x-pack/plugins/observability_solution/observability/public/rules/create_observability_rule_type_registry.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -4607,7 +4607,7 @@ "Maybe", ", denominator: number | undefined, fallbackResult?: string) => string; }; }" ], - "path": "x-pack/plugins/observability/public/rules/create_observability_rule_type_registry.ts", + "path": "x-pack/plugins/observability_solution/observability/public/rules/create_observability_rule_type_registry.ts", "deprecated": false, "trackAdoption": false } @@ -4640,7 +4640,7 @@ }, " | undefined; list: () => string[]; }" ], - "path": "x-pack/plugins/observability/public/rules/create_observability_rule_type_registry.ts", + "path": "x-pack/plugins/observability_solution/observability/public/rules/create_observability_rule_type_registry.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -4655,7 +4655,7 @@ "signature": [ "\"RULE_DETAILS_LOCATOR\"" ], - "path": "x-pack/plugins/observability/common/index.ts", + "path": "x-pack/plugins/observability_solution/observability/common/index.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -4670,7 +4670,7 @@ "signature": [ "\"RULES_LOCATOR\"" ], - "path": "x-pack/plugins/observability/common/index.ts", + "path": "x-pack/plugins/observability_solution/observability/common/index.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -4685,7 +4685,7 @@ "signature": [ "\"SLO_DETAILS_LOCATOR\"" ], - "path": "x-pack/plugins/observability/common/index.ts", + "path": "x-pack/plugins/observability_solution/observability/common/index.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -4700,7 +4700,7 @@ "signature": [ "\"SLO_EDIT_LOCATOR\"" ], - "path": "x-pack/plugins/observability/common/index.ts", + "path": "x-pack/plugins/observability_solution/observability/common/index.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -4715,7 +4715,7 @@ "signature": [ "string | null" ], - "path": "x-pack/plugins/observability/public/typings/fetch_overview_data/index.ts", + "path": "x-pack/plugins/observability_solution/observability/public/typings/fetch_overview_data/index.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -4740,7 +4740,7 @@ }, " : K[attr]) | undefined; }" ], - "path": "x-pack/plugins/observability/public/typings/utils.ts", + "path": "x-pack/plugins/observability_solution/observability/public/typings/utils.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -4755,7 +4755,7 @@ "signature": [ "\"observability:syntheticsThrottlingEnabled\"" ], - "path": "x-pack/plugins/observability/common/ui_settings_keys.ts", + "path": "x-pack/plugins/observability_solution/observability/common/ui_settings_keys.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -4776,7 +4776,7 @@ "text": "FetchDataResponse" } ], - "path": "x-pack/plugins/observability/public/typings/fetch_overview_data/index.ts", + "path": "x-pack/plugins/observability_solution/observability/public/typings/fetch_overview_data/index.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -4791,7 +4791,7 @@ "signature": [ "\"UPTIME_OVERVIEW_LOCATOR\"" ], - "path": "x-pack/plugins/observability/common/index.ts", + "path": "x-pack/plugins/observability_solution/observability/common/index.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -4906,7 +4906,7 @@ "SloListLocatorParams", ">; }" ], - "path": "x-pack/plugins/observability/public/plugin.ts", + "path": "x-pack/plugins/observability_solution/observability/public/plugin.ts", "deprecated": false, "trackAdoption": false, "lifecycle": "setup", @@ -4958,7 +4958,7 @@ "CreateSLOForm", "> | undefined; }) => JSX.Element; }" ], - "path": "x-pack/plugins/observability/public/plugin.ts", + "path": "x-pack/plugins/observability_solution/observability/public/plugin.ts", "deprecated": false, "trackAdoption": false, "lifecycle": "start", @@ -4978,7 +4978,7 @@ "WrappedElasticsearchClientError", " extends Error" ], - "path": "x-pack/plugins/observability/common/utils/unwrap_es_response.ts", + "path": "x-pack/plugins/observability_solution/observability/common/utils/unwrap_es_response.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -4992,7 +4992,7 @@ "signature": [ "ElasticsearchClientError" ], - "path": "x-pack/plugins/observability/common/utils/unwrap_es_response.ts", + "path": "x-pack/plugins/observability_solution/observability/common/utils/unwrap_es_response.ts", "deprecated": false, "trackAdoption": false }, @@ -5006,7 +5006,7 @@ "signature": [ "any" ], - "path": "x-pack/plugins/observability/common/utils/unwrap_es_response.ts", + "path": "x-pack/plugins/observability_solution/observability/common/utils/unwrap_es_response.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -5020,7 +5020,7 @@ "signature": [ "ElasticsearchClientError" ], - "path": "x-pack/plugins/observability/common/utils/unwrap_es_response.ts", + "path": "x-pack/plugins/observability_solution/observability/common/utils/unwrap_es_response.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -5079,7 +5079,7 @@ }, "; }) => Promise" ], - "path": "x-pack/plugins/observability/server/utils/create_or_update_index.ts", + "path": "x-pack/plugins/observability_solution/observability/server/utils/create_or_update_index.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -5090,7 +5090,7 @@ "tags": [], "label": "{\n index,\n mappings,\n client,\n logger,\n}", "description": [], - "path": "x-pack/plugins/observability/server/utils/create_or_update_index.ts", + "path": "x-pack/plugins/observability_solution/observability/server/utils/create_or_update_index.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -5101,7 +5101,7 @@ "tags": [], "label": "index", "description": [], - "path": "x-pack/plugins/observability/server/utils/create_or_update_index.ts", + "path": "x-pack/plugins/observability_solution/observability/server/utils/create_or_update_index.ts", "deprecated": false, "trackAdoption": false }, @@ -5134,7 +5134,7 @@ "MappingRuntimeFields", " | undefined; }" ], - "path": "x-pack/plugins/observability/server/utils/create_or_update_index.ts", + "path": "x-pack/plugins/observability_solution/observability/server/utils/create_or_update_index.ts", "deprecated": false, "trackAdoption": false }, @@ -6364,7 +6364,7 @@ "default", "; }" ], - "path": "x-pack/plugins/observability/server/utils/create_or_update_index.ts", + "path": "x-pack/plugins/observability_solution/observability/server/utils/create_or_update_index.ts", "deprecated": false, "trackAdoption": false }, @@ -6384,7 +6384,7 @@ "text": "Logger" } ], - "path": "x-pack/plugins/observability/server/utils/create_or_update_index.ts", + "path": "x-pack/plugins/observability_solution/observability/server/utils/create_or_update_index.ts", "deprecated": false, "trackAdoption": false } @@ -6424,7 +6424,7 @@ "AcknowledgedResponseBase", " | undefined>" ], - "path": "x-pack/plugins/observability/server/utils/create_or_update_index_template.ts", + "path": "x-pack/plugins/observability_solution/observability/server/utils/create_or_update_index_template.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -6435,7 +6435,7 @@ "tags": [], "label": "{\n indexTemplate,\n client,\n logger,\n}", "description": [], - "path": "x-pack/plugins/observability/server/utils/create_or_update_index_template.ts", + "path": "x-pack/plugins/observability_solution/observability/server/utils/create_or_update_index_template.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -6449,7 +6449,7 @@ "signature": [ "IndicesPutIndexTemplateRequest" ], - "path": "x-pack/plugins/observability/server/utils/create_or_update_index_template.ts", + "path": "x-pack/plugins/observability_solution/observability/server/utils/create_or_update_index_template.ts", "deprecated": false, "trackAdoption": false }, @@ -7679,7 +7679,7 @@ "default", "; }" ], - "path": "x-pack/plugins/observability/server/utils/create_or_update_index_template.ts", + "path": "x-pack/plugins/observability_solution/observability/server/utils/create_or_update_index_template.ts", "deprecated": false, "trackAdoption": false }, @@ -7699,7 +7699,7 @@ "text": "Logger" } ], - "path": "x-pack/plugins/observability/server/utils/create_or_update_index_template.ts", + "path": "x-pack/plugins/observability_solution/observability/server/utils/create_or_update_index_template.ts", "deprecated": false, "trackAdoption": false } @@ -7746,7 +7746,7 @@ "text": "Request" } ], - "path": "x-pack/plugins/observability/common/utils/get_inspect_response.ts", + "path": "x-pack/plugins/observability_solution/observability/common/utils/get_inspect_response.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -7757,7 +7757,7 @@ "tags": [], "label": "{\n esError,\n esRequestParams,\n esRequestStatus,\n esResponse,\n kibanaRequest,\n operationName,\n startTime,\n}", "description": [], - "path": "x-pack/plugins/observability/common/utils/get_inspect_response.ts", + "path": "x-pack/plugins/observability_solution/observability/common/utils/get_inspect_response.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -7772,7 +7772,7 @@ "WrappedElasticsearchClientError", " | null" ], - "path": "x-pack/plugins/observability/common/utils/get_inspect_response.ts", + "path": "x-pack/plugins/observability_solution/observability/common/utils/get_inspect_response.ts", "deprecated": false, "trackAdoption": false }, @@ -7786,7 +7786,7 @@ "signature": [ "{ [x: string]: any; }" ], - "path": "x-pack/plugins/observability/common/utils/get_inspect_response.ts", + "path": "x-pack/plugins/observability_solution/observability/common/utils/get_inspect_response.ts", "deprecated": false, "trackAdoption": false }, @@ -7806,7 +7806,7 @@ "text": "RequestStatus" } ], - "path": "x-pack/plugins/observability/common/utils/get_inspect_response.ts", + "path": "x-pack/plugins/observability_solution/observability/common/utils/get_inspect_response.ts", "deprecated": false, "trackAdoption": false }, @@ -7820,7 +7820,7 @@ "signature": [ "any" ], - "path": "x-pack/plugins/observability/common/utils/get_inspect_response.ts", + "path": "x-pack/plugins/observability_solution/observability/common/utils/get_inspect_response.ts", "deprecated": false, "trackAdoption": false }, @@ -7841,7 +7841,7 @@ }, "" ], - "path": "x-pack/plugins/observability/common/utils/get_inspect_response.ts", + "path": "x-pack/plugins/observability_solution/observability/common/utils/get_inspect_response.ts", "deprecated": false, "trackAdoption": false }, @@ -7852,7 +7852,7 @@ "tags": [], "label": "operationName", "description": [], - "path": "x-pack/plugins/observability/common/utils/get_inspect_response.ts", + "path": "x-pack/plugins/observability_solution/observability/common/utils/get_inspect_response.ts", "deprecated": false, "trackAdoption": false }, @@ -7863,7 +7863,7 @@ "tags": [], "label": "startTime", "description": [], - "path": "x-pack/plugins/observability/common/utils/get_inspect_response.ts", + "path": "x-pack/plugins/observability_solution/observability/common/utils/get_inspect_response.ts", "deprecated": false, "trackAdoption": false } @@ -7885,7 +7885,7 @@ "QueryDslQueryContainer", "[]" ], - "path": "x-pack/plugins/observability/server/utils/get_parsed_filtered_query.ts", + "path": "x-pack/plugins/observability_solution/observability/server/utils/get_parsed_filtered_query.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -7899,7 +7899,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/observability/server/utils/get_parsed_filtered_query.ts", + "path": "x-pack/plugins/observability_solution/observability/server/utils/get_parsed_filtered_query.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -7920,7 +7920,7 @@ "QueryDslQueryContainer", "[]" ], - "path": "x-pack/plugins/observability/server/utils/queries.ts", + "path": "x-pack/plugins/observability_solution/observability/server/utils/queries.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -7934,7 +7934,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/observability/server/utils/queries.ts", + "path": "x-pack/plugins/observability_solution/observability/server/utils/queries.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -7955,7 +7955,7 @@ "QueryDslQueryContainer", "[]" ], - "path": "x-pack/plugins/observability/server/utils/queries.ts", + "path": "x-pack/plugins/observability_solution/observability/server/utils/queries.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -7969,7 +7969,7 @@ "signature": [ "number | undefined" ], - "path": "x-pack/plugins/observability/server/utils/queries.ts", + "path": "x-pack/plugins/observability_solution/observability/server/utils/queries.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -7984,7 +7984,7 @@ "signature": [ "number | undefined" ], - "path": "x-pack/plugins/observability/server/utils/queries.ts", + "path": "x-pack/plugins/observability_solution/observability/server/utils/queries.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -7999,7 +7999,7 @@ "signature": [ "string" ], - "path": "x-pack/plugins/observability/server/utils/queries.ts", + "path": "x-pack/plugins/observability_solution/observability/server/utils/queries.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -8020,7 +8020,7 @@ "QueryDslQueryContainer", "[]" ], - "path": "x-pack/plugins/observability/server/utils/queries.ts", + "path": "x-pack/plugins/observability_solution/observability/server/utils/queries.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -8034,7 +8034,7 @@ "signature": [ "T" ], - "path": "x-pack/plugins/observability/server/utils/queries.ts", + "path": "x-pack/plugins/observability_solution/observability/server/utils/queries.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -8049,7 +8049,7 @@ "signature": [ "string | number | boolean | null | undefined" ], - "path": "x-pack/plugins/observability/server/utils/queries.ts", + "path": "x-pack/plugins/observability_solution/observability/server/utils/queries.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -8064,7 +8064,7 @@ "signature": [ "TermQueryOpts" ], - "path": "x-pack/plugins/observability/server/utils/queries.ts", + "path": "x-pack/plugins/observability_solution/observability/server/utils/queries.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -8085,7 +8085,7 @@ "QueryDslQueryContainer", "[]" ], - "path": "x-pack/plugins/observability/server/utils/queries.ts", + "path": "x-pack/plugins/observability_solution/observability/server/utils/queries.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -8099,7 +8099,7 @@ "signature": [ "string" ], - "path": "x-pack/plugins/observability/server/utils/queries.ts", + "path": "x-pack/plugins/observability_solution/observability/server/utils/queries.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -8114,7 +8114,7 @@ "signature": [ "(string | number | boolean | null | undefined)[]" ], - "path": "x-pack/plugins/observability/server/utils/queries.ts", + "path": "x-pack/plugins/observability_solution/observability/server/utils/queries.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -8133,7 +8133,7 @@ "signature": [ "(responsePromise: T) => Promise[\"body\"]>" ], - "path": "x-pack/plugins/observability/common/utils/unwrap_es_response.ts", + "path": "x-pack/plugins/observability_solution/observability/common/utils/unwrap_es_response.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -8147,7 +8147,7 @@ "signature": [ "T" ], - "path": "x-pack/plugins/observability/common/utils/unwrap_es_response.ts", + "path": "x-pack/plugins/observability_solution/observability/common/utils/unwrap_es_response.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -8168,7 +8168,7 @@ "QueryDslQueryContainer", "[]" ], - "path": "x-pack/plugins/observability/server/utils/queries.ts", + "path": "x-pack/plugins/observability_solution/observability/server/utils/queries.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -8182,7 +8182,7 @@ "signature": [ "T" ], - "path": "x-pack/plugins/observability/server/utils/queries.ts", + "path": "x-pack/plugins/observability_solution/observability/server/utils/queries.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -8197,7 +8197,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/observability/server/utils/queries.ts", + "path": "x-pack/plugins/observability_solution/observability/server/utils/queries.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -8212,7 +8212,7 @@ "signature": [ "{ leadingWildcard: boolean; }" ], - "path": "x-pack/plugins/observability/server/utils/queries.ts", + "path": "x-pack/plugins/observability_solution/observability/server/utils/queries.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -8230,7 +8230,7 @@ "tags": [], "label": "ObservabilityRouteCreateOptions", "description": [], - "path": "x-pack/plugins/observability/server/routes/types.ts", + "path": "x-pack/plugins/observability_solution/observability/server/routes/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -8244,7 +8244,7 @@ "signature": [ "{ tags: string[]; access?: \"public\" | \"internal\" | undefined; }" ], - "path": "x-pack/plugins/observability/server/routes/types.ts", + "path": "x-pack/plugins/observability_solution/observability/server/routes/types.ts", "deprecated": false, "trackAdoption": false } @@ -8258,7 +8258,7 @@ "tags": [], "label": "ObservabilityRouteHandlerResources", "description": [], - "path": "x-pack/plugins/observability/server/routes/types.ts", + "path": "x-pack/plugins/observability_solution/observability/server/routes/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -8303,7 +8303,7 @@ }, ">; }" ], - "path": "x-pack/plugins/observability/server/routes/types.ts", + "path": "x-pack/plugins/observability_solution/observability/server/routes/types.ts", "deprecated": false, "trackAdoption": false }, @@ -8317,7 +8317,7 @@ "signature": [ "RegisterRoutesDependencies" ], - "path": "x-pack/plugins/observability/server/routes/types.ts", + "path": "x-pack/plugins/observability_solution/observability/server/routes/types.ts", "deprecated": false, "trackAdoption": false }, @@ -8337,7 +8337,7 @@ "text": "Logger" } ], - "path": "x-pack/plugins/observability/server/routes/types.ts", + "path": "x-pack/plugins/observability_solution/observability/server/routes/types.ts", "deprecated": false, "trackAdoption": false }, @@ -8358,7 +8358,7 @@ }, "" ], - "path": "x-pack/plugins/observability/server/routes/types.ts", + "path": "x-pack/plugins/observability_solution/observability/server/routes/types.ts", "deprecated": false, "trackAdoption": false }, @@ -8372,7 +8372,7 @@ "signature": [ "{ readonly enabled: boolean; readonly unsafe: Readonly<{} & { alertDetails: Readonly<{} & { uptime: Readonly<{} & { enabled: boolean; }>; observability: Readonly<{} & { enabled: boolean; }>; metrics: Readonly<{} & { enabled: boolean; }>; logs: Readonly<{} & { enabled: boolean; }>; }>; thresholdRule: Readonly<{} & { enabled: boolean; }>; }>; readonly annotations: Readonly<{} & { index: string; enabled: boolean; }>; readonly customThresholdRule: Readonly<{} & { groupByPageSize: number; }>; readonly createO11yGenericFeatureId: boolean; readonly sloOrphanSummaryCleanUpTaskEnabled: boolean; }" ], - "path": "x-pack/plugins/observability/server/routes/types.ts", + "path": "x-pack/plugins/observability_solution/observability/server/routes/types.ts", "deprecated": false, "trackAdoption": false } @@ -8400,7 +8400,7 @@ }, " | undefined; handler: ({}: any) => Promise; } & Record; }" ], - "path": "x-pack/plugins/observability/server/routes/types.ts", + "path": "x-pack/plugins/observability_solution/observability/server/routes/types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -8434,7 +8434,7 @@ "MappingRuntimeFields", " | undefined; }" ], - "path": "x-pack/plugins/observability/server/utils/create_or_update_index.ts", + "path": "x-pack/plugins/observability_solution/observability/server/utils/create_or_update_index.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -8499,7 +8499,7 @@ "section": "def-server.ObservabilityRouteHandlerResources", "text": "ObservabilityRouteHandlerResources" }, - " & { params: { path: { id: string; }; }; }) => Promise<{ id: string; name: string; description: string; indicator: { type: \"sli.apm.transactionDuration\"; params: { environment: string; service: string; transactionType: string; transactionName: string; threshold: number; index: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }; } | { type: \"sli.apm.transactionErrorRate\"; params: { environment: string; service: string; transactionType: string; transactionName: string; index: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }; } | { type: \"sli.kql.custom\"; params: { index: string; good: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; }; total: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; }; timestampField: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }; } | { type: \"sli.metric.custom\"; params: { index: string; good: { metrics: (({ name: string; aggregation: \"sum\"; field: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }) | ({ name: string; aggregation: \"doc_count\"; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }))[]; equation: string; }; total: { metrics: (({ name: string; aggregation: \"sum\"; field: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }) | ({ name: string; aggregation: \"doc_count\"; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }))[]; equation: string; }; timestampField: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }; } | { type: \"sli.metric.timeslice\"; params: { index: string; metric: { metrics: (({ name: string; aggregation: \"min\" | \"max\" | \"sum\" | \"avg\" | \"cardinality\" | \"last_value\" | \"std_deviation\"; field: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }) | ({ name: string; aggregation: \"doc_count\"; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }) | ({ name: string; aggregation: \"percentile\"; field: string; percentile: number; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }))[]; equation: string; threshold: number; comparator: \"GT\" | \"GTE\" | \"LT\" | \"LTE\"; }; timestampField: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }; } | { type: \"sli.histogram.custom\"; params: { index: string; timestampField: string; good: ({ field: string; aggregation: \"value_count\"; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }) | ({ field: string; aggregation: \"range\"; from: number; to: number; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }); total: ({ field: string; aggregation: \"value_count\"; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }) | ({ field: string; aggregation: \"range\"; from: number; to: number; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }); } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }; }; timeWindow: { duration: string; type: \"rolling\"; } | { duration: string; type: \"calendarAligned\"; }; budgetingMethod: \"occurrences\" | \"timeslices\"; objective: { target: number; } & { timesliceTarget?: number | undefined; timesliceWindow?: string | undefined; }; revision: number; settings: { syncDelay: string; frequency: string; }; enabled: boolean; tags: string[]; groupBy: string; createdAt: string; updatedAt: string; version: number; } & { instanceId?: string | undefined; }>; } & ", + " & { params: { path: { id: string; }; }; }) => Promise<{ id: string; name: string; description: string; indicator: { type: \"sli.apm.transactionDuration\"; params: { environment: string; service: string; transactionType: string; transactionName: string; threshold: number; index: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }; } | { type: \"sli.apm.transactionErrorRate\"; params: { environment: string; service: string; transactionType: string; transactionName: string; index: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }; } | { type: \"sli.kql.custom\"; params: { index: string; good: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; }; total: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; }; timestampField: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }; } | { type: \"sli.metric.custom\"; params: { index: string; good: { metrics: (({ name: string; aggregation: \"sum\"; field: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }) | ({ name: string; aggregation: \"doc_count\"; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }))[]; equation: string; }; total: { metrics: (({ name: string; aggregation: \"sum\"; field: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }) | ({ name: string; aggregation: \"doc_count\"; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }))[]; equation: string; }; timestampField: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }; } | { type: \"sli.metric.timeslice\"; params: { index: string; metric: { metrics: (({ name: string; aggregation: \"min\" | \"max\" | \"sum\" | \"avg\" | \"cardinality\" | \"last_value\" | \"std_deviation\"; field: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }) | ({ name: string; aggregation: \"doc_count\"; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }) | ({ name: string; aggregation: \"percentile\"; field: string; percentile: number; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }))[]; equation: string; threshold: number; comparator: \"GT\" | \"GTE\" | \"LT\" | \"LTE\"; }; timestampField: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }; } | { type: \"sli.histogram.custom\"; params: { index: string; timestampField: string; good: ({ field: string; aggregation: \"value_count\"; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }) | ({ field: string; aggregation: \"range\"; from: number; to: number; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }); total: ({ field: string; aggregation: \"value_count\"; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }) | ({ field: string; aggregation: \"range\"; from: number; to: number; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }); } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }; }; timeWindow: { duration: string; type: \"rolling\"; } | { duration: string; type: \"calendarAligned\"; }; budgetingMethod: \"occurrences\" | \"timeslices\"; objective: { target: number; } & { timesliceTarget?: number | undefined; timesliceWindow?: string | undefined; }; revision: number; settings: { syncDelay: string; frequency: string; }; enabled: boolean; tags: string[]; groupBy: string | string[]; createdAt: string; updatedAt: string; version: number; } & { instanceId?: string | undefined; }>; } & ", { "pluginId": "observability", "scope": "server", @@ -8521,7 +8521,7 @@ "section": "def-server.ObservabilityRouteHandlerResources", "text": "ObservabilityRouteHandlerResources" }, - " & { params: { path: { id: string; }; }; }) => Promise<{ groupBy: string; instances: string[]; }>; } & ", + " & { params: { path: { id: string; }; }; }) => Promise<{ groupBy: string | string[]; instances: string[]; }>; } & ", { "pluginId": "observability", "scope": "server", @@ -9733,7 +9733,13 @@ "StringC", "; groupBy: ", "StringC", - "; }>]>; }> | undefined; handler: ({}: ", + "; groupings: ", + "RecordC", + "<", + "StringC", + ", ", + "UnknownC", + ">; }>]>; }> | undefined; handler: ({}: ", { "pluginId": "observability", "scope": "server", @@ -9749,7 +9755,7 @@ "section": "def-common.Duration", "text": "Duration" }, - " | undefined; }) | undefined; instanceId?: string | undefined; groupBy?: string | undefined; }; }; }) => Promise<({ date: string; sliValue: number; } & { events?: { good: number; bad: number; total: number; } | undefined; })[]>; } & ", + " | undefined; }) | undefined; instanceId?: string | undefined; groupBy?: string | undefined; groupings?: { [x: string]: unknown; } | undefined; }; }; }) => Promise<({ date: string; sliValue: number; } & { events?: { good: number; bad: number; total: number; } | undefined; })[]>; } & ", { "pluginId": "observability", "scope": "server", @@ -11099,7 +11105,15 @@ "LiteralC", "<\"*\">, ", "StringC", - "]>; }>; }> | undefined; handler: ({}: ", + ", ", + "ArrayC", + "<", + "UnionC", + "<[", + "LiteralC", + "<\"*\">, ", + "StringC", + "]>>]>; }>; }> | undefined; handler: ({}: ", { "pluginId": "observability", "scope": "server", @@ -11147,7 +11161,7 @@ "section": "def-common.Duration", "text": "Duration" }, - " | undefined; } | undefined; tags?: string[] | undefined; groupBy?: string | undefined; }; }; }) => Promise<{ id: string; name: string; description: string; indicator: { type: \"sli.apm.transactionDuration\"; params: { environment: string; service: string; transactionType: string; transactionName: string; threshold: number; index: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }; } | { type: \"sli.apm.transactionErrorRate\"; params: { environment: string; service: string; transactionType: string; transactionName: string; index: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }; } | { type: \"sli.kql.custom\"; params: { index: string; good: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; }; total: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; }; timestampField: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }; } | { type: \"sli.metric.custom\"; params: { index: string; good: { metrics: (({ name: string; aggregation: \"sum\"; field: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }) | ({ name: string; aggregation: \"doc_count\"; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }))[]; equation: string; }; total: { metrics: (({ name: string; aggregation: \"sum\"; field: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }) | ({ name: string; aggregation: \"doc_count\"; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }))[]; equation: string; }; timestampField: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }; } | { type: \"sli.metric.timeslice\"; params: { index: string; metric: { metrics: (({ name: string; aggregation: \"min\" | \"max\" | \"sum\" | \"avg\" | \"cardinality\" | \"last_value\" | \"std_deviation\"; field: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }) | ({ name: string; aggregation: \"doc_count\"; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }) | ({ name: string; aggregation: \"percentile\"; field: string; percentile: number; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }))[]; equation: string; threshold: number; comparator: \"GT\" | \"GTE\" | \"LT\" | \"LTE\"; }; timestampField: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }; } | { type: \"sli.histogram.custom\"; params: { index: string; timestampField: string; good: ({ field: string; aggregation: \"value_count\"; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }) | ({ field: string; aggregation: \"range\"; from: number; to: number; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }); total: ({ field: string; aggregation: \"value_count\"; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }) | ({ field: string; aggregation: \"range\"; from: number; to: number; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }); } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }; }; timeWindow: { duration: string; type: \"rolling\"; } | { duration: string; type: \"calendarAligned\"; }; budgetingMethod: \"occurrences\" | \"timeslices\"; objective: { target: number; } & { timesliceTarget?: number | undefined; timesliceWindow?: string | undefined; }; revision: number; settings: { syncDelay: string; frequency: string; }; enabled: boolean; tags: string[]; groupBy: string; createdAt: string; updatedAt: string; version: number; } & { instanceId?: string | undefined; }>; } & ", + " | undefined; } | undefined; tags?: string[] | undefined; groupBy?: string | string[] | undefined; }; }; }) => Promise<{ id: string; name: string; description: string; indicator: { type: \"sli.apm.transactionDuration\"; params: { environment: string; service: string; transactionType: string; transactionName: string; threshold: number; index: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }; } | { type: \"sli.apm.transactionErrorRate\"; params: { environment: string; service: string; transactionType: string; transactionName: string; index: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }; } | { type: \"sli.kql.custom\"; params: { index: string; good: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; }; total: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; }; timestampField: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }; } | { type: \"sli.metric.custom\"; params: { index: string; good: { metrics: (({ name: string; aggregation: \"sum\"; field: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }) | ({ name: string; aggregation: \"doc_count\"; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }))[]; equation: string; }; total: { metrics: (({ name: string; aggregation: \"sum\"; field: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }) | ({ name: string; aggregation: \"doc_count\"; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }))[]; equation: string; }; timestampField: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }; } | { type: \"sli.metric.timeslice\"; params: { index: string; metric: { metrics: (({ name: string; aggregation: \"min\" | \"max\" | \"sum\" | \"avg\" | \"cardinality\" | \"last_value\" | \"std_deviation\"; field: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }) | ({ name: string; aggregation: \"doc_count\"; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }) | ({ name: string; aggregation: \"percentile\"; field: string; percentile: number; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }))[]; equation: string; threshold: number; comparator: \"GT\" | \"GTE\" | \"LT\" | \"LTE\"; }; timestampField: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }; } | { type: \"sli.histogram.custom\"; params: { index: string; timestampField: string; good: ({ field: string; aggregation: \"value_count\"; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }) | ({ field: string; aggregation: \"range\"; from: number; to: number; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }); total: ({ field: string; aggregation: \"value_count\"; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }) | ({ field: string; aggregation: \"range\"; from: number; to: number; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }); } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }; }; timeWindow: { duration: string; type: \"rolling\"; } | { duration: string; type: \"calendarAligned\"; }; budgetingMethod: \"occurrences\" | \"timeslices\"; objective: { target: number; } & { timesliceTarget?: number | undefined; timesliceWindow?: string | undefined; }; revision: number; settings: { syncDelay: string; frequency: string; }; enabled: boolean; tags: string[]; groupBy: string | string[]; createdAt: string; updatedAt: string; version: number; } & { instanceId?: string | undefined; }>; } & ", { "pluginId": "observability", "scope": "server", @@ -11181,7 +11195,7 @@ "section": "def-server.ObservabilityRouteHandlerResources", "text": "ObservabilityRouteHandlerResources" }, - " & { params: { path: { id: string; }; } & { query?: { instanceId?: string | undefined; } | undefined; }; }) => Promise<{ id: string; name: string; description: string; indicator: { type: \"sli.apm.transactionDuration\"; params: { environment: string; service: string; transactionType: string; transactionName: string; threshold: number; index: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }; } | { type: \"sli.apm.transactionErrorRate\"; params: { environment: string; service: string; transactionType: string; transactionName: string; index: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }; } | { type: \"sli.kql.custom\"; params: { index: string; good: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; }; total: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; }; timestampField: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }; } | { type: \"sli.metric.custom\"; params: { index: string; good: { metrics: (({ name: string; aggregation: \"sum\"; field: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }) | ({ name: string; aggregation: \"doc_count\"; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }))[]; equation: string; }; total: { metrics: (({ name: string; aggregation: \"sum\"; field: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }) | ({ name: string; aggregation: \"doc_count\"; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }))[]; equation: string; }; timestampField: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }; } | { type: \"sli.metric.timeslice\"; params: { index: string; metric: { metrics: (({ name: string; aggregation: \"min\" | \"max\" | \"sum\" | \"avg\" | \"cardinality\" | \"last_value\" | \"std_deviation\"; field: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }) | ({ name: string; aggregation: \"doc_count\"; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }) | ({ name: string; aggregation: \"percentile\"; field: string; percentile: number; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }))[]; equation: string; threshold: number; comparator: \"GT\" | \"GTE\" | \"LT\" | \"LTE\"; }; timestampField: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }; } | { type: \"sli.histogram.custom\"; params: { index: string; timestampField: string; good: ({ field: string; aggregation: \"value_count\"; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }) | ({ field: string; aggregation: \"range\"; from: number; to: number; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }); total: ({ field: string; aggregation: \"value_count\"; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }) | ({ field: string; aggregation: \"range\"; from: number; to: number; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }); } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }; }; timeWindow: { duration: string; type: \"rolling\"; } | { duration: string; type: \"calendarAligned\"; }; budgetingMethod: \"occurrences\" | \"timeslices\"; objective: { target: number; } & { timesliceTarget?: number | undefined; timesliceWindow?: string | undefined; }; revision: number; settings: { syncDelay: string; frequency: string; }; enabled: boolean; tags: string[]; groupBy: string; createdAt: string; updatedAt: string; version: number; } & { instanceId?: string | undefined; } & { summary: { status: \"HEALTHY\" | \"NO_DATA\" | \"DEGRADING\" | \"VIOLATED\"; sliValue: number; errorBudget: { initial: number; consumed: number; remaining: number; isEstimated: boolean; }; }; }>; } & ", + " & { params: { path: { id: string; }; } & { query?: { instanceId?: string | undefined; } | undefined; }; }) => Promise<{ id: string; name: string; description: string; indicator: { type: \"sli.apm.transactionDuration\"; params: { environment: string; service: string; transactionType: string; transactionName: string; threshold: number; index: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }; } | { type: \"sli.apm.transactionErrorRate\"; params: { environment: string; service: string; transactionType: string; transactionName: string; index: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }; } | { type: \"sli.kql.custom\"; params: { index: string; good: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; }; total: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; }; timestampField: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }; } | { type: \"sli.metric.custom\"; params: { index: string; good: { metrics: (({ name: string; aggregation: \"sum\"; field: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }) | ({ name: string; aggregation: \"doc_count\"; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }))[]; equation: string; }; total: { metrics: (({ name: string; aggregation: \"sum\"; field: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }) | ({ name: string; aggregation: \"doc_count\"; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }))[]; equation: string; }; timestampField: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }; } | { type: \"sli.metric.timeslice\"; params: { index: string; metric: { metrics: (({ name: string; aggregation: \"min\" | \"max\" | \"sum\" | \"avg\" | \"cardinality\" | \"last_value\" | \"std_deviation\"; field: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }) | ({ name: string; aggregation: \"doc_count\"; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }) | ({ name: string; aggregation: \"percentile\"; field: string; percentile: number; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }))[]; equation: string; threshold: number; comparator: \"GT\" | \"GTE\" | \"LT\" | \"LTE\"; }; timestampField: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }; } | { type: \"sli.histogram.custom\"; params: { index: string; timestampField: string; good: ({ field: string; aggregation: \"value_count\"; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }) | ({ field: string; aggregation: \"range\"; from: number; to: number; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }); total: ({ field: string; aggregation: \"value_count\"; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }) | ({ field: string; aggregation: \"range\"; from: number; to: number; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }); } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }; }; timeWindow: { duration: string; type: \"rolling\"; } | { duration: string; type: \"calendarAligned\"; }; budgetingMethod: \"occurrences\" | \"timeslices\"; objective: { target: number; } & { timesliceTarget?: number | undefined; timesliceWindow?: string | undefined; }; revision: number; settings: { syncDelay: string; frequency: string; }; enabled: boolean; tags: string[]; groupBy: string | string[]; createdAt: string; updatedAt: string; version: number; } & { instanceId?: string | undefined; } & { summary: { status: \"HEALTHY\" | \"NO_DATA\" | \"DEGRADING\" | \"VIOLATED\"; sliValue: number; errorBudget: { initial: number; consumed: number; remaining: number; isEstimated: boolean; }; }; groupings: { [x: string]: string | number; }; }>; } & ", { "pluginId": "observability", "scope": "server", @@ -11225,7 +11239,7 @@ "section": "def-server.ObservabilityRouteHandlerResources", "text": "ObservabilityRouteHandlerResources" }, - " & { params?: { query?: { filters?: string | undefined; kqlQuery?: string | undefined; page?: string | undefined; perPage?: string | undefined; sortBy?: \"status\" | \"error_budget_consumed\" | \"error_budget_remaining\" | \"sli_value\" | undefined; sortDirection?: \"asc\" | \"desc\" | undefined; } | undefined; } | undefined; }) => Promise<{ page: number; perPage: number; total: number; results: ({ id: string; name: string; description: string; indicator: { type: \"sli.apm.transactionDuration\"; params: { environment: string; service: string; transactionType: string; transactionName: string; threshold: number; index: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }; } | { type: \"sli.apm.transactionErrorRate\"; params: { environment: string; service: string; transactionType: string; transactionName: string; index: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }; } | { type: \"sli.kql.custom\"; params: { index: string; good: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; }; total: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; }; timestampField: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }; } | { type: \"sli.metric.custom\"; params: { index: string; good: { metrics: (({ name: string; aggregation: \"sum\"; field: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }) | ({ name: string; aggregation: \"doc_count\"; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }))[]; equation: string; }; total: { metrics: (({ name: string; aggregation: \"sum\"; field: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }) | ({ name: string; aggregation: \"doc_count\"; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }))[]; equation: string; }; timestampField: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }; } | { type: \"sli.metric.timeslice\"; params: { index: string; metric: { metrics: (({ name: string; aggregation: \"min\" | \"max\" | \"sum\" | \"avg\" | \"cardinality\" | \"last_value\" | \"std_deviation\"; field: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }) | ({ name: string; aggregation: \"doc_count\"; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }) | ({ name: string; aggregation: \"percentile\"; field: string; percentile: number; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }))[]; equation: string; threshold: number; comparator: \"GT\" | \"GTE\" | \"LT\" | \"LTE\"; }; timestampField: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }; } | { type: \"sli.histogram.custom\"; params: { index: string; timestampField: string; good: ({ field: string; aggregation: \"value_count\"; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }) | ({ field: string; aggregation: \"range\"; from: number; to: number; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }); total: ({ field: string; aggregation: \"value_count\"; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }) | ({ field: string; aggregation: \"range\"; from: number; to: number; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }); } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }; }; timeWindow: { duration: string; type: \"rolling\"; } | { duration: string; type: \"calendarAligned\"; }; budgetingMethod: \"occurrences\" | \"timeslices\"; objective: { target: number; } & { timesliceTarget?: number | undefined; timesliceWindow?: string | undefined; }; revision: number; settings: { syncDelay: string; frequency: string; }; enabled: boolean; tags: string[]; groupBy: string; createdAt: string; updatedAt: string; version: number; } & { instanceId?: string | undefined; } & { summary: { status: \"HEALTHY\" | \"NO_DATA\" | \"DEGRADING\" | \"VIOLATED\"; sliValue: number; errorBudget: { initial: number; consumed: number; remaining: number; isEstimated: boolean; }; }; })[]; }>; } & ", + " & { params?: { query?: { filters?: string | undefined; kqlQuery?: string | undefined; page?: string | undefined; perPage?: string | undefined; sortBy?: \"status\" | \"error_budget_consumed\" | \"error_budget_remaining\" | \"sli_value\" | undefined; sortDirection?: \"asc\" | \"desc\" | undefined; } | undefined; } | undefined; }) => Promise<{ page: number; perPage: number; total: number; results: ({ id: string; name: string; description: string; indicator: { type: \"sli.apm.transactionDuration\"; params: { environment: string; service: string; transactionType: string; transactionName: string; threshold: number; index: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }; } | { type: \"sli.apm.transactionErrorRate\"; params: { environment: string; service: string; transactionType: string; transactionName: string; index: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }; } | { type: \"sli.kql.custom\"; params: { index: string; good: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; }; total: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; }; timestampField: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }; } | { type: \"sli.metric.custom\"; params: { index: string; good: { metrics: (({ name: string; aggregation: \"sum\"; field: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }) | ({ name: string; aggregation: \"doc_count\"; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }))[]; equation: string; }; total: { metrics: (({ name: string; aggregation: \"sum\"; field: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }) | ({ name: string; aggregation: \"doc_count\"; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }))[]; equation: string; }; timestampField: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }; } | { type: \"sli.metric.timeslice\"; params: { index: string; metric: { metrics: (({ name: string; aggregation: \"min\" | \"max\" | \"sum\" | \"avg\" | \"cardinality\" | \"last_value\" | \"std_deviation\"; field: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }) | ({ name: string; aggregation: \"doc_count\"; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }) | ({ name: string; aggregation: \"percentile\"; field: string; percentile: number; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }))[]; equation: string; threshold: number; comparator: \"GT\" | \"GTE\" | \"LT\" | \"LTE\"; }; timestampField: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }; } | { type: \"sli.histogram.custom\"; params: { index: string; timestampField: string; good: ({ field: string; aggregation: \"value_count\"; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }) | ({ field: string; aggregation: \"range\"; from: number; to: number; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }); total: ({ field: string; aggregation: \"value_count\"; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }) | ({ field: string; aggregation: \"range\"; from: number; to: number; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }); } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }; }; timeWindow: { duration: string; type: \"rolling\"; } | { duration: string; type: \"calendarAligned\"; }; budgetingMethod: \"occurrences\" | \"timeslices\"; objective: { target: number; } & { timesliceTarget?: number | undefined; timesliceWindow?: string | undefined; }; revision: number; settings: { syncDelay: string; frequency: string; }; enabled: boolean; tags: string[]; groupBy: string | string[]; createdAt: string; updatedAt: string; version: number; } & { instanceId?: string | undefined; } & { summary: { status: \"HEALTHY\" | \"NO_DATA\" | \"DEGRADING\" | \"VIOLATED\"; sliValue: number; errorBudget: { initial: number; consumed: number; remaining: number; isEstimated: boolean; }; }; groupings: { [x: string]: string | number; }; })[]; }>; } & ", { "pluginId": "observability", "scope": "server", @@ -11253,7 +11267,7 @@ "section": "def-server.ObservabilityRouteHandlerResources", "text": "ObservabilityRouteHandlerResources" }, - " & { params?: { query?: { search?: string | undefined; includeOutdatedOnly?: boolean | undefined; page?: string | undefined; perPage?: string | undefined; } | undefined; } | undefined; }) => Promise<{ page: number; perPage: number; total: number; results: ({ id: string; name: string; description: string; indicator: { type: \"sli.apm.transactionDuration\"; params: { environment: string; service: string; transactionType: string; transactionName: string; threshold: number; index: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }; } | { type: \"sli.apm.transactionErrorRate\"; params: { environment: string; service: string; transactionType: string; transactionName: string; index: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }; } | { type: \"sli.kql.custom\"; params: { index: string; good: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; }; total: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; }; timestampField: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }; } | { type: \"sli.metric.custom\"; params: { index: string; good: { metrics: (({ name: string; aggregation: \"sum\"; field: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }) | ({ name: string; aggregation: \"doc_count\"; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }))[]; equation: string; }; total: { metrics: (({ name: string; aggregation: \"sum\"; field: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }) | ({ name: string; aggregation: \"doc_count\"; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }))[]; equation: string; }; timestampField: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }; } | { type: \"sli.metric.timeslice\"; params: { index: string; metric: { metrics: (({ name: string; aggregation: \"min\" | \"max\" | \"sum\" | \"avg\" | \"cardinality\" | \"last_value\" | \"std_deviation\"; field: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }) | ({ name: string; aggregation: \"doc_count\"; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }) | ({ name: string; aggregation: \"percentile\"; field: string; percentile: number; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }))[]; equation: string; threshold: number; comparator: \"GT\" | \"GTE\" | \"LT\" | \"LTE\"; }; timestampField: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }; } | { type: \"sli.histogram.custom\"; params: { index: string; timestampField: string; good: ({ field: string; aggregation: \"value_count\"; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }) | ({ field: string; aggregation: \"range\"; from: number; to: number; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }); total: ({ field: string; aggregation: \"value_count\"; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }) | ({ field: string; aggregation: \"range\"; from: number; to: number; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }); } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }; }; timeWindow: { duration: string; type: \"rolling\"; } | { duration: string; type: \"calendarAligned\"; }; budgetingMethod: \"occurrences\" | \"timeslices\"; objective: { target: number; } & { timesliceTarget?: number | undefined; timesliceWindow?: string | undefined; }; revision: number; settings: { syncDelay: string; frequency: string; }; enabled: boolean; tags: string[]; groupBy: string; createdAt: string; updatedAt: string; version: number; } & { instanceId?: string | undefined; })[]; }>; } & ", + " & { params?: { query?: { search?: string | undefined; includeOutdatedOnly?: boolean | undefined; page?: string | undefined; perPage?: string | undefined; } | undefined; } | undefined; }) => Promise<{ page: number; perPage: number; total: number; results: ({ id: string; name: string; description: string; indicator: { type: \"sli.apm.transactionDuration\"; params: { environment: string; service: string; transactionType: string; transactionName: string; threshold: number; index: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }; } | { type: \"sli.apm.transactionErrorRate\"; params: { environment: string; service: string; transactionType: string; transactionName: string; index: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }; } | { type: \"sli.kql.custom\"; params: { index: string; good: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; }; total: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; }; timestampField: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }; } | { type: \"sli.metric.custom\"; params: { index: string; good: { metrics: (({ name: string; aggregation: \"sum\"; field: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }) | ({ name: string; aggregation: \"doc_count\"; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }))[]; equation: string; }; total: { metrics: (({ name: string; aggregation: \"sum\"; field: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }) | ({ name: string; aggregation: \"doc_count\"; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }))[]; equation: string; }; timestampField: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }; } | { type: \"sli.metric.timeslice\"; params: { index: string; metric: { metrics: (({ name: string; aggregation: \"min\" | \"max\" | \"sum\" | \"avg\" | \"cardinality\" | \"last_value\" | \"std_deviation\"; field: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }) | ({ name: string; aggregation: \"doc_count\"; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }) | ({ name: string; aggregation: \"percentile\"; field: string; percentile: number; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }))[]; equation: string; threshold: number; comparator: \"GT\" | \"GTE\" | \"LT\" | \"LTE\"; }; timestampField: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }; } | { type: \"sli.histogram.custom\"; params: { index: string; timestampField: string; good: ({ field: string; aggregation: \"value_count\"; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }) | ({ field: string; aggregation: \"range\"; from: number; to: number; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }); total: ({ field: string; aggregation: \"value_count\"; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }) | ({ field: string; aggregation: \"range\"; from: number; to: number; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }); } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }; }; timeWindow: { duration: string; type: \"rolling\"; } | { duration: string; type: \"calendarAligned\"; }; budgetingMethod: \"occurrences\" | \"timeslices\"; objective: { target: number; } & { timesliceTarget?: number | undefined; timesliceWindow?: string | undefined; }; revision: number; settings: { syncDelay: string; frequency: string; }; enabled: boolean; tags: string[]; groupBy: string | string[]; createdAt: string; updatedAt: string; version: number; } & { instanceId?: string | undefined; })[]; }>; } & ", { "pluginId": "observability", "scope": "server", @@ -11272,12 +11286,8 @@ "<{ sloId: ", "StringC", "; instanceId: ", - "UnionC", - "<[", - "LiteralC", - "<\"*\">, ", "StringC", - "]>; }>>; }>; }> | undefined; handler: ({}: ", + "; }>>; }>; }> | undefined; handler: ({}: ", { "pluginId": "observability", "scope": "server", @@ -12655,7 +12665,15 @@ "LiteralC", "<\"*\">, ", "StringC", - "]>; revision: ", + ", ", + "ArrayC", + "<", + "UnionC", + "<[", + "LiteralC", + "<\"*\">, ", + "StringC", + "]>>]>; revision: ", "NumberC", "; }>]>; }> | undefined; handler: ({}: ", { @@ -12705,7 +12723,7 @@ "section": "def-common.Duration", "text": "Duration" }, - " | undefined; } | undefined; tags?: string[] | undefined; groupBy?: string | undefined; revision?: number | undefined; }; }; }) => Promise<{ slo: { name: string; description: string; indicator: { type: \"sli.apm.transactionDuration\"; params: { environment: string; service: string; transactionType: string; transactionName: string; threshold: number; index: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }; } | { type: \"sli.apm.transactionErrorRate\"; params: { environment: string; service: string; transactionType: string; transactionName: string; index: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }; } | { type: \"sli.kql.custom\"; params: { index: string; good: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; }; total: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; }; timestampField: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }; } | { type: \"sli.metric.custom\"; params: { index: string; good: { metrics: (({ name: string; aggregation: \"sum\"; field: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }) | ({ name: string; aggregation: \"doc_count\"; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }))[]; equation: string; }; total: { metrics: (({ name: string; aggregation: \"sum\"; field: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }) | ({ name: string; aggregation: \"doc_count\"; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }))[]; equation: string; }; timestampField: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }; } | { type: \"sli.metric.timeslice\"; params: { index: string; metric: { metrics: (({ name: string; aggregation: \"min\" | \"max\" | \"sum\" | \"avg\" | \"cardinality\" | \"last_value\" | \"std_deviation\"; field: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }) | ({ name: string; aggregation: \"doc_count\"; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }) | ({ name: string; aggregation: \"percentile\"; field: string; percentile: number; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }))[]; equation: string; threshold: number; comparator: \"GT\" | \"GTE\" | \"LT\" | \"LTE\"; }; timestampField: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }; } | { type: \"sli.histogram.custom\"; params: { index: string; timestampField: string; good: ({ field: string; aggregation: \"value_count\"; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }) | ({ field: string; aggregation: \"range\"; from: number; to: number; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }); total: ({ field: string; aggregation: \"value_count\"; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }) | ({ field: string; aggregation: \"range\"; from: number; to: number; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }); } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }; }; timeWindow: { duration: ", + " | undefined; } | undefined; tags?: string[] | undefined; groupBy?: string | string[] | undefined; revision?: number | undefined; }; }; }) => Promise<{ slo: { name: string; description: string; indicator: { type: \"sli.apm.transactionDuration\"; params: { environment: string; service: string; transactionType: string; transactionName: string; threshold: number; index: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }; } | { type: \"sli.apm.transactionErrorRate\"; params: { environment: string; service: string; transactionType: string; transactionName: string; index: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }; } | { type: \"sli.kql.custom\"; params: { index: string; good: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; }; total: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; }; timestampField: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }; } | { type: \"sli.metric.custom\"; params: { index: string; good: { metrics: (({ name: string; aggregation: \"sum\"; field: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }) | ({ name: string; aggregation: \"doc_count\"; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }))[]; equation: string; }; total: { metrics: (({ name: string; aggregation: \"sum\"; field: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }) | ({ name: string; aggregation: \"doc_count\"; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }))[]; equation: string; }; timestampField: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }; } | { type: \"sli.metric.timeslice\"; params: { index: string; metric: { metrics: (({ name: string; aggregation: \"min\" | \"max\" | \"sum\" | \"avg\" | \"cardinality\" | \"last_value\" | \"std_deviation\"; field: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }) | ({ name: string; aggregation: \"doc_count\"; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }) | ({ name: string; aggregation: \"percentile\"; field: string; percentile: number; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }))[]; equation: string; threshold: number; comparator: \"GT\" | \"GTE\" | \"LT\" | \"LTE\"; }; timestampField: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }; } | { type: \"sli.histogram.custom\"; params: { index: string; timestampField: string; good: ({ field: string; aggregation: \"value_count\"; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }) | ({ field: string; aggregation: \"range\"; from: number; to: number; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }); total: ({ field: string; aggregation: \"value_count\"; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }) | ({ field: string; aggregation: \"range\"; from: number; to: number; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }); } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }; }; timeWindow: { duration: ", { "pluginId": "@kbn/slo-schema", "scope": "common", @@ -12745,7 +12763,7 @@ "section": "def-common.Duration", "text": "Duration" }, - " | undefined; } | undefined; tags?: string[] | undefined; groupBy?: string | undefined; revision?: number | undefined; }; pipeline: Record; rollUpTransform: ", + " | undefined; } | undefined; tags?: string[] | undefined; groupBy?: string | string[] | undefined; revision?: number | undefined; }; pipeline: Record; rollUpTransform: ", "TransformPutTransformRequest", "; summaryTransform: ", "TransformPutTransformRequest", @@ -14025,7 +14043,15 @@ "LiteralC", "<\"*\">, ", "StringC", - "]>; revision: ", + ", ", + "ArrayC", + "<", + "UnionC", + "<[", + "LiteralC", + "<\"*\">, ", + "StringC", + "]>>]>; revision: ", "NumberC", "; }>]>; }> | undefined; handler: ({}: ", { @@ -14075,7 +14101,7 @@ "section": "def-common.Duration", "text": "Duration" }, - " | undefined; } | undefined; tags?: string[] | undefined; groupBy?: string | undefined; revision?: number | undefined; }; }; }) => Promise<{ id: string; }>; } & ", + " | undefined; } | undefined; tags?: string[] | undefined; groupBy?: string | string[] | undefined; revision?: number | undefined; }; }; }) => Promise<{ id: string; }>; } & ", { "pluginId": "observability", "scope": "server", @@ -14113,7 +14139,7 @@ "ServerRouteCreateOptions", " ? TReturnType : never" ], - "path": "x-pack/plugins/observability/server/routes/types.ts", + "path": "x-pack/plugins/observability_solution/observability/server/routes/types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -14128,7 +14154,7 @@ "signature": [ "{ readonly enabled: boolean; readonly unsafe: Readonly<{} & { alertDetails: Readonly<{} & { uptime: Readonly<{} & { enabled: boolean; }>; observability: Readonly<{} & { enabled: boolean; }>; metrics: Readonly<{} & { enabled: boolean; }>; logs: Readonly<{} & { enabled: boolean; }>; }>; thresholdRule: Readonly<{} & { enabled: boolean; }>; }>; readonly annotations: Readonly<{} & { index: string; enabled: boolean; }>; readonly customThresholdRule: Readonly<{} & { groupByPageSize: number; }>; readonly createO11yGenericFeatureId: boolean; readonly sloOrphanSummaryCleanUpTaskEnabled: boolean; }" ], - "path": "x-pack/plugins/observability/server/index.ts", + "path": "x-pack/plugins/observability_solution/observability/server/index.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -14193,7 +14219,7 @@ "section": "def-server.ObservabilityRouteHandlerResources", "text": "ObservabilityRouteHandlerResources" }, - " & { params: { path: { id: string; }; }; }) => Promise<{ id: string; name: string; description: string; indicator: { type: \"sli.apm.transactionDuration\"; params: { environment: string; service: string; transactionType: string; transactionName: string; threshold: number; index: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }; } | { type: \"sli.apm.transactionErrorRate\"; params: { environment: string; service: string; transactionType: string; transactionName: string; index: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }; } | { type: \"sli.kql.custom\"; params: { index: string; good: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; }; total: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; }; timestampField: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }; } | { type: \"sli.metric.custom\"; params: { index: string; good: { metrics: (({ name: string; aggregation: \"sum\"; field: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }) | ({ name: string; aggregation: \"doc_count\"; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }))[]; equation: string; }; total: { metrics: (({ name: string; aggregation: \"sum\"; field: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }) | ({ name: string; aggregation: \"doc_count\"; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }))[]; equation: string; }; timestampField: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }; } | { type: \"sli.metric.timeslice\"; params: { index: string; metric: { metrics: (({ name: string; aggregation: \"min\" | \"max\" | \"sum\" | \"avg\" | \"cardinality\" | \"last_value\" | \"std_deviation\"; field: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }) | ({ name: string; aggregation: \"doc_count\"; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }) | ({ name: string; aggregation: \"percentile\"; field: string; percentile: number; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }))[]; equation: string; threshold: number; comparator: \"GT\" | \"GTE\" | \"LT\" | \"LTE\"; }; timestampField: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }; } | { type: \"sli.histogram.custom\"; params: { index: string; timestampField: string; good: ({ field: string; aggregation: \"value_count\"; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }) | ({ field: string; aggregation: \"range\"; from: number; to: number; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }); total: ({ field: string; aggregation: \"value_count\"; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }) | ({ field: string; aggregation: \"range\"; from: number; to: number; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }); } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }; }; timeWindow: { duration: string; type: \"rolling\"; } | { duration: string; type: \"calendarAligned\"; }; budgetingMethod: \"occurrences\" | \"timeslices\"; objective: { target: number; } & { timesliceTarget?: number | undefined; timesliceWindow?: string | undefined; }; revision: number; settings: { syncDelay: string; frequency: string; }; enabled: boolean; tags: string[]; groupBy: string; createdAt: string; updatedAt: string; version: number; } & { instanceId?: string | undefined; }>; } & ", + " & { params: { path: { id: string; }; }; }) => Promise<{ id: string; name: string; description: string; indicator: { type: \"sli.apm.transactionDuration\"; params: { environment: string; service: string; transactionType: string; transactionName: string; threshold: number; index: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }; } | { type: \"sli.apm.transactionErrorRate\"; params: { environment: string; service: string; transactionType: string; transactionName: string; index: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }; } | { type: \"sli.kql.custom\"; params: { index: string; good: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; }; total: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; }; timestampField: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }; } | { type: \"sli.metric.custom\"; params: { index: string; good: { metrics: (({ name: string; aggregation: \"sum\"; field: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }) | ({ name: string; aggregation: \"doc_count\"; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }))[]; equation: string; }; total: { metrics: (({ name: string; aggregation: \"sum\"; field: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }) | ({ name: string; aggregation: \"doc_count\"; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }))[]; equation: string; }; timestampField: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }; } | { type: \"sli.metric.timeslice\"; params: { index: string; metric: { metrics: (({ name: string; aggregation: \"min\" | \"max\" | \"sum\" | \"avg\" | \"cardinality\" | \"last_value\" | \"std_deviation\"; field: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }) | ({ name: string; aggregation: \"doc_count\"; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }) | ({ name: string; aggregation: \"percentile\"; field: string; percentile: number; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }))[]; equation: string; threshold: number; comparator: \"GT\" | \"GTE\" | \"LT\" | \"LTE\"; }; timestampField: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }; } | { type: \"sli.histogram.custom\"; params: { index: string; timestampField: string; good: ({ field: string; aggregation: \"value_count\"; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }) | ({ field: string; aggregation: \"range\"; from: number; to: number; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }); total: ({ field: string; aggregation: \"value_count\"; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }) | ({ field: string; aggregation: \"range\"; from: number; to: number; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }); } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }; }; timeWindow: { duration: string; type: \"rolling\"; } | { duration: string; type: \"calendarAligned\"; }; budgetingMethod: \"occurrences\" | \"timeslices\"; objective: { target: number; } & { timesliceTarget?: number | undefined; timesliceWindow?: string | undefined; }; revision: number; settings: { syncDelay: string; frequency: string; }; enabled: boolean; tags: string[]; groupBy: string | string[]; createdAt: string; updatedAt: string; version: number; } & { instanceId?: string | undefined; }>; } & ", { "pluginId": "observability", "scope": "server", @@ -14215,7 +14241,7 @@ "section": "def-server.ObservabilityRouteHandlerResources", "text": "ObservabilityRouteHandlerResources" }, - " & { params: { path: { id: string; }; }; }) => Promise<{ groupBy: string; instances: string[]; }>; } & ", + " & { params: { path: { id: string; }; }; }) => Promise<{ groupBy: string | string[]; instances: string[]; }>; } & ", { "pluginId": "observability", "scope": "server", @@ -15427,7 +15453,13 @@ "StringC", "; groupBy: ", "StringC", - "; }>]>; }> | undefined; handler: ({}: ", + "; groupings: ", + "RecordC", + "<", + "StringC", + ", ", + "UnknownC", + ">; }>]>; }> | undefined; handler: ({}: ", { "pluginId": "observability", "scope": "server", @@ -15443,7 +15475,7 @@ "section": "def-common.Duration", "text": "Duration" }, - " | undefined; }) | undefined; instanceId?: string | undefined; groupBy?: string | undefined; }; }; }) => Promise<({ date: string; sliValue: number; } & { events?: { good: number; bad: number; total: number; } | undefined; })[]>; } & ", + " | undefined; }) | undefined; instanceId?: string | undefined; groupBy?: string | undefined; groupings?: { [x: string]: unknown; } | undefined; }; }; }) => Promise<({ date: string; sliValue: number; } & { events?: { good: number; bad: number; total: number; } | undefined; })[]>; } & ", { "pluginId": "observability", "scope": "server", @@ -16793,7 +16825,15 @@ "LiteralC", "<\"*\">, ", "StringC", - "]>; }>; }> | undefined; handler: ({}: ", + ", ", + "ArrayC", + "<", + "UnionC", + "<[", + "LiteralC", + "<\"*\">, ", + "StringC", + "]>>]>; }>; }> | undefined; handler: ({}: ", { "pluginId": "observability", "scope": "server", @@ -16841,7 +16881,7 @@ "section": "def-common.Duration", "text": "Duration" }, - " | undefined; } | undefined; tags?: string[] | undefined; groupBy?: string | undefined; }; }; }) => Promise<{ id: string; name: string; description: string; indicator: { type: \"sli.apm.transactionDuration\"; params: { environment: string; service: string; transactionType: string; transactionName: string; threshold: number; index: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }; } | { type: \"sli.apm.transactionErrorRate\"; params: { environment: string; service: string; transactionType: string; transactionName: string; index: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }; } | { type: \"sli.kql.custom\"; params: { index: string; good: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; }; total: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; }; timestampField: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }; } | { type: \"sli.metric.custom\"; params: { index: string; good: { metrics: (({ name: string; aggregation: \"sum\"; field: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }) | ({ name: string; aggregation: \"doc_count\"; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }))[]; equation: string; }; total: { metrics: (({ name: string; aggregation: \"sum\"; field: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }) | ({ name: string; aggregation: \"doc_count\"; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }))[]; equation: string; }; timestampField: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }; } | { type: \"sli.metric.timeslice\"; params: { index: string; metric: { metrics: (({ name: string; aggregation: \"min\" | \"max\" | \"sum\" | \"avg\" | \"cardinality\" | \"last_value\" | \"std_deviation\"; field: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }) | ({ name: string; aggregation: \"doc_count\"; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }) | ({ name: string; aggregation: \"percentile\"; field: string; percentile: number; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }))[]; equation: string; threshold: number; comparator: \"GT\" | \"GTE\" | \"LT\" | \"LTE\"; }; timestampField: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }; } | { type: \"sli.histogram.custom\"; params: { index: string; timestampField: string; good: ({ field: string; aggregation: \"value_count\"; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }) | ({ field: string; aggregation: \"range\"; from: number; to: number; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }); total: ({ field: string; aggregation: \"value_count\"; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }) | ({ field: string; aggregation: \"range\"; from: number; to: number; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }); } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }; }; timeWindow: { duration: string; type: \"rolling\"; } | { duration: string; type: \"calendarAligned\"; }; budgetingMethod: \"occurrences\" | \"timeslices\"; objective: { target: number; } & { timesliceTarget?: number | undefined; timesliceWindow?: string | undefined; }; revision: number; settings: { syncDelay: string; frequency: string; }; enabled: boolean; tags: string[]; groupBy: string; createdAt: string; updatedAt: string; version: number; } & { instanceId?: string | undefined; }>; } & ", + " | undefined; } | undefined; tags?: string[] | undefined; groupBy?: string | string[] | undefined; }; }; }) => Promise<{ id: string; name: string; description: string; indicator: { type: \"sli.apm.transactionDuration\"; params: { environment: string; service: string; transactionType: string; transactionName: string; threshold: number; index: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }; } | { type: \"sli.apm.transactionErrorRate\"; params: { environment: string; service: string; transactionType: string; transactionName: string; index: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }; } | { type: \"sli.kql.custom\"; params: { index: string; good: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; }; total: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; }; timestampField: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }; } | { type: \"sli.metric.custom\"; params: { index: string; good: { metrics: (({ name: string; aggregation: \"sum\"; field: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }) | ({ name: string; aggregation: \"doc_count\"; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }))[]; equation: string; }; total: { metrics: (({ name: string; aggregation: \"sum\"; field: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }) | ({ name: string; aggregation: \"doc_count\"; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }))[]; equation: string; }; timestampField: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }; } | { type: \"sli.metric.timeslice\"; params: { index: string; metric: { metrics: (({ name: string; aggregation: \"min\" | \"max\" | \"sum\" | \"avg\" | \"cardinality\" | \"last_value\" | \"std_deviation\"; field: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }) | ({ name: string; aggregation: \"doc_count\"; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }) | ({ name: string; aggregation: \"percentile\"; field: string; percentile: number; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }))[]; equation: string; threshold: number; comparator: \"GT\" | \"GTE\" | \"LT\" | \"LTE\"; }; timestampField: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }; } | { type: \"sli.histogram.custom\"; params: { index: string; timestampField: string; good: ({ field: string; aggregation: \"value_count\"; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }) | ({ field: string; aggregation: \"range\"; from: number; to: number; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }); total: ({ field: string; aggregation: \"value_count\"; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }) | ({ field: string; aggregation: \"range\"; from: number; to: number; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }); } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }; }; timeWindow: { duration: string; type: \"rolling\"; } | { duration: string; type: \"calendarAligned\"; }; budgetingMethod: \"occurrences\" | \"timeslices\"; objective: { target: number; } & { timesliceTarget?: number | undefined; timesliceWindow?: string | undefined; }; revision: number; settings: { syncDelay: string; frequency: string; }; enabled: boolean; tags: string[]; groupBy: string | string[]; createdAt: string; updatedAt: string; version: number; } & { instanceId?: string | undefined; }>; } & ", { "pluginId": "observability", "scope": "server", @@ -16875,7 +16915,7 @@ "section": "def-server.ObservabilityRouteHandlerResources", "text": "ObservabilityRouteHandlerResources" }, - " & { params: { path: { id: string; }; } & { query?: { instanceId?: string | undefined; } | undefined; }; }) => Promise<{ id: string; name: string; description: string; indicator: { type: \"sli.apm.transactionDuration\"; params: { environment: string; service: string; transactionType: string; transactionName: string; threshold: number; index: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }; } | { type: \"sli.apm.transactionErrorRate\"; params: { environment: string; service: string; transactionType: string; transactionName: string; index: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }; } | { type: \"sli.kql.custom\"; params: { index: string; good: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; }; total: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; }; timestampField: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }; } | { type: \"sli.metric.custom\"; params: { index: string; good: { metrics: (({ name: string; aggregation: \"sum\"; field: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }) | ({ name: string; aggregation: \"doc_count\"; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }))[]; equation: string; }; total: { metrics: (({ name: string; aggregation: \"sum\"; field: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }) | ({ name: string; aggregation: \"doc_count\"; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }))[]; equation: string; }; timestampField: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }; } | { type: \"sli.metric.timeslice\"; params: { index: string; metric: { metrics: (({ name: string; aggregation: \"min\" | \"max\" | \"sum\" | \"avg\" | \"cardinality\" | \"last_value\" | \"std_deviation\"; field: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }) | ({ name: string; aggregation: \"doc_count\"; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }) | ({ name: string; aggregation: \"percentile\"; field: string; percentile: number; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }))[]; equation: string; threshold: number; comparator: \"GT\" | \"GTE\" | \"LT\" | \"LTE\"; }; timestampField: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }; } | { type: \"sli.histogram.custom\"; params: { index: string; timestampField: string; good: ({ field: string; aggregation: \"value_count\"; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }) | ({ field: string; aggregation: \"range\"; from: number; to: number; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }); total: ({ field: string; aggregation: \"value_count\"; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }) | ({ field: string; aggregation: \"range\"; from: number; to: number; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }); } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }; }; timeWindow: { duration: string; type: \"rolling\"; } | { duration: string; type: \"calendarAligned\"; }; budgetingMethod: \"occurrences\" | \"timeslices\"; objective: { target: number; } & { timesliceTarget?: number | undefined; timesliceWindow?: string | undefined; }; revision: number; settings: { syncDelay: string; frequency: string; }; enabled: boolean; tags: string[]; groupBy: string; createdAt: string; updatedAt: string; version: number; } & { instanceId?: string | undefined; } & { summary: { status: \"HEALTHY\" | \"NO_DATA\" | \"DEGRADING\" | \"VIOLATED\"; sliValue: number; errorBudget: { initial: number; consumed: number; remaining: number; isEstimated: boolean; }; }; }>; } & ", + " & { params: { path: { id: string; }; } & { query?: { instanceId?: string | undefined; } | undefined; }; }) => Promise<{ id: string; name: string; description: string; indicator: { type: \"sli.apm.transactionDuration\"; params: { environment: string; service: string; transactionType: string; transactionName: string; threshold: number; index: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }; } | { type: \"sli.apm.transactionErrorRate\"; params: { environment: string; service: string; transactionType: string; transactionName: string; index: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }; } | { type: \"sli.kql.custom\"; params: { index: string; good: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; }; total: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; }; timestampField: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }; } | { type: \"sli.metric.custom\"; params: { index: string; good: { metrics: (({ name: string; aggregation: \"sum\"; field: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }) | ({ name: string; aggregation: \"doc_count\"; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }))[]; equation: string; }; total: { metrics: (({ name: string; aggregation: \"sum\"; field: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }) | ({ name: string; aggregation: \"doc_count\"; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }))[]; equation: string; }; timestampField: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }; } | { type: \"sli.metric.timeslice\"; params: { index: string; metric: { metrics: (({ name: string; aggregation: \"min\" | \"max\" | \"sum\" | \"avg\" | \"cardinality\" | \"last_value\" | \"std_deviation\"; field: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }) | ({ name: string; aggregation: \"doc_count\"; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }) | ({ name: string; aggregation: \"percentile\"; field: string; percentile: number; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }))[]; equation: string; threshold: number; comparator: \"GT\" | \"GTE\" | \"LT\" | \"LTE\"; }; timestampField: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }; } | { type: \"sli.histogram.custom\"; params: { index: string; timestampField: string; good: ({ field: string; aggregation: \"value_count\"; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }) | ({ field: string; aggregation: \"range\"; from: number; to: number; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }); total: ({ field: string; aggregation: \"value_count\"; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }) | ({ field: string; aggregation: \"range\"; from: number; to: number; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }); } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }; }; timeWindow: { duration: string; type: \"rolling\"; } | { duration: string; type: \"calendarAligned\"; }; budgetingMethod: \"occurrences\" | \"timeslices\"; objective: { target: number; } & { timesliceTarget?: number | undefined; timesliceWindow?: string | undefined; }; revision: number; settings: { syncDelay: string; frequency: string; }; enabled: boolean; tags: string[]; groupBy: string | string[]; createdAt: string; updatedAt: string; version: number; } & { instanceId?: string | undefined; } & { summary: { status: \"HEALTHY\" | \"NO_DATA\" | \"DEGRADING\" | \"VIOLATED\"; sliValue: number; errorBudget: { initial: number; consumed: number; remaining: number; isEstimated: boolean; }; }; groupings: { [x: string]: string | number; }; }>; } & ", { "pluginId": "observability", "scope": "server", @@ -16919,7 +16959,7 @@ "section": "def-server.ObservabilityRouteHandlerResources", "text": "ObservabilityRouteHandlerResources" }, - " & { params?: { query?: { filters?: string | undefined; kqlQuery?: string | undefined; page?: string | undefined; perPage?: string | undefined; sortBy?: \"status\" | \"error_budget_consumed\" | \"error_budget_remaining\" | \"sli_value\" | undefined; sortDirection?: \"asc\" | \"desc\" | undefined; } | undefined; } | undefined; }) => Promise<{ page: number; perPage: number; total: number; results: ({ id: string; name: string; description: string; indicator: { type: \"sli.apm.transactionDuration\"; params: { environment: string; service: string; transactionType: string; transactionName: string; threshold: number; index: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }; } | { type: \"sli.apm.transactionErrorRate\"; params: { environment: string; service: string; transactionType: string; transactionName: string; index: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }; } | { type: \"sli.kql.custom\"; params: { index: string; good: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; }; total: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; }; timestampField: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }; } | { type: \"sli.metric.custom\"; params: { index: string; good: { metrics: (({ name: string; aggregation: \"sum\"; field: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }) | ({ name: string; aggregation: \"doc_count\"; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }))[]; equation: string; }; total: { metrics: (({ name: string; aggregation: \"sum\"; field: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }) | ({ name: string; aggregation: \"doc_count\"; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }))[]; equation: string; }; timestampField: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }; } | { type: \"sli.metric.timeslice\"; params: { index: string; metric: { metrics: (({ name: string; aggregation: \"min\" | \"max\" | \"sum\" | \"avg\" | \"cardinality\" | \"last_value\" | \"std_deviation\"; field: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }) | ({ name: string; aggregation: \"doc_count\"; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }) | ({ name: string; aggregation: \"percentile\"; field: string; percentile: number; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }))[]; equation: string; threshold: number; comparator: \"GT\" | \"GTE\" | \"LT\" | \"LTE\"; }; timestampField: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }; } | { type: \"sli.histogram.custom\"; params: { index: string; timestampField: string; good: ({ field: string; aggregation: \"value_count\"; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }) | ({ field: string; aggregation: \"range\"; from: number; to: number; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }); total: ({ field: string; aggregation: \"value_count\"; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }) | ({ field: string; aggregation: \"range\"; from: number; to: number; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }); } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }; }; timeWindow: { duration: string; type: \"rolling\"; } | { duration: string; type: \"calendarAligned\"; }; budgetingMethod: \"occurrences\" | \"timeslices\"; objective: { target: number; } & { timesliceTarget?: number | undefined; timesliceWindow?: string | undefined; }; revision: number; settings: { syncDelay: string; frequency: string; }; enabled: boolean; tags: string[]; groupBy: string; createdAt: string; updatedAt: string; version: number; } & { instanceId?: string | undefined; } & { summary: { status: \"HEALTHY\" | \"NO_DATA\" | \"DEGRADING\" | \"VIOLATED\"; sliValue: number; errorBudget: { initial: number; consumed: number; remaining: number; isEstimated: boolean; }; }; })[]; }>; } & ", + " & { params?: { query?: { filters?: string | undefined; kqlQuery?: string | undefined; page?: string | undefined; perPage?: string | undefined; sortBy?: \"status\" | \"error_budget_consumed\" | \"error_budget_remaining\" | \"sli_value\" | undefined; sortDirection?: \"asc\" | \"desc\" | undefined; } | undefined; } | undefined; }) => Promise<{ page: number; perPage: number; total: number; results: ({ id: string; name: string; description: string; indicator: { type: \"sli.apm.transactionDuration\"; params: { environment: string; service: string; transactionType: string; transactionName: string; threshold: number; index: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }; } | { type: \"sli.apm.transactionErrorRate\"; params: { environment: string; service: string; transactionType: string; transactionName: string; index: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }; } | { type: \"sli.kql.custom\"; params: { index: string; good: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; }; total: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; }; timestampField: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }; } | { type: \"sli.metric.custom\"; params: { index: string; good: { metrics: (({ name: string; aggregation: \"sum\"; field: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }) | ({ name: string; aggregation: \"doc_count\"; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }))[]; equation: string; }; total: { metrics: (({ name: string; aggregation: \"sum\"; field: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }) | ({ name: string; aggregation: \"doc_count\"; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }))[]; equation: string; }; timestampField: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }; } | { type: \"sli.metric.timeslice\"; params: { index: string; metric: { metrics: (({ name: string; aggregation: \"min\" | \"max\" | \"sum\" | \"avg\" | \"cardinality\" | \"last_value\" | \"std_deviation\"; field: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }) | ({ name: string; aggregation: \"doc_count\"; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }) | ({ name: string; aggregation: \"percentile\"; field: string; percentile: number; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }))[]; equation: string; threshold: number; comparator: \"GT\" | \"GTE\" | \"LT\" | \"LTE\"; }; timestampField: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }; } | { type: \"sli.histogram.custom\"; params: { index: string; timestampField: string; good: ({ field: string; aggregation: \"value_count\"; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }) | ({ field: string; aggregation: \"range\"; from: number; to: number; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }); total: ({ field: string; aggregation: \"value_count\"; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }) | ({ field: string; aggregation: \"range\"; from: number; to: number; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }); } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }; }; timeWindow: { duration: string; type: \"rolling\"; } | { duration: string; type: \"calendarAligned\"; }; budgetingMethod: \"occurrences\" | \"timeslices\"; objective: { target: number; } & { timesliceTarget?: number | undefined; timesliceWindow?: string | undefined; }; revision: number; settings: { syncDelay: string; frequency: string; }; enabled: boolean; tags: string[]; groupBy: string | string[]; createdAt: string; updatedAt: string; version: number; } & { instanceId?: string | undefined; } & { summary: { status: \"HEALTHY\" | \"NO_DATA\" | \"DEGRADING\" | \"VIOLATED\"; sliValue: number; errorBudget: { initial: number; consumed: number; remaining: number; isEstimated: boolean; }; }; groupings: { [x: string]: string | number; }; })[]; }>; } & ", { "pluginId": "observability", "scope": "server", @@ -16947,7 +16987,7 @@ "section": "def-server.ObservabilityRouteHandlerResources", "text": "ObservabilityRouteHandlerResources" }, - " & { params?: { query?: { search?: string | undefined; includeOutdatedOnly?: boolean | undefined; page?: string | undefined; perPage?: string | undefined; } | undefined; } | undefined; }) => Promise<{ page: number; perPage: number; total: number; results: ({ id: string; name: string; description: string; indicator: { type: \"sli.apm.transactionDuration\"; params: { environment: string; service: string; transactionType: string; transactionName: string; threshold: number; index: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }; } | { type: \"sli.apm.transactionErrorRate\"; params: { environment: string; service: string; transactionType: string; transactionName: string; index: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }; } | { type: \"sli.kql.custom\"; params: { index: string; good: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; }; total: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; }; timestampField: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }; } | { type: \"sli.metric.custom\"; params: { index: string; good: { metrics: (({ name: string; aggregation: \"sum\"; field: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }) | ({ name: string; aggregation: \"doc_count\"; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }))[]; equation: string; }; total: { metrics: (({ name: string; aggregation: \"sum\"; field: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }) | ({ name: string; aggregation: \"doc_count\"; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }))[]; equation: string; }; timestampField: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }; } | { type: \"sli.metric.timeslice\"; params: { index: string; metric: { metrics: (({ name: string; aggregation: \"min\" | \"max\" | \"sum\" | \"avg\" | \"cardinality\" | \"last_value\" | \"std_deviation\"; field: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }) | ({ name: string; aggregation: \"doc_count\"; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }) | ({ name: string; aggregation: \"percentile\"; field: string; percentile: number; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }))[]; equation: string; threshold: number; comparator: \"GT\" | \"GTE\" | \"LT\" | \"LTE\"; }; timestampField: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }; } | { type: \"sli.histogram.custom\"; params: { index: string; timestampField: string; good: ({ field: string; aggregation: \"value_count\"; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }) | ({ field: string; aggregation: \"range\"; from: number; to: number; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }); total: ({ field: string; aggregation: \"value_count\"; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }) | ({ field: string; aggregation: \"range\"; from: number; to: number; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }); } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }; }; timeWindow: { duration: string; type: \"rolling\"; } | { duration: string; type: \"calendarAligned\"; }; budgetingMethod: \"occurrences\" | \"timeslices\"; objective: { target: number; } & { timesliceTarget?: number | undefined; timesliceWindow?: string | undefined; }; revision: number; settings: { syncDelay: string; frequency: string; }; enabled: boolean; tags: string[]; groupBy: string; createdAt: string; updatedAt: string; version: number; } & { instanceId?: string | undefined; })[]; }>; } & ", + " & { params?: { query?: { search?: string | undefined; includeOutdatedOnly?: boolean | undefined; page?: string | undefined; perPage?: string | undefined; } | undefined; } | undefined; }) => Promise<{ page: number; perPage: number; total: number; results: ({ id: string; name: string; description: string; indicator: { type: \"sli.apm.transactionDuration\"; params: { environment: string; service: string; transactionType: string; transactionName: string; threshold: number; index: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }; } | { type: \"sli.apm.transactionErrorRate\"; params: { environment: string; service: string; transactionType: string; transactionName: string; index: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }; } | { type: \"sli.kql.custom\"; params: { index: string; good: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; }; total: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; }; timestampField: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }; } | { type: \"sli.metric.custom\"; params: { index: string; good: { metrics: (({ name: string; aggregation: \"sum\"; field: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }) | ({ name: string; aggregation: \"doc_count\"; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }))[]; equation: string; }; total: { metrics: (({ name: string; aggregation: \"sum\"; field: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }) | ({ name: string; aggregation: \"doc_count\"; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }))[]; equation: string; }; timestampField: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }; } | { type: \"sli.metric.timeslice\"; params: { index: string; metric: { metrics: (({ name: string; aggregation: \"min\" | \"max\" | \"sum\" | \"avg\" | \"cardinality\" | \"last_value\" | \"std_deviation\"; field: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }) | ({ name: string; aggregation: \"doc_count\"; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }) | ({ name: string; aggregation: \"percentile\"; field: string; percentile: number; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }))[]; equation: string; threshold: number; comparator: \"GT\" | \"GTE\" | \"LT\" | \"LTE\"; }; timestampField: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }; } | { type: \"sli.histogram.custom\"; params: { index: string; timestampField: string; good: ({ field: string; aggregation: \"value_count\"; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }) | ({ field: string; aggregation: \"range\"; from: number; to: number; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }); total: ({ field: string; aggregation: \"value_count\"; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }) | ({ field: string; aggregation: \"range\"; from: number; to: number; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }); } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }; }; timeWindow: { duration: string; type: \"rolling\"; } | { duration: string; type: \"calendarAligned\"; }; budgetingMethod: \"occurrences\" | \"timeslices\"; objective: { target: number; } & { timesliceTarget?: number | undefined; timesliceWindow?: string | undefined; }; revision: number; settings: { syncDelay: string; frequency: string; }; enabled: boolean; tags: string[]; groupBy: string | string[]; createdAt: string; updatedAt: string; version: number; } & { instanceId?: string | undefined; })[]; }>; } & ", { "pluginId": "observability", "scope": "server", @@ -16966,12 +17006,8 @@ "<{ sloId: ", "StringC", "; instanceId: ", - "UnionC", - "<[", - "LiteralC", - "<\"*\">, ", "StringC", - "]>; }>>; }>; }> | undefined; handler: ({}: ", + "; }>>; }>; }> | undefined; handler: ({}: ", { "pluginId": "observability", "scope": "server", @@ -18349,7 +18385,15 @@ "LiteralC", "<\"*\">, ", "StringC", - "]>; revision: ", + ", ", + "ArrayC", + "<", + "UnionC", + "<[", + "LiteralC", + "<\"*\">, ", + "StringC", + "]>>]>; revision: ", "NumberC", "; }>]>; }> | undefined; handler: ({}: ", { @@ -18399,7 +18443,7 @@ "section": "def-common.Duration", "text": "Duration" }, - " | undefined; } | undefined; tags?: string[] | undefined; groupBy?: string | undefined; revision?: number | undefined; }; }; }) => Promise<{ slo: { name: string; description: string; indicator: { type: \"sli.apm.transactionDuration\"; params: { environment: string; service: string; transactionType: string; transactionName: string; threshold: number; index: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }; } | { type: \"sli.apm.transactionErrorRate\"; params: { environment: string; service: string; transactionType: string; transactionName: string; index: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }; } | { type: \"sli.kql.custom\"; params: { index: string; good: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; }; total: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; }; timestampField: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }; } | { type: \"sli.metric.custom\"; params: { index: string; good: { metrics: (({ name: string; aggregation: \"sum\"; field: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }) | ({ name: string; aggregation: \"doc_count\"; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }))[]; equation: string; }; total: { metrics: (({ name: string; aggregation: \"sum\"; field: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }) | ({ name: string; aggregation: \"doc_count\"; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }))[]; equation: string; }; timestampField: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }; } | { type: \"sli.metric.timeslice\"; params: { index: string; metric: { metrics: (({ name: string; aggregation: \"min\" | \"max\" | \"sum\" | \"avg\" | \"cardinality\" | \"last_value\" | \"std_deviation\"; field: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }) | ({ name: string; aggregation: \"doc_count\"; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }) | ({ name: string; aggregation: \"percentile\"; field: string; percentile: number; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }))[]; equation: string; threshold: number; comparator: \"GT\" | \"GTE\" | \"LT\" | \"LTE\"; }; timestampField: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }; } | { type: \"sli.histogram.custom\"; params: { index: string; timestampField: string; good: ({ field: string; aggregation: \"value_count\"; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }) | ({ field: string; aggregation: \"range\"; from: number; to: number; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }); total: ({ field: string; aggregation: \"value_count\"; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }) | ({ field: string; aggregation: \"range\"; from: number; to: number; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }); } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }; }; timeWindow: { duration: ", + " | undefined; } | undefined; tags?: string[] | undefined; groupBy?: string | string[] | undefined; revision?: number | undefined; }; }; }) => Promise<{ slo: { name: string; description: string; indicator: { type: \"sli.apm.transactionDuration\"; params: { environment: string; service: string; transactionType: string; transactionName: string; threshold: number; index: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }; } | { type: \"sli.apm.transactionErrorRate\"; params: { environment: string; service: string; transactionType: string; transactionName: string; index: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }; } | { type: \"sli.kql.custom\"; params: { index: string; good: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; }; total: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; }; timestampField: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }; } | { type: \"sli.metric.custom\"; params: { index: string; good: { metrics: (({ name: string; aggregation: \"sum\"; field: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }) | ({ name: string; aggregation: \"doc_count\"; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }))[]; equation: string; }; total: { metrics: (({ name: string; aggregation: \"sum\"; field: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }) | ({ name: string; aggregation: \"doc_count\"; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }))[]; equation: string; }; timestampField: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }; } | { type: \"sli.metric.timeslice\"; params: { index: string; metric: { metrics: (({ name: string; aggregation: \"min\" | \"max\" | \"sum\" | \"avg\" | \"cardinality\" | \"last_value\" | \"std_deviation\"; field: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }) | ({ name: string; aggregation: \"doc_count\"; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }) | ({ name: string; aggregation: \"percentile\"; field: string; percentile: number; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }))[]; equation: string; threshold: number; comparator: \"GT\" | \"GTE\" | \"LT\" | \"LTE\"; }; timestampField: string; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }; } | { type: \"sli.histogram.custom\"; params: { index: string; timestampField: string; good: ({ field: string; aggregation: \"value_count\"; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }) | ({ field: string; aggregation: \"range\"; from: number; to: number; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }); total: ({ field: string; aggregation: \"value_count\"; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }) | ({ field: string; aggregation: \"range\"; from: number; to: number; } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }); } & { filter?: string | { kqlQuery: string; filters: { meta: { alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; group?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; query: { [x: string]: any; }; }[]; } | undefined; }; }; timeWindow: { duration: ", { "pluginId": "@kbn/slo-schema", "scope": "common", @@ -18439,7 +18483,7 @@ "section": "def-common.Duration", "text": "Duration" }, - " | undefined; } | undefined; tags?: string[] | undefined; groupBy?: string | undefined; revision?: number | undefined; }; pipeline: Record; rollUpTransform: ", + " | undefined; } | undefined; tags?: string[] | undefined; groupBy?: string | string[] | undefined; revision?: number | undefined; }; pipeline: Record; rollUpTransform: ", "TransformPutTransformRequest", "; summaryTransform: ", "TransformPutTransformRequest", @@ -19719,7 +19763,15 @@ "LiteralC", "<\"*\">, ", "StringC", - "]>; revision: ", + ", ", + "ArrayC", + "<", + "UnionC", + "<[", + "LiteralC", + "<\"*\">, ", + "StringC", + "]>>]>; revision: ", "NumberC", "; }>]>; }> | undefined; handler: ({}: ", { @@ -19769,7 +19821,7 @@ "section": "def-common.Duration", "text": "Duration" }, - " | undefined; } | undefined; tags?: string[] | undefined; groupBy?: string | undefined; revision?: number | undefined; }; }; }) => Promise<{ id: string; }>; } & ", + " | undefined; } | undefined; tags?: string[] | undefined; groupBy?: string | string[] | undefined; revision?: number | undefined; }; }; }) => Promise<{ id: string; }>; } & ", { "pluginId": "observability", "scope": "server", @@ -19805,7 +19857,7 @@ }, "; }" ], - "path": "x-pack/plugins/observability/server/routes/get_global_observability_server_route_repository.ts", + "path": "x-pack/plugins/observability_solution/observability/server/routes/get_global_observability_server_route_repository.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -19826,7 +19878,7 @@ "WriteResponseBase", ">; }" ], - "path": "x-pack/plugins/observability/server/lib/annotations/bootstrap_annotations.ts", + "path": "x-pack/plugins/observability_solution/observability/server/lib/annotations/bootstrap_annotations.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -19862,7 +19914,7 @@ "UnknownRecordC", "]>" ], - "path": "x-pack/plugins/observability/server/types.ts", + "path": "x-pack/plugins/observability_solution/observability/server/types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -19908,7 +19960,7 @@ "Type", "; }>]>" ], - "path": "x-pack/plugins/observability/server/types.ts", + "path": "x-pack/plugins/observability_solution/observability/server/types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -19922,7 +19974,7 @@ "description": [ "\nuiSettings definitions for Observability." ], - "path": "x-pack/plugins/observability/server/ui_settings.ts", + "path": "x-pack/plugins/observability_solution/observability/server/ui_settings.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -19933,7 +19985,7 @@ "tags": [], "label": "[enableInspectEsQueries]", "description": [], - "path": "x-pack/plugins/observability/server/ui_settings.ts", + "path": "x-pack/plugins/observability_solution/observability/server/ui_settings.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -19947,7 +19999,7 @@ "signature": [ "string[]" ], - "path": "x-pack/plugins/observability/server/ui_settings.ts", + "path": "x-pack/plugins/observability_solution/observability/server/ui_settings.ts", "deprecated": false, "trackAdoption": false }, @@ -19958,7 +20010,7 @@ "tags": [], "label": "name", "description": [], - "path": "x-pack/plugins/observability/server/ui_settings.ts", + "path": "x-pack/plugins/observability_solution/observability/server/ui_settings.ts", "deprecated": false, "trackAdoption": false }, @@ -19972,7 +20024,7 @@ "signature": [ "false" ], - "path": "x-pack/plugins/observability/server/ui_settings.ts", + "path": "x-pack/plugins/observability_solution/observability/server/ui_settings.ts", "deprecated": false, "trackAdoption": false }, @@ -19983,7 +20035,7 @@ "tags": [], "label": "description", "description": [], - "path": "x-pack/plugins/observability/server/ui_settings.ts", + "path": "x-pack/plugins/observability_solution/observability/server/ui_settings.ts", "deprecated": false, "trackAdoption": false }, @@ -20004,7 +20056,7 @@ }, "" ], - "path": "x-pack/plugins/observability/server/ui_settings.ts", + "path": "x-pack/plugins/observability_solution/observability/server/ui_settings.ts", "deprecated": false, "trackAdoption": false }, @@ -20018,7 +20070,7 @@ "signature": [ "true" ], - "path": "x-pack/plugins/observability/server/ui_settings.ts", + "path": "x-pack/plugins/observability_solution/observability/server/ui_settings.ts", "deprecated": false, "trackAdoption": false } @@ -20031,7 +20083,7 @@ "tags": [], "label": "[maxSuggestions]", "description": [], - "path": "x-pack/plugins/observability/server/ui_settings.ts", + "path": "x-pack/plugins/observability_solution/observability/server/ui_settings.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -20045,7 +20097,7 @@ "signature": [ "string[]" ], - "path": "x-pack/plugins/observability/server/ui_settings.ts", + "path": "x-pack/plugins/observability_solution/observability/server/ui_settings.ts", "deprecated": false, "trackAdoption": false }, @@ -20056,7 +20108,7 @@ "tags": [], "label": "name", "description": [], - "path": "x-pack/plugins/observability/server/ui_settings.ts", + "path": "x-pack/plugins/observability_solution/observability/server/ui_settings.ts", "deprecated": false, "trackAdoption": false }, @@ -20067,7 +20119,7 @@ "tags": [], "label": "value", "description": [], - "path": "x-pack/plugins/observability/server/ui_settings.ts", + "path": "x-pack/plugins/observability_solution/observability/server/ui_settings.ts", "deprecated": false, "trackAdoption": false }, @@ -20078,7 +20130,7 @@ "tags": [], "label": "description", "description": [], - "path": "x-pack/plugins/observability/server/ui_settings.ts", + "path": "x-pack/plugins/observability_solution/observability/server/ui_settings.ts", "deprecated": false, "trackAdoption": false }, @@ -20099,7 +20151,7 @@ }, "" ], - "path": "x-pack/plugins/observability/server/ui_settings.ts", + "path": "x-pack/plugins/observability_solution/observability/server/ui_settings.ts", "deprecated": false, "trackAdoption": false } @@ -20112,7 +20164,7 @@ "tags": [], "label": "[enableComparisonByDefault]", "description": [], - "path": "x-pack/plugins/observability/server/ui_settings.ts", + "path": "x-pack/plugins/observability_solution/observability/server/ui_settings.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -20126,7 +20178,7 @@ "signature": [ "string[]" ], - "path": "x-pack/plugins/observability/server/ui_settings.ts", + "path": "x-pack/plugins/observability_solution/observability/server/ui_settings.ts", "deprecated": false, "trackAdoption": false }, @@ -20137,7 +20189,7 @@ "tags": [], "label": "name", "description": [], - "path": "x-pack/plugins/observability/server/ui_settings.ts", + "path": "x-pack/plugins/observability_solution/observability/server/ui_settings.ts", "deprecated": false, "trackAdoption": false }, @@ -20151,7 +20203,7 @@ "signature": [ "true" ], - "path": "x-pack/plugins/observability/server/ui_settings.ts", + "path": "x-pack/plugins/observability_solution/observability/server/ui_settings.ts", "deprecated": false, "trackAdoption": false }, @@ -20162,7 +20214,7 @@ "tags": [], "label": "description", "description": [], - "path": "x-pack/plugins/observability/server/ui_settings.ts", + "path": "x-pack/plugins/observability_solution/observability/server/ui_settings.ts", "deprecated": false, "trackAdoption": false }, @@ -20183,7 +20235,7 @@ }, "" ], - "path": "x-pack/plugins/observability/server/ui_settings.ts", + "path": "x-pack/plugins/observability_solution/observability/server/ui_settings.ts", "deprecated": false, "trackAdoption": false } @@ -20196,7 +20248,7 @@ "tags": [], "label": "[defaultApmServiceEnvironment]", "description": [], - "path": "x-pack/plugins/observability/server/ui_settings.ts", + "path": "x-pack/plugins/observability_solution/observability/server/ui_settings.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -20210,7 +20262,7 @@ "signature": [ "string[]" ], - "path": "x-pack/plugins/observability/server/ui_settings.ts", + "path": "x-pack/plugins/observability_solution/observability/server/ui_settings.ts", "deprecated": false, "trackAdoption": false }, @@ -20224,7 +20276,7 @@ "signature": [ "true" ], - "path": "x-pack/plugins/observability/server/ui_settings.ts", + "path": "x-pack/plugins/observability_solution/observability/server/ui_settings.ts", "deprecated": false, "trackAdoption": false }, @@ -20235,7 +20287,7 @@ "tags": [], "label": "name", "description": [], - "path": "x-pack/plugins/observability/server/ui_settings.ts", + "path": "x-pack/plugins/observability_solution/observability/server/ui_settings.ts", "deprecated": false, "trackAdoption": false }, @@ -20246,7 +20298,7 @@ "tags": [], "label": "description", "description": [], - "path": "x-pack/plugins/observability/server/ui_settings.ts", + "path": "x-pack/plugins/observability_solution/observability/server/ui_settings.ts", "deprecated": false, "trackAdoption": false }, @@ -20257,7 +20309,7 @@ "tags": [], "label": "value", "description": [], - "path": "x-pack/plugins/observability/server/ui_settings.ts", + "path": "x-pack/plugins/observability_solution/observability/server/ui_settings.ts", "deprecated": false, "trackAdoption": false }, @@ -20278,7 +20330,7 @@ }, "" ], - "path": "x-pack/plugins/observability/server/ui_settings.ts", + "path": "x-pack/plugins/observability_solution/observability/server/ui_settings.ts", "deprecated": false, "trackAdoption": false } @@ -20291,7 +20343,7 @@ "tags": [], "label": "[apmProgressiveLoading]", "description": [], - "path": "x-pack/plugins/observability/server/ui_settings.ts", + "path": "x-pack/plugins/observability_solution/observability/server/ui_settings.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -20305,7 +20357,7 @@ "signature": [ "string[]" ], - "path": "x-pack/plugins/observability/server/ui_settings.ts", + "path": "x-pack/plugins/observability_solution/observability/server/ui_settings.ts", "deprecated": false, "trackAdoption": false }, @@ -20316,7 +20368,7 @@ "tags": [], "label": "name", "description": [], - "path": "x-pack/plugins/observability/server/ui_settings.ts", + "path": "x-pack/plugins/observability_solution/observability/server/ui_settings.ts", "deprecated": false, "trackAdoption": false }, @@ -20327,7 +20379,7 @@ "tags": [], "label": "description", "description": [], - "path": "x-pack/plugins/observability/server/ui_settings.ts", + "path": "x-pack/plugins/observability_solution/observability/server/ui_settings.ts", "deprecated": false, "trackAdoption": false }, @@ -20347,7 +20399,7 @@ "text": "ProgressiveLoadingQuality" } ], - "path": "x-pack/plugins/observability/server/ui_settings.ts", + "path": "x-pack/plugins/observability_solution/observability/server/ui_settings.ts", "deprecated": false, "trackAdoption": false }, @@ -20376,7 +20428,7 @@ }, ">" ], - "path": "x-pack/plugins/observability/server/ui_settings.ts", + "path": "x-pack/plugins/observability_solution/observability/server/ui_settings.ts", "deprecated": false, "trackAdoption": false }, @@ -20390,7 +20442,7 @@ "signature": [ "false" ], - "path": "x-pack/plugins/observability/server/ui_settings.ts", + "path": "x-pack/plugins/observability_solution/observability/server/ui_settings.ts", "deprecated": false, "trackAdoption": false }, @@ -20404,7 +20456,7 @@ "signature": [ "\"select\"" ], - "path": "x-pack/plugins/observability/server/ui_settings.ts", + "path": "x-pack/plugins/observability_solution/observability/server/ui_settings.ts", "deprecated": false, "trackAdoption": false }, @@ -20425,7 +20477,7 @@ }, "[]" ], - "path": "x-pack/plugins/observability/server/ui_settings.ts", + "path": "x-pack/plugins/observability_solution/observability/server/ui_settings.ts", "deprecated": false, "trackAdoption": false }, @@ -20436,7 +20488,7 @@ "tags": [], "label": "optionLabels", "description": [], - "path": "x-pack/plugins/observability/server/ui_settings.ts", + "path": "x-pack/plugins/observability_solution/observability/server/ui_settings.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -20447,7 +20499,7 @@ "tags": [], "label": "[ProgressiveLoadingQuality.off]", "description": [], - "path": "x-pack/plugins/observability/server/ui_settings.ts", + "path": "x-pack/plugins/observability_solution/observability/server/ui_settings.ts", "deprecated": false, "trackAdoption": false }, @@ -20458,7 +20510,7 @@ "tags": [], "label": "[ProgressiveLoadingQuality.low]", "description": [], - "path": "x-pack/plugins/observability/server/ui_settings.ts", + "path": "x-pack/plugins/observability_solution/observability/server/ui_settings.ts", "deprecated": false, "trackAdoption": false }, @@ -20469,7 +20521,7 @@ "tags": [], "label": "[ProgressiveLoadingQuality.medium]", "description": [], - "path": "x-pack/plugins/observability/server/ui_settings.ts", + "path": "x-pack/plugins/observability_solution/observability/server/ui_settings.ts", "deprecated": false, "trackAdoption": false }, @@ -20480,7 +20532,7 @@ "tags": [], "label": "[ProgressiveLoadingQuality.high]", "description": [], - "path": "x-pack/plugins/observability/server/ui_settings.ts", + "path": "x-pack/plugins/observability_solution/observability/server/ui_settings.ts", "deprecated": false, "trackAdoption": false } @@ -20496,7 +20548,7 @@ "signature": [ "true" ], - "path": "x-pack/plugins/observability/server/ui_settings.ts", + "path": "x-pack/plugins/observability_solution/observability/server/ui_settings.ts", "deprecated": false, "trackAdoption": false } @@ -20509,7 +20561,7 @@ "tags": [], "label": "[apmServiceInventoryOptimizedSorting]", "description": [], - "path": "x-pack/plugins/observability/server/ui_settings.ts", + "path": "x-pack/plugins/observability_solution/observability/server/ui_settings.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -20523,7 +20575,7 @@ "signature": [ "string[]" ], - "path": "x-pack/plugins/observability/server/ui_settings.ts", + "path": "x-pack/plugins/observability_solution/observability/server/ui_settings.ts", "deprecated": false, "trackAdoption": false }, @@ -20534,7 +20586,7 @@ "tags": [], "label": "name", "description": [], - "path": "x-pack/plugins/observability/server/ui_settings.ts", + "path": "x-pack/plugins/observability_solution/observability/server/ui_settings.ts", "deprecated": false, "trackAdoption": false }, @@ -20545,7 +20597,7 @@ "tags": [], "label": "description", "description": [], - "path": "x-pack/plugins/observability/server/ui_settings.ts", + "path": "x-pack/plugins/observability_solution/observability/server/ui_settings.ts", "deprecated": false, "trackAdoption": false }, @@ -20566,7 +20618,7 @@ }, "" ], - "path": "x-pack/plugins/observability/server/ui_settings.ts", + "path": "x-pack/plugins/observability_solution/observability/server/ui_settings.ts", "deprecated": false, "trackAdoption": false }, @@ -20580,7 +20632,7 @@ "signature": [ "false" ], - "path": "x-pack/plugins/observability/server/ui_settings.ts", + "path": "x-pack/plugins/observability_solution/observability/server/ui_settings.ts", "deprecated": false, "trackAdoption": false }, @@ -20594,7 +20646,7 @@ "signature": [ "false" ], - "path": "x-pack/plugins/observability/server/ui_settings.ts", + "path": "x-pack/plugins/observability_solution/observability/server/ui_settings.ts", "deprecated": false, "trackAdoption": false }, @@ -20608,7 +20660,7 @@ "signature": [ "\"boolean\"" ], - "path": "x-pack/plugins/observability/server/ui_settings.ts", + "path": "x-pack/plugins/observability_solution/observability/server/ui_settings.ts", "deprecated": false, "trackAdoption": false }, @@ -20622,7 +20674,7 @@ "signature": [ "true" ], - "path": "x-pack/plugins/observability/server/ui_settings.ts", + "path": "x-pack/plugins/observability_solution/observability/server/ui_settings.ts", "deprecated": false, "trackAdoption": false } @@ -20635,7 +20687,7 @@ "tags": [], "label": "[apmServiceGroupMaxNumberOfServices]", "description": [], - "path": "x-pack/plugins/observability/server/ui_settings.ts", + "path": "x-pack/plugins/observability_solution/observability/server/ui_settings.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -20649,7 +20701,7 @@ "signature": [ "string[]" ], - "path": "x-pack/plugins/observability/server/ui_settings.ts", + "path": "x-pack/plugins/observability_solution/observability/server/ui_settings.ts", "deprecated": false, "trackAdoption": false }, @@ -20660,7 +20712,7 @@ "tags": [], "label": "name", "description": [], - "path": "x-pack/plugins/observability/server/ui_settings.ts", + "path": "x-pack/plugins/observability_solution/observability/server/ui_settings.ts", "deprecated": false, "trackAdoption": false }, @@ -20671,7 +20723,7 @@ "tags": [], "label": "value", "description": [], - "path": "x-pack/plugins/observability/server/ui_settings.ts", + "path": "x-pack/plugins/observability_solution/observability/server/ui_settings.ts", "deprecated": false, "trackAdoption": false }, @@ -20682,7 +20734,7 @@ "tags": [], "label": "description", "description": [], - "path": "x-pack/plugins/observability/server/ui_settings.ts", + "path": "x-pack/plugins/observability_solution/observability/server/ui_settings.ts", "deprecated": false, "trackAdoption": false }, @@ -20703,7 +20755,7 @@ }, "" ], - "path": "x-pack/plugins/observability/server/ui_settings.ts", + "path": "x-pack/plugins/observability_solution/observability/server/ui_settings.ts", "deprecated": false, "trackAdoption": false } @@ -20716,7 +20768,7 @@ "tags": [], "label": "[apmTraceExplorerTab]", "description": [], - "path": "x-pack/plugins/observability/server/ui_settings.ts", + "path": "x-pack/plugins/observability_solution/observability/server/ui_settings.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -20730,7 +20782,7 @@ "signature": [ "string[]" ], - "path": "x-pack/plugins/observability/server/ui_settings.ts", + "path": "x-pack/plugins/observability_solution/observability/server/ui_settings.ts", "deprecated": false, "trackAdoption": false }, @@ -20741,7 +20793,7 @@ "tags": [], "label": "name", "description": [], - "path": "x-pack/plugins/observability/server/ui_settings.ts", + "path": "x-pack/plugins/observability_solution/observability/server/ui_settings.ts", "deprecated": false, "trackAdoption": false }, @@ -20752,7 +20804,7 @@ "tags": [], "label": "description", "description": [], - "path": "x-pack/plugins/observability/server/ui_settings.ts", + "path": "x-pack/plugins/observability_solution/observability/server/ui_settings.ts", "deprecated": false, "trackAdoption": false }, @@ -20773,7 +20825,7 @@ }, "" ], - "path": "x-pack/plugins/observability/server/ui_settings.ts", + "path": "x-pack/plugins/observability_solution/observability/server/ui_settings.ts", "deprecated": false, "trackAdoption": false }, @@ -20787,7 +20839,7 @@ "signature": [ "true" ], - "path": "x-pack/plugins/observability/server/ui_settings.ts", + "path": "x-pack/plugins/observability_solution/observability/server/ui_settings.ts", "deprecated": false, "trackAdoption": false }, @@ -20801,7 +20853,7 @@ "signature": [ "true" ], - "path": "x-pack/plugins/observability/server/ui_settings.ts", + "path": "x-pack/plugins/observability_solution/observability/server/ui_settings.ts", "deprecated": false, "trackAdoption": false }, @@ -20815,7 +20867,7 @@ "signature": [ "\"boolean\"" ], - "path": "x-pack/plugins/observability/server/ui_settings.ts", + "path": "x-pack/plugins/observability_solution/observability/server/ui_settings.ts", "deprecated": false, "trackAdoption": false }, @@ -20829,7 +20881,7 @@ "signature": [ "true" ], - "path": "x-pack/plugins/observability/server/ui_settings.ts", + "path": "x-pack/plugins/observability_solution/observability/server/ui_settings.ts", "deprecated": false, "trackAdoption": false } @@ -20842,7 +20894,7 @@ "tags": [], "label": "[apmLabsButton]", "description": [], - "path": "x-pack/plugins/observability/server/ui_settings.ts", + "path": "x-pack/plugins/observability_solution/observability/server/ui_settings.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -20856,7 +20908,7 @@ "signature": [ "string[]" ], - "path": "x-pack/plugins/observability/server/ui_settings.ts", + "path": "x-pack/plugins/observability_solution/observability/server/ui_settings.ts", "deprecated": false, "trackAdoption": false }, @@ -20867,7 +20919,7 @@ "tags": [], "label": "name", "description": [], - "path": "x-pack/plugins/observability/server/ui_settings.ts", + "path": "x-pack/plugins/observability_solution/observability/server/ui_settings.ts", "deprecated": false, "trackAdoption": false }, @@ -20878,7 +20930,7 @@ "tags": [], "label": "description", "description": [], - "path": "x-pack/plugins/observability/server/ui_settings.ts", + "path": "x-pack/plugins/observability_solution/observability/server/ui_settings.ts", "deprecated": false, "trackAdoption": false }, @@ -20899,7 +20951,7 @@ }, "" ], - "path": "x-pack/plugins/observability/server/ui_settings.ts", + "path": "x-pack/plugins/observability_solution/observability/server/ui_settings.ts", "deprecated": false, "trackAdoption": false }, @@ -20913,7 +20965,7 @@ "signature": [ "false" ], - "path": "x-pack/plugins/observability/server/ui_settings.ts", + "path": "x-pack/plugins/observability_solution/observability/server/ui_settings.ts", "deprecated": false, "trackAdoption": false }, @@ -20927,7 +20979,7 @@ "signature": [ "true" ], - "path": "x-pack/plugins/observability/server/ui_settings.ts", + "path": "x-pack/plugins/observability_solution/observability/server/ui_settings.ts", "deprecated": false, "trackAdoption": false }, @@ -20941,7 +20993,7 @@ "signature": [ "\"boolean\"" ], - "path": "x-pack/plugins/observability/server/ui_settings.ts", + "path": "x-pack/plugins/observability_solution/observability/server/ui_settings.ts", "deprecated": false, "trackAdoption": false } @@ -20954,7 +21006,7 @@ "tags": [], "label": "[enableInfrastructureHostsView]", "description": [], - "path": "x-pack/plugins/observability/server/ui_settings.ts", + "path": "x-pack/plugins/observability_solution/observability/server/ui_settings.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -20968,7 +21020,7 @@ "signature": [ "string[]" ], - "path": "x-pack/plugins/observability/server/ui_settings.ts", + "path": "x-pack/plugins/observability_solution/observability/server/ui_settings.ts", "deprecated": false, "trackAdoption": false }, @@ -20979,7 +21031,7 @@ "tags": [], "label": "name", "description": [], - "path": "x-pack/plugins/observability/server/ui_settings.ts", + "path": "x-pack/plugins/observability_solution/observability/server/ui_settings.ts", "deprecated": false, "trackAdoption": false }, @@ -20993,7 +21045,7 @@ "signature": [ "true" ], - "path": "x-pack/plugins/observability/server/ui_settings.ts", + "path": "x-pack/plugins/observability_solution/observability/server/ui_settings.ts", "deprecated": false, "trackAdoption": false }, @@ -21004,7 +21056,7 @@ "tags": [], "label": "description", "description": [], - "path": "x-pack/plugins/observability/server/ui_settings.ts", + "path": "x-pack/plugins/observability_solution/observability/server/ui_settings.ts", "deprecated": false, "trackAdoption": false }, @@ -21025,7 +21077,7 @@ }, "" ], - "path": "x-pack/plugins/observability/server/ui_settings.ts", + "path": "x-pack/plugins/observability_solution/observability/server/ui_settings.ts", "deprecated": false, "trackAdoption": false } @@ -21038,7 +21090,7 @@ "tags": [], "label": "[enableInfrastructureProfilingIntegration]", "description": [], - "path": "x-pack/plugins/observability/server/ui_settings.ts", + "path": "x-pack/plugins/observability_solution/observability/server/ui_settings.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -21052,7 +21104,7 @@ "signature": [ "string[]" ], - "path": "x-pack/plugins/observability/server/ui_settings.ts", + "path": "x-pack/plugins/observability_solution/observability/server/ui_settings.ts", "deprecated": false, "trackAdoption": false }, @@ -21063,7 +21115,7 @@ "tags": [], "label": "name", "description": [], - "path": "x-pack/plugins/observability/server/ui_settings.ts", + "path": "x-pack/plugins/observability_solution/observability/server/ui_settings.ts", "deprecated": false, "trackAdoption": false }, @@ -21077,7 +21129,7 @@ "signature": [ "true" ], - "path": "x-pack/plugins/observability/server/ui_settings.ts", + "path": "x-pack/plugins/observability_solution/observability/server/ui_settings.ts", "deprecated": false, "trackAdoption": false }, @@ -21088,7 +21140,7 @@ "tags": [], "label": "description", "description": [], - "path": "x-pack/plugins/observability/server/ui_settings.ts", + "path": "x-pack/plugins/observability_solution/observability/server/ui_settings.ts", "deprecated": false, "trackAdoption": false }, @@ -21109,7 +21161,7 @@ }, "" ], - "path": "x-pack/plugins/observability/server/ui_settings.ts", + "path": "x-pack/plugins/observability_solution/observability/server/ui_settings.ts", "deprecated": false, "trackAdoption": false } @@ -21122,7 +21174,7 @@ "tags": [], "label": "[enableInfrastructureAssetCustomDashboards]", "description": [], - "path": "x-pack/plugins/observability/server/ui_settings.ts", + "path": "x-pack/plugins/observability_solution/observability/server/ui_settings.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -21136,7 +21188,7 @@ "signature": [ "string[]" ], - "path": "x-pack/plugins/observability/server/ui_settings.ts", + "path": "x-pack/plugins/observability_solution/observability/server/ui_settings.ts", "deprecated": false, "trackAdoption": false }, @@ -21147,7 +21199,7 @@ "tags": [], "label": "name", "description": [], - "path": "x-pack/plugins/observability/server/ui_settings.ts", + "path": "x-pack/plugins/observability_solution/observability/server/ui_settings.ts", "deprecated": false, "trackAdoption": false }, @@ -21161,7 +21213,7 @@ "signature": [ "false" ], - "path": "x-pack/plugins/observability/server/ui_settings.ts", + "path": "x-pack/plugins/observability_solution/observability/server/ui_settings.ts", "deprecated": false, "trackAdoption": false }, @@ -21172,7 +21224,7 @@ "tags": [], "label": "description", "description": [], - "path": "x-pack/plugins/observability/server/ui_settings.ts", + "path": "x-pack/plugins/observability_solution/observability/server/ui_settings.ts", "deprecated": false, "trackAdoption": false }, @@ -21193,7 +21245,7 @@ }, "" ], - "path": "x-pack/plugins/observability/server/ui_settings.ts", + "path": "x-pack/plugins/observability_solution/observability/server/ui_settings.ts", "deprecated": false, "trackAdoption": false } @@ -21206,7 +21258,7 @@ "tags": [], "label": "[enableAwsLambdaMetrics]", "description": [], - "path": "x-pack/plugins/observability/server/ui_settings.ts", + "path": "x-pack/plugins/observability_solution/observability/server/ui_settings.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -21220,7 +21272,7 @@ "signature": [ "string[]" ], - "path": "x-pack/plugins/observability/server/ui_settings.ts", + "path": "x-pack/plugins/observability_solution/observability/server/ui_settings.ts", "deprecated": false, "trackAdoption": false }, @@ -21231,7 +21283,7 @@ "tags": [], "label": "name", "description": [], - "path": "x-pack/plugins/observability/server/ui_settings.ts", + "path": "x-pack/plugins/observability_solution/observability/server/ui_settings.ts", "deprecated": false, "trackAdoption": false }, @@ -21242,7 +21294,7 @@ "tags": [], "label": "description", "description": [], - "path": "x-pack/plugins/observability/server/ui_settings.ts", + "path": "x-pack/plugins/observability_solution/observability/server/ui_settings.ts", "deprecated": false, "trackAdoption": false }, @@ -21263,7 +21315,7 @@ }, "" ], - "path": "x-pack/plugins/observability/server/ui_settings.ts", + "path": "x-pack/plugins/observability_solution/observability/server/ui_settings.ts", "deprecated": false, "trackAdoption": false }, @@ -21277,7 +21329,7 @@ "signature": [ "true" ], - "path": "x-pack/plugins/observability/server/ui_settings.ts", + "path": "x-pack/plugins/observability_solution/observability/server/ui_settings.ts", "deprecated": false, "trackAdoption": false }, @@ -21291,7 +21343,7 @@ "signature": [ "true" ], - "path": "x-pack/plugins/observability/server/ui_settings.ts", + "path": "x-pack/plugins/observability_solution/observability/server/ui_settings.ts", "deprecated": false, "trackAdoption": false }, @@ -21305,7 +21357,7 @@ "signature": [ "\"boolean\"" ], - "path": "x-pack/plugins/observability/server/ui_settings.ts", + "path": "x-pack/plugins/observability_solution/observability/server/ui_settings.ts", "deprecated": false, "trackAdoption": false }, @@ -21319,7 +21371,7 @@ "signature": [ "true" ], - "path": "x-pack/plugins/observability/server/ui_settings.ts", + "path": "x-pack/plugins/observability_solution/observability/server/ui_settings.ts", "deprecated": false, "trackAdoption": false } @@ -21332,7 +21384,7 @@ "tags": [], "label": "[enableAgentExplorerView]", "description": [], - "path": "x-pack/plugins/observability/server/ui_settings.ts", + "path": "x-pack/plugins/observability_solution/observability/server/ui_settings.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -21346,7 +21398,7 @@ "signature": [ "string[]" ], - "path": "x-pack/plugins/observability/server/ui_settings.ts", + "path": "x-pack/plugins/observability_solution/observability/server/ui_settings.ts", "deprecated": false, "trackAdoption": false }, @@ -21357,7 +21409,7 @@ "tags": [], "label": "name", "description": [], - "path": "x-pack/plugins/observability/server/ui_settings.ts", + "path": "x-pack/plugins/observability_solution/observability/server/ui_settings.ts", "deprecated": false, "trackAdoption": false }, @@ -21368,7 +21420,7 @@ "tags": [], "label": "description", "description": [], - "path": "x-pack/plugins/observability/server/ui_settings.ts", + "path": "x-pack/plugins/observability_solution/observability/server/ui_settings.ts", "deprecated": false, "trackAdoption": false }, @@ -21389,7 +21441,7 @@ }, "" ], - "path": "x-pack/plugins/observability/server/ui_settings.ts", + "path": "x-pack/plugins/observability_solution/observability/server/ui_settings.ts", "deprecated": false, "trackAdoption": false }, @@ -21403,7 +21455,7 @@ "signature": [ "true" ], - "path": "x-pack/plugins/observability/server/ui_settings.ts", + "path": "x-pack/plugins/observability_solution/observability/server/ui_settings.ts", "deprecated": false, "trackAdoption": false }, @@ -21417,7 +21469,7 @@ "signature": [ "true" ], - "path": "x-pack/plugins/observability/server/ui_settings.ts", + "path": "x-pack/plugins/observability_solution/observability/server/ui_settings.ts", "deprecated": false, "trackAdoption": false }, @@ -21431,7 +21483,7 @@ "signature": [ "\"boolean\"" ], - "path": "x-pack/plugins/observability/server/ui_settings.ts", + "path": "x-pack/plugins/observability_solution/observability/server/ui_settings.ts", "deprecated": false, "trackAdoption": false } @@ -21444,7 +21496,7 @@ "tags": [], "label": "[apmEnableTableSearchBar]", "description": [], - "path": "x-pack/plugins/observability/server/ui_settings.ts", + "path": "x-pack/plugins/observability_solution/observability/server/ui_settings.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -21458,7 +21510,7 @@ "signature": [ "string[]" ], - "path": "x-pack/plugins/observability/server/ui_settings.ts", + "path": "x-pack/plugins/observability_solution/observability/server/ui_settings.ts", "deprecated": false, "trackAdoption": false }, @@ -21469,7 +21521,7 @@ "tags": [], "label": "name", "description": [], - "path": "x-pack/plugins/observability/server/ui_settings.ts", + "path": "x-pack/plugins/observability_solution/observability/server/ui_settings.ts", "deprecated": false, "trackAdoption": false }, @@ -21480,7 +21532,7 @@ "tags": [], "label": "description", "description": [], - "path": "x-pack/plugins/observability/server/ui_settings.ts", + "path": "x-pack/plugins/observability_solution/observability/server/ui_settings.ts", "deprecated": false, "trackAdoption": false }, @@ -21501,7 +21553,7 @@ }, "" ], - "path": "x-pack/plugins/observability/server/ui_settings.ts", + "path": "x-pack/plugins/observability_solution/observability/server/ui_settings.ts", "deprecated": false, "trackAdoption": false }, @@ -21515,7 +21567,7 @@ "signature": [ "true" ], - "path": "x-pack/plugins/observability/server/ui_settings.ts", + "path": "x-pack/plugins/observability_solution/observability/server/ui_settings.ts", "deprecated": false, "trackAdoption": false }, @@ -21529,7 +21581,7 @@ "signature": [ "true" ], - "path": "x-pack/plugins/observability/server/ui_settings.ts", + "path": "x-pack/plugins/observability_solution/observability/server/ui_settings.ts", "deprecated": false, "trackAdoption": false }, @@ -21543,7 +21595,7 @@ "signature": [ "\"boolean\"" ], - "path": "x-pack/plugins/observability/server/ui_settings.ts", + "path": "x-pack/plugins/observability_solution/observability/server/ui_settings.ts", "deprecated": false, "trackAdoption": false } @@ -21556,7 +21608,7 @@ "tags": [], "label": "[apmAWSLambdaPriceFactor]", "description": [], - "path": "x-pack/plugins/observability/server/ui_settings.ts", + "path": "x-pack/plugins/observability_solution/observability/server/ui_settings.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -21570,7 +21622,7 @@ "signature": [ "string[]" ], - "path": "x-pack/plugins/observability/server/ui_settings.ts", + "path": "x-pack/plugins/observability_solution/observability/server/ui_settings.ts", "deprecated": false, "trackAdoption": false }, @@ -21581,7 +21633,7 @@ "tags": [], "label": "name", "description": [], - "path": "x-pack/plugins/observability/server/ui_settings.ts", + "path": "x-pack/plugins/observability_solution/observability/server/ui_settings.ts", "deprecated": false, "trackAdoption": false }, @@ -21595,7 +21647,7 @@ "signature": [ "\"json\"" ], - "path": "x-pack/plugins/observability/server/ui_settings.ts", + "path": "x-pack/plugins/observability_solution/observability/server/ui_settings.ts", "deprecated": false, "trackAdoption": false }, @@ -21606,7 +21658,7 @@ "tags": [], "label": "value", "description": [], - "path": "x-pack/plugins/observability/server/ui_settings.ts", + "path": "x-pack/plugins/observability_solution/observability/server/ui_settings.ts", "deprecated": false, "trackAdoption": false }, @@ -21617,7 +21669,7 @@ "tags": [], "label": "description", "description": [], - "path": "x-pack/plugins/observability/server/ui_settings.ts", + "path": "x-pack/plugins/observability_solution/observability/server/ui_settings.ts", "deprecated": false, "trackAdoption": false }, @@ -21654,7 +21706,7 @@ }, "; }>" ], - "path": "x-pack/plugins/observability/server/ui_settings.ts", + "path": "x-pack/plugins/observability_solution/observability/server/ui_settings.ts", "deprecated": false, "trackAdoption": false } @@ -21667,7 +21719,7 @@ "tags": [], "label": "[apmAWSLambdaRequestCostPerMillion]", "description": [], - "path": "x-pack/plugins/observability/server/ui_settings.ts", + "path": "x-pack/plugins/observability_solution/observability/server/ui_settings.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -21681,7 +21733,7 @@ "signature": [ "string[]" ], - "path": "x-pack/plugins/observability/server/ui_settings.ts", + "path": "x-pack/plugins/observability_solution/observability/server/ui_settings.ts", "deprecated": false, "trackAdoption": false }, @@ -21692,7 +21744,7 @@ "tags": [], "label": "name", "description": [], - "path": "x-pack/plugins/observability/server/ui_settings.ts", + "path": "x-pack/plugins/observability_solution/observability/server/ui_settings.ts", "deprecated": false, "trackAdoption": false }, @@ -21703,7 +21755,7 @@ "tags": [], "label": "value", "description": [], - "path": "x-pack/plugins/observability/server/ui_settings.ts", + "path": "x-pack/plugins/observability_solution/observability/server/ui_settings.ts", "deprecated": false, "trackAdoption": false }, @@ -21724,7 +21776,7 @@ }, "" ], - "path": "x-pack/plugins/observability/server/ui_settings.ts", + "path": "x-pack/plugins/observability_solution/observability/server/ui_settings.ts", "deprecated": false, "trackAdoption": false } @@ -21737,7 +21789,7 @@ "tags": [], "label": "[apmEnableServiceMetrics]", "description": [], - "path": "x-pack/plugins/observability/server/ui_settings.ts", + "path": "x-pack/plugins/observability_solution/observability/server/ui_settings.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -21751,7 +21803,7 @@ "signature": [ "string[]" ], - "path": "x-pack/plugins/observability/server/ui_settings.ts", + "path": "x-pack/plugins/observability_solution/observability/server/ui_settings.ts", "deprecated": false, "trackAdoption": false }, @@ -21762,7 +21814,7 @@ "tags": [], "label": "name", "description": [], - "path": "x-pack/plugins/observability/server/ui_settings.ts", + "path": "x-pack/plugins/observability_solution/observability/server/ui_settings.ts", "deprecated": false, "trackAdoption": false }, @@ -21776,7 +21828,7 @@ "signature": [ "true" ], - "path": "x-pack/plugins/observability/server/ui_settings.ts", + "path": "x-pack/plugins/observability_solution/observability/server/ui_settings.ts", "deprecated": false, "trackAdoption": false }, @@ -21787,7 +21839,7 @@ "tags": [], "label": "description", "description": [], - "path": "x-pack/plugins/observability/server/ui_settings.ts", + "path": "x-pack/plugins/observability_solution/observability/server/ui_settings.ts", "deprecated": false, "trackAdoption": false }, @@ -21808,7 +21860,7 @@ }, "" ], - "path": "x-pack/plugins/observability/server/ui_settings.ts", + "path": "x-pack/plugins/observability_solution/observability/server/ui_settings.ts", "deprecated": false, "trackAdoption": false }, @@ -21822,7 +21874,7 @@ "signature": [ "true" ], - "path": "x-pack/plugins/observability/server/ui_settings.ts", + "path": "x-pack/plugins/observability_solution/observability/server/ui_settings.ts", "deprecated": false, "trackAdoption": false } @@ -21835,7 +21887,7 @@ "tags": [], "label": "[apmEnableContinuousRollups]", "description": [], - "path": "x-pack/plugins/observability/server/ui_settings.ts", + "path": "x-pack/plugins/observability_solution/observability/server/ui_settings.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -21849,7 +21901,7 @@ "signature": [ "string[]" ], - "path": "x-pack/plugins/observability/server/ui_settings.ts", + "path": "x-pack/plugins/observability_solution/observability/server/ui_settings.ts", "deprecated": false, "trackAdoption": false }, @@ -21860,7 +21912,7 @@ "tags": [], "label": "name", "description": [], - "path": "x-pack/plugins/observability/server/ui_settings.ts", + "path": "x-pack/plugins/observability_solution/observability/server/ui_settings.ts", "deprecated": false, "trackAdoption": false }, @@ -21874,7 +21926,7 @@ "signature": [ "true" ], - "path": "x-pack/plugins/observability/server/ui_settings.ts", + "path": "x-pack/plugins/observability_solution/observability/server/ui_settings.ts", "deprecated": false, "trackAdoption": false }, @@ -21885,7 +21937,7 @@ "tags": [], "label": "description", "description": [], - "path": "x-pack/plugins/observability/server/ui_settings.ts", + "path": "x-pack/plugins/observability_solution/observability/server/ui_settings.ts", "deprecated": false, "trackAdoption": false }, @@ -21906,7 +21958,7 @@ }, "" ], - "path": "x-pack/plugins/observability/server/ui_settings.ts", + "path": "x-pack/plugins/observability_solution/observability/server/ui_settings.ts", "deprecated": false, "trackAdoption": false }, @@ -21920,7 +21972,7 @@ "signature": [ "true" ], - "path": "x-pack/plugins/observability/server/ui_settings.ts", + "path": "x-pack/plugins/observability_solution/observability/server/ui_settings.ts", "deprecated": false, "trackAdoption": false } @@ -21933,7 +21985,7 @@ "tags": [], "label": "[enableCriticalPath]", "description": [], - "path": "x-pack/plugins/observability/server/ui_settings.ts", + "path": "x-pack/plugins/observability_solution/observability/server/ui_settings.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -21947,7 +21999,7 @@ "signature": [ "string[]" ], - "path": "x-pack/plugins/observability/server/ui_settings.ts", + "path": "x-pack/plugins/observability_solution/observability/server/ui_settings.ts", "deprecated": false, "trackAdoption": false }, @@ -21958,7 +22010,7 @@ "tags": [], "label": "name", "description": [], - "path": "x-pack/plugins/observability/server/ui_settings.ts", + "path": "x-pack/plugins/observability_solution/observability/server/ui_settings.ts", "deprecated": false, "trackAdoption": false }, @@ -21969,7 +22021,7 @@ "tags": [], "label": "description", "description": [], - "path": "x-pack/plugins/observability/server/ui_settings.ts", + "path": "x-pack/plugins/observability_solution/observability/server/ui_settings.ts", "deprecated": false, "trackAdoption": false }, @@ -21990,7 +22042,7 @@ }, "" ], - "path": "x-pack/plugins/observability/server/ui_settings.ts", + "path": "x-pack/plugins/observability_solution/observability/server/ui_settings.ts", "deprecated": false, "trackAdoption": false }, @@ -22004,7 +22056,7 @@ "signature": [ "false" ], - "path": "x-pack/plugins/observability/server/ui_settings.ts", + "path": "x-pack/plugins/observability_solution/observability/server/ui_settings.ts", "deprecated": false, "trackAdoption": false }, @@ -22018,7 +22070,7 @@ "signature": [ "true" ], - "path": "x-pack/plugins/observability/server/ui_settings.ts", + "path": "x-pack/plugins/observability_solution/observability/server/ui_settings.ts", "deprecated": false, "trackAdoption": false }, @@ -22032,7 +22084,7 @@ "signature": [ "\"boolean\"" ], - "path": "x-pack/plugins/observability/server/ui_settings.ts", + "path": "x-pack/plugins/observability_solution/observability/server/ui_settings.ts", "deprecated": false, "trackAdoption": false }, @@ -22046,7 +22098,7 @@ "signature": [ "true" ], - "path": "x-pack/plugins/observability/server/ui_settings.ts", + "path": "x-pack/plugins/observability_solution/observability/server/ui_settings.ts", "deprecated": false, "trackAdoption": false } @@ -22059,7 +22111,7 @@ "tags": [], "label": "[syntheticsThrottlingEnabled]", "description": [], - "path": "x-pack/plugins/observability/server/ui_settings.ts", + "path": "x-pack/plugins/observability_solution/observability/server/ui_settings.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -22073,7 +22125,7 @@ "signature": [ "string[]" ], - "path": "x-pack/plugins/observability/server/ui_settings.ts", + "path": "x-pack/plugins/observability_solution/observability/server/ui_settings.ts", "deprecated": false, "trackAdoption": false }, @@ -22084,7 +22136,7 @@ "tags": [], "label": "name", "description": [], - "path": "x-pack/plugins/observability/server/ui_settings.ts", + "path": "x-pack/plugins/observability_solution/observability/server/ui_settings.ts", "deprecated": false, "trackAdoption": false }, @@ -22098,7 +22150,7 @@ "signature": [ "false" ], - "path": "x-pack/plugins/observability/server/ui_settings.ts", + "path": "x-pack/plugins/observability_solution/observability/server/ui_settings.ts", "deprecated": false, "trackAdoption": false }, @@ -22109,7 +22161,7 @@ "tags": [], "label": "description", "description": [], - "path": "x-pack/plugins/observability/server/ui_settings.ts", + "path": "x-pack/plugins/observability_solution/observability/server/ui_settings.ts", "deprecated": false, "trackAdoption": false }, @@ -22130,7 +22182,7 @@ }, "" ], - "path": "x-pack/plugins/observability/server/ui_settings.ts", + "path": "x-pack/plugins/observability_solution/observability/server/ui_settings.ts", "deprecated": false, "trackAdoption": false }, @@ -22144,7 +22196,7 @@ "signature": [ "true" ], - "path": "x-pack/plugins/observability/server/ui_settings.ts", + "path": "x-pack/plugins/observability_solution/observability/server/ui_settings.ts", "deprecated": false, "trackAdoption": false } @@ -22157,7 +22209,7 @@ "tags": [], "label": "[enableLegacyUptimeApp]", "description": [], - "path": "x-pack/plugins/observability/server/ui_settings.ts", + "path": "x-pack/plugins/observability_solution/observability/server/ui_settings.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -22171,7 +22223,7 @@ "signature": [ "string[]" ], - "path": "x-pack/plugins/observability/server/ui_settings.ts", + "path": "x-pack/plugins/observability_solution/observability/server/ui_settings.ts", "deprecated": false, "trackAdoption": false }, @@ -22182,7 +22234,7 @@ "tags": [], "label": "name", "description": [], - "path": "x-pack/plugins/observability/server/ui_settings.ts", + "path": "x-pack/plugins/observability_solution/observability/server/ui_settings.ts", "deprecated": false, "trackAdoption": false }, @@ -22196,7 +22248,7 @@ "signature": [ "false" ], - "path": "x-pack/plugins/observability/server/ui_settings.ts", + "path": "x-pack/plugins/observability_solution/observability/server/ui_settings.ts", "deprecated": false, "trackAdoption": false }, @@ -22207,7 +22259,7 @@ "tags": [], "label": "description", "description": [], - "path": "x-pack/plugins/observability/server/ui_settings.ts", + "path": "x-pack/plugins/observability_solution/observability/server/ui_settings.ts", "deprecated": false, "trackAdoption": false }, @@ -22228,7 +22280,7 @@ }, "" ], - "path": "x-pack/plugins/observability/server/ui_settings.ts", + "path": "x-pack/plugins/observability_solution/observability/server/ui_settings.ts", "deprecated": false, "trackAdoption": false }, @@ -22242,7 +22294,7 @@ "signature": [ "true" ], - "path": "x-pack/plugins/observability/server/ui_settings.ts", + "path": "x-pack/plugins/observability_solution/observability/server/ui_settings.ts", "deprecated": false, "trackAdoption": false } @@ -22255,7 +22307,7 @@ "tags": [], "label": "[apmEnableProfilingIntegration]", "description": [], - "path": "x-pack/plugins/observability/server/ui_settings.ts", + "path": "x-pack/plugins/observability_solution/observability/server/ui_settings.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -22269,7 +22321,7 @@ "signature": [ "string[]" ], - "path": "x-pack/plugins/observability/server/ui_settings.ts", + "path": "x-pack/plugins/observability_solution/observability/server/ui_settings.ts", "deprecated": false, "trackAdoption": false }, @@ -22280,7 +22332,7 @@ "tags": [], "label": "name", "description": [], - "path": "x-pack/plugins/observability/server/ui_settings.ts", + "path": "x-pack/plugins/observability_solution/observability/server/ui_settings.ts", "deprecated": false, "trackAdoption": false }, @@ -22294,7 +22346,7 @@ "signature": [ "true" ], - "path": "x-pack/plugins/observability/server/ui_settings.ts", + "path": "x-pack/plugins/observability_solution/observability/server/ui_settings.ts", "deprecated": false, "trackAdoption": false }, @@ -22315,7 +22367,7 @@ }, "" ], - "path": "x-pack/plugins/observability/server/ui_settings.ts", + "path": "x-pack/plugins/observability_solution/observability/server/ui_settings.ts", "deprecated": false, "trackAdoption": false }, @@ -22329,7 +22381,7 @@ "signature": [ "false" ], - "path": "x-pack/plugins/observability/server/ui_settings.ts", + "path": "x-pack/plugins/observability_solution/observability/server/ui_settings.ts", "deprecated": false, "trackAdoption": false } @@ -22342,7 +22394,7 @@ "tags": [], "label": "[profilingShowErrorFrames]", "description": [], - "path": "x-pack/plugins/observability/server/ui_settings.ts", + "path": "x-pack/plugins/observability_solution/observability/server/ui_settings.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -22356,7 +22408,7 @@ "signature": [ "string[]" ], - "path": "x-pack/plugins/observability/server/ui_settings.ts", + "path": "x-pack/plugins/observability_solution/observability/server/ui_settings.ts", "deprecated": false, "trackAdoption": false }, @@ -22367,7 +22419,7 @@ "tags": [], "label": "name", "description": [], - "path": "x-pack/plugins/observability/server/ui_settings.ts", + "path": "x-pack/plugins/observability_solution/observability/server/ui_settings.ts", "deprecated": false, "trackAdoption": false }, @@ -22381,7 +22433,7 @@ "signature": [ "false" ], - "path": "x-pack/plugins/observability/server/ui_settings.ts", + "path": "x-pack/plugins/observability_solution/observability/server/ui_settings.ts", "deprecated": false, "trackAdoption": false }, @@ -22402,7 +22454,7 @@ }, "" ], - "path": "x-pack/plugins/observability/server/ui_settings.ts", + "path": "x-pack/plugins/observability_solution/observability/server/ui_settings.ts", "deprecated": false, "trackAdoption": false }, @@ -22416,7 +22468,7 @@ "signature": [ "true" ], - "path": "x-pack/plugins/observability/server/ui_settings.ts", + "path": "x-pack/plugins/observability_solution/observability/server/ui_settings.ts", "deprecated": false, "trackAdoption": false } @@ -22429,7 +22481,7 @@ "tags": [], "label": "[profilingPervCPUWattX86]", "description": [], - "path": "x-pack/plugins/observability/server/ui_settings.ts", + "path": "x-pack/plugins/observability_solution/observability/server/ui_settings.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -22443,7 +22495,7 @@ "signature": [ "string[]" ], - "path": "x-pack/plugins/observability/server/ui_settings.ts", + "path": "x-pack/plugins/observability_solution/observability/server/ui_settings.ts", "deprecated": false, "trackAdoption": false }, @@ -22454,7 +22506,7 @@ "tags": [], "label": "name", "description": [], - "path": "x-pack/plugins/observability/server/ui_settings.ts", + "path": "x-pack/plugins/observability_solution/observability/server/ui_settings.ts", "deprecated": false, "trackAdoption": false }, @@ -22465,7 +22517,7 @@ "tags": [], "label": "value", "description": [], - "path": "x-pack/plugins/observability/server/ui_settings.ts", + "path": "x-pack/plugins/observability_solution/observability/server/ui_settings.ts", "deprecated": false, "trackAdoption": false }, @@ -22476,7 +22528,7 @@ "tags": [], "label": "description", "description": [], - "path": "x-pack/plugins/observability/server/ui_settings.ts", + "path": "x-pack/plugins/observability_solution/observability/server/ui_settings.ts", "deprecated": false, "trackAdoption": false }, @@ -22497,7 +22549,7 @@ }, "" ], - "path": "x-pack/plugins/observability/server/ui_settings.ts", + "path": "x-pack/plugins/observability_solution/observability/server/ui_settings.ts", "deprecated": false, "trackAdoption": false }, @@ -22511,7 +22563,7 @@ "signature": [ "true" ], - "path": "x-pack/plugins/observability/server/ui_settings.ts", + "path": "x-pack/plugins/observability_solution/observability/server/ui_settings.ts", "deprecated": false, "trackAdoption": false } @@ -22524,7 +22576,7 @@ "tags": [], "label": "[profilingPervCPUWattArm64]", "description": [], - "path": "x-pack/plugins/observability/server/ui_settings.ts", + "path": "x-pack/plugins/observability_solution/observability/server/ui_settings.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -22538,7 +22590,7 @@ "signature": [ "string[]" ], - "path": "x-pack/plugins/observability/server/ui_settings.ts", + "path": "x-pack/plugins/observability_solution/observability/server/ui_settings.ts", "deprecated": false, "trackAdoption": false }, @@ -22549,7 +22601,7 @@ "tags": [], "label": "name", "description": [], - "path": "x-pack/plugins/observability/server/ui_settings.ts", + "path": "x-pack/plugins/observability_solution/observability/server/ui_settings.ts", "deprecated": false, "trackAdoption": false }, @@ -22560,7 +22612,7 @@ "tags": [], "label": "value", "description": [], - "path": "x-pack/plugins/observability/server/ui_settings.ts", + "path": "x-pack/plugins/observability_solution/observability/server/ui_settings.ts", "deprecated": false, "trackAdoption": false }, @@ -22571,7 +22623,7 @@ "tags": [], "label": "description", "description": [], - "path": "x-pack/plugins/observability/server/ui_settings.ts", + "path": "x-pack/plugins/observability_solution/observability/server/ui_settings.ts", "deprecated": false, "trackAdoption": false }, @@ -22592,7 +22644,7 @@ }, "" ], - "path": "x-pack/plugins/observability/server/ui_settings.ts", + "path": "x-pack/plugins/observability_solution/observability/server/ui_settings.ts", "deprecated": false, "trackAdoption": false }, @@ -22606,7 +22658,7 @@ "signature": [ "true" ], - "path": "x-pack/plugins/observability/server/ui_settings.ts", + "path": "x-pack/plugins/observability_solution/observability/server/ui_settings.ts", "deprecated": false, "trackAdoption": false } @@ -22619,7 +22671,7 @@ "tags": [], "label": "[profilingDatacenterPUE]", "description": [], - "path": "x-pack/plugins/observability/server/ui_settings.ts", + "path": "x-pack/plugins/observability_solution/observability/server/ui_settings.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -22633,7 +22685,7 @@ "signature": [ "string[]" ], - "path": "x-pack/plugins/observability/server/ui_settings.ts", + "path": "x-pack/plugins/observability_solution/observability/server/ui_settings.ts", "deprecated": false, "trackAdoption": false }, @@ -22644,7 +22696,7 @@ "tags": [], "label": "name", "description": [], - "path": "x-pack/plugins/observability/server/ui_settings.ts", + "path": "x-pack/plugins/observability_solution/observability/server/ui_settings.ts", "deprecated": false, "trackAdoption": false }, @@ -22655,7 +22707,7 @@ "tags": [], "label": "value", "description": [], - "path": "x-pack/plugins/observability/server/ui_settings.ts", + "path": "x-pack/plugins/observability_solution/observability/server/ui_settings.ts", "deprecated": false, "trackAdoption": false }, @@ -22666,7 +22718,7 @@ "tags": [], "label": "description", "description": [], - "path": "x-pack/plugins/observability/server/ui_settings.ts", + "path": "x-pack/plugins/observability_solution/observability/server/ui_settings.ts", "deprecated": false, "trackAdoption": false }, @@ -22687,7 +22739,7 @@ }, "" ], - "path": "x-pack/plugins/observability/server/ui_settings.ts", + "path": "x-pack/plugins/observability_solution/observability/server/ui_settings.ts", "deprecated": false, "trackAdoption": false }, @@ -22701,7 +22753,7 @@ "signature": [ "true" ], - "path": "x-pack/plugins/observability/server/ui_settings.ts", + "path": "x-pack/plugins/observability_solution/observability/server/ui_settings.ts", "deprecated": false, "trackAdoption": false } @@ -22714,7 +22766,7 @@ "tags": [], "label": "[profilingCo2PerKWH]", "description": [], - "path": "x-pack/plugins/observability/server/ui_settings.ts", + "path": "x-pack/plugins/observability_solution/observability/server/ui_settings.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -22728,7 +22780,7 @@ "signature": [ "string[]" ], - "path": "x-pack/plugins/observability/server/ui_settings.ts", + "path": "x-pack/plugins/observability_solution/observability/server/ui_settings.ts", "deprecated": false, "trackAdoption": false }, @@ -22739,7 +22791,7 @@ "tags": [], "label": "name", "description": [], - "path": "x-pack/plugins/observability/server/ui_settings.ts", + "path": "x-pack/plugins/observability_solution/observability/server/ui_settings.ts", "deprecated": false, "trackAdoption": false }, @@ -22750,7 +22802,7 @@ "tags": [], "label": "value", "description": [], - "path": "x-pack/plugins/observability/server/ui_settings.ts", + "path": "x-pack/plugins/observability_solution/observability/server/ui_settings.ts", "deprecated": false, "trackAdoption": false }, @@ -22761,7 +22813,7 @@ "tags": [], "label": "description", "description": [], - "path": "x-pack/plugins/observability/server/ui_settings.ts", + "path": "x-pack/plugins/observability_solution/observability/server/ui_settings.ts", "deprecated": false, "trackAdoption": false }, @@ -22782,7 +22834,7 @@ }, "" ], - "path": "x-pack/plugins/observability/server/ui_settings.ts", + "path": "x-pack/plugins/observability_solution/observability/server/ui_settings.ts", "deprecated": false, "trackAdoption": false }, @@ -22796,7 +22848,7 @@ "signature": [ "true" ], - "path": "x-pack/plugins/observability/server/ui_settings.ts", + "path": "x-pack/plugins/observability_solution/observability/server/ui_settings.ts", "deprecated": false, "trackAdoption": false } @@ -22809,7 +22861,7 @@ "tags": [], "label": "[profilingAWSCostDiscountRate]", "description": [], - "path": "x-pack/plugins/observability/server/ui_settings.ts", + "path": "x-pack/plugins/observability_solution/observability/server/ui_settings.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -22823,7 +22875,7 @@ "signature": [ "string[]" ], - "path": "x-pack/plugins/observability/server/ui_settings.ts", + "path": "x-pack/plugins/observability_solution/observability/server/ui_settings.ts", "deprecated": false, "trackAdoption": false }, @@ -22834,7 +22886,7 @@ "tags": [], "label": "name", "description": [], - "path": "x-pack/plugins/observability/server/ui_settings.ts", + "path": "x-pack/plugins/observability_solution/observability/server/ui_settings.ts", "deprecated": false, "trackAdoption": false }, @@ -22845,7 +22897,7 @@ "tags": [], "label": "value", "description": [], - "path": "x-pack/plugins/observability/server/ui_settings.ts", + "path": "x-pack/plugins/observability_solution/observability/server/ui_settings.ts", "deprecated": false, "trackAdoption": false }, @@ -22866,7 +22918,7 @@ }, "" ], - "path": "x-pack/plugins/observability/server/ui_settings.ts", + "path": "x-pack/plugins/observability_solution/observability/server/ui_settings.ts", "deprecated": false, "trackAdoption": false }, @@ -22880,7 +22932,7 @@ "signature": [ "true" ], - "path": "x-pack/plugins/observability/server/ui_settings.ts", + "path": "x-pack/plugins/observability_solution/observability/server/ui_settings.ts", "deprecated": false, "trackAdoption": false }, @@ -22891,7 +22943,7 @@ "tags": [], "label": "description", "description": [], - "path": "x-pack/plugins/observability/server/ui_settings.ts", + "path": "x-pack/plugins/observability_solution/observability/server/ui_settings.ts", "deprecated": false, "trackAdoption": false } @@ -22904,7 +22956,7 @@ "tags": [], "label": "[profilingAzureCostDiscountRate]", "description": [], - "path": "x-pack/plugins/observability/server/ui_settings.ts", + "path": "x-pack/plugins/observability_solution/observability/server/ui_settings.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -22918,7 +22970,7 @@ "signature": [ "string[]" ], - "path": "x-pack/plugins/observability/server/ui_settings.ts", + "path": "x-pack/plugins/observability_solution/observability/server/ui_settings.ts", "deprecated": false, "trackAdoption": false }, @@ -22929,7 +22981,7 @@ "tags": [], "label": "name", "description": [], - "path": "x-pack/plugins/observability/server/ui_settings.ts", + "path": "x-pack/plugins/observability_solution/observability/server/ui_settings.ts", "deprecated": false, "trackAdoption": false }, @@ -22940,7 +22992,7 @@ "tags": [], "label": "value", "description": [], - "path": "x-pack/plugins/observability/server/ui_settings.ts", + "path": "x-pack/plugins/observability_solution/observability/server/ui_settings.ts", "deprecated": false, "trackAdoption": false }, @@ -22961,7 +23013,7 @@ }, "" ], - "path": "x-pack/plugins/observability/server/ui_settings.ts", + "path": "x-pack/plugins/observability_solution/observability/server/ui_settings.ts", "deprecated": false, "trackAdoption": false }, @@ -22975,7 +23027,7 @@ "signature": [ "true" ], - "path": "x-pack/plugins/observability/server/ui_settings.ts", + "path": "x-pack/plugins/observability_solution/observability/server/ui_settings.ts", "deprecated": false, "trackAdoption": false }, @@ -22986,7 +23038,7 @@ "tags": [], "label": "description", "description": [], - "path": "x-pack/plugins/observability/server/ui_settings.ts", + "path": "x-pack/plugins/observability_solution/observability/server/ui_settings.ts", "deprecated": false, "trackAdoption": false } @@ -22999,7 +23051,7 @@ "tags": [], "label": "[profilingCostPervCPUPerHour]", "description": [], - "path": "x-pack/plugins/observability/server/ui_settings.ts", + "path": "x-pack/plugins/observability_solution/observability/server/ui_settings.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -23013,7 +23065,7 @@ "signature": [ "string[]" ], - "path": "x-pack/plugins/observability/server/ui_settings.ts", + "path": "x-pack/plugins/observability_solution/observability/server/ui_settings.ts", "deprecated": false, "trackAdoption": false }, @@ -23024,7 +23076,7 @@ "tags": [], "label": "name", "description": [], - "path": "x-pack/plugins/observability/server/ui_settings.ts", + "path": "x-pack/plugins/observability_solution/observability/server/ui_settings.ts", "deprecated": false, "trackAdoption": false }, @@ -23035,7 +23087,7 @@ "tags": [], "label": "value", "description": [], - "path": "x-pack/plugins/observability/server/ui_settings.ts", + "path": "x-pack/plugins/observability_solution/observability/server/ui_settings.ts", "deprecated": false, "trackAdoption": false }, @@ -23046,7 +23098,7 @@ "tags": [], "label": "description", "description": [], - "path": "x-pack/plugins/observability/server/ui_settings.ts", + "path": "x-pack/plugins/observability_solution/observability/server/ui_settings.ts", "deprecated": false, "trackAdoption": false }, @@ -23067,7 +23119,7 @@ }, "" ], - "path": "x-pack/plugins/observability/server/ui_settings.ts", + "path": "x-pack/plugins/observability_solution/observability/server/ui_settings.ts", "deprecated": false, "trackAdoption": false }, @@ -23081,7 +23133,7 @@ "signature": [ "true" ], - "path": "x-pack/plugins/observability/server/ui_settings.ts", + "path": "x-pack/plugins/observability_solution/observability/server/ui_settings.ts", "deprecated": false, "trackAdoption": false } @@ -23094,7 +23146,7 @@ "tags": [], "label": "[apmEnableTransactionProfiling]", "description": [], - "path": "x-pack/plugins/observability/server/ui_settings.ts", + "path": "x-pack/plugins/observability_solution/observability/server/ui_settings.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -23108,7 +23160,7 @@ "signature": [ "string[]" ], - "path": "x-pack/plugins/observability/server/ui_settings.ts", + "path": "x-pack/plugins/observability_solution/observability/server/ui_settings.ts", "deprecated": false, "trackAdoption": false }, @@ -23119,7 +23171,7 @@ "tags": [], "label": "name", "description": [], - "path": "x-pack/plugins/observability/server/ui_settings.ts", + "path": "x-pack/plugins/observability_solution/observability/server/ui_settings.ts", "deprecated": false, "trackAdoption": false }, @@ -23133,7 +23185,7 @@ "signature": [ "false" ], - "path": "x-pack/plugins/observability/server/ui_settings.ts", + "path": "x-pack/plugins/observability_solution/observability/server/ui_settings.ts", "deprecated": false, "trackAdoption": false }, @@ -23154,7 +23206,7 @@ }, "" ], - "path": "x-pack/plugins/observability/server/ui_settings.ts", + "path": "x-pack/plugins/observability_solution/observability/server/ui_settings.ts", "deprecated": false, "trackAdoption": false }, @@ -23168,7 +23220,7 @@ "signature": [ "true" ], - "path": "x-pack/plugins/observability/server/ui_settings.ts", + "path": "x-pack/plugins/observability_solution/observability/server/ui_settings.ts", "deprecated": false, "trackAdoption": false } @@ -23234,7 +23286,7 @@ }, ">; }" ], - "path": "x-pack/plugins/observability/server/plugin.ts", + "path": "x-pack/plugins/observability_solution/observability/server/plugin.ts", "deprecated": false, "trackAdoption": false, "lifecycle": "setup", @@ -23256,7 +23308,7 @@ "TimeUnit", ") => string" ], - "path": "x-pack/plugins/observability/common/utils/formatters/datetime.ts", + "path": "x-pack/plugins/observability_solution/observability/common/utils/formatters/datetime.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -23270,7 +23322,7 @@ "signature": [ "number" ], - "path": "x-pack/plugins/observability/common/utils/formatters/datetime.ts", + "path": "x-pack/plugins/observability_solution/observability/common/utils/formatters/datetime.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -23285,7 +23337,7 @@ "signature": [ "TimeUnit" ], - "path": "x-pack/plugins/observability/common/utils/formatters/datetime.ts", + "path": "x-pack/plugins/observability_solution/observability/common/utils/formatters/datetime.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -23308,7 +23360,7 @@ "Maybe", ", { defaultValue = NOT_AVAILABLE_LABEL, extended }: FormatterOptions) => string" ], - "path": "x-pack/plugins/observability/common/utils/formatters/duration.ts", + "path": "x-pack/plugins/observability_solution/observability/common/utils/formatters/duration.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -23323,7 +23375,7 @@ "Maybe", "" ], - "path": "x-pack/plugins/observability/common/utils/formatters/duration.ts", + "path": "x-pack/plugins/observability_solution/observability/common/utils/formatters/duration.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -23338,7 +23390,7 @@ "signature": [ "FormatterOptions" ], - "path": "x-pack/plugins/observability/common/utils/formatters/duration.ts", + "path": "x-pack/plugins/observability_solution/observability/common/utils/formatters/duration.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -23359,7 +23411,7 @@ "Maybe", ") => string" ], - "path": "x-pack/plugins/observability/common/utils/formatters/size.ts", + "path": "x-pack/plugins/observability_solution/observability/common/utils/formatters/size.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -23374,7 +23426,7 @@ "signature": [ "number | null | undefined" ], - "path": "x-pack/plugins/observability/common/utils/formatters/size.ts", + "path": "x-pack/plugins/observability_solution/observability/common/utils/formatters/size.ts", "deprecated": false, "trackAdoption": false } @@ -23391,7 +23443,7 @@ "signature": [ "(value: number | null | undefined) => string" ], - "path": "x-pack/plugins/observability/common/utils/formatters/formatters.ts", + "path": "x-pack/plugins/observability_solution/observability/common/utils/formatters/formatters.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -23405,7 +23457,7 @@ "signature": [ "number | null | undefined" ], - "path": "x-pack/plugins/observability/common/utils/formatters/formatters.ts", + "path": "x-pack/plugins/observability_solution/observability/common/utils/formatters/formatters.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -23426,7 +23478,7 @@ "Maybe", ", denominator: number | undefined, fallbackResult: string) => string" ], - "path": "x-pack/plugins/observability/common/utils/formatters/formatters.ts", + "path": "x-pack/plugins/observability_solution/observability/common/utils/formatters/formatters.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -23441,7 +23493,7 @@ "Maybe", "" ], - "path": "x-pack/plugins/observability/common/utils/formatters/formatters.ts", + "path": "x-pack/plugins/observability_solution/observability/common/utils/formatters/formatters.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -23456,7 +23508,7 @@ "signature": [ "number | undefined" ], - "path": "x-pack/plugins/observability/common/utils/formatters/formatters.ts", + "path": "x-pack/plugins/observability_solution/observability/common/utils/formatters/formatters.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -23471,7 +23523,7 @@ "signature": [ "string" ], - "path": "x-pack/plugins/observability/common/utils/formatters/formatters.ts", + "path": "x-pack/plugins/observability_solution/observability/common/utils/formatters/formatters.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -23498,7 +23550,7 @@ }, ") => string" ], - "path": "x-pack/plugins/observability/common/utils/formatters/duration.ts", + "path": "x-pack/plugins/observability_solution/observability/common/utils/formatters/duration.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -23512,7 +23564,7 @@ "signature": [ "number" ], - "path": "x-pack/plugins/observability/common/utils/formatters/duration.ts", + "path": "x-pack/plugins/observability_solution/observability/common/utils/formatters/duration.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -23533,7 +23585,7 @@ "text": "TimeUnitChar" } ], - "path": "x-pack/plugins/observability/common/utils/formatters/duration.ts", + "path": "x-pack/plugins/observability_solution/observability/common/utils/formatters/duration.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -23560,7 +23612,7 @@ }, ", spaceId: string, alertUuid: string | null) => string" ], - "path": "x-pack/plugins/observability/common/utils/alerting/alert_url.ts", + "path": "x-pack/plugins/observability_solution/observability/common/utils/alerting/alert_url.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -23580,7 +23632,7 @@ "text": "IBasePath" } ], - "path": "x-pack/plugins/observability/common/utils/alerting/alert_url.ts", + "path": "x-pack/plugins/observability_solution/observability/common/utils/alerting/alert_url.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -23595,7 +23647,7 @@ "signature": [ "string" ], - "path": "x-pack/plugins/observability/common/utils/alerting/alert_url.ts", + "path": "x-pack/plugins/observability_solution/observability/common/utils/alerting/alert_url.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -23610,7 +23662,7 @@ "signature": [ "string | null" ], - "path": "x-pack/plugins/observability/common/utils/alerting/alert_url.ts", + "path": "x-pack/plugins/observability_solution/observability/common/utils/alerting/alert_url.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -23645,7 +23697,7 @@ }, "> | undefined, publicBaseUrl?: string | undefined) => Promise" ], - "path": "x-pack/plugins/observability/common/utils/alerting/alert_url.ts", + "path": "x-pack/plugins/observability_solution/observability/common/utils/alerting/alert_url.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -23659,7 +23711,7 @@ "signature": [ "string | null" ], - "path": "x-pack/plugins/observability/common/utils/alerting/alert_url.ts", + "path": "x-pack/plugins/observability_solution/observability/common/utils/alerting/alert_url.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -23674,7 +23726,7 @@ "signature": [ "string" ], - "path": "x-pack/plugins/observability/common/utils/alerting/alert_url.ts", + "path": "x-pack/plugins/observability_solution/observability/common/utils/alerting/alert_url.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -23689,7 +23741,7 @@ "signature": [ "string" ], - "path": "x-pack/plugins/observability/common/utils/alerting/alert_url.ts", + "path": "x-pack/plugins/observability_solution/observability/common/utils/alerting/alert_url.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -23719,7 +23771,7 @@ }, "> | undefined" ], - "path": "x-pack/plugins/observability/common/utils/alerting/alert_url.ts", + "path": "x-pack/plugins/observability_solution/observability/common/utils/alerting/alert_url.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -23734,7 +23786,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/observability/common/utils/alerting/alert_url.ts", + "path": "x-pack/plugins/observability_solution/observability/common/utils/alerting/alert_url.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -23760,7 +23812,7 @@ "text": "TimeFormatter" } ], - "path": "x-pack/plugins/observability/common/utils/formatters/duration.ts", + "path": "x-pack/plugins/observability_solution/observability/common/utils/formatters/duration.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -23772,7 +23824,7 @@ "tags": [], "label": "max", "description": [], - "path": "x-pack/plugins/observability/common/utils/formatters/duration.ts", + "path": "x-pack/plugins/observability_solution/observability/common/utils/formatters/duration.ts", "deprecated": false, "trackAdoption": false } @@ -23816,7 +23868,7 @@ "text": "Request" } ], - "path": "x-pack/plugins/observability/common/utils/get_inspect_response.ts", + "path": "x-pack/plugins/observability_solution/observability/common/utils/get_inspect_response.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -23827,7 +23879,7 @@ "tags": [], "label": "{\n esError,\n esRequestParams,\n esRequestStatus,\n esResponse,\n kibanaRequest,\n operationName,\n startTime,\n}", "description": [], - "path": "x-pack/plugins/observability/common/utils/get_inspect_response.ts", + "path": "x-pack/plugins/observability_solution/observability/common/utils/get_inspect_response.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -23842,7 +23894,7 @@ "WrappedElasticsearchClientError", " | null" ], - "path": "x-pack/plugins/observability/common/utils/get_inspect_response.ts", + "path": "x-pack/plugins/observability_solution/observability/common/utils/get_inspect_response.ts", "deprecated": false, "trackAdoption": false }, @@ -23856,7 +23908,7 @@ "signature": [ "{ [x: string]: any; }" ], - "path": "x-pack/plugins/observability/common/utils/get_inspect_response.ts", + "path": "x-pack/plugins/observability_solution/observability/common/utils/get_inspect_response.ts", "deprecated": false, "trackAdoption": false }, @@ -23876,7 +23928,7 @@ "text": "RequestStatus" } ], - "path": "x-pack/plugins/observability/common/utils/get_inspect_response.ts", + "path": "x-pack/plugins/observability_solution/observability/common/utils/get_inspect_response.ts", "deprecated": false, "trackAdoption": false }, @@ -23890,7 +23942,7 @@ "signature": [ "any" ], - "path": "x-pack/plugins/observability/common/utils/get_inspect_response.ts", + "path": "x-pack/plugins/observability_solution/observability/common/utils/get_inspect_response.ts", "deprecated": false, "trackAdoption": false }, @@ -23911,7 +23963,7 @@ }, "" ], - "path": "x-pack/plugins/observability/common/utils/get_inspect_response.ts", + "path": "x-pack/plugins/observability_solution/observability/common/utils/get_inspect_response.ts", "deprecated": false, "trackAdoption": false }, @@ -23922,7 +23974,7 @@ "tags": [], "label": "operationName", "description": [], - "path": "x-pack/plugins/observability/common/utils/get_inspect_response.ts", + "path": "x-pack/plugins/observability_solution/observability/common/utils/get_inspect_response.ts", "deprecated": false, "trackAdoption": false }, @@ -23933,7 +23985,7 @@ "tags": [], "label": "startTime", "description": [], - "path": "x-pack/plugins/observability/common/utils/get_inspect_response.ts", + "path": "x-pack/plugins/observability_solution/observability/common/utils/get_inspect_response.ts", "deprecated": false, "trackAdoption": false } @@ -23961,7 +24013,7 @@ }, ") => number" ], - "path": "x-pack/plugins/observability/common/progressive_loading.ts", + "path": "x-pack/plugins/observability_solution/observability/common/progressive_loading.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -23981,7 +24033,7 @@ "text": "ProgressiveLoadingQuality" } ], - "path": "x-pack/plugins/observability/common/progressive_loading.ts", + "path": "x-pack/plugins/observability_solution/observability/common/progressive_loading.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -24016,7 +24068,7 @@ "text": "SerializableRecord" } ], - "path": "x-pack/plugins/observability/common/locators/alerts.ts", + "path": "x-pack/plugins/observability_solution/observability/common/locators/alerts.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -24027,7 +24079,7 @@ "tags": [], "label": "baseUrl", "description": [], - "path": "x-pack/plugins/observability/common/locators/alerts.ts", + "path": "x-pack/plugins/observability_solution/observability/common/locators/alerts.ts", "deprecated": false, "trackAdoption": false }, @@ -24038,7 +24090,7 @@ "tags": [], "label": "spaceId", "description": [], - "path": "x-pack/plugins/observability/common/locators/alerts.ts", + "path": "x-pack/plugins/observability_solution/observability/common/locators/alerts.ts", "deprecated": false, "trackAdoption": false }, @@ -24052,7 +24104,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/observability/common/locators/alerts.ts", + "path": "x-pack/plugins/observability_solution/observability/common/locators/alerts.ts", "deprecated": false, "trackAdoption": false }, @@ -24066,7 +24118,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/observability/common/locators/alerts.ts", + "path": "x-pack/plugins/observability_solution/observability/common/locators/alerts.ts", "deprecated": false, "trackAdoption": false }, @@ -24080,7 +24132,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/observability/common/locators/alerts.ts", + "path": "x-pack/plugins/observability_solution/observability/common/locators/alerts.ts", "deprecated": false, "trackAdoption": false }, @@ -24095,7 +24147,7 @@ "AlertStatus", " | undefined" ], - "path": "x-pack/plugins/observability/common/locators/alerts.ts", + "path": "x-pack/plugins/observability_solution/observability/common/locators/alerts.ts", "deprecated": false, "trackAdoption": false } @@ -24111,7 +24163,7 @@ "tags": [], "label": "ProcessorEvent", "description": [], - "path": "x-pack/plugins/observability/common/processor_event.ts", + "path": "x-pack/plugins/observability_solution/observability/common/processor_event.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -24123,7 +24175,7 @@ "tags": [], "label": "ProgressiveLoadingQuality", "description": [], - "path": "x-pack/plugins/observability/common/progressive_loading.ts", + "path": "x-pack/plugins/observability_solution/observability/common/progressive_loading.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -24140,7 +24192,7 @@ "signature": [ "\"ALERTS_LOCATOR\"" ], - "path": "x-pack/plugins/observability/common/index.ts", + "path": "x-pack/plugins/observability_solution/observability/common/index.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -24155,7 +24207,7 @@ "signature": [ "\"observability:apmAWSLambdaPriceFactor\"" ], - "path": "x-pack/plugins/observability/common/ui_settings_keys.ts", + "path": "x-pack/plugins/observability_solution/observability/common/ui_settings_keys.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -24170,7 +24222,7 @@ "signature": [ "\"observability:apmAWSLambdaRequestCostPerMillion\"" ], - "path": "x-pack/plugins/observability/common/ui_settings_keys.ts", + "path": "x-pack/plugins/observability_solution/observability/common/ui_settings_keys.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -24185,7 +24237,7 @@ "signature": [ "\"observability:apmEnableContinuousRollups\"" ], - "path": "x-pack/plugins/observability/common/ui_settings_keys.ts", + "path": "x-pack/plugins/observability_solution/observability/common/ui_settings_keys.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -24200,7 +24252,7 @@ "signature": [ "\"observability:apmEnableProfilingIntegration\"" ], - "path": "x-pack/plugins/observability/common/ui_settings_keys.ts", + "path": "x-pack/plugins/observability_solution/observability/common/ui_settings_keys.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -24215,7 +24267,7 @@ "signature": [ "\"observability:apmEnableServiceMetrics\"" ], - "path": "x-pack/plugins/observability/common/ui_settings_keys.ts", + "path": "x-pack/plugins/observability_solution/observability/common/ui_settings_keys.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -24230,7 +24282,7 @@ "signature": [ "\"observability:apmEnableTableSearchBar\"" ], - "path": "x-pack/plugins/observability/common/ui_settings_keys.ts", + "path": "x-pack/plugins/observability_solution/observability/common/ui_settings_keys.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -24245,7 +24297,7 @@ "signature": [ "\"observability:apmEnableTransactionProfiling\"" ], - "path": "x-pack/plugins/observability/common/ui_settings_keys.ts", + "path": "x-pack/plugins/observability_solution/observability/common/ui_settings_keys.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -24260,7 +24312,7 @@ "signature": [ "\"observability:apmLabsButton\"" ], - "path": "x-pack/plugins/observability/common/ui_settings_keys.ts", + "path": "x-pack/plugins/observability_solution/observability/common/ui_settings_keys.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -24275,7 +24327,7 @@ "signature": [ "\"observability:apmProgressiveLoading\"" ], - "path": "x-pack/plugins/observability/common/ui_settings_keys.ts", + "path": "x-pack/plugins/observability_solution/observability/common/ui_settings_keys.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -24290,7 +24342,7 @@ "signature": [ "\"observability:apmServiceGroupMaxNumberOfServices\"" ], - "path": "x-pack/plugins/observability/common/ui_settings_keys.ts", + "path": "x-pack/plugins/observability_solution/observability/common/ui_settings_keys.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -24305,7 +24357,7 @@ "signature": [ "\"observability:apmServiceInventoryOptimizedSorting\"" ], - "path": "x-pack/plugins/observability/common/ui_settings_keys.ts", + "path": "x-pack/plugins/observability_solution/observability/common/ui_settings_keys.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -24320,7 +24372,7 @@ "signature": [ "\"observability:apmTraceExplorerTab\"" ], - "path": "x-pack/plugins/observability/common/ui_settings_keys.ts", + "path": "x-pack/plugins/observability_solution/observability/common/ui_settings_keys.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -24337,7 +24389,7 @@ "Maybe", ", { defaultValue, extended }?: FormatterOptions) => string" ], - "path": "x-pack/plugins/observability/common/utils/formatters/duration.ts", + "path": "x-pack/plugins/observability_solution/observability/common/utils/formatters/duration.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -24352,7 +24404,7 @@ "signature": [ "number | null | undefined" ], - "path": "x-pack/plugins/observability/common/utils/formatters/duration.ts", + "path": "x-pack/plugins/observability_solution/observability/common/utils/formatters/duration.ts", "deprecated": false, "trackAdoption": false }, @@ -24366,7 +24418,7 @@ "signature": [ "FormatterOptions" ], - "path": "x-pack/plugins/observability/common/utils/formatters/duration.ts", + "path": "x-pack/plugins/observability_solution/observability/common/utils/formatters/duration.ts", "deprecated": false, "trackAdoption": false } @@ -24385,7 +24437,7 @@ "Maybe", ", denominator: number | undefined, fallbackResult?: string) => string" ], - "path": "x-pack/plugins/observability/common/utils/formatters/formatters.ts", + "path": "x-pack/plugins/observability_solution/observability/common/utils/formatters/formatters.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -24400,7 +24452,7 @@ "signature": [ "number | null | undefined" ], - "path": "x-pack/plugins/observability/common/utils/formatters/formatters.ts", + "path": "x-pack/plugins/observability_solution/observability/common/utils/formatters/formatters.ts", "deprecated": false, "trackAdoption": false }, @@ -24414,7 +24466,7 @@ "signature": [ "number | undefined" ], - "path": "x-pack/plugins/observability/common/utils/formatters/formatters.ts", + "path": "x-pack/plugins/observability_solution/observability/common/utils/formatters/formatters.ts", "deprecated": false, "trackAdoption": false }, @@ -24425,7 +24477,7 @@ "tags": [], "label": "fallbackResult", "description": [], - "path": "x-pack/plugins/observability/common/utils/formatters/formatters.ts", + "path": "x-pack/plugins/observability_solution/observability/common/utils/formatters/formatters.ts", "deprecated": false, "trackAdoption": false } @@ -24442,7 +24494,7 @@ "signature": [ "\"observabilityCases\"" ], - "path": "x-pack/plugins/observability/common/index.ts", + "path": "x-pack/plugins/observability_solution/observability/common/index.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -24457,7 +24509,7 @@ "signature": [ "\"observability:apmDefaultServiceEnvironment\"" ], - "path": "x-pack/plugins/observability/common/ui_settings_keys.ts", + "path": "x-pack/plugins/observability_solution/observability/common/ui_settings_keys.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -24472,7 +24524,7 @@ "signature": [ "\"observability:apmAgentExplorerView\"" ], - "path": "x-pack/plugins/observability/common/ui_settings_keys.ts", + "path": "x-pack/plugins/observability_solution/observability/common/ui_settings_keys.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -24487,7 +24539,7 @@ "signature": [ "\"observability:enableAwsLambdaMetrics\"" ], - "path": "x-pack/plugins/observability/common/ui_settings_keys.ts", + "path": "x-pack/plugins/observability_solution/observability/common/ui_settings_keys.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -24502,7 +24554,7 @@ "signature": [ "\"observability:enableComparisonByDefault\"" ], - "path": "x-pack/plugins/observability/common/ui_settings_keys.ts", + "path": "x-pack/plugins/observability_solution/observability/common/ui_settings_keys.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -24517,7 +24569,7 @@ "signature": [ "\"observability:apmEnableCriticalPath\"" ], - "path": "x-pack/plugins/observability/common/ui_settings_keys.ts", + "path": "x-pack/plugins/observability_solution/observability/common/ui_settings_keys.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -24532,7 +24584,7 @@ "signature": [ "\"observability:enableInfrastructureAssetCustomDashboards\"" ], - "path": "x-pack/plugins/observability/common/ui_settings_keys.ts", + "path": "x-pack/plugins/observability_solution/observability/common/ui_settings_keys.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -24547,7 +24599,7 @@ "signature": [ "\"observability:enableInfrastructureHostsView\"" ], - "path": "x-pack/plugins/observability/common/ui_settings_keys.ts", + "path": "x-pack/plugins/observability_solution/observability/common/ui_settings_keys.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -24562,7 +24614,7 @@ "signature": [ "\"observability:enableInfrastructureProfilingIntegration\"" ], - "path": "x-pack/plugins/observability/common/ui_settings_keys.ts", + "path": "x-pack/plugins/observability_solution/observability/common/ui_settings_keys.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -24577,7 +24629,7 @@ "signature": [ "\"observability:enableInspectEsQueries\"" ], - "path": "x-pack/plugins/observability/common/ui_settings_keys.ts", + "path": "x-pack/plugins/observability_solution/observability/common/ui_settings_keys.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -24592,7 +24644,7 @@ "signature": [ "\"observability:maxSuggestions\"" ], - "path": "x-pack/plugins/observability/common/ui_settings_keys.ts", + "path": "x-pack/plugins/observability_solution/observability/common/ui_settings_keys.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -24607,7 +24659,7 @@ "signature": [ "\"observability-overview\"" ], - "path": "x-pack/plugins/observability/common/index.ts", + "path": "x-pack/plugins/observability_solution/observability/common/index.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -24622,7 +24674,7 @@ "signature": [ "\"observability\"" ], - "path": "x-pack/plugins/observability/common/index.ts", + "path": "x-pack/plugins/observability_solution/observability/common/index.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -24637,7 +24689,7 @@ "signature": [ "\"observability:profilingAWSCostDiscountRate\"" ], - "path": "x-pack/plugins/observability/common/ui_settings_keys.ts", + "path": "x-pack/plugins/observability_solution/observability/common/ui_settings_keys.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -24652,7 +24704,7 @@ "signature": [ "\"observability:profilingAzureCostDiscountRate\"" ], - "path": "x-pack/plugins/observability/common/ui_settings_keys.ts", + "path": "x-pack/plugins/observability_solution/observability/common/ui_settings_keys.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -24667,7 +24719,7 @@ "signature": [ "\"observability:profilingCo2PerKWH\"" ], - "path": "x-pack/plugins/observability/common/ui_settings_keys.ts", + "path": "x-pack/plugins/observability_solution/observability/common/ui_settings_keys.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -24682,7 +24734,7 @@ "signature": [ "\"observability:profilingCostPervCPUPerHour\"" ], - "path": "x-pack/plugins/observability/common/ui_settings_keys.ts", + "path": "x-pack/plugins/observability_solution/observability/common/ui_settings_keys.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -24697,7 +24749,7 @@ "signature": [ "\"observability:profilingDatacenterPUE\"" ], - "path": "x-pack/plugins/observability/common/ui_settings_keys.ts", + "path": "x-pack/plugins/observability_solution/observability/common/ui_settings_keys.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -24712,7 +24764,7 @@ "signature": [ "\"observability:profilingPervCPUWattArm64\"" ], - "path": "x-pack/plugins/observability/common/ui_settings_keys.ts", + "path": "x-pack/plugins/observability_solution/observability/common/ui_settings_keys.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -24727,7 +24779,7 @@ "signature": [ "\"observability:profilingPerVCPUWattX86\"" ], - "path": "x-pack/plugins/observability/common/ui_settings_keys.ts", + "path": "x-pack/plugins/observability_solution/observability/common/ui_settings_keys.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -24742,7 +24794,7 @@ "signature": [ "\"observability:profilingShowErrorFrames\"" ], - "path": "x-pack/plugins/observability/common/ui_settings_keys.ts", + "path": "x-pack/plugins/observability_solution/observability/common/ui_settings_keys.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -24757,7 +24809,7 @@ "signature": [ "\"RULE_DETAILS_LOCATOR\"" ], - "path": "x-pack/plugins/observability/common/index.ts", + "path": "x-pack/plugins/observability_solution/observability/common/index.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -24772,7 +24824,7 @@ "signature": [ "\"RULES_LOCATOR\"" ], - "path": "x-pack/plugins/observability/common/index.ts", + "path": "x-pack/plugins/observability_solution/observability/common/index.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -24787,7 +24839,7 @@ "signature": [ "\"SLO_DETAILS_LOCATOR\"" ], - "path": "x-pack/plugins/observability/common/index.ts", + "path": "x-pack/plugins/observability_solution/observability/common/index.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -24802,7 +24854,7 @@ "signature": [ "\"SLO_EDIT_LOCATOR\"" ], - "path": "x-pack/plugins/observability/common/index.ts", + "path": "x-pack/plugins/observability_solution/observability/common/index.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -24817,7 +24869,7 @@ "signature": [ "\"slo\"" ], - "path": "x-pack/plugins/observability/common/index.ts", + "path": "x-pack/plugins/observability_solution/observability/common/index.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -24832,7 +24884,7 @@ "signature": [ "\"SLO_LIST_LOCATOR\"" ], - "path": "x-pack/plugins/observability/common/index.ts", + "path": "x-pack/plugins/observability_solution/observability/common/index.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -24847,7 +24899,7 @@ "signature": [ "\"SYNTHETICS_EDIT_MONITOR_LOCATOR\"" ], - "path": "x-pack/plugins/observability/common/index.ts", + "path": "x-pack/plugins/observability_solution/observability/common/index.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -24862,7 +24914,7 @@ "signature": [ "\"SYNTHETICS_MONITOR_DETAIL_LOCATOR\"" ], - "path": "x-pack/plugins/observability/common/index.ts", + "path": "x-pack/plugins/observability_solution/observability/common/index.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -24877,7 +24929,7 @@ "signature": [ "\"SYNTHETICS_SETTINGS\"" ], - "path": "x-pack/plugins/observability/common/index.ts", + "path": "x-pack/plugins/observability_solution/observability/common/index.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -24892,7 +24944,7 @@ "signature": [ "\"observability:syntheticsThrottlingEnabled\"" ], - "path": "x-pack/plugins/observability/common/ui_settings_keys.ts", + "path": "x-pack/plugins/observability_solution/observability/common/ui_settings_keys.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -24909,7 +24961,7 @@ "Maybe", ", options?: FormatterOptions | undefined) => ConvertedDuration" ], - "path": "x-pack/plugins/observability/common/utils/formatters/duration.ts", + "path": "x-pack/plugins/observability_solution/observability/common/utils/formatters/duration.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -24924,7 +24976,7 @@ "signature": [ "number | null | undefined" ], - "path": "x-pack/plugins/observability/common/utils/formatters/duration.ts", + "path": "x-pack/plugins/observability_solution/observability/common/utils/formatters/duration.ts", "deprecated": false, "trackAdoption": false }, @@ -24938,7 +24990,7 @@ "signature": [ "FormatterOptions | undefined" ], - "path": "x-pack/plugins/observability/common/utils/formatters/duration.ts", + "path": "x-pack/plugins/observability_solution/observability/common/utils/formatters/duration.ts", "deprecated": false, "trackAdoption": false } @@ -24955,7 +25007,7 @@ "signature": [ "\"m\" | \"s\" | \"d\" | \"h\"" ], - "path": "x-pack/plugins/observability/common/utils/formatters/duration.ts", + "path": "x-pack/plugins/observability_solution/observability/common/utils/formatters/duration.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -24970,7 +25022,7 @@ "signature": [ "\"UPTIME_OVERVIEW_LOCATOR\"" ], - "path": "x-pack/plugins/observability/common/index.ts", + "path": "x-pack/plugins/observability_solution/observability/common/index.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -24987,7 +25039,7 @@ "signature": [ "{ alerts: string; alertDetails: (alertId: string) => string; rules: string; ruleDetails: (ruleId: string) => string; slos: string; slosWelcome: string; slosOutdatedDefinitions: string; sloCreate: string; sloCreateWithEncodedForm: (encodedParams: string) => string; sloEdit: (sloId: string) => string; sloEditWithEncodedForm: (sloId: string, encodedParams: string) => string; sloDetails: (sloId: string, instanceId?: string | undefined) => string; }" ], - "path": "x-pack/plugins/observability/common/index.ts", + "path": "x-pack/plugins/observability_solution/observability/common/index.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false diff --git a/api_docs/observability.mdx b/api_docs/observability.mdx index a958dc92541ee..07ca53beb7310 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-02-23 +date: 2024-03-04 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'observability'] --- import observabilityObj from './observability.devdocs.json'; diff --git a/api_docs/observability_a_i_assistant.mdx b/api_docs/observability_a_i_assistant.mdx index ceaeef81bc3cd..7c01ac8083e88 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-02-23 +date: 2024-03-04 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'observabilityAIAssistant'] --- import observabilityAIAssistantObj from './observability_a_i_assistant.devdocs.json'; diff --git a/api_docs/observability_logs_explorer.mdx b/api_docs/observability_logs_explorer.mdx index 819b06ebe224a..cb9a9c0575ae2 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-02-23 +date: 2024-03-04 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'observabilityLogsExplorer'] --- import observabilityLogsExplorerObj from './observability_logs_explorer.devdocs.json'; diff --git a/api_docs/observability_onboarding.mdx b/api_docs/observability_onboarding.mdx index 8aef94f99764f..6ff8c31f19ea7 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-02-23 +date: 2024-03-04 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 89e62d7aa9c6c..6daa53d59e9a6 100644 --- a/api_docs/observability_shared.devdocs.json +++ b/api_docs/observability_shared.devdocs.json @@ -522,7 +522,7 @@ "label": "FeatureFeedbackButton", "description": [], "signature": [ - "({ formUrl, formConfig, \"data-test-subj\": dts, onClickCapture, defaultButton, kibanaVersion, isCloudEnv, isServerlessEnv, sanitizedPath, surveyButtonText, }: FeatureFeedbackButtonProps) => JSX.Element" + "({ formUrl, formConfig, \"data-test-subj\": dts, onClickCapture, defaultButton, kibanaVersion, isCloudEnv, isServerlessEnv, sanitizedPath, nodeType, surveyButtonText, }: FeatureFeedbackButtonProps) => JSX.Element" ], "path": "x-pack/plugins/observability_solution/observability_shared/public/components/feature_feedback_button/feature_feedback_button.tsx", "deprecated": false, @@ -533,7 +533,7 @@ "id": "def-public.FeatureFeedbackButton.$1", "type": "Object", "tags": [], - "label": "{\n formUrl,\n formConfig,\n 'data-test-subj': dts,\n onClickCapture,\n defaultButton,\n kibanaVersion,\n isCloudEnv,\n isServerlessEnv,\n sanitizedPath,\n surveyButtonText = (\n \n ),\n}", + "label": "{\n formUrl,\n formConfig,\n 'data-test-subj': dts,\n onClickCapture,\n defaultButton,\n kibanaVersion,\n isCloudEnv,\n isServerlessEnv,\n sanitizedPath,\n nodeType,\n surveyButtonText = (\n \n ),\n}", "description": [], "signature": [ "FeatureFeedbackButtonProps" @@ -3095,7 +3095,9 @@ "section": "def-public.FetcherResult", "text": "FetcherResult" }, - "<{ mainStatisticsData?: { _inspect?: InspectResponse | undefined; } | undefined; _inspect?: InspectResponse | undefined; }>) => void" + "<", + "InspectorRequestProps", + ">) => void" ], "path": "x-pack/plugins/observability_solution/observability_shared/public/contexts/inspector/inspector_context.tsx", "deprecated": false, @@ -3117,7 +3119,9 @@ "section": "def-public.FetcherResult", "text": "FetcherResult" }, - "<{ mainStatisticsData?: { _inspect?: InspectResponse | undefined; } | undefined; _inspect?: InspectResponse | undefined; }>" + "<", + "InspectorRequestProps", + ">" ], "path": "x-pack/plugins/observability_solution/observability_shared/public/contexts/inspector/inspector_context.tsx", "deprecated": false, diff --git a/api_docs/observability_shared.mdx b/api_docs/observability_shared.mdx index 590811941b5b3..e066ea9e6b68c 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-02-23 +date: 2024-03-04 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'observabilityShared'] --- import observabilitySharedObj from './observability_shared.devdocs.json'; @@ -21,7 +21,7 @@ Contact [@elastic/observability-ui](https://github.com/orgs/elastic/teams/observ | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 330 | 1 | 325 | 19 | +| 330 | 1 | 325 | 20 | ## Client diff --git a/api_docs/osquery.mdx b/api_docs/osquery.mdx index ee06db5127684..e269682399a97 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-02-23 +date: 2024-03-04 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 13d45d25b89ab..8f4a6bdf413c1 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-02-23 +date: 2024-03-04 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 7047b31cbed1d..b6c12c30830a1 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-02-23 +date: 2024-03-04 tags: ['contributor', 'dev', 'apidocs', 'kibana'] --- @@ -21,7 +21,7 @@ tags: ['contributor', 'dev', 'apidocs', 'kibana'] | API Count | Any Count | Missing comments | Missing exports | |--------------|----------|-----------------|--------| -| 45260 | 231 | 34203 | 1749 | +| 45278 | 232 | 34220 | 1753 | ## Plugin Directory @@ -51,10 +51,10 @@ tags: ['contributor', 'dev', 'apidocs', 'kibana'] | | [@elastic/kibana-cloud-security-posture](https://github.com/orgs/elastic/teams/kibana-cloud-security-posture) | The cloud security posture plugin | 14 | 0 | 2 | 2 | | | [@elastic/platform-deployment-management](https://github.com/orgs/elastic/teams/platform-deployment-management) | - | 32 | 0 | 24 | 0 | | | [@elastic/appex-sharedux](https://github.com/orgs/elastic/teams/appex-sharedux) | Content management app | 149 | 0 | 125 | 6 | -| | [@elastic/kibana-presentation](https://github.com/orgs/elastic/teams/kibana-presentation) | The Controls Plugin contains embeddable components intended to create a simple query interface for end users, and a powerful editing suite that allows dashboard authors to build controls | 323 | 0 | 315 | 16 | +| | [@elastic/kibana-presentation](https://github.com/orgs/elastic/teams/kibana-presentation) | The Controls Plugin contains embeddable components intended to create a simple query interface for end users, and a powerful editing suite that allows dashboard authors to build controls | 332 | 0 | 324 | 16 | | crossClusterReplication | [@elastic/platform-deployment-management](https://github.com/orgs/elastic/teams/platform-deployment-management) | - | 0 | 0 | 0 | 0 | | customBranding | [@elastic/appex-sharedux](https://github.com/orgs/elastic/teams/appex-sharedux) | Enables customization of Kibana | 0 | 0 | 0 | 0 | -| | [@elastic/fleet](https://github.com/orgs/elastic/teams/fleet) | Add custom data integrations so they can be displayed in the Fleet integrations app | 268 | 0 | 249 | 1 | +| | [@elastic/fleet](https://github.com/orgs/elastic/teams/fleet) | Add custom data integrations so they can be displayed in the Fleet integrations app | 271 | 0 | 252 | 1 | | | [@elastic/kibana-presentation](https://github.com/orgs/elastic/teams/kibana-presentation) | Adds the Dashboard app to Kibana | 108 | 0 | 105 | 12 | | | [@elastic/kibana-presentation](https://github.com/orgs/elastic/teams/kibana-presentation) | - | 54 | 0 | 51 | 0 | | | [@elastic/kibana-visualizations](https://github.com/orgs/elastic/teams/kibana-visualizations) | Data services are useful for searching and querying data from Elasticsearch. Helpful utilities include: a re-usable react query bar, KQL autocomplete, async search, Data Views (Index Patterns) and field formatters. | 3242 | 31 | 2590 | 23 | @@ -65,7 +65,7 @@ tags: ['contributor', 'dev', 'apidocs', 'kibana'] | | [@elastic/ml-ui](https://github.com/orgs/elastic/teams/ml-ui) | The Data Visualizer tools help you understand your data, by analyzing the metrics and fields in a log file or an existing Elasticsearch index. | 31 | 3 | 25 | 1 | | | [@elastic/obs-ux-logs-team](https://github.com/orgs/elastic/teams/obs-ux-logs-team) | This plugin introduces the concept of dataset quality, where users can easily get an overview on the datasets they have. | 10 | 0 | 10 | 5 | | | [@elastic/platform-deployment-management](https://github.com/orgs/elastic/teams/platform-deployment-management) | - | 15 | 0 | 9 | 2 | -| | [@elastic/kibana-data-discovery](https://github.com/orgs/elastic/teams/kibana-data-discovery) | This plugin contains the Discover application and the saved search embeddable. | 157 | 0 | 109 | 23 | +| | [@elastic/kibana-data-discovery](https://github.com/orgs/elastic/teams/kibana-data-discovery) | This plugin contains the Discover application and the saved search embeddable. | 157 | 0 | 109 | 24 | | | [@elastic/kibana-data-discovery](https://github.com/orgs/elastic/teams/kibana-data-discovery) | - | 37 | 0 | 35 | 2 | | | [@elastic/security-threat-hunting-explore](https://github.com/orgs/elastic/teams/security-threat-hunting-explore) | APIs used to assess the quality of data in Elasticsearch indexes | 2 | 0 | 0 | 0 | | | [@elastic/security-generative-ai](https://github.com/orgs/elastic/teams/security-generative-ai) | Server APIs for the Elastic AI Assistant | 41 | 0 | 27 | 0 | @@ -125,14 +125,14 @@ tags: ['contributor', 'dev', 'apidocs', 'kibana'] | | [@elastic/kibana-core](https://github.com/orgs/elastic/teams/kibana-core) | - | 117 | 0 | 42 | 10 | | | [@elastic/kibana-presentation](https://github.com/orgs/elastic/teams/kibana-presentation) | A dashboard panel for creating links to dashboards or external links. | 57 | 0 | 57 | 6 | | | [@elastic/security-detection-engine](https://github.com/orgs/elastic/teams/security-detection-engine) | - | 226 | 0 | 97 | 52 | -| | [@elastic/obs-ux-logs-team](https://github.com/orgs/elastic/teams/obs-ux-logs-team) | This plugin provides a LogsExplorer component using the Discover customization framework, offering several affordances specifically designed for log consumption. | 119 | 3 | 119 | 22 | +| | [@elastic/obs-ux-logs-team](https://github.com/orgs/elastic/teams/obs-ux-logs-team) | This plugin provides a LogsExplorer component using the Discover customization framework, offering several affordances specifically designed for log consumption. | 121 | 4 | 121 | 23 | | | [@elastic/obs-ux-logs-team](https://github.com/orgs/elastic/teams/obs-ux-logs-team) | Exposes the shared components and APIs to access and visualize logs. | 302 | 0 | 276 | 32 | | logstash | [@elastic/logstash](https://github.com/orgs/elastic/teams/logstash) | - | 0 | 0 | 0 | 0 | | | [@elastic/platform-deployment-management](https://github.com/orgs/elastic/teams/platform-deployment-management) | - | 45 | 0 | 45 | 7 | | | [@elastic/kibana-gis](https://github.com/orgs/elastic/teams/kibana-gis) | - | 261 | 0 | 260 | 28 | | | [@elastic/kibana-gis](https://github.com/orgs/elastic/teams/kibana-gis) | - | 60 | 0 | 60 | 0 | | | [@elastic/obs-knowledge-team](https://github.com/orgs/elastic/teams/obs-knowledge-team) | Exposes utilities for accessing metrics data | 104 | 8 | 104 | 7 | -| | [@elastic/ml-ui](https://github.com/orgs/elastic/teams/ml-ui) | This plugin provides access to the machine learning features provided by Elastic. | 151 | 3 | 65 | 95 | +| | [@elastic/ml-ui](https://github.com/orgs/elastic/teams/ml-ui) | This plugin provides access to the machine learning features provided by Elastic. | 151 | 3 | 65 | 96 | | | [@elastic/kibana-security](https://github.com/orgs/elastic/teams/kibana-security) | - | 2 | 0 | 2 | 0 | | | [@elastic/obs-ux-infra_services-team](https://github.com/orgs/elastic/teams/obs-ux-infra_services-team) | - | 15 | 3 | 13 | 1 | | | [@elastic/obs-ux-infra_services-team](https://github.com/orgs/elastic/teams/obs-ux-infra_services-team) | - | 9 | 0 | 9 | 0 | @@ -144,7 +144,7 @@ tags: ['contributor', 'dev', 'apidocs', 'kibana'] | | [@elastic/obs-knowledge-team](https://github.com/orgs/elastic/teams/obs-knowledge-team) | - | 78 | 0 | 76 | 14 | | | [@elastic/obs-ux-logs-team](https://github.com/orgs/elastic/teams/obs-ux-logs-team) | This plugin exposes and registers observability log consumption features. | 21 | 0 | 21 | 1 | | | [@elastic/obs-ux-logs-team](https://github.com/orgs/elastic/teams/obs-ux-logs-team) | - | 14 | 0 | 14 | 0 | -| | [@elastic/observability-ui](https://github.com/orgs/elastic/teams/observability-ui) | - | 330 | 1 | 325 | 19 | +| | [@elastic/observability-ui](https://github.com/orgs/elastic/teams/observability-ui) | - | 330 | 1 | 325 | 20 | | | [@elastic/security-defend-workflows](https://github.com/orgs/elastic/teams/security-defend-workflows) | - | 23 | 0 | 23 | 7 | | | [@elastic/platform-deployment-management](https://github.com/orgs/elastic/teams/platform-deployment-management) | - | 2 | 0 | 2 | 0 | | | [@elastic/kibana-presentation](https://github.com/orgs/elastic/teams/kibana-presentation) | Adds a standardized Presentation panel which allows any forward ref component to interface with various Kibana systems. | 11 | 0 | 11 | 3 | @@ -165,7 +165,7 @@ tags: ['contributor', 'dev', 'apidocs', 'kibana'] | | [@elastic/appex-sharedux](https://github.com/orgs/elastic/teams/appex-sharedux) | - | 32 | 0 | 13 | 0 | | | [@elastic/kibana-reporting-services](https://github.com/orgs/elastic/teams/kibana-reporting-services) | Kibana Screenshotting Plugin | 32 | 0 | 8 | 4 | | searchprofiler | [@elastic/platform-deployment-management](https://github.com/orgs/elastic/teams/platform-deployment-management) | - | 0 | 0 | 0 | 0 | -| | [@elastic/kibana-security](https://github.com/orgs/elastic/teams/kibana-security) | This plugin provides authentication and authorization features, and exposes functionality to understand the capabilities of the currently authenticated user. | 402 | 0 | 196 | 2 | +| | [@elastic/kibana-security](https://github.com/orgs/elastic/teams/kibana-security) | This plugin provides authentication and authorization features, and exposes functionality to understand the capabilities of the currently authenticated user. | 404 | 0 | 198 | 2 | | | [@elastic/security-solution](https://github.com/orgs/elastic/teams/security-solution) | - | 194 | 0 | 124 | 37 | | | [@elastic/security-solution](https://github.com/orgs/elastic/teams/security-solution) | ESS customizations for Security Solution. | 6 | 0 | 6 | 0 | | | [@elastic/security-solution](https://github.com/orgs/elastic/teams/security-solution) | Serverless customizations for security. | 7 | 0 | 7 | 0 | @@ -464,7 +464,7 @@ tags: ['contributor', 'dev', 'apidocs', 'kibana'] | | [@elastic/kibana-data-discovery](https://github.com/orgs/elastic/teams/kibana-data-discovery) | - | 263 | 1 | 202 | 15 | | | [@elastic/kibana-core](https://github.com/orgs/elastic/teams/kibana-core) | - | 32 | 0 | 32 | 0 | | | [@elastic/kibana-operations](https://github.com/orgs/elastic/teams/kibana-operations) | - | 2 | 0 | 1 | 0 | -| | [@elastic/kibana-visualizations](https://github.com/orgs/elastic/teams/kibana-visualizations) | - | 15 | 0 | 14 | 0 | +| | [@elastic/kibana-visualizations](https://github.com/orgs/elastic/teams/kibana-visualizations) | - | 17 | 0 | 15 | 0 | | | [@elastic/kibana-visualizations](https://github.com/orgs/elastic/teams/kibana-visualizations) | - | 39 | 0 | 39 | 0 | | | [@elastic/kibana-visualizations](https://github.com/orgs/elastic/teams/kibana-visualizations) | - | 52 | 0 | 52 | 1 | | | [@elastic/security-threat-hunting-investigations](https://github.com/orgs/elastic/teams/security-threat-hunting-investigations) | - | 37 | 0 | 14 | 1 | @@ -579,7 +579,7 @@ tags: ['contributor', 'dev', 'apidocs', 'kibana'] | | [@elastic/appex-sharedux](https://github.com/orgs/elastic/teams/appex-sharedux) | - | 17 | 0 | 16 | 0 | | | [@elastic/appex-sharedux](https://github.com/orgs/elastic/teams/appex-sharedux) | - | 13 | 0 | 11 | 0 | | | [@elastic/appex-sharedux](https://github.com/orgs/elastic/teams/appex-sharedux) | - | 2 | 0 | 2 | 0 | -| | [@elastic/appex-sharedux](https://github.com/orgs/elastic/teams/appex-sharedux) | - | 113 | 0 | 107 | 2 | +| | [@elastic/appex-sharedux](https://github.com/orgs/elastic/teams/appex-sharedux) | - | 110 | 0 | 104 | 2 | | | [@elastic/appex-sharedux](https://github.com/orgs/elastic/teams/appex-sharedux) | - | 80 | 0 | 79 | 0 | | | [@elastic/kibana-data-discovery](https://github.com/orgs/elastic/teams/kibana-data-discovery) | A component for creating resizable layouts containing a fixed width panel and a flexible panel, with support for horizontal and vertical layouts. | 18 | 0 | 5 | 0 | | | [@elastic/kibana-operations](https://github.com/orgs/elastic/teams/kibana-operations) | - | 13 | 2 | 8 | 0 | @@ -593,7 +593,7 @@ tags: ['contributor', 'dev', 'apidocs', 'kibana'] | | [@elastic/enterprise-search-frontend](https://github.com/orgs/elastic/teams/enterprise-search-frontend) | - | 25 | 0 | 25 | 0 | | | [@elastic/kibana-data-discovery](https://github.com/orgs/elastic/teams/kibana-data-discovery) | - | 20 | 0 | 18 | 1 | | | [@elastic/kibana-security](https://github.com/orgs/elastic/teams/kibana-security) | - | 7 | 0 | 7 | 0 | -| | [@elastic/kibana-security](https://github.com/orgs/elastic/teams/kibana-security) | - | 82 | 0 | 35 | 0 | +| | [@elastic/kibana-security](https://github.com/orgs/elastic/teams/kibana-security) | - | 83 | 0 | 36 | 0 | | | [@elastic/kibana-security](https://github.com/orgs/elastic/teams/kibana-security) | - | 44 | 0 | 14 | 0 | | | [@elastic/kibana-security](https://github.com/orgs/elastic/teams/kibana-security) | - | 213 | 0 | 114 | 0 | | | [@elastic/security-threat-hunting-explore](https://github.com/orgs/elastic/teams/security-threat-hunting-explore) | - | 14 | 0 | 14 | 6 | @@ -665,7 +665,7 @@ tags: ['contributor', 'dev', 'apidocs', 'kibana'] | | [@elastic/appex-sharedux](https://github.com/orgs/elastic/teams/appex-sharedux) | - | 2 | 0 | 0 | 0 | | | [@elastic/appex-sharedux](https://github.com/orgs/elastic/teams/appex-sharedux) | - | 15 | 0 | 4 | 0 | | | [@elastic/appex-sharedux](https://github.com/orgs/elastic/teams/appex-sharedux) | - | 16 | 0 | 6 | 0 | -| | [@elastic/obs-ux-management-team](https://github.com/orgs/elastic/teams/obs-ux-management-team) | - | 159 | 0 | 159 | 0 | +| | [@elastic/obs-ux-management-team](https://github.com/orgs/elastic/teams/obs-ux-management-team) | - | 161 | 0 | 161 | 0 | | | [@elastic/kibana-operations](https://github.com/orgs/elastic/teams/kibana-operations) | - | 20 | 0 | 12 | 0 | | | [@elastic/kibana-visualizations](https://github.com/orgs/elastic/teams/kibana-visualizations) | - | 4 | 0 | 4 | 0 | | | [@elastic/kibana-core](https://github.com/orgs/elastic/teams/kibana-core) | - | 102 | 2 | 65 | 1 | diff --git a/api_docs/presentation_panel.mdx b/api_docs/presentation_panel.mdx index 4f7e3326f2185..e998e91a7da21 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-02-23 +date: 2024-03-04 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'presentationPanel'] --- import presentationPanelObj from './presentation_panel.devdocs.json'; diff --git a/api_docs/presentation_util.mdx b/api_docs/presentation_util.mdx index bb774cfe96cc7..1332f1052cf3d 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-02-23 +date: 2024-03-04 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'presentationUtil'] --- import presentationUtilObj from './presentation_util.devdocs.json'; diff --git a/api_docs/profiling.mdx b/api_docs/profiling.mdx index 5456c93244578..da3f70e2a23cf 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-02-23 +date: 2024-03-04 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'profiling'] --- import profilingObj from './profiling.devdocs.json'; diff --git a/api_docs/profiling_data_access.mdx b/api_docs/profiling_data_access.mdx index 3500f04b01a61..4f56edeb8c4c4 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-02-23 +date: 2024-03-04 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 059e3c1a1f0a5..1756eec076640 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-02-23 +date: 2024-03-04 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 ed8eefd07443c..7142d55cbaa0f 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-02-23 +date: 2024-03-04 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 7c8738cffb1fa..f3a25b47917ed 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-02-23 +date: 2024-03-04 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'rollup'] --- import rollupObj from './rollup.devdocs.json'; diff --git a/api_docs/rule_registry.mdx b/api_docs/rule_registry.mdx index fcb7275e73ebb..fbff7196a6126 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-02-23 +date: 2024-03-04 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 51073935da1e6..e5ef30933f29f 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-02-23 +date: 2024-03-04 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'runtimeFields'] --- import runtimeFieldsObj from './runtime_fields.devdocs.json'; diff --git a/api_docs/saved_objects.mdx b/api_docs/saved_objects.mdx index 355a3335d9919..189e16ef30517 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-02-23 +date: 2024-03-04 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 cadfe41ee6660..761febbbcfbb3 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-02-23 +date: 2024-03-04 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 1a7d388656aeb..03fcfb72d7406 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-02-23 +date: 2024-03-04 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 b768f5fb4be5a..03030e0d3eca4 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-02-23 +date: 2024-03-04 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 6b0d375875d42..e061ef85e4dc7 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-02-23 +date: 2024-03-04 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 0919a35cb8e81..aa7742954a999 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-02-23 +date: 2024-03-04 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 b88f27821343e..b81881bcaf98f 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-02-23 +date: 2024-03-04 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 780eeed1cc185..eb7a231ea7c62 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-02-23 +date: 2024-03-04 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'screenshotting'] --- import screenshottingObj from './screenshotting.devdocs.json'; diff --git a/api_docs/security.devdocs.json b/api_docs/security.devdocs.json index 073199d49bd51..338ba677b1ad2 100644 --- a/api_docs/security.devdocs.json +++ b/api_docs/security.devdocs.json @@ -298,6 +298,22 @@ "children": [], "returnComment": [] }, + { + "parentPluginId": "security", + "id": "def-public.SecurityLicense.getUnavailableReason", + "type": "Function", + "tags": [], + "label": "getUnavailableReason", + "description": [], + "signature": [ + "() => string | undefined" + ], + "path": "x-pack/packages/security/plugin_types_common/src/licensing/license.ts", + "deprecated": false, + "trackAdoption": false, + "children": [], + "returnComment": [] + }, { "parentPluginId": "security", "id": "def-public.SecurityLicense.isEnabled", @@ -6692,6 +6708,22 @@ "children": [], "returnComment": [] }, + { + "parentPluginId": "security", + "id": "def-common.SecurityLicense.getUnavailableReason", + "type": "Function", + "tags": [], + "label": "getUnavailableReason", + "description": [], + "signature": [ + "() => string | undefined" + ], + "path": "x-pack/packages/security/plugin_types_common/src/licensing/license.ts", + "deprecated": false, + "trackAdoption": false, + "children": [], + "returnComment": [] + }, { "parentPluginId": "security", "id": "def-common.SecurityLicense.isEnabled", diff --git a/api_docs/security.mdx b/api_docs/security.mdx index 136cd54083435..d91a0cfcf0f3e 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-02-23 +date: 2024-03-04 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'security'] --- import securityObj from './security.devdocs.json'; @@ -21,7 +21,7 @@ Contact [@elastic/kibana-security](https://github.com/orgs/elastic/teams/kibana- | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 402 | 0 | 196 | 2 | +| 404 | 0 | 198 | 2 | ## Client diff --git a/api_docs/security_solution.devdocs.json b/api_docs/security_solution.devdocs.json index 16b6324bdff29..aa516abe724b8 100644 --- a/api_docs/security_solution.devdocs.json +++ b/api_docs/security_solution.devdocs.json @@ -114,7 +114,7 @@ "label": "experimentalFeatures", "description": [], "signature": [ - "{ readonly tGridEnabled: boolean; readonly tGridEventRenderedViewEnabled: boolean; readonly excludePoliciesInFilterEnabled: boolean; readonly kubernetesEnabled: boolean; readonly chartEmbeddablesEnabled: boolean; readonly donutChartEmbeddablesEnabled: boolean; readonly previewTelemetryUrlEnabled: boolean; readonly insightsRelatedAlertsByProcessAncestry: boolean; readonly extendedRuleExecutionLoggingEnabled: boolean; readonly assistantStreamingEnabled: boolean; readonly socTrendsEnabled: boolean; readonly responseActionsEnabled: boolean; readonly endpointResponseActionsEnabled: boolean; readonly responseActionUploadEnabled: boolean; readonly automatedProcessActionsEnabled: boolean; readonly responseActionsSentinelOneV1Enabled: boolean; readonly alertsPageChartsEnabled: boolean; readonly alertTypeEnabled: boolean; readonly expandableFlyoutInCreateRuleEnabled: boolean; readonly expandableEventFlyoutEnabled: boolean; readonly alertsPageFiltersEnabled: boolean; readonly assistantModelEvaluation: boolean; readonly newUserDetailsFlyout: boolean; readonly newUserDetailsFlyoutManagedUser: boolean; readonly newHostDetailsFlyout: boolean; readonly riskScoringPersistence: boolean; readonly riskScoringRoutesEnabled: boolean; readonly esqlRulesDisabled: boolean; readonly protectionUpdatesEnabled: boolean; readonly disableTimelineSaveTour: boolean; readonly riskEnginePrivilegesRouteEnabled: boolean; readonly alertSuppressionForIndicatorMatchRuleEnabled: boolean; readonly sentinelOneDataInAnalyzerEnabled: boolean; readonly sentinelOneManualHostActionsEnabled: boolean; readonly crowdstrikeDataInAnalyzerEnabled: boolean; readonly jsonPrebuiltRulesDiffingEnabled: boolean; readonly timelineEsqlTabDisabled: boolean; readonly analyzerDatePickersAndSourcererDisabled: boolean; readonly perFieldPrebuiltRulesDiffingEnabled: boolean; }" + "{ readonly tGridEnabled: boolean; readonly tGridEventRenderedViewEnabled: boolean; readonly excludePoliciesInFilterEnabled: boolean; readonly kubernetesEnabled: boolean; readonly chartEmbeddablesEnabled: boolean; readonly donutChartEmbeddablesEnabled: boolean; readonly previewTelemetryUrlEnabled: boolean; readonly insightsRelatedAlertsByProcessAncestry: boolean; readonly extendedRuleExecutionLoggingEnabled: boolean; readonly assistantStreamingEnabled: boolean; readonly socTrendsEnabled: boolean; readonly responseActionsEnabled: boolean; readonly endpointResponseActionsEnabled: boolean; readonly responseActionUploadEnabled: boolean; readonly automatedProcessActionsEnabled: boolean; readonly responseActionsSentinelOneV1Enabled: boolean; readonly alertsPageChartsEnabled: boolean; readonly alertTypeEnabled: boolean; readonly expandableFlyoutInCreateRuleEnabled: boolean; readonly expandableEventFlyoutEnabled: boolean; readonly alertsPageFiltersEnabled: boolean; readonly assistantModelEvaluation: boolean; readonly newUserDetailsFlyout: boolean; readonly newUserDetailsFlyoutManagedUser: boolean; readonly newHostDetailsFlyout: boolean; readonly riskScoringPersistence: boolean; readonly riskScoringRoutesEnabled: boolean; readonly esqlRulesDisabled: boolean; readonly protectionUpdatesEnabled: boolean; readonly disableTimelineSaveTour: boolean; readonly riskEnginePrivilegesRouteEnabled: boolean; readonly alertSuppressionForIndicatorMatchRuleEnabled: boolean; readonly sentinelOneDataInAnalyzerEnabled: boolean; readonly sentinelOneManualHostActionsEnabled: boolean; readonly crowdstrikeDataInAnalyzerEnabled: boolean; readonly jsonPrebuiltRulesDiffingEnabled: boolean; readonly perFieldPrebuiltRulesDiffingEnabled: boolean; readonly timelineEsqlTabDisabled: boolean; readonly analyzerDatePickersAndSourcererDisabled: boolean; }" ], "path": "x-pack/plugins/security_solution/public/plugin.tsx", "deprecated": false, @@ -568,7 +568,7 @@ "\nExperimental flag needed to enable the link" ], "signature": [ - "\"assistantModelEvaluation\" | \"assistantStreamingEnabled\" | \"tGridEnabled\" | \"tGridEventRenderedViewEnabled\" | \"excludePoliciesInFilterEnabled\" | \"kubernetesEnabled\" | \"chartEmbeddablesEnabled\" | \"donutChartEmbeddablesEnabled\" | \"previewTelemetryUrlEnabled\" | \"insightsRelatedAlertsByProcessAncestry\" | \"extendedRuleExecutionLoggingEnabled\" | \"socTrendsEnabled\" | \"responseActionsEnabled\" | \"endpointResponseActionsEnabled\" | \"responseActionUploadEnabled\" | \"automatedProcessActionsEnabled\" | \"responseActionsSentinelOneV1Enabled\" | \"alertsPageChartsEnabled\" | \"alertTypeEnabled\" | \"expandableFlyoutInCreateRuleEnabled\" | \"expandableEventFlyoutEnabled\" | \"alertsPageFiltersEnabled\" | \"newUserDetailsFlyout\" | \"newUserDetailsFlyoutManagedUser\" | \"newHostDetailsFlyout\" | \"riskScoringPersistence\" | \"riskScoringRoutesEnabled\" | \"esqlRulesDisabled\" | \"protectionUpdatesEnabled\" | \"disableTimelineSaveTour\" | \"riskEnginePrivilegesRouteEnabled\" | \"alertSuppressionForIndicatorMatchRuleEnabled\" | \"sentinelOneDataInAnalyzerEnabled\" | \"sentinelOneManualHostActionsEnabled\" | \"crowdstrikeDataInAnalyzerEnabled\" | \"jsonPrebuiltRulesDiffingEnabled\" | \"timelineEsqlTabDisabled\" | \"analyzerDatePickersAndSourcererDisabled\" | \"perFieldPrebuiltRulesDiffingEnabled\" | undefined" + "\"assistantModelEvaluation\" | \"assistantStreamingEnabled\" | \"tGridEnabled\" | \"tGridEventRenderedViewEnabled\" | \"excludePoliciesInFilterEnabled\" | \"kubernetesEnabled\" | \"chartEmbeddablesEnabled\" | \"donutChartEmbeddablesEnabled\" | \"previewTelemetryUrlEnabled\" | \"insightsRelatedAlertsByProcessAncestry\" | \"extendedRuleExecutionLoggingEnabled\" | \"socTrendsEnabled\" | \"responseActionsEnabled\" | \"endpointResponseActionsEnabled\" | \"responseActionUploadEnabled\" | \"automatedProcessActionsEnabled\" | \"responseActionsSentinelOneV1Enabled\" | \"alertsPageChartsEnabled\" | \"alertTypeEnabled\" | \"expandableFlyoutInCreateRuleEnabled\" | \"expandableEventFlyoutEnabled\" | \"alertsPageFiltersEnabled\" | \"newUserDetailsFlyout\" | \"newUserDetailsFlyoutManagedUser\" | \"newHostDetailsFlyout\" | \"riskScoringPersistence\" | \"riskScoringRoutesEnabled\" | \"esqlRulesDisabled\" | \"protectionUpdatesEnabled\" | \"disableTimelineSaveTour\" | \"riskEnginePrivilegesRouteEnabled\" | \"alertSuppressionForIndicatorMatchRuleEnabled\" | \"sentinelOneDataInAnalyzerEnabled\" | \"sentinelOneManualHostActionsEnabled\" | \"crowdstrikeDataInAnalyzerEnabled\" | \"jsonPrebuiltRulesDiffingEnabled\" | \"perFieldPrebuiltRulesDiffingEnabled\" | \"timelineEsqlTabDisabled\" | \"analyzerDatePickersAndSourcererDisabled\" | undefined" ], "path": "x-pack/plugins/security_solution/public/common/links/types.ts", "deprecated": false, @@ -648,7 +648,7 @@ "\nExperimental flag needed to disable the link. Opposite of experimentalKey" ], "signature": [ - "\"assistantModelEvaluation\" | \"assistantStreamingEnabled\" | \"tGridEnabled\" | \"tGridEventRenderedViewEnabled\" | \"excludePoliciesInFilterEnabled\" | \"kubernetesEnabled\" | \"chartEmbeddablesEnabled\" | \"donutChartEmbeddablesEnabled\" | \"previewTelemetryUrlEnabled\" | \"insightsRelatedAlertsByProcessAncestry\" | \"extendedRuleExecutionLoggingEnabled\" | \"socTrendsEnabled\" | \"responseActionsEnabled\" | \"endpointResponseActionsEnabled\" | \"responseActionUploadEnabled\" | \"automatedProcessActionsEnabled\" | \"responseActionsSentinelOneV1Enabled\" | \"alertsPageChartsEnabled\" | \"alertTypeEnabled\" | \"expandableFlyoutInCreateRuleEnabled\" | \"expandableEventFlyoutEnabled\" | \"alertsPageFiltersEnabled\" | \"newUserDetailsFlyout\" | \"newUserDetailsFlyoutManagedUser\" | \"newHostDetailsFlyout\" | \"riskScoringPersistence\" | \"riskScoringRoutesEnabled\" | \"esqlRulesDisabled\" | \"protectionUpdatesEnabled\" | \"disableTimelineSaveTour\" | \"riskEnginePrivilegesRouteEnabled\" | \"alertSuppressionForIndicatorMatchRuleEnabled\" | \"sentinelOneDataInAnalyzerEnabled\" | \"sentinelOneManualHostActionsEnabled\" | \"crowdstrikeDataInAnalyzerEnabled\" | \"jsonPrebuiltRulesDiffingEnabled\" | \"timelineEsqlTabDisabled\" | \"analyzerDatePickersAndSourcererDisabled\" | \"perFieldPrebuiltRulesDiffingEnabled\" | undefined" + "\"assistantModelEvaluation\" | \"assistantStreamingEnabled\" | \"tGridEnabled\" | \"tGridEventRenderedViewEnabled\" | \"excludePoliciesInFilterEnabled\" | \"kubernetesEnabled\" | \"chartEmbeddablesEnabled\" | \"donutChartEmbeddablesEnabled\" | \"previewTelemetryUrlEnabled\" | \"insightsRelatedAlertsByProcessAncestry\" | \"extendedRuleExecutionLoggingEnabled\" | \"socTrendsEnabled\" | \"responseActionsEnabled\" | \"endpointResponseActionsEnabled\" | \"responseActionUploadEnabled\" | \"automatedProcessActionsEnabled\" | \"responseActionsSentinelOneV1Enabled\" | \"alertsPageChartsEnabled\" | \"alertTypeEnabled\" | \"expandableFlyoutInCreateRuleEnabled\" | \"expandableEventFlyoutEnabled\" | \"alertsPageFiltersEnabled\" | \"newUserDetailsFlyout\" | \"newUserDetailsFlyoutManagedUser\" | \"newHostDetailsFlyout\" | \"riskScoringPersistence\" | \"riskScoringRoutesEnabled\" | \"esqlRulesDisabled\" | \"protectionUpdatesEnabled\" | \"disableTimelineSaveTour\" | \"riskEnginePrivilegesRouteEnabled\" | \"alertSuppressionForIndicatorMatchRuleEnabled\" | \"sentinelOneDataInAnalyzerEnabled\" | \"sentinelOneManualHostActionsEnabled\" | \"crowdstrikeDataInAnalyzerEnabled\" | \"jsonPrebuiltRulesDiffingEnabled\" | \"perFieldPrebuiltRulesDiffingEnabled\" | \"timelineEsqlTabDisabled\" | \"analyzerDatePickersAndSourcererDisabled\" | undefined" ], "path": "x-pack/plugins/security_solution/public/common/links/types.ts", "deprecated": false, @@ -2009,7 +2009,7 @@ "label": "experimentalFeatures", "description": [], "signature": [ - "{ readonly tGridEnabled: boolean; readonly tGridEventRenderedViewEnabled: boolean; readonly excludePoliciesInFilterEnabled: boolean; readonly kubernetesEnabled: boolean; readonly chartEmbeddablesEnabled: boolean; readonly donutChartEmbeddablesEnabled: boolean; readonly previewTelemetryUrlEnabled: boolean; readonly insightsRelatedAlertsByProcessAncestry: boolean; readonly extendedRuleExecutionLoggingEnabled: boolean; readonly assistantStreamingEnabled: boolean; readonly socTrendsEnabled: boolean; readonly responseActionsEnabled: boolean; readonly endpointResponseActionsEnabled: boolean; readonly responseActionUploadEnabled: boolean; readonly automatedProcessActionsEnabled: boolean; readonly responseActionsSentinelOneV1Enabled: boolean; readonly alertsPageChartsEnabled: boolean; readonly alertTypeEnabled: boolean; readonly expandableFlyoutInCreateRuleEnabled: boolean; readonly expandableEventFlyoutEnabled: boolean; readonly alertsPageFiltersEnabled: boolean; readonly assistantModelEvaluation: boolean; readonly newUserDetailsFlyout: boolean; readonly newUserDetailsFlyoutManagedUser: boolean; readonly newHostDetailsFlyout: boolean; readonly riskScoringPersistence: boolean; readonly riskScoringRoutesEnabled: boolean; readonly esqlRulesDisabled: boolean; readonly protectionUpdatesEnabled: boolean; readonly disableTimelineSaveTour: boolean; readonly riskEnginePrivilegesRouteEnabled: boolean; readonly alertSuppressionForIndicatorMatchRuleEnabled: boolean; readonly sentinelOneDataInAnalyzerEnabled: boolean; readonly sentinelOneManualHostActionsEnabled: boolean; readonly crowdstrikeDataInAnalyzerEnabled: boolean; readonly jsonPrebuiltRulesDiffingEnabled: boolean; readonly timelineEsqlTabDisabled: boolean; readonly analyzerDatePickersAndSourcererDisabled: boolean; readonly perFieldPrebuiltRulesDiffingEnabled: boolean; }" + "{ readonly tGridEnabled: boolean; readonly tGridEventRenderedViewEnabled: boolean; readonly excludePoliciesInFilterEnabled: boolean; readonly kubernetesEnabled: boolean; readonly chartEmbeddablesEnabled: boolean; readonly donutChartEmbeddablesEnabled: boolean; readonly previewTelemetryUrlEnabled: boolean; readonly insightsRelatedAlertsByProcessAncestry: boolean; readonly extendedRuleExecutionLoggingEnabled: boolean; readonly assistantStreamingEnabled: boolean; readonly socTrendsEnabled: boolean; readonly responseActionsEnabled: boolean; readonly endpointResponseActionsEnabled: boolean; readonly responseActionUploadEnabled: boolean; readonly automatedProcessActionsEnabled: boolean; readonly responseActionsSentinelOneV1Enabled: boolean; readonly alertsPageChartsEnabled: boolean; readonly alertTypeEnabled: boolean; readonly expandableFlyoutInCreateRuleEnabled: boolean; readonly expandableEventFlyoutEnabled: boolean; readonly alertsPageFiltersEnabled: boolean; readonly assistantModelEvaluation: boolean; readonly newUserDetailsFlyout: boolean; readonly newUserDetailsFlyoutManagedUser: boolean; readonly newHostDetailsFlyout: boolean; readonly riskScoringPersistence: boolean; readonly riskScoringRoutesEnabled: boolean; readonly esqlRulesDisabled: boolean; readonly protectionUpdatesEnabled: boolean; readonly disableTimelineSaveTour: boolean; readonly riskEnginePrivilegesRouteEnabled: boolean; readonly alertSuppressionForIndicatorMatchRuleEnabled: boolean; readonly sentinelOneDataInAnalyzerEnabled: boolean; readonly sentinelOneManualHostActionsEnabled: boolean; readonly crowdstrikeDataInAnalyzerEnabled: boolean; readonly jsonPrebuiltRulesDiffingEnabled: boolean; readonly perFieldPrebuiltRulesDiffingEnabled: boolean; readonly timelineEsqlTabDisabled: boolean; readonly analyzerDatePickersAndSourcererDisabled: boolean; }" ], "path": "x-pack/plugins/security_solution/public/types.ts", "deprecated": false, @@ -3128,7 +3128,7 @@ "\nThe security solution generic experimental features" ], "signature": [ - "{ readonly tGridEnabled: boolean; readonly tGridEventRenderedViewEnabled: boolean; readonly excludePoliciesInFilterEnabled: boolean; readonly kubernetesEnabled: boolean; readonly chartEmbeddablesEnabled: boolean; readonly donutChartEmbeddablesEnabled: boolean; readonly previewTelemetryUrlEnabled: boolean; readonly insightsRelatedAlertsByProcessAncestry: boolean; readonly extendedRuleExecutionLoggingEnabled: boolean; readonly assistantStreamingEnabled: boolean; readonly socTrendsEnabled: boolean; readonly responseActionsEnabled: boolean; readonly endpointResponseActionsEnabled: boolean; readonly responseActionUploadEnabled: boolean; readonly automatedProcessActionsEnabled: boolean; readonly responseActionsSentinelOneV1Enabled: boolean; readonly alertsPageChartsEnabled: boolean; readonly alertTypeEnabled: boolean; readonly expandableFlyoutInCreateRuleEnabled: boolean; readonly expandableEventFlyoutEnabled: boolean; readonly alertsPageFiltersEnabled: boolean; readonly assistantModelEvaluation: boolean; readonly newUserDetailsFlyout: boolean; readonly newUserDetailsFlyoutManagedUser: boolean; readonly newHostDetailsFlyout: boolean; readonly riskScoringPersistence: boolean; readonly riskScoringRoutesEnabled: boolean; readonly esqlRulesDisabled: boolean; readonly protectionUpdatesEnabled: boolean; readonly disableTimelineSaveTour: boolean; readonly riskEnginePrivilegesRouteEnabled: boolean; readonly alertSuppressionForIndicatorMatchRuleEnabled: boolean; readonly sentinelOneDataInAnalyzerEnabled: boolean; readonly sentinelOneManualHostActionsEnabled: boolean; readonly crowdstrikeDataInAnalyzerEnabled: boolean; readonly jsonPrebuiltRulesDiffingEnabled: boolean; readonly timelineEsqlTabDisabled: boolean; readonly analyzerDatePickersAndSourcererDisabled: boolean; readonly perFieldPrebuiltRulesDiffingEnabled: boolean; }" + "{ readonly tGridEnabled: boolean; readonly tGridEventRenderedViewEnabled: boolean; readonly excludePoliciesInFilterEnabled: boolean; readonly kubernetesEnabled: boolean; readonly chartEmbeddablesEnabled: boolean; readonly donutChartEmbeddablesEnabled: boolean; readonly previewTelemetryUrlEnabled: boolean; readonly insightsRelatedAlertsByProcessAncestry: boolean; readonly extendedRuleExecutionLoggingEnabled: boolean; readonly assistantStreamingEnabled: boolean; readonly socTrendsEnabled: boolean; readonly responseActionsEnabled: boolean; readonly endpointResponseActionsEnabled: boolean; readonly responseActionUploadEnabled: boolean; readonly automatedProcessActionsEnabled: boolean; readonly responseActionsSentinelOneV1Enabled: boolean; readonly alertsPageChartsEnabled: boolean; readonly alertTypeEnabled: boolean; readonly expandableFlyoutInCreateRuleEnabled: boolean; readonly expandableEventFlyoutEnabled: boolean; readonly alertsPageFiltersEnabled: boolean; readonly assistantModelEvaluation: boolean; readonly newUserDetailsFlyout: boolean; readonly newUserDetailsFlyoutManagedUser: boolean; readonly newHostDetailsFlyout: boolean; readonly riskScoringPersistence: boolean; readonly riskScoringRoutesEnabled: boolean; readonly esqlRulesDisabled: boolean; readonly protectionUpdatesEnabled: boolean; readonly disableTimelineSaveTour: boolean; readonly riskEnginePrivilegesRouteEnabled: boolean; readonly alertSuppressionForIndicatorMatchRuleEnabled: boolean; readonly sentinelOneDataInAnalyzerEnabled: boolean; readonly sentinelOneManualHostActionsEnabled: boolean; readonly crowdstrikeDataInAnalyzerEnabled: boolean; readonly jsonPrebuiltRulesDiffingEnabled: boolean; readonly perFieldPrebuiltRulesDiffingEnabled: boolean; readonly timelineEsqlTabDisabled: boolean; readonly analyzerDatePickersAndSourcererDisabled: boolean; }" ], "path": "x-pack/plugins/security_solution/server/plugin_contract.ts", "deprecated": false, @@ -3304,7 +3304,7 @@ "label": "ExperimentalFeatures", "description": [], "signature": [ - "{ readonly tGridEnabled: boolean; readonly tGridEventRenderedViewEnabled: boolean; readonly excludePoliciesInFilterEnabled: boolean; readonly kubernetesEnabled: boolean; readonly chartEmbeddablesEnabled: boolean; readonly donutChartEmbeddablesEnabled: boolean; readonly previewTelemetryUrlEnabled: boolean; readonly insightsRelatedAlertsByProcessAncestry: boolean; readonly extendedRuleExecutionLoggingEnabled: boolean; readonly assistantStreamingEnabled: boolean; readonly socTrendsEnabled: boolean; readonly responseActionsEnabled: boolean; readonly endpointResponseActionsEnabled: boolean; readonly responseActionUploadEnabled: boolean; readonly automatedProcessActionsEnabled: boolean; readonly responseActionsSentinelOneV1Enabled: boolean; readonly alertsPageChartsEnabled: boolean; readonly alertTypeEnabled: boolean; readonly expandableFlyoutInCreateRuleEnabled: boolean; readonly expandableEventFlyoutEnabled: boolean; readonly alertsPageFiltersEnabled: boolean; readonly assistantModelEvaluation: boolean; readonly newUserDetailsFlyout: boolean; readonly newUserDetailsFlyoutManagedUser: boolean; readonly newHostDetailsFlyout: boolean; readonly riskScoringPersistence: boolean; readonly riskScoringRoutesEnabled: boolean; readonly esqlRulesDisabled: boolean; readonly protectionUpdatesEnabled: boolean; readonly disableTimelineSaveTour: boolean; readonly riskEnginePrivilegesRouteEnabled: boolean; readonly alertSuppressionForIndicatorMatchRuleEnabled: boolean; readonly sentinelOneDataInAnalyzerEnabled: boolean; readonly sentinelOneManualHostActionsEnabled: boolean; readonly crowdstrikeDataInAnalyzerEnabled: boolean; readonly jsonPrebuiltRulesDiffingEnabled: boolean; readonly timelineEsqlTabDisabled: boolean; readonly analyzerDatePickersAndSourcererDisabled: boolean; readonly perFieldPrebuiltRulesDiffingEnabled: boolean; }" + "{ readonly tGridEnabled: boolean; readonly tGridEventRenderedViewEnabled: boolean; readonly excludePoliciesInFilterEnabled: boolean; readonly kubernetesEnabled: boolean; readonly chartEmbeddablesEnabled: boolean; readonly donutChartEmbeddablesEnabled: boolean; readonly previewTelemetryUrlEnabled: boolean; readonly insightsRelatedAlertsByProcessAncestry: boolean; readonly extendedRuleExecutionLoggingEnabled: boolean; readonly assistantStreamingEnabled: boolean; readonly socTrendsEnabled: boolean; readonly responseActionsEnabled: boolean; readonly endpointResponseActionsEnabled: boolean; readonly responseActionUploadEnabled: boolean; readonly automatedProcessActionsEnabled: boolean; readonly responseActionsSentinelOneV1Enabled: boolean; readonly alertsPageChartsEnabled: boolean; readonly alertTypeEnabled: boolean; readonly expandableFlyoutInCreateRuleEnabled: boolean; readonly expandableEventFlyoutEnabled: boolean; readonly alertsPageFiltersEnabled: boolean; readonly assistantModelEvaluation: boolean; readonly newUserDetailsFlyout: boolean; readonly newUserDetailsFlyoutManagedUser: boolean; readonly newHostDetailsFlyout: boolean; readonly riskScoringPersistence: boolean; readonly riskScoringRoutesEnabled: boolean; readonly esqlRulesDisabled: boolean; readonly protectionUpdatesEnabled: boolean; readonly disableTimelineSaveTour: boolean; readonly riskEnginePrivilegesRouteEnabled: boolean; readonly alertSuppressionForIndicatorMatchRuleEnabled: boolean; readonly sentinelOneDataInAnalyzerEnabled: boolean; readonly sentinelOneManualHostActionsEnabled: boolean; readonly crowdstrikeDataInAnalyzerEnabled: boolean; readonly jsonPrebuiltRulesDiffingEnabled: boolean; readonly perFieldPrebuiltRulesDiffingEnabled: boolean; readonly timelineEsqlTabDisabled: boolean; readonly analyzerDatePickersAndSourcererDisabled: boolean; }" ], "path": "x-pack/plugins/security_solution/common/experimental_features.ts", "deprecated": false, @@ -3353,7 +3353,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 tGridEnabled: true; readonly tGridEventRenderedViewEnabled: true; readonly excludePoliciesInFilterEnabled: false; readonly kubernetesEnabled: true; readonly chartEmbeddablesEnabled: true; readonly donutChartEmbeddablesEnabled: false; readonly previewTelemetryUrlEnabled: false; readonly insightsRelatedAlertsByProcessAncestry: true; readonly extendedRuleExecutionLoggingEnabled: false; readonly assistantStreamingEnabled: false; readonly socTrendsEnabled: false; readonly responseActionsEnabled: true; readonly endpointResponseActionsEnabled: true; readonly responseActionUploadEnabled: true; readonly automatedProcessActionsEnabled: false; readonly responseActionsSentinelOneV1Enabled: false; readonly alertsPageChartsEnabled: true; readonly alertTypeEnabled: false; readonly expandableFlyoutInCreateRuleEnabled: true; readonly expandableEventFlyoutEnabled: false; readonly alertsPageFiltersEnabled: true; readonly assistantModelEvaluation: false; readonly newUserDetailsFlyout: true; readonly newUserDetailsFlyoutManagedUser: false; readonly newHostDetailsFlyout: true; readonly riskScoringPersistence: true; readonly riskScoringRoutesEnabled: true; readonly esqlRulesDisabled: false; readonly protectionUpdatesEnabled: true; readonly disableTimelineSaveTour: false; readonly riskEnginePrivilegesRouteEnabled: true; readonly alertSuppressionForIndicatorMatchRuleEnabled: false; readonly sentinelOneDataInAnalyzerEnabled: false; readonly sentinelOneManualHostActionsEnabled: true; readonly crowdstrikeDataInAnalyzerEnabled: false; readonly jsonPrebuiltRulesDiffingEnabled: true; readonly timelineEsqlTabDisabled: false; readonly analyzerDatePickersAndSourcererDisabled: false; readonly perFieldPrebuiltRulesDiffingEnabled: false; }" + "{ readonly tGridEnabled: true; readonly tGridEventRenderedViewEnabled: true; readonly excludePoliciesInFilterEnabled: false; readonly kubernetesEnabled: true; readonly chartEmbeddablesEnabled: true; readonly donutChartEmbeddablesEnabled: false; readonly previewTelemetryUrlEnabled: false; readonly insightsRelatedAlertsByProcessAncestry: true; readonly extendedRuleExecutionLoggingEnabled: false; readonly assistantStreamingEnabled: false; readonly socTrendsEnabled: false; readonly responseActionsEnabled: true; readonly endpointResponseActionsEnabled: true; readonly responseActionUploadEnabled: true; readonly automatedProcessActionsEnabled: false; readonly responseActionsSentinelOneV1Enabled: false; readonly alertsPageChartsEnabled: true; readonly alertTypeEnabled: false; readonly expandableFlyoutInCreateRuleEnabled: true; readonly expandableEventFlyoutEnabled: false; readonly alertsPageFiltersEnabled: true; readonly assistantModelEvaluation: false; readonly newUserDetailsFlyout: true; readonly newUserDetailsFlyoutManagedUser: false; readonly newHostDetailsFlyout: true; readonly riskScoringPersistence: true; readonly riskScoringRoutesEnabled: true; readonly esqlRulesDisabled: false; readonly protectionUpdatesEnabled: true; readonly disableTimelineSaveTour: false; readonly riskEnginePrivilegesRouteEnabled: true; readonly alertSuppressionForIndicatorMatchRuleEnabled: false; readonly sentinelOneDataInAnalyzerEnabled: false; readonly sentinelOneManualHostActionsEnabled: true; readonly crowdstrikeDataInAnalyzerEnabled: false; readonly jsonPrebuiltRulesDiffingEnabled: true; readonly perFieldPrebuiltRulesDiffingEnabled: true; readonly timelineEsqlTabDisabled: false; readonly analyzerDatePickersAndSourcererDisabled: false; }" ], "path": "x-pack/plugins/security_solution/common/experimental_features.ts", "deprecated": false, diff --git a/api_docs/security_solution.mdx b/api_docs/security_solution.mdx index b1d34b2b84a45..06766293d71d6 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-02-23 +date: 2024-03-04 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 2919521728ae7..0622ce5ad8730 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-02-23 +date: 2024-03-04 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 f37fc19883953..79e7b4343f6dc 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-02-23 +date: 2024-03-04 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 9720682d29e57..0df88a061e2f1 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-02-23 +date: 2024-03-04 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 9a6ebf8301bb0..8c7572747cf2b 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-02-23 +date: 2024-03-04 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'serverlessObservability'] --- import serverlessObservabilityObj from './serverless_observability.devdocs.json'; diff --git a/api_docs/serverless_search.mdx b/api_docs/serverless_search.mdx index c3503c593f363..c589acad58647 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-02-23 +date: 2024-03-04 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 eb7cbc351913e..63f33422775e3 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-02-23 +date: 2024-03-04 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'sessionView'] --- import sessionViewObj from './session_view.devdocs.json'; diff --git a/api_docs/share.mdx b/api_docs/share.mdx index 7305d59d66916..5a74388b6e389 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-02-23 +date: 2024-03-04 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'share'] --- import shareObj from './share.devdocs.json'; diff --git a/api_docs/snapshot_restore.mdx b/api_docs/snapshot_restore.mdx index 5cac6b62cdeba..1b63c95db1308 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-02-23 +date: 2024-03-04 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 cf2e743ef50f0..a60ffe332d7a9 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-02-23 +date: 2024-03-04 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'spaces'] --- import spacesObj from './spaces.devdocs.json'; diff --git a/api_docs/stack_alerts.mdx b/api_docs/stack_alerts.mdx index 8a6cc0d7ad278..87c40cdd7f0af 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-02-23 +date: 2024-03-04 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'stackAlerts'] --- import stackAlertsObj from './stack_alerts.devdocs.json'; diff --git a/api_docs/stack_connectors.mdx b/api_docs/stack_connectors.mdx index 0432b995cced6..94bbc5935d2b5 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-02-23 +date: 2024-03-04 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'stackConnectors'] --- import stackConnectorsObj from './stack_connectors.devdocs.json'; diff --git a/api_docs/task_manager.mdx b/api_docs/task_manager.mdx index 51f3e38a38fa1..cd94b25c54c30 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-02-23 +date: 2024-03-04 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'taskManager'] --- import taskManagerObj from './task_manager.devdocs.json'; diff --git a/api_docs/telemetry.mdx b/api_docs/telemetry.mdx index 8340d384681df..8985553e560cc 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-02-23 +date: 2024-03-04 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 44cd3b3a1ed54..a38ae6807f4c2 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-02-23 +date: 2024-03-04 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'telemetryCollectionManager'] --- import telemetryCollectionManagerObj from './telemetry_collection_manager.devdocs.json'; diff --git a/api_docs/telemetry_collection_xpack.mdx b/api_docs/telemetry_collection_xpack.mdx index c2a8aa98e5acc..a3000ba029bfb 100644 --- a/api_docs/telemetry_collection_xpack.mdx +++ b/api_docs/telemetry_collection_xpack.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/telemetryCollectionXpack title: "telemetryCollectionXpack" image: https://source.unsplash.com/400x175/?github description: API docs for the telemetryCollectionXpack plugin -date: 2024-02-23 +date: 2024-03-04 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'telemetryCollectionXpack'] --- import telemetryCollectionXpackObj from './telemetry_collection_xpack.devdocs.json'; diff --git a/api_docs/telemetry_management_section.mdx b/api_docs/telemetry_management_section.mdx index 2ff956dbeadb2..6fa74ecc1dc20 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-02-23 +date: 2024-03-04 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'telemetryManagementSection'] --- import telemetryManagementSectionObj from './telemetry_management_section.devdocs.json'; diff --git a/api_docs/text_based_languages.mdx b/api_docs/text_based_languages.mdx index 50692c3d32cdc..322284b3ea216 100644 --- a/api_docs/text_based_languages.mdx +++ b/api_docs/text_based_languages.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/textBasedLanguages title: "textBasedLanguages" image: https://source.unsplash.com/400x175/?github description: API docs for the textBasedLanguages plugin -date: 2024-02-23 +date: 2024-03-04 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'textBasedLanguages'] --- import textBasedLanguagesObj from './text_based_languages.devdocs.json'; diff --git a/api_docs/threat_intelligence.mdx b/api_docs/threat_intelligence.mdx index 127805f641df9..9e6bae91c0116 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-02-23 +date: 2024-03-04 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'threatIntelligence'] --- import threatIntelligenceObj from './threat_intelligence.devdocs.json'; diff --git a/api_docs/timelines.mdx b/api_docs/timelines.mdx index a08d8e58673e7..829ec0fddfa0a 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-02-23 +date: 2024-03-04 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 3f99f7e611b47..9019fcf7ea024 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-02-23 +date: 2024-03-04 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'transform'] --- import transformObj from './transform.devdocs.json'; diff --git a/api_docs/triggers_actions_ui.mdx b/api_docs/triggers_actions_ui.mdx index 8d0c92c88d5d9..34ec3a1d89bfc 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-02-23 +date: 2024-03-04 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 9524a2ae65112..88ad93cd001fa 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-02-23 +date: 2024-03-04 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 d9e49b4680672..eba8d0b1fa3bc 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-02-23 +date: 2024-03-04 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 9a307f990041b..8eac009a3d64e 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-02-23 +date: 2024-03-04 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 27d0b700020bf..756fab60925d7 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-02-23 +date: 2024-03-04 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'unifiedHistogram'] --- import unifiedHistogramObj from './unified_histogram.devdocs.json'; diff --git a/api_docs/unified_search.mdx b/api_docs/unified_search.mdx index 47ea3217c4628..dafeff8baaa72 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-02-23 +date: 2024-03-04 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 85c043fb9f1ff..37fc83f8b5d3a 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-02-23 +date: 2024-03-04 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 621a5c0e111f2..a6f3e5f582688 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-02-23 +date: 2024-03-04 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 3552f88ffd195..d7a5eeb0b7f1c 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-02-23 +date: 2024-03-04 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 f76f3ae10c7c1..bb8899c320ac9 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-02-23 +date: 2024-03-04 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 79e85b25698aa..2710074de42f2 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-02-23 +date: 2024-03-04 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 f00f10edbd598..824b1c47a1e1e 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-02-23 +date: 2024-03-04 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 7effb517cc694..1c2c475f93ed3 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-02-23 +date: 2024-03-04 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 ce807baa4004f..ee216a31b6f54 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-02-23 +date: 2024-03-04 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 e1b803b7f7fb4..757b21d1035d4 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-02-23 +date: 2024-03-04 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 9b0a9854e2684..9a09156c8de60 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-02-23 +date: 2024-03-04 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 eaf3f9603713a..1057379f9f556 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-02-23 +date: 2024-03-04 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 5f8f2a4ba7854..613236023dd98 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-02-23 +date: 2024-03-04 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 24bcb29b14b2d..5910dcb8259da 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-02-23 +date: 2024-03-04 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 486f56d96d97f..4cde66e71cdda 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-02-23 +date: 2024-03-04 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 862be6ed852b5..c09870b1d48ed 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-02-23 +date: 2024-03-04 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 5aff24ecbc2a0..0e3de25ad2fb3 100644 --- a/api_docs/visualizations.devdocs.json +++ b/api_docs/visualizations.devdocs.json @@ -2154,7 +2154,15 @@ "label": "getVisSchemas", "description": [], "signature": [ - "(vis: ", + "(vis: ", { "pluginId": "visualizations", "scope": "public", @@ -7040,7 +7048,7 @@ "section": "def-common.PhaseEvent", "text": "PhaseEvent" }, - " | undefined>; setPanelTitle: (newTitle: string | undefined) => void; isEditingEnabled: () => boolean; setHidePanelTitle: (hide: boolean | undefined) => void; getTypeDisplayName: () => string; setPanelDescription: (newTitle: string | undefined) => void; render: (domNode: HTMLElement) => Promise; getPersistableInput: () => ", + " | undefined>; setPanelTitle: (newTitle: string | undefined) => void; isEditingEnabled: () => boolean; setHidePanelTitle: (hide: boolean | undefined) => void; getTypeDisplayName: () => string; setPanelDescription: (newTitle: string | undefined) => void; render: (domNode: HTMLElement) => Promise; reload: () => Promise; getPersistableInput: () => ", { "pluginId": "visualizations", "scope": "public", @@ -7048,7 +7056,7 @@ "section": "def-public.VisualizeInput", "text": "VisualizeInput" }, - "; readonly isContainer: boolean; reload: () => Promise; getExplicitInputIsEqual: (lastExplicitInput: Partial<", + "; readonly isContainer: boolean; getExplicitInputIsEqual: (lastExplicitInput: Partial<", { "pluginId": "visualizations", "scope": "public", @@ -7588,7 +7596,15 @@ "\nInterface for this plugin's returned setup/start contracts.\n" ], "signature": [ - "{ createBaseVisualization: (config: ", + "{ createBaseVisualization: (config: ", { "pluginId": "visualizations", "scope": "public", @@ -7614,7 +7630,15 @@ "section": "def-common.VisParams", "text": "VisParams" }, - ">) => void; register: (name: string, editor: ", + ">) => void; register: (name: string, editor: ", "VisEditorConstructor", ") => void; get: (name: string) => ", "VisEditorConstructor", diff --git a/api_docs/visualizations.mdx b/api_docs/visualizations.mdx index 21f738a95685e..0bb31aa008deb 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-02-23 +date: 2024-03-04 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'visualizations'] --- import visualizationsObj from './visualizations.devdocs.json'; diff --git a/catalog-info.yaml b/catalog-info.yaml index 3b0b97fe76f8d..d022c8d30eca1 100644 --- a/catalog-info.yaml +++ b/catalog-info.yaml @@ -119,43 +119,6 @@ spec: system: control-plane --- - -apiVersion: backstage.io/v1alpha1 -kind: Resource -metadata: - name: kibana-serverless-release - description: Definition of the kibana release pipeline - links: - - title: Pipeline - url: https://buildkite.com/elastic/kibana-serverless-release -spec: - type: buildkite-pipeline - owner: group:kibana-operations - system: buildkite - implementation: - apiVersion: buildkite.elastic.dev/v1 - kind: Pipeline - metadata: - name: kibana-serverless-release - description: Pipeline that releases kibana by triggering the release flow through qa, staging, and production - spec: - repository: elastic/kibana - pipeline_file: ./.buildkite/pipelines/pipeline.kibana-serverless-release.yaml - provider_settings: - build_branches: false - build_pull_request_forks: false - build_tags: true - # https://regex101.com/r/tY52jo/1 - filter_condition: 'build.tag =~ /^deploy@\d+$/' - filter_enabled: true - teams: - kibana-operations: - access_level: MANAGE_BUILD_AND_READ - kibana-tech-leads: - access_level: MANAGE_BUILD_AND_READ - everyone: - access_level: READ_ONLY ---- # yaml-language-server: $schema=https://gist.githubusercontent.com/elasticmachine/988b80dae436cafea07d9a4a460a011d/raw/rre.schema.json apiVersion: backstage.io/v1alpha1 kind: Resource @@ -246,4 +209,4 @@ spec: kibana-release-operators: access_level: BUILD_AND_READ everyone: - access_level: READ_ONLY \ No newline at end of file + access_level: READ_ONLY diff --git a/docs/developer/plugin-list.asciidoc b/docs/developer/plugin-list.asciidoc index b1b61800c8cf4..cc1fb71932dfb 100644 --- a/docs/developer/plugin-list.asciidoc +++ b/docs/developer/plugin-list.asciidoc @@ -458,11 +458,11 @@ The plugin exposes the static DefaultEditorController class to consume. |The Kibana Alerting plugin provides a common place to set up rules. You can: -|{kib-repo}blob/{branch}/x-pack/plugins/apm/readme.md[apm] +|{kib-repo}blob/{branch}/x-pack/plugins/observability_solution/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/apm_data_access[apmDataAccess] +|{kib-repo}blob/{branch}/x-pack/plugins/observability_solution/apm_data_access[apmDataAccess] |WARNING: Missing README. @@ -613,7 +613,7 @@ Index Management by running this series of requests in Console: |This service is exposed from the Index Management setup contract and can be used to add content to the indices list and the index details page. -|{kib-repo}blob/{branch}/x-pack/plugins/infra/README.md[infra] +|{kib-repo}blob/{branch}/x-pack/plugins/observability_solution/infra/README.md[infra] |This is the home of the infra plugin, which aims to provide a solution for the infrastructure monitoring use-case within Kibana. @@ -684,7 +684,7 @@ Elastic. |The Notifications plugin provides a set of services to help Solutions and plugins send notifications to users. -|{kib-repo}blob/{branch}/x-pack/plugins/observability/README.md[observability] +|{kib-repo}blob/{branch}/x-pack/plugins/observability_solution/observability/README.md[observability] |This plugin provides shared components and services for use across observability solutions, as well as the observability landing page UI. diff --git a/docs/management/maintenance-windows/maintenance-windows.asciidoc b/docs/management/maintenance-windows/maintenance-windows.asciidoc index 4bbdfb745022b..a2ea825d5e4c1 100644 --- a/docs/management/maintenance-windows/maintenance-windows.asciidoc +++ b/docs/management/maintenance-windows/maintenance-windows.asciidoc @@ -11,7 +11,9 @@ preview::[] You can schedule single or recurring maintenance windows to temporarily reduce rule notifications. For example, a maintenance window prevents false alarms during planned outages. -By default, maintenance windows affect all rules in all {kib} apps and spaces. +By default, a maintenance window affects all rules in all {kib} apps within its space. +You can refine the scope of a maintenance window by adding filters and rule categories. + Alerts continue to be generated, however notifications are suppressed as follows: - When an alert occurs during a maintenance window, there are no notifications. diff --git a/package.json b/package.json index d99db23ec5eb5..6b906f90bda94 100644 --- a/package.json +++ b/package.json @@ -89,7 +89,7 @@ "**/isomorphic-fetch/node-fetch": "^2.6.7", "**/remark-parse/trim": "1.0.1", "**/sharp": "0.32.6", - "**/typescript": "4.7.4", + "**/typescript": "4.9.5", "globby/fast-glob": "^3.2.11" }, "dependencies": { @@ -106,7 +106,7 @@ "@elastic/ecs": "^8.11.1", "@elastic/elasticsearch": "npm:@elastic/elasticsearch-canary@8.9.1-canary.1", "@elastic/ems-client": "8.5.1", - "@elastic/eui": "93.1.1", + "@elastic/eui": "93.2.0", "@elastic/filesaver": "1.1.2", "@elastic/node-crypto": "1.2.1", "@elastic/numeral": "^2.5.1", @@ -163,8 +163,8 @@ "@kbn/analytics-shippers-elastic-v3-server": "link:packages/analytics/shippers/elastic_v3/server", "@kbn/analytics-shippers-fullstory": "link:packages/analytics/shippers/fullstory", "@kbn/apm-config-loader": "link:packages/kbn-apm-config-loader", - "@kbn/apm-data-access-plugin": "link:x-pack/plugins/apm_data_access", - "@kbn/apm-plugin": "link:x-pack/plugins/apm", + "@kbn/apm-data-access-plugin": "link:x-pack/plugins/observability_solution/apm_data_access", + "@kbn/apm-plugin": "link:x-pack/plugins/observability_solution/apm", "@kbn/apm-utils": "link:packages/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", @@ -494,7 +494,7 @@ "@kbn/index-management-plugin": "link:x-pack/plugins/index_management", "@kbn/index-patterns-test-plugin": "link:test/plugin_functional/plugins/index_patterns", "@kbn/infra-forge": "link:x-pack/packages/kbn-infra-forge", - "@kbn/infra-plugin": "link:x-pack/plugins/infra", + "@kbn/infra-plugin": "link:x-pack/plugins/observability_solution/infra", "@kbn/ingest-pipelines-plugin": "link:x-pack/plugins/ingest_pipelines", "@kbn/input-control-vis-plugin": "link:src/plugins/input_control_vis", "@kbn/inspector-plugin": "link:src/plugins/inspector", @@ -595,7 +595,7 @@ "@kbn/observability-get-padded-alert-time-range-util": "link:x-pack/packages/observability/get_padded_alert_time_range_util", "@kbn/observability-logs-explorer-plugin": "link:x-pack/plugins/observability_solution/observability_logs_explorer", "@kbn/observability-onboarding-plugin": "link:x-pack/plugins/observability_solution/observability_onboarding", - "@kbn/observability-plugin": "link:x-pack/plugins/observability", + "@kbn/observability-plugin": "link:x-pack/plugins/observability_solution/observability", "@kbn/observability-shared-plugin": "link:x-pack/plugins/observability_solution/observability_shared", "@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", @@ -1677,7 +1677,7 @@ "tree-kill": "^1.2.2", "ts-morph": "^15.1.0", "tsd": "^0.20.0", - "typescript": "4.7.4", + "typescript": "4.9.5", "url-loader": "^2.2.0", "val-loader": "^1.1.1", "vinyl-fs": "^4.0.0", diff --git a/packages/analytics/client/src/analytics_client/analytics_client.ts b/packages/analytics/client/src/analytics_client/analytics_client.ts index 1029a87f2b935..6844882459c84 100644 --- a/packages/analytics/client/src/analytics_client/analytics_client.ts +++ b/packages/analytics/client/src/analytics_client/analytics_client.ts @@ -168,6 +168,7 @@ export class AnalyticsClient implements IAnalyticsClient { this.optInConfig$.next(optInConfigInstance); }; + // @ts-expect-error upgrade typescript v4.9.5 public registerContextProvider = (contextProviderOpts: ContextProviderOpts) => { this.contextService.registerContextProvider(contextProviderOpts); }; diff --git a/packages/analytics/client/src/analytics_client/context_service.ts b/packages/analytics/client/src/analytics_client/context_service.ts index 9f1bd40d15ee8..75074c94a3fc0 100644 --- a/packages/analytics/client/src/analytics_client/context_service.ts +++ b/packages/analytics/client/src/analytics_client/context_service.ts @@ -30,7 +30,7 @@ export class ContextService { public registerContextProvider({ name, context$, - schema, + schema, // @ts-expect-error upgrade typescript v4.9.5 }: ContextProviderOpts) { if (this.contextProvidersSubscriptions.has(name)) { throw new Error(`Context provider with name '${name}' already registered`); @@ -60,6 +60,7 @@ export class ContextService { .subscribe((context) => { // We store each context linked to the context provider so they can increase and reduce // the number of fields they report without having left-overs in the global context. + // @ts-expect-error upgrade typescript v4.9.5 this.contextProvidersRegistry.set(name, context); // For every context change, we rebuild the global context. diff --git a/packages/analytics/client/src/analytics_client/types.ts b/packages/analytics/client/src/analytics_client/types.ts index 5726bf0046687..8188ecde86161 100644 --- a/packages/analytics/client/src/analytics_client/types.ts +++ b/packages/analytics/client/src/analytics_client/types.ts @@ -205,6 +205,7 @@ export interface IAnalyticsClient { * * @track-adoption */ + // @ts-expect-error upgrade typescript v4.9.5 registerContextProvider: (contextProviderOpts: ContextProviderOpts) => void; /** * Removes the context provider and stop enriching the events from its context. diff --git a/packages/content-management/content_editor/src/__jest__/tests.helpers.tsx b/packages/content-management/content_editor/src/__jest__/tests.helpers.tsx index d71b237010c1c..78097e6223e02 100644 --- a/packages/content-management/content_editor/src/__jest__/tests.helpers.tsx +++ b/packages/content-management/content_editor/src/__jest__/tests.helpers.tsx @@ -32,6 +32,7 @@ export function WithServices

(Comp: ComponentType

, overrides: Partial + {/* @ts-expect-error upgrade typescript v4.9.5*/} ); diff --git a/packages/core/http/core-http-router-server-internal/src/validator.ts b/packages/core/http/core-http-router-server-internal/src/validator.ts index 3294c4a6dcc63..8e9f700915e1a 100644 --- a/packages/core/http/core-http-router-server-internal/src/validator.ts +++ b/packages/core/http/core-http-router-server-internal/src/validator.ts @@ -127,8 +127,10 @@ export class RouteValidator

{ namespace?: string ): RouteValidationResultType { if (isConfigSchema(validationRule)) { + // @ts-expect-error upgrade typescript v4.9.5 return validationRule.validate(data, {}, namespace); } else if (typeof validationRule === 'function') { + // @ts-expect-error upgrade typescript v4.9.5 return this.validateFunction(validationRule, data, namespace); } else { throw new ValidationError( diff --git a/packages/core/http/core-http-server-internal/src/cookie_session_storage.ts b/packages/core/http/core-http-server-internal/src/cookie_session_storage.ts index bba5a9742edb6..94dbd10970cc5 100644 --- a/packages/core/http/core-http-server-internal/src/cookie_session_storage.ts +++ b/packages/core/http/core-http-server-internal/src/cookie_session_storage.ts @@ -113,6 +113,7 @@ export async function createCookieSessionStorageFactory( return { asScoped(request: KibanaRequest) { + // @ts-expect-error upgrade typescript v4.9.5 return new ScopedCookieSessionStorage(log, server, ensureRawRequest(request)); }, }; diff --git a/packages/core/http/core-http-server-internal/src/csp/csp_directives.test.ts b/packages/core/http/core-http-server-internal/src/csp/csp_directives.test.ts index e250a6b1fea44..d430962053ceb 100644 --- a/packages/core/http/core-http-server-internal/src/csp/csp_directives.test.ts +++ b/packages/core/http/core-http-server-internal/src/csp/csp_directives.test.ts @@ -121,5 +121,28 @@ describe('CspDirectives', () => { `"script-src 'report-sample' 'self' 'unsafe-hashes'; worker-src 'report-sample' 'self' blob:; style-src 'report-sample' 'self' 'unsafe-inline'"` ); }); + + it('merges additional CSP configs as expected', () => { + const config = cspConfig.schema.validate({ + connect_src: ['*.foo.bar'], // should de-dupe these + }); + const additionalConfig1 = { + connect_src: ['*.foo.bar'], + img_src: ['*.foo.bar'], + }; + const additionalConfig2 = { + connect_src: [`cdn.host.test`], + font_src: [`cdn.host.test`], + frame_src: [`cdn.host.test`], + img_src: [`cdn.host.test`], + worker_src: [`cdn.host.test`], + script_src: [`cdn.host.test`], + style_src: [`cdn.host.test`], + }; + const directives = CspDirectives.fromConfig(config, additionalConfig1, additionalConfig2); + expect(directives.getCspHeader()).toEqual( + `script-src 'report-sample' 'self' cdn.host.test; worker-src 'report-sample' 'self' blob: cdn.host.test; style-src 'report-sample' 'self' 'unsafe-inline' cdn.host.test; connect-src 'self' *.foo.bar cdn.host.test; font-src 'self' cdn.host.test; frame-src 'self' cdn.host.test; img-src 'self' *.foo.bar cdn.host.test` + ); + }); }); }); diff --git a/packages/core/http/core-http-server-internal/src/csp/csp_directives.ts b/packages/core/http/core-http-server-internal/src/csp/csp_directives.ts index d7495e4c09bfc..21b2f7c573e33 100644 --- a/packages/core/http/core-http-server-internal/src/csp/csp_directives.ts +++ b/packages/core/http/core-http-server-internal/src/csp/csp_directives.ts @@ -6,7 +6,7 @@ * Side Public License, v 1. */ -import { merge } from 'lodash'; +import deepmerge from 'deepmerge'; import { CspConfigType } from './config'; export type CspDirectiveName = @@ -70,7 +70,10 @@ export class CspDirectives { firstConfig: CspConfigType, ...otherConfigs: Array> ): CspDirectives { - const config = otherConfigs.length ? merge(firstConfig, ...otherConfigs) : firstConfig; + const config = otherConfigs.reduce( + (acc, conf) => deepmerge(acc, conf), + firstConfig + ); const cspDirectives = new CspDirectives(); // combining `default` directive configurations diff --git a/packages/core/i18n/core-i18n-browser-internal/src/__snapshots__/i18n_service.test.tsx.snap b/packages/core/i18n/core-i18n-browser-internal/src/__snapshots__/i18n_service.test.tsx.snap index 87f13bee8f7c9..8656c7684ce37 100644 --- a/packages/core/i18n/core-i18n-browser-internal/src/__snapshots__/i18n_service.test.tsx.snap +++ b/packages/core/i18n/core-i18n-browser-internal/src/__snapshots__/i18n_service.test.tsx.snap @@ -303,6 +303,7 @@ exports[`#start() returns \`Context\` component 1`] = ` "euiSelectableTemplateSitewide.noResults": "No results available", "euiSelectableTemplateSitewide.onFocusBadgeGoTo": "Go to", "euiSelectableTemplateSitewide.searchPlaceholder": "Search for anything...", + "euiSideNav.mobileToggleAriaLabel": "Toggle navigation", "euiSkeletonLoading.loadedAriaText": [Function], "euiSkeletonLoading.loadingAriaText": [Function], "euiStat.loadingText": "Statistic is loading", diff --git a/packages/core/i18n/core-i18n-browser-internal/src/i18n_eui_mapping.tsx b/packages/core/i18n/core-i18n-browser-internal/src/i18n_eui_mapping.tsx index 58f057e2fedcc..21069027c6a50 100644 --- a/packages/core/i18n/core-i18n-browser-internal/src/i18n_eui_mapping.tsx +++ b/packages/core/i18n/core-i18n-browser-internal/src/i18n_eui_mapping.tsx @@ -1544,6 +1544,9 @@ export const getEuiContextMapping = (): EuiTokensObject => { defaultMessage: 'Search for anything...', } ), + 'euiSideNav.mobileToggleAriaLabel': i18n.translate('core.euiSideNav.mobileToggleAriaLabel', { + defaultMessage: 'Toggle navigation', + }), 'euiStat.loadingText': i18n.translate('core.euiStat.loadingText', { defaultMessage: 'Statistic is loading', }), diff --git a/packages/core/plugins/core-plugins-server-internal/src/create_browser_config.ts b/packages/core/plugins/core-plugins-server-internal/src/create_browser_config.ts index 05844839934b2..5d11064567479 100644 --- a/packages/core/plugins/core-plugins-server-internal/src/create_browser_config.ts +++ b/packages/core/plugins/core-plugins-server-internal/src/create_browser_config.ts @@ -61,7 +61,6 @@ function checkIsPathExposed( // Traverse the path to see if it is exposed or not const exposedConfig = descriptor[key as keyof ExposedToBrowserDescriptor]; if (exposedConfig && typeof exposedConfig === 'object') { - // @ts-expect-error Type 'undefined' is not assignable to type 'ExposedToBrowserDescriptor' descriptor = exposedConfig; continue; } diff --git a/packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/apis/bulk_update.ts b/packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/apis/bulk_update.ts index 9c119ff86e7dd..b195141924659 100644 --- a/packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/apis/bulk_update.ts +++ b/packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/apis/bulk_update.ts @@ -262,6 +262,7 @@ export const performBulkUpdate = async ( const typeDefinition = registry.getType(type)!; const updatedAttributes = mergeForUpdate({ + // @ts-expect-error upgrade typescript v4.9.5 targetAttributes: { ...migrated!.attributes, }, diff --git a/packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/apis/update.ts b/packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/apis/update.ts index 61f9cb4cfdb27..e25320f8a842e 100644 --- a/packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/apis/update.ts +++ b/packages/core/saved-objects/core-saved-objects-api-server-internal/src/lib/apis/update.ts @@ -247,6 +247,7 @@ export const executeUpdate = async ( // therefor we can safely process with the "standard" update sequence. const updatedAttributes = mergeForUpdate({ + // @ts-expect-error upgrade typescript v4.9.5 targetAttributes: { ...migrated!.attributes, }, diff --git a/packages/deeplinks/observability/locators/dataset_quality.ts b/packages/deeplinks/observability/locators/dataset_quality.ts index eaaaf23c959ae..bfa760bf62c06 100644 --- a/packages/deeplinks/observability/locators/dataset_quality.ts +++ b/packages/deeplinks/observability/locators/dataset_quality.ts @@ -12,8 +12,8 @@ export const DATASET_QUALITY_LOCATOR_ID = 'DATASET_QUALITY_LOCATOR'; // eslint-disable-next-line @typescript-eslint/consistent-type-definitions type RefreshInterval = { - isPaused: boolean; - interval: number; + pause: boolean; + value: number; }; // eslint-disable-next-line @typescript-eslint/consistent-type-definitions diff --git a/packages/kbn-apm-synthtrace-client/src/lib/interval.ts b/packages/kbn-apm-synthtrace-client/src/lib/interval.ts index bf08344f4de9e..bb77e6f6ee350 100644 --- a/packages/kbn-apm-synthtrace-client/src/lib/interval.ts +++ b/packages/kbn-apm-synthtrace-client/src/lib/interval.ts @@ -32,7 +32,7 @@ interface IntervalOptions { rate?: number; } -export class Interval { +export class Interval { private readonly intervalAmount: number; private readonly intervalUnit: unitOfTime.DurationConstructor; @@ -63,7 +63,7 @@ export class Interval { return timestamps; } - *generator( + *generator( map: ( timestamp: number, index: number diff --git a/packages/kbn-apm-synthtrace/src/lib/shared/get_serialize_transform.ts b/packages/kbn-apm-synthtrace/src/lib/shared/get_serialize_transform.ts index ed93c9502b722..3384a847db6b2 100644 --- a/packages/kbn-apm-synthtrace/src/lib/shared/get_serialize_transform.ts +++ b/packages/kbn-apm-synthtrace/src/lib/shared/get_serialize_transform.ts @@ -37,6 +37,7 @@ export function getSerializeTransform() { push(this, nextEvents, nextCallback); } }, + // @ts-expect-error upgrade typescript v4.9.5 write(chunk: Serializable, encoding, callback) { push(this, chunk.serialize(), callback); }, diff --git a/packages/kbn-apm-synthtrace/src/lib/utils/with_client.ts b/packages/kbn-apm-synthtrace/src/lib/utils/with_client.ts index 68dc780ac6464..5acbcdfbbd9f3 100644 --- a/packages/kbn-apm-synthtrace/src/lib/utils/with_client.ts +++ b/packages/kbn-apm-synthtrace/src/lib/utils/with_client.ts @@ -12,7 +12,9 @@ import { ApmSynthtraceEsClient, LogsSynthtraceEsClient } from '../../..'; export type SynthtraceEsClient = ApmSynthtraceEsClient | LogsSynthtraceEsClient; export type SynthGenerator = + // @ts-expect-error upgrade typescript v4.9.5 | SynthtraceGenerator + // @ts-expect-error upgrade typescript v4.9.5 | Array> | Readable; diff --git a/packages/kbn-babel-preset/styled_components_files.js b/packages/kbn-babel-preset/styled_components_files.js index 8da393ac5fb97..26dd151028d3f 100644 --- a/packages/kbn-babel-preset/styled_components_files.js +++ b/packages/kbn-babel-preset/styled_components_files.js @@ -14,7 +14,7 @@ module.exports = { USES_STYLED_COMPONENTS: [ /packages[\/\\]kbn-ui-shared-deps-(npm|src)[\/\\]/, /src[\/\\]plugins[\/\\](kibana_react)[\/\\]/, - /x-pack[\/\\]plugins[\/\\](apm|beats_management|cases|fleet|infra|lists|observability|observability_solution\/observability_shared|observability_solution\/exploratory_view|security_solution|timelines|observability_solution\/synthetics|observability_solution\/ux|observability_solution\/uptime)[\/\\]/, + /x-pack[\/\\]plugins[\/\\](observability_solution\/apm|beats_management|cases|fleet|observability_solution\/infra|lists|observability_solution\/observability|observability_solution\/observability_shared|observability_solution\/exploratory_view|security_solution|timelines|observability_solution\/synthetics|observability_solution\/ux|observability_solution\/uptime)[\/\\]/, /x-pack[\/\\]test[\/\\]plugin_functional[\/\\]plugins[\/\\]resolver_test[\/\\]/, /x-pack[\/\\]packages[\/\\]elastic_assistant[\/\\]/, /x-pack[\/\\]packages[\/\\]security-solution[\/\\]ecs_data_quality_dashboard[\/\\]/, diff --git a/packages/kbn-doc-links/src/get_doc_links.ts b/packages/kbn-doc-links/src/get_doc_links.ts index 0561176f3a50c..bfa2953310e0c 100644 --- a/packages/kbn-doc-links/src/get_doc_links.ts +++ b/packages/kbn-doc-links/src/get_doc_links.ts @@ -536,6 +536,8 @@ export const getDocLinks = ({ kibanaBranch, buildFlavor }: GetDocLinkOptions): D customUrls: `${MACHINE_LEARNING_DOCS}ml-configuring-url.html`, dataFrameAnalytics: `${MACHINE_LEARNING_DOCS}ml-dfanalytics.html`, dFAPrepareData: `${MACHINE_LEARNING_DOCS}ml-dfa-overview.html#prepare-transform-data`, + dFAStartJob: `${ELASTICSEARCH_DOCS}start-dfanalytics.html`, + dFACreateJob: `${ELASTICSEARCH_DOCS}put-dfanalytics.html`, featureImportance: `${MACHINE_LEARNING_DOCS}ml-feature-importance.html`, outlierDetectionRoc: `${MACHINE_LEARNING_DOCS}ml-dfa-finding-outliers.html#ml-dfanalytics-roc`, regressionEvaluation: `${MACHINE_LEARNING_DOCS}ml-dfa-regression.html#ml-dfanalytics-regression-evaluation`, diff --git a/packages/kbn-es-types/src/search.ts b/packages/kbn-es-types/src/search.ts index 4351ac91e5c17..df8d24e697468 100644 --- a/packages/kbn-es-types/src/search.ts +++ b/packages/kbn-es-types/src/search.ts @@ -593,7 +593,8 @@ export type AggregateOf< export type AggregateOfMap = { [TAggregationName in keyof TAggregationMap]: Required[TAggregationName] extends AggregationsAggregationContainer - ? AggregateOf + ? // @ts-expect-error not sure how to fix this, anything I've tried causes errors upstream - Dario + AggregateOf : never; // using never means we effectively ignore optional keys, using {} creates a union type of { ... } | {} }; diff --git a/packages/kbn-eslint-plugin-i18n/README.mdx b/packages/kbn-eslint-plugin-i18n/README.mdx index 6b836eb8bb528..436cf306ce33a 100644 --- a/packages/kbn-eslint-plugin-i18n/README.mdx +++ b/packages/kbn-eslint-plugin-i18n/README.mdx @@ -32,7 +32,7 @@ This rule kicks in on: This code: ``` -// Filename: /x-pack/plugins/observability/public/my_component.tsx +// Filename: /x-pack/plugins/observability_solution/observability/public/my_component.tsx import React from 'react'; import { EuiText } from '@elastic/eui'; @@ -119,7 +119,7 @@ This rule is useful when defining translated values in plain functions (non-JSX) This code: ``` -// Filename: /x-pack/plugins/observability/public/my_function.ts +// Filename: /x-pack/plugins/observability_solution/observability/public/my_function.ts function myFunction() { const translations = [ 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 8edc5c59b0991..cf40a1911b4c7 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 @@ -11,8 +11,14 @@ import { getI18nIdentifierFromFilePath } from './get_i18n_identifier_from_file_p const SYSTEMPATH = 'systemPath'; const testMap = [ - ['x-pack/plugins/observability/public/header_actions.tsx', 'xpack.observability'], - ['x-pack/plugins/apm/common/components/app/correlations/correlations_table.tsx', 'xpack.apm'], + [ + 'x-pack/plugins/observability_solution/observability/public/header_actions.tsx', + 'xpack.observability', + ], + [ + 'x-pack/plugins/observability_solution/apm/common/components/app/correlations/correlations_table.tsx', + 'xpack.apm', + ], ['x-pack/plugins/cases/server/components/foo.tsx', 'xpack.cases'], [ 'x-pack/plugins/observability_solution/synthetics/public/apps/synthetics/components/alerts/toggle_alert_flyout_button.tsx', diff --git a/packages/kbn-eslint-plugin-i18n/rules/i18n_translate_should_start_with_the_right_id.test.ts b/packages/kbn-eslint-plugin-i18n/rules/i18n_translate_should_start_with_the_right_id.test.ts index 49bdb03a4f476..39643837a9baf 100644 --- a/packages/kbn-eslint-plugin-i18n/rules/i18n_translate_should_start_with_the_right_id.test.ts +++ b/packages/kbn-eslint-plugin-i18n/rules/i18n_translate_should_start_with_the_right_id.test.ts @@ -44,7 +44,7 @@ const babelTester = [ const invalid: RuleTester.InvalidTestCase[] = [ { name: 'When a string literal is passed to i18n.translate, it should start with the correct i18n identifier.', - filename: '/x-pack/plugins/observability/public/test_component.ts', + filename: '/x-pack/plugins/observability_solution/observability/public/test_component.ts', code: ` import { i18n } from '@kbn/i18n'; @@ -66,7 +66,7 @@ function TestComponent() { }, { name: 'When no string literal is passed to i18n.translate, it should start with the correct i18n identifier.', - filename: '/x-pack/plugins/observability/public/test_component.ts', + filename: '/x-pack/plugins/observability_solution/observability/public/test_component.ts', code: ` import { i18n } from '@kbn/i18n'; @@ -88,7 +88,7 @@ function TestComponent() { }, { name: 'When i18n is not imported yet, the rule should add it.', - filename: '/x-pack/plugins/observability/public/test_component.ts', + filename: '/x-pack/plugins/observability_solution/observability/public/test_component.ts', code: ` function TestComponent() { const foo = i18n.translate(); diff --git a/packages/kbn-eslint-plugin-i18n/rules/strings_should_be_translated_with_formatted_message.test.ts b/packages/kbn-eslint-plugin-i18n/rules/strings_should_be_translated_with_formatted_message.test.ts index 6faf6732f9015..ce68d630f4c14 100644 --- a/packages/kbn-eslint-plugin-i18n/rules/strings_should_be_translated_with_formatted_message.test.ts +++ b/packages/kbn-eslint-plugin-i18n/rules/strings_should_be_translated_with_formatted_message.test.ts @@ -44,7 +44,7 @@ const babelTester = [ const invalid: RuleTester.InvalidTestCase[] = [ { name: 'A JSX element with a string literal should be translated with i18n', - filename: '/x-pack/plugins/observability/public/test_component.tsx', + filename: '/x-pack/plugins/observability_solution/observability/public/test_component.tsx', code: ` import React from 'react'; @@ -75,7 +75,7 @@ function TestComponent() { }, { name: 'A JSX element with a string literal that are inside an Eui component should take the component name of the parent into account', - filename: '/x-pack/plugins/observability/public/another_component.tsx', + filename: '/x-pack/plugins/observability_solution/observability/public/another_component.tsx', code: ` import React from 'react'; @@ -118,7 +118,8 @@ function AnotherComponent() { }, { name: 'When no import of the translation module is present, the import line should be added', - filename: '/x-pack/plugins/observability/public/yet_another_component.tsx', + filename: + '/x-pack/plugins/observability_solution/observability/public/yet_another_component.tsx', code: ` import React from 'react'; @@ -153,7 +154,7 @@ function YetAnotherComponent() { }, { name: 'Import lines without the necessary translation module should be updated to include i18n', - filename: '/x-pack/plugins/observability/public/test_component.tsx', + filename: '/x-pack/plugins/observability_solution/observability/public/test_component.tsx', code: ` import React from 'react'; import { SomeOtherModule } from '@kbn/i18n-react'; @@ -181,7 +182,7 @@ function TestComponent() { }, { name: 'JSX elements that have a label or aria-label prop with a string value should be translated with i18n', - filename: '/x-pack/plugins/observability/public/test_component.tsx', + filename: '/x-pack/plugins/observability_solution/observability/public/test_component.tsx', code: ` import React from 'react'; import { FormattedMessage } from '@kbn/i18n-react'; @@ -209,7 +210,7 @@ function TestComponent() { }, { name: 'JSX elements that have a label or aria-label prop with a JSXExpression value that is a string should be translated with i18n', - filename: '/x-pack/plugins/observability/public/test_component.tsx', + filename: '/x-pack/plugins/observability_solution/observability/public/test_component.tsx', code: ` import React from 'react'; import { FormattedMessage } from '@kbn/i18n-react'; @@ -240,7 +241,7 @@ function TestComponent() { const valid: RuleTester.ValidTestCase[] = [ { name: 'A JSXText element inside a EuiCode component should not be translated', - filename: '/x-pack/plugins/observability/public/test_component.tsx', + filename: '/x-pack/plugins/observability_solution/observability/public/test_component.tsx', code: ` import React from 'react'; @@ -252,7 +253,7 @@ function TestComponent() { }, { name: 'A JSXText element that contains anything other than alpha characters should not be translated', - filename: '/x-pack/plugins/observability/public/test_component.tsx', + filename: '/x-pack/plugins/observability_solution/observability/public/test_component.tsx', code: ` import React from 'react'; @@ -264,7 +265,7 @@ function TestComponent() { }, { name: 'A JSXText element that is wrapped in three backticks (markdown) should not be translated', - filename: '/x-pack/plugins/observability/public/test_component.tsx', + filename: '/x-pack/plugins/observability_solution/observability/public/test_component.tsx', code: ` import React from 'react'; diff --git a/packages/kbn-eslint-plugin-i18n/rules/strings_should_be_translated_with_i18n.test.ts b/packages/kbn-eslint-plugin-i18n/rules/strings_should_be_translated_with_i18n.test.ts index 3142d368b0764..0fdf7aa047465 100644 --- a/packages/kbn-eslint-plugin-i18n/rules/strings_should_be_translated_with_i18n.test.ts +++ b/packages/kbn-eslint-plugin-i18n/rules/strings_should_be_translated_with_i18n.test.ts @@ -44,7 +44,7 @@ const babelTester = [ const invalid: RuleTester.InvalidTestCase[] = [ { name: 'A JSX element with a string literal should be translated with i18n', - filename: '/x-pack/plugins/observability/public/test_component.tsx', + filename: '/x-pack/plugins/observability_solution/observability/public/test_component.tsx', code: ` import React from 'react'; @@ -71,7 +71,7 @@ function TestComponent() { }, { name: 'A JSX element with a string literal that are inside an Eui component should take the component name of the parent into account', - filename: '/x-pack/plugins/observability/public/another_component.tsx', + filename: '/x-pack/plugins/observability_solution/observability/public/another_component.tsx', code: ` import React from 'react'; @@ -110,7 +110,8 @@ function AnotherComponent() { }, { name: 'When no import of the translation module is present, the import line should be added', - filename: '/x-pack/plugins/observability/public/yet_another_component.tsx', + filename: + '/x-pack/plugins/observability_solution/observability/public/yet_another_component.tsx', code: ` import React from 'react'; @@ -141,7 +142,7 @@ function YetAnotherComponent() { }, { name: 'Import lines without the necessary translation module should be updated to include i18n', - filename: '/x-pack/plugins/observability/public/test_component.tsx', + filename: '/x-pack/plugins/observability_solution/observability/public/test_component.tsx', code: ` import React from 'react'; import { SomeOtherModule } from '@kbn/i18n'; @@ -169,7 +170,7 @@ function TestComponent() { }, { name: 'JSX elements that have a label or aria-label prop with a string value should be translated with i18n', - filename: '/x-pack/plugins/observability/public/test_component.tsx', + filename: '/x-pack/plugins/observability_solution/observability/public/test_component.tsx', code: ` import React from 'react'; import { i18n } from '@kbn/i18n'; @@ -197,7 +198,7 @@ function TestComponent() { }, { name: 'JSX elements that have a label or aria-label prop with a JSXExpression value that is a string should be translated with i18n', - filename: '/x-pack/plugins/observability/public/test_component.tsx', + filename: '/x-pack/plugins/observability_solution/observability/public/test_component.tsx', code: ` import React from 'react'; import { i18n } from '@kbn/i18n'; @@ -228,7 +229,7 @@ function TestComponent() { const valid: RuleTester.ValidTestCase[] = [ { name: 'A JSXText element inside a EuiCode component should not be translated', - filename: '/x-pack/plugins/observability/public/test_component.tsx', + filename: '/x-pack/plugins/observability_solution/observability/public/test_component.tsx', code: ` import React from 'react'; @@ -240,7 +241,7 @@ function TestComponent() { }, { name: 'A JSXText element that contains anything other than alpha characters should not be translated', - filename: '/x-pack/plugins/observability/public/test_component.tsx', + filename: '/x-pack/plugins/observability_solution/observability/public/test_component.tsx', code: ` import React from 'react'; @@ -252,7 +253,7 @@ function TestComponent() { }, { name: 'A JSXText element that is wrapped in three backticks (markdown) should not be translated', - filename: '/x-pack/plugins/observability/public/test_component.tsx', + filename: '/x-pack/plugins/observability_solution/observability/public/test_component.tsx', code: ` import React from 'react'; diff --git a/packages/kbn-eslint-plugin-telemetry/helpers/check_node_for_existing_data_test_subj_prop.ts b/packages/kbn-eslint-plugin-telemetry/helpers/check_node_for_existing_data_test_subj_prop.ts index ef0e32c1d2755..46e91f1e6b7bc 100644 --- a/packages/kbn-eslint-plugin-telemetry/helpers/check_node_for_existing_data_test_subj_prop.ts +++ b/packages/kbn-eslint-plugin-telemetry/helpers/check_node_for_existing_data_test_subj_prop.ts @@ -37,7 +37,7 @@ export function checkNodeForExistingDataTestSubjProp( const variable = getScope().variables.find((v) => v.name === name); // the variable definition of the spreaded variable return variable && variable.defs.length > 0 - ? variable.defs[0].node.init?.properties.find((property: TSESTree.Property) => { + ? variable.defs[0].node.init?.properties?.find((property: TSESTree.Property) => { if ('value' in property.key) { return property.key.value === 'data-test-subj'; } 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 36790e883cce1..3dccc75f6f50b 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 @@ -11,8 +11,11 @@ import { getAppName } from './get_app_name'; const SYSTEMPATH = 'systemPath'; const testMap = [ - ['x-pack/plugins/observability/foo/bar/baz/header_actions.tsx', 'o11y'], + ['x-pack/plugins/observability_solution/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'], ]; 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 e483a572be892..1d85e918cf962 100644 --- a/packages/kbn-eslint-plugin-telemetry/helpers/get_app_name.ts +++ b/packages/kbn-eslint-plugin-telemetry/helpers/get_app_name.ts @@ -34,6 +34,9 @@ export function getAppName(fileName: string, cwd: string) { if (!relativePathArray[1]) return ''; if (relativePathArray[1] === 'x-pack') { + if (relativePathArray[3] === 'observability_solution') { + return relativePathArray[4]; + } return relativePathArray[3]; } diff --git a/packages/kbn-io-ts-utils/src/to_json_schema/index.ts b/packages/kbn-io-ts-utils/src/to_json_schema/index.ts index 702c0150d07f7..ee595ae6de6d1 100644 --- a/packages/kbn-io-ts-utils/src/to_json_schema/index.ts +++ b/packages/kbn-io-ts-utils/src/to_json_schema/index.ts @@ -7,7 +7,7 @@ */ import * as t from 'io-ts'; import { mapValues } from 'lodash'; -import { isParsableType } from '../parseable_types'; +import { isParsableType, ParseableType } from '../parseable_types'; interface JSONSchemaObject { type: 'object'; @@ -45,7 +45,7 @@ type JSONSchema = | JSONSchemaAllOf | JSONSchemaAnyOf; -export const toJsonSchema = (type: t.Mixed): JSONSchema => { +export const toJsonSchema = (type: t.Type | ParseableType): JSONSchema => { if (isParsableType(type)) { switch (type._tag) { case 'ArrayType': diff --git a/packages/kbn-language-documentation-popover/package.json b/packages/kbn-language-documentation-popover/package.json index 63060b46c2c1e..a8cc30ac02085 100644 --- a/packages/kbn-language-documentation-popover/package.json +++ b/packages/kbn-language-documentation-popover/package.json @@ -3,5 +3,7 @@ "version": "1.0.0", "license": "SSPL-1.0 OR Elastic License 2.0", "private": true, - "sideEffects": false + "sideEffects": [ + "*.scss" + ] } \ No newline at end of file diff --git a/packages/kbn-optimizer/src/common/obj_helpers.ts b/packages/kbn-optimizer/src/common/obj_helpers.ts index f238eb22e93a1..bf8d60a363f28 100644 --- a/packages/kbn-optimizer/src/common/obj_helpers.ts +++ b/packages/kbn-optimizer/src/common/obj_helpers.ts @@ -8,7 +8,7 @@ export function omit(obj: T, keys: K[]): Omit { const result: any = {}; - for (const [key, value] of Object.entries(obj) as any) { + for (const [key, value] of Object.entries(obj as any) as any) { if (!keys.includes(key)) { result[key] = value; } diff --git a/packages/kbn-reporting/public/job_completion_notifications.test.ts b/packages/kbn-reporting/public/job_completion_notifications.test.ts new file mode 100644 index 0000000000000..6934bd5add406 --- /dev/null +++ b/packages/kbn-reporting/public/job_completion_notifications.test.ts @@ -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 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. + */ + +import { jobCompletionNotifications } from './job_completion_notifications'; + +describe('Job completion notifications', () => { + const { setPendingJobIds, getPendingJobIds, addPendingJobId } = jobCompletionNotifications(); + + afterEach(async () => { + setPendingJobIds([]); + }); + + it('initially contains not job IDs', async () => { + expect(getPendingJobIds()).toEqual([]); + }); + + it('handles multiple job ID additions', async () => { + addPendingJobId('job-123'); + addPendingJobId('job-456'); + addPendingJobId('job-789'); + expect(getPendingJobIds()).toEqual(['job-123', 'job-456', 'job-789']); + }); + + it('handles setting a total of amount of job ID', async () => { + setPendingJobIds(['job-abc', 'job-def', 'job-ghi']); + expect(getPendingJobIds()).toEqual(['job-abc', 'job-def', 'job-ghi']); + }); + + it('able to clear all jobIds', async () => { + setPendingJobIds(['job-abc', 'job-def', 'job-ghi']); + setPendingJobIds([]); + expect(getPendingJobIds()).toEqual([]); + }); +}); diff --git a/packages/kbn-reporting/public/job_completion_notifications.ts b/packages/kbn-reporting/public/job_completion_notifications.ts index 4828caa30e544..c5f1d0f9b3cab 100644 --- a/packages/kbn-reporting/public/job_completion_notifications.ts +++ b/packages/kbn-reporting/public/job_completion_notifications.ts @@ -9,29 +9,44 @@ import { JOB_COMPLETION_NOTIFICATIONS_SESSION_KEY } from '@kbn/reporting-common'; import { JobId } from '@kbn/reporting-common/types'; -const set = (jobs: string[]) => { - sessionStorage.setItem(JOB_COMPLETION_NOTIFICATIONS_SESSION_KEY, JSON.stringify(jobs)); -}; - -const getAll = (): string[] => { - const sessionValue = sessionStorage.getItem(JOB_COMPLETION_NOTIFICATIONS_SESSION_KEY); - return sessionValue ? JSON.parse(sessionValue) : []; -}; +export function jobCompletionNotifications() { + function getPendingJobIds(): JobId[] { + const jobs: JobId[] = []; + // get all current jobs + for (const key in localStorage) { + // check if key belongs to us + if (key.indexOf(JOB_COMPLETION_NOTIFICATIONS_SESSION_KEY) === 0) { + // get jobId from key + const jobId = key.replace(`${JOB_COMPLETION_NOTIFICATIONS_SESSION_KEY}-`, ''); + jobs.push(jobId); + } + } + return jobs; + } -export const add = (jobId: JobId) => { - const jobs = getAll(); - jobs.push(jobId); - set(jobs); -}; + function addPendingJobId(jobId: JobId) { + // write back to local storage, value doesn't matter + localStorage.setItem(`${JOB_COMPLETION_NOTIFICATIONS_SESSION_KEY}-${jobId}`, jobId); + } -export const remove = (jobId: JobId) => { - const jobs = getAll(); - const index = jobs.indexOf(jobId); + function setPendingJobIds(jobIds: JobId[]) { + // clear reporting jobIds + for (const key in localStorage) { + if (key.indexOf(JOB_COMPLETION_NOTIFICATIONS_SESSION_KEY) === 0) { + localStorage.removeItem(key); + } + } - if (!index) { - throw new Error('Unable to find job to remove it'); + // write update jobs back to local storage + for (let j = 0; j < jobIds.length; j++) { + const jobId = jobIds[j]; + localStorage.setItem(`${JOB_COMPLETION_NOTIFICATIONS_SESSION_KEY}-${jobId}`, jobId); + } } - jobs.splice(index, 1); - set(jobs); -}; + return { + getPendingJobIds, + addPendingJobId, + setPendingJobIds, + }; +} diff --git a/packages/kbn-reporting/public/reporting_api_client.ts b/packages/kbn-reporting/public/reporting_api_client.ts index 135294230e295..9086a013f1c76 100644 --- a/packages/kbn-reporting/public/reporting_api_client.ts +++ b/packages/kbn-reporting/public/reporting_api_client.ts @@ -11,17 +11,18 @@ import type { HttpFetchQuery } from '@kbn/core/public'; import { HttpSetup, IUiSettingsClient } from '@kbn/core/public'; import { i18n } from '@kbn/i18n'; import { + INTERNAL_ROUTES, + PUBLIC_ROUTES, REPORTING_MANAGEMENT_HOME, buildKibanaPath, getRedirectAppPath, - INTERNAL_ROUTES, - PUBLIC_ROUTES, } from '@kbn/reporting-common'; import { BaseParams, JobId, ManagementLinkFn, ReportApiJSON } from '@kbn/reporting-common/types'; import rison from '@kbn/rison'; import moment from 'moment'; import { stringify } from 'query-string'; -import { Job, add } from '.'; +import { Job } from '.'; +import { jobCompletionNotifications } from './job_completion_notifications'; /* * For convenience, apps do not have to provide the browserTimezone and Kibana version. @@ -66,6 +67,7 @@ interface IReportingAPI { */ export class ReportingAPIClient implements IReportingAPI { private http: HttpSetup; + private addPendingJobId = jobCompletionNotifications().addPendingJobId; constructor( http: HttpSetup, @@ -182,7 +184,7 @@ export class ReportingAPIClient implements IReportingAPI { body: JSON.stringify({ jobParams: jobParamsRison }), } ); - add(resp.job.id); + this.addPendingJobId(resp.job.id); return new Job(resp.job); } diff --git a/packages/kbn-search-connectors/components/scheduling/connector_scheduling.tsx b/packages/kbn-search-connectors/components/scheduling/connector_scheduling.tsx index cf1f4b2101f5d..68d3f354a14f8 100644 --- a/packages/kbn-search-connectors/components/scheduling/connector_scheduling.tsx +++ b/packages/kbn-search-connectors/components/scheduling/connector_scheduling.tsx @@ -55,7 +55,7 @@ export const SchedulePanel: React.FC = ({ title, description interface ConnectorContentSchedulingProps { children?: React.ReactNode; connector: Connector; - configurationPathOnClick: () => void; + configurationPathOnClick?: () => void; dataTelemetryIdPrefix: string; hasPlatinumLicense: boolean; hasChanges: boolean; diff --git a/packages/kbn-securitysolution-io-ts-alerting-types/src/threat_mapping/index.test.ts b/packages/kbn-securitysolution-io-ts-alerting-types/src/threat_mapping/index.test.ts index 6e2e671dbb029..fb5db89dbb229 100644 --- a/packages/kbn-securitysolution-io-ts-alerting-types/src/threat_mapping/index.test.ts +++ b/packages/kbn-securitysolution-io-ts-alerting-types/src/threat_mapping/index.test.ts @@ -42,6 +42,7 @@ describe('threat_mapping', () => { field: 'field.one', type: 'mapping', value: 'field.one', + // @ts-expect-error upgrade typescript v4.9.5 extra: 'blah', }, ]; @@ -120,6 +121,7 @@ describe('threat_mapping', () => { value: 'field.one', }, ], + // @ts-expect-error upgrade typescript v4.9.5 extra: 'invalid', }, ]; @@ -140,6 +142,7 @@ describe('threat_mapping', () => { field: 'field.one', type: 'mapping', value: 'field.one', + // @ts-expect-error upgrade typescript v4.9.5 extra: 'blah', }, ], diff --git a/packages/kbn-securitysolution-utils/src/add_remove_id_to_item/index.ts b/packages/kbn-securitysolution-utils/src/add_remove_id_to_item/index.ts index 37a58438e62f2..d08b2f54e6e7e 100644 --- a/packages/kbn-securitysolution-utils/src/add_remove_id_to_item/index.ts +++ b/packages/kbn-securitysolution-utils/src/add_remove_id_to_item/index.ts @@ -19,6 +19,7 @@ import { v4 as uuidv4 } from 'uuid'; */ type NotArray = T extends unknown[] ? never : T; export const addIdToItem = (item: NotArray): T => { + // @ts-expect-error upgrade typescript v4.9.5 const maybeId: typeof item & { id?: string } = item; if (maybeId.id != null) { return item; @@ -41,6 +42,7 @@ export const removeIdFromItem = ( }, Exclude > => { + // @ts-expect-error upgrade typescript v4.9.5 const maybeId: typeof item & { id?: string } = item; if (maybeId.id != null) { const { id, ...noId } = maybeId; diff --git a/packages/kbn-server-route-repository/src/test_types.ts b/packages/kbn-server-route-repository/src/test_types.ts index 46e9a258c0b35..4cfd82de450b8 100644 --- a/packages/kbn-server-route-repository/src/test_types.ts +++ b/packages/kbn-server-route-repository/src/test_types.ts @@ -69,11 +69,10 @@ createServerRouteFactory<{}, { options: { tags: string[] } }>()({ }); // Public APIs should be versioned +// @ts-expect-error createServerRouteFactory<{}, { options: { tags: string[] } }>()({ - // @ts-expect-error endpoint: 'GET /api/endpoint_with_params', options: { - // @ts-expect-error tags: [], }, // @ts-expect-error diff --git a/packages/kbn-telemetry-tools/src/tools/ts_program/ts_program.test.ts b/packages/kbn-telemetry-tools/src/tools/ts_program/ts_program.test.ts index 7e15de907e31a..72910fbe99fc4 100644 --- a/packages/kbn-telemetry-tools/src/tools/ts_program/ts_program.test.ts +++ b/packages/kbn-telemetry-tools/src/tools/ts_program/ts_program.test.ts @@ -21,7 +21,7 @@ describe('createKibanaProgram', () => { "fetch": Object { "typeDescriptor": Object { "locale": Object { - "kind": 150, + "kind": 152, "type": "StringKeyword", }, }, diff --git a/packages/kbn-utility-types/src/dot.ts b/packages/kbn-utility-types/src/dot.ts index 7880e1e8dab96..e39ca10b8cc5f 100644 --- a/packages/kbn-utility-types/src/dot.ts +++ b/packages/kbn-utility-types/src/dot.ts @@ -41,7 +41,9 @@ type DotKey< TKey extends keyof TObject & string, TPrefix extends string > = TObject[TKey] extends Array - ? ToArray> + ? TValueType extends Record + ? ToArray> + : never : TObject[TKey] extends Record ? DotObject : { [key in `${TPrefix}${TKey}`]: TObject[TKey] }; diff --git a/packages/shared-ux/page/solution_nav/src/__snapshots__/solution_nav.test.tsx.snap b/packages/shared-ux/page/solution_nav/src/__snapshots__/solution_nav.test.tsx.snap index ab65858bff1ef..01ea4307e9138 100644 --- a/packages/shared-ux/page/solution_nav/src/__snapshots__/solution_nav.test.tsx.snap +++ b/packages/shared-ux/page/solution_nav/src/__snapshots__/solution_nav.test.tsx.snap @@ -36,7 +36,7 @@ exports[`SolutionNav accepts EuiSideNavProps 1`] = ` color="transparent" paddingSize="s" > - - - - - - - - - - = ({ className="kbnSolutionNav__flyout" hideCloseButton={!canBeCollapsed} > -

+ {titleText} {sideNavContent} -
+ )} {canBeCollapsed && ( diff --git a/packages/shared-ux/page/solution_nav/src/with_solution_nav.tsx b/packages/shared-ux/page/solution_nav/src/with_solution_nav.tsx index 2e4879a4093cb..7689a739ebbe9 100644 --- a/packages/shared-ux/page/solution_nav/src/with_solution_nav.tsx +++ b/packages/shared-ux/page/solution_nav/src/with_solution_nav.tsx @@ -76,6 +76,7 @@ export const withSolutionNav =

(WrappedComponent: Compo ...props.pageSideBarProps, minWidth: isSidebarShrunk ? euiTheme.size.xxl : undefined, className: sideBarClasses, + hasEmbellish: !isSidebarShrunk, }; return ( diff --git a/packages/shared-ux/router/impl/routes.tsx b/packages/shared-ux/router/impl/routes.tsx index 58dca46f1c025..80d4da6178ae2 100644 --- a/packages/shared-ux/router/impl/routes.tsx +++ b/packages/shared-ux/router/impl/routes.tsx @@ -30,9 +30,12 @@ export const Routes = ({ if (React.isValidElement(child) && child.type === LegacyRoute) { const path = replace(child?.props.path, match.url + '/', ''); const renderFunction = + // @ts-expect-error upgrade typescript v4.9.5 typeof child?.props.children === 'function' - ? child?.props.children - : child?.props.render; + ? // @ts-expect-error upgrade typescript v4.9.5 + child?.props.children + : // @ts-expect-error upgrade typescript v4.9.5 + child?.props.render; return ( + {/* @ts-expect-error upgrade typescript v4.9.5*/} {(child?.props?.component && ) || (renderFunction && renderFunction()) || children} diff --git a/src/core/server/mocks.ts b/src/core/server/mocks.ts index b76a9c37dd6da..1294bc56ead54 100644 --- a/src/core/server/mocks.ts +++ b/src/core/server/mocks.ts @@ -143,6 +143,7 @@ export type CustomRequestHandlerMock = { }; const createCustomRequestHandlerContextMock = (contextParts: T): CustomRequestHandlerMock => { + // @ts-expect-error upgrade typescript v4.9.5 const mock = Object.entries(contextParts).reduce( (context, [key, value]) => { // @ts-expect-error type matching from inferred types is hard diff --git a/src/dev/build/tasks/fetch_agent_versions_list.ts b/src/dev/build/tasks/fetch_agent_versions_list.ts index fc5e90001bca4..2dc916e734429 100644 --- a/src/dev/build/tasks/fetch_agent_versions_list.ts +++ b/src/dev/build/tasks/fetch_agent_versions_list.ts @@ -72,7 +72,7 @@ export const FetchAgentVersionsList: Task = { const versionsList = await getAvailableVersions(log); const AGENT_VERSION_BUILD_FILE = 'x-pack/plugins/fleet/target/agent_versions_list.json'; - if (versionsList !== []) { + if (versionsList.length !== 0) { log.info(`Writing versions list to ${AGENT_VERSION_BUILD_FILE}`); await write( build.resolvePath(AGENT_VERSION_BUILD_FILE), 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 15d3eb058bcf3..b04178ec71c6f 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 @@ -61,9 +61,6 @@ x-pack/plugins/lens/public/datatable_visualization/expression.tsx kibana-app x-pack/plugins/lens/public/datatable_visualization/index.ts kibana-app x-pack/plugins/lens/public/datatable_visualization/visualization.test.tsx kibana-app x-pack/plugins/lens/public/datatable_visualization/visualization.tsx kibana-app -x-pack/plugins/lens/public/debounced_component/debounced_component.test.tsx kibana-app -x-pack/plugins/lens/public/debounced_component/debounced_component.tsx kibana-app -x-pack/plugins/lens/public/debounced_component/index.ts kibana-app x-pack/plugins/lens/public/drag_drop/drag_drop.test.tsx kibana-app x-pack/plugins/lens/public/drag_drop/drag_drop.tsx kibana-app x-pack/plugins/lens/public/drag_drop/index.ts kibana-app diff --git a/src/dev/license_checker/config.ts b/src/dev/license_checker/config.ts index 319d66567336b..e21de7b953d0a 100644 --- a/src/dev/license_checker/config.ts +++ b/src/dev/license_checker/config.ts @@ -85,7 +85,7 @@ export const LICENSE_OVERRIDES = { 'jsts@1.6.2': ['Eclipse Distribution License - v 1.0'], // cf. https://github.com/bjornharrtell/jsts '@mapbox/jsonlint-lines-primitives@2.0.2': ['MIT'], // license in readme https://github.com/tmcw/jsonlint '@elastic/ems-client@8.5.1': ['Elastic License 2.0'], - '@elastic/eui@93.1.1': ['SSPL-1.0 OR Elastic License 2.0'], + '@elastic/eui@93.2.0': ['SSPL-1.0 OR Elastic License 2.0'], 'language-subtag-registry@0.3.21': ['CC-BY-4.0'], // retired ODC‑By license https://github.com/mattcg/language-subtag-registry 'buffers@0.1.1': ['MIT'], // license in importing module https://www.npmjs.com/package/binary '@bufbuild/protobuf@1.2.1': ['Apache-2.0'], // license (Apache-2.0 AND BSD-3-Clause) diff --git a/src/dev/storybook/aliases.ts b/src/dev/storybook/aliases.ts index 208b4c0304b20..fffa53da5d926 100644 --- a/src/dev/storybook/aliases.ts +++ b/src/dev/storybook/aliases.ts @@ -11,7 +11,7 @@ // 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 = { - apm: 'x-pack/plugins/apm/.storybook', + apm: 'x-pack/plugins/observability_solution/apm/.storybook', canvas: 'x-pack/plugins/canvas/storybook', cases: 'packages/kbn-cases-components/.storybook', cell_actions: 'packages/kbn-cell-actions/.storybook', @@ -42,12 +42,12 @@ export const storybookAliases = { fleet: 'x-pack/plugins/fleet/.storybook', grouping: 'packages/kbn-securitysolution-grouping/.storybook', home: 'src/plugins/home/.storybook', - infra: 'x-pack/plugins/infra/.storybook', + infra: 'x-pack/plugins/observability_solution/infra/.storybook', kibana_react: 'src/plugins/kibana_react/.storybook', lists: 'x-pack/plugins/lists/.storybook', logs_explorer: 'x-pack/plugins/observability_solution/logs_explorer/.storybook', management: 'packages/kbn-management/storybook/config', - observability: 'x-pack/plugins/observability/.storybook', + observability: 'x-pack/plugins/observability_solution/observability/.storybook', observability_ai_assistant: 'x-pack/plugins/observability_solution/observability_ai_assistant/.storybook', presentation: 'src/plugins/presentation_util/storybook', diff --git a/src/plugins/chart_expressions/expression_legacy_metric/public/__stories__/metric_renderer.stories.tsx b/src/plugins/chart_expressions/expression_legacy_metric/public/__stories__/metric_renderer.stories.tsx index ba2835806f4f5..72e52ef303f4c 100644 --- a/src/plugins/chart_expressions/expression_legacy_metric/public/__stories__/metric_renderer.stories.tsx +++ b/src/plugins/chart_expressions/expression_legacy_metric/public/__stories__/metric_renderer.stories.tsx @@ -10,7 +10,7 @@ import React from 'react'; import { storiesOf } from '@storybook/react'; import { from } from 'rxjs'; import { ExpressionValueVisDimension } from '@kbn/visualizations-plugin/common'; -import { Datatable, DatatableColumn } from '@kbn/expressions-plugin/common'; +import { Datatable, DatatableColumn, TextAlignment } from '@kbn/expressions-plugin/common'; import { Render } from '@kbn/presentation-util-plugin/public/__stories__'; import { ColorMode, CustomPaletteState } from '@kbn/charts-plugin/common'; import { getFormatService } from '../__mocks__/format_service'; @@ -209,7 +209,11 @@ storiesOf('renderers/visMetric', module) }, labels: { show: false, - style: { spec: { fontSize: '60px', align: 'left' }, type: 'style', css: '' }, + style: { + spec: { fontSize: '60px', textAlign: TextAlignment.LEFT }, + type: 'style', + css: '', + }, position: LabelPosition.TOP, }, }, diff --git a/src/plugins/chart_expressions/expression_legacy_metric/public/components/with_auto_scale.tsx b/src/plugins/chart_expressions/expression_legacy_metric/public/components/with_auto_scale.tsx index 2f67094fdc4ed..36093abaddf5a 100644 --- a/src/plugins/chart_expressions/expression_legacy_metric/public/components/with_auto_scale.tsx +++ b/src/plugins/chart_expressions/expression_legacy_metric/public/components/with_auto_scale.tsx @@ -63,10 +63,13 @@ function hasAutoscaleProps(props: T): props is T & AutoScaleProps { return false; } -function getWrappedComponentProps(props: T) { +function getWrappedComponentProps(props: T): T { if (hasAutoscaleProps(props)) { - const { autoScaleParams, renderComplete, ...rest } = props; - return rest; + return { + ...props, + autoScaleParams: undefined, + renderComplete: undefined, + }; } return props; @@ -132,7 +135,7 @@ export function withAutoScale(WrappedComponent: ComponentType) { : {}), }} > - + ); diff --git a/src/plugins/controls/kibana.jsonc b/src/plugins/controls/kibana.jsonc index 14718f533a8f6..bd65ecc2d0b6f 100644 --- a/src/plugins/controls/kibana.jsonc +++ b/src/plugins/controls/kibana.jsonc @@ -17,6 +17,7 @@ "unifiedSearch", "uiActions" ], - "extraPublicDirs": ["common"] + "extraPublicDirs": ["common"], + "requiredBundles": ["kibanaUtils"] } } diff --git a/src/plugins/controls/public/control_group/component/control_group_component.tsx b/src/plugins/controls/public/control_group/component/control_group_component.tsx index e77e88f6e900e..20d599aed0eb4 100644 --- a/src/plugins/controls/public/control_group/component/control_group_component.tsx +++ b/src/plugins/controls/public/control_group/component/control_group_component.tsx @@ -8,34 +8,44 @@ import '../control_group.scss'; -import { - arrayMove, - SortableContext, - rectSortingStrategy, - sortableKeyboardCoordinates, -} from '@dnd-kit/sortable'; +import classNames from 'classnames'; +import React, { useEffect, useMemo, useState } from 'react'; +import { TypedUseSelectorHook, useSelector } from 'react-redux'; + import { closestCenter, DndContext, DragEndEvent, DragOverlay, KeyboardSensor, + LayoutMeasuringStrategy, PointerSensor, useSensor, useSensors, - LayoutMeasuringStrategy, } from '@dnd-kit/core'; -import classNames from 'classnames'; -import React, { useMemo, useState } from 'react'; -import { TypedUseSelectorHook, useSelector } from 'react-redux'; -import { EuiButtonIcon, EuiFlexGroup, EuiFlexItem, EuiPanel } from '@elastic/eui'; - +import { + arrayMove, + rectSortingStrategy, + SortableContext, + sortableKeyboardCoordinates, +} from '@dnd-kit/sortable'; +import { + EuiButtonEmpty, + EuiButtonIcon, + EuiCheckbox, + EuiFlexGroup, + EuiFlexItem, + EuiIcon, + EuiPanel, + EuiText, + EuiTourStep, +} from '@elastic/eui'; import { ViewMode } from '@kbn/embeddable-plugin/public'; -import { ControlGroupReduxState } from '../types'; import { ControlGroupStrings } from '../control_group_strings'; -import { ControlClone, SortableControl } from './control_group_sortable_item'; import { useControlGroupContainer } from '../embeddable/control_group_container'; +import { ControlGroupReduxState } from '../types'; +import { ControlClone, SortableControl } from './control_group_sortable_item'; const contextSelect = useSelector as TypedUseSelectorHook; @@ -47,6 +57,12 @@ export const ControlGroup = () => { const viewMode = contextSelect((state) => state.explicitInput.viewMode); const controlStyle = contextSelect((state) => state.explicitInput.controlStyle); const showAddButton = contextSelect((state) => state.componentState.showAddButton); + const controlWithInvalidSelectionsId = contextSelect( + (state) => state.componentState.controlWithInvalidSelectionsId + ); + const [tourStepOpen, setTourStepOpen] = useState(true); + const [suppressTourChecked, setSuppressTourChecked] = useState(false); + const [renderTourStep, setRenderTourStep] = useState(false); const isEditable = viewMode === ViewMode.EDIT; @@ -61,6 +77,87 @@ export const ControlGroup = () => { [panels] ); + useEffect(() => { + /** + * This forces the tour step to get unmounted so that it can attach to the new invalid + * control - otherwise, the anchor will remain attached to the old invalid control + */ + setRenderTourStep(false); + setTimeout(() => setRenderTourStep(true), 100); + }, [controlWithInvalidSelectionsId]); + + const tourStep = useMemo(() => { + if ( + !renderTourStep || + !controlGroup.canShowInvalidSelectionsWarning() || + !tourStepOpen || + !controlWithInvalidSelectionsId + ) { + return null; + } + const invalidControlType = panels[controlWithInvalidSelectionsId].type; + + return ( + {}} + panelPaddingSize="m" + anchorPosition="downCenter" + panelClassName="controlGroup--invalidSelectionsTour" + anchor={`#controlFrame--${controlWithInvalidSelectionsId}`} + title={ + + + + + {ControlGroupStrings.invalidControlWarning.getTourTitle()} + + } + content={ControlGroupStrings.invalidControlWarning.getTourContent(invalidControlType)} + footerAction={[ + setSuppressTourChecked(e.target.checked)} + label={ + + {ControlGroupStrings.invalidControlWarning.getSuppressTourLabel()} + + } + />, + { + setTourStepOpen(false); + if (suppressTourChecked) { + controlGroup.suppressInvalidSelectionsWarning(); + } + }} + > + {ControlGroupStrings.invalidControlWarning.getDismissButton()} + , + ]} + /> + ); + }, [ + panels, + controlGroup, + tourStepOpen, + renderTourStep, + suppressTourChecked, + controlWithInvalidSelectionsId, + ]); + const [draggingId, setDraggingId] = useState(null); const draggingIndex = useMemo( () => (draggingId ? idsInOrder.indexOf(draggingId) : -1), @@ -117,6 +214,7 @@ export const ControlGroup = () => { alignItems="center" data-test-subj="controls-group" > + {tourStep} setDraggingId(active.id)} diff --git a/src/plugins/controls/public/control_group/control_group.scss b/src/plugins/controls/public/control_group/control_group.scss index d1fb6a8d495de..4ad7753a9cb53 100644 --- a/src/plugins/controls/public/control_group/control_group.scss +++ b/src/plugins/controls/public/control_group/control_group.scss @@ -199,3 +199,12 @@ $controlMinWidth: $euiSize * 14; top: (-$euiSizeXS) !important; } } + +.controlGroup--invalidSelectionsTour { + .controlGroup--suppressTourCheckbox { + height: 22px; + &Label { + font-weight: $euiFontWeightMedium; + } + } +} \ No newline at end of file diff --git a/src/plugins/controls/public/control_group/control_group_strings.ts b/src/plugins/controls/public/control_group/control_group_strings.ts index 996d86f7d676d..7b1b3ff3c1169 100644 --- a/src/plugins/controls/public/control_group/control_group_strings.ts +++ b/src/plugins/controls/public/control_group/control_group_strings.ts @@ -10,6 +10,42 @@ import { i18n } from '@kbn/i18n'; import { RANGE_SLIDER_CONTROL } from '../range_slider'; export const ControlGroupStrings = { + invalidControlWarning: { + getTourTitle: () => + i18n.translate('controls.controlGroup.invalidControlWarning.tourStepTitle.default', { + defaultMessage: 'Invalid selections are no longer ignored', + }), + getTourContent: (controlType: string) => { + switch (controlType) { + case RANGE_SLIDER_CONTROL: { + return i18n.translate( + 'controls.controlGroup.invalidControlWarning.tourStepContent.rangeSlider', + { + defaultMessage: 'The selected range is returning no results. Try changing the range.', + } + ); + } + default: { + return i18n.translate( + 'controls.controlGroup.invalidControlWarning.tourStepContent.default', + { + defaultMessage: + 'Some selections are returning no results. Try changing the selections.', + } + ); + } + } + }, + + getDismissButton: () => + i18n.translate('controls.controlGroup.invalidControlWarning.dismissButtonLabel', { + defaultMessage: 'Dismiss', + }), + getSuppressTourLabel: () => + i18n.translate('controls.controlGroup.invalidControlWarning.suppressTourLabel', { + defaultMessage: "Don't show again", + }), + }, manageControl: { getFlyoutCreateTitle: () => i18n.translate('controls.controlGroup.manageControl.createFlyoutTitle', { @@ -258,8 +294,7 @@ export const ControlGroupStrings = { }), getValidateSelectionsSubTitle: () => i18n.translate('controls.controlGroup.management.validate.subtitle', { - defaultMessage: - 'Automatically ignore any control selection that would result in no data.', + defaultMessage: 'Highlight control selections that result in no data.', }), }, controlChaining: { diff --git a/src/plugins/controls/public/control_group/embeddable/control_group_container.tsx b/src/plugins/controls/public/control_group/embeddable/control_group_container.tsx index dcb74fd606154..0663d3a3d9c61 100644 --- a/src/plugins/controls/public/control_group/embeddable/control_group_container.tsx +++ b/src/plugins/controls/public/control_group/embeddable/control_group_container.tsx @@ -5,6 +5,7 @@ * in compliance with, at your election, the Elastic License 2.0 or the Server * Side Public License, v 1. */ + import { compareFilters, COMPARE_ALL_OPTIONS, Filter, uniqFilters } from '@kbn/es-query'; import { isEqual, pick } from 'lodash'; import React, { createContext, useContext } from 'react'; @@ -24,6 +25,7 @@ import { persistableControlGroupInputKeys, } from '../../../common'; import { pluginServices } from '../../services'; +import { ControlsStorageService } from '../../services/storage/types'; import { ControlEmbeddable, ControlInput, ControlOutput } from '../../types'; import { ControlGroup } from '../component/control_group_component'; import { openAddDataControlFlyout } from '../editor/open_add_data_control_flyout'; @@ -86,11 +88,15 @@ export class ControlGroupContainer extends Container< private initialized$ = new BehaviorSubject(false); + private storageService: ControlsStorageService; + private subscriptions: Subscription = new Subscription(); private domNode?: HTMLElement; private recalculateFilters$: Subject; private relevantDataViewId?: string; private lastUsedDataViewId?: string; + private invalidSelectionsState: { [childId: string]: boolean }; + public diffingSubscription: Subscription = new Subscription(); // state management @@ -126,6 +132,8 @@ export class ControlGroupContainer extends Container< ControlGroupChainingSystems[initialInput.chainingSystem]?.getContainerSettings(initialInput) ); + ({ storage: this.storageService } = pluginServices.getServices()); + this.recalculateFilters$ = new Subject(); this.onFiltersPublished$ = new Subject(); this.onControlRemoved$ = new Subject(); @@ -153,6 +161,10 @@ export class ControlGroupContainer extends Container< this.store = reduxEmbeddableTools.store; + this.invalidSelectionsState = this.getChildIds().reduce((prev, id) => { + return { ...prev, [id]: false }; + }, {}); + // when all children are ready setup subscriptions this.untilAllChildrenReady().then(() => { this.recalculateDataViews(); @@ -164,6 +176,32 @@ export class ControlGroupContainer extends Container< this.fieldFilterPredicate = fieldFilterPredicate; } + public canShowInvalidSelectionsWarning = () => + this.storageService.getShowInvalidSelectionWarning() ?? true; + + public suppressInvalidSelectionsWarning = () => { + this.storageService.setShowInvalidSelectionWarning(false); + }; + + public reportInvalidSelections = ({ + id, + hasInvalidSelections, + }: { + id: string; + hasInvalidSelections: boolean; + }) => { + this.invalidSelectionsState = { ...this.invalidSelectionsState, [id]: hasInvalidSelections }; + + const childrenWithInvalidSelections = cachedChildEmbeddableOrder( + this.getInput().panels + ).idsInOrder.filter((childId) => { + return this.invalidSelectionsState[childId]; + }); + this.dispatch.setControlWithInvalidSelectionsId( + childrenWithInvalidSelections.length > 0 ? childrenWithInvalidSelections[0] : undefined + ); + }; + private setupSubscriptions = () => { /** * refresh control order cache and make all panels refreshInputFromParent whenever panel orders change @@ -201,7 +239,9 @@ export class ControlGroupContainer extends Container< * debounce output recalculation */ this.subscriptions.add( - this.recalculateFilters$.pipe(debounceTime(10)).subscribe(() => this.recalculateFilters()) + this.recalculateFilters$.pipe(debounceTime(10)).subscribe(() => { + this.recalculateFilters(); + }) ); }; @@ -211,9 +251,14 @@ export class ControlGroupContainer extends Container< } = this.getState(); if (!persistableControlGroupInputIsEqual(this.getPersistableInput(), lastSavedInput)) { this.updateInput(lastSavedInput); + this.reload(); // this forces the children to update their inputs + perform validation as necessary } } + public reload() { + super.reload(); + } + public getPersistableInput: () => PersistableControlGroupInput & { id: string } = () => { const input = this.getInput(); return pick(input, [...persistableControlGroupInputKeys, 'id']); @@ -284,13 +329,14 @@ export class ControlGroupContainer extends Container< private recalculateFilters = () => { const allFilters: Filter[] = []; let timeslice; - Object.values(this.children).map((child) => { + Object.values(this.children).map((child: ControlEmbeddable) => { const childOutput = child.getOutput() as ControlOutput; allFilters.push(...(childOutput?.filters ?? [])); if (childOutput.timeslice) { timeslice = childOutput.timeslice; } }); + // if filters are different, publish them if ( !compareFilters(this.output.filters ?? [], allFilters ?? [], COMPARE_ALL_OPTIONS) || diff --git a/src/plugins/controls/public/control_group/state/control_group_reducers.ts b/src/plugins/controls/public/control_group/state/control_group_reducers.ts index 617a708fb0fe2..313b21af5745b 100644 --- a/src/plugins/controls/public/control_group/state/control_group_reducers.ts +++ b/src/plugins/controls/public/control_group/state/control_group_reducers.ts @@ -19,6 +19,12 @@ export const controlGroupReducers = { ) => { state.componentState.lastSavedInput = action.payload; }, + setControlWithInvalidSelectionsId: ( + state: WritableDraft, + action: PayloadAction + ) => { + state.componentState.controlWithInvalidSelectionsId = action.payload; + }, setControlStyle: ( state: WritableDraft, action: PayloadAction diff --git a/src/plugins/controls/public/control_group/types.ts b/src/plugins/controls/public/control_group/types.ts index 699b003097fe1..c48aee3f1ace9 100644 --- a/src/plugins/controls/public/control_group/types.ts +++ b/src/plugins/controls/public/control_group/types.ts @@ -42,6 +42,7 @@ export interface ControlGroupSettings { export type ControlGroupComponentState = ControlGroupSettings & { lastSavedInput: PersistableControlGroupInput; + controlWithInvalidSelectionsId?: string; }; export { diff --git a/src/plugins/controls/public/options_list/components/options_list.scss b/src/plugins/controls/public/options_list/components/options_list.scss index 4dca925e952ce..fc1cdf68e3fec 100644 --- a/src/plugins/controls/public/options_list/components/options_list.scss +++ b/src/plugins/controls/public/options_list/components/options_list.scss @@ -15,14 +15,16 @@ font-weight: $euiFontWeightRegular; } - .optionsList__filterValid { + .optionsList__selections { + overflow: hidden !important; + } + + .optionsList__filter { font-weight: $euiFontWeightMedium; } .optionsList__filterInvalid { - color: $euiTextSubduedColor; - text-decoration: line-through; - font-weight: $euiFontWeightRegular; + color: $euiColorWarningText; } .optionsList__negateLabel { @@ -74,12 +76,11 @@ } .optionsList-control-ignored-selection-title { - padding-left: $euiSizeS; + padding-left: $euiSizeM; } .optionsList__selectionInvalid { - text-decoration: line-through; - color: $euiTextSubduedColor; + color: $euiColorWarningText; } .optionslist--loadingMoreGroupLabel { diff --git a/src/plugins/controls/public/options_list/components/options_list_control.test.tsx b/src/plugins/controls/public/options_list/components/options_list_control.test.tsx index 5bfe3edd16c57..65b94fc240eac 100644 --- a/src/plugins/controls/public/options_list/components/options_list_control.test.tsx +++ b/src/plugins/controls/public/options_list/components/options_list_control.test.tsx @@ -8,9 +8,7 @@ import React from 'react'; -import { mountWithIntl } from '@kbn/test-jest-helpers'; -import { findTestSubject } from '@elastic/eui/lib/test'; - +import { render } from '@testing-library/react'; import { OptionsListEmbeddableContext } from '../embeddable/options_list_embeddable'; import { OptionsListComponentState, OptionsListReduxState } from '../types'; import { ControlOutput, OptionsListEmbeddableInput } from '../..'; @@ -37,7 +35,7 @@ describe('Options list control', () => { output: options?.output ?? {}, } as Partial); - return mountWithIntl( + return render( @@ -48,15 +46,15 @@ describe('Options list control', () => { const control = await mountComponent({ explicitInput: { id: 'testExists', exclude: false, existsSelected: true }, }); - const existsOption = findTestSubject(control, 'optionsList-control-testExists'); - expect(existsOption.text()).toBe('Exists'); + const existsOption = control.getByTestId('optionsList-control-testExists'); + expect(existsOption).toHaveTextContent('Exists'); }); test('if exclude = true and existsSelected = true, then the option should read "Does not exist"', async () => { const control = await mountComponent({ explicitInput: { id: 'testDoesNotExist', exclude: true, existsSelected: true }, }); - const existsOption = findTestSubject(control, 'optionsList-control-testDoesNotExist'); - expect(existsOption.text()).toBe('DOES NOT Exist'); + const existsOption = control.getByTestId('optionsList-control-testDoesNotExist'); + expect(existsOption).toHaveTextContent('DOES NOT Exist'); }); }); diff --git a/src/plugins/controls/public/options_list/components/options_list_control.tsx b/src/plugins/controls/public/options_list/components/options_list_control.tsx index 5a358b29c6196..4d2e41c3f7fa7 100644 --- a/src/plugins/controls/public/options_list/components/options_list_control.tsx +++ b/src/plugins/controls/public/options_list/components/options_list_control.tsx @@ -11,7 +11,16 @@ import classNames from 'classnames'; import { debounce, isEmpty } from 'lodash'; import React, { useCallback, useEffect, useMemo, useState } from 'react'; -import { EuiFilterButton, EuiFilterGroup, EuiInputPopover } from '@elastic/eui'; +import { + EuiFilterButton, + EuiFilterGroup, + EuiFlexGroup, + EuiFlexItem, + EuiInputPopover, + EuiToken, + EuiToolTip, + htmlIdGenerator, +} from '@elastic/eui'; import { MAX_OPTIONS_LIST_REQUEST_SIZE } from '../types'; import { OptionsListStrings } from './options_list_strings'; @@ -31,16 +40,16 @@ export const OptionsListControl = ({ loadMoreSubject: Subject; }) => { const optionsList = useOptionsList(); - + const popoverId = useMemo(() => htmlIdGenerator()(), []); const error = optionsList.select((state) => state.componentState.error); const isPopoverOpen = optionsList.select((state) => state.componentState.popoverOpen); - const validSelections = optionsList.select((state) => state.componentState.validSelections); const invalidSelections = optionsList.select((state) => state.componentState.invalidSelections); const fieldSpec = optionsList.select((state) => state.componentState.field); const id = optionsList.select((state) => state.explicitInput.id); const exclude = optionsList.select((state) => state.explicitInput.exclude); const fieldName = optionsList.select((state) => state.explicitInput.fieldName); + const fieldTitle = optionsList.select((state) => state.explicitInput.title); const placeholder = optionsList.select((state) => state.explicitInput.placeholder); const controlStyle = optionsList.select((state) => state.explicitInput.controlStyle); const singleSelect = optionsList.select((state) => state.explicitInput.singleSelect); @@ -90,74 +99,110 @@ export const OptionsListControl = ({ [loadMoreSubject] ); - const { hasSelections, selectionDisplayNode, validSelectionsCount } = useMemo(() => { - const delimiter = OptionsListStrings.control.getSeparator(fieldSpec?.type); + const delimiter = useMemo( + () => OptionsListStrings.control.getSeparator(fieldSpec?.type), + [fieldSpec?.type] + ); + const { hasSelections, selectionDisplayNode, selectedOptionsCount } = useMemo(() => { return { - hasSelections: !isEmpty(validSelections) || !isEmpty(invalidSelections), - validSelectionsCount: validSelections?.length, + hasSelections: !isEmpty(selectedOptions), + selectedOptionsCount: selectedOptions?.length, selectionDisplayNode: ( - <> - {exclude && ( - <> - - {existsSelected - ? OptionsListStrings.control.getExcludeExists() - : OptionsListStrings.control.getNegate()} - {' '} - - )} - {existsSelected ? ( - - {OptionsListStrings.controlAndPopover.getExists(+Boolean(exclude))} - - ) : ( - <> - {validSelections?.length ? ( - - {validSelections.map((value) => fieldFormatter(value)).join(delimiter)} - - ) : null} - {validSelections?.length && invalidSelections?.length ? delimiter : null} - {invalidSelections?.length ? ( - - {invalidSelections.map((value) => fieldFormatter(value)).join(delimiter)} + + +

+ {exclude && ( + <> + + {existsSelected + ? OptionsListStrings.control.getExcludeExists() + : OptionsListStrings.control.getNegate()} + {' '} + + )} + {existsSelected ? ( + + {OptionsListStrings.controlAndPopover.getExists(+Boolean(exclude))} - ) : null} - + ) : ( + <> + {selectedOptions?.length + ? selectedOptions.map((value: string, i, { length }) => { + const text = `${fieldFormatter(value)}${ + i + 1 === length ? '' : delimiter + } `; + const isInvalid = invalidSelections?.includes(value); + return ( + + {text} + + ); + }) + : null} + + )} +
+ + {invalidSelections && invalidSelections.length > 0 && ( + + + + + )} - + ), }; - }, [ - exclude, - existsSelected, - validSelections, - invalidSelections, - fieldFormatter, - fieldSpec?.type, - ]); + }, [selectedOptions, exclude, existsSelected, fieldFormatter, delimiter, invalidSelections]); const button = ( - optionsList.dispatch.setPopoverOpen(!isPopoverOpen)} - isSelected={isPopoverOpen} - numActiveFilters={validSelectionsCount} - hasActiveFilters={Boolean(validSelectionsCount)} - textProps={{ className: 'optionsList--selectionText' }} - > - {hasSelections || existsSelected - ? selectionDisplayNode - : placeholder ?? OptionsListStrings.control.getPlaceholder()} - + <> + optionsList.dispatch.setPopoverOpen(!isPopoverOpen)} + isSelected={isPopoverOpen} + numActiveFilters={selectedOptionsCount} + hasActiveFilters={Boolean(selectedOptionsCount)} + textProps={{ className: 'optionsList--selectionText' }} + aria-label={fieldTitle ?? fieldName} + aria-expanded={isPopoverOpen} + aria-controls={popoverId} + role="combobox" + > + {hasSelections || existsSelected + ? selectionDisplayNode + : placeholder ?? OptionsListStrings.control.getPlaceholder()} + + ); return error ? ( @@ -169,6 +214,7 @@ export const OptionsListControl = ({ })} > optionsList.dispatch.setPopoverOpen(false)} panelClassName="optionsList__popoverOverride" - panelProps={{ 'aria-label': OptionsListStrings.popover.getAriaLabel(fieldName) }} + panelProps={{ + 'aria-label': OptionsListStrings.popover.getAriaLabel(fieldTitle ?? fieldName), + }} > { output: options?.output ?? {}, } as Partial); - return mountWithIntl( + return render( ); } - const clickShowOnlySelections = (popover: ReactWrapper) => { - const showOnlySelectedButton = findTestSubject( - popover, - 'optionsList-control-show-only-selected' - ); - showOnlySelectedButton.simulate('click'); + const clickShowOnlySelections = (popover: RenderResult) => { + const showOnlySelectedButton = popover.getByTestId('optionsList-control-show-only-selected'); + userEvent.click(showOnlySelectedButton); }; test('no available options', async () => { const popover = await mountComponent({ componentState: { availableOptions: [] } }); - const availableOptionsDiv = findTestSubject(popover, 'optionsList-control-available-options'); - const noOptionsDiv = findTestSubject( - availableOptionsDiv, + const availableOptionsDiv = popover.getByTestId('optionsList-control-available-options'); + const noOptionsDiv = within(availableOptionsDiv).getByTestId( 'optionsList-control-noSelectionsMessage' ); - expect(noOptionsDiv.exists()).toBeTruthy(); + expect(noOptionsDiv).toBeInTheDocument(); }); describe('show only selected', () => { test('display error message when the show only selected toggle is true but there are no selections', async () => { const popover = await mountComponent(); clickShowOnlySelections(popover); - const availableOptionsDiv = findTestSubject(popover, 'optionsList-control-available-options'); - const noSelectionsDiv = findTestSubject( - availableOptionsDiv, + const availableOptionsDiv = popover.getByTestId('optionsList-control-available-options'); + const noSelectionsDiv = within(availableOptionsDiv).getByTestId( 'optionsList-control-selectionsEmptyMessage' ); - expect(noSelectionsDiv.exists()).toBeTruthy(); + expect(noSelectionsDiv).toBeInTheDocument(); }); test('show only selected options', async () => { @@ -85,11 +79,11 @@ describe('Options list popover', () => { explicitInput: { selectedOptions: selections }, }); clickShowOnlySelections(popover); - const availableOptions = popover.find( - '[data-test-subj="optionsList-control-available-options"] ul' - ); - availableOptions.children().forEach((child, i) => { - expect(child.text()).toBe(`${selections[i]}. Checked option.`); + const availableOptionsDiv = popover.getByTestId('optionsList-control-available-options'); + const availableOptionsList = within(availableOptionsDiv).getByRole('listbox'); + const availableOptions = within(availableOptionsList).getAllByRole('option'); + availableOptions.forEach((child, i) => { + expect(child).toHaveTextContent(`${selections[i]}. Checked option.`); }); }); @@ -99,16 +93,16 @@ describe('Options list popover', () => { explicitInput: { selectedOptions: selections }, componentState: { field: { type: 'string' } as any as FieldSpec }, }); - let searchBox = findTestSubject(popover, 'optionsList-control-search-input'); - let sortButton = findTestSubject(popover, 'optionsListControl__sortingOptionsButton'); - expect(searchBox.prop('disabled')).toBeFalsy(); - expect(sortButton.prop('disabled')).toBeFalsy(); + let searchBox = popover.getByTestId('optionsList-control-search-input'); + let sortButton = popover.getByTestId('optionsListControl__sortingOptionsButton'); + expect(searchBox).not.toBeDisabled(); + expect(sortButton).not.toBeDisabled(); clickShowOnlySelections(popover); - searchBox = findTestSubject(popover, 'optionsList-control-search-input'); - sortButton = findTestSubject(popover, 'optionsListControl__sortingOptionsButton'); - expect(searchBox.prop('disabled')).toBe(true); - expect(sortButton.prop('disabled')).toBe(true); + searchBox = popover.getByTestId('optionsList-control-search-input'); + sortButton = popover.getByTestId('optionsListControl__sortingOptionsButton'); + expect(searchBox).toBeDisabled(); + expect(sortButton).toBeDisabled(); }); }); @@ -124,23 +118,16 @@ describe('Options list popover', () => { invalidSelections: ['woof'], }, }); - const validSelection = findTestSubject(popover, 'optionsList-control-selection-bark'); - expect(validSelection.find('.euiSelectableListItem__text').text()).toEqual( - 'bark. Checked option.' - ); + const validSelection = popover.getByTestId('optionsList-control-selection-bark'); + expect(validSelection).toHaveTextContent('bark. Checked option.'); expect( - validSelection.find('div[data-test-subj="optionsList-document-count-badge"]').text().trim() - ).toEqual('75'); - const title = findTestSubject(popover, 'optionList__ignoredSelectionLabel').text(); - expect(title).toEqual('Ignored selection'); - const invalidSelection = findTestSubject( - popover, - 'optionsList-control-ignored-selection-woof' - ); - expect(invalidSelection.find('.euiSelectableListItem__text').text()).toEqual( - 'woof. Checked option.' - ); - expect(invalidSelection.hasClass('optionsList__selectionInvalid')).toBe(true); + within(validSelection).getByTestId('optionsList-document-count-badge') + ).toHaveTextContent('75'); + const title = popover.getByTestId('optionList__invalidSelectionLabel'); + expect(title).toHaveTextContent('Invalid selection'); + const invalidSelection = popover.getByTestId('optionsList-control-invalid-selection-woof'); + expect(invalidSelection).toHaveTextContent('woof. Checked option.'); + expect(invalidSelection).toHaveClass('optionsList__selectionInvalid'); }); test('test title when multiple invalid selections', async () => { @@ -152,28 +139,28 @@ describe('Options list popover', () => { invalidSelections: ['woof', 'meow'], }, }); - const title = findTestSubject(popover, 'optionList__ignoredSelectionLabel').text(); - expect(title).toEqual('Ignored selections'); + const title = popover.getByTestId('optionList__invalidSelectionLabel'); + expect(title).toHaveTextContent('Invalid selections'); }); }); describe('include/exclude toggle', () => { test('should default to exclude = false', async () => { const popover = await mountComponent(); - const includeButton = findTestSubject(popover, 'optionsList__includeResults'); - const excludeButton = findTestSubject(popover, 'optionsList__excludeResults'); - expect(includeButton.prop('aria-pressed')).toBe(true); - expect(excludeButton.prop('aria-pressed')).toBe(false); + const includeButton = popover.getByTestId('optionsList__includeResults'); + const excludeButton = popover.getByTestId('optionsList__excludeResults'); + expect(includeButton).toHaveAttribute('aria-pressed', 'true'); + expect(excludeButton).toHaveAttribute('aria-pressed', 'false'); }); test('if exclude = true, select appropriate button in button group', async () => { const popover = await mountComponent({ explicitInput: { exclude: true }, }); - const includeButton = findTestSubject(popover, 'optionsList__includeResults'); - const excludeButton = findTestSubject(popover, 'optionsList__excludeResults'); - expect(includeButton.prop('aria-pressed')).toBe(false); - expect(excludeButton.prop('aria-pressed')).toBe(true); + const includeButton = popover.getByTestId('optionsList__includeResults'); + const excludeButton = popover.getByTestId('optionsList__excludeResults'); + expect(includeButton).toHaveAttribute('aria-pressed', 'false'); + expect(excludeButton).toHaveAttribute('aria-pressed', 'true'); }); }); @@ -182,14 +169,16 @@ describe('Options list popover', () => { const popover = await mountComponent({ explicitInput: { existsSelected: true }, }); - const woofOption = findTestSubject(popover, 'optionsList-control-selection-woof'); - woofOption.simulate('click'); + const woofOption = popover.getByTestId('optionsList-control-selection-woof'); + userEvent.click(woofOption); - const availableOptionsDiv = findTestSubject(popover, 'optionsList-control-available-options'); - availableOptionsDiv.children().forEach((child, i) => { - if (child.text() === 'woof') expect(child.prop('aria-pressed')).toBe(true); - else expect(child.prop('aria-pressed')).toBeFalsy(); + const availableOptionsDiv = popover.getByTestId('optionsList-control-available-options'); + const availableOptionsList = within(availableOptionsDiv).getByRole('listbox'); + const selectedOptions = within(availableOptionsList).getAllByRole('option', { + checked: true, }); + expect(selectedOptions).toHaveLength(1); + expect(selectedOptions[0]).toHaveTextContent('woof. Checked option.'); }); test('clicking "Exists" unselects all other selections', async () => { @@ -197,19 +186,18 @@ describe('Options list popover', () => { const popover = await mountComponent({ explicitInput: { existsSelected: false, selectedOptions: selections }, }); - const existsOption = findTestSubject(popover, 'optionsList-control-selection-exists'); - let availableOptionsDiv = findTestSubject(popover, 'optionsList-control-available-options'); - availableOptionsDiv.children().forEach((child, i) => { - if (selections.includes(child.text())) expect(child.prop('aria-pressed')).toBe(true); - else expect(child.prop('aria-pressed')).toBeFalsy(); - }); - - existsOption.simulate('click'); - availableOptionsDiv = findTestSubject(popover, 'optionsList-control-available-options'); - availableOptionsDiv.children().forEach((child, i) => { - if (child.text() === 'Exists (*)') expect(child.prop('aria-pressed')).toBe(true); - else expect(child.prop('aria-pressed')).toBeFalsy(); - }); + const existsOption = popover.getByTestId('optionsList-control-selection-exists'); + let availableOptionsDiv = popover.getByTestId('optionsList-control-available-options'); + let checkedOptions = within(availableOptionsDiv).getAllByRole('option', { checked: true }); + expect(checkedOptions).toHaveLength(2); + expect(checkedOptions[0]).toHaveTextContent('woof. Checked option.'); + expect(checkedOptions[1]).toHaveTextContent('bark. Checked option.'); + + userEvent.click(existsOption); + availableOptionsDiv = popover.getByTestId('optionsList-control-available-options'); + checkedOptions = within(availableOptionsDiv).getAllByRole('option', { checked: true }); + expect(checkedOptions).toHaveLength(1); + expect(checkedOptions[0]).toHaveTextContent('Exists. Checked option.'); }); test('if existsSelected = false and no suggestions, then "Exists" does not show up', async () => { @@ -217,8 +205,8 @@ describe('Options list popover', () => { componentState: { availableOptions: [] }, explicitInput: { existsSelected: false }, }); - const existsOption = findTestSubject(popover, 'optionsList-control-selection-exists'); - expect(existsOption.exists()).toBeFalsy(); + const existsOption = popover.queryByTestId('optionsList-control-selection-exists'); + expect(existsOption).toBeNull(); }); test('if existsSelected = true, "Exists" is the only option when "Show only selected options" is toggled', async () => { @@ -226,10 +214,10 @@ describe('Options list popover', () => { explicitInput: { existsSelected: true }, }); clickShowOnlySelections(popover); - const availableOptions = popover.find( - '[data-test-subj="optionsList-control-available-options"] ul' - ); - expect(availableOptions.text()).toBe('Exists. Checked option.'); + const availableOptionsDiv = popover.getByTestId('optionsList-control-available-options'); + const availableOptionsList = within(availableOptionsDiv).getByRole('listbox'); + const availableOptions = within(availableOptionsList).getAllByRole('option'); + expect(availableOptions[0]).toHaveTextContent('Exists. Checked option.'); }); }); @@ -240,11 +228,13 @@ describe('Options list popover', () => { field: { name: 'Test keyword field', type: 'keyword' } as FieldSpec, }, }); - const sortButton = findTestSubject(popover, 'optionsListControl__sortingOptionsButton'); - sortButton.simulate('click'); + const sortButton = popover.getByTestId('optionsListControl__sortingOptionsButton'); + userEvent.click(sortButton); - const sortingOptionsDiv = findTestSubject(popover, 'optionsListControl__sortingOptions'); - const optionsText = sortingOptionsDiv.find('ul li').map((element) => element.text().trim()); + const sortingOptionsDiv = popover.getByTestId('optionsListControl__sortingOptions'); + const optionsText = within(sortingOptionsDiv) + .getAllByRole('option') + .map((el) => el.textContent); expect(optionsText).toEqual(['By document count. Checked option.', 'Alphabetically']); }); @@ -255,16 +245,18 @@ describe('Options list popover', () => { field: { name: 'Test keyword field', type: 'keyword' } as FieldSpec, }, }); - const sortButton = findTestSubject(popover, 'optionsListControl__sortingOptionsButton'); - sortButton.simulate('click'); + const sortButton = popover.getByTestId('optionsListControl__sortingOptionsButton'); + userEvent.click(sortButton); - const sortingOptionsDiv = findTestSubject(popover, 'optionsListControl__sortingOptions'); - const optionsText = sortingOptionsDiv.find('ul li').map((element) => element.text().trim()); + const sortingOptionsDiv = popover.getByTestId('optionsListControl__sortingOptions'); + const optionsText = within(sortingOptionsDiv) + .getAllByRole('option') + .map((el) => el.textContent); expect(optionsText).toEqual(['By document count', 'Alphabetically. Checked option.']); - const ascendingButton = findTestSubject(popover, 'optionsList__sortOrder_asc').instance(); + const ascendingButton = popover.getByTestId('optionsList__sortOrder_asc'); expect(ascendingButton).toHaveClass('euiButtonGroupButton-isSelected'); - const descendingButton = findTestSubject(popover, 'optionsList__sortOrder_desc').instance(); + const descendingButton = popover.getByTestId('optionsList__sortOrder_desc'); expect(descendingButton).not.toHaveClass('euiButtonGroupButton-isSelected'); }); @@ -272,11 +264,13 @@ describe('Options list popover', () => { const popover = await mountComponent({ componentState: { field: { name: 'Test IP field', type: 'ip' } as FieldSpec }, }); - const sortButton = findTestSubject(popover, 'optionsListControl__sortingOptionsButton'); - sortButton.simulate('click'); + const sortButton = popover.getByTestId('optionsListControl__sortingOptionsButton'); + userEvent.click(sortButton); - const sortingOptionsDiv = findTestSubject(popover, 'optionsListControl__sortingOptions'); - const optionsText = sortingOptionsDiv.find('ul li').map((element) => element.text().trim()); + const sortingOptionsDiv = popover.getByTestId('optionsListControl__sortingOptions'); + const optionsText = within(sortingOptionsDiv) + .getAllByRole('option') + .map((el) => el.textContent); expect(optionsText).toEqual(['By document count. Checked option.']); }); @@ -284,11 +278,13 @@ describe('Options list popover', () => { const popover = await mountComponent({ componentState: { field: { name: 'Test date field', type: 'date' } as FieldSpec }, }); - const sortButton = findTestSubject(popover, 'optionsListControl__sortingOptionsButton'); - sortButton.simulate('click'); + const sortButton = popover.getByTestId('optionsListControl__sortingOptionsButton'); + userEvent.click(sortButton); - const sortingOptionsDiv = findTestSubject(popover, 'optionsListControl__sortingOptions'); - const optionsText = sortingOptionsDiv.find('ul li').map((element) => element.text().trim()); + const sortingOptionsDiv = popover.getByTestId('optionsListControl__sortingOptions'); + const optionsText = within(sortingOptionsDiv) + .getAllByRole('option') + .map((el) => el.textContent); expect(optionsText).toEqual(['By document count. Checked option.', 'By date']); }); @@ -296,11 +292,13 @@ describe('Options list popover', () => { const popover = await mountComponent({ componentState: { field: { name: 'Test number field', type: 'number' } as FieldSpec }, }); - const sortButton = findTestSubject(popover, 'optionsListControl__sortingOptionsButton'); - sortButton.simulate('click'); + const sortButton = popover.getByTestId('optionsListControl__sortingOptionsButton'); + userEvent.click(sortButton); - const sortingOptionsDiv = findTestSubject(popover, 'optionsListControl__sortingOptions'); - const optionsText = sortingOptionsDiv.find('ul li').map((element) => element.text().trim()); + const sortingOptionsDiv = popover.getByTestId('optionsListControl__sortingOptions'); + const optionsText = within(sortingOptionsDiv) + .getAllByRole('option') + .map((el) => el.textContent); expect(optionsText).toEqual(['By document count. Checked option.', 'Numerically']); }); }); @@ -310,8 +308,8 @@ describe('Options list popover', () => { const popover = await mountComponent({ componentState: { field: { name: 'Test keyword field', type: 'keyword' } as FieldSpec }, }); - const warning = findTestSubject(popover, 'optionsList-allow-expensive-queries-warning'); - expect(warning).toEqual({}); + const warning = popover.queryByTestId('optionsList-allow-expensive-queries-warning'); + expect(warning).toBeNull(); }); test('ensure warning icon shows up when testAllowExpensiveQueries = false', async () => { @@ -324,8 +322,8 @@ describe('Options list popover', () => { allowExpensiveQueries: false, }, }); - const warning = findTestSubject(popover, 'optionsList-allow-expensive-queries-warning'); - expect(warning.getDOMNode()).toBeInstanceOf(HTMLDivElement); + const warning = popover.getByTestId('optionsList-allow-expensive-queries-warning'); + expect(warning).toBeInstanceOf(HTMLDivElement); }); }); @@ -340,8 +338,8 @@ describe('Options list popover', () => { const popover = await mountComponent({ explicitInput, }); - const test = findTestSubject(popover, testSubject); - expect(test.exists()).toBeFalsy(); + const test = popover.queryByTestId(testSubject); + expect(test).toBeNull(); }; test('can hide exists option', async () => { diff --git a/src/plugins/controls/public/options_list/components/options_list_popover_invalid_selections.tsx b/src/plugins/controls/public/options_list/components/options_list_popover_invalid_selections.tsx index 7ff64482b2c60..4de8a2f483ea0 100644 --- a/src/plugins/controls/public/options_list/components/options_list_popover_invalid_selections.tsx +++ b/src/plugins/controls/public/options_list/components/options_list_popover_invalid_selections.tsx @@ -9,16 +9,19 @@ import React, { useEffect, useState } from 'react'; import { - EuiSelectableOption, + EuiFlexGroup, + EuiFlexItem, + EuiIcon, + EuiScreenReaderOnly, EuiSelectable, + EuiSelectableOption, EuiSpacer, EuiTitle, - EuiScreenReaderOnly, } from '@elastic/eui'; -import { OptionsListStrings } from './options_list_strings'; -import { useOptionsList } from '../embeddable/options_list_embeddable'; import { useFieldFormatter } from '../../hooks/use_field_formatter'; +import { useOptionsList } from '../embeddable/options_list_embeddable'; +import { OptionsListStrings } from './options_list_strings'; export const OptionsListPopoverInvalidSelections = () => { const optionsList = useOptionsList(); @@ -40,7 +43,7 @@ export const OptionsListPopoverInvalidSelections = () => { label: fieldFormatter(key), checked: 'on', className: 'optionsList__selectionInvalid', - 'data-test-subj': `optionsList-control-ignored-selection-${key}`, + 'data-test-subj': `optionsList-control-invalid-selection-${key}`, prepend: (
@@ -60,13 +63,25 @@ export const OptionsListPopoverInvalidSelections = () => { - + + + + + + + + + i18n.translate('controls.optionsList.control.invalidSelectionWarningLabel', { + defaultMessage: + '{invalidSelectionCount} {invalidSelectionCount, plural, one {selection returns} other {selections return}} no results.', + values: { + invalidSelectionCount, + }, + }), }, editor: { getSelectionOptionsTitle: () => @@ -43,7 +51,7 @@ export const OptionsListStrings = { multi: { getLabel: () => i18n.translate('controls.optionsList.editor.multiSelectLabel', { - defaultMessage: 'Allow multiple selections', + defaultMessage: 'Allow multiple selections', }), }, single: { @@ -195,19 +203,19 @@ export const OptionsListStrings = { getInvalidSelectionsSectionAriaLabel: (fieldName: string, invalidSelectionCount: number) => i18n.translate('controls.optionsList.popover.invalidSelectionsAriaLabel', { defaultMessage: - 'Ignored {invalidSelectionCount, plural, one {selection} other {selections}} for {fieldName}', + 'Invalid {invalidSelectionCount, plural, one {selection} other {selections}} for {fieldName}', values: { fieldName, invalidSelectionCount }, }), getInvalidSelectionsSectionTitle: (invalidSelectionCount: number) => i18n.translate('controls.optionsList.popover.invalidSelectionsSectionTitle', { defaultMessage: - 'Ignored {invalidSelectionCount, plural, one {selection} other {selections}}', + 'Invalid {invalidSelectionCount, plural, one {selection} other {selections}}', values: { invalidSelectionCount }, }), getInvalidSelectionsLabel: (selectedOptions: number) => i18n.translate('controls.optionsList.popover.invalidSelectionsLabel', { defaultMessage: - '{selectedOptions} {selectedOptions, plural, one {selection} other {selections}} ignored', + '{selectedOptions} {selectedOptions, plural, one {selection} other {selections}} invalid', values: { selectedOptions }, }), getInvalidSelectionScreenReaderText: () => diff --git a/src/plugins/controls/public/options_list/embeddable/options_list_embeddable.tsx b/src/plugins/controls/public/options_list/embeddable/options_list_embeddable.tsx index 0426523c09107..ea3d4d80399c5 100644 --- a/src/plugins/controls/public/options_list/embeddable/options_list_embeddable.tsx +++ b/src/plugins/controls/public/options_list/embeddable/options_list_embeddable.tsx @@ -6,41 +6,42 @@ * Side Public License, v 1. */ -import ReactDOM from 'react-dom'; -import { batch } from 'react-redux'; import deepEqual from 'fast-deep-equal'; import { isEmpty, isEqual } from 'lodash'; -import { merge, Subject, Subscription, switchMap, tap } from 'rxjs'; import React, { createContext, useContext } from 'react'; -import { debounceTime, map, distinctUntilChanged, skip } from 'rxjs/operators'; +import ReactDOM from 'react-dom'; +import { batch } from 'react-redux'; +import { merge, Subject, Subscription, switchMap, tap } from 'rxjs'; +import { debounceTime, distinctUntilChanged, map, skip } from 'rxjs/operators'; +import { DataView, FieldSpec } from '@kbn/data-views-plugin/public'; +import { Embeddable, IContainer } from '@kbn/embeddable-plugin/public'; import { - Filter, - compareFilters, + buildExistsFilter, buildPhraseFilter, buildPhrasesFilter, + compareFilters, COMPARE_ALL_OPTIONS, - buildExistsFilter, + Filter, } from '@kbn/es-query'; import { i18n } from '@kbn/i18n'; -import { DataView, FieldSpec } from '@kbn/data-views-plugin/public'; -import { Embeddable, IContainer } from '@kbn/embeddable-plugin/public'; -import { KibanaThemeProvider } from '@kbn/react-kibana-context-theme'; import { ReduxEmbeddableTools, ReduxToolsPackage } from '@kbn/presentation-util-plugin/public'; +import { KibanaThemeProvider } from '@kbn/react-kibana-context-theme'; import { + ControlGroupContainer, ControlInput, ControlOutput, - OPTIONS_LIST_CONTROL, OptionsListEmbeddableInput, + OPTIONS_LIST_CONTROL, } from '../..'; import { pluginServices } from '../../services'; -import { IClearableControl } from '../../types'; -import { OptionsListControl } from '../components/options_list_control'; import { ControlsDataViewsService } from '../../services/data_views/types'; import { ControlsOptionsListService } from '../../services/options_list/types'; -import { MIN_OPTIONS_LIST_REQUEST_SIZE, OptionsListReduxState } from '../types'; +import { IClearableControl } from '../../types'; +import { OptionsListControl } from '../components/options_list_control'; import { getDefaultComponentState, optionsListReducers } from '../options_list_reducers'; +import { MIN_OPTIONS_LIST_REQUEST_SIZE, OptionsListReduxState } from '../types'; const diffDataFetchProps = ( last?: OptionsListDataFetchProps, @@ -83,6 +84,7 @@ export class OptionsListEmbeddable { public readonly type = OPTIONS_LIST_CONTROL; public deferEmbeddableLoad = true; + public parent: ControlGroupContainer; private subscriptions: Subscription = new Subscription(); private node?: HTMLElement; @@ -113,6 +115,7 @@ export class OptionsListEmbeddable parent?: IContainer ) { super(input, output, parent); + this.parent = parent as ControlGroupContainer; // Destructure controls services ({ dataViews: this.dataViewsService, optionsList: this.optionsListService } = @@ -130,7 +133,6 @@ export class OptionsListEmbeddable reducers: optionsListReducers, initialComponentState: getDefaultComponentState(), }); - this.select = reduxEmbeddableTools.select; this.getState = reduxEmbeddableTools.getState; this.dispatch = reduxEmbeddableTools.dispatch; @@ -142,17 +144,17 @@ export class OptionsListEmbeddable private initialize = async () => { const { selectedOptions: initialSelectedOptions } = this.getInput(); - if (!initialSelectedOptions) this.setInitializationFinished(); + if (initialSelectedOptions) { + const filters = await this.buildFilter(); + this.dispatch.publishFilters(filters); + } + this.setInitializationFinished(); this.dispatch.setAllowExpensiveQueries( await this.optionsListService.getAllowExpensiveQueries() ); this.runOptionsListQuery().then(async () => { - if (initialSelectedOptions) { - await this.buildFilter(); - this.setInitializationFinished(); - } this.setupSubscriptions(); }); }; @@ -324,6 +326,7 @@ export class OptionsListEmbeddable }, this.abortController.signal ); + if (this.optionsListService.optionsListResponseWasFailure(response)) { if (response.error === 'aborted') { // This prevents an aborted request (which can happen, for example, when a user types a search string too quickly) @@ -347,6 +350,7 @@ export class OptionsListEmbeddable validSelections: selectedOptions, totalCardinality, }); + this.reportInvalidSelections(false); } else { const valid: string[] = []; const invalid: string[] = []; @@ -360,14 +364,12 @@ export class OptionsListEmbeddable validSelections: valid, totalCardinality, }); + this.reportInvalidSelections(true); } - // publish filter - const newFilters = await this.buildFilter(); batch(() => { this.dispatch.setErrorMessage(undefined); this.dispatch.setLoading(false); - this.dispatch.publishFilters(newFilters); }); } else { batch(() => { @@ -380,12 +382,18 @@ export class OptionsListEmbeddable } }; + private reportInvalidSelections = (hasInvalidSelections: boolean) => { + this.parent?.reportInvalidSelections({ + id: this.id, + hasInvalidSelections, + }); + }; + private buildFilter = async () => { - const { validSelections } = this.getState().componentState ?? {}; - const { existsSelected } = this.getState().explicitInput ?? {}; + const { existsSelected, selectedOptions } = this.getState().explicitInput ?? {}; const { exclude } = this.getInput(); - if ((!validSelections || isEmpty(validSelections)) && !existsSelected) { + if ((!selectedOptions || isEmpty(selectedOptions)) && !existsSelected) { return []; } const { dataView, field } = await this.getCurrentDataViewAndField(); @@ -394,11 +402,11 @@ export class OptionsListEmbeddable let newFilter: Filter | undefined; if (existsSelected) { newFilter = buildExistsFilter(field, dataView); - } else if (validSelections) { - if (validSelections.length === 1) { - newFilter = buildPhraseFilter(field, validSelections[0], dataView); + } else if (selectedOptions) { + if (selectedOptions.length === 1) { + newFilter = buildPhraseFilter(field, selectedOptions[0], dataView); } else { - newFilter = buildPhrasesFilter(field, validSelections, dataView); + newFilter = buildPhrasesFilter(field, selectedOptions, dataView); } } @@ -411,6 +419,7 @@ export class OptionsListEmbeddable public clearSelections() { this.dispatch.clearSelections({}); + this.reportInvalidSelections(false); } reload = () => { diff --git a/src/plugins/controls/public/options_list/options_list_reducers.ts b/src/plugins/controls/public/options_list/options_list_reducers.ts index 3300072c089f9..488a20313c8d9 100644 --- a/src/plugins/controls/public/options_list/options_list_reducers.ts +++ b/src/plugins/controls/public/options_list/options_list_reducers.ts @@ -50,6 +50,12 @@ export const optionsListReducers = { ) => { state.componentState.allowExpensiveQueries = action.payload; }, + setInvalidSelectionWarningOpen: ( + state: WritableDraft, + action: PayloadAction + ) => { + state.componentState.showInvalidSelectionWarning = action.payload; + }, setPopoverOpen: (state: WritableDraft, action: PayloadAction) => { state.componentState.popoverOpen = action.payload; }, diff --git a/src/plugins/controls/public/options_list/types.ts b/src/plugins/controls/public/options_list/types.ts index 30b561d5e7964..da3f52a4cb870 100644 --- a/src/plugins/controls/public/options_list/types.ts +++ b/src/plugins/controls/public/options_list/types.ts @@ -34,6 +34,7 @@ export interface OptionsListComponentState { popoverOpen: boolean; field?: FieldSpec; error?: string; + showInvalidSelectionWarning?: boolean; } // public only - redux embeddable state type diff --git a/src/plugins/controls/public/range_slider/components/range_slider.scss b/src/plugins/controls/public/range_slider/components/range_slider.scss index c386705382d87..33795ea6f5286 100644 --- a/src/plugins/controls/public/range_slider/components/range_slider.scss +++ b/src/plugins/controls/public/range_slider/components/range_slider.scss @@ -1,14 +1,30 @@ .rangeSliderAnchor__button { .euiFormControlLayout { + align-items: center; box-shadow: none; background-color: transparent; - padding: 0 0 2px 0; .euiFormControlLayout__childrenWrapper { border-top-left-radius: 0; border-bottom-left-radius: 0; border-top-right-radius: $euiBorderRadius - 1px; border-bottom-right-radius: $euiBorderRadius - 1px; + + .euiFormControlLayoutDelimited__delimiter, .euiFormControlLayoutIcons--static { + height: auto !important; + } + } + } + + .rangeSlider__invalidToken { + height: $euiSizeS * 2; + padding: 0 $euiSizeS; + + .euiIcon { + background-color: transparent; + width: $euiSizeS * 2; + border-radius: $euiSizeXS; + padding: 0 calc($euiSizeXS / 2); } } } @@ -24,9 +40,7 @@ } &.rangeSliderAnchor__fieldNumber--invalid { - color: $euiTextSubduedColor; - text-decoration: line-through; - font-weight: $euiFontWeightRegular; + color: $euiColorWarningText; } &:placeholder-shown, &::placeholder { @@ -34,4 +48,4 @@ color: $euiTextSubduedColor; text-decoration: none; } -} \ No newline at end of file +} diff --git a/src/plugins/controls/public/range_slider/components/range_slider_control.tsx b/src/plugins/controls/public/range_slider/components/range_slider_control.tsx index cd879961c5f10..86bf298da91c7 100644 --- a/src/plugins/controls/public/range_slider/components/range_slider_control.tsx +++ b/src/plugins/controls/public/range_slider/components/range_slider_control.tsx @@ -9,7 +9,7 @@ import { debounce } from 'lodash'; import React, { FC, useState, useMemo, useEffect, useCallback, useRef } from 'react'; -import { EuiRangeTick, EuiDualRange, EuiDualRangeProps } from '@elastic/eui'; +import { EuiRangeTick, EuiDualRange, EuiDualRangeProps, EuiToken, EuiToolTip } from '@elastic/eui'; import { RangeValue } from '../../../common/range_slider/types'; import { useRangeSlider } from '../embeddable/range_slider_embeddable'; @@ -18,6 +18,7 @@ import { ControlError } from '../../control_group/component/control_error_compon import './range_slider.scss'; import { MIN_POPOVER_WIDTH } from '../../constants'; import { useFieldFormatter } from '../../hooks/use_field_formatter'; +import { RangeSliderStrings } from './range_slider_strings'; export const RangeSliderControl: FC = () => { /** Controls Services Context */ @@ -164,6 +165,27 @@ export const RangeSliderControl: FC = () => { inputPopoverProps={{ panelMinWidth: MIN_POPOVER_WIDTH, }} + append={ + isInvalid ? ( +
+ + + +
+ ) : undefined + } onMouseUp={() => { // when the pin is dropped (on mouse up), cancel any pending debounced changes and force the change // in value to happen instantly (which, in turn, will re-calculate the min/max for the slider due to diff --git a/src/plugins/controls/public/range_slider/components/range_slider_strings.ts b/src/plugins/controls/public/range_slider/components/range_slider_strings.ts index c37dc49c5306a..a0ed2a051f94a 100644 --- a/src/plugins/controls/public/range_slider/components/range_slider_strings.ts +++ b/src/plugins/controls/public/range_slider/components/range_slider_strings.ts @@ -9,6 +9,12 @@ import { i18n } from '@kbn/i18n'; export const RangeSliderStrings = { + control: { + getInvalidSelectionWarningLabel: () => + i18n.translate('controls.rangeSlider.control.invalidSelectionWarningLabel', { + defaultMessage: 'Selected range returns no results.', + }), + }, editor: { getStepTitle: () => i18n.translate('controls.rangeSlider.editor.stepSizeTitle', { diff --git a/src/plugins/controls/public/range_slider/embeddable/range_slider_embeddable.test.tsx b/src/plugins/controls/public/range_slider/embeddable/range_slider_embeddable.test.tsx index 9629e78dd5285..6a07cd531f8e5 100644 --- a/src/plugins/controls/public/range_slider/embeddable/range_slider_embeddable.test.tsx +++ b/src/plugins/controls/public/range_slider/embeddable/range_slider_embeddable.test.tsx @@ -132,7 +132,7 @@ describe('initialize', () => { await new Promise((resolve) => process.nextTick(resolve)); const reduxState = control.getState(); - expect(reduxState.output.filters?.length).toBe(0); + expect(reduxState.output.filters?.length).toBe(1); expect(reduxState.componentState.isInvalid).toBe(true); }); diff --git a/src/plugins/controls/public/range_slider/embeddable/range_slider_embeddable.tsx b/src/plugins/controls/public/range_slider/embeddable/range_slider_embeddable.tsx index 6ac09cbbaea5a..6efc6e9fc1a65 100644 --- a/src/plugins/controls/public/range_slider/embeddable/range_slider_embeddable.tsx +++ b/src/plugins/controls/public/range_slider/embeddable/range_slider_embeddable.tsx @@ -12,7 +12,7 @@ import React, { createContext, useContext } from 'react'; import ReactDOM from 'react-dom'; import { batch } from 'react-redux'; import { lastValueFrom, Subscription, switchMap } from 'rxjs'; -import { distinctUntilChanged, map, skip } from 'rxjs/operators'; +import { distinctUntilChanged, map } from 'rxjs/operators'; import { DataView, DataViewField } from '@kbn/data-views-plugin/public'; import { Embeddable, IContainer } from '@kbn/embeddable-plugin/public'; @@ -28,6 +28,7 @@ import { ReduxEmbeddableTools, ReduxToolsPackage } from '@kbn/presentation-util- import { KibanaThemeProvider } from '@kbn/react-kibana-context-theme'; import { + ControlGroupContainer, ControlInput, ControlOutput, RangeSliderEmbeddableInput, @@ -81,6 +82,7 @@ export class RangeSliderEmbeddable { public readonly type = RANGE_SLIDER_CONTROL; public deferEmbeddableLoad = true; + public parent: ControlGroupContainer; private subscriptions: Subscription = new Subscription(); private node?: HTMLElement; @@ -92,7 +94,6 @@ export class RangeSliderEmbeddable // Internal data fetching state for this input control. private dataView?: DataView; private field?: DataViewField; - private filters: Filter[] = []; // state management public select: RangeSliderReduxEmbeddableTools['select']; @@ -109,6 +110,7 @@ export class RangeSliderEmbeddable parent?: IContainer ) { super(input, output, parent); // get filters for initial output... + this.parent = parent as ControlGroupContainer; // Destructure controls services ({ data: this.dataService, dataViews: this.dataViewsService } = pluginServices.getServices()); @@ -126,27 +128,23 @@ export class RangeSliderEmbeddable this.dispatch = reduxEmbeddableTools.dispatch; this.onStateChange = reduxEmbeddableTools.onStateChange; this.cleanupStateTools = reduxEmbeddableTools.cleanup; + this.initialize(); } private initialize = async () => { - const initialValue = this.getInput().value; - if (!initialValue) { - this.setInitializationFinished(); - } - - try { - await this.runRangeSliderQuery(); - await this.buildFilter(); - } catch (e) { - this.onLoadingError(e.message); - } - - if (initialValue) { - this.setInitializationFinished(); + const [initialMin, initialMax] = this.getInput().value ?? []; + if (!isEmpty(initialMin) || !isEmpty(initialMax)) { + const filter = await this.buildFilter(); + this.dispatch.publishFilters(filter); } + this.setInitializationFinished(); - this.setupSubscriptions(); + this.runRangeSliderQuery() + .then(async () => { + this.setupSubscriptions(); + }) + .catch((e) => this.onLoadingError(e.message)); }; private setupSubscriptions = () => { @@ -161,18 +159,22 @@ export class RangeSliderEmbeddable filters: newInput.filters, query: newInput.query, })), - distinctUntilChanged(diffDataFetchProps), - skip(1) + distinctUntilChanged(diffDataFetchProps) + ); + + const valueChangePipe = this.getInput$().pipe( + distinctUntilChanged((a, b) => isEqual(a.value ?? ['', ''], b.value ?? ['', ''])) ); - // fetch available min/max when input changes this.subscriptions.add( dataFetchPipe .pipe( - switchMap(async (changes) => { + switchMap(async () => { try { + this.dispatch.setLoading(true); await this.runRangeSliderQuery(); - await this.buildFilter(); + await this.runValidations(); + this.dispatch.setLoading(false); } catch (e) { this.onLoadingError(e.message); } @@ -181,13 +183,21 @@ export class RangeSliderEmbeddable .subscribe() ); - // build filters when value changes + // publish filters when value changes this.subscriptions.add( - this.getInput$() + valueChangePipe .pipe( - distinctUntilChanged((a, b) => isEqual(a.value ?? ['', ''], b.value ?? ['', ''])), - skip(1), // skip the first input update because initial filters will be built by initialize. - switchMap(this.buildFilter) + switchMap(async () => { + try { + this.dispatch.setLoading(true); + const rangeFilter = await this.buildFilter(); + this.dispatch.publishFilters(rangeFilter); + await this.runValidations(); + this.dispatch.setLoading(false); + } catch (e) { + this.onLoadingError(e.message); + } + }) ) .subscribe() ); @@ -228,39 +238,18 @@ export class RangeSliderEmbeddable }; private runRangeSliderQuery = async () => { - this.dispatch.setLoading(true); - const { dataView, field } = await this.getCurrentDataViewAndField(); if (!dataView || !field) return; - const embeddableInput = this.getInput(); - const { ignoreParentSettings, timeRange: globalTimeRange, timeslice } = embeddableInput; - let { filters = [] } = embeddableInput; - - const timeRange = - timeslice !== undefined - ? { - from: new Date(timeslice[0]).toISOString(), - to: new Date(timeslice[1]).toISOString(), - mode: 'absolute' as 'absolute', - } - : globalTimeRange; - if (!ignoreParentSettings?.ignoreTimerange && timeRange) { - const timeFilter = this.dataService.timefilter.createFilter(dataView, timeRange); - if (timeFilter) { - filters = filters.concat(timeFilter); - } - } - - this.filters = filters; const { min, max } = await this.fetchMinMax({ dataView, field, }); - this.dispatch.setMinMax({ - min, - max, + batch(() => { + this.dispatch.setMinMax({ min, max }); + this.dispatch.setDataViewId(dataView.id); + this.dispatch.setErrorMessage(undefined); }); }; @@ -271,15 +260,11 @@ export class RangeSliderEmbeddable dataView: DataView; field: DataViewField; }): Promise<{ min?: number; max?: number }> => { + const { query } = this.getInput(); const searchSource = await this.dataService.searchSource.create(); searchSource.setField('size', 0); searchSource.setField('index', dataView); - - const { ignoreParentSettings, query } = this.getInput(); - - if (!ignoreParentSettings?.ignoreFilters) { - searchSource.setField('filter', this.filters); - } + searchSource.setField('filter', this.getGlobalFilters(dataView)); if (query) { searchSource.setField('query', query); @@ -317,40 +302,25 @@ export class RangeSliderEmbeddable private buildFilter = async () => { const { - componentState: { min: availableMin, max: availableMax }, explicitInput: { value }, } = this.getState(); - const { ignoreParentSettings, query } = this.getInput(); - const [selectedMin, selectedMax] = value ?? ['', '']; - const hasData = availableMin !== undefined && availableMax !== undefined; - const hasLowerSelection = !isEmpty(selectedMin); - const hasUpperSelection = !isEmpty(selectedMax); - const hasEitherSelection = hasLowerSelection || hasUpperSelection; + const [min, max] = [selectedMin, selectedMax].map(parseFloat); const { dataView, field } = await this.getCurrentDataViewAndField(); - if (!dataView || !field) return; + if (!dataView || !field) return []; - if (!hasData || !hasEitherSelection) { - batch(() => { - this.dispatch.setLoading(false); - this.dispatch.setIsInvalid(!ignoreParentSettings?.ignoreValidations && hasEitherSelection); - this.dispatch.setDataViewId(dataView.id); - this.dispatch.publishFilters([]); - this.dispatch.setErrorMessage(undefined); - }); - return; - } + if (isEmpty(selectedMin) && isEmpty(selectedMax)) return []; const params = {} as RangeFilterParams; if (selectedMin) { - params.gte = Math.max(parseFloat(selectedMin), availableMin); + params.gte = min; } if (selectedMax) { - params.lte = Math.min(parseFloat(selectedMax), availableMax); + params.lte = max; } const rangeFilter = buildRangeFilter(field, params, dataView); @@ -358,11 +328,60 @@ export class RangeSliderEmbeddable rangeFilter.meta.type = 'range'; rangeFilter.meta.params = params; + return [rangeFilter]; + }; + + private onLoadingError(errorMessage: string) { + batch(() => { + this.dispatch.setLoading(false); + this.dispatch.publishFilters([]); + this.dispatch.setErrorMessage(errorMessage); + }); + } + + private getGlobalFilters = (dataView: DataView) => { + const { + filters: globalFilters, + ignoreParentSettings, + timeRange: globalTimeRange, + timeslice, + } = this.getInput(); + + const filters: Filter[] = []; + + if (!ignoreParentSettings?.ignoreFilters && globalFilters) { + filters.push(...globalFilters); + } + + const timeRange = + timeslice !== undefined + ? { + from: new Date(timeslice[0]).toISOString(), + to: new Date(timeslice[1]).toISOString(), + mode: 'absolute' as 'absolute', + } + : globalTimeRange; + + if (!ignoreParentSettings?.ignoreTimerange && timeRange) { + const timeFilter = this.dataService.timefilter.createFilter(dataView, timeRange); + if (timeFilter) filters.push(timeFilter); + } + + return filters; + }; + + private runValidations = async () => { + const { dataView } = await this.getCurrentDataViewAndField(); + if (!dataView) return; // Check if new range filter results in no data - if (!ignoreParentSettings?.ignoreValidations) { + const { ignoreParentSettings, query } = this.getInput(); + if (ignoreParentSettings?.ignoreValidations) { + this.dispatch.setIsInvalid(false); + } else { const searchSource = await this.dataService.searchSource.create(); - const filters = [...this.filters, rangeFilter]; + const { filters: rangeFilters = [] } = this.getOutput(); + const filters = this.getGlobalFilters(dataView).concat(rangeFilters); searchSource.setField('size', 0); searchSource.setField('index', dataView); @@ -375,43 +394,33 @@ export class RangeSliderEmbeddable const total = resp?.rawResponse?.hits?.total; const docCount = typeof total === 'number' ? total : total?.value; - if (!docCount) { - batch(() => { - this.dispatch.setLoading(false); - this.dispatch.setIsInvalid(true); - this.dispatch.setDataViewId(dataView.id); - this.dispatch.publishFilters([]); - this.dispatch.setErrorMessage(undefined); - }); - return; - } - } - batch(() => { - this.dispatch.setLoading(false); - this.dispatch.setIsInvalid(false); - this.dispatch.setDataViewId(dataView.id); - this.dispatch.publishFilters([rangeFilter]); - this.dispatch.setErrorMessage(undefined); - }); + const { + explicitInput: { value }, + } = this.getState(); + this.reportInvalidSelections( + !value || (value[0] === '' && value[1] === '') ? false : !docCount // don't set the range slider invalid if it has no selections + ); + } }; - private onLoadingError(errorMessage: string) { - batch(() => { - this.dispatch.setLoading(false); - this.dispatch.publishFilters([]); - this.dispatch.setErrorMessage(errorMessage); + private reportInvalidSelections = (hasInvalidSelections: boolean) => { + this.dispatch.setIsInvalid(hasInvalidSelections); + this.parent?.reportInvalidSelections({ + id: this.id, + hasInvalidSelections, }); - } + }; public clearSelections() { this.dispatch.setSelectedRange(['', '']); } public reload = async () => { + this.dispatch.setLoading(true); try { await this.runRangeSliderQuery(); - await this.buildFilter(); + this.dispatch.setLoading(false); } catch (e) { this.onLoadingError(e.message); } diff --git a/src/plugins/controls/public/services/core/core.story.ts b/src/plugins/controls/public/services/core/core.story.ts index 5549f15461553..dca544758970e 100644 --- a/src/plugins/controls/public/services/core/core.story.ts +++ b/src/plugins/controls/public/services/core/core.story.ts @@ -17,5 +17,6 @@ export const coreServiceFactory: CoreServiceFactory = () => { return { theme: themeServiceMock.createSetupContract(), i18n: corePluginMock.i18n, + notifications: corePluginMock.notifications, }; }; diff --git a/src/plugins/controls/public/services/core/core_service.ts b/src/plugins/controls/public/services/core/core_service.ts index 3a8ac7bb89098..ed63bc54e7a60 100644 --- a/src/plugins/controls/public/services/core/core_service.ts +++ b/src/plugins/controls/public/services/core/core_service.ts @@ -16,10 +16,11 @@ export type CoreServiceFactory = KibanaPluginServiceFactory< >; export const coreServiceFactory: CoreServiceFactory = ({ coreStart }) => { - const { theme, i18n } = coreStart; + const { theme, i18n, notifications } = coreStart; return { theme, i18n, + notifications, }; }; diff --git a/src/plugins/controls/public/services/core/types.ts b/src/plugins/controls/public/services/core/types.ts index f5a769c077163..cd2a167402ec1 100644 --- a/src/plugins/controls/public/services/core/types.ts +++ b/src/plugins/controls/public/services/core/types.ts @@ -11,4 +11,5 @@ import { CoreStart } from '@kbn/core/public'; export interface ControlsCoreService { i18n: CoreStart['i18n']; theme: CoreStart['theme']; + notifications: CoreStart['notifications']; } diff --git a/src/plugins/controls/public/services/plugin_services.story.ts b/src/plugins/controls/public/services/plugin_services.story.ts index e214349095695..1db9d3e201bfd 100644 --- a/src/plugins/controls/public/services/plugin_services.story.ts +++ b/src/plugins/controls/public/services/plugin_services.story.ts @@ -21,6 +21,7 @@ import { httpServiceFactory } from './http/http.stub'; import { optionsListServiceFactory } from './options_list/options_list.story'; import { overlaysServiceFactory } from './overlays/overlays.story'; import { settingsServiceFactory } from './settings/settings.story'; +import { storageServiceFactory } from './storage/storage_service.stub'; import { ControlsServices } from './types'; import { unifiedSearchServiceFactory } from './unified_search/unified_search.story'; @@ -33,7 +34,7 @@ export const providers: PluginServiceProviders = { settings: new PluginServiceProvider(settingsServiceFactory), core: new PluginServiceProvider(coreServiceFactory), embeddable: new PluginServiceProvider(embeddableServiceFactory), - + storage: new PluginServiceProvider(storageServiceFactory), controls: new PluginServiceProvider(controlsServiceFactory), optionsList: new PluginServiceProvider(optionsListServiceFactory), }; diff --git a/src/plugins/controls/public/services/plugin_services.stub.ts b/src/plugins/controls/public/services/plugin_services.stub.ts index 07c24d72ce630..ceadd25c9a349 100644 --- a/src/plugins/controls/public/services/plugin_services.stub.ts +++ b/src/plugins/controls/public/services/plugin_services.stub.ts @@ -26,6 +26,7 @@ import { overlaysServiceFactory } from './overlays/overlays.stub'; import { registry as stubRegistry } from './plugin_services.story'; import { settingsServiceFactory } from './settings/settings.story'; import { unifiedSearchServiceFactory } from './unified_search/unified_search.story'; +import { storageServiceFactory } from './storage/storage_service.stub'; export const providers: PluginServiceProviders = { embeddable: new PluginServiceProvider(embeddableServiceFactory), @@ -37,6 +38,7 @@ export const providers: PluginServiceProviders = { overlays: new PluginServiceProvider(overlaysServiceFactory), settings: new PluginServiceProvider(settingsServiceFactory), core: new PluginServiceProvider(coreServiceFactory), + storage: new PluginServiceProvider(storageServiceFactory), unifiedSearch: new PluginServiceProvider(unifiedSearchServiceFactory), }; diff --git a/src/plugins/controls/public/services/plugin_services.ts b/src/plugins/controls/public/services/plugin_services.ts index e6caa3565ed60..b02a59265c13e 100644 --- a/src/plugins/controls/public/services/plugin_services.ts +++ b/src/plugins/controls/public/services/plugin_services.ts @@ -25,6 +25,7 @@ import { httpServiceFactory } from './http/http_service'; import { optionsListServiceFactory } from './options_list/options_list_service'; import { overlaysServiceFactory } from './overlays/overlays_service'; import { settingsServiceFactory } from './settings/settings_service'; +import { controlsStorageServiceFactory } from './storage/storage_service'; import { unifiedSearchServiceFactory } from './unified_search/unified_search_service'; export const providers: PluginServiceProviders< @@ -39,6 +40,7 @@ export const providers: PluginServiceProviders< optionsList: new PluginServiceProvider(optionsListServiceFactory, ['data', 'http']), overlays: new PluginServiceProvider(overlaysServiceFactory), settings: new PluginServiceProvider(settingsServiceFactory), + storage: new PluginServiceProvider(controlsStorageServiceFactory), core: new PluginServiceProvider(coreServiceFactory), unifiedSearch: new PluginServiceProvider(unifiedSearchServiceFactory), }; diff --git a/src/plugins/controls/public/services/storage/storage_service.stub.ts b/src/plugins/controls/public/services/storage/storage_service.stub.ts new file mode 100644 index 0000000000000..14a2ff13a6138 --- /dev/null +++ b/src/plugins/controls/public/services/storage/storage_service.stub.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 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. + */ + +import { PluginServiceFactory } from '@kbn/presentation-util-plugin/public'; +import { ControlsStorageService } from './types'; + +type StorageServiceFactory = PluginServiceFactory; + +export const storageServiceFactory: StorageServiceFactory = () => { + return { + getShowInvalidSelectionWarning: () => false, + setShowInvalidSelectionWarning: (value: boolean) => null, + }; +}; diff --git a/src/plugins/controls/public/services/storage/storage_service.ts b/src/plugins/controls/public/services/storage/storage_service.ts new file mode 100644 index 0000000000000..db06b3d6a3c00 --- /dev/null +++ b/src/plugins/controls/public/services/storage/storage_service.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 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. + */ + +import { Storage } from '@kbn/kibana-utils-plugin/public'; +import { ControlsStorageService } from './types'; + +const STORAGE_KEY = 'controls:showInvalidSelectionWarning'; + +class StorageService implements ControlsStorageService { + private storage: Storage; + + constructor() { + this.storage = new Storage(localStorage); + } + + getShowInvalidSelectionWarning = () => { + return this.storage.get(STORAGE_KEY); + }; + + setShowInvalidSelectionWarning = (value: boolean) => { + this.storage.set(STORAGE_KEY, value); + }; +} + +export const controlsStorageServiceFactory = () => new StorageService(); diff --git a/src/plugins/controls/public/services/storage/types.ts b/src/plugins/controls/public/services/storage/types.ts new file mode 100644 index 0000000000000..8bae4c70fbe27 --- /dev/null +++ b/src/plugins/controls/public/services/storage/types.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 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. + */ + +export interface ControlsStorageService { + getShowInvalidSelectionWarning: () => boolean; + setShowInvalidSelectionWarning: (value: boolean) => void; +} diff --git a/src/plugins/controls/public/services/types.ts b/src/plugins/controls/public/services/types.ts index bb86855302989..9160a63192916 100644 --- a/src/plugins/controls/public/services/types.ts +++ b/src/plugins/controls/public/services/types.ts @@ -15,6 +15,7 @@ import { ControlsHTTPService } from './http/types'; import { ControlsOptionsListService } from './options_list/types'; import { ControlsOverlaysService } from './overlays/types'; import { ControlsSettingsService } from './settings/types'; +import { ControlsStorageService } from './storage/types'; import { ControlsUnifiedSearchService } from './unified_search/types'; export interface ControlsServices { @@ -31,4 +32,5 @@ export interface ControlsServices { // controls plugin's own services controls: ControlsServiceType; optionsList: ControlsOptionsListService; + storage: ControlsStorageService; } diff --git a/src/plugins/custom_integrations/common/index.ts b/src/plugins/custom_integrations/common/index.ts index 570735d6e1e89..ccbe8edbfac43 100755 --- a/src/plugins/custom_integrations/common/index.ts +++ b/src/plugins/custom_integrations/common/index.ts @@ -39,6 +39,7 @@ export const INTEGRATION_CATEGORY_DISPLAY: { datastore: { title: 'Database', parent_id: undefined }, dns_security: { title: 'DNS', parent_id: 'security' }, edr_xdr: { title: 'EDR/XDR', parent_id: 'security' }, + cloudsecurity_cdr: { title: 'Cloud Security/CDR', parent_id: 'security' }, elasticsearch_sdk: { title: 'Elasticsearch SDK', parent_id: undefined }, elastic_stack: { title: 'Elastic Stack', parent_id: undefined }, email_security: { title: 'Email', parent_id: 'security' }, diff --git a/src/plugins/data_view_management/public/components/test_utils.tsx b/src/plugins/data_view_management/public/components/test_utils.tsx index 8970595513e04..4a7fec97e3281 100644 --- a/src/plugins/data_view_management/public/components/test_utils.tsx +++ b/src/plugins/data_view_management/public/components/test_utils.tsx @@ -21,6 +21,7 @@ export function createComponentWithContext>( services: PropTypes.object, }; + // @ts-expect-error upgrade typescript v4.9.5 return shallow(, { context: { services: mockedContext, diff --git a/src/plugins/discover/public/application/main/components/layout/discover_layout.tsx b/src/plugins/discover/public/application/main/components/layout/discover_layout.tsx index 57c5a9041dac2..db500566d3143 100644 --- a/src/plugins/discover/public/application/main/components/layout/discover_layout.tsx +++ b/src/plugins/discover/public/application/main/components/layout/discover_layout.tsx @@ -7,7 +7,14 @@ */ import './discover_layout.scss'; import React, { ReactElement, useCallback, useEffect, useMemo, useRef, useState } from 'react'; -import { EuiPage, EuiPageBody, EuiPanel, useEuiBackgroundColor } from '@elastic/eui'; +import { + EuiPage, + EuiPageBody, + EuiPanel, + EuiProgress, + useEuiBackgroundColor, + EuiDelayRender, +} from '@elastic/eui'; import { css } from '@emotion/react'; import { i18n } from '@kbn/i18n'; import { METRIC_TYPE } from '@kbn/analytics'; @@ -81,7 +88,10 @@ export function DiscoverLayout({ stateContainer }: DiscoverLayoutProps) { if (uiSettings.get(SHOW_FIELD_STATISTICS) !== true) return VIEW_MODE.DOCUMENT_LEVEL; return state.viewMode ?? VIEW_MODE.DOCUMENT_LEVEL; }); - const dataView = useInternalStateSelector((state) => state.dataView!); + const [dataView, dataViewLoading] = useInternalStateSelector((state) => [ + state.dataView!, + state.isDataViewLoading, + ]); const dataState: DataMainMsg = useDataState(main$); const savedSearch = useSavedSearchInitial(); @@ -293,6 +303,11 @@ export function DiscoverLayout({ stateContainer }: DiscoverLayoutProps) { height: 100%; `} > + {dataViewLoading && ( + + + + )} { const savedSearch = savedSearchMock; @@ -26,7 +28,14 @@ const setupTestParams = (dataView: DataView | undefined) => { discoverState.internalState.transitions.setDataView(savedSearch.searchSource.getField('index')!); services.dataViews.get = jest.fn(() => Promise.resolve(dataView as DataView)); discoverState.appState.update = jest.fn(); - return { services, appState: discoverState.appState, internalState: discoverState.internalState }; + discoverState.internalState.transitions = { + setIsDataViewLoading: jest.fn(), + } as unknown as Readonly>; + return { + services, + appState: discoverState.appState, + internalState: discoverState.internalState, + }; }; describe('changeDataView', () => { @@ -38,6 +47,8 @@ describe('changeDataView', () => { index: 'data-view-with-user-default-column-id', sort: [['@timestamp', 'desc']], }); + expect(params.internalState.transitions.setIsDataViewLoading).toHaveBeenNthCalledWith(1, true); + expect(params.internalState.transitions.setIsDataViewLoading).toHaveBeenNthCalledWith(2, false); }); it('should set the right app state when a valid data view to switch to is given', async () => { @@ -48,11 +59,15 @@ describe('changeDataView', () => { index: 'data-view-with-various-field-types-id', sort: [['data', 'desc']], }); + expect(params.internalState.transitions.setIsDataViewLoading).toHaveBeenNthCalledWith(1, true); + expect(params.internalState.transitions.setIsDataViewLoading).toHaveBeenNthCalledWith(2, false); }); it('should not set the app state when an invalid data view to switch to is given', async () => { const params = setupTestParams(undefined); await changeDataView('data-view-with-various-field-types', params); expect(params.appState.update).not.toHaveBeenCalled(); + expect(params.internalState.transitions.setIsDataViewLoading).toHaveBeenNthCalledWith(1, true); + expect(params.internalState.transitions.setIsDataViewLoading).toHaveBeenNthCalledWith(2, false); }); }); diff --git a/src/plugins/discover/public/application/main/hooks/utils/change_data_view.ts b/src/plugins/discover/public/application/main/hooks/utils/change_data_view.ts index 7218ea76b2ac6..41a911295cacd 100644 --- a/src/plugins/discover/public/application/main/hooks/utils/change_data_view.ts +++ b/src/plugins/discover/public/application/main/hooks/utils/change_data_view.ts @@ -39,6 +39,7 @@ export async function changeDataView( const dataView = internalState.getState().dataView; const state = appState.getState(); let nextDataView: DataView | null = null; + internalState.transitions.setIsDataViewLoading(true); try { nextDataView = typeof id === 'string' ? await dataViews.get(id, false) : id; @@ -63,4 +64,5 @@ export async function changeDataView( internalState.transitions.setExpandedDoc(undefined); } } + internalState.transitions.setIsDataViewLoading(false); } diff --git a/src/plugins/discover/public/application/main/services/discover_internal_state_container.ts b/src/plugins/discover/public/application/main/services/discover_internal_state_container.ts index ec8d7ec6c57f2..5825e4d2cef6c 100644 --- a/src/plugins/discover/public/application/main/services/discover_internal_state_container.ts +++ b/src/plugins/discover/public/application/main/services/discover_internal_state_container.ts @@ -17,14 +17,16 @@ import type { DataTableRecord } from '@kbn/discover-utils/types'; export interface InternalState { dataView: DataView | undefined; + isDataViewLoading: boolean; savedDataViews: DataViewListItem[]; adHocDataViews: DataView[]; expandedDoc: DataTableRecord | undefined; customFilters: Filter[]; } -interface InternalStateTransitions { +export interface InternalStateTransitions { setDataView: (state: InternalState) => (dataView: DataView) => InternalState; + setIsDataViewLoading: (state: InternalState) => (isLoading: boolean) => InternalState; setSavedDataViews: (state: InternalState) => (dataView: DataViewListItem[]) => InternalState; setAdHocDataViews: (state: InternalState) => (dataViews: DataView[]) => InternalState; appendAdHocDataViews: ( @@ -52,6 +54,7 @@ export function getInternalStateContainer() { return createStateContainer( { dataView: undefined, + isDataViewLoading: false, adHocDataViews: [], savedDataViews: [], expandedDoc: undefined, @@ -62,6 +65,10 @@ export function getInternalStateContainer() { ...prevState, dataView: nextDataView, }), + setIsDataViewLoading: (prevState: InternalState) => (loading: boolean) => ({ + ...prevState, + isDataViewLoading: loading, + }), setSavedDataViews: (prevState: InternalState) => (nextDataViewList: DataViewListItem[]) => ({ ...prevState, savedDataViews: nextDataViewList, diff --git a/src/plugins/discover/public/application/main/utils/fetch_all.test.ts b/src/plugins/discover/public/application/main/utils/fetch_all.test.ts index 744ca9039d8c0..08fae23110972 100644 --- a/src/plugins/discover/public/application/main/utils/fetch_all.test.ts +++ b/src/plugins/discover/public/application/main/utils/fetch_all.test.ts @@ -72,6 +72,7 @@ describe('test fetchAll', () => { getAppState: () => ({}), getInternalState: () => ({ dataView: undefined, + isDataViewLoading: false, savedDataViews: [], adHocDataViews: [], expandedDoc: undefined, @@ -269,6 +270,7 @@ describe('test fetchAll', () => { getAppState: () => ({ query }), getInternalState: () => ({ dataView: undefined, + isDataViewLoading: false, savedDataViews: [], adHocDataViews: [], expandedDoc: undefined, @@ -394,6 +396,7 @@ describe('test fetchAll', () => { getAppState: () => ({ query }), getInternalState: () => ({ dataView: undefined, + isDataViewLoading: false, savedDataViews: [], adHocDataViews: [], expandedDoc: undefined, diff --git a/src/plugins/embeddable/public/lib/embeddables/embeddable_factory.ts b/src/plugins/embeddable/public/lib/embeddables/embeddable_factory.ts index a96287a61d0f3..cb777aecb53b8 100644 --- a/src/plugins/embeddable/public/lib/embeddables/embeddable_factory.ts +++ b/src/plugins/embeddable/public/lib/embeddables/embeddable_factory.ts @@ -65,6 +65,7 @@ export interface EmbeddableFactory< */ readonly isEditable: () => Promise; + // @ts-expect-error upgrade typescript v4.9.5 readonly savedObjectMetaData?: SavedObjectMetaData; /** diff --git a/src/plugins/embeddable/public/registry/saved_object_to_panel_methods.ts b/src/plugins/embeddable/public/registry/saved_object_to_panel_methods.ts index 2d996666d4042..1647cb6215533 100644 --- a/src/plugins/embeddable/public/registry/saved_object_to_panel_methods.ts +++ b/src/plugins/embeddable/public/registry/saved_object_to_panel_methods.ts @@ -9,6 +9,7 @@ import { SavedObjectCommon } from '@kbn/saved-objects-finder-plugin/common'; type SavedObjectToPanelMethod = ( + // @ts-expect-error upgrade typescript v4.9.5 savedObject: SavedObjectCommon ) => { savedObjectId: string } | Partial; diff --git a/src/plugins/es_ui_shared/static/forms/hook_form_lib/components/use_field.tsx b/src/plugins/es_ui_shared/static/forms/hook_form_lib/components/use_field.tsx index 86af10f08cc23..d66348d39feae 100644 --- a/src/plugins/es_ui_shared/static/forms/hook_form_lib/components/use_field.tsx +++ b/src/plugins/es_ui_shared/static/forms/hook_form_lib/components/use_field.tsx @@ -13,6 +13,7 @@ import { useFieldFromProps } from '../hooks'; export interface Props { path: string; + // @ts-expect-error upgrade typescript v4.9.5 config?: FieldConfig; defaultValue?: T; component?: FunctionComponent; diff --git a/src/plugins/es_ui_shared/static/forms/hook_form_lib/hooks/use_field.ts b/src/plugins/es_ui_shared/static/forms/hook_form_lib/hooks/use_field.ts index 6ce084cb750b4..324a2ea1255a8 100644 --- a/src/plugins/es_ui_shared/static/forms/hook_form_lib/hooks/use_field.ts +++ b/src/plugins/es_ui_shared/static/forms/hook_form_lib/hooks/use_field.ts @@ -31,8 +31,10 @@ const errorsToString = (errors: ValidationError[]): string[] | null => { }; export const useField = ( + // @ts-expect-error upgrade typescript v4.9.5 form: FormHook, path: string, + // @ts-expect-error upgrade typescript v4.9.5 config: FieldConfig & InternalFieldConfig, valueChangeListener?: (value: I) => void, errorChangeListener?: (errors: string[] | null) => void, @@ -231,7 +233,7 @@ export const useField = ( // -- helpers const doByPassValidation = ({ type: validationType, - isBlocking, + isBlocking, // @ts-expect-error upgrade typescript v4.9.5 }: ValidationConfig) => { if (validationType !== undefined && validationType !== validationTypeToValidate) { return true; @@ -246,6 +248,7 @@ export const useField = ( const enhanceValidationError = ( validationError: ValidationError, + // @ts-expect-error upgrade typescript v4.9.5 validation: ValidationConfig, validationType: string ) => ({ @@ -275,6 +278,7 @@ export const useField = ( inflightValidation.current = validator({ value: valueToValidate, errors: validationErrors, + // @ts-expect-error upgrade typescript v4.9.5 form: { getFormData, getFields }, formData, path, @@ -318,6 +322,7 @@ export const useField = ( const validationResult = validator({ value: valueToValidate, errors: validationErrors, + // @ts-expect-error upgrade typescript v4.9.5 form: { getFormData, getFields }, formData, path, diff --git a/src/plugins/es_ui_shared/static/forms/hook_form_lib/hooks/use_field_from_props.ts b/src/plugins/es_ui_shared/static/forms/hook_form_lib/hooks/use_field_from_props.ts index a3d36fd534b5d..4fbe65931b984 100644 --- a/src/plugins/es_ui_shared/static/forms/hook_form_lib/hooks/use_field_from_props.ts +++ b/src/plugins/es_ui_shared/static/forms/hook_form_lib/hooks/use_field_from_props.ts @@ -21,6 +21,7 @@ import { useField, InternalFieldConfig } from './use_field'; export const useFieldFromProps = ( props: UseFieldProps ): { field: FieldHook; propsToForward: { [x: string]: unknown } } => { + // @ts-expect-error upgrade typescript v4.9.5 const form = useFormContext(); const { getFieldDefaultValue, __readFieldConfigFromSchema, __updateDefaultValueAt } = form; @@ -71,6 +72,7 @@ export const useFieldFromProps = ( return value === undefined ? ('' as unknown as T) : value; }, [defaultValue, path, config, readDefaultValueOnForm, getFieldDefaultValue]); + // @ts-expect-error upgrade typescript v4.9.5 const fieldConfig = useMemo & InternalFieldConfig>( () => ({ ...config, diff --git a/src/plugins/es_ui_shared/static/forms/hook_form_lib/types.ts b/src/plugins/es_ui_shared/static/forms/hook_form_lib/types.ts index 22b9fdc6229a7..a7cc46717b179 100644 --- a/src/plugins/es_ui_shared/static/forms/hook_form_lib/types.ts +++ b/src/plugins/es_ui_shared/static/forms/hook_form_lib/types.ts @@ -101,6 +101,7 @@ export interface FormHook InternalFieldType = FieldType >( fieldPath: string + // @ts-expect-error upgrade typescript v4.9.5 ) => FieldConfig | undefined; __getFormDefaultValue: () => I | undefined; __getFieldsRemoved: () => FieldsMap; diff --git a/src/plugins/expressions/common/execution/execution_contract.ts b/src/plugins/expressions/common/execution/execution_contract.ts index 34e11ad4c4948..50dda43661367 100644 --- a/src/plugins/expressions/common/execution/execution_contract.ts +++ b/src/plugins/expressions/common/execution/execution_contract.ts @@ -17,7 +17,11 @@ import { ExpressionAstExpression } from '../ast'; * `ExecutionContract` is a wrapper around `Execution` class. It provides the * same functionality but does not expose Expressions plugin internals. */ -export class ExecutionContract { +export class ExecutionContract< + Input = unknown, + Output = unknown, + InspectorAdapters extends Adapters = object +> { public get isPending(): boolean { const { state, result } = this.execution.state.get(); const finished = state === 'error' || (state === 'result' && !result?.partial); diff --git a/src/plugins/files/server/routes/file_kind/enhance_router.ts b/src/plugins/files/server/routes/file_kind/enhance_router.ts index 87be1c4e08ea0..d1757ab51e2cd 100644 --- a/src/plugins/files/server/routes/file_kind/enhance_router.ts +++ b/src/plugins/files/server/routes/file_kind/enhance_router.ts @@ -26,6 +26,7 @@ export function enhanceRouter({ router, fileKind }: Args): FileKindRouter { const handlerWrapper: (handler: FileKindHandler) => FileKindHandler = (handler) => async (ctx, req, res) => { return handler( + // @ts-expect-error upgrade typescript v4.9.5 Object.create(ctx, { fileKind: { value: fileKind, enumerable: true, writeable: false } }), req, res diff --git a/src/plugins/files/server/routes/types.ts b/src/plugins/files/server/routes/types.ts index 1c803c71b78c0..58ddd8ca803c4 100644 --- a/src/plugins/files/server/routes/types.ts +++ b/src/plugins/files/server/routes/types.ts @@ -41,6 +41,7 @@ export type FilesRequestHandler< Method extends RouteMethod = any > = RequestHandler; +// @ts-expect-error upgrade typescript v4.9.5 export type AsyncResponse = Promise>; export type CreateHandler = FilesRequestHandler< diff --git a/src/plugins/guided_onboarding/README.md b/src/plugins/guided_onboarding/README.md index 50132b0a03e9d..a7d1447d6da8b 100755 --- a/src/plugins/guided_onboarding/README.md +++ b/src/plugins/guided_onboarding/README.md @@ -125,7 +125,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` -- observability: `x-pack/plugins/observability/server/plugin.ts` +- observability: `x-pack/plugins/observability_solution/observability/server/plugin.ts` - security solution: `x-pack/plugins/security_solution/server/plugin.ts` ## Adding a new guide diff --git a/src/plugins/interactive_setup/public/use_form.ts b/src/plugins/interactive_setup/public/use_form.ts index 47768400dd775..bc3ae7caf360e 100644 --- a/src/plugins/interactive_setup/public/use_form.ts +++ b/src/plugins/interactive_setup/public/use_form.ts @@ -128,7 +128,7 @@ export function useFormState({ const [touched, setTouched] = useState>({}); const [submitCount, setSubmitCount] = useState(0); - async function validateFormFn(formValues: Values): Promise; + async function validateFormFn(formValues: Values): Promise>; async function validateFormFn(formValues: undefined): Promise; async function validateFormFn(formValues: Values | undefined) { // Allows resetting `useAsyncFn` state diff --git a/src/plugins/kibana_react/public/page_template/solution_nav/__snapshots__/solution_nav.test.tsx.snap b/src/plugins/kibana_react/public/page_template/solution_nav/__snapshots__/solution_nav.test.tsx.snap index 5e7c8fe4618c8..b3e8cac2afa3c 100644 --- a/src/plugins/kibana_react/public/page_template/solution_nav/__snapshots__/solution_nav.test.tsx.snap +++ b/src/plugins/kibana_react/public/page_template/solution_nav/__snapshots__/solution_nav.test.tsx.snap @@ -2,7 +2,7 @@ exports[`KibanaPageTemplateSolutionNav accepts EuiSideNavProps 1`] = ` - - - = { [K in keyof Services]: PluginServiceProvider< + // @ts-expect-error upgrade typescript v4.9.5 Services[K], StartParameters, Services, diff --git a/src/plugins/unified_histogram/public/layout/layout.tsx b/src/plugins/unified_histogram/public/layout/layout.tsx index 7d1cb9f5e9064..aaeb67b15b101 100644 --- a/src/plugins/unified_histogram/public/layout/layout.tsx +++ b/src/plugins/unified_histogram/public/layout/layout.tsx @@ -350,7 +350,8 @@ export const UnifiedHistogramLayout = ({ {React.isValidElement(children) - ? React.cloneElement(children, { isChartAvailable }) + ? // @ts-expect-error upgrade typescript v4.9.5 + React.cloneElement(children, { isChartAvailable }) : children} ({ createGridColumns: jest.fn(() => []), @@ -107,7 +108,8 @@ describe('TableVisBasic', () => { undefined ); - const { onSort } = comp.find('EuiDataGrid').prop('sorting'); + const { onSort } = comp.find('EuiDataGrid').prop('sorting')!; + // sort the first column onSort([{ id: 'first', direction: 'asc' }]); expect(uiStateProps.setSort).toHaveBeenCalledWith({ columnIndex: 0, direction: 'asc' }); diff --git a/src/plugins/vis_types/timeseries/public/convert_to_lens/lib/convert/percentile.ts b/src/plugins/vis_types/timeseries/public/convert_to_lens/lib/convert/percentile.ts index 163d42b976b3a..1cc3653879802 100644 --- a/src/plugins/vis_types/timeseries/public/convert_to_lens/lib/convert/percentile.ts +++ b/src/plugins/vis_types/timeseries/public/convert_to_lens/lib/convert/percentile.ts @@ -49,18 +49,20 @@ export const convertToPercentileColumn = ( return null; } const commonColumnParams = createColumn(series, metric, field, { reducedTimeRange, timeShift }); + const meta: PercentileColumn['meta'] = + index !== undefined + ? { + reference: `${metric.id}.${index}`, + ...commonColumnParams.meta, + } + : commonColumnParams.meta; + return { operationType: 'percentile', sourceField: field.name, ...commonColumnParams, params: { ...params, ...getFormat(series) }, - meta: - index !== undefined - ? { - reference: `${metric.id}.${index}`, - ...commonColumnParams.meta, - } - : commonColumnParams.meta, + meta, }; }; diff --git a/src/plugins/vis_types/timeseries/public/convert_to_lens/lib/convert/percentile_rank.ts b/src/plugins/vis_types/timeseries/public/convert_to_lens/lib/convert/percentile_rank.ts index 31374067be7c0..27f9c021c56ca 100644 --- a/src/plugins/vis_types/timeseries/public/convert_to_lens/lib/convert/percentile_rank.ts +++ b/src/plugins/vis_types/timeseries/public/convert_to_lens/lib/convert/percentile_rank.ts @@ -19,6 +19,7 @@ import { Column, PercentileRanksColumnWithExtendedMeta, CommonColumnConverterArgs, + PercentileColumn, } from './types'; export const isPercentileRanksColumnWithMeta = ( @@ -56,18 +57,19 @@ export const convertToPercentileRankColumn = ( } const commonColumnParams = createColumn(series, metric, field, { reducedTimeRange, timeShift }); + const meta: PercentileColumn['meta'] = + index !== undefined + ? { + reference: `${metric.id}.${index}`, + ...commonColumnParams.meta, + } + : commonColumnParams.meta; return { operationType: 'percentile_rank', sourceField: field.name, ...commonColumnParams, params: { ...params, ...getFormat(series) }, - meta: - index !== undefined - ? { - reference: `${metric.id}.${index}`, - ...commonColumnParams.meta, - } - : commonColumnParams.meta, + meta, }; }; diff --git a/src/plugins/vis_types/timeseries/server/plugin.ts b/src/plugins/vis_types/timeseries/server/plugin.ts index 194c6388bac80..fc891c758d575 100644 --- a/src/plugins/vis_types/timeseries/server/plugin.ts +++ b/src/plugins/vis_types/timeseries/server/plugin.ts @@ -62,7 +62,7 @@ export interface VisTypeTimeseriesSetup { getVisData: ( requestContext: VisTypeTimeseriesRequestHandlerContext, fakeRequest: KibanaRequest, - // ideally this should be VisPayload type, but currently has inconsistencies with x-pack/plugins/infra/server/lib/adapters/framework/kibana_framework_adapter.ts + // ideally this should be VisPayload type, but currently has inconsistencies with x-pack/plugins/observability_solution/infra/server/lib/adapters/framework/kibana_framework_adapter.ts options: any ) => Promise; } diff --git a/src/plugins/visualizations/public/convert_to_lens/schemas.ts b/src/plugins/visualizations/public/convert_to_lens/schemas.ts index 886be04bb654a..cd0c3b2560467 100644 --- a/src/plugins/visualizations/public/convert_to_lens/schemas.ts +++ b/src/plugins/visualizations/public/convert_to_lens/schemas.ts @@ -8,7 +8,7 @@ import type { DataView } from '@kbn/data-views-plugin/common'; import { IAggConfig, METRIC_TYPES, TimefilterContract } from '@kbn/data-plugin/public'; -import { AggBasedColumn, PercentageModeConfig, SchemaConfig } from '../../common'; +import { AggBasedColumn, PercentageModeConfig, SchemaConfig, VisParams } from '../../common'; import { convertMetricToColumns } from '../../common/convert_to_lens/lib/metrics'; import { getAggIdAndValue, @@ -133,8 +133,8 @@ const createLayer = ( }; }; -export const getColumnsFromVis = ( - vis: Vis, +export const getColumnsFromVis = ( + vis: Vis, timefilter: TimefilterContract, dataView: DataView, { diff --git a/src/plugins/visualizations/public/types.ts b/src/plugins/visualizations/public/types.ts index f00777c5ef957..29c8ca2e1b826 100644 --- a/src/plugins/visualizations/public/types.ts +++ b/src/plugins/visualizations/public/types.ts @@ -80,7 +80,7 @@ export interface VisToExpressionAstParams { abortSignal?: AbortSignal; } -export type VisToExpressionAst = ( +export type VisToExpressionAst = ( vis: Vis, params: VisToExpressionAstParams ) => Promise | ExpressionAstExpression; diff --git a/src/plugins/visualizations/public/vis.ts b/src/plugins/visualizations/public/vis.ts index d1dbe44d52945..89e7282c4449e 100644 --- a/src/plugins/visualizations/public/vis.ts +++ b/src/plugins/visualizations/public/vis.ts @@ -57,7 +57,7 @@ const getSearchSource = async (inputSearchSource: ISearchSource, savedSearchId?: type PartialVisState = Assign }>; -export class Vis { +export class Vis { public readonly type: BaseVisType; public readonly id?: string; public title: string = ''; diff --git a/src/plugins/visualizations/public/vis_async.ts b/src/plugins/visualizations/public/vis_async.ts index 0996e5da48c36..4e295596b1611 100644 --- a/src/plugins/visualizations/public/vis_async.ts +++ b/src/plugins/visualizations/public/vis_async.ts @@ -9,7 +9,7 @@ import type { SerializedVis } from './vis'; import type { VisParams } from '../common'; -export const createVisAsync = async ( +export const createVisAsync = async ( visType: string, visState: SerializedVis = {} as any ) => { diff --git a/src/plugins/visualizations/public/vis_editors_registry.ts b/src/plugins/visualizations/public/vis_editors_registry.ts index 627490f3f99bf..d03f092d51baa 100644 --- a/src/plugins/visualizations/public/vis_editors_registry.ts +++ b/src/plugins/visualizations/public/vis_editors_registry.ts @@ -6,6 +6,7 @@ * Side Public License, v 1. */ +import { VisParams } from '../common'; import { VisEditorConstructor } from './visualize_app/types'; const DEFAULT_NAME = 'default'; @@ -17,7 +18,10 @@ export const createVisEditorsRegistry = () => { registerDefault: (editor: VisEditorConstructor) => { map.set(DEFAULT_NAME, editor); }, - register: (name: string, editor: VisEditorConstructor) => { + register: ( + name: string, + editor: VisEditorConstructor + ) => { if (name) { map.set(name, editor); } diff --git a/src/plugins/visualizations/public/vis_schemas.ts b/src/plugins/visualizations/public/vis_schemas.ts index cd8bd9bc386a8..72cee5a3ce06b 100644 --- a/src/plugins/visualizations/public/vis_schemas.ts +++ b/src/plugins/visualizations/public/vis_schemas.ts @@ -14,7 +14,7 @@ import { } from '@kbn/data-plugin/common'; import { search } from '@kbn/data-plugin/public'; import { Vis, VisToExpressionAstParams } from './types'; -import { SchemaConfig } from '../common/types'; +import { SchemaConfig, VisParams } from '../common/types'; import { convertToSchemaConfig } from '../common'; const { isDateHistogramBucketAggConfig } = search.aggs; @@ -76,7 +76,7 @@ const createSchemaConfig = ( return { ...convertToSchemaConfig(updatedAgg), accessor }; }; -export const getVisSchemas = ( +export const getVisSchemas = ( vis: Vis, params: VisToExpressionAstParams ): Schemas => { diff --git a/src/plugins/visualizations/public/vis_types/base_vis_type.ts b/src/plugins/visualizations/public/vis_types/base_vis_type.ts index 2625781c26429..26801421159b3 100644 --- a/src/plugins/visualizations/public/vis_types/base_vis_type.ts +++ b/src/plugins/visualizations/public/vis_types/base_vis_type.ts @@ -21,7 +21,7 @@ const defaultOptions: VisTypeOptions = { hierarchicalData: false, // we should get rid of this i guess ? }; -export class BaseVisType { +export class BaseVisType { public readonly name; public readonly title; public readonly description; diff --git a/src/plugins/visualizations/public/vis_types/types.ts b/src/plugins/visualizations/public/vis_types/types.ts index 90f64276adf76..2f689cb81aee0 100644 --- a/src/plugins/visualizations/public/vis_types/types.ts +++ b/src/plugins/visualizations/public/vis_types/types.ts @@ -79,7 +79,7 @@ interface CustomEditorConfig { * A visualization type definition representing a spec of one specific type of "classical" * visualizations (i.e. not Lens visualizations). */ -export interface VisTypeDefinition { +export interface VisTypeDefinition { /** * Visualization unique name */ diff --git a/src/plugins/visualizations/public/vis_types/types_service.ts b/src/plugins/visualizations/public/vis_types/types_service.ts index 4b20dcc1569c5..282c9b65bfe94 100644 --- a/src/plugins/visualizations/public/vis_types/types_service.ts +++ b/src/plugins/visualizations/public/vis_types/types_service.ts @@ -10,6 +10,7 @@ import { visTypeAliasRegistry, VisTypeAlias } from './vis_type_alias_registry'; import { BaseVisType } from './base_vis_type'; import { VisTypeDefinition } from './types'; import { VisGroups } from './vis_groups_enum'; +import { VisParams } from '../../common'; /** * Vis Types Service @@ -19,7 +20,9 @@ import { VisGroups } from './vis_groups_enum'; export class TypesService { private types: Record> = {}; - private registerVisualization(visDefinition: BaseVisType) { + private registerVisualization( + visDefinition: BaseVisType + ) { if (this.types[visDefinition.name]) { throw new Error('type already exists!'); } @@ -32,7 +35,9 @@ export class TypesService { * registers a visualization type * @param config - visualization type definition */ - createBaseVisualization: (config: VisTypeDefinition): void => { + createBaseVisualization: ( + config: VisTypeDefinition + ): void => { const vis = new BaseVisType(config); this.registerVisualization(vis); }, @@ -51,7 +56,9 @@ export class TypesService { * returns specific visualization or undefined if not found * @param {string} visualization - id of visualization to return */ - get: (visualization: string): BaseVisType | undefined => { + get: ( + visualization: string + ): BaseVisType | undefined => { return this.types[visualization]; }, /** diff --git a/src/plugins/visualizations/public/visualize_app/types.ts b/src/plugins/visualizations/public/visualize_app/types.ts index abc55e3e671fe..7e91cd4ce2bd0 100644 --- a/src/plugins/visualizations/public/visualize_app/types.ts +++ b/src/plugins/visualizations/public/visualize_app/types.ts @@ -137,7 +137,7 @@ export type SavedVisInstance = VisInstance; export type ByValueVisInstance = VisInstance; export type VisualizeEditorVisInstance = SavedVisInstance | ByValueVisInstance; -export type VisEditorConstructor = new ( +export type VisEditorConstructor = new ( element: HTMLElement, vis: Vis, eventEmitter: EventEmitter, diff --git a/src/plugins/visualizations/public/wizard/agg_based_selection/agg_based_selection.test.tsx b/src/plugins/visualizations/public/wizard/agg_based_selection/agg_based_selection.test.tsx index 208eefe941528..46100397e2665 100644 --- a/src/plugins/visualizations/public/wizard/agg_based_selection/agg_based_selection.test.tsx +++ b/src/plugins/visualizations/public/wizard/agg_based_selection/agg_based_selection.test.tsx @@ -10,6 +10,7 @@ import React from 'react'; import { mountWithIntl } from '@kbn/test-jest-helpers'; import { TypesStart, BaseVisType, VisGroups } from '../../vis_types'; import { AggBasedSelection } from './agg_based_selection'; +import { VisParams } from '../../../common'; describe('AggBasedSelection', () => { const defaultVisTypeParams = { @@ -47,7 +48,7 @@ describe('AggBasedSelection', () => { ] as BaseVisType[]; const visTypes: TypesStart = { - get(id: string): BaseVisType { + get(id: string): BaseVisType { return _visTypes.find((vis) => vis.name === id) as unknown as BaseVisType; }, all: () => _visTypes, diff --git a/src/plugins/visualizations/public/wizard/group_selection/group_selection.test.tsx b/src/plugins/visualizations/public/wizard/group_selection/group_selection.test.tsx index a9a21446e06a2..33955b6f2995f 100644 --- a/src/plugins/visualizations/public/wizard/group_selection/group_selection.test.tsx +++ b/src/plugins/visualizations/public/wizard/group_selection/group_selection.test.tsx @@ -11,6 +11,7 @@ import { mountWithIntl } from '@kbn/test-jest-helpers'; import { TypesStart, BaseVisType, VisGroups } from '../../vis_types'; import { GroupSelection } from './group_selection'; import { DocLinksStart } from '@kbn/core/public'; +import { VisParams } from '../../../common'; describe('GroupSelection', () => { const defaultVisTypeParams = { @@ -61,7 +62,7 @@ describe('GroupSelection', () => { const visTypesRegistry = (visTypes: BaseVisType[]): TypesStart => { return { - get(id: string): BaseVisType { + get(id: string): BaseVisType { return visTypes.find((vis) => vis.name === id) as unknown as BaseVisType; }, all: () => { diff --git a/src/plugins/visualizations/public/wizard/new_vis_modal.test.tsx b/src/plugins/visualizations/public/wizard/new_vis_modal.test.tsx index 0db5f66cc5c92..c2f9aed1ec0cc 100644 --- a/src/plugins/visualizations/public/wizard/new_vis_modal.test.tsx +++ b/src/plugins/visualizations/public/wizard/new_vis_modal.test.tsx @@ -13,6 +13,7 @@ import NewVisModal from './new_vis_modal'; import { ApplicationStart, DocLinksStart } from '@kbn/core/public'; import { embeddablePluginMock } from '@kbn/embeddable-plugin/public/mocks'; import { contentManagementMock } from '@kbn/content-management-plugin/public/mocks'; +import { VisParams } from '../../common'; describe('NewVisModal', () => { const defaultVisTypeParams = { @@ -61,7 +62,7 @@ describe('NewVisModal', () => { }, ] as BaseVisType[]; const visTypes: TypesStart = { - get(id: string): BaseVisType { + get(id: string): BaseVisType { return _visTypes.find((vis) => vis.name === id) as unknown as BaseVisType; }, all: () => _visTypes, diff --git a/test/functional/apps/dashboard_elements/controls/common/control_group_chaining.ts b/test/functional/apps/dashboard_elements/controls/common/control_group_chaining.ts index 7696b6a6f4762..11ec5694e88b9 100644 --- a/test/functional/apps/dashboard_elements/controls/common/control_group_chaining.ts +++ b/test/functional/apps/dashboard_elements/controls/common/control_group_chaining.ts @@ -154,15 +154,8 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) { suggestions: { Fluffy: 6, 'Fee Fee': 3, Rover: 3 }, invalidSelections: ['sylvester'], }); - const suggestions = pick(OPTIONS_LIST_ANIMAL_SOUND_SUGGESTIONS, [ - 'ruff', - 'bark', - 'grrr', - 'bow ow ow', - 'grr', - ]); await dashboardControls.ensureAvailableOptionsEqual(controlIds[2], { - suggestions: { ...suggestions, grr: suggestions.grr - 1 }, + suggestions: {}, invalidSelections: ['meow'], }); }); @@ -188,6 +181,7 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) { await dashboardControls.optionsListPopoverSelectOption('cat'); await dashboardControls.optionsListEnsurePopoverIsClosed(controlIds[0]); + await dashboardControls.clearControlSelections(controlIds[1]); await dashboardControls.optionsListOpenPopover(controlIds[1]); expect(await dashboardControls.optionsListPopoverGetAvailableOptionsCount()).to.be(1); await dashboardControls.optionsListOpenPopover(controlIds[2]); @@ -201,7 +195,6 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) { await dashboardControls.optionsListEnsurePopoverIsClosed(controlIds[0]); await dashboard.waitForRenderComplete(); - await dashboardControls.clearControlSelections(controlIds[1]); await dashboardControls.optionsListOpenPopover(controlIds[1]); expect(await dashboardControls.optionsListPopoverGetAvailableOptionsCount()).to.be(1); await dashboardControls.ensureAvailableOptionsEqual( diff --git a/test/functional/apps/dashboard_elements/controls/common/range_slider.ts b/test/functional/apps/dashboard_elements/controls/common/range_slider.ts index 36fd494864bb1..8819f143a3dc7 100644 --- a/test/functional/apps/dashboard_elements/controls/common/range_slider.ts +++ b/test/functional/apps/dashboard_elements/controls/common/range_slider.ts @@ -36,6 +36,9 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) { 'kibana_sample_admin', 'test_logstash_reader', ]); + // disable the invalid selection warning toast + await browser.setLocalStorageItem('controls:showInvalidSelectionWarning', 'false'); + await esArchiver.load('test/functional/fixtures/es_archiver/kibana_sample_data_flights'); await kibanaServer.importExport.load( 'test/functional/fixtures/kbn_archiver/dashboard/current/kibana' @@ -99,7 +102,9 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) { additionalSettings: { step: 100 }, }); expect(await dashboardControls.getControlsCount()).to.be(2); - const secondId = (await dashboardControls.getAllControlIds())[1]; + const [firstId, secondId] = await dashboardControls.getAllControlIds(); + await dashboardControls.clearControlSelections(firstId); + await dashboardControls.rangeSliderWaitForLoading(firstId); await dashboardControls.validateRange('placeholder', secondId, '100', '1200'); await dashboardControls.rangeSliderSetLowerBound(secondId, '200'); diff --git a/test/functional/apps/dashboard_elements/controls/options_list/options_list_validation.ts b/test/functional/apps/dashboard_elements/controls/options_list/options_list_validation.ts index d8c1002f485e4..9c222c78715b5 100644 --- a/test/functional/apps/dashboard_elements/controls/options_list/options_list_validation.ts +++ b/test/functional/apps/dashboard_elements/controls/options_list/options_list_validation.ts @@ -111,8 +111,8 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) { }, invalidSelections: ['meow', 'bark'], }); - // only valid selections are applied as filters. - expect(await pieChart.getPieSliceCount()).to.be(1); + // there are no valid selections, so no pie chart is rendered. + expect(await pieChart.expectEmptyPieChart()); }); }); @@ -153,6 +153,8 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) { }, invalidSelections: [], }); + // there are no valid selections, so no pie chart is rendered. + expect(await pieChart.expectEmptyPieChart()); }); }); }); diff --git a/test/functional/apps/discover/group1/_discover.ts b/test/functional/apps/discover/group1/_discover.ts index 34679964e3c94..c931187250cc3 100644 --- a/test/functional/apps/discover/group1/_discover.ts +++ b/test/functional/apps/discover/group1/_discover.ts @@ -170,11 +170,7 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) { }); it('should show matches when time range is expanded', async () => { - await retry.waitFor('view all matches to load', async () => { - await PageObjects.discover.expandTimeRangeAsSuggestedInNoResultsMessage(); - await PageObjects.discover.waitUntilSearchingHasFinished(); - return !(await testSubjects.exists('discoverNoResultsViewAllMatches')); - }); + await PageObjects.discover.expandTimeRangeAsSuggestedInNoResultsMessage(); await retry.try(async function () { expect(await PageObjects.discover.hasNoResults()).to.be(false); expect(await PageObjects.discover.getHitCountInt()).to.be.above(0); diff --git a/test/functional/page_objects/discover_page.ts b/test/functional/page_objects/discover_page.ts index 4cab99481f64d..9ec3bb1330305 100644 --- a/test/functional/page_objects/discover_page.ts +++ b/test/functional/page_objects/discover_page.ts @@ -532,7 +532,25 @@ export class DiscoverPageObject extends FtrService { await this.retry.waitFor('the button before pressing it', async () => { return await this.testSubjects.exists('discoverNoResultsViewAllMatches'); }); - return await this.testSubjects.click('discoverNoResultsViewAllMatches'); + await this.retry.waitForWithTimeout('view all matches to load', 60000, async () => { + try { + // We need to manually click the button since testSubjects.click will + // use a retry, but we want this to throw if the click fails since it + // means the button disappeared before we could click it + const button = await this.testSubjects.find('discoverNoResultsViewAllMatches', 1000); + // Don't click the button if it's disabled since it means the previous + // click succeeded and the request is still loading + if (await button.isEnabled()) { + await button.click(); + } + } catch { + // We could get an exception here if the button isn't found or isn't in + // the DOM by the time we try to click it, so just ignore it and move on + } + await this.waitUntilSearchingHasFinished(); + await this.header.waitUntilLoadingHasFinished(); + return !(await this.testSubjects.exists('discoverNoResultsViewAllMatches')); + }); } public async clickFieldSort(field: string, text = 'Sort New-Old') { diff --git a/test/plugin_functional/test_suites/core_plugins/rendering.ts b/test/plugin_functional/test_suites/core_plugins/rendering.ts index 72b64f7b0aa45..b68ff285076e3 100644 --- a/test/plugin_functional/test_suites/core_plugins/rendering.ts +++ b/test/plugin_functional/test_suites/core_plugins/rendering.ts @@ -39,6 +39,7 @@ export default function ({ getService }: PluginFunctionalProviderContext) { await appsMenu.clickLink(title); return browser.execute(() => { if (!('__RENDERING_SESSION__' in window)) { + // @ts-expect-error upgrade typescript v4.9.5 window.__RENDERING_SESSION__ = []; } diff --git a/tsconfig.base.json b/tsconfig.base.json index 13101db4b4b7e..9c664469164e6 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -74,10 +74,10 @@ "@kbn/analytics-shippers-fullstory/*": ["packages/analytics/shippers/fullstory/*"], "@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/apm_data_access"], - "@kbn/apm-data-access-plugin/*": ["x-pack/plugins/apm_data_access/*"], - "@kbn/apm-plugin": ["x-pack/plugins/apm"], - "@kbn/apm-plugin/*": ["x-pack/plugins/apm/*"], + "@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-plugin": ["x-pack/plugins/observability_solution/apm"], + "@kbn/apm-plugin/*": ["x-pack/plugins/observability_solution/apm/*"], "@kbn/apm-synthtrace": ["packages/kbn-apm-synthtrace"], "@kbn/apm-synthtrace/*": ["packages/kbn-apm-synthtrace/*"], "@kbn/apm-synthtrace-client": ["packages/kbn-apm-synthtrace-client"], @@ -922,8 +922,8 @@ "@kbn/index-patterns-test-plugin/*": ["test/plugin_functional/plugins/index_patterns/*"], "@kbn/infra-forge": ["x-pack/packages/kbn-infra-forge"], "@kbn/infra-forge/*": ["x-pack/packages/kbn-infra-forge/*"], - "@kbn/infra-plugin": ["x-pack/plugins/infra"], - "@kbn/infra-plugin/*": ["x-pack/plugins/infra/*"], + "@kbn/infra-plugin": ["x-pack/plugins/observability_solution/infra"], + "@kbn/infra-plugin/*": ["x-pack/plugins/observability_solution/infra/*"], "@kbn/ingest-pipelines-plugin": ["x-pack/plugins/ingest_pipelines"], "@kbn/ingest-pipelines-plugin/*": ["x-pack/plugins/ingest_pipelines/*"], "@kbn/input-control-vis-plugin": ["src/plugins/input_control_vis"], @@ -1146,8 +1146,8 @@ "@kbn/observability-logs-explorer-plugin/*": ["x-pack/plugins/observability_solution/observability_logs_explorer/*"], "@kbn/observability-onboarding-plugin": ["x-pack/plugins/observability_solution/observability_onboarding"], "@kbn/observability-onboarding-plugin/*": ["x-pack/plugins/observability_solution/observability_onboarding/*"], - "@kbn/observability-plugin": ["x-pack/plugins/observability"], - "@kbn/observability-plugin/*": ["x-pack/plugins/observability/*"], + "@kbn/observability-plugin": ["x-pack/plugins/observability_solution/observability"], + "@kbn/observability-plugin/*": ["x-pack/plugins/observability_solution/observability/*"], "@kbn/observability-shared-plugin": ["x-pack/plugins/observability_solution/observability_shared"], "@kbn/observability-shared-plugin/*": ["x-pack/plugins/observability_solution/observability_shared/*"], "@kbn/oidc-provider-plugin": ["x-pack/test/security_api_integration/plugins/oidc_provider"], diff --git a/x-pack/.i18nrc.json b/x-pack/.i18nrc.json index 9698ae5321bcc..f612dc9c79507 100644 --- a/x-pack/.i18nrc.json +++ b/x-pack/.i18nrc.json @@ -7,8 +7,8 @@ "xpack.eventLog": "plugins/event_log", "xpack.stackAlerts": "plugins/stack_alerts", "xpack.stackConnectors": "plugins/stack_connectors", - "xpack.apm": "plugins/apm", - "xpack.apmDataAccess": "plugins/apm_data_access", + "xpack.apm": "plugins/observability_solution/apm", + "xpack.apmDataAccess": "plugins/observability_solution/apm_data_access", "xpack.banners": "plugins/banners", "xpack.canvas": "plugins/canvas", "xpack.cases": "plugins/cases", @@ -39,7 +39,7 @@ "xpack.grokDebugger": "plugins/grokdebugger", "xpack.idxMgmt": "plugins/index_management", "xpack.indexLifecycleMgmt": "plugins/index_lifecycle_management", - "xpack.infra": "plugins/infra", + "xpack.infra": "plugins/observability_solution/infra", "xpack.logsExplorer": "plugins/observability_solution/logs_explorer", "xpack.logsShared": "plugins/logs_shared", "xpack.fleet": "plugins/fleet", @@ -66,7 +66,7 @@ "plugins/ml" ], "xpack.monitoring": ["plugins/monitoring"], - "xpack.observability": "plugins/observability", + "xpack.observability": "plugins/observability_solution/observability", "xpack.observabilityLogsExplorer": "plugins/observability_solution/observability_logs_explorer", "xpack.observability_onboarding": "plugins/observability_solution/observability_onboarding", "xpack.observabilityShared": "plugins/observability_solution/observability_shared", diff --git a/x-pack/packages/kbn-slo-schema/src/rest_specs/slo.ts b/x-pack/packages/kbn-slo-schema/src/rest_specs/slo.ts index ec4af8ab2edc2..9d514af3606e7 100644 --- a/x-pack/packages/kbn-slo-schema/src/rest_specs/slo.ts +++ b/x-pack/packages/kbn-slo-schema/src/rest_specs/slo.ts @@ -14,6 +14,7 @@ import { budgetingMethodSchema, dateType, durationType, + groupingsSchema, histogramIndicatorSchema, historicalSummarySchema, indicatorSchema, @@ -34,6 +35,7 @@ import { timesliceMetricBasicMetricWithField, timesliceMetricDocCountMetric, timesliceMetricPercentileMetric, + allOrAnyStringOrArray, kqlWithFiltersSchema, querySchema, } from '../schema'; @@ -52,7 +54,7 @@ const createSLOParamsSchema = t.type({ id: sloIdSchema, settings: optionalSettingsSchema, tags: tagsSchema, - groupBy: allOrAnyString, + groupBy: allOrAnyStringOrArray, revision: t.number, }), ]), @@ -75,6 +77,7 @@ const getPreviewDataParamsSchema = t.type({ objective: objectiveSchema, instanceId: t.string, groupBy: t.string, + groupings: t.record(t.string, t.unknown), }), ]), }); @@ -136,7 +139,7 @@ const sloResponseSchema = t.intersection([ settings: settingsSchema, enabled: t.boolean, tags: tagsSchema, - groupBy: allOrAnyString, + groupBy: allOrAnyStringOrArray, createdAt: dateType, updatedAt: dateType, version: t.number, @@ -148,7 +151,7 @@ const sloResponseSchema = t.intersection([ const sloWithSummaryResponseSchema = t.intersection([ sloResponseSchema, - t.type({ summary: summarySchema }), + t.type({ summary: summarySchema, groupings: groupingsSchema }), ]); const sloGroupWithSummaryResponseSchema = t.type({ @@ -186,7 +189,7 @@ const updateSLOParamsSchema = t.type({ objective: objectiveSchema, settings: optionalSettingsSchema, tags: tagsSchema, - groupBy: allOrAnyString, + groupBy: allOrAnyStringOrArray, }), }); @@ -221,7 +224,9 @@ const deleteSLOInstancesParamsSchema = t.type({ }); const fetchHistoricalSummaryParamsSchema = t.type({ - body: t.type({ list: t.array(t.type({ sloId: sloIdSchema, instanceId: allOrAnyString })) }), + body: t.type({ + list: t.array(t.type({ sloId: sloIdSchema, instanceId: t.string })), + }), }); const fetchHistoricalSummaryResponseSchema = t.array( @@ -276,7 +281,7 @@ const getSLOInstancesParamsSchema = t.type({ }); const getSLOInstancesResponseSchema = t.type({ - groupBy: t.string, + groupBy: t.union([t.string, t.array(t.string)]), instances: t.array(t.string), }); diff --git a/x-pack/packages/kbn-slo-schema/src/schema/common.ts b/x-pack/packages/kbn-slo-schema/src/schema/common.ts index e2180aa909529..d3424eaed8842 100644 --- a/x-pack/packages/kbn-slo-schema/src/schema/common.ts +++ b/x-pack/packages/kbn-slo-schema/src/schema/common.ts @@ -12,6 +12,12 @@ const ALL_VALUE = '*'; const allOrAnyString = t.union([t.literal(ALL_VALUE), t.string]); +const allOrAnyStringOrArray = t.union([ + t.literal(ALL_VALUE), + t.string, + t.array(t.union([t.literal(ALL_VALUE), t.string])), +]); + const dateType = new t.Type( 'DateType', (input: unknown): input is Date => input instanceof Date, @@ -43,6 +49,8 @@ const summarySchema = t.type({ errorBudget: errorBudgetSchema, }); +const groupingsSchema = t.record(t.string, t.union([t.string, t.number])); + const groupSummarySchema = t.type({ total: t.number, worst: t.type({ @@ -115,9 +123,11 @@ const querySchema = t.union([kqlQuerySchema, kqlWithFiltersSchema]); export { ALL_VALUE, allOrAnyString, + allOrAnyStringOrArray, dateRangeSchema, dateType, errorBudgetSchema, + groupingsSchema, historicalSummarySchema, previewDataSchema, statusSchema, diff --git a/x-pack/packages/kbn-slo-schema/src/schema/slo.ts b/x-pack/packages/kbn-slo-schema/src/schema/slo.ts index 27e8a9e998f71..6f39215a5b5ab 100644 --- a/x-pack/packages/kbn-slo-schema/src/schema/slo.ts +++ b/x-pack/packages/kbn-slo-schema/src/schema/slo.ts @@ -6,7 +6,7 @@ */ import * as t from 'io-ts'; -import { allOrAnyString, dateType, summarySchema } from './common'; +import { allOrAnyStringOrArray, dateType, summarySchema, groupingsSchema } from './common'; import { durationType } from './duration'; import { indicatorSchema } from './indicators'; import { timeWindowSchema } from './time_window'; @@ -49,11 +49,14 @@ const sloSchema = t.type({ tags: tagsSchema, createdAt: dateType, updatedAt: dateType, - groupBy: allOrAnyString, + groupBy: allOrAnyStringOrArray, version: t.number, }); -const sloWithSummarySchema = t.intersection([sloSchema, t.type({ summary: summarySchema })]); +const sloWithSummarySchema = t.intersection([ + sloSchema, + t.type({ summary: summarySchema, groupings: groupingsSchema }), +]); export { budgetingMethodSchema, diff --git a/x-pack/packages/ml/aiops_components/src/progress_controls/progress_controls.tsx b/x-pack/packages/ml/aiops_components/src/progress_controls/progress_controls.tsx index 4a2e38a4f3acf..1dcc35a433eb2 100644 --- a/x-pack/packages/ml/aiops_components/src/progress_controls/progress_controls.tsx +++ b/x-pack/packages/ml/aiops_components/src/progress_controls/progress_controls.tsx @@ -24,7 +24,7 @@ import { FormattedMessage } from '@kbn/i18n-react'; import { useAnimatedProgressBarBackground } from './use_animated_progress_bar_background'; // TODO Consolidate with duplicate component `CorrelationsProgressControls` in -// `x-pack/plugins/apm/public/components/app/correlations/progress_controls.tsx` +// `x-pack/plugins/observability_solution/apm/public/components/app/correlations/progress_controls.tsx` /** * Props for ProgressControlProps diff --git a/x-pack/packages/ml/cancellable_search/src/use_cancellable_search.ts b/x-pack/packages/ml/cancellable_search/src/use_cancellable_search.ts index 78e7e4a17b1fa..4f0d75fdede24 100644 --- a/x-pack/packages/ml/cancellable_search/src/use_cancellable_search.ts +++ b/x-pack/packages/ml/cancellable_search/src/use_cancellable_search.ts @@ -31,6 +31,7 @@ export function useCancellableSearch(data: DataPublicPluginStart) { ): Promise => { return new Promise((resolve, reject) => { data.search + // @ts-expect-error upgrade typescript v4.9.5 .search(requestBody, { abortSignal: abortController.current.signal, ...options, diff --git a/x-pack/packages/ml/date_picker/src/components/full_time_range_selector.test.tsx b/x-pack/packages/ml/date_picker/src/components/full_time_range_selector.test.tsx index 9307a24d88359..a217bbc4fb2cf 100644 --- a/x-pack/packages/ml/date_picker/src/components/full_time_range_selector.test.tsx +++ b/x-pack/packages/ml/date_picker/src/components/full_time_range_selector.test.tsx @@ -70,6 +70,7 @@ describe('FullTimeRangeSelector', () => { const { getByText } = render( + {/* @ts-expect-error upgrade typescript v4.9.5*/} @@ -98,6 +99,7 @@ describe('FullTimeRangeSelector', () => { const { getByText } = render( + {/* @ts-expect-error upgrade typescript v4.9.5*/} diff --git a/x-pack/packages/security/plugin_types_common/src/licensing/license.ts b/x-pack/packages/security/plugin_types_common/src/licensing/license.ts index 041d76c0e8740..0a7e8e3b87c67 100644 --- a/x-pack/packages/security/plugin_types_common/src/licensing/license.ts +++ b/x-pack/packages/security/plugin_types_common/src/licensing/license.ts @@ -13,6 +13,7 @@ import type { SecurityLicenseFeatures } from './license_features'; export interface SecurityLicense { isLicenseAvailable(): boolean; + getUnavailableReason: () => string | undefined; isEnabled(): boolean; getFeatures(): SecurityLicenseFeatures; hasAtLeast(licenseType: LicenseType): boolean | undefined; diff --git a/x-pack/plugins/aiops/common/__mocks__/artificial_logs/filtered_frequent_item_sets.ts b/x-pack/plugins/aiops/common/__mocks__/artificial_logs/filtered_frequent_item_sets.ts index 89e9c1fb141ab..e291093e7d4c1 100644 --- a/x-pack/plugins/aiops/common/__mocks__/artificial_logs/filtered_frequent_item_sets.ts +++ b/x-pack/plugins/aiops/common/__mocks__/artificial_logs/filtered_frequent_item_sets.ts @@ -9,7 +9,10 @@ import type { ItemSet } from '../../types'; export const filteredFrequentItemSets: ItemSet[] = [ { - set: { response_code: '500', url: 'home.php' }, + set: [ + { fieldName: 'response_code', fieldValue: '500' }, + { fieldName: 'url', fieldValue: 'home.php' }, + ], size: 2, maxPValue: 0.010770456205312423, doc_count: 792, @@ -17,7 +20,10 @@ export const filteredFrequentItemSets: ItemSet[] = [ total_doc_count: 1505, }, { - set: { user: 'Peter', url: 'home.php' }, + set: [ + { fieldName: 'user', fieldValue: 'Peter' }, + { fieldName: 'url', fieldValue: 'home.php' }, + ], size: 2, maxPValue: 0.010770456205312423, doc_count: 634, diff --git a/x-pack/plugins/aiops/common/__mocks__/artificial_logs/final_significant_item_groups.ts b/x-pack/plugins/aiops/common/__mocks__/artificial_logs/final_significant_item_groups.ts index 8f28e49ca3d7a..7fcf5ea425afe 100644 --- a/x-pack/plugins/aiops/common/__mocks__/artificial_logs/final_significant_item_groups.ts +++ b/x-pack/plugins/aiops/common/__mocks__/artificial_logs/final_significant_item_groups.ts @@ -9,32 +9,7 @@ import type { SignificantItemGroup } from '@kbn/ml-agg-utils'; export const finalSignificantItemGroups: SignificantItemGroup[] = [ { - docCount: 632, - group: [ - { - key: 'url:login.php', - type: 'keyword', - fieldName: 'url', - fieldValue: 'login.php', - docCount: 790, - duplicate: 2, - pValue: 0.012783309213417932, - }, - { - key: 'user:Peter', - type: 'keyword', - fieldName: 'user', - fieldValue: 'Peter', - docCount: 632, - duplicate: 2, - pValue: 0.012783309213417932, - }, - ], - id: '1937394803', - pValue: 0.012783309213417932, - }, - { - docCount: 792, + id: '2675980076', group: [ { key: 'response_code:500', @@ -42,8 +17,8 @@ export const finalSignificantItemGroups: SignificantItemGroup[] = [ fieldName: 'response_code', fieldValue: '500', docCount: 792, - duplicate: 2, pValue: 0.012783309213417932, + duplicate: 2, }, { key: 'url:home.php', @@ -51,15 +26,15 @@ export const finalSignificantItemGroups: SignificantItemGroup[] = [ fieldName: 'url', fieldValue: 'home.php', docCount: 792, - duplicate: 2, pValue: 0.00974308761016614, + duplicate: 2, }, ], - id: '2675980076', + docCount: 792, pValue: 0.00974308761016614, }, { - docCount: 790, + id: '3819687732', group: [ { key: 'response_code:500', @@ -67,8 +42,8 @@ export const finalSignificantItemGroups: SignificantItemGroup[] = [ fieldName: 'response_code', fieldValue: '500', docCount: 792, - duplicate: 2, pValue: 0.012783309213417932, + duplicate: 2, }, { key: 'url:login.php', @@ -76,15 +51,15 @@ export const finalSignificantItemGroups: SignificantItemGroup[] = [ fieldName: 'url', fieldValue: 'login.php', docCount: 790, - duplicate: 2, pValue: 0.012783309213417932, + duplicate: 2, }, ], - id: '3819687732', + docCount: 790, pValue: 0.012783309213417932, }, { - docCount: 636, + id: '2091742187', group: [ { key: 'url:home.php', @@ -92,8 +67,8 @@ export const finalSignificantItemGroups: SignificantItemGroup[] = [ fieldName: 'url', fieldValue: 'home.php', docCount: 792, - duplicate: 2, pValue: 0.00974308761016614, + duplicate: 2, }, { key: 'user:Peter', @@ -101,11 +76,36 @@ export const finalSignificantItemGroups: SignificantItemGroup[] = [ fieldName: 'user', fieldValue: 'Peter', docCount: 636, - duplicate: 2, pValue: 0.00974308761016614, + duplicate: 2, }, ], - id: '2091742187', + docCount: 636, pValue: 0.00974308761016614, }, + { + id: '1937394803', + group: [ + { + key: 'url:login.php', + type: 'keyword', + fieldName: 'url', + fieldValue: 'login.php', + docCount: 790, + pValue: 0.012783309213417932, + duplicate: 2, + }, + { + key: 'user:Peter', + type: 'keyword', + fieldName: 'user', + fieldValue: 'Peter', + docCount: 632, + pValue: 0.012783309213417932, + duplicate: 2, + }, + ], + docCount: 632, + pValue: 0.012783309213417932, + }, ]; diff --git a/x-pack/plugins/aiops/common/__mocks__/artificial_logs/frequent_item_sets.ts b/x-pack/plugins/aiops/common/__mocks__/artificial_logs/frequent_item_sets.ts index b354bb00f7b2c..791512e6bffbc 100644 --- a/x-pack/plugins/aiops/common/__mocks__/artificial_logs/frequent_item_sets.ts +++ b/x-pack/plugins/aiops/common/__mocks__/artificial_logs/frequent_item_sets.ts @@ -9,7 +9,10 @@ import type { ItemSet } from '../../types'; export const frequentItemSets: ItemSet[] = [ { - set: { response_code: '500', url: 'home.php' }, + set: [ + { fieldName: 'response_code', fieldValue: '500' }, + { fieldName: 'url', fieldValue: 'home.php' }, + ], size: 2, maxPValue: 0.00974308761016614, doc_count: 792, @@ -17,7 +20,10 @@ export const frequentItemSets: ItemSet[] = [ total_doc_count: 2929, }, { - set: { response_code: '500', url: 'login.php' }, + set: [ + { fieldName: 'response_code', fieldValue: '500' }, + { fieldName: 'url', fieldValue: 'login.php' }, + ], size: 2, maxPValue: 0.012783309213417932, doc_count: 790, @@ -25,7 +31,10 @@ export const frequentItemSets: ItemSet[] = [ total_doc_count: 2929, }, { - set: { user: 'Peter', url: 'home.php' }, + set: [ + { fieldName: 'user', fieldValue: 'Peter' }, + { fieldName: 'url', fieldValue: 'home.php' }, + ], size: 2, maxPValue: 0.00974308761016614, doc_count: 636, @@ -33,7 +42,10 @@ export const frequentItemSets: ItemSet[] = [ total_doc_count: 2929, }, { - set: { user: 'Peter', url: 'login.php' }, + set: [ + { fieldName: 'user', fieldValue: 'Peter' }, + { fieldName: 'url', fieldValue: 'login.php' }, + ], size: 2, maxPValue: 0.012783309213417932, doc_count: 632, @@ -41,7 +53,10 @@ export const frequentItemSets: ItemSet[] = [ total_doc_count: 2929, }, { - set: { response_code: '500', user: 'Peter' }, + set: [ + { fieldName: 'response_code', fieldValue: '500' }, + { fieldName: 'user', fieldValue: 'Peter' }, + ], size: 2, maxPValue: 3.6085657805889595e-12, doc_count: 79, diff --git a/x-pack/plugins/aiops/common/constants.ts b/x-pack/plugins/aiops/common/constants.ts index 334bb64dd2484..c689333857083 100644 --- a/x-pack/plugins/aiops/common/constants.ts +++ b/x-pack/plugins/aiops/common/constants.ts @@ -14,6 +14,14 @@ export const LOG_RATE_ANALYSIS_SETTINGS = { * The minimum support value to be used for the frequent item sets aggration. */ FREQUENT_ITEMS_SETS_MINIMUM_SUPPORT: 0.001, + /** + * The maximum values per field to be used for the frequent item sets aggration. + */ + FREQUENT_ITEMS_SETS_FIELD_VALUE_LIMIT: 50, + /** + * The number of terms by field to fetch for the zero docs fallback analysis. + */ + TOP_TERMS_FALLBACK_SIZE: 100, } as const; /** diff --git a/x-pack/plugins/aiops/common/types.ts b/x-pack/plugins/aiops/common/types.ts index 67fca0b473549..3d7bb6d15ef27 100644 --- a/x-pack/plugins/aiops/common/types.ts +++ b/x-pack/plugins/aiops/common/types.ts @@ -15,7 +15,7 @@ export interface SignificantItemDuplicateGroup { export type FieldValuePairCounts = Record>; export interface ItemSet { - set: Record; + set: FieldValuePair[]; size: number; maxPValue: number; doc_count: number; diff --git a/x-pack/plugins/aiops/public/cases/register_change_point_charts_attachment.tsx b/x-pack/plugins/aiops/public/cases/register_change_point_charts_attachment.tsx index d91a50ab13d36..3c76c2718b49e 100644 --- a/x-pack/plugins/aiops/public/cases/register_change_point_charts_attachment.tsx +++ b/x-pack/plugins/aiops/public/cases/register_change_point_charts_attachment.tsx @@ -8,7 +8,7 @@ import React from 'react'; import { i18n } from '@kbn/i18n'; import { FormattedMessage } from '@kbn/i18n-react'; -import type { CasesUiSetup } from '@kbn/cases-plugin/public'; +import type { CasesPublicSetup } from '@kbn/cases-plugin/public'; import type { CoreStart } from '@kbn/core/public'; import { CASES_ATTACHMENT_CHANGE_POINT_CHART, @@ -18,7 +18,7 @@ import { getEmbeddableChangePointChart } from '../embeddable/embeddable_change_p import { AiopsPluginStartDeps } from '../types'; export function registerChangePointChartsAttachment( - cases: CasesUiSetup, + cases: CasesPublicSetup, coreStart: CoreStart, pluginStart: AiopsPluginStartDeps ) { diff --git a/x-pack/plugins/aiops/public/components/change_point_detection/change_point_detection_context.tsx b/x-pack/plugins/aiops/public/components/change_point_detection/change_point_detection_context.tsx index bd3b163fda585..ec099521c79a5 100644 --- a/x-pack/plugins/aiops/public/components/change_point_detection/change_point_detection_context.tsx +++ b/x-pack/plugins/aiops/public/components/change_point_detection/change_point_detection_context.tsx @@ -18,10 +18,10 @@ import { type DataViewField } from '@kbn/data-views-plugin/public'; import { startWith } from 'rxjs'; import type { Filter, Query } from '@kbn/es-query'; import { usePageUrlState } from '@kbn/ml-url-state'; -import { useTimefilter, useTimeRangeUpdates } from '@kbn/ml-date-picker'; +import { useTimefilter } from '@kbn/ml-date-picker'; import { ES_FIELD_TYPES } from '@kbn/field-types'; import { type QueryDslQueryContainer } from '@kbn/data-views-plugin/common/types'; -import { FilterQueryContextProvider } from '../../hooks/use_filters_query'; +import { useFilterQueryUpdates } from '../../hooks/use_filters_query'; import { type ChangePointType, DEFAULT_AGG_FUNCTION } from './constants'; import { createMergedEsQuery, @@ -155,14 +155,14 @@ export const ChangePointDetectionContextProvider: FC = ({ children }) => { const timefilter = useTimefilter(); const timeBuckets = useTimeBuckets(); + const { searchBounds } = useFilterQueryUpdates(); + const [resultFilters, setResultFilter] = useState([]); const [selectedChangePoints, setSelectedChangePoints] = useState< Record >({}); const [bucketInterval, setBucketInterval] = useState(); - const timeRange = useTimeRangeUpdates(true); - useEffect(function updateIntervalOnTimeBoundsChange() { const timeUpdateSubscription = timefilter .getTimeUpdate$() @@ -267,14 +267,14 @@ export const ChangePointDetectionContextProvider: FC = ({ children }) => { mergedQuery.bool!.filter.push({ range: { [dataView.timeFieldName!]: { - from: timeRange.from, - to: timeRange.to, + from: searchBounds.min?.valueOf(), + to: searchBounds.max?.valueOf(), }, }, }); return mergedQuery; - }, [resultFilters, resultQuery, uiSettings, dataView, timeRange]); + }, [resultFilters, resultQuery, uiSettings, dataView, searchBounds]); if (!bucketInterval) return null; @@ -295,7 +295,7 @@ export const ChangePointDetectionContextProvider: FC = ({ children }) => { return ( - {children} + {children} ); }; diff --git a/x-pack/plugins/aiops/public/components/change_point_detection/change_point_detection_root.tsx b/x-pack/plugins/aiops/public/components/change_point_detection/change_point_detection_root.tsx index b63e17e2e0d86..53eb107ddfe6a 100644 --- a/x-pack/plugins/aiops/public/components/change_point_detection/change_point_detection_root.tsx +++ b/x-pack/plugins/aiops/public/components/change_point_detection/change_point_detection_root.tsx @@ -38,6 +38,7 @@ import { import { timeSeriesDataViewWarning } from '../../application/utils/time_series_dataview_check'; import { ReloadContextProvider } from '../../hooks/use_reload'; import { AIOPS_TELEMETRY_ID } from '../../../common/constants'; +import { FilterQueryContextProvider } from '../../hooks/use_filters_query'; const localStorage = new Storage(window.localStorage); @@ -97,11 +98,13 @@ export const ChangePointDetectionAppState: FC - - - - - + + + + + + + diff --git a/x-pack/plugins/aiops/public/components/change_point_detection/change_points_table.tsx b/x-pack/plugins/aiops/public/components/change_point_detection/change_points_table.tsx index 6abf5102a37ca..0ee0a316b0811 100644 --- a/x-pack/plugins/aiops/public/components/change_point_detection/change_points_table.tsx +++ b/x-pack/plugins/aiops/public/components/change_point_detection/change_points_table.tsx @@ -398,6 +398,7 @@ export const MiniChartPreview: FC = ({ id={`mini_changePointChart_${annotation.group ? annotation.group.value : annotation.label}`} style={{ height: 80 }} timeRange={timeRange} + noPadding query={query} filters={filters} // @ts-ignore diff --git a/x-pack/plugins/aiops/public/components/change_point_detection/use_common_chart_props.ts b/x-pack/plugins/aiops/public/components/change_point_detection/use_common_chart_props.ts index c33667ee93ee4..71b0e2afaf127 100644 --- a/x-pack/plugins/aiops/public/components/change_point_detection/use_common_chart_props.ts +++ b/x-pack/plugins/aiops/public/components/change_point_detection/use_common_chart_props.ts @@ -5,12 +5,10 @@ * 2.0. */ -import moment from 'moment'; -import { FilterStateStore, type TimeRange } from '@kbn/es-query'; +import { FilterStateStore } from '@kbn/es-query'; import { type TypedLensByValueInput } from '@kbn/lens-plugin/public'; -import { getAbsoluteTimeRange } from '@kbn/data-plugin/common'; import { useMemo } from 'react'; -import { useFilerQueryUpdates } from '../../hooks/use_filters_query'; +import { useFilterQueryUpdates } from '../../hooks/use_filters_query'; import { fnOperationTypeMapping } from './constants'; import { useDataSource } from '../../hooks/use_data_source'; import { ChangePointAnnotation, FieldConfig } from './change_point_detection_context'; @@ -32,20 +30,7 @@ export const useCommonChartProps = ({ }): Partial => { const { dataView } = useDataSource(); - const { filters: resultFilters, query: resultQuery, timeRange } = useFilerQueryUpdates(); - - /** - * In order to correctly render annotations for change points at the edges, - * we need to adjust time bound based on the change point timestamp. - */ - const chartTimeRange = useMemo(() => { - const absoluteTimeRange = getAbsoluteTimeRange(timeRange); - - return { - from: moment.min(moment(absoluteTimeRange.from), moment(annotation.timestamp)).toISOString(), - to: moment.max(moment(absoluteTimeRange.to), moment(annotation.timestamp)).toISOString(), - }; - }, [timeRange, annotation.timestamp]); + const { filters: resultFilters, query: resultQuery, searchBounds } = useFilterQueryUpdates(); const filters = useMemo(() => { return [ @@ -230,8 +215,13 @@ export const useCommonChartProps = ({ gridAndLabelsVisibility, ]); + const boundsTimeRange = { + from: searchBounds.min?.toISOString()!, + to: searchBounds.max?.toISOString()!, + }; + return { - timeRange: chartTimeRange, + timeRange: boundsTimeRange, filters, query: resultQuery, attributes, diff --git a/x-pack/plugins/aiops/public/components/log_rate_analysis_results_table/get_group_table_items.test.ts b/x-pack/plugins/aiops/public/components/log_rate_analysis_results_table/get_group_table_items.test.ts index c674da3948644..0976382377245 100644 --- a/x-pack/plugins/aiops/public/components/log_rate_analysis_results_table/get_group_table_items.test.ts +++ b/x-pack/plugins/aiops/public/components/log_rate_analysis_results_table/get_group_table_items.test.ts @@ -15,34 +15,10 @@ describe('getGroupTableItems', () => { expect(groupTableItems).toEqual([ { - docCount: 632, - groupItemsSortedByUniqueness: [ - { - key: 'user:Peter', - type: 'keyword', - fieldName: 'user', - fieldValue: 'Peter', - docCount: 632, - duplicate: 2, - pValue: 0.012783309213417932, - }, - { - key: 'url:login.php', - type: 'keyword', - fieldName: 'url', - fieldValue: 'login.php', - docCount: 790, - duplicate: 2, - pValue: 0.012783309213417932, - }, - ], - histogram: undefined, - id: '1937394803', - pValue: 0.012783309213417932, - uniqueItemsCount: 0, - }, - { + id: '2675980076', docCount: 792, + pValue: 0.00974308761016614, + uniqueItemsCount: 0, groupItemsSortedByUniqueness: [ { key: 'response_code:500', @@ -50,8 +26,8 @@ describe('getGroupTableItems', () => { fieldName: 'response_code', fieldValue: '500', docCount: 792, - duplicate: 2, pValue: 0.012783309213417932, + duplicate: 2, }, { key: 'url:home.php', @@ -59,17 +35,16 @@ describe('getGroupTableItems', () => { fieldName: 'url', fieldValue: 'home.php', docCount: 792, - duplicate: 2, pValue: 0.00974308761016614, + duplicate: 2, }, ], - histogram: undefined, - id: '2675980076', - pValue: 0.00974308761016614, - uniqueItemsCount: 0, }, { + id: '3819687732', docCount: 790, + pValue: 0.012783309213417932, + uniqueItemsCount: 0, groupItemsSortedByUniqueness: [ { key: 'url:login.php', @@ -77,8 +52,8 @@ describe('getGroupTableItems', () => { fieldName: 'url', fieldValue: 'login.php', docCount: 790, - duplicate: 2, pValue: 0.012783309213417932, + duplicate: 2, }, { key: 'response_code:500', @@ -86,17 +61,16 @@ describe('getGroupTableItems', () => { fieldName: 'response_code', fieldValue: '500', docCount: 792, - duplicate: 2, pValue: 0.012783309213417932, + duplicate: 2, }, ], - histogram: undefined, - id: '3819687732', - pValue: 0.012783309213417932, - uniqueItemsCount: 0, }, { + id: '2091742187', docCount: 636, + pValue: 0.00974308761016614, + uniqueItemsCount: 0, groupItemsSortedByUniqueness: [ { key: 'user:Peter', @@ -104,8 +78,8 @@ describe('getGroupTableItems', () => { fieldName: 'user', fieldValue: 'Peter', docCount: 636, - duplicate: 2, pValue: 0.00974308761016614, + duplicate: 2, }, { key: 'url:home.php', @@ -113,14 +87,36 @@ describe('getGroupTableItems', () => { fieldName: 'url', fieldValue: 'home.php', docCount: 792, - duplicate: 2, pValue: 0.00974308761016614, + duplicate: 2, }, ], - histogram: undefined, - id: '2091742187', - pValue: 0.00974308761016614, + }, + { + id: '1937394803', + docCount: 632, + pValue: 0.012783309213417932, uniqueItemsCount: 0, + groupItemsSortedByUniqueness: [ + { + key: 'user:Peter', + type: 'keyword', + fieldName: 'user', + fieldValue: 'Peter', + docCount: 632, + pValue: 0.012783309213417932, + duplicate: 2, + }, + { + key: 'url:login.php', + type: 'keyword', + fieldName: 'url', + fieldValue: 'login.php', + docCount: 790, + pValue: 0.012783309213417932, + duplicate: 2, + }, + ], }, ]); }); diff --git a/x-pack/plugins/aiops/public/components/log_rate_analysis_results_table/get_table_item_as_kql.test.ts b/x-pack/plugins/aiops/public/components/log_rate_analysis_results_table/get_table_item_as_kql.test.ts index 64f4fde55a660..28c4d8c40a676 100644 --- a/x-pack/plugins/aiops/public/components/log_rate_analysis_results_table/get_table_item_as_kql.test.ts +++ b/x-pack/plugins/aiops/public/components/log_rate_analysis_results_table/get_table_item_as_kql.test.ts @@ -20,9 +20,8 @@ describe('getTableItemAsKQL', () => { }); it('returns a KQL syntax for a group of significant items', () => { const groupTableItems = getGroupTableItems(finalSignificantItemGroups); - expect(getTableItemAsKQL(groupTableItems[0])).toBe('user:Peter AND url:login.php'); - expect(getTableItemAsKQL(groupTableItems[1])).toBe('response_code:500 AND url:home.php'); - expect(getTableItemAsKQL(groupTableItems[2])).toBe('url:login.php AND response_code:500'); - expect(getTableItemAsKQL(groupTableItems[3])).toBe('user:Peter AND url:home.php'); + expect(getTableItemAsKQL(groupTableItems[0])).toBe('response_code:500 AND url:home.php'); + expect(getTableItemAsKQL(groupTableItems[1])).toBe('url:login.php AND response_code:500'); + expect(getTableItemAsKQL(groupTableItems[2])).toBe('user:Peter AND url:home.php'); }); }); diff --git a/x-pack/plugins/aiops/public/components/log_rate_analysis_results_table/log_rate_analysis_results_table_groups.tsx b/x-pack/plugins/aiops/public/components/log_rate_analysis_results_table/log_rate_analysis_results_table_groups.tsx index 957385780ceaa..0d250a08f8c11 100644 --- a/x-pack/plugins/aiops/public/components/log_rate_analysis_results_table/log_rate_analysis_results_table_groups.tsx +++ b/x-pack/plugins/aiops/public/components/log_rate_analysis_results_table/log_rate_analysis_results_table_groups.tsx @@ -31,6 +31,7 @@ import { FormattedMessage } from '@kbn/i18n-react'; import type { SignificantItem } from '@kbn/ml-agg-utils'; import type { TimeRange as TimeRangeMs } from '@kbn/ml-date-picker'; import type { DataView } from '@kbn/data-views-plugin/public'; +import { stringHash } from '@kbn/ml-string-hash'; import { MiniHistogram } from '../mini_histogram'; @@ -203,7 +204,7 @@ export const LogRateAnalysisResultsGroupsTable: FC= MAX_GROUP_BADGES) break; valuesBadges.push( - + = ({ return ( - - + + = ({ onChange={input.onChange} emptyState={input.emptyState} /> - - + + ); @@ -139,7 +137,7 @@ export const ChartGridEmbeddableWrapper: FC< onChange, emptyState, }) => { - const { filters, query, timeRange } = useFilerQueryUpdates(); + const { filters, query, searchBounds, interval } = useFilterQueryUpdates(); const fieldConfig = useMemo(() => { return { fn, metricField, splitField }; @@ -147,14 +145,6 @@ export const ChartGridEmbeddableWrapper: FC< const { dataView } = useDataSource(); const { uiSettings } = useAiopsAppContext(); - const timeBuckets = useTimeBuckets(); - const timefilter = useTimefilter(); - - const interval = useMemo(() => { - timeBuckets.setInterval('auto'); - timeBuckets.setBounds(timefilter.calculateBounds(timeRange)); - return timeBuckets.getInterval().expression; - }, [timeRange, timeBuckets, timefilter]); const combinedQuery = useMemo(() => { const mergedQuery = createMergedEsQuery(query, filters, dataView, uiSettings); @@ -168,8 +158,9 @@ export const ChartGridEmbeddableWrapper: FC< mergedQuery.bool!.filter.push({ range: { [dataView.timeFieldName!]: { - from: timeRange.from, - to: timeRange.to, + from: searchBounds.min?.valueOf(), + to: searchBounds.max?.valueOf(), + format: 'epoch_millis', }, }, }); @@ -183,16 +174,7 @@ export const ChartGridEmbeddableWrapper: FC< } return mergedQuery; - }, [ - dataView, - fieldConfig.splitField, - filters, - partitions, - query, - timeRange.from, - timeRange.to, - uiSettings, - ]); + }, [dataView, fieldConfig.splitField, filters, partitions, query, searchBounds, uiSettings]); const requestParams = useMemo(() => { return { interval } as ChangePointDetectionRequestParams; diff --git a/x-pack/plugins/aiops/public/hooks/__mocks__/use_aiops_app_context.ts b/x-pack/plugins/aiops/public/hooks/__mocks__/use_aiops_app_context.ts new file mode 100644 index 0000000000000..d02a88e6760b7 --- /dev/null +++ b/x-pack/plugins/aiops/public/hooks/__mocks__/use_aiops_app_context.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 { uiSettingsServiceMock } from '@kbn/core-ui-settings-browser-mocks'; +import { dataPluginMock } from '@kbn/data-plugin/public/mocks'; + +const staticContext = { + data: dataPluginMock.createStartContract(), + uiSettings: uiSettingsServiceMock.createStartContract(), +}; + +jest.spyOn(staticContext.uiSettings, 'get').mockImplementation((key: string) => { + if (key === 'dateFormat') { + return 'MMM D, YYYY @ HH:mm:ss.SSS'; + } + if (key === 'dateFormat:scaled') { + return [ + ['', 'HH:mm:ss.SSS'], + ['PT1S', 'HH:mm:ss'], + ['PT1M', 'HH:mm'], + ['PT1H', 'YYYY-MM-DD HH:mm'], + ['P1DT', 'YYYY-MM-DD'], + ['P1YT', 'YYYY'], + ]; + } + if (key === 'histogram:maxBars') { + return 1000; + } + if (key === 'histogram:barTarget') { + return 50; + } + return ''; +}); + +export const useAiopsAppContext = jest.fn(() => { + return staticContext; +}); diff --git a/x-pack/plugins/lens/public/debounced_component/index.ts b/x-pack/plugins/aiops/public/hooks/__mocks__/use_reload.tsx similarity index 66% rename from x-pack/plugins/lens/public/debounced_component/index.ts rename to x-pack/plugins/aiops/public/hooks/__mocks__/use_reload.tsx index 68d247b5e3b3f..7aa2d8fe16f95 100644 --- a/x-pack/plugins/lens/public/debounced_component/index.ts +++ b/x-pack/plugins/aiops/public/hooks/__mocks__/use_reload.tsx @@ -5,4 +5,10 @@ * 2.0. */ -export * from './debounced_component'; +const staticMock = { + refreshTimestamp: 1708711043761, +}; + +export const useReload = jest.fn(() => { + return staticMock; +}); diff --git a/x-pack/plugins/aiops/public/hooks/use_aiops_app_context.ts b/x-pack/plugins/aiops/public/hooks/use_aiops_app_context.ts index c1903f6bba8ab..cc617c7bade1c 100644 --- a/x-pack/plugins/aiops/public/hooks/use_aiops_app_context.ts +++ b/x-pack/plugins/aiops/public/hooks/use_aiops_app_context.ts @@ -31,7 +31,7 @@ import type { import type { TimeRange as TimeRangeMs } from '@kbn/ml-date-picker'; import type { PresentationUtilPluginStart } from '@kbn/presentation-util-plugin/public'; import type { EmbeddableStart } from '@kbn/embeddable-plugin/public'; -import type { CasesUiStart } from '@kbn/cases-plugin/public'; +import type { CasesPublicStart } from '@kbn/cases-plugin/public'; import type { UsageCollectionSetup } from '@kbn/usage-collection-plugin/public'; import type { UiActionsStart } from '@kbn/ui-actions-plugin/public'; @@ -123,7 +123,7 @@ export interface AiopsAppDependencies { }; presentationUtil?: PresentationUtilPluginStart; embeddable?: EmbeddableStart; - cases?: CasesUiStart; + cases?: CasesPublicStart; isServerless?: boolean; /** Identifier to indicate the plugin utilizing the component */ embeddingOrigin?: string; diff --git a/x-pack/plugins/aiops/public/hooks/use_cancellable_search.ts b/x-pack/plugins/aiops/public/hooks/use_cancellable_search.ts index 7d905fe2894ea..8a828f388c2f2 100644 --- a/x-pack/plugins/aiops/public/hooks/use_cancellable_search.ts +++ b/x-pack/plugins/aiops/public/hooks/use_cancellable_search.ts @@ -21,6 +21,7 @@ export function useCancellableSearch() { ): Promise => { return new Promise((resolve, reject) => { data.search + // @ts-expect-error upgrade typescript v4.9.5 .search(requestBody, { abortSignal: abortController.current.signal, }) diff --git a/x-pack/plugins/aiops/public/hooks/use_filters_query.tsx b/x-pack/plugins/aiops/public/hooks/use_filters_query.tsx index 4db832902d7fa..bec5d86fe1c4a 100644 --- a/x-pack/plugins/aiops/public/hooks/use_filters_query.tsx +++ b/x-pack/plugins/aiops/public/hooks/use_filters_query.tsx @@ -5,16 +5,22 @@ * 2.0. */ -import React, { type FC, createContext, useEffect, useState, useContext } from 'react'; +import React, { type FC, createContext, useEffect, useState, useContext, useMemo } from 'react'; import type { Filter, Query, TimeRange } from '@kbn/es-query'; import { useTimeRangeUpdates } from '@kbn/ml-date-picker'; import { type AggregateQuery } from '@kbn/es-query'; +import type { TimeRangeBounds } from '@kbn/data-plugin/common'; +import { getBoundsRoundedToInterval } from '../../common/time_buckets'; +import { useTimeBuckets } from './use_time_buckets'; import { useAiopsAppContext } from './use_aiops_app_context'; +import { useReload } from './use_reload'; export const FilterQueryContext = createContext<{ filters: Filter[]; query: Query; timeRange: TimeRange; + searchBounds: TimeRangeBounds; + interval: string; }>({ get filters(): Filter[] { throw new Error('FilterQueryContext is not initialized'); @@ -25,10 +31,19 @@ export const FilterQueryContext = createContext<{ get timeRange(): TimeRange { throw new Error('FilterQueryContext is not initialized'); }, + get searchBounds(): TimeRangeBounds { + throw new Error('FilterQueryContext is not initialized'); + }, + get interval(): string { + throw new Error('FilterQueryContext is not initialized'); + }, }); /** - * Helper context to provide the latest filter, query and time range values + * Helper context to provide the latest + * - filter + * - query + * - time range * from the data plugin. * Also merges custom filters and queries provided with an input. * @@ -41,10 +56,13 @@ export const FilterQueryContextProvider: FC<{ timeRange?: TimeRange }> = ({ }) => { const { data: { - query: { filterManager, queryString }, + query: { filterManager, queryString, timefilter }, }, } = useAiopsAppContext(); + const timeBuckets = useTimeBuckets(); + const reload = useReload(); + const [resultFilters, setResultFilter] = useState(filterManager.getFilters()); const [resultQuery, setResultQuery] = useState(queryString.getQuery()); @@ -68,12 +86,40 @@ export const FilterQueryContextProvider: FC<{ timeRange?: TimeRange }> = ({ }; }, [queryString]); + const resultTimeRange = useMemo(() => { + return timeRange ?? timeRangeUpdates; + }, [timeRangeUpdates, timeRange]); + + /** + * Search bounds derived from the time range. + * Has to be updated on reload, in case relative time range is used. + */ + const bounds = useMemo(() => { + return timefilter.timefilter.calculateBounds(resultTimeRange); + // eslint-disable-next-line react-hooks/exhaustive-deps + }, [resultTimeRange, timefilter, reload.refreshTimestamp]); + + const timeBucketsInterval = useMemo(() => { + timeBuckets.setInterval('auto'); + timeBuckets.setBounds(bounds); + return timeBuckets.getInterval(); + }, [bounds, timeBuckets]); + + /** + * Search bounds rounded to the time buckets interval. + */ + const searchBounds = useMemo(() => { + return getBoundsRoundedToInterval(bounds, timeBucketsInterval, false); + }, [bounds, timeBucketsInterval]); + return ( {children} @@ -81,6 +127,6 @@ export const FilterQueryContextProvider: FC<{ timeRange?: TimeRange }> = ({ ); }; -export const useFilerQueryUpdates = () => { +export const useFilterQueryUpdates = () => { return useContext(FilterQueryContext); }; diff --git a/x-pack/plugins/aiops/public/hooks/use_filters_query.tsx.test.tsx b/x-pack/plugins/aiops/public/hooks/use_filters_query.tsx.test.tsx new file mode 100644 index 0000000000000..2f45f627495b8 --- /dev/null +++ b/x-pack/plugins/aiops/public/hooks/use_filters_query.tsx.test.tsx @@ -0,0 +1,87 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import { FilterQueryContextProvider, useFilterQueryUpdates } from './use_filters_query'; +import { act, renderHook } from '@testing-library/react-hooks'; +import { dataPluginMock as mockDataPlugin } from '@kbn/data-plugin/public/mocks'; +import { Timefilter } from '@kbn/data-plugin/public/query'; +import { useAiopsAppContext } from './use_aiops_app_context'; +import { useReload } from './use_reload'; + +const mockCurrentDate = new Date('2024-02-23T00:13:45.000Z'); + +jest.mock('./use_aiops_app_context'); + +jest.mock('./use_reload'); + +jest.mock('@kbn/ml-date-picker', () => ({ + useTimeRangeUpdates: jest.fn(() => { + return { from: 'now-24h', to: 'now' }; + }), +})); + +jest.mock('@kbn/ml-date-picker', () => ({ + useTimeRangeUpdates: jest.fn(() => { + return { from: 'now-24h', to: 'now' }; + }), +})); + +describe('useFilterQueryUpdates', () => { + beforeEach(() => { + jest.useFakeTimers().setSystemTime(mockCurrentDate); + }); + + afterEach(() => { + jest.clearAllMocks(); + jest.useRealTimers(); + }); + + test('provides correct search bounds for relative time range on each reload', async () => { + const mockDataContract = mockDataPlugin.createStartContract(); + + const mockTimefilterConfig = { + timeDefaults: { from: 'now-15m', to: 'now' }, + refreshIntervalDefaults: { pause: false, value: 0 }, + }; + + useAiopsAppContext().data.query.timefilter.timefilter = new Timefilter( + mockTimefilterConfig, + mockDataContract.query.timefilter.history, + // @ts-ignore + mockDataContract.nowProvider + ); + + const { result, rerender } = renderHook(() => useFilterQueryUpdates(), { + wrapper: FilterQueryContextProvider, + }); + + const firstResult = result.current; + + expect(firstResult.timeRange).toEqual({ from: 'now-24h', to: 'now' }); + expect(firstResult.interval).toEqual('30m'); + expect(firstResult.searchBounds.min?.toISOString()).toEqual('2024-02-22T00:00:00.000Z'); + expect(firstResult.searchBounds.max?.toISOString()).toEqual('2024-02-23T00:29:59.999Z'); + + act(() => { + // 30 minutes later... + const nextMockDate = new Date('2024-02-23T00:53:45.000Z'); + jest.setSystemTime(nextMockDate); + + (useReload as jest.MockedFunction).mockReturnValue({ + refreshTimestamp: nextMockDate.getTime(), + }); + + rerender(); + }); + + const secondResult = result.current; + expect(secondResult.timeRange).toEqual({ from: 'now-24h', to: 'now' }); + expect(secondResult.interval).toEqual('30m'); + expect(secondResult.searchBounds.min?.toISOString()).toEqual('2024-02-22T00:30:00.000Z'); + expect(secondResult.searchBounds.max?.toISOString()).toEqual('2024-02-23T00:59:59.999Z'); + }); +}); diff --git a/x-pack/plugins/aiops/public/types.ts b/x-pack/plugins/aiops/public/types.ts index 0ecb0851572a4..8b416a515c342 100755 --- a/x-pack/plugins/aiops/public/types.ts +++ b/x-pack/plugins/aiops/public/types.ts @@ -16,13 +16,13 @@ import type { SharePluginStart } from '@kbn/share-plugin/public'; import type { UiActionsSetup, UiActionsStart } from '@kbn/ui-actions-plugin/public'; import type { UnifiedSearchPublicPluginStart } from '@kbn/unified-search-plugin/public'; import type { EmbeddableSetup, EmbeddableStart } from '@kbn/embeddable-plugin/public'; -import type { CasesUiSetup } from '@kbn/cases-plugin/public'; +import type { CasesPublicSetup } from '@kbn/cases-plugin/public'; import type { UsageCollectionSetup } from '@kbn/usage-collection-plugin/public'; import type { EmbeddableChangePointChartInput } from './embeddable/embeddable_change_point_chart'; export interface AiopsPluginSetupDeps { embeddable: EmbeddableSetup; - cases: CasesUiSetup; + cases: CasesPublicSetup; licensing: LicensingPluginSetup; uiActions: UiActionsSetup; diff --git a/x-pack/plugins/aiops/server/register_cases.ts b/x-pack/plugins/aiops/server/register_cases.ts index db05c0200d426..e7ceb8f398eeb 100644 --- a/x-pack/plugins/aiops/server/register_cases.ts +++ b/x-pack/plugins/aiops/server/register_cases.ts @@ -6,10 +6,10 @@ */ import type { Logger } from '@kbn/core/server'; -import type { CasesSetup } from '@kbn/cases-plugin/server'; +import type { CasesServerSetup } from '@kbn/cases-plugin/server'; import { CASES_ATTACHMENT_CHANGE_POINT_CHART } from '../common/constants'; -export function registerCasesPersistableState(cases: CasesSetup | undefined, logger: Logger) { +export function registerCasesPersistableState(cases: CasesServerSetup | undefined, logger: Logger) { if (cases) { try { cases.attachmentFramework.registerPersistableState({ diff --git a/x-pack/plugins/aiops/server/routes/log_rate_analysis/queries/fetch_frequent_item_sets.test.ts b/x-pack/plugins/aiops/server/routes/log_rate_analysis/queries/fetch_frequent_item_sets.test.ts index d262ecc026481..88dc3735c1166 100644 --- a/x-pack/plugins/aiops/server/routes/log_rate_analysis/queries/fetch_frequent_item_sets.test.ts +++ b/x-pack/plugins/aiops/server/routes/log_rate_analysis/queries/fetch_frequent_item_sets.test.ts @@ -15,18 +15,23 @@ describe('getShouldClauses', () => { expect(shouldClauses).toEqual([ { - terms: { - user: ['Peter'], + term: { + user: 'Peter', }, }, { - terms: { - response_code: ['500'], + term: { + response_code: '500', }, }, { - terms: { - url: ['home.php', 'login.php'], + term: { + url: 'home.php', + }, + }, + { + term: { + url: 'login.php', }, }, ]); diff --git a/x-pack/plugins/aiops/server/routes/log_rate_analysis/queries/fetch_frequent_item_sets.ts b/x-pack/plugins/aiops/server/routes/log_rate_analysis/queries/fetch_frequent_item_sets.ts index ff02251b64f95..b5cd15636434c 100644 --- a/x-pack/plugins/aiops/server/routes/log_rate_analysis/queries/fetch_frequent_item_sets.ts +++ b/x-pack/plugins/aiops/server/routes/log_rate_analysis/queries/fetch_frequent_item_sets.ts @@ -51,17 +51,36 @@ export function groupDuplicates( return groups; } +/** + * Creates ES bool should clauses for each provided significant item. + * In previous versions of this helper we grouped values for the same field + * in a `terms` agg, but this might clash with the `minimum_should_match: 2` clause + * used in the query for the `frequent_item_sets`, because even multiple matches within + * the `terms` agg would count as just 1 match in the outer `should` part. + * + * @param significantItems + * @returns an array of term filters + */ export function getShouldClauses(significantItems: SignificantItem[]) { - return Array.from( - group(significantItems, ({ fieldName }) => fieldName), - ([field, values]) => ({ terms: { [field]: values.map((d) => d.fieldValue) } }) - ); + return significantItems.map((d) => ({ term: { [d.fieldName]: d.fieldValue } })); } +/** + * Creates a filter for each field to be used in the `frequent_items_sets` agg. + * Considers a limit per field to work around scaling limitations of the agg. + * + * @param significantItems + * @returns field filter for the `frequent_item_sets` agg + */ export function getFrequentItemSetsAggFields(significantItems: SignificantItem[]) { return Array.from( group(significantItems, ({ fieldName }) => fieldName), - ([field, values]) => ({ field, include: values.map((d) => String(d.fieldValue)) }) + ([field, values]) => ({ + field, + include: values + .map((d) => String(d.fieldValue)) + .slice(0, LOG_RATE_ANALYSIS_SETTINGS.FREQUENT_ITEMS_SETS_FIELD_VALUE_LIMIT), + }) ); } @@ -166,7 +185,7 @@ export async function fetchFrequentItemSets( fiss.forEach((fis) => { const result: ItemSet = { - set: {}, + set: [], size: 0, maxPValue: 0, doc_count: 0, @@ -174,16 +193,18 @@ export async function fetchFrequentItemSets( total_doc_count: 0, }; let maxPValue: number | undefined; - Object.entries(fis.key).forEach(([key, value]) => { - result.set[key] = value[0]; + Object.entries(fis.key).forEach(([key, values]) => { + values.forEach((value) => { + result.set.push({ fieldName: key, fieldValue: value }); - const pValue = sortedSignificantItems.find( - (t) => t.fieldName === key && t.fieldValue === value[0] - )?.pValue; + const pValue = sortedSignificantItems.find( + (t) => t.fieldName === key && t.fieldValue === value + )?.pValue; - if (pValue !== undefined && pValue !== null) { - maxPValue = Math.max(maxPValue ?? 0, pValue); - } + if (pValue !== undefined && pValue !== null) { + maxPValue = Math.max(maxPValue ?? 0, pValue); + } + }); }); if (maxPValue === undefined) { @@ -203,7 +224,7 @@ export async function fetchFrequentItemSets( return b.doc_count - a.doc_count; }); - const uniqueFields = uniq(results.flatMap((r) => Object.keys(r.set))); + const uniqueFields = uniq(results.flatMap((r) => r.set.map((d) => d.fieldName))); return { fields: uniqueFields, diff --git a/x-pack/plugins/aiops/server/routes/log_rate_analysis/queries/fetch_index_info.ts b/x-pack/plugins/aiops/server/routes/log_rate_analysis/queries/fetch_index_info.ts index fd7975aac1b6e..d8601691264f6 100644 --- a/x-pack/plugins/aiops/server/routes/log_rate_analysis/queries/fetch_index_info.ts +++ b/x-pack/plugins/aiops/server/routes/log_rate_analysis/queries/fetch_index_info.ts @@ -16,7 +16,7 @@ import { getRandomDocsRequest } from './get_random_docs_request'; import { getTotalDocCountRequest } from './get_total_doc_count_request'; // TODO Consolidate with duplicate `fetchPValues` in -// `x-pack/plugins/apm/server/routes/correlations/queries/fetch_duration_field_candidates.ts` +// `x-pack/plugins/observability_solution/apm/server/routes/correlations/queries/fetch_duration_field_candidates.ts` const SUPPORTED_ES_FIELD_TYPES = [ ES_FIELD_TYPES.KEYWORD, diff --git a/x-pack/plugins/aiops/server/routes/log_rate_analysis/queries/fetch_significant_term_p_values.ts b/x-pack/plugins/aiops/server/routes/log_rate_analysis/queries/fetch_significant_term_p_values.ts index 6cdf6983d5827..8dec0ed7cf2f9 100644 --- a/x-pack/plugins/aiops/server/routes/log_rate_analysis/queries/fetch_significant_term_p_values.ts +++ b/x-pack/plugins/aiops/server/routes/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/apm/server/routes/correlations/queries/fetch_failed_events_correlation_p_values.ts` +// `x-pack/plugins/observability_solution/apm/server/routes/correlations/queries/fetch_failed_events_correlation_p_values.ts` export const getSignificantTermRequest = ( params: AiopsLogRateAnalysisSchema, diff --git a/x-pack/plugins/aiops/server/routes/log_rate_analysis/queries/fetch_terms_2_categories_counts.ts b/x-pack/plugins/aiops/server/routes/log_rate_analysis/queries/fetch_terms_2_categories_counts.ts index a39418807e40a..e991d5d925bde 100644 --- a/x-pack/plugins/aiops/server/routes/log_rate_analysis/queries/fetch_terms_2_categories_counts.ts +++ b/x-pack/plugins/aiops/server/routes/log_rate_analysis/queries/fetch_terms_2_categories_counts.ts @@ -99,10 +99,10 @@ export async function fetchTerms2CategoriesCounts( ) as estypes.MsearchMultisearchBody ); results.push({ - set: { - [term.fieldName]: term.fieldValue, - [category.fieldName]: category.fieldValue, - }, + set: [ + { fieldName: term.fieldName, fieldValue: term.fieldValue }, + { fieldName: category.fieldName, fieldValue: category.fieldValue }, + ], size: 2, maxPValue: Math.max(term.pValue ?? 1, category.pValue ?? 1), doc_count: 0, @@ -116,10 +116,7 @@ export async function fetchTerms2CategoriesCounts( searches.push( getTerm2CategoryCountRequest( params, - Object.entries(itemSet.set).map(([fieldName, fieldValue]) => ({ - fieldName, - fieldValue, - })), + itemSet.set, category.fieldName, { key: `${category.key}`, count: category.doc_count, examples: [], regex: '' }, from, @@ -127,10 +124,7 @@ export async function fetchTerms2CategoriesCounts( ) as estypes.MsearchMultisearchBody ); results.push({ - set: { - ...itemSet.set, - [category.fieldName]: category.fieldValue, - }, + set: [...itemSet.set, { fieldName: category.fieldName, fieldValue: category.fieldValue }], size: Object.keys(itemSet.set).length + 1, maxPValue: Math.max(itemSet.maxPValue ?? 1, category.pValue ?? 1), doc_count: 0, diff --git a/x-pack/plugins/aiops/server/routes/log_rate_analysis/queries/fetch_top_terms.ts b/x-pack/plugins/aiops/server/routes/log_rate_analysis/queries/fetch_top_terms.ts index d1b8007249136..6aa1462026b61 100644 --- a/x-pack/plugins/aiops/server/routes/log_rate_analysis/queries/fetch_top_terms.ts +++ b/x-pack/plugins/aiops/server/routes/log_rate_analysis/queries/fetch_top_terms.ts @@ -15,7 +15,7 @@ import { type RandomSamplerWrapper, } from '@kbn/ml-random-sampler-utils'; -import { RANDOM_SAMPLER_SEED } from '../../../../common/constants'; +import { LOG_RATE_ANALYSIS_SETTINGS, RANDOM_SAMPLER_SEED } from '../../../../common/constants'; import type { AiopsLogRateAnalysisSchema } from '../../../../common/api/log_rate_analysis/schema'; import { isRequestAbortedError } from '../../../lib/is_request_aborted_error'; @@ -24,7 +24,7 @@ import { getQueryWithParams } from './get_query_with_params'; import { getRequestBase } from './get_request_base'; // TODO Consolidate with duplicate `fetchDurationFieldCandidates` in -// `x-pack/plugins/apm/server/routes/correlations/queries/fetch_failed_events_correlation_p_values.ts` +// `x-pack/plugins/observability_solution/apm/server/routes/correlations/queries/fetch_failed_events_correlation_p_values.ts` export const getTopTermRequest = ( params: AiopsLogRateAnalysisSchema, @@ -60,7 +60,7 @@ export const getTopTermRequest = ( log_rate_top_terms: { terms: { field: fieldName, - size: 10, + size: LOG_RATE_ANALYSIS_SETTINGS.TOP_TERMS_FALLBACK_SIZE, }, }, }; diff --git a/x-pack/plugins/aiops/server/routes/log_rate_analysis/queries/get_group_filter.test.ts b/x-pack/plugins/aiops/server/routes/log_rate_analysis/queries/get_group_filter.test.ts index 9f583f9e199df..eea96297b4622 100644 --- a/x-pack/plugins/aiops/server/routes/log_rate_analysis/queries/get_group_filter.test.ts +++ b/x-pack/plugins/aiops/server/routes/log_rate_analysis/queries/get_group_filter.test.ts @@ -14,12 +14,12 @@ describe('getGroupFilter', () => { expect(getGroupFilter(finalSignificantItemGroups[0])).toStrictEqual([ { term: { - url: 'login.php', + response_code: '500', }, }, { term: { - user: 'Peter', + url: 'home.php', }, }, ]); diff --git a/x-pack/plugins/aiops/server/routes/log_rate_analysis/queries/get_significant_item_groups.ts b/x-pack/plugins/aiops/server/routes/log_rate_analysis/queries/get_significant_item_groups.ts index 27dc06ad343b9..ace3bd73cba69 100644 --- a/x-pack/plugins/aiops/server/routes/log_rate_analysis/queries/get_significant_item_groups.ts +++ b/x-pack/plugins/aiops/server/routes/log_rate_analysis/queries/get_significant_item_groups.ts @@ -5,6 +5,8 @@ * 2.0. */ +import { uniqBy } from 'lodash'; + import type { SignificantItem, SignificantItemGroup } from '@kbn/ml-agg-utils'; import { duplicateIdentifier } from './duplicate_identifier'; @@ -28,7 +30,7 @@ export function getSignificantItemGroups( (g) => g.group.length > 1 ); - // `frequent_item_sets` returns lot of different small groups of field/value pairs that co-occur. + // `frequent_item_sets` returns lots of different small groups of field/value pairs that co-occur. // The following steps analyse these small groups, identify overlap between these groups, // and then summarize them in larger groups where possible. @@ -58,5 +60,5 @@ export function getSignificantItemGroups( ) ); - return significantItemGroups; + return uniqBy(significantItemGroups, 'id'); } diff --git a/x-pack/plugins/aiops/server/routes/log_rate_analysis/queries/get_simple_hierarchical_tree.ts b/x-pack/plugins/aiops/server/routes/log_rate_analysis/queries/get_simple_hierarchical_tree.ts index 54cce87526bb1..d046058aa1095 100644 --- a/x-pack/plugins/aiops/server/routes/log_rate_analysis/queries/get_simple_hierarchical_tree.ts +++ b/x-pack/plugins/aiops/server/routes/log_rate_analysis/queries/get_simple_hierarchical_tree.ts @@ -59,7 +59,7 @@ function dfDepthFirstSearch( displayOther: boolean ) { const filteredItemSets = iss.filter((is) => { - for (const [key, setValue] of Object.entries(is.set)) { + for (const { fieldName: key, fieldValue: setValue } of is.set) { if (key === field && setValue === value) { return true; } diff --git a/x-pack/plugins/aiops/server/routes/log_rate_analysis/queries/get_value_counts.ts b/x-pack/plugins/aiops/server/routes/log_rate_analysis/queries/get_value_counts.ts index 5c54412e46a5b..d08d2a21cd3cb 100644 --- a/x-pack/plugins/aiops/server/routes/log_rate_analysis/queries/get_value_counts.ts +++ b/x-pack/plugins/aiops/server/routes/log_rate_analysis/queries/get_value_counts.ts @@ -9,10 +9,16 @@ import type { ItemSet } from '../../../../common/types'; export function getValueCounts(df: ItemSet[], field: string) { return df.reduce>((p, c) => { - if (c.set[field] === undefined) { + const fieldItems = c.set.filter((d) => d.fieldName === field); + + if (fieldItems.length === 0) { return p; } - p[c.set[field]] = p[c.set[field]] ? p[c.set[field]] + 1 : 1; + + for (const { fieldValue } of fieldItems) { + p[fieldValue] = p[fieldValue] ? p[fieldValue] + 1 : 1; + } + return p; }, {}); } diff --git a/x-pack/plugins/aiops/server/types.ts b/x-pack/plugins/aiops/server/types.ts index 2315b0ab01d69..58a2103d33a33 100755 --- a/x-pack/plugins/aiops/server/types.ts +++ b/x-pack/plugins/aiops/server/types.ts @@ -7,13 +7,13 @@ import type { PluginSetup, PluginStart } from '@kbn/data-plugin/server'; import type { LicensingPluginSetup } from '@kbn/licensing-plugin/server'; -import type { CasesSetup } from '@kbn/cases-plugin/server'; +import type { CasesServerSetup } from '@kbn/cases-plugin/server'; import type { UsageCollectionSetup } from '@kbn/usage-collection-plugin/server'; export interface AiopsPluginSetupDeps { data: PluginSetup; licensing: LicensingPluginSetup; - cases?: CasesSetup; + cases?: CasesServerSetup; usageCollection?: UsageCollectionSetup; } diff --git a/x-pack/plugins/aiops/tsconfig.json b/x-pack/plugins/aiops/tsconfig.json index 4e2e4bfc8a19f..a8b58134c4174 100644 --- a/x-pack/plugins/aiops/tsconfig.json +++ b/x-pack/plugins/aiops/tsconfig.json @@ -67,6 +67,7 @@ "@kbn/analytics", "@kbn/ml-ui-actions", "@kbn/core-http-server", + "@kbn/core-ui-settings-browser-mocks", ], "exclude": [ "target/**/*", diff --git a/x-pack/plugins/alerting/server/application/rule/methods/create/create_rule.ts b/x-pack/plugins/alerting/server/application/rule/methods/create/create_rule.ts index 11cd4d5f9e328..b9e4dedf4d133 100644 --- a/x-pack/plugins/alerting/server/application/rule/methods/create/create_rule.ts +++ b/x-pack/plugins/alerting/server/application/rule/methods/create/create_rule.ts @@ -195,6 +195,7 @@ export async function createRule( { legacyId, actionsWithRefs: actions, + // @ts-expect-error upgrade typescript v4.9.5 paramsWithRefs: updatedParams, } ); diff --git a/x-pack/plugins/alerting/server/application/rule/methods/resolve/types/resolved_rule.ts b/x-pack/plugins/alerting/server/application/rule/methods/resolve/types/resolved_rule.ts index d9d0c3f0c5e8f..a5aef7d2aaf4d 100644 --- a/x-pack/plugins/alerting/server/application/rule/methods/resolve/types/resolved_rule.ts +++ b/x-pack/plugins/alerting/server/application/rule/methods/resolve/types/resolved_rule.ts @@ -6,4 +6,5 @@ */ import type { Rule } from '../../../types'; +// @ts-expect-error upgrade typescript v4.9.5 export type ResolvedRule = Rule & { outcome: string; alias_target_id?: string }; diff --git a/x-pack/plugins/alerting/server/integration_tests/alert_as_data_fields.test.ts b/x-pack/plugins/alerting/server/integration_tests/alert_as_data_fields.test.ts index f1191fa5aa353..9e08ec5c2b972 100644 --- a/x-pack/plugins/alerting/server/integration_tests/alert_as_data_fields.test.ts +++ b/x-pack/plugins/alerting/server/integration_tests/alert_as_data_fields.test.ts @@ -95,7 +95,7 @@ describe('Alert as data fields checks', () => { * on all the rule types. */ test('ensure rule types list up to date', async () => { - expect(ruleTypes).toEqual(ruleTypeRegistry.getAllTypes()); + expect(ruleTypes.sort()).toEqual(ruleTypeRegistry.getAllTypes().sort()); }); for (const ruleTypeId of ruleTypes) { diff --git a/x-pack/plugins/alerting/server/routes/get_rule.test.ts b/x-pack/plugins/alerting/server/routes/get_rule.test.ts index a672de9cbf320..864a848b8ffa8 100644 --- a/x-pack/plugins/alerting/server/routes/get_rule.test.ts +++ b/x-pack/plugins/alerting/server/routes/get_rule.test.ts @@ -48,6 +48,7 @@ describe('getRuleRoute', () => { alertsFilter: { query: { kql: 'name:test', + // @ts-expect-error upgrade typescript v4.9.5 dsl: '{"must": {"term": { "name": "test" }}}', filters: [], }, diff --git a/x-pack/plugins/alerting/server/routes/lib/rewrite_rule.test.ts b/x-pack/plugins/alerting/server/routes/lib/rewrite_rule.test.ts index 826ee952a6bb6..4ad0dc817fbbe 100644 --- a/x-pack/plugins/alerting/server/routes/lib/rewrite_rule.test.ts +++ b/x-pack/plugins/alerting/server/routes/lib/rewrite_rule.test.ts @@ -43,6 +43,7 @@ const sampleRule: SanitizedRule & { activeSnoozes?: string[] } = notifyWhen: 'onThrottleInterval', throttle: '1m', }, + // @ts-expect-error upgrade typescript v4.9.5 alertsFilter: { query: { kql: 'test:1', dsl: '{}', filters: [] } }, }, ], diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/create/create_rule_route.test.ts b/x-pack/plugins/alerting/server/routes/rule/apis/create/create_rule_route.test.ts index e952a72ec3859..512436475a395 100644 --- a/x-pack/plugins/alerting/server/routes/rule/apis/create/create_rule_route.test.ts +++ b/x-pack/plugins/alerting/server/routes/rule/apis/create/create_rule_route.test.ts @@ -55,6 +55,7 @@ describe('createRuleRoute', () => { alertsFilter: { query: { kql: 'name:test', + // @ts-expect-error upgrade typescript v4.9.5 dsl: '{"must": {"term": { "name": "test" }}}', filters: [], }, diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/server/pointseries/index.ts b/x-pack/plugins/canvas/canvas_plugin_src/functions/server/pointseries/index.ts index 195de0a38a581..957dd1bf3782e 100644 --- a/x-pack/plugins/canvas/canvas_plugin_src/functions/server/pointseries/index.ts +++ b/x-pack/plugins/canvas/canvas_plugin_src/functions/server/pointseries/index.ts @@ -28,7 +28,7 @@ const columnExists = (cols: string[], colName: string): boolean => cols.includes(unquoteString(colName)); function keysOf(obj: T): K[] { - return Object.keys(obj) as K[]; + return Object.keys(obj as any) as K[]; } type Arguments = { [key in PointSeriesColumnName]: string | null }; diff --git a/x-pack/plugins/canvas/server/templates/status_report.ts b/x-pack/plugins/canvas/server/templates/status_report.ts index 94f05c371ff98..2cfa1be75bfec 100644 --- a/x-pack/plugins/canvas/server/templates/status_report.ts +++ b/x-pack/plugins/canvas/server/templates/status_report.ts @@ -652,6 +652,7 @@ export const status: CanvasTemplate = { }, expression: 'demodata\n| dropdownControl valueColumn="project" filterColumn="project"\n| render', + // @ts-expect-error upgrade typescript v4.9.5 filter: '', }, ], diff --git a/x-pack/plugins/canvas/server/templates/summary_report.ts b/x-pack/plugins/canvas/server/templates/summary_report.ts index 67cbe0bf6a1e8..3bba179d35efd 100644 --- a/x-pack/plugins/canvas/server/templates/summary_report.ts +++ b/x-pack/plugins/canvas/server/templates/summary_report.ts @@ -324,6 +324,7 @@ export const summary: CanvasTemplate = { }, expression: 'timefilterControl compact=true column="@timestamp"\n| render css=".canvasTimePickerPopover__button {\n border: none !important;\n}"', + // @ts-expect-error upgrade typescript v4.9.5 filter: 'timefilter from="now-14d" to=now column=@timestamp', }, { diff --git a/x-pack/plugins/canvas/types/arguments.ts b/x-pack/plugins/canvas/types/arguments.ts index 0ecc696165919..4269c62d352ba 100644 --- a/x-pack/plugins/canvas/types/arguments.ts +++ b/x-pack/plugins/canvas/types/arguments.ts @@ -38,6 +38,7 @@ export interface ArgumentSpec { domNode: HTMLElement, config: ArgumentConfig, handlers: ArgumentHandlers, + // @ts-expect-error upgrade typescript v4.9.5 onMount: (ref: UpdatePropsRef | null) => void ) => void; /** @@ -48,6 +49,7 @@ export interface ArgumentSpec { domNode: HTMLElement, config: ArgumentConfig, handlers: ArgumentHandlers, + // @ts-expect-error upgrade typescript v4.9.5 onMount: (ref: UpdatePropsRef | null) => void ) => void; } diff --git a/x-pack/plugins/canvas/types/functions.ts b/x-pack/plugins/canvas/types/functions.ts index 5dd57c00cc499..4c07add1e051e 100644 --- a/x-pack/plugins/canvas/types/functions.ts +++ b/x-pack/plugins/canvas/types/functions.ts @@ -72,6 +72,7 @@ import type { initFunctions as initClientFunctions } from '../public/functions'; */ // prettier-ignore export type ExpressionFunctionFactory = + // @ts-expect-error upgrade typescript v4.9.5 () => ExpressionFunctionDefinition /** @@ -83,6 +84,7 @@ export type ExpressionFunctionFactory = FnFactory extends ExpressionFunctionFactory ? + // @ts-expect-error upgrade typescript v4.9.5 ExpressionFunctionDefinition> : never; diff --git a/x-pack/plugins/cases/kibana.jsonc b/x-pack/plugins/cases/kibana.jsonc index 6b7cc4450985a..cd4fc787af2e0 100644 --- a/x-pack/plugins/cases/kibana.jsonc +++ b/x-pack/plugins/cases/kibana.jsonc @@ -15,19 +15,15 @@ "actions", "data", "embeddable", - "esUiShared", "lens", "licensing", "features", - "kibanaReact", - "kibanaUtils", "triggersActionsUi", "management", "security", "notifications", "ruleRegistry", "files", - "savedObjectsFinder", "contentManagement", "uiActions", ], @@ -38,7 +34,12 @@ "spaces", "serverless", ], - "requiredBundles": [], + "requiredBundles": [ + "esUiShared", + "kibanaReact", + "kibanaUtils", + "savedObjectsFinder", + ], "extraPublicDirs": [ "common" ] diff --git a/x-pack/plugins/cases/public/api/utils.ts b/x-pack/plugins/cases/public/api/utils.ts index 6bb1c23266d65..99e6ceb6f312c 100644 --- a/x-pack/plugins/cases/public/api/utils.ts +++ b/x-pack/plugins/cases/public/api/utils.ts @@ -39,7 +39,7 @@ export const convertArrayToCamelCase = (arrayOfSnakes: unknown[]): unknown[] => }, []); export const convertToCamelCase = (obj: T): U => - Object.entries(obj).reduce((acc, [key, value]) => { + Object.entries(obj as never).reduce((acc, [key, value]) => { if (isArray(value)) { set(acc, camelCase(key), convertArrayToCamelCase(value)); } else if (isObject(value)) { diff --git a/x-pack/plugins/cases/public/client/api/index.ts b/x-pack/plugins/cases/public/client/api/index.ts index 9493c5d6d94a2..822d8cea27377 100644 --- a/x-pack/plugins/cases/public/client/api/index.ts +++ b/x-pack/plugins/cases/public/client/api/index.ts @@ -16,9 +16,9 @@ import type { import { getCasesFromAlertsUrl } from '../../../common/api'; import { bulkGetCases, getCases, getCasesMetrics, getCasesStatus } from '../../api'; import type { CasesFindResponseUI, CasesStatus, CasesMetrics } from '../../../common/ui'; -import type { CasesUiStart } from '../../types'; +import type { CasesPublicStart } from '../../types'; -export const createClientAPI = ({ http }: { http: HttpStart }): CasesUiStart['api'] => { +export const createClientAPI = ({ http }: { http: HttpStart }): CasesPublicStart['api'] => { return { getRelatedCases: async ( alertId: string, diff --git a/x-pack/plugins/cases/public/common/lib/kibana/services.ts b/x-pack/plugins/cases/public/common/lib/kibana/services.ts index 1846548c5b2b4..1d2149bae811c 100644 --- a/x-pack/plugins/cases/public/common/lib/kibana/services.ts +++ b/x-pack/plugins/cases/public/common/lib/kibana/services.ts @@ -7,10 +7,10 @@ import type { CoreStart } from '@kbn/core/public'; import type { CasesUiConfigType } from '../../../../common/ui/types'; -import type { CasesPluginStart } from '../../../types'; +import type { CasesPublicStartDependencies } from '../../../types'; type GlobalServices = Pick & - Pick; + Pick; export class KibanaServices { private static kibanaVersion?: string; diff --git a/x-pack/plugins/cases/public/common/use_cases_toast.tsx b/x-pack/plugins/cases/public/common/use_cases_toast.tsx index 93905eaf64213..baa15f1b47248 100644 --- a/x-pack/plugins/cases/public/common/use_cases_toast.tsx +++ b/x-pack/plugins/cases/public/common/use_cases_toast.tsx @@ -7,7 +7,7 @@ import type { ErrorToastOptions } from '@kbn/core/public'; import { EuiButtonEmpty, EuiText } from '@elastic/eui'; -import React from 'react'; +import React, { useMemo } from 'react'; import styled from 'styled-components'; import { toMountPoint } from '@kbn/kibana-react-plugin/public'; import { isValidOwner } from '../../common/utils/owner'; @@ -124,62 +124,65 @@ export const useCasesToast = () => { const toasts = useToasts(); - return { - showSuccessAttach: ({ - theCase, - attachments, - title, - content, - }: { - theCase: CaseUI; - attachments?: CaseAttachmentsWithoutOwner; - title?: string; - content?: string; - }) => { - const appIdToNavigateTo = isValidOwner(theCase.owner) - ? OWNER_INFO[theCase.owner].appId - : appId; - - const url = getUrlForApp(appIdToNavigateTo, { - deepLinkId: 'cases', - path: generateCaseViewPath({ detailName: theCase.id }), - }); - - const onViewCaseClick = () => { - navigateToUrl(url); - }; - - const renderTitle = getToastTitle({ theCase, title, attachments }); - const renderContent = getToastContent({ theCase, content, attachments }); - - return toasts.addSuccess({ - color: 'success', - iconType: 'check', - title: toMountPoint({renderTitle}), - text: toMountPoint( - - ), - }); - }, - showErrorToast: (error: Error | ServerError, opts?: ErrorToastOptions) => { - if (error.name !== 'AbortError') { - toasts.addError(getError(error), { title: getErrorMessage(error), ...opts }); - } - }, - showSuccessToast: (title: string) => { - toasts.addSuccess({ title, className: 'eui-textBreakWord' }); - }, - showDangerToast: (title: string) => { - toasts.addDanger({ title, className: 'eui-textBreakWord' }); - }, - showInfoToast: (title: string, text?: string) => { - toasts.addInfo({ + return useMemo( + () => ({ + showSuccessAttach: ({ + theCase, + attachments, title, - text, - className: 'eui-textBreakWord', - }); - }, - }; + content, + }: { + theCase: CaseUI; + attachments?: CaseAttachmentsWithoutOwner; + title?: string; + content?: string; + }) => { + const appIdToNavigateTo = isValidOwner(theCase.owner) + ? OWNER_INFO[theCase.owner].appId + : appId; + + const url = getUrlForApp(appIdToNavigateTo, { + deepLinkId: 'cases', + path: generateCaseViewPath({ detailName: theCase.id }), + }); + + const onViewCaseClick = () => { + navigateToUrl(url); + }; + + const renderTitle = getToastTitle({ theCase, title, attachments }); + const renderContent = getToastContent({ theCase, content, attachments }); + + return toasts.addSuccess({ + color: 'success', + iconType: 'check', + title: toMountPoint({renderTitle}), + text: toMountPoint( + + ), + }); + }, + showErrorToast: (error: Error | ServerError, opts?: ErrorToastOptions) => { + if (error.name !== 'AbortError') { + toasts.addError(getError(error), { title: getErrorMessage(error), ...opts }); + } + }, + showSuccessToast: (title: string) => { + toasts.addSuccess({ title, className: 'eui-textBreakWord' }); + }, + showDangerToast: (title: string) => { + toasts.addDanger({ title, className: 'eui-textBreakWord' }); + }, + showInfoToast: (title: string, text?: string) => { + toasts.addInfo({ + title, + text, + className: 'eui-textBreakWord', + }); + }, + }), + [appId, getUrlForApp, navigateToUrl, toasts] + ); }; export const CaseToastSuccessContent = ({ diff --git a/x-pack/plugins/cases/public/components/all_cases/selector_modal/use_cases_add_to_existing_case_modal.tsx b/x-pack/plugins/cases/public/components/all_cases/selector_modal/use_cases_add_to_existing_case_modal.tsx index f311fdad66a47..ea60c43937346 100644 --- a/x-pack/plugins/cases/public/components/all_cases/selector_modal/use_cases_add_to_existing_case_modal.tsx +++ b/x-pack/plugins/cases/public/components/all_cases/selector_modal/use_cases_add_to_existing_case_modal.tsx @@ -30,16 +30,26 @@ export type AddToExistingCaseModalProps = Omit void; }; -export const useCasesAddToExistingCaseModal = (props: AddToExistingCaseModalProps = {}) => { - const createNewCaseFlyout = useCasesAddToNewCaseFlyout({ - onClose: props.onClose, - onSuccess: (theCase?: CaseUI) => { - if (props.onSuccess && theCase) { - return props.onSuccess(theCase); +export const useCasesAddToExistingCaseModal = ({ + successToaster, + noAttachmentsToaster, + onSuccess, + onClose, + onCreateCaseClicked, +}: AddToExistingCaseModalProps = {}) => { + const handleSuccess = useCallback( + (theCase?: CaseUI) => { + if (onSuccess && theCase) { + return onSuccess(theCase); } }, - toastTitle: props.successToaster?.title, - toastContent: props.successToaster?.content, + [onSuccess] + ); + const { open: openCreateNewCaseFlyout } = useCasesAddToNewCaseFlyout({ + onClose, + onSuccess: handleSuccess, + toastTitle: successToaster?.title, + toastContent: successToaster?.content, }); const { dispatch, appId } = useCasesContext(); @@ -69,15 +79,15 @@ export const useCasesAddToExistingCaseModal = (props: AddToExistingCaseModalProp // the user clicked "create new case" if (theCase === undefined) { closeModal(); - createNewCaseFlyout.open({ attachments }); + openCreateNewCaseFlyout({ attachments }); return; } try { // add attachments to the case if (attachments === undefined || attachments.length === 0) { - const title = props.noAttachmentsToaster?.title ?? NO_ATTACHMENTS_ADDED; - const content = props.noAttachmentsToaster?.content; + const title = noAttachmentsToaster?.title ?? NO_ATTACHMENTS_ADDED; + const content = noAttachmentsToaster?.content; casesToasts.showInfoToast(title, content); return; @@ -91,15 +101,13 @@ export const useCasesAddToExistingCaseModal = (props: AddToExistingCaseModalProp attachments, }); - if (props.onSuccess) { - props.onSuccess(theCase); - } + onSuccess?.(theCase); casesToasts.showSuccessAttach({ theCase, attachments, - title: props.successToaster?.title, - content: props.successToaster?.content, + title: successToaster?.title, + content: successToaster?.content, }); } catch (error) { // error toast is handled @@ -111,8 +119,12 @@ export const useCasesAddToExistingCaseModal = (props: AddToExistingCaseModalProp casesToasts, closeModal, createAttachments, - createNewCaseFlyout, - props, + openCreateNewCaseFlyout, + successToaster?.title, + successToaster?.content, + noAttachmentsToaster?.title, + noAttachmentsToaster?.content, + onSuccess, startTransaction, ] ); @@ -126,22 +138,22 @@ export const useCasesAddToExistingCaseModal = (props: AddToExistingCaseModalProp dispatch({ type: CasesContextStoreActionsList.OPEN_ADD_TO_CASE_MODAL, payload: { - ...props, hiddenStatuses: [CaseStatuses.closed], + onCreateCaseClicked, onRowClick: (theCase?: CaseUI) => { handleOnRowClick(theCase, getAttachments); }, onClose: (theCase?: CaseUI, isCreateCase?: boolean) => { closeModal(); - if (props.onClose) { - return props.onClose(theCase, isCreateCase); + if (onClose) { + return onClose(theCase, isCreateCase); } }, }, }); }, - [closeModal, dispatch, handleOnRowClick, props] + [closeModal, dispatch, handleOnRowClick, onClose, onCreateCaseClicked] ); return { diff --git a/x-pack/plugins/cases/public/components/case_view/components/user_list.test.tsx b/x-pack/plugins/cases/public/components/case_view/components/user_list.test.tsx index bcfb70cc2fe8c..3da3cd8add20d 100644 --- a/x-pack/plugins/cases/public/components/case_view/components/user_list.test.tsx +++ b/x-pack/plugins/cases/public/components/case_view/components/user_list.test.tsx @@ -147,6 +147,7 @@ describe('UserList ', () => { username: null, email: null, full_name: null, + // @ts-expect-error upgrade typescript v4.9.5 uid: null, }, }, diff --git a/x-pack/plugins/cases/public/components/create/flyout/use_cases_add_to_new_case_flyout.tsx b/x-pack/plugins/cases/public/components/create/flyout/use_cases_add_to_new_case_flyout.tsx index a8e234f9bb96a..e6d5bd2fc2a0b 100644 --- a/x-pack/plugins/cases/public/components/create/flyout/use_cases_add_to_new_case_flyout.tsx +++ b/x-pack/plugins/cases/public/components/create/flyout/use_cases_add_to_new_case_flyout.tsx @@ -19,7 +19,15 @@ type AddToNewCaseFlyoutProps = Omit & { toastContent?: string; }; -export const useCasesAddToNewCaseFlyout = (props: AddToNewCaseFlyoutProps = {}) => { +export const useCasesAddToNewCaseFlyout = ({ + initialValue, + toastTitle, + toastContent, + + afterCaseCreated, + onSuccess, + onClose, +}: AddToNewCaseFlyoutProps = {}) => { const { dispatch } = useCasesContext(); const casesToasts = useCasesToast(); @@ -37,13 +45,13 @@ export const useCasesAddToNewCaseFlyout = (props: AddToNewCaseFlyoutProps = {}) dispatch({ type: CasesContextStoreActionsList.OPEN_CREATE_CASE_FLYOUT, payload: { - ...props, + initialValue, attachments, headerContent, onClose: () => { closeFlyout(); - if (props.onClose) { - return props.onClose(); + if (onClose) { + return onClose(); } }, onSuccess: async (theCase: CaseUI) => { @@ -51,24 +59,34 @@ export const useCasesAddToNewCaseFlyout = (props: AddToNewCaseFlyoutProps = {}) casesToasts.showSuccessAttach({ theCase, attachments: attachments ?? [], - title: props.toastTitle, - content: props.toastContent, + title: toastTitle, + content: toastContent, }); } - if (props.onSuccess) { - return props.onSuccess(theCase); + if (onSuccess) { + return onSuccess(theCase); } }, afterCaseCreated: async (...args) => { closeFlyout(); - if (props.afterCaseCreated) { - return props.afterCaseCreated(...args); + if (afterCaseCreated) { + return afterCaseCreated(...args); } }, }, }); }, - [casesToasts, closeFlyout, dispatch, props] + [ + initialValue, + casesToasts, + closeFlyout, + dispatch, + toastTitle, + toastContent, + afterCaseCreated, + onSuccess, + onClose, + ] ); return { open: openFlyout, diff --git a/x-pack/plugins/cases/public/components/custom_fields/index.test.tsx b/x-pack/plugins/cases/public/components/custom_fields/index.test.tsx index 15a280716c3c0..4da76d846dd9d 100644 --- a/x-pack/plugins/cases/public/components/custom_fields/index.test.tsx +++ b/x-pack/plugins/cases/public/components/custom_fields/index.test.tsx @@ -17,7 +17,8 @@ import { MAX_CUSTOM_FIELDS_PER_CASE } from '../../../common/constants'; import { CustomFields } from '.'; import * as i18n from './translations'; -describe('CustomFields', () => { +// FLAKY: https://github.com/elastic/kibana/issues/176805 +describe.skip('CustomFields', () => { let appMockRender: AppMockRenderer; const props = { diff --git a/x-pack/plugins/cases/public/components/utils.ts b/x-pack/plugins/cases/public/components/utils.ts index 72fbbc24c15ec..13bff3b48fdc9 100644 --- a/x-pack/plugins/cases/public/components/utils.ts +++ b/x-pack/plugins/cases/public/components/utils.ts @@ -14,7 +14,7 @@ import type { import type { UserProfileWithAvatar } from '@kbn/user-profile-components'; import type { ConnectorTypeFields } from '../../common/types/domain'; import { ConnectorTypes } from '../../common/types/domain'; -import type { CasesPluginStart } from '../types'; +import type { CasesPublicStartDependencies } from '../types'; import { connectorValidator as swimlaneConnectorValidator } from './connectors/swimlane/validator'; import type { CaseActionConnector } from './types'; import type { CaseUser, CaseUsers } from '../../common/ui/types'; @@ -145,7 +145,7 @@ export const getConnectorsFormDeserializer = { /** diff --git a/x-pack/plugins/cases/public/components/visualizations/actions/types.ts b/x-pack/plugins/cases/public/components/visualizations/actions/types.ts index 507e5aa2c3744..8cbe7fd93585d 100644 --- a/x-pack/plugins/cases/public/components/visualizations/actions/types.ts +++ b/x-pack/plugins/cases/public/components/visualizations/actions/types.ts @@ -11,7 +11,7 @@ import type * as H from 'history'; import type { Storage } from '@kbn/kibana-utils-plugin/public'; import type { ActionExecutionContext } from '@kbn/ui-actions-plugin/public'; -import type { CasesPluginStart } from '../../../types'; +import type { CasesPublicStartDependencies } from '../../../types'; import type { CasesContextProps } from '../../cases_context'; export type CasesUIActionContextProps = Pick< @@ -23,7 +23,7 @@ export type CasesUIActionContextProps = Pick< export interface CasesUIActionProps { core: CoreStart; - plugins: CasesPluginStart; + plugins: CasesPublicStartDependencies; caseContextProps: CasesUIActionContextProps; history: H.History; storage: Storage; diff --git a/x-pack/plugins/cases/public/index.tsx b/x-pack/plugins/cases/public/index.tsx index 365c850909116..af6e71580f944 100644 --- a/x-pack/plugins/cases/public/index.tsx +++ b/x-pack/plugins/cases/public/index.tsx @@ -14,7 +14,7 @@ export function plugin(initializerContext: PluginInitializerContext) { export { DRAFT_COMMENT_STORAGE_ID } from './components/markdown_editor/plugins/lens/constants'; -export type { CasesUiStart, CasesUiSetup } from './types'; +export type { CasesPublicStart, CasesPublicSetup } from './types'; export type { GetCreateCaseFlyoutProps } from './client/ui/get_create_case_flyout'; export type { GetAllCasesSelectorModalProps } from './client/ui/get_all_cases_selector_modal'; export type { GetRecentCasesProps } from './client/ui/get_recent_cases'; diff --git a/x-pack/plugins/cases/public/mocks.ts b/x-pack/plugins/cases/public/mocks.ts index 237d7150aec6b..3511beda3cccc 100644 --- a/x-pack/plugins/cases/public/mocks.ts +++ b/x-pack/plugins/cases/public/mocks.ts @@ -6,9 +6,9 @@ */ import { mockCasesContext } from './mocks/mock_cases_context'; -import type { CasesUiStart } from './types'; +import type { CasesPublicStart } from './types'; -const apiMock: jest.Mocked = { +const apiMock: jest.Mocked = { getRelatedCases: jest.fn(), cases: { find: jest.fn(), @@ -18,7 +18,7 @@ const apiMock: jest.Mocked = { }, }; -const uiMock: jest.Mocked = { +const uiMock: jest.Mocked = { getCases: jest.fn(), getCasesContext: jest.fn().mockImplementation(() => mockCasesContext), getAllCasesSelectorModal: jest.fn(), @@ -28,7 +28,7 @@ const uiMock: jest.Mocked = { export const openAddToExistingCaseModalMock = jest.fn(); export const openAddToNewCaseFlyoutMock = jest.fn(); -const hooksMock: jest.Mocked = { +const hooksMock: jest.Mocked = { useCasesAddToNewCaseFlyout: jest.fn().mockImplementation(() => ({ open: openAddToNewCaseFlyoutMock, })), @@ -37,7 +37,7 @@ const hooksMock: jest.Mocked = { })), }; -const helpersMock: jest.Mocked = { +const helpersMock: jest.Mocked = { canUseCases: jest.fn(), getUICapabilities: jest.fn().mockReturnValue({ all: false, @@ -54,10 +54,10 @@ const helpersMock: jest.Mocked = { }; export interface CaseUiClientMock { - api: jest.Mocked; - ui: jest.Mocked; - hooks: jest.Mocked; - helpers: jest.Mocked; + api: jest.Mocked; + ui: jest.Mocked; + hooks: jest.Mocked; + helpers: jest.Mocked; } export const mockCasesContract = (): CaseUiClientMock => ({ diff --git a/x-pack/plugins/cases/public/plugin.test.ts b/x-pack/plugins/cases/public/plugin.test.ts index bb81b7d501c5d..03a17d5bf2cb0 100644 --- a/x-pack/plugins/cases/public/plugin.test.ts +++ b/x-pack/plugins/cases/public/plugin.test.ts @@ -18,7 +18,7 @@ import { lensPluginMock } from '@kbn/lens-plugin/public/mocks'; import { contentManagementMock } from '@kbn/content-management-plugin/public/mocks'; import { mockStorage } from '@kbn/kibana-utils-plugin/public/storage/hashed_item_store/mock'; import { triggersActionsUiMock } from '@kbn/triggers-actions-ui-plugin/public/mocks'; -import type { CasesPluginSetup, CasesPluginStart } from './types'; +import type { CasesPublicStartDependencies, CasesPublicSetupDependencies } from './types'; import { CasesUiPlugin } from './plugin'; import { ALLOWED_MIME_TYPES } from '../common/constants/mime_types'; @@ -36,8 +36,8 @@ describe('Cases Ui Plugin', () => { let plugin: CasesUiPlugin; let coreSetup: ReturnType; let coreStart: ReturnType; - let pluginsSetup: jest.Mocked; - let pluginsStart: jest.Mocked; + let pluginsSetup: jest.Mocked; + let pluginsStart: jest.Mocked; beforeEach(() => { context = coreMock.createPluginInitializerContext(getConfig()); diff --git a/x-pack/plugins/cases/public/plugin.ts b/x-pack/plugins/cases/public/plugin.ts index f4909f344e7fc..b9117746d87df 100644 --- a/x-pack/plugins/cases/public/plugin.ts +++ b/x-pack/plugins/cases/public/plugin.ts @@ -28,16 +28,27 @@ import { getUICapabilities } from './client/helpers/capabilities'; import { ExternalReferenceAttachmentTypeRegistry } from './client/attachment_framework/external_reference_registry'; import { PersistableStateAttachmentTypeRegistry } from './client/attachment_framework/persistable_state_registry'; import { registerCaseFileKinds } from './files'; -import type { CasesPluginSetup, CasesPluginStart, CasesUiSetup, CasesUiStart } from './types'; import { registerInternalAttachments } from './internal_attachments'; import { registerActions } from './components/visualizations/actions'; +import type { + CasesPublicSetup, + CasesPublicStart, + CasesPublicSetupDependencies, + CasesPublicStartDependencies, +} from './types'; /** * @public * A plugin for retrieving Cases UI components */ export class CasesUiPlugin - implements Plugin + implements + Plugin< + CasesPublicSetup, + CasesPublicStart, + CasesPublicSetupDependencies, + CasesPublicStartDependencies + > { private readonly kibanaVersion: string; private readonly storage = new Storage(localStorage); @@ -50,7 +61,7 @@ export class CasesUiPlugin this.persistableStateAttachmentTypeRegistry = new PersistableStateAttachmentTypeRegistry(); } - public setup(core: CoreSetup, plugins: CasesPluginSetup): CasesUiSetup { + public setup(core: CoreSetup, plugins: CasesPublicSetupDependencies): CasesPublicSetup { const kibanaVersion = this.kibanaVersion; const storage = this.storage; const externalReferenceAttachmentTypeRegistry = this.externalReferenceAttachmentTypeRegistry; @@ -83,7 +94,7 @@ export class CasesUiPlugin async mount(params: ManagementAppMountParams) { const [coreStart, pluginsStart] = (await core.getStartServices()) as [ CoreStart, - CasesPluginStart, + CasesPublicStartDependencies, unknown ]; @@ -114,7 +125,7 @@ export class CasesUiPlugin }; } - public start(core: CoreStart, plugins: CasesPluginStart): CasesUiStart { + public start(core: CoreStart, plugins: CasesPublicStartDependencies): CasesPublicStart { const config = this.initializerContext.config.get(); KibanaServices.init({ diff --git a/x-pack/plugins/cases/public/types.ts b/x-pack/plugins/cases/public/types.ts index 621a135b1ae3c..91ca41f89aae2 100644 --- a/x-pack/plugins/cases/public/types.ts +++ b/x-pack/plugins/cases/public/types.ts @@ -58,7 +58,7 @@ import type { ExternalReferenceSOAttachmentPayload, } from '../common/types/domain'; -export interface CasesPluginSetup { +export interface CasesPublicSetupDependencies { files: FilesSetup; security: SecurityPluginSetup; serverless?: ServerlessPluginSetup; @@ -66,13 +66,18 @@ export interface CasesPluginSetup { home?: HomePublicPluginSetup; } -export interface CasesPluginStart { +export interface CasesPublicStartDependencies { apm?: ApmBase; data: DataPublicPluginStart; embeddable: EmbeddableStart; features: FeaturesPluginStart; files: FilesStart; lens: LensPublicStart; + /** + * Cases in used by other plugins. Plugins pass the + * service to their KibanaContext. ML does not pass + * the licensing service thus it is optional. + */ licensing?: LicensingPluginStart; contentManagement: ContentManagementPublicStart; security: SecurityPluginStart; @@ -89,23 +94,23 @@ export interface CasesPluginStart { * Leaving it out currently in lieu of RBAC changes */ -export type StartServices = CoreStart & CasesPluginStart; +export type StartServices = CoreStart & CasesPublicStartDependencies; export interface RenderAppProps { mountParams: ManagementAppMountParams; coreStart: CoreStart; - pluginsStart: CasesPluginStart; + pluginsStart: CasesPublicStartDependencies; storage: Storage; kibanaVersion: string; externalReferenceAttachmentTypeRegistry: ExternalReferenceAttachmentTypeRegistry; persistableStateAttachmentTypeRegistry: PersistableStateAttachmentTypeRegistry; } -export interface CasesUiSetup { +export interface CasesPublicSetup { attachmentFramework: AttachmentFramework; } -export interface CasesUiStart { +export interface CasesPublicStart { api: { getRelatedCases: ( alertId: string, diff --git a/x-pack/plugins/cases/server/index.ts b/x-pack/plugins/cases/server/index.ts index 911c59bc4d46a..3c019b0d1bd20 100644 --- a/x-pack/plugins/cases/server/index.ts +++ b/x-pack/plugins/cases/server/index.ts @@ -26,4 +26,4 @@ export const plugin = async (initializerContext: PluginInitializerContext) => { return new CasePlugin(initializerContext); }; -export type { CasesSetup, CasesStart } from './types'; +export type { CasesServerSetup, CasesServerStart } from './types'; diff --git a/x-pack/plugins/cases/server/mocks.ts b/x-pack/plugins/cases/server/mocks.ts index f05b9e9e1a292..637cee85ed84b 100644 --- a/x-pack/plugins/cases/server/mocks.ts +++ b/x-pack/plugins/cases/server/mocks.ts @@ -8,7 +8,6 @@ import type { SavedObject } from '@kbn/core/server'; import { SECURITY_SOLUTION_OWNER } from '../common/constants'; -import type { CasesStart } from './types'; import { createCasesClientMock } from './client/mocks'; import type { CaseSavedObjectTransformed } from './common/types/case'; import type { @@ -28,6 +27,7 @@ import { AttachmentType, } from '../common/types/domain'; import type { CasePostRequest } from '../common/types/api'; +import type { CasesServerStart } from './types'; const lensPersistableState = { attributes: { @@ -722,7 +722,7 @@ export const mappings: ConnectorMappings = [ const casesClientMock = createCasesClientMock(); -export const mockCasesContract = (): CasesStart => ({ +export const mockCasesContract = (): CasesServerStart => ({ getCasesClientWithRequest: jest.fn().mockResolvedValue(casesClientMock), getExternalReferenceAttachmentTypeRegistry: jest.fn(), getPersistableStateAttachmentTypeRegistry: jest.fn(), diff --git a/x-pack/plugins/cases/server/plugin.test.ts b/x-pack/plugins/cases/server/plugin.test.ts index 255e6ce42af68..ad852fc65ebc5 100644 --- a/x-pack/plugins/cases/server/plugin.test.ts +++ b/x-pack/plugins/cases/server/plugin.test.ts @@ -18,10 +18,10 @@ import { taskManagerMock } from '@kbn/task-manager-plugin/server/mocks'; import { actionsMock } from '@kbn/actions-plugin/server/mocks'; import { notificationsMock } from '@kbn/notifications-plugin/server/mocks'; import { alertsMock } from '@kbn/alerting-plugin/server/mocks'; -import type { PluginsSetup, PluginsStart } from './plugin'; import { CasePlugin } from './plugin'; import type { ConfigType } from './config'; import { ALLOWED_MIME_TYPES } from '../common/constants/mime_types'; +import type { CasesServerSetupDependencies, CasesServerStartDependencies } from './types'; function getConfig(overrides = {}) { return { @@ -37,8 +37,8 @@ describe('Cases Plugin', () => { let plugin: CasePlugin; let coreSetup: ReturnType; let coreStart: ReturnType; - let pluginsSetup: jest.Mocked; - let pluginsStart: jest.Mocked; + let pluginsSetup: jest.Mocked; + let pluginsStart: jest.Mocked; beforeEach(() => { context = coreMock.createPluginInitializerContext(getConfig()); diff --git a/x-pack/plugins/cases/server/plugin.ts b/x-pack/plugins/cases/server/plugin.ts index 510686f1a98bd..cc77798be74e2 100644 --- a/x-pack/plugins/cases/server/plugin.ts +++ b/x-pack/plugins/cases/server/plugin.ts @@ -12,28 +12,11 @@ import type { PluginInitializerContext, CoreSetup, CoreStart, + Plugin, } from '@kbn/core/server'; -import type { FilesSetup, FilesStart } from '@kbn/files-plugin/server'; -import type { SecurityPluginSetup, SecurityPluginStart } from '@kbn/security-plugin/server'; -import type { - PluginSetupContract as ActionsPluginSetup, - PluginStartContract as ActionsPluginStart, -} from '@kbn/actions-plugin/server'; -import type { SpacesPluginStart } from '@kbn/spaces-plugin/server'; -import type { - PluginStartContract as FeaturesPluginStart, - PluginSetupContract as FeaturesPluginSetup, -} from '@kbn/features-plugin/server'; +import type { SecurityPluginSetup } from '@kbn/security-plugin/server'; import type { LensServerPluginSetup } from '@kbn/lens-plugin/server'; -import type { - TaskManagerSetupContract, - TaskManagerStartContract, -} from '@kbn/task-manager-plugin/server'; -import type { UsageCollectionSetup } from '@kbn/usage-collection-plugin/server'; -import type { LicensingPluginSetup, LicensingPluginStart } from '@kbn/licensing-plugin/server'; -import type { NotificationsPluginStart } from '@kbn/notifications-plugin/server'; -import type { RuleRegistryPluginStartContract } from '@kbn/rule-registry-plugin/server'; import { APP_ID } from '../common/constants'; import { @@ -46,7 +29,13 @@ import { } from './saved_object_types'; import type { CasesClient } from './client'; -import type { CasesRequestHandlerContext, CasesSetup, CasesStart } from './types'; +import type { + CasesRequestHandlerContext, + CasesServerSetup, + CasesServerSetupDependencies, + CasesServerStart, + CasesServerStartDependencies, +} from './types'; import { CasesClientFactory } from './client/factory'; import { getCasesKibanaFeature } from './features'; import { registerRoutes } from './routes/api/register_routes'; @@ -61,30 +50,15 @@ import { registerInternalAttachments } from './internal_attachments'; import { registerCaseFileKinds } from './files'; import type { ConfigType } from './config'; -export interface PluginsSetup { - actions: ActionsPluginSetup; - lens: LensServerPluginSetup; - features: FeaturesPluginSetup; - files: FilesSetup; - security: SecurityPluginSetup; - licensing: LicensingPluginSetup; - taskManager?: TaskManagerSetupContract; - usageCollection?: UsageCollectionSetup; -} - -export interface PluginsStart { - actions: ActionsPluginStart; - features: FeaturesPluginStart; - files: FilesStart; - licensing: LicensingPluginStart; - taskManager?: TaskManagerStartContract; - security: SecurityPluginStart; - spaces?: SpacesPluginStart; - notifications: NotificationsPluginStart; - ruleRegistry: RuleRegistryPluginStartContract; -} - -export class CasePlugin { +export class CasePlugin + implements + Plugin< + CasesServerSetup, + CasesServerStart, + CasesServerSetupDependencies, + CasesServerStartDependencies + > +{ private readonly caseConfig: ConfigType; private readonly logger: Logger; private readonly kibanaVersion: PluginInitializerContext['env']['packageInfo']['version']; @@ -105,7 +79,7 @@ export class CasePlugin { this.userProfileService = new UserProfileService(this.logger); } - public setup(core: CoreSetup, plugins: PluginsSetup): CasesSetup { + public setup(core: CoreSetup, plugins: CasesServerSetupDependencies): CasesServerSetup { this.logger.debug( `Setting up Case Workflow with core contract [${Object.keys( core @@ -185,7 +159,7 @@ export class CasePlugin { }; } - public start(core: CoreStart, plugins: PluginsStart): CasesStart { + public start(core: CoreStart, plugins: CasesServerStartDependencies): CasesServerStart { this.logger.debug(`Starting Case Workflow`); if (plugins.taskManager) { diff --git a/x-pack/plugins/cases/server/types.ts b/x-pack/plugins/cases/server/types.ts index a6fb8db9d974b..d0cbf370f729a 100644 --- a/x-pack/plugins/cases/server/types.ts +++ b/x-pack/plugins/cases/server/types.ts @@ -12,11 +12,54 @@ import type { ActionTypeParams, ActionType, } from '@kbn/actions-plugin/server/types'; +import type { FilesSetup, FilesStart } from '@kbn/files-plugin/server'; +import type { SecurityPluginSetup, SecurityPluginStart } from '@kbn/security-plugin/server'; +import type { + PluginSetupContract as ActionsPluginSetup, + PluginStartContract as ActionsPluginStart, +} from '@kbn/actions-plugin/server'; +import type { SpacesPluginStart } from '@kbn/spaces-plugin/server'; +import type { + PluginStartContract as FeaturesPluginStart, + PluginSetupContract as FeaturesPluginSetup, +} from '@kbn/features-plugin/server'; +import type { LensServerPluginSetup } from '@kbn/lens-plugin/server'; +import type { + TaskManagerSetupContract, + TaskManagerStartContract, +} from '@kbn/task-manager-plugin/server'; +import type { UsageCollectionSetup } from '@kbn/usage-collection-plugin/server'; +import type { LicensingPluginSetup, LicensingPluginStart } from '@kbn/licensing-plugin/server'; +import type { NotificationsPluginStart } from '@kbn/notifications-plugin/server'; +import type { RuleRegistryPluginStartContract } from '@kbn/rule-registry-plugin/server'; import type { CasesClient } from './client'; import type { AttachmentFramework } from './attachment_framework/types'; import type { ExternalReferenceAttachmentTypeRegistry } from './attachment_framework/external_reference_registry'; import type { PersistableStateAttachmentTypeRegistry } from './attachment_framework/persistable_state_registry'; +export interface CasesServerSetupDependencies { + actions: ActionsPluginSetup; + lens: LensServerPluginSetup; + features: FeaturesPluginSetup; + files: FilesSetup; + security: SecurityPluginSetup; + licensing: LicensingPluginSetup; + taskManager?: TaskManagerSetupContract; + usageCollection?: UsageCollectionSetup; +} + +export interface CasesServerStartDependencies { + actions: ActionsPluginStart; + features: FeaturesPluginStart; + files: FilesStart; + licensing: LicensingPluginStart; + taskManager?: TaskManagerStartContract; + security: SecurityPluginStart; + spaces?: SpacesPluginStart; + notifications: NotificationsPluginStart; + ruleRegistry: RuleRegistryPluginStartContract; +} + export interface CaseRequestContext { getCasesClient: () => Promise; } @@ -39,7 +82,7 @@ export type RegisterActionType = < /** * Cases server exposed contract for interacting with cases entities. */ -export interface CasesStart { +export interface CasesServerStart { /** * Returns a client which can be used to interact with the cases backend entities. * @@ -51,7 +94,7 @@ export interface CasesStart { getPersistableStateAttachmentTypeRegistry(): PersistableStateAttachmentTypeRegistry; } -export interface CasesSetup { +export interface CasesServerSetup { attachmentFramework: AttachmentFramework; } diff --git a/x-pack/plugins/cloud_security_posture/common/dev_docs/__auto_generated_csp_requirements_test_coverage.md b/x-pack/plugins/cloud_security_posture/common/dev_docs/__auto_generated_csp_requirements_test_coverage.md new file mode 100644 index 0000000000000..c18a57ff85ab2 --- /dev/null +++ b/x-pack/plugins/cloud_security_posture/common/dev_docs/__auto_generated_csp_requirements_test_coverage.md @@ -0,0 +1,735 @@ +# Cloud Security Posture - Requirements Test Coverage + +This document provides a summary of the requirements test coverage for Cloud Security Posture. + +You can also check out the dedicated app view, which enables easier search and filter functionalities. This app needs to be updated manually, so it might not always be up to date. +[Requirement test coverage app](https://vxgs2c.csb.app/) + +## Directory: x-pack/plugins/cloud_security_posture + +**Total Tests:** 425 | **Skipped:** 5 (1.18%) | **Todo:** 0 (0.00%) + +![](https://img.shields.io/badge/UT-brightgreen) ![](https://img.shields.io/badge/HAS-SKIP-yellow) + +
+Test Details + +| Test Label | Type | Skipped | Todo | +|------------|------|---------|------| +| [Detection rules utils](x-pack/plugins/cloud_security_posture/common/utils/detection_rules.test.ts) | describe | | | +| [should convert tags to KQL format with AND operator](x-pack/plugins/cloud_security_posture/common/utils/detection_rules.test.ts) | it | | | +| [Should convert tags to KQL format with AND Operator (empty array)](x-pack/plugins/cloud_security_posture/common/utils/detection_rules.test.ts) | it | | | +| [should convert tags to KQL format with OR Operator](x-pack/plugins/cloud_security_posture/common/utils/detection_rules.test.ts) | it | | | +| [Should convert tags to KQL format with OR Operator (empty array)](x-pack/plugins/cloud_security_posture/common/utils/detection_rules.test.ts) | it | | | +| [Should generate search tags for a CSP benchmark rule](x-pack/plugins/cloud_security_posture/common/utils/detection_rules.test.ts) | it | | | +| [Should handle undefined benchmark object gracefully](x-pack/plugins/cloud_security_posture/common/utils/detection_rules.test.ts) | it | | | +| [Should handle undefined rule number gracefully](x-pack/plugins/cloud_security_posture/common/utils/detection_rules.test.ts) | it | | | +| [Should generate search tags for a CSP benchmark rule given an array of Benchmarks](x-pack/plugins/cloud_security_posture/common/utils/detection_rules.test.ts) | it | | | +| [Should handle undefined benchmark object gracefully given an array of empty benchmark](x-pack/plugins/cloud_security_posture/common/utils/detection_rules.test.ts) | it | | | +| [Should generate tags for a CSPM benchmark rule](x-pack/plugins/cloud_security_posture/common/utils/detection_rules.test.ts) | it | | | +| [Should generate tags for a KSPM benchmark rule](x-pack/plugins/cloud_security_posture/common/utils/detection_rules.test.ts) | it | | | +| [test helper methods](x-pack/plugins/cloud_security_posture/common/utils/helpers.test.ts) | describe | | | +| [get default integration type from inputs with multiple enabled types](x-pack/plugins/cloud_security_posture/common/utils/helpers.test.ts) | it | | | +| [get default integration type from inputs without any enabled types](x-pack/plugins/cloud_security_posture/common/utils/helpers.test.ts) | it | | | +| [get EKS integration type](x-pack/plugins/cloud_security_posture/common/utils/helpers.test.ts) | it | | | +| [get Vanilla K8S integration type](x-pack/plugins/cloud_security_posture/common/utils/helpers.test.ts) | it | | | +| [get benchmark type filter based on a benchmark id](x-pack/plugins/cloud_security_posture/common/utils/helpers.test.ts) | it | | | +| [should return a string with the correct filter when given a benchmark type and section](x-pack/plugins/cloud_security_posture/common/utils/helpers.test.ts) | it | | | +| [get benchmark filter query based on a benchmark Id, version](x-pack/plugins/cloud_security_posture/common/utils/helpers.test.ts) | it | | | +| [get benchmark filter query based on a benchmark Id, version and multiple sections and rule numbers](x-pack/plugins/cloud_security_posture/common/utils/helpers.test.ts) | it | | | +| [get benchmark filter query based on a benchmark Id, version and just sections](x-pack/plugins/cloud_security_posture/common/utils/helpers.test.ts) | it | | | +| [get benchmark filter query based on a benchmark Id, version and just rule numbers](x-pack/plugins/cloud_security_posture/common/utils/helpers.test.ts) | it | | | +| [cleanupCredentials](x-pack/plugins/cloud_security_posture/common/utils/helpers.test.ts) | describe | | | +| [cleans unused aws credential methods, except role_arn when using assume_role](x-pack/plugins/cloud_security_posture/common/utils/helpers.test.ts) | it | | | +| [cleans unused aws credential methods, when using cloud formation](x-pack/plugins/cloud_security_posture/common/utils/helpers.test.ts) | it | | | +| [cleans unused aws credential methods, when using direct_access_keys method ](x-pack/plugins/cloud_security_posture/common/utils/helpers.test.ts) | it | | | +| [when aws credential type is undefined, return unchanged policy](x-pack/plugins/cloud_security_posture/common/utils/helpers.test.ts) | it | | | +| [cleans unused gcp credential methods, when using credentials-file method ](x-pack/plugins/cloud_security_posture/common/utils/helpers.test.ts) | it | | | +| [when gcp credential type is undefined, return unchanged policy](x-pack/plugins/cloud_security_posture/common/utils/helpers.test.ts) | it | | | +| [isSubscriptionAllowed](x-pack/plugins/cloud_security_posture/common/utils/subscription.test.ts) | describe | | | +| [should allow any cloud subscription](x-pack/plugins/cloud_security_posture/common/utils/subscription.test.ts) | it | | | +| [should allow enterprise and trial licenses for on-prem](x-pack/plugins/cloud_security_posture/common/utils/subscription.test.ts) | it | | | +| [should not allow enterprise and trial licenses for on-prem](x-pack/plugins/cloud_security_posture/common/utils/subscription.test.ts) | it | | | +| [CspRouter](x-pack/plugins/cloud_security_posture/public/application/csp_router.test.tsx) | describe | | | +| [happy path](x-pack/plugins/cloud_security_posture/public/application/csp_router.test.tsx) | describe | | | +| [should render Findings](x-pack/plugins/cloud_security_posture/public/application/csp_router.test.tsx) | it | | | +| [should render Dashboards](x-pack/plugins/cloud_security_posture/public/application/csp_router.test.tsx) | it | | | +| [should render the Vulnerability Dashboard](x-pack/plugins/cloud_security_posture/public/application/csp_router.test.tsx) | it | | | +| [should render Benchmarks](x-pack/plugins/cloud_security_posture/public/application/csp_router.test.tsx) | it | | | +| [should render Rules](x-pack/plugins/cloud_security_posture/public/application/csp_router.test.tsx) | it | | | +| [unhappy path](x-pack/plugins/cloud_security_posture/public/application/csp_router.test.tsx) | describe | | | +| [should redirect base path to dashboard](x-pack/plugins/cloud_security_posture/public/application/csp_router.test.tsx) | it | | | +| [CspRoute](x-pack/plugins/cloud_security_posture/public/application/csp_router.test.tsx) | describe | | | +| [should not render disabled path](x-pack/plugins/cloud_security_posture/public/application/csp_router.test.tsx) | it | | | +| [should render SpyRoute for static paths](x-pack/plugins/cloud_security_posture/public/application/csp_router.test.tsx) | it | | | +| [should not render SpyRoute for dynamic paths](x-pack/plugins/cloud_security_posture/public/application/csp_router.test.tsx) | it | | | +| [useBenchmarkDynamicValues](x-pack/plugins/cloud_security_posture/public/common/hooks/use_benchmark_dynamic_values.test.ts) | describe | | | +| [should return the correct dynamic benchmark values for each provided benchmark ID](x-pack/plugins/cloud_security_posture/public/common/hooks/use_benchmark_dynamic_values.test.ts) | it | | | +| [should return the correct resource plurals based on the provided resource count](x-pack/plugins/cloud_security_posture/public/common/hooks/use_benchmark_dynamic_values.test.ts) | it | | | +| [useNavigateFindings](x-pack/plugins/cloud_security_posture/public/common/hooks/use_navigate_findings.test.ts) | describe | | | +| [creates a URL to findings page with correct path, filter and dataViewId](x-pack/plugins/cloud_security_posture/public/common/hooks/use_navigate_findings.test.ts) | it | | | +| [creates a URL to findings page with correct path and negated filter](x-pack/plugins/cloud_security_posture/public/common/hooks/use_navigate_findings.test.ts) | it | | | +| [creates a URL to findings resource page with correct path and filter](x-pack/plugins/cloud_security_posture/public/common/hooks/use_navigate_findings.test.ts) | it | | | +| [creates a URL to vulnerabilities page with correct path, filter and dataViewId](x-pack/plugins/cloud_security_posture/public/common/hooks/use_navigate_findings.test.ts) | it | | | +| [useUrlQuery](x-pack/plugins/cloud_security_posture/public/common/hooks/use_url_query.test.ts) | describe | | | +| [uses default query when no query is provided](x-pack/plugins/cloud_security_posture/public/common/hooks/use_url_query.test.ts) | it | | | +| [merges default query, partial first query and partial second query](x-pack/plugins/cloud_security_posture/public/common/hooks/use_url_query.test.ts) | it | | | +| [getSecuritySolutionLink](x-pack/plugins/cloud_security_posture/public/common/navigation/security_solution_links.test.ts) | describe | | | +| [gets the correct link properties](x-pack/plugins/cloud_security_posture/public/common/navigation/security_solution_links.test.ts) | it | | | +| [getAbbreviatedNumber](x-pack/plugins/cloud_security_posture/public/common/utils/get_abbreviated_number.test.ts) | describe | | | +| [should return the same value if it is less than 1000](x-pack/plugins/cloud_security_posture/public/common/utils/get_abbreviated_number.test.ts) | it | | | +| [should use numeral to format the value if it is greater than or equal to 1000](x-pack/plugins/cloud_security_posture/public/common/utils/get_abbreviated_number.test.ts) | it | | | +| [should return 0 if the value is NaN](x-pack/plugins/cloud_security_posture/public/common/utils/get_abbreviated_number.test.ts) | it | | | +| [getLimitProperties](x-pack/plugins/cloud_security_posture/public/common/utils/get_limit_properties.test.ts) | describe | | | +| [less items than limit](x-pack/plugins/cloud_security_posture/public/common/utils/get_limit_properties.test.ts) | it | | | +| [more items than limit](x-pack/plugins/cloud_security_posture/public/common/utils/get_limit_properties.test.ts) | it | | | +| [per page calculations are correct](x-pack/plugins/cloud_security_posture/public/common/utils/get_limit_properties.test.ts) | it | | | +| [getCvsScoreColor](x-pack/plugins/cloud_security_posture/public/common/utils/get_vulnerabiltity_colors.test.ts) | describe | | | +| [returns correct color for low severity score](x-pack/plugins/cloud_security_posture/public/common/utils/get_vulnerabiltity_colors.test.ts) | it | | | +| [returns correct color for medium severity score](x-pack/plugins/cloud_security_posture/public/common/utils/get_vulnerabiltity_colors.test.ts) | it | | | +| [returns correct color for high severity score](x-pack/plugins/cloud_security_posture/public/common/utils/get_vulnerabiltity_colors.test.ts) | it | | | +| [returns correct color for critical severity score](x-pack/plugins/cloud_security_posture/public/common/utils/get_vulnerabiltity_colors.test.ts) | it | | | +| [returns correct color for low severity score for undefined value](x-pack/plugins/cloud_security_posture/public/common/utils/get_vulnerabiltity_colors.test.ts) | it | | | +| [getSeverityStatusColor](x-pack/plugins/cloud_security_posture/public/common/utils/get_vulnerabiltity_colors.test.ts) | describe | | | +| [should return the correct color for LOW severity](x-pack/plugins/cloud_security_posture/public/common/utils/get_vulnerabiltity_colors.test.ts) | it | | | +| [should return the correct color for MEDIUM severity](x-pack/plugins/cloud_security_posture/public/common/utils/get_vulnerabiltity_colors.test.ts) | it | | | +| [should return the correct color for HIGH severity](x-pack/plugins/cloud_security_posture/public/common/utils/get_vulnerabiltity_colors.test.ts) | it | | | +| [should return the correct color for CRITICAL severity](x-pack/plugins/cloud_security_posture/public/common/utils/get_vulnerabiltity_colors.test.ts) | it | | | +| [should return #aaa for an unknown severity](x-pack/plugins/cloud_security_posture/public/common/utils/get_vulnerabiltity_colors.test.ts) | it | | | +| [AccountsEvaluatedWidget](x-pack/plugins/cloud_security_posture/public/components/accounts_evaluated_widget.test.tsx) | describe | | | +| [renders the component with benchmark data correctly](x-pack/plugins/cloud_security_posture/public/components/accounts_evaluated_widget.test.tsx) | it | | | +| [calls navToFindingsByCloudProvider when a benchmark with provider is clicked](x-pack/plugins/cloud_security_posture/public/components/accounts_evaluated_widget.test.tsx) | it | | | +| [calls navToFindingsByCisBenchmark when a benchmark with benchmarkId is clicked](x-pack/plugins/cloud_security_posture/public/components/accounts_evaluated_widget.test.tsx) | it | | | +| [](x-pack/plugins/cloud_security_posture/public/components/chart_panel.test.tsx) | describe | | | +| [renders loading state](x-pack/plugins/cloud_security_posture/public/components/chart_panel.test.tsx) | it | | | +| [renders error state](x-pack/plugins/cloud_security_posture/public/components/chart_panel.test.tsx) | it | | | +| [renders chart component](x-pack/plugins/cloud_security_posture/public/components/chart_panel.test.tsx) | it | | | +| [](x-pack/plugins/cloud_security_posture/public/components/cloud_posture_page.test.tsx) | describe | | | +| [renders with license url locator](x-pack/plugins/cloud_security_posture/public/components/cloud_posture_page.test.tsx) | it | | | +| [renders no license url locator](x-pack/plugins/cloud_security_posture/public/components/cloud_posture_page.test.tsx) | it | | | +| [renders children if setup status is indexed](x-pack/plugins/cloud_security_posture/public/components/cloud_posture_page.test.tsx) | it | | | +| [renders default loading state when the subscription query is loading](x-pack/plugins/cloud_security_posture/public/components/cloud_posture_page.test.tsx) | it | | | +| [renders default error state when the subscription query has an error](x-pack/plugins/cloud_security_posture/public/components/cloud_posture_page.test.tsx) | it | | | +| [renders subscription not allowed prompt if subscription is not installed](x-pack/plugins/cloud_security_posture/public/components/cloud_posture_page.test.tsx) | it | | | +| [renders default loading text when query isLoading](x-pack/plugins/cloud_security_posture/public/components/cloud_posture_page.test.tsx) | it | | | +| [renders default loading text when query is idle](x-pack/plugins/cloud_security_posture/public/components/cloud_posture_page.test.tsx) | it | | | +| [renders default error texts when query isError](x-pack/plugins/cloud_security_posture/public/components/cloud_posture_page.test.tsx) | it | | | +| [prefers custom error render](x-pack/plugins/cloud_security_posture/public/components/cloud_posture_page.test.tsx) | it | | | +| [prefers custom loading render](x-pack/plugins/cloud_security_posture/public/components/cloud_posture_page.test.tsx) | it | | | +| [renders no data prompt when query data is undefined](x-pack/plugins/cloud_security_posture/public/components/cloud_posture_page.test.tsx) | it | | | +| [prefers custom no data prompt](x-pack/plugins/cloud_security_posture/public/components/cloud_posture_page.test.tsx) | it | | | +| [CloudSecurityDataTable](x-pack/plugins/cloud_security_posture/public/components/cloud_security_data_table/cloud_security_data_table.test.tsx) | describe | | | +| [renders loading state](x-pack/plugins/cloud_security_posture/public/components/cloud_security_data_table/cloud_security_data_table.test.tsx) | it | | | +| [renders empty state when no rows are present](x-pack/plugins/cloud_security_posture/public/components/cloud_security_data_table/cloud_security_data_table.test.tsx) | it | | | +| [renders data table with rows](x-pack/plugins/cloud_security_posture/public/components/cloud_security_data_table/cloud_security_data_table.test.tsx) | it | | | +| [FieldsSelectorTable](x-pack/plugins/cloud_security_posture/public/components/cloud_security_data_table/fields_selector/fields_selector_table.test.tsx) | describe | | | +| [renders the table with data correctly](x-pack/plugins/cloud_security_posture/public/components/cloud_security_data_table/fields_selector/fields_selector_table.test.tsx) | it | | | +| [calls onAddColumn when a checkbox is checked](x-pack/plugins/cloud_security_posture/public/components/cloud_security_data_table/fields_selector/fields_selector_table.test.tsx) | it | | | +| [calls onRemoveColumn when a checkbox is unchecked](x-pack/plugins/cloud_security_posture/public/components/cloud_security_data_table/fields_selector/fields_selector_table.test.tsx) | it | | | +| [View selected](x-pack/plugins/cloud_security_posture/public/components/cloud_security_data_table/fields_selector/fields_selector_table.test.tsx) | describe | | | +| [should render "view all" option when filterSelected is not enabled](x-pack/plugins/cloud_security_posture/public/components/cloud_security_data_table/fields_selector/fields_selector_table.test.tsx) | it | | | +| [should render "view selected" option when filterSelected is not enabled](x-pack/plugins/cloud_security_posture/public/components/cloud_security_data_table/fields_selector/fields_selector_table.test.tsx) | it | | | +| [should open the view selector with button click](x-pack/plugins/cloud_security_posture/public/components/cloud_security_data_table/fields_selector/fields_selector_table.test.tsx) | it | | | +| [should callback when "view all" option is clicked](x-pack/plugins/cloud_security_posture/public/components/cloud_security_data_table/fields_selector/fields_selector_table.test.tsx) | it | | | +| [should callback when "view selected" option is clicked](x-pack/plugins/cloud_security_posture/public/components/cloud_security_data_table/fields_selector/fields_selector_table.test.tsx) | it | | | +| [firstNonNullValue](x-pack/plugins/cloud_security_posture/public/components/cloud_security_grouping/utils/first_non_null_value.test.ts) | describe | | | +| [returns the value itself for non-null single value](x-pack/plugins/cloud_security_posture/public/components/cloud_security_grouping/utils/first_non_null_value.test.ts) | it | | | +| [returns undefined for a null single value](x-pack/plugins/cloud_security_posture/public/components/cloud_security_grouping/utils/first_non_null_value.test.ts) | it | | | +| [returns undefined for an array of all null values](x-pack/plugins/cloud_security_posture/public/components/cloud_security_grouping/utils/first_non_null_value.test.ts) | it | | | +| [returns the first non-null value in an array of mixed values](x-pack/plugins/cloud_security_posture/public/components/cloud_security_grouping/utils/first_non_null_value.test.ts) | it | | | +| [returns the first value in an array of all non-null values](x-pack/plugins/cloud_security_posture/public/components/cloud_security_grouping/utils/first_non_null_value.test.ts) | it | | | +| [returns undefined for an empty array](x-pack/plugins/cloud_security_posture/public/components/cloud_security_grouping/utils/first_non_null_value.test.ts) | it | | | +| [DetectionRuleCounter](x-pack/plugins/cloud_security_posture/public/components/detection_rule_counter.test.tsx) | describe | | | +| [should render loading skeleton when both rules and alerts are loading](x-pack/plugins/cloud_security_posture/public/components/detection_rule_counter.test.tsx) | it | | | +| [should render create rule link when no rules exist](x-pack/plugins/cloud_security_posture/public/components/detection_rule_counter.test.tsx) | it | | | +| [should render alert and rule count when rules exist](x-pack/plugins/cloud_security_posture/public/components/detection_rule_counter.test.tsx) | it | | | +| [should show loading spinner when creating a rule](x-pack/plugins/cloud_security_posture/public/components/detection_rule_counter.test.tsx) | it | | | +| [](x-pack/plugins/cloud_security_posture/public/components/fleet_extensions/policy_template_form.test.tsx) | describe | | | +| [updates package policy namespace to default when it changes](x-pack/plugins/cloud_security_posture/public/components/fleet_extensions/policy_template_form.test.tsx) | it | | | +| [renders and updates name field](x-pack/plugins/cloud_security_posture/public/components/fleet_extensions/policy_template_form.test.tsx) | it | | | +| [renders and updates description field](x-pack/plugins/cloud_security_posture/public/components/fleet_extensions/policy_template_form.test.tsx) | it | | | +| [renders KSPM input selector](x-pack/plugins/cloud_security_posture/public/components/fleet_extensions/policy_template_form.test.tsx) | it | | | +| [updates selected KSPM input](x-pack/plugins/cloud_security_posture/public/components/fleet_extensions/policy_template_form.test.tsx) | it | | | +| [renders CSPM input selector](x-pack/plugins/cloud_security_posture/public/components/fleet_extensions/policy_template_form.test.tsx) | it | | | +| [renders disabled KSPM input when editing](x-pack/plugins/cloud_security_posture/public/components/fleet_extensions/policy_template_form.test.tsx) | it | | | +| [renders disabled CSPM input when editing](x-pack/plugins/cloud_security_posture/public/components/fleet_extensions/policy_template_form.test.tsx) | it | | | +| [selects default KSPM input selector](x-pack/plugins/cloud_security_posture/public/components/fleet_extensions/policy_template_form.test.tsx) | it | | | +| [selects default VULN_MGMT input selector](x-pack/plugins/cloud_security_posture/public/components/fleet_extensions/policy_template_form.test.tsx) | it | | | +| [selects default CSPM input selector](x-pack/plugins/cloud_security_posture/public/components/fleet_extensions/policy_template_form.test.tsx) | it | | | +| [K8S](x-pack/plugins/cloud_security_posture/public/components/fleet_extensions/policy_template_form.test.tsx) | describe | | | +| [K8S or KSPM Vanilla should not render any Setup Access option](x-pack/plugins/cloud_security_posture/public/components/fleet_extensions/policy_template_form.test.tsx) | it | | | +| [EKS Credentials input fields](x-pack/plugins/cloud_security_posture/public/components/fleet_extensions/policy_template_form.test.tsx) | describe | | | +| [documentation Hyperlink should have correct URL to redirect users to AWS page](x-pack/plugins/cloud_security_posture/public/components/fleet_extensions/policy_template_form.test.tsx) | it | | | +| [renders ${CLOUDBEAT_EKS} Assume Role fields](x-pack/plugins/cloud_security_posture/public/components/fleet_extensions/policy_template_form.test.tsx) | it | | | +| [updates ${CLOUDBEAT_EKS} Assume Role fields](x-pack/plugins/cloud_security_posture/public/components/fleet_extensions/policy_template_form.test.tsx) | it | | | +| [renders ${CLOUDBEAT_EKS} Direct Access Keys fields](x-pack/plugins/cloud_security_posture/public/components/fleet_extensions/policy_template_form.test.tsx) | it | | | +| [updates ${CLOUDBEAT_EKS} Direct Access Keys fields](x-pack/plugins/cloud_security_posture/public/components/fleet_extensions/policy_template_form.test.tsx) | it | | | +| [renders ${CLOUDBEAT_EKS} Temporary Keys fields](x-pack/plugins/cloud_security_posture/public/components/fleet_extensions/policy_template_form.test.tsx) | it | | | +| [updates ${CLOUDBEAT_EKS} Temporary Keys fields](x-pack/plugins/cloud_security_posture/public/components/fleet_extensions/policy_template_form.test.tsx) | it | | | +| [renders ${CLOUDBEAT_EKS} Shared Credentials fields](x-pack/plugins/cloud_security_posture/public/components/fleet_extensions/policy_template_form.test.tsx) | it | | | +| [updates ${CLOUDBEAT_EKS} Shared Credentials fields](x-pack/plugins/cloud_security_posture/public/components/fleet_extensions/policy_template_form.test.tsx) | it | | | +| [AWS Credentials input fields](x-pack/plugins/cloud_security_posture/public/components/fleet_extensions/policy_template_form.test.tsx) | describe | | | +| [renders ${CLOUDBEAT_AWS} Account Type field, AWS Organization is enabled for supported versions](x-pack/plugins/cloud_security_posture/public/components/fleet_extensions/policy_template_form.test.tsx) | it | | | +| [${CLOUDBEAT_AWS} form displays upgrade message for unsupported versions and aws organization option is disabled](x-pack/plugins/cloud_security_posture/public/components/fleet_extensions/policy_template_form.test.tsx) | it | | | +| [${CLOUDBEAT_AWS} form do not displays upgrade message for supported versions and aws organization option is enabled](x-pack/plugins/cloud_security_posture/public/components/fleet_extensions/policy_template_form.test.tsx) | it | | | +| [Getting started Hyperlink should have correct URL to redirect users to elastic page](x-pack/plugins/cloud_security_posture/public/components/fleet_extensions/policy_template_form.test.tsx) | it | | | +| [documentation Hyperlink should have correct URL to redirect users to elastic page if user chose Manual](x-pack/plugins/cloud_security_posture/public/components/fleet_extensions/policy_template_form.test.tsx) | it | | | +| [documentation Hyperlink should have correct URL to redirect users to AWS page if user chose Cloudformation](x-pack/plugins/cloud_security_posture/public/components/fleet_extensions/policy_template_form.test.tsx) | it | | | +| [renders ${CLOUDBEAT_AWS} Assume Role fields](x-pack/plugins/cloud_security_posture/public/components/fleet_extensions/policy_template_form.test.tsx) | it | | | +| [updates ${CLOUDBEAT_AWS} Assume Role fields](x-pack/plugins/cloud_security_posture/public/components/fleet_extensions/policy_template_form.test.tsx) | it | | | +| [renders ${CLOUDBEAT_AWS} Direct Access Keys fields](x-pack/plugins/cloud_security_posture/public/components/fleet_extensions/policy_template_form.test.tsx) | it | | | +| [updates ${CLOUDBEAT_AWS} Direct Access Keys fields](x-pack/plugins/cloud_security_posture/public/components/fleet_extensions/policy_template_form.test.tsx) | it | | | +| [renders ${CLOUDBEAT_AWS} Temporary Keys fields](x-pack/plugins/cloud_security_posture/public/components/fleet_extensions/policy_template_form.test.tsx) | it | | | +| [updates ${CLOUDBEAT_AWS} Temporary Keys fields](x-pack/plugins/cloud_security_posture/public/components/fleet_extensions/policy_template_form.test.tsx) | it | | | +| [renders ${CLOUDBEAT_AWS} Shared Credentials fields](x-pack/plugins/cloud_security_posture/public/components/fleet_extensions/policy_template_form.test.tsx) | it | | | +| [updates ${CLOUDBEAT_AWS} Shared Credentials fields](x-pack/plugins/cloud_security_posture/public/components/fleet_extensions/policy_template_form.test.tsx) | it | | | +| [Vuln Mgmt](x-pack/plugins/cloud_security_posture/public/components/fleet_extensions/policy_template_form.test.tsx) | describe | | | +| [Update Agent Policy CloudFormation template from vars](x-pack/plugins/cloud_security_posture/public/components/fleet_extensions/policy_template_form.test.tsx) | it | | | +| [Additional Charge Callout message should be rendered](x-pack/plugins/cloud_security_posture/public/components/fleet_extensions/policy_template_form.test.tsx) | it | | | +| [GCP Credentials input fields](x-pack/plugins/cloud_security_posture/public/components/fleet_extensions/policy_template_form.test.tsx) | describe | | | +| [renders ${CLOUDBEAT_GCP} Not supported when version is not at least version 1.5.2](x-pack/plugins/cloud_security_posture/public/components/fleet_extensions/policy_template_form.test.tsx) | it | | | +| [documentation Hyperlink should have correct URL to redirect users to elastic page](x-pack/plugins/cloud_security_posture/public/components/fleet_extensions/policy_template_form.test.tsx) | it | | | +| [renders Google Cloud Shell forms when Setup Access is set to Google Cloud Shell](x-pack/plugins/cloud_security_posture/public/components/fleet_extensions/policy_template_form.test.tsx) | it | | | +| [renders ${CLOUDBEAT_GCP} Credentials File fields](x-pack/plugins/cloud_security_posture/public/components/fleet_extensions/policy_template_form.test.tsx) | it | | | +| [updates ${CLOUDBEAT_GCP} Credentials File fields](x-pack/plugins/cloud_security_posture/public/components/fleet_extensions/policy_template_form.test.tsx) | it | | | +| [renders ${CLOUDBEAT_GCP} Credentials JSON fields](x-pack/plugins/cloud_security_posture/public/components/fleet_extensions/policy_template_form.test.tsx) | it | | | +| [updates ${CLOUDBEAT_GCP} Credentials JSON fields](x-pack/plugins/cloud_security_posture/public/components/fleet_extensions/policy_template_form.test.tsx) | it | | | +| [${CLOUDBEAT_GCP} form do not displays upgrade message for supported versions and gcp organization option is enabled](x-pack/plugins/cloud_security_posture/public/components/fleet_extensions/policy_template_form.test.tsx) | it | | | +| [renders ${CLOUDBEAT_GCP} Organization fields when account type is Organization and Setup Access is Google Cloud Shell](x-pack/plugins/cloud_security_posture/public/components/fleet_extensions/policy_template_form.test.tsx) | it | | | +| [renders ${CLOUDBEAT_GCP} Organization fields when account type is Organization and Setup Access is manual](x-pack/plugins/cloud_security_posture/public/components/fleet_extensions/policy_template_form.test.tsx) | it | | | +| [Should not render ${CLOUDBEAT_GCP} Organization fields when account type is Single](x-pack/plugins/cloud_security_posture/public/components/fleet_extensions/policy_template_form.test.tsx) | it | | | +| [updates ${CLOUDBEAT_GCP} organization id](x-pack/plugins/cloud_security_posture/public/components/fleet_extensions/policy_template_form.test.tsx) | it | | | +| [Azure Credentials input fields](x-pack/plugins/cloud_security_posture/public/components/fleet_extensions/policy_template_form.test.tsx) | describe | | | +| [renders ${CLOUDBEAT_AZURE} Not supported when version is not at least version 1.6.0](x-pack/plugins/cloud_security_posture/public/components/fleet_extensions/policy_template_form.test.tsx) | it | | | +| [doesnt render ${CLOUDBEAT_AZURE} Manual fields when version is not at least version 1.7.0](x-pack/plugins/cloud_security_posture/public/components/fleet_extensions/policy_template_form.test.tsx) | it | | | +| [selects default ${CLOUDBEAT_AZURE} fields](x-pack/plugins/cloud_security_posture/public/components/fleet_extensions/policy_template_form.test.tsx) | it | | | +| [renders ${CLOUDBEAT_AZURE} Service Principal with Client Secret fields](x-pack/plugins/cloud_security_posture/public/components/fleet_extensions/policy_template_form.test.tsx) | it | | | +| [updates ${CLOUDBEAT_AZURE} Service Principal with Client Secret fields](x-pack/plugins/cloud_security_posture/public/components/fleet_extensions/policy_template_form.test.tsx) | it | | | +| [Agentless](x-pack/plugins/cloud_security_posture/public/components/fleet_extensions/policy_template_form.test.tsx) | describe | | | +| [should render setup technology selector for AWS and allow to select agent-based](x-pack/plugins/cloud_security_posture/public/components/fleet_extensions/policy_template_form.test.tsx) | it | | | +| [should not render setup technology selector for KSPM](x-pack/plugins/cloud_security_posture/public/components/fleet_extensions/policy_template_form.test.tsx) | it | | | +| [should not render setup technology selector for CNVM](x-pack/plugins/cloud_security_posture/public/components/fleet_extensions/policy_template_form.test.tsx) | it | | | +| [should not render setup technology selector for CSPM GCP](x-pack/plugins/cloud_security_posture/public/components/fleet_extensions/policy_template_form.test.tsx) | it | | | +| [should not render setup technology selector for CSPM Azure](x-pack/plugins/cloud_security_posture/public/components/fleet_extensions/policy_template_form.test.tsx) | it | | | +| [renders Service principal with Client Certificate fields](x-pack/plugins/cloud_security_posture/public/components/fleet_extensions/policy_template_form.test.tsx) | it | | | +| [updates Service principal with Client Certificate fields](x-pack/plugins/cloud_security_posture/public/components/fleet_extensions/policy_template_form.test.tsx) | it | | | +| [should not render Service principal with Client Username and Password option](x-pack/plugins/cloud_security_posture/public/components/fleet_extensions/policy_template_form.test.tsx) | it | | | +| [renders Service principal with Client Username and Password fields](x-pack/plugins/cloud_security_posture/public/components/fleet_extensions/policy_template_form.test.tsx) | it | ![](https://img.shields.io/badge/skipped-yellow) | | +| [updates Service principal with Client Username and Password fields](x-pack/plugins/cloud_security_posture/public/components/fleet_extensions/policy_template_form.test.tsx) | it | ![](https://img.shields.io/badge/skipped-yellow) | | +| [useSetupTechnology](x-pack/plugins/cloud_security_posture/public/components/fleet_extensions/setup_technology_selector/use_setup_technology.test.ts) | describe | | | +| [create page flow](x-pack/plugins/cloud_security_posture/public/components/fleet_extensions/setup_technology_selector/use_setup_technology.test.ts) | describe | | | +| [initializes with AGENT_BASED technology](x-pack/plugins/cloud_security_posture/public/components/fleet_extensions/setup_technology_selector/use_setup_technology.test.ts) | it | | | +| [sets to AGENTLESS when agentless is available](x-pack/plugins/cloud_security_posture/public/components/fleet_extensions/setup_technology_selector/use_setup_technology.test.ts) | it | | | +| [sets to AGENT_BASED when agentPolicyId differs from agentlessPolicyId](x-pack/plugins/cloud_security_posture/public/components/fleet_extensions/setup_technology_selector/use_setup_technology.test.ts) | it | | | +| [calls handleSetupTechnologyChange when setupTechnology changes](x-pack/plugins/cloud_security_posture/public/components/fleet_extensions/setup_technology_selector/use_setup_technology.test.ts) | it | | | +| [edit page flow](x-pack/plugins/cloud_security_posture/public/components/fleet_extensions/setup_technology_selector/use_setup_technology.test.ts) | describe | | | +| [initializes with AGENT_BASED technology](x-pack/plugins/cloud_security_posture/public/components/fleet_extensions/setup_technology_selector/use_setup_technology.test.ts) | it | | | +| [initializes with AGENTLESS technology if the agent policy id is "agentless"](x-pack/plugins/cloud_security_posture/public/components/fleet_extensions/setup_technology_selector/use_setup_technology.test.ts) | it | | | +| [should not call handleSetupTechnologyChange when setupTechnology changes](x-pack/plugins/cloud_security_posture/public/components/fleet_extensions/setup_technology_selector/use_setup_technology.test.ts) | it | | | +| [should not update setupTechnology when agentlessPolicyId becomes available](x-pack/plugins/cloud_security_posture/public/components/fleet_extensions/setup_technology_selector/use_setup_technology.test.ts) | it | | | +| [getPosturePolicy](x-pack/plugins/cloud_security_posture/public/components/fleet_extensions/utils.test.ts) | describe | | | +| [updates package policy with hidden vars for ${name}](x-pack/plugins/cloud_security_posture/public/components/fleet_extensions/utils.test.ts) | it | | | +| [updates package policy required vars (posture/deployment)](x-pack/plugins/cloud_security_posture/public/components/fleet_extensions/utils.test.ts) | it | | | +| [updates package policy with a single enabled input](x-pack/plugins/cloud_security_posture/public/components/fleet_extensions/utils.test.ts) | it | | | +| [should correctly increment cspm package name](x-pack/plugins/cloud_security_posture/public/components/fleet_extensions/utils.test.ts) | it | | | +| [should return correctly increment vuln_mgmt package name](x-pack/plugins/cloud_security_posture/public/components/fleet_extensions/utils.test.ts) | it | | | +| [should return correctly increment kspm package name](x-pack/plugins/cloud_security_posture/public/components/fleet_extensions/utils.test.ts) | it | | | +| [should return package name with -1 when no matching package policies are found](x-pack/plugins/cloud_security_posture/public/components/fleet_extensions/utils.test.ts) | it | | | +| [should return empty string when policy_templates is missing](x-pack/plugins/cloud_security_posture/public/components/fleet_extensions/utils.test.ts) | it | | | +| [should return empty string when policy_templates.name is not cspm](x-pack/plugins/cloud_security_posture/public/components/fleet_extensions/utils.test.ts) | it | | | +| [should return empty string when policy_templates.inputs is missing](x-pack/plugins/cloud_security_posture/public/components/fleet_extensions/utils.test.ts) | it | | | +| [should return empty string when policy_templates.inputs is empty](x-pack/plugins/cloud_security_posture/public/components/fleet_extensions/utils.test.ts) | it | | | +| [should return empty string when policy_templates.inputs is undefined](x-pack/plugins/cloud_security_posture/public/components/fleet_extensions/utils.test.ts) | it | | | +| [should return empty string when policy_templates.inputs.vars does not have cloud_shell_url](x-pack/plugins/cloud_security_posture/public/components/fleet_extensions/utils.test.ts) | it | | | +| [should return empty string when policy_templates.inputs.varshave cloud_shell_url but no default](x-pack/plugins/cloud_security_posture/public/components/fleet_extensions/utils.test.ts) | it | | | +| [should cloud shell url when policy_templates.inputs.vars have cloud_shell_url](x-pack/plugins/cloud_security_posture/public/components/fleet_extensions/utils.test.ts) | it | | | +| [should return "direct_access_key" for agentless](x-pack/plugins/cloud_security_posture/public/components/fleet_extensions/utils.test.ts) | it | | | +| [should return "assume_role" for agent-based, when cloudformation is not available](x-pack/plugins/cloud_security_posture/public/components/fleet_extensions/utils.test.ts) | it | | | +| [should return "cloud_formation" for agent-based, when cloudformation is available](x-pack/plugins/cloud_security_posture/public/components/fleet_extensions/utils.test.ts) | it | | | +| [](x-pack/plugins/cloud_security_posture/public/pages/benchmarks/benchmarks_table.test.tsx) | describe | | | +| [renders cis integration name](x-pack/plugins/cloud_security_posture/public/pages/benchmarks/benchmarks_table.test.tsx) | it | | | +| [renders benchmark version](x-pack/plugins/cloud_security_posture/public/pages/benchmarks/benchmarks_table.test.tsx) | it | | | +| [renders applicable to](x-pack/plugins/cloud_security_posture/public/pages/benchmarks/benchmarks_table.test.tsx) | it | | | +| [renders evaluated](x-pack/plugins/cloud_security_posture/public/pages/benchmarks/benchmarks_table.test.tsx) | it | | | +| [renders compliance](x-pack/plugins/cloud_security_posture/public/pages/benchmarks/benchmarks_table.test.tsx) | it | | | +| [](x-pack/plugins/cloud_security_posture/public/pages/benchmarks/benchmarks.test.tsx) | describe | | | +| [renders the page header](x-pack/plugins/cloud_security_posture/public/pages/benchmarks/benchmarks.test.tsx) | it | | | +| [renders the "add integration" button](x-pack/plugins/cloud_security_posture/public/pages/benchmarks/benchmarks.test.tsx) | it | | | +| [renders error state while there is an error](x-pack/plugins/cloud_security_posture/public/pages/benchmarks/benchmarks.test.tsx) | it | | | +| [renders the benchmarks table](x-pack/plugins/cloud_security_posture/public/pages/benchmarks/benchmarks.test.tsx) | it | | | +| [getTopRisks](x-pack/plugins/cloud_security_posture/public/pages/compliance_dashboard/compliance_charts/risks_table.test.ts) | describe | | | +| [returns sorted by posture score](x-pack/plugins/cloud_security_posture/public/pages/compliance_dashboard/compliance_charts/risks_table.test.ts) | it | | | +| [return sorted array with the correct number of elements](x-pack/plugins/cloud_security_posture/public/pages/compliance_dashboard/compliance_charts/risks_table.test.ts) | it | | | +| [](x-pack/plugins/cloud_security_posture/public/pages/compliance_dashboard/compliance_dashboard.test.tsx) | describe | | | +| [shows package not installed page instead of tabs](x-pack/plugins/cloud_security_posture/public/pages/compliance_dashboard/compliance_dashboard.test.tsx) | it | | | +| [no findings state: not-deployed - shows NotDeployed instead of dashboard](x-pack/plugins/cloud_security_posture/public/pages/compliance_dashboard/compliance_dashboard.test.tsx) | it | | | +| [no findings state: indexing - shows Indexing instead of dashboard](x-pack/plugins/cloud_security_posture/public/pages/compliance_dashboard/compliance_dashboard.test.tsx) | it | | | +| [no findings state: indexing - shows Indexing instead of dashboard when waiting_for_results](x-pack/plugins/cloud_security_posture/public/pages/compliance_dashboard/compliance_dashboard.test.tsx) | it | | | +| [no findings state: index-timeout - shows IndexTimeout instead of dashboard](x-pack/plugins/cloud_security_posture/public/pages/compliance_dashboard/compliance_dashboard.test.tsx) | it | | | +| [no findings state: unprivileged - shows Unprivileged instead of dashboard](x-pack/plugins/cloud_security_posture/public/pages/compliance_dashboard/compliance_dashboard.test.tsx) | it | | | +| [shows dashboard when there are findings in latest findings index](x-pack/plugins/cloud_security_posture/public/pages/compliance_dashboard/compliance_dashboard.test.tsx) | it | | | +| [Show Kubernetes dashboard if there are KSPM findings](x-pack/plugins/cloud_security_posture/public/pages/compliance_dashboard/compliance_dashboard.test.tsx) | it | | | +| [Show Cloud dashboard if there are CSPM findings](x-pack/plugins/cloud_security_posture/public/pages/compliance_dashboard/compliance_dashboard.test.tsx) | it | | | +| [Show Cloud dashboard "no findings prompt" if the CSPM integration is installed without findings](x-pack/plugins/cloud_security_posture/public/pages/compliance_dashboard/compliance_dashboard.test.tsx) | it | | | +| [Show Kubernetes dashboard "no findings prompt" if the KSPM integration is installed without findings](x-pack/plugins/cloud_security_posture/public/pages/compliance_dashboard/compliance_dashboard.test.tsx) | it | | | +| [Prefer Cloud dashboard if both integration are installed](x-pack/plugins/cloud_security_posture/public/pages/compliance_dashboard/compliance_dashboard.test.tsx) | it | | | +| [Prefer Cloud dashboard if both integration have findings](x-pack/plugins/cloud_security_posture/public/pages/compliance_dashboard/compliance_dashboard.test.tsx) | it | | | +| [Show CSPM installation prompt if CSPM is not installed and KSPM is installed ,NO AGENT](x-pack/plugins/cloud_security_posture/public/pages/compliance_dashboard/compliance_dashboard.test.tsx) | it | | | +| [Show KSPM installation prompt if KSPM is not installed and CSPM is installed , NO AGENT](x-pack/plugins/cloud_security_posture/public/pages/compliance_dashboard/compliance_dashboard.test.tsx) | it | | | +| [should not select default tab is user has already selected one themselves](x-pack/plugins/cloud_security_posture/public/pages/compliance_dashboard/compliance_dashboard.test.tsx) | it | | | +| [getDefaultTab](x-pack/plugins/cloud_security_posture/public/pages/compliance_dashboard/compliance_dashboard.test.tsx) | describe | | | +| [returns CSPM tab if only CSPM has findings](x-pack/plugins/cloud_security_posture/public/pages/compliance_dashboard/compliance_dashboard.test.tsx) | it | | | +| [returns CSPM tab if both CSPM and KSPM has findings](x-pack/plugins/cloud_security_posture/public/pages/compliance_dashboard/compliance_dashboard.test.tsx) | it | | | +| [returns KSPM tab if only KSPM has findings](x-pack/plugins/cloud_security_posture/public/pages/compliance_dashboard/compliance_dashboard.test.tsx) | it | | | +| [when no findings preffers CSPM tab unless not-installed or unprivileged](x-pack/plugins/cloud_security_posture/public/pages/compliance_dashboard/compliance_dashboard.test.tsx) | it | | | +| [returns CSPM tab is plugin status and kspm status is not provided](x-pack/plugins/cloud_security_posture/public/pages/compliance_dashboard/compliance_dashboard.test.tsx) | it | | | +| [returns KSPM tab is plugin status and csp status is not provided](x-pack/plugins/cloud_security_posture/public/pages/compliance_dashboard/compliance_dashboard.test.tsx) | it | | | +| [returns CSPM tab when only plugins status data is provided](x-pack/plugins/cloud_security_posture/public/pages/compliance_dashboard/compliance_dashboard.test.tsx) | it | | | +| [](x-pack/plugins/cloud_security_posture/public/pages/compliance_dashboard/dashboard_sections/benchmarks_section.test.tsx) | describe | | | +| [Sorting](x-pack/plugins/cloud_security_posture/public/pages/compliance_dashboard/dashboard_sections/benchmarks_section.test.tsx) | describe | | | +| [sorts by ascending order of compliance scores](x-pack/plugins/cloud_security_posture/public/pages/compliance_dashboard/dashboard_sections/benchmarks_section.test.tsx) | it | | | +| [toggles sort order when clicking Posture Score](x-pack/plugins/cloud_security_posture/public/pages/compliance_dashboard/dashboard_sections/benchmarks_section.test.tsx) | it | | | +| [](x-pack/plugins/cloud_security_posture/public/pages/compliance_dashboard/dashboard_sections/summary_section.test.tsx) | describe | | | +| [renders all counter cards](x-pack/plugins/cloud_security_posture/public/pages/compliance_dashboard/dashboard_sections/summary_section.test.tsx) | it | | | +| [renders counters content according to mock](x-pack/plugins/cloud_security_posture/public/pages/compliance_dashboard/dashboard_sections/summary_section.test.tsx) | it | | | +| [renders counters value in compact abbreviation if its above one million](x-pack/plugins/cloud_security_posture/public/pages/compliance_dashboard/dashboard_sections/summary_section.test.tsx) | it | | | +| [](x-pack/plugins/cloud_security_posture/public/pages/configurations/configurations.test.tsx) | describe | | | +| [no findings state: not-deployed - shows NotDeployed instead of findings](x-pack/plugins/cloud_security_posture/public/pages/configurations/configurations.test.tsx) | it | | | +| [no findings state: indexing - shows Indexing instead of findings](x-pack/plugins/cloud_security_posture/public/pages/configurations/configurations.test.tsx) | it | | | +| [no findings state: index-timeout - shows IndexTimeout instead of findings](x-pack/plugins/cloud_security_posture/public/pages/configurations/configurations.test.tsx) | it | | | +| [no findings state: unprivileged - shows Unprivileged instead of findings](x-pack/plugins/cloud_security_posture/public/pages/configurations/configurations.test.tsx) | it | | | +| [renders integrations installation prompt if integration is not installed](x-pack/plugins/cloud_security_posture/public/pages/configurations/configurations.test.tsx) | it | | | +| [](x-pack/plugins/cloud_security_posture/public/pages/configurations/findings_flyout/findings_flyout.test.tsx) | describe | | | +| [Overview Tab](x-pack/plugins/cloud_security_posture/public/pages/configurations/findings_flyout/findings_flyout.test.tsx) | describe | | | +| [details and remediation accordions are open](x-pack/plugins/cloud_security_posture/public/pages/configurations/findings_flyout/findings_flyout.test.tsx) | it | | | +| [displays text details summary info](x-pack/plugins/cloud_security_posture/public/pages/configurations/findings_flyout/findings_flyout.test.tsx) | it | | | +| [Rule Tab](x-pack/plugins/cloud_security_posture/public/pages/configurations/findings_flyout/findings_flyout.test.tsx) | describe | | | +| [displays rule text details](x-pack/plugins/cloud_security_posture/public/pages/configurations/findings_flyout/findings_flyout.test.tsx) | it | | | +| [Table Tab](x-pack/plugins/cloud_security_posture/public/pages/configurations/findings_flyout/findings_flyout.test.tsx) | describe | | | +| [displays resource name and id](x-pack/plugins/cloud_security_posture/public/pages/configurations/findings_flyout/findings_flyout.test.tsx) | it | | | +| [should allow pagination with next](x-pack/plugins/cloud_security_posture/public/pages/configurations/findings_flyout/findings_flyout.test.tsx) | it | | | +| [should allow pagination with previous](x-pack/plugins/cloud_security_posture/public/pages/configurations/findings_flyout/findings_flyout.test.tsx) | it | | | +| [Get Filters](x-pack/plugins/cloud_security_posture/public/pages/configurations/utils/get_filters.test.ts) | describe | | | +| [negate an existing filter](x-pack/plugins/cloud_security_posture/public/pages/configurations/utils/get_filters.test.ts) | it | | | +| [](x-pack/plugins/cloud_security_posture/public/pages/rules/rules_container.test.tsx) | describe | | | +| [displays rules with their initial state](x-pack/plugins/cloud_security_posture/public/pages/rules/rules_container.test.tsx) | it | | | +| [](x-pack/plugins/cloud_security_posture/public/pages/rules/rules.test.tsx) | describe | | | +| [calls Benchmark API](x-pack/plugins/cloud_security_posture/public/pages/rules/rules.test.tsx) | it | | | +| [Display success state when result request is resolved](x-pack/plugins/cloud_security_posture/public/pages/rules/rules.test.tsx) | it | | | +| [](x-pack/plugins/cloud_security_posture/public/pages/vulnerabilities/vulnerabilities_finding_flyout/vulnerability_finding_flyout.test.tsx) | describe | | | +| [Header Info](x-pack/plugins/cloud_security_posture/public/pages/vulnerabilities/vulnerabilities_finding_flyout/vulnerability_finding_flyout.test.tsx) | describe | | | +| [displays text details flyout header info](x-pack/plugins/cloud_security_posture/public/pages/vulnerabilities/vulnerabilities_finding_flyout/vulnerability_finding_flyout.test.tsx) | it | | | +| [JSON Tab](x-pack/plugins/cloud_security_posture/public/pages/vulnerabilities/vulnerabilities_finding_flyout/vulnerability_finding_flyout.test.tsx) | describe | | | +| [show display Vulnerability JSON Tab](x-pack/plugins/cloud_security_posture/public/pages/vulnerabilities/vulnerabilities_finding_flyout/vulnerability_finding_flyout.test.tsx) | it | | | +| [Overview Summary Details Tab](x-pack/plugins/cloud_security_posture/public/pages/vulnerabilities/vulnerabilities_finding_flyout/vulnerability_finding_flyout.test.tsx) | describe | | | +| [show display Vulnerability details in a Overview Tab](x-pack/plugins/cloud_security_posture/public/pages/vulnerabilities/vulnerabilities_finding_flyout/vulnerability_finding_flyout.test.tsx) | it | | | +| [show empty state for no fixes](x-pack/plugins/cloud_security_posture/public/pages/vulnerabilities/vulnerabilities_finding_flyout/vulnerability_finding_flyout.test.tsx) | it | | | +| [Flyout Pagination](x-pack/plugins/cloud_security_posture/public/pages/vulnerabilities/vulnerabilities_finding_flyout/vulnerability_finding_flyout.test.tsx) | describe | ![](https://img.shields.io/badge/skipped-yellow) | | +| [should allow pagination with next](x-pack/plugins/cloud_security_posture/public/pages/vulnerabilities/vulnerabilities_finding_flyout/vulnerability_finding_flyout.test.tsx) | it | ![](https://img.shields.io/badge/skipped-yellow) | | +| [should allow pagination with previous](x-pack/plugins/cloud_security_posture/public/pages/vulnerabilities/vulnerabilities_finding_flyout/vulnerability_finding_flyout.test.tsx) | it | ![](https://img.shields.io/badge/skipped-yellow) | | +| [](x-pack/plugins/cloud_security_posture/public/pages/vulnerabilities/vulnerabilties.test.tsx) | describe | | | +| [No vulnerabilities state: not-deployed - shows NotDeployed instead of vulnerabilities ](x-pack/plugins/cloud_security_posture/public/pages/vulnerabilities/vulnerabilties.test.tsx) | it | | | +| [No vulnerabilities state: indexing - shows Indexing instead of vulnerabilities ](x-pack/plugins/cloud_security_posture/public/pages/vulnerabilities/vulnerabilties.test.tsx) | it | | | +| [No vulnerabilities state: index-timeout - shows IndexTimeout instead of vulnerabilities ](x-pack/plugins/cloud_security_posture/public/pages/vulnerabilities/vulnerabilties.test.tsx) | it | | | +| [No vulnerabilities state: unprivileged - shows Unprivileged instead of vulnerabilities ](x-pack/plugins/cloud_security_posture/public/pages/vulnerabilities/vulnerabilties.test.tsx) | it | | | +| [renders vuln_mgmt integrations installation prompt if vuln_mgmt integration is not installed](x-pack/plugins/cloud_security_posture/public/pages/vulnerabilities/vulnerabilties.test.tsx) | it | | | +| [](x-pack/plugins/cloud_security_posture/public/pages/vulnerability_dashboard/vulnerability_dashboard.test.tsx) | describe | | | +| [renders vuln_mgmt integrations installation prompt if vuln_mgmt integration is not installed](x-pack/plugins/cloud_security_posture/public/pages/vulnerability_dashboard/vulnerability_dashboard.test.tsx) | it | | | +| [No vulnerabilities state: not-deployed - shows NotDeployed instead of vulnerabilities ](x-pack/plugins/cloud_security_posture/public/pages/vulnerability_dashboard/vulnerability_dashboard.test.tsx) | it | | | +| [No vulnerabilities state: indexing - shows Indexing instead of vulnerabilities ](x-pack/plugins/cloud_security_posture/public/pages/vulnerability_dashboard/vulnerability_dashboard.test.tsx) | it | | | +| [No vulnerabilities state: index-timeout - shows IndexTimeout instead of vulnerabilities ](x-pack/plugins/cloud_security_posture/public/pages/vulnerability_dashboard/vulnerability_dashboard.test.tsx) | it | | | +| [No vulnerabilities state: unprivileged - shows Unprivileged instead of vulnerabilities ](x-pack/plugins/cloud_security_posture/public/pages/vulnerability_dashboard/vulnerability_dashboard.test.tsx) | it | | | +| [Vulnerabilities state: indexed - renders dashboard container on indexed state ](x-pack/plugins/cloud_security_posture/public/pages/vulnerability_dashboard/vulnerability_dashboard.test.tsx) | it | | | +| [createBenchmarkScoreIndex](x-pack/plugins/cloud_security_posture/server/create_indices/create_indices.test.ts) | describe | | | +| [should delete old index template from prev verions first](x-pack/plugins/cloud_security_posture/server/create_indices/create_indices.test.ts) | it | | | +| [should create index template with the correct index pattern, index name and default ingest pipeline](x-pack/plugins/cloud_security_posture/server/create_indices/create_indices.test.ts) | it | | | +| [should create index template the correct index patter, index name and default ingest pipeline but without lifecycle in serverless](x-pack/plugins/cloud_security_posture/server/create_indices/create_indices.test.ts) | it | | | +| [should create index if does not exist](x-pack/plugins/cloud_security_posture/server/create_indices/create_indices.test.ts) | it | | | +| [should updat index mapping if index exists](x-pack/plugins/cloud_security_posture/server/create_indices/create_indices.test.ts) | it | | | +| [createTransformIfNotExist](x-pack/plugins/cloud_security_posture/server/create_transforms/create_transforms.test.ts) | describe | | | +| [expect not to create if already exists](x-pack/plugins/cloud_security_posture/server/create_transforms/create_transforms.test.ts) | it | | | +| [expect to create if does not already exist](x-pack/plugins/cloud_security_posture/server/create_transforms/create_transforms.test.ts) | it | | | +| [expect not to create if get error is not 404](x-pack/plugins/cloud_security_posture/server/create_transforms/create_transforms.test.ts) | it | | | +| [startTransformIfNotStarted](x-pack/plugins/cloud_security_posture/server/create_transforms/create_transforms.test.ts) | describe | | | +| [expect not to start if state is ${state}](x-pack/plugins/cloud_security_posture/server/create_transforms/create_transforms.test.ts) | it | | | +| [expect not to start if transform not found](x-pack/plugins/cloud_security_posture/server/create_transforms/create_transforms.test.ts) | it | | | +| [expect to start if state is stopped](x-pack/plugins/cloud_security_posture/server/create_transforms/create_transforms.test.ts) | it | | | +| [expect to attempt restart if state is failed](x-pack/plugins/cloud_security_posture/server/create_transforms/create_transforms.test.ts) | it | | | +| [is Csp package installed tests](x-pack/plugins/cloud_security_posture/server/fleet_integration/fleet_integration.test.ts) | describe | | | +| [Benchmark Field Key Functions](x-pack/plugins/cloud_security_posture/server/lib/mapping_field_util.test.ts) | describe | | | +| [toBenchmarkDocFieldKey should keep the same benchmark id and version key for benchmark document](x-pack/plugins/cloud_security_posture/server/lib/mapping_field_util.test.ts) | it | | | +| [toBenchmarkDocFieldKey should convert benchmark version with . delimiter correctly](x-pack/plugins/cloud_security_posture/server/lib/mapping_field_util.test.ts) | it | | | +| [toBenchmarkMappingFieldKey should convert benchmark version with _ delimiter correctly](x-pack/plugins/cloud_security_posture/server/lib/mapping_field_util.test.ts) | it | | | +| [toBenchmarkMappingFieldKey should handle benchmark version with dots correctly](x-pack/plugins/cloud_security_posture/server/lib/mapping_field_util.test.ts) | it | | | +| [MAPPING_VERSION_DELIMITER should be an underscore](x-pack/plugins/cloud_security_posture/server/lib/mapping_field_util.test.ts) | it | | | +| [Cloud Security Posture Plugin](x-pack/plugins/cloud_security_posture/server/plugin.test.ts) | describe | | | +| [start()](x-pack/plugins/cloud_security_posture/server/plugin.test.ts) | describe | | | +| [should initialize when package installed](x-pack/plugins/cloud_security_posture/server/plugin.test.ts) | it | | | +| [should not initialize when package is not installed](x-pack/plugins/cloud_security_posture/server/plugin.test.ts) | it | | | +| [should initialize when new package is created](x-pack/plugins/cloud_security_posture/server/plugin.test.ts) | it | | | +| [should not initialize when other package is created](x-pack/plugins/cloud_security_posture/server/plugin.test.ts) | it | | | +| [packagePolicyPostCreate should return the same received policy](x-pack/plugins/cloud_security_posture/server/plugin.test.ts) | it | | | +| [getSortedCspBenchmarkRules](x-pack/plugins/cloud_security_posture/server/routes/benchmark_rules/find/find.test.ts) | describe | | | +| [sorts by metadata.benchmark.rule_number, invalid semantic version still should still get sorted and empty values should be sorted last](x-pack/plugins/cloud_security_posture/server/routes/benchmark_rules/find/find.test.ts) | it | | | +| [edge case - returns empty array if input is empty](x-pack/plugins/cloud_security_posture/server/routes/benchmark_rules/find/find.test.ts) | it | | | +| [edge case - returns sorted array even if input only has one element](x-pack/plugins/cloud_security_posture/server/routes/benchmark_rules/find/find.test.ts) | it | | | +| [returns sorted array even with undefined or null properties](x-pack/plugins/cloud_security_posture/server/routes/benchmark_rules/find/find.test.ts) | it | | | +| [returns sorted array with invalid semantic versions](x-pack/plugins/cloud_security_posture/server/routes/benchmark_rules/find/find.test.ts) | it | | | +| [benchmarks API](x-pack/plugins/cloud_security_posture/server/routes/benchmarks/benchmarks.test.ts) | describe | | | +| [validate the API route path](x-pack/plugins/cloud_security_posture/server/routes/benchmarks/benchmarks.test.ts) | it | | | +| [should accept to a user with fleet.all privilege](x-pack/plugins/cloud_security_posture/server/routes/benchmarks/benchmarks.test.ts) | it | | | +| [should reject to a user without fleet.all privilege](x-pack/plugins/cloud_security_posture/server/routes/benchmarks/benchmarks.test.ts) | it | | | +| [test input schema](x-pack/plugins/cloud_security_posture/server/routes/benchmarks/benchmarks.test.ts) | describe | | | +| [expect to find default values](x-pack/plugins/cloud_security_posture/server/routes/benchmarks/benchmarks.test.ts) | it | | | +| [expect to find package_policy_name](x-pack/plugins/cloud_security_posture/server/routes/benchmarks/benchmarks.test.ts) | it | | | +| [should throw when page field is not a positive integer](x-pack/plugins/cloud_security_posture/server/routes/benchmarks/benchmarks.test.ts) | it | | | +| [should throw when per_page field is not a positive integer](x-pack/plugins/cloud_security_posture/server/routes/benchmarks/benchmarks.test.ts) | it | | | +| [should throw when sort_field is not string](x-pack/plugins/cloud_security_posture/server/routes/benchmarks/benchmarks.test.ts) | it | | | +| [should not throw when sort_field is a string](x-pack/plugins/cloud_security_posture/server/routes/benchmarks/benchmarks.test.ts) | it | | | +| [should throw when sort_order is not ](x-pack/plugins/cloud_security_posture/server/routes/benchmarks/benchmarks.test.ts) | it | | | +| [should not throw when ](x-pack/plugins/cloud_security_posture/server/routes/benchmarks/benchmarks.test.ts) | it | | | +| [should not throw when ](x-pack/plugins/cloud_security_posture/server/routes/benchmarks/benchmarks.test.ts) | it | | | +| [should not throw when fields is a known string literal](x-pack/plugins/cloud_security_posture/server/routes/benchmarks/benchmarks.test.ts) | it | | | +| [test benchmarks utils](x-pack/plugins/cloud_security_posture/server/routes/benchmarks/benchmarks.test.ts) | describe | | | +| [test getAgentPolicies](x-pack/plugins/cloud_security_posture/server/routes/benchmarks/benchmarks.test.ts) | describe | | | +| [should return one agent policy id when there is duplication](x-pack/plugins/cloud_security_posture/server/routes/benchmarks/benchmarks.test.ts) | it | | | +| [should return full policy ids list when there is no id duplication](x-pack/plugins/cloud_security_posture/server/routes/benchmarks/benchmarks.test.ts) | it | | | +| [test addPackagePolicyCspBenchmarkRule](x-pack/plugins/cloud_security_posture/server/routes/benchmarks/benchmarks.test.ts) | describe | | | +| [should retrieve the rules count by the filtered benchmark type](x-pack/plugins/cloud_security_posture/server/routes/benchmarks/benchmarks.test.ts) | it | | | +| [compliance dashboard permissions API](x-pack/plugins/cloud_security_posture/server/routes/compliance_dashboard/compliance_dashboard.test.ts) | describe | | | +| [should accept to a user with fleet.all privilege](x-pack/plugins/cloud_security_posture/server/routes/compliance_dashboard/compliance_dashboard.test.ts) | it | | | +| [should reject to a user without fleet.all privilege](x-pack/plugins/cloud_security_posture/server/routes/compliance_dashboard/compliance_dashboard.test.ts) | it | | | +| [getBenchmarksFromAggs](x-pack/plugins/cloud_security_posture/server/routes/compliance_dashboard/get_benchmarks.test.ts) | describe | | | +| [should return value matching ComplianceDashboardDataV2["benchmarks"]](x-pack/plugins/cloud_security_posture/server/routes/compliance_dashboard/get_benchmarks.test.ts) | it | | | +| [getClustersFromAggs](x-pack/plugins/cloud_security_posture/server/routes/compliance_dashboard/get_clusters.test.ts) | describe | | | +| [should return value matching ComplianceDashboardData["clusters"]](x-pack/plugins/cloud_security_posture/server/routes/compliance_dashboard/get_clusters.test.ts) | it | | | +| [getPostureStatsFromAggs](x-pack/plugins/cloud_security_posture/server/routes/compliance_dashboard/get_grouped_findings_evaluation.test.ts) | describe | | | +| [should return value matching ComplianceDashboardData["resourcesTypes"]](x-pack/plugins/cloud_security_posture/server/routes/compliance_dashboard/get_grouped_findings_evaluation.test.ts) | it | | | +| [roundScore](x-pack/plugins/cloud_security_posture/server/routes/compliance_dashboard/get_stats.test.ts) | describe | | | +| [should return decimal values with one fraction digit](x-pack/plugins/cloud_security_posture/server/routes/compliance_dashboard/get_stats.test.ts) | it | | | +| [calculatePostureScore](x-pack/plugins/cloud_security_posture/server/routes/compliance_dashboard/get_stats.test.ts) | describe | | | +| [should return calculated posture score](x-pack/plugins/cloud_security_posture/server/routes/compliance_dashboard/get_stats.test.ts) | it | | | +| [getStatsFromFindingsEvaluationsAggs](x-pack/plugins/cloud_security_posture/server/routes/compliance_dashboard/get_stats.test.ts) | describe | | | +| [should throw error in case no findings were found](x-pack/plugins/cloud_security_posture/server/routes/compliance_dashboard/get_stats.test.ts) | it | | | +| [should return value matching ComplianceDashboardData["stats"]](x-pack/plugins/cloud_security_posture/server/routes/compliance_dashboard/get_stats.test.ts) | it | | | +| [checks for stability in case one of the values is zero](x-pack/plugins/cloud_security_posture/server/routes/compliance_dashboard/get_stats.test.ts) | it | | | +| [should return zero on all stats if there are no failed or passed findings](x-pack/plugins/cloud_security_posture/server/routes/compliance_dashboard/get_stats.test.ts) | it | | | +| [getTrendsFromQueryResult](x-pack/plugins/cloud_security_posture/server/routes/compliance_dashboard/get_trends.test.ts) | describe | | | +| [should return value matching Trends type definition, in descending order, and with postureScore](x-pack/plugins/cloud_security_posture/server/routes/compliance_dashboard/get_trends.test.ts) | it | | | +| [calculateIntegrationStatus for cspm](x-pack/plugins/cloud_security_posture/server/routes/status/status.test.ts) | describe | | | +| [Verify status when CSP package is not installed](x-pack/plugins/cloud_security_posture/server/routes/status/status.test.ts) | it | | | +| [Verify status when there are no permission for cspm](x-pack/plugins/cloud_security_posture/server/routes/status/status.test.ts) | it | | | +| [Verify status when there are no findings, no healthy agents and no installed policy templates](x-pack/plugins/cloud_security_posture/server/routes/status/status.test.ts) | it | | | +| [Verify status when there are findings and installed policies but no healthy agents](x-pack/plugins/cloud_security_posture/server/routes/status/status.test.ts) | it | | | +| [Verify status when there are findings ,installed policies and healthy agents](x-pack/plugins/cloud_security_posture/server/routes/status/status.test.ts) | it | | | +| [Verify status when there are no findings ,installed policies and no healthy agents](x-pack/plugins/cloud_security_posture/server/routes/status/status.test.ts) | it | | | +| [Verify status when there are installed policies, healthy agents and no findings](x-pack/plugins/cloud_security_posture/server/routes/status/status.test.ts) | it | | | +| [Verify status when there are installed policies, healthy agents and no findings and been more than 10 minutes](x-pack/plugins/cloud_security_posture/server/routes/status/status.test.ts) | it | | | +| [Verify status when there are installed policies, healthy agents past findings but no recent findings](x-pack/plugins/cloud_security_posture/server/routes/status/status.test.ts) | it | | | +| [calculateIntegrationStatus for vul_mgmt](x-pack/plugins/cloud_security_posture/server/routes/status/status.test.ts) | describe | | | +| [Verify status when there are no permission for vul_mgmt](x-pack/plugins/cloud_security_posture/server/routes/status/status.test.ts) | it | | | +| [Verify status when there are no vul_mgmt findings, no healthy agents and no installed policy templates](x-pack/plugins/cloud_security_posture/server/routes/status/status.test.ts) | it | | | +| [Verify status when there are vul_mgmt findings and installed policies but no healthy agents](x-pack/plugins/cloud_security_posture/server/routes/status/status.test.ts) | it | | | +| [Verify status when there are vul_mgmt findings ,installed policies and healthy agents](x-pack/plugins/cloud_security_posture/server/routes/status/status.test.ts) | it | | | +| [Verify status when there are no vul_mgmt findings ,installed policies and no healthy agents](x-pack/plugins/cloud_security_posture/server/routes/status/status.test.ts) | it | | | +| [Verify status when there are installed policies, healthy agents and no vul_mgmt findings](x-pack/plugins/cloud_security_posture/server/routes/status/status.test.ts) | it | | | +| [Verify status when there are installed policies, healthy agents and no vul_mgmt findings and been more than 10 minutes](x-pack/plugins/cloud_security_posture/server/routes/status/status.test.ts) | it | | | +| [Verify status when there are installed policies, healthy agents and no vul_mgmt findings and been more than 1 hour](x-pack/plugins/cloud_security_posture/server/routes/status/status.test.ts) | it | | | +| [Verify status when there are installed policies, healthy agents past vul_mgmt findings but no recent findings](x-pack/plugins/cloud_security_posture/server/routes/status/status.test.ts) | it | | | +| [finding stats task state](x-pack/plugins/cloud_security_posture/server/tasks/task_state.test.ts) | describe | | | +| [v1](x-pack/plugins/cloud_security_posture/server/tasks/task_state.test.ts) | describe | | | +| [should work on empty object when running the up migration](x-pack/plugins/cloud_security_posture/server/tasks/task_state.test.ts) | it | | | +| [shouldn](x-pack/plugins/cloud_security_posture/server/tasks/task_state.test.ts) | it | | | +| [should drop unknown properties when running the up migration](x-pack/plugins/cloud_security_posture/server/tasks/task_state.test.ts) | it | | | +
+ +## Directory: x-pack/test_serverless/functional/test_suites/security/ftr/cloud_security_posture + +**Total Tests:** 4 | **Skipped:** 2 (50.00%) | **Todo:** 0 (0.00%) + +![](https://img.shields.io/badge/FTR-blue) ![](https://img.shields.io/badge/HAS-SKIP-yellow) + +
+Test Details + +| Test Label | Type | Skipped | Todo | +|------------|------|---------|------| +| [Cloud Posture Dashboard Page](x-pack/test_serverless/functional/test_suites/security/ftr/cloud_security_posture/compliance_dashboard.ts) | describe | | | +| [Kubernetes Dashboard](x-pack/test_serverless/functional/test_suites/security/ftr/cloud_security_posture/compliance_dashboard.ts) | describe | ![](https://img.shields.io/badge/skipped-yellow) | | +| [displays accurate summary compliance score](x-pack/test_serverless/functional/test_suites/security/ftr/cloud_security_posture/compliance_dashboard.ts) | it | ![](https://img.shields.io/badge/skipped-yellow) | | +| [cloud_security_posture](x-pack/test_serverless/functional/test_suites/security/ftr/cloud_security_posture/index.ts) | describe | | | +
+ +## Directory: x-pack/test/api_integration/apis/cloud_security_posture + +**Total Tests:** 62 | **Skipped:** 0 (0.00%) | **Todo:** 0 (0.00%) + +![](https://img.shields.io/badge/FTR-blue) ![](https://img.shields.io/badge/API-INTEGRATION-purple) + +
+Test Details + +| Test Label | Type | Skipped | Todo | +|------------|------|---------|------| +| [GET /internal/cloud_security_posture/benchmark](x-pack/test/api_integration/apis/cloud_security_posture/benchmark/v1.ts) | describe | | | +| [Should return non-empty array filled with Rules if user has CSP integrations](x-pack/test/api_integration/apis/cloud_security_posture/benchmark/v1.ts) | it | | | +| [Should return array size 2 when we set per page to be only 2 (total element is still 3)](x-pack/test/api_integration/apis/cloud_security_posture/benchmark/v1.ts) | it | | | +| [Should return array size 2 when we set per page to be only 2 (total element is still 3)](x-pack/test/api_integration/apis/cloud_security_posture/benchmark/v1.ts) | it | | | +| [Should return empty array when we set page to be above the last page number](x-pack/test/api_integration/apis/cloud_security_posture/benchmark/v1.ts) | it | | | +| [GET /internal/cloud_security_posture/benchmark](x-pack/test/api_integration/apis/cloud_security_posture/benchmark/v2.ts) | describe | | | +| [Should return all benchmarks if user has CSP integrations](x-pack/test/api_integration/apis/cloud_security_posture/benchmark/v2.ts) | it | | | +| [GET internal/cloud_security_posture/rules/_find](x-pack/test/api_integration/apis/cloud_security_posture/find_csp_benchmark_rule.ts) | describe | | | +| [Should return 500 error code when not provide package policy id or benchmark id](x-pack/test/api_integration/apis/cloud_security_posture/find_csp_benchmark_rule.ts) | it | | | +| [Should return 500 error code when provide both package policy id and benchmark id](x-pack/test/api_integration/apis/cloud_security_posture/find_csp_benchmark_rule.ts) | it | | | +| [Should return 404 status code when the package policy ID does not exist](x-pack/test/api_integration/apis/cloud_security_posture/find_csp_benchmark_rule.ts) | it | | | +| [Should return 200 status code and filter rules by benchmarkId](x-pack/test/api_integration/apis/cloud_security_posture/find_csp_benchmark_rule.ts) | it | | | +| [Should return 200 status code, and only requested fields in the response](x-pack/test/api_integration/apis/cloud_security_posture/find_csp_benchmark_rule.ts) | it | | | +| [Should return 200 status code, items sorted by metadata.section field](x-pack/test/api_integration/apis/cloud_security_posture/find_csp_benchmark_rule.ts) | it | | | +| [Should return 200 status code and paginate rules with a limit of PerPage](x-pack/test/api_integration/apis/cloud_security_posture/find_csp_benchmark_rule.ts) | it | | | +| [cloud_security_posture](x-pack/test/api_integration/apis/cloud_security_posture/index.ts) | describe | | | +| [GET internal/cloud_security_posture/rules/_find](x-pack/test/api_integration/apis/cloud_security_posture/rules/v1.ts) | describe | | | +| [Should return 500 error code when not provide package policy id or benchmark id](x-pack/test/api_integration/apis/cloud_security_posture/rules/v1.ts) | it | | | +| [Should return 500 error code when provide both package policy id and benchmark id](x-pack/test/api_integration/apis/cloud_security_posture/rules/v1.ts) | it | | | +| [Should return 404 status code when the package policy ID does not exist](x-pack/test/api_integration/apis/cloud_security_posture/rules/v1.ts) | it | | | +| [Should return 200 status code and filter rules by benchmarkId](x-pack/test/api_integration/apis/cloud_security_posture/rules/v1.ts) | it | | | +| [Should return 200 status code, and only requested fields in the response](x-pack/test/api_integration/apis/cloud_security_posture/rules/v1.ts) | it | | | +| [Should return 200 status code, items sorted by metadata.section field](x-pack/test/api_integration/apis/cloud_security_posture/rules/v1.ts) | it | | | +| [Should return 200 status code and paginate rules with a limit of PerPage](x-pack/test/api_integration/apis/cloud_security_posture/rules/v1.ts) | it | | | +| [GET internal/cloud_security_posture/rules/_find](x-pack/test/api_integration/apis/cloud_security_posture/rules/v2.ts) | describe | | | +| [Should return 500 error code when not provide benchmark id](x-pack/test/api_integration/apis/cloud_security_posture/rules/v2.ts) | it | | | +| [Should return 200 status code and filter rules by benchmarkId and benchmarkVersion](x-pack/test/api_integration/apis/cloud_security_posture/rules/v2.ts) | it | | | +| [Should return 200 status code, and only requested fields in the response](x-pack/test/api_integration/apis/cloud_security_posture/rules/v2.ts) | it | | | +| [Should return 200 status code, items sorted by metadata.section field](x-pack/test/api_integration/apis/cloud_security_posture/rules/v2.ts) | it | | | +| [Should return 200 status code and paginate rules with a limit of PerPage](x-pack/test/api_integration/apis/cloud_security_posture/rules/v2.ts) | it | | | +| [GET /internal/cloud_security_posture/status](x-pack/test/api_integration/apis/cloud_security_posture/status/status_index_timeout.ts) | describe | | | +| [STATUS = INDEX_TIMEOUT TEST](x-pack/test/api_integration/apis/cloud_security_posture/status/status_index_timeout.ts) | describe | | | +| [Should return index-timeout when installed kspm, has findings only on logs-cloud_security_posture.findings-default* and it has been more than 10 minutes since the installation](x-pack/test/api_integration/apis/cloud_security_posture/status/status_index_timeout.ts) | it | | | +| [Should return index-timeout when installed cspm, has findings only on logs-cloud_security_posture.findings-default* and it has been more than 10 minutes since the installation](x-pack/test/api_integration/apis/cloud_security_posture/status/status_index_timeout.ts) | it | | | +| [Should return index-timeout when installed cnvm, has findings only on logs-cloud_security_posture.vulnerabilities-default* and it has been more than 4 hours minutes since the installation](x-pack/test/api_integration/apis/cloud_security_posture/status/status_index_timeout.ts) | it | | | +| [GET /internal/cloud_security_posture/status](x-pack/test/api_integration/apis/cloud_security_posture/status/status_indexed.ts) | describe | | | +| [STATUS = INDEXED TEST](x-pack/test/api_integration/apis/cloud_security_posture/status/status_indexed.ts) | describe | | | +| [Return kspm status indexed when logs-cloud_security_posture.findings_latest-default contains new kspm documents](x-pack/test/api_integration/apis/cloud_security_posture/status/status_indexed.ts) | it | | | +| [Return cspm status indexed when logs-cloud_security_posture.findings_latest-default contains new cspm documents](x-pack/test/api_integration/apis/cloud_security_posture/status/status_indexed.ts) | it | | | +| [Return vuln status indexed when logs-cloud_security_posture.vulnerabilities_latest-default contains new documents](x-pack/test/api_integration/apis/cloud_security_posture/status/status_indexed.ts) | it | | | +| [GET /internal/cloud_security_posture/status](x-pack/test/api_integration/apis/cloud_security_posture/status/status_indexing.ts) | describe | | | +| [STATUS = INDEXING TEST](x-pack/test/api_integration/apis/cloud_security_posture/status/status_indexing.ts) | describe | | | +| [Return kspm status indexing when logs-cloud_security_posture.findings_latest-default doesn](x-pack/test/api_integration/apis/cloud_security_posture/status/status_indexing.ts) | it | | | +| [Return cspm status indexing when logs-cloud_security_posture.findings_latest-default doesn](x-pack/test/api_integration/apis/cloud_security_posture/status/status_indexing.ts) | it | | | +| [Return vuln status indexing when logs-cloud_security_posture.vulnerabilities_latest-default doesn](x-pack/test/api_integration/apis/cloud_security_posture/status/status_indexing.ts) | it | | | +| [GET /internal/cloud_security_posture/status](x-pack/test/api_integration/apis/cloud_security_posture/status/status_not_deployed_not_installed.ts) | describe | | | +| [STATUS = NOT-DEPLOYED and STATUS = NOT-INSTALLED TEST](x-pack/test/api_integration/apis/cloud_security_posture/status/status_not_deployed_not_installed.ts) | describe | | | +| [Should return not-deployed when installed kspm, no findings on either indices and no healthy agents](x-pack/test/api_integration/apis/cloud_security_posture/status/status_not_deployed_not_installed.ts) | it | | | +| [Should return not-deployed when installed cspm, no findings on either indices and no healthy agents](x-pack/test/api_integration/apis/cloud_security_posture/status/status_not_deployed_not_installed.ts) | it | | | +| [Should return not-deployed when installed cnvm, no findings on either indices and no healthy agents](x-pack/test/api_integration/apis/cloud_security_posture/status/status_not_deployed_not_installed.ts) | it | | | +| [GET /internal/cloud_security_posture/status](x-pack/test/api_integration/apis/cloud_security_posture/status/status_unprivileged.ts) | describe | | | +| [STATUS = UNPRIVILEGED TEST](x-pack/test/api_integration/apis/cloud_security_posture/status/status_unprivileged.ts) | describe | | | +| [Return unprivileged for cspm, kspm, vuln_mgmt when users don](x-pack/test/api_integration/apis/cloud_security_posture/status/status_unprivileged.ts) | it | | | +| [status = unprivileged test indices](x-pack/test/api_integration/apis/cloud_security_posture/status/status_unprivileged.ts) | describe | | | +| [Return unprivileged when missing access to findings_latest index](x-pack/test/api_integration/apis/cloud_security_posture/status/status_unprivileged.ts) | it | | | +| [Return unprivileged when missing access to score index](x-pack/test/api_integration/apis/cloud_security_posture/status/status_unprivileged.ts) | it | | | +| [Return unprivileged when missing access to vulnerabilities_latest index](x-pack/test/api_integration/apis/cloud_security_posture/status/status_unprivileged.ts) | it | | | +| [GET /internal/cloud_security_posture/status](x-pack/test/api_integration/apis/cloud_security_posture/status/status_waiting_for_results.ts) | describe | | | +| [STATUS = WAITING_FOR_RESULT TEST](x-pack/test/api_integration/apis/cloud_security_posture/status/status_waiting_for_results.ts) | describe | | | +| [Should return waiting_for_result when installed kspm, has no findings and it has been less than 10 minutes since the installation](x-pack/test/api_integration/apis/cloud_security_posture/status/status_waiting_for_results.ts) | it | | | +| [Should return waiting_for_result when installed cspm, has no findings and it has been less than 10 minutes since the installation](x-pack/test/api_integration/apis/cloud_security_posture/status/status_waiting_for_results.ts) | it | | | +| [Should return waiting_for_result when installed cnvm, has no findings and it has been less than 4 hours minutes since the installation](x-pack/test/api_integration/apis/cloud_security_posture/status/status_waiting_for_results.ts) | it | | | +
+ +## Directory: x-pack/test/cloud_security_posture_api + +**Total Tests:** 35 | **Skipped:** 8 (22.86%) | **Todo:** 0 (0.00%) + +![](https://img.shields.io/badge/FTR-blue) ![](https://img.shields.io/badge/API-INTEGRATION-purple) ![](https://img.shields.io/badge/HAS-SKIP-yellow) + +
+Test Details + +| Test Label | Type | Skipped | Todo | +|------------|------|---------|------| +| [GET /internal/cloud_security_posture/benchmarks](x-pack/test/cloud_security_posture_api/routes/benchmarks.ts) | describe | | | +| [Get Benchmark API](x-pack/test/cloud_security_posture_api/routes/benchmarks.ts) | describe | | | +| [Verify cspm benchmark score is updated when muting rules](x-pack/test/cloud_security_posture_api/routes/benchmarks.ts) | it | | | +| [Verify kspm benchmark score is updated when muting rules](x-pack/test/cloud_security_posture_api/routes/benchmarks.ts) | it | | | +| [Verify update csp rules states API](x-pack/test/cloud_security_posture_api/routes/csp_benchmark_rules_bulk_update.ts) | describe | ![](https://img.shields.io/badge/skipped-yellow) | | +| [mute benchmark rules successfully](x-pack/test/cloud_security_posture_api/routes/csp_benchmark_rules_bulk_update.ts) | it | ![](https://img.shields.io/badge/skipped-yellow) | | +| [unmute rules successfully](x-pack/test/cloud_security_posture_api/routes/csp_benchmark_rules_bulk_update.ts) | it | ![](https://img.shields.io/badge/skipped-yellow) | | +| [verify new rules are added and existing rules are set.](x-pack/test/cloud_security_posture_api/routes/csp_benchmark_rules_bulk_update.ts) | it | ![](https://img.shields.io/badge/skipped-yellow) | | +| [mute detection rule successfully](x-pack/test/cloud_security_posture_api/routes/csp_benchmark_rules_bulk_update.ts) | it | ![](https://img.shields.io/badge/skipped-yellow) | | +| [Expect to mute two benchmark rules and one detection rule](x-pack/test/cloud_security_posture_api/routes/csp_benchmark_rules_bulk_update.ts) | it | ![](https://img.shields.io/badge/skipped-yellow) | | +| [Expect to save rules states when requesting to update empty object](x-pack/test/cloud_security_posture_api/routes/csp_benchmark_rules_bulk_update.ts) | it | ![](https://img.shields.io/badge/skipped-yellow) | | +| [set wrong action input](x-pack/test/cloud_security_posture_api/routes/csp_benchmark_rules_bulk_update.ts) | it | ![](https://img.shields.io/badge/skipped-yellow) | | +| [Tests get rules states API](x-pack/test/cloud_security_posture_api/routes/csp_benchmark_rules_get_states.ts) | describe | | | +| [get rules states successfully](x-pack/test/cloud_security_posture_api/routes/csp_benchmark_rules_get_states.ts) | it | | | +| [get empty object when rules states not exists](x-pack/test/cloud_security_posture_api/routes/csp_benchmark_rules_get_states.ts) | it | | | +| [GET /internal/cloud_security_posture/stats](x-pack/test/cloud_security_posture_api/routes/stats.ts) | describe | | | +| [CSPM Compliance Dashboard Stats API](x-pack/test/cloud_security_posture_api/routes/stats.ts) | describe | | | +| [should return CSPM cluster V1 ](x-pack/test/cloud_security_posture_api/routes/stats.ts) | it | | | +| [should return CSPM benchmarks V2 ](x-pack/test/cloud_security_posture_api/routes/stats.ts) | it | | | +| [KSPM Compliance Dashboard Stats API](x-pack/test/cloud_security_posture_api/routes/stats.ts) | describe | | | +| [should return KSPM clusters V1 ](x-pack/test/cloud_security_posture_api/routes/stats.ts) | it | | | +| [should return KSPM benchmarks V2](x-pack/test/cloud_security_posture_api/routes/stats.ts) | it | | | +| [should return KSPM benchmarks V2](x-pack/test/cloud_security_posture_api/routes/stats.ts) | it | | | +| [Compliance dashboard based on enabled rules](x-pack/test/cloud_security_posture_api/routes/stats.ts) | describe | | | +| [should calculate cspm benchmarks posture score based only on enabled rules](x-pack/test/cloud_security_posture_api/routes/stats.ts) | it | | | +| [should calculate kspm benchmarks posture score based only on enabled rules](x-pack/test/cloud_security_posture_api/routes/stats.ts) | it | | | +| [Vulnerability Dashboard API](x-pack/test/cloud_security_posture_api/routes/vulnerabilities_dashboard.ts) | describe | | | +| [responds with a 200 status code and matching data mock](x-pack/test/cloud_security_posture_api/routes/vulnerabilities_dashboard.ts) | it | | | +| [returns a 400 error when necessary indices are nonexistent](x-pack/test/cloud_security_posture_api/routes/vulnerabilities_dashboard.ts) | it | | | +| [Verify cloud_security_posture telemetry payloads](x-pack/test/cloud_security_posture_api/telemetry/telemetry.ts) | describe | | | +| [includes only KSPM findings](x-pack/test/cloud_security_posture_api/telemetry/telemetry.ts) | it | | | +| [includes only CSPM findings](x-pack/test/cloud_security_posture_api/telemetry/telemetry.ts) | it | | | +| [includes CSPM and KSPM findings](x-pack/test/cloud_security_posture_api/telemetry/telemetry.ts) | it | | | +| [](x-pack/test/cloud_security_posture_api/telemetry/telemetry.ts) | it | | | +| [includes KSPM findings without posture_type and CSPM findings as well](x-pack/test/cloud_security_posture_api/telemetry/telemetry.ts) | it | | | +
+ +## Directory: x-pack/test/cloud_security_posture_functional + +**Total Tests:** 137 | **Skipped:** 10 (7.30%) | **Todo:** 2 (1.46%) + +![](https://img.shields.io/badge/FTR-blue) ![](https://img.shields.io/badge/HAS-TODO-green) ![](https://img.shields.io/badge/HAS-SKIP-yellow) + +
+Test Details + +| Test Label | Type | Skipped | Todo | +|------------|------|---------|------| +| [Test adding Cloud Security Posture Integrations](x-pack/test/cloud_security_posture_functional/pages/cis_integration.ts) | describe | | | +| [CNVM AWS](x-pack/test/cloud_security_posture_functional/pages/cis_integration.ts) | describe | | | +| [Hyperlink on PostInstallation Modal should have the correct URL](x-pack/test/cloud_security_posture_functional/pages/cis_integration.ts) | it | | | +| [On Add Agent modal there should be modal that has Cloud Formation details as well as button that redirects user to Cloud formation page on AWS upon clicking them ](x-pack/test/cloud_security_posture_functional/pages/cis_integration.ts) | it | | | +| [Clicking on Launch CloudFormation on post intall modal should lead user to Cloud Formation page](x-pack/test/cloud_security_posture_functional/pages/cis_integration.ts) | it | | | +| [CIS_AWS](x-pack/test/cloud_security_posture_functional/pages/cis_integration.ts) | describe | | | +| [Initial form state, AWS Org account, and CloudFormation should be selected by default](x-pack/test/cloud_security_posture_functional/pages/cis_integration.ts) | it | | | +| [Hyperlink on PostInstallation Modal should have the correct URL](x-pack/test/cloud_security_posture_functional/pages/cis_integration.ts) | it | | | +| [On Add Agent modal there should be modal that has Cloud Formation details as well as button that redirects user to Cloud formation page on AWS upon clicking them ](x-pack/test/cloud_security_posture_functional/pages/cis_integration.ts) | it | | | +| [Clicking on Launch CloudFormation on post intall modal should lead user to Cloud Formation page](x-pack/test/cloud_security_posture_functional/pages/cis_integration.ts) | it | | | +| [CIS_GCP Organization](x-pack/test/cloud_security_posture_functional/pages/cis_integration.ts) | describe | | | +| [Switch between Manual and Google cloud shell](x-pack/test/cloud_security_posture_functional/pages/cis_integration.ts) | it | | | +| [Post Installation Google Cloud Shell modal pops up after user clicks on Save button when adding integration, when there are no Project ID or Organization ID provided, it should use default value](x-pack/test/cloud_security_posture_functional/pages/cis_integration.ts) | it | | | +| [Post Installation Google Cloud Shell modal pops up after user clicks on Save button when adding integration, when there are Project ID or Organization ID provided, it should use that value](x-pack/test/cloud_security_posture_functional/pages/cis_integration.ts) | it | | | +| [Add Agent FLyout - Post Installation Google Cloud Shell modal pops up after user clicks on Save button when adding integration, when there are Project ID or Organization ID provided, it should use that value](x-pack/test/cloud_security_posture_functional/pages/cis_integration.ts) | it | | | +| [Organization ID field on cloud shell command should only be shown if user chose Google Cloud Shell, if user chose Single Account it shouldn not show up](x-pack/test/cloud_security_posture_functional/pages/cis_integration.ts) | it | | | +| [Hyperlink on PostInstallation Modal should have the correct URL](x-pack/test/cloud_security_posture_functional/pages/cis_integration.ts) | it | | | +| [Clicking on Launch CloudShell on post intall modal should lead user to CloudShell page](x-pack/test/cloud_security_posture_functional/pages/cis_integration.ts) | it | | | +| [CIS_GCP Single](x-pack/test/cloud_security_posture_functional/pages/cis_integration.ts) | describe | | | +| [Post Installation Google Cloud Shell modal pops up after user clicks on Save button when adding integration, when there are no Project ID, it should use default value](x-pack/test/cloud_security_posture_functional/pages/cis_integration.ts) | it | | | +| [Post Installation Google Cloud Shell modal pops up after user clicks on Save button when adding integration, when there are Project ID, it should use that value](x-pack/test/cloud_security_posture_functional/pages/cis_integration.ts) | it | | | +| [Add Agent FLyout - Organization ID field on cloud shell command should only be shown if user chose Google Cloud Shell, if user chose Single Account it shouldn not show up](x-pack/test/cloud_security_posture_functional/pages/cis_integration.ts) | it | | | +| [On add agent modal, if user chose Google Cloud Shell as their setup access; a google cloud shell modal should show up and clicking on the launch button will redirect user to Google cloud shell page](x-pack/test/cloud_security_posture_functional/pages/cis_integration.ts) | it | | | +| [Users are able to add CIS_GCP Integration with Manual settings using Credentials File](x-pack/test/cloud_security_posture_functional/pages/cis_integration.ts) | it | | | +| [Users are able to switch credentials_type from/to Credential JSON fields ](x-pack/test/cloud_security_posture_functional/pages/cis_integration.ts) | it | | | +| [Users are able to add CIS_GCP Integration with Manual settings using Credentials JSON](x-pack/test/cloud_security_posture_functional/pages/cis_integration.ts) | it | | | +| [Users are able to switch credentials_type from/to Credential File fields ](x-pack/test/cloud_security_posture_functional/pages/cis_integration.ts) | it | | | +| [Cloud Posture Dashboard Page](x-pack/test/cloud_security_posture_functional/pages/compliance_dashboard.ts) | describe | | | +| [Kubernetes Dashboard](x-pack/test/cloud_security_posture_functional/pages/compliance_dashboard.ts) | describe | | | +| [displays accurate summary compliance score](x-pack/test/cloud_security_posture_functional/pages/compliance_dashboard.ts) | it | | | +| [TODO - Cloud Dashboard](x-pack/test/cloud_security_posture_functional/pages/compliance_dashboard.ts) | describe | | ![](https://img.shields.io/badge/todo-green) | +| [todo - displays accurate summary compliance score](x-pack/test/cloud_security_posture_functional/pages/compliance_dashboard.ts) | it | | ![](https://img.shields.io/badge/todo-green) | +| [Findings Page - Alerts](x-pack/test/cloud_security_posture_functional/pages/findings_alerts.ts) | describe | | | +| [Create detection rule](x-pack/test/cloud_security_posture_functional/pages/findings_alerts.ts) | describe | | | +| [Creates a detection rule from the Take Action button and navigates to rule page](x-pack/test/cloud_security_posture_functional/pages/findings_alerts.ts) | it | | | +| [Creates a detection rule from the Alerts section and navigates to rule page](x-pack/test/cloud_security_posture_functional/pages/findings_alerts.ts) | it | | | +| [Rule details](x-pack/test/cloud_security_posture_functional/pages/findings_alerts.ts) | describe | | | +| [The rule page contains the expected matching data](x-pack/test/cloud_security_posture_functional/pages/findings_alerts.ts) | it | | | +| [Navigation](x-pack/test/cloud_security_posture_functional/pages/findings_alerts.ts) | describe | | | +| [Clicking on count of Rules should navigate to the rules page with benchmark tags as a filter](x-pack/test/cloud_security_posture_functional/pages/findings_alerts.ts) | it | | | +| [Clicking on count of Alerts should navigate to the alerts page](x-pack/test/cloud_security_posture_functional/pages/findings_alerts.ts) | it | | | +| [Findings Page - Grouping](x-pack/test/cloud_security_posture_functional/pages/findings_grouping.ts) | describe | | | +| [Default Grouping](x-pack/test/cloud_security_posture_functional/pages/findings_grouping.ts) | describe | | | +| [groups findings by resource and sort by compliance score desc](x-pack/test/cloud_security_posture_functional/pages/findings_grouping.ts) | it | | | +| [groups findings by rule name and sort by compliance score desc](x-pack/test/cloud_security_posture_functional/pages/findings_grouping.ts) | it | | | +| [groups findings by cloud account and sort by compliance score desc](x-pack/test/cloud_security_posture_functional/pages/findings_grouping.ts) | it | | | +| [groups findings by Kubernetes cluster and sort by compliance score desc](x-pack/test/cloud_security_posture_functional/pages/findings_grouping.ts) | it | | | +| [SearchBar](x-pack/test/cloud_security_posture_functional/pages/findings_grouping.ts) | describe | | | +| [add filter](x-pack/test/cloud_security_posture_functional/pages/findings_grouping.ts) | it | | | +| [remove filter](x-pack/test/cloud_security_posture_functional/pages/findings_grouping.ts) | it | | | +| [set search query](x-pack/test/cloud_security_posture_functional/pages/findings_grouping.ts) | it | | | +| [Group table](x-pack/test/cloud_security_posture_functional/pages/findings_grouping.ts) | describe | | | +| [shows findings table when expanding](x-pack/test/cloud_security_posture_functional/pages/findings_grouping.ts) | it | | | +| [Default Grouping - support muting rules](x-pack/test/cloud_security_posture_functional/pages/findings_grouping.ts) | describe | | | +| [groups findings by resource after muting rule](x-pack/test/cloud_security_posture_functional/pages/findings_grouping.ts) | it | | | +| [Old Data](x-pack/test/cloud_security_posture_functional/pages/findings_old_data.ts) | describe | | | +| [Findings page with old data](x-pack/test/cloud_security_posture_functional/pages/findings_old_data.ts) | describe | | | +| [returns no Findings KSPM](x-pack/test/cloud_security_posture_functional/pages/findings_old_data.ts) | it | | | +| [returns no Findings CSPM](x-pack/test/cloud_security_posture_functional/pages/findings_old_data.ts) | it | | | +| [Findings Page onboarding](x-pack/test/cloud_security_posture_functional/pages/findings_onboarding.ts) | describe | ![](https://img.shields.io/badge/skipped-yellow) | | +| [clicking on the ](x-pack/test/cloud_security_posture_functional/pages/findings_onboarding.ts) | it | ![](https://img.shields.io/badge/skipped-yellow) | | +| [clicking on the ](x-pack/test/cloud_security_posture_functional/pages/findings_onboarding.ts) | it | ![](https://img.shields.io/badge/skipped-yellow) | | +| [clicking on the ](x-pack/test/cloud_security_posture_functional/pages/findings_onboarding.ts) | it | ![](https://img.shields.io/badge/skipped-yellow) | | +| [Findings Page - DataTable](x-pack/test/cloud_security_posture_functional/pages/findings.ts) | describe | | | +| [SearchBar](x-pack/test/cloud_security_posture_functional/pages/findings.ts) | describe | ![](https://img.shields.io/badge/skipped-yellow) | | +| [add filter](x-pack/test/cloud_security_posture_functional/pages/findings.ts) | it | ![](https://img.shields.io/badge/skipped-yellow) | | +| [remove filter](x-pack/test/cloud_security_posture_functional/pages/findings.ts) | it | ![](https://img.shields.io/badge/skipped-yellow) | | +| [set search query](x-pack/test/cloud_security_posture_functional/pages/findings.ts) | it | ![](https://img.shields.io/badge/skipped-yellow) | | +| [Table Sort](x-pack/test/cloud_security_posture_functional/pages/findings.ts) | describe | ![](https://img.shields.io/badge/skipped-yellow) | | +| [sorts by a column, should be case sensitive/insensitive depending on the column](x-pack/test/cloud_security_posture_functional/pages/findings.ts) | it | ![](https://img.shields.io/badge/skipped-yellow) | | +| [DistributionBar](x-pack/test/cloud_security_posture_functional/pages/findings.ts) | describe | | | +| [filters by ${type} findings](x-pack/test/cloud_security_posture_functional/pages/findings.ts) | it | | | +| [DataTable features](x-pack/test/cloud_security_posture_functional/pages/findings.ts) | describe | | | +| [Edit data view field option is Enabled](x-pack/test/cloud_security_posture_functional/pages/findings.ts) | it | | | +| [Findings - Fields selector](x-pack/test/cloud_security_posture_functional/pages/findings.ts) | describe | | | +| [Add fields to the Findings DataTable](x-pack/test/cloud_security_posture_functional/pages/findings.ts) | it | | | +| [Remove fields from the Findings DataTable](x-pack/test/cloud_security_posture_functional/pages/findings.ts) | it | | | +| [Reset fields to default](x-pack/test/cloud_security_posture_functional/pages/findings.ts) | it | | | +| [Findings Page - support muting rules](x-pack/test/cloud_security_posture_functional/pages/findings.ts) | describe | | | +| [verify only enabled rules appears](x-pack/test/cloud_security_posture_functional/pages/findings.ts) | it | | | +| [Cloud Security Posture](x-pack/test/cloud_security_posture_functional/pages/index.ts) | describe | | | +| [Cloud Posture Rules Page](x-pack/test/cloud_security_posture_functional/pages/rules.ts) | describe | | | +| [Rules Page - Rules Counters](x-pack/test/cloud_security_posture_functional/pages/rules.ts) | describe | | | +| [Shows posture score when there are findings](x-pack/test/cloud_security_posture_functional/pages/rules.ts) | it | | | +| [Clicking the posture score button leads to the dashboard](x-pack/test/cloud_security_posture_functional/pages/rules.ts) | it | | | +| [Shows integrations count when there are findings](x-pack/test/cloud_security_posture_functional/pages/rules.ts) | it | | | +| [Clicking the integrations counter button leads to the integration page](x-pack/test/cloud_security_posture_functional/pages/rules.ts) | it | | | +| [Shows the failed findings counter when there are findings](x-pack/test/cloud_security_posture_functional/pages/rules.ts) | it | | | +| [Clicking the failed findings button leads to the findings page](x-pack/test/cloud_security_posture_functional/pages/rules.ts) | it | | | +| [Shows the disabled rules count](x-pack/test/cloud_security_posture_functional/pages/rules.ts) | it | | | +| [Clicking the disabled rules button shows enables the disabled filter](x-pack/test/cloud_security_posture_functional/pages/rules.ts) | it | | | +| [Shows empty state when there are no findings](x-pack/test/cloud_security_posture_functional/pages/rules.ts) | it | | | +| [Rules Page - Bulk Action buttons](x-pack/test/cloud_security_posture_functional/pages/rules.ts) | describe | | | +| [It should disable Enable option when there are all rules selected are already enabled ](x-pack/test/cloud_security_posture_functional/pages/rules.ts) | it | | | +| [It should disable both Enable and Disable options when there are no rules selected](x-pack/test/cloud_security_posture_functional/pages/rules.ts) | it | | | +| [It should disable Disable option when there are all rules selected are already Disabled](x-pack/test/cloud_security_posture_functional/pages/rules.ts) | it | | | +| [Both option should not be disabled if selected rules contains both enabled and disabled rules](x-pack/test/cloud_security_posture_functional/pages/rules.ts) | it | | | +| [Rules Page - Enable Rules and Disabled Rules Filter Toggle](x-pack/test/cloud_security_posture_functional/pages/rules.ts) | describe | | | +| [Should only display Enabled rules when Enabled Rules filter is ON](x-pack/test/cloud_security_posture_functional/pages/rules.ts) | it | | | +| [Should only display Disabled rules when Disabled Rules filter is ON](x-pack/test/cloud_security_posture_functional/pages/rules.ts) | it | | | +| [Rules Page - CIS Section & Rule Number filters](x-pack/test/cloud_security_posture_functional/pages/rules.ts) | describe | | | +| [Table should only show result that has the same section as in the Section filter](x-pack/test/cloud_security_posture_functional/pages/rules.ts) | it | | | +| [Table should only show result that has the same section as in the Rule number filter](x-pack/test/cloud_security_posture_functional/pages/rules.ts) | it | | | +| [Table should only show result that passes both Section and Rule number filter](x-pack/test/cloud_security_posture_functional/pages/rules.ts) | it | | | +| [Rules Page - Flyout](x-pack/test/cloud_security_posture_functional/pages/rules.ts) | describe | | | +| [Users are able to Enable/Disable Rule from Switch on Rule Flyout](x-pack/test/cloud_security_posture_functional/pages/rules.ts) | it | | | +| [Alerts section of Rules Flyout shows Disabled text when Rules are disabled](x-pack/test/cloud_security_posture_functional/pages/rules.ts) | it | | | +| [Users are able to Enable/Disable Rule from Take Action on Rule Flyout](x-pack/test/cloud_security_posture_functional/pages/rules.ts) | it | | | +| [Alerts section of Rules Flyout shows Detection Rule Counter component when Rules are enabled](x-pack/test/cloud_security_posture_functional/pages/rules.ts) | it | | | +| [Vulnerabilities Page - Grouping](x-pack/test/cloud_security_posture_functional/pages/vulnerabilities_grouping.ts) | describe | | | +| [Default Grouping](x-pack/test/cloud_security_posture_functional/pages/vulnerabilities_grouping.ts) | describe | | | +| [groups vulnerabilities by cloud account and sort by number of vulnerabilities desc](x-pack/test/cloud_security_posture_functional/pages/vulnerabilities_grouping.ts) | it | | | +| [groups vulnerabilities by CVE and sort by number of vulnerabilities desc](x-pack/test/cloud_security_posture_functional/pages/vulnerabilities_grouping.ts) | it | | | +| [groups vulnerabilities by resource and sort by number of vulnerabilities desc](x-pack/test/cloud_security_posture_functional/pages/vulnerabilities_grouping.ts) | it | | | +| [SearchBar](x-pack/test/cloud_security_posture_functional/pages/vulnerabilities_grouping.ts) | describe | | | +| [add filter](x-pack/test/cloud_security_posture_functional/pages/vulnerabilities_grouping.ts) | it | | | +| [remove filter](x-pack/test/cloud_security_posture_functional/pages/vulnerabilities_grouping.ts) | it | | | +| [set search query](x-pack/test/cloud_security_posture_functional/pages/vulnerabilities_grouping.ts) | it | | | +| [Group table](x-pack/test/cloud_security_posture_functional/pages/vulnerabilities_grouping.ts) | describe | | | +| [shows vulnerabilities table when expanding](x-pack/test/cloud_security_posture_functional/pages/vulnerabilities_grouping.ts) | it | | | +| [Vulnerabilities Page - DataTable](x-pack/test/cloud_security_posture_functional/pages/vulnerabilities.ts) | describe | | | +| [SearchBar](x-pack/test/cloud_security_posture_functional/pages/vulnerabilities.ts) | describe | | | +| [add filter](x-pack/test/cloud_security_posture_functional/pages/vulnerabilities.ts) | it | | | +| [remove filter](x-pack/test/cloud_security_posture_functional/pages/vulnerabilities.ts) | it | | | +| [set search query](x-pack/test/cloud_security_posture_functional/pages/vulnerabilities.ts) | it | | | +| [DataTable features](x-pack/test/cloud_security_posture_functional/pages/vulnerabilities.ts) | describe | | | +| [Edit data view field option is Enabled](x-pack/test/cloud_security_posture_functional/pages/vulnerabilities.ts) | it | | | +| [Vulnerabilities - Fields selector](x-pack/test/cloud_security_posture_functional/pages/vulnerabilities.ts) | describe | | | +| [Add fields to the Vulnerabilities DataTable](x-pack/test/cloud_security_posture_functional/pages/vulnerabilities.ts) | it | | | +| [Remove fields from the Vulnerabilities DataTable](x-pack/test/cloud_security_posture_functional/pages/vulnerabilities.ts) | it | | | +| [Reset fields to default](x-pack/test/cloud_security_posture_functional/pages/vulnerabilities.ts) | it | | | +| [Vulnerability Dashboard Page](x-pack/test/cloud_security_posture_functional/pages/vulnerability_dashboard.ts) | describe | | | +| [Vulnerability Dashboard](x-pack/test/cloud_security_posture_functional/pages/vulnerability_dashboard.ts) | describe | | | +| [Page Header renders on startup](x-pack/test/cloud_security_posture_functional/pages/vulnerability_dashboard.ts) | it | | | +| [Stats render accurate output](x-pack/test/cloud_security_posture_functional/pages/vulnerability_dashboard.ts) | it | | | +| [should navigate to vulnerability findings page with high severity filter](x-pack/test/cloud_security_posture_functional/pages/vulnerability_dashboard.ts) | it | | | +| [should navigate to vulnerability findings page with critical severity filter and no high severity filter](x-pack/test/cloud_security_posture_functional/pages/vulnerability_dashboard.ts) | it | | | +
+ diff --git a/x-pack/plugins/cloud_security_posture/common/scripts/__auto_generated_csp_test_log.json b/x-pack/plugins/cloud_security_posture/common/scripts/__auto_generated_csp_test_log.json new file mode 100644 index 0000000000000..c69ed1b2c5e26 --- /dev/null +++ b/x-pack/plugins/cloud_security_posture/common/scripts/__auto_generated_csp_test_log.json @@ -0,0 +1,15454 @@ +[ + { + "filePath": "x-pack/plugins/cloud_security_posture/common/utils/detection_rules.test.ts", + "fileName": "detection_rules.test.ts", + "directory": "x-pack/plugins/cloud_security_posture", + "tags": [ + "UT" + ], + "lines": [ + "describe('Detection rules utils')", + " it('should convert tags to KQL format with AND operator')", + " it('Should convert tags to KQL format with AND Operator (empty array)')", + " it('should convert tags to KQL format with OR Operator')", + " it('Should convert tags to KQL format with OR Operator (empty array)')", + " it('Should generate search tags for a CSP benchmark rule')", + " it('Should handle undefined benchmark object gracefully')", + " it('Should handle undefined rule number gracefully')", + " it('Should generate search tags for a CSP benchmark rule given an array of Benchmarks')", + " it('Should handle undefined benchmark object gracefully given an array of empty benchmark')", + " it('Should generate tags for a CSPM benchmark rule')", + " it('Should generate tags for a KSPM benchmark rule')" + ], + "testSuits": [ + { + "id": "detection-rules-utils", + "rawLine": "describe('Detection rules utils', () => {", + "line": "describe('Detection rules utils')", + "label": "Detection rules utils", + "indent": 0, + "type": "describe", + "isSkipped": false, + "isTodo": false + }, + { + "id": "should-convert-tags-to-kql-format-with-and-operator", + "rawLine": " it('should convert tags to KQL format with AND operator', () => {", + "line": " it('should convert tags to KQL format with AND operator')", + "label": "should convert tags to KQL format with AND operator", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "should-convert-tags-to-kql-format-with-and-operator-(empty-array)", + "rawLine": " it('Should convert tags to KQL format with AND Operator (empty array)', () => {", + "line": " it('Should convert tags to KQL format with AND Operator (empty array)')", + "label": "Should convert tags to KQL format with AND Operator (empty array)", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "should-convert-tags-to-kql-format-with-or-operator", + "rawLine": " it('should convert tags to KQL format with OR Operator', () => {", + "line": " it('should convert tags to KQL format with OR Operator')", + "label": "should convert tags to KQL format with OR Operator", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "should-convert-tags-to-kql-format-with-or-operator-(empty-array)", + "rawLine": " it('Should convert tags to KQL format with OR Operator (empty array)', () => {", + "line": " it('Should convert tags to KQL format with OR Operator (empty array)')", + "label": "Should convert tags to KQL format with OR Operator (empty array)", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "should-generate-search-tags-for-a-csp-benchmark-rule", + "rawLine": " it('Should generate search tags for a CSP benchmark rule', () => {", + "line": " it('Should generate search tags for a CSP benchmark rule')", + "label": "Should generate search tags for a CSP benchmark rule", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "should-handle-undefined-benchmark-object-gracefully", + "rawLine": " it('Should handle undefined benchmark object gracefully', () => {", + "line": " it('Should handle undefined benchmark object gracefully')", + "label": "Should handle undefined benchmark object gracefully", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "should-handle-undefined-rule-number-gracefully", + "rawLine": " it('Should handle undefined rule number gracefully', () => {", + "line": " it('Should handle undefined rule number gracefully')", + "label": "Should handle undefined rule number gracefully", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "should-generate-search-tags-for-a-csp-benchmark-rule-given-an-array-of-benchmarks", + "rawLine": " it('Should generate search tags for a CSP benchmark rule given an array of Benchmarks', () => {", + "line": " it('Should generate search tags for a CSP benchmark rule given an array of Benchmarks')", + "label": "Should generate search tags for a CSP benchmark rule given an array of Benchmarks", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "should-handle-undefined-benchmark-object-gracefully-given-an-array-of-empty-benchmark", + "rawLine": " it('Should handle undefined benchmark object gracefully given an array of empty benchmark', () => {", + "line": " it('Should handle undefined benchmark object gracefully given an array of empty benchmark')", + "label": "Should handle undefined benchmark object gracefully given an array of empty benchmark", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "should-generate-tags-for-a-cspm-benchmark-rule", + "rawLine": " it('Should generate tags for a CSPM benchmark rule', () => {", + "line": " it('Should generate tags for a CSPM benchmark rule')", + "label": "Should generate tags for a CSPM benchmark rule", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "should-generate-tags-for-a-kspm-benchmark-rule", + "rawLine": " it('Should generate tags for a KSPM benchmark rule', () => {", + "line": " it('Should generate tags for a KSPM benchmark rule')", + "label": "Should generate tags for a KSPM benchmark rule", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + } + ], + "tree": [ + { + "id": "detection-rules-utils", + "rawLine": "describe('Detection rules utils', () => {", + "line": "describe('Detection rules utils')", + "label": "Detection rules utils", + "indent": 0, + "type": "describe", + "isSkipped": false, + "isTodo": false, + "children": [ + { + "id": "should-convert-tags-to-kql-format-with-and-operator", + "rawLine": " it('should convert tags to KQL format with AND operator', () => {", + "line": " it('should convert tags to KQL format with AND operator')", + "label": "should convert tags to KQL format with AND operator", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "should-convert-tags-to-kql-format-with-and-operator-(empty-array)", + "rawLine": " it('Should convert tags to KQL format with AND Operator (empty array)', () => {", + "line": " it('Should convert tags to KQL format with AND Operator (empty array)')", + "label": "Should convert tags to KQL format with AND Operator (empty array)", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "should-convert-tags-to-kql-format-with-or-operator", + "rawLine": " it('should convert tags to KQL format with OR Operator', () => {", + "line": " it('should convert tags to KQL format with OR Operator')", + "label": "should convert tags to KQL format with OR Operator", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "should-convert-tags-to-kql-format-with-or-operator-(empty-array)", + "rawLine": " it('Should convert tags to KQL format with OR Operator (empty array)', () => {", + "line": " it('Should convert tags to KQL format with OR Operator (empty array)')", + "label": "Should convert tags to KQL format with OR Operator (empty array)", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "should-generate-search-tags-for-a-csp-benchmark-rule", + "rawLine": " it('Should generate search tags for a CSP benchmark rule', () => {", + "line": " it('Should generate search tags for a CSP benchmark rule')", + "label": "Should generate search tags for a CSP benchmark rule", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "should-handle-undefined-benchmark-object-gracefully", + "rawLine": " it('Should handle undefined benchmark object gracefully', () => {", + "line": " it('Should handle undefined benchmark object gracefully')", + "label": "Should handle undefined benchmark object gracefully", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "should-handle-undefined-rule-number-gracefully", + "rawLine": " it('Should handle undefined rule number gracefully', () => {", + "line": " it('Should handle undefined rule number gracefully')", + "label": "Should handle undefined rule number gracefully", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "should-generate-search-tags-for-a-csp-benchmark-rule-given-an-array-of-benchmarks", + "rawLine": " it('Should generate search tags for a CSP benchmark rule given an array of Benchmarks', () => {", + "line": " it('Should generate search tags for a CSP benchmark rule given an array of Benchmarks')", + "label": "Should generate search tags for a CSP benchmark rule given an array of Benchmarks", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "should-handle-undefined-benchmark-object-gracefully-given-an-array-of-empty-benchmark", + "rawLine": " it('Should handle undefined benchmark object gracefully given an array of empty benchmark', () => {", + "line": " it('Should handle undefined benchmark object gracefully given an array of empty benchmark')", + "label": "Should handle undefined benchmark object gracefully given an array of empty benchmark", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "should-generate-tags-for-a-cspm-benchmark-rule", + "rawLine": " it('Should generate tags for a CSPM benchmark rule', () => {", + "line": " it('Should generate tags for a CSPM benchmark rule')", + "label": "Should generate tags for a CSPM benchmark rule", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "should-generate-tags-for-a-kspm-benchmark-rule", + "rawLine": " it('Should generate tags for a KSPM benchmark rule', () => {", + "line": " it('Should generate tags for a KSPM benchmark rule')", + "label": "Should generate tags for a KSPM benchmark rule", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + } + ] + } + ] + }, + { + "filePath": "x-pack/plugins/cloud_security_posture/common/utils/helpers.test.ts", + "fileName": "helpers.test.ts", + "directory": "x-pack/plugins/cloud_security_posture", + "tags": [ + "UT" + ], + "lines": [ + "describe('test helper methods')", + " it('get default integration type from inputs with multiple enabled types')", + " it('get default integration type from inputs without any enabled types')", + " it('get EKS integration type')", + " it('get Vanilla K8S integration type')", + " it('get benchmark type filter based on a benchmark id')", + " it('should return a string with the correct filter when given a benchmark type and section')", + " it('get benchmark filter query based on a benchmark Id, version')", + " it('get benchmark filter query based on a benchmark Id, version and multiple sections and rule numbers')", + " it('get benchmark filter query based on a benchmark Id, version and just sections')", + " it('get benchmark filter query based on a benchmark Id, version and just rule numbers')", + " describe('cleanupCredentials')", + " it('cleans unused aws credential methods, except role_arn when using assume_role')", + " it('cleans unused aws credential methods, when using cloud formation')", + " it('cleans unused aws credential methods, when using direct_access_keys method ')", + " it('when aws credential type is undefined, return unchanged policy')", + " it('cleans unused gcp credential methods, when using credentials-file method ')", + " it('when gcp credential type is undefined, return unchanged policy')" + ], + "testSuits": [ + { + "id": "test-helper-methods", + "rawLine": "describe('test helper methods', () => {", + "line": "describe('test helper methods')", + "label": "test helper methods", + "indent": 0, + "type": "describe", + "isSkipped": false, + "isTodo": false + }, + { + "id": "get-default-integration-type-from-inputs-with-multiple-enabled-types", + "rawLine": " it('get default integration type from inputs with multiple enabled types', () => {", + "line": " it('get default integration type from inputs with multiple enabled types')", + "label": "get default integration type from inputs with multiple enabled types", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "get-default-integration-type-from-inputs-without-any-enabled-types", + "rawLine": " it('get default integration type from inputs without any enabled types', () => {", + "line": " it('get default integration type from inputs without any enabled types')", + "label": "get default integration type from inputs without any enabled types", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "get-eks-integration-type", + "rawLine": " it('get EKS integration type', () => {", + "line": " it('get EKS integration type')", + "label": "get EKS integration type", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "get-vanilla-k8s-integration-type", + "rawLine": " it('get Vanilla K8S integration type', () => {", + "line": " it('get Vanilla K8S integration type')", + "label": "get Vanilla K8S integration type", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "get-benchmark-type-filter-based-on-a-benchmark-id", + "rawLine": " it('get benchmark type filter based on a benchmark id', () => {", + "line": " it('get benchmark type filter based on a benchmark id')", + "label": "get benchmark type filter based on a benchmark id", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "should-return-a-string-with-the-correct-filter-when-given-a-benchmark-type-and-section", + "rawLine": " it('should return a string with the correct filter when given a benchmark type and section', () => {", + "line": " it('should return a string with the correct filter when given a benchmark type and section')", + "label": "should return a string with the correct filter when given a benchmark type and section", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "get-benchmark-filter-query-based-on-a-benchmark-id,-version", + "rawLine": " it('get benchmark filter query based on a benchmark Id, version', () => {", + "line": " it('get benchmark filter query based on a benchmark Id, version')", + "label": "get benchmark filter query based on a benchmark Id, version", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "get-benchmark-filter-query-based-on-a-benchmark-id,-version-and-multiple-sections-and-rule-numbers", + "rawLine": " it('get benchmark filter query based on a benchmark Id, version and multiple sections and rule numbers', () => {", + "line": " it('get benchmark filter query based on a benchmark Id, version and multiple sections and rule numbers')", + "label": "get benchmark filter query based on a benchmark Id, version and multiple sections and rule numbers", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "get-benchmark-filter-query-based-on-a-benchmark-id,-version-and-just-sections", + "rawLine": " it('get benchmark filter query based on a benchmark Id, version and just sections', () => {", + "line": " it('get benchmark filter query based on a benchmark Id, version and just sections')", + "label": "get benchmark filter query based on a benchmark Id, version and just sections", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "get-benchmark-filter-query-based-on-a-benchmark-id,-version-and-just-rule-numbers", + "rawLine": " it('get benchmark filter query based on a benchmark Id, version and just rule numbers', () => {", + "line": " it('get benchmark filter query based on a benchmark Id, version and just rule numbers')", + "label": "get benchmark filter query based on a benchmark Id, version and just rule numbers", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "cleanupcredentials", + "rawLine": " describe('cleanupCredentials', () => {", + "line": " describe('cleanupCredentials')", + "label": "cleanupCredentials", + "indent": 2, + "type": "describe", + "isSkipped": false, + "isTodo": false + }, + { + "id": "cleans-unused-aws-credential-methods,-except-role_arn-when-using-assume_role", + "rawLine": " it('cleans unused aws credential methods, except role_arn when using assume_role', () => {", + "line": " it('cleans unused aws credential methods, except role_arn when using assume_role')", + "label": "cleans unused aws credential methods, except role_arn when using assume_role", + "indent": 4, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "cleans-unused-aws-credential-methods,-when-using-cloud-formation", + "rawLine": " it('cleans unused aws credential methods, when using cloud formation', () => {", + "line": " it('cleans unused aws credential methods, when using cloud formation')", + "label": "cleans unused aws credential methods, when using cloud formation", + "indent": 4, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "cleans-unused-aws-credential-methods,-when-using-direct_access_keys-method-", + "rawLine": " it('cleans unused aws credential methods, when using direct_access_keys method ', () => {", + "line": " it('cleans unused aws credential methods, when using direct_access_keys method ')", + "label": "cleans unused aws credential methods, when using direct_access_keys method ", + "indent": 4, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "when-aws-credential-type-is-undefined,-return-unchanged-policy", + "rawLine": " it('when aws credential type is undefined, return unchanged policy', () => {", + "line": " it('when aws credential type is undefined, return unchanged policy')", + "label": "when aws credential type is undefined, return unchanged policy", + "indent": 4, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "cleans-unused-gcp-credential-methods,-when-using-credentials-file-method-", + "rawLine": " it('cleans unused gcp credential methods, when using credentials-file method ', () => {", + "line": " it('cleans unused gcp credential methods, when using credentials-file method ')", + "label": "cleans unused gcp credential methods, when using credentials-file method ", + "indent": 4, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "when-gcp-credential-type-is-undefined,-return-unchanged-policy", + "rawLine": " it('when gcp credential type is undefined, return unchanged policy', () => {", + "line": " it('when gcp credential type is undefined, return unchanged policy')", + "label": "when gcp credential type is undefined, return unchanged policy", + "indent": 4, + "type": "it", + "isSkipped": false, + "isTodo": false + } + ], + "tree": [ + { + "id": "test-helper-methods", + "rawLine": "describe('test helper methods', () => {", + "line": "describe('test helper methods')", + "label": "test helper methods", + "indent": 0, + "type": "describe", + "isSkipped": false, + "isTodo": false, + "children": [ + { + "id": "get-default-integration-type-from-inputs-with-multiple-enabled-types", + "rawLine": " it('get default integration type from inputs with multiple enabled types', () => {", + "line": " it('get default integration type from inputs with multiple enabled types')", + "label": "get default integration type from inputs with multiple enabled types", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "get-default-integration-type-from-inputs-without-any-enabled-types", + "rawLine": " it('get default integration type from inputs without any enabled types', () => {", + "line": " it('get default integration type from inputs without any enabled types')", + "label": "get default integration type from inputs without any enabled types", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "get-eks-integration-type", + "rawLine": " it('get EKS integration type', () => {", + "line": " it('get EKS integration type')", + "label": "get EKS integration type", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "get-vanilla-k8s-integration-type", + "rawLine": " it('get Vanilla K8S integration type', () => {", + "line": " it('get Vanilla K8S integration type')", + "label": "get Vanilla K8S integration type", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "get-benchmark-type-filter-based-on-a-benchmark-id", + "rawLine": " it('get benchmark type filter based on a benchmark id', () => {", + "line": " it('get benchmark type filter based on a benchmark id')", + "label": "get benchmark type filter based on a benchmark id", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "should-return-a-string-with-the-correct-filter-when-given-a-benchmark-type-and-section", + "rawLine": " it('should return a string with the correct filter when given a benchmark type and section', () => {", + "line": " it('should return a string with the correct filter when given a benchmark type and section')", + "label": "should return a string with the correct filter when given a benchmark type and section", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "get-benchmark-filter-query-based-on-a-benchmark-id,-version", + "rawLine": " it('get benchmark filter query based on a benchmark Id, version', () => {", + "line": " it('get benchmark filter query based on a benchmark Id, version')", + "label": "get benchmark filter query based on a benchmark Id, version", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "get-benchmark-filter-query-based-on-a-benchmark-id,-version-and-multiple-sections-and-rule-numbers", + "rawLine": " it('get benchmark filter query based on a benchmark Id, version and multiple sections and rule numbers', () => {", + "line": " it('get benchmark filter query based on a benchmark Id, version and multiple sections and rule numbers')", + "label": "get benchmark filter query based on a benchmark Id, version and multiple sections and rule numbers", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "get-benchmark-filter-query-based-on-a-benchmark-id,-version-and-just-sections", + "rawLine": " it('get benchmark filter query based on a benchmark Id, version and just sections', () => {", + "line": " it('get benchmark filter query based on a benchmark Id, version and just sections')", + "label": "get benchmark filter query based on a benchmark Id, version and just sections", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "get-benchmark-filter-query-based-on-a-benchmark-id,-version-and-just-rule-numbers", + "rawLine": " it('get benchmark filter query based on a benchmark Id, version and just rule numbers', () => {", + "line": " it('get benchmark filter query based on a benchmark Id, version and just rule numbers')", + "label": "get benchmark filter query based on a benchmark Id, version and just rule numbers", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "cleanupcredentials", + "rawLine": " describe('cleanupCredentials', () => {", + "line": " describe('cleanupCredentials')", + "label": "cleanupCredentials", + "indent": 2, + "type": "describe", + "isSkipped": false, + "isTodo": false, + "children": [ + { + "id": "cleans-unused-aws-credential-methods,-except-role_arn-when-using-assume_role", + "rawLine": " it('cleans unused aws credential methods, except role_arn when using assume_role', () => {", + "line": " it('cleans unused aws credential methods, except role_arn when using assume_role')", + "label": "cleans unused aws credential methods, except role_arn when using assume_role", + "indent": 4, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "cleans-unused-aws-credential-methods,-when-using-cloud-formation", + "rawLine": " it('cleans unused aws credential methods, when using cloud formation', () => {", + "line": " it('cleans unused aws credential methods, when using cloud formation')", + "label": "cleans unused aws credential methods, when using cloud formation", + "indent": 4, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "cleans-unused-aws-credential-methods,-when-using-direct_access_keys-method-", + "rawLine": " it('cleans unused aws credential methods, when using direct_access_keys method ', () => {", + "line": " it('cleans unused aws credential methods, when using direct_access_keys method ')", + "label": "cleans unused aws credential methods, when using direct_access_keys method ", + "indent": 4, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "when-aws-credential-type-is-undefined,-return-unchanged-policy", + "rawLine": " it('when aws credential type is undefined, return unchanged policy', () => {", + "line": " it('when aws credential type is undefined, return unchanged policy')", + "label": "when aws credential type is undefined, return unchanged policy", + "indent": 4, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "cleans-unused-gcp-credential-methods,-when-using-credentials-file-method-", + "rawLine": " it('cleans unused gcp credential methods, when using credentials-file method ', () => {", + "line": " it('cleans unused gcp credential methods, when using credentials-file method ')", + "label": "cleans unused gcp credential methods, when using credentials-file method ", + "indent": 4, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "when-gcp-credential-type-is-undefined,-return-unchanged-policy", + "rawLine": " it('when gcp credential type is undefined, return unchanged policy', () => {", + "line": " it('when gcp credential type is undefined, return unchanged policy')", + "label": "when gcp credential type is undefined, return unchanged policy", + "indent": 4, + "type": "it", + "isSkipped": false, + "isTodo": false + } + ] + } + ] + } + ] + }, + { + "filePath": "x-pack/plugins/cloud_security_posture/common/utils/subscription.test.ts", + "fileName": "subscription.test.ts", + "directory": "x-pack/plugins/cloud_security_posture", + "tags": [ + "UT" + ], + "lines": [ + "describe('isSubscriptionAllowed')", + " it('should allow any cloud subscription')", + " it('should allow enterprise and trial licenses for on-prem')", + " it('should not allow enterprise and trial licenses for on-prem')" + ], + "testSuits": [ + { + "id": "issubscriptionallowed", + "rawLine": "describe('isSubscriptionAllowed', () => {", + "line": "describe('isSubscriptionAllowed')", + "label": "isSubscriptionAllowed", + "indent": 0, + "type": "describe", + "isSkipped": false, + "isTodo": false + }, + { + "id": "should-allow-any-cloud-subscription", + "rawLine": " it('should allow any cloud subscription', () => {", + "line": " it('should allow any cloud subscription')", + "label": "should allow any cloud subscription", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "should-allow-enterprise-and-trial-licenses-for-on-prem", + "rawLine": " it('should allow enterprise and trial licenses for on-prem', () => {", + "line": " it('should allow enterprise and trial licenses for on-prem')", + "label": "should allow enterprise and trial licenses for on-prem", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "should-not-allow-enterprise-and-trial-licenses-for-on-prem", + "rawLine": " it('should not allow enterprise and trial licenses for on-prem', () => {", + "line": " it('should not allow enterprise and trial licenses for on-prem')", + "label": "should not allow enterprise and trial licenses for on-prem", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + } + ], + "tree": [ + { + "id": "issubscriptionallowed", + "rawLine": "describe('isSubscriptionAllowed', () => {", + "line": "describe('isSubscriptionAllowed')", + "label": "isSubscriptionAllowed", + "indent": 0, + "type": "describe", + "isSkipped": false, + "isTodo": false, + "children": [ + { + "id": "should-allow-any-cloud-subscription", + "rawLine": " it('should allow any cloud subscription', () => {", + "line": " it('should allow any cloud subscription')", + "label": "should allow any cloud subscription", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "should-allow-enterprise-and-trial-licenses-for-on-prem", + "rawLine": " it('should allow enterprise and trial licenses for on-prem', () => {", + "line": " it('should allow enterprise and trial licenses for on-prem')", + "label": "should allow enterprise and trial licenses for on-prem", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "should-not-allow-enterprise-and-trial-licenses-for-on-prem", + "rawLine": " it('should not allow enterprise and trial licenses for on-prem', () => {", + "line": " it('should not allow enterprise and trial licenses for on-prem')", + "label": "should not allow enterprise and trial licenses for on-prem", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + } + ] + } + ] + }, + { + "filePath": "x-pack/plugins/cloud_security_posture/public/application/csp_router.test.tsx", + "fileName": "csp_router.test.tsx", + "directory": "x-pack/plugins/cloud_security_posture", + "tags": [ + "UT" + ], + "lines": [ + "describe('CspRouter')", + " describe('happy path')", + " it('should render Findings')", + " it('should render Dashboards')", + " it('should render the Vulnerability Dashboard')", + " it('should render Benchmarks')", + " it('should render Rules')", + " describe('unhappy path')", + " it('should redirect base path to dashboard')", + " describe('CspRoute')", + " it('should not render disabled path')", + " it('should render SpyRoute for static paths')", + " it('should not render SpyRoute for dynamic paths')" + ], + "testSuits": [ + { + "id": "csprouter", + "rawLine": "describe('CspRouter', () => {", + "line": "describe('CspRouter')", + "label": "CspRouter", + "indent": 0, + "type": "describe", + "isSkipped": false, + "isTodo": false + }, + { + "id": "happy-path", + "rawLine": " describe('happy path', () => {", + "line": " describe('happy path')", + "label": "happy path", + "indent": 2, + "type": "describe", + "isSkipped": false, + "isTodo": false + }, + { + "id": "should-render-findings", + "rawLine": " it('should render Findings', () => {", + "line": " it('should render Findings')", + "label": "should render Findings", + "indent": 4, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "should-render-dashboards", + "rawLine": " it('should render Dashboards', () => {", + "line": " it('should render Dashboards')", + "label": "should render Dashboards", + "indent": 4, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "should-render-the-vulnerability-dashboard", + "rawLine": " it('should render the Vulnerability Dashboard', () => {", + "line": " it('should render the Vulnerability Dashboard')", + "label": "should render the Vulnerability Dashboard", + "indent": 4, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "should-render-benchmarks", + "rawLine": " it('should render Benchmarks', () => {", + "line": " it('should render Benchmarks')", + "label": "should render Benchmarks", + "indent": 4, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "should-render-rules", + "rawLine": " it('should render Rules', () => {", + "line": " it('should render Rules')", + "label": "should render Rules", + "indent": 4, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "unhappy-path", + "rawLine": " describe('unhappy path', () => {", + "line": " describe('unhappy path')", + "label": "unhappy path", + "indent": 2, + "type": "describe", + "isSkipped": false, + "isTodo": false + }, + { + "id": "should-redirect-base-path-to-dashboard", + "rawLine": " it('should redirect base path to dashboard', () => {", + "line": " it('should redirect base path to dashboard')", + "label": "should redirect base path to dashboard", + "indent": 4, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "csproute", + "rawLine": " describe('CspRoute', () => {", + "line": " describe('CspRoute')", + "label": "CspRoute", + "indent": 2, + "type": "describe", + "isSkipped": false, + "isTodo": false + }, + { + "id": "should-not-render-disabled-path", + "rawLine": " it('should not render disabled path', () => {", + "line": " it('should not render disabled path')", + "label": "should not render disabled path", + "indent": 4, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "should-render-spyroute-for-static-paths", + "rawLine": " it('should render SpyRoute for static paths', () => {", + "line": " it('should render SpyRoute for static paths')", + "label": "should render SpyRoute for static paths", + "indent": 4, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "should-not-render-spyroute-for-dynamic-paths", + "rawLine": " it('should not render SpyRoute for dynamic paths', () => {", + "line": " it('should not render SpyRoute for dynamic paths')", + "label": "should not render SpyRoute for dynamic paths", + "indent": 4, + "type": "it", + "isSkipped": false, + "isTodo": false + } + ], + "tree": [ + { + "id": "csprouter", + "rawLine": "describe('CspRouter', () => {", + "line": "describe('CspRouter')", + "label": "CspRouter", + "indent": 0, + "type": "describe", + "isSkipped": false, + "isTodo": false, + "children": [ + { + "id": "happy-path", + "rawLine": " describe('happy path', () => {", + "line": " describe('happy path')", + "label": "happy path", + "indent": 2, + "type": "describe", + "isSkipped": false, + "isTodo": false, + "children": [ + { + "id": "should-render-findings", + "rawLine": " it('should render Findings', () => {", + "line": " it('should render Findings')", + "label": "should render Findings", + "indent": 4, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "should-render-dashboards", + "rawLine": " it('should render Dashboards', () => {", + "line": " it('should render Dashboards')", + "label": "should render Dashboards", + "indent": 4, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "should-render-the-vulnerability-dashboard", + "rawLine": " it('should render the Vulnerability Dashboard', () => {", + "line": " it('should render the Vulnerability Dashboard')", + "label": "should render the Vulnerability Dashboard", + "indent": 4, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "should-render-benchmarks", + "rawLine": " it('should render Benchmarks', () => {", + "line": " it('should render Benchmarks')", + "label": "should render Benchmarks", + "indent": 4, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "should-render-rules", + "rawLine": " it('should render Rules', () => {", + "line": " it('should render Rules')", + "label": "should render Rules", + "indent": 4, + "type": "it", + "isSkipped": false, + "isTodo": false + } + ] + }, + { + "id": "unhappy-path", + "rawLine": " describe('unhappy path', () => {", + "line": " describe('unhappy path')", + "label": "unhappy path", + "indent": 2, + "type": "describe", + "isSkipped": false, + "isTodo": false, + "children": [ + { + "id": "should-redirect-base-path-to-dashboard", + "rawLine": " it('should redirect base path to dashboard', () => {", + "line": " it('should redirect base path to dashboard')", + "label": "should redirect base path to dashboard", + "indent": 4, + "type": "it", + "isSkipped": false, + "isTodo": false + } + ] + }, + { + "id": "csproute", + "rawLine": " describe('CspRoute', () => {", + "line": " describe('CspRoute')", + "label": "CspRoute", + "indent": 2, + "type": "describe", + "isSkipped": false, + "isTodo": false, + "children": [ + { + "id": "should-not-render-disabled-path", + "rawLine": " it('should not render disabled path', () => {", + "line": " it('should not render disabled path')", + "label": "should not render disabled path", + "indent": 4, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "should-render-spyroute-for-static-paths", + "rawLine": " it('should render SpyRoute for static paths', () => {", + "line": " it('should render SpyRoute for static paths')", + "label": "should render SpyRoute for static paths", + "indent": 4, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "should-not-render-spyroute-for-dynamic-paths", + "rawLine": " it('should not render SpyRoute for dynamic paths', () => {", + "line": " it('should not render SpyRoute for dynamic paths')", + "label": "should not render SpyRoute for dynamic paths", + "indent": 4, + "type": "it", + "isSkipped": false, + "isTodo": false + } + ] + } + ] + } + ] + }, + { + "filePath": "x-pack/plugins/cloud_security_posture/public/common/hooks/use_benchmark_dynamic_values.test.ts", + "fileName": "use_benchmark_dynamic_values.test.ts", + "directory": "x-pack/plugins/cloud_security_posture", + "tags": [ + "UT" + ], + "lines": [ + "describe('useBenchmarkDynamicValues')", + " it('should return the correct dynamic benchmark values for each provided benchmark ID')", + " it('should return the correct resource plurals based on the provided resource count')" + ], + "testSuits": [ + { + "id": "usebenchmarkdynamicvalues", + "rawLine": "describe('useBenchmarkDynamicValues', () => {", + "line": "describe('useBenchmarkDynamicValues')", + "label": "useBenchmarkDynamicValues", + "indent": 0, + "type": "describe", + "isSkipped": false, + "isTodo": false + }, + { + "id": "should-return-the-correct-dynamic-benchmark-values-for-each-provided-benchmark-id", + "rawLine": " it('should return the correct dynamic benchmark values for each provided benchmark ID', () => {", + "line": " it('should return the correct dynamic benchmark values for each provided benchmark ID')", + "label": "should return the correct dynamic benchmark values for each provided benchmark ID", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "should-return-the-correct-resource-plurals-based-on-the-provided-resource-count", + "rawLine": " it('should return the correct resource plurals based on the provided resource count', () => {", + "line": " it('should return the correct resource plurals based on the provided resource count')", + "label": "should return the correct resource plurals based on the provided resource count", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + } + ], + "tree": [ + { + "id": "usebenchmarkdynamicvalues", + "rawLine": "describe('useBenchmarkDynamicValues', () => {", + "line": "describe('useBenchmarkDynamicValues')", + "label": "useBenchmarkDynamicValues", + "indent": 0, + "type": "describe", + "isSkipped": false, + "isTodo": false, + "children": [ + { + "id": "should-return-the-correct-dynamic-benchmark-values-for-each-provided-benchmark-id", + "rawLine": " it('should return the correct dynamic benchmark values for each provided benchmark ID', () => {", + "line": " it('should return the correct dynamic benchmark values for each provided benchmark ID')", + "label": "should return the correct dynamic benchmark values for each provided benchmark ID", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "should-return-the-correct-resource-plurals-based-on-the-provided-resource-count", + "rawLine": " it('should return the correct resource plurals based on the provided resource count', () => {", + "line": " it('should return the correct resource plurals based on the provided resource count')", + "label": "should return the correct resource plurals based on the provided resource count", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + } + ] + } + ] + }, + { + "filePath": "x-pack/plugins/cloud_security_posture/public/common/hooks/use_navigate_findings.test.ts", + "fileName": "use_navigate_findings.test.ts", + "directory": "x-pack/plugins/cloud_security_posture", + "tags": [ + "UT" + ], + "lines": [ + "describe('useNavigateFindings')", + " it('creates a URL to findings page with correct path, filter and dataViewId')", + " it('creates a URL to findings page with correct path and negated filter')", + " it('creates a URL to findings resource page with correct path and filter')", + " it('creates a URL to vulnerabilities page with correct path, filter and dataViewId')" + ], + "testSuits": [ + { + "id": "usenavigatefindings", + "rawLine": "describe('useNavigateFindings', () => {", + "line": "describe('useNavigateFindings')", + "label": "useNavigateFindings", + "indent": 0, + "type": "describe", + "isSkipped": false, + "isTodo": false + }, + { + "id": "creates-a-url-to-findings-page-with-correct-path,-filter-and-dataviewid", + "rawLine": " it('creates a URL to findings page with correct path, filter and dataViewId', () => {", + "line": " it('creates a URL to findings page with correct path, filter and dataViewId')", + "label": "creates a URL to findings page with correct path, filter and dataViewId", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "creates-a-url-to-findings-page-with-correct-path-and-negated-filter", + "rawLine": " it('creates a URL to findings page with correct path and negated filter', () => {", + "line": " it('creates a URL to findings page with correct path and negated filter')", + "label": "creates a URL to findings page with correct path and negated filter", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "creates-a-url-to-findings-resource-page-with-correct-path-and-filter", + "rawLine": " it('creates a URL to findings resource page with correct path and filter', () => {", + "line": " it('creates a URL to findings resource page with correct path and filter')", + "label": "creates a URL to findings resource page with correct path and filter", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "creates-a-url-to-vulnerabilities-page-with-correct-path,-filter-and-dataviewid", + "rawLine": " it('creates a URL to vulnerabilities page with correct path, filter and dataViewId', () => {", + "line": " it('creates a URL to vulnerabilities page with correct path, filter and dataViewId')", + "label": "creates a URL to vulnerabilities page with correct path, filter and dataViewId", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + } + ], + "tree": [ + { + "id": "usenavigatefindings", + "rawLine": "describe('useNavigateFindings', () => {", + "line": "describe('useNavigateFindings')", + "label": "useNavigateFindings", + "indent": 0, + "type": "describe", + "isSkipped": false, + "isTodo": false, + "children": [ + { + "id": "creates-a-url-to-findings-page-with-correct-path,-filter-and-dataviewid", + "rawLine": " it('creates a URL to findings page with correct path, filter and dataViewId', () => {", + "line": " it('creates a URL to findings page with correct path, filter and dataViewId')", + "label": "creates a URL to findings page with correct path, filter and dataViewId", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "creates-a-url-to-findings-page-with-correct-path-and-negated-filter", + "rawLine": " it('creates a URL to findings page with correct path and negated filter', () => {", + "line": " it('creates a URL to findings page with correct path and negated filter')", + "label": "creates a URL to findings page with correct path and negated filter", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "creates-a-url-to-findings-resource-page-with-correct-path-and-filter", + "rawLine": " it('creates a URL to findings resource page with correct path and filter', () => {", + "line": " it('creates a URL to findings resource page with correct path and filter')", + "label": "creates a URL to findings resource page with correct path and filter", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "creates-a-url-to-vulnerabilities-page-with-correct-path,-filter-and-dataviewid", + "rawLine": " it('creates a URL to vulnerabilities page with correct path, filter and dataViewId', () => {", + "line": " it('creates a URL to vulnerabilities page with correct path, filter and dataViewId')", + "label": "creates a URL to vulnerabilities page with correct path, filter and dataViewId", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + } + ] + } + ] + }, + { + "filePath": "x-pack/plugins/cloud_security_posture/public/common/hooks/use_url_query.test.ts", + "fileName": "use_url_query.test.ts", + "directory": "x-pack/plugins/cloud_security_posture", + "tags": [ + "UT" + ], + "lines": [ + "describe('useUrlQuery')", + " it('uses default query when no query is provided')", + " it('merges default query, partial first query and partial second query')" + ], + "testSuits": [ + { + "id": "useurlquery", + "rawLine": "describe('useUrlQuery', () => {", + "line": "describe('useUrlQuery')", + "label": "useUrlQuery", + "indent": 0, + "type": "describe", + "isSkipped": false, + "isTodo": false + }, + { + "id": "uses-default-query-when-no-query-is-provided", + "rawLine": " it('uses default query when no query is provided', () => {", + "line": " it('uses default query when no query is provided')", + "label": "uses default query when no query is provided", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "merges-default-query,-partial-first-query-and-partial-second-query", + "rawLine": " it('merges default query, partial first query and partial second query', () => {", + "line": " it('merges default query, partial first query and partial second query')", + "label": "merges default query, partial first query and partial second query", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + } + ], + "tree": [ + { + "id": "useurlquery", + "rawLine": "describe('useUrlQuery', () => {", + "line": "describe('useUrlQuery')", + "label": "useUrlQuery", + "indent": 0, + "type": "describe", + "isSkipped": false, + "isTodo": false, + "children": [ + { + "id": "uses-default-query-when-no-query-is-provided", + "rawLine": " it('uses default query when no query is provided', () => {", + "line": " it('uses default query when no query is provided')", + "label": "uses default query when no query is provided", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "merges-default-query,-partial-first-query-and-partial-second-query", + "rawLine": " it('merges default query, partial first query and partial second query', () => {", + "line": " it('merges default query, partial first query and partial second query')", + "label": "merges default query, partial first query and partial second query", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + } + ] + } + ] + }, + { + "filePath": "x-pack/plugins/cloud_security_posture/public/common/navigation/security_solution_links.test.ts", + "fileName": "security_solution_links.test.ts", + "directory": "x-pack/plugins/cloud_security_posture", + "tags": [ + "UT" + ], + "lines": [ + "describe('getSecuritySolutionLink')", + " it('gets the correct link properties')" + ], + "testSuits": [ + { + "id": "getsecuritysolutionlink", + "rawLine": "describe('getSecuritySolutionLink', () => {", + "line": "describe('getSecuritySolutionLink')", + "label": "getSecuritySolutionLink", + "indent": 0, + "type": "describe", + "isSkipped": false, + "isTodo": false + }, + { + "id": "gets-the-correct-link-properties", + "rawLine": " it('gets the correct link properties', () => {", + "line": " it('gets the correct link properties')", + "label": "gets the correct link properties", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + } + ], + "tree": [ + { + "id": "getsecuritysolutionlink", + "rawLine": "describe('getSecuritySolutionLink', () => {", + "line": "describe('getSecuritySolutionLink')", + "label": "getSecuritySolutionLink", + "indent": 0, + "type": "describe", + "isSkipped": false, + "isTodo": false, + "children": [ + { + "id": "gets-the-correct-link-properties", + "rawLine": " it('gets the correct link properties', () => {", + "line": " it('gets the correct link properties')", + "label": "gets the correct link properties", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + } + ] + } + ] + }, + { + "filePath": "x-pack/plugins/cloud_security_posture/public/common/utils/get_abbreviated_number.test.ts", + "fileName": "get_abbreviated_number.test.ts", + "directory": "x-pack/plugins/cloud_security_posture", + "tags": [ + "UT" + ], + "lines": [ + "describe('getAbbreviatedNumber')", + " it('should return the same value if it is less than 1000')", + " it('should use numeral to format the value if it is greater than or equal to 1000')", + " it('should return 0 if the value is NaN')" + ], + "testSuits": [ + { + "id": "getabbreviatednumber", + "rawLine": "describe('getAbbreviatedNumber', () => {", + "line": "describe('getAbbreviatedNumber')", + "label": "getAbbreviatedNumber", + "indent": 0, + "type": "describe", + "isSkipped": false, + "isTodo": false + }, + { + "id": "should-return-the-same-value-if-it-is-less-than-1000", + "rawLine": " it('should return the same value if it is less than 1000', () => {", + "line": " it('should return the same value if it is less than 1000')", + "label": "should return the same value if it is less than 1000", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "should-use-numeral-to-format-the-value-if-it-is-greater-than-or-equal-to-1000", + "rawLine": " it('should use numeral to format the value if it is greater than or equal to 1000', () => {", + "line": " it('should use numeral to format the value if it is greater than or equal to 1000')", + "label": "should use numeral to format the value if it is greater than or equal to 1000", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "should-return-0-if-the-value-is-nan", + "rawLine": " it('should return 0 if the value is NaN', () => {", + "line": " it('should return 0 if the value is NaN')", + "label": "should return 0 if the value is NaN", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + } + ], + "tree": [ + { + "id": "getabbreviatednumber", + "rawLine": "describe('getAbbreviatedNumber', () => {", + "line": "describe('getAbbreviatedNumber')", + "label": "getAbbreviatedNumber", + "indent": 0, + "type": "describe", + "isSkipped": false, + "isTodo": false, + "children": [ + { + "id": "should-return-the-same-value-if-it-is-less-than-1000", + "rawLine": " it('should return the same value if it is less than 1000', () => {", + "line": " it('should return the same value if it is less than 1000')", + "label": "should return the same value if it is less than 1000", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "should-use-numeral-to-format-the-value-if-it-is-greater-than-or-equal-to-1000", + "rawLine": " it('should use numeral to format the value if it is greater than or equal to 1000', () => {", + "line": " it('should use numeral to format the value if it is greater than or equal to 1000')", + "label": "should use numeral to format the value if it is greater than or equal to 1000", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "should-return-0-if-the-value-is-nan", + "rawLine": " it('should return 0 if the value is NaN', () => {", + "line": " it('should return 0 if the value is NaN')", + "label": "should return 0 if the value is NaN", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + } + ] + } + ] + }, + { + "filePath": "x-pack/plugins/cloud_security_posture/public/common/utils/get_limit_properties.test.ts", + "fileName": "get_limit_properties.test.ts", + "directory": "x-pack/plugins/cloud_security_posture", + "tags": [ + "UT" + ], + "lines": [ + "describe('getLimitProperties')", + " it('less items than limit')", + " it('more items than limit')", + " it('per page calculations are correct')" + ], + "testSuits": [ + { + "id": "getlimitproperties", + "rawLine": "describe('getLimitProperties', () => {", + "line": "describe('getLimitProperties')", + "label": "getLimitProperties", + "indent": 0, + "type": "describe", + "isSkipped": false, + "isTodo": false + }, + { + "id": "less-items-than-limit", + "rawLine": " it('less items than limit', () => {", + "line": " it('less items than limit')", + "label": "less items than limit", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "more-items-than-limit", + "rawLine": " it('more items than limit', () => {", + "line": " it('more items than limit')", + "label": "more items than limit", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "per-page-calculations-are-correct", + "rawLine": " it('per page calculations are correct', () => {", + "line": " it('per page calculations are correct')", + "label": "per page calculations are correct", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + } + ], + "tree": [ + { + "id": "getlimitproperties", + "rawLine": "describe('getLimitProperties', () => {", + "line": "describe('getLimitProperties')", + "label": "getLimitProperties", + "indent": 0, + "type": "describe", + "isSkipped": false, + "isTodo": false, + "children": [ + { + "id": "less-items-than-limit", + "rawLine": " it('less items than limit', () => {", + "line": " it('less items than limit')", + "label": "less items than limit", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "more-items-than-limit", + "rawLine": " it('more items than limit', () => {", + "line": " it('more items than limit')", + "label": "more items than limit", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "per-page-calculations-are-correct", + "rawLine": " it('per page calculations are correct', () => {", + "line": " it('per page calculations are correct')", + "label": "per page calculations are correct", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + } + ] + } + ] + }, + { + "filePath": "x-pack/plugins/cloud_security_posture/public/common/utils/get_vulnerabiltity_colors.test.ts", + "fileName": "get_vulnerabiltity_colors.test.ts", + "directory": "x-pack/plugins/cloud_security_posture", + "tags": [ + "UT" + ], + "lines": [ + "describe('getCvsScoreColor')", + " it('returns correct color for low severity score')", + " it('returns correct color for medium severity score')", + " it('returns correct color for high severity score')", + " it('returns correct color for critical severity score')", + " it('returns correct color for low severity score for undefined value')", + "describe('getSeverityStatusColor')", + " it('should return the correct color for LOW severity')", + " it('should return the correct color for MEDIUM severity')", + " it('should return the correct color for HIGH severity')", + " it('should return the correct color for CRITICAL severity')", + " it('should return #aaa for an unknown severity')" + ], + "testSuits": [ + { + "id": "getcvsscorecolor", + "rawLine": "describe('getCvsScoreColor', () => {", + "line": "describe('getCvsScoreColor')", + "label": "getCvsScoreColor", + "indent": 0, + "type": "describe", + "isSkipped": false, + "isTodo": false + }, + { + "id": "returns-correct-color-for-low-severity-score", + "rawLine": " it('returns correct color for low severity score', () => {", + "line": " it('returns correct color for low severity score')", + "label": "returns correct color for low severity score", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "returns-correct-color-for-medium-severity-score", + "rawLine": " it('returns correct color for medium severity score', () => {", + "line": " it('returns correct color for medium severity score')", + "label": "returns correct color for medium severity score", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "returns-correct-color-for-high-severity-score", + "rawLine": " it('returns correct color for high severity score', () => {", + "line": " it('returns correct color for high severity score')", + "label": "returns correct color for high severity score", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "returns-correct-color-for-critical-severity-score", + "rawLine": " it('returns correct color for critical severity score', () => {", + "line": " it('returns correct color for critical severity score')", + "label": "returns correct color for critical severity score", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "returns-correct-color-for-low-severity-score-for-undefined-value", + "rawLine": " it('returns correct color for low severity score for undefined value', () => {", + "line": " it('returns correct color for low severity score for undefined value')", + "label": "returns correct color for low severity score for undefined value", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "getseveritystatuscolor", + "rawLine": "describe('getSeverityStatusColor', () => {", + "line": "describe('getSeverityStatusColor')", + "label": "getSeverityStatusColor", + "indent": 0, + "type": "describe", + "isSkipped": false, + "isTodo": false + }, + { + "id": "should-return-the-correct-color-for-low-severity", + "rawLine": " it('should return the correct color for LOW severity', () => {", + "line": " it('should return the correct color for LOW severity')", + "label": "should return the correct color for LOW severity", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "should-return-the-correct-color-for-medium-severity", + "rawLine": " it('should return the correct color for MEDIUM severity', () => {", + "line": " it('should return the correct color for MEDIUM severity')", + "label": "should return the correct color for MEDIUM severity", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "should-return-the-correct-color-for-high-severity", + "rawLine": " it('should return the correct color for HIGH severity', () => {", + "line": " it('should return the correct color for HIGH severity')", + "label": "should return the correct color for HIGH severity", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "should-return-the-correct-color-for-critical-severity", + "rawLine": " it('should return the correct color for CRITICAL severity', () => {", + "line": " it('should return the correct color for CRITICAL severity')", + "label": "should return the correct color for CRITICAL severity", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "should-return-#aaa-for-an-unknown-severity", + "rawLine": " it('should return #aaa for an unknown severity', () => {", + "line": " it('should return #aaa for an unknown severity')", + "label": "should return #aaa for an unknown severity", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + } + ], + "tree": [ + { + "id": "getcvsscorecolor", + "rawLine": "describe('getCvsScoreColor', () => {", + "line": "describe('getCvsScoreColor')", + "label": "getCvsScoreColor", + "indent": 0, + "type": "describe", + "isSkipped": false, + "isTodo": false, + "children": [ + { + "id": "returns-correct-color-for-low-severity-score", + "rawLine": " it('returns correct color for low severity score', () => {", + "line": " it('returns correct color for low severity score')", + "label": "returns correct color for low severity score", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "returns-correct-color-for-medium-severity-score", + "rawLine": " it('returns correct color for medium severity score', () => {", + "line": " it('returns correct color for medium severity score')", + "label": "returns correct color for medium severity score", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "returns-correct-color-for-high-severity-score", + "rawLine": " it('returns correct color for high severity score', () => {", + "line": " it('returns correct color for high severity score')", + "label": "returns correct color for high severity score", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "returns-correct-color-for-critical-severity-score", + "rawLine": " it('returns correct color for critical severity score', () => {", + "line": " it('returns correct color for critical severity score')", + "label": "returns correct color for critical severity score", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "returns-correct-color-for-low-severity-score-for-undefined-value", + "rawLine": " it('returns correct color for low severity score for undefined value', () => {", + "line": " it('returns correct color for low severity score for undefined value')", + "label": "returns correct color for low severity score for undefined value", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + } + ] + }, + { + "id": "getseveritystatuscolor", + "rawLine": "describe('getSeverityStatusColor', () => {", + "line": "describe('getSeverityStatusColor')", + "label": "getSeverityStatusColor", + "indent": 0, + "type": "describe", + "isSkipped": false, + "isTodo": false, + "children": [ + { + "id": "should-return-the-correct-color-for-low-severity", + "rawLine": " it('should return the correct color for LOW severity', () => {", + "line": " it('should return the correct color for LOW severity')", + "label": "should return the correct color for LOW severity", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "should-return-the-correct-color-for-medium-severity", + "rawLine": " it('should return the correct color for MEDIUM severity', () => {", + "line": " it('should return the correct color for MEDIUM severity')", + "label": "should return the correct color for MEDIUM severity", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "should-return-the-correct-color-for-high-severity", + "rawLine": " it('should return the correct color for HIGH severity', () => {", + "line": " it('should return the correct color for HIGH severity')", + "label": "should return the correct color for HIGH severity", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "should-return-the-correct-color-for-critical-severity", + "rawLine": " it('should return the correct color for CRITICAL severity', () => {", + "line": " it('should return the correct color for CRITICAL severity')", + "label": "should return the correct color for CRITICAL severity", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "should-return-#aaa-for-an-unknown-severity", + "rawLine": " it('should return #aaa for an unknown severity', () => {", + "line": " it('should return #aaa for an unknown severity')", + "label": "should return #aaa for an unknown severity", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + } + ] + } + ] + }, + { + "filePath": "x-pack/plugins/cloud_security_posture/public/components/accounts_evaluated_widget.test.tsx", + "fileName": "accounts_evaluated_widget.test.tsx", + "directory": "x-pack/plugins/cloud_security_posture", + "tags": [ + "UT" + ], + "lines": [ + "describe('AccountsEvaluatedWidget')", + " it('renders the component with benchmark data correctly')", + " it('calls navToFindingsByCloudProvider when a benchmark with provider is clicked')", + " it('calls navToFindingsByCisBenchmark when a benchmark with benchmarkId is clicked')" + ], + "testSuits": [ + { + "id": "accountsevaluatedwidget", + "rawLine": "describe('AccountsEvaluatedWidget', () => {", + "line": "describe('AccountsEvaluatedWidget')", + "label": "AccountsEvaluatedWidget", + "indent": 0, + "type": "describe", + "isSkipped": false, + "isTodo": false + }, + { + "id": "renders-the-component-with-benchmark-data-correctly", + "rawLine": " it('renders the component with benchmark data correctly', () => {", + "line": " it('renders the component with benchmark data correctly')", + "label": "renders the component with benchmark data correctly", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "calls-navtofindingsbycloudprovider-when-a-benchmark-with-provider-is-clicked", + "rawLine": " it('calls navToFindingsByCloudProvider when a benchmark with provider is clicked', () => {", + "line": " it('calls navToFindingsByCloudProvider when a benchmark with provider is clicked')", + "label": "calls navToFindingsByCloudProvider when a benchmark with provider is clicked", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "calls-navtofindingsbycisbenchmark-when-a-benchmark-with-benchmarkid-is-clicked", + "rawLine": " it('calls navToFindingsByCisBenchmark when a benchmark with benchmarkId is clicked', () => {", + "line": " it('calls navToFindingsByCisBenchmark when a benchmark with benchmarkId is clicked')", + "label": "calls navToFindingsByCisBenchmark when a benchmark with benchmarkId is clicked", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + } + ], + "tree": [ + { + "id": "accountsevaluatedwidget", + "rawLine": "describe('AccountsEvaluatedWidget', () => {", + "line": "describe('AccountsEvaluatedWidget')", + "label": "AccountsEvaluatedWidget", + "indent": 0, + "type": "describe", + "isSkipped": false, + "isTodo": false, + "children": [ + { + "id": "renders-the-component-with-benchmark-data-correctly", + "rawLine": " it('renders the component with benchmark data correctly', () => {", + "line": " it('renders the component with benchmark data correctly')", + "label": "renders the component with benchmark data correctly", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "calls-navtofindingsbycloudprovider-when-a-benchmark-with-provider-is-clicked", + "rawLine": " it('calls navToFindingsByCloudProvider when a benchmark with provider is clicked', () => {", + "line": " it('calls navToFindingsByCloudProvider when a benchmark with provider is clicked')", + "label": "calls navToFindingsByCloudProvider when a benchmark with provider is clicked", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "calls-navtofindingsbycisbenchmark-when-a-benchmark-with-benchmarkid-is-clicked", + "rawLine": " it('calls navToFindingsByCisBenchmark when a benchmark with benchmarkId is clicked', () => {", + "line": " it('calls navToFindingsByCisBenchmark when a benchmark with benchmarkId is clicked')", + "label": "calls navToFindingsByCisBenchmark when a benchmark with benchmarkId is clicked", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + } + ] + } + ] + }, + { + "filePath": "x-pack/plugins/cloud_security_posture/public/components/chart_panel.test.tsx", + "fileName": "chart_panel.test.tsx", + "directory": "x-pack/plugins/cloud_security_posture", + "tags": [ + "UT" + ], + "lines": [ + "describe('')", + " it('renders loading state')", + " it('renders error state')", + " it('renders chart component')" + ], + "testSuits": [ + { + "id": "", + "rawLine": "describe('', () => {", + "line": "describe('')", + "label": "", + "indent": 0, + "type": "describe", + "isSkipped": false, + "isTodo": false + }, + { + "id": "renders-loading-state", + "rawLine": " it('renders loading state', () => {", + "line": " it('renders loading state')", + "label": "renders loading state", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "renders-error-state", + "rawLine": " it('renders error state', () => {", + "line": " it('renders error state')", + "label": "renders error state", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "renders-chart-component", + "rawLine": " it('renders chart component', () => {", + "line": " it('renders chart component')", + "label": "renders chart component", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + } + ], + "tree": [ + { + "id": "", + "rawLine": "describe('', () => {", + "line": "describe('')", + "label": "", + "indent": 0, + "type": "describe", + "isSkipped": false, + "isTodo": false, + "children": [ + { + "id": "renders-loading-state", + "rawLine": " it('renders loading state', () => {", + "line": " it('renders loading state')", + "label": "renders loading state", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "renders-error-state", + "rawLine": " it('renders error state', () => {", + "line": " it('renders error state')", + "label": "renders error state", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "renders-chart-component", + "rawLine": " it('renders chart component', () => {", + "line": " it('renders chart component')", + "label": "renders chart component", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + } + ] + } + ] + }, + { + "filePath": "x-pack/plugins/cloud_security_posture/public/components/cloud_posture_page.test.tsx", + "fileName": "cloud_posture_page.test.tsx", + "directory": "x-pack/plugins/cloud_security_posture", + "tags": [ + "UT" + ], + "lines": [ + "describe('')", + " it('renders with license url locator')", + " it('renders no license url locator')", + " it('renders children if setup status is indexed')", + " it('renders default loading state when the subscription query is loading')", + " it('renders default error state when the subscription query has an error')", + " it('renders subscription not allowed prompt if subscription is not installed')", + " it('renders default loading text when query isLoading')", + " it('renders default loading text when query is idle')", + " it('renders default error texts when query isError')", + " it('prefers custom error render')", + " it('prefers custom loading render')", + " it('renders no data prompt when query data is undefined')", + " it('prefers custom no data prompt')" + ], + "testSuits": [ + { + "id": "", + "rawLine": "describe('', () => {", + "line": "describe('')", + "label": "", + "indent": 0, + "type": "describe", + "isSkipped": false, + "isTodo": false + }, + { + "id": "renders-with-license-url-locator", + "rawLine": " it('renders with license url locator', () => {", + "line": " it('renders with license url locator')", + "label": "renders with license url locator", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "renders-no-license-url-locator", + "rawLine": " it('renders no license url locator', () => {", + "line": " it('renders no license url locator')", + "label": "renders no license url locator", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "renders-children-if-setup-status-is-indexed", + "rawLine": " it('renders children if setup status is indexed', () => {", + "line": " it('renders children if setup status is indexed')", + "label": "renders children if setup status is indexed", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "renders-default-loading-state-when-the-subscription-query-is-loading", + "rawLine": " it('renders default loading state when the subscription query is loading', () => {", + "line": " it('renders default loading state when the subscription query is loading')", + "label": "renders default loading state when the subscription query is loading", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "renders-default-error-state-when-the-subscription-query-has-an-error", + "rawLine": " it('renders default error state when the subscription query has an error', () => {", + "line": " it('renders default error state when the subscription query has an error')", + "label": "renders default error state when the subscription query has an error", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "renders-subscription-not-allowed-prompt-if-subscription-is-not-installed", + "rawLine": " it('renders subscription not allowed prompt if subscription is not installed', () => {", + "line": " it('renders subscription not allowed prompt if subscription is not installed')", + "label": "renders subscription not allowed prompt if subscription is not installed", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "renders-default-loading-text-when-query-isloading", + "rawLine": " it('renders default loading text when query isLoading', () => {", + "line": " it('renders default loading text when query isLoading')", + "label": "renders default loading text when query isLoading", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "renders-default-loading-text-when-query-is-idle", + "rawLine": " it('renders default loading text when query is idle', () => {", + "line": " it('renders default loading text when query is idle')", + "label": "renders default loading text when query is idle", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "renders-default-error-texts-when-query-iserror", + "rawLine": " it('renders default error texts when query isError', () => {", + "line": " it('renders default error texts when query isError')", + "label": "renders default error texts when query isError", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "prefers-custom-error-render", + "rawLine": " it('prefers custom error render', () => {", + "line": " it('prefers custom error render')", + "label": "prefers custom error render", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "prefers-custom-loading-render", + "rawLine": " it('prefers custom loading render', () => {", + "line": " it('prefers custom loading render')", + "label": "prefers custom loading render", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "renders-no-data-prompt-when-query-data-is-undefined", + "rawLine": " it('renders no data prompt when query data is undefined', () => {", + "line": " it('renders no data prompt when query data is undefined')", + "label": "renders no data prompt when query data is undefined", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "prefers-custom-no-data-prompt", + "rawLine": " it('prefers custom no data prompt', () => {", + "line": " it('prefers custom no data prompt')", + "label": "prefers custom no data prompt", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + } + ], + "tree": [ + { + "id": "", + "rawLine": "describe('', () => {", + "line": "describe('')", + "label": "", + "indent": 0, + "type": "describe", + "isSkipped": false, + "isTodo": false, + "children": [ + { + "id": "renders-with-license-url-locator", + "rawLine": " it('renders with license url locator', () => {", + "line": " it('renders with license url locator')", + "label": "renders with license url locator", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "renders-no-license-url-locator", + "rawLine": " it('renders no license url locator', () => {", + "line": " it('renders no license url locator')", + "label": "renders no license url locator", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "renders-children-if-setup-status-is-indexed", + "rawLine": " it('renders children if setup status is indexed', () => {", + "line": " it('renders children if setup status is indexed')", + "label": "renders children if setup status is indexed", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "renders-default-loading-state-when-the-subscription-query-is-loading", + "rawLine": " it('renders default loading state when the subscription query is loading', () => {", + "line": " it('renders default loading state when the subscription query is loading')", + "label": "renders default loading state when the subscription query is loading", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "renders-default-error-state-when-the-subscription-query-has-an-error", + "rawLine": " it('renders default error state when the subscription query has an error', () => {", + "line": " it('renders default error state when the subscription query has an error')", + "label": "renders default error state when the subscription query has an error", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "renders-subscription-not-allowed-prompt-if-subscription-is-not-installed", + "rawLine": " it('renders subscription not allowed prompt if subscription is not installed', () => {", + "line": " it('renders subscription not allowed prompt if subscription is not installed')", + "label": "renders subscription not allowed prompt if subscription is not installed", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "renders-default-loading-text-when-query-isloading", + "rawLine": " it('renders default loading text when query isLoading', () => {", + "line": " it('renders default loading text when query isLoading')", + "label": "renders default loading text when query isLoading", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "renders-default-loading-text-when-query-is-idle", + "rawLine": " it('renders default loading text when query is idle', () => {", + "line": " it('renders default loading text when query is idle')", + "label": "renders default loading text when query is idle", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "renders-default-error-texts-when-query-iserror", + "rawLine": " it('renders default error texts when query isError', () => {", + "line": " it('renders default error texts when query isError')", + "label": "renders default error texts when query isError", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "prefers-custom-error-render", + "rawLine": " it('prefers custom error render', () => {", + "line": " it('prefers custom error render')", + "label": "prefers custom error render", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "prefers-custom-loading-render", + "rawLine": " it('prefers custom loading render', () => {", + "line": " it('prefers custom loading render')", + "label": "prefers custom loading render", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "renders-no-data-prompt-when-query-data-is-undefined", + "rawLine": " it('renders no data prompt when query data is undefined', () => {", + "line": " it('renders no data prompt when query data is undefined')", + "label": "renders no data prompt when query data is undefined", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "prefers-custom-no-data-prompt", + "rawLine": " it('prefers custom no data prompt', () => {", + "line": " it('prefers custom no data prompt')", + "label": "prefers custom no data prompt", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + } + ] + } + ] + }, + { + "filePath": "x-pack/plugins/cloud_security_posture/public/components/cloud_security_data_table/cloud_security_data_table.test.tsx", + "fileName": "cloud_security_data_table.test.tsx", + "directory": "x-pack/plugins/cloud_security_posture", + "tags": [ + "UT" + ], + "lines": [ + "describe('CloudSecurityDataTable')", + " it('renders loading state')", + " it('renders empty state when no rows are present')", + " it('renders data table with rows')" + ], + "testSuits": [ + { + "id": "cloudsecuritydatatable", + "rawLine": "describe('CloudSecurityDataTable', () => {", + "line": "describe('CloudSecurityDataTable')", + "label": "CloudSecurityDataTable", + "indent": 0, + "type": "describe", + "isSkipped": false, + "isTodo": false + }, + { + "id": "renders-loading-state", + "rawLine": " it('renders loading state', () => {", + "line": " it('renders loading state')", + "label": "renders loading state", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "renders-empty-state-when-no-rows-are-present", + "rawLine": " it('renders empty state when no rows are present', () => {", + "line": " it('renders empty state when no rows are present')", + "label": "renders empty state when no rows are present", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "renders-data-table-with-rows", + "rawLine": " it('renders data table with rows', async () => {", + "line": " it('renders data table with rows')", + "label": "renders data table with rows", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + } + ], + "tree": [ + { + "id": "cloudsecuritydatatable", + "rawLine": "describe('CloudSecurityDataTable', () => {", + "line": "describe('CloudSecurityDataTable')", + "label": "CloudSecurityDataTable", + "indent": 0, + "type": "describe", + "isSkipped": false, + "isTodo": false, + "children": [ + { + "id": "renders-loading-state", + "rawLine": " it('renders loading state', () => {", + "line": " it('renders loading state')", + "label": "renders loading state", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "renders-empty-state-when-no-rows-are-present", + "rawLine": " it('renders empty state when no rows are present', () => {", + "line": " it('renders empty state when no rows are present')", + "label": "renders empty state when no rows are present", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "renders-data-table-with-rows", + "rawLine": " it('renders data table with rows', async () => {", + "line": " it('renders data table with rows')", + "label": "renders data table with rows", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + } + ] + } + ] + }, + { + "filePath": "x-pack/plugins/cloud_security_posture/public/components/cloud_security_data_table/fields_selector/fields_selector_table.test.tsx", + "fileName": "fields_selector_table.test.tsx", + "directory": "x-pack/plugins/cloud_security_posture", + "tags": [ + "UT" + ], + "lines": [ + "describe('FieldsSelectorTable')", + " it('renders the table with data correctly')", + " it('calls onAddColumn when a checkbox is checked')", + " it('calls onRemoveColumn when a checkbox is unchecked')", + " describe('View selected')", + " it('should render \"view all\" option when filterSelected is not enabled')", + " it('should render \"view selected\" option when filterSelected is not enabled')", + " it('should open the view selector with button click')", + " it('should callback when \"view all\" option is clicked')", + " it('should callback when \"view selected\" option is clicked')" + ], + "testSuits": [ + { + "id": "fieldsselectortable", + "rawLine": "describe('FieldsSelectorTable', () => {", + "line": "describe('FieldsSelectorTable')", + "label": "FieldsSelectorTable", + "indent": 0, + "type": "describe", + "isSkipped": false, + "isTodo": false + }, + { + "id": "renders-the-table-with-data-correctly", + "rawLine": " it('renders the table with data correctly', () => {", + "line": " it('renders the table with data correctly')", + "label": "renders the table with data correctly", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "calls-onaddcolumn-when-a-checkbox-is-checked", + "rawLine": " it('calls onAddColumn when a checkbox is checked', () => {", + "line": " it('calls onAddColumn when a checkbox is checked')", + "label": "calls onAddColumn when a checkbox is checked", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "calls-onremovecolumn-when-a-checkbox-is-unchecked", + "rawLine": " it('calls onRemoveColumn when a checkbox is unchecked', () => {", + "line": " it('calls onRemoveColumn when a checkbox is unchecked')", + "label": "calls onRemoveColumn when a checkbox is unchecked", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "view-selected", + "rawLine": " describe('View selected', () => {", + "line": " describe('View selected')", + "label": "View selected", + "indent": 2, + "type": "describe", + "isSkipped": false, + "isTodo": false + }, + { + "id": "should-render-\"view-all\"-option-when-filterselected-is-not-enabled", + "rawLine": " it('should render \"view all\" option when filterSelected is not enabled', () => {", + "line": " it('should render \"view all\" option when filterSelected is not enabled')", + "label": "should render \"view all\" option when filterSelected is not enabled", + "indent": 4, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "should-render-\"view-selected\"-option-when-filterselected-is-not-enabled", + "rawLine": " it('should render \"view selected\" option when filterSelected is not enabled', () => {", + "line": " it('should render \"view selected\" option when filterSelected is not enabled')", + "label": "should render \"view selected\" option when filterSelected is not enabled", + "indent": 4, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "should-open-the-view-selector-with-button-click", + "rawLine": " it('should open the view selector with button click', async () => {", + "line": " it('should open the view selector with button click')", + "label": "should open the view selector with button click", + "indent": 4, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "should-callback-when-\"view-all\"-option-is-clicked", + "rawLine": " it('should callback when \"view all\" option is clicked', async () => {", + "line": " it('should callback when \"view all\" option is clicked')", + "label": "should callback when \"view all\" option is clicked", + "indent": 4, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "should-callback-when-\"view-selected\"-option-is-clicked", + "rawLine": " it('should callback when \"view selected\" option is clicked', async () => {", + "line": " it('should callback when \"view selected\" option is clicked')", + "label": "should callback when \"view selected\" option is clicked", + "indent": 4, + "type": "it", + "isSkipped": false, + "isTodo": false + } + ], + "tree": [ + { + "id": "fieldsselectortable", + "rawLine": "describe('FieldsSelectorTable', () => {", + "line": "describe('FieldsSelectorTable')", + "label": "FieldsSelectorTable", + "indent": 0, + "type": "describe", + "isSkipped": false, + "isTodo": false, + "children": [ + { + "id": "renders-the-table-with-data-correctly", + "rawLine": " it('renders the table with data correctly', () => {", + "line": " it('renders the table with data correctly')", + "label": "renders the table with data correctly", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "calls-onaddcolumn-when-a-checkbox-is-checked", + "rawLine": " it('calls onAddColumn when a checkbox is checked', () => {", + "line": " it('calls onAddColumn when a checkbox is checked')", + "label": "calls onAddColumn when a checkbox is checked", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "calls-onremovecolumn-when-a-checkbox-is-unchecked", + "rawLine": " it('calls onRemoveColumn when a checkbox is unchecked', () => {", + "line": " it('calls onRemoveColumn when a checkbox is unchecked')", + "label": "calls onRemoveColumn when a checkbox is unchecked", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "view-selected", + "rawLine": " describe('View selected', () => {", + "line": " describe('View selected')", + "label": "View selected", + "indent": 2, + "type": "describe", + "isSkipped": false, + "isTodo": false, + "children": [ + { + "id": "should-render-\"view-all\"-option-when-filterselected-is-not-enabled", + "rawLine": " it('should render \"view all\" option when filterSelected is not enabled', () => {", + "line": " it('should render \"view all\" option when filterSelected is not enabled')", + "label": "should render \"view all\" option when filterSelected is not enabled", + "indent": 4, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "should-render-\"view-selected\"-option-when-filterselected-is-not-enabled", + "rawLine": " it('should render \"view selected\" option when filterSelected is not enabled', () => {", + "line": " it('should render \"view selected\" option when filterSelected is not enabled')", + "label": "should render \"view selected\" option when filterSelected is not enabled", + "indent": 4, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "should-open-the-view-selector-with-button-click", + "rawLine": " it('should open the view selector with button click', async () => {", + "line": " it('should open the view selector with button click')", + "label": "should open the view selector with button click", + "indent": 4, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "should-callback-when-\"view-all\"-option-is-clicked", + "rawLine": " it('should callback when \"view all\" option is clicked', async () => {", + "line": " it('should callback when \"view all\" option is clicked')", + "label": "should callback when \"view all\" option is clicked", + "indent": 4, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "should-callback-when-\"view-selected\"-option-is-clicked", + "rawLine": " it('should callback when \"view selected\" option is clicked', async () => {", + "line": " it('should callback when \"view selected\" option is clicked')", + "label": "should callback when \"view selected\" option is clicked", + "indent": 4, + "type": "it", + "isSkipped": false, + "isTodo": false + } + ] + } + ] + } + ] + }, + { + "filePath": "x-pack/plugins/cloud_security_posture/public/components/cloud_security_grouping/utils/first_non_null_value.test.ts", + "fileName": "first_non_null_value.test.ts", + "directory": "x-pack/plugins/cloud_security_posture", + "tags": [ + "UT" + ], + "lines": [ + "describe('firstNonNullValue')", + " it('returns the value itself for non-null single value')", + " it('returns undefined for a null single value')", + " it('returns undefined for an array of all null values')", + " it('returns the first non-null value in an array of mixed values')", + " it('returns the first value in an array of all non-null values')", + " it('returns undefined for an empty array')" + ], + "testSuits": [ + { + "id": "firstnonnullvalue", + "rawLine": "describe('firstNonNullValue', () => {", + "line": "describe('firstNonNullValue')", + "label": "firstNonNullValue", + "indent": 0, + "type": "describe", + "isSkipped": false, + "isTodo": false + }, + { + "id": "returns-the-value-itself-for-non-null-single-value", + "rawLine": " it('returns the value itself for non-null single value', () => {", + "line": " it('returns the value itself for non-null single value')", + "label": "returns the value itself for non-null single value", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "returns-undefined-for-a-null-single-value", + "rawLine": " it('returns undefined for a null single value', () => {", + "line": " it('returns undefined for a null single value')", + "label": "returns undefined for a null single value", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "returns-undefined-for-an-array-of-all-null-values", + "rawLine": " it('returns undefined for an array of all null values', () => {", + "line": " it('returns undefined for an array of all null values')", + "label": "returns undefined for an array of all null values", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "returns-the-first-non-null-value-in-an-array-of-mixed-values", + "rawLine": " it('returns the first non-null value in an array of mixed values', () => {", + "line": " it('returns the first non-null value in an array of mixed values')", + "label": "returns the first non-null value in an array of mixed values", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "returns-the-first-value-in-an-array-of-all-non-null-values", + "rawLine": " it('returns the first value in an array of all non-null values', () => {", + "line": " it('returns the first value in an array of all non-null values')", + "label": "returns the first value in an array of all non-null values", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "returns-undefined-for-an-empty-array", + "rawLine": " it('returns undefined for an empty array', () => {", + "line": " it('returns undefined for an empty array')", + "label": "returns undefined for an empty array", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + } + ], + "tree": [ + { + "id": "firstnonnullvalue", + "rawLine": "describe('firstNonNullValue', () => {", + "line": "describe('firstNonNullValue')", + "label": "firstNonNullValue", + "indent": 0, + "type": "describe", + "isSkipped": false, + "isTodo": false, + "children": [ + { + "id": "returns-the-value-itself-for-non-null-single-value", + "rawLine": " it('returns the value itself for non-null single value', () => {", + "line": " it('returns the value itself for non-null single value')", + "label": "returns the value itself for non-null single value", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "returns-undefined-for-a-null-single-value", + "rawLine": " it('returns undefined for a null single value', () => {", + "line": " it('returns undefined for a null single value')", + "label": "returns undefined for a null single value", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "returns-undefined-for-an-array-of-all-null-values", + "rawLine": " it('returns undefined for an array of all null values', () => {", + "line": " it('returns undefined for an array of all null values')", + "label": "returns undefined for an array of all null values", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "returns-the-first-non-null-value-in-an-array-of-mixed-values", + "rawLine": " it('returns the first non-null value in an array of mixed values', () => {", + "line": " it('returns the first non-null value in an array of mixed values')", + "label": "returns the first non-null value in an array of mixed values", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "returns-the-first-value-in-an-array-of-all-non-null-values", + "rawLine": " it('returns the first value in an array of all non-null values', () => {", + "line": " it('returns the first value in an array of all non-null values')", + "label": "returns the first value in an array of all non-null values", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "returns-undefined-for-an-empty-array", + "rawLine": " it('returns undefined for an empty array', () => {", + "line": " it('returns undefined for an empty array')", + "label": "returns undefined for an empty array", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + } + ] + } + ] + }, + { + "filePath": "x-pack/plugins/cloud_security_posture/public/components/detection_rule_counter.test.tsx", + "fileName": "detection_rule_counter.test.tsx", + "directory": "x-pack/plugins/cloud_security_posture", + "tags": [ + "UT" + ], + "lines": [ + "describe('DetectionRuleCounter')", + " it('should render loading skeleton when both rules and alerts are loading')", + " it('should render create rule link when no rules exist')", + " it('should render alert and rule count when rules exist')", + " it('should show loading spinner when creating a rule')" + ], + "testSuits": [ + { + "id": "detectionrulecounter", + "rawLine": "describe('DetectionRuleCounter', () => {", + "line": "describe('DetectionRuleCounter')", + "label": "DetectionRuleCounter", + "indent": 0, + "type": "describe", + "isSkipped": false, + "isTodo": false + }, + { + "id": "should-render-loading-skeleton-when-both-rules-and-alerts-are-loading", + "rawLine": " it('should render loading skeleton when both rules and alerts are loading', () => {", + "line": " it('should render loading skeleton when both rules and alerts are loading')", + "label": "should render loading skeleton when both rules and alerts are loading", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "should-render-create-rule-link-when-no-rules-exist", + "rawLine": " it('should render create rule link when no rules exist', () => {", + "line": " it('should render create rule link when no rules exist')", + "label": "should render create rule link when no rules exist", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "should-render-alert-and-rule-count-when-rules-exist", + "rawLine": " it('should render alert and rule count when rules exist', () => {", + "line": " it('should render alert and rule count when rules exist')", + "label": "should render alert and rule count when rules exist", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "should-show-loading-spinner-when-creating-a-rule", + "rawLine": " it('should show loading spinner when creating a rule', async () => {", + "line": " it('should show loading spinner when creating a rule')", + "label": "should show loading spinner when creating a rule", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + } + ], + "tree": [ + { + "id": "detectionrulecounter", + "rawLine": "describe('DetectionRuleCounter', () => {", + "line": "describe('DetectionRuleCounter')", + "label": "DetectionRuleCounter", + "indent": 0, + "type": "describe", + "isSkipped": false, + "isTodo": false, + "children": [ + { + "id": "should-render-loading-skeleton-when-both-rules-and-alerts-are-loading", + "rawLine": " it('should render loading skeleton when both rules and alerts are loading', () => {", + "line": " it('should render loading skeleton when both rules and alerts are loading')", + "label": "should render loading skeleton when both rules and alerts are loading", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "should-render-create-rule-link-when-no-rules-exist", + "rawLine": " it('should render create rule link when no rules exist', () => {", + "line": " it('should render create rule link when no rules exist')", + "label": "should render create rule link when no rules exist", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "should-render-alert-and-rule-count-when-rules-exist", + "rawLine": " it('should render alert and rule count when rules exist', () => {", + "line": " it('should render alert and rule count when rules exist')", + "label": "should render alert and rule count when rules exist", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "should-show-loading-spinner-when-creating-a-rule", + "rawLine": " it('should show loading spinner when creating a rule', async () => {", + "line": " it('should show loading spinner when creating a rule')", + "label": "should show loading spinner when creating a rule", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + } + ] + } + ] + }, + { + "filePath": "x-pack/plugins/cloud_security_posture/public/components/fleet_extensions/policy_template_form.test.tsx", + "fileName": "policy_template_form.test.tsx", + "directory": "x-pack/plugins/cloud_security_posture", + "tags": [ + "UT", + "HAS SKIP" + ], + "lines": [ + "describe('')", + " it('updates package policy namespace to default when it changes')", + " it('renders and updates name field')", + " it('renders and updates description field')", + " it('renders KSPM input selector')", + " it('updates selected KSPM input')", + " it('renders CSPM input selector')", + " it('renders disabled KSPM input when editing')", + " it('renders disabled CSPM input when editing')", + " it('selects default KSPM input selector')", + " it('selects default VULN_MGMT input selector')", + " it('selects default CSPM input selector')", + " describe('K8S')", + " it('K8S or KSPM Vanilla should not render any Setup Access option')", + " describe('EKS Credentials input fields')", + " it(`documentation Hyperlink should have correct URL to redirect users to AWS page`)", + " it(`renders ${CLOUDBEAT_EKS} Assume Role fields`)", + " it(`updates ${CLOUDBEAT_EKS} Assume Role fields`)", + " it(`renders ${CLOUDBEAT_EKS} Direct Access Keys fields`)", + " it(`updates ${CLOUDBEAT_EKS} Direct Access Keys fields`)", + " it(`renders ${CLOUDBEAT_EKS} Temporary Keys fields`)", + " it(`updates ${CLOUDBEAT_EKS} Temporary Keys fields`)", + " it(`renders ${CLOUDBEAT_EKS} Shared Credentials fields`)", + " it(`updates ${CLOUDBEAT_EKS} Shared Credentials fields`)", + " describe('AWS Credentials input fields')", + " it(`renders ${CLOUDBEAT_AWS} Account Type field, AWS Organization is enabled for supported versions`)", + " it(`${CLOUDBEAT_AWS} form displays upgrade message for unsupported versions and aws organization option is disabled`)", + " it(`${CLOUDBEAT_AWS} form do not displays upgrade message for supported versions and aws organization option is enabled`)", + " it(`Getting started Hyperlink should have correct URL to redirect users to elastic page`)", + " it(`documentation Hyperlink should have correct URL to redirect users to elastic page if user chose Manual`)", + " it(`documentation Hyperlink should have correct URL to redirect users to AWS page if user chose Cloudformation`)", + " it(`renders ${CLOUDBEAT_AWS} Assume Role fields`)", + " it(`updates ${CLOUDBEAT_AWS} Assume Role fields`)", + " it(`renders ${CLOUDBEAT_AWS} Direct Access Keys fields`)", + " it(`updates ${CLOUDBEAT_AWS} Direct Access Keys fields`)", + " it(`renders ${CLOUDBEAT_AWS} Temporary Keys fields`)", + " it(`updates ${CLOUDBEAT_AWS} Temporary Keys fields`)", + " it(`renders ${CLOUDBEAT_AWS} Shared Credentials fields`)", + " it(`updates ${CLOUDBEAT_AWS} Shared Credentials fields`)", + " describe('Vuln Mgmt')", + " it('Update Agent Policy CloudFormation template from vars')", + " it('Additional Charge Callout message should be rendered')", + " describe('GCP Credentials input fields')", + " it(`renders ${CLOUDBEAT_GCP} Not supported when version is not at least version 1.5.2`)", + " it(`documentation Hyperlink should have correct URL to redirect users to elastic page`)", + " it(`renders Google Cloud Shell forms when Setup Access is set to Google Cloud Shell`)", + " it(`renders ${CLOUDBEAT_GCP} Credentials File fields`)", + " it(`updates ${CLOUDBEAT_GCP} Credentials File fields`)", + " it(`renders ${CLOUDBEAT_GCP} Credentials JSON fields`)", + " it(`updates ${CLOUDBEAT_GCP} Credentials JSON fields`)", + " it(`${CLOUDBEAT_GCP} form do not displays upgrade message for supported versions and gcp organization option is enabled`)", + " it(`renders ${CLOUDBEAT_GCP} Organization fields when account type is Organization and Setup Access is Google Cloud Shell`)", + " it(`renders ${CLOUDBEAT_GCP} Organization fields when account type is Organization and Setup Access is manual`)", + " it(`Should not render ${CLOUDBEAT_GCP} Organization fields when account type is Single`)", + " it(`updates ${CLOUDBEAT_GCP} organization id`)", + " describe('Azure Credentials input fields')", + " it(`renders ${CLOUDBEAT_AZURE} Not supported when version is not at least version 1.6.0`)", + " it(`doesnt render ${CLOUDBEAT_AZURE} Manual fields when version is not at least version 1.7.0`)", + " it(`selects default ${CLOUDBEAT_AZURE} fields`)", + " it(`renders ${CLOUDBEAT_AZURE} Service Principal with Client Secret fields`)", + " it(`updates ${CLOUDBEAT_AZURE} Service Principal with Client Secret fields`)", + " describe('Agentless')", + " it('should render setup technology selector for AWS and allow to select agent-based')", + " it('should not render setup technology selector for KSPM')", + " it('should not render setup technology selector for CNVM')", + " it('should not render setup technology selector for CSPM GCP')", + " it('should not render setup technology selector for CSPM Azure')", + " it(`renders Service principal with Client Certificate fields`)", + " it(`updates Service principal with Client Certificate fields`)", + " it(`should not render Service principal with Client Username and Password option`)", + " it.skip(`renders Service principal with Client Username and Password fields`)", + " it.skip(`updates Service principal with Client Username and Password fields`)" + ], + "testSuits": [ + { + "id": "", + "rawLine": "describe('', () => {", + "line": "describe('')", + "label": "", + "indent": 0, + "type": "describe", + "isSkipped": false, + "isTodo": false + }, + { + "id": "updates-package-policy-namespace-to-default-when-it-changes", + "rawLine": " it('updates package policy namespace to default when it changes', () => {", + "line": " it('updates package policy namespace to default when it changes')", + "label": "updates package policy namespace to default when it changes", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "renders-and-updates-name-field", + "rawLine": " it('renders and updates name field', async () => {", + "line": " it('renders and updates name field')", + "label": "renders and updates name field", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "renders-and-updates-description-field", + "rawLine": " it('renders and updates description field', async () => {", + "line": " it('renders and updates description field')", + "label": "renders and updates description field", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "renders-kspm-input-selector", + "rawLine": " it('renders KSPM input selector', () => {", + "line": " it('renders KSPM input selector')", + "label": "renders KSPM input selector", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "updates-selected-kspm-input", + "rawLine": " it('updates selected KSPM input', async () => {", + "line": " it('updates selected KSPM input')", + "label": "updates selected KSPM input", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "renders-cspm-input-selector", + "rawLine": " it('renders CSPM input selector', () => {", + "line": " it('renders CSPM input selector')", + "label": "renders CSPM input selector", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "renders-disabled-kspm-input-when-editing", + "rawLine": " it('renders disabled KSPM input when editing', () => {", + "line": " it('renders disabled KSPM input when editing')", + "label": "renders disabled KSPM input when editing", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "renders-disabled-cspm-input-when-editing", + "rawLine": " it('renders disabled CSPM input when editing', () => {", + "line": " it('renders disabled CSPM input when editing')", + "label": "renders disabled CSPM input when editing", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "selects-default-kspm-input-selector", + "rawLine": " it('selects default KSPM input selector', () => {", + "line": " it('selects default KSPM input selector')", + "label": "selects default KSPM input selector", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "selects-default-vuln_mgmt-input-selector", + "rawLine": " it('selects default VULN_MGMT input selector', () => {", + "line": " it('selects default VULN_MGMT input selector')", + "label": "selects default VULN_MGMT input selector", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "selects-default-cspm-input-selector", + "rawLine": " it('selects default CSPM input selector', () => {", + "line": " it('selects default CSPM input selector')", + "label": "selects default CSPM input selector", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "k8s", + "rawLine": " describe('K8S', () => {", + "line": " describe('K8S')", + "label": "K8S", + "indent": 2, + "type": "describe", + "isSkipped": false, + "isTodo": false + }, + { + "id": "k8s-or-kspm-vanilla-should-not-render-any-setup-access-option", + "rawLine": " it('K8S or KSPM Vanilla should not render any Setup Access option', () => {", + "line": " it('K8S or KSPM Vanilla should not render any Setup Access option')", + "label": "K8S or KSPM Vanilla should not render any Setup Access option", + "indent": 4, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "eks-credentials-input-fields", + "rawLine": " describe('EKS Credentials input fields', () => {", + "line": " describe('EKS Credentials input fields')", + "label": "EKS Credentials input fields", + "indent": 2, + "type": "describe", + "isSkipped": false, + "isTodo": false + }, + { + "id": "documentation-hyperlink-should-have-correct-url-to-redirect-users-to-aws-page", + "rawLine": " it(`documentation Hyperlink should have correct URL to redirect users to AWS page`, () => {", + "line": " it(`documentation Hyperlink should have correct URL to redirect users to AWS page`)", + "label": "documentation Hyperlink should have correct URL to redirect users to AWS page", + "indent": 4, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "renders-${cloudbeat_eks}-assume-role-fields", + "rawLine": " it(`renders ${CLOUDBEAT_EKS} Assume Role fields`, () => {", + "line": " it(`renders ${CLOUDBEAT_EKS} Assume Role fields`)", + "label": "renders ${CLOUDBEAT_EKS} Assume Role fields", + "indent": 4, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "updates-${cloudbeat_eks}-assume-role-fields", + "rawLine": " it(`updates ${CLOUDBEAT_EKS} Assume Role fields`, () => {", + "line": " it(`updates ${CLOUDBEAT_EKS} Assume Role fields`)", + "label": "updates ${CLOUDBEAT_EKS} Assume Role fields", + "indent": 4, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "renders-${cloudbeat_eks}-direct-access-keys-fields", + "rawLine": " it(`renders ${CLOUDBEAT_EKS} Direct Access Keys fields`, () => {", + "line": " it(`renders ${CLOUDBEAT_EKS} Direct Access Keys fields`)", + "label": "renders ${CLOUDBEAT_EKS} Direct Access Keys fields", + "indent": 4, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "updates-${cloudbeat_eks}-direct-access-keys-fields", + "rawLine": " it(`updates ${CLOUDBEAT_EKS} Direct Access Keys fields`, () => {", + "line": " it(`updates ${CLOUDBEAT_EKS} Direct Access Keys fields`)", + "label": "updates ${CLOUDBEAT_EKS} Direct Access Keys fields", + "indent": 4, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "renders-${cloudbeat_eks}-temporary-keys-fields", + "rawLine": " it(`renders ${CLOUDBEAT_EKS} Temporary Keys fields`, () => {", + "line": " it(`renders ${CLOUDBEAT_EKS} Temporary Keys fields`)", + "label": "renders ${CLOUDBEAT_EKS} Temporary Keys fields", + "indent": 4, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "updates-${cloudbeat_eks}-temporary-keys-fields", + "rawLine": " it(`updates ${CLOUDBEAT_EKS} Temporary Keys fields`, () => {", + "line": " it(`updates ${CLOUDBEAT_EKS} Temporary Keys fields`)", + "label": "updates ${CLOUDBEAT_EKS} Temporary Keys fields", + "indent": 4, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "renders-${cloudbeat_eks}-shared-credentials-fields", + "rawLine": " it(`renders ${CLOUDBEAT_EKS} Shared Credentials fields`, () => {", + "line": " it(`renders ${CLOUDBEAT_EKS} Shared Credentials fields`)", + "label": "renders ${CLOUDBEAT_EKS} Shared Credentials fields", + "indent": 4, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "updates-${cloudbeat_eks}-shared-credentials-fields", + "rawLine": " it(`updates ${CLOUDBEAT_EKS} Shared Credentials fields`, () => {", + "line": " it(`updates ${CLOUDBEAT_EKS} Shared Credentials fields`)", + "label": "updates ${CLOUDBEAT_EKS} Shared Credentials fields", + "indent": 4, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "aws-credentials-input-fields", + "rawLine": " describe('AWS Credentials input fields', () => {", + "line": " describe('AWS Credentials input fields')", + "label": "AWS Credentials input fields", + "indent": 2, + "type": "describe", + "isSkipped": false, + "isTodo": false + }, + { + "id": "renders-${cloudbeat_aws}-account-type-field,-aws-organization-is-enabled-for-supported-versions", + "rawLine": " it(`renders ${CLOUDBEAT_AWS} Account Type field, AWS Organization is enabled for supported versions`, () => {", + "line": " it(`renders ${CLOUDBEAT_AWS} Account Type field, AWS Organization is enabled for supported versions`)", + "label": "renders ${CLOUDBEAT_AWS} Account Type field, AWS Organization is enabled for supported versions", + "indent": 4, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "${cloudbeat_aws}-form-displays-upgrade-message-for-unsupported-versions-and-aws-organization-option-is-disabled", + "rawLine": " it(`${CLOUDBEAT_AWS} form displays upgrade message for unsupported versions and aws organization option is disabled`, () => {", + "line": " it(`${CLOUDBEAT_AWS} form displays upgrade message for unsupported versions and aws organization option is disabled`)", + "label": "${CLOUDBEAT_AWS} form displays upgrade message for unsupported versions and aws organization option is disabled", + "indent": 4, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "${cloudbeat_aws}-form-do-not-displays-upgrade-message-for-supported-versions-and-aws-organization-option-is-enabled", + "rawLine": " it(`${CLOUDBEAT_AWS} form do not displays upgrade message for supported versions and aws organization option is enabled`, () => {", + "line": " it(`${CLOUDBEAT_AWS} form do not displays upgrade message for supported versions and aws organization option is enabled`)", + "label": "${CLOUDBEAT_AWS} form do not displays upgrade message for supported versions and aws organization option is enabled", + "indent": 4, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "getting-started-hyperlink-should-have-correct-url-to-redirect-users-to-elastic-page", + "rawLine": " it(`Getting started Hyperlink should have correct URL to redirect users to elastic page`, () => {", + "line": " it(`Getting started Hyperlink should have correct URL to redirect users to elastic page`)", + "label": "Getting started Hyperlink should have correct URL to redirect users to elastic page", + "indent": 4, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "documentation-hyperlink-should-have-correct-url-to-redirect-users-to-elastic-page-if-user-chose-manual", + "rawLine": " it(`documentation Hyperlink should have correct URL to redirect users to elastic page if user chose Manual`, () => {", + "line": " it(`documentation Hyperlink should have correct URL to redirect users to elastic page if user chose Manual`)", + "label": "documentation Hyperlink should have correct URL to redirect users to elastic page if user chose Manual", + "indent": 4, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "documentation-hyperlink-should-have-correct-url-to-redirect-users-to-aws-page-if-user-chose-cloudformation", + "rawLine": " it(`documentation Hyperlink should have correct URL to redirect users to AWS page if user chose Cloudformation`, () => {", + "line": " it(`documentation Hyperlink should have correct URL to redirect users to AWS page if user chose Cloudformation`)", + "label": "documentation Hyperlink should have correct URL to redirect users to AWS page if user chose Cloudformation", + "indent": 4, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "renders-${cloudbeat_aws}-assume-role-fields", + "rawLine": " it(`renders ${CLOUDBEAT_AWS} Assume Role fields`, () => {", + "line": " it(`renders ${CLOUDBEAT_AWS} Assume Role fields`)", + "label": "renders ${CLOUDBEAT_AWS} Assume Role fields", + "indent": 4, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "updates-${cloudbeat_aws}-assume-role-fields", + "rawLine": " it(`updates ${CLOUDBEAT_AWS} Assume Role fields`, () => {", + "line": " it(`updates ${CLOUDBEAT_AWS} Assume Role fields`)", + "label": "updates ${CLOUDBEAT_AWS} Assume Role fields", + "indent": 4, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "renders-${cloudbeat_aws}-direct-access-keys-fields", + "rawLine": " it(`renders ${CLOUDBEAT_AWS} Direct Access Keys fields`, () => {", + "line": " it(`renders ${CLOUDBEAT_AWS} Direct Access Keys fields`)", + "label": "renders ${CLOUDBEAT_AWS} Direct Access Keys fields", + "indent": 4, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "updates-${cloudbeat_aws}-direct-access-keys-fields", + "rawLine": " it(`updates ${CLOUDBEAT_AWS} Direct Access Keys fields`, () => {", + "line": " it(`updates ${CLOUDBEAT_AWS} Direct Access Keys fields`)", + "label": "updates ${CLOUDBEAT_AWS} Direct Access Keys fields", + "indent": 4, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "renders-${cloudbeat_aws}-temporary-keys-fields", + "rawLine": " it(`renders ${CLOUDBEAT_AWS} Temporary Keys fields`, () => {", + "line": " it(`renders ${CLOUDBEAT_AWS} Temporary Keys fields`)", + "label": "renders ${CLOUDBEAT_AWS} Temporary Keys fields", + "indent": 4, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "updates-${cloudbeat_aws}-temporary-keys-fields", + "rawLine": " it(`updates ${CLOUDBEAT_AWS} Temporary Keys fields`, () => {", + "line": " it(`updates ${CLOUDBEAT_AWS} Temporary Keys fields`)", + "label": "updates ${CLOUDBEAT_AWS} Temporary Keys fields", + "indent": 4, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "renders-${cloudbeat_aws}-shared-credentials-fields", + "rawLine": " it(`renders ${CLOUDBEAT_AWS} Shared Credentials fields`, () => {", + "line": " it(`renders ${CLOUDBEAT_AWS} Shared Credentials fields`)", + "label": "renders ${CLOUDBEAT_AWS} Shared Credentials fields", + "indent": 4, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "updates-${cloudbeat_aws}-shared-credentials-fields", + "rawLine": " it(`updates ${CLOUDBEAT_AWS} Shared Credentials fields`, () => {", + "line": " it(`updates ${CLOUDBEAT_AWS} Shared Credentials fields`)", + "label": "updates ${CLOUDBEAT_AWS} Shared Credentials fields", + "indent": 4, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "vuln-mgmt", + "rawLine": " describe('Vuln Mgmt', () => {", + "line": " describe('Vuln Mgmt')", + "label": "Vuln Mgmt", + "indent": 2, + "type": "describe", + "isSkipped": false, + "isTodo": false + }, + { + "id": "update-agent-policy-cloudformation-template-from-vars", + "rawLine": " it('Update Agent Policy CloudFormation template from vars', () => {", + "line": " it('Update Agent Policy CloudFormation template from vars')", + "label": "Update Agent Policy CloudFormation template from vars", + "indent": 4, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "additional-charge-callout-message-should-be-rendered", + "rawLine": " it('Additional Charge Callout message should be rendered', () => {", + "line": " it('Additional Charge Callout message should be rendered')", + "label": "Additional Charge Callout message should be rendered", + "indent": 4, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "gcp-credentials-input-fields", + "rawLine": " describe('GCP Credentials input fields', () => {", + "line": " describe('GCP Credentials input fields')", + "label": "GCP Credentials input fields", + "indent": 2, + "type": "describe", + "isSkipped": false, + "isTodo": false + }, + { + "id": "renders-${cloudbeat_gcp}-not-supported-when-version-is-not-at-least-version-1.5.2", + "rawLine": " it(`renders ${CLOUDBEAT_GCP} Not supported when version is not at least version 1.5.2`, () => {", + "line": " it(`renders ${CLOUDBEAT_GCP} Not supported when version is not at least version 1.5.2`)", + "label": "renders ${CLOUDBEAT_GCP} Not supported when version is not at least version 1.5.2", + "indent": 4, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "documentation-hyperlink-should-have-correct-url-to-redirect-users-to-elastic-page", + "rawLine": " it(`documentation Hyperlink should have correct URL to redirect users to elastic page`, () => {", + "line": " it(`documentation Hyperlink should have correct URL to redirect users to elastic page`)", + "label": "documentation Hyperlink should have correct URL to redirect users to elastic page", + "indent": 4, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "renders-google-cloud-shell-forms-when-setup-access-is-set-to-google-cloud-shell", + "rawLine": " it(`renders Google Cloud Shell forms when Setup Access is set to Google Cloud Shell`, () => {", + "line": " it(`renders Google Cloud Shell forms when Setup Access is set to Google Cloud Shell`)", + "label": "renders Google Cloud Shell forms when Setup Access is set to Google Cloud Shell", + "indent": 4, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "renders-${cloudbeat_gcp}-credentials-file-fields", + "rawLine": " it(`renders ${CLOUDBEAT_GCP} Credentials File fields`, () => {", + "line": " it(`renders ${CLOUDBEAT_GCP} Credentials File fields`)", + "label": "renders ${CLOUDBEAT_GCP} Credentials File fields", + "indent": 4, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "updates-${cloudbeat_gcp}-credentials-file-fields", + "rawLine": " it(`updates ${CLOUDBEAT_GCP} Credentials File fields`, () => {", + "line": " it(`updates ${CLOUDBEAT_GCP} Credentials File fields`)", + "label": "updates ${CLOUDBEAT_GCP} Credentials File fields", + "indent": 4, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "renders-${cloudbeat_gcp}-credentials-json-fields", + "rawLine": " it(`renders ${CLOUDBEAT_GCP} Credentials JSON fields`, () => {", + "line": " it(`renders ${CLOUDBEAT_GCP} Credentials JSON fields`)", + "label": "renders ${CLOUDBEAT_GCP} Credentials JSON fields", + "indent": 4, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "updates-${cloudbeat_gcp}-credentials-json-fields", + "rawLine": " it(`updates ${CLOUDBEAT_GCP} Credentials JSON fields`, () => {", + "line": " it(`updates ${CLOUDBEAT_GCP} Credentials JSON fields`)", + "label": "updates ${CLOUDBEAT_GCP} Credentials JSON fields", + "indent": 4, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "${cloudbeat_gcp}-form-do-not-displays-upgrade-message-for-supported-versions-and-gcp-organization-option-is-enabled", + "rawLine": " it(`${CLOUDBEAT_GCP} form do not displays upgrade message for supported versions and gcp organization option is enabled`, () => {", + "line": " it(`${CLOUDBEAT_GCP} form do not displays upgrade message for supported versions and gcp organization option is enabled`)", + "label": "${CLOUDBEAT_GCP} form do not displays upgrade message for supported versions and gcp organization option is enabled", + "indent": 4, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "renders-${cloudbeat_gcp}-organization-fields-when-account-type-is-organization-and-setup-access-is-google-cloud-shell", + "rawLine": " it(`renders ${CLOUDBEAT_GCP} Organization fields when account type is Organization and Setup Access is Google Cloud Shell`, () => {", + "line": " it(`renders ${CLOUDBEAT_GCP} Organization fields when account type is Organization and Setup Access is Google Cloud Shell`)", + "label": "renders ${CLOUDBEAT_GCP} Organization fields when account type is Organization and Setup Access is Google Cloud Shell", + "indent": 4, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "renders-${cloudbeat_gcp}-organization-fields-when-account-type-is-organization-and-setup-access-is-manual", + "rawLine": " it(`renders ${CLOUDBEAT_GCP} Organization fields when account type is Organization and Setup Access is manual`, () => {", + "line": " it(`renders ${CLOUDBEAT_GCP} Organization fields when account type is Organization and Setup Access is manual`)", + "label": "renders ${CLOUDBEAT_GCP} Organization fields when account type is Organization and Setup Access is manual", + "indent": 4, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "should-not-render-${cloudbeat_gcp}-organization-fields-when-account-type-is-single", + "rawLine": " it(`Should not render ${CLOUDBEAT_GCP} Organization fields when account type is Single`, () => {", + "line": " it(`Should not render ${CLOUDBEAT_GCP} Organization fields when account type is Single`)", + "label": "Should not render ${CLOUDBEAT_GCP} Organization fields when account type is Single", + "indent": 4, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "updates-${cloudbeat_gcp}-organization-id", + "rawLine": " it(`updates ${CLOUDBEAT_GCP} organization id`, () => {", + "line": " it(`updates ${CLOUDBEAT_GCP} organization id`)", + "label": "updates ${CLOUDBEAT_GCP} organization id", + "indent": 4, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "azure-credentials-input-fields", + "rawLine": " describe('Azure Credentials input fields', () => {", + "line": " describe('Azure Credentials input fields')", + "label": "Azure Credentials input fields", + "indent": 2, + "type": "describe", + "isSkipped": false, + "isTodo": false + }, + { + "id": "renders-${cloudbeat_azure}-not-supported-when-version-is-not-at-least-version-1.6.0", + "rawLine": " it(`renders ${CLOUDBEAT_AZURE} Not supported when version is not at least version 1.6.0`, () => {", + "line": " it(`renders ${CLOUDBEAT_AZURE} Not supported when version is not at least version 1.6.0`)", + "label": "renders ${CLOUDBEAT_AZURE} Not supported when version is not at least version 1.6.0", + "indent": 4, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "doesnt-render-${cloudbeat_azure}-manual-fields-when-version-is-not-at-least-version-1.7.0", + "rawLine": " it(`doesnt render ${CLOUDBEAT_AZURE} Manual fields when version is not at least version 1.7.0`, () => {", + "line": " it(`doesnt render ${CLOUDBEAT_AZURE} Manual fields when version is not at least version 1.7.0`)", + "label": "doesnt render ${CLOUDBEAT_AZURE} Manual fields when version is not at least version 1.7.0", + "indent": 4, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "selects-default-${cloudbeat_azure}-fields", + "rawLine": " it(`selects default ${CLOUDBEAT_AZURE} fields`, () => {", + "line": " it(`selects default ${CLOUDBEAT_AZURE} fields`)", + "label": "selects default ${CLOUDBEAT_AZURE} fields", + "indent": 4, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "renders-${cloudbeat_azure}-service-principal-with-client-secret-fields", + "rawLine": " it(`renders ${CLOUDBEAT_AZURE} Service Principal with Client Secret fields`, () => {", + "line": " it(`renders ${CLOUDBEAT_AZURE} Service Principal with Client Secret fields`)", + "label": "renders ${CLOUDBEAT_AZURE} Service Principal with Client Secret fields", + "indent": 4, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "updates-${cloudbeat_azure}-service-principal-with-client-secret-fields", + "rawLine": " it(`updates ${CLOUDBEAT_AZURE} Service Principal with Client Secret fields`, () => {", + "line": " it(`updates ${CLOUDBEAT_AZURE} Service Principal with Client Secret fields`)", + "label": "updates ${CLOUDBEAT_AZURE} Service Principal with Client Secret fields", + "indent": 4, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "agentless", + "rawLine": " describe('Agentless', () => {", + "line": " describe('Agentless')", + "label": "Agentless", + "indent": 2, + "type": "describe", + "isSkipped": false, + "isTodo": false + }, + { + "id": "should-render-setup-technology-selector-for-aws-and-allow-to-select-agent-based", + "rawLine": " it('should render setup technology selector for AWS and allow to select agent-based', async () => {", + "line": " it('should render setup technology selector for AWS and allow to select agent-based')", + "label": "should render setup technology selector for AWS and allow to select agent-based", + "indent": 4, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "should-not-render-setup-technology-selector-for-kspm", + "rawLine": " it('should not render setup technology selector for KSPM', () => {", + "line": " it('should not render setup technology selector for KSPM')", + "label": "should not render setup technology selector for KSPM", + "indent": 4, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "should-not-render-setup-technology-selector-for-cnvm", + "rawLine": " it('should not render setup technology selector for CNVM', () => {", + "line": " it('should not render setup technology selector for CNVM')", + "label": "should not render setup technology selector for CNVM", + "indent": 4, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "should-not-render-setup-technology-selector-for-cspm-gcp", + "rawLine": " it('should not render setup technology selector for CSPM GCP', () => {", + "line": " it('should not render setup technology selector for CSPM GCP')", + "label": "should not render setup technology selector for CSPM GCP", + "indent": 4, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "should-not-render-setup-technology-selector-for-cspm-azure", + "rawLine": " it('should not render setup technology selector for CSPM Azure', () => {", + "line": " it('should not render setup technology selector for CSPM Azure')", + "label": "should not render setup technology selector for CSPM Azure", + "indent": 4, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "renders-service-principal-with-client-certificate-fields", + "rawLine": " it(`renders Service principal with Client Certificate fields`, () => {", + "line": " it(`renders Service principal with Client Certificate fields`)", + "label": "renders Service principal with Client Certificate fields", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "updates-service-principal-with-client-certificate-fields", + "rawLine": " it(`updates Service principal with Client Certificate fields`, () => {", + "line": " it(`updates Service principal with Client Certificate fields`)", + "label": "updates Service principal with Client Certificate fields", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "should-not-render-service-principal-with-client-username-and-password-option", + "rawLine": " it(`should not render Service principal with Client Username and Password option`, () => {", + "line": " it(`should not render Service principal with Client Username and Password option`)", + "label": "should not render Service principal with Client Username and Password option", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "renders-service-principal-with-client-username-and-password-fields", + "rawLine": " it.skip(`renders Service principal with Client Username and Password fields`, () => {", + "line": " it.skip(`renders Service principal with Client Username and Password fields`)", + "label": "renders Service principal with Client Username and Password fields", + "indent": 2, + "type": "it", + "isSkipped": true, + "isTodo": false + }, + { + "id": "updates-service-principal-with-client-username-and-password-fields", + "rawLine": " it.skip(`updates Service principal with Client Username and Password fields`, () => {", + "line": " it.skip(`updates Service principal with Client Username and Password fields`)", + "label": "updates Service principal with Client Username and Password fields", + "indent": 2, + "type": "it", + "isSkipped": true, + "isTodo": false + } + ], + "tree": [ + { + "id": "", + "rawLine": "describe('', () => {", + "line": "describe('')", + "label": "", + "indent": 0, + "type": "describe", + "isSkipped": false, + "isTodo": false, + "children": [ + { + "id": "updates-package-policy-namespace-to-default-when-it-changes", + "rawLine": " it('updates package policy namespace to default when it changes', () => {", + "line": " it('updates package policy namespace to default when it changes')", + "label": "updates package policy namespace to default when it changes", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "renders-and-updates-name-field", + "rawLine": " it('renders and updates name field', async () => {", + "line": " it('renders and updates name field')", + "label": "renders and updates name field", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "renders-and-updates-description-field", + "rawLine": " it('renders and updates description field', async () => {", + "line": " it('renders and updates description field')", + "label": "renders and updates description field", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "renders-kspm-input-selector", + "rawLine": " it('renders KSPM input selector', () => {", + "line": " it('renders KSPM input selector')", + "label": "renders KSPM input selector", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "updates-selected-kspm-input", + "rawLine": " it('updates selected KSPM input', async () => {", + "line": " it('updates selected KSPM input')", + "label": "updates selected KSPM input", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "renders-cspm-input-selector", + "rawLine": " it('renders CSPM input selector', () => {", + "line": " it('renders CSPM input selector')", + "label": "renders CSPM input selector", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "renders-disabled-kspm-input-when-editing", + "rawLine": " it('renders disabled KSPM input when editing', () => {", + "line": " it('renders disabled KSPM input when editing')", + "label": "renders disabled KSPM input when editing", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "renders-disabled-cspm-input-when-editing", + "rawLine": " it('renders disabled CSPM input when editing', () => {", + "line": " it('renders disabled CSPM input when editing')", + "label": "renders disabled CSPM input when editing", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "selects-default-kspm-input-selector", + "rawLine": " it('selects default KSPM input selector', () => {", + "line": " it('selects default KSPM input selector')", + "label": "selects default KSPM input selector", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "selects-default-vuln_mgmt-input-selector", + "rawLine": " it('selects default VULN_MGMT input selector', () => {", + "line": " it('selects default VULN_MGMT input selector')", + "label": "selects default VULN_MGMT input selector", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "selects-default-cspm-input-selector", + "rawLine": " it('selects default CSPM input selector', () => {", + "line": " it('selects default CSPM input selector')", + "label": "selects default CSPM input selector", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "k8s", + "rawLine": " describe('K8S', () => {", + "line": " describe('K8S')", + "label": "K8S", + "indent": 2, + "type": "describe", + "isSkipped": false, + "isTodo": false, + "children": [ + { + "id": "k8s-or-kspm-vanilla-should-not-render-any-setup-access-option", + "rawLine": " it('K8S or KSPM Vanilla should not render any Setup Access option', () => {", + "line": " it('K8S or KSPM Vanilla should not render any Setup Access option')", + "label": "K8S or KSPM Vanilla should not render any Setup Access option", + "indent": 4, + "type": "it", + "isSkipped": false, + "isTodo": false + } + ] + }, + { + "id": "eks-credentials-input-fields", + "rawLine": " describe('EKS Credentials input fields', () => {", + "line": " describe('EKS Credentials input fields')", + "label": "EKS Credentials input fields", + "indent": 2, + "type": "describe", + "isSkipped": false, + "isTodo": false, + "children": [ + { + "id": "documentation-hyperlink-should-have-correct-url-to-redirect-users-to-aws-page", + "rawLine": " it(`documentation Hyperlink should have correct URL to redirect users to AWS page`, () => {", + "line": " it(`documentation Hyperlink should have correct URL to redirect users to AWS page`)", + "label": "documentation Hyperlink should have correct URL to redirect users to AWS page", + "indent": 4, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "renders-${cloudbeat_eks}-assume-role-fields", + "rawLine": " it(`renders ${CLOUDBEAT_EKS} Assume Role fields`, () => {", + "line": " it(`renders ${CLOUDBEAT_EKS} Assume Role fields`)", + "label": "renders ${CLOUDBEAT_EKS} Assume Role fields", + "indent": 4, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "updates-${cloudbeat_eks}-assume-role-fields", + "rawLine": " it(`updates ${CLOUDBEAT_EKS} Assume Role fields`, () => {", + "line": " it(`updates ${CLOUDBEAT_EKS} Assume Role fields`)", + "label": "updates ${CLOUDBEAT_EKS} Assume Role fields", + "indent": 4, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "renders-${cloudbeat_eks}-direct-access-keys-fields", + "rawLine": " it(`renders ${CLOUDBEAT_EKS} Direct Access Keys fields`, () => {", + "line": " it(`renders ${CLOUDBEAT_EKS} Direct Access Keys fields`)", + "label": "renders ${CLOUDBEAT_EKS} Direct Access Keys fields", + "indent": 4, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "updates-${cloudbeat_eks}-direct-access-keys-fields", + "rawLine": " it(`updates ${CLOUDBEAT_EKS} Direct Access Keys fields`, () => {", + "line": " it(`updates ${CLOUDBEAT_EKS} Direct Access Keys fields`)", + "label": "updates ${CLOUDBEAT_EKS} Direct Access Keys fields", + "indent": 4, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "renders-${cloudbeat_eks}-temporary-keys-fields", + "rawLine": " it(`renders ${CLOUDBEAT_EKS} Temporary Keys fields`, () => {", + "line": " it(`renders ${CLOUDBEAT_EKS} Temporary Keys fields`)", + "label": "renders ${CLOUDBEAT_EKS} Temporary Keys fields", + "indent": 4, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "updates-${cloudbeat_eks}-temporary-keys-fields", + "rawLine": " it(`updates ${CLOUDBEAT_EKS} Temporary Keys fields`, () => {", + "line": " it(`updates ${CLOUDBEAT_EKS} Temporary Keys fields`)", + "label": "updates ${CLOUDBEAT_EKS} Temporary Keys fields", + "indent": 4, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "renders-${cloudbeat_eks}-shared-credentials-fields", + "rawLine": " it(`renders ${CLOUDBEAT_EKS} Shared Credentials fields`, () => {", + "line": " it(`renders ${CLOUDBEAT_EKS} Shared Credentials fields`)", + "label": "renders ${CLOUDBEAT_EKS} Shared Credentials fields", + "indent": 4, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "updates-${cloudbeat_eks}-shared-credentials-fields", + "rawLine": " it(`updates ${CLOUDBEAT_EKS} Shared Credentials fields`, () => {", + "line": " it(`updates ${CLOUDBEAT_EKS} Shared Credentials fields`)", + "label": "updates ${CLOUDBEAT_EKS} Shared Credentials fields", + "indent": 4, + "type": "it", + "isSkipped": false, + "isTodo": false + } + ] + }, + { + "id": "aws-credentials-input-fields", + "rawLine": " describe('AWS Credentials input fields', () => {", + "line": " describe('AWS Credentials input fields')", + "label": "AWS Credentials input fields", + "indent": 2, + "type": "describe", + "isSkipped": false, + "isTodo": false, + "children": [ + { + "id": "renders-${cloudbeat_aws}-account-type-field,-aws-organization-is-enabled-for-supported-versions", + "rawLine": " it(`renders ${CLOUDBEAT_AWS} Account Type field, AWS Organization is enabled for supported versions`, () => {", + "line": " it(`renders ${CLOUDBEAT_AWS} Account Type field, AWS Organization is enabled for supported versions`)", + "label": "renders ${CLOUDBEAT_AWS} Account Type field, AWS Organization is enabled for supported versions", + "indent": 4, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "${cloudbeat_aws}-form-displays-upgrade-message-for-unsupported-versions-and-aws-organization-option-is-disabled", + "rawLine": " it(`${CLOUDBEAT_AWS} form displays upgrade message for unsupported versions and aws organization option is disabled`, () => {", + "line": " it(`${CLOUDBEAT_AWS} form displays upgrade message for unsupported versions and aws organization option is disabled`)", + "label": "${CLOUDBEAT_AWS} form displays upgrade message for unsupported versions and aws organization option is disabled", + "indent": 4, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "${cloudbeat_aws}-form-do-not-displays-upgrade-message-for-supported-versions-and-aws-organization-option-is-enabled", + "rawLine": " it(`${CLOUDBEAT_AWS} form do not displays upgrade message for supported versions and aws organization option is enabled`, () => {", + "line": " it(`${CLOUDBEAT_AWS} form do not displays upgrade message for supported versions and aws organization option is enabled`)", + "label": "${CLOUDBEAT_AWS} form do not displays upgrade message for supported versions and aws organization option is enabled", + "indent": 4, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "getting-started-hyperlink-should-have-correct-url-to-redirect-users-to-elastic-page", + "rawLine": " it(`Getting started Hyperlink should have correct URL to redirect users to elastic page`, () => {", + "line": " it(`Getting started Hyperlink should have correct URL to redirect users to elastic page`)", + "label": "Getting started Hyperlink should have correct URL to redirect users to elastic page", + "indent": 4, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "documentation-hyperlink-should-have-correct-url-to-redirect-users-to-elastic-page-if-user-chose-manual", + "rawLine": " it(`documentation Hyperlink should have correct URL to redirect users to elastic page if user chose Manual`, () => {", + "line": " it(`documentation Hyperlink should have correct URL to redirect users to elastic page if user chose Manual`)", + "label": "documentation Hyperlink should have correct URL to redirect users to elastic page if user chose Manual", + "indent": 4, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "documentation-hyperlink-should-have-correct-url-to-redirect-users-to-aws-page-if-user-chose-cloudformation", + "rawLine": " it(`documentation Hyperlink should have correct URL to redirect users to AWS page if user chose Cloudformation`, () => {", + "line": " it(`documentation Hyperlink should have correct URL to redirect users to AWS page if user chose Cloudformation`)", + "label": "documentation Hyperlink should have correct URL to redirect users to AWS page if user chose Cloudformation", + "indent": 4, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "renders-${cloudbeat_aws}-assume-role-fields", + "rawLine": " it(`renders ${CLOUDBEAT_AWS} Assume Role fields`, () => {", + "line": " it(`renders ${CLOUDBEAT_AWS} Assume Role fields`)", + "label": "renders ${CLOUDBEAT_AWS} Assume Role fields", + "indent": 4, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "updates-${cloudbeat_aws}-assume-role-fields", + "rawLine": " it(`updates ${CLOUDBEAT_AWS} Assume Role fields`, () => {", + "line": " it(`updates ${CLOUDBEAT_AWS} Assume Role fields`)", + "label": "updates ${CLOUDBEAT_AWS} Assume Role fields", + "indent": 4, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "renders-${cloudbeat_aws}-direct-access-keys-fields", + "rawLine": " it(`renders ${CLOUDBEAT_AWS} Direct Access Keys fields`, () => {", + "line": " it(`renders ${CLOUDBEAT_AWS} Direct Access Keys fields`)", + "label": "renders ${CLOUDBEAT_AWS} Direct Access Keys fields", + "indent": 4, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "updates-${cloudbeat_aws}-direct-access-keys-fields", + "rawLine": " it(`updates ${CLOUDBEAT_AWS} Direct Access Keys fields`, () => {", + "line": " it(`updates ${CLOUDBEAT_AWS} Direct Access Keys fields`)", + "label": "updates ${CLOUDBEAT_AWS} Direct Access Keys fields", + "indent": 4, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "renders-${cloudbeat_aws}-temporary-keys-fields", + "rawLine": " it(`renders ${CLOUDBEAT_AWS} Temporary Keys fields`, () => {", + "line": " it(`renders ${CLOUDBEAT_AWS} Temporary Keys fields`)", + "label": "renders ${CLOUDBEAT_AWS} Temporary Keys fields", + "indent": 4, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "updates-${cloudbeat_aws}-temporary-keys-fields", + "rawLine": " it(`updates ${CLOUDBEAT_AWS} Temporary Keys fields`, () => {", + "line": " it(`updates ${CLOUDBEAT_AWS} Temporary Keys fields`)", + "label": "updates ${CLOUDBEAT_AWS} Temporary Keys fields", + "indent": 4, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "renders-${cloudbeat_aws}-shared-credentials-fields", + "rawLine": " it(`renders ${CLOUDBEAT_AWS} Shared Credentials fields`, () => {", + "line": " it(`renders ${CLOUDBEAT_AWS} Shared Credentials fields`)", + "label": "renders ${CLOUDBEAT_AWS} Shared Credentials fields", + "indent": 4, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "updates-${cloudbeat_aws}-shared-credentials-fields", + "rawLine": " it(`updates ${CLOUDBEAT_AWS} Shared Credentials fields`, () => {", + "line": " it(`updates ${CLOUDBEAT_AWS} Shared Credentials fields`)", + "label": "updates ${CLOUDBEAT_AWS} Shared Credentials fields", + "indent": 4, + "type": "it", + "isSkipped": false, + "isTodo": false + } + ] + }, + { + "id": "vuln-mgmt", + "rawLine": " describe('Vuln Mgmt', () => {", + "line": " describe('Vuln Mgmt')", + "label": "Vuln Mgmt", + "indent": 2, + "type": "describe", + "isSkipped": false, + "isTodo": false, + "children": [ + { + "id": "update-agent-policy-cloudformation-template-from-vars", + "rawLine": " it('Update Agent Policy CloudFormation template from vars', () => {", + "line": " it('Update Agent Policy CloudFormation template from vars')", + "label": "Update Agent Policy CloudFormation template from vars", + "indent": 4, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "additional-charge-callout-message-should-be-rendered", + "rawLine": " it('Additional Charge Callout message should be rendered', () => {", + "line": " it('Additional Charge Callout message should be rendered')", + "label": "Additional Charge Callout message should be rendered", + "indent": 4, + "type": "it", + "isSkipped": false, + "isTodo": false + } + ] + }, + { + "id": "gcp-credentials-input-fields", + "rawLine": " describe('GCP Credentials input fields', () => {", + "line": " describe('GCP Credentials input fields')", + "label": "GCP Credentials input fields", + "indent": 2, + "type": "describe", + "isSkipped": false, + "isTodo": false, + "children": [ + { + "id": "renders-${cloudbeat_gcp}-not-supported-when-version-is-not-at-least-version-1.5.2", + "rawLine": " it(`renders ${CLOUDBEAT_GCP} Not supported when version is not at least version 1.5.2`, () => {", + "line": " it(`renders ${CLOUDBEAT_GCP} Not supported when version is not at least version 1.5.2`)", + "label": "renders ${CLOUDBEAT_GCP} Not supported when version is not at least version 1.5.2", + "indent": 4, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "documentation-hyperlink-should-have-correct-url-to-redirect-users-to-elastic-page", + "rawLine": " it(`documentation Hyperlink should have correct URL to redirect users to elastic page`, () => {", + "line": " it(`documentation Hyperlink should have correct URL to redirect users to elastic page`)", + "label": "documentation Hyperlink should have correct URL to redirect users to elastic page", + "indent": 4, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "renders-google-cloud-shell-forms-when-setup-access-is-set-to-google-cloud-shell", + "rawLine": " it(`renders Google Cloud Shell forms when Setup Access is set to Google Cloud Shell`, () => {", + "line": " it(`renders Google Cloud Shell forms when Setup Access is set to Google Cloud Shell`)", + "label": "renders Google Cloud Shell forms when Setup Access is set to Google Cloud Shell", + "indent": 4, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "renders-${cloudbeat_gcp}-credentials-file-fields", + "rawLine": " it(`renders ${CLOUDBEAT_GCP} Credentials File fields`, () => {", + "line": " it(`renders ${CLOUDBEAT_GCP} Credentials File fields`)", + "label": "renders ${CLOUDBEAT_GCP} Credentials File fields", + "indent": 4, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "updates-${cloudbeat_gcp}-credentials-file-fields", + "rawLine": " it(`updates ${CLOUDBEAT_GCP} Credentials File fields`, () => {", + "line": " it(`updates ${CLOUDBEAT_GCP} Credentials File fields`)", + "label": "updates ${CLOUDBEAT_GCP} Credentials File fields", + "indent": 4, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "renders-${cloudbeat_gcp}-credentials-json-fields", + "rawLine": " it(`renders ${CLOUDBEAT_GCP} Credentials JSON fields`, () => {", + "line": " it(`renders ${CLOUDBEAT_GCP} Credentials JSON fields`)", + "label": "renders ${CLOUDBEAT_GCP} Credentials JSON fields", + "indent": 4, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "updates-${cloudbeat_gcp}-credentials-json-fields", + "rawLine": " it(`updates ${CLOUDBEAT_GCP} Credentials JSON fields`, () => {", + "line": " it(`updates ${CLOUDBEAT_GCP} Credentials JSON fields`)", + "label": "updates ${CLOUDBEAT_GCP} Credentials JSON fields", + "indent": 4, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "${cloudbeat_gcp}-form-do-not-displays-upgrade-message-for-supported-versions-and-gcp-organization-option-is-enabled", + "rawLine": " it(`${CLOUDBEAT_GCP} form do not displays upgrade message for supported versions and gcp organization option is enabled`, () => {", + "line": " it(`${CLOUDBEAT_GCP} form do not displays upgrade message for supported versions and gcp organization option is enabled`)", + "label": "${CLOUDBEAT_GCP} form do not displays upgrade message for supported versions and gcp organization option is enabled", + "indent": 4, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "renders-${cloudbeat_gcp}-organization-fields-when-account-type-is-organization-and-setup-access-is-google-cloud-shell", + "rawLine": " it(`renders ${CLOUDBEAT_GCP} Organization fields when account type is Organization and Setup Access is Google Cloud Shell`, () => {", + "line": " it(`renders ${CLOUDBEAT_GCP} Organization fields when account type is Organization and Setup Access is Google Cloud Shell`)", + "label": "renders ${CLOUDBEAT_GCP} Organization fields when account type is Organization and Setup Access is Google Cloud Shell", + "indent": 4, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "renders-${cloudbeat_gcp}-organization-fields-when-account-type-is-organization-and-setup-access-is-manual", + "rawLine": " it(`renders ${CLOUDBEAT_GCP} Organization fields when account type is Organization and Setup Access is manual`, () => {", + "line": " it(`renders ${CLOUDBEAT_GCP} Organization fields when account type is Organization and Setup Access is manual`)", + "label": "renders ${CLOUDBEAT_GCP} Organization fields when account type is Organization and Setup Access is manual", + "indent": 4, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "should-not-render-${cloudbeat_gcp}-organization-fields-when-account-type-is-single", + "rawLine": " it(`Should not render ${CLOUDBEAT_GCP} Organization fields when account type is Single`, () => {", + "line": " it(`Should not render ${CLOUDBEAT_GCP} Organization fields when account type is Single`)", + "label": "Should not render ${CLOUDBEAT_GCP} Organization fields when account type is Single", + "indent": 4, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "updates-${cloudbeat_gcp}-organization-id", + "rawLine": " it(`updates ${CLOUDBEAT_GCP} organization id`, () => {", + "line": " it(`updates ${CLOUDBEAT_GCP} organization id`)", + "label": "updates ${CLOUDBEAT_GCP} organization id", + "indent": 4, + "type": "it", + "isSkipped": false, + "isTodo": false + } + ] + }, + { + "id": "azure-credentials-input-fields", + "rawLine": " describe('Azure Credentials input fields', () => {", + "line": " describe('Azure Credentials input fields')", + "label": "Azure Credentials input fields", + "indent": 2, + "type": "describe", + "isSkipped": false, + "isTodo": false, + "children": [ + { + "id": "renders-${cloudbeat_azure}-not-supported-when-version-is-not-at-least-version-1.6.0", + "rawLine": " it(`renders ${CLOUDBEAT_AZURE} Not supported when version is not at least version 1.6.0`, () => {", + "line": " it(`renders ${CLOUDBEAT_AZURE} Not supported when version is not at least version 1.6.0`)", + "label": "renders ${CLOUDBEAT_AZURE} Not supported when version is not at least version 1.6.0", + "indent": 4, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "doesnt-render-${cloudbeat_azure}-manual-fields-when-version-is-not-at-least-version-1.7.0", + "rawLine": " it(`doesnt render ${CLOUDBEAT_AZURE} Manual fields when version is not at least version 1.7.0`, () => {", + "line": " it(`doesnt render ${CLOUDBEAT_AZURE} Manual fields when version is not at least version 1.7.0`)", + "label": "doesnt render ${CLOUDBEAT_AZURE} Manual fields when version is not at least version 1.7.0", + "indent": 4, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "selects-default-${cloudbeat_azure}-fields", + "rawLine": " it(`selects default ${CLOUDBEAT_AZURE} fields`, () => {", + "line": " it(`selects default ${CLOUDBEAT_AZURE} fields`)", + "label": "selects default ${CLOUDBEAT_AZURE} fields", + "indent": 4, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "renders-${cloudbeat_azure}-service-principal-with-client-secret-fields", + "rawLine": " it(`renders ${CLOUDBEAT_AZURE} Service Principal with Client Secret fields`, () => {", + "line": " it(`renders ${CLOUDBEAT_AZURE} Service Principal with Client Secret fields`)", + "label": "renders ${CLOUDBEAT_AZURE} Service Principal with Client Secret fields", + "indent": 4, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "updates-${cloudbeat_azure}-service-principal-with-client-secret-fields", + "rawLine": " it(`updates ${CLOUDBEAT_AZURE} Service Principal with Client Secret fields`, () => {", + "line": " it(`updates ${CLOUDBEAT_AZURE} Service Principal with Client Secret fields`)", + "label": "updates ${CLOUDBEAT_AZURE} Service Principal with Client Secret fields", + "indent": 4, + "type": "it", + "isSkipped": false, + "isTodo": false + } + ] + }, + { + "id": "agentless", + "rawLine": " describe('Agentless', () => {", + "line": " describe('Agentless')", + "label": "Agentless", + "indent": 2, + "type": "describe", + "isSkipped": false, + "isTodo": false, + "children": [ + { + "id": "should-render-setup-technology-selector-for-aws-and-allow-to-select-agent-based", + "rawLine": " it('should render setup technology selector for AWS and allow to select agent-based', async () => {", + "line": " it('should render setup technology selector for AWS and allow to select agent-based')", + "label": "should render setup technology selector for AWS and allow to select agent-based", + "indent": 4, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "should-not-render-setup-technology-selector-for-kspm", + "rawLine": " it('should not render setup technology selector for KSPM', () => {", + "line": " it('should not render setup technology selector for KSPM')", + "label": "should not render setup technology selector for KSPM", + "indent": 4, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "should-not-render-setup-technology-selector-for-cnvm", + "rawLine": " it('should not render setup technology selector for CNVM', () => {", + "line": " it('should not render setup technology selector for CNVM')", + "label": "should not render setup technology selector for CNVM", + "indent": 4, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "should-not-render-setup-technology-selector-for-cspm-gcp", + "rawLine": " it('should not render setup technology selector for CSPM GCP', () => {", + "line": " it('should not render setup technology selector for CSPM GCP')", + "label": "should not render setup technology selector for CSPM GCP", + "indent": 4, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "should-not-render-setup-technology-selector-for-cspm-azure", + "rawLine": " it('should not render setup technology selector for CSPM Azure', () => {", + "line": " it('should not render setup technology selector for CSPM Azure')", + "label": "should not render setup technology selector for CSPM Azure", + "indent": 4, + "type": "it", + "isSkipped": false, + "isTodo": false + } + ] + }, + { + "id": "renders-service-principal-with-client-certificate-fields", + "rawLine": " it(`renders Service principal with Client Certificate fields`, () => {", + "line": " it(`renders Service principal with Client Certificate fields`)", + "label": "renders Service principal with Client Certificate fields", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "updates-service-principal-with-client-certificate-fields", + "rawLine": " it(`updates Service principal with Client Certificate fields`, () => {", + "line": " it(`updates Service principal with Client Certificate fields`)", + "label": "updates Service principal with Client Certificate fields", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "should-not-render-service-principal-with-client-username-and-password-option", + "rawLine": " it(`should not render Service principal with Client Username and Password option`, () => {", + "line": " it(`should not render Service principal with Client Username and Password option`)", + "label": "should not render Service principal with Client Username and Password option", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "renders-service-principal-with-client-username-and-password-fields", + "rawLine": " it.skip(`renders Service principal with Client Username and Password fields`, () => {", + "line": " it.skip(`renders Service principal with Client Username and Password fields`)", + "label": "renders Service principal with Client Username and Password fields", + "indent": 2, + "type": "it", + "isSkipped": true, + "isTodo": false + }, + { + "id": "updates-service-principal-with-client-username-and-password-fields", + "rawLine": " it.skip(`updates Service principal with Client Username and Password fields`, () => {", + "line": " it.skip(`updates Service principal with Client Username and Password fields`)", + "label": "updates Service principal with Client Username and Password fields", + "indent": 2, + "type": "it", + "isSkipped": true, + "isTodo": false + } + ] + } + ] + }, + { + "filePath": "x-pack/plugins/cloud_security_posture/public/components/fleet_extensions/setup_technology_selector/use_setup_technology.test.ts", + "fileName": "use_setup_technology.test.ts", + "directory": "x-pack/plugins/cloud_security_posture", + "tags": [ + "UT" + ], + "lines": [ + "describe('useSetupTechnology')", + " describe('create page flow')", + " it('initializes with AGENT_BASED technology')", + " it('sets to AGENTLESS when agentless is available')", + " it('sets to AGENT_BASED when agentPolicyId differs from agentlessPolicyId')", + " it('calls handleSetupTechnologyChange when setupTechnology changes')", + " describe('edit page flow')", + " it('initializes with AGENT_BASED technology')", + " it('initializes with AGENTLESS technology if the agent policy id is \"agentless\"')", + " it('should not call handleSetupTechnologyChange when setupTechnology changes')", + " it('should not update setupTechnology when agentlessPolicyId becomes available')" + ], + "testSuits": [ + { + "id": "usesetuptechnology", + "rawLine": "describe('useSetupTechnology', () => {", + "line": "describe('useSetupTechnology')", + "label": "useSetupTechnology", + "indent": 0, + "type": "describe", + "isSkipped": false, + "isTodo": false + }, + { + "id": "create-page-flow", + "rawLine": " describe('create page flow', () => {", + "line": " describe('create page flow')", + "label": "create page flow", + "indent": 2, + "type": "describe", + "isSkipped": false, + "isTodo": false + }, + { + "id": "initializes-with-agent_based-technology", + "rawLine": " it('initializes with AGENT_BASED technology', () => {", + "line": " it('initializes with AGENT_BASED technology')", + "label": "initializes with AGENT_BASED technology", + "indent": 4, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "sets-to-agentless-when-agentless-is-available", + "rawLine": " it('sets to AGENTLESS when agentless is available', () => {", + "line": " it('sets to AGENTLESS when agentless is available')", + "label": "sets to AGENTLESS when agentless is available", + "indent": 4, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "sets-to-agent_based-when-agentpolicyid-differs-from-agentlesspolicyid", + "rawLine": " it('sets to AGENT_BASED when agentPolicyId differs from agentlessPolicyId', () => {", + "line": " it('sets to AGENT_BASED when agentPolicyId differs from agentlessPolicyId')", + "label": "sets to AGENT_BASED when agentPolicyId differs from agentlessPolicyId", + "indent": 4, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "calls-handlesetuptechnologychange-when-setuptechnology-changes", + "rawLine": " it('calls handleSetupTechnologyChange when setupTechnology changes', () => {", + "line": " it('calls handleSetupTechnologyChange when setupTechnology changes')", + "label": "calls handleSetupTechnologyChange when setupTechnology changes", + "indent": 4, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "edit-page-flow", + "rawLine": " describe('edit page flow', () => {", + "line": " describe('edit page flow')", + "label": "edit page flow", + "indent": 2, + "type": "describe", + "isSkipped": false, + "isTodo": false + }, + { + "id": "initializes-with-agent_based-technology", + "rawLine": " it('initializes with AGENT_BASED technology', () => {", + "line": " it('initializes with AGENT_BASED technology')", + "label": "initializes with AGENT_BASED technology", + "indent": 4, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "initializes-with-agentless-technology-if-the-agent-policy-id-is-\"agentless\"", + "rawLine": " it('initializes with AGENTLESS technology if the agent policy id is \"agentless\"', () => {", + "line": " it('initializes with AGENTLESS technology if the agent policy id is \"agentless\"')", + "label": "initializes with AGENTLESS technology if the agent policy id is \"agentless\"", + "indent": 4, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "should-not-call-handlesetuptechnologychange-when-setuptechnology-changes", + "rawLine": " it('should not call handleSetupTechnologyChange when setupTechnology changes', () => {", + "line": " it('should not call handleSetupTechnologyChange when setupTechnology changes')", + "label": "should not call handleSetupTechnologyChange when setupTechnology changes", + "indent": 4, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "should-not-update-setuptechnology-when-agentlesspolicyid-becomes-available", + "rawLine": " it('should not update setupTechnology when agentlessPolicyId becomes available', () => {", + "line": " it('should not update setupTechnology when agentlessPolicyId becomes available')", + "label": "should not update setupTechnology when agentlessPolicyId becomes available", + "indent": 4, + "type": "it", + "isSkipped": false, + "isTodo": false + } + ], + "tree": [ + { + "id": "usesetuptechnology", + "rawLine": "describe('useSetupTechnology', () => {", + "line": "describe('useSetupTechnology')", + "label": "useSetupTechnology", + "indent": 0, + "type": "describe", + "isSkipped": false, + "isTodo": false, + "children": [ + { + "id": "create-page-flow", + "rawLine": " describe('create page flow', () => {", + "line": " describe('create page flow')", + "label": "create page flow", + "indent": 2, + "type": "describe", + "isSkipped": false, + "isTodo": false, + "children": [ + { + "id": "initializes-with-agent_based-technology", + "rawLine": " it('initializes with AGENT_BASED technology', () => {", + "line": " it('initializes with AGENT_BASED technology')", + "label": "initializes with AGENT_BASED technology", + "indent": 4, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "sets-to-agentless-when-agentless-is-available", + "rawLine": " it('sets to AGENTLESS when agentless is available', () => {", + "line": " it('sets to AGENTLESS when agentless is available')", + "label": "sets to AGENTLESS when agentless is available", + "indent": 4, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "sets-to-agent_based-when-agentpolicyid-differs-from-agentlesspolicyid", + "rawLine": " it('sets to AGENT_BASED when agentPolicyId differs from agentlessPolicyId', () => {", + "line": " it('sets to AGENT_BASED when agentPolicyId differs from agentlessPolicyId')", + "label": "sets to AGENT_BASED when agentPolicyId differs from agentlessPolicyId", + "indent": 4, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "calls-handlesetuptechnologychange-when-setuptechnology-changes", + "rawLine": " it('calls handleSetupTechnologyChange when setupTechnology changes', () => {", + "line": " it('calls handleSetupTechnologyChange when setupTechnology changes')", + "label": "calls handleSetupTechnologyChange when setupTechnology changes", + "indent": 4, + "type": "it", + "isSkipped": false, + "isTodo": false + } + ] + }, + { + "id": "edit-page-flow", + "rawLine": " describe('edit page flow', () => {", + "line": " describe('edit page flow')", + "label": "edit page flow", + "indent": 2, + "type": "describe", + "isSkipped": false, + "isTodo": false, + "children": [ + { + "id": "initializes-with-agent_based-technology", + "rawLine": " it('initializes with AGENT_BASED technology', () => {", + "line": " it('initializes with AGENT_BASED technology')", + "label": "initializes with AGENT_BASED technology", + "indent": 4, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "initializes-with-agentless-technology-if-the-agent-policy-id-is-\"agentless\"", + "rawLine": " it('initializes with AGENTLESS technology if the agent policy id is \"agentless\"', () => {", + "line": " it('initializes with AGENTLESS technology if the agent policy id is \"agentless\"')", + "label": "initializes with AGENTLESS technology if the agent policy id is \"agentless\"", + "indent": 4, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "should-not-call-handlesetuptechnologychange-when-setuptechnology-changes", + "rawLine": " it('should not call handleSetupTechnologyChange when setupTechnology changes', () => {", + "line": " it('should not call handleSetupTechnologyChange when setupTechnology changes')", + "label": "should not call handleSetupTechnologyChange when setupTechnology changes", + "indent": 4, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "should-not-update-setuptechnology-when-agentlesspolicyid-becomes-available", + "rawLine": " it('should not update setupTechnology when agentlessPolicyId becomes available', () => {", + "line": " it('should not update setupTechnology when agentlessPolicyId becomes available')", + "label": "should not update setupTechnology when agentlessPolicyId becomes available", + "indent": 4, + "type": "it", + "isSkipped": false, + "isTodo": false + } + ] + } + ] + } + ] + }, + { + "filePath": "x-pack/plugins/cloud_security_posture/public/components/fleet_extensions/utils.test.ts", + "fileName": "utils.test.ts", + "directory": "x-pack/plugins/cloud_security_posture", + "tags": [ + "UT" + ], + "lines": [ + "describe('getPosturePolicy')", + " it(`updates package policy with hidden vars for ${name}`)", + " it('updates package policy required vars (posture/deployment)')", + " it('updates package policy with a single enabled input')", + "describe('getMaxPackageName')", + " it('should correctly increment cspm package name')", + " it('should return correctly increment vuln_mgmt package name')", + " it('should return correctly increment kspm package name')", + " it('should return package name with -1 when no matching package policies are found')", + "describe('getCspmCloudShellDefaultValue')", + " it('should return empty string when policy_templates is missing')", + " it('should return empty string when policy_templates.name is not cspm')", + " it('should return empty string when policy_templates.inputs is missing')", + " it('should return empty string when policy_templates.inputs is empty')", + " it('should return empty string when policy_templates.inputs is undefined')", + " it('should return empty string when policy_templates.inputs.vars does not have cloud_shell_url')", + " it('should return empty string when policy_templates.inputs.varshave cloud_shell_url but no default')", + " it('should cloud shell url when policy_templates.inputs.vars have cloud_shell_url')", + "describe('isBelowMinVersion')", + "describe('getDefaultAwsCredentialsType')", + " it('should return \"direct_access_key\" for agentless')", + " it('should return \"assume_role\" for agent-based, when cloudformation is not available')", + " it('should return \"cloud_formation\" for agent-based, when cloudformation is available')" + ], + "testSuits": [ + { + "id": "getposturepolicy", + "rawLine": "describe('getPosturePolicy', () => {", + "line": "describe('getPosturePolicy')", + "label": "getPosturePolicy", + "indent": 0, + "type": "describe", + "isSkipped": false, + "isTodo": false + }, + { + "id": "updates-package-policy-with-hidden-vars-for-${name}", + "rawLine": " it(`updates package policy with hidden vars for ${name}`, () => {", + "line": " it(`updates package policy with hidden vars for ${name}`)", + "label": "updates package policy with hidden vars for ${name}", + "indent": 4, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "updates-package-policy-required-vars-(posture/deployment)", + "rawLine": " it('updates package policy required vars (posture/deployment)', () => {", + "line": " it('updates package policy required vars (posture/deployment)')", + "label": "updates package policy required vars (posture/deployment)", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "updates-package-policy-with-a-single-enabled-input", + "rawLine": " it('updates package policy with a single enabled input', () => {", + "line": " it('updates package policy with a single enabled input')", + "label": "updates package policy with a single enabled input", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "getmaxpackagename", + "rawLine": "describe('getMaxPackageName', () => {", + "line": "describe('getMaxPackageName')", + "label": "getMaxPackageName", + "indent": 0, + "type": "describe", + "isSkipped": false, + "isTodo": false + }, + { + "id": "should-correctly-increment-cspm-package-name", + "rawLine": " it('should correctly increment cspm package name', () => {", + "line": " it('should correctly increment cspm package name')", + "label": "should correctly increment cspm package name", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "should-return-correctly-increment-vuln_mgmt-package-name", + "rawLine": " it('should return correctly increment vuln_mgmt package name', () => {", + "line": " it('should return correctly increment vuln_mgmt package name')", + "label": "should return correctly increment vuln_mgmt package name", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "should-return-correctly-increment-kspm-package-name", + "rawLine": " it('should return correctly increment kspm package name', () => {", + "line": " it('should return correctly increment kspm package name')", + "label": "should return correctly increment kspm package name", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "should-return-package-name-with--1-when-no-matching-package-policies-are-found", + "rawLine": " it('should return package name with -1 when no matching package policies are found', () => {", + "line": " it('should return package name with -1 when no matching package policies are found')", + "label": "should return package name with -1 when no matching package policies are found", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "getcspmcloudshelldefaultvalue", + "rawLine": "describe('getCspmCloudShellDefaultValue', () => {", + "line": "describe('getCspmCloudShellDefaultValue')", + "label": "getCspmCloudShellDefaultValue", + "indent": 0, + "type": "describe", + "isSkipped": false, + "isTodo": false + }, + { + "id": "should-return-empty-string-when-policy_templates-is-missing", + "rawLine": " it('should return empty string when policy_templates is missing', () => {", + "line": " it('should return empty string when policy_templates is missing')", + "label": "should return empty string when policy_templates is missing", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "should-return-empty-string-when-policy_templates.name-is-not-cspm", + "rawLine": " it('should return empty string when policy_templates.name is not cspm', () => {", + "line": " it('should return empty string when policy_templates.name is not cspm')", + "label": "should return empty string when policy_templates.name is not cspm", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "should-return-empty-string-when-policy_templates.inputs-is-missing", + "rawLine": " it('should return empty string when policy_templates.inputs is missing', () => {", + "line": " it('should return empty string when policy_templates.inputs is missing')", + "label": "should return empty string when policy_templates.inputs is missing", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "should-return-empty-string-when-policy_templates.inputs-is-empty", + "rawLine": " it('should return empty string when policy_templates.inputs is empty', () => {", + "line": " it('should return empty string when policy_templates.inputs is empty')", + "label": "should return empty string when policy_templates.inputs is empty", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "should-return-empty-string-when-policy_templates.inputs-is-undefined", + "rawLine": " it('should return empty string when policy_templates.inputs is undefined', () => {", + "line": " it('should return empty string when policy_templates.inputs is undefined')", + "label": "should return empty string when policy_templates.inputs is undefined", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "should-return-empty-string-when-policy_templates.inputs.vars-does-not-have-cloud_shell_url", + "rawLine": " it('should return empty string when policy_templates.inputs.vars does not have cloud_shell_url', () => {", + "line": " it('should return empty string when policy_templates.inputs.vars does not have cloud_shell_url')", + "label": "should return empty string when policy_templates.inputs.vars does not have cloud_shell_url", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "should-return-empty-string-when-policy_templates.inputs.varshave-cloud_shell_url-but-no-default", + "rawLine": " it('should return empty string when policy_templates.inputs.varshave cloud_shell_url but no default', () => {", + "line": " it('should return empty string when policy_templates.inputs.varshave cloud_shell_url but no default')", + "label": "should return empty string when policy_templates.inputs.varshave cloud_shell_url but no default", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "should-cloud-shell-url-when-policy_templates.inputs.vars-have-cloud_shell_url", + "rawLine": " it('should cloud shell url when policy_templates.inputs.vars have cloud_shell_url', () => {", + "line": " it('should cloud shell url when policy_templates.inputs.vars have cloud_shell_url')", + "label": "should cloud shell url when policy_templates.inputs.vars have cloud_shell_url", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "isbelowminversion", + "rawLine": "describe('isBelowMinVersion', () => {", + "line": "describe('isBelowMinVersion')", + "label": "isBelowMinVersion", + "indent": 0, + "type": "describe", + "isSkipped": false, + "isTodo": false + }, + { + "id": "getdefaultawscredentialstype", + "rawLine": "describe('getDefaultAwsCredentialsType', () => {", + "line": "describe('getDefaultAwsCredentialsType')", + "label": "getDefaultAwsCredentialsType", + "indent": 0, + "type": "describe", + "isSkipped": false, + "isTodo": false + }, + { + "id": "should-return-\"direct_access_key\"-for-agentless", + "rawLine": " it('should return \"direct_access_key\" for agentless', () => {", + "line": " it('should return \"direct_access_key\" for agentless')", + "label": "should return \"direct_access_key\" for agentless", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "should-return-\"assume_role\"-for-agent-based,-when-cloudformation-is-not-available", + "rawLine": " it('should return \"assume_role\" for agent-based, when cloudformation is not available', () => {", + "line": " it('should return \"assume_role\" for agent-based, when cloudformation is not available')", + "label": "should return \"assume_role\" for agent-based, when cloudformation is not available", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "should-return-\"cloud_formation\"-for-agent-based,-when-cloudformation-is-available", + "rawLine": " it('should return \"cloud_formation\" for agent-based, when cloudformation is available', () => {", + "line": " it('should return \"cloud_formation\" for agent-based, when cloudformation is available')", + "label": "should return \"cloud_formation\" for agent-based, when cloudformation is available", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + } + ], + "tree": [ + { + "id": "getposturepolicy", + "rawLine": "describe('getPosturePolicy', () => {", + "line": "describe('getPosturePolicy')", + "label": "getPosturePolicy", + "indent": 0, + "type": "describe", + "isSkipped": false, + "isTodo": false, + "children": [ + { + "id": "updates-package-policy-with-hidden-vars-for-${name}", + "rawLine": " it(`updates package policy with hidden vars for ${name}`, () => {", + "line": " it(`updates package policy with hidden vars for ${name}`)", + "label": "updates package policy with hidden vars for ${name}", + "indent": 4, + "type": "it", + "isSkipped": false, + "isTodo": false + } + ] + }, + { + "id": "updates-package-policy-required-vars-(posture/deployment)", + "rawLine": " it('updates package policy required vars (posture/deployment)', () => {", + "line": " it('updates package policy required vars (posture/deployment)')", + "label": "updates package policy required vars (posture/deployment)", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "updates-package-policy-with-a-single-enabled-input", + "rawLine": " it('updates package policy with a single enabled input', () => {", + "line": " it('updates package policy with a single enabled input')", + "label": "updates package policy with a single enabled input", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "should-correctly-increment-cspm-package-name", + "rawLine": " it('should correctly increment cspm package name', () => {", + "line": " it('should correctly increment cspm package name')", + "label": "should correctly increment cspm package name", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "should-return-correctly-increment-vuln_mgmt-package-name", + "rawLine": " it('should return correctly increment vuln_mgmt package name', () => {", + "line": " it('should return correctly increment vuln_mgmt package name')", + "label": "should return correctly increment vuln_mgmt package name", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "should-return-correctly-increment-kspm-package-name", + "rawLine": " it('should return correctly increment kspm package name', () => {", + "line": " it('should return correctly increment kspm package name')", + "label": "should return correctly increment kspm package name", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "should-return-package-name-with--1-when-no-matching-package-policies-are-found", + "rawLine": " it('should return package name with -1 when no matching package policies are found', () => {", + "line": " it('should return package name with -1 when no matching package policies are found')", + "label": "should return package name with -1 when no matching package policies are found", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "should-return-empty-string-when-policy_templates-is-missing", + "rawLine": " it('should return empty string when policy_templates is missing', () => {", + "line": " it('should return empty string when policy_templates is missing')", + "label": "should return empty string when policy_templates is missing", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "should-return-empty-string-when-policy_templates.name-is-not-cspm", + "rawLine": " it('should return empty string when policy_templates.name is not cspm', () => {", + "line": " it('should return empty string when policy_templates.name is not cspm')", + "label": "should return empty string when policy_templates.name is not cspm", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "should-return-empty-string-when-policy_templates.inputs-is-missing", + "rawLine": " it('should return empty string when policy_templates.inputs is missing', () => {", + "line": " it('should return empty string when policy_templates.inputs is missing')", + "label": "should return empty string when policy_templates.inputs is missing", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "should-return-empty-string-when-policy_templates.inputs-is-empty", + "rawLine": " it('should return empty string when policy_templates.inputs is empty', () => {", + "line": " it('should return empty string when policy_templates.inputs is empty')", + "label": "should return empty string when policy_templates.inputs is empty", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "should-return-empty-string-when-policy_templates.inputs-is-undefined", + "rawLine": " it('should return empty string when policy_templates.inputs is undefined', () => {", + "line": " it('should return empty string when policy_templates.inputs is undefined')", + "label": "should return empty string when policy_templates.inputs is undefined", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "should-return-empty-string-when-policy_templates.inputs.vars-does-not-have-cloud_shell_url", + "rawLine": " it('should return empty string when policy_templates.inputs.vars does not have cloud_shell_url', () => {", + "line": " it('should return empty string when policy_templates.inputs.vars does not have cloud_shell_url')", + "label": "should return empty string when policy_templates.inputs.vars does not have cloud_shell_url", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "should-return-empty-string-when-policy_templates.inputs.varshave-cloud_shell_url-but-no-default", + "rawLine": " it('should return empty string when policy_templates.inputs.varshave cloud_shell_url but no default', () => {", + "line": " it('should return empty string when policy_templates.inputs.varshave cloud_shell_url but no default')", + "label": "should return empty string when policy_templates.inputs.varshave cloud_shell_url but no default", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "should-cloud-shell-url-when-policy_templates.inputs.vars-have-cloud_shell_url", + "rawLine": " it('should cloud shell url when policy_templates.inputs.vars have cloud_shell_url', () => {", + "line": " it('should cloud shell url when policy_templates.inputs.vars have cloud_shell_url')", + "label": "should cloud shell url when policy_templates.inputs.vars have cloud_shell_url", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "should-return-\"direct_access_key\"-for-agentless", + "rawLine": " it('should return \"direct_access_key\" for agentless', () => {", + "line": " it('should return \"direct_access_key\" for agentless')", + "label": "should return \"direct_access_key\" for agentless", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "should-return-\"assume_role\"-for-agent-based,-when-cloudformation-is-not-available", + "rawLine": " it('should return \"assume_role\" for agent-based, when cloudformation is not available', () => {", + "line": " it('should return \"assume_role\" for agent-based, when cloudformation is not available')", + "label": "should return \"assume_role\" for agent-based, when cloudformation is not available", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "should-return-\"cloud_formation\"-for-agent-based,-when-cloudformation-is-available", + "rawLine": " it('should return \"cloud_formation\" for agent-based, when cloudformation is available', () => {", + "line": " it('should return \"cloud_formation\" for agent-based, when cloudformation is available')", + "label": "should return \"cloud_formation\" for agent-based, when cloudformation is available", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + } + ] + }, + { + "filePath": "x-pack/plugins/cloud_security_posture/public/pages/benchmarks/benchmarks_table.test.tsx", + "fileName": "benchmarks_table.test.tsx", + "directory": "x-pack/plugins/cloud_security_posture", + "tags": [ + "UT" + ], + "lines": [ + "describe('')", + " it('renders cis integration name')", + " it('renders benchmark version')", + " it('renders applicable to')", + " it('renders evaluated')", + " it('renders compliance')" + ], + "testSuits": [ + { + "id": "", + "rawLine": "describe('', () => {", + "line": "describe('')", + "label": "", + "indent": 0, + "type": "describe", + "isSkipped": false, + "isTodo": false + }, + { + "id": "renders-cis-integration-name", + "rawLine": " it('renders cis integration name', () => {", + "line": " it('renders cis integration name')", + "label": "renders cis integration name", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "renders-benchmark-version", + "rawLine": " it('renders benchmark version', () => {", + "line": " it('renders benchmark version')", + "label": "renders benchmark version", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "renders-applicable-to", + "rawLine": " it('renders applicable to', () => {", + "line": " it('renders applicable to')", + "label": "renders applicable to", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "renders-evaluated", + "rawLine": " it('renders evaluated', () => {", + "line": " it('renders evaluated')", + "label": "renders evaluated", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "renders-compliance", + "rawLine": " it('renders compliance', () => {", + "line": " it('renders compliance')", + "label": "renders compliance", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + } + ], + "tree": [ + { + "id": "", + "rawLine": "describe('', () => {", + "line": "describe('')", + "label": "", + "indent": 0, + "type": "describe", + "isSkipped": false, + "isTodo": false, + "children": [ + { + "id": "renders-cis-integration-name", + "rawLine": " it('renders cis integration name', () => {", + "line": " it('renders cis integration name')", + "label": "renders cis integration name", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "renders-benchmark-version", + "rawLine": " it('renders benchmark version', () => {", + "line": " it('renders benchmark version')", + "label": "renders benchmark version", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "renders-applicable-to", + "rawLine": " it('renders applicable to', () => {", + "line": " it('renders applicable to')", + "label": "renders applicable to", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "renders-evaluated", + "rawLine": " it('renders evaluated', () => {", + "line": " it('renders evaluated')", + "label": "renders evaluated", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "renders-compliance", + "rawLine": " it('renders compliance', () => {", + "line": " it('renders compliance')", + "label": "renders compliance", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + } + ] + } + ] + }, + { + "filePath": "x-pack/plugins/cloud_security_posture/public/pages/benchmarks/benchmarks.test.tsx", + "fileName": "benchmarks.test.tsx", + "directory": "x-pack/plugins/cloud_security_posture", + "tags": [ + "UT" + ], + "lines": [ + "describe('')", + " it('renders the page header')", + " it('renders the \"add integration\" button')", + " it('renders error state while there is an error')", + " it('renders the benchmarks table')" + ], + "testSuits": [ + { + "id": "", + "rawLine": "describe('', () => {", + "line": "describe('')", + "label": "", + "indent": 0, + "type": "describe", + "isSkipped": false, + "isTodo": false + }, + { + "id": "renders-the-page-header", + "rawLine": " it('renders the page header', () => {", + "line": " it('renders the page header')", + "label": "renders the page header", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "renders-the-\"add-integration\"-button", + "rawLine": " it('renders the \"add integration\" button', () => {", + "line": " it('renders the \"add integration\" button')", + "label": "renders the \"add integration\" button", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "renders-error-state-while-there-is-an-error", + "rawLine": " it('renders error state while there is an error', () => {", + "line": " it('renders error state while there is an error')", + "label": "renders error state while there is an error", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "renders-the-benchmarks-table", + "rawLine": " it('renders the benchmarks table', () => {", + "line": " it('renders the benchmarks table')", + "label": "renders the benchmarks table", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + } + ], + "tree": [ + { + "id": "", + "rawLine": "describe('', () => {", + "line": "describe('')", + "label": "", + "indent": 0, + "type": "describe", + "isSkipped": false, + "isTodo": false, + "children": [ + { + "id": "renders-the-page-header", + "rawLine": " it('renders the page header', () => {", + "line": " it('renders the page header')", + "label": "renders the page header", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "renders-the-\"add-integration\"-button", + "rawLine": " it('renders the \"add integration\" button', () => {", + "line": " it('renders the \"add integration\" button')", + "label": "renders the \"add integration\" button", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "renders-error-state-while-there-is-an-error", + "rawLine": " it('renders error state while there is an error', () => {", + "line": " it('renders error state while there is an error')", + "label": "renders error state while there is an error", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "renders-the-benchmarks-table", + "rawLine": " it('renders the benchmarks table', () => {", + "line": " it('renders the benchmarks table')", + "label": "renders the benchmarks table", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + } + ] + } + ] + }, + { + "filePath": "x-pack/plugins/cloud_security_posture/public/pages/compliance_dashboard/compliance_charts/risks_table.test.ts", + "fileName": "risks_table.test.ts", + "directory": "x-pack/plugins/cloud_security_posture", + "tags": [ + "UT" + ], + "lines": [ + "describe('getTopRisks')", + " it('returns sorted by posture score')", + " it('return sorted array with the correct number of elements')" + ], + "testSuits": [ + { + "id": "gettoprisks", + "rawLine": "describe('getTopRisks', () => {", + "line": "describe('getTopRisks')", + "label": "getTopRisks", + "indent": 0, + "type": "describe", + "isSkipped": false, + "isTodo": false + }, + { + "id": "returns-sorted-by-posture-score", + "rawLine": " it('returns sorted by posture score', () => {", + "line": " it('returns sorted by posture score')", + "label": "returns sorted by posture score", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "return-sorted-array-with-the-correct-number-of-elements", + "rawLine": " it('return sorted array with the correct number of elements', () => {", + "line": " it('return sorted array with the correct number of elements')", + "label": "return sorted array with the correct number of elements", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + } + ], + "tree": [ + { + "id": "gettoprisks", + "rawLine": "describe('getTopRisks', () => {", + "line": "describe('getTopRisks')", + "label": "getTopRisks", + "indent": 0, + "type": "describe", + "isSkipped": false, + "isTodo": false, + "children": [ + { + "id": "returns-sorted-by-posture-score", + "rawLine": " it('returns sorted by posture score', () => {", + "line": " it('returns sorted by posture score')", + "label": "returns sorted by posture score", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "return-sorted-array-with-the-correct-number-of-elements", + "rawLine": " it('return sorted array with the correct number of elements', () => {", + "line": " it('return sorted array with the correct number of elements')", + "label": "return sorted array with the correct number of elements", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + } + ] + } + ] + }, + { + "filePath": "x-pack/plugins/cloud_security_posture/public/pages/compliance_dashboard/compliance_dashboard.test.tsx", + "fileName": "compliance_dashboard.test.tsx", + "directory": "x-pack/plugins/cloud_security_posture", + "tags": [ + "UT" + ], + "lines": [ + "describe('')", + " it('shows package not installed page instead of tabs')", + " it('no findings state: not-deployed - shows NotDeployed instead of dashboard')", + " it('no findings state: indexing - shows Indexing instead of dashboard')", + " it('no findings state: indexing - shows Indexing instead of dashboard when waiting_for_results')", + " it('no findings state: index-timeout - shows IndexTimeout instead of dashboard')", + " it('no findings state: unprivileged - shows Unprivileged instead of dashboard')", + " it('shows dashboard when there are findings in latest findings index')", + " it('Show Kubernetes dashboard if there are KSPM findings')", + " it('Show Cloud dashboard if there are CSPM findings')", + " it('Show Cloud dashboard \"no findings prompt\" if the CSPM integration is installed without findings')", + " it('Show Kubernetes dashboard \"no findings prompt\" if the KSPM integration is installed without findings')", + " it('Prefer Cloud dashboard if both integration are installed')", + " it('Prefer Cloud dashboard if both integration have findings')", + " it('Show CSPM installation prompt if CSPM is not installed and KSPM is installed ,NO AGENT')", + " it('Show KSPM installation prompt if KSPM is not installed and CSPM is installed , NO AGENT')", + " it('should not select default tab is user has already selected one themselves')", + "describe('getDefaultTab')", + " it('returns CSPM tab if only CSPM has findings')", + " it('returns CSPM tab if both CSPM and KSPM has findings')", + " it('returns KSPM tab if only KSPM has findings')", + " it('when no findings preffers CSPM tab unless not-installed or unprivileged')", + " it('returns CSPM tab is plugin status and kspm status is not provided')", + " it('returns KSPM tab is plugin status and csp status is not provided')", + " it('returns CSPM tab when only plugins status data is provided')" + ], + "testSuits": [ + { + "id": "", + "rawLine": "describe('', () => {", + "line": "describe('')", + "label": "", + "indent": 0, + "type": "describe", + "isSkipped": false, + "isTodo": false + }, + { + "id": "shows-package-not-installed-page-instead-of-tabs", + "rawLine": " it('shows package not installed page instead of tabs', () => {", + "line": " it('shows package not installed page instead of tabs')", + "label": "shows package not installed page instead of tabs", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "no-findings-state:-not-deployed---shows-notdeployed-instead-of-dashboard", + "rawLine": " it('no findings state: not-deployed - shows NotDeployed instead of dashboard', () => {", + "line": " it('no findings state: not-deployed - shows NotDeployed instead of dashboard')", + "label": "no findings state: not-deployed - shows NotDeployed instead of dashboard", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "no-findings-state:-indexing---shows-indexing-instead-of-dashboard", + "rawLine": " it('no findings state: indexing - shows Indexing instead of dashboard', () => {", + "line": " it('no findings state: indexing - shows Indexing instead of dashboard')", + "label": "no findings state: indexing - shows Indexing instead of dashboard", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "no-findings-state:-indexing---shows-indexing-instead-of-dashboard-when-waiting_for_results", + "rawLine": " it('no findings state: indexing - shows Indexing instead of dashboard when waiting_for_results', () => {", + "line": " it('no findings state: indexing - shows Indexing instead of dashboard when waiting_for_results')", + "label": "no findings state: indexing - shows Indexing instead of dashboard when waiting_for_results", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "no-findings-state:-index-timeout---shows-indextimeout-instead-of-dashboard", + "rawLine": " it('no findings state: index-timeout - shows IndexTimeout instead of dashboard', () => {", + "line": " it('no findings state: index-timeout - shows IndexTimeout instead of dashboard')", + "label": "no findings state: index-timeout - shows IndexTimeout instead of dashboard", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "no-findings-state:-unprivileged---shows-unprivileged-instead-of-dashboard", + "rawLine": " it('no findings state: unprivileged - shows Unprivileged instead of dashboard', () => {", + "line": " it('no findings state: unprivileged - shows Unprivileged instead of dashboard')", + "label": "no findings state: unprivileged - shows Unprivileged instead of dashboard", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "shows-dashboard-when-there-are-findings-in-latest-findings-index", + "rawLine": " it('shows dashboard when there are findings in latest findings index', () => {", + "line": " it('shows dashboard when there are findings in latest findings index')", + "label": "shows dashboard when there are findings in latest findings index", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "show-kubernetes-dashboard-if-there-are-kspm-findings", + "rawLine": " it('Show Kubernetes dashboard if there are KSPM findings', () => {", + "line": " it('Show Kubernetes dashboard if there are KSPM findings')", + "label": "Show Kubernetes dashboard if there are KSPM findings", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "show-cloud-dashboard-if-there-are-cspm-findings", + "rawLine": " it('Show Cloud dashboard if there are CSPM findings', () => {", + "line": " it('Show Cloud dashboard if there are CSPM findings')", + "label": "Show Cloud dashboard if there are CSPM findings", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "show-cloud-dashboard-\"no-findings-prompt\"-if-the-cspm-integration-is-installed-without-findings", + "rawLine": " it('Show Cloud dashboard \"no findings prompt\" if the CSPM integration is installed without findings', () => {", + "line": " it('Show Cloud dashboard \"no findings prompt\" if the CSPM integration is installed without findings')", + "label": "Show Cloud dashboard \"no findings prompt\" if the CSPM integration is installed without findings", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "show-kubernetes-dashboard-\"no-findings-prompt\"-if-the-kspm-integration-is-installed-without-findings", + "rawLine": " it('Show Kubernetes dashboard \"no findings prompt\" if the KSPM integration is installed without findings', () => {", + "line": " it('Show Kubernetes dashboard \"no findings prompt\" if the KSPM integration is installed without findings')", + "label": "Show Kubernetes dashboard \"no findings prompt\" if the KSPM integration is installed without findings", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "prefer-cloud-dashboard-if-both-integration-are-installed", + "rawLine": " it('Prefer Cloud dashboard if both integration are installed', () => {", + "line": " it('Prefer Cloud dashboard if both integration are installed')", + "label": "Prefer Cloud dashboard if both integration are installed", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "prefer-cloud-dashboard-if-both-integration-have-findings", + "rawLine": " it('Prefer Cloud dashboard if both integration have findings', () => {", + "line": " it('Prefer Cloud dashboard if both integration have findings')", + "label": "Prefer Cloud dashboard if both integration have findings", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "show-cspm-installation-prompt-if-cspm-is-not-installed-and-kspm-is-installed-,no-agent", + "rawLine": " it('Show CSPM installation prompt if CSPM is not installed and KSPM is installed ,NO AGENT', () => {", + "line": " it('Show CSPM installation prompt if CSPM is not installed and KSPM is installed ,NO AGENT')", + "label": "Show CSPM installation prompt if CSPM is not installed and KSPM is installed ,NO AGENT", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "show-kspm-installation-prompt-if-kspm-is-not-installed-and-cspm-is-installed-,-no-agent", + "rawLine": " it('Show KSPM installation prompt if KSPM is not installed and CSPM is installed , NO AGENT', () => {", + "line": " it('Show KSPM installation prompt if KSPM is not installed and CSPM is installed , NO AGENT')", + "label": "Show KSPM installation prompt if KSPM is not installed and CSPM is installed , NO AGENT", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "should-not-select-default-tab-is-user-has-already-selected-one-themselves", + "rawLine": " it('should not select default tab is user has already selected one themselves', () => {", + "line": " it('should not select default tab is user has already selected one themselves')", + "label": "should not select default tab is user has already selected one themselves", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "getdefaulttab", + "rawLine": "describe('getDefaultTab', () => {", + "line": "describe('getDefaultTab')", + "label": "getDefaultTab", + "indent": 0, + "type": "describe", + "isSkipped": false, + "isTodo": false + }, + { + "id": "returns-cspm-tab-if-only-cspm-has-findings", + "rawLine": " it('returns CSPM tab if only CSPM has findings', () => {", + "line": " it('returns CSPM tab if only CSPM has findings')", + "label": "returns CSPM tab if only CSPM has findings", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "returns-cspm-tab-if-both-cspm-and-kspm-has-findings", + "rawLine": " it('returns CSPM tab if both CSPM and KSPM has findings', () => {", + "line": " it('returns CSPM tab if both CSPM and KSPM has findings')", + "label": "returns CSPM tab if both CSPM and KSPM has findings", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "returns-kspm-tab-if-only-kspm-has-findings", + "rawLine": " it('returns KSPM tab if only KSPM has findings', () => {", + "line": " it('returns KSPM tab if only KSPM has findings')", + "label": "returns KSPM tab if only KSPM has findings", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "when-no-findings-preffers-cspm-tab-unless-not-installed-or-unprivileged", + "rawLine": " it('when no findings preffers CSPM tab unless not-installed or unprivileged', () => {", + "line": " it('when no findings preffers CSPM tab unless not-installed or unprivileged')", + "label": "when no findings preffers CSPM tab unless not-installed or unprivileged", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "returns-cspm-tab-is-plugin-status-and-kspm-status-is-not-provided", + "rawLine": " it('returns CSPM tab is plugin status and kspm status is not provided', () => {", + "line": " it('returns CSPM tab is plugin status and kspm status is not provided')", + "label": "returns CSPM tab is plugin status and kspm status is not provided", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "returns-kspm-tab-is-plugin-status-and-csp-status-is-not-provided", + "rawLine": " it('returns KSPM tab is plugin status and csp status is not provided', () => {", + "line": " it('returns KSPM tab is plugin status and csp status is not provided')", + "label": "returns KSPM tab is plugin status and csp status is not provided", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "returns-cspm-tab-when-only-plugins-status-data-is-provided", + "rawLine": " it('returns CSPM tab when only plugins status data is provided', () => {", + "line": " it('returns CSPM tab when only plugins status data is provided')", + "label": "returns CSPM tab when only plugins status data is provided", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + } + ], + "tree": [ + { + "id": "", + "rawLine": "describe('', () => {", + "line": "describe('')", + "label": "", + "indent": 0, + "type": "describe", + "isSkipped": false, + "isTodo": false, + "children": [ + { + "id": "shows-package-not-installed-page-instead-of-tabs", + "rawLine": " it('shows package not installed page instead of tabs', () => {", + "line": " it('shows package not installed page instead of tabs')", + "label": "shows package not installed page instead of tabs", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "no-findings-state:-not-deployed---shows-notdeployed-instead-of-dashboard", + "rawLine": " it('no findings state: not-deployed - shows NotDeployed instead of dashboard', () => {", + "line": " it('no findings state: not-deployed - shows NotDeployed instead of dashboard')", + "label": "no findings state: not-deployed - shows NotDeployed instead of dashboard", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "no-findings-state:-indexing---shows-indexing-instead-of-dashboard", + "rawLine": " it('no findings state: indexing - shows Indexing instead of dashboard', () => {", + "line": " it('no findings state: indexing - shows Indexing instead of dashboard')", + "label": "no findings state: indexing - shows Indexing instead of dashboard", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "no-findings-state:-indexing---shows-indexing-instead-of-dashboard-when-waiting_for_results", + "rawLine": " it('no findings state: indexing - shows Indexing instead of dashboard when waiting_for_results', () => {", + "line": " it('no findings state: indexing - shows Indexing instead of dashboard when waiting_for_results')", + "label": "no findings state: indexing - shows Indexing instead of dashboard when waiting_for_results", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "no-findings-state:-index-timeout---shows-indextimeout-instead-of-dashboard", + "rawLine": " it('no findings state: index-timeout - shows IndexTimeout instead of dashboard', () => {", + "line": " it('no findings state: index-timeout - shows IndexTimeout instead of dashboard')", + "label": "no findings state: index-timeout - shows IndexTimeout instead of dashboard", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "no-findings-state:-unprivileged---shows-unprivileged-instead-of-dashboard", + "rawLine": " it('no findings state: unprivileged - shows Unprivileged instead of dashboard', () => {", + "line": " it('no findings state: unprivileged - shows Unprivileged instead of dashboard')", + "label": "no findings state: unprivileged - shows Unprivileged instead of dashboard", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "shows-dashboard-when-there-are-findings-in-latest-findings-index", + "rawLine": " it('shows dashboard when there are findings in latest findings index', () => {", + "line": " it('shows dashboard when there are findings in latest findings index')", + "label": "shows dashboard when there are findings in latest findings index", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "show-kubernetes-dashboard-if-there-are-kspm-findings", + "rawLine": " it('Show Kubernetes dashboard if there are KSPM findings', () => {", + "line": " it('Show Kubernetes dashboard if there are KSPM findings')", + "label": "Show Kubernetes dashboard if there are KSPM findings", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "show-cloud-dashboard-if-there-are-cspm-findings", + "rawLine": " it('Show Cloud dashboard if there are CSPM findings', () => {", + "line": " it('Show Cloud dashboard if there are CSPM findings')", + "label": "Show Cloud dashboard if there are CSPM findings", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "show-cloud-dashboard-\"no-findings-prompt\"-if-the-cspm-integration-is-installed-without-findings", + "rawLine": " it('Show Cloud dashboard \"no findings prompt\" if the CSPM integration is installed without findings', () => {", + "line": " it('Show Cloud dashboard \"no findings prompt\" if the CSPM integration is installed without findings')", + "label": "Show Cloud dashboard \"no findings prompt\" if the CSPM integration is installed without findings", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "show-kubernetes-dashboard-\"no-findings-prompt\"-if-the-kspm-integration-is-installed-without-findings", + "rawLine": " it('Show Kubernetes dashboard \"no findings prompt\" if the KSPM integration is installed without findings', () => {", + "line": " it('Show Kubernetes dashboard \"no findings prompt\" if the KSPM integration is installed without findings')", + "label": "Show Kubernetes dashboard \"no findings prompt\" if the KSPM integration is installed without findings", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "prefer-cloud-dashboard-if-both-integration-are-installed", + "rawLine": " it('Prefer Cloud dashboard if both integration are installed', () => {", + "line": " it('Prefer Cloud dashboard if both integration are installed')", + "label": "Prefer Cloud dashboard if both integration are installed", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "prefer-cloud-dashboard-if-both-integration-have-findings", + "rawLine": " it('Prefer Cloud dashboard if both integration have findings', () => {", + "line": " it('Prefer Cloud dashboard if both integration have findings')", + "label": "Prefer Cloud dashboard if both integration have findings", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "show-cspm-installation-prompt-if-cspm-is-not-installed-and-kspm-is-installed-,no-agent", + "rawLine": " it('Show CSPM installation prompt if CSPM is not installed and KSPM is installed ,NO AGENT', () => {", + "line": " it('Show CSPM installation prompt if CSPM is not installed and KSPM is installed ,NO AGENT')", + "label": "Show CSPM installation prompt if CSPM is not installed and KSPM is installed ,NO AGENT", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "show-kspm-installation-prompt-if-kspm-is-not-installed-and-cspm-is-installed-,-no-agent", + "rawLine": " it('Show KSPM installation prompt if KSPM is not installed and CSPM is installed , NO AGENT', () => {", + "line": " it('Show KSPM installation prompt if KSPM is not installed and CSPM is installed , NO AGENT')", + "label": "Show KSPM installation prompt if KSPM is not installed and CSPM is installed , NO AGENT", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "should-not-select-default-tab-is-user-has-already-selected-one-themselves", + "rawLine": " it('should not select default tab is user has already selected one themselves', () => {", + "line": " it('should not select default tab is user has already selected one themselves')", + "label": "should not select default tab is user has already selected one themselves", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + } + ] + }, + { + "id": "getdefaulttab", + "rawLine": "describe('getDefaultTab', () => {", + "line": "describe('getDefaultTab')", + "label": "getDefaultTab", + "indent": 0, + "type": "describe", + "isSkipped": false, + "isTodo": false, + "children": [ + { + "id": "returns-cspm-tab-if-only-cspm-has-findings", + "rawLine": " it('returns CSPM tab if only CSPM has findings', () => {", + "line": " it('returns CSPM tab if only CSPM has findings')", + "label": "returns CSPM tab if only CSPM has findings", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "returns-cspm-tab-if-both-cspm-and-kspm-has-findings", + "rawLine": " it('returns CSPM tab if both CSPM and KSPM has findings', () => {", + "line": " it('returns CSPM tab if both CSPM and KSPM has findings')", + "label": "returns CSPM tab if both CSPM and KSPM has findings", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "returns-kspm-tab-if-only-kspm-has-findings", + "rawLine": " it('returns KSPM tab if only KSPM has findings', () => {", + "line": " it('returns KSPM tab if only KSPM has findings')", + "label": "returns KSPM tab if only KSPM has findings", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "when-no-findings-preffers-cspm-tab-unless-not-installed-or-unprivileged", + "rawLine": " it('when no findings preffers CSPM tab unless not-installed or unprivileged', () => {", + "line": " it('when no findings preffers CSPM tab unless not-installed or unprivileged')", + "label": "when no findings preffers CSPM tab unless not-installed or unprivileged", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "returns-cspm-tab-is-plugin-status-and-kspm-status-is-not-provided", + "rawLine": " it('returns CSPM tab is plugin status and kspm status is not provided', () => {", + "line": " it('returns CSPM tab is plugin status and kspm status is not provided')", + "label": "returns CSPM tab is plugin status and kspm status is not provided", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "returns-kspm-tab-is-plugin-status-and-csp-status-is-not-provided", + "rawLine": " it('returns KSPM tab is plugin status and csp status is not provided', () => {", + "line": " it('returns KSPM tab is plugin status and csp status is not provided')", + "label": "returns KSPM tab is plugin status and csp status is not provided", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "returns-cspm-tab-when-only-plugins-status-data-is-provided", + "rawLine": " it('returns CSPM tab when only plugins status data is provided', () => {", + "line": " it('returns CSPM tab when only plugins status data is provided')", + "label": "returns CSPM tab when only plugins status data is provided", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + } + ] + } + ] + }, + { + "filePath": "x-pack/plugins/cloud_security_posture/public/pages/compliance_dashboard/dashboard_sections/benchmarks_section.test.tsx", + "fileName": "benchmarks_section.test.tsx", + "directory": "x-pack/plugins/cloud_security_posture", + "tags": [ + "UT" + ], + "lines": [ + "describe('')", + " describe('Sorting')", + " it('sorts by ascending order of compliance scores')", + " it('toggles sort order when clicking Posture Score')" + ], + "testSuits": [ + { + "id": "", + "rawLine": "describe('', () => {", + "line": "describe('')", + "label": "", + "indent": 0, + "type": "describe", + "isSkipped": false, + "isTodo": false + }, + { + "id": "sorting", + "rawLine": " describe('Sorting', () => {", + "line": " describe('Sorting')", + "label": "Sorting", + "indent": 2, + "type": "describe", + "isSkipped": false, + "isTodo": false + }, + { + "id": "sorts-by-ascending-order-of-compliance-scores", + "rawLine": " it('sorts by ascending order of compliance scores', () => {", + "line": " it('sorts by ascending order of compliance scores')", + "label": "sorts by ascending order of compliance scores", + "indent": 4, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "toggles-sort-order-when-clicking-posture-score", + "rawLine": " it('toggles sort order when clicking Posture Score', () => {", + "line": " it('toggles sort order when clicking Posture Score')", + "label": "toggles sort order when clicking Posture Score", + "indent": 4, + "type": "it", + "isSkipped": false, + "isTodo": false + } + ], + "tree": [ + { + "id": "", + "rawLine": "describe('', () => {", + "line": "describe('')", + "label": "", + "indent": 0, + "type": "describe", + "isSkipped": false, + "isTodo": false, + "children": [ + { + "id": "sorting", + "rawLine": " describe('Sorting', () => {", + "line": " describe('Sorting')", + "label": "Sorting", + "indent": 2, + "type": "describe", + "isSkipped": false, + "isTodo": false, + "children": [ + { + "id": "sorts-by-ascending-order-of-compliance-scores", + "rawLine": " it('sorts by ascending order of compliance scores', () => {", + "line": " it('sorts by ascending order of compliance scores')", + "label": "sorts by ascending order of compliance scores", + "indent": 4, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "toggles-sort-order-when-clicking-posture-score", + "rawLine": " it('toggles sort order when clicking Posture Score', () => {", + "line": " it('toggles sort order when clicking Posture Score')", + "label": "toggles sort order when clicking Posture Score", + "indent": 4, + "type": "it", + "isSkipped": false, + "isTodo": false + } + ] + } + ] + } + ] + }, + { + "filePath": "x-pack/plugins/cloud_security_posture/public/pages/compliance_dashboard/dashboard_sections/summary_section.test.tsx", + "fileName": "summary_section.test.tsx", + "directory": "x-pack/plugins/cloud_security_posture", + "tags": [ + "UT" + ], + "lines": [ + "describe('')", + " it('renders all counter cards')", + " it('renders counters content according to mock')", + " it('renders counters value in compact abbreviation if its above one million')" + ], + "testSuits": [ + { + "id": "", + "rawLine": "describe('', () => {", + "line": "describe('')", + "label": "", + "indent": 0, + "type": "describe", + "isSkipped": false, + "isTodo": false + }, + { + "id": "renders-all-counter-cards", + "rawLine": " it('renders all counter cards', () => {", + "line": " it('renders all counter cards')", + "label": "renders all counter cards", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "renders-counters-content-according-to-mock", + "rawLine": " it('renders counters content according to mock', async () => {", + "line": " it('renders counters content according to mock')", + "label": "renders counters content according to mock", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "renders-counters-value-in-compact-abbreviation-if-its-above-one-million", + "rawLine": " it('renders counters value in compact abbreviation if its above one million', () => {", + "line": " it('renders counters value in compact abbreviation if its above one million')", + "label": "renders counters value in compact abbreviation if its above one million", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + } + ], + "tree": [ + { + "id": "", + "rawLine": "describe('', () => {", + "line": "describe('')", + "label": "", + "indent": 0, + "type": "describe", + "isSkipped": false, + "isTodo": false, + "children": [ + { + "id": "renders-all-counter-cards", + "rawLine": " it('renders all counter cards', () => {", + "line": " it('renders all counter cards')", + "label": "renders all counter cards", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "renders-counters-content-according-to-mock", + "rawLine": " it('renders counters content according to mock', async () => {", + "line": " it('renders counters content according to mock')", + "label": "renders counters content according to mock", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "renders-counters-value-in-compact-abbreviation-if-its-above-one-million", + "rawLine": " it('renders counters value in compact abbreviation if its above one million', () => {", + "line": " it('renders counters value in compact abbreviation if its above one million')", + "label": "renders counters value in compact abbreviation if its above one million", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + } + ] + } + ] + }, + { + "filePath": "x-pack/plugins/cloud_security_posture/public/pages/configurations/configurations.test.tsx", + "fileName": "configurations.test.tsx", + "directory": "x-pack/plugins/cloud_security_posture", + "tags": [ + "UT" + ], + "lines": [ + "describe('')", + " it('no findings state: not-deployed - shows NotDeployed instead of findings')", + " it('no findings state: indexing - shows Indexing instead of findings')", + " it('no findings state: index-timeout - shows IndexTimeout instead of findings')", + " it('no findings state: unprivileged - shows Unprivileged instead of findings')", + " it('renders integrations installation prompt if integration is not installed')" + ], + "testSuits": [ + { + "id": "", + "rawLine": "describe('', () => {", + "line": "describe('')", + "label": "", + "indent": 0, + "type": "describe", + "isSkipped": false, + "isTodo": false + }, + { + "id": "no-findings-state:-not-deployed---shows-notdeployed-instead-of-findings", + "rawLine": " it('no findings state: not-deployed - shows NotDeployed instead of findings', () => {", + "line": " it('no findings state: not-deployed - shows NotDeployed instead of findings')", + "label": "no findings state: not-deployed - shows NotDeployed instead of findings", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "no-findings-state:-indexing---shows-indexing-instead-of-findings", + "rawLine": " it('no findings state: indexing - shows Indexing instead of findings', () => {", + "line": " it('no findings state: indexing - shows Indexing instead of findings')", + "label": "no findings state: indexing - shows Indexing instead of findings", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "no-findings-state:-index-timeout---shows-indextimeout-instead-of-findings", + "rawLine": " it('no findings state: index-timeout - shows IndexTimeout instead of findings', () => {", + "line": " it('no findings state: index-timeout - shows IndexTimeout instead of findings')", + "label": "no findings state: index-timeout - shows IndexTimeout instead of findings", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "no-findings-state:-unprivileged---shows-unprivileged-instead-of-findings", + "rawLine": " it('no findings state: unprivileged - shows Unprivileged instead of findings', () => {", + "line": " it('no findings state: unprivileged - shows Unprivileged instead of findings')", + "label": "no findings state: unprivileged - shows Unprivileged instead of findings", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "renders-integrations-installation-prompt-if-integration-is-not-installed", + "rawLine": " it('renders integrations installation prompt if integration is not installed', async () => {", + "line": " it('renders integrations installation prompt if integration is not installed')", + "label": "renders integrations installation prompt if integration is not installed", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + } + ], + "tree": [ + { + "id": "", + "rawLine": "describe('', () => {", + "line": "describe('')", + "label": "", + "indent": 0, + "type": "describe", + "isSkipped": false, + "isTodo": false, + "children": [ + { + "id": "no-findings-state:-not-deployed---shows-notdeployed-instead-of-findings", + "rawLine": " it('no findings state: not-deployed - shows NotDeployed instead of findings', () => {", + "line": " it('no findings state: not-deployed - shows NotDeployed instead of findings')", + "label": "no findings state: not-deployed - shows NotDeployed instead of findings", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "no-findings-state:-indexing---shows-indexing-instead-of-findings", + "rawLine": " it('no findings state: indexing - shows Indexing instead of findings', () => {", + "line": " it('no findings state: indexing - shows Indexing instead of findings')", + "label": "no findings state: indexing - shows Indexing instead of findings", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "no-findings-state:-index-timeout---shows-indextimeout-instead-of-findings", + "rawLine": " it('no findings state: index-timeout - shows IndexTimeout instead of findings', () => {", + "line": " it('no findings state: index-timeout - shows IndexTimeout instead of findings')", + "label": "no findings state: index-timeout - shows IndexTimeout instead of findings", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "no-findings-state:-unprivileged---shows-unprivileged-instead-of-findings", + "rawLine": " it('no findings state: unprivileged - shows Unprivileged instead of findings', () => {", + "line": " it('no findings state: unprivileged - shows Unprivileged instead of findings')", + "label": "no findings state: unprivileged - shows Unprivileged instead of findings", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "renders-integrations-installation-prompt-if-integration-is-not-installed", + "rawLine": " it('renders integrations installation prompt if integration is not installed', async () => {", + "line": " it('renders integrations installation prompt if integration is not installed')", + "label": "renders integrations installation prompt if integration is not installed", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + } + ] + } + ] + }, + { + "filePath": "x-pack/plugins/cloud_security_posture/public/pages/configurations/findings_flyout/findings_flyout.test.tsx", + "fileName": "findings_flyout.test.tsx", + "directory": "x-pack/plugins/cloud_security_posture", + "tags": [ + "UT" + ], + "lines": [ + "describe('')", + " describe('Overview Tab')", + " it('details and remediation accordions are open')", + " it('displays text details summary info')", + " describe('Rule Tab')", + " it('displays rule text details')", + " describe('Table Tab')", + " it('displays resource name and id')", + " it('should allow pagination with next')", + " it('should allow pagination with previous')" + ], + "testSuits": [ + { + "id": "", + "rawLine": "describe('', () => {", + "line": "describe('')", + "label": "", + "indent": 0, + "type": "describe", + "isSkipped": false, + "isTodo": false + }, + { + "id": "overview-tab", + "rawLine": " describe('Overview Tab', () => {", + "line": " describe('Overview Tab')", + "label": "Overview Tab", + "indent": 2, + "type": "describe", + "isSkipped": false, + "isTodo": false + }, + { + "id": "details-and-remediation-accordions-are-open", + "rawLine": " it('details and remediation accordions are open', () => {", + "line": " it('details and remediation accordions are open')", + "label": "details and remediation accordions are open", + "indent": 4, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "displays-text-details-summary-info", + "rawLine": " it('displays text details summary info', () => {", + "line": " it('displays text details summary info')", + "label": "displays text details summary info", + "indent": 4, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "rule-tab", + "rawLine": " describe('Rule Tab', () => {", + "line": " describe('Rule Tab')", + "label": "Rule Tab", + "indent": 2, + "type": "describe", + "isSkipped": false, + "isTodo": false + }, + { + "id": "displays-rule-text-details", + "rawLine": " it('displays rule text details', () => {", + "line": " it('displays rule text details')", + "label": "displays rule text details", + "indent": 4, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "table-tab", + "rawLine": " describe('Table Tab', () => {", + "line": " describe('Table Tab')", + "label": "Table Tab", + "indent": 2, + "type": "describe", + "isSkipped": false, + "isTodo": false + }, + { + "id": "displays-resource-name-and-id", + "rawLine": " it('displays resource name and id', () => {", + "line": " it('displays resource name and id')", + "label": "displays resource name and id", + "indent": 4, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "should-allow-pagination-with-next", + "rawLine": " it('should allow pagination with next', async () => {", + "line": " it('should allow pagination with next')", + "label": "should allow pagination with next", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "should-allow-pagination-with-previous", + "rawLine": " it('should allow pagination with previous', async () => {", + "line": " it('should allow pagination with previous')", + "label": "should allow pagination with previous", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + } + ], + "tree": [ + { + "id": "", + "rawLine": "describe('', () => {", + "line": "describe('')", + "label": "", + "indent": 0, + "type": "describe", + "isSkipped": false, + "isTodo": false, + "children": [ + { + "id": "overview-tab", + "rawLine": " describe('Overview Tab', () => {", + "line": " describe('Overview Tab')", + "label": "Overview Tab", + "indent": 2, + "type": "describe", + "isSkipped": false, + "isTodo": false, + "children": [ + { + "id": "details-and-remediation-accordions-are-open", + "rawLine": " it('details and remediation accordions are open', () => {", + "line": " it('details and remediation accordions are open')", + "label": "details and remediation accordions are open", + "indent": 4, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "displays-text-details-summary-info", + "rawLine": " it('displays text details summary info', () => {", + "line": " it('displays text details summary info')", + "label": "displays text details summary info", + "indent": 4, + "type": "it", + "isSkipped": false, + "isTodo": false + } + ] + }, + { + "id": "rule-tab", + "rawLine": " describe('Rule Tab', () => {", + "line": " describe('Rule Tab')", + "label": "Rule Tab", + "indent": 2, + "type": "describe", + "isSkipped": false, + "isTodo": false, + "children": [ + { + "id": "displays-rule-text-details", + "rawLine": " it('displays rule text details', () => {", + "line": " it('displays rule text details')", + "label": "displays rule text details", + "indent": 4, + "type": "it", + "isSkipped": false, + "isTodo": false + } + ] + }, + { + "id": "table-tab", + "rawLine": " describe('Table Tab', () => {", + "line": " describe('Table Tab')", + "label": "Table Tab", + "indent": 2, + "type": "describe", + "isSkipped": false, + "isTodo": false, + "children": [ + { + "id": "displays-resource-name-and-id", + "rawLine": " it('displays resource name and id', () => {", + "line": " it('displays resource name and id')", + "label": "displays resource name and id", + "indent": 4, + "type": "it", + "isSkipped": false, + "isTodo": false + } + ] + }, + { + "id": "should-allow-pagination-with-next", + "rawLine": " it('should allow pagination with next', async () => {", + "line": " it('should allow pagination with next')", + "label": "should allow pagination with next", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "should-allow-pagination-with-previous", + "rawLine": " it('should allow pagination with previous', async () => {", + "line": " it('should allow pagination with previous')", + "label": "should allow pagination with previous", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + } + ] + } + ] + }, + { + "filePath": "x-pack/plugins/cloud_security_posture/public/pages/configurations/utils/get_filters.test.ts", + "fileName": "get_filters.test.ts", + "directory": "x-pack/plugins/cloud_security_posture", + "tags": [ + "UT" + ], + "lines": [ + "describe('Get Filters')", + " it('negate an existing filter')" + ], + "testSuits": [ + { + "id": "get-filters", + "rawLine": "describe('Get Filters', () => {", + "line": "describe('Get Filters')", + "label": "Get Filters", + "indent": 0, + "type": "describe", + "isSkipped": false, + "isTodo": false + }, + { + "id": "negate-an-existing-filter", + "rawLine": " it('negate an existing filter', () => {", + "line": " it('negate an existing filter')", + "label": "negate an existing filter", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + } + ], + "tree": [ + { + "id": "get-filters", + "rawLine": "describe('Get Filters', () => {", + "line": "describe('Get Filters')", + "label": "Get Filters", + "indent": 0, + "type": "describe", + "isSkipped": false, + "isTodo": false, + "children": [ + { + "id": "negate-an-existing-filter", + "rawLine": " it('negate an existing filter', () => {", + "line": " it('negate an existing filter')", + "label": "negate an existing filter", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + } + ] + } + ] + }, + { + "filePath": "x-pack/plugins/cloud_security_posture/public/pages/rules/rules_container.test.tsx", + "fileName": "rules_container.test.tsx", + "directory": "x-pack/plugins/cloud_security_posture", + "tags": [ + "UT" + ], + "lines": [ + "describe('')", + " it('displays rules with their initial state')" + ], + "testSuits": [ + { + "id": "", + "rawLine": "describe('', () => {", + "line": "describe('')", + "label": "", + "indent": 0, + "type": "describe", + "isSkipped": false, + "isTodo": false + }, + { + "id": "displays-rules-with-their-initial-state", + "rawLine": " it('displays rules with their initial state', async () => {", + "line": " it('displays rules with their initial state')", + "label": "displays rules with their initial state", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + } + ], + "tree": [ + { + "id": "", + "rawLine": "describe('', () => {", + "line": "describe('')", + "label": "", + "indent": 0, + "type": "describe", + "isSkipped": false, + "isTodo": false, + "children": [ + { + "id": "displays-rules-with-their-initial-state", + "rawLine": " it('displays rules with their initial state', async () => {", + "line": " it('displays rules with their initial state')", + "label": "displays rules with their initial state", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + } + ] + } + ] + }, + { + "filePath": "x-pack/plugins/cloud_security_posture/public/pages/rules/rules.test.tsx", + "fileName": "rules.test.tsx", + "directory": "x-pack/plugins/cloud_security_posture", + "tags": [ + "UT" + ], + "lines": [ + "describe('')", + " it('calls Benchmark API')", + " it('Display success state when result request is resolved')" + ], + "testSuits": [ + { + "id": "", + "rawLine": "describe('', () => {", + "line": "describe('')", + "label": "", + "indent": 0, + "type": "describe", + "isSkipped": false, + "isTodo": false + }, + { + "id": "calls-benchmark-api", + "rawLine": " it('calls Benchmark API', async () => {", + "line": " it('calls Benchmark API')", + "label": "calls Benchmark API", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "display-success-state-when-result-request-is-resolved", + "rawLine": " it('Display success state when result request is resolved', async () => {", + "line": " it('Display success state when result request is resolved')", + "label": "Display success state when result request is resolved", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + } + ], + "tree": [ + { + "id": "", + "rawLine": "describe('', () => {", + "line": "describe('')", + "label": "", + "indent": 0, + "type": "describe", + "isSkipped": false, + "isTodo": false, + "children": [ + { + "id": "calls-benchmark-api", + "rawLine": " it('calls Benchmark API', async () => {", + "line": " it('calls Benchmark API')", + "label": "calls Benchmark API", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "display-success-state-when-result-request-is-resolved", + "rawLine": " it('Display success state when result request is resolved', async () => {", + "line": " it('Display success state when result request is resolved')", + "label": "Display success state when result request is resolved", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + } + ] + } + ] + }, + { + "filePath": "x-pack/plugins/cloud_security_posture/public/pages/vulnerabilities/vulnerabilities_finding_flyout/vulnerability_finding_flyout.test.tsx", + "fileName": "vulnerability_finding_flyout.test.tsx", + "directory": "x-pack/plugins/cloud_security_posture", + "tags": [ + "UT", + "HAS SKIP" + ], + "lines": [ + "describe('')", + " describe('Header Info')", + " it('displays text details flyout header info')", + " describe('JSON Tab')", + " it('show display Vulnerability JSON Tab')", + " describe('Overview Summary Details Tab')", + " it('show display Vulnerability details in a Overview Tab')", + " it('show empty state for no fixes')", + " describe.skip('Flyout Pagination')", + " it('should allow pagination with next')", + " it('should allow pagination with previous')" + ], + "testSuits": [ + { + "id": "", + "rawLine": "describe('', () => {", + "line": "describe('')", + "label": "", + "indent": 0, + "type": "describe", + "isSkipped": false, + "isTodo": false + }, + { + "id": "header-info", + "rawLine": " describe('Header Info', () => {", + "line": " describe('Header Info')", + "label": "Header Info", + "indent": 2, + "type": "describe", + "isSkipped": false, + "isTodo": false + }, + { + "id": "displays-text-details-flyout-header-info", + "rawLine": " it('displays text details flyout header info', () => {", + "line": " it('displays text details flyout header info')", + "label": "displays text details flyout header info", + "indent": 4, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "json-tab", + "rawLine": " describe('JSON Tab', () => {", + "line": " describe('JSON Tab')", + "label": "JSON Tab", + "indent": 2, + "type": "describe", + "isSkipped": false, + "isTodo": false + }, + { + "id": "show-display-vulnerability-json-tab", + "rawLine": " it('show display Vulnerability JSON Tab', () => {", + "line": " it('show display Vulnerability JSON Tab')", + "label": "show display Vulnerability JSON Tab", + "indent": 4, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "overview-summary-details-tab", + "rawLine": " describe('Overview Summary Details Tab', () => {", + "line": " describe('Overview Summary Details Tab')", + "label": "Overview Summary Details Tab", + "indent": 2, + "type": "describe", + "isSkipped": false, + "isTodo": false + }, + { + "id": "show-display-vulnerability-details-in-a-overview-tab", + "rawLine": " it('show display Vulnerability details in a Overview Tab', () => {", + "line": " it('show display Vulnerability details in a Overview Tab')", + "label": "show display Vulnerability details in a Overview Tab", + "indent": 4, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "show-empty-state-for-no-fixes", + "rawLine": " it('show empty state for no fixes', () => {", + "line": " it('show empty state for no fixes')", + "label": "show empty state for no fixes", + "indent": 4, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "flyout-pagination", + "rawLine": " describe.skip('Flyout Pagination', () => {", + "line": " describe.skip('Flyout Pagination')", + "label": "Flyout Pagination", + "indent": 2, + "type": "describe", + "isSkipped": true, + "isTodo": false + }, + { + "id": "should-allow-pagination-with-next", + "rawLine": " it('should allow pagination with next', async () => {", + "line": " it('should allow pagination with next')", + "label": "should allow pagination with next", + "indent": 4, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "should-allow-pagination-with-previous", + "rawLine": " it('should allow pagination with previous', async () => {", + "line": " it('should allow pagination with previous')", + "label": "should allow pagination with previous", + "indent": 4, + "type": "it", + "isSkipped": false, + "isTodo": false + } + ], + "tree": [ + { + "id": "", + "rawLine": "describe('', () => {", + "line": "describe('')", + "label": "", + "indent": 0, + "type": "describe", + "isSkipped": false, + "isTodo": false, + "children": [ + { + "id": "header-info", + "rawLine": " describe('Header Info', () => {", + "line": " describe('Header Info')", + "label": "Header Info", + "indent": 2, + "type": "describe", + "isSkipped": false, + "isTodo": false, + "children": [ + { + "id": "displays-text-details-flyout-header-info", + "rawLine": " it('displays text details flyout header info', () => {", + "line": " it('displays text details flyout header info')", + "label": "displays text details flyout header info", + "indent": 4, + "type": "it", + "isSkipped": false, + "isTodo": false + } + ] + }, + { + "id": "json-tab", + "rawLine": " describe('JSON Tab', () => {", + "line": " describe('JSON Tab')", + "label": "JSON Tab", + "indent": 2, + "type": "describe", + "isSkipped": false, + "isTodo": false, + "children": [ + { + "id": "show-display-vulnerability-json-tab", + "rawLine": " it('show display Vulnerability JSON Tab', () => {", + "line": " it('show display Vulnerability JSON Tab')", + "label": "show display Vulnerability JSON Tab", + "indent": 4, + "type": "it", + "isSkipped": false, + "isTodo": false + } + ] + }, + { + "id": "overview-summary-details-tab", + "rawLine": " describe('Overview Summary Details Tab', () => {", + "line": " describe('Overview Summary Details Tab')", + "label": "Overview Summary Details Tab", + "indent": 2, + "type": "describe", + "isSkipped": false, + "isTodo": false, + "children": [ + { + "id": "show-display-vulnerability-details-in-a-overview-tab", + "rawLine": " it('show display Vulnerability details in a Overview Tab', () => {", + "line": " it('show display Vulnerability details in a Overview Tab')", + "label": "show display Vulnerability details in a Overview Tab", + "indent": 4, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "show-empty-state-for-no-fixes", + "rawLine": " it('show empty state for no fixes', () => {", + "line": " it('show empty state for no fixes')", + "label": "show empty state for no fixes", + "indent": 4, + "type": "it", + "isSkipped": false, + "isTodo": false + } + ] + }, + { + "id": "flyout-pagination", + "rawLine": " describe.skip('Flyout Pagination', () => {", + "line": " describe.skip('Flyout Pagination')", + "label": "Flyout Pagination", + "indent": 2, + "type": "describe", + "isSkipped": true, + "isTodo": false, + "children": [ + { + "id": "should-allow-pagination-with-next", + "rawLine": " it('should allow pagination with next', async () => {", + "line": " it('should allow pagination with next')", + "label": "should allow pagination with next", + "indent": 4, + "type": "it", + "isSkipped": true, + "isTodo": false + }, + { + "id": "should-allow-pagination-with-previous", + "rawLine": " it('should allow pagination with previous', async () => {", + "line": " it('should allow pagination with previous')", + "label": "should allow pagination with previous", + "indent": 4, + "type": "it", + "isSkipped": true, + "isTodo": false + } + ] + } + ] + } + ] + }, + { + "filePath": "x-pack/plugins/cloud_security_posture/public/pages/vulnerabilities/vulnerabilties.test.tsx", + "fileName": "vulnerabilties.test.tsx", + "directory": "x-pack/plugins/cloud_security_posture", + "tags": [ + "UT" + ], + "lines": [ + "describe('')", + " it('No vulnerabilities state: not-deployed - shows NotDeployed instead of vulnerabilities ')", + " it('No vulnerabilities state: indexing - shows Indexing instead of vulnerabilities ')", + " it('No vulnerabilities state: index-timeout - shows IndexTimeout instead of vulnerabilities ')", + " it('No vulnerabilities state: unprivileged - shows Unprivileged instead of vulnerabilities ')", + " it('renders vuln_mgmt integrations installation prompt if vuln_mgmt integration is not installed')" + ], + "testSuits": [ + { + "id": "", + "rawLine": "describe('', () => {", + "line": "describe('')", + "label": "", + "indent": 0, + "type": "describe", + "isSkipped": false, + "isTodo": false + }, + { + "id": "no-vulnerabilities-state:-not-deployed---shows-notdeployed-instead-of-vulnerabilities-", + "rawLine": " it('No vulnerabilities state: not-deployed - shows NotDeployed instead of vulnerabilities ', () => {", + "line": " it('No vulnerabilities state: not-deployed - shows NotDeployed instead of vulnerabilities ')", + "label": "No vulnerabilities state: not-deployed - shows NotDeployed instead of vulnerabilities ", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "no-vulnerabilities-state:-indexing---shows-indexing-instead-of-vulnerabilities-", + "rawLine": " it('No vulnerabilities state: indexing - shows Indexing instead of vulnerabilities ', () => {", + "line": " it('No vulnerabilities state: indexing - shows Indexing instead of vulnerabilities ')", + "label": "No vulnerabilities state: indexing - shows Indexing instead of vulnerabilities ", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "no-vulnerabilities-state:-index-timeout---shows-indextimeout-instead-of-vulnerabilities-", + "rawLine": " it('No vulnerabilities state: index-timeout - shows IndexTimeout instead of vulnerabilities ', () => {", + "line": " it('No vulnerabilities state: index-timeout - shows IndexTimeout instead of vulnerabilities ')", + "label": "No vulnerabilities state: index-timeout - shows IndexTimeout instead of vulnerabilities ", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "no-vulnerabilities-state:-unprivileged---shows-unprivileged-instead-of-vulnerabilities-", + "rawLine": " it('No vulnerabilities state: unprivileged - shows Unprivileged instead of vulnerabilities ', () => {", + "line": " it('No vulnerabilities state: unprivileged - shows Unprivileged instead of vulnerabilities ')", + "label": "No vulnerabilities state: unprivileged - shows Unprivileged instead of vulnerabilities ", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "renders-vuln_mgmt-integrations-installation-prompt-if-vuln_mgmt-integration-is-not-installed", + "rawLine": " it('renders vuln_mgmt integrations installation prompt if vuln_mgmt integration is not installed', () => {", + "line": " it('renders vuln_mgmt integrations installation prompt if vuln_mgmt integration is not installed')", + "label": "renders vuln_mgmt integrations installation prompt if vuln_mgmt integration is not installed", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + } + ], + "tree": [ + { + "id": "", + "rawLine": "describe('', () => {", + "line": "describe('')", + "label": "", + "indent": 0, + "type": "describe", + "isSkipped": false, + "isTodo": false, + "children": [ + { + "id": "no-vulnerabilities-state:-not-deployed---shows-notdeployed-instead-of-vulnerabilities-", + "rawLine": " it('No vulnerabilities state: not-deployed - shows NotDeployed instead of vulnerabilities ', () => {", + "line": " it('No vulnerabilities state: not-deployed - shows NotDeployed instead of vulnerabilities ')", + "label": "No vulnerabilities state: not-deployed - shows NotDeployed instead of vulnerabilities ", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "no-vulnerabilities-state:-indexing---shows-indexing-instead-of-vulnerabilities-", + "rawLine": " it('No vulnerabilities state: indexing - shows Indexing instead of vulnerabilities ', () => {", + "line": " it('No vulnerabilities state: indexing - shows Indexing instead of vulnerabilities ')", + "label": "No vulnerabilities state: indexing - shows Indexing instead of vulnerabilities ", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "no-vulnerabilities-state:-index-timeout---shows-indextimeout-instead-of-vulnerabilities-", + "rawLine": " it('No vulnerabilities state: index-timeout - shows IndexTimeout instead of vulnerabilities ', () => {", + "line": " it('No vulnerabilities state: index-timeout - shows IndexTimeout instead of vulnerabilities ')", + "label": "No vulnerabilities state: index-timeout - shows IndexTimeout instead of vulnerabilities ", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "no-vulnerabilities-state:-unprivileged---shows-unprivileged-instead-of-vulnerabilities-", + "rawLine": " it('No vulnerabilities state: unprivileged - shows Unprivileged instead of vulnerabilities ', () => {", + "line": " it('No vulnerabilities state: unprivileged - shows Unprivileged instead of vulnerabilities ')", + "label": "No vulnerabilities state: unprivileged - shows Unprivileged instead of vulnerabilities ", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "renders-vuln_mgmt-integrations-installation-prompt-if-vuln_mgmt-integration-is-not-installed", + "rawLine": " it('renders vuln_mgmt integrations installation prompt if vuln_mgmt integration is not installed', () => {", + "line": " it('renders vuln_mgmt integrations installation prompt if vuln_mgmt integration is not installed')", + "label": "renders vuln_mgmt integrations installation prompt if vuln_mgmt integration is not installed", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + } + ] + } + ] + }, + { + "filePath": "x-pack/plugins/cloud_security_posture/public/pages/vulnerability_dashboard/vulnerability_dashboard.test.tsx", + "fileName": "vulnerability_dashboard.test.tsx", + "directory": "x-pack/plugins/cloud_security_posture", + "tags": [ + "UT" + ], + "lines": [ + "describe('')", + " it('renders vuln_mgmt integrations installation prompt if vuln_mgmt integration is not installed')", + " it('No vulnerabilities state: not-deployed - shows NotDeployed instead of vulnerabilities ')", + " it('No vulnerabilities state: indexing - shows Indexing instead of vulnerabilities ')", + " it('No vulnerabilities state: index-timeout - shows IndexTimeout instead of vulnerabilities ')", + " it('No vulnerabilities state: unprivileged - shows Unprivileged instead of vulnerabilities ')", + " it('Vulnerabilities state: indexed - renders dashboard container on indexed state ')" + ], + "testSuits": [ + { + "id": "", + "rawLine": "describe('', () => {", + "line": "describe('')", + "label": "", + "indent": 0, + "type": "describe", + "isSkipped": false, + "isTodo": false + }, + { + "id": "renders-vuln_mgmt-integrations-installation-prompt-if-vuln_mgmt-integration-is-not-installed", + "rawLine": " it('renders vuln_mgmt integrations installation prompt if vuln_mgmt integration is not installed', () => {", + "line": " it('renders vuln_mgmt integrations installation prompt if vuln_mgmt integration is not installed')", + "label": "renders vuln_mgmt integrations installation prompt if vuln_mgmt integration is not installed", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "no-vulnerabilities-state:-not-deployed---shows-notdeployed-instead-of-vulnerabilities-", + "rawLine": " it('No vulnerabilities state: not-deployed - shows NotDeployed instead of vulnerabilities ', () => {", + "line": " it('No vulnerabilities state: not-deployed - shows NotDeployed instead of vulnerabilities ')", + "label": "No vulnerabilities state: not-deployed - shows NotDeployed instead of vulnerabilities ", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "no-vulnerabilities-state:-indexing---shows-indexing-instead-of-vulnerabilities-", + "rawLine": " it('No vulnerabilities state: indexing - shows Indexing instead of vulnerabilities ', () => {", + "line": " it('No vulnerabilities state: indexing - shows Indexing instead of vulnerabilities ')", + "label": "No vulnerabilities state: indexing - shows Indexing instead of vulnerabilities ", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "no-vulnerabilities-state:-index-timeout---shows-indextimeout-instead-of-vulnerabilities-", + "rawLine": " it('No vulnerabilities state: index-timeout - shows IndexTimeout instead of vulnerabilities ', () => {", + "line": " it('No vulnerabilities state: index-timeout - shows IndexTimeout instead of vulnerabilities ')", + "label": "No vulnerabilities state: index-timeout - shows IndexTimeout instead of vulnerabilities ", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "no-vulnerabilities-state:-unprivileged---shows-unprivileged-instead-of-vulnerabilities-", + "rawLine": " it('No vulnerabilities state: unprivileged - shows Unprivileged instead of vulnerabilities ', () => {", + "line": " it('No vulnerabilities state: unprivileged - shows Unprivileged instead of vulnerabilities ')", + "label": "No vulnerabilities state: unprivileged - shows Unprivileged instead of vulnerabilities ", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "vulnerabilities-state:-indexed---renders-dashboard-container-on-indexed-state-", + "rawLine": " it('Vulnerabilities state: indexed - renders dashboard container on indexed state ', () => {", + "line": " it('Vulnerabilities state: indexed - renders dashboard container on indexed state ')", + "label": "Vulnerabilities state: indexed - renders dashboard container on indexed state ", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + } + ], + "tree": [ + { + "id": "", + "rawLine": "describe('', () => {", + "line": "describe('')", + "label": "", + "indent": 0, + "type": "describe", + "isSkipped": false, + "isTodo": false, + "children": [ + { + "id": "renders-vuln_mgmt-integrations-installation-prompt-if-vuln_mgmt-integration-is-not-installed", + "rawLine": " it('renders vuln_mgmt integrations installation prompt if vuln_mgmt integration is not installed', () => {", + "line": " it('renders vuln_mgmt integrations installation prompt if vuln_mgmt integration is not installed')", + "label": "renders vuln_mgmt integrations installation prompt if vuln_mgmt integration is not installed", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "no-vulnerabilities-state:-not-deployed---shows-notdeployed-instead-of-vulnerabilities-", + "rawLine": " it('No vulnerabilities state: not-deployed - shows NotDeployed instead of vulnerabilities ', () => {", + "line": " it('No vulnerabilities state: not-deployed - shows NotDeployed instead of vulnerabilities ')", + "label": "No vulnerabilities state: not-deployed - shows NotDeployed instead of vulnerabilities ", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "no-vulnerabilities-state:-indexing---shows-indexing-instead-of-vulnerabilities-", + "rawLine": " it('No vulnerabilities state: indexing - shows Indexing instead of vulnerabilities ', () => {", + "line": " it('No vulnerabilities state: indexing - shows Indexing instead of vulnerabilities ')", + "label": "No vulnerabilities state: indexing - shows Indexing instead of vulnerabilities ", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "no-vulnerabilities-state:-index-timeout---shows-indextimeout-instead-of-vulnerabilities-", + "rawLine": " it('No vulnerabilities state: index-timeout - shows IndexTimeout instead of vulnerabilities ', () => {", + "line": " it('No vulnerabilities state: index-timeout - shows IndexTimeout instead of vulnerabilities ')", + "label": "No vulnerabilities state: index-timeout - shows IndexTimeout instead of vulnerabilities ", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "no-vulnerabilities-state:-unprivileged---shows-unprivileged-instead-of-vulnerabilities-", + "rawLine": " it('No vulnerabilities state: unprivileged - shows Unprivileged instead of vulnerabilities ', () => {", + "line": " it('No vulnerabilities state: unprivileged - shows Unprivileged instead of vulnerabilities ')", + "label": "No vulnerabilities state: unprivileged - shows Unprivileged instead of vulnerabilities ", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "vulnerabilities-state:-indexed---renders-dashboard-container-on-indexed-state-", + "rawLine": " it('Vulnerabilities state: indexed - renders dashboard container on indexed state ', () => {", + "line": " it('Vulnerabilities state: indexed - renders dashboard container on indexed state ')", + "label": "Vulnerabilities state: indexed - renders dashboard container on indexed state ", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + } + ] + } + ] + }, + { + "filePath": "x-pack/plugins/cloud_security_posture/server/create_indices/create_indices.test.ts", + "fileName": "create_indices.test.ts", + "directory": "x-pack/plugins/cloud_security_posture", + "tags": [ + "UT" + ], + "lines": [ + "describe('createBenchmarkScoreIndex')", + " it('should delete old index template from prev verions first')", + " it('should create index template with the correct index pattern, index name and default ingest pipeline')", + " it('should create index template the correct index patter, index name and default ingest pipeline but without lifecycle in serverless')", + " it('should create index if does not exist')", + " it('should updat index mapping if index exists')" + ], + "testSuits": [ + { + "id": "createbenchmarkscoreindex", + "rawLine": "describe('createBenchmarkScoreIndex', () => {", + "line": "describe('createBenchmarkScoreIndex')", + "label": "createBenchmarkScoreIndex", + "indent": 0, + "type": "describe", + "isSkipped": false, + "isTodo": false + }, + { + "id": "should-delete-old-index-template-from-prev-verions-first", + "rawLine": " it('should delete old index template from prev verions first', async () => {", + "line": " it('should delete old index template from prev verions first')", + "label": "should delete old index template from prev verions first", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "should-create-index-template-with-the-correct-index-pattern,-index-name-and-default-ingest-pipeline", + "rawLine": " it('should create index template with the correct index pattern, index name and default ingest pipeline', async () => {", + "line": " it('should create index template with the correct index pattern, index name and default ingest pipeline')", + "label": "should create index template with the correct index pattern, index name and default ingest pipeline", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "should-create-index-template-the-correct-index-patter,-index-name-and-default-ingest-pipeline-but-without-lifecycle-in-serverless", + "rawLine": " it('should create index template the correct index patter, index name and default ingest pipeline but without lifecycle in serverless', async () => {", + "line": " it('should create index template the correct index patter, index name and default ingest pipeline but without lifecycle in serverless')", + "label": "should create index template the correct index patter, index name and default ingest pipeline but without lifecycle in serverless", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "should-create-index-if-does-not-exist", + "rawLine": " it('should create index if does not exist', async () => {", + "line": " it('should create index if does not exist')", + "label": "should create index if does not exist", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "should-updat-index-mapping-if-index-exists", + "rawLine": " it('should updat index mapping if index exists', async () => {", + "line": " it('should updat index mapping if index exists')", + "label": "should updat index mapping if index exists", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + } + ], + "tree": [ + { + "id": "createbenchmarkscoreindex", + "rawLine": "describe('createBenchmarkScoreIndex', () => {", + "line": "describe('createBenchmarkScoreIndex')", + "label": "createBenchmarkScoreIndex", + "indent": 0, + "type": "describe", + "isSkipped": false, + "isTodo": false, + "children": [ + { + "id": "should-delete-old-index-template-from-prev-verions-first", + "rawLine": " it('should delete old index template from prev verions first', async () => {", + "line": " it('should delete old index template from prev verions first')", + "label": "should delete old index template from prev verions first", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "should-create-index-template-with-the-correct-index-pattern,-index-name-and-default-ingest-pipeline", + "rawLine": " it('should create index template with the correct index pattern, index name and default ingest pipeline', async () => {", + "line": " it('should create index template with the correct index pattern, index name and default ingest pipeline')", + "label": "should create index template with the correct index pattern, index name and default ingest pipeline", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "should-create-index-template-the-correct-index-patter,-index-name-and-default-ingest-pipeline-but-without-lifecycle-in-serverless", + "rawLine": " it('should create index template the correct index patter, index name and default ingest pipeline but without lifecycle in serverless', async () => {", + "line": " it('should create index template the correct index patter, index name and default ingest pipeline but without lifecycle in serverless')", + "label": "should create index template the correct index patter, index name and default ingest pipeline but without lifecycle in serverless", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "should-create-index-if-does-not-exist", + "rawLine": " it('should create index if does not exist', async () => {", + "line": " it('should create index if does not exist')", + "label": "should create index if does not exist", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "should-updat-index-mapping-if-index-exists", + "rawLine": " it('should updat index mapping if index exists', async () => {", + "line": " it('should updat index mapping if index exists')", + "label": "should updat index mapping if index exists", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + } + ] + } + ] + }, + { + "filePath": "x-pack/plugins/cloud_security_posture/server/create_transforms/create_transforms.test.ts", + "fileName": "create_transforms.test.ts", + "directory": "x-pack/plugins/cloud_security_posture", + "tags": [ + "UT" + ], + "lines": [ + "describe('createTransformIfNotExist')", + " it('expect not to create if already exists')", + " it('expect to create if does not already exist')", + " it('expect not to create if get error is not 404')", + "describe('startTransformIfNotStarted')", + " it(`expect not to start if state is ${state}`)", + " it('expect not to start if transform not found')", + " it('expect to start if state is stopped')", + " it('expect to attempt restart if state is failed')" + ], + "testSuits": [ + { + "id": "createtransformifnotexist", + "rawLine": "describe('createTransformIfNotExist', () => {", + "line": "describe('createTransformIfNotExist')", + "label": "createTransformIfNotExist", + "indent": 0, + "type": "describe", + "isSkipped": false, + "isTodo": false + }, + { + "id": "expect-not-to-create-if-already-exists", + "rawLine": " it('expect not to create if already exists', async () => {", + "line": " it('expect not to create if already exists')", + "label": "expect not to create if already exists", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "expect-to-create-if-does-not-already-exist", + "rawLine": " it('expect to create if does not already exist', async () => {", + "line": " it('expect to create if does not already exist')", + "label": "expect to create if does not already exist", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "expect-not-to-create-if-get-error-is-not-404", + "rawLine": " it('expect not to create if get error is not 404', async () => {", + "line": " it('expect not to create if get error is not 404')", + "label": "expect not to create if get error is not 404", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "starttransformifnotstarted", + "rawLine": "describe('startTransformIfNotStarted', () => {", + "line": "describe('startTransformIfNotStarted')", + "label": "startTransformIfNotStarted", + "indent": 0, + "type": "describe", + "isSkipped": false, + "isTodo": false + }, + { + "id": "expect-not-to-start-if-state-is-${state}", + "rawLine": " it(`expect not to start if state is ${state}`, async () => {", + "line": " it(`expect not to start if state is ${state}`)", + "label": "expect not to start if state is ${state}", + "indent": 4, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "expect-not-to-start-if-transform-not-found", + "rawLine": " it('expect not to start if transform not found', async () => {", + "line": " it('expect not to start if transform not found')", + "label": "expect not to start if transform not found", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "expect-to-start-if-state-is-stopped", + "rawLine": " it('expect to start if state is stopped', async () => {", + "line": " it('expect to start if state is stopped')", + "label": "expect to start if state is stopped", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "expect-to-attempt-restart-if-state-is-failed", + "rawLine": " it('expect to attempt restart if state is failed', async () => {", + "line": " it('expect to attempt restart if state is failed')", + "label": "expect to attempt restart if state is failed", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + } + ], + "tree": [ + { + "id": "createtransformifnotexist", + "rawLine": "describe('createTransformIfNotExist', () => {", + "line": "describe('createTransformIfNotExist')", + "label": "createTransformIfNotExist", + "indent": 0, + "type": "describe", + "isSkipped": false, + "isTodo": false, + "children": [ + { + "id": "expect-not-to-create-if-already-exists", + "rawLine": " it('expect not to create if already exists', async () => {", + "line": " it('expect not to create if already exists')", + "label": "expect not to create if already exists", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "expect-to-create-if-does-not-already-exist", + "rawLine": " it('expect to create if does not already exist', async () => {", + "line": " it('expect to create if does not already exist')", + "label": "expect to create if does not already exist", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "expect-not-to-create-if-get-error-is-not-404", + "rawLine": " it('expect not to create if get error is not 404', async () => {", + "line": " it('expect not to create if get error is not 404')", + "label": "expect not to create if get error is not 404", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + } + ] + }, + { + "id": "starttransformifnotstarted", + "rawLine": "describe('startTransformIfNotStarted', () => {", + "line": "describe('startTransformIfNotStarted')", + "label": "startTransformIfNotStarted", + "indent": 0, + "type": "describe", + "isSkipped": false, + "isTodo": false, + "children": [ + { + "id": "expect-not-to-start-if-state-is-${state}", + "rawLine": " it(`expect not to start if state is ${state}`, async () => {", + "line": " it(`expect not to start if state is ${state}`)", + "label": "expect not to start if state is ${state}", + "indent": 4, + "type": "it", + "isSkipped": false, + "isTodo": false + } + ] + }, + { + "id": "expect-not-to-start-if-transform-not-found", + "rawLine": " it('expect not to start if transform not found', async () => {", + "line": " it('expect not to start if transform not found')", + "label": "expect not to start if transform not found", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "expect-to-start-if-state-is-stopped", + "rawLine": " it('expect to start if state is stopped', async () => {", + "line": " it('expect to start if state is stopped')", + "label": "expect to start if state is stopped", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "expect-to-attempt-restart-if-state-is-failed", + "rawLine": " it('expect to attempt restart if state is failed', async () => {", + "line": " it('expect to attempt restart if state is failed')", + "label": "expect to attempt restart if state is failed", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + } + ] + }, + { + "filePath": "x-pack/plugins/cloud_security_posture/server/fleet_integration/fleet_integration.test.ts", + "fileName": "fleet_integration.test.ts", + "directory": "x-pack/plugins/cloud_security_posture", + "tags": [ + "UT" + ], + "lines": [ + "describe('is Csp package installed tests')" + ], + "testSuits": [ + { + "id": "is-csp-package-installed-tests", + "rawLine": "describe('is Csp package installed tests', () => {", + "line": "describe('is Csp package installed tests')", + "label": "is Csp package installed tests", + "indent": 0, + "type": "describe", + "isSkipped": false, + "isTodo": false + } + ], + "tree": [ + { + "id": "is-csp-package-installed-tests", + "rawLine": "describe('is Csp package installed tests', () => {", + "line": "describe('is Csp package installed tests')", + "label": "is Csp package installed tests", + "indent": 0, + "type": "describe", + "isSkipped": false, + "isTodo": false + } + ] + }, + { + "filePath": "x-pack/plugins/cloud_security_posture/server/lib/mapping_field_util.test.ts", + "fileName": "mapping_field_util.test.ts", + "directory": "x-pack/plugins/cloud_security_posture", + "tags": [ + "UT" + ], + "lines": [ + "describe('Benchmark Field Key Functions')", + " it('toBenchmarkDocFieldKey should keep the same benchmark id and version key for benchmark document')", + " it('toBenchmarkDocFieldKey should convert benchmark version with . delimiter correctly')", + " it('toBenchmarkMappingFieldKey should convert benchmark version with _ delimiter correctly')", + " it('toBenchmarkMappingFieldKey should handle benchmark version with dots correctly')", + " it('MAPPING_VERSION_DELIMITER should be an underscore')" + ], + "testSuits": [ + { + "id": "benchmark-field-key-functions", + "rawLine": "describe('Benchmark Field Key Functions', () => {", + "line": "describe('Benchmark Field Key Functions')", + "label": "Benchmark Field Key Functions", + "indent": 0, + "type": "describe", + "isSkipped": false, + "isTodo": false + }, + { + "id": "tobenchmarkdocfieldkey-should-keep-the-same-benchmark-id-and-version-key-for-benchmark-document", + "rawLine": " it('toBenchmarkDocFieldKey should keep the same benchmark id and version key for benchmark document', () => {", + "line": " it('toBenchmarkDocFieldKey should keep the same benchmark id and version key for benchmark document')", + "label": "toBenchmarkDocFieldKey should keep the same benchmark id and version key for benchmark document", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "tobenchmarkdocfieldkey-should-convert-benchmark-version-with-.-delimiter-correctly", + "rawLine": " it('toBenchmarkDocFieldKey should convert benchmark version with . delimiter correctly', () => {", + "line": " it('toBenchmarkDocFieldKey should convert benchmark version with . delimiter correctly')", + "label": "toBenchmarkDocFieldKey should convert benchmark version with . delimiter correctly", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "tobenchmarkmappingfieldkey-should-convert-benchmark-version-with-_-delimiter-correctly", + "rawLine": " it('toBenchmarkMappingFieldKey should convert benchmark version with _ delimiter correctly', () => {", + "line": " it('toBenchmarkMappingFieldKey should convert benchmark version with _ delimiter correctly')", + "label": "toBenchmarkMappingFieldKey should convert benchmark version with _ delimiter correctly", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "tobenchmarkmappingfieldkey-should-handle-benchmark-version-with-dots-correctly", + "rawLine": " it('toBenchmarkMappingFieldKey should handle benchmark version with dots correctly', () => {", + "line": " it('toBenchmarkMappingFieldKey should handle benchmark version with dots correctly')", + "label": "toBenchmarkMappingFieldKey should handle benchmark version with dots correctly", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "mapping_version_delimiter-should-be-an-underscore", + "rawLine": " it('MAPPING_VERSION_DELIMITER should be an underscore', () => {", + "line": " it('MAPPING_VERSION_DELIMITER should be an underscore')", + "label": "MAPPING_VERSION_DELIMITER should be an underscore", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + } + ], + "tree": [ + { + "id": "benchmark-field-key-functions", + "rawLine": "describe('Benchmark Field Key Functions', () => {", + "line": "describe('Benchmark Field Key Functions')", + "label": "Benchmark Field Key Functions", + "indent": 0, + "type": "describe", + "isSkipped": false, + "isTodo": false, + "children": [ + { + "id": "tobenchmarkdocfieldkey-should-keep-the-same-benchmark-id-and-version-key-for-benchmark-document", + "rawLine": " it('toBenchmarkDocFieldKey should keep the same benchmark id and version key for benchmark document', () => {", + "line": " it('toBenchmarkDocFieldKey should keep the same benchmark id and version key for benchmark document')", + "label": "toBenchmarkDocFieldKey should keep the same benchmark id and version key for benchmark document", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "tobenchmarkdocfieldkey-should-convert-benchmark-version-with-.-delimiter-correctly", + "rawLine": " it('toBenchmarkDocFieldKey should convert benchmark version with . delimiter correctly', () => {", + "line": " it('toBenchmarkDocFieldKey should convert benchmark version with . delimiter correctly')", + "label": "toBenchmarkDocFieldKey should convert benchmark version with . delimiter correctly", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "tobenchmarkmappingfieldkey-should-convert-benchmark-version-with-_-delimiter-correctly", + "rawLine": " it('toBenchmarkMappingFieldKey should convert benchmark version with _ delimiter correctly', () => {", + "line": " it('toBenchmarkMappingFieldKey should convert benchmark version with _ delimiter correctly')", + "label": "toBenchmarkMappingFieldKey should convert benchmark version with _ delimiter correctly", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "tobenchmarkmappingfieldkey-should-handle-benchmark-version-with-dots-correctly", + "rawLine": " it('toBenchmarkMappingFieldKey should handle benchmark version with dots correctly', () => {", + "line": " it('toBenchmarkMappingFieldKey should handle benchmark version with dots correctly')", + "label": "toBenchmarkMappingFieldKey should handle benchmark version with dots correctly", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "mapping_version_delimiter-should-be-an-underscore", + "rawLine": " it('MAPPING_VERSION_DELIMITER should be an underscore', () => {", + "line": " it('MAPPING_VERSION_DELIMITER should be an underscore')", + "label": "MAPPING_VERSION_DELIMITER should be an underscore", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + } + ] + } + ] + }, + { + "filePath": "x-pack/plugins/cloud_security_posture/server/plugin.test.ts", + "fileName": "plugin.test.ts", + "directory": "x-pack/plugins/cloud_security_posture", + "tags": [ + "UT" + ], + "lines": [ + "describe('Cloud Security Posture Plugin')", + " describe('start()')", + " it('should initialize when package installed')", + " it('should not initialize when package is not installed')", + " it('should initialize when new package is created')", + " it('should not initialize when other package is created')", + " it('packagePolicyPostCreate should return the same received policy')" + ], + "testSuits": [ + { + "id": "cloud-security-posture-plugin", + "rawLine": "describe('Cloud Security Posture Plugin', () => {", + "line": "describe('Cloud Security Posture Plugin')", + "label": "Cloud Security Posture Plugin", + "indent": 0, + "type": "describe", + "isSkipped": false, + "isTodo": false + }, + { + "id": "start()", + "rawLine": " describe('start()', () => {", + "line": " describe('start()')", + "label": "start()", + "indent": 2, + "type": "describe", + "isSkipped": false, + "isTodo": false + }, + { + "id": "should-initialize-when-package-installed", + "rawLine": " it('should initialize when package installed', async () => {", + "line": " it('should initialize when package installed')", + "label": "should initialize when package installed", + "indent": 4, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "should-not-initialize-when-package-is-not-installed", + "rawLine": " it('should not initialize when package is not installed', async () => {", + "line": " it('should not initialize when package is not installed')", + "label": "should not initialize when package is not installed", + "indent": 4, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "should-initialize-when-new-package-is-created", + "rawLine": " it('should initialize when new package is created', async () => {", + "line": " it('should initialize when new package is created')", + "label": "should initialize when new package is created", + "indent": 4, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "should-not-initialize-when-other-package-is-created", + "rawLine": " it('should not initialize when other package is created', async () => {", + "line": " it('should not initialize when other package is created')", + "label": "should not initialize when other package is created", + "indent": 4, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "packagepolicypostcreate-should-return-the-same-received-policy", + "rawLine": " it('packagePolicyPostCreate should return the same received policy', async () => {", + "line": " it('packagePolicyPostCreate should return the same received policy')", + "label": "packagePolicyPostCreate should return the same received policy", + "indent": 4, + "type": "it", + "isSkipped": false, + "isTodo": false + } + ], + "tree": [ + { + "id": "cloud-security-posture-plugin", + "rawLine": "describe('Cloud Security Posture Plugin', () => {", + "line": "describe('Cloud Security Posture Plugin')", + "label": "Cloud Security Posture Plugin", + "indent": 0, + "type": "describe", + "isSkipped": false, + "isTodo": false, + "children": [ + { + "id": "start()", + "rawLine": " describe('start()', () => {", + "line": " describe('start()')", + "label": "start()", + "indent": 2, + "type": "describe", + "isSkipped": false, + "isTodo": false, + "children": [ + { + "id": "should-initialize-when-package-installed", + "rawLine": " it('should initialize when package installed', async () => {", + "line": " it('should initialize when package installed')", + "label": "should initialize when package installed", + "indent": 4, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "should-not-initialize-when-package-is-not-installed", + "rawLine": " it('should not initialize when package is not installed', async () => {", + "line": " it('should not initialize when package is not installed')", + "label": "should not initialize when package is not installed", + "indent": 4, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "should-initialize-when-new-package-is-created", + "rawLine": " it('should initialize when new package is created', async () => {", + "line": " it('should initialize when new package is created')", + "label": "should initialize when new package is created", + "indent": 4, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "should-not-initialize-when-other-package-is-created", + "rawLine": " it('should not initialize when other package is created', async () => {", + "line": " it('should not initialize when other package is created')", + "label": "should not initialize when other package is created", + "indent": 4, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "packagepolicypostcreate-should-return-the-same-received-policy", + "rawLine": " it('packagePolicyPostCreate should return the same received policy', async () => {", + "line": " it('packagePolicyPostCreate should return the same received policy')", + "label": "packagePolicyPostCreate should return the same received policy", + "indent": 4, + "type": "it", + "isSkipped": false, + "isTodo": false + } + ] + } + ] + } + ] + }, + { + "filePath": "x-pack/plugins/cloud_security_posture/server/routes/benchmark_rules/find/find.test.ts", + "fileName": "find.test.ts", + "directory": "x-pack/plugins/cloud_security_posture", + "tags": [ + "UT" + ], + "lines": [ + "describe('getSortedCspBenchmarkRules')", + " it('sorts by metadata.benchmark.rule_number, invalid semantic version still should still get sorted and empty values should be sorted last')", + " it('edge case - returns empty array if input is empty')", + " it('edge case - returns sorted array even if input only has one element')", + " it('returns sorted array even with undefined or null properties')", + " it('returns sorted array with invalid semantic versions')" + ], + "testSuits": [ + { + "id": "getsortedcspbenchmarkrules", + "rawLine": "describe('getSortedCspBenchmarkRules', () => {", + "line": "describe('getSortedCspBenchmarkRules')", + "label": "getSortedCspBenchmarkRules", + "indent": 0, + "type": "describe", + "isSkipped": false, + "isTodo": false + }, + { + "id": "sorts-by-metadata.benchmark.rule_number,-invalid-semantic-version-still-should-still-get-sorted-and-empty-values-should-be-sorted-last", + "rawLine": " it('sorts by metadata.benchmark.rule_number, invalid semantic version still should still get sorted and empty values should be sorted last', () => {", + "line": " it('sorts by metadata.benchmark.rule_number, invalid semantic version still should still get sorted and empty values should be sorted last')", + "label": "sorts by metadata.benchmark.rule_number, invalid semantic version still should still get sorted and empty values should be sorted last", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "edge-case---returns-empty-array-if-input-is-empty", + "rawLine": " it('edge case - returns empty array if input is empty', () => {", + "line": " it('edge case - returns empty array if input is empty')", + "label": "edge case - returns empty array if input is empty", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "edge-case---returns-sorted-array-even-if-input-only-has-one-element", + "rawLine": " it('edge case - returns sorted array even if input only has one element', () => {", + "line": " it('edge case - returns sorted array even if input only has one element')", + "label": "edge case - returns sorted array even if input only has one element", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "returns-sorted-array-even-with-undefined-or-null-properties", + "rawLine": " it('returns sorted array even with undefined or null properties', () => {", + "line": " it('returns sorted array even with undefined or null properties')", + "label": "returns sorted array even with undefined or null properties", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "returns-sorted-array-with-invalid-semantic-versions", + "rawLine": " it('returns sorted array with invalid semantic versions', () => {", + "line": " it('returns sorted array with invalid semantic versions')", + "label": "returns sorted array with invalid semantic versions", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + } + ], + "tree": [ + { + "id": "getsortedcspbenchmarkrules", + "rawLine": "describe('getSortedCspBenchmarkRules', () => {", + "line": "describe('getSortedCspBenchmarkRules')", + "label": "getSortedCspBenchmarkRules", + "indent": 0, + "type": "describe", + "isSkipped": false, + "isTodo": false, + "children": [ + { + "id": "sorts-by-metadata.benchmark.rule_number,-invalid-semantic-version-still-should-still-get-sorted-and-empty-values-should-be-sorted-last", + "rawLine": " it('sorts by metadata.benchmark.rule_number, invalid semantic version still should still get sorted and empty values should be sorted last', () => {", + "line": " it('sorts by metadata.benchmark.rule_number, invalid semantic version still should still get sorted and empty values should be sorted last')", + "label": "sorts by metadata.benchmark.rule_number, invalid semantic version still should still get sorted and empty values should be sorted last", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "edge-case---returns-empty-array-if-input-is-empty", + "rawLine": " it('edge case - returns empty array if input is empty', () => {", + "line": " it('edge case - returns empty array if input is empty')", + "label": "edge case - returns empty array if input is empty", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "edge-case---returns-sorted-array-even-if-input-only-has-one-element", + "rawLine": " it('edge case - returns sorted array even if input only has one element', () => {", + "line": " it('edge case - returns sorted array even if input only has one element')", + "label": "edge case - returns sorted array even if input only has one element", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "returns-sorted-array-even-with-undefined-or-null-properties", + "rawLine": " it('returns sorted array even with undefined or null properties', () => {", + "line": " it('returns sorted array even with undefined or null properties')", + "label": "returns sorted array even with undefined or null properties", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "returns-sorted-array-with-invalid-semantic-versions", + "rawLine": " it('returns sorted array with invalid semantic versions', () => {", + "line": " it('returns sorted array with invalid semantic versions')", + "label": "returns sorted array with invalid semantic versions", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + } + ] + } + ] + }, + { + "filePath": "x-pack/plugins/cloud_security_posture/server/routes/benchmarks/benchmarks.test.ts", + "fileName": "benchmarks.test.ts", + "directory": "x-pack/plugins/cloud_security_posture", + "tags": [ + "UT" + ], + "lines": [ + "describe('benchmarks API')", + " it('validate the API route path')", + " it('should accept to a user with fleet.all privilege')", + " it('should reject to a user without fleet.all privilege')", + " describe('test input schema')", + " it('expect to find default values')", + " it('expect to find package_policy_name')", + " it('should throw when page field is not a positive integer')", + " it('should throw when per_page field is not a positive integer')", + " it('should throw when sort_field is not string')", + " it('should not throw when sort_field is a string')", + " it('should throw when sort_order is not `asc` or `desc`')", + " it('should not throw when `asc` is input for sort_order field')", + " it('should not throw when `desc` is input for sort_order field')", + " it('should not throw when fields is a known string literal')", + " describe('test benchmarks utils')", + " describe('test getAgentPolicies')", + " it('should return one agent policy id when there is duplication')", + " it('should return full policy ids list when there is no id duplication')", + " describe('test addPackagePolicyCspBenchmarkRule')", + " it('should retrieve the rules count by the filtered benchmark type')" + ], + "testSuits": [ + { + "id": "benchmarks-api", + "rawLine": "describe('benchmarks API', () => {", + "line": "describe('benchmarks API')", + "label": "benchmarks API", + "indent": 0, + "type": "describe", + "isSkipped": false, + "isTodo": false + }, + { + "id": "validate-the-api-route-path", + "rawLine": " it('validate the API route path', async () => {", + "line": " it('validate the API route path')", + "label": "validate the API route path", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "should-accept-to-a-user-with-fleet.all-privilege", + "rawLine": " it('should accept to a user with fleet.all privilege', async () => {", + "line": " it('should accept to a user with fleet.all privilege')", + "label": "should accept to a user with fleet.all privilege", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "should-reject-to-a-user-without-fleet.all-privilege", + "rawLine": " it('should reject to a user without fleet.all privilege', async () => {", + "line": " it('should reject to a user without fleet.all privilege')", + "label": "should reject to a user without fleet.all privilege", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "test-input-schema", + "rawLine": " describe('test input schema', () => {", + "line": " describe('test input schema')", + "label": "test input schema", + "indent": 2, + "type": "describe", + "isSkipped": false, + "isTodo": false + }, + { + "id": "expect-to-find-default-values", + "rawLine": " it('expect to find default values', async () => {", + "line": " it('expect to find default values')", + "label": "expect to find default values", + "indent": 4, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "expect-to-find-package_policy_name", + "rawLine": " it('expect to find package_policy_name', async () => {", + "line": " it('expect to find package_policy_name')", + "label": "expect to find package_policy_name", + "indent": 4, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "should-throw-when-page-field-is-not-a-positive-integer", + "rawLine": " it('should throw when page field is not a positive integer', async () => {", + "line": " it('should throw when page field is not a positive integer')", + "label": "should throw when page field is not a positive integer", + "indent": 4, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "should-throw-when-per_page-field-is-not-a-positive-integer", + "rawLine": " it('should throw when per_page field is not a positive integer', async () => {", + "line": " it('should throw when per_page field is not a positive integer')", + "label": "should throw when per_page field is not a positive integer", + "indent": 4, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "should-throw-when-sort_field-is-not-string", + "rawLine": " it('should throw when sort_field is not string', async () => {", + "line": " it('should throw when sort_field is not string')", + "label": "should throw when sort_field is not string", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "should-not-throw-when-sort_field-is-a-string", + "rawLine": " it('should not throw when sort_field is a string', async () => {", + "line": " it('should not throw when sort_field is a string')", + "label": "should not throw when sort_field is a string", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "should-throw-when-sort_order-is-not-", + "rawLine": " it('should throw when sort_order is not `asc` or `desc`', async () => {", + "line": " it('should throw when sort_order is not `asc` or `desc`')", + "label": "should throw when sort_order is not ", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "should-not-throw-when-", + "rawLine": " it('should not throw when `asc` is input for sort_order field', async () => {", + "line": " it('should not throw when `asc` is input for sort_order field')", + "label": "should not throw when ", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "should-not-throw-when-", + "rawLine": " it('should not throw when `desc` is input for sort_order field', async () => {", + "line": " it('should not throw when `desc` is input for sort_order field')", + "label": "should not throw when ", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "should-not-throw-when-fields-is-a-known-string-literal", + "rawLine": " it('should not throw when fields is a known string literal', async () => {", + "line": " it('should not throw when fields is a known string literal')", + "label": "should not throw when fields is a known string literal", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "test-benchmarks-utils", + "rawLine": " describe('test benchmarks utils', () => {", + "line": " describe('test benchmarks utils')", + "label": "test benchmarks utils", + "indent": 2, + "type": "describe", + "isSkipped": false, + "isTodo": false + }, + { + "id": "test-getagentpolicies", + "rawLine": " describe('test getAgentPolicies', () => {", + "line": " describe('test getAgentPolicies')", + "label": "test getAgentPolicies", + "indent": 4, + "type": "describe", + "isSkipped": false, + "isTodo": false + }, + { + "id": "should-return-one-agent-policy-id-when-there-is-duplication", + "rawLine": " it('should return one agent policy id when there is duplication', async () => {", + "line": " it('should return one agent policy id when there is duplication')", + "label": "should return one agent policy id when there is duplication", + "indent": 6, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "should-return-full-policy-ids-list-when-there-is-no-id-duplication", + "rawLine": " it('should return full policy ids list when there is no id duplication', async () => {", + "line": " it('should return full policy ids list when there is no id duplication')", + "label": "should return full policy ids list when there is no id duplication", + "indent": 6, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "test-addpackagepolicycspbenchmarkrule", + "rawLine": " describe('test addPackagePolicyCspBenchmarkRule', () => {", + "line": " describe('test addPackagePolicyCspBenchmarkRule')", + "label": "test addPackagePolicyCspBenchmarkRule", + "indent": 4, + "type": "describe", + "isSkipped": false, + "isTodo": false + }, + { + "id": "should-retrieve-the-rules-count-by-the-filtered-benchmark-type", + "rawLine": " it('should retrieve the rules count by the filtered benchmark type', async () => {", + "line": " it('should retrieve the rules count by the filtered benchmark type')", + "label": "should retrieve the rules count by the filtered benchmark type", + "indent": 6, + "type": "it", + "isSkipped": false, + "isTodo": false + } + ], + "tree": [ + { + "id": "benchmarks-api", + "rawLine": "describe('benchmarks API', () => {", + "line": "describe('benchmarks API')", + "label": "benchmarks API", + "indent": 0, + "type": "describe", + "isSkipped": false, + "isTodo": false, + "children": [ + { + "id": "validate-the-api-route-path", + "rawLine": " it('validate the API route path', async () => {", + "line": " it('validate the API route path')", + "label": "validate the API route path", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "should-accept-to-a-user-with-fleet.all-privilege", + "rawLine": " it('should accept to a user with fleet.all privilege', async () => {", + "line": " it('should accept to a user with fleet.all privilege')", + "label": "should accept to a user with fleet.all privilege", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "should-reject-to-a-user-without-fleet.all-privilege", + "rawLine": " it('should reject to a user without fleet.all privilege', async () => {", + "line": " it('should reject to a user without fleet.all privilege')", + "label": "should reject to a user without fleet.all privilege", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "test-input-schema", + "rawLine": " describe('test input schema', () => {", + "line": " describe('test input schema')", + "label": "test input schema", + "indent": 2, + "type": "describe", + "isSkipped": false, + "isTodo": false, + "children": [ + { + "id": "expect-to-find-default-values", + "rawLine": " it('expect to find default values', async () => {", + "line": " it('expect to find default values')", + "label": "expect to find default values", + "indent": 4, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "expect-to-find-package_policy_name", + "rawLine": " it('expect to find package_policy_name', async () => {", + "line": " it('expect to find package_policy_name')", + "label": "expect to find package_policy_name", + "indent": 4, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "should-throw-when-page-field-is-not-a-positive-integer", + "rawLine": " it('should throw when page field is not a positive integer', async () => {", + "line": " it('should throw when page field is not a positive integer')", + "label": "should throw when page field is not a positive integer", + "indent": 4, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "should-throw-when-per_page-field-is-not-a-positive-integer", + "rawLine": " it('should throw when per_page field is not a positive integer', async () => {", + "line": " it('should throw when per_page field is not a positive integer')", + "label": "should throw when per_page field is not a positive integer", + "indent": 4, + "type": "it", + "isSkipped": false, + "isTodo": false + } + ] + }, + { + "id": "should-throw-when-sort_field-is-not-string", + "rawLine": " it('should throw when sort_field is not string', async () => {", + "line": " it('should throw when sort_field is not string')", + "label": "should throw when sort_field is not string", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "should-not-throw-when-sort_field-is-a-string", + "rawLine": " it('should not throw when sort_field is a string', async () => {", + "line": " it('should not throw when sort_field is a string')", + "label": "should not throw when sort_field is a string", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "should-throw-when-sort_order-is-not-", + "rawLine": " it('should throw when sort_order is not `asc` or `desc`', async () => {", + "line": " it('should throw when sort_order is not `asc` or `desc`')", + "label": "should throw when sort_order is not ", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "should-not-throw-when-", + "rawLine": " it('should not throw when `asc` is input for sort_order field', async () => {", + "line": " it('should not throw when `asc` is input for sort_order field')", + "label": "should not throw when ", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "should-not-throw-when-", + "rawLine": " it('should not throw when `desc` is input for sort_order field', async () => {", + "line": " it('should not throw when `desc` is input for sort_order field')", + "label": "should not throw when ", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "should-not-throw-when-fields-is-a-known-string-literal", + "rawLine": " it('should not throw when fields is a known string literal', async () => {", + "line": " it('should not throw when fields is a known string literal')", + "label": "should not throw when fields is a known string literal", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "test-benchmarks-utils", + "rawLine": " describe('test benchmarks utils', () => {", + "line": " describe('test benchmarks utils')", + "label": "test benchmarks utils", + "indent": 2, + "type": "describe", + "isSkipped": false, + "isTodo": false, + "children": [ + { + "id": "test-getagentpolicies", + "rawLine": " describe('test getAgentPolicies', () => {", + "line": " describe('test getAgentPolicies')", + "label": "test getAgentPolicies", + "indent": 4, + "type": "describe", + "isSkipped": false, + "isTodo": false, + "children": [ + { + "id": "should-return-one-agent-policy-id-when-there-is-duplication", + "rawLine": " it('should return one agent policy id when there is duplication', async () => {", + "line": " it('should return one agent policy id when there is duplication')", + "label": "should return one agent policy id when there is duplication", + "indent": 6, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "should-return-full-policy-ids-list-when-there-is-no-id-duplication", + "rawLine": " it('should return full policy ids list when there is no id duplication', async () => {", + "line": " it('should return full policy ids list when there is no id duplication')", + "label": "should return full policy ids list when there is no id duplication", + "indent": 6, + "type": "it", + "isSkipped": false, + "isTodo": false + } + ] + }, + { + "id": "test-addpackagepolicycspbenchmarkrule", + "rawLine": " describe('test addPackagePolicyCspBenchmarkRule', () => {", + "line": " describe('test addPackagePolicyCspBenchmarkRule')", + "label": "test addPackagePolicyCspBenchmarkRule", + "indent": 4, + "type": "describe", + "isSkipped": false, + "isTodo": false, + "children": [ + { + "id": "should-retrieve-the-rules-count-by-the-filtered-benchmark-type", + "rawLine": " it('should retrieve the rules count by the filtered benchmark type', async () => {", + "line": " it('should retrieve the rules count by the filtered benchmark type')", + "label": "should retrieve the rules count by the filtered benchmark type", + "indent": 6, + "type": "it", + "isSkipped": false, + "isTodo": false + } + ] + } + ] + } + ] + } + ] + }, + { + "filePath": "x-pack/plugins/cloud_security_posture/server/routes/compliance_dashboard/compliance_dashboard.test.ts", + "fileName": "compliance_dashboard.test.ts", + "directory": "x-pack/plugins/cloud_security_posture", + "tags": [ + "UT" + ], + "lines": [ + "describe('compliance dashboard permissions API')", + " it('should accept to a user with fleet.all privilege')", + " it('should reject to a user without fleet.all privilege')" + ], + "testSuits": [ + { + "id": "compliance-dashboard-permissions-api", + "rawLine": "describe('compliance dashboard permissions API', () => {", + "line": "describe('compliance dashboard permissions API')", + "label": "compliance dashboard permissions API", + "indent": 0, + "type": "describe", + "isSkipped": false, + "isTodo": false + }, + { + "id": "should-accept-to-a-user-with-fleet.all-privilege", + "rawLine": " it('should accept to a user with fleet.all privilege', async () => {", + "line": " it('should accept to a user with fleet.all privilege')", + "label": "should accept to a user with fleet.all privilege", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "should-reject-to-a-user-without-fleet.all-privilege", + "rawLine": " it('should reject to a user without fleet.all privilege', async () => {", + "line": " it('should reject to a user without fleet.all privilege')", + "label": "should reject to a user without fleet.all privilege", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + } + ], + "tree": [ + { + "id": "compliance-dashboard-permissions-api", + "rawLine": "describe('compliance dashboard permissions API', () => {", + "line": "describe('compliance dashboard permissions API')", + "label": "compliance dashboard permissions API", + "indent": 0, + "type": "describe", + "isSkipped": false, + "isTodo": false, + "children": [ + { + "id": "should-accept-to-a-user-with-fleet.all-privilege", + "rawLine": " it('should accept to a user with fleet.all privilege', async () => {", + "line": " it('should accept to a user with fleet.all privilege')", + "label": "should accept to a user with fleet.all privilege", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "should-reject-to-a-user-without-fleet.all-privilege", + "rawLine": " it('should reject to a user without fleet.all privilege', async () => {", + "line": " it('should reject to a user without fleet.all privilege')", + "label": "should reject to a user without fleet.all privilege", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + } + ] + } + ] + }, + { + "filePath": "x-pack/plugins/cloud_security_posture/server/routes/compliance_dashboard/get_benchmarks.test.ts", + "fileName": "get_benchmarks.test.ts", + "directory": "x-pack/plugins/cloud_security_posture", + "tags": [ + "UT" + ], + "lines": [ + "describe('getBenchmarksFromAggs')", + " it('should return value matching ComplianceDashboardDataV2[\"benchmarks\"]')" + ], + "testSuits": [ + { + "id": "getbenchmarksfromaggs", + "rawLine": "describe('getBenchmarksFromAggs', () => {", + "line": "describe('getBenchmarksFromAggs')", + "label": "getBenchmarksFromAggs", + "indent": 0, + "type": "describe", + "isSkipped": false, + "isTodo": false + }, + { + "id": "should-return-value-matching-compliancedashboarddatav2[\"benchmarks\"]", + "rawLine": " it('should return value matching ComplianceDashboardDataV2[\"benchmarks\"]', async () => {", + "line": " it('should return value matching ComplianceDashboardDataV2[\"benchmarks\"]')", + "label": "should return value matching ComplianceDashboardDataV2[\"benchmarks\"]", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + } + ], + "tree": [ + { + "id": "getbenchmarksfromaggs", + "rawLine": "describe('getBenchmarksFromAggs', () => {", + "line": "describe('getBenchmarksFromAggs')", + "label": "getBenchmarksFromAggs", + "indent": 0, + "type": "describe", + "isSkipped": false, + "isTodo": false, + "children": [ + { + "id": "should-return-value-matching-compliancedashboarddatav2[\"benchmarks\"]", + "rawLine": " it('should return value matching ComplianceDashboardDataV2[\"benchmarks\"]', async () => {", + "line": " it('should return value matching ComplianceDashboardDataV2[\"benchmarks\"]')", + "label": "should return value matching ComplianceDashboardDataV2[\"benchmarks\"]", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + } + ] + } + ] + }, + { + "filePath": "x-pack/plugins/cloud_security_posture/server/routes/compliance_dashboard/get_clusters.test.ts", + "fileName": "get_clusters.test.ts", + "directory": "x-pack/plugins/cloud_security_posture", + "tags": [ + "UT" + ], + "lines": [ + "describe('getClustersFromAggs')", + " it('should return value matching ComplianceDashboardData[\"clusters\"]')" + ], + "testSuits": [ + { + "id": "getclustersfromaggs", + "rawLine": "describe('getClustersFromAggs', () => {", + "line": "describe('getClustersFromAggs')", + "label": "getClustersFromAggs", + "indent": 0, + "type": "describe", + "isSkipped": false, + "isTodo": false + }, + { + "id": "should-return-value-matching-compliancedashboarddata[\"clusters\"]", + "rawLine": " it('should return value matching ComplianceDashboardData[\"clusters\"]', async () => {", + "line": " it('should return value matching ComplianceDashboardData[\"clusters\"]')", + "label": "should return value matching ComplianceDashboardData[\"clusters\"]", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + } + ], + "tree": [ + { + "id": "getclustersfromaggs", + "rawLine": "describe('getClustersFromAggs', () => {", + "line": "describe('getClustersFromAggs')", + "label": "getClustersFromAggs", + "indent": 0, + "type": "describe", + "isSkipped": false, + "isTodo": false, + "children": [ + { + "id": "should-return-value-matching-compliancedashboarddata[\"clusters\"]", + "rawLine": " it('should return value matching ComplianceDashboardData[\"clusters\"]', async () => {", + "line": " it('should return value matching ComplianceDashboardData[\"clusters\"]')", + "label": "should return value matching ComplianceDashboardData[\"clusters\"]", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + } + ] + } + ] + }, + { + "filePath": "x-pack/plugins/cloud_security_posture/server/routes/compliance_dashboard/get_grouped_findings_evaluation.test.ts", + "fileName": "get_grouped_findings_evaluation.test.ts", + "directory": "x-pack/plugins/cloud_security_posture", + "tags": [ + "UT" + ], + "lines": [ + "describe('getPostureStatsFromAggs')", + " it('should return value matching ComplianceDashboardData[\"resourcesTypes\"]')" + ], + "testSuits": [ + { + "id": "getposturestatsfromaggs", + "rawLine": "describe('getPostureStatsFromAggs', () => {", + "line": "describe('getPostureStatsFromAggs')", + "label": "getPostureStatsFromAggs", + "indent": 0, + "type": "describe", + "isSkipped": false, + "isTodo": false + }, + { + "id": "should-return-value-matching-compliancedashboarddata[\"resourcestypes\"]", + "rawLine": " it('should return value matching ComplianceDashboardData[\"resourcesTypes\"]', async () => {", + "line": " it('should return value matching ComplianceDashboardData[\"resourcesTypes\"]')", + "label": "should return value matching ComplianceDashboardData[\"resourcesTypes\"]", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + } + ], + "tree": [ + { + "id": "getposturestatsfromaggs", + "rawLine": "describe('getPostureStatsFromAggs', () => {", + "line": "describe('getPostureStatsFromAggs')", + "label": "getPostureStatsFromAggs", + "indent": 0, + "type": "describe", + "isSkipped": false, + "isTodo": false, + "children": [ + { + "id": "should-return-value-matching-compliancedashboarddata[\"resourcestypes\"]", + "rawLine": " it('should return value matching ComplianceDashboardData[\"resourcesTypes\"]', async () => {", + "line": " it('should return value matching ComplianceDashboardData[\"resourcesTypes\"]')", + "label": "should return value matching ComplianceDashboardData[\"resourcesTypes\"]", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + } + ] + } + ] + }, + { + "filePath": "x-pack/plugins/cloud_security_posture/server/routes/compliance_dashboard/get_stats.test.ts", + "fileName": "get_stats.test.ts", + "directory": "x-pack/plugins/cloud_security_posture", + "tags": [ + "UT" + ], + "lines": [ + "describe('roundScore')", + " it('should return decimal values with one fraction digit')", + "describe('calculatePostureScore')", + " it('should return calculated posture score')", + "describe('getStatsFromFindingsEvaluationsAggs')", + " it('should throw error in case no findings were found')", + " it('should return value matching ComplianceDashboardData[\"stats\"]')", + " it('checks for stability in case one of the values is zero')", + " it('should return zero on all stats if there are no failed or passed findings')" + ], + "testSuits": [ + { + "id": "roundscore", + "rawLine": "describe('roundScore', () => {", + "line": "describe('roundScore')", + "label": "roundScore", + "indent": 0, + "type": "describe", + "isSkipped": false, + "isTodo": false + }, + { + "id": "should-return-decimal-values-with-one-fraction-digit", + "rawLine": " it('should return decimal values with one fraction digit', async () => {", + "line": " it('should return decimal values with one fraction digit')", + "label": "should return decimal values with one fraction digit", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "calculateposturescore", + "rawLine": "describe('calculatePostureScore', () => {", + "line": "describe('calculatePostureScore')", + "label": "calculatePostureScore", + "indent": 0, + "type": "describe", + "isSkipped": false, + "isTodo": false + }, + { + "id": "should-return-calculated-posture-score", + "rawLine": " it('should return calculated posture score', async () => {", + "line": " it('should return calculated posture score')", + "label": "should return calculated posture score", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "getstatsfromfindingsevaluationsaggs", + "rawLine": "describe('getStatsFromFindingsEvaluationsAggs', () => {", + "line": "describe('getStatsFromFindingsEvaluationsAggs')", + "label": "getStatsFromFindingsEvaluationsAggs", + "indent": 0, + "type": "describe", + "isSkipped": false, + "isTodo": false + }, + { + "id": "should-throw-error-in-case-no-findings-were-found", + "rawLine": " it('should throw error in case no findings were found', async () => {", + "line": " it('should throw error in case no findings were found')", + "label": "should throw error in case no findings were found", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "should-return-value-matching-compliancedashboarddata[\"stats\"]", + "rawLine": " it('should return value matching ComplianceDashboardData[\"stats\"]', async () => {", + "line": " it('should return value matching ComplianceDashboardData[\"stats\"]')", + "label": "should return value matching ComplianceDashboardData[\"stats\"]", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "checks-for-stability-in-case-one-of-the-values-is-zero", + "rawLine": " it('checks for stability in case one of the values is zero', async () => {", + "line": " it('checks for stability in case one of the values is zero')", + "label": "checks for stability in case one of the values is zero", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "should-return-zero-on-all-stats-if-there-are-no-failed-or-passed-findings", + "rawLine": " it('should return zero on all stats if there are no failed or passed findings', async () => {", + "line": " it('should return zero on all stats if there are no failed or passed findings')", + "label": "should return zero on all stats if there are no failed or passed findings", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + } + ], + "tree": [ + { + "id": "roundscore", + "rawLine": "describe('roundScore', () => {", + "line": "describe('roundScore')", + "label": "roundScore", + "indent": 0, + "type": "describe", + "isSkipped": false, + "isTodo": false, + "children": [ + { + "id": "should-return-decimal-values-with-one-fraction-digit", + "rawLine": " it('should return decimal values with one fraction digit', async () => {", + "line": " it('should return decimal values with one fraction digit')", + "label": "should return decimal values with one fraction digit", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + } + ] + }, + { + "id": "calculateposturescore", + "rawLine": "describe('calculatePostureScore', () => {", + "line": "describe('calculatePostureScore')", + "label": "calculatePostureScore", + "indent": 0, + "type": "describe", + "isSkipped": false, + "isTodo": false, + "children": [ + { + "id": "should-return-calculated-posture-score", + "rawLine": " it('should return calculated posture score', async () => {", + "line": " it('should return calculated posture score')", + "label": "should return calculated posture score", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + } + ] + }, + { + "id": "getstatsfromfindingsevaluationsaggs", + "rawLine": "describe('getStatsFromFindingsEvaluationsAggs', () => {", + "line": "describe('getStatsFromFindingsEvaluationsAggs')", + "label": "getStatsFromFindingsEvaluationsAggs", + "indent": 0, + "type": "describe", + "isSkipped": false, + "isTodo": false, + "children": [ + { + "id": "should-throw-error-in-case-no-findings-were-found", + "rawLine": " it('should throw error in case no findings were found', async () => {", + "line": " it('should throw error in case no findings were found')", + "label": "should throw error in case no findings were found", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "should-return-value-matching-compliancedashboarddata[\"stats\"]", + "rawLine": " it('should return value matching ComplianceDashboardData[\"stats\"]', async () => {", + "line": " it('should return value matching ComplianceDashboardData[\"stats\"]')", + "label": "should return value matching ComplianceDashboardData[\"stats\"]", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "checks-for-stability-in-case-one-of-the-values-is-zero", + "rawLine": " it('checks for stability in case one of the values is zero', async () => {", + "line": " it('checks for stability in case one of the values is zero')", + "label": "checks for stability in case one of the values is zero", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "should-return-zero-on-all-stats-if-there-are-no-failed-or-passed-findings", + "rawLine": " it('should return zero on all stats if there are no failed or passed findings', async () => {", + "line": " it('should return zero on all stats if there are no failed or passed findings')", + "label": "should return zero on all stats if there are no failed or passed findings", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + } + ] + } + ] + }, + { + "filePath": "x-pack/plugins/cloud_security_posture/server/routes/compliance_dashboard/get_trends.test.ts", + "fileName": "get_trends.test.ts", + "directory": "x-pack/plugins/cloud_security_posture", + "tags": [ + "UT" + ], + "lines": [ + "describe('getTrendsFromQueryResult')", + " it('should return value matching Trends type definition, in descending order, and with postureScore')" + ], + "testSuits": [ + { + "id": "gettrendsfromqueryresult", + "rawLine": "describe('getTrendsFromQueryResult', () => {", + "line": "describe('getTrendsFromQueryResult')", + "label": "getTrendsFromQueryResult", + "indent": 0, + "type": "describe", + "isSkipped": false, + "isTodo": false + }, + { + "id": "should-return-value-matching-trends-type-definition,-in-descending-order,-and-with-posturescore", + "rawLine": " it('should return value matching Trends type definition, in descending order, and with postureScore', async () => {", + "line": " it('should return value matching Trends type definition, in descending order, and with postureScore')", + "label": "should return value matching Trends type definition, in descending order, and with postureScore", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + } + ], + "tree": [ + { + "id": "gettrendsfromqueryresult", + "rawLine": "describe('getTrendsFromQueryResult', () => {", + "line": "describe('getTrendsFromQueryResult')", + "label": "getTrendsFromQueryResult", + "indent": 0, + "type": "describe", + "isSkipped": false, + "isTodo": false, + "children": [ + { + "id": "should-return-value-matching-trends-type-definition,-in-descending-order,-and-with-posturescore", + "rawLine": " it('should return value matching Trends type definition, in descending order, and with postureScore', async () => {", + "line": " it('should return value matching Trends type definition, in descending order, and with postureScore')", + "label": "should return value matching Trends type definition, in descending order, and with postureScore", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + } + ] + } + ] + }, + { + "filePath": "x-pack/plugins/cloud_security_posture/server/routes/status/status.test.ts", + "fileName": "status.test.ts", + "directory": "x-pack/plugins/cloud_security_posture", + "tags": [ + "UT" + ], + "lines": [ + "describe('calculateIntegrationStatus for cspm')", + " it('Verify status when CSP package is not installed')", + " it('Verify status when there are no permission for cspm')", + " it('Verify status when there are no findings, no healthy agents and no installed policy templates')", + " it('Verify status when there are findings and installed policies but no healthy agents')", + " it('Verify status when there are findings ,installed policies and healthy agents')", + " it('Verify status when there are no findings ,installed policies and no healthy agents')", + " it('Verify status when there are installed policies, healthy agents and no findings')", + " it('Verify status when there are installed policies, healthy agents and no findings and been more than 10 minutes')", + " it('Verify status when there are installed policies, healthy agents past findings but no recent findings')", + "describe('calculateIntegrationStatus for vul_mgmt')", + " it('Verify status when there are no permission for vul_mgmt')", + " it('Verify status when there are no vul_mgmt findings, no healthy agents and no installed policy templates')", + " it('Verify status when there are vul_mgmt findings and installed policies but no healthy agents')", + " it('Verify status when there are vul_mgmt findings ,installed policies and healthy agents')", + " it('Verify status when there are no vul_mgmt findings ,installed policies and no healthy agents')", + " it('Verify status when there are installed policies, healthy agents and no vul_mgmt findings')", + " it('Verify status when there are installed policies, healthy agents and no vul_mgmt findings and been more than 10 minutes')", + " it('Verify status when there are installed policies, healthy agents and no vul_mgmt findings and been more than 1 hour')", + " it('Verify status when there are installed policies, healthy agents past vul_mgmt findings but no recent findings')" + ], + "testSuits": [ + { + "id": "calculateintegrationstatus-for-cspm", + "rawLine": "describe('calculateIntegrationStatus for cspm', () => {", + "line": "describe('calculateIntegrationStatus for cspm')", + "label": "calculateIntegrationStatus for cspm", + "indent": 0, + "type": "describe", + "isSkipped": false, + "isTodo": false + }, + { + "id": "verify-status-when-csp-package-is-not-installed", + "rawLine": " it('Verify status when CSP package is not installed', async () => {", + "line": " it('Verify status when CSP package is not installed')", + "label": "Verify status when CSP package is not installed", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "verify-status-when-there-are-no-permission-for-cspm", + "rawLine": " it('Verify status when there are no permission for cspm', async () => {", + "line": " it('Verify status when there are no permission for cspm')", + "label": "Verify status when there are no permission for cspm", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "verify-status-when-there-are-no-findings,-no-healthy-agents-and-no-installed-policy-templates", + "rawLine": " it('Verify status when there are no findings, no healthy agents and no installed policy templates', async () => {", + "line": " it('Verify status when there are no findings, no healthy agents and no installed policy templates')", + "label": "Verify status when there are no findings, no healthy agents and no installed policy templates", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "verify-status-when-there-are-findings-and-installed-policies-but-no-healthy-agents", + "rawLine": " it('Verify status when there are findings and installed policies but no healthy agents', async () => {", + "line": " it('Verify status when there are findings and installed policies but no healthy agents')", + "label": "Verify status when there are findings and installed policies but no healthy agents", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "verify-status-when-there-are-findings-,installed-policies-and-healthy-agents", + "rawLine": " it('Verify status when there are findings ,installed policies and healthy agents', async () => {", + "line": " it('Verify status when there are findings ,installed policies and healthy agents')", + "label": "Verify status when there are findings ,installed policies and healthy agents", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "verify-status-when-there-are-no-findings-,installed-policies-and-no-healthy-agents", + "rawLine": " it('Verify status when there are no findings ,installed policies and no healthy agents', async () => {", + "line": " it('Verify status when there are no findings ,installed policies and no healthy agents')", + "label": "Verify status when there are no findings ,installed policies and no healthy agents", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "verify-status-when-there-are-installed-policies,-healthy-agents-and-no-findings", + "rawLine": " it('Verify status when there are installed policies, healthy agents and no findings', async () => {", + "line": " it('Verify status when there are installed policies, healthy agents and no findings')", + "label": "Verify status when there are installed policies, healthy agents and no findings", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "verify-status-when-there-are-installed-policies,-healthy-agents-and-no-findings-and-been-more-than-10-minutes", + "rawLine": " it('Verify status when there are installed policies, healthy agents and no findings and been more than 10 minutes', async () => {", + "line": " it('Verify status when there are installed policies, healthy agents and no findings and been more than 10 minutes')", + "label": "Verify status when there are installed policies, healthy agents and no findings and been more than 10 minutes", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "verify-status-when-there-are-installed-policies,-healthy-agents-past-findings-but-no-recent-findings", + "rawLine": " it('Verify status when there are installed policies, healthy agents past findings but no recent findings', async () => {", + "line": " it('Verify status when there are installed policies, healthy agents past findings but no recent findings')", + "label": "Verify status when there are installed policies, healthy agents past findings but no recent findings", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "calculateintegrationstatus-for-vul_mgmt", + "rawLine": "describe('calculateIntegrationStatus for vul_mgmt', () => {", + "line": "describe('calculateIntegrationStatus for vul_mgmt')", + "label": "calculateIntegrationStatus for vul_mgmt", + "indent": 0, + "type": "describe", + "isSkipped": false, + "isTodo": false + }, + { + "id": "verify-status-when-there-are-no-permission-for-vul_mgmt", + "rawLine": " it('Verify status when there are no permission for vul_mgmt', async () => {", + "line": " it('Verify status when there are no permission for vul_mgmt')", + "label": "Verify status when there are no permission for vul_mgmt", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "verify-status-when-there-are-no-vul_mgmt-findings,-no-healthy-agents-and-no-installed-policy-templates", + "rawLine": " it('Verify status when there are no vul_mgmt findings, no healthy agents and no installed policy templates', async () => {", + "line": " it('Verify status when there are no vul_mgmt findings, no healthy agents and no installed policy templates')", + "label": "Verify status when there are no vul_mgmt findings, no healthy agents and no installed policy templates", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "verify-status-when-there-are-vul_mgmt-findings-and-installed-policies-but-no-healthy-agents", + "rawLine": " it('Verify status when there are vul_mgmt findings and installed policies but no healthy agents', async () => {", + "line": " it('Verify status when there are vul_mgmt findings and installed policies but no healthy agents')", + "label": "Verify status when there are vul_mgmt findings and installed policies but no healthy agents", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "verify-status-when-there-are-vul_mgmt-findings-,installed-policies-and-healthy-agents", + "rawLine": " it('Verify status when there are vul_mgmt findings ,installed policies and healthy agents', async () => {", + "line": " it('Verify status when there are vul_mgmt findings ,installed policies and healthy agents')", + "label": "Verify status when there are vul_mgmt findings ,installed policies and healthy agents", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "verify-status-when-there-are-no-vul_mgmt-findings-,installed-policies-and-no-healthy-agents", + "rawLine": " it('Verify status when there are no vul_mgmt findings ,installed policies and no healthy agents', async () => {", + "line": " it('Verify status when there are no vul_mgmt findings ,installed policies and no healthy agents')", + "label": "Verify status when there are no vul_mgmt findings ,installed policies and no healthy agents", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "verify-status-when-there-are-installed-policies,-healthy-agents-and-no-vul_mgmt-findings", + "rawLine": " it('Verify status when there are installed policies, healthy agents and no vul_mgmt findings', async () => {", + "line": " it('Verify status when there are installed policies, healthy agents and no vul_mgmt findings')", + "label": "Verify status when there are installed policies, healthy agents and no vul_mgmt findings", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "verify-status-when-there-are-installed-policies,-healthy-agents-and-no-vul_mgmt-findings-and-been-more-than-10-minutes", + "rawLine": " it('Verify status when there are installed policies, healthy agents and no vul_mgmt findings and been more than 10 minutes', async () => {", + "line": " it('Verify status when there are installed policies, healthy agents and no vul_mgmt findings and been more than 10 minutes')", + "label": "Verify status when there are installed policies, healthy agents and no vul_mgmt findings and been more than 10 minutes", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "verify-status-when-there-are-installed-policies,-healthy-agents-and-no-vul_mgmt-findings-and-been-more-than-1-hour", + "rawLine": " it('Verify status when there are installed policies, healthy agents and no vul_mgmt findings and been more than 1 hour', async () => {", + "line": " it('Verify status when there are installed policies, healthy agents and no vul_mgmt findings and been more than 1 hour')", + "label": "Verify status when there are installed policies, healthy agents and no vul_mgmt findings and been more than 1 hour", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "verify-status-when-there-are-installed-policies,-healthy-agents-past-vul_mgmt-findings-but-no-recent-findings", + "rawLine": " it('Verify status when there are installed policies, healthy agents past vul_mgmt findings but no recent findings', async () => {", + "line": " it('Verify status when there are installed policies, healthy agents past vul_mgmt findings but no recent findings')", + "label": "Verify status when there are installed policies, healthy agents past vul_mgmt findings but no recent findings", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + } + ], + "tree": [ + { + "id": "calculateintegrationstatus-for-cspm", + "rawLine": "describe('calculateIntegrationStatus for cspm', () => {", + "line": "describe('calculateIntegrationStatus for cspm')", + "label": "calculateIntegrationStatus for cspm", + "indent": 0, + "type": "describe", + "isSkipped": false, + "isTodo": false, + "children": [ + { + "id": "verify-status-when-csp-package-is-not-installed", + "rawLine": " it('Verify status when CSP package is not installed', async () => {", + "line": " it('Verify status when CSP package is not installed')", + "label": "Verify status when CSP package is not installed", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "verify-status-when-there-are-no-permission-for-cspm", + "rawLine": " it('Verify status when there are no permission for cspm', async () => {", + "line": " it('Verify status when there are no permission for cspm')", + "label": "Verify status when there are no permission for cspm", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "verify-status-when-there-are-no-findings,-no-healthy-agents-and-no-installed-policy-templates", + "rawLine": " it('Verify status when there are no findings, no healthy agents and no installed policy templates', async () => {", + "line": " it('Verify status when there are no findings, no healthy agents and no installed policy templates')", + "label": "Verify status when there are no findings, no healthy agents and no installed policy templates", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "verify-status-when-there-are-findings-and-installed-policies-but-no-healthy-agents", + "rawLine": " it('Verify status when there are findings and installed policies but no healthy agents', async () => {", + "line": " it('Verify status when there are findings and installed policies but no healthy agents')", + "label": "Verify status when there are findings and installed policies but no healthy agents", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "verify-status-when-there-are-findings-,installed-policies-and-healthy-agents", + "rawLine": " it('Verify status when there are findings ,installed policies and healthy agents', async () => {", + "line": " it('Verify status when there are findings ,installed policies and healthy agents')", + "label": "Verify status when there are findings ,installed policies and healthy agents", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "verify-status-when-there-are-no-findings-,installed-policies-and-no-healthy-agents", + "rawLine": " it('Verify status when there are no findings ,installed policies and no healthy agents', async () => {", + "line": " it('Verify status when there are no findings ,installed policies and no healthy agents')", + "label": "Verify status when there are no findings ,installed policies and no healthy agents", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "verify-status-when-there-are-installed-policies,-healthy-agents-and-no-findings", + "rawLine": " it('Verify status when there are installed policies, healthy agents and no findings', async () => {", + "line": " it('Verify status when there are installed policies, healthy agents and no findings')", + "label": "Verify status when there are installed policies, healthy agents and no findings", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "verify-status-when-there-are-installed-policies,-healthy-agents-and-no-findings-and-been-more-than-10-minutes", + "rawLine": " it('Verify status when there are installed policies, healthy agents and no findings and been more than 10 minutes', async () => {", + "line": " it('Verify status when there are installed policies, healthy agents and no findings and been more than 10 minutes')", + "label": "Verify status when there are installed policies, healthy agents and no findings and been more than 10 minutes", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "verify-status-when-there-are-installed-policies,-healthy-agents-past-findings-but-no-recent-findings", + "rawLine": " it('Verify status when there are installed policies, healthy agents past findings but no recent findings', async () => {", + "line": " it('Verify status when there are installed policies, healthy agents past findings but no recent findings')", + "label": "Verify status when there are installed policies, healthy agents past findings but no recent findings", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + } + ] + }, + { + "id": "calculateintegrationstatus-for-vul_mgmt", + "rawLine": "describe('calculateIntegrationStatus for vul_mgmt', () => {", + "line": "describe('calculateIntegrationStatus for vul_mgmt')", + "label": "calculateIntegrationStatus for vul_mgmt", + "indent": 0, + "type": "describe", + "isSkipped": false, + "isTodo": false, + "children": [ + { + "id": "verify-status-when-there-are-no-permission-for-vul_mgmt", + "rawLine": " it('Verify status when there are no permission for vul_mgmt', async () => {", + "line": " it('Verify status when there are no permission for vul_mgmt')", + "label": "Verify status when there are no permission for vul_mgmt", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "verify-status-when-there-are-no-vul_mgmt-findings,-no-healthy-agents-and-no-installed-policy-templates", + "rawLine": " it('Verify status when there are no vul_mgmt findings, no healthy agents and no installed policy templates', async () => {", + "line": " it('Verify status when there are no vul_mgmt findings, no healthy agents and no installed policy templates')", + "label": "Verify status when there are no vul_mgmt findings, no healthy agents and no installed policy templates", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "verify-status-when-there-are-vul_mgmt-findings-and-installed-policies-but-no-healthy-agents", + "rawLine": " it('Verify status when there are vul_mgmt findings and installed policies but no healthy agents', async () => {", + "line": " it('Verify status when there are vul_mgmt findings and installed policies but no healthy agents')", + "label": "Verify status when there are vul_mgmt findings and installed policies but no healthy agents", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "verify-status-when-there-are-vul_mgmt-findings-,installed-policies-and-healthy-agents", + "rawLine": " it('Verify status when there are vul_mgmt findings ,installed policies and healthy agents', async () => {", + "line": " it('Verify status when there are vul_mgmt findings ,installed policies and healthy agents')", + "label": "Verify status when there are vul_mgmt findings ,installed policies and healthy agents", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "verify-status-when-there-are-no-vul_mgmt-findings-,installed-policies-and-no-healthy-agents", + "rawLine": " it('Verify status when there are no vul_mgmt findings ,installed policies and no healthy agents', async () => {", + "line": " it('Verify status when there are no vul_mgmt findings ,installed policies and no healthy agents')", + "label": "Verify status when there are no vul_mgmt findings ,installed policies and no healthy agents", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "verify-status-when-there-are-installed-policies,-healthy-agents-and-no-vul_mgmt-findings", + "rawLine": " it('Verify status when there are installed policies, healthy agents and no vul_mgmt findings', async () => {", + "line": " it('Verify status when there are installed policies, healthy agents and no vul_mgmt findings')", + "label": "Verify status when there are installed policies, healthy agents and no vul_mgmt findings", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "verify-status-when-there-are-installed-policies,-healthy-agents-and-no-vul_mgmt-findings-and-been-more-than-10-minutes", + "rawLine": " it('Verify status when there are installed policies, healthy agents and no vul_mgmt findings and been more than 10 minutes', async () => {", + "line": " it('Verify status when there are installed policies, healthy agents and no vul_mgmt findings and been more than 10 minutes')", + "label": "Verify status when there are installed policies, healthy agents and no vul_mgmt findings and been more than 10 minutes", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "verify-status-when-there-are-installed-policies,-healthy-agents-and-no-vul_mgmt-findings-and-been-more-than-1-hour", + "rawLine": " it('Verify status when there are installed policies, healthy agents and no vul_mgmt findings and been more than 1 hour', async () => {", + "line": " it('Verify status when there are installed policies, healthy agents and no vul_mgmt findings and been more than 1 hour')", + "label": "Verify status when there are installed policies, healthy agents and no vul_mgmt findings and been more than 1 hour", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "verify-status-when-there-are-installed-policies,-healthy-agents-past-vul_mgmt-findings-but-no-recent-findings", + "rawLine": " it('Verify status when there are installed policies, healthy agents past vul_mgmt findings but no recent findings', async () => {", + "line": " it('Verify status when there are installed policies, healthy agents past vul_mgmt findings but no recent findings')", + "label": "Verify status when there are installed policies, healthy agents past vul_mgmt findings but no recent findings", + "indent": 2, + "type": "it", + "isSkipped": false, + "isTodo": false + } + ] + } + ] + }, + { + "filePath": "x-pack/plugins/cloud_security_posture/server/tasks/task_state.test.ts", + "fileName": "task_state.test.ts", + "directory": "x-pack/plugins/cloud_security_posture", + "tags": [ + "UT" + ], + "lines": [ + "describe('finding stats task state')", + " describe('v1')", + " it('should work on empty object when running the up migration')", + " it(`shouldn't overwrite properties when running the up migration`)", + " it('should drop unknown properties when running the up migration')" + ], + "testSuits": [ + { + "id": "finding-stats-task-state", + "rawLine": "describe('finding stats task state', () => {", + "line": "describe('finding stats task state')", + "label": "finding stats task state", + "indent": 0, + "type": "describe", + "isSkipped": false, + "isTodo": false + }, + { + "id": "v1", + "rawLine": " describe('v1', () => {", + "line": " describe('v1')", + "label": "v1", + "indent": 2, + "type": "describe", + "isSkipped": false, + "isTodo": false + }, + { + "id": "should-work-on-empty-object-when-running-the-up-migration", + "rawLine": " it('should work on empty object when running the up migration', () => {", + "line": " it('should work on empty object when running the up migration')", + "label": "should work on empty object when running the up migration", + "indent": 4, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "shouldn", + "rawLine": " it(`shouldn't overwrite properties when running the up migration`, () => {", + "line": " it(`shouldn't overwrite properties when running the up migration`)", + "label": "shouldn", + "indent": 4, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "should-drop-unknown-properties-when-running-the-up-migration", + "rawLine": " it('should drop unknown properties when running the up migration', () => {", + "line": " it('should drop unknown properties when running the up migration')", + "label": "should drop unknown properties when running the up migration", + "indent": 4, + "type": "it", + "isSkipped": false, + "isTodo": false + } + ], + "tree": [ + { + "id": "finding-stats-task-state", + "rawLine": "describe('finding stats task state', () => {", + "line": "describe('finding stats task state')", + "label": "finding stats task state", + "indent": 0, + "type": "describe", + "isSkipped": false, + "isTodo": false, + "children": [ + { + "id": "v1", + "rawLine": " describe('v1', () => {", + "line": " describe('v1')", + "label": "v1", + "indent": 2, + "type": "describe", + "isSkipped": false, + "isTodo": false, + "children": [ + { + "id": "should-work-on-empty-object-when-running-the-up-migration", + "rawLine": " it('should work on empty object when running the up migration', () => {", + "line": " it('should work on empty object when running the up migration')", + "label": "should work on empty object when running the up migration", + "indent": 4, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "shouldn", + "rawLine": " it(`shouldn't overwrite properties when running the up migration`, () => {", + "line": " it(`shouldn't overwrite properties when running the up migration`)", + "label": "shouldn", + "indent": 4, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "should-drop-unknown-properties-when-running-the-up-migration", + "rawLine": " it('should drop unknown properties when running the up migration', () => {", + "line": " it('should drop unknown properties when running the up migration')", + "label": "should drop unknown properties when running the up migration", + "indent": 4, + "type": "it", + "isSkipped": false, + "isTodo": false + } + ] + } + ] + } + ] + }, + { + "filePath": "x-pack/test_serverless/functional/test_suites/security/ftr/cloud_security_posture/compliance_dashboard.ts", + "fileName": "compliance_dashboard.ts", + "directory": "x-pack/test_serverless/functional/test_suites/security/ftr/cloud_security_posture", + "tags": [ + "FTR", + "HAS SKIP" + ], + "lines": [ + " describe('Cloud Posture Dashboard Page')", + " describe.skip('Kubernetes Dashboard')", + " it('displays accurate summary compliance score')" + ], + "testSuits": [ + { + "id": "cloud-posture-dashboard-page", + "rawLine": " describe('Cloud Posture Dashboard Page', function () {", + "line": " describe('Cloud Posture Dashboard Page')", + "label": "Cloud Posture Dashboard Page", + "indent": 2, + "type": "describe", + "isSkipped": false, + "isTodo": false + }, + { + "id": "kubernetes-dashboard", + "rawLine": " describe.skip('Kubernetes Dashboard', () => {", + "line": " describe.skip('Kubernetes Dashboard')", + "label": "Kubernetes Dashboard", + "indent": 4, + "type": "describe", + "isSkipped": true, + "isTodo": false + }, + { + "id": "displays-accurate-summary-compliance-score", + "rawLine": " it('displays accurate summary compliance score', async () => {", + "line": " it('displays accurate summary compliance score')", + "label": "displays accurate summary compliance score", + "indent": 6, + "type": "it", + "isSkipped": false, + "isTodo": false + } + ], + "tree": [ + { + "id": "cloud-posture-dashboard-page", + "rawLine": " describe('Cloud Posture Dashboard Page', function () {", + "line": " describe('Cloud Posture Dashboard Page')", + "label": "Cloud Posture Dashboard Page", + "indent": 2, + "type": "describe", + "isSkipped": false, + "isTodo": false, + "children": [ + { + "id": "kubernetes-dashboard", + "rawLine": " describe.skip('Kubernetes Dashboard', () => {", + "line": " describe.skip('Kubernetes Dashboard')", + "label": "Kubernetes Dashboard", + "indent": 4, + "type": "describe", + "isSkipped": true, + "isTodo": false, + "children": [ + { + "id": "displays-accurate-summary-compliance-score", + "rawLine": " it('displays accurate summary compliance score', async () => {", + "line": " it('displays accurate summary compliance score')", + "label": "displays accurate summary compliance score", + "indent": 6, + "type": "it", + "isSkipped": true, + "isTodo": false + } + ] + } + ] + } + ] + }, + { + "filePath": "x-pack/test_serverless/functional/test_suites/security/ftr/cloud_security_posture/index.ts", + "fileName": "index.ts", + "directory": "x-pack/test_serverless/functional/test_suites/security/ftr/cloud_security_posture", + "tags": [ + "FTR" + ], + "lines": [ + " describe('cloud_security_posture')" + ], + "testSuits": [ + { + "id": "cloud_security_posture", + "rawLine": " describe('cloud_security_posture', function () {", + "line": " describe('cloud_security_posture')", + "label": "cloud_security_posture", + "indent": 2, + "type": "describe", + "isSkipped": false, + "isTodo": false + } + ], + "tree": [ + { + "id": "cloud_security_posture", + "rawLine": " describe('cloud_security_posture', function () {", + "line": " describe('cloud_security_posture')", + "label": "cloud_security_posture", + "indent": 2, + "type": "describe", + "isSkipped": false, + "isTodo": false + } + ] + }, + { + "filePath": "x-pack/test/api_integration/apis/cloud_security_posture/benchmark/v1.ts", + "fileName": "v1.ts", + "directory": "x-pack/test/api_integration/apis/cloud_security_posture", + "tags": [ + "FTR", + "API INTEGRATION" + ], + "lines": [ + " describe('GET /internal/cloud_security_posture/benchmark')", + " it(`Should return non-empty array filled with Rules if user has CSP integrations`)", + " it(`Should return array size 2 when we set per page to be only 2 (total element is still 3)`)", + " it(`Should return array size 2 when we set per page to be only 2 (total element is still 3)`)", + " it(`Should return empty array when we set page to be above the last page number`)" + ], + "testSuits": [ + { + "id": "get-/internal/cloud_security_posture/benchmark", + "rawLine": " describe('GET /internal/cloud_security_posture/benchmark', () => {", + "line": " describe('GET /internal/cloud_security_posture/benchmark')", + "label": "GET /internal/cloud_security_posture/benchmark", + "indent": 2, + "type": "describe", + "isSkipped": false, + "isTodo": false + }, + { + "id": "should-return-non-empty-array-filled-with-rules-if-user-has-csp-integrations", + "rawLine": " it(`Should return non-empty array filled with Rules if user has CSP integrations`, async () => {", + "line": " it(`Should return non-empty array filled with Rules if user has CSP integrations`)", + "label": "Should return non-empty array filled with Rules if user has CSP integrations", + "indent": 4, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "should-return-array-size-2-when-we-set-per-page-to-be-only-2-(total-element-is-still-3)", + "rawLine": " it(`Should return array size 2 when we set per page to be only 2 (total element is still 3)`, async () => {", + "line": " it(`Should return array size 2 when we set per page to be only 2 (total element is still 3)`)", + "label": "Should return array size 2 when we set per page to be only 2 (total element is still 3)", + "indent": 4, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "should-return-array-size-2-when-we-set-per-page-to-be-only-2-(total-element-is-still-3)", + "rawLine": " it(`Should return array size 2 when we set per page to be only 2 (total element is still 3)`, async () => {", + "line": " it(`Should return array size 2 when we set per page to be only 2 (total element is still 3)`)", + "label": "Should return array size 2 when we set per page to be only 2 (total element is still 3)", + "indent": 4, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "should-return-empty-array-when-we-set-page-to-be-above-the-last-page-number", + "rawLine": " it(`Should return empty array when we set page to be above the last page number`, async () => {", + "line": " it(`Should return empty array when we set page to be above the last page number`)", + "label": "Should return empty array when we set page to be above the last page number", + "indent": 4, + "type": "it", + "isSkipped": false, + "isTodo": false + } + ], + "tree": [ + { + "id": "get-/internal/cloud_security_posture/benchmark", + "rawLine": " describe('GET /internal/cloud_security_posture/benchmark', () => {", + "line": " describe('GET /internal/cloud_security_posture/benchmark')", + "label": "GET /internal/cloud_security_posture/benchmark", + "indent": 2, + "type": "describe", + "isSkipped": false, + "isTodo": false, + "children": [ + { + "id": "should-return-non-empty-array-filled-with-rules-if-user-has-csp-integrations", + "rawLine": " it(`Should return non-empty array filled with Rules if user has CSP integrations`, async () => {", + "line": " it(`Should return non-empty array filled with Rules if user has CSP integrations`)", + "label": "Should return non-empty array filled with Rules if user has CSP integrations", + "indent": 4, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "should-return-array-size-2-when-we-set-per-page-to-be-only-2-(total-element-is-still-3)", + "rawLine": " it(`Should return array size 2 when we set per page to be only 2 (total element is still 3)`, async () => {", + "line": " it(`Should return array size 2 when we set per page to be only 2 (total element is still 3)`)", + "label": "Should return array size 2 when we set per page to be only 2 (total element is still 3)", + "indent": 4, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "should-return-array-size-2-when-we-set-per-page-to-be-only-2-(total-element-is-still-3)", + "rawLine": " it(`Should return array size 2 when we set per page to be only 2 (total element is still 3)`, async () => {", + "line": " it(`Should return array size 2 when we set per page to be only 2 (total element is still 3)`)", + "label": "Should return array size 2 when we set per page to be only 2 (total element is still 3)", + "indent": 4, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "should-return-empty-array-when-we-set-page-to-be-above-the-last-page-number", + "rawLine": " it(`Should return empty array when we set page to be above the last page number`, async () => {", + "line": " it(`Should return empty array when we set page to be above the last page number`)", + "label": "Should return empty array when we set page to be above the last page number", + "indent": 4, + "type": "it", + "isSkipped": false, + "isTodo": false + } + ] + } + ] + }, + { + "filePath": "x-pack/test/api_integration/apis/cloud_security_posture/benchmark/v2.ts", + "fileName": "v2.ts", + "directory": "x-pack/test/api_integration/apis/cloud_security_posture", + "tags": [ + "FTR", + "API INTEGRATION" + ], + "lines": [ + " describe('GET /internal/cloud_security_posture/benchmark')", + " it(`Should return all benchmarks if user has CSP integrations`)" + ], + "testSuits": [ + { + "id": "get-/internal/cloud_security_posture/benchmark", + "rawLine": " describe('GET /internal/cloud_security_posture/benchmark', () => {", + "line": " describe('GET /internal/cloud_security_posture/benchmark')", + "label": "GET /internal/cloud_security_posture/benchmark", + "indent": 2, + "type": "describe", + "isSkipped": false, + "isTodo": false + }, + { + "id": "should-return-all-benchmarks-if-user-has-csp-integrations", + "rawLine": " it(`Should return all benchmarks if user has CSP integrations`, async () => {", + "line": " it(`Should return all benchmarks if user has CSP integrations`)", + "label": "Should return all benchmarks if user has CSP integrations", + "indent": 4, + "type": "it", + "isSkipped": false, + "isTodo": false + } + ], + "tree": [ + { + "id": "get-/internal/cloud_security_posture/benchmark", + "rawLine": " describe('GET /internal/cloud_security_posture/benchmark', () => {", + "line": " describe('GET /internal/cloud_security_posture/benchmark')", + "label": "GET /internal/cloud_security_posture/benchmark", + "indent": 2, + "type": "describe", + "isSkipped": false, + "isTodo": false, + "children": [ + { + "id": "should-return-all-benchmarks-if-user-has-csp-integrations", + "rawLine": " it(`Should return all benchmarks if user has CSP integrations`, async () => {", + "line": " it(`Should return all benchmarks if user has CSP integrations`)", + "label": "Should return all benchmarks if user has CSP integrations", + "indent": 4, + "type": "it", + "isSkipped": false, + "isTodo": false + } + ] + } + ] + }, + { + "filePath": "x-pack/test/api_integration/apis/cloud_security_posture/find_csp_benchmark_rule.ts", + "fileName": "find_csp_benchmark_rule.ts", + "directory": "x-pack/test/api_integration/apis/cloud_security_posture", + "tags": [ + "FTR", + "API INTEGRATION" + ], + "lines": [ + " describe('GET internal/cloud_security_posture/rules/_find')", + " it(`Should return 500 error code when not provide package policy id or benchmark id`)", + " it(`Should return 500 error code when provide both package policy id and benchmark id`)", + " it(`Should return 404 status code when the package policy ID does not exist`)", + " it(`Should return 200 status code and filter rules by benchmarkId`)", + " it(`Should return 200 status code, and only requested fields in the response`)", + " it(`Should return 200 status code, items sorted by metadata.section field`)", + " it(`Should return 200 status code and paginate rules with a limit of PerPage`)" + ], + "testSuits": [ + { + "id": "get-internal/cloud_security_posture/rules/_find", + "rawLine": " describe('GET internal/cloud_security_posture/rules/_find', () => {", + "line": " describe('GET internal/cloud_security_posture/rules/_find')", + "label": "GET internal/cloud_security_posture/rules/_find", + "indent": 2, + "type": "describe", + "isSkipped": false, + "isTodo": false + }, + { + "id": "should-return-500-error-code-when-not-provide-package-policy-id-or-benchmark-id", + "rawLine": " it(`Should return 500 error code when not provide package policy id or benchmark id`, async () => {", + "line": " it(`Should return 500 error code when not provide package policy id or benchmark id`)", + "label": "Should return 500 error code when not provide package policy id or benchmark id", + "indent": 4, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "should-return-500-error-code-when-provide-both-package-policy-id-and-benchmark-id", + "rawLine": " it(`Should return 500 error code when provide both package policy id and benchmark id`, async () => {", + "line": " it(`Should return 500 error code when provide both package policy id and benchmark id`)", + "label": "Should return 500 error code when provide both package policy id and benchmark id", + "indent": 4, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "should-return-404-status-code-when-the-package-policy-id-does-not-exist", + "rawLine": " it(`Should return 404 status code when the package policy ID does not exist`, async () => {", + "line": " it(`Should return 404 status code when the package policy ID does not exist`)", + "label": "Should return 404 status code when the package policy ID does not exist", + "indent": 4, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "should-return-200-status-code-and-filter-rules-by-benchmarkid", + "rawLine": " it(`Should return 200 status code and filter rules by benchmarkId`, async () => {", + "line": " it(`Should return 200 status code and filter rules by benchmarkId`)", + "label": "Should return 200 status code and filter rules by benchmarkId", + "indent": 4, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "should-return-200-status-code,-and-only-requested-fields-in-the-response", + "rawLine": " it(`Should return 200 status code, and only requested fields in the response`, async () => {", + "line": " it(`Should return 200 status code, and only requested fields in the response`)", + "label": "Should return 200 status code, and only requested fields in the response", + "indent": 4, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "should-return-200-status-code,-items-sorted-by-metadata.section-field", + "rawLine": " it(`Should return 200 status code, items sorted by metadata.section field`, async () => {", + "line": " it(`Should return 200 status code, items sorted by metadata.section field`)", + "label": "Should return 200 status code, items sorted by metadata.section field", + "indent": 4, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "should-return-200-status-code-and-paginate-rules-with-a-limit-of-perpage", + "rawLine": " it(`Should return 200 status code and paginate rules with a limit of PerPage`, async () => {", + "line": " it(`Should return 200 status code and paginate rules with a limit of PerPage`)", + "label": "Should return 200 status code and paginate rules with a limit of PerPage", + "indent": 4, + "type": "it", + "isSkipped": false, + "isTodo": false + } + ], + "tree": [ + { + "id": "get-internal/cloud_security_posture/rules/_find", + "rawLine": " describe('GET internal/cloud_security_posture/rules/_find', () => {", + "line": " describe('GET internal/cloud_security_posture/rules/_find')", + "label": "GET internal/cloud_security_posture/rules/_find", + "indent": 2, + "type": "describe", + "isSkipped": false, + "isTodo": false, + "children": [ + { + "id": "should-return-500-error-code-when-not-provide-package-policy-id-or-benchmark-id", + "rawLine": " it(`Should return 500 error code when not provide package policy id or benchmark id`, async () => {", + "line": " it(`Should return 500 error code when not provide package policy id or benchmark id`)", + "label": "Should return 500 error code when not provide package policy id or benchmark id", + "indent": 4, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "should-return-500-error-code-when-provide-both-package-policy-id-and-benchmark-id", + "rawLine": " it(`Should return 500 error code when provide both package policy id and benchmark id`, async () => {", + "line": " it(`Should return 500 error code when provide both package policy id and benchmark id`)", + "label": "Should return 500 error code when provide both package policy id and benchmark id", + "indent": 4, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "should-return-404-status-code-when-the-package-policy-id-does-not-exist", + "rawLine": " it(`Should return 404 status code when the package policy ID does not exist`, async () => {", + "line": " it(`Should return 404 status code when the package policy ID does not exist`)", + "label": "Should return 404 status code when the package policy ID does not exist", + "indent": 4, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "should-return-200-status-code-and-filter-rules-by-benchmarkid", + "rawLine": " it(`Should return 200 status code and filter rules by benchmarkId`, async () => {", + "line": " it(`Should return 200 status code and filter rules by benchmarkId`)", + "label": "Should return 200 status code and filter rules by benchmarkId", + "indent": 4, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "should-return-200-status-code,-and-only-requested-fields-in-the-response", + "rawLine": " it(`Should return 200 status code, and only requested fields in the response`, async () => {", + "line": " it(`Should return 200 status code, and only requested fields in the response`)", + "label": "Should return 200 status code, and only requested fields in the response", + "indent": 4, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "should-return-200-status-code,-items-sorted-by-metadata.section-field", + "rawLine": " it(`Should return 200 status code, items sorted by metadata.section field`, async () => {", + "line": " it(`Should return 200 status code, items sorted by metadata.section field`)", + "label": "Should return 200 status code, items sorted by metadata.section field", + "indent": 4, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "should-return-200-status-code-and-paginate-rules-with-a-limit-of-perpage", + "rawLine": " it(`Should return 200 status code and paginate rules with a limit of PerPage`, async () => {", + "line": " it(`Should return 200 status code and paginate rules with a limit of PerPage`)", + "label": "Should return 200 status code and paginate rules with a limit of PerPage", + "indent": 4, + "type": "it", + "isSkipped": false, + "isTodo": false + } + ] + } + ] + }, + { + "filePath": "x-pack/test/api_integration/apis/cloud_security_posture/index.ts", + "fileName": "index.ts", + "directory": "x-pack/test/api_integration/apis/cloud_security_posture", + "tags": [ + "FTR", + "API INTEGRATION" + ], + "lines": [ + " describe('cloud_security_posture')" + ], + "testSuits": [ + { + "id": "cloud_security_posture", + "rawLine": " describe('cloud_security_posture', function () {", + "line": " describe('cloud_security_posture')", + "label": "cloud_security_posture", + "indent": 2, + "type": "describe", + "isSkipped": false, + "isTodo": false + } + ], + "tree": [ + { + "id": "cloud_security_posture", + "rawLine": " describe('cloud_security_posture', function () {", + "line": " describe('cloud_security_posture')", + "label": "cloud_security_posture", + "indent": 2, + "type": "describe", + "isSkipped": false, + "isTodo": false + } + ] + }, + { + "filePath": "x-pack/test/api_integration/apis/cloud_security_posture/rules/v1.ts", + "fileName": "v1.ts", + "directory": "x-pack/test/api_integration/apis/cloud_security_posture", + "tags": [ + "FTR", + "API INTEGRATION" + ], + "lines": [ + " describe('GET internal/cloud_security_posture/rules/_find')", + " it(`Should return 500 error code when not provide package policy id or benchmark id`)", + " it(`Should return 500 error code when provide both package policy id and benchmark id`)", + " it(`Should return 404 status code when the package policy ID does not exist`)", + " it(`Should return 200 status code and filter rules by benchmarkId`)", + " it(`Should return 200 status code, and only requested fields in the response`)", + " it(`Should return 200 status code, items sorted by metadata.section field`)", + " it(`Should return 200 status code and paginate rules with a limit of PerPage`)" + ], + "testSuits": [ + { + "id": "get-internal/cloud_security_posture/rules/_find", + "rawLine": " describe('GET internal/cloud_security_posture/rules/_find', () => {", + "line": " describe('GET internal/cloud_security_posture/rules/_find')", + "label": "GET internal/cloud_security_posture/rules/_find", + "indent": 2, + "type": "describe", + "isSkipped": false, + "isTodo": false + }, + { + "id": "should-return-500-error-code-when-not-provide-package-policy-id-or-benchmark-id", + "rawLine": " it(`Should return 500 error code when not provide package policy id or benchmark id`, async () => {", + "line": " it(`Should return 500 error code when not provide package policy id or benchmark id`)", + "label": "Should return 500 error code when not provide package policy id or benchmark id", + "indent": 4, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "should-return-500-error-code-when-provide-both-package-policy-id-and-benchmark-id", + "rawLine": " it(`Should return 500 error code when provide both package policy id and benchmark id`, async () => {", + "line": " it(`Should return 500 error code when provide both package policy id and benchmark id`)", + "label": "Should return 500 error code when provide both package policy id and benchmark id", + "indent": 4, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "should-return-404-status-code-when-the-package-policy-id-does-not-exist", + "rawLine": " it(`Should return 404 status code when the package policy ID does not exist`, async () => {", + "line": " it(`Should return 404 status code when the package policy ID does not exist`)", + "label": "Should return 404 status code when the package policy ID does not exist", + "indent": 4, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "should-return-200-status-code-and-filter-rules-by-benchmarkid", + "rawLine": " it(`Should return 200 status code and filter rules by benchmarkId`, async () => {", + "line": " it(`Should return 200 status code and filter rules by benchmarkId`)", + "label": "Should return 200 status code and filter rules by benchmarkId", + "indent": 4, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "should-return-200-status-code,-and-only-requested-fields-in-the-response", + "rawLine": " it(`Should return 200 status code, and only requested fields in the response`, async () => {", + "line": " it(`Should return 200 status code, and only requested fields in the response`)", + "label": "Should return 200 status code, and only requested fields in the response", + "indent": 4, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "should-return-200-status-code,-items-sorted-by-metadata.section-field", + "rawLine": " it(`Should return 200 status code, items sorted by metadata.section field`, async () => {", + "line": " it(`Should return 200 status code, items sorted by metadata.section field`)", + "label": "Should return 200 status code, items sorted by metadata.section field", + "indent": 4, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "should-return-200-status-code-and-paginate-rules-with-a-limit-of-perpage", + "rawLine": " it(`Should return 200 status code and paginate rules with a limit of PerPage`, async () => {", + "line": " it(`Should return 200 status code and paginate rules with a limit of PerPage`)", + "label": "Should return 200 status code and paginate rules with a limit of PerPage", + "indent": 4, + "type": "it", + "isSkipped": false, + "isTodo": false + } + ], + "tree": [ + { + "id": "get-internal/cloud_security_posture/rules/_find", + "rawLine": " describe('GET internal/cloud_security_posture/rules/_find', () => {", + "line": " describe('GET internal/cloud_security_posture/rules/_find')", + "label": "GET internal/cloud_security_posture/rules/_find", + "indent": 2, + "type": "describe", + "isSkipped": false, + "isTodo": false, + "children": [ + { + "id": "should-return-500-error-code-when-not-provide-package-policy-id-or-benchmark-id", + "rawLine": " it(`Should return 500 error code when not provide package policy id or benchmark id`, async () => {", + "line": " it(`Should return 500 error code when not provide package policy id or benchmark id`)", + "label": "Should return 500 error code when not provide package policy id or benchmark id", + "indent": 4, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "should-return-500-error-code-when-provide-both-package-policy-id-and-benchmark-id", + "rawLine": " it(`Should return 500 error code when provide both package policy id and benchmark id`, async () => {", + "line": " it(`Should return 500 error code when provide both package policy id and benchmark id`)", + "label": "Should return 500 error code when provide both package policy id and benchmark id", + "indent": 4, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "should-return-404-status-code-when-the-package-policy-id-does-not-exist", + "rawLine": " it(`Should return 404 status code when the package policy ID does not exist`, async () => {", + "line": " it(`Should return 404 status code when the package policy ID does not exist`)", + "label": "Should return 404 status code when the package policy ID does not exist", + "indent": 4, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "should-return-200-status-code-and-filter-rules-by-benchmarkid", + "rawLine": " it(`Should return 200 status code and filter rules by benchmarkId`, async () => {", + "line": " it(`Should return 200 status code and filter rules by benchmarkId`)", + "label": "Should return 200 status code and filter rules by benchmarkId", + "indent": 4, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "should-return-200-status-code,-and-only-requested-fields-in-the-response", + "rawLine": " it(`Should return 200 status code, and only requested fields in the response`, async () => {", + "line": " it(`Should return 200 status code, and only requested fields in the response`)", + "label": "Should return 200 status code, and only requested fields in the response", + "indent": 4, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "should-return-200-status-code,-items-sorted-by-metadata.section-field", + "rawLine": " it(`Should return 200 status code, items sorted by metadata.section field`, async () => {", + "line": " it(`Should return 200 status code, items sorted by metadata.section field`)", + "label": "Should return 200 status code, items sorted by metadata.section field", + "indent": 4, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "should-return-200-status-code-and-paginate-rules-with-a-limit-of-perpage", + "rawLine": " it(`Should return 200 status code and paginate rules with a limit of PerPage`, async () => {", + "line": " it(`Should return 200 status code and paginate rules with a limit of PerPage`)", + "label": "Should return 200 status code and paginate rules with a limit of PerPage", + "indent": 4, + "type": "it", + "isSkipped": false, + "isTodo": false + } + ] + } + ] + }, + { + "filePath": "x-pack/test/api_integration/apis/cloud_security_posture/rules/v2.ts", + "fileName": "v2.ts", + "directory": "x-pack/test/api_integration/apis/cloud_security_posture", + "tags": [ + "FTR", + "API INTEGRATION" + ], + "lines": [ + " describe('GET internal/cloud_security_posture/rules/_find')", + " it(`Should return 500 error code when not provide benchmark id`)", + " it(`Should return 200 status code and filter rules by benchmarkId and benchmarkVersion`)", + " it(`Should return 200 status code, and only requested fields in the response`)", + " it(`Should return 200 status code, items sorted by metadata.section field`)", + " it(`Should return 200 status code and paginate rules with a limit of PerPage`)" + ], + "testSuits": [ + { + "id": "get-internal/cloud_security_posture/rules/_find", + "rawLine": " describe('GET internal/cloud_security_posture/rules/_find', () => {", + "line": " describe('GET internal/cloud_security_posture/rules/_find')", + "label": "GET internal/cloud_security_posture/rules/_find", + "indent": 2, + "type": "describe", + "isSkipped": false, + "isTodo": false + }, + { + "id": "should-return-500-error-code-when-not-provide-benchmark-id", + "rawLine": " it(`Should return 500 error code when not provide benchmark id`, async () => {", + "line": " it(`Should return 500 error code when not provide benchmark id`)", + "label": "Should return 500 error code when not provide benchmark id", + "indent": 4, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "should-return-200-status-code-and-filter-rules-by-benchmarkid-and-benchmarkversion", + "rawLine": " it(`Should return 200 status code and filter rules by benchmarkId and benchmarkVersion`, async () => {", + "line": " it(`Should return 200 status code and filter rules by benchmarkId and benchmarkVersion`)", + "label": "Should return 200 status code and filter rules by benchmarkId and benchmarkVersion", + "indent": 4, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "should-return-200-status-code,-and-only-requested-fields-in-the-response", + "rawLine": " it(`Should return 200 status code, and only requested fields in the response`, async () => {", + "line": " it(`Should return 200 status code, and only requested fields in the response`)", + "label": "Should return 200 status code, and only requested fields in the response", + "indent": 4, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "should-return-200-status-code,-items-sorted-by-metadata.section-field", + "rawLine": " it(`Should return 200 status code, items sorted by metadata.section field`, async () => {", + "line": " it(`Should return 200 status code, items sorted by metadata.section field`)", + "label": "Should return 200 status code, items sorted by metadata.section field", + "indent": 4, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "should-return-200-status-code-and-paginate-rules-with-a-limit-of-perpage", + "rawLine": " it(`Should return 200 status code and paginate rules with a limit of PerPage`, async () => {", + "line": " it(`Should return 200 status code and paginate rules with a limit of PerPage`)", + "label": "Should return 200 status code and paginate rules with a limit of PerPage", + "indent": 4, + "type": "it", + "isSkipped": false, + "isTodo": false + } + ], + "tree": [ + { + "id": "get-internal/cloud_security_posture/rules/_find", + "rawLine": " describe('GET internal/cloud_security_posture/rules/_find', () => {", + "line": " describe('GET internal/cloud_security_posture/rules/_find')", + "label": "GET internal/cloud_security_posture/rules/_find", + "indent": 2, + "type": "describe", + "isSkipped": false, + "isTodo": false, + "children": [ + { + "id": "should-return-500-error-code-when-not-provide-benchmark-id", + "rawLine": " it(`Should return 500 error code when not provide benchmark id`, async () => {", + "line": " it(`Should return 500 error code when not provide benchmark id`)", + "label": "Should return 500 error code when not provide benchmark id", + "indent": 4, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "should-return-200-status-code-and-filter-rules-by-benchmarkid-and-benchmarkversion", + "rawLine": " it(`Should return 200 status code and filter rules by benchmarkId and benchmarkVersion`, async () => {", + "line": " it(`Should return 200 status code and filter rules by benchmarkId and benchmarkVersion`)", + "label": "Should return 200 status code and filter rules by benchmarkId and benchmarkVersion", + "indent": 4, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "should-return-200-status-code,-and-only-requested-fields-in-the-response", + "rawLine": " it(`Should return 200 status code, and only requested fields in the response`, async () => {", + "line": " it(`Should return 200 status code, and only requested fields in the response`)", + "label": "Should return 200 status code, and only requested fields in the response", + "indent": 4, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "should-return-200-status-code,-items-sorted-by-metadata.section-field", + "rawLine": " it(`Should return 200 status code, items sorted by metadata.section field`, async () => {", + "line": " it(`Should return 200 status code, items sorted by metadata.section field`)", + "label": "Should return 200 status code, items sorted by metadata.section field", + "indent": 4, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "should-return-200-status-code-and-paginate-rules-with-a-limit-of-perpage", + "rawLine": " it(`Should return 200 status code and paginate rules with a limit of PerPage`, async () => {", + "line": " it(`Should return 200 status code and paginate rules with a limit of PerPage`)", + "label": "Should return 200 status code and paginate rules with a limit of PerPage", + "indent": 4, + "type": "it", + "isSkipped": false, + "isTodo": false + } + ] + } + ] + }, + { + "filePath": "x-pack/test/api_integration/apis/cloud_security_posture/status/status_index_timeout.ts", + "fileName": "status_index_timeout.ts", + "directory": "x-pack/test/api_integration/apis/cloud_security_posture", + "tags": [ + "FTR", + "API INTEGRATION" + ], + "lines": [ + " describe('GET /internal/cloud_security_posture/status')", + " describe('STATUS = INDEX_TIMEOUT TEST')", + " it(`Should return index-timeout when installed kspm, has findings only on logs-cloud_security_posture.findings-default* and it has been more than 10 minutes since the installation`)", + " it(`Should return index-timeout when installed cspm, has findings only on logs-cloud_security_posture.findings-default* and it has been more than 10 minutes since the installation`)", + " it(`Should return index-timeout when installed cnvm, has findings only on logs-cloud_security_posture.vulnerabilities-default* and it has been more than 4 hours minutes since the installation`)" + ], + "testSuits": [ + { + "id": "get-/internal/cloud_security_posture/status", + "rawLine": " describe('GET /internal/cloud_security_posture/status', () => {", + "line": " describe('GET /internal/cloud_security_posture/status')", + "label": "GET /internal/cloud_security_posture/status", + "indent": 2, + "type": "describe", + "isSkipped": false, + "isTodo": false + }, + { + "id": "status-=-index_timeout-test", + "rawLine": " describe('STATUS = INDEX_TIMEOUT TEST', () => {", + "line": " describe('STATUS = INDEX_TIMEOUT TEST')", + "label": "STATUS = INDEX_TIMEOUT TEST", + "indent": 4, + "type": "describe", + "isSkipped": false, + "isTodo": false + }, + { + "id": "should-return-index-timeout-when-installed-kspm,-has-findings-only-on-logs-cloud_security_posture.findings-default*-and-it-has-been-more-than-10-minutes-since-the-installation", + "rawLine": " it(`Should return index-timeout when installed kspm, has findings only on logs-cloud_security_posture.findings-default* and it has been more than 10 minutes since the installation`, async () => {", + "line": " it(`Should return index-timeout when installed kspm, has findings only on logs-cloud_security_posture.findings-default* and it has been more than 10 minutes since the installation`)", + "label": "Should return index-timeout when installed kspm, has findings only on logs-cloud_security_posture.findings-default* and it has been more than 10 minutes since the installation", + "indent": 6, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "should-return-index-timeout-when-installed-cspm,-has-findings-only-on-logs-cloud_security_posture.findings-default*-and-it-has-been-more-than-10-minutes-since-the-installation", + "rawLine": " it(`Should return index-timeout when installed cspm, has findings only on logs-cloud_security_posture.findings-default* and it has been more than 10 minutes since the installation`, async () => {", + "line": " it(`Should return index-timeout when installed cspm, has findings only on logs-cloud_security_posture.findings-default* and it has been more than 10 minutes since the installation`)", + "label": "Should return index-timeout when installed cspm, has findings only on logs-cloud_security_posture.findings-default* and it has been more than 10 minutes since the installation", + "indent": 6, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "should-return-index-timeout-when-installed-cnvm,-has-findings-only-on-logs-cloud_security_posture.vulnerabilities-default*-and-it-has-been-more-than-4-hours-minutes-since-the-installation", + "rawLine": " it(`Should return index-timeout when installed cnvm, has findings only on logs-cloud_security_posture.vulnerabilities-default* and it has been more than 4 hours minutes since the installation`, async () => {", + "line": " it(`Should return index-timeout when installed cnvm, has findings only on logs-cloud_security_posture.vulnerabilities-default* and it has been more than 4 hours minutes since the installation`)", + "label": "Should return index-timeout when installed cnvm, has findings only on logs-cloud_security_posture.vulnerabilities-default* and it has been more than 4 hours minutes since the installation", + "indent": 6, + "type": "it", + "isSkipped": false, + "isTodo": false + } + ], + "tree": [ + { + "id": "get-/internal/cloud_security_posture/status", + "rawLine": " describe('GET /internal/cloud_security_posture/status', () => {", + "line": " describe('GET /internal/cloud_security_posture/status')", + "label": "GET /internal/cloud_security_posture/status", + "indent": 2, + "type": "describe", + "isSkipped": false, + "isTodo": false, + "children": [ + { + "id": "status-=-index_timeout-test", + "rawLine": " describe('STATUS = INDEX_TIMEOUT TEST', () => {", + "line": " describe('STATUS = INDEX_TIMEOUT TEST')", + "label": "STATUS = INDEX_TIMEOUT TEST", + "indent": 4, + "type": "describe", + "isSkipped": false, + "isTodo": false, + "children": [ + { + "id": "should-return-index-timeout-when-installed-kspm,-has-findings-only-on-logs-cloud_security_posture.findings-default*-and-it-has-been-more-than-10-minutes-since-the-installation", + "rawLine": " it(`Should return index-timeout when installed kspm, has findings only on logs-cloud_security_posture.findings-default* and it has been more than 10 minutes since the installation`, async () => {", + "line": " it(`Should return index-timeout when installed kspm, has findings only on logs-cloud_security_posture.findings-default* and it has been more than 10 minutes since the installation`)", + "label": "Should return index-timeout when installed kspm, has findings only on logs-cloud_security_posture.findings-default* and it has been more than 10 minutes since the installation", + "indent": 6, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "should-return-index-timeout-when-installed-cspm,-has-findings-only-on-logs-cloud_security_posture.findings-default*-and-it-has-been-more-than-10-minutes-since-the-installation", + "rawLine": " it(`Should return index-timeout when installed cspm, has findings only on logs-cloud_security_posture.findings-default* and it has been more than 10 minutes since the installation`, async () => {", + "line": " it(`Should return index-timeout when installed cspm, has findings only on logs-cloud_security_posture.findings-default* and it has been more than 10 minutes since the installation`)", + "label": "Should return index-timeout when installed cspm, has findings only on logs-cloud_security_posture.findings-default* and it has been more than 10 minutes since the installation", + "indent": 6, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "should-return-index-timeout-when-installed-cnvm,-has-findings-only-on-logs-cloud_security_posture.vulnerabilities-default*-and-it-has-been-more-than-4-hours-minutes-since-the-installation", + "rawLine": " it(`Should return index-timeout when installed cnvm, has findings only on logs-cloud_security_posture.vulnerabilities-default* and it has been more than 4 hours minutes since the installation`, async () => {", + "line": " it(`Should return index-timeout when installed cnvm, has findings only on logs-cloud_security_posture.vulnerabilities-default* and it has been more than 4 hours minutes since the installation`)", + "label": "Should return index-timeout when installed cnvm, has findings only on logs-cloud_security_posture.vulnerabilities-default* and it has been more than 4 hours minutes since the installation", + "indent": 6, + "type": "it", + "isSkipped": false, + "isTodo": false + } + ] + } + ] + } + ] + }, + { + "filePath": "x-pack/test/api_integration/apis/cloud_security_posture/status/status_indexed.ts", + "fileName": "status_indexed.ts", + "directory": "x-pack/test/api_integration/apis/cloud_security_posture", + "tags": [ + "FTR", + "API INTEGRATION" + ], + "lines": [ + " describe('GET /internal/cloud_security_posture/status')", + " describe('STATUS = INDEXED TEST')", + " it(`Return kspm status indexed when logs-cloud_security_posture.findings_latest-default contains new kspm documents`)", + " it(`Return cspm status indexed when logs-cloud_security_posture.findings_latest-default contains new cspm documents`)", + " it(`Return vuln status indexed when logs-cloud_security_posture.vulnerabilities_latest-default contains new documents`)" + ], + "testSuits": [ + { + "id": "get-/internal/cloud_security_posture/status", + "rawLine": " describe('GET /internal/cloud_security_posture/status', () => {", + "line": " describe('GET /internal/cloud_security_posture/status')", + "label": "GET /internal/cloud_security_posture/status", + "indent": 2, + "type": "describe", + "isSkipped": false, + "isTodo": false + }, + { + "id": "status-=-indexed-test", + "rawLine": " describe('STATUS = INDEXED TEST', () => {", + "line": " describe('STATUS = INDEXED TEST')", + "label": "STATUS = INDEXED TEST", + "indent": 4, + "type": "describe", + "isSkipped": false, + "isTodo": false + }, + { + "id": "return-kspm-status-indexed-when-logs-cloud_security_posture.findings_latest-default-contains-new-kspm-documents", + "rawLine": " it(`Return kspm status indexed when logs-cloud_security_posture.findings_latest-default contains new kspm documents`, async () => {", + "line": " it(`Return kspm status indexed when logs-cloud_security_posture.findings_latest-default contains new kspm documents`)", + "label": "Return kspm status indexed when logs-cloud_security_posture.findings_latest-default contains new kspm documents", + "indent": 6, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "return-cspm-status-indexed-when-logs-cloud_security_posture.findings_latest-default-contains-new-cspm-documents", + "rawLine": " it(`Return cspm status indexed when logs-cloud_security_posture.findings_latest-default contains new cspm documents`, async () => {", + "line": " it(`Return cspm status indexed when logs-cloud_security_posture.findings_latest-default contains new cspm documents`)", + "label": "Return cspm status indexed when logs-cloud_security_posture.findings_latest-default contains new cspm documents", + "indent": 6, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "return-vuln-status-indexed-when-logs-cloud_security_posture.vulnerabilities_latest-default-contains-new-documents", + "rawLine": " it(`Return vuln status indexed when logs-cloud_security_posture.vulnerabilities_latest-default contains new documents`, async () => {", + "line": " it(`Return vuln status indexed when logs-cloud_security_posture.vulnerabilities_latest-default contains new documents`)", + "label": "Return vuln status indexed when logs-cloud_security_posture.vulnerabilities_latest-default contains new documents", + "indent": 6, + "type": "it", + "isSkipped": false, + "isTodo": false + } + ], + "tree": [ + { + "id": "get-/internal/cloud_security_posture/status", + "rawLine": " describe('GET /internal/cloud_security_posture/status', () => {", + "line": " describe('GET /internal/cloud_security_posture/status')", + "label": "GET /internal/cloud_security_posture/status", + "indent": 2, + "type": "describe", + "isSkipped": false, + "isTodo": false, + "children": [ + { + "id": "status-=-indexed-test", + "rawLine": " describe('STATUS = INDEXED TEST', () => {", + "line": " describe('STATUS = INDEXED TEST')", + "label": "STATUS = INDEXED TEST", + "indent": 4, + "type": "describe", + "isSkipped": false, + "isTodo": false, + "children": [ + { + "id": "return-kspm-status-indexed-when-logs-cloud_security_posture.findings_latest-default-contains-new-kspm-documents", + "rawLine": " it(`Return kspm status indexed when logs-cloud_security_posture.findings_latest-default contains new kspm documents`, async () => {", + "line": " it(`Return kspm status indexed when logs-cloud_security_posture.findings_latest-default contains new kspm documents`)", + "label": "Return kspm status indexed when logs-cloud_security_posture.findings_latest-default contains new kspm documents", + "indent": 6, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "return-cspm-status-indexed-when-logs-cloud_security_posture.findings_latest-default-contains-new-cspm-documents", + "rawLine": " it(`Return cspm status indexed when logs-cloud_security_posture.findings_latest-default contains new cspm documents`, async () => {", + "line": " it(`Return cspm status indexed when logs-cloud_security_posture.findings_latest-default contains new cspm documents`)", + "label": "Return cspm status indexed when logs-cloud_security_posture.findings_latest-default contains new cspm documents", + "indent": 6, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "return-vuln-status-indexed-when-logs-cloud_security_posture.vulnerabilities_latest-default-contains-new-documents", + "rawLine": " it(`Return vuln status indexed when logs-cloud_security_posture.vulnerabilities_latest-default contains new documents`, async () => {", + "line": " it(`Return vuln status indexed when logs-cloud_security_posture.vulnerabilities_latest-default contains new documents`)", + "label": "Return vuln status indexed when logs-cloud_security_posture.vulnerabilities_latest-default contains new documents", + "indent": 6, + "type": "it", + "isSkipped": false, + "isTodo": false + } + ] + } + ] + } + ] + }, + { + "filePath": "x-pack/test/api_integration/apis/cloud_security_posture/status/status_indexing.ts", + "fileName": "status_indexing.ts", + "directory": "x-pack/test/api_integration/apis/cloud_security_posture", + "tags": [ + "FTR", + "API INTEGRATION" + ], + "lines": [ + " describe('GET /internal/cloud_security_posture/status')", + " describe('STATUS = INDEXING TEST')", + " it(`Return kspm status indexing when logs-cloud_security_posture.findings_latest-default doesn't contain new kspm documents, but has newly connected agents`)", + " it(`Return cspm status indexing when logs-cloud_security_posture.findings_latest-default doesn't contain new cspm documents, but has newly connected agents `)", + " it(`Return vuln status indexing when logs-cloud_security_posture.vulnerabilities_latest-default doesn't contain vuln new documents, but has newly connected agents`)" + ], + "testSuits": [ + { + "id": "get-/internal/cloud_security_posture/status", + "rawLine": " describe('GET /internal/cloud_security_posture/status', () => {", + "line": " describe('GET /internal/cloud_security_posture/status')", + "label": "GET /internal/cloud_security_posture/status", + "indent": 2, + "type": "describe", + "isSkipped": false, + "isTodo": false + }, + { + "id": "status-=-indexing-test", + "rawLine": " describe('STATUS = INDEXING TEST', () => {", + "line": " describe('STATUS = INDEXING TEST')", + "label": "STATUS = INDEXING TEST", + "indent": 4, + "type": "describe", + "isSkipped": false, + "isTodo": false + }, + { + "id": "return-kspm-status-indexing-when-logs-cloud_security_posture.findings_latest-default-doesn", + "rawLine": " it(`Return kspm status indexing when logs-cloud_security_posture.findings_latest-default doesn't contain new kspm documents, but has newly connected agents`, async () => {", + "line": " it(`Return kspm status indexing when logs-cloud_security_posture.findings_latest-default doesn't contain new kspm documents, but has newly connected agents`)", + "label": "Return kspm status indexing when logs-cloud_security_posture.findings_latest-default doesn", + "indent": 6, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "return-cspm-status-indexing-when-logs-cloud_security_posture.findings_latest-default-doesn", + "rawLine": " it(`Return cspm status indexing when logs-cloud_security_posture.findings_latest-default doesn't contain new cspm documents, but has newly connected agents `, async () => {", + "line": " it(`Return cspm status indexing when logs-cloud_security_posture.findings_latest-default doesn't contain new cspm documents, but has newly connected agents `)", + "label": "Return cspm status indexing when logs-cloud_security_posture.findings_latest-default doesn", + "indent": 6, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "return-vuln-status-indexing-when-logs-cloud_security_posture.vulnerabilities_latest-default-doesn", + "rawLine": " it(`Return vuln status indexing when logs-cloud_security_posture.vulnerabilities_latest-default doesn't contain vuln new documents, but has newly connected agents`, async () => {", + "line": " it(`Return vuln status indexing when logs-cloud_security_posture.vulnerabilities_latest-default doesn't contain vuln new documents, but has newly connected agents`)", + "label": "Return vuln status indexing when logs-cloud_security_posture.vulnerabilities_latest-default doesn", + "indent": 6, + "type": "it", + "isSkipped": false, + "isTodo": false + } + ], + "tree": [ + { + "id": "get-/internal/cloud_security_posture/status", + "rawLine": " describe('GET /internal/cloud_security_posture/status', () => {", + "line": " describe('GET /internal/cloud_security_posture/status')", + "label": "GET /internal/cloud_security_posture/status", + "indent": 2, + "type": "describe", + "isSkipped": false, + "isTodo": false, + "children": [ + { + "id": "status-=-indexing-test", + "rawLine": " describe('STATUS = INDEXING TEST', () => {", + "line": " describe('STATUS = INDEXING TEST')", + "label": "STATUS = INDEXING TEST", + "indent": 4, + "type": "describe", + "isSkipped": false, + "isTodo": false, + "children": [ + { + "id": "return-kspm-status-indexing-when-logs-cloud_security_posture.findings_latest-default-doesn", + "rawLine": " it(`Return kspm status indexing when logs-cloud_security_posture.findings_latest-default doesn't contain new kspm documents, but has newly connected agents`, async () => {", + "line": " it(`Return kspm status indexing when logs-cloud_security_posture.findings_latest-default doesn't contain new kspm documents, but has newly connected agents`)", + "label": "Return kspm status indexing when logs-cloud_security_posture.findings_latest-default doesn", + "indent": 6, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "return-cspm-status-indexing-when-logs-cloud_security_posture.findings_latest-default-doesn", + "rawLine": " it(`Return cspm status indexing when logs-cloud_security_posture.findings_latest-default doesn't contain new cspm documents, but has newly connected agents `, async () => {", + "line": " it(`Return cspm status indexing when logs-cloud_security_posture.findings_latest-default doesn't contain new cspm documents, but has newly connected agents `)", + "label": "Return cspm status indexing when logs-cloud_security_posture.findings_latest-default doesn", + "indent": 6, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "return-vuln-status-indexing-when-logs-cloud_security_posture.vulnerabilities_latest-default-doesn", + "rawLine": " it(`Return vuln status indexing when logs-cloud_security_posture.vulnerabilities_latest-default doesn't contain vuln new documents, but has newly connected agents`, async () => {", + "line": " it(`Return vuln status indexing when logs-cloud_security_posture.vulnerabilities_latest-default doesn't contain vuln new documents, but has newly connected agents`)", + "label": "Return vuln status indexing when logs-cloud_security_posture.vulnerabilities_latest-default doesn", + "indent": 6, + "type": "it", + "isSkipped": false, + "isTodo": false + } + ] + } + ] + } + ] + }, + { + "filePath": "x-pack/test/api_integration/apis/cloud_security_posture/status/status_not_deployed_not_installed.ts", + "fileName": "status_not_deployed_not_installed.ts", + "directory": "x-pack/test/api_integration/apis/cloud_security_posture", + "tags": [ + "FTR", + "API INTEGRATION" + ], + "lines": [ + " describe('GET /internal/cloud_security_posture/status')", + " describe('STATUS = NOT-DEPLOYED and STATUS = NOT-INSTALLED TEST')", + " it(`Should return not-deployed when installed kspm, no findings on either indices and no healthy agents`)", + " it(`Should return not-deployed when installed cspm, no findings on either indices and no healthy agents`)", + " it(`Should return not-deployed when installed cnvm, no findings on either indices and no healthy agents`)" + ], + "testSuits": [ + { + "id": "get-/internal/cloud_security_posture/status", + "rawLine": " describe('GET /internal/cloud_security_posture/status', () => {", + "line": " describe('GET /internal/cloud_security_posture/status')", + "label": "GET /internal/cloud_security_posture/status", + "indent": 2, + "type": "describe", + "isSkipped": false, + "isTodo": false + }, + { + "id": "status-=-not-deployed-and-status-=-not-installed-test", + "rawLine": " describe('STATUS = NOT-DEPLOYED and STATUS = NOT-INSTALLED TEST', () => {", + "line": " describe('STATUS = NOT-DEPLOYED and STATUS = NOT-INSTALLED TEST')", + "label": "STATUS = NOT-DEPLOYED and STATUS = NOT-INSTALLED TEST", + "indent": 4, + "type": "describe", + "isSkipped": false, + "isTodo": false + }, + { + "id": "should-return-not-deployed-when-installed-kspm,-no-findings-on-either-indices-and-no-healthy-agents", + "rawLine": " it(`Should return not-deployed when installed kspm, no findings on either indices and no healthy agents`, async () => {", + "line": " it(`Should return not-deployed when installed kspm, no findings on either indices and no healthy agents`)", + "label": "Should return not-deployed when installed kspm, no findings on either indices and no healthy agents", + "indent": 6, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "should-return-not-deployed-when-installed-cspm,-no-findings-on-either-indices-and-no-healthy-agents", + "rawLine": " it(`Should return not-deployed when installed cspm, no findings on either indices and no healthy agents`, async () => {", + "line": " it(`Should return not-deployed when installed cspm, no findings on either indices and no healthy agents`)", + "label": "Should return not-deployed when installed cspm, no findings on either indices and no healthy agents", + "indent": 6, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "should-return-not-deployed-when-installed-cnvm,-no-findings-on-either-indices-and-no-healthy-agents", + "rawLine": " it(`Should return not-deployed when installed cnvm, no findings on either indices and no healthy agents`, async () => {", + "line": " it(`Should return not-deployed when installed cnvm, no findings on either indices and no healthy agents`)", + "label": "Should return not-deployed when installed cnvm, no findings on either indices and no healthy agents", + "indent": 6, + "type": "it", + "isSkipped": false, + "isTodo": false + } + ], + "tree": [ + { + "id": "get-/internal/cloud_security_posture/status", + "rawLine": " describe('GET /internal/cloud_security_posture/status', () => {", + "line": " describe('GET /internal/cloud_security_posture/status')", + "label": "GET /internal/cloud_security_posture/status", + "indent": 2, + "type": "describe", + "isSkipped": false, + "isTodo": false, + "children": [ + { + "id": "status-=-not-deployed-and-status-=-not-installed-test", + "rawLine": " describe('STATUS = NOT-DEPLOYED and STATUS = NOT-INSTALLED TEST', () => {", + "line": " describe('STATUS = NOT-DEPLOYED and STATUS = NOT-INSTALLED TEST')", + "label": "STATUS = NOT-DEPLOYED and STATUS = NOT-INSTALLED TEST", + "indent": 4, + "type": "describe", + "isSkipped": false, + "isTodo": false, + "children": [ + { + "id": "should-return-not-deployed-when-installed-kspm,-no-findings-on-either-indices-and-no-healthy-agents", + "rawLine": " it(`Should return not-deployed when installed kspm, no findings on either indices and no healthy agents`, async () => {", + "line": " it(`Should return not-deployed when installed kspm, no findings on either indices and no healthy agents`)", + "label": "Should return not-deployed when installed kspm, no findings on either indices and no healthy agents", + "indent": 6, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "should-return-not-deployed-when-installed-cspm,-no-findings-on-either-indices-and-no-healthy-agents", + "rawLine": " it(`Should return not-deployed when installed cspm, no findings on either indices and no healthy agents`, async () => {", + "line": " it(`Should return not-deployed when installed cspm, no findings on either indices and no healthy agents`)", + "label": "Should return not-deployed when installed cspm, no findings on either indices and no healthy agents", + "indent": 6, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "should-return-not-deployed-when-installed-cnvm,-no-findings-on-either-indices-and-no-healthy-agents", + "rawLine": " it(`Should return not-deployed when installed cnvm, no findings on either indices and no healthy agents`, async () => {", + "line": " it(`Should return not-deployed when installed cnvm, no findings on either indices and no healthy agents`)", + "label": "Should return not-deployed when installed cnvm, no findings on either indices and no healthy agents", + "indent": 6, + "type": "it", + "isSkipped": false, + "isTodo": false + } + ] + } + ] + } + ] + }, + { + "filePath": "x-pack/test/api_integration/apis/cloud_security_posture/status/status_unprivileged.ts", + "fileName": "status_unprivileged.ts", + "directory": "x-pack/test/api_integration/apis/cloud_security_posture", + "tags": [ + "FTR", + "API INTEGRATION" + ], + "lines": [ + " describe('GET /internal/cloud_security_posture/status')", + " describe('STATUS = UNPRIVILEGED TEST')", + " it(`Return unprivileged for cspm, kspm, vuln_mgmt when users don't have enough for permission for the role they are assigned`)", + " describe('status = unprivileged test indices')", + " it(`Return unprivileged when missing access to findings_latest index`)", + " it(`Return unprivileged when missing access to score index`)", + " it(`Return unprivileged when missing access to vulnerabilities_latest index`)" + ], + "testSuits": [ + { + "id": "get-/internal/cloud_security_posture/status", + "rawLine": " describe('GET /internal/cloud_security_posture/status', () => {", + "line": " describe('GET /internal/cloud_security_posture/status')", + "label": "GET /internal/cloud_security_posture/status", + "indent": 2, + "type": "describe", + "isSkipped": false, + "isTodo": false + }, + { + "id": "status-=-unprivileged-test", + "rawLine": " describe('STATUS = UNPRIVILEGED TEST', () => {", + "line": " describe('STATUS = UNPRIVILEGED TEST')", + "label": "STATUS = UNPRIVILEGED TEST", + "indent": 4, + "type": "describe", + "isSkipped": false, + "isTodo": false + }, + { + "id": "return-unprivileged-for-cspm,-kspm,-vuln_mgmt-when-users-don", + "rawLine": " it(`Return unprivileged for cspm, kspm, vuln_mgmt when users don't have enough for permission for the role they are assigned`, async () => {", + "line": " it(`Return unprivileged for cspm, kspm, vuln_mgmt when users don't have enough for permission for the role they are assigned`)", + "label": "Return unprivileged for cspm, kspm, vuln_mgmt when users don", + "indent": 6, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "status-=-unprivileged-test-indices", + "rawLine": " describe('status = unprivileged test indices', () => {", + "line": " describe('status = unprivileged test indices')", + "label": "status = unprivileged test indices", + "indent": 4, + "type": "describe", + "isSkipped": false, + "isTodo": false + }, + { + "id": "return-unprivileged-when-missing-access-to-findings_latest-index", + "rawLine": " it(`Return unprivileged when missing access to findings_latest index`, async () => {", + "line": " it(`Return unprivileged when missing access to findings_latest index`)", + "label": "Return unprivileged when missing access to findings_latest index", + "indent": 6, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "return-unprivileged-when-missing-access-to-score-index", + "rawLine": " it(`Return unprivileged when missing access to score index`, async () => {", + "line": " it(`Return unprivileged when missing access to score index`)", + "label": "Return unprivileged when missing access to score index", + "indent": 6, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "return-unprivileged-when-missing-access-to-vulnerabilities_latest-index", + "rawLine": " it(`Return unprivileged when missing access to vulnerabilities_latest index`, async () => {", + "line": " it(`Return unprivileged when missing access to vulnerabilities_latest index`)", + "label": "Return unprivileged when missing access to vulnerabilities_latest index", + "indent": 6, + "type": "it", + "isSkipped": false, + "isTodo": false + } + ], + "tree": [ + { + "id": "get-/internal/cloud_security_posture/status", + "rawLine": " describe('GET /internal/cloud_security_posture/status', () => {", + "line": " describe('GET /internal/cloud_security_posture/status')", + "label": "GET /internal/cloud_security_posture/status", + "indent": 2, + "type": "describe", + "isSkipped": false, + "isTodo": false, + "children": [ + { + "id": "status-=-unprivileged-test", + "rawLine": " describe('STATUS = UNPRIVILEGED TEST', () => {", + "line": " describe('STATUS = UNPRIVILEGED TEST')", + "label": "STATUS = UNPRIVILEGED TEST", + "indent": 4, + "type": "describe", + "isSkipped": false, + "isTodo": false, + "children": [ + { + "id": "return-unprivileged-for-cspm,-kspm,-vuln_mgmt-when-users-don", + "rawLine": " it(`Return unprivileged for cspm, kspm, vuln_mgmt when users don't have enough for permission for the role they are assigned`, async () => {", + "line": " it(`Return unprivileged for cspm, kspm, vuln_mgmt when users don't have enough for permission for the role they are assigned`)", + "label": "Return unprivileged for cspm, kspm, vuln_mgmt when users don", + "indent": 6, + "type": "it", + "isSkipped": false, + "isTodo": false + } + ] + }, + { + "id": "status-=-unprivileged-test-indices", + "rawLine": " describe('status = unprivileged test indices', () => {", + "line": " describe('status = unprivileged test indices')", + "label": "status = unprivileged test indices", + "indent": 4, + "type": "describe", + "isSkipped": false, + "isTodo": false, + "children": [ + { + "id": "return-unprivileged-when-missing-access-to-findings_latest-index", + "rawLine": " it(`Return unprivileged when missing access to findings_latest index`, async () => {", + "line": " it(`Return unprivileged when missing access to findings_latest index`)", + "label": "Return unprivileged when missing access to findings_latest index", + "indent": 6, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "return-unprivileged-when-missing-access-to-score-index", + "rawLine": " it(`Return unprivileged when missing access to score index`, async () => {", + "line": " it(`Return unprivileged when missing access to score index`)", + "label": "Return unprivileged when missing access to score index", + "indent": 6, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "return-unprivileged-when-missing-access-to-vulnerabilities_latest-index", + "rawLine": " it(`Return unprivileged when missing access to vulnerabilities_latest index`, async () => {", + "line": " it(`Return unprivileged when missing access to vulnerabilities_latest index`)", + "label": "Return unprivileged when missing access to vulnerabilities_latest index", + "indent": 6, + "type": "it", + "isSkipped": false, + "isTodo": false + } + ] + } + ] + } + ] + }, + { + "filePath": "x-pack/test/api_integration/apis/cloud_security_posture/status/status_waiting_for_results.ts", + "fileName": "status_waiting_for_results.ts", + "directory": "x-pack/test/api_integration/apis/cloud_security_posture", + "tags": [ + "FTR", + "API INTEGRATION" + ], + "lines": [ + " describe('GET /internal/cloud_security_posture/status')", + " describe('STATUS = WAITING_FOR_RESULT TEST')", + " it(`Should return waiting_for_result when installed kspm, has no findings and it has been less than 10 minutes since the installation`)", + " it(`Should return waiting_for_result when installed cspm, has no findings and it has been less than 10 minutes since the installation`)", + " it(`Should return waiting_for_result when installed cnvm, has no findings and it has been less than 4 hours minutes since the installation`)" + ], + "testSuits": [ + { + "id": "get-/internal/cloud_security_posture/status", + "rawLine": " describe('GET /internal/cloud_security_posture/status', () => {", + "line": " describe('GET /internal/cloud_security_posture/status')", + "label": "GET /internal/cloud_security_posture/status", + "indent": 2, + "type": "describe", + "isSkipped": false, + "isTodo": false + }, + { + "id": "status-=-waiting_for_result-test", + "rawLine": " describe('STATUS = WAITING_FOR_RESULT TEST', () => {", + "line": " describe('STATUS = WAITING_FOR_RESULT TEST')", + "label": "STATUS = WAITING_FOR_RESULT TEST", + "indent": 4, + "type": "describe", + "isSkipped": false, + "isTodo": false + }, + { + "id": "should-return-waiting_for_result-when-installed-kspm,-has-no-findings-and-it-has-been-less-than-10-minutes-since-the-installation", + "rawLine": " it(`Should return waiting_for_result when installed kspm, has no findings and it has been less than 10 minutes since the installation`, async () => {", + "line": " it(`Should return waiting_for_result when installed kspm, has no findings and it has been less than 10 minutes since the installation`)", + "label": "Should return waiting_for_result when installed kspm, has no findings and it has been less than 10 minutes since the installation", + "indent": 6, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "should-return-waiting_for_result-when-installed-cspm,-has-no-findings-and-it-has-been-less-than-10-minutes-since-the-installation", + "rawLine": " it(`Should return waiting_for_result when installed cspm, has no findings and it has been less than 10 minutes since the installation`, async () => {", + "line": " it(`Should return waiting_for_result when installed cspm, has no findings and it has been less than 10 minutes since the installation`)", + "label": "Should return waiting_for_result when installed cspm, has no findings and it has been less than 10 minutes since the installation", + "indent": 6, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "should-return-waiting_for_result-when-installed-cnvm,-has-no-findings-and-it-has-been-less-than-4-hours-minutes-since-the-installation", + "rawLine": " it(`Should return waiting_for_result when installed cnvm, has no findings and it has been less than 4 hours minutes since the installation`, async () => {", + "line": " it(`Should return waiting_for_result when installed cnvm, has no findings and it has been less than 4 hours minutes since the installation`)", + "label": "Should return waiting_for_result when installed cnvm, has no findings and it has been less than 4 hours minutes since the installation", + "indent": 6, + "type": "it", + "isSkipped": false, + "isTodo": false + } + ], + "tree": [ + { + "id": "get-/internal/cloud_security_posture/status", + "rawLine": " describe('GET /internal/cloud_security_posture/status', () => {", + "line": " describe('GET /internal/cloud_security_posture/status')", + "label": "GET /internal/cloud_security_posture/status", + "indent": 2, + "type": "describe", + "isSkipped": false, + "isTodo": false, + "children": [ + { + "id": "status-=-waiting_for_result-test", + "rawLine": " describe('STATUS = WAITING_FOR_RESULT TEST', () => {", + "line": " describe('STATUS = WAITING_FOR_RESULT TEST')", + "label": "STATUS = WAITING_FOR_RESULT TEST", + "indent": 4, + "type": "describe", + "isSkipped": false, + "isTodo": false, + "children": [ + { + "id": "should-return-waiting_for_result-when-installed-kspm,-has-no-findings-and-it-has-been-less-than-10-minutes-since-the-installation", + "rawLine": " it(`Should return waiting_for_result when installed kspm, has no findings and it has been less than 10 minutes since the installation`, async () => {", + "line": " it(`Should return waiting_for_result when installed kspm, has no findings and it has been less than 10 minutes since the installation`)", + "label": "Should return waiting_for_result when installed kspm, has no findings and it has been less than 10 minutes since the installation", + "indent": 6, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "should-return-waiting_for_result-when-installed-cspm,-has-no-findings-and-it-has-been-less-than-10-minutes-since-the-installation", + "rawLine": " it(`Should return waiting_for_result when installed cspm, has no findings and it has been less than 10 minutes since the installation`, async () => {", + "line": " it(`Should return waiting_for_result when installed cspm, has no findings and it has been less than 10 minutes since the installation`)", + "label": "Should return waiting_for_result when installed cspm, has no findings and it has been less than 10 minutes since the installation", + "indent": 6, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "should-return-waiting_for_result-when-installed-cnvm,-has-no-findings-and-it-has-been-less-than-4-hours-minutes-since-the-installation", + "rawLine": " it(`Should return waiting_for_result when installed cnvm, has no findings and it has been less than 4 hours minutes since the installation`, async () => {", + "line": " it(`Should return waiting_for_result when installed cnvm, has no findings and it has been less than 4 hours minutes since the installation`)", + "label": "Should return waiting_for_result when installed cnvm, has no findings and it has been less than 4 hours minutes since the installation", + "indent": 6, + "type": "it", + "isSkipped": false, + "isTodo": false + } + ] + } + ] + } + ] + }, + { + "filePath": "x-pack/test/cloud_security_posture_api/routes/benchmarks.ts", + "fileName": "benchmarks.ts", + "directory": "x-pack/test/cloud_security_posture_api", + "tags": [ + "FTR", + "API INTEGRATION" + ], + "lines": [ + " describe('GET /internal/cloud_security_posture/benchmarks')", + " describe('Get Benchmark API')", + " it('Verify cspm benchmark score is updated when muting rules')", + " it('Verify kspm benchmark score is updated when muting rules')" + ], + "testSuits": [ + { + "id": "get-/internal/cloud_security_posture/benchmarks", + "rawLine": " describe('GET /internal/cloud_security_posture/benchmarks', () => {", + "line": " describe('GET /internal/cloud_security_posture/benchmarks')", + "label": "GET /internal/cloud_security_posture/benchmarks", + "indent": 2, + "type": "describe", + "isSkipped": false, + "isTodo": false + }, + { + "id": "get-benchmark-api", + "rawLine": " describe('Get Benchmark API', async () => {", + "line": " describe('Get Benchmark API')", + "label": "Get Benchmark API", + "indent": 4, + "type": "describe", + "isSkipped": false, + "isTodo": false + }, + { + "id": "verify-cspm-benchmark-score-is-updated-when-muting-rules", + "rawLine": " it('Verify cspm benchmark score is updated when muting rules', async () => {", + "line": " it('Verify cspm benchmark score is updated when muting rules')", + "label": "Verify cspm benchmark score is updated when muting rules", + "indent": 6, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "verify-kspm-benchmark-score-is-updated-when-muting-rules", + "rawLine": " it('Verify kspm benchmark score is updated when muting rules', async () => {", + "line": " it('Verify kspm benchmark score is updated when muting rules')", + "label": "Verify kspm benchmark score is updated when muting rules", + "indent": 6, + "type": "it", + "isSkipped": false, + "isTodo": false + } + ], + "tree": [ + { + "id": "get-/internal/cloud_security_posture/benchmarks", + "rawLine": " describe('GET /internal/cloud_security_posture/benchmarks', () => {", + "line": " describe('GET /internal/cloud_security_posture/benchmarks')", + "label": "GET /internal/cloud_security_posture/benchmarks", + "indent": 2, + "type": "describe", + "isSkipped": false, + "isTodo": false, + "children": [ + { + "id": "get-benchmark-api", + "rawLine": " describe('Get Benchmark API', async () => {", + "line": " describe('Get Benchmark API')", + "label": "Get Benchmark API", + "indent": 4, + "type": "describe", + "isSkipped": false, + "isTodo": false, + "children": [ + { + "id": "verify-cspm-benchmark-score-is-updated-when-muting-rules", + "rawLine": " it('Verify cspm benchmark score is updated when muting rules', async () => {", + "line": " it('Verify cspm benchmark score is updated when muting rules')", + "label": "Verify cspm benchmark score is updated when muting rules", + "indent": 6, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "verify-kspm-benchmark-score-is-updated-when-muting-rules", + "rawLine": " it('Verify kspm benchmark score is updated when muting rules', async () => {", + "line": " it('Verify kspm benchmark score is updated when muting rules')", + "label": "Verify kspm benchmark score is updated when muting rules", + "indent": 6, + "type": "it", + "isSkipped": false, + "isTodo": false + } + ] + } + ] + } + ] + }, + { + "filePath": "x-pack/test/cloud_security_posture_api/routes/csp_benchmark_rules_bulk_update.ts", + "fileName": "csp_benchmark_rules_bulk_update.ts", + "directory": "x-pack/test/cloud_security_posture_api", + "tags": [ + "FTR", + "API INTEGRATION", + "HAS SKIP" + ], + "lines": [ + " describe.skip('Verify update csp rules states API')", + " it('mute benchmark rules successfully')", + " it('unmute rules successfully')", + " it('verify new rules are added and existing rules are set.')", + " it('mute detection rule successfully')", + " it('Expect to mute two benchmark rules and one detection rule')", + " it('Expect to save rules states when requesting to update empty object')", + " it('set wrong action input')" + ], + "testSuits": [ + { + "id": "verify-update-csp-rules-states-api", + "rawLine": " describe.skip('Verify update csp rules states API', async () => {", + "line": " describe.skip('Verify update csp rules states API')", + "label": "Verify update csp rules states API", + "indent": 2, + "type": "describe", + "isSkipped": true, + "isTodo": false + }, + { + "id": "mute-benchmark-rules-successfully", + "rawLine": " it('mute benchmark rules successfully', async () => {", + "line": " it('mute benchmark rules successfully')", + "label": "mute benchmark rules successfully", + "indent": 4, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "unmute-rules-successfully", + "rawLine": " it('unmute rules successfully', async () => {", + "line": " it('unmute rules successfully')", + "label": "unmute rules successfully", + "indent": 4, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "verify-new-rules-are-added-and-existing-rules-are-set.", + "rawLine": " it('verify new rules are added and existing rules are set.', async () => {", + "line": " it('verify new rules are added and existing rules are set.')", + "label": "verify new rules are added and existing rules are set.", + "indent": 4, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "mute-detection-rule-successfully", + "rawLine": " it('mute detection rule successfully', async () => {", + "line": " it('mute detection rule successfully')", + "label": "mute detection rule successfully", + "indent": 4, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "expect-to-mute-two-benchmark-rules-and-one-detection-rule", + "rawLine": " it('Expect to mute two benchmark rules and one detection rule', async () => {", + "line": " it('Expect to mute two benchmark rules and one detection rule')", + "label": "Expect to mute two benchmark rules and one detection rule", + "indent": 4, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "expect-to-save-rules-states-when-requesting-to-update-empty-object", + "rawLine": " it('Expect to save rules states when requesting to update empty object', async () => {", + "line": " it('Expect to save rules states when requesting to update empty object')", + "label": "Expect to save rules states when requesting to update empty object", + "indent": 4, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "set-wrong-action-input", + "rawLine": " it('set wrong action input', async () => {", + "line": " it('set wrong action input')", + "label": "set wrong action input", + "indent": 4, + "type": "it", + "isSkipped": false, + "isTodo": false + } + ], + "tree": [ + { + "id": "verify-update-csp-rules-states-api", + "rawLine": " describe.skip('Verify update csp rules states API', async () => {", + "line": " describe.skip('Verify update csp rules states API')", + "label": "Verify update csp rules states API", + "indent": 2, + "type": "describe", + "isSkipped": true, + "isTodo": false, + "children": [ + { + "id": "mute-benchmark-rules-successfully", + "rawLine": " it('mute benchmark rules successfully', async () => {", + "line": " it('mute benchmark rules successfully')", + "label": "mute benchmark rules successfully", + "indent": 4, + "type": "it", + "isSkipped": true, + "isTodo": false + }, + { + "id": "unmute-rules-successfully", + "rawLine": " it('unmute rules successfully', async () => {", + "line": " it('unmute rules successfully')", + "label": "unmute rules successfully", + "indent": 4, + "type": "it", + "isSkipped": true, + "isTodo": false + }, + { + "id": "verify-new-rules-are-added-and-existing-rules-are-set.", + "rawLine": " it('verify new rules are added and existing rules are set.', async () => {", + "line": " it('verify new rules are added and existing rules are set.')", + "label": "verify new rules are added and existing rules are set.", + "indent": 4, + "type": "it", + "isSkipped": true, + "isTodo": false + }, + { + "id": "mute-detection-rule-successfully", + "rawLine": " it('mute detection rule successfully', async () => {", + "line": " it('mute detection rule successfully')", + "label": "mute detection rule successfully", + "indent": 4, + "type": "it", + "isSkipped": true, + "isTodo": false + }, + { + "id": "expect-to-mute-two-benchmark-rules-and-one-detection-rule", + "rawLine": " it('Expect to mute two benchmark rules and one detection rule', async () => {", + "line": " it('Expect to mute two benchmark rules and one detection rule')", + "label": "Expect to mute two benchmark rules and one detection rule", + "indent": 4, + "type": "it", + "isSkipped": true, + "isTodo": false + }, + { + "id": "expect-to-save-rules-states-when-requesting-to-update-empty-object", + "rawLine": " it('Expect to save rules states when requesting to update empty object', async () => {", + "line": " it('Expect to save rules states when requesting to update empty object')", + "label": "Expect to save rules states when requesting to update empty object", + "indent": 4, + "type": "it", + "isSkipped": true, + "isTodo": false + }, + { + "id": "set-wrong-action-input", + "rawLine": " it('set wrong action input', async () => {", + "line": " it('set wrong action input')", + "label": "set wrong action input", + "indent": 4, + "type": "it", + "isSkipped": true, + "isTodo": false + } + ] + } + ] + }, + { + "filePath": "x-pack/test/cloud_security_posture_api/routes/csp_benchmark_rules_get_states.ts", + "fileName": "csp_benchmark_rules_get_states.ts", + "directory": "x-pack/test/cloud_security_posture_api", + "tags": [ + "FTR", + "API INTEGRATION" + ], + "lines": [ + " describe('Tests get rules states API')", + " it('get rules states successfully')", + " it('get empty object when rules states not exists')" + ], + "testSuits": [ + { + "id": "tests-get-rules-states-api", + "rawLine": " describe('Tests get rules states API', async () => {", + "line": " describe('Tests get rules states API')", + "label": "Tests get rules states API", + "indent": 2, + "type": "describe", + "isSkipped": false, + "isTodo": false + }, + { + "id": "get-rules-states-successfully", + "rawLine": " it('get rules states successfully', async () => {", + "line": " it('get rules states successfully')", + "label": "get rules states successfully", + "indent": 4, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "get-empty-object-when-rules-states-not-exists", + "rawLine": " it('get empty object when rules states not exists', async () => {", + "line": " it('get empty object when rules states not exists')", + "label": "get empty object when rules states not exists", + "indent": 4, + "type": "it", + "isSkipped": false, + "isTodo": false + } + ], + "tree": [ + { + "id": "tests-get-rules-states-api", + "rawLine": " describe('Tests get rules states API', async () => {", + "line": " describe('Tests get rules states API')", + "label": "Tests get rules states API", + "indent": 2, + "type": "describe", + "isSkipped": false, + "isTodo": false, + "children": [ + { + "id": "get-rules-states-successfully", + "rawLine": " it('get rules states successfully', async () => {", + "line": " it('get rules states successfully')", + "label": "get rules states successfully", + "indent": 4, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "get-empty-object-when-rules-states-not-exists", + "rawLine": " it('get empty object when rules states not exists', async () => {", + "line": " it('get empty object when rules states not exists')", + "label": "get empty object when rules states not exists", + "indent": 4, + "type": "it", + "isSkipped": false, + "isTodo": false + } + ] + } + ] + }, + { + "filePath": "x-pack/test/cloud_security_posture_api/routes/stats.ts", + "fileName": "stats.ts", + "directory": "x-pack/test/cloud_security_posture_api", + "tags": [ + "FTR", + "API INTEGRATION" + ], + "lines": [ + " describe('GET /internal/cloud_security_posture/stats')", + " describe('CSPM Compliance Dashboard Stats API')", + " it('should return CSPM cluster V1 ')", + " it('should return CSPM benchmarks V2 ')", + " describe('KSPM Compliance Dashboard Stats API')", + " it('should return KSPM clusters V1 ')", + " it('should return KSPM benchmarks V2')", + " it('should return KSPM benchmarks V2')", + " describe('Compliance dashboard based on enabled rules')", + " it('should calculate cspm benchmarks posture score based only on enabled rules')", + " it('should calculate kspm benchmarks posture score based only on enabled rules')" + ], + "testSuits": [ + { + "id": "get-/internal/cloud_security_posture/stats", + "rawLine": " describe('GET /internal/cloud_security_posture/stats', () => {", + "line": " describe('GET /internal/cloud_security_posture/stats')", + "label": "GET /internal/cloud_security_posture/stats", + "indent": 2, + "type": "describe", + "isSkipped": false, + "isTodo": false + }, + { + "id": "cspm-compliance-dashboard-stats-api", + "rawLine": " describe('CSPM Compliance Dashboard Stats API', async () => {", + "line": " describe('CSPM Compliance Dashboard Stats API')", + "label": "CSPM Compliance Dashboard Stats API", + "indent": 4, + "type": "describe", + "isSkipped": false, + "isTodo": false + }, + { + "id": "should-return-cspm-cluster-v1-", + "rawLine": " it('should return CSPM cluster V1 ', async () => {", + "line": " it('should return CSPM cluster V1 ')", + "label": "should return CSPM cluster V1 ", + "indent": 6, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "should-return-cspm-benchmarks-v2-", + "rawLine": " it('should return CSPM benchmarks V2 ', async () => {", + "line": " it('should return CSPM benchmarks V2 ')", + "label": "should return CSPM benchmarks V2 ", + "indent": 6, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "kspm-compliance-dashboard-stats-api", + "rawLine": " describe('KSPM Compliance Dashboard Stats API', async () => {", + "line": " describe('KSPM Compliance Dashboard Stats API')", + "label": "KSPM Compliance Dashboard Stats API", + "indent": 4, + "type": "describe", + "isSkipped": false, + "isTodo": false + }, + { + "id": "should-return-kspm-clusters-v1-", + "rawLine": " it('should return KSPM clusters V1 ', async () => {", + "line": " it('should return KSPM clusters V1 ')", + "label": "should return KSPM clusters V1 ", + "indent": 6, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "should-return-kspm-benchmarks-v2", + "rawLine": " it('should return KSPM benchmarks V2', async () => {", + "line": " it('should return KSPM benchmarks V2')", + "label": "should return KSPM benchmarks V2", + "indent": 6, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "should-return-kspm-benchmarks-v2", + "rawLine": " it('should return KSPM benchmarks V2', async () => {", + "line": " it('should return KSPM benchmarks V2')", + "label": "should return KSPM benchmarks V2", + "indent": 6, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "compliance-dashboard-based-on-enabled-rules", + "rawLine": " describe('Compliance dashboard based on enabled rules', async () => {", + "line": " describe('Compliance dashboard based on enabled rules')", + "label": "Compliance dashboard based on enabled rules", + "indent": 4, + "type": "describe", + "isSkipped": false, + "isTodo": false + }, + { + "id": "should-calculate-cspm-benchmarks-posture-score-based-only-on-enabled-rules", + "rawLine": " it('should calculate cspm benchmarks posture score based only on enabled rules', async () => {", + "line": " it('should calculate cspm benchmarks posture score based only on enabled rules')", + "label": "should calculate cspm benchmarks posture score based only on enabled rules", + "indent": 6, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "should-calculate-kspm-benchmarks-posture-score-based-only-on-enabled-rules", + "rawLine": " it('should calculate kspm benchmarks posture score based only on enabled rules', async () => {", + "line": " it('should calculate kspm benchmarks posture score based only on enabled rules')", + "label": "should calculate kspm benchmarks posture score based only on enabled rules", + "indent": 6, + "type": "it", + "isSkipped": false, + "isTodo": false + } + ], + "tree": [ + { + "id": "get-/internal/cloud_security_posture/stats", + "rawLine": " describe('GET /internal/cloud_security_posture/stats', () => {", + "line": " describe('GET /internal/cloud_security_posture/stats')", + "label": "GET /internal/cloud_security_posture/stats", + "indent": 2, + "type": "describe", + "isSkipped": false, + "isTodo": false, + "children": [ + { + "id": "cspm-compliance-dashboard-stats-api", + "rawLine": " describe('CSPM Compliance Dashboard Stats API', async () => {", + "line": " describe('CSPM Compliance Dashboard Stats API')", + "label": "CSPM Compliance Dashboard Stats API", + "indent": 4, + "type": "describe", + "isSkipped": false, + "isTodo": false, + "children": [ + { + "id": "should-return-cspm-cluster-v1-", + "rawLine": " it('should return CSPM cluster V1 ', async () => {", + "line": " it('should return CSPM cluster V1 ')", + "label": "should return CSPM cluster V1 ", + "indent": 6, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "should-return-cspm-benchmarks-v2-", + "rawLine": " it('should return CSPM benchmarks V2 ', async () => {", + "line": " it('should return CSPM benchmarks V2 ')", + "label": "should return CSPM benchmarks V2 ", + "indent": 6, + "type": "it", + "isSkipped": false, + "isTodo": false + } + ] + }, + { + "id": "kspm-compliance-dashboard-stats-api", + "rawLine": " describe('KSPM Compliance Dashboard Stats API', async () => {", + "line": " describe('KSPM Compliance Dashboard Stats API')", + "label": "KSPM Compliance Dashboard Stats API", + "indent": 4, + "type": "describe", + "isSkipped": false, + "isTodo": false, + "children": [ + { + "id": "should-return-kspm-clusters-v1-", + "rawLine": " it('should return KSPM clusters V1 ', async () => {", + "line": " it('should return KSPM clusters V1 ')", + "label": "should return KSPM clusters V1 ", + "indent": 6, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "should-return-kspm-benchmarks-v2", + "rawLine": " it('should return KSPM benchmarks V2', async () => {", + "line": " it('should return KSPM benchmarks V2')", + "label": "should return KSPM benchmarks V2", + "indent": 6, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "should-return-kspm-benchmarks-v2", + "rawLine": " it('should return KSPM benchmarks V2', async () => {", + "line": " it('should return KSPM benchmarks V2')", + "label": "should return KSPM benchmarks V2", + "indent": 6, + "type": "it", + "isSkipped": false, + "isTodo": false + } + ] + }, + { + "id": "compliance-dashboard-based-on-enabled-rules", + "rawLine": " describe('Compliance dashboard based on enabled rules', async () => {", + "line": " describe('Compliance dashboard based on enabled rules')", + "label": "Compliance dashboard based on enabled rules", + "indent": 4, + "type": "describe", + "isSkipped": false, + "isTodo": false, + "children": [ + { + "id": "should-calculate-cspm-benchmarks-posture-score-based-only-on-enabled-rules", + "rawLine": " it('should calculate cspm benchmarks posture score based only on enabled rules', async () => {", + "line": " it('should calculate cspm benchmarks posture score based only on enabled rules')", + "label": "should calculate cspm benchmarks posture score based only on enabled rules", + "indent": 6, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "should-calculate-kspm-benchmarks-posture-score-based-only-on-enabled-rules", + "rawLine": " it('should calculate kspm benchmarks posture score based only on enabled rules', async () => {", + "line": " it('should calculate kspm benchmarks posture score based only on enabled rules')", + "label": "should calculate kspm benchmarks posture score based only on enabled rules", + "indent": 6, + "type": "it", + "isSkipped": false, + "isTodo": false + } + ] + } + ] + } + ] + }, + { + "filePath": "x-pack/test/cloud_security_posture_api/routes/vulnerabilities_dashboard.ts", + "fileName": "vulnerabilities_dashboard.ts", + "directory": "x-pack/test/cloud_security_posture_api", + "tags": [ + "FTR", + "API INTEGRATION" + ], + "lines": [ + " describe('Vulnerability Dashboard API')", + " it('responds with a 200 status code and matching data mock')", + " it('returns a 400 error when necessary indices are nonexistent')" + ], + "testSuits": [ + { + "id": "vulnerability-dashboard-api", + "rawLine": " describe('Vulnerability Dashboard API', async () => {", + "line": " describe('Vulnerability Dashboard API')", + "label": "Vulnerability Dashboard API", + "indent": 2, + "type": "describe", + "isSkipped": false, + "isTodo": false + }, + { + "id": "responds-with-a-200-status-code-and-matching-data-mock", + "rawLine": " it('responds with a 200 status code and matching data mock', async () => {", + "line": " it('responds with a 200 status code and matching data mock')", + "label": "responds with a 200 status code and matching data mock", + "indent": 4, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "returns-a-400-error-when-necessary-indices-are-nonexistent", + "rawLine": " it('returns a 400 error when necessary indices are nonexistent', async () => {", + "line": " it('returns a 400 error when necessary indices are nonexistent')", + "label": "returns a 400 error when necessary indices are nonexistent", + "indent": 4, + "type": "it", + "isSkipped": false, + "isTodo": false + } + ], + "tree": [ + { + "id": "vulnerability-dashboard-api", + "rawLine": " describe('Vulnerability Dashboard API', async () => {", + "line": " describe('Vulnerability Dashboard API')", + "label": "Vulnerability Dashboard API", + "indent": 2, + "type": "describe", + "isSkipped": false, + "isTodo": false, + "children": [ + { + "id": "responds-with-a-200-status-code-and-matching-data-mock", + "rawLine": " it('responds with a 200 status code and matching data mock', async () => {", + "line": " it('responds with a 200 status code and matching data mock')", + "label": "responds with a 200 status code and matching data mock", + "indent": 4, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "returns-a-400-error-when-necessary-indices-are-nonexistent", + "rawLine": " it('returns a 400 error when necessary indices are nonexistent', async () => {", + "line": " it('returns a 400 error when necessary indices are nonexistent')", + "label": "returns a 400 error when necessary indices are nonexistent", + "indent": 4, + "type": "it", + "isSkipped": false, + "isTodo": false + } + ] + } + ] + }, + { + "filePath": "x-pack/test/cloud_security_posture_api/telemetry/telemetry.ts", + "fileName": "telemetry.ts", + "directory": "x-pack/test/cloud_security_posture_api", + "tags": [ + "FTR", + "API INTEGRATION" + ], + "lines": [ + " describe('Verify cloud_security_posture telemetry payloads')", + " it('includes only KSPM findings')", + " it('includes only CSPM findings')", + " it('includes CSPM and KSPM findings')", + " it(`'includes only KSPM findings without posture_type'`)", + " it('includes KSPM findings without posture_type and CSPM findings as well')" + ], + "testSuits": [ + { + "id": "verify-cloud_security_posture-telemetry-payloads", + "rawLine": " describe('Verify cloud_security_posture telemetry payloads', async () => {", + "line": " describe('Verify cloud_security_posture telemetry payloads')", + "label": "Verify cloud_security_posture telemetry payloads", + "indent": 2, + "type": "describe", + "isSkipped": false, + "isTodo": false + }, + { + "id": "includes-only-kspm-findings", + "rawLine": " it('includes only KSPM findings', async () => {", + "line": " it('includes only KSPM findings')", + "label": "includes only KSPM findings", + "indent": 4, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "includes-only-cspm-findings", + "rawLine": " it('includes only CSPM findings', async () => {", + "line": " it('includes only CSPM findings')", + "label": "includes only CSPM findings", + "indent": 4, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "includes-cspm-and-kspm-findings", + "rawLine": " it('includes CSPM and KSPM findings', async () => {", + "line": " it('includes CSPM and KSPM findings')", + "label": "includes CSPM and KSPM findings", + "indent": 4, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "", + "rawLine": " it(`'includes only KSPM findings without posture_type'`, async () => {", + "line": " it(`'includes only KSPM findings without posture_type'`)", + "label": "", + "indent": 4, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "includes-kspm-findings-without-posture_type-and-cspm-findings-as-well", + "rawLine": " it('includes KSPM findings without posture_type and CSPM findings as well', async () => {", + "line": " it('includes KSPM findings without posture_type and CSPM findings as well')", + "label": "includes KSPM findings without posture_type and CSPM findings as well", + "indent": 4, + "type": "it", + "isSkipped": false, + "isTodo": false + } + ], + "tree": [ + { + "id": "verify-cloud_security_posture-telemetry-payloads", + "rawLine": " describe('Verify cloud_security_posture telemetry payloads', async () => {", + "line": " describe('Verify cloud_security_posture telemetry payloads')", + "label": "Verify cloud_security_posture telemetry payloads", + "indent": 2, + "type": "describe", + "isSkipped": false, + "isTodo": false, + "children": [ + { + "id": "includes-only-kspm-findings", + "rawLine": " it('includes only KSPM findings', async () => {", + "line": " it('includes only KSPM findings')", + "label": "includes only KSPM findings", + "indent": 4, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "includes-only-cspm-findings", + "rawLine": " it('includes only CSPM findings', async () => {", + "line": " it('includes only CSPM findings')", + "label": "includes only CSPM findings", + "indent": 4, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "includes-cspm-and-kspm-findings", + "rawLine": " it('includes CSPM and KSPM findings', async () => {", + "line": " it('includes CSPM and KSPM findings')", + "label": "includes CSPM and KSPM findings", + "indent": 4, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "", + "rawLine": " it(`'includes only KSPM findings without posture_type'`, async () => {", + "line": " it(`'includes only KSPM findings without posture_type'`)", + "label": "", + "indent": 4, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "includes-kspm-findings-without-posture_type-and-cspm-findings-as-well", + "rawLine": " it('includes KSPM findings without posture_type and CSPM findings as well', async () => {", + "line": " it('includes KSPM findings without posture_type and CSPM findings as well')", + "label": "includes KSPM findings without posture_type and CSPM findings as well", + "indent": 4, + "type": "it", + "isSkipped": false, + "isTodo": false + } + ] + } + ] + }, + { + "filePath": "x-pack/test/cloud_security_posture_functional/pages/cis_integration.ts", + "fileName": "cis_integration.ts", + "directory": "x-pack/test/cloud_security_posture_functional", + "tags": [ + "FTR" + ], + "lines": [ + " describe('Test adding Cloud Security Posture Integrations')", + " describe('CNVM AWS')", + " it('Hyperlink on PostInstallation Modal should have the correct URL')", + " it('On Add Agent modal there should be modal that has Cloud Formation details as well as button that redirects user to Cloud formation page on AWS upon clicking them ')", + " it('Clicking on Launch CloudFormation on post intall modal should lead user to Cloud Formation page')", + " describe('CIS_AWS')", + " it('Initial form state, AWS Org account, and CloudFormation should be selected by default')", + " it('Hyperlink on PostInstallation Modal should have the correct URL')", + " it('On Add Agent modal there should be modal that has Cloud Formation details as well as button that redirects user to Cloud formation page on AWS upon clicking them ')", + " it('Clicking on Launch CloudFormation on post intall modal should lead user to Cloud Formation page')", + " describe('CIS_GCP Organization')", + " it('Switch between Manual and Google cloud shell')", + " it('Post Installation Google Cloud Shell modal pops up after user clicks on Save button when adding integration, when there are no Project ID or Organization ID provided, it should use default value')", + " it('Post Installation Google Cloud Shell modal pops up after user clicks on Save button when adding integration, when there are Project ID or Organization ID provided, it should use that value')", + " it('Add Agent FLyout - Post Installation Google Cloud Shell modal pops up after user clicks on Save button when adding integration, when there are Project ID or Organization ID provided, it should use that value')", + " it('Organization ID field on cloud shell command should only be shown if user chose Google Cloud Shell, if user chose Single Account it shouldn not show up')", + " it('Hyperlink on PostInstallation Modal should have the correct URL')", + " it('Clicking on Launch CloudShell on post intall modal should lead user to CloudShell page')", + " describe('CIS_GCP Single')", + " it('Post Installation Google Cloud Shell modal pops up after user clicks on Save button when adding integration, when there are no Project ID, it should use default value')", + " it('Post Installation Google Cloud Shell modal pops up after user clicks on Save button when adding integration, when there are Project ID, it should use that value')", + " it('Add Agent FLyout - Organization ID field on cloud shell command should only be shown if user chose Google Cloud Shell, if user chose Single Account it shouldn not show up')", + " it('On add agent modal, if user chose Google Cloud Shell as their setup access; a google cloud shell modal should show up and clicking on the launch button will redirect user to Google cloud shell page')", + " it('Users are able to add CIS_GCP Integration with Manual settings using Credentials File')", + " it('Users are able to switch credentials_type from/to Credential JSON fields ')", + " it('Users are able to add CIS_GCP Integration with Manual settings using Credentials JSON')", + " it('Users are able to switch credentials_type from/to Credential File fields ')" + ], + "testSuits": [ + { + "id": "test-adding-cloud-security-posture-integrations", + "rawLine": " describe('Test adding Cloud Security Posture Integrations', function () {", + "line": " describe('Test adding Cloud Security Posture Integrations')", + "label": "Test adding Cloud Security Posture Integrations", + "indent": 2, + "type": "describe", + "isSkipped": false, + "isTodo": false + }, + { + "id": "cnvm-aws", + "rawLine": " describe('CNVM AWS', () => {", + "line": " describe('CNVM AWS')", + "label": "CNVM AWS", + "indent": 4, + "type": "describe", + "isSkipped": false, + "isTodo": false + }, + { + "id": "hyperlink-on-postinstallation-modal-should-have-the-correct-url", + "rawLine": " it('Hyperlink on PostInstallation Modal should have the correct URL', async () => {", + "line": " it('Hyperlink on PostInstallation Modal should have the correct URL')", + "label": "Hyperlink on PostInstallation Modal should have the correct URL", + "indent": 6, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "on-add-agent-modal-there-should-be-modal-that-has-cloud-formation-details-as-well-as-button-that-redirects-user-to-cloud-formation-page-on-aws-upon-clicking-them-", + "rawLine": " it('On Add Agent modal there should be modal that has Cloud Formation details as well as button that redirects user to Cloud formation page on AWS upon clicking them ', async () => {", + "line": " it('On Add Agent modal there should be modal that has Cloud Formation details as well as button that redirects user to Cloud formation page on AWS upon clicking them ')", + "label": "On Add Agent modal there should be modal that has Cloud Formation details as well as button that redirects user to Cloud formation page on AWS upon clicking them ", + "indent": 6, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "clicking-on-launch-cloudformation-on-post-intall-modal-should-lead-user-to-cloud-formation-page", + "rawLine": " it('Clicking on Launch CloudFormation on post intall modal should lead user to Cloud Formation page', async () => {", + "line": " it('Clicking on Launch CloudFormation on post intall modal should lead user to Cloud Formation page')", + "label": "Clicking on Launch CloudFormation on post intall modal should lead user to Cloud Formation page", + "indent": 6, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "cis_aws", + "rawLine": " describe('CIS_AWS', () => {", + "line": " describe('CIS_AWS')", + "label": "CIS_AWS", + "indent": 4, + "type": "describe", + "isSkipped": false, + "isTodo": false + }, + { + "id": "initial-form-state,-aws-org-account,-and-cloudformation-should-be-selected-by-default", + "rawLine": " it('Initial form state, AWS Org account, and CloudFormation should be selected by default', async () => {", + "line": " it('Initial form state, AWS Org account, and CloudFormation should be selected by default')", + "label": "Initial form state, AWS Org account, and CloudFormation should be selected by default", + "indent": 6, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "hyperlink-on-postinstallation-modal-should-have-the-correct-url", + "rawLine": " it('Hyperlink on PostInstallation Modal should have the correct URL', async () => {", + "line": " it('Hyperlink on PostInstallation Modal should have the correct URL')", + "label": "Hyperlink on PostInstallation Modal should have the correct URL", + "indent": 6, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "on-add-agent-modal-there-should-be-modal-that-has-cloud-formation-details-as-well-as-button-that-redirects-user-to-cloud-formation-page-on-aws-upon-clicking-them-", + "rawLine": " it('On Add Agent modal there should be modal that has Cloud Formation details as well as button that redirects user to Cloud formation page on AWS upon clicking them ', async () => {", + "line": " it('On Add Agent modal there should be modal that has Cloud Formation details as well as button that redirects user to Cloud formation page on AWS upon clicking them ')", + "label": "On Add Agent modal there should be modal that has Cloud Formation details as well as button that redirects user to Cloud formation page on AWS upon clicking them ", + "indent": 6, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "clicking-on-launch-cloudformation-on-post-intall-modal-should-lead-user-to-cloud-formation-page", + "rawLine": " it('Clicking on Launch CloudFormation on post intall modal should lead user to Cloud Formation page', async () => {", + "line": " it('Clicking on Launch CloudFormation on post intall modal should lead user to Cloud Formation page')", + "label": "Clicking on Launch CloudFormation on post intall modal should lead user to Cloud Formation page", + "indent": 6, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "cis_gcp-organization", + "rawLine": " describe('CIS_GCP Organization', () => {", + "line": " describe('CIS_GCP Organization')", + "label": "CIS_GCP Organization", + "indent": 4, + "type": "describe", + "isSkipped": false, + "isTodo": false + }, + { + "id": "switch-between-manual-and-google-cloud-shell", + "rawLine": " it('Switch between Manual and Google cloud shell', async () => {", + "line": " it('Switch between Manual and Google cloud shell')", + "label": "Switch between Manual and Google cloud shell", + "indent": 6, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "post-installation-google-cloud-shell-modal-pops-up-after-user-clicks-on-save-button-when-adding-integration,-when-there-are-no-project-id-or-organization-id-provided,-it-should-use-default-value", + "rawLine": " it('Post Installation Google Cloud Shell modal pops up after user clicks on Save button when adding integration, when there are no Project ID or Organization ID provided, it should use default value', async () => {", + "line": " it('Post Installation Google Cloud Shell modal pops up after user clicks on Save button when adding integration, when there are no Project ID or Organization ID provided, it should use default value')", + "label": "Post Installation Google Cloud Shell modal pops up after user clicks on Save button when adding integration, when there are no Project ID or Organization ID provided, it should use default value", + "indent": 6, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "post-installation-google-cloud-shell-modal-pops-up-after-user-clicks-on-save-button-when-adding-integration,-when-there-are-project-id-or-organization-id-provided,-it-should-use-that-value", + "rawLine": " it('Post Installation Google Cloud Shell modal pops up after user clicks on Save button when adding integration, when there are Project ID or Organization ID provided, it should use that value', async () => {", + "line": " it('Post Installation Google Cloud Shell modal pops up after user clicks on Save button when adding integration, when there are Project ID or Organization ID provided, it should use that value')", + "label": "Post Installation Google Cloud Shell modal pops up after user clicks on Save button when adding integration, when there are Project ID or Organization ID provided, it should use that value", + "indent": 6, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "add-agent-flyout---post-installation-google-cloud-shell-modal-pops-up-after-user-clicks-on-save-button-when-adding-integration,-when-there-are-project-id-or-organization-id-provided,-it-should-use-that-value", + "rawLine": " it('Add Agent FLyout - Post Installation Google Cloud Shell modal pops up after user clicks on Save button when adding integration, when there are Project ID or Organization ID provided, it should use that value', async () => {", + "line": " it('Add Agent FLyout - Post Installation Google Cloud Shell modal pops up after user clicks on Save button when adding integration, when there are Project ID or Organization ID provided, it should use that value')", + "label": "Add Agent FLyout - Post Installation Google Cloud Shell modal pops up after user clicks on Save button when adding integration, when there are Project ID or Organization ID provided, it should use that value", + "indent": 6, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "organization-id-field-on-cloud-shell-command-should-only-be-shown-if-user-chose-google-cloud-shell,-if-user-chose-single-account-it-shouldn-not-show-up", + "rawLine": " it('Organization ID field on cloud shell command should only be shown if user chose Google Cloud Shell, if user chose Single Account it shouldn not show up', async () => {", + "line": " it('Organization ID field on cloud shell command should only be shown if user chose Google Cloud Shell, if user chose Single Account it shouldn not show up')", + "label": "Organization ID field on cloud shell command should only be shown if user chose Google Cloud Shell, if user chose Single Account it shouldn not show up", + "indent": 6, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "hyperlink-on-postinstallation-modal-should-have-the-correct-url", + "rawLine": " it('Hyperlink on PostInstallation Modal should have the correct URL', async () => {", + "line": " it('Hyperlink on PostInstallation Modal should have the correct URL')", + "label": "Hyperlink on PostInstallation Modal should have the correct URL", + "indent": 6, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "clicking-on-launch-cloudshell-on-post-intall-modal-should-lead-user-to-cloudshell-page", + "rawLine": " it('Clicking on Launch CloudShell on post intall modal should lead user to CloudShell page', async () => {", + "line": " it('Clicking on Launch CloudShell on post intall modal should lead user to CloudShell page')", + "label": "Clicking on Launch CloudShell on post intall modal should lead user to CloudShell page", + "indent": 6, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "cis_gcp-single", + "rawLine": " describe('CIS_GCP Single', () => {", + "line": " describe('CIS_GCP Single')", + "label": "CIS_GCP Single", + "indent": 4, + "type": "describe", + "isSkipped": false, + "isTodo": false + }, + { + "id": "post-installation-google-cloud-shell-modal-pops-up-after-user-clicks-on-save-button-when-adding-integration,-when-there-are-no-project-id,-it-should-use-default-value", + "rawLine": " it('Post Installation Google Cloud Shell modal pops up after user clicks on Save button when adding integration, when there are no Project ID, it should use default value', async () => {", + "line": " it('Post Installation Google Cloud Shell modal pops up after user clicks on Save button when adding integration, when there are no Project ID, it should use default value')", + "label": "Post Installation Google Cloud Shell modal pops up after user clicks on Save button when adding integration, when there are no Project ID, it should use default value", + "indent": 6, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "post-installation-google-cloud-shell-modal-pops-up-after-user-clicks-on-save-button-when-adding-integration,-when-there-are-project-id,-it-should-use-that-value", + "rawLine": " it('Post Installation Google Cloud Shell modal pops up after user clicks on Save button when adding integration, when there are Project ID, it should use that value', async () => {", + "line": " it('Post Installation Google Cloud Shell modal pops up after user clicks on Save button when adding integration, when there are Project ID, it should use that value')", + "label": "Post Installation Google Cloud Shell modal pops up after user clicks on Save button when adding integration, when there are Project ID, it should use that value", + "indent": 6, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "add-agent-flyout---organization-id-field-on-cloud-shell-command-should-only-be-shown-if-user-chose-google-cloud-shell,-if-user-chose-single-account-it-shouldn-not-show-up", + "rawLine": " it('Add Agent FLyout - Organization ID field on cloud shell command should only be shown if user chose Google Cloud Shell, if user chose Single Account it shouldn not show up', async () => {", + "line": " it('Add Agent FLyout - Organization ID field on cloud shell command should only be shown if user chose Google Cloud Shell, if user chose Single Account it shouldn not show up')", + "label": "Add Agent FLyout - Organization ID field on cloud shell command should only be shown if user chose Google Cloud Shell, if user chose Single Account it shouldn not show up", + "indent": 6, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "on-add-agent-modal,-if-user-chose-google-cloud-shell-as-their-setup-access;-a-google-cloud-shell-modal-should-show-up-and-clicking-on-the-launch-button-will-redirect-user-to-google-cloud-shell-page", + "rawLine": " it('On add agent modal, if user chose Google Cloud Shell as their setup access; a google cloud shell modal should show up and clicking on the launch button will redirect user to Google cloud shell page', async () => {", + "line": " it('On add agent modal, if user chose Google Cloud Shell as their setup access; a google cloud shell modal should show up and clicking on the launch button will redirect user to Google cloud shell page')", + "label": "On add agent modal, if user chose Google Cloud Shell as their setup access; a google cloud shell modal should show up and clicking on the launch button will redirect user to Google cloud shell page", + "indent": 6, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "users-are-able-to-add-cis_gcp-integration-with-manual-settings-using-credentials-file", + "rawLine": " it('Users are able to add CIS_GCP Integration with Manual settings using Credentials File', async () => {", + "line": " it('Users are able to add CIS_GCP Integration with Manual settings using Credentials File')", + "label": "Users are able to add CIS_GCP Integration with Manual settings using Credentials File", + "indent": 6, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "users-are-able-to-switch-credentials_type-from/to-credential-json-fields-", + "rawLine": " it('Users are able to switch credentials_type from/to Credential JSON fields ', async () => {", + "line": " it('Users are able to switch credentials_type from/to Credential JSON fields ')", + "label": "Users are able to switch credentials_type from/to Credential JSON fields ", + "indent": 6, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "users-are-able-to-add-cis_gcp-integration-with-manual-settings-using-credentials-json", + "rawLine": " it('Users are able to add CIS_GCP Integration with Manual settings using Credentials JSON', async () => {", + "line": " it('Users are able to add CIS_GCP Integration with Manual settings using Credentials JSON')", + "label": "Users are able to add CIS_GCP Integration with Manual settings using Credentials JSON", + "indent": 6, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "users-are-able-to-switch-credentials_type-from/to-credential-file-fields-", + "rawLine": " it('Users are able to switch credentials_type from/to Credential File fields ', async () => {", + "line": " it('Users are able to switch credentials_type from/to Credential File fields ')", + "label": "Users are able to switch credentials_type from/to Credential File fields ", + "indent": 6, + "type": "it", + "isSkipped": false, + "isTodo": false + } + ], + "tree": [ + { + "id": "test-adding-cloud-security-posture-integrations", + "rawLine": " describe('Test adding Cloud Security Posture Integrations', function () {", + "line": " describe('Test adding Cloud Security Posture Integrations')", + "label": "Test adding Cloud Security Posture Integrations", + "indent": 2, + "type": "describe", + "isSkipped": false, + "isTodo": false, + "children": [ + { + "id": "cnvm-aws", + "rawLine": " describe('CNVM AWS', () => {", + "line": " describe('CNVM AWS')", + "label": "CNVM AWS", + "indent": 4, + "type": "describe", + "isSkipped": false, + "isTodo": false, + "children": [ + { + "id": "hyperlink-on-postinstallation-modal-should-have-the-correct-url", + "rawLine": " it('Hyperlink on PostInstallation Modal should have the correct URL', async () => {", + "line": " it('Hyperlink on PostInstallation Modal should have the correct URL')", + "label": "Hyperlink on PostInstallation Modal should have the correct URL", + "indent": 6, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "on-add-agent-modal-there-should-be-modal-that-has-cloud-formation-details-as-well-as-button-that-redirects-user-to-cloud-formation-page-on-aws-upon-clicking-them-", + "rawLine": " it('On Add Agent modal there should be modal that has Cloud Formation details as well as button that redirects user to Cloud formation page on AWS upon clicking them ', async () => {", + "line": " it('On Add Agent modal there should be modal that has Cloud Formation details as well as button that redirects user to Cloud formation page on AWS upon clicking them ')", + "label": "On Add Agent modal there should be modal that has Cloud Formation details as well as button that redirects user to Cloud formation page on AWS upon clicking them ", + "indent": 6, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "clicking-on-launch-cloudformation-on-post-intall-modal-should-lead-user-to-cloud-formation-page", + "rawLine": " it('Clicking on Launch CloudFormation on post intall modal should lead user to Cloud Formation page', async () => {", + "line": " it('Clicking on Launch CloudFormation on post intall modal should lead user to Cloud Formation page')", + "label": "Clicking on Launch CloudFormation on post intall modal should lead user to Cloud Formation page", + "indent": 6, + "type": "it", + "isSkipped": false, + "isTodo": false + } + ] + }, + { + "id": "cis_aws", + "rawLine": " describe('CIS_AWS', () => {", + "line": " describe('CIS_AWS')", + "label": "CIS_AWS", + "indent": 4, + "type": "describe", + "isSkipped": false, + "isTodo": false, + "children": [ + { + "id": "initial-form-state,-aws-org-account,-and-cloudformation-should-be-selected-by-default", + "rawLine": " it('Initial form state, AWS Org account, and CloudFormation should be selected by default', async () => {", + "line": " it('Initial form state, AWS Org account, and CloudFormation should be selected by default')", + "label": "Initial form state, AWS Org account, and CloudFormation should be selected by default", + "indent": 6, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "hyperlink-on-postinstallation-modal-should-have-the-correct-url", + "rawLine": " it('Hyperlink on PostInstallation Modal should have the correct URL', async () => {", + "line": " it('Hyperlink on PostInstallation Modal should have the correct URL')", + "label": "Hyperlink on PostInstallation Modal should have the correct URL", + "indent": 6, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "on-add-agent-modal-there-should-be-modal-that-has-cloud-formation-details-as-well-as-button-that-redirects-user-to-cloud-formation-page-on-aws-upon-clicking-them-", + "rawLine": " it('On Add Agent modal there should be modal that has Cloud Formation details as well as button that redirects user to Cloud formation page on AWS upon clicking them ', async () => {", + "line": " it('On Add Agent modal there should be modal that has Cloud Formation details as well as button that redirects user to Cloud formation page on AWS upon clicking them ')", + "label": "On Add Agent modal there should be modal that has Cloud Formation details as well as button that redirects user to Cloud formation page on AWS upon clicking them ", + "indent": 6, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "clicking-on-launch-cloudformation-on-post-intall-modal-should-lead-user-to-cloud-formation-page", + "rawLine": " it('Clicking on Launch CloudFormation on post intall modal should lead user to Cloud Formation page', async () => {", + "line": " it('Clicking on Launch CloudFormation on post intall modal should lead user to Cloud Formation page')", + "label": "Clicking on Launch CloudFormation on post intall modal should lead user to Cloud Formation page", + "indent": 6, + "type": "it", + "isSkipped": false, + "isTodo": false + } + ] + }, + { + "id": "cis_gcp-organization", + "rawLine": " describe('CIS_GCP Organization', () => {", + "line": " describe('CIS_GCP Organization')", + "label": "CIS_GCP Organization", + "indent": 4, + "type": "describe", + "isSkipped": false, + "isTodo": false, + "children": [ + { + "id": "switch-between-manual-and-google-cloud-shell", + "rawLine": " it('Switch between Manual and Google cloud shell', async () => {", + "line": " it('Switch between Manual and Google cloud shell')", + "label": "Switch between Manual and Google cloud shell", + "indent": 6, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "post-installation-google-cloud-shell-modal-pops-up-after-user-clicks-on-save-button-when-adding-integration,-when-there-are-no-project-id-or-organization-id-provided,-it-should-use-default-value", + "rawLine": " it('Post Installation Google Cloud Shell modal pops up after user clicks on Save button when adding integration, when there are no Project ID or Organization ID provided, it should use default value', async () => {", + "line": " it('Post Installation Google Cloud Shell modal pops up after user clicks on Save button when adding integration, when there are no Project ID or Organization ID provided, it should use default value')", + "label": "Post Installation Google Cloud Shell modal pops up after user clicks on Save button when adding integration, when there are no Project ID or Organization ID provided, it should use default value", + "indent": 6, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "post-installation-google-cloud-shell-modal-pops-up-after-user-clicks-on-save-button-when-adding-integration,-when-there-are-project-id-or-organization-id-provided,-it-should-use-that-value", + "rawLine": " it('Post Installation Google Cloud Shell modal pops up after user clicks on Save button when adding integration, when there are Project ID or Organization ID provided, it should use that value', async () => {", + "line": " it('Post Installation Google Cloud Shell modal pops up after user clicks on Save button when adding integration, when there are Project ID or Organization ID provided, it should use that value')", + "label": "Post Installation Google Cloud Shell modal pops up after user clicks on Save button when adding integration, when there are Project ID or Organization ID provided, it should use that value", + "indent": 6, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "add-agent-flyout---post-installation-google-cloud-shell-modal-pops-up-after-user-clicks-on-save-button-when-adding-integration,-when-there-are-project-id-or-organization-id-provided,-it-should-use-that-value", + "rawLine": " it('Add Agent FLyout - Post Installation Google Cloud Shell modal pops up after user clicks on Save button when adding integration, when there are Project ID or Organization ID provided, it should use that value', async () => {", + "line": " it('Add Agent FLyout - Post Installation Google Cloud Shell modal pops up after user clicks on Save button when adding integration, when there are Project ID or Organization ID provided, it should use that value')", + "label": "Add Agent FLyout - Post Installation Google Cloud Shell modal pops up after user clicks on Save button when adding integration, when there are Project ID or Organization ID provided, it should use that value", + "indent": 6, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "organization-id-field-on-cloud-shell-command-should-only-be-shown-if-user-chose-google-cloud-shell,-if-user-chose-single-account-it-shouldn-not-show-up", + "rawLine": " it('Organization ID field on cloud shell command should only be shown if user chose Google Cloud Shell, if user chose Single Account it shouldn not show up', async () => {", + "line": " it('Organization ID field on cloud shell command should only be shown if user chose Google Cloud Shell, if user chose Single Account it shouldn not show up')", + "label": "Organization ID field on cloud shell command should only be shown if user chose Google Cloud Shell, if user chose Single Account it shouldn not show up", + "indent": 6, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "hyperlink-on-postinstallation-modal-should-have-the-correct-url", + "rawLine": " it('Hyperlink on PostInstallation Modal should have the correct URL', async () => {", + "line": " it('Hyperlink on PostInstallation Modal should have the correct URL')", + "label": "Hyperlink on PostInstallation Modal should have the correct URL", + "indent": 6, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "clicking-on-launch-cloudshell-on-post-intall-modal-should-lead-user-to-cloudshell-page", + "rawLine": " it('Clicking on Launch CloudShell on post intall modal should lead user to CloudShell page', async () => {", + "line": " it('Clicking on Launch CloudShell on post intall modal should lead user to CloudShell page')", + "label": "Clicking on Launch CloudShell on post intall modal should lead user to CloudShell page", + "indent": 6, + "type": "it", + "isSkipped": false, + "isTodo": false + } + ] + }, + { + "id": "cis_gcp-single", + "rawLine": " describe('CIS_GCP Single', () => {", + "line": " describe('CIS_GCP Single')", + "label": "CIS_GCP Single", + "indent": 4, + "type": "describe", + "isSkipped": false, + "isTodo": false, + "children": [ + { + "id": "post-installation-google-cloud-shell-modal-pops-up-after-user-clicks-on-save-button-when-adding-integration,-when-there-are-no-project-id,-it-should-use-default-value", + "rawLine": " it('Post Installation Google Cloud Shell modal pops up after user clicks on Save button when adding integration, when there are no Project ID, it should use default value', async () => {", + "line": " it('Post Installation Google Cloud Shell modal pops up after user clicks on Save button when adding integration, when there are no Project ID, it should use default value')", + "label": "Post Installation Google Cloud Shell modal pops up after user clicks on Save button when adding integration, when there are no Project ID, it should use default value", + "indent": 6, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "post-installation-google-cloud-shell-modal-pops-up-after-user-clicks-on-save-button-when-adding-integration,-when-there-are-project-id,-it-should-use-that-value", + "rawLine": " it('Post Installation Google Cloud Shell modal pops up after user clicks on Save button when adding integration, when there are Project ID, it should use that value', async () => {", + "line": " it('Post Installation Google Cloud Shell modal pops up after user clicks on Save button when adding integration, when there are Project ID, it should use that value')", + "label": "Post Installation Google Cloud Shell modal pops up after user clicks on Save button when adding integration, when there are Project ID, it should use that value", + "indent": 6, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "add-agent-flyout---organization-id-field-on-cloud-shell-command-should-only-be-shown-if-user-chose-google-cloud-shell,-if-user-chose-single-account-it-shouldn-not-show-up", + "rawLine": " it('Add Agent FLyout - Organization ID field on cloud shell command should only be shown if user chose Google Cloud Shell, if user chose Single Account it shouldn not show up', async () => {", + "line": " it('Add Agent FLyout - Organization ID field on cloud shell command should only be shown if user chose Google Cloud Shell, if user chose Single Account it shouldn not show up')", + "label": "Add Agent FLyout - Organization ID field on cloud shell command should only be shown if user chose Google Cloud Shell, if user chose Single Account it shouldn not show up", + "indent": 6, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "on-add-agent-modal,-if-user-chose-google-cloud-shell-as-their-setup-access;-a-google-cloud-shell-modal-should-show-up-and-clicking-on-the-launch-button-will-redirect-user-to-google-cloud-shell-page", + "rawLine": " it('On add agent modal, if user chose Google Cloud Shell as their setup access; a google cloud shell modal should show up and clicking on the launch button will redirect user to Google cloud shell page', async () => {", + "line": " it('On add agent modal, if user chose Google Cloud Shell as their setup access; a google cloud shell modal should show up and clicking on the launch button will redirect user to Google cloud shell page')", + "label": "On add agent modal, if user chose Google Cloud Shell as their setup access; a google cloud shell modal should show up and clicking on the launch button will redirect user to Google cloud shell page", + "indent": 6, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "users-are-able-to-add-cis_gcp-integration-with-manual-settings-using-credentials-file", + "rawLine": " it('Users are able to add CIS_GCP Integration with Manual settings using Credentials File', async () => {", + "line": " it('Users are able to add CIS_GCP Integration with Manual settings using Credentials File')", + "label": "Users are able to add CIS_GCP Integration with Manual settings using Credentials File", + "indent": 6, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "users-are-able-to-switch-credentials_type-from/to-credential-json-fields-", + "rawLine": " it('Users are able to switch credentials_type from/to Credential JSON fields ', async () => {", + "line": " it('Users are able to switch credentials_type from/to Credential JSON fields ')", + "label": "Users are able to switch credentials_type from/to Credential JSON fields ", + "indent": 6, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "users-are-able-to-add-cis_gcp-integration-with-manual-settings-using-credentials-json", + "rawLine": " it('Users are able to add CIS_GCP Integration with Manual settings using Credentials JSON', async () => {", + "line": " it('Users are able to add CIS_GCP Integration with Manual settings using Credentials JSON')", + "label": "Users are able to add CIS_GCP Integration with Manual settings using Credentials JSON", + "indent": 6, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "users-are-able-to-switch-credentials_type-from/to-credential-file-fields-", + "rawLine": " it('Users are able to switch credentials_type from/to Credential File fields ', async () => {", + "line": " it('Users are able to switch credentials_type from/to Credential File fields ')", + "label": "Users are able to switch credentials_type from/to Credential File fields ", + "indent": 6, + "type": "it", + "isSkipped": false, + "isTodo": false + } + ] + } + ] + } + ] + }, + { + "filePath": "x-pack/test/cloud_security_posture_functional/pages/compliance_dashboard.ts", + "fileName": "compliance_dashboard.ts", + "directory": "x-pack/test/cloud_security_posture_functional", + "tags": [ + "FTR", + "HAS TODO" + ], + "lines": [ + " describe('Cloud Posture Dashboard Page')", + " describe('Kubernetes Dashboard')", + " it('displays accurate summary compliance score')", + " describe('TODO - Cloud Dashboard', () => {", + " it('todo - displays accurate summary compliance score', async () => {});" + ], + "testSuits": [ + { + "id": "cloud-posture-dashboard-page", + "rawLine": " describe('Cloud Posture Dashboard Page', function () {", + "line": " describe('Cloud Posture Dashboard Page')", + "label": "Cloud Posture Dashboard Page", + "indent": 2, + "type": "describe", + "isSkipped": false, + "isTodo": false + }, + { + "id": "kubernetes-dashboard", + "rawLine": " describe('Kubernetes Dashboard', () => {", + "line": " describe('Kubernetes Dashboard')", + "label": "Kubernetes Dashboard", + "indent": 4, + "type": "describe", + "isSkipped": false, + "isTodo": false + }, + { + "id": "displays-accurate-summary-compliance-score", + "rawLine": " it('displays accurate summary compliance score', async () => {", + "line": " it('displays accurate summary compliance score')", + "label": "displays accurate summary compliance score", + "indent": 6, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "todo---cloud-dashboard", + "rawLine": " // describe('TODO - Cloud Dashboard', () => {", + "line": " describe('TODO - Cloud Dashboard', () => {", + "label": "TODO - Cloud Dashboard", + "indent": 4, + "type": "describe", + "isSkipped": false, + "isTodo": true + }, + { + "id": "todo---displays-accurate-summary-compliance-score", + "rawLine": " // it('todo - displays accurate summary compliance score', async () => {});", + "line": " it('todo - displays accurate summary compliance score', async () => {});", + "label": "todo - displays accurate summary compliance score", + "indent": 6, + "type": "it", + "isSkipped": false, + "isTodo": true + } + ], + "tree": [ + { + "id": "cloud-posture-dashboard-page", + "rawLine": " describe('Cloud Posture Dashboard Page', function () {", + "line": " describe('Cloud Posture Dashboard Page')", + "label": "Cloud Posture Dashboard Page", + "indent": 2, + "type": "describe", + "isSkipped": false, + "isTodo": false, + "children": [ + { + "id": "kubernetes-dashboard", + "rawLine": " describe('Kubernetes Dashboard', () => {", + "line": " describe('Kubernetes Dashboard')", + "label": "Kubernetes Dashboard", + "indent": 4, + "type": "describe", + "isSkipped": false, + "isTodo": false, + "children": [ + { + "id": "displays-accurate-summary-compliance-score", + "rawLine": " it('displays accurate summary compliance score', async () => {", + "line": " it('displays accurate summary compliance score')", + "label": "displays accurate summary compliance score", + "indent": 6, + "type": "it", + "isSkipped": false, + "isTodo": false + } + ] + }, + { + "id": "todo---cloud-dashboard", + "rawLine": " // describe('TODO - Cloud Dashboard', () => {", + "line": " describe('TODO - Cloud Dashboard', () => {", + "label": "TODO - Cloud Dashboard", + "indent": 4, + "type": "describe", + "isSkipped": false, + "isTodo": true, + "children": [ + { + "id": "todo---displays-accurate-summary-compliance-score", + "rawLine": " // it('todo - displays accurate summary compliance score', async () => {});", + "line": " it('todo - displays accurate summary compliance score', async () => {});", + "label": "todo - displays accurate summary compliance score", + "indent": 6, + "type": "it", + "isSkipped": false, + "isTodo": true + } + ] + } + ] + } + ] + }, + { + "filePath": "x-pack/test/cloud_security_posture_functional/pages/findings_alerts.ts", + "fileName": "findings_alerts.ts", + "directory": "x-pack/test/cloud_security_posture_functional", + "tags": [ + "FTR" + ], + "lines": [ + " describe('Findings Page - Alerts')", + " describe('Create detection rule')", + " it('Creates a detection rule from the Take Action button and navigates to rule page')", + " it('Creates a detection rule from the Alerts section and navigates to rule page')", + " describe('Rule details')", + " it('The rule page contains the expected matching data')", + " describe('Navigation')", + " it('Clicking on count of Rules should navigate to the rules page with benchmark tags as a filter')", + " it('Clicking on count of Alerts should navigate to the alerts page')" + ], + "testSuits": [ + { + "id": "findings-page---alerts", + "rawLine": " describe('Findings Page - Alerts', function () {", + "line": " describe('Findings Page - Alerts')", + "label": "Findings Page - Alerts", + "indent": 2, + "type": "describe", + "isSkipped": false, + "isTodo": false + }, + { + "id": "create-detection-rule", + "rawLine": " describe('Create detection rule', () => {", + "line": " describe('Create detection rule')", + "label": "Create detection rule", + "indent": 4, + "type": "describe", + "isSkipped": false, + "isTodo": false + }, + { + "id": "creates-a-detection-rule-from-the-take-action-button-and-navigates-to-rule-page", + "rawLine": " it('Creates a detection rule from the Take Action button and navigates to rule page', async () => {", + "line": " it('Creates a detection rule from the Take Action button and navigates to rule page')", + "label": "Creates a detection rule from the Take Action button and navigates to rule page", + "indent": 6, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "creates-a-detection-rule-from-the-alerts-section-and-navigates-to-rule-page", + "rawLine": " it('Creates a detection rule from the Alerts section and navigates to rule page', async () => {", + "line": " it('Creates a detection rule from the Alerts section and navigates to rule page')", + "label": "Creates a detection rule from the Alerts section and navigates to rule page", + "indent": 6, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "rule-details", + "rawLine": " describe('Rule details', () => {", + "line": " describe('Rule details')", + "label": "Rule details", + "indent": 4, + "type": "describe", + "isSkipped": false, + "isTodo": false + }, + { + "id": "the-rule-page-contains-the-expected-matching-data", + "rawLine": " it('The rule page contains the expected matching data', async () => {", + "line": " it('The rule page contains the expected matching data')", + "label": "The rule page contains the expected matching data", + "indent": 6, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "navigation", + "rawLine": " describe('Navigation', () => {", + "line": " describe('Navigation')", + "label": "Navigation", + "indent": 4, + "type": "describe", + "isSkipped": false, + "isTodo": false + }, + { + "id": "clicking-on-count-of-rules-should-navigate-to-the-rules-page-with-benchmark-tags-as-a-filter", + "rawLine": " it('Clicking on count of Rules should navigate to the rules page with benchmark tags as a filter', async () => {", + "line": " it('Clicking on count of Rules should navigate to the rules page with benchmark tags as a filter')", + "label": "Clicking on count of Rules should navigate to the rules page with benchmark tags as a filter", + "indent": 6, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "clicking-on-count-of-alerts-should-navigate-to-the-alerts-page", + "rawLine": " it('Clicking on count of Alerts should navigate to the alerts page', async () => {", + "line": " it('Clicking on count of Alerts should navigate to the alerts page')", + "label": "Clicking on count of Alerts should navigate to the alerts page", + "indent": 6, + "type": "it", + "isSkipped": false, + "isTodo": false + } + ], + "tree": [ + { + "id": "findings-page---alerts", + "rawLine": " describe('Findings Page - Alerts', function () {", + "line": " describe('Findings Page - Alerts')", + "label": "Findings Page - Alerts", + "indent": 2, + "type": "describe", + "isSkipped": false, + "isTodo": false, + "children": [ + { + "id": "create-detection-rule", + "rawLine": " describe('Create detection rule', () => {", + "line": " describe('Create detection rule')", + "label": "Create detection rule", + "indent": 4, + "type": "describe", + "isSkipped": false, + "isTodo": false, + "children": [ + { + "id": "creates-a-detection-rule-from-the-take-action-button-and-navigates-to-rule-page", + "rawLine": " it('Creates a detection rule from the Take Action button and navigates to rule page', async () => {", + "line": " it('Creates a detection rule from the Take Action button and navigates to rule page')", + "label": "Creates a detection rule from the Take Action button and navigates to rule page", + "indent": 6, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "creates-a-detection-rule-from-the-alerts-section-and-navigates-to-rule-page", + "rawLine": " it('Creates a detection rule from the Alerts section and navigates to rule page', async () => {", + "line": " it('Creates a detection rule from the Alerts section and navigates to rule page')", + "label": "Creates a detection rule from the Alerts section and navigates to rule page", + "indent": 6, + "type": "it", + "isSkipped": false, + "isTodo": false + } + ] + }, + { + "id": "rule-details", + "rawLine": " describe('Rule details', () => {", + "line": " describe('Rule details')", + "label": "Rule details", + "indent": 4, + "type": "describe", + "isSkipped": false, + "isTodo": false, + "children": [ + { + "id": "the-rule-page-contains-the-expected-matching-data", + "rawLine": " it('The rule page contains the expected matching data', async () => {", + "line": " it('The rule page contains the expected matching data')", + "label": "The rule page contains the expected matching data", + "indent": 6, + "type": "it", + "isSkipped": false, + "isTodo": false + } + ] + }, + { + "id": "navigation", + "rawLine": " describe('Navigation', () => {", + "line": " describe('Navigation')", + "label": "Navigation", + "indent": 4, + "type": "describe", + "isSkipped": false, + "isTodo": false, + "children": [ + { + "id": "clicking-on-count-of-rules-should-navigate-to-the-rules-page-with-benchmark-tags-as-a-filter", + "rawLine": " it('Clicking on count of Rules should navigate to the rules page with benchmark tags as a filter', async () => {", + "line": " it('Clicking on count of Rules should navigate to the rules page with benchmark tags as a filter')", + "label": "Clicking on count of Rules should navigate to the rules page with benchmark tags as a filter", + "indent": 6, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "clicking-on-count-of-alerts-should-navigate-to-the-alerts-page", + "rawLine": " it('Clicking on count of Alerts should navigate to the alerts page', async () => {", + "line": " it('Clicking on count of Alerts should navigate to the alerts page')", + "label": "Clicking on count of Alerts should navigate to the alerts page", + "indent": 6, + "type": "it", + "isSkipped": false, + "isTodo": false + } + ] + } + ] + } + ] + }, + { + "filePath": "x-pack/test/cloud_security_posture_functional/pages/findings_grouping.ts", + "fileName": "findings_grouping.ts", + "directory": "x-pack/test/cloud_security_posture_functional", + "tags": [ + "FTR" + ], + "lines": [ + " describe('Findings Page - Grouping')", + " describe('Default Grouping')", + " it('groups findings by resource and sort by compliance score desc')", + " it('groups findings by rule name and sort by compliance score desc')", + " it('groups findings by cloud account and sort by compliance score desc')", + " it('groups findings by Kubernetes cluster and sort by compliance score desc')", + " describe('SearchBar')", + " it('add filter')", + " it('remove filter')", + " it('set search query')", + " describe('Group table')", + " it('shows findings table when expanding')", + " describe('Default Grouping - support muting rules')", + " it('groups findings by resource after muting rule')" + ], + "testSuits": [ + { + "id": "findings-page---grouping", + "rawLine": " describe('Findings Page - Grouping', function () {", + "line": " describe('Findings Page - Grouping')", + "label": "Findings Page - Grouping", + "indent": 2, + "type": "describe", + "isSkipped": false, + "isTodo": false + }, + { + "id": "default-grouping", + "rawLine": " describe('Default Grouping', async () => {", + "line": " describe('Default Grouping')", + "label": "Default Grouping", + "indent": 4, + "type": "describe", + "isSkipped": false, + "isTodo": false + }, + { + "id": "groups-findings-by-resource-and-sort-by-compliance-score-desc", + "rawLine": " it('groups findings by resource and sort by compliance score desc', async () => {", + "line": " it('groups findings by resource and sort by compliance score desc')", + "label": "groups findings by resource and sort by compliance score desc", + "indent": 6, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "groups-findings-by-rule-name-and-sort-by-compliance-score-desc", + "rawLine": " it('groups findings by rule name and sort by compliance score desc', async () => {", + "line": " it('groups findings by rule name and sort by compliance score desc')", + "label": "groups findings by rule name and sort by compliance score desc", + "indent": 6, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "groups-findings-by-cloud-account-and-sort-by-compliance-score-desc", + "rawLine": " it('groups findings by cloud account and sort by compliance score desc', async () => {", + "line": " it('groups findings by cloud account and sort by compliance score desc')", + "label": "groups findings by cloud account and sort by compliance score desc", + "indent": 6, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "groups-findings-by-kubernetes-cluster-and-sort-by-compliance-score-desc", + "rawLine": " it('groups findings by Kubernetes cluster and sort by compliance score desc', async () => {", + "line": " it('groups findings by Kubernetes cluster and sort by compliance score desc')", + "label": "groups findings by Kubernetes cluster and sort by compliance score desc", + "indent": 6, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "searchbar", + "rawLine": " describe('SearchBar', () => {", + "line": " describe('SearchBar')", + "label": "SearchBar", + "indent": 4, + "type": "describe", + "isSkipped": false, + "isTodo": false + }, + { + "id": "add-filter", + "rawLine": " it('add filter', async () => {", + "line": " it('add filter')", + "label": "add filter", + "indent": 6, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "remove-filter", + "rawLine": " it('remove filter', async () => {", + "line": " it('remove filter')", + "label": "remove filter", + "indent": 6, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "set-search-query", + "rawLine": " it('set search query', async () => {", + "line": " it('set search query')", + "label": "set search query", + "indent": 6, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "group-table", + "rawLine": " describe('Group table', async () => {", + "line": " describe('Group table')", + "label": "Group table", + "indent": 4, + "type": "describe", + "isSkipped": false, + "isTodo": false + }, + { + "id": "shows-findings-table-when-expanding", + "rawLine": " it('shows findings table when expanding', async () => {", + "line": " it('shows findings table when expanding')", + "label": "shows findings table when expanding", + "indent": 6, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "default-grouping---support-muting-rules", + "rawLine": " describe('Default Grouping - support muting rules', async () => {", + "line": " describe('Default Grouping - support muting rules')", + "label": "Default Grouping - support muting rules", + "indent": 4, + "type": "describe", + "isSkipped": false, + "isTodo": false + }, + { + "id": "groups-findings-by-resource-after-muting-rule", + "rawLine": " it('groups findings by resource after muting rule', async () => {", + "line": " it('groups findings by resource after muting rule')", + "label": "groups findings by resource after muting rule", + "indent": 6, + "type": "it", + "isSkipped": false, + "isTodo": false + } + ], + "tree": [ + { + "id": "findings-page---grouping", + "rawLine": " describe('Findings Page - Grouping', function () {", + "line": " describe('Findings Page - Grouping')", + "label": "Findings Page - Grouping", + "indent": 2, + "type": "describe", + "isSkipped": false, + "isTodo": false, + "children": [ + { + "id": "default-grouping", + "rawLine": " describe('Default Grouping', async () => {", + "line": " describe('Default Grouping')", + "label": "Default Grouping", + "indent": 4, + "type": "describe", + "isSkipped": false, + "isTodo": false, + "children": [ + { + "id": "groups-findings-by-resource-and-sort-by-compliance-score-desc", + "rawLine": " it('groups findings by resource and sort by compliance score desc', async () => {", + "line": " it('groups findings by resource and sort by compliance score desc')", + "label": "groups findings by resource and sort by compliance score desc", + "indent": 6, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "groups-findings-by-rule-name-and-sort-by-compliance-score-desc", + "rawLine": " it('groups findings by rule name and sort by compliance score desc', async () => {", + "line": " it('groups findings by rule name and sort by compliance score desc')", + "label": "groups findings by rule name and sort by compliance score desc", + "indent": 6, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "groups-findings-by-cloud-account-and-sort-by-compliance-score-desc", + "rawLine": " it('groups findings by cloud account and sort by compliance score desc', async () => {", + "line": " it('groups findings by cloud account and sort by compliance score desc')", + "label": "groups findings by cloud account and sort by compliance score desc", + "indent": 6, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "groups-findings-by-kubernetes-cluster-and-sort-by-compliance-score-desc", + "rawLine": " it('groups findings by Kubernetes cluster and sort by compliance score desc', async () => {", + "line": " it('groups findings by Kubernetes cluster and sort by compliance score desc')", + "label": "groups findings by Kubernetes cluster and sort by compliance score desc", + "indent": 6, + "type": "it", + "isSkipped": false, + "isTodo": false + } + ] + }, + { + "id": "searchbar", + "rawLine": " describe('SearchBar', () => {", + "line": " describe('SearchBar')", + "label": "SearchBar", + "indent": 4, + "type": "describe", + "isSkipped": false, + "isTodo": false, + "children": [ + { + "id": "add-filter", + "rawLine": " it('add filter', async () => {", + "line": " it('add filter')", + "label": "add filter", + "indent": 6, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "remove-filter", + "rawLine": " it('remove filter', async () => {", + "line": " it('remove filter')", + "label": "remove filter", + "indent": 6, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "set-search-query", + "rawLine": " it('set search query', async () => {", + "line": " it('set search query')", + "label": "set search query", + "indent": 6, + "type": "it", + "isSkipped": false, + "isTodo": false + } + ] + }, + { + "id": "group-table", + "rawLine": " describe('Group table', async () => {", + "line": " describe('Group table')", + "label": "Group table", + "indent": 4, + "type": "describe", + "isSkipped": false, + "isTodo": false, + "children": [ + { + "id": "shows-findings-table-when-expanding", + "rawLine": " it('shows findings table when expanding', async () => {", + "line": " it('shows findings table when expanding')", + "label": "shows findings table when expanding", + "indent": 6, + "type": "it", + "isSkipped": false, + "isTodo": false + } + ] + }, + { + "id": "default-grouping---support-muting-rules", + "rawLine": " describe('Default Grouping - support muting rules', async () => {", + "line": " describe('Default Grouping - support muting rules')", + "label": "Default Grouping - support muting rules", + "indent": 4, + "type": "describe", + "isSkipped": false, + "isTodo": false, + "children": [ + { + "id": "groups-findings-by-resource-after-muting-rule", + "rawLine": " it('groups findings by resource after muting rule', async () => {", + "line": " it('groups findings by resource after muting rule')", + "label": "groups findings by resource after muting rule", + "indent": 6, + "type": "it", + "isSkipped": false, + "isTodo": false + } + ] + } + ] + } + ] + }, + { + "filePath": "x-pack/test/cloud_security_posture_functional/pages/findings_old_data.ts", + "fileName": "findings_old_data.ts", + "directory": "x-pack/test/cloud_security_posture_functional", + "tags": [ + "FTR" + ], + "lines": [ + " describe('Old Data')", + " describe('Findings page with old data')", + " it('returns no Findings KSPM')", + " it('returns no Findings CSPM')" + ], + "testSuits": [ + { + "id": "old-data", + "rawLine": " describe('Old Data', function () {", + "line": " describe('Old Data')", + "label": "Old Data", + "indent": 2, + "type": "describe", + "isSkipped": false, + "isTodo": false + }, + { + "id": "findings-page-with-old-data", + "rawLine": " describe('Findings page with old data', () => {", + "line": " describe('Findings page with old data')", + "label": "Findings page with old data", + "indent": 4, + "type": "describe", + "isSkipped": false, + "isTodo": false + }, + { + "id": "returns-no-findings-kspm", + "rawLine": " it('returns no Findings KSPM', async () => {", + "line": " it('returns no Findings KSPM')", + "label": "returns no Findings KSPM", + "indent": 6, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "returns-no-findings-cspm", + "rawLine": " it('returns no Findings CSPM', async () => {", + "line": " it('returns no Findings CSPM')", + "label": "returns no Findings CSPM", + "indent": 6, + "type": "it", + "isSkipped": false, + "isTodo": false + } + ], + "tree": [ + { + "id": "old-data", + "rawLine": " describe('Old Data', function () {", + "line": " describe('Old Data')", + "label": "Old Data", + "indent": 2, + "type": "describe", + "isSkipped": false, + "isTodo": false, + "children": [ + { + "id": "findings-page-with-old-data", + "rawLine": " describe('Findings page with old data', () => {", + "line": " describe('Findings page with old data')", + "label": "Findings page with old data", + "indent": 4, + "type": "describe", + "isSkipped": false, + "isTodo": false, + "children": [ + { + "id": "returns-no-findings-kspm", + "rawLine": " it('returns no Findings KSPM', async () => {", + "line": " it('returns no Findings KSPM')", + "label": "returns no Findings KSPM", + "indent": 6, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "returns-no-findings-cspm", + "rawLine": " it('returns no Findings CSPM', async () => {", + "line": " it('returns no Findings CSPM')", + "label": "returns no Findings CSPM", + "indent": 6, + "type": "it", + "isSkipped": false, + "isTodo": false + } + ] + } + ] + } + ] + }, + { + "filePath": "x-pack/test/cloud_security_posture_functional/pages/findings_onboarding.ts", + "fileName": "findings_onboarding.ts", + "directory": "x-pack/test/cloud_security_posture_functional", + "tags": [ + "FTR", + "HAS SKIP" + ], + "lines": [ + " describe.skip('Findings Page onboarding')", + " it('clicking on the `No integrations installed` prompt action button - `install CNVM`: navigates to the CNVM integration installation page')", + " it('clicking on the `No integrations installed` prompt action button - `install cloud posture intergation`: navigates to the CSPM integration installation page')", + " it('clicking on the `No integrations installed` prompt action button - `install kubernetes posture intergation`: navigates to the KSPM integration installation page')" + ], + "testSuits": [ + { + "id": "findings-page-onboarding", + "rawLine": " describe.skip('Findings Page onboarding', function () {", + "line": " describe.skip('Findings Page onboarding')", + "label": "Findings Page onboarding", + "indent": 2, + "type": "describe", + "isSkipped": true, + "isTodo": false + }, + { + "id": "clicking-on-the-", + "rawLine": " it('clicking on the `No integrations installed` prompt action button - `install CNVM`: navigates to the CNVM integration installation page', async () => {", + "line": " it('clicking on the `No integrations installed` prompt action button - `install CNVM`: navigates to the CNVM integration installation page')", + "label": "clicking on the ", + "indent": 4, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "clicking-on-the-", + "rawLine": " it('clicking on the `No integrations installed` prompt action button - `install cloud posture intergation`: navigates to the CSPM integration installation page', async () => {", + "line": " it('clicking on the `No integrations installed` prompt action button - `install cloud posture intergation`: navigates to the CSPM integration installation page')", + "label": "clicking on the ", + "indent": 4, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "clicking-on-the-", + "rawLine": " it('clicking on the `No integrations installed` prompt action button - `install kubernetes posture intergation`: navigates to the KSPM integration installation page', async () => {", + "line": " it('clicking on the `No integrations installed` prompt action button - `install kubernetes posture intergation`: navigates to the KSPM integration installation page')", + "label": "clicking on the ", + "indent": 4, + "type": "it", + "isSkipped": false, + "isTodo": false + } + ], + "tree": [ + { + "id": "findings-page-onboarding", + "rawLine": " describe.skip('Findings Page onboarding', function () {", + "line": " describe.skip('Findings Page onboarding')", + "label": "Findings Page onboarding", + "indent": 2, + "type": "describe", + "isSkipped": true, + "isTodo": false, + "children": [ + { + "id": "clicking-on-the-", + "rawLine": " it('clicking on the `No integrations installed` prompt action button - `install CNVM`: navigates to the CNVM integration installation page', async () => {", + "line": " it('clicking on the `No integrations installed` prompt action button - `install CNVM`: navigates to the CNVM integration installation page')", + "label": "clicking on the ", + "indent": 4, + "type": "it", + "isSkipped": true, + "isTodo": false + }, + { + "id": "clicking-on-the-", + "rawLine": " it('clicking on the `No integrations installed` prompt action button - `install cloud posture intergation`: navigates to the CSPM integration installation page', async () => {", + "line": " it('clicking on the `No integrations installed` prompt action button - `install cloud posture intergation`: navigates to the CSPM integration installation page')", + "label": "clicking on the ", + "indent": 4, + "type": "it", + "isSkipped": true, + "isTodo": false + }, + { + "id": "clicking-on-the-", + "rawLine": " it('clicking on the `No integrations installed` prompt action button - `install kubernetes posture intergation`: navigates to the KSPM integration installation page', async () => {", + "line": " it('clicking on the `No integrations installed` prompt action button - `install kubernetes posture intergation`: navigates to the KSPM integration installation page')", + "label": "clicking on the ", + "indent": 4, + "type": "it", + "isSkipped": true, + "isTodo": false + } + ] + } + ] + }, + { + "filePath": "x-pack/test/cloud_security_posture_functional/pages/findings.ts", + "fileName": "findings.ts", + "directory": "x-pack/test/cloud_security_posture_functional", + "tags": [ + "FTR", + "HAS SKIP" + ], + "lines": [ + " describe('Findings Page - DataTable')", + " describe.skip('SearchBar')", + " it('add filter')", + " it('remove filter')", + " it('set search query')", + " describe.skip('Table Sort')", + " it('sorts by a column, should be case sensitive/insensitive depending on the column')", + " describe('DistributionBar')", + " it(`filters by ${type} findings`)", + " describe('DataTable features')", + " it('Edit data view field option is Enabled')", + " describe('Findings - Fields selector')", + " it('Add fields to the Findings DataTable')", + " it('Remove fields from the Findings DataTable')", + " it('Reset fields to default')", + " describe('Findings Page - support muting rules')", + " it(`verify only enabled rules appears`)" + ], + "testSuits": [ + { + "id": "findings-page---datatable", + "rawLine": " describe('Findings Page - DataTable', function () {", + "line": " describe('Findings Page - DataTable')", + "label": "Findings Page - DataTable", + "indent": 2, + "type": "describe", + "isSkipped": false, + "isTodo": false + }, + { + "id": "searchbar", + "rawLine": " describe.skip('SearchBar', () => {", + "line": " describe.skip('SearchBar')", + "label": "SearchBar", + "indent": 4, + "type": "describe", + "isSkipped": true, + "isTodo": false + }, + { + "id": "add-filter", + "rawLine": " it('add filter', async () => {", + "line": " it('add filter')", + "label": "add filter", + "indent": 6, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "remove-filter", + "rawLine": " it('remove filter', async () => {", + "line": " it('remove filter')", + "label": "remove filter", + "indent": 6, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "set-search-query", + "rawLine": " it('set search query', async () => {", + "line": " it('set search query')", + "label": "set search query", + "indent": 6, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "table-sort", + "rawLine": " describe.skip('Table Sort', () => {", + "line": " describe.skip('Table Sort')", + "label": "Table Sort", + "indent": 4, + "type": "describe", + "isSkipped": true, + "isTodo": false + }, + { + "id": "sorts-by-a-column,-should-be-case-sensitive/insensitive-depending-on-the-column", + "rawLine": " it('sorts by a column, should be case sensitive/insensitive depending on the column', async () => {", + "line": " it('sorts by a column, should be case sensitive/insensitive depending on the column')", + "label": "sorts by a column, should be case sensitive/insensitive depending on the column", + "indent": 6, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "distributionbar", + "rawLine": " describe('DistributionBar', () => {", + "line": " describe('DistributionBar')", + "label": "DistributionBar", + "indent": 4, + "type": "describe", + "isSkipped": false, + "isTodo": false + }, + { + "id": "filters-by-${type}-findings", + "rawLine": " it(`filters by ${type} findings`, async () => {", + "line": " it(`filters by ${type} findings`)", + "label": "filters by ${type} findings", + "indent": 8, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "datatable-features", + "rawLine": " describe('DataTable features', () => {", + "line": " describe('DataTable features')", + "label": "DataTable features", + "indent": 4, + "type": "describe", + "isSkipped": false, + "isTodo": false + }, + { + "id": "edit-data-view-field-option-is-enabled", + "rawLine": " it('Edit data view field option is Enabled', async () => {", + "line": " it('Edit data view field option is Enabled')", + "label": "Edit data view field option is Enabled", + "indent": 6, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "findings---fields-selector", + "rawLine": " describe('Findings - Fields selector', () => {", + "line": " describe('Findings - Fields selector')", + "label": "Findings - Fields selector", + "indent": 4, + "type": "describe", + "isSkipped": false, + "isTodo": false + }, + { + "id": "add-fields-to-the-findings-datatable", + "rawLine": " it('Add fields to the Findings DataTable', async () => {", + "line": " it('Add fields to the Findings DataTable')", + "label": "Add fields to the Findings DataTable", + "indent": 6, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "remove-fields-from-the-findings-datatable", + "rawLine": " it('Remove fields from the Findings DataTable', async () => {", + "line": " it('Remove fields from the Findings DataTable')", + "label": "Remove fields from the Findings DataTable", + "indent": 6, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "reset-fields-to-default", + "rawLine": " it('Reset fields to default', async () => {", + "line": " it('Reset fields to default')", + "label": "Reset fields to default", + "indent": 6, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "findings-page---support-muting-rules", + "rawLine": " describe('Findings Page - support muting rules', () => {", + "line": " describe('Findings Page - support muting rules')", + "label": "Findings Page - support muting rules", + "indent": 4, + "type": "describe", + "isSkipped": false, + "isTodo": false + }, + { + "id": "verify-only-enabled-rules-appears", + "rawLine": " it(`verify only enabled rules appears`, async () => {", + "line": " it(`verify only enabled rules appears`)", + "label": "verify only enabled rules appears", + "indent": 6, + "type": "it", + "isSkipped": false, + "isTodo": false + } + ], + "tree": [ + { + "id": "findings-page---datatable", + "rawLine": " describe('Findings Page - DataTable', function () {", + "line": " describe('Findings Page - DataTable')", + "label": "Findings Page - DataTable", + "indent": 2, + "type": "describe", + "isSkipped": false, + "isTodo": false, + "children": [ + { + "id": "searchbar", + "rawLine": " describe.skip('SearchBar', () => {", + "line": " describe.skip('SearchBar')", + "label": "SearchBar", + "indent": 4, + "type": "describe", + "isSkipped": true, + "isTodo": false, + "children": [ + { + "id": "add-filter", + "rawLine": " it('add filter', async () => {", + "line": " it('add filter')", + "label": "add filter", + "indent": 6, + "type": "it", + "isSkipped": true, + "isTodo": false + }, + { + "id": "remove-filter", + "rawLine": " it('remove filter', async () => {", + "line": " it('remove filter')", + "label": "remove filter", + "indent": 6, + "type": "it", + "isSkipped": true, + "isTodo": false + }, + { + "id": "set-search-query", + "rawLine": " it('set search query', async () => {", + "line": " it('set search query')", + "label": "set search query", + "indent": 6, + "type": "it", + "isSkipped": true, + "isTodo": false + } + ] + }, + { + "id": "table-sort", + "rawLine": " describe.skip('Table Sort', () => {", + "line": " describe.skip('Table Sort')", + "label": "Table Sort", + "indent": 4, + "type": "describe", + "isSkipped": true, + "isTodo": false, + "children": [ + { + "id": "sorts-by-a-column,-should-be-case-sensitive/insensitive-depending-on-the-column", + "rawLine": " it('sorts by a column, should be case sensitive/insensitive depending on the column', async () => {", + "line": " it('sorts by a column, should be case sensitive/insensitive depending on the column')", + "label": "sorts by a column, should be case sensitive/insensitive depending on the column", + "indent": 6, + "type": "it", + "isSkipped": true, + "isTodo": false + } + ] + }, + { + "id": "distributionbar", + "rawLine": " describe('DistributionBar', () => {", + "line": " describe('DistributionBar')", + "label": "DistributionBar", + "indent": 4, + "type": "describe", + "isSkipped": false, + "isTodo": false, + "children": [ + { + "id": "filters-by-${type}-findings", + "rawLine": " it(`filters by ${type} findings`, async () => {", + "line": " it(`filters by ${type} findings`)", + "label": "filters by ${type} findings", + "indent": 8, + "type": "it", + "isSkipped": false, + "isTodo": false + } + ] + } + ] + }, + { + "id": "datatable-features", + "rawLine": " describe('DataTable features', () => {", + "line": " describe('DataTable features')", + "label": "DataTable features", + "indent": 4, + "type": "describe", + "isSkipped": false, + "isTodo": false, + "children": [ + { + "id": "edit-data-view-field-option-is-enabled", + "rawLine": " it('Edit data view field option is Enabled', async () => {", + "line": " it('Edit data view field option is Enabled')", + "label": "Edit data view field option is Enabled", + "indent": 6, + "type": "it", + "isSkipped": false, + "isTodo": false + } + ] + }, + { + "id": "findings---fields-selector", + "rawLine": " describe('Findings - Fields selector', () => {", + "line": " describe('Findings - Fields selector')", + "label": "Findings - Fields selector", + "indent": 4, + "type": "describe", + "isSkipped": false, + "isTodo": false, + "children": [ + { + "id": "add-fields-to-the-findings-datatable", + "rawLine": " it('Add fields to the Findings DataTable', async () => {", + "line": " it('Add fields to the Findings DataTable')", + "label": "Add fields to the Findings DataTable", + "indent": 6, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "remove-fields-from-the-findings-datatable", + "rawLine": " it('Remove fields from the Findings DataTable', async () => {", + "line": " it('Remove fields from the Findings DataTable')", + "label": "Remove fields from the Findings DataTable", + "indent": 6, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "reset-fields-to-default", + "rawLine": " it('Reset fields to default', async () => {", + "line": " it('Reset fields to default')", + "label": "Reset fields to default", + "indent": 6, + "type": "it", + "isSkipped": false, + "isTodo": false + } + ] + }, + { + "id": "findings-page---support-muting-rules", + "rawLine": " describe('Findings Page - support muting rules', () => {", + "line": " describe('Findings Page - support muting rules')", + "label": "Findings Page - support muting rules", + "indent": 4, + "type": "describe", + "isSkipped": false, + "isTodo": false, + "children": [ + { + "id": "verify-only-enabled-rules-appears", + "rawLine": " it(`verify only enabled rules appears`, async () => {", + "line": " it(`verify only enabled rules appears`)", + "label": "verify only enabled rules appears", + "indent": 6, + "type": "it", + "isSkipped": false, + "isTodo": false + } + ] + } + ] + }, + { + "filePath": "x-pack/test/cloud_security_posture_functional/pages/index.ts", + "fileName": "index.ts", + "directory": "x-pack/test/cloud_security_posture_functional", + "tags": [ + "FTR" + ], + "lines": [ + " describe('Cloud Security Posture')" + ], + "testSuits": [ + { + "id": "cloud-security-posture", + "rawLine": " describe('Cloud Security Posture', function () {", + "line": " describe('Cloud Security Posture')", + "label": "Cloud Security Posture", + "indent": 2, + "type": "describe", + "isSkipped": false, + "isTodo": false + } + ], + "tree": [ + { + "id": "cloud-security-posture", + "rawLine": " describe('Cloud Security Posture', function () {", + "line": " describe('Cloud Security Posture')", + "label": "Cloud Security Posture", + "indent": 2, + "type": "describe", + "isSkipped": false, + "isTodo": false + } + ] + }, + { + "filePath": "x-pack/test/cloud_security_posture_functional/pages/rules.ts", + "fileName": "rules.ts", + "directory": "x-pack/test/cloud_security_posture_functional", + "tags": [ + "FTR" + ], + "lines": [ + " describe('Cloud Posture Rules Page')", + " describe('Rules Page - Rules Counters')", + " it('Shows posture score when there are findings')", + " it('Clicking the posture score button leads to the dashboard')", + " it('Shows integrations count when there are findings')", + " it('Clicking the integrations counter button leads to the integration page')", + " it('Shows the failed findings counter when there are findings')", + " it('Clicking the failed findings button leads to the findings page')", + " it('Shows the disabled rules count')", + " it('Clicking the disabled rules button shows enables the disabled filter')", + " it('Shows empty state when there are no findings')", + " describe('Rules Page - Bulk Action buttons')", + " it('It should disable Enable option when there are all rules selected are already enabled ')", + " it('It should disable both Enable and Disable options when there are no rules selected')", + " it('It should disable Disable option when there are all rules selected are already Disabled')", + " it('Both option should not be disabled if selected rules contains both enabled and disabled rules')", + " describe('Rules Page - Enable Rules and Disabled Rules Filter Toggle')", + " it('Should only display Enabled rules when Enabled Rules filter is ON')", + " it('Should only display Disabled rules when Disabled Rules filter is ON')", + " describe('Rules Page - CIS Section & Rule Number filters')", + " it('Table should only show result that has the same section as in the Section filter')", + " it('Table should only show result that has the same section as in the Rule number filter')", + " it('Table should only show result that passes both Section and Rule number filter')", + " describe('Rules Page - Flyout')", + " it('Users are able to Enable/Disable Rule from Switch on Rule Flyout')", + " it('Alerts section of Rules Flyout shows Disabled text when Rules are disabled')", + " it('Users are able to Enable/Disable Rule from Take Action on Rule Flyout')", + " it('Alerts section of Rules Flyout shows Detection Rule Counter component when Rules are enabled')" + ], + "testSuits": [ + { + "id": "cloud-posture-rules-page", + "rawLine": " describe('Cloud Posture Rules Page', function () {", + "line": " describe('Cloud Posture Rules Page')", + "label": "Cloud Posture Rules Page", + "indent": 2, + "type": "describe", + "isSkipped": false, + "isTodo": false + }, + { + "id": "rules-page---rules-counters", + "rawLine": " describe('Rules Page - Rules Counters', () => {", + "line": " describe('Rules Page - Rules Counters')", + "label": "Rules Page - Rules Counters", + "indent": 4, + "type": "describe", + "isSkipped": false, + "isTodo": false + }, + { + "id": "shows-posture-score-when-there-are-findings", + "rawLine": " it('Shows posture score when there are findings', async () => {", + "line": " it('Shows posture score when there are findings')", + "label": "Shows posture score when there are findings", + "indent": 6, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "clicking-the-posture-score-button-leads-to-the-dashboard", + "rawLine": " it('Clicking the posture score button leads to the dashboard', async () => {", + "line": " it('Clicking the posture score button leads to the dashboard')", + "label": "Clicking the posture score button leads to the dashboard", + "indent": 6, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "shows-integrations-count-when-there-are-findings", + "rawLine": " it('Shows integrations count when there are findings', async () => {", + "line": " it('Shows integrations count when there are findings')", + "label": "Shows integrations count when there are findings", + "indent": 6, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "clicking-the-integrations-counter-button-leads-to-the-integration-page", + "rawLine": " it('Clicking the integrations counter button leads to the integration page', async () => {", + "line": " it('Clicking the integrations counter button leads to the integration page')", + "label": "Clicking the integrations counter button leads to the integration page", + "indent": 6, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "shows-the-failed-findings-counter-when-there-are-findings", + "rawLine": " it('Shows the failed findings counter when there are findings', async () => {", + "line": " it('Shows the failed findings counter when there are findings')", + "label": "Shows the failed findings counter when there are findings", + "indent": 6, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "clicking-the-failed-findings-button-leads-to-the-findings-page", + "rawLine": " it('Clicking the failed findings button leads to the findings page', async () => {", + "line": " it('Clicking the failed findings button leads to the findings page')", + "label": "Clicking the failed findings button leads to the findings page", + "indent": 6, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "shows-the-disabled-rules-count", + "rawLine": " it('Shows the disabled rules count', async () => {", + "line": " it('Shows the disabled rules count')", + "label": "Shows the disabled rules count", + "indent": 6, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "clicking-the-disabled-rules-button-shows-enables-the-disabled-filter", + "rawLine": " it('Clicking the disabled rules button shows enables the disabled filter', async () => {", + "line": " it('Clicking the disabled rules button shows enables the disabled filter')", + "label": "Clicking the disabled rules button shows enables the disabled filter", + "indent": 6, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "shows-empty-state-when-there-are-no-findings", + "rawLine": " it('Shows empty state when there are no findings', async () => {", + "line": " it('Shows empty state when there are no findings')", + "label": "Shows empty state when there are no findings", + "indent": 6, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "rules-page---bulk-action-buttons", + "rawLine": " describe('Rules Page - Bulk Action buttons', () => {", + "line": " describe('Rules Page - Bulk Action buttons')", + "label": "Rules Page - Bulk Action buttons", + "indent": 4, + "type": "describe", + "isSkipped": false, + "isTodo": false + }, + { + "id": "it-should-disable-enable-option-when-there-are-all-rules-selected-are-already-enabled-", + "rawLine": " it('It should disable Enable option when there are all rules selected are already enabled ', async () => {", + "line": " it('It should disable Enable option when there are all rules selected are already enabled ')", + "label": "It should disable Enable option when there are all rules selected are already enabled ", + "indent": 6, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "it-should-disable-both-enable-and-disable-options-when-there-are-no-rules-selected", + "rawLine": " it('It should disable both Enable and Disable options when there are no rules selected', async () => {", + "line": " it('It should disable both Enable and Disable options when there are no rules selected')", + "label": "It should disable both Enable and Disable options when there are no rules selected", + "indent": 6, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "it-should-disable-disable-option-when-there-are-all-rules-selected-are-already-disabled", + "rawLine": " it('It should disable Disable option when there are all rules selected are already Disabled', async () => {", + "line": " it('It should disable Disable option when there are all rules selected are already Disabled')", + "label": "It should disable Disable option when there are all rules selected are already Disabled", + "indent": 6, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "both-option-should-not-be-disabled-if-selected-rules-contains-both-enabled-and-disabled-rules", + "rawLine": " it('Both option should not be disabled if selected rules contains both enabled and disabled rules', async () => {", + "line": " it('Both option should not be disabled if selected rules contains both enabled and disabled rules')", + "label": "Both option should not be disabled if selected rules contains both enabled and disabled rules", + "indent": 6, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "rules-page---enable-rules-and-disabled-rules-filter-toggle", + "rawLine": " describe('Rules Page - Enable Rules and Disabled Rules Filter Toggle', () => {", + "line": " describe('Rules Page - Enable Rules and Disabled Rules Filter Toggle')", + "label": "Rules Page - Enable Rules and Disabled Rules Filter Toggle", + "indent": 4, + "type": "describe", + "isSkipped": false, + "isTodo": false + }, + { + "id": "should-only-display-enabled-rules-when-enabled-rules-filter-is-on", + "rawLine": " it('Should only display Enabled rules when Enabled Rules filter is ON', async () => {", + "line": " it('Should only display Enabled rules when Enabled Rules filter is ON')", + "label": "Should only display Enabled rules when Enabled Rules filter is ON", + "indent": 6, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "should-only-display-disabled-rules-when-disabled-rules-filter-is-on", + "rawLine": " it('Should only display Disabled rules when Disabled Rules filter is ON', async () => {", + "line": " it('Should only display Disabled rules when Disabled Rules filter is ON')", + "label": "Should only display Disabled rules when Disabled Rules filter is ON", + "indent": 6, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "rules-page---cis-section-&-rule-number-filters", + "rawLine": " describe('Rules Page - CIS Section & Rule Number filters', () => {", + "line": " describe('Rules Page - CIS Section & Rule Number filters')", + "label": "Rules Page - CIS Section & Rule Number filters", + "indent": 4, + "type": "describe", + "isSkipped": false, + "isTodo": false + }, + { + "id": "table-should-only-show-result-that-has-the-same-section-as-in-the-section-filter", + "rawLine": " it('Table should only show result that has the same section as in the Section filter', async () => {", + "line": " it('Table should only show result that has the same section as in the Section filter')", + "label": "Table should only show result that has the same section as in the Section filter", + "indent": 6, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "table-should-only-show-result-that-has-the-same-section-as-in-the-rule-number-filter", + "rawLine": " it('Table should only show result that has the same section as in the Rule number filter', async () => {", + "line": " it('Table should only show result that has the same section as in the Rule number filter')", + "label": "Table should only show result that has the same section as in the Rule number filter", + "indent": 6, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "table-should-only-show-result-that-passes-both-section-and-rule-number-filter", + "rawLine": " it('Table should only show result that passes both Section and Rule number filter', async () => {", + "line": " it('Table should only show result that passes both Section and Rule number filter')", + "label": "Table should only show result that passes both Section and Rule number filter", + "indent": 6, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "rules-page---flyout", + "rawLine": " describe('Rules Page - Flyout', () => {", + "line": " describe('Rules Page - Flyout')", + "label": "Rules Page - Flyout", + "indent": 4, + "type": "describe", + "isSkipped": false, + "isTodo": false + }, + { + "id": "users-are-able-to-enable/disable-rule-from-switch-on-rule-flyout", + "rawLine": " it('Users are able to Enable/Disable Rule from Switch on Rule Flyout', async () => {", + "line": " it('Users are able to Enable/Disable Rule from Switch on Rule Flyout')", + "label": "Users are able to Enable/Disable Rule from Switch on Rule Flyout", + "indent": 6, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "alerts-section-of-rules-flyout-shows-disabled-text-when-rules-are-disabled", + "rawLine": " it('Alerts section of Rules Flyout shows Disabled text when Rules are disabled', async () => {", + "line": " it('Alerts section of Rules Flyout shows Disabled text when Rules are disabled')", + "label": "Alerts section of Rules Flyout shows Disabled text when Rules are disabled", + "indent": 6, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "users-are-able-to-enable/disable-rule-from-take-action-on-rule-flyout", + "rawLine": " it('Users are able to Enable/Disable Rule from Take Action on Rule Flyout', async () => {", + "line": " it('Users are able to Enable/Disable Rule from Take Action on Rule Flyout')", + "label": "Users are able to Enable/Disable Rule from Take Action on Rule Flyout", + "indent": 6, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "alerts-section-of-rules-flyout-shows-detection-rule-counter-component-when-rules-are-enabled", + "rawLine": " it('Alerts section of Rules Flyout shows Detection Rule Counter component when Rules are enabled', async () => {", + "line": " it('Alerts section of Rules Flyout shows Detection Rule Counter component when Rules are enabled')", + "label": "Alerts section of Rules Flyout shows Detection Rule Counter component when Rules are enabled", + "indent": 6, + "type": "it", + "isSkipped": false, + "isTodo": false + } + ], + "tree": [ + { + "id": "cloud-posture-rules-page", + "rawLine": " describe('Cloud Posture Rules Page', function () {", + "line": " describe('Cloud Posture Rules Page')", + "label": "Cloud Posture Rules Page", + "indent": 2, + "type": "describe", + "isSkipped": false, + "isTodo": false, + "children": [ + { + "id": "rules-page---rules-counters", + "rawLine": " describe('Rules Page - Rules Counters', () => {", + "line": " describe('Rules Page - Rules Counters')", + "label": "Rules Page - Rules Counters", + "indent": 4, + "type": "describe", + "isSkipped": false, + "isTodo": false, + "children": [ + { + "id": "shows-posture-score-when-there-are-findings", + "rawLine": " it('Shows posture score when there are findings', async () => {", + "line": " it('Shows posture score when there are findings')", + "label": "Shows posture score when there are findings", + "indent": 6, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "clicking-the-posture-score-button-leads-to-the-dashboard", + "rawLine": " it('Clicking the posture score button leads to the dashboard', async () => {", + "line": " it('Clicking the posture score button leads to the dashboard')", + "label": "Clicking the posture score button leads to the dashboard", + "indent": 6, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "shows-integrations-count-when-there-are-findings", + "rawLine": " it('Shows integrations count when there are findings', async () => {", + "line": " it('Shows integrations count when there are findings')", + "label": "Shows integrations count when there are findings", + "indent": 6, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "clicking-the-integrations-counter-button-leads-to-the-integration-page", + "rawLine": " it('Clicking the integrations counter button leads to the integration page', async () => {", + "line": " it('Clicking the integrations counter button leads to the integration page')", + "label": "Clicking the integrations counter button leads to the integration page", + "indent": 6, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "shows-the-failed-findings-counter-when-there-are-findings", + "rawLine": " it('Shows the failed findings counter when there are findings', async () => {", + "line": " it('Shows the failed findings counter when there are findings')", + "label": "Shows the failed findings counter when there are findings", + "indent": 6, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "clicking-the-failed-findings-button-leads-to-the-findings-page", + "rawLine": " it('Clicking the failed findings button leads to the findings page', async () => {", + "line": " it('Clicking the failed findings button leads to the findings page')", + "label": "Clicking the failed findings button leads to the findings page", + "indent": 6, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "shows-the-disabled-rules-count", + "rawLine": " it('Shows the disabled rules count', async () => {", + "line": " it('Shows the disabled rules count')", + "label": "Shows the disabled rules count", + "indent": 6, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "clicking-the-disabled-rules-button-shows-enables-the-disabled-filter", + "rawLine": " it('Clicking the disabled rules button shows enables the disabled filter', async () => {", + "line": " it('Clicking the disabled rules button shows enables the disabled filter')", + "label": "Clicking the disabled rules button shows enables the disabled filter", + "indent": 6, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "shows-empty-state-when-there-are-no-findings", + "rawLine": " it('Shows empty state when there are no findings', async () => {", + "line": " it('Shows empty state when there are no findings')", + "label": "Shows empty state when there are no findings", + "indent": 6, + "type": "it", + "isSkipped": false, + "isTodo": false + } + ] + }, + { + "id": "rules-page---bulk-action-buttons", + "rawLine": " describe('Rules Page - Bulk Action buttons', () => {", + "line": " describe('Rules Page - Bulk Action buttons')", + "label": "Rules Page - Bulk Action buttons", + "indent": 4, + "type": "describe", + "isSkipped": false, + "isTodo": false, + "children": [ + { + "id": "it-should-disable-enable-option-when-there-are-all-rules-selected-are-already-enabled-", + "rawLine": " it('It should disable Enable option when there are all rules selected are already enabled ', async () => {", + "line": " it('It should disable Enable option when there are all rules selected are already enabled ')", + "label": "It should disable Enable option when there are all rules selected are already enabled ", + "indent": 6, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "it-should-disable-both-enable-and-disable-options-when-there-are-no-rules-selected", + "rawLine": " it('It should disable both Enable and Disable options when there are no rules selected', async () => {", + "line": " it('It should disable both Enable and Disable options when there are no rules selected')", + "label": "It should disable both Enable and Disable options when there are no rules selected", + "indent": 6, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "it-should-disable-disable-option-when-there-are-all-rules-selected-are-already-disabled", + "rawLine": " it('It should disable Disable option when there are all rules selected are already Disabled', async () => {", + "line": " it('It should disable Disable option when there are all rules selected are already Disabled')", + "label": "It should disable Disable option when there are all rules selected are already Disabled", + "indent": 6, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "both-option-should-not-be-disabled-if-selected-rules-contains-both-enabled-and-disabled-rules", + "rawLine": " it('Both option should not be disabled if selected rules contains both enabled and disabled rules', async () => {", + "line": " it('Both option should not be disabled if selected rules contains both enabled and disabled rules')", + "label": "Both option should not be disabled if selected rules contains both enabled and disabled rules", + "indent": 6, + "type": "it", + "isSkipped": false, + "isTodo": false + } + ] + }, + { + "id": "rules-page---enable-rules-and-disabled-rules-filter-toggle", + "rawLine": " describe('Rules Page - Enable Rules and Disabled Rules Filter Toggle', () => {", + "line": " describe('Rules Page - Enable Rules and Disabled Rules Filter Toggle')", + "label": "Rules Page - Enable Rules and Disabled Rules Filter Toggle", + "indent": 4, + "type": "describe", + "isSkipped": false, + "isTodo": false, + "children": [ + { + "id": "should-only-display-enabled-rules-when-enabled-rules-filter-is-on", + "rawLine": " it('Should only display Enabled rules when Enabled Rules filter is ON', async () => {", + "line": " it('Should only display Enabled rules when Enabled Rules filter is ON')", + "label": "Should only display Enabled rules when Enabled Rules filter is ON", + "indent": 6, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "should-only-display-disabled-rules-when-disabled-rules-filter-is-on", + "rawLine": " it('Should only display Disabled rules when Disabled Rules filter is ON', async () => {", + "line": " it('Should only display Disabled rules when Disabled Rules filter is ON')", + "label": "Should only display Disabled rules when Disabled Rules filter is ON", + "indent": 6, + "type": "it", + "isSkipped": false, + "isTodo": false + } + ] + }, + { + "id": "rules-page---cis-section-&-rule-number-filters", + "rawLine": " describe('Rules Page - CIS Section & Rule Number filters', () => {", + "line": " describe('Rules Page - CIS Section & Rule Number filters')", + "label": "Rules Page - CIS Section & Rule Number filters", + "indent": 4, + "type": "describe", + "isSkipped": false, + "isTodo": false, + "children": [ + { + "id": "table-should-only-show-result-that-has-the-same-section-as-in-the-section-filter", + "rawLine": " it('Table should only show result that has the same section as in the Section filter', async () => {", + "line": " it('Table should only show result that has the same section as in the Section filter')", + "label": "Table should only show result that has the same section as in the Section filter", + "indent": 6, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "table-should-only-show-result-that-has-the-same-section-as-in-the-rule-number-filter", + "rawLine": " it('Table should only show result that has the same section as in the Rule number filter', async () => {", + "line": " it('Table should only show result that has the same section as in the Rule number filter')", + "label": "Table should only show result that has the same section as in the Rule number filter", + "indent": 6, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "table-should-only-show-result-that-passes-both-section-and-rule-number-filter", + "rawLine": " it('Table should only show result that passes both Section and Rule number filter', async () => {", + "line": " it('Table should only show result that passes both Section and Rule number filter')", + "label": "Table should only show result that passes both Section and Rule number filter", + "indent": 6, + "type": "it", + "isSkipped": false, + "isTodo": false + } + ] + }, + { + "id": "rules-page---flyout", + "rawLine": " describe('Rules Page - Flyout', () => {", + "line": " describe('Rules Page - Flyout')", + "label": "Rules Page - Flyout", + "indent": 4, + "type": "describe", + "isSkipped": false, + "isTodo": false, + "children": [ + { + "id": "users-are-able-to-enable/disable-rule-from-switch-on-rule-flyout", + "rawLine": " it('Users are able to Enable/Disable Rule from Switch on Rule Flyout', async () => {", + "line": " it('Users are able to Enable/Disable Rule from Switch on Rule Flyout')", + "label": "Users are able to Enable/Disable Rule from Switch on Rule Flyout", + "indent": 6, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "alerts-section-of-rules-flyout-shows-disabled-text-when-rules-are-disabled", + "rawLine": " it('Alerts section of Rules Flyout shows Disabled text when Rules are disabled', async () => {", + "line": " it('Alerts section of Rules Flyout shows Disabled text when Rules are disabled')", + "label": "Alerts section of Rules Flyout shows Disabled text when Rules are disabled", + "indent": 6, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "users-are-able-to-enable/disable-rule-from-take-action-on-rule-flyout", + "rawLine": " it('Users are able to Enable/Disable Rule from Take Action on Rule Flyout', async () => {", + "line": " it('Users are able to Enable/Disable Rule from Take Action on Rule Flyout')", + "label": "Users are able to Enable/Disable Rule from Take Action on Rule Flyout", + "indent": 6, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "alerts-section-of-rules-flyout-shows-detection-rule-counter-component-when-rules-are-enabled", + "rawLine": " it('Alerts section of Rules Flyout shows Detection Rule Counter component when Rules are enabled', async () => {", + "line": " it('Alerts section of Rules Flyout shows Detection Rule Counter component when Rules are enabled')", + "label": "Alerts section of Rules Flyout shows Detection Rule Counter component when Rules are enabled", + "indent": 6, + "type": "it", + "isSkipped": false, + "isTodo": false + } + ] + } + ] + } + ] + }, + { + "filePath": "x-pack/test/cloud_security_posture_functional/pages/vulnerabilities_grouping.ts", + "fileName": "vulnerabilities_grouping.ts", + "directory": "x-pack/test/cloud_security_posture_functional", + "tags": [ + "FTR" + ], + "lines": [ + " describe('Vulnerabilities Page - Grouping')", + " describe('Default Grouping')", + " it('groups vulnerabilities by cloud account and sort by number of vulnerabilities desc')", + " it('groups vulnerabilities by CVE and sort by number of vulnerabilities desc')", + " it('groups vulnerabilities by resource and sort by number of vulnerabilities desc')", + " describe('SearchBar')", + " it('add filter')", + " it('remove filter')", + " it('set search query')", + " describe('Group table')", + " it('shows vulnerabilities table when expanding')" + ], + "testSuits": [ + { + "id": "vulnerabilities-page---grouping", + "rawLine": " describe('Vulnerabilities Page - Grouping', function () {", + "line": " describe('Vulnerabilities Page - Grouping')", + "label": "Vulnerabilities Page - Grouping", + "indent": 2, + "type": "describe", + "isSkipped": false, + "isTodo": false + }, + { + "id": "default-grouping", + "rawLine": " describe('Default Grouping', async () => {", + "line": " describe('Default Grouping')", + "label": "Default Grouping", + "indent": 4, + "type": "describe", + "isSkipped": false, + "isTodo": false + }, + { + "id": "groups-vulnerabilities-by-cloud-account-and-sort-by-number-of-vulnerabilities-desc", + "rawLine": " it('groups vulnerabilities by cloud account and sort by number of vulnerabilities desc', async () => {", + "line": " it('groups vulnerabilities by cloud account and sort by number of vulnerabilities desc')", + "label": "groups vulnerabilities by cloud account and sort by number of vulnerabilities desc", + "indent": 6, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "groups-vulnerabilities-by-cve-and-sort-by-number-of-vulnerabilities-desc", + "rawLine": " it('groups vulnerabilities by CVE and sort by number of vulnerabilities desc', async () => {", + "line": " it('groups vulnerabilities by CVE and sort by number of vulnerabilities desc')", + "label": "groups vulnerabilities by CVE and sort by number of vulnerabilities desc", + "indent": 6, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "groups-vulnerabilities-by-resource-and-sort-by-number-of-vulnerabilities-desc", + "rawLine": " it('groups vulnerabilities by resource and sort by number of vulnerabilities desc', async () => {", + "line": " it('groups vulnerabilities by resource and sort by number of vulnerabilities desc')", + "label": "groups vulnerabilities by resource and sort by number of vulnerabilities desc", + "indent": 6, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "searchbar", + "rawLine": " describe('SearchBar', () => {", + "line": " describe('SearchBar')", + "label": "SearchBar", + "indent": 4, + "type": "describe", + "isSkipped": false, + "isTodo": false + }, + { + "id": "add-filter", + "rawLine": " it('add filter', async () => {", + "line": " it('add filter')", + "label": "add filter", + "indent": 6, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "remove-filter", + "rawLine": " it('remove filter', async () => {", + "line": " it('remove filter')", + "label": "remove filter", + "indent": 6, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "set-search-query", + "rawLine": " it('set search query', async () => {", + "line": " it('set search query')", + "label": "set search query", + "indent": 6, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "group-table", + "rawLine": " describe('Group table', async () => {", + "line": " describe('Group table')", + "label": "Group table", + "indent": 4, + "type": "describe", + "isSkipped": false, + "isTodo": false + }, + { + "id": "shows-vulnerabilities-table-when-expanding", + "rawLine": " it('shows vulnerabilities table when expanding', async () => {", + "line": " it('shows vulnerabilities table when expanding')", + "label": "shows vulnerabilities table when expanding", + "indent": 6, + "type": "it", + "isSkipped": false, + "isTodo": false + } + ], + "tree": [ + { + "id": "vulnerabilities-page---grouping", + "rawLine": " describe('Vulnerabilities Page - Grouping', function () {", + "line": " describe('Vulnerabilities Page - Grouping')", + "label": "Vulnerabilities Page - Grouping", + "indent": 2, + "type": "describe", + "isSkipped": false, + "isTodo": false, + "children": [ + { + "id": "default-grouping", + "rawLine": " describe('Default Grouping', async () => {", + "line": " describe('Default Grouping')", + "label": "Default Grouping", + "indent": 4, + "type": "describe", + "isSkipped": false, + "isTodo": false, + "children": [ + { + "id": "groups-vulnerabilities-by-cloud-account-and-sort-by-number-of-vulnerabilities-desc", + "rawLine": " it('groups vulnerabilities by cloud account and sort by number of vulnerabilities desc', async () => {", + "line": " it('groups vulnerabilities by cloud account and sort by number of vulnerabilities desc')", + "label": "groups vulnerabilities by cloud account and sort by number of vulnerabilities desc", + "indent": 6, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "groups-vulnerabilities-by-cve-and-sort-by-number-of-vulnerabilities-desc", + "rawLine": " it('groups vulnerabilities by CVE and sort by number of vulnerabilities desc', async () => {", + "line": " it('groups vulnerabilities by CVE and sort by number of vulnerabilities desc')", + "label": "groups vulnerabilities by CVE and sort by number of vulnerabilities desc", + "indent": 6, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "groups-vulnerabilities-by-resource-and-sort-by-number-of-vulnerabilities-desc", + "rawLine": " it('groups vulnerabilities by resource and sort by number of vulnerabilities desc', async () => {", + "line": " it('groups vulnerabilities by resource and sort by number of vulnerabilities desc')", + "label": "groups vulnerabilities by resource and sort by number of vulnerabilities desc", + "indent": 6, + "type": "it", + "isSkipped": false, + "isTodo": false + } + ] + }, + { + "id": "searchbar", + "rawLine": " describe('SearchBar', () => {", + "line": " describe('SearchBar')", + "label": "SearchBar", + "indent": 4, + "type": "describe", + "isSkipped": false, + "isTodo": false, + "children": [ + { + "id": "add-filter", + "rawLine": " it('add filter', async () => {", + "line": " it('add filter')", + "label": "add filter", + "indent": 6, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "remove-filter", + "rawLine": " it('remove filter', async () => {", + "line": " it('remove filter')", + "label": "remove filter", + "indent": 6, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "set-search-query", + "rawLine": " it('set search query', async () => {", + "line": " it('set search query')", + "label": "set search query", + "indent": 6, + "type": "it", + "isSkipped": false, + "isTodo": false + } + ] + }, + { + "id": "group-table", + "rawLine": " describe('Group table', async () => {", + "line": " describe('Group table')", + "label": "Group table", + "indent": 4, + "type": "describe", + "isSkipped": false, + "isTodo": false, + "children": [ + { + "id": "shows-vulnerabilities-table-when-expanding", + "rawLine": " it('shows vulnerabilities table when expanding', async () => {", + "line": " it('shows vulnerabilities table when expanding')", + "label": "shows vulnerabilities table when expanding", + "indent": 6, + "type": "it", + "isSkipped": false, + "isTodo": false + } + ] + } + ] + } + ] + }, + { + "filePath": "x-pack/test/cloud_security_posture_functional/pages/vulnerabilities.ts", + "fileName": "vulnerabilities.ts", + "directory": "x-pack/test/cloud_security_posture_functional", + "tags": [ + "FTR" + ], + "lines": [ + " describe('Vulnerabilities Page - DataTable')", + " describe('SearchBar')", + " it('add filter')", + " it('remove filter')", + " it('set search query')", + " describe('DataTable features')", + " it('Edit data view field option is Enabled')", + " describe('Vulnerabilities - Fields selector')", + " it('Add fields to the Vulnerabilities DataTable')", + " it('Remove fields from the Vulnerabilities DataTable')", + " it('Reset fields to default')" + ], + "testSuits": [ + { + "id": "vulnerabilities-page---datatable", + "rawLine": " describe('Vulnerabilities Page - DataTable', function () {", + "line": " describe('Vulnerabilities Page - DataTable')", + "label": "Vulnerabilities Page - DataTable", + "indent": 2, + "type": "describe", + "isSkipped": false, + "isTodo": false + }, + { + "id": "searchbar", + "rawLine": " describe('SearchBar', () => {", + "line": " describe('SearchBar')", + "label": "SearchBar", + "indent": 4, + "type": "describe", + "isSkipped": false, + "isTodo": false + }, + { + "id": "add-filter", + "rawLine": " it('add filter', async () => {", + "line": " it('add filter')", + "label": "add filter", + "indent": 6, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "remove-filter", + "rawLine": " it('remove filter', async () => {", + "line": " it('remove filter')", + "label": "remove filter", + "indent": 6, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "set-search-query", + "rawLine": " it('set search query', async () => {", + "line": " it('set search query')", + "label": "set search query", + "indent": 6, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "datatable-features", + "rawLine": " describe('DataTable features', () => {", + "line": " describe('DataTable features')", + "label": "DataTable features", + "indent": 4, + "type": "describe", + "isSkipped": false, + "isTodo": false + }, + { + "id": "edit-data-view-field-option-is-enabled", + "rawLine": " it('Edit data view field option is Enabled', async () => {", + "line": " it('Edit data view field option is Enabled')", + "label": "Edit data view field option is Enabled", + "indent": 6, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "vulnerabilities---fields-selector", + "rawLine": " describe('Vulnerabilities - Fields selector', () => {", + "line": " describe('Vulnerabilities - Fields selector')", + "label": "Vulnerabilities - Fields selector", + "indent": 4, + "type": "describe", + "isSkipped": false, + "isTodo": false + }, + { + "id": "add-fields-to-the-vulnerabilities-datatable", + "rawLine": " it('Add fields to the Vulnerabilities DataTable', async () => {", + "line": " it('Add fields to the Vulnerabilities DataTable')", + "label": "Add fields to the Vulnerabilities DataTable", + "indent": 6, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "remove-fields-from-the-vulnerabilities-datatable", + "rawLine": " it('Remove fields from the Vulnerabilities DataTable', async () => {", + "line": " it('Remove fields from the Vulnerabilities DataTable')", + "label": "Remove fields from the Vulnerabilities DataTable", + "indent": 6, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "reset-fields-to-default", + "rawLine": " it('Reset fields to default', async () => {", + "line": " it('Reset fields to default')", + "label": "Reset fields to default", + "indent": 6, + "type": "it", + "isSkipped": false, + "isTodo": false + } + ], + "tree": [ + { + "id": "vulnerabilities-page---datatable", + "rawLine": " describe('Vulnerabilities Page - DataTable', function () {", + "line": " describe('Vulnerabilities Page - DataTable')", + "label": "Vulnerabilities Page - DataTable", + "indent": 2, + "type": "describe", + "isSkipped": false, + "isTodo": false, + "children": [ + { + "id": "searchbar", + "rawLine": " describe('SearchBar', () => {", + "line": " describe('SearchBar')", + "label": "SearchBar", + "indent": 4, + "type": "describe", + "isSkipped": false, + "isTodo": false, + "children": [ + { + "id": "add-filter", + "rawLine": " it('add filter', async () => {", + "line": " it('add filter')", + "label": "add filter", + "indent": 6, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "remove-filter", + "rawLine": " it('remove filter', async () => {", + "line": " it('remove filter')", + "label": "remove filter", + "indent": 6, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "set-search-query", + "rawLine": " it('set search query', async () => {", + "line": " it('set search query')", + "label": "set search query", + "indent": 6, + "type": "it", + "isSkipped": false, + "isTodo": false + } + ] + }, + { + "id": "datatable-features", + "rawLine": " describe('DataTable features', () => {", + "line": " describe('DataTable features')", + "label": "DataTable features", + "indent": 4, + "type": "describe", + "isSkipped": false, + "isTodo": false, + "children": [ + { + "id": "edit-data-view-field-option-is-enabled", + "rawLine": " it('Edit data view field option is Enabled', async () => {", + "line": " it('Edit data view field option is Enabled')", + "label": "Edit data view field option is Enabled", + "indent": 6, + "type": "it", + "isSkipped": false, + "isTodo": false + } + ] + }, + { + "id": "vulnerabilities---fields-selector", + "rawLine": " describe('Vulnerabilities - Fields selector', () => {", + "line": " describe('Vulnerabilities - Fields selector')", + "label": "Vulnerabilities - Fields selector", + "indent": 4, + "type": "describe", + "isSkipped": false, + "isTodo": false, + "children": [ + { + "id": "add-fields-to-the-vulnerabilities-datatable", + "rawLine": " it('Add fields to the Vulnerabilities DataTable', async () => {", + "line": " it('Add fields to the Vulnerabilities DataTable')", + "label": "Add fields to the Vulnerabilities DataTable", + "indent": 6, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "remove-fields-from-the-vulnerabilities-datatable", + "rawLine": " it('Remove fields from the Vulnerabilities DataTable', async () => {", + "line": " it('Remove fields from the Vulnerabilities DataTable')", + "label": "Remove fields from the Vulnerabilities DataTable", + "indent": 6, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "reset-fields-to-default", + "rawLine": " it('Reset fields to default', async () => {", + "line": " it('Reset fields to default')", + "label": "Reset fields to default", + "indent": 6, + "type": "it", + "isSkipped": false, + "isTodo": false + } + ] + } + ] + } + ] + }, + { + "filePath": "x-pack/test/cloud_security_posture_functional/pages/vulnerability_dashboard.ts", + "fileName": "vulnerability_dashboard.ts", + "directory": "x-pack/test/cloud_security_posture_functional", + "tags": [ + "FTR" + ], + "lines": [ + " describe('Vulnerability Dashboard Page')", + " describe('Vulnerability Dashboard')", + " it('Page Header renders on startup')", + " it('Stats render accurate output')", + " it('should navigate to vulnerability findings page with high severity filter')", + " it('should navigate to vulnerability findings page with critical severity filter and no high severity filter')" + ], + "testSuits": [ + { + "id": "vulnerability-dashboard-page", + "rawLine": " describe('Vulnerability Dashboard Page', function () {", + "line": " describe('Vulnerability Dashboard Page')", + "label": "Vulnerability Dashboard Page", + "indent": 2, + "type": "describe", + "isSkipped": false, + "isTodo": false + }, + { + "id": "vulnerability-dashboard", + "rawLine": " describe('Vulnerability Dashboard', () => {", + "line": " describe('Vulnerability Dashboard')", + "label": "Vulnerability Dashboard", + "indent": 4, + "type": "describe", + "isSkipped": false, + "isTodo": false + }, + { + "id": "page-header-renders-on-startup", + "rawLine": " it('Page Header renders on startup', async () => {", + "line": " it('Page Header renders on startup')", + "label": "Page Header renders on startup", + "indent": 6, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "stats-render-accurate-output", + "rawLine": " it('Stats render accurate output', async () => {", + "line": " it('Stats render accurate output')", + "label": "Stats render accurate output", + "indent": 6, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "should-navigate-to-vulnerability-findings-page-with-high-severity-filter", + "rawLine": " it('should navigate to vulnerability findings page with high severity filter', async () => {", + "line": " it('should navigate to vulnerability findings page with high severity filter')", + "label": "should navigate to vulnerability findings page with high severity filter", + "indent": 6, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "should-navigate-to-vulnerability-findings-page-with-critical-severity-filter-and-no-high-severity-filter", + "rawLine": " it('should navigate to vulnerability findings page with critical severity filter and no high severity filter', async () => {", + "line": " it('should navigate to vulnerability findings page with critical severity filter and no high severity filter')", + "label": "should navigate to vulnerability findings page with critical severity filter and no high severity filter", + "indent": 6, + "type": "it", + "isSkipped": false, + "isTodo": false + } + ], + "tree": [ + { + "id": "vulnerability-dashboard-page", + "rawLine": " describe('Vulnerability Dashboard Page', function () {", + "line": " describe('Vulnerability Dashboard Page')", + "label": "Vulnerability Dashboard Page", + "indent": 2, + "type": "describe", + "isSkipped": false, + "isTodo": false, + "children": [ + { + "id": "vulnerability-dashboard", + "rawLine": " describe('Vulnerability Dashboard', () => {", + "line": " describe('Vulnerability Dashboard')", + "label": "Vulnerability Dashboard", + "indent": 4, + "type": "describe", + "isSkipped": false, + "isTodo": false, + "children": [ + { + "id": "page-header-renders-on-startup", + "rawLine": " it('Page Header renders on startup', async () => {", + "line": " it('Page Header renders on startup')", + "label": "Page Header renders on startup", + "indent": 6, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "stats-render-accurate-output", + "rawLine": " it('Stats render accurate output', async () => {", + "line": " it('Stats render accurate output')", + "label": "Stats render accurate output", + "indent": 6, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "should-navigate-to-vulnerability-findings-page-with-high-severity-filter", + "rawLine": " it('should navigate to vulnerability findings page with high severity filter', async () => {", + "line": " it('should navigate to vulnerability findings page with high severity filter')", + "label": "should navigate to vulnerability findings page with high severity filter", + "indent": 6, + "type": "it", + "isSkipped": false, + "isTodo": false + }, + { + "id": "should-navigate-to-vulnerability-findings-page-with-critical-severity-filter-and-no-high-severity-filter", + "rawLine": " it('should navigate to vulnerability findings page with critical severity filter and no high severity filter', async () => {", + "line": " it('should navigate to vulnerability findings page with critical severity filter and no high severity filter')", + "label": "should navigate to vulnerability findings page with critical severity filter and no high severity filter", + "indent": 6, + "type": "it", + "isSkipped": false, + "isTodo": false + } + ] + } + ] + } + ] + } +] \ No newline at end of file diff --git a/x-pack/plugins/cloud_security_posture/common/scripts/get_tests.js b/x-pack/plugins/cloud_security_posture/common/scripts/get_tests.js new file mode 100644 index 0000000000000..d86598850a163 --- /dev/null +++ b/x-pack/plugins/cloud_security_posture/common/scripts/get_tests.js @@ -0,0 +1,367 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +/** + * Dedicated app for output visualization: https://codesandbox.io/p/sandbox/zen-smoke-vxgs2c + * Just copy the generated content of 'cso_test_log.json' into the 'data.json' file in the dedicated app + * */ + +const fs = require('fs'); +const path = require('path'); +const readline = require('readline'); + +// ============================== +// Setup +// ============================== + +// Directories to iterate over +const FTR_SERVERLESS = + 'x-pack/test_serverless/functional/test_suites/security/ftr/cloud_security_posture'; +const FTR_API_INTEGRATION = 'x-pack/test/api_integration/apis/cloud_security_posture'; +const FTR_CSP_API = 'x-pack/test/cloud_security_posture_api'; +const FTR_CSP_FUNCTIONAL = 'x-pack/test/cloud_security_posture_functional'; +const UNIT_TEST_CSP = 'x-pack/plugins/cloud_security_posture'; + +const directoryPaths = [ + FTR_SERVERLESS, + FTR_API_INTEGRATION, + FTR_CSP_API, + FTR_CSP_FUNCTIONAL, + UNIT_TEST_CSP, +]; + +// Output directories and file paths +const MD_FILE_PATH = path.join( + 'x-pack/plugins/cloud_security_posture/common/dev_docs', + '__auto_generated_csp_requirements_test_coverage.md' +); +const CSP_TEST_LOGS_FILE_PATH = path.join(__dirname, '__auto_generated_csp_test_log.json'); + +// Test output data +const testsLogOutput = []; +const regex = /\b(?:describe\.skip|describe|it\.skip|it)\(['`]/; +const allowedExtensions = ['.ts', '.tsx', '.test.ts', '.test.tsx']; + +// ============================== +// Utilities +// ============================== + +const toIdFormat = (text) => text.toLowerCase().replace(/\s+/g, '-'); + +// Trims the line from prefixes and suffixes that can intervene with indentation logic +const getCleanLine = (line) => { + const cleanLine = line; + + if (cleanLine.includes('// ')) { + return cleanLine.replace('// ', ''); + } + + if (cleanLine.includes("', ")) { + return cleanLine.split("', ")[0] + "')"; + } + if (cleanLine.includes('`, ')) { + return cleanLine.split('`, ')[0] + '`)'; + } + + return cleanLine; +}; + +const getTags = (filePath, testSuits) => { + const tags = []; + + if ( + filePath.startsWith(FTR_SERVERLESS) || + filePath.startsWith(FTR_API_INTEGRATION) || + filePath.startsWith(FTR_CSP_API) || + filePath.startsWith(FTR_CSP_FUNCTIONAL) + ) { + tags.push('FTR'); + } + + if (filePath.startsWith(FTR_API_INTEGRATION) || filePath.startsWith(FTR_CSP_API)) { + tags.push('API INTEGRATION'); + } + + if (filePath.startsWith(UNIT_TEST_CSP)) { + tags.push('UT'); + } + + if (testSuits.some((suit) => suit.isSkipped)) { + tags.push('HAS SKIP'); + } + + if (testSuits.some((suit) => suit.isTodo)) { + tags.push('HAS TODO'); + } + + return tags; +}; + +// ============================== +// Generate Logs +// ============================== + +// Creates a nested object to represent test hierarchy and skip scope +const createTree = (testSuits) => { + const tree = []; + let currentIndent = 0; + let currentNode = { children: tree }; + const stack = [currentNode]; + + const suits = JSON.parse(JSON.stringify(testSuits)); + + suits.forEach((suit) => { + while (suit.indent < currentIndent && stack.length > 1) { + stack.pop(); + currentNode = stack[stack.length - 1]; + currentIndent -= 2; + } + + if (suit.indent >= currentIndent) { + const newNode = { ...suit }; + if (!currentNode.children) { + currentNode.children = []; + } + currentNode.children.push(newNode); + stack.push(newNode); + currentNode = newNode; + currentIndent = suit.indent + 2; + } + }); + + // Mark nested nodes as skipped when a parent node is skipped + const markSkipped = (node, isParentSkipped) => { + if (isParentSkipped) { + node.isSkipped = true; + } + if (node.children) { + node.children.forEach((child) => { + markSkipped(child, isParentSkipped || node.isSkipped); + }); + } + }; + + tree.forEach((node) => { + markSkipped(node, false); + }); + + return tree; +}; + +// Processes each line in a file, extracts relevant test data, and adds it to the output +const processFile = (filePath) => { + const testSuits = []; + const stream = fs.createReadStream(filePath); + const rl = readline.createInterface({ + input: stream, + crlfDelay: Infinity, + }); + + // Extracts relevant data from the matched line and adds it to the testSuits array + rl.on('line', (rawLine) => { + const match = rawLine.match(regex); + if (match) { + const [fullMatch] = match; + const type = fullMatch.startsWith('describe') ? 'describe' : 'it'; + const label = rawLine.trim().replace(/^[^`']*['`]([^'`]*)['`].*$/, '$1'); + const isSkipped = rawLine.includes('.skip(') || rawLine.includes('.skip(`'); + const isTodo = rawLine.includes('todo') || rawLine.includes('TODO'); + const line = getCleanLine(rawLine); + const indent = (line.match(/^\s*/) || [''])[0].length; + + testSuits.push({ + id: toIdFormat(label), + rawLine, + line, + label, + indent, + type, + isSkipped, + isTodo, + }); + } + }); + + // After processing all lines in a file, adds an object containing the file details and its test suits to the output + rl.on('close', () => { + if (testSuits.length) { + const logData = { + filePath, + fileName: path.basename(filePath), + directory: directoryPaths.find((dir) => filePath.startsWith(dir)), + tags: getTags(filePath, testSuits), + lines: testSuits.map((testSuit) => (testSuit ? getCleanLine(testSuit.rawLine) : null)), + testSuits, + tree: createTree(testSuits), + }; + + testsLogOutput.push(logData); + } + }); +}; + +// Recursively iterates over the files of the provided directories +const processDirectory = (directoryPath) => { + fs.readdir(directoryPath, (err, files) => { + if (err) { + console.error(`Error reading directory: ${directoryPath}`); + return; + } + + files.forEach((file) => { + const filePath = path.join(directoryPath, file); + fs.stat(filePath, (err, stats) => { + if (err) { + console.error(`Error reading file stats: ${filePath}`); + return; + } + + if (stats.isDirectory()) { + processDirectory(filePath); + } else if (stats.isFile() && allowedExtensions.some((ext) => filePath.endsWith(ext))) { + processFile(filePath); + } + }); + }); + }); +}; + +// Initiates the processing for each directory +const init = () => { + directoryPaths.forEach(processDirectory); +}; + +// ============================== +// Generate Markdown +// ============================== + +// Utility function to count nested tests isSkipped and isTodo states +const countNestedTests = (tree) => { + return tree.reduce( + (counts, node) => { + counts.totalTests += 1; + counts.skippedTests += node.isSkipped ? 1 : 0; + counts.todoTests += node.isTodo ? 1 : 0; + + if (node.children) { + const childCounts = countNestedTests(node.children); + counts.totalTests += childCounts.totalTests; + counts.skippedTests += childCounts.skippedTests; + counts.todoTests += childCounts.todoTests; + } + + return counts; + }, + { totalTests: 0, skippedTests: 0, todoTests: 0 } + ); +}; + +// Groups test files by directory +const groupTestsByDirectory = (testLogs) => { + const groupedTests = {}; + + testLogs.forEach((testLog) => { + const directory = testLog.directory; + if (!groupedTests[directory]) { + groupedTests[directory] = []; + } + groupedTests[directory].push(testLog); + }); + + return groupedTests; +}; + +const tagShieldsColors = { + FTR: 'blue', + UT: 'brightgreen', + 'HAS SKIP': 'yellow', + 'HAS TODO': 'green', + 'API INTEGRATION': 'purple', +}; + +// Generates the Requirement Test Coverage Markdown file using the data in testsLogOutput +const generateMDFile = (testLogs) => { + const groupedTests = groupTestsByDirectory(testLogs); + let mdContent = '# Cloud Security Posture - Requirements Test Coverage\n\n'; + mdContent += ''; + mdContent += + 'This document provides a summary of the requirements test coverage for Cloud Security Posture.\n\n'; + mdContent += + 'You can also check out the dedicated app view, which enables easier search and filter functionalities. This app needs to be updated manually, so it might not always be up to date.\n'; + mdContent += '[Requirement test coverage app](https://vxgs2c.csb.app/)\n\n'; + + Object.entries(groupedTests).forEach(([directory, logs]) => { + const { totalTests, skippedTests, todoTests } = countNestedTests( + logs.flatMap((log) => log.tree) + ); + + const skippedPercentage = ((skippedTests / totalTests) * 100).toFixed(2); + const todoPercentage = ((todoTests / totalTests) * 100).toFixed(2); + + const tagsBadges = logs + .flatMap((log) => log.tags || []) + .map( + (tag) => + `![](https://img.shields.io/badge/${tag.replace(/\s+/g, '-')}-${tagShieldsColors[tag]})` + ); + const uniqueTags = [...new Set(tagsBadges)]; + const tagsSection = uniqueTags.length > 0 ? `${uniqueTags.join(' ')}\n\n` : ''; + + mdContent += `## Directory: ${directory}\n\n`; + mdContent += `**Total Tests:** ${totalTests} | **Skipped:** ${skippedTests} (${skippedPercentage}%) | **Todo:** ${todoTests} (${todoPercentage}%)\n\n`; + mdContent += tagsSection; + mdContent += '
\nTest Details\n\n'; + mdContent += '| Test Label | Type | Skipped | Todo |\n'; + mdContent += '|------------|------|---------|------|\n'; + + const generateTableFromTree = (tree, filePath) => { + tree.forEach((node) => { + mdContent += `| [${node.label}](${filePath}) | ${node.type} | ${ + node.isSkipped ? '![](https://img.shields.io/badge/skipped-yellow)' : '' + } | ${node.isTodo ? '![](https://img.shields.io/badge/todo-green)' : ''} |\n`; + + if (node.children) { + generateTableFromTree(node.children, filePath); + } + }); + }; + + logs.forEach((log) => { + generateTableFromTree(log.tree, log.filePath); + }); + + mdContent += '
\n\n'; + }); + + fs.writeFileSync(MD_FILE_PATH, mdContent); +}; + +// ============================== +// Main Process +// ============================== + +// Initiates the processing for each directory +init(); + +// Handling process exit +process.on('exit', () => { + if (testsLogOutput.length) { + testsLogOutput.sort((a, b) => a.filePath.localeCompare(b.filePath)); + + generateMDFile(testsLogOutput); + fs.writeFileSync(CSP_TEST_LOGS_FILE_PATH, JSON.stringify(testsLogOutput, null, 2)); + + console.log('🌟 Cloud Security Posture tests were processed successfully! ✨'); + console.log(`ℳ MD file: file://${path.resolve(MD_FILE_PATH)}`); + console.log(`📄 Logs file: file://${path.resolve(CSP_TEST_LOGS_FILE_PATH)}`); + console.log('📊 Copy Logs file content to the dedicated app\'s "data.json" for visualization.'); + console.log('⬛️ Dedicated app sandbox: https://codesandbox.io/p/sandbox/zen-smoke-vxgs2c'); + console.log('🚀 Dedicated app: https://vxgs2c.csb.app/'); + } else { + console.error(`Logs generation has failed`); + } +}); diff --git a/x-pack/plugins/cloud_security_posture/public/common/api/use_fetch_detection_rules_by_tags.ts b/x-pack/plugins/cloud_security_posture/public/common/api/use_fetch_detection_rules_by_tags.ts index da95711cbb383..91b0084d7e408 100644 --- a/x-pack/plugins/cloud_security_posture/public/common/api/use_fetch_detection_rules_by_tags.ts +++ b/x-pack/plugins/cloud_security_posture/public/common/api/use_fetch_detection_rules_by_tags.ts @@ -39,9 +39,12 @@ export const useFetchDetectionRulesByTags = ( option: { match: 'all' | 'any' } = { match: 'all' } ) => { const { http } = useKibana().services; - return useQuery([DETECTION_ENGINE_RULES_KEY, tags, option], () => - fetchDetectionRulesByTags(tags, option, http) - ); + + return useQuery({ + queryKey: [DETECTION_ENGINE_RULES_KEY, tags, option], + queryFn: () => fetchDetectionRulesByTags(tags, option, http), + enabled: tags.length > 0, + }); }; export const fetchDetectionRulesByTags = ( diff --git a/x-pack/plugins/cloud_security_posture/public/pages/configurations/findings_flyout/findings_detection_rule_counter.tsx b/x-pack/plugins/cloud_security_posture/public/pages/configurations/findings_flyout/findings_detection_rule_counter.tsx index 24ef238cf5774..0ab35a37c8ee4 100644 --- a/x-pack/plugins/cloud_security_posture/public/pages/configurations/findings_flyout/findings_detection_rule_counter.tsx +++ b/x-pack/plugins/cloud_security_posture/public/pages/configurations/findings_flyout/findings_detection_rule_counter.tsx @@ -9,12 +9,12 @@ import type { HttpSetup } from '@kbn/core/public'; import React from 'react'; import { CspFinding } from '../../../../common/schemas/csp_finding'; import { DetectionRuleCounter } from '../../../components/detection_rule_counter'; -import { createDetectionRuleFromFinding } from '../utils/create_detection_rule_from_finding'; import { getFindingsDetectionRuleSearchTags } from '../../../../common/utils/detection_rules'; +import { createDetectionRuleFromBenchmarkRule } from '../utils/create_detection_rule_from_benchmark'; export const FindingsDetectionRuleCounter = ({ finding }: { finding: CspFinding }) => { const createMisconfigurationRuleFn = async (http: HttpSetup) => - await createDetectionRuleFromFinding(http, finding); + await createDetectionRuleFromBenchmarkRule(http, finding.rule); return ( (tabs[0]); const createMisconfigurationRuleFn = async (http: HttpSetup) => - await createDetectionRuleFromFinding(http, findings); + await createDetectionRuleFromBenchmarkRule(http, findings.rule); return ( diff --git a/x-pack/plugins/cloud_security_posture/public/pages/configurations/utils/create_detection_rule_from_benchmark.ts b/x-pack/plugins/cloud_security_posture/public/pages/configurations/utils/create_detection_rule_from_benchmark.ts index f445761ed8447..d77e6ddf6389c 100644 --- a/x-pack/plugins/cloud_security_posture/public/pages/configurations/utils/create_detection_rule_from_benchmark.ts +++ b/x-pack/plugins/cloud_security_posture/public/pages/configurations/utils/create_detection_rule_from_benchmark.ts @@ -60,7 +60,7 @@ const generateFindingsRuleQuery = (benchmarkRule: CspBenchmarkRule['metadata']) /* * Creates a detection rule from a Benchmark rule */ -export const createDetectionRuleFromBenchmark = async ( +export const createDetectionRuleFromBenchmarkRule = async ( http: HttpSetup, benchmarkRule: CspBenchmarkRule['metadata'] ) => { diff --git a/x-pack/plugins/cloud_security_posture/public/pages/configurations/utils/create_detection_rule_from_finding.ts b/x-pack/plugins/cloud_security_posture/public/pages/configurations/utils/create_detection_rule_from_finding.ts deleted file mode 100644 index ca0e03460c340..0000000000000 --- a/x-pack/plugins/cloud_security_posture/public/pages/configurations/utils/create_detection_rule_from_finding.ts +++ /dev/null @@ -1,100 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license 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 type { CspFinding } from '../../../../common/schemas/csp_finding'; -import { - FINDINGS_INDEX_PATTERN, - LATEST_FINDINGS_RETENTION_POLICY, -} from '../../../../common/constants'; -import { createDetectionRule } from '../../../common/api/create_detection_rule'; -import { generateBenchmarkRuleTags } from '../../../../common/utils/detection_rules'; - -const DEFAULT_RULE_RISK_SCORE = 0; -const DEFAULT_RULE_SEVERITY = 'low'; -const DEFAULT_RULE_ENABLED = true; -const DEFAULT_RULE_AUTHOR = 'Elastic'; -const DEFAULT_RULE_LICENSE = 'Elastic License v2'; -const DEFAULT_MAX_ALERTS_PER_RULE = 100; -const ALERT_SUPPRESSION_FIELD = 'resource.id'; -const ALERT_TIMESTAMP_FIELD = 'event.ingested'; -const DEFAULT_INVESTIGATION_FIELDS = { - field_names: ['resource.name', 'resource.id', 'resource.type', 'resource.sub_type'], -}; - -enum AlertSuppressionMissingFieldsStrategy { - // per each document a separate alert will be created - DoNotSuppress = 'doNotSuppress', - // only one alert will be created per suppress by bucket - Suppress = 'suppress', -} - -const convertReferencesLinksToArray = (input: string | undefined) => { - if (!input) { - return []; - } - // Match all URLs in the input string using a regular expression - const matches = input.match(/(https?:\/\/\S+)/g); - - if (!matches) { - return []; - } - - // Remove the numbers and new lines - return matches.map((link) => link.replace(/^\d+\. /, '').replace(/\n/g, '')); -}; - -const generateFindingsRuleQuery = (finding: CspFinding) => { - const currentTimestamp = new Date().toISOString(); - - return `rule.benchmark.rule_number: "${finding.rule.benchmark.rule_number}" - AND rule.benchmark.id: "${finding.rule.benchmark.id}" - AND result.evaluation: "failed" - AND event.ingested >= "${currentTimestamp}"`; -}; - -/* - * Creates a detection rule from a CspFinding - */ -export const createDetectionRuleFromFinding = async (http: HttpSetup, finding: CspFinding) => { - return await createDetectionRule({ - http, - rule: { - type: 'query', - language: 'kuery', - license: DEFAULT_RULE_LICENSE, - author: [DEFAULT_RULE_AUTHOR], - filters: [], - false_positives: [], - risk_score: DEFAULT_RULE_RISK_SCORE, - risk_score_mapping: [], - severity: DEFAULT_RULE_SEVERITY, - severity_mapping: [], - threat: [], - interval: '1h', - from: `now-${LATEST_FINDINGS_RETENTION_POLICY}`, - to: 'now', - max_signals: DEFAULT_MAX_ALERTS_PER_RULE, - timestamp_override: ALERT_TIMESTAMP_FIELD, - timestamp_override_fallback_disabled: false, - actions: [], - enabled: DEFAULT_RULE_ENABLED, - alert_suppression: { - group_by: [ALERT_SUPPRESSION_FIELD], - missing_fields_strategy: AlertSuppressionMissingFieldsStrategy.Suppress, - }, - index: [FINDINGS_INDEX_PATTERN], - query: generateFindingsRuleQuery(finding), - references: convertReferencesLinksToArray(finding.rule.references), - name: finding.rule.name, - description: finding.rule.rationale, - tags: generateBenchmarkRuleTags(finding.rule), - investigation_fields: DEFAULT_INVESTIGATION_FIELDS, - note: finding.rule.remediation, - }, - }); -}; diff --git a/x-pack/plugins/cloud_security_posture/public/pages/rules/rules_detection_rule_counter.tsx b/x-pack/plugins/cloud_security_posture/public/pages/rules/rules_detection_rule_counter.tsx index 04b6a4ab83597..b47b55149743c 100644 --- a/x-pack/plugins/cloud_security_posture/public/pages/rules/rules_detection_rule_counter.tsx +++ b/x-pack/plugins/cloud_security_posture/public/pages/rules/rules_detection_rule_counter.tsx @@ -10,7 +10,7 @@ import React from 'react'; import { CspBenchmarkRule } from '../../../common/types/latest'; import { getFindingsDetectionRuleSearchTags } from '../../../common/utils/detection_rules'; import { DetectionRuleCounter } from '../../components/detection_rule_counter'; -import { createDetectionRuleFromBenchmark } from '../configurations/utils/create_detection_rule_from_benchmark'; +import { createDetectionRuleFromBenchmarkRule } from '../configurations/utils/create_detection_rule_from_benchmark'; export const RulesDetectionRuleCounter = ({ benchmarkRule, @@ -18,7 +18,7 @@ export const RulesDetectionRuleCounter = ({ benchmarkRule: CspBenchmarkRule['metadata']; }) => { const createBenchmarkRuleFn = async (http: HttpSetup) => - await createDetectionRuleFromBenchmark(http, benchmarkRule); + await createDetectionRuleFromBenchmarkRule(http, benchmarkRule); return ( - await createDetectionRuleFromBenchmark(http, rule.metadata); + await createDetectionRuleFromBenchmarkRule(http, rule.metadata); return ( { + // @ts-expect-error upgrade typescript v4.9.5 if (driftedResp.aggregations) { + // @ts-expect-error upgrade typescript v4.9.5 driftedResp.aggregations[`${field}_ks_test`] = { // Setting -Infinity to represent astronomically small number // which would be represented as < 0.000001 in table @@ -801,6 +803,7 @@ export const useFetchDataComparisonResult = ( randomSamplerWrapper, asyncFetchFn: (chunkedFields) => + // @ts-expect-error upgrade typescript v4.9.5 fetchReferenceBaselineData({ dataSearch, baseRequest: baselineRequest, @@ -862,6 +865,7 @@ export const useFetchDataComparisonResult = ( fields, randomSamplerWrapper: prodRandomSamplerWrapper, + // @ts-expect-error upgrade typescript v4.9.5 asyncFetchFn: (chunkedFields: DataDriftField[]) => fetchComparisonDriftedData({ dataSearch, @@ -904,11 +908,14 @@ export const useFetchDataComparisonResult = ( fields, randomSamplerWrapper, + // @ts-expect-error upgrade typescript v4.9.5 asyncFetchFn: (chunkedFields: DataDriftField[]) => fetchHistogramData({ dataSearch, baseRequest: referenceHistogramRequest, + // @ts-expect-error upgrade typescript v4.9.5 baselineResponseAggs, + // @ts-expect-error upgrade typescript v4.9.5 driftedRespAggs, fields: chunkedFields, randomSamplerWrapper, @@ -946,11 +953,14 @@ export const useFetchDataComparisonResult = ( fields, randomSamplerWrapper, + // @ts-expect-error upgrade typescript v4.9.5 asyncFetchFn: (chunkedFields: DataDriftField[]) => fetchHistogramData({ dataSearch, baseRequest: comparisonHistogramRequest, + // @ts-expect-error upgrade typescript v4.9.5 baselineResponseAggs, + // @ts-expect-error upgrade typescript v4.9.5 driftedRespAggs, fields: chunkedFields, randomSamplerWrapper, @@ -972,30 +982,42 @@ export const useFetchDataComparisonResult = ( for (const { field, type, secondaryType } of fields) { if ( type === DATA_COMPARISON_TYPE.NUMERIC && + // @ts-expect-error upgrade typescript v4.9.5 driftedRespAggs[`${field}_ks_test`] && + // @ts-expect-error upgrade typescript v4.9.5 referenceHistogramRespAggs[`${field}_histogram`] && + // @ts-expect-error upgrade typescript v4.9.5 comparisonHistogramRespAggs[`${field}_histogram`] ) { data[field] = { secondaryType, type: DATA_COMPARISON_TYPE.NUMERIC, + // @ts-expect-error upgrade typescript v4.9.5 pValue: driftedRespAggs[`${field}_ks_test`].two_sided, + // @ts-expect-error upgrade typescript v4.9.5 referenceHistogram: referenceHistogramRespAggs[`${field}_histogram`].buckets, + // @ts-expect-error upgrade typescript v4.9.5 comparisonHistogram: comparisonHistogramRespAggs[`${field}_histogram`].buckets, }; } if ( type === DATA_COMPARISON_TYPE.CATEGORICAL && + // @ts-expect-error upgrade typescript v4.9.5 driftedRespAggs[`${field}_terms`] && + // @ts-expect-error upgrade typescript v4.9.5 baselineResponseAggs[`${field}_terms`] ) { data[field] = { secondaryType, type: DATA_COMPARISON_TYPE.CATEGORICAL, + // @ts-expect-error upgrade typescript v4.9.5 driftedTerms: driftedRespAggs[`${field}_terms`].buckets ?? [], + // @ts-expect-error upgrade typescript v4.9.5 driftedSumOtherDocCount: driftedRespAggs[`${field}_terms`].sum_other_doc_count, + // @ts-expect-error upgrade typescript v4.9.5 baselineTerms: baselineResponseAggs[`${field}_terms`].buckets ?? [], baselineSumOtherDocCount: + // @ts-expect-error upgrade typescript v4.9.5 baselineResponseAggs[`${field}_terms`].sum_other_doc_count, }; } diff --git a/x-pack/plugins/data_visualizer/public/application/index_data_visualizer/utils/saved_search_utils.ts b/x-pack/plugins/data_visualizer/public/application/index_data_visualizer/utils/saved_search_utils.ts index 3ecc8a3a7a3d8..b1a02dbfe939f 100644 --- a/x-pack/plugins/data_visualizer/public/application/index_data_visualizer/utils/saved_search_utils.ts +++ b/x-pack/plugins/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/apm/public/components/app/correlations/progress_controls.tsx` +// `x-pack/plugins/observability_solution/apm/public/components/app/correlations/progress_controls.tsx` import { cloneDeep } from 'lodash'; import { IUiSettingsClient } from '@kbn/core/public'; import { buildEsQuery, Query, Filter } from '@kbn/es-query'; diff --git a/x-pack/plugins/ecs_data_quality_dashboard/server/lib/build_response/index.ts b/x-pack/plugins/ecs_data_quality_dashboard/server/lib/build_response/index.ts index bbec702c74915..343601f1c3366 100644 --- a/x-pack/plugins/ecs_data_quality_dashboard/server/lib/build_response/index.ts +++ b/x-pack/plugins/ecs_data_quality_dashboard/server/lib/build_response/index.ts @@ -41,10 +41,13 @@ export class ResponseFactory { constructor(private response: KibanaResponseFactory) {} /** error */ + // @ts-expect-error upgrade typescript v4.9.5 error({ statusCode, body, headers }: CustomHttpResponseOptions) { + // @ts-expect-error upgrade typescript v4.9.5 const contentType: CustomHttpResponseOptions['headers'] = { 'content-type': 'application/json', }; + // @ts-expect-error upgrade typescript v4.9.5 const defaultedHeaders: CustomHttpResponseOptions['headers'] = { ...contentType, ...(headers ?? {}), diff --git a/x-pack/plugins/elastic_assistant/server/lib/build_response/index.ts b/x-pack/plugins/elastic_assistant/server/lib/build_response/index.ts index bbec702c74915..343601f1c3366 100644 --- a/x-pack/plugins/elastic_assistant/server/lib/build_response/index.ts +++ b/x-pack/plugins/elastic_assistant/server/lib/build_response/index.ts @@ -41,10 +41,13 @@ export class ResponseFactory { constructor(private response: KibanaResponseFactory) {} /** error */ + // @ts-expect-error upgrade typescript v4.9.5 error({ statusCode, body, headers }: CustomHttpResponseOptions) { + // @ts-expect-error upgrade typescript v4.9.5 const contentType: CustomHttpResponseOptions['headers'] = { 'content-type': 'application/json', }; + // @ts-expect-error upgrade typescript v4.9.5 const defaultedHeaders: CustomHttpResponseOptions['headers'] = { ...contentType, ...(headers ?? {}), diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/index/index_exists_api_logic.ts b/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/index/index_exists_api_logic.ts index 461f055d81ead..8929f390e73ad 100644 --- a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/index/index_exists_api_logic.ts +++ b/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/index/index_exists_api_logic.ts @@ -5,7 +5,7 @@ * 2.0. */ -import { createApiLogic } from '../../../shared/api_logic/create_api_logic'; +import { Actions, createApiLogic } from '../../../shared/api_logic/create_api_logic'; import { HttpLogic } from '../../../shared/http'; export interface IndexExistsApiParams { @@ -27,3 +27,5 @@ export const fetchIndexExists = async ({ }; export const IndexExistsApiLogic = createApiLogic(['index_exists_api_logic'], fetchIndexExists); + +export type IndexExistsApiLogicActions = Actions; diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/connector_detail/attach_index_box.tsx b/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/connector_detail/attach_index_box.tsx index 4a91655f8c501..59d41ec272221 100644 --- a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/connector_detail/attach_index_box.tsx +++ b/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/connector_detail/attach_index_box.tsx @@ -38,10 +38,20 @@ export interface AttachIndexBoxProps { } export const AttachIndexBox: React.FC = ({ connector }) => { - const { createIndex, attachIndex, setConnector } = useActions(AttachIndexLogic); - const { isLoading: isSaveLoading } = useValues(AttachIndexLogic); + const { createIndex, attachIndex, setConnector, checkIndexExists } = useActions(AttachIndexLogic); + const { + isLoading: isSaveLoading, + isExistLoading, + canCreateSameNameIndex, + } = useValues(AttachIndexLogic); const [selectedIndex, setSelectedIndex] = useState<{ label: string; shouldCreate?: boolean }>(); const [selectedLanguage] = useState(); + const [showError, setShowError] = useState(false); + useEffect(() => { + if (!canCreateSameNameIndex) { + setShowError(true); + } + }, [canCreateSameNameIndex]); const { makeRequest } = useActions(FetchAllIndicesAPILogic); const { data, status } = useValues(FetchAllIndicesAPILogic); @@ -65,6 +75,9 @@ export const AttachIndexBox: React.FC = ({ connector }) => useEffect(() => { setConnector(connector); makeRequest({}); + if (!connector.index_name) { + checkIndexExists({ indexName: connector.name }); + } }, [connector.id]); return ( @@ -99,10 +112,23 @@ export const AttachIndexBox: React.FC = ({ connector }) => 'xpack.enterpriseSearch.attachIndexBox.euiFormRow.associatedIndexLabel', { defaultMessage: 'Associated index' } )} - helpText={i18n.translate( - 'xpack.enterpriseSearch.attachIndexBox.euiFormRow.associatedIndexHelpTextLabel', - { defaultMessage: 'You can use an existing index or create a new one' } - )} + helpText={ + showError + ? '' + : i18n.translate( + 'xpack.enterpriseSearch.attachIndexBox.euiFormRow.associatedIndexHelpTextLabel', + { defaultMessage: 'You can use an existing index or create a new one' } + ) + } + error={ + showError + ? i18n.translate( + 'xpack.enterpriseSearch.attachIndexBox.euiFormRow.associatedIndexErrorTextLabel', + { defaultMessage: 'You can use another existing index or create a new one' } + ) + : undefined + } + isInvalid={showError} > = ({ connector }) => )} isLoading={isLoading} options={options} - onChange={(selection) => setSelectedIndex(selection[0] || undefined)} + onChange={(selection) => { + if (showError) { + setShowError(false); + } + setSelectedIndex(selection[0] || undefined); + }} selectedOptions={selectedIndex ? [selectedIndex] : undefined} onCreateOption={(value) => { setSelectedIndex({ label: value.trim(), shouldCreate: true }); @@ -130,6 +161,21 @@ export const AttachIndexBox: React.FC = ({ connector }) => + + { + createIndex({ indexName: connector.name, language: null }); + }} + isLoading={isSaveLoading || isExistLoading} + disabled={!canCreateSameNameIndex} + > + {i18n.translate('xpack.enterpriseSearch.attachIndexBox.createSameIndexButtonLabel', { + defaultMessage: 'Create and attach an index with same name', + })} + + onSave()} disabled={!selectedIndex} isLoading={isSaveLoading}> {i18n.translate('xpack.enterpriseSearch.attachIndexBox.saveConfigurationButtonLabel', { diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/connector_detail/attach_index_logic.ts b/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/connector_detail/attach_index_logic.ts index 42a38b30dbc3e..298fc333490e5 100644 --- a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/connector_detail/attach_index_logic.ts +++ b/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/connector_detail/attach_index_logic.ts @@ -19,11 +19,18 @@ import { CreateApiIndexApiLogic, CreateApiIndexApiLogicActions, } from '../../api/index/create_api_index_api_logic'; +import { + IndexExistsApiLogic, + IndexExistsApiLogicActions, +} from '../../api/index/index_exists_api_logic'; export interface AttachIndexActions { attachIndex: AttachIndexApiLogicActions['makeRequest']; attachIndexApiError: AttachIndexApiLogicActions['apiError']; attachIndexApiSuccess: AttachIndexApiLogicActions['apiSuccess']; + checkIndexExists: IndexExistsApiLogicActions['makeRequest']; + checkIndexExistsApiError: IndexExistsApiLogicActions['apiError']; + checkIndexExistsApiSuccess: IndexExistsApiLogicActions['apiSuccess']; createIndex: CreateApiIndexApiLogicActions['makeRequest']; createIndexApiError: CreateApiIndexApiLogicActions['apiError']; createIndexApiSuccess: CreateApiIndexApiLogicActions['apiSuccess']; @@ -32,8 +39,11 @@ export interface AttachIndexActions { export interface AttachIndexValues { attachApiStatus: Status; + canCreateSameNameIndex: boolean; connector: Connector | null; createIndexApiStatus: Status; + indexExistsApiStatus: Status; + isExistLoading: boolean; isLoading: boolean; } @@ -53,12 +63,20 @@ export const AttachIndexLogic = kea ({ @@ -77,6 +95,12 @@ export const AttachIndexLogic = kea !exists, + }, + ], connector: [ null, { @@ -85,10 +109,17 @@ export const AttachIndexLogic = kea ({ + isExistLoading: [ + () => [selectors.indexExistsApiStatus], + (indexExistsApiStatus: AttachIndexValues['indexExistsApiStatus']) => + Status.LOADING === indexExistsApiStatus, + ], isLoading: [ () => [selectors.attachApiStatus, selectors.createIndexApiStatus], - (attachStatus, createStatus) => - attachStatus === Status.LOADING || createStatus === Status.LOADING, + ( + attachStatus: AttachIndexValues['attachApiStatus'], + createStatus: AttachIndexValues['createIndexApiStatus'] + ) => attachStatus === Status.LOADING || createStatus === Status.LOADING, ], }), }); diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/connector_detail/native_connector_configuration.tsx b/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/connector_detail/native_connector_configuration.tsx index b06459dfb4d02..5cfcb8bf54735 100644 --- a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/connector_detail/native_connector_configuration.tsx +++ b/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/connector_detail/native_connector_configuration.tsx @@ -136,12 +136,6 @@ export const NativeConnectorConfiguration: React.FC = () => { )} - {!connector.index_name && ( - <> - - - - )} { ]} /> + {!connector.index_name && ( + <> + + + + )} diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/new_index/select_connector/select_connector.tsx b/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/new_index/select_connector/select_connector.tsx index a06238810c9a8..92158b7ae94bb 100644 --- a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/new_index/select_connector/select_connector.tsx +++ b/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/new_index/select_connector/select_connector.tsx @@ -319,7 +319,7 @@ export const SelectConnector: React.FC = () => { {filteredConnectors.map((connector) => ( - + { const stats: EuiStatProps[] & { 'data-test-subj'?: string } = [ { + // @ts-expect-error upgrade typescript v4.9.5 'data-test-subj': 'entSearchContent-indexOverview-totalStats-ingestionType', description: i18n.translate( 'xpack.enterpriseSearch.content.searchIndex.totalStats.ingestionTypeCardLabel', @@ -54,6 +55,7 @@ export const ConnectorTotalStats: React.FC = () => { ), }, { + // @ts-expect-error upgrade typescript v4.9.5 'data-test-subj': 'entSearchContent-indexOverview-totalStats-connectorType', description: i18n.translate('xpack.enterpriseSearch.connector.connectorTypePanel.title', { defaultMessage: 'Connector type', diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/crawler_total_stats.tsx b/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/crawler_total_stats.tsx index f5a72ac475fd9..9dec32c1415d2 100644 --- a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/crawler_total_stats.tsx +++ b/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/crawler_total_stats.tsx @@ -31,6 +31,7 @@ export const CrawlerTotalStats: React.FC = () => { const stats: EuiStatProps[] & { 'data-test-subj'?: string } = [ { + // @ts-expect-error upgrade typescript v4.9.5 'data-test-subj': 'entSearchContent-indexOverview-totalStats-ingestionType', description: i18n.translate( 'xpack.enterpriseSearch.content.searchIndex.totalStats.ingestionTypeCardLabel', @@ -57,6 +58,7 @@ export const CrawlerTotalStats: React.FC = () => { title: domains.length, }, { + // @ts-expect-error upgrade typescript v4.9.5 'data-test-subj': 'entSearchContent-indexOverview-totalStats-documentCount', description: i18n.translate( 'xpack.enterpriseSearch.content.searchIndex.totalStats.documentCountCardLabel', diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/pipelines/pipelines_json_configurations_logic.ts b/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/pipelines/pipelines_json_configurations_logic.ts index d450dff591f6c..d81cae698db98 100644 --- a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/pipelines/pipelines_json_configurations_logic.ts +++ b/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/pipelines/pipelines_json_configurations_logic.ts @@ -52,6 +52,7 @@ export const IndexPipelinesConfigurationsLogic = kea< }, events: ({ actions, values }) => ({ afterMount: () => { + // @ts-expect-error upgrade typescript v4.9.5 if (!values.indexPipelinesData || values.indexPipelinesData.length === 0) { return; } diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/accordion_list/accordion_list.test.tsx b/x-pack/plugins/enterprise_search/public/applications/shared/accordion_list/accordion_list.test.tsx index 13fe9c8f0efd9..cbed21624bdb8 100644 --- a/x-pack/plugins/enterprise_search/public/applications/shared/accordion_list/accordion_list.test.tsx +++ b/x-pack/plugins/enterprise_search/public/applications/shared/accordion_list/accordion_list.test.tsx @@ -29,6 +29,7 @@ describe('AccordionList', () => { it('renders as an accordion with the passed in title and icon', () => { expect(wrapper.is(EuiAccordion)).toBe(true); + // @ts-expect-error upgrade typescript v4.9.5 const buttonContent = shallow(wrapper.prop('buttonContent')); expect(buttonContent.find(EuiIcon).prop('type')).toEqual('globe'); @@ -36,6 +37,7 @@ describe('AccordionList', () => { }); it('shows the item count', () => { + // @ts-expect-error upgrade typescript v4.9.5 const extraActionContent = shallow(wrapper.prop('extraAction')); expect(extraActionContent.text()).toEqual('2'); diff --git a/x-pack/plugins/fleet/.storybook/context/fixtures/integration.nginx.ts b/x-pack/plugins/fleet/.storybook/context/fixtures/integration.nginx.ts index 8f47d564c44a2..37ac4fa811947 100644 --- a/x-pack/plugins/fleet/.storybook/context/fixtures/integration.nginx.ts +++ b/x-pack/plugins/fleet/.storybook/context/fixtures/integration.nginx.ts @@ -19,6 +19,7 @@ export const item: GetInfoResponse['item'] = { icons: [ { src: '/img/logo_nginx.svg', + // @ts-expect-error upgrade typescript v4.9.5 path: '/package/nginx/0.7.0/img/logo_nginx.svg', title: 'logo nginx', size: '32x32', diff --git a/x-pack/plugins/fleet/common/authz.test.ts b/x-pack/plugins/fleet/common/authz.test.ts index c7686083a6bed..28a01e72992b6 100644 --- a/x-pack/plugins/fleet/common/authz.test.ts +++ b/x-pack/plugins/fleet/common/authz.test.ts @@ -21,7 +21,7 @@ import { ENDPOINT_PRIVILEGES } from './constants'; const SECURITY_SOLUTION_ID = DEFAULT_APP_CATEGORIES.security.id; function generateActions(privileges: T, overrides: Record = {}) { - return Object.keys(privileges).reduce((acc, privilege) => { + return Object.keys(privileges as any).reduce((acc, privilege) => { const executePackageAction = overrides[privilege] || false; return { diff --git a/x-pack/plugins/fleet/common/constants/agent.ts b/x-pack/plugins/fleet/common/constants/agent.ts index d05dd66bb096b..251db5db24806 100644 --- a/x-pack/plugins/fleet/common/constants/agent.ts +++ b/x-pack/plugins/fleet/common/constants/agent.ts @@ -35,3 +35,15 @@ export const FleetServerAgentComponentStatuses = [ 'STOPPING', 'STOPPED', ] as const; + +export const AgentStatuses = [ + 'offline', + 'error', + 'online', + 'inactive', + 'enrolling', + 'unenrolling', + 'unenrolled', + 'updating', + 'degraded', +] as const; diff --git a/x-pack/plugins/fleet/common/types/models/agent.ts b/x-pack/plugins/fleet/common/types/models/agent.ts index 47d9c424ef0e0..7edc939ee1bcd 100644 --- a/x-pack/plugins/fleet/common/types/models/agent.ts +++ b/x-pack/plugins/fleet/common/types/models/agent.ts @@ -10,6 +10,7 @@ import type { AGENT_TYPE_PERMANENT, AGENT_TYPE_TEMPORARY, FleetServerAgentComponentStatuses, + AgentStatuses, } from '../../constants'; export type AgentType = @@ -17,16 +18,8 @@ export type AgentType = | typeof AGENT_TYPE_PERMANENT | typeof AGENT_TYPE_TEMPORARY; -export type AgentStatus = - | 'offline' - | 'error' - | 'online' - | 'inactive' - | 'enrolling' - | 'unenrolling' - | 'unenrolled' - | 'updating' - | 'degraded'; +type AgentStatusTuple = typeof AgentStatuses; +export type AgentStatus = AgentStatusTuple[number]; export type SimplifiedAgentStatus = | 'healthy' diff --git a/x-pack/plugins/fleet/common/types/models/package_spec.ts b/x-pack/plugins/fleet/common/types/models/package_spec.ts index 9a42745cd89bb..fa5ba6be65fab 100644 --- a/x-pack/plugins/fleet/common/types/models/package_spec.ts +++ b/x-pack/plugins/fleet/common/types/models/package_spec.ts @@ -69,6 +69,7 @@ export type PackageSpecCategory = | 'datastore' | 'dns_security' | 'edr_xdr' + | 'cloudsecurity_cdr' | 'elasticsearch_sdk' | 'elastic_stack' | 'email_security' diff --git a/x-pack/plugins/fleet/cypress/screens/fleet.ts b/x-pack/plugins/fleet/cypress/screens/fleet.ts index a877c69205efa..6ebf0fad10b9b 100644 --- a/x-pack/plugins/fleet/cypress/screens/fleet.ts +++ b/x-pack/plugins/fleet/cypress/screens/fleet.ts @@ -123,7 +123,6 @@ export const SETTINGS_OUTPUTS = { NAME_INPUT: 'settingsOutputsFlyout.nameInput', TYPE_INPUT: 'settingsOutputsFlyout.typeInput', ADD_HOST_ROW_BTN: 'fleetServerHosts.multiRowInput.addRowButton', - WARNING_KAFKA_CALLOUT: 'settingsOutputsFlyout.kafkaOutputTypeCallout', WARNING_ELASTICSEARCH_CALLOUT: 'settingsOutputsFlyout.elasticsearchOutputTypeCallout', PRESET_INPUT: 'settingsOutputsFlyout.presetInput', }; diff --git a/x-pack/plugins/fleet/cypress/screens/fleet_outputs.ts b/x-pack/plugins/fleet/cypress/screens/fleet_outputs.ts index 7370201f2b9a6..eb4d3310e113d 100644 --- a/x-pack/plugins/fleet/cypress/screens/fleet_outputs.ts +++ b/x-pack/plugins/fleet/cypress/screens/fleet_outputs.ts @@ -31,7 +31,6 @@ export const selectKafkaOutput = () => { visit('/app/fleet/settings'); cy.getBySel(SETTINGS_OUTPUTS.ADD_BTN).click(); cy.getBySel(SETTINGS_OUTPUTS.TYPE_INPUT).select('kafka'); - cy.getBySel(SETTINGS_OUTPUTS.WARNING_KAFKA_CALLOUT); cy.getBySel(SETTINGS_OUTPUTS_KAFKA.AUTHENTICATION_USERNAME_PASSWORD_OPTION).click(); }; diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/hooks/use_fetch_agents_data.tsx b/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/hooks/use_fetch_agents_data.tsx index ae0067a6af21a..3eb47af03ee0e 100644 --- a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/hooks/use_fetch_agents_data.tsx +++ b/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/hooks/use_fetch_agents_data.tsx @@ -33,7 +33,7 @@ export function useFetchAgentsData() { const { displayAgentMetrics } = ExperimentalFeaturesService.get(); const { notifications } = useStartServices(); - // useBreadcrumbs('agent_list'); + const history = useHistory(); const { urlParams, toUrlParams } = useUrlParams(); const defaultKuery: string = (urlParams.kuery as string) || ''; diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/settings/components/edit_output_flyout/index.tsx b/x-pack/plugins/fleet/public/applications/fleet/sections/settings/components/edit_output_flyout/index.tsx index f7d2b27a34071..544e01135c705 100644 --- a/x-pack/plugins/fleet/public/applications/fleet/sections/settings/components/edit_output_flyout/index.tsx +++ b/x-pack/plugins/fleet/public/applications/fleet/sections/settings/components/edit_output_flyout/index.tsx @@ -166,18 +166,12 @@ export const EditOutputFlyout: React.FunctionComponent = }; const renderTypeSpecificWarning = () => { - const isKafkaOutput = inputs.typeInput.value === outputType.Kafka; - if (!isKafkaOutput && !isESOutput && !isRemoteESOutput) { + if (!isESOutput && !isRemoteESOutput) { return null; } const generateWarningMessage = () => { switch (inputs.typeInput.value) { - case outputType.Kafka: - return i18n.translate('xpack.fleet.settings.editOutputFlyout.kafkaOutputTypeCallout', { - defaultMessage: - 'Kafka output is currently not supported on Agents using the Elastic Defend integration.', - }); default: case outputType.Elasticsearch: return i18n.translate('xpack.fleet.settings.editOutputFlyout.esOutputTypeCallout', { diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/settings/hooks/use_confirm_modal.tsx b/x-pack/plugins/fleet/public/applications/fleet/sections/settings/hooks/use_confirm_modal.tsx index aa284ed64f2c9..a3b3b5f9bbf7d 100644 --- a/x-pack/plugins/fleet/public/applications/fleet/sections/settings/hooks/use_confirm_modal.tsx +++ b/x-pack/plugins/fleet/public/applications/fleet/sections/settings/hooks/use_confirm_modal.tsx @@ -56,6 +56,7 @@ export function useConfirmModal() { export function withConfirmModalProvider(WrappedComponent: React.FunctionComponent) { return (props: T) => ( + {/* @ts-expect-error upgrade typescript v4.9.5*/} ); diff --git a/x-pack/plugins/fleet/public/applications/integrations/sections/epm/components/utils/promote_featured_integrations.ts b/x-pack/plugins/fleet/public/applications/integrations/sections/epm/components/utils/promote_featured_integrations.ts index 93eac87a6aca1..675d3691c1fd5 100644 --- a/x-pack/plugins/fleet/public/applications/integrations/sections/epm/components/utils/promote_featured_integrations.ts +++ b/x-pack/plugins/fleet/public/applications/integrations/sections/epm/components/utils/promote_featured_integrations.ts @@ -12,7 +12,6 @@ import type { Props as PackageListGridProps } from '../package_list_grid'; type Category = PackageListGridProps['selectedCategory']; -// exported for testing export function _promoteFeaturedIntegrations( featuredIntegrationsByCategory: Partial>, packageList: PackageListGridProps['list'], @@ -26,10 +25,14 @@ export function _promoteFeaturedIntegrations( featuredIntegrationNames.includes(card.name) ); - // now return the integrations in the order they are defined in - const orderedFeaturedIntegrations = featuredIntegrationNames - .map((integrationName) => featuredIntegrations.find(({ name }) => name === integrationName)) - .filter((v) => v) as PackageListGridProps['list']; + // Create a new array to keep the order and all matched integrations + const orderedFeaturedIntegrations = []; + for (const name of featuredIntegrationNames) { + const matchingIntegrations = featuredIntegrations.filter( + ({ name: integrationName }) => integrationName === name + ); + orderedFeaturedIntegrations.push(...matchingIntegrations); + } return [...orderedFeaturedIntegrations, ...otherIntegrations]; } diff --git a/x-pack/plugins/fleet/server/services/agents/crud.test.ts b/x-pack/plugins/fleet/server/services/agents/crud.test.ts index 93dde0737accc..33f30ab1b966b 100644 --- a/x-pack/plugins/fleet/server/services/agents/crud.test.ts +++ b/x-pack/plugins/fleet/server/services/agents/crud.test.ts @@ -12,6 +12,7 @@ import { AGENTS_INDEX } from '../../constants'; import { createAppContextStartContractMock } from '../../mocks'; import type { Agent } from '../../types'; import { appContextService } from '../app_context'; +import type { AgentStatus } from '../../../common/types'; import { auditLoggingService } from '../audit_logging'; @@ -57,7 +58,7 @@ describe('Agents CRUD test', () => { appContextService.start(mockContract); }); - function getEsResponse(ids: string[], total: number) { + function getEsResponse(ids: string[], total: number, status: AgentStatus) { return { hits: { total, @@ -65,7 +66,7 @@ describe('Agents CRUD test', () => { _id: id, _source: {}, fields: { - status: ['inactive'], + status: [status], }, })), }, @@ -162,9 +163,11 @@ describe('Agents CRUD test', () => { describe('getAgentsByKuery', () => { it('should return upgradeable on first page', async () => { searchMock - .mockImplementationOnce(() => Promise.resolve(getEsResponse(['1', '2', '3', '4', '5'], 7))) .mockImplementationOnce(() => - Promise.resolve(getEsResponse(['1', '2', '3', '4', '5', 'up', '7'], 7)) + Promise.resolve(getEsResponse(['1', '2', '3', '4', '5'], 7, 'inactive')) + ) + .mockImplementationOnce(() => + Promise.resolve(getEsResponse(['1', '2', '3', '4', '5', 'up', '7'], 7, 'inactive')) ); const result = await getAgentsByKuery(esClientMock, soClientMock, { showUpgradeable: true, @@ -191,9 +194,11 @@ describe('Agents CRUD test', () => { it('should return upgradeable from all pages', async () => { searchMock - .mockImplementationOnce(() => Promise.resolve(getEsResponse(['1', '2', '3', 'up', '5'], 7))) .mockImplementationOnce(() => - Promise.resolve(getEsResponse(['1', '2', '3', 'up', '5', 'up2', '7'], 7)) + Promise.resolve(getEsResponse(['1', '2', '3', 'up', '5'], 7, 'inactive')) + ) + .mockImplementationOnce(() => + Promise.resolve(getEsResponse(['1', '2', '3', 'up', '5', 'up2', '7'], 7, 'inactive')) ); const result = await getAgentsByKuery(esClientMock, soClientMock, { showUpgradeable: true, @@ -227,9 +232,11 @@ describe('Agents CRUD test', () => { it('should return upgradeable on second page', async () => { searchMock - .mockImplementationOnce(() => Promise.resolve(getEsResponse(['up6', '7'], 7))) + .mockImplementationOnce(() => Promise.resolve(getEsResponse(['up6', '7'], 7, 'inactive'))) .mockImplementationOnce(() => - Promise.resolve(getEsResponse(['up1', 'up2', 'up3', 'up4', 'up5', 'up6', '7'], 7)) + Promise.resolve( + getEsResponse(['up1', 'up2', 'up3', 'up4', 'up5', 'up6', '7'], 7, 'inactive') + ) ); const result = await getAgentsByKuery(esClientMock, soClientMock, { showUpgradeable: true, @@ -256,7 +263,7 @@ describe('Agents CRUD test', () => { it('should return upgradeable from one page when total is more than limit', async () => { searchMock.mockImplementationOnce(() => - Promise.resolve(getEsResponse(['1', '2', '3', 'up', '5'], 10001)) + Promise.resolve(getEsResponse(['1', '2', '3', 'up', '5'], 10001, 'inactive')) ); const result = await getAgentsByKuery(esClientMock, soClientMock, { showUpgradeable: true, @@ -281,8 +288,79 @@ describe('Agents CRUD test', () => { }); }); + it('should return correct status summary when showUpgradeable is selected and total is less than limit', async () => { + searchMock.mockImplementationOnce(() => + Promise.resolve(getEsResponse(['1', '2', '3', 'up', '5'], 100, 'updating')) + ); + searchMock.mockImplementationOnce(() => + Promise.resolve(getEsResponse(['1', '2', '3', 'up', '5'], 100, 'updating')) + ); + const result = await getAgentsByKuery(esClientMock, soClientMock, { + showUpgradeable: true, + showInactive: false, + getStatusSummary: true, + page: 1, + perPage: 5, + }); + + expect(result).toEqual( + expect.objectContaining({ + page: 1, + perPage: 5, + statusSummary: { + degraded: 0, + enrolling: 0, + error: 0, + inactive: 0, + offline: 0, + online: 0, + unenrolled: 0, + unenrolling: 0, + updating: 1, + }, + total: 1, + }) + ); + }); + + it('should return correct status summary when showUpgradeable is selected and total is more than limit', async () => { + searchMock.mockImplementationOnce(() => + Promise.resolve(getEsResponse(['1', '2', '3', 'up', '5'], 10001, 'updating')) + ); + searchMock.mockImplementationOnce(() => + Promise.resolve(getEsResponse(['1', '2', '3', 'up', '5'], 10001, 'updating')) + ); + const result = await getAgentsByKuery(esClientMock, soClientMock, { + showUpgradeable: true, + showInactive: false, + getStatusSummary: true, + page: 1, + perPage: 5, + }); + expect(result).toEqual( + expect.objectContaining({ + page: 1, + perPage: 5, + statusSummary: { + degraded: 0, + enrolling: 0, + error: 0, + inactive: 0, + offline: 0, + online: 0, + unenrolled: 0, + unenrolling: 0, + updating: 1, + }, + total: 10001, + }) + ); + }); + it('should return second page', async () => { - searchMock.mockImplementationOnce(() => Promise.resolve(getEsResponse(['6', '7'], 7))); + searchMock.mockImplementationOnce(() => + Promise.resolve(getEsResponse(['6', '7'], 7, 'inactive')) + ); const result = await getAgentsByKuery(esClientMock, soClientMock, { showUpgradeable: false, showInactive: false, @@ -314,7 +392,9 @@ describe('Agents CRUD test', () => { }); it('should pass secondary sort for default sort', async () => { - searchMock.mockImplementationOnce(() => Promise.resolve(getEsResponse(['1', '2'], 2))); + searchMock.mockImplementationOnce(() => + Promise.resolve(getEsResponse(['1', '2'], 2, 'inactive')) + ); await getAgentsByKuery(esClientMock, soClientMock, { showInactive: false, }); @@ -326,7 +406,9 @@ describe('Agents CRUD test', () => { }); it('should not pass secondary sort for non-default sort', async () => { - searchMock.mockImplementationOnce(() => Promise.resolve(getEsResponse(['1', '2'], 2))); + searchMock.mockImplementationOnce(() => + Promise.resolve(getEsResponse(['1', '2'], 2, 'inactive')) + ); await getAgentsByKuery(esClientMock, soClientMock, { showInactive: false, sortField: 'policy_id', diff --git a/x-pack/plugins/fleet/server/services/agents/crud.ts b/x-pack/plugins/fleet/server/services/agents/crud.ts index d8e6e58f059ad..5492c52a16394 100644 --- a/x-pack/plugins/fleet/server/services/agents/crud.ts +++ b/x-pack/plugins/fleet/server/services/agents/crud.ts @@ -350,9 +350,19 @@ export async function getAgentsByKuery( } if (getStatusSummary) { - res.aggregations?.status.buckets.forEach((bucket) => { - statusSummary[bucket.key] = bucket.doc_count; - }); + if (showUpgradeable) { + // when showUpgradeable is selected, calculate the summary status manually from the upgradeable agents above + // the bucket count doesn't take in account the upgradeable agents + agents.forEach((agent) => { + if (!agent?.status) return; + if (!statusSummary[agent.status]) statusSummary[agent.status] = 0; + statusSummary[agent.status]++; + }); + } else { + res.aggregations?.status.buckets.forEach((bucket) => { + statusSummary[bucket.key] = bucket.doc_count; + }); + } } return { diff --git a/x-pack/plugins/fleet/server/services/preconfiguration.ts b/x-pack/plugins/fleet/server/services/preconfiguration.ts index 8a4944ddb99ad..a6c05bf969ff2 100644 --- a/x-pack/plugins/fleet/server/services/preconfiguration.ts +++ b/x-pack/plugins/fleet/server/services/preconfiguration.ts @@ -305,6 +305,7 @@ export async function ensurePreconfiguredPackagesAndPolicies( }), } ), + // @ts-expect-error upgrade typescript v4.9.5 packages: fulfilledPackages.map((pkg) => ('version' in pkg ? pkgToPkgKey(pkg) : pkg.name)), nonFatalErrors: [...rejectedPackages, ...rejectedPolicies], }; diff --git a/x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/form/form_errors_context.tsx b/x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/form/form_errors_context.tsx index 70199e08aa308..dfe7858eb3c7d 100644 --- a/x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/form/form_errors_context.tsx +++ b/x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/form/form_errors_context.tsx @@ -86,6 +86,7 @@ export const FormErrorsProvider: FunctionComponent = ({ children }) => { const nextHasErrors = Object.keys(restOfPhaseErrors).length > 0 || Object.values(otherPhases).some((phaseErrors) => { + // @ts-expect-error upgrade typescript v4.9.5 return Object.keys(phaseErrors).length > 0; }); diff --git a/x-pack/plugins/infra/jest.config.js b/x-pack/plugins/infra/jest.config.js deleted file mode 100644 index 5631bc25a1452..0000000000000 --- a/x-pack/plugins/infra/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/infra'], - coverageDirectory: '/target/kibana-coverage/jest/x-pack/plugins/infra', - coverageReporters: ['text', 'html'], - collectCoverageFrom: ['/x-pack/plugins/infra/{common,public,server}/**/*.{ts,tsx}'], -}; diff --git a/x-pack/plugins/lens/public/datasources/form_based/operations/definitions/formula/formula.test.tsx b/x-pack/plugins/lens/public/datasources/form_based/operations/definitions/formula/formula.test.tsx index c86d12017c21a..06a118dc165ce 100644 --- a/x-pack/plugins/lens/public/datasources/form_based/operations/definitions/formula/formula.test.tsx +++ b/x-pack/plugins/lens/public/datasources/form_based/operations/definitions/formula/formula.test.tsx @@ -56,10 +56,12 @@ const operationDefinitionMap: Record = { }), derivative: createOperationDefinitionMock('derivative', { input: 'fullReference' }), moving_average: createOperationDefinitionMock('moving_average', { + // @ts-expect-error upgrade typescript v4.9.5 input: 'fullReference', operationParams: [{ name: 'window', type: 'number', required: true }], filterable: true, getErrorMessage: jest.fn(() => ['mock error']), + // @ts-expect-error upgrade typescript v4.9.5 buildColumn: ({ referenceIds }, columnsParams) => ({ label: 'moving_average', dataType: 'number', diff --git a/x-pack/plugins/lens/public/debounced_component/debounced_component.test.tsx b/x-pack/plugins/lens/public/debounced_component/debounced_component.test.tsx deleted file mode 100644 index d52eb3c578059..0000000000000 --- a/x-pack/plugins/lens/public/debounced_component/debounced_component.test.tsx +++ /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; you may not use this file except in compliance with the Elastic License - * 2.0. - */ - -import React from 'react'; -import { mountWithIntl as mount } from '@kbn/test-jest-helpers'; -import { debouncedComponent } from './debounced_component'; -import { act } from 'react-dom/test-utils'; - -describe('debouncedComponent', () => { - test('immediately renders', () => { - const TestComponent = debouncedComponent(({ title }: { title: string }) => { - return

{title}

; - }); - expect(mount().html()).toMatchInlineSnapshot(`"

hoi

"`); - }); - - test('debounces changes', async () => { - const TestComponent = debouncedComponent(({ title }: { title: string }) => { - return

{title}

; - }, 1); - const component = mount(); - component.setProps({ title: 'yall' }); - expect(component.text()).toEqual('there'); - await act(async () => { - await new Promise((r) => setTimeout(r, 10)); - }); - expect(component.text()).toEqual('yall'); - }); -}); diff --git a/x-pack/plugins/lens/public/debounced_component/debounced_component.tsx b/x-pack/plugins/lens/public/debounced_component/debounced_component.tsx deleted file mode 100644 index 1f341c39d9fad..0000000000000 --- a/x-pack/plugins/lens/public/debounced_component/debounced_component.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, { useState, useMemo, useEffect, memo, FunctionComponent } from 'react'; -import { debounce } from 'lodash'; - -/** - * debouncedComponent wraps the specified React component, returning a component which - * only renders once there is a pause in props changes for at least `delay` milliseconds. - * During the debounce phase, it will return the previously rendered value. - */ -export function debouncedComponent(component: FunctionComponent, delay = 256) { - const MemoizedComponent = memo(component) as unknown as FunctionComponent; - - return (props: TProps) => { - const [cachedProps, setCachedProps] = useState(props); - const debouncePropsChange = useMemo(() => debounce(setCachedProps, delay), [setCachedProps]); - - // cancel debounced prop change if component has been unmounted in the meantime - useEffect(() => () => debouncePropsChange.cancel(), [debouncePropsChange]); - debouncePropsChange(props); - - return React.createElement(MemoizedComponent, cachedProps); - }; -} diff --git a/x-pack/plugins/lens/public/editor_frame_service/editor_frame/workspace_panel/workspace_panel.test.tsx b/x-pack/plugins/lens/public/editor_frame_service/editor_frame/workspace_panel/workspace_panel.test.tsx index 66d99d187a369..c73f427fcd7f9 100644 --- a/x-pack/plugins/lens/public/editor_frame_service/editor_frame/workspace_panel/workspace_panel.test.tsx +++ b/x-pack/plugins/lens/public/editor_frame_service/editor_frame/workspace_panel/workspace_panel.test.tsx @@ -18,11 +18,6 @@ import { } from '../../../mocks'; import { mockDataPlugin, mountWithProvider } from '../../../mocks'; -jest.mock('../../../debounced_component', () => { - return { - debouncedComponent: (fn: unknown) => fn, - }; -}); import { WorkspacePanel } from './workspace_panel'; import { ReactWrapper } from 'enzyme'; diff --git a/x-pack/plugins/lens/public/editor_frame_service/editor_frame/workspace_panel/workspace_panel.tsx b/x-pack/plugins/lens/public/editor_frame_service/editor_frame/workspace_panel/workspace_panel.tsx index 842904741ec9b..3e90a4179f9eb 100644 --- a/x-pack/plugins/lens/public/editor_frame_service/editor_frame/workspace_panel/workspace_panel.tsx +++ b/x-pack/plugins/lens/public/editor_frame_service/editor_frame/workspace_panel/workspace_panel.tsx @@ -777,6 +777,7 @@ export const VisualizationWrapper = ({ searchSessionId={searchSessionId} onEvent={onEvent} hasCompatibleActions={hasCompatibleActions} + // @ts-expect-error upgrade typescript v4.9.5 onData$={onData$} onRender$={onRenderHandler} inspectorAdapters={lensInspector.adapters} diff --git a/x-pack/plugins/lens/public/embeddable/expression_wrapper.tsx b/x-pack/plugins/lens/public/embeddable/expression_wrapper.tsx index 8540058683c11..63a2a6aabe3fe 100644 --- a/x-pack/plugins/lens/public/embeddable/expression_wrapper.tsx +++ b/x-pack/plugins/lens/public/embeddable/expression_wrapper.tsx @@ -86,6 +86,7 @@ export function ExpressionWrapper({ interactive={interactive} searchContext={searchContext} searchSessionId={searchSessionId} + // @ts-expect-error upgrade typescript v4.9.5 onData$={onData$} onRender$={onRender$} inspectorAdapters={lensInspector.adapters} diff --git a/x-pack/plugins/lens/public/state_management/lens_slice.ts b/x-pack/plugins/lens/public/state_management/lens_slice.ts index b7b02bdbc934b..dc59192c2d195 100644 --- a/x-pack/plugins/lens/public/state_management/lens_slice.ts +++ b/x-pack/plugins/lens/public/state_management/lens_slice.ts @@ -877,7 +877,7 @@ export const makeLensReducer = (storeDeps: LensStoreDeps) => { activeVisualization.removeLayer && state.visualization.state ) { - const updater = layerIds.reduce( + const updater = layerIds.reduce( (acc, layerId) => activeVisualization.removeLayer ? activeVisualization.removeLayer(acc, layerId) : acc, state.visualization.state diff --git a/x-pack/plugins/lens/server/migrations/common_migrations.ts b/x-pack/plugins/lens/server/migrations/common_migrations.ts index c1be1008ad682..f6a683afc2297 100644 --- a/x-pack/plugins/lens/server/migrations/common_migrations.ts +++ b/x-pack/plugins/lens/server/migrations/common_migrations.ts @@ -502,7 +502,11 @@ export const commonMigratePartitionChartGroups = ( }> ): LensDocShape850<{ shape: string; - layers: Array<{ primaryGroups?: string[]; secondaryGroups?: string[] }>; + layers: Array<{ + primaryGroups?: string[]; + secondaryGroups?: string[]; + [key: string]: unknown; // unknown carryover key/values + }>; }> => { if ( attributes.state.visualization?.layers && diff --git a/x-pack/plugins/lists/server/routes/utils/build_siem_response.ts b/x-pack/plugins/lists/server/routes/utils/build_siem_response.ts index d61a02a869d28..99552d332eca2 100644 --- a/x-pack/plugins/lists/server/routes/utils/build_siem_response.ts +++ b/x-pack/plugins/lists/server/routes/utils/build_siem_response.ts @@ -48,12 +48,15 @@ const statusToErrorMessage = ( export class SiemResponseFactory { constructor(private response: KibanaResponseFactory) {} + // @ts-expect-error upgrade typescript v4.9.5 // eslint-disable-next-line @typescript-eslint/explicit-function-return-type error({ statusCode, body, headers, bypassErrorFormat }: CustomHttpResponseOptions) { // KibanaResponse is not exported so we cannot use a return type here and that is why the linter is turned off above + // @ts-expect-error upgrade typescript v4.9.5 const contentType: CustomHttpResponseOptions['headers'] = { 'content-type': 'application/json', }; + // @ts-expect-error upgrade typescript v4.9.5 const defaultedHeaders: CustomHttpResponseOptions['headers'] = { ...contentType, ...(headers ?? {}), diff --git a/x-pack/plugins/logs_shared/public/components/logging/log_text_stream/vertical_scroll_panel.tsx b/x-pack/plugins/logs_shared/public/components/logging/log_text_stream/vertical_scroll_panel.tsx index 81d77aa66c1a5..99219b5c77507 100644 --- a/x-pack/plugins/logs_shared/public/components/logging/log_text_stream/vertical_scroll_panel.tsx +++ b/x-pack/plugins/logs_shared/public/components/logging/log_text_stream/vertical_scroll_panel.tsx @@ -104,6 +104,7 @@ export class VerticalScrollPanel extends React.PureComponent< }, } = this; + // @ts-expect-error upgrade typescript v4.9.5 return getVisibleChildren(Array.from(childDimensions.entries()), scrollViewHeight, scrollTop); }; @@ -135,8 +136,11 @@ export class VerticalScrollPanel extends React.PureComponent< } onVisibleChildrenChange({ + // @ts-expect-error upgrade typescript v4.9.5 bottomChild: visibleChildren.bottomChild, + // @ts-expect-error upgrade typescript v4.9.5 middleChild: visibleChildren.middleChild, + // @ts-expect-error upgrade typescript v4.9.5 topChild: visibleChildren.topChild, fromScroll, ...scrollPosition, @@ -205,6 +209,7 @@ export class VerticalScrollPanel extends React.PureComponent< if (visibleChildren) { return { scrollOffset: visibleChildren.middleChildOffset, + // @ts-expect-error upgrade typescript v4.9.5 scrollTarget: visibleChildren.middleChild, }; } diff --git a/x-pack/plugins/maps/public/classes/sources/es_source/es_source.ts b/x-pack/plugins/maps/public/classes/sources/es_source/es_source.ts index d982bfaf09f5d..0e5a48b3d5827 100644 --- a/x-pack/plugins/maps/public/classes/sources/es_source/es_source.ts +++ b/x-pack/plugins/maps/public/classes/sources/es_source/es_source.ts @@ -185,9 +185,11 @@ export class AbstractESSource extends AbstractVectorSource implements IESSource const buffer: MapExtent = 'isGeoGridPrecisionAware' in this && 'getGeoGridPrecision' in this && + // @ts-expect-error upgrade typescript v4.9.5 (this as IESAggSource).isGeoGridPrecisionAware() ? expandToTileBoundaries( requestMeta.buffer, + // @ts-expect-error upgrade typescript v4.9.5 (this as IESAggSource).getGeoGridPrecision(requestMeta.zoom) ) : requestMeta.buffer; diff --git a/x-pack/plugins/maps/public/classes/sources/esql_source/create_source_editor.tsx b/x-pack/plugins/maps/public/classes/sources/esql_source/create_source_editor.tsx index 4533c54d1a1ce..f0f02f788a8b9 100644 --- a/x-pack/plugins/maps/public/classes/sources/esql_source/create_source_editor.tsx +++ b/x-pack/plugins/maps/public/classes/sources/esql_source/create_source_editor.tsx @@ -213,7 +213,7 @@ export function CreateSourceEditor(props: Props) { { diff --git a/x-pack/plugins/maps/public/classes/sources/esql_source/narrow_by_field.tsx b/x-pack/plugins/maps/public/classes/sources/esql_source/narrow_by_field.tsx index ba5047deb6d22..5df13379cd9e0 100644 --- a/x-pack/plugins/maps/public/classes/sources/esql_source/narrow_by_field.tsx +++ b/x-pack/plugins/maps/public/classes/sources/esql_source/narrow_by_field.tsx @@ -15,7 +15,7 @@ export function NarrowByMapBounds(props: Omit diff --git a/x-pack/plugins/maps/public/classes/sources/esql_source/update_source_editor.test.tsx b/x-pack/plugins/maps/public/classes/sources/esql_source/update_source_editor.test.tsx index 7491f6bc2b049..cea623f40ec07 100644 --- a/x-pack/plugins/maps/public/classes/sources/esql_source/update_source_editor.test.tsx +++ b/x-pack/plugins/maps/public/classes/sources/esql_source/update_source_editor.test.tsx @@ -45,7 +45,7 @@ jest.mock('../../../kibana_services', () => { describe('UpdateSourceEditor', () => { describe('narrow by map bounds switch', () => { function getNarrowByMapBoundsSwitch() { - return screen.getByText('Narrow ES|QL statement by visible map area'); + return screen.getByText('Dynamically filter for data in the visible map area'); } test('should set geoField when checked and geo field is not set', async () => { @@ -97,7 +97,7 @@ describe('UpdateSourceEditor', () => { describe('narrow by time switch', () => { function getNarrowByTimeSwitch() { - return screen.getByText('Narrow ES|QL statement by global time'); + return screen.getByText('Apply global time range to ES|QL statement'); } test('should set dateField when checked and date field is not set', async () => { diff --git a/x-pack/plugins/maps/public/classes/sources/esql_source/update_source_editor.tsx b/x-pack/plugins/maps/public/classes/sources/esql_source/update_source_editor.tsx index e77bcf862f929..e7afd52e9b5e5 100644 --- a/x-pack/plugins/maps/public/classes/sources/esql_source/update_source_editor.tsx +++ b/x-pack/plugins/maps/public/classes/sources/esql_source/update_source_editor.tsx @@ -132,7 +132,7 @@ export function UpdateSourceEditor(props: Props) { { diff --git a/x-pack/plugins/maps/public/classes/styles/vector/properties/dynamic_style_property.tsx b/x-pack/plugins/maps/public/classes/styles/vector/properties/dynamic_style_property.tsx index 9fc1ccaf38c84..72a930553f4ec 100644 --- a/x-pack/plugins/maps/public/classes/styles/vector/properties/dynamic_style_property.tsx +++ b/x-pack/plugins/maps/public/classes/styles/vector/properties/dynamic_style_property.tsx @@ -350,6 +350,7 @@ export class DynamicStyleProperty } getDataMappingFunction() { + // @ts-expect-error upgrade typescript v4.9.5 return 'dataMappingFunction' in this._options ? (this._options as T & { dataMappingFunction: DATA_MAPPING_FUNCTION }).dataMappingFunction : DATA_MAPPING_FUNCTION.INTERPOLATE; diff --git a/x-pack/plugins/maps/public/classes/styles/vector/symbol_utils.tsx b/x-pack/plugins/maps/public/classes/styles/vector/symbol_utils.tsx index 5a2c1bc687a0e..a0a2b27abb2f4 100644 --- a/x-pack/plugins/maps/public/classes/styles/vector/symbol_utils.tsx +++ b/x-pack/plugins/maps/public/classes/styles/vector/symbol_utils.tsx @@ -59,6 +59,7 @@ export async function createSdfIcon({ svgCanvas.width = size; svgCanvas.height = size; const svgCtx = svgCanvas.getContext('2d'); + // @ts-expect-error upgrade typescript v4.9.5 const v = Canvg.fromString(svgCtx, svg, { ignoreDimensions: true, offsetX: buffer / 2, diff --git a/x-pack/plugins/maps/public/lazy_wrapper.tsx b/x-pack/plugins/maps/public/lazy_wrapper.tsx index 38740267f39b4..184cbc310da46 100644 --- a/x-pack/plugins/maps/public/lazy_wrapper.tsx +++ b/x-pack/plugins/maps/public/lazy_wrapper.tsx @@ -24,6 +24,7 @@ export function LazyWrapper({ getLazyComponent, lazyComponentProps }: Props }> + {/* @ts-expect-error upgrade typescript v4.9.5*/} diff --git a/x-pack/plugins/ml/public/application/contexts/kibana/kibana_context.ts b/x-pack/plugins/ml/public/application/contexts/kibana/kibana_context.ts index bf92b528c60c1..d375269cb39c1 100644 --- a/x-pack/plugins/ml/public/application/contexts/kibana/kibana_context.ts +++ b/x-pack/plugins/ml/public/application/contexts/kibana/kibana_context.ts @@ -21,7 +21,7 @@ import type { TriggersAndActionsUIPublicPluginStart } from '@kbn/triggers-action import type { DashboardStart } from '@kbn/dashboard-plugin/public'; import type { SpacesPluginStart } from '@kbn/spaces-plugin/public'; import type { ChartsPluginStart } from '@kbn/charts-plugin/public'; -import type { CasesUiStart } from '@kbn/cases-plugin/public'; +import type { CasesPublicStart } from '@kbn/cases-plugin/public'; import type { UnifiedSearchPublicPluginStart } from '@kbn/unified-search-plugin/public'; import type { LensPublicStart } from '@kbn/lens-plugin/public'; import type { SavedObjectsManagementPluginStart } from '@kbn/saved-objects-management-plugin/public'; @@ -34,7 +34,7 @@ import type { FieldFormatsRegistry } from '@kbn/field-formats-plugin/common'; import type { MlServicesContext } from '../../app'; interface StartPlugins { - cases?: CasesUiStart; + cases?: CasesPublicStart; charts: ChartsPluginStart; contentManagement: ContentManagementPublicStart; dashboard: DashboardStart; diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/components/configuration_step/configuration_step.tsx b/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/components/configuration_step/configuration_step.tsx index 710fd49f72fb6..34490462c2c2d 100644 --- a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/components/configuration_step/configuration_step.tsx +++ b/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/components/configuration_step/configuration_step.tsx @@ -15,6 +15,7 @@ import { ANALYTICS_STEPS } from '../../page'; export interface ConfigurationStepProps extends CreateAnalyticsStepProps { isClone: boolean; + sourceDataViewTitle: string; } export const ConfigurationStep: FC = ({ @@ -24,6 +25,7 @@ export const ConfigurationStep: FC = ({ step, stepActivated, isClone, + sourceDataViewTitle, }) => { const showForm = step === ANALYTICS_STEPS.CONFIGURATION; const showDetails = step !== ANALYTICS_STEPS.CONFIGURATION && stepActivated === true; @@ -40,6 +42,7 @@ export const ConfigurationStep: FC = ({ isClone={isClone} state={state} setCurrentStep={setCurrentStep} + sourceDataViewTitle={sourceDataViewTitle} /> )} {showDetails && } diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/components/configuration_step/configuration_step_form.tsx b/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/components/configuration_step/configuration_step_form.tsx index d065ef84fa970..8ad8994fce64c 100644 --- a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/components/configuration_step/configuration_step_form.tsx +++ b/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/components/configuration_step/configuration_step_form.tsx @@ -68,6 +68,7 @@ import { ExplorationQueryBarProps } from '../../../analytics_exploration/compone import { ScatterplotMatrix } from '../../../../../components/scatterplot_matrix'; import { RuntimeMappings } from '../runtime_mappings'; import { ConfigurationStepProps } from './configuration_step'; +import { IndexPermissionsCallout } from '../index_permissions_callout'; const runtimeMappingKey = 'runtime_mapping'; const notIncludedReason = 'field not in includes list'; @@ -119,6 +120,7 @@ export const ConfigurationStepForm: FC = ({ isClone, state, setCurrentStep, + sourceDataViewTitle, }) => { const { selectedDataView, selectedSavedSearch } = useDataSource(); const { savedSearchQuery, savedSearchQueryStr } = useSavedSearch(); @@ -583,6 +585,7 @@ export const ConfigurationStepForm: FC = ({ + {savedSearchQuery === null && ( = ({ return ( + = ({ + indexName, + docsType, +}) => { + const { + services: { + docLinks: { + links: { + ml: { dFAStartJob, dFACreateJob }, + }, + }, + }, + } = useMlKibana(); + + const docsLink = docsType === 'start' ? dFAStartJob : dFACreateJob; + const hasRequiredIndicesPermissions = useHasRequiredIndicesPermissions( + indexName, + docsType === 'start' + ); + // If 'hasRequiredIndicesPermissions' is undefined - the index passed to the check is an empty string + if (hasRequiredIndicesPermissions === undefined || hasRequiredIndicesPermissions === true) { + return null; + } + + return ( + <> + +

+ + + + ), + }} + /> +

+
+ + + ); +}; diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/hooks/index.ts b/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/hooks/index.ts index b156af3dec66a..b7e112a934e1d 100644 --- a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/hooks/index.ts +++ b/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/hooks/index.ts @@ -6,3 +6,4 @@ */ export { useIndexData } from './use_index_data'; +export { useHasRequiredIndicesPermissions } from './use_has_index_permission'; diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/hooks/use_has_index_permission.ts b/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/hooks/use_has_index_permission.ts new file mode 100644 index 0000000000000..2fc8fb6b85f14 --- /dev/null +++ b/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/hooks/use_has_index_permission.ts @@ -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 { useState, useEffect } from 'react'; + +import { useMlKibana } from '../../../../contexts/kibana'; + +export const useHasRequiredIndicesPermissions = ( + indexName: string, + isDestIndex: boolean = false +) => { + const [hasIndexPermissions, setHasIndexPermissions] = useState(true); + const { + services: { + mlServices: { + mlApiServices: { hasPrivileges }, + }, + }, + } = useMlKibana(); + + useEffect( + function checkRequiredIndexPermissions() { + async function checkPrivileges() { + const sourceIndexPriv = ['view_index_metadata']; + const destIndexPriv = ['create_index', 'manage', 'index']; + + const privileges = await hasPrivileges({ + index: [ + { + names: [indexName], + privileges: ['read', ...(isDestIndex ? destIndexPriv : sourceIndexPriv)], + }, + ], + }); + + setHasIndexPermissions(privileges.hasPrivileges?.has_all_requested === true); + } + + checkPrivileges(); + }, + [hasPrivileges, indexName, isDestIndex] + ); + + if (indexName === '') { + return; + } + + return hasIndexPermissions; +}; diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/page.tsx b/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/page.tsx index b86d819cc7938..cc5543ed6c23a 100644 --- a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/page.tsx +++ b/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/page.tsx @@ -103,6 +103,7 @@ export const Page: FC = ({ jobId }) => { setCurrentStep={setCurrentStep} step={currentStep} stepActivated={activatedSteps[ANALYTICS_STEPS.CONFIGURATION]} + sourceDataViewTitle={selectedDataView.getIndexPattern()} /> ), status: @@ -188,7 +189,7 @@ export const Page: FC = ({ jobId }) => {
diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/hooks/use_create_analytics_form/use_create_analytics_form.ts b/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/hooks/use_create_analytics_form/use_create_analytics_form.ts index c097577bc289a..e8edab907ef9e 100644 --- a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/hooks/use_create_analytics_form/use_create_analytics_form.ts +++ b/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/hooks/use_create_analytics_form/use_create_analytics_form.ts @@ -10,6 +10,7 @@ import { useReducer } from 'react'; import { i18n } from '@kbn/i18n'; import { extractErrorMessage } from '@kbn/ml-error-utils'; +import { extractErrorProperties } from '@kbn/ml-error-utils'; import type { DataFrameAnalyticsConfig } from '@kbn/ml-data-frame-analytics-utils'; import { useMlKibana } from '../../../../../contexts/kibana'; @@ -91,14 +92,21 @@ export const useCreateAnalyticsForm = (): CreateAnalyticsFormProps => { const analyticsJobConfig = ( isAdvancedEditorEnabled ? jobConfig : getJobConfigFromFormState(form) ) as DataFrameAnalyticsConfig; + const errorMessage = i18n.translate( + 'xpack.ml.dataframe.analytics.create.errorCreatingDataFrameAnalyticsJob', + { + defaultMessage: 'An error occurred creating the data frame analytics job:', + } + ); try { - await ml.dataFrameAnalytics.createDataFrameAnalytics( + const creationResp = await ml.dataFrameAnalytics.createDataFrameAnalytics( jobId, analyticsJobConfig, createDataView, form.timeFieldName ); + addRequestMessage({ message: i18n.translate( 'xpack.ml.dataframe.stepCreateForm.createDataFrameAnalyticsSuccessMessage', @@ -108,21 +116,29 @@ export const useCreateAnalyticsForm = (): CreateAnalyticsFormProps => { } ), }); - setIsJobCreated(true); - refresh(); - return true; + + if ( + creationResp.dataFrameAnalyticsJobsCreated.length && + creationResp.dataFrameAnalyticsJobsErrors.length === 0 + ) { + setIsJobCreated(true); + refresh(); + return true; + } else if (creationResp.dataFrameAnalyticsJobsErrors.length) { + addRequestMessage({ + error: extractErrorProperties(creationResp.dataFrameAnalyticsJobsErrors[0].error).message, + message: errorMessage, + }); + return false; + } } catch (e) { addRequestMessage({ error: extractErrorMessage(e), - message: i18n.translate( - 'xpack.ml.dataframe.analytics.create.errorCreatingDataFrameAnalyticsJob', - { - defaultMessage: 'An error occurred creating the data frame analytics job:', - } - ), + message: errorMessage, }); return false; } + return false; }; const prepareFormValidation = async () => { diff --git a/x-pack/plugins/ml/public/application/services/ml_api_service/data_frame_analytics.ts b/x-pack/plugins/ml/public/application/services/ml_api_service/data_frame_analytics.ts index 8b2c7bd294744..b0729db61c5ff 100644 --- a/x-pack/plugins/ml/public/application/services/ml_api_service/data_frame_analytics.ts +++ b/x-pack/plugins/ml/public/application/services/ml_api_service/data_frame_analytics.ts @@ -23,6 +23,7 @@ import { useMlKibana } from '../../contexts/kibana'; import type { ValidateAnalyticsJobResponse } from '../../../../common/constants/validation'; import type { DeepPartial } from '../../../../common/types/common'; import type { JobMessage } from '../../../../common/types/audit_message'; +import type { PutDataFrameAnalyticsResponseSchema } from '../../../../server/routes/schemas/data_frame_analytics_schema'; export interface GetDataFrameAnalyticsStatsResponseOk { node_failures?: object; @@ -88,7 +89,7 @@ export const dataFrameAnalyticsApiProvider = (httpService: HttpService) => ({ timeFieldName?: string ) { const body = JSON.stringify(analyticsConfig); - return httpService.http({ + return httpService.http({ path: `${ML_INTERNAL_BASE_PATH}/data_frame/analytics/${analyticsId}`, method: 'PUT', query: { createDataView, timeFieldName }, diff --git a/x-pack/plugins/ml/public/cases/register_anomaly_charts_attachment.tsx b/x-pack/plugins/ml/public/cases/register_anomaly_charts_attachment.tsx index 0a69c8d4b8c12..bb22df1d19934 100644 --- a/x-pack/plugins/ml/public/cases/register_anomaly_charts_attachment.tsx +++ b/x-pack/plugins/ml/public/cases/register_anomaly_charts_attachment.tsx @@ -8,7 +8,7 @@ import React from 'react'; import { i18n } from '@kbn/i18n'; import { FormattedMessage } from '@kbn/i18n-react'; -import type { CasesUiSetup } from '@kbn/cases-plugin/public'; +import type { CasesPublicSetup } from '@kbn/cases-plugin/public'; import type { CoreStart } from '@kbn/core/public'; import { CASE_ATTACHMENT_TYPE_ID_ANOMALY_EXPLORER_CHARTS } from '../../common/constants/cases'; import { getEmbeddableComponent } from '../embeddables'; @@ -16,7 +16,7 @@ import type { MlStartDependencies } from '../plugin'; import { PLUGIN_ICON } from '../../common/constants/app'; export function registerAnomalyChartsCasesAttachment( - cases: CasesUiSetup, + cases: CasesPublicSetup, coreStart: CoreStart, pluginStart: MlStartDependencies ) { diff --git a/x-pack/plugins/ml/public/cases/register_anomaly_swim_lane_attachment.tsx b/x-pack/plugins/ml/public/cases/register_anomaly_swim_lane_attachment.tsx index 670a1a266cc41..abc2f9a7c2ab4 100644 --- a/x-pack/plugins/ml/public/cases/register_anomaly_swim_lane_attachment.tsx +++ b/x-pack/plugins/ml/public/cases/register_anomaly_swim_lane_attachment.tsx @@ -8,7 +8,7 @@ import React from 'react'; import { i18n } from '@kbn/i18n'; import { FormattedMessage } from '@kbn/i18n-react'; -import type { CasesUiSetup } from '@kbn/cases-plugin/public'; +import type { CasesPublicSetup } from '@kbn/cases-plugin/public'; import type { CoreStart } from '@kbn/core/public'; import { CASE_ATTACHMENT_TYPE_ID_ANOMALY_SWIMLANE } from '../../common/constants/cases'; import { getEmbeddableComponent } from '../embeddables'; @@ -16,7 +16,7 @@ import type { MlStartDependencies } from '../plugin'; import { PLUGIN_ICON } from '../../common/constants/app'; export function registerAnomalySwimLaneCasesAttachment( - cases: CasesUiSetup, + cases: CasesPublicSetup, coreStart: CoreStart, pluginStart: MlStartDependencies ) { diff --git a/x-pack/plugins/ml/public/cases/register_cases_attachments.ts b/x-pack/plugins/ml/public/cases/register_cases_attachments.ts index 5038c528f67e7..1dfeabb657b09 100644 --- a/x-pack/plugins/ml/public/cases/register_cases_attachments.ts +++ b/x-pack/plugins/ml/public/cases/register_cases_attachments.ts @@ -5,14 +5,14 @@ * 2.0. */ -import { CasesUiSetup } from '@kbn/cases-plugin/public'; +import { CasesPublicSetup } from '@kbn/cases-plugin/public'; import { CoreStart } from '@kbn/core/public'; import { registerAnomalyChartsCasesAttachment } from './register_anomaly_charts_attachment'; import { MlStartDependencies } from '../plugin'; import { registerAnomalySwimLaneCasesAttachment } from './register_anomaly_swim_lane_attachment'; export function registerCasesAttachments( - cases: CasesUiSetup, + cases: CasesPublicSetup, coreStart: CoreStart, pluginStart: MlStartDependencies ) { diff --git a/x-pack/plugins/ml/public/plugin.ts b/x-pack/plugins/ml/public/plugin.ts index c07a02e7a8c4b..9bbfe52bbca07 100644 --- a/x-pack/plugins/ml/public/plugin.ts +++ b/x-pack/plugins/ml/public/plugin.ts @@ -45,7 +45,7 @@ import type { UsageCollectionSetup } from '@kbn/usage-collection-plugin/public'; import type { FieldFormatsSetup } from '@kbn/field-formats-plugin/public'; import type { DashboardSetup, DashboardStart } from '@kbn/dashboard-plugin/public'; import type { ChartsPluginStart } from '@kbn/charts-plugin/public'; -import type { CasesUiSetup, CasesUiStart } from '@kbn/cases-plugin/public'; +import type { CasesPublicSetup, CasesPublicStart } from '@kbn/cases-plugin/public'; import type { SavedSearchPublicPluginStart } from '@kbn/saved-search-plugin/public'; import type { PresentationUtilPluginStart } from '@kbn/presentation-util-plugin/public'; import type { DataViewEditorStart } from '@kbn/data-view-editor-plugin/public'; @@ -72,7 +72,7 @@ import { ElasticModels } from './application/services/elastic_models_service'; import type { MlApiServices } from './application/services/ml_api_service'; export interface MlStartDependencies { - cases?: CasesUiStart; + cases?: CasesPublicStart; charts: ChartsPluginStart; contentManagement: ContentManagementPublicStart; dashboard: DashboardStart; @@ -97,7 +97,7 @@ export interface MlStartDependencies { export interface MlSetupDependencies { alerting?: AlertingSetup; - cases?: CasesUiSetup; + cases?: CasesPublicSetup; dashboard: DashboardSetup; embeddable: EmbeddableSetup; fieldFormats: FieldFormatsSetup; diff --git a/x-pack/plugins/ml/server/lib/register_cases.ts b/x-pack/plugins/ml/server/lib/register_cases.ts index fabd317d1d1bf..4cd629c7b1ac2 100644 --- a/x-pack/plugins/ml/server/lib/register_cases.ts +++ b/x-pack/plugins/ml/server/lib/register_cases.ts @@ -6,7 +6,7 @@ */ import type { Logger } from '@kbn/core/server'; -import type { CasesSetup } from '@kbn/cases-plugin/server'; +import type { CasesServerSetup } from '@kbn/cases-plugin/server'; import type { MlFeatures } from '../../common/constants/app'; import { CASE_ATTACHMENT_TYPE_ID_ANOMALY_EXPLORER_CHARTS, @@ -14,7 +14,7 @@ import { } from '../../common/constants/cases'; export function registerCasesPersistableState( - cases: CasesSetup, + cases: CasesServerSetup, enabledFeatures: MlFeatures, logger: Logger ) { diff --git a/x-pack/plugins/ml/server/plugin.ts b/x-pack/plugins/ml/server/plugin.ts index 3d9ef2dd747a8..e09a2fedaecaa 100644 --- a/x-pack/plugins/ml/server/plugin.ts +++ b/x-pack/plugins/ml/server/plugin.ts @@ -24,7 +24,7 @@ import type { PluginStart as DataViewsPluginStart } from '@kbn/data-views-plugin import type { SpacesPluginSetup } from '@kbn/spaces-plugin/server'; import type { FieldFormatsStart } from '@kbn/field-formats-plugin/server'; import type { HomeServerPluginSetup } from '@kbn/home-plugin/server'; -import type { CasesSetup } from '@kbn/cases-plugin/server'; +import type { CasesServerSetup } from '@kbn/cases-plugin/server'; import type { PluginsSetup, PluginsStart, RouteInitialization } from './types'; import type { MlCapabilities } from '../common/types/capabilities'; import { jsonSchemaRoutes } from './routes/json_schema'; @@ -91,7 +91,7 @@ export class MlServerPlugin private spacesPlugin: SpacesPluginSetup | undefined; private security: SecurityPluginSetup | undefined; private home: HomeServerPluginSetup | null = null; - private cases: CasesSetup | null | undefined = null; + private cases: CasesServerSetup | null | undefined = null; private dataViews: DataViewsPluginStart | null = null; private isMlReady: Promise; private setMlReady: () => void = () => {}; diff --git a/x-pack/plugins/ml/server/types.ts b/x-pack/plugins/ml/server/types.ts index 17f5c5a60a1a9..3cec3550ad7cc 100644 --- a/x-pack/plugins/ml/server/types.ts +++ b/x-pack/plugins/ml/server/types.ts @@ -26,7 +26,7 @@ import { TaskManagerSetupContract, TaskManagerStartContract, } from '@kbn/task-manager-plugin/server'; -import type { CasesSetup } from '@kbn/cases-plugin/server'; +import type { CasesServerSetup } from '@kbn/cases-plugin/server'; import type { RouteGuard } from './lib/route_guard'; import type { ResolveMlCapabilities } from '../common/types/capabilities'; import type { MlLicense } from '../common/license'; @@ -65,7 +65,7 @@ export interface PluginsSetup { actions?: ActionsPlugin['setup']; usageCollection?: UsageCollectionSetup; taskManager: TaskManagerSetupContract; - cases?: CasesSetup; + cases?: CasesServerSetup; } export interface PluginsStart { diff --git a/x-pack/plugins/observability/public/components/slo/slo_status_badge/slo_group_by_badge.tsx b/x-pack/plugins/observability/public/components/slo/slo_status_badge/slo_group_by_badge.tsx deleted file mode 100644 index dd0aa83bc14cb..0000000000000 --- a/x-pack/plugins/observability/public/components/slo/slo_status_badge/slo_group_by_badge.tsx +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the Elastic License - * 2.0; you may not use this file except in compliance with the Elastic License - * 2.0. - */ - -import { EuiBadge, EuiBadgeProps, EuiFlexItem, EuiToolTip } from '@elastic/eui'; -import { i18n } from '@kbn/i18n'; -import { ALL_VALUE, SLOWithSummaryResponse } from '@kbn/slo-schema'; -import React from 'react'; -import { euiLightVars } from '@kbn/ui-theme'; - -export interface Props { - color?: EuiBadgeProps['color']; - slo: SLOWithSummaryResponse; -} - -export function SloGroupByBadge({ slo, color }: Props) { - if (!slo.groupBy || slo.groupBy === ALL_VALUE) { - return null; - } - - return ( - - - - - {slo.groupBy}: {slo.instanceId} - - - - - ); -} diff --git a/x-pack/plugins/observability/server/services/slo/__snapshots__/summary_client.test.ts.snap b/x-pack/plugins/observability/server/services/slo/__snapshots__/summary_client.test.ts.snap deleted file mode 100644 index 8289a38c77596..0000000000000 --- a/x-pack/plugins/observability/server/services/slo/__snapshots__/summary_client.test.ts.snap +++ /dev/null @@ -1,40 +0,0 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`SummaryClient fetchSummary with calendar aligned and timeslices SLO returns the summary 1`] = ` -Object { - "errorBudget": Object { - "consumed": 0, - "initial": 0.05, - "isEstimated": false, - "remaining": 1, - }, - "sliValue": -1, - "status": "NO_DATA", -} -`; - -exports[`SummaryClient fetchSummary with rolling and occurrences SLO returns the summary 1`] = ` -Object { - "errorBudget": Object { - "consumed": 0, - "initial": 0.001, - "isEstimated": false, - "remaining": 1, - }, - "sliValue": -1, - "status": "NO_DATA", -} -`; - -exports[`SummaryClient fetchSummary with rolling and timeslices SLO returns the summary 1`] = ` -Object { - "errorBudget": Object { - "consumed": 0, - "initial": 0.05, - "isEstimated": false, - "remaining": 1, - }, - "sliValue": -1, - "status": "NO_DATA", -} -`; diff --git a/x-pack/plugins/apm/.prettierrc b/x-pack/plugins/observability_solution/apm/.prettierrc similarity index 100% rename from x-pack/plugins/apm/.prettierrc rename to x-pack/plugins/observability_solution/apm/.prettierrc diff --git a/x-pack/plugins/apm/.storybook/jest_setup.js b/x-pack/plugins/observability_solution/apm/.storybook/jest_setup.js similarity index 100% rename from x-pack/plugins/apm/.storybook/jest_setup.js rename to x-pack/plugins/observability_solution/apm/.storybook/jest_setup.js diff --git a/x-pack/plugins/apm/.storybook/main.js b/x-pack/plugins/observability_solution/apm/.storybook/main.js similarity index 100% rename from x-pack/plugins/apm/.storybook/main.js rename to x-pack/plugins/observability_solution/apm/.storybook/main.js diff --git a/x-pack/plugins/apm/.storybook/preview.js b/x-pack/plugins/observability_solution/apm/.storybook/preview.js similarity index 100% rename from x-pack/plugins/apm/.storybook/preview.js rename to x-pack/plugins/observability_solution/apm/.storybook/preview.js diff --git a/x-pack/plugins/apm/CONTRIBUTING.md b/x-pack/plugins/observability_solution/apm/CONTRIBUTING.md similarity index 100% rename from x-pack/plugins/apm/CONTRIBUTING.md rename to x-pack/plugins/observability_solution/apm/CONTRIBUTING.md diff --git a/x-pack/plugins/apm/common/__snapshots__/apm_telemetry.test.ts.snap b/x-pack/plugins/observability_solution/apm/common/__snapshots__/apm_telemetry.test.ts.snap similarity index 100% rename from x-pack/plugins/apm/common/__snapshots__/apm_telemetry.test.ts.snap rename to x-pack/plugins/observability_solution/apm/common/__snapshots__/apm_telemetry.test.ts.snap diff --git a/x-pack/plugins/apm/common/agent_configuration/all_option.ts b/x-pack/plugins/observability_solution/apm/common/agent_configuration/all_option.ts similarity index 100% rename from x-pack/plugins/apm/common/agent_configuration/all_option.ts rename to x-pack/plugins/observability_solution/apm/common/agent_configuration/all_option.ts diff --git a/x-pack/plugins/apm/common/agent_configuration/amount_and_unit.ts b/x-pack/plugins/observability_solution/apm/common/agent_configuration/amount_and_unit.ts similarity index 100% rename from x-pack/plugins/apm/common/agent_configuration/amount_and_unit.ts rename to x-pack/plugins/observability_solution/apm/common/agent_configuration/amount_and_unit.ts diff --git a/x-pack/plugins/apm/common/agent_configuration/configuration_types.d.ts b/x-pack/plugins/observability_solution/apm/common/agent_configuration/configuration_types.d.ts similarity index 100% rename from x-pack/plugins/apm/common/agent_configuration/configuration_types.d.ts rename to x-pack/plugins/observability_solution/apm/common/agent_configuration/configuration_types.d.ts diff --git a/x-pack/plugins/apm/common/agent_configuration/constants.ts b/x-pack/plugins/observability_solution/apm/common/agent_configuration/constants.ts similarity index 100% rename from x-pack/plugins/apm/common/agent_configuration/constants.ts rename to x-pack/plugins/observability_solution/apm/common/agent_configuration/constants.ts diff --git a/x-pack/plugins/apm/common/agent_configuration/runtime_types/agent_configuration_intake_rt.test.ts b/x-pack/plugins/observability_solution/apm/common/agent_configuration/runtime_types/agent_configuration_intake_rt.test.ts similarity index 100% rename from x-pack/plugins/apm/common/agent_configuration/runtime_types/agent_configuration_intake_rt.test.ts rename to x-pack/plugins/observability_solution/apm/common/agent_configuration/runtime_types/agent_configuration_intake_rt.test.ts diff --git a/x-pack/plugins/apm/common/agent_configuration/runtime_types/agent_configuration_intake_rt.ts b/x-pack/plugins/observability_solution/apm/common/agent_configuration/runtime_types/agent_configuration_intake_rt.ts similarity index 100% rename from x-pack/plugins/apm/common/agent_configuration/runtime_types/agent_configuration_intake_rt.ts rename to x-pack/plugins/observability_solution/apm/common/agent_configuration/runtime_types/agent_configuration_intake_rt.ts diff --git a/x-pack/plugins/apm/common/agent_configuration/runtime_types/boolean_rt.test.ts b/x-pack/plugins/observability_solution/apm/common/agent_configuration/runtime_types/boolean_rt.test.ts similarity index 100% rename from x-pack/plugins/apm/common/agent_configuration/runtime_types/boolean_rt.test.ts rename to x-pack/plugins/observability_solution/apm/common/agent_configuration/runtime_types/boolean_rt.test.ts diff --git a/x-pack/plugins/apm/common/agent_configuration/runtime_types/boolean_rt.ts b/x-pack/plugins/observability_solution/apm/common/agent_configuration/runtime_types/boolean_rt.ts similarity index 100% rename from x-pack/plugins/apm/common/agent_configuration/runtime_types/boolean_rt.ts rename to x-pack/plugins/observability_solution/apm/common/agent_configuration/runtime_types/boolean_rt.ts diff --git a/x-pack/plugins/apm/common/agent_configuration/runtime_types/bytes_rt.test.ts b/x-pack/plugins/observability_solution/apm/common/agent_configuration/runtime_types/bytes_rt.test.ts similarity index 100% rename from x-pack/plugins/apm/common/agent_configuration/runtime_types/bytes_rt.test.ts rename to x-pack/plugins/observability_solution/apm/common/agent_configuration/runtime_types/bytes_rt.test.ts diff --git a/x-pack/plugins/apm/common/agent_configuration/runtime_types/bytes_rt.ts b/x-pack/plugins/observability_solution/apm/common/agent_configuration/runtime_types/bytes_rt.ts similarity index 100% rename from x-pack/plugins/apm/common/agent_configuration/runtime_types/bytes_rt.ts rename to x-pack/plugins/observability_solution/apm/common/agent_configuration/runtime_types/bytes_rt.ts diff --git a/x-pack/plugins/apm/common/agent_configuration/runtime_types/capture_body_rt.test.ts b/x-pack/plugins/observability_solution/apm/common/agent_configuration/runtime_types/capture_body_rt.test.ts similarity index 100% rename from x-pack/plugins/apm/common/agent_configuration/runtime_types/capture_body_rt.test.ts rename to x-pack/plugins/observability_solution/apm/common/agent_configuration/runtime_types/capture_body_rt.test.ts diff --git a/x-pack/plugins/apm/common/agent_configuration/runtime_types/capture_body_rt.ts b/x-pack/plugins/observability_solution/apm/common/agent_configuration/runtime_types/capture_body_rt.ts similarity index 100% rename from x-pack/plugins/apm/common/agent_configuration/runtime_types/capture_body_rt.ts rename to x-pack/plugins/observability_solution/apm/common/agent_configuration/runtime_types/capture_body_rt.ts diff --git a/x-pack/plugins/apm/common/agent_configuration/runtime_types/duration_rt.test.ts b/x-pack/plugins/observability_solution/apm/common/agent_configuration/runtime_types/duration_rt.test.ts similarity index 100% rename from x-pack/plugins/apm/common/agent_configuration/runtime_types/duration_rt.test.ts rename to x-pack/plugins/observability_solution/apm/common/agent_configuration/runtime_types/duration_rt.test.ts diff --git a/x-pack/plugins/apm/common/agent_configuration/runtime_types/duration_rt.ts b/x-pack/plugins/observability_solution/apm/common/agent_configuration/runtime_types/duration_rt.ts similarity index 100% rename from x-pack/plugins/apm/common/agent_configuration/runtime_types/duration_rt.ts rename to x-pack/plugins/observability_solution/apm/common/agent_configuration/runtime_types/duration_rt.ts diff --git a/x-pack/plugins/apm/common/agent_configuration/runtime_types/float_rt.test.ts b/x-pack/plugins/observability_solution/apm/common/agent_configuration/runtime_types/float_rt.test.ts similarity index 100% rename from x-pack/plugins/apm/common/agent_configuration/runtime_types/float_rt.test.ts rename to x-pack/plugins/observability_solution/apm/common/agent_configuration/runtime_types/float_rt.test.ts diff --git a/x-pack/plugins/apm/common/agent_configuration/runtime_types/float_rt.ts b/x-pack/plugins/observability_solution/apm/common/agent_configuration/runtime_types/float_rt.ts similarity index 100% rename from x-pack/plugins/apm/common/agent_configuration/runtime_types/float_rt.ts rename to x-pack/plugins/observability_solution/apm/common/agent_configuration/runtime_types/float_rt.ts diff --git a/x-pack/plugins/apm/common/agent_configuration/runtime_types/get_range_type_message.ts b/x-pack/plugins/observability_solution/apm/common/agent_configuration/runtime_types/get_range_type_message.ts similarity index 100% rename from x-pack/plugins/apm/common/agent_configuration/runtime_types/get_range_type_message.ts rename to x-pack/plugins/observability_solution/apm/common/agent_configuration/runtime_types/get_range_type_message.ts diff --git a/x-pack/plugins/apm/common/agent_configuration/runtime_types/integer_rt.test.ts b/x-pack/plugins/observability_solution/apm/common/agent_configuration/runtime_types/integer_rt.test.ts similarity index 100% rename from x-pack/plugins/apm/common/agent_configuration/runtime_types/integer_rt.test.ts rename to x-pack/plugins/observability_solution/apm/common/agent_configuration/runtime_types/integer_rt.test.ts diff --git a/x-pack/plugins/apm/common/agent_configuration/runtime_types/integer_rt.ts b/x-pack/plugins/observability_solution/apm/common/agent_configuration/runtime_types/integer_rt.ts similarity index 100% rename from x-pack/plugins/apm/common/agent_configuration/runtime_types/integer_rt.ts rename to x-pack/plugins/observability_solution/apm/common/agent_configuration/runtime_types/integer_rt.ts diff --git a/x-pack/plugins/apm/common/agent_configuration/runtime_types/log_ecs_reformatting_rt.ts b/x-pack/plugins/observability_solution/apm/common/agent_configuration/runtime_types/log_ecs_reformatting_rt.ts similarity index 100% rename from x-pack/plugins/apm/common/agent_configuration/runtime_types/log_ecs_reformatting_rt.ts rename to x-pack/plugins/observability_solution/apm/common/agent_configuration/runtime_types/log_ecs_reformatting_rt.ts diff --git a/x-pack/plugins/apm/common/agent_configuration/runtime_types/log_level_rt.ts b/x-pack/plugins/observability_solution/apm/common/agent_configuration/runtime_types/log_level_rt.ts similarity index 100% rename from x-pack/plugins/apm/common/agent_configuration/runtime_types/log_level_rt.ts rename to x-pack/plugins/observability_solution/apm/common/agent_configuration/runtime_types/log_level_rt.ts diff --git a/x-pack/plugins/apm/common/agent_configuration/runtime_types/storage_size_rt.test.ts b/x-pack/plugins/observability_solution/apm/common/agent_configuration/runtime_types/storage_size_rt.test.ts similarity index 100% rename from x-pack/plugins/apm/common/agent_configuration/runtime_types/storage_size_rt.test.ts rename to x-pack/plugins/observability_solution/apm/common/agent_configuration/runtime_types/storage_size_rt.test.ts diff --git a/x-pack/plugins/apm/common/agent_configuration/runtime_types/storage_size_rt.ts b/x-pack/plugins/observability_solution/apm/common/agent_configuration/runtime_types/storage_size_rt.ts similarity index 100% rename from x-pack/plugins/apm/common/agent_configuration/runtime_types/storage_size_rt.ts rename to x-pack/plugins/observability_solution/apm/common/agent_configuration/runtime_types/storage_size_rt.ts diff --git a/x-pack/plugins/apm/common/agent_configuration/runtime_types/trace_continuation_strategy_rt.ts b/x-pack/plugins/observability_solution/apm/common/agent_configuration/runtime_types/trace_continuation_strategy_rt.ts similarity index 100% rename from x-pack/plugins/apm/common/agent_configuration/runtime_types/trace_continuation_strategy_rt.ts rename to x-pack/plugins/observability_solution/apm/common/agent_configuration/runtime_types/trace_continuation_strategy_rt.ts diff --git a/x-pack/plugins/apm/common/agent_configuration/setting_definitions/__snapshots__/index.test.ts.snap b/x-pack/plugins/observability_solution/apm/common/agent_configuration/setting_definitions/__snapshots__/index.test.ts.snap similarity index 100% rename from x-pack/plugins/apm/common/agent_configuration/setting_definitions/__snapshots__/index.test.ts.snap rename to x-pack/plugins/observability_solution/apm/common/agent_configuration/setting_definitions/__snapshots__/index.test.ts.snap diff --git a/x-pack/plugins/apm/common/agent_configuration/setting_definitions/general_settings.ts b/x-pack/plugins/observability_solution/apm/common/agent_configuration/setting_definitions/general_settings.ts similarity index 100% rename from x-pack/plugins/apm/common/agent_configuration/setting_definitions/general_settings.ts rename to x-pack/plugins/observability_solution/apm/common/agent_configuration/setting_definitions/general_settings.ts diff --git a/x-pack/plugins/apm/common/agent_configuration/setting_definitions/index.test.ts b/x-pack/plugins/observability_solution/apm/common/agent_configuration/setting_definitions/index.test.ts similarity index 100% rename from x-pack/plugins/apm/common/agent_configuration/setting_definitions/index.test.ts rename to x-pack/plugins/observability_solution/apm/common/agent_configuration/setting_definitions/index.test.ts diff --git a/x-pack/plugins/apm/common/agent_configuration/setting_definitions/index.ts b/x-pack/plugins/observability_solution/apm/common/agent_configuration/setting_definitions/index.ts similarity index 100% rename from x-pack/plugins/apm/common/agent_configuration/setting_definitions/index.ts rename to x-pack/plugins/observability_solution/apm/common/agent_configuration/setting_definitions/index.ts diff --git a/x-pack/plugins/apm/common/agent_configuration/setting_definitions/java_settings.ts b/x-pack/plugins/observability_solution/apm/common/agent_configuration/setting_definitions/java_settings.ts similarity index 100% rename from x-pack/plugins/apm/common/agent_configuration/setting_definitions/java_settings.ts rename to x-pack/plugins/observability_solution/apm/common/agent_configuration/setting_definitions/java_settings.ts diff --git a/x-pack/plugins/apm/common/agent_configuration/setting_definitions/mobile_settings.ts b/x-pack/plugins/observability_solution/apm/common/agent_configuration/setting_definitions/mobile_settings.ts similarity index 100% rename from x-pack/plugins/apm/common/agent_configuration/setting_definitions/mobile_settings.ts rename to x-pack/plugins/observability_solution/apm/common/agent_configuration/setting_definitions/mobile_settings.ts diff --git a/x-pack/plugins/apm/common/agent_configuration/setting_definitions/types.d.ts b/x-pack/plugins/observability_solution/apm/common/agent_configuration/setting_definitions/types.d.ts similarity index 100% rename from x-pack/plugins/apm/common/agent_configuration/setting_definitions/types.d.ts rename to x-pack/plugins/observability_solution/apm/common/agent_configuration/setting_definitions/types.d.ts diff --git a/x-pack/plugins/apm/common/agent_explorer.ts b/x-pack/plugins/observability_solution/apm/common/agent_explorer.ts similarity index 100% rename from x-pack/plugins/apm/common/agent_explorer.ts rename to x-pack/plugins/observability_solution/apm/common/agent_explorer.ts diff --git a/x-pack/plugins/apm/common/agent_key_types.ts b/x-pack/plugins/observability_solution/apm/common/agent_key_types.ts similarity index 100% rename from x-pack/plugins/apm/common/agent_key_types.ts rename to x-pack/plugins/observability_solution/apm/common/agent_key_types.ts diff --git a/x-pack/plugins/apm/common/agent_name.ts b/x-pack/plugins/observability_solution/apm/common/agent_name.ts similarity index 100% rename from x-pack/plugins/apm/common/agent_name.ts rename to x-pack/plugins/observability_solution/apm/common/agent_name.ts diff --git a/x-pack/plugins/apm/common/aggregated_transactions.ts b/x-pack/plugins/observability_solution/apm/common/aggregated_transactions.ts similarity index 100% rename from x-pack/plugins/apm/common/aggregated_transactions.ts rename to x-pack/plugins/observability_solution/apm/common/aggregated_transactions.ts diff --git a/x-pack/plugins/apm/common/annotations.ts b/x-pack/plugins/observability_solution/apm/common/annotations.ts similarity index 100% rename from x-pack/plugins/apm/common/annotations.ts rename to x-pack/plugins/observability_solution/apm/common/annotations.ts diff --git a/x-pack/plugins/apm/common/anomaly_detection/apm_ml_detectors.ts b/x-pack/plugins/observability_solution/apm/common/anomaly_detection/apm_ml_detectors.ts similarity index 100% rename from x-pack/plugins/apm/common/anomaly_detection/apm_ml_detectors.ts rename to x-pack/plugins/observability_solution/apm/common/anomaly_detection/apm_ml_detectors.ts diff --git a/x-pack/plugins/apm/common/anomaly_detection/apm_ml_job.ts b/x-pack/plugins/observability_solution/apm/common/anomaly_detection/apm_ml_job.ts similarity index 100% rename from x-pack/plugins/apm/common/anomaly_detection/apm_ml_job.ts rename to x-pack/plugins/observability_solution/apm/common/anomaly_detection/apm_ml_job.ts diff --git a/x-pack/plugins/apm/common/anomaly_detection/get_anomaly_detection_setup_state.ts b/x-pack/plugins/observability_solution/apm/common/anomaly_detection/get_anomaly_detection_setup_state.ts similarity index 100% rename from x-pack/plugins/apm/common/anomaly_detection/get_anomaly_detection_setup_state.ts rename to x-pack/plugins/observability_solution/apm/common/anomaly_detection/get_anomaly_detection_setup_state.ts diff --git a/x-pack/plugins/apm/common/anomaly_detection/get_preferred_service_anomaly_timeseries.test.ts b/x-pack/plugins/observability_solution/apm/common/anomaly_detection/get_preferred_service_anomaly_timeseries.test.ts similarity index 100% rename from x-pack/plugins/apm/common/anomaly_detection/get_preferred_service_anomaly_timeseries.test.ts rename to x-pack/plugins/observability_solution/apm/common/anomaly_detection/get_preferred_service_anomaly_timeseries.test.ts diff --git a/x-pack/plugins/apm/common/anomaly_detection/get_preferred_service_anomaly_timeseries.ts b/x-pack/plugins/observability_solution/apm/common/anomaly_detection/get_preferred_service_anomaly_timeseries.ts similarity index 100% rename from x-pack/plugins/apm/common/anomaly_detection/get_preferred_service_anomaly_timeseries.ts rename to x-pack/plugins/observability_solution/apm/common/anomaly_detection/get_preferred_service_anomaly_timeseries.ts diff --git a/x-pack/plugins/apm/common/anomaly_detection/index.ts b/x-pack/plugins/observability_solution/apm/common/anomaly_detection/index.ts similarity index 100% rename from x-pack/plugins/apm/common/anomaly_detection/index.ts rename to x-pack/plugins/observability_solution/apm/common/anomaly_detection/index.ts diff --git a/x-pack/plugins/apm/common/anomaly_detection/service_anomaly_timeseries.ts b/x-pack/plugins/observability_solution/apm/common/anomaly_detection/service_anomaly_timeseries.ts similarity index 100% rename from x-pack/plugins/apm/common/anomaly_detection/service_anomaly_timeseries.ts rename to x-pack/plugins/observability_solution/apm/common/anomaly_detection/service_anomaly_timeseries.ts diff --git a/x-pack/plugins/apm/common/apm_api/parse_endpoint.ts b/x-pack/plugins/observability_solution/apm/common/apm_api/parse_endpoint.ts similarity index 100% rename from x-pack/plugins/apm/common/apm_api/parse_endpoint.ts rename to x-pack/plugins/observability_solution/apm/common/apm_api/parse_endpoint.ts diff --git a/x-pack/plugins/apm/common/apm_feature_flags.ts b/x-pack/plugins/observability_solution/apm/common/apm_feature_flags.ts similarity index 100% rename from x-pack/plugins/apm/common/apm_feature_flags.ts rename to x-pack/plugins/observability_solution/apm/common/apm_feature_flags.ts diff --git a/x-pack/plugins/apm/common/apm_saved_object_constants.ts b/x-pack/plugins/observability_solution/apm/common/apm_saved_object_constants.ts similarity index 100% rename from x-pack/plugins/apm/common/apm_saved_object_constants.ts rename to x-pack/plugins/observability_solution/apm/common/apm_saved_object_constants.ts diff --git a/x-pack/plugins/apm/common/apm_telemetry.test.ts b/x-pack/plugins/observability_solution/apm/common/apm_telemetry.test.ts similarity index 100% rename from x-pack/plugins/apm/common/apm_telemetry.test.ts rename to x-pack/plugins/observability_solution/apm/common/apm_telemetry.test.ts diff --git a/x-pack/plugins/apm/common/apm_telemetry.ts b/x-pack/plugins/observability_solution/apm/common/apm_telemetry.ts similarity index 100% rename from x-pack/plugins/apm/common/apm_telemetry.ts rename to x-pack/plugins/observability_solution/apm/common/apm_telemetry.ts diff --git a/x-pack/plugins/apm/common/assistant/constants.ts b/x-pack/plugins/observability_solution/apm/common/assistant/constants.ts similarity index 100% rename from x-pack/plugins/apm/common/assistant/constants.ts rename to x-pack/plugins/observability_solution/apm/common/assistant/constants.ts diff --git a/x-pack/plugins/apm/common/comparison_rt.ts b/x-pack/plugins/observability_solution/apm/common/comparison_rt.ts similarity index 100% rename from x-pack/plugins/apm/common/comparison_rt.ts rename to x-pack/plugins/observability_solution/apm/common/comparison_rt.ts diff --git a/x-pack/plugins/apm/common/connections.ts b/x-pack/plugins/observability_solution/apm/common/connections.ts similarity index 100% rename from x-pack/plugins/apm/common/connections.ts rename to x-pack/plugins/observability_solution/apm/common/connections.ts diff --git a/x-pack/plugins/apm/common/correlations/constants.ts b/x-pack/plugins/observability_solution/apm/common/correlations/constants.ts similarity index 100% rename from x-pack/plugins/apm/common/correlations/constants.ts rename to x-pack/plugins/observability_solution/apm/common/correlations/constants.ts diff --git a/x-pack/plugins/apm/common/correlations/failed_transactions_correlations/constants.ts b/x-pack/plugins/observability_solution/apm/common/correlations/failed_transactions_correlations/constants.ts similarity index 100% rename from x-pack/plugins/apm/common/correlations/failed_transactions_correlations/constants.ts rename to x-pack/plugins/observability_solution/apm/common/correlations/failed_transactions_correlations/constants.ts diff --git a/x-pack/plugins/apm/common/correlations/failed_transactions_correlations/types.ts b/x-pack/plugins/observability_solution/apm/common/correlations/failed_transactions_correlations/types.ts similarity index 100% rename from x-pack/plugins/apm/common/correlations/failed_transactions_correlations/types.ts rename to x-pack/plugins/observability_solution/apm/common/correlations/failed_transactions_correlations/types.ts diff --git a/x-pack/plugins/apm/common/correlations/field_stats_types.ts b/x-pack/plugins/observability_solution/apm/common/correlations/field_stats_types.ts similarity index 100% rename from x-pack/plugins/apm/common/correlations/field_stats_types.ts rename to x-pack/plugins/observability_solution/apm/common/correlations/field_stats_types.ts diff --git a/x-pack/plugins/apm/common/correlations/latency_correlations/types.ts b/x-pack/plugins/observability_solution/apm/common/correlations/latency_correlations/types.ts similarity index 100% rename from x-pack/plugins/apm/common/correlations/latency_correlations/types.ts rename to x-pack/plugins/observability_solution/apm/common/correlations/latency_correlations/types.ts diff --git a/x-pack/plugins/apm/common/correlations/types.ts b/x-pack/plugins/observability_solution/apm/common/correlations/types.ts similarity index 100% rename from x-pack/plugins/apm/common/correlations/types.ts rename to x-pack/plugins/observability_solution/apm/common/correlations/types.ts diff --git a/x-pack/plugins/apm/common/correlations/utils/get_prioritized_field_value_pairs.test.ts b/x-pack/plugins/observability_solution/apm/common/correlations/utils/get_prioritized_field_value_pairs.test.ts similarity index 100% rename from x-pack/plugins/apm/common/correlations/utils/get_prioritized_field_value_pairs.test.ts rename to x-pack/plugins/observability_solution/apm/common/correlations/utils/get_prioritized_field_value_pairs.test.ts diff --git a/x-pack/plugins/apm/common/correlations/utils/get_prioritized_field_value_pairs.ts b/x-pack/plugins/observability_solution/apm/common/correlations/utils/get_prioritized_field_value_pairs.ts similarity index 100% rename from x-pack/plugins/apm/common/correlations/utils/get_prioritized_field_value_pairs.ts rename to x-pack/plugins/observability_solution/apm/common/correlations/utils/get_prioritized_field_value_pairs.ts diff --git a/x-pack/plugins/apm/common/correlations/utils/has_prefix_to_include.test.ts b/x-pack/plugins/observability_solution/apm/common/correlations/utils/has_prefix_to_include.test.ts similarity index 100% rename from x-pack/plugins/apm/common/correlations/utils/has_prefix_to_include.test.ts rename to x-pack/plugins/observability_solution/apm/common/correlations/utils/has_prefix_to_include.test.ts diff --git a/x-pack/plugins/apm/common/correlations/utils/has_prefix_to_include.ts b/x-pack/plugins/observability_solution/apm/common/correlations/utils/has_prefix_to_include.ts similarity index 100% rename from x-pack/plugins/apm/common/correlations/utils/has_prefix_to_include.ts rename to x-pack/plugins/observability_solution/apm/common/correlations/utils/has_prefix_to_include.ts diff --git a/x-pack/plugins/apm/common/correlations/utils/index.ts b/x-pack/plugins/observability_solution/apm/common/correlations/utils/index.ts similarity index 100% rename from x-pack/plugins/apm/common/correlations/utils/index.ts rename to x-pack/plugins/observability_solution/apm/common/correlations/utils/index.ts diff --git a/x-pack/plugins/apm/common/critical_path/get_aggregated_critical_path_root_nodes.ts b/x-pack/plugins/observability_solution/apm/common/critical_path/get_aggregated_critical_path_root_nodes.ts similarity index 100% rename from x-pack/plugins/apm/common/critical_path/get_aggregated_critical_path_root_nodes.ts rename to x-pack/plugins/observability_solution/apm/common/critical_path/get_aggregated_critical_path_root_nodes.ts diff --git a/x-pack/plugins/apm/common/critical_path/get_critical_path.test.ts b/x-pack/plugins/observability_solution/apm/common/critical_path/get_critical_path.test.ts similarity index 100% rename from x-pack/plugins/apm/common/critical_path/get_critical_path.test.ts rename to x-pack/plugins/observability_solution/apm/common/critical_path/get_critical_path.test.ts diff --git a/x-pack/plugins/apm/common/critical_path/get_critical_path.ts b/x-pack/plugins/observability_solution/apm/common/critical_path/get_critical_path.ts similarity index 100% rename from x-pack/plugins/apm/common/critical_path/get_critical_path.ts rename to x-pack/plugins/observability_solution/apm/common/critical_path/get_critical_path.ts diff --git a/x-pack/plugins/apm/common/critical_path/types.ts b/x-pack/plugins/observability_solution/apm/common/critical_path/types.ts similarity index 100% rename from x-pack/plugins/apm/common/critical_path/types.ts rename to x-pack/plugins/observability_solution/apm/common/critical_path/types.ts diff --git a/x-pack/plugins/apm/common/custom_dashboards.ts b/x-pack/plugins/observability_solution/apm/common/custom_dashboards.ts similarity index 100% rename from x-pack/plugins/apm/common/custom_dashboards.ts rename to x-pack/plugins/observability_solution/apm/common/custom_dashboards.ts diff --git a/x-pack/plugins/apm/common/custom_link/custom_link.test.ts b/x-pack/plugins/observability_solution/apm/common/custom_link/custom_link.test.ts similarity index 100% rename from x-pack/plugins/apm/common/custom_link/custom_link.test.ts rename to x-pack/plugins/observability_solution/apm/common/custom_link/custom_link.test.ts diff --git a/x-pack/plugins/apm/common/custom_link/custom_link_filter_options.ts b/x-pack/plugins/observability_solution/apm/common/custom_link/custom_link_filter_options.ts similarity index 100% rename from x-pack/plugins/apm/common/custom_link/custom_link_filter_options.ts rename to x-pack/plugins/observability_solution/apm/common/custom_link/custom_link_filter_options.ts diff --git a/x-pack/plugins/apm/common/custom_link/custom_link_types.d.ts b/x-pack/plugins/observability_solution/apm/common/custom_link/custom_link_types.d.ts similarity index 100% rename from x-pack/plugins/apm/common/custom_link/custom_link_types.d.ts rename to x-pack/plugins/observability_solution/apm/common/custom_link/custom_link_types.d.ts diff --git a/x-pack/plugins/apm/common/custom_link/index.ts b/x-pack/plugins/observability_solution/apm/common/custom_link/index.ts similarity index 100% rename from x-pack/plugins/apm/common/custom_link/index.ts rename to x-pack/plugins/observability_solution/apm/common/custom_link/index.ts diff --git a/x-pack/plugins/apm/common/data_source.ts b/x-pack/plugins/observability_solution/apm/common/data_source.ts similarity index 100% rename from x-pack/plugins/apm/common/data_source.ts rename to x-pack/plugins/observability_solution/apm/common/data_source.ts diff --git a/x-pack/plugins/apm/common/data_view_constants.ts b/x-pack/plugins/observability_solution/apm/common/data_view_constants.ts similarity index 100% rename from x-pack/plugins/apm/common/data_view_constants.ts rename to x-pack/plugins/observability_solution/apm/common/data_view_constants.ts diff --git a/x-pack/plugins/apm/common/dependencies.ts b/x-pack/plugins/observability_solution/apm/common/dependencies.ts similarity index 100% rename from x-pack/plugins/apm/common/dependencies.ts rename to x-pack/plugins/observability_solution/apm/common/dependencies.ts diff --git a/x-pack/plugins/apm/common/document_type.ts b/x-pack/plugins/observability_solution/apm/common/document_type.ts similarity index 100% rename from x-pack/plugins/apm/common/document_type.ts rename to x-pack/plugins/observability_solution/apm/common/document_type.ts diff --git a/x-pack/plugins/apm/common/environment_filter_values.ts b/x-pack/plugins/observability_solution/apm/common/environment_filter_values.ts similarity index 100% rename from x-pack/plugins/apm/common/environment_filter_values.ts rename to x-pack/plugins/observability_solution/apm/common/environment_filter_values.ts diff --git a/x-pack/plugins/apm/common/environment_rt.ts b/x-pack/plugins/observability_solution/apm/common/environment_rt.ts similarity index 100% rename from x-pack/plugins/apm/common/environment_rt.ts rename to x-pack/plugins/observability_solution/apm/common/environment_rt.ts diff --git a/x-pack/plugins/apm/common/es_fields/__snapshots__/es_fields.test.ts.snap b/x-pack/plugins/observability_solution/apm/common/es_fields/__snapshots__/es_fields.test.ts.snap similarity index 100% rename from x-pack/plugins/apm/common/es_fields/__snapshots__/es_fields.test.ts.snap rename to x-pack/plugins/observability_solution/apm/common/es_fields/__snapshots__/es_fields.test.ts.snap diff --git a/x-pack/plugins/apm/common/es_fields/apm.ts b/x-pack/plugins/observability_solution/apm/common/es_fields/apm.ts similarity index 100% rename from x-pack/plugins/apm/common/es_fields/apm.ts rename to x-pack/plugins/observability_solution/apm/common/es_fields/apm.ts diff --git a/x-pack/plugins/apm/common/es_fields/es_fields.test.ts b/x-pack/plugins/observability_solution/apm/common/es_fields/es_fields.test.ts similarity index 100% rename from x-pack/plugins/apm/common/es_fields/es_fields.test.ts rename to x-pack/plugins/observability_solution/apm/common/es_fields/es_fields.test.ts diff --git a/x-pack/plugins/apm/common/es_fields/infra_metrics.ts b/x-pack/plugins/observability_solution/apm/common/es_fields/infra_metrics.ts similarity index 100% rename from x-pack/plugins/apm/common/es_fields/infra_metrics.ts rename to x-pack/plugins/observability_solution/apm/common/es_fields/infra_metrics.ts diff --git a/x-pack/plugins/apm/common/event_outcome.ts b/x-pack/plugins/observability_solution/apm/common/event_outcome.ts similarity index 100% rename from x-pack/plugins/apm/common/event_outcome.ts rename to x-pack/plugins/observability_solution/apm/common/event_outcome.ts diff --git a/x-pack/plugins/apm/common/fetch_options.ts b/x-pack/plugins/observability_solution/apm/common/fetch_options.ts similarity index 100% rename from x-pack/plugins/apm/common/fetch_options.ts rename to x-pack/plugins/observability_solution/apm/common/fetch_options.ts diff --git a/x-pack/plugins/apm/common/fleet.ts b/x-pack/plugins/observability_solution/apm/common/fleet.ts similarity index 100% rename from x-pack/plugins/apm/common/fleet.ts rename to x-pack/plugins/observability_solution/apm/common/fleet.ts diff --git a/x-pack/plugins/apm/common/i18n.ts b/x-pack/plugins/observability_solution/apm/common/i18n.ts similarity index 100% rename from x-pack/plugins/apm/common/i18n.ts rename to x-pack/plugins/observability_solution/apm/common/i18n.ts diff --git a/x-pack/plugins/apm/common/index.ts b/x-pack/plugins/observability_solution/apm/common/index.ts similarity index 100% rename from x-pack/plugins/apm/common/index.ts rename to x-pack/plugins/observability_solution/apm/common/index.ts diff --git a/x-pack/plugins/apm/common/instances.ts b/x-pack/plugins/observability_solution/apm/common/instances.ts similarity index 100% rename from x-pack/plugins/apm/common/instances.ts rename to x-pack/plugins/observability_solution/apm/common/instances.ts diff --git a/x-pack/plugins/apm/common/latency_aggregation_types.ts b/x-pack/plugins/observability_solution/apm/common/latency_aggregation_types.ts similarity index 100% rename from x-pack/plugins/apm/common/latency_aggregation_types.ts rename to x-pack/plugins/observability_solution/apm/common/latency_aggregation_types.ts diff --git a/x-pack/plugins/apm/common/latency_distribution_chart_types.ts b/x-pack/plugins/observability_solution/apm/common/latency_distribution_chart_types.ts similarity index 100% rename from x-pack/plugins/apm/common/latency_distribution_chart_types.ts rename to x-pack/plugins/observability_solution/apm/common/latency_distribution_chart_types.ts diff --git a/x-pack/plugins/apm/common/license_check.test.ts b/x-pack/plugins/observability_solution/apm/common/license_check.test.ts similarity index 100% rename from x-pack/plugins/apm/common/license_check.test.ts rename to x-pack/plugins/observability_solution/apm/common/license_check.test.ts diff --git a/x-pack/plugins/apm/common/license_check.ts b/x-pack/plugins/observability_solution/apm/common/license_check.ts similarity index 100% rename from x-pack/plugins/apm/common/license_check.ts rename to x-pack/plugins/observability_solution/apm/common/license_check.ts diff --git a/x-pack/plugins/apm/common/mobile/constants.ts b/x-pack/plugins/observability_solution/apm/common/mobile/constants.ts similarity index 100% rename from x-pack/plugins/apm/common/mobile/constants.ts rename to x-pack/plugins/observability_solution/apm/common/mobile/constants.ts diff --git a/x-pack/plugins/apm/common/mobile_types.ts b/x-pack/plugins/observability_solution/apm/common/mobile_types.ts similarity index 100% rename from x-pack/plugins/apm/common/mobile_types.ts rename to x-pack/plugins/observability_solution/apm/common/mobile_types.ts diff --git a/x-pack/plugins/apm/common/privilege_type.ts b/x-pack/plugins/observability_solution/apm/common/privilege_type.ts similarity index 100% rename from x-pack/plugins/apm/common/privilege_type.ts rename to x-pack/plugins/observability_solution/apm/common/privilege_type.ts diff --git a/x-pack/plugins/apm/common/processor_event.ts b/x-pack/plugins/observability_solution/apm/common/processor_event.ts similarity index 100% rename from x-pack/plugins/apm/common/processor_event.ts rename to x-pack/plugins/observability_solution/apm/common/processor_event.ts diff --git a/x-pack/plugins/apm/common/rollup.ts b/x-pack/plugins/observability_solution/apm/common/rollup.ts similarity index 100% rename from x-pack/plugins/apm/common/rollup.ts rename to x-pack/plugins/observability_solution/apm/common/rollup.ts diff --git a/x-pack/plugins/apm/common/rules/apm_rule_types.ts b/x-pack/plugins/observability_solution/apm/common/rules/apm_rule_types.ts similarity index 96% rename from x-pack/plugins/apm/common/rules/apm_rule_types.ts rename to x-pack/plugins/observability_solution/apm/common/rules/apm_rule_types.ts index dff141ba818b9..644191f1d4e82 100644 --- a/x-pack/plugins/apm/common/rules/apm_rule_types.ts +++ b/x-pack/plugins/observability_solution/apm/common/rules/apm_rule_types.ts @@ -328,9 +328,9 @@ export const ANOMALY_DETECTOR_SELECTOR_OPTIONS = [ ].map((type) => ({ type, label: getApmMlDetectorLabel(type) })); // Server side registrations -// x-pack/plugins/apm/server/lib/alerts/.ts -// x-pack/plugins/apm/server/lib/alerts/register_apm_alerts.ts +// x-pack/plugins/observability_solution/apm/server/lib/alerts/.ts +// x-pack/plugins/observability_solution/apm/server/lib/alerts/register_apm_alerts.ts // Client side registrations: -// x-pack/plugins/apm/public/components/alerting//index.tsx -// x-pack/plugins/apm/public/components/alerting/register_apm_alerts +// x-pack/plugins/observability_solution/apm/public/components/alerting//index.tsx +// x-pack/plugins/observability_solution/apm/public/components/alerting/register_apm_alerts diff --git a/x-pack/plugins/apm/common/rules/default_action_message.ts b/x-pack/plugins/observability_solution/apm/common/rules/default_action_message.ts similarity index 100% rename from x-pack/plugins/apm/common/rules/default_action_message.ts rename to x-pack/plugins/observability_solution/apm/common/rules/default_action_message.ts diff --git a/x-pack/plugins/apm/common/rules/get_all_groupby_fields.ts b/x-pack/plugins/observability_solution/apm/common/rules/get_all_groupby_fields.ts similarity index 100% rename from x-pack/plugins/apm/common/rules/get_all_groupby_fields.ts rename to x-pack/plugins/observability_solution/apm/common/rules/get_all_groupby_fields.ts diff --git a/x-pack/plugins/apm/common/rules/schema.ts b/x-pack/plugins/observability_solution/apm/common/rules/schema.ts similarity index 100% rename from x-pack/plugins/apm/common/rules/schema.ts rename to x-pack/plugins/observability_solution/apm/common/rules/schema.ts diff --git a/x-pack/plugins/apm/common/serverless.test.ts b/x-pack/plugins/observability_solution/apm/common/serverless.test.ts similarity index 100% rename from x-pack/plugins/apm/common/serverless.test.ts rename to x-pack/plugins/observability_solution/apm/common/serverless.test.ts diff --git a/x-pack/plugins/apm/common/serverless.ts b/x-pack/plugins/observability_solution/apm/common/serverless.ts similarity index 100% rename from x-pack/plugins/apm/common/serverless.ts rename to x-pack/plugins/observability_solution/apm/common/serverless.ts diff --git a/x-pack/plugins/apm/common/service_groups.test.ts b/x-pack/plugins/observability_solution/apm/common/service_groups.test.ts similarity index 100% rename from x-pack/plugins/apm/common/service_groups.test.ts rename to x-pack/plugins/observability_solution/apm/common/service_groups.test.ts diff --git a/x-pack/plugins/apm/common/service_groups.ts b/x-pack/plugins/observability_solution/apm/common/service_groups.ts similarity index 100% rename from x-pack/plugins/apm/common/service_groups.ts rename to x-pack/plugins/observability_solution/apm/common/service_groups.ts diff --git a/x-pack/plugins/apm/common/service_health_status.ts b/x-pack/plugins/observability_solution/apm/common/service_health_status.ts similarity index 100% rename from x-pack/plugins/apm/common/service_health_status.ts rename to x-pack/plugins/observability_solution/apm/common/service_health_status.ts diff --git a/x-pack/plugins/apm/common/service_inventory.ts b/x-pack/plugins/observability_solution/apm/common/service_inventory.ts similarity index 100% rename from x-pack/plugins/apm/common/service_inventory.ts rename to x-pack/plugins/observability_solution/apm/common/service_inventory.ts diff --git a/x-pack/plugins/apm/common/service_map.ts b/x-pack/plugins/observability_solution/apm/common/service_map.ts similarity index 100% rename from x-pack/plugins/apm/common/service_map.ts rename to x-pack/plugins/observability_solution/apm/common/service_map.ts diff --git a/x-pack/plugins/apm/common/service_metadata.ts b/x-pack/plugins/observability_solution/apm/common/service_metadata.ts similarity index 100% rename from x-pack/plugins/apm/common/service_metadata.ts rename to x-pack/plugins/observability_solution/apm/common/service_metadata.ts diff --git a/x-pack/plugins/apm/common/service_nodes.ts b/x-pack/plugins/observability_solution/apm/common/service_nodes.ts similarity index 100% rename from x-pack/plugins/apm/common/service_nodes.ts rename to x-pack/plugins/observability_solution/apm/common/service_nodes.ts diff --git a/x-pack/plugins/apm/common/span_links.ts b/x-pack/plugins/observability_solution/apm/common/span_links.ts similarity index 100% rename from x-pack/plugins/apm/common/span_links.ts rename to x-pack/plugins/observability_solution/apm/common/span_links.ts diff --git a/x-pack/plugins/apm/common/storage_explorer_types.ts b/x-pack/plugins/observability_solution/apm/common/storage_explorer_types.ts similarity index 100% rename from x-pack/plugins/apm/common/storage_explorer_types.ts rename to x-pack/plugins/observability_solution/apm/common/storage_explorer_types.ts diff --git a/x-pack/plugins/apm/common/time_range_metadata.ts b/x-pack/plugins/observability_solution/apm/common/time_range_metadata.ts similarity index 100% rename from x-pack/plugins/apm/common/time_range_metadata.ts rename to x-pack/plugins/observability_solution/apm/common/time_range_metadata.ts diff --git a/x-pack/plugins/apm/common/trace_explorer.ts b/x-pack/plugins/observability_solution/apm/common/trace_explorer.ts similarity index 100% rename from x-pack/plugins/apm/common/trace_explorer.ts rename to x-pack/plugins/observability_solution/apm/common/trace_explorer.ts diff --git a/x-pack/plugins/apm/common/transaction_types.ts b/x-pack/plugins/observability_solution/apm/common/transaction_types.ts similarity index 100% rename from x-pack/plugins/apm/common/transaction_types.ts rename to x-pack/plugins/observability_solution/apm/common/transaction_types.ts diff --git a/x-pack/plugins/apm/common/tutorial/instructions/apm_agent_instructions.ts b/x-pack/plugins/observability_solution/apm/common/tutorial/instructions/apm_agent_instructions.ts similarity index 100% rename from x-pack/plugins/apm/common/tutorial/instructions/apm_agent_instructions.ts rename to x-pack/plugins/observability_solution/apm/common/tutorial/instructions/apm_agent_instructions.ts diff --git a/x-pack/plugins/apm/common/tutorial/instructions/apm_server_instructions.ts b/x-pack/plugins/observability_solution/apm/common/tutorial/instructions/apm_server_instructions.ts similarity index 100% rename from x-pack/plugins/apm/common/tutorial/instructions/apm_server_instructions.ts rename to x-pack/plugins/observability_solution/apm/common/tutorial/instructions/apm_server_instructions.ts diff --git a/x-pack/plugins/apm/common/tutorial/tutorials.ts b/x-pack/plugins/observability_solution/apm/common/tutorial/tutorials.ts similarity index 100% rename from x-pack/plugins/apm/common/tutorial/tutorials.ts rename to x-pack/plugins/observability_solution/apm/common/tutorial/tutorials.ts diff --git a/x-pack/plugins/apm/common/utils/array_union_to_callable.ts b/x-pack/plugins/observability_solution/apm/common/utils/array_union_to_callable.ts similarity index 100% rename from x-pack/plugins/apm/common/utils/array_union_to_callable.ts rename to x-pack/plugins/observability_solution/apm/common/utils/array_union_to_callable.ts diff --git a/x-pack/plugins/apm/common/utils/as_mutable_array.ts b/x-pack/plugins/observability_solution/apm/common/utils/as_mutable_array.ts similarity index 100% rename from x-pack/plugins/apm/common/utils/as_mutable_array.ts rename to x-pack/plugins/observability_solution/apm/common/utils/as_mutable_array.ts diff --git a/x-pack/plugins/apm/common/utils/environment_query.test.ts b/x-pack/plugins/observability_solution/apm/common/utils/environment_query.test.ts similarity index 100% rename from x-pack/plugins/apm/common/utils/environment_query.test.ts rename to x-pack/plugins/observability_solution/apm/common/utils/environment_query.test.ts diff --git a/x-pack/plugins/apm/common/utils/environment_query.ts b/x-pack/plugins/observability_solution/apm/common/utils/environment_query.ts similarity index 100% rename from x-pack/plugins/apm/common/utils/environment_query.ts rename to x-pack/plugins/observability_solution/apm/common/utils/environment_query.ts diff --git a/x-pack/plugins/apm/common/utils/esql/get_esql_date_range_filter.ts b/x-pack/plugins/observability_solution/apm/common/utils/esql/get_esql_date_range_filter.ts similarity index 100% rename from x-pack/plugins/apm/common/utils/esql/get_esql_date_range_filter.ts rename to x-pack/plugins/observability_solution/apm/common/utils/esql/get_esql_date_range_filter.ts diff --git a/x-pack/plugins/apm/common/utils/esql/get_esql_environment_filter.ts b/x-pack/plugins/observability_solution/apm/common/utils/esql/get_esql_environment_filter.ts similarity index 100% rename from x-pack/plugins/apm/common/utils/esql/get_esql_environment_filter.ts rename to x-pack/plugins/observability_solution/apm/common/utils/esql/get_esql_environment_filter.ts diff --git a/x-pack/plugins/apm/common/utils/esql/index.ts b/x-pack/plugins/observability_solution/apm/common/utils/esql/index.ts similarity index 100% rename from x-pack/plugins/apm/common/utils/esql/index.ts rename to x-pack/plugins/observability_solution/apm/common/utils/esql/index.ts diff --git a/x-pack/plugins/apm/common/utils/field_value_pair_to_kql.ts b/x-pack/plugins/observability_solution/apm/common/utils/field_value_pair_to_kql.ts similarity index 100% rename from x-pack/plugins/apm/common/utils/field_value_pair_to_kql.ts rename to x-pack/plugins/observability_solution/apm/common/utils/field_value_pair_to_kql.ts diff --git a/x-pack/plugins/apm/common/utils/formatters/alert_url.ts b/x-pack/plugins/observability_solution/apm/common/utils/formatters/alert_url.ts similarity index 100% rename from x-pack/plugins/apm/common/utils/formatters/alert_url.ts rename to x-pack/plugins/observability_solution/apm/common/utils/formatters/alert_url.ts diff --git a/x-pack/plugins/apm/common/utils/formatters/datetime.test.ts b/x-pack/plugins/observability_solution/apm/common/utils/formatters/datetime.test.ts similarity index 100% rename from x-pack/plugins/apm/common/utils/formatters/datetime.test.ts rename to x-pack/plugins/observability_solution/apm/common/utils/formatters/datetime.test.ts diff --git a/x-pack/plugins/apm/common/utils/formatters/datetime.ts b/x-pack/plugins/observability_solution/apm/common/utils/formatters/datetime.ts similarity index 100% rename from x-pack/plugins/apm/common/utils/formatters/datetime.ts rename to x-pack/plugins/observability_solution/apm/common/utils/formatters/datetime.ts diff --git a/x-pack/plugins/apm/common/utils/formatters/duration.test.ts b/x-pack/plugins/observability_solution/apm/common/utils/formatters/duration.test.ts similarity index 100% rename from x-pack/plugins/apm/common/utils/formatters/duration.test.ts rename to x-pack/plugins/observability_solution/apm/common/utils/formatters/duration.test.ts diff --git a/x-pack/plugins/apm/common/utils/formatters/duration.ts b/x-pack/plugins/observability_solution/apm/common/utils/formatters/duration.ts similarity index 100% rename from x-pack/plugins/apm/common/utils/formatters/duration.ts rename to x-pack/plugins/observability_solution/apm/common/utils/formatters/duration.ts diff --git a/x-pack/plugins/apm/common/utils/formatters/formatters.test.ts b/x-pack/plugins/observability_solution/apm/common/utils/formatters/formatters.test.ts similarity index 100% rename from x-pack/plugins/apm/common/utils/formatters/formatters.test.ts rename to x-pack/plugins/observability_solution/apm/common/utils/formatters/formatters.test.ts diff --git a/x-pack/plugins/apm/common/utils/formatters/formatters.ts b/x-pack/plugins/observability_solution/apm/common/utils/formatters/formatters.ts similarity index 100% rename from x-pack/plugins/apm/common/utils/formatters/formatters.ts rename to x-pack/plugins/observability_solution/apm/common/utils/formatters/formatters.ts diff --git a/x-pack/plugins/apm/common/utils/formatters/index.ts b/x-pack/plugins/observability_solution/apm/common/utils/formatters/index.ts similarity index 100% rename from x-pack/plugins/apm/common/utils/formatters/index.ts rename to x-pack/plugins/observability_solution/apm/common/utils/formatters/index.ts diff --git a/x-pack/plugins/apm/common/utils/formatters/size.test.ts b/x-pack/plugins/observability_solution/apm/common/utils/formatters/size.test.ts similarity index 100% rename from x-pack/plugins/apm/common/utils/formatters/size.test.ts rename to x-pack/plugins/observability_solution/apm/common/utils/formatters/size.test.ts diff --git a/x-pack/plugins/apm/common/utils/formatters/size.ts b/x-pack/plugins/observability_solution/apm/common/utils/formatters/size.ts similarity index 100% rename from x-pack/plugins/apm/common/utils/formatters/size.ts rename to x-pack/plugins/observability_solution/apm/common/utils/formatters/size.ts diff --git a/x-pack/plugins/apm/common/utils/get_bucket_size/calculate_auto.js b/x-pack/plugins/observability_solution/apm/common/utils/get_bucket_size/calculate_auto.js similarity index 100% rename from x-pack/plugins/apm/common/utils/get_bucket_size/calculate_auto.js rename to x-pack/plugins/observability_solution/apm/common/utils/get_bucket_size/calculate_auto.js diff --git a/x-pack/plugins/apm/common/utils/get_bucket_size/index.ts b/x-pack/plugins/observability_solution/apm/common/utils/get_bucket_size/index.ts similarity index 100% rename from x-pack/plugins/apm/common/utils/get_bucket_size/index.ts rename to x-pack/plugins/observability_solution/apm/common/utils/get_bucket_size/index.ts diff --git a/x-pack/plugins/apm/common/utils/get_bucket_size/unit_to_seconds.js b/x-pack/plugins/observability_solution/apm/common/utils/get_bucket_size/unit_to_seconds.js similarity index 100% rename from x-pack/plugins/apm/common/utils/get_bucket_size/unit_to_seconds.js rename to x-pack/plugins/observability_solution/apm/common/utils/get_bucket_size/unit_to_seconds.js diff --git a/x-pack/plugins/apm/common/utils/get_kuery_fields.test.ts b/x-pack/plugins/observability_solution/apm/common/utils/get_kuery_fields.test.ts similarity index 100% rename from x-pack/plugins/apm/common/utils/get_kuery_fields.test.ts rename to x-pack/plugins/observability_solution/apm/common/utils/get_kuery_fields.test.ts diff --git a/x-pack/plugins/apm/common/utils/get_kuery_fields.ts b/x-pack/plugins/observability_solution/apm/common/utils/get_kuery_fields.ts similarity index 100% rename from x-pack/plugins/apm/common/utils/get_kuery_fields.ts rename to x-pack/plugins/observability_solution/apm/common/utils/get_kuery_fields.ts diff --git a/x-pack/plugins/apm/common/utils/get_kuery_with_mobile_filters.test.ts b/x-pack/plugins/observability_solution/apm/common/utils/get_kuery_with_mobile_filters.test.ts similarity index 100% rename from x-pack/plugins/apm/common/utils/get_kuery_with_mobile_filters.test.ts rename to x-pack/plugins/observability_solution/apm/common/utils/get_kuery_with_mobile_filters.test.ts diff --git a/x-pack/plugins/apm/common/utils/get_kuery_with_mobile_filters.ts b/x-pack/plugins/observability_solution/apm/common/utils/get_kuery_with_mobile_filters.ts similarity index 100% rename from x-pack/plugins/apm/common/utils/get_kuery_with_mobile_filters.ts rename to x-pack/plugins/observability_solution/apm/common/utils/get_kuery_with_mobile_filters.ts diff --git a/x-pack/plugins/apm/common/utils/get_offset_in_ms.ts b/x-pack/plugins/observability_solution/apm/common/utils/get_offset_in_ms.ts similarity index 100% rename from x-pack/plugins/apm/common/utils/get_offset_in_ms.ts rename to x-pack/plugins/observability_solution/apm/common/utils/get_offset_in_ms.ts diff --git a/x-pack/plugins/apm/common/utils/get_preferred_bucket_size_and_data_source.test.ts b/x-pack/plugins/observability_solution/apm/common/utils/get_preferred_bucket_size_and_data_source.test.ts similarity index 100% rename from x-pack/plugins/apm/common/utils/get_preferred_bucket_size_and_data_source.test.ts rename to x-pack/plugins/observability_solution/apm/common/utils/get_preferred_bucket_size_and_data_source.test.ts diff --git a/x-pack/plugins/apm/common/utils/get_preferred_bucket_size_and_data_source.ts b/x-pack/plugins/observability_solution/apm/common/utils/get_preferred_bucket_size_and_data_source.ts similarity index 100% rename from x-pack/plugins/apm/common/utils/get_preferred_bucket_size_and_data_source.ts rename to x-pack/plugins/observability_solution/apm/common/utils/get_preferred_bucket_size_and_data_source.ts diff --git a/x-pack/plugins/apm/common/utils/is_finite_number.ts b/x-pack/plugins/observability_solution/apm/common/utils/is_finite_number.ts similarity index 100% rename from x-pack/plugins/apm/common/utils/is_finite_number.ts rename to x-pack/plugins/observability_solution/apm/common/utils/is_finite_number.ts diff --git a/x-pack/plugins/apm/common/utils/join_by_key/index.test.ts b/x-pack/plugins/observability_solution/apm/common/utils/join_by_key/index.test.ts similarity index 100% rename from x-pack/plugins/apm/common/utils/join_by_key/index.test.ts rename to x-pack/plugins/observability_solution/apm/common/utils/join_by_key/index.test.ts diff --git a/x-pack/plugins/apm/common/utils/join_by_key/index.ts b/x-pack/plugins/observability_solution/apm/common/utils/join_by_key/index.ts similarity index 100% rename from x-pack/plugins/apm/common/utils/join_by_key/index.ts rename to x-pack/plugins/observability_solution/apm/common/utils/join_by_key/index.ts diff --git a/x-pack/plugins/apm/common/utils/kuery_utils.test.ts b/x-pack/plugins/observability_solution/apm/common/utils/kuery_utils.test.ts similarity index 100% rename from x-pack/plugins/apm/common/utils/kuery_utils.test.ts rename to x-pack/plugins/observability_solution/apm/common/utils/kuery_utils.test.ts diff --git a/x-pack/plugins/apm/common/utils/kuery_utils.ts b/x-pack/plugins/observability_solution/apm/common/utils/kuery_utils.ts similarity index 100% rename from x-pack/plugins/apm/common/utils/kuery_utils.ts rename to x-pack/plugins/observability_solution/apm/common/utils/kuery_utils.ts diff --git a/x-pack/plugins/apm/common/utils/maybe.ts b/x-pack/plugins/observability_solution/apm/common/utils/maybe.ts similarity index 100% rename from x-pack/plugins/apm/common/utils/maybe.ts rename to x-pack/plugins/observability_solution/apm/common/utils/maybe.ts diff --git a/x-pack/plugins/apm/common/utils/offset_previous_period_coordinate.test.ts b/x-pack/plugins/observability_solution/apm/common/utils/offset_previous_period_coordinate.test.ts similarity index 100% rename from x-pack/plugins/apm/common/utils/offset_previous_period_coordinate.test.ts rename to x-pack/plugins/observability_solution/apm/common/utils/offset_previous_period_coordinate.test.ts diff --git a/x-pack/plugins/apm/common/utils/offset_previous_period_coordinate.ts b/x-pack/plugins/observability_solution/apm/common/utils/offset_previous_period_coordinate.ts similarity index 100% rename from x-pack/plugins/apm/common/utils/offset_previous_period_coordinate.ts rename to x-pack/plugins/observability_solution/apm/common/utils/offset_previous_period_coordinate.ts diff --git a/x-pack/plugins/apm/common/utils/pick_keys.ts b/x-pack/plugins/observability_solution/apm/common/utils/pick_keys.ts similarity index 100% rename from x-pack/plugins/apm/common/utils/pick_keys.ts rename to x-pack/plugins/observability_solution/apm/common/utils/pick_keys.ts diff --git a/x-pack/plugins/apm/common/utils/term_query.ts b/x-pack/plugins/observability_solution/apm/common/utils/term_query.ts similarity index 100% rename from x-pack/plugins/apm/common/utils/term_query.ts rename to x-pack/plugins/observability_solution/apm/common/utils/term_query.ts diff --git a/x-pack/plugins/apm/common/viz_colors.ts b/x-pack/plugins/observability_solution/apm/common/viz_colors.ts similarity index 100% rename from x-pack/plugins/apm/common/viz_colors.ts rename to x-pack/plugins/observability_solution/apm/common/viz_colors.ts diff --git a/x-pack/plugins/apm/common/waterfall/typings.ts b/x-pack/plugins/observability_solution/apm/common/waterfall/typings.ts similarity index 100% rename from x-pack/plugins/apm/common/waterfall/typings.ts rename to x-pack/plugins/observability_solution/apm/common/waterfall/typings.ts diff --git a/x-pack/plugins/apm/dev_docs/apm_queries.md b/x-pack/plugins/observability_solution/apm/dev_docs/apm_queries.md similarity index 89% rename from x-pack/plugins/apm/dev_docs/apm_queries.md rename to x-pack/plugins/observability_solution/apm/dev_docs/apm_queries.md index acd20597389d9..7b0fd244bfdd5 100644 --- a/x-pack/plugins/apm/dev_docs/apm_queries.md +++ b/x-pack/plugins/observability_solution/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/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/apm/server/lib/suggestions/get_suggestions.ts#L30-L32) and [the latency field](https://github.com/elastic/kibana/blob/a2ac439f56313b7a3fc4708f54a4deebf2615136/x-pack/plugins/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/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) ### 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/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/plugins/observability_solution/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/apm/server/lib/metrics/by_agent/shared/cpu/index.ts#L83) +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) 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/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/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. # 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/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/plugins/observability_solution/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/apm/server/lib/backends/get_latency_charts_for_backend.ts#L68-L79), [Dependencies (throughput)](https://github.com/elastic/kibana/blob/00bb59713ed115343eb70d4e39059476edafbade/x-pack/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/plugins/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/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) Noteworthy fields: `span.destination.service.*` diff --git a/x-pack/plugins/apm/dev_docs/github_commands.md b/x-pack/plugins/observability_solution/apm/dev_docs/github_commands.md similarity index 100% rename from x-pack/plugins/apm/dev_docs/github_commands.md rename to x-pack/plugins/observability_solution/apm/dev_docs/github_commands.md diff --git a/x-pack/plugins/apm/dev_docs/learning_material.md b/x-pack/plugins/observability_solution/apm/dev_docs/learning_material.md similarity index 100% rename from x-pack/plugins/apm/dev_docs/learning_material.md rename to x-pack/plugins/observability_solution/apm/dev_docs/learning_material.md diff --git a/x-pack/plugins/apm/dev_docs/linting.md b/x-pack/plugins/observability_solution/apm/dev_docs/linting.md similarity index 75% rename from x-pack/plugins/apm/dev_docs/linting.md rename to x-pack/plugins/observability_solution/apm/dev_docs/linting.md index 3dbd7b5b27484..c0046dfe35e89 100644 --- a/x-pack/plugins/apm/dev_docs/linting.md +++ b/x-pack/plugins/observability_solution/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/apm/tsconfig.json +node scripts/type_check.js --project x-pack/plugins/observability_solution/apm/tsconfig.json ``` ### Prettier ``` -yarn prettier "./x-pack/plugins/apm/**/*.{tsx,ts,js}" --write +yarn prettier "./x-pack/plugins/observability_solution/apm/**/*.{tsx,ts,js}" --write ``` ### ESLint ``` -node scripts/eslint.js x-pack/plugins/apm +node scripts/eslint.js x-pack/plugins/observability_solution/apm ``` ## Install pre-commit hook (optional) @@ -27,4 +27,4 @@ In case you want to run a couple of checks like linting or check the file casing After the script completes the pre-commit hook will be created within the file .git/hooks/pre-commit. If you choose to not install it, don’t worry, we still run a quick CI check to provide feedback earliest as we can about the same checks. -More information about linting can be found in the [Kibana Guide](https://www.elastic.co/guide/en/kibana/current/kibana-linting.html). \ No newline at end of file +More information about linting can be found in the [Kibana Guide](https://www.elastic.co/guide/en/kibana/current/kibana-linting.html). diff --git a/x-pack/plugins/apm/dev_docs/local_setup.md b/x-pack/plugins/observability_solution/apm/dev_docs/local_setup.md similarity index 94% rename from x-pack/plugins/apm/dev_docs/local_setup.md rename to x-pack/plugins/observability_solution/apm/dev_docs/local_setup.md index 9f3553f3c680c..f4e8427da189a 100644 --- a/x-pack/plugins/apm/dev_docs/local_setup.md +++ b/x-pack/plugins/observability_solution/apm/dev_docs/local_setup.md @@ -85,7 +85,7 @@ elasticsearch.password: changeme APM behaves differently depending on which role and permissions a logged in user has. To create APM users run: ```sh -node x-pack/plugins/apm/scripts/create_apm_users.js --username admin --password changeme --kibana-url http://localhost:5601 +node x-pack/plugins/observability_solution/apm/scripts/create_apm_users.js --username admin --password changeme --kibana-url http://localhost:5601 ``` This will create: diff --git a/x-pack/plugins/apm/dev_docs/overflow_bucket_setup.md b/x-pack/plugins/observability_solution/apm/dev_docs/overflow_bucket_setup.md similarity index 100% rename from x-pack/plugins/apm/dev_docs/overflow_bucket_setup.md rename to x-pack/plugins/observability_solution/apm/dev_docs/overflow_bucket_setup.md diff --git a/x-pack/plugins/apm/dev_docs/query_debugging_in_development_and_production.md b/x-pack/plugins/observability_solution/apm/dev_docs/query_debugging_in_development_and_production.md similarity index 100% rename from x-pack/plugins/apm/dev_docs/query_debugging_in_development_and_production.md rename to x-pack/plugins/observability_solution/apm/dev_docs/query_debugging_in_development_and_production.md diff --git a/x-pack/plugins/apm/dev_docs/routing_and_linking.md b/x-pack/plugins/observability_solution/apm/dev_docs/routing_and_linking.md similarity index 100% rename from x-pack/plugins/apm/dev_docs/routing_and_linking.md rename to x-pack/plugins/observability_solution/apm/dev_docs/routing_and_linking.md diff --git a/x-pack/plugins/apm/dev_docs/telemetry.md b/x-pack/plugins/observability_solution/apm/dev_docs/telemetry.md similarity index 93% rename from x-pack/plugins/apm/dev_docs/telemetry.md rename to x-pack/plugins/observability_solution/apm/dev_docs/telemetry.md index 89293aad75a19..142701b035b5d 100644 --- a/x-pack/plugins/apm/dev_docs/telemetry.md +++ b/x-pack/plugins/observability_solution/apm/dev_docs/telemetry.md @@ -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/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/plugins/observability_solution/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/apm` directory will update the +Running `node scripts/test/jest --updateSnapshot` from the `x-pack/plugins/observability_solution/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/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/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/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) 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/plugins/apm/dev_docs/testing.md b/x-pack/plugins/observability_solution/apm/dev_docs/testing.md similarity index 88% rename from x-pack/plugins/apm/dev_docs/testing.md rename to x-pack/plugins/observability_solution/apm/dev_docs/testing.md index 7ce4ed34b9e61..02ff43d37bf75 100644 --- a/x-pack/plugins/apm/dev_docs/testing.md +++ b/x-pack/plugins/observability_solution/apm/dev_docs/testing.md @@ -13,7 +13,7 @@ Unit testing is a good approach if you have a very specific piece of code with l ## Unit Tests (Jest) ``` -node x-pack/plugins/apm/scripts/test/jest [--watch] [--updateSnapshot] +node x-pack/plugins/observability_solution/apm/scripts/test/jest [--watch] [--updateSnapshot] ``` #### Coverage @@ -44,7 +44,7 @@ The API tests are located in [`x-pack/test/apm_api_integration/`](/x-pack/test/a #### Start server and run test (single process) ``` -node x-pack/plugins/apm/scripts/test/api [--trial/--basic] [--help] +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. @@ -55,10 +55,10 @@ Once the tests finish, the instances will be terminated. ```sh # start server -node x-pack/plugins/apm/scripts/test/api --server --basic +node x-pack/plugins/observability_solution/apm/scripts/test/api --server --basic # run tests -node x-pack/plugins/apm/scripts/test/api --runner --basic --grep-files=error_group_list +node x-pack/plugins/observability_solution/apm/scripts/test/api --runner --basic --grep-files=error_group_list ``` ### Update snapshots (from Kibana root) @@ -66,7 +66,7 @@ node x-pack/plugins/apm/scripts/test/api --runner --basic --grep-files=error_gro To update snapshots append `--updateSnapshots` to the `--runner` command: ``` -node x-pack/plugins/apm/scripts/test/api --runner --basic --updateSnapshots +node x-pack/plugins/observability_solution/apm/scripts/test/api --runner --basic --updateSnapshots ``` (The test server needs to be running) @@ -80,7 +80,7 @@ node x-pack/plugins/apm/scripts/test/api --runner --basic --updateSnapshots ## E2E Tests (Cypress) -The E2E tests are located in [`x-pack/plugins/apm/ftr_e2e`](../ftr_e2e). +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). @@ -98,19 +98,19 @@ Tests run on buildkite PR pipeline are parallelized (4 parallel jobs) and are or #### Start test server ``` -node x-pack/plugins/apm/scripts/test/e2e --server +node x-pack/plugins/observability_solution/apm/scripts/test/e2e --server ``` #### Run tests ``` -node x-pack/plugins/apm/scripts/test/e2e --runner --open +node x-pack/plugins/observability_solution/apm/scripts/test/e2e --runner --open ``` ### Run tests multiple times to check for flakiness ``` -node x-pack/plugins/apm/scripts/test/e2e --runner --times [--spec ] +node x-pack/plugins/observability_solution/apm/scripts/test/e2e --runner --times [--spec ] ``` ### A11y checks @@ -131,7 +131,7 @@ node scripts/functional_test_runner --config x-pack/test/functional/apps/apm/con 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/apm/scripts/test/README.md b/x-pack/plugins/apm/scripts/test/README.md +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 diff --git a/x-pack/plugins/apm/dev_docs/testing_apm_server.md b/x-pack/plugins/observability_solution/apm/dev_docs/testing_apm_server.md similarity index 100% rename from x-pack/plugins/apm/dev_docs/testing_apm_server.md rename to x-pack/plugins/observability_solution/apm/dev_docs/testing_apm_server.md diff --git a/x-pack/plugins/apm/dev_docs/updating_functional_tests_archives.md b/x-pack/plugins/observability_solution/apm/dev_docs/updating_functional_tests_archives.md similarity index 80% rename from x-pack/plugins/apm/dev_docs/updating_functional_tests_archives.md rename to x-pack/plugins/observability_solution/apm/dev_docs/updating_functional_tests_archives.md index 3d1a5f0b00bb4..50a183d502c2f 100644 --- a/x-pack/plugins/apm/dev_docs/updating_functional_tests_archives.md +++ b/x-pack/plugins/observability_solution/apm/dev_docs/updating_functional_tests_archives.md @@ -3,6 +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/apm/scripts/create_functional_tests_archive --es-url=https://admin:changeme@localhost:9200 --kibana-url=https://localhost:5601` - - +`node x-pack/plugins/observability_solution/apm/scripts/create_functional_tests_archive --es-url=https://admin:changeme@localhost:9200 --kibana-url=https://localhost:5601` diff --git a/x-pack/plugins/apm/dev_docs/vscode_setup.md b/x-pack/plugins/observability_solution/apm/dev_docs/vscode_setup.md similarity index 88% rename from x-pack/plugins/apm/dev_docs/vscode_setup.md rename to x-pack/plugins/observability_solution/apm/dev_docs/vscode_setup.md index 9be3a53b52176..a5ed2783da9d2 100644 --- a/x-pack/plugins/apm/dev_docs/vscode_setup.md +++ b/x-pack/plugins/observability_solution/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/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/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. ## Using the Jest extension diff --git a/x-pack/plugins/apm/ftr_e2e/README.md b/x-pack/plugins/observability_solution/apm/ftr_e2e/README.md similarity index 92% rename from x-pack/plugins/apm/ftr_e2e/README.md rename to x-pack/plugins/observability_solution/apm/ftr_e2e/README.md index f62040babfe12..8336c037ff21d 100644 --- a/x-pack/plugins/apm/ftr_e2e/README.md +++ b/x-pack/plugins/observability_solution/apm/ftr_e2e/README.md @@ -1,6 +1,6 @@ # APM E2E -APM 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/apm/ftr_e2e/cypress/integration`. +APM 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/apm/ftr_e2e/cypress/integration`. ## Tips and best practices @@ -71,7 +71,7 @@ it('calls the dependencies API', () => { ### 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/apm/ftr_e2e/cypress/support/commands.ts#L51-L56) 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 diff --git a/x-pack/plugins/apm/ftr_e2e/apis/fixtures/package_registry_config.yml b/x-pack/plugins/observability_solution/apm/ftr_e2e/apis/fixtures/package_registry_config.yml similarity index 100% rename from x-pack/plugins/apm/ftr_e2e/apis/fixtures/package_registry_config.yml rename to x-pack/plugins/observability_solution/apm/ftr_e2e/apis/fixtures/package_registry_config.yml diff --git a/x-pack/plugins/apm/ftr_e2e/cypress.config.ts b/x-pack/plugins/observability_solution/apm/ftr_e2e/cypress.config.ts similarity index 100% rename from x-pack/plugins/apm/ftr_e2e/cypress.config.ts rename to x-pack/plugins/observability_solution/apm/ftr_e2e/cypress.config.ts diff --git a/x-pack/plugins/apm/ftr_e2e/cypress/.gitignore b/x-pack/plugins/observability_solution/apm/ftr_e2e/cypress/.gitignore similarity index 100% rename from x-pack/plugins/apm/ftr_e2e/cypress/.gitignore rename to x-pack/plugins/observability_solution/apm/ftr_e2e/cypress/.gitignore diff --git a/x-pack/plugins/apm/ftr_e2e/cypress/e2e/_404.cy.ts b/x-pack/plugins/observability_solution/apm/ftr_e2e/cypress/e2e/_404.cy.ts similarity index 100% rename from x-pack/plugins/apm/ftr_e2e/cypress/e2e/_404.cy.ts rename to x-pack/plugins/observability_solution/apm/ftr_e2e/cypress/e2e/_404.cy.ts diff --git a/x-pack/plugins/apm/ftr_e2e/cypress/e2e/deep_links.cy.ts b/x-pack/plugins/observability_solution/apm/ftr_e2e/cypress/e2e/deep_links.cy.ts similarity index 100% rename from x-pack/plugins/apm/ftr_e2e/cypress/e2e/deep_links.cy.ts rename to x-pack/plugins/observability_solution/apm/ftr_e2e/cypress/e2e/deep_links.cy.ts diff --git a/x-pack/plugins/apm/ftr_e2e/cypress/e2e/dependencies/dependencies.cy.ts b/x-pack/plugins/observability_solution/apm/ftr_e2e/cypress/e2e/dependencies/dependencies.cy.ts similarity index 100% rename from x-pack/plugins/apm/ftr_e2e/cypress/e2e/dependencies/dependencies.cy.ts rename to x-pack/plugins/observability_solution/apm/ftr_e2e/cypress/e2e/dependencies/dependencies.cy.ts diff --git a/x-pack/plugins/apm/ftr_e2e/cypress/e2e/dependencies/generate_many_dependencies.ts b/x-pack/plugins/observability_solution/apm/ftr_e2e/cypress/e2e/dependencies/generate_many_dependencies.ts similarity index 100% rename from x-pack/plugins/apm/ftr_e2e/cypress/e2e/dependencies/generate_many_dependencies.ts rename to x-pack/plugins/observability_solution/apm/ftr_e2e/cypress/e2e/dependencies/generate_many_dependencies.ts diff --git a/x-pack/plugins/apm/ftr_e2e/cypress/e2e/dependency_operation/dependency_operation.cy.ts b/x-pack/plugins/observability_solution/apm/ftr_e2e/cypress/e2e/dependency_operation/dependency_operation.cy.ts similarity index 100% rename from x-pack/plugins/apm/ftr_e2e/cypress/e2e/dependency_operation/dependency_operation.cy.ts rename to x-pack/plugins/observability_solution/apm/ftr_e2e/cypress/e2e/dependency_operation/dependency_operation.cy.ts diff --git a/x-pack/plugins/apm/ftr_e2e/cypress/e2e/diagnostics/apm-diagnostics-8.8.0-1687436214804.json b/x-pack/plugins/observability_solution/apm/ftr_e2e/cypress/e2e/diagnostics/apm-diagnostics-8.8.0-1687436214804.json similarity index 100% rename from x-pack/plugins/apm/ftr_e2e/cypress/e2e/diagnostics/apm-diagnostics-8.8.0-1687436214804.json rename to x-pack/plugins/observability_solution/apm/ftr_e2e/cypress/e2e/diagnostics/apm-diagnostics-8.8.0-1687436214804.json diff --git a/x-pack/plugins/apm/ftr_e2e/cypress/e2e/diagnostics/diagnostics.cy.ts b/x-pack/plugins/observability_solution/apm/ftr_e2e/cypress/e2e/diagnostics/diagnostics.cy.ts similarity index 100% rename from x-pack/plugins/apm/ftr_e2e/cypress/e2e/diagnostics/diagnostics.cy.ts rename to x-pack/plugins/observability_solution/apm/ftr_e2e/cypress/e2e/diagnostics/diagnostics.cy.ts diff --git a/x-pack/plugins/apm/ftr_e2e/cypress/e2e/errors/error_details.cy.ts b/x-pack/plugins/observability_solution/apm/ftr_e2e/cypress/e2e/errors/error_details.cy.ts similarity index 100% rename from x-pack/plugins/apm/ftr_e2e/cypress/e2e/errors/error_details.cy.ts rename to x-pack/plugins/observability_solution/apm/ftr_e2e/cypress/e2e/errors/error_details.cy.ts diff --git a/x-pack/plugins/apm/ftr_e2e/cypress/e2e/errors/errors_page.cy.ts b/x-pack/plugins/observability_solution/apm/ftr_e2e/cypress/e2e/errors/errors_page.cy.ts similarity index 100% rename from x-pack/plugins/apm/ftr_e2e/cypress/e2e/errors/errors_page.cy.ts rename to x-pack/plugins/observability_solution/apm/ftr_e2e/cypress/e2e/errors/errors_page.cy.ts diff --git a/x-pack/plugins/apm/ftr_e2e/cypress/e2e/errors/generate_data.ts b/x-pack/plugins/observability_solution/apm/ftr_e2e/cypress/e2e/errors/generate_data.ts similarity index 100% rename from x-pack/plugins/apm/ftr_e2e/cypress/e2e/errors/generate_data.ts rename to x-pack/plugins/observability_solution/apm/ftr_e2e/cypress/e2e/errors/generate_data.ts diff --git a/x-pack/plugins/apm/ftr_e2e/cypress/e2e/feature_flag/comparison.cy.ts b/x-pack/plugins/observability_solution/apm/ftr_e2e/cypress/e2e/feature_flag/comparison.cy.ts similarity index 100% rename from x-pack/plugins/apm/ftr_e2e/cypress/e2e/feature_flag/comparison.cy.ts rename to x-pack/plugins/observability_solution/apm/ftr_e2e/cypress/e2e/feature_flag/comparison.cy.ts diff --git a/x-pack/plugins/apm/ftr_e2e/cypress/e2e/home.cy.ts b/x-pack/plugins/observability_solution/apm/ftr_e2e/cypress/e2e/home.cy.ts similarity index 100% rename from x-pack/plugins/apm/ftr_e2e/cypress/e2e/home.cy.ts rename to x-pack/plugins/observability_solution/apm/ftr_e2e/cypress/e2e/home.cy.ts diff --git a/x-pack/plugins/apm/ftr_e2e/cypress/e2e/infrastructure/generate_data.ts b/x-pack/plugins/observability_solution/apm/ftr_e2e/cypress/e2e/infrastructure/generate_data.ts similarity index 100% rename from x-pack/plugins/apm/ftr_e2e/cypress/e2e/infrastructure/generate_data.ts rename to x-pack/plugins/observability_solution/apm/ftr_e2e/cypress/e2e/infrastructure/generate_data.ts diff --git a/x-pack/plugins/apm/ftr_e2e/cypress/e2e/infrastructure/infrastructure_page.cy.ts b/x-pack/plugins/observability_solution/apm/ftr_e2e/cypress/e2e/infrastructure/infrastructure_page.cy.ts similarity index 100% rename from x-pack/plugins/apm/ftr_e2e/cypress/e2e/infrastructure/infrastructure_page.cy.ts rename to x-pack/plugins/observability_solution/apm/ftr_e2e/cypress/e2e/infrastructure/infrastructure_page.cy.ts diff --git a/x-pack/plugins/apm/ftr_e2e/cypress/e2e/integration_settings/integration_policy.cy.ts b/x-pack/plugins/observability_solution/apm/ftr_e2e/cypress/e2e/integration_settings/integration_policy.cy.ts similarity index 100% rename from x-pack/plugins/apm/ftr_e2e/cypress/e2e/integration_settings/integration_policy.cy.ts rename to x-pack/plugins/observability_solution/apm/ftr_e2e/cypress/e2e/integration_settings/integration_policy.cy.ts diff --git a/x-pack/plugins/apm/ftr_e2e/cypress/e2e/mobile/generate_data.ts b/x-pack/plugins/observability_solution/apm/ftr_e2e/cypress/e2e/mobile/generate_data.ts similarity index 100% rename from x-pack/plugins/apm/ftr_e2e/cypress/e2e/mobile/generate_data.ts rename to x-pack/plugins/observability_solution/apm/ftr_e2e/cypress/e2e/mobile/generate_data.ts diff --git a/x-pack/plugins/apm/ftr_e2e/cypress/e2e/mobile/mobile_transaction_details.cy.ts b/x-pack/plugins/observability_solution/apm/ftr_e2e/cypress/e2e/mobile/mobile_transaction_details.cy.ts similarity index 100% rename from x-pack/plugins/apm/ftr_e2e/cypress/e2e/mobile/mobile_transaction_details.cy.ts rename to x-pack/plugins/observability_solution/apm/ftr_e2e/cypress/e2e/mobile/mobile_transaction_details.cy.ts diff --git a/x-pack/plugins/apm/ftr_e2e/cypress/e2e/mobile/mobile_transactions.cy.ts b/x-pack/plugins/observability_solution/apm/ftr_e2e/cypress/e2e/mobile/mobile_transactions.cy.ts similarity index 100% rename from x-pack/plugins/apm/ftr_e2e/cypress/e2e/mobile/mobile_transactions.cy.ts rename to x-pack/plugins/observability_solution/apm/ftr_e2e/cypress/e2e/mobile/mobile_transactions.cy.ts diff --git a/x-pack/plugins/apm/ftr_e2e/cypress/e2e/navigation.cy.ts b/x-pack/plugins/observability_solution/apm/ftr_e2e/cypress/e2e/navigation.cy.ts similarity index 100% rename from x-pack/plugins/apm/ftr_e2e/cypress/e2e/navigation.cy.ts rename to x-pack/plugins/observability_solution/apm/ftr_e2e/cypress/e2e/navigation.cy.ts diff --git a/x-pack/plugins/apm/ftr_e2e/cypress/e2e/no_data_screen.cy.ts b/x-pack/plugins/observability_solution/apm/ftr_e2e/cypress/e2e/no_data_screen.cy.ts similarity index 100% rename from x-pack/plugins/apm/ftr_e2e/cypress/e2e/no_data_screen.cy.ts rename to x-pack/plugins/observability_solution/apm/ftr_e2e/cypress/e2e/no_data_screen.cy.ts diff --git a/x-pack/plugins/apm/ftr_e2e/cypress/e2e/onboarding/onboarding.cy.ts b/x-pack/plugins/observability_solution/apm/ftr_e2e/cypress/e2e/onboarding/onboarding.cy.ts similarity index 100% rename from x-pack/plugins/apm/ftr_e2e/cypress/e2e/onboarding/onboarding.cy.ts rename to x-pack/plugins/observability_solution/apm/ftr_e2e/cypress/e2e/onboarding/onboarding.cy.ts diff --git a/x-pack/plugins/apm/ftr_e2e/cypress/e2e/rules/error_count.cy.ts b/x-pack/plugins/observability_solution/apm/ftr_e2e/cypress/e2e/rules/error_count.cy.ts similarity index 100% rename from x-pack/plugins/apm/ftr_e2e/cypress/e2e/rules/error_count.cy.ts rename to x-pack/plugins/observability_solution/apm/ftr_e2e/cypress/e2e/rules/error_count.cy.ts diff --git a/x-pack/plugins/apm/ftr_e2e/cypress/e2e/rules/generate_data.ts b/x-pack/plugins/observability_solution/apm/ftr_e2e/cypress/e2e/rules/generate_data.ts similarity index 100% rename from x-pack/plugins/apm/ftr_e2e/cypress/e2e/rules/generate_data.ts rename to x-pack/plugins/observability_solution/apm/ftr_e2e/cypress/e2e/rules/generate_data.ts diff --git a/x-pack/plugins/apm/ftr_e2e/cypress/e2e/service_groups/generate_data.ts b/x-pack/plugins/observability_solution/apm/ftr_e2e/cypress/e2e/service_groups/generate_data.ts similarity index 100% rename from x-pack/plugins/apm/ftr_e2e/cypress/e2e/service_groups/generate_data.ts rename to x-pack/plugins/observability_solution/apm/ftr_e2e/cypress/e2e/service_groups/generate_data.ts diff --git a/x-pack/plugins/apm/ftr_e2e/cypress/e2e/service_groups/service_groups.cy.ts b/x-pack/plugins/observability_solution/apm/ftr_e2e/cypress/e2e/service_groups/service_groups.cy.ts similarity index 100% rename from x-pack/plugins/apm/ftr_e2e/cypress/e2e/service_groups/service_groups.cy.ts rename to x-pack/plugins/observability_solution/apm/ftr_e2e/cypress/e2e/service_groups/service_groups.cy.ts diff --git a/x-pack/plugins/apm/ftr_e2e/cypress/e2e/service_inventory/generate_data.ts b/x-pack/plugins/observability_solution/apm/ftr_e2e/cypress/e2e/service_inventory/generate_data.ts similarity index 100% rename from x-pack/plugins/apm/ftr_e2e/cypress/e2e/service_inventory/generate_data.ts rename to x-pack/plugins/observability_solution/apm/ftr_e2e/cypress/e2e/service_inventory/generate_data.ts diff --git a/x-pack/plugins/apm/ftr_e2e/cypress/e2e/service_inventory/header_filters/generate_data.ts b/x-pack/plugins/observability_solution/apm/ftr_e2e/cypress/e2e/service_inventory/header_filters/generate_data.ts similarity index 100% rename from x-pack/plugins/apm/ftr_e2e/cypress/e2e/service_inventory/header_filters/generate_data.ts rename to x-pack/plugins/observability_solution/apm/ftr_e2e/cypress/e2e/service_inventory/header_filters/generate_data.ts diff --git a/x-pack/plugins/apm/ftr_e2e/cypress/e2e/service_inventory/header_filters/header_filters.cy.ts b/x-pack/plugins/observability_solution/apm/ftr_e2e/cypress/e2e/service_inventory/header_filters/header_filters.cy.ts similarity index 100% rename from x-pack/plugins/apm/ftr_e2e/cypress/e2e/service_inventory/header_filters/header_filters.cy.ts rename to x-pack/plugins/observability_solution/apm/ftr_e2e/cypress/e2e/service_inventory/header_filters/header_filters.cy.ts diff --git a/x-pack/plugins/apm/ftr_e2e/cypress/e2e/service_inventory/service_inventory.cy.ts b/x-pack/plugins/observability_solution/apm/ftr_e2e/cypress/e2e/service_inventory/service_inventory.cy.ts similarity index 100% rename from x-pack/plugins/apm/ftr_e2e/cypress/e2e/service_inventory/service_inventory.cy.ts rename to x-pack/plugins/observability_solution/apm/ftr_e2e/cypress/e2e/service_inventory/service_inventory.cy.ts diff --git a/x-pack/plugins/apm/ftr_e2e/cypress/e2e/service_map/service_map.cy.ts b/x-pack/plugins/observability_solution/apm/ftr_e2e/cypress/e2e/service_map/service_map.cy.ts similarity index 100% rename from x-pack/plugins/apm/ftr_e2e/cypress/e2e/service_map/service_map.cy.ts rename to x-pack/plugins/observability_solution/apm/ftr_e2e/cypress/e2e/service_map/service_map.cy.ts diff --git a/x-pack/plugins/apm/ftr_e2e/cypress/e2e/service_map/snapshots/detailed_service_map.png b/x-pack/plugins/observability_solution/apm/ftr_e2e/cypress/e2e/service_map/snapshots/detailed_service_map.png similarity index 100% rename from x-pack/plugins/apm/ftr_e2e/cypress/e2e/service_map/snapshots/detailed_service_map.png rename to x-pack/plugins/observability_solution/apm/ftr_e2e/cypress/e2e/service_map/snapshots/detailed_service_map.png diff --git a/x-pack/plugins/apm/ftr_e2e/cypress/e2e/service_map/snapshots/service_map.png b/x-pack/plugins/observability_solution/apm/ftr_e2e/cypress/e2e/service_map/snapshots/service_map.png similarity index 100% rename from x-pack/plugins/apm/ftr_e2e/cypress/e2e/service_map/snapshots/service_map.png rename to x-pack/plugins/observability_solution/apm/ftr_e2e/cypress/e2e/service_map/snapshots/service_map.png diff --git a/x-pack/plugins/apm/ftr_e2e/cypress/e2e/service_overview/alerts_table.cy.ts b/x-pack/plugins/observability_solution/apm/ftr_e2e/cypress/e2e/service_overview/alerts_table.cy.ts similarity index 100% rename from x-pack/plugins/apm/ftr_e2e/cypress/e2e/service_overview/alerts_table.cy.ts rename to x-pack/plugins/observability_solution/apm/ftr_e2e/cypress/e2e/service_overview/alerts_table.cy.ts diff --git a/x-pack/plugins/apm/ftr_e2e/cypress/e2e/service_overview/aws_lambda/aws_lambda.cy.ts b/x-pack/plugins/observability_solution/apm/ftr_e2e/cypress/e2e/service_overview/aws_lambda/aws_lambda.cy.ts similarity index 100% rename from x-pack/plugins/apm/ftr_e2e/cypress/e2e/service_overview/aws_lambda/aws_lambda.cy.ts rename to x-pack/plugins/observability_solution/apm/ftr_e2e/cypress/e2e/service_overview/aws_lambda/aws_lambda.cy.ts diff --git a/x-pack/plugins/apm/ftr_e2e/cypress/e2e/service_overview/aws_lambda/generate_data.ts b/x-pack/plugins/observability_solution/apm/ftr_e2e/cypress/e2e/service_overview/aws_lambda/generate_data.ts similarity index 100% rename from x-pack/plugins/apm/ftr_e2e/cypress/e2e/service_overview/aws_lambda/generate_data.ts rename to x-pack/plugins/observability_solution/apm/ftr_e2e/cypress/e2e/service_overview/aws_lambda/generate_data.ts diff --git a/x-pack/plugins/apm/ftr_e2e/cypress/e2e/service_overview/azure_functions/azure_functions.cy.ts b/x-pack/plugins/observability_solution/apm/ftr_e2e/cypress/e2e/service_overview/azure_functions/azure_functions.cy.ts similarity index 100% rename from x-pack/plugins/apm/ftr_e2e/cypress/e2e/service_overview/azure_functions/azure_functions.cy.ts rename to x-pack/plugins/observability_solution/apm/ftr_e2e/cypress/e2e/service_overview/azure_functions/azure_functions.cy.ts diff --git a/x-pack/plugins/apm/ftr_e2e/cypress/e2e/service_overview/azure_functions/generate_data.ts b/x-pack/plugins/observability_solution/apm/ftr_e2e/cypress/e2e/service_overview/azure_functions/generate_data.ts similarity index 100% rename from x-pack/plugins/apm/ftr_e2e/cypress/e2e/service_overview/azure_functions/generate_data.ts rename to x-pack/plugins/observability_solution/apm/ftr_e2e/cypress/e2e/service_overview/azure_functions/generate_data.ts diff --git a/x-pack/plugins/apm/ftr_e2e/cypress/e2e/service_overview/errors_table.cy.ts b/x-pack/plugins/observability_solution/apm/ftr_e2e/cypress/e2e/service_overview/errors_table.cy.ts similarity index 100% rename from x-pack/plugins/apm/ftr_e2e/cypress/e2e/service_overview/errors_table.cy.ts rename to x-pack/plugins/observability_solution/apm/ftr_e2e/cypress/e2e/service_overview/errors_table.cy.ts diff --git a/x-pack/plugins/apm/ftr_e2e/cypress/e2e/service_overview/generate_data.ts b/x-pack/plugins/observability_solution/apm/ftr_e2e/cypress/e2e/service_overview/generate_data.ts similarity index 100% rename from x-pack/plugins/apm/ftr_e2e/cypress/e2e/service_overview/generate_data.ts rename to x-pack/plugins/observability_solution/apm/ftr_e2e/cypress/e2e/service_overview/generate_data.ts diff --git a/x-pack/plugins/apm/ftr_e2e/cypress/e2e/service_overview/generate_mobile.data.ts b/x-pack/plugins/observability_solution/apm/ftr_e2e/cypress/e2e/service_overview/generate_mobile.data.ts similarity index 100% rename from x-pack/plugins/apm/ftr_e2e/cypress/e2e/service_overview/generate_mobile.data.ts rename to x-pack/plugins/observability_solution/apm/ftr_e2e/cypress/e2e/service_overview/generate_mobile.data.ts diff --git a/x-pack/plugins/apm/ftr_e2e/cypress/e2e/service_overview/header_filters.cy.ts b/x-pack/plugins/observability_solution/apm/ftr_e2e/cypress/e2e/service_overview/header_filters.cy.ts similarity index 100% rename from x-pack/plugins/apm/ftr_e2e/cypress/e2e/service_overview/header_filters.cy.ts rename to x-pack/plugins/observability_solution/apm/ftr_e2e/cypress/e2e/service_overview/header_filters.cy.ts diff --git a/x-pack/plugins/apm/ftr_e2e/cypress/e2e/service_overview/instances_table.cy.ts b/x-pack/plugins/observability_solution/apm/ftr_e2e/cypress/e2e/service_overview/instances_table.cy.ts similarity index 100% rename from x-pack/plugins/apm/ftr_e2e/cypress/e2e/service_overview/instances_table.cy.ts rename to x-pack/plugins/observability_solution/apm/ftr_e2e/cypress/e2e/service_overview/instances_table.cy.ts diff --git a/x-pack/plugins/apm/ftr_e2e/cypress/e2e/service_overview/mobile_overview_with_most_used_charts.cy.ts b/x-pack/plugins/observability_solution/apm/ftr_e2e/cypress/e2e/service_overview/mobile_overview_with_most_used_charts.cy.ts similarity index 100% rename from x-pack/plugins/apm/ftr_e2e/cypress/e2e/service_overview/mobile_overview_with_most_used_charts.cy.ts rename to x-pack/plugins/observability_solution/apm/ftr_e2e/cypress/e2e/service_overview/mobile_overview_with_most_used_charts.cy.ts diff --git a/x-pack/plugins/apm/ftr_e2e/cypress/e2e/service_overview/service_and_mobile_overview.cy.ts b/x-pack/plugins/observability_solution/apm/ftr_e2e/cypress/e2e/service_overview/service_and_mobile_overview.cy.ts similarity index 100% rename from x-pack/plugins/apm/ftr_e2e/cypress/e2e/service_overview/service_and_mobile_overview.cy.ts rename to x-pack/plugins/observability_solution/apm/ftr_e2e/cypress/e2e/service_overview/service_and_mobile_overview.cy.ts diff --git a/x-pack/plugins/apm/ftr_e2e/cypress/e2e/service_overview/service_overview.cy.ts b/x-pack/plugins/observability_solution/apm/ftr_e2e/cypress/e2e/service_overview/service_overview.cy.ts similarity index 100% rename from x-pack/plugins/apm/ftr_e2e/cypress/e2e/service_overview/service_overview.cy.ts rename to x-pack/plugins/observability_solution/apm/ftr_e2e/cypress/e2e/service_overview/service_overview.cy.ts diff --git a/x-pack/plugins/apm/ftr_e2e/cypress/e2e/service_overview/time_comparison.cy.ts b/x-pack/plugins/observability_solution/apm/ftr_e2e/cypress/e2e/service_overview/time_comparison.cy.ts similarity index 100% rename from x-pack/plugins/apm/ftr_e2e/cypress/e2e/service_overview/time_comparison.cy.ts rename to x-pack/plugins/observability_solution/apm/ftr_e2e/cypress/e2e/service_overview/time_comparison.cy.ts diff --git a/x-pack/plugins/apm/ftr_e2e/cypress/e2e/settings/agent_configurations.cy.ts b/x-pack/plugins/observability_solution/apm/ftr_e2e/cypress/e2e/settings/agent_configurations.cy.ts similarity index 100% rename from x-pack/plugins/apm/ftr_e2e/cypress/e2e/settings/agent_configurations.cy.ts rename to x-pack/plugins/observability_solution/apm/ftr_e2e/cypress/e2e/settings/agent_configurations.cy.ts diff --git a/x-pack/plugins/apm/ftr_e2e/cypress/e2e/settings/custom_links.cy.ts b/x-pack/plugins/observability_solution/apm/ftr_e2e/cypress/e2e/settings/custom_links.cy.ts similarity index 100% rename from x-pack/plugins/apm/ftr_e2e/cypress/e2e/settings/custom_links.cy.ts rename to x-pack/plugins/observability_solution/apm/ftr_e2e/cypress/e2e/settings/custom_links.cy.ts diff --git a/x-pack/plugins/apm/ftr_e2e/cypress/e2e/storage_explorer/storage_explorer.cy.ts b/x-pack/plugins/observability_solution/apm/ftr_e2e/cypress/e2e/storage_explorer/storage_explorer.cy.ts similarity index 100% rename from x-pack/plugins/apm/ftr_e2e/cypress/e2e/storage_explorer/storage_explorer.cy.ts rename to x-pack/plugins/observability_solution/apm/ftr_e2e/cypress/e2e/storage_explorer/storage_explorer.cy.ts diff --git a/x-pack/plugins/apm/ftr_e2e/cypress/e2e/trace_explorer/trace_explorer.cy.ts b/x-pack/plugins/observability_solution/apm/ftr_e2e/cypress/e2e/trace_explorer/trace_explorer.cy.ts similarity index 100% rename from x-pack/plugins/apm/ftr_e2e/cypress/e2e/trace_explorer/trace_explorer.cy.ts rename to x-pack/plugins/observability_solution/apm/ftr_e2e/cypress/e2e/trace_explorer/trace_explorer.cy.ts diff --git a/x-pack/plugins/apm/ftr_e2e/cypress/e2e/transaction_details/generate_span_links_data.ts b/x-pack/plugins/observability_solution/apm/ftr_e2e/cypress/e2e/transaction_details/generate_span_links_data.ts similarity index 100% rename from x-pack/plugins/apm/ftr_e2e/cypress/e2e/transaction_details/generate_span_links_data.ts rename to x-pack/plugins/observability_solution/apm/ftr_e2e/cypress/e2e/transaction_details/generate_span_links_data.ts diff --git a/x-pack/plugins/apm/ftr_e2e/cypress/e2e/transaction_details/generate_span_stacktrace_data.ts b/x-pack/plugins/observability_solution/apm/ftr_e2e/cypress/e2e/transaction_details/generate_span_stacktrace_data.ts similarity index 100% rename from x-pack/plugins/apm/ftr_e2e/cypress/e2e/transaction_details/generate_span_stacktrace_data.ts rename to x-pack/plugins/observability_solution/apm/ftr_e2e/cypress/e2e/transaction_details/generate_span_stacktrace_data.ts diff --git a/x-pack/plugins/apm/ftr_e2e/cypress/e2e/transaction_details/large_trace_in_waterfall/generate_large_trace.ts b/x-pack/plugins/observability_solution/apm/ftr_e2e/cypress/e2e/transaction_details/large_trace_in_waterfall/generate_large_trace.ts similarity index 100% rename from x-pack/plugins/apm/ftr_e2e/cypress/e2e/transaction_details/large_trace_in_waterfall/generate_large_trace.ts rename to x-pack/plugins/observability_solution/apm/ftr_e2e/cypress/e2e/transaction_details/large_trace_in_waterfall/generate_large_trace.ts diff --git a/x-pack/plugins/apm/ftr_e2e/cypress/e2e/transaction_details/large_trace_in_waterfall/large_traces_in_waterfall.cy.ts b/x-pack/plugins/observability_solution/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/apm/ftr_e2e/cypress/e2e/transaction_details/large_trace_in_waterfall/large_traces_in_waterfall.cy.ts rename to x-pack/plugins/observability_solution/apm/ftr_e2e/cypress/e2e/transaction_details/large_trace_in_waterfall/large_traces_in_waterfall.cy.ts diff --git a/x-pack/plugins/apm/ftr_e2e/cypress/e2e/transaction_details/span_links.cy.ts b/x-pack/plugins/observability_solution/apm/ftr_e2e/cypress/e2e/transaction_details/span_links.cy.ts similarity index 100% rename from x-pack/plugins/apm/ftr_e2e/cypress/e2e/transaction_details/span_links.cy.ts rename to x-pack/plugins/observability_solution/apm/ftr_e2e/cypress/e2e/transaction_details/span_links.cy.ts diff --git a/x-pack/plugins/apm/ftr_e2e/cypress/e2e/transaction_details/span_stacktrace.cy.ts b/x-pack/plugins/observability_solution/apm/ftr_e2e/cypress/e2e/transaction_details/span_stacktrace.cy.ts similarity index 100% rename from x-pack/plugins/apm/ftr_e2e/cypress/e2e/transaction_details/span_stacktrace.cy.ts rename to x-pack/plugins/observability_solution/apm/ftr_e2e/cypress/e2e/transaction_details/span_stacktrace.cy.ts diff --git a/x-pack/plugins/apm/ftr_e2e/cypress/e2e/transaction_details/transaction_details.cy.ts b/x-pack/plugins/observability_solution/apm/ftr_e2e/cypress/e2e/transaction_details/transaction_details.cy.ts similarity index 100% rename from x-pack/plugins/apm/ftr_e2e/cypress/e2e/transaction_details/transaction_details.cy.ts rename to x-pack/plugins/observability_solution/apm/ftr_e2e/cypress/e2e/transaction_details/transaction_details.cy.ts diff --git a/x-pack/plugins/apm/ftr_e2e/cypress/e2e/transactions_overview/transactions_overview.cy.ts b/x-pack/plugins/observability_solution/apm/ftr_e2e/cypress/e2e/transactions_overview/transactions_overview.cy.ts similarity index 100% rename from x-pack/plugins/apm/ftr_e2e/cypress/e2e/transactions_overview/transactions_overview.cy.ts rename to x-pack/plugins/observability_solution/apm/ftr_e2e/cypress/e2e/transactions_overview/transactions_overview.cy.ts diff --git a/x-pack/plugins/apm/ftr_e2e/cypress/e2e/tutorial/tutorial.cy.ts b/x-pack/plugins/observability_solution/apm/ftr_e2e/cypress/e2e/tutorial/tutorial.cy.ts similarity index 100% rename from x-pack/plugins/apm/ftr_e2e/cypress/e2e/tutorial/tutorial.cy.ts rename to x-pack/plugins/observability_solution/apm/ftr_e2e/cypress/e2e/tutorial/tutorial.cy.ts diff --git a/x-pack/plugins/apm/ftr_e2e/cypress/fixtures/es_archiver/apm_8.0.0_empty/mappings.json b/x-pack/plugins/observability_solution/apm/ftr_e2e/cypress/fixtures/es_archiver/apm_8.0.0_empty/mappings.json similarity index 100% rename from x-pack/plugins/apm/ftr_e2e/cypress/fixtures/es_archiver/apm_8.0.0_empty/mappings.json rename to x-pack/plugins/observability_solution/apm/ftr_e2e/cypress/fixtures/es_archiver/apm_8.0.0_empty/mappings.json diff --git a/x-pack/plugins/apm/ftr_e2e/cypress/fixtures/es_archiver/apm_mappings_only_8.0.0/mappings.json b/x-pack/plugins/observability_solution/apm/ftr_e2e/cypress/fixtures/es_archiver/apm_mappings_only_8.0.0/mappings.json similarity index 100% rename from x-pack/plugins/apm/ftr_e2e/cypress/fixtures/es_archiver/apm_mappings_only_8.0.0/mappings.json rename to x-pack/plugins/observability_solution/apm/ftr_e2e/cypress/fixtures/es_archiver/apm_mappings_only_8.0.0/mappings.json diff --git a/x-pack/plugins/apm/ftr_e2e/cypress/fixtures/es_archiver/metrics_8.0.0/mappings.json b/x-pack/plugins/observability_solution/apm/ftr_e2e/cypress/fixtures/es_archiver/metrics_8.0.0/mappings.json similarity index 100% rename from x-pack/plugins/apm/ftr_e2e/cypress/fixtures/es_archiver/metrics_8.0.0/mappings.json rename to x-pack/plugins/observability_solution/apm/ftr_e2e/cypress/fixtures/es_archiver/metrics_8.0.0/mappings.json diff --git a/x-pack/plugins/apm/ftr_e2e/cypress/fixtures/synthtrace/opbeans.ts b/x-pack/plugins/observability_solution/apm/ftr_e2e/cypress/fixtures/synthtrace/opbeans.ts similarity index 100% rename from x-pack/plugins/apm/ftr_e2e/cypress/fixtures/synthtrace/opbeans.ts rename to x-pack/plugins/observability_solution/apm/ftr_e2e/cypress/fixtures/synthtrace/opbeans.ts diff --git a/x-pack/plugins/apm/ftr_e2e/cypress/support/commands.ts b/x-pack/plugins/observability_solution/apm/ftr_e2e/cypress/support/commands.ts similarity index 100% rename from x-pack/plugins/apm/ftr_e2e/cypress/support/commands.ts rename to x-pack/plugins/observability_solution/apm/ftr_e2e/cypress/support/commands.ts diff --git a/x-pack/plugins/apm/ftr_e2e/cypress/support/e2e.ts b/x-pack/plugins/observability_solution/apm/ftr_e2e/cypress/support/e2e.ts similarity index 100% rename from x-pack/plugins/apm/ftr_e2e/cypress/support/e2e.ts rename to x-pack/plugins/observability_solution/apm/ftr_e2e/cypress/support/e2e.ts diff --git a/x-pack/plugins/apm/ftr_e2e/cypress/support/output_command_timings.ts b/x-pack/plugins/observability_solution/apm/ftr_e2e/cypress/support/output_command_timings.ts similarity index 100% rename from x-pack/plugins/apm/ftr_e2e/cypress/support/output_command_timings.ts rename to x-pack/plugins/observability_solution/apm/ftr_e2e/cypress/support/output_command_timings.ts diff --git a/x-pack/plugins/apm/ftr_e2e/cypress/support/types.d.ts b/x-pack/plugins/observability_solution/apm/ftr_e2e/cypress/support/types.d.ts similarity index 100% rename from x-pack/plugins/apm/ftr_e2e/cypress/support/types.d.ts rename to x-pack/plugins/observability_solution/apm/ftr_e2e/cypress/support/types.d.ts diff --git a/x-pack/plugins/apm/ftr_e2e/cypress_test_runner.ts b/x-pack/plugins/observability_solution/apm/ftr_e2e/cypress_test_runner.ts similarity index 100% rename from x-pack/plugins/apm/ftr_e2e/cypress_test_runner.ts rename to x-pack/plugins/observability_solution/apm/ftr_e2e/cypress_test_runner.ts diff --git a/x-pack/plugins/apm/ftr_e2e/ftr_config.ts b/x-pack/plugins/observability_solution/apm/ftr_e2e/ftr_config.ts similarity index 94% rename from x-pack/plugins/apm/ftr_e2e/ftr_config.ts rename to x-pack/plugins/observability_solution/apm/ftr_e2e/ftr_config.ts index 47e5878e365a9..d0aa9b32a95e7 100644 --- a/x-pack/plugins/apm/ftr_e2e/ftr_config.ts +++ b/x-pack/plugins/observability_solution/apm/ftr_e2e/ftr_config.ts @@ -12,10 +12,10 @@ import { FtrProviderContext } from './ftr_provider_context'; async function ftrConfig({ readConfigFile }: FtrConfigProviderContext) { const kibanaCommonTestsConfig = await readConfigFile( - require.resolve('../../../../test/common/config.js') + require.resolve('../../../../../test/common/config.js') ); const xpackFunctionalTestsConfig = await readConfigFile( - require.resolve('../../../test/functional/config.base.js') + require.resolve('../../../../test/functional/config.base.js') ); return { diff --git a/x-pack/plugins/apm/ftr_e2e/ftr_provider_context.d.ts b/x-pack/plugins/observability_solution/apm/ftr_e2e/ftr_provider_context.d.ts similarity index 100% rename from x-pack/plugins/apm/ftr_e2e/ftr_provider_context.d.ts rename to x-pack/plugins/observability_solution/apm/ftr_e2e/ftr_provider_context.d.ts diff --git a/x-pack/plugins/apm/ftr_e2e/setup_cypress_node_events.ts b/x-pack/plugins/observability_solution/apm/ftr_e2e/setup_cypress_node_events.ts similarity index 100% rename from x-pack/plugins/apm/ftr_e2e/setup_cypress_node_events.ts rename to x-pack/plugins/observability_solution/apm/ftr_e2e/setup_cypress_node_events.ts diff --git a/x-pack/plugins/apm/ftr_e2e/synthtrace.ts b/x-pack/plugins/observability_solution/apm/ftr_e2e/synthtrace.ts similarity index 100% rename from x-pack/plugins/apm/ftr_e2e/synthtrace.ts rename to x-pack/plugins/observability_solution/apm/ftr_e2e/synthtrace.ts diff --git a/x-pack/plugins/apm/ftr_e2e/tsconfig.json b/x-pack/plugins/observability_solution/apm/ftr_e2e/tsconfig.json similarity index 50% rename from x-pack/plugins/apm/ftr_e2e/tsconfig.json rename to x-pack/plugins/observability_solution/apm/ftr_e2e/tsconfig.json index b95f24a54d4fb..4c2eb87feda9b 100644 --- a/x-pack/plugins/apm/ftr_e2e/tsconfig.json +++ b/x-pack/plugins/observability_solution/apm/ftr_e2e/tsconfig.json @@ -1,29 +1,20 @@ { - "extends": "../../../../tsconfig.base.json", - "include": [ - "**/*" - ], - "exclude": [ - "tmp", - "target/**/*" - ], + "extends": "../../../../../tsconfig.base.json", + "include": ["**/*"], + "exclude": ["tmp", "target/**/*"], "compilerOptions": { "outDir": "target/types", - "types": [ - "cypress", - "node", - "cypress-real-events" - ], + "types": ["cypress", "node", "cypress-real-events"], "isolatedModules": false }, "kbn_references": [ - { "path": "../../../test/tsconfig.json" }, { "path": "../../../../test/tsconfig.json" }, + { "path": "../../../../../test/tsconfig.json" }, "@kbn/test", "@kbn/apm-synthtrace", "@kbn/apm-synthtrace-client", "@kbn/dev-utils", "@kbn/axe-config", - "@kbn/cypress-config", + "@kbn/cypress-config" ] } diff --git a/x-pack/plugins/apm/jest.config.js b/x-pack/plugins/observability_solution/apm/jest.config.js similarity index 50% rename from x-pack/plugins/apm/jest.config.js rename to x-pack/plugins/observability_solution/apm/jest.config.js index 5d15dd048d4f1..8e02c46d7ecde 100644 --- a/x-pack/plugins/apm/jest.config.js +++ b/x-pack/plugins/observability_solution/apm/jest.config.js @@ -9,13 +9,16 @@ const path = require('path'); module.exports = { preset: '@kbn/test', - rootDir: path.resolve(__dirname, '../../..'), - roots: ['/x-pack/plugins/apm'], - setupFiles: ['/x-pack/plugins/apm/.storybook/jest_setup.js'], - coverageDirectory: '/target/kibana-coverage/jest/x-pack/plugins/apm', + 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/apm/{common,public,server}/**/*.{js,ts,tsx}', + '/x-pack/plugins/observability_solution/apm/{common,public,server}/**/*.{js,ts,tsx}', '!/**/*.stories.*', ], }; diff --git a/x-pack/plugins/apm/kibana.jsonc b/x-pack/plugins/observability_solution/apm/kibana.jsonc similarity index 98% rename from x-pack/plugins/apm/kibana.jsonc rename to x-pack/plugins/observability_solution/apm/kibana.jsonc index e563bc9895577..56d7c094ee261 100644 --- a/x-pack/plugins/apm/kibana.jsonc +++ b/x-pack/plugins/observability_solution/apm/kibana.jsonc @@ -35,7 +35,6 @@ "optionalPlugins": [ "actions", "alerting", - "cases", "charts", "cloud", "discover", diff --git a/x-pack/plugins/apm/public/application/index.tsx b/x-pack/plugins/observability_solution/apm/public/application/index.tsx similarity index 100% rename from x-pack/plugins/apm/public/application/index.tsx rename to x-pack/plugins/observability_solution/apm/public/application/index.tsx diff --git a/x-pack/plugins/apm/public/assets/apm.png b/x-pack/plugins/observability_solution/apm/public/assets/apm.png similarity index 100% rename from x-pack/plugins/apm/public/assets/apm.png rename to x-pack/plugins/observability_solution/apm/public/assets/apm.png diff --git a/x-pack/plugins/apm/public/assets/illustration_integrations_darkmode.svg b/x-pack/plugins/observability_solution/apm/public/assets/illustration_integrations_darkmode.svg similarity index 100% rename from x-pack/plugins/apm/public/assets/illustration_integrations_darkmode.svg rename to x-pack/plugins/observability_solution/apm/public/assets/illustration_integrations_darkmode.svg diff --git a/x-pack/plugins/apm/public/assets/illustration_integrations_lightmode.svg b/x-pack/plugins/observability_solution/apm/public/assets/illustration_integrations_lightmode.svg similarity index 100% rename from x-pack/plugins/apm/public/assets/illustration_integrations_lightmode.svg rename to x-pack/plugins/observability_solution/apm/public/assets/illustration_integrations_lightmode.svg diff --git a/x-pack/plugins/apm/public/assets/no_results_dark.svg b/x-pack/plugins/observability_solution/apm/public/assets/no_results_dark.svg similarity index 100% rename from x-pack/plugins/apm/public/assets/no_results_dark.svg rename to x-pack/plugins/observability_solution/apm/public/assets/no_results_dark.svg diff --git a/x-pack/plugins/apm/public/assets/no_results_light.svg b/x-pack/plugins/observability_solution/apm/public/assets/no_results_light.svg similarity index 100% rename from x-pack/plugins/apm/public/assets/no_results_light.svg rename to x-pack/plugins/observability_solution/apm/public/assets/no_results_light.svg diff --git a/x-pack/plugins/apm/public/assistant_functions/get_apm_timeseries.tsx b/x-pack/plugins/observability_solution/apm/public/assistant_functions/get_apm_timeseries.tsx similarity index 100% rename from x-pack/plugins/apm/public/assistant_functions/get_apm_timeseries.tsx rename to x-pack/plugins/observability_solution/apm/public/assistant_functions/get_apm_timeseries.tsx diff --git a/x-pack/plugins/apm/public/assistant_functions/index.ts b/x-pack/plugins/observability_solution/apm/public/assistant_functions/index.ts similarity index 100% rename from x-pack/plugins/apm/public/assistant_functions/index.ts rename to x-pack/plugins/observability_solution/apm/public/assistant_functions/index.ts diff --git a/x-pack/plugins/apm/public/components/alerting/rule_types/anomaly_rule_type/index.tsx b/x-pack/plugins/observability_solution/apm/public/components/alerting/rule_types/anomaly_rule_type/index.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/alerting/rule_types/anomaly_rule_type/index.tsx rename to x-pack/plugins/observability_solution/apm/public/components/alerting/rule_types/anomaly_rule_type/index.tsx diff --git a/x-pack/plugins/apm/public/components/alerting/rule_types/anomaly_rule_type/select_anomaly_detector.tsx b/x-pack/plugins/observability_solution/apm/public/components/alerting/rule_types/anomaly_rule_type/select_anomaly_detector.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/alerting/rule_types/anomaly_rule_type/select_anomaly_detector.tsx rename to x-pack/plugins/observability_solution/apm/public/components/alerting/rule_types/anomaly_rule_type/select_anomaly_detector.tsx diff --git a/x-pack/plugins/apm/public/components/alerting/rule_types/anomaly_rule_type/select_anomaly_severity.test.tsx b/x-pack/plugins/observability_solution/apm/public/components/alerting/rule_types/anomaly_rule_type/select_anomaly_severity.test.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/alerting/rule_types/anomaly_rule_type/select_anomaly_severity.test.tsx rename to x-pack/plugins/observability_solution/apm/public/components/alerting/rule_types/anomaly_rule_type/select_anomaly_severity.test.tsx diff --git a/x-pack/plugins/apm/public/components/alerting/rule_types/anomaly_rule_type/select_anomaly_severity.tsx b/x-pack/plugins/observability_solution/apm/public/components/alerting/rule_types/anomaly_rule_type/select_anomaly_severity.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/alerting/rule_types/anomaly_rule_type/select_anomaly_severity.tsx rename to x-pack/plugins/observability_solution/apm/public/components/alerting/rule_types/anomaly_rule_type/select_anomaly_severity.tsx diff --git a/x-pack/plugins/apm/public/components/alerting/rule_types/error_count_rule_type/index.stories.tsx b/x-pack/plugins/observability_solution/apm/public/components/alerting/rule_types/error_count_rule_type/index.stories.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/alerting/rule_types/error_count_rule_type/index.stories.tsx rename to x-pack/plugins/observability_solution/apm/public/components/alerting/rule_types/error_count_rule_type/index.stories.tsx diff --git a/x-pack/plugins/apm/public/components/alerting/rule_types/error_count_rule_type/index.test.tsx b/x-pack/plugins/observability_solution/apm/public/components/alerting/rule_types/error_count_rule_type/index.test.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/alerting/rule_types/error_count_rule_type/index.test.tsx rename to x-pack/plugins/observability_solution/apm/public/components/alerting/rule_types/error_count_rule_type/index.test.tsx diff --git a/x-pack/plugins/apm/public/components/alerting/rule_types/error_count_rule_type/index.tsx b/x-pack/plugins/observability_solution/apm/public/components/alerting/rule_types/error_count_rule_type/index.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/alerting/rule_types/error_count_rule_type/index.tsx rename to x-pack/plugins/observability_solution/apm/public/components/alerting/rule_types/error_count_rule_type/index.tsx diff --git a/x-pack/plugins/apm/public/components/alerting/rule_types/register_apm_rule_types.ts b/x-pack/plugins/observability_solution/apm/public/components/alerting/rule_types/register_apm_rule_types.ts similarity index 100% rename from x-pack/plugins/apm/public/components/alerting/rule_types/register_apm_rule_types.ts rename to x-pack/plugins/observability_solution/apm/public/components/alerting/rule_types/register_apm_rule_types.ts diff --git a/x-pack/plugins/apm/public/components/alerting/rule_types/transaction_duration_rule_type/index.stories.tsx b/x-pack/plugins/observability_solution/apm/public/components/alerting/rule_types/transaction_duration_rule_type/index.stories.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/alerting/rule_types/transaction_duration_rule_type/index.stories.tsx rename to x-pack/plugins/observability_solution/apm/public/components/alerting/rule_types/transaction_duration_rule_type/index.stories.tsx diff --git a/x-pack/plugins/apm/public/components/alerting/rule_types/transaction_duration_rule_type/index.tsx b/x-pack/plugins/observability_solution/apm/public/components/alerting/rule_types/transaction_duration_rule_type/index.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/alerting/rule_types/transaction_duration_rule_type/index.tsx rename to x-pack/plugins/observability_solution/apm/public/components/alerting/rule_types/transaction_duration_rule_type/index.tsx diff --git a/x-pack/plugins/apm/public/components/alerting/rule_types/transaction_error_rate_rule_type/index.stories.tsx b/x-pack/plugins/observability_solution/apm/public/components/alerting/rule_types/transaction_error_rate_rule_type/index.stories.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/alerting/rule_types/transaction_error_rate_rule_type/index.stories.tsx rename to x-pack/plugins/observability_solution/apm/public/components/alerting/rule_types/transaction_error_rate_rule_type/index.stories.tsx diff --git a/x-pack/plugins/apm/public/components/alerting/rule_types/transaction_error_rate_rule_type/index.tsx b/x-pack/plugins/observability_solution/apm/public/components/alerting/rule_types/transaction_error_rate_rule_type/index.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/alerting/rule_types/transaction_error_rate_rule_type/index.tsx rename to x-pack/plugins/observability_solution/apm/public/components/alerting/rule_types/transaction_error_rate_rule_type/index.tsx diff --git a/x-pack/plugins/apm/public/components/alerting/ui_components/alert_details_app_section/constants.ts b/x-pack/plugins/observability_solution/apm/public/components/alerting/ui_components/alert_details_app_section/constants.ts similarity index 100% rename from x-pack/plugins/apm/public/components/alerting/ui_components/alert_details_app_section/constants.ts rename to x-pack/plugins/observability_solution/apm/public/components/alerting/ui_components/alert_details_app_section/constants.ts diff --git a/x-pack/plugins/apm/public/components/alerting/ui_components/alert_details_app_section/failed_transaction_chart.tsx b/x-pack/plugins/observability_solution/apm/public/components/alerting/ui_components/alert_details_app_section/failed_transaction_chart.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/alerting/ui_components/alert_details_app_section/failed_transaction_chart.tsx rename to x-pack/plugins/observability_solution/apm/public/components/alerting/ui_components/alert_details_app_section/failed_transaction_chart.tsx diff --git a/x-pack/plugins/apm/public/components/alerting/ui_components/alert_details_app_section/helpers.ts b/x-pack/plugins/observability_solution/apm/public/components/alerting/ui_components/alert_details_app_section/helpers.ts similarity index 100% rename from x-pack/plugins/apm/public/components/alerting/ui_components/alert_details_app_section/helpers.ts rename to x-pack/plugins/observability_solution/apm/public/components/alerting/ui_components/alert_details_app_section/helpers.ts diff --git a/x-pack/plugins/apm/public/components/alerting/ui_components/alert_details_app_section/index.tsx b/x-pack/plugins/observability_solution/apm/public/components/alerting/ui_components/alert_details_app_section/index.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/alerting/ui_components/alert_details_app_section/index.tsx rename to x-pack/plugins/observability_solution/apm/public/components/alerting/ui_components/alert_details_app_section/index.tsx diff --git a/x-pack/plugins/apm/public/components/alerting/ui_components/alert_details_app_section/latency_alerts_history_chart.tsx b/x-pack/plugins/observability_solution/apm/public/components/alerting/ui_components/alert_details_app_section/latency_alerts_history_chart.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/alerting/ui_components/alert_details_app_section/latency_alerts_history_chart.tsx rename to x-pack/plugins/observability_solution/apm/public/components/alerting/ui_components/alert_details_app_section/latency_alerts_history_chart.tsx diff --git a/x-pack/plugins/apm/public/components/alerting/ui_components/alert_details_app_section/latency_chart.tsx b/x-pack/plugins/observability_solution/apm/public/components/alerting/ui_components/alert_details_app_section/latency_chart.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/alerting/ui_components/alert_details_app_section/latency_chart.tsx rename to x-pack/plugins/observability_solution/apm/public/components/alerting/ui_components/alert_details_app_section/latency_chart.tsx diff --git a/x-pack/plugins/apm/public/components/alerting/ui_components/alert_details_app_section/throughput_chart.tsx b/x-pack/plugins/observability_solution/apm/public/components/alerting/ui_components/alert_details_app_section/throughput_chart.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/alerting/ui_components/alert_details_app_section/throughput_chart.tsx rename to x-pack/plugins/observability_solution/apm/public/components/alerting/ui_components/alert_details_app_section/throughput_chart.tsx diff --git a/x-pack/plugins/apm/public/components/alerting/ui_components/alert_details_app_section/types.ts b/x-pack/plugins/observability_solution/apm/public/components/alerting/ui_components/alert_details_app_section/types.ts similarity index 100% rename from x-pack/plugins/apm/public/components/alerting/ui_components/alert_details_app_section/types.ts rename to x-pack/plugins/observability_solution/apm/public/components/alerting/ui_components/alert_details_app_section/types.ts diff --git a/x-pack/plugins/apm/public/components/alerting/ui_components/alerting_flyout/index.tsx b/x-pack/plugins/observability_solution/apm/public/components/alerting/ui_components/alerting_flyout/index.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/alerting/ui_components/alerting_flyout/index.tsx rename to x-pack/plugins/observability_solution/apm/public/components/alerting/ui_components/alerting_flyout/index.tsx diff --git a/x-pack/plugins/apm/public/components/alerting/ui_components/apm_rule_group_by.tsx b/x-pack/plugins/observability_solution/apm/public/components/alerting/ui_components/apm_rule_group_by.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/alerting/ui_components/apm_rule_group_by.tsx rename to x-pack/plugins/observability_solution/apm/public/components/alerting/ui_components/apm_rule_group_by.tsx diff --git a/x-pack/plugins/apm/public/components/alerting/ui_components/apm_rule_kql_filter.tsx b/x-pack/plugins/observability_solution/apm/public/components/alerting/ui_components/apm_rule_kql_filter.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/alerting/ui_components/apm_rule_kql_filter.tsx rename to x-pack/plugins/observability_solution/apm/public/components/alerting/ui_components/apm_rule_kql_filter.tsx diff --git a/x-pack/plugins/apm/public/components/alerting/ui_components/apm_rule_params_container/index.test.tsx b/x-pack/plugins/observability_solution/apm/public/components/alerting/ui_components/apm_rule_params_container/index.test.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/alerting/ui_components/apm_rule_params_container/index.test.tsx rename to x-pack/plugins/observability_solution/apm/public/components/alerting/ui_components/apm_rule_params_container/index.test.tsx diff --git a/x-pack/plugins/apm/public/components/alerting/ui_components/apm_rule_params_container/index.tsx b/x-pack/plugins/observability_solution/apm/public/components/alerting/ui_components/apm_rule_params_container/index.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/alerting/ui_components/apm_rule_params_container/index.tsx rename to x-pack/plugins/observability_solution/apm/public/components/alerting/ui_components/apm_rule_params_container/index.tsx diff --git a/x-pack/plugins/apm/public/components/alerting/ui_components/apm_rule_unified_search_bar.tsx b/x-pack/plugins/observability_solution/apm/public/components/alerting/ui_components/apm_rule_unified_search_bar.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/alerting/ui_components/apm_rule_unified_search_bar.tsx rename to x-pack/plugins/observability_solution/apm/public/components/alerting/ui_components/apm_rule_unified_search_bar.tsx diff --git a/x-pack/plugins/apm/public/components/alerting/ui_components/chart_preview/chart_preview_helper.tsx b/x-pack/plugins/observability_solution/apm/public/components/alerting/ui_components/chart_preview/chart_preview_helper.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/alerting/ui_components/chart_preview/chart_preview_helper.tsx rename to x-pack/plugins/observability_solution/apm/public/components/alerting/ui_components/chart_preview/chart_preview_helper.tsx diff --git a/x-pack/plugins/apm/public/components/alerting/ui_components/chart_preview/index.tsx b/x-pack/plugins/observability_solution/apm/public/components/alerting/ui_components/chart_preview/index.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/alerting/ui_components/chart_preview/index.tsx rename to x-pack/plugins/observability_solution/apm/public/components/alerting/ui_components/chart_preview/index.tsx diff --git a/x-pack/plugins/apm/public/components/alerting/ui_components/popover_expression.tsx b/x-pack/plugins/observability_solution/apm/public/components/alerting/ui_components/popover_expression.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/alerting/ui_components/popover_expression.tsx rename to x-pack/plugins/observability_solution/apm/public/components/alerting/ui_components/popover_expression.tsx diff --git a/x-pack/plugins/apm/public/components/alerting/utils/fields.test.tsx b/x-pack/plugins/observability_solution/apm/public/components/alerting/utils/fields.test.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/alerting/utils/fields.test.tsx rename to x-pack/plugins/observability_solution/apm/public/components/alerting/utils/fields.test.tsx diff --git a/x-pack/plugins/apm/public/components/alerting/utils/fields.tsx b/x-pack/plugins/observability_solution/apm/public/components/alerting/utils/fields.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/alerting/utils/fields.tsx rename to x-pack/plugins/observability_solution/apm/public/components/alerting/utils/fields.tsx diff --git a/x-pack/plugins/apm/public/components/alerting/utils/get_alerting_capabilities.test.ts b/x-pack/plugins/observability_solution/apm/public/components/alerting/utils/get_alerting_capabilities.test.ts similarity index 100% rename from x-pack/plugins/apm/public/components/alerting/utils/get_alerting_capabilities.test.ts rename to x-pack/plugins/observability_solution/apm/public/components/alerting/utils/get_alerting_capabilities.test.ts diff --git a/x-pack/plugins/apm/public/components/alerting/utils/get_alerting_capabilities.ts b/x-pack/plugins/observability_solution/apm/public/components/alerting/utils/get_alerting_capabilities.ts similarity index 100% rename from x-pack/plugins/apm/public/components/alerting/utils/get_alerting_capabilities.ts rename to x-pack/plugins/observability_solution/apm/public/components/alerting/utils/get_alerting_capabilities.ts diff --git a/x-pack/plugins/apm/public/components/alerting/utils/get_initial_alert_values.test.ts b/x-pack/plugins/observability_solution/apm/public/components/alerting/utils/get_initial_alert_values.test.ts similarity index 100% rename from x-pack/plugins/apm/public/components/alerting/utils/get_initial_alert_values.test.ts rename to x-pack/plugins/observability_solution/apm/public/components/alerting/utils/get_initial_alert_values.test.ts diff --git a/x-pack/plugins/apm/public/components/alerting/utils/get_initial_alert_values.ts b/x-pack/plugins/observability_solution/apm/public/components/alerting/utils/get_initial_alert_values.ts similarity index 100% rename from x-pack/plugins/apm/public/components/alerting/utils/get_initial_alert_values.ts rename to x-pack/plugins/observability_solution/apm/public/components/alerting/utils/get_initial_alert_values.ts diff --git a/x-pack/plugins/apm/public/components/alerting/utils/helper.ts b/x-pack/plugins/observability_solution/apm/public/components/alerting/utils/helper.ts similarity index 100% rename from x-pack/plugins/apm/public/components/alerting/utils/helper.ts rename to x-pack/plugins/observability_solution/apm/public/components/alerting/utils/helper.ts diff --git a/x-pack/plugins/apm/public/components/app/alerts_overview/index.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/alerts_overview/index.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/alerts_overview/index.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/alerts_overview/index.tsx diff --git a/x-pack/plugins/apm/public/components/app/breadcrumb/index.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/breadcrumb/index.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/breadcrumb/index.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/breadcrumb/index.tsx diff --git a/x-pack/plugins/apm/public/components/app/correlations/chart_title_tool_tip.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/correlations/chart_title_tool_tip.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/correlations/chart_title_tool_tip.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/correlations/chart_title_tool_tip.tsx diff --git a/x-pack/plugins/apm/public/components/app/correlations/context_popover/field_stats_popover.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/correlations/context_popover/field_stats_popover.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/correlations/context_popover/field_stats_popover.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/correlations/context_popover/field_stats_popover.tsx diff --git a/x-pack/plugins/apm/public/components/app/correlations/context_popover/index.ts b/x-pack/plugins/observability_solution/apm/public/components/app/correlations/context_popover/index.ts similarity index 100% rename from x-pack/plugins/apm/public/components/app/correlations/context_popover/index.ts rename to x-pack/plugins/observability_solution/apm/public/components/app/correlations/context_popover/index.ts diff --git a/x-pack/plugins/apm/public/components/app/correlations/correlations_table.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/correlations/correlations_table.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/correlations/correlations_table.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/correlations/correlations_table.tsx diff --git a/x-pack/plugins/apm/public/components/app/correlations/cross_cluster_search_warning.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/correlations/cross_cluster_search_warning.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/correlations/cross_cluster_search_warning.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/correlations/cross_cluster_search_warning.tsx diff --git a/x-pack/plugins/apm/public/components/app/correlations/empty_state_prompt.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/correlations/empty_state_prompt.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/correlations/empty_state_prompt.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/correlations/empty_state_prompt.tsx diff --git a/x-pack/plugins/apm/public/components/app/correlations/failed_transactions_correlations.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/correlations/failed_transactions_correlations.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/correlations/failed_transactions_correlations.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/correlations/failed_transactions_correlations.tsx diff --git a/x-pack/plugins/apm/public/components/app/correlations/failed_transactions_correlations_help_popover.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/correlations/failed_transactions_correlations_help_popover.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/correlations/failed_transactions_correlations_help_popover.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/correlations/failed_transactions_correlations_help_popover.tsx diff --git a/x-pack/plugins/apm/public/components/app/correlations/get_transaction_distribution_chart_data.ts b/x-pack/plugins/observability_solution/apm/public/components/app/correlations/get_transaction_distribution_chart_data.ts similarity index 100% rename from x-pack/plugins/apm/public/components/app/correlations/get_transaction_distribution_chart_data.ts rename to x-pack/plugins/observability_solution/apm/public/components/app/correlations/get_transaction_distribution_chart_data.ts diff --git a/x-pack/plugins/apm/public/components/app/correlations/latency_correlations.test.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/correlations/latency_correlations.test.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/correlations/latency_correlations.test.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/correlations/latency_correlations.test.tsx diff --git a/x-pack/plugins/apm/public/components/app/correlations/latency_correlations.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/correlations/latency_correlations.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/correlations/latency_correlations.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/correlations/latency_correlations.tsx diff --git a/x-pack/plugins/apm/public/components/app/correlations/latency_correlations_help_popover.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/correlations/latency_correlations_help_popover.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/correlations/latency_correlations_help_popover.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/correlations/latency_correlations_help_popover.tsx diff --git a/x-pack/plugins/apm/public/components/app/correlations/progress_controls.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/correlations/progress_controls.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/correlations/progress_controls.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/correlations/progress_controls.tsx diff --git a/x-pack/plugins/apm/public/components/app/correlations/use_failed_transactions_correlations.test.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/correlations/use_failed_transactions_correlations.test.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/correlations/use_failed_transactions_correlations.test.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/correlations/use_failed_transactions_correlations.test.tsx diff --git a/x-pack/plugins/apm/public/components/app/correlations/use_failed_transactions_correlations.ts b/x-pack/plugins/observability_solution/apm/public/components/app/correlations/use_failed_transactions_correlations.ts similarity index 100% rename from x-pack/plugins/apm/public/components/app/correlations/use_failed_transactions_correlations.ts rename to x-pack/plugins/observability_solution/apm/public/components/app/correlations/use_failed_transactions_correlations.ts diff --git a/x-pack/plugins/apm/public/components/app/correlations/use_fetch_params.ts b/x-pack/plugins/observability_solution/apm/public/components/app/correlations/use_fetch_params.ts similarity index 100% rename from x-pack/plugins/apm/public/components/app/correlations/use_fetch_params.ts rename to x-pack/plugins/observability_solution/apm/public/components/app/correlations/use_fetch_params.ts diff --git a/x-pack/plugins/apm/public/components/app/correlations/use_latency_correlations.test.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/correlations/use_latency_correlations.test.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/correlations/use_latency_correlations.test.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/correlations/use_latency_correlations.test.tsx diff --git a/x-pack/plugins/apm/public/components/app/correlations/use_latency_correlations.ts b/x-pack/plugins/observability_solution/apm/public/components/app/correlations/use_latency_correlations.ts similarity index 100% rename from x-pack/plugins/apm/public/components/app/correlations/use_latency_correlations.ts rename to x-pack/plugins/observability_solution/apm/public/components/app/correlations/use_latency_correlations.ts diff --git a/x-pack/plugins/apm/public/components/app/correlations/utils/analysis_hook_utils.ts b/x-pack/plugins/observability_solution/apm/public/components/app/correlations/utils/analysis_hook_utils.ts similarity index 100% rename from x-pack/plugins/apm/public/components/app/correlations/utils/analysis_hook_utils.ts rename to x-pack/plugins/observability_solution/apm/public/components/app/correlations/utils/analysis_hook_utils.ts diff --git a/x-pack/plugins/apm/public/components/app/correlations/utils/get_failed_transactions_correlation_impact_label.test.ts b/x-pack/plugins/observability_solution/apm/public/components/app/correlations/utils/get_failed_transactions_correlation_impact_label.test.ts similarity index 100% rename from x-pack/plugins/apm/public/components/app/correlations/utils/get_failed_transactions_correlation_impact_label.test.ts rename to x-pack/plugins/observability_solution/apm/public/components/app/correlations/utils/get_failed_transactions_correlation_impact_label.test.ts diff --git a/x-pack/plugins/apm/public/components/app/correlations/utils/get_failed_transactions_correlation_impact_label.ts b/x-pack/plugins/observability_solution/apm/public/components/app/correlations/utils/get_failed_transactions_correlation_impact_label.ts similarity index 100% rename from x-pack/plugins/apm/public/components/app/correlations/utils/get_failed_transactions_correlation_impact_label.ts rename to x-pack/plugins/observability_solution/apm/public/components/app/correlations/utils/get_failed_transactions_correlation_impact_label.ts diff --git a/x-pack/plugins/apm/public/components/app/correlations/utils/get_overall_histogram.test.ts b/x-pack/plugins/observability_solution/apm/public/components/app/correlations/utils/get_overall_histogram.test.ts similarity index 100% rename from x-pack/plugins/apm/public/components/app/correlations/utils/get_overall_histogram.test.ts rename to x-pack/plugins/observability_solution/apm/public/components/app/correlations/utils/get_overall_histogram.test.ts diff --git a/x-pack/plugins/apm/public/components/app/correlations/utils/get_overall_histogram.ts b/x-pack/plugins/observability_solution/apm/public/components/app/correlations/utils/get_overall_histogram.ts similarity index 100% rename from x-pack/plugins/apm/public/components/app/correlations/utils/get_overall_histogram.ts rename to x-pack/plugins/observability_solution/apm/public/components/app/correlations/utils/get_overall_histogram.ts diff --git a/x-pack/plugins/apm/public/components/app/correlations/utils/is_error_message.ts b/x-pack/plugins/observability_solution/apm/public/components/app/correlations/utils/is_error_message.ts similarity index 100% rename from x-pack/plugins/apm/public/components/app/correlations/utils/is_error_message.ts rename to x-pack/plugins/observability_solution/apm/public/components/app/correlations/utils/is_error_message.ts diff --git a/x-pack/plugins/apm/public/components/app/dependencies_inventory/dependencies_inventory_table/index.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/dependencies_inventory/dependencies_inventory_table/index.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/dependencies_inventory/dependencies_inventory_table/index.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/dependencies_inventory/dependencies_inventory_table/index.tsx diff --git a/x-pack/plugins/apm/public/components/app/dependencies_inventory/index.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/dependencies_inventory/index.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/dependencies_inventory/index.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/dependencies_inventory/index.tsx diff --git a/x-pack/plugins/apm/public/components/app/dependency_detail_operations/dependency_detail_operations_list/index.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/dependency_detail_operations/dependency_detail_operations_list/index.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/dependency_detail_operations/dependency_detail_operations_list/index.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/dependency_detail_operations/dependency_detail_operations_list/index.tsx diff --git a/x-pack/plugins/apm/public/components/app/dependency_detail_operations/index.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/dependency_detail_operations/index.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/dependency_detail_operations/index.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/dependency_detail_operations/index.tsx diff --git a/x-pack/plugins/apm/public/components/app/dependency_detail_overview/dependencies_detail_table.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/dependency_detail_overview/dependencies_detail_table.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/dependency_detail_overview/dependencies_detail_table.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/dependency_detail_overview/dependencies_detail_table.tsx diff --git a/x-pack/plugins/apm/public/components/app/dependency_detail_overview/index.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/dependency_detail_overview/index.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/dependency_detail_overview/index.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/dependency_detail_overview/index.tsx diff --git a/x-pack/plugins/apm/public/components/app/dependency_detail_view/index.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/dependency_detail_view/index.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/dependency_detail_view/index.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/dependency_detail_view/index.tsx diff --git a/x-pack/plugins/apm/public/components/app/dependency_operation_detail_view/dependency_operation_detail_link.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/dependency_operation_detail_view/dependency_operation_detail_link.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/dependency_operation_detail_view/dependency_operation_detail_link.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/dependency_operation_detail_view/dependency_operation_detail_link.tsx diff --git a/x-pack/plugins/apm/public/components/app/dependency_operation_detail_view/dependency_operation_distribution_chart.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/dependency_operation_detail_view/dependency_operation_distribution_chart.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/dependency_operation_detail_view/dependency_operation_distribution_chart.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/dependency_operation_detail_view/dependency_operation_distribution_chart.tsx diff --git a/x-pack/plugins/apm/public/components/app/dependency_operation_detail_view/detail_view_header/index.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/dependency_operation_detail_view/detail_view_header/index.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/dependency_operation_detail_view/detail_view_header/index.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/dependency_operation_detail_view/detail_view_header/index.tsx diff --git a/x-pack/plugins/apm/public/components/app/dependency_operation_detail_view/index.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/dependency_operation_detail_view/index.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/dependency_operation_detail_view/index.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/dependency_operation_detail_view/index.tsx diff --git a/x-pack/plugins/apm/public/components/app/dependency_operation_detail_view/maybe_redirect_to_available_span_sample.test.ts b/x-pack/plugins/observability_solution/apm/public/components/app/dependency_operation_detail_view/maybe_redirect_to_available_span_sample.test.ts similarity index 100% rename from x-pack/plugins/apm/public/components/app/dependency_operation_detail_view/maybe_redirect_to_available_span_sample.test.ts rename to x-pack/plugins/observability_solution/apm/public/components/app/dependency_operation_detail_view/maybe_redirect_to_available_span_sample.test.ts diff --git a/x-pack/plugins/apm/public/components/app/dependency_operation_detail_view/maybe_redirect_to_available_span_sample.ts b/x-pack/plugins/observability_solution/apm/public/components/app/dependency_operation_detail_view/maybe_redirect_to_available_span_sample.ts similarity index 100% rename from x-pack/plugins/apm/public/components/app/dependency_operation_detail_view/maybe_redirect_to_available_span_sample.ts rename to x-pack/plugins/observability_solution/apm/public/components/app/dependency_operation_detail_view/maybe_redirect_to_available_span_sample.ts diff --git a/x-pack/plugins/apm/public/components/app/diagnostics/apm_documents_tab.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/diagnostics/apm_documents_tab.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/diagnostics/apm_documents_tab.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/diagnostics/apm_documents_tab.tsx diff --git a/x-pack/plugins/apm/public/components/app/diagnostics/context/diagnostics_context.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/diagnostics/context/diagnostics_context.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/diagnostics/context/diagnostics_context.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/diagnostics/context/diagnostics_context.tsx diff --git a/x-pack/plugins/apm/public/components/app/diagnostics/context/use_diagnostics.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/diagnostics/context/use_diagnostics.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/diagnostics/context/use_diagnostics.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/diagnostics/context/use_diagnostics.tsx diff --git a/x-pack/plugins/apm/public/components/app/diagnostics/data_stream_tab.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/diagnostics/data_stream_tab.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/diagnostics/data_stream_tab.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/diagnostics/data_stream_tab.tsx diff --git a/x-pack/plugins/apm/public/components/app/diagnostics/import_export_tab.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/diagnostics/import_export_tab.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/diagnostics/import_export_tab.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/diagnostics/import_export_tab.tsx diff --git a/x-pack/plugins/apm/public/components/app/diagnostics/index.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/diagnostics/index.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/diagnostics/index.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/diagnostics/index.tsx diff --git a/x-pack/plugins/apm/public/components/app/diagnostics/index_pattern_settings_tab.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/diagnostics/index_pattern_settings_tab.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/diagnostics/index_pattern_settings_tab.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/diagnostics/index_pattern_settings_tab.tsx diff --git a/x-pack/plugins/apm/public/components/app/diagnostics/index_templates_tab.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/diagnostics/index_templates_tab.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/diagnostics/index_templates_tab.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/diagnostics/index_templates_tab.tsx diff --git a/x-pack/plugins/apm/public/components/app/diagnostics/indices_tab.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/diagnostics/indices_tab.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/diagnostics/indices_tab.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/diagnostics/indices_tab.tsx diff --git a/x-pack/plugins/apm/public/components/app/diagnostics/summary_tab/apm_integration_package_status.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/diagnostics/summary_tab/apm_integration_package_status.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/diagnostics/summary_tab/apm_integration_package_status.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/diagnostics/summary_tab/apm_integration_package_status.tsx diff --git a/x-pack/plugins/apm/public/components/app/diagnostics/summary_tab/data_streams_status.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/diagnostics/summary_tab/data_streams_status.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/diagnostics/summary_tab/data_streams_status.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/diagnostics/summary_tab/data_streams_status.tsx diff --git a/x-pack/plugins/apm/public/components/app/diagnostics/summary_tab/index.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/diagnostics/summary_tab/index.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/diagnostics/summary_tab/index.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/diagnostics/summary_tab/index.tsx diff --git a/x-pack/plugins/apm/public/components/app/diagnostics/summary_tab/index_templates_status.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/diagnostics/summary_tab/index_templates_status.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/diagnostics/summary_tab/index_templates_status.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/diagnostics/summary_tab/index_templates_status.tsx diff --git a/x-pack/plugins/apm/public/components/app/diagnostics/summary_tab/indicies_status.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/diagnostics/summary_tab/indicies_status.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/diagnostics/summary_tab/indicies_status.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/diagnostics/summary_tab/indicies_status.tsx diff --git a/x-pack/plugins/apm/public/components/app/diagnostics/summary_tab/tab_status.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/diagnostics/summary_tab/tab_status.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/diagnostics/summary_tab/tab_status.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/diagnostics/summary_tab/tab_status.tsx diff --git a/x-pack/plugins/apm/public/components/app/error_group_details/distribution/index.stories.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/error_group_details/distribution/index.stories.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/error_group_details/distribution/index.stories.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/error_group_details/distribution/index.stories.tsx diff --git a/x-pack/plugins/apm/public/components/app/error_group_details/distribution/index.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/error_group_details/distribution/index.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/error_group_details/distribution/index.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/error_group_details/distribution/index.tsx diff --git a/x-pack/plugins/apm/public/components/app/error_group_details/error_sampler/error_sample_contextual_insight.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/error_group_details/error_sampler/error_sample_contextual_insight.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/error_group_details/error_sampler/error_sample_contextual_insight.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/error_group_details/error_sampler/error_sample_contextual_insight.tsx diff --git a/x-pack/plugins/apm/public/components/app/error_group_details/error_sampler/error_sample_detail.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/error_group_details/error_sampler/error_sample_detail.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/error_group_details/error_sampler/error_sample_detail.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/error_group_details/error_sampler/error_sample_detail.tsx diff --git a/x-pack/plugins/apm/public/components/app/error_group_details/error_sampler/error_tabs.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/error_group_details/error_sampler/error_tabs.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/error_group_details/error_sampler/error_tabs.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/error_group_details/error_sampler/error_tabs.tsx diff --git a/x-pack/plugins/apm/public/components/app/error_group_details/error_sampler/error_ui_actions_context_menu.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/error_group_details/error_sampler/error_ui_actions_context_menu.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/error_group_details/error_sampler/error_ui_actions_context_menu.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/error_group_details/error_sampler/error_ui_actions_context_menu.tsx diff --git a/x-pack/plugins/apm/public/components/app/error_group_details/error_sampler/exception_stacktrace.stories.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/error_group_details/error_sampler/exception_stacktrace.stories.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/error_group_details/error_sampler/exception_stacktrace.stories.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/error_group_details/error_sampler/exception_stacktrace.stories.tsx diff --git a/x-pack/plugins/apm/public/components/app/error_group_details/error_sampler/exception_stacktrace.test.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/error_group_details/error_sampler/exception_stacktrace.test.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/error_group_details/error_sampler/exception_stacktrace.test.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/error_group_details/error_sampler/exception_stacktrace.test.tsx diff --git a/x-pack/plugins/apm/public/components/app/error_group_details/error_sampler/exception_stacktrace.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/error_group_details/error_sampler/exception_stacktrace.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/error_group_details/error_sampler/exception_stacktrace.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/error_group_details/error_sampler/exception_stacktrace.tsx diff --git a/x-pack/plugins/apm/public/components/app/error_group_details/error_sampler/exception_stacktrace_title.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/error_group_details/error_sampler/exception_stacktrace_title.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/error_group_details/error_sampler/exception_stacktrace_title.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/error_group_details/error_sampler/exception_stacktrace_title.tsx diff --git a/x-pack/plugins/apm/public/components/app/error_group_details/error_sampler/index.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/error_group_details/error_sampler/index.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/error_group_details/error_sampler/index.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/error_group_details/error_sampler/index.tsx diff --git a/x-pack/plugins/apm/public/components/app/error_group_details/error_sampler/plaintext_stacktrace.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/error_group_details/error_sampler/plaintext_stacktrace.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/error_group_details/error_sampler/plaintext_stacktrace.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/error_group_details/error_sampler/plaintext_stacktrace.tsx diff --git a/x-pack/plugins/apm/public/components/app/error_group_details/error_sampler/sample_summary.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/error_group_details/error_sampler/sample_summary.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/error_group_details/error_sampler/sample_summary.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/error_group_details/error_sampler/sample_summary.tsx diff --git a/x-pack/plugins/apm/public/components/app/error_group_details/index.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/error_group_details/index.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/error_group_details/index.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/error_group_details/index.tsx diff --git a/x-pack/plugins/apm/public/components/app/error_group_details/top_erroneous_transactions/index.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/error_group_details/top_erroneous_transactions/index.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/error_group_details/top_erroneous_transactions/index.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/error_group_details/top_erroneous_transactions/index.tsx diff --git a/x-pack/plugins/apm/public/components/app/error_group_overview/error_group_list/__fixtures__/props.json b/x-pack/plugins/observability_solution/apm/public/components/app/error_group_overview/error_group_list/__fixtures__/props.json similarity index 100% rename from x-pack/plugins/apm/public/components/app/error_group_overview/error_group_list/__fixtures__/props.json rename to x-pack/plugins/observability_solution/apm/public/components/app/error_group_overview/error_group_list/__fixtures__/props.json diff --git a/x-pack/plugins/apm/public/components/app/error_group_overview/error_group_list/error_group_list.stories.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/error_group_overview/error_group_list/error_group_list.stories.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/error_group_overview/error_group_list/error_group_list.stories.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/error_group_overview/error_group_list/error_group_list.stories.tsx diff --git a/x-pack/plugins/apm/public/components/app/error_group_overview/error_group_list/error_group_list.test.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/error_group_overview/error_group_list/error_group_list.test.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/error_group_overview/error_group_list/error_group_list.test.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/error_group_overview/error_group_list/error_group_list.test.tsx diff --git a/x-pack/plugins/apm/public/components/app/error_group_overview/error_group_list/index.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/error_group_overview/error_group_list/index.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/error_group_overview/error_group_list/index.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/error_group_overview/error_group_list/index.tsx diff --git a/x-pack/plugins/apm/public/components/app/error_group_overview/error_group_list/use_error_group_list_data.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/error_group_overview/error_group_list/use_error_group_list_data.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/error_group_overview/error_group_list/use_error_group_list_data.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/error_group_overview/error_group_list/use_error_group_list_data.tsx diff --git a/x-pack/plugins/apm/public/components/app/error_group_overview/index.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/error_group_overview/index.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/error_group_overview/index.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/error_group_overview/index.tsx diff --git a/x-pack/plugins/apm/public/components/app/help_popover/help_popover.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/help_popover/help_popover.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/help_popover/help_popover.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/help_popover/help_popover.tsx diff --git a/x-pack/plugins/apm/public/components/app/help_popover/index.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/help_popover/index.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/help_popover/index.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/help_popover/index.tsx diff --git a/x-pack/plugins/apm/public/components/app/infra_overview/index.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/infra_overview/index.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/infra_overview/index.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/infra_overview/index.tsx diff --git a/x-pack/plugins/apm/public/components/app/infra_overview/infra_tabs/empty_prompt.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/infra_overview/infra_tabs/empty_prompt.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/infra_overview/infra_tabs/empty_prompt.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/infra_overview/infra_tabs/empty_prompt.tsx diff --git a/x-pack/plugins/apm/public/components/app/infra_overview/infra_tabs/failure_prompt.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/infra_overview/infra_tabs/failure_prompt.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/infra_overview/infra_tabs/failure_prompt.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/infra_overview/infra_tabs/failure_prompt.tsx diff --git a/x-pack/plugins/apm/public/components/app/infra_overview/infra_tabs/index.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/infra_overview/infra_tabs/index.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/infra_overview/infra_tabs/index.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/infra_overview/infra_tabs/index.tsx diff --git a/x-pack/plugins/apm/public/components/app/infra_overview/infra_tabs/use_tabs.test.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/infra_overview/infra_tabs/use_tabs.test.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/infra_overview/infra_tabs/use_tabs.test.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/infra_overview/infra_tabs/use_tabs.test.tsx diff --git a/x-pack/plugins/apm/public/components/app/infra_overview/infra_tabs/use_tabs.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/infra_overview/infra_tabs/use_tabs.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/infra_overview/infra_tabs/use_tabs.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/infra_overview/infra_tabs/use_tabs.tsx diff --git a/x-pack/plugins/apm/public/components/app/metrics/index.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/metrics/index.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/metrics/index.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/metrics/index.tsx diff --git a/x-pack/plugins/apm/public/components/app/metrics/jvm_metrics_overview/index.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/metrics/jvm_metrics_overview/index.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/metrics/jvm_metrics_overview/index.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/metrics/jvm_metrics_overview/index.tsx diff --git a/x-pack/plugins/apm/public/components/app/metrics/serverless_metrics/index.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/metrics/serverless_metrics/index.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/metrics/serverless_metrics/index.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/metrics/serverless_metrics/index.tsx diff --git a/x-pack/plugins/apm/public/components/app/metrics/serverless_metrics/serverless_active_instances.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/metrics/serverless_metrics/serverless_active_instances.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/metrics/serverless_metrics/serverless_active_instances.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/metrics/serverless_metrics/serverless_active_instances.tsx diff --git a/x-pack/plugins/apm/public/components/app/metrics/serverless_metrics/serverless_function_name_link.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/metrics/serverless_metrics/serverless_function_name_link.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/metrics/serverless_metrics/serverless_function_name_link.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/metrics/serverless_metrics/serverless_function_name_link.tsx diff --git a/x-pack/plugins/apm/public/components/app/metrics/serverless_metrics/serverless_functions.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/metrics/serverless_metrics/serverless_functions.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/metrics/serverless_metrics/serverless_functions.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/metrics/serverless_metrics/serverless_functions.tsx diff --git a/x-pack/plugins/apm/public/components/app/metrics/serverless_metrics/serverless_metrics_charts.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/metrics/serverless_metrics/serverless_metrics_charts.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/metrics/serverless_metrics/serverless_metrics_charts.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/metrics/serverless_metrics/serverless_metrics_charts.tsx diff --git a/x-pack/plugins/apm/public/components/app/metrics/serverless_metrics/serverless_summary.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/metrics/serverless_metrics/serverless_summary.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/metrics/serverless_metrics/serverless_summary.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/metrics/serverless_metrics/serverless_summary.tsx diff --git a/x-pack/plugins/apm/public/components/app/metrics/service_metrics/index.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/metrics/service_metrics/index.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/metrics/service_metrics/index.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/metrics/service_metrics/index.tsx diff --git a/x-pack/plugins/apm/public/components/app/metrics/static_dashboard/dashboards/dashboard_catalog.ts b/x-pack/plugins/observability_solution/apm/public/components/app/metrics/static_dashboard/dashboards/dashboard_catalog.ts similarity index 100% rename from x-pack/plugins/apm/public/components/app/metrics/static_dashboard/dashboards/dashboard_catalog.ts rename to x-pack/plugins/observability_solution/apm/public/components/app/metrics/static_dashboard/dashboards/dashboard_catalog.ts diff --git a/x-pack/plugins/apm/public/components/app/metrics/static_dashboard/dashboards/java.json b/x-pack/plugins/observability_solution/apm/public/components/app/metrics/static_dashboard/dashboards/java.json similarity index 100% rename from x-pack/plugins/apm/public/components/app/metrics/static_dashboard/dashboards/java.json rename to x-pack/plugins/observability_solution/apm/public/components/app/metrics/static_dashboard/dashboards/java.json diff --git a/x-pack/plugins/apm/public/components/app/metrics/static_dashboard/dashboards/nodejs.json b/x-pack/plugins/observability_solution/apm/public/components/app/metrics/static_dashboard/dashboards/nodejs.json similarity index 100% rename from x-pack/plugins/apm/public/components/app/metrics/static_dashboard/dashboards/nodejs.json rename to x-pack/plugins/observability_solution/apm/public/components/app/metrics/static_dashboard/dashboards/nodejs.json diff --git a/x-pack/plugins/apm/public/components/app/metrics/static_dashboard/dashboards/opentelemetry_nodejs.json b/x-pack/plugins/observability_solution/apm/public/components/app/metrics/static_dashboard/dashboards/opentelemetry_nodejs.json similarity index 100% rename from x-pack/plugins/apm/public/components/app/metrics/static_dashboard/dashboards/opentelemetry_nodejs.json rename to x-pack/plugins/observability_solution/apm/public/components/app/metrics/static_dashboard/dashboards/opentelemetry_nodejs.json diff --git a/x-pack/plugins/apm/public/components/app/metrics/static_dashboard/helper.ts b/x-pack/plugins/observability_solution/apm/public/components/app/metrics/static_dashboard/helper.ts similarity index 100% rename from x-pack/plugins/apm/public/components/app/metrics/static_dashboard/helper.ts rename to x-pack/plugins/observability_solution/apm/public/components/app/metrics/static_dashboard/helper.ts diff --git a/x-pack/plugins/apm/public/components/app/metrics/static_dashboard/index.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/metrics/static_dashboard/index.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/metrics/static_dashboard/index.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/metrics/static_dashboard/index.tsx diff --git a/x-pack/plugins/apm/public/components/app/metrics_details/index.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/metrics_details/index.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/metrics_details/index.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/metrics_details/index.tsx diff --git a/x-pack/plugins/apm/public/components/app/metrics_details/serverless_metrics_details/index.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/metrics_details/serverless_metrics_details/index.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/metrics_details/serverless_metrics_details/index.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/metrics_details/serverless_metrics_details/index.tsx diff --git a/x-pack/plugins/apm/public/components/app/metrics_details/service_node_metrics/index.test.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/metrics_details/service_node_metrics/index.test.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/metrics_details/service_node_metrics/index.test.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/metrics_details/service_node_metrics/index.test.tsx diff --git a/x-pack/plugins/apm/public/components/app/metrics_details/service_node_metrics/index.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/metrics_details/service_node_metrics/index.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/metrics_details/service_node_metrics/index.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/metrics_details/service_node_metrics/index.tsx diff --git a/x-pack/plugins/apm/public/components/app/mobile/charts/http_requests_chart.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/mobile/charts/http_requests_chart.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/mobile/charts/http_requests_chart.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/mobile/charts/http_requests_chart.tsx diff --git a/x-pack/plugins/apm/public/components/app/mobile/charts/mobile_errors_and_crashes_treemap/index.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/mobile/charts/mobile_errors_and_crashes_treemap/index.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/mobile/charts/mobile_errors_and_crashes_treemap/index.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/mobile/charts/mobile_errors_and_crashes_treemap/index.tsx diff --git a/x-pack/plugins/apm/public/components/app/mobile/charts/mobile_errors_and_crashes_treemap/treemap_select.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/mobile/charts/mobile_errors_and_crashes_treemap/treemap_select.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/mobile/charts/mobile_errors_and_crashes_treemap/treemap_select.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/mobile/charts/mobile_errors_and_crashes_treemap/treemap_select.tsx diff --git a/x-pack/plugins/apm/public/components/app/mobile/charts/mobile_http_error_rate/index.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/mobile/charts/mobile_http_error_rate/index.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/mobile/charts/mobile_http_error_rate/index.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/mobile/charts/mobile_http_error_rate/index.tsx diff --git a/x-pack/plugins/apm/public/components/app/mobile/charts/mobile_most_affected/index.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/mobile/charts/mobile_most_affected/index.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/mobile/charts/mobile_most_affected/index.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/mobile/charts/mobile_most_affected/index.tsx diff --git a/x-pack/plugins/apm/public/components/app/mobile/charts/mobile_most_affected/treemap_select.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/mobile/charts/mobile_most_affected/treemap_select.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/mobile/charts/mobile_most_affected/treemap_select.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/mobile/charts/mobile_most_affected/treemap_select.tsx diff --git a/x-pack/plugins/apm/public/components/app/mobile/charts/mobile_treemap/index.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/mobile/charts/mobile_treemap/index.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/mobile/charts/mobile_treemap/index.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/mobile/charts/mobile_treemap/index.tsx diff --git a/x-pack/plugins/apm/public/components/app/mobile/charts/mobile_treemap/treemap_select.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/mobile/charts/mobile_treemap/treemap_select.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/mobile/charts/mobile_treemap/treemap_select.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/mobile/charts/mobile_treemap/treemap_select.tsx diff --git a/x-pack/plugins/apm/public/components/app/mobile/charts/sessions_chart.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/mobile/charts/sessions_chart.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/mobile/charts/sessions_chart.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/mobile/charts/sessions_chart.tsx diff --git a/x-pack/plugins/apm/public/components/app/mobile/errors_and_crashes_group_details/crash_group_details/index.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/mobile/errors_and_crashes_group_details/crash_group_details/index.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/mobile/errors_and_crashes_group_details/crash_group_details/index.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/mobile/errors_and_crashes_group_details/crash_group_details/index.tsx diff --git a/x-pack/plugins/apm/public/components/app/mobile/errors_and_crashes_group_details/error_group_details/index.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/mobile/errors_and_crashes_group_details/error_group_details/index.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/mobile/errors_and_crashes_group_details/error_group_details/index.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/mobile/errors_and_crashes_group_details/error_group_details/index.tsx diff --git a/x-pack/plugins/apm/public/components/app/mobile/errors_and_crashes_group_details/shared/distribution/index.stories.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/mobile/errors_and_crashes_group_details/shared/distribution/index.stories.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/mobile/errors_and_crashes_group_details/shared/distribution/index.stories.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/mobile/errors_and_crashes_group_details/shared/distribution/index.stories.tsx diff --git a/x-pack/plugins/apm/public/components/app/mobile/errors_and_crashes_group_details/shared/distribution/index.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/mobile/errors_and_crashes_group_details/shared/distribution/index.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/mobile/errors_and_crashes_group_details/shared/distribution/index.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/mobile/errors_and_crashes_group_details/shared/distribution/index.tsx diff --git a/x-pack/plugins/apm/public/components/app/mobile/errors_and_crashes_overview/crash_group_list/crash_group_list.stories.tsx b/x-pack/plugins/observability_solution/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/apm/public/components/app/mobile/errors_and_crashes_overview/crash_group_list/crash_group_list.stories.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/mobile/errors_and_crashes_overview/crash_group_list/crash_group_list.stories.tsx diff --git a/x-pack/plugins/apm/public/components/app/mobile/errors_and_crashes_overview/crash_group_list/crash_group_list.test.tsx b/x-pack/plugins/observability_solution/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/apm/public/components/app/mobile/errors_and_crashes_overview/crash_group_list/crash_group_list.test.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/mobile/errors_and_crashes_overview/crash_group_list/crash_group_list.test.tsx diff --git a/x-pack/plugins/apm/public/components/app/mobile/errors_and_crashes_overview/crash_group_list/index.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/mobile/errors_and_crashes_overview/crash_group_list/index.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/mobile/errors_and_crashes_overview/crash_group_list/index.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/mobile/errors_and_crashes_overview/crash_group_list/index.tsx diff --git a/x-pack/plugins/apm/public/components/app/mobile/errors_and_crashes_overview/crashes_overview.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/mobile/errors_and_crashes_overview/crashes_overview.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/mobile/errors_and_crashes_overview/crashes_overview.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/mobile/errors_and_crashes_overview/crashes_overview.tsx diff --git a/x-pack/plugins/apm/public/components/app/mobile/errors_and_crashes_overview/error_group_list/error_group_list.stories.tsx b/x-pack/plugins/observability_solution/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/apm/public/components/app/mobile/errors_and_crashes_overview/error_group_list/error_group_list.stories.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/mobile/errors_and_crashes_overview/error_group_list/error_group_list.stories.tsx diff --git a/x-pack/plugins/apm/public/components/app/mobile/errors_and_crashes_overview/error_group_list/error_group_list.test.tsx b/x-pack/plugins/observability_solution/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/apm/public/components/app/mobile/errors_and_crashes_overview/error_group_list/error_group_list.test.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/mobile/errors_and_crashes_overview/error_group_list/error_group_list.test.tsx diff --git a/x-pack/plugins/apm/public/components/app/mobile/errors_and_crashes_overview/error_group_list/index.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/mobile/errors_and_crashes_overview/error_group_list/index.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/mobile/errors_and_crashes_overview/error_group_list/index.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/mobile/errors_and_crashes_overview/error_group_list/index.tsx diff --git a/x-pack/plugins/apm/public/components/app/mobile/errors_and_crashes_overview/errors_overview.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/mobile/errors_and_crashes_overview/errors_overview.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/mobile/errors_and_crashes_overview/errors_overview.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/mobile/errors_and_crashes_overview/errors_overview.tsx diff --git a/x-pack/plugins/apm/public/components/app/mobile/errors_and_crashes_overview/index.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/mobile/errors_and_crashes_overview/index.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/mobile/errors_and_crashes_overview/index.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/mobile/errors_and_crashes_overview/index.tsx diff --git a/x-pack/plugins/apm/public/components/app/mobile/errors_and_crashes_overview/tabs/tabs.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/mobile/errors_and_crashes_overview/tabs/tabs.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/mobile/errors_and_crashes_overview/tabs/tabs.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/mobile/errors_and_crashes_overview/tabs/tabs.tsx diff --git a/x-pack/plugins/apm/public/components/app/mobile/search_bar.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/mobile/search_bar.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/mobile/search_bar.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/mobile/search_bar.tsx diff --git a/x-pack/plugins/apm/public/components/app/mobile/service_overview/filters/index.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/mobile/service_overview/filters/index.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/mobile/service_overview/filters/index.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/mobile/service_overview/filters/index.tsx diff --git a/x-pack/plugins/apm/public/components/app/mobile/service_overview/geo_map/embedded_map.test.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/mobile/service_overview/geo_map/embedded_map.test.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/mobile/service_overview/geo_map/embedded_map.test.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/mobile/service_overview/geo_map/embedded_map.test.tsx diff --git a/x-pack/plugins/apm/public/components/app/mobile/service_overview/geo_map/embedded_map.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/mobile/service_overview/geo_map/embedded_map.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/mobile/service_overview/geo_map/embedded_map.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/mobile/service_overview/geo_map/embedded_map.tsx diff --git a/x-pack/plugins/apm/public/components/app/mobile/service_overview/geo_map/embedded_map_select.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/mobile/service_overview/geo_map/embedded_map_select.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/mobile/service_overview/geo_map/embedded_map_select.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/mobile/service_overview/geo_map/embedded_map_select.tsx diff --git a/x-pack/plugins/apm/public/components/app/mobile/service_overview/geo_map/index.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/mobile/service_overview/geo_map/index.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/mobile/service_overview/geo_map/index.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/mobile/service_overview/geo_map/index.tsx diff --git a/x-pack/plugins/apm/public/components/app/mobile/service_overview/geo_map/map_layers/get_http_requests_map_layer_list.ts b/x-pack/plugins/observability_solution/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/apm/public/components/app/mobile/service_overview/geo_map/map_layers/get_http_requests_map_layer_list.ts rename to x-pack/plugins/observability_solution/apm/public/components/app/mobile/service_overview/geo_map/map_layers/get_http_requests_map_layer_list.ts diff --git a/x-pack/plugins/apm/public/components/app/mobile/service_overview/geo_map/map_layers/get_layer_list.ts b/x-pack/plugins/observability_solution/apm/public/components/app/mobile/service_overview/geo_map/map_layers/get_layer_list.ts similarity index 100% rename from x-pack/plugins/apm/public/components/app/mobile/service_overview/geo_map/map_layers/get_layer_list.ts rename to x-pack/plugins/observability_solution/apm/public/components/app/mobile/service_overview/geo_map/map_layers/get_layer_list.ts diff --git a/x-pack/plugins/apm/public/components/app/mobile/service_overview/geo_map/map_layers/get_map_layer_style.ts b/x-pack/plugins/observability_solution/apm/public/components/app/mobile/service_overview/geo_map/map_layers/get_map_layer_style.ts similarity index 100% rename from x-pack/plugins/apm/public/components/app/mobile/service_overview/geo_map/map_layers/get_map_layer_style.ts rename to x-pack/plugins/observability_solution/apm/public/components/app/mobile/service_overview/geo_map/map_layers/get_map_layer_style.ts diff --git a/x-pack/plugins/apm/public/components/app/mobile/service_overview/geo_map/map_layers/get_session_map_layer_list.ts b/x-pack/plugins/observability_solution/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/apm/public/components/app/mobile/service_overview/geo_map/map_layers/get_session_map_layer_list.ts rename to x-pack/plugins/observability_solution/apm/public/components/app/mobile/service_overview/geo_map/map_layers/get_session_map_layer_list.ts diff --git a/x-pack/plugins/apm/public/components/app/mobile/service_overview/index.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/mobile/service_overview/index.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/mobile/service_overview/index.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/mobile/service_overview/index.tsx diff --git a/x-pack/plugins/apm/public/components/app/mobile/service_overview/most_used_charts/index.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/mobile/service_overview/most_used_charts/index.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/mobile/service_overview/most_used_charts/index.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/mobile/service_overview/most_used_charts/index.tsx diff --git a/x-pack/plugins/apm/public/components/app/mobile/service_overview/most_used_charts/sunburst_chart.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/mobile/service_overview/most_used_charts/sunburst_chart.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/mobile/service_overview/most_used_charts/sunburst_chart.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/mobile/service_overview/most_used_charts/sunburst_chart.tsx diff --git a/x-pack/plugins/apm/public/components/app/mobile/service_overview/stats/location_stats.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/mobile/service_overview/stats/location_stats.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/mobile/service_overview/stats/location_stats.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/mobile/service_overview/stats/location_stats.tsx diff --git a/x-pack/plugins/apm/public/components/app/mobile/service_overview/stats/metric_item.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/mobile/service_overview/stats/metric_item.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/mobile/service_overview/stats/metric_item.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/mobile/service_overview/stats/metric_item.tsx diff --git a/x-pack/plugins/apm/public/components/app/mobile/service_overview/stats/stats.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/mobile/service_overview/stats/stats.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/mobile/service_overview/stats/stats.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/mobile/service_overview/stats/stats.tsx diff --git a/x-pack/plugins/apm/public/components/app/mobile/transaction_overview/index.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/mobile/transaction_overview/index.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/mobile/transaction_overview/index.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/mobile/transaction_overview/index.tsx diff --git a/x-pack/plugins/apm/public/components/app/mobile/transaction_overview/transaction_charts.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/mobile/transaction_overview/transaction_charts.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/mobile/transaction_overview/transaction_charts.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/mobile/transaction_overview/transaction_charts.tsx diff --git a/x-pack/plugins/apm/public/components/app/mobile/transaction_overview/transaction_overview_tabs/app_version_tab.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/mobile/transaction_overview/transaction_overview_tabs/app_version_tab.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/mobile/transaction_overview/transaction_overview_tabs/app_version_tab.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/mobile/transaction_overview/transaction_overview_tabs/app_version_tab.tsx diff --git a/x-pack/plugins/apm/public/components/app/mobile/transaction_overview/transaction_overview_tabs/devices_tab.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/mobile/transaction_overview/transaction_overview_tabs/devices_tab.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/mobile/transaction_overview/transaction_overview_tabs/devices_tab.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/mobile/transaction_overview/transaction_overview_tabs/devices_tab.tsx diff --git a/x-pack/plugins/apm/public/components/app/mobile/transaction_overview/transaction_overview_tabs/index.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/mobile/transaction_overview/transaction_overview_tabs/index.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/mobile/transaction_overview/transaction_overview_tabs/index.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/mobile/transaction_overview/transaction_overview_tabs/index.tsx diff --git a/x-pack/plugins/apm/public/components/app/mobile/transaction_overview/transaction_overview_tabs/os_version_tab.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/mobile/transaction_overview/transaction_overview_tabs/os_version_tab.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/mobile/transaction_overview/transaction_overview_tabs/os_version_tab.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/mobile/transaction_overview/transaction_overview_tabs/os_version_tab.tsx diff --git a/x-pack/plugins/apm/public/components/app/mobile/transaction_overview/transaction_overview_tabs/stats_list/get_columns.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/mobile/transaction_overview/transaction_overview_tabs/stats_list/get_columns.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/mobile/transaction_overview/transaction_overview_tabs/stats_list/get_columns.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/mobile/transaction_overview/transaction_overview_tabs/stats_list/get_columns.tsx diff --git a/x-pack/plugins/apm/public/components/app/mobile/transaction_overview/transaction_overview_tabs/stats_list/index.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/mobile/transaction_overview/transaction_overview_tabs/stats_list/index.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/mobile/transaction_overview/transaction_overview_tabs/stats_list/index.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/mobile/transaction_overview/transaction_overview_tabs/stats_list/index.tsx diff --git a/x-pack/plugins/apm/public/components/app/mobile/transaction_overview/transaction_overview_tabs/transactions_tab.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/mobile/transaction_overview/transaction_overview_tabs/transactions_tab.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/mobile/transaction_overview/transaction_overview_tabs/transactions_tab.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/mobile/transaction_overview/transaction_overview_tabs/transactions_tab.tsx diff --git a/x-pack/plugins/apm/public/components/app/mobile/transaction_overview/transaction_overview_tabs/use_mobile_statistics_fetcher.ts b/x-pack/plugins/observability_solution/apm/public/components/app/mobile/transaction_overview/transaction_overview_tabs/use_mobile_statistics_fetcher.ts similarity index 100% rename from x-pack/plugins/apm/public/components/app/mobile/transaction_overview/transaction_overview_tabs/use_mobile_statistics_fetcher.ts rename to x-pack/plugins/observability_solution/apm/public/components/app/mobile/transaction_overview/transaction_overview_tabs/use_mobile_statistics_fetcher.ts diff --git a/x-pack/plugins/apm/public/components/app/onboarding/agent_config_instructions.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/onboarding/agent_config_instructions.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/onboarding/agent_config_instructions.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/onboarding/agent_config_instructions.tsx diff --git a/x-pack/plugins/apm/public/components/app/onboarding/agent_config_table.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/onboarding/agent_config_table.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/onboarding/agent_config_table.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/onboarding/agent_config_table.tsx diff --git a/x-pack/plugins/apm/public/components/app/onboarding/agent_status_instructions.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/onboarding/agent_status_instructions.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/onboarding/agent_status_instructions.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/onboarding/agent_status_instructions.tsx diff --git a/x-pack/plugins/apm/public/components/app/onboarding/commands/django.ts b/x-pack/plugins/observability_solution/apm/public/components/app/onboarding/commands/django.ts similarity index 100% rename from x-pack/plugins/apm/public/components/app/onboarding/commands/django.ts rename to x-pack/plugins/observability_solution/apm/public/components/app/onboarding/commands/django.ts diff --git a/x-pack/plugins/apm/public/components/app/onboarding/commands/dotnet.ts b/x-pack/plugins/observability_solution/apm/public/components/app/onboarding/commands/dotnet.ts similarity index 100% rename from x-pack/plugins/apm/public/components/app/onboarding/commands/dotnet.ts rename to x-pack/plugins/observability_solution/apm/public/components/app/onboarding/commands/dotnet.ts diff --git a/x-pack/plugins/apm/public/components/app/onboarding/commands/flask.ts b/x-pack/plugins/observability_solution/apm/public/components/app/onboarding/commands/flask.ts similarity index 100% rename from x-pack/plugins/apm/public/components/app/onboarding/commands/flask.ts rename to x-pack/plugins/observability_solution/apm/public/components/app/onboarding/commands/flask.ts diff --git a/x-pack/plugins/apm/public/components/app/onboarding/commands/get_apm_agent_commands.test.ts b/x-pack/plugins/observability_solution/apm/public/components/app/onboarding/commands/get_apm_agent_commands.test.ts similarity index 100% rename from x-pack/plugins/apm/public/components/app/onboarding/commands/get_apm_agent_commands.test.ts rename to x-pack/plugins/observability_solution/apm/public/components/app/onboarding/commands/get_apm_agent_commands.test.ts diff --git a/x-pack/plugins/apm/public/components/app/onboarding/commands/get_apm_agent_commands.ts b/x-pack/plugins/observability_solution/apm/public/components/app/onboarding/commands/get_apm_agent_commands.ts similarity index 100% rename from x-pack/plugins/apm/public/components/app/onboarding/commands/get_apm_agent_commands.ts rename to x-pack/plugins/observability_solution/apm/public/components/app/onboarding/commands/get_apm_agent_commands.ts diff --git a/x-pack/plugins/apm/public/components/app/onboarding/commands/go.ts b/x-pack/plugins/observability_solution/apm/public/components/app/onboarding/commands/go.ts similarity index 100% rename from x-pack/plugins/apm/public/components/app/onboarding/commands/go.ts rename to x-pack/plugins/observability_solution/apm/public/components/app/onboarding/commands/go.ts diff --git a/x-pack/plugins/apm/public/components/app/onboarding/commands/java.ts b/x-pack/plugins/observability_solution/apm/public/components/app/onboarding/commands/java.ts similarity index 100% rename from x-pack/plugins/apm/public/components/app/onboarding/commands/java.ts rename to x-pack/plugins/observability_solution/apm/public/components/app/onboarding/commands/java.ts diff --git a/x-pack/plugins/apm/public/components/app/onboarding/commands/node.ts b/x-pack/plugins/observability_solution/apm/public/components/app/onboarding/commands/node.ts similarity index 100% rename from x-pack/plugins/apm/public/components/app/onboarding/commands/node.ts rename to x-pack/plugins/observability_solution/apm/public/components/app/onboarding/commands/node.ts diff --git a/x-pack/plugins/apm/public/components/app/onboarding/commands/php.ts b/x-pack/plugins/observability_solution/apm/public/components/app/onboarding/commands/php.ts similarity index 100% rename from x-pack/plugins/apm/public/components/app/onboarding/commands/php.ts rename to x-pack/plugins/observability_solution/apm/public/components/app/onboarding/commands/php.ts diff --git a/x-pack/plugins/apm/public/components/app/onboarding/commands/rack.ts b/x-pack/plugins/observability_solution/apm/public/components/app/onboarding/commands/rack.ts similarity index 100% rename from x-pack/plugins/apm/public/components/app/onboarding/commands/rack.ts rename to x-pack/plugins/observability_solution/apm/public/components/app/onboarding/commands/rack.ts diff --git a/x-pack/plugins/apm/public/components/app/onboarding/commands/rails.ts b/x-pack/plugins/observability_solution/apm/public/components/app/onboarding/commands/rails.ts similarity index 100% rename from x-pack/plugins/apm/public/components/app/onboarding/commands/rails.ts rename to x-pack/plugins/observability_solution/apm/public/components/app/onboarding/commands/rails.ts diff --git a/x-pack/plugins/apm/public/components/app/onboarding/commands/shared_hints.ts b/x-pack/plugins/observability_solution/apm/public/components/app/onboarding/commands/shared_hints.ts similarity index 100% rename from x-pack/plugins/apm/public/components/app/onboarding/commands/shared_hints.ts rename to x-pack/plugins/observability_solution/apm/public/components/app/onboarding/commands/shared_hints.ts diff --git a/x-pack/plugins/apm/public/components/app/onboarding/footer.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/onboarding/footer.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/onboarding/footer.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/onboarding/footer.tsx diff --git a/x-pack/plugins/apm/public/components/app/onboarding/index.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/onboarding/index.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/onboarding/index.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/onboarding/index.tsx diff --git a/x-pack/plugins/apm/public/components/app/onboarding/instruction_variants.ts b/x-pack/plugins/observability_solution/apm/public/components/app/onboarding/instruction_variants.ts similarity index 100% rename from x-pack/plugins/apm/public/components/app/onboarding/instruction_variants.ts rename to x-pack/plugins/observability_solution/apm/public/components/app/onboarding/instruction_variants.ts diff --git a/x-pack/plugins/apm/public/components/app/onboarding/instructions/api_key_callout.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/onboarding/instructions/api_key_callout.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/onboarding/instructions/api_key_callout.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/onboarding/instructions/api_key_callout.tsx diff --git a/x-pack/plugins/apm/public/components/app/onboarding/instructions/django_agent.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/onboarding/instructions/django_agent.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/onboarding/instructions/django_agent.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/onboarding/instructions/django_agent.tsx diff --git a/x-pack/plugins/apm/public/components/app/onboarding/instructions/dotnet_agent.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/onboarding/instructions/dotnet_agent.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/onboarding/instructions/dotnet_agent.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/onboarding/instructions/dotnet_agent.tsx diff --git a/x-pack/plugins/apm/public/components/app/onboarding/instructions/flask_agent.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/onboarding/instructions/flask_agent.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/onboarding/instructions/flask_agent.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/onboarding/instructions/flask_agent.tsx diff --git a/x-pack/plugins/apm/public/components/app/onboarding/instructions/go_agent.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/onboarding/instructions/go_agent.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/onboarding/instructions/go_agent.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/onboarding/instructions/go_agent.tsx diff --git a/x-pack/plugins/apm/public/components/app/onboarding/instructions/index.ts b/x-pack/plugins/observability_solution/apm/public/components/app/onboarding/instructions/index.ts similarity index 100% rename from x-pack/plugins/apm/public/components/app/onboarding/instructions/index.ts rename to x-pack/plugins/observability_solution/apm/public/components/app/onboarding/instructions/index.ts diff --git a/x-pack/plugins/apm/public/components/app/onboarding/instructions/java_agent.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/onboarding/instructions/java_agent.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/onboarding/instructions/java_agent.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/onboarding/instructions/java_agent.tsx diff --git a/x-pack/plugins/apm/public/components/app/onboarding/instructions/node_agent.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/onboarding/instructions/node_agent.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/onboarding/instructions/node_agent.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/onboarding/instructions/node_agent.tsx diff --git a/x-pack/plugins/apm/public/components/app/onboarding/instructions/otel_agent.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/onboarding/instructions/otel_agent.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/onboarding/instructions/otel_agent.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/onboarding/instructions/otel_agent.tsx diff --git a/x-pack/plugins/apm/public/components/app/onboarding/instructions/php_agent.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/onboarding/instructions/php_agent.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/onboarding/instructions/php_agent.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/onboarding/instructions/php_agent.tsx diff --git a/x-pack/plugins/apm/public/components/app/onboarding/instructions/rack_agent.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/onboarding/instructions/rack_agent.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/onboarding/instructions/rack_agent.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/onboarding/instructions/rack_agent.tsx diff --git a/x-pack/plugins/apm/public/components/app/onboarding/instructions/rails_agent.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/onboarding/instructions/rails_agent.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/onboarding/instructions/rails_agent.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/onboarding/instructions/rails_agent.tsx diff --git a/x-pack/plugins/apm/public/components/app/onboarding/instructions_set.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/onboarding/instructions_set.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/onboarding/instructions_set.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/onboarding/instructions_set.tsx diff --git a/x-pack/plugins/apm/public/components/app/onboarding/introduction.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/onboarding/introduction.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/onboarding/introduction.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/onboarding/introduction.tsx diff --git a/x-pack/plugins/apm/public/components/app/onboarding/serverless_instructions.ts b/x-pack/plugins/observability_solution/apm/public/components/app/onboarding/serverless_instructions.ts similarity index 100% rename from x-pack/plugins/apm/public/components/app/onboarding/serverless_instructions.ts rename to x-pack/plugins/observability_solution/apm/public/components/app/onboarding/serverless_instructions.ts diff --git a/x-pack/plugins/apm/public/components/app/profiling_overview/host_names_filter_warning.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/profiling_overview/host_names_filter_warning.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/profiling_overview/host_names_filter_warning.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/profiling_overview/host_names_filter_warning.tsx diff --git a/x-pack/plugins/apm/public/components/app/profiling_overview/index.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/profiling_overview/index.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/profiling_overview/index.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/profiling_overview/index.tsx diff --git a/x-pack/plugins/apm/public/components/app/profiling_overview/profiling_flamegraph.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/profiling_overview/profiling_flamegraph.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/profiling_overview/profiling_flamegraph.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/profiling_overview/profiling_flamegraph.tsx diff --git a/x-pack/plugins/apm/public/components/app/profiling_overview/profiling_top_functions.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/profiling_overview/profiling_top_functions.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/profiling_overview/profiling_top_functions.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/profiling_overview/profiling_top_functions.tsx diff --git a/x-pack/plugins/apm/public/components/app/service_dashboards/actions/edit_dashboard.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/service_dashboards/actions/edit_dashboard.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/service_dashboards/actions/edit_dashboard.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/service_dashboards/actions/edit_dashboard.tsx diff --git a/x-pack/plugins/apm/public/components/app/service_dashboards/actions/goto_dashboard.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/service_dashboards/actions/goto_dashboard.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/service_dashboards/actions/goto_dashboard.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/service_dashboards/actions/goto_dashboard.tsx diff --git a/x-pack/plugins/apm/public/components/app/service_dashboards/actions/index.ts b/x-pack/plugins/observability_solution/apm/public/components/app/service_dashboards/actions/index.ts similarity index 100% rename from x-pack/plugins/apm/public/components/app/service_dashboards/actions/index.ts rename to x-pack/plugins/observability_solution/apm/public/components/app/service_dashboards/actions/index.ts diff --git a/x-pack/plugins/apm/public/components/app/service_dashboards/actions/link_dashboard.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/service_dashboards/actions/link_dashboard.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/service_dashboards/actions/link_dashboard.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/service_dashboards/actions/link_dashboard.tsx diff --git a/x-pack/plugins/apm/public/components/app/service_dashboards/actions/save_dashboard_modal.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/service_dashboards/actions/save_dashboard_modal.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/service_dashboards/actions/save_dashboard_modal.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/service_dashboards/actions/save_dashboard_modal.tsx diff --git a/x-pack/plugins/apm/public/components/app/service_dashboards/actions/unlink_dashboard.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/service_dashboards/actions/unlink_dashboard.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/service_dashboards/actions/unlink_dashboard.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/service_dashboards/actions/unlink_dashboard.tsx diff --git a/x-pack/plugins/apm/public/components/app/service_dashboards/context_menu.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/service_dashboards/context_menu.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/service_dashboards/context_menu.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/service_dashboards/context_menu.tsx diff --git a/x-pack/plugins/apm/public/components/app/service_dashboards/dashboard_selector.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/service_dashboards/dashboard_selector.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/service_dashboards/dashboard_selector.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/service_dashboards/dashboard_selector.tsx diff --git a/x-pack/plugins/apm/public/components/app/service_dashboards/empty_dashboards.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/service_dashboards/empty_dashboards.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/service_dashboards/empty_dashboards.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/service_dashboards/empty_dashboards.tsx diff --git a/x-pack/plugins/apm/public/components/app/service_dashboards/index.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/service_dashboards/index.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/service_dashboards/index.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/service_dashboards/index.tsx diff --git a/x-pack/plugins/apm/public/components/app/service_dependencies/index.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/service_dependencies/index.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/service_dependencies/index.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/service_dependencies/index.tsx diff --git a/x-pack/plugins/apm/public/components/app/service_dependencies/service_dependencies_breakdown_chart.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/service_dependencies/service_dependencies_breakdown_chart.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/service_dependencies/service_dependencies_breakdown_chart.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/service_dependencies/service_dependencies_breakdown_chart.tsx diff --git a/x-pack/plugins/apm/public/components/app/service_groups/index.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/service_groups/index.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/service_groups/index.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/service_groups/index.tsx diff --git a/x-pack/plugins/apm/public/components/app/service_groups/refresh_service_groups_subscriber.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/service_groups/refresh_service_groups_subscriber.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/service_groups/refresh_service_groups_subscriber.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/service_groups/refresh_service_groups_subscriber.tsx diff --git a/x-pack/plugins/apm/public/components/app/service_groups/service_group_save/create_button.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/service_groups/service_group_save/create_button.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/service_groups/service_group_save/create_button.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/service_groups/service_group_save/create_button.tsx diff --git a/x-pack/plugins/apm/public/components/app/service_groups/service_group_save/edit_button.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/service_groups/service_group_save/edit_button.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/service_groups/service_group_save/edit_button.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/service_groups/service_group_save/edit_button.tsx diff --git a/x-pack/plugins/apm/public/components/app/service_groups/service_group_save/group_details.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/service_groups/service_group_save/group_details.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/service_groups/service_group_save/group_details.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/service_groups/service_group_save/group_details.tsx diff --git a/x-pack/plugins/apm/public/components/app/service_groups/service_group_save/index.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/service_groups/service_group_save/index.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/service_groups/service_group_save/index.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/service_groups/service_group_save/index.tsx diff --git a/x-pack/plugins/apm/public/components/app/service_groups/service_group_save/save_button.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/service_groups/service_group_save/save_button.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/service_groups/service_group_save/save_button.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/service_groups/service_group_save/save_button.tsx diff --git a/x-pack/plugins/apm/public/components/app/service_groups/service_group_save/save_modal.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/service_groups/service_group_save/save_modal.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/service_groups/service_group_save/save_modal.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/service_groups/service_group_save/save_modal.tsx diff --git a/x-pack/plugins/apm/public/components/app/service_groups/service_group_save/select_services.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/service_groups/service_group_save/select_services.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/service_groups/service_group_save/select_services.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/service_groups/service_group_save/select_services.tsx diff --git a/x-pack/plugins/apm/public/components/app/service_groups/service_group_save/service_list_preview.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/service_groups/service_group_save/service_list_preview.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/service_groups/service_group_save/service_list_preview.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/service_groups/service_group_save/service_list_preview.tsx diff --git a/x-pack/plugins/apm/public/components/app/service_groups/service_groups_button_group.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/service_groups/service_groups_button_group.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/service_groups/service_groups_button_group.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/service_groups/service_groups_button_group.tsx diff --git a/x-pack/plugins/apm/public/components/app/service_groups/service_groups_list/index.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/service_groups/service_groups_list/index.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/service_groups/service_groups_list/index.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/service_groups/service_groups_list/index.tsx diff --git a/x-pack/plugins/apm/public/components/app/service_groups/service_groups_list/service_group_card.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/service_groups/service_groups_list/service_group_card.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/service_groups/service_groups_list/service_group_card.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/service_groups/service_groups_list/service_group_card.tsx diff --git a/x-pack/plugins/apm/public/components/app/service_groups/service_groups_list/service_groups_list.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/service_groups/service_groups_list/service_groups_list.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/service_groups/service_groups_list/service_groups_list.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/service_groups/service_groups_list/service_groups_list.tsx diff --git a/x-pack/plugins/apm/public/components/app/service_groups/service_groups_list/service_stat.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/service_groups/service_groups_list/service_stat.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/service_groups/service_groups_list/service_stat.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/service_groups/service_groups_list/service_stat.tsx diff --git a/x-pack/plugins/apm/public/components/app/service_groups/service_groups_list/sort.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/service_groups/service_groups_list/sort.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/service_groups/service_groups_list/sort.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/service_groups/service_groups_list/sort.tsx diff --git a/x-pack/plugins/apm/public/components/app/service_groups/service_groups_tour.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/service_groups/service_groups_tour.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/service_groups/service_groups_tour.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/service_groups/service_groups_tour.tsx diff --git a/x-pack/plugins/apm/public/components/app/service_groups/use_service_groups_tour.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/service_groups/use_service_groups_tour.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/service_groups/use_service_groups_tour.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/service_groups/use_service_groups_tour.tsx diff --git a/x-pack/plugins/apm/public/components/app/service_inventory/index.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/service_inventory/index.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/service_inventory/index.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/service_inventory/index.tsx diff --git a/x-pack/plugins/apm/public/components/app/service_inventory/service_inventory.stories.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/service_inventory/service_inventory.stories.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/service_inventory/service_inventory.stories.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/service_inventory/service_inventory.stories.tsx diff --git a/x-pack/plugins/apm/public/components/app/service_inventory/service_list/__fixtures__/service_api_mock_data.ts b/x-pack/plugins/observability_solution/apm/public/components/app/service_inventory/service_list/__fixtures__/service_api_mock_data.ts similarity index 100% rename from x-pack/plugins/apm/public/components/app/service_inventory/service_list/__fixtures__/service_api_mock_data.ts rename to x-pack/plugins/observability_solution/apm/public/components/app/service_inventory/service_list/__fixtures__/service_api_mock_data.ts diff --git a/x-pack/plugins/apm/public/components/app/service_inventory/service_list/health_badge.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/service_inventory/service_list/health_badge.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/service_inventory/service_list/health_badge.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/service_inventory/service_list/health_badge.tsx diff --git a/x-pack/plugins/apm/public/components/app/service_inventory/service_list/index.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/service_inventory/service_list/index.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/service_inventory/service_list/index.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/service_inventory/service_list/index.tsx diff --git a/x-pack/plugins/apm/public/components/app/service_inventory/service_list/order_service_items.test.ts b/x-pack/plugins/observability_solution/apm/public/components/app/service_inventory/service_list/order_service_items.test.ts similarity index 100% rename from x-pack/plugins/apm/public/components/app/service_inventory/service_list/order_service_items.test.ts rename to x-pack/plugins/observability_solution/apm/public/components/app/service_inventory/service_list/order_service_items.test.ts diff --git a/x-pack/plugins/apm/public/components/app/service_inventory/service_list/order_service_items.ts b/x-pack/plugins/observability_solution/apm/public/components/app/service_inventory/service_list/order_service_items.ts similarity index 100% rename from x-pack/plugins/apm/public/components/app/service_inventory/service_list/order_service_items.ts rename to x-pack/plugins/observability_solution/apm/public/components/app/service_inventory/service_list/order_service_items.ts diff --git a/x-pack/plugins/apm/public/components/app/service_inventory/service_list/service_list.stories.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/service_inventory/service_list/service_list.stories.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/service_inventory/service_list/service_list.stories.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/service_inventory/service_list/service_list.stories.tsx diff --git a/x-pack/plugins/apm/public/components/app/service_inventory/service_list/service_list.test.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/service_inventory/service_list/service_list.test.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/service_inventory/service_list/service_list.test.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/service_inventory/service_list/service_list.test.tsx diff --git a/x-pack/plugins/apm/public/components/app/service_logs/index.test.ts b/x-pack/plugins/observability_solution/apm/public/components/app/service_logs/index.test.ts similarity index 100% rename from x-pack/plugins/apm/public/components/app/service_logs/index.test.ts rename to x-pack/plugins/observability_solution/apm/public/components/app/service_logs/index.test.ts diff --git a/x-pack/plugins/apm/public/components/app/service_logs/index.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/service_logs/index.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/service_logs/index.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/service_logs/index.tsx diff --git a/x-pack/plugins/apm/public/components/app/service_map/__stories__/centerer.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/service_map/__stories__/centerer.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/service_map/__stories__/centerer.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/service_map/__stories__/centerer.tsx diff --git a/x-pack/plugins/apm/public/components/app/service_map/__stories__/cytoscape.stories.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/service_map/__stories__/cytoscape.stories.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/service_map/__stories__/cytoscape.stories.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/service_map/__stories__/cytoscape.stories.tsx diff --git a/x-pack/plugins/apm/public/components/app/service_map/__stories__/cytoscape_example_data.stories.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/service_map/__stories__/cytoscape_example_data.stories.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/service_map/__stories__/cytoscape_example_data.stories.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/service_map/__stories__/cytoscape_example_data.stories.tsx diff --git a/x-pack/plugins/apm/public/components/app/service_map/__stories__/example_grouped_connections.json b/x-pack/plugins/observability_solution/apm/public/components/app/service_map/__stories__/example_grouped_connections.json similarity index 100% rename from x-pack/plugins/apm/public/components/app/service_map/__stories__/example_grouped_connections.json rename to x-pack/plugins/observability_solution/apm/public/components/app/service_map/__stories__/example_grouped_connections.json diff --git a/x-pack/plugins/apm/public/components/app/service_map/__stories__/example_response_hipster_store.json b/x-pack/plugins/observability_solution/apm/public/components/app/service_map/__stories__/example_response_hipster_store.json similarity index 100% rename from x-pack/plugins/apm/public/components/app/service_map/__stories__/example_response_hipster_store.json rename to x-pack/plugins/observability_solution/apm/public/components/app/service_map/__stories__/example_response_hipster_store.json diff --git a/x-pack/plugins/apm/public/components/app/service_map/__stories__/example_response_opbeans_beats.json b/x-pack/plugins/observability_solution/apm/public/components/app/service_map/__stories__/example_response_opbeans_beats.json similarity index 100% rename from x-pack/plugins/apm/public/components/app/service_map/__stories__/example_response_opbeans_beats.json rename to x-pack/plugins/observability_solution/apm/public/components/app/service_map/__stories__/example_response_opbeans_beats.json diff --git a/x-pack/plugins/apm/public/components/app/service_map/__stories__/example_response_todo.json b/x-pack/plugins/observability_solution/apm/public/components/app/service_map/__stories__/example_response_todo.json similarity index 100% rename from x-pack/plugins/apm/public/components/app/service_map/__stories__/example_response_todo.json rename to x-pack/plugins/observability_solution/apm/public/components/app/service_map/__stories__/example_response_todo.json diff --git a/x-pack/plugins/apm/public/components/app/service_map/__stories__/generate_service_map_elements.ts b/x-pack/plugins/observability_solution/apm/public/components/app/service_map/__stories__/generate_service_map_elements.ts similarity index 100% rename from x-pack/plugins/apm/public/components/app/service_map/__stories__/generate_service_map_elements.ts rename to x-pack/plugins/observability_solution/apm/public/components/app/service_map/__stories__/generate_service_map_elements.ts diff --git a/x-pack/plugins/apm/public/components/app/service_map/controls.test.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/service_map/controls.test.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/service_map/controls.test.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/service_map/controls.test.tsx diff --git a/x-pack/plugins/apm/public/components/app/service_map/controls.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/service_map/controls.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/service_map/controls.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/service_map/controls.tsx diff --git a/x-pack/plugins/apm/public/components/app/service_map/cytoscape.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/service_map/cytoscape.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/service_map/cytoscape.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/service_map/cytoscape.tsx diff --git a/x-pack/plugins/apm/public/components/app/service_map/cytoscape_options.ts b/x-pack/plugins/observability_solution/apm/public/components/app/service_map/cytoscape_options.ts similarity index 100% rename from x-pack/plugins/apm/public/components/app/service_map/cytoscape_options.ts rename to x-pack/plugins/observability_solution/apm/public/components/app/service_map/cytoscape_options.ts diff --git a/x-pack/plugins/apm/public/components/app/service_map/disabled_prompt.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/service_map/disabled_prompt.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/service_map/disabled_prompt.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/service_map/disabled_prompt.tsx diff --git a/x-pack/plugins/apm/public/components/app/service_map/empty_banner.test.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/service_map/empty_banner.test.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/service_map/empty_banner.test.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/service_map/empty_banner.test.tsx diff --git a/x-pack/plugins/apm/public/components/app/service_map/empty_banner.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/service_map/empty_banner.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/service_map/empty_banner.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/service_map/empty_banner.tsx diff --git a/x-pack/plugins/apm/public/components/app/service_map/empty_prompt.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/service_map/empty_prompt.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/service_map/empty_prompt.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/service_map/empty_prompt.tsx diff --git a/x-pack/plugins/apm/public/components/app/service_map/icons.ts b/x-pack/plugins/observability_solution/apm/public/components/app/service_map/icons.ts similarity index 100% rename from x-pack/plugins/apm/public/components/app/service_map/icons.ts rename to x-pack/plugins/observability_solution/apm/public/components/app/service_map/icons.ts diff --git a/x-pack/plugins/apm/public/components/app/service_map/index.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/service_map/index.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/service_map/index.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/service_map/index.tsx diff --git a/x-pack/plugins/apm/public/components/app/service_map/popover/anomaly_detection.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/service_map/popover/anomaly_detection.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/service_map/popover/anomaly_detection.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/service_map/popover/anomaly_detection.tsx diff --git a/x-pack/plugins/apm/public/components/app/service_map/popover/dependency_contents.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/service_map/popover/dependency_contents.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/service_map/popover/dependency_contents.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/service_map/popover/dependency_contents.tsx diff --git a/x-pack/plugins/apm/public/components/app/service_map/popover/edge_contents.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/service_map/popover/edge_contents.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/service_map/popover/edge_contents.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/service_map/popover/edge_contents.tsx diff --git a/x-pack/plugins/apm/public/components/app/service_map/popover/externals_list_contents.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/service_map/popover/externals_list_contents.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/service_map/popover/externals_list_contents.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/service_map/popover/externals_list_contents.tsx diff --git a/x-pack/plugins/apm/public/components/app/service_map/popover/index.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/service_map/popover/index.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/service_map/popover/index.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/service_map/popover/index.tsx diff --git a/x-pack/plugins/apm/public/components/app/service_map/popover/popover.stories.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/service_map/popover/popover.stories.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/service_map/popover/popover.stories.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/service_map/popover/popover.stories.tsx diff --git a/x-pack/plugins/apm/public/components/app/service_map/popover/popover.test.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/service_map/popover/popover.test.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/service_map/popover/popover.test.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/service_map/popover/popover.test.tsx diff --git a/x-pack/plugins/apm/public/components/app/service_map/popover/resource_contents.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/service_map/popover/resource_contents.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/service_map/popover/resource_contents.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/service_map/popover/resource_contents.tsx diff --git a/x-pack/plugins/apm/public/components/app/service_map/popover/service_contents.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/service_map/popover/service_contents.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/service_map/popover/service_contents.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/service_map/popover/service_contents.tsx diff --git a/x-pack/plugins/apm/public/components/app/service_map/popover/stats_list.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/service_map/popover/stats_list.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/service_map/popover/stats_list.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/service_map/popover/stats_list.tsx diff --git a/x-pack/plugins/apm/public/components/app/service_map/timeout_prompt.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/service_map/timeout_prompt.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/service_map/timeout_prompt.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/service_map/timeout_prompt.tsx diff --git a/x-pack/plugins/apm/public/components/app/service_map/use_cytoscape_event_handlers.test.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/service_map/use_cytoscape_event_handlers.test.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/service_map/use_cytoscape_event_handlers.test.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/service_map/use_cytoscape_event_handlers.test.tsx diff --git a/x-pack/plugins/apm/public/components/app/service_map/use_cytoscape_event_handlers.ts b/x-pack/plugins/observability_solution/apm/public/components/app/service_map/use_cytoscape_event_handlers.ts similarity index 100% rename from x-pack/plugins/apm/public/components/app/service_map/use_cytoscape_event_handlers.ts rename to x-pack/plugins/observability_solution/apm/public/components/app/service_map/use_cytoscape_event_handlers.ts diff --git a/x-pack/plugins/apm/public/components/app/service_map/use_ref_dimensions.ts b/x-pack/plugins/observability_solution/apm/public/components/app/service_map/use_ref_dimensions.ts similarity index 100% rename from x-pack/plugins/apm/public/components/app/service_map/use_ref_dimensions.ts rename to x-pack/plugins/observability_solution/apm/public/components/app/service_map/use_ref_dimensions.ts diff --git a/x-pack/plugins/apm/public/components/app/service_overview/get_throughput_screen_context.ts b/x-pack/plugins/observability_solution/apm/public/components/app/service_overview/get_throughput_screen_context.ts similarity index 100% rename from x-pack/plugins/apm/public/components/app/service_overview/get_throughput_screen_context.ts rename to x-pack/plugins/observability_solution/apm/public/components/app/service_overview/get_throughput_screen_context.ts diff --git a/x-pack/plugins/apm/public/components/app/service_overview/index.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/service_overview/index.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/service_overview/index.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/service_overview/index.tsx diff --git a/x-pack/plugins/apm/public/components/app/service_overview/service_overview.stories.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/service_overview/service_overview.stories.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/service_overview/service_overview.stories.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/service_overview/service_overview.stories.tsx diff --git a/x-pack/plugins/apm/public/components/app/service_overview/service_overview.test.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/service_overview/service_overview.test.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/service_overview/service_overview.test.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/service_overview/service_overview.test.tsx diff --git a/x-pack/plugins/apm/public/components/app/service_overview/service_overview_dependencies_table/index.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/service_overview/service_overview_dependencies_table/index.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/service_overview/service_overview_dependencies_table/index.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/service_overview/service_overview_dependencies_table/index.tsx diff --git a/x-pack/plugins/apm/public/components/app/service_overview/service_overview_errors_table/index.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/service_overview/service_overview_errors_table/index.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/service_overview/service_overview_errors_table/index.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/service_overview/service_overview_errors_table/index.tsx diff --git a/x-pack/plugins/apm/public/components/app/service_overview/service_overview_instances_chart_and_table.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/service_overview/service_overview_instances_chart_and_table.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/service_overview/service_overview_instances_chart_and_table.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/service_overview/service_overview_instances_chart_and_table.tsx diff --git a/x-pack/plugins/apm/public/components/app/service_overview/service_overview_instances_table/get_columns.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/service_overview/service_overview_instances_table/get_columns.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/service_overview/service_overview_instances_table/get_columns.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/service_overview/service_overview_instances_table/get_columns.tsx diff --git a/x-pack/plugins/apm/public/components/app/service_overview/service_overview_instances_table/index.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/service_overview/service_overview_instances_table/index.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/service_overview/service_overview_instances_table/index.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/service_overview/service_overview_instances_table/index.tsx diff --git a/x-pack/plugins/apm/public/components/app/service_overview/service_overview_instances_table/instance_actions_menu/index.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/service_overview/service_overview_instances_table/instance_actions_menu/index.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/service_overview/service_overview_instances_table/instance_actions_menu/index.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/service_overview/service_overview_instances_table/instance_actions_menu/index.tsx diff --git a/x-pack/plugins/apm/public/components/app/service_overview/service_overview_instances_table/instance_actions_menu/menu_sections.ts b/x-pack/plugins/observability_solution/apm/public/components/app/service_overview/service_overview_instances_table/instance_actions_menu/menu_sections.ts similarity index 100% rename from x-pack/plugins/apm/public/components/app/service_overview/service_overview_instances_table/instance_actions_menu/menu_sections.ts rename to x-pack/plugins/observability_solution/apm/public/components/app/service_overview/service_overview_instances_table/instance_actions_menu/menu_sections.ts diff --git a/x-pack/plugins/apm/public/components/app/service_overview/service_overview_instances_table/instance_details.test.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/service_overview/service_overview_instances_table/instance_details.test.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/service_overview/service_overview_instances_table/instance_details.test.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/service_overview/service_overview_instances_table/instance_details.test.tsx diff --git a/x-pack/plugins/apm/public/components/app/service_overview/service_overview_instances_table/intance_details.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/service_overview/service_overview_instances_table/intance_details.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/service_overview/service_overview_instances_table/intance_details.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/service_overview/service_overview_instances_table/intance_details.tsx diff --git a/x-pack/plugins/apm/public/components/app/service_overview/service_overview_instances_table/use_instance_details_fetcher.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/service_overview/service_overview_instances_table/use_instance_details_fetcher.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/service_overview/service_overview_instances_table/use_instance_details_fetcher.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/service_overview/service_overview_instances_table/use_instance_details_fetcher.tsx diff --git a/x-pack/plugins/apm/public/components/app/service_overview/service_overview_throughput_chart.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/service_overview/service_overview_throughput_chart.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/service_overview/service_overview_throughput_chart.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/service_overview/service_overview_throughput_chart.tsx diff --git a/x-pack/plugins/apm/public/components/app/settings/agent_configurations/agent_configuration_create_edit/index.stories.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/settings/agent_configurations/agent_configuration_create_edit/index.stories.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/settings/agent_configurations/agent_configuration_create_edit/index.stories.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/settings/agent_configurations/agent_configuration_create_edit/index.stories.tsx diff --git a/x-pack/plugins/apm/public/components/app/settings/agent_configurations/agent_configuration_create_edit/index.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/settings/agent_configurations/agent_configuration_create_edit/index.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/settings/agent_configurations/agent_configuration_create_edit/index.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/settings/agent_configurations/agent_configuration_create_edit/index.tsx diff --git a/x-pack/plugins/apm/public/components/app/settings/agent_configurations/agent_configuration_create_edit/service_page/form_row_select.tsx b/x-pack/plugins/observability_solution/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/apm/public/components/app/settings/agent_configurations/agent_configuration_create_edit/service_page/form_row_select.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/settings/agent_configurations/agent_configuration_create_edit/service_page/form_row_select.tsx diff --git a/x-pack/plugins/apm/public/components/app/settings/agent_configurations/agent_configuration_create_edit/service_page/form_row_suggestions_select.tsx b/x-pack/plugins/observability_solution/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/apm/public/components/app/settings/agent_configurations/agent_configuration_create_edit/service_page/form_row_suggestions_select.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/settings/agent_configurations/agent_configuration_create_edit/service_page/form_row_suggestions_select.tsx diff --git a/x-pack/plugins/apm/public/components/app/settings/agent_configurations/agent_configuration_create_edit/service_page/service_page.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/settings/agent_configurations/agent_configuration_create_edit/service_page/service_page.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/settings/agent_configurations/agent_configuration_create_edit/service_page/service_page.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/settings/agent_configurations/agent_configuration_create_edit/service_page/service_page.tsx diff --git a/x-pack/plugins/apm/public/components/app/settings/agent_configurations/agent_configuration_create_edit/settings_page/save_config.ts b/x-pack/plugins/observability_solution/apm/public/components/app/settings/agent_configurations/agent_configuration_create_edit/settings_page/save_config.ts similarity index 100% rename from x-pack/plugins/apm/public/components/app/settings/agent_configurations/agent_configuration_create_edit/settings_page/save_config.ts rename to x-pack/plugins/observability_solution/apm/public/components/app/settings/agent_configurations/agent_configuration_create_edit/settings_page/save_config.ts diff --git a/x-pack/plugins/apm/public/components/app/settings/agent_configurations/agent_configuration_create_edit/settings_page/setting_form_row.tsx b/x-pack/plugins/observability_solution/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/apm/public/components/app/settings/agent_configurations/agent_configuration_create_edit/settings_page/setting_form_row.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/settings/agent_configurations/agent_configuration_create_edit/settings_page/setting_form_row.tsx diff --git a/x-pack/plugins/apm/public/components/app/settings/agent_configurations/agent_configuration_create_edit/settings_page/settings_page.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/settings/agent_configurations/agent_configuration_create_edit/settings_page/settings_page.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/settings/agent_configurations/agent_configuration_create_edit/settings_page/settings_page.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/settings/agent_configurations/agent_configuration_create_edit/settings_page/settings_page.tsx diff --git a/x-pack/plugins/apm/public/components/app/settings/agent_configurations/index.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/settings/agent_configurations/index.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/settings/agent_configurations/index.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/settings/agent_configurations/index.tsx diff --git a/x-pack/plugins/apm/public/components/app/settings/agent_configurations/list/confirm_delete_modal.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/settings/agent_configurations/list/confirm_delete_modal.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/settings/agent_configurations/list/confirm_delete_modal.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/settings/agent_configurations/list/confirm_delete_modal.tsx diff --git a/x-pack/plugins/apm/public/components/app/settings/agent_configurations/list/index.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/settings/agent_configurations/list/index.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/settings/agent_configurations/list/index.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/settings/agent_configurations/list/index.tsx diff --git a/x-pack/plugins/apm/public/components/app/settings/agent_explorer/agent_explorer_docs_link/index.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/settings/agent_explorer/agent_explorer_docs_link/index.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/settings/agent_explorer/agent_explorer_docs_link/index.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/settings/agent_explorer/agent_explorer_docs_link/index.tsx diff --git a/x-pack/plugins/apm/public/components/app/settings/agent_explorer/agent_instances/agent_contextual_information/index.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/settings/agent_explorer/agent_instances/agent_contextual_information/index.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/settings/agent_explorer/agent_instances/agent_contextual_information/index.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/settings/agent_explorer/agent_instances/agent_contextual_information/index.tsx diff --git a/x-pack/plugins/apm/public/components/app/settings/agent_explorer/agent_instances/agent_instances_details/index.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/settings/agent_explorer/agent_instances/agent_instances_details/index.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/settings/agent_explorer/agent_instances/agent_instances_details/index.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/settings/agent_explorer/agent_instances/agent_instances_details/index.tsx diff --git a/x-pack/plugins/apm/public/components/app/settings/agent_explorer/agent_instances/index.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/settings/agent_explorer/agent_instances/index.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/settings/agent_explorer/agent_instances/index.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/settings/agent_explorer/agent_instances/index.tsx diff --git a/x-pack/plugins/apm/public/components/app/settings/agent_explorer/agent_latest_version/index.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/settings/agent_explorer/agent_latest_version/index.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/settings/agent_explorer/agent_latest_version/index.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/settings/agent_explorer/agent_latest_version/index.tsx diff --git a/x-pack/plugins/apm/public/components/app/settings/agent_explorer/agent_list/index.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/settings/agent_explorer/agent_list/index.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/settings/agent_explorer/agent_list/index.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/settings/agent_explorer/agent_list/index.tsx diff --git a/x-pack/plugins/apm/public/components/app/settings/agent_explorer/index.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/settings/agent_explorer/index.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/settings/agent_explorer/index.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/settings/agent_explorer/index.tsx diff --git a/x-pack/plugins/apm/public/components/app/settings/agent_keys/agent_keys_table.stories.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/settings/agent_keys/agent_keys_table.stories.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/settings/agent_keys/agent_keys_table.stories.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/settings/agent_keys/agent_keys_table.stories.tsx diff --git a/x-pack/plugins/apm/public/components/app/settings/agent_keys/agent_keys_table.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/settings/agent_keys/agent_keys_table.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/settings/agent_keys/agent_keys_table.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/settings/agent_keys/agent_keys_table.tsx diff --git a/x-pack/plugins/apm/public/components/app/settings/agent_keys/confirm_delete_modal.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/settings/agent_keys/confirm_delete_modal.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/settings/agent_keys/confirm_delete_modal.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/settings/agent_keys/confirm_delete_modal.tsx diff --git a/x-pack/plugins/apm/public/components/app/settings/agent_keys/create_agent_key.stories.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/settings/agent_keys/create_agent_key.stories.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/settings/agent_keys/create_agent_key.stories.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/settings/agent_keys/create_agent_key.stories.tsx diff --git a/x-pack/plugins/apm/public/components/app/settings/agent_keys/create_agent_key.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/settings/agent_keys/create_agent_key.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/settings/agent_keys/create_agent_key.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/settings/agent_keys/create_agent_key.tsx diff --git a/x-pack/plugins/apm/public/components/app/settings/agent_keys/create_agent_key/agent_key_callout.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/settings/agent_keys/create_agent_key/agent_key_callout.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/settings/agent_keys/create_agent_key/agent_key_callout.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/settings/agent_keys/create_agent_key/agent_key_callout.tsx diff --git a/x-pack/plugins/apm/public/components/app/settings/agent_keys/index.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/settings/agent_keys/index.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/settings/agent_keys/index.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/settings/agent_keys/index.tsx diff --git a/x-pack/plugins/apm/public/components/app/settings/agent_keys/prompts/api_keys_not_enabled.stories.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/settings/agent_keys/prompts/api_keys_not_enabled.stories.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/settings/agent_keys/prompts/api_keys_not_enabled.stories.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/settings/agent_keys/prompts/api_keys_not_enabled.stories.tsx diff --git a/x-pack/plugins/apm/public/components/app/settings/agent_keys/prompts/api_keys_not_enabled.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/settings/agent_keys/prompts/api_keys_not_enabled.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/settings/agent_keys/prompts/api_keys_not_enabled.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/settings/agent_keys/prompts/api_keys_not_enabled.tsx diff --git a/x-pack/plugins/apm/public/components/app/settings/agent_keys/prompts/permission_denied.stories.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/settings/agent_keys/prompts/permission_denied.stories.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/settings/agent_keys/prompts/permission_denied.stories.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/settings/agent_keys/prompts/permission_denied.stories.tsx diff --git a/x-pack/plugins/apm/public/components/app/settings/agent_keys/prompts/permission_denied.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/settings/agent_keys/prompts/permission_denied.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/settings/agent_keys/prompts/permission_denied.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/settings/agent_keys/prompts/permission_denied.tsx diff --git a/x-pack/plugins/apm/public/components/app/settings/anomaly_detection/add_environments.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/settings/anomaly_detection/add_environments.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/settings/anomaly_detection/add_environments.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/settings/anomaly_detection/add_environments.tsx diff --git a/x-pack/plugins/apm/public/components/app/settings/anomaly_detection/create_jobs.ts b/x-pack/plugins/observability_solution/apm/public/components/app/settings/anomaly_detection/create_jobs.ts similarity index 100% rename from x-pack/plugins/apm/public/components/app/settings/anomaly_detection/create_jobs.ts rename to x-pack/plugins/observability_solution/apm/public/components/app/settings/anomaly_detection/create_jobs.ts diff --git a/x-pack/plugins/apm/public/components/app/settings/anomaly_detection/index.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/settings/anomaly_detection/index.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/settings/anomaly_detection/index.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/settings/anomaly_detection/index.tsx diff --git a/x-pack/plugins/apm/public/components/app/settings/anomaly_detection/jobs_list.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/settings/anomaly_detection/jobs_list.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/settings/anomaly_detection/jobs_list.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/settings/anomaly_detection/jobs_list.tsx diff --git a/x-pack/plugins/apm/public/components/app/settings/anomaly_detection/jobs_list_status.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/settings/anomaly_detection/jobs_list_status.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/settings/anomaly_detection/jobs_list_status.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/settings/anomaly_detection/jobs_list_status.tsx diff --git a/x-pack/plugins/apm/public/components/app/settings/apm_indices/index.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/settings/apm_indices/index.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/settings/apm_indices/index.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/settings/apm_indices/index.tsx diff --git a/x-pack/plugins/apm/public/components/app/settings/custom_link/create_custom_link_button.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/settings/custom_link/create_custom_link_button.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/settings/custom_link/create_custom_link_button.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/settings/custom_link/create_custom_link_button.tsx diff --git a/x-pack/plugins/apm/public/components/app/settings/custom_link/create_edit_custom_link_flyout/delete_button.test.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/settings/custom_link/create_edit_custom_link_flyout/delete_button.test.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/settings/custom_link/create_edit_custom_link_flyout/delete_button.test.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/settings/custom_link/create_edit_custom_link_flyout/delete_button.test.tsx diff --git a/x-pack/plugins/apm/public/components/app/settings/custom_link/create_edit_custom_link_flyout/delete_button.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/settings/custom_link/create_edit_custom_link_flyout/delete_button.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/settings/custom_link/create_edit_custom_link_flyout/delete_button.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/settings/custom_link/create_edit_custom_link_flyout/delete_button.tsx diff --git a/x-pack/plugins/apm/public/components/app/settings/custom_link/create_edit_custom_link_flyout/documentation.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/settings/custom_link/create_edit_custom_link_flyout/documentation.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/settings/custom_link/create_edit_custom_link_flyout/documentation.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/settings/custom_link/create_edit_custom_link_flyout/documentation.tsx diff --git a/x-pack/plugins/apm/public/components/app/settings/custom_link/create_edit_custom_link_flyout/filters_section.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/settings/custom_link/create_edit_custom_link_flyout/filters_section.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/settings/custom_link/create_edit_custom_link_flyout/filters_section.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/settings/custom_link/create_edit_custom_link_flyout/filters_section.tsx diff --git a/x-pack/plugins/apm/public/components/app/settings/custom_link/create_edit_custom_link_flyout/flyout_footer.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/settings/custom_link/create_edit_custom_link_flyout/flyout_footer.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/settings/custom_link/create_edit_custom_link_flyout/flyout_footer.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/settings/custom_link/create_edit_custom_link_flyout/flyout_footer.tsx diff --git a/x-pack/plugins/apm/public/components/app/settings/custom_link/create_edit_custom_link_flyout/helper.test.ts b/x-pack/plugins/observability_solution/apm/public/components/app/settings/custom_link/create_edit_custom_link_flyout/helper.test.ts similarity index 100% rename from x-pack/plugins/apm/public/components/app/settings/custom_link/create_edit_custom_link_flyout/helper.test.ts rename to x-pack/plugins/observability_solution/apm/public/components/app/settings/custom_link/create_edit_custom_link_flyout/helper.test.ts diff --git a/x-pack/plugins/apm/public/components/app/settings/custom_link/create_edit_custom_link_flyout/helper.ts b/x-pack/plugins/observability_solution/apm/public/components/app/settings/custom_link/create_edit_custom_link_flyout/helper.ts similarity index 100% rename from x-pack/plugins/apm/public/components/app/settings/custom_link/create_edit_custom_link_flyout/helper.ts rename to x-pack/plugins/observability_solution/apm/public/components/app/settings/custom_link/create_edit_custom_link_flyout/helper.ts diff --git a/x-pack/plugins/apm/public/components/app/settings/custom_link/create_edit_custom_link_flyout/index.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/settings/custom_link/create_edit_custom_link_flyout/index.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/settings/custom_link/create_edit_custom_link_flyout/index.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/settings/custom_link/create_edit_custom_link_flyout/index.tsx diff --git a/x-pack/plugins/apm/public/components/app/settings/custom_link/create_edit_custom_link_flyout/link_preview.stories.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/settings/custom_link/create_edit_custom_link_flyout/link_preview.stories.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/settings/custom_link/create_edit_custom_link_flyout/link_preview.stories.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/settings/custom_link/create_edit_custom_link_flyout/link_preview.stories.tsx diff --git a/x-pack/plugins/apm/public/components/app/settings/custom_link/create_edit_custom_link_flyout/link_preview.test.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/settings/custom_link/create_edit_custom_link_flyout/link_preview.test.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/settings/custom_link/create_edit_custom_link_flyout/link_preview.test.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/settings/custom_link/create_edit_custom_link_flyout/link_preview.test.tsx diff --git a/x-pack/plugins/apm/public/components/app/settings/custom_link/create_edit_custom_link_flyout/link_preview.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/settings/custom_link/create_edit_custom_link_flyout/link_preview.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/settings/custom_link/create_edit_custom_link_flyout/link_preview.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/settings/custom_link/create_edit_custom_link_flyout/link_preview.tsx diff --git a/x-pack/plugins/apm/public/components/app/settings/custom_link/create_edit_custom_link_flyout/link_section.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/settings/custom_link/create_edit_custom_link_flyout/link_section.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/settings/custom_link/create_edit_custom_link_flyout/link_section.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/settings/custom_link/create_edit_custom_link_flyout/link_section.tsx diff --git a/x-pack/plugins/apm/public/components/app/settings/custom_link/create_edit_custom_link_flyout/save_custom_link.ts b/x-pack/plugins/observability_solution/apm/public/components/app/settings/custom_link/create_edit_custom_link_flyout/save_custom_link.ts similarity index 100% rename from x-pack/plugins/apm/public/components/app/settings/custom_link/create_edit_custom_link_flyout/save_custom_link.ts rename to x-pack/plugins/observability_solution/apm/public/components/app/settings/custom_link/create_edit_custom_link_flyout/save_custom_link.ts diff --git a/x-pack/plugins/apm/public/components/app/settings/custom_link/custom_link_table.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/settings/custom_link/custom_link_table.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/settings/custom_link/custom_link_table.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/settings/custom_link/custom_link_table.tsx diff --git a/x-pack/plugins/apm/public/components/app/settings/custom_link/empty_prompt.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/settings/custom_link/empty_prompt.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/settings/custom_link/empty_prompt.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/settings/custom_link/empty_prompt.tsx diff --git a/x-pack/plugins/apm/public/components/app/settings/custom_link/index.test.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/settings/custom_link/index.test.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/settings/custom_link/index.test.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/settings/custom_link/index.test.tsx diff --git a/x-pack/plugins/apm/public/components/app/settings/custom_link/index.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/settings/custom_link/index.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/settings/custom_link/index.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/settings/custom_link/index.tsx diff --git a/x-pack/plugins/apm/public/components/app/settings/general_settings/index.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/settings/general_settings/index.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/settings/general_settings/index.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/settings/general_settings/index.tsx diff --git a/x-pack/plugins/apm/public/components/app/settings/schema/blog_rocket_720x420.png b/x-pack/plugins/observability_solution/apm/public/components/app/settings/schema/blog_rocket_720x420.png similarity index 100% rename from x-pack/plugins/apm/public/components/app/settings/schema/blog_rocket_720x420.png rename to x-pack/plugins/observability_solution/apm/public/components/app/settings/schema/blog_rocket_720x420.png diff --git a/x-pack/plugins/apm/public/components/app/settings/schema/confirm_switch_modal.stories.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/settings/schema/confirm_switch_modal.stories.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/settings/schema/confirm_switch_modal.stories.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/settings/schema/confirm_switch_modal.stories.tsx diff --git a/x-pack/plugins/apm/public/components/app/settings/schema/confirm_switch_modal.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/settings/schema/confirm_switch_modal.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/settings/schema/confirm_switch_modal.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/settings/schema/confirm_switch_modal.tsx diff --git a/x-pack/plugins/apm/public/components/app/settings/schema/index.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/settings/schema/index.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/settings/schema/index.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/settings/schema/index.tsx diff --git a/x-pack/plugins/apm/public/components/app/settings/schema/migrated/card_footer_content.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/settings/schema/migrated/card_footer_content.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/settings/schema/migrated/card_footer_content.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/settings/schema/migrated/card_footer_content.tsx diff --git a/x-pack/plugins/apm/public/components/app/settings/schema/migrated/successful_migration_card.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/settings/schema/migrated/successful_migration_card.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/settings/schema/migrated/successful_migration_card.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/settings/schema/migrated/successful_migration_card.tsx diff --git a/x-pack/plugins/apm/public/components/app/settings/schema/migrated/upgrade_available_card.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/settings/schema/migrated/upgrade_available_card.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/settings/schema/migrated/upgrade_available_card.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/settings/schema/migrated/upgrade_available_card.tsx diff --git a/x-pack/plugins/apm/public/components/app/settings/schema/migration_in_progress_panel.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/settings/schema/migration_in_progress_panel.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/settings/schema/migration_in_progress_panel.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/settings/schema/migration_in_progress_panel.tsx diff --git a/x-pack/plugins/apm/public/components/app/settings/schema/schema.stories.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/settings/schema/schema.stories.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/settings/schema/schema.stories.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/settings/schema/schema.stories.tsx diff --git a/x-pack/plugins/apm/public/components/app/settings/schema/schema_overview.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/settings/schema/schema_overview.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/settings/schema/schema_overview.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/settings/schema/schema_overview.tsx diff --git a/x-pack/plugins/apm/public/components/app/storage_explorer/get_storage_explorer_links.ts b/x-pack/plugins/observability_solution/apm/public/components/app/storage_explorer/get_storage_explorer_links.ts similarity index 100% rename from x-pack/plugins/apm/public/components/app/storage_explorer/get_storage_explorer_links.ts rename to x-pack/plugins/observability_solution/apm/public/components/app/storage_explorer/get_storage_explorer_links.ts diff --git a/x-pack/plugins/apm/public/components/app/storage_explorer/index.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/storage_explorer/index.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/storage_explorer/index.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/storage_explorer/index.tsx diff --git a/x-pack/plugins/apm/public/components/app/storage_explorer/index_lifecycle_phase_select.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/storage_explorer/index_lifecycle_phase_select.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/storage_explorer/index_lifecycle_phase_select.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/storage_explorer/index_lifecycle_phase_select.tsx diff --git a/x-pack/plugins/apm/public/components/app/storage_explorer/prompts/permission_denied.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/storage_explorer/prompts/permission_denied.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/storage_explorer/prompts/permission_denied.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/storage_explorer/prompts/permission_denied.tsx diff --git a/x-pack/plugins/apm/public/components/app/storage_explorer/resources/tips_and_resources.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/storage_explorer/resources/tips_and_resources.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/storage_explorer/resources/tips_and_resources.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/storage_explorer/resources/tips_and_resources.tsx diff --git a/x-pack/plugins/apm/public/components/app/storage_explorer/services_table/index.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/storage_explorer/services_table/index.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/storage_explorer/services_table/index.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/storage_explorer/services_table/index.tsx diff --git a/x-pack/plugins/apm/public/components/app/storage_explorer/services_table/index_stats_per_service.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/storage_explorer/services_table/index_stats_per_service.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/storage_explorer/services_table/index_stats_per_service.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/storage_explorer/services_table/index_stats_per_service.tsx diff --git a/x-pack/plugins/apm/public/components/app/storage_explorer/services_table/size_label.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/storage_explorer/services_table/size_label.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/storage_explorer/services_table/size_label.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/storage_explorer/services_table/size_label.tsx diff --git a/x-pack/plugins/apm/public/components/app/storage_explorer/services_table/storage_details_per_service.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/storage_explorer/services_table/storage_details_per_service.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/storage_explorer/services_table/storage_details_per_service.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/storage_explorer/services_table/storage_details_per_service.tsx diff --git a/x-pack/plugins/apm/public/components/app/storage_explorer/storage_chart.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/storage_explorer/storage_chart.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/storage_explorer/storage_chart.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/storage_explorer/storage_chart.tsx diff --git a/x-pack/plugins/apm/public/components/app/storage_explorer/summary_stats.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/storage_explorer/summary_stats.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/storage_explorer/summary_stats.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/storage_explorer/summary_stats.tsx diff --git a/x-pack/plugins/apm/public/components/app/top_traces_overview/index.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/top_traces_overview/index.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/top_traces_overview/index.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/top_traces_overview/index.tsx diff --git a/x-pack/plugins/apm/public/components/app/top_traces_overview/trace_list.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/top_traces_overview/trace_list.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/top_traces_overview/trace_list.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/top_traces_overview/trace_list.tsx diff --git a/x-pack/plugins/apm/public/components/app/trace_explorer/index.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/trace_explorer/index.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/trace_explorer/index.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/trace_explorer/index.tsx diff --git a/x-pack/plugins/apm/public/components/app/trace_explorer/trace_explorer_aggregated_critical_path.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/trace_explorer/trace_explorer_aggregated_critical_path.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/trace_explorer/trace_explorer_aggregated_critical_path.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/trace_explorer/trace_explorer_aggregated_critical_path.tsx diff --git a/x-pack/plugins/apm/public/components/app/trace_explorer/trace_explorer_waterfall.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/trace_explorer/trace_explorer_waterfall.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/trace_explorer/trace_explorer_waterfall.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/trace_explorer/trace_explorer_waterfall.tsx diff --git a/x-pack/plugins/apm/public/components/app/trace_explorer/trace_search_box/index.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/trace_explorer/trace_search_box/index.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/trace_explorer/trace_search_box/index.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/trace_explorer/trace_search_box/index.tsx diff --git a/x-pack/plugins/apm/public/components/app/trace_link/get_redirect_to_trace_page_url.ts b/x-pack/plugins/observability_solution/apm/public/components/app/trace_link/get_redirect_to_trace_page_url.ts similarity index 100% rename from x-pack/plugins/apm/public/components/app/trace_link/get_redirect_to_trace_page_url.ts rename to x-pack/plugins/observability_solution/apm/public/components/app/trace_link/get_redirect_to_trace_page_url.ts diff --git a/x-pack/plugins/apm/public/components/app/trace_link/get_redirect_to_transaction_detail_page_url.test.ts b/x-pack/plugins/observability_solution/apm/public/components/app/trace_link/get_redirect_to_transaction_detail_page_url.test.ts similarity index 100% rename from x-pack/plugins/apm/public/components/app/trace_link/get_redirect_to_transaction_detail_page_url.test.ts rename to x-pack/plugins/observability_solution/apm/public/components/app/trace_link/get_redirect_to_transaction_detail_page_url.test.ts diff --git a/x-pack/plugins/apm/public/components/app/trace_link/get_redirect_to_transaction_detail_page_url.ts b/x-pack/plugins/observability_solution/apm/public/components/app/trace_link/get_redirect_to_transaction_detail_page_url.ts similarity index 100% rename from x-pack/plugins/apm/public/components/app/trace_link/get_redirect_to_transaction_detail_page_url.ts rename to x-pack/plugins/observability_solution/apm/public/components/app/trace_link/get_redirect_to_transaction_detail_page_url.ts diff --git a/x-pack/plugins/apm/public/components/app/trace_link/index.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/trace_link/index.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/trace_link/index.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/trace_link/index.tsx diff --git a/x-pack/plugins/apm/public/components/app/trace_link/trace_link.test.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/trace_link/trace_link.test.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/trace_link/trace_link.test.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/trace_link/trace_link.test.tsx diff --git a/x-pack/plugins/apm/public/components/app/trace_overview/index.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/trace_overview/index.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/trace_overview/index.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/trace_overview/index.tsx diff --git a/x-pack/plugins/apm/public/components/app/transaction_details/aggregated_critical_path_tab.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/transaction_details/aggregated_critical_path_tab.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/transaction_details/aggregated_critical_path_tab.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/transaction_details/aggregated_critical_path_tab.tsx diff --git a/x-pack/plugins/apm/public/components/app/transaction_details/distribution/index.test.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/transaction_details/distribution/index.test.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/transaction_details/distribution/index.test.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/transaction_details/distribution/index.test.tsx diff --git a/x-pack/plugins/apm/public/components/app/transaction_details/distribution/index.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/transaction_details/distribution/index.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/transaction_details/distribution/index.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/transaction_details/distribution/index.tsx diff --git a/x-pack/plugins/apm/public/components/app/transaction_details/distribution/use_transaction_distribution_chart_data.ts b/x-pack/plugins/observability_solution/apm/public/components/app/transaction_details/distribution/use_transaction_distribution_chart_data.ts similarity index 100% rename from x-pack/plugins/apm/public/components/app/transaction_details/distribution/use_transaction_distribution_chart_data.ts rename to x-pack/plugins/observability_solution/apm/public/components/app/transaction_details/distribution/use_transaction_distribution_chart_data.ts diff --git a/x-pack/plugins/apm/public/components/app/transaction_details/failed_transactions_correlations_tab.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/transaction_details/failed_transactions_correlations_tab.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/transaction_details/failed_transactions_correlations_tab.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/transaction_details/failed_transactions_correlations_tab.tsx diff --git a/x-pack/plugins/apm/public/components/app/transaction_details/index.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/transaction_details/index.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/transaction_details/index.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/transaction_details/index.tsx diff --git a/x-pack/plugins/apm/public/components/app/transaction_details/latency_correlations_tab.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/transaction_details/latency_correlations_tab.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/transaction_details/latency_correlations_tab.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/transaction_details/latency_correlations_tab.tsx diff --git a/x-pack/plugins/apm/public/components/app/transaction_details/profiling_flamegraph.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/transaction_details/profiling_flamegraph.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/transaction_details/profiling_flamegraph.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/transaction_details/profiling_flamegraph.tsx diff --git a/x-pack/plugins/apm/public/components/app/transaction_details/profiling_tab.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/transaction_details/profiling_tab.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/transaction_details/profiling_tab.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/transaction_details/profiling_tab.tsx diff --git a/x-pack/plugins/apm/public/components/app/transaction_details/profiling_top_functions.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/transaction_details/profiling_top_functions.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/transaction_details/profiling_top_functions.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/transaction_details/profiling_top_functions.tsx diff --git a/x-pack/plugins/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 similarity index 100% rename from x-pack/plugins/apm/public/components/app/transaction_details/top_errors/index.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/transaction_details/top_errors/index.tsx diff --git a/x-pack/plugins/apm/public/components/app/transaction_details/trace_samples_tab.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/transaction_details/trace_samples_tab.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/transaction_details/trace_samples_tab.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/transaction_details/trace_samples_tab.tsx diff --git a/x-pack/plugins/apm/public/components/app/transaction_details/transaction_details_tabs.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/transaction_details/transaction_details_tabs.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/transaction_details/transaction_details_tabs.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/transaction_details/transaction_details_tabs.tsx diff --git a/x-pack/plugins/apm/public/components/app/transaction_details/use_waterfall_fetcher.ts b/x-pack/plugins/observability_solution/apm/public/components/app/transaction_details/use_waterfall_fetcher.ts similarity index 100% rename from x-pack/plugins/apm/public/components/app/transaction_details/use_waterfall_fetcher.ts rename to x-pack/plugins/observability_solution/apm/public/components/app/transaction_details/use_waterfall_fetcher.ts diff --git a/x-pack/plugins/apm/public/components/app/transaction_details/waterfall_with_summary/index.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/transaction_details/waterfall_with_summary/index.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/transaction_details/waterfall_with_summary/index.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/transaction_details/waterfall_with_summary/index.tsx diff --git a/x-pack/plugins/apm/public/components/app/transaction_details/waterfall_with_summary/maybe_view_trace_link.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/transaction_details/waterfall_with_summary/maybe_view_trace_link.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/transaction_details/waterfall_with_summary/maybe_view_trace_link.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/transaction_details/waterfall_with_summary/maybe_view_trace_link.tsx diff --git a/x-pack/plugins/apm/public/components/app/transaction_details/waterfall_with_summary/percent_of_parent.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/transaction_details/waterfall_with_summary/percent_of_parent.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/transaction_details/waterfall_with_summary/percent_of_parent.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/transaction_details/waterfall_with_summary/percent_of_parent.tsx diff --git a/x-pack/plugins/apm/public/components/app/transaction_details/waterfall_with_summary/transaction_tabs.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/transaction_details/waterfall_with_summary/transaction_tabs.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/transaction_details/waterfall_with_summary/transaction_tabs.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/transaction_details/waterfall_with_summary/transaction_tabs.tsx diff --git a/x-pack/plugins/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/index.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/index.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/index.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/index.tsx diff --git a/x-pack/plugins/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/marks/get_agent_marks.test.ts b/x-pack/plugins/observability_solution/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/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/marks/get_agent_marks.test.ts rename to x-pack/plugins/observability_solution/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/marks/get_agent_marks.test.ts diff --git a/x-pack/plugins/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/marks/get_agent_marks.ts b/x-pack/plugins/observability_solution/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/marks/get_agent_marks.ts similarity index 100% rename from x-pack/plugins/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/marks/get_agent_marks.ts rename to x-pack/plugins/observability_solution/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/marks/get_agent_marks.ts diff --git a/x-pack/plugins/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/marks/get_error_marks.test.ts b/x-pack/plugins/observability_solution/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/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/marks/get_error_marks.test.ts rename to x-pack/plugins/observability_solution/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/marks/get_error_marks.test.ts diff --git a/x-pack/plugins/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/marks/get_error_marks.ts b/x-pack/plugins/observability_solution/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/marks/get_error_marks.ts similarity index 100% rename from x-pack/plugins/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/marks/get_error_marks.ts rename to x-pack/plugins/observability_solution/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/marks/get_error_marks.ts diff --git a/x-pack/plugins/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/marks/index.ts b/x-pack/plugins/observability_solution/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/marks/index.ts similarity index 100% rename from x-pack/plugins/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/marks/index.ts rename to x-pack/plugins/observability_solution/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/marks/index.ts diff --git a/x-pack/plugins/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/waterfall/accordion_waterfall.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/waterfall/accordion_waterfall.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/waterfall/accordion_waterfall.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/waterfall/accordion_waterfall.tsx diff --git a/x-pack/plugins/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/waterfall/badge/cold_start_badge.stories.tsx b/x-pack/plugins/observability_solution/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/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/waterfall/badge/cold_start_badge.stories.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/waterfall/badge/cold_start_badge.stories.tsx diff --git a/x-pack/plugins/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/waterfall/badge/cold_start_badge.tsx b/x-pack/plugins/observability_solution/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/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/waterfall/badge/cold_start_badge.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/waterfall/badge/cold_start_badge.tsx diff --git a/x-pack/plugins/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/waterfall/badge/span_links_badge.tsx b/x-pack/plugins/observability_solution/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/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/waterfall/badge/span_links_badge.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/waterfall/badge/span_links_badge.tsx diff --git a/x-pack/plugins/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/waterfall/badge/sync_badge.stories.tsx b/x-pack/plugins/observability_solution/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/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/waterfall/badge/sync_badge.stories.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/waterfall/badge/sync_badge.stories.tsx diff --git a/x-pack/plugins/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/waterfall/badge/sync_badge.test.tsx b/x-pack/plugins/observability_solution/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/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/waterfall/badge/sync_badge.test.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/waterfall/badge/sync_badge.test.tsx diff --git a/x-pack/plugins/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/waterfall/badge/sync_badge.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/waterfall/badge/sync_badge.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/waterfall/badge/sync_badge.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/waterfall/badge/sync_badge.tsx diff --git a/x-pack/plugins/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/waterfall/failure_badge.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/waterfall/failure_badge.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/waterfall/failure_badge.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/waterfall/failure_badge.tsx diff --git a/x-pack/plugins/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/waterfall/flyout_top_level_properties.tsx b/x-pack/plugins/observability_solution/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/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/waterfall/flyout_top_level_properties.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/waterfall/flyout_top_level_properties.tsx diff --git a/x-pack/plugins/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/waterfall/index.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/waterfall/index.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/waterfall/index.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/waterfall/index.tsx diff --git a/x-pack/plugins/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/waterfall/orphan_trace_items_warning.tsx b/x-pack/plugins/observability_solution/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/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/waterfall/orphan_trace_items_warning.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/waterfall/orphan_trace_items_warning.tsx diff --git a/x-pack/plugins/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/waterfall/responsive_flyout.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/waterfall/responsive_flyout.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/waterfall/responsive_flyout.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/waterfall/responsive_flyout.tsx diff --git a/x-pack/plugins/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/waterfall/span_flyout/index.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/waterfall/span_flyout/index.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/waterfall/span_flyout/index.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/waterfall/span_flyout/index.tsx diff --git a/x-pack/plugins/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/waterfall/span_flyout/span_db.tsx b/x-pack/plugins/observability_solution/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/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/waterfall/span_flyout/span_db.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/waterfall/span_flyout/span_db.tsx diff --git a/x-pack/plugins/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/waterfall/span_flyout/span_flyout.stories.tsx b/x-pack/plugins/observability_solution/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/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/waterfall/span_flyout/span_flyout.stories.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/waterfall/span_flyout/span_flyout.stories.tsx diff --git a/x-pack/plugins/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/waterfall/span_flyout/sticky_span_properties.tsx b/x-pack/plugins/observability_solution/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/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/waterfall/span_flyout/sticky_span_properties.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/waterfall/span_flyout/sticky_span_properties.tsx diff --git a/x-pack/plugins/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/waterfall/span_flyout/truncate_height_section.tsx b/x-pack/plugins/observability_solution/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/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/waterfall/span_flyout/truncate_height_section.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/waterfall/span_flyout/truncate_height_section.tsx diff --git a/x-pack/plugins/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/waterfall/transaction_flyout/dropped_spans_warning.tsx b/x-pack/plugins/observability_solution/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/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/waterfall/transaction_flyout/dropped_spans_warning.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/waterfall/transaction_flyout/dropped_spans_warning.tsx diff --git a/x-pack/plugins/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/waterfall/transaction_flyout/index.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/waterfall/transaction_flyout/index.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/waterfall/transaction_flyout/index.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/waterfall/transaction_flyout/index.tsx diff --git a/x-pack/plugins/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/waterfall/transaction_flyout/transaction_flyout.stories.tsx b/x-pack/plugins/observability_solution/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/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/waterfall/transaction_flyout/transaction_flyout.stories.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/waterfall/transaction_flyout/transaction_flyout.stories.tsx diff --git a/x-pack/plugins/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/waterfall/waterfall_flyout.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/waterfall/waterfall_flyout.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/waterfall/waterfall_flyout.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/waterfall/waterfall_flyout.tsx diff --git a/x-pack/plugins/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/waterfall/waterfall_helpers/__snapshots__/waterfall_helpers.test.ts.snap b/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 similarity index 100% rename from x-pack/plugins/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/waterfall/waterfall_helpers/__snapshots__/waterfall_helpers.test.ts.snap rename to 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 diff --git a/x-pack/plugins/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/waterfall/waterfall_helpers/mock_responses/spans.json b/x-pack/plugins/observability_solution/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/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/waterfall/waterfall_helpers/mock_responses/spans.json rename to x-pack/plugins/observability_solution/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/waterfall/waterfall_helpers/mock_responses/spans.json diff --git a/x-pack/plugins/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/waterfall/waterfall_helpers/mock_responses/transaction.json b/x-pack/plugins/observability_solution/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/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/waterfall/waterfall_helpers/mock_responses/transaction.json rename to x-pack/plugins/observability_solution/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/waterfall/waterfall_helpers/mock_responses/transaction.json diff --git a/x-pack/plugins/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/waterfall/waterfall_helpers/waterfall_helpers.test.ts b/x-pack/plugins/observability_solution/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/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/waterfall/waterfall_helpers/waterfall_helpers.test.ts rename to x-pack/plugins/observability_solution/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/waterfall/waterfall_helpers/waterfall_helpers.test.ts diff --git a/x-pack/plugins/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/waterfall/waterfall_helpers/waterfall_helpers.ts b/x-pack/plugins/observability_solution/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/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/waterfall/waterfall_helpers/waterfall_helpers.ts rename to x-pack/plugins/observability_solution/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/waterfall/waterfall_helpers/waterfall_helpers.ts diff --git a/x-pack/plugins/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/waterfall/waterfall_item.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/waterfall/waterfall_item.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/waterfall/waterfall_item.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/waterfall/waterfall_item.tsx diff --git a/x-pack/plugins/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/waterfall_container.stories.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/waterfall_container.stories.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/waterfall_container.stories.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/waterfall_container.stories.tsx diff --git a/x-pack/plugins/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/waterfall_container.test.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/waterfall_container.test.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/waterfall_container.test.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/waterfall_container.test.tsx diff --git a/x-pack/plugins/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/waterfall_legends.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/waterfall_legends.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/waterfall_legends.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/waterfall_legends.tsx diff --git a/x-pack/plugins/apm/public/components/app/transaction_link/index.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/transaction_link/index.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/transaction_link/index.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/transaction_link/index.tsx diff --git a/x-pack/plugins/apm/public/components/app/transaction_overview/index.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/transaction_overview/index.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/transaction_overview/index.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/transaction_overview/index.tsx diff --git a/x-pack/plugins/apm/public/components/app/transaction_overview/transaction_overview.test.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/transaction_overview/transaction_overview.test.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/transaction_overview/transaction_overview.test.tsx rename to x-pack/plugins/observability_solution/apm/public/components/app/transaction_overview/transaction_overview.test.tsx diff --git a/x-pack/plugins/apm/public/components/fleet_integration/apm_agents/agent_instructions_accordion.tsx b/x-pack/plugins/observability_solution/apm/public/components/fleet_integration/apm_agents/agent_instructions_accordion.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/fleet_integration/apm_agents/agent_instructions_accordion.tsx rename to x-pack/plugins/observability_solution/apm/public/components/fleet_integration/apm_agents/agent_instructions_accordion.tsx diff --git a/x-pack/plugins/apm/public/components/fleet_integration/apm_agents/agent_instructions_mappings.ts b/x-pack/plugins/observability_solution/apm/public/components/fleet_integration/apm_agents/agent_instructions_mappings.ts similarity index 100% rename from x-pack/plugins/apm/public/components/fleet_integration/apm_agents/agent_instructions_mappings.ts rename to x-pack/plugins/observability_solution/apm/public/components/fleet_integration/apm_agents/agent_instructions_mappings.ts diff --git a/x-pack/plugins/apm/public/components/fleet_integration/apm_agents/index.tsx b/x-pack/plugins/observability_solution/apm/public/components/fleet_integration/apm_agents/index.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/fleet_integration/apm_agents/index.tsx rename to x-pack/plugins/observability_solution/apm/public/components/fleet_integration/apm_agents/index.tsx diff --git a/x-pack/plugins/apm/public/components/fleet_integration/apm_agents/render_mustache.ts b/x-pack/plugins/observability_solution/apm/public/components/fleet_integration/apm_agents/render_mustache.ts similarity index 100% rename from x-pack/plugins/apm/public/components/fleet_integration/apm_agents/render_mustache.ts rename to x-pack/plugins/observability_solution/apm/public/components/fleet_integration/apm_agents/render_mustache.ts diff --git a/x-pack/plugins/apm/public/components/fleet_integration/apm_agents/runtime_attachment/default_discovery_rule.tsx b/x-pack/plugins/observability_solution/apm/public/components/fleet_integration/apm_agents/runtime_attachment/default_discovery_rule.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/fleet_integration/apm_agents/runtime_attachment/default_discovery_rule.tsx rename to x-pack/plugins/observability_solution/apm/public/components/fleet_integration/apm_agents/runtime_attachment/default_discovery_rule.tsx diff --git a/x-pack/plugins/apm/public/components/fleet_integration/apm_agents/runtime_attachment/discovery_rule.tsx b/x-pack/plugins/observability_solution/apm/public/components/fleet_integration/apm_agents/runtime_attachment/discovery_rule.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/fleet_integration/apm_agents/runtime_attachment/discovery_rule.tsx rename to x-pack/plugins/observability_solution/apm/public/components/fleet_integration/apm_agents/runtime_attachment/discovery_rule.tsx diff --git a/x-pack/plugins/apm/public/components/fleet_integration/apm_agents/runtime_attachment/edit_discovery_rule.tsx b/x-pack/plugins/observability_solution/apm/public/components/fleet_integration/apm_agents/runtime_attachment/edit_discovery_rule.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/fleet_integration/apm_agents/runtime_attachment/edit_discovery_rule.tsx rename to x-pack/plugins/observability_solution/apm/public/components/fleet_integration/apm_agents/runtime_attachment/edit_discovery_rule.tsx diff --git a/x-pack/plugins/apm/public/components/fleet_integration/apm_agents/runtime_attachment/index.tsx b/x-pack/plugins/observability_solution/apm/public/components/fleet_integration/apm_agents/runtime_attachment/index.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/fleet_integration/apm_agents/runtime_attachment/index.tsx rename to x-pack/plugins/observability_solution/apm/public/components/fleet_integration/apm_agents/runtime_attachment/index.tsx diff --git a/x-pack/plugins/apm/public/components/fleet_integration/apm_agents/runtime_attachment/java_agent_version_input.tsx b/x-pack/plugins/observability_solution/apm/public/components/fleet_integration/apm_agents/runtime_attachment/java_agent_version_input.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/fleet_integration/apm_agents/runtime_attachment/java_agent_version_input.tsx rename to x-pack/plugins/observability_solution/apm/public/components/fleet_integration/apm_agents/runtime_attachment/java_agent_version_input.tsx diff --git a/x-pack/plugins/apm/public/components/fleet_integration/apm_agents/runtime_attachment/runtime_attachment.stories.tsx b/x-pack/plugins/observability_solution/apm/public/components/fleet_integration/apm_agents/runtime_attachment/runtime_attachment.stories.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/fleet_integration/apm_agents/runtime_attachment/runtime_attachment.stories.tsx rename to x-pack/plugins/observability_solution/apm/public/components/fleet_integration/apm_agents/runtime_attachment/runtime_attachment.stories.tsx diff --git a/x-pack/plugins/apm/public/components/fleet_integration/apm_agents/runtime_attachment/runtime_attachment.tsx b/x-pack/plugins/observability_solution/apm/public/components/fleet_integration/apm_agents/runtime_attachment/runtime_attachment.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/fleet_integration/apm_agents/runtime_attachment/runtime_attachment.tsx rename to x-pack/plugins/observability_solution/apm/public/components/fleet_integration/apm_agents/runtime_attachment/runtime_attachment.tsx diff --git a/x-pack/plugins/apm/public/components/fleet_integration/apm_agents/runtime_attachment/supported_agents/java_runtime_attachment.tsx b/x-pack/plugins/observability_solution/apm/public/components/fleet_integration/apm_agents/runtime_attachment/supported_agents/java_runtime_attachment.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/fleet_integration/apm_agents/runtime_attachment/supported_agents/java_runtime_attachment.tsx rename to x-pack/plugins/observability_solution/apm/public/components/fleet_integration/apm_agents/runtime_attachment/supported_agents/java_runtime_attachment.tsx diff --git a/x-pack/plugins/apm/public/components/fleet_integration/apm_agents/runtime_attachment/validate_java_version.test.ts b/x-pack/plugins/observability_solution/apm/public/components/fleet_integration/apm_agents/runtime_attachment/validate_java_version.test.ts similarity index 100% rename from x-pack/plugins/apm/public/components/fleet_integration/apm_agents/runtime_attachment/validate_java_version.test.ts rename to x-pack/plugins/observability_solution/apm/public/components/fleet_integration/apm_agents/runtime_attachment/validate_java_version.test.ts diff --git a/x-pack/plugins/apm/public/components/fleet_integration/apm_custom_assets_extension.tsx b/x-pack/plugins/observability_solution/apm/public/components/fleet_integration/apm_custom_assets_extension.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/fleet_integration/apm_custom_assets_extension.tsx rename to x-pack/plugins/observability_solution/apm/public/components/fleet_integration/apm_custom_assets_extension.tsx diff --git a/x-pack/plugins/apm/public/components/fleet_integration/apm_enrollment_flyout_extension.tsx b/x-pack/plugins/observability_solution/apm/public/components/fleet_integration/apm_enrollment_flyout_extension.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/fleet_integration/apm_enrollment_flyout_extension.tsx rename to x-pack/plugins/observability_solution/apm/public/components/fleet_integration/apm_enrollment_flyout_extension.tsx diff --git a/x-pack/plugins/apm/public/components/fleet_integration/apm_policy_form/create_apm_policy_form.tsx b/x-pack/plugins/observability_solution/apm/public/components/fleet_integration/apm_policy_form/create_apm_policy_form.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/fleet_integration/apm_policy_form/create_apm_policy_form.tsx rename to x-pack/plugins/observability_solution/apm/public/components/fleet_integration/apm_policy_form/create_apm_policy_form.tsx diff --git a/x-pack/plugins/apm/public/components/fleet_integration/apm_policy_form/edit_apm_policy_form.stories.tsx b/x-pack/plugins/observability_solution/apm/public/components/fleet_integration/apm_policy_form/edit_apm_policy_form.stories.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/fleet_integration/apm_policy_form/edit_apm_policy_form.stories.tsx rename to x-pack/plugins/observability_solution/apm/public/components/fleet_integration/apm_policy_form/edit_apm_policy_form.stories.tsx diff --git a/x-pack/plugins/apm/public/components/fleet_integration/apm_policy_form/edit_apm_policy_form.tsx b/x-pack/plugins/observability_solution/apm/public/components/fleet_integration/apm_policy_form/edit_apm_policy_form.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/fleet_integration/apm_policy_form/edit_apm_policy_form.tsx rename to x-pack/plugins/observability_solution/apm/public/components/fleet_integration/apm_policy_form/edit_apm_policy_form.tsx diff --git a/x-pack/plugins/apm/public/components/fleet_integration/apm_policy_form/index.tsx b/x-pack/plugins/observability_solution/apm/public/components/fleet_integration/apm_policy_form/index.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/fleet_integration/apm_policy_form/index.tsx rename to x-pack/plugins/observability_solution/apm/public/components/fleet_integration/apm_policy_form/index.tsx diff --git a/x-pack/plugins/apm/public/components/fleet_integration/apm_policy_form/settings_definition/agent_authorization_settings.test.ts b/x-pack/plugins/observability_solution/apm/public/components/fleet_integration/apm_policy_form/settings_definition/agent_authorization_settings.test.ts similarity index 100% rename from x-pack/plugins/apm/public/components/fleet_integration/apm_policy_form/settings_definition/agent_authorization_settings.test.ts rename to x-pack/plugins/observability_solution/apm/public/components/fleet_integration/apm_policy_form/settings_definition/agent_authorization_settings.test.ts diff --git a/x-pack/plugins/apm/public/components/fleet_integration/apm_policy_form/settings_definition/agent_authorization_settings.ts b/x-pack/plugins/observability_solution/apm/public/components/fleet_integration/apm_policy_form/settings_definition/agent_authorization_settings.ts similarity index 100% rename from x-pack/plugins/apm/public/components/fleet_integration/apm_policy_form/settings_definition/agent_authorization_settings.ts rename to x-pack/plugins/observability_solution/apm/public/components/fleet_integration/apm_policy_form/settings_definition/agent_authorization_settings.ts diff --git a/x-pack/plugins/apm/public/components/fleet_integration/apm_policy_form/settings_definition/apm_settings.test.ts b/x-pack/plugins/observability_solution/apm/public/components/fleet_integration/apm_policy_form/settings_definition/apm_settings.test.ts similarity index 100% rename from x-pack/plugins/apm/public/components/fleet_integration/apm_policy_form/settings_definition/apm_settings.test.ts rename to x-pack/plugins/observability_solution/apm/public/components/fleet_integration/apm_policy_form/settings_definition/apm_settings.test.ts diff --git a/x-pack/plugins/apm/public/components/fleet_integration/apm_policy_form/settings_definition/apm_settings.ts b/x-pack/plugins/observability_solution/apm/public/components/fleet_integration/apm_policy_form/settings_definition/apm_settings.ts similarity index 100% rename from x-pack/plugins/apm/public/components/fleet_integration/apm_policy_form/settings_definition/apm_settings.ts rename to x-pack/plugins/observability_solution/apm/public/components/fleet_integration/apm_policy_form/settings_definition/apm_settings.ts diff --git a/x-pack/plugins/apm/public/components/fleet_integration/apm_policy_form/settings_definition/debug_settings.ts b/x-pack/plugins/observability_solution/apm/public/components/fleet_integration/apm_policy_form/settings_definition/debug_settings.ts similarity index 100% rename from x-pack/plugins/apm/public/components/fleet_integration/apm_policy_form/settings_definition/debug_settings.ts rename to x-pack/plugins/observability_solution/apm/public/components/fleet_integration/apm_policy_form/settings_definition/debug_settings.ts diff --git a/x-pack/plugins/apm/public/components/fleet_integration/apm_policy_form/settings_definition/rum_settings.test.tsx b/x-pack/plugins/observability_solution/apm/public/components/fleet_integration/apm_policy_form/settings_definition/rum_settings.test.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/fleet_integration/apm_policy_form/settings_definition/rum_settings.test.tsx rename to x-pack/plugins/observability_solution/apm/public/components/fleet_integration/apm_policy_form/settings_definition/rum_settings.test.tsx diff --git a/x-pack/plugins/apm/public/components/fleet_integration/apm_policy_form/settings_definition/rum_settings.ts b/x-pack/plugins/observability_solution/apm/public/components/fleet_integration/apm_policy_form/settings_definition/rum_settings.ts similarity index 100% rename from x-pack/plugins/apm/public/components/fleet_integration/apm_policy_form/settings_definition/rum_settings.ts rename to x-pack/plugins/observability_solution/apm/public/components/fleet_integration/apm_policy_form/settings_definition/rum_settings.ts diff --git a/x-pack/plugins/apm/public/components/fleet_integration/apm_policy_form/settings_definition/tail_sampling_settings.test.tsx b/x-pack/plugins/observability_solution/apm/public/components/fleet_integration/apm_policy_form/settings_definition/tail_sampling_settings.test.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/fleet_integration/apm_policy_form/settings_definition/tail_sampling_settings.test.tsx rename to x-pack/plugins/observability_solution/apm/public/components/fleet_integration/apm_policy_form/settings_definition/tail_sampling_settings.test.tsx diff --git a/x-pack/plugins/apm/public/components/fleet_integration/apm_policy_form/settings_definition/tail_sampling_settings.tsx b/x-pack/plugins/observability_solution/apm/public/components/fleet_integration/apm_policy_form/settings_definition/tail_sampling_settings.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/fleet_integration/apm_policy_form/settings_definition/tail_sampling_settings.tsx rename to x-pack/plugins/observability_solution/apm/public/components/fleet_integration/apm_policy_form/settings_definition/tail_sampling_settings.tsx diff --git a/x-pack/plugins/apm/public/components/fleet_integration/apm_policy_form/settings_definition/tls_settings.test.ts b/x-pack/plugins/observability_solution/apm/public/components/fleet_integration/apm_policy_form/settings_definition/tls_settings.test.ts similarity index 100% rename from x-pack/plugins/apm/public/components/fleet_integration/apm_policy_form/settings_definition/tls_settings.test.ts rename to x-pack/plugins/observability_solution/apm/public/components/fleet_integration/apm_policy_form/settings_definition/tls_settings.test.ts diff --git a/x-pack/plugins/apm/public/components/fleet_integration/apm_policy_form/settings_definition/tls_settings.ts b/x-pack/plugins/observability_solution/apm/public/components/fleet_integration/apm_policy_form/settings_definition/tls_settings.ts similarity index 100% rename from x-pack/plugins/apm/public/components/fleet_integration/apm_policy_form/settings_definition/tls_settings.ts rename to x-pack/plugins/observability_solution/apm/public/components/fleet_integration/apm_policy_form/settings_definition/tls_settings.ts diff --git a/x-pack/plugins/apm/public/components/fleet_integration/apm_policy_form/settings_form/form_row_setting.tsx b/x-pack/plugins/observability_solution/apm/public/components/fleet_integration/apm_policy_form/settings_form/form_row_setting.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/fleet_integration/apm_policy_form/settings_form/form_row_setting.tsx rename to x-pack/plugins/observability_solution/apm/public/components/fleet_integration/apm_policy_form/settings_form/form_row_setting.tsx diff --git a/x-pack/plugins/apm/public/components/fleet_integration/apm_policy_form/settings_form/index.tsx b/x-pack/plugins/observability_solution/apm/public/components/fleet_integration/apm_policy_form/settings_form/index.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/fleet_integration/apm_policy_form/settings_form/index.tsx rename to x-pack/plugins/observability_solution/apm/public/components/fleet_integration/apm_policy_form/settings_form/index.tsx diff --git a/x-pack/plugins/apm/public/components/fleet_integration/apm_policy_form/settings_form/utils.test.ts b/x-pack/plugins/observability_solution/apm/public/components/fleet_integration/apm_policy_form/settings_form/utils.test.ts similarity index 100% rename from x-pack/plugins/apm/public/components/fleet_integration/apm_policy_form/settings_form/utils.test.ts rename to x-pack/plugins/observability_solution/apm/public/components/fleet_integration/apm_policy_form/settings_form/utils.test.ts diff --git a/x-pack/plugins/apm/public/components/fleet_integration/apm_policy_form/settings_form/utils.ts b/x-pack/plugins/observability_solution/apm/public/components/fleet_integration/apm_policy_form/settings_form/utils.ts similarity index 100% rename from x-pack/plugins/apm/public/components/fleet_integration/apm_policy_form/settings_form/utils.ts rename to x-pack/plugins/observability_solution/apm/public/components/fleet_integration/apm_policy_form/settings_form/utils.ts diff --git a/x-pack/plugins/apm/public/components/fleet_integration/apm_policy_form/typings.ts b/x-pack/plugins/observability_solution/apm/public/components/fleet_integration/apm_policy_form/typings.ts similarity index 100% rename from x-pack/plugins/apm/public/components/fleet_integration/apm_policy_form/typings.ts rename to x-pack/plugins/observability_solution/apm/public/components/fleet_integration/apm_policy_form/typings.ts diff --git a/x-pack/plugins/apm/public/components/fleet_integration/index.ts b/x-pack/plugins/observability_solution/apm/public/components/fleet_integration/index.ts similarity index 100% rename from x-pack/plugins/apm/public/components/fleet_integration/index.ts rename to x-pack/plugins/observability_solution/apm/public/components/fleet_integration/index.ts diff --git a/x-pack/plugins/apm/public/components/fleet_integration/lazy_apm_agents_tab_extension.tsx b/x-pack/plugins/observability_solution/apm/public/components/fleet_integration/lazy_apm_agents_tab_extension.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/fleet_integration/lazy_apm_agents_tab_extension.tsx rename to x-pack/plugins/observability_solution/apm/public/components/fleet_integration/lazy_apm_agents_tab_extension.tsx diff --git a/x-pack/plugins/apm/public/components/fleet_integration/lazy_apm_custom_assets_extension.tsx b/x-pack/plugins/observability_solution/apm/public/components/fleet_integration/lazy_apm_custom_assets_extension.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/fleet_integration/lazy_apm_custom_assets_extension.tsx rename to x-pack/plugins/observability_solution/apm/public/components/fleet_integration/lazy_apm_custom_assets_extension.tsx diff --git a/x-pack/plugins/apm/public/components/fleet_integration/lazy_apm_policy_create_extension.tsx b/x-pack/plugins/observability_solution/apm/public/components/fleet_integration/lazy_apm_policy_create_extension.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/fleet_integration/lazy_apm_policy_create_extension.tsx rename to x-pack/plugins/observability_solution/apm/public/components/fleet_integration/lazy_apm_policy_create_extension.tsx diff --git a/x-pack/plugins/apm/public/components/fleet_integration/lazy_apm_policy_edit_extension.tsx b/x-pack/plugins/observability_solution/apm/public/components/fleet_integration/lazy_apm_policy_edit_extension.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/fleet_integration/lazy_apm_policy_edit_extension.tsx rename to x-pack/plugins/observability_solution/apm/public/components/fleet_integration/lazy_apm_policy_edit_extension.tsx diff --git a/x-pack/plugins/apm/public/components/routing/apm_error_boundary.tsx b/x-pack/plugins/observability_solution/apm/public/components/routing/apm_error_boundary.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/routing/apm_error_boundary.tsx rename to x-pack/plugins/observability_solution/apm/public/components/routing/apm_error_boundary.tsx diff --git a/x-pack/plugins/apm/public/components/routing/apm_route_config.tsx b/x-pack/plugins/observability_solution/apm/public/components/routing/apm_route_config.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/routing/apm_route_config.tsx rename to x-pack/plugins/observability_solution/apm/public/components/routing/apm_route_config.tsx diff --git a/x-pack/plugins/apm/public/components/routing/app_root/apm_header_action_menu/alerting_popover_flyout.tsx b/x-pack/plugins/observability_solution/apm/public/components/routing/app_root/apm_header_action_menu/alerting_popover_flyout.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/routing/app_root/apm_header_action_menu/alerting_popover_flyout.tsx rename to x-pack/plugins/observability_solution/apm/public/components/routing/app_root/apm_header_action_menu/alerting_popover_flyout.tsx diff --git a/x-pack/plugins/apm/public/components/routing/app_root/apm_header_action_menu/anomaly_detection_setup_link.test.tsx b/x-pack/plugins/observability_solution/apm/public/components/routing/app_root/apm_header_action_menu/anomaly_detection_setup_link.test.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/routing/app_root/apm_header_action_menu/anomaly_detection_setup_link.test.tsx rename to x-pack/plugins/observability_solution/apm/public/components/routing/app_root/apm_header_action_menu/anomaly_detection_setup_link.test.tsx diff --git a/x-pack/plugins/apm/public/components/routing/app_root/apm_header_action_menu/anomaly_detection_setup_link.tsx b/x-pack/plugins/observability_solution/apm/public/components/routing/app_root/apm_header_action_menu/anomaly_detection_setup_link.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/routing/app_root/apm_header_action_menu/anomaly_detection_setup_link.tsx rename to x-pack/plugins/observability_solution/apm/public/components/routing/app_root/apm_header_action_menu/anomaly_detection_setup_link.tsx diff --git a/x-pack/plugins/apm/public/components/routing/app_root/apm_header_action_menu/index.tsx b/x-pack/plugins/observability_solution/apm/public/components/routing/app_root/apm_header_action_menu/index.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/routing/app_root/apm_header_action_menu/index.tsx rename to x-pack/plugins/observability_solution/apm/public/components/routing/app_root/apm_header_action_menu/index.tsx diff --git a/x-pack/plugins/apm/public/components/routing/app_root/apm_header_action_menu/inspector_header_link.tsx b/x-pack/plugins/observability_solution/apm/public/components/routing/app_root/apm_header_action_menu/inspector_header_link.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/routing/app_root/apm_header_action_menu/inspector_header_link.tsx rename to x-pack/plugins/observability_solution/apm/public/components/routing/app_root/apm_header_action_menu/inspector_header_link.tsx diff --git a/x-pack/plugins/apm/public/components/routing/app_root/apm_header_action_menu/labs/index.tsx b/x-pack/plugins/observability_solution/apm/public/components/routing/app_root/apm_header_action_menu/labs/index.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/routing/app_root/apm_header_action_menu/labs/index.tsx rename to x-pack/plugins/observability_solution/apm/public/components/routing/app_root/apm_header_action_menu/labs/index.tsx diff --git a/x-pack/plugins/apm/public/components/routing/app_root/apm_header_action_menu/labs/labs_flyout.tsx b/x-pack/plugins/observability_solution/apm/public/components/routing/app_root/apm_header_action_menu/labs/labs_flyout.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/routing/app_root/apm_header_action_menu/labs/labs_flyout.tsx rename to x-pack/plugins/observability_solution/apm/public/components/routing/app_root/apm_header_action_menu/labs/labs_flyout.tsx diff --git a/x-pack/plugins/apm/public/components/routing/app_root/index.tsx b/x-pack/plugins/observability_solution/apm/public/components/routing/app_root/index.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/routing/app_root/index.tsx rename to x-pack/plugins/observability_solution/apm/public/components/routing/app_root/index.tsx diff --git a/x-pack/plugins/apm/public/components/routing/app_root/redirect_dependencies_to_dependencies_inventory.tsx b/x-pack/plugins/observability_solution/apm/public/components/routing/app_root/redirect_dependencies_to_dependencies_inventory.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/routing/app_root/redirect_dependencies_to_dependencies_inventory.tsx rename to x-pack/plugins/observability_solution/apm/public/components/routing/app_root/redirect_dependencies_to_dependencies_inventory.tsx diff --git a/x-pack/plugins/apm/public/components/routing/app_root/redirect_with_default_date_range/index.tsx b/x-pack/plugins/observability_solution/apm/public/components/routing/app_root/redirect_with_default_date_range/index.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/routing/app_root/redirect_with_default_date_range/index.tsx rename to x-pack/plugins/observability_solution/apm/public/components/routing/app_root/redirect_with_default_date_range/index.tsx diff --git a/x-pack/plugins/apm/public/components/routing/app_root/redirect_with_default_environment/index.test.tsx b/x-pack/plugins/observability_solution/apm/public/components/routing/app_root/redirect_with_default_environment/index.test.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/routing/app_root/redirect_with_default_environment/index.test.tsx rename to x-pack/plugins/observability_solution/apm/public/components/routing/app_root/redirect_with_default_environment/index.test.tsx diff --git a/x-pack/plugins/apm/public/components/routing/app_root/redirect_with_default_environment/index.tsx b/x-pack/plugins/observability_solution/apm/public/components/routing/app_root/redirect_with_default_environment/index.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/routing/app_root/redirect_with_default_environment/index.tsx rename to x-pack/plugins/observability_solution/apm/public/components/routing/app_root/redirect_with_default_environment/index.tsx diff --git a/x-pack/plugins/apm/public/components/routing/app_root/redirect_with_offset/index.test.tsx b/x-pack/plugins/observability_solution/apm/public/components/routing/app_root/redirect_with_offset/index.test.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/routing/app_root/redirect_with_offset/index.test.tsx rename to x-pack/plugins/observability_solution/apm/public/components/routing/app_root/redirect_with_offset/index.test.tsx diff --git a/x-pack/plugins/apm/public/components/routing/app_root/redirect_with_offset/index.tsx b/x-pack/plugins/observability_solution/apm/public/components/routing/app_root/redirect_with_offset/index.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/routing/app_root/redirect_with_offset/index.tsx rename to x-pack/plugins/observability_solution/apm/public/components/routing/app_root/redirect_with_offset/index.tsx diff --git a/x-pack/plugins/apm/public/components/routing/app_root/scroll_to_top_on_path_change.tsx b/x-pack/plugins/observability_solution/apm/public/components/routing/app_root/scroll_to_top_on_path_change.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/routing/app_root/scroll_to_top_on_path_change.tsx rename to x-pack/plugins/observability_solution/apm/public/components/routing/app_root/scroll_to_top_on_path_change.tsx diff --git a/x-pack/plugins/apm/public/components/routing/app_root/update_execution_context_on_route_change.ts b/x-pack/plugins/observability_solution/apm/public/components/routing/app_root/update_execution_context_on_route_change.ts similarity index 100% rename from x-pack/plugins/apm/public/components/routing/app_root/update_execution_context_on_route_change.ts rename to x-pack/plugins/observability_solution/apm/public/components/routing/app_root/update_execution_context_on_route_change.ts diff --git a/x-pack/plugins/apm/public/components/routing/home/dependencies.tsx b/x-pack/plugins/observability_solution/apm/public/components/routing/home/dependencies.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/routing/home/dependencies.tsx rename to x-pack/plugins/observability_solution/apm/public/components/routing/home/dependencies.tsx diff --git a/x-pack/plugins/apm/public/components/routing/home/index.tsx b/x-pack/plugins/observability_solution/apm/public/components/routing/home/index.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/routing/home/index.tsx rename to x-pack/plugins/observability_solution/apm/public/components/routing/home/index.tsx diff --git a/x-pack/plugins/apm/public/components/routing/home/legacy_backends.tsx b/x-pack/plugins/observability_solution/apm/public/components/routing/home/legacy_backends.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/routing/home/legacy_backends.tsx rename to x-pack/plugins/observability_solution/apm/public/components/routing/home/legacy_backends.tsx diff --git a/x-pack/plugins/apm/public/components/routing/home/page_template.tsx b/x-pack/plugins/observability_solution/apm/public/components/routing/home/page_template.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/routing/home/page_template.tsx rename to x-pack/plugins/observability_solution/apm/public/components/routing/home/page_template.tsx diff --git a/x-pack/plugins/apm/public/components/routing/home/storage_explorer.tsx b/x-pack/plugins/observability_solution/apm/public/components/routing/home/storage_explorer.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/routing/home/storage_explorer.tsx rename to x-pack/plugins/observability_solution/apm/public/components/routing/home/storage_explorer.tsx diff --git a/x-pack/plugins/apm/public/components/routing/mobile_service_detail/index.tsx b/x-pack/plugins/observability_solution/apm/public/components/routing/mobile_service_detail/index.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/routing/mobile_service_detail/index.tsx rename to x-pack/plugins/observability_solution/apm/public/components/routing/mobile_service_detail/index.tsx diff --git a/x-pack/plugins/apm/public/components/routing/onboarding/index.tsx b/x-pack/plugins/observability_solution/apm/public/components/routing/onboarding/index.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/routing/onboarding/index.tsx rename to x-pack/plugins/observability_solution/apm/public/components/routing/onboarding/index.tsx diff --git a/x-pack/plugins/apm/public/components/routing/onboarding/redirect.tsx b/x-pack/plugins/observability_solution/apm/public/components/routing/onboarding/redirect.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/routing/onboarding/redirect.tsx rename to x-pack/plugins/observability_solution/apm/public/components/routing/onboarding/redirect.tsx diff --git a/x-pack/plugins/apm/public/components/routing/redirect_to.tsx b/x-pack/plugins/observability_solution/apm/public/components/routing/redirect_to.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/routing/redirect_to.tsx rename to x-pack/plugins/observability_solution/apm/public/components/routing/redirect_to.tsx diff --git a/x-pack/plugins/apm/public/components/routing/service_detail/apm_service_wrapper.tsx b/x-pack/plugins/observability_solution/apm/public/components/routing/service_detail/apm_service_wrapper.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/routing/service_detail/apm_service_wrapper.tsx rename to x-pack/plugins/observability_solution/apm/public/components/routing/service_detail/apm_service_wrapper.tsx diff --git a/x-pack/plugins/apm/public/components/routing/service_detail/index.tsx b/x-pack/plugins/observability_solution/apm/public/components/routing/service_detail/index.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/routing/service_detail/index.tsx rename to x-pack/plugins/observability_solution/apm/public/components/routing/service_detail/index.tsx diff --git a/x-pack/plugins/apm/public/components/routing/service_detail/redirect_to_default_service_route_view.tsx b/x-pack/plugins/observability_solution/apm/public/components/routing/service_detail/redirect_to_default_service_route_view.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/routing/service_detail/redirect_to_default_service_route_view.tsx rename to x-pack/plugins/observability_solution/apm/public/components/routing/service_detail/redirect_to_default_service_route_view.tsx diff --git a/x-pack/plugins/apm/public/components/routing/settings/create_agent_configuration_route_view.tsx b/x-pack/plugins/observability_solution/apm/public/components/routing/settings/create_agent_configuration_route_view.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/routing/settings/create_agent_configuration_route_view.tsx rename to x-pack/plugins/observability_solution/apm/public/components/routing/settings/create_agent_configuration_route_view.tsx diff --git a/x-pack/plugins/apm/public/components/routing/settings/edit_agent_configuration_route_view.tsx b/x-pack/plugins/observability_solution/apm/public/components/routing/settings/edit_agent_configuration_route_view.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/routing/settings/edit_agent_configuration_route_view.tsx rename to x-pack/plugins/observability_solution/apm/public/components/routing/settings/edit_agent_configuration_route_view.tsx diff --git a/x-pack/plugins/apm/public/components/routing/settings/index.tsx b/x-pack/plugins/observability_solution/apm/public/components/routing/settings/index.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/routing/settings/index.tsx rename to x-pack/plugins/observability_solution/apm/public/components/routing/settings/index.tsx diff --git a/x-pack/plugins/apm/public/components/routing/templates/apm_main_template.tsx b/x-pack/plugins/observability_solution/apm/public/components/routing/templates/apm_main_template.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/routing/templates/apm_main_template.tsx rename to x-pack/plugins/observability_solution/apm/public/components/routing/templates/apm_main_template.tsx diff --git a/x-pack/plugins/apm/public/components/routing/templates/apm_service_template/analyze_data_button.stories.tsx b/x-pack/plugins/observability_solution/apm/public/components/routing/templates/apm_service_template/analyze_data_button.stories.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/routing/templates/apm_service_template/analyze_data_button.stories.tsx rename to x-pack/plugins/observability_solution/apm/public/components/routing/templates/apm_service_template/analyze_data_button.stories.tsx diff --git a/x-pack/plugins/apm/public/components/routing/templates/apm_service_template/analyze_data_button.test.tsx b/x-pack/plugins/observability_solution/apm/public/components/routing/templates/apm_service_template/analyze_data_button.test.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/routing/templates/apm_service_template/analyze_data_button.test.tsx rename to x-pack/plugins/observability_solution/apm/public/components/routing/templates/apm_service_template/analyze_data_button.test.tsx diff --git a/x-pack/plugins/apm/public/components/routing/templates/apm_service_template/analyze_data_button.tsx b/x-pack/plugins/observability_solution/apm/public/components/routing/templates/apm_service_template/analyze_data_button.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/routing/templates/apm_service_template/analyze_data_button.tsx rename to x-pack/plugins/observability_solution/apm/public/components/routing/templates/apm_service_template/analyze_data_button.tsx diff --git a/x-pack/plugins/apm/public/components/routing/templates/apm_service_template/index.test.tsx b/x-pack/plugins/observability_solution/apm/public/components/routing/templates/apm_service_template/index.test.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/routing/templates/apm_service_template/index.test.tsx rename to x-pack/plugins/observability_solution/apm/public/components/routing/templates/apm_service_template/index.test.tsx diff --git a/x-pack/plugins/apm/public/components/routing/templates/apm_service_template/index.tsx b/x-pack/plugins/observability_solution/apm/public/components/routing/templates/apm_service_template/index.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/routing/templates/apm_service_template/index.tsx rename to x-pack/plugins/observability_solution/apm/public/components/routing/templates/apm_service_template/index.tsx diff --git a/x-pack/plugins/apm/public/components/routing/templates/dependency_detail_template.tsx b/x-pack/plugins/observability_solution/apm/public/components/routing/templates/dependency_detail_template.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/routing/templates/dependency_detail_template.tsx rename to x-pack/plugins/observability_solution/apm/public/components/routing/templates/dependency_detail_template.tsx diff --git a/x-pack/plugins/apm/public/components/routing/templates/mobile_service_template/index.tsx b/x-pack/plugins/observability_solution/apm/public/components/routing/templates/mobile_service_template/index.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/routing/templates/mobile_service_template/index.tsx rename to x-pack/plugins/observability_solution/apm/public/components/routing/templates/mobile_service_template/index.tsx diff --git a/x-pack/plugins/apm/public/components/routing/templates/no_data_config.ts b/x-pack/plugins/observability_solution/apm/public/components/routing/templates/no_data_config.ts similarity index 100% rename from x-pack/plugins/apm/public/components/routing/templates/no_data_config.ts rename to x-pack/plugins/observability_solution/apm/public/components/routing/templates/no_data_config.ts diff --git a/x-pack/plugins/apm/public/components/routing/templates/service_group_template.tsx b/x-pack/plugins/observability_solution/apm/public/components/routing/templates/service_group_template.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/routing/templates/service_group_template.tsx rename to x-pack/plugins/observability_solution/apm/public/components/routing/templates/service_group_template.tsx diff --git a/x-pack/plugins/apm/public/components/routing/templates/settings_template.stories.tsx b/x-pack/plugins/observability_solution/apm/public/components/routing/templates/settings_template.stories.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/routing/templates/settings_template.stories.tsx rename to x-pack/plugins/observability_solution/apm/public/components/routing/templates/settings_template.stories.tsx diff --git a/x-pack/plugins/apm/public/components/routing/templates/settings_template.test.tsx b/x-pack/plugins/observability_solution/apm/public/components/routing/templates/settings_template.test.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/routing/templates/settings_template.test.tsx rename to x-pack/plugins/observability_solution/apm/public/components/routing/templates/settings_template.test.tsx diff --git a/x-pack/plugins/apm/public/components/routing/templates/settings_template.tsx b/x-pack/plugins/observability_solution/apm/public/components/routing/templates/settings_template.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/routing/templates/settings_template.tsx rename to x-pack/plugins/observability_solution/apm/public/components/routing/templates/settings_template.tsx diff --git a/x-pack/plugins/apm/public/components/routing/track_pageview.tsx b/x-pack/plugins/observability_solution/apm/public/components/routing/track_pageview.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/routing/track_pageview.tsx rename to x-pack/plugins/observability_solution/apm/public/components/routing/track_pageview.tsx diff --git a/x-pack/plugins/apm/public/components/shared/aggregated_transactions_badge/index.tsx b/x-pack/plugins/observability_solution/apm/public/components/shared/aggregated_transactions_badge/index.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/shared/aggregated_transactions_badge/index.tsx rename to x-pack/plugins/observability_solution/apm/public/components/shared/aggregated_transactions_badge/index.tsx diff --git a/x-pack/plugins/apm/public/components/shared/beta_badge.tsx b/x-pack/plugins/observability_solution/apm/public/components/shared/beta_badge.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/shared/beta_badge.tsx rename to x-pack/plugins/observability_solution/apm/public/components/shared/beta_badge.tsx diff --git a/x-pack/plugins/apm/public/components/shared/charts/breakdown_chart/index.tsx b/x-pack/plugins/observability_solution/apm/public/components/shared/charts/breakdown_chart/index.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/shared/charts/breakdown_chart/index.tsx rename to x-pack/plugins/observability_solution/apm/public/components/shared/charts/breakdown_chart/index.tsx diff --git a/x-pack/plugins/apm/public/components/shared/charts/chart_container.test.tsx b/x-pack/plugins/observability_solution/apm/public/components/shared/charts/chart_container.test.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/shared/charts/chart_container.test.tsx rename to x-pack/plugins/observability_solution/apm/public/components/shared/charts/chart_container.test.tsx diff --git a/x-pack/plugins/apm/public/components/shared/charts/chart_container.tsx b/x-pack/plugins/observability_solution/apm/public/components/shared/charts/chart_container.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/shared/charts/chart_container.tsx rename to x-pack/plugins/observability_solution/apm/public/components/shared/charts/chart_container.tsx diff --git a/x-pack/plugins/apm/public/components/shared/charts/duration_distribution_chart/index.test.tsx b/x-pack/plugins/observability_solution/apm/public/components/shared/charts/duration_distribution_chart/index.test.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/shared/charts/duration_distribution_chart/index.test.tsx rename to x-pack/plugins/observability_solution/apm/public/components/shared/charts/duration_distribution_chart/index.test.tsx diff --git a/x-pack/plugins/apm/public/components/shared/charts/duration_distribution_chart/index.tsx b/x-pack/plugins/observability_solution/apm/public/components/shared/charts/duration_distribution_chart/index.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/shared/charts/duration_distribution_chart/index.tsx rename to x-pack/plugins/observability_solution/apm/public/components/shared/charts/duration_distribution_chart/index.tsx diff --git a/x-pack/plugins/apm/public/components/shared/charts/duration_distribution_chart/total_doc_count_label.tsx b/x-pack/plugins/observability_solution/apm/public/components/shared/charts/duration_distribution_chart/total_doc_count_label.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/shared/charts/duration_distribution_chart/total_doc_count_label.tsx rename to x-pack/plugins/observability_solution/apm/public/components/shared/charts/duration_distribution_chart/total_doc_count_label.tsx diff --git a/x-pack/plugins/apm/public/components/shared/charts/duration_distribution_chart_with_scrubber/index.test.ts b/x-pack/plugins/observability_solution/apm/public/components/shared/charts/duration_distribution_chart_with_scrubber/index.test.ts similarity index 100% rename from x-pack/plugins/apm/public/components/shared/charts/duration_distribution_chart_with_scrubber/index.test.ts rename to x-pack/plugins/observability_solution/apm/public/components/shared/charts/duration_distribution_chart_with_scrubber/index.test.ts diff --git a/x-pack/plugins/apm/public/components/shared/charts/duration_distribution_chart_with_scrubber/index.tsx b/x-pack/plugins/observability_solution/apm/public/components/shared/charts/duration_distribution_chart_with_scrubber/index.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/shared/charts/duration_distribution_chart_with_scrubber/index.tsx rename to x-pack/plugins/observability_solution/apm/public/components/shared/charts/duration_distribution_chart_with_scrubber/index.tsx diff --git a/x-pack/plugins/apm/public/components/shared/charts/failed_transaction_rate_chart/index.tsx b/x-pack/plugins/observability_solution/apm/public/components/shared/charts/failed_transaction_rate_chart/index.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/shared/charts/failed_transaction_rate_chart/index.tsx rename to x-pack/plugins/observability_solution/apm/public/components/shared/charts/failed_transaction_rate_chart/index.tsx diff --git a/x-pack/plugins/apm/public/components/shared/charts/helper/get_chart_anomaly_timeseries.tsx b/x-pack/plugins/observability_solution/apm/public/components/shared/charts/helper/get_chart_anomaly_timeseries.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/shared/charts/helper/get_chart_anomaly_timeseries.tsx rename to x-pack/plugins/observability_solution/apm/public/components/shared/charts/helper/get_chart_anomaly_timeseries.tsx diff --git a/x-pack/plugins/apm/public/components/shared/charts/helper/get_empty_series.ts b/x-pack/plugins/observability_solution/apm/public/components/shared/charts/helper/get_empty_series.ts similarity index 100% rename from x-pack/plugins/apm/public/components/shared/charts/helper/get_empty_series.ts rename to x-pack/plugins/observability_solution/apm/public/components/shared/charts/helper/get_empty_series.ts diff --git a/x-pack/plugins/apm/public/components/shared/charts/helper/get_timeseries_color.ts b/x-pack/plugins/observability_solution/apm/public/components/shared/charts/helper/get_timeseries_color.ts similarity index 100% rename from x-pack/plugins/apm/public/components/shared/charts/helper/get_timeseries_color.ts rename to x-pack/plugins/observability_solution/apm/public/components/shared/charts/helper/get_timeseries_color.ts diff --git a/x-pack/plugins/apm/public/components/shared/charts/helper/get_timezone_offset_in_ms.test.ts b/x-pack/plugins/observability_solution/apm/public/components/shared/charts/helper/get_timezone_offset_in_ms.test.ts similarity index 100% rename from x-pack/plugins/apm/public/components/shared/charts/helper/get_timezone_offset_in_ms.test.ts rename to x-pack/plugins/observability_solution/apm/public/components/shared/charts/helper/get_timezone_offset_in_ms.test.ts diff --git a/x-pack/plugins/apm/public/components/shared/charts/helper/get_timezone_offset_in_ms.ts b/x-pack/plugins/observability_solution/apm/public/components/shared/charts/helper/get_timezone_offset_in_ms.ts similarity index 100% rename from x-pack/plugins/apm/public/components/shared/charts/helper/get_timezone_offset_in_ms.ts rename to x-pack/plugins/observability_solution/apm/public/components/shared/charts/helper/get_timezone_offset_in_ms.ts diff --git a/x-pack/plugins/apm/public/components/shared/charts/helper/helper.test.ts b/x-pack/plugins/observability_solution/apm/public/components/shared/charts/helper/helper.test.ts similarity index 100% rename from x-pack/plugins/apm/public/components/shared/charts/helper/helper.test.ts rename to x-pack/plugins/observability_solution/apm/public/components/shared/charts/helper/helper.test.ts diff --git a/x-pack/plugins/apm/public/components/shared/charts/helper/helper.ts b/x-pack/plugins/observability_solution/apm/public/components/shared/charts/helper/helper.ts similarity index 100% rename from x-pack/plugins/apm/public/components/shared/charts/helper/helper.ts rename to x-pack/plugins/observability_solution/apm/public/components/shared/charts/helper/helper.ts diff --git a/x-pack/plugins/apm/public/components/shared/charts/helper/timezone.test.ts b/x-pack/plugins/observability_solution/apm/public/components/shared/charts/helper/timezone.test.ts similarity index 100% rename from x-pack/plugins/apm/public/components/shared/charts/helper/timezone.test.ts rename to x-pack/plugins/observability_solution/apm/public/components/shared/charts/helper/timezone.test.ts diff --git a/x-pack/plugins/apm/public/components/shared/charts/helper/timezone.ts b/x-pack/plugins/observability_solution/apm/public/components/shared/charts/helper/timezone.ts similarity index 100% rename from x-pack/plugins/apm/public/components/shared/charts/helper/timezone.ts rename to x-pack/plugins/observability_solution/apm/public/components/shared/charts/helper/timezone.ts diff --git a/x-pack/plugins/apm/public/components/shared/charts/instances_latency_distribution_chart/custom_tooltip.stories.tsx b/x-pack/plugins/observability_solution/apm/public/components/shared/charts/instances_latency_distribution_chart/custom_tooltip.stories.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/shared/charts/instances_latency_distribution_chart/custom_tooltip.stories.tsx rename to x-pack/plugins/observability_solution/apm/public/components/shared/charts/instances_latency_distribution_chart/custom_tooltip.stories.tsx diff --git a/x-pack/plugins/apm/public/components/shared/charts/instances_latency_distribution_chart/custom_tooltip.tsx b/x-pack/plugins/observability_solution/apm/public/components/shared/charts/instances_latency_distribution_chart/custom_tooltip.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/shared/charts/instances_latency_distribution_chart/custom_tooltip.tsx rename to x-pack/plugins/observability_solution/apm/public/components/shared/charts/instances_latency_distribution_chart/custom_tooltip.tsx diff --git a/x-pack/plugins/apm/public/components/shared/charts/instances_latency_distribution_chart/index.tsx b/x-pack/plugins/observability_solution/apm/public/components/shared/charts/instances_latency_distribution_chart/index.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/shared/charts/instances_latency_distribution_chart/index.tsx rename to x-pack/plugins/observability_solution/apm/public/components/shared/charts/instances_latency_distribution_chart/index.tsx diff --git a/x-pack/plugins/apm/public/components/shared/charts/instances_latency_distribution_chart/instances_latency_distribution_chart.stories.tsx b/x-pack/plugins/observability_solution/apm/public/components/shared/charts/instances_latency_distribution_chart/instances_latency_distribution_chart.stories.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/shared/charts/instances_latency_distribution_chart/instances_latency_distribution_chart.stories.tsx rename to x-pack/plugins/observability_solution/apm/public/components/shared/charts/instances_latency_distribution_chart/instances_latency_distribution_chart.stories.tsx diff --git a/x-pack/plugins/apm/public/components/shared/charts/latency_chart/get_latency_chart_screen_context.ts b/x-pack/plugins/observability_solution/apm/public/components/shared/charts/latency_chart/get_latency_chart_screen_context.ts similarity index 100% rename from x-pack/plugins/apm/public/components/shared/charts/latency_chart/get_latency_chart_screen_context.ts rename to x-pack/plugins/observability_solution/apm/public/components/shared/charts/latency_chart/get_latency_chart_screen_context.ts diff --git a/x-pack/plugins/apm/public/components/shared/charts/latency_chart/index.tsx b/x-pack/plugins/observability_solution/apm/public/components/shared/charts/latency_chart/index.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/shared/charts/latency_chart/index.tsx rename to x-pack/plugins/observability_solution/apm/public/components/shared/charts/latency_chart/index.tsx diff --git a/x-pack/plugins/apm/public/components/shared/charts/latency_chart/latency_chart.stories.tsx b/x-pack/plugins/observability_solution/apm/public/components/shared/charts/latency_chart/latency_chart.stories.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/shared/charts/latency_chart/latency_chart.stories.tsx rename to x-pack/plugins/observability_solution/apm/public/components/shared/charts/latency_chart/latency_chart.stories.tsx diff --git a/x-pack/plugins/apm/public/components/shared/charts/latency_chart/latency_chart.test.tsx b/x-pack/plugins/observability_solution/apm/public/components/shared/charts/latency_chart/latency_chart.test.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/shared/charts/latency_chart/latency_chart.test.tsx rename to x-pack/plugins/observability_solution/apm/public/components/shared/charts/latency_chart/latency_chart.test.tsx diff --git a/x-pack/plugins/apm/public/components/shared/charts/metrics_chart/index.tsx b/x-pack/plugins/observability_solution/apm/public/components/shared/charts/metrics_chart/index.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/shared/charts/metrics_chart/index.tsx rename to x-pack/plugins/observability_solution/apm/public/components/shared/charts/metrics_chart/index.tsx diff --git a/x-pack/plugins/apm/public/components/shared/charts/spark_plot/index.tsx b/x-pack/plugins/observability_solution/apm/public/components/shared/charts/spark_plot/index.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/shared/charts/spark_plot/index.tsx rename to x-pack/plugins/observability_solution/apm/public/components/shared/charts/spark_plot/index.tsx diff --git a/x-pack/plugins/apm/public/components/shared/charts/timeline/__snapshots__/timeline.test.tsx.snap b/x-pack/plugins/observability_solution/apm/public/components/shared/charts/timeline/__snapshots__/timeline.test.tsx.snap similarity index 100% rename from x-pack/plugins/apm/public/components/shared/charts/timeline/__snapshots__/timeline.test.tsx.snap rename to x-pack/plugins/observability_solution/apm/public/components/shared/charts/timeline/__snapshots__/timeline.test.tsx.snap diff --git a/x-pack/plugins/apm/public/components/shared/charts/timeline/index.tsx b/x-pack/plugins/observability_solution/apm/public/components/shared/charts/timeline/index.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/shared/charts/timeline/index.tsx rename to x-pack/plugins/observability_solution/apm/public/components/shared/charts/timeline/index.tsx diff --git a/x-pack/plugins/apm/public/components/shared/charts/timeline/last_tick_value.tsx b/x-pack/plugins/observability_solution/apm/public/components/shared/charts/timeline/last_tick_value.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/shared/charts/timeline/last_tick_value.tsx rename to x-pack/plugins/observability_solution/apm/public/components/shared/charts/timeline/last_tick_value.tsx diff --git a/x-pack/plugins/apm/public/components/shared/charts/timeline/legend.tsx b/x-pack/plugins/observability_solution/apm/public/components/shared/charts/timeline/legend.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/shared/charts/timeline/legend.tsx rename to x-pack/plugins/observability_solution/apm/public/components/shared/charts/timeline/legend.tsx diff --git a/x-pack/plugins/apm/public/components/shared/charts/timeline/marker/__snapshots__/agent_marker.test.tsx.snap b/x-pack/plugins/observability_solution/apm/public/components/shared/charts/timeline/marker/__snapshots__/agent_marker.test.tsx.snap similarity index 100% rename from x-pack/plugins/apm/public/components/shared/charts/timeline/marker/__snapshots__/agent_marker.test.tsx.snap rename to x-pack/plugins/observability_solution/apm/public/components/shared/charts/timeline/marker/__snapshots__/agent_marker.test.tsx.snap diff --git a/x-pack/plugins/apm/public/components/shared/charts/timeline/marker/__snapshots__/index.test.tsx.snap b/x-pack/plugins/observability_solution/apm/public/components/shared/charts/timeline/marker/__snapshots__/index.test.tsx.snap similarity index 100% rename from x-pack/plugins/apm/public/components/shared/charts/timeline/marker/__snapshots__/index.test.tsx.snap rename to x-pack/plugins/observability_solution/apm/public/components/shared/charts/timeline/marker/__snapshots__/index.test.tsx.snap diff --git a/x-pack/plugins/apm/public/components/shared/charts/timeline/marker/agent_marker.test.tsx b/x-pack/plugins/observability_solution/apm/public/components/shared/charts/timeline/marker/agent_marker.test.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/shared/charts/timeline/marker/agent_marker.test.tsx rename to x-pack/plugins/observability_solution/apm/public/components/shared/charts/timeline/marker/agent_marker.test.tsx diff --git a/x-pack/plugins/apm/public/components/shared/charts/timeline/marker/agent_marker.tsx b/x-pack/plugins/observability_solution/apm/public/components/shared/charts/timeline/marker/agent_marker.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/shared/charts/timeline/marker/agent_marker.tsx rename to x-pack/plugins/observability_solution/apm/public/components/shared/charts/timeline/marker/agent_marker.tsx diff --git a/x-pack/plugins/apm/public/components/shared/charts/timeline/marker/error_marker.test.tsx b/x-pack/plugins/observability_solution/apm/public/components/shared/charts/timeline/marker/error_marker.test.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/shared/charts/timeline/marker/error_marker.test.tsx rename to x-pack/plugins/observability_solution/apm/public/components/shared/charts/timeline/marker/error_marker.test.tsx diff --git a/x-pack/plugins/apm/public/components/shared/charts/timeline/marker/error_marker.tsx b/x-pack/plugins/observability_solution/apm/public/components/shared/charts/timeline/marker/error_marker.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/shared/charts/timeline/marker/error_marker.tsx rename to x-pack/plugins/observability_solution/apm/public/components/shared/charts/timeline/marker/error_marker.tsx diff --git a/x-pack/plugins/apm/public/components/shared/charts/timeline/marker/index.test.tsx b/x-pack/plugins/observability_solution/apm/public/components/shared/charts/timeline/marker/index.test.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/shared/charts/timeline/marker/index.test.tsx rename to x-pack/plugins/observability_solution/apm/public/components/shared/charts/timeline/marker/index.test.tsx diff --git a/x-pack/plugins/apm/public/components/shared/charts/timeline/marker/index.tsx b/x-pack/plugins/observability_solution/apm/public/components/shared/charts/timeline/marker/index.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/shared/charts/timeline/marker/index.tsx rename to x-pack/plugins/observability_solution/apm/public/components/shared/charts/timeline/marker/index.tsx diff --git a/x-pack/plugins/apm/public/components/shared/charts/timeline/plot_utils.ts b/x-pack/plugins/observability_solution/apm/public/components/shared/charts/timeline/plot_utils.ts similarity index 100% rename from x-pack/plugins/apm/public/components/shared/charts/timeline/plot_utils.ts rename to x-pack/plugins/observability_solution/apm/public/components/shared/charts/timeline/plot_utils.ts diff --git a/x-pack/plugins/apm/public/components/shared/charts/timeline/timeline.test.tsx b/x-pack/plugins/observability_solution/apm/public/components/shared/charts/timeline/timeline.test.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/shared/charts/timeline/timeline.test.tsx rename to x-pack/plugins/observability_solution/apm/public/components/shared/charts/timeline/timeline.test.tsx diff --git a/x-pack/plugins/apm/public/components/shared/charts/timeline/timeline_axis.tsx b/x-pack/plugins/observability_solution/apm/public/components/shared/charts/timeline/timeline_axis.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/shared/charts/timeline/timeline_axis.tsx rename to x-pack/plugins/observability_solution/apm/public/components/shared/charts/timeline/timeline_axis.tsx diff --git a/x-pack/plugins/apm/public/components/shared/charts/timeline/vertical_lines.tsx b/x-pack/plugins/observability_solution/apm/public/components/shared/charts/timeline/vertical_lines.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/shared/charts/timeline/vertical_lines.tsx rename to x-pack/plugins/observability_solution/apm/public/components/shared/charts/timeline/vertical_lines.tsx diff --git a/x-pack/plugins/apm/public/components/shared/charts/timeseries_chart.tsx b/x-pack/plugins/observability_solution/apm/public/components/shared/charts/timeseries_chart.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/shared/charts/timeseries_chart.tsx rename to x-pack/plugins/observability_solution/apm/public/components/shared/charts/timeseries_chart.tsx diff --git a/x-pack/plugins/apm/public/components/shared/charts/timeseries_chart_with_context.tsx b/x-pack/plugins/observability_solution/apm/public/components/shared/charts/timeseries_chart_with_context.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/shared/charts/timeseries_chart_with_context.tsx rename to x-pack/plugins/observability_solution/apm/public/components/shared/charts/timeseries_chart_with_context.tsx diff --git a/x-pack/plugins/apm/public/components/shared/charts/transaction_breakdown_chart/index.tsx b/x-pack/plugins/observability_solution/apm/public/components/shared/charts/transaction_breakdown_chart/index.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/shared/charts/transaction_breakdown_chart/index.tsx rename to x-pack/plugins/observability_solution/apm/public/components/shared/charts/transaction_breakdown_chart/index.tsx diff --git a/x-pack/plugins/apm/public/components/shared/charts/transaction_breakdown_chart/use_transaction_breakdown.ts b/x-pack/plugins/observability_solution/apm/public/components/shared/charts/transaction_breakdown_chart/use_transaction_breakdown.ts similarity index 100% rename from x-pack/plugins/apm/public/components/shared/charts/transaction_breakdown_chart/use_transaction_breakdown.ts rename to x-pack/plugins/observability_solution/apm/public/components/shared/charts/transaction_breakdown_chart/use_transaction_breakdown.ts diff --git a/x-pack/plugins/apm/public/components/shared/charts/transaction_charts/helper.test.ts b/x-pack/plugins/observability_solution/apm/public/components/shared/charts/transaction_charts/helper.test.ts similarity index 100% rename from x-pack/plugins/apm/public/components/shared/charts/transaction_charts/helper.test.ts rename to x-pack/plugins/observability_solution/apm/public/components/shared/charts/transaction_charts/helper.test.ts diff --git a/x-pack/plugins/apm/public/components/shared/charts/transaction_charts/helper.tsx b/x-pack/plugins/observability_solution/apm/public/components/shared/charts/transaction_charts/helper.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/shared/charts/transaction_charts/helper.tsx rename to x-pack/plugins/observability_solution/apm/public/components/shared/charts/transaction_charts/helper.tsx diff --git a/x-pack/plugins/apm/public/components/shared/charts/transaction_charts/index.tsx b/x-pack/plugins/observability_solution/apm/public/components/shared/charts/transaction_charts/index.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/shared/charts/transaction_charts/index.tsx rename to x-pack/plugins/observability_solution/apm/public/components/shared/charts/transaction_charts/index.tsx diff --git a/x-pack/plugins/apm/public/components/shared/charts/transaction_charts/ml_header.tsx b/x-pack/plugins/observability_solution/apm/public/components/shared/charts/transaction_charts/ml_header.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/shared/charts/transaction_charts/ml_header.tsx rename to x-pack/plugins/observability_solution/apm/public/components/shared/charts/transaction_charts/ml_header.tsx diff --git a/x-pack/plugins/apm/public/components/shared/charts/transaction_coldstart_rate_chart/index.tsx b/x-pack/plugins/observability_solution/apm/public/components/shared/charts/transaction_coldstart_rate_chart/index.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/shared/charts/transaction_coldstart_rate_chart/index.tsx rename to x-pack/plugins/observability_solution/apm/public/components/shared/charts/transaction_coldstart_rate_chart/index.tsx diff --git a/x-pack/plugins/apm/public/components/shared/charts/treemap_chart/index.tsx b/x-pack/plugins/observability_solution/apm/public/components/shared/charts/treemap_chart/index.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/shared/charts/treemap_chart/index.tsx rename to x-pack/plugins/observability_solution/apm/public/components/shared/charts/treemap_chart/index.tsx diff --git a/x-pack/plugins/apm/public/components/shared/critical_path_flamegraph/critical_path_flamegraph_tooltip.tsx b/x-pack/plugins/observability_solution/apm/public/components/shared/critical_path_flamegraph/critical_path_flamegraph_tooltip.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/shared/critical_path_flamegraph/critical_path_flamegraph_tooltip.tsx rename to x-pack/plugins/observability_solution/apm/public/components/shared/critical_path_flamegraph/critical_path_flamegraph_tooltip.tsx diff --git a/x-pack/plugins/apm/public/components/shared/critical_path_flamegraph/critical_path_to_flamegraph.ts b/x-pack/plugins/observability_solution/apm/public/components/shared/critical_path_flamegraph/critical_path_to_flamegraph.ts similarity index 100% rename from x-pack/plugins/apm/public/components/shared/critical_path_flamegraph/critical_path_to_flamegraph.ts rename to x-pack/plugins/observability_solution/apm/public/components/shared/critical_path_flamegraph/critical_path_to_flamegraph.ts diff --git a/x-pack/plugins/apm/public/components/shared/critical_path_flamegraph/index.tsx b/x-pack/plugins/observability_solution/apm/public/components/shared/critical_path_flamegraph/index.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/shared/critical_path_flamegraph/index.tsx rename to x-pack/plugins/observability_solution/apm/public/components/shared/critical_path_flamegraph/index.tsx diff --git a/x-pack/plugins/apm/public/components/shared/date_picker/apm_date_picker.tsx b/x-pack/plugins/observability_solution/apm/public/components/shared/date_picker/apm_date_picker.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/shared/date_picker/apm_date_picker.tsx rename to x-pack/plugins/observability_solution/apm/public/components/shared/date_picker/apm_date_picker.tsx diff --git a/x-pack/plugins/apm/public/components/shared/date_picker/date_picker.test.tsx b/x-pack/plugins/observability_solution/apm/public/components/shared/date_picker/date_picker.test.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/shared/date_picker/date_picker.test.tsx rename to x-pack/plugins/observability_solution/apm/public/components/shared/date_picker/date_picker.test.tsx diff --git a/x-pack/plugins/apm/public/components/shared/date_picker/index.tsx b/x-pack/plugins/observability_solution/apm/public/components/shared/date_picker/index.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/shared/date_picker/index.tsx rename to x-pack/plugins/observability_solution/apm/public/components/shared/date_picker/index.tsx diff --git a/x-pack/plugins/apm/public/components/shared/date_picker/typings.ts b/x-pack/plugins/observability_solution/apm/public/components/shared/date_picker/typings.ts similarity index 100% rename from x-pack/plugins/apm/public/components/shared/date_picker/typings.ts rename to x-pack/plugins/observability_solution/apm/public/components/shared/date_picker/typings.ts diff --git a/x-pack/plugins/apm/public/components/shared/dependencies_table/dependencies_table_service_map_link.tsx b/x-pack/plugins/observability_solution/apm/public/components/shared/dependencies_table/dependencies_table_service_map_link.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/shared/dependencies_table/dependencies_table_service_map_link.tsx rename to x-pack/plugins/observability_solution/apm/public/components/shared/dependencies_table/dependencies_table_service_map_link.tsx diff --git a/x-pack/plugins/apm/public/components/shared/dependencies_table/get_span_metric_columns.tsx b/x-pack/plugins/observability_solution/apm/public/components/shared/dependencies_table/get_span_metric_columns.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/shared/dependencies_table/get_span_metric_columns.tsx rename to x-pack/plugins/observability_solution/apm/public/components/shared/dependencies_table/get_span_metric_columns.tsx diff --git a/x-pack/plugins/apm/public/components/shared/dependencies_table/index.tsx b/x-pack/plugins/observability_solution/apm/public/components/shared/dependencies_table/index.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/shared/dependencies_table/index.tsx rename to x-pack/plugins/observability_solution/apm/public/components/shared/dependencies_table/index.tsx diff --git a/x-pack/plugins/apm/public/components/shared/dependency_metric_charts/dependency_failed_transaction_rate_chart.tsx b/x-pack/plugins/observability_solution/apm/public/components/shared/dependency_metric_charts/dependency_failed_transaction_rate_chart.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/shared/dependency_metric_charts/dependency_failed_transaction_rate_chart.tsx rename to x-pack/plugins/observability_solution/apm/public/components/shared/dependency_metric_charts/dependency_failed_transaction_rate_chart.tsx diff --git a/x-pack/plugins/apm/public/components/shared/dependency_metric_charts/dependency_latency_chart.tsx b/x-pack/plugins/observability_solution/apm/public/components/shared/dependency_metric_charts/dependency_latency_chart.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/shared/dependency_metric_charts/dependency_latency_chart.tsx rename to x-pack/plugins/observability_solution/apm/public/components/shared/dependency_metric_charts/dependency_latency_chart.tsx diff --git a/x-pack/plugins/apm/public/components/shared/dependency_metric_charts/dependency_metric_charts_route_params.ts b/x-pack/plugins/observability_solution/apm/public/components/shared/dependency_metric_charts/dependency_metric_charts_route_params.ts similarity index 100% rename from x-pack/plugins/apm/public/components/shared/dependency_metric_charts/dependency_metric_charts_route_params.ts rename to x-pack/plugins/observability_solution/apm/public/components/shared/dependency_metric_charts/dependency_metric_charts_route_params.ts diff --git a/x-pack/plugins/apm/public/components/shared/dependency_metric_charts/dependency_throughput_chart.tsx b/x-pack/plugins/observability_solution/apm/public/components/shared/dependency_metric_charts/dependency_throughput_chart.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/shared/dependency_metric_charts/dependency_throughput_chart.tsx rename to x-pack/plugins/observability_solution/apm/public/components/shared/dependency_metric_charts/dependency_throughput_chart.tsx diff --git a/x-pack/plugins/apm/public/components/shared/dependency_metric_charts/index.tsx b/x-pack/plugins/observability_solution/apm/public/components/shared/dependency_metric_charts/index.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/shared/dependency_metric_charts/index.tsx rename to x-pack/plugins/observability_solution/apm/public/components/shared/dependency_metric_charts/index.tsx diff --git a/x-pack/plugins/apm/public/components/shared/empty_message.tsx b/x-pack/plugins/observability_solution/apm/public/components/shared/empty_message.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/shared/empty_message.tsx rename to x-pack/plugins/observability_solution/apm/public/components/shared/empty_message.tsx diff --git a/x-pack/plugins/apm/public/components/shared/environment_badge/index.tsx b/x-pack/plugins/observability_solution/apm/public/components/shared/environment_badge/index.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/shared/environment_badge/index.tsx rename to x-pack/plugins/observability_solution/apm/public/components/shared/environment_badge/index.tsx diff --git a/x-pack/plugins/apm/public/components/shared/environment_filter/index.tsx b/x-pack/plugins/observability_solution/apm/public/components/shared/environment_filter/index.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/shared/environment_filter/index.tsx rename to x-pack/plugins/observability_solution/apm/public/components/shared/environment_filter/index.tsx diff --git a/x-pack/plugins/apm/public/components/shared/environment_select/index.tsx b/x-pack/plugins/observability_solution/apm/public/components/shared/environment_select/index.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/shared/environment_select/index.tsx rename to x-pack/plugins/observability_solution/apm/public/components/shared/environment_select/index.tsx diff --git a/x-pack/plugins/apm/public/components/shared/error_state_prompt.tsx b/x-pack/plugins/observability_solution/apm/public/components/shared/error_state_prompt.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/shared/error_state_prompt.tsx rename to x-pack/plugins/observability_solution/apm/public/components/shared/error_state_prompt.tsx diff --git a/x-pack/plugins/apm/public/components/shared/errors_table/get_columns.tsx b/x-pack/plugins/observability_solution/apm/public/components/shared/errors_table/get_columns.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/shared/errors_table/get_columns.tsx rename to x-pack/plugins/observability_solution/apm/public/components/shared/errors_table/get_columns.tsx diff --git a/x-pack/plugins/apm/public/components/shared/get_bool_filter.ts b/x-pack/plugins/observability_solution/apm/public/components/shared/get_bool_filter.ts similarity index 100% rename from x-pack/plugins/apm/public/components/shared/get_bool_filter.ts rename to x-pack/plugins/observability_solution/apm/public/components/shared/get_bool_filter.ts diff --git a/x-pack/plugins/apm/public/components/shared/height_retainer/index.tsx b/x-pack/plugins/observability_solution/apm/public/components/shared/height_retainer/index.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/shared/height_retainer/index.tsx rename to x-pack/plugins/observability_solution/apm/public/components/shared/height_retainer/index.tsx diff --git a/x-pack/plugins/apm/public/components/shared/height_retainer/resetting_height_container.tsx b/x-pack/plugins/observability_solution/apm/public/components/shared/height_retainer/resetting_height_container.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/shared/height_retainer/resetting_height_container.tsx rename to x-pack/plugins/observability_solution/apm/public/components/shared/height_retainer/resetting_height_container.tsx diff --git a/x-pack/plugins/apm/public/components/shared/impact_bar/__snapshots__/impact_bar.test.js.snap b/x-pack/plugins/observability_solution/apm/public/components/shared/impact_bar/__snapshots__/impact_bar.test.js.snap similarity index 100% rename from x-pack/plugins/apm/public/components/shared/impact_bar/__snapshots__/impact_bar.test.js.snap rename to x-pack/plugins/observability_solution/apm/public/components/shared/impact_bar/__snapshots__/impact_bar.test.js.snap diff --git a/x-pack/plugins/apm/public/components/shared/impact_bar/impact_bar.test.js b/x-pack/plugins/observability_solution/apm/public/components/shared/impact_bar/impact_bar.test.js similarity index 100% rename from x-pack/plugins/apm/public/components/shared/impact_bar/impact_bar.test.js rename to x-pack/plugins/observability_solution/apm/public/components/shared/impact_bar/impact_bar.test.js diff --git a/x-pack/plugins/apm/public/components/shared/impact_bar/index.tsx b/x-pack/plugins/observability_solution/apm/public/components/shared/impact_bar/index.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/shared/impact_bar/index.tsx rename to x-pack/plugins/observability_solution/apm/public/components/shared/impact_bar/index.tsx diff --git a/x-pack/plugins/apm/public/components/shared/is_route_with_time_range.ts b/x-pack/plugins/observability_solution/apm/public/components/shared/is_route_with_time_range.ts similarity index 100% rename from x-pack/plugins/apm/public/components/shared/is_route_with_time_range.ts rename to x-pack/plugins/observability_solution/apm/public/components/shared/is_route_with_time_range.ts diff --git a/x-pack/plugins/apm/public/components/shared/item_badge/index.tsx b/x-pack/plugins/observability_solution/apm/public/components/shared/item_badge/index.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/shared/item_badge/index.tsx rename to x-pack/plugins/observability_solution/apm/public/components/shared/item_badge/index.tsx diff --git a/x-pack/plugins/apm/public/components/shared/key_value_filter_list/index.tsx b/x-pack/plugins/observability_solution/apm/public/components/shared/key_value_filter_list/index.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/shared/key_value_filter_list/index.tsx rename to x-pack/plugins/observability_solution/apm/public/components/shared/key_value_filter_list/index.tsx diff --git a/x-pack/plugins/apm/public/components/shared/key_value_filter_list/key_value_filter_list.test.tsx b/x-pack/plugins/observability_solution/apm/public/components/shared/key_value_filter_list/key_value_filter_list.test.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/shared/key_value_filter_list/key_value_filter_list.test.tsx rename to x-pack/plugins/observability_solution/apm/public/components/shared/key_value_filter_list/key_value_filter_list.test.tsx diff --git a/x-pack/plugins/apm/public/components/shared/key_value_table/formatted_value.tsx b/x-pack/plugins/observability_solution/apm/public/components/shared/key_value_table/formatted_value.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/shared/key_value_table/formatted_value.tsx rename to x-pack/plugins/observability_solution/apm/public/components/shared/key_value_table/formatted_value.tsx diff --git a/x-pack/plugins/apm/public/components/shared/key_value_table/index.tsx b/x-pack/plugins/observability_solution/apm/public/components/shared/key_value_table/index.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/shared/key_value_table/index.tsx rename to x-pack/plugins/observability_solution/apm/public/components/shared/key_value_table/index.tsx diff --git a/x-pack/plugins/apm/public/components/shared/key_value_table/key_value_table.test.tsx b/x-pack/plugins/observability_solution/apm/public/components/shared/key_value_table/key_value_table.test.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/shared/key_value_table/key_value_table.test.tsx rename to x-pack/plugins/observability_solution/apm/public/components/shared/key_value_table/key_value_table.test.tsx diff --git a/x-pack/plugins/apm/public/components/shared/kuery_bar/index.tsx b/x-pack/plugins/observability_solution/apm/public/components/shared/kuery_bar/index.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/shared/kuery_bar/index.tsx rename to x-pack/plugins/observability_solution/apm/public/components/shared/kuery_bar/index.tsx diff --git a/x-pack/plugins/apm/public/components/shared/kuery_bar/typeahead/click_outside.js b/x-pack/plugins/observability_solution/apm/public/components/shared/kuery_bar/typeahead/click_outside.js similarity index 100% rename from x-pack/plugins/apm/public/components/shared/kuery_bar/typeahead/click_outside.js rename to x-pack/plugins/observability_solution/apm/public/components/shared/kuery_bar/typeahead/click_outside.js diff --git a/x-pack/plugins/apm/public/components/shared/kuery_bar/typeahead/index.js b/x-pack/plugins/observability_solution/apm/public/components/shared/kuery_bar/typeahead/index.js similarity index 100% rename from x-pack/plugins/apm/public/components/shared/kuery_bar/typeahead/index.js rename to x-pack/plugins/observability_solution/apm/public/components/shared/kuery_bar/typeahead/index.js diff --git a/x-pack/plugins/apm/public/components/shared/kuery_bar/typeahead/suggestion.js b/x-pack/plugins/observability_solution/apm/public/components/shared/kuery_bar/typeahead/suggestion.js similarity index 100% rename from x-pack/plugins/apm/public/components/shared/kuery_bar/typeahead/suggestion.js rename to x-pack/plugins/observability_solution/apm/public/components/shared/kuery_bar/typeahead/suggestion.js diff --git a/x-pack/plugins/apm/public/components/shared/kuery_bar/typeahead/suggestions.js b/x-pack/plugins/observability_solution/apm/public/components/shared/kuery_bar/typeahead/suggestions.js similarity index 100% rename from x-pack/plugins/apm/public/components/shared/kuery_bar/typeahead/suggestions.js rename to x-pack/plugins/observability_solution/apm/public/components/shared/kuery_bar/typeahead/suggestions.js diff --git a/x-pack/plugins/apm/public/components/shared/kuery_bar/utils.ts b/x-pack/plugins/observability_solution/apm/public/components/shared/kuery_bar/utils.ts similarity index 100% rename from x-pack/plugins/apm/public/components/shared/kuery_bar/utils.ts rename to x-pack/plugins/observability_solution/apm/public/components/shared/kuery_bar/utils.ts diff --git a/x-pack/plugins/apm/public/components/shared/license_prompt/index.tsx b/x-pack/plugins/observability_solution/apm/public/components/shared/license_prompt/index.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/shared/license_prompt/index.tsx rename to x-pack/plugins/observability_solution/apm/public/components/shared/license_prompt/index.tsx diff --git a/x-pack/plugins/apm/public/components/shared/license_prompt/license_prompt.stories.tsx b/x-pack/plugins/observability_solution/apm/public/components/shared/license_prompt/license_prompt.stories.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/shared/license_prompt/license_prompt.stories.tsx rename to x-pack/plugins/observability_solution/apm/public/components/shared/license_prompt/license_prompt.stories.tsx diff --git a/x-pack/plugins/apm/public/components/shared/links/apm/agent_configuration_links.tsx b/x-pack/plugins/observability_solution/apm/public/components/shared/links/apm/agent_configuration_links.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/shared/links/apm/agent_configuration_links.tsx rename to x-pack/plugins/observability_solution/apm/public/components/shared/links/apm/agent_configuration_links.tsx diff --git a/x-pack/plugins/apm/public/components/shared/links/apm/apm_link.test.tsx b/x-pack/plugins/observability_solution/apm/public/components/shared/links/apm/apm_link.test.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/shared/links/apm/apm_link.test.tsx rename to x-pack/plugins/observability_solution/apm/public/components/shared/links/apm/apm_link.test.tsx diff --git a/x-pack/plugins/apm/public/components/shared/links/apm/apm_link.tsx b/x-pack/plugins/observability_solution/apm/public/components/shared/links/apm/apm_link.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/shared/links/apm/apm_link.tsx rename to x-pack/plugins/observability_solution/apm/public/components/shared/links/apm/apm_link.tsx diff --git a/x-pack/plugins/apm/public/components/shared/links/apm/error_detail_link.tsx b/x-pack/plugins/observability_solution/apm/public/components/shared/links/apm/error_detail_link.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/shared/links/apm/error_detail_link.tsx rename to x-pack/plugins/observability_solution/apm/public/components/shared/links/apm/error_detail_link.tsx diff --git a/x-pack/plugins/apm/public/components/shared/links/apm/error_overview_link.tsx b/x-pack/plugins/observability_solution/apm/public/components/shared/links/apm/error_overview_link.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/shared/links/apm/error_overview_link.tsx rename to x-pack/plugins/observability_solution/apm/public/components/shared/links/apm/error_overview_link.tsx diff --git a/x-pack/plugins/apm/public/components/shared/links/apm/home_link.tsx b/x-pack/plugins/observability_solution/apm/public/components/shared/links/apm/home_link.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/shared/links/apm/home_link.tsx rename to x-pack/plugins/observability_solution/apm/public/components/shared/links/apm/home_link.tsx diff --git a/x-pack/plugins/apm/public/components/shared/links/apm/max_groups_message.tsx b/x-pack/plugins/observability_solution/apm/public/components/shared/links/apm/max_groups_message.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/shared/links/apm/max_groups_message.tsx rename to x-pack/plugins/observability_solution/apm/public/components/shared/links/apm/max_groups_message.tsx diff --git a/x-pack/plugins/apm/public/components/shared/links/apm/metric_overview_link.tsx b/x-pack/plugins/observability_solution/apm/public/components/shared/links/apm/metric_overview_link.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/shared/links/apm/metric_overview_link.tsx rename to x-pack/plugins/observability_solution/apm/public/components/shared/links/apm/metric_overview_link.tsx diff --git a/x-pack/plugins/apm/public/components/shared/links/apm/mobile/crash_detail_link.tsx b/x-pack/plugins/observability_solution/apm/public/components/shared/links/apm/mobile/crash_detail_link.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/shared/links/apm/mobile/crash_detail_link.tsx rename to x-pack/plugins/observability_solution/apm/public/components/shared/links/apm/mobile/crash_detail_link.tsx diff --git a/x-pack/plugins/apm/public/components/shared/links/apm/mobile/error_detail_link.tsx b/x-pack/plugins/observability_solution/apm/public/components/shared/links/apm/mobile/error_detail_link.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/shared/links/apm/mobile/error_detail_link.tsx rename to x-pack/plugins/observability_solution/apm/public/components/shared/links/apm/mobile/error_detail_link.tsx diff --git a/x-pack/plugins/apm/public/components/shared/links/apm/mobile/error_overview_link.tsx b/x-pack/plugins/observability_solution/apm/public/components/shared/links/apm/mobile/error_overview_link.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/shared/links/apm/mobile/error_overview_link.tsx rename to x-pack/plugins/observability_solution/apm/public/components/shared/links/apm/mobile/error_overview_link.tsx diff --git a/x-pack/plugins/apm/public/components/shared/links/apm/service_inventory_link.tsx b/x-pack/plugins/observability_solution/apm/public/components/shared/links/apm/service_inventory_link.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/shared/links/apm/service_inventory_link.tsx rename to x-pack/plugins/observability_solution/apm/public/components/shared/links/apm/service_inventory_link.tsx diff --git a/x-pack/plugins/apm/public/components/shared/links/apm/service_link/index.tsx b/x-pack/plugins/observability_solution/apm/public/components/shared/links/apm/service_link/index.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/shared/links/apm/service_link/index.tsx rename to x-pack/plugins/observability_solution/apm/public/components/shared/links/apm/service_link/index.tsx diff --git a/x-pack/plugins/apm/public/components/shared/links/apm/service_link/service_link.stories.tsx b/x-pack/plugins/observability_solution/apm/public/components/shared/links/apm/service_link/service_link.stories.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/shared/links/apm/service_link/service_link.stories.tsx rename to x-pack/plugins/observability_solution/apm/public/components/shared/links/apm/service_link/service_link.stories.tsx diff --git a/x-pack/plugins/apm/public/components/shared/links/apm/service_link/service_link.test.tsx b/x-pack/plugins/observability_solution/apm/public/components/shared/links/apm/service_link/service_link.test.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/shared/links/apm/service_link/service_link.test.tsx rename to x-pack/plugins/observability_solution/apm/public/components/shared/links/apm/service_link/service_link.test.tsx diff --git a/x-pack/plugins/apm/public/components/shared/links/apm/service_map_link.tsx b/x-pack/plugins/observability_solution/apm/public/components/shared/links/apm/service_map_link.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/shared/links/apm/service_map_link.tsx rename to x-pack/plugins/observability_solution/apm/public/components/shared/links/apm/service_map_link.tsx diff --git a/x-pack/plugins/apm/public/components/shared/links/apm/service_node_metric_overview_link.tsx b/x-pack/plugins/observability_solution/apm/public/components/shared/links/apm/service_node_metric_overview_link.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/shared/links/apm/service_node_metric_overview_link.tsx rename to x-pack/plugins/observability_solution/apm/public/components/shared/links/apm/service_node_metric_overview_link.tsx diff --git a/x-pack/plugins/apm/public/components/shared/links/apm/service_node_overview_link.tsx b/x-pack/plugins/observability_solution/apm/public/components/shared/links/apm/service_node_overview_link.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/shared/links/apm/service_node_overview_link.tsx rename to x-pack/plugins/observability_solution/apm/public/components/shared/links/apm/service_node_overview_link.tsx diff --git a/x-pack/plugins/apm/public/components/shared/links/apm/service_transactions_overview_link.test.tsx b/x-pack/plugins/observability_solution/apm/public/components/shared/links/apm/service_transactions_overview_link.test.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/shared/links/apm/service_transactions_overview_link.test.tsx rename to x-pack/plugins/observability_solution/apm/public/components/shared/links/apm/service_transactions_overview_link.test.tsx diff --git a/x-pack/plugins/apm/public/components/shared/links/apm/service_transactions_overview_link.tsx b/x-pack/plugins/observability_solution/apm/public/components/shared/links/apm/service_transactions_overview_link.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/shared/links/apm/service_transactions_overview_link.tsx rename to x-pack/plugins/observability_solution/apm/public/components/shared/links/apm/service_transactions_overview_link.tsx diff --git a/x-pack/plugins/apm/public/components/shared/links/apm/trace_overview_link.tsx b/x-pack/plugins/observability_solution/apm/public/components/shared/links/apm/trace_overview_link.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/shared/links/apm/trace_overview_link.tsx rename to x-pack/plugins/observability_solution/apm/public/components/shared/links/apm/trace_overview_link.tsx diff --git a/x-pack/plugins/apm/public/components/shared/links/apm/transaction_detail_link/index.test.tsx b/x-pack/plugins/observability_solution/apm/public/components/shared/links/apm/transaction_detail_link/index.test.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/shared/links/apm/transaction_detail_link/index.test.tsx rename to x-pack/plugins/observability_solution/apm/public/components/shared/links/apm/transaction_detail_link/index.test.tsx diff --git a/x-pack/plugins/apm/public/components/shared/links/apm/transaction_detail_link/index.tsx b/x-pack/plugins/observability_solution/apm/public/components/shared/links/apm/transaction_detail_link/index.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/shared/links/apm/transaction_detail_link/index.tsx rename to x-pack/plugins/observability_solution/apm/public/components/shared/links/apm/transaction_detail_link/index.tsx diff --git a/x-pack/plugins/apm/public/components/shared/links/apm/transaction_overview_link.test.tsx b/x-pack/plugins/observability_solution/apm/public/components/shared/links/apm/transaction_overview_link.test.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/shared/links/apm/transaction_overview_link.test.tsx rename to x-pack/plugins/observability_solution/apm/public/components/shared/links/apm/transaction_overview_link.test.tsx diff --git a/x-pack/plugins/apm/public/components/shared/links/apm/transaction_overview_link.tsx b/x-pack/plugins/observability_solution/apm/public/components/shared/links/apm/transaction_overview_link.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/shared/links/apm/transaction_overview_link.tsx rename to x-pack/plugins/observability_solution/apm/public/components/shared/links/apm/transaction_overview_link.tsx diff --git a/x-pack/plugins/apm/public/components/shared/links/dependency_link.stories.tsx b/x-pack/plugins/observability_solution/apm/public/components/shared/links/dependency_link.stories.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/shared/links/dependency_link.stories.tsx rename to x-pack/plugins/observability_solution/apm/public/components/shared/links/dependency_link.stories.tsx diff --git a/x-pack/plugins/apm/public/components/shared/links/dependency_link.test.tsx b/x-pack/plugins/observability_solution/apm/public/components/shared/links/dependency_link.test.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/shared/links/dependency_link.test.tsx rename to x-pack/plugins/observability_solution/apm/public/components/shared/links/dependency_link.test.tsx diff --git a/x-pack/plugins/apm/public/components/shared/links/dependency_link.tsx b/x-pack/plugins/observability_solution/apm/public/components/shared/links/dependency_link.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/shared/links/dependency_link.tsx rename to x-pack/plugins/observability_solution/apm/public/components/shared/links/dependency_link.tsx diff --git a/x-pack/plugins/apm/public/components/shared/links/discover_links/__fixtures__/mock_transaction.json b/x-pack/plugins/observability_solution/apm/public/components/shared/links/discover_links/__fixtures__/mock_transaction.json similarity index 100% rename from x-pack/plugins/apm/public/components/shared/links/discover_links/__fixtures__/mock_transaction.json rename to x-pack/plugins/observability_solution/apm/public/components/shared/links/discover_links/__fixtures__/mock_transaction.json diff --git a/x-pack/plugins/apm/public/components/shared/links/discover_links/__snapshots__/discover_error_button.test.tsx.snap b/x-pack/plugins/observability_solution/apm/public/components/shared/links/discover_links/__snapshots__/discover_error_button.test.tsx.snap similarity index 100% rename from x-pack/plugins/apm/public/components/shared/links/discover_links/__snapshots__/discover_error_button.test.tsx.snap rename to x-pack/plugins/observability_solution/apm/public/components/shared/links/discover_links/__snapshots__/discover_error_button.test.tsx.snap diff --git a/x-pack/plugins/apm/public/components/shared/links/discover_links/__snapshots__/discover_error_link.test.tsx.snap b/x-pack/plugins/observability_solution/apm/public/components/shared/links/discover_links/__snapshots__/discover_error_link.test.tsx.snap similarity index 100% rename from x-pack/plugins/apm/public/components/shared/links/discover_links/__snapshots__/discover_error_link.test.tsx.snap rename to x-pack/plugins/observability_solution/apm/public/components/shared/links/discover_links/__snapshots__/discover_error_link.test.tsx.snap diff --git a/x-pack/plugins/apm/public/components/shared/links/discover_links/__snapshots__/discover_transaction_button.test.tsx.snap b/x-pack/plugins/observability_solution/apm/public/components/shared/links/discover_links/__snapshots__/discover_transaction_button.test.tsx.snap similarity index 100% rename from x-pack/plugins/apm/public/components/shared/links/discover_links/__snapshots__/discover_transaction_button.test.tsx.snap rename to x-pack/plugins/observability_solution/apm/public/components/shared/links/discover_links/__snapshots__/discover_transaction_button.test.tsx.snap diff --git a/x-pack/plugins/apm/public/components/shared/links/discover_links/__snapshots__/discover_transaction_link.test.tsx.snap b/x-pack/plugins/observability_solution/apm/public/components/shared/links/discover_links/__snapshots__/discover_transaction_link.test.tsx.snap similarity index 100% rename from x-pack/plugins/apm/public/components/shared/links/discover_links/__snapshots__/discover_transaction_link.test.tsx.snap rename to x-pack/plugins/observability_solution/apm/public/components/shared/links/discover_links/__snapshots__/discover_transaction_link.test.tsx.snap diff --git a/x-pack/plugins/apm/public/components/shared/links/discover_links/discover_error_button.test.tsx b/x-pack/plugins/observability_solution/apm/public/components/shared/links/discover_links/discover_error_button.test.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/shared/links/discover_links/discover_error_button.test.tsx rename to x-pack/plugins/observability_solution/apm/public/components/shared/links/discover_links/discover_error_button.test.tsx diff --git a/x-pack/plugins/apm/public/components/shared/links/discover_links/discover_error_link.test.tsx b/x-pack/plugins/observability_solution/apm/public/components/shared/links/discover_links/discover_error_link.test.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/shared/links/discover_links/discover_error_link.test.tsx rename to x-pack/plugins/observability_solution/apm/public/components/shared/links/discover_links/discover_error_link.test.tsx diff --git a/x-pack/plugins/apm/public/components/shared/links/discover_links/discover_error_link.tsx b/x-pack/plugins/observability_solution/apm/public/components/shared/links/discover_links/discover_error_link.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/shared/links/discover_links/discover_error_link.tsx rename to x-pack/plugins/observability_solution/apm/public/components/shared/links/discover_links/discover_error_link.tsx diff --git a/x-pack/plugins/apm/public/components/shared/links/discover_links/discover_link.tsx b/x-pack/plugins/observability_solution/apm/public/components/shared/links/discover_links/discover_link.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/shared/links/discover_links/discover_link.tsx rename to x-pack/plugins/observability_solution/apm/public/components/shared/links/discover_links/discover_link.tsx diff --git a/x-pack/plugins/apm/public/components/shared/links/discover_links/discover_links.integration.test.tsx b/x-pack/plugins/observability_solution/apm/public/components/shared/links/discover_links/discover_links.integration.test.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/shared/links/discover_links/discover_links.integration.test.tsx rename to x-pack/plugins/observability_solution/apm/public/components/shared/links/discover_links/discover_links.integration.test.tsx diff --git a/x-pack/plugins/apm/public/components/shared/links/discover_links/discover_span_link.tsx b/x-pack/plugins/observability_solution/apm/public/components/shared/links/discover_links/discover_span_link.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/shared/links/discover_links/discover_span_link.tsx rename to x-pack/plugins/observability_solution/apm/public/components/shared/links/discover_links/discover_span_link.tsx diff --git a/x-pack/plugins/apm/public/components/shared/links/discover_links/discover_transaction_button.test.tsx b/x-pack/plugins/observability_solution/apm/public/components/shared/links/discover_links/discover_transaction_button.test.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/shared/links/discover_links/discover_transaction_button.test.tsx rename to x-pack/plugins/observability_solution/apm/public/components/shared/links/discover_links/discover_transaction_button.test.tsx diff --git a/x-pack/plugins/apm/public/components/shared/links/discover_links/discover_transaction_link.test.tsx b/x-pack/plugins/observability_solution/apm/public/components/shared/links/discover_links/discover_transaction_link.test.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/shared/links/discover_links/discover_transaction_link.test.tsx rename to x-pack/plugins/observability_solution/apm/public/components/shared/links/discover_links/discover_transaction_link.test.tsx diff --git a/x-pack/plugins/apm/public/components/shared/links/discover_links/discover_transaction_link.tsx b/x-pack/plugins/observability_solution/apm/public/components/shared/links/discover_links/discover_transaction_link.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/shared/links/discover_links/discover_transaction_link.tsx rename to x-pack/plugins/observability_solution/apm/public/components/shared/links/discover_links/discover_transaction_link.tsx diff --git a/x-pack/plugins/apm/public/components/shared/links/elastic_docs_link.tsx b/x-pack/plugins/observability_solution/apm/public/components/shared/links/elastic_docs_link.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/shared/links/elastic_docs_link.tsx rename to x-pack/plugins/observability_solution/apm/public/components/shared/links/elastic_docs_link.tsx diff --git a/x-pack/plugins/apm/public/components/shared/links/infra_link.test.tsx b/x-pack/plugins/observability_solution/apm/public/components/shared/links/infra_link.test.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/shared/links/infra_link.test.tsx rename to x-pack/plugins/observability_solution/apm/public/components/shared/links/infra_link.test.tsx diff --git a/x-pack/plugins/apm/public/components/shared/links/infra_link.tsx b/x-pack/plugins/observability_solution/apm/public/components/shared/links/infra_link.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/shared/links/infra_link.tsx rename to x-pack/plugins/observability_solution/apm/public/components/shared/links/infra_link.tsx diff --git a/x-pack/plugins/apm/public/components/shared/links/kibana.ts b/x-pack/plugins/observability_solution/apm/public/components/shared/links/kibana.ts similarity index 100% rename from x-pack/plugins/apm/public/components/shared/links/kibana.ts rename to x-pack/plugins/observability_solution/apm/public/components/shared/links/kibana.ts diff --git a/x-pack/plugins/apm/public/components/shared/links/machine_learning_links/mlexplorer_link.test.tsx b/x-pack/plugins/observability_solution/apm/public/components/shared/links/machine_learning_links/mlexplorer_link.test.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/shared/links/machine_learning_links/mlexplorer_link.test.tsx rename to x-pack/plugins/observability_solution/apm/public/components/shared/links/machine_learning_links/mlexplorer_link.test.tsx diff --git a/x-pack/plugins/apm/public/components/shared/links/machine_learning_links/mlexplorer_link.tsx b/x-pack/plugins/observability_solution/apm/public/components/shared/links/machine_learning_links/mlexplorer_link.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/shared/links/machine_learning_links/mlexplorer_link.tsx rename to x-pack/plugins/observability_solution/apm/public/components/shared/links/machine_learning_links/mlexplorer_link.tsx diff --git a/x-pack/plugins/apm/public/components/shared/links/machine_learning_links/mlmanage_jobs_link.test.tsx b/x-pack/plugins/observability_solution/apm/public/components/shared/links/machine_learning_links/mlmanage_jobs_link.test.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/shared/links/machine_learning_links/mlmanage_jobs_link.test.tsx rename to x-pack/plugins/observability_solution/apm/public/components/shared/links/machine_learning_links/mlmanage_jobs_link.test.tsx diff --git a/x-pack/plugins/apm/public/components/shared/links/machine_learning_links/mlmanage_jobs_link.tsx b/x-pack/plugins/observability_solution/apm/public/components/shared/links/machine_learning_links/mlmanage_jobs_link.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/shared/links/machine_learning_links/mlmanage_jobs_link.tsx rename to x-pack/plugins/observability_solution/apm/public/components/shared/links/machine_learning_links/mlmanage_jobs_link.tsx diff --git a/x-pack/plugins/apm/public/components/shared/links/machine_learning_links/mlsingle_metric_link.test.tsx b/x-pack/plugins/observability_solution/apm/public/components/shared/links/machine_learning_links/mlsingle_metric_link.test.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/shared/links/machine_learning_links/mlsingle_metric_link.test.tsx rename to x-pack/plugins/observability_solution/apm/public/components/shared/links/machine_learning_links/mlsingle_metric_link.test.tsx diff --git a/x-pack/plugins/apm/public/components/shared/links/machine_learning_links/mlsingle_metric_link.tsx b/x-pack/plugins/observability_solution/apm/public/components/shared/links/machine_learning_links/mlsingle_metric_link.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/shared/links/machine_learning_links/mlsingle_metric_link.tsx rename to x-pack/plugins/observability_solution/apm/public/components/shared/links/machine_learning_links/mlsingle_metric_link.tsx diff --git a/x-pack/plugins/apm/public/components/shared/links/rison_helpers.test.ts b/x-pack/plugins/observability_solution/apm/public/components/shared/links/rison_helpers.test.ts similarity index 100% rename from x-pack/plugins/apm/public/components/shared/links/rison_helpers.test.ts rename to x-pack/plugins/observability_solution/apm/public/components/shared/links/rison_helpers.test.ts diff --git a/x-pack/plugins/apm/public/components/shared/links/rison_helpers.ts b/x-pack/plugins/observability_solution/apm/public/components/shared/links/rison_helpers.ts similarity index 100% rename from x-pack/plugins/apm/public/components/shared/links/rison_helpers.ts rename to x-pack/plugins/observability_solution/apm/public/components/shared/links/rison_helpers.ts diff --git a/x-pack/plugins/apm/public/components/shared/links/setup_instructions_link.tsx b/x-pack/plugins/observability_solution/apm/public/components/shared/links/setup_instructions_link.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/shared/links/setup_instructions_link.tsx rename to x-pack/plugins/observability_solution/apm/public/components/shared/links/setup_instructions_link.tsx diff --git a/x-pack/plugins/apm/public/components/shared/links/url_helpers.test.tsx b/x-pack/plugins/observability_solution/apm/public/components/shared/links/url_helpers.test.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/shared/links/url_helpers.test.tsx rename to x-pack/plugins/observability_solution/apm/public/components/shared/links/url_helpers.test.tsx diff --git a/x-pack/plugins/apm/public/components/shared/links/url_helpers.ts b/x-pack/plugins/observability_solution/apm/public/components/shared/links/url_helpers.ts similarity index 100% rename from x-pack/plugins/apm/public/components/shared/links/url_helpers.ts rename to x-pack/plugins/observability_solution/apm/public/components/shared/links/url_helpers.ts diff --git a/x-pack/plugins/apm/public/components/shared/list_metric.tsx b/x-pack/plugins/observability_solution/apm/public/components/shared/list_metric.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/shared/list_metric.tsx rename to x-pack/plugins/observability_solution/apm/public/components/shared/list_metric.tsx diff --git a/x-pack/plugins/apm/public/components/shared/loading_state_prompt.tsx b/x-pack/plugins/observability_solution/apm/public/components/shared/loading_state_prompt.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/shared/loading_state_prompt.tsx rename to x-pack/plugins/observability_solution/apm/public/components/shared/loading_state_prompt.tsx diff --git a/x-pack/plugins/apm/public/components/shared/managed_table/index.tsx b/x-pack/plugins/observability_solution/apm/public/components/shared/managed_table/index.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/shared/managed_table/index.tsx rename to x-pack/plugins/observability_solution/apm/public/components/shared/managed_table/index.tsx diff --git a/x-pack/plugins/apm/public/components/shared/managed_table/managed_table.test.tsx b/x-pack/plugins/observability_solution/apm/public/components/shared/managed_table/managed_table.test.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/shared/managed_table/managed_table.test.tsx rename to x-pack/plugins/observability_solution/apm/public/components/shared/managed_table/managed_table.test.tsx diff --git a/x-pack/plugins/apm/public/components/shared/metadata_table/error_metadata/index.tsx b/x-pack/plugins/observability_solution/apm/public/components/shared/metadata_table/error_metadata/index.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/shared/metadata_table/error_metadata/index.tsx rename to x-pack/plugins/observability_solution/apm/public/components/shared/metadata_table/error_metadata/index.tsx diff --git a/x-pack/plugins/apm/public/components/shared/metadata_table/helper.test.ts b/x-pack/plugins/observability_solution/apm/public/components/shared/metadata_table/helper.test.ts similarity index 100% rename from x-pack/plugins/apm/public/components/shared/metadata_table/helper.test.ts rename to x-pack/plugins/observability_solution/apm/public/components/shared/metadata_table/helper.test.ts diff --git a/x-pack/plugins/apm/public/components/shared/metadata_table/helper.ts b/x-pack/plugins/observability_solution/apm/public/components/shared/metadata_table/helper.ts similarity index 100% rename from x-pack/plugins/apm/public/components/shared/metadata_table/helper.ts rename to x-pack/plugins/observability_solution/apm/public/components/shared/metadata_table/helper.ts diff --git a/x-pack/plugins/apm/public/components/shared/metadata_table/index.tsx b/x-pack/plugins/observability_solution/apm/public/components/shared/metadata_table/index.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/shared/metadata_table/index.tsx rename to x-pack/plugins/observability_solution/apm/public/components/shared/metadata_table/index.tsx diff --git a/x-pack/plugins/apm/public/components/shared/metadata_table/metadata_table.test.tsx b/x-pack/plugins/observability_solution/apm/public/components/shared/metadata_table/metadata_table.test.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/shared/metadata_table/metadata_table.test.tsx rename to x-pack/plugins/observability_solution/apm/public/components/shared/metadata_table/metadata_table.test.tsx diff --git a/x-pack/plugins/apm/public/components/shared/metadata_table/section.test.tsx b/x-pack/plugins/observability_solution/apm/public/components/shared/metadata_table/section.test.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/shared/metadata_table/section.test.tsx rename to x-pack/plugins/observability_solution/apm/public/components/shared/metadata_table/section.test.tsx diff --git a/x-pack/plugins/apm/public/components/shared/metadata_table/section.tsx b/x-pack/plugins/observability_solution/apm/public/components/shared/metadata_table/section.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/shared/metadata_table/section.tsx rename to x-pack/plugins/observability_solution/apm/public/components/shared/metadata_table/section.tsx diff --git a/x-pack/plugins/apm/public/components/shared/metadata_table/span_metadata/index.tsx b/x-pack/plugins/observability_solution/apm/public/components/shared/metadata_table/span_metadata/index.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/shared/metadata_table/span_metadata/index.tsx rename to x-pack/plugins/observability_solution/apm/public/components/shared/metadata_table/span_metadata/index.tsx diff --git a/x-pack/plugins/apm/public/components/shared/metadata_table/transaction_metadata/index.tsx b/x-pack/plugins/observability_solution/apm/public/components/shared/metadata_table/transaction_metadata/index.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/shared/metadata_table/transaction_metadata/index.tsx rename to x-pack/plugins/observability_solution/apm/public/components/shared/metadata_table/transaction_metadata/index.tsx diff --git a/x-pack/plugins/apm/public/components/shared/metadata_table/types.ts b/x-pack/plugins/observability_solution/apm/public/components/shared/metadata_table/types.ts similarity index 100% rename from x-pack/plugins/apm/public/components/shared/metadata_table/types.ts rename to x-pack/plugins/observability_solution/apm/public/components/shared/metadata_table/types.ts diff --git a/x-pack/plugins/apm/public/components/shared/ml_callout/index.tsx b/x-pack/plugins/observability_solution/apm/public/components/shared/ml_callout/index.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/shared/ml_callout/index.tsx rename to x-pack/plugins/observability_solution/apm/public/components/shared/ml_callout/index.tsx diff --git a/x-pack/plugins/apm/public/components/shared/monaco_code_editor/index.tsx b/x-pack/plugins/observability_solution/apm/public/components/shared/monaco_code_editor/index.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/shared/monaco_code_editor/index.tsx rename to x-pack/plugins/observability_solution/apm/public/components/shared/monaco_code_editor/index.tsx diff --git a/x-pack/plugins/apm/public/components/shared/overview_table_container/index.tsx b/x-pack/plugins/observability_solution/apm/public/components/shared/overview_table_container/index.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/shared/overview_table_container/index.tsx rename to x-pack/plugins/observability_solution/apm/public/components/shared/overview_table_container/index.tsx diff --git a/x-pack/plugins/apm/public/components/shared/popover_tooltip/index.tsx b/x-pack/plugins/observability_solution/apm/public/components/shared/popover_tooltip/index.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/shared/popover_tooltip/index.tsx rename to x-pack/plugins/observability_solution/apm/public/components/shared/popover_tooltip/index.tsx diff --git a/x-pack/plugins/apm/public/components/shared/profiling/flamegraph/flamegraph_link.tsx b/x-pack/plugins/observability_solution/apm/public/components/shared/profiling/flamegraph/flamegraph_link.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/shared/profiling/flamegraph/flamegraph_link.tsx rename to x-pack/plugins/observability_solution/apm/public/components/shared/profiling/flamegraph/flamegraph_link.tsx diff --git a/x-pack/plugins/apm/public/components/shared/profiling/flamegraph/index.tsx b/x-pack/plugins/observability_solution/apm/public/components/shared/profiling/flamegraph/index.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/shared/profiling/flamegraph/index.tsx rename to x-pack/plugins/observability_solution/apm/public/components/shared/profiling/flamegraph/index.tsx diff --git a/x-pack/plugins/apm/public/components/shared/profiling/top_functions/top_functions_link.tsx b/x-pack/plugins/observability_solution/apm/public/components/shared/profiling/top_functions/top_functions_link.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/shared/profiling/top_functions/top_functions_link.tsx rename to x-pack/plugins/observability_solution/apm/public/components/shared/profiling/top_functions/top_functions_link.tsx diff --git a/x-pack/plugins/apm/public/components/shared/search_bar/search_bar.test.tsx b/x-pack/plugins/observability_solution/apm/public/components/shared/search_bar/search_bar.test.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/shared/search_bar/search_bar.test.tsx rename to x-pack/plugins/observability_solution/apm/public/components/shared/search_bar/search_bar.test.tsx diff --git a/x-pack/plugins/apm/public/components/shared/search_bar/search_bar.tsx b/x-pack/plugins/observability_solution/apm/public/components/shared/search_bar/search_bar.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/shared/search_bar/search_bar.tsx rename to x-pack/plugins/observability_solution/apm/public/components/shared/search_bar/search_bar.tsx diff --git a/x-pack/plugins/apm/public/components/shared/select_with_placeholder/index.tsx b/x-pack/plugins/observability_solution/apm/public/components/shared/select_with_placeholder/index.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/shared/select_with_placeholder/index.tsx rename to x-pack/plugins/observability_solution/apm/public/components/shared/select_with_placeholder/index.tsx diff --git a/x-pack/plugins/apm/public/components/shared/service_icons/cloud_details.tsx b/x-pack/plugins/observability_solution/apm/public/components/shared/service_icons/cloud_details.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/shared/service_icons/cloud_details.tsx rename to x-pack/plugins/observability_solution/apm/public/components/shared/service_icons/cloud_details.tsx diff --git a/x-pack/plugins/apm/public/components/shared/service_icons/container_details.tsx b/x-pack/plugins/observability_solution/apm/public/components/shared/service_icons/container_details.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/shared/service_icons/container_details.tsx rename to x-pack/plugins/observability_solution/apm/public/components/shared/service_icons/container_details.tsx diff --git a/x-pack/plugins/apm/public/components/shared/service_icons/icon_popover.tsx b/x-pack/plugins/observability_solution/apm/public/components/shared/service_icons/icon_popover.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/shared/service_icons/icon_popover.tsx rename to x-pack/plugins/observability_solution/apm/public/components/shared/service_icons/icon_popover.tsx diff --git a/x-pack/plugins/apm/public/components/shared/service_icons/index.test.tsx b/x-pack/plugins/observability_solution/apm/public/components/shared/service_icons/index.test.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/shared/service_icons/index.test.tsx rename to x-pack/plugins/observability_solution/apm/public/components/shared/service_icons/index.test.tsx diff --git a/x-pack/plugins/apm/public/components/shared/service_icons/index.tsx b/x-pack/plugins/observability_solution/apm/public/components/shared/service_icons/index.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/shared/service_icons/index.tsx rename to x-pack/plugins/observability_solution/apm/public/components/shared/service_icons/index.tsx diff --git a/x-pack/plugins/apm/public/components/shared/service_icons/otel_details.tsx b/x-pack/plugins/observability_solution/apm/public/components/shared/service_icons/otel_details.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/shared/service_icons/otel_details.tsx rename to x-pack/plugins/observability_solution/apm/public/components/shared/service_icons/otel_details.tsx diff --git a/x-pack/plugins/apm/public/components/shared/service_icons/serverless_details.tsx b/x-pack/plugins/observability_solution/apm/public/components/shared/service_icons/serverless_details.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/shared/service_icons/serverless_details.tsx rename to x-pack/plugins/observability_solution/apm/public/components/shared/service_icons/serverless_details.tsx diff --git a/x-pack/plugins/apm/public/components/shared/service_icons/service_details.tsx b/x-pack/plugins/observability_solution/apm/public/components/shared/service_icons/service_details.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/shared/service_icons/service_details.tsx rename to x-pack/plugins/observability_solution/apm/public/components/shared/service_icons/service_details.tsx diff --git a/x-pack/plugins/apm/public/components/shared/service_icons/service_icons.stories.tsx b/x-pack/plugins/observability_solution/apm/public/components/shared/service_icons/service_icons.stories.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/shared/service_icons/service_icons.stories.tsx rename to x-pack/plugins/observability_solution/apm/public/components/shared/service_icons/service_icons.stories.tsx diff --git a/x-pack/plugins/apm/public/components/shared/slo_callout/index.tsx b/x-pack/plugins/observability_solution/apm/public/components/shared/slo_callout/index.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/shared/slo_callout/index.tsx rename to x-pack/plugins/observability_solution/apm/public/components/shared/slo_callout/index.tsx diff --git a/x-pack/plugins/apm/public/components/shared/span_icon/get_span_icon.ts b/x-pack/plugins/observability_solution/apm/public/components/shared/span_icon/get_span_icon.ts similarity index 100% rename from x-pack/plugins/apm/public/components/shared/span_icon/get_span_icon.ts rename to x-pack/plugins/observability_solution/apm/public/components/shared/span_icon/get_span_icon.ts diff --git a/x-pack/plugins/apm/public/components/shared/span_icon/icons/aws.svg b/x-pack/plugins/observability_solution/apm/public/components/shared/span_icon/icons/aws.svg similarity index 100% rename from x-pack/plugins/apm/public/components/shared/span_icon/icons/aws.svg rename to x-pack/plugins/observability_solution/apm/public/components/shared/span_icon/icons/aws.svg diff --git a/x-pack/plugins/apm/public/components/shared/span_icon/icons/azure.svg b/x-pack/plugins/observability_solution/apm/public/components/shared/span_icon/icons/azure.svg similarity index 100% rename from x-pack/plugins/apm/public/components/shared/span_icon/icons/azure.svg rename to x-pack/plugins/observability_solution/apm/public/components/shared/span_icon/icons/azure.svg diff --git a/x-pack/plugins/apm/public/components/shared/span_icon/icons/blob_storage.svg b/x-pack/plugins/observability_solution/apm/public/components/shared/span_icon/icons/blob_storage.svg similarity index 100% rename from x-pack/plugins/apm/public/components/shared/span_icon/icons/blob_storage.svg rename to x-pack/plugins/observability_solution/apm/public/components/shared/span_icon/icons/blob_storage.svg diff --git a/x-pack/plugins/apm/public/components/shared/span_icon/icons/cassandra.svg b/x-pack/plugins/observability_solution/apm/public/components/shared/span_icon/icons/cassandra.svg similarity index 100% rename from x-pack/plugins/apm/public/components/shared/span_icon/icons/cassandra.svg rename to x-pack/plugins/observability_solution/apm/public/components/shared/span_icon/icons/cassandra.svg diff --git a/x-pack/plugins/apm/public/components/shared/span_icon/icons/cosmos_db.svg b/x-pack/plugins/observability_solution/apm/public/components/shared/span_icon/icons/cosmos_db.svg similarity index 100% rename from x-pack/plugins/apm/public/components/shared/span_icon/icons/cosmos_db.svg rename to x-pack/plugins/observability_solution/apm/public/components/shared/span_icon/icons/cosmos_db.svg diff --git a/x-pack/plugins/apm/public/components/shared/span_icon/icons/database.svg b/x-pack/plugins/observability_solution/apm/public/components/shared/span_icon/icons/database.svg similarity index 100% rename from x-pack/plugins/apm/public/components/shared/span_icon/icons/database.svg rename to x-pack/plugins/observability_solution/apm/public/components/shared/span_icon/icons/database.svg diff --git a/x-pack/plugins/apm/public/components/shared/span_icon/icons/default.svg b/x-pack/plugins/observability_solution/apm/public/components/shared/span_icon/icons/default.svg similarity index 100% rename from x-pack/plugins/apm/public/components/shared/span_icon/icons/default.svg rename to x-pack/plugins/observability_solution/apm/public/components/shared/span_icon/icons/default.svg diff --git a/x-pack/plugins/apm/public/components/shared/span_icon/icons/documents.svg b/x-pack/plugins/observability_solution/apm/public/components/shared/span_icon/icons/documents.svg similarity index 100% rename from x-pack/plugins/apm/public/components/shared/span_icon/icons/documents.svg rename to x-pack/plugins/observability_solution/apm/public/components/shared/span_icon/icons/documents.svg diff --git a/x-pack/plugins/apm/public/components/shared/span_icon/icons/dynamo_db.svg b/x-pack/plugins/observability_solution/apm/public/components/shared/span_icon/icons/dynamo_db.svg similarity index 100% rename from x-pack/plugins/apm/public/components/shared/span_icon/icons/dynamo_db.svg rename to x-pack/plugins/observability_solution/apm/public/components/shared/span_icon/icons/dynamo_db.svg diff --git a/x-pack/plugins/apm/public/components/shared/span_icon/icons/elasticsearch.svg b/x-pack/plugins/observability_solution/apm/public/components/shared/span_icon/icons/elasticsearch.svg similarity index 100% rename from x-pack/plugins/apm/public/components/shared/span_icon/icons/elasticsearch.svg rename to x-pack/plugins/observability_solution/apm/public/components/shared/span_icon/icons/elasticsearch.svg diff --git a/x-pack/plugins/apm/public/components/shared/span_icon/icons/file_share_storage.svg b/x-pack/plugins/observability_solution/apm/public/components/shared/span_icon/icons/file_share_storage.svg similarity index 100% rename from x-pack/plugins/apm/public/components/shared/span_icon/icons/file_share_storage.svg rename to x-pack/plugins/observability_solution/apm/public/components/shared/span_icon/icons/file_share_storage.svg diff --git a/x-pack/plugins/apm/public/components/shared/span_icon/icons/globe.svg b/x-pack/plugins/observability_solution/apm/public/components/shared/span_icon/icons/globe.svg similarity index 100% rename from x-pack/plugins/apm/public/components/shared/span_icon/icons/globe.svg rename to x-pack/plugins/observability_solution/apm/public/components/shared/span_icon/icons/globe.svg diff --git a/x-pack/plugins/apm/public/components/shared/span_icon/icons/graphql.svg b/x-pack/plugins/observability_solution/apm/public/components/shared/span_icon/icons/graphql.svg similarity index 100% rename from x-pack/plugins/apm/public/components/shared/span_icon/icons/graphql.svg rename to x-pack/plugins/observability_solution/apm/public/components/shared/span_icon/icons/graphql.svg diff --git a/x-pack/plugins/apm/public/components/shared/span_icon/icons/grpc.svg b/x-pack/plugins/observability_solution/apm/public/components/shared/span_icon/icons/grpc.svg similarity index 100% rename from x-pack/plugins/apm/public/components/shared/span_icon/icons/grpc.svg rename to x-pack/plugins/observability_solution/apm/public/components/shared/span_icon/icons/grpc.svg diff --git a/x-pack/plugins/apm/public/components/shared/span_icon/icons/handlebars.svg b/x-pack/plugins/observability_solution/apm/public/components/shared/span_icon/icons/handlebars.svg similarity index 100% rename from x-pack/plugins/apm/public/components/shared/span_icon/icons/handlebars.svg rename to x-pack/plugins/observability_solution/apm/public/components/shared/span_icon/icons/handlebars.svg diff --git a/x-pack/plugins/apm/public/components/shared/span_icon/icons/kafka.svg b/x-pack/plugins/observability_solution/apm/public/components/shared/span_icon/icons/kafka.svg similarity index 100% rename from x-pack/plugins/apm/public/components/shared/span_icon/icons/kafka.svg rename to x-pack/plugins/observability_solution/apm/public/components/shared/span_icon/icons/kafka.svg diff --git a/x-pack/plugins/apm/public/components/shared/span_icon/icons/ldap.svg b/x-pack/plugins/observability_solution/apm/public/components/shared/span_icon/icons/ldap.svg similarity index 100% rename from x-pack/plugins/apm/public/components/shared/span_icon/icons/ldap.svg rename to x-pack/plugins/observability_solution/apm/public/components/shared/span_icon/icons/ldap.svg diff --git a/x-pack/plugins/apm/public/components/shared/span_icon/icons/mongodb.svg b/x-pack/plugins/observability_solution/apm/public/components/shared/span_icon/icons/mongodb.svg similarity index 100% rename from x-pack/plugins/apm/public/components/shared/span_icon/icons/mongodb.svg rename to x-pack/plugins/observability_solution/apm/public/components/shared/span_icon/icons/mongodb.svg diff --git a/x-pack/plugins/apm/public/components/shared/span_icon/icons/mysql.svg b/x-pack/plugins/observability_solution/apm/public/components/shared/span_icon/icons/mysql.svg similarity index 100% rename from x-pack/plugins/apm/public/components/shared/span_icon/icons/mysql.svg rename to x-pack/plugins/observability_solution/apm/public/components/shared/span_icon/icons/mysql.svg diff --git a/x-pack/plugins/apm/public/components/shared/span_icon/icons/postgresql.svg b/x-pack/plugins/observability_solution/apm/public/components/shared/span_icon/icons/postgresql.svg similarity index 100% rename from x-pack/plugins/apm/public/components/shared/span_icon/icons/postgresql.svg rename to x-pack/plugins/observability_solution/apm/public/components/shared/span_icon/icons/postgresql.svg diff --git a/x-pack/plugins/apm/public/components/shared/span_icon/icons/redis.svg b/x-pack/plugins/observability_solution/apm/public/components/shared/span_icon/icons/redis.svg similarity index 100% rename from x-pack/plugins/apm/public/components/shared/span_icon/icons/redis.svg rename to x-pack/plugins/observability_solution/apm/public/components/shared/span_icon/icons/redis.svg diff --git a/x-pack/plugins/apm/public/components/shared/span_icon/icons/s3.svg b/x-pack/plugins/observability_solution/apm/public/components/shared/span_icon/icons/s3.svg similarity index 100% rename from x-pack/plugins/apm/public/components/shared/span_icon/icons/s3.svg rename to x-pack/plugins/observability_solution/apm/public/components/shared/span_icon/icons/s3.svg diff --git a/x-pack/plugins/apm/public/components/shared/span_icon/icons/service_bus.svg b/x-pack/plugins/observability_solution/apm/public/components/shared/span_icon/icons/service_bus.svg similarity index 100% rename from x-pack/plugins/apm/public/components/shared/span_icon/icons/service_bus.svg rename to x-pack/plugins/observability_solution/apm/public/components/shared/span_icon/icons/service_bus.svg diff --git a/x-pack/plugins/apm/public/components/shared/span_icon/icons/sns.svg b/x-pack/plugins/observability_solution/apm/public/components/shared/span_icon/icons/sns.svg similarity index 100% rename from x-pack/plugins/apm/public/components/shared/span_icon/icons/sns.svg rename to x-pack/plugins/observability_solution/apm/public/components/shared/span_icon/icons/sns.svg diff --git a/x-pack/plugins/apm/public/components/shared/span_icon/icons/sqs.svg b/x-pack/plugins/observability_solution/apm/public/components/shared/span_icon/icons/sqs.svg similarity index 100% rename from x-pack/plugins/apm/public/components/shared/span_icon/icons/sqs.svg rename to x-pack/plugins/observability_solution/apm/public/components/shared/span_icon/icons/sqs.svg diff --git a/x-pack/plugins/apm/public/components/shared/span_icon/icons/storage_queue.svg b/x-pack/plugins/observability_solution/apm/public/components/shared/span_icon/icons/storage_queue.svg similarity index 100% rename from x-pack/plugins/apm/public/components/shared/span_icon/icons/storage_queue.svg rename to x-pack/plugins/observability_solution/apm/public/components/shared/span_icon/icons/storage_queue.svg diff --git a/x-pack/plugins/apm/public/components/shared/span_icon/icons/table_storage.svg b/x-pack/plugins/observability_solution/apm/public/components/shared/span_icon/icons/table_storage.svg similarity index 100% rename from x-pack/plugins/apm/public/components/shared/span_icon/icons/table_storage.svg rename to x-pack/plugins/observability_solution/apm/public/components/shared/span_icon/icons/table_storage.svg diff --git a/x-pack/plugins/apm/public/components/shared/span_icon/icons/websocket.svg b/x-pack/plugins/observability_solution/apm/public/components/shared/span_icon/icons/websocket.svg similarity index 100% rename from x-pack/plugins/apm/public/components/shared/span_icon/icons/websocket.svg rename to x-pack/plugins/observability_solution/apm/public/components/shared/span_icon/icons/websocket.svg diff --git a/x-pack/plugins/apm/public/components/shared/span_icon/index.tsx b/x-pack/plugins/observability_solution/apm/public/components/shared/span_icon/index.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/shared/span_icon/index.tsx rename to x-pack/plugins/observability_solution/apm/public/components/shared/span_icon/index.tsx diff --git a/x-pack/plugins/apm/public/components/shared/span_icon/span_icon.stories.tsx b/x-pack/plugins/observability_solution/apm/public/components/shared/span_icon/span_icon.stories.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/shared/span_icon/span_icon.stories.tsx rename to x-pack/plugins/observability_solution/apm/public/components/shared/span_icon/span_icon.stories.tsx diff --git a/x-pack/plugins/apm/public/components/shared/span_links/index.tsx b/x-pack/plugins/observability_solution/apm/public/components/shared/span_links/index.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/shared/span_links/index.tsx rename to x-pack/plugins/observability_solution/apm/public/components/shared/span_links/index.tsx diff --git a/x-pack/plugins/apm/public/components/shared/span_links/span_links_callout.tsx b/x-pack/plugins/observability_solution/apm/public/components/shared/span_links/span_links_callout.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/shared/span_links/span_links_callout.tsx rename to x-pack/plugins/observability_solution/apm/public/components/shared/span_links/span_links_callout.tsx diff --git a/x-pack/plugins/apm/public/components/shared/span_links/span_links_tab_content.tsx b/x-pack/plugins/observability_solution/apm/public/components/shared/span_links/span_links_tab_content.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/shared/span_links/span_links_tab_content.tsx rename to x-pack/plugins/observability_solution/apm/public/components/shared/span_links/span_links_tab_content.tsx diff --git a/x-pack/plugins/apm/public/components/shared/span_links/span_links_table.tsx b/x-pack/plugins/observability_solution/apm/public/components/shared/span_links/span_links_table.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/shared/span_links/span_links_table.tsx rename to x-pack/plugins/observability_solution/apm/public/components/shared/span_links/span_links_table.tsx diff --git a/x-pack/plugins/apm/public/components/shared/stacktrace/__fixtures__/stacktraces.json b/x-pack/plugins/observability_solution/apm/public/components/shared/stacktrace/__fixtures__/stacktraces.json similarity index 100% rename from x-pack/plugins/apm/public/components/shared/stacktrace/__fixtures__/stacktraces.json rename to x-pack/plugins/observability_solution/apm/public/components/shared/stacktrace/__fixtures__/stacktraces.json diff --git a/x-pack/plugins/apm/public/components/shared/stacktrace/cause_stacktrace.test.tsx b/x-pack/plugins/observability_solution/apm/public/components/shared/stacktrace/cause_stacktrace.test.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/shared/stacktrace/cause_stacktrace.test.tsx rename to x-pack/plugins/observability_solution/apm/public/components/shared/stacktrace/cause_stacktrace.test.tsx diff --git a/x-pack/plugins/apm/public/components/shared/stacktrace/cause_stacktrace.tsx b/x-pack/plugins/observability_solution/apm/public/components/shared/stacktrace/cause_stacktrace.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/shared/stacktrace/cause_stacktrace.tsx rename to x-pack/plugins/observability_solution/apm/public/components/shared/stacktrace/cause_stacktrace.tsx diff --git a/x-pack/plugins/apm/public/components/shared/stacktrace/context.tsx b/x-pack/plugins/observability_solution/apm/public/components/shared/stacktrace/context.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/shared/stacktrace/context.tsx rename to x-pack/plugins/observability_solution/apm/public/components/shared/stacktrace/context.tsx diff --git a/x-pack/plugins/apm/public/components/shared/stacktrace/frame_heading.test.tsx b/x-pack/plugins/observability_solution/apm/public/components/shared/stacktrace/frame_heading.test.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/shared/stacktrace/frame_heading.test.tsx rename to x-pack/plugins/observability_solution/apm/public/components/shared/stacktrace/frame_heading.test.tsx diff --git a/x-pack/plugins/apm/public/components/shared/stacktrace/frame_heading.tsx b/x-pack/plugins/observability_solution/apm/public/components/shared/stacktrace/frame_heading.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/shared/stacktrace/frame_heading.tsx rename to x-pack/plugins/observability_solution/apm/public/components/shared/stacktrace/frame_heading.tsx diff --git a/x-pack/plugins/apm/public/components/shared/stacktrace/frame_heading_renderers/c_sharp_frame_heading_renderer.tsx b/x-pack/plugins/observability_solution/apm/public/components/shared/stacktrace/frame_heading_renderers/c_sharp_frame_heading_renderer.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/shared/stacktrace/frame_heading_renderers/c_sharp_frame_heading_renderer.tsx rename to x-pack/plugins/observability_solution/apm/public/components/shared/stacktrace/frame_heading_renderers/c_sharp_frame_heading_renderer.tsx diff --git a/x-pack/plugins/apm/public/components/shared/stacktrace/frame_heading_renderers/default_frame_heading_renderer.tsx b/x-pack/plugins/observability_solution/apm/public/components/shared/stacktrace/frame_heading_renderers/default_frame_heading_renderer.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/shared/stacktrace/frame_heading_renderers/default_frame_heading_renderer.tsx rename to x-pack/plugins/observability_solution/apm/public/components/shared/stacktrace/frame_heading_renderers/default_frame_heading_renderer.tsx diff --git a/x-pack/plugins/apm/public/components/shared/stacktrace/frame_heading_renderers/index.ts b/x-pack/plugins/observability_solution/apm/public/components/shared/stacktrace/frame_heading_renderers/index.ts similarity index 100% rename from x-pack/plugins/apm/public/components/shared/stacktrace/frame_heading_renderers/index.ts rename to x-pack/plugins/observability_solution/apm/public/components/shared/stacktrace/frame_heading_renderers/index.ts diff --git a/x-pack/plugins/apm/public/components/shared/stacktrace/frame_heading_renderers/java_frame_heading_renderer.tsx b/x-pack/plugins/observability_solution/apm/public/components/shared/stacktrace/frame_heading_renderers/java_frame_heading_renderer.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/shared/stacktrace/frame_heading_renderers/java_frame_heading_renderer.tsx rename to x-pack/plugins/observability_solution/apm/public/components/shared/stacktrace/frame_heading_renderers/java_frame_heading_renderer.tsx diff --git a/x-pack/plugins/apm/public/components/shared/stacktrace/frame_heading_renderers/java_script_frame_heading_renderer.tsx b/x-pack/plugins/observability_solution/apm/public/components/shared/stacktrace/frame_heading_renderers/java_script_frame_heading_renderer.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/shared/stacktrace/frame_heading_renderers/java_script_frame_heading_renderer.tsx rename to x-pack/plugins/observability_solution/apm/public/components/shared/stacktrace/frame_heading_renderers/java_script_frame_heading_renderer.tsx diff --git a/x-pack/plugins/apm/public/components/shared/stacktrace/frame_heading_renderers/php_frame_heading_renderer.tsx b/x-pack/plugins/observability_solution/apm/public/components/shared/stacktrace/frame_heading_renderers/php_frame_heading_renderer.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/shared/stacktrace/frame_heading_renderers/php_frame_heading_renderer.tsx rename to x-pack/plugins/observability_solution/apm/public/components/shared/stacktrace/frame_heading_renderers/php_frame_heading_renderer.tsx diff --git a/x-pack/plugins/apm/public/components/shared/stacktrace/frame_heading_renderers/ruby_frame_heading_renderer.tsx b/x-pack/plugins/observability_solution/apm/public/components/shared/stacktrace/frame_heading_renderers/ruby_frame_heading_renderer.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/shared/stacktrace/frame_heading_renderers/ruby_frame_heading_renderer.tsx rename to x-pack/plugins/observability_solution/apm/public/components/shared/stacktrace/frame_heading_renderers/ruby_frame_heading_renderer.tsx diff --git a/x-pack/plugins/apm/public/components/shared/stacktrace/index.tsx b/x-pack/plugins/observability_solution/apm/public/components/shared/stacktrace/index.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/shared/stacktrace/index.tsx rename to x-pack/plugins/observability_solution/apm/public/components/shared/stacktrace/index.tsx diff --git a/x-pack/plugins/apm/public/components/shared/stacktrace/library_stacktrace.test.tsx b/x-pack/plugins/observability_solution/apm/public/components/shared/stacktrace/library_stacktrace.test.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/shared/stacktrace/library_stacktrace.test.tsx rename to x-pack/plugins/observability_solution/apm/public/components/shared/stacktrace/library_stacktrace.test.tsx diff --git a/x-pack/plugins/apm/public/components/shared/stacktrace/library_stacktrace.tsx b/x-pack/plugins/observability_solution/apm/public/components/shared/stacktrace/library_stacktrace.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/shared/stacktrace/library_stacktrace.tsx rename to x-pack/plugins/observability_solution/apm/public/components/shared/stacktrace/library_stacktrace.tsx diff --git a/x-pack/plugins/apm/public/components/shared/stacktrace/stackframe.test.tsx b/x-pack/plugins/observability_solution/apm/public/components/shared/stacktrace/stackframe.test.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/shared/stacktrace/stackframe.test.tsx rename to x-pack/plugins/observability_solution/apm/public/components/shared/stacktrace/stackframe.test.tsx diff --git a/x-pack/plugins/apm/public/components/shared/stacktrace/stackframe.tsx b/x-pack/plugins/observability_solution/apm/public/components/shared/stacktrace/stackframe.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/shared/stacktrace/stackframe.tsx rename to x-pack/plugins/observability_solution/apm/public/components/shared/stacktrace/stackframe.tsx diff --git a/x-pack/plugins/apm/public/components/shared/stacktrace/stacktrace.test.ts b/x-pack/plugins/observability_solution/apm/public/components/shared/stacktrace/stacktrace.test.ts similarity index 100% rename from x-pack/plugins/apm/public/components/shared/stacktrace/stacktrace.test.ts rename to x-pack/plugins/observability_solution/apm/public/components/shared/stacktrace/stacktrace.test.ts diff --git a/x-pack/plugins/apm/public/components/shared/stacktrace/variables.tsx b/x-pack/plugins/observability_solution/apm/public/components/shared/stacktrace/variables.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/shared/stacktrace/variables.tsx rename to x-pack/plugins/observability_solution/apm/public/components/shared/stacktrace/variables.tsx diff --git a/x-pack/plugins/apm/public/components/shared/sticky_properties/__snapshots__/sticky_properties.test.tsx.snap b/x-pack/plugins/observability_solution/apm/public/components/shared/sticky_properties/__snapshots__/sticky_properties.test.tsx.snap similarity index 100% rename from x-pack/plugins/apm/public/components/shared/sticky_properties/__snapshots__/sticky_properties.test.tsx.snap rename to x-pack/plugins/observability_solution/apm/public/components/shared/sticky_properties/__snapshots__/sticky_properties.test.tsx.snap diff --git a/x-pack/plugins/apm/public/components/shared/sticky_properties/index.tsx b/x-pack/plugins/observability_solution/apm/public/components/shared/sticky_properties/index.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/shared/sticky_properties/index.tsx rename to x-pack/plugins/observability_solution/apm/public/components/shared/sticky_properties/index.tsx diff --git a/x-pack/plugins/apm/public/components/shared/sticky_properties/sticky_properties.test.tsx b/x-pack/plugins/observability_solution/apm/public/components/shared/sticky_properties/sticky_properties.test.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/shared/sticky_properties/sticky_properties.test.tsx rename to x-pack/plugins/observability_solution/apm/public/components/shared/sticky_properties/sticky_properties.test.tsx diff --git a/x-pack/plugins/apm/public/components/shared/suggestions_select/index.tsx b/x-pack/plugins/observability_solution/apm/public/components/shared/suggestions_select/index.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/shared/suggestions_select/index.tsx rename to x-pack/plugins/observability_solution/apm/public/components/shared/suggestions_select/index.tsx diff --git a/x-pack/plugins/apm/public/components/shared/suggestions_select/suggestions_select.stories.tsx b/x-pack/plugins/observability_solution/apm/public/components/shared/suggestions_select/suggestions_select.stories.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/shared/suggestions_select/suggestions_select.stories.tsx rename to x-pack/plugins/observability_solution/apm/public/components/shared/suggestions_select/suggestions_select.stories.tsx diff --git a/x-pack/plugins/apm/public/components/shared/suggestions_select/suggestions_select.test.tsx b/x-pack/plugins/observability_solution/apm/public/components/shared/suggestions_select/suggestions_select.test.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/shared/suggestions_select/suggestions_select.test.tsx rename to x-pack/plugins/observability_solution/apm/public/components/shared/suggestions_select/suggestions_select.test.tsx diff --git a/x-pack/plugins/apm/public/components/shared/summary/__fixtures__/transactions.ts b/x-pack/plugins/observability_solution/apm/public/components/shared/summary/__fixtures__/transactions.ts similarity index 100% rename from x-pack/plugins/apm/public/components/shared/summary/__fixtures__/transactions.ts rename to x-pack/plugins/observability_solution/apm/public/components/shared/summary/__fixtures__/transactions.ts diff --git a/x-pack/plugins/apm/public/components/shared/summary/composite_span_duration_summary_item.tsx b/x-pack/plugins/observability_solution/apm/public/components/shared/summary/composite_span_duration_summary_item.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/shared/summary/composite_span_duration_summary_item.tsx rename to x-pack/plugins/observability_solution/apm/public/components/shared/summary/composite_span_duration_summary_item.tsx diff --git a/x-pack/plugins/apm/public/components/shared/summary/duration_summary_item.tsx b/x-pack/plugins/observability_solution/apm/public/components/shared/summary/duration_summary_item.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/shared/summary/duration_summary_item.tsx rename to x-pack/plugins/observability_solution/apm/public/components/shared/summary/duration_summary_item.tsx diff --git a/x-pack/plugins/apm/public/components/shared/summary/error_count_summary_item_badge.test.tsx b/x-pack/plugins/observability_solution/apm/public/components/shared/summary/error_count_summary_item_badge.test.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/shared/summary/error_count_summary_item_badge.test.tsx rename to x-pack/plugins/observability_solution/apm/public/components/shared/summary/error_count_summary_item_badge.test.tsx diff --git a/x-pack/plugins/apm/public/components/shared/summary/error_count_summary_item_badge.tsx b/x-pack/plugins/observability_solution/apm/public/components/shared/summary/error_count_summary_item_badge.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/shared/summary/error_count_summary_item_badge.tsx rename to x-pack/plugins/observability_solution/apm/public/components/shared/summary/error_count_summary_item_badge.tsx diff --git a/x-pack/plugins/apm/public/components/shared/summary/http_info_summary_item/http_info_summary_item.test.tsx b/x-pack/plugins/observability_solution/apm/public/components/shared/summary/http_info_summary_item/http_info_summary_item.test.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/shared/summary/http_info_summary_item/http_info_summary_item.test.tsx rename to x-pack/plugins/observability_solution/apm/public/components/shared/summary/http_info_summary_item/http_info_summary_item.test.tsx diff --git a/x-pack/plugins/apm/public/components/shared/summary/http_info_summary_item/index.tsx b/x-pack/plugins/observability_solution/apm/public/components/shared/summary/http_info_summary_item/index.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/shared/summary/http_info_summary_item/index.tsx rename to x-pack/plugins/observability_solution/apm/public/components/shared/summary/http_info_summary_item/index.tsx diff --git a/x-pack/plugins/apm/public/components/shared/summary/http_status_badge/http_status_badge.test.tsx b/x-pack/plugins/observability_solution/apm/public/components/shared/summary/http_status_badge/http_status_badge.test.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/shared/summary/http_status_badge/http_status_badge.test.tsx rename to x-pack/plugins/observability_solution/apm/public/components/shared/summary/http_status_badge/http_status_badge.test.tsx diff --git a/x-pack/plugins/apm/public/components/shared/summary/http_status_badge/index.tsx b/x-pack/plugins/observability_solution/apm/public/components/shared/summary/http_status_badge/index.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/shared/summary/http_status_badge/index.tsx rename to x-pack/plugins/observability_solution/apm/public/components/shared/summary/http_status_badge/index.tsx diff --git a/x-pack/plugins/apm/public/components/shared/summary/http_status_badge/status_codes.ts b/x-pack/plugins/observability_solution/apm/public/components/shared/summary/http_status_badge/status_codes.ts similarity index 100% rename from x-pack/plugins/apm/public/components/shared/summary/http_status_badge/status_codes.ts rename to x-pack/plugins/observability_solution/apm/public/components/shared/summary/http_status_badge/status_codes.ts diff --git a/x-pack/plugins/apm/public/components/shared/summary/index.tsx b/x-pack/plugins/observability_solution/apm/public/components/shared/summary/index.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/shared/summary/index.tsx rename to x-pack/plugins/observability_solution/apm/public/components/shared/summary/index.tsx diff --git a/x-pack/plugins/apm/public/components/shared/summary/transaction_result_summary_item.tsx b/x-pack/plugins/observability_solution/apm/public/components/shared/summary/transaction_result_summary_item.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/shared/summary/transaction_result_summary_item.tsx rename to x-pack/plugins/observability_solution/apm/public/components/shared/summary/transaction_result_summary_item.tsx diff --git a/x-pack/plugins/apm/public/components/shared/summary/transaction_summary.test.tsx b/x-pack/plugins/observability_solution/apm/public/components/shared/summary/transaction_summary.test.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/shared/summary/transaction_summary.test.tsx rename to x-pack/plugins/observability_solution/apm/public/components/shared/summary/transaction_summary.test.tsx diff --git a/x-pack/plugins/apm/public/components/shared/summary/transaction_summary.tsx b/x-pack/plugins/observability_solution/apm/public/components/shared/summary/transaction_summary.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/shared/summary/transaction_summary.tsx rename to x-pack/plugins/observability_solution/apm/public/components/shared/summary/transaction_summary.tsx diff --git a/x-pack/plugins/apm/public/components/shared/summary/user_agent_summary_item.test.tsx b/x-pack/plugins/observability_solution/apm/public/components/shared/summary/user_agent_summary_item.test.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/shared/summary/user_agent_summary_item.test.tsx rename to x-pack/plugins/observability_solution/apm/public/components/shared/summary/user_agent_summary_item.test.tsx diff --git a/x-pack/plugins/apm/public/components/shared/summary/user_agent_summary_item.tsx b/x-pack/plugins/observability_solution/apm/public/components/shared/summary/user_agent_summary_item.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/shared/summary/user_agent_summary_item.tsx rename to x-pack/plugins/observability_solution/apm/public/components/shared/summary/user_agent_summary_item.tsx diff --git a/x-pack/plugins/apm/public/components/shared/table_search_bar/table_search_bar.test.ts b/x-pack/plugins/observability_solution/apm/public/components/shared/table_search_bar/table_search_bar.test.ts similarity index 100% rename from x-pack/plugins/apm/public/components/shared/table_search_bar/table_search_bar.test.ts rename to x-pack/plugins/observability_solution/apm/public/components/shared/table_search_bar/table_search_bar.test.ts diff --git a/x-pack/plugins/apm/public/components/shared/table_search_bar/table_search_bar.tsx b/x-pack/plugins/observability_solution/apm/public/components/shared/table_search_bar/table_search_bar.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/shared/table_search_bar/table_search_bar.tsx rename to x-pack/plugins/observability_solution/apm/public/components/shared/table_search_bar/table_search_bar.tsx diff --git a/x-pack/plugins/apm/public/components/shared/technical_preview_badge.tsx b/x-pack/plugins/observability_solution/apm/public/components/shared/technical_preview_badge.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/shared/technical_preview_badge.tsx rename to x-pack/plugins/observability_solution/apm/public/components/shared/technical_preview_badge.tsx diff --git a/x-pack/plugins/apm/public/components/shared/time_comparison/comparison.test.ts b/x-pack/plugins/observability_solution/apm/public/components/shared/time_comparison/comparison.test.ts similarity index 100% rename from x-pack/plugins/apm/public/components/shared/time_comparison/comparison.test.ts rename to x-pack/plugins/observability_solution/apm/public/components/shared/time_comparison/comparison.test.ts diff --git a/x-pack/plugins/apm/public/components/shared/time_comparison/get_comparison_chart_theme.ts b/x-pack/plugins/observability_solution/apm/public/components/shared/time_comparison/get_comparison_chart_theme.ts similarity index 100% rename from x-pack/plugins/apm/public/components/shared/time_comparison/get_comparison_chart_theme.ts rename to x-pack/plugins/observability_solution/apm/public/components/shared/time_comparison/get_comparison_chart_theme.ts diff --git a/x-pack/plugins/apm/public/components/shared/time_comparison/get_comparison_enabled.test.ts b/x-pack/plugins/observability_solution/apm/public/components/shared/time_comparison/get_comparison_enabled.test.ts similarity index 100% rename from x-pack/plugins/apm/public/components/shared/time_comparison/get_comparison_enabled.test.ts rename to x-pack/plugins/observability_solution/apm/public/components/shared/time_comparison/get_comparison_enabled.test.ts diff --git a/x-pack/plugins/apm/public/components/shared/time_comparison/get_comparison_enabled.ts b/x-pack/plugins/observability_solution/apm/public/components/shared/time_comparison/get_comparison_enabled.ts similarity index 100% rename from x-pack/plugins/apm/public/components/shared/time_comparison/get_comparison_enabled.ts rename to x-pack/plugins/observability_solution/apm/public/components/shared/time_comparison/get_comparison_enabled.ts diff --git a/x-pack/plugins/apm/public/components/shared/time_comparison/get_comparison_options.ts b/x-pack/plugins/observability_solution/apm/public/components/shared/time_comparison/get_comparison_options.ts similarity index 100% rename from x-pack/plugins/apm/public/components/shared/time_comparison/get_comparison_options.ts rename to x-pack/plugins/observability_solution/apm/public/components/shared/time_comparison/get_comparison_options.ts diff --git a/x-pack/plugins/apm/public/components/shared/time_comparison/index.test.tsx b/x-pack/plugins/observability_solution/apm/public/components/shared/time_comparison/index.test.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/shared/time_comparison/index.test.tsx rename to x-pack/plugins/observability_solution/apm/public/components/shared/time_comparison/index.test.tsx diff --git a/x-pack/plugins/apm/public/components/shared/time_comparison/index.tsx b/x-pack/plugins/observability_solution/apm/public/components/shared/time_comparison/index.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/shared/time_comparison/index.tsx rename to x-pack/plugins/observability_solution/apm/public/components/shared/time_comparison/index.tsx diff --git a/x-pack/plugins/apm/public/components/shared/timestamp_tooltip/index.test.tsx b/x-pack/plugins/observability_solution/apm/public/components/shared/timestamp_tooltip/index.test.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/shared/timestamp_tooltip/index.test.tsx rename to x-pack/plugins/observability_solution/apm/public/components/shared/timestamp_tooltip/index.test.tsx diff --git a/x-pack/plugins/apm/public/components/shared/timestamp_tooltip/index.tsx b/x-pack/plugins/observability_solution/apm/public/components/shared/timestamp_tooltip/index.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/shared/timestamp_tooltip/index.tsx rename to x-pack/plugins/observability_solution/apm/public/components/shared/timestamp_tooltip/index.tsx diff --git a/x-pack/plugins/apm/public/components/shared/transaction_action_menu/__fixtures__/mock_data.ts b/x-pack/plugins/observability_solution/apm/public/components/shared/transaction_action_menu/__fixtures__/mock_data.ts similarity index 100% rename from x-pack/plugins/apm/public/components/shared/transaction_action_menu/__fixtures__/mock_data.ts rename to x-pack/plugins/observability_solution/apm/public/components/shared/transaction_action_menu/__fixtures__/mock_data.ts diff --git a/x-pack/plugins/apm/public/components/shared/transaction_action_menu/__snapshots__/transaction_action_menu.test.tsx.snap b/x-pack/plugins/observability_solution/apm/public/components/shared/transaction_action_menu/__snapshots__/transaction_action_menu.test.tsx.snap similarity index 100% rename from x-pack/plugins/apm/public/components/shared/transaction_action_menu/__snapshots__/transaction_action_menu.test.tsx.snap rename to x-pack/plugins/observability_solution/apm/public/components/shared/transaction_action_menu/__snapshots__/transaction_action_menu.test.tsx.snap diff --git a/x-pack/plugins/apm/public/components/shared/transaction_action_menu/custom_link_flyout.tsx b/x-pack/plugins/observability_solution/apm/public/components/shared/transaction_action_menu/custom_link_flyout.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/shared/transaction_action_menu/custom_link_flyout.tsx rename to x-pack/plugins/observability_solution/apm/public/components/shared/transaction_action_menu/custom_link_flyout.tsx diff --git a/x-pack/plugins/apm/public/components/shared/transaction_action_menu/custom_link_menu_section/custom_link_list.test.tsx b/x-pack/plugins/observability_solution/apm/public/components/shared/transaction_action_menu/custom_link_menu_section/custom_link_list.test.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/shared/transaction_action_menu/custom_link_menu_section/custom_link_list.test.tsx rename to x-pack/plugins/observability_solution/apm/public/components/shared/transaction_action_menu/custom_link_menu_section/custom_link_list.test.tsx diff --git a/x-pack/plugins/apm/public/components/shared/transaction_action_menu/custom_link_menu_section/custom_link_list.tsx b/x-pack/plugins/observability_solution/apm/public/components/shared/transaction_action_menu/custom_link_menu_section/custom_link_list.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/shared/transaction_action_menu/custom_link_menu_section/custom_link_list.tsx rename to x-pack/plugins/observability_solution/apm/public/components/shared/transaction_action_menu/custom_link_menu_section/custom_link_list.tsx diff --git a/x-pack/plugins/apm/public/components/shared/transaction_action_menu/custom_link_menu_section/custom_link_toolbar.test.tsx b/x-pack/plugins/observability_solution/apm/public/components/shared/transaction_action_menu/custom_link_menu_section/custom_link_toolbar.test.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/shared/transaction_action_menu/custom_link_menu_section/custom_link_toolbar.test.tsx rename to x-pack/plugins/observability_solution/apm/public/components/shared/transaction_action_menu/custom_link_menu_section/custom_link_toolbar.test.tsx diff --git a/x-pack/plugins/apm/public/components/shared/transaction_action_menu/custom_link_menu_section/custom_link_toolbar.tsx b/x-pack/plugins/observability_solution/apm/public/components/shared/transaction_action_menu/custom_link_menu_section/custom_link_toolbar.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/shared/transaction_action_menu/custom_link_menu_section/custom_link_toolbar.tsx rename to x-pack/plugins/observability_solution/apm/public/components/shared/transaction_action_menu/custom_link_menu_section/custom_link_toolbar.tsx diff --git a/x-pack/plugins/apm/public/components/shared/transaction_action_menu/custom_link_menu_section/index.test.tsx b/x-pack/plugins/observability_solution/apm/public/components/shared/transaction_action_menu/custom_link_menu_section/index.test.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/shared/transaction_action_menu/custom_link_menu_section/index.test.tsx rename to x-pack/plugins/observability_solution/apm/public/components/shared/transaction_action_menu/custom_link_menu_section/index.test.tsx diff --git a/x-pack/plugins/apm/public/components/shared/transaction_action_menu/custom_link_menu_section/index.tsx b/x-pack/plugins/observability_solution/apm/public/components/shared/transaction_action_menu/custom_link_menu_section/index.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/shared/transaction_action_menu/custom_link_menu_section/index.tsx rename to x-pack/plugins/observability_solution/apm/public/components/shared/transaction_action_menu/custom_link_menu_section/index.tsx diff --git a/x-pack/plugins/apm/public/components/shared/transaction_action_menu/sections.test.ts b/x-pack/plugins/observability_solution/apm/public/components/shared/transaction_action_menu/sections.test.ts similarity index 100% rename from x-pack/plugins/apm/public/components/shared/transaction_action_menu/sections.test.ts rename to x-pack/plugins/observability_solution/apm/public/components/shared/transaction_action_menu/sections.test.ts diff --git a/x-pack/plugins/apm/public/components/shared/transaction_action_menu/sections.ts b/x-pack/plugins/observability_solution/apm/public/components/shared/transaction_action_menu/sections.ts similarity index 100% rename from x-pack/plugins/apm/public/components/shared/transaction_action_menu/sections.ts rename to x-pack/plugins/observability_solution/apm/public/components/shared/transaction_action_menu/sections.ts diff --git a/x-pack/plugins/apm/public/components/shared/transaction_action_menu/sections_helper.test.ts b/x-pack/plugins/observability_solution/apm/public/components/shared/transaction_action_menu/sections_helper.test.ts similarity index 100% rename from x-pack/plugins/apm/public/components/shared/transaction_action_menu/sections_helper.test.ts rename to x-pack/plugins/observability_solution/apm/public/components/shared/transaction_action_menu/sections_helper.test.ts diff --git a/x-pack/plugins/apm/public/components/shared/transaction_action_menu/sections_helper.ts b/x-pack/plugins/observability_solution/apm/public/components/shared/transaction_action_menu/sections_helper.ts similarity index 100% rename from x-pack/plugins/apm/public/components/shared/transaction_action_menu/sections_helper.ts rename to x-pack/plugins/observability_solution/apm/public/components/shared/transaction_action_menu/sections_helper.ts diff --git a/x-pack/plugins/apm/public/components/shared/transaction_action_menu/transaction_action_menu.test.tsx b/x-pack/plugins/observability_solution/apm/public/components/shared/transaction_action_menu/transaction_action_menu.test.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/shared/transaction_action_menu/transaction_action_menu.test.tsx rename to x-pack/plugins/observability_solution/apm/public/components/shared/transaction_action_menu/transaction_action_menu.test.tsx diff --git a/x-pack/plugins/apm/public/components/shared/transaction_action_menu/transaction_action_menu.tsx b/x-pack/plugins/observability_solution/apm/public/components/shared/transaction_action_menu/transaction_action_menu.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/shared/transaction_action_menu/transaction_action_menu.tsx rename to x-pack/plugins/observability_solution/apm/public/components/shared/transaction_action_menu/transaction_action_menu.tsx diff --git a/x-pack/plugins/apm/public/components/shared/transaction_type_select.tsx b/x-pack/plugins/observability_solution/apm/public/components/shared/transaction_type_select.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/shared/transaction_type_select.tsx rename to x-pack/plugins/observability_solution/apm/public/components/shared/transaction_type_select.tsx diff --git a/x-pack/plugins/apm/public/components/shared/transactions_table/get_columns.tsx b/x-pack/plugins/observability_solution/apm/public/components/shared/transactions_table/get_columns.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/shared/transactions_table/get_columns.tsx rename to x-pack/plugins/observability_solution/apm/public/components/shared/transactions_table/get_columns.tsx diff --git a/x-pack/plugins/apm/public/components/shared/transactions_table/get_latency_column_label.ts b/x-pack/plugins/observability_solution/apm/public/components/shared/transactions_table/get_latency_column_label.ts similarity index 100% rename from x-pack/plugins/apm/public/components/shared/transactions_table/get_latency_column_label.ts rename to x-pack/plugins/observability_solution/apm/public/components/shared/transactions_table/get_latency_column_label.ts diff --git a/x-pack/plugins/apm/public/components/shared/transactions_table/index.tsx b/x-pack/plugins/observability_solution/apm/public/components/shared/transactions_table/index.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/shared/transactions_table/index.tsx rename to x-pack/plugins/observability_solution/apm/public/components/shared/transactions_table/index.tsx diff --git a/x-pack/plugins/apm/public/components/shared/truncate_with_tooltip/index.tsx b/x-pack/plugins/observability_solution/apm/public/components/shared/truncate_with_tooltip/index.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/shared/truncate_with_tooltip/index.tsx rename to x-pack/plugins/observability_solution/apm/public/components/shared/truncate_with_tooltip/index.tsx diff --git a/x-pack/plugins/apm/public/components/shared/unified_search_bar/index.tsx b/x-pack/plugins/observability_solution/apm/public/components/shared/unified_search_bar/index.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/shared/unified_search_bar/index.tsx rename to x-pack/plugins/observability_solution/apm/public/components/shared/unified_search_bar/index.tsx diff --git a/x-pack/plugins/apm/public/components/shared/unified_search_bar/unified_search_bar.test.tsx b/x-pack/plugins/observability_solution/apm/public/components/shared/unified_search_bar/unified_search_bar.test.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/shared/unified_search_bar/unified_search_bar.test.tsx rename to x-pack/plugins/observability_solution/apm/public/components/shared/unified_search_bar/unified_search_bar.test.tsx diff --git a/x-pack/plugins/apm/public/context/annotations/annotations_context.tsx b/x-pack/plugins/observability_solution/apm/public/context/annotations/annotations_context.tsx similarity index 100% rename from x-pack/plugins/apm/public/context/annotations/annotations_context.tsx rename to x-pack/plugins/observability_solution/apm/public/context/annotations/annotations_context.tsx diff --git a/x-pack/plugins/apm/public/context/annotations/use_annotations_context.ts b/x-pack/plugins/observability_solution/apm/public/context/annotations/use_annotations_context.ts similarity index 100% rename from x-pack/plugins/apm/public/context/annotations/use_annotations_context.ts rename to x-pack/plugins/observability_solution/apm/public/context/annotations/use_annotations_context.ts diff --git a/x-pack/plugins/apm/public/context/anomaly_detection_jobs/anomaly_detection_jobs_context.tsx b/x-pack/plugins/observability_solution/apm/public/context/anomaly_detection_jobs/anomaly_detection_jobs_context.tsx similarity index 100% rename from x-pack/plugins/apm/public/context/anomaly_detection_jobs/anomaly_detection_jobs_context.tsx rename to x-pack/plugins/observability_solution/apm/public/context/anomaly_detection_jobs/anomaly_detection_jobs_context.tsx diff --git a/x-pack/plugins/apm/public/context/anomaly_detection_jobs/use_anomaly_detection_jobs_context.ts b/x-pack/plugins/observability_solution/apm/public/context/anomaly_detection_jobs/use_anomaly_detection_jobs_context.ts similarity index 100% rename from x-pack/plugins/apm/public/context/anomaly_detection_jobs/use_anomaly_detection_jobs_context.ts rename to x-pack/plugins/observability_solution/apm/public/context/anomaly_detection_jobs/use_anomaly_detection_jobs_context.ts diff --git a/x-pack/plugins/apm/public/context/apm_plugin/apm_plugin_context.tsx b/x-pack/plugins/observability_solution/apm/public/context/apm_plugin/apm_plugin_context.tsx similarity index 100% rename from x-pack/plugins/apm/public/context/apm_plugin/apm_plugin_context.tsx rename to x-pack/plugins/observability_solution/apm/public/context/apm_plugin/apm_plugin_context.tsx diff --git a/x-pack/plugins/apm/public/context/apm_plugin/mock_apm_plugin_context.tsx b/x-pack/plugins/observability_solution/apm/public/context/apm_plugin/mock_apm_plugin_context.tsx similarity index 100% rename from x-pack/plugins/apm/public/context/apm_plugin/mock_apm_plugin_context.tsx rename to x-pack/plugins/observability_solution/apm/public/context/apm_plugin/mock_apm_plugin_context.tsx diff --git a/x-pack/plugins/apm/public/context/apm_plugin/mock_apm_plugin_storybook.tsx b/x-pack/plugins/observability_solution/apm/public/context/apm_plugin/mock_apm_plugin_storybook.tsx similarity index 100% rename from x-pack/plugins/apm/public/context/apm_plugin/mock_apm_plugin_storybook.tsx rename to x-pack/plugins/observability_solution/apm/public/context/apm_plugin/mock_apm_plugin_storybook.tsx diff --git a/x-pack/plugins/apm/public/context/apm_plugin/use_apm_plugin_context.ts b/x-pack/plugins/observability_solution/apm/public/context/apm_plugin/use_apm_plugin_context.ts similarity index 100% rename from x-pack/plugins/apm/public/context/apm_plugin/use_apm_plugin_context.ts rename to x-pack/plugins/observability_solution/apm/public/context/apm_plugin/use_apm_plugin_context.ts diff --git a/x-pack/plugins/apm/public/context/apm_service/apm_service_context.test.tsx b/x-pack/plugins/observability_solution/apm/public/context/apm_service/apm_service_context.test.tsx similarity index 100% rename from x-pack/plugins/apm/public/context/apm_service/apm_service_context.test.tsx rename to x-pack/plugins/observability_solution/apm/public/context/apm_service/apm_service_context.test.tsx diff --git a/x-pack/plugins/apm/public/context/apm_service/apm_service_context.tsx b/x-pack/plugins/observability_solution/apm/public/context/apm_service/apm_service_context.tsx similarity index 100% rename from x-pack/plugins/apm/public/context/apm_service/apm_service_context.tsx rename to x-pack/plugins/observability_solution/apm/public/context/apm_service/apm_service_context.tsx diff --git a/x-pack/plugins/apm/public/context/apm_service/use_apm_service_context.ts b/x-pack/plugins/observability_solution/apm/public/context/apm_service/use_apm_service_context.ts similarity index 100% rename from x-pack/plugins/apm/public/context/apm_service/use_apm_service_context.ts rename to x-pack/plugins/observability_solution/apm/public/context/apm_service/use_apm_service_context.ts diff --git a/x-pack/plugins/apm/public/context/apm_service/use_service_agent_fetcher.ts b/x-pack/plugins/observability_solution/apm/public/context/apm_service/use_service_agent_fetcher.ts similarity index 100% rename from x-pack/plugins/apm/public/context/apm_service/use_service_agent_fetcher.ts rename to x-pack/plugins/observability_solution/apm/public/context/apm_service/use_service_agent_fetcher.ts diff --git a/x-pack/plugins/apm/public/context/apm_service/use_service_transaction_types_fetcher.tsx b/x-pack/plugins/observability_solution/apm/public/context/apm_service/use_service_transaction_types_fetcher.tsx similarity index 100% rename from x-pack/plugins/apm/public/context/apm_service/use_service_transaction_types_fetcher.tsx rename to x-pack/plugins/observability_solution/apm/public/context/apm_service/use_service_transaction_types_fetcher.tsx diff --git a/x-pack/plugins/apm/public/context/breadcrumbs/context.tsx b/x-pack/plugins/observability_solution/apm/public/context/breadcrumbs/context.tsx similarity index 100% rename from x-pack/plugins/apm/public/context/breadcrumbs/context.tsx rename to x-pack/plugins/observability_solution/apm/public/context/breadcrumbs/context.tsx diff --git a/x-pack/plugins/apm/public/context/breadcrumbs/use_breadcrumb.ts b/x-pack/plugins/observability_solution/apm/public/context/breadcrumbs/use_breadcrumb.ts similarity index 100% rename from x-pack/plugins/apm/public/context/breadcrumbs/use_breadcrumb.ts rename to x-pack/plugins/observability_solution/apm/public/context/breadcrumbs/use_breadcrumb.ts diff --git a/x-pack/plugins/apm/public/context/chart_pointer_event/chart_pointer_event_context.tsx b/x-pack/plugins/observability_solution/apm/public/context/chart_pointer_event/chart_pointer_event_context.tsx similarity index 100% rename from x-pack/plugins/apm/public/context/chart_pointer_event/chart_pointer_event_context.tsx rename to x-pack/plugins/observability_solution/apm/public/context/chart_pointer_event/chart_pointer_event_context.tsx diff --git a/x-pack/plugins/apm/public/context/chart_pointer_event/use_chart_pointer_event_context.tsx b/x-pack/plugins/observability_solution/apm/public/context/chart_pointer_event/use_chart_pointer_event_context.tsx similarity index 100% rename from x-pack/plugins/apm/public/context/chart_pointer_event/use_chart_pointer_event_context.tsx rename to x-pack/plugins/observability_solution/apm/public/context/chart_pointer_event/use_chart_pointer_event_context.tsx diff --git a/x-pack/plugins/apm/public/context/environments_context/environments_context.tsx b/x-pack/plugins/observability_solution/apm/public/context/environments_context/environments_context.tsx similarity index 100% rename from x-pack/plugins/apm/public/context/environments_context/environments_context.tsx rename to x-pack/plugins/observability_solution/apm/public/context/environments_context/environments_context.tsx diff --git a/x-pack/plugins/apm/public/context/environments_context/use_environments_context.tsx b/x-pack/plugins/observability_solution/apm/public/context/environments_context/use_environments_context.tsx similarity index 100% rename from x-pack/plugins/apm/public/context/environments_context/use_environments_context.tsx rename to x-pack/plugins/observability_solution/apm/public/context/environments_context/use_environments_context.tsx diff --git a/x-pack/plugins/apm/public/context/kibana_environment_context/kibana_environment_context.tsx b/x-pack/plugins/observability_solution/apm/public/context/kibana_environment_context/kibana_environment_context.tsx similarity index 100% rename from x-pack/plugins/apm/public/context/kibana_environment_context/kibana_environment_context.tsx rename to x-pack/plugins/observability_solution/apm/public/context/kibana_environment_context/kibana_environment_context.tsx diff --git a/x-pack/plugins/apm/public/context/kibana_environment_context/use_kibana_environment_context.tsx b/x-pack/plugins/observability_solution/apm/public/context/kibana_environment_context/use_kibana_environment_context.tsx similarity index 100% rename from x-pack/plugins/apm/public/context/kibana_environment_context/use_kibana_environment_context.tsx rename to x-pack/plugins/observability_solution/apm/public/context/kibana_environment_context/use_kibana_environment_context.tsx diff --git a/x-pack/plugins/apm/public/context/license/invalid_license_notification.tsx b/x-pack/plugins/observability_solution/apm/public/context/license/invalid_license_notification.tsx similarity index 100% rename from x-pack/plugins/apm/public/context/license/invalid_license_notification.tsx rename to x-pack/plugins/observability_solution/apm/public/context/license/invalid_license_notification.tsx diff --git a/x-pack/plugins/apm/public/context/license/license_context.tsx b/x-pack/plugins/observability_solution/apm/public/context/license/license_context.tsx similarity index 100% rename from x-pack/plugins/apm/public/context/license/license_context.tsx rename to x-pack/plugins/observability_solution/apm/public/context/license/license_context.tsx diff --git a/x-pack/plugins/apm/public/context/license/use_license_context.ts b/x-pack/plugins/observability_solution/apm/public/context/license/use_license_context.ts similarity index 100% rename from x-pack/plugins/apm/public/context/license/use_license_context.ts rename to x-pack/plugins/observability_solution/apm/public/context/license/use_license_context.ts diff --git a/x-pack/plugins/apm/public/context/service_anomaly_timeseries/service_anomaly_timeseries_context.tsx b/x-pack/plugins/observability_solution/apm/public/context/service_anomaly_timeseries/service_anomaly_timeseries_context.tsx similarity index 100% rename from x-pack/plugins/apm/public/context/service_anomaly_timeseries/service_anomaly_timeseries_context.tsx rename to x-pack/plugins/observability_solution/apm/public/context/service_anomaly_timeseries/service_anomaly_timeseries_context.tsx diff --git a/x-pack/plugins/apm/public/context/service_anomaly_timeseries/use_service_anomaly_timeseries_context.tsx b/x-pack/plugins/observability_solution/apm/public/context/service_anomaly_timeseries/use_service_anomaly_timeseries_context.tsx similarity index 100% rename from x-pack/plugins/apm/public/context/service_anomaly_timeseries/use_service_anomaly_timeseries_context.tsx rename to x-pack/plugins/observability_solution/apm/public/context/service_anomaly_timeseries/use_service_anomaly_timeseries_context.tsx diff --git a/x-pack/plugins/apm/public/context/time_range_id/time_range_id_context.tsx b/x-pack/plugins/observability_solution/apm/public/context/time_range_id/time_range_id_context.tsx similarity index 100% rename from x-pack/plugins/apm/public/context/time_range_id/time_range_id_context.tsx rename to x-pack/plugins/observability_solution/apm/public/context/time_range_id/time_range_id_context.tsx diff --git a/x-pack/plugins/apm/public/context/time_range_id/use_time_range_id.ts b/x-pack/plugins/observability_solution/apm/public/context/time_range_id/use_time_range_id.ts similarity index 100% rename from x-pack/plugins/apm/public/context/time_range_id/use_time_range_id.ts rename to x-pack/plugins/observability_solution/apm/public/context/time_range_id/use_time_range_id.ts diff --git a/x-pack/plugins/apm/public/context/time_range_metadata/mock_time_range_metadata_context_provider.tsx b/x-pack/plugins/observability_solution/apm/public/context/time_range_metadata/mock_time_range_metadata_context_provider.tsx similarity index 100% rename from x-pack/plugins/apm/public/context/time_range_metadata/mock_time_range_metadata_context_provider.tsx rename to x-pack/plugins/observability_solution/apm/public/context/time_range_metadata/mock_time_range_metadata_context_provider.tsx diff --git a/x-pack/plugins/apm/public/context/time_range_metadata/time_range_metadata_context.tsx b/x-pack/plugins/observability_solution/apm/public/context/time_range_metadata/time_range_metadata_context.tsx similarity index 100% rename from x-pack/plugins/apm/public/context/time_range_metadata/time_range_metadata_context.tsx rename to x-pack/plugins/observability_solution/apm/public/context/time_range_metadata/time_range_metadata_context.tsx diff --git a/x-pack/plugins/apm/public/context/time_range_metadata/use_search_service_destination_metrics.ts b/x-pack/plugins/observability_solution/apm/public/context/time_range_metadata/use_search_service_destination_metrics.ts similarity index 100% rename from x-pack/plugins/apm/public/context/time_range_metadata/use_search_service_destination_metrics.ts rename to x-pack/plugins/observability_solution/apm/public/context/time_range_metadata/use_search_service_destination_metrics.ts diff --git a/x-pack/plugins/apm/public/context/time_range_metadata/use_time_range_metadata_context.ts b/x-pack/plugins/observability_solution/apm/public/context/time_range_metadata/use_time_range_metadata_context.ts similarity index 100% rename from x-pack/plugins/apm/public/context/time_range_metadata/use_time_range_metadata_context.ts rename to x-pack/plugins/observability_solution/apm/public/context/time_range_metadata/use_time_range_metadata_context.ts diff --git a/x-pack/plugins/apm/public/context/url_params_context/constants.ts b/x-pack/plugins/observability_solution/apm/public/context/url_params_context/constants.ts similarity index 100% rename from x-pack/plugins/apm/public/context/url_params_context/constants.ts rename to x-pack/plugins/observability_solution/apm/public/context/url_params_context/constants.ts diff --git a/x-pack/plugins/apm/public/context/url_params_context/helpers.test.ts b/x-pack/plugins/observability_solution/apm/public/context/url_params_context/helpers.test.ts similarity index 100% rename from x-pack/plugins/apm/public/context/url_params_context/helpers.test.ts rename to x-pack/plugins/observability_solution/apm/public/context/url_params_context/helpers.test.ts diff --git a/x-pack/plugins/apm/public/context/url_params_context/helpers.ts b/x-pack/plugins/observability_solution/apm/public/context/url_params_context/helpers.ts similarity index 100% rename from x-pack/plugins/apm/public/context/url_params_context/helpers.ts rename to x-pack/plugins/observability_solution/apm/public/context/url_params_context/helpers.ts diff --git a/x-pack/plugins/apm/public/context/url_params_context/mock_url_params_context_provider.tsx b/x-pack/plugins/observability_solution/apm/public/context/url_params_context/mock_url_params_context_provider.tsx similarity index 100% rename from x-pack/plugins/apm/public/context/url_params_context/mock_url_params_context_provider.tsx rename to x-pack/plugins/observability_solution/apm/public/context/url_params_context/mock_url_params_context_provider.tsx diff --git a/x-pack/plugins/apm/public/context/url_params_context/resolve_url_params.ts b/x-pack/plugins/observability_solution/apm/public/context/url_params_context/resolve_url_params.ts similarity index 100% rename from x-pack/plugins/apm/public/context/url_params_context/resolve_url_params.ts rename to x-pack/plugins/observability_solution/apm/public/context/url_params_context/resolve_url_params.ts diff --git a/x-pack/plugins/apm/public/context/url_params_context/types.ts b/x-pack/plugins/observability_solution/apm/public/context/url_params_context/types.ts similarity index 100% rename from x-pack/plugins/apm/public/context/url_params_context/types.ts rename to x-pack/plugins/observability_solution/apm/public/context/url_params_context/types.ts diff --git a/x-pack/plugins/apm/public/context/url_params_context/url_params_context.test.tsx b/x-pack/plugins/observability_solution/apm/public/context/url_params_context/url_params_context.test.tsx similarity index 100% rename from x-pack/plugins/apm/public/context/url_params_context/url_params_context.test.tsx rename to x-pack/plugins/observability_solution/apm/public/context/url_params_context/url_params_context.test.tsx diff --git a/x-pack/plugins/apm/public/context/url_params_context/url_params_context.tsx b/x-pack/plugins/observability_solution/apm/public/context/url_params_context/url_params_context.tsx similarity index 100% rename from x-pack/plugins/apm/public/context/url_params_context/url_params_context.tsx rename to x-pack/plugins/observability_solution/apm/public/context/url_params_context/url_params_context.tsx diff --git a/x-pack/plugins/apm/public/context/url_params_context/use_url_params.tsx b/x-pack/plugins/observability_solution/apm/public/context/url_params_context/use_url_params.tsx similarity index 100% rename from x-pack/plugins/apm/public/context/url_params_context/use_url_params.tsx rename to x-pack/plugins/observability_solution/apm/public/context/url_params_context/use_url_params.tsx diff --git a/x-pack/plugins/apm/public/feature_catalogue_entry.ts b/x-pack/plugins/observability_solution/apm/public/feature_catalogue_entry.ts similarity index 100% rename from x-pack/plugins/apm/public/feature_catalogue_entry.ts rename to x-pack/plugins/observability_solution/apm/public/feature_catalogue_entry.ts diff --git a/x-pack/plugins/apm/public/hooks/create_shared_use_fetcher.tsx b/x-pack/plugins/observability_solution/apm/public/hooks/create_shared_use_fetcher.tsx similarity index 100% rename from x-pack/plugins/apm/public/hooks/create_shared_use_fetcher.tsx rename to x-pack/plugins/observability_solution/apm/public/hooks/create_shared_use_fetcher.tsx diff --git a/x-pack/plugins/apm/public/hooks/use_adhoc_apm_data_view.ts b/x-pack/plugins/observability_solution/apm/public/hooks/use_adhoc_apm_data_view.ts similarity index 100% rename from x-pack/plugins/apm/public/hooks/use_adhoc_apm_data_view.ts rename to x-pack/plugins/observability_solution/apm/public/hooks/use_adhoc_apm_data_view.ts diff --git a/x-pack/plugins/apm/public/hooks/use_apm_feature_flag.ts b/x-pack/plugins/observability_solution/apm/public/hooks/use_apm_feature_flag.ts similarity index 100% rename from x-pack/plugins/apm/public/hooks/use_apm_feature_flag.ts rename to x-pack/plugins/observability_solution/apm/public/hooks/use_apm_feature_flag.ts diff --git a/x-pack/plugins/apm/public/hooks/use_apm_params.ts b/x-pack/plugins/observability_solution/apm/public/hooks/use_apm_params.ts similarity index 100% rename from x-pack/plugins/apm/public/hooks/use_apm_params.ts rename to x-pack/plugins/observability_solution/apm/public/hooks/use_apm_params.ts diff --git a/x-pack/plugins/apm/public/hooks/use_apm_route_path.ts b/x-pack/plugins/observability_solution/apm/public/hooks/use_apm_route_path.ts similarity index 100% rename from x-pack/plugins/apm/public/hooks/use_apm_route_path.ts rename to x-pack/plugins/observability_solution/apm/public/hooks/use_apm_route_path.ts diff --git a/x-pack/plugins/apm/public/hooks/use_apm_router.ts b/x-pack/plugins/observability_solution/apm/public/hooks/use_apm_router.ts similarity index 100% rename from x-pack/plugins/apm/public/hooks/use_apm_router.ts rename to x-pack/plugins/observability_solution/apm/public/hooks/use_apm_router.ts diff --git a/x-pack/plugins/apm/public/hooks/use_breakpoints.test.tsx b/x-pack/plugins/observability_solution/apm/public/hooks/use_breakpoints.test.tsx similarity index 100% rename from x-pack/plugins/apm/public/hooks/use_breakpoints.test.tsx rename to x-pack/plugins/observability_solution/apm/public/hooks/use_breakpoints.test.tsx diff --git a/x-pack/plugins/apm/public/hooks/use_breakpoints.ts b/x-pack/plugins/observability_solution/apm/public/hooks/use_breakpoints.ts similarity index 100% rename from x-pack/plugins/apm/public/hooks/use_breakpoints.ts rename to x-pack/plugins/observability_solution/apm/public/hooks/use_breakpoints.ts diff --git a/x-pack/plugins/apm/public/hooks/use_crash_group_distribution_fetcher.tsx b/x-pack/plugins/observability_solution/apm/public/hooks/use_crash_group_distribution_fetcher.tsx similarity index 100% rename from x-pack/plugins/apm/public/hooks/use_crash_group_distribution_fetcher.tsx rename to x-pack/plugins/observability_solution/apm/public/hooks/use_crash_group_distribution_fetcher.tsx diff --git a/x-pack/plugins/apm/public/hooks/use_critical_path_feature_enabled_setting.ts b/x-pack/plugins/observability_solution/apm/public/hooks/use_critical_path_feature_enabled_setting.ts similarity index 100% rename from x-pack/plugins/apm/public/hooks/use_critical_path_feature_enabled_setting.ts rename to x-pack/plugins/observability_solution/apm/public/hooks/use_critical_path_feature_enabled_setting.ts diff --git a/x-pack/plugins/apm/public/hooks/use_current_user.ts b/x-pack/plugins/observability_solution/apm/public/hooks/use_current_user.ts similarity index 100% rename from x-pack/plugins/apm/public/hooks/use_current_user.ts rename to x-pack/plugins/observability_solution/apm/public/hooks/use_current_user.ts diff --git a/x-pack/plugins/apm/public/hooks/use_dashboards_fetcher.ts b/x-pack/plugins/observability_solution/apm/public/hooks/use_dashboards_fetcher.ts similarity index 100% rename from x-pack/plugins/apm/public/hooks/use_dashboards_fetcher.ts rename to x-pack/plugins/observability_solution/apm/public/hooks/use_dashboards_fetcher.ts diff --git a/x-pack/plugins/apm/public/hooks/use_date_range_redirect.ts b/x-pack/plugins/observability_solution/apm/public/hooks/use_date_range_redirect.ts similarity index 100% rename from x-pack/plugins/apm/public/hooks/use_date_range_redirect.ts rename to x-pack/plugins/observability_solution/apm/public/hooks/use_date_range_redirect.ts diff --git a/x-pack/plugins/apm/public/hooks/use_debounce.test.tsx b/x-pack/plugins/observability_solution/apm/public/hooks/use_debounce.test.tsx similarity index 100% rename from x-pack/plugins/apm/public/hooks/use_debounce.test.tsx rename to x-pack/plugins/observability_solution/apm/public/hooks/use_debounce.test.tsx diff --git a/x-pack/plugins/apm/public/hooks/use_debounce.tsx b/x-pack/plugins/observability_solution/apm/public/hooks/use_debounce.tsx similarity index 100% rename from x-pack/plugins/apm/public/hooks/use_debounce.tsx rename to x-pack/plugins/observability_solution/apm/public/hooks/use_debounce.tsx diff --git a/x-pack/plugins/apm/public/hooks/use_deep_object_identity.ts b/x-pack/plugins/observability_solution/apm/public/hooks/use_deep_object_identity.ts similarity index 100% rename from x-pack/plugins/apm/public/hooks/use_deep_object_identity.ts rename to x-pack/plugins/observability_solution/apm/public/hooks/use_deep_object_identity.ts diff --git a/x-pack/plugins/apm/public/hooks/use_default_environment.ts b/x-pack/plugins/observability_solution/apm/public/hooks/use_default_environment.ts similarity index 100% rename from x-pack/plugins/apm/public/hooks/use_default_environment.ts rename to x-pack/plugins/observability_solution/apm/public/hooks/use_default_environment.ts diff --git a/x-pack/plugins/apm/public/hooks/use_default_time_range.ts b/x-pack/plugins/observability_solution/apm/public/hooks/use_default_time_range.ts similarity index 100% rename from x-pack/plugins/apm/public/hooks/use_default_time_range.ts rename to x-pack/plugins/observability_solution/apm/public/hooks/use_default_time_range.ts diff --git a/x-pack/plugins/apm/public/hooks/use_dependency_detail_operations_breadcrumb.ts b/x-pack/plugins/observability_solution/apm/public/hooks/use_dependency_detail_operations_breadcrumb.ts similarity index 100% rename from x-pack/plugins/apm/public/hooks/use_dependency_detail_operations_breadcrumb.ts rename to x-pack/plugins/observability_solution/apm/public/hooks/use_dependency_detail_operations_breadcrumb.ts diff --git a/x-pack/plugins/apm/public/hooks/use_environments_fetcher.tsx b/x-pack/plugins/observability_solution/apm/public/hooks/use_environments_fetcher.tsx similarity index 100% rename from x-pack/plugins/apm/public/hooks/use_environments_fetcher.tsx rename to x-pack/plugins/observability_solution/apm/public/hooks/use_environments_fetcher.tsx diff --git a/x-pack/plugins/apm/public/hooks/use_error_group_distribution_fetcher.tsx b/x-pack/plugins/observability_solution/apm/public/hooks/use_error_group_distribution_fetcher.tsx similarity index 100% rename from x-pack/plugins/apm/public/hooks/use_error_group_distribution_fetcher.tsx rename to x-pack/plugins/observability_solution/apm/public/hooks/use_error_group_distribution_fetcher.tsx diff --git a/x-pack/plugins/apm/public/hooks/use_fallback_to_transactions_fetcher.tsx b/x-pack/plugins/observability_solution/apm/public/hooks/use_fallback_to_transactions_fetcher.tsx similarity index 100% rename from x-pack/plugins/apm/public/hooks/use_fallback_to_transactions_fetcher.tsx rename to x-pack/plugins/observability_solution/apm/public/hooks/use_fallback_to_transactions_fetcher.tsx diff --git a/x-pack/plugins/apm/public/hooks/use_fetcher.integration.test.tsx b/x-pack/plugins/observability_solution/apm/public/hooks/use_fetcher.integration.test.tsx similarity index 100% rename from x-pack/plugins/apm/public/hooks/use_fetcher.integration.test.tsx rename to x-pack/plugins/observability_solution/apm/public/hooks/use_fetcher.integration.test.tsx diff --git a/x-pack/plugins/apm/public/hooks/use_fetcher.test.tsx b/x-pack/plugins/observability_solution/apm/public/hooks/use_fetcher.test.tsx similarity index 100% rename from x-pack/plugins/apm/public/hooks/use_fetcher.test.tsx rename to x-pack/plugins/observability_solution/apm/public/hooks/use_fetcher.test.tsx diff --git a/x-pack/plugins/apm/public/hooks/use_fetcher.tsx b/x-pack/plugins/observability_solution/apm/public/hooks/use_fetcher.tsx similarity index 100% rename from x-pack/plugins/apm/public/hooks/use_fetcher.tsx rename to x-pack/plugins/observability_solution/apm/public/hooks/use_fetcher.tsx diff --git a/x-pack/plugins/apm/public/hooks/use_filters_for_embeddable_charts.ts b/x-pack/plugins/observability_solution/apm/public/hooks/use_filters_for_embeddable_charts.ts similarity index 100% rename from x-pack/plugins/apm/public/hooks/use_filters_for_embeddable_charts.ts rename to x-pack/plugins/observability_solution/apm/public/hooks/use_filters_for_embeddable_charts.ts diff --git a/x-pack/plugins/apm/public/hooks/use_kibana_url.ts b/x-pack/plugins/observability_solution/apm/public/hooks/use_kibana_url.ts similarity index 100% rename from x-pack/plugins/apm/public/hooks/use_kibana_url.ts rename to x-pack/plugins/observability_solution/apm/public/hooks/use_kibana_url.ts diff --git a/x-pack/plugins/apm/public/hooks/use_local_storage.ts b/x-pack/plugins/observability_solution/apm/public/hooks/use_local_storage.ts similarity index 100% rename from x-pack/plugins/apm/public/hooks/use_local_storage.ts rename to x-pack/plugins/observability_solution/apm/public/hooks/use_local_storage.ts diff --git a/x-pack/plugins/apm/public/hooks/use_ml_manage_jobs_href.ts b/x-pack/plugins/observability_solution/apm/public/hooks/use_ml_manage_jobs_href.ts similarity index 100% rename from x-pack/plugins/apm/public/hooks/use_ml_manage_jobs_href.ts rename to x-pack/plugins/observability_solution/apm/public/hooks/use_ml_manage_jobs_href.ts diff --git a/x-pack/plugins/apm/public/hooks/use_preferred_data_source_and_bucket_size.ts b/x-pack/plugins/observability_solution/apm/public/hooks/use_preferred_data_source_and_bucket_size.ts similarity index 100% rename from x-pack/plugins/apm/public/hooks/use_preferred_data_source_and_bucket_size.ts rename to x-pack/plugins/observability_solution/apm/public/hooks/use_preferred_data_source_and_bucket_size.ts diff --git a/x-pack/plugins/apm/public/hooks/use_preferred_service_anomaly_timeseries.ts b/x-pack/plugins/observability_solution/apm/public/hooks/use_preferred_service_anomaly_timeseries.ts similarity index 100% rename from x-pack/plugins/apm/public/hooks/use_preferred_service_anomaly_timeseries.ts rename to x-pack/plugins/observability_solution/apm/public/hooks/use_preferred_service_anomaly_timeseries.ts diff --git a/x-pack/plugins/apm/public/hooks/use_previous_period_text.ts b/x-pack/plugins/observability_solution/apm/public/hooks/use_previous_period_text.ts similarity index 100% rename from x-pack/plugins/apm/public/hooks/use_previous_period_text.ts rename to x-pack/plugins/observability_solution/apm/public/hooks/use_previous_period_text.ts diff --git a/x-pack/plugins/apm/public/hooks/use_processor_event.ts b/x-pack/plugins/observability_solution/apm/public/hooks/use_processor_event.ts similarity index 100% rename from x-pack/plugins/apm/public/hooks/use_processor_event.ts rename to x-pack/plugins/observability_solution/apm/public/hooks/use_processor_event.ts diff --git a/x-pack/plugins/apm/public/hooks/use_profiling_integration_setting.ts b/x-pack/plugins/observability_solution/apm/public/hooks/use_profiling_integration_setting.ts similarity index 100% rename from x-pack/plugins/apm/public/hooks/use_profiling_integration_setting.ts rename to x-pack/plugins/observability_solution/apm/public/hooks/use_profiling_integration_setting.ts diff --git a/x-pack/plugins/apm/public/hooks/use_profiling_plugin.tsx b/x-pack/plugins/observability_solution/apm/public/hooks/use_profiling_plugin.tsx similarity index 100% rename from x-pack/plugins/apm/public/hooks/use_profiling_plugin.tsx rename to x-pack/plugins/observability_solution/apm/public/hooks/use_profiling_plugin.tsx diff --git a/x-pack/plugins/apm/public/hooks/use_progressive_fetcher.tsx b/x-pack/plugins/observability_solution/apm/public/hooks/use_progressive_fetcher.tsx similarity index 100% rename from x-pack/plugins/apm/public/hooks/use_progressive_fetcher.tsx rename to x-pack/plugins/observability_solution/apm/public/hooks/use_progressive_fetcher.tsx diff --git a/x-pack/plugins/apm/public/hooks/use_sample_chart_selection.ts b/x-pack/plugins/observability_solution/apm/public/hooks/use_sample_chart_selection.ts similarity index 100% rename from x-pack/plugins/apm/public/hooks/use_sample_chart_selection.ts rename to x-pack/plugins/observability_solution/apm/public/hooks/use_sample_chart_selection.ts diff --git a/x-pack/plugins/apm/public/hooks/use_service_metric_charts_fetcher.ts b/x-pack/plugins/observability_solution/apm/public/hooks/use_service_metric_charts_fetcher.ts similarity index 100% rename from x-pack/plugins/apm/public/hooks/use_service_metric_charts_fetcher.ts rename to x-pack/plugins/observability_solution/apm/public/hooks/use_service_metric_charts_fetcher.ts diff --git a/x-pack/plugins/apm/public/hooks/use_service_name.tsx b/x-pack/plugins/observability_solution/apm/public/hooks/use_service_name.tsx similarity index 100% rename from x-pack/plugins/apm/public/hooks/use_service_name.tsx rename to x-pack/plugins/observability_solution/apm/public/hooks/use_service_name.tsx diff --git a/x-pack/plugins/apm/public/hooks/use_theme.tsx b/x-pack/plugins/observability_solution/apm/public/hooks/use_theme.tsx similarity index 100% rename from x-pack/plugins/apm/public/hooks/use_theme.tsx rename to x-pack/plugins/observability_solution/apm/public/hooks/use_theme.tsx diff --git a/x-pack/plugins/apm/public/hooks/use_time_range.test.ts b/x-pack/plugins/observability_solution/apm/public/hooks/use_time_range.test.ts similarity index 100% rename from x-pack/plugins/apm/public/hooks/use_time_range.test.ts rename to x-pack/plugins/observability_solution/apm/public/hooks/use_time_range.test.ts diff --git a/x-pack/plugins/apm/public/hooks/use_time_range.ts b/x-pack/plugins/observability_solution/apm/public/hooks/use_time_range.ts similarity index 100% rename from x-pack/plugins/apm/public/hooks/use_time_range.ts rename to x-pack/plugins/observability_solution/apm/public/hooks/use_time_range.ts diff --git a/x-pack/plugins/apm/public/hooks/use_trace_explorer_enabled_setting.ts b/x-pack/plugins/observability_solution/apm/public/hooks/use_trace_explorer_enabled_setting.ts similarity index 100% rename from x-pack/plugins/apm/public/hooks/use_trace_explorer_enabled_setting.ts rename to x-pack/plugins/observability_solution/apm/public/hooks/use_trace_explorer_enabled_setting.ts diff --git a/x-pack/plugins/apm/public/hooks/use_trace_explorer_samples.ts b/x-pack/plugins/observability_solution/apm/public/hooks/use_trace_explorer_samples.ts similarity index 100% rename from x-pack/plugins/apm/public/hooks/use_trace_explorer_samples.ts rename to x-pack/plugins/observability_solution/apm/public/hooks/use_trace_explorer_samples.ts diff --git a/x-pack/plugins/apm/public/hooks/use_transaction_latency_chart_fetcher.ts b/x-pack/plugins/observability_solution/apm/public/hooks/use_transaction_latency_chart_fetcher.ts similarity index 100% rename from x-pack/plugins/apm/public/hooks/use_transaction_latency_chart_fetcher.ts rename to x-pack/plugins/observability_solution/apm/public/hooks/use_transaction_latency_chart_fetcher.ts diff --git a/x-pack/plugins/apm/public/hooks/use_transaction_trace_samples_fetcher.ts b/x-pack/plugins/observability_solution/apm/public/hooks/use_transaction_trace_samples_fetcher.ts similarity index 100% rename from x-pack/plugins/apm/public/hooks/use_transaction_trace_samples_fetcher.ts rename to x-pack/plugins/observability_solution/apm/public/hooks/use_transaction_trace_samples_fetcher.ts diff --git a/x-pack/plugins/apm/public/icon.svg b/x-pack/plugins/observability_solution/apm/public/icon.svg similarity index 100% rename from x-pack/plugins/apm/public/icon.svg rename to x-pack/plugins/observability_solution/apm/public/icon.svg diff --git a/x-pack/plugins/apm/public/images/apm_ml_anomaly_detection_example.png b/x-pack/plugins/observability_solution/apm/public/images/apm_ml_anomaly_detection_example.png similarity index 100% rename from x-pack/plugins/apm/public/images/apm_ml_anomaly_detection_example.png rename to x-pack/plugins/observability_solution/apm/public/images/apm_ml_anomaly_detection_example.png diff --git a/x-pack/plugins/apm/public/index.ts b/x-pack/plugins/observability_solution/apm/public/index.ts similarity index 100% rename from x-pack/plugins/apm/public/index.ts rename to x-pack/plugins/observability_solution/apm/public/index.ts diff --git a/x-pack/plugins/apm/public/locator/helpers.ts b/x-pack/plugins/observability_solution/apm/public/locator/helpers.ts similarity index 100% rename from x-pack/plugins/apm/public/locator/helpers.ts rename to x-pack/plugins/observability_solution/apm/public/locator/helpers.ts diff --git a/x-pack/plugins/apm/public/locator/service_detail_locator.test.ts b/x-pack/plugins/observability_solution/apm/public/locator/service_detail_locator.test.ts similarity index 100% rename from x-pack/plugins/apm/public/locator/service_detail_locator.test.ts rename to x-pack/plugins/observability_solution/apm/public/locator/service_detail_locator.test.ts diff --git a/x-pack/plugins/apm/public/locator/service_detail_locator.ts b/x-pack/plugins/observability_solution/apm/public/locator/service_detail_locator.ts similarity index 100% rename from x-pack/plugins/apm/public/locator/service_detail_locator.ts rename to x-pack/plugins/observability_solution/apm/public/locator/service_detail_locator.ts diff --git a/x-pack/plugins/apm/public/plugin.ts b/x-pack/plugins/observability_solution/apm/public/plugin.ts similarity index 100% rename from x-pack/plugins/apm/public/plugin.ts rename to x-pack/plugins/observability_solution/apm/public/plugin.ts diff --git a/x-pack/plugins/apm/public/selectors/latency_chart_selector.test.ts b/x-pack/plugins/observability_solution/apm/public/selectors/latency_chart_selector.test.ts similarity index 100% rename from x-pack/plugins/apm/public/selectors/latency_chart_selector.test.ts rename to x-pack/plugins/observability_solution/apm/public/selectors/latency_chart_selector.test.ts diff --git a/x-pack/plugins/apm/public/selectors/latency_chart_selectors.ts b/x-pack/plugins/observability_solution/apm/public/selectors/latency_chart_selectors.ts similarity index 100% rename from x-pack/plugins/apm/public/selectors/latency_chart_selectors.ts rename to x-pack/plugins/observability_solution/apm/public/selectors/latency_chart_selectors.ts diff --git a/x-pack/plugins/apm/public/services/__mocks__/SessionStorageMock.ts b/x-pack/plugins/observability_solution/apm/public/services/__mocks__/SessionStorageMock.ts similarity index 100% rename from x-pack/plugins/apm/public/services/__mocks__/SessionStorageMock.ts rename to x-pack/plugins/observability_solution/apm/public/services/__mocks__/SessionStorageMock.ts diff --git a/x-pack/plugins/apm/public/services/call_api.test.ts b/x-pack/plugins/observability_solution/apm/public/services/call_api.test.ts similarity index 100% rename from x-pack/plugins/apm/public/services/call_api.test.ts rename to x-pack/plugins/observability_solution/apm/public/services/call_api.test.ts diff --git a/x-pack/plugins/apm/public/services/call_apm_api.test.ts b/x-pack/plugins/observability_solution/apm/public/services/call_apm_api.test.ts similarity index 100% rename from x-pack/plugins/apm/public/services/call_apm_api.test.ts rename to x-pack/plugins/observability_solution/apm/public/services/call_apm_api.test.ts diff --git a/x-pack/plugins/apm/public/services/rest/apm_observability_overview_fetchers.test.ts b/x-pack/plugins/observability_solution/apm/public/services/rest/apm_observability_overview_fetchers.test.ts similarity index 100% rename from x-pack/plugins/apm/public/services/rest/apm_observability_overview_fetchers.test.ts rename to x-pack/plugins/observability_solution/apm/public/services/rest/apm_observability_overview_fetchers.test.ts diff --git a/x-pack/plugins/apm/public/services/rest/apm_observability_overview_fetchers.ts b/x-pack/plugins/observability_solution/apm/public/services/rest/apm_observability_overview_fetchers.ts similarity index 100% rename from x-pack/plugins/apm/public/services/rest/apm_observability_overview_fetchers.ts rename to x-pack/plugins/observability_solution/apm/public/services/rest/apm_observability_overview_fetchers.ts diff --git a/x-pack/plugins/apm/public/services/rest/call_api.ts b/x-pack/plugins/observability_solution/apm/public/services/rest/call_api.ts similarity index 100% rename from x-pack/plugins/apm/public/services/rest/call_api.ts rename to x-pack/plugins/observability_solution/apm/public/services/rest/call_api.ts diff --git a/x-pack/plugins/apm/public/services/rest/call_apm_api_spy.ts b/x-pack/plugins/observability_solution/apm/public/services/rest/call_apm_api_spy.ts similarity index 100% rename from x-pack/plugins/apm/public/services/rest/call_apm_api_spy.ts rename to x-pack/plugins/observability_solution/apm/public/services/rest/call_apm_api_spy.ts diff --git a/x-pack/plugins/apm/public/services/rest/create_call_apm_api.ts b/x-pack/plugins/observability_solution/apm/public/services/rest/create_call_apm_api.ts similarity index 100% rename from x-pack/plugins/apm/public/services/rest/create_call_apm_api.ts rename to x-pack/plugins/observability_solution/apm/public/services/rest/create_call_apm_api.ts diff --git a/x-pack/plugins/apm/public/services/telemetry/index.ts b/x-pack/plugins/observability_solution/apm/public/services/telemetry/index.ts similarity index 100% rename from x-pack/plugins/apm/public/services/telemetry/index.ts rename to x-pack/plugins/observability_solution/apm/public/services/telemetry/index.ts diff --git a/x-pack/plugins/apm/public/services/telemetry/telemetry_client.ts b/x-pack/plugins/observability_solution/apm/public/services/telemetry/telemetry_client.ts similarity index 100% rename from x-pack/plugins/apm/public/services/telemetry/telemetry_client.ts rename to x-pack/plugins/observability_solution/apm/public/services/telemetry/telemetry_client.ts diff --git a/x-pack/plugins/apm/public/services/telemetry/telemetry_events.ts b/x-pack/plugins/observability_solution/apm/public/services/telemetry/telemetry_events.ts similarity index 100% rename from x-pack/plugins/apm/public/services/telemetry/telemetry_events.ts rename to x-pack/plugins/observability_solution/apm/public/services/telemetry/telemetry_events.ts diff --git a/x-pack/plugins/apm/public/services/telemetry/telemetry_service.test.ts b/x-pack/plugins/observability_solution/apm/public/services/telemetry/telemetry_service.test.ts similarity index 100% rename from x-pack/plugins/apm/public/services/telemetry/telemetry_service.test.ts rename to x-pack/plugins/observability_solution/apm/public/services/telemetry/telemetry_service.test.ts diff --git a/x-pack/plugins/apm/public/services/telemetry/telemetry_service.ts b/x-pack/plugins/observability_solution/apm/public/services/telemetry/telemetry_service.ts similarity index 100% rename from x-pack/plugins/apm/public/services/telemetry/telemetry_service.ts rename to x-pack/plugins/observability_solution/apm/public/services/telemetry/telemetry_service.ts diff --git a/x-pack/plugins/apm/public/services/telemetry/types.ts b/x-pack/plugins/observability_solution/apm/public/services/telemetry/types.ts similarity index 100% rename from x-pack/plugins/apm/public/services/telemetry/types.ts rename to x-pack/plugins/observability_solution/apm/public/services/telemetry/types.ts diff --git a/x-pack/plugins/apm/public/set_help_extension.ts b/x-pack/plugins/observability_solution/apm/public/set_help_extension.ts similarity index 100% rename from x-pack/plugins/apm/public/set_help_extension.ts rename to x-pack/plugins/observability_solution/apm/public/set_help_extension.ts diff --git a/x-pack/plugins/apm/public/tutorial/config_agent/agent_config_instructions.test.tsx b/x-pack/plugins/observability_solution/apm/public/tutorial/config_agent/agent_config_instructions.test.tsx similarity index 100% rename from x-pack/plugins/apm/public/tutorial/config_agent/agent_config_instructions.test.tsx rename to x-pack/plugins/observability_solution/apm/public/tutorial/config_agent/agent_config_instructions.test.tsx diff --git a/x-pack/plugins/apm/public/tutorial/config_agent/agent_config_instructions.tsx b/x-pack/plugins/observability_solution/apm/public/tutorial/config_agent/agent_config_instructions.tsx similarity index 100% rename from x-pack/plugins/apm/public/tutorial/config_agent/agent_config_instructions.tsx rename to x-pack/plugins/observability_solution/apm/public/tutorial/config_agent/agent_config_instructions.tsx diff --git a/x-pack/plugins/apm/public/tutorial/config_agent/agent_config_table.tsx b/x-pack/plugins/observability_solution/apm/public/tutorial/config_agent/agent_config_table.tsx similarity index 100% rename from x-pack/plugins/apm/public/tutorial/config_agent/agent_config_table.tsx rename to x-pack/plugins/observability_solution/apm/public/tutorial/config_agent/agent_config_table.tsx diff --git a/x-pack/plugins/apm/public/tutorial/config_agent/commands/django.ts b/x-pack/plugins/observability_solution/apm/public/tutorial/config_agent/commands/django.ts similarity index 100% rename from x-pack/plugins/apm/public/tutorial/config_agent/commands/django.ts rename to x-pack/plugins/observability_solution/apm/public/tutorial/config_agent/commands/django.ts diff --git a/x-pack/plugins/apm/public/tutorial/config_agent/commands/dotnet.ts b/x-pack/plugins/observability_solution/apm/public/tutorial/config_agent/commands/dotnet.ts similarity index 100% rename from x-pack/plugins/apm/public/tutorial/config_agent/commands/dotnet.ts rename to x-pack/plugins/observability_solution/apm/public/tutorial/config_agent/commands/dotnet.ts diff --git a/x-pack/plugins/apm/public/tutorial/config_agent/commands/flask.ts b/x-pack/plugins/observability_solution/apm/public/tutorial/config_agent/commands/flask.ts similarity index 100% rename from x-pack/plugins/apm/public/tutorial/config_agent/commands/flask.ts rename to x-pack/plugins/observability_solution/apm/public/tutorial/config_agent/commands/flask.ts diff --git a/x-pack/plugins/apm/public/tutorial/config_agent/commands/get_apm_agent_commands.test.ts b/x-pack/plugins/observability_solution/apm/public/tutorial/config_agent/commands/get_apm_agent_commands.test.ts similarity index 100% rename from x-pack/plugins/apm/public/tutorial/config_agent/commands/get_apm_agent_commands.test.ts rename to x-pack/plugins/observability_solution/apm/public/tutorial/config_agent/commands/get_apm_agent_commands.test.ts diff --git a/x-pack/plugins/apm/public/tutorial/config_agent/commands/get_apm_agent_commands.ts b/x-pack/plugins/observability_solution/apm/public/tutorial/config_agent/commands/get_apm_agent_commands.ts similarity index 100% rename from x-pack/plugins/apm/public/tutorial/config_agent/commands/get_apm_agent_commands.ts rename to x-pack/plugins/observability_solution/apm/public/tutorial/config_agent/commands/get_apm_agent_commands.ts diff --git a/x-pack/plugins/apm/public/tutorial/config_agent/commands/go.ts b/x-pack/plugins/observability_solution/apm/public/tutorial/config_agent/commands/go.ts similarity index 100% rename from x-pack/plugins/apm/public/tutorial/config_agent/commands/go.ts rename to x-pack/plugins/observability_solution/apm/public/tutorial/config_agent/commands/go.ts diff --git a/x-pack/plugins/apm/public/tutorial/config_agent/commands/java.ts b/x-pack/plugins/observability_solution/apm/public/tutorial/config_agent/commands/java.ts similarity index 100% rename from x-pack/plugins/apm/public/tutorial/config_agent/commands/java.ts rename to x-pack/plugins/observability_solution/apm/public/tutorial/config_agent/commands/java.ts diff --git a/x-pack/plugins/apm/public/tutorial/config_agent/commands/node.ts b/x-pack/plugins/observability_solution/apm/public/tutorial/config_agent/commands/node.ts similarity index 100% rename from x-pack/plugins/apm/public/tutorial/config_agent/commands/node.ts rename to x-pack/plugins/observability_solution/apm/public/tutorial/config_agent/commands/node.ts diff --git a/x-pack/plugins/apm/public/tutorial/config_agent/commands/php.ts b/x-pack/plugins/observability_solution/apm/public/tutorial/config_agent/commands/php.ts similarity index 100% rename from x-pack/plugins/apm/public/tutorial/config_agent/commands/php.ts rename to x-pack/plugins/observability_solution/apm/public/tutorial/config_agent/commands/php.ts diff --git a/x-pack/plugins/apm/public/tutorial/config_agent/commands/rack.ts b/x-pack/plugins/observability_solution/apm/public/tutorial/config_agent/commands/rack.ts similarity index 100% rename from x-pack/plugins/apm/public/tutorial/config_agent/commands/rack.ts rename to x-pack/plugins/observability_solution/apm/public/tutorial/config_agent/commands/rack.ts diff --git a/x-pack/plugins/apm/public/tutorial/config_agent/commands/rails.ts b/x-pack/plugins/observability_solution/apm/public/tutorial/config_agent/commands/rails.ts similarity index 100% rename from x-pack/plugins/apm/public/tutorial/config_agent/commands/rails.ts rename to x-pack/plugins/observability_solution/apm/public/tutorial/config_agent/commands/rails.ts diff --git a/x-pack/plugins/apm/public/tutorial/config_agent/commands/rum.ts b/x-pack/plugins/observability_solution/apm/public/tutorial/config_agent/commands/rum.ts similarity index 100% rename from x-pack/plugins/apm/public/tutorial/config_agent/commands/rum.ts rename to x-pack/plugins/observability_solution/apm/public/tutorial/config_agent/commands/rum.ts diff --git a/x-pack/plugins/apm/public/tutorial/config_agent/commands/shared_hints.ts b/x-pack/plugins/observability_solution/apm/public/tutorial/config_agent/commands/shared_hints.ts similarity index 100% rename from x-pack/plugins/apm/public/tutorial/config_agent/commands/shared_hints.ts rename to x-pack/plugins/observability_solution/apm/public/tutorial/config_agent/commands/shared_hints.ts diff --git a/x-pack/plugins/apm/public/tutorial/config_agent/config_agent.stories.tsx b/x-pack/plugins/observability_solution/apm/public/tutorial/config_agent/config_agent.stories.tsx similarity index 100% rename from x-pack/plugins/apm/public/tutorial/config_agent/config_agent.stories.tsx rename to x-pack/plugins/observability_solution/apm/public/tutorial/config_agent/config_agent.stories.tsx diff --git a/x-pack/plugins/apm/public/tutorial/config_agent/get_policy_options.test.ts b/x-pack/plugins/observability_solution/apm/public/tutorial/config_agent/get_policy_options.test.ts similarity index 100% rename from x-pack/plugins/apm/public/tutorial/config_agent/get_policy_options.test.ts rename to x-pack/plugins/observability_solution/apm/public/tutorial/config_agent/get_policy_options.test.ts diff --git a/x-pack/plugins/apm/public/tutorial/config_agent/get_policy_options.ts b/x-pack/plugins/observability_solution/apm/public/tutorial/config_agent/get_policy_options.ts similarity index 100% rename from x-pack/plugins/apm/public/tutorial/config_agent/get_policy_options.ts rename to x-pack/plugins/observability_solution/apm/public/tutorial/config_agent/get_policy_options.ts diff --git a/x-pack/plugins/apm/public/tutorial/config_agent/index.test.tsx b/x-pack/plugins/observability_solution/apm/public/tutorial/config_agent/index.test.tsx similarity index 100% rename from x-pack/plugins/apm/public/tutorial/config_agent/index.test.tsx rename to x-pack/plugins/observability_solution/apm/public/tutorial/config_agent/index.test.tsx diff --git a/x-pack/plugins/apm/public/tutorial/config_agent/index.tsx b/x-pack/plugins/observability_solution/apm/public/tutorial/config_agent/index.tsx similarity index 100% rename from x-pack/plugins/apm/public/tutorial/config_agent/index.tsx rename to x-pack/plugins/observability_solution/apm/public/tutorial/config_agent/index.tsx diff --git a/x-pack/plugins/apm/public/tutorial/config_agent/opentelemetry_instructions.tsx b/x-pack/plugins/observability_solution/apm/public/tutorial/config_agent/opentelemetry_instructions.tsx similarity index 100% rename from x-pack/plugins/apm/public/tutorial/config_agent/opentelemetry_instructions.tsx rename to x-pack/plugins/observability_solution/apm/public/tutorial/config_agent/opentelemetry_instructions.tsx diff --git a/x-pack/plugins/apm/public/tutorial/config_agent/policy_selector.tsx b/x-pack/plugins/observability_solution/apm/public/tutorial/config_agent/policy_selector.tsx similarity index 100% rename from x-pack/plugins/apm/public/tutorial/config_agent/policy_selector.tsx rename to x-pack/plugins/observability_solution/apm/public/tutorial/config_agent/policy_selector.tsx diff --git a/x-pack/plugins/apm/public/tutorial/config_agent/rum_script.tsx b/x-pack/plugins/observability_solution/apm/public/tutorial/config_agent/rum_script.tsx similarity index 100% rename from x-pack/plugins/apm/public/tutorial/config_agent/rum_script.tsx rename to x-pack/plugins/observability_solution/apm/public/tutorial/config_agent/rum_script.tsx diff --git a/x-pack/plugins/apm/public/tutorial/tutorial_apm_fleet_check.ts b/x-pack/plugins/observability_solution/apm/public/tutorial/tutorial_apm_fleet_check.ts similarity index 100% rename from x-pack/plugins/apm/public/tutorial/tutorial_apm_fleet_check.ts rename to x-pack/plugins/observability_solution/apm/public/tutorial/tutorial_apm_fleet_check.ts diff --git a/x-pack/plugins/apm/public/tutorial/tutorial_fleet_instructions/index.tsx b/x-pack/plugins/observability_solution/apm/public/tutorial/tutorial_fleet_instructions/index.tsx similarity index 100% rename from x-pack/plugins/apm/public/tutorial/tutorial_fleet_instructions/index.tsx rename to x-pack/plugins/observability_solution/apm/public/tutorial/tutorial_fleet_instructions/index.tsx diff --git a/x-pack/plugins/apm/public/tutorial/tutorial_fleet_instructions/tutorial_fleet_instructions.stories.tsx b/x-pack/plugins/observability_solution/apm/public/tutorial/tutorial_fleet_instructions/tutorial_fleet_instructions.stories.tsx similarity index 100% rename from x-pack/plugins/apm/public/tutorial/tutorial_fleet_instructions/tutorial_fleet_instructions.stories.tsx rename to x-pack/plugins/observability_solution/apm/public/tutorial/tutorial_fleet_instructions/tutorial_fleet_instructions.stories.tsx diff --git a/x-pack/plugins/apm/public/update_badge.ts b/x-pack/plugins/observability_solution/apm/public/update_badge.ts similarity index 100% rename from x-pack/plugins/apm/public/update_badge.ts rename to x-pack/plugins/observability_solution/apm/public/update_badge.ts diff --git a/x-pack/plugins/apm/public/utils/download_json.ts b/x-pack/plugins/observability_solution/apm/public/utils/download_json.ts similarity index 100% rename from x-pack/plugins/apm/public/utils/download_json.ts rename to x-pack/plugins/observability_solution/apm/public/utils/download_json.ts diff --git a/x-pack/plugins/apm/public/utils/flatten_object.test.ts b/x-pack/plugins/observability_solution/apm/public/utils/flatten_object.test.ts similarity index 100% rename from x-pack/plugins/apm/public/utils/flatten_object.test.ts rename to x-pack/plugins/observability_solution/apm/public/utils/flatten_object.test.ts diff --git a/x-pack/plugins/apm/public/utils/flatten_object.ts b/x-pack/plugins/observability_solution/apm/public/utils/flatten_object.ts similarity index 100% rename from x-pack/plugins/apm/public/utils/flatten_object.ts rename to x-pack/plugins/observability_solution/apm/public/utils/flatten_object.ts diff --git a/x-pack/plugins/apm/public/utils/get_path_for_feedback.test.ts b/x-pack/plugins/observability_solution/apm/public/utils/get_path_for_feedback.test.ts similarity index 100% rename from x-pack/plugins/apm/public/utils/get_path_for_feedback.test.ts rename to x-pack/plugins/observability_solution/apm/public/utils/get_path_for_feedback.test.ts diff --git a/x-pack/plugins/apm/public/utils/get_path_for_feedback.ts b/x-pack/plugins/observability_solution/apm/public/utils/get_path_for_feedback.ts similarity index 100% rename from x-pack/plugins/apm/public/utils/get_path_for_feedback.ts rename to x-pack/plugins/observability_solution/apm/public/utils/get_path_for_feedback.ts diff --git a/x-pack/plugins/apm/public/utils/http_status_code_to_color.ts b/x-pack/plugins/observability_solution/apm/public/utils/http_status_code_to_color.ts similarity index 100% rename from x-pack/plugins/apm/public/utils/http_status_code_to_color.ts rename to x-pack/plugins/observability_solution/apm/public/utils/http_status_code_to_color.ts diff --git a/x-pack/plugins/apm/public/utils/style.ts b/x-pack/plugins/observability_solution/apm/public/utils/style.ts similarity index 100% rename from x-pack/plugins/apm/public/utils/style.ts rename to x-pack/plugins/observability_solution/apm/public/utils/style.ts diff --git a/x-pack/plugins/apm/public/utils/test_helpers.tsx b/x-pack/plugins/observability_solution/apm/public/utils/test_helpers.tsx similarity index 100% rename from x-pack/plugins/apm/public/utils/test_helpers.tsx rename to x-pack/plugins/observability_solution/apm/public/utils/test_helpers.tsx diff --git a/x-pack/plugins/apm/readme.md b/x-pack/plugins/observability_solution/apm/readme.md similarity index 100% rename from x-pack/plugins/apm/readme.md rename to x-pack/plugins/observability_solution/apm/readme.md diff --git a/x-pack/plugins/apm/scripts/.gitignore b/x-pack/plugins/observability_solution/apm/scripts/.gitignore similarity index 100% rename from x-pack/plugins/apm/scripts/.gitignore rename to x-pack/plugins/observability_solution/apm/scripts/.gitignore diff --git a/x-pack/plugins/apm/scripts/create_apm_users.js b/x-pack/plugins/observability_solution/apm/scripts/create_apm_users.js similarity index 100% rename from x-pack/plugins/apm/scripts/create_apm_users.js rename to x-pack/plugins/observability_solution/apm/scripts/create_apm_users.js diff --git a/x-pack/plugins/apm/scripts/create_apm_users/create_apm_users_cli.ts b/x-pack/plugins/observability_solution/apm/scripts/create_apm_users/create_apm_users_cli.ts similarity index 100% rename from x-pack/plugins/apm/scripts/create_apm_users/create_apm_users_cli.ts rename to x-pack/plugins/observability_solution/apm/scripts/create_apm_users/create_apm_users_cli.ts diff --git a/x-pack/plugins/apm/scripts/create_diagnostics_bundle.js b/x-pack/plugins/observability_solution/apm/scripts/create_diagnostics_bundle.js similarity index 100% rename from x-pack/plugins/apm/scripts/create_diagnostics_bundle.js rename to x-pack/plugins/observability_solution/apm/scripts/create_diagnostics_bundle.js diff --git a/x-pack/plugins/apm/scripts/create_functional_tests_archive.js b/x-pack/plugins/observability_solution/apm/scripts/create_functional_tests_archive.js similarity index 100% rename from x-pack/plugins/apm/scripts/create_functional_tests_archive.js rename to x-pack/plugins/observability_solution/apm/scripts/create_functional_tests_archive.js diff --git a/x-pack/plugins/apm/scripts/create_functional_tests_archive/index.ts b/x-pack/plugins/observability_solution/apm/scripts/create_functional_tests_archive/index.ts similarity index 100% rename from x-pack/plugins/apm/scripts/create_functional_tests_archive/index.ts rename to x-pack/plugins/observability_solution/apm/scripts/create_functional_tests_archive/index.ts diff --git a/x-pack/plugins/apm/scripts/diagnostics_bundle/cli.ts b/x-pack/plugins/observability_solution/apm/scripts/diagnostics_bundle/cli.ts similarity index 100% rename from x-pack/plugins/apm/scripts/diagnostics_bundle/cli.ts rename to x-pack/plugins/observability_solution/apm/scripts/diagnostics_bundle/cli.ts diff --git a/x-pack/plugins/apm/scripts/diagnostics_bundle/diagnostics_bundle.ts b/x-pack/plugins/observability_solution/apm/scripts/diagnostics_bundle/diagnostics_bundle.ts similarity index 100% rename from x-pack/plugins/apm/scripts/diagnostics_bundle/diagnostics_bundle.ts rename to x-pack/plugins/observability_solution/apm/scripts/diagnostics_bundle/diagnostics_bundle.ts diff --git a/x-pack/plugins/apm/scripts/eslint.js b/x-pack/plugins/observability_solution/apm/scripts/eslint.js similarity index 100% rename from x-pack/plugins/apm/scripts/eslint.js rename to x-pack/plugins/observability_solution/apm/scripts/eslint.js diff --git a/x-pack/plugins/apm/scripts/generate_telemetry_fields_table.js b/x-pack/plugins/observability_solution/apm/scripts/generate_telemetry_fields_table.js similarity index 100% rename from x-pack/plugins/apm/scripts/generate_telemetry_fields_table.js rename to x-pack/plugins/observability_solution/apm/scripts/generate_telemetry_fields_table.js diff --git a/x-pack/plugins/apm/scripts/infer_route_return_types.js b/x-pack/plugins/observability_solution/apm/scripts/infer_route_return_types.js similarity index 100% rename from x-pack/plugins/apm/scripts/infer_route_return_types.js rename to x-pack/plugins/observability_solution/apm/scripts/infer_route_return_types.js diff --git a/x-pack/plugins/apm/scripts/infer_route_return_types/index.ts b/x-pack/plugins/observability_solution/apm/scripts/infer_route_return_types/index.ts similarity index 97% rename from x-pack/plugins/apm/scripts/infer_route_return_types/index.ts rename to x-pack/plugins/observability_solution/apm/scripts/infer_route_return_types/index.ts index ce4ba6a9b16df..8658c5359e314 100644 --- a/x-pack/plugins/apm/scripts/infer_route_return_types/index.ts +++ b/x-pack/plugins/observability_solution/apm/scripts/infer_route_return_types/index.ts @@ -37,7 +37,8 @@ const project = new Project({ }); const glob = - (argv.glob as string | undefined) || 'x-pack/plugins/apm/server/**/route.ts'; + (argv.glob as string | undefined) || + 'x-pack/plugins/observability_solution/apm/server/**/route.ts'; const files = project.getSourceFiles(glob); diff --git a/x-pack/plugins/apm/scripts/package.json b/x-pack/plugins/observability_solution/apm/scripts/package.json similarity index 100% rename from x-pack/plugins/apm/scripts/package.json rename to x-pack/plugins/observability_solution/apm/scripts/package.json diff --git a/x-pack/plugins/apm/scripts/precommit.js b/x-pack/plugins/observability_solution/apm/scripts/precommit.js similarity index 94% rename from x-pack/plugins/apm/scripts/precommit.js rename to x-pack/plugins/observability_solution/apm/scripts/precommit.js index c018770a65553..2dc449368b68b 100644 --- a/x-pack/plugins/apm/scripts/precommit.js +++ b/x-pack/plugins/observability_solution/apm/scripts/precommit.js @@ -16,7 +16,10 @@ const root = resolve(__dirname, '../../../..'); const execaOpts = { cwd: root, stderr: 'pipe' }; -const tsconfig = resolve(root, 'x-pack/plugins/apm/tsconfig.json'); +const tsconfig = resolve( + root, + 'x-pack/plugins/observability_solution/apm/tsconfig.json' +); const testTsconfig = resolve(root, 'x-pack/test/tsconfig.json'); diff --git a/x-pack/plugins/apm/scripts/shared/download_telemetry_template.ts b/x-pack/plugins/observability_solution/apm/scripts/shared/download_telemetry_template.ts similarity index 100% rename from x-pack/plugins/apm/scripts/shared/download_telemetry_template.ts rename to x-pack/plugins/observability_solution/apm/scripts/shared/download_telemetry_template.ts diff --git a/x-pack/plugins/apm/scripts/shared/get_es_client.ts b/x-pack/plugins/observability_solution/apm/scripts/shared/get_es_client.ts similarity index 100% rename from x-pack/plugins/apm/scripts/shared/get_es_client.ts rename to x-pack/plugins/observability_solution/apm/scripts/shared/get_es_client.ts diff --git a/x-pack/plugins/apm/scripts/shared/get_http_auth.ts b/x-pack/plugins/observability_solution/apm/scripts/shared/get_http_auth.ts similarity index 100% rename from x-pack/plugins/apm/scripts/shared/get_http_auth.ts rename to x-pack/plugins/observability_solution/apm/scripts/shared/get_http_auth.ts diff --git a/x-pack/plugins/apm/scripts/shared/parse_index_url.ts b/x-pack/plugins/observability_solution/apm/scripts/shared/parse_index_url.ts similarity index 100% rename from x-pack/plugins/apm/scripts/shared/parse_index_url.ts rename to x-pack/plugins/observability_solution/apm/scripts/shared/parse_index_url.ts diff --git a/x-pack/plugins/apm/scripts/shared/read_kibana_config.ts b/x-pack/plugins/observability_solution/apm/scripts/shared/read_kibana_config.ts similarity index 100% rename from x-pack/plugins/apm/scripts/shared/read_kibana_config.ts rename to x-pack/plugins/observability_solution/apm/scripts/shared/read_kibana_config.ts diff --git a/x-pack/plugins/apm/scripts/telemetry/main.ts b/x-pack/plugins/observability_solution/apm/scripts/telemetry/main.ts similarity index 94% rename from x-pack/plugins/apm/scripts/telemetry/main.ts rename to x-pack/plugins/observability_solution/apm/scripts/telemetry/main.ts index 87d3c72e95fe8..1bab04e579fb7 100644 --- a/x-pack/plugins/apm/scripts/telemetry/main.ts +++ b/x-pack/plugins/observability_solution/apm/scripts/telemetry/main.ts @@ -8,7 +8,8 @@ import fs from 'fs'; import { apmSchema } from '../../server/lib/apm_telemetry/schema'; -const markdownFilePath = 'x-pack/plugins/apm/dev_docs/apm_telemetry_fields.md'; +const markdownFilePath = + 'x-pack/plugins/observability_solution/apm/dev_docs/apm_telemetry_fields.md'; function extractFieldDescriptions( schema: any, diff --git a/x-pack/plugins/apm/scripts/test/README.md b/x-pack/plugins/observability_solution/apm/scripts/test/README.md similarity index 100% rename from x-pack/plugins/apm/scripts/test/README.md rename to x-pack/plugins/observability_solution/apm/scripts/test/README.md diff --git a/x-pack/plugins/apm/scripts/test/api.js b/x-pack/plugins/observability_solution/apm/scripts/test/api.js similarity index 100% rename from x-pack/plugins/apm/scripts/test/api.js rename to x-pack/plugins/observability_solution/apm/scripts/test/api.js diff --git a/x-pack/plugins/apm/scripts/test/e2e.js b/x-pack/plugins/observability_solution/apm/scripts/test/e2e.js similarity index 100% rename from x-pack/plugins/apm/scripts/test/e2e.js rename to x-pack/plugins/observability_solution/apm/scripts/test/e2e.js diff --git a/x-pack/plugins/apm/scripts/test/jest.js b/x-pack/plugins/observability_solution/apm/scripts/test/jest.js similarity index 100% rename from x-pack/plugins/apm/scripts/test/jest.js rename to x-pack/plugins/observability_solution/apm/scripts/test/jest.js diff --git a/x-pack/plugins/apm/scripts/upload_telemetry_data.js b/x-pack/plugins/observability_solution/apm/scripts/upload_telemetry_data.js similarity index 100% rename from x-pack/plugins/apm/scripts/upload_telemetry_data.js rename to x-pack/plugins/observability_solution/apm/scripts/upload_telemetry_data.js diff --git a/x-pack/plugins/apm/server/assistant_functions/get_apm_correlations.ts b/x-pack/plugins/observability_solution/apm/server/assistant_functions/get_apm_correlations.ts similarity index 100% rename from x-pack/plugins/apm/server/assistant_functions/get_apm_correlations.ts rename to x-pack/plugins/observability_solution/apm/server/assistant_functions/get_apm_correlations.ts diff --git a/x-pack/plugins/apm/server/assistant_functions/get_apm_downstream_dependencies.ts b/x-pack/plugins/observability_solution/apm/server/assistant_functions/get_apm_downstream_dependencies.ts similarity index 100% rename from x-pack/plugins/apm/server/assistant_functions/get_apm_downstream_dependencies.ts rename to x-pack/plugins/observability_solution/apm/server/assistant_functions/get_apm_downstream_dependencies.ts diff --git a/x-pack/plugins/apm/server/assistant_functions/get_apm_error_document.ts b/x-pack/plugins/observability_solution/apm/server/assistant_functions/get_apm_error_document.ts similarity index 100% rename from x-pack/plugins/apm/server/assistant_functions/get_apm_error_document.ts rename to x-pack/plugins/observability_solution/apm/server/assistant_functions/get_apm_error_document.ts diff --git a/x-pack/plugins/apm/server/assistant_functions/get_apm_service_summary.ts b/x-pack/plugins/observability_solution/apm/server/assistant_functions/get_apm_service_summary.ts similarity index 100% rename from x-pack/plugins/apm/server/assistant_functions/get_apm_service_summary.ts rename to x-pack/plugins/observability_solution/apm/server/assistant_functions/get_apm_service_summary.ts diff --git a/x-pack/plugins/apm/server/assistant_functions/get_apm_services_list.ts b/x-pack/plugins/observability_solution/apm/server/assistant_functions/get_apm_services_list.ts similarity index 100% rename from x-pack/plugins/apm/server/assistant_functions/get_apm_services_list.ts rename to x-pack/plugins/observability_solution/apm/server/assistant_functions/get_apm_services_list.ts diff --git a/x-pack/plugins/apm/server/assistant_functions/get_apm_timeseries.ts b/x-pack/plugins/observability_solution/apm/server/assistant_functions/get_apm_timeseries.ts similarity index 100% rename from x-pack/plugins/apm/server/assistant_functions/get_apm_timeseries.ts rename to x-pack/plugins/observability_solution/apm/server/assistant_functions/get_apm_timeseries.ts diff --git a/x-pack/plugins/apm/server/assistant_functions/index.ts b/x-pack/plugins/observability_solution/apm/server/assistant_functions/index.ts similarity index 100% rename from x-pack/plugins/apm/server/assistant_functions/index.ts rename to x-pack/plugins/observability_solution/apm/server/assistant_functions/index.ts diff --git a/x-pack/plugins/apm/server/deprecations/deprecations.test.ts b/x-pack/plugins/observability_solution/apm/server/deprecations/deprecations.test.ts similarity index 100% rename from x-pack/plugins/apm/server/deprecations/deprecations.test.ts rename to x-pack/plugins/observability_solution/apm/server/deprecations/deprecations.test.ts diff --git a/x-pack/plugins/apm/server/deprecations/index.ts b/x-pack/plugins/observability_solution/apm/server/deprecations/index.ts similarity index 100% rename from x-pack/plugins/apm/server/deprecations/index.ts rename to x-pack/plugins/observability_solution/apm/server/deprecations/index.ts diff --git a/x-pack/plugins/apm/server/feature.ts b/x-pack/plugins/observability_solution/apm/server/feature.ts similarity index 100% rename from x-pack/plugins/apm/server/feature.ts rename to x-pack/plugins/observability_solution/apm/server/feature.ts diff --git a/x-pack/plugins/apm/server/index.ts b/x-pack/plugins/observability_solution/apm/server/index.ts similarity index 100% rename from x-pack/plugins/apm/server/index.ts rename to x-pack/plugins/observability_solution/apm/server/index.ts diff --git a/x-pack/plugins/apm/server/lib/anomaly_detection/anomaly_search.ts b/x-pack/plugins/observability_solution/apm/server/lib/anomaly_detection/anomaly_search.ts similarity index 100% rename from x-pack/plugins/apm/server/lib/anomaly_detection/anomaly_search.ts rename to x-pack/plugins/observability_solution/apm/server/lib/anomaly_detection/anomaly_search.ts diff --git a/x-pack/plugins/apm/server/lib/anomaly_detection/apm_ml_anomaly_query.ts b/x-pack/plugins/observability_solution/apm/server/lib/anomaly_detection/apm_ml_anomaly_query.ts similarity index 100% rename from x-pack/plugins/apm/server/lib/anomaly_detection/apm_ml_anomaly_query.ts rename to x-pack/plugins/observability_solution/apm/server/lib/anomaly_detection/apm_ml_anomaly_query.ts diff --git a/x-pack/plugins/apm/server/lib/anomaly_detection/apm_ml_jobs_query.ts b/x-pack/plugins/observability_solution/apm/server/lib/anomaly_detection/apm_ml_jobs_query.ts similarity index 100% rename from x-pack/plugins/apm/server/lib/anomaly_detection/apm_ml_jobs_query.ts rename to x-pack/plugins/observability_solution/apm/server/lib/anomaly_detection/apm_ml_jobs_query.ts diff --git a/x-pack/plugins/apm/server/lib/anomaly_detection/constants.ts b/x-pack/plugins/observability_solution/apm/server/lib/anomaly_detection/constants.ts similarity index 100% rename from x-pack/plugins/apm/server/lib/anomaly_detection/constants.ts rename to x-pack/plugins/observability_solution/apm/server/lib/anomaly_detection/constants.ts diff --git a/x-pack/plugins/apm/server/lib/anomaly_detection/create_anomaly_detection_jobs.ts b/x-pack/plugins/observability_solution/apm/server/lib/anomaly_detection/create_anomaly_detection_jobs.ts similarity index 100% rename from x-pack/plugins/apm/server/lib/anomaly_detection/create_anomaly_detection_jobs.ts rename to x-pack/plugins/observability_solution/apm/server/lib/anomaly_detection/create_anomaly_detection_jobs.ts diff --git a/x-pack/plugins/apm/server/lib/anomaly_detection/get_anomaly_detection_jobs.ts b/x-pack/plugins/observability_solution/apm/server/lib/anomaly_detection/get_anomaly_detection_jobs.ts similarity index 100% rename from x-pack/plugins/apm/server/lib/anomaly_detection/get_anomaly_detection_jobs.ts rename to x-pack/plugins/observability_solution/apm/server/lib/anomaly_detection/get_anomaly_detection_jobs.ts diff --git a/x-pack/plugins/apm/server/lib/anomaly_detection/get_anomaly_result_bucket_size.ts b/x-pack/plugins/observability_solution/apm/server/lib/anomaly_detection/get_anomaly_result_bucket_size.ts similarity index 100% rename from x-pack/plugins/apm/server/lib/anomaly_detection/get_anomaly_result_bucket_size.ts rename to x-pack/plugins/observability_solution/apm/server/lib/anomaly_detection/get_anomaly_result_bucket_size.ts diff --git a/x-pack/plugins/apm/server/lib/anomaly_detection/get_anomaly_timeseries.ts b/x-pack/plugins/observability_solution/apm/server/lib/anomaly_detection/get_anomaly_timeseries.ts similarity index 100% rename from x-pack/plugins/apm/server/lib/anomaly_detection/get_anomaly_timeseries.ts rename to x-pack/plugins/observability_solution/apm/server/lib/anomaly_detection/get_anomaly_timeseries.ts diff --git a/x-pack/plugins/apm/server/lib/anomaly_detection/get_ml_jobs_with_apm_group.ts b/x-pack/plugins/observability_solution/apm/server/lib/anomaly_detection/get_ml_jobs_with_apm_group.ts similarity index 100% rename from x-pack/plugins/apm/server/lib/anomaly_detection/get_ml_jobs_with_apm_group.ts rename to x-pack/plugins/observability_solution/apm/server/lib/anomaly_detection/get_ml_jobs_with_apm_group.ts diff --git a/x-pack/plugins/apm/server/lib/apm_telemetry/collect_data_telemetry/__snapshots__/tasks.test.ts.snap b/x-pack/plugins/observability_solution/apm/server/lib/apm_telemetry/collect_data_telemetry/__snapshots__/tasks.test.ts.snap similarity index 100% rename from x-pack/plugins/apm/server/lib/apm_telemetry/collect_data_telemetry/__snapshots__/tasks.test.ts.snap rename to x-pack/plugins/observability_solution/apm/server/lib/apm_telemetry/collect_data_telemetry/__snapshots__/tasks.test.ts.snap diff --git a/x-pack/plugins/apm/server/lib/apm_telemetry/collect_data_telemetry/index.ts b/x-pack/plugins/observability_solution/apm/server/lib/apm_telemetry/collect_data_telemetry/index.ts similarity index 100% rename from x-pack/plugins/apm/server/lib/apm_telemetry/collect_data_telemetry/index.ts rename to x-pack/plugins/observability_solution/apm/server/lib/apm_telemetry/collect_data_telemetry/index.ts diff --git a/x-pack/plugins/apm/server/lib/apm_telemetry/collect_data_telemetry/tasks.test.ts b/x-pack/plugins/observability_solution/apm/server/lib/apm_telemetry/collect_data_telemetry/tasks.test.ts similarity index 100% rename from x-pack/plugins/apm/server/lib/apm_telemetry/collect_data_telemetry/tasks.test.ts rename to x-pack/plugins/observability_solution/apm/server/lib/apm_telemetry/collect_data_telemetry/tasks.test.ts diff --git a/x-pack/plugins/apm/server/lib/apm_telemetry/collect_data_telemetry/tasks.ts b/x-pack/plugins/observability_solution/apm/server/lib/apm_telemetry/collect_data_telemetry/tasks.ts similarity index 100% rename from x-pack/plugins/apm/server/lib/apm_telemetry/collect_data_telemetry/tasks.ts rename to x-pack/plugins/observability_solution/apm/server/lib/apm_telemetry/collect_data_telemetry/tasks.ts diff --git a/x-pack/plugins/apm/server/lib/apm_telemetry/index.ts b/x-pack/plugins/observability_solution/apm/server/lib/apm_telemetry/index.ts similarity index 100% rename from x-pack/plugins/apm/server/lib/apm_telemetry/index.ts rename to x-pack/plugins/observability_solution/apm/server/lib/apm_telemetry/index.ts diff --git a/x-pack/plugins/apm/server/lib/apm_telemetry/schema.ts b/x-pack/plugins/observability_solution/apm/server/lib/apm_telemetry/schema.ts similarity index 100% rename from x-pack/plugins/apm/server/lib/apm_telemetry/schema.ts rename to x-pack/plugins/observability_solution/apm/server/lib/apm_telemetry/schema.ts diff --git a/x-pack/plugins/apm/server/lib/apm_telemetry/telemetry_client.ts b/x-pack/plugins/observability_solution/apm/server/lib/apm_telemetry/telemetry_client.ts similarity index 100% rename from x-pack/plugins/apm/server/lib/apm_telemetry/telemetry_client.ts rename to x-pack/plugins/observability_solution/apm/server/lib/apm_telemetry/telemetry_client.ts diff --git a/x-pack/plugins/apm/server/lib/apm_telemetry/types.ts b/x-pack/plugins/observability_solution/apm/server/lib/apm_telemetry/types.ts similarity index 100% rename from x-pack/plugins/apm/server/lib/apm_telemetry/types.ts rename to x-pack/plugins/observability_solution/apm/server/lib/apm_telemetry/types.ts diff --git a/x-pack/plugins/apm/server/lib/connections/exclude_rum_exit_spans_query.ts b/x-pack/plugins/observability_solution/apm/server/lib/connections/exclude_rum_exit_spans_query.ts similarity index 100% rename from x-pack/plugins/apm/server/lib/connections/exclude_rum_exit_spans_query.ts rename to x-pack/plugins/observability_solution/apm/server/lib/connections/exclude_rum_exit_spans_query.ts diff --git a/x-pack/plugins/apm/server/lib/connections/get_connection_stats/get_connection_stats_items_with_relative_impact.ts b/x-pack/plugins/observability_solution/apm/server/lib/connections/get_connection_stats/get_connection_stats_items_with_relative_impact.ts similarity index 100% rename from x-pack/plugins/apm/server/lib/connections/get_connection_stats/get_connection_stats_items_with_relative_impact.ts rename to x-pack/plugins/observability_solution/apm/server/lib/connections/get_connection_stats/get_connection_stats_items_with_relative_impact.ts diff --git a/x-pack/plugins/apm/server/lib/connections/get_connection_stats/get_destination_map.ts b/x-pack/plugins/observability_solution/apm/server/lib/connections/get_connection_stats/get_destination_map.ts similarity index 100% rename from x-pack/plugins/apm/server/lib/connections/get_connection_stats/get_destination_map.ts rename to x-pack/plugins/observability_solution/apm/server/lib/connections/get_connection_stats/get_destination_map.ts diff --git a/x-pack/plugins/apm/server/lib/connections/get_connection_stats/get_stats.ts b/x-pack/plugins/observability_solution/apm/server/lib/connections/get_connection_stats/get_stats.ts similarity index 100% rename from x-pack/plugins/apm/server/lib/connections/get_connection_stats/get_stats.ts rename to x-pack/plugins/observability_solution/apm/server/lib/connections/get_connection_stats/get_stats.ts diff --git a/x-pack/plugins/apm/server/lib/connections/get_connection_stats/index.ts b/x-pack/plugins/observability_solution/apm/server/lib/connections/get_connection_stats/index.ts similarity index 100% rename from x-pack/plugins/apm/server/lib/connections/get_connection_stats/index.ts rename to x-pack/plugins/observability_solution/apm/server/lib/connections/get_connection_stats/index.ts diff --git a/x-pack/plugins/apm/server/lib/helpers/calculate_throughput.ts b/x-pack/plugins/observability_solution/apm/server/lib/helpers/calculate_throughput.ts similarity index 100% rename from x-pack/plugins/apm/server/lib/helpers/calculate_throughput.ts rename to x-pack/plugins/observability_solution/apm/server/lib/helpers/calculate_throughput.ts diff --git a/x-pack/plugins/apm/server/lib/helpers/create_es_client/call_async_with_debug.ts b/x-pack/plugins/observability_solution/apm/server/lib/helpers/create_es_client/call_async_with_debug.ts similarity index 100% rename from x-pack/plugins/apm/server/lib/helpers/create_es_client/call_async_with_debug.ts rename to x-pack/plugins/observability_solution/apm/server/lib/helpers/create_es_client/call_async_with_debug.ts diff --git a/x-pack/plugins/apm/server/lib/helpers/create_es_client/cancel_es_request_on_abort.ts b/x-pack/plugins/observability_solution/apm/server/lib/helpers/create_es_client/cancel_es_request_on_abort.ts similarity index 100% rename from x-pack/plugins/apm/server/lib/helpers/create_es_client/cancel_es_request_on_abort.ts rename to x-pack/plugins/observability_solution/apm/server/lib/helpers/create_es_client/cancel_es_request_on_abort.ts diff --git a/x-pack/plugins/apm/server/lib/helpers/create_es_client/create_apm_event_client/get_request_base.test.ts b/x-pack/plugins/observability_solution/apm/server/lib/helpers/create_es_client/create_apm_event_client/get_request_base.test.ts similarity index 100% rename from x-pack/plugins/apm/server/lib/helpers/create_es_client/create_apm_event_client/get_request_base.test.ts rename to x-pack/plugins/observability_solution/apm/server/lib/helpers/create_es_client/create_apm_event_client/get_request_base.test.ts diff --git a/x-pack/plugins/apm/server/lib/helpers/create_es_client/create_apm_event_client/get_request_base.ts b/x-pack/plugins/observability_solution/apm/server/lib/helpers/create_es_client/create_apm_event_client/get_request_base.ts similarity index 100% rename from x-pack/plugins/apm/server/lib/helpers/create_es_client/create_apm_event_client/get_request_base.ts rename to x-pack/plugins/observability_solution/apm/server/lib/helpers/create_es_client/create_apm_event_client/get_request_base.ts diff --git a/x-pack/plugins/apm/server/lib/helpers/create_es_client/create_apm_event_client/index.test.ts b/x-pack/plugins/observability_solution/apm/server/lib/helpers/create_es_client/create_apm_event_client/index.test.ts similarity index 100% rename from x-pack/plugins/apm/server/lib/helpers/create_es_client/create_apm_event_client/index.test.ts rename to x-pack/plugins/observability_solution/apm/server/lib/helpers/create_es_client/create_apm_event_client/index.test.ts diff --git a/x-pack/plugins/apm/server/lib/helpers/create_es_client/create_apm_event_client/index.ts b/x-pack/plugins/observability_solution/apm/server/lib/helpers/create_es_client/create_apm_event_client/index.ts similarity index 100% rename from x-pack/plugins/apm/server/lib/helpers/create_es_client/create_apm_event_client/index.ts rename to x-pack/plugins/observability_solution/apm/server/lib/helpers/create_es_client/create_apm_event_client/index.ts diff --git a/x-pack/plugins/apm/server/lib/helpers/create_es_client/create_infra_metrics_client/create_infra_metrics_client.ts b/x-pack/plugins/observability_solution/apm/server/lib/helpers/create_es_client/create_infra_metrics_client/create_infra_metrics_client.ts similarity index 100% rename from x-pack/plugins/apm/server/lib/helpers/create_es_client/create_infra_metrics_client/create_infra_metrics_client.ts rename to x-pack/plugins/observability_solution/apm/server/lib/helpers/create_es_client/create_infra_metrics_client/create_infra_metrics_client.ts diff --git a/x-pack/plugins/apm/server/lib/helpers/create_es_client/create_internal_es_client/index.ts b/x-pack/plugins/observability_solution/apm/server/lib/helpers/create_es_client/create_internal_es_client/index.ts similarity index 100% rename from x-pack/plugins/apm/server/lib/helpers/create_es_client/create_internal_es_client/index.ts rename to x-pack/plugins/observability_solution/apm/server/lib/helpers/create_es_client/create_internal_es_client/index.ts diff --git a/x-pack/plugins/apm/server/lib/helpers/create_es_client/document_type.ts b/x-pack/plugins/observability_solution/apm/server/lib/helpers/create_es_client/document_type.ts similarity index 100% rename from x-pack/plugins/apm/server/lib/helpers/create_es_client/document_type.ts rename to x-pack/plugins/observability_solution/apm/server/lib/helpers/create_es_client/document_type.ts diff --git a/x-pack/plugins/apm/server/lib/helpers/get_apm_alerts_client.ts b/x-pack/plugins/observability_solution/apm/server/lib/helpers/get_apm_alerts_client.ts similarity index 100% rename from x-pack/plugins/apm/server/lib/helpers/get_apm_alerts_client.ts rename to x-pack/plugins/observability_solution/apm/server/lib/helpers/get_apm_alerts_client.ts diff --git a/x-pack/plugins/apm/server/lib/helpers/get_apm_event_client.ts b/x-pack/plugins/observability_solution/apm/server/lib/helpers/get_apm_event_client.ts similarity index 100% rename from x-pack/plugins/apm/server/lib/helpers/get_apm_event_client.ts rename to x-pack/plugins/observability_solution/apm/server/lib/helpers/get_apm_event_client.ts diff --git a/x-pack/plugins/apm/server/lib/helpers/get_bucket_size_for_aggregated_transactions/index.test.ts b/x-pack/plugins/observability_solution/apm/server/lib/helpers/get_bucket_size_for_aggregated_transactions/index.test.ts similarity index 100% rename from x-pack/plugins/apm/server/lib/helpers/get_bucket_size_for_aggregated_transactions/index.test.ts rename to x-pack/plugins/observability_solution/apm/server/lib/helpers/get_bucket_size_for_aggregated_transactions/index.test.ts diff --git a/x-pack/plugins/apm/server/lib/helpers/get_bucket_size_for_aggregated_transactions/index.ts b/x-pack/plugins/observability_solution/apm/server/lib/helpers/get_bucket_size_for_aggregated_transactions/index.ts similarity index 100% rename from x-pack/plugins/apm/server/lib/helpers/get_bucket_size_for_aggregated_transactions/index.ts rename to x-pack/plugins/observability_solution/apm/server/lib/helpers/get_bucket_size_for_aggregated_transactions/index.ts diff --git a/x-pack/plugins/apm/server/lib/helpers/get_document_sources.ts b/x-pack/plugins/observability_solution/apm/server/lib/helpers/get_document_sources.ts similarity index 100% rename from x-pack/plugins/apm/server/lib/helpers/get_document_sources.ts rename to x-pack/plugins/observability_solution/apm/server/lib/helpers/get_document_sources.ts diff --git a/x-pack/plugins/apm/server/lib/helpers/get_error_name.test.ts b/x-pack/plugins/observability_solution/apm/server/lib/helpers/get_error_name.test.ts similarity index 100% rename from x-pack/plugins/apm/server/lib/helpers/get_error_name.test.ts rename to x-pack/plugins/observability_solution/apm/server/lib/helpers/get_error_name.test.ts diff --git a/x-pack/plugins/apm/server/lib/helpers/get_error_name.ts b/x-pack/plugins/observability_solution/apm/server/lib/helpers/get_error_name.ts similarity index 100% rename from x-pack/plugins/apm/server/lib/helpers/get_error_name.ts rename to x-pack/plugins/observability_solution/apm/server/lib/helpers/get_error_name.ts diff --git a/x-pack/plugins/apm/server/lib/helpers/get_es_capabilities.ts b/x-pack/plugins/observability_solution/apm/server/lib/helpers/get_es_capabilities.ts similarity index 100% rename from x-pack/plugins/apm/server/lib/helpers/get_es_capabilities.ts rename to x-pack/plugins/observability_solution/apm/server/lib/helpers/get_es_capabilities.ts diff --git a/x-pack/plugins/apm/server/lib/helpers/get_internal_saved_objects_client.ts b/x-pack/plugins/observability_solution/apm/server/lib/helpers/get_internal_saved_objects_client.ts similarity index 100% rename from x-pack/plugins/apm/server/lib/helpers/get_internal_saved_objects_client.ts rename to x-pack/plugins/observability_solution/apm/server/lib/helpers/get_internal_saved_objects_client.ts diff --git a/x-pack/plugins/apm/server/lib/helpers/get_ml_client.ts b/x-pack/plugins/observability_solution/apm/server/lib/helpers/get_ml_client.ts similarity index 100% rename from x-pack/plugins/apm/server/lib/helpers/get_ml_client.ts rename to x-pack/plugins/observability_solution/apm/server/lib/helpers/get_ml_client.ts diff --git a/x-pack/plugins/apm/server/lib/helpers/get_random_sampler/index.ts b/x-pack/plugins/observability_solution/apm/server/lib/helpers/get_random_sampler/index.ts similarity index 100% rename from x-pack/plugins/apm/server/lib/helpers/get_random_sampler/index.ts rename to x-pack/plugins/observability_solution/apm/server/lib/helpers/get_random_sampler/index.ts diff --git a/x-pack/plugins/apm/server/lib/helpers/latency_aggregation_type/index.ts b/x-pack/plugins/observability_solution/apm/server/lib/helpers/latency_aggregation_type/index.ts similarity index 100% rename from x-pack/plugins/apm/server/lib/helpers/latency_aggregation_type/index.ts rename to x-pack/plugins/observability_solution/apm/server/lib/helpers/latency_aggregation_type/index.ts diff --git a/x-pack/plugins/apm/server/lib/helpers/metrics.ts b/x-pack/plugins/observability_solution/apm/server/lib/helpers/metrics.ts similarity index 100% rename from x-pack/plugins/apm/server/lib/helpers/metrics.ts rename to x-pack/plugins/observability_solution/apm/server/lib/helpers/metrics.ts diff --git a/x-pack/plugins/apm/server/lib/helpers/round_to_nearest_five_or_ten.test.ts b/x-pack/plugins/observability_solution/apm/server/lib/helpers/round_to_nearest_five_or_ten.test.ts similarity index 100% rename from x-pack/plugins/apm/server/lib/helpers/round_to_nearest_five_or_ten.test.ts rename to x-pack/plugins/observability_solution/apm/server/lib/helpers/round_to_nearest_five_or_ten.test.ts diff --git a/x-pack/plugins/apm/server/lib/helpers/round_to_nearest_five_or_ten.ts b/x-pack/plugins/observability_solution/apm/server/lib/helpers/round_to_nearest_five_or_ten.ts similarity index 100% rename from x-pack/plugins/apm/server/lib/helpers/round_to_nearest_five_or_ten.ts rename to x-pack/plugins/observability_solution/apm/server/lib/helpers/round_to_nearest_five_or_ten.ts diff --git a/x-pack/plugins/apm/server/lib/helpers/spans/get_is_using_service_destination_metrics.ts b/x-pack/plugins/observability_solution/apm/server/lib/helpers/spans/get_is_using_service_destination_metrics.ts similarity index 100% rename from x-pack/plugins/apm/server/lib/helpers/spans/get_is_using_service_destination_metrics.ts rename to x-pack/plugins/observability_solution/apm/server/lib/helpers/spans/get_is_using_service_destination_metrics.ts diff --git a/x-pack/plugins/apm/server/lib/helpers/transaction_coldstart_rate.ts b/x-pack/plugins/observability_solution/apm/server/lib/helpers/transaction_coldstart_rate.ts similarity index 100% rename from x-pack/plugins/apm/server/lib/helpers/transaction_coldstart_rate.ts rename to x-pack/plugins/observability_solution/apm/server/lib/helpers/transaction_coldstart_rate.ts diff --git a/x-pack/plugins/apm/server/lib/helpers/transaction_error_rate.ts b/x-pack/plugins/observability_solution/apm/server/lib/helpers/transaction_error_rate.ts similarity index 100% rename from x-pack/plugins/apm/server/lib/helpers/transaction_error_rate.ts rename to x-pack/plugins/observability_solution/apm/server/lib/helpers/transaction_error_rate.ts diff --git a/x-pack/plugins/apm/server/lib/helpers/transactions/__snapshots__/get_is_using_transaction_events.test.ts.snap b/x-pack/plugins/observability_solution/apm/server/lib/helpers/transactions/__snapshots__/get_is_using_transaction_events.test.ts.snap similarity index 100% rename from x-pack/plugins/apm/server/lib/helpers/transactions/__snapshots__/get_is_using_transaction_events.test.ts.snap rename to x-pack/plugins/observability_solution/apm/server/lib/helpers/transactions/__snapshots__/get_is_using_transaction_events.test.ts.snap diff --git a/x-pack/plugins/apm/server/lib/helpers/transactions/get_is_using_transaction_events.test.ts b/x-pack/plugins/observability_solution/apm/server/lib/helpers/transactions/get_is_using_transaction_events.test.ts similarity index 92% rename from x-pack/plugins/apm/server/lib/helpers/transactions/get_is_using_transaction_events.test.ts rename to x-pack/plugins/observability_solution/apm/server/lib/helpers/transactions/get_is_using_transaction_events.test.ts index ff118ed5b16c6..9ea7b81ea710c 100644 --- a/x-pack/plugins/apm/server/lib/helpers/transactions/get_is_using_transaction_events.test.ts +++ b/x-pack/plugins/observability_solution/apm/server/lib/helpers/transactions/get_is_using_transaction_events.test.ts @@ -116,9 +116,11 @@ describe('getIsUsingTransactionEvents', () => { { config, mockResponse: (request) => { + // @ts-expect-error upgrade typescript v4.9.5 if (request === 'get_has_aggregated_transactions') { return mockResponseSomeHits; } + // @ts-expect-error upgrade typescript v4.9.5 if (request === 'get_has_transactions') { return mockResponseNoHits; } @@ -141,9 +143,11 @@ describe('getIsUsingTransactionEvents', () => { { config, mockResponse: (request) => { + // @ts-expect-error upgrade typescript v4.9.5 if (request === 'get_has_aggregated_transactions') { return mockResponseNoHits; } + // @ts-expect-error upgrade typescript v4.9.5 if (request === 'get_has_transactions') { return mockResponseSomeHits; } @@ -199,9 +203,11 @@ describe('getIsUsingTransactionEvents', () => { { config, mockResponse: (request) => { + // @ts-expect-error upgrade typescript v4.9.5 if (request === 'get_has_aggregated_transactions') { return mockResponseSomeHits; } + // @ts-expect-error upgrade typescript v4.9.5 if (request === 'get_has_transactions') { return mockResponseNoHits; } @@ -224,9 +230,11 @@ describe('getIsUsingTransactionEvents', () => { { config, mockResponse: (request) => { + // @ts-expect-error upgrade typescript v4.9.5 if (request === 'get_has_aggregated_transactions') { return mockResponseNoHits; } + // @ts-expect-error upgrade typescript v4.9.5 if (request === 'get_has_transactions') { return mockResponseSomeHits; } @@ -249,9 +257,11 @@ describe('getIsUsingTransactionEvents', () => { { config, mockResponse: (request) => { + // @ts-expect-error upgrade typescript v4.9.5 if (request === 'get_has_aggregated_transactions') { return mockResponseSomeHits; } + // @ts-expect-error upgrade typescript v4.9.5 if (request === 'get_has_transactions') { return mockResponseNoHits; } @@ -273,9 +283,11 @@ describe('getIsUsingTransactionEvents', () => { { config, mockResponse: (request) => { + // @ts-expect-error upgrade typescript v4.9.5 if (request === 'get_has_aggregated_transactions') { return mockResponseNoHits; } + // @ts-expect-error upgrade typescript v4.9.5 if (request === 'get_has_transactions') { return mockResponseSomeHits; } diff --git a/x-pack/plugins/apm/server/lib/helpers/transactions/get_is_using_transaction_events.ts b/x-pack/plugins/observability_solution/apm/server/lib/helpers/transactions/get_is_using_transaction_events.ts similarity index 100% rename from x-pack/plugins/apm/server/lib/helpers/transactions/get_is_using_transaction_events.ts rename to x-pack/plugins/observability_solution/apm/server/lib/helpers/transactions/get_is_using_transaction_events.ts diff --git a/x-pack/plugins/apm/server/lib/helpers/transactions/index.ts b/x-pack/plugins/observability_solution/apm/server/lib/helpers/transactions/index.ts similarity index 100% rename from x-pack/plugins/apm/server/lib/helpers/transactions/index.ts rename to x-pack/plugins/observability_solution/apm/server/lib/helpers/transactions/index.ts diff --git a/x-pack/plugins/apm/server/lib/service_group_query.ts b/x-pack/plugins/observability_solution/apm/server/lib/service_group_query.ts similarity index 100% rename from x-pack/plugins/apm/server/lib/service_group_query.ts rename to x-pack/plugins/observability_solution/apm/server/lib/service_group_query.ts diff --git a/x-pack/plugins/apm/server/lib/service_group_query_with_overflow.ts b/x-pack/plugins/observability_solution/apm/server/lib/service_group_query_with_overflow.ts similarity index 100% rename from x-pack/plugins/apm/server/lib/service_group_query_with_overflow.ts rename to x-pack/plugins/observability_solution/apm/server/lib/service_group_query_with_overflow.ts diff --git a/x-pack/plugins/apm/server/lib/transaction_groups/get_coldstart_rate.ts b/x-pack/plugins/observability_solution/apm/server/lib/transaction_groups/get_coldstart_rate.ts similarity index 100% rename from x-pack/plugins/apm/server/lib/transaction_groups/get_coldstart_rate.ts rename to x-pack/plugins/observability_solution/apm/server/lib/transaction_groups/get_coldstart_rate.ts diff --git a/x-pack/plugins/apm/server/lib/transaction_groups/get_failed_transaction_rate.ts b/x-pack/plugins/observability_solution/apm/server/lib/transaction_groups/get_failed_transaction_rate.ts similarity index 100% rename from x-pack/plugins/apm/server/lib/transaction_groups/get_failed_transaction_rate.ts rename to x-pack/plugins/observability_solution/apm/server/lib/transaction_groups/get_failed_transaction_rate.ts diff --git a/x-pack/plugins/apm/server/plugin.ts b/x-pack/plugins/observability_solution/apm/server/plugin.ts similarity index 100% rename from x-pack/plugins/apm/server/plugin.ts rename to x-pack/plugins/observability_solution/apm/server/plugin.ts diff --git a/x-pack/plugins/apm/server/routes/agent_explorer/error_with_status_code.ts b/x-pack/plugins/observability_solution/apm/server/routes/agent_explorer/error_with_status_code.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/agent_explorer/error_with_status_code.ts rename to x-pack/plugins/observability_solution/apm/server/routes/agent_explorer/error_with_status_code.ts diff --git a/x-pack/plugins/apm/server/routes/agent_explorer/fetch_agents_last_version.test.ts b/x-pack/plugins/observability_solution/apm/server/routes/agent_explorer/fetch_agents_last_version.test.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/agent_explorer/fetch_agents_last_version.test.ts rename to x-pack/plugins/observability_solution/apm/server/routes/agent_explorer/fetch_agents_last_version.test.ts diff --git a/x-pack/plugins/apm/server/routes/agent_explorer/fetch_agents_latest_version.ts b/x-pack/plugins/observability_solution/apm/server/routes/agent_explorer/fetch_agents_latest_version.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/agent_explorer/fetch_agents_latest_version.ts rename to x-pack/plugins/observability_solution/apm/server/routes/agent_explorer/fetch_agents_latest_version.ts diff --git a/x-pack/plugins/apm/server/routes/agent_explorer/get_agent_instances.ts b/x-pack/plugins/observability_solution/apm/server/routes/agent_explorer/get_agent_instances.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/agent_explorer/get_agent_instances.ts rename to x-pack/plugins/observability_solution/apm/server/routes/agent_explorer/get_agent_instances.ts diff --git a/x-pack/plugins/apm/server/routes/agent_explorer/get_agent_url_repository.ts b/x-pack/plugins/observability_solution/apm/server/routes/agent_explorer/get_agent_url_repository.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/agent_explorer/get_agent_url_repository.ts rename to x-pack/plugins/observability_solution/apm/server/routes/agent_explorer/get_agent_url_repository.ts diff --git a/x-pack/plugins/apm/server/routes/agent_explorer/get_agents.ts b/x-pack/plugins/observability_solution/apm/server/routes/agent_explorer/get_agents.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/agent_explorer/get_agents.ts rename to x-pack/plugins/observability_solution/apm/server/routes/agent_explorer/get_agents.ts diff --git a/x-pack/plugins/apm/server/routes/agent_explorer/get_agents_items.ts b/x-pack/plugins/observability_solution/apm/server/routes/agent_explorer/get_agents_items.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/agent_explorer/get_agents_items.ts rename to x-pack/plugins/observability_solution/apm/server/routes/agent_explorer/get_agents_items.ts diff --git a/x-pack/plugins/apm/server/routes/agent_explorer/route.ts b/x-pack/plugins/observability_solution/apm/server/routes/agent_explorer/route.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/agent_explorer/route.ts rename to x-pack/plugins/observability_solution/apm/server/routes/agent_explorer/route.ts diff --git a/x-pack/plugins/apm/server/routes/agent_keys/create_agent_key.ts b/x-pack/plugins/observability_solution/apm/server/routes/agent_keys/create_agent_key.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/agent_keys/create_agent_key.ts rename to x-pack/plugins/observability_solution/apm/server/routes/agent_keys/create_agent_key.ts diff --git a/x-pack/plugins/apm/server/routes/agent_keys/get_agent_keys.ts b/x-pack/plugins/observability_solution/apm/server/routes/agent_keys/get_agent_keys.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/agent_keys/get_agent_keys.ts rename to x-pack/plugins/observability_solution/apm/server/routes/agent_keys/get_agent_keys.ts diff --git a/x-pack/plugins/apm/server/routes/agent_keys/get_agent_keys_privileges.ts b/x-pack/plugins/observability_solution/apm/server/routes/agent_keys/get_agent_keys_privileges.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/agent_keys/get_agent_keys_privileges.ts rename to x-pack/plugins/observability_solution/apm/server/routes/agent_keys/get_agent_keys_privileges.ts diff --git a/x-pack/plugins/apm/server/routes/agent_keys/invalidate_agent_key.ts b/x-pack/plugins/observability_solution/apm/server/routes/agent_keys/invalidate_agent_key.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/agent_keys/invalidate_agent_key.ts rename to x-pack/plugins/observability_solution/apm/server/routes/agent_keys/invalidate_agent_key.ts diff --git a/x-pack/plugins/apm/server/routes/agent_keys/route.ts b/x-pack/plugins/observability_solution/apm/server/routes/agent_keys/route.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/agent_keys/route.ts rename to x-pack/plugins/observability_solution/apm/server/routes/agent_keys/route.ts diff --git a/x-pack/plugins/apm/server/routes/alerts/action_variables.ts b/x-pack/plugins/observability_solution/apm/server/routes/alerts/action_variables.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/alerts/action_variables.ts rename to x-pack/plugins/observability_solution/apm/server/routes/alerts/action_variables.ts diff --git a/x-pack/plugins/apm/server/routes/alerts/alerting_es_client.ts b/x-pack/plugins/observability_solution/apm/server/routes/alerts/alerting_es_client.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/alerts/alerting_es_client.ts rename to x-pack/plugins/observability_solution/apm/server/routes/alerts/alerting_es_client.ts diff --git a/x-pack/plugins/apm/server/routes/alerts/register_apm_rule_types.ts b/x-pack/plugins/observability_solution/apm/server/routes/alerts/register_apm_rule_types.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/alerts/register_apm_rule_types.ts rename to x-pack/plugins/observability_solution/apm/server/routes/alerts/register_apm_rule_types.ts diff --git a/x-pack/plugins/apm/server/routes/alerts/route.ts b/x-pack/plugins/observability_solution/apm/server/routes/alerts/route.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/alerts/route.ts rename to x-pack/plugins/observability_solution/apm/server/routes/alerts/route.ts diff --git a/x-pack/plugins/apm/server/routes/alerts/rule_types/anomaly/get_service_group_fields_for_anomaly.ts b/x-pack/plugins/observability_solution/apm/server/routes/alerts/rule_types/anomaly/get_service_group_fields_for_anomaly.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/alerts/rule_types/anomaly/get_service_group_fields_for_anomaly.ts rename to x-pack/plugins/observability_solution/apm/server/routes/alerts/rule_types/anomaly/get_service_group_fields_for_anomaly.ts diff --git a/x-pack/plugins/apm/server/routes/alerts/rule_types/anomaly/register_anomaly_rule_type.test.ts b/x-pack/plugins/observability_solution/apm/server/routes/alerts/rule_types/anomaly/register_anomaly_rule_type.test.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/alerts/rule_types/anomaly/register_anomaly_rule_type.test.ts rename to x-pack/plugins/observability_solution/apm/server/routes/alerts/rule_types/anomaly/register_anomaly_rule_type.test.ts diff --git a/x-pack/plugins/apm/server/routes/alerts/rule_types/anomaly/register_anomaly_rule_type.ts b/x-pack/plugins/observability_solution/apm/server/routes/alerts/rule_types/anomaly/register_anomaly_rule_type.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/alerts/rule_types/anomaly/register_anomaly_rule_type.ts rename to x-pack/plugins/observability_solution/apm/server/routes/alerts/rule_types/anomaly/register_anomaly_rule_type.ts diff --git a/x-pack/plugins/apm/server/routes/alerts/rule_types/docs/params_property_apm_anomaly.yaml b/x-pack/plugins/observability_solution/apm/server/routes/alerts/rule_types/docs/params_property_apm_anomaly.yaml similarity index 100% rename from x-pack/plugins/apm/server/routes/alerts/rule_types/docs/params_property_apm_anomaly.yaml rename to x-pack/plugins/observability_solution/apm/server/routes/alerts/rule_types/docs/params_property_apm_anomaly.yaml diff --git a/x-pack/plugins/apm/server/routes/alerts/rule_types/docs/params_property_apm_error_count.yaml b/x-pack/plugins/observability_solution/apm/server/routes/alerts/rule_types/docs/params_property_apm_error_count.yaml similarity index 100% rename from x-pack/plugins/apm/server/routes/alerts/rule_types/docs/params_property_apm_error_count.yaml rename to x-pack/plugins/observability_solution/apm/server/routes/alerts/rule_types/docs/params_property_apm_error_count.yaml diff --git a/x-pack/plugins/apm/server/routes/alerts/rule_types/docs/params_property_apm_transaction_duration.yaml b/x-pack/plugins/observability_solution/apm/server/routes/alerts/rule_types/docs/params_property_apm_transaction_duration.yaml similarity index 100% rename from x-pack/plugins/apm/server/routes/alerts/rule_types/docs/params_property_apm_transaction_duration.yaml rename to x-pack/plugins/observability_solution/apm/server/routes/alerts/rule_types/docs/params_property_apm_transaction_duration.yaml diff --git a/x-pack/plugins/apm/server/routes/alerts/rule_types/docs/params_property_apm_transaction_error_rate.yaml b/x-pack/plugins/observability_solution/apm/server/routes/alerts/rule_types/docs/params_property_apm_transaction_error_rate.yaml similarity index 100% rename from x-pack/plugins/apm/server/routes/alerts/rule_types/docs/params_property_apm_transaction_error_rate.yaml rename to x-pack/plugins/observability_solution/apm/server/routes/alerts/rule_types/docs/params_property_apm_transaction_error_rate.yaml diff --git a/x-pack/plugins/apm/server/routes/alerts/rule_types/error_count/get_error_count_chart_preview.ts b/x-pack/plugins/observability_solution/apm/server/routes/alerts/rule_types/error_count/get_error_count_chart_preview.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/alerts/rule_types/error_count/get_error_count_chart_preview.ts rename to x-pack/plugins/observability_solution/apm/server/routes/alerts/rule_types/error_count/get_error_count_chart_preview.ts diff --git a/x-pack/plugins/apm/server/routes/alerts/rule_types/error_count/register_error_count_rule_type.test.ts b/x-pack/plugins/observability_solution/apm/server/routes/alerts/rule_types/error_count/register_error_count_rule_type.test.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/alerts/rule_types/error_count/register_error_count_rule_type.test.ts rename to x-pack/plugins/observability_solution/apm/server/routes/alerts/rule_types/error_count/register_error_count_rule_type.test.ts diff --git a/x-pack/plugins/apm/server/routes/alerts/rule_types/error_count/register_error_count_rule_type.ts b/x-pack/plugins/observability_solution/apm/server/routes/alerts/rule_types/error_count/register_error_count_rule_type.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/alerts/rule_types/error_count/register_error_count_rule_type.ts rename to x-pack/plugins/observability_solution/apm/server/routes/alerts/rule_types/error_count/register_error_count_rule_type.ts diff --git a/x-pack/plugins/apm/server/routes/alerts/rule_types/get_service_group_fields.test.ts b/x-pack/plugins/observability_solution/apm/server/routes/alerts/rule_types/get_service_group_fields.test.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/alerts/rule_types/get_service_group_fields.test.ts rename to x-pack/plugins/observability_solution/apm/server/routes/alerts/rule_types/get_service_group_fields.test.ts diff --git a/x-pack/plugins/apm/server/routes/alerts/rule_types/get_service_group_fields.ts b/x-pack/plugins/observability_solution/apm/server/routes/alerts/rule_types/get_service_group_fields.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/alerts/rule_types/get_service_group_fields.ts rename to x-pack/plugins/observability_solution/apm/server/routes/alerts/rule_types/get_service_group_fields.ts diff --git a/x-pack/plugins/apm/server/routes/alerts/rule_types/transaction_duration/average_or_percentile_agg.ts b/x-pack/plugins/observability_solution/apm/server/routes/alerts/rule_types/transaction_duration/average_or_percentile_agg.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/alerts/rule_types/transaction_duration/average_or_percentile_agg.ts rename to x-pack/plugins/observability_solution/apm/server/routes/alerts/rule_types/transaction_duration/average_or_percentile_agg.ts diff --git a/x-pack/plugins/apm/server/routes/alerts/rule_types/transaction_duration/get_transaction_duration_chart_preview.ts b/x-pack/plugins/observability_solution/apm/server/routes/alerts/rule_types/transaction_duration/get_transaction_duration_chart_preview.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/alerts/rule_types/transaction_duration/get_transaction_duration_chart_preview.ts rename to x-pack/plugins/observability_solution/apm/server/routes/alerts/rule_types/transaction_duration/get_transaction_duration_chart_preview.ts diff --git a/x-pack/plugins/apm/server/routes/alerts/rule_types/transaction_duration/register_transaction_duration_rule_type.test.ts b/x-pack/plugins/observability_solution/apm/server/routes/alerts/rule_types/transaction_duration/register_transaction_duration_rule_type.test.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/alerts/rule_types/transaction_duration/register_transaction_duration_rule_type.test.ts rename to x-pack/plugins/observability_solution/apm/server/routes/alerts/rule_types/transaction_duration/register_transaction_duration_rule_type.test.ts diff --git a/x-pack/plugins/apm/server/routes/alerts/rule_types/transaction_duration/register_transaction_duration_rule_type.ts b/x-pack/plugins/observability_solution/apm/server/routes/alerts/rule_types/transaction_duration/register_transaction_duration_rule_type.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/alerts/rule_types/transaction_duration/register_transaction_duration_rule_type.ts rename to x-pack/plugins/observability_solution/apm/server/routes/alerts/rule_types/transaction_duration/register_transaction_duration_rule_type.ts diff --git a/x-pack/plugins/apm/server/routes/alerts/rule_types/transaction_error_rate/get_transaction_error_rate_chart_preview.ts b/x-pack/plugins/observability_solution/apm/server/routes/alerts/rule_types/transaction_error_rate/get_transaction_error_rate_chart_preview.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/alerts/rule_types/transaction_error_rate/get_transaction_error_rate_chart_preview.ts rename to x-pack/plugins/observability_solution/apm/server/routes/alerts/rule_types/transaction_error_rate/get_transaction_error_rate_chart_preview.ts diff --git a/x-pack/plugins/apm/server/routes/alerts/rule_types/transaction_error_rate/register_transaction_error_rate_rule_type.test.ts b/x-pack/plugins/observability_solution/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/apm/server/routes/alerts/rule_types/transaction_error_rate/register_transaction_error_rate_rule_type.test.ts rename to x-pack/plugins/observability_solution/apm/server/routes/alerts/rule_types/transaction_error_rate/register_transaction_error_rate_rule_type.test.ts diff --git a/x-pack/plugins/apm/server/routes/alerts/rule_types/transaction_error_rate/register_transaction_error_rate_rule_type.ts b/x-pack/plugins/observability_solution/apm/server/routes/alerts/rule_types/transaction_error_rate/register_transaction_error_rate_rule_type.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/alerts/rule_types/transaction_error_rate/register_transaction_error_rate_rule_type.ts rename to x-pack/plugins/observability_solution/apm/server/routes/alerts/rule_types/transaction_error_rate/register_transaction_error_rate_rule_type.ts diff --git a/x-pack/plugins/apm/server/routes/alerts/rule_types/utils/get_filtered_series_for_preview_chart.ts b/x-pack/plugins/observability_solution/apm/server/routes/alerts/rule_types/utils/get_filtered_series_for_preview_chart.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/alerts/rule_types/utils/get_filtered_series_for_preview_chart.ts rename to x-pack/plugins/observability_solution/apm/server/routes/alerts/rule_types/utils/get_filtered_series_for_preview_chart.ts diff --git a/x-pack/plugins/apm/server/routes/alerts/rule_types/utils/get_groupby_action_variables.test.ts b/x-pack/plugins/observability_solution/apm/server/routes/alerts/rule_types/utils/get_groupby_action_variables.test.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/alerts/rule_types/utils/get_groupby_action_variables.test.ts rename to x-pack/plugins/observability_solution/apm/server/routes/alerts/rule_types/utils/get_groupby_action_variables.test.ts diff --git a/x-pack/plugins/apm/server/routes/alerts/rule_types/utils/get_groupby_action_variables.ts b/x-pack/plugins/observability_solution/apm/server/routes/alerts/rule_types/utils/get_groupby_action_variables.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/alerts/rule_types/utils/get_groupby_action_variables.ts rename to x-pack/plugins/observability_solution/apm/server/routes/alerts/rule_types/utils/get_groupby_action_variables.ts diff --git a/x-pack/plugins/apm/server/routes/alerts/rule_types/utils/get_groupby_terms.test.ts b/x-pack/plugins/observability_solution/apm/server/routes/alerts/rule_types/utils/get_groupby_terms.test.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/alerts/rule_types/utils/get_groupby_terms.test.ts rename to x-pack/plugins/observability_solution/apm/server/routes/alerts/rule_types/utils/get_groupby_terms.test.ts diff --git a/x-pack/plugins/apm/server/routes/alerts/rule_types/utils/get_groupby_terms.ts b/x-pack/plugins/observability_solution/apm/server/routes/alerts/rule_types/utils/get_groupby_terms.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/alerts/rule_types/utils/get_groupby_terms.ts rename to x-pack/plugins/observability_solution/apm/server/routes/alerts/rule_types/utils/get_groupby_terms.ts diff --git a/x-pack/plugins/apm/server/routes/alerts/test_utils/index.ts b/x-pack/plugins/observability_solution/apm/server/routes/alerts/test_utils/index.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/alerts/test_utils/index.ts rename to x-pack/plugins/observability_solution/apm/server/routes/alerts/test_utils/index.ts diff --git a/x-pack/plugins/apm/server/routes/apm_routes/create_apm_server_route.ts b/x-pack/plugins/observability_solution/apm/server/routes/apm_routes/create_apm_server_route.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/apm_routes/create_apm_server_route.ts rename to x-pack/plugins/observability_solution/apm/server/routes/apm_routes/create_apm_server_route.ts diff --git a/x-pack/plugins/apm/server/routes/apm_routes/get_global_apm_server_route_repository.ts b/x-pack/plugins/observability_solution/apm/server/routes/apm_routes/get_global_apm_server_route_repository.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/apm_routes/get_global_apm_server_route_repository.ts rename to x-pack/plugins/observability_solution/apm/server/routes/apm_routes/get_global_apm_server_route_repository.ts diff --git a/x-pack/plugins/apm/server/routes/apm_routes/register_apm_server_routes.test.ts b/x-pack/plugins/observability_solution/apm/server/routes/apm_routes/register_apm_server_routes.test.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/apm_routes/register_apm_server_routes.test.ts rename to x-pack/plugins/observability_solution/apm/server/routes/apm_routes/register_apm_server_routes.test.ts diff --git a/x-pack/plugins/apm/server/routes/apm_routes/register_apm_server_routes.ts b/x-pack/plugins/observability_solution/apm/server/routes/apm_routes/register_apm_server_routes.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/apm_routes/register_apm_server_routes.ts rename to x-pack/plugins/observability_solution/apm/server/routes/apm_routes/register_apm_server_routes.ts diff --git a/x-pack/plugins/apm/server/routes/assistant_functions/get_apm_correlation_values/index.ts b/x-pack/plugins/observability_solution/apm/server/routes/assistant_functions/get_apm_correlation_values/index.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/assistant_functions/get_apm_correlation_values/index.ts rename to x-pack/plugins/observability_solution/apm/server/routes/assistant_functions/get_apm_correlation_values/index.ts diff --git a/x-pack/plugins/apm/server/routes/assistant_functions/get_apm_downstream_dependencies/index.ts b/x-pack/plugins/observability_solution/apm/server/routes/assistant_functions/get_apm_downstream_dependencies/index.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/assistant_functions/get_apm_downstream_dependencies/index.ts rename to x-pack/plugins/observability_solution/apm/server/routes/assistant_functions/get_apm_downstream_dependencies/index.ts diff --git a/x-pack/plugins/apm/server/routes/assistant_functions/get_apm_error_document/index.ts b/x-pack/plugins/observability_solution/apm/server/routes/assistant_functions/get_apm_error_document/index.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/assistant_functions/get_apm_error_document/index.ts rename to x-pack/plugins/observability_solution/apm/server/routes/assistant_functions/get_apm_error_document/index.ts diff --git a/x-pack/plugins/apm/server/routes/assistant_functions/get_apm_service_summary/index.ts b/x-pack/plugins/observability_solution/apm/server/routes/assistant_functions/get_apm_service_summary/index.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/assistant_functions/get_apm_service_summary/index.ts rename to x-pack/plugins/observability_solution/apm/server/routes/assistant_functions/get_apm_service_summary/index.ts diff --git a/x-pack/plugins/apm/server/routes/assistant_functions/get_apm_timeseries/fetch_timeseries.ts b/x-pack/plugins/observability_solution/apm/server/routes/assistant_functions/get_apm_timeseries/fetch_timeseries.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/assistant_functions/get_apm_timeseries/fetch_timeseries.ts rename to x-pack/plugins/observability_solution/apm/server/routes/assistant_functions/get_apm_timeseries/fetch_timeseries.ts diff --git a/x-pack/plugins/apm/server/routes/assistant_functions/get_apm_timeseries/get_error_event_rate.ts b/x-pack/plugins/observability_solution/apm/server/routes/assistant_functions/get_apm_timeseries/get_error_event_rate.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/assistant_functions/get_apm_timeseries/get_error_event_rate.ts rename to x-pack/plugins/observability_solution/apm/server/routes/assistant_functions/get_apm_timeseries/get_error_event_rate.ts diff --git a/x-pack/plugins/apm/server/routes/assistant_functions/get_apm_timeseries/get_exit_span_failure_rate.ts b/x-pack/plugins/observability_solution/apm/server/routes/assistant_functions/get_apm_timeseries/get_exit_span_failure_rate.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/assistant_functions/get_apm_timeseries/get_exit_span_failure_rate.ts rename to x-pack/plugins/observability_solution/apm/server/routes/assistant_functions/get_apm_timeseries/get_exit_span_failure_rate.ts diff --git a/x-pack/plugins/apm/server/routes/assistant_functions/get_apm_timeseries/get_exit_span_latency.ts b/x-pack/plugins/observability_solution/apm/server/routes/assistant_functions/get_apm_timeseries/get_exit_span_latency.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/assistant_functions/get_apm_timeseries/get_exit_span_latency.ts rename to x-pack/plugins/observability_solution/apm/server/routes/assistant_functions/get_apm_timeseries/get_exit_span_latency.ts diff --git a/x-pack/plugins/apm/server/routes/assistant_functions/get_apm_timeseries/get_exit_span_throughput.ts b/x-pack/plugins/observability_solution/apm/server/routes/assistant_functions/get_apm_timeseries/get_exit_span_throughput.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/assistant_functions/get_apm_timeseries/get_exit_span_throughput.ts rename to x-pack/plugins/observability_solution/apm/server/routes/assistant_functions/get_apm_timeseries/get_exit_span_throughput.ts diff --git a/x-pack/plugins/apm/server/routes/assistant_functions/get_apm_timeseries/get_transaction_failure_rate.ts b/x-pack/plugins/observability_solution/apm/server/routes/assistant_functions/get_apm_timeseries/get_transaction_failure_rate.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/assistant_functions/get_apm_timeseries/get_transaction_failure_rate.ts rename to x-pack/plugins/observability_solution/apm/server/routes/assistant_functions/get_apm_timeseries/get_transaction_failure_rate.ts diff --git a/x-pack/plugins/apm/server/routes/assistant_functions/get_apm_timeseries/get_transaction_latency.ts b/x-pack/plugins/observability_solution/apm/server/routes/assistant_functions/get_apm_timeseries/get_transaction_latency.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/assistant_functions/get_apm_timeseries/get_transaction_latency.ts rename to x-pack/plugins/observability_solution/apm/server/routes/assistant_functions/get_apm_timeseries/get_transaction_latency.ts diff --git a/x-pack/plugins/apm/server/routes/assistant_functions/get_apm_timeseries/get_transaction_throughput.ts b/x-pack/plugins/observability_solution/apm/server/routes/assistant_functions/get_apm_timeseries/get_transaction_throughput.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/assistant_functions/get_apm_timeseries/get_transaction_throughput.ts rename to x-pack/plugins/observability_solution/apm/server/routes/assistant_functions/get_apm_timeseries/get_transaction_throughput.ts diff --git a/x-pack/plugins/apm/server/routes/assistant_functions/get_apm_timeseries/index.ts b/x-pack/plugins/observability_solution/apm/server/routes/assistant_functions/get_apm_timeseries/index.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/assistant_functions/get_apm_timeseries/index.ts rename to x-pack/plugins/observability_solution/apm/server/routes/assistant_functions/get_apm_timeseries/index.ts diff --git a/x-pack/plugins/apm/server/routes/assistant_functions/route.ts b/x-pack/plugins/observability_solution/apm/server/routes/assistant_functions/route.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/assistant_functions/route.ts rename to x-pack/plugins/observability_solution/apm/server/routes/assistant_functions/route.ts diff --git a/x-pack/plugins/apm/server/routes/correlations/queries/fetch_duration_correlation.ts b/x-pack/plugins/observability_solution/apm/server/routes/correlations/queries/fetch_duration_correlation.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/correlations/queries/fetch_duration_correlation.ts rename to x-pack/plugins/observability_solution/apm/server/routes/correlations/queries/fetch_duration_correlation.ts diff --git a/x-pack/plugins/apm/server/routes/correlations/queries/fetch_duration_correlation_with_histogram.ts b/x-pack/plugins/observability_solution/apm/server/routes/correlations/queries/fetch_duration_correlation_with_histogram.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/correlations/queries/fetch_duration_correlation_with_histogram.ts rename to x-pack/plugins/observability_solution/apm/server/routes/correlations/queries/fetch_duration_correlation_with_histogram.ts diff --git a/x-pack/plugins/apm/server/routes/correlations/queries/fetch_duration_field_candidates.ts b/x-pack/plugins/observability_solution/apm/server/routes/correlations/queries/fetch_duration_field_candidates.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/correlations/queries/fetch_duration_field_candidates.ts rename to x-pack/plugins/observability_solution/apm/server/routes/correlations/queries/fetch_duration_field_candidates.ts diff --git a/x-pack/plugins/apm/server/routes/correlations/queries/fetch_duration_fractions.ts b/x-pack/plugins/observability_solution/apm/server/routes/correlations/queries/fetch_duration_fractions.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/correlations/queries/fetch_duration_fractions.ts rename to x-pack/plugins/observability_solution/apm/server/routes/correlations/queries/fetch_duration_fractions.ts diff --git a/x-pack/plugins/apm/server/routes/correlations/queries/fetch_duration_histogram_range_steps.ts b/x-pack/plugins/observability_solution/apm/server/routes/correlations/queries/fetch_duration_histogram_range_steps.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/correlations/queries/fetch_duration_histogram_range_steps.ts rename to x-pack/plugins/observability_solution/apm/server/routes/correlations/queries/fetch_duration_histogram_range_steps.ts diff --git a/x-pack/plugins/apm/server/routes/correlations/queries/fetch_duration_percentiles.ts b/x-pack/plugins/observability_solution/apm/server/routes/correlations/queries/fetch_duration_percentiles.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/correlations/queries/fetch_duration_percentiles.ts rename to x-pack/plugins/observability_solution/apm/server/routes/correlations/queries/fetch_duration_percentiles.ts diff --git a/x-pack/plugins/apm/server/routes/correlations/queries/fetch_duration_ranges.ts b/x-pack/plugins/observability_solution/apm/server/routes/correlations/queries/fetch_duration_ranges.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/correlations/queries/fetch_duration_ranges.ts rename to x-pack/plugins/observability_solution/apm/server/routes/correlations/queries/fetch_duration_ranges.ts diff --git a/x-pack/plugins/apm/server/routes/correlations/queries/fetch_failed_events_correlation_p_values.ts b/x-pack/plugins/observability_solution/apm/server/routes/correlations/queries/fetch_failed_events_correlation_p_values.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/correlations/queries/fetch_failed_events_correlation_p_values.ts rename to x-pack/plugins/observability_solution/apm/server/routes/correlations/queries/fetch_failed_events_correlation_p_values.ts diff --git a/x-pack/plugins/apm/server/routes/correlations/queries/fetch_field_value_pairs.ts b/x-pack/plugins/observability_solution/apm/server/routes/correlations/queries/fetch_field_value_pairs.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/correlations/queries/fetch_field_value_pairs.ts rename to x-pack/plugins/observability_solution/apm/server/routes/correlations/queries/fetch_field_value_pairs.ts diff --git a/x-pack/plugins/apm/server/routes/correlations/queries/fetch_p_values.ts b/x-pack/plugins/observability_solution/apm/server/routes/correlations/queries/fetch_p_values.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/correlations/queries/fetch_p_values.ts rename to x-pack/plugins/observability_solution/apm/server/routes/correlations/queries/fetch_p_values.ts diff --git a/x-pack/plugins/apm/server/routes/correlations/queries/fetch_significant_correlations.ts b/x-pack/plugins/observability_solution/apm/server/routes/correlations/queries/fetch_significant_correlations.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/correlations/queries/fetch_significant_correlations.ts rename to x-pack/plugins/observability_solution/apm/server/routes/correlations/queries/fetch_significant_correlations.ts diff --git a/x-pack/plugins/apm/server/routes/correlations/queries/field_stats/fetch_field_value_field_stats.ts b/x-pack/plugins/observability_solution/apm/server/routes/correlations/queries/field_stats/fetch_field_value_field_stats.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/correlations/queries/field_stats/fetch_field_value_field_stats.ts rename to x-pack/plugins/observability_solution/apm/server/routes/correlations/queries/field_stats/fetch_field_value_field_stats.ts diff --git a/x-pack/plugins/apm/server/routes/correlations/queries/get_common_correlations_query.ts b/x-pack/plugins/observability_solution/apm/server/routes/correlations/queries/get_common_correlations_query.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/correlations/queries/get_common_correlations_query.ts rename to x-pack/plugins/observability_solution/apm/server/routes/correlations/queries/get_common_correlations_query.ts diff --git a/x-pack/plugins/apm/server/routes/correlations/route.ts b/x-pack/plugins/observability_solution/apm/server/routes/correlations/route.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/correlations/route.ts rename to x-pack/plugins/observability_solution/apm/server/routes/correlations/route.ts diff --git a/x-pack/plugins/apm/server/routes/correlations/utils/compute_expectations_and_ranges.test.ts b/x-pack/plugins/observability_solution/apm/server/routes/correlations/utils/compute_expectations_and_ranges.test.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/correlations/utils/compute_expectations_and_ranges.test.ts rename to x-pack/plugins/observability_solution/apm/server/routes/correlations/utils/compute_expectations_and_ranges.test.ts diff --git a/x-pack/plugins/apm/server/routes/correlations/utils/compute_expectations_and_ranges.ts b/x-pack/plugins/observability_solution/apm/server/routes/correlations/utils/compute_expectations_and_ranges.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/correlations/utils/compute_expectations_and_ranges.ts rename to x-pack/plugins/observability_solution/apm/server/routes/correlations/utils/compute_expectations_and_ranges.ts diff --git a/x-pack/plugins/apm/server/routes/correlations/utils/get_duration_field.ts b/x-pack/plugins/observability_solution/apm/server/routes/correlations/utils/get_duration_field.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/correlations/utils/get_duration_field.ts rename to x-pack/plugins/observability_solution/apm/server/routes/correlations/utils/get_duration_field.ts diff --git a/x-pack/plugins/apm/server/routes/correlations/utils/get_event_type.ts b/x-pack/plugins/observability_solution/apm/server/routes/correlations/utils/get_event_type.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/correlations/utils/get_event_type.ts rename to x-pack/plugins/observability_solution/apm/server/routes/correlations/utils/get_event_type.ts diff --git a/x-pack/plugins/apm/server/routes/correlations/utils/index.ts b/x-pack/plugins/observability_solution/apm/server/routes/correlations/utils/index.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/correlations/utils/index.ts rename to x-pack/plugins/observability_solution/apm/server/routes/correlations/utils/index.ts diff --git a/x-pack/plugins/apm/server/routes/correlations/utils/split_all_settled_promises.ts b/x-pack/plugins/observability_solution/apm/server/routes/correlations/utils/split_all_settled_promises.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/correlations/utils/split_all_settled_promises.ts rename to x-pack/plugins/observability_solution/apm/server/routes/correlations/utils/split_all_settled_promises.ts diff --git a/x-pack/plugins/apm/server/routes/custom_dashboards/get_custom_dashboards.ts b/x-pack/plugins/observability_solution/apm/server/routes/custom_dashboards/get_custom_dashboards.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/custom_dashboards/get_custom_dashboards.ts rename to x-pack/plugins/observability_solution/apm/server/routes/custom_dashboards/get_custom_dashboards.ts diff --git a/x-pack/plugins/apm/server/routes/custom_dashboards/get_services_with_dashboards.ts b/x-pack/plugins/observability_solution/apm/server/routes/custom_dashboards/get_services_with_dashboards.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/custom_dashboards/get_services_with_dashboards.ts rename to x-pack/plugins/observability_solution/apm/server/routes/custom_dashboards/get_services_with_dashboards.ts diff --git a/x-pack/plugins/apm/server/routes/custom_dashboards/remove_service_dashboard.ts b/x-pack/plugins/observability_solution/apm/server/routes/custom_dashboards/remove_service_dashboard.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/custom_dashboards/remove_service_dashboard.ts rename to x-pack/plugins/observability_solution/apm/server/routes/custom_dashboards/remove_service_dashboard.ts diff --git a/x-pack/plugins/apm/server/routes/custom_dashboards/route.ts b/x-pack/plugins/observability_solution/apm/server/routes/custom_dashboards/route.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/custom_dashboards/route.ts rename to x-pack/plugins/observability_solution/apm/server/routes/custom_dashboards/route.ts diff --git a/x-pack/plugins/apm/server/routes/custom_dashboards/save_service_dashboard.ts b/x-pack/plugins/observability_solution/apm/server/routes/custom_dashboards/save_service_dashboard.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/custom_dashboards/save_service_dashboard.ts rename to x-pack/plugins/observability_solution/apm/server/routes/custom_dashboards/save_service_dashboard.ts diff --git a/x-pack/plugins/apm/server/routes/data_view/create_static_data_view.test.ts b/x-pack/plugins/observability_solution/apm/server/routes/data_view/create_static_data_view.test.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/data_view/create_static_data_view.test.ts rename to x-pack/plugins/observability_solution/apm/server/routes/data_view/create_static_data_view.test.ts diff --git a/x-pack/plugins/apm/server/routes/data_view/create_static_data_view.ts b/x-pack/plugins/observability_solution/apm/server/routes/data_view/create_static_data_view.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/data_view/create_static_data_view.ts rename to x-pack/plugins/observability_solution/apm/server/routes/data_view/create_static_data_view.ts diff --git a/x-pack/plugins/apm/server/routes/data_view/get_apm_data_view_index_pattern.test.ts b/x-pack/plugins/observability_solution/apm/server/routes/data_view/get_apm_data_view_index_pattern.test.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/data_view/get_apm_data_view_index_pattern.test.ts rename to x-pack/plugins/observability_solution/apm/server/routes/data_view/get_apm_data_view_index_pattern.test.ts diff --git a/x-pack/plugins/apm/server/routes/data_view/get_apm_data_view_index_pattern.ts b/x-pack/plugins/observability_solution/apm/server/routes/data_view/get_apm_data_view_index_pattern.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/data_view/get_apm_data_view_index_pattern.ts rename to x-pack/plugins/observability_solution/apm/server/routes/data_view/get_apm_data_view_index_pattern.ts diff --git a/x-pack/plugins/apm/server/routes/data_view/route.ts b/x-pack/plugins/observability_solution/apm/server/routes/data_view/route.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/data_view/route.ts rename to x-pack/plugins/observability_solution/apm/server/routes/data_view/route.ts diff --git a/x-pack/plugins/apm/server/routes/debug_telemetry/route.ts b/x-pack/plugins/observability_solution/apm/server/routes/debug_telemetry/route.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/debug_telemetry/route.ts rename to x-pack/plugins/observability_solution/apm/server/routes/debug_telemetry/route.ts diff --git a/x-pack/plugins/apm/server/routes/default_api_types.ts b/x-pack/plugins/observability_solution/apm/server/routes/default_api_types.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/default_api_types.ts rename to x-pack/plugins/observability_solution/apm/server/routes/default_api_types.ts diff --git a/x-pack/plugins/apm/server/routes/dependencies/get_dependency_latency_distribution.ts b/x-pack/plugins/observability_solution/apm/server/routes/dependencies/get_dependency_latency_distribution.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/dependencies/get_dependency_latency_distribution.ts rename to x-pack/plugins/observability_solution/apm/server/routes/dependencies/get_dependency_latency_distribution.ts diff --git a/x-pack/plugins/apm/server/routes/dependencies/get_error_rate_charts_for_dependency.ts b/x-pack/plugins/observability_solution/apm/server/routes/dependencies/get_error_rate_charts_for_dependency.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/dependencies/get_error_rate_charts_for_dependency.ts rename to x-pack/plugins/observability_solution/apm/server/routes/dependencies/get_error_rate_charts_for_dependency.ts diff --git a/x-pack/plugins/apm/server/routes/dependencies/get_latency_charts_for_dependency.ts b/x-pack/plugins/observability_solution/apm/server/routes/dependencies/get_latency_charts_for_dependency.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/dependencies/get_latency_charts_for_dependency.ts rename to x-pack/plugins/observability_solution/apm/server/routes/dependencies/get_latency_charts_for_dependency.ts diff --git a/x-pack/plugins/apm/server/routes/dependencies/get_metadata_for_dependency.ts b/x-pack/plugins/observability_solution/apm/server/routes/dependencies/get_metadata_for_dependency.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/dependencies/get_metadata_for_dependency.ts rename to x-pack/plugins/observability_solution/apm/server/routes/dependencies/get_metadata_for_dependency.ts diff --git a/x-pack/plugins/apm/server/routes/dependencies/get_throughput_charts_for_dependency.ts b/x-pack/plugins/observability_solution/apm/server/routes/dependencies/get_throughput_charts_for_dependency.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/dependencies/get_throughput_charts_for_dependency.ts rename to x-pack/plugins/observability_solution/apm/server/routes/dependencies/get_throughput_charts_for_dependency.ts diff --git a/x-pack/plugins/apm/server/routes/dependencies/get_top_dependencies.ts b/x-pack/plugins/observability_solution/apm/server/routes/dependencies/get_top_dependencies.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/dependencies/get_top_dependencies.ts rename to x-pack/plugins/observability_solution/apm/server/routes/dependencies/get_top_dependencies.ts diff --git a/x-pack/plugins/apm/server/routes/dependencies/get_top_dependency_operations.ts b/x-pack/plugins/observability_solution/apm/server/routes/dependencies/get_top_dependency_operations.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/dependencies/get_top_dependency_operations.ts rename to x-pack/plugins/observability_solution/apm/server/routes/dependencies/get_top_dependency_operations.ts diff --git a/x-pack/plugins/apm/server/routes/dependencies/get_top_dependency_spans.ts b/x-pack/plugins/observability_solution/apm/server/routes/dependencies/get_top_dependency_spans.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/dependencies/get_top_dependency_spans.ts rename to x-pack/plugins/observability_solution/apm/server/routes/dependencies/get_top_dependency_spans.ts diff --git a/x-pack/plugins/apm/server/routes/dependencies/get_upstream_services_for_dependency.ts b/x-pack/plugins/observability_solution/apm/server/routes/dependencies/get_upstream_services_for_dependency.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/dependencies/get_upstream_services_for_dependency.ts rename to x-pack/plugins/observability_solution/apm/server/routes/dependencies/get_upstream_services_for_dependency.ts diff --git a/x-pack/plugins/apm/server/routes/dependencies/route.ts b/x-pack/plugins/observability_solution/apm/server/routes/dependencies/route.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/dependencies/route.ts rename to x-pack/plugins/observability_solution/apm/server/routes/dependencies/route.ts diff --git a/x-pack/plugins/apm/server/routes/diagnostics/bundle/get_apm_events.ts b/x-pack/plugins/observability_solution/apm/server/routes/diagnostics/bundle/get_apm_events.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/diagnostics/bundle/get_apm_events.ts rename to x-pack/plugins/observability_solution/apm/server/routes/diagnostics/bundle/get_apm_events.ts diff --git a/x-pack/plugins/apm/server/routes/diagnostics/bundle/get_data_streams.ts b/x-pack/plugins/observability_solution/apm/server/routes/diagnostics/bundle/get_data_streams.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/diagnostics/bundle/get_data_streams.ts rename to x-pack/plugins/observability_solution/apm/server/routes/diagnostics/bundle/get_data_streams.ts diff --git a/x-pack/plugins/apm/server/routes/diagnostics/bundle/get_existing_index_templates.ts b/x-pack/plugins/observability_solution/apm/server/routes/diagnostics/bundle/get_existing_index_templates.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/diagnostics/bundle/get_existing_index_templates.ts rename to x-pack/plugins/observability_solution/apm/server/routes/diagnostics/bundle/get_existing_index_templates.ts diff --git a/x-pack/plugins/apm/server/routes/diagnostics/bundle/get_field_caps.ts b/x-pack/plugins/observability_solution/apm/server/routes/diagnostics/bundle/get_field_caps.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/diagnostics/bundle/get_field_caps.ts rename to x-pack/plugins/observability_solution/apm/server/routes/diagnostics/bundle/get_field_caps.ts diff --git a/x-pack/plugins/apm/server/routes/diagnostics/bundle/get_index_template.ts b/x-pack/plugins/observability_solution/apm/server/routes/diagnostics/bundle/get_index_template.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/diagnostics/bundle/get_index_template.ts rename to x-pack/plugins/observability_solution/apm/server/routes/diagnostics/bundle/get_index_template.ts diff --git a/x-pack/plugins/apm/server/routes/diagnostics/bundle/get_index_templates_by_index_pattern.ts b/x-pack/plugins/observability_solution/apm/server/routes/diagnostics/bundle/get_index_templates_by_index_pattern.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/diagnostics/bundle/get_index_templates_by_index_pattern.ts rename to x-pack/plugins/observability_solution/apm/server/routes/diagnostics/bundle/get_index_templates_by_index_pattern.ts diff --git a/x-pack/plugins/apm/server/routes/diagnostics/bundle/get_indices.ts b/x-pack/plugins/observability_solution/apm/server/routes/diagnostics/bundle/get_indices.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/diagnostics/bundle/get_indices.ts rename to x-pack/plugins/observability_solution/apm/server/routes/diagnostics/bundle/get_indices.ts diff --git a/x-pack/plugins/apm/server/routes/diagnostics/bundle/get_indices_states.ts b/x-pack/plugins/observability_solution/apm/server/routes/diagnostics/bundle/get_indices_states.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/diagnostics/bundle/get_indices_states.ts rename to x-pack/plugins/observability_solution/apm/server/routes/diagnostics/bundle/get_indices_states.ts diff --git a/x-pack/plugins/apm/server/routes/diagnostics/bundle/get_non_data_stream_indices.ts b/x-pack/plugins/observability_solution/apm/server/routes/diagnostics/bundle/get_non_data_stream_indices.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/diagnostics/bundle/get_non_data_stream_indices.ts rename to x-pack/plugins/observability_solution/apm/server/routes/diagnostics/bundle/get_non_data_stream_indices.ts diff --git a/x-pack/plugins/apm/server/routes/diagnostics/create_typed_es_client.ts b/x-pack/plugins/observability_solution/apm/server/routes/diagnostics/create_typed_es_client.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/diagnostics/create_typed_es_client.ts rename to x-pack/plugins/observability_solution/apm/server/routes/diagnostics/create_typed_es_client.ts diff --git a/x-pack/plugins/apm/server/routes/diagnostics/get_diagnostics_bundle.ts b/x-pack/plugins/observability_solution/apm/server/routes/diagnostics/get_diagnostics_bundle.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/diagnostics/get_diagnostics_bundle.ts rename to x-pack/plugins/observability_solution/apm/server/routes/diagnostics/get_diagnostics_bundle.ts diff --git a/x-pack/plugins/apm/server/routes/diagnostics/get_elasticsearch_version.ts b/x-pack/plugins/observability_solution/apm/server/routes/diagnostics/get_elasticsearch_version.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/diagnostics/get_elasticsearch_version.ts rename to x-pack/plugins/observability_solution/apm/server/routes/diagnostics/get_elasticsearch_version.ts diff --git a/x-pack/plugins/apm/server/routes/diagnostics/get_fleet_package_info.ts b/x-pack/plugins/observability_solution/apm/server/routes/diagnostics/get_fleet_package_info.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/diagnostics/get_fleet_package_info.ts rename to x-pack/plugins/observability_solution/apm/server/routes/diagnostics/get_fleet_package_info.ts diff --git a/x-pack/plugins/apm/server/routes/diagnostics/helpers/get_apm_index_template_names.ts b/x-pack/plugins/observability_solution/apm/server/routes/diagnostics/helpers/get_apm_index_template_names.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/diagnostics/helpers/get_apm_index_template_names.ts rename to x-pack/plugins/observability_solution/apm/server/routes/diagnostics/helpers/get_apm_index_template_names.ts diff --git a/x-pack/plugins/apm/server/routes/diagnostics/helpers/get_diagnostic_privileges.ts b/x-pack/plugins/observability_solution/apm/server/routes/diagnostics/helpers/get_diagnostic_privileges.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/diagnostics/helpers/get_diagnostic_privileges.ts rename to x-pack/plugins/observability_solution/apm/server/routes/diagnostics/helpers/get_diagnostic_privileges.ts diff --git a/x-pack/plugins/apm/server/routes/diagnostics/helpers/handle_exceptions.ts b/x-pack/plugins/observability_solution/apm/server/routes/diagnostics/helpers/handle_exceptions.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/diagnostics/helpers/handle_exceptions.ts rename to x-pack/plugins/observability_solution/apm/server/routes/diagnostics/helpers/handle_exceptions.ts diff --git a/x-pack/plugins/apm/server/routes/diagnostics/route.ts b/x-pack/plugins/observability_solution/apm/server/routes/diagnostics/route.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/diagnostics/route.ts rename to x-pack/plugins/observability_solution/apm/server/routes/diagnostics/route.ts diff --git a/x-pack/plugins/apm/server/routes/environments/__snapshots__/get_all_environments.test.ts.snap b/x-pack/plugins/observability_solution/apm/server/routes/environments/__snapshots__/get_all_environments.test.ts.snap similarity index 100% rename from x-pack/plugins/apm/server/routes/environments/__snapshots__/get_all_environments.test.ts.snap rename to x-pack/plugins/observability_solution/apm/server/routes/environments/__snapshots__/get_all_environments.test.ts.snap diff --git a/x-pack/plugins/apm/server/routes/environments/get_all_environments.test.ts b/x-pack/plugins/observability_solution/apm/server/routes/environments/get_all_environments.test.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/environments/get_all_environments.test.ts rename to x-pack/plugins/observability_solution/apm/server/routes/environments/get_all_environments.test.ts diff --git a/x-pack/plugins/apm/server/routes/environments/get_all_environments.ts b/x-pack/plugins/observability_solution/apm/server/routes/environments/get_all_environments.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/environments/get_all_environments.ts rename to x-pack/plugins/observability_solution/apm/server/routes/environments/get_all_environments.ts diff --git a/x-pack/plugins/apm/server/routes/environments/get_environments.ts b/x-pack/plugins/observability_solution/apm/server/routes/environments/get_environments.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/environments/get_environments.ts rename to x-pack/plugins/observability_solution/apm/server/routes/environments/get_environments.ts diff --git a/x-pack/plugins/apm/server/routes/environments/route.ts b/x-pack/plugins/observability_solution/apm/server/routes/environments/route.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/environments/route.ts rename to x-pack/plugins/observability_solution/apm/server/routes/environments/route.ts diff --git a/x-pack/plugins/apm/server/routes/errors/distribution/__snapshots__/get_buckets.test.ts.snap b/x-pack/plugins/observability_solution/apm/server/routes/errors/distribution/__snapshots__/get_buckets.test.ts.snap similarity index 100% rename from x-pack/plugins/apm/server/routes/errors/distribution/__snapshots__/get_buckets.test.ts.snap rename to x-pack/plugins/observability_solution/apm/server/routes/errors/distribution/__snapshots__/get_buckets.test.ts.snap diff --git a/x-pack/plugins/apm/server/routes/errors/distribution/__snapshots__/queries.test.ts.snap b/x-pack/plugins/observability_solution/apm/server/routes/errors/distribution/__snapshots__/queries.test.ts.snap similarity index 100% rename from x-pack/plugins/apm/server/routes/errors/distribution/__snapshots__/queries.test.ts.snap rename to x-pack/plugins/observability_solution/apm/server/routes/errors/distribution/__snapshots__/queries.test.ts.snap diff --git a/x-pack/plugins/apm/server/routes/errors/distribution/get_buckets.test.ts b/x-pack/plugins/observability_solution/apm/server/routes/errors/distribution/get_buckets.test.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/errors/distribution/get_buckets.test.ts rename to x-pack/plugins/observability_solution/apm/server/routes/errors/distribution/get_buckets.test.ts diff --git a/x-pack/plugins/apm/server/routes/errors/distribution/get_buckets.ts b/x-pack/plugins/observability_solution/apm/server/routes/errors/distribution/get_buckets.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/errors/distribution/get_buckets.ts rename to x-pack/plugins/observability_solution/apm/server/routes/errors/distribution/get_buckets.ts diff --git a/x-pack/plugins/apm/server/routes/errors/distribution/get_distribution.ts b/x-pack/plugins/observability_solution/apm/server/routes/errors/distribution/get_distribution.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/errors/distribution/get_distribution.ts rename to x-pack/plugins/observability_solution/apm/server/routes/errors/distribution/get_distribution.ts diff --git a/x-pack/plugins/apm/server/routes/errors/distribution/queries.test.ts b/x-pack/plugins/observability_solution/apm/server/routes/errors/distribution/queries.test.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/errors/distribution/queries.test.ts rename to x-pack/plugins/observability_solution/apm/server/routes/errors/distribution/queries.test.ts diff --git a/x-pack/plugins/apm/server/routes/errors/erroneous_transactions/get_top_erroneous_transactions.ts b/x-pack/plugins/observability_solution/apm/server/routes/errors/erroneous_transactions/get_top_erroneous_transactions.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/errors/erroneous_transactions/get_top_erroneous_transactions.ts rename to x-pack/plugins/observability_solution/apm/server/routes/errors/erroneous_transactions/get_top_erroneous_transactions.ts diff --git a/x-pack/plugins/apm/server/routes/errors/get_error_groups/get_error_group_detailed_statistics.ts b/x-pack/plugins/observability_solution/apm/server/routes/errors/get_error_groups/get_error_group_detailed_statistics.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/errors/get_error_groups/get_error_group_detailed_statistics.ts rename to x-pack/plugins/observability_solution/apm/server/routes/errors/get_error_groups/get_error_group_detailed_statistics.ts diff --git a/x-pack/plugins/apm/server/routes/errors/get_error_groups/get_error_group_main_statistics.ts b/x-pack/plugins/observability_solution/apm/server/routes/errors/get_error_groups/get_error_group_main_statistics.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/errors/get_error_groups/get_error_group_main_statistics.ts rename to x-pack/plugins/observability_solution/apm/server/routes/errors/get_error_groups/get_error_group_main_statistics.ts diff --git a/x-pack/plugins/apm/server/routes/errors/get_error_groups/get_error_group_sample_ids.ts b/x-pack/plugins/observability_solution/apm/server/routes/errors/get_error_groups/get_error_group_sample_ids.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/errors/get_error_groups/get_error_group_sample_ids.ts rename to x-pack/plugins/observability_solution/apm/server/routes/errors/get_error_groups/get_error_group_sample_ids.ts diff --git a/x-pack/plugins/apm/server/routes/errors/get_error_groups/get_error_sample_details.ts b/x-pack/plugins/observability_solution/apm/server/routes/errors/get_error_groups/get_error_sample_details.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/errors/get_error_groups/get_error_sample_details.ts rename to x-pack/plugins/observability_solution/apm/server/routes/errors/get_error_groups/get_error_sample_details.ts diff --git a/x-pack/plugins/apm/server/routes/errors/route.ts b/x-pack/plugins/observability_solution/apm/server/routes/errors/route.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/errors/route.ts rename to x-pack/plugins/observability_solution/apm/server/routes/errors/route.ts diff --git a/x-pack/plugins/apm/server/routes/event_metadata/get_event_metadata.ts b/x-pack/plugins/observability_solution/apm/server/routes/event_metadata/get_event_metadata.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/event_metadata/get_event_metadata.ts rename to x-pack/plugins/observability_solution/apm/server/routes/event_metadata/get_event_metadata.ts diff --git a/x-pack/plugins/apm/server/routes/event_metadata/route.ts b/x-pack/plugins/observability_solution/apm/server/routes/event_metadata/route.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/event_metadata/route.ts rename to x-pack/plugins/observability_solution/apm/server/routes/event_metadata/route.ts diff --git a/x-pack/plugins/apm/server/routes/fallback_to_transactions/route.ts b/x-pack/plugins/observability_solution/apm/server/routes/fallback_to_transactions/route.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/fallback_to_transactions/route.ts rename to x-pack/plugins/observability_solution/apm/server/routes/fallback_to_transactions/route.ts diff --git a/x-pack/plugins/apm/server/routes/fleet/api_keys/add_api_keys_to_policies_if_missing.ts b/x-pack/plugins/observability_solution/apm/server/routes/fleet/api_keys/add_api_keys_to_policies_if_missing.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/fleet/api_keys/add_api_keys_to_policies_if_missing.ts rename to x-pack/plugins/observability_solution/apm/server/routes/fleet/api_keys/add_api_keys_to_policies_if_missing.ts diff --git a/x-pack/plugins/apm/server/routes/fleet/api_keys/create_apm_api_keys.ts b/x-pack/plugins/observability_solution/apm/server/routes/fleet/api_keys/create_apm_api_keys.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/fleet/api_keys/create_apm_api_keys.ts rename to x-pack/plugins/observability_solution/apm/server/routes/fleet/api_keys/create_apm_api_keys.ts diff --git a/x-pack/plugins/apm/server/routes/fleet/create_cloud_apm_package_policy.ts b/x-pack/plugins/observability_solution/apm/server/routes/fleet/create_cloud_apm_package_policy.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/fleet/create_cloud_apm_package_policy.ts rename to x-pack/plugins/observability_solution/apm/server/routes/fleet/create_cloud_apm_package_policy.ts diff --git a/x-pack/plugins/apm/server/routes/fleet/get_agents.ts b/x-pack/plugins/observability_solution/apm/server/routes/fleet/get_agents.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/fleet/get_agents.ts rename to x-pack/plugins/observability_solution/apm/server/routes/fleet/get_agents.ts diff --git a/x-pack/plugins/apm/server/routes/fleet/get_apm_package_policies.ts b/x-pack/plugins/observability_solution/apm/server/routes/fleet/get_apm_package_policies.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/fleet/get_apm_package_policies.ts rename to x-pack/plugins/observability_solution/apm/server/routes/fleet/get_apm_package_policies.ts diff --git a/x-pack/plugins/apm/server/routes/fleet/get_apm_package_policy_definition.ts b/x-pack/plugins/observability_solution/apm/server/routes/fleet/get_apm_package_policy_definition.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/fleet/get_apm_package_policy_definition.ts rename to x-pack/plugins/observability_solution/apm/server/routes/fleet/get_apm_package_policy_definition.ts diff --git a/x-pack/plugins/apm/server/routes/fleet/get_cloud_apm_package_policy.ts b/x-pack/plugins/observability_solution/apm/server/routes/fleet/get_cloud_apm_package_policy.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/fleet/get_cloud_apm_package_policy.ts rename to x-pack/plugins/observability_solution/apm/server/routes/fleet/get_cloud_apm_package_policy.ts diff --git a/x-pack/plugins/apm/server/routes/fleet/get_java_agent_versions.test.ts b/x-pack/plugins/observability_solution/apm/server/routes/fleet/get_java_agent_versions.test.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/fleet/get_java_agent_versions.test.ts rename to x-pack/plugins/observability_solution/apm/server/routes/fleet/get_java_agent_versions.test.ts diff --git a/x-pack/plugins/apm/server/routes/fleet/get_java_agent_versions.ts b/x-pack/plugins/observability_solution/apm/server/routes/fleet/get_java_agent_versions.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/fleet/get_java_agent_versions.ts rename to x-pack/plugins/observability_solution/apm/server/routes/fleet/get_java_agent_versions.ts diff --git a/x-pack/plugins/apm/server/routes/fleet/get_latest_apm_package.ts b/x-pack/plugins/observability_solution/apm/server/routes/fleet/get_latest_apm_package.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/fleet/get_latest_apm_package.ts rename to x-pack/plugins/observability_solution/apm/server/routes/fleet/get_latest_apm_package.ts diff --git a/x-pack/plugins/apm/server/routes/fleet/get_package_policy_decorators.ts b/x-pack/plugins/observability_solution/apm/server/routes/fleet/get_package_policy_decorators.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/fleet/get_package_policy_decorators.ts rename to x-pack/plugins/observability_solution/apm/server/routes/fleet/get_package_policy_decorators.ts diff --git a/x-pack/plugins/apm/server/routes/fleet/get_unsupported_apm_server_schema.test.ts b/x-pack/plugins/observability_solution/apm/server/routes/fleet/get_unsupported_apm_server_schema.test.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/fleet/get_unsupported_apm_server_schema.test.ts rename to x-pack/plugins/observability_solution/apm/server/routes/fleet/get_unsupported_apm_server_schema.test.ts diff --git a/x-pack/plugins/apm/server/routes/fleet/get_unsupported_apm_server_schema.ts b/x-pack/plugins/observability_solution/apm/server/routes/fleet/get_unsupported_apm_server_schema.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/fleet/get_unsupported_apm_server_schema.ts rename to x-pack/plugins/observability_solution/apm/server/routes/fleet/get_unsupported_apm_server_schema.ts diff --git a/x-pack/plugins/apm/server/routes/fleet/is_superuser.ts b/x-pack/plugins/observability_solution/apm/server/routes/fleet/is_superuser.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/fleet/is_superuser.ts rename to x-pack/plugins/observability_solution/apm/server/routes/fleet/is_superuser.ts diff --git a/x-pack/plugins/apm/server/routes/fleet/merge_package_policy_with_apm.ts b/x-pack/plugins/observability_solution/apm/server/routes/fleet/merge_package_policy_with_apm.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/fleet/merge_package_policy_with_apm.ts rename to x-pack/plugins/observability_solution/apm/server/routes/fleet/merge_package_policy_with_apm.ts diff --git a/x-pack/plugins/apm/server/routes/fleet/register_fleet_policy_callbacks.ts b/x-pack/plugins/observability_solution/apm/server/routes/fleet/register_fleet_policy_callbacks.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/fleet/register_fleet_policy_callbacks.ts rename to x-pack/plugins/observability_solution/apm/server/routes/fleet/register_fleet_policy_callbacks.ts diff --git a/x-pack/plugins/apm/server/routes/fleet/route.ts b/x-pack/plugins/observability_solution/apm/server/routes/fleet/route.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/fleet/route.ts rename to x-pack/plugins/observability_solution/apm/server/routes/fleet/route.ts diff --git a/x-pack/plugins/apm/server/routes/fleet/run_migration_check.ts b/x-pack/plugins/observability_solution/apm/server/routes/fleet/run_migration_check.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/fleet/run_migration_check.ts rename to x-pack/plugins/observability_solution/apm/server/routes/fleet/run_migration_check.ts diff --git a/x-pack/plugins/apm/server/routes/fleet/source_maps.test.ts b/x-pack/plugins/observability_solution/apm/server/routes/fleet/source_maps.test.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/fleet/source_maps.test.ts rename to x-pack/plugins/observability_solution/apm/server/routes/fleet/source_maps.test.ts diff --git a/x-pack/plugins/apm/server/routes/fleet/source_maps.ts b/x-pack/plugins/observability_solution/apm/server/routes/fleet/source_maps.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/fleet/source_maps.ts rename to x-pack/plugins/observability_solution/apm/server/routes/fleet/source_maps.ts diff --git a/x-pack/plugins/apm/server/routes/fleet/sync_agent_configs_to_apm_package_policies.ts b/x-pack/plugins/observability_solution/apm/server/routes/fleet/sync_agent_configs_to_apm_package_policies.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/fleet/sync_agent_configs_to_apm_package_policies.ts rename to x-pack/plugins/observability_solution/apm/server/routes/fleet/sync_agent_configs_to_apm_package_policies.ts diff --git a/x-pack/plugins/apm/server/routes/fleet/translate_legacy_schema_paths.test.ts b/x-pack/plugins/observability_solution/apm/server/routes/fleet/translate_legacy_schema_paths.test.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/fleet/translate_legacy_schema_paths.test.ts rename to x-pack/plugins/observability_solution/apm/server/routes/fleet/translate_legacy_schema_paths.test.ts diff --git a/x-pack/plugins/apm/server/routes/fleet/translate_legacy_schema_paths.ts b/x-pack/plugins/observability_solution/apm/server/routes/fleet/translate_legacy_schema_paths.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/fleet/translate_legacy_schema_paths.ts rename to x-pack/plugins/observability_solution/apm/server/routes/fleet/translate_legacy_schema_paths.ts diff --git a/x-pack/plugins/apm/server/routes/historical_data/has_historical_agent_data.ts b/x-pack/plugins/observability_solution/apm/server/routes/historical_data/has_historical_agent_data.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/historical_data/has_historical_agent_data.ts rename to x-pack/plugins/observability_solution/apm/server/routes/historical_data/has_historical_agent_data.ts diff --git a/x-pack/plugins/apm/server/routes/historical_data/route.ts b/x-pack/plugins/observability_solution/apm/server/routes/historical_data/route.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/historical_data/route.ts rename to x-pack/plugins/observability_solution/apm/server/routes/historical_data/route.ts diff --git a/x-pack/plugins/apm/server/routes/infrastructure/get_host_names.ts b/x-pack/plugins/observability_solution/apm/server/routes/infrastructure/get_host_names.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/infrastructure/get_host_names.ts rename to x-pack/plugins/observability_solution/apm/server/routes/infrastructure/get_host_names.ts diff --git a/x-pack/plugins/apm/server/routes/infrastructure/get_infrastructure_data.ts b/x-pack/plugins/observability_solution/apm/server/routes/infrastructure/get_infrastructure_data.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/infrastructure/get_infrastructure_data.ts rename to x-pack/plugins/observability_solution/apm/server/routes/infrastructure/get_infrastructure_data.ts diff --git a/x-pack/plugins/apm/server/routes/infrastructure/route.ts b/x-pack/plugins/observability_solution/apm/server/routes/infrastructure/route.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/infrastructure/route.ts rename to x-pack/plugins/observability_solution/apm/server/routes/infrastructure/route.ts diff --git a/x-pack/plugins/apm/server/routes/latency_distribution/get_overall_latency_distribution.ts b/x-pack/plugins/observability_solution/apm/server/routes/latency_distribution/get_overall_latency_distribution.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/latency_distribution/get_overall_latency_distribution.ts rename to x-pack/plugins/observability_solution/apm/server/routes/latency_distribution/get_overall_latency_distribution.ts diff --git a/x-pack/plugins/apm/server/routes/latency_distribution/get_percentile_threshold_value.ts b/x-pack/plugins/observability_solution/apm/server/routes/latency_distribution/get_percentile_threshold_value.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/latency_distribution/get_percentile_threshold_value.ts rename to x-pack/plugins/observability_solution/apm/server/routes/latency_distribution/get_percentile_threshold_value.ts diff --git a/x-pack/plugins/apm/server/routes/latency_distribution/route.ts b/x-pack/plugins/observability_solution/apm/server/routes/latency_distribution/route.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/latency_distribution/route.ts rename to x-pack/plugins/observability_solution/apm/server/routes/latency_distribution/route.ts diff --git a/x-pack/plugins/apm/server/routes/latency_distribution/types.ts b/x-pack/plugins/observability_solution/apm/server/routes/latency_distribution/types.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/latency_distribution/types.ts rename to x-pack/plugins/observability_solution/apm/server/routes/latency_distribution/types.ts diff --git a/x-pack/plugins/apm/server/routes/metrics/__snapshots__/queries.test.ts.snap b/x-pack/plugins/observability_solution/apm/server/routes/metrics/__snapshots__/queries.test.ts.snap similarity index 100% rename from x-pack/plugins/apm/server/routes/metrics/__snapshots__/queries.test.ts.snap rename to x-pack/plugins/observability_solution/apm/server/routes/metrics/__snapshots__/queries.test.ts.snap diff --git a/x-pack/plugins/apm/server/routes/metrics/by_agent/default.ts b/x-pack/plugins/observability_solution/apm/server/routes/metrics/by_agent/default.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/metrics/by_agent/default.ts rename to x-pack/plugins/observability_solution/apm/server/routes/metrics/by_agent/default.ts diff --git a/x-pack/plugins/apm/server/routes/metrics/by_agent/java/gc/fetch_and_transform_gc_metrics.test.ts b/x-pack/plugins/observability_solution/apm/server/routes/metrics/by_agent/java/gc/fetch_and_transform_gc_metrics.test.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/metrics/by_agent/java/gc/fetch_and_transform_gc_metrics.test.ts rename to x-pack/plugins/observability_solution/apm/server/routes/metrics/by_agent/java/gc/fetch_and_transform_gc_metrics.test.ts diff --git a/x-pack/plugins/apm/server/routes/metrics/by_agent/java/gc/fetch_and_transform_gc_metrics.ts b/x-pack/plugins/observability_solution/apm/server/routes/metrics/by_agent/java/gc/fetch_and_transform_gc_metrics.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/metrics/by_agent/java/gc/fetch_and_transform_gc_metrics.ts rename to x-pack/plugins/observability_solution/apm/server/routes/metrics/by_agent/java/gc/fetch_and_transform_gc_metrics.ts diff --git a/x-pack/plugins/apm/server/routes/metrics/by_agent/java/gc/get_gc_rate_chart.ts b/x-pack/plugins/observability_solution/apm/server/routes/metrics/by_agent/java/gc/get_gc_rate_chart.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/metrics/by_agent/java/gc/get_gc_rate_chart.ts rename to x-pack/plugins/observability_solution/apm/server/routes/metrics/by_agent/java/gc/get_gc_rate_chart.ts diff --git a/x-pack/plugins/apm/server/routes/metrics/by_agent/java/gc/get_gc_time_chart.ts b/x-pack/plugins/observability_solution/apm/server/routes/metrics/by_agent/java/gc/get_gc_time_chart.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/metrics/by_agent/java/gc/get_gc_time_chart.ts rename to x-pack/plugins/observability_solution/apm/server/routes/metrics/by_agent/java/gc/get_gc_time_chart.ts diff --git a/x-pack/plugins/apm/server/routes/metrics/by_agent/java/heap_memory/index.ts b/x-pack/plugins/observability_solution/apm/server/routes/metrics/by_agent/java/heap_memory/index.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/metrics/by_agent/java/heap_memory/index.ts rename to x-pack/plugins/observability_solution/apm/server/routes/metrics/by_agent/java/heap_memory/index.ts diff --git a/x-pack/plugins/apm/server/routes/metrics/by_agent/java/index.ts b/x-pack/plugins/observability_solution/apm/server/routes/metrics/by_agent/java/index.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/metrics/by_agent/java/index.ts rename to x-pack/plugins/observability_solution/apm/server/routes/metrics/by_agent/java/index.ts diff --git a/x-pack/plugins/apm/server/routes/metrics/by_agent/java/non_heap_memory/index.ts b/x-pack/plugins/observability_solution/apm/server/routes/metrics/by_agent/java/non_heap_memory/index.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/metrics/by_agent/java/non_heap_memory/index.ts rename to x-pack/plugins/observability_solution/apm/server/routes/metrics/by_agent/java/non_heap_memory/index.ts diff --git a/x-pack/plugins/apm/server/routes/metrics/by_agent/java/otel_cpu/index.ts b/x-pack/plugins/observability_solution/apm/server/routes/metrics/by_agent/java/otel_cpu/index.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/metrics/by_agent/java/otel_cpu/index.ts rename to x-pack/plugins/observability_solution/apm/server/routes/metrics/by_agent/java/otel_cpu/index.ts diff --git a/x-pack/plugins/apm/server/routes/metrics/by_agent/java/thread_count/index.ts b/x-pack/plugins/observability_solution/apm/server/routes/metrics/by_agent/java/thread_count/index.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/metrics/by_agent/java/thread_count/index.ts rename to x-pack/plugins/observability_solution/apm/server/routes/metrics/by_agent/java/thread_count/index.ts diff --git a/x-pack/plugins/apm/server/routes/metrics/by_agent/shared/cpu/index.ts b/x-pack/plugins/observability_solution/apm/server/routes/metrics/by_agent/shared/cpu/index.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/metrics/by_agent/shared/cpu/index.ts rename to x-pack/plugins/observability_solution/apm/server/routes/metrics/by_agent/shared/cpu/index.ts diff --git a/x-pack/plugins/apm/server/routes/metrics/by_agent/shared/memory/index.ts b/x-pack/plugins/observability_solution/apm/server/routes/metrics/by_agent/shared/memory/index.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/metrics/by_agent/shared/memory/index.ts rename to x-pack/plugins/observability_solution/apm/server/routes/metrics/by_agent/shared/memory/index.ts diff --git a/x-pack/plugins/apm/server/routes/metrics/fetch_and_transform_metrics.ts b/x-pack/plugins/observability_solution/apm/server/routes/metrics/fetch_and_transform_metrics.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/metrics/fetch_and_transform_metrics.ts rename to x-pack/plugins/observability_solution/apm/server/routes/metrics/fetch_and_transform_metrics.ts diff --git a/x-pack/plugins/apm/server/routes/metrics/get_metrics_chart_data_by_agent.ts b/x-pack/plugins/observability_solution/apm/server/routes/metrics/get_metrics_chart_data_by_agent.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/metrics/get_metrics_chart_data_by_agent.ts rename to x-pack/plugins/observability_solution/apm/server/routes/metrics/get_metrics_chart_data_by_agent.ts diff --git a/x-pack/plugins/apm/server/routes/metrics/get_service_nodes.ts b/x-pack/plugins/observability_solution/apm/server/routes/metrics/get_service_nodes.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/metrics/get_service_nodes.ts rename to x-pack/plugins/observability_solution/apm/server/routes/metrics/get_service_nodes.ts diff --git a/x-pack/plugins/apm/server/routes/metrics/has_otel_metrics.ts b/x-pack/plugins/observability_solution/apm/server/routes/metrics/has_otel_metrics.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/metrics/has_otel_metrics.ts rename to x-pack/plugins/observability_solution/apm/server/routes/metrics/has_otel_metrics.ts diff --git a/x-pack/plugins/apm/server/routes/metrics/queries.test.ts b/x-pack/plugins/observability_solution/apm/server/routes/metrics/queries.test.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/metrics/queries.test.ts rename to x-pack/plugins/observability_solution/apm/server/routes/metrics/queries.test.ts diff --git a/x-pack/plugins/apm/server/routes/metrics/route.ts b/x-pack/plugins/observability_solution/apm/server/routes/metrics/route.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/metrics/route.ts rename to x-pack/plugins/observability_solution/apm/server/routes/metrics/route.ts diff --git a/x-pack/plugins/apm/server/routes/metrics/serverless/get_active_instances_overview.ts b/x-pack/plugins/observability_solution/apm/server/routes/metrics/serverless/get_active_instances_overview.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/metrics/serverless/get_active_instances_overview.ts rename to x-pack/plugins/observability_solution/apm/server/routes/metrics/serverless/get_active_instances_overview.ts diff --git a/x-pack/plugins/apm/server/routes/metrics/serverless/get_active_instances_timeseries.ts b/x-pack/plugins/observability_solution/apm/server/routes/metrics/serverless/get_active_instances_timeseries.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/metrics/serverless/get_active_instances_timeseries.ts rename to x-pack/plugins/observability_solution/apm/server/routes/metrics/serverless/get_active_instances_timeseries.ts diff --git a/x-pack/plugins/apm/server/routes/metrics/serverless/get_cold_start_count_chart.ts b/x-pack/plugins/observability_solution/apm/server/routes/metrics/serverless/get_cold_start_count_chart.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/metrics/serverless/get_cold_start_count_chart.ts rename to x-pack/plugins/observability_solution/apm/server/routes/metrics/serverless/get_cold_start_count_chart.ts diff --git a/x-pack/plugins/apm/server/routes/metrics/serverless/get_cold_start_duration_chart.ts b/x-pack/plugins/observability_solution/apm/server/routes/metrics/serverless/get_cold_start_duration_chart.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/metrics/serverless/get_cold_start_duration_chart.ts rename to x-pack/plugins/observability_solution/apm/server/routes/metrics/serverless/get_cold_start_duration_chart.ts diff --git a/x-pack/plugins/apm/server/routes/metrics/serverless/get_compute_usage_chart.ts b/x-pack/plugins/observability_solution/apm/server/routes/metrics/serverless/get_compute_usage_chart.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/metrics/serverless/get_compute_usage_chart.ts rename to x-pack/plugins/observability_solution/apm/server/routes/metrics/serverless/get_compute_usage_chart.ts diff --git a/x-pack/plugins/apm/server/routes/metrics/serverless/get_serverless_agent_metrics_chart.ts b/x-pack/plugins/observability_solution/apm/server/routes/metrics/serverless/get_serverless_agent_metrics_chart.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/metrics/serverless/get_serverless_agent_metrics_chart.ts rename to x-pack/plugins/observability_solution/apm/server/routes/metrics/serverless/get_serverless_agent_metrics_chart.ts diff --git a/x-pack/plugins/apm/server/routes/metrics/serverless/get_serverless_function_latency_chart.ts b/x-pack/plugins/observability_solution/apm/server/routes/metrics/serverless/get_serverless_function_latency_chart.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/metrics/serverless/get_serverless_function_latency_chart.ts rename to x-pack/plugins/observability_solution/apm/server/routes/metrics/serverless/get_serverless_function_latency_chart.ts diff --git a/x-pack/plugins/apm/server/routes/metrics/serverless/get_serverless_functions_overview.ts b/x-pack/plugins/observability_solution/apm/server/routes/metrics/serverless/get_serverless_functions_overview.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/metrics/serverless/get_serverless_functions_overview.ts rename to x-pack/plugins/observability_solution/apm/server/routes/metrics/serverless/get_serverless_functions_overview.ts diff --git a/x-pack/plugins/apm/server/routes/metrics/serverless/get_serverless_summary.ts b/x-pack/plugins/observability_solution/apm/server/routes/metrics/serverless/get_serverless_summary.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/metrics/serverless/get_serverless_summary.ts rename to x-pack/plugins/observability_solution/apm/server/routes/metrics/serverless/get_serverless_summary.ts diff --git a/x-pack/plugins/apm/server/routes/metrics/serverless/helper.test.ts b/x-pack/plugins/observability_solution/apm/server/routes/metrics/serverless/helper.test.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/metrics/serverless/helper.test.ts rename to x-pack/plugins/observability_solution/apm/server/routes/metrics/serverless/helper.test.ts diff --git a/x-pack/plugins/apm/server/routes/metrics/serverless/helper.ts b/x-pack/plugins/observability_solution/apm/server/routes/metrics/serverless/helper.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/metrics/serverless/helper.ts rename to x-pack/plugins/observability_solution/apm/server/routes/metrics/serverless/helper.ts diff --git a/x-pack/plugins/apm/server/routes/metrics/serverless/route.ts b/x-pack/plugins/observability_solution/apm/server/routes/metrics/serverless/route.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/metrics/serverless/route.ts rename to x-pack/plugins/observability_solution/apm/server/routes/metrics/serverless/route.ts diff --git a/x-pack/plugins/apm/server/routes/metrics/types.ts b/x-pack/plugins/observability_solution/apm/server/routes/metrics/types.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/metrics/types.ts rename to x-pack/plugins/observability_solution/apm/server/routes/metrics/types.ts diff --git a/x-pack/plugins/apm/server/routes/mobile/crashes/distribution/__snapshots__/get_buckets.test.ts.snap b/x-pack/plugins/observability_solution/apm/server/routes/mobile/crashes/distribution/__snapshots__/get_buckets.test.ts.snap similarity index 100% rename from x-pack/plugins/apm/server/routes/mobile/crashes/distribution/__snapshots__/get_buckets.test.ts.snap rename to x-pack/plugins/observability_solution/apm/server/routes/mobile/crashes/distribution/__snapshots__/get_buckets.test.ts.snap diff --git a/x-pack/plugins/apm/server/routes/mobile/crashes/distribution/__snapshots__/queries.test.ts.snap b/x-pack/plugins/observability_solution/apm/server/routes/mobile/crashes/distribution/__snapshots__/queries.test.ts.snap similarity index 100% rename from x-pack/plugins/apm/server/routes/mobile/crashes/distribution/__snapshots__/queries.test.ts.snap rename to x-pack/plugins/observability_solution/apm/server/routes/mobile/crashes/distribution/__snapshots__/queries.test.ts.snap diff --git a/x-pack/plugins/apm/server/routes/mobile/crashes/distribution/get_buckets.test.ts b/x-pack/plugins/observability_solution/apm/server/routes/mobile/crashes/distribution/get_buckets.test.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/mobile/crashes/distribution/get_buckets.test.ts rename to x-pack/plugins/observability_solution/apm/server/routes/mobile/crashes/distribution/get_buckets.test.ts diff --git a/x-pack/plugins/apm/server/routes/mobile/crashes/distribution/get_buckets.ts b/x-pack/plugins/observability_solution/apm/server/routes/mobile/crashes/distribution/get_buckets.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/mobile/crashes/distribution/get_buckets.ts rename to x-pack/plugins/observability_solution/apm/server/routes/mobile/crashes/distribution/get_buckets.ts diff --git a/x-pack/plugins/apm/server/routes/mobile/crashes/distribution/get_distribution.ts b/x-pack/plugins/observability_solution/apm/server/routes/mobile/crashes/distribution/get_distribution.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/mobile/crashes/distribution/get_distribution.ts rename to x-pack/plugins/observability_solution/apm/server/routes/mobile/crashes/distribution/get_distribution.ts diff --git a/x-pack/plugins/apm/server/routes/mobile/crashes/distribution/queries.test.ts b/x-pack/plugins/observability_solution/apm/server/routes/mobile/crashes/distribution/queries.test.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/mobile/crashes/distribution/queries.test.ts rename to x-pack/plugins/observability_solution/apm/server/routes/mobile/crashes/distribution/queries.test.ts diff --git a/x-pack/plugins/apm/server/routes/mobile/crashes/get_crash_groups/get_crash_group_main_statistics.ts b/x-pack/plugins/observability_solution/apm/server/routes/mobile/crashes/get_crash_groups/get_crash_group_main_statistics.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/mobile/crashes/get_crash_groups/get_crash_group_main_statistics.ts rename to x-pack/plugins/observability_solution/apm/server/routes/mobile/crashes/get_crash_groups/get_crash_group_main_statistics.ts diff --git a/x-pack/plugins/apm/server/routes/mobile/crashes/get_mobile_crash_group_detailed_statistics.ts b/x-pack/plugins/observability_solution/apm/server/routes/mobile/crashes/get_mobile_crash_group_detailed_statistics.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/mobile/crashes/get_mobile_crash_group_detailed_statistics.ts rename to x-pack/plugins/observability_solution/apm/server/routes/mobile/crashes/get_mobile_crash_group_detailed_statistics.ts diff --git a/x-pack/plugins/apm/server/routes/mobile/crashes/route.ts b/x-pack/plugins/observability_solution/apm/server/routes/mobile/crashes/route.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/mobile/crashes/route.ts rename to x-pack/plugins/observability_solution/apm/server/routes/mobile/crashes/route.ts diff --git a/x-pack/plugins/apm/server/routes/mobile/errors/get_mobile_error_group_detailed_statistics.ts b/x-pack/plugins/observability_solution/apm/server/routes/mobile/errors/get_mobile_error_group_detailed_statistics.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/mobile/errors/get_mobile_error_group_detailed_statistics.ts rename to x-pack/plugins/observability_solution/apm/server/routes/mobile/errors/get_mobile_error_group_detailed_statistics.ts diff --git a/x-pack/plugins/apm/server/routes/mobile/errors/get_mobile_error_group_main_statistics.ts b/x-pack/plugins/observability_solution/apm/server/routes/mobile/errors/get_mobile_error_group_main_statistics.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/mobile/errors/get_mobile_error_group_main_statistics.ts rename to x-pack/plugins/observability_solution/apm/server/routes/mobile/errors/get_mobile_error_group_main_statistics.ts diff --git a/x-pack/plugins/apm/server/routes/mobile/errors/get_mobile_errors_terms_by_field.ts b/x-pack/plugins/observability_solution/apm/server/routes/mobile/errors/get_mobile_errors_terms_by_field.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/mobile/errors/get_mobile_errors_terms_by_field.ts rename to x-pack/plugins/observability_solution/apm/server/routes/mobile/errors/get_mobile_errors_terms_by_field.ts diff --git a/x-pack/plugins/apm/server/routes/mobile/errors/get_mobile_http_errors.ts b/x-pack/plugins/observability_solution/apm/server/routes/mobile/errors/get_mobile_http_errors.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/mobile/errors/get_mobile_http_errors.ts rename to x-pack/plugins/observability_solution/apm/server/routes/mobile/errors/get_mobile_http_errors.ts diff --git a/x-pack/plugins/apm/server/routes/mobile/errors/route.ts b/x-pack/plugins/observability_solution/apm/server/routes/mobile/errors/route.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/mobile/errors/route.ts rename to x-pack/plugins/observability_solution/apm/server/routes/mobile/errors/route.ts diff --git a/x-pack/plugins/apm/server/routes/mobile/get_device_os_app.ts b/x-pack/plugins/observability_solution/apm/server/routes/mobile/get_device_os_app.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/mobile/get_device_os_app.ts rename to x-pack/plugins/observability_solution/apm/server/routes/mobile/get_device_os_app.ts diff --git a/x-pack/plugins/apm/server/routes/mobile/get_mobile_average_launch_time.ts b/x-pack/plugins/observability_solution/apm/server/routes/mobile/get_mobile_average_launch_time.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/mobile/get_mobile_average_launch_time.ts rename to x-pack/plugins/observability_solution/apm/server/routes/mobile/get_mobile_average_launch_time.ts diff --git a/x-pack/plugins/apm/server/routes/mobile/get_mobile_crash_rate.ts b/x-pack/plugins/observability_solution/apm/server/routes/mobile/get_mobile_crash_rate.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/mobile/get_mobile_crash_rate.ts rename to x-pack/plugins/observability_solution/apm/server/routes/mobile/get_mobile_crash_rate.ts diff --git a/x-pack/plugins/apm/server/routes/mobile/get_mobile_crashes_by_location.ts b/x-pack/plugins/observability_solution/apm/server/routes/mobile/get_mobile_crashes_by_location.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/mobile/get_mobile_crashes_by_location.ts rename to x-pack/plugins/observability_solution/apm/server/routes/mobile/get_mobile_crashes_by_location.ts diff --git a/x-pack/plugins/apm/server/routes/mobile/get_mobile_detailed_statistics_by_field.ts b/x-pack/plugins/observability_solution/apm/server/routes/mobile/get_mobile_detailed_statistics_by_field.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/mobile/get_mobile_detailed_statistics_by_field.ts rename to x-pack/plugins/observability_solution/apm/server/routes/mobile/get_mobile_detailed_statistics_by_field.ts diff --git a/x-pack/plugins/apm/server/routes/mobile/get_mobile_filters.ts b/x-pack/plugins/observability_solution/apm/server/routes/mobile/get_mobile_filters.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/mobile/get_mobile_filters.ts rename to x-pack/plugins/observability_solution/apm/server/routes/mobile/get_mobile_filters.ts diff --git a/x-pack/plugins/apm/server/routes/mobile/get_mobile_http_requests.ts b/x-pack/plugins/observability_solution/apm/server/routes/mobile/get_mobile_http_requests.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/mobile/get_mobile_http_requests.ts rename to x-pack/plugins/observability_solution/apm/server/routes/mobile/get_mobile_http_requests.ts diff --git a/x-pack/plugins/apm/server/routes/mobile/get_mobile_http_requests_by_location.ts b/x-pack/plugins/observability_solution/apm/server/routes/mobile/get_mobile_http_requests_by_location.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/mobile/get_mobile_http_requests_by_location.ts rename to x-pack/plugins/observability_solution/apm/server/routes/mobile/get_mobile_http_requests_by_location.ts diff --git a/x-pack/plugins/apm/server/routes/mobile/get_mobile_launches_by_location.ts b/x-pack/plugins/observability_solution/apm/server/routes/mobile/get_mobile_launches_by_location.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/mobile/get_mobile_launches_by_location.ts rename to x-pack/plugins/observability_solution/apm/server/routes/mobile/get_mobile_launches_by_location.ts diff --git a/x-pack/plugins/apm/server/routes/mobile/get_mobile_location_stats.ts b/x-pack/plugins/observability_solution/apm/server/routes/mobile/get_mobile_location_stats.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/mobile/get_mobile_location_stats.ts rename to x-pack/plugins/observability_solution/apm/server/routes/mobile/get_mobile_location_stats.ts diff --git a/x-pack/plugins/apm/server/routes/mobile/get_mobile_main_statistics_by_field.ts b/x-pack/plugins/observability_solution/apm/server/routes/mobile/get_mobile_main_statistics_by_field.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/mobile/get_mobile_main_statistics_by_field.ts rename to x-pack/plugins/observability_solution/apm/server/routes/mobile/get_mobile_main_statistics_by_field.ts diff --git a/x-pack/plugins/apm/server/routes/mobile/get_mobile_most_used_charts/index.ts b/x-pack/plugins/observability_solution/apm/server/routes/mobile/get_mobile_most_used_charts/index.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/mobile/get_mobile_most_used_charts/index.ts rename to x-pack/plugins/observability_solution/apm/server/routes/mobile/get_mobile_most_used_charts/index.ts diff --git a/x-pack/plugins/apm/server/routes/mobile/get_mobile_most_used_charts/merge_other_count.ts b/x-pack/plugins/observability_solution/apm/server/routes/mobile/get_mobile_most_used_charts/merge_other_count.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/mobile/get_mobile_most_used_charts/merge_other_count.ts rename to x-pack/plugins/observability_solution/apm/server/routes/mobile/get_mobile_most_used_charts/merge_other_count.ts diff --git a/x-pack/plugins/apm/server/routes/mobile/get_mobile_sessions.ts b/x-pack/plugins/observability_solution/apm/server/routes/mobile/get_mobile_sessions.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/mobile/get_mobile_sessions.ts rename to x-pack/plugins/observability_solution/apm/server/routes/mobile/get_mobile_sessions.ts diff --git a/x-pack/plugins/apm/server/routes/mobile/get_mobile_sessions_by_location.ts b/x-pack/plugins/observability_solution/apm/server/routes/mobile/get_mobile_sessions_by_location.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/mobile/get_mobile_sessions_by_location.ts rename to x-pack/plugins/observability_solution/apm/server/routes/mobile/get_mobile_sessions_by_location.ts diff --git a/x-pack/plugins/apm/server/routes/mobile/get_mobile_stats.ts b/x-pack/plugins/observability_solution/apm/server/routes/mobile/get_mobile_stats.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/mobile/get_mobile_stats.ts rename to x-pack/plugins/observability_solution/apm/server/routes/mobile/get_mobile_stats.ts diff --git a/x-pack/plugins/apm/server/routes/mobile/get_mobile_terms_by_field.ts b/x-pack/plugins/observability_solution/apm/server/routes/mobile/get_mobile_terms_by_field.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/mobile/get_mobile_terms_by_field.ts rename to x-pack/plugins/observability_solution/apm/server/routes/mobile/get_mobile_terms_by_field.ts diff --git a/x-pack/plugins/apm/server/routes/mobile/get_nct.ts b/x-pack/plugins/observability_solution/apm/server/routes/mobile/get_nct.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/mobile/get_nct.ts rename to x-pack/plugins/observability_solution/apm/server/routes/mobile/get_nct.ts diff --git a/x-pack/plugins/apm/server/routes/mobile/route.ts b/x-pack/plugins/observability_solution/apm/server/routes/mobile/route.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/mobile/route.ts rename to x-pack/plugins/observability_solution/apm/server/routes/mobile/route.ts diff --git a/x-pack/plugins/apm/server/routes/observability_overview/get_observability_overview_data.ts b/x-pack/plugins/observability_solution/apm/server/routes/observability_overview/get_observability_overview_data.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/observability_overview/get_observability_overview_data.ts rename to x-pack/plugins/observability_solution/apm/server/routes/observability_overview/get_observability_overview_data.ts diff --git a/x-pack/plugins/apm/server/routes/observability_overview/get_service_count.ts b/x-pack/plugins/observability_solution/apm/server/routes/observability_overview/get_service_count.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/observability_overview/get_service_count.ts rename to x-pack/plugins/observability_solution/apm/server/routes/observability_overview/get_service_count.ts diff --git a/x-pack/plugins/apm/server/routes/observability_overview/get_transactions_per_minute.ts b/x-pack/plugins/observability_solution/apm/server/routes/observability_overview/get_transactions_per_minute.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/observability_overview/get_transactions_per_minute.ts rename to x-pack/plugins/observability_solution/apm/server/routes/observability_overview/get_transactions_per_minute.ts diff --git a/x-pack/plugins/apm/server/routes/observability_overview/has_data.ts b/x-pack/plugins/observability_solution/apm/server/routes/observability_overview/has_data.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/observability_overview/has_data.ts rename to x-pack/plugins/observability_solution/apm/server/routes/observability_overview/has_data.ts diff --git a/x-pack/plugins/apm/server/routes/observability_overview/route.ts b/x-pack/plugins/observability_solution/apm/server/routes/observability_overview/route.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/observability_overview/route.ts rename to x-pack/plugins/observability_solution/apm/server/routes/observability_overview/route.ts diff --git a/x-pack/plugins/apm/server/routes/profiling/get_service_host_names.ts b/x-pack/plugins/observability_solution/apm/server/routes/profiling/get_service_host_names.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/profiling/get_service_host_names.ts rename to x-pack/plugins/observability_solution/apm/server/routes/profiling/get_service_host_names.ts diff --git a/x-pack/plugins/apm/server/routes/profiling/route.ts b/x-pack/plugins/observability_solution/apm/server/routes/profiling/route.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/profiling/route.ts rename to x-pack/plugins/observability_solution/apm/server/routes/profiling/route.ts diff --git a/x-pack/plugins/apm/server/routes/profiling/utils.test.ts b/x-pack/plugins/observability_solution/apm/server/routes/profiling/utils.test.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/profiling/utils.test.ts rename to x-pack/plugins/observability_solution/apm/server/routes/profiling/utils.test.ts diff --git a/x-pack/plugins/apm/server/routes/profiling/utils.ts b/x-pack/plugins/observability_solution/apm/server/routes/profiling/utils.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/profiling/utils.ts rename to x-pack/plugins/observability_solution/apm/server/routes/profiling/utils.ts diff --git a/x-pack/plugins/apm/server/routes/service_groups/delete_service_group.ts b/x-pack/plugins/observability_solution/apm/server/routes/service_groups/delete_service_group.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/service_groups/delete_service_group.ts rename to x-pack/plugins/observability_solution/apm/server/routes/service_groups/delete_service_group.ts diff --git a/x-pack/plugins/apm/server/routes/service_groups/get_service_group.ts b/x-pack/plugins/observability_solution/apm/server/routes/service_groups/get_service_group.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/service_groups/get_service_group.ts rename to x-pack/plugins/observability_solution/apm/server/routes/service_groups/get_service_group.ts diff --git a/x-pack/plugins/apm/server/routes/service_groups/get_service_group_alerts.ts b/x-pack/plugins/observability_solution/apm/server/routes/service_groups/get_service_group_alerts.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/service_groups/get_service_group_alerts.ts rename to x-pack/plugins/observability_solution/apm/server/routes/service_groups/get_service_group_alerts.ts diff --git a/x-pack/plugins/apm/server/routes/service_groups/get_service_groups.ts b/x-pack/plugins/observability_solution/apm/server/routes/service_groups/get_service_groups.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/service_groups/get_service_groups.ts rename to x-pack/plugins/observability_solution/apm/server/routes/service_groups/get_service_groups.ts diff --git a/x-pack/plugins/apm/server/routes/service_groups/get_services_counts.ts b/x-pack/plugins/observability_solution/apm/server/routes/service_groups/get_services_counts.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/service_groups/get_services_counts.ts rename to x-pack/plugins/observability_solution/apm/server/routes/service_groups/get_services_counts.ts diff --git a/x-pack/plugins/apm/server/routes/service_groups/lookup_services.ts b/x-pack/plugins/observability_solution/apm/server/routes/service_groups/lookup_services.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/service_groups/lookup_services.ts rename to x-pack/plugins/observability_solution/apm/server/routes/service_groups/lookup_services.ts diff --git a/x-pack/plugins/apm/server/routes/service_groups/route.ts b/x-pack/plugins/observability_solution/apm/server/routes/service_groups/route.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/service_groups/route.ts rename to x-pack/plugins/observability_solution/apm/server/routes/service_groups/route.ts diff --git a/x-pack/plugins/apm/server/routes/service_groups/save_service_group.ts b/x-pack/plugins/observability_solution/apm/server/routes/service_groups/save_service_group.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/service_groups/save_service_group.ts rename to x-pack/plugins/observability_solution/apm/server/routes/service_groups/save_service_group.ts diff --git a/x-pack/plugins/apm/server/routes/service_map/fetch_service_paths_from_trace_ids.ts b/x-pack/plugins/observability_solution/apm/server/routes/service_map/fetch_service_paths_from_trace_ids.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/service_map/fetch_service_paths_from_trace_ids.ts rename to x-pack/plugins/observability_solution/apm/server/routes/service_map/fetch_service_paths_from_trace_ids.ts diff --git a/x-pack/plugins/apm/server/routes/service_map/get_service_anomalies.ts b/x-pack/plugins/observability_solution/apm/server/routes/service_map/get_service_anomalies.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/service_map/get_service_anomalies.ts rename to x-pack/plugins/observability_solution/apm/server/routes/service_map/get_service_anomalies.ts diff --git a/x-pack/plugins/apm/server/routes/service_map/get_service_map.ts b/x-pack/plugins/observability_solution/apm/server/routes/service_map/get_service_map.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/service_map/get_service_map.ts rename to x-pack/plugins/observability_solution/apm/server/routes/service_map/get_service_map.ts diff --git a/x-pack/plugins/apm/server/routes/service_map/get_service_map_dependency_node_info.ts b/x-pack/plugins/observability_solution/apm/server/routes/service_map/get_service_map_dependency_node_info.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/service_map/get_service_map_dependency_node_info.ts rename to x-pack/plugins/observability_solution/apm/server/routes/service_map/get_service_map_dependency_node_info.ts diff --git a/x-pack/plugins/apm/server/routes/service_map/get_service_map_from_trace_ids.test.ts b/x-pack/plugins/observability_solution/apm/server/routes/service_map/get_service_map_from_trace_ids.test.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/service_map/get_service_map_from_trace_ids.test.ts rename to x-pack/plugins/observability_solution/apm/server/routes/service_map/get_service_map_from_trace_ids.test.ts diff --git a/x-pack/plugins/apm/server/routes/service_map/get_service_map_from_trace_ids.ts b/x-pack/plugins/observability_solution/apm/server/routes/service_map/get_service_map_from_trace_ids.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/service_map/get_service_map_from_trace_ids.ts rename to x-pack/plugins/observability_solution/apm/server/routes/service_map/get_service_map_from_trace_ids.ts diff --git a/x-pack/plugins/apm/server/routes/service_map/get_service_map_service_node_info.ts b/x-pack/plugins/observability_solution/apm/server/routes/service_map/get_service_map_service_node_info.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/service_map/get_service_map_service_node_info.ts rename to x-pack/plugins/observability_solution/apm/server/routes/service_map/get_service_map_service_node_info.ts diff --git a/x-pack/plugins/apm/server/routes/service_map/get_service_stats.ts b/x-pack/plugins/observability_solution/apm/server/routes/service_map/get_service_stats.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/service_map/get_service_stats.ts rename to x-pack/plugins/observability_solution/apm/server/routes/service_map/get_service_stats.ts diff --git a/x-pack/plugins/apm/server/routes/service_map/get_trace_sample_ids.ts b/x-pack/plugins/observability_solution/apm/server/routes/service_map/get_trace_sample_ids.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/service_map/get_trace_sample_ids.ts rename to x-pack/plugins/observability_solution/apm/server/routes/service_map/get_trace_sample_ids.ts diff --git a/x-pack/plugins/apm/server/routes/service_map/group_resource_nodes.test.ts b/x-pack/plugins/observability_solution/apm/server/routes/service_map/group_resource_nodes.test.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/service_map/group_resource_nodes.test.ts rename to x-pack/plugins/observability_solution/apm/server/routes/service_map/group_resource_nodes.test.ts diff --git a/x-pack/plugins/apm/server/routes/service_map/group_resource_nodes.ts b/x-pack/plugins/observability_solution/apm/server/routes/service_map/group_resource_nodes.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/service_map/group_resource_nodes.ts rename to x-pack/plugins/observability_solution/apm/server/routes/service_map/group_resource_nodes.ts diff --git a/x-pack/plugins/apm/server/routes/service_map/mock_responses/group_resource_nodes_grouped.json b/x-pack/plugins/observability_solution/apm/server/routes/service_map/mock_responses/group_resource_nodes_grouped.json similarity index 100% rename from x-pack/plugins/apm/server/routes/service_map/mock_responses/group_resource_nodes_grouped.json rename to x-pack/plugins/observability_solution/apm/server/routes/service_map/mock_responses/group_resource_nodes_grouped.json diff --git a/x-pack/plugins/apm/server/routes/service_map/mock_responses/group_resource_nodes_pregrouped.json b/x-pack/plugins/observability_solution/apm/server/routes/service_map/mock_responses/group_resource_nodes_pregrouped.json similarity index 100% rename from x-pack/plugins/apm/server/routes/service_map/mock_responses/group_resource_nodes_pregrouped.json rename to x-pack/plugins/observability_solution/apm/server/routes/service_map/mock_responses/group_resource_nodes_pregrouped.json diff --git a/x-pack/plugins/apm/server/routes/service_map/route.ts b/x-pack/plugins/observability_solution/apm/server/routes/service_map/route.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/service_map/route.ts rename to x-pack/plugins/observability_solution/apm/server/routes/service_map/route.ts diff --git a/x-pack/plugins/apm/server/routes/service_map/transform_service_map_responses.test.ts b/x-pack/plugins/observability_solution/apm/server/routes/service_map/transform_service_map_responses.test.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/service_map/transform_service_map_responses.test.ts rename to x-pack/plugins/observability_solution/apm/server/routes/service_map/transform_service_map_responses.test.ts diff --git a/x-pack/plugins/apm/server/routes/service_map/transform_service_map_responses.ts b/x-pack/plugins/observability_solution/apm/server/routes/service_map/transform_service_map_responses.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/service_map/transform_service_map_responses.ts rename to x-pack/plugins/observability_solution/apm/server/routes/service_map/transform_service_map_responses.ts diff --git a/x-pack/plugins/apm/server/routes/services/annotations/__fixtures__/multiple_versions.json b/x-pack/plugins/observability_solution/apm/server/routes/services/annotations/__fixtures__/multiple_versions.json similarity index 100% rename from x-pack/plugins/apm/server/routes/services/annotations/__fixtures__/multiple_versions.json rename to x-pack/plugins/observability_solution/apm/server/routes/services/annotations/__fixtures__/multiple_versions.json diff --git a/x-pack/plugins/apm/server/routes/services/annotations/__fixtures__/no_versions.json b/x-pack/plugins/observability_solution/apm/server/routes/services/annotations/__fixtures__/no_versions.json similarity index 100% rename from x-pack/plugins/apm/server/routes/services/annotations/__fixtures__/no_versions.json rename to x-pack/plugins/observability_solution/apm/server/routes/services/annotations/__fixtures__/no_versions.json diff --git a/x-pack/plugins/apm/server/routes/services/annotations/__fixtures__/one_version.json b/x-pack/plugins/observability_solution/apm/server/routes/services/annotations/__fixtures__/one_version.json similarity index 100% rename from x-pack/plugins/apm/server/routes/services/annotations/__fixtures__/one_version.json rename to x-pack/plugins/observability_solution/apm/server/routes/services/annotations/__fixtures__/one_version.json diff --git a/x-pack/plugins/apm/server/routes/services/annotations/__fixtures__/versions_first_seen.json b/x-pack/plugins/observability_solution/apm/server/routes/services/annotations/__fixtures__/versions_first_seen.json similarity index 100% rename from x-pack/plugins/apm/server/routes/services/annotations/__fixtures__/versions_first_seen.json rename to x-pack/plugins/observability_solution/apm/server/routes/services/annotations/__fixtures__/versions_first_seen.json diff --git a/x-pack/plugins/apm/server/routes/services/annotations/get_derived_service_annotations.ts b/x-pack/plugins/observability_solution/apm/server/routes/services/annotations/get_derived_service_annotations.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/services/annotations/get_derived_service_annotations.ts rename to x-pack/plugins/observability_solution/apm/server/routes/services/annotations/get_derived_service_annotations.ts diff --git a/x-pack/plugins/apm/server/routes/services/annotations/get_stored_annotations.ts b/x-pack/plugins/observability_solution/apm/server/routes/services/annotations/get_stored_annotations.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/services/annotations/get_stored_annotations.ts rename to x-pack/plugins/observability_solution/apm/server/routes/services/annotations/get_stored_annotations.ts diff --git a/x-pack/plugins/apm/server/routes/services/annotations/index.ts b/x-pack/plugins/observability_solution/apm/server/routes/services/annotations/index.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/services/annotations/index.ts rename to x-pack/plugins/observability_solution/apm/server/routes/services/annotations/index.ts diff --git a/x-pack/plugins/apm/server/routes/services/get_service_agent.ts b/x-pack/plugins/observability_solution/apm/server/routes/services/get_service_agent.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/services/get_service_agent.ts rename to x-pack/plugins/observability_solution/apm/server/routes/services/get_service_agent.ts diff --git a/x-pack/plugins/apm/server/routes/services/get_service_dependencies.ts b/x-pack/plugins/observability_solution/apm/server/routes/services/get_service_dependencies.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/services/get_service_dependencies.ts rename to x-pack/plugins/observability_solution/apm/server/routes/services/get_service_dependencies.ts diff --git a/x-pack/plugins/apm/server/routes/services/get_service_dependencies_breakdown.ts b/x-pack/plugins/observability_solution/apm/server/routes/services/get_service_dependencies_breakdown.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/services/get_service_dependencies_breakdown.ts rename to x-pack/plugins/observability_solution/apm/server/routes/services/get_service_dependencies_breakdown.ts diff --git a/x-pack/plugins/apm/server/routes/services/get_service_instance_container_metadata.ts b/x-pack/plugins/observability_solution/apm/server/routes/services/get_service_instance_container_metadata.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/services/get_service_instance_container_metadata.ts rename to x-pack/plugins/observability_solution/apm/server/routes/services/get_service_instance_container_metadata.ts diff --git a/x-pack/plugins/apm/server/routes/services/get_service_instance_metadata_details.ts b/x-pack/plugins/observability_solution/apm/server/routes/services/get_service_instance_metadata_details.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/services/get_service_instance_metadata_details.ts rename to x-pack/plugins/observability_solution/apm/server/routes/services/get_service_instance_metadata_details.ts diff --git a/x-pack/plugins/apm/server/routes/services/get_service_instances/detailed_statistics.ts b/x-pack/plugins/observability_solution/apm/server/routes/services/get_service_instances/detailed_statistics.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/services/get_service_instances/detailed_statistics.ts rename to x-pack/plugins/observability_solution/apm/server/routes/services/get_service_instances/detailed_statistics.ts diff --git a/x-pack/plugins/apm/server/routes/services/get_service_instances/get_service_instances_system_metric_statistics.ts b/x-pack/plugins/observability_solution/apm/server/routes/services/get_service_instances/get_service_instances_system_metric_statistics.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/services/get_service_instances/get_service_instances_system_metric_statistics.ts rename to x-pack/plugins/observability_solution/apm/server/routes/services/get_service_instances/get_service_instances_system_metric_statistics.ts diff --git a/x-pack/plugins/apm/server/routes/services/get_service_instances/get_service_instances_transaction_statistics.ts b/x-pack/plugins/observability_solution/apm/server/routes/services/get_service_instances/get_service_instances_transaction_statistics.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/services/get_service_instances/get_service_instances_transaction_statistics.ts rename to x-pack/plugins/observability_solution/apm/server/routes/services/get_service_instances/get_service_instances_transaction_statistics.ts diff --git a/x-pack/plugins/apm/server/routes/services/get_service_instances/main_statistics.ts b/x-pack/plugins/observability_solution/apm/server/routes/services/get_service_instances/main_statistics.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/services/get_service_instances/main_statistics.ts rename to x-pack/plugins/observability_solution/apm/server/routes/services/get_service_instances/main_statistics.ts diff --git a/x-pack/plugins/apm/server/routes/services/get_service_metadata_details.ts b/x-pack/plugins/observability_solution/apm/server/routes/services/get_service_metadata_details.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/services/get_service_metadata_details.ts rename to x-pack/plugins/observability_solution/apm/server/routes/services/get_service_metadata_details.ts diff --git a/x-pack/plugins/apm/server/routes/services/get_service_metadata_icons.ts b/x-pack/plugins/observability_solution/apm/server/routes/services/get_service_metadata_icons.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/services/get_service_metadata_icons.ts rename to x-pack/plugins/observability_solution/apm/server/routes/services/get_service_metadata_icons.ts diff --git a/x-pack/plugins/apm/server/routes/services/get_service_node_metadata.ts b/x-pack/plugins/observability_solution/apm/server/routes/services/get_service_node_metadata.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/services/get_service_node_metadata.ts rename to x-pack/plugins/observability_solution/apm/server/routes/services/get_service_node_metadata.ts diff --git a/x-pack/plugins/apm/server/routes/services/get_service_overview_container_metadata.ts b/x-pack/plugins/observability_solution/apm/server/routes/services/get_service_overview_container_metadata.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/services/get_service_overview_container_metadata.ts rename to x-pack/plugins/observability_solution/apm/server/routes/services/get_service_overview_container_metadata.ts diff --git a/x-pack/plugins/apm/server/routes/services/get_service_transaction_group_detailed_statistics.ts b/x-pack/plugins/observability_solution/apm/server/routes/services/get_service_transaction_group_detailed_statistics.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/services/get_service_transaction_group_detailed_statistics.ts rename to x-pack/plugins/observability_solution/apm/server/routes/services/get_service_transaction_group_detailed_statistics.ts diff --git a/x-pack/plugins/apm/server/routes/services/get_service_transaction_groups.ts b/x-pack/plugins/observability_solution/apm/server/routes/services/get_service_transaction_groups.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/services/get_service_transaction_groups.ts rename to x-pack/plugins/observability_solution/apm/server/routes/services/get_service_transaction_groups.ts diff --git a/x-pack/plugins/apm/server/routes/services/get_service_transaction_groups_alerts.ts b/x-pack/plugins/observability_solution/apm/server/routes/services/get_service_transaction_groups_alerts.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/services/get_service_transaction_groups_alerts.ts rename to x-pack/plugins/observability_solution/apm/server/routes/services/get_service_transaction_groups_alerts.ts diff --git a/x-pack/plugins/apm/server/routes/services/get_service_transaction_types.ts b/x-pack/plugins/observability_solution/apm/server/routes/services/get_service_transaction_types.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/services/get_service_transaction_types.ts rename to x-pack/plugins/observability_solution/apm/server/routes/services/get_service_transaction_types.ts diff --git a/x-pack/plugins/apm/server/routes/services/get_services/get_health_statuses.ts b/x-pack/plugins/observability_solution/apm/server/routes/services/get_services/get_health_statuses.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/services/get_services/get_health_statuses.ts rename to x-pack/plugins/observability_solution/apm/server/routes/services/get_services/get_health_statuses.ts diff --git a/x-pack/plugins/apm/server/routes/services/get_services/get_service_alerts.ts b/x-pack/plugins/observability_solution/apm/server/routes/services/get_services/get_service_alerts.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/services/get_services/get_service_alerts.ts rename to x-pack/plugins/observability_solution/apm/server/routes/services/get_services/get_service_alerts.ts diff --git a/x-pack/plugins/apm/server/routes/services/get_services/get_service_names_from_terms_enum.ts b/x-pack/plugins/observability_solution/apm/server/routes/services/get_services/get_service_names_from_terms_enum.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/services/get_services/get_service_names_from_terms_enum.ts rename to x-pack/plugins/observability_solution/apm/server/routes/services/get_services/get_service_names_from_terms_enum.ts diff --git a/x-pack/plugins/apm/server/routes/services/get_services/get_service_transaction_stats.ts b/x-pack/plugins/observability_solution/apm/server/routes/services/get_services/get_service_transaction_stats.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/services/get_services/get_service_transaction_stats.ts rename to x-pack/plugins/observability_solution/apm/server/routes/services/get_services/get_service_transaction_stats.ts diff --git a/x-pack/plugins/apm/server/routes/services/get_services/get_services_items.ts b/x-pack/plugins/observability_solution/apm/server/routes/services/get_services/get_services_items.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/services/get_services/get_services_items.ts rename to x-pack/plugins/observability_solution/apm/server/routes/services/get_services/get_services_items.ts diff --git a/x-pack/plugins/apm/server/routes/services/get_services/get_services_without_transactions.ts b/x-pack/plugins/observability_solution/apm/server/routes/services/get_services/get_services_without_transactions.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/services/get_services/get_services_without_transactions.ts rename to x-pack/plugins/observability_solution/apm/server/routes/services/get_services/get_services_without_transactions.ts diff --git a/x-pack/plugins/apm/server/routes/services/get_services/merge_service_stats.test.ts b/x-pack/plugins/observability_solution/apm/server/routes/services/get_services/merge_service_stats.test.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/services/get_services/merge_service_stats.test.ts rename to x-pack/plugins/observability_solution/apm/server/routes/services/get_services/merge_service_stats.test.ts diff --git a/x-pack/plugins/apm/server/routes/services/get_services/merge_service_stats.ts b/x-pack/plugins/observability_solution/apm/server/routes/services/get_services/merge_service_stats.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/services/get_services/merge_service_stats.ts rename to x-pack/plugins/observability_solution/apm/server/routes/services/get_services/merge_service_stats.ts diff --git a/x-pack/plugins/apm/server/routes/services/get_services_detailed_statistics/get_service_transaction_detailed_statistics.ts b/x-pack/plugins/observability_solution/apm/server/routes/services/get_services_detailed_statistics/get_service_transaction_detailed_statistics.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/services/get_services_detailed_statistics/get_service_transaction_detailed_statistics.ts rename to x-pack/plugins/observability_solution/apm/server/routes/services/get_services_detailed_statistics/get_service_transaction_detailed_statistics.ts diff --git a/x-pack/plugins/apm/server/routes/services/get_services_detailed_statistics/index.ts b/x-pack/plugins/observability_solution/apm/server/routes/services/get_services_detailed_statistics/index.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/services/get_services_detailed_statistics/index.ts rename to x-pack/plugins/observability_solution/apm/server/routes/services/get_services_detailed_statistics/index.ts diff --git a/x-pack/plugins/apm/server/routes/services/get_throughput.ts b/x-pack/plugins/observability_solution/apm/server/routes/services/get_throughput.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/services/get_throughput.ts rename to x-pack/plugins/observability_solution/apm/server/routes/services/get_throughput.ts diff --git a/x-pack/plugins/apm/server/routes/services/route.ts b/x-pack/plugins/observability_solution/apm/server/routes/services/route.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/services/route.ts rename to x-pack/plugins/observability_solution/apm/server/routes/services/route.ts diff --git a/x-pack/plugins/apm/server/routes/settings/agent_configuration/__snapshots__/queries.test.ts.snap b/x-pack/plugins/observability_solution/apm/server/routes/settings/agent_configuration/__snapshots__/queries.test.ts.snap similarity index 100% rename from x-pack/plugins/apm/server/routes/settings/agent_configuration/__snapshots__/queries.test.ts.snap rename to x-pack/plugins/observability_solution/apm/server/routes/settings/agent_configuration/__snapshots__/queries.test.ts.snap diff --git a/x-pack/plugins/apm/server/routes/settings/agent_configuration/convert_settings_to_string.ts b/x-pack/plugins/observability_solution/apm/server/routes/settings/agent_configuration/convert_settings_to_string.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/settings/agent_configuration/convert_settings_to_string.ts rename to x-pack/plugins/observability_solution/apm/server/routes/settings/agent_configuration/convert_settings_to_string.ts diff --git a/x-pack/plugins/apm/server/routes/settings/agent_configuration/create_agent_config_index.ts b/x-pack/plugins/observability_solution/apm/server/routes/settings/agent_configuration/create_agent_config_index.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/settings/agent_configuration/create_agent_config_index.ts rename to x-pack/plugins/observability_solution/apm/server/routes/settings/agent_configuration/create_agent_config_index.ts diff --git a/x-pack/plugins/apm/server/routes/settings/agent_configuration/create_or_update_configuration.ts b/x-pack/plugins/observability_solution/apm/server/routes/settings/agent_configuration/create_or_update_configuration.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/settings/agent_configuration/create_or_update_configuration.ts rename to x-pack/plugins/observability_solution/apm/server/routes/settings/agent_configuration/create_or_update_configuration.ts diff --git a/x-pack/plugins/apm/server/routes/settings/agent_configuration/delete_configuration.ts b/x-pack/plugins/observability_solution/apm/server/routes/settings/agent_configuration/delete_configuration.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/settings/agent_configuration/delete_configuration.ts rename to x-pack/plugins/observability_solution/apm/server/routes/settings/agent_configuration/delete_configuration.ts diff --git a/x-pack/plugins/apm/server/routes/settings/agent_configuration/find_exact_configuration.ts b/x-pack/plugins/observability_solution/apm/server/routes/settings/agent_configuration/find_exact_configuration.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/settings/agent_configuration/find_exact_configuration.ts rename to x-pack/plugins/observability_solution/apm/server/routes/settings/agent_configuration/find_exact_configuration.ts diff --git a/x-pack/plugins/apm/server/routes/settings/agent_configuration/get_agent_config_etag_metrics.ts b/x-pack/plugins/observability_solution/apm/server/routes/settings/agent_configuration/get_agent_config_etag_metrics.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/settings/agent_configuration/get_agent_config_etag_metrics.ts rename to x-pack/plugins/observability_solution/apm/server/routes/settings/agent_configuration/get_agent_config_etag_metrics.ts diff --git a/x-pack/plugins/apm/server/routes/settings/agent_configuration/get_agent_name_by_service.ts b/x-pack/plugins/observability_solution/apm/server/routes/settings/agent_configuration/get_agent_name_by_service.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/settings/agent_configuration/get_agent_name_by_service.ts rename to x-pack/plugins/observability_solution/apm/server/routes/settings/agent_configuration/get_agent_name_by_service.ts diff --git a/x-pack/plugins/apm/server/routes/settings/agent_configuration/get_environments/get_existing_environments_for_service.ts b/x-pack/plugins/observability_solution/apm/server/routes/settings/agent_configuration/get_environments/get_existing_environments_for_service.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/settings/agent_configuration/get_environments/get_existing_environments_for_service.ts rename to x-pack/plugins/observability_solution/apm/server/routes/settings/agent_configuration/get_environments/get_existing_environments_for_service.ts diff --git a/x-pack/plugins/apm/server/routes/settings/agent_configuration/get_environments/index.ts b/x-pack/plugins/observability_solution/apm/server/routes/settings/agent_configuration/get_environments/index.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/settings/agent_configuration/get_environments/index.ts rename to x-pack/plugins/observability_solution/apm/server/routes/settings/agent_configuration/get_environments/index.ts diff --git a/x-pack/plugins/apm/server/routes/settings/agent_configuration/list_configurations.ts b/x-pack/plugins/observability_solution/apm/server/routes/settings/agent_configuration/list_configurations.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/settings/agent_configuration/list_configurations.ts rename to x-pack/plugins/observability_solution/apm/server/routes/settings/agent_configuration/list_configurations.ts diff --git a/x-pack/plugins/apm/server/routes/settings/agent_configuration/mark_applied_by_agent.ts b/x-pack/plugins/observability_solution/apm/server/routes/settings/agent_configuration/mark_applied_by_agent.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/settings/agent_configuration/mark_applied_by_agent.ts rename to x-pack/plugins/observability_solution/apm/server/routes/settings/agent_configuration/mark_applied_by_agent.ts diff --git a/x-pack/plugins/apm/server/routes/settings/agent_configuration/queries.test.ts b/x-pack/plugins/observability_solution/apm/server/routes/settings/agent_configuration/queries.test.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/settings/agent_configuration/queries.test.ts rename to x-pack/plugins/observability_solution/apm/server/routes/settings/agent_configuration/queries.test.ts diff --git a/x-pack/plugins/apm/server/routes/settings/agent_configuration/route.ts b/x-pack/plugins/observability_solution/apm/server/routes/settings/agent_configuration/route.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/settings/agent_configuration/route.ts rename to x-pack/plugins/observability_solution/apm/server/routes/settings/agent_configuration/route.ts diff --git a/x-pack/plugins/apm/server/routes/settings/agent_configuration/search_configurations.ts b/x-pack/plugins/observability_solution/apm/server/routes/settings/agent_configuration/search_configurations.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/settings/agent_configuration/search_configurations.ts rename to x-pack/plugins/observability_solution/apm/server/routes/settings/agent_configuration/search_configurations.ts diff --git a/x-pack/plugins/apm/server/routes/settings/anomaly_detection/route.ts b/x-pack/plugins/observability_solution/apm/server/routes/settings/anomaly_detection/route.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/settings/anomaly_detection/route.ts rename to x-pack/plugins/observability_solution/apm/server/routes/settings/anomaly_detection/route.ts diff --git a/x-pack/plugins/apm/server/routes/settings/anomaly_detection/update_to_v3.ts b/x-pack/plugins/observability_solution/apm/server/routes/settings/anomaly_detection/update_to_v3.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/settings/anomaly_detection/update_to_v3.ts rename to x-pack/plugins/observability_solution/apm/server/routes/settings/anomaly_detection/update_to_v3.ts diff --git a/x-pack/plugins/apm/server/routes/settings/apm_indices/apm_system_index_constants.ts b/x-pack/plugins/observability_solution/apm/server/routes/settings/apm_indices/apm_system_index_constants.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/settings/apm_indices/apm_system_index_constants.ts rename to x-pack/plugins/observability_solution/apm/server/routes/settings/apm_indices/apm_system_index_constants.ts diff --git a/x-pack/plugins/apm/server/routes/settings/apm_indices/get_apm_indices.ts b/x-pack/plugins/observability_solution/apm/server/routes/settings/apm_indices/get_apm_indices.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/settings/apm_indices/get_apm_indices.ts rename to x-pack/plugins/observability_solution/apm/server/routes/settings/apm_indices/get_apm_indices.ts diff --git a/x-pack/plugins/apm/server/routes/settings/apm_indices/route.ts b/x-pack/plugins/observability_solution/apm/server/routes/settings/apm_indices/route.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/settings/apm_indices/route.ts rename to x-pack/plugins/observability_solution/apm/server/routes/settings/apm_indices/route.ts diff --git a/x-pack/plugins/apm/server/routes/settings/custom_link/__snapshots__/get_transaction.test.ts.snap b/x-pack/plugins/observability_solution/apm/server/routes/settings/custom_link/__snapshots__/get_transaction.test.ts.snap similarity index 100% rename from x-pack/plugins/apm/server/routes/settings/custom_link/__snapshots__/get_transaction.test.ts.snap rename to x-pack/plugins/observability_solution/apm/server/routes/settings/custom_link/__snapshots__/get_transaction.test.ts.snap diff --git a/x-pack/plugins/apm/server/routes/settings/custom_link/__snapshots__/list_custom_links.test.ts.snap b/x-pack/plugins/observability_solution/apm/server/routes/settings/custom_link/__snapshots__/list_custom_links.test.ts.snap similarity index 100% rename from x-pack/plugins/apm/server/routes/settings/custom_link/__snapshots__/list_custom_links.test.ts.snap rename to x-pack/plugins/observability_solution/apm/server/routes/settings/custom_link/__snapshots__/list_custom_links.test.ts.snap diff --git a/x-pack/plugins/apm/server/routes/settings/custom_link/create_custom_link_index.ts b/x-pack/plugins/observability_solution/apm/server/routes/settings/custom_link/create_custom_link_index.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/settings/custom_link/create_custom_link_index.ts rename to x-pack/plugins/observability_solution/apm/server/routes/settings/custom_link/create_custom_link_index.ts diff --git a/x-pack/plugins/apm/server/routes/settings/custom_link/create_or_update_custom_link.test.ts b/x-pack/plugins/observability_solution/apm/server/routes/settings/custom_link/create_or_update_custom_link.test.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/settings/custom_link/create_or_update_custom_link.test.ts rename to x-pack/plugins/observability_solution/apm/server/routes/settings/custom_link/create_or_update_custom_link.test.ts diff --git a/x-pack/plugins/apm/server/routes/settings/custom_link/create_or_update_custom_link.ts b/x-pack/plugins/observability_solution/apm/server/routes/settings/custom_link/create_or_update_custom_link.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/settings/custom_link/create_or_update_custom_link.ts rename to x-pack/plugins/observability_solution/apm/server/routes/settings/custom_link/create_or_update_custom_link.ts diff --git a/x-pack/plugins/apm/server/routes/settings/custom_link/custom_link_types.ts b/x-pack/plugins/observability_solution/apm/server/routes/settings/custom_link/custom_link_types.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/settings/custom_link/custom_link_types.ts rename to x-pack/plugins/observability_solution/apm/server/routes/settings/custom_link/custom_link_types.ts diff --git a/x-pack/plugins/apm/server/routes/settings/custom_link/delete_custom_link.ts b/x-pack/plugins/observability_solution/apm/server/routes/settings/custom_link/delete_custom_link.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/settings/custom_link/delete_custom_link.ts rename to x-pack/plugins/observability_solution/apm/server/routes/settings/custom_link/delete_custom_link.ts diff --git a/x-pack/plugins/apm/server/routes/settings/custom_link/get_transaction.test.ts b/x-pack/plugins/observability_solution/apm/server/routes/settings/custom_link/get_transaction.test.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/settings/custom_link/get_transaction.test.ts rename to x-pack/plugins/observability_solution/apm/server/routes/settings/custom_link/get_transaction.test.ts diff --git a/x-pack/plugins/apm/server/routes/settings/custom_link/get_transaction.ts b/x-pack/plugins/observability_solution/apm/server/routes/settings/custom_link/get_transaction.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/settings/custom_link/get_transaction.ts rename to x-pack/plugins/observability_solution/apm/server/routes/settings/custom_link/get_transaction.ts diff --git a/x-pack/plugins/apm/server/routes/settings/custom_link/helper.test.ts b/x-pack/plugins/observability_solution/apm/server/routes/settings/custom_link/helper.test.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/settings/custom_link/helper.test.ts rename to x-pack/plugins/observability_solution/apm/server/routes/settings/custom_link/helper.test.ts diff --git a/x-pack/plugins/apm/server/routes/settings/custom_link/helper.ts b/x-pack/plugins/observability_solution/apm/server/routes/settings/custom_link/helper.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/settings/custom_link/helper.ts rename to x-pack/plugins/observability_solution/apm/server/routes/settings/custom_link/helper.ts diff --git a/x-pack/plugins/apm/server/routes/settings/custom_link/list_custom_links.test.ts b/x-pack/plugins/observability_solution/apm/server/routes/settings/custom_link/list_custom_links.test.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/settings/custom_link/list_custom_links.test.ts rename to x-pack/plugins/observability_solution/apm/server/routes/settings/custom_link/list_custom_links.test.ts diff --git a/x-pack/plugins/apm/server/routes/settings/custom_link/list_custom_links.ts b/x-pack/plugins/observability_solution/apm/server/routes/settings/custom_link/list_custom_links.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/settings/custom_link/list_custom_links.ts rename to x-pack/plugins/observability_solution/apm/server/routes/settings/custom_link/list_custom_links.ts diff --git a/x-pack/plugins/apm/server/routes/settings/custom_link/route.ts b/x-pack/plugins/observability_solution/apm/server/routes/settings/custom_link/route.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/settings/custom_link/route.ts rename to x-pack/plugins/observability_solution/apm/server/routes/settings/custom_link/route.ts diff --git a/x-pack/plugins/apm/server/routes/settings/labs/route.ts b/x-pack/plugins/observability_solution/apm/server/routes/settings/labs/route.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/settings/labs/route.ts rename to x-pack/plugins/observability_solution/apm/server/routes/settings/labs/route.ts diff --git a/x-pack/plugins/apm/server/routes/source_maps/bulk_create_apm_source_maps.ts b/x-pack/plugins/observability_solution/apm/server/routes/source_maps/bulk_create_apm_source_maps.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/source_maps/bulk_create_apm_source_maps.ts rename to x-pack/plugins/observability_solution/apm/server/routes/source_maps/bulk_create_apm_source_maps.ts diff --git a/x-pack/plugins/apm/server/routes/source_maps/create_apm_source_map.ts b/x-pack/plugins/observability_solution/apm/server/routes/source_maps/create_apm_source_map.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/source_maps/create_apm_source_map.ts rename to x-pack/plugins/observability_solution/apm/server/routes/source_maps/create_apm_source_map.ts diff --git a/x-pack/plugins/apm/server/routes/source_maps/create_apm_source_map_index_template.ts b/x-pack/plugins/observability_solution/apm/server/routes/source_maps/create_apm_source_map_index_template.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/source_maps/create_apm_source_map_index_template.ts rename to x-pack/plugins/observability_solution/apm/server/routes/source_maps/create_apm_source_map_index_template.ts diff --git a/x-pack/plugins/apm/server/routes/source_maps/delete_apm_sourcemap.ts b/x-pack/plugins/observability_solution/apm/server/routes/source_maps/delete_apm_sourcemap.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/source_maps/delete_apm_sourcemap.ts rename to x-pack/plugins/observability_solution/apm/server/routes/source_maps/delete_apm_sourcemap.ts diff --git a/x-pack/plugins/apm/server/routes/source_maps/route.ts b/x-pack/plugins/observability_solution/apm/server/routes/source_maps/route.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/source_maps/route.ts rename to x-pack/plugins/observability_solution/apm/server/routes/source_maps/route.ts diff --git a/x-pack/plugins/apm/server/routes/source_maps/schedule_source_map_migration.ts b/x-pack/plugins/observability_solution/apm/server/routes/source_maps/schedule_source_map_migration.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/source_maps/schedule_source_map_migration.ts rename to x-pack/plugins/observability_solution/apm/server/routes/source_maps/schedule_source_map_migration.ts diff --git a/x-pack/plugins/apm/server/routes/source_maps/sourcemap_utils.ts b/x-pack/plugins/observability_solution/apm/server/routes/source_maps/sourcemap_utils.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/source_maps/sourcemap_utils.ts rename to x-pack/plugins/observability_solution/apm/server/routes/source_maps/sourcemap_utils.ts diff --git a/x-pack/plugins/apm/server/routes/span_links/get_linked_children.ts b/x-pack/plugins/observability_solution/apm/server/routes/span_links/get_linked_children.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/span_links/get_linked_children.ts rename to x-pack/plugins/observability_solution/apm/server/routes/span_links/get_linked_children.ts diff --git a/x-pack/plugins/apm/server/routes/span_links/get_linked_parents.ts b/x-pack/plugins/observability_solution/apm/server/routes/span_links/get_linked_parents.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/span_links/get_linked_parents.ts rename to x-pack/plugins/observability_solution/apm/server/routes/span_links/get_linked_parents.ts diff --git a/x-pack/plugins/apm/server/routes/span_links/get_span_links_details.ts b/x-pack/plugins/observability_solution/apm/server/routes/span_links/get_span_links_details.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/span_links/get_span_links_details.ts rename to x-pack/plugins/observability_solution/apm/server/routes/span_links/get_span_links_details.ts diff --git a/x-pack/plugins/apm/server/routes/span_links/route.ts b/x-pack/plugins/observability_solution/apm/server/routes/span_links/route.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/span_links/route.ts rename to x-pack/plugins/observability_solution/apm/server/routes/span_links/route.ts diff --git a/x-pack/plugins/apm/server/routes/span_links/utils.ts b/x-pack/plugins/observability_solution/apm/server/routes/span_links/utils.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/span_links/utils.ts rename to x-pack/plugins/observability_solution/apm/server/routes/span_links/utils.ts diff --git a/x-pack/plugins/apm/server/routes/storage_explorer/get_service_statistics.ts b/x-pack/plugins/observability_solution/apm/server/routes/storage_explorer/get_service_statistics.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/storage_explorer/get_service_statistics.ts rename to x-pack/plugins/observability_solution/apm/server/routes/storage_explorer/get_service_statistics.ts diff --git a/x-pack/plugins/apm/server/routes/storage_explorer/get_size_timeseries.ts b/x-pack/plugins/observability_solution/apm/server/routes/storage_explorer/get_size_timeseries.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/storage_explorer/get_size_timeseries.ts rename to x-pack/plugins/observability_solution/apm/server/routes/storage_explorer/get_size_timeseries.ts diff --git a/x-pack/plugins/apm/server/routes/storage_explorer/get_storage_details.ts b/x-pack/plugins/observability_solution/apm/server/routes/storage_explorer/get_storage_details.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/storage_explorer/get_storage_details.ts rename to x-pack/plugins/observability_solution/apm/server/routes/storage_explorer/get_storage_details.ts diff --git a/x-pack/plugins/apm/server/routes/storage_explorer/get_storage_details_per_service.ts b/x-pack/plugins/observability_solution/apm/server/routes/storage_explorer/get_storage_details_per_service.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/storage_explorer/get_storage_details_per_service.ts rename to x-pack/plugins/observability_solution/apm/server/routes/storage_explorer/get_storage_details_per_service.ts diff --git a/x-pack/plugins/apm/server/routes/storage_explorer/get_summary_statistics.ts b/x-pack/plugins/observability_solution/apm/server/routes/storage_explorer/get_summary_statistics.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/storage_explorer/get_summary_statistics.ts rename to x-pack/plugins/observability_solution/apm/server/routes/storage_explorer/get_summary_statistics.ts diff --git a/x-pack/plugins/apm/server/routes/storage_explorer/get_total_transactions_per_service.ts b/x-pack/plugins/observability_solution/apm/server/routes/storage_explorer/get_total_transactions_per_service.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/storage_explorer/get_total_transactions_per_service.ts rename to x-pack/plugins/observability_solution/apm/server/routes/storage_explorer/get_total_transactions_per_service.ts diff --git a/x-pack/plugins/apm/server/routes/storage_explorer/has_storage_explorer_privileges.ts b/x-pack/plugins/observability_solution/apm/server/routes/storage_explorer/has_storage_explorer_privileges.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/storage_explorer/has_storage_explorer_privileges.ts rename to x-pack/plugins/observability_solution/apm/server/routes/storage_explorer/has_storage_explorer_privileges.ts diff --git a/x-pack/plugins/apm/server/routes/storage_explorer/indices_stats_helpers.ts b/x-pack/plugins/observability_solution/apm/server/routes/storage_explorer/indices_stats_helpers.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/storage_explorer/indices_stats_helpers.ts rename to x-pack/plugins/observability_solution/apm/server/routes/storage_explorer/indices_stats_helpers.ts diff --git a/x-pack/plugins/apm/server/routes/storage_explorer/is_cross_cluster_search.test.ts b/x-pack/plugins/observability_solution/apm/server/routes/storage_explorer/is_cross_cluster_search.test.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/storage_explorer/is_cross_cluster_search.test.ts rename to x-pack/plugins/observability_solution/apm/server/routes/storage_explorer/is_cross_cluster_search.test.ts diff --git a/x-pack/plugins/apm/server/routes/storage_explorer/is_cross_cluster_search.ts b/x-pack/plugins/observability_solution/apm/server/routes/storage_explorer/is_cross_cluster_search.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/storage_explorer/is_cross_cluster_search.ts rename to x-pack/plugins/observability_solution/apm/server/routes/storage_explorer/is_cross_cluster_search.ts diff --git a/x-pack/plugins/apm/server/routes/storage_explorer/route.ts b/x-pack/plugins/observability_solution/apm/server/routes/storage_explorer/route.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/storage_explorer/route.ts rename to x-pack/plugins/observability_solution/apm/server/routes/storage_explorer/route.ts diff --git a/x-pack/plugins/apm/server/routes/suggestions/get_suggestions_with_terms_aggregation.ts b/x-pack/plugins/observability_solution/apm/server/routes/suggestions/get_suggestions_with_terms_aggregation.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/suggestions/get_suggestions_with_terms_aggregation.ts rename to x-pack/plugins/observability_solution/apm/server/routes/suggestions/get_suggestions_with_terms_aggregation.ts diff --git a/x-pack/plugins/apm/server/routes/suggestions/get_suggestions_with_terms_enum.ts b/x-pack/plugins/observability_solution/apm/server/routes/suggestions/get_suggestions_with_terms_enum.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/suggestions/get_suggestions_with_terms_enum.ts rename to x-pack/plugins/observability_solution/apm/server/routes/suggestions/get_suggestions_with_terms_enum.ts diff --git a/x-pack/plugins/apm/server/routes/suggestions/route.ts b/x-pack/plugins/observability_solution/apm/server/routes/suggestions/route.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/suggestions/route.ts rename to x-pack/plugins/observability_solution/apm/server/routes/suggestions/route.ts diff --git a/x-pack/plugins/apm/server/routes/time_range_metadata/route.ts b/x-pack/plugins/observability_solution/apm/server/routes/time_range_metadata/route.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/time_range_metadata/route.ts rename to x-pack/plugins/observability_solution/apm/server/routes/time_range_metadata/route.ts diff --git a/x-pack/plugins/apm/server/routes/traces/__snapshots__/queries.test.ts.snap b/x-pack/plugins/observability_solution/apm/server/routes/traces/__snapshots__/queries.test.ts.snap similarity index 100% rename from x-pack/plugins/apm/server/routes/traces/__snapshots__/queries.test.ts.snap rename to x-pack/plugins/observability_solution/apm/server/routes/traces/__snapshots__/queries.test.ts.snap diff --git a/x-pack/plugins/apm/server/routes/traces/calculate_impact_builder.ts b/x-pack/plugins/observability_solution/apm/server/routes/traces/calculate_impact_builder.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/traces/calculate_impact_builder.ts rename to x-pack/plugins/observability_solution/apm/server/routes/traces/calculate_impact_builder.ts diff --git a/x-pack/plugins/apm/server/routes/traces/get_aggregated_critical_path.ts b/x-pack/plugins/observability_solution/apm/server/routes/traces/get_aggregated_critical_path.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/traces/get_aggregated_critical_path.ts rename to x-pack/plugins/observability_solution/apm/server/routes/traces/get_aggregated_critical_path.ts diff --git a/x-pack/plugins/apm/server/routes/traces/get_top_traces_primary_stats.ts b/x-pack/plugins/observability_solution/apm/server/routes/traces/get_top_traces_primary_stats.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/traces/get_top_traces_primary_stats.ts rename to x-pack/plugins/observability_solution/apm/server/routes/traces/get_top_traces_primary_stats.ts diff --git a/x-pack/plugins/apm/server/routes/traces/get_trace_items.ts b/x-pack/plugins/observability_solution/apm/server/routes/traces/get_trace_items.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/traces/get_trace_items.ts rename to x-pack/plugins/observability_solution/apm/server/routes/traces/get_trace_items.ts diff --git a/x-pack/plugins/apm/server/routes/traces/get_trace_samples_by_query.ts b/x-pack/plugins/observability_solution/apm/server/routes/traces/get_trace_samples_by_query.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/traces/get_trace_samples_by_query.ts rename to x-pack/plugins/observability_solution/apm/server/routes/traces/get_trace_samples_by_query.ts diff --git a/x-pack/plugins/apm/server/routes/traces/queries.test.ts b/x-pack/plugins/observability_solution/apm/server/routes/traces/queries.test.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/traces/queries.test.ts rename to x-pack/plugins/observability_solution/apm/server/routes/traces/queries.test.ts diff --git a/x-pack/plugins/apm/server/routes/traces/route.ts b/x-pack/plugins/observability_solution/apm/server/routes/traces/route.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/traces/route.ts rename to x-pack/plugins/observability_solution/apm/server/routes/traces/route.ts diff --git a/x-pack/plugins/apm/server/routes/transactions/__snapshots__/queries.test.ts.snap b/x-pack/plugins/observability_solution/apm/server/routes/transactions/__snapshots__/queries.test.ts.snap similarity index 100% rename from x-pack/plugins/apm/server/routes/transactions/__snapshots__/queries.test.ts.snap rename to x-pack/plugins/observability_solution/apm/server/routes/transactions/__snapshots__/queries.test.ts.snap diff --git a/x-pack/plugins/apm/server/routes/transactions/breakdown/constants.ts b/x-pack/plugins/observability_solution/apm/server/routes/transactions/breakdown/constants.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/transactions/breakdown/constants.ts rename to x-pack/plugins/observability_solution/apm/server/routes/transactions/breakdown/constants.ts diff --git a/x-pack/plugins/apm/server/routes/transactions/breakdown/index.test.ts b/x-pack/plugins/observability_solution/apm/server/routes/transactions/breakdown/index.test.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/transactions/breakdown/index.test.ts rename to x-pack/plugins/observability_solution/apm/server/routes/transactions/breakdown/index.test.ts diff --git a/x-pack/plugins/apm/server/routes/transactions/breakdown/index.ts b/x-pack/plugins/observability_solution/apm/server/routes/transactions/breakdown/index.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/transactions/breakdown/index.ts rename to x-pack/plugins/observability_solution/apm/server/routes/transactions/breakdown/index.ts diff --git a/x-pack/plugins/apm/server/routes/transactions/breakdown/mock_responses/data.json b/x-pack/plugins/observability_solution/apm/server/routes/transactions/breakdown/mock_responses/data.json similarity index 100% rename from x-pack/plugins/apm/server/routes/transactions/breakdown/mock_responses/data.json rename to x-pack/plugins/observability_solution/apm/server/routes/transactions/breakdown/mock_responses/data.json diff --git a/x-pack/plugins/apm/server/routes/transactions/breakdown/mock_responses/no_data.json b/x-pack/plugins/observability_solution/apm/server/routes/transactions/breakdown/mock_responses/no_data.json similarity index 100% rename from x-pack/plugins/apm/server/routes/transactions/breakdown/mock_responses/no_data.json rename to x-pack/plugins/observability_solution/apm/server/routes/transactions/breakdown/mock_responses/no_data.json diff --git a/x-pack/plugins/apm/server/routes/transactions/constants.ts b/x-pack/plugins/observability_solution/apm/server/routes/transactions/constants.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/transactions/constants.ts rename to x-pack/plugins/observability_solution/apm/server/routes/transactions/constants.ts diff --git a/x-pack/plugins/apm/server/routes/transactions/get_failed_transaction_rate_periods.ts b/x-pack/plugins/observability_solution/apm/server/routes/transactions/get_failed_transaction_rate_periods.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/transactions/get_failed_transaction_rate_periods.ts rename to x-pack/plugins/observability_solution/apm/server/routes/transactions/get_failed_transaction_rate_periods.ts diff --git a/x-pack/plugins/apm/server/routes/transactions/get_latency_charts/index.ts b/x-pack/plugins/observability_solution/apm/server/routes/transactions/get_latency_charts/index.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/transactions/get_latency_charts/index.ts rename to x-pack/plugins/observability_solution/apm/server/routes/transactions/get_latency_charts/index.ts diff --git a/x-pack/plugins/apm/server/routes/transactions/get_span/index.ts b/x-pack/plugins/observability_solution/apm/server/routes/transactions/get_span/index.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/transactions/get_span/index.ts rename to x-pack/plugins/observability_solution/apm/server/routes/transactions/get_span/index.ts diff --git a/x-pack/plugins/apm/server/routes/transactions/get_transaction/index.ts b/x-pack/plugins/observability_solution/apm/server/routes/transactions/get_transaction/index.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/transactions/get_transaction/index.ts rename to x-pack/plugins/observability_solution/apm/server/routes/transactions/get_transaction/index.ts diff --git a/x-pack/plugins/apm/server/routes/transactions/get_transaction_by_trace/index.ts b/x-pack/plugins/observability_solution/apm/server/routes/transactions/get_transaction_by_trace/index.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/transactions/get_transaction_by_trace/index.ts rename to x-pack/plugins/observability_solution/apm/server/routes/transactions/get_transaction_by_trace/index.ts diff --git a/x-pack/plugins/apm/server/routes/transactions/queries.test.ts b/x-pack/plugins/observability_solution/apm/server/routes/transactions/queries.test.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/transactions/queries.test.ts rename to x-pack/plugins/observability_solution/apm/server/routes/transactions/queries.test.ts diff --git a/x-pack/plugins/apm/server/routes/transactions/route.ts b/x-pack/plugins/observability_solution/apm/server/routes/transactions/route.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/transactions/route.ts rename to x-pack/plugins/observability_solution/apm/server/routes/transactions/route.ts diff --git a/x-pack/plugins/apm/server/routes/transactions/trace_samples/index.ts b/x-pack/plugins/observability_solution/apm/server/routes/transactions/trace_samples/index.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/transactions/trace_samples/index.ts rename to x-pack/plugins/observability_solution/apm/server/routes/transactions/trace_samples/index.ts diff --git a/x-pack/plugins/apm/server/routes/typings.ts b/x-pack/plugins/observability_solution/apm/server/routes/typings.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/typings.ts rename to x-pack/plugins/observability_solution/apm/server/routes/typings.ts diff --git a/x-pack/plugins/apm/server/saved_objects/apm_custom_dashboards.ts b/x-pack/plugins/observability_solution/apm/server/saved_objects/apm_custom_dashboards.ts similarity index 100% rename from x-pack/plugins/apm/server/saved_objects/apm_custom_dashboards.ts rename to x-pack/plugins/observability_solution/apm/server/saved_objects/apm_custom_dashboards.ts diff --git a/x-pack/plugins/apm/server/saved_objects/apm_server_settings.ts b/x-pack/plugins/observability_solution/apm/server/saved_objects/apm_server_settings.ts similarity index 100% rename from x-pack/plugins/apm/server/saved_objects/apm_server_settings.ts rename to x-pack/plugins/observability_solution/apm/server/saved_objects/apm_server_settings.ts diff --git a/x-pack/plugins/apm/server/saved_objects/apm_service_groups.ts b/x-pack/plugins/observability_solution/apm/server/saved_objects/apm_service_groups.ts similarity index 100% rename from x-pack/plugins/apm/server/saved_objects/apm_service_groups.ts rename to x-pack/plugins/observability_solution/apm/server/saved_objects/apm_service_groups.ts diff --git a/x-pack/plugins/apm/server/saved_objects/apm_telemetry.ts b/x-pack/plugins/observability_solution/apm/server/saved_objects/apm_telemetry.ts similarity index 100% rename from x-pack/plugins/apm/server/saved_objects/apm_telemetry.ts rename to x-pack/plugins/observability_solution/apm/server/saved_objects/apm_telemetry.ts diff --git a/x-pack/plugins/apm/server/saved_objects/index.ts b/x-pack/plugins/observability_solution/apm/server/saved_objects/index.ts similarity index 100% rename from x-pack/plugins/apm/server/saved_objects/index.ts rename to x-pack/plugins/observability_solution/apm/server/saved_objects/index.ts diff --git a/x-pack/plugins/apm/server/test_helpers/create_apm_users/authentication.ts b/x-pack/plugins/observability_solution/apm/server/test_helpers/create_apm_users/authentication.ts similarity index 100% rename from x-pack/plugins/apm/server/test_helpers/create_apm_users/authentication.ts rename to x-pack/plugins/observability_solution/apm/server/test_helpers/create_apm_users/authentication.ts diff --git a/x-pack/plugins/apm/server/test_helpers/create_apm_users/create_apm_users.ts b/x-pack/plugins/observability_solution/apm/server/test_helpers/create_apm_users/create_apm_users.ts similarity index 100% rename from x-pack/plugins/apm/server/test_helpers/create_apm_users/create_apm_users.ts rename to x-pack/plugins/observability_solution/apm/server/test_helpers/create_apm_users/create_apm_users.ts diff --git a/x-pack/plugins/apm/server/test_helpers/create_apm_users/helpers/call_kibana.ts b/x-pack/plugins/observability_solution/apm/server/test_helpers/create_apm_users/helpers/call_kibana.ts similarity index 100% rename from x-pack/plugins/apm/server/test_helpers/create_apm_users/helpers/call_kibana.ts rename to x-pack/plugins/observability_solution/apm/server/test_helpers/create_apm_users/helpers/call_kibana.ts diff --git a/x-pack/plugins/apm/server/test_helpers/create_apm_users/helpers/create_custom_role.ts b/x-pack/plugins/observability_solution/apm/server/test_helpers/create_apm_users/helpers/create_custom_role.ts similarity index 100% rename from x-pack/plugins/apm/server/test_helpers/create_apm_users/helpers/create_custom_role.ts rename to x-pack/plugins/observability_solution/apm/server/test_helpers/create_apm_users/helpers/create_custom_role.ts diff --git a/x-pack/plugins/apm/server/test_helpers/create_apm_users/helpers/create_or_update_user.ts b/x-pack/plugins/observability_solution/apm/server/test_helpers/create_apm_users/helpers/create_or_update_user.ts similarity index 100% rename from x-pack/plugins/apm/server/test_helpers/create_apm_users/helpers/create_or_update_user.ts rename to x-pack/plugins/observability_solution/apm/server/test_helpers/create_apm_users/helpers/create_or_update_user.ts diff --git a/x-pack/plugins/apm/server/test_helpers/create_apm_users/helpers/get_version.ts b/x-pack/plugins/observability_solution/apm/server/test_helpers/create_apm_users/helpers/get_version.ts similarity index 100% rename from x-pack/plugins/apm/server/test_helpers/create_apm_users/helpers/get_version.ts rename to x-pack/plugins/observability_solution/apm/server/test_helpers/create_apm_users/helpers/get_version.ts diff --git a/x-pack/plugins/apm/server/tutorial/envs/elastic_cloud.ts b/x-pack/plugins/observability_solution/apm/server/tutorial/envs/elastic_cloud.ts similarity index 100% rename from x-pack/plugins/apm/server/tutorial/envs/elastic_cloud.ts rename to x-pack/plugins/observability_solution/apm/server/tutorial/envs/elastic_cloud.ts diff --git a/x-pack/plugins/apm/server/tutorial/envs/on_prem.ts b/x-pack/plugins/observability_solution/apm/server/tutorial/envs/on_prem.ts similarity index 100% rename from x-pack/plugins/apm/server/tutorial/envs/on_prem.ts rename to x-pack/plugins/observability_solution/apm/server/tutorial/envs/on_prem.ts diff --git a/x-pack/plugins/apm/server/tutorial/envs/on_prem_apm_server_instruction_set.ts b/x-pack/plugins/observability_solution/apm/server/tutorial/envs/on_prem_apm_server_instruction_set.ts similarity index 100% rename from x-pack/plugins/apm/server/tutorial/envs/on_prem_apm_server_instruction_set.ts rename to x-pack/plugins/observability_solution/apm/server/tutorial/envs/on_prem_apm_server_instruction_set.ts diff --git a/x-pack/plugins/apm/server/tutorial/index.ts b/x-pack/plugins/observability_solution/apm/server/tutorial/index.ts similarity index 100% rename from x-pack/plugins/apm/server/tutorial/index.ts rename to x-pack/plugins/observability_solution/apm/server/tutorial/index.ts diff --git a/x-pack/plugins/apm/server/types.ts b/x-pack/plugins/observability_solution/apm/server/types.ts similarity index 100% rename from x-pack/plugins/apm/server/types.ts rename to x-pack/plugins/observability_solution/apm/server/types.ts diff --git a/x-pack/plugins/apm/server/utils/non_empty_string_ref.ts b/x-pack/plugins/observability_solution/apm/server/utils/non_empty_string_ref.ts similarity index 100% rename from x-pack/plugins/apm/server/utils/non_empty_string_ref.ts rename to x-pack/plugins/observability_solution/apm/server/utils/non_empty_string_ref.ts diff --git a/x-pack/plugins/apm/server/utils/string_from_buffer_rt.test.ts b/x-pack/plugins/observability_solution/apm/server/utils/string_from_buffer_rt.test.ts similarity index 100% rename from x-pack/plugins/apm/server/utils/string_from_buffer_rt.test.ts rename to x-pack/plugins/observability_solution/apm/server/utils/string_from_buffer_rt.test.ts diff --git a/x-pack/plugins/apm/server/utils/string_from_buffer_rt.ts b/x-pack/plugins/observability_solution/apm/server/utils/string_from_buffer_rt.ts similarity index 100% rename from x-pack/plugins/apm/server/utils/string_from_buffer_rt.ts rename to x-pack/plugins/observability_solution/apm/server/utils/string_from_buffer_rt.ts diff --git a/x-pack/plugins/apm/server/utils/test_helpers.tsx b/x-pack/plugins/observability_solution/apm/server/utils/test_helpers.tsx similarity index 100% rename from x-pack/plugins/apm/server/utils/test_helpers.tsx rename to x-pack/plugins/observability_solution/apm/server/utils/test_helpers.tsx diff --git a/x-pack/plugins/apm/server/utils/with_apm_span.ts b/x-pack/plugins/observability_solution/apm/server/utils/with_apm_span.ts similarity index 100% rename from x-pack/plugins/apm/server/utils/with_apm_span.ts rename to x-pack/plugins/observability_solution/apm/server/utils/with_apm_span.ts diff --git a/x-pack/plugins/apm/tsconfig.json b/x-pack/plugins/observability_solution/apm/tsconfig.json similarity index 96% rename from x-pack/plugins/apm/tsconfig.json rename to x-pack/plugins/observability_solution/apm/tsconfig.json index 9089561dcbe58..5040a167db19d 100644 --- a/x-pack/plugins/apm/tsconfig.json +++ b/x-pack/plugins/observability_solution/apm/tsconfig.json @@ -1,10 +1,10 @@ { - "extends": "../../../tsconfig.base.json", + "extends": "../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types" }, "include": [ - "../../../typings/**/*", + "../../../../typings/**/*", "common/**/*", "public/**/*", "scripts/**/*", @@ -111,7 +111,7 @@ "@kbn/shared-svg", "@kbn/shared-ux-utility", "@kbn/management-settings-components-field-row", - "@kbn/shared-ux-markdown", + "@kbn/shared-ux-markdown" ], "exclude": ["target/**/*"] } diff --git a/x-pack/plugins/apm/typings/apm_rum_react.d.ts b/x-pack/plugins/observability_solution/apm/typings/apm_rum_react.d.ts similarity index 100% rename from x-pack/plugins/apm/typings/apm_rum_react.d.ts rename to x-pack/plugins/observability_solution/apm/typings/apm_rum_react.d.ts diff --git a/x-pack/plugins/apm/typings/common.d.ts b/x-pack/plugins/observability_solution/apm/typings/common.d.ts similarity index 100% rename from x-pack/plugins/apm/typings/common.d.ts rename to x-pack/plugins/observability_solution/apm/typings/common.d.ts diff --git a/x-pack/plugins/apm/typings/es_schemas/raw/apm_base_doc.ts b/x-pack/plugins/observability_solution/apm/typings/es_schemas/raw/apm_base_doc.ts similarity index 100% rename from x-pack/plugins/apm/typings/es_schemas/raw/apm_base_doc.ts rename to x-pack/plugins/observability_solution/apm/typings/es_schemas/raw/apm_base_doc.ts diff --git a/x-pack/plugins/apm/typings/es_schemas/raw/error_raw.ts b/x-pack/plugins/observability_solution/apm/typings/es_schemas/raw/error_raw.ts similarity index 100% rename from x-pack/plugins/apm/typings/es_schemas/raw/error_raw.ts rename to x-pack/plugins/observability_solution/apm/typings/es_schemas/raw/error_raw.ts diff --git a/x-pack/plugins/apm/typings/es_schemas/raw/event_raw.ts b/x-pack/plugins/observability_solution/apm/typings/es_schemas/raw/event_raw.ts similarity index 100% rename from x-pack/plugins/apm/typings/es_schemas/raw/event_raw.ts rename to x-pack/plugins/observability_solution/apm/typings/es_schemas/raw/event_raw.ts diff --git a/x-pack/plugins/apm/typings/es_schemas/raw/fields/cloud.ts b/x-pack/plugins/observability_solution/apm/typings/es_schemas/raw/fields/cloud.ts similarity index 100% rename from x-pack/plugins/apm/typings/es_schemas/raw/fields/cloud.ts rename to x-pack/plugins/observability_solution/apm/typings/es_schemas/raw/fields/cloud.ts diff --git a/x-pack/plugins/apm/typings/es_schemas/raw/fields/container.ts b/x-pack/plugins/observability_solution/apm/typings/es_schemas/raw/fields/container.ts similarity index 100% rename from x-pack/plugins/apm/typings/es_schemas/raw/fields/container.ts rename to x-pack/plugins/observability_solution/apm/typings/es_schemas/raw/fields/container.ts diff --git a/x-pack/plugins/apm/typings/es_schemas/raw/fields/event_outcome.ts b/x-pack/plugins/observability_solution/apm/typings/es_schemas/raw/fields/event_outcome.ts similarity index 100% rename from x-pack/plugins/apm/typings/es_schemas/raw/fields/event_outcome.ts rename to x-pack/plugins/observability_solution/apm/typings/es_schemas/raw/fields/event_outcome.ts diff --git a/x-pack/plugins/apm/typings/es_schemas/raw/fields/faas.ts b/x-pack/plugins/observability_solution/apm/typings/es_schemas/raw/fields/faas.ts similarity index 100% rename from x-pack/plugins/apm/typings/es_schemas/raw/fields/faas.ts rename to x-pack/plugins/observability_solution/apm/typings/es_schemas/raw/fields/faas.ts diff --git a/x-pack/plugins/apm/typings/es_schemas/raw/fields/host.ts b/x-pack/plugins/observability_solution/apm/typings/es_schemas/raw/fields/host.ts similarity index 100% rename from x-pack/plugins/apm/typings/es_schemas/raw/fields/host.ts rename to x-pack/plugins/observability_solution/apm/typings/es_schemas/raw/fields/host.ts diff --git a/x-pack/plugins/apm/typings/es_schemas/raw/fields/http.ts b/x-pack/plugins/observability_solution/apm/typings/es_schemas/raw/fields/http.ts similarity index 100% rename from x-pack/plugins/apm/typings/es_schemas/raw/fields/http.ts rename to x-pack/plugins/observability_solution/apm/typings/es_schemas/raw/fields/http.ts diff --git a/x-pack/plugins/apm/typings/es_schemas/raw/fields/kubernetes.ts b/x-pack/plugins/observability_solution/apm/typings/es_schemas/raw/fields/kubernetes.ts similarity index 100% rename from x-pack/plugins/apm/typings/es_schemas/raw/fields/kubernetes.ts rename to x-pack/plugins/observability_solution/apm/typings/es_schemas/raw/fields/kubernetes.ts diff --git a/x-pack/plugins/apm/typings/es_schemas/raw/fields/observer.ts b/x-pack/plugins/observability_solution/apm/typings/es_schemas/raw/fields/observer.ts similarity index 100% rename from x-pack/plugins/apm/typings/es_schemas/raw/fields/observer.ts rename to x-pack/plugins/observability_solution/apm/typings/es_schemas/raw/fields/observer.ts diff --git a/x-pack/plugins/apm/typings/es_schemas/raw/fields/page.ts b/x-pack/plugins/observability_solution/apm/typings/es_schemas/raw/fields/page.ts similarity index 100% rename from x-pack/plugins/apm/typings/es_schemas/raw/fields/page.ts rename to x-pack/plugins/observability_solution/apm/typings/es_schemas/raw/fields/page.ts diff --git a/x-pack/plugins/apm/typings/es_schemas/raw/fields/process.ts b/x-pack/plugins/observability_solution/apm/typings/es_schemas/raw/fields/process.ts similarity index 100% rename from x-pack/plugins/apm/typings/es_schemas/raw/fields/process.ts rename to x-pack/plugins/observability_solution/apm/typings/es_schemas/raw/fields/process.ts diff --git a/x-pack/plugins/apm/typings/es_schemas/raw/fields/service.ts b/x-pack/plugins/observability_solution/apm/typings/es_schemas/raw/fields/service.ts similarity index 100% rename from x-pack/plugins/apm/typings/es_schemas/raw/fields/service.ts rename to x-pack/plugins/observability_solution/apm/typings/es_schemas/raw/fields/service.ts diff --git a/x-pack/plugins/apm/typings/es_schemas/raw/fields/span_links.ts b/x-pack/plugins/observability_solution/apm/typings/es_schemas/raw/fields/span_links.ts similarity index 100% rename from x-pack/plugins/apm/typings/es_schemas/raw/fields/span_links.ts rename to x-pack/plugins/observability_solution/apm/typings/es_schemas/raw/fields/span_links.ts diff --git a/x-pack/plugins/apm/typings/es_schemas/raw/fields/stackframe.ts b/x-pack/plugins/observability_solution/apm/typings/es_schemas/raw/fields/stackframe.ts similarity index 100% rename from x-pack/plugins/apm/typings/es_schemas/raw/fields/stackframe.ts rename to x-pack/plugins/observability_solution/apm/typings/es_schemas/raw/fields/stackframe.ts diff --git a/x-pack/plugins/apm/typings/es_schemas/raw/fields/timestamp_us.ts b/x-pack/plugins/observability_solution/apm/typings/es_schemas/raw/fields/timestamp_us.ts similarity index 100% rename from x-pack/plugins/apm/typings/es_schemas/raw/fields/timestamp_us.ts rename to x-pack/plugins/observability_solution/apm/typings/es_schemas/raw/fields/timestamp_us.ts diff --git a/x-pack/plugins/apm/typings/es_schemas/raw/fields/url.ts b/x-pack/plugins/observability_solution/apm/typings/es_schemas/raw/fields/url.ts similarity index 100% rename from x-pack/plugins/apm/typings/es_schemas/raw/fields/url.ts rename to x-pack/plugins/observability_solution/apm/typings/es_schemas/raw/fields/url.ts diff --git a/x-pack/plugins/apm/typings/es_schemas/raw/fields/user.ts b/x-pack/plugins/observability_solution/apm/typings/es_schemas/raw/fields/user.ts similarity index 100% rename from x-pack/plugins/apm/typings/es_schemas/raw/fields/user.ts rename to x-pack/plugins/observability_solution/apm/typings/es_schemas/raw/fields/user.ts diff --git a/x-pack/plugins/apm/typings/es_schemas/raw/fields/user_agent.ts b/x-pack/plugins/observability_solution/apm/typings/es_schemas/raw/fields/user_agent.ts similarity index 100% rename from x-pack/plugins/apm/typings/es_schemas/raw/fields/user_agent.ts rename to x-pack/plugins/observability_solution/apm/typings/es_schemas/raw/fields/user_agent.ts diff --git a/x-pack/plugins/apm/typings/es_schemas/raw/metric_raw.ts b/x-pack/plugins/observability_solution/apm/typings/es_schemas/raw/metric_raw.ts similarity index 100% rename from x-pack/plugins/apm/typings/es_schemas/raw/metric_raw.ts rename to x-pack/plugins/observability_solution/apm/typings/es_schemas/raw/metric_raw.ts diff --git a/x-pack/plugins/apm/typings/es_schemas/raw/span_raw.ts b/x-pack/plugins/observability_solution/apm/typings/es_schemas/raw/span_raw.ts similarity index 100% rename from x-pack/plugins/apm/typings/es_schemas/raw/span_raw.ts rename to x-pack/plugins/observability_solution/apm/typings/es_schemas/raw/span_raw.ts diff --git a/x-pack/plugins/apm/typings/es_schemas/raw/transaction_raw.ts b/x-pack/plugins/observability_solution/apm/typings/es_schemas/raw/transaction_raw.ts similarity index 100% rename from x-pack/plugins/apm/typings/es_schemas/raw/transaction_raw.ts rename to x-pack/plugins/observability_solution/apm/typings/es_schemas/raw/transaction_raw.ts diff --git a/x-pack/plugins/apm/typings/es_schemas/ui/apm_error.ts b/x-pack/plugins/observability_solution/apm/typings/es_schemas/ui/apm_error.ts similarity index 100% rename from x-pack/plugins/apm/typings/es_schemas/ui/apm_error.ts rename to x-pack/plugins/observability_solution/apm/typings/es_schemas/ui/apm_error.ts diff --git a/x-pack/plugins/apm/typings/es_schemas/ui/event.ts b/x-pack/plugins/observability_solution/apm/typings/es_schemas/ui/event.ts similarity index 100% rename from x-pack/plugins/apm/typings/es_schemas/ui/event.ts rename to x-pack/plugins/observability_solution/apm/typings/es_schemas/ui/event.ts diff --git a/x-pack/plugins/apm/typings/es_schemas/ui/fields/agent.ts b/x-pack/plugins/observability_solution/apm/typings/es_schemas/ui/fields/agent.ts similarity index 100% rename from x-pack/plugins/apm/typings/es_schemas/ui/fields/agent.ts rename to x-pack/plugins/observability_solution/apm/typings/es_schemas/ui/fields/agent.ts diff --git a/x-pack/plugins/apm/typings/es_schemas/ui/metric.ts b/x-pack/plugins/observability_solution/apm/typings/es_schemas/ui/metric.ts similarity index 100% rename from x-pack/plugins/apm/typings/es_schemas/ui/metric.ts rename to x-pack/plugins/observability_solution/apm/typings/es_schemas/ui/metric.ts diff --git a/x-pack/plugins/apm/typings/es_schemas/ui/span.ts b/x-pack/plugins/observability_solution/apm/typings/es_schemas/ui/span.ts similarity index 100% rename from x-pack/plugins/apm/typings/es_schemas/ui/span.ts rename to x-pack/plugins/observability_solution/apm/typings/es_schemas/ui/span.ts diff --git a/x-pack/plugins/apm/typings/es_schemas/ui/transaction.ts b/x-pack/plugins/observability_solution/apm/typings/es_schemas/ui/transaction.ts similarity index 100% rename from x-pack/plugins/apm/typings/es_schemas/ui/transaction.ts rename to x-pack/plugins/observability_solution/apm/typings/es_schemas/ui/transaction.ts diff --git a/x-pack/plugins/apm/typings/timeseries.ts b/x-pack/plugins/observability_solution/apm/typings/timeseries.ts similarity index 100% rename from x-pack/plugins/apm/typings/timeseries.ts rename to x-pack/plugins/observability_solution/apm/typings/timeseries.ts diff --git a/x-pack/plugins/apm_data_access/common/index.ts b/x-pack/plugins/observability_solution/apm_data_access/common/index.ts similarity index 100% rename from x-pack/plugins/apm_data_access/common/index.ts rename to x-pack/plugins/observability_solution/apm_data_access/common/index.ts diff --git a/x-pack/plugins/apm_data_access/jest.config.js b/x-pack/plugins/observability_solution/apm_data_access/jest.config.js similarity index 71% rename from x-pack/plugins/apm_data_access/jest.config.js rename to x-pack/plugins/observability_solution/apm_data_access/jest.config.js index 8fb297afcc48e..569b7beaad8c5 100644 --- a/x-pack/plugins/apm_data_access/jest.config.js +++ b/x-pack/plugins/observability_solution/apm_data_access/jest.config.js @@ -9,6 +9,6 @@ const path = require('path'); module.exports = { preset: '@kbn/test', - rootDir: path.resolve(__dirname, '../../..'), - roots: ['/x-pack/plugins/apm_data_access'], + rootDir: path.resolve(__dirname, '../../../..'), + roots: ['/x-pack/plugins/observability_solution/apm_data_access'], }; diff --git a/x-pack/plugins/apm_data_access/kibana.jsonc b/x-pack/plugins/observability_solution/apm_data_access/kibana.jsonc similarity index 100% rename from x-pack/plugins/apm_data_access/kibana.jsonc rename to x-pack/plugins/observability_solution/apm_data_access/kibana.jsonc diff --git a/x-pack/plugins/apm_data_access/server/index.ts b/x-pack/plugins/observability_solution/apm_data_access/server/index.ts similarity index 100% rename from x-pack/plugins/apm_data_access/server/index.ts rename to x-pack/plugins/observability_solution/apm_data_access/server/index.ts diff --git a/x-pack/plugins/apm_data_access/server/plugin.ts b/x-pack/plugins/observability_solution/apm_data_access/server/plugin.ts similarity index 100% rename from x-pack/plugins/apm_data_access/server/plugin.ts rename to x-pack/plugins/observability_solution/apm_data_access/server/plugin.ts diff --git a/x-pack/plugins/apm_data_access/server/saved_objects/apm_indices.ts b/x-pack/plugins/observability_solution/apm_data_access/server/saved_objects/apm_indices.ts similarity index 100% rename from x-pack/plugins/apm_data_access/server/saved_objects/apm_indices.ts rename to x-pack/plugins/observability_solution/apm_data_access/server/saved_objects/apm_indices.ts diff --git a/x-pack/plugins/apm_data_access/server/saved_objects/migrations/migrate_legacy_apm_indices_to_space_aware.test.ts b/x-pack/plugins/observability_solution/apm_data_access/server/saved_objects/migrations/migrate_legacy_apm_indices_to_space_aware.test.ts similarity index 100% rename from x-pack/plugins/apm_data_access/server/saved_objects/migrations/migrate_legacy_apm_indices_to_space_aware.test.ts rename to x-pack/plugins/observability_solution/apm_data_access/server/saved_objects/migrations/migrate_legacy_apm_indices_to_space_aware.test.ts diff --git a/x-pack/plugins/apm_data_access/server/saved_objects/migrations/migrate_legacy_apm_indices_to_space_aware.ts b/x-pack/plugins/observability_solution/apm_data_access/server/saved_objects/migrations/migrate_legacy_apm_indices_to_space_aware.ts similarity index 100% rename from x-pack/plugins/apm_data_access/server/saved_objects/migrations/migrate_legacy_apm_indices_to_space_aware.ts rename to x-pack/plugins/observability_solution/apm_data_access/server/saved_objects/migrations/migrate_legacy_apm_indices_to_space_aware.ts diff --git a/x-pack/plugins/apm_data_access/server/saved_objects/migrations/update_apm_oss_index_paths.ts b/x-pack/plugins/observability_solution/apm_data_access/server/saved_objects/migrations/update_apm_oss_index_paths.ts similarity index 100% rename from x-pack/plugins/apm_data_access/server/saved_objects/migrations/update_apm_oss_index_paths.ts rename to x-pack/plugins/observability_solution/apm_data_access/server/saved_objects/migrations/update_apm_oss_index_paths.ts diff --git a/x-pack/plugins/apm_data_access/server/saved_objects/save_apm_indices.test.ts b/x-pack/plugins/observability_solution/apm_data_access/server/saved_objects/save_apm_indices.test.ts similarity index 100% rename from x-pack/plugins/apm_data_access/server/saved_objects/save_apm_indices.test.ts rename to x-pack/plugins/observability_solution/apm_data_access/server/saved_objects/save_apm_indices.test.ts diff --git a/x-pack/plugins/apm_data_access/server/types.ts b/x-pack/plugins/observability_solution/apm_data_access/server/types.ts similarity index 100% rename from x-pack/plugins/apm_data_access/server/types.ts rename to x-pack/plugins/observability_solution/apm_data_access/server/types.ts diff --git a/x-pack/plugins/apm_data_access/tsconfig.json b/x-pack/plugins/observability_solution/apm_data_access/tsconfig.json similarity index 75% rename from x-pack/plugins/apm_data_access/tsconfig.json rename to x-pack/plugins/observability_solution/apm_data_access/tsconfig.json index 3a40428cab960..faa5185404fd0 100644 --- a/x-pack/plugins/apm_data_access/tsconfig.json +++ b/x-pack/plugins/observability_solution/apm_data_access/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../tsconfig.base.json", + "extends": "../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types" }, @@ -9,6 +9,6 @@ "@kbn/config-schema", "@kbn/core", "@kbn/i18n", - "@kbn/core-saved-objects-api-server", + "@kbn/core-saved-objects-api-server" ] } diff --git a/x-pack/plugins/observability_solution/dataset_quality/public/components/dataset_quality/filters/filter_bar.tsx b/x-pack/plugins/observability_solution/dataset_quality/public/components/dataset_quality/filters/filter_bar.tsx index da62df7d7bb40..6ed24eaba8c3f 100644 --- a/x-pack/plugins/observability_solution/dataset_quality/public/components/dataset_quality/filters/filter_bar.tsx +++ b/x-pack/plugins/observability_solution/dataset_quality/public/components/dataset_quality/filters/filter_bar.tsx @@ -28,6 +28,7 @@ export const FilterBar = ({ query, onQueryChange }: FilterBarComponentProps) => return (
diff --git a/x-pack/plugins/observability_solution/dataset_quality/public/components/dataset_quality/table/columns.tsx b/x-pack/plugins/observability_solution/dataset_quality/public/components/dataset_quality/table/columns.tsx index 33527cb285dad..85136f90a5835 100644 --- a/x-pack/plugins/observability_solution/dataset_quality/public/components/dataset_quality/table/columns.tsx +++ b/x-pack/plugins/observability_solution/dataset_quality/public/components/dataset_quality/table/columns.tsx @@ -144,6 +144,7 @@ export const getDatasetQualityTableColumns = ({ return ( openFlyout(dataStreamStat as FlyoutDataset)} @@ -264,5 +265,9 @@ const LogsExplorerLink = ({ }) => { const logsExplorerLinkProps = useLinkToLogsExplorer({ dataStreamStat }); - return {title}; + return ( + + {title} + + ); }; diff --git a/x-pack/plugins/observability_solution/dataset_quality/public/components/flyout/degraded_docs_trend/degraded_docs.tsx b/x-pack/plugins/observability_solution/dataset_quality/public/components/flyout/degraded_docs_trend/degraded_docs.tsx index 0f8dcb7e55b2e..bbb67690f9595 100644 --- a/x-pack/plugins/observability_solution/dataset_quality/public/components/flyout/degraded_docs_trend/degraded_docs.tsx +++ b/x-pack/plugins/observability_solution/dataset_quality/public/components/flyout/degraded_docs_trend/degraded_docs.tsx @@ -27,7 +27,7 @@ import { TimeRangeConfig } from '../../../state_machines/dataset_quality_control import { useDatasetQualityContext } from '../../dataset_quality/context'; import { DegradedDocsChart } from './degraded_docs_chart'; -const DEFAULT_REFRESH = { interval: 60000, isPaused: false }; +const DEFAULT_REFRESH = { value: 60000, pause: false }; export function DegradedDocs({ dataStream, diff --git a/x-pack/plugins/observability_solution/dataset_quality/public/components/flyout/flyout.tsx b/x-pack/plugins/observability_solution/dataset_quality/public/components/flyout/flyout.tsx index 480958aa7126c..49479b875e496 100644 --- a/x-pack/plugins/observability_solution/dataset_quality/public/components/flyout/flyout.tsx +++ b/x-pack/plugins/observability_solution/dataset_quality/public/components/flyout/flyout.tsx @@ -54,7 +54,12 @@ export default function Flyout({ dataset, closeFlyout }: FlyoutProps) { - + {flyoutCancelText} diff --git a/x-pack/plugins/observability_solution/dataset_quality/public/components/flyout/header.tsx b/x-pack/plugins/observability_solution/dataset_quality/public/components/flyout/header.tsx index c6f283cb66294..a0474dd8d70fa 100644 --- a/x-pack/plugins/observability_solution/dataset_quality/public/components/flyout/header.tsx +++ b/x-pack/plugins/observability_solution/dataset_quality/public/components/flyout/header.tsx @@ -55,7 +55,12 @@ export function Header({ dataStreamStat }: { dataStreamStat: FlyoutDataset }) { justifyContent="flexEnd" alignItems="center" > - + {flyoutOpenInLogsExplorerText} diff --git a/x-pack/plugins/observability_solution/dataset_quality/public/hooks/use_dataset_quality_filters.tsx b/x-pack/plugins/observability_solution/dataset_quality/public/hooks/use_dataset_quality_filters.tsx index 8eb842df0f636..f9a94c38d4b40 100644 --- a/x-pack/plugins/observability_solution/dataset_quality/public/hooks/use_dataset_quality_filters.tsx +++ b/x-pack/plugins/observability_solution/dataset_quality/public/hooks/use_dataset_quality_filters.tsx @@ -53,8 +53,8 @@ export const useDatasetQualityFilters = () => { timeRange: { ...timeRange, refresh: { - isPaused, - interval: refreshInterval, + pause: isPaused, + value: refreshInterval, }, }, }); diff --git a/x-pack/plugins/observability_solution/dataset_quality/public/state_machines/dataset_quality_controller/src/defaults.ts b/x-pack/plugins/observability_solution/dataset_quality/public/state_machines/dataset_quality_controller/src/defaults.ts index 797cf0ae85310..6d5239c34812c 100644 --- a/x-pack/plugins/observability_solution/dataset_quality/public/state_machines/dataset_quality_controller/src/defaults.ts +++ b/x-pack/plugins/observability_solution/dataset_quality/public/state_machines/dataset_quality_controller/src/defaults.ts @@ -31,8 +31,8 @@ export const DEFAULT_CONTEXT: DefaultDatasetQualityControllerState = { from: 'now-24h', to: 'now', refresh: { - isPaused: true, - interval: ONE_MINUTE_IN_MS, + pause: true, + value: ONE_MINUTE_IN_MS, }, }, integrations: [], diff --git a/x-pack/plugins/observability_solution/dataset_quality/public/state_machines/dataset_quality_controller/src/types.ts b/x-pack/plugins/observability_solution/dataset_quality/public/state_machines/dataset_quality_controller/src/types.ts index acdd7d5c16532..1ea8aea041980 100644 --- a/x-pack/plugins/observability_solution/dataset_quality/public/state_machines/dataset_quality_controller/src/types.ts +++ b/x-pack/plugins/observability_solution/dataset_quality/public/state_machines/dataset_quality_controller/src/types.ts @@ -6,6 +6,7 @@ */ import { DoneInvokeEvent } from 'xstate'; +import { RefreshInterval, TimeRange } from '@kbn/data-plugin/common'; import { Integration } from '../../../../common/data_streams_stats/integration'; import { Direction, SortField } from '../../../hooks'; import { DegradedDocsStat } from '../../../../common/data_streams_stats/malformed_docs_stat'; @@ -30,14 +31,9 @@ interface TableCriteria { }; } -export interface TimeRangeConfig { - from: string; - to: string; - refresh: { - isPaused: boolean; - interval: number; - }; -} +export type TimeRangeConfig = Pick & { + refresh: RefreshInterval; +}; interface FiltersCriteria { inactive: boolean; diff --git a/x-pack/plugins/observability_solution/exploratory_view/common/annotations.ts b/x-pack/plugins/observability_solution/exploratory_view/common/annotations.ts index e9b7c6b77b231..b30b563ccd0b0 100644 --- a/x-pack/plugins/observability_solution/exploratory_view/common/annotations.ts +++ b/x-pack/plugins/observability_solution/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/apm/common/runtime_types/date_as_string_rt.ts. + * Copied from x-pack/plugins/observability_solution/apm/common/runtime_types/date_as_string_rt.ts. */ const dateAsStringRt = new t.Type( 'DateAsString', diff --git a/x-pack/plugins/observability_solution/exploratory_view/public/application/types.ts b/x-pack/plugins/observability_solution/exploratory_view/public/application/types.ts index 3cdaee088db7a..08cf568e98dd1 100644 --- a/x-pack/plugins/observability_solution/exploratory_view/public/application/types.ts +++ b/x-pack/plugins/observability_solution/exploratory_view/public/application/types.ts @@ -25,13 +25,13 @@ import { DataViewsPublicPluginStart } from '@kbn/data-views-plugin/public'; import { LensPublicStart } from '@kbn/lens-plugin/public'; import { SharePluginStart } from '@kbn/share-plugin/public'; import { TriggersAndActionsUIPublicPluginStart } from '@kbn/triggers-actions-ui-plugin/public'; -import { CasesUiStart } from '@kbn/cases-plugin/public'; +import { CasesPublicStart } from '@kbn/cases-plugin/public'; import type { ChartsPluginStart } from '@kbn/charts-plugin/public'; import { DiscoverStart } from '@kbn/discover-plugin/public'; export interface ObservabilityAppServices { application: ApplicationStart; - cases: CasesUiStart; + cases: CasesPublicStart; charts: ChartsPluginStart; chrome: ChromeStart; data: DataPublicPluginStart; diff --git a/x-pack/plugins/observability_solution/exploratory_view/public/plugin.ts b/x-pack/plugins/observability_solution/exploratory_view/public/plugin.ts index 66bcb9cf8a8a2..eb5fd4ead1501 100644 --- a/x-pack/plugins/observability_solution/exploratory_view/public/plugin.ts +++ b/x-pack/plugins/observability_solution/exploratory_view/public/plugin.ts @@ -24,7 +24,7 @@ import type { DiscoverStart } from '@kbn/discover-plugin/public'; import type { EmbeddableStart } from '@kbn/embeddable-plugin/public'; import type { HomePublicPluginSetup, HomePublicPluginStart } from '@kbn/home-plugin/public'; import type { ChartsPluginStart } from '@kbn/charts-plugin/public'; -import { CasesUiStart } from '@kbn/cases-plugin/public'; +import { CasesPublicStart } from '@kbn/cases-plugin/public'; import type { LensPublicStart } from '@kbn/lens-plugin/public'; import { TriggersAndActionsUIPublicPluginSetup, @@ -51,7 +51,7 @@ export interface ExploratoryViewPublicPluginsSetup { } export interface ExploratoryViewPublicPluginsStart { - cases: CasesUiStart; + cases: CasesPublicStart; charts: ChartsPluginStart; data: DataPublicPluginStart; dataViews: DataViewsPublicPluginStart; diff --git a/x-pack/plugins/infra/.storybook/main.js b/x-pack/plugins/observability_solution/infra/.storybook/main.js similarity index 100% rename from x-pack/plugins/infra/.storybook/main.js rename to x-pack/plugins/observability_solution/infra/.storybook/main.js diff --git a/x-pack/plugins/infra/.storybook/preview.js b/x-pack/plugins/observability_solution/infra/.storybook/preview.js similarity index 100% rename from x-pack/plugins/infra/.storybook/preview.js rename to x-pack/plugins/observability_solution/infra/.storybook/preview.js diff --git a/x-pack/plugins/infra/README.md b/x-pack/plugins/observability_solution/infra/README.md similarity index 100% rename from x-pack/plugins/infra/README.md rename to x-pack/plugins/observability_solution/infra/README.md diff --git a/x-pack/plugins/infra/common/alerting/logs/log_threshold/index.ts b/x-pack/plugins/observability_solution/infra/common/alerting/logs/log_threshold/index.ts similarity index 100% rename from x-pack/plugins/infra/common/alerting/logs/log_threshold/index.ts rename to x-pack/plugins/observability_solution/infra/common/alerting/logs/log_threshold/index.ts diff --git a/x-pack/plugins/infra/common/alerting/logs/log_threshold/query_helpers.ts b/x-pack/plugins/observability_solution/infra/common/alerting/logs/log_threshold/query_helpers.ts similarity index 100% rename from x-pack/plugins/infra/common/alerting/logs/log_threshold/query_helpers.ts rename to x-pack/plugins/observability_solution/infra/common/alerting/logs/log_threshold/query_helpers.ts diff --git a/x-pack/plugins/infra/common/alerting/logs/log_threshold/types.ts b/x-pack/plugins/observability_solution/infra/common/alerting/logs/log_threshold/types.ts similarity index 100% rename from x-pack/plugins/infra/common/alerting/logs/log_threshold/types.ts rename to x-pack/plugins/observability_solution/infra/common/alerting/logs/log_threshold/types.ts diff --git a/x-pack/plugins/infra/common/alerting/metrics/alert_link.test.ts b/x-pack/plugins/observability_solution/infra/common/alerting/metrics/alert_link.test.ts similarity index 100% rename from x-pack/plugins/infra/common/alerting/metrics/alert_link.test.ts rename to x-pack/plugins/observability_solution/infra/common/alerting/metrics/alert_link.test.ts diff --git a/x-pack/plugins/infra/common/alerting/metrics/alert_link.ts b/x-pack/plugins/observability_solution/infra/common/alerting/metrics/alert_link.ts similarity index 100% rename from x-pack/plugins/infra/common/alerting/metrics/alert_link.ts rename to x-pack/plugins/observability_solution/infra/common/alerting/metrics/alert_link.ts diff --git a/x-pack/plugins/infra/common/alerting/metrics/index.ts b/x-pack/plugins/observability_solution/infra/common/alerting/metrics/index.ts similarity index 100% rename from x-pack/plugins/infra/common/alerting/metrics/index.ts rename to x-pack/plugins/observability_solution/infra/common/alerting/metrics/index.ts diff --git a/x-pack/plugins/infra/common/alerting/metrics/metric_value_formatter.test.ts b/x-pack/plugins/observability_solution/infra/common/alerting/metrics/metric_value_formatter.test.ts similarity index 100% rename from x-pack/plugins/infra/common/alerting/metrics/metric_value_formatter.test.ts rename to x-pack/plugins/observability_solution/infra/common/alerting/metrics/metric_value_formatter.test.ts diff --git a/x-pack/plugins/infra/common/alerting/metrics/metric_value_formatter.ts b/x-pack/plugins/observability_solution/infra/common/alerting/metrics/metric_value_formatter.ts similarity index 100% rename from x-pack/plugins/infra/common/alerting/metrics/metric_value_formatter.ts rename to x-pack/plugins/observability_solution/infra/common/alerting/metrics/metric_value_formatter.ts diff --git a/x-pack/plugins/infra/common/alerting/metrics/types.ts b/x-pack/plugins/observability_solution/infra/common/alerting/metrics/types.ts similarity index 100% rename from x-pack/plugins/infra/common/alerting/metrics/types.ts rename to x-pack/plugins/observability_solution/infra/common/alerting/metrics/types.ts diff --git a/x-pack/plugins/infra/common/color_palette.test.ts b/x-pack/plugins/observability_solution/infra/common/color_palette.test.ts similarity index 100% rename from x-pack/plugins/infra/common/color_palette.test.ts rename to x-pack/plugins/observability_solution/infra/common/color_palette.test.ts diff --git a/x-pack/plugins/infra/common/color_palette.ts b/x-pack/plugins/observability_solution/infra/common/color_palette.ts similarity index 100% rename from x-pack/plugins/infra/common/color_palette.ts rename to x-pack/plugins/observability_solution/infra/common/color_palette.ts diff --git a/x-pack/plugins/infra/common/constants.ts b/x-pack/plugins/observability_solution/infra/common/constants.ts similarity index 100% rename from x-pack/plugins/infra/common/constants.ts rename to x-pack/plugins/observability_solution/infra/common/constants.ts diff --git a/x-pack/plugins/infra/common/custom_dashboards.ts b/x-pack/plugins/observability_solution/infra/common/custom_dashboards.ts similarity index 100% rename from x-pack/plugins/infra/common/custom_dashboards.ts rename to x-pack/plugins/observability_solution/infra/common/custom_dashboards.ts diff --git a/x-pack/plugins/infra/common/dependency_mocks/index_patterns.ts b/x-pack/plugins/observability_solution/infra/common/dependency_mocks/index_patterns.ts similarity index 100% rename from x-pack/plugins/infra/common/dependency_mocks/index_patterns.ts rename to x-pack/plugins/observability_solution/infra/common/dependency_mocks/index_patterns.ts diff --git a/x-pack/plugins/infra/common/ecs_allowed_list.test.ts b/x-pack/plugins/observability_solution/infra/common/ecs_allowed_list.test.ts similarity index 100% rename from x-pack/plugins/infra/common/ecs_allowed_list.test.ts rename to x-pack/plugins/observability_solution/infra/common/ecs_allowed_list.test.ts diff --git a/x-pack/plugins/infra/common/ecs_allowed_list.ts b/x-pack/plugins/observability_solution/infra/common/ecs_allowed_list.ts similarity index 100% rename from x-pack/plugins/infra/common/ecs_allowed_list.ts rename to x-pack/plugins/observability_solution/infra/common/ecs_allowed_list.ts diff --git a/x-pack/plugins/infra/common/errors/index.ts b/x-pack/plugins/observability_solution/infra/common/errors/index.ts similarity index 100% rename from x-pack/plugins/infra/common/errors/index.ts rename to x-pack/plugins/observability_solution/infra/common/errors/index.ts diff --git a/x-pack/plugins/infra/common/errors/metrics.ts b/x-pack/plugins/observability_solution/infra/common/errors/metrics.ts similarity index 100% rename from x-pack/plugins/infra/common/errors/metrics.ts rename to x-pack/plugins/observability_solution/infra/common/errors/metrics.ts diff --git a/x-pack/plugins/infra/common/formatters/alert_link.ts b/x-pack/plugins/observability_solution/infra/common/formatters/alert_link.ts similarity index 100% rename from x-pack/plugins/infra/common/formatters/alert_link.ts rename to x-pack/plugins/observability_solution/infra/common/formatters/alert_link.ts diff --git a/x-pack/plugins/infra/common/formatters/bytes.test.ts b/x-pack/plugins/observability_solution/infra/common/formatters/bytes.test.ts similarity index 100% rename from x-pack/plugins/infra/common/formatters/bytes.test.ts rename to x-pack/plugins/observability_solution/infra/common/formatters/bytes.test.ts diff --git a/x-pack/plugins/infra/common/formatters/bytes.ts b/x-pack/plugins/observability_solution/infra/common/formatters/bytes.ts similarity index 100% rename from x-pack/plugins/infra/common/formatters/bytes.ts rename to x-pack/plugins/observability_solution/infra/common/formatters/bytes.ts diff --git a/x-pack/plugins/infra/common/formatters/datetime.ts b/x-pack/plugins/observability_solution/infra/common/formatters/datetime.ts similarity index 100% rename from x-pack/plugins/infra/common/formatters/datetime.ts rename to x-pack/plugins/observability_solution/infra/common/formatters/datetime.ts diff --git a/x-pack/plugins/infra/common/formatters/get_custom_metric_label.ts b/x-pack/plugins/observability_solution/infra/common/formatters/get_custom_metric_label.ts similarity index 100% rename from x-pack/plugins/infra/common/formatters/get_custom_metric_label.ts rename to x-pack/plugins/observability_solution/infra/common/formatters/get_custom_metric_label.ts diff --git a/x-pack/plugins/infra/common/formatters/high_precision.ts b/x-pack/plugins/observability_solution/infra/common/formatters/high_precision.ts similarity index 100% rename from x-pack/plugins/infra/common/formatters/high_precision.ts rename to x-pack/plugins/observability_solution/infra/common/formatters/high_precision.ts diff --git a/x-pack/plugins/infra/common/formatters/index.ts b/x-pack/plugins/observability_solution/infra/common/formatters/index.ts similarity index 100% rename from x-pack/plugins/infra/common/formatters/index.ts rename to x-pack/plugins/observability_solution/infra/common/formatters/index.ts diff --git a/x-pack/plugins/infra/common/formatters/number.ts b/x-pack/plugins/observability_solution/infra/common/formatters/number.ts similarity index 100% rename from x-pack/plugins/infra/common/formatters/number.ts rename to x-pack/plugins/observability_solution/infra/common/formatters/number.ts diff --git a/x-pack/plugins/infra/common/formatters/percent.ts b/x-pack/plugins/observability_solution/infra/common/formatters/percent.ts similarity index 100% rename from x-pack/plugins/infra/common/formatters/percent.ts rename to x-pack/plugins/observability_solution/infra/common/formatters/percent.ts diff --git a/x-pack/plugins/infra/common/formatters/snapshot_metric_formats.ts b/x-pack/plugins/observability_solution/infra/common/formatters/snapshot_metric_formats.ts similarity index 100% rename from x-pack/plugins/infra/common/formatters/snapshot_metric_formats.ts rename to x-pack/plugins/observability_solution/infra/common/formatters/snapshot_metric_formats.ts diff --git a/x-pack/plugins/infra/common/formatters/telemetry_time_range.ts b/x-pack/plugins/observability_solution/infra/common/formatters/telemetry_time_range.ts similarity index 100% rename from x-pack/plugins/infra/common/formatters/telemetry_time_range.ts rename to x-pack/plugins/observability_solution/infra/common/formatters/telemetry_time_range.ts diff --git a/x-pack/plugins/infra/common/formatters/types.ts b/x-pack/plugins/observability_solution/infra/common/formatters/types.ts similarity index 100% rename from x-pack/plugins/infra/common/formatters/types.ts rename to x-pack/plugins/observability_solution/infra/common/formatters/types.ts diff --git a/x-pack/plugins/infra/common/http_api/custom_dashboards_api.ts b/x-pack/plugins/observability_solution/infra/common/http_api/custom_dashboards_api.ts similarity index 100% rename from x-pack/plugins/infra/common/http_api/custom_dashboards_api.ts rename to x-pack/plugins/observability_solution/infra/common/http_api/custom_dashboards_api.ts diff --git a/x-pack/plugins/infra/common/http_api/host_details/get_infra_services.ts b/x-pack/plugins/observability_solution/infra/common/http_api/host_details/get_infra_services.ts similarity index 100% rename from x-pack/plugins/infra/common/http_api/host_details/get_infra_services.ts rename to x-pack/plugins/observability_solution/infra/common/http_api/host_details/get_infra_services.ts diff --git a/x-pack/plugins/infra/common/http_api/host_details/index.ts b/x-pack/plugins/observability_solution/infra/common/http_api/host_details/index.ts similarity index 100% rename from x-pack/plugins/infra/common/http_api/host_details/index.ts rename to x-pack/plugins/observability_solution/infra/common/http_api/host_details/index.ts diff --git a/x-pack/plugins/infra/common/http_api/host_details/process_list.ts b/x-pack/plugins/observability_solution/infra/common/http_api/host_details/process_list.ts similarity index 100% rename from x-pack/plugins/infra/common/http_api/host_details/process_list.ts rename to x-pack/plugins/observability_solution/infra/common/http_api/host_details/process_list.ts diff --git a/x-pack/plugins/infra/common/http_api/index.ts b/x-pack/plugins/observability_solution/infra/common/http_api/index.ts similarity index 100% rename from x-pack/plugins/infra/common/http_api/index.ts rename to x-pack/plugins/observability_solution/infra/common/http_api/index.ts diff --git a/x-pack/plugins/infra/common/http_api/infra/get_infra_metrics.ts b/x-pack/plugins/observability_solution/infra/common/http_api/infra/get_infra_metrics.ts similarity index 100% rename from x-pack/plugins/infra/common/http_api/infra/get_infra_metrics.ts rename to x-pack/plugins/observability_solution/infra/common/http_api/infra/get_infra_metrics.ts diff --git a/x-pack/plugins/infra/common/http_api/infra/index.ts b/x-pack/plugins/observability_solution/infra/common/http_api/infra/index.ts similarity index 100% rename from x-pack/plugins/infra/common/http_api/infra/index.ts rename to x-pack/plugins/observability_solution/infra/common/http_api/infra/index.ts diff --git a/x-pack/plugins/infra/common/http_api/infra_ml/index.ts b/x-pack/plugins/observability_solution/infra/common/http_api/infra_ml/index.ts similarity index 100% rename from x-pack/plugins/infra/common/http_api/infra_ml/index.ts rename to x-pack/plugins/observability_solution/infra/common/http_api/infra_ml/index.ts diff --git a/x-pack/plugins/infra/common/http_api/infra_ml/results/common.ts b/x-pack/plugins/observability_solution/infra/common/http_api/infra_ml/results/common.ts similarity index 100% rename from x-pack/plugins/infra/common/http_api/infra_ml/results/common.ts rename to x-pack/plugins/observability_solution/infra/common/http_api/infra_ml/results/common.ts diff --git a/x-pack/plugins/infra/common/http_api/infra_ml/results/index.ts b/x-pack/plugins/observability_solution/infra/common/http_api/infra_ml/results/index.ts similarity index 100% rename from x-pack/plugins/infra/common/http_api/infra_ml/results/index.ts rename to x-pack/plugins/observability_solution/infra/common/http_api/infra_ml/results/index.ts diff --git a/x-pack/plugins/infra/common/http_api/infra_ml/results/metrics_hosts_anomalies.ts b/x-pack/plugins/observability_solution/infra/common/http_api/infra_ml/results/metrics_hosts_anomalies.ts similarity index 100% rename from x-pack/plugins/infra/common/http_api/infra_ml/results/metrics_hosts_anomalies.ts rename to x-pack/plugins/observability_solution/infra/common/http_api/infra_ml/results/metrics_hosts_anomalies.ts diff --git a/x-pack/plugins/infra/common/http_api/infra_ml/results/metrics_k8s_anomalies.ts b/x-pack/plugins/observability_solution/infra/common/http_api/infra_ml/results/metrics_k8s_anomalies.ts similarity index 100% rename from x-pack/plugins/infra/common/http_api/infra_ml/results/metrics_k8s_anomalies.ts rename to x-pack/plugins/observability_solution/infra/common/http_api/infra_ml/results/metrics_k8s_anomalies.ts diff --git a/x-pack/plugins/infra/common/http_api/inventory_meta_api.ts b/x-pack/plugins/observability_solution/infra/common/http_api/inventory_meta_api.ts similarity index 100% rename from x-pack/plugins/infra/common/http_api/inventory_meta_api.ts rename to x-pack/plugins/observability_solution/infra/common/http_api/inventory_meta_api.ts diff --git a/x-pack/plugins/infra/common/http_api/inventory_views/v1/common.ts b/x-pack/plugins/observability_solution/infra/common/http_api/inventory_views/v1/common.ts similarity index 100% rename from x-pack/plugins/infra/common/http_api/inventory_views/v1/common.ts rename to x-pack/plugins/observability_solution/infra/common/http_api/inventory_views/v1/common.ts diff --git a/x-pack/plugins/infra/common/http_api/inventory_views/v1/create_inventory_view.ts b/x-pack/plugins/observability_solution/infra/common/http_api/inventory_views/v1/create_inventory_view.ts similarity index 100% rename from x-pack/plugins/infra/common/http_api/inventory_views/v1/create_inventory_view.ts rename to x-pack/plugins/observability_solution/infra/common/http_api/inventory_views/v1/create_inventory_view.ts diff --git a/x-pack/plugins/infra/common/http_api/inventory_views/v1/find_inventory_view.ts b/x-pack/plugins/observability_solution/infra/common/http_api/inventory_views/v1/find_inventory_view.ts similarity index 100% rename from x-pack/plugins/infra/common/http_api/inventory_views/v1/find_inventory_view.ts rename to x-pack/plugins/observability_solution/infra/common/http_api/inventory_views/v1/find_inventory_view.ts diff --git a/x-pack/plugins/infra/common/http_api/inventory_views/v1/get_inventory_view.ts b/x-pack/plugins/observability_solution/infra/common/http_api/inventory_views/v1/get_inventory_view.ts similarity index 100% rename from x-pack/plugins/infra/common/http_api/inventory_views/v1/get_inventory_view.ts rename to x-pack/plugins/observability_solution/infra/common/http_api/inventory_views/v1/get_inventory_view.ts diff --git a/x-pack/plugins/infra/common/http_api/inventory_views/v1/index.ts b/x-pack/plugins/observability_solution/infra/common/http_api/inventory_views/v1/index.ts similarity index 100% rename from x-pack/plugins/infra/common/http_api/inventory_views/v1/index.ts rename to x-pack/plugins/observability_solution/infra/common/http_api/inventory_views/v1/index.ts diff --git a/x-pack/plugins/infra/common/http_api/inventory_views/v1/update_inventory_view.ts b/x-pack/plugins/observability_solution/infra/common/http_api/inventory_views/v1/update_inventory_view.ts similarity index 100% rename from x-pack/plugins/infra/common/http_api/inventory_views/v1/update_inventory_view.ts rename to x-pack/plugins/observability_solution/infra/common/http_api/inventory_views/v1/update_inventory_view.ts diff --git a/x-pack/plugins/infra/common/http_api/ip_to_hostname/index.ts b/x-pack/plugins/observability_solution/infra/common/http_api/ip_to_hostname/index.ts similarity index 100% rename from x-pack/plugins/infra/common/http_api/ip_to_hostname/index.ts rename to x-pack/plugins/observability_solution/infra/common/http_api/ip_to_hostname/index.ts diff --git a/x-pack/plugins/infra/common/http_api/latest.ts b/x-pack/plugins/observability_solution/infra/common/http_api/latest.ts similarity index 100% rename from x-pack/plugins/infra/common/http_api/latest.ts rename to x-pack/plugins/observability_solution/infra/common/http_api/latest.ts diff --git a/x-pack/plugins/infra/common/http_api/log_alerts/v1/chart_preview_data.ts b/x-pack/plugins/observability_solution/infra/common/http_api/log_alerts/v1/chart_preview_data.ts similarity index 93% rename from x-pack/plugins/infra/common/http_api/log_alerts/v1/chart_preview_data.ts rename to x-pack/plugins/observability_solution/infra/common/http_api/log_alerts/v1/chart_preview_data.ts index 7f0424f0df53b..190c43a98e623 100644 --- a/x-pack/plugins/infra/common/http_api/log_alerts/v1/chart_preview_data.ts +++ b/x-pack/plugins/observability_solution/infra/common/http_api/log_alerts/v1/chart_preview_data.ts @@ -52,9 +52,9 @@ export type GetLogAlertsChartPreviewDataSuccessResponsePayload = rt.TypeOf< // // If it's removed before then you get: // -// x-pack/plugins/infra/common/http_api/log_alerts/chart_preview_data.ts:44:14 - error TS4023: +// x-pack/plugins/observability_solution/infra/common/http_api/log_alerts/chart_preview_data.ts:44:14 - error TS4023: // Exported variable 'getLogAlertsChartPreviewDataAlertParamsSubsetRT' has or is using name 'Comparator' -// from external module "/Users/smith/Code/kibana/x-pack/plugins/infra/common/alerting/logs/log_threshold/types" +// from external module "/Users/smith/Code/kibana/x-pack/plugins/observability_solution/infra/common/alerting/logs/log_threshold/types" // but cannot be named. // export const getLogAlertsChartPreviewDataAlertParamsSubsetRT: any = rt.intersection([ diff --git a/x-pack/plugins/infra/common/http_api/log_alerts/v1/index.ts b/x-pack/plugins/observability_solution/infra/common/http_api/log_alerts/v1/index.ts similarity index 100% rename from x-pack/plugins/infra/common/http_api/log_alerts/v1/index.ts rename to x-pack/plugins/observability_solution/infra/common/http_api/log_alerts/v1/index.ts diff --git a/x-pack/plugins/infra/common/http_api/log_analysis/id_formats/v1/id_formats.ts b/x-pack/plugins/observability_solution/infra/common/http_api/log_analysis/id_formats/v1/id_formats.ts similarity index 100% rename from x-pack/plugins/infra/common/http_api/log_analysis/id_formats/v1/id_formats.ts rename to x-pack/plugins/observability_solution/infra/common/http_api/log_analysis/id_formats/v1/id_formats.ts diff --git a/x-pack/plugins/infra/common/http_api/log_analysis/results/v1/index.ts b/x-pack/plugins/observability_solution/infra/common/http_api/log_analysis/results/v1/index.ts similarity index 100% rename from x-pack/plugins/infra/common/http_api/log_analysis/results/v1/index.ts rename to x-pack/plugins/observability_solution/infra/common/http_api/log_analysis/results/v1/index.ts diff --git a/x-pack/plugins/infra/common/http_api/log_analysis/results/v1/log_entry_anomalies.ts b/x-pack/plugins/observability_solution/infra/common/http_api/log_analysis/results/v1/log_entry_anomalies.ts similarity index 100% rename from x-pack/plugins/infra/common/http_api/log_analysis/results/v1/log_entry_anomalies.ts rename to x-pack/plugins/observability_solution/infra/common/http_api/log_analysis/results/v1/log_entry_anomalies.ts diff --git a/x-pack/plugins/infra/common/http_api/log_analysis/results/v1/log_entry_anomalies_datasets.ts b/x-pack/plugins/observability_solution/infra/common/http_api/log_analysis/results/v1/log_entry_anomalies_datasets.ts similarity index 100% rename from x-pack/plugins/infra/common/http_api/log_analysis/results/v1/log_entry_anomalies_datasets.ts rename to x-pack/plugins/observability_solution/infra/common/http_api/log_analysis/results/v1/log_entry_anomalies_datasets.ts diff --git a/x-pack/plugins/infra/common/http_api/log_analysis/results/v1/log_entry_categories.ts b/x-pack/plugins/observability_solution/infra/common/http_api/log_analysis/results/v1/log_entry_categories.ts similarity index 100% rename from x-pack/plugins/infra/common/http_api/log_analysis/results/v1/log_entry_categories.ts rename to x-pack/plugins/observability_solution/infra/common/http_api/log_analysis/results/v1/log_entry_categories.ts diff --git a/x-pack/plugins/infra/common/http_api/log_analysis/results/v1/log_entry_category_datasets.ts b/x-pack/plugins/observability_solution/infra/common/http_api/log_analysis/results/v1/log_entry_category_datasets.ts similarity index 100% rename from x-pack/plugins/infra/common/http_api/log_analysis/results/v1/log_entry_category_datasets.ts rename to x-pack/plugins/observability_solution/infra/common/http_api/log_analysis/results/v1/log_entry_category_datasets.ts diff --git a/x-pack/plugins/infra/common/http_api/log_analysis/results/v1/log_entry_category_datasets_stats.ts b/x-pack/plugins/observability_solution/infra/common/http_api/log_analysis/results/v1/log_entry_category_datasets_stats.ts similarity index 100% rename from x-pack/plugins/infra/common/http_api/log_analysis/results/v1/log_entry_category_datasets_stats.ts rename to x-pack/plugins/observability_solution/infra/common/http_api/log_analysis/results/v1/log_entry_category_datasets_stats.ts diff --git a/x-pack/plugins/infra/common/http_api/log_analysis/results/v1/log_entry_category_examples.ts b/x-pack/plugins/observability_solution/infra/common/http_api/log_analysis/results/v1/log_entry_category_examples.ts similarity index 100% rename from x-pack/plugins/infra/common/http_api/log_analysis/results/v1/log_entry_category_examples.ts rename to x-pack/plugins/observability_solution/infra/common/http_api/log_analysis/results/v1/log_entry_category_examples.ts diff --git a/x-pack/plugins/infra/common/http_api/log_analysis/results/v1/log_entry_examples.ts b/x-pack/plugins/observability_solution/infra/common/http_api/log_analysis/results/v1/log_entry_examples.ts similarity index 100% rename from x-pack/plugins/infra/common/http_api/log_analysis/results/v1/log_entry_examples.ts rename to x-pack/plugins/observability_solution/infra/common/http_api/log_analysis/results/v1/log_entry_examples.ts diff --git a/x-pack/plugins/infra/common/http_api/log_analysis/validation/v1/datasets.ts b/x-pack/plugins/observability_solution/infra/common/http_api/log_analysis/validation/v1/datasets.ts similarity index 100% rename from x-pack/plugins/infra/common/http_api/log_analysis/validation/v1/datasets.ts rename to x-pack/plugins/observability_solution/infra/common/http_api/log_analysis/validation/v1/datasets.ts diff --git a/x-pack/plugins/infra/common/http_api/log_analysis/validation/v1/index.ts b/x-pack/plugins/observability_solution/infra/common/http_api/log_analysis/validation/v1/index.ts similarity index 100% rename from x-pack/plugins/infra/common/http_api/log_analysis/validation/v1/index.ts rename to x-pack/plugins/observability_solution/infra/common/http_api/log_analysis/validation/v1/index.ts diff --git a/x-pack/plugins/infra/common/http_api/log_analysis/validation/v1/log_entry_rate_indices.ts b/x-pack/plugins/observability_solution/infra/common/http_api/log_analysis/validation/v1/log_entry_rate_indices.ts similarity index 100% rename from x-pack/plugins/infra/common/http_api/log_analysis/validation/v1/log_entry_rate_indices.ts rename to x-pack/plugins/observability_solution/infra/common/http_api/log_analysis/validation/v1/log_entry_rate_indices.ts diff --git a/x-pack/plugins/infra/common/http_api/metadata_api.ts b/x-pack/plugins/observability_solution/infra/common/http_api/metadata_api.ts similarity index 100% rename from x-pack/plugins/infra/common/http_api/metadata_api.ts rename to x-pack/plugins/observability_solution/infra/common/http_api/metadata_api.ts diff --git a/x-pack/plugins/infra/common/http_api/metrics_api.ts b/x-pack/plugins/observability_solution/infra/common/http_api/metrics_api.ts similarity index 100% rename from x-pack/plugins/infra/common/http_api/metrics_api.ts rename to x-pack/plugins/observability_solution/infra/common/http_api/metrics_api.ts diff --git a/x-pack/plugins/infra/common/http_api/metrics_explorer.ts b/x-pack/plugins/observability_solution/infra/common/http_api/metrics_explorer.ts similarity index 100% rename from x-pack/plugins/infra/common/http_api/metrics_explorer.ts rename to x-pack/plugins/observability_solution/infra/common/http_api/metrics_explorer.ts diff --git a/x-pack/plugins/infra/common/http_api/metrics_explorer_views/v1/common.ts b/x-pack/plugins/observability_solution/infra/common/http_api/metrics_explorer_views/v1/common.ts similarity index 100% rename from x-pack/plugins/infra/common/http_api/metrics_explorer_views/v1/common.ts rename to x-pack/plugins/observability_solution/infra/common/http_api/metrics_explorer_views/v1/common.ts diff --git a/x-pack/plugins/infra/common/http_api/metrics_explorer_views/v1/create_metrics_explorer_view.ts b/x-pack/plugins/observability_solution/infra/common/http_api/metrics_explorer_views/v1/create_metrics_explorer_view.ts similarity index 100% rename from x-pack/plugins/infra/common/http_api/metrics_explorer_views/v1/create_metrics_explorer_view.ts rename to x-pack/plugins/observability_solution/infra/common/http_api/metrics_explorer_views/v1/create_metrics_explorer_view.ts diff --git a/x-pack/plugins/infra/common/http_api/metrics_explorer_views/v1/find_metrics_explorer_view.ts b/x-pack/plugins/observability_solution/infra/common/http_api/metrics_explorer_views/v1/find_metrics_explorer_view.ts similarity index 100% rename from x-pack/plugins/infra/common/http_api/metrics_explorer_views/v1/find_metrics_explorer_view.ts rename to x-pack/plugins/observability_solution/infra/common/http_api/metrics_explorer_views/v1/find_metrics_explorer_view.ts diff --git a/x-pack/plugins/infra/common/http_api/metrics_explorer_views/v1/get_metrics_explorer_view.ts b/x-pack/plugins/observability_solution/infra/common/http_api/metrics_explorer_views/v1/get_metrics_explorer_view.ts similarity index 100% rename from x-pack/plugins/infra/common/http_api/metrics_explorer_views/v1/get_metrics_explorer_view.ts rename to x-pack/plugins/observability_solution/infra/common/http_api/metrics_explorer_views/v1/get_metrics_explorer_view.ts diff --git a/x-pack/plugins/infra/common/http_api/metrics_explorer_views/v1/index.ts b/x-pack/plugins/observability_solution/infra/common/http_api/metrics_explorer_views/v1/index.ts similarity index 100% rename from x-pack/plugins/infra/common/http_api/metrics_explorer_views/v1/index.ts rename to x-pack/plugins/observability_solution/infra/common/http_api/metrics_explorer_views/v1/index.ts diff --git a/x-pack/plugins/infra/common/http_api/metrics_explorer_views/v1/update_metrics_explorer_view.ts b/x-pack/plugins/observability_solution/infra/common/http_api/metrics_explorer_views/v1/update_metrics_explorer_view.ts similarity index 100% rename from x-pack/plugins/infra/common/http_api/metrics_explorer_views/v1/update_metrics_explorer_view.ts rename to x-pack/plugins/observability_solution/infra/common/http_api/metrics_explorer_views/v1/update_metrics_explorer_view.ts diff --git a/x-pack/plugins/infra/common/http_api/node_details_api.ts b/x-pack/plugins/observability_solution/infra/common/http_api/node_details_api.ts similarity index 100% rename from x-pack/plugins/infra/common/http_api/node_details_api.ts rename to x-pack/plugins/observability_solution/infra/common/http_api/node_details_api.ts diff --git a/x-pack/plugins/infra/common/http_api/overview_api.ts b/x-pack/plugins/observability_solution/infra/common/http_api/overview_api.ts similarity index 100% rename from x-pack/plugins/infra/common/http_api/overview_api.ts rename to x-pack/plugins/observability_solution/infra/common/http_api/overview_api.ts diff --git a/x-pack/plugins/infra/common/http_api/profiling_api.ts b/x-pack/plugins/observability_solution/infra/common/http_api/profiling_api.ts similarity index 100% rename from x-pack/plugins/infra/common/http_api/profiling_api.ts rename to x-pack/plugins/observability_solution/infra/common/http_api/profiling_api.ts diff --git a/x-pack/plugins/infra/common/http_api/shared/errors.ts b/x-pack/plugins/observability_solution/infra/common/http_api/shared/errors.ts similarity index 100% rename from x-pack/plugins/infra/common/http_api/shared/errors.ts rename to x-pack/plugins/observability_solution/infra/common/http_api/shared/errors.ts diff --git a/x-pack/plugins/infra/common/http_api/shared/es_request.ts b/x-pack/plugins/observability_solution/infra/common/http_api/shared/es_request.ts similarity index 100% rename from x-pack/plugins/infra/common/http_api/shared/es_request.ts rename to x-pack/plugins/observability_solution/infra/common/http_api/shared/es_request.ts diff --git a/x-pack/plugins/infra/common/http_api/shared/index.ts b/x-pack/plugins/observability_solution/infra/common/http_api/shared/index.ts similarity index 100% rename from x-pack/plugins/infra/common/http_api/shared/index.ts rename to x-pack/plugins/observability_solution/infra/common/http_api/shared/index.ts diff --git a/x-pack/plugins/infra/common/http_api/shared/metric_statistics.ts b/x-pack/plugins/observability_solution/infra/common/http_api/shared/metric_statistics.ts similarity index 100% rename from x-pack/plugins/infra/common/http_api/shared/metric_statistics.ts rename to x-pack/plugins/observability_solution/infra/common/http_api/shared/metric_statistics.ts diff --git a/x-pack/plugins/infra/common/http_api/shared/time_range.ts b/x-pack/plugins/observability_solution/infra/common/http_api/shared/time_range.ts similarity index 100% rename from x-pack/plugins/infra/common/http_api/shared/time_range.ts rename to x-pack/plugins/observability_solution/infra/common/http_api/shared/time_range.ts diff --git a/x-pack/plugins/infra/common/http_api/shared/timing.ts b/x-pack/plugins/observability_solution/infra/common/http_api/shared/timing.ts similarity index 100% rename from x-pack/plugins/infra/common/http_api/shared/timing.ts rename to x-pack/plugins/observability_solution/infra/common/http_api/shared/timing.ts diff --git a/x-pack/plugins/infra/common/http_api/snapshot_api.ts b/x-pack/plugins/observability_solution/infra/common/http_api/snapshot_api.ts similarity index 100% rename from x-pack/plugins/infra/common/http_api/snapshot_api.ts rename to x-pack/plugins/observability_solution/infra/common/http_api/snapshot_api.ts diff --git a/x-pack/plugins/infra/common/infra_ml/anomaly_results.ts b/x-pack/plugins/observability_solution/infra/common/infra_ml/anomaly_results.ts similarity index 100% rename from x-pack/plugins/infra/common/infra_ml/anomaly_results.ts rename to x-pack/plugins/observability_solution/infra/common/infra_ml/anomaly_results.ts diff --git a/x-pack/plugins/infra/common/infra_ml/index.ts b/x-pack/plugins/observability_solution/infra/common/infra_ml/index.ts similarity index 100% rename from x-pack/plugins/infra/common/infra_ml/index.ts rename to x-pack/plugins/observability_solution/infra/common/infra_ml/index.ts diff --git a/x-pack/plugins/infra/common/infra_ml/infra_ml.ts b/x-pack/plugins/observability_solution/infra/common/infra_ml/infra_ml.ts similarity index 100% rename from x-pack/plugins/infra/common/infra_ml/infra_ml.ts rename to x-pack/plugins/observability_solution/infra/common/infra_ml/infra_ml.ts diff --git a/x-pack/plugins/infra/common/infra_ml/job_parameters.ts b/x-pack/plugins/observability_solution/infra/common/infra_ml/job_parameters.ts similarity index 100% rename from x-pack/plugins/infra/common/infra_ml/job_parameters.ts rename to x-pack/plugins/observability_solution/infra/common/infra_ml/job_parameters.ts diff --git a/x-pack/plugins/infra/common/infra_ml/metrics_hosts_ml.ts b/x-pack/plugins/observability_solution/infra/common/infra_ml/metrics_hosts_ml.ts similarity index 100% rename from x-pack/plugins/infra/common/infra_ml/metrics_hosts_ml.ts rename to x-pack/plugins/observability_solution/infra/common/infra_ml/metrics_hosts_ml.ts diff --git a/x-pack/plugins/infra/common/infra_ml/metrics_k8s_ml.ts b/x-pack/plugins/observability_solution/infra/common/infra_ml/metrics_k8s_ml.ts similarity index 100% rename from x-pack/plugins/infra/common/infra_ml/metrics_k8s_ml.ts rename to x-pack/plugins/observability_solution/infra/common/infra_ml/metrics_k8s_ml.ts diff --git a/x-pack/plugins/infra/common/inventory_models/intl_strings.ts b/x-pack/plugins/observability_solution/infra/common/inventory_models/intl_strings.ts similarity index 100% rename from x-pack/plugins/infra/common/inventory_models/intl_strings.ts rename to x-pack/plugins/observability_solution/infra/common/inventory_models/intl_strings.ts diff --git a/x-pack/plugins/infra/common/inventory_views/defaults.ts b/x-pack/plugins/observability_solution/infra/common/inventory_views/defaults.ts similarity index 100% rename from x-pack/plugins/infra/common/inventory_views/defaults.ts rename to x-pack/plugins/observability_solution/infra/common/inventory_views/defaults.ts diff --git a/x-pack/plugins/infra/common/inventory_views/errors.ts b/x-pack/plugins/observability_solution/infra/common/inventory_views/errors.ts similarity index 100% rename from x-pack/plugins/infra/common/inventory_views/errors.ts rename to x-pack/plugins/observability_solution/infra/common/inventory_views/errors.ts diff --git a/x-pack/plugins/infra/common/inventory_views/index.ts b/x-pack/plugins/observability_solution/infra/common/inventory_views/index.ts similarity index 100% rename from x-pack/plugins/infra/common/inventory_views/index.ts rename to x-pack/plugins/observability_solution/infra/common/inventory_views/index.ts diff --git a/x-pack/plugins/infra/common/inventory_views/inventory_view.mock.ts b/x-pack/plugins/observability_solution/infra/common/inventory_views/inventory_view.mock.ts similarity index 100% rename from x-pack/plugins/infra/common/inventory_views/inventory_view.mock.ts rename to x-pack/plugins/observability_solution/infra/common/inventory_views/inventory_view.mock.ts diff --git a/x-pack/plugins/infra/common/inventory_views/types.ts b/x-pack/plugins/observability_solution/infra/common/inventory_views/types.ts similarity index 100% rename from x-pack/plugins/infra/common/inventory_views/types.ts rename to x-pack/plugins/observability_solution/infra/common/inventory_views/types.ts diff --git a/x-pack/plugins/infra/common/locators/helpers.ts b/x-pack/plugins/observability_solution/infra/common/locators/helpers.ts similarity index 100% rename from x-pack/plugins/infra/common/locators/helpers.ts rename to x-pack/plugins/observability_solution/infra/common/locators/helpers.ts diff --git a/x-pack/plugins/infra/common/locators/index.ts b/x-pack/plugins/observability_solution/infra/common/locators/index.ts similarity index 100% rename from x-pack/plugins/infra/common/locators/index.ts rename to x-pack/plugins/observability_solution/infra/common/locators/index.ts diff --git a/x-pack/plugins/infra/common/locators/locators.mock.ts b/x-pack/plugins/observability_solution/infra/common/locators/locators.mock.ts similarity index 100% rename from x-pack/plugins/infra/common/locators/locators.mock.ts rename to x-pack/plugins/observability_solution/infra/common/locators/locators.mock.ts diff --git a/x-pack/plugins/infra/common/locators/locators.test.ts b/x-pack/plugins/observability_solution/infra/common/locators/locators.test.ts similarity index 100% rename from x-pack/plugins/infra/common/locators/locators.test.ts rename to x-pack/plugins/observability_solution/infra/common/locators/locators.test.ts diff --git a/x-pack/plugins/infra/common/locators/logs_locator.ts b/x-pack/plugins/observability_solution/infra/common/locators/logs_locator.ts similarity index 100% rename from x-pack/plugins/infra/common/locators/logs_locator.ts rename to x-pack/plugins/observability_solution/infra/common/locators/logs_locator.ts diff --git a/x-pack/plugins/infra/common/locators/node_logs_locator.ts b/x-pack/plugins/observability_solution/infra/common/locators/node_logs_locator.ts similarity index 100% rename from x-pack/plugins/infra/common/locators/node_logs_locator.ts rename to x-pack/plugins/observability_solution/infra/common/locators/node_logs_locator.ts diff --git a/x-pack/plugins/infra/common/log_analysis/index.ts b/x-pack/plugins/observability_solution/infra/common/log_analysis/index.ts similarity index 100% rename from x-pack/plugins/infra/common/log_analysis/index.ts rename to x-pack/plugins/observability_solution/infra/common/log_analysis/index.ts diff --git a/x-pack/plugins/infra/common/log_analysis/job_parameters.ts b/x-pack/plugins/observability_solution/infra/common/log_analysis/job_parameters.ts similarity index 100% rename from x-pack/plugins/infra/common/log_analysis/job_parameters.ts rename to x-pack/plugins/observability_solution/infra/common/log_analysis/job_parameters.ts diff --git a/x-pack/plugins/infra/common/log_analysis/log_analysis.ts b/x-pack/plugins/observability_solution/infra/common/log_analysis/log_analysis.ts similarity index 100% rename from x-pack/plugins/infra/common/log_analysis/log_analysis.ts rename to x-pack/plugins/observability_solution/infra/common/log_analysis/log_analysis.ts diff --git a/x-pack/plugins/infra/common/log_analysis/log_analysis_quality.ts b/x-pack/plugins/observability_solution/infra/common/log_analysis/log_analysis_quality.ts similarity index 100% rename from x-pack/plugins/infra/common/log_analysis/log_analysis_quality.ts rename to x-pack/plugins/observability_solution/infra/common/log_analysis/log_analysis_quality.ts diff --git a/x-pack/plugins/infra/common/log_analysis/log_analysis_results.ts b/x-pack/plugins/observability_solution/infra/common/log_analysis/log_analysis_results.ts similarity index 100% rename from x-pack/plugins/infra/common/log_analysis/log_analysis_results.ts rename to x-pack/plugins/observability_solution/infra/common/log_analysis/log_analysis_results.ts diff --git a/x-pack/plugins/infra/common/log_analysis/log_entry_anomalies.ts b/x-pack/plugins/observability_solution/infra/common/log_analysis/log_entry_anomalies.ts similarity index 100% rename from x-pack/plugins/infra/common/log_analysis/log_entry_anomalies.ts rename to x-pack/plugins/observability_solution/infra/common/log_analysis/log_entry_anomalies.ts diff --git a/x-pack/plugins/infra/common/log_analysis/log_entry_categories_analysis.ts b/x-pack/plugins/observability_solution/infra/common/log_analysis/log_entry_categories_analysis.ts similarity index 100% rename from x-pack/plugins/infra/common/log_analysis/log_entry_categories_analysis.ts rename to x-pack/plugins/observability_solution/infra/common/log_analysis/log_entry_categories_analysis.ts diff --git a/x-pack/plugins/infra/common/log_analysis/log_entry_examples.ts b/x-pack/plugins/observability_solution/infra/common/log_analysis/log_entry_examples.ts similarity index 100% rename from x-pack/plugins/infra/common/log_analysis/log_entry_examples.ts rename to x-pack/plugins/observability_solution/infra/common/log_analysis/log_entry_examples.ts diff --git a/x-pack/plugins/infra/common/log_analysis/log_entry_rate_analysis.ts b/x-pack/plugins/observability_solution/infra/common/log_analysis/log_entry_rate_analysis.ts similarity index 100% rename from x-pack/plugins/infra/common/log_analysis/log_entry_rate_analysis.ts rename to x-pack/plugins/observability_solution/infra/common/log_analysis/log_entry_rate_analysis.ts diff --git a/x-pack/plugins/infra/common/log_search_result/index.ts b/x-pack/plugins/observability_solution/infra/common/log_search_result/index.ts similarity index 100% rename from x-pack/plugins/infra/common/log_search_result/index.ts rename to x-pack/plugins/observability_solution/infra/common/log_search_result/index.ts diff --git a/x-pack/plugins/infra/common/log_search_result/log_search_result.ts b/x-pack/plugins/observability_solution/infra/common/log_search_result/log_search_result.ts similarity index 100% rename from x-pack/plugins/infra/common/log_search_result/log_search_result.ts rename to x-pack/plugins/observability_solution/infra/common/log_search_result/log_search_result.ts diff --git a/x-pack/plugins/infra/common/log_search_summary/index.ts b/x-pack/plugins/observability_solution/infra/common/log_search_summary/index.ts similarity index 100% rename from x-pack/plugins/infra/common/log_search_summary/index.ts rename to x-pack/plugins/observability_solution/infra/common/log_search_summary/index.ts diff --git a/x-pack/plugins/infra/common/log_search_summary/log_search_summary.ts b/x-pack/plugins/observability_solution/infra/common/log_search_summary/log_search_summary.ts similarity index 100% rename from x-pack/plugins/infra/common/log_search_summary/log_search_summary.ts rename to x-pack/plugins/observability_solution/infra/common/log_search_summary/log_search_summary.ts diff --git a/x-pack/plugins/infra/common/log_text_scale/index.ts b/x-pack/plugins/observability_solution/infra/common/log_text_scale/index.ts similarity index 100% rename from x-pack/plugins/infra/common/log_text_scale/index.ts rename to x-pack/plugins/observability_solution/infra/common/log_text_scale/index.ts diff --git a/x-pack/plugins/infra/common/log_text_scale/log_text_scale.ts b/x-pack/plugins/observability_solution/infra/common/log_text_scale/log_text_scale.ts similarity index 100% rename from x-pack/plugins/infra/common/log_text_scale/log_text_scale.ts rename to x-pack/plugins/observability_solution/infra/common/log_text_scale/log_text_scale.ts diff --git a/x-pack/plugins/infra/common/metrics_explorer_views/defaults.ts b/x-pack/plugins/observability_solution/infra/common/metrics_explorer_views/defaults.ts similarity index 100% rename from x-pack/plugins/infra/common/metrics_explorer_views/defaults.ts rename to x-pack/plugins/observability_solution/infra/common/metrics_explorer_views/defaults.ts diff --git a/x-pack/plugins/infra/common/metrics_explorer_views/errors.ts b/x-pack/plugins/observability_solution/infra/common/metrics_explorer_views/errors.ts similarity index 100% rename from x-pack/plugins/infra/common/metrics_explorer_views/errors.ts rename to x-pack/plugins/observability_solution/infra/common/metrics_explorer_views/errors.ts diff --git a/x-pack/plugins/infra/common/metrics_explorer_views/index.ts b/x-pack/plugins/observability_solution/infra/common/metrics_explorer_views/index.ts similarity index 100% rename from x-pack/plugins/infra/common/metrics_explorer_views/index.ts rename to x-pack/plugins/observability_solution/infra/common/metrics_explorer_views/index.ts diff --git a/x-pack/plugins/infra/common/metrics_explorer_views/metrics_explorer_view.mock.ts b/x-pack/plugins/observability_solution/infra/common/metrics_explorer_views/metrics_explorer_view.mock.ts similarity index 100% rename from x-pack/plugins/infra/common/metrics_explorer_views/metrics_explorer_view.mock.ts rename to x-pack/plugins/observability_solution/infra/common/metrics_explorer_views/metrics_explorer_view.mock.ts diff --git a/x-pack/plugins/infra/common/metrics_explorer_views/types.ts b/x-pack/plugins/observability_solution/infra/common/metrics_explorer_views/types.ts similarity index 100% rename from x-pack/plugins/infra/common/metrics_explorer_views/types.ts rename to x-pack/plugins/observability_solution/infra/common/metrics_explorer_views/types.ts diff --git a/x-pack/plugins/infra/common/metrics_sources/index.ts b/x-pack/plugins/observability_solution/infra/common/metrics_sources/index.ts similarity index 100% rename from x-pack/plugins/infra/common/metrics_sources/index.ts rename to x-pack/plugins/observability_solution/infra/common/metrics_sources/index.ts diff --git a/x-pack/plugins/infra/common/performance_tracing.ts b/x-pack/plugins/observability_solution/infra/common/performance_tracing.ts similarity index 100% rename from x-pack/plugins/infra/common/performance_tracing.ts rename to x-pack/plugins/observability_solution/infra/common/performance_tracing.ts diff --git a/x-pack/plugins/infra/common/plugin_config_types.ts b/x-pack/plugins/observability_solution/infra/common/plugin_config_types.ts similarity index 100% rename from x-pack/plugins/infra/common/plugin_config_types.ts rename to x-pack/plugins/observability_solution/infra/common/plugin_config_types.ts diff --git a/x-pack/plugins/infra/common/runtime_types.ts b/x-pack/plugins/observability_solution/infra/common/runtime_types.ts similarity index 100% rename from x-pack/plugins/infra/common/runtime_types.ts rename to x-pack/plugins/observability_solution/infra/common/runtime_types.ts diff --git a/x-pack/plugins/infra/common/saved_views/index.ts b/x-pack/plugins/observability_solution/infra/common/saved_views/index.ts similarity index 100% rename from x-pack/plugins/infra/common/saved_views/index.ts rename to x-pack/plugins/observability_solution/infra/common/saved_views/index.ts diff --git a/x-pack/plugins/infra/common/saved_views/types.ts b/x-pack/plugins/observability_solution/infra/common/saved_views/types.ts similarity index 100% rename from x-pack/plugins/infra/common/saved_views/types.ts rename to x-pack/plugins/observability_solution/infra/common/saved_views/types.ts diff --git a/x-pack/plugins/infra/common/search_strategies/common/errors.ts b/x-pack/plugins/observability_solution/infra/common/search_strategies/common/errors.ts similarity index 100% rename from x-pack/plugins/infra/common/search_strategies/common/errors.ts rename to x-pack/plugins/observability_solution/infra/common/search_strategies/common/errors.ts diff --git a/x-pack/plugins/infra/common/search_strategies/log_entries/log_entries.ts b/x-pack/plugins/observability_solution/infra/common/search_strategies/log_entries/log_entries.ts similarity index 100% rename from x-pack/plugins/infra/common/search_strategies/log_entries/log_entries.ts rename to x-pack/plugins/observability_solution/infra/common/search_strategies/log_entries/log_entries.ts diff --git a/x-pack/plugins/infra/common/search_strategies/log_entries/log_entry.ts b/x-pack/plugins/observability_solution/infra/common/search_strategies/log_entries/log_entry.ts similarity index 100% rename from x-pack/plugins/infra/common/search_strategies/log_entries/log_entry.ts rename to x-pack/plugins/observability_solution/infra/common/search_strategies/log_entries/log_entry.ts diff --git a/x-pack/plugins/infra/common/snapshot_metric_i18n.ts b/x-pack/plugins/observability_solution/infra/common/snapshot_metric_i18n.ts similarity index 100% rename from x-pack/plugins/infra/common/snapshot_metric_i18n.ts rename to x-pack/plugins/observability_solution/infra/common/snapshot_metric_i18n.ts diff --git a/x-pack/plugins/infra/common/source_configuration/defaults.ts b/x-pack/plugins/observability_solution/infra/common/source_configuration/defaults.ts similarity index 100% rename from x-pack/plugins/infra/common/source_configuration/defaults.ts rename to x-pack/plugins/observability_solution/infra/common/source_configuration/defaults.ts diff --git a/x-pack/plugins/infra/common/source_configuration/source_configuration.ts b/x-pack/plugins/observability_solution/infra/common/source_configuration/source_configuration.ts similarity index 100% rename from x-pack/plugins/infra/common/source_configuration/source_configuration.ts rename to x-pack/plugins/observability_solution/infra/common/source_configuration/source_configuration.ts diff --git a/x-pack/plugins/infra/common/time/index.ts b/x-pack/plugins/observability_solution/infra/common/time/index.ts similarity index 100% rename from x-pack/plugins/infra/common/time/index.ts rename to x-pack/plugins/observability_solution/infra/common/time/index.ts diff --git a/x-pack/plugins/infra/common/time/time_key.ts b/x-pack/plugins/observability_solution/infra/common/time/time_key.ts similarity index 100% rename from x-pack/plugins/infra/common/time/time_key.ts rename to x-pack/plugins/observability_solution/infra/common/time/time_key.ts diff --git a/x-pack/plugins/infra/common/time/time_range.ts b/x-pack/plugins/observability_solution/infra/common/time/time_range.ts similarity index 100% rename from x-pack/plugins/infra/common/time/time_range.ts rename to x-pack/plugins/observability_solution/infra/common/time/time_range.ts diff --git a/x-pack/plugins/infra/common/time/time_scale.ts b/x-pack/plugins/observability_solution/infra/common/time/time_scale.ts similarity index 100% rename from x-pack/plugins/infra/common/time/time_scale.ts rename to x-pack/plugins/observability_solution/infra/common/time/time_scale.ts diff --git a/x-pack/plugins/infra/common/time/time_unit.ts b/x-pack/plugins/observability_solution/infra/common/time/time_unit.ts similarity index 100% rename from x-pack/plugins/infra/common/time/time_unit.ts rename to x-pack/plugins/observability_solution/infra/common/time/time_unit.ts diff --git a/x-pack/plugins/infra/common/typed_json.ts b/x-pack/plugins/observability_solution/infra/common/typed_json.ts similarity index 100% rename from x-pack/plugins/infra/common/typed_json.ts rename to x-pack/plugins/observability_solution/infra/common/typed_json.ts diff --git a/x-pack/plugins/infra/common/url_state_storage_service.ts b/x-pack/plugins/observability_solution/infra/common/url_state_storage_service.ts similarity index 100% rename from x-pack/plugins/infra/common/url_state_storage_service.ts rename to x-pack/plugins/observability_solution/infra/common/url_state_storage_service.ts diff --git a/x-pack/plugins/infra/common/utility_types.ts b/x-pack/plugins/observability_solution/infra/common/utility_types.ts similarity index 100% rename from x-pack/plugins/infra/common/utility_types.ts rename to x-pack/plugins/observability_solution/infra/common/utility_types.ts diff --git a/x-pack/plugins/infra/common/utils/corrected_percent_convert.test.ts b/x-pack/plugins/observability_solution/infra/common/utils/corrected_percent_convert.test.ts similarity index 100% rename from x-pack/plugins/infra/common/utils/corrected_percent_convert.test.ts rename to x-pack/plugins/observability_solution/infra/common/utils/corrected_percent_convert.test.ts diff --git a/x-pack/plugins/infra/common/utils/corrected_percent_convert.ts b/x-pack/plugins/observability_solution/infra/common/utils/corrected_percent_convert.ts similarity index 100% rename from x-pack/plugins/infra/common/utils/corrected_percent_convert.ts rename to x-pack/plugins/observability_solution/infra/common/utils/corrected_percent_convert.ts diff --git a/x-pack/plugins/infra/common/utils/elasticsearch_runtime_types.ts b/x-pack/plugins/observability_solution/infra/common/utils/elasticsearch_runtime_types.ts similarity index 100% rename from x-pack/plugins/infra/common/utils/elasticsearch_runtime_types.ts rename to x-pack/plugins/observability_solution/infra/common/utils/elasticsearch_runtime_types.ts diff --git a/x-pack/plugins/infra/common/utils/get_chart_group_names.ts b/x-pack/plugins/observability_solution/infra/common/utils/get_chart_group_names.ts similarity index 100% rename from x-pack/plugins/infra/common/utils/get_chart_group_names.ts rename to x-pack/plugins/observability_solution/infra/common/utils/get_chart_group_names.ts diff --git a/x-pack/plugins/infra/common/utils/get_interval_in_seconds.ts b/x-pack/plugins/observability_solution/infra/common/utils/get_interval_in_seconds.ts similarity index 100% rename from x-pack/plugins/infra/common/utils/get_interval_in_seconds.ts rename to x-pack/plugins/observability_solution/infra/common/utils/get_interval_in_seconds.ts diff --git a/x-pack/plugins/infra/docs/assets/infra_metricbeat_aws.jpg b/x-pack/plugins/observability_solution/infra/docs/assets/infra_metricbeat_aws.jpg similarity index 100% rename from x-pack/plugins/infra/docs/assets/infra_metricbeat_aws.jpg rename to x-pack/plugins/observability_solution/infra/docs/assets/infra_metricbeat_aws.jpg diff --git a/x-pack/plugins/infra/docs/state_machines/README.md b/x-pack/plugins/observability_solution/infra/docs/state_machines/README.md similarity index 100% rename from x-pack/plugins/infra/docs/state_machines/README.md rename to x-pack/plugins/observability_solution/infra/docs/state_machines/README.md diff --git a/x-pack/plugins/infra/docs/state_machines/xstate_machine_patterns.md b/x-pack/plugins/observability_solution/infra/docs/state_machines/xstate_machine_patterns.md similarity index 100% rename from x-pack/plugins/infra/docs/state_machines/xstate_machine_patterns.md rename to x-pack/plugins/observability_solution/infra/docs/state_machines/xstate_machine_patterns.md diff --git a/x-pack/plugins/infra/docs/state_machines/xstate_react_patterns.md b/x-pack/plugins/observability_solution/infra/docs/state_machines/xstate_react_patterns.md similarity index 100% rename from x-pack/plugins/infra/docs/state_machines/xstate_react_patterns.md rename to x-pack/plugins/observability_solution/infra/docs/state_machines/xstate_react_patterns.md diff --git a/x-pack/plugins/infra/docs/state_machines/xstate_url_patterns_and_precedence.md b/x-pack/plugins/observability_solution/infra/docs/state_machines/xstate_url_patterns_and_precedence.md similarity index 100% rename from x-pack/plugins/infra/docs/state_machines/xstate_url_patterns_and_precedence.md rename to x-pack/plugins/observability_solution/infra/docs/state_machines/xstate_url_patterns_and_precedence.md diff --git a/x-pack/plugins/infra/docs/telemetry/README.md b/x-pack/plugins/observability_solution/infra/docs/telemetry/README.md similarity index 73% rename from x-pack/plugins/infra/docs/telemetry/README.md rename to x-pack/plugins/observability_solution/infra/docs/telemetry/README.md index 48b05d9404be6..ed0ed7e2464e7 100644 --- a/x-pack/plugins/infra/docs/telemetry/README.md +++ b/x-pack/plugins/observability_solution/infra/docs/telemetry/README.md @@ -2,10 +2,10 @@ Welcome to the documentation on implementing custom Telemetry events using the TelemetryService. Tracking Telemetry events is part of our workflow for better understanding what users like the most and constantly improving the Observability Metrics and Logs. -Custom events provide a flexible way to track specific user behaviors and application events. By using the [`TelemetryService`](https://github.com/elastic/kibana/tree/main/x-pack/plugins/infra/public/services/telemetry), you can easily create and track custom events, allowing you to gain valuable insights into how your application is being used. +Custom events provide a flexible way to track specific user behaviors and application events. By using the [`TelemetryService`](https://github.com/elastic/kibana/tree/main/x-pack/plugins/observability_solution/infra/public/services/telemetry), you can easily create and track custom events, allowing you to gain valuable insights into how your application is being used. In this documentation, we will see how to implement custom events and how to trigger them while working with React. - [TelemetryService Overview](./telemetry_service_overview.md) - [Define custom events with TelemetryService](./define_custom_events.md) -- [Examples of using custom events in the plugin](./trigger_custom_events_examples.md) \ No newline at end of file +- [Examples of using custom events in the plugin](./trigger_custom_events_examples.md) diff --git a/x-pack/plugins/infra/docs/telemetry/define_custom_events.md b/x-pack/plugins/observability_solution/infra/docs/telemetry/define_custom_events.md similarity index 100% rename from x-pack/plugins/infra/docs/telemetry/define_custom_events.md rename to x-pack/plugins/observability_solution/infra/docs/telemetry/define_custom_events.md diff --git a/x-pack/plugins/infra/docs/telemetry/telemetry_service_overview.md b/x-pack/plugins/observability_solution/infra/docs/telemetry/telemetry_service_overview.md similarity index 100% rename from x-pack/plugins/infra/docs/telemetry/telemetry_service_overview.md rename to x-pack/plugins/observability_solution/infra/docs/telemetry/telemetry_service_overview.md diff --git a/x-pack/plugins/infra/docs/telemetry/trigger_custom_events_examples.md b/x-pack/plugins/observability_solution/infra/docs/telemetry/trigger_custom_events_examples.md similarity index 100% rename from x-pack/plugins/infra/docs/telemetry/trigger_custom_events_examples.md rename to x-pack/plugins/observability_solution/infra/docs/telemetry/trigger_custom_events_examples.md diff --git a/x-pack/plugins/infra/docs/test_setups/infra_metricbeat_aws.md b/x-pack/plugins/observability_solution/infra/docs/test_setups/infra_metricbeat_aws.md similarity index 100% rename from x-pack/plugins/infra/docs/test_setups/infra_metricbeat_aws.md rename to x-pack/plugins/observability_solution/infra/docs/test_setups/infra_metricbeat_aws.md diff --git a/x-pack/plugins/infra/docs/test_setups/infra_metricbeat_docker_nginx.md b/x-pack/plugins/observability_solution/infra/docs/test_setups/infra_metricbeat_docker_nginx.md similarity index 100% rename from x-pack/plugins/infra/docs/test_setups/infra_metricbeat_docker_nginx.md rename to x-pack/plugins/observability_solution/infra/docs/test_setups/infra_metricbeat_docker_nginx.md diff --git a/x-pack/plugins/observability/jest.config.js b/x-pack/plugins/observability_solution/infra/jest.config.js similarity index 52% rename from x-pack/plugins/observability/jest.config.js rename to x-pack/plugins/observability_solution/infra/jest.config.js index 39d8067d0efe4..817a1f600b836 100644 --- a/x-pack/plugins/observability/jest.config.js +++ b/x-pack/plugins/observability_solution/infra/jest.config.js @@ -7,12 +7,12 @@ module.exports = { preset: '@kbn/test', - rootDir: '../../..', - roots: ['/x-pack/plugins/observability'], - setupFiles: ['/x-pack/plugins/observability/.storybook/jest_setup.js'], - coverageDirectory: '/target/kibana-coverage/jest/x-pack/plugins/observability', + rootDir: '../../../..', + roots: ['/x-pack/plugins/observability_solution/infra'], + coverageDirectory: + '/target/kibana-coverage/jest/x-pack/plugins/observability_solution/infra', coverageReporters: ['text', 'html'], collectCoverageFrom: [ - '/x-pack/plugins/observability/{common,public,server}/**/*.{js,ts,tsx}', + '/x-pack/plugins/observability_solution/infra/{common,public,server}/**/*.{ts,tsx}', ], }; diff --git a/x-pack/plugins/infra/kibana.jsonc b/x-pack/plugins/observability_solution/infra/kibana.jsonc similarity index 100% rename from x-pack/plugins/infra/kibana.jsonc rename to x-pack/plugins/observability_solution/infra/kibana.jsonc diff --git a/x-pack/plugins/infra/public/__snapshots__/metrics_overview_fetchers.test.ts.snap b/x-pack/plugins/observability_solution/infra/public/__snapshots__/metrics_overview_fetchers.test.ts.snap similarity index 100% rename from x-pack/plugins/infra/public/__snapshots__/metrics_overview_fetchers.test.ts.snap rename to x-pack/plugins/observability_solution/infra/public/__snapshots__/metrics_overview_fetchers.test.ts.snap diff --git a/x-pack/plugins/infra/public/alerting/common/components/metrics_alert_dropdown.tsx b/x-pack/plugins/observability_solution/infra/public/alerting/common/components/metrics_alert_dropdown.tsx similarity index 100% rename from x-pack/plugins/infra/public/alerting/common/components/metrics_alert_dropdown.tsx rename to x-pack/plugins/observability_solution/infra/public/alerting/common/components/metrics_alert_dropdown.tsx diff --git a/x-pack/plugins/infra/public/alerting/common/components/threshold.stories.tsx b/x-pack/plugins/observability_solution/infra/public/alerting/common/components/threshold.stories.tsx similarity index 100% rename from x-pack/plugins/infra/public/alerting/common/components/threshold.stories.tsx rename to x-pack/plugins/observability_solution/infra/public/alerting/common/components/threshold.stories.tsx diff --git a/x-pack/plugins/infra/public/alerting/common/components/threshold.test.tsx b/x-pack/plugins/observability_solution/infra/public/alerting/common/components/threshold.test.tsx similarity index 100% rename from x-pack/plugins/infra/public/alerting/common/components/threshold.test.tsx rename to x-pack/plugins/observability_solution/infra/public/alerting/common/components/threshold.test.tsx diff --git a/x-pack/plugins/infra/public/alerting/common/components/threshold.tsx b/x-pack/plugins/observability_solution/infra/public/alerting/common/components/threshold.tsx similarity index 100% rename from x-pack/plugins/infra/public/alerting/common/components/threshold.tsx rename to x-pack/plugins/observability_solution/infra/public/alerting/common/components/threshold.tsx diff --git a/x-pack/plugins/infra/public/alerting/common/criterion_preview_chart/criterion_preview_chart.tsx b/x-pack/plugins/observability_solution/infra/public/alerting/common/criterion_preview_chart/criterion_preview_chart.tsx similarity index 100% rename from x-pack/plugins/infra/public/alerting/common/criterion_preview_chart/criterion_preview_chart.tsx rename to x-pack/plugins/observability_solution/infra/public/alerting/common/criterion_preview_chart/criterion_preview_chart.tsx diff --git a/x-pack/plugins/infra/public/alerting/common/criterion_preview_chart/threshold_annotations.test.tsx b/x-pack/plugins/observability_solution/infra/public/alerting/common/criterion_preview_chart/threshold_annotations.test.tsx similarity index 100% rename from x-pack/plugins/infra/public/alerting/common/criterion_preview_chart/threshold_annotations.test.tsx rename to x-pack/plugins/observability_solution/infra/public/alerting/common/criterion_preview_chart/threshold_annotations.test.tsx diff --git a/x-pack/plugins/infra/public/alerting/common/criterion_preview_chart/threshold_annotations.tsx b/x-pack/plugins/observability_solution/infra/public/alerting/common/criterion_preview_chart/threshold_annotations.tsx similarity index 100% rename from x-pack/plugins/infra/public/alerting/common/criterion_preview_chart/threshold_annotations.tsx rename to x-pack/plugins/observability_solution/infra/public/alerting/common/criterion_preview_chart/threshold_annotations.tsx diff --git a/x-pack/plugins/infra/public/alerting/common/group_by_expression/group_by_expression.tsx b/x-pack/plugins/observability_solution/infra/public/alerting/common/group_by_expression/group_by_expression.tsx similarity index 100% rename from x-pack/plugins/infra/public/alerting/common/group_by_expression/group_by_expression.tsx rename to x-pack/plugins/observability_solution/infra/public/alerting/common/group_by_expression/group_by_expression.tsx diff --git a/x-pack/plugins/infra/public/alerting/common/group_by_expression/selector.tsx b/x-pack/plugins/observability_solution/infra/public/alerting/common/group_by_expression/selector.tsx similarity index 100% rename from x-pack/plugins/infra/public/alerting/common/group_by_expression/selector.tsx rename to x-pack/plugins/observability_solution/infra/public/alerting/common/group_by_expression/selector.tsx diff --git a/x-pack/plugins/infra/public/alerting/custom_threshold/components/alert_flyout.tsx b/x-pack/plugins/observability_solution/infra/public/alerting/custom_threshold/components/alert_flyout.tsx similarity index 100% rename from x-pack/plugins/infra/public/alerting/custom_threshold/components/alert_flyout.tsx rename to x-pack/plugins/observability_solution/infra/public/alerting/custom_threshold/components/alert_flyout.tsx diff --git a/x-pack/plugins/infra/public/alerting/custom_threshold/index.ts b/x-pack/plugins/observability_solution/infra/public/alerting/custom_threshold/index.ts similarity index 100% rename from x-pack/plugins/infra/public/alerting/custom_threshold/index.ts rename to x-pack/plugins/observability_solution/infra/public/alerting/custom_threshold/index.ts diff --git a/x-pack/plugins/infra/public/alerting/inventory/components/alert_flyout.tsx b/x-pack/plugins/observability_solution/infra/public/alerting/inventory/components/alert_flyout.tsx similarity index 100% rename from x-pack/plugins/infra/public/alerting/inventory/components/alert_flyout.tsx rename to x-pack/plugins/observability_solution/infra/public/alerting/inventory/components/alert_flyout.tsx diff --git a/x-pack/plugins/infra/public/alerting/inventory/components/expression.test.tsx b/x-pack/plugins/observability_solution/infra/public/alerting/inventory/components/expression.test.tsx similarity index 100% rename from x-pack/plugins/infra/public/alerting/inventory/components/expression.test.tsx rename to x-pack/plugins/observability_solution/infra/public/alerting/inventory/components/expression.test.tsx diff --git a/x-pack/plugins/infra/public/alerting/inventory/components/expression.tsx b/x-pack/plugins/observability_solution/infra/public/alerting/inventory/components/expression.tsx similarity index 100% rename from x-pack/plugins/infra/public/alerting/inventory/components/expression.tsx rename to x-pack/plugins/observability_solution/infra/public/alerting/inventory/components/expression.tsx diff --git a/x-pack/plugins/infra/public/alerting/inventory/components/expression_chart.tsx b/x-pack/plugins/observability_solution/infra/public/alerting/inventory/components/expression_chart.tsx similarity index 100% rename from x-pack/plugins/infra/public/alerting/inventory/components/expression_chart.tsx rename to x-pack/plugins/observability_solution/infra/public/alerting/inventory/components/expression_chart.tsx diff --git a/x-pack/plugins/infra/public/alerting/inventory/components/manage_alerts_context_menu_item.tsx b/x-pack/plugins/observability_solution/infra/public/alerting/inventory/components/manage_alerts_context_menu_item.tsx similarity index 100% rename from x-pack/plugins/infra/public/alerting/inventory/components/manage_alerts_context_menu_item.tsx rename to x-pack/plugins/observability_solution/infra/public/alerting/inventory/components/manage_alerts_context_menu_item.tsx diff --git a/x-pack/plugins/infra/public/alerting/inventory/components/metric.tsx b/x-pack/plugins/observability_solution/infra/public/alerting/inventory/components/metric.tsx similarity index 100% rename from x-pack/plugins/infra/public/alerting/inventory/components/metric.tsx rename to x-pack/plugins/observability_solution/infra/public/alerting/inventory/components/metric.tsx diff --git a/x-pack/plugins/infra/public/alerting/inventory/components/node_type.tsx b/x-pack/plugins/observability_solution/infra/public/alerting/inventory/components/node_type.tsx similarity index 100% rename from x-pack/plugins/infra/public/alerting/inventory/components/node_type.tsx rename to x-pack/plugins/observability_solution/infra/public/alerting/inventory/components/node_type.tsx diff --git a/x-pack/plugins/infra/public/alerting/inventory/components/validation.tsx b/x-pack/plugins/observability_solution/infra/public/alerting/inventory/components/validation.tsx similarity index 100% rename from x-pack/plugins/infra/public/alerting/inventory/components/validation.tsx rename to x-pack/plugins/observability_solution/infra/public/alerting/inventory/components/validation.tsx diff --git a/x-pack/plugins/infra/public/alerting/inventory/hooks/use_inventory_alert_prefill.ts b/x-pack/plugins/observability_solution/infra/public/alerting/inventory/hooks/use_inventory_alert_prefill.ts similarity index 100% rename from x-pack/plugins/infra/public/alerting/inventory/hooks/use_inventory_alert_prefill.ts rename to x-pack/plugins/observability_solution/infra/public/alerting/inventory/hooks/use_inventory_alert_prefill.ts diff --git a/x-pack/plugins/infra/public/alerting/inventory/index.ts b/x-pack/plugins/observability_solution/infra/public/alerting/inventory/index.ts similarity index 100% rename from x-pack/plugins/infra/public/alerting/inventory/index.ts rename to x-pack/plugins/observability_solution/infra/public/alerting/inventory/index.ts diff --git a/x-pack/plugins/infra/public/alerting/inventory/rule_data_formatters.ts b/x-pack/plugins/observability_solution/infra/public/alerting/inventory/rule_data_formatters.ts similarity index 100% rename from x-pack/plugins/infra/public/alerting/inventory/rule_data_formatters.ts rename to x-pack/plugins/observability_solution/infra/public/alerting/inventory/rule_data_formatters.ts diff --git a/x-pack/plugins/infra/public/alerting/log_threshold/components/alert_details_app_section/components/alert_annotation.tsx b/x-pack/plugins/observability_solution/infra/public/alerting/log_threshold/components/alert_details_app_section/components/alert_annotation.tsx similarity index 100% rename from x-pack/plugins/infra/public/alerting/log_threshold/components/alert_details_app_section/components/alert_annotation.tsx rename to x-pack/plugins/observability_solution/infra/public/alerting/log_threshold/components/alert_details_app_section/components/alert_annotation.tsx diff --git a/x-pack/plugins/infra/public/alerting/log_threshold/components/alert_details_app_section/components/log_rate_analysis.tsx b/x-pack/plugins/observability_solution/infra/public/alerting/log_threshold/components/alert_details_app_section/components/log_rate_analysis.tsx similarity index 100% rename from x-pack/plugins/infra/public/alerting/log_threshold/components/alert_details_app_section/components/log_rate_analysis.tsx rename to x-pack/plugins/observability_solution/infra/public/alerting/log_threshold/components/alert_details_app_section/components/log_rate_analysis.tsx diff --git a/x-pack/plugins/infra/public/alerting/log_threshold/components/alert_details_app_section/components/logs_history_chart.tsx b/x-pack/plugins/observability_solution/infra/public/alerting/log_threshold/components/alert_details_app_section/components/logs_history_chart.tsx similarity index 100% rename from x-pack/plugins/infra/public/alerting/log_threshold/components/alert_details_app_section/components/logs_history_chart.tsx rename to x-pack/plugins/observability_solution/infra/public/alerting/log_threshold/components/alert_details_app_section/components/logs_history_chart.tsx diff --git a/x-pack/plugins/infra/public/alerting/log_threshold/components/alert_details_app_section/components/threhsold_chart/create_lens_definition.ts b/x-pack/plugins/observability_solution/infra/public/alerting/log_threshold/components/alert_details_app_section/components/threhsold_chart/create_lens_definition.ts similarity index 100% rename from x-pack/plugins/infra/public/alerting/log_threshold/components/alert_details_app_section/components/threhsold_chart/create_lens_definition.ts rename to x-pack/plugins/observability_solution/infra/public/alerting/log_threshold/components/alert_details_app_section/components/threhsold_chart/create_lens_definition.ts diff --git a/x-pack/plugins/infra/public/alerting/log_threshold/components/alert_details_app_section/components/threhsold_chart/index.tsx b/x-pack/plugins/observability_solution/infra/public/alerting/log_threshold/components/alert_details_app_section/components/threhsold_chart/index.tsx similarity index 100% rename from x-pack/plugins/infra/public/alerting/log_threshold/components/alert_details_app_section/components/threhsold_chart/index.tsx rename to x-pack/plugins/observability_solution/infra/public/alerting/log_threshold/components/alert_details_app_section/components/threhsold_chart/index.tsx diff --git a/x-pack/plugins/infra/public/alerting/log_threshold/components/alert_details_app_section/components/threhsold_chart/log_threshold_count_chart.tsx b/x-pack/plugins/observability_solution/infra/public/alerting/log_threshold/components/alert_details_app_section/components/threhsold_chart/log_threshold_count_chart.tsx similarity index 100% rename from x-pack/plugins/infra/public/alerting/log_threshold/components/alert_details_app_section/components/threhsold_chart/log_threshold_count_chart.tsx rename to x-pack/plugins/observability_solution/infra/public/alerting/log_threshold/components/alert_details_app_section/components/threhsold_chart/log_threshold_count_chart.tsx diff --git a/x-pack/plugins/infra/public/alerting/log_threshold/components/alert_details_app_section/components/threhsold_chart/log_threshold_ratio_chart.tsx b/x-pack/plugins/observability_solution/infra/public/alerting/log_threshold/components/alert_details_app_section/components/threhsold_chart/log_threshold_ratio_chart.tsx similarity index 100% rename from x-pack/plugins/infra/public/alerting/log_threshold/components/alert_details_app_section/components/threhsold_chart/log_threshold_ratio_chart.tsx rename to x-pack/plugins/observability_solution/infra/public/alerting/log_threshold/components/alert_details_app_section/components/threhsold_chart/log_threshold_ratio_chart.tsx diff --git a/x-pack/plugins/infra/public/alerting/log_threshold/components/alert_details_app_section/index.tsx b/x-pack/plugins/observability_solution/infra/public/alerting/log_threshold/components/alert_details_app_section/index.tsx similarity index 100% rename from x-pack/plugins/infra/public/alerting/log_threshold/components/alert_details_app_section/index.tsx rename to x-pack/plugins/observability_solution/infra/public/alerting/log_threshold/components/alert_details_app_section/index.tsx diff --git a/x-pack/plugins/infra/public/alerting/log_threshold/components/alert_details_app_section/log_rate_analysis_query.ts b/x-pack/plugins/observability_solution/infra/public/alerting/log_threshold/components/alert_details_app_section/log_rate_analysis_query.ts similarity index 100% rename from x-pack/plugins/infra/public/alerting/log_threshold/components/alert_details_app_section/log_rate_analysis_query.ts rename to x-pack/plugins/observability_solution/infra/public/alerting/log_threshold/components/alert_details_app_section/log_rate_analysis_query.ts diff --git a/x-pack/plugins/infra/public/alerting/log_threshold/components/alert_details_app_section/types.ts b/x-pack/plugins/observability_solution/infra/public/alerting/log_threshold/components/alert_details_app_section/types.ts similarity index 100% rename from x-pack/plugins/infra/public/alerting/log_threshold/components/alert_details_app_section/types.ts rename to x-pack/plugins/observability_solution/infra/public/alerting/log_threshold/components/alert_details_app_section/types.ts diff --git a/x-pack/plugins/infra/public/alerting/log_threshold/components/alert_dropdown.tsx b/x-pack/plugins/observability_solution/infra/public/alerting/log_threshold/components/alert_dropdown.tsx similarity index 100% rename from x-pack/plugins/infra/public/alerting/log_threshold/components/alert_dropdown.tsx rename to x-pack/plugins/observability_solution/infra/public/alerting/log_threshold/components/alert_dropdown.tsx diff --git a/x-pack/plugins/infra/public/alerting/log_threshold/components/alert_flyout.tsx b/x-pack/plugins/observability_solution/infra/public/alerting/log_threshold/components/alert_flyout.tsx similarity index 100% rename from x-pack/plugins/infra/public/alerting/log_threshold/components/alert_flyout.tsx rename to x-pack/plugins/observability_solution/infra/public/alerting/log_threshold/components/alert_flyout.tsx diff --git a/x-pack/plugins/infra/public/alerting/log_threshold/components/expression_editor/criteria.tsx b/x-pack/plugins/observability_solution/infra/public/alerting/log_threshold/components/expression_editor/criteria.tsx similarity index 100% rename from x-pack/plugins/infra/public/alerting/log_threshold/components/expression_editor/criteria.tsx rename to x-pack/plugins/observability_solution/infra/public/alerting/log_threshold/components/expression_editor/criteria.tsx diff --git a/x-pack/plugins/infra/public/alerting/log_threshold/components/expression_editor/criterion.tsx b/x-pack/plugins/observability_solution/infra/public/alerting/log_threshold/components/expression_editor/criterion.tsx similarity index 100% rename from x-pack/plugins/infra/public/alerting/log_threshold/components/expression_editor/criterion.tsx rename to x-pack/plugins/observability_solution/infra/public/alerting/log_threshold/components/expression_editor/criterion.tsx diff --git a/x-pack/plugins/infra/public/alerting/log_threshold/components/expression_editor/criterion_preview_chart.tsx b/x-pack/plugins/observability_solution/infra/public/alerting/log_threshold/components/expression_editor/criterion_preview_chart.tsx similarity index 100% rename from x-pack/plugins/infra/public/alerting/log_threshold/components/expression_editor/criterion_preview_chart.tsx rename to x-pack/plugins/observability_solution/infra/public/alerting/log_threshold/components/expression_editor/criterion_preview_chart.tsx diff --git a/x-pack/plugins/infra/public/alerting/log_threshold/components/expression_editor/editor.tsx b/x-pack/plugins/observability_solution/infra/public/alerting/log_threshold/components/expression_editor/editor.tsx similarity index 100% rename from x-pack/plugins/infra/public/alerting/log_threshold/components/expression_editor/editor.tsx rename to x-pack/plugins/observability_solution/infra/public/alerting/log_threshold/components/expression_editor/editor.tsx diff --git a/x-pack/plugins/infra/public/alerting/log_threshold/components/expression_editor/hooks/use_chart_preview_data.tsx b/x-pack/plugins/observability_solution/infra/public/alerting/log_threshold/components/expression_editor/hooks/use_chart_preview_data.tsx similarity index 100% rename from x-pack/plugins/infra/public/alerting/log_threshold/components/expression_editor/hooks/use_chart_preview_data.tsx rename to x-pack/plugins/observability_solution/infra/public/alerting/log_threshold/components/expression_editor/hooks/use_chart_preview_data.tsx diff --git a/x-pack/plugins/infra/public/alerting/log_threshold/components/expression_editor/index.tsx b/x-pack/plugins/observability_solution/infra/public/alerting/log_threshold/components/expression_editor/index.tsx similarity index 100% rename from x-pack/plugins/infra/public/alerting/log_threshold/components/expression_editor/index.tsx rename to x-pack/plugins/observability_solution/infra/public/alerting/log_threshold/components/expression_editor/index.tsx diff --git a/x-pack/plugins/infra/public/alerting/log_threshold/components/expression_editor/log_view_switcher.tsx b/x-pack/plugins/observability_solution/infra/public/alerting/log_threshold/components/expression_editor/log_view_switcher.tsx similarity index 100% rename from x-pack/plugins/infra/public/alerting/log_threshold/components/expression_editor/log_view_switcher.tsx rename to x-pack/plugins/observability_solution/infra/public/alerting/log_threshold/components/expression_editor/log_view_switcher.tsx diff --git a/x-pack/plugins/infra/public/alerting/log_threshold/components/expression_editor/threshold.tsx b/x-pack/plugins/observability_solution/infra/public/alerting/log_threshold/components/expression_editor/threshold.tsx similarity index 100% rename from x-pack/plugins/infra/public/alerting/log_threshold/components/expression_editor/threshold.tsx rename to x-pack/plugins/observability_solution/infra/public/alerting/log_threshold/components/expression_editor/threshold.tsx diff --git a/x-pack/plugins/infra/public/alerting/log_threshold/components/expression_editor/type_switcher.tsx b/x-pack/plugins/observability_solution/infra/public/alerting/log_threshold/components/expression_editor/type_switcher.tsx similarity index 100% rename from x-pack/plugins/infra/public/alerting/log_threshold/components/expression_editor/type_switcher.tsx rename to x-pack/plugins/observability_solution/infra/public/alerting/log_threshold/components/expression_editor/type_switcher.tsx diff --git a/x-pack/plugins/infra/public/alerting/log_threshold/components/lazy_alert_dropdown.tsx b/x-pack/plugins/observability_solution/infra/public/alerting/log_threshold/components/lazy_alert_dropdown.tsx similarity index 100% rename from x-pack/plugins/infra/public/alerting/log_threshold/components/lazy_alert_dropdown.tsx rename to x-pack/plugins/observability_solution/infra/public/alerting/log_threshold/components/lazy_alert_dropdown.tsx diff --git a/x-pack/plugins/infra/public/alerting/log_threshold/index.ts b/x-pack/plugins/observability_solution/infra/public/alerting/log_threshold/index.ts similarity index 100% rename from x-pack/plugins/infra/public/alerting/log_threshold/index.ts rename to x-pack/plugins/observability_solution/infra/public/alerting/log_threshold/index.ts diff --git a/x-pack/plugins/infra/public/alerting/log_threshold/log_threshold_rule_type.tsx b/x-pack/plugins/observability_solution/infra/public/alerting/log_threshold/log_threshold_rule_type.tsx similarity index 100% rename from x-pack/plugins/infra/public/alerting/log_threshold/log_threshold_rule_type.tsx rename to x-pack/plugins/observability_solution/infra/public/alerting/log_threshold/log_threshold_rule_type.tsx diff --git a/x-pack/plugins/infra/public/alerting/log_threshold/rule_data_formatters.ts b/x-pack/plugins/observability_solution/infra/public/alerting/log_threshold/rule_data_formatters.ts similarity index 100% rename from x-pack/plugins/infra/public/alerting/log_threshold/rule_data_formatters.ts rename to x-pack/plugins/observability_solution/infra/public/alerting/log_threshold/rule_data_formatters.ts diff --git a/x-pack/plugins/infra/public/alerting/log_threshold/validation.ts b/x-pack/plugins/observability_solution/infra/public/alerting/log_threshold/validation.ts similarity index 100% rename from x-pack/plugins/infra/public/alerting/log_threshold/validation.ts rename to x-pack/plugins/observability_solution/infra/public/alerting/log_threshold/validation.ts diff --git a/x-pack/plugins/infra/public/alerting/metric_threshold/components/__snapshots__/alert_details_app_section.test.tsx.snap b/x-pack/plugins/observability_solution/infra/public/alerting/metric_threshold/components/__snapshots__/alert_details_app_section.test.tsx.snap similarity index 100% rename from x-pack/plugins/infra/public/alerting/metric_threshold/components/__snapshots__/alert_details_app_section.test.tsx.snap rename to x-pack/plugins/observability_solution/infra/public/alerting/metric_threshold/components/__snapshots__/alert_details_app_section.test.tsx.snap diff --git a/x-pack/plugins/infra/public/alerting/metric_threshold/components/__snapshots__/expression_row.test.tsx.snap b/x-pack/plugins/observability_solution/infra/public/alerting/metric_threshold/components/__snapshots__/expression_row.test.tsx.snap similarity index 100% rename from x-pack/plugins/infra/public/alerting/metric_threshold/components/__snapshots__/expression_row.test.tsx.snap rename to x-pack/plugins/observability_solution/infra/public/alerting/metric_threshold/components/__snapshots__/expression_row.test.tsx.snap diff --git a/x-pack/plugins/infra/public/alerting/metric_threshold/components/alert_details_app_section.test.tsx b/x-pack/plugins/observability_solution/infra/public/alerting/metric_threshold/components/alert_details_app_section.test.tsx similarity index 100% rename from x-pack/plugins/infra/public/alerting/metric_threshold/components/alert_details_app_section.test.tsx rename to x-pack/plugins/observability_solution/infra/public/alerting/metric_threshold/components/alert_details_app_section.test.tsx diff --git a/x-pack/plugins/infra/public/alerting/metric_threshold/components/alert_details_app_section.tsx b/x-pack/plugins/observability_solution/infra/public/alerting/metric_threshold/components/alert_details_app_section.tsx similarity index 100% rename from x-pack/plugins/infra/public/alerting/metric_threshold/components/alert_details_app_section.tsx rename to x-pack/plugins/observability_solution/infra/public/alerting/metric_threshold/components/alert_details_app_section.tsx diff --git a/x-pack/plugins/infra/public/alerting/metric_threshold/components/alert_flyout.tsx b/x-pack/plugins/observability_solution/infra/public/alerting/metric_threshold/components/alert_flyout.tsx similarity index 100% rename from x-pack/plugins/infra/public/alerting/metric_threshold/components/alert_flyout.tsx rename to x-pack/plugins/observability_solution/infra/public/alerting/metric_threshold/components/alert_flyout.tsx diff --git a/x-pack/plugins/infra/public/alerting/metric_threshold/components/custom_equation/custom_equation_editor.stories.tsx b/x-pack/plugins/observability_solution/infra/public/alerting/metric_threshold/components/custom_equation/custom_equation_editor.stories.tsx similarity index 100% rename from x-pack/plugins/infra/public/alerting/metric_threshold/components/custom_equation/custom_equation_editor.stories.tsx rename to x-pack/plugins/observability_solution/infra/public/alerting/metric_threshold/components/custom_equation/custom_equation_editor.stories.tsx diff --git a/x-pack/plugins/infra/public/alerting/metric_threshold/components/custom_equation/custom_equation_editor.tsx b/x-pack/plugins/observability_solution/infra/public/alerting/metric_threshold/components/custom_equation/custom_equation_editor.tsx similarity index 100% rename from x-pack/plugins/infra/public/alerting/metric_threshold/components/custom_equation/custom_equation_editor.tsx rename to x-pack/plugins/observability_solution/infra/public/alerting/metric_threshold/components/custom_equation/custom_equation_editor.tsx diff --git a/x-pack/plugins/infra/public/alerting/metric_threshold/components/custom_equation/index.tsx b/x-pack/plugins/observability_solution/infra/public/alerting/metric_threshold/components/custom_equation/index.tsx similarity index 100% rename from x-pack/plugins/infra/public/alerting/metric_threshold/components/custom_equation/index.tsx rename to x-pack/plugins/observability_solution/infra/public/alerting/metric_threshold/components/custom_equation/index.tsx diff --git a/x-pack/plugins/infra/public/alerting/metric_threshold/components/custom_equation/metric_row_controls.tsx b/x-pack/plugins/observability_solution/infra/public/alerting/metric_threshold/components/custom_equation/metric_row_controls.tsx similarity index 100% rename from x-pack/plugins/infra/public/alerting/metric_threshold/components/custom_equation/metric_row_controls.tsx rename to x-pack/plugins/observability_solution/infra/public/alerting/metric_threshold/components/custom_equation/metric_row_controls.tsx diff --git a/x-pack/plugins/infra/public/alerting/metric_threshold/components/custom_equation/metric_row_with_agg.tsx b/x-pack/plugins/observability_solution/infra/public/alerting/metric_threshold/components/custom_equation/metric_row_with_agg.tsx similarity index 100% rename from x-pack/plugins/infra/public/alerting/metric_threshold/components/custom_equation/metric_row_with_agg.tsx rename to x-pack/plugins/observability_solution/infra/public/alerting/metric_threshold/components/custom_equation/metric_row_with_agg.tsx diff --git a/x-pack/plugins/infra/public/alerting/metric_threshold/components/custom_equation/metric_row_with_count.tsx b/x-pack/plugins/observability_solution/infra/public/alerting/metric_threshold/components/custom_equation/metric_row_with_count.tsx similarity index 100% rename from x-pack/plugins/infra/public/alerting/metric_threshold/components/custom_equation/metric_row_with_count.tsx rename to x-pack/plugins/observability_solution/infra/public/alerting/metric_threshold/components/custom_equation/metric_row_with_count.tsx diff --git a/x-pack/plugins/infra/public/alerting/metric_threshold/components/custom_equation/types.ts b/x-pack/plugins/observability_solution/infra/public/alerting/metric_threshold/components/custom_equation/types.ts similarity index 100% rename from x-pack/plugins/infra/public/alerting/metric_threshold/components/custom_equation/types.ts rename to x-pack/plugins/observability_solution/infra/public/alerting/metric_threshold/components/custom_equation/types.ts diff --git a/x-pack/plugins/infra/public/alerting/metric_threshold/components/expression.test.tsx b/x-pack/plugins/observability_solution/infra/public/alerting/metric_threshold/components/expression.test.tsx similarity index 100% rename from x-pack/plugins/infra/public/alerting/metric_threshold/components/expression.test.tsx rename to x-pack/plugins/observability_solution/infra/public/alerting/metric_threshold/components/expression.test.tsx diff --git a/x-pack/plugins/infra/public/alerting/metric_threshold/components/expression.tsx b/x-pack/plugins/observability_solution/infra/public/alerting/metric_threshold/components/expression.tsx similarity index 100% rename from x-pack/plugins/infra/public/alerting/metric_threshold/components/expression.tsx rename to x-pack/plugins/observability_solution/infra/public/alerting/metric_threshold/components/expression.tsx diff --git a/x-pack/plugins/infra/public/alerting/metric_threshold/components/expression_chart.test.tsx b/x-pack/plugins/observability_solution/infra/public/alerting/metric_threshold/components/expression_chart.test.tsx similarity index 100% rename from x-pack/plugins/infra/public/alerting/metric_threshold/components/expression_chart.test.tsx rename to x-pack/plugins/observability_solution/infra/public/alerting/metric_threshold/components/expression_chart.test.tsx diff --git a/x-pack/plugins/infra/public/alerting/metric_threshold/components/expression_chart.tsx b/x-pack/plugins/observability_solution/infra/public/alerting/metric_threshold/components/expression_chart.tsx similarity index 100% rename from x-pack/plugins/infra/public/alerting/metric_threshold/components/expression_chart.tsx rename to x-pack/plugins/observability_solution/infra/public/alerting/metric_threshold/components/expression_chart.tsx diff --git a/x-pack/plugins/infra/public/alerting/metric_threshold/components/expression_row.test.tsx b/x-pack/plugins/observability_solution/infra/public/alerting/metric_threshold/components/expression_row.test.tsx similarity index 100% rename from x-pack/plugins/infra/public/alerting/metric_threshold/components/expression_row.test.tsx rename to x-pack/plugins/observability_solution/infra/public/alerting/metric_threshold/components/expression_row.test.tsx diff --git a/x-pack/plugins/infra/public/alerting/metric_threshold/components/expression_row.tsx b/x-pack/plugins/observability_solution/infra/public/alerting/metric_threshold/components/expression_row.tsx similarity index 100% rename from x-pack/plugins/infra/public/alerting/metric_threshold/components/expression_row.tsx rename to x-pack/plugins/observability_solution/infra/public/alerting/metric_threshold/components/expression_row.tsx diff --git a/x-pack/plugins/infra/public/alerting/metric_threshold/components/validation.test.ts b/x-pack/plugins/observability_solution/infra/public/alerting/metric_threshold/components/validation.test.ts similarity index 100% rename from x-pack/plugins/infra/public/alerting/metric_threshold/components/validation.test.ts rename to x-pack/plugins/observability_solution/infra/public/alerting/metric_threshold/components/validation.test.ts diff --git a/x-pack/plugins/infra/public/alerting/metric_threshold/components/validation.tsx b/x-pack/plugins/observability_solution/infra/public/alerting/metric_threshold/components/validation.tsx similarity index 100% rename from x-pack/plugins/infra/public/alerting/metric_threshold/components/validation.tsx rename to x-pack/plugins/observability_solution/infra/public/alerting/metric_threshold/components/validation.tsx diff --git a/x-pack/plugins/infra/public/alerting/metric_threshold/hooks/use_metric_threshold_alert_prefill.ts b/x-pack/plugins/observability_solution/infra/public/alerting/metric_threshold/hooks/use_metric_threshold_alert_prefill.ts similarity index 100% rename from x-pack/plugins/infra/public/alerting/metric_threshold/hooks/use_metric_threshold_alert_prefill.ts rename to x-pack/plugins/observability_solution/infra/public/alerting/metric_threshold/hooks/use_metric_threshold_alert_prefill.ts diff --git a/x-pack/plugins/infra/public/alerting/metric_threshold/hooks/use_metrics_explorer_chart_data.ts b/x-pack/plugins/observability_solution/infra/public/alerting/metric_threshold/hooks/use_metrics_explorer_chart_data.ts similarity index 100% rename from x-pack/plugins/infra/public/alerting/metric_threshold/hooks/use_metrics_explorer_chart_data.ts rename to x-pack/plugins/observability_solution/infra/public/alerting/metric_threshold/hooks/use_metrics_explorer_chart_data.ts diff --git a/x-pack/plugins/infra/public/alerting/metric_threshold/i18n_strings.ts b/x-pack/plugins/observability_solution/infra/public/alerting/metric_threshold/i18n_strings.ts similarity index 100% rename from x-pack/plugins/infra/public/alerting/metric_threshold/i18n_strings.ts rename to x-pack/plugins/observability_solution/infra/public/alerting/metric_threshold/i18n_strings.ts diff --git a/x-pack/plugins/infra/public/alerting/metric_threshold/index.ts b/x-pack/plugins/observability_solution/infra/public/alerting/metric_threshold/index.ts similarity index 100% rename from x-pack/plugins/infra/public/alerting/metric_threshold/index.ts rename to x-pack/plugins/observability_solution/infra/public/alerting/metric_threshold/index.ts diff --git a/x-pack/plugins/infra/public/alerting/metric_threshold/lib/generate_unique_key.test.ts b/x-pack/plugins/observability_solution/infra/public/alerting/metric_threshold/lib/generate_unique_key.test.ts similarity index 100% rename from x-pack/plugins/infra/public/alerting/metric_threshold/lib/generate_unique_key.test.ts rename to x-pack/plugins/observability_solution/infra/public/alerting/metric_threshold/lib/generate_unique_key.test.ts diff --git a/x-pack/plugins/infra/public/alerting/metric_threshold/lib/generate_unique_key.ts b/x-pack/plugins/observability_solution/infra/public/alerting/metric_threshold/lib/generate_unique_key.ts similarity index 100% rename from x-pack/plugins/infra/public/alerting/metric_threshold/lib/generate_unique_key.ts rename to x-pack/plugins/observability_solution/infra/public/alerting/metric_threshold/lib/generate_unique_key.ts diff --git a/x-pack/plugins/infra/public/alerting/metric_threshold/lib/transform_metrics_explorer_data.ts b/x-pack/plugins/observability_solution/infra/public/alerting/metric_threshold/lib/transform_metrics_explorer_data.ts similarity index 100% rename from x-pack/plugins/infra/public/alerting/metric_threshold/lib/transform_metrics_explorer_data.ts rename to x-pack/plugins/observability_solution/infra/public/alerting/metric_threshold/lib/transform_metrics_explorer_data.ts diff --git a/x-pack/plugins/infra/public/alerting/metric_threshold/mocks/metric_threshold_rule.ts b/x-pack/plugins/observability_solution/infra/public/alerting/metric_threshold/mocks/metric_threshold_rule.ts similarity index 100% rename from x-pack/plugins/infra/public/alerting/metric_threshold/mocks/metric_threshold_rule.ts rename to x-pack/plugins/observability_solution/infra/public/alerting/metric_threshold/mocks/metric_threshold_rule.ts diff --git a/x-pack/plugins/infra/public/alerting/metric_threshold/rule_data_formatters.ts b/x-pack/plugins/observability_solution/infra/public/alerting/metric_threshold/rule_data_formatters.ts similarity index 100% rename from x-pack/plugins/infra/public/alerting/metric_threshold/rule_data_formatters.ts rename to x-pack/plugins/observability_solution/infra/public/alerting/metric_threshold/rule_data_formatters.ts diff --git a/x-pack/plugins/infra/public/alerting/metric_threshold/types.ts b/x-pack/plugins/observability_solution/infra/public/alerting/metric_threshold/types.ts similarity index 100% rename from x-pack/plugins/infra/public/alerting/metric_threshold/types.ts rename to x-pack/plugins/observability_solution/infra/public/alerting/metric_threshold/types.ts diff --git a/x-pack/plugins/infra/public/alerting/use_alert_prefill.ts b/x-pack/plugins/observability_solution/infra/public/alerting/use_alert_prefill.ts similarity index 100% rename from x-pack/plugins/infra/public/alerting/use_alert_prefill.ts rename to x-pack/plugins/observability_solution/infra/public/alerting/use_alert_prefill.ts diff --git a/x-pack/plugins/infra/public/apps/common_providers.tsx b/x-pack/plugins/observability_solution/infra/public/apps/common_providers.tsx similarity index 100% rename from x-pack/plugins/infra/public/apps/common_providers.tsx rename to x-pack/plugins/observability_solution/infra/public/apps/common_providers.tsx diff --git a/x-pack/plugins/infra/public/apps/common_styles.ts b/x-pack/plugins/observability_solution/infra/public/apps/common_styles.ts similarity index 100% rename from x-pack/plugins/infra/public/apps/common_styles.ts rename to x-pack/plugins/observability_solution/infra/public/apps/common_styles.ts diff --git a/x-pack/plugins/infra/public/apps/legacy_app.tsx b/x-pack/plugins/observability_solution/infra/public/apps/legacy_app.tsx similarity index 100% rename from x-pack/plugins/infra/public/apps/legacy_app.tsx rename to x-pack/plugins/observability_solution/infra/public/apps/legacy_app.tsx diff --git a/x-pack/plugins/infra/public/apps/logs_app.tsx b/x-pack/plugins/observability_solution/infra/public/apps/logs_app.tsx similarity index 100% rename from x-pack/plugins/infra/public/apps/logs_app.tsx rename to x-pack/plugins/observability_solution/infra/public/apps/logs_app.tsx diff --git a/x-pack/plugins/infra/public/apps/metrics_app.tsx b/x-pack/plugins/observability_solution/infra/public/apps/metrics_app.tsx similarity index 100% rename from x-pack/plugins/infra/public/apps/metrics_app.tsx rename to x-pack/plugins/observability_solution/infra/public/apps/metrics_app.tsx diff --git a/x-pack/plugins/infra/public/common/asset_details_config/asset_details_tabs.tsx b/x-pack/plugins/observability_solution/infra/public/common/asset_details_config/asset_details_tabs.tsx similarity index 100% rename from x-pack/plugins/infra/public/common/asset_details_config/asset_details_tabs.tsx rename to x-pack/plugins/observability_solution/infra/public/common/asset_details_config/asset_details_tabs.tsx diff --git a/x-pack/plugins/infra/public/common/visualizations/constants.ts b/x-pack/plugins/observability_solution/infra/public/common/visualizations/constants.ts similarity index 100% rename from x-pack/plugins/infra/public/common/visualizations/constants.ts rename to x-pack/plugins/observability_solution/infra/public/common/visualizations/constants.ts diff --git a/x-pack/plugins/infra/public/common/visualizations/index.ts b/x-pack/plugins/observability_solution/infra/public/common/visualizations/index.ts similarity index 100% rename from x-pack/plugins/infra/public/common/visualizations/index.ts rename to x-pack/plugins/observability_solution/infra/public/common/visualizations/index.ts diff --git a/x-pack/plugins/infra/public/common/visualizations/translations.ts b/x-pack/plugins/observability_solution/infra/public/common/visualizations/translations.ts similarity index 100% rename from x-pack/plugins/infra/public/common/visualizations/translations.ts rename to x-pack/plugins/observability_solution/infra/public/common/visualizations/translations.ts diff --git a/x-pack/plugins/infra/public/components/asset_details/__stories__/context/fixtures/alerts.ts b/x-pack/plugins/observability_solution/infra/public/components/asset_details/__stories__/context/fixtures/alerts.ts similarity index 100% rename from x-pack/plugins/infra/public/components/asset_details/__stories__/context/fixtures/alerts.ts rename to x-pack/plugins/observability_solution/infra/public/components/asset_details/__stories__/context/fixtures/alerts.ts diff --git a/x-pack/plugins/infra/public/components/asset_details/__stories__/context/fixtures/anomalies.ts b/x-pack/plugins/observability_solution/infra/public/components/asset_details/__stories__/context/fixtures/anomalies.ts similarity index 100% rename from x-pack/plugins/infra/public/components/asset_details/__stories__/context/fixtures/anomalies.ts rename to x-pack/plugins/observability_solution/infra/public/components/asset_details/__stories__/context/fixtures/anomalies.ts diff --git a/x-pack/plugins/infra/public/components/asset_details/__stories__/context/fixtures/asset_details_props.ts b/x-pack/plugins/observability_solution/infra/public/components/asset_details/__stories__/context/fixtures/asset_details_props.ts similarity index 100% rename from x-pack/plugins/infra/public/components/asset_details/__stories__/context/fixtures/asset_details_props.ts rename to x-pack/plugins/observability_solution/infra/public/components/asset_details/__stories__/context/fixtures/asset_details_props.ts diff --git a/x-pack/plugins/infra/public/components/asset_details/__stories__/context/fixtures/index.ts b/x-pack/plugins/observability_solution/infra/public/components/asset_details/__stories__/context/fixtures/index.ts similarity index 100% rename from x-pack/plugins/infra/public/components/asset_details/__stories__/context/fixtures/index.ts rename to x-pack/plugins/observability_solution/infra/public/components/asset_details/__stories__/context/fixtures/index.ts diff --git a/x-pack/plugins/infra/public/components/asset_details/__stories__/context/fixtures/log_entries.ts b/x-pack/plugins/observability_solution/infra/public/components/asset_details/__stories__/context/fixtures/log_entries.ts similarity index 100% rename from x-pack/plugins/infra/public/components/asset_details/__stories__/context/fixtures/log_entries.ts rename to x-pack/plugins/observability_solution/infra/public/components/asset_details/__stories__/context/fixtures/log_entries.ts diff --git a/x-pack/plugins/infra/public/components/asset_details/__stories__/context/fixtures/metadata.ts b/x-pack/plugins/observability_solution/infra/public/components/asset_details/__stories__/context/fixtures/metadata.ts similarity index 100% rename from x-pack/plugins/infra/public/components/asset_details/__stories__/context/fixtures/metadata.ts rename to x-pack/plugins/observability_solution/infra/public/components/asset_details/__stories__/context/fixtures/metadata.ts diff --git a/x-pack/plugins/infra/public/components/asset_details/__stories__/context/fixtures/processes.ts b/x-pack/plugins/observability_solution/infra/public/components/asset_details/__stories__/context/fixtures/processes.ts similarity index 100% rename from x-pack/plugins/infra/public/components/asset_details/__stories__/context/fixtures/processes.ts rename to x-pack/plugins/observability_solution/infra/public/components/asset_details/__stories__/context/fixtures/processes.ts diff --git a/x-pack/plugins/infra/public/components/asset_details/__stories__/context/fixtures/snapshot_api.ts b/x-pack/plugins/observability_solution/infra/public/components/asset_details/__stories__/context/fixtures/snapshot_api.ts similarity index 100% rename from x-pack/plugins/infra/public/components/asset_details/__stories__/context/fixtures/snapshot_api.ts rename to x-pack/plugins/observability_solution/infra/public/components/asset_details/__stories__/context/fixtures/snapshot_api.ts diff --git a/x-pack/plugins/infra/public/components/asset_details/__stories__/context/http.ts b/x-pack/plugins/observability_solution/infra/public/components/asset_details/__stories__/context/http.ts similarity index 100% rename from x-pack/plugins/infra/public/components/asset_details/__stories__/context/http.ts rename to x-pack/plugins/observability_solution/infra/public/components/asset_details/__stories__/context/http.ts diff --git a/x-pack/plugins/infra/public/components/asset_details/__stories__/decorator.tsx b/x-pack/plugins/observability_solution/infra/public/components/asset_details/__stories__/decorator.tsx similarity index 100% rename from x-pack/plugins/infra/public/components/asset_details/__stories__/decorator.tsx rename to x-pack/plugins/observability_solution/infra/public/components/asset_details/__stories__/decorator.tsx diff --git a/x-pack/plugins/infra/public/components/asset_details/asset_details.stories.tsx b/x-pack/plugins/observability_solution/infra/public/components/asset_details/asset_details.stories.tsx similarity index 100% rename from x-pack/plugins/infra/public/components/asset_details/asset_details.stories.tsx rename to x-pack/plugins/observability_solution/infra/public/components/asset_details/asset_details.stories.tsx diff --git a/x-pack/plugins/infra/public/components/asset_details/asset_details.tsx b/x-pack/plugins/observability_solution/infra/public/components/asset_details/asset_details.tsx similarity index 100% rename from x-pack/plugins/infra/public/components/asset_details/asset_details.tsx rename to x-pack/plugins/observability_solution/infra/public/components/asset_details/asset_details.tsx diff --git a/x-pack/plugins/infra/public/components/asset_details/asset_details_embeddable.tsx b/x-pack/plugins/observability_solution/infra/public/components/asset_details/asset_details_embeddable.tsx similarity index 100% rename from x-pack/plugins/infra/public/components/asset_details/asset_details_embeddable.tsx rename to x-pack/plugins/observability_solution/infra/public/components/asset_details/asset_details_embeddable.tsx diff --git a/x-pack/plugins/infra/public/components/asset_details/asset_details_embeddable_factory.ts b/x-pack/plugins/observability_solution/infra/public/components/asset_details/asset_details_embeddable_factory.ts similarity index 100% rename from x-pack/plugins/infra/public/components/asset_details/asset_details_embeddable_factory.ts rename to x-pack/plugins/observability_solution/infra/public/components/asset_details/asset_details_embeddable_factory.ts diff --git a/x-pack/plugins/infra/public/components/asset_details/components/alerts_tooltip_content.tsx b/x-pack/plugins/observability_solution/infra/public/components/asset_details/components/alerts_tooltip_content.tsx similarity index 100% rename from x-pack/plugins/infra/public/components/asset_details/components/alerts_tooltip_content.tsx rename to x-pack/plugins/observability_solution/infra/public/components/asset_details/components/alerts_tooltip_content.tsx diff --git a/x-pack/plugins/infra/public/components/asset_details/components/expandable_content.tsx b/x-pack/plugins/observability_solution/infra/public/components/asset_details/components/expandable_content.tsx similarity index 100% rename from x-pack/plugins/infra/public/components/asset_details/components/expandable_content.tsx rename to x-pack/plugins/observability_solution/infra/public/components/asset_details/components/expandable_content.tsx diff --git a/x-pack/plugins/infra/public/components/asset_details/components/metadata_error_callout.tsx b/x-pack/plugins/observability_solution/infra/public/components/asset_details/components/metadata_error_callout.tsx similarity index 100% rename from x-pack/plugins/infra/public/components/asset_details/components/metadata_error_callout.tsx rename to x-pack/plugins/observability_solution/infra/public/components/asset_details/components/metadata_error_callout.tsx diff --git a/x-pack/plugins/infra/public/components/asset_details/components/metadata_explanation.tsx b/x-pack/plugins/observability_solution/infra/public/components/asset_details/components/metadata_explanation.tsx similarity index 100% rename from x-pack/plugins/infra/public/components/asset_details/components/metadata_explanation.tsx rename to x-pack/plugins/observability_solution/infra/public/components/asset_details/components/metadata_explanation.tsx diff --git a/x-pack/plugins/infra/public/components/asset_details/components/metric_not_available_explanation.tsx b/x-pack/plugins/observability_solution/infra/public/components/asset_details/components/metric_not_available_explanation.tsx similarity index 100% rename from x-pack/plugins/infra/public/components/asset_details/components/metric_not_available_explanation.tsx rename to x-pack/plugins/observability_solution/infra/public/components/asset_details/components/metric_not_available_explanation.tsx diff --git a/x-pack/plugins/infra/public/components/asset_details/components/processes_explanation.tsx b/x-pack/plugins/observability_solution/infra/public/components/asset_details/components/processes_explanation.tsx similarity index 100% rename from x-pack/plugins/infra/public/components/asset_details/components/processes_explanation.tsx rename to x-pack/plugins/observability_solution/infra/public/components/asset_details/components/processes_explanation.tsx diff --git a/x-pack/plugins/infra/public/components/asset_details/components/section_titles.tsx b/x-pack/plugins/observability_solution/infra/public/components/asset_details/components/section_titles.tsx similarity index 100% rename from x-pack/plugins/infra/public/components/asset_details/components/section_titles.tsx rename to x-pack/plugins/observability_solution/infra/public/components/asset_details/components/section_titles.tsx diff --git a/x-pack/plugins/infra/public/components/asset_details/components/services_tooltip_content.tsx b/x-pack/plugins/observability_solution/infra/public/components/asset_details/components/services_tooltip_content.tsx similarity index 100% rename from x-pack/plugins/infra/public/components/asset_details/components/services_tooltip_content.tsx rename to x-pack/plugins/observability_solution/infra/public/components/asset_details/components/services_tooltip_content.tsx diff --git a/x-pack/plugins/infra/public/components/asset_details/components/top_processes_tooltip.tsx b/x-pack/plugins/observability_solution/infra/public/components/asset_details/components/top_processes_tooltip.tsx similarity index 100% rename from x-pack/plugins/infra/public/components/asset_details/components/top_processes_tooltip.tsx rename to x-pack/plugins/observability_solution/infra/public/components/asset_details/components/top_processes_tooltip.tsx diff --git a/x-pack/plugins/infra/public/components/asset_details/constants.ts b/x-pack/plugins/observability_solution/infra/public/components/asset_details/constants.ts similarity index 100% rename from x-pack/plugins/infra/public/components/asset_details/constants.ts rename to x-pack/plugins/observability_solution/infra/public/components/asset_details/constants.ts diff --git a/x-pack/plugins/infra/public/components/asset_details/content/content.tsx b/x-pack/plugins/observability_solution/infra/public/components/asset_details/content/content.tsx similarity index 100% rename from x-pack/plugins/infra/public/components/asset_details/content/content.tsx rename to x-pack/plugins/observability_solution/infra/public/components/asset_details/content/content.tsx diff --git a/x-pack/plugins/infra/public/components/asset_details/context_providers.tsx b/x-pack/plugins/observability_solution/infra/public/components/asset_details/context_providers.tsx similarity index 100% rename from x-pack/plugins/infra/public/components/asset_details/context_providers.tsx rename to x-pack/plugins/observability_solution/infra/public/components/asset_details/context_providers.tsx diff --git a/x-pack/plugins/infra/public/components/asset_details/date_picker/date_picker.tsx b/x-pack/plugins/observability_solution/infra/public/components/asset_details/date_picker/date_picker.tsx similarity index 100% rename from x-pack/plugins/infra/public/components/asset_details/date_picker/date_picker.tsx rename to x-pack/plugins/observability_solution/infra/public/components/asset_details/date_picker/date_picker.tsx diff --git a/x-pack/plugins/infra/public/components/asset_details/header/flyout_header.tsx b/x-pack/plugins/observability_solution/infra/public/components/asset_details/header/flyout_header.tsx similarity index 100% rename from x-pack/plugins/infra/public/components/asset_details/header/flyout_header.tsx rename to x-pack/plugins/observability_solution/infra/public/components/asset_details/header/flyout_header.tsx diff --git a/x-pack/plugins/infra/public/components/asset_details/hooks/use_asset_details_render_props.ts b/x-pack/plugins/observability_solution/infra/public/components/asset_details/hooks/use_asset_details_render_props.ts similarity index 100% rename from x-pack/plugins/infra/public/components/asset_details/hooks/use_asset_details_render_props.ts rename to x-pack/plugins/observability_solution/infra/public/components/asset_details/hooks/use_asset_details_render_props.ts diff --git a/x-pack/plugins/infra/public/components/asset_details/hooks/use_asset_details_url_state.ts b/x-pack/plugins/observability_solution/infra/public/components/asset_details/hooks/use_asset_details_url_state.ts similarity index 100% rename from x-pack/plugins/infra/public/components/asset_details/hooks/use_asset_details_url_state.ts rename to x-pack/plugins/observability_solution/infra/public/components/asset_details/hooks/use_asset_details_url_state.ts diff --git a/x-pack/plugins/infra/public/components/asset_details/hooks/use_data_views.ts b/x-pack/plugins/observability_solution/infra/public/components/asset_details/hooks/use_data_views.ts similarity index 100% rename from x-pack/plugins/infra/public/components/asset_details/hooks/use_data_views.ts rename to x-pack/plugins/observability_solution/infra/public/components/asset_details/hooks/use_data_views.ts diff --git a/x-pack/plugins/infra/public/components/asset_details/hooks/use_date_picker.ts b/x-pack/plugins/observability_solution/infra/public/components/asset_details/hooks/use_date_picker.ts similarity index 100% rename from x-pack/plugins/infra/public/components/asset_details/hooks/use_date_picker.ts rename to x-pack/plugins/observability_solution/infra/public/components/asset_details/hooks/use_date_picker.ts diff --git a/x-pack/plugins/infra/public/components/asset_details/hooks/use_intersecting_state.ts b/x-pack/plugins/observability_solution/infra/public/components/asset_details/hooks/use_intersecting_state.ts similarity index 100% rename from x-pack/plugins/infra/public/components/asset_details/hooks/use_intersecting_state.ts rename to x-pack/plugins/observability_solution/infra/public/components/asset_details/hooks/use_intersecting_state.ts diff --git a/x-pack/plugins/infra/public/components/asset_details/hooks/use_loading_state.test.ts b/x-pack/plugins/observability_solution/infra/public/components/asset_details/hooks/use_loading_state.test.ts similarity index 100% rename from x-pack/plugins/infra/public/components/asset_details/hooks/use_loading_state.test.ts rename to x-pack/plugins/observability_solution/infra/public/components/asset_details/hooks/use_loading_state.test.ts diff --git a/x-pack/plugins/infra/public/components/asset_details/hooks/use_loading_state.ts b/x-pack/plugins/observability_solution/infra/public/components/asset_details/hooks/use_loading_state.ts similarity index 100% rename from x-pack/plugins/infra/public/components/asset_details/hooks/use_loading_state.ts rename to x-pack/plugins/observability_solution/infra/public/components/asset_details/hooks/use_loading_state.ts diff --git a/x-pack/plugins/infra/public/components/asset_details/hooks/use_metadata.ts b/x-pack/plugins/observability_solution/infra/public/components/asset_details/hooks/use_metadata.ts similarity index 100% rename from x-pack/plugins/infra/public/components/asset_details/hooks/use_metadata.ts rename to x-pack/plugins/observability_solution/infra/public/components/asset_details/hooks/use_metadata.ts diff --git a/x-pack/plugins/infra/public/components/asset_details/hooks/use_metadata_state.ts b/x-pack/plugins/observability_solution/infra/public/components/asset_details/hooks/use_metadata_state.ts similarity index 100% rename from x-pack/plugins/infra/public/components/asset_details/hooks/use_metadata_state.ts rename to x-pack/plugins/observability_solution/infra/public/components/asset_details/hooks/use_metadata_state.ts diff --git a/x-pack/plugins/infra/public/components/asset_details/hooks/use_page_header.tsx b/x-pack/plugins/observability_solution/infra/public/components/asset_details/hooks/use_page_header.tsx similarity index 100% rename from x-pack/plugins/infra/public/components/asset_details/hooks/use_page_header.tsx rename to x-pack/plugins/observability_solution/infra/public/components/asset_details/hooks/use_page_header.tsx diff --git a/x-pack/plugins/infra/public/components/asset_details/hooks/use_process_list.ts b/x-pack/plugins/observability_solution/infra/public/components/asset_details/hooks/use_process_list.ts similarity index 100% rename from x-pack/plugins/infra/public/components/asset_details/hooks/use_process_list.ts rename to x-pack/plugins/observability_solution/infra/public/components/asset_details/hooks/use_process_list.ts diff --git a/x-pack/plugins/infra/public/components/asset_details/hooks/use_process_list_row_chart.ts b/x-pack/plugins/observability_solution/infra/public/components/asset_details/hooks/use_process_list_row_chart.ts similarity index 100% rename from x-pack/plugins/infra/public/components/asset_details/hooks/use_process_list_row_chart.ts rename to x-pack/plugins/observability_solution/infra/public/components/asset_details/hooks/use_process_list_row_chart.ts diff --git a/x-pack/plugins/infra/public/components/asset_details/hooks/use_profiling_flamegraph_data.ts b/x-pack/plugins/observability_solution/infra/public/components/asset_details/hooks/use_profiling_flamegraph_data.ts similarity index 100% rename from x-pack/plugins/infra/public/components/asset_details/hooks/use_profiling_flamegraph_data.ts rename to x-pack/plugins/observability_solution/infra/public/components/asset_details/hooks/use_profiling_flamegraph_data.ts diff --git a/x-pack/plugins/infra/public/components/asset_details/hooks/use_profiling_functions_data.ts b/x-pack/plugins/observability_solution/infra/public/components/asset_details/hooks/use_profiling_functions_data.ts similarity index 100% rename from x-pack/plugins/infra/public/components/asset_details/hooks/use_profiling_functions_data.ts rename to x-pack/plugins/observability_solution/infra/public/components/asset_details/hooks/use_profiling_functions_data.ts diff --git a/x-pack/plugins/infra/public/components/asset_details/hooks/use_profiling_kuery.test.tsx b/x-pack/plugins/observability_solution/infra/public/components/asset_details/hooks/use_profiling_kuery.test.tsx similarity index 100% rename from x-pack/plugins/infra/public/components/asset_details/hooks/use_profiling_kuery.test.tsx rename to x-pack/plugins/observability_solution/infra/public/components/asset_details/hooks/use_profiling_kuery.test.tsx diff --git a/x-pack/plugins/infra/public/components/asset_details/hooks/use_profiling_kuery.ts b/x-pack/plugins/observability_solution/infra/public/components/asset_details/hooks/use_profiling_kuery.ts similarity index 100% rename from x-pack/plugins/infra/public/components/asset_details/hooks/use_profiling_kuery.ts rename to x-pack/plugins/observability_solution/infra/public/components/asset_details/hooks/use_profiling_kuery.ts diff --git a/x-pack/plugins/infra/public/components/asset_details/hooks/use_profiling_status_data.ts b/x-pack/plugins/observability_solution/infra/public/components/asset_details/hooks/use_profiling_status_data.ts similarity index 100% rename from x-pack/plugins/infra/public/components/asset_details/hooks/use_profiling_status_data.ts rename to x-pack/plugins/observability_solution/infra/public/components/asset_details/hooks/use_profiling_status_data.ts diff --git a/x-pack/plugins/infra/public/components/asset_details/hooks/use_request_observable.test.ts b/x-pack/plugins/observability_solution/infra/public/components/asset_details/hooks/use_request_observable.test.ts similarity index 100% rename from x-pack/plugins/infra/public/components/asset_details/hooks/use_request_observable.test.ts rename to x-pack/plugins/observability_solution/infra/public/components/asset_details/hooks/use_request_observable.test.ts diff --git a/x-pack/plugins/infra/public/components/asset_details/hooks/use_request_observable.ts b/x-pack/plugins/observability_solution/infra/public/components/asset_details/hooks/use_request_observable.ts similarity index 100% rename from x-pack/plugins/infra/public/components/asset_details/hooks/use_request_observable.ts rename to x-pack/plugins/observability_solution/infra/public/components/asset_details/hooks/use_request_observable.ts diff --git a/x-pack/plugins/infra/public/components/asset_details/hooks/use_services.ts b/x-pack/plugins/observability_solution/infra/public/components/asset_details/hooks/use_services.ts similarity index 100% rename from x-pack/plugins/infra/public/components/asset_details/hooks/use_services.ts rename to x-pack/plugins/observability_solution/infra/public/components/asset_details/hooks/use_services.ts diff --git a/x-pack/plugins/infra/public/components/asset_details/hooks/use_tab_switcher.tsx b/x-pack/plugins/observability_solution/infra/public/components/asset_details/hooks/use_tab_switcher.tsx similarity index 100% rename from x-pack/plugins/infra/public/components/asset_details/hooks/use_tab_switcher.tsx rename to x-pack/plugins/observability_solution/infra/public/components/asset_details/hooks/use_tab_switcher.tsx diff --git a/x-pack/plugins/infra/public/components/asset_details/lazy_asset_details_wrapper.tsx b/x-pack/plugins/observability_solution/infra/public/components/asset_details/lazy_asset_details_wrapper.tsx similarity index 100% rename from x-pack/plugins/infra/public/components/asset_details/lazy_asset_details_wrapper.tsx rename to x-pack/plugins/observability_solution/infra/public/components/asset_details/lazy_asset_details_wrapper.tsx diff --git a/x-pack/plugins/infra/public/components/asset_details/links/index.ts b/x-pack/plugins/observability_solution/infra/public/components/asset_details/links/index.ts similarity index 100% rename from x-pack/plugins/infra/public/components/asset_details/links/index.ts rename to x-pack/plugins/observability_solution/infra/public/components/asset_details/links/index.ts diff --git a/x-pack/plugins/infra/public/components/asset_details/links/link_to_alerts.tsx b/x-pack/plugins/observability_solution/infra/public/components/asset_details/links/link_to_alerts.tsx similarity index 100% rename from x-pack/plugins/infra/public/components/asset_details/links/link_to_alerts.tsx rename to x-pack/plugins/observability_solution/infra/public/components/asset_details/links/link_to_alerts.tsx diff --git a/x-pack/plugins/infra/public/components/asset_details/links/link_to_alerts_page.tsx b/x-pack/plugins/observability_solution/infra/public/components/asset_details/links/link_to_alerts_page.tsx similarity index 100% rename from x-pack/plugins/infra/public/components/asset_details/links/link_to_alerts_page.tsx rename to x-pack/plugins/observability_solution/infra/public/components/asset_details/links/link_to_alerts_page.tsx diff --git a/x-pack/plugins/infra/public/components/asset_details/links/link_to_apm_service.tsx b/x-pack/plugins/observability_solution/infra/public/components/asset_details/links/link_to_apm_service.tsx similarity index 100% rename from x-pack/plugins/infra/public/components/asset_details/links/link_to_apm_service.tsx rename to x-pack/plugins/observability_solution/infra/public/components/asset_details/links/link_to_apm_service.tsx diff --git a/x-pack/plugins/infra/public/components/asset_details/links/link_to_apm_services.tsx b/x-pack/plugins/observability_solution/infra/public/components/asset_details/links/link_to_apm_services.tsx similarity index 100% rename from x-pack/plugins/infra/public/components/asset_details/links/link_to_apm_services.tsx rename to x-pack/plugins/observability_solution/infra/public/components/asset_details/links/link_to_apm_services.tsx diff --git a/x-pack/plugins/infra/public/components/asset_details/links/link_to_node_details.tsx b/x-pack/plugins/observability_solution/infra/public/components/asset_details/links/link_to_node_details.tsx similarity index 100% rename from x-pack/plugins/infra/public/components/asset_details/links/link_to_node_details.tsx rename to x-pack/plugins/observability_solution/infra/public/components/asset_details/links/link_to_node_details.tsx diff --git a/x-pack/plugins/infra/public/components/asset_details/tabs/anomalies/anomalies.tsx b/x-pack/plugins/observability_solution/infra/public/components/asset_details/tabs/anomalies/anomalies.tsx similarity index 100% rename from x-pack/plugins/infra/public/components/asset_details/tabs/anomalies/anomalies.tsx rename to x-pack/plugins/observability_solution/infra/public/components/asset_details/tabs/anomalies/anomalies.tsx diff --git a/x-pack/plugins/infra/public/components/asset_details/tabs/common/popover.tsx b/x-pack/plugins/observability_solution/infra/public/components/asset_details/tabs/common/popover.tsx similarity index 100% rename from x-pack/plugins/infra/public/components/asset_details/tabs/common/popover.tsx rename to x-pack/plugins/observability_solution/infra/public/components/asset_details/tabs/common/popover.tsx diff --git a/x-pack/plugins/infra/public/components/asset_details/tabs/index.ts b/x-pack/plugins/observability_solution/infra/public/components/asset_details/tabs/index.ts similarity index 100% rename from x-pack/plugins/infra/public/components/asset_details/tabs/index.ts rename to x-pack/plugins/observability_solution/infra/public/components/asset_details/tabs/index.ts diff --git a/x-pack/plugins/infra/public/components/asset_details/tabs/logs/logs.tsx b/x-pack/plugins/observability_solution/infra/public/components/asset_details/tabs/logs/logs.tsx similarity index 100% rename from x-pack/plugins/infra/public/components/asset_details/tabs/logs/logs.tsx rename to x-pack/plugins/observability_solution/infra/public/components/asset_details/tabs/logs/logs.tsx diff --git a/x-pack/plugins/infra/public/components/asset_details/tabs/metadata/add_metadata_filter_button.tsx b/x-pack/plugins/observability_solution/infra/public/components/asset_details/tabs/metadata/add_metadata_filter_button.tsx similarity index 100% rename from x-pack/plugins/infra/public/components/asset_details/tabs/metadata/add_metadata_filter_button.tsx rename to x-pack/plugins/observability_solution/infra/public/components/asset_details/tabs/metadata/add_metadata_filter_button.tsx diff --git a/x-pack/plugins/infra/public/components/asset_details/tabs/metadata/add_pin_to_row.tsx b/x-pack/plugins/observability_solution/infra/public/components/asset_details/tabs/metadata/add_pin_to_row.tsx similarity index 100% rename from x-pack/plugins/infra/public/components/asset_details/tabs/metadata/add_pin_to_row.tsx rename to x-pack/plugins/observability_solution/infra/public/components/asset_details/tabs/metadata/add_pin_to_row.tsx diff --git a/x-pack/plugins/infra/public/components/asset_details/tabs/metadata/build_metadata_filter.ts b/x-pack/plugins/observability_solution/infra/public/components/asset_details/tabs/metadata/build_metadata_filter.ts similarity index 100% rename from x-pack/plugins/infra/public/components/asset_details/tabs/metadata/build_metadata_filter.ts rename to x-pack/plugins/observability_solution/infra/public/components/asset_details/tabs/metadata/build_metadata_filter.ts diff --git a/x-pack/plugins/infra/public/components/asset_details/tabs/metadata/metadata.stories.tsx b/x-pack/plugins/observability_solution/infra/public/components/asset_details/tabs/metadata/metadata.stories.tsx similarity index 100% rename from x-pack/plugins/infra/public/components/asset_details/tabs/metadata/metadata.stories.tsx rename to x-pack/plugins/observability_solution/infra/public/components/asset_details/tabs/metadata/metadata.stories.tsx diff --git a/x-pack/plugins/infra/public/components/asset_details/tabs/metadata/metadata.test.tsx b/x-pack/plugins/observability_solution/infra/public/components/asset_details/tabs/metadata/metadata.test.tsx similarity index 100% rename from x-pack/plugins/infra/public/components/asset_details/tabs/metadata/metadata.test.tsx rename to x-pack/plugins/observability_solution/infra/public/components/asset_details/tabs/metadata/metadata.test.tsx diff --git a/x-pack/plugins/infra/public/components/asset_details/tabs/metadata/metadata.tsx b/x-pack/plugins/observability_solution/infra/public/components/asset_details/tabs/metadata/metadata.tsx similarity index 100% rename from x-pack/plugins/infra/public/components/asset_details/tabs/metadata/metadata.tsx rename to x-pack/plugins/observability_solution/infra/public/components/asset_details/tabs/metadata/metadata.tsx diff --git a/x-pack/plugins/infra/public/components/asset_details/tabs/metadata/table.tsx b/x-pack/plugins/observability_solution/infra/public/components/asset_details/tabs/metadata/table.tsx similarity index 100% rename from x-pack/plugins/infra/public/components/asset_details/tabs/metadata/table.tsx rename to x-pack/plugins/observability_solution/infra/public/components/asset_details/tabs/metadata/table.tsx diff --git a/x-pack/plugins/infra/public/components/asset_details/tabs/metadata/utils.test.ts b/x-pack/plugins/observability_solution/infra/public/components/asset_details/tabs/metadata/utils.test.ts similarity index 100% rename from x-pack/plugins/infra/public/components/asset_details/tabs/metadata/utils.test.ts rename to x-pack/plugins/observability_solution/infra/public/components/asset_details/tabs/metadata/utils.test.ts diff --git a/x-pack/plugins/infra/public/components/asset_details/tabs/metadata/utils.ts b/x-pack/plugins/observability_solution/infra/public/components/asset_details/tabs/metadata/utils.ts similarity index 100% rename from x-pack/plugins/infra/public/components/asset_details/tabs/metadata/utils.ts rename to x-pack/plugins/observability_solution/infra/public/components/asset_details/tabs/metadata/utils.ts diff --git a/x-pack/plugins/infra/public/components/asset_details/tabs/osquery/osquery.tsx b/x-pack/plugins/observability_solution/infra/public/components/asset_details/tabs/osquery/osquery.tsx similarity index 100% rename from x-pack/plugins/infra/public/components/asset_details/tabs/osquery/osquery.tsx rename to x-pack/plugins/observability_solution/infra/public/components/asset_details/tabs/osquery/osquery.tsx diff --git a/x-pack/plugins/infra/public/components/asset_details/tabs/overview/alerts.tsx b/x-pack/plugins/observability_solution/infra/public/components/asset_details/tabs/overview/alerts.tsx similarity index 100% rename from x-pack/plugins/infra/public/components/asset_details/tabs/overview/alerts.tsx rename to x-pack/plugins/observability_solution/infra/public/components/asset_details/tabs/overview/alerts.tsx diff --git a/x-pack/plugins/infra/public/components/asset_details/tabs/overview/alerts_closed_content.tsx b/x-pack/plugins/observability_solution/infra/public/components/asset_details/tabs/overview/alerts_closed_content.tsx similarity index 100% rename from x-pack/plugins/infra/public/components/asset_details/tabs/overview/alerts_closed_content.tsx rename to x-pack/plugins/observability_solution/infra/public/components/asset_details/tabs/overview/alerts_closed_content.tsx diff --git a/x-pack/plugins/infra/public/components/asset_details/tabs/overview/kpis/cpu_profiling_prompt.tsx b/x-pack/plugins/observability_solution/infra/public/components/asset_details/tabs/overview/kpis/cpu_profiling_prompt.tsx similarity index 100% rename from x-pack/plugins/infra/public/components/asset_details/tabs/overview/kpis/cpu_profiling_prompt.tsx rename to x-pack/plugins/observability_solution/infra/public/components/asset_details/tabs/overview/kpis/cpu_profiling_prompt.tsx diff --git a/x-pack/plugins/infra/public/components/asset_details/tabs/overview/kpis/kpi.tsx b/x-pack/plugins/observability_solution/infra/public/components/asset_details/tabs/overview/kpis/kpi.tsx similarity index 100% rename from x-pack/plugins/infra/public/components/asset_details/tabs/overview/kpis/kpi.tsx rename to x-pack/plugins/observability_solution/infra/public/components/asset_details/tabs/overview/kpis/kpi.tsx diff --git a/x-pack/plugins/infra/public/components/asset_details/tabs/overview/kpis/kpi_grid.tsx b/x-pack/plugins/observability_solution/infra/public/components/asset_details/tabs/overview/kpis/kpi_grid.tsx similarity index 100% rename from x-pack/plugins/infra/public/components/asset_details/tabs/overview/kpis/kpi_grid.tsx rename to x-pack/plugins/observability_solution/infra/public/components/asset_details/tabs/overview/kpis/kpi_grid.tsx diff --git a/x-pack/plugins/infra/public/components/asset_details/tabs/overview/metadata_summary/metadata_header.tsx b/x-pack/plugins/observability_solution/infra/public/components/asset_details/tabs/overview/metadata_summary/metadata_header.tsx similarity index 100% rename from x-pack/plugins/infra/public/components/asset_details/tabs/overview/metadata_summary/metadata_header.tsx rename to x-pack/plugins/observability_solution/infra/public/components/asset_details/tabs/overview/metadata_summary/metadata_header.tsx diff --git a/x-pack/plugins/infra/public/components/asset_details/tabs/overview/metadata_summary/metadata_summary_list.tsx b/x-pack/plugins/observability_solution/infra/public/components/asset_details/tabs/overview/metadata_summary/metadata_summary_list.tsx similarity index 100% rename from x-pack/plugins/infra/public/components/asset_details/tabs/overview/metadata_summary/metadata_summary_list.tsx rename to x-pack/plugins/observability_solution/infra/public/components/asset_details/tabs/overview/metadata_summary/metadata_summary_list.tsx diff --git a/x-pack/plugins/infra/public/components/asset_details/tabs/overview/metrics/chart.tsx b/x-pack/plugins/observability_solution/infra/public/components/asset_details/tabs/overview/metrics/chart.tsx similarity index 100% rename from x-pack/plugins/infra/public/components/asset_details/tabs/overview/metrics/chart.tsx rename to x-pack/plugins/observability_solution/infra/public/components/asset_details/tabs/overview/metrics/chart.tsx diff --git a/x-pack/plugins/infra/public/components/asset_details/tabs/overview/metrics/chart_utils.test.ts b/x-pack/plugins/observability_solution/infra/public/components/asset_details/tabs/overview/metrics/chart_utils.test.ts similarity index 100% rename from x-pack/plugins/infra/public/components/asset_details/tabs/overview/metrics/chart_utils.test.ts rename to x-pack/plugins/observability_solution/infra/public/components/asset_details/tabs/overview/metrics/chart_utils.test.ts diff --git a/x-pack/plugins/infra/public/components/asset_details/tabs/overview/metrics/chart_utils.ts b/x-pack/plugins/observability_solution/infra/public/components/asset_details/tabs/overview/metrics/chart_utils.ts similarity index 100% rename from x-pack/plugins/infra/public/components/asset_details/tabs/overview/metrics/chart_utils.ts rename to x-pack/plugins/observability_solution/infra/public/components/asset_details/tabs/overview/metrics/chart_utils.ts diff --git a/x-pack/plugins/infra/public/components/asset_details/tabs/overview/metrics/metrics_grid.tsx b/x-pack/plugins/observability_solution/infra/public/components/asset_details/tabs/overview/metrics/metrics_grid.tsx similarity index 100% rename from x-pack/plugins/infra/public/components/asset_details/tabs/overview/metrics/metrics_grid.tsx rename to x-pack/plugins/observability_solution/infra/public/components/asset_details/tabs/overview/metrics/metrics_grid.tsx diff --git a/x-pack/plugins/infra/public/components/asset_details/tabs/overview/metrics/metrics_section.tsx b/x-pack/plugins/observability_solution/infra/public/components/asset_details/tabs/overview/metrics/metrics_section.tsx similarity index 100% rename from x-pack/plugins/infra/public/components/asset_details/tabs/overview/metrics/metrics_section.tsx rename to x-pack/plugins/observability_solution/infra/public/components/asset_details/tabs/overview/metrics/metrics_section.tsx diff --git a/x-pack/plugins/infra/public/components/asset_details/tabs/overview/overview.tsx b/x-pack/plugins/observability_solution/infra/public/components/asset_details/tabs/overview/overview.tsx similarity index 100% rename from x-pack/plugins/infra/public/components/asset_details/tabs/overview/overview.tsx rename to x-pack/plugins/observability_solution/infra/public/components/asset_details/tabs/overview/overview.tsx diff --git a/x-pack/plugins/infra/public/components/asset_details/tabs/overview/section/collapsible_section.tsx b/x-pack/plugins/observability_solution/infra/public/components/asset_details/tabs/overview/section/collapsible_section.tsx similarity index 100% rename from x-pack/plugins/infra/public/components/asset_details/tabs/overview/section/collapsible_section.tsx rename to x-pack/plugins/observability_solution/infra/public/components/asset_details/tabs/overview/section/collapsible_section.tsx diff --git a/x-pack/plugins/infra/public/components/asset_details/tabs/overview/section_separator.tsx b/x-pack/plugins/observability_solution/infra/public/components/asset_details/tabs/overview/section_separator.tsx similarity index 100% rename from x-pack/plugins/infra/public/components/asset_details/tabs/overview/section_separator.tsx rename to x-pack/plugins/observability_solution/infra/public/components/asset_details/tabs/overview/section_separator.tsx diff --git a/x-pack/plugins/infra/public/components/asset_details/tabs/overview/services.tsx b/x-pack/plugins/observability_solution/infra/public/components/asset_details/tabs/overview/services.tsx similarity index 100% rename from x-pack/plugins/infra/public/components/asset_details/tabs/overview/services.tsx rename to x-pack/plugins/observability_solution/infra/public/components/asset_details/tabs/overview/services.tsx diff --git a/x-pack/plugins/infra/public/components/asset_details/tabs/processes/parse_search_string.ts b/x-pack/plugins/observability_solution/infra/public/components/asset_details/tabs/processes/parse_search_string.ts similarity index 100% rename from x-pack/plugins/infra/public/components/asset_details/tabs/processes/parse_search_string.ts rename to x-pack/plugins/observability_solution/infra/public/components/asset_details/tabs/processes/parse_search_string.ts diff --git a/x-pack/plugins/infra/public/components/asset_details/tabs/processes/process_row.tsx b/x-pack/plugins/observability_solution/infra/public/components/asset_details/tabs/processes/process_row.tsx similarity index 100% rename from x-pack/plugins/infra/public/components/asset_details/tabs/processes/process_row.tsx rename to x-pack/plugins/observability_solution/infra/public/components/asset_details/tabs/processes/process_row.tsx diff --git a/x-pack/plugins/infra/public/components/asset_details/tabs/processes/process_row_charts.tsx b/x-pack/plugins/observability_solution/infra/public/components/asset_details/tabs/processes/process_row_charts.tsx similarity index 100% rename from x-pack/plugins/infra/public/components/asset_details/tabs/processes/process_row_charts.tsx rename to x-pack/plugins/observability_solution/infra/public/components/asset_details/tabs/processes/process_row_charts.tsx diff --git a/x-pack/plugins/infra/public/components/asset_details/tabs/processes/processes.stories.tsx b/x-pack/plugins/observability_solution/infra/public/components/asset_details/tabs/processes/processes.stories.tsx similarity index 100% rename from x-pack/plugins/infra/public/components/asset_details/tabs/processes/processes.stories.tsx rename to x-pack/plugins/observability_solution/infra/public/components/asset_details/tabs/processes/processes.stories.tsx diff --git a/x-pack/plugins/infra/public/components/asset_details/tabs/processes/processes.tsx b/x-pack/plugins/observability_solution/infra/public/components/asset_details/tabs/processes/processes.tsx similarity index 100% rename from x-pack/plugins/infra/public/components/asset_details/tabs/processes/processes.tsx rename to x-pack/plugins/observability_solution/infra/public/components/asset_details/tabs/processes/processes.tsx diff --git a/x-pack/plugins/infra/public/components/asset_details/tabs/processes/processes_table.tsx b/x-pack/plugins/observability_solution/infra/public/components/asset_details/tabs/processes/processes_table.tsx similarity index 100% rename from x-pack/plugins/infra/public/components/asset_details/tabs/processes/processes_table.tsx rename to x-pack/plugins/observability_solution/infra/public/components/asset_details/tabs/processes/processes_table.tsx diff --git a/x-pack/plugins/infra/public/components/asset_details/tabs/processes/state_badge.tsx b/x-pack/plugins/observability_solution/infra/public/components/asset_details/tabs/processes/state_badge.tsx similarity index 100% rename from x-pack/plugins/infra/public/components/asset_details/tabs/processes/state_badge.tsx rename to x-pack/plugins/observability_solution/infra/public/components/asset_details/tabs/processes/state_badge.tsx diff --git a/x-pack/plugins/infra/public/components/asset_details/tabs/processes/states.ts b/x-pack/plugins/observability_solution/infra/public/components/asset_details/tabs/processes/states.ts similarity index 100% rename from x-pack/plugins/infra/public/components/asset_details/tabs/processes/states.ts rename to x-pack/plugins/observability_solution/infra/public/components/asset_details/tabs/processes/states.ts diff --git a/x-pack/plugins/infra/public/components/asset_details/tabs/processes/summary_table.tsx b/x-pack/plugins/observability_solution/infra/public/components/asset_details/tabs/processes/summary_table.tsx similarity index 100% rename from x-pack/plugins/infra/public/components/asset_details/tabs/processes/summary_table.tsx rename to x-pack/plugins/observability_solution/infra/public/components/asset_details/tabs/processes/summary_table.tsx diff --git a/x-pack/plugins/infra/public/components/asset_details/tabs/processes/types.ts b/x-pack/plugins/observability_solution/infra/public/components/asset_details/tabs/processes/types.ts similarity index 100% rename from x-pack/plugins/infra/public/components/asset_details/tabs/processes/types.ts rename to x-pack/plugins/observability_solution/infra/public/components/asset_details/tabs/processes/types.ts diff --git a/x-pack/plugins/infra/public/components/asset_details/tabs/profiling/description_callout.tsx b/x-pack/plugins/observability_solution/infra/public/components/asset_details/tabs/profiling/description_callout.tsx similarity index 100% rename from x-pack/plugins/infra/public/components/asset_details/tabs/profiling/description_callout.tsx rename to x-pack/plugins/observability_solution/infra/public/components/asset_details/tabs/profiling/description_callout.tsx diff --git a/x-pack/plugins/infra/public/components/asset_details/tabs/profiling/empty_data_prompt.tsx b/x-pack/plugins/observability_solution/infra/public/components/asset_details/tabs/profiling/empty_data_prompt.tsx similarity index 100% rename from x-pack/plugins/infra/public/components/asset_details/tabs/profiling/empty_data_prompt.tsx rename to x-pack/plugins/observability_solution/infra/public/components/asset_details/tabs/profiling/empty_data_prompt.tsx diff --git a/x-pack/plugins/infra/public/components/asset_details/tabs/profiling/error_prompt.tsx b/x-pack/plugins/observability_solution/infra/public/components/asset_details/tabs/profiling/error_prompt.tsx similarity index 100% rename from x-pack/plugins/infra/public/components/asset_details/tabs/profiling/error_prompt.tsx rename to x-pack/plugins/observability_solution/infra/public/components/asset_details/tabs/profiling/error_prompt.tsx diff --git a/x-pack/plugins/infra/public/components/asset_details/tabs/profiling/flamegraph.tsx b/x-pack/plugins/observability_solution/infra/public/components/asset_details/tabs/profiling/flamegraph.tsx similarity index 100% rename from x-pack/plugins/infra/public/components/asset_details/tabs/profiling/flamegraph.tsx rename to x-pack/plugins/observability_solution/infra/public/components/asset_details/tabs/profiling/flamegraph.tsx diff --git a/x-pack/plugins/infra/public/components/asset_details/tabs/profiling/functions.tsx b/x-pack/plugins/observability_solution/infra/public/components/asset_details/tabs/profiling/functions.tsx similarity index 100% rename from x-pack/plugins/infra/public/components/asset_details/tabs/profiling/functions.tsx rename to x-pack/plugins/observability_solution/infra/public/components/asset_details/tabs/profiling/functions.tsx diff --git a/x-pack/plugins/infra/public/components/asset_details/tabs/profiling/profiling.tsx b/x-pack/plugins/observability_solution/infra/public/components/asset_details/tabs/profiling/profiling.tsx similarity index 100% rename from x-pack/plugins/infra/public/components/asset_details/tabs/profiling/profiling.tsx rename to x-pack/plugins/observability_solution/infra/public/components/asset_details/tabs/profiling/profiling.tsx diff --git a/x-pack/plugins/infra/public/components/asset_details/tabs/profiling/profiling_links.tsx b/x-pack/plugins/observability_solution/infra/public/components/asset_details/tabs/profiling/profiling_links.tsx similarity index 100% rename from x-pack/plugins/infra/public/components/asset_details/tabs/profiling/profiling_links.tsx rename to x-pack/plugins/observability_solution/infra/public/components/asset_details/tabs/profiling/profiling_links.tsx diff --git a/x-pack/plugins/infra/public/components/asset_details/tabs/profiling/threads.tsx b/x-pack/plugins/observability_solution/infra/public/components/asset_details/tabs/profiling/threads.tsx similarity index 100% rename from x-pack/plugins/infra/public/components/asset_details/tabs/profiling/threads.tsx rename to x-pack/plugins/observability_solution/infra/public/components/asset_details/tabs/profiling/threads.tsx diff --git a/x-pack/plugins/infra/public/components/asset_details/template/flyout.tsx b/x-pack/plugins/observability_solution/infra/public/components/asset_details/template/flyout.tsx similarity index 100% rename from x-pack/plugins/infra/public/components/asset_details/template/flyout.tsx rename to x-pack/plugins/observability_solution/infra/public/components/asset_details/template/flyout.tsx diff --git a/x-pack/plugins/infra/public/components/asset_details/template/page.tsx b/x-pack/plugins/observability_solution/infra/public/components/asset_details/template/page.tsx similarity index 100% rename from x-pack/plugins/infra/public/components/asset_details/template/page.tsx rename to x-pack/plugins/observability_solution/infra/public/components/asset_details/template/page.tsx diff --git a/x-pack/plugins/infra/public/components/asset_details/translations.ts b/x-pack/plugins/observability_solution/infra/public/components/asset_details/translations.ts similarity index 100% rename from x-pack/plugins/infra/public/components/asset_details/translations.ts rename to x-pack/plugins/observability_solution/infra/public/components/asset_details/translations.ts diff --git a/x-pack/plugins/infra/public/components/asset_details/types.ts b/x-pack/plugins/observability_solution/infra/public/components/asset_details/types.ts similarity index 100% rename from x-pack/plugins/infra/public/components/asset_details/types.ts rename to x-pack/plugins/observability_solution/infra/public/components/asset_details/types.ts diff --git a/x-pack/plugins/infra/public/components/asset_details/utils.ts b/x-pack/plugins/observability_solution/infra/public/components/asset_details/utils.ts similarity index 100% rename from x-pack/plugins/infra/public/components/asset_details/utils.ts rename to x-pack/plugins/observability_solution/infra/public/components/asset_details/utils.ts diff --git a/x-pack/plugins/infra/public/components/auto_sizer.tsx b/x-pack/plugins/observability_solution/infra/public/components/auto_sizer.tsx similarity index 100% rename from x-pack/plugins/infra/public/components/auto_sizer.tsx rename to x-pack/plugins/observability_solution/infra/public/components/auto_sizer.tsx diff --git a/x-pack/plugins/infra/public/components/autocomplete_field/autocomplete_field.tsx b/x-pack/plugins/observability_solution/infra/public/components/autocomplete_field/autocomplete_field.tsx similarity index 100% rename from x-pack/plugins/infra/public/components/autocomplete_field/autocomplete_field.tsx rename to x-pack/plugins/observability_solution/infra/public/components/autocomplete_field/autocomplete_field.tsx diff --git a/x-pack/plugins/infra/public/components/autocomplete_field/index.ts b/x-pack/plugins/observability_solution/infra/public/components/autocomplete_field/index.ts similarity index 100% rename from x-pack/plugins/infra/public/components/autocomplete_field/index.ts rename to x-pack/plugins/observability_solution/infra/public/components/autocomplete_field/index.ts diff --git a/x-pack/plugins/infra/public/components/autocomplete_field/suggestion_item.tsx b/x-pack/plugins/observability_solution/infra/public/components/autocomplete_field/suggestion_item.tsx similarity index 100% rename from x-pack/plugins/infra/public/components/autocomplete_field/suggestion_item.tsx rename to x-pack/plugins/observability_solution/infra/public/components/autocomplete_field/suggestion_item.tsx diff --git a/x-pack/plugins/infra/public/components/basic_table/index.ts b/x-pack/plugins/observability_solution/infra/public/components/basic_table/index.ts similarity index 100% rename from x-pack/plugins/infra/public/components/basic_table/index.ts rename to x-pack/plugins/observability_solution/infra/public/components/basic_table/index.ts diff --git a/x-pack/plugins/infra/public/components/basic_table/row_expansion_button.tsx b/x-pack/plugins/observability_solution/infra/public/components/basic_table/row_expansion_button.tsx similarity index 100% rename from x-pack/plugins/infra/public/components/basic_table/row_expansion_button.tsx rename to x-pack/plugins/observability_solution/infra/public/components/basic_table/row_expansion_button.tsx diff --git a/x-pack/plugins/infra/public/components/beta_badge.tsx b/x-pack/plugins/observability_solution/infra/public/components/beta_badge.tsx similarity index 100% rename from x-pack/plugins/infra/public/components/beta_badge.tsx rename to x-pack/plugins/observability_solution/infra/public/components/beta_badge.tsx diff --git a/x-pack/plugins/infra/public/components/empty_states/index.tsx b/x-pack/plugins/observability_solution/infra/public/components/empty_states/index.tsx similarity index 100% rename from x-pack/plugins/infra/public/components/empty_states/index.tsx rename to x-pack/plugins/observability_solution/infra/public/components/empty_states/index.tsx diff --git a/x-pack/plugins/infra/public/components/empty_states/no_data.tsx b/x-pack/plugins/observability_solution/infra/public/components/empty_states/no_data.tsx similarity index 100% rename from x-pack/plugins/infra/public/components/empty_states/no_data.tsx rename to x-pack/plugins/observability_solution/infra/public/components/empty_states/no_data.tsx diff --git a/x-pack/plugins/infra/public/components/empty_states/no_indices.tsx b/x-pack/plugins/observability_solution/infra/public/components/empty_states/no_indices.tsx similarity index 100% rename from x-pack/plugins/infra/public/components/empty_states/no_indices.tsx rename to x-pack/plugins/observability_solution/infra/public/components/empty_states/no_indices.tsx diff --git a/x-pack/plugins/infra/public/components/empty_states/no_metric_indices.tsx b/x-pack/plugins/observability_solution/infra/public/components/empty_states/no_metric_indices.tsx similarity index 100% rename from x-pack/plugins/infra/public/components/empty_states/no_metric_indices.tsx rename to x-pack/plugins/observability_solution/infra/public/components/empty_states/no_metric_indices.tsx diff --git a/x-pack/plugins/infra/public/components/empty_states/no_remote_cluster.tsx b/x-pack/plugins/observability_solution/infra/public/components/empty_states/no_remote_cluster.tsx similarity index 100% rename from x-pack/plugins/infra/public/components/empty_states/no_remote_cluster.tsx rename to x-pack/plugins/observability_solution/infra/public/components/empty_states/no_remote_cluster.tsx diff --git a/x-pack/plugins/infra/public/components/error_page.tsx b/x-pack/plugins/observability_solution/infra/public/components/error_page.tsx similarity index 100% rename from x-pack/plugins/infra/public/components/error_page.tsx rename to x-pack/plugins/observability_solution/infra/public/components/error_page.tsx diff --git a/x-pack/plugins/infra/public/components/eui/index.ts b/x-pack/plugins/observability_solution/infra/public/components/eui/index.ts similarity index 100% rename from x-pack/plugins/infra/public/components/eui/index.ts rename to x-pack/plugins/observability_solution/infra/public/components/eui/index.ts diff --git a/x-pack/plugins/infra/public/components/eui/toolbar/index.ts b/x-pack/plugins/observability_solution/infra/public/components/eui/toolbar/index.ts similarity index 100% rename from x-pack/plugins/infra/public/components/eui/toolbar/index.ts rename to x-pack/plugins/observability_solution/infra/public/components/eui/toolbar/index.ts diff --git a/x-pack/plugins/infra/public/components/eui/toolbar/toolbar.tsx b/x-pack/plugins/observability_solution/infra/public/components/eui/toolbar/toolbar.tsx similarity index 100% rename from x-pack/plugins/infra/public/components/eui/toolbar/toolbar.tsx rename to x-pack/plugins/observability_solution/infra/public/components/eui/toolbar/toolbar.tsx diff --git a/x-pack/plugins/infra/public/components/fixed_datepicker.tsx b/x-pack/plugins/observability_solution/infra/public/components/fixed_datepicker.tsx similarity index 100% rename from x-pack/plugins/infra/public/components/fixed_datepicker.tsx rename to x-pack/plugins/observability_solution/infra/public/components/fixed_datepicker.tsx diff --git a/x-pack/plugins/infra/public/components/height_retainer.tsx b/x-pack/plugins/observability_solution/infra/public/components/height_retainer.tsx similarity index 100% rename from x-pack/plugins/infra/public/components/height_retainer.tsx rename to x-pack/plugins/observability_solution/infra/public/components/height_retainer.tsx diff --git a/x-pack/plugins/infra/public/components/help_center_content.tsx b/x-pack/plugins/observability_solution/infra/public/components/help_center_content.tsx similarity index 100% rename from x-pack/plugins/infra/public/components/help_center_content.tsx rename to x-pack/plugins/observability_solution/infra/public/components/help_center_content.tsx diff --git a/x-pack/plugins/infra/public/components/lens/chart_load_error.tsx b/x-pack/plugins/observability_solution/infra/public/components/lens/chart_load_error.tsx similarity index 100% rename from x-pack/plugins/infra/public/components/lens/chart_load_error.tsx rename to x-pack/plugins/observability_solution/infra/public/components/lens/chart_load_error.tsx diff --git a/x-pack/plugins/infra/public/components/lens/chart_placeholder.tsx b/x-pack/plugins/observability_solution/infra/public/components/lens/chart_placeholder.tsx similarity index 100% rename from x-pack/plugins/infra/public/components/lens/chart_placeholder.tsx rename to x-pack/plugins/observability_solution/infra/public/components/lens/chart_placeholder.tsx diff --git a/x-pack/plugins/infra/public/components/lens/index.tsx b/x-pack/plugins/observability_solution/infra/public/components/lens/index.tsx similarity index 100% rename from x-pack/plugins/infra/public/components/lens/index.tsx rename to x-pack/plugins/observability_solution/infra/public/components/lens/index.tsx diff --git a/x-pack/plugins/infra/public/components/lens/lens_chart.tsx b/x-pack/plugins/observability_solution/infra/public/components/lens/lens_chart.tsx similarity index 100% rename from x-pack/plugins/infra/public/components/lens/lens_chart.tsx rename to x-pack/plugins/observability_solution/infra/public/components/lens/lens_chart.tsx diff --git a/x-pack/plugins/infra/public/components/lens/lens_wrapper.tsx b/x-pack/plugins/observability_solution/infra/public/components/lens/lens_wrapper.tsx similarity index 100% rename from x-pack/plugins/infra/public/components/lens/lens_wrapper.tsx rename to x-pack/plugins/observability_solution/infra/public/components/lens/lens_wrapper.tsx diff --git a/x-pack/plugins/infra/public/components/lens/metric_explanation/host_metrics_docs_link.tsx b/x-pack/plugins/observability_solution/infra/public/components/lens/metric_explanation/host_metrics_docs_link.tsx similarity index 100% rename from x-pack/plugins/infra/public/components/lens/metric_explanation/host_metrics_docs_link.tsx rename to x-pack/plugins/observability_solution/infra/public/components/lens/metric_explanation/host_metrics_docs_link.tsx diff --git a/x-pack/plugins/infra/public/components/lens/metric_explanation/host_metrics_explanation_content.tsx b/x-pack/plugins/observability_solution/infra/public/components/lens/metric_explanation/host_metrics_explanation_content.tsx similarity index 100% rename from x-pack/plugins/infra/public/components/lens/metric_explanation/host_metrics_explanation_content.tsx rename to x-pack/plugins/observability_solution/infra/public/components/lens/metric_explanation/host_metrics_explanation_content.tsx diff --git a/x-pack/plugins/infra/public/components/lens/metric_explanation/tooltip_content.tsx b/x-pack/plugins/observability_solution/infra/public/components/lens/metric_explanation/tooltip_content.tsx similarity index 100% rename from x-pack/plugins/infra/public/components/lens/metric_explanation/tooltip_content.tsx rename to x-pack/plugins/observability_solution/infra/public/components/lens/metric_explanation/tooltip_content.tsx diff --git a/x-pack/plugins/infra/public/components/lens/types.ts b/x-pack/plugins/observability_solution/infra/public/components/lens/types.ts similarity index 100% rename from x-pack/plugins/infra/public/components/lens/types.ts rename to x-pack/plugins/observability_solution/infra/public/components/lens/types.ts diff --git a/x-pack/plugins/infra/public/components/loading/__examples__/index.stories.tsx b/x-pack/plugins/observability_solution/infra/public/components/loading/__examples__/index.stories.tsx similarity index 100% rename from x-pack/plugins/infra/public/components/loading/__examples__/index.stories.tsx rename to x-pack/plugins/observability_solution/infra/public/components/loading/__examples__/index.stories.tsx diff --git a/x-pack/plugins/infra/public/components/loading/index.tsx b/x-pack/plugins/observability_solution/infra/public/components/loading/index.tsx similarity index 100% rename from x-pack/plugins/infra/public/components/loading/index.tsx rename to x-pack/plugins/observability_solution/infra/public/components/loading/index.tsx diff --git a/x-pack/plugins/infra/public/components/loading_overlay_wrapper.tsx b/x-pack/plugins/observability_solution/infra/public/components/loading_overlay_wrapper.tsx similarity index 100% rename from x-pack/plugins/infra/public/components/loading_overlay_wrapper.tsx rename to x-pack/plugins/observability_solution/infra/public/components/loading_overlay_wrapper.tsx diff --git a/x-pack/plugins/infra/public/components/loading_page.tsx b/x-pack/plugins/observability_solution/infra/public/components/loading_page.tsx similarity index 100% rename from x-pack/plugins/infra/public/components/loading_page.tsx rename to x-pack/plugins/observability_solution/infra/public/components/loading_page.tsx diff --git a/x-pack/plugins/infra/public/components/log_stream/log_stream_embeddable.tsx b/x-pack/plugins/observability_solution/infra/public/components/log_stream/log_stream_embeddable.tsx similarity index 100% rename from x-pack/plugins/infra/public/components/log_stream/log_stream_embeddable.tsx rename to x-pack/plugins/observability_solution/infra/public/components/log_stream/log_stream_embeddable.tsx diff --git a/x-pack/plugins/infra/public/components/log_stream/log_stream_embeddable_factory.ts b/x-pack/plugins/observability_solution/infra/public/components/log_stream/log_stream_embeddable_factory.ts similarity index 100% rename from x-pack/plugins/infra/public/components/log_stream/log_stream_embeddable_factory.ts rename to x-pack/plugins/observability_solution/infra/public/components/log_stream/log_stream_embeddable_factory.ts diff --git a/x-pack/plugins/infra/public/components/logging/inline_log_view_splash_page.tsx b/x-pack/plugins/observability_solution/infra/public/components/logging/inline_log_view_splash_page.tsx similarity index 100% rename from x-pack/plugins/infra/public/components/logging/inline_log_view_splash_page.tsx rename to x-pack/plugins/observability_solution/infra/public/components/logging/inline_log_view_splash_page.tsx diff --git a/x-pack/plugins/infra/public/components/logging/log_analysis_job_status/index.ts b/x-pack/plugins/observability_solution/infra/public/components/logging/log_analysis_job_status/index.ts similarity index 100% rename from x-pack/plugins/infra/public/components/logging/log_analysis_job_status/index.ts rename to x-pack/plugins/observability_solution/infra/public/components/logging/log_analysis_job_status/index.ts diff --git a/x-pack/plugins/infra/public/components/logging/log_analysis_job_status/job_configuration_outdated_callout.tsx b/x-pack/plugins/observability_solution/infra/public/components/logging/log_analysis_job_status/job_configuration_outdated_callout.tsx similarity index 100% rename from x-pack/plugins/infra/public/components/logging/log_analysis_job_status/job_configuration_outdated_callout.tsx rename to x-pack/plugins/observability_solution/infra/public/components/logging/log_analysis_job_status/job_configuration_outdated_callout.tsx diff --git a/x-pack/plugins/infra/public/components/logging/log_analysis_job_status/job_definition_outdated_callout.tsx b/x-pack/plugins/observability_solution/infra/public/components/logging/log_analysis_job_status/job_definition_outdated_callout.tsx similarity index 100% rename from x-pack/plugins/infra/public/components/logging/log_analysis_job_status/job_definition_outdated_callout.tsx rename to x-pack/plugins/observability_solution/infra/public/components/logging/log_analysis_job_status/job_definition_outdated_callout.tsx diff --git a/x-pack/plugins/infra/public/components/logging/log_analysis_job_status/job_stopped_callout.tsx b/x-pack/plugins/observability_solution/infra/public/components/logging/log_analysis_job_status/job_stopped_callout.tsx similarity index 100% rename from x-pack/plugins/infra/public/components/logging/log_analysis_job_status/job_stopped_callout.tsx rename to x-pack/plugins/observability_solution/infra/public/components/logging/log_analysis_job_status/job_stopped_callout.tsx diff --git a/x-pack/plugins/infra/public/components/logging/log_analysis_job_status/log_analysis_job_problem_indicator.tsx b/x-pack/plugins/observability_solution/infra/public/components/logging/log_analysis_job_status/log_analysis_job_problem_indicator.tsx similarity index 100% rename from x-pack/plugins/infra/public/components/logging/log_analysis_job_status/log_analysis_job_problem_indicator.tsx rename to x-pack/plugins/observability_solution/infra/public/components/logging/log_analysis_job_status/log_analysis_job_problem_indicator.tsx diff --git a/x-pack/plugins/infra/public/components/logging/log_analysis_job_status/notices_section.tsx b/x-pack/plugins/observability_solution/infra/public/components/logging/log_analysis_job_status/notices_section.tsx similarity index 100% rename from x-pack/plugins/infra/public/components/logging/log_analysis_job_status/notices_section.tsx rename to x-pack/plugins/observability_solution/infra/public/components/logging/log_analysis_job_status/notices_section.tsx diff --git a/x-pack/plugins/infra/public/components/logging/log_analysis_job_status/quality_warning_notices.stories.tsx b/x-pack/plugins/observability_solution/infra/public/components/logging/log_analysis_job_status/quality_warning_notices.stories.tsx similarity index 100% rename from x-pack/plugins/infra/public/components/logging/log_analysis_job_status/quality_warning_notices.stories.tsx rename to x-pack/plugins/observability_solution/infra/public/components/logging/log_analysis_job_status/quality_warning_notices.stories.tsx diff --git a/x-pack/plugins/infra/public/components/logging/log_analysis_job_status/quality_warning_notices.tsx b/x-pack/plugins/observability_solution/infra/public/components/logging/log_analysis_job_status/quality_warning_notices.tsx similarity index 100% rename from x-pack/plugins/infra/public/components/logging/log_analysis_job_status/quality_warning_notices.tsx rename to x-pack/plugins/observability_solution/infra/public/components/logging/log_analysis_job_status/quality_warning_notices.tsx diff --git a/x-pack/plugins/infra/public/components/logging/log_analysis_job_status/recreate_job_callout.tsx b/x-pack/plugins/observability_solution/infra/public/components/logging/log_analysis_job_status/recreate_job_callout.tsx similarity index 100% rename from x-pack/plugins/infra/public/components/logging/log_analysis_job_status/recreate_job_callout.tsx rename to x-pack/plugins/observability_solution/infra/public/components/logging/log_analysis_job_status/recreate_job_callout.tsx diff --git a/x-pack/plugins/infra/public/components/logging/log_analysis_results/analyze_in_ml_button.tsx b/x-pack/plugins/observability_solution/infra/public/components/logging/log_analysis_results/analyze_in_ml_button.tsx similarity index 100% rename from x-pack/plugins/infra/public/components/logging/log_analysis_results/analyze_in_ml_button.tsx rename to x-pack/plugins/observability_solution/infra/public/components/logging/log_analysis_results/analyze_in_ml_button.tsx diff --git a/x-pack/plugins/infra/public/components/logging/log_analysis_results/anomaly_severity_indicator.tsx b/x-pack/plugins/observability_solution/infra/public/components/logging/log_analysis_results/anomaly_severity_indicator.tsx similarity index 100% rename from x-pack/plugins/infra/public/components/logging/log_analysis_results/anomaly_severity_indicator.tsx rename to x-pack/plugins/observability_solution/infra/public/components/logging/log_analysis_results/anomaly_severity_indicator.tsx diff --git a/x-pack/plugins/infra/public/components/logging/log_analysis_results/category_expression.tsx b/x-pack/plugins/observability_solution/infra/public/components/logging/log_analysis_results/category_expression.tsx similarity index 100% rename from x-pack/plugins/infra/public/components/logging/log_analysis_results/category_expression.tsx rename to x-pack/plugins/observability_solution/infra/public/components/logging/log_analysis_results/category_expression.tsx diff --git a/x-pack/plugins/infra/public/components/logging/log_analysis_results/datasets_selector.tsx b/x-pack/plugins/observability_solution/infra/public/components/logging/log_analysis_results/datasets_selector.tsx similarity index 100% rename from x-pack/plugins/infra/public/components/logging/log_analysis_results/datasets_selector.tsx rename to x-pack/plugins/observability_solution/infra/public/components/logging/log_analysis_results/datasets_selector.tsx diff --git a/x-pack/plugins/infra/public/components/logging/log_analysis_results/first_use_callout.tsx b/x-pack/plugins/observability_solution/infra/public/components/logging/log_analysis_results/first_use_callout.tsx similarity index 100% rename from x-pack/plugins/infra/public/components/logging/log_analysis_results/first_use_callout.tsx rename to x-pack/plugins/observability_solution/infra/public/components/logging/log_analysis_results/first_use_callout.tsx diff --git a/x-pack/plugins/infra/public/components/logging/log_analysis_results/index.ts b/x-pack/plugins/observability_solution/infra/public/components/logging/log_analysis_results/index.ts similarity index 100% rename from x-pack/plugins/infra/public/components/logging/log_analysis_results/index.ts rename to x-pack/plugins/observability_solution/infra/public/components/logging/log_analysis_results/index.ts diff --git a/x-pack/plugins/infra/public/components/logging/log_analysis_setup/create_job_button.tsx b/x-pack/plugins/observability_solution/infra/public/components/logging/log_analysis_setup/create_job_button.tsx similarity index 100% rename from x-pack/plugins/infra/public/components/logging/log_analysis_setup/create_job_button.tsx rename to x-pack/plugins/observability_solution/infra/public/components/logging/log_analysis_setup/create_job_button.tsx diff --git a/x-pack/plugins/infra/public/components/logging/log_analysis_setup/index.ts b/x-pack/plugins/observability_solution/infra/public/components/logging/log_analysis_setup/index.ts similarity index 100% rename from x-pack/plugins/infra/public/components/logging/log_analysis_setup/index.ts rename to x-pack/plugins/observability_solution/infra/public/components/logging/log_analysis_setup/index.ts diff --git a/x-pack/plugins/infra/public/components/logging/log_analysis_setup/initial_configuration_step/analysis_setup_indices_form.tsx b/x-pack/plugins/observability_solution/infra/public/components/logging/log_analysis_setup/initial_configuration_step/analysis_setup_indices_form.tsx similarity index 100% rename from x-pack/plugins/infra/public/components/logging/log_analysis_setup/initial_configuration_step/analysis_setup_indices_form.tsx rename to x-pack/plugins/observability_solution/infra/public/components/logging/log_analysis_setup/initial_configuration_step/analysis_setup_indices_form.tsx diff --git a/x-pack/plugins/infra/public/components/logging/log_analysis_setup/initial_configuration_step/analysis_setup_timerange_form.tsx b/x-pack/plugins/observability_solution/infra/public/components/logging/log_analysis_setup/initial_configuration_step/analysis_setup_timerange_form.tsx similarity index 100% rename from x-pack/plugins/infra/public/components/logging/log_analysis_setup/initial_configuration_step/analysis_setup_timerange_form.tsx rename to x-pack/plugins/observability_solution/infra/public/components/logging/log_analysis_setup/initial_configuration_step/analysis_setup_timerange_form.tsx diff --git a/x-pack/plugins/infra/public/components/logging/log_analysis_setup/initial_configuration_step/index.ts b/x-pack/plugins/observability_solution/infra/public/components/logging/log_analysis_setup/initial_configuration_step/index.ts similarity index 100% rename from x-pack/plugins/infra/public/components/logging/log_analysis_setup/initial_configuration_step/index.ts rename to x-pack/plugins/observability_solution/infra/public/components/logging/log_analysis_setup/initial_configuration_step/index.ts diff --git a/x-pack/plugins/infra/public/components/logging/log_analysis_setup/initial_configuration_step/index_setup_dataset_filter.tsx b/x-pack/plugins/observability_solution/infra/public/components/logging/log_analysis_setup/initial_configuration_step/index_setup_dataset_filter.tsx similarity index 100% rename from x-pack/plugins/infra/public/components/logging/log_analysis_setup/initial_configuration_step/index_setup_dataset_filter.tsx rename to x-pack/plugins/observability_solution/infra/public/components/logging/log_analysis_setup/initial_configuration_step/index_setup_dataset_filter.tsx diff --git a/x-pack/plugins/infra/public/components/logging/log_analysis_setup/initial_configuration_step/index_setup_row.tsx b/x-pack/plugins/observability_solution/infra/public/components/logging/log_analysis_setup/initial_configuration_step/index_setup_row.tsx similarity index 100% rename from x-pack/plugins/infra/public/components/logging/log_analysis_setup/initial_configuration_step/index_setup_row.tsx rename to x-pack/plugins/observability_solution/infra/public/components/logging/log_analysis_setup/initial_configuration_step/index_setup_row.tsx diff --git a/x-pack/plugins/infra/public/components/logging/log_analysis_setup/initial_configuration_step/initial_configuration_step.stories.tsx b/x-pack/plugins/observability_solution/infra/public/components/logging/log_analysis_setup/initial_configuration_step/initial_configuration_step.stories.tsx similarity index 100% rename from x-pack/plugins/infra/public/components/logging/log_analysis_setup/initial_configuration_step/initial_configuration_step.stories.tsx rename to x-pack/plugins/observability_solution/infra/public/components/logging/log_analysis_setup/initial_configuration_step/initial_configuration_step.stories.tsx diff --git a/x-pack/plugins/infra/public/components/logging/log_analysis_setup/initial_configuration_step/initial_configuration_step.tsx b/x-pack/plugins/observability_solution/infra/public/components/logging/log_analysis_setup/initial_configuration_step/initial_configuration_step.tsx similarity index 100% rename from x-pack/plugins/infra/public/components/logging/log_analysis_setup/initial_configuration_step/initial_configuration_step.tsx rename to x-pack/plugins/observability_solution/infra/public/components/logging/log_analysis_setup/initial_configuration_step/initial_configuration_step.tsx diff --git a/x-pack/plugins/infra/public/components/logging/log_analysis_setup/initial_configuration_step/validation.tsx b/x-pack/plugins/observability_solution/infra/public/components/logging/log_analysis_setup/initial_configuration_step/validation.tsx similarity index 100% rename from x-pack/plugins/infra/public/components/logging/log_analysis_setup/initial_configuration_step/validation.tsx rename to x-pack/plugins/observability_solution/infra/public/components/logging/log_analysis_setup/initial_configuration_step/validation.tsx diff --git a/x-pack/plugins/infra/public/components/logging/log_analysis_setup/manage_jobs_button.tsx b/x-pack/plugins/observability_solution/infra/public/components/logging/log_analysis_setup/manage_jobs_button.tsx similarity index 100% rename from x-pack/plugins/infra/public/components/logging/log_analysis_setup/manage_jobs_button.tsx rename to x-pack/plugins/observability_solution/infra/public/components/logging/log_analysis_setup/manage_jobs_button.tsx diff --git a/x-pack/plugins/infra/public/components/logging/log_analysis_setup/missing_privileges_messages.ts b/x-pack/plugins/observability_solution/infra/public/components/logging/log_analysis_setup/missing_privileges_messages.ts similarity index 100% rename from x-pack/plugins/infra/public/components/logging/log_analysis_setup/missing_privileges_messages.ts rename to x-pack/plugins/observability_solution/infra/public/components/logging/log_analysis_setup/missing_privileges_messages.ts diff --git a/x-pack/plugins/infra/public/components/logging/log_analysis_setup/missing_results_privileges_prompt.tsx b/x-pack/plugins/observability_solution/infra/public/components/logging/log_analysis_setup/missing_results_privileges_prompt.tsx similarity index 100% rename from x-pack/plugins/infra/public/components/logging/log_analysis_setup/missing_results_privileges_prompt.tsx rename to x-pack/plugins/observability_solution/infra/public/components/logging/log_analysis_setup/missing_results_privileges_prompt.tsx diff --git a/x-pack/plugins/infra/public/components/logging/log_analysis_setup/missing_setup_privileges_prompt.tsx b/x-pack/plugins/observability_solution/infra/public/components/logging/log_analysis_setup/missing_setup_privileges_prompt.tsx similarity index 100% rename from x-pack/plugins/infra/public/components/logging/log_analysis_setup/missing_setup_privileges_prompt.tsx rename to x-pack/plugins/observability_solution/infra/public/components/logging/log_analysis_setup/missing_setup_privileges_prompt.tsx diff --git a/x-pack/plugins/infra/public/components/logging/log_analysis_setup/missing_setup_privileges_tooltip.tsx b/x-pack/plugins/observability_solution/infra/public/components/logging/log_analysis_setup/missing_setup_privileges_tooltip.tsx similarity index 100% rename from x-pack/plugins/infra/public/components/logging/log_analysis_setup/missing_setup_privileges_tooltip.tsx rename to x-pack/plugins/observability_solution/infra/public/components/logging/log_analysis_setup/missing_setup_privileges_tooltip.tsx diff --git a/x-pack/plugins/infra/public/components/logging/log_analysis_setup/ml_unavailable_prompt.tsx b/x-pack/plugins/observability_solution/infra/public/components/logging/log_analysis_setup/ml_unavailable_prompt.tsx similarity index 100% rename from x-pack/plugins/infra/public/components/logging/log_analysis_setup/ml_unavailable_prompt.tsx rename to x-pack/plugins/observability_solution/infra/public/components/logging/log_analysis_setup/ml_unavailable_prompt.tsx diff --git a/x-pack/plugins/infra/public/components/logging/log_analysis_setup/process_step/create_ml_jobs_button.tsx b/x-pack/plugins/observability_solution/infra/public/components/logging/log_analysis_setup/process_step/create_ml_jobs_button.tsx similarity index 100% rename from x-pack/plugins/infra/public/components/logging/log_analysis_setup/process_step/create_ml_jobs_button.tsx rename to x-pack/plugins/observability_solution/infra/public/components/logging/log_analysis_setup/process_step/create_ml_jobs_button.tsx diff --git a/x-pack/plugins/infra/public/components/logging/log_analysis_setup/process_step/index.ts b/x-pack/plugins/observability_solution/infra/public/components/logging/log_analysis_setup/process_step/index.ts similarity index 100% rename from x-pack/plugins/infra/public/components/logging/log_analysis_setup/process_step/index.ts rename to x-pack/plugins/observability_solution/infra/public/components/logging/log_analysis_setup/process_step/index.ts diff --git a/x-pack/plugins/infra/public/components/logging/log_analysis_setup/process_step/process_step.tsx b/x-pack/plugins/observability_solution/infra/public/components/logging/log_analysis_setup/process_step/process_step.tsx similarity index 100% rename from x-pack/plugins/infra/public/components/logging/log_analysis_setup/process_step/process_step.tsx rename to x-pack/plugins/observability_solution/infra/public/components/logging/log_analysis_setup/process_step/process_step.tsx diff --git a/x-pack/plugins/infra/public/components/logging/log_analysis_setup/process_step/recreate_ml_jobs_button.tsx b/x-pack/plugins/observability_solution/infra/public/components/logging/log_analysis_setup/process_step/recreate_ml_jobs_button.tsx similarity index 100% rename from x-pack/plugins/infra/public/components/logging/log_analysis_setup/process_step/recreate_ml_jobs_button.tsx rename to x-pack/plugins/observability_solution/infra/public/components/logging/log_analysis_setup/process_step/recreate_ml_jobs_button.tsx diff --git a/x-pack/plugins/infra/public/components/logging/log_analysis_setup/setup_flyout/index.tsx b/x-pack/plugins/observability_solution/infra/public/components/logging/log_analysis_setup/setup_flyout/index.tsx similarity index 100% rename from x-pack/plugins/infra/public/components/logging/log_analysis_setup/setup_flyout/index.tsx rename to x-pack/plugins/observability_solution/infra/public/components/logging/log_analysis_setup/setup_flyout/index.tsx diff --git a/x-pack/plugins/infra/public/components/logging/log_analysis_setup/setup_flyout/log_entry_categories_setup_view.tsx b/x-pack/plugins/observability_solution/infra/public/components/logging/log_analysis_setup/setup_flyout/log_entry_categories_setup_view.tsx similarity index 100% rename from x-pack/plugins/infra/public/components/logging/log_analysis_setup/setup_flyout/log_entry_categories_setup_view.tsx rename to x-pack/plugins/observability_solution/infra/public/components/logging/log_analysis_setup/setup_flyout/log_entry_categories_setup_view.tsx diff --git a/x-pack/plugins/infra/public/components/logging/log_analysis_setup/setup_flyout/log_entry_rate_setup_view.tsx b/x-pack/plugins/observability_solution/infra/public/components/logging/log_analysis_setup/setup_flyout/log_entry_rate_setup_view.tsx similarity index 100% rename from x-pack/plugins/infra/public/components/logging/log_analysis_setup/setup_flyout/log_entry_rate_setup_view.tsx rename to x-pack/plugins/observability_solution/infra/public/components/logging/log_analysis_setup/setup_flyout/log_entry_rate_setup_view.tsx diff --git a/x-pack/plugins/infra/public/components/logging/log_analysis_setup/setup_flyout/module_list.tsx b/x-pack/plugins/observability_solution/infra/public/components/logging/log_analysis_setup/setup_flyout/module_list.tsx similarity index 100% rename from x-pack/plugins/infra/public/components/logging/log_analysis_setup/setup_flyout/module_list.tsx rename to x-pack/plugins/observability_solution/infra/public/components/logging/log_analysis_setup/setup_flyout/module_list.tsx diff --git a/x-pack/plugins/infra/public/components/logging/log_analysis_setup/setup_flyout/module_list_card.tsx b/x-pack/plugins/observability_solution/infra/public/components/logging/log_analysis_setup/setup_flyout/module_list_card.tsx similarity index 100% rename from x-pack/plugins/infra/public/components/logging/log_analysis_setup/setup_flyout/module_list_card.tsx rename to x-pack/plugins/observability_solution/infra/public/components/logging/log_analysis_setup/setup_flyout/module_list_card.tsx diff --git a/x-pack/plugins/infra/public/components/logging/log_analysis_setup/setup_flyout/setup_flyout.tsx b/x-pack/plugins/observability_solution/infra/public/components/logging/log_analysis_setup/setup_flyout/setup_flyout.tsx similarity index 100% rename from x-pack/plugins/infra/public/components/logging/log_analysis_setup/setup_flyout/setup_flyout.tsx rename to x-pack/plugins/observability_solution/infra/public/components/logging/log_analysis_setup/setup_flyout/setup_flyout.tsx diff --git a/x-pack/plugins/infra/public/components/logging/log_analysis_setup/setup_flyout/setup_flyout_state.ts b/x-pack/plugins/observability_solution/infra/public/components/logging/log_analysis_setup/setup_flyout/setup_flyout_state.ts similarity index 100% rename from x-pack/plugins/infra/public/components/logging/log_analysis_setup/setup_flyout/setup_flyout_state.ts rename to x-pack/plugins/observability_solution/infra/public/components/logging/log_analysis_setup/setup_flyout/setup_flyout_state.ts diff --git a/x-pack/plugins/infra/public/components/logging/log_analysis_setup/setup_status_unknown_prompt.tsx b/x-pack/plugins/observability_solution/infra/public/components/logging/log_analysis_setup/setup_status_unknown_prompt.tsx similarity index 100% rename from x-pack/plugins/infra/public/components/logging/log_analysis_setup/setup_status_unknown_prompt.tsx rename to x-pack/plugins/observability_solution/infra/public/components/logging/log_analysis_setup/setup_status_unknown_prompt.tsx diff --git a/x-pack/plugins/infra/public/components/logging/log_analysis_setup/user_management_link.tsx b/x-pack/plugins/observability_solution/infra/public/components/logging/log_analysis_setup/user_management_link.tsx similarity index 100% rename from x-pack/plugins/infra/public/components/logging/log_analysis_setup/user_management_link.tsx rename to x-pack/plugins/observability_solution/infra/public/components/logging/log_analysis_setup/user_management_link.tsx diff --git a/x-pack/plugins/infra/public/components/logging/log_customization_menu.tsx b/x-pack/plugins/observability_solution/infra/public/components/logging/log_customization_menu.tsx similarity index 100% rename from x-pack/plugins/infra/public/components/logging/log_customization_menu.tsx rename to x-pack/plugins/observability_solution/infra/public/components/logging/log_customization_menu.tsx diff --git a/x-pack/plugins/infra/public/components/logging/log_datepicker.tsx b/x-pack/plugins/observability_solution/infra/public/components/logging/log_datepicker.tsx similarity index 100% rename from x-pack/plugins/infra/public/components/logging/log_datepicker.tsx rename to x-pack/plugins/observability_solution/infra/public/components/logging/log_datepicker.tsx diff --git a/x-pack/plugins/infra/public/components/logging/log_entry_examples/log_entry_examples.tsx b/x-pack/plugins/observability_solution/infra/public/components/logging/log_entry_examples/log_entry_examples.tsx similarity index 100% rename from x-pack/plugins/infra/public/components/logging/log_entry_examples/log_entry_examples.tsx rename to x-pack/plugins/observability_solution/infra/public/components/logging/log_entry_examples/log_entry_examples.tsx diff --git a/x-pack/plugins/infra/public/components/logging/log_entry_examples/log_entry_examples_empty_indicator.tsx b/x-pack/plugins/observability_solution/infra/public/components/logging/log_entry_examples/log_entry_examples_empty_indicator.tsx similarity index 100% rename from x-pack/plugins/infra/public/components/logging/log_entry_examples/log_entry_examples_empty_indicator.tsx rename to x-pack/plugins/observability_solution/infra/public/components/logging/log_entry_examples/log_entry_examples_empty_indicator.tsx diff --git a/x-pack/plugins/infra/public/components/logging/log_entry_examples/log_entry_examples_failure_indicator.tsx b/x-pack/plugins/observability_solution/infra/public/components/logging/log_entry_examples/log_entry_examples_failure_indicator.tsx similarity index 100% rename from x-pack/plugins/infra/public/components/logging/log_entry_examples/log_entry_examples_failure_indicator.tsx rename to x-pack/plugins/observability_solution/infra/public/components/logging/log_entry_examples/log_entry_examples_failure_indicator.tsx diff --git a/x-pack/plugins/infra/public/components/logging/log_entry_examples/log_entry_examples_loading_indicator.tsx b/x-pack/plugins/observability_solution/infra/public/components/logging/log_entry_examples/log_entry_examples_loading_indicator.tsx similarity index 100% rename from x-pack/plugins/infra/public/components/logging/log_entry_examples/log_entry_examples_loading_indicator.tsx rename to x-pack/plugins/observability_solution/infra/public/components/logging/log_entry_examples/log_entry_examples_loading_indicator.tsx diff --git a/x-pack/plugins/infra/public/components/logging/log_highlights_menu.tsx b/x-pack/plugins/observability_solution/infra/public/components/logging/log_highlights_menu.tsx similarity index 100% rename from x-pack/plugins/infra/public/components/logging/log_highlights_menu.tsx rename to x-pack/plugins/observability_solution/infra/public/components/logging/log_highlights_menu.tsx diff --git a/x-pack/plugins/infra/public/components/logging/log_minimap/density_chart.tsx b/x-pack/plugins/observability_solution/infra/public/components/logging/log_minimap/density_chart.tsx similarity index 100% rename from x-pack/plugins/infra/public/components/logging/log_minimap/density_chart.tsx rename to x-pack/plugins/observability_solution/infra/public/components/logging/log_minimap/density_chart.tsx diff --git a/x-pack/plugins/infra/public/components/logging/log_minimap/highlighted_interval.tsx b/x-pack/plugins/observability_solution/infra/public/components/logging/log_minimap/highlighted_interval.tsx similarity index 100% rename from x-pack/plugins/infra/public/components/logging/log_minimap/highlighted_interval.tsx rename to x-pack/plugins/observability_solution/infra/public/components/logging/log_minimap/highlighted_interval.tsx diff --git a/x-pack/plugins/infra/public/components/logging/log_minimap/index.ts b/x-pack/plugins/observability_solution/infra/public/components/logging/log_minimap/index.ts similarity index 100% rename from x-pack/plugins/infra/public/components/logging/log_minimap/index.ts rename to x-pack/plugins/observability_solution/infra/public/components/logging/log_minimap/index.ts diff --git a/x-pack/plugins/infra/public/components/logging/log_minimap/log_minimap.tsx b/x-pack/plugins/observability_solution/infra/public/components/logging/log_minimap/log_minimap.tsx similarity index 100% rename from x-pack/plugins/infra/public/components/logging/log_minimap/log_minimap.tsx rename to x-pack/plugins/observability_solution/infra/public/components/logging/log_minimap/log_minimap.tsx diff --git a/x-pack/plugins/infra/public/components/logging/log_minimap/search_marker.tsx b/x-pack/plugins/observability_solution/infra/public/components/logging/log_minimap/search_marker.tsx similarity index 100% rename from x-pack/plugins/infra/public/components/logging/log_minimap/search_marker.tsx rename to x-pack/plugins/observability_solution/infra/public/components/logging/log_minimap/search_marker.tsx diff --git a/x-pack/plugins/infra/public/components/logging/log_minimap/search_marker_tooltip.tsx b/x-pack/plugins/observability_solution/infra/public/components/logging/log_minimap/search_marker_tooltip.tsx similarity index 100% rename from x-pack/plugins/infra/public/components/logging/log_minimap/search_marker_tooltip.tsx rename to x-pack/plugins/observability_solution/infra/public/components/logging/log_minimap/search_marker_tooltip.tsx diff --git a/x-pack/plugins/infra/public/components/logging/log_minimap/search_markers.tsx b/x-pack/plugins/observability_solution/infra/public/components/logging/log_minimap/search_markers.tsx similarity index 100% rename from x-pack/plugins/infra/public/components/logging/log_minimap/search_markers.tsx rename to x-pack/plugins/observability_solution/infra/public/components/logging/log_minimap/search_markers.tsx diff --git a/x-pack/plugins/infra/public/components/logging/log_minimap/time_label_formatter.tsx b/x-pack/plugins/observability_solution/infra/public/components/logging/log_minimap/time_label_formatter.tsx similarity index 100% rename from x-pack/plugins/infra/public/components/logging/log_minimap/time_label_formatter.tsx rename to x-pack/plugins/observability_solution/infra/public/components/logging/log_minimap/time_label_formatter.tsx diff --git a/x-pack/plugins/infra/public/components/logging/log_minimap/time_ruler.tsx b/x-pack/plugins/observability_solution/infra/public/components/logging/log_minimap/time_ruler.tsx similarity index 100% rename from x-pack/plugins/infra/public/components/logging/log_minimap/time_ruler.tsx rename to x-pack/plugins/observability_solution/infra/public/components/logging/log_minimap/time_ruler.tsx diff --git a/x-pack/plugins/infra/public/components/logging/log_search_controls/index.ts b/x-pack/plugins/observability_solution/infra/public/components/logging/log_search_controls/index.ts similarity index 100% rename from x-pack/plugins/infra/public/components/logging/log_search_controls/index.ts rename to x-pack/plugins/observability_solution/infra/public/components/logging/log_search_controls/index.ts diff --git a/x-pack/plugins/infra/public/components/logging/log_search_controls/log_search_buttons.tsx b/x-pack/plugins/observability_solution/infra/public/components/logging/log_search_controls/log_search_buttons.tsx similarity index 100% rename from x-pack/plugins/infra/public/components/logging/log_search_controls/log_search_buttons.tsx rename to x-pack/plugins/observability_solution/infra/public/components/logging/log_search_controls/log_search_buttons.tsx diff --git a/x-pack/plugins/infra/public/components/logging/log_search_controls/log_search_controls.tsx b/x-pack/plugins/observability_solution/infra/public/components/logging/log_search_controls/log_search_controls.tsx similarity index 100% rename from x-pack/plugins/infra/public/components/logging/log_search_controls/log_search_controls.tsx rename to x-pack/plugins/observability_solution/infra/public/components/logging/log_search_controls/log_search_controls.tsx diff --git a/x-pack/plugins/infra/public/components/logging/log_search_controls/log_search_input.tsx b/x-pack/plugins/observability_solution/infra/public/components/logging/log_search_controls/log_search_input.tsx similarity index 100% rename from x-pack/plugins/infra/public/components/logging/log_search_controls/log_search_input.tsx rename to x-pack/plugins/observability_solution/infra/public/components/logging/log_search_controls/log_search_input.tsx diff --git a/x-pack/plugins/infra/public/components/logging/log_statusbar.tsx b/x-pack/plugins/observability_solution/infra/public/components/logging/log_statusbar.tsx similarity index 100% rename from x-pack/plugins/infra/public/components/logging/log_statusbar.tsx rename to x-pack/plugins/observability_solution/infra/public/components/logging/log_statusbar.tsx diff --git a/x-pack/plugins/infra/public/components/logging/log_text_scale_controls.tsx b/x-pack/plugins/observability_solution/infra/public/components/logging/log_text_scale_controls.tsx similarity index 100% rename from x-pack/plugins/infra/public/components/logging/log_text_scale_controls.tsx rename to x-pack/plugins/observability_solution/infra/public/components/logging/log_text_scale_controls.tsx diff --git a/x-pack/plugins/infra/public/components/logging/log_text_wrap_controls.tsx b/x-pack/plugins/observability_solution/infra/public/components/logging/log_text_wrap_controls.tsx similarity index 100% rename from x-pack/plugins/infra/public/components/logging/log_text_wrap_controls.tsx rename to x-pack/plugins/observability_solution/infra/public/components/logging/log_text_wrap_controls.tsx diff --git a/x-pack/plugins/infra/public/components/missing_embeddable_factory_callout.tsx b/x-pack/plugins/observability_solution/infra/public/components/missing_embeddable_factory_callout.tsx similarity index 100% rename from x-pack/plugins/infra/public/components/missing_embeddable_factory_callout.tsx rename to x-pack/plugins/observability_solution/infra/public/components/missing_embeddable_factory_callout.tsx diff --git a/x-pack/plugins/infra/public/components/page.tsx b/x-pack/plugins/observability_solution/infra/public/components/page.tsx similarity index 100% rename from x-pack/plugins/infra/public/components/page.tsx rename to x-pack/plugins/observability_solution/infra/public/components/page.tsx diff --git a/x-pack/plugins/infra/public/components/page_template.tsx b/x-pack/plugins/observability_solution/infra/public/components/page_template.tsx similarity index 100% rename from x-pack/plugins/infra/public/components/page_template.tsx rename to x-pack/plugins/observability_solution/infra/public/components/page_template.tsx diff --git a/x-pack/plugins/infra/public/components/saved_views/manage_views_flyout.tsx b/x-pack/plugins/observability_solution/infra/public/components/saved_views/manage_views_flyout.tsx similarity index 100% rename from x-pack/plugins/infra/public/components/saved_views/manage_views_flyout.tsx rename to x-pack/plugins/observability_solution/infra/public/components/saved_views/manage_views_flyout.tsx diff --git a/x-pack/plugins/infra/public/components/saved_views/toolbar_control.tsx b/x-pack/plugins/observability_solution/infra/public/components/saved_views/toolbar_control.tsx similarity index 100% rename from x-pack/plugins/infra/public/components/saved_views/toolbar_control.tsx rename to x-pack/plugins/observability_solution/infra/public/components/saved_views/toolbar_control.tsx diff --git a/x-pack/plugins/infra/public/components/saved_views/upsert_modal.tsx b/x-pack/plugins/observability_solution/infra/public/components/saved_views/upsert_modal.tsx similarity index 100% rename from x-pack/plugins/infra/public/components/saved_views/upsert_modal.tsx rename to x-pack/plugins/observability_solution/infra/public/components/saved_views/upsert_modal.tsx diff --git a/x-pack/plugins/infra/public/components/shared/alerts/alerts_overview.tsx b/x-pack/plugins/observability_solution/infra/public/components/shared/alerts/alerts_overview.tsx similarity index 100% rename from x-pack/plugins/infra/public/components/shared/alerts/alerts_overview.tsx rename to x-pack/plugins/observability_solution/infra/public/components/shared/alerts/alerts_overview.tsx diff --git a/x-pack/plugins/infra/public/components/shared/alerts/alerts_status_filter.tsx b/x-pack/plugins/observability_solution/infra/public/components/shared/alerts/alerts_status_filter.tsx similarity index 100% rename from x-pack/plugins/infra/public/components/shared/alerts/alerts_status_filter.tsx rename to x-pack/plugins/observability_solution/infra/public/components/shared/alerts/alerts_status_filter.tsx diff --git a/x-pack/plugins/infra/public/components/shared/alerts/constants.ts b/x-pack/plugins/observability_solution/infra/public/components/shared/alerts/constants.ts similarity index 100% rename from x-pack/plugins/infra/public/components/shared/alerts/constants.ts rename to x-pack/plugins/observability_solution/infra/public/components/shared/alerts/constants.ts diff --git a/x-pack/plugins/infra/public/components/source_configuration/view_source_configuration_button.tsx b/x-pack/plugins/observability_solution/infra/public/components/source_configuration/view_source_configuration_button.tsx similarity index 100% rename from x-pack/plugins/infra/public/components/source_configuration/view_source_configuration_button.tsx rename to x-pack/plugins/observability_solution/infra/public/components/source_configuration/view_source_configuration_button.tsx diff --git a/x-pack/plugins/infra/public/components/source_error_page.tsx b/x-pack/plugins/observability_solution/infra/public/components/source_error_page.tsx similarity index 100% rename from x-pack/plugins/infra/public/components/source_error_page.tsx rename to x-pack/plugins/observability_solution/infra/public/components/source_error_page.tsx diff --git a/x-pack/plugins/infra/public/components/source_loading_page.tsx b/x-pack/plugins/observability_solution/infra/public/components/source_loading_page.tsx similarity index 100% rename from x-pack/plugins/infra/public/components/source_loading_page.tsx rename to x-pack/plugins/observability_solution/infra/public/components/source_loading_page.tsx diff --git a/x-pack/plugins/infra/public/components/subscription_splash_content.tsx b/x-pack/plugins/observability_solution/infra/public/components/subscription_splash_content.tsx similarity index 100% rename from x-pack/plugins/infra/public/components/subscription_splash_content.tsx rename to x-pack/plugins/observability_solution/infra/public/components/subscription_splash_content.tsx diff --git a/x-pack/plugins/infra/public/components/try_it_button.tsx b/x-pack/plugins/observability_solution/infra/public/components/try_it_button.tsx similarity index 100% rename from x-pack/plugins/infra/public/components/try_it_button.tsx rename to x-pack/plugins/observability_solution/infra/public/components/try_it_button.tsx diff --git a/x-pack/plugins/infra/public/containers/logs/log_analysis/api/get_latest_categories_datasets_stats.ts b/x-pack/plugins/observability_solution/infra/public/containers/logs/log_analysis/api/get_latest_categories_datasets_stats.ts similarity index 100% rename from x-pack/plugins/infra/public/containers/logs/log_analysis/api/get_latest_categories_datasets_stats.ts rename to x-pack/plugins/observability_solution/infra/public/containers/logs/log_analysis/api/get_latest_categories_datasets_stats.ts diff --git a/x-pack/plugins/infra/public/containers/logs/log_analysis/api/ml_api_types.ts b/x-pack/plugins/observability_solution/infra/public/containers/logs/log_analysis/api/ml_api_types.ts similarity index 100% rename from x-pack/plugins/infra/public/containers/logs/log_analysis/api/ml_api_types.ts rename to x-pack/plugins/observability_solution/infra/public/containers/logs/log_analysis/api/ml_api_types.ts diff --git a/x-pack/plugins/infra/public/containers/logs/log_analysis/api/ml_cleanup.ts b/x-pack/plugins/observability_solution/infra/public/containers/logs/log_analysis/api/ml_cleanup.ts similarity index 100% rename from x-pack/plugins/infra/public/containers/logs/log_analysis/api/ml_cleanup.ts rename to x-pack/plugins/observability_solution/infra/public/containers/logs/log_analysis/api/ml_cleanup.ts diff --git a/x-pack/plugins/infra/public/containers/logs/log_analysis/api/ml_get_jobs_summary_api.ts b/x-pack/plugins/observability_solution/infra/public/containers/logs/log_analysis/api/ml_get_jobs_summary_api.ts similarity index 100% rename from x-pack/plugins/infra/public/containers/logs/log_analysis/api/ml_get_jobs_summary_api.ts rename to x-pack/plugins/observability_solution/infra/public/containers/logs/log_analysis/api/ml_get_jobs_summary_api.ts diff --git a/x-pack/plugins/infra/public/containers/logs/log_analysis/api/ml_get_module.ts b/x-pack/plugins/observability_solution/infra/public/containers/logs/log_analysis/api/ml_get_module.ts similarity index 100% rename from x-pack/plugins/infra/public/containers/logs/log_analysis/api/ml_get_module.ts rename to x-pack/plugins/observability_solution/infra/public/containers/logs/log_analysis/api/ml_get_module.ts diff --git a/x-pack/plugins/infra/public/containers/logs/log_analysis/api/ml_setup_module_api.ts b/x-pack/plugins/observability_solution/infra/public/containers/logs/log_analysis/api/ml_setup_module_api.ts similarity index 100% rename from x-pack/plugins/infra/public/containers/logs/log_analysis/api/ml_setup_module_api.ts rename to x-pack/plugins/observability_solution/infra/public/containers/logs/log_analysis/api/ml_setup_module_api.ts diff --git a/x-pack/plugins/infra/public/containers/logs/log_analysis/api/validate_datasets.ts b/x-pack/plugins/observability_solution/infra/public/containers/logs/log_analysis/api/validate_datasets.ts similarity index 100% rename from x-pack/plugins/infra/public/containers/logs/log_analysis/api/validate_datasets.ts rename to x-pack/plugins/observability_solution/infra/public/containers/logs/log_analysis/api/validate_datasets.ts diff --git a/x-pack/plugins/infra/public/containers/logs/log_analysis/api/validate_indices.ts b/x-pack/plugins/observability_solution/infra/public/containers/logs/log_analysis/api/validate_indices.ts similarity index 100% rename from x-pack/plugins/infra/public/containers/logs/log_analysis/api/validate_indices.ts rename to x-pack/plugins/observability_solution/infra/public/containers/logs/log_analysis/api/validate_indices.ts diff --git a/x-pack/plugins/infra/public/containers/logs/log_analysis/index.ts b/x-pack/plugins/observability_solution/infra/public/containers/logs/log_analysis/index.ts similarity index 100% rename from x-pack/plugins/infra/public/containers/logs/log_analysis/index.ts rename to x-pack/plugins/observability_solution/infra/public/containers/logs/log_analysis/index.ts diff --git a/x-pack/plugins/infra/public/containers/logs/log_analysis/log_analysis_capabilities.tsx b/x-pack/plugins/observability_solution/infra/public/containers/logs/log_analysis/log_analysis_capabilities.tsx similarity index 100% rename from x-pack/plugins/infra/public/containers/logs/log_analysis/log_analysis_capabilities.tsx rename to x-pack/plugins/observability_solution/infra/public/containers/logs/log_analysis/log_analysis_capabilities.tsx diff --git a/x-pack/plugins/infra/public/containers/logs/log_analysis/log_analysis_cleanup.tsx b/x-pack/plugins/observability_solution/infra/public/containers/logs/log_analysis/log_analysis_cleanup.tsx similarity index 100% rename from x-pack/plugins/infra/public/containers/logs/log_analysis/log_analysis_cleanup.tsx rename to x-pack/plugins/observability_solution/infra/public/containers/logs/log_analysis/log_analysis_cleanup.tsx diff --git a/x-pack/plugins/infra/public/containers/logs/log_analysis/log_analysis_module.tsx b/x-pack/plugins/observability_solution/infra/public/containers/logs/log_analysis/log_analysis_module.tsx similarity index 100% rename from x-pack/plugins/infra/public/containers/logs/log_analysis/log_analysis_module.tsx rename to x-pack/plugins/observability_solution/infra/public/containers/logs/log_analysis/log_analysis_module.tsx diff --git a/x-pack/plugins/infra/public/containers/logs/log_analysis/log_analysis_module_configuration.ts b/x-pack/plugins/observability_solution/infra/public/containers/logs/log_analysis/log_analysis_module_configuration.ts similarity index 100% rename from x-pack/plugins/infra/public/containers/logs/log_analysis/log_analysis_module_configuration.ts rename to x-pack/plugins/observability_solution/infra/public/containers/logs/log_analysis/log_analysis_module_configuration.ts diff --git a/x-pack/plugins/infra/public/containers/logs/log_analysis/log_analysis_module_definition.tsx b/x-pack/plugins/observability_solution/infra/public/containers/logs/log_analysis/log_analysis_module_definition.tsx similarity index 100% rename from x-pack/plugins/infra/public/containers/logs/log_analysis/log_analysis_module_definition.tsx rename to x-pack/plugins/observability_solution/infra/public/containers/logs/log_analysis/log_analysis_module_definition.tsx diff --git a/x-pack/plugins/infra/public/containers/logs/log_analysis/log_analysis_module_status.tsx b/x-pack/plugins/observability_solution/infra/public/containers/logs/log_analysis/log_analysis_module_status.tsx similarity index 100% rename from x-pack/plugins/infra/public/containers/logs/log_analysis/log_analysis_module_status.tsx rename to x-pack/plugins/observability_solution/infra/public/containers/logs/log_analysis/log_analysis_module_status.tsx diff --git a/x-pack/plugins/infra/public/containers/logs/log_analysis/log_analysis_module_types.ts b/x-pack/plugins/observability_solution/infra/public/containers/logs/log_analysis/log_analysis_module_types.ts similarity index 100% rename from x-pack/plugins/infra/public/containers/logs/log_analysis/log_analysis_module_types.ts rename to x-pack/plugins/observability_solution/infra/public/containers/logs/log_analysis/log_analysis_module_types.ts diff --git a/x-pack/plugins/infra/public/containers/logs/log_analysis/log_analysis_setup_state.ts b/x-pack/plugins/observability_solution/infra/public/containers/logs/log_analysis/log_analysis_setup_state.ts similarity index 100% rename from x-pack/plugins/infra/public/containers/logs/log_analysis/log_analysis_setup_state.ts rename to x-pack/plugins/observability_solution/infra/public/containers/logs/log_analysis/log_analysis_setup_state.ts diff --git a/x-pack/plugins/infra/public/containers/logs/log_analysis/modules/log_entry_categories/index.ts b/x-pack/plugins/observability_solution/infra/public/containers/logs/log_analysis/modules/log_entry_categories/index.ts similarity index 100% rename from x-pack/plugins/infra/public/containers/logs/log_analysis/modules/log_entry_categories/index.ts rename to x-pack/plugins/observability_solution/infra/public/containers/logs/log_analysis/modules/log_entry_categories/index.ts diff --git a/x-pack/plugins/infra/public/containers/logs/log_analysis/modules/log_entry_categories/module_descriptor.ts b/x-pack/plugins/observability_solution/infra/public/containers/logs/log_analysis/modules/log_entry_categories/module_descriptor.ts similarity index 100% rename from x-pack/plugins/infra/public/containers/logs/log_analysis/modules/log_entry_categories/module_descriptor.ts rename to x-pack/plugins/observability_solution/infra/public/containers/logs/log_analysis/modules/log_entry_categories/module_descriptor.ts diff --git a/x-pack/plugins/infra/public/containers/logs/log_analysis/modules/log_entry_categories/use_log_entry_categories_module.tsx b/x-pack/plugins/observability_solution/infra/public/containers/logs/log_analysis/modules/log_entry_categories/use_log_entry_categories_module.tsx similarity index 100% rename from x-pack/plugins/infra/public/containers/logs/log_analysis/modules/log_entry_categories/use_log_entry_categories_module.tsx rename to x-pack/plugins/observability_solution/infra/public/containers/logs/log_analysis/modules/log_entry_categories/use_log_entry_categories_module.tsx diff --git a/x-pack/plugins/infra/public/containers/logs/log_analysis/modules/log_entry_categories/use_log_entry_categories_quality.ts b/x-pack/plugins/observability_solution/infra/public/containers/logs/log_analysis/modules/log_entry_categories/use_log_entry_categories_quality.ts similarity index 100% rename from x-pack/plugins/infra/public/containers/logs/log_analysis/modules/log_entry_categories/use_log_entry_categories_quality.ts rename to x-pack/plugins/observability_solution/infra/public/containers/logs/log_analysis/modules/log_entry_categories/use_log_entry_categories_quality.ts diff --git a/x-pack/plugins/infra/public/containers/logs/log_analysis/modules/log_entry_categories/use_log_entry_categories_setup.tsx b/x-pack/plugins/observability_solution/infra/public/containers/logs/log_analysis/modules/log_entry_categories/use_log_entry_categories_setup.tsx similarity index 100% rename from x-pack/plugins/infra/public/containers/logs/log_analysis/modules/log_entry_categories/use_log_entry_categories_setup.tsx rename to x-pack/plugins/observability_solution/infra/public/containers/logs/log_analysis/modules/log_entry_categories/use_log_entry_categories_setup.tsx diff --git a/x-pack/plugins/infra/public/containers/logs/log_analysis/modules/log_entry_rate/index.ts b/x-pack/plugins/observability_solution/infra/public/containers/logs/log_analysis/modules/log_entry_rate/index.ts similarity index 100% rename from x-pack/plugins/infra/public/containers/logs/log_analysis/modules/log_entry_rate/index.ts rename to x-pack/plugins/observability_solution/infra/public/containers/logs/log_analysis/modules/log_entry_rate/index.ts diff --git a/x-pack/plugins/infra/public/containers/logs/log_analysis/modules/log_entry_rate/module_descriptor.ts b/x-pack/plugins/observability_solution/infra/public/containers/logs/log_analysis/modules/log_entry_rate/module_descriptor.ts similarity index 100% rename from x-pack/plugins/infra/public/containers/logs/log_analysis/modules/log_entry_rate/module_descriptor.ts rename to x-pack/plugins/observability_solution/infra/public/containers/logs/log_analysis/modules/log_entry_rate/module_descriptor.ts diff --git a/x-pack/plugins/infra/public/containers/logs/log_analysis/modules/log_entry_rate/use_log_entry_rate_module.tsx b/x-pack/plugins/observability_solution/infra/public/containers/logs/log_analysis/modules/log_entry_rate/use_log_entry_rate_module.tsx similarity index 100% rename from x-pack/plugins/infra/public/containers/logs/log_analysis/modules/log_entry_rate/use_log_entry_rate_module.tsx rename to x-pack/plugins/observability_solution/infra/public/containers/logs/log_analysis/modules/log_entry_rate/use_log_entry_rate_module.tsx diff --git a/x-pack/plugins/infra/public/containers/logs/log_analysis/modules/log_entry_rate/use_log_entry_rate_setup.tsx b/x-pack/plugins/observability_solution/infra/public/containers/logs/log_analysis/modules/log_entry_rate/use_log_entry_rate_setup.tsx similarity index 100% rename from x-pack/plugins/infra/public/containers/logs/log_analysis/modules/log_entry_rate/use_log_entry_rate_setup.tsx rename to x-pack/plugins/observability_solution/infra/public/containers/logs/log_analysis/modules/log_entry_rate/use_log_entry_rate_setup.tsx diff --git a/x-pack/plugins/infra/public/containers/logs/log_flyout.tsx b/x-pack/plugins/observability_solution/infra/public/containers/logs/log_flyout.tsx similarity index 100% rename from x-pack/plugins/infra/public/containers/logs/log_flyout.tsx rename to x-pack/plugins/observability_solution/infra/public/containers/logs/log_flyout.tsx diff --git a/x-pack/plugins/infra/public/containers/logs/log_view_configuration.test.tsx b/x-pack/plugins/observability_solution/infra/public/containers/logs/log_view_configuration.test.tsx similarity index 100% rename from x-pack/plugins/infra/public/containers/logs/log_view_configuration.test.tsx rename to x-pack/plugins/observability_solution/infra/public/containers/logs/log_view_configuration.test.tsx diff --git a/x-pack/plugins/infra/public/containers/logs/log_view_configuration.tsx b/x-pack/plugins/observability_solution/infra/public/containers/logs/log_view_configuration.tsx similarity index 100% rename from x-pack/plugins/infra/public/containers/logs/log_view_configuration.tsx rename to x-pack/plugins/observability_solution/infra/public/containers/logs/log_view_configuration.tsx diff --git a/x-pack/plugins/infra/public/containers/logs/view_log_in_context/index.ts b/x-pack/plugins/observability_solution/infra/public/containers/logs/view_log_in_context/index.ts similarity index 100% rename from x-pack/plugins/infra/public/containers/logs/view_log_in_context/index.ts rename to x-pack/plugins/observability_solution/infra/public/containers/logs/view_log_in_context/index.ts diff --git a/x-pack/plugins/infra/public/containers/logs/view_log_in_context/view_log_in_context.ts b/x-pack/plugins/observability_solution/infra/public/containers/logs/view_log_in_context/view_log_in_context.ts similarity index 100% rename from x-pack/plugins/infra/public/containers/logs/view_log_in_context/view_log_in_context.ts rename to x-pack/plugins/observability_solution/infra/public/containers/logs/view_log_in_context/view_log_in_context.ts diff --git a/x-pack/plugins/infra/public/containers/logs/with_log_textview.tsx b/x-pack/plugins/observability_solution/infra/public/containers/logs/with_log_textview.tsx similarity index 100% rename from x-pack/plugins/infra/public/containers/logs/with_log_textview.tsx rename to x-pack/plugins/observability_solution/infra/public/containers/logs/with_log_textview.tsx diff --git a/x-pack/plugins/infra/public/containers/metrics_explorer/with_metrics_explorer_options_url_state.test.ts b/x-pack/plugins/observability_solution/infra/public/containers/metrics_explorer/with_metrics_explorer_options_url_state.test.ts similarity index 100% rename from x-pack/plugins/infra/public/containers/metrics_explorer/with_metrics_explorer_options_url_state.test.ts rename to x-pack/plugins/observability_solution/infra/public/containers/metrics_explorer/with_metrics_explorer_options_url_state.test.ts diff --git a/x-pack/plugins/infra/public/containers/metrics_explorer/with_metrics_explorer_options_url_state.tsx b/x-pack/plugins/observability_solution/infra/public/containers/metrics_explorer/with_metrics_explorer_options_url_state.tsx similarity index 100% rename from x-pack/plugins/infra/public/containers/metrics_explorer/with_metrics_explorer_options_url_state.tsx rename to x-pack/plugins/observability_solution/infra/public/containers/metrics_explorer/with_metrics_explorer_options_url_state.tsx diff --git a/x-pack/plugins/infra/public/containers/metrics_source/index.ts b/x-pack/plugins/observability_solution/infra/public/containers/metrics_source/index.ts similarity index 100% rename from x-pack/plugins/infra/public/containers/metrics_source/index.ts rename to x-pack/plugins/observability_solution/infra/public/containers/metrics_source/index.ts diff --git a/x-pack/plugins/infra/public/containers/metrics_source/notifications.ts b/x-pack/plugins/observability_solution/infra/public/containers/metrics_source/notifications.ts similarity index 100% rename from x-pack/plugins/infra/public/containers/metrics_source/notifications.ts rename to x-pack/plugins/observability_solution/infra/public/containers/metrics_source/notifications.ts diff --git a/x-pack/plugins/infra/public/containers/metrics_source/source.tsx b/x-pack/plugins/observability_solution/infra/public/containers/metrics_source/source.tsx similarity index 98% rename from x-pack/plugins/infra/public/containers/metrics_source/source.tsx rename to x-pack/plugins/observability_solution/infra/public/containers/metrics_source/source.tsx index e543d5793339c..336b07b698675 100644 --- a/x-pack/plugins/infra/public/containers/metrics_source/source.tsx +++ b/x-pack/plugins/observability_solution/infra/public/containers/metrics_source/source.tsx @@ -148,6 +148,7 @@ export const withSourceProvider = return function ComponentWithSourceProvider(props: ComponentProps) { return ( + {/* @ts-expect-error upgrade typescript v4.9.5*/} ); diff --git a/x-pack/plugins/infra/public/containers/metrics_source/source_errors.ts b/x-pack/plugins/observability_solution/infra/public/containers/metrics_source/source_errors.ts similarity index 100% rename from x-pack/plugins/infra/public/containers/metrics_source/source_errors.ts rename to x-pack/plugins/observability_solution/infra/public/containers/metrics_source/source_errors.ts diff --git a/x-pack/plugins/infra/public/containers/metrics_source/types.ts b/x-pack/plugins/observability_solution/infra/public/containers/metrics_source/types.ts similarity index 100% rename from x-pack/plugins/infra/public/containers/metrics_source/types.ts rename to x-pack/plugins/observability_solution/infra/public/containers/metrics_source/types.ts diff --git a/x-pack/plugins/infra/public/containers/ml/api/ml_api_types.ts b/x-pack/plugins/observability_solution/infra/public/containers/ml/api/ml_api_types.ts similarity index 100% rename from x-pack/plugins/infra/public/containers/ml/api/ml_api_types.ts rename to x-pack/plugins/observability_solution/infra/public/containers/ml/api/ml_api_types.ts diff --git a/x-pack/plugins/infra/public/containers/ml/api/ml_cleanup.ts b/x-pack/plugins/observability_solution/infra/public/containers/ml/api/ml_cleanup.ts similarity index 100% rename from x-pack/plugins/infra/public/containers/ml/api/ml_cleanup.ts rename to x-pack/plugins/observability_solution/infra/public/containers/ml/api/ml_cleanup.ts diff --git a/x-pack/plugins/infra/public/containers/ml/api/ml_get_jobs_summary_api.ts b/x-pack/plugins/observability_solution/infra/public/containers/ml/api/ml_get_jobs_summary_api.ts similarity index 100% rename from x-pack/plugins/infra/public/containers/ml/api/ml_get_jobs_summary_api.ts rename to x-pack/plugins/observability_solution/infra/public/containers/ml/api/ml_get_jobs_summary_api.ts diff --git a/x-pack/plugins/infra/public/containers/ml/api/ml_get_module.ts b/x-pack/plugins/observability_solution/infra/public/containers/ml/api/ml_get_module.ts similarity index 100% rename from x-pack/plugins/infra/public/containers/ml/api/ml_get_module.ts rename to x-pack/plugins/observability_solution/infra/public/containers/ml/api/ml_get_module.ts diff --git a/x-pack/plugins/infra/public/containers/ml/api/ml_setup_module_api.ts b/x-pack/plugins/observability_solution/infra/public/containers/ml/api/ml_setup_module_api.ts similarity index 100% rename from x-pack/plugins/infra/public/containers/ml/api/ml_setup_module_api.ts rename to x-pack/plugins/observability_solution/infra/public/containers/ml/api/ml_setup_module_api.ts diff --git a/x-pack/plugins/infra/public/containers/ml/infra_ml_capabilities.tsx b/x-pack/plugins/observability_solution/infra/public/containers/ml/infra_ml_capabilities.tsx similarity index 100% rename from x-pack/plugins/infra/public/containers/ml/infra_ml_capabilities.tsx rename to x-pack/plugins/observability_solution/infra/public/containers/ml/infra_ml_capabilities.tsx diff --git a/x-pack/plugins/infra/public/containers/ml/infra_ml_cleanup.tsx b/x-pack/plugins/observability_solution/infra/public/containers/ml/infra_ml_cleanup.tsx similarity index 100% rename from x-pack/plugins/infra/public/containers/ml/infra_ml_cleanup.tsx rename to x-pack/plugins/observability_solution/infra/public/containers/ml/infra_ml_cleanup.tsx diff --git a/x-pack/plugins/infra/public/containers/ml/infra_ml_module.tsx b/x-pack/plugins/observability_solution/infra/public/containers/ml/infra_ml_module.tsx similarity index 100% rename from x-pack/plugins/infra/public/containers/ml/infra_ml_module.tsx rename to x-pack/plugins/observability_solution/infra/public/containers/ml/infra_ml_module.tsx diff --git a/x-pack/plugins/infra/public/containers/ml/infra_ml_module_configuration.ts b/x-pack/plugins/observability_solution/infra/public/containers/ml/infra_ml_module_configuration.ts similarity index 100% rename from x-pack/plugins/infra/public/containers/ml/infra_ml_module_configuration.ts rename to x-pack/plugins/observability_solution/infra/public/containers/ml/infra_ml_module_configuration.ts diff --git a/x-pack/plugins/infra/public/containers/ml/infra_ml_module_definition.tsx b/x-pack/plugins/observability_solution/infra/public/containers/ml/infra_ml_module_definition.tsx similarity index 100% rename from x-pack/plugins/infra/public/containers/ml/infra_ml_module_definition.tsx rename to x-pack/plugins/observability_solution/infra/public/containers/ml/infra_ml_module_definition.tsx diff --git a/x-pack/plugins/infra/public/containers/ml/infra_ml_module_status.tsx b/x-pack/plugins/observability_solution/infra/public/containers/ml/infra_ml_module_status.tsx similarity index 100% rename from x-pack/plugins/infra/public/containers/ml/infra_ml_module_status.tsx rename to x-pack/plugins/observability_solution/infra/public/containers/ml/infra_ml_module_status.tsx diff --git a/x-pack/plugins/infra/public/containers/ml/infra_ml_module_types.ts b/x-pack/plugins/observability_solution/infra/public/containers/ml/infra_ml_module_types.ts similarity index 100% rename from x-pack/plugins/infra/public/containers/ml/infra_ml_module_types.ts rename to x-pack/plugins/observability_solution/infra/public/containers/ml/infra_ml_module_types.ts diff --git a/x-pack/plugins/infra/public/containers/ml/modules/metrics_hosts/module.tsx b/x-pack/plugins/observability_solution/infra/public/containers/ml/modules/metrics_hosts/module.tsx similarity index 100% rename from x-pack/plugins/infra/public/containers/ml/modules/metrics_hosts/module.tsx rename to x-pack/plugins/observability_solution/infra/public/containers/ml/modules/metrics_hosts/module.tsx diff --git a/x-pack/plugins/infra/public/containers/ml/modules/metrics_hosts/module_descriptor.ts b/x-pack/plugins/observability_solution/infra/public/containers/ml/modules/metrics_hosts/module_descriptor.ts similarity index 100% rename from x-pack/plugins/infra/public/containers/ml/modules/metrics_hosts/module_descriptor.ts rename to x-pack/plugins/observability_solution/infra/public/containers/ml/modules/metrics_hosts/module_descriptor.ts diff --git a/x-pack/plugins/infra/public/containers/ml/modules/metrics_k8s/module.tsx b/x-pack/plugins/observability_solution/infra/public/containers/ml/modules/metrics_k8s/module.tsx similarity index 100% rename from x-pack/plugins/infra/public/containers/ml/modules/metrics_k8s/module.tsx rename to x-pack/plugins/observability_solution/infra/public/containers/ml/modules/metrics_k8s/module.tsx diff --git a/x-pack/plugins/infra/public/containers/ml/modules/metrics_k8s/module_descriptor.ts b/x-pack/plugins/observability_solution/infra/public/containers/ml/modules/metrics_k8s/module_descriptor.ts similarity index 100% rename from x-pack/plugins/infra/public/containers/ml/modules/metrics_k8s/module_descriptor.ts rename to x-pack/plugins/observability_solution/infra/public/containers/ml/modules/metrics_k8s/module_descriptor.ts diff --git a/x-pack/plugins/infra/public/containers/plugin_config_context.test.tsx b/x-pack/plugins/observability_solution/infra/public/containers/plugin_config_context.test.tsx similarity index 100% rename from x-pack/plugins/infra/public/containers/plugin_config_context.test.tsx rename to x-pack/plugins/observability_solution/infra/public/containers/plugin_config_context.test.tsx diff --git a/x-pack/plugins/infra/public/containers/plugin_config_context.ts b/x-pack/plugins/observability_solution/infra/public/containers/plugin_config_context.ts similarity index 100% rename from x-pack/plugins/infra/public/containers/plugin_config_context.ts rename to x-pack/plugins/observability_solution/infra/public/containers/plugin_config_context.ts diff --git a/x-pack/plugins/infra/public/containers/react_query_provider.tsx b/x-pack/plugins/observability_solution/infra/public/containers/react_query_provider.tsx similarity index 100% rename from x-pack/plugins/infra/public/containers/react_query_provider.tsx rename to x-pack/plugins/observability_solution/infra/public/containers/react_query_provider.tsx diff --git a/x-pack/plugins/infra/public/containers/with_kuery_autocompletion.tsx b/x-pack/plugins/observability_solution/infra/public/containers/with_kuery_autocompletion.tsx similarity index 100% rename from x-pack/plugins/infra/public/containers/with_kuery_autocompletion.tsx rename to x-pack/plugins/observability_solution/infra/public/containers/with_kuery_autocompletion.tsx diff --git a/x-pack/plugins/infra/public/hooks/use_alerts_count.test.ts b/x-pack/plugins/observability_solution/infra/public/hooks/use_alerts_count.test.ts similarity index 100% rename from x-pack/plugins/infra/public/hooks/use_alerts_count.test.ts rename to x-pack/plugins/observability_solution/infra/public/hooks/use_alerts_count.test.ts diff --git a/x-pack/plugins/infra/public/hooks/use_alerts_count.ts b/x-pack/plugins/observability_solution/infra/public/hooks/use_alerts_count.ts similarity index 100% rename from x-pack/plugins/infra/public/hooks/use_alerts_count.ts rename to x-pack/plugins/observability_solution/infra/public/hooks/use_alerts_count.ts diff --git a/x-pack/plugins/infra/public/hooks/use_boolean.ts b/x-pack/plugins/observability_solution/infra/public/hooks/use_boolean.ts similarity index 100% rename from x-pack/plugins/infra/public/hooks/use_boolean.ts rename to x-pack/plugins/observability_solution/infra/public/hooks/use_boolean.ts diff --git a/x-pack/plugins/infra/public/hooks/use_breadcrumbs.ts b/x-pack/plugins/observability_solution/infra/public/hooks/use_breadcrumbs.ts similarity index 100% rename from x-pack/plugins/infra/public/hooks/use_breadcrumbs.ts rename to x-pack/plugins/observability_solution/infra/public/hooks/use_breadcrumbs.ts diff --git a/x-pack/plugins/infra/public/hooks/use_data_view.test.ts b/x-pack/plugins/observability_solution/infra/public/hooks/use_data_view.test.ts similarity index 100% rename from x-pack/plugins/infra/public/hooks/use_data_view.test.ts rename to x-pack/plugins/observability_solution/infra/public/hooks/use_data_view.test.ts diff --git a/x-pack/plugins/infra/public/hooks/use_data_view.ts b/x-pack/plugins/observability_solution/infra/public/hooks/use_data_view.ts similarity index 100% rename from x-pack/plugins/infra/public/hooks/use_data_view.ts rename to x-pack/plugins/observability_solution/infra/public/hooks/use_data_view.ts diff --git a/x-pack/plugins/infra/public/hooks/use_document_title.tsx b/x-pack/plugins/observability_solution/infra/public/hooks/use_document_title.tsx similarity index 100% rename from x-pack/plugins/infra/public/hooks/use_document_title.tsx rename to x-pack/plugins/observability_solution/infra/public/hooks/use_document_title.tsx diff --git a/x-pack/plugins/infra/public/hooks/use_http_request.tsx b/x-pack/plugins/observability_solution/infra/public/hooks/use_http_request.tsx similarity index 100% rename from x-pack/plugins/infra/public/hooks/use_http_request.tsx rename to x-pack/plugins/observability_solution/infra/public/hooks/use_http_request.tsx diff --git a/x-pack/plugins/infra/public/hooks/use_inventory_views.ts b/x-pack/plugins/observability_solution/infra/public/hooks/use_inventory_views.ts similarity index 100% rename from x-pack/plugins/infra/public/hooks/use_inventory_views.ts rename to x-pack/plugins/observability_solution/infra/public/hooks/use_inventory_views.ts diff --git a/x-pack/plugins/infra/public/hooks/use_is_dark_mode.ts b/x-pack/plugins/observability_solution/infra/public/hooks/use_is_dark_mode.ts similarity index 100% rename from x-pack/plugins/infra/public/hooks/use_is_dark_mode.ts rename to x-pack/plugins/observability_solution/infra/public/hooks/use_is_dark_mode.ts diff --git a/x-pack/plugins/infra/public/hooks/use_kibana.tsx b/x-pack/plugins/observability_solution/infra/public/hooks/use_kibana.tsx similarity index 100% rename from x-pack/plugins/infra/public/hooks/use_kibana.tsx rename to x-pack/plugins/observability_solution/infra/public/hooks/use_kibana.tsx diff --git a/x-pack/plugins/infra/public/hooks/use_kibana_header.tsx b/x-pack/plugins/observability_solution/infra/public/hooks/use_kibana_header.tsx similarity index 100% rename from x-pack/plugins/infra/public/hooks/use_kibana_header.tsx rename to x-pack/plugins/observability_solution/infra/public/hooks/use_kibana_header.tsx diff --git a/x-pack/plugins/infra/public/hooks/use_kibana_index_patterns.mock.tsx b/x-pack/plugins/observability_solution/infra/public/hooks/use_kibana_index_patterns.mock.tsx similarity index 100% rename from x-pack/plugins/infra/public/hooks/use_kibana_index_patterns.mock.tsx rename to x-pack/plugins/observability_solution/infra/public/hooks/use_kibana_index_patterns.mock.tsx diff --git a/x-pack/plugins/infra/public/hooks/use_kibana_index_patterns.ts b/x-pack/plugins/observability_solution/infra/public/hooks/use_kibana_index_patterns.ts similarity index 100% rename from x-pack/plugins/infra/public/hooks/use_kibana_index_patterns.ts rename to x-pack/plugins/observability_solution/infra/public/hooks/use_kibana_index_patterns.ts diff --git a/x-pack/plugins/infra/public/hooks/use_kibana_space.ts b/x-pack/plugins/observability_solution/infra/public/hooks/use_kibana_space.ts similarity index 100% rename from x-pack/plugins/infra/public/hooks/use_kibana_space.ts rename to x-pack/plugins/observability_solution/infra/public/hooks/use_kibana_space.ts diff --git a/x-pack/plugins/infra/public/hooks/use_kibana_time_zone_setting.ts b/x-pack/plugins/observability_solution/infra/public/hooks/use_kibana_time_zone_setting.ts similarity index 100% rename from x-pack/plugins/infra/public/hooks/use_kibana_time_zone_setting.ts rename to x-pack/plugins/observability_solution/infra/public/hooks/use_kibana_time_zone_setting.ts diff --git a/x-pack/plugins/infra/public/hooks/use_kibana_timefilter_time.tsx b/x-pack/plugins/observability_solution/infra/public/hooks/use_kibana_timefilter_time.tsx similarity index 100% rename from x-pack/plugins/infra/public/hooks/use_kibana_timefilter_time.tsx rename to x-pack/plugins/observability_solution/infra/public/hooks/use_kibana_timefilter_time.tsx diff --git a/x-pack/plugins/infra/public/hooks/use_lazy_ref.ts b/x-pack/plugins/observability_solution/infra/public/hooks/use_lazy_ref.ts similarity index 100% rename from x-pack/plugins/infra/public/hooks/use_lazy_ref.ts rename to x-pack/plugins/observability_solution/infra/public/hooks/use_lazy_ref.ts diff --git a/x-pack/plugins/infra/public/hooks/use_lens_attributes.test.ts b/x-pack/plugins/observability_solution/infra/public/hooks/use_lens_attributes.test.ts similarity index 100% rename from x-pack/plugins/infra/public/hooks/use_lens_attributes.test.ts rename to x-pack/plugins/observability_solution/infra/public/hooks/use_lens_attributes.test.ts diff --git a/x-pack/plugins/infra/public/hooks/use_lens_attributes.ts b/x-pack/plugins/observability_solution/infra/public/hooks/use_lens_attributes.ts similarity index 100% rename from x-pack/plugins/infra/public/hooks/use_lens_attributes.ts rename to x-pack/plugins/observability_solution/infra/public/hooks/use_lens_attributes.ts diff --git a/x-pack/plugins/infra/public/hooks/use_license.ts b/x-pack/plugins/observability_solution/infra/public/hooks/use_license.ts similarity index 100% rename from x-pack/plugins/infra/public/hooks/use_license.ts rename to x-pack/plugins/observability_solution/infra/public/hooks/use_license.ts diff --git a/x-pack/plugins/infra/public/hooks/use_log_view_reference.ts b/x-pack/plugins/observability_solution/infra/public/hooks/use_log_view_reference.ts similarity index 100% rename from x-pack/plugins/infra/public/hooks/use_log_view_reference.ts rename to x-pack/plugins/observability_solution/infra/public/hooks/use_log_view_reference.ts diff --git a/x-pack/plugins/infra/public/hooks/use_logs_breadcrumbs.tsx b/x-pack/plugins/observability_solution/infra/public/hooks/use_logs_breadcrumbs.tsx similarity index 100% rename from x-pack/plugins/infra/public/hooks/use_logs_breadcrumbs.tsx rename to x-pack/plugins/observability_solution/infra/public/hooks/use_logs_breadcrumbs.tsx diff --git a/x-pack/plugins/infra/public/hooks/use_metrics_breadcrumbs.tsx b/x-pack/plugins/observability_solution/infra/public/hooks/use_metrics_breadcrumbs.tsx similarity index 100% rename from x-pack/plugins/infra/public/hooks/use_metrics_breadcrumbs.tsx rename to x-pack/plugins/observability_solution/infra/public/hooks/use_metrics_breadcrumbs.tsx diff --git a/x-pack/plugins/infra/public/hooks/use_metrics_explorer_views.ts b/x-pack/plugins/observability_solution/infra/public/hooks/use_metrics_explorer_views.ts similarity index 100% rename from x-pack/plugins/infra/public/hooks/use_metrics_explorer_views.ts rename to x-pack/plugins/observability_solution/infra/public/hooks/use_metrics_explorer_views.ts diff --git a/x-pack/plugins/infra/public/hooks/use_parent_breadcrumb_resolver.ts b/x-pack/plugins/observability_solution/infra/public/hooks/use_parent_breadcrumb_resolver.ts similarity index 100% rename from x-pack/plugins/infra/public/hooks/use_parent_breadcrumb_resolver.ts rename to x-pack/plugins/observability_solution/infra/public/hooks/use_parent_breadcrumb_resolver.ts diff --git a/x-pack/plugins/infra/public/hooks/use_profiling_integration_setting.ts b/x-pack/plugins/observability_solution/infra/public/hooks/use_profiling_integration_setting.ts similarity index 100% rename from x-pack/plugins/infra/public/hooks/use_profiling_integration_setting.ts rename to x-pack/plugins/observability_solution/infra/public/hooks/use_profiling_integration_setting.ts diff --git a/x-pack/plugins/infra/public/hooks/use_readonly_badge.tsx b/x-pack/plugins/observability_solution/infra/public/hooks/use_readonly_badge.tsx similarity index 100% rename from x-pack/plugins/infra/public/hooks/use_readonly_badge.tsx rename to x-pack/plugins/observability_solution/infra/public/hooks/use_readonly_badge.tsx diff --git a/x-pack/plugins/infra/public/hooks/use_saved_views_notifier.ts b/x-pack/plugins/observability_solution/infra/public/hooks/use_saved_views_notifier.ts similarity index 100% rename from x-pack/plugins/infra/public/hooks/use_saved_views_notifier.ts rename to x-pack/plugins/observability_solution/infra/public/hooks/use_saved_views_notifier.ts diff --git a/x-pack/plugins/infra/public/hooks/use_sorting.tsx b/x-pack/plugins/observability_solution/infra/public/hooks/use_sorting.tsx similarity index 100% rename from x-pack/plugins/infra/public/hooks/use_sorting.tsx rename to x-pack/plugins/observability_solution/infra/public/hooks/use_sorting.tsx diff --git a/x-pack/plugins/infra/public/hooks/use_trial_status.tsx b/x-pack/plugins/observability_solution/infra/public/hooks/use_trial_status.tsx similarity index 100% rename from x-pack/plugins/infra/public/hooks/use_trial_status.tsx rename to x-pack/plugins/observability_solution/infra/public/hooks/use_trial_status.tsx diff --git a/x-pack/plugins/infra/public/images/docker.svg b/x-pack/plugins/observability_solution/infra/public/images/docker.svg similarity index 100% rename from x-pack/plugins/infra/public/images/docker.svg rename to x-pack/plugins/observability_solution/infra/public/images/docker.svg diff --git a/x-pack/plugins/infra/public/images/hosts.svg b/x-pack/plugins/observability_solution/infra/public/images/hosts.svg similarity index 100% rename from x-pack/plugins/infra/public/images/hosts.svg rename to x-pack/plugins/observability_solution/infra/public/images/hosts.svg diff --git a/x-pack/plugins/infra/public/images/infra_mono_white.svg b/x-pack/plugins/observability_solution/infra/public/images/infra_mono_white.svg similarity index 100% rename from x-pack/plugins/infra/public/images/infra_mono_white.svg rename to x-pack/plugins/observability_solution/infra/public/images/infra_mono_white.svg diff --git a/x-pack/plugins/infra/public/images/k8.svg b/x-pack/plugins/observability_solution/infra/public/images/k8.svg similarity index 100% rename from x-pack/plugins/infra/public/images/k8.svg rename to x-pack/plugins/observability_solution/infra/public/images/k8.svg diff --git a/x-pack/plugins/infra/public/images/logging_mono_white.svg b/x-pack/plugins/observability_solution/infra/public/images/logging_mono_white.svg similarity index 100% rename from x-pack/plugins/infra/public/images/logging_mono_white.svg rename to x-pack/plugins/observability_solution/infra/public/images/logging_mono_white.svg diff --git a/x-pack/plugins/infra/public/images/services.svg b/x-pack/plugins/observability_solution/infra/public/images/services.svg similarity index 100% rename from x-pack/plugins/infra/public/images/services.svg rename to x-pack/plugins/observability_solution/infra/public/images/services.svg diff --git a/x-pack/plugins/infra/public/index.scss b/x-pack/plugins/observability_solution/infra/public/index.scss similarity index 100% rename from x-pack/plugins/infra/public/index.scss rename to x-pack/plugins/observability_solution/infra/public/index.scss diff --git a/x-pack/plugins/infra/public/index.ts b/x-pack/plugins/observability_solution/infra/public/index.ts similarity index 100% rename from x-pack/plugins/infra/public/index.ts rename to x-pack/plugins/observability_solution/infra/public/index.ts diff --git a/x-pack/plugins/infra/public/lib/lib.ts b/x-pack/plugins/observability_solution/infra/public/lib/lib.ts similarity index 100% rename from x-pack/plugins/infra/public/lib/lib.ts rename to x-pack/plugins/observability_solution/infra/public/lib/lib.ts diff --git a/x-pack/plugins/infra/public/metrics_overview_fetchers.test.ts b/x-pack/plugins/observability_solution/infra/public/metrics_overview_fetchers.test.ts similarity index 100% rename from x-pack/plugins/infra/public/metrics_overview_fetchers.test.ts rename to x-pack/plugins/observability_solution/infra/public/metrics_overview_fetchers.test.ts diff --git a/x-pack/plugins/infra/public/metrics_overview_fetchers.ts b/x-pack/plugins/observability_solution/infra/public/metrics_overview_fetchers.ts similarity index 100% rename from x-pack/plugins/infra/public/metrics_overview_fetchers.ts rename to x-pack/plugins/observability_solution/infra/public/metrics_overview_fetchers.ts diff --git a/x-pack/plugins/infra/public/mocks.tsx b/x-pack/plugins/observability_solution/infra/public/mocks.tsx similarity index 100% rename from x-pack/plugins/infra/public/mocks.tsx rename to x-pack/plugins/observability_solution/infra/public/mocks.tsx diff --git a/x-pack/plugins/infra/public/observability_logs/log_stream_page/state/README.md b/x-pack/plugins/observability_solution/infra/public/observability_logs/log_stream_page/state/README.md similarity index 100% rename from x-pack/plugins/infra/public/observability_logs/log_stream_page/state/README.md rename to x-pack/plugins/observability_solution/infra/public/observability_logs/log_stream_page/state/README.md diff --git a/x-pack/plugins/infra/public/observability_logs/log_stream_page/state/index.ts b/x-pack/plugins/observability_solution/infra/public/observability_logs/log_stream_page/state/index.ts similarity index 100% rename from x-pack/plugins/infra/public/observability_logs/log_stream_page/state/index.ts rename to x-pack/plugins/observability_solution/infra/public/observability_logs/log_stream_page/state/index.ts diff --git a/x-pack/plugins/infra/public/observability_logs/log_stream_page/state/src/index.ts b/x-pack/plugins/observability_solution/infra/public/observability_logs/log_stream_page/state/src/index.ts similarity index 100% rename from x-pack/plugins/infra/public/observability_logs/log_stream_page/state/src/index.ts rename to x-pack/plugins/observability_solution/infra/public/observability_logs/log_stream_page/state/src/index.ts diff --git a/x-pack/plugins/infra/public/observability_logs/log_stream_page/state/src/initial_parameters_service.ts b/x-pack/plugins/observability_solution/infra/public/observability_logs/log_stream_page/state/src/initial_parameters_service.ts similarity index 100% rename from x-pack/plugins/infra/public/observability_logs/log_stream_page/state/src/initial_parameters_service.ts rename to x-pack/plugins/observability_solution/infra/public/observability_logs/log_stream_page/state/src/initial_parameters_service.ts diff --git a/x-pack/plugins/infra/public/observability_logs/log_stream_page/state/src/provider.tsx b/x-pack/plugins/observability_solution/infra/public/observability_logs/log_stream_page/state/src/provider.tsx similarity index 100% rename from x-pack/plugins/infra/public/observability_logs/log_stream_page/state/src/provider.tsx rename to x-pack/plugins/observability_solution/infra/public/observability_logs/log_stream_page/state/src/provider.tsx diff --git a/x-pack/plugins/infra/public/observability_logs/log_stream_page/state/src/selectors.ts b/x-pack/plugins/observability_solution/infra/public/observability_logs/log_stream_page/state/src/selectors.ts similarity index 100% rename from x-pack/plugins/infra/public/observability_logs/log_stream_page/state/src/selectors.ts rename to x-pack/plugins/observability_solution/infra/public/observability_logs/log_stream_page/state/src/selectors.ts diff --git a/x-pack/plugins/infra/public/observability_logs/log_stream_page/state/src/state_machine.ts b/x-pack/plugins/observability_solution/infra/public/observability_logs/log_stream_page/state/src/state_machine.ts similarity index 100% rename from x-pack/plugins/infra/public/observability_logs/log_stream_page/state/src/state_machine.ts rename to x-pack/plugins/observability_solution/infra/public/observability_logs/log_stream_page/state/src/state_machine.ts diff --git a/x-pack/plugins/infra/public/observability_logs/log_stream_page/state/src/types.ts b/x-pack/plugins/observability_solution/infra/public/observability_logs/log_stream_page/state/src/types.ts similarity index 100% rename from x-pack/plugins/infra/public/observability_logs/log_stream_page/state/src/types.ts rename to x-pack/plugins/observability_solution/infra/public/observability_logs/log_stream_page/state/src/types.ts diff --git a/x-pack/plugins/infra/public/observability_logs/log_stream_position_state/index.ts b/x-pack/plugins/observability_solution/infra/public/observability_logs/log_stream_position_state/index.ts similarity index 100% rename from x-pack/plugins/infra/public/observability_logs/log_stream_position_state/index.ts rename to x-pack/plugins/observability_solution/infra/public/observability_logs/log_stream_position_state/index.ts diff --git a/x-pack/plugins/infra/public/observability_logs/log_stream_position_state/src/defaults.ts b/x-pack/plugins/observability_solution/infra/public/observability_logs/log_stream_position_state/src/defaults.ts similarity index 100% rename from x-pack/plugins/infra/public/observability_logs/log_stream_position_state/src/defaults.ts rename to x-pack/plugins/observability_solution/infra/public/observability_logs/log_stream_position_state/src/defaults.ts diff --git a/x-pack/plugins/infra/public/observability_logs/log_stream_position_state/src/notifications.ts b/x-pack/plugins/observability_solution/infra/public/observability_logs/log_stream_position_state/src/notifications.ts similarity index 100% rename from x-pack/plugins/infra/public/observability_logs/log_stream_position_state/src/notifications.ts rename to x-pack/plugins/observability_solution/infra/public/observability_logs/log_stream_position_state/src/notifications.ts diff --git a/x-pack/plugins/infra/public/observability_logs/log_stream_position_state/src/state_machine.ts b/x-pack/plugins/observability_solution/infra/public/observability_logs/log_stream_position_state/src/state_machine.ts similarity index 100% rename from x-pack/plugins/infra/public/observability_logs/log_stream_position_state/src/state_machine.ts rename to x-pack/plugins/observability_solution/infra/public/observability_logs/log_stream_position_state/src/state_machine.ts diff --git a/x-pack/plugins/infra/public/observability_logs/log_stream_position_state/src/types.ts b/x-pack/plugins/observability_solution/infra/public/observability_logs/log_stream_position_state/src/types.ts similarity index 100% rename from x-pack/plugins/infra/public/observability_logs/log_stream_position_state/src/types.ts rename to x-pack/plugins/observability_solution/infra/public/observability_logs/log_stream_position_state/src/types.ts diff --git a/x-pack/plugins/infra/public/observability_logs/log_stream_position_state/src/url_state_storage_service.ts b/x-pack/plugins/observability_solution/infra/public/observability_logs/log_stream_position_state/src/url_state_storage_service.ts similarity index 100% rename from x-pack/plugins/infra/public/observability_logs/log_stream_position_state/src/url_state_storage_service.ts rename to x-pack/plugins/observability_solution/infra/public/observability_logs/log_stream_position_state/src/url_state_storage_service.ts diff --git a/x-pack/plugins/infra/public/observability_logs/log_stream_query_state/index.ts b/x-pack/plugins/observability_solution/infra/public/observability_logs/log_stream_query_state/index.ts similarity index 100% rename from x-pack/plugins/infra/public/observability_logs/log_stream_query_state/index.ts rename to x-pack/plugins/observability_solution/infra/public/observability_logs/log_stream_query_state/index.ts diff --git a/x-pack/plugins/infra/public/observability_logs/log_stream_query_state/src/defaults.ts b/x-pack/plugins/observability_solution/infra/public/observability_logs/log_stream_query_state/src/defaults.ts similarity index 100% rename from x-pack/plugins/infra/public/observability_logs/log_stream_query_state/src/defaults.ts rename to x-pack/plugins/observability_solution/infra/public/observability_logs/log_stream_query_state/src/defaults.ts diff --git a/x-pack/plugins/infra/public/observability_logs/log_stream_query_state/src/errors.ts b/x-pack/plugins/observability_solution/infra/public/observability_logs/log_stream_query_state/src/errors.ts similarity index 100% rename from x-pack/plugins/infra/public/observability_logs/log_stream_query_state/src/errors.ts rename to x-pack/plugins/observability_solution/infra/public/observability_logs/log_stream_query_state/src/errors.ts diff --git a/x-pack/plugins/infra/public/observability_logs/log_stream_query_state/src/index.ts b/x-pack/plugins/observability_solution/infra/public/observability_logs/log_stream_query_state/src/index.ts similarity index 100% rename from x-pack/plugins/infra/public/observability_logs/log_stream_query_state/src/index.ts rename to x-pack/plugins/observability_solution/infra/public/observability_logs/log_stream_query_state/src/index.ts diff --git a/x-pack/plugins/infra/public/observability_logs/log_stream_query_state/src/notifications.ts b/x-pack/plugins/observability_solution/infra/public/observability_logs/log_stream_query_state/src/notifications.ts similarity index 100% rename from x-pack/plugins/infra/public/observability_logs/log_stream_query_state/src/notifications.ts rename to x-pack/plugins/observability_solution/infra/public/observability_logs/log_stream_query_state/src/notifications.ts diff --git a/x-pack/plugins/infra/public/observability_logs/log_stream_query_state/src/search_bar_state_service.ts b/x-pack/plugins/observability_solution/infra/public/observability_logs/log_stream_query_state/src/search_bar_state_service.ts similarity index 100% rename from x-pack/plugins/infra/public/observability_logs/log_stream_query_state/src/search_bar_state_service.ts rename to x-pack/plugins/observability_solution/infra/public/observability_logs/log_stream_query_state/src/search_bar_state_service.ts diff --git a/x-pack/plugins/infra/public/observability_logs/log_stream_query_state/src/state_machine.ts b/x-pack/plugins/observability_solution/infra/public/observability_logs/log_stream_query_state/src/state_machine.ts similarity index 100% rename from x-pack/plugins/infra/public/observability_logs/log_stream_query_state/src/state_machine.ts rename to x-pack/plugins/observability_solution/infra/public/observability_logs/log_stream_query_state/src/state_machine.ts diff --git a/x-pack/plugins/infra/public/observability_logs/log_stream_query_state/src/time_filter_state_service.ts b/x-pack/plugins/observability_solution/infra/public/observability_logs/log_stream_query_state/src/time_filter_state_service.ts similarity index 100% rename from x-pack/plugins/infra/public/observability_logs/log_stream_query_state/src/time_filter_state_service.ts rename to x-pack/plugins/observability_solution/infra/public/observability_logs/log_stream_query_state/src/time_filter_state_service.ts diff --git a/x-pack/plugins/infra/public/observability_logs/log_stream_query_state/src/types.ts b/x-pack/plugins/observability_solution/infra/public/observability_logs/log_stream_query_state/src/types.ts similarity index 100% rename from x-pack/plugins/infra/public/observability_logs/log_stream_query_state/src/types.ts rename to x-pack/plugins/observability_solution/infra/public/observability_logs/log_stream_query_state/src/types.ts diff --git a/x-pack/plugins/infra/public/observability_logs/log_stream_query_state/src/url_state_storage_service.ts b/x-pack/plugins/observability_solution/infra/public/observability_logs/log_stream_query_state/src/url_state_storage_service.ts similarity index 100% rename from x-pack/plugins/infra/public/observability_logs/log_stream_query_state/src/url_state_storage_service.ts rename to x-pack/plugins/observability_solution/infra/public/observability_logs/log_stream_query_state/src/url_state_storage_service.ts diff --git a/x-pack/plugins/infra/public/observability_logs/log_stream_query_state/src/validate_query_service.ts b/x-pack/plugins/observability_solution/infra/public/observability_logs/log_stream_query_state/src/validate_query_service.ts similarity index 100% rename from x-pack/plugins/infra/public/observability_logs/log_stream_query_state/src/validate_query_service.ts rename to x-pack/plugins/observability_solution/infra/public/observability_logs/log_stream_query_state/src/validate_query_service.ts diff --git a/x-pack/plugins/infra/public/observability_logs/xstate_helpers/README.md b/x-pack/plugins/observability_solution/infra/public/observability_logs/xstate_helpers/README.md similarity index 100% rename from x-pack/plugins/infra/public/observability_logs/xstate_helpers/README.md rename to x-pack/plugins/observability_solution/infra/public/observability_logs/xstate_helpers/README.md diff --git a/x-pack/plugins/infra/public/observability_logs/xstate_helpers/index.ts b/x-pack/plugins/observability_solution/infra/public/observability_logs/xstate_helpers/index.ts similarity index 100% rename from x-pack/plugins/infra/public/observability_logs/xstate_helpers/index.ts rename to x-pack/plugins/observability_solution/infra/public/observability_logs/xstate_helpers/index.ts diff --git a/x-pack/plugins/infra/public/observability_logs/xstate_helpers/src/index.ts b/x-pack/plugins/observability_solution/infra/public/observability_logs/xstate_helpers/src/index.ts similarity index 100% rename from x-pack/plugins/infra/public/observability_logs/xstate_helpers/src/index.ts rename to x-pack/plugins/observability_solution/infra/public/observability_logs/xstate_helpers/src/index.ts diff --git a/x-pack/plugins/infra/public/observability_logs/xstate_helpers/src/invalid_state_callout.tsx b/x-pack/plugins/observability_solution/infra/public/observability_logs/xstate_helpers/src/invalid_state_callout.tsx similarity index 100% rename from x-pack/plugins/infra/public/observability_logs/xstate_helpers/src/invalid_state_callout.tsx rename to x-pack/plugins/observability_solution/infra/public/observability_logs/xstate_helpers/src/invalid_state_callout.tsx diff --git a/x-pack/plugins/infra/public/observability_logs/xstate_helpers/src/notification_channel.ts b/x-pack/plugins/observability_solution/infra/public/observability_logs/xstate_helpers/src/notification_channel.ts similarity index 100% rename from x-pack/plugins/infra/public/observability_logs/xstate_helpers/src/notification_channel.ts rename to x-pack/plugins/observability_solution/infra/public/observability_logs/xstate_helpers/src/notification_channel.ts diff --git a/x-pack/plugins/infra/public/observability_logs/xstate_helpers/src/send_actions.test.ts b/x-pack/plugins/observability_solution/infra/public/observability_logs/xstate_helpers/src/send_actions.test.ts similarity index 100% rename from x-pack/plugins/infra/public/observability_logs/xstate_helpers/src/send_actions.test.ts rename to x-pack/plugins/observability_solution/infra/public/observability_logs/xstate_helpers/src/send_actions.test.ts diff --git a/x-pack/plugins/infra/public/observability_logs/xstate_helpers/src/send_actions.ts b/x-pack/plugins/observability_solution/infra/public/observability_logs/xstate_helpers/src/send_actions.ts similarity index 100% rename from x-pack/plugins/infra/public/observability_logs/xstate_helpers/src/send_actions.ts rename to x-pack/plugins/observability_solution/infra/public/observability_logs/xstate_helpers/src/send_actions.ts diff --git a/x-pack/plugins/infra/public/observability_logs/xstate_helpers/src/state_machine_playground.tsx b/x-pack/plugins/observability_solution/infra/public/observability_logs/xstate_helpers/src/state_machine_playground.tsx similarity index 100% rename from x-pack/plugins/infra/public/observability_logs/xstate_helpers/src/state_machine_playground.tsx rename to x-pack/plugins/observability_solution/infra/public/observability_logs/xstate_helpers/src/state_machine_playground.tsx diff --git a/x-pack/plugins/infra/public/observability_logs/xstate_helpers/src/types.ts b/x-pack/plugins/observability_solution/infra/public/observability_logs/xstate_helpers/src/types.ts similarity index 100% rename from x-pack/plugins/infra/public/observability_logs/xstate_helpers/src/types.ts rename to x-pack/plugins/observability_solution/infra/public/observability_logs/xstate_helpers/src/types.ts diff --git a/x-pack/plugins/infra/public/page_template.styles.ts b/x-pack/plugins/observability_solution/infra/public/page_template.styles.ts similarity index 100% rename from x-pack/plugins/infra/public/page_template.styles.ts rename to x-pack/plugins/observability_solution/infra/public/page_template.styles.ts diff --git a/x-pack/plugins/infra/public/pages/404.tsx b/x-pack/plugins/observability_solution/infra/public/pages/404.tsx similarity index 100% rename from x-pack/plugins/infra/public/pages/404.tsx rename to x-pack/plugins/observability_solution/infra/public/pages/404.tsx diff --git a/x-pack/plugins/infra/public/pages/error.tsx b/x-pack/plugins/observability_solution/infra/public/pages/error.tsx similarity index 100% rename from x-pack/plugins/infra/public/pages/error.tsx rename to x-pack/plugins/observability_solution/infra/public/pages/error.tsx diff --git a/x-pack/plugins/infra/public/pages/link_to/index.ts b/x-pack/plugins/observability_solution/infra/public/pages/link_to/index.ts similarity index 100% rename from x-pack/plugins/infra/public/pages/link_to/index.ts rename to x-pack/plugins/observability_solution/infra/public/pages/link_to/index.ts diff --git a/x-pack/plugins/infra/public/pages/link_to/link_to_logs.tsx b/x-pack/plugins/observability_solution/infra/public/pages/link_to/link_to_logs.tsx similarity index 100% rename from x-pack/plugins/infra/public/pages/link_to/link_to_logs.tsx rename to x-pack/plugins/observability_solution/infra/public/pages/link_to/link_to_logs.tsx diff --git a/x-pack/plugins/infra/public/pages/link_to/link_to_metrics.tsx b/x-pack/plugins/observability_solution/infra/public/pages/link_to/link_to_metrics.tsx similarity index 100% rename from x-pack/plugins/infra/public/pages/link_to/link_to_metrics.tsx rename to x-pack/plugins/observability_solution/infra/public/pages/link_to/link_to_metrics.tsx diff --git a/x-pack/plugins/infra/public/pages/link_to/query_params.ts b/x-pack/plugins/observability_solution/infra/public/pages/link_to/query_params.ts similarity index 100% rename from x-pack/plugins/infra/public/pages/link_to/query_params.ts rename to x-pack/plugins/observability_solution/infra/public/pages/link_to/query_params.ts diff --git a/x-pack/plugins/infra/public/pages/link_to/redirect_to_host_detail_via_ip.tsx b/x-pack/plugins/observability_solution/infra/public/pages/link_to/redirect_to_host_detail_via_ip.tsx similarity index 100% rename from x-pack/plugins/infra/public/pages/link_to/redirect_to_host_detail_via_ip.tsx rename to x-pack/plugins/observability_solution/infra/public/pages/link_to/redirect_to_host_detail_via_ip.tsx diff --git a/x-pack/plugins/infra/public/pages/link_to/redirect_to_inventory.tsx b/x-pack/plugins/observability_solution/infra/public/pages/link_to/redirect_to_inventory.tsx similarity index 100% rename from x-pack/plugins/infra/public/pages/link_to/redirect_to_inventory.tsx rename to x-pack/plugins/observability_solution/infra/public/pages/link_to/redirect_to_inventory.tsx diff --git a/x-pack/plugins/infra/public/pages/link_to/redirect_to_logs.tsx b/x-pack/plugins/observability_solution/infra/public/pages/link_to/redirect_to_logs.tsx similarity index 100% rename from x-pack/plugins/infra/public/pages/link_to/redirect_to_logs.tsx rename to x-pack/plugins/observability_solution/infra/public/pages/link_to/redirect_to_logs.tsx diff --git a/x-pack/plugins/infra/public/pages/link_to/redirect_to_node_detail.tsx b/x-pack/plugins/observability_solution/infra/public/pages/link_to/redirect_to_node_detail.tsx similarity index 100% rename from x-pack/plugins/infra/public/pages/link_to/redirect_to_node_detail.tsx rename to x-pack/plugins/observability_solution/infra/public/pages/link_to/redirect_to_node_detail.tsx diff --git a/x-pack/plugins/infra/public/pages/link_to/redirect_to_node_logs.tsx b/x-pack/plugins/observability_solution/infra/public/pages/link_to/redirect_to_node_logs.tsx similarity index 100% rename from x-pack/plugins/infra/public/pages/link_to/redirect_to_node_logs.tsx rename to x-pack/plugins/observability_solution/infra/public/pages/link_to/redirect_to_node_logs.tsx diff --git a/x-pack/plugins/infra/public/pages/link_to/use_host_ip_to_name.test.ts b/x-pack/plugins/observability_solution/infra/public/pages/link_to/use_host_ip_to_name.test.ts similarity index 100% rename from x-pack/plugins/infra/public/pages/link_to/use_host_ip_to_name.test.ts rename to x-pack/plugins/observability_solution/infra/public/pages/link_to/use_host_ip_to_name.test.ts diff --git a/x-pack/plugins/infra/public/pages/link_to/use_host_ip_to_name.ts b/x-pack/plugins/observability_solution/infra/public/pages/link_to/use_host_ip_to_name.ts similarity index 100% rename from x-pack/plugins/infra/public/pages/link_to/use_host_ip_to_name.ts rename to x-pack/plugins/observability_solution/infra/public/pages/link_to/use_host_ip_to_name.ts diff --git a/x-pack/plugins/infra/public/pages/link_to/use_node_details_redirect.test.tsx b/x-pack/plugins/observability_solution/infra/public/pages/link_to/use_node_details_redirect.test.tsx similarity index 100% rename from x-pack/plugins/infra/public/pages/link_to/use_node_details_redirect.test.tsx rename to x-pack/plugins/observability_solution/infra/public/pages/link_to/use_node_details_redirect.test.tsx diff --git a/x-pack/plugins/infra/public/pages/link_to/use_node_details_redirect.ts b/x-pack/plugins/observability_solution/infra/public/pages/link_to/use_node_details_redirect.ts similarity index 100% rename from x-pack/plugins/infra/public/pages/link_to/use_node_details_redirect.ts rename to x-pack/plugins/observability_solution/infra/public/pages/link_to/use_node_details_redirect.ts diff --git a/x-pack/plugins/infra/public/pages/logs/index.tsx b/x-pack/plugins/observability_solution/infra/public/pages/logs/index.tsx similarity index 100% rename from x-pack/plugins/infra/public/pages/logs/index.tsx rename to x-pack/plugins/observability_solution/infra/public/pages/logs/index.tsx diff --git a/x-pack/plugins/infra/public/pages/logs/log_entry_categories/index.ts b/x-pack/plugins/observability_solution/infra/public/pages/logs/log_entry_categories/index.ts similarity index 100% rename from x-pack/plugins/infra/public/pages/logs/log_entry_categories/index.ts rename to x-pack/plugins/observability_solution/infra/public/pages/logs/log_entry_categories/index.ts diff --git a/x-pack/plugins/infra/public/pages/logs/log_entry_categories/page.tsx b/x-pack/plugins/observability_solution/infra/public/pages/logs/log_entry_categories/page.tsx similarity index 100% rename from x-pack/plugins/infra/public/pages/logs/log_entry_categories/page.tsx rename to x-pack/plugins/observability_solution/infra/public/pages/logs/log_entry_categories/page.tsx diff --git a/x-pack/plugins/infra/public/pages/logs/log_entry_categories/page_content.tsx b/x-pack/plugins/observability_solution/infra/public/pages/logs/log_entry_categories/page_content.tsx similarity index 100% rename from x-pack/plugins/infra/public/pages/logs/log_entry_categories/page_content.tsx rename to x-pack/plugins/observability_solution/infra/public/pages/logs/log_entry_categories/page_content.tsx diff --git a/x-pack/plugins/infra/public/pages/logs/log_entry_categories/page_providers.tsx b/x-pack/plugins/observability_solution/infra/public/pages/logs/log_entry_categories/page_providers.tsx similarity index 100% rename from x-pack/plugins/infra/public/pages/logs/log_entry_categories/page_providers.tsx rename to x-pack/plugins/observability_solution/infra/public/pages/logs/log_entry_categories/page_providers.tsx diff --git a/x-pack/plugins/infra/public/pages/logs/log_entry_categories/page_results_content.tsx b/x-pack/plugins/observability_solution/infra/public/pages/logs/log_entry_categories/page_results_content.tsx similarity index 100% rename from x-pack/plugins/infra/public/pages/logs/log_entry_categories/page_results_content.tsx rename to x-pack/plugins/observability_solution/infra/public/pages/logs/log_entry_categories/page_results_content.tsx diff --git a/x-pack/plugins/infra/public/pages/logs/log_entry_categories/page_setup_content.tsx b/x-pack/plugins/observability_solution/infra/public/pages/logs/log_entry_categories/page_setup_content.tsx similarity index 100% rename from x-pack/plugins/infra/public/pages/logs/log_entry_categories/page_setup_content.tsx rename to x-pack/plugins/observability_solution/infra/public/pages/logs/log_entry_categories/page_setup_content.tsx diff --git a/x-pack/plugins/infra/public/pages/logs/log_entry_categories/sections/top_categories/analyze_dataset_in_ml_action.tsx b/x-pack/plugins/observability_solution/infra/public/pages/logs/log_entry_categories/sections/top_categories/analyze_dataset_in_ml_action.tsx similarity index 100% rename from x-pack/plugins/infra/public/pages/logs/log_entry_categories/sections/top_categories/analyze_dataset_in_ml_action.tsx rename to x-pack/plugins/observability_solution/infra/public/pages/logs/log_entry_categories/sections/top_categories/analyze_dataset_in_ml_action.tsx diff --git a/x-pack/plugins/infra/public/pages/logs/log_entry_categories/sections/top_categories/anomaly_severity_indicator_list.tsx b/x-pack/plugins/observability_solution/infra/public/pages/logs/log_entry_categories/sections/top_categories/anomaly_severity_indicator_list.tsx similarity index 100% rename from x-pack/plugins/infra/public/pages/logs/log_entry_categories/sections/top_categories/anomaly_severity_indicator_list.tsx rename to x-pack/plugins/observability_solution/infra/public/pages/logs/log_entry_categories/sections/top_categories/anomaly_severity_indicator_list.tsx diff --git a/x-pack/plugins/infra/public/pages/logs/log_entry_categories/sections/top_categories/category_details_row.tsx b/x-pack/plugins/observability_solution/infra/public/pages/logs/log_entry_categories/sections/top_categories/category_details_row.tsx similarity index 100% rename from x-pack/plugins/infra/public/pages/logs/log_entry_categories/sections/top_categories/category_details_row.tsx rename to x-pack/plugins/observability_solution/infra/public/pages/logs/log_entry_categories/sections/top_categories/category_details_row.tsx diff --git a/x-pack/plugins/infra/public/pages/logs/log_entry_categories/sections/top_categories/category_example_message.tsx b/x-pack/plugins/observability_solution/infra/public/pages/logs/log_entry_categories/sections/top_categories/category_example_message.tsx similarity index 100% rename from x-pack/plugins/infra/public/pages/logs/log_entry_categories/sections/top_categories/category_example_message.tsx rename to x-pack/plugins/observability_solution/infra/public/pages/logs/log_entry_categories/sections/top_categories/category_example_message.tsx diff --git a/x-pack/plugins/infra/public/pages/logs/log_entry_categories/sections/top_categories/datasets_action_list.tsx b/x-pack/plugins/observability_solution/infra/public/pages/logs/log_entry_categories/sections/top_categories/datasets_action_list.tsx similarity index 100% rename from x-pack/plugins/infra/public/pages/logs/log_entry_categories/sections/top_categories/datasets_action_list.tsx rename to x-pack/plugins/observability_solution/infra/public/pages/logs/log_entry_categories/sections/top_categories/datasets_action_list.tsx diff --git a/x-pack/plugins/infra/public/pages/logs/log_entry_categories/sections/top_categories/datasets_list.tsx b/x-pack/plugins/observability_solution/infra/public/pages/logs/log_entry_categories/sections/top_categories/datasets_list.tsx similarity index 100% rename from x-pack/plugins/infra/public/pages/logs/log_entry_categories/sections/top_categories/datasets_list.tsx rename to x-pack/plugins/observability_solution/infra/public/pages/logs/log_entry_categories/sections/top_categories/datasets_list.tsx diff --git a/x-pack/plugins/infra/public/pages/logs/log_entry_categories/sections/top_categories/index.ts b/x-pack/plugins/observability_solution/infra/public/pages/logs/log_entry_categories/sections/top_categories/index.ts similarity index 100% rename from x-pack/plugins/infra/public/pages/logs/log_entry_categories/sections/top_categories/index.ts rename to x-pack/plugins/observability_solution/infra/public/pages/logs/log_entry_categories/sections/top_categories/index.ts diff --git a/x-pack/plugins/infra/public/pages/logs/log_entry_categories/sections/top_categories/log_entry_count_sparkline.tsx b/x-pack/plugins/observability_solution/infra/public/pages/logs/log_entry_categories/sections/top_categories/log_entry_count_sparkline.tsx similarity index 100% rename from x-pack/plugins/infra/public/pages/logs/log_entry_categories/sections/top_categories/log_entry_count_sparkline.tsx rename to x-pack/plugins/observability_solution/infra/public/pages/logs/log_entry_categories/sections/top_categories/log_entry_count_sparkline.tsx diff --git a/x-pack/plugins/infra/public/pages/logs/log_entry_categories/sections/top_categories/single_metric_comparison.tsx b/x-pack/plugins/observability_solution/infra/public/pages/logs/log_entry_categories/sections/top_categories/single_metric_comparison.tsx similarity index 100% rename from x-pack/plugins/infra/public/pages/logs/log_entry_categories/sections/top_categories/single_metric_comparison.tsx rename to x-pack/plugins/observability_solution/infra/public/pages/logs/log_entry_categories/sections/top_categories/single_metric_comparison.tsx diff --git a/x-pack/plugins/infra/public/pages/logs/log_entry_categories/sections/top_categories/single_metric_sparkline.tsx b/x-pack/plugins/observability_solution/infra/public/pages/logs/log_entry_categories/sections/top_categories/single_metric_sparkline.tsx similarity index 100% rename from x-pack/plugins/infra/public/pages/logs/log_entry_categories/sections/top_categories/single_metric_sparkline.tsx rename to x-pack/plugins/observability_solution/infra/public/pages/logs/log_entry_categories/sections/top_categories/single_metric_sparkline.tsx diff --git a/x-pack/plugins/infra/public/pages/logs/log_entry_categories/sections/top_categories/top_categories_section.tsx b/x-pack/plugins/observability_solution/infra/public/pages/logs/log_entry_categories/sections/top_categories/top_categories_section.tsx similarity index 100% rename from x-pack/plugins/infra/public/pages/logs/log_entry_categories/sections/top_categories/top_categories_section.tsx rename to x-pack/plugins/observability_solution/infra/public/pages/logs/log_entry_categories/sections/top_categories/top_categories_section.tsx diff --git a/x-pack/plugins/infra/public/pages/logs/log_entry_categories/sections/top_categories/top_categories_table.tsx b/x-pack/plugins/observability_solution/infra/public/pages/logs/log_entry_categories/sections/top_categories/top_categories_table.tsx similarity index 100% rename from x-pack/plugins/infra/public/pages/logs/log_entry_categories/sections/top_categories/top_categories_table.tsx rename to x-pack/plugins/observability_solution/infra/public/pages/logs/log_entry_categories/sections/top_categories/top_categories_table.tsx diff --git a/x-pack/plugins/infra/public/pages/logs/log_entry_categories/service_calls/get_log_entry_category_datasets.ts b/x-pack/plugins/observability_solution/infra/public/pages/logs/log_entry_categories/service_calls/get_log_entry_category_datasets.ts similarity index 100% rename from x-pack/plugins/infra/public/pages/logs/log_entry_categories/service_calls/get_log_entry_category_datasets.ts rename to x-pack/plugins/observability_solution/infra/public/pages/logs/log_entry_categories/service_calls/get_log_entry_category_datasets.ts diff --git a/x-pack/plugins/infra/public/pages/logs/log_entry_categories/service_calls/get_log_entry_category_examples.ts b/x-pack/plugins/observability_solution/infra/public/pages/logs/log_entry_categories/service_calls/get_log_entry_category_examples.ts similarity index 100% rename from x-pack/plugins/infra/public/pages/logs/log_entry_categories/service_calls/get_log_entry_category_examples.ts rename to x-pack/plugins/observability_solution/infra/public/pages/logs/log_entry_categories/service_calls/get_log_entry_category_examples.ts diff --git a/x-pack/plugins/infra/public/pages/logs/log_entry_categories/service_calls/get_top_log_entry_categories.ts b/x-pack/plugins/observability_solution/infra/public/pages/logs/log_entry_categories/service_calls/get_top_log_entry_categories.ts similarity index 100% rename from x-pack/plugins/infra/public/pages/logs/log_entry_categories/service_calls/get_top_log_entry_categories.ts rename to x-pack/plugins/observability_solution/infra/public/pages/logs/log_entry_categories/service_calls/get_top_log_entry_categories.ts diff --git a/x-pack/plugins/infra/public/pages/logs/log_entry_categories/use_log_entry_categories_results.ts b/x-pack/plugins/observability_solution/infra/public/pages/logs/log_entry_categories/use_log_entry_categories_results.ts similarity index 100% rename from x-pack/plugins/infra/public/pages/logs/log_entry_categories/use_log_entry_categories_results.ts rename to x-pack/plugins/observability_solution/infra/public/pages/logs/log_entry_categories/use_log_entry_categories_results.ts diff --git a/x-pack/plugins/infra/public/pages/logs/log_entry_categories/use_log_entry_categories_results_url_state.tsx b/x-pack/plugins/observability_solution/infra/public/pages/logs/log_entry_categories/use_log_entry_categories_results_url_state.tsx similarity index 100% rename from x-pack/plugins/infra/public/pages/logs/log_entry_categories/use_log_entry_categories_results_url_state.tsx rename to x-pack/plugins/observability_solution/infra/public/pages/logs/log_entry_categories/use_log_entry_categories_results_url_state.tsx diff --git a/x-pack/plugins/infra/public/pages/logs/log_entry_categories/use_log_entry_category_examples.tsx b/x-pack/plugins/observability_solution/infra/public/pages/logs/log_entry_categories/use_log_entry_category_examples.tsx similarity index 100% rename from x-pack/plugins/infra/public/pages/logs/log_entry_categories/use_log_entry_category_examples.tsx rename to x-pack/plugins/observability_solution/infra/public/pages/logs/log_entry_categories/use_log_entry_category_examples.tsx diff --git a/x-pack/plugins/infra/public/pages/logs/log_entry_rate/index.ts b/x-pack/plugins/observability_solution/infra/public/pages/logs/log_entry_rate/index.ts similarity index 100% rename from x-pack/plugins/infra/public/pages/logs/log_entry_rate/index.ts rename to x-pack/plugins/observability_solution/infra/public/pages/logs/log_entry_rate/index.ts diff --git a/x-pack/plugins/infra/public/pages/logs/log_entry_rate/page.tsx b/x-pack/plugins/observability_solution/infra/public/pages/logs/log_entry_rate/page.tsx similarity index 100% rename from x-pack/plugins/infra/public/pages/logs/log_entry_rate/page.tsx rename to x-pack/plugins/observability_solution/infra/public/pages/logs/log_entry_rate/page.tsx diff --git a/x-pack/plugins/infra/public/pages/logs/log_entry_rate/page_content.tsx b/x-pack/plugins/observability_solution/infra/public/pages/logs/log_entry_rate/page_content.tsx similarity index 100% rename from x-pack/plugins/infra/public/pages/logs/log_entry_rate/page_content.tsx rename to x-pack/plugins/observability_solution/infra/public/pages/logs/log_entry_rate/page_content.tsx diff --git a/x-pack/plugins/infra/public/pages/logs/log_entry_rate/page_providers.tsx b/x-pack/plugins/observability_solution/infra/public/pages/logs/log_entry_rate/page_providers.tsx similarity index 100% rename from x-pack/plugins/infra/public/pages/logs/log_entry_rate/page_providers.tsx rename to x-pack/plugins/observability_solution/infra/public/pages/logs/log_entry_rate/page_providers.tsx diff --git a/x-pack/plugins/infra/public/pages/logs/log_entry_rate/page_results_content.tsx b/x-pack/plugins/observability_solution/infra/public/pages/logs/log_entry_rate/page_results_content.tsx similarity index 100% rename from x-pack/plugins/infra/public/pages/logs/log_entry_rate/page_results_content.tsx rename to x-pack/plugins/observability_solution/infra/public/pages/logs/log_entry_rate/page_results_content.tsx diff --git a/x-pack/plugins/infra/public/pages/logs/log_entry_rate/page_setup_content.tsx b/x-pack/plugins/observability_solution/infra/public/pages/logs/log_entry_rate/page_setup_content.tsx similarity index 100% rename from x-pack/plugins/infra/public/pages/logs/log_entry_rate/page_setup_content.tsx rename to x-pack/plugins/observability_solution/infra/public/pages/logs/log_entry_rate/page_setup_content.tsx diff --git a/x-pack/plugins/infra/public/pages/logs/log_entry_rate/sections/anomalies/anomalies_swimlane_visualisation.tsx b/x-pack/plugins/observability_solution/infra/public/pages/logs/log_entry_rate/sections/anomalies/anomalies_swimlane_visualisation.tsx similarity index 100% rename from x-pack/plugins/infra/public/pages/logs/log_entry_rate/sections/anomalies/anomalies_swimlane_visualisation.tsx rename to x-pack/plugins/observability_solution/infra/public/pages/logs/log_entry_rate/sections/anomalies/anomalies_swimlane_visualisation.tsx diff --git a/x-pack/plugins/infra/public/pages/logs/log_entry_rate/sections/anomalies/expanded_row.tsx b/x-pack/plugins/observability_solution/infra/public/pages/logs/log_entry_rate/sections/anomalies/expanded_row.tsx similarity index 100% rename from x-pack/plugins/infra/public/pages/logs/log_entry_rate/sections/anomalies/expanded_row.tsx rename to x-pack/plugins/observability_solution/infra/public/pages/logs/log_entry_rate/sections/anomalies/expanded_row.tsx diff --git a/x-pack/plugins/infra/public/pages/logs/log_entry_rate/sections/anomalies/index.tsx b/x-pack/plugins/observability_solution/infra/public/pages/logs/log_entry_rate/sections/anomalies/index.tsx similarity index 100% rename from x-pack/plugins/infra/public/pages/logs/log_entry_rate/sections/anomalies/index.tsx rename to x-pack/plugins/observability_solution/infra/public/pages/logs/log_entry_rate/sections/anomalies/index.tsx diff --git a/x-pack/plugins/infra/public/pages/logs/log_entry_rate/sections/anomalies/log_entry_example.tsx b/x-pack/plugins/observability_solution/infra/public/pages/logs/log_entry_rate/sections/anomalies/log_entry_example.tsx similarity index 100% rename from x-pack/plugins/infra/public/pages/logs/log_entry_rate/sections/anomalies/log_entry_example.tsx rename to x-pack/plugins/observability_solution/infra/public/pages/logs/log_entry_rate/sections/anomalies/log_entry_example.tsx diff --git a/x-pack/plugins/infra/public/pages/logs/log_entry_rate/sections/anomalies/table.tsx b/x-pack/plugins/observability_solution/infra/public/pages/logs/log_entry_rate/sections/anomalies/table.tsx similarity index 100% rename from x-pack/plugins/infra/public/pages/logs/log_entry_rate/sections/anomalies/table.tsx rename to x-pack/plugins/observability_solution/infra/public/pages/logs/log_entry_rate/sections/anomalies/table.tsx diff --git a/x-pack/plugins/infra/public/pages/logs/log_entry_rate/service_calls/get_log_entry_anomalies.ts b/x-pack/plugins/observability_solution/infra/public/pages/logs/log_entry_rate/service_calls/get_log_entry_anomalies.ts similarity index 100% rename from x-pack/plugins/infra/public/pages/logs/log_entry_rate/service_calls/get_log_entry_anomalies.ts rename to x-pack/plugins/observability_solution/infra/public/pages/logs/log_entry_rate/service_calls/get_log_entry_anomalies.ts diff --git a/x-pack/plugins/infra/public/pages/logs/log_entry_rate/service_calls/get_log_entry_anomalies_datasets.ts b/x-pack/plugins/observability_solution/infra/public/pages/logs/log_entry_rate/service_calls/get_log_entry_anomalies_datasets.ts similarity index 100% rename from x-pack/plugins/infra/public/pages/logs/log_entry_rate/service_calls/get_log_entry_anomalies_datasets.ts rename to x-pack/plugins/observability_solution/infra/public/pages/logs/log_entry_rate/service_calls/get_log_entry_anomalies_datasets.ts diff --git a/x-pack/plugins/infra/public/pages/logs/log_entry_rate/service_calls/get_log_entry_examples.ts b/x-pack/plugins/observability_solution/infra/public/pages/logs/log_entry_rate/service_calls/get_log_entry_examples.ts similarity index 100% rename from x-pack/plugins/infra/public/pages/logs/log_entry_rate/service_calls/get_log_entry_examples.ts rename to x-pack/plugins/observability_solution/infra/public/pages/logs/log_entry_rate/service_calls/get_log_entry_examples.ts diff --git a/x-pack/plugins/infra/public/pages/logs/log_entry_rate/use_dataset_filtering.ts b/x-pack/plugins/observability_solution/infra/public/pages/logs/log_entry_rate/use_dataset_filtering.ts similarity index 100% rename from x-pack/plugins/infra/public/pages/logs/log_entry_rate/use_dataset_filtering.ts rename to x-pack/plugins/observability_solution/infra/public/pages/logs/log_entry_rate/use_dataset_filtering.ts diff --git a/x-pack/plugins/infra/public/pages/logs/log_entry_rate/use_log_entry_anomalies_results.ts b/x-pack/plugins/observability_solution/infra/public/pages/logs/log_entry_rate/use_log_entry_anomalies_results.ts similarity index 100% rename from x-pack/plugins/infra/public/pages/logs/log_entry_rate/use_log_entry_anomalies_results.ts rename to x-pack/plugins/observability_solution/infra/public/pages/logs/log_entry_rate/use_log_entry_anomalies_results.ts diff --git a/x-pack/plugins/infra/public/pages/logs/log_entry_rate/use_log_entry_examples.ts b/x-pack/plugins/observability_solution/infra/public/pages/logs/log_entry_rate/use_log_entry_examples.ts similarity index 100% rename from x-pack/plugins/infra/public/pages/logs/log_entry_rate/use_log_entry_examples.ts rename to x-pack/plugins/observability_solution/infra/public/pages/logs/log_entry_rate/use_log_entry_examples.ts diff --git a/x-pack/plugins/infra/public/pages/logs/log_entry_rate/use_log_entry_rate_results_url_state.tsx b/x-pack/plugins/observability_solution/infra/public/pages/logs/log_entry_rate/use_log_entry_rate_results_url_state.tsx similarity index 100% rename from x-pack/plugins/infra/public/pages/logs/log_entry_rate/use_log_entry_rate_results_url_state.tsx rename to x-pack/plugins/observability_solution/infra/public/pages/logs/log_entry_rate/use_log_entry_rate_results_url_state.tsx diff --git a/x-pack/plugins/infra/public/pages/logs/page.tsx b/x-pack/plugins/observability_solution/infra/public/pages/logs/page.tsx similarity index 100% rename from x-pack/plugins/infra/public/pages/logs/page.tsx rename to x-pack/plugins/observability_solution/infra/public/pages/logs/page.tsx diff --git a/x-pack/plugins/infra/public/pages/logs/page_content.tsx b/x-pack/plugins/observability_solution/infra/public/pages/logs/page_content.tsx similarity index 99% rename from x-pack/plugins/infra/public/pages/logs/page_content.tsx rename to x-pack/plugins/observability_solution/infra/public/pages/logs/page_content.tsx index d2c8309606823..35a887db784e5 100644 --- a/x-pack/plugins/infra/public/pages/logs/page_content.tsx +++ b/x-pack/plugins/observability_solution/infra/public/pages/logs/page_content.tsx @@ -38,7 +38,7 @@ export const LogsPageContent: React.FunctionComponent = () => { useReadOnlyBadge(!uiCapabilities?.logs?.save); - // !! Need to be kept in sync with the deepLinks in x-pack/plugins/infra/public/plugin.ts + // !! Need to be kept in sync with the deepLinks in x-pack/plugins/observability_solution/infra/public/plugin.ts const streamTab = { app: 'logs', title: streamTabTitle, diff --git a/x-pack/plugins/infra/public/pages/logs/page_providers.tsx b/x-pack/plugins/observability_solution/infra/public/pages/logs/page_providers.tsx similarity index 100% rename from x-pack/plugins/infra/public/pages/logs/page_providers.tsx rename to x-pack/plugins/observability_solution/infra/public/pages/logs/page_providers.tsx diff --git a/x-pack/plugins/infra/public/pages/logs/settings/add_log_column_popover.tsx b/x-pack/plugins/observability_solution/infra/public/pages/logs/settings/add_log_column_popover.tsx similarity index 100% rename from x-pack/plugins/infra/public/pages/logs/settings/add_log_column_popover.tsx rename to x-pack/plugins/observability_solution/infra/public/pages/logs/settings/add_log_column_popover.tsx diff --git a/x-pack/plugins/infra/public/pages/logs/settings/form_elements.tsx b/x-pack/plugins/observability_solution/infra/public/pages/logs/settings/form_elements.tsx similarity index 100% rename from x-pack/plugins/infra/public/pages/logs/settings/form_elements.tsx rename to x-pack/plugins/observability_solution/infra/public/pages/logs/settings/form_elements.tsx diff --git a/x-pack/plugins/infra/public/pages/logs/settings/form_field_props.tsx b/x-pack/plugins/observability_solution/infra/public/pages/logs/settings/form_field_props.tsx similarity index 100% rename from x-pack/plugins/infra/public/pages/logs/settings/form_field_props.tsx rename to x-pack/plugins/observability_solution/infra/public/pages/logs/settings/form_field_props.tsx diff --git a/x-pack/plugins/infra/public/pages/logs/settings/index.ts b/x-pack/plugins/observability_solution/infra/public/pages/logs/settings/index.ts similarity index 100% rename from x-pack/plugins/infra/public/pages/logs/settings/index.ts rename to x-pack/plugins/observability_solution/infra/public/pages/logs/settings/index.ts diff --git a/x-pack/plugins/infra/public/pages/logs/settings/index_names_configuration_panel.tsx b/x-pack/plugins/observability_solution/infra/public/pages/logs/settings/index_names_configuration_panel.tsx similarity index 100% rename from x-pack/plugins/infra/public/pages/logs/settings/index_names_configuration_panel.tsx rename to x-pack/plugins/observability_solution/infra/public/pages/logs/settings/index_names_configuration_panel.tsx diff --git a/x-pack/plugins/infra/public/pages/logs/settings/index_pattern_configuration_panel.tsx b/x-pack/plugins/observability_solution/infra/public/pages/logs/settings/index_pattern_configuration_panel.tsx similarity index 100% rename from x-pack/plugins/infra/public/pages/logs/settings/index_pattern_configuration_panel.tsx rename to x-pack/plugins/observability_solution/infra/public/pages/logs/settings/index_pattern_configuration_panel.tsx diff --git a/x-pack/plugins/infra/public/pages/logs/settings/index_pattern_selector.tsx b/x-pack/plugins/observability_solution/infra/public/pages/logs/settings/index_pattern_selector.tsx similarity index 100% rename from x-pack/plugins/infra/public/pages/logs/settings/index_pattern_selector.tsx rename to x-pack/plugins/observability_solution/infra/public/pages/logs/settings/index_pattern_selector.tsx diff --git a/x-pack/plugins/infra/public/pages/logs/settings/indices_configuration_form_state.ts b/x-pack/plugins/observability_solution/infra/public/pages/logs/settings/indices_configuration_form_state.ts similarity index 100% rename from x-pack/plugins/infra/public/pages/logs/settings/indices_configuration_form_state.ts rename to x-pack/plugins/observability_solution/infra/public/pages/logs/settings/indices_configuration_form_state.ts diff --git a/x-pack/plugins/infra/public/pages/logs/settings/indices_configuration_panel.stories.tsx b/x-pack/plugins/observability_solution/infra/public/pages/logs/settings/indices_configuration_panel.stories.tsx similarity index 100% rename from x-pack/plugins/infra/public/pages/logs/settings/indices_configuration_panel.stories.tsx rename to x-pack/plugins/observability_solution/infra/public/pages/logs/settings/indices_configuration_panel.stories.tsx diff --git a/x-pack/plugins/infra/public/pages/logs/settings/indices_configuration_panel.tsx b/x-pack/plugins/observability_solution/infra/public/pages/logs/settings/indices_configuration_panel.tsx similarity index 100% rename from x-pack/plugins/infra/public/pages/logs/settings/indices_configuration_panel.tsx rename to x-pack/plugins/observability_solution/infra/public/pages/logs/settings/indices_configuration_panel.tsx diff --git a/x-pack/plugins/infra/public/pages/logs/settings/inline_log_view_callout.tsx b/x-pack/plugins/observability_solution/infra/public/pages/logs/settings/inline_log_view_callout.tsx similarity index 100% rename from x-pack/plugins/infra/public/pages/logs/settings/inline_log_view_callout.tsx rename to x-pack/plugins/observability_solution/infra/public/pages/logs/settings/inline_log_view_callout.tsx diff --git a/x-pack/plugins/infra/public/pages/logs/settings/log_columns_configuration_form_state.tsx b/x-pack/plugins/observability_solution/infra/public/pages/logs/settings/log_columns_configuration_form_state.tsx similarity index 100% rename from x-pack/plugins/infra/public/pages/logs/settings/log_columns_configuration_form_state.tsx rename to x-pack/plugins/observability_solution/infra/public/pages/logs/settings/log_columns_configuration_form_state.tsx diff --git a/x-pack/plugins/infra/public/pages/logs/settings/log_columns_configuration_panel.tsx b/x-pack/plugins/observability_solution/infra/public/pages/logs/settings/log_columns_configuration_panel.tsx similarity index 100% rename from x-pack/plugins/infra/public/pages/logs/settings/log_columns_configuration_panel.tsx rename to x-pack/plugins/observability_solution/infra/public/pages/logs/settings/log_columns_configuration_panel.tsx diff --git a/x-pack/plugins/infra/public/pages/logs/settings/name_configuration_form_state.tsx b/x-pack/plugins/observability_solution/infra/public/pages/logs/settings/name_configuration_form_state.tsx similarity index 100% rename from x-pack/plugins/infra/public/pages/logs/settings/name_configuration_form_state.tsx rename to x-pack/plugins/observability_solution/infra/public/pages/logs/settings/name_configuration_form_state.tsx diff --git a/x-pack/plugins/infra/public/pages/logs/settings/name_configuration_panel.tsx b/x-pack/plugins/observability_solution/infra/public/pages/logs/settings/name_configuration_panel.tsx similarity index 100% rename from x-pack/plugins/infra/public/pages/logs/settings/name_configuration_panel.tsx rename to x-pack/plugins/observability_solution/infra/public/pages/logs/settings/name_configuration_panel.tsx diff --git a/x-pack/plugins/infra/public/pages/logs/settings/source_configuration_form_errors.tsx b/x-pack/plugins/observability_solution/infra/public/pages/logs/settings/source_configuration_form_errors.tsx similarity index 100% rename from x-pack/plugins/infra/public/pages/logs/settings/source_configuration_form_errors.tsx rename to x-pack/plugins/observability_solution/infra/public/pages/logs/settings/source_configuration_form_errors.tsx diff --git a/x-pack/plugins/infra/public/pages/logs/settings/source_configuration_form_state.tsx b/x-pack/plugins/observability_solution/infra/public/pages/logs/settings/source_configuration_form_state.tsx similarity index 100% rename from x-pack/plugins/infra/public/pages/logs/settings/source_configuration_form_state.tsx rename to x-pack/plugins/observability_solution/infra/public/pages/logs/settings/source_configuration_form_state.tsx diff --git a/x-pack/plugins/infra/public/pages/logs/settings/source_configuration_settings.tsx b/x-pack/plugins/observability_solution/infra/public/pages/logs/settings/source_configuration_settings.tsx similarity index 100% rename from x-pack/plugins/infra/public/pages/logs/settings/source_configuration_settings.tsx rename to x-pack/plugins/observability_solution/infra/public/pages/logs/settings/source_configuration_settings.tsx diff --git a/x-pack/plugins/infra/public/pages/logs/settings/validation_errors.ts b/x-pack/plugins/observability_solution/infra/public/pages/logs/settings/validation_errors.ts similarity index 100% rename from x-pack/plugins/infra/public/pages/logs/settings/validation_errors.ts rename to x-pack/plugins/observability_solution/infra/public/pages/logs/settings/validation_errors.ts diff --git a/x-pack/plugins/infra/public/pages/logs/shared/call_get_log_analysis_id_formats.ts b/x-pack/plugins/observability_solution/infra/public/pages/logs/shared/call_get_log_analysis_id_formats.ts similarity index 100% rename from x-pack/plugins/infra/public/pages/logs/shared/call_get_log_analysis_id_formats.ts rename to x-pack/plugins/observability_solution/infra/public/pages/logs/shared/call_get_log_analysis_id_formats.ts diff --git a/x-pack/plugins/infra/public/pages/logs/shared/page_log_view_error.tsx b/x-pack/plugins/observability_solution/infra/public/pages/logs/shared/page_log_view_error.tsx similarity index 100% rename from x-pack/plugins/infra/public/pages/logs/shared/page_log_view_error.tsx rename to x-pack/plugins/observability_solution/infra/public/pages/logs/shared/page_log_view_error.tsx diff --git a/x-pack/plugins/infra/public/pages/logs/shared/page_template.tsx b/x-pack/plugins/observability_solution/infra/public/pages/logs/shared/page_template.tsx similarity index 100% rename from x-pack/plugins/infra/public/pages/logs/shared/page_template.tsx rename to x-pack/plugins/observability_solution/infra/public/pages/logs/shared/page_template.tsx diff --git a/x-pack/plugins/infra/public/pages/logs/shared/use_log_ml_job_id_formats_shim.tsx b/x-pack/plugins/observability_solution/infra/public/pages/logs/shared/use_log_ml_job_id_formats_shim.tsx similarity index 100% rename from x-pack/plugins/infra/public/pages/logs/shared/use_log_ml_job_id_formats_shim.tsx rename to x-pack/plugins/observability_solution/infra/public/pages/logs/shared/use_log_ml_job_id_formats_shim.tsx diff --git a/x-pack/plugins/infra/public/pages/logs/stream/components/stream_live_button.tsx b/x-pack/plugins/observability_solution/infra/public/pages/logs/stream/components/stream_live_button.tsx similarity index 100% rename from x-pack/plugins/infra/public/pages/logs/stream/components/stream_live_button.tsx rename to x-pack/plugins/observability_solution/infra/public/pages/logs/stream/components/stream_live_button.tsx diff --git a/x-pack/plugins/infra/public/pages/logs/stream/components/stream_page_template.tsx b/x-pack/plugins/observability_solution/infra/public/pages/logs/stream/components/stream_page_template.tsx similarity index 100% rename from x-pack/plugins/infra/public/pages/logs/stream/components/stream_page_template.tsx rename to x-pack/plugins/observability_solution/infra/public/pages/logs/stream/components/stream_page_template.tsx diff --git a/x-pack/plugins/infra/public/pages/logs/stream/index.ts b/x-pack/plugins/observability_solution/infra/public/pages/logs/stream/index.ts similarity index 100% rename from x-pack/plugins/infra/public/pages/logs/stream/index.ts rename to x-pack/plugins/observability_solution/infra/public/pages/logs/stream/index.ts diff --git a/x-pack/plugins/infra/public/pages/logs/stream/page.tsx b/x-pack/plugins/observability_solution/infra/public/pages/logs/stream/page.tsx similarity index 100% rename from x-pack/plugins/infra/public/pages/logs/stream/page.tsx rename to x-pack/plugins/observability_solution/infra/public/pages/logs/stream/page.tsx diff --git a/x-pack/plugins/infra/public/pages/logs/stream/page_content.tsx b/x-pack/plugins/observability_solution/infra/public/pages/logs/stream/page_content.tsx similarity index 100% rename from x-pack/plugins/infra/public/pages/logs/stream/page_content.tsx rename to x-pack/plugins/observability_solution/infra/public/pages/logs/stream/page_content.tsx diff --git a/x-pack/plugins/infra/public/pages/logs/stream/page_logs_content.tsx b/x-pack/plugins/observability_solution/infra/public/pages/logs/stream/page_logs_content.tsx similarity index 100% rename from x-pack/plugins/infra/public/pages/logs/stream/page_logs_content.tsx rename to x-pack/plugins/observability_solution/infra/public/pages/logs/stream/page_logs_content.tsx diff --git a/x-pack/plugins/infra/public/pages/logs/stream/page_missing_indices_content.tsx b/x-pack/plugins/observability_solution/infra/public/pages/logs/stream/page_missing_indices_content.tsx similarity index 100% rename from x-pack/plugins/infra/public/pages/logs/stream/page_missing_indices_content.tsx rename to x-pack/plugins/observability_solution/infra/public/pages/logs/stream/page_missing_indices_content.tsx diff --git a/x-pack/plugins/infra/public/pages/logs/stream/page_providers.tsx b/x-pack/plugins/observability_solution/infra/public/pages/logs/stream/page_providers.tsx similarity index 100% rename from x-pack/plugins/infra/public/pages/logs/stream/page_providers.tsx rename to x-pack/plugins/observability_solution/infra/public/pages/logs/stream/page_providers.tsx diff --git a/x-pack/plugins/infra/public/pages/logs/stream/page_toolbar.tsx b/x-pack/plugins/observability_solution/infra/public/pages/logs/stream/page_toolbar.tsx similarity index 100% rename from x-pack/plugins/infra/public/pages/logs/stream/page_toolbar.tsx rename to x-pack/plugins/observability_solution/infra/public/pages/logs/stream/page_toolbar.tsx diff --git a/x-pack/plugins/infra/public/pages/logs/stream/page_view_log_in_context.tsx b/x-pack/plugins/observability_solution/infra/public/pages/logs/stream/page_view_log_in_context.tsx similarity index 100% rename from x-pack/plugins/infra/public/pages/logs/stream/page_view_log_in_context.tsx rename to x-pack/plugins/observability_solution/infra/public/pages/logs/stream/page_view_log_in_context.tsx diff --git a/x-pack/plugins/infra/public/pages/metrics/hosts/components/chart/metric_chart_wrapper.tsx b/x-pack/plugins/observability_solution/infra/public/pages/metrics/hosts/components/chart/metric_chart_wrapper.tsx similarity index 100% rename from x-pack/plugins/infra/public/pages/metrics/hosts/components/chart/metric_chart_wrapper.tsx rename to x-pack/plugins/observability_solution/infra/public/pages/metrics/hosts/components/chart/metric_chart_wrapper.tsx diff --git a/x-pack/plugins/infra/public/pages/metrics/hosts/components/common/popover.tsx b/x-pack/plugins/observability_solution/infra/public/pages/metrics/hosts/components/common/popover.tsx similarity index 100% rename from x-pack/plugins/infra/public/pages/metrics/hosts/components/common/popover.tsx rename to x-pack/plugins/observability_solution/infra/public/pages/metrics/hosts/components/common/popover.tsx diff --git a/x-pack/plugins/infra/public/pages/metrics/hosts/components/error_callout.tsx b/x-pack/plugins/observability_solution/infra/public/pages/metrics/hosts/components/error_callout.tsx similarity index 100% rename from x-pack/plugins/infra/public/pages/metrics/hosts/components/error_callout.tsx rename to x-pack/plugins/observability_solution/infra/public/pages/metrics/hosts/components/error_callout.tsx diff --git a/x-pack/plugins/infra/public/pages/metrics/hosts/components/host_details_flyout/flyout_wrapper.tsx b/x-pack/plugins/observability_solution/infra/public/pages/metrics/hosts/components/host_details_flyout/flyout_wrapper.tsx similarity index 100% rename from x-pack/plugins/infra/public/pages/metrics/hosts/components/host_details_flyout/flyout_wrapper.tsx rename to x-pack/plugins/observability_solution/infra/public/pages/metrics/hosts/components/host_details_flyout/flyout_wrapper.tsx diff --git a/x-pack/plugins/infra/public/pages/metrics/hosts/components/hosts_container.tsx b/x-pack/plugins/observability_solution/infra/public/pages/metrics/hosts/components/hosts_container.tsx similarity index 100% rename from x-pack/plugins/infra/public/pages/metrics/hosts/components/hosts_container.tsx rename to x-pack/plugins/observability_solution/infra/public/pages/metrics/hosts/components/hosts_container.tsx diff --git a/x-pack/plugins/infra/public/pages/metrics/hosts/components/hosts_content.tsx b/x-pack/plugins/observability_solution/infra/public/pages/metrics/hosts/components/hosts_content.tsx similarity index 100% rename from x-pack/plugins/infra/public/pages/metrics/hosts/components/hosts_content.tsx rename to x-pack/plugins/observability_solution/infra/public/pages/metrics/hosts/components/hosts_content.tsx diff --git a/x-pack/plugins/infra/public/pages/metrics/hosts/components/hosts_table.tsx b/x-pack/plugins/observability_solution/infra/public/pages/metrics/hosts/components/hosts_table.tsx similarity index 100% rename from x-pack/plugins/infra/public/pages/metrics/hosts/components/hosts_table.tsx rename to x-pack/plugins/observability_solution/infra/public/pages/metrics/hosts/components/hosts_table.tsx diff --git a/x-pack/plugins/infra/public/pages/metrics/hosts/components/kpis/host_count_kpi.tsx b/x-pack/plugins/observability_solution/infra/public/pages/metrics/hosts/components/kpis/host_count_kpi.tsx similarity index 100% rename from x-pack/plugins/infra/public/pages/metrics/hosts/components/kpis/host_count_kpi.tsx rename to x-pack/plugins/observability_solution/infra/public/pages/metrics/hosts/components/kpis/host_count_kpi.tsx diff --git a/x-pack/plugins/infra/public/pages/metrics/hosts/components/kpis/kpi.tsx b/x-pack/plugins/observability_solution/infra/public/pages/metrics/hosts/components/kpis/kpi.tsx similarity index 100% rename from x-pack/plugins/infra/public/pages/metrics/hosts/components/kpis/kpi.tsx rename to x-pack/plugins/observability_solution/infra/public/pages/metrics/hosts/components/kpis/kpi.tsx diff --git a/x-pack/plugins/infra/public/pages/metrics/hosts/components/kpis/kpi_grid.tsx b/x-pack/plugins/observability_solution/infra/public/pages/metrics/hosts/components/kpis/kpi_grid.tsx similarity index 100% rename from x-pack/plugins/infra/public/pages/metrics/hosts/components/kpis/kpi_grid.tsx rename to x-pack/plugins/observability_solution/infra/public/pages/metrics/hosts/components/kpis/kpi_grid.tsx diff --git a/x-pack/plugins/infra/public/pages/metrics/hosts/components/search_bar/controls_content.tsx b/x-pack/plugins/observability_solution/infra/public/pages/metrics/hosts/components/search_bar/controls_content.tsx similarity index 100% rename from x-pack/plugins/infra/public/pages/metrics/hosts/components/search_bar/controls_content.tsx rename to x-pack/plugins/observability_solution/infra/public/pages/metrics/hosts/components/search_bar/controls_content.tsx diff --git a/x-pack/plugins/infra/public/pages/metrics/hosts/components/search_bar/controls_title.tsx b/x-pack/plugins/observability_solution/infra/public/pages/metrics/hosts/components/search_bar/controls_title.tsx similarity index 100% rename from x-pack/plugins/infra/public/pages/metrics/hosts/components/search_bar/controls_title.tsx rename to x-pack/plugins/observability_solution/infra/public/pages/metrics/hosts/components/search_bar/controls_title.tsx diff --git a/x-pack/plugins/infra/public/pages/metrics/hosts/components/search_bar/limit_options.tsx b/x-pack/plugins/observability_solution/infra/public/pages/metrics/hosts/components/search_bar/limit_options.tsx similarity index 100% rename from x-pack/plugins/infra/public/pages/metrics/hosts/components/search_bar/limit_options.tsx rename to x-pack/plugins/observability_solution/infra/public/pages/metrics/hosts/components/search_bar/limit_options.tsx diff --git a/x-pack/plugins/infra/public/pages/metrics/hosts/components/search_bar/unified_search_bar.tsx b/x-pack/plugins/observability_solution/infra/public/pages/metrics/hosts/components/search_bar/unified_search_bar.tsx similarity index 100% rename from x-pack/plugins/infra/public/pages/metrics/hosts/components/search_bar/unified_search_bar.tsx rename to x-pack/plugins/observability_solution/infra/public/pages/metrics/hosts/components/search_bar/unified_search_bar.tsx diff --git a/x-pack/plugins/infra/public/pages/metrics/hosts/components/table/column_header.tsx b/x-pack/plugins/observability_solution/infra/public/pages/metrics/hosts/components/table/column_header.tsx similarity index 100% rename from x-pack/plugins/infra/public/pages/metrics/hosts/components/table/column_header.tsx rename to x-pack/plugins/observability_solution/infra/public/pages/metrics/hosts/components/table/column_header.tsx diff --git a/x-pack/plugins/infra/public/pages/metrics/hosts/components/table/entry_title.tsx b/x-pack/plugins/observability_solution/infra/public/pages/metrics/hosts/components/table/entry_title.tsx similarity index 100% rename from x-pack/plugins/infra/public/pages/metrics/hosts/components/table/entry_title.tsx rename to x-pack/plugins/observability_solution/infra/public/pages/metrics/hosts/components/table/entry_title.tsx diff --git a/x-pack/plugins/infra/public/pages/metrics/hosts/components/table/filter_action.tsx b/x-pack/plugins/observability_solution/infra/public/pages/metrics/hosts/components/table/filter_action.tsx similarity index 100% rename from x-pack/plugins/infra/public/pages/metrics/hosts/components/table/filter_action.tsx rename to x-pack/plugins/observability_solution/infra/public/pages/metrics/hosts/components/table/filter_action.tsx diff --git a/x-pack/plugins/infra/public/pages/metrics/hosts/components/tabs/alerts/alerts_tab_content.tsx b/x-pack/plugins/observability_solution/infra/public/pages/metrics/hosts/components/tabs/alerts/alerts_tab_content.tsx similarity index 100% rename from x-pack/plugins/infra/public/pages/metrics/hosts/components/tabs/alerts/alerts_tab_content.tsx rename to x-pack/plugins/observability_solution/infra/public/pages/metrics/hosts/components/tabs/alerts/alerts_tab_content.tsx diff --git a/x-pack/plugins/infra/public/pages/metrics/hosts/components/tabs/alerts/index.ts b/x-pack/plugins/observability_solution/infra/public/pages/metrics/hosts/components/tabs/alerts/index.ts similarity index 100% rename from x-pack/plugins/infra/public/pages/metrics/hosts/components/tabs/alerts/index.ts rename to x-pack/plugins/observability_solution/infra/public/pages/metrics/hosts/components/tabs/alerts/index.ts diff --git a/x-pack/plugins/infra/public/pages/metrics/hosts/components/tabs/alerts_tab_badge.tsx b/x-pack/plugins/observability_solution/infra/public/pages/metrics/hosts/components/tabs/alerts_tab_badge.tsx similarity index 100% rename from x-pack/plugins/infra/public/pages/metrics/hosts/components/tabs/alerts_tab_badge.tsx rename to x-pack/plugins/observability_solution/infra/public/pages/metrics/hosts/components/tabs/alerts_tab_badge.tsx diff --git a/x-pack/plugins/infra/public/pages/metrics/hosts/components/tabs/logs/index.ts b/x-pack/plugins/observability_solution/infra/public/pages/metrics/hosts/components/tabs/logs/index.ts similarity index 100% rename from x-pack/plugins/infra/public/pages/metrics/hosts/components/tabs/logs/index.ts rename to x-pack/plugins/observability_solution/infra/public/pages/metrics/hosts/components/tabs/logs/index.ts diff --git a/x-pack/plugins/infra/public/pages/metrics/hosts/components/tabs/logs/logs_link_to_stream.tsx b/x-pack/plugins/observability_solution/infra/public/pages/metrics/hosts/components/tabs/logs/logs_link_to_stream.tsx similarity index 100% rename from x-pack/plugins/infra/public/pages/metrics/hosts/components/tabs/logs/logs_link_to_stream.tsx rename to x-pack/plugins/observability_solution/infra/public/pages/metrics/hosts/components/tabs/logs/logs_link_to_stream.tsx diff --git a/x-pack/plugins/infra/public/pages/metrics/hosts/components/tabs/logs/logs_search_bar.tsx b/x-pack/plugins/observability_solution/infra/public/pages/metrics/hosts/components/tabs/logs/logs_search_bar.tsx similarity index 100% rename from x-pack/plugins/infra/public/pages/metrics/hosts/components/tabs/logs/logs_search_bar.tsx rename to x-pack/plugins/observability_solution/infra/public/pages/metrics/hosts/components/tabs/logs/logs_search_bar.tsx diff --git a/x-pack/plugins/infra/public/pages/metrics/hosts/components/tabs/logs/logs_tab_content.tsx b/x-pack/plugins/observability_solution/infra/public/pages/metrics/hosts/components/tabs/logs/logs_tab_content.tsx similarity index 100% rename from x-pack/plugins/infra/public/pages/metrics/hosts/components/tabs/logs/logs_tab_content.tsx rename to x-pack/plugins/observability_solution/infra/public/pages/metrics/hosts/components/tabs/logs/logs_tab_content.tsx diff --git a/x-pack/plugins/infra/public/pages/metrics/hosts/components/tabs/metrics/chart.tsx b/x-pack/plugins/observability_solution/infra/public/pages/metrics/hosts/components/tabs/metrics/chart.tsx similarity index 100% rename from x-pack/plugins/infra/public/pages/metrics/hosts/components/tabs/metrics/chart.tsx rename to x-pack/plugins/observability_solution/infra/public/pages/metrics/hosts/components/tabs/metrics/chart.tsx diff --git a/x-pack/plugins/infra/public/pages/metrics/hosts/components/tabs/metrics/metrics_grid.tsx b/x-pack/plugins/observability_solution/infra/public/pages/metrics/hosts/components/tabs/metrics/metrics_grid.tsx similarity index 100% rename from x-pack/plugins/infra/public/pages/metrics/hosts/components/tabs/metrics/metrics_grid.tsx rename to x-pack/plugins/observability_solution/infra/public/pages/metrics/hosts/components/tabs/metrics/metrics_grid.tsx diff --git a/x-pack/plugins/infra/public/pages/metrics/hosts/components/tabs/tabs.tsx b/x-pack/plugins/observability_solution/infra/public/pages/metrics/hosts/components/tabs/tabs.tsx similarity index 100% rename from x-pack/plugins/infra/public/pages/metrics/hosts/components/tabs/tabs.tsx rename to x-pack/plugins/observability_solution/infra/public/pages/metrics/hosts/components/tabs/tabs.tsx diff --git a/x-pack/plugins/infra/public/pages/metrics/hosts/constants.ts b/x-pack/plugins/observability_solution/infra/public/pages/metrics/hosts/constants.ts similarity index 100% rename from x-pack/plugins/infra/public/pages/metrics/hosts/constants.ts rename to x-pack/plugins/observability_solution/infra/public/pages/metrics/hosts/constants.ts diff --git a/x-pack/plugins/infra/public/pages/metrics/hosts/hooks/use_after_loaded_state.ts b/x-pack/plugins/observability_solution/infra/public/pages/metrics/hosts/hooks/use_after_loaded_state.ts similarity index 100% rename from x-pack/plugins/infra/public/pages/metrics/hosts/hooks/use_after_loaded_state.ts rename to x-pack/plugins/observability_solution/infra/public/pages/metrics/hosts/hooks/use_after_loaded_state.ts diff --git a/x-pack/plugins/infra/public/pages/metrics/hosts/hooks/use_alerts_query.ts b/x-pack/plugins/observability_solution/infra/public/pages/metrics/hosts/hooks/use_alerts_query.ts similarity index 100% rename from x-pack/plugins/infra/public/pages/metrics/hosts/hooks/use_alerts_query.ts rename to x-pack/plugins/observability_solution/infra/public/pages/metrics/hosts/hooks/use_alerts_query.ts diff --git a/x-pack/plugins/infra/public/pages/metrics/hosts/hooks/use_control_panels_url_state.ts b/x-pack/plugins/observability_solution/infra/public/pages/metrics/hosts/hooks/use_control_panels_url_state.ts similarity index 100% rename from x-pack/plugins/infra/public/pages/metrics/hosts/hooks/use_control_panels_url_state.ts rename to x-pack/plugins/observability_solution/infra/public/pages/metrics/hosts/hooks/use_control_panels_url_state.ts diff --git a/x-pack/plugins/infra/public/pages/metrics/hosts/hooks/use_host_count.ts b/x-pack/plugins/observability_solution/infra/public/pages/metrics/hosts/hooks/use_host_count.ts similarity index 100% rename from x-pack/plugins/infra/public/pages/metrics/hosts/hooks/use_host_count.ts rename to x-pack/plugins/observability_solution/infra/public/pages/metrics/hosts/hooks/use_host_count.ts diff --git a/x-pack/plugins/infra/public/pages/metrics/hosts/hooks/use_hosts_table.test.ts b/x-pack/plugins/observability_solution/infra/public/pages/metrics/hosts/hooks/use_hosts_table.test.ts similarity index 100% rename from x-pack/plugins/infra/public/pages/metrics/hosts/hooks/use_hosts_table.test.ts rename to x-pack/plugins/observability_solution/infra/public/pages/metrics/hosts/hooks/use_hosts_table.test.ts diff --git a/x-pack/plugins/infra/public/pages/metrics/hosts/hooks/use_hosts_table.tsx b/x-pack/plugins/observability_solution/infra/public/pages/metrics/hosts/hooks/use_hosts_table.tsx similarity index 100% rename from x-pack/plugins/infra/public/pages/metrics/hosts/hooks/use_hosts_table.tsx rename to x-pack/plugins/observability_solution/infra/public/pages/metrics/hosts/hooks/use_hosts_table.tsx diff --git a/x-pack/plugins/infra/public/pages/metrics/hosts/hooks/use_hosts_table_url_state.ts b/x-pack/plugins/observability_solution/infra/public/pages/metrics/hosts/hooks/use_hosts_table_url_state.ts similarity index 100% rename from x-pack/plugins/infra/public/pages/metrics/hosts/hooks/use_hosts_table_url_state.ts rename to x-pack/plugins/observability_solution/infra/public/pages/metrics/hosts/hooks/use_hosts_table_url_state.ts diff --git a/x-pack/plugins/infra/public/pages/metrics/hosts/hooks/use_hosts_view.ts b/x-pack/plugins/observability_solution/infra/public/pages/metrics/hosts/hooks/use_hosts_view.ts similarity index 100% rename from x-pack/plugins/infra/public/pages/metrics/hosts/hooks/use_hosts_view.ts rename to x-pack/plugins/observability_solution/infra/public/pages/metrics/hosts/hooks/use_hosts_view.ts diff --git a/x-pack/plugins/infra/public/pages/metrics/hosts/hooks/use_logs_search_url_state.ts b/x-pack/plugins/observability_solution/infra/public/pages/metrics/hosts/hooks/use_logs_search_url_state.ts similarity index 100% rename from x-pack/plugins/infra/public/pages/metrics/hosts/hooks/use_logs_search_url_state.ts rename to x-pack/plugins/observability_solution/infra/public/pages/metrics/hosts/hooks/use_logs_search_url_state.ts diff --git a/x-pack/plugins/infra/public/pages/metrics/hosts/hooks/use_metrics_data_view.ts b/x-pack/plugins/observability_solution/infra/public/pages/metrics/hosts/hooks/use_metrics_data_view.ts similarity index 100% rename from x-pack/plugins/infra/public/pages/metrics/hosts/hooks/use_metrics_data_view.ts rename to x-pack/plugins/observability_solution/infra/public/pages/metrics/hosts/hooks/use_metrics_data_view.ts diff --git a/x-pack/plugins/infra/public/pages/metrics/hosts/hooks/use_tab_id.ts b/x-pack/plugins/observability_solution/infra/public/pages/metrics/hosts/hooks/use_tab_id.ts similarity index 100% rename from x-pack/plugins/infra/public/pages/metrics/hosts/hooks/use_tab_id.ts rename to x-pack/plugins/observability_solution/infra/public/pages/metrics/hosts/hooks/use_tab_id.ts diff --git a/x-pack/plugins/infra/public/pages/metrics/hosts/hooks/use_unified_search.ts b/x-pack/plugins/observability_solution/infra/public/pages/metrics/hosts/hooks/use_unified_search.ts similarity index 100% rename from x-pack/plugins/infra/public/pages/metrics/hosts/hooks/use_unified_search.ts rename to x-pack/plugins/observability_solution/infra/public/pages/metrics/hosts/hooks/use_unified_search.ts diff --git a/x-pack/plugins/infra/public/pages/metrics/hosts/hooks/use_unified_search_url_state.ts b/x-pack/plugins/observability_solution/infra/public/pages/metrics/hosts/hooks/use_unified_search_url_state.ts similarity index 100% rename from x-pack/plugins/infra/public/pages/metrics/hosts/hooks/use_unified_search_url_state.ts rename to x-pack/plugins/observability_solution/infra/public/pages/metrics/hosts/hooks/use_unified_search_url_state.ts diff --git a/x-pack/plugins/infra/public/pages/metrics/hosts/index.tsx b/x-pack/plugins/observability_solution/infra/public/pages/metrics/hosts/index.tsx similarity index 100% rename from x-pack/plugins/infra/public/pages/metrics/hosts/index.tsx rename to x-pack/plugins/observability_solution/infra/public/pages/metrics/hosts/index.tsx diff --git a/x-pack/plugins/infra/public/pages/metrics/hosts/translations.ts b/x-pack/plugins/observability_solution/infra/public/pages/metrics/hosts/translations.ts similarity index 100% rename from x-pack/plugins/infra/public/pages/metrics/hosts/translations.ts rename to x-pack/plugins/observability_solution/infra/public/pages/metrics/hosts/translations.ts diff --git a/x-pack/plugins/infra/public/pages/metrics/hosts/types.ts b/x-pack/plugins/observability_solution/infra/public/pages/metrics/hosts/types.ts similarity index 100% rename from x-pack/plugins/infra/public/pages/metrics/hosts/types.ts rename to x-pack/plugins/observability_solution/infra/public/pages/metrics/hosts/types.ts diff --git a/x-pack/plugins/infra/public/pages/metrics/index.tsx b/x-pack/plugins/observability_solution/infra/public/pages/metrics/index.tsx similarity index 100% rename from x-pack/plugins/infra/public/pages/metrics/index.tsx rename to x-pack/plugins/observability_solution/infra/public/pages/metrics/index.tsx diff --git a/x-pack/plugins/infra/public/pages/metrics/inventory_view/components/bottom_drawer.tsx b/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/bottom_drawer.tsx similarity index 100% rename from x-pack/plugins/infra/public/pages/metrics/inventory_view/components/bottom_drawer.tsx rename to x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/bottom_drawer.tsx diff --git a/x-pack/plugins/infra/public/pages/metrics/inventory_view/components/dropdown_button.tsx b/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/dropdown_button.tsx similarity index 100% rename from x-pack/plugins/infra/public/pages/metrics/inventory_view/components/dropdown_button.tsx rename to x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/dropdown_button.tsx diff --git a/x-pack/plugins/infra/public/pages/metrics/inventory_view/components/filter_bar.tsx b/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/filter_bar.tsx similarity index 100% rename from x-pack/plugins/infra/public/pages/metrics/inventory_view/components/filter_bar.tsx rename to x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/filter_bar.tsx diff --git a/x-pack/plugins/infra/public/pages/metrics/inventory_view/components/kubernetes_tour.tsx b/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/kubernetes_tour.tsx similarity index 100% rename from x-pack/plugins/infra/public/pages/metrics/inventory_view/components/kubernetes_tour.tsx rename to x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/kubernetes_tour.tsx diff --git a/x-pack/plugins/infra/public/pages/metrics/inventory_view/components/layout.tsx b/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/layout.tsx similarity index 100% rename from x-pack/plugins/infra/public/pages/metrics/inventory_view/components/layout.tsx rename to x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/layout.tsx diff --git a/x-pack/plugins/infra/public/pages/metrics/inventory_view/components/layout_view.tsx b/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/layout_view.tsx similarity index 100% rename from x-pack/plugins/infra/public/pages/metrics/inventory_view/components/layout_view.tsx rename to x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/layout_view.tsx diff --git a/x-pack/plugins/infra/public/pages/metrics/inventory_view/components/ml/anomaly_detection/anomalies_table/annomaly_summary.tsx b/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/ml/anomaly_detection/anomalies_table/annomaly_summary.tsx similarity index 100% rename from x-pack/plugins/infra/public/pages/metrics/inventory_view/components/ml/anomaly_detection/anomalies_table/annomaly_summary.tsx rename to x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/ml/anomaly_detection/anomalies_table/annomaly_summary.tsx diff --git a/x-pack/plugins/infra/public/pages/metrics/inventory_view/components/ml/anomaly_detection/anomalies_table/anomalies_table.tsx b/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/ml/anomaly_detection/anomalies_table/anomalies_table.tsx similarity index 100% rename from x-pack/plugins/infra/public/pages/metrics/inventory_view/components/ml/anomaly_detection/anomalies_table/anomalies_table.tsx rename to x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/ml/anomaly_detection/anomalies_table/anomalies_table.tsx diff --git a/x-pack/plugins/infra/public/pages/metrics/inventory_view/components/ml/anomaly_detection/anomalies_table/pagination.tsx b/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/ml/anomaly_detection/anomalies_table/pagination.tsx similarity index 100% rename from x-pack/plugins/infra/public/pages/metrics/inventory_view/components/ml/anomaly_detection/anomalies_table/pagination.tsx rename to x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/ml/anomaly_detection/anomalies_table/pagination.tsx diff --git a/x-pack/plugins/infra/public/pages/metrics/inventory_view/components/ml/anomaly_detection/anomaly_detection_flyout.tsx b/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/ml/anomaly_detection/anomaly_detection_flyout.tsx similarity index 100% rename from x-pack/plugins/infra/public/pages/metrics/inventory_view/components/ml/anomaly_detection/anomaly_detection_flyout.tsx rename to x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/ml/anomaly_detection/anomaly_detection_flyout.tsx diff --git a/x-pack/plugins/infra/public/pages/metrics/inventory_view/components/ml/anomaly_detection/flyout_home.tsx b/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/ml/anomaly_detection/flyout_home.tsx similarity index 100% rename from x-pack/plugins/infra/public/pages/metrics/inventory_view/components/ml/anomaly_detection/flyout_home.tsx rename to x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/ml/anomaly_detection/flyout_home.tsx diff --git a/x-pack/plugins/infra/public/pages/metrics/inventory_view/components/ml/anomaly_detection/job_setup_screen.tsx b/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/ml/anomaly_detection/job_setup_screen.tsx similarity index 100% rename from x-pack/plugins/infra/public/pages/metrics/inventory_view/components/ml/anomaly_detection/job_setup_screen.tsx rename to x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/ml/anomaly_detection/job_setup_screen.tsx diff --git a/x-pack/plugins/infra/public/pages/metrics/inventory_view/components/nodes_overview.tsx b/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/nodes_overview.tsx similarity index 100% rename from x-pack/plugins/infra/public/pages/metrics/inventory_view/components/nodes_overview.tsx rename to x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/nodes_overview.tsx diff --git a/x-pack/plugins/infra/public/pages/metrics/inventory_view/components/saved_views.tsx b/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/saved_views.tsx similarity index 100% rename from x-pack/plugins/infra/public/pages/metrics/inventory_view/components/saved_views.tsx rename to x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/saved_views.tsx diff --git a/x-pack/plugins/infra/public/pages/metrics/inventory_view/components/search_bar.tsx b/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/search_bar.tsx similarity index 100% rename from x-pack/plugins/infra/public/pages/metrics/inventory_view/components/search_bar.tsx rename to x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/search_bar.tsx diff --git a/x-pack/plugins/infra/public/pages/metrics/inventory_view/components/snapshot_container.tsx b/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/snapshot_container.tsx similarity index 100% rename from x-pack/plugins/infra/public/pages/metrics/inventory_view/components/snapshot_container.tsx rename to x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/snapshot_container.tsx diff --git a/x-pack/plugins/infra/public/pages/metrics/inventory_view/components/survey_kubernetes.tsx b/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/survey_kubernetes.tsx similarity index 100% rename from x-pack/plugins/infra/public/pages/metrics/inventory_view/components/survey_kubernetes.tsx rename to x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/survey_kubernetes.tsx diff --git a/x-pack/plugins/infra/public/pages/metrics/inventory_view/components/survey_section.tsx b/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/survey_section.tsx similarity index 100% rename from x-pack/plugins/infra/public/pages/metrics/inventory_view/components/survey_section.tsx rename to x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/survey_section.tsx diff --git a/x-pack/plugins/infra/public/pages/metrics/inventory_view/components/table_view.tsx b/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/table_view.tsx similarity index 100% rename from x-pack/plugins/infra/public/pages/metrics/inventory_view/components/table_view.tsx rename to x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/table_view.tsx diff --git a/x-pack/plugins/infra/public/pages/metrics/inventory_view/components/timeline/timeline.tsx b/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/timeline/timeline.tsx similarity index 100% rename from x-pack/plugins/infra/public/pages/metrics/inventory_view/components/timeline/timeline.tsx rename to x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/timeline/timeline.tsx diff --git a/x-pack/plugins/infra/public/pages/metrics/inventory_view/components/toolbars/aws_ec2_toolbar_items.tsx b/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/toolbars/aws_ec2_toolbar_items.tsx similarity index 100% rename from x-pack/plugins/infra/public/pages/metrics/inventory_view/components/toolbars/aws_ec2_toolbar_items.tsx rename to x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/toolbars/aws_ec2_toolbar_items.tsx diff --git a/x-pack/plugins/infra/public/pages/metrics/inventory_view/components/toolbars/aws_rds_toolbar_items.tsx b/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/toolbars/aws_rds_toolbar_items.tsx similarity index 100% rename from x-pack/plugins/infra/public/pages/metrics/inventory_view/components/toolbars/aws_rds_toolbar_items.tsx rename to x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/toolbars/aws_rds_toolbar_items.tsx diff --git a/x-pack/plugins/infra/public/pages/metrics/inventory_view/components/toolbars/aws_s3_toolbar_items.tsx b/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/toolbars/aws_s3_toolbar_items.tsx similarity index 100% rename from x-pack/plugins/infra/public/pages/metrics/inventory_view/components/toolbars/aws_s3_toolbar_items.tsx rename to x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/toolbars/aws_s3_toolbar_items.tsx diff --git a/x-pack/plugins/infra/public/pages/metrics/inventory_view/components/toolbars/aws_sqs_toolbar_items.tsx b/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/toolbars/aws_sqs_toolbar_items.tsx similarity index 100% rename from x-pack/plugins/infra/public/pages/metrics/inventory_view/components/toolbars/aws_sqs_toolbar_items.tsx rename to x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/toolbars/aws_sqs_toolbar_items.tsx diff --git a/x-pack/plugins/infra/public/pages/metrics/inventory_view/components/toolbars/cloud_toolbar_items.tsx b/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/toolbars/cloud_toolbar_items.tsx similarity index 100% rename from x-pack/plugins/infra/public/pages/metrics/inventory_view/components/toolbars/cloud_toolbar_items.tsx rename to x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/toolbars/cloud_toolbar_items.tsx diff --git a/x-pack/plugins/infra/public/pages/metrics/inventory_view/components/toolbars/container_toolbar_items.tsx b/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/toolbars/container_toolbar_items.tsx similarity index 100% rename from x-pack/plugins/infra/public/pages/metrics/inventory_view/components/toolbars/container_toolbar_items.tsx rename to x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/toolbars/container_toolbar_items.tsx diff --git a/x-pack/plugins/infra/public/pages/metrics/inventory_view/components/toolbars/host_toolbar_items.tsx b/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/toolbars/host_toolbar_items.tsx similarity index 100% rename from x-pack/plugins/infra/public/pages/metrics/inventory_view/components/toolbars/host_toolbar_items.tsx rename to x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/toolbars/host_toolbar_items.tsx diff --git a/x-pack/plugins/infra/public/pages/metrics/inventory_view/components/toolbars/metrics_and_groupby_toolbar_items.tsx b/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/toolbars/metrics_and_groupby_toolbar_items.tsx similarity index 100% rename from x-pack/plugins/infra/public/pages/metrics/inventory_view/components/toolbars/metrics_and_groupby_toolbar_items.tsx rename to x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/toolbars/metrics_and_groupby_toolbar_items.tsx diff --git a/x-pack/plugins/infra/public/pages/metrics/inventory_view/components/toolbars/pod_toolbar_items.tsx b/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/toolbars/pod_toolbar_items.tsx similarity index 100% rename from x-pack/plugins/infra/public/pages/metrics/inventory_view/components/toolbars/pod_toolbar_items.tsx rename to x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/toolbars/pod_toolbar_items.tsx diff --git a/x-pack/plugins/infra/public/pages/metrics/inventory_view/components/toolbars/toolbar.tsx b/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/toolbars/toolbar.tsx similarity index 100% rename from x-pack/plugins/infra/public/pages/metrics/inventory_view/components/toolbars/toolbar.tsx rename to x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/toolbars/toolbar.tsx diff --git a/x-pack/plugins/infra/public/pages/metrics/inventory_view/components/toolbars/toolbar_wrapper.tsx b/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/toolbars/toolbar_wrapper.tsx similarity index 100% rename from x-pack/plugins/infra/public/pages/metrics/inventory_view/components/toolbars/toolbar_wrapper.tsx rename to x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/toolbars/toolbar_wrapper.tsx diff --git a/x-pack/plugins/infra/public/pages/metrics/inventory_view/components/toolbars/types.ts b/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/toolbars/types.ts similarity index 100% rename from x-pack/plugins/infra/public/pages/metrics/inventory_view/components/toolbars/types.ts rename to x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/toolbars/types.ts diff --git a/x-pack/plugins/infra/public/pages/metrics/inventory_view/components/waffle/__snapshots__/conditional_tooltip.test.tsx.snap b/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/__snapshots__/conditional_tooltip.test.tsx.snap similarity index 100% rename from x-pack/plugins/infra/public/pages/metrics/inventory_view/components/waffle/__snapshots__/conditional_tooltip.test.tsx.snap rename to x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/__snapshots__/conditional_tooltip.test.tsx.snap diff --git a/x-pack/plugins/infra/public/pages/metrics/inventory_view/components/waffle/asset_details_flyout.tsx b/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/asset_details_flyout.tsx similarity index 100% rename from x-pack/plugins/infra/public/pages/metrics/inventory_view/components/waffle/asset_details_flyout.tsx rename to x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/asset_details_flyout.tsx diff --git a/x-pack/plugins/infra/public/pages/metrics/inventory_view/components/waffle/conditional_tooltip.test.tsx b/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/conditional_tooltip.test.tsx similarity index 100% rename from x-pack/plugins/infra/public/pages/metrics/inventory_view/components/waffle/conditional_tooltip.test.tsx rename to x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/conditional_tooltip.test.tsx diff --git a/x-pack/plugins/infra/public/pages/metrics/inventory_view/components/waffle/conditional_tooltip.tsx b/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/conditional_tooltip.tsx similarity index 100% rename from x-pack/plugins/infra/public/pages/metrics/inventory_view/components/waffle/conditional_tooltip.tsx rename to x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/conditional_tooltip.tsx diff --git a/x-pack/plugins/infra/public/pages/metrics/inventory_view/components/waffle/custom_field_panel.tsx b/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/custom_field_panel.tsx similarity index 100% rename from x-pack/plugins/infra/public/pages/metrics/inventory_view/components/waffle/custom_field_panel.tsx rename to x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/custom_field_panel.tsx diff --git a/x-pack/plugins/infra/public/pages/metrics/inventory_view/components/waffle/gradient_legend.tsx b/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/gradient_legend.tsx similarity index 100% rename from x-pack/plugins/infra/public/pages/metrics/inventory_view/components/waffle/gradient_legend.tsx rename to x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/gradient_legend.tsx diff --git a/x-pack/plugins/infra/public/pages/metrics/inventory_view/components/waffle/group_name.tsx b/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/group_name.tsx similarity index 100% rename from x-pack/plugins/infra/public/pages/metrics/inventory_view/components/waffle/group_name.tsx rename to x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/group_name.tsx diff --git a/x-pack/plugins/infra/public/pages/metrics/inventory_view/components/waffle/group_of_groups.tsx b/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/group_of_groups.tsx similarity index 100% rename from x-pack/plugins/infra/public/pages/metrics/inventory_view/components/waffle/group_of_groups.tsx rename to x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/group_of_groups.tsx diff --git a/x-pack/plugins/infra/public/pages/metrics/inventory_view/components/waffle/group_of_nodes.tsx b/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/group_of_nodes.tsx similarity index 100% rename from x-pack/plugins/infra/public/pages/metrics/inventory_view/components/waffle/group_of_nodes.tsx rename to x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/group_of_nodes.tsx diff --git a/x-pack/plugins/infra/public/pages/metrics/inventory_view/components/waffle/interval_label.tsx b/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/interval_label.tsx similarity index 100% rename from x-pack/plugins/infra/public/pages/metrics/inventory_view/components/waffle/interval_label.tsx rename to x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/interval_label.tsx diff --git a/x-pack/plugins/infra/public/pages/metrics/inventory_view/components/waffle/legend.tsx b/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/legend.tsx similarity index 100% rename from x-pack/plugins/infra/public/pages/metrics/inventory_view/components/waffle/legend.tsx rename to x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/legend.tsx diff --git a/x-pack/plugins/infra/public/pages/metrics/inventory_view/components/waffle/legend_controls.tsx b/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/legend_controls.tsx similarity index 100% rename from x-pack/plugins/infra/public/pages/metrics/inventory_view/components/waffle/legend_controls.tsx rename to x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/legend_controls.tsx diff --git a/x-pack/plugins/infra/public/pages/metrics/inventory_view/components/waffle/map.tsx b/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/map.tsx similarity index 100% rename from x-pack/plugins/infra/public/pages/metrics/inventory_view/components/waffle/map.tsx rename to x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/map.tsx diff --git a/x-pack/plugins/infra/public/pages/metrics/inventory_view/components/waffle/metric_control/custom_metric_form.tsx b/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/metric_control/custom_metric_form.tsx similarity index 100% rename from x-pack/plugins/infra/public/pages/metrics/inventory_view/components/waffle/metric_control/custom_metric_form.tsx rename to x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/metric_control/custom_metric_form.tsx diff --git a/x-pack/plugins/infra/public/pages/metrics/inventory_view/components/waffle/metric_control/index.tsx b/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/metric_control/index.tsx similarity index 100% rename from x-pack/plugins/infra/public/pages/metrics/inventory_view/components/waffle/metric_control/index.tsx rename to x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/metric_control/index.tsx diff --git a/x-pack/plugins/infra/public/pages/metrics/inventory_view/components/waffle/metric_control/metrics_context_menu.tsx b/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/metric_control/metrics_context_menu.tsx similarity index 100% rename from x-pack/plugins/infra/public/pages/metrics/inventory_view/components/waffle/metric_control/metrics_context_menu.tsx rename to x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/metric_control/metrics_context_menu.tsx diff --git a/x-pack/plugins/infra/public/pages/metrics/inventory_view/components/waffle/metric_control/metrics_edit_mode.tsx b/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/metric_control/metrics_edit_mode.tsx similarity index 100% rename from x-pack/plugins/infra/public/pages/metrics/inventory_view/components/waffle/metric_control/metrics_edit_mode.tsx rename to x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/metric_control/metrics_edit_mode.tsx diff --git a/x-pack/plugins/infra/public/pages/metrics/inventory_view/components/waffle/metric_control/mode_switcher.tsx b/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/metric_control/mode_switcher.tsx similarity index 100% rename from x-pack/plugins/infra/public/pages/metrics/inventory_view/components/waffle/metric_control/mode_switcher.tsx rename to x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/metric_control/mode_switcher.tsx diff --git a/x-pack/plugins/infra/public/pages/metrics/inventory_view/components/waffle/metric_control/types.ts b/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/metric_control/types.ts similarity index 100% rename from x-pack/plugins/infra/public/pages/metrics/inventory_view/components/waffle/metric_control/types.ts rename to x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/metric_control/types.ts diff --git a/x-pack/plugins/infra/public/pages/metrics/inventory_view/components/waffle/node.tsx b/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/node.tsx similarity index 100% rename from x-pack/plugins/infra/public/pages/metrics/inventory_view/components/waffle/node.tsx rename to x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/node.tsx diff --git a/x-pack/plugins/infra/public/pages/metrics/inventory_view/components/waffle/node_context_menu.tsx b/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/node_context_menu.tsx similarity index 100% rename from x-pack/plugins/infra/public/pages/metrics/inventory_view/components/waffle/node_context_menu.tsx rename to x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/node_context_menu.tsx diff --git a/x-pack/plugins/infra/public/pages/metrics/inventory_view/components/waffle/node_square.tsx b/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/node_square.tsx similarity index 100% rename from x-pack/plugins/infra/public/pages/metrics/inventory_view/components/waffle/node_square.tsx rename to x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/node_square.tsx diff --git a/x-pack/plugins/infra/public/pages/metrics/inventory_view/components/waffle/palette_preview.tsx b/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/palette_preview.tsx similarity index 100% rename from x-pack/plugins/infra/public/pages/metrics/inventory_view/components/waffle/palette_preview.tsx rename to x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/palette_preview.tsx diff --git a/x-pack/plugins/infra/public/pages/metrics/inventory_view/components/waffle/stepped_gradient_legend.tsx b/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/stepped_gradient_legend.tsx similarity index 100% rename from x-pack/plugins/infra/public/pages/metrics/inventory_view/components/waffle/stepped_gradient_legend.tsx rename to x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/stepped_gradient_legend.tsx diff --git a/x-pack/plugins/infra/public/pages/metrics/inventory_view/components/waffle/steps_legend.tsx b/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/steps_legend.tsx similarity index 100% rename from x-pack/plugins/infra/public/pages/metrics/inventory_view/components/waffle/steps_legend.tsx rename to x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/steps_legend.tsx diff --git a/x-pack/plugins/infra/public/pages/metrics/inventory_view/components/waffle/swatch_label.tsx b/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/swatch_label.tsx similarity index 100% rename from x-pack/plugins/infra/public/pages/metrics/inventory_view/components/waffle/swatch_label.tsx rename to x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/swatch_label.tsx diff --git a/x-pack/plugins/infra/public/pages/metrics/inventory_view/components/waffle/view_switcher.tsx b/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/view_switcher.tsx similarity index 100% rename from x-pack/plugins/infra/public/pages/metrics/inventory_view/components/waffle/view_switcher.tsx rename to x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/view_switcher.tsx diff --git a/x-pack/plugins/infra/public/pages/metrics/inventory_view/components/waffle/waffle_accounts_controls.tsx b/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/waffle_accounts_controls.tsx similarity index 100% rename from x-pack/plugins/infra/public/pages/metrics/inventory_view/components/waffle/waffle_accounts_controls.tsx rename to x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/waffle_accounts_controls.tsx diff --git a/x-pack/plugins/infra/public/pages/metrics/inventory_view/components/waffle/waffle_group_by_controls.tsx b/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/waffle_group_by_controls.tsx similarity index 100% rename from x-pack/plugins/infra/public/pages/metrics/inventory_view/components/waffle/waffle_group_by_controls.tsx rename to x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/waffle_group_by_controls.tsx diff --git a/x-pack/plugins/infra/public/pages/metrics/inventory_view/components/waffle/waffle_inventory_switcher.tsx b/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/waffle_inventory_switcher.tsx similarity index 100% rename from x-pack/plugins/infra/public/pages/metrics/inventory_view/components/waffle/waffle_inventory_switcher.tsx rename to x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/waffle_inventory_switcher.tsx diff --git a/x-pack/plugins/infra/public/pages/metrics/inventory_view/components/waffle/waffle_region_controls.tsx b/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/waffle_region_controls.tsx similarity index 100% rename from x-pack/plugins/infra/public/pages/metrics/inventory_view/components/waffle/waffle_region_controls.tsx rename to x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/waffle_region_controls.tsx diff --git a/x-pack/plugins/infra/public/pages/metrics/inventory_view/components/waffle/waffle_sort_controls.tsx b/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/waffle_sort_controls.tsx similarity index 100% rename from x-pack/plugins/infra/public/pages/metrics/inventory_view/components/waffle/waffle_sort_controls.tsx rename to x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/waffle_sort_controls.tsx diff --git a/x-pack/plugins/infra/public/pages/metrics/inventory_view/components/waffle/waffle_time_controls.tsx b/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/waffle_time_controls.tsx similarity index 100% rename from x-pack/plugins/infra/public/pages/metrics/inventory_view/components/waffle/waffle_time_controls.tsx rename to x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/waffle_time_controls.tsx diff --git a/x-pack/plugins/infra/public/pages/metrics/inventory_view/hooks/use_asset_details_flyout_url_state.ts b/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/hooks/use_asset_details_flyout_url_state.ts similarity index 100% rename from x-pack/plugins/infra/public/pages/metrics/inventory_view/hooks/use_asset_details_flyout_url_state.ts rename to x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/hooks/use_asset_details_flyout_url_state.ts diff --git a/x-pack/plugins/infra/public/pages/metrics/inventory_view/hooks/use_inventory_meta.ts b/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/hooks/use_inventory_meta.ts similarity index 100% rename from x-pack/plugins/infra/public/pages/metrics/inventory_view/hooks/use_inventory_meta.ts rename to x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/hooks/use_inventory_meta.ts diff --git a/x-pack/plugins/infra/public/pages/metrics/inventory_view/hooks/use_metrics_hosts_anomalies.ts b/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/hooks/use_metrics_hosts_anomalies.ts similarity index 100% rename from x-pack/plugins/infra/public/pages/metrics/inventory_view/hooks/use_metrics_hosts_anomalies.ts rename to x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/hooks/use_metrics_hosts_anomalies.ts diff --git a/x-pack/plugins/infra/public/pages/metrics/inventory_view/hooks/use_metrics_k8s_anomalies.ts b/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/hooks/use_metrics_k8s_anomalies.ts similarity index 100% rename from x-pack/plugins/infra/public/pages/metrics/inventory_view/hooks/use_metrics_k8s_anomalies.ts rename to x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/hooks/use_metrics_k8s_anomalies.ts diff --git a/x-pack/plugins/infra/public/pages/metrics/inventory_view/hooks/use_snaphot.ts b/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/hooks/use_snaphot.ts similarity index 100% rename from x-pack/plugins/infra/public/pages/metrics/inventory_view/hooks/use_snaphot.ts rename to x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/hooks/use_snaphot.ts diff --git a/x-pack/plugins/infra/public/pages/metrics/inventory_view/hooks/use_timeline.ts b/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/hooks/use_timeline.ts similarity index 100% rename from x-pack/plugins/infra/public/pages/metrics/inventory_view/hooks/use_timeline.ts rename to x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/hooks/use_timeline.ts diff --git a/x-pack/plugins/infra/public/pages/metrics/inventory_view/hooks/use_waffle_filters.test.ts b/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/hooks/use_waffle_filters.test.ts similarity index 100% rename from x-pack/plugins/infra/public/pages/metrics/inventory_view/hooks/use_waffle_filters.test.ts rename to x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/hooks/use_waffle_filters.test.ts diff --git a/x-pack/plugins/infra/public/pages/metrics/inventory_view/hooks/use_waffle_filters.ts b/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/hooks/use_waffle_filters.ts similarity index 100% rename from x-pack/plugins/infra/public/pages/metrics/inventory_view/hooks/use_waffle_filters.ts rename to x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/hooks/use_waffle_filters.ts diff --git a/x-pack/plugins/infra/public/pages/metrics/inventory_view/hooks/use_waffle_options.test.ts b/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/hooks/use_waffle_options.test.ts similarity index 100% rename from x-pack/plugins/infra/public/pages/metrics/inventory_view/hooks/use_waffle_options.test.ts rename to x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/hooks/use_waffle_options.test.ts diff --git a/x-pack/plugins/infra/public/pages/metrics/inventory_view/hooks/use_waffle_options.ts b/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/hooks/use_waffle_options.ts similarity index 100% rename from x-pack/plugins/infra/public/pages/metrics/inventory_view/hooks/use_waffle_options.ts rename to x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/hooks/use_waffle_options.ts diff --git a/x-pack/plugins/infra/public/pages/metrics/inventory_view/hooks/use_waffle_time.ts b/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/hooks/use_waffle_time.ts similarity index 100% rename from x-pack/plugins/infra/public/pages/metrics/inventory_view/hooks/use_waffle_time.ts rename to x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/hooks/use_waffle_time.ts diff --git a/x-pack/plugins/infra/public/pages/metrics/inventory_view/hooks/use_waffle_view_state.ts b/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/hooks/use_waffle_view_state.ts similarity index 100% rename from x-pack/plugins/infra/public/pages/metrics/inventory_view/hooks/use_waffle_view_state.ts rename to x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/hooks/use_waffle_view_state.ts diff --git a/x-pack/plugins/infra/public/pages/metrics/inventory_view/index.tsx b/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/index.tsx similarity index 100% rename from x-pack/plugins/infra/public/pages/metrics/inventory_view/index.tsx rename to x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/index.tsx diff --git a/x-pack/plugins/infra/public/pages/metrics/inventory_view/lib/apply_wafflemap_layout.ts b/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/lib/apply_wafflemap_layout.ts similarity index 100% rename from x-pack/plugins/infra/public/pages/metrics/inventory_view/lib/apply_wafflemap_layout.ts rename to x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/lib/apply_wafflemap_layout.ts diff --git a/x-pack/plugins/infra/public/pages/metrics/inventory_view/lib/calculate_bounds_from_nodes.test.ts b/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/lib/calculate_bounds_from_nodes.test.ts similarity index 100% rename from x-pack/plugins/infra/public/pages/metrics/inventory_view/lib/calculate_bounds_from_nodes.test.ts rename to x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/lib/calculate_bounds_from_nodes.test.ts diff --git a/x-pack/plugins/infra/public/pages/metrics/inventory_view/lib/calculate_bounds_from_nodes.ts b/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/lib/calculate_bounds_from_nodes.ts similarity index 100% rename from x-pack/plugins/infra/public/pages/metrics/inventory_view/lib/calculate_bounds_from_nodes.ts rename to x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/lib/calculate_bounds_from_nodes.ts diff --git a/x-pack/plugins/infra/public/pages/metrics/inventory_view/lib/color_from_value.ts b/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/lib/color_from_value.ts similarity index 100% rename from x-pack/plugins/infra/public/pages/metrics/inventory_view/lib/color_from_value.ts rename to x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/lib/color_from_value.ts diff --git a/x-pack/plugins/infra/public/pages/metrics/inventory_view/lib/convert_bounds_to_percents.ts b/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/lib/convert_bounds_to_percents.ts similarity index 100% rename from x-pack/plugins/infra/public/pages/metrics/inventory_view/lib/convert_bounds_to_percents.ts rename to x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/lib/convert_bounds_to_percents.ts diff --git a/x-pack/plugins/infra/public/pages/metrics/inventory_view/lib/create_inventory_metric_formatter.ts b/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/lib/create_inventory_metric_formatter.ts similarity index 100% rename from x-pack/plugins/infra/public/pages/metrics/inventory_view/lib/create_inventory_metric_formatter.ts rename to x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/lib/create_inventory_metric_formatter.ts diff --git a/x-pack/plugins/infra/public/pages/metrics/inventory_view/lib/create_legend.ts b/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/lib/create_legend.ts similarity index 100% rename from x-pack/plugins/infra/public/pages/metrics/inventory_view/lib/create_legend.ts rename to x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/lib/create_legend.ts diff --git a/x-pack/plugins/infra/public/pages/metrics/inventory_view/lib/field_to_display_name.ts b/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/lib/field_to_display_name.ts similarity index 100% rename from x-pack/plugins/infra/public/pages/metrics/inventory_view/lib/field_to_display_name.ts rename to x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/lib/field_to_display_name.ts diff --git a/x-pack/plugins/infra/public/pages/metrics/inventory_view/lib/get_color_palette.ts b/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/lib/get_color_palette.ts similarity index 100% rename from x-pack/plugins/infra/public/pages/metrics/inventory_view/lib/get_color_palette.ts rename to x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/lib/get_color_palette.ts diff --git a/x-pack/plugins/infra/public/pages/metrics/inventory_view/lib/navigate_to_uptime.ts b/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/lib/navigate_to_uptime.ts similarity index 100% rename from x-pack/plugins/infra/public/pages/metrics/inventory_view/lib/navigate_to_uptime.ts rename to x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/lib/navigate_to_uptime.ts diff --git a/x-pack/plugins/infra/public/pages/metrics/inventory_view/lib/nodes_to_wafflemap.ts b/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/lib/nodes_to_wafflemap.ts similarity index 100% rename from x-pack/plugins/infra/public/pages/metrics/inventory_view/lib/nodes_to_wafflemap.ts rename to x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/lib/nodes_to_wafflemap.ts diff --git a/x-pack/plugins/infra/public/pages/metrics/inventory_view/lib/size_of_squares.ts b/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/lib/size_of_squares.ts similarity index 100% rename from x-pack/plugins/infra/public/pages/metrics/inventory_view/lib/size_of_squares.ts rename to x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/lib/size_of_squares.ts diff --git a/x-pack/plugins/infra/public/pages/metrics/inventory_view/lib/sort_nodes.test.ts b/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/lib/sort_nodes.test.ts similarity index 100% rename from x-pack/plugins/infra/public/pages/metrics/inventory_view/lib/sort_nodes.test.ts rename to x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/lib/sort_nodes.test.ts diff --git a/x-pack/plugins/infra/public/pages/metrics/inventory_view/lib/sort_nodes.ts b/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/lib/sort_nodes.ts similarity index 100% rename from x-pack/plugins/infra/public/pages/metrics/inventory_view/lib/sort_nodes.ts rename to x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/lib/sort_nodes.ts diff --git a/x-pack/plugins/infra/public/pages/metrics/inventory_view/lib/type_guards.ts b/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/lib/type_guards.ts similarity index 100% rename from x-pack/plugins/infra/public/pages/metrics/inventory_view/lib/type_guards.ts rename to x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/lib/type_guards.ts diff --git a/x-pack/plugins/infra/public/pages/metrics/metric_detail/asset_detail_page.tsx b/x-pack/plugins/observability_solution/infra/public/pages/metrics/metric_detail/asset_detail_page.tsx similarity index 100% rename from x-pack/plugins/infra/public/pages/metrics/metric_detail/asset_detail_page.tsx rename to x-pack/plugins/observability_solution/infra/public/pages/metrics/metric_detail/asset_detail_page.tsx diff --git a/x-pack/plugins/infra/public/pages/metrics/metric_detail/components/chart_section_vis.tsx b/x-pack/plugins/observability_solution/infra/public/pages/metrics/metric_detail/components/chart_section_vis.tsx similarity index 100% rename from x-pack/plugins/infra/public/pages/metrics/metric_detail/components/chart_section_vis.tsx rename to x-pack/plugins/observability_solution/infra/public/pages/metrics/metric_detail/components/chart_section_vis.tsx diff --git a/x-pack/plugins/infra/public/pages/metrics/metric_detail/components/error_message.tsx b/x-pack/plugins/observability_solution/infra/public/pages/metrics/metric_detail/components/error_message.tsx similarity index 100% rename from x-pack/plugins/infra/public/pages/metrics/metric_detail/components/error_message.tsx rename to x-pack/plugins/observability_solution/infra/public/pages/metrics/metric_detail/components/error_message.tsx diff --git a/x-pack/plugins/infra/public/pages/metrics/metric_detail/components/gauges_section_vis.tsx b/x-pack/plugins/observability_solution/infra/public/pages/metrics/metric_detail/components/gauges_section_vis.tsx similarity index 100% rename from x-pack/plugins/infra/public/pages/metrics/metric_detail/components/gauges_section_vis.tsx rename to x-pack/plugins/observability_solution/infra/public/pages/metrics/metric_detail/components/gauges_section_vis.tsx diff --git a/x-pack/plugins/infra/public/pages/metrics/metric_detail/components/helpers.ts b/x-pack/plugins/observability_solution/infra/public/pages/metrics/metric_detail/components/helpers.ts similarity index 100% rename from x-pack/plugins/infra/public/pages/metrics/metric_detail/components/helpers.ts rename to x-pack/plugins/observability_solution/infra/public/pages/metrics/metric_detail/components/helpers.ts diff --git a/x-pack/plugins/infra/public/pages/metrics/metric_detail/components/invalid_node.tsx b/x-pack/plugins/observability_solution/infra/public/pages/metrics/metric_detail/components/invalid_node.tsx similarity index 100% rename from x-pack/plugins/infra/public/pages/metrics/metric_detail/components/invalid_node.tsx rename to x-pack/plugins/observability_solution/infra/public/pages/metrics/metric_detail/components/invalid_node.tsx diff --git a/x-pack/plugins/infra/public/pages/metrics/metric_detail/components/layout.tsx b/x-pack/plugins/observability_solution/infra/public/pages/metrics/metric_detail/components/layout.tsx similarity index 100% rename from x-pack/plugins/infra/public/pages/metrics/metric_detail/components/layout.tsx rename to x-pack/plugins/observability_solution/infra/public/pages/metrics/metric_detail/components/layout.tsx diff --git a/x-pack/plugins/infra/public/pages/metrics/metric_detail/components/layouts/aws_ec2_layout.tsx b/x-pack/plugins/observability_solution/infra/public/pages/metrics/metric_detail/components/layouts/aws_ec2_layout.tsx similarity index 100% rename from x-pack/plugins/infra/public/pages/metrics/metric_detail/components/layouts/aws_ec2_layout.tsx rename to x-pack/plugins/observability_solution/infra/public/pages/metrics/metric_detail/components/layouts/aws_ec2_layout.tsx diff --git a/x-pack/plugins/infra/public/pages/metrics/metric_detail/components/layouts/aws_rds_layout.tsx b/x-pack/plugins/observability_solution/infra/public/pages/metrics/metric_detail/components/layouts/aws_rds_layout.tsx similarity index 100% rename from x-pack/plugins/infra/public/pages/metrics/metric_detail/components/layouts/aws_rds_layout.tsx rename to x-pack/plugins/observability_solution/infra/public/pages/metrics/metric_detail/components/layouts/aws_rds_layout.tsx diff --git a/x-pack/plugins/infra/public/pages/metrics/metric_detail/components/layouts/aws_s3_layout.tsx b/x-pack/plugins/observability_solution/infra/public/pages/metrics/metric_detail/components/layouts/aws_s3_layout.tsx similarity index 100% rename from x-pack/plugins/infra/public/pages/metrics/metric_detail/components/layouts/aws_s3_layout.tsx rename to x-pack/plugins/observability_solution/infra/public/pages/metrics/metric_detail/components/layouts/aws_s3_layout.tsx diff --git a/x-pack/plugins/infra/public/pages/metrics/metric_detail/components/layouts/aws_sqs_layout.tsx b/x-pack/plugins/observability_solution/infra/public/pages/metrics/metric_detail/components/layouts/aws_sqs_layout.tsx similarity index 100% rename from x-pack/plugins/infra/public/pages/metrics/metric_detail/components/layouts/aws_sqs_layout.tsx rename to x-pack/plugins/observability_solution/infra/public/pages/metrics/metric_detail/components/layouts/aws_sqs_layout.tsx diff --git a/x-pack/plugins/infra/public/pages/metrics/metric_detail/components/layouts/container_layout.tsx b/x-pack/plugins/observability_solution/infra/public/pages/metrics/metric_detail/components/layouts/container_layout.tsx similarity index 100% rename from x-pack/plugins/infra/public/pages/metrics/metric_detail/components/layouts/container_layout.tsx rename to x-pack/plugins/observability_solution/infra/public/pages/metrics/metric_detail/components/layouts/container_layout.tsx diff --git a/x-pack/plugins/infra/public/pages/metrics/metric_detail/components/layouts/nginx_layout_sections.tsx b/x-pack/plugins/observability_solution/infra/public/pages/metrics/metric_detail/components/layouts/nginx_layout_sections.tsx similarity index 100% rename from x-pack/plugins/infra/public/pages/metrics/metric_detail/components/layouts/nginx_layout_sections.tsx rename to x-pack/plugins/observability_solution/infra/public/pages/metrics/metric_detail/components/layouts/nginx_layout_sections.tsx diff --git a/x-pack/plugins/infra/public/pages/metrics/metric_detail/components/layouts/pod_layout.tsx b/x-pack/plugins/observability_solution/infra/public/pages/metrics/metric_detail/components/layouts/pod_layout.tsx similarity index 100% rename from x-pack/plugins/infra/public/pages/metrics/metric_detail/components/layouts/pod_layout.tsx rename to x-pack/plugins/observability_solution/infra/public/pages/metrics/metric_detail/components/layouts/pod_layout.tsx diff --git a/x-pack/plugins/infra/public/pages/metrics/metric_detail/components/metadata_details.tsx b/x-pack/plugins/observability_solution/infra/public/pages/metrics/metric_detail/components/metadata_details.tsx similarity index 100% rename from x-pack/plugins/infra/public/pages/metrics/metric_detail/components/metadata_details.tsx rename to x-pack/plugins/observability_solution/infra/public/pages/metrics/metric_detail/components/metadata_details.tsx diff --git a/x-pack/plugins/infra/public/pages/metrics/metric_detail/components/node_details_page.tsx b/x-pack/plugins/observability_solution/infra/public/pages/metrics/metric_detail/components/node_details_page.tsx similarity index 100% rename from x-pack/plugins/infra/public/pages/metrics/metric_detail/components/node_details_page.tsx rename to x-pack/plugins/observability_solution/infra/public/pages/metrics/metric_detail/components/node_details_page.tsx diff --git a/x-pack/plugins/infra/public/pages/metrics/metric_detail/components/page_body.tsx b/x-pack/plugins/observability_solution/infra/public/pages/metrics/metric_detail/components/page_body.tsx similarity index 100% rename from x-pack/plugins/infra/public/pages/metrics/metric_detail/components/page_body.tsx rename to x-pack/plugins/observability_solution/infra/public/pages/metrics/metric_detail/components/page_body.tsx diff --git a/x-pack/plugins/infra/public/pages/metrics/metric_detail/components/page_error.test.tsx b/x-pack/plugins/observability_solution/infra/public/pages/metrics/metric_detail/components/page_error.test.tsx similarity index 100% rename from x-pack/plugins/infra/public/pages/metrics/metric_detail/components/page_error.test.tsx rename to x-pack/plugins/observability_solution/infra/public/pages/metrics/metric_detail/components/page_error.test.tsx diff --git a/x-pack/plugins/infra/public/pages/metrics/metric_detail/components/page_error.tsx b/x-pack/plugins/observability_solution/infra/public/pages/metrics/metric_detail/components/page_error.tsx similarity index 100% rename from x-pack/plugins/infra/public/pages/metrics/metric_detail/components/page_error.tsx rename to x-pack/plugins/observability_solution/infra/public/pages/metrics/metric_detail/components/page_error.tsx diff --git a/x-pack/plugins/infra/public/pages/metrics/metric_detail/components/section.tsx b/x-pack/plugins/observability_solution/infra/public/pages/metrics/metric_detail/components/section.tsx similarity index 97% rename from x-pack/plugins/infra/public/pages/metrics/metric_detail/components/section.tsx rename to x-pack/plugins/observability_solution/infra/public/pages/metrics/metric_detail/components/section.tsx index 4642a1981a2c1..504ca07ec0ca3 100644 --- a/x-pack/plugins/infra/public/pages/metrics/metric_detail/components/section.tsx +++ b/x-pack/plugins/observability_solution/infra/public/pages/metrics/metric_detail/components/section.tsx @@ -65,6 +65,7 @@ export const Section: FunctionComponent = ({ const childrenWithProps = Children.map(children, (child) => isValidElement(child) ? cloneElement(child, { + // @ts-expect-error upgrade typescript v4.9.5 metrics, onChangeRangeTime, isLiveStreaming, diff --git a/x-pack/plugins/infra/public/pages/metrics/metric_detail/components/series_chart.tsx b/x-pack/plugins/observability_solution/infra/public/pages/metrics/metric_detail/components/series_chart.tsx similarity index 100% rename from x-pack/plugins/infra/public/pages/metrics/metric_detail/components/series_chart.tsx rename to x-pack/plugins/observability_solution/infra/public/pages/metrics/metric_detail/components/series_chart.tsx diff --git a/x-pack/plugins/infra/public/pages/metrics/metric_detail/components/side_nav.tsx b/x-pack/plugins/observability_solution/infra/public/pages/metrics/metric_detail/components/side_nav.tsx similarity index 100% rename from x-pack/plugins/infra/public/pages/metrics/metric_detail/components/side_nav.tsx rename to x-pack/plugins/observability_solution/infra/public/pages/metrics/metric_detail/components/side_nav.tsx diff --git a/x-pack/plugins/infra/public/pages/metrics/metric_detail/components/sub_section.tsx b/x-pack/plugins/observability_solution/infra/public/pages/metrics/metric_detail/components/sub_section.tsx similarity index 96% rename from x-pack/plugins/infra/public/pages/metrics/metric_detail/components/sub_section.tsx rename to x-pack/plugins/observability_solution/infra/public/pages/metrics/metric_detail/components/sub_section.tsx index 10d8908c79374..4d66b822661d0 100644 --- a/x-pack/plugins/infra/public/pages/metrics/metric_detail/components/sub_section.tsx +++ b/x-pack/plugins/observability_solution/infra/public/pages/metrics/metric_detail/components/sub_section.tsx @@ -33,6 +33,7 @@ export const SubSection: FunctionComponent = ({ const childrenWithProps = Children.map(children, (child) => { if (isValidElement(child)) { return cloneElement(child, { + // @ts-expect-error upgrade typescript v4.9.5 metric, id, onChangeRangeTime, diff --git a/x-pack/plugins/infra/public/pages/metrics/metric_detail/components/time_controls.test.tsx b/x-pack/plugins/observability_solution/infra/public/pages/metrics/metric_detail/components/time_controls.test.tsx similarity index 100% rename from x-pack/plugins/infra/public/pages/metrics/metric_detail/components/time_controls.test.tsx rename to x-pack/plugins/observability_solution/infra/public/pages/metrics/metric_detail/components/time_controls.test.tsx diff --git a/x-pack/plugins/infra/public/pages/metrics/metric_detail/components/time_controls.tsx b/x-pack/plugins/observability_solution/infra/public/pages/metrics/metric_detail/components/time_controls.tsx similarity index 100% rename from x-pack/plugins/infra/public/pages/metrics/metric_detail/components/time_controls.tsx rename to x-pack/plugins/observability_solution/infra/public/pages/metrics/metric_detail/components/time_controls.tsx diff --git a/x-pack/plugins/infra/public/pages/metrics/metric_detail/containers/metadata_context.ts b/x-pack/plugins/observability_solution/infra/public/pages/metrics/metric_detail/containers/metadata_context.ts similarity index 100% rename from x-pack/plugins/infra/public/pages/metrics/metric_detail/containers/metadata_context.ts rename to x-pack/plugins/observability_solution/infra/public/pages/metrics/metric_detail/containers/metadata_context.ts diff --git a/x-pack/plugins/infra/public/pages/metrics/metric_detail/hooks/metrics_time.test.tsx b/x-pack/plugins/observability_solution/infra/public/pages/metrics/metric_detail/hooks/metrics_time.test.tsx similarity index 100% rename from x-pack/plugins/infra/public/pages/metrics/metric_detail/hooks/metrics_time.test.tsx rename to x-pack/plugins/observability_solution/infra/public/pages/metrics/metric_detail/hooks/metrics_time.test.tsx diff --git a/x-pack/plugins/infra/public/pages/metrics/metric_detail/hooks/use_metrics_time.ts b/x-pack/plugins/observability_solution/infra/public/pages/metrics/metric_detail/hooks/use_metrics_time.ts similarity index 100% rename from x-pack/plugins/infra/public/pages/metrics/metric_detail/hooks/use_metrics_time.ts rename to x-pack/plugins/observability_solution/infra/public/pages/metrics/metric_detail/hooks/use_metrics_time.ts diff --git a/x-pack/plugins/infra/public/pages/metrics/metric_detail/hooks/use_node_details.ts b/x-pack/plugins/observability_solution/infra/public/pages/metrics/metric_detail/hooks/use_node_details.ts similarity index 100% rename from x-pack/plugins/infra/public/pages/metrics/metric_detail/hooks/use_node_details.ts rename to x-pack/plugins/observability_solution/infra/public/pages/metrics/metric_detail/hooks/use_node_details.ts diff --git a/x-pack/plugins/infra/public/pages/metrics/metric_detail/index.tsx b/x-pack/plugins/observability_solution/infra/public/pages/metrics/metric_detail/index.tsx similarity index 100% rename from x-pack/plugins/infra/public/pages/metrics/metric_detail/index.tsx rename to x-pack/plugins/observability_solution/infra/public/pages/metrics/metric_detail/index.tsx diff --git a/x-pack/plugins/infra/public/pages/metrics/metric_detail/lib/get_filtered_metrics.ts b/x-pack/plugins/observability_solution/infra/public/pages/metrics/metric_detail/lib/get_filtered_metrics.ts similarity index 100% rename from x-pack/plugins/infra/public/pages/metrics/metric_detail/lib/get_filtered_metrics.ts rename to x-pack/plugins/observability_solution/infra/public/pages/metrics/metric_detail/lib/get_filtered_metrics.ts diff --git a/x-pack/plugins/infra/public/pages/metrics/metric_detail/lib/side_nav_context.ts b/x-pack/plugins/observability_solution/infra/public/pages/metrics/metric_detail/lib/side_nav_context.ts similarity index 100% rename from x-pack/plugins/infra/public/pages/metrics/metric_detail/lib/side_nav_context.ts rename to x-pack/plugins/observability_solution/infra/public/pages/metrics/metric_detail/lib/side_nav_context.ts diff --git a/x-pack/plugins/infra/public/pages/metrics/metric_detail/metric_detail_page.tsx b/x-pack/plugins/observability_solution/infra/public/pages/metrics/metric_detail/metric_detail_page.tsx similarity index 100% rename from x-pack/plugins/infra/public/pages/metrics/metric_detail/metric_detail_page.tsx rename to x-pack/plugins/observability_solution/infra/public/pages/metrics/metric_detail/metric_detail_page.tsx diff --git a/x-pack/plugins/infra/public/pages/metrics/metric_detail/types.ts b/x-pack/plugins/observability_solution/infra/public/pages/metrics/metric_detail/types.ts similarity index 100% rename from x-pack/plugins/infra/public/pages/metrics/metric_detail/types.ts rename to x-pack/plugins/observability_solution/infra/public/pages/metrics/metric_detail/types.ts diff --git a/x-pack/plugins/infra/public/pages/metrics/metrics_explorer/components/aggregation.tsx b/x-pack/plugins/observability_solution/infra/public/pages/metrics/metrics_explorer/components/aggregation.tsx similarity index 100% rename from x-pack/plugins/infra/public/pages/metrics/metrics_explorer/components/aggregation.tsx rename to x-pack/plugins/observability_solution/infra/public/pages/metrics/metrics_explorer/components/aggregation.tsx diff --git a/x-pack/plugins/infra/public/pages/metrics/metrics_explorer/components/chart.tsx b/x-pack/plugins/observability_solution/infra/public/pages/metrics/metrics_explorer/components/chart.tsx similarity index 100% rename from x-pack/plugins/infra/public/pages/metrics/metrics_explorer/components/chart.tsx rename to x-pack/plugins/observability_solution/infra/public/pages/metrics/metrics_explorer/components/chart.tsx diff --git a/x-pack/plugins/infra/public/pages/metrics/metrics_explorer/components/chart_context_menu.test.tsx b/x-pack/plugins/observability_solution/infra/public/pages/metrics/metrics_explorer/components/chart_context_menu.test.tsx similarity index 100% rename from x-pack/plugins/infra/public/pages/metrics/metrics_explorer/components/chart_context_menu.test.tsx rename to x-pack/plugins/observability_solution/infra/public/pages/metrics/metrics_explorer/components/chart_context_menu.test.tsx diff --git a/x-pack/plugins/infra/public/pages/metrics/metrics_explorer/components/chart_context_menu.tsx b/x-pack/plugins/observability_solution/infra/public/pages/metrics/metrics_explorer/components/chart_context_menu.tsx similarity index 100% rename from x-pack/plugins/infra/public/pages/metrics/metrics_explorer/components/chart_context_menu.tsx rename to x-pack/plugins/observability_solution/infra/public/pages/metrics/metrics_explorer/components/chart_context_menu.tsx diff --git a/x-pack/plugins/infra/public/pages/metrics/metrics_explorer/components/chart_options.tsx b/x-pack/plugins/observability_solution/infra/public/pages/metrics/metrics_explorer/components/chart_options.tsx similarity index 100% rename from x-pack/plugins/infra/public/pages/metrics/metrics_explorer/components/chart_options.tsx rename to x-pack/plugins/observability_solution/infra/public/pages/metrics/metrics_explorer/components/chart_options.tsx diff --git a/x-pack/plugins/infra/public/pages/metrics/metrics_explorer/components/chart_title.tsx b/x-pack/plugins/observability_solution/infra/public/pages/metrics/metrics_explorer/components/chart_title.tsx similarity index 100% rename from x-pack/plugins/infra/public/pages/metrics/metrics_explorer/components/chart_title.tsx rename to x-pack/plugins/observability_solution/infra/public/pages/metrics/metrics_explorer/components/chart_title.tsx diff --git a/x-pack/plugins/infra/public/pages/metrics/metrics_explorer/components/charts.tsx b/x-pack/plugins/observability_solution/infra/public/pages/metrics/metrics_explorer/components/charts.tsx similarity index 100% rename from x-pack/plugins/infra/public/pages/metrics/metrics_explorer/components/charts.tsx rename to x-pack/plugins/observability_solution/infra/public/pages/metrics/metrics_explorer/components/charts.tsx diff --git a/x-pack/plugins/infra/public/pages/metrics/metrics_explorer/components/empty_chart.tsx b/x-pack/plugins/observability_solution/infra/public/pages/metrics/metrics_explorer/components/empty_chart.tsx similarity index 100% rename from x-pack/plugins/infra/public/pages/metrics/metrics_explorer/components/empty_chart.tsx rename to x-pack/plugins/observability_solution/infra/public/pages/metrics/metrics_explorer/components/empty_chart.tsx diff --git a/x-pack/plugins/infra/public/pages/metrics/metrics_explorer/components/group_by.tsx b/x-pack/plugins/observability_solution/infra/public/pages/metrics/metrics_explorer/components/group_by.tsx similarity index 100% rename from x-pack/plugins/infra/public/pages/metrics/metrics_explorer/components/group_by.tsx rename to x-pack/plugins/observability_solution/infra/public/pages/metrics/metrics_explorer/components/group_by.tsx diff --git a/x-pack/plugins/infra/public/pages/metrics/metrics_explorer/components/helpers/calculate_domain.ts b/x-pack/plugins/observability_solution/infra/public/pages/metrics/metrics_explorer/components/helpers/calculate_domain.ts similarity index 100% rename from x-pack/plugins/infra/public/pages/metrics/metrics_explorer/components/helpers/calculate_domain.ts rename to x-pack/plugins/observability_solution/infra/public/pages/metrics/metrics_explorer/components/helpers/calculate_domain.ts diff --git a/x-pack/plugins/infra/public/pages/metrics/metrics_explorer/components/helpers/calculate_domian.test.ts b/x-pack/plugins/observability_solution/infra/public/pages/metrics/metrics_explorer/components/helpers/calculate_domian.test.ts similarity index 100% rename from x-pack/plugins/infra/public/pages/metrics/metrics_explorer/components/helpers/calculate_domian.test.ts rename to x-pack/plugins/observability_solution/infra/public/pages/metrics/metrics_explorer/components/helpers/calculate_domian.test.ts diff --git a/x-pack/plugins/infra/public/pages/metrics/metrics_explorer/components/helpers/create_formatter_for_metric.ts b/x-pack/plugins/observability_solution/infra/public/pages/metrics/metrics_explorer/components/helpers/create_formatter_for_metric.ts similarity index 100% rename from x-pack/plugins/infra/public/pages/metrics/metrics_explorer/components/helpers/create_formatter_for_metric.ts rename to x-pack/plugins/observability_solution/infra/public/pages/metrics/metrics_explorer/components/helpers/create_formatter_for_metric.ts diff --git a/x-pack/plugins/infra/public/pages/metrics/metrics_explorer/components/helpers/create_formatter_for_metrics.test.ts b/x-pack/plugins/observability_solution/infra/public/pages/metrics/metrics_explorer/components/helpers/create_formatter_for_metrics.test.ts similarity index 100% rename from x-pack/plugins/infra/public/pages/metrics/metrics_explorer/components/helpers/create_formatter_for_metrics.test.ts rename to x-pack/plugins/observability_solution/infra/public/pages/metrics/metrics_explorer/components/helpers/create_formatter_for_metrics.test.ts diff --git a/x-pack/plugins/infra/public/pages/metrics/metrics_explorer/components/helpers/create_metric_label.test.ts b/x-pack/plugins/observability_solution/infra/public/pages/metrics/metrics_explorer/components/helpers/create_metric_label.test.ts similarity index 100% rename from x-pack/plugins/infra/public/pages/metrics/metrics_explorer/components/helpers/create_metric_label.test.ts rename to x-pack/plugins/observability_solution/infra/public/pages/metrics/metrics_explorer/components/helpers/create_metric_label.test.ts diff --git a/x-pack/plugins/infra/public/pages/metrics/metrics_explorer/components/helpers/create_metric_label.ts b/x-pack/plugins/observability_solution/infra/public/pages/metrics/metrics_explorer/components/helpers/create_metric_label.ts similarity index 100% rename from x-pack/plugins/infra/public/pages/metrics/metrics_explorer/components/helpers/create_metric_label.ts rename to x-pack/plugins/observability_solution/infra/public/pages/metrics/metrics_explorer/components/helpers/create_metric_label.ts diff --git a/x-pack/plugins/infra/public/pages/metrics/metrics_explorer/components/helpers/create_tsvb_link.test.ts b/x-pack/plugins/observability_solution/infra/public/pages/metrics/metrics_explorer/components/helpers/create_tsvb_link.test.ts similarity index 100% rename from x-pack/plugins/infra/public/pages/metrics/metrics_explorer/components/helpers/create_tsvb_link.test.ts rename to x-pack/plugins/observability_solution/infra/public/pages/metrics/metrics_explorer/components/helpers/create_tsvb_link.test.ts diff --git a/x-pack/plugins/infra/public/pages/metrics/metrics_explorer/components/helpers/create_tsvb_link.ts b/x-pack/plugins/observability_solution/infra/public/pages/metrics/metrics_explorer/components/helpers/create_tsvb_link.ts similarity index 100% rename from x-pack/plugins/infra/public/pages/metrics/metrics_explorer/components/helpers/create_tsvb_link.ts rename to x-pack/plugins/observability_solution/infra/public/pages/metrics/metrics_explorer/components/helpers/create_tsvb_link.ts diff --git a/x-pack/plugins/infra/public/pages/metrics/metrics_explorer/components/helpers/get_metric_id.ts b/x-pack/plugins/observability_solution/infra/public/pages/metrics/metrics_explorer/components/helpers/get_metric_id.ts similarity index 100% rename from x-pack/plugins/infra/public/pages/metrics/metrics_explorer/components/helpers/get_metric_id.ts rename to x-pack/plugins/observability_solution/infra/public/pages/metrics/metrics_explorer/components/helpers/get_metric_id.ts diff --git a/x-pack/plugins/infra/public/pages/metrics/metrics_explorer/components/helpers/metric_to_format.test.ts b/x-pack/plugins/observability_solution/infra/public/pages/metrics/metrics_explorer/components/helpers/metric_to_format.test.ts similarity index 100% rename from x-pack/plugins/infra/public/pages/metrics/metrics_explorer/components/helpers/metric_to_format.test.ts rename to x-pack/plugins/observability_solution/infra/public/pages/metrics/metrics_explorer/components/helpers/metric_to_format.test.ts diff --git a/x-pack/plugins/infra/public/pages/metrics/metrics_explorer/components/helpers/metric_to_format.ts b/x-pack/plugins/observability_solution/infra/public/pages/metrics/metrics_explorer/components/helpers/metric_to_format.ts similarity index 100% rename from x-pack/plugins/infra/public/pages/metrics/metrics_explorer/components/helpers/metric_to_format.ts rename to x-pack/plugins/observability_solution/infra/public/pages/metrics/metrics_explorer/components/helpers/metric_to_format.ts diff --git a/x-pack/plugins/infra/public/pages/metrics/metrics_explorer/components/kuery_bar.tsx b/x-pack/plugins/observability_solution/infra/public/pages/metrics/metrics_explorer/components/kuery_bar.tsx similarity index 100% rename from x-pack/plugins/infra/public/pages/metrics/metrics_explorer/components/kuery_bar.tsx rename to x-pack/plugins/observability_solution/infra/public/pages/metrics/metrics_explorer/components/kuery_bar.tsx diff --git a/x-pack/plugins/infra/public/pages/metrics/metrics_explorer/components/metrics.tsx b/x-pack/plugins/observability_solution/infra/public/pages/metrics/metrics_explorer/components/metrics.tsx similarity index 100% rename from x-pack/plugins/infra/public/pages/metrics/metrics_explorer/components/metrics.tsx rename to x-pack/plugins/observability_solution/infra/public/pages/metrics/metrics_explorer/components/metrics.tsx diff --git a/x-pack/plugins/infra/public/pages/metrics/metrics_explorer/components/no_metrics.tsx b/x-pack/plugins/observability_solution/infra/public/pages/metrics/metrics_explorer/components/no_metrics.tsx similarity index 100% rename from x-pack/plugins/infra/public/pages/metrics/metrics_explorer/components/no_metrics.tsx rename to x-pack/plugins/observability_solution/infra/public/pages/metrics/metrics_explorer/components/no_metrics.tsx diff --git a/x-pack/plugins/infra/public/pages/metrics/metrics_explorer/components/saved_views.tsx b/x-pack/plugins/observability_solution/infra/public/pages/metrics/metrics_explorer/components/saved_views.tsx similarity index 100% rename from x-pack/plugins/infra/public/pages/metrics/metrics_explorer/components/saved_views.tsx rename to x-pack/plugins/observability_solution/infra/public/pages/metrics/metrics_explorer/components/saved_views.tsx diff --git a/x-pack/plugins/infra/public/pages/metrics/metrics_explorer/components/series_chart.tsx b/x-pack/plugins/observability_solution/infra/public/pages/metrics/metrics_explorer/components/series_chart.tsx similarity index 100% rename from x-pack/plugins/infra/public/pages/metrics/metrics_explorer/components/series_chart.tsx rename to x-pack/plugins/observability_solution/infra/public/pages/metrics/metrics_explorer/components/series_chart.tsx diff --git a/x-pack/plugins/infra/public/pages/metrics/metrics_explorer/components/toolbar.tsx b/x-pack/plugins/observability_solution/infra/public/pages/metrics/metrics_explorer/components/toolbar.tsx similarity index 100% rename from x-pack/plugins/infra/public/pages/metrics/metrics_explorer/components/toolbar.tsx rename to x-pack/plugins/observability_solution/infra/public/pages/metrics/metrics_explorer/components/toolbar.tsx diff --git a/x-pack/plugins/infra/public/pages/metrics/metrics_explorer/hooks/use_metric_explorer_state.test.tsx b/x-pack/plugins/observability_solution/infra/public/pages/metrics/metrics_explorer/hooks/use_metric_explorer_state.test.tsx similarity index 100% rename from x-pack/plugins/infra/public/pages/metrics/metrics_explorer/hooks/use_metric_explorer_state.test.tsx rename to x-pack/plugins/observability_solution/infra/public/pages/metrics/metrics_explorer/hooks/use_metric_explorer_state.test.tsx diff --git a/x-pack/plugins/infra/public/pages/metrics/metrics_explorer/hooks/use_metric_explorer_state.ts b/x-pack/plugins/observability_solution/infra/public/pages/metrics/metrics_explorer/hooks/use_metric_explorer_state.ts similarity index 100% rename from x-pack/plugins/infra/public/pages/metrics/metrics_explorer/hooks/use_metric_explorer_state.ts rename to x-pack/plugins/observability_solution/infra/public/pages/metrics/metrics_explorer/hooks/use_metric_explorer_state.ts diff --git a/x-pack/plugins/infra/public/pages/metrics/metrics_explorer/hooks/use_metrics_explorer_data.test.tsx b/x-pack/plugins/observability_solution/infra/public/pages/metrics/metrics_explorer/hooks/use_metrics_explorer_data.test.tsx similarity index 100% rename from x-pack/plugins/infra/public/pages/metrics/metrics_explorer/hooks/use_metrics_explorer_data.test.tsx rename to x-pack/plugins/observability_solution/infra/public/pages/metrics/metrics_explorer/hooks/use_metrics_explorer_data.test.tsx diff --git a/x-pack/plugins/infra/public/pages/metrics/metrics_explorer/hooks/use_metrics_explorer_data.ts b/x-pack/plugins/observability_solution/infra/public/pages/metrics/metrics_explorer/hooks/use_metrics_explorer_data.ts similarity index 100% rename from x-pack/plugins/infra/public/pages/metrics/metrics_explorer/hooks/use_metrics_explorer_data.ts rename to x-pack/plugins/observability_solution/infra/public/pages/metrics/metrics_explorer/hooks/use_metrics_explorer_data.ts diff --git a/x-pack/plugins/infra/public/pages/metrics/metrics_explorer/hooks/use_metrics_explorer_options.test.tsx b/x-pack/plugins/observability_solution/infra/public/pages/metrics/metrics_explorer/hooks/use_metrics_explorer_options.test.tsx similarity index 100% rename from x-pack/plugins/infra/public/pages/metrics/metrics_explorer/hooks/use_metrics_explorer_options.test.tsx rename to x-pack/plugins/observability_solution/infra/public/pages/metrics/metrics_explorer/hooks/use_metrics_explorer_options.test.tsx diff --git a/x-pack/plugins/infra/public/pages/metrics/metrics_explorer/hooks/use_metrics_explorer_options.ts b/x-pack/plugins/observability_solution/infra/public/pages/metrics/metrics_explorer/hooks/use_metrics_explorer_options.ts similarity index 100% rename from x-pack/plugins/infra/public/pages/metrics/metrics_explorer/hooks/use_metrics_explorer_options.ts rename to x-pack/plugins/observability_solution/infra/public/pages/metrics/metrics_explorer/hooks/use_metrics_explorer_options.ts diff --git a/x-pack/plugins/infra/public/pages/metrics/metrics_explorer/index.tsx b/x-pack/plugins/observability_solution/infra/public/pages/metrics/metrics_explorer/index.tsx similarity index 100% rename from x-pack/plugins/infra/public/pages/metrics/metrics_explorer/index.tsx rename to x-pack/plugins/observability_solution/infra/public/pages/metrics/metrics_explorer/index.tsx diff --git a/x-pack/plugins/infra/public/pages/metrics/page_template.tsx b/x-pack/plugins/observability_solution/infra/public/pages/metrics/page_template.tsx similarity index 100% rename from x-pack/plugins/infra/public/pages/metrics/page_template.tsx rename to x-pack/plugins/observability_solution/infra/public/pages/metrics/page_template.tsx diff --git a/x-pack/plugins/infra/public/pages/metrics/settings.tsx b/x-pack/plugins/observability_solution/infra/public/pages/metrics/settings.tsx similarity index 100% rename from x-pack/plugins/infra/public/pages/metrics/settings.tsx rename to x-pack/plugins/observability_solution/infra/public/pages/metrics/settings.tsx diff --git a/x-pack/plugins/infra/public/pages/metrics/settings/features_configuration_panel.tsx b/x-pack/plugins/observability_solution/infra/public/pages/metrics/settings/features_configuration_panel.tsx similarity index 100% rename from x-pack/plugins/infra/public/pages/metrics/settings/features_configuration_panel.tsx rename to x-pack/plugins/observability_solution/infra/public/pages/metrics/settings/features_configuration_panel.tsx diff --git a/x-pack/plugins/infra/public/pages/metrics/settings/indices_configuration_form_state.ts b/x-pack/plugins/observability_solution/infra/public/pages/metrics/settings/indices_configuration_form_state.ts similarity index 100% rename from x-pack/plugins/infra/public/pages/metrics/settings/indices_configuration_form_state.ts rename to x-pack/plugins/observability_solution/infra/public/pages/metrics/settings/indices_configuration_form_state.ts diff --git a/x-pack/plugins/infra/public/pages/metrics/settings/indices_configuration_panel.tsx b/x-pack/plugins/observability_solution/infra/public/pages/metrics/settings/indices_configuration_panel.tsx similarity index 100% rename from x-pack/plugins/infra/public/pages/metrics/settings/indices_configuration_panel.tsx rename to x-pack/plugins/observability_solution/infra/public/pages/metrics/settings/indices_configuration_panel.tsx diff --git a/x-pack/plugins/infra/public/pages/metrics/settings/input_fields.tsx b/x-pack/plugins/observability_solution/infra/public/pages/metrics/settings/input_fields.tsx similarity index 100% rename from x-pack/plugins/infra/public/pages/metrics/settings/input_fields.tsx rename to x-pack/plugins/observability_solution/infra/public/pages/metrics/settings/input_fields.tsx diff --git a/x-pack/plugins/infra/public/pages/metrics/settings/ml_configuration_panel.tsx b/x-pack/plugins/observability_solution/infra/public/pages/metrics/settings/ml_configuration_panel.tsx similarity index 100% rename from x-pack/plugins/infra/public/pages/metrics/settings/ml_configuration_panel.tsx rename to x-pack/plugins/observability_solution/infra/public/pages/metrics/settings/ml_configuration_panel.tsx diff --git a/x-pack/plugins/infra/public/pages/metrics/settings/name_configuration_panel.tsx b/x-pack/plugins/observability_solution/infra/public/pages/metrics/settings/name_configuration_panel.tsx similarity index 100% rename from x-pack/plugins/infra/public/pages/metrics/settings/name_configuration_panel.tsx rename to x-pack/plugins/observability_solution/infra/public/pages/metrics/settings/name_configuration_panel.tsx diff --git a/x-pack/plugins/infra/public/pages/metrics/settings/source_configuration_form_state.tsx b/x-pack/plugins/observability_solution/infra/public/pages/metrics/settings/source_configuration_form_state.tsx similarity index 100% rename from x-pack/plugins/infra/public/pages/metrics/settings/source_configuration_form_state.tsx rename to x-pack/plugins/observability_solution/infra/public/pages/metrics/settings/source_configuration_form_state.tsx diff --git a/x-pack/plugins/infra/public/pages/metrics/settings/source_configuration_settings.tsx b/x-pack/plugins/observability_solution/infra/public/pages/metrics/settings/source_configuration_settings.tsx similarity index 100% rename from x-pack/plugins/infra/public/pages/metrics/settings/source_configuration_settings.tsx rename to x-pack/plugins/observability_solution/infra/public/pages/metrics/settings/source_configuration_settings.tsx diff --git a/x-pack/plugins/infra/public/plugin.ts b/x-pack/plugins/observability_solution/infra/public/plugin.ts similarity index 98% rename from x-pack/plugins/infra/public/plugin.ts rename to x-pack/plugins/observability_solution/infra/public/plugin.ts index 9a42e728bacda..497d682d7532e 100644 --- a/x-pack/plugins/infra/public/plugin.ts +++ b/x-pack/plugins/observability_solution/infra/public/plugin.ts @@ -107,7 +107,7 @@ export class Plugin implements InfraClientPluginClass { core.settings.client.get$(enableInfrastructureHostsView), ]); - /** !! Need to be kept in sync with the deepLinks in x-pack/plugins/infra/public/plugin.ts */ + /** !! Need to be kept in sync with the deepLinks in x-pack/plugins/observability_solution/infra/public/plugin.ts */ pluginsSetup.observabilityShared.navigation.registerSections( startDep$AndHostViewFlag$.pipe( map( @@ -199,7 +199,7 @@ export class Plugin implements InfraClientPluginClass { euiIconType: 'logoObservability', order: 8100, appRoute: '/app/logs', - // !! Need to be kept in sync with the routes in x-pack/plugins/infra/public/pages/logs/page_content.tsx + // !! Need to be kept in sync with the routes in x-pack/plugins/observability_solution/infra/public/pages/logs/page_content.tsx deepLinks: [ { id: 'stream', @@ -241,7 +241,7 @@ export class Plugin implements InfraClientPluginClass { }); } - // !! Need to be kept in sync with the routes in x-pack/plugins/infra/public/pages/metrics/index.tsx + // !! Need to be kept in sync with the routes in x-pack/plugins/observability_solution/infra/public/pages/metrics/index.tsx const getInfraDeepLinks = ({ hostsEnabled, metricsExplorerEnabled, diff --git a/x-pack/plugins/infra/public/register_feature.ts b/x-pack/plugins/observability_solution/infra/public/register_feature.ts similarity index 100% rename from x-pack/plugins/infra/public/register_feature.ts rename to x-pack/plugins/observability_solution/infra/public/register_feature.ts diff --git a/x-pack/plugins/infra/public/services/inventory_views/index.ts b/x-pack/plugins/observability_solution/infra/public/services/inventory_views/index.ts similarity index 100% rename from x-pack/plugins/infra/public/services/inventory_views/index.ts rename to x-pack/plugins/observability_solution/infra/public/services/inventory_views/index.ts diff --git a/x-pack/plugins/infra/public/services/inventory_views/inventory_views_client.mock.ts b/x-pack/plugins/observability_solution/infra/public/services/inventory_views/inventory_views_client.mock.ts similarity index 100% rename from x-pack/plugins/infra/public/services/inventory_views/inventory_views_client.mock.ts rename to x-pack/plugins/observability_solution/infra/public/services/inventory_views/inventory_views_client.mock.ts diff --git a/x-pack/plugins/infra/public/services/inventory_views/inventory_views_client.ts b/x-pack/plugins/observability_solution/infra/public/services/inventory_views/inventory_views_client.ts similarity index 100% rename from x-pack/plugins/infra/public/services/inventory_views/inventory_views_client.ts rename to x-pack/plugins/observability_solution/infra/public/services/inventory_views/inventory_views_client.ts diff --git a/x-pack/plugins/infra/public/services/inventory_views/inventory_views_service.mock.ts b/x-pack/plugins/observability_solution/infra/public/services/inventory_views/inventory_views_service.mock.ts similarity index 100% rename from x-pack/plugins/infra/public/services/inventory_views/inventory_views_service.mock.ts rename to x-pack/plugins/observability_solution/infra/public/services/inventory_views/inventory_views_service.mock.ts diff --git a/x-pack/plugins/infra/public/services/inventory_views/inventory_views_service.ts b/x-pack/plugins/observability_solution/infra/public/services/inventory_views/inventory_views_service.ts similarity index 100% rename from x-pack/plugins/infra/public/services/inventory_views/inventory_views_service.ts rename to x-pack/plugins/observability_solution/infra/public/services/inventory_views/inventory_views_service.ts diff --git a/x-pack/plugins/infra/public/services/inventory_views/types.ts b/x-pack/plugins/observability_solution/infra/public/services/inventory_views/types.ts similarity index 100% rename from x-pack/plugins/infra/public/services/inventory_views/types.ts rename to x-pack/plugins/observability_solution/infra/public/services/inventory_views/types.ts diff --git a/x-pack/plugins/infra/public/services/metrics_explorer_views/index.ts b/x-pack/plugins/observability_solution/infra/public/services/metrics_explorer_views/index.ts similarity index 100% rename from x-pack/plugins/infra/public/services/metrics_explorer_views/index.ts rename to x-pack/plugins/observability_solution/infra/public/services/metrics_explorer_views/index.ts diff --git a/x-pack/plugins/infra/public/services/metrics_explorer_views/metrics_explorer_views_client.mock.ts b/x-pack/plugins/observability_solution/infra/public/services/metrics_explorer_views/metrics_explorer_views_client.mock.ts similarity index 100% rename from x-pack/plugins/infra/public/services/metrics_explorer_views/metrics_explorer_views_client.mock.ts rename to x-pack/plugins/observability_solution/infra/public/services/metrics_explorer_views/metrics_explorer_views_client.mock.ts diff --git a/x-pack/plugins/infra/public/services/metrics_explorer_views/metrics_explorer_views_client.ts b/x-pack/plugins/observability_solution/infra/public/services/metrics_explorer_views/metrics_explorer_views_client.ts similarity index 100% rename from x-pack/plugins/infra/public/services/metrics_explorer_views/metrics_explorer_views_client.ts rename to x-pack/plugins/observability_solution/infra/public/services/metrics_explorer_views/metrics_explorer_views_client.ts diff --git a/x-pack/plugins/infra/public/services/metrics_explorer_views/metrics_explorer_views_service.mock.ts b/x-pack/plugins/observability_solution/infra/public/services/metrics_explorer_views/metrics_explorer_views_service.mock.ts similarity index 100% rename from x-pack/plugins/infra/public/services/metrics_explorer_views/metrics_explorer_views_service.mock.ts rename to x-pack/plugins/observability_solution/infra/public/services/metrics_explorer_views/metrics_explorer_views_service.mock.ts diff --git a/x-pack/plugins/infra/public/services/metrics_explorer_views/metrics_explorer_views_service.ts b/x-pack/plugins/observability_solution/infra/public/services/metrics_explorer_views/metrics_explorer_views_service.ts similarity index 100% rename from x-pack/plugins/infra/public/services/metrics_explorer_views/metrics_explorer_views_service.ts rename to x-pack/plugins/observability_solution/infra/public/services/metrics_explorer_views/metrics_explorer_views_service.ts diff --git a/x-pack/plugins/infra/public/services/metrics_explorer_views/types.ts b/x-pack/plugins/observability_solution/infra/public/services/metrics_explorer_views/types.ts similarity index 100% rename from x-pack/plugins/infra/public/services/metrics_explorer_views/types.ts rename to x-pack/plugins/observability_solution/infra/public/services/metrics_explorer_views/types.ts diff --git a/x-pack/plugins/infra/public/services/telemetry/index.ts b/x-pack/plugins/observability_solution/infra/public/services/telemetry/index.ts similarity index 100% rename from x-pack/plugins/infra/public/services/telemetry/index.ts rename to x-pack/plugins/observability_solution/infra/public/services/telemetry/index.ts diff --git a/x-pack/plugins/infra/public/services/telemetry/telemetry_client.mock.ts b/x-pack/plugins/observability_solution/infra/public/services/telemetry/telemetry_client.mock.ts similarity index 100% rename from x-pack/plugins/infra/public/services/telemetry/telemetry_client.mock.ts rename to x-pack/plugins/observability_solution/infra/public/services/telemetry/telemetry_client.mock.ts diff --git a/x-pack/plugins/infra/public/services/telemetry/telemetry_client.ts b/x-pack/plugins/observability_solution/infra/public/services/telemetry/telemetry_client.ts similarity index 100% rename from x-pack/plugins/infra/public/services/telemetry/telemetry_client.ts rename to x-pack/plugins/observability_solution/infra/public/services/telemetry/telemetry_client.ts diff --git a/x-pack/plugins/infra/public/services/telemetry/telemetry_events.ts b/x-pack/plugins/observability_solution/infra/public/services/telemetry/telemetry_events.ts similarity index 100% rename from x-pack/plugins/infra/public/services/telemetry/telemetry_events.ts rename to x-pack/plugins/observability_solution/infra/public/services/telemetry/telemetry_events.ts diff --git a/x-pack/plugins/infra/public/services/telemetry/telemetry_service.mock.ts b/x-pack/plugins/observability_solution/infra/public/services/telemetry/telemetry_service.mock.ts similarity index 100% rename from x-pack/plugins/infra/public/services/telemetry/telemetry_service.mock.ts rename to x-pack/plugins/observability_solution/infra/public/services/telemetry/telemetry_service.mock.ts diff --git a/x-pack/plugins/infra/public/services/telemetry/telemetry_service.test.ts b/x-pack/plugins/observability_solution/infra/public/services/telemetry/telemetry_service.test.ts similarity index 100% rename from x-pack/plugins/infra/public/services/telemetry/telemetry_service.test.ts rename to x-pack/plugins/observability_solution/infra/public/services/telemetry/telemetry_service.test.ts diff --git a/x-pack/plugins/infra/public/services/telemetry/telemetry_service.ts b/x-pack/plugins/observability_solution/infra/public/services/telemetry/telemetry_service.ts similarity index 100% rename from x-pack/plugins/infra/public/services/telemetry/telemetry_service.ts rename to x-pack/plugins/observability_solution/infra/public/services/telemetry/telemetry_service.ts diff --git a/x-pack/plugins/infra/public/services/telemetry/types.ts b/x-pack/plugins/observability_solution/infra/public/services/telemetry/types.ts similarity index 100% rename from x-pack/plugins/infra/public/services/telemetry/types.ts rename to x-pack/plugins/observability_solution/infra/public/services/telemetry/types.ts diff --git a/x-pack/plugins/infra/public/test_utils/entries.ts b/x-pack/plugins/observability_solution/infra/public/test_utils/entries.ts similarity index 100% rename from x-pack/plugins/infra/public/test_utils/entries.ts rename to x-pack/plugins/observability_solution/infra/public/test_utils/entries.ts diff --git a/x-pack/plugins/infra/public/test_utils/index.ts b/x-pack/plugins/observability_solution/infra/public/test_utils/index.ts similarity index 100% rename from x-pack/plugins/infra/public/test_utils/index.ts rename to x-pack/plugins/observability_solution/infra/public/test_utils/index.ts diff --git a/x-pack/plugins/infra/public/test_utils/use_global_storybook_theme.tsx b/x-pack/plugins/observability_solution/infra/public/test_utils/use_global_storybook_theme.tsx similarity index 100% rename from x-pack/plugins/infra/public/test_utils/use_global_storybook_theme.tsx rename to x-pack/plugins/observability_solution/infra/public/test_utils/use_global_storybook_theme.tsx diff --git a/x-pack/plugins/infra/public/translations.ts b/x-pack/plugins/observability_solution/infra/public/translations.ts similarity index 100% rename from x-pack/plugins/infra/public/translations.ts rename to x-pack/plugins/observability_solution/infra/public/translations.ts diff --git a/x-pack/plugins/infra/public/types.ts b/x-pack/plugins/observability_solution/infra/public/types.ts similarity index 98% rename from x-pack/plugins/infra/public/types.ts rename to x-pack/plugins/observability_solution/infra/public/types.ts index f2069c215687f..475e37e9e2ef3 100644 --- a/x-pack/plugins/infra/public/types.ts +++ b/x-pack/plugins/observability_solution/infra/public/types.ts @@ -35,7 +35,7 @@ import type { SpacesPluginStart } from '@kbn/spaces-plugin/public'; import type { IStorageWrapper } from '@kbn/kibana-utils-plugin/public'; import { LensPublicStart } from '@kbn/lens-plugin/public'; import type { ChartsPluginStart } from '@kbn/charts-plugin/public'; -import { CasesUiStart } from '@kbn/cases-plugin/public'; +import { CasesPublicStart } from '@kbn/cases-plugin/public'; import { DiscoverStart } from '@kbn/discover-plugin/public'; import { UiActionsSetup, UiActionsStart } from '@kbn/ui-actions-plugin/public'; import { @@ -85,7 +85,7 @@ export interface InfraClientSetupDeps { } export interface InfraClientStartDeps { - cases: CasesUiStart; + cases: CasesPublicStart; charts: ChartsPluginStart; data: DataPublicPluginStart; dataViews: DataViewsPublicPluginStart; diff --git a/x-pack/plugins/infra/public/utils/cancellable_effect.ts b/x-pack/plugins/observability_solution/infra/public/utils/cancellable_effect.ts similarity index 100% rename from x-pack/plugins/infra/public/utils/cancellable_effect.ts rename to x-pack/plugins/observability_solution/infra/public/utils/cancellable_effect.ts diff --git a/x-pack/plugins/infra/public/utils/convert_interval_to_string.ts b/x-pack/plugins/observability_solution/infra/public/utils/convert_interval_to_string.ts similarity index 100% rename from x-pack/plugins/infra/public/utils/convert_interval_to_string.ts rename to x-pack/plugins/observability_solution/infra/public/utils/convert_interval_to_string.ts diff --git a/x-pack/plugins/infra/public/utils/data_search/data_search.stories.mdx b/x-pack/plugins/observability_solution/infra/public/utils/data_search/data_search.stories.mdx similarity index 100% rename from x-pack/plugins/infra/public/utils/data_search/data_search.stories.mdx rename to x-pack/plugins/observability_solution/infra/public/utils/data_search/data_search.stories.mdx diff --git a/x-pack/plugins/infra/public/utils/data_search/flatten_data_search_response.ts b/x-pack/plugins/observability_solution/infra/public/utils/data_search/flatten_data_search_response.ts similarity index 100% rename from x-pack/plugins/infra/public/utils/data_search/flatten_data_search_response.ts rename to x-pack/plugins/observability_solution/infra/public/utils/data_search/flatten_data_search_response.ts diff --git a/x-pack/plugins/infra/public/utils/data_search/index.ts b/x-pack/plugins/observability_solution/infra/public/utils/data_search/index.ts similarity index 100% rename from x-pack/plugins/infra/public/utils/data_search/index.ts rename to x-pack/plugins/observability_solution/infra/public/utils/data_search/index.ts diff --git a/x-pack/plugins/infra/public/utils/data_search/normalize_data_search_responses.ts b/x-pack/plugins/observability_solution/infra/public/utils/data_search/normalize_data_search_responses.ts similarity index 100% rename from x-pack/plugins/infra/public/utils/data_search/normalize_data_search_responses.ts rename to x-pack/plugins/observability_solution/infra/public/utils/data_search/normalize_data_search_responses.ts diff --git a/x-pack/plugins/infra/public/utils/data_search/types.ts b/x-pack/plugins/observability_solution/infra/public/utils/data_search/types.ts similarity index 100% rename from x-pack/plugins/infra/public/utils/data_search/types.ts rename to x-pack/plugins/observability_solution/infra/public/utils/data_search/types.ts diff --git a/x-pack/plugins/infra/public/utils/data_search/use_data_search_request.test.tsx b/x-pack/plugins/observability_solution/infra/public/utils/data_search/use_data_search_request.test.tsx similarity index 100% rename from x-pack/plugins/infra/public/utils/data_search/use_data_search_request.test.tsx rename to x-pack/plugins/observability_solution/infra/public/utils/data_search/use_data_search_request.test.tsx diff --git a/x-pack/plugins/infra/public/utils/data_search/use_data_search_request.ts b/x-pack/plugins/observability_solution/infra/public/utils/data_search/use_data_search_request.ts similarity index 100% rename from x-pack/plugins/infra/public/utils/data_search/use_data_search_request.ts rename to x-pack/plugins/observability_solution/infra/public/utils/data_search/use_data_search_request.ts diff --git a/x-pack/plugins/infra/public/utils/data_search/use_data_search_response_state.ts b/x-pack/plugins/observability_solution/infra/public/utils/data_search/use_data_search_response_state.ts similarity index 100% rename from x-pack/plugins/infra/public/utils/data_search/use_data_search_response_state.ts rename to x-pack/plugins/observability_solution/infra/public/utils/data_search/use_data_search_response_state.ts diff --git a/x-pack/plugins/infra/public/utils/data_search/use_latest_partial_data_search_response.test.tsx b/x-pack/plugins/observability_solution/infra/public/utils/data_search/use_latest_partial_data_search_response.test.tsx similarity index 100% rename from x-pack/plugins/infra/public/utils/data_search/use_latest_partial_data_search_response.test.tsx rename to x-pack/plugins/observability_solution/infra/public/utils/data_search/use_latest_partial_data_search_response.test.tsx diff --git a/x-pack/plugins/infra/public/utils/data_search/use_latest_partial_data_search_response.ts b/x-pack/plugins/observability_solution/infra/public/utils/data_search/use_latest_partial_data_search_response.ts similarity index 100% rename from x-pack/plugins/infra/public/utils/data_search/use_latest_partial_data_search_response.ts rename to x-pack/plugins/observability_solution/infra/public/utils/data_search/use_latest_partial_data_search_response.ts diff --git a/x-pack/plugins/infra/public/utils/datemath.test.ts b/x-pack/plugins/observability_solution/infra/public/utils/datemath.test.ts similarity index 100% rename from x-pack/plugins/infra/public/utils/datemath.test.ts rename to x-pack/plugins/observability_solution/infra/public/utils/datemath.test.ts diff --git a/x-pack/plugins/infra/public/utils/datemath.ts b/x-pack/plugins/observability_solution/infra/public/utils/datemath.ts similarity index 100% rename from x-pack/plugins/infra/public/utils/datemath.ts rename to x-pack/plugins/observability_solution/infra/public/utils/datemath.ts diff --git a/x-pack/plugins/infra/public/utils/dev_mode.ts b/x-pack/plugins/observability_solution/infra/public/utils/dev_mode.ts similarity index 100% rename from x-pack/plugins/infra/public/utils/dev_mode.ts rename to x-pack/plugins/observability_solution/infra/public/utils/dev_mode.ts diff --git a/x-pack/plugins/infra/public/utils/enzyme_helpers.tsx b/x-pack/plugins/observability_solution/infra/public/utils/enzyme_helpers.tsx similarity index 100% rename from x-pack/plugins/infra/public/utils/enzyme_helpers.tsx rename to x-pack/plugins/observability_solution/infra/public/utils/enzyme_helpers.tsx diff --git a/x-pack/plugins/infra/public/utils/filters/build.ts b/x-pack/plugins/observability_solution/infra/public/utils/filters/build.ts similarity index 100% rename from x-pack/plugins/infra/public/utils/filters/build.ts rename to x-pack/plugins/observability_solution/infra/public/utils/filters/build.ts diff --git a/x-pack/plugins/infra/public/utils/filters/create_alerts_es_query.ts b/x-pack/plugins/observability_solution/infra/public/utils/filters/create_alerts_es_query.ts similarity index 100% rename from x-pack/plugins/infra/public/utils/filters/create_alerts_es_query.ts rename to x-pack/plugins/observability_solution/infra/public/utils/filters/create_alerts_es_query.ts diff --git a/x-pack/plugins/infra/public/utils/fixtures/metrics_explorer.ts b/x-pack/plugins/observability_solution/infra/public/utils/fixtures/metrics_explorer.ts similarity index 100% rename from x-pack/plugins/infra/public/utils/fixtures/metrics_explorer.ts rename to x-pack/plugins/observability_solution/infra/public/utils/fixtures/metrics_explorer.ts diff --git a/x-pack/plugins/infra/public/utils/handlers.ts b/x-pack/plugins/observability_solution/infra/public/utils/handlers.ts similarity index 100% rename from x-pack/plugins/infra/public/utils/handlers.ts rename to x-pack/plugins/observability_solution/infra/public/utils/handlers.ts diff --git a/x-pack/plugins/infra/public/utils/header_action_menu_provider.tsx b/x-pack/plugins/observability_solution/infra/public/utils/header_action_menu_provider.tsx similarity index 100% rename from x-pack/plugins/infra/public/utils/header_action_menu_provider.tsx rename to x-pack/plugins/observability_solution/infra/public/utils/header_action_menu_provider.tsx diff --git a/x-pack/plugins/infra/public/utils/history_context.ts b/x-pack/plugins/observability_solution/infra/public/utils/history_context.ts similarity index 100% rename from x-pack/plugins/infra/public/utils/history_context.ts rename to x-pack/plugins/observability_solution/infra/public/utils/history_context.ts diff --git a/x-pack/plugins/infra/public/utils/kbn_url_state_context.ts b/x-pack/plugins/observability_solution/infra/public/utils/kbn_url_state_context.ts similarity index 100% rename from x-pack/plugins/infra/public/utils/kbn_url_state_context.ts rename to x-pack/plugins/observability_solution/infra/public/utils/kbn_url_state_context.ts diff --git a/x-pack/plugins/infra/public/utils/kuery.ts b/x-pack/plugins/observability_solution/infra/public/utils/kuery.ts similarity index 100% rename from x-pack/plugins/infra/public/utils/kuery.ts rename to x-pack/plugins/observability_solution/infra/public/utils/kuery.ts diff --git a/x-pack/plugins/infra/public/utils/loading_state/index.ts b/x-pack/plugins/observability_solution/infra/public/utils/loading_state/index.ts similarity index 100% rename from x-pack/plugins/infra/public/utils/loading_state/index.ts rename to x-pack/plugins/observability_solution/infra/public/utils/loading_state/index.ts diff --git a/x-pack/plugins/infra/public/utils/loading_state/loading_policy.ts b/x-pack/plugins/observability_solution/infra/public/utils/loading_state/loading_policy.ts similarity index 100% rename from x-pack/plugins/infra/public/utils/loading_state/loading_policy.ts rename to x-pack/plugins/observability_solution/infra/public/utils/loading_state/loading_policy.ts diff --git a/x-pack/plugins/infra/public/utils/loading_state/loading_progress.ts b/x-pack/plugins/observability_solution/infra/public/utils/loading_state/loading_progress.ts similarity index 100% rename from x-pack/plugins/infra/public/utils/loading_state/loading_progress.ts rename to x-pack/plugins/observability_solution/infra/public/utils/loading_state/loading_progress.ts diff --git a/x-pack/plugins/infra/public/utils/loading_state/loading_result.ts b/x-pack/plugins/observability_solution/infra/public/utils/loading_state/loading_result.ts similarity index 100% rename from x-pack/plugins/infra/public/utils/loading_state/loading_result.ts rename to x-pack/plugins/observability_solution/infra/public/utils/loading_state/loading_result.ts diff --git a/x-pack/plugins/infra/public/utils/loading_state/loading_state.ts b/x-pack/plugins/observability_solution/infra/public/utils/loading_state/loading_state.ts similarity index 100% rename from x-pack/plugins/infra/public/utils/loading_state/loading_state.ts rename to x-pack/plugins/observability_solution/infra/public/utils/loading_state/loading_state.ts diff --git a/x-pack/plugins/infra/public/utils/log_column_render_configuration.tsx b/x-pack/plugins/observability_solution/infra/public/utils/log_column_render_configuration.tsx similarity index 100% rename from x-pack/plugins/infra/public/utils/log_column_render_configuration.tsx rename to x-pack/plugins/observability_solution/infra/public/utils/log_column_render_configuration.tsx diff --git a/x-pack/plugins/infra/public/utils/logs_overview_fetchers.ts b/x-pack/plugins/observability_solution/infra/public/utils/logs_overview_fetchers.ts similarity index 100% rename from x-pack/plugins/infra/public/utils/logs_overview_fetchers.ts rename to x-pack/plugins/observability_solution/infra/public/utils/logs_overview_fetchers.ts diff --git a/x-pack/plugins/infra/public/utils/logs_overview_fetches.test.ts b/x-pack/plugins/observability_solution/infra/public/utils/logs_overview_fetches.test.ts similarity index 100% rename from x-pack/plugins/infra/public/utils/logs_overview_fetches.test.ts rename to x-pack/plugins/observability_solution/infra/public/utils/logs_overview_fetches.test.ts diff --git a/x-pack/plugins/infra/public/utils/map_timepicker_quickranges_to_datepicker_ranges.ts b/x-pack/plugins/observability_solution/infra/public/utils/map_timepicker_quickranges_to_datepicker_ranges.ts similarity index 100% rename from x-pack/plugins/infra/public/utils/map_timepicker_quickranges_to_datepicker_ranges.ts rename to x-pack/plugins/observability_solution/infra/public/utils/map_timepicker_quickranges_to_datepicker_ranges.ts diff --git a/x-pack/plugins/infra/public/utils/redirect_with_query_params.tsx b/x-pack/plugins/observability_solution/infra/public/utils/redirect_with_query_params.tsx similarity index 100% rename from x-pack/plugins/infra/public/utils/redirect_with_query_params.tsx rename to x-pack/plugins/observability_solution/infra/public/utils/redirect_with_query_params.tsx diff --git a/x-pack/plugins/infra/public/utils/source_configuration.ts b/x-pack/plugins/observability_solution/infra/public/utils/source_configuration.ts similarity index 100% rename from x-pack/plugins/infra/public/utils/source_configuration.ts rename to x-pack/plugins/observability_solution/infra/public/utils/source_configuration.ts diff --git a/x-pack/plugins/infra/public/utils/state_container_devtools.ts b/x-pack/plugins/observability_solution/infra/public/utils/state_container_devtools.ts similarity index 100% rename from x-pack/plugins/infra/public/utils/state_container_devtools.ts rename to x-pack/plugins/observability_solution/infra/public/utils/state_container_devtools.ts diff --git a/x-pack/plugins/infra/public/utils/timefilter_state_storage.ts b/x-pack/plugins/observability_solution/infra/public/utils/timefilter_state_storage.ts similarity index 100% rename from x-pack/plugins/infra/public/utils/timefilter_state_storage.ts rename to x-pack/plugins/observability_solution/infra/public/utils/timefilter_state_storage.ts diff --git a/x-pack/plugins/infra/public/utils/triggers_actions_context.tsx b/x-pack/plugins/observability_solution/infra/public/utils/triggers_actions_context.tsx similarity index 100% rename from x-pack/plugins/infra/public/utils/triggers_actions_context.tsx rename to x-pack/plugins/observability_solution/infra/public/utils/triggers_actions_context.tsx diff --git a/x-pack/plugins/infra/public/utils/typed_react.tsx b/x-pack/plugins/observability_solution/infra/public/utils/typed_react.tsx similarity index 100% rename from x-pack/plugins/infra/public/utils/typed_react.tsx rename to x-pack/plugins/observability_solution/infra/public/utils/typed_react.tsx diff --git a/x-pack/plugins/infra/public/utils/typed_redux.ts b/x-pack/plugins/observability_solution/infra/public/utils/typed_redux.ts similarity index 100% rename from x-pack/plugins/infra/public/utils/typed_redux.ts rename to x-pack/plugins/observability_solution/infra/public/utils/typed_redux.ts diff --git a/x-pack/plugins/infra/public/utils/url_state.tsx b/x-pack/plugins/observability_solution/infra/public/utils/url_state.tsx similarity index 100% rename from x-pack/plugins/infra/public/utils/url_state.tsx rename to x-pack/plugins/observability_solution/infra/public/utils/url_state.tsx diff --git a/x-pack/plugins/infra/public/utils/use_kibana_query_settings.ts b/x-pack/plugins/observability_solution/infra/public/utils/use_kibana_query_settings.ts similarity index 100% rename from x-pack/plugins/infra/public/utils/use_kibana_query_settings.ts rename to x-pack/plugins/observability_solution/infra/public/utils/use_kibana_query_settings.ts diff --git a/x-pack/plugins/infra/public/utils/use_kibana_ui_setting.ts b/x-pack/plugins/observability_solution/infra/public/utils/use_kibana_ui_setting.ts similarity index 100% rename from x-pack/plugins/infra/public/utils/use_kibana_ui_setting.ts rename to x-pack/plugins/observability_solution/infra/public/utils/use_kibana_ui_setting.ts diff --git a/x-pack/plugins/infra/public/utils/use_observable.ts b/x-pack/plugins/observability_solution/infra/public/utils/use_observable.ts similarity index 100% rename from x-pack/plugins/infra/public/utils/use_observable.ts rename to x-pack/plugins/observability_solution/infra/public/utils/use_observable.ts diff --git a/x-pack/plugins/infra/public/utils/use_timeline_chart_theme.ts b/x-pack/plugins/observability_solution/infra/public/utils/use_timeline_chart_theme.ts similarity index 100% rename from x-pack/plugins/infra/public/utils/use_timeline_chart_theme.ts rename to x-pack/plugins/observability_solution/infra/public/utils/use_timeline_chart_theme.ts diff --git a/x-pack/plugins/infra/public/utils/use_tracked_promise.ts b/x-pack/plugins/observability_solution/infra/public/utils/use_tracked_promise.ts similarity index 100% rename from x-pack/plugins/infra/public/utils/use_tracked_promise.ts rename to x-pack/plugins/observability_solution/infra/public/utils/use_tracked_promise.ts diff --git a/x-pack/plugins/infra/public/utils/use_url_state.ts b/x-pack/plugins/observability_solution/infra/public/utils/use_url_state.ts similarity index 100% rename from x-pack/plugins/infra/public/utils/use_url_state.ts rename to x-pack/plugins/observability_solution/infra/public/utils/use_url_state.ts diff --git a/x-pack/plugins/infra/public/utils/use_viewport_dimensions.ts b/x-pack/plugins/observability_solution/infra/public/utils/use_viewport_dimensions.ts similarity index 100% rename from x-pack/plugins/infra/public/utils/use_viewport_dimensions.ts rename to x-pack/plugins/observability_solution/infra/public/utils/use_viewport_dimensions.ts diff --git a/x-pack/plugins/infra/public/utils/use_visibility_state.ts b/x-pack/plugins/observability_solution/infra/public/utils/use_visibility_state.ts similarity index 100% rename from x-pack/plugins/infra/public/utils/use_visibility_state.ts rename to x-pack/plugins/observability_solution/infra/public/utils/use_visibility_state.ts diff --git a/x-pack/plugins/infra/public/utils/wrap_state_container.ts b/x-pack/plugins/observability_solution/infra/public/utils/wrap_state_container.ts similarity index 100% rename from x-pack/plugins/infra/public/utils/wrap_state_container.ts rename to x-pack/plugins/observability_solution/infra/public/utils/wrap_state_container.ts diff --git a/x-pack/plugins/infra/server/features.ts b/x-pack/plugins/observability_solution/infra/server/features.ts similarity index 100% rename from x-pack/plugins/infra/server/features.ts rename to x-pack/plugins/observability_solution/infra/server/features.ts diff --git a/x-pack/plugins/infra/server/index.ts b/x-pack/plugins/observability_solution/infra/server/index.ts similarity index 100% rename from x-pack/plugins/infra/server/index.ts rename to x-pack/plugins/observability_solution/infra/server/index.ts diff --git a/x-pack/plugins/infra/server/infra_server.ts b/x-pack/plugins/observability_solution/infra/server/infra_server.ts similarity index 100% rename from x-pack/plugins/infra/server/infra_server.ts rename to x-pack/plugins/observability_solution/infra/server/infra_server.ts diff --git a/x-pack/plugins/infra/server/lib/adapters/fields/adapter_types.ts b/x-pack/plugins/observability_solution/infra/server/lib/adapters/fields/adapter_types.ts similarity index 100% rename from x-pack/plugins/infra/server/lib/adapters/fields/adapter_types.ts rename to x-pack/plugins/observability_solution/infra/server/lib/adapters/fields/adapter_types.ts diff --git a/x-pack/plugins/infra/server/lib/adapters/fields/framework_fields_adapter.ts b/x-pack/plugins/observability_solution/infra/server/lib/adapters/fields/framework_fields_adapter.ts similarity index 100% rename from x-pack/plugins/infra/server/lib/adapters/fields/framework_fields_adapter.ts rename to x-pack/plugins/observability_solution/infra/server/lib/adapters/fields/framework_fields_adapter.ts diff --git a/x-pack/plugins/infra/server/lib/adapters/fields/index.ts b/x-pack/plugins/observability_solution/infra/server/lib/adapters/fields/index.ts similarity index 100% rename from x-pack/plugins/infra/server/lib/adapters/fields/index.ts rename to x-pack/plugins/observability_solution/infra/server/lib/adapters/fields/index.ts diff --git a/x-pack/plugins/infra/server/lib/adapters/framework/adapter_types.ts b/x-pack/plugins/observability_solution/infra/server/lib/adapters/framework/adapter_types.ts similarity index 100% rename from x-pack/plugins/infra/server/lib/adapters/framework/adapter_types.ts rename to x-pack/plugins/observability_solution/infra/server/lib/adapters/framework/adapter_types.ts diff --git a/x-pack/plugins/infra/server/lib/adapters/framework/index.ts b/x-pack/plugins/observability_solution/infra/server/lib/adapters/framework/index.ts similarity index 100% rename from x-pack/plugins/infra/server/lib/adapters/framework/index.ts rename to x-pack/plugins/observability_solution/infra/server/lib/adapters/framework/index.ts diff --git a/x-pack/plugins/infra/server/lib/adapters/framework/kibana_framework_adapter.ts b/x-pack/plugins/observability_solution/infra/server/lib/adapters/framework/kibana_framework_adapter.ts similarity index 100% rename from x-pack/plugins/infra/server/lib/adapters/framework/kibana_framework_adapter.ts rename to x-pack/plugins/observability_solution/infra/server/lib/adapters/framework/kibana_framework_adapter.ts diff --git a/x-pack/plugins/infra/server/lib/adapters/metrics/adapter_types.ts b/x-pack/plugins/observability_solution/infra/server/lib/adapters/metrics/adapter_types.ts similarity index 100% rename from x-pack/plugins/infra/server/lib/adapters/metrics/adapter_types.ts rename to x-pack/plugins/observability_solution/infra/server/lib/adapters/metrics/adapter_types.ts diff --git a/x-pack/plugins/infra/server/lib/adapters/metrics/index.ts b/x-pack/plugins/observability_solution/infra/server/lib/adapters/metrics/index.ts similarity index 100% rename from x-pack/plugins/infra/server/lib/adapters/metrics/index.ts rename to x-pack/plugins/observability_solution/infra/server/lib/adapters/metrics/index.ts diff --git a/x-pack/plugins/infra/server/lib/adapters/metrics/kibana_metrics_adapter.ts b/x-pack/plugins/observability_solution/infra/server/lib/adapters/metrics/kibana_metrics_adapter.ts similarity index 100% rename from x-pack/plugins/infra/server/lib/adapters/metrics/kibana_metrics_adapter.ts rename to x-pack/plugins/observability_solution/infra/server/lib/adapters/metrics/kibana_metrics_adapter.ts diff --git a/x-pack/plugins/infra/server/lib/adapters/metrics/lib/check_valid_node.ts b/x-pack/plugins/observability_solution/infra/server/lib/adapters/metrics/lib/check_valid_node.ts similarity index 100% rename from x-pack/plugins/infra/server/lib/adapters/metrics/lib/check_valid_node.ts rename to x-pack/plugins/observability_solution/infra/server/lib/adapters/metrics/lib/check_valid_node.ts diff --git a/x-pack/plugins/infra/server/lib/adapters/source_status/elasticsearch_source_status_adapter.ts b/x-pack/plugins/observability_solution/infra/server/lib/adapters/source_status/elasticsearch_source_status_adapter.ts similarity index 100% rename from x-pack/plugins/infra/server/lib/adapters/source_status/elasticsearch_source_status_adapter.ts rename to x-pack/plugins/observability_solution/infra/server/lib/adapters/source_status/elasticsearch_source_status_adapter.ts diff --git a/x-pack/plugins/infra/server/lib/adapters/source_status/index.ts b/x-pack/plugins/observability_solution/infra/server/lib/adapters/source_status/index.ts similarity index 100% rename from x-pack/plugins/infra/server/lib/adapters/source_status/index.ts rename to x-pack/plugins/observability_solution/infra/server/lib/adapters/source_status/index.ts diff --git a/x-pack/plugins/infra/server/lib/alerting/common/messages.ts b/x-pack/plugins/observability_solution/infra/server/lib/alerting/common/messages.ts similarity index 100% rename from x-pack/plugins/infra/server/lib/alerting/common/messages.ts rename to x-pack/plugins/observability_solution/infra/server/lib/alerting/common/messages.ts diff --git a/x-pack/plugins/infra/server/lib/alerting/common/utils.test.ts b/x-pack/plugins/observability_solution/infra/server/lib/alerting/common/utils.test.ts similarity index 100% rename from x-pack/plugins/infra/server/lib/alerting/common/utils.test.ts rename to x-pack/plugins/observability_solution/infra/server/lib/alerting/common/utils.test.ts diff --git a/x-pack/plugins/infra/server/lib/alerting/common/utils.ts b/x-pack/plugins/observability_solution/infra/server/lib/alerting/common/utils.ts similarity index 100% rename from x-pack/plugins/infra/server/lib/alerting/common/utils.ts rename to x-pack/plugins/observability_solution/infra/server/lib/alerting/common/utils.ts diff --git a/x-pack/plugins/infra/server/lib/alerting/docs/params_property_infra_inventory.yaml b/x-pack/plugins/observability_solution/infra/server/lib/alerting/docs/params_property_infra_inventory.yaml similarity index 100% rename from x-pack/plugins/infra/server/lib/alerting/docs/params_property_infra_inventory.yaml rename to x-pack/plugins/observability_solution/infra/server/lib/alerting/docs/params_property_infra_inventory.yaml diff --git a/x-pack/plugins/infra/server/lib/alerting/docs/params_property_infra_metric_threshold.yaml b/x-pack/plugins/observability_solution/infra/server/lib/alerting/docs/params_property_infra_metric_threshold.yaml similarity index 100% rename from x-pack/plugins/infra/server/lib/alerting/docs/params_property_infra_metric_threshold.yaml rename to x-pack/plugins/observability_solution/infra/server/lib/alerting/docs/params_property_infra_metric_threshold.yaml diff --git a/x-pack/plugins/infra/server/lib/alerting/docs/params_property_log_threshold.yaml b/x-pack/plugins/observability_solution/infra/server/lib/alerting/docs/params_property_log_threshold.yaml similarity index 100% rename from x-pack/plugins/infra/server/lib/alerting/docs/params_property_log_threshold.yaml rename to x-pack/plugins/observability_solution/infra/server/lib/alerting/docs/params_property_log_threshold.yaml diff --git a/x-pack/plugins/infra/server/lib/alerting/index.ts b/x-pack/plugins/observability_solution/infra/server/lib/alerting/index.ts similarity index 100% rename from x-pack/plugins/infra/server/lib/alerting/index.ts rename to x-pack/plugins/observability_solution/infra/server/lib/alerting/index.ts diff --git a/x-pack/plugins/infra/server/lib/alerting/inventory_metric_threshold/evaluate_condition.ts b/x-pack/plugins/observability_solution/infra/server/lib/alerting/inventory_metric_threshold/evaluate_condition.ts similarity index 100% rename from x-pack/plugins/infra/server/lib/alerting/inventory_metric_threshold/evaluate_condition.ts rename to x-pack/plugins/observability_solution/infra/server/lib/alerting/inventory_metric_threshold/evaluate_condition.ts diff --git a/x-pack/plugins/infra/server/lib/alerting/inventory_metric_threshold/inventory_metric_threshold_executor.test.ts b/x-pack/plugins/observability_solution/infra/server/lib/alerting/inventory_metric_threshold/inventory_metric_threshold_executor.test.ts similarity index 100% rename from x-pack/plugins/infra/server/lib/alerting/inventory_metric_threshold/inventory_metric_threshold_executor.test.ts rename to x-pack/plugins/observability_solution/infra/server/lib/alerting/inventory_metric_threshold/inventory_metric_threshold_executor.test.ts diff --git a/x-pack/plugins/infra/server/lib/alerting/inventory_metric_threshold/inventory_metric_threshold_executor.ts b/x-pack/plugins/observability_solution/infra/server/lib/alerting/inventory_metric_threshold/inventory_metric_threshold_executor.ts similarity index 100% rename from x-pack/plugins/infra/server/lib/alerting/inventory_metric_threshold/inventory_metric_threshold_executor.ts rename to x-pack/plugins/observability_solution/infra/server/lib/alerting/inventory_metric_threshold/inventory_metric_threshold_executor.ts diff --git a/x-pack/plugins/infra/server/lib/alerting/inventory_metric_threshold/lib/calculate_from_based_on_metric.ts b/x-pack/plugins/observability_solution/infra/server/lib/alerting/inventory_metric_threshold/lib/calculate_from_based_on_metric.ts similarity index 100% rename from x-pack/plugins/infra/server/lib/alerting/inventory_metric_threshold/lib/calculate_from_based_on_metric.ts rename to x-pack/plugins/observability_solution/infra/server/lib/alerting/inventory_metric_threshold/lib/calculate_from_based_on_metric.ts diff --git a/x-pack/plugins/infra/server/lib/alerting/inventory_metric_threshold/lib/calculate_rate_timeranges.ts b/x-pack/plugins/observability_solution/infra/server/lib/alerting/inventory_metric_threshold/lib/calculate_rate_timeranges.ts similarity index 100% rename from x-pack/plugins/infra/server/lib/alerting/inventory_metric_threshold/lib/calculate_rate_timeranges.ts rename to x-pack/plugins/observability_solution/infra/server/lib/alerting/inventory_metric_threshold/lib/calculate_rate_timeranges.ts diff --git a/x-pack/plugins/infra/server/lib/alerting/inventory_metric_threshold/lib/convert_metric_value.ts b/x-pack/plugins/observability_solution/infra/server/lib/alerting/inventory_metric_threshold/lib/convert_metric_value.ts similarity index 100% rename from x-pack/plugins/infra/server/lib/alerting/inventory_metric_threshold/lib/convert_metric_value.ts rename to x-pack/plugins/observability_solution/infra/server/lib/alerting/inventory_metric_threshold/lib/convert_metric_value.ts diff --git a/x-pack/plugins/infra/server/lib/alerting/inventory_metric_threshold/lib/create_bucket_selector.ts b/x-pack/plugins/observability_solution/infra/server/lib/alerting/inventory_metric_threshold/lib/create_bucket_selector.ts similarity index 100% rename from x-pack/plugins/infra/server/lib/alerting/inventory_metric_threshold/lib/create_bucket_selector.ts rename to x-pack/plugins/observability_solution/infra/server/lib/alerting/inventory_metric_threshold/lib/create_bucket_selector.ts diff --git a/x-pack/plugins/infra/server/lib/alerting/inventory_metric_threshold/lib/create_condition_script.ts b/x-pack/plugins/observability_solution/infra/server/lib/alerting/inventory_metric_threshold/lib/create_condition_script.ts similarity index 100% rename from x-pack/plugins/infra/server/lib/alerting/inventory_metric_threshold/lib/create_condition_script.ts rename to x-pack/plugins/observability_solution/infra/server/lib/alerting/inventory_metric_threshold/lib/create_condition_script.ts diff --git a/x-pack/plugins/infra/server/lib/alerting/inventory_metric_threshold/lib/create_log_rate_aggs.ts b/x-pack/plugins/observability_solution/infra/server/lib/alerting/inventory_metric_threshold/lib/create_log_rate_aggs.ts similarity index 100% rename from x-pack/plugins/infra/server/lib/alerting/inventory_metric_threshold/lib/create_log_rate_aggs.ts rename to x-pack/plugins/observability_solution/infra/server/lib/alerting/inventory_metric_threshold/lib/create_log_rate_aggs.ts diff --git a/x-pack/plugins/infra/server/lib/alerting/inventory_metric_threshold/lib/create_metric_aggregations.ts b/x-pack/plugins/observability_solution/infra/server/lib/alerting/inventory_metric_threshold/lib/create_metric_aggregations.ts similarity index 100% rename from x-pack/plugins/infra/server/lib/alerting/inventory_metric_threshold/lib/create_metric_aggregations.ts rename to x-pack/plugins/observability_solution/infra/server/lib/alerting/inventory_metric_threshold/lib/create_metric_aggregations.ts diff --git a/x-pack/plugins/infra/server/lib/alerting/inventory_metric_threshold/lib/create_rate_agg_with_interface.ts b/x-pack/plugins/observability_solution/infra/server/lib/alerting/inventory_metric_threshold/lib/create_rate_agg_with_interface.ts similarity index 100% rename from x-pack/plugins/infra/server/lib/alerting/inventory_metric_threshold/lib/create_rate_agg_with_interface.ts rename to x-pack/plugins/observability_solution/infra/server/lib/alerting/inventory_metric_threshold/lib/create_rate_agg_with_interface.ts diff --git a/x-pack/plugins/infra/server/lib/alerting/inventory_metric_threshold/lib/create_rate_aggs.ts b/x-pack/plugins/observability_solution/infra/server/lib/alerting/inventory_metric_threshold/lib/create_rate_aggs.ts similarity index 100% rename from x-pack/plugins/infra/server/lib/alerting/inventory_metric_threshold/lib/create_rate_aggs.ts rename to x-pack/plugins/observability_solution/infra/server/lib/alerting/inventory_metric_threshold/lib/create_rate_aggs.ts diff --git a/x-pack/plugins/infra/server/lib/alerting/inventory_metric_threshold/lib/create_request.ts b/x-pack/plugins/observability_solution/infra/server/lib/alerting/inventory_metric_threshold/lib/create_request.ts similarity index 100% rename from x-pack/plugins/infra/server/lib/alerting/inventory_metric_threshold/lib/create_request.ts rename to x-pack/plugins/observability_solution/infra/server/lib/alerting/inventory_metric_threshold/lib/create_request.ts diff --git a/x-pack/plugins/infra/server/lib/alerting/inventory_metric_threshold/lib/get_data.ts b/x-pack/plugins/observability_solution/infra/server/lib/alerting/inventory_metric_threshold/lib/get_data.ts similarity index 100% rename from x-pack/plugins/infra/server/lib/alerting/inventory_metric_threshold/lib/get_data.ts rename to x-pack/plugins/observability_solution/infra/server/lib/alerting/inventory_metric_threshold/lib/get_data.ts diff --git a/x-pack/plugins/infra/server/lib/alerting/inventory_metric_threshold/lib/is_rate.ts b/x-pack/plugins/observability_solution/infra/server/lib/alerting/inventory_metric_threshold/lib/is_rate.ts similarity index 100% rename from x-pack/plugins/infra/server/lib/alerting/inventory_metric_threshold/lib/is_rate.ts rename to x-pack/plugins/observability_solution/infra/server/lib/alerting/inventory_metric_threshold/lib/is_rate.ts diff --git a/x-pack/plugins/infra/server/lib/alerting/inventory_metric_threshold/register_inventory_metric_threshold_rule_type.ts b/x-pack/plugins/observability_solution/infra/server/lib/alerting/inventory_metric_threshold/register_inventory_metric_threshold_rule_type.ts similarity index 100% rename from x-pack/plugins/infra/server/lib/alerting/inventory_metric_threshold/register_inventory_metric_threshold_rule_type.ts rename to x-pack/plugins/observability_solution/infra/server/lib/alerting/inventory_metric_threshold/register_inventory_metric_threshold_rule_type.ts diff --git a/x-pack/plugins/infra/server/lib/alerting/log_threshold/log_threshold_chart_preview.ts b/x-pack/plugins/observability_solution/infra/server/lib/alerting/log_threshold/log_threshold_chart_preview.ts similarity index 100% rename from x-pack/plugins/infra/server/lib/alerting/log_threshold/log_threshold_chart_preview.ts rename to x-pack/plugins/observability_solution/infra/server/lib/alerting/log_threshold/log_threshold_chart_preview.ts diff --git a/x-pack/plugins/infra/server/lib/alerting/log_threshold/log_threshold_executor.test.ts b/x-pack/plugins/observability_solution/infra/server/lib/alerting/log_threshold/log_threshold_executor.test.ts similarity index 100% rename from x-pack/plugins/infra/server/lib/alerting/log_threshold/log_threshold_executor.test.ts rename to x-pack/plugins/observability_solution/infra/server/lib/alerting/log_threshold/log_threshold_executor.test.ts diff --git a/x-pack/plugins/infra/server/lib/alerting/log_threshold/log_threshold_executor.ts b/x-pack/plugins/observability_solution/infra/server/lib/alerting/log_threshold/log_threshold_executor.ts similarity index 100% rename from x-pack/plugins/infra/server/lib/alerting/log_threshold/log_threshold_executor.ts rename to x-pack/plugins/observability_solution/infra/server/lib/alerting/log_threshold/log_threshold_executor.ts diff --git a/x-pack/plugins/infra/server/lib/alerting/log_threshold/log_threshold_references_manager.test.ts b/x-pack/plugins/observability_solution/infra/server/lib/alerting/log_threshold/log_threshold_references_manager.test.ts similarity index 100% rename from x-pack/plugins/infra/server/lib/alerting/log_threshold/log_threshold_references_manager.test.ts rename to x-pack/plugins/observability_solution/infra/server/lib/alerting/log_threshold/log_threshold_references_manager.test.ts diff --git a/x-pack/plugins/infra/server/lib/alerting/log_threshold/log_threshold_references_manager.ts b/x-pack/plugins/observability_solution/infra/server/lib/alerting/log_threshold/log_threshold_references_manager.ts similarity index 100% rename from x-pack/plugins/infra/server/lib/alerting/log_threshold/log_threshold_references_manager.ts rename to x-pack/plugins/observability_solution/infra/server/lib/alerting/log_threshold/log_threshold_references_manager.ts diff --git a/x-pack/plugins/infra/server/lib/alerting/log_threshold/mocks/index.ts b/x-pack/plugins/observability_solution/infra/server/lib/alerting/log_threshold/mocks/index.ts similarity index 100% rename from x-pack/plugins/infra/server/lib/alerting/log_threshold/mocks/index.ts rename to x-pack/plugins/observability_solution/infra/server/lib/alerting/log_threshold/mocks/index.ts diff --git a/x-pack/plugins/infra/server/lib/alerting/log_threshold/reason_formatters.ts b/x-pack/plugins/observability_solution/infra/server/lib/alerting/log_threshold/reason_formatters.ts similarity index 100% rename from x-pack/plugins/infra/server/lib/alerting/log_threshold/reason_formatters.ts rename to x-pack/plugins/observability_solution/infra/server/lib/alerting/log_threshold/reason_formatters.ts diff --git a/x-pack/plugins/infra/server/lib/alerting/log_threshold/register_log_threshold_rule_type.ts b/x-pack/plugins/observability_solution/infra/server/lib/alerting/log_threshold/register_log_threshold_rule_type.ts similarity index 100% rename from x-pack/plugins/infra/server/lib/alerting/log_threshold/register_log_threshold_rule_type.ts rename to x-pack/plugins/observability_solution/infra/server/lib/alerting/log_threshold/register_log_threshold_rule_type.ts diff --git a/x-pack/plugins/infra/server/lib/alerting/metric_threshold/lib/check_missing_group.ts b/x-pack/plugins/observability_solution/infra/server/lib/alerting/metric_threshold/lib/check_missing_group.ts similarity index 100% rename from x-pack/plugins/infra/server/lib/alerting/metric_threshold/lib/check_missing_group.ts rename to x-pack/plugins/observability_solution/infra/server/lib/alerting/metric_threshold/lib/check_missing_group.ts diff --git a/x-pack/plugins/infra/server/lib/alerting/metric_threshold/lib/convert_strings_to_missing_groups_record.ts b/x-pack/plugins/observability_solution/infra/server/lib/alerting/metric_threshold/lib/convert_strings_to_missing_groups_record.ts similarity index 100% rename from x-pack/plugins/infra/server/lib/alerting/metric_threshold/lib/convert_strings_to_missing_groups_record.ts rename to x-pack/plugins/observability_solution/infra/server/lib/alerting/metric_threshold/lib/convert_strings_to_missing_groups_record.ts diff --git a/x-pack/plugins/infra/server/lib/alerting/metric_threshold/lib/create_bucket_selector.ts b/x-pack/plugins/observability_solution/infra/server/lib/alerting/metric_threshold/lib/create_bucket_selector.ts similarity index 100% rename from x-pack/plugins/infra/server/lib/alerting/metric_threshold/lib/create_bucket_selector.ts rename to x-pack/plugins/observability_solution/infra/server/lib/alerting/metric_threshold/lib/create_bucket_selector.ts diff --git a/x-pack/plugins/infra/server/lib/alerting/metric_threshold/lib/create_condition_script.ts b/x-pack/plugins/observability_solution/infra/server/lib/alerting/metric_threshold/lib/create_condition_script.ts similarity index 100% rename from x-pack/plugins/infra/server/lib/alerting/metric_threshold/lib/create_condition_script.ts rename to x-pack/plugins/observability_solution/infra/server/lib/alerting/metric_threshold/lib/create_condition_script.ts diff --git a/x-pack/plugins/infra/server/lib/alerting/metric_threshold/lib/create_percentile_aggregation.ts b/x-pack/plugins/observability_solution/infra/server/lib/alerting/metric_threshold/lib/create_percentile_aggregation.ts similarity index 100% rename from x-pack/plugins/infra/server/lib/alerting/metric_threshold/lib/create_percentile_aggregation.ts rename to x-pack/plugins/observability_solution/infra/server/lib/alerting/metric_threshold/lib/create_percentile_aggregation.ts diff --git a/x-pack/plugins/infra/server/lib/alerting/metric_threshold/lib/create_rate_aggregation.ts b/x-pack/plugins/observability_solution/infra/server/lib/alerting/metric_threshold/lib/create_rate_aggregation.ts similarity index 100% rename from x-pack/plugins/infra/server/lib/alerting/metric_threshold/lib/create_rate_aggregation.ts rename to x-pack/plugins/observability_solution/infra/server/lib/alerting/metric_threshold/lib/create_rate_aggregation.ts diff --git a/x-pack/plugins/infra/server/lib/alerting/metric_threshold/lib/create_timerange.test.ts b/x-pack/plugins/observability_solution/infra/server/lib/alerting/metric_threshold/lib/create_timerange.test.ts similarity index 100% rename from x-pack/plugins/infra/server/lib/alerting/metric_threshold/lib/create_timerange.test.ts rename to x-pack/plugins/observability_solution/infra/server/lib/alerting/metric_threshold/lib/create_timerange.test.ts diff --git a/x-pack/plugins/infra/server/lib/alerting/metric_threshold/lib/create_timerange.ts b/x-pack/plugins/observability_solution/infra/server/lib/alerting/metric_threshold/lib/create_timerange.ts similarity index 100% rename from x-pack/plugins/infra/server/lib/alerting/metric_threshold/lib/create_timerange.ts rename to x-pack/plugins/observability_solution/infra/server/lib/alerting/metric_threshold/lib/create_timerange.ts diff --git a/x-pack/plugins/infra/server/lib/alerting/metric_threshold/lib/evaluate_rule.ts b/x-pack/plugins/observability_solution/infra/server/lib/alerting/metric_threshold/lib/evaluate_rule.ts similarity index 100% rename from x-pack/plugins/infra/server/lib/alerting/metric_threshold/lib/evaluate_rule.ts rename to x-pack/plugins/observability_solution/infra/server/lib/alerting/metric_threshold/lib/evaluate_rule.ts diff --git a/x-pack/plugins/infra/server/lib/alerting/metric_threshold/lib/get_data.ts b/x-pack/plugins/observability_solution/infra/server/lib/alerting/metric_threshold/lib/get_data.ts similarity index 100% rename from x-pack/plugins/infra/server/lib/alerting/metric_threshold/lib/get_data.ts rename to x-pack/plugins/observability_solution/infra/server/lib/alerting/metric_threshold/lib/get_data.ts diff --git a/x-pack/plugins/infra/server/lib/alerting/metric_threshold/lib/metric_expression_params.ts b/x-pack/plugins/observability_solution/infra/server/lib/alerting/metric_threshold/lib/metric_expression_params.ts similarity index 100% rename from x-pack/plugins/infra/server/lib/alerting/metric_threshold/lib/metric_expression_params.ts rename to x-pack/plugins/observability_solution/infra/server/lib/alerting/metric_threshold/lib/metric_expression_params.ts diff --git a/x-pack/plugins/infra/server/lib/alerting/metric_threshold/lib/metric_query.test.ts b/x-pack/plugins/observability_solution/infra/server/lib/alerting/metric_threshold/lib/metric_query.test.ts similarity index 100% rename from x-pack/plugins/infra/server/lib/alerting/metric_threshold/lib/metric_query.test.ts rename to x-pack/plugins/observability_solution/infra/server/lib/alerting/metric_threshold/lib/metric_query.test.ts diff --git a/x-pack/plugins/infra/server/lib/alerting/metric_threshold/lib/metric_query.ts b/x-pack/plugins/observability_solution/infra/server/lib/alerting/metric_threshold/lib/metric_query.ts similarity index 100% rename from x-pack/plugins/infra/server/lib/alerting/metric_threshold/lib/metric_query.ts rename to x-pack/plugins/observability_solution/infra/server/lib/alerting/metric_threshold/lib/metric_query.ts diff --git a/x-pack/plugins/infra/server/lib/alerting/metric_threshold/lib/wrap_in_period.ts b/x-pack/plugins/observability_solution/infra/server/lib/alerting/metric_threshold/lib/wrap_in_period.ts similarity index 100% rename from x-pack/plugins/infra/server/lib/alerting/metric_threshold/lib/wrap_in_period.ts rename to x-pack/plugins/observability_solution/infra/server/lib/alerting/metric_threshold/lib/wrap_in_period.ts diff --git a/x-pack/plugins/infra/server/lib/alerting/metric_threshold/metric_threshold_executor.test.ts b/x-pack/plugins/observability_solution/infra/server/lib/alerting/metric_threshold/metric_threshold_executor.test.ts similarity index 100% rename from x-pack/plugins/infra/server/lib/alerting/metric_threshold/metric_threshold_executor.test.ts rename to x-pack/plugins/observability_solution/infra/server/lib/alerting/metric_threshold/metric_threshold_executor.test.ts diff --git a/x-pack/plugins/infra/server/lib/alerting/metric_threshold/metric_threshold_executor.ts b/x-pack/plugins/observability_solution/infra/server/lib/alerting/metric_threshold/metric_threshold_executor.ts similarity index 100% rename from x-pack/plugins/infra/server/lib/alerting/metric_threshold/metric_threshold_executor.ts rename to x-pack/plugins/observability_solution/infra/server/lib/alerting/metric_threshold/metric_threshold_executor.ts diff --git a/x-pack/plugins/infra/server/lib/alerting/metric_threshold/register_metric_threshold_rule_type.ts b/x-pack/plugins/observability_solution/infra/server/lib/alerting/metric_threshold/register_metric_threshold_rule_type.ts similarity index 100% rename from x-pack/plugins/infra/server/lib/alerting/metric_threshold/register_metric_threshold_rule_type.ts rename to x-pack/plugins/observability_solution/infra/server/lib/alerting/metric_threshold/register_metric_threshold_rule_type.ts diff --git a/x-pack/plugins/infra/server/lib/alerting/metric_threshold/test_mocks.ts b/x-pack/plugins/observability_solution/infra/server/lib/alerting/metric_threshold/test_mocks.ts similarity index 100% rename from x-pack/plugins/infra/server/lib/alerting/metric_threshold/test_mocks.ts rename to x-pack/plugins/observability_solution/infra/server/lib/alerting/metric_threshold/test_mocks.ts diff --git a/x-pack/plugins/infra/server/lib/alerting/register_rule_types.ts b/x-pack/plugins/observability_solution/infra/server/lib/alerting/register_rule_types.ts similarity index 100% rename from x-pack/plugins/infra/server/lib/alerting/register_rule_types.ts rename to x-pack/plugins/observability_solution/infra/server/lib/alerting/register_rule_types.ts diff --git a/x-pack/plugins/infra/server/lib/cancel_request_on_abort.ts b/x-pack/plugins/observability_solution/infra/server/lib/cancel_request_on_abort.ts similarity index 100% rename from x-pack/plugins/infra/server/lib/cancel_request_on_abort.ts rename to x-pack/plugins/observability_solution/infra/server/lib/cancel_request_on_abort.ts diff --git a/x-pack/plugins/infra/server/lib/constants.ts b/x-pack/plugins/observability_solution/infra/server/lib/constants.ts similarity index 100% rename from x-pack/plugins/infra/server/lib/constants.ts rename to x-pack/plugins/observability_solution/infra/server/lib/constants.ts diff --git a/x-pack/plugins/infra/server/lib/create_custom_metrics_aggregations.ts b/x-pack/plugins/observability_solution/infra/server/lib/create_custom_metrics_aggregations.ts similarity index 100% rename from x-pack/plugins/infra/server/lib/create_custom_metrics_aggregations.ts rename to x-pack/plugins/observability_solution/infra/server/lib/create_custom_metrics_aggregations.ts diff --git a/x-pack/plugins/infra/server/lib/create_search_client.ts b/x-pack/plugins/observability_solution/infra/server/lib/create_search_client.ts similarity index 100% rename from x-pack/plugins/infra/server/lib/create_search_client.ts rename to x-pack/plugins/observability_solution/infra/server/lib/create_search_client.ts diff --git a/x-pack/plugins/infra/server/lib/domains/fields_domain.ts b/x-pack/plugins/observability_solution/infra/server/lib/domains/fields_domain.ts similarity index 100% rename from x-pack/plugins/infra/server/lib/domains/fields_domain.ts rename to x-pack/plugins/observability_solution/infra/server/lib/domains/fields_domain.ts diff --git a/x-pack/plugins/infra/server/lib/domains/metrics_domain.ts b/x-pack/plugins/observability_solution/infra/server/lib/domains/metrics_domain.ts similarity index 100% rename from x-pack/plugins/infra/server/lib/domains/metrics_domain.ts rename to x-pack/plugins/observability_solution/infra/server/lib/domains/metrics_domain.ts diff --git a/x-pack/plugins/infra/server/lib/host_details/get_services.ts b/x-pack/plugins/observability_solution/infra/server/lib/host_details/get_services.ts similarity index 100% rename from x-pack/plugins/infra/server/lib/host_details/get_services.ts rename to x-pack/plugins/observability_solution/infra/server/lib/host_details/get_services.ts diff --git a/x-pack/plugins/infra/server/lib/host_details/process_list.ts b/x-pack/plugins/observability_solution/infra/server/lib/host_details/process_list.ts similarity index 100% rename from x-pack/plugins/infra/server/lib/host_details/process_list.ts rename to x-pack/plugins/observability_solution/infra/server/lib/host_details/process_list.ts diff --git a/x-pack/plugins/infra/server/lib/host_details/process_list_chart.ts b/x-pack/plugins/observability_solution/infra/server/lib/host_details/process_list_chart.ts similarity index 100% rename from x-pack/plugins/infra/server/lib/host_details/process_list_chart.ts rename to x-pack/plugins/observability_solution/infra/server/lib/host_details/process_list_chart.ts diff --git a/x-pack/plugins/infra/server/lib/infra_ml/common.ts b/x-pack/plugins/observability_solution/infra/server/lib/infra_ml/common.ts similarity index 100% rename from x-pack/plugins/infra/server/lib/infra_ml/common.ts rename to x-pack/plugins/observability_solution/infra/server/lib/infra_ml/common.ts diff --git a/x-pack/plugins/infra/server/lib/infra_ml/errors.ts b/x-pack/plugins/observability_solution/infra/server/lib/infra_ml/errors.ts similarity index 100% rename from x-pack/plugins/infra/server/lib/infra_ml/errors.ts rename to x-pack/plugins/observability_solution/infra/server/lib/infra_ml/errors.ts diff --git a/x-pack/plugins/infra/server/lib/infra_ml/index.ts b/x-pack/plugins/observability_solution/infra/server/lib/infra_ml/index.ts similarity index 100% rename from x-pack/plugins/infra/server/lib/infra_ml/index.ts rename to x-pack/plugins/observability_solution/infra/server/lib/infra_ml/index.ts diff --git a/x-pack/plugins/infra/server/lib/infra_ml/metrics_hosts_anomalies.ts b/x-pack/plugins/observability_solution/infra/server/lib/infra_ml/metrics_hosts_anomalies.ts similarity index 100% rename from x-pack/plugins/infra/server/lib/infra_ml/metrics_hosts_anomalies.ts rename to x-pack/plugins/observability_solution/infra/server/lib/infra_ml/metrics_hosts_anomalies.ts diff --git a/x-pack/plugins/infra/server/lib/infra_ml/metrics_k8s_anomalies.ts b/x-pack/plugins/observability_solution/infra/server/lib/infra_ml/metrics_k8s_anomalies.ts similarity index 100% rename from x-pack/plugins/infra/server/lib/infra_ml/metrics_k8s_anomalies.ts rename to x-pack/plugins/observability_solution/infra/server/lib/infra_ml/metrics_k8s_anomalies.ts diff --git a/x-pack/plugins/infra/server/lib/infra_ml/queries/common.ts b/x-pack/plugins/observability_solution/infra/server/lib/infra_ml/queries/common.ts similarity index 100% rename from x-pack/plugins/infra/server/lib/infra_ml/queries/common.ts rename to x-pack/plugins/observability_solution/infra/server/lib/infra_ml/queries/common.ts diff --git a/x-pack/plugins/infra/server/lib/infra_ml/queries/index.ts b/x-pack/plugins/observability_solution/infra/server/lib/infra_ml/queries/index.ts similarity index 100% rename from x-pack/plugins/infra/server/lib/infra_ml/queries/index.ts rename to x-pack/plugins/observability_solution/infra/server/lib/infra_ml/queries/index.ts diff --git a/x-pack/plugins/infra/server/lib/infra_ml/queries/log_entry_data_sets.ts b/x-pack/plugins/observability_solution/infra/server/lib/infra_ml/queries/log_entry_data_sets.ts similarity index 100% rename from x-pack/plugins/infra/server/lib/infra_ml/queries/log_entry_data_sets.ts rename to x-pack/plugins/observability_solution/infra/server/lib/infra_ml/queries/log_entry_data_sets.ts diff --git a/x-pack/plugins/infra/server/lib/infra_ml/queries/metrics_host_anomalies.test.ts b/x-pack/plugins/observability_solution/infra/server/lib/infra_ml/queries/metrics_host_anomalies.test.ts similarity index 100% rename from x-pack/plugins/infra/server/lib/infra_ml/queries/metrics_host_anomalies.test.ts rename to x-pack/plugins/observability_solution/infra/server/lib/infra_ml/queries/metrics_host_anomalies.test.ts diff --git a/x-pack/plugins/infra/server/lib/infra_ml/queries/metrics_hosts_anomalies.ts b/x-pack/plugins/observability_solution/infra/server/lib/infra_ml/queries/metrics_hosts_anomalies.ts similarity index 100% rename from x-pack/plugins/infra/server/lib/infra_ml/queries/metrics_hosts_anomalies.ts rename to x-pack/plugins/observability_solution/infra/server/lib/infra_ml/queries/metrics_hosts_anomalies.ts diff --git a/x-pack/plugins/infra/server/lib/infra_ml/queries/metrics_k8s_anomalies.test.ts b/x-pack/plugins/observability_solution/infra/server/lib/infra_ml/queries/metrics_k8s_anomalies.test.ts similarity index 100% rename from x-pack/plugins/infra/server/lib/infra_ml/queries/metrics_k8s_anomalies.test.ts rename to x-pack/plugins/observability_solution/infra/server/lib/infra_ml/queries/metrics_k8s_anomalies.test.ts diff --git a/x-pack/plugins/infra/server/lib/infra_ml/queries/metrics_k8s_anomalies.ts b/x-pack/plugins/observability_solution/infra/server/lib/infra_ml/queries/metrics_k8s_anomalies.ts similarity index 100% rename from x-pack/plugins/infra/server/lib/infra_ml/queries/metrics_k8s_anomalies.ts rename to x-pack/plugins/observability_solution/infra/server/lib/infra_ml/queries/metrics_k8s_anomalies.ts diff --git a/x-pack/plugins/infra/server/lib/infra_ml/queries/ml_jobs.ts b/x-pack/plugins/observability_solution/infra/server/lib/infra_ml/queries/ml_jobs.ts similarity index 100% rename from x-pack/plugins/infra/server/lib/infra_ml/queries/ml_jobs.ts rename to x-pack/plugins/observability_solution/infra/server/lib/infra_ml/queries/ml_jobs.ts diff --git a/x-pack/plugins/infra/server/lib/infra_types.ts b/x-pack/plugins/observability_solution/infra/server/lib/infra_types.ts similarity index 100% rename from x-pack/plugins/infra/server/lib/infra_types.ts rename to x-pack/plugins/observability_solution/infra/server/lib/infra_types.ts diff --git a/x-pack/plugins/infra/server/lib/log_analysis/common.ts b/x-pack/plugins/observability_solution/infra/server/lib/log_analysis/common.ts similarity index 100% rename from x-pack/plugins/infra/server/lib/log_analysis/common.ts rename to x-pack/plugins/observability_solution/infra/server/lib/log_analysis/common.ts diff --git a/x-pack/plugins/infra/server/lib/log_analysis/errors.ts b/x-pack/plugins/observability_solution/infra/server/lib/log_analysis/errors.ts similarity index 100% rename from x-pack/plugins/infra/server/lib/log_analysis/errors.ts rename to x-pack/plugins/observability_solution/infra/server/lib/log_analysis/errors.ts diff --git a/x-pack/plugins/infra/server/lib/log_analysis/index.ts b/x-pack/plugins/observability_solution/infra/server/lib/log_analysis/index.ts similarity index 100% rename from x-pack/plugins/infra/server/lib/log_analysis/index.ts rename to x-pack/plugins/observability_solution/infra/server/lib/log_analysis/index.ts diff --git a/x-pack/plugins/infra/server/lib/log_analysis/log_entry_anomalies.ts b/x-pack/plugins/observability_solution/infra/server/lib/log_analysis/log_entry_anomalies.ts similarity index 100% rename from x-pack/plugins/infra/server/lib/log_analysis/log_entry_anomalies.ts rename to x-pack/plugins/observability_solution/infra/server/lib/log_analysis/log_entry_anomalies.ts diff --git a/x-pack/plugins/infra/server/lib/log_analysis/log_entry_categories_analysis.ts b/x-pack/plugins/observability_solution/infra/server/lib/log_analysis/log_entry_categories_analysis.ts similarity index 100% rename from x-pack/plugins/infra/server/lib/log_analysis/log_entry_categories_analysis.ts rename to x-pack/plugins/observability_solution/infra/server/lib/log_analysis/log_entry_categories_analysis.ts diff --git a/x-pack/plugins/infra/server/lib/log_analysis/log_entry_categories_datasets_stats.ts b/x-pack/plugins/observability_solution/infra/server/lib/log_analysis/log_entry_categories_datasets_stats.ts similarity index 100% rename from x-pack/plugins/infra/server/lib/log_analysis/log_entry_categories_datasets_stats.ts rename to x-pack/plugins/observability_solution/infra/server/lib/log_analysis/log_entry_categories_datasets_stats.ts diff --git a/x-pack/plugins/infra/server/lib/log_analysis/log_entry_rate_analysis.ts b/x-pack/plugins/observability_solution/infra/server/lib/log_analysis/log_entry_rate_analysis.ts similarity index 100% rename from x-pack/plugins/infra/server/lib/log_analysis/log_entry_rate_analysis.ts rename to x-pack/plugins/observability_solution/infra/server/lib/log_analysis/log_entry_rate_analysis.ts diff --git a/x-pack/plugins/infra/server/lib/log_analysis/queries/common.ts b/x-pack/plugins/observability_solution/infra/server/lib/log_analysis/queries/common.ts similarity index 100% rename from x-pack/plugins/infra/server/lib/log_analysis/queries/common.ts rename to x-pack/plugins/observability_solution/infra/server/lib/log_analysis/queries/common.ts diff --git a/x-pack/plugins/infra/server/lib/log_analysis/queries/index.ts b/x-pack/plugins/observability_solution/infra/server/lib/log_analysis/queries/index.ts similarity index 100% rename from x-pack/plugins/infra/server/lib/log_analysis/queries/index.ts rename to x-pack/plugins/observability_solution/infra/server/lib/log_analysis/queries/index.ts diff --git a/x-pack/plugins/infra/server/lib/log_analysis/queries/latest_log_entry_categories_datasets_stats.ts b/x-pack/plugins/observability_solution/infra/server/lib/log_analysis/queries/latest_log_entry_categories_datasets_stats.ts similarity index 100% rename from x-pack/plugins/infra/server/lib/log_analysis/queries/latest_log_entry_categories_datasets_stats.ts rename to x-pack/plugins/observability_solution/infra/server/lib/log_analysis/queries/latest_log_entry_categories_datasets_stats.ts diff --git a/x-pack/plugins/infra/server/lib/log_analysis/queries/log_entry_anomalies.ts b/x-pack/plugins/observability_solution/infra/server/lib/log_analysis/queries/log_entry_anomalies.ts similarity index 100% rename from x-pack/plugins/infra/server/lib/log_analysis/queries/log_entry_anomalies.ts rename to x-pack/plugins/observability_solution/infra/server/lib/log_analysis/queries/log_entry_anomalies.ts diff --git a/x-pack/plugins/infra/server/lib/log_analysis/queries/log_entry_categories.ts b/x-pack/plugins/observability_solution/infra/server/lib/log_analysis/queries/log_entry_categories.ts similarity index 100% rename from x-pack/plugins/infra/server/lib/log_analysis/queries/log_entry_categories.ts rename to x-pack/plugins/observability_solution/infra/server/lib/log_analysis/queries/log_entry_categories.ts diff --git a/x-pack/plugins/infra/server/lib/log_analysis/queries/log_entry_category_examples.ts b/x-pack/plugins/observability_solution/infra/server/lib/log_analysis/queries/log_entry_category_examples.ts similarity index 100% rename from x-pack/plugins/infra/server/lib/log_analysis/queries/log_entry_category_examples.ts rename to x-pack/plugins/observability_solution/infra/server/lib/log_analysis/queries/log_entry_category_examples.ts diff --git a/x-pack/plugins/infra/server/lib/log_analysis/queries/log_entry_category_histograms.ts b/x-pack/plugins/observability_solution/infra/server/lib/log_analysis/queries/log_entry_category_histograms.ts similarity index 100% rename from x-pack/plugins/infra/server/lib/log_analysis/queries/log_entry_category_histograms.ts rename to x-pack/plugins/observability_solution/infra/server/lib/log_analysis/queries/log_entry_category_histograms.ts diff --git a/x-pack/plugins/infra/server/lib/log_analysis/queries/log_entry_data_sets.ts b/x-pack/plugins/observability_solution/infra/server/lib/log_analysis/queries/log_entry_data_sets.ts similarity index 100% rename from x-pack/plugins/infra/server/lib/log_analysis/queries/log_entry_data_sets.ts rename to x-pack/plugins/observability_solution/infra/server/lib/log_analysis/queries/log_entry_data_sets.ts diff --git a/x-pack/plugins/infra/server/lib/log_analysis/queries/log_entry_examples.ts b/x-pack/plugins/observability_solution/infra/server/lib/log_analysis/queries/log_entry_examples.ts similarity index 100% rename from x-pack/plugins/infra/server/lib/log_analysis/queries/log_entry_examples.ts rename to x-pack/plugins/observability_solution/infra/server/lib/log_analysis/queries/log_entry_examples.ts diff --git a/x-pack/plugins/infra/server/lib/log_analysis/queries/log_entry_rate.ts b/x-pack/plugins/observability_solution/infra/server/lib/log_analysis/queries/log_entry_rate.ts similarity index 100% rename from x-pack/plugins/infra/server/lib/log_analysis/queries/log_entry_rate.ts rename to x-pack/plugins/observability_solution/infra/server/lib/log_analysis/queries/log_entry_rate.ts diff --git a/x-pack/plugins/infra/server/lib/log_analysis/queries/ml_jobs.ts b/x-pack/plugins/observability_solution/infra/server/lib/log_analysis/queries/ml_jobs.ts similarity index 100% rename from x-pack/plugins/infra/server/lib/log_analysis/queries/ml_jobs.ts rename to x-pack/plugins/observability_solution/infra/server/lib/log_analysis/queries/ml_jobs.ts diff --git a/x-pack/plugins/infra/server/lib/log_analysis/queries/top_log_entry_categories.ts b/x-pack/plugins/observability_solution/infra/server/lib/log_analysis/queries/top_log_entry_categories.ts similarity index 100% rename from x-pack/plugins/infra/server/lib/log_analysis/queries/top_log_entry_categories.ts rename to x-pack/plugins/observability_solution/infra/server/lib/log_analysis/queries/top_log_entry_categories.ts diff --git a/x-pack/plugins/infra/server/lib/log_analysis/resolve_id_formats.ts b/x-pack/plugins/observability_solution/infra/server/lib/log_analysis/resolve_id_formats.ts similarity index 100% rename from x-pack/plugins/infra/server/lib/log_analysis/resolve_id_formats.ts rename to x-pack/plugins/observability_solution/infra/server/lib/log_analysis/resolve_id_formats.ts diff --git a/x-pack/plugins/infra/server/lib/metrics/constants.ts b/x-pack/plugins/observability_solution/infra/server/lib/metrics/constants.ts similarity index 100% rename from x-pack/plugins/infra/server/lib/metrics/constants.ts rename to x-pack/plugins/observability_solution/infra/server/lib/metrics/constants.ts diff --git a/x-pack/plugins/infra/server/lib/metrics/index.ts b/x-pack/plugins/observability_solution/infra/server/lib/metrics/index.ts similarity index 100% rename from x-pack/plugins/infra/server/lib/metrics/index.ts rename to x-pack/plugins/observability_solution/infra/server/lib/metrics/index.ts diff --git a/x-pack/plugins/infra/server/lib/metrics/lib/__snapshots__/convert_buckets_to_metrics_series.test.ts.snap b/x-pack/plugins/observability_solution/infra/server/lib/metrics/lib/__snapshots__/convert_buckets_to_metrics_series.test.ts.snap similarity index 100% rename from x-pack/plugins/infra/server/lib/metrics/lib/__snapshots__/convert_buckets_to_metrics_series.test.ts.snap rename to x-pack/plugins/observability_solution/infra/server/lib/metrics/lib/__snapshots__/convert_buckets_to_metrics_series.test.ts.snap diff --git a/x-pack/plugins/infra/server/lib/metrics/lib/__snapshots__/create_aggregations.test.ts.snap b/x-pack/plugins/observability_solution/infra/server/lib/metrics/lib/__snapshots__/create_aggregations.test.ts.snap similarity index 100% rename from x-pack/plugins/infra/server/lib/metrics/lib/__snapshots__/create_aggregations.test.ts.snap rename to x-pack/plugins/observability_solution/infra/server/lib/metrics/lib/__snapshots__/create_aggregations.test.ts.snap diff --git a/x-pack/plugins/infra/server/lib/metrics/lib/__snapshots__/create_metrics_aggregations.test.ts.snap b/x-pack/plugins/observability_solution/infra/server/lib/metrics/lib/__snapshots__/create_metrics_aggregations.test.ts.snap similarity index 100% rename from x-pack/plugins/infra/server/lib/metrics/lib/__snapshots__/create_metrics_aggregations.test.ts.snap rename to x-pack/plugins/observability_solution/infra/server/lib/metrics/lib/__snapshots__/create_metrics_aggregations.test.ts.snap diff --git a/x-pack/plugins/infra/server/lib/metrics/lib/calculate_bucket_size/calculate_auto.test.ts b/x-pack/plugins/observability_solution/infra/server/lib/metrics/lib/calculate_bucket_size/calculate_auto.test.ts similarity index 100% rename from x-pack/plugins/infra/server/lib/metrics/lib/calculate_bucket_size/calculate_auto.test.ts rename to x-pack/plugins/observability_solution/infra/server/lib/metrics/lib/calculate_bucket_size/calculate_auto.test.ts diff --git a/x-pack/plugins/infra/server/lib/metrics/lib/calculate_bucket_size/calculate_auto.ts b/x-pack/plugins/observability_solution/infra/server/lib/metrics/lib/calculate_bucket_size/calculate_auto.ts similarity index 100% rename from x-pack/plugins/infra/server/lib/metrics/lib/calculate_bucket_size/calculate_auto.ts rename to x-pack/plugins/observability_solution/infra/server/lib/metrics/lib/calculate_bucket_size/calculate_auto.ts diff --git a/x-pack/plugins/infra/server/lib/metrics/lib/calculate_bucket_size/calculate_bucket_size.test.ts b/x-pack/plugins/observability_solution/infra/server/lib/metrics/lib/calculate_bucket_size/calculate_bucket_size.test.ts similarity index 100% rename from x-pack/plugins/infra/server/lib/metrics/lib/calculate_bucket_size/calculate_bucket_size.test.ts rename to x-pack/plugins/observability_solution/infra/server/lib/metrics/lib/calculate_bucket_size/calculate_bucket_size.test.ts diff --git a/x-pack/plugins/infra/server/lib/metrics/lib/calculate_bucket_size/index.ts b/x-pack/plugins/observability_solution/infra/server/lib/metrics/lib/calculate_bucket_size/index.ts similarity index 100% rename from x-pack/plugins/infra/server/lib/metrics/lib/calculate_bucket_size/index.ts rename to x-pack/plugins/observability_solution/infra/server/lib/metrics/lib/calculate_bucket_size/index.ts diff --git a/x-pack/plugins/infra/server/lib/metrics/lib/calculate_bucket_size/interval_regex.test.ts b/x-pack/plugins/observability_solution/infra/server/lib/metrics/lib/calculate_bucket_size/interval_regex.test.ts similarity index 100% rename from x-pack/plugins/infra/server/lib/metrics/lib/calculate_bucket_size/interval_regex.test.ts rename to x-pack/plugins/observability_solution/infra/server/lib/metrics/lib/calculate_bucket_size/interval_regex.test.ts diff --git a/x-pack/plugins/infra/server/lib/metrics/lib/calculate_bucket_size/interval_regex.ts b/x-pack/plugins/observability_solution/infra/server/lib/metrics/lib/calculate_bucket_size/interval_regex.ts similarity index 100% rename from x-pack/plugins/infra/server/lib/metrics/lib/calculate_bucket_size/interval_regex.ts rename to x-pack/plugins/observability_solution/infra/server/lib/metrics/lib/calculate_bucket_size/interval_regex.ts diff --git a/x-pack/plugins/infra/server/lib/metrics/lib/calculate_bucket_size/unit_to_seconds.test.ts b/x-pack/plugins/observability_solution/infra/server/lib/metrics/lib/calculate_bucket_size/unit_to_seconds.test.ts similarity index 100% rename from x-pack/plugins/infra/server/lib/metrics/lib/calculate_bucket_size/unit_to_seconds.test.ts rename to x-pack/plugins/observability_solution/infra/server/lib/metrics/lib/calculate_bucket_size/unit_to_seconds.test.ts diff --git a/x-pack/plugins/infra/server/lib/metrics/lib/calculate_bucket_size/unit_to_seconds.ts b/x-pack/plugins/observability_solution/infra/server/lib/metrics/lib/calculate_bucket_size/unit_to_seconds.ts similarity index 100% rename from x-pack/plugins/infra/server/lib/metrics/lib/calculate_bucket_size/unit_to_seconds.ts rename to x-pack/plugins/observability_solution/infra/server/lib/metrics/lib/calculate_bucket_size/unit_to_seconds.ts diff --git a/x-pack/plugins/infra/server/lib/metrics/lib/calculate_date_histogram_offset.test.ts b/x-pack/plugins/observability_solution/infra/server/lib/metrics/lib/calculate_date_histogram_offset.test.ts similarity index 100% rename from x-pack/plugins/infra/server/lib/metrics/lib/calculate_date_histogram_offset.test.ts rename to x-pack/plugins/observability_solution/infra/server/lib/metrics/lib/calculate_date_histogram_offset.test.ts diff --git a/x-pack/plugins/infra/server/lib/metrics/lib/calculate_date_histogram_offset.ts b/x-pack/plugins/observability_solution/infra/server/lib/metrics/lib/calculate_date_histogram_offset.ts similarity index 100% rename from x-pack/plugins/infra/server/lib/metrics/lib/calculate_date_histogram_offset.ts rename to x-pack/plugins/observability_solution/infra/server/lib/metrics/lib/calculate_date_histogram_offset.ts diff --git a/x-pack/plugins/infra/server/lib/metrics/lib/calculate_interval.ts b/x-pack/plugins/observability_solution/infra/server/lib/metrics/lib/calculate_interval.ts similarity index 100% rename from x-pack/plugins/infra/server/lib/metrics/lib/calculate_interval.ts rename to x-pack/plugins/observability_solution/infra/server/lib/metrics/lib/calculate_interval.ts diff --git a/x-pack/plugins/infra/server/lib/metrics/lib/convert_buckets_to_metrics_series.test.ts b/x-pack/plugins/observability_solution/infra/server/lib/metrics/lib/convert_buckets_to_metrics_series.test.ts similarity index 100% rename from x-pack/plugins/infra/server/lib/metrics/lib/convert_buckets_to_metrics_series.test.ts rename to x-pack/plugins/observability_solution/infra/server/lib/metrics/lib/convert_buckets_to_metrics_series.test.ts diff --git a/x-pack/plugins/infra/server/lib/metrics/lib/convert_buckets_to_metrics_series.ts b/x-pack/plugins/observability_solution/infra/server/lib/metrics/lib/convert_buckets_to_metrics_series.ts similarity index 100% rename from x-pack/plugins/infra/server/lib/metrics/lib/convert_buckets_to_metrics_series.ts rename to x-pack/plugins/observability_solution/infra/server/lib/metrics/lib/convert_buckets_to_metrics_series.ts diff --git a/x-pack/plugins/infra/server/lib/metrics/lib/create_aggregations.test.ts b/x-pack/plugins/observability_solution/infra/server/lib/metrics/lib/create_aggregations.test.ts similarity index 100% rename from x-pack/plugins/infra/server/lib/metrics/lib/create_aggregations.test.ts rename to x-pack/plugins/observability_solution/infra/server/lib/metrics/lib/create_aggregations.test.ts diff --git a/x-pack/plugins/infra/server/lib/metrics/lib/create_aggregations.ts b/x-pack/plugins/observability_solution/infra/server/lib/metrics/lib/create_aggregations.ts similarity index 100% rename from x-pack/plugins/infra/server/lib/metrics/lib/create_aggregations.ts rename to x-pack/plugins/observability_solution/infra/server/lib/metrics/lib/create_aggregations.ts diff --git a/x-pack/plugins/infra/server/lib/metrics/lib/create_metrics_aggregations.test.ts b/x-pack/plugins/observability_solution/infra/server/lib/metrics/lib/create_metrics_aggregations.test.ts similarity index 100% rename from x-pack/plugins/infra/server/lib/metrics/lib/create_metrics_aggregations.test.ts rename to x-pack/plugins/observability_solution/infra/server/lib/metrics/lib/create_metrics_aggregations.test.ts diff --git a/x-pack/plugins/infra/server/lib/metrics/lib/create_metrics_aggregations.ts b/x-pack/plugins/observability_solution/infra/server/lib/metrics/lib/create_metrics_aggregations.ts similarity index 100% rename from x-pack/plugins/infra/server/lib/metrics/lib/create_metrics_aggregations.ts rename to x-pack/plugins/observability_solution/infra/server/lib/metrics/lib/create_metrics_aggregations.ts diff --git a/x-pack/plugins/infra/server/lib/metrics/types.ts b/x-pack/plugins/observability_solution/infra/server/lib/metrics/types.ts similarity index 100% rename from x-pack/plugins/infra/server/lib/metrics/types.ts rename to x-pack/plugins/observability_solution/infra/server/lib/metrics/types.ts diff --git a/x-pack/plugins/infra/server/lib/source_status.ts b/x-pack/plugins/observability_solution/infra/server/lib/source_status.ts similarity index 100% rename from x-pack/plugins/infra/server/lib/source_status.ts rename to x-pack/plugins/observability_solution/infra/server/lib/source_status.ts diff --git a/x-pack/plugins/infra/server/lib/sources/defaults.ts b/x-pack/plugins/observability_solution/infra/server/lib/sources/defaults.ts similarity index 100% rename from x-pack/plugins/infra/server/lib/sources/defaults.ts rename to x-pack/plugins/observability_solution/infra/server/lib/sources/defaults.ts diff --git a/x-pack/plugins/infra/server/lib/sources/errors.ts b/x-pack/plugins/observability_solution/infra/server/lib/sources/errors.ts similarity index 100% rename from x-pack/plugins/infra/server/lib/sources/errors.ts rename to x-pack/plugins/observability_solution/infra/server/lib/sources/errors.ts diff --git a/x-pack/plugins/infra/server/lib/sources/has_data.ts b/x-pack/plugins/observability_solution/infra/server/lib/sources/has_data.ts similarity index 100% rename from x-pack/plugins/infra/server/lib/sources/has_data.ts rename to x-pack/plugins/observability_solution/infra/server/lib/sources/has_data.ts diff --git a/x-pack/plugins/infra/server/lib/sources/index.ts b/x-pack/plugins/observability_solution/infra/server/lib/sources/index.ts similarity index 100% rename from x-pack/plugins/infra/server/lib/sources/index.ts rename to x-pack/plugins/observability_solution/infra/server/lib/sources/index.ts diff --git a/x-pack/plugins/infra/server/lib/sources/migrations/7_13_0_convert_log_alias_to_log_indices.test.ts b/x-pack/plugins/observability_solution/infra/server/lib/sources/migrations/7_13_0_convert_log_alias_to_log_indices.test.ts similarity index 100% rename from x-pack/plugins/infra/server/lib/sources/migrations/7_13_0_convert_log_alias_to_log_indices.test.ts rename to x-pack/plugins/observability_solution/infra/server/lib/sources/migrations/7_13_0_convert_log_alias_to_log_indices.test.ts diff --git a/x-pack/plugins/infra/server/lib/sources/migrations/7_13_0_convert_log_alias_to_log_indices.ts b/x-pack/plugins/observability_solution/infra/server/lib/sources/migrations/7_13_0_convert_log_alias_to_log_indices.ts similarity index 100% rename from x-pack/plugins/infra/server/lib/sources/migrations/7_13_0_convert_log_alias_to_log_indices.ts rename to x-pack/plugins/observability_solution/infra/server/lib/sources/migrations/7_13_0_convert_log_alias_to_log_indices.ts diff --git a/x-pack/plugins/infra/server/lib/sources/migrations/7_16_2_extract_inventory_default_view_reference.test.ts b/x-pack/plugins/observability_solution/infra/server/lib/sources/migrations/7_16_2_extract_inventory_default_view_reference.test.ts similarity index 100% rename from x-pack/plugins/infra/server/lib/sources/migrations/7_16_2_extract_inventory_default_view_reference.test.ts rename to x-pack/plugins/observability_solution/infra/server/lib/sources/migrations/7_16_2_extract_inventory_default_view_reference.test.ts diff --git a/x-pack/plugins/infra/server/lib/sources/migrations/7_16_2_extract_inventory_default_view_reference.ts b/x-pack/plugins/observability_solution/infra/server/lib/sources/migrations/7_16_2_extract_inventory_default_view_reference.ts similarity index 100% rename from x-pack/plugins/infra/server/lib/sources/migrations/7_16_2_extract_inventory_default_view_reference.ts rename to x-pack/plugins/observability_solution/infra/server/lib/sources/migrations/7_16_2_extract_inventory_default_view_reference.ts diff --git a/x-pack/plugins/infra/server/lib/sources/migrations/7_16_2_extract_metrics_explorer_default_view_reference.test.ts b/x-pack/plugins/observability_solution/infra/server/lib/sources/migrations/7_16_2_extract_metrics_explorer_default_view_reference.test.ts similarity index 100% rename from x-pack/plugins/infra/server/lib/sources/migrations/7_16_2_extract_metrics_explorer_default_view_reference.test.ts rename to x-pack/plugins/observability_solution/infra/server/lib/sources/migrations/7_16_2_extract_metrics_explorer_default_view_reference.test.ts diff --git a/x-pack/plugins/infra/server/lib/sources/migrations/7_16_2_extract_metrics_explorer_default_view_reference.ts b/x-pack/plugins/observability_solution/infra/server/lib/sources/migrations/7_16_2_extract_metrics_explorer_default_view_reference.ts similarity index 100% rename from x-pack/plugins/infra/server/lib/sources/migrations/7_16_2_extract_metrics_explorer_default_view_reference.ts rename to x-pack/plugins/observability_solution/infra/server/lib/sources/migrations/7_16_2_extract_metrics_explorer_default_view_reference.ts diff --git a/x-pack/plugins/infra/server/lib/sources/migrations/7_9_0_add_new_indexing_strategy_index_names.test.ts b/x-pack/plugins/observability_solution/infra/server/lib/sources/migrations/7_9_0_add_new_indexing_strategy_index_names.test.ts similarity index 100% rename from x-pack/plugins/infra/server/lib/sources/migrations/7_9_0_add_new_indexing_strategy_index_names.test.ts rename to x-pack/plugins/observability_solution/infra/server/lib/sources/migrations/7_9_0_add_new_indexing_strategy_index_names.test.ts diff --git a/x-pack/plugins/infra/server/lib/sources/migrations/7_9_0_add_new_indexing_strategy_index_names.ts b/x-pack/plugins/observability_solution/infra/server/lib/sources/migrations/7_9_0_add_new_indexing_strategy_index_names.ts similarity index 100% rename from x-pack/plugins/infra/server/lib/sources/migrations/7_9_0_add_new_indexing_strategy_index_names.ts rename to x-pack/plugins/observability_solution/infra/server/lib/sources/migrations/7_9_0_add_new_indexing_strategy_index_names.ts diff --git a/x-pack/plugins/infra/server/lib/sources/migrations/compose_migrations.test.ts b/x-pack/plugins/observability_solution/infra/server/lib/sources/migrations/compose_migrations.test.ts similarity index 100% rename from x-pack/plugins/infra/server/lib/sources/migrations/compose_migrations.test.ts rename to x-pack/plugins/observability_solution/infra/server/lib/sources/migrations/compose_migrations.test.ts diff --git a/x-pack/plugins/infra/server/lib/sources/migrations/compose_migrations.ts b/x-pack/plugins/observability_solution/infra/server/lib/sources/migrations/compose_migrations.ts similarity index 100% rename from x-pack/plugins/infra/server/lib/sources/migrations/compose_migrations.ts rename to x-pack/plugins/observability_solution/infra/server/lib/sources/migrations/compose_migrations.ts diff --git a/x-pack/plugins/infra/server/lib/sources/migrations/create_test_source_configuration.ts b/x-pack/plugins/observability_solution/infra/server/lib/sources/migrations/create_test_source_configuration.ts similarity index 100% rename from x-pack/plugins/infra/server/lib/sources/migrations/create_test_source_configuration.ts rename to x-pack/plugins/observability_solution/infra/server/lib/sources/migrations/create_test_source_configuration.ts diff --git a/x-pack/plugins/infra/server/lib/sources/mocks.ts b/x-pack/plugins/observability_solution/infra/server/lib/sources/mocks.ts similarity index 100% rename from x-pack/plugins/infra/server/lib/sources/mocks.ts rename to x-pack/plugins/observability_solution/infra/server/lib/sources/mocks.ts diff --git a/x-pack/plugins/infra/server/lib/sources/saved_object_references.test.ts b/x-pack/plugins/observability_solution/infra/server/lib/sources/saved_object_references.test.ts similarity index 100% rename from x-pack/plugins/infra/server/lib/sources/saved_object_references.test.ts rename to x-pack/plugins/observability_solution/infra/server/lib/sources/saved_object_references.test.ts diff --git a/x-pack/plugins/infra/server/lib/sources/saved_object_references.ts b/x-pack/plugins/observability_solution/infra/server/lib/sources/saved_object_references.ts similarity index 100% rename from x-pack/plugins/infra/server/lib/sources/saved_object_references.ts rename to x-pack/plugins/observability_solution/infra/server/lib/sources/saved_object_references.ts diff --git a/x-pack/plugins/infra/server/lib/sources/saved_object_type.ts b/x-pack/plugins/observability_solution/infra/server/lib/sources/saved_object_type.ts similarity index 100% rename from x-pack/plugins/infra/server/lib/sources/saved_object_type.ts rename to x-pack/plugins/observability_solution/infra/server/lib/sources/saved_object_type.ts diff --git a/x-pack/plugins/infra/server/lib/sources/sources.test.ts b/x-pack/plugins/observability_solution/infra/server/lib/sources/sources.test.ts similarity index 100% rename from x-pack/plugins/infra/server/lib/sources/sources.test.ts rename to x-pack/plugins/observability_solution/infra/server/lib/sources/sources.test.ts diff --git a/x-pack/plugins/infra/server/lib/sources/sources.ts b/x-pack/plugins/observability_solution/infra/server/lib/sources/sources.ts similarity index 100% rename from x-pack/plugins/infra/server/lib/sources/sources.ts rename to x-pack/plugins/observability_solution/infra/server/lib/sources/sources.ts diff --git a/x-pack/plugins/infra/server/lib/sources/types.ts b/x-pack/plugins/observability_solution/infra/server/lib/sources/types.ts similarity index 100% rename from x-pack/plugins/infra/server/lib/sources/types.ts rename to x-pack/plugins/observability_solution/infra/server/lib/sources/types.ts diff --git a/x-pack/plugins/infra/server/mocks.ts b/x-pack/plugins/observability_solution/infra/server/mocks.ts similarity index 100% rename from x-pack/plugins/infra/server/mocks.ts rename to x-pack/plugins/observability_solution/infra/server/mocks.ts diff --git a/x-pack/plugins/infra/server/plugin.ts b/x-pack/plugins/observability_solution/infra/server/plugin.ts similarity index 100% rename from x-pack/plugins/infra/server/plugin.ts rename to x-pack/plugins/observability_solution/infra/server/plugin.ts diff --git a/x-pack/plugins/infra/server/routes/custom_dashboards/custom_dashboards.ts b/x-pack/plugins/observability_solution/infra/server/routes/custom_dashboards/custom_dashboards.ts similarity index 100% rename from x-pack/plugins/infra/server/routes/custom_dashboards/custom_dashboards.ts rename to x-pack/plugins/observability_solution/infra/server/routes/custom_dashboards/custom_dashboards.ts diff --git a/x-pack/plugins/infra/server/routes/custom_dashboards/get_custom_dashboard.ts b/x-pack/plugins/observability_solution/infra/server/routes/custom_dashboards/get_custom_dashboard.ts similarity index 100% rename from x-pack/plugins/infra/server/routes/custom_dashboards/get_custom_dashboard.ts rename to x-pack/plugins/observability_solution/infra/server/routes/custom_dashboards/get_custom_dashboard.ts diff --git a/x-pack/plugins/infra/server/routes/custom_dashboards/lib/check_custom_dashboards_enabled.ts b/x-pack/plugins/observability_solution/infra/server/routes/custom_dashboards/lib/check_custom_dashboards_enabled.ts similarity index 100% rename from x-pack/plugins/infra/server/routes/custom_dashboards/lib/check_custom_dashboards_enabled.ts rename to x-pack/plugins/observability_solution/infra/server/routes/custom_dashboards/lib/check_custom_dashboards_enabled.ts diff --git a/x-pack/plugins/infra/server/routes/custom_dashboards/lib/find_custom_dashboard.ts b/x-pack/plugins/observability_solution/infra/server/routes/custom_dashboards/lib/find_custom_dashboard.ts similarity index 100% rename from x-pack/plugins/infra/server/routes/custom_dashboards/lib/find_custom_dashboard.ts rename to x-pack/plugins/observability_solution/infra/server/routes/custom_dashboards/lib/find_custom_dashboard.ts diff --git a/x-pack/plugins/infra/server/routes/custom_dashboards/save_custom_dashboard.ts b/x-pack/plugins/observability_solution/infra/server/routes/custom_dashboards/save_custom_dashboard.ts similarity index 100% rename from x-pack/plugins/infra/server/routes/custom_dashboards/save_custom_dashboard.ts rename to x-pack/plugins/observability_solution/infra/server/routes/custom_dashboards/save_custom_dashboard.ts diff --git a/x-pack/plugins/infra/server/routes/infra/README.md b/x-pack/plugins/observability_solution/infra/server/routes/infra/README.md similarity index 100% rename from x-pack/plugins/infra/server/routes/infra/README.md rename to x-pack/plugins/observability_solution/infra/server/routes/infra/README.md diff --git a/x-pack/plugins/infra/server/routes/infra/index.ts b/x-pack/plugins/observability_solution/infra/server/routes/infra/index.ts similarity index 100% rename from x-pack/plugins/infra/server/routes/infra/index.ts rename to x-pack/plugins/observability_solution/infra/server/routes/infra/index.ts diff --git a/x-pack/plugins/infra/server/routes/infra/lib/constants.ts b/x-pack/plugins/observability_solution/infra/server/routes/infra/lib/constants.ts similarity index 100% rename from x-pack/plugins/infra/server/routes/infra/lib/constants.ts rename to x-pack/plugins/observability_solution/infra/server/routes/infra/lib/constants.ts diff --git a/x-pack/plugins/infra/server/routes/infra/lib/helpers/get_infra_alerts_client.ts b/x-pack/plugins/observability_solution/infra/server/routes/infra/lib/helpers/get_infra_alerts_client.ts similarity index 100% rename from x-pack/plugins/infra/server/routes/infra/lib/helpers/get_infra_alerts_client.ts rename to x-pack/plugins/observability_solution/infra/server/routes/infra/lib/helpers/get_infra_alerts_client.ts diff --git a/x-pack/plugins/infra/server/routes/infra/lib/helpers/query.ts b/x-pack/plugins/observability_solution/infra/server/routes/infra/lib/helpers/query.ts similarity index 100% rename from x-pack/plugins/infra/server/routes/infra/lib/helpers/query.ts rename to x-pack/plugins/observability_solution/infra/server/routes/infra/lib/helpers/query.ts diff --git a/x-pack/plugins/infra/server/routes/infra/lib/host/get_all_hosts.ts b/x-pack/plugins/observability_solution/infra/server/routes/infra/lib/host/get_all_hosts.ts similarity index 100% rename from x-pack/plugins/infra/server/routes/infra/lib/host/get_all_hosts.ts rename to x-pack/plugins/observability_solution/infra/server/routes/infra/lib/host/get_all_hosts.ts diff --git a/x-pack/plugins/infra/server/routes/infra/lib/host/get_filtered_hosts.ts b/x-pack/plugins/observability_solution/infra/server/routes/infra/lib/host/get_filtered_hosts.ts similarity index 100% rename from x-pack/plugins/infra/server/routes/infra/lib/host/get_filtered_hosts.ts rename to x-pack/plugins/observability_solution/infra/server/routes/infra/lib/host/get_filtered_hosts.ts diff --git a/x-pack/plugins/infra/server/routes/infra/lib/host/get_hosts.ts b/x-pack/plugins/observability_solution/infra/server/routes/infra/lib/host/get_hosts.ts similarity index 100% rename from x-pack/plugins/infra/server/routes/infra/lib/host/get_hosts.ts rename to x-pack/plugins/observability_solution/infra/server/routes/infra/lib/host/get_hosts.ts diff --git a/x-pack/plugins/infra/server/routes/infra/lib/host/get_hosts_alerts_count.ts b/x-pack/plugins/observability_solution/infra/server/routes/infra/lib/host/get_hosts_alerts_count.ts similarity index 100% rename from x-pack/plugins/infra/server/routes/infra/lib/host/get_hosts_alerts_count.ts rename to x-pack/plugins/observability_solution/infra/server/routes/infra/lib/host/get_hosts_alerts_count.ts diff --git a/x-pack/plugins/infra/server/routes/infra/lib/mapper.test.ts b/x-pack/plugins/observability_solution/infra/server/routes/infra/lib/mapper.test.ts similarity index 100% rename from x-pack/plugins/infra/server/routes/infra/lib/mapper.test.ts rename to x-pack/plugins/observability_solution/infra/server/routes/infra/lib/mapper.test.ts diff --git a/x-pack/plugins/infra/server/routes/infra/lib/mapper.ts b/x-pack/plugins/observability_solution/infra/server/routes/infra/lib/mapper.ts similarity index 100% rename from x-pack/plugins/infra/server/routes/infra/lib/mapper.ts rename to x-pack/plugins/observability_solution/infra/server/routes/infra/lib/mapper.ts diff --git a/x-pack/plugins/infra/server/routes/infra/lib/types.ts b/x-pack/plugins/observability_solution/infra/server/routes/infra/lib/types.ts similarity index 100% rename from x-pack/plugins/infra/server/routes/infra/lib/types.ts rename to x-pack/plugins/observability_solution/infra/server/routes/infra/lib/types.ts diff --git a/x-pack/plugins/infra/server/routes/infra/lib/utils.test.ts b/x-pack/plugins/observability_solution/infra/server/routes/infra/lib/utils.test.ts similarity index 100% rename from x-pack/plugins/infra/server/routes/infra/lib/utils.test.ts rename to x-pack/plugins/observability_solution/infra/server/routes/infra/lib/utils.test.ts diff --git a/x-pack/plugins/infra/server/routes/infra/lib/utils.ts b/x-pack/plugins/observability_solution/infra/server/routes/infra/lib/utils.ts similarity index 100% rename from x-pack/plugins/infra/server/routes/infra/lib/utils.ts rename to x-pack/plugins/observability_solution/infra/server/routes/infra/lib/utils.ts diff --git a/x-pack/plugins/infra/server/routes/infra_ml/index.ts b/x-pack/plugins/observability_solution/infra/server/routes/infra_ml/index.ts similarity index 100% rename from x-pack/plugins/infra/server/routes/infra_ml/index.ts rename to x-pack/plugins/observability_solution/infra/server/routes/infra_ml/index.ts diff --git a/x-pack/plugins/infra/server/routes/infra_ml/results/index.ts b/x-pack/plugins/observability_solution/infra/server/routes/infra_ml/results/index.ts similarity index 100% rename from x-pack/plugins/infra/server/routes/infra_ml/results/index.ts rename to x-pack/plugins/observability_solution/infra/server/routes/infra_ml/results/index.ts diff --git a/x-pack/plugins/infra/server/routes/infra_ml/results/metrics_hosts_anomalies.ts b/x-pack/plugins/observability_solution/infra/server/routes/infra_ml/results/metrics_hosts_anomalies.ts similarity index 100% rename from x-pack/plugins/infra/server/routes/infra_ml/results/metrics_hosts_anomalies.ts rename to x-pack/plugins/observability_solution/infra/server/routes/infra_ml/results/metrics_hosts_anomalies.ts diff --git a/x-pack/plugins/infra/server/routes/infra_ml/results/metrics_k8s_anomalies.ts b/x-pack/plugins/observability_solution/infra/server/routes/infra_ml/results/metrics_k8s_anomalies.ts similarity index 100% rename from x-pack/plugins/infra/server/routes/infra_ml/results/metrics_k8s_anomalies.ts rename to x-pack/plugins/observability_solution/infra/server/routes/infra_ml/results/metrics_k8s_anomalies.ts diff --git a/x-pack/plugins/infra/server/routes/inventory_metadata/index.ts b/x-pack/plugins/observability_solution/infra/server/routes/inventory_metadata/index.ts similarity index 100% rename from x-pack/plugins/infra/server/routes/inventory_metadata/index.ts rename to x-pack/plugins/observability_solution/infra/server/routes/inventory_metadata/index.ts diff --git a/x-pack/plugins/infra/server/routes/inventory_metadata/lib/get_cloud_metadata.ts b/x-pack/plugins/observability_solution/infra/server/routes/inventory_metadata/lib/get_cloud_metadata.ts similarity index 100% rename from x-pack/plugins/infra/server/routes/inventory_metadata/lib/get_cloud_metadata.ts rename to x-pack/plugins/observability_solution/infra/server/routes/inventory_metadata/lib/get_cloud_metadata.ts diff --git a/x-pack/plugins/infra/server/routes/inventory_views/README.md b/x-pack/plugins/observability_solution/infra/server/routes/inventory_views/README.md similarity index 100% rename from x-pack/plugins/infra/server/routes/inventory_views/README.md rename to x-pack/plugins/observability_solution/infra/server/routes/inventory_views/README.md diff --git a/x-pack/plugins/infra/server/routes/inventory_views/create_inventory_view.ts b/x-pack/plugins/observability_solution/infra/server/routes/inventory_views/create_inventory_view.ts similarity index 100% rename from x-pack/plugins/infra/server/routes/inventory_views/create_inventory_view.ts rename to x-pack/plugins/observability_solution/infra/server/routes/inventory_views/create_inventory_view.ts diff --git a/x-pack/plugins/infra/server/routes/inventory_views/delete_inventory_view.ts b/x-pack/plugins/observability_solution/infra/server/routes/inventory_views/delete_inventory_view.ts similarity index 100% rename from x-pack/plugins/infra/server/routes/inventory_views/delete_inventory_view.ts rename to x-pack/plugins/observability_solution/infra/server/routes/inventory_views/delete_inventory_view.ts diff --git a/x-pack/plugins/infra/server/routes/inventory_views/find_inventory_view.ts b/x-pack/plugins/observability_solution/infra/server/routes/inventory_views/find_inventory_view.ts similarity index 100% rename from x-pack/plugins/infra/server/routes/inventory_views/find_inventory_view.ts rename to x-pack/plugins/observability_solution/infra/server/routes/inventory_views/find_inventory_view.ts diff --git a/x-pack/plugins/infra/server/routes/inventory_views/get_inventory_view.ts b/x-pack/plugins/observability_solution/infra/server/routes/inventory_views/get_inventory_view.ts similarity index 100% rename from x-pack/plugins/infra/server/routes/inventory_views/get_inventory_view.ts rename to x-pack/plugins/observability_solution/infra/server/routes/inventory_views/get_inventory_view.ts diff --git a/x-pack/plugins/infra/server/routes/inventory_views/index.ts b/x-pack/plugins/observability_solution/infra/server/routes/inventory_views/index.ts similarity index 100% rename from x-pack/plugins/infra/server/routes/inventory_views/index.ts rename to x-pack/plugins/observability_solution/infra/server/routes/inventory_views/index.ts diff --git a/x-pack/plugins/infra/server/routes/inventory_views/update_inventory_view.ts b/x-pack/plugins/observability_solution/infra/server/routes/inventory_views/update_inventory_view.ts similarity index 100% rename from x-pack/plugins/infra/server/routes/inventory_views/update_inventory_view.ts rename to x-pack/plugins/observability_solution/infra/server/routes/inventory_views/update_inventory_view.ts diff --git a/x-pack/plugins/infra/server/routes/ip_to_hostname.ts b/x-pack/plugins/observability_solution/infra/server/routes/ip_to_hostname.ts similarity index 100% rename from x-pack/plugins/infra/server/routes/ip_to_hostname.ts rename to x-pack/plugins/observability_solution/infra/server/routes/ip_to_hostname.ts diff --git a/x-pack/plugins/infra/server/routes/log_alerts/chart_preview_data.ts b/x-pack/plugins/observability_solution/infra/server/routes/log_alerts/chart_preview_data.ts similarity index 100% rename from x-pack/plugins/infra/server/routes/log_alerts/chart_preview_data.ts rename to x-pack/plugins/observability_solution/infra/server/routes/log_alerts/chart_preview_data.ts diff --git a/x-pack/plugins/infra/server/routes/log_alerts/index.ts b/x-pack/plugins/observability_solution/infra/server/routes/log_alerts/index.ts similarity index 100% rename from x-pack/plugins/infra/server/routes/log_alerts/index.ts rename to x-pack/plugins/observability_solution/infra/server/routes/log_alerts/index.ts diff --git a/x-pack/plugins/infra/server/routes/log_analysis/id_formats.ts b/x-pack/plugins/observability_solution/infra/server/routes/log_analysis/id_formats.ts similarity index 100% rename from x-pack/plugins/infra/server/routes/log_analysis/id_formats.ts rename to x-pack/plugins/observability_solution/infra/server/routes/log_analysis/id_formats.ts diff --git a/x-pack/plugins/infra/server/routes/log_analysis/index.ts b/x-pack/plugins/observability_solution/infra/server/routes/log_analysis/index.ts similarity index 100% rename from x-pack/plugins/infra/server/routes/log_analysis/index.ts rename to x-pack/plugins/observability_solution/infra/server/routes/log_analysis/index.ts diff --git a/x-pack/plugins/infra/server/routes/log_analysis/results/index.ts b/x-pack/plugins/observability_solution/infra/server/routes/log_analysis/results/index.ts similarity index 100% rename from x-pack/plugins/infra/server/routes/log_analysis/results/index.ts rename to x-pack/plugins/observability_solution/infra/server/routes/log_analysis/results/index.ts diff --git a/x-pack/plugins/infra/server/routes/log_analysis/results/log_entry_anomalies.ts b/x-pack/plugins/observability_solution/infra/server/routes/log_analysis/results/log_entry_anomalies.ts similarity index 100% rename from x-pack/plugins/infra/server/routes/log_analysis/results/log_entry_anomalies.ts rename to x-pack/plugins/observability_solution/infra/server/routes/log_analysis/results/log_entry_anomalies.ts diff --git a/x-pack/plugins/infra/server/routes/log_analysis/results/log_entry_anomalies_datasets.ts b/x-pack/plugins/observability_solution/infra/server/routes/log_analysis/results/log_entry_anomalies_datasets.ts similarity index 100% rename from x-pack/plugins/infra/server/routes/log_analysis/results/log_entry_anomalies_datasets.ts rename to x-pack/plugins/observability_solution/infra/server/routes/log_analysis/results/log_entry_anomalies_datasets.ts diff --git a/x-pack/plugins/infra/server/routes/log_analysis/results/log_entry_categories.ts b/x-pack/plugins/observability_solution/infra/server/routes/log_analysis/results/log_entry_categories.ts similarity index 100% rename from x-pack/plugins/infra/server/routes/log_analysis/results/log_entry_categories.ts rename to x-pack/plugins/observability_solution/infra/server/routes/log_analysis/results/log_entry_categories.ts diff --git a/x-pack/plugins/infra/server/routes/log_analysis/results/log_entry_category_datasets.ts b/x-pack/plugins/observability_solution/infra/server/routes/log_analysis/results/log_entry_category_datasets.ts similarity index 100% rename from x-pack/plugins/infra/server/routes/log_analysis/results/log_entry_category_datasets.ts rename to x-pack/plugins/observability_solution/infra/server/routes/log_analysis/results/log_entry_category_datasets.ts diff --git a/x-pack/plugins/infra/server/routes/log_analysis/results/log_entry_category_datasets_stats.ts b/x-pack/plugins/observability_solution/infra/server/routes/log_analysis/results/log_entry_category_datasets_stats.ts similarity index 100% rename from x-pack/plugins/infra/server/routes/log_analysis/results/log_entry_category_datasets_stats.ts rename to x-pack/plugins/observability_solution/infra/server/routes/log_analysis/results/log_entry_category_datasets_stats.ts diff --git a/x-pack/plugins/infra/server/routes/log_analysis/results/log_entry_category_examples.ts b/x-pack/plugins/observability_solution/infra/server/routes/log_analysis/results/log_entry_category_examples.ts similarity index 100% rename from x-pack/plugins/infra/server/routes/log_analysis/results/log_entry_category_examples.ts rename to x-pack/plugins/observability_solution/infra/server/routes/log_analysis/results/log_entry_category_examples.ts diff --git a/x-pack/plugins/infra/server/routes/log_analysis/results/log_entry_examples.ts b/x-pack/plugins/observability_solution/infra/server/routes/log_analysis/results/log_entry_examples.ts similarity index 100% rename from x-pack/plugins/infra/server/routes/log_analysis/results/log_entry_examples.ts rename to x-pack/plugins/observability_solution/infra/server/routes/log_analysis/results/log_entry_examples.ts diff --git a/x-pack/plugins/infra/server/routes/log_analysis/validation/datasets.ts b/x-pack/plugins/observability_solution/infra/server/routes/log_analysis/validation/datasets.ts similarity index 100% rename from x-pack/plugins/infra/server/routes/log_analysis/validation/datasets.ts rename to x-pack/plugins/observability_solution/infra/server/routes/log_analysis/validation/datasets.ts diff --git a/x-pack/plugins/infra/server/routes/log_analysis/validation/index.ts b/x-pack/plugins/observability_solution/infra/server/routes/log_analysis/validation/index.ts similarity index 100% rename from x-pack/plugins/infra/server/routes/log_analysis/validation/index.ts rename to x-pack/plugins/observability_solution/infra/server/routes/log_analysis/validation/index.ts diff --git a/x-pack/plugins/infra/server/routes/log_analysis/validation/indices.ts b/x-pack/plugins/observability_solution/infra/server/routes/log_analysis/validation/indices.ts similarity index 100% rename from x-pack/plugins/infra/server/routes/log_analysis/validation/indices.ts rename to x-pack/plugins/observability_solution/infra/server/routes/log_analysis/validation/indices.ts diff --git a/x-pack/plugins/infra/server/routes/metadata/index.ts b/x-pack/plugins/observability_solution/infra/server/routes/metadata/index.ts similarity index 100% rename from x-pack/plugins/infra/server/routes/metadata/index.ts rename to x-pack/plugins/observability_solution/infra/server/routes/metadata/index.ts diff --git a/x-pack/plugins/infra/server/routes/metadata/lib/get_cloud_metric_metadata.ts b/x-pack/plugins/observability_solution/infra/server/routes/metadata/lib/get_cloud_metric_metadata.ts similarity index 100% rename from x-pack/plugins/infra/server/routes/metadata/lib/get_cloud_metric_metadata.ts rename to x-pack/plugins/observability_solution/infra/server/routes/metadata/lib/get_cloud_metric_metadata.ts diff --git a/x-pack/plugins/infra/server/routes/metadata/lib/get_metric_metadata.ts b/x-pack/plugins/observability_solution/infra/server/routes/metadata/lib/get_metric_metadata.ts similarity index 100% rename from x-pack/plugins/infra/server/routes/metadata/lib/get_metric_metadata.ts rename to x-pack/plugins/observability_solution/infra/server/routes/metadata/lib/get_metric_metadata.ts diff --git a/x-pack/plugins/infra/server/routes/metadata/lib/get_node_info.ts b/x-pack/plugins/observability_solution/infra/server/routes/metadata/lib/get_node_info.ts similarity index 100% rename from x-pack/plugins/infra/server/routes/metadata/lib/get_node_info.ts rename to x-pack/plugins/observability_solution/infra/server/routes/metadata/lib/get_node_info.ts diff --git a/x-pack/plugins/infra/server/routes/metadata/lib/get_pod_node_name.ts b/x-pack/plugins/observability_solution/infra/server/routes/metadata/lib/get_pod_node_name.ts similarity index 100% rename from x-pack/plugins/infra/server/routes/metadata/lib/get_pod_node_name.ts rename to x-pack/plugins/observability_solution/infra/server/routes/metadata/lib/get_pod_node_name.ts diff --git a/x-pack/plugins/infra/server/routes/metadata/lib/pick_feature_name.ts b/x-pack/plugins/observability_solution/infra/server/routes/metadata/lib/pick_feature_name.ts similarity index 100% rename from x-pack/plugins/infra/server/routes/metadata/lib/pick_feature_name.ts rename to x-pack/plugins/observability_solution/infra/server/routes/metadata/lib/pick_feature_name.ts diff --git a/x-pack/plugins/infra/server/routes/metrics_api/index.ts b/x-pack/plugins/observability_solution/infra/server/routes/metrics_api/index.ts similarity index 100% rename from x-pack/plugins/infra/server/routes/metrics_api/index.ts rename to x-pack/plugins/observability_solution/infra/server/routes/metrics_api/index.ts diff --git a/x-pack/plugins/infra/server/routes/metrics_explorer/index.ts b/x-pack/plugins/observability_solution/infra/server/routes/metrics_explorer/index.ts similarity index 100% rename from x-pack/plugins/infra/server/routes/metrics_explorer/index.ts rename to x-pack/plugins/observability_solution/infra/server/routes/metrics_explorer/index.ts diff --git a/x-pack/plugins/infra/server/routes/metrics_explorer/lib/convert_metric_to_metrics_api_metric.test.ts b/x-pack/plugins/observability_solution/infra/server/routes/metrics_explorer/lib/convert_metric_to_metrics_api_metric.test.ts similarity index 100% rename from x-pack/plugins/infra/server/routes/metrics_explorer/lib/convert_metric_to_metrics_api_metric.test.ts rename to x-pack/plugins/observability_solution/infra/server/routes/metrics_explorer/lib/convert_metric_to_metrics_api_metric.test.ts diff --git a/x-pack/plugins/infra/server/routes/metrics_explorer/lib/convert_metric_to_metrics_api_metric.ts b/x-pack/plugins/observability_solution/infra/server/routes/metrics_explorer/lib/convert_metric_to_metrics_api_metric.ts similarity index 100% rename from x-pack/plugins/infra/server/routes/metrics_explorer/lib/convert_metric_to_metrics_api_metric.ts rename to x-pack/plugins/observability_solution/infra/server/routes/metrics_explorer/lib/convert_metric_to_metrics_api_metric.ts diff --git a/x-pack/plugins/infra/server/routes/metrics_explorer/lib/convert_request_to_metrics_api_options.test.ts b/x-pack/plugins/observability_solution/infra/server/routes/metrics_explorer/lib/convert_request_to_metrics_api_options.test.ts similarity index 100% rename from x-pack/plugins/infra/server/routes/metrics_explorer/lib/convert_request_to_metrics_api_options.test.ts rename to x-pack/plugins/observability_solution/infra/server/routes/metrics_explorer/lib/convert_request_to_metrics_api_options.test.ts diff --git a/x-pack/plugins/infra/server/routes/metrics_explorer/lib/convert_request_to_metrics_api_options.ts b/x-pack/plugins/observability_solution/infra/server/routes/metrics_explorer/lib/convert_request_to_metrics_api_options.ts similarity index 100% rename from x-pack/plugins/infra/server/routes/metrics_explorer/lib/convert_request_to_metrics_api_options.ts rename to x-pack/plugins/observability_solution/infra/server/routes/metrics_explorer/lib/convert_request_to_metrics_api_options.ts diff --git a/x-pack/plugins/infra/server/routes/metrics_explorer/lib/find_interval_for_metrics.ts b/x-pack/plugins/observability_solution/infra/server/routes/metrics_explorer/lib/find_interval_for_metrics.ts similarity index 100% rename from x-pack/plugins/infra/server/routes/metrics_explorer/lib/find_interval_for_metrics.ts rename to x-pack/plugins/observability_solution/infra/server/routes/metrics_explorer/lib/find_interval_for_metrics.ts diff --git a/x-pack/plugins/infra/server/routes/metrics_explorer/lib/get_dataset_for_field.ts b/x-pack/plugins/observability_solution/infra/server/routes/metrics_explorer/lib/get_dataset_for_field.ts similarity index 100% rename from x-pack/plugins/infra/server/routes/metrics_explorer/lib/get_dataset_for_field.ts rename to x-pack/plugins/observability_solution/infra/server/routes/metrics_explorer/lib/get_dataset_for_field.ts diff --git a/x-pack/plugins/infra/server/routes/metrics_explorer/lib/query_total_grouping.test.ts b/x-pack/plugins/observability_solution/infra/server/routes/metrics_explorer/lib/query_total_grouping.test.ts similarity index 100% rename from x-pack/plugins/infra/server/routes/metrics_explorer/lib/query_total_grouping.test.ts rename to x-pack/plugins/observability_solution/infra/server/routes/metrics_explorer/lib/query_total_grouping.test.ts diff --git a/x-pack/plugins/infra/server/routes/metrics_explorer/lib/query_total_groupings.ts b/x-pack/plugins/observability_solution/infra/server/routes/metrics_explorer/lib/query_total_groupings.ts similarity index 100% rename from x-pack/plugins/infra/server/routes/metrics_explorer/lib/query_total_groupings.ts rename to x-pack/plugins/observability_solution/infra/server/routes/metrics_explorer/lib/query_total_groupings.ts diff --git a/x-pack/plugins/infra/server/routes/metrics_explorer/lib/transform_series.ts b/x-pack/plugins/observability_solution/infra/server/routes/metrics_explorer/lib/transform_series.ts similarity index 100% rename from x-pack/plugins/infra/server/routes/metrics_explorer/lib/transform_series.ts rename to x-pack/plugins/observability_solution/infra/server/routes/metrics_explorer/lib/transform_series.ts diff --git a/x-pack/plugins/infra/server/routes/metrics_explorer_views/README.md b/x-pack/plugins/observability_solution/infra/server/routes/metrics_explorer_views/README.md similarity index 100% rename from x-pack/plugins/infra/server/routes/metrics_explorer_views/README.md rename to x-pack/plugins/observability_solution/infra/server/routes/metrics_explorer_views/README.md diff --git a/x-pack/plugins/infra/server/routes/metrics_explorer_views/create_metrics_explorer_view.ts b/x-pack/plugins/observability_solution/infra/server/routes/metrics_explorer_views/create_metrics_explorer_view.ts similarity index 100% rename from x-pack/plugins/infra/server/routes/metrics_explorer_views/create_metrics_explorer_view.ts rename to x-pack/plugins/observability_solution/infra/server/routes/metrics_explorer_views/create_metrics_explorer_view.ts diff --git a/x-pack/plugins/infra/server/routes/metrics_explorer_views/delete_metrics_explorer_view.ts b/x-pack/plugins/observability_solution/infra/server/routes/metrics_explorer_views/delete_metrics_explorer_view.ts similarity index 100% rename from x-pack/plugins/infra/server/routes/metrics_explorer_views/delete_metrics_explorer_view.ts rename to x-pack/plugins/observability_solution/infra/server/routes/metrics_explorer_views/delete_metrics_explorer_view.ts diff --git a/x-pack/plugins/infra/server/routes/metrics_explorer_views/find_metrics_explorer_view.ts b/x-pack/plugins/observability_solution/infra/server/routes/metrics_explorer_views/find_metrics_explorer_view.ts similarity index 100% rename from x-pack/plugins/infra/server/routes/metrics_explorer_views/find_metrics_explorer_view.ts rename to x-pack/plugins/observability_solution/infra/server/routes/metrics_explorer_views/find_metrics_explorer_view.ts diff --git a/x-pack/plugins/infra/server/routes/metrics_explorer_views/get_metrics_explorer_view.ts b/x-pack/plugins/observability_solution/infra/server/routes/metrics_explorer_views/get_metrics_explorer_view.ts similarity index 100% rename from x-pack/plugins/infra/server/routes/metrics_explorer_views/get_metrics_explorer_view.ts rename to x-pack/plugins/observability_solution/infra/server/routes/metrics_explorer_views/get_metrics_explorer_view.ts diff --git a/x-pack/plugins/infra/server/routes/metrics_explorer_views/index.ts b/x-pack/plugins/observability_solution/infra/server/routes/metrics_explorer_views/index.ts similarity index 100% rename from x-pack/plugins/infra/server/routes/metrics_explorer_views/index.ts rename to x-pack/plugins/observability_solution/infra/server/routes/metrics_explorer_views/index.ts diff --git a/x-pack/plugins/infra/server/routes/metrics_explorer_views/update_metrics_explorer_view.ts b/x-pack/plugins/observability_solution/infra/server/routes/metrics_explorer_views/update_metrics_explorer_view.ts similarity index 100% rename from x-pack/plugins/infra/server/routes/metrics_explorer_views/update_metrics_explorer_view.ts rename to x-pack/plugins/observability_solution/infra/server/routes/metrics_explorer_views/update_metrics_explorer_view.ts diff --git a/x-pack/plugins/infra/server/routes/metrics_sources/index.ts b/x-pack/plugins/observability_solution/infra/server/routes/metrics_sources/index.ts similarity index 100% rename from x-pack/plugins/infra/server/routes/metrics_sources/index.ts rename to x-pack/plugins/observability_solution/infra/server/routes/metrics_sources/index.ts diff --git a/x-pack/plugins/infra/server/routes/node_details/index.ts b/x-pack/plugins/observability_solution/infra/server/routes/node_details/index.ts similarity index 100% rename from x-pack/plugins/infra/server/routes/node_details/index.ts rename to x-pack/plugins/observability_solution/infra/server/routes/node_details/index.ts diff --git a/x-pack/plugins/infra/server/routes/overview/index.ts b/x-pack/plugins/observability_solution/infra/server/routes/overview/index.ts similarity index 100% rename from x-pack/plugins/infra/server/routes/overview/index.ts rename to x-pack/plugins/observability_solution/infra/server/routes/overview/index.ts diff --git a/x-pack/plugins/infra/server/routes/overview/lib/convert_es_response_to_top_nodes_response.ts b/x-pack/plugins/observability_solution/infra/server/routes/overview/lib/convert_es_response_to_top_nodes_response.ts similarity index 100% rename from x-pack/plugins/infra/server/routes/overview/lib/convert_es_response_to_top_nodes_response.ts rename to x-pack/plugins/observability_solution/infra/server/routes/overview/lib/convert_es_response_to_top_nodes_response.ts diff --git a/x-pack/plugins/infra/server/routes/overview/lib/create_top_nodes_query.ts b/x-pack/plugins/observability_solution/infra/server/routes/overview/lib/create_top_nodes_query.ts similarity index 100% rename from x-pack/plugins/infra/server/routes/overview/lib/create_top_nodes_query.ts rename to x-pack/plugins/observability_solution/infra/server/routes/overview/lib/create_top_nodes_query.ts diff --git a/x-pack/plugins/infra/server/routes/overview/lib/get_matadata_from_node_bucket.ts b/x-pack/plugins/observability_solution/infra/server/routes/overview/lib/get_matadata_from_node_bucket.ts similarity index 100% rename from x-pack/plugins/infra/server/routes/overview/lib/get_matadata_from_node_bucket.ts rename to x-pack/plugins/observability_solution/infra/server/routes/overview/lib/get_matadata_from_node_bucket.ts diff --git a/x-pack/plugins/infra/server/routes/overview/lib/get_top_nodes.ts b/x-pack/plugins/observability_solution/infra/server/routes/overview/lib/get_top_nodes.ts similarity index 100% rename from x-pack/plugins/infra/server/routes/overview/lib/get_top_nodes.ts rename to x-pack/plugins/observability_solution/infra/server/routes/overview/lib/get_top_nodes.ts diff --git a/x-pack/plugins/infra/server/routes/overview/lib/types.ts b/x-pack/plugins/observability_solution/infra/server/routes/overview/lib/types.ts similarity index 100% rename from x-pack/plugins/infra/server/routes/overview/lib/types.ts rename to x-pack/plugins/observability_solution/infra/server/routes/overview/lib/types.ts diff --git a/x-pack/plugins/infra/server/routes/process_list/index.ts b/x-pack/plugins/observability_solution/infra/server/routes/process_list/index.ts similarity index 100% rename from x-pack/plugins/infra/server/routes/process_list/index.ts rename to x-pack/plugins/observability_solution/infra/server/routes/process_list/index.ts diff --git a/x-pack/plugins/infra/server/routes/profiling/index.ts b/x-pack/plugins/observability_solution/infra/server/routes/profiling/index.ts similarity index 100% rename from x-pack/plugins/infra/server/routes/profiling/index.ts rename to x-pack/plugins/observability_solution/infra/server/routes/profiling/index.ts diff --git a/x-pack/plugins/infra/server/routes/profiling/lib/fetch_profiling_flamegraph.ts b/x-pack/plugins/observability_solution/infra/server/routes/profiling/lib/fetch_profiling_flamegraph.ts similarity index 100% rename from x-pack/plugins/infra/server/routes/profiling/lib/fetch_profiling_flamegraph.ts rename to x-pack/plugins/observability_solution/infra/server/routes/profiling/lib/fetch_profiling_flamegraph.ts diff --git a/x-pack/plugins/infra/server/routes/profiling/lib/fetch_profiling_functions.ts b/x-pack/plugins/observability_solution/infra/server/routes/profiling/lib/fetch_profiling_functions.ts similarity index 100% rename from x-pack/plugins/infra/server/routes/profiling/lib/fetch_profiling_functions.ts rename to x-pack/plugins/observability_solution/infra/server/routes/profiling/lib/fetch_profiling_functions.ts diff --git a/x-pack/plugins/infra/server/routes/profiling/lib/fetch_profiling_status.ts b/x-pack/plugins/observability_solution/infra/server/routes/profiling/lib/fetch_profiling_status.ts similarity index 100% rename from x-pack/plugins/infra/server/routes/profiling/lib/fetch_profiling_status.ts rename to x-pack/plugins/observability_solution/infra/server/routes/profiling/lib/fetch_profiling_status.ts diff --git a/x-pack/plugins/infra/server/routes/profiling/lib/get_profiling_data_access.ts b/x-pack/plugins/observability_solution/infra/server/routes/profiling/lib/get_profiling_data_access.ts similarity index 100% rename from x-pack/plugins/infra/server/routes/profiling/lib/get_profiling_data_access.ts rename to x-pack/plugins/observability_solution/infra/server/routes/profiling/lib/get_profiling_data_access.ts diff --git a/x-pack/plugins/infra/server/routes/services/index.ts b/x-pack/plugins/observability_solution/infra/server/routes/services/index.ts similarity index 100% rename from x-pack/plugins/infra/server/routes/services/index.ts rename to x-pack/plugins/observability_solution/infra/server/routes/services/index.ts diff --git a/x-pack/plugins/infra/server/routes/services/lib/utils.ts b/x-pack/plugins/observability_solution/infra/server/routes/services/lib/utils.ts similarity index 100% rename from x-pack/plugins/infra/server/routes/services/lib/utils.ts rename to x-pack/plugins/observability_solution/infra/server/routes/services/lib/utils.ts diff --git a/x-pack/plugins/infra/server/routes/snapshot/index.ts b/x-pack/plugins/observability_solution/infra/server/routes/snapshot/index.ts similarity index 100% rename from x-pack/plugins/infra/server/routes/snapshot/index.ts rename to x-pack/plugins/observability_solution/infra/server/routes/snapshot/index.ts diff --git a/x-pack/plugins/infra/server/routes/snapshot/lib/apply_metadata_to_last_path.ts b/x-pack/plugins/observability_solution/infra/server/routes/snapshot/lib/apply_metadata_to_last_path.ts similarity index 100% rename from x-pack/plugins/infra/server/routes/snapshot/lib/apply_metadata_to_last_path.ts rename to x-pack/plugins/observability_solution/infra/server/routes/snapshot/lib/apply_metadata_to_last_path.ts diff --git a/x-pack/plugins/infra/server/routes/snapshot/lib/constants.ts b/x-pack/plugins/observability_solution/infra/server/routes/snapshot/lib/constants.ts similarity index 100% rename from x-pack/plugins/infra/server/routes/snapshot/lib/constants.ts rename to x-pack/plugins/observability_solution/infra/server/routes/snapshot/lib/constants.ts diff --git a/x-pack/plugins/infra/server/routes/snapshot/lib/copy_missing_metrics.ts b/x-pack/plugins/observability_solution/infra/server/routes/snapshot/lib/copy_missing_metrics.ts similarity index 100% rename from x-pack/plugins/infra/server/routes/snapshot/lib/copy_missing_metrics.ts rename to x-pack/plugins/observability_solution/infra/server/routes/snapshot/lib/copy_missing_metrics.ts diff --git a/x-pack/plugins/infra/server/routes/snapshot/lib/create_timerange_with_interval.ts b/x-pack/plugins/observability_solution/infra/server/routes/snapshot/lib/create_timerange_with_interval.ts similarity index 100% rename from x-pack/plugins/infra/server/routes/snapshot/lib/create_timerange_with_interval.ts rename to x-pack/plugins/observability_solution/infra/server/routes/snapshot/lib/create_timerange_with_interval.ts diff --git a/x-pack/plugins/infra/server/routes/snapshot/lib/get_metrics_aggregations.ts b/x-pack/plugins/observability_solution/infra/server/routes/snapshot/lib/get_metrics_aggregations.ts similarity index 100% rename from x-pack/plugins/infra/server/routes/snapshot/lib/get_metrics_aggregations.ts rename to x-pack/plugins/observability_solution/infra/server/routes/snapshot/lib/get_metrics_aggregations.ts diff --git a/x-pack/plugins/infra/server/routes/snapshot/lib/get_nodes.ts b/x-pack/plugins/observability_solution/infra/server/routes/snapshot/lib/get_nodes.ts similarity index 100% rename from x-pack/plugins/infra/server/routes/snapshot/lib/get_nodes.ts rename to x-pack/plugins/observability_solution/infra/server/routes/snapshot/lib/get_nodes.ts diff --git a/x-pack/plugins/infra/server/routes/snapshot/lib/query_all_data.ts b/x-pack/plugins/observability_solution/infra/server/routes/snapshot/lib/query_all_data.ts similarity index 100% rename from x-pack/plugins/infra/server/routes/snapshot/lib/query_all_data.ts rename to x-pack/plugins/observability_solution/infra/server/routes/snapshot/lib/query_all_data.ts diff --git a/x-pack/plugins/infra/server/routes/snapshot/lib/transform_metrics_ui_response.test.ts b/x-pack/plugins/observability_solution/infra/server/routes/snapshot/lib/transform_metrics_ui_response.test.ts similarity index 100% rename from x-pack/plugins/infra/server/routes/snapshot/lib/transform_metrics_ui_response.test.ts rename to x-pack/plugins/observability_solution/infra/server/routes/snapshot/lib/transform_metrics_ui_response.test.ts diff --git a/x-pack/plugins/infra/server/routes/snapshot/lib/transform_metrics_ui_response.ts b/x-pack/plugins/observability_solution/infra/server/routes/snapshot/lib/transform_metrics_ui_response.ts similarity index 100% rename from x-pack/plugins/infra/server/routes/snapshot/lib/transform_metrics_ui_response.ts rename to x-pack/plugins/observability_solution/infra/server/routes/snapshot/lib/transform_metrics_ui_response.ts diff --git a/x-pack/plugins/infra/server/routes/snapshot/lib/transform_request_to_metrics_api_request.test.ts b/x-pack/plugins/observability_solution/infra/server/routes/snapshot/lib/transform_request_to_metrics_api_request.test.ts similarity index 100% rename from x-pack/plugins/infra/server/routes/snapshot/lib/transform_request_to_metrics_api_request.test.ts rename to x-pack/plugins/observability_solution/infra/server/routes/snapshot/lib/transform_request_to_metrics_api_request.test.ts diff --git a/x-pack/plugins/infra/server/routes/snapshot/lib/transform_request_to_metrics_api_request.ts b/x-pack/plugins/observability_solution/infra/server/routes/snapshot/lib/transform_request_to_metrics_api_request.ts similarity index 100% rename from x-pack/plugins/infra/server/routes/snapshot/lib/transform_request_to_metrics_api_request.ts rename to x-pack/plugins/observability_solution/infra/server/routes/snapshot/lib/transform_request_to_metrics_api_request.ts diff --git a/x-pack/plugins/infra/server/routes/snapshot/lib/transform_snapshot_metrics_to_metrics_api_metrics.ts b/x-pack/plugins/observability_solution/infra/server/routes/snapshot/lib/transform_snapshot_metrics_to_metrics_api_metrics.ts similarity index 100% rename from x-pack/plugins/infra/server/routes/snapshot/lib/transform_snapshot_metrics_to_metrics_api_metrics.ts rename to x-pack/plugins/observability_solution/infra/server/routes/snapshot/lib/transform_snapshot_metrics_to_metrics_api_metrics.ts diff --git a/x-pack/plugins/infra/server/saved_objects/custom_dashboards/custom_dashboards_saved_object.ts b/x-pack/plugins/observability_solution/infra/server/saved_objects/custom_dashboards/custom_dashboards_saved_object.ts similarity index 100% rename from x-pack/plugins/infra/server/saved_objects/custom_dashboards/custom_dashboards_saved_object.ts rename to x-pack/plugins/observability_solution/infra/server/saved_objects/custom_dashboards/custom_dashboards_saved_object.ts diff --git a/x-pack/plugins/infra/server/saved_objects/index.ts b/x-pack/plugins/observability_solution/infra/server/saved_objects/index.ts similarity index 100% rename from x-pack/plugins/infra/server/saved_objects/index.ts rename to x-pack/plugins/observability_solution/infra/server/saved_objects/index.ts diff --git a/x-pack/plugins/infra/server/saved_objects/inventory_view/index.ts b/x-pack/plugins/observability_solution/infra/server/saved_objects/inventory_view/index.ts similarity index 100% rename from x-pack/plugins/infra/server/saved_objects/inventory_view/index.ts rename to x-pack/plugins/observability_solution/infra/server/saved_objects/inventory_view/index.ts diff --git a/x-pack/plugins/infra/server/saved_objects/inventory_view/inventory_view_saved_object.ts b/x-pack/plugins/observability_solution/infra/server/saved_objects/inventory_view/inventory_view_saved_object.ts similarity index 100% rename from x-pack/plugins/infra/server/saved_objects/inventory_view/inventory_view_saved_object.ts rename to x-pack/plugins/observability_solution/infra/server/saved_objects/inventory_view/inventory_view_saved_object.ts diff --git a/x-pack/plugins/infra/server/saved_objects/inventory_view/types.ts b/x-pack/plugins/observability_solution/infra/server/saved_objects/inventory_view/types.ts similarity index 100% rename from x-pack/plugins/infra/server/saved_objects/inventory_view/types.ts rename to x-pack/plugins/observability_solution/infra/server/saved_objects/inventory_view/types.ts diff --git a/x-pack/plugins/infra/server/saved_objects/metrics_explorer_view/index.ts b/x-pack/plugins/observability_solution/infra/server/saved_objects/metrics_explorer_view/index.ts similarity index 100% rename from x-pack/plugins/infra/server/saved_objects/metrics_explorer_view/index.ts rename to x-pack/plugins/observability_solution/infra/server/saved_objects/metrics_explorer_view/index.ts diff --git a/x-pack/plugins/infra/server/saved_objects/metrics_explorer_view/metrics_explorer_view_saved_object.ts b/x-pack/plugins/observability_solution/infra/server/saved_objects/metrics_explorer_view/metrics_explorer_view_saved_object.ts similarity index 100% rename from x-pack/plugins/infra/server/saved_objects/metrics_explorer_view/metrics_explorer_view_saved_object.ts rename to x-pack/plugins/observability_solution/infra/server/saved_objects/metrics_explorer_view/metrics_explorer_view_saved_object.ts diff --git a/x-pack/plugins/infra/server/saved_objects/metrics_explorer_view/types.ts b/x-pack/plugins/observability_solution/infra/server/saved_objects/metrics_explorer_view/types.ts similarity index 100% rename from x-pack/plugins/infra/server/saved_objects/metrics_explorer_view/types.ts rename to x-pack/plugins/observability_solution/infra/server/saved_objects/metrics_explorer_view/types.ts diff --git a/x-pack/plugins/infra/server/saved_objects/references.test.ts b/x-pack/plugins/observability_solution/infra/server/saved_objects/references.test.ts similarity index 100% rename from x-pack/plugins/infra/server/saved_objects/references.test.ts rename to x-pack/plugins/observability_solution/infra/server/saved_objects/references.test.ts diff --git a/x-pack/plugins/infra/server/saved_objects/references.ts b/x-pack/plugins/observability_solution/infra/server/saved_objects/references.ts similarity index 100% rename from x-pack/plugins/infra/server/saved_objects/references.ts rename to x-pack/plugins/observability_solution/infra/server/saved_objects/references.ts diff --git a/x-pack/plugins/infra/server/services/inventory_views/index.ts b/x-pack/plugins/observability_solution/infra/server/services/inventory_views/index.ts similarity index 100% rename from x-pack/plugins/infra/server/services/inventory_views/index.ts rename to x-pack/plugins/observability_solution/infra/server/services/inventory_views/index.ts diff --git a/x-pack/plugins/infra/server/services/inventory_views/inventory_views_client.mock.ts b/x-pack/plugins/observability_solution/infra/server/services/inventory_views/inventory_views_client.mock.ts similarity index 100% rename from x-pack/plugins/infra/server/services/inventory_views/inventory_views_client.mock.ts rename to x-pack/plugins/observability_solution/infra/server/services/inventory_views/inventory_views_client.mock.ts diff --git a/x-pack/plugins/infra/server/services/inventory_views/inventory_views_client.test.ts b/x-pack/plugins/observability_solution/infra/server/services/inventory_views/inventory_views_client.test.ts similarity index 100% rename from x-pack/plugins/infra/server/services/inventory_views/inventory_views_client.test.ts rename to x-pack/plugins/observability_solution/infra/server/services/inventory_views/inventory_views_client.test.ts diff --git a/x-pack/plugins/infra/server/services/inventory_views/inventory_views_client.ts b/x-pack/plugins/observability_solution/infra/server/services/inventory_views/inventory_views_client.ts similarity index 100% rename from x-pack/plugins/infra/server/services/inventory_views/inventory_views_client.ts rename to x-pack/plugins/observability_solution/infra/server/services/inventory_views/inventory_views_client.ts diff --git a/x-pack/plugins/infra/server/services/inventory_views/inventory_views_service.mock.ts b/x-pack/plugins/observability_solution/infra/server/services/inventory_views/inventory_views_service.mock.ts similarity index 100% rename from x-pack/plugins/infra/server/services/inventory_views/inventory_views_service.mock.ts rename to x-pack/plugins/observability_solution/infra/server/services/inventory_views/inventory_views_service.mock.ts diff --git a/x-pack/plugins/infra/server/services/inventory_views/inventory_views_service.ts b/x-pack/plugins/observability_solution/infra/server/services/inventory_views/inventory_views_service.ts similarity index 100% rename from x-pack/plugins/infra/server/services/inventory_views/inventory_views_service.ts rename to x-pack/plugins/observability_solution/infra/server/services/inventory_views/inventory_views_service.ts diff --git a/x-pack/plugins/infra/server/services/inventory_views/types.ts b/x-pack/plugins/observability_solution/infra/server/services/inventory_views/types.ts similarity index 100% rename from x-pack/plugins/infra/server/services/inventory_views/types.ts rename to x-pack/plugins/observability_solution/infra/server/services/inventory_views/types.ts diff --git a/x-pack/plugins/infra/server/services/metrics_explorer_views/index.ts b/x-pack/plugins/observability_solution/infra/server/services/metrics_explorer_views/index.ts similarity index 100% rename from x-pack/plugins/infra/server/services/metrics_explorer_views/index.ts rename to x-pack/plugins/observability_solution/infra/server/services/metrics_explorer_views/index.ts diff --git a/x-pack/plugins/infra/server/services/metrics_explorer_views/metrics_explorer_views_client.mock.ts b/x-pack/plugins/observability_solution/infra/server/services/metrics_explorer_views/metrics_explorer_views_client.mock.ts similarity index 100% rename from x-pack/plugins/infra/server/services/metrics_explorer_views/metrics_explorer_views_client.mock.ts rename to x-pack/plugins/observability_solution/infra/server/services/metrics_explorer_views/metrics_explorer_views_client.mock.ts diff --git a/x-pack/plugins/infra/server/services/metrics_explorer_views/metrics_explorer_views_client.test.ts b/x-pack/plugins/observability_solution/infra/server/services/metrics_explorer_views/metrics_explorer_views_client.test.ts similarity index 100% rename from x-pack/plugins/infra/server/services/metrics_explorer_views/metrics_explorer_views_client.test.ts rename to x-pack/plugins/observability_solution/infra/server/services/metrics_explorer_views/metrics_explorer_views_client.test.ts diff --git a/x-pack/plugins/infra/server/services/metrics_explorer_views/metrics_explorer_views_client.ts b/x-pack/plugins/observability_solution/infra/server/services/metrics_explorer_views/metrics_explorer_views_client.ts similarity index 100% rename from x-pack/plugins/infra/server/services/metrics_explorer_views/metrics_explorer_views_client.ts rename to x-pack/plugins/observability_solution/infra/server/services/metrics_explorer_views/metrics_explorer_views_client.ts diff --git a/x-pack/plugins/infra/server/services/metrics_explorer_views/metrics_explorer_views_service.mock.ts b/x-pack/plugins/observability_solution/infra/server/services/metrics_explorer_views/metrics_explorer_views_service.mock.ts similarity index 100% rename from x-pack/plugins/infra/server/services/metrics_explorer_views/metrics_explorer_views_service.mock.ts rename to x-pack/plugins/observability_solution/infra/server/services/metrics_explorer_views/metrics_explorer_views_service.mock.ts diff --git a/x-pack/plugins/infra/server/services/metrics_explorer_views/metrics_explorer_views_service.ts b/x-pack/plugins/observability_solution/infra/server/services/metrics_explorer_views/metrics_explorer_views_service.ts similarity index 100% rename from x-pack/plugins/infra/server/services/metrics_explorer_views/metrics_explorer_views_service.ts rename to x-pack/plugins/observability_solution/infra/server/services/metrics_explorer_views/metrics_explorer_views_service.ts diff --git a/x-pack/plugins/infra/server/services/metrics_explorer_views/types.ts b/x-pack/plugins/observability_solution/infra/server/services/metrics_explorer_views/types.ts similarity index 100% rename from x-pack/plugins/infra/server/services/metrics_explorer_views/types.ts rename to x-pack/plugins/observability_solution/infra/server/services/metrics_explorer_views/types.ts diff --git a/x-pack/plugins/infra/server/services/rules/index.ts b/x-pack/plugins/observability_solution/infra/server/services/rules/index.ts similarity index 100% rename from x-pack/plugins/infra/server/services/rules/index.ts rename to x-pack/plugins/observability_solution/infra/server/services/rules/index.ts diff --git a/x-pack/plugins/infra/server/services/rules/rule_data_client.ts b/x-pack/plugins/observability_solution/infra/server/services/rules/rule_data_client.ts similarity index 100% rename from x-pack/plugins/infra/server/services/rules/rule_data_client.ts rename to x-pack/plugins/observability_solution/infra/server/services/rules/rule_data_client.ts diff --git a/x-pack/plugins/infra/server/services/rules/rules_service.ts b/x-pack/plugins/observability_solution/infra/server/services/rules/rules_service.ts similarity index 100% rename from x-pack/plugins/infra/server/services/rules/rules_service.ts rename to x-pack/plugins/observability_solution/infra/server/services/rules/rules_service.ts diff --git a/x-pack/plugins/infra/server/services/rules/types.ts b/x-pack/plugins/observability_solution/infra/server/services/rules/types.ts similarity index 100% rename from x-pack/plugins/infra/server/services/rules/types.ts rename to x-pack/plugins/observability_solution/infra/server/services/rules/types.ts diff --git a/x-pack/plugins/infra/server/types.ts b/x-pack/plugins/observability_solution/infra/server/types.ts similarity index 100% rename from x-pack/plugins/infra/server/types.ts rename to x-pack/plugins/observability_solution/infra/server/types.ts diff --git a/x-pack/plugins/infra/server/usage/usage_collector.ts b/x-pack/plugins/observability_solution/infra/server/usage/usage_collector.ts similarity index 100% rename from x-pack/plugins/infra/server/usage/usage_collector.ts rename to x-pack/plugins/observability_solution/infra/server/usage/usage_collector.ts diff --git a/x-pack/plugins/infra/server/utils/README.md b/x-pack/plugins/observability_solution/infra/server/utils/README.md similarity index 100% rename from x-pack/plugins/infra/server/utils/README.md rename to x-pack/plugins/observability_solution/infra/server/utils/README.md diff --git a/x-pack/plugins/infra/server/utils/calculate_metric_interval.ts b/x-pack/plugins/observability_solution/infra/server/utils/calculate_metric_interval.ts similarity index 100% rename from x-pack/plugins/infra/server/utils/calculate_metric_interval.ts rename to x-pack/plugins/observability_solution/infra/server/utils/calculate_metric_interval.ts diff --git a/x-pack/plugins/infra/server/utils/create_afterkey_handler.ts b/x-pack/plugins/observability_solution/infra/server/utils/create_afterkey_handler.ts similarity index 100% rename from x-pack/plugins/infra/server/utils/create_afterkey_handler.ts rename to x-pack/plugins/observability_solution/infra/server/utils/create_afterkey_handler.ts diff --git a/x-pack/plugins/infra/server/utils/elasticsearch_runtime_types.ts b/x-pack/plugins/observability_solution/infra/server/utils/elasticsearch_runtime_types.ts similarity index 100% rename from x-pack/plugins/infra/server/utils/elasticsearch_runtime_types.ts rename to x-pack/plugins/observability_solution/infra/server/utils/elasticsearch_runtime_types.ts diff --git a/x-pack/plugins/infra/server/utils/get_all_composite_data.ts b/x-pack/plugins/observability_solution/infra/server/utils/get_all_composite_data.ts similarity index 100% rename from x-pack/plugins/infra/server/utils/get_all_composite_data.ts rename to x-pack/plugins/observability_solution/infra/server/utils/get_all_composite_data.ts diff --git a/x-pack/plugins/infra/server/utils/get_all_metrics_data.ts b/x-pack/plugins/observability_solution/infra/server/utils/get_all_metrics_data.ts similarity index 100% rename from x-pack/plugins/infra/server/utils/get_all_metrics_data.ts rename to x-pack/plugins/observability_solution/infra/server/utils/get_all_metrics_data.ts diff --git a/x-pack/plugins/infra/server/utils/get_original_action_group.ts b/x-pack/plugins/observability_solution/infra/server/utils/get_original_action_group.ts similarity index 100% rename from x-pack/plugins/infra/server/utils/get_original_action_group.ts rename to x-pack/plugins/observability_solution/infra/server/utils/get_original_action_group.ts diff --git a/x-pack/plugins/infra/server/utils/handle_route_errors.ts b/x-pack/plugins/observability_solution/infra/server/utils/handle_route_errors.ts similarity index 100% rename from x-pack/plugins/infra/server/utils/handle_route_errors.ts rename to x-pack/plugins/observability_solution/infra/server/utils/handle_route_errors.ts diff --git a/x-pack/plugins/infra/server/utils/map_source_to_log_view.test.ts b/x-pack/plugins/observability_solution/infra/server/utils/map_source_to_log_view.test.ts similarity index 100% rename from x-pack/plugins/infra/server/utils/map_source_to_log_view.test.ts rename to x-pack/plugins/observability_solution/infra/server/utils/map_source_to_log_view.test.ts diff --git a/x-pack/plugins/infra/server/utils/map_source_to_log_view.ts b/x-pack/plugins/observability_solution/infra/server/utils/map_source_to_log_view.ts similarity index 100% rename from x-pack/plugins/infra/server/utils/map_source_to_log_view.ts rename to x-pack/plugins/observability_solution/infra/server/utils/map_source_to_log_view.ts diff --git a/x-pack/plugins/infra/server/utils/request_context.ts b/x-pack/plugins/observability_solution/infra/server/utils/request_context.ts similarity index 100% rename from x-pack/plugins/infra/server/utils/request_context.ts rename to x-pack/plugins/observability_solution/infra/server/utils/request_context.ts diff --git a/x-pack/plugins/infra/server/utils/round_timestamp.ts b/x-pack/plugins/observability_solution/infra/server/utils/round_timestamp.ts similarity index 100% rename from x-pack/plugins/infra/server/utils/round_timestamp.ts rename to x-pack/plugins/observability_solution/infra/server/utils/round_timestamp.ts diff --git a/x-pack/plugins/infra/server/utils/route_validation.test.ts b/x-pack/plugins/observability_solution/infra/server/utils/route_validation.test.ts similarity index 100% rename from x-pack/plugins/infra/server/utils/route_validation.test.ts rename to x-pack/plugins/observability_solution/infra/server/utils/route_validation.test.ts diff --git a/x-pack/plugins/infra/server/utils/route_validation.ts b/x-pack/plugins/observability_solution/infra/server/utils/route_validation.ts similarity index 100% rename from x-pack/plugins/infra/server/utils/route_validation.ts rename to x-pack/plugins/observability_solution/infra/server/utils/route_validation.ts diff --git a/x-pack/plugins/infra/server/utils/serialized_query.ts b/x-pack/plugins/observability_solution/infra/server/utils/serialized_query.ts similarity index 100% rename from x-pack/plugins/infra/server/utils/serialized_query.ts rename to x-pack/plugins/observability_solution/infra/server/utils/serialized_query.ts diff --git a/x-pack/plugins/infra/server/utils/typed_elasticsearch_mappings.ts b/x-pack/plugins/observability_solution/infra/server/utils/typed_elasticsearch_mappings.ts similarity index 100% rename from x-pack/plugins/infra/server/utils/typed_elasticsearch_mappings.ts rename to x-pack/plugins/observability_solution/infra/server/utils/typed_elasticsearch_mappings.ts diff --git a/x-pack/plugins/infra/tsconfig.json b/x-pack/plugins/observability_solution/infra/tsconfig.json similarity index 93% rename from x-pack/plugins/infra/tsconfig.json rename to x-pack/plugins/observability_solution/infra/tsconfig.json index a14063ef6aec7..ec65cd3c1691e 100644 --- a/x-pack/plugins/infra/tsconfig.json +++ b/x-pack/plugins/observability_solution/infra/tsconfig.json @@ -1,9 +1,15 @@ { - "extends": "../../../tsconfig.base.json", + "extends": "../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types" }, - "include": ["../../../typings/**/*", "common/**/*", "public/**/*", "server/**/*", "types/**/*"], + "include": [ + "../../../../typings/**/*", + "common/**/*", + "public/**/*", + "server/**/*", + "types/**/*" + ], "kbn_references": [ "@kbn/core", "@kbn/data-plugin", diff --git a/x-pack/plugins/infra/types/eui.d.ts b/x-pack/plugins/observability_solution/infra/types/eui.d.ts similarity index 100% rename from x-pack/plugins/infra/types/eui.d.ts rename to x-pack/plugins/observability_solution/infra/types/eui.d.ts diff --git a/x-pack/plugins/observability_solution/logs_explorer/common/dataset_selection/all_dataset_selection.ts b/x-pack/plugins/observability_solution/logs_explorer/common/data_source_selection/all_dataset_selection.ts similarity index 85% rename from x-pack/plugins/observability_solution/logs_explorer/common/dataset_selection/all_dataset_selection.ts rename to x-pack/plugins/observability_solution/logs_explorer/common/data_source_selection/all_dataset_selection.ts index 8b8ab4e1ea241..7c5631345eec6 100644 --- a/x-pack/plugins/observability_solution/logs_explorer/common/dataset_selection/all_dataset_selection.ts +++ b/x-pack/plugins/observability_solution/logs_explorer/common/data_source_selection/all_dataset_selection.ts @@ -6,9 +6,9 @@ */ import { Dataset } from '../datasets'; -import { DatasetSelectionStrategy } from './types'; +import { DataSourceSelectionStrategy } from './types'; -export class AllDatasetSelection implements DatasetSelectionStrategy { +export class AllDatasetSelection implements DataSourceSelectionStrategy { selectionType: 'all'; selection: { dataset: Dataset; diff --git a/x-pack/plugins/observability_solution/logs_explorer/common/dataset_selection/data_view_selection.ts b/x-pack/plugins/observability_solution/logs_explorer/common/data_source_selection/data_view_selection.ts similarity index 88% rename from x-pack/plugins/observability_solution/logs_explorer/common/dataset_selection/data_view_selection.ts rename to x-pack/plugins/observability_solution/logs_explorer/common/data_source_selection/data_view_selection.ts index 4886270a30ad7..a80485b9f9189 100644 --- a/x-pack/plugins/observability_solution/logs_explorer/common/dataset_selection/data_view_selection.ts +++ b/x-pack/plugins/observability_solution/logs_explorer/common/data_source_selection/data_view_selection.ts @@ -6,9 +6,9 @@ */ import { DataViewDescriptor } from '../data_views/models/data_view_descriptor'; -import { DatasetSelectionStrategy, DataViewSelectionPayload } from './types'; +import { DataSourceSelectionStrategy, DataViewSelectionPayload } from './types'; -export class DataViewSelection implements DatasetSelectionStrategy { +export class DataViewSelection implements DataSourceSelectionStrategy { selectionType: 'dataView'; selection: { dataView: DataViewDescriptor; diff --git a/x-pack/plugins/observability_solution/logs_explorer/common/dataset_selection/hydrate_dataset_selection.ts.ts b/x-pack/plugins/observability_solution/logs_explorer/common/data_source_selection/hydrate_data_source_selection.ts similarity index 50% rename from x-pack/plugins/observability_solution/logs_explorer/common/dataset_selection/hydrate_dataset_selection.ts.ts rename to x-pack/plugins/observability_solution/logs_explorer/common/data_source_selection/hydrate_data_source_selection.ts index fbef397ebfb19..ffc5cacd4045c 100644 --- a/x-pack/plugins/observability_solution/logs_explorer/common/dataset_selection/hydrate_dataset_selection.ts.ts +++ b/x-pack/plugins/observability_solution/logs_explorer/common/data_source_selection/hydrate_data_source_selection.ts @@ -8,17 +8,17 @@ import { AllDatasetSelection } from './all_dataset_selection'; import { DataViewSelection } from './data_view_selection'; import { SingleDatasetSelection } from './single_dataset_selection'; -import { DatasetSelectionPlain } from './types'; +import { DataSourceSelectionPlain } from './types'; import { UnresolvedDatasetSelection } from './unresolved_dataset_selection'; -export const hydrateDatasetSelection = (datasetSelection: DatasetSelectionPlain) => { - if (datasetSelection.selectionType === 'all') { +export const hydrateDataSourceSelection = (dataSourceSelection: DataSourceSelectionPlain) => { + if (dataSourceSelection.selectionType === 'all') { return AllDatasetSelection.create(); - } else if (datasetSelection.selectionType === 'single') { - return SingleDatasetSelection.fromSelection(datasetSelection.selection); - } else if (datasetSelection.selectionType === 'dataView') { - return DataViewSelection.fromSelection(datasetSelection.selection); + } else if (dataSourceSelection.selectionType === 'single') { + return SingleDatasetSelection.fromSelection(dataSourceSelection.selection); + } else if (dataSourceSelection.selectionType === 'dataView') { + return DataViewSelection.fromSelection(dataSourceSelection.selection); } else { - return UnresolvedDatasetSelection.fromSelection(datasetSelection.selection); + return UnresolvedDatasetSelection.fromSelection(dataSourceSelection.selection); } }; diff --git a/x-pack/plugins/observability_solution/logs_explorer/common/dataset_selection/index.ts b/x-pack/plugins/observability_solution/logs_explorer/common/data_source_selection/index.ts similarity index 61% rename from x-pack/plugins/observability_solution/logs_explorer/common/dataset_selection/index.ts rename to x-pack/plugins/observability_solution/logs_explorer/common/data_source_selection/index.ts index a5b1f1cebd7e2..e0c215fd9cc39 100644 --- a/x-pack/plugins/observability_solution/logs_explorer/common/dataset_selection/index.ts +++ b/x-pack/plugins/observability_solution/logs_explorer/common/data_source_selection/index.ts @@ -14,14 +14,17 @@ export type DatasetSelection = | AllDatasetSelection | SingleDatasetSelection | UnresolvedDatasetSelection; -export type SelectionChange = (selection: DatasetSelection | DataViewSelection) => void; -export const isDatasetSelection = (input: any): input is DatasetSelection => { - return ( - input instanceof AllDatasetSelection || - input instanceof SingleDatasetSelection || - input instanceof UnresolvedDatasetSelection - ); +export type DataSourceSelection = DatasetSelection | DataViewSelection; + +export type DataSourceSelectionChangeHandler = (selection: DataSourceSelection) => void; + +export const isAllDatasetSelection = (input: any): input is AllDatasetSelection => { + return input instanceof AllDatasetSelection; +}; + +export const isSingleDatasetSelection = (input: any): input is SingleDatasetSelection => { + return input instanceof SingleDatasetSelection; }; export const isUnresolvedDatasetSelection = (input: any): input is UnresolvedDatasetSelection => { @@ -32,11 +35,21 @@ export const isDataViewSelection = (input: any): input is DataViewSelection => { return input instanceof DataViewSelection; }; +export const isDatasetSelection = (input: any): input is DatasetSelection => { + return ( + isAllDatasetSelection(input) || + isSingleDatasetSelection(input) || + isUnresolvedDatasetSelection(input) + ); +}; + +export const isDataSourceSelection = (input: any): input is DataSourceSelection => { + return isDatasetSelection(input) || isDataViewSelection(input); +}; + export * from './all_dataset_selection'; export * from './data_view_selection'; +export * from './hydrate_data_source_selection'; export * from './single_dataset_selection'; -export * from './single_dataset_selection'; -export * from './unresolved_dataset_selection'; -export * from './errors'; -export * from './hydrate_dataset_selection.ts'; export * from './types'; +export * from './unresolved_dataset_selection'; diff --git a/x-pack/plugins/observability_solution/logs_explorer/common/dataset_selection/single_dataset_selection.ts b/x-pack/plugins/observability_solution/logs_explorer/common/data_source_selection/single_dataset_selection.ts similarity index 90% rename from x-pack/plugins/observability_solution/logs_explorer/common/dataset_selection/single_dataset_selection.ts rename to x-pack/plugins/observability_solution/logs_explorer/common/data_source_selection/single_dataset_selection.ts index f9eecab1feaff..c2af8844a414e 100644 --- a/x-pack/plugins/observability_solution/logs_explorer/common/dataset_selection/single_dataset_selection.ts +++ b/x-pack/plugins/observability_solution/logs_explorer/common/data_source_selection/single_dataset_selection.ts @@ -6,9 +6,9 @@ */ import { Dataset } from '../datasets'; -import { DatasetSelectionStrategy, SingleDatasetSelectionPayload } from './types'; +import { DataSourceSelectionStrategy, SingleDatasetSelectionPayload } from './types'; -export class SingleDatasetSelection implements DatasetSelectionStrategy { +export class SingleDatasetSelection implements DataSourceSelectionStrategy { selectionType: 'single'; selection: { name?: string; diff --git a/x-pack/plugins/observability_solution/logs_explorer/common/dataset_selection/types.ts b/x-pack/plugins/observability_solution/logs_explorer/common/data_source_selection/types.ts similarity index 89% rename from x-pack/plugins/observability_solution/logs_explorer/common/dataset_selection/types.ts rename to x-pack/plugins/observability_solution/logs_explorer/common/data_source_selection/types.ts index 0f32211f2888c..87ed396c73500 100644 --- a/x-pack/plugins/observability_solution/logs_explorer/common/dataset_selection/types.ts +++ b/x-pack/plugins/observability_solution/logs_explorer/common/data_source_selection/types.ts @@ -9,10 +9,6 @@ import * as rt from 'io-ts'; import { datasetRT } from '../datasets'; import { dataViewDescriptorRT } from '../data_views/types'; -export const allDatasetSelectionPlainRT = rt.type({ - selectionType: rt.literal('all'), -}); - const integrationNameRT = rt.partial({ name: rt.string, }); @@ -45,9 +41,8 @@ const unresolvedDatasetSelectionPayloadRT = rt.intersection([ }), ]); -export const singleDatasetSelectionPlainRT = rt.type({ - selectionType: rt.literal('single'), - selection: singleDatasetSelectionPayloadRT, +export const allDatasetSelectionPlainRT = rt.type({ + selectionType: rt.literal('all'), }); export const dataViewSelectionPlainRT = rt.type({ @@ -55,12 +50,17 @@ export const dataViewSelectionPlainRT = rt.type({ selection: dataViewSelectionPayloadRT, }); +export const singleDatasetSelectionPlainRT = rt.type({ + selectionType: rt.literal('single'), + selection: singleDatasetSelectionPayloadRT, +}); + export const unresolvedDatasetSelectionPlainRT = rt.type({ selectionType: rt.literal('unresolved'), selection: unresolvedDatasetSelectionPayloadRT, }); -export const datasetSelectionPlainRT = rt.union([ +export const dataSourceSelectionPlainRT = rt.union([ allDatasetSelectionPlainRT, dataViewSelectionPlainRT, singleDatasetSelectionPlainRT, @@ -72,13 +72,14 @@ export type DataViewSelectionPayload = rt.TypeOf; -export type DatasetSelectionPlain = rt.TypeOf; + +export type DataSourceSelectionPlain = rt.TypeOf; export type DataViewSpecWithId = DataViewSpec & { id: string; }; -export interface DatasetSelectionStrategy { +export interface DataSourceSelectionStrategy { toDataviewSpec(): DataViewSpecWithId; - toPlainSelection(): DatasetSelectionPlain; + toPlainSelection(): DataSourceSelectionPlain; } diff --git a/x-pack/plugins/observability_solution/logs_explorer/common/dataset_selection/unresolved_dataset_selection.ts b/x-pack/plugins/observability_solution/logs_explorer/common/data_source_selection/unresolved_dataset_selection.ts similarity index 88% rename from x-pack/plugins/observability_solution/logs_explorer/common/dataset_selection/unresolved_dataset_selection.ts rename to x-pack/plugins/observability_solution/logs_explorer/common/data_source_selection/unresolved_dataset_selection.ts index e534403fab617..b5143efa4f05a 100644 --- a/x-pack/plugins/observability_solution/logs_explorer/common/dataset_selection/unresolved_dataset_selection.ts +++ b/x-pack/plugins/observability_solution/logs_explorer/common/data_source_selection/unresolved_dataset_selection.ts @@ -6,9 +6,9 @@ */ import { Dataset } from '../datasets'; -import { DatasetSelectionStrategy, UnresolvedDatasetSelectionPayload } from './types'; +import { DataSourceSelectionStrategy, UnresolvedDatasetSelectionPayload } from './types'; -export class UnresolvedDatasetSelection implements DatasetSelectionStrategy { +export class UnresolvedDatasetSelection implements DataSourceSelectionStrategy { selectionType: 'unresolved'; selection: { name?: string; diff --git a/x-pack/plugins/observability_solution/logs_explorer/common/data_views/models/data_view_descriptor.ts b/x-pack/plugins/observability_solution/logs_explorer/common/data_views/models/data_view_descriptor.ts index 520c91b55b665..0fedd9af256ce 100644 --- a/x-pack/plugins/observability_solution/logs_explorer/common/data_views/models/data_view_descriptor.ts +++ b/x-pack/plugins/observability_solution/logs_explorer/common/data_views/models/data_view_descriptor.ts @@ -5,7 +5,7 @@ * 2.0. */ -import { DataViewSpecWithId } from '../../dataset_selection'; +import { DataViewSpecWithId } from '../../data_source_selection'; import { DataViewDescriptorType } from '../types'; import { buildIndexPatternRegExp } from '../utils'; diff --git a/x-pack/plugins/observability_solution/logs_explorer/common/dataset_selection/errors.ts b/x-pack/plugins/observability_solution/logs_explorer/common/dataset_selection/errors.ts deleted file mode 100644 index 748a4b91b246c..0000000000000 --- a/x-pack/plugins/observability_solution/logs_explorer/common/dataset_selection/errors.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; you may not use this file except in compliance with the Elastic License - * 2.0. - */ - -export class DatasetEncodingError extends Error { - constructor(message: string) { - super(message); - Object.setPrototypeOf(this, new.target.prototype); - this.name = 'DatasetEncodingError'; - } -} diff --git a/x-pack/plugins/observability_solution/logs_explorer/common/datasets/models/dataset.ts b/x-pack/plugins/observability_solution/logs_explorer/common/datasets/models/dataset.ts index 18545b24754d8..3f279d83af64c 100644 --- a/x-pack/plugins/observability_solution/logs_explorer/common/datasets/models/dataset.ts +++ b/x-pack/plugins/observability_solution/logs_explorer/common/datasets/models/dataset.ts @@ -8,7 +8,7 @@ import { IconType } from '@elastic/eui'; import { IndexPattern } from '@kbn/io-ts-utils'; import { TIMESTAMP_FIELD } from '../../constants'; -import { DataViewSpecWithId } from '../../dataset_selection'; +import { DataViewSpecWithId } from '../../data_source_selection'; import { DatasetId, DatasetType, IntegrationType } from '../types'; type IntegrationBase = Partial>; diff --git a/x-pack/plugins/observability_solution/logs_explorer/common/datasets/models/integration.ts b/x-pack/plugins/observability_solution/logs_explorer/common/datasets/models/integration.ts index c82a50dc252f6..855e13384fed8 100644 --- a/x-pack/plugins/observability_solution/logs_explorer/common/datasets/models/integration.ts +++ b/x-pack/plugins/observability_solution/logs_explorer/common/datasets/models/integration.ts @@ -21,7 +21,7 @@ export class Integration { private constructor(integration: Integration) { this.id = integration.id; this.name = integration.name; - this.title = integration.title ?? integration.name; + this.title = integration.title; this.description = integration.description; this.icons = integration.icons; this.status = integration.status; diff --git a/x-pack/plugins/observability_solution/logs_explorer/common/index.ts b/x-pack/plugins/observability_solution/logs_explorer/common/index.ts index d46b9d2b57f0d..da4d63fabf0a7 100644 --- a/x-pack/plugins/observability_solution/logs_explorer/common/index.ts +++ b/x-pack/plugins/observability_solution/logs_explorer/common/index.ts @@ -14,15 +14,16 @@ export { export type { AvailableControlPanels, ControlPanels } from './control_panels'; export { AllDatasetSelection, + dataSourceSelectionPlainRT, DataViewSelection, - datasetSelectionPlainRT, - hydrateDatasetSelection, + hydrateDataSourceSelection, isDatasetSelection, + isDataSourceSelection, isDataViewSelection, isUnresolvedDatasetSelection, UnresolvedDatasetSelection, -} from './dataset_selection'; -export type { DatasetSelectionPlain } from './dataset_selection'; +} from './data_source_selection'; +export type { DataSourceSelectionPlain } from './data_source_selection'; export type { ChartDisplayOptions, DisplayOptions, diff --git a/x-pack/plugins/observability_solution/logs_explorer/public/components/data_source_selector/constants.tsx b/x-pack/plugins/observability_solution/logs_explorer/public/components/data_source_selector/constants.tsx new file mode 100644 index 0000000000000..9bd9d75bf5c1c --- /dev/null +++ b/x-pack/plugins/observability_solution/logs_explorer/public/components/data_source_selector/constants.tsx @@ -0,0 +1,105 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license 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 POPOVER_ID = 'data-source-selector-popover'; +export const INTEGRATIONS_PANEL_ID = 'data-source-selector-integrations-panel'; +export const INTEGRATIONS_TAB_ID = 'data-source-selector-integrations-tab'; +export const UNCATEGORIZED_PANEL_ID = 'data-source-selector-uncategorized-panel'; +export const UNCATEGORIZED_TAB_ID = 'data-source-selector-uncategorized-tab'; +export const DATA_VIEWS_PANEL_ID = 'data-source-selector-data-views-panel'; +export const DATA_VIEWS_TAB_ID = 'data-source-selector-data-views-tab'; + +export const DATA_SOURCE_SELECTOR_WIDTH = 400; + +export const showAllLogsLabel = i18n.translate( + 'xpack.logsExplorer.dataSourceSelector.showAllLogs', + { defaultMessage: 'Show all logs' } +); + +export const integrationsLabel = i18n.translate( + 'xpack.logsExplorer.dataSourceSelector.integrations', + { defaultMessage: 'Integrations' } +); + +export const uncategorizedLabel = i18n.translate( + 'xpack.logsExplorer.dataSourceSelector.uncategorized', + { defaultMessage: 'Uncategorized' } +); + +export const dataViewsLabel = i18n.translate('xpack.logsExplorer.dataSourceSelector.dataViews', { + defaultMessage: 'Data Views', +}); + +export const openDiscoverLabel = i18n.translate( + 'xpack.logsExplorer.dataSourceSelector.openDiscover', + { defaultMessage: 'Opens in Discover' } +); + +export const sortOrdersLabel = i18n.translate('xpack.logsExplorer.dataSourceSelector.sortOrders', { + defaultMessage: 'Sort directions', +}); + +export const noDatasetsLabel = i18n.translate('xpack.logsExplorer.dataSourceSelector.noDatasets', { + defaultMessage: 'No data streams found', +}); + +export const noDatasetsDescriptionLabel = i18n.translate( + 'xpack.logsExplorer.dataSourceSelector.noDatasetsDescription', + { defaultMessage: 'No datasets or search results found.' } +); + +export const noDataViewsLabel = i18n.translate( + 'xpack.logsExplorer.dataSourceSelector.noDataViews', + { defaultMessage: 'No data views found' } +); + +export const noDataViewsDescriptionLabel = i18n.translate( + 'xpack.logsExplorer.dataSourceSelector.noDataViewsDescription', + { defaultMessage: 'No data views or search results found.' } +); + +export const noIntegrationsLabel = i18n.translate( + 'xpack.logsExplorer.dataSourceSelector.noIntegrations', + { defaultMessage: 'No integrations found' } +); + +export const noIntegrationsDescriptionLabel = i18n.translate( + 'xpack.logsExplorer.dataSourceSelector.noIntegrationsDescription', + { defaultMessage: 'No integrations or search results found.' } +); + +export const errorLabel = i18n.translate('xpack.logsExplorer.dataSourceSelector.error', { + defaultMessage: 'error', +}); + +export const noDataRetryLabel = i18n.translate( + 'xpack.logsExplorer.dataSourceSelector.noDataRetry', + { defaultMessage: 'Retry' } +); + +export const tryEsql = i18n.translate('xpack.logsExplorer.dataSourceSelector.TryEsql', { + defaultMessage: 'Try ES|QL', +}); + +export const technicalPreview = i18n.translate('xpack.logsExplorer.TechPreview', { + defaultMessage: 'Technical preview', +}); + +export const sortOptions = [ + { + id: 'asc', + iconType: 'sortAscending', + label: 'Ascending', + }, + { + id: 'desc', + iconType: 'sortDescending', + label: 'Descending', + }, +]; diff --git a/x-pack/plugins/observability_solution/logs_explorer/public/components/dataset_selector/dataset_selector.stories.tsx b/x-pack/plugins/observability_solution/logs_explorer/public/components/data_source_selector/data_source_selector.stories.tsx similarity index 94% rename from x-pack/plugins/observability_solution/logs_explorer/public/components/dataset_selector/dataset_selector.stories.tsx rename to x-pack/plugins/observability_solution/logs_explorer/public/components/data_source_selector/data_source_selector.stories.tsx index ce172f45211da..f64bc6a9e1984 100644 --- a/x-pack/plugins/observability_solution/logs_explorer/public/components/dataset_selector/dataset_selector.stories.tsx +++ b/x-pack/plugins/observability_solution/logs_explorer/public/components/data_source_selector/data_source_selector.stories.tsx @@ -14,17 +14,16 @@ import { IndexPattern } from '@kbn/io-ts-utils'; import { DataViewDescriptor } from '../../../common/data_views/models/data_view_descriptor'; import { AllDatasetSelection, - DatasetSelection, - DataViewSelection, - SelectionChange, -} from '../../../common/dataset_selection'; + DataSourceSelectionChangeHandler, + DataSourceSelection, +} from '../../../common/data_source_selection'; import { Dataset, Integration } from '../../../common/datasets'; -import { DatasetSelector } from './dataset_selector'; -import { DatasetSelectorProps, DatasetsSelectorSearchParams } from './types'; +import { DataSourceSelector } from './data_source_selector'; +import { DataSourceSelectorProps, DataSourceSelectorSearchParams } from './types'; -const meta: Meta = { - component: DatasetSelector, - title: 'logs_explorer/DatasetSelector', +const meta: Meta = { + component: DataSourceSelector, + title: 'logs_explorer/DataSourceSelector', decorators: [(wrappedStory) => {wrappedStory()}], argTypes: { datasetsError: { @@ -43,12 +42,12 @@ const meta: Meta = { }; export default meta; -const DatasetSelectorTemplate: Story = (args) => { - const [datasetSelection, setDatasetSelection] = useState( - () => AllDatasetSelection.create() +const DataSourceSelectorTemplate: Story = (args) => { + const [dataSourceSelection, setDataSourceSelection] = useState(() => + AllDatasetSelection.create() ); - const [search, setSearch] = useState({ + const [search, setSearch] = useState({ sortOrder: 'asc', name: '', }); @@ -60,8 +59,8 @@ const DatasetSelectorTemplate: Story = (args) => { } }; - const onSelectionChange: SelectionChange = (newSelection) => { - setDatasetSelection(newSelection); + const onSelectionChange: DataSourceSelectionChangeHandler = (newSelection) => { + setDataSourceSelection(newSelection); }; const filteredIntegrations = integrations.filter((integration) => @@ -94,11 +93,11 @@ const DatasetSelectorTemplate: Story = (args) => { } = args; return ( - = (args) => { ); }; -export const Basic = DatasetSelectorTemplate.bind({}); +export const Basic = DataSourceSelectorTemplate.bind({}); Basic.args = { datasetsError: null, dataViewsError: null, diff --git a/x-pack/plugins/observability_solution/logs_explorer/public/components/dataset_selector/dataset_selector.tsx b/x-pack/plugins/observability_solution/logs_explorer/public/components/data_source_selector/data_source_selector.tsx similarity index 91% rename from x-pack/plugins/observability_solution/logs_explorer/public/components/dataset_selector/dataset_selector.tsx rename to x-pack/plugins/observability_solution/logs_explorer/public/components/data_source_selector/data_source_selector.tsx index 36b9e337a5a90..b0eaec93c9ef0 100644 --- a/x-pack/plugins/observability_solution/logs_explorer/public/components/dataset_selector/dataset_selector.tsx +++ b/x-pack/plugins/observability_solution/logs_explorer/public/components/data_source_selector/data_source_selector.tsx @@ -14,7 +14,7 @@ import { dataViewsLabel, DATA_VIEWS_PANEL_ID, DATA_VIEWS_TAB_ID, - DATA_VIEW_POPOVER_CONTENT_WIDTH, + DATA_SOURCE_SELECTOR_WIDTH, integrationsLabel, INTEGRATIONS_PANEL_ID, INTEGRATIONS_TAB_ID, @@ -22,12 +22,12 @@ import { UNCATEGORIZED_PANEL_ID, UNCATEGORIZED_TAB_ID, } from './constants'; -import { useDatasetSelector } from './state_machine/use_dataset_selector'; +import { useDataSourceSelector } from './state_machine/use_data_source_selector'; import { SelectorPopover } from './sub_components/selector_popover'; import { DataViewMenuItem } from './sub_components/data_view_menu_item'; import { SearchControls } from './sub_components/search_controls'; import { ESQLButton, SelectorFooter, ShowAllLogsButton } from './sub_components/selector_footer'; -import { DatasetSelectorProps } from './types'; +import { DataSourceSelectorProps } from './types'; import { buildIntegrationsTree, createDataViewsStatusItem, @@ -35,9 +35,9 @@ import { createUncategorizedStatusItem, } from './utils'; -export function DatasetSelector({ +export function DataSourceSelector({ datasets, - datasetSelection, + dataSourceSelection, datasetsError, dataViews, dataViewsError, @@ -65,7 +65,7 @@ export function DatasetSelector({ onUncategorizedSearch, onUncategorizedSort, onUncategorizedTabClick, -}: DatasetSelectorProps) { +}: DataSourceSelectorProps) { const { panelId, search, @@ -76,7 +76,7 @@ export function DatasetSelector({ closePopover, scrollToIntegrationsBottom, searchByName, - selectAllLogDataset, + selectAllLogs, selectDataset, selectDataView, sortByOrder, @@ -84,8 +84,8 @@ export function DatasetSelector({ switchToUncategorizedTab, switchToDataViewsTab, togglePopover, - } = useDatasetSelector({ - initialContext: { selection: datasetSelection }, + } = useDataSourceSelector({ + initialContext: { selection: dataSourceSelection }, onDataViewsSearch, onDataViewsSort, onIntegrationsLoadMore, @@ -181,7 +181,7 @@ export function DatasetSelector({ id: INTEGRATIONS_TAB_ID, name: integrationsLabel, onClick: switchToIntegrationsTab, - 'data-test-subj': 'datasetSelectorIntegrationsTab', + 'data-test-subj': 'dataSourceSelectorIntegrationsTab', }, { id: UNCATEGORIZED_TAB_ID, @@ -190,7 +190,7 @@ export function DatasetSelector({ onUncategorizedTabClick(); // Lazy-load uncategorized datasets only when accessing the Uncategorized tab switchToUncategorizedTab(); }, - 'data-test-subj': 'datasetSelectorUncategorizedTab', + 'data-test-subj': 'dataSourceSelectorUncategorizedTab', }, { id: DATA_VIEWS_TAB_ID, @@ -199,7 +199,7 @@ export function DatasetSelector({ onDataViewsTabClick(); // Lazy-load data views only when accessing the Data Views tab switchToDataViewsTab(); }, - 'data-test-subj': 'datasetSelectorDataViewsTab', + 'data-test-subj': 'dataSourceSelectorDataViewsTab', }, ]; @@ -216,7 +216,7 @@ export function DatasetSelector({ return ( - + {isEsqlEnabled && } diff --git a/x-pack/plugins/observability_solution/logs_explorer/public/components/dataset_selector/index.ts b/x-pack/plugins/observability_solution/logs_explorer/public/components/data_source_selector/index.ts similarity index 87% rename from x-pack/plugins/observability_solution/logs_explorer/public/components/dataset_selector/index.ts rename to x-pack/plugins/observability_solution/logs_explorer/public/components/data_source_selector/index.ts index 60425308dab56..47ece7f09b84d 100644 --- a/x-pack/plugins/observability_solution/logs_explorer/public/components/dataset_selector/index.ts +++ b/x-pack/plugins/observability_solution/logs_explorer/public/components/data_source_selector/index.ts @@ -5,5 +5,5 @@ * 2.0. */ -export * from './dataset_selector'; +export * from './data_source_selector'; export * from './types'; diff --git a/x-pack/plugins/observability_solution/logs_explorer/public/components/dataset_selector/state_machine/defaults.ts b/x-pack/plugins/observability_solution/logs_explorer/public/components/data_source_selector/state_machine/defaults.ts similarity index 64% rename from x-pack/plugins/observability_solution/logs_explorer/public/components/dataset_selector/state_machine/defaults.ts rename to x-pack/plugins/observability_solution/logs_explorer/public/components/data_source_selector/state_machine/defaults.ts index 985ba5956b772..6fe35d9c7b8a2 100644 --- a/x-pack/plugins/observability_solution/logs_explorer/public/components/dataset_selector/state_machine/defaults.ts +++ b/x-pack/plugins/observability_solution/logs_explorer/public/components/data_source_selector/state_machine/defaults.ts @@ -5,18 +5,18 @@ * 2.0. */ -import { AllDatasetSelection } from '../../../../common/dataset_selection'; +import { AllDatasetSelection } from '../../../../common/data_source_selection'; import { HashedCache } from '../../../../common/hashed_cache'; import { INTEGRATIONS_PANEL_ID, INTEGRATIONS_TAB_ID } from '../constants'; -import { DatasetsSelectorSearchParams } from '../types'; -import { DefaultDatasetsSelectorContext } from './types'; +import { DataSourceSelectorSearchParams } from '../types'; +import { DefaultDataSourceSelectorContext } from './types'; -export const defaultSearch: DatasetsSelectorSearchParams = { +export const defaultSearch: DataSourceSelectorSearchParams = { name: '', sortOrder: 'asc', }; -export const DEFAULT_CONTEXT: DefaultDatasetsSelectorContext = { +export const DEFAULT_CONTEXT: DefaultDataSourceSelectorContext = { selection: AllDatasetSelection.create(), searchCache: new HashedCache(), panelId: INTEGRATIONS_PANEL_ID, diff --git a/x-pack/plugins/observability_solution/logs_explorer/public/components/dataset_selector/state_machine/index.ts b/x-pack/plugins/observability_solution/logs_explorer/public/components/data_source_selector/state_machine/index.ts similarity index 100% rename from x-pack/plugins/observability_solution/logs_explorer/public/components/dataset_selector/state_machine/index.ts rename to x-pack/plugins/observability_solution/logs_explorer/public/components/data_source_selector/state_machine/index.ts diff --git a/x-pack/plugins/observability_solution/logs_explorer/public/components/dataset_selector/state_machine/state_machine.ts b/x-pack/plugins/observability_solution/logs_explorer/public/components/data_source_selector/state_machine/state_machine.ts similarity index 93% rename from x-pack/plugins/observability_solution/logs_explorer/public/components/dataset_selector/state_machine/state_machine.ts rename to x-pack/plugins/observability_solution/logs_explorer/public/components/data_source_selector/state_machine/state_machine.ts index 17dc6494d5ce8..2f9a426d5321a 100644 --- a/x-pack/plugins/observability_solution/logs_explorer/public/components/dataset_selector/state_machine/state_machine.ts +++ b/x-pack/plugins/observability_solution/logs_explorer/public/components/data_source_selector/state_machine/state_machine.ts @@ -9,30 +9,30 @@ import { actions, assign, createMachine, raise } from 'xstate'; import { AllDatasetSelection, DataViewSelection, - isDatasetSelection, + isAllDatasetSelection, isDataViewSelection, SingleDatasetSelection, -} from '../../../../common/dataset_selection'; +} from '../../../../common/data_source_selection'; import { DATA_VIEWS_TAB_ID, INTEGRATIONS_TAB_ID, UNCATEGORIZED_TAB_ID } from '../constants'; import { defaultSearch, DEFAULT_CONTEXT } from './defaults'; import { - DatasetsSelectorContext, - DatasetsSelectorEvent, - DatasetsSelectorStateMachineDependencies, - DatasetsSelectorTypestate, - DefaultDatasetsSelectorContext, + DataSourceSelectorContext, + DataSourceSelectorEvent, + DataSourceSelectorStateMachineDependencies, + DataSourceSelectorTypestate, + DefaultDataSourceSelectorContext, } from './types'; -export const createPureDatasetsSelectorStateMachine = ( - initialContext: Partial = DEFAULT_CONTEXT +export const createPureDataSourceSelectorStateMachine = ( + initialContext: Partial = DEFAULT_CONTEXT ) => /** @xstate-layout N4IgpgJg5mDOIC5QBECGAXVsztgZTABswBjdAewCcA6AB3PoDcwaTDzsIBiAFQHkA4gIAyAUQDaABgC6iUPVgBLdIvIA7OSACeiACwAmXdQDMANmMB2UwYAcu4wEYH+gDQgAHogdmj5yU9MATmMAVmNjfQcAXyi3NExsXAJiMio6BnJmGgYwNS4AYWE+PAkZTQVlVQ0kD0QbCwtqSX1TSXNAh0lJQIsQtx0EUycmyTNRm2abSOMYuIwsHHwiUgoaeiYWahy8-iExKVkaipV1TU8EGxsHE2ddc11dBwtAyP7EEN0Q6lMLfS6Ohy6QK6eqzEDxBZJZapNYZLJbWi5LglMT5HgAfQAgsJhOiigI8OjkJieJiSjwDuUOJVTjVzjYftQLA4JsZgm1eoFTG9BlMTL1wqNAiEGfowRDEksUqt0htsoi1NRFGp0GAoJQMFVYDxUAAjZEAdQAkjx8gAJdH8dEAVQAcvkSaIBHwAEpGgBaomQlsxACFKUdqSdqqBzgBaJ6SajCwLA5n+YxTYw8pzGKNWfT6YwPX4OEIi8XzSXJFZpdaZTbbJUqtUa4PavWGk3my18IkkzHogBqRtEBsJpP9ZUDSmDZ0QkX01AM1m6jjzbI+Ke86dMmezulz+ZshYSixLMNlFfluWrqvVmvUDd11EIilgKjUUCNNYv9YKZsxtoEonRAAUv1EYQA3kIMqnHBBOkCagWn0D4bDMIIJlMGweV6a5hTZIF9CsZoWV3SEpVLWE5QRU9lXPOstR1G87wfZVn1fKir2RfIXT4HFW3RI1bR4J0XRJI0+FtQlfT4Hh+AAWRAkBjnAulEDDTMvhCCxs0cO5QhZQIeVUqcggcYJVLMCIHFMAji2hGVy3hKsKNrS81GvW970fRjKMc2BkVETEXRbX0AE10VtTFJNKQ5QNHeTQ0U+wvjaSI7BCLpLE+XQeWsaC4JQsILAZBpolicEi33KyyzhSsFTPBz6xolz6KfF8PPfPBXQxQL0VdZBRBdGS5NpGKEDDdTqBCQwfhwl4nCXbQ6nzUbmkkZ5TCGHpLAs0rpXK0i7KYzy6rotympqqo8HQSgwFQABbLzzS-H9-0A4Dh0imkQ1qSDuhgtd4MQwJkL6WaEAsfwmiGXpcr+SxzKKiVNuIo9bKq+y32ovV6qOvbgzOi7rq8kpfP8oKQrCvqwIGj6QhZb5ksTTcWgaMbdJCLKFzuYJnnsQINqhLaSOPMjFRR5inIO1yGOO1H1Bxy6buRNr0Q6rqerJqKKfOLNGkkGxY30DpYxQgxmanYEnEnRMGQMHmiMPGzKvIrG0do8XGsd6Xztl-GgNENF21JclVbeiCGRsb5-vqSQRVGbp0qBqxrhQyafoCFprYPayKpPRUAFc1BIDA1SoRQAC9IBoptTQtK0eL4gQBJ4ISRJ9IcItk8n3vDcIpyzFpujgkGQYZFM2iMUJWgZ-6swZNOyv5pHT1z-PzyL0uIHLvBjUrrjiVJbte37ZvA7HBSEEMb41zXXRxkMkIfmTIHnGFaNJ4MYIek3HdYZK3mEbtrPqEXgXKAK8y6NgJn5C0HUSbhSpGrDusUJjfAmGEFamYLBAkBgMbwZ8ngg2BCPNkPwZ580RvbHOecgEgLXmAhWSsXTdV6i9NucCIJhnpt8Kwa5fhqW6MlTBXhvCmFGq0Z4aYFymDCMQ3+mdBYAIocvSgJdQH6hRD7DEO8ySiApEw-q8CLgoTDpcR4QQ9ZDBTPYUO3R-rBB+J8FCMM5h7h-rbGRVYIDzC7IoMAAB3a8FcWzV14vxQSwkBx+iPtFD6ZgTY3x6CzdorJh6qVGn8BCV8PjOEKo4wi6dtoCzcR4rxvj16bwCW2O0Dpa6ug9F6Q+Oj24QUBCYVonwB6RzzMlVCD9DBfDuPUMIdhIgXykS4naVV3GYE8T4vx4CibBVCjAkcQcT5DCjC8EEmSuj5l6CmCI0FEx4RwtrOCmYRkZzGaeCZqApnFJoS6dqQVlaMNbroiCqyTB3BQrGOMLNXAP28NcYxa5Yx5h6HrM5eT56KiuTcmZ3tfYaL3n2CJ6s6jWGjICLoSYr71FjlgrM1xwg-HqFcewvQxRfycTbGU2BpRVGoIwVAd4JkMXTlULgKK9FhmSgncGLw1IvBwk8FM6CjD9LMDYFmeYswhAhTQWlKx6WMuZZqJ8bL1AcocC8hpJ9uV-GoGZLkkcsyCt+CmVk0YeGGDsNK0IcrqAKrIEqpligWVqqsuy8Q+htUsN1WEKMXzBEglNX8rBoomSJkyjasadrKU5Nng6j16gHUMWIN5VEGJsS4nxISDRAd6m+sGk4UOjg8orSpvYUIeURVsmaZ8Eli4hj2sdcGFNT402qIRR2fNPrlmDSUpIIwBtMo4UnMKFMEiTZjUCEtfQlxko4WbUmxUSh21gHTWov2nYezIoLX2j6SlgTTlCFmZobI0HCofh0IR2twhpjUhsuCS66XJqZYQDdXb-ZaM5RBSw0Fb4vEjihUYVhJUTsZMGzWdg7BLQccVKluT5XLuoG+j96iOxIoND+k+lhjDRi5iDE1EwDD3wGIlIRC7lJJTaM+xVyaYVFLQ1iTiOat09tgfu84xaTAin5cyemm5uRA1SUIrSeZcE-EHbRp19HCk+KY3m79e7j79rytQS4kwJVX2zJHFM16mgIUFA+q4T642WRIS2+lDH5OdvQ7vHdWHlORPDIZa4t6Z2gbypEHZwmnhCJ1hp1oHQY2yrBGocgEA4CaDhs41YHGVMHq4WDRKnwUroP4cDPDwRQhX0Hl8l49q-7xec4pVS0EEoslSyBz4E7AXhA+EtbW+WKXZPM9I0ibAOCQGK6iyCZk8NHPQYZUIXcHA8gMKPcwVhbD2DNoV1xCoetcrCG5tclXkrVYy9a6M9XctNZ1gVsz8NRn5KqgAC1cktt5anJ5U2ZGpQwZqgZEuPTlxrIdYzzYuULN2os9RXd1SCPDFXqObbxXoamDwzbOAttYFr8H40kL-rI4W+10YXYfADotzgTDTCSitTcN8eTBFDg0cIeUyeAmZF907DtmpOwxhLX78AlkJfDH8G9nQdbGMlZKuCGV0EGtS3lNk-1Cc06hdVKWf3nYNXcidd2uMbpY4+nrKcowWa-BBBrkUGVLg7Z+BI3CtNuZHdi5Cshcil6F0UavGiKv2cMnU94GxBhVJBHHd06mc6DaLga2pCXlvrO3N1A7xAplviAg6PO7Xa4UyRC+B0DBExLajGkwl15fq1OBp8DrNBoavC316dO2d87mgWHT86lVbl1XvUz-2oEeGVp5klYOqbM0sHlujPmUI2tUtwZi9StIlnk2rqgMQMPQ19V3sTNmdcykcIit6M7hodgCeTgr2bofSGX2KjfZP7MjQzANGaBIwdAG9MGCZJJro5+Vp5Ur7JyZRTJ-DSnHwiIDWWQi892R5wU5iM9Z6Z+kKUYggA */ - createMachine( + createMachine( { context: { ...DEFAULT_CONTEXT, ...initialContext }, preserveActionOrder: true, predictableActionArguments: true, - id: 'DatasetsSelector', + id: 'DataSourceSelector', type: 'parallel', states: { popover: { @@ -49,7 +49,7 @@ export const createPureDatasetsSelectorStateMachine = ( on: { CLOSE: 'closed', TOGGLE: 'closed', - SELECT_ALL_LOGS_DATASET: 'closed', + SELECT_ALL_LOGS: 'closed', }, states: { hist: { @@ -160,7 +160,7 @@ export const createPureDatasetsSelectorStateMachine = ( }, single: { on: { - SELECT_ALL_LOGS_DATASET: { + SELECT_ALL_LOGS: { actions: ['storeAllSelection', 'notifySelectionChanged'], target: 'all', }, @@ -187,7 +187,7 @@ export const createPureDatasetsSelectorStateMachine = ( }, dataView: { on: { - SELECT_ALL_LOGS_DATASET: { + SELECT_ALL_LOGS: { actions: ['storeAllSelection', 'notifySelectionChanged'], target: 'all', }, @@ -273,15 +273,12 @@ export const createPureDatasetsSelectorStateMachine = ( }, guards: { isDataViewSelection: (context) => isDataViewSelection(context.selection), - isAllDatasetSelection: (context) => - isDatasetSelection(context.selection) && context.selection.selectionType === 'all', - isSingleDatasetSelection: (context) => - isDatasetSelection(context.selection) && context.selection.selectionType === 'single', + isAllDatasetSelection: (context) => isAllDatasetSelection(context.selection), }, } ); -export const createDatasetsSelectorStateMachine = ({ +export const createDataSourceSelectorStateMachine = ({ initialContext, onDataViewsSearch, onDataViewsSort, @@ -295,8 +292,8 @@ export const createDatasetsSelectorStateMachine = ({ onUncategorizedSort, onSelectionChange, onUncategorizedReload, -}: DatasetsSelectorStateMachineDependencies) => - createPureDatasetsSelectorStateMachine(initialContext).withConfig({ +}: DataSourceSelectorStateMachineDependencies) => + createPureDataSourceSelectorStateMachine(initialContext).withConfig({ actions: { notifySelectionChanged: (context) => { return onSelectionChange(context.selection); diff --git a/x-pack/plugins/observability_solution/logs_explorer/public/components/dataset_selector/state_machine/types.ts b/x-pack/plugins/observability_solution/logs_explorer/public/components/data_source_selector/state_machine/types.ts similarity index 62% rename from x-pack/plugins/observability_solution/logs_explorer/public/components/dataset_selector/state_machine/types.ts rename to x-pack/plugins/observability_solution/logs_explorer/public/components/data_source_selector/state_machine/types.ts index 0dd6f199c8fc7..27cbb82eab085 100644 --- a/x-pack/plugins/observability_solution/logs_explorer/public/components/dataset_selector/state_machine/types.ts +++ b/x-pack/plugins/observability_solution/logs_explorer/public/components/data_source_selector/state_machine/types.ts @@ -7,10 +7,9 @@ import { DataViewDescriptor } from '../../../../common/data_views/models/data_view_descriptor'; import { SearchDataViews } from '../../../hooks/use_data_views'; import { - DatasetSelection, - DataViewSelection, - SelectionChange, -} from '../../../../common/dataset_selection'; + DataSourceSelection, + DataSourceSelectionChangeHandler, +} from '../../../../common/data_source_selection'; import { Dataset } from '../../../../common/datasets/models/dataset'; import { ReloadDatasets, SearchDatasets } from '../../../hooks/use_datasets'; import { @@ -19,77 +18,77 @@ import { SearchIntegrations, } from '../../../hooks/use_integrations'; import type { IHashedCache } from '../../../../common/hashed_cache'; -import { DatasetsSelectorSearchParams, PanelId, TabId } from '../types'; +import { DataSourceSelectorSearchParams, PanelId, TabId } from '../types'; -export interface DefaultDatasetsSelectorContext { - selection: DatasetSelection | DataViewSelection; +export interface DefaultDataSourceSelectorContext { + selection: DataSourceSelection; tabId: TabId; panelId: PanelId; - searchCache: IHashedCache; - search: DatasetsSelectorSearchParams; + searchCache: IHashedCache; + search: DataSourceSelectorSearchParams; } -export type DatasetsSelectorTypestate = +export type DataSourceSelectorTypestate = | { value: 'popover'; - context: DefaultDatasetsSelectorContext; + context: DefaultDataSourceSelectorContext; } | { value: 'popover.closed'; - context: DefaultDatasetsSelectorContext; + context: DefaultDataSourceSelectorContext; } | { value: 'popover.open'; - context: DefaultDatasetsSelectorContext; + context: DefaultDataSourceSelectorContext; } | { value: 'popover.open.hist'; - context: DefaultDatasetsSelectorContext; + context: DefaultDataSourceSelectorContext; } | { value: 'popover.open.integrationsTab'; - context: DefaultDatasetsSelectorContext; + context: DefaultDataSourceSelectorContext; } | { value: 'popover.open.integrationsTab.listingIntegrations'; - context: DefaultDatasetsSelectorContext; + context: DefaultDataSourceSelectorContext; } | { value: 'popover.open.integrationsTab.listingIntegrationStreams'; - context: DefaultDatasetsSelectorContext; + context: DefaultDataSourceSelectorContext; } | { value: 'popover.open.uncategorizedTab'; - context: DefaultDatasetsSelectorContext; + context: DefaultDataSourceSelectorContext; } | { value: 'popover.open.dataViewsTab'; - context: DefaultDatasetsSelectorContext; + context: DefaultDataSourceSelectorContext; } | { value: 'selection'; - context: DefaultDatasetsSelectorContext; + context: DefaultDataSourceSelectorContext; } | { value: 'selection.validatingSelection'; - context: DefaultDatasetsSelectorContext; + context: DefaultDataSourceSelectorContext; } | { value: 'selection.single'; - context: DefaultDatasetsSelectorContext; + context: DefaultDataSourceSelectorContext; } | { value: 'selection.dataView'; - context: DefaultDatasetsSelectorContext; + context: DefaultDataSourceSelectorContext; } | { value: 'selection.all'; - context: DefaultDatasetsSelectorContext; + context: DefaultDataSourceSelectorContext; }; -export type DatasetsSelectorContext = DatasetsSelectorTypestate['context']; +export type DataSourceSelectorContext = DataSourceSelectorTypestate['context']; -export type DatasetsSelectorEvent = +export type DataSourceSelectorEvent = | { type: 'CLOSE'; } @@ -118,22 +117,22 @@ export type DatasetsSelectorEvent = selection: DataViewDescriptor; } | { - type: 'SELECT_ALL_LOGS_DATASET'; + type: 'SELECT_ALL_LOGS'; } | { type: 'SCROLL_TO_INTEGRATIONS_BOTTOM'; } | { type: 'SEARCH_BY_NAME'; - search: DatasetsSelectorSearchParams; + search: DataSourceSelectorSearchParams; } | { type: 'SORT_BY_ORDER'; - search: DatasetsSelectorSearchParams; + search: DataSourceSelectorSearchParams; }; -export interface DatasetsSelectorStateMachineDependencies { - initialContext?: Partial; +export interface DataSourceSelectorStateMachineDependencies { + initialContext?: Partial; onDataViewsSearch: SearchDataViews; onDataViewsSort: SearchDataViews; onIntegrationsLoadMore: LoadMoreIntegrations; @@ -142,7 +141,7 @@ export interface DatasetsSelectorStateMachineDependencies { onIntegrationsSort: SearchIntegrations; onIntegrationsStreamsSearch: SearchIntegrations; onIntegrationsStreamsSort: SearchIntegrations; - onSelectionChange: SelectionChange; + onSelectionChange: DataSourceSelectionChangeHandler; onUncategorizedReload: ReloadDatasets; onUncategorizedSearch: SearchDatasets; onUncategorizedSort: SearchDatasets; diff --git a/x-pack/plugins/observability_solution/logs_explorer/public/components/data_source_selector/state_machine/use_data_source_selector.ts b/x-pack/plugins/observability_solution/logs_explorer/public/components/data_source_selector/state_machine/use_data_source_selector.ts new file mode 100644 index 0000000000000..b4774de77ea96 --- /dev/null +++ b/x-pack/plugins/observability_solution/logs_explorer/public/components/data_source_selector/state_machine/use_data_source_selector.ts @@ -0,0 +1,155 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license 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 } from 'react'; +import { useInterpret, useSelector } from '@xstate/react'; +import { isAllDatasetSelection } from '../../../../common/data_source_selection'; +import { + ChangePanelHandler, + DatasetSelectionHandler, + DataSourceSelectorSearchHandler, + DataViewSelectionHandler, + PanelId, +} from '../types'; +import { createDataSourceSelectorStateMachine } from './state_machine'; +import { DataSourceSelectorStateMachineDependencies } from './types'; + +export const useDataSourceSelector = ({ + initialContext, + onDataViewsSearch, + onDataViewsSort, + onIntegrationsLoadMore, + onIntegrationsReload, + onIntegrationsSearch, + onIntegrationsSort, + onIntegrationsStreamsSearch, + onIntegrationsStreamsSort, + onSelectionChange, + onUncategorizedSearch, + onUncategorizedSort, + onUncategorizedReload, +}: DataSourceSelectorStateMachineDependencies) => { + const dataSourceSelectorStateService = useInterpret(() => + createDataSourceSelectorStateMachine({ + initialContext, + onDataViewsSearch, + onDataViewsSort, + onIntegrationsLoadMore, + onIntegrationsReload, + onIntegrationsSearch, + onIntegrationsSort, + onIntegrationsStreamsSearch, + onIntegrationsStreamsSort, + onSelectionChange, + onUncategorizedSearch, + onUncategorizedSort, + onUncategorizedReload, + }) + ); + + const isOpen = useSelector(dataSourceSelectorStateService, (state) => + state.matches('popover.open') + ); + + const panelId = useSelector(dataSourceSelectorStateService, (state) => state.context.panelId); + const search = useSelector(dataSourceSelectorStateService, (state) => state.context.search); + const selection = useSelector(dataSourceSelectorStateService, (state) => state.context.selection); + const tabId = useSelector(dataSourceSelectorStateService, (state) => state.context.tabId); + + const switchToIntegrationsTab = useCallback( + () => dataSourceSelectorStateService.send({ type: 'SWITCH_TO_INTEGRATIONS_TAB' }), + [dataSourceSelectorStateService] + ); + + const switchToUncategorizedTab = useCallback( + () => dataSourceSelectorStateService.send({ type: 'SWITCH_TO_UNCATEGORIZED_TAB' }), + [dataSourceSelectorStateService] + ); + + const switchToDataViewsTab = useCallback( + () => dataSourceSelectorStateService.send({ type: 'SWITCH_TO_DATA_VIEWS_TAB' }), + [dataSourceSelectorStateService] + ); + + const changePanel = useCallback( + (panelDetails) => + dataSourceSelectorStateService.send({ + type: 'CHANGE_PANEL', + panelId: panelDetails.panelId as PanelId, + }), + [dataSourceSelectorStateService] + ); + + const scrollToIntegrationsBottom = useCallback( + () => dataSourceSelectorStateService.send({ type: 'SCROLL_TO_INTEGRATIONS_BOTTOM' }), + [dataSourceSelectorStateService] + ); + + const searchByName = useCallback( + (params) => dataSourceSelectorStateService.send({ type: 'SEARCH_BY_NAME', search: params }), + [dataSourceSelectorStateService] + ); + + const selectAllLogs = useCallback( + () => dataSourceSelectorStateService.send({ type: 'SELECT_ALL_LOGS' }), + [dataSourceSelectorStateService] + ); + + const selectDataset = useCallback( + (dataset) => + dataSourceSelectorStateService.send({ type: 'SELECT_DATASET', selection: dataset }), + [dataSourceSelectorStateService] + ); + + const selectDataView = useCallback( + (dataViewDescriptor) => + dataSourceSelectorStateService.send({ + type: 'SELECT_DATA_VIEW', + selection: dataViewDescriptor, + }), + [dataSourceSelectorStateService] + ); + + const sortByOrder = useCallback( + (params) => dataSourceSelectorStateService.send({ type: 'SORT_BY_ORDER', search: params }), + [dataSourceSelectorStateService] + ); + + const closePopover = useCallback( + () => dataSourceSelectorStateService.send({ type: 'CLOSE' }), + [dataSourceSelectorStateService] + ); + + const togglePopover = useCallback( + () => dataSourceSelectorStateService.send({ type: 'TOGGLE' }), + [dataSourceSelectorStateService] + ); + + return { + // Data + panelId, + search, + selection, + tabId, + // Flags + isOpen, + isAllMode: isAllDatasetSelection(selection), + // Actions + changePanel, + closePopover, + scrollToIntegrationsBottom, + searchByName, + selectAllLogs, + selectDataset, + selectDataView, + sortByOrder, + switchToIntegrationsTab, + switchToUncategorizedTab, + switchToDataViewsTab, + togglePopover, + }; +}; diff --git a/x-pack/plugins/observability_solution/logs_explorer/public/components/dataset_selector/sub_components/data_view_menu_item.tsx b/x-pack/plugins/observability_solution/logs_explorer/public/components/data_source_selector/sub_components/data_view_menu_item.tsx similarity index 100% rename from x-pack/plugins/observability_solution/logs_explorer/public/components/dataset_selector/sub_components/data_view_menu_item.tsx rename to x-pack/plugins/observability_solution/logs_explorer/public/components/data_source_selector/sub_components/data_view_menu_item.tsx diff --git a/x-pack/plugins/observability_solution/logs_explorer/public/components/dataset_selector/sub_components/datasets_skeleton.tsx b/x-pack/plugins/observability_solution/logs_explorer/public/components/data_source_selector/sub_components/datasets_skeleton.tsx similarity index 90% rename from x-pack/plugins/observability_solution/logs_explorer/public/components/dataset_selector/sub_components/datasets_skeleton.tsx rename to x-pack/plugins/observability_solution/logs_explorer/public/components/data_source_selector/sub_components/datasets_skeleton.tsx index 8a9ee61d8e434..7e7dc043e3bf6 100644 --- a/x-pack/plugins/observability_solution/logs_explorer/public/components/dataset_selector/sub_components/datasets_skeleton.tsx +++ b/x-pack/plugins/observability_solution/logs_explorer/public/components/data_source_selector/sub_components/datasets_skeleton.tsx @@ -10,7 +10,7 @@ import { EuiPanel, EuiSkeletonText } from '@elastic/eui'; import { uncategorizedLabel } from '../constants'; export const DatasetSkeleton = () => ( - + ); diff --git a/x-pack/plugins/observability_solution/logs_explorer/public/components/dataset_selector/sub_components/list_status.tsx b/x-pack/plugins/observability_solution/logs_explorer/public/components/data_source_selector/sub_components/list_status.tsx similarity index 91% rename from x-pack/plugins/observability_solution/logs_explorer/public/components/dataset_selector/sub_components/list_status.tsx rename to x-pack/plugins/observability_solution/logs_explorer/public/components/data_source_selector/sub_components/list_status.tsx index 2a90ed926bf26..3d782544b92c5 100644 --- a/x-pack/plugins/observability_solution/logs_explorer/public/components/dataset_selector/sub_components/list_status.tsx +++ b/x-pack/plugins/observability_solution/logs_explorer/public/components/data_source_selector/sub_components/list_status.tsx @@ -41,7 +41,7 @@ export const ListStatus = ({ if (hasError) { return ( {title}} diff --git a/x-pack/plugins/observability_solution/logs_explorer/public/components/dataset_selector/sub_components/search_controls.tsx b/x-pack/plugins/observability_solution/logs_explorer/public/components/data_source_selector/sub_components/search_controls.tsx similarity index 75% rename from x-pack/plugins/observability_solution/logs_explorer/public/components/dataset_selector/sub_components/search_controls.tsx rename to x-pack/plugins/observability_solution/logs_explorer/public/components/data_source_selector/sub_components/search_controls.tsx index 5178b77e61bf8..5864dd37e42c0 100644 --- a/x-pack/plugins/observability_solution/logs_explorer/public/components/dataset_selector/sub_components/search_controls.tsx +++ b/x-pack/plugins/observability_solution/logs_explorer/public/components/data_source_selector/sub_components/search_controls.tsx @@ -8,14 +8,14 @@ import React from 'react'; import { EuiButtonGroup, EuiFieldSearch, EuiFlexGroup, EuiFlexItem, EuiPanel } from '@elastic/eui'; import { SortOrder } from '../../../../common/latest'; -import { DATA_VIEW_POPOVER_CONTENT_WIDTH, sortOptions, sortOrdersLabel } from '../constants'; -import { DatasetsSelectorSearchHandler, DatasetsSelectorSearchParams } from '../types'; +import { DATA_SOURCE_SELECTOR_WIDTH, sortOptions, sortOrdersLabel } from '../constants'; +import { DataSourceSelectorSearchHandler, DataSourceSelectorSearchParams } from '../types'; interface SearchControlsProps { isLoading: boolean; - onSearch: DatasetsSelectorSearchHandler; - onSort: DatasetsSelectorSearchHandler; - search: DatasetsSelectorSearchParams; + onSearch: DataSourceSelectorSearchHandler; + onSort: DataSourceSelectorSearchHandler; + search: DataSourceSelectorSearchParams; } export const SearchControls = ({ search, onSearch, onSort, isLoading }: SearchControlsProps) => { @@ -28,7 +28,7 @@ export const SearchControls = ({ search, onSearch, onSort, isLoading }: SearchCo }; const handleSortChange = (id: string) => { - const newSearch = { ...search, sortOrder: id as DatasetsSelectorSearchParams['sortOrder'] }; + const newSearch = { ...search, sortOrder: id as DataSourceSelectorSearchParams['sortOrder'] }; onSort(newSearch); }; @@ -36,8 +36,8 @@ export const SearchControls = ({ search, onSearch, onSort, isLoading }: SearchCo diff --git a/x-pack/plugins/observability_solution/logs_explorer/public/components/dataset_selector/sub_components/selector_footer.tsx b/x-pack/plugins/observability_solution/logs_explorer/public/components/data_source_selector/sub_components/selector_footer.tsx similarity index 88% rename from x-pack/plugins/observability_solution/logs_explorer/public/components/dataset_selector/sub_components/selector_footer.tsx rename to x-pack/plugins/observability_solution/logs_explorer/public/components/data_source_selector/sub_components/selector_footer.tsx index b36401714a6a8..28a5c75c6a964 100644 --- a/x-pack/plugins/observability_solution/logs_explorer/public/components/dataset_selector/sub_components/selector_footer.tsx +++ b/x-pack/plugins/observability_solution/logs_explorer/public/components/data_source_selector/sub_components/selector_footer.tsx @@ -17,26 +17,26 @@ import { } from '@elastic/eui'; import { getRouterLinkProps } from '@kbn/router-utils'; import { DiscoverEsqlUrlProps } from '../../../hooks/use_esql'; -import { createAllLogDatasetsItem } from '../utils'; +import { createAllLogsItem } from '../utils'; import { showAllLogsLabel, tryEsql } from '../constants'; -type DatasetsAllActionProps = EuiListGroupProps; +type SelectorFooterProps = EuiListGroupProps; interface ShowAllLogsProps { isSelected: boolean; onClick(): void; } -export const SelectorFooter = (props: DatasetsAllActionProps) => { +export const SelectorFooter = (props: SelectorFooterProps) => { return ( - + ); }; export const ShowAllLogsButton = ({ isSelected, onClick }: ShowAllLogsProps) => { - const allLogs = createAllLogDatasetsItem(); + const allLogs = createAllLogsItem(); return ( diff --git a/x-pack/plugins/observability_solution/logs_explorer/public/components/dataset_selector/sub_components/selector_popover.tsx b/x-pack/plugins/observability_solution/logs_explorer/public/components/data_source_selector/sub_components/selector_popover.tsx similarity index 87% rename from x-pack/plugins/observability_solution/logs_explorer/public/components/dataset_selector/sub_components/selector_popover.tsx rename to x-pack/plugins/observability_solution/logs_explorer/public/components/data_source_selector/sub_components/selector_popover.tsx index 15ac903bb7581..24511cfb07204 100644 --- a/x-pack/plugins/observability_solution/logs_explorer/public/components/dataset_selector/sub_components/selector_popover.tsx +++ b/x-pack/plugins/observability_solution/logs_explorer/public/components/data_source_selector/sub_components/selector_popover.tsx @@ -17,17 +17,18 @@ import { import { PackageIcon } from '@kbn/fleet-plugin/public'; import { DatasetSelection, + DataSourceSelection, DataViewSelection, isDataViewSelection, -} from '../../../../common/dataset_selection'; -import { DATA_VIEW_POPOVER_CONTENT_WIDTH, POPOVER_ID } from '../constants'; +} from '../../../../common/data_source_selection'; +import { DATA_SOURCE_SELECTOR_WIDTH, POPOVER_ID } from '../constants'; import { getPopoverButtonStyles } from '../utils'; -const panelStyle = { width: DATA_VIEW_POPOVER_CONTENT_WIDTH }; +const panelStyle = { width: DATA_SOURCE_SELECTOR_WIDTH }; interface SelectorPopoverProps extends Omit { children: React.ReactNode; onClick: () => void; - selection: DatasetSelection | DataViewSelection; + selection: DataSourceSelection; } export const SelectorPopover = ({ @@ -42,7 +43,7 @@ export const SelectorPopover = ({ return ( {isDataViewSelection(selection) ? ( @@ -69,7 +70,7 @@ export const SelectorPopover = ({ paddingSize="none" hasShadow={false} css={panelStyle} - data-test-subj="datasetSelectorContent" + data-test-subj="dataSourceSelectorContent" > {children} diff --git a/x-pack/plugins/observability_solution/logs_explorer/public/components/dataset_selector/types.ts b/x-pack/plugins/observability_solution/logs_explorer/public/components/data_source_selector/types.ts similarity index 89% rename from x-pack/plugins/observability_solution/logs_explorer/public/components/dataset_selector/types.ts rename to x-pack/plugins/observability_solution/logs_explorer/public/components/data_source_selector/types.ts index e2572f4543533..bfd0670932825 100644 --- a/x-pack/plugins/observability_solution/logs_explorer/public/components/dataset_selector/types.ts +++ b/x-pack/plugins/observability_solution/logs_explorer/public/components/data_source_selector/types.ts @@ -7,10 +7,9 @@ import { EuiContextMenuPanelId } from '@elastic/eui/src/components/context_menu/context_menu'; import type { - DatasetSelection, - SelectionChange, - DataViewSelection, -} from '../../../common/dataset_selection'; + DataSourceSelectionChangeHandler, + DataSourceSelection, +} from '../../../common/data_source_selection'; import { SortOrder } from '../../../common/latest'; import { Dataset, Integration, IntegrationId } from '../../../common/datasets'; import { DataViewDescriptor } from '../../../common/data_views/models/data_view_descriptor'; @@ -34,13 +33,13 @@ import { } from '../../hooks/use_data_views'; import { DiscoverEsqlUrlProps } from '../../hooks/use_esql'; -export interface DatasetSelectorProps { +export interface DataSourceSelectorProps { /* The generic data stream list */ datasets: Dataset[] | null; /* Any error occurred to show when the user preview the generic data streams */ datasetsError: Error | null; /* The current selection instance */ - datasetSelection: DatasetSelection | DataViewSelection; + dataSourceSelection: DataSourceSelection; /* The available data views list */ dataViews: DataViewDescriptor[] | null; /* Any error occurred to show when the user preview the data views */ @@ -82,7 +81,7 @@ export interface DatasetSelectorProps { /* Triggered when the uncategorized tab is selected */ onUncategorizedTabClick: LoadDatasets; /* Triggered when the selection is updated */ - onSelectionChange: SelectionChange; + onSelectionChange: DataSourceSelectionChangeHandler; } export type PanelId = typeof INTEGRATIONS_PANEL_ID | IntegrationId; @@ -98,9 +97,9 @@ export interface SearchParams { sortOrder: SortOrder; } -export type DatasetsSelectorSearchParams = Pick; +export type DataSourceSelectorSearchParams = Pick; -export type DatasetsSelectorSearchHandler = (params: DatasetsSelectorSearchParams) => void; +export type DataSourceSelectorSearchHandler = (params: DataSourceSelectorSearchParams) => void; export type ChangePanelHandler = ({ panelId }: { panelId: EuiContextMenuPanelId }) => void; diff --git a/x-pack/plugins/observability_solution/logs_explorer/public/components/dataset_selector/utils.tsx b/x-pack/plugins/observability_solution/logs_explorer/public/components/data_source_selector/utils.tsx similarity index 90% rename from x-pack/plugins/observability_solution/logs_explorer/public/components/dataset_selector/utils.tsx rename to x-pack/plugins/observability_solution/logs_explorer/public/components/data_source_selector/utils.tsx index 91681a91569eb..6825a9528ea5e 100644 --- a/x-pack/plugins/observability_solution/logs_explorer/public/components/dataset_selector/utils.tsx +++ b/x-pack/plugins/observability_solution/logs_explorer/public/components/data_source_selector/utils.tsx @@ -10,7 +10,7 @@ import { EuiContextMenuPanelDescriptor, EuiContextMenuPanelItemDescriptor } from import { PackageIcon } from '@kbn/fleet-plugin/public'; import { Dataset, Integration } from '../../../common/datasets'; import { - DATA_VIEW_POPOVER_CONTENT_WIDTH, + DATA_SOURCE_SELECTOR_WIDTH, noDatasetsDescriptionLabel, noDatasetsLabel, noDataViewsDescriptionLabel, @@ -22,7 +22,7 @@ import { DatasetSelectionHandler } from './types'; import ListStatus, { ListStatusProps } from './sub_components/list_status'; export const getPopoverButtonStyles = ({ fullWidth }: { fullWidth?: boolean }) => ({ - maxWidth: fullWidth ? undefined : DATA_VIEW_POPOVER_CONTENT_WIDTH, + maxWidth: fullWidth ? undefined : DATA_SOURCE_SELECTOR_WIDTH, }); interface IntegrationsTreeParams { @@ -65,7 +65,7 @@ export const buildIntegrationsTree = ({ integrationsTree.panels.push({ id: integration.id, title, - width: DATA_VIEW_POPOVER_CONTENT_WIDTH, + width: DATA_SOURCE_SELECTOR_WIDTH, items: datasets.map((dataset) => ({ name: dataset.title, onClick: () => onDatasetSelected(dataset), @@ -78,12 +78,12 @@ export const buildIntegrationsTree = ({ ); }; -export const createAllLogDatasetsItem = () => { - const allLogDataset = Dataset.createAllLogsDataset(); +export const createAllLogsItem = () => { + const allLogs = Dataset.createAllLogsDataset(); return { - 'data-test-subj': 'datasetSelectorshowAllLogs', - iconType: allLogDataset.iconType, - name: allLogDataset.title, + 'data-test-subj': 'dataSourceSelectorShowAllLogs', + iconType: allLogs.iconType, + name: allLogs.title, }; }; diff --git a/x-pack/plugins/observability_solution/logs_explorer/public/components/dataset_selector/constants.tsx b/x-pack/plugins/observability_solution/logs_explorer/public/components/dataset_selector/constants.tsx deleted file mode 100644 index 00ccc381e0038..0000000000000 --- a/x-pack/plugins/observability_solution/logs_explorer/public/components/dataset_selector/constants.tsx +++ /dev/null @@ -1,106 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license 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 POPOVER_ID = 'dataset-selector-popover'; -export const INTEGRATIONS_PANEL_ID = 'dataset-selector-integrations-panel'; -export const INTEGRATIONS_TAB_ID = 'dataset-selector-integrations-tab'; -export const UNCATEGORIZED_PANEL_ID = 'dataset-selector-uncategorized-panel'; -export const UNCATEGORIZED_TAB_ID = 'dataset-selector-uncategorized-tab'; -export const DATA_VIEWS_PANEL_ID = 'dataset-selector-data-views-panel'; -export const DATA_VIEWS_TAB_ID = 'dataset-selector-data-views-tab'; - -export const DATA_VIEW_POPOVER_CONTENT_WIDTH = 400; - -export const showAllLogsLabel = i18n.translate('xpack.logsExplorer.datasetSelector.showAllLogs', { - defaultMessage: 'Show all logs', -}); - -export const integrationsLabel = i18n.translate('xpack.logsExplorer.datasetSelector.integrations', { - defaultMessage: 'Integrations', -}); - -export const uncategorizedLabel = i18n.translate( - 'xpack.logsExplorer.datasetSelector.uncategorized', - { defaultMessage: 'Uncategorized' } -); - -export const dataViewsLabel = i18n.translate('xpack.logsExplorer.datasetSelector.dataViews', { - defaultMessage: 'Data Views', -}); - -export const openDiscoverLabel = i18n.translate('xpack.logsExplorer.datasetSelector.openDiscover', { - defaultMessage: 'Opens in Discover', -}); - -export const sortOrdersLabel = i18n.translate('xpack.logsExplorer.datasetSelector.sortOrders', { - defaultMessage: 'Sort directions', -}); - -export const noDatasetsLabel = i18n.translate('xpack.logsExplorer.datasetSelector.noDatasets', { - defaultMessage: 'No data streams found', -}); - -export const noDatasetsDescriptionLabel = i18n.translate( - 'xpack.logsExplorer.datasetSelector.noDatasetsDescription', - { - defaultMessage: 'No datasets or search results found.', - } -); - -export const noDataViewsLabel = i18n.translate('xpack.logsExplorer.datasetSelector.noDataViews', { - defaultMessage: 'No data views found', -}); - -export const noDataViewsDescriptionLabel = i18n.translate( - 'xpack.logsExplorer.datasetSelector.noDataViewsDescription', - { - defaultMessage: 'No data views or search results found.', - } -); - -export const noIntegrationsLabel = i18n.translate( - 'xpack.logsExplorer.datasetSelector.noIntegrations', - { defaultMessage: 'No integrations found' } -); - -export const noIntegrationsDescriptionLabel = i18n.translate( - 'xpack.logsExplorer.datasetSelector.noIntegrationsDescription', - { - defaultMessage: 'No integrations or search results found.', - } -); - -export const errorLabel = i18n.translate('xpack.logsExplorer.datasetSelector.error', { - defaultMessage: 'error', -}); - -export const noDataRetryLabel = i18n.translate('xpack.logsExplorer.datasetSelector.noDataRetry', { - defaultMessage: 'Retry', -}); - -export const tryEsql = i18n.translate('xpack.logsExplorer.datasetSelector.TryEsql', { - defaultMessage: 'Try ES|QL', -}); - -export const technicalPreview = i18n.translate('xpack.logsExplorer.TechPreview', { - defaultMessage: 'Technical preview', -}); - -export const sortOptions = [ - { - id: 'asc', - iconType: 'sortAscending', - label: 'Ascending', - }, - { - id: 'desc', - iconType: 'sortDescending', - label: 'Descending', - }, -]; diff --git a/x-pack/plugins/observability_solution/logs_explorer/public/components/dataset_selector/state_machine/use_dataset_selector.ts b/x-pack/plugins/observability_solution/logs_explorer/public/components/dataset_selector/state_machine/use_dataset_selector.ts deleted file mode 100644 index e1db03600a143..0000000000000 --- a/x-pack/plugins/observability_solution/logs_explorer/public/components/dataset_selector/state_machine/use_dataset_selector.ts +++ /dev/null @@ -1,153 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the Elastic License - * 2.0; you may not use this file except in compliance with the Elastic License - * 2.0. - */ - -import { useCallback } from 'react'; -import { useInterpret, useSelector } from '@xstate/react'; -import { - ChangePanelHandler, - DatasetSelectionHandler, - DatasetsSelectorSearchHandler, - DataViewSelectionHandler, - PanelId, -} from '../types'; -import { createDatasetsSelectorStateMachine } from './state_machine'; -import { DatasetsSelectorStateMachineDependencies } from './types'; - -export const useDatasetSelector = ({ - initialContext, - onDataViewsSearch, - onDataViewsSort, - onIntegrationsLoadMore, - onIntegrationsReload, - onIntegrationsSearch, - onIntegrationsSort, - onIntegrationsStreamsSearch, - onIntegrationsStreamsSort, - onSelectionChange, - onUncategorizedSearch, - onUncategorizedSort, - onUncategorizedReload, -}: DatasetsSelectorStateMachineDependencies) => { - const datasetsSelectorStateService = useInterpret(() => - createDatasetsSelectorStateMachine({ - initialContext, - onDataViewsSearch, - onDataViewsSort, - onIntegrationsLoadMore, - onIntegrationsReload, - onIntegrationsSearch, - onIntegrationsSort, - onIntegrationsStreamsSearch, - onIntegrationsStreamsSort, - onSelectionChange, - onUncategorizedSearch, - onUncategorizedSort, - onUncategorizedReload, - }) - ); - - const isOpen = useSelector(datasetsSelectorStateService, (state) => - state.matches('popover.open') - ); - - const panelId = useSelector(datasetsSelectorStateService, (state) => state.context.panelId); - const search = useSelector(datasetsSelectorStateService, (state) => state.context.search); - const selection = useSelector(datasetsSelectorStateService, (state) => state.context.selection); - const tabId = useSelector(datasetsSelectorStateService, (state) => state.context.tabId); - - const switchToIntegrationsTab = useCallback( - () => datasetsSelectorStateService.send({ type: 'SWITCH_TO_INTEGRATIONS_TAB' }), - [datasetsSelectorStateService] - ); - - const switchToUncategorizedTab = useCallback( - () => datasetsSelectorStateService.send({ type: 'SWITCH_TO_UNCATEGORIZED_TAB' }), - [datasetsSelectorStateService] - ); - - const switchToDataViewsTab = useCallback( - () => datasetsSelectorStateService.send({ type: 'SWITCH_TO_DATA_VIEWS_TAB' }), - [datasetsSelectorStateService] - ); - - const changePanel = useCallback( - (panelDetails) => - datasetsSelectorStateService.send({ - type: 'CHANGE_PANEL', - panelId: panelDetails.panelId as PanelId, - }), - [datasetsSelectorStateService] - ); - - const scrollToIntegrationsBottom = useCallback( - () => datasetsSelectorStateService.send({ type: 'SCROLL_TO_INTEGRATIONS_BOTTOM' }), - [datasetsSelectorStateService] - ); - - const searchByName = useCallback( - (params) => datasetsSelectorStateService.send({ type: 'SEARCH_BY_NAME', search: params }), - [datasetsSelectorStateService] - ); - - const selectAllLogDataset = useCallback( - () => datasetsSelectorStateService.send({ type: 'SELECT_ALL_LOGS_DATASET' }), - [datasetsSelectorStateService] - ); - - const selectDataset = useCallback( - (dataset) => datasetsSelectorStateService.send({ type: 'SELECT_DATASET', selection: dataset }), - [datasetsSelectorStateService] - ); - - const selectDataView = useCallback( - (dataViewDescriptor) => - datasetsSelectorStateService.send({ - type: 'SELECT_DATA_VIEW', - selection: dataViewDescriptor, - }), - [datasetsSelectorStateService] - ); - - const sortByOrder = useCallback( - (params) => datasetsSelectorStateService.send({ type: 'SORT_BY_ORDER', search: params }), - [datasetsSelectorStateService] - ); - - const closePopover = useCallback( - () => datasetsSelectorStateService.send({ type: 'CLOSE' }), - [datasetsSelectorStateService] - ); - - const togglePopover = useCallback( - () => datasetsSelectorStateService.send({ type: 'TOGGLE' }), - [datasetsSelectorStateService] - ); - - return { - // Data - panelId, - search, - selection, - tabId, - // Flags - isOpen, - isAllMode: selection.selectionType === 'all', - // Actions - changePanel, - closePopover, - scrollToIntegrationsBottom, - searchByName, - selectAllLogDataset, - selectDataset, - selectDataView, - sortByOrder, - switchToIntegrationsTab, - switchToUncategorizedTab, - switchToDataViewsTab, - togglePopover, - }; -}; diff --git a/x-pack/plugins/observability_solution/logs_explorer/public/controller/public_state.ts b/x-pack/plugins/observability_solution/logs_explorer/public/controller/public_state.ts index 0d63bcc261f06..ced3e7fc69cc1 100644 --- a/x-pack/plugins/observability_solution/logs_explorer/public/controller/public_state.ts +++ b/x-pack/plugins/observability_solution/logs_explorer/public/controller/public_state.ts @@ -9,7 +9,7 @@ import { availableControlsPanels, controlPanelConfigs, ControlPanels, - hydrateDatasetSelection, + hydrateDataSourceSelection, } from '../../common'; import { DEFAULT_CONTEXT, @@ -26,7 +26,7 @@ export const getPublicStateFromContext = ( ): LogsExplorerPublicState => { return { chart: context.chart, - datasetSelection: context.datasetSelection.toPlainSelection(), + dataSourceSelection: context.dataSourceSelection.toPlainSelection(), grid: context.grid, filters: context.filters, query: context.query, @@ -45,10 +45,10 @@ export const getContextFromPublicState = ( ...publicState.chart, }, controlPanels: getControlPanelsFromPublicControlsState(publicState.controls), - datasetSelection: - publicState.datasetSelection != null - ? hydrateDatasetSelection(publicState.datasetSelection) - : DEFAULT_CONTEXT.datasetSelection, + dataSourceSelection: + publicState.dataSourceSelection != null + ? hydrateDataSourceSelection(publicState.dataSourceSelection) + : DEFAULT_CONTEXT.dataSourceSelection, grid: { ...DEFAULT_CONTEXT.grid, ...publicState.grid, diff --git a/x-pack/plugins/observability_solution/logs_explorer/public/controller/types.ts b/x-pack/plugins/observability_solution/logs_explorer/public/controller/types.ts index 1346db562e392..e509134e0a1e6 100644 --- a/x-pack/plugins/observability_solution/logs_explorer/public/controller/types.ts +++ b/x-pack/plugins/observability_solution/logs_explorer/public/controller/types.ts @@ -11,7 +11,7 @@ import { IKbnUrlStateStorage } from '@kbn/kibana-utils-plugin/public'; import { Observable } from 'rxjs'; import { availableControlsPanels, - DatasetSelectionPlain, + DataSourceSelectionPlain, DisplayOptions, PartialDisplayOptions, } from '../../common'; @@ -62,13 +62,13 @@ export interface ControlOptions { export type LogsExplorerPublicState = QueryState & DisplayOptions & { controls: ControlOptions; - datasetSelection: DatasetSelectionPlain; + dataSourceSelection: DataSourceSelectionPlain; }; export type LogsExplorerPublicStateUpdate = QueryState & PartialDisplayOptions & { controls?: ControlOptions; - datasetSelection?: DatasetSelectionPlain; + dataSourceSelection?: DataSourceSelectionPlain; }; // a placeholder for now diff --git a/x-pack/plugins/observability_solution/logs_explorer/public/customizations/custom_dataset_filters.tsx b/x-pack/plugins/observability_solution/logs_explorer/public/customizations/custom_data_source_filters.tsx similarity index 86% rename from x-pack/plugins/observability_solution/logs_explorer/public/customizations/custom_dataset_filters.tsx rename to x-pack/plugins/observability_solution/logs_explorer/public/customizations/custom_data_source_filters.tsx index ad9560caedc69..6ffd91e5c9e2f 100644 --- a/x-pack/plugins/observability_solution/logs_explorer/public/customizations/custom_dataset_filters.tsx +++ b/x-pack/plugins/observability_solution/logs_explorer/public/customizations/custom_data_source_filters.tsx @@ -12,24 +12,24 @@ import { euiStyled } from '@kbn/kibana-react-plugin/common'; import { useControlPanels } from '../hooks/use_control_panels'; import { LogsExplorerControllerStateService } from '../state_machines/logs_explorer_controller'; -const DATASET_FILTERS_CUSTOMIZATION_ID = 'datasetFiltersCustomization'; +const DATA_SOURCE_FILTERS_CUSTOMIZATION_ID = 'dataSourceFiltersCustomization'; -interface CustomDatasetFiltersProps { +interface CustomDataSourceFiltersProps { logsExplorerControllerStateService: LogsExplorerControllerStateService; data: DataPublicPluginStart; } -const CustomDatasetFilters = ({ +const CustomDataSourceFilters = ({ logsExplorerControllerStateService, data, -}: CustomDatasetFiltersProps) => { +}: CustomDataSourceFiltersProps) => { const { getInitialInput, setControlGroupAPI, query, filters, timeRange } = useControlPanels( logsExplorerControllerStateService, data ); return ( - + { - const { datasetSelection, handleDatasetSelectionChange } = useDatasetSelection( +export const CustomDataSourceSelector = withProviders(({ logsExplorerControllerStateService }) => { + const { dataSourceSelection, handleDataSourceSelectionChange } = useDataSourceSelection( logsExplorerControllerStateService ); @@ -60,12 +60,12 @@ export const CustomDatasetSelector = withProviders(({ logsExplorerControllerStat sortDataViews, } = useDataViewsContext(); - const { isEsqlEnabled, discoverEsqlUrlProps } = useEsql({ datasetSelection }); + const { isEsqlEnabled, discoverEsqlUrlProps } = useEsql({ dataSourceSelection }); return ( - ) { +function withProviders(Component: React.FunctionComponent) { return function ComponentWithProviders({ controller, datasetsClient, dataViews, logsExplorerControllerStateService, - }: CustomDatasetSelectorBuilderProps) { + }: CustomDataSourceSelectorBuilderProps) { return ( diff --git a/x-pack/plugins/observability_solution/logs_explorer/public/customizations/logs_explorer_profile.tsx b/x-pack/plugins/observability_solution/logs_explorer/public/customizations/logs_explorer_profile.tsx index e00bbfa03b7d5..8b36c572e79c7 100644 --- a/x-pack/plugins/observability_solution/logs_explorer/public/customizations/logs_explorer_profile.tsx +++ b/x-pack/plugins/observability_solution/logs_explorer/public/customizations/logs_explorer_profile.tsx @@ -21,8 +21,8 @@ import { createCustomSearchBar } from './custom_search_bar'; import { createCustomCellRenderer } from './custom_cell_renderer'; import { createCustomGridColumnsConfiguration } from './custom_column'; -const LazyCustomDatasetFilters = dynamic(() => import('./custom_dataset_filters')); -const LazyCustomDatasetSelector = dynamic(() => import('./custom_dataset_selector')); +const LazyCustomDataSourceFilters = dynamic(() => import('./custom_data_source_filters')); +const LazyCustomDataSourceSelector = dynamic(() => import('./custom_data_source_selector')); const LazyCustomFlyoutContent = dynamic(() => import('./custom_flyout_content')); export interface CreateLogsExplorerProfileCustomizationsDeps { @@ -53,7 +53,7 @@ export const createLogsExplorerProfileCustomizations = await waitFor(service, (state) => state.matches('initialized'), { timeout: 30000 }); /** - * Replace the DataViewPicker with a custom `DatasetSelector` to pick integrations streams + * Replace the DataViewPicker with a custom `DataSourceSelector` to pick integrations streams * Prepend the search bar with custom filter control groups depending on the selected dataset */ customizations.set({ @@ -63,7 +63,7 @@ export const createLogsExplorerProfileCustomizations = return ( - ( - + ), CustomSearchBar: createCustomSearchBar({ data, diff --git a/x-pack/plugins/observability_solution/logs_explorer/public/hooks/use_dataset_selection.ts b/x-pack/plugins/observability_solution/logs_explorer/public/hooks/use_data_source_selection.ts similarity index 59% rename from x-pack/plugins/observability_solution/logs_explorer/public/hooks/use_dataset_selection.ts rename to x-pack/plugins/observability_solution/logs_explorer/public/hooks/use_data_source_selection.ts index 67610cfa6e85c..2905145720653 100644 --- a/x-pack/plugins/observability_solution/logs_explorer/public/hooks/use_dataset_selection.ts +++ b/x-pack/plugins/observability_solution/logs_explorer/public/hooks/use_data_source_selection.ts @@ -7,22 +7,22 @@ import { useSelector } from '@xstate/react'; import { useCallback } from 'react'; -import { SelectionChange } from '../../common/dataset_selection'; +import { DataSourceSelectionChangeHandler } from '../../common/data_source_selection'; import { LogsExplorerControllerStateService } from '../state_machines/logs_explorer_controller'; -export const useDatasetSelection = ( +export const useDataSourceSelection = ( logsExplorerControllerStateService: LogsExplorerControllerStateService ) => { - const datasetSelection = useSelector(logsExplorerControllerStateService, (state) => { - return state.context.datasetSelection; + const dataSourceSelection = useSelector(logsExplorerControllerStateService, (state) => { + return state.context.dataSourceSelection; }); - const handleDatasetSelectionChange: SelectionChange = useCallback( + const handleDataSourceSelectionChange: DataSourceSelectionChangeHandler = useCallback( (data) => { - logsExplorerControllerStateService.send({ type: 'UPDATE_DATASET_SELECTION', data }); + logsExplorerControllerStateService.send({ type: 'UPDATE_DATA_SOURCE_SELECTION', data }); }, [logsExplorerControllerStateService] ); - return { datasetSelection, handleDatasetSelectionChange }; + return { dataSourceSelection, handleDataSourceSelectionChange }; }; diff --git a/x-pack/plugins/observability_solution/logs_explorer/public/hooks/use_esql.tsx b/x-pack/plugins/observability_solution/logs_explorer/public/hooks/use_esql.tsx index 54b7c5e975066..b34cae81f303a 100644 --- a/x-pack/plugins/observability_solution/logs_explorer/public/hooks/use_esql.tsx +++ b/x-pack/plugins/observability_solution/logs_explorer/public/hooks/use_esql.tsx @@ -5,11 +5,7 @@ * 2.0. */ -import { - DatasetSelection, - DataViewSelection, - isDatasetSelection, -} from '../../common/dataset_selection'; +import { DataSourceSelection, isDatasetSelection } from '../../common/data_source_selection'; import { useKibanaContextForPlugin } from '../utils/use_kibana'; export interface DiscoverEsqlUrlProps { @@ -23,23 +19,23 @@ export interface UseEsqlResult { } interface EsqlContextDeps { - datasetSelection: DatasetSelection | DataViewSelection; + dataSourceSelection: DataSourceSelection; } -export const useEsql = ({ datasetSelection }: EsqlContextDeps): UseEsqlResult => { +export const useEsql = ({ dataSourceSelection }: EsqlContextDeps): UseEsqlResult => { const { services: { uiSettings, discover }, } = useKibanaContextForPlugin(); const isEsqlEnabled = uiSettings?.get('discover:enableESQL'); + const esqlPattern = isDatasetSelection(dataSourceSelection) + ? dataSourceSelection.selection.dataset.name + : dataSourceSelection.selection.dataView.title; + const discoverLinkParams = { query: { - esql: `from ${ - isDatasetSelection(datasetSelection) - ? datasetSelection.selection.dataset.name - : datasetSelection.selection.dataView.title - } | limit 10`, + esql: `from ${esqlPattern} | limit 10`, }, }; diff --git a/x-pack/plugins/observability_solution/logs_explorer/public/state_machines/logs_explorer_controller/src/defaults.ts b/x-pack/plugins/observability_solution/logs_explorer/public/state_machines/logs_explorer_controller/src/defaults.ts index a097d23ac7349..0aa128825ed3a 100644 --- a/x-pack/plugins/observability_solution/logs_explorer/public/state_machines/logs_explorer_controller/src/defaults.ts +++ b/x-pack/plugins/observability_solution/logs_explorer/public/state_machines/logs_explorer_controller/src/defaults.ts @@ -11,11 +11,11 @@ import { DEFAULT_ROWS_PER_PAGE, LOG_LEVEL_FIELD, } from '../../../../common/constants'; -import { AllDatasetSelection } from '../../../../common/dataset_selection'; +import { AllDatasetSelection } from '../../../../common/data_source_selection'; import { DefaultLogsExplorerControllerState } from './types'; export const DEFAULT_CONTEXT: DefaultLogsExplorerControllerState = { - datasetSelection: AllDatasetSelection.create(), + dataSourceSelection: AllDatasetSelection.create(), grid: { columns: DEFAULT_COLUMNS, rows: { diff --git a/x-pack/plugins/observability_solution/logs_explorer/public/state_machines/logs_explorer_controller/src/notifications.ts b/x-pack/plugins/observability_solution/logs_explorer/public/state_machines/logs_explorer_controller/src/notifications.ts index d718a440c761b..9d83eb33cf618 100644 --- a/x-pack/plugins/observability_solution/logs_explorer/public/state_machines/logs_explorer_controller/src/notifications.ts +++ b/x-pack/plugins/observability_solution/logs_explorer/public/state_machines/logs_explorer_controller/src/notifications.ts @@ -11,11 +11,11 @@ import { i18n } from '@kbn/i18n'; export const createDatasetSelectionRestoreFailedNotifier = (toasts: IToasts) => () => toasts.addWarning({ title: i18n.translate( - 'xpack.logsExplorer.datasetSelection.restoreDatasetSelectionFailedToastTitle', + 'xpack.logsExplorer.dataSourceSelection.restoreDatasetSelectionFailedToastTitle', { defaultMessage: "We couldn't restore your datasets selection." } ), text: i18n.translate( - 'xpack.logsExplorer.datasetSelection.restoreDatasetSelectionFailedToastMessage', + 'xpack.logsExplorer.dataSourceSelection.restoreDatasetSelectionFailedToastMessage', { defaultMessage: 'We switched to "All log datasets" as the default selection.' } ), }); @@ -23,11 +23,11 @@ export const createDatasetSelectionRestoreFailedNotifier = (toasts: IToasts) => export const createDataViewSelectionRestoreFailedNotifier = (toasts: IToasts) => () => toasts.addWarning({ title: i18n.translate( - 'xpack.logsExplorer.datasetSelection.restoreDataViewSelectionFailedToastTitle', + 'xpack.logsExplorer.dataSourceSelection.restoreDataViewSelectionFailedToastTitle', { defaultMessage: "We couldn't restore your data view selection." } ), text: i18n.translate( - 'xpack.logsExplorer.datasetSelection.restoreDataViewSelectionFailedToastMessage', + 'xpack.logsExplorer.dataSourceSelection.restoreDataViewSelectionFailedToastMessage', { defaultMessage: 'We switched to "All log datasets" as the default selection.' } ), }); @@ -35,13 +35,13 @@ export const createDataViewSelectionRestoreFailedNotifier = (toasts: IToasts) => export const createCreateDataViewFailedNotifier = (toasts: IToasts) => () => toasts.addWarning({ title: i18n.translate( - 'xpack.logsExplorer.datasetSelection.createAdHocDataViewFailedToastTitle', + 'xpack.logsExplorer.dataSourceSelection.createAdHocDataViewFailedToastTitle', { defaultMessage: "We couldn't create a data view for your selection.", } ), text: i18n.translate( - 'xpack.logsExplorer.datasetSelection.createAdHocDataViewFailedToastMessage', + 'xpack.logsExplorer.dataSourceSelection.createAdHocDataViewFailedToastMessage', { defaultMessage: 'We switched to "All log datasets" as the default selection.', } diff --git a/x-pack/plugins/observability_solution/logs_explorer/public/state_machines/logs_explorer_controller/src/services/data_view_service.ts b/x-pack/plugins/observability_solution/logs_explorer/public/state_machines/logs_explorer_controller/src/services/data_view_service.ts index 0930a134ae657..39049269bd7f6 100644 --- a/x-pack/plugins/observability_solution/logs_explorer/public/state_machines/logs_explorer_controller/src/services/data_view_service.ts +++ b/x-pack/plugins/observability_solution/logs_explorer/public/state_machines/logs_explorer_controller/src/services/data_view_service.ts @@ -15,7 +15,7 @@ export const createAdHocDataView = if (!('discoverStateContainer' in context)) return; const { discoverStateContainer } = context; const dataView = await discoverStateContainer.actions.createAndAppendAdHocDataView( - context.datasetSelection.toDataviewSpec() + context.dataSourceSelection.toDataviewSpec() ); /** * We can't fully rely on the url update of the index param to create and restore the data view @@ -41,7 +41,10 @@ export const changeDataView = // We need to manually retrieve the data view and force a set and change on the state container // to guarantee the correct update on the data view selection and avoid a race condition // when updating the control panels. - const nextDataView = await dataViews.get(context.datasetSelection.toDataviewSpec().id, false); + const nextDataView = await dataViews.get( + context.dataSourceSelection.toDataviewSpec().id, + false + ); if (nextDataView.id) { await discoverStateContainer.actions.onChangeDataView(nextDataView); } diff --git a/x-pack/plugins/observability_solution/logs_explorer/public/state_machines/logs_explorer_controller/src/services/discover_service.ts b/x-pack/plugins/observability_solution/logs_explorer/public/state_machines/logs_explorer_controller/src/services/discover_service.ts index 96fbe4ff34440..76db16c439785 100644 --- a/x-pack/plugins/observability_solution/logs_explorer/public/state_machines/logs_explorer_controller/src/services/discover_service.ts +++ b/x-pack/plugins/observability_solution/logs_explorer/public/state_machines/logs_explorer_controller/src/services/discover_service.ts @@ -8,7 +8,7 @@ import { isEmpty } from 'lodash'; import { ActionFunction, actions, InvokeCallback } from 'xstate'; import { LogsExplorerCustomizations } from '../../../../controller'; -import { isDataViewSelection } from '../../../../../common/dataset_selection'; +import { isDataViewSelection } from '../../../../../common/data_source_selection'; import { getChartDisplayOptionsFromDiscoverAppState, getDiscoverAppStateFromContext, @@ -114,9 +114,9 @@ export const redirectToDiscover = events?: LogsExplorerCustomizations['events'] ): ActionFunction => (context, event) => { - if (event.type === 'UPDATE_DATASET_SELECTION' && isDataViewSelection(event.data)) { + if (event.type === 'UPDATE_DATA_SOURCE_SELECTION' && isDataViewSelection(event.data)) { if (events?.onUknownDataViewSelection) { - return events.onUknownDataViewSelection({ ...context, datasetSelection: event.data }); + return events.onUknownDataViewSelection({ ...context, dataSourceSelection: event.data }); } } }; diff --git a/x-pack/plugins/observability_solution/logs_explorer/public/state_machines/logs_explorer_controller/src/services/selection_service.ts b/x-pack/plugins/observability_solution/logs_explorer/public/state_machines/logs_explorer_controller/src/services/selection_service.ts index 464e7ff2e2d36..fe9b87bf4fcf2 100644 --- a/x-pack/plugins/observability_solution/logs_explorer/public/state_machines/logs_explorer_controller/src/services/selection_service.ts +++ b/x-pack/plugins/observability_solution/logs_explorer/public/state_machines/logs_explorer_controller/src/services/selection_service.ts @@ -15,7 +15,7 @@ import { isUnresolvedDatasetSelection, SingleDatasetSelection, UnresolvedDatasetSelection, -} from '../../../../../common/dataset_selection'; +} from '../../../../../common/data_source_selection'; import { IDatasetsClient } from '../../../../services/datasets'; import { LogsExplorerControllerContext, LogsExplorerControllerEvent } from '../types'; @@ -40,18 +40,18 @@ export const initializeSelection = * First validation. * The selection is a data view. */ - if (isDataViewSelection(context.datasetSelection)) { - let datasetSelection: DataViewSelection | null = context.datasetSelection; + if (isDataViewSelection(context.dataSourceSelection)) { + let dataViewSelection: DataViewSelection | null = context.dataSourceSelection; /** * If the selection is unresolved, perform a look up to retrieve it. */ - if (datasetSelection.selection.dataView.isUnresolvedDataType()) { + if (dataViewSelection.selection.dataView.isUnresolvedDataType()) { try { - datasetSelection = await lookupUnresolvedDataViewSelection(datasetSelection, { + dataViewSelection = await lookupUnresolvedDataViewSelection(dataViewSelection, { dataViews, }); - if (datasetSelection === null) { + if (dataViewSelection === null) { return send('DATAVIEW_SELECTION_RESTORE_FAILURE'); } } catch { @@ -63,27 +63,28 @@ export const initializeSelection = * If the selection is a data view which is not of logs type, invoke the customization event for unknown data views. */ if ( - datasetSelection.selection.dataView.isUnknownDataType() && + dataViewSelection.selection.dataView.isUnknownDataType() && events?.onUknownDataViewSelection ) { return events.onUknownDataViewSelection(context); } - return send({ type: 'INITIALIZE_DATA_VIEW', data: datasetSelection }); + return send({ type: 'INITIALIZE_DATA_VIEW', data: dataViewSelection }); } /** * Second validation. * If the selection is an unresolved dataset, perform a look up against integrations. */ - if (isUnresolvedDatasetSelection(context.datasetSelection)) { + if (isUnresolvedDatasetSelection(context.dataSourceSelection)) { try { - const selection = await lookupUnresolvedDatasetSelection(context.datasetSelection, { - datasetsClient, - }); + const datasetSelection = await lookupUnresolvedDatasetSelection( + context.dataSourceSelection, + { datasetsClient } + ); - if (selection !== null) { - return send({ type: 'INITIALIZE_DATASET', data: selection }); + if (datasetSelection !== null) { + return send({ type: 'INITIALIZE_DATASET', data: datasetSelection }); } } catch { return send('DATASET_SELECTION_RESTORE_FAILURE'); @@ -97,10 +98,10 @@ export const initializeSelection = }; const lookupUnresolvedDatasetSelection = async ( - datasetSelection: UnresolvedDatasetSelection, + unresolvedDatasetSelection: UnresolvedDatasetSelection, { datasetsClient }: Pick ) => { - const nameQuery = datasetSelection.selection.dataset.parentIntegration?.name; + const nameQuery = unresolvedDatasetSelection.selection.dataset.parentIntegration?.name; if (nameQuery) { return null; @@ -127,10 +128,10 @@ const lookupUnresolvedDatasetSelection = async ( }; const lookupUnresolvedDataViewSelection = async ( - datasetSelection: DataViewSelection, + unresolvedDataViewSelection: DataViewSelection, { dataViews }: Pick ) => { - const resolvedDataView = await dataViews.get(datasetSelection.toDataviewSpec().id); + const resolvedDataView = await dataViews.get(unresolvedDataViewSelection.toDataviewSpec().id); if (!resolvedDataView) { return null; diff --git a/x-pack/plugins/observability_solution/logs_explorer/public/state_machines/logs_explorer_controller/src/state_machine.ts b/x-pack/plugins/observability_solution/logs_explorer/public/state_machines/logs_explorer_controller/src/state_machine.ts index 3a4b383e34f69..0efd459b6aedf 100644 --- a/x-pack/plugins/observability_solution/logs_explorer/public/state_machines/logs_explorer_controller/src/state_machine.ts +++ b/x-pack/plugins/observability_solution/logs_explorer/public/state_machines/logs_explorer_controller/src/state_machine.ts @@ -13,9 +13,9 @@ import { LogsExplorerCustomizations } from '../../../controller'; import { ControlPanelRT } from '../../../../common/control_panels'; import { AllDatasetSelection, - isDatasetSelection, + isDataSourceSelection, isDataViewSelection, -} from '../../../../common/dataset_selection'; +} from '../../../../common/data_source_selection'; import { IDatasetsClient } from '../../../services/datasets'; import { DEFAULT_CONTEXT } from './defaults'; import { @@ -78,11 +78,11 @@ export const createPureLogsExplorerControllerStateMachine = ( on: { INITIALIZE_DATA_VIEW: { target: 'initializingDataView', - actions: ['storeDatasetSelection'], + actions: ['storeDataSourceSelection'], }, INITIALIZE_DATASET: { target: 'initializingDataset', - actions: ['storeDatasetSelection'], + actions: ['storeDataSourceSelection'], }, DATASET_SELECTION_RESTORE_FAILURE: { target: 'initializingDataset', @@ -155,12 +155,12 @@ export const createPureLogsExplorerControllerStateMachine = ( ], entry: ['resetRows'], states: { - datasetSelection: { + dataSourceSelection: { initial: 'idle', states: { idle: { on: { - UPDATE_DATASET_SELECTION: [ + UPDATE_DATA_SOURCE_SELECTION: [ { cond: 'isUnknownDataViewDescriptor', actions: ['redirectToDiscover'], @@ -168,11 +168,11 @@ export const createPureLogsExplorerControllerStateMachine = ( { cond: 'isLogsDataViewDescriptor', target: 'changingDataView', - actions: ['storeDatasetSelection'], + actions: ['storeDataSourceSelection'], }, { target: 'creatingAdHocDataView', - actions: ['storeDatasetSelection'], + actions: ['storeDataSourceSelection'], }, ], }, @@ -268,35 +268,23 @@ export const createPureLogsExplorerControllerStateMachine = ( { actions: { storeDefaultSelection: actions.assign((_context) => ({ - datasetSelection: AllDatasetSelection.create(), + dataSourceSelection: AllDatasetSelection.create(), })), - storeDatasetSelection: actions.assign((_context, event) => - 'data' in event && (isDatasetSelection(event.data) || isDataViewSelection(event.data)) - ? { - datasetSelection: event.data, - } + storeDataSourceSelection: actions.assign((_context, event) => + 'data' in event && isDataSourceSelection(event.data) + ? { dataSourceSelection: event.data } : {} ), storeDiscoverStateContainer: actions.assign((_context, event) => 'discoverStateContainer' in event - ? { - discoverStateContainer: event.discoverStateContainer, - } + ? { discoverStateContainer: event.discoverStateContainer } : {} ), storeControlGroupAPI: actions.assign((_context, event) => - 'controlGroupAPI' in event - ? { - controlGroupAPI: event.controlGroupAPI, - } - : {} + 'controlGroupAPI' in event ? { controlGroupAPI: event.controlGroupAPI } : {} ), storeControlPanels: actions.assign((_context, event) => - 'data' in event && ControlPanelRT.is(event.data) - ? { - controlPanels: event.data, - } - : {} + 'data' in event && ControlPanelRT.is(event.data) ? { controlPanels: event.data } : {} ), resetRows: actions.assign((_context, event) => ({ rows: [], @@ -312,13 +300,13 @@ export const createPureLogsExplorerControllerStateMachine = ( return 'controlGroupAPI' in event && event.controlGroupAPI != null; }, isLogsDataViewDescriptor: (_context, event) => { - if (event.type === 'UPDATE_DATASET_SELECTION' && isDataViewSelection(event.data)) { + if (event.type === 'UPDATE_DATA_SOURCE_SELECTION' && isDataViewSelection(event.data)) { return event.data.selection.dataView.isLogsDataType(); } return false; }, isUnknownDataViewDescriptor: (_context, event) => { - if (event.type === 'UPDATE_DATASET_SELECTION' && isDataViewSelection(event.data)) { + if (event.type === 'UPDATE_DATA_SOURCE_SELECTION' && isDataViewSelection(event.data)) { return event.data.selection.dataView.isUnknownDataType(); } return false; diff --git a/x-pack/plugins/observability_solution/logs_explorer/public/state_machines/logs_explorer_controller/src/types.ts b/x-pack/plugins/observability_solution/logs_explorer/public/state_machines/logs_explorer_controller/src/types.ts index de54be4f26f83..b4ceb3a174b53 100644 --- a/x-pack/plugins/observability_solution/logs_explorer/public/state_machines/logs_explorer_controller/src/types.ts +++ b/x-pack/plugins/observability_solution/logs_explorer/public/state_machines/logs_explorer_controller/src/types.ts @@ -16,14 +16,13 @@ import { DoneInvokeEvent } from 'xstate'; import type { DataTableRecord } from '@kbn/discover-utils/src/types'; import { ControlPanels, DisplayOptions } from '../../../../common'; import type { - DatasetEncodingError, DatasetSelection, + DataSourceSelection, DataViewSelection, - SingleDatasetSelection, -} from '../../../../common/dataset_selection'; +} from '../../../../common/data_source_selection'; -export interface WithDatasetSelection { - datasetSelection: DatasetSelection | DataViewSelection; +export interface WithDataSourceSelection { + dataSourceSelection: DataSourceSelection; } export interface WithControlPanelGroupAPI { @@ -46,7 +45,7 @@ export interface WithDataTableRecord { rows: DataTableRecord[]; } -export type DefaultLogsExplorerControllerState = WithDatasetSelection & +export type DefaultLogsExplorerControllerState = WithDataSourceSelection & WithQueryState & WithDisplayOptions & WithDataTableRecord; @@ -54,11 +53,11 @@ export type DefaultLogsExplorerControllerState = WithDatasetSelection & export type LogsExplorerControllerTypeState = | { value: 'uninitialized'; - context: WithDatasetSelection & WithControlPanels & WithQueryState & WithDisplayOptions; + context: WithDataSourceSelection & WithControlPanels & WithQueryState & WithDisplayOptions; } | { value: 'initializingSelection'; - context: WithDatasetSelection & + context: WithDataSourceSelection & WithControlPanels & WithQueryState & WithDisplayOptions & @@ -67,7 +66,7 @@ export type LogsExplorerControllerTypeState = } | { value: 'initializingDataset'; - context: WithDatasetSelection & + context: WithDataSourceSelection & WithControlPanels & WithQueryState & WithDisplayOptions & @@ -75,7 +74,7 @@ export type LogsExplorerControllerTypeState = } | { value: 'initializingDataView'; - context: WithDatasetSelection & + context: WithDataSourceSelection & WithControlPanels & WithQueryState & WithDisplayOptions & @@ -83,7 +82,7 @@ export type LogsExplorerControllerTypeState = } | { value: 'initializingControlPanels'; - context: WithDatasetSelection & + context: WithDataSourceSelection & WithControlPanels & WithQueryState & WithDisplayOptions & @@ -91,7 +90,7 @@ export type LogsExplorerControllerTypeState = } | { value: 'initialized'; - context: WithDatasetSelection & + context: WithDataSourceSelection & WithControlPanels & WithQueryState & WithDisplayOptions & @@ -99,8 +98,8 @@ export type LogsExplorerControllerTypeState = WithDiscoverStateContainer; } | { - value: 'initialized.datasetSelection.idle'; - context: WithDatasetSelection & + value: 'initialized.dataSourceSelection.idle'; + context: WithDataSourceSelection & WithControlPanels & WithQueryState & WithDisplayOptions & @@ -108,8 +107,8 @@ export type LogsExplorerControllerTypeState = WithDiscoverStateContainer; } | { - value: 'initialized.datasetSelection.changingDataView'; - context: WithDatasetSelection & + value: 'initialized.dataSourceSelection.changingDataView'; + context: WithDataSourceSelection & WithControlPanels & WithQueryState & WithDisplayOptions & @@ -117,8 +116,8 @@ export type LogsExplorerControllerTypeState = WithDiscoverStateContainer; } | { - value: 'initialized.datasetSelection.creatingAdHocDataView'; - context: WithDatasetSelection & + value: 'initialized.dataSourceSelection.creatingAdHocDataView'; + context: WithDataSourceSelection & WithControlPanels & WithQueryState & WithDisplayOptions & @@ -127,7 +126,7 @@ export type LogsExplorerControllerTypeState = } | { value: 'initialized.controlGroups.uninitialized'; - context: WithDatasetSelection & + context: WithDataSourceSelection & WithControlPanels & WithQueryState & WithDisplayOptions & @@ -136,7 +135,7 @@ export type LogsExplorerControllerTypeState = } | { value: 'initialized.controlGroups.idle'; - context: WithDatasetSelection & + context: WithDataSourceSelection & WithControlPanelGroupAPI & WithControlPanels & WithQueryState & @@ -146,7 +145,7 @@ export type LogsExplorerControllerTypeState = } | { value: 'initialized.controlGroups.updatingControlPanels'; - context: WithDatasetSelection & + context: WithDataSourceSelection & WithControlPanelGroupAPI & WithControlPanels & WithQueryState & @@ -173,11 +172,11 @@ export type LogsExplorerControllerEvent = } | { type: 'INITIALIZE_DATASET'; - data?: SingleDatasetSelection; + data?: DatasetSelection; } | { - type: 'UPDATE_DATASET_SELECTION'; - data: DatasetSelection | DataViewSelection; + type: 'UPDATE_DATA_SOURCE_SELECTION'; + data: DataSourceSelection; } | { type: 'INITIALIZE_CONTROL_GROUP_API'; @@ -203,8 +202,7 @@ export type LogsExplorerControllerEvent = type: 'RECEIVE_TIMEFILTER_REFRESH_INTERVAL'; refreshInterval: RefreshInterval; } - | DoneInvokeEvent + | DoneInvokeEvent | DoneInvokeEvent | DoneInvokeEvent - | DoneInvokeEvent | DoneInvokeEvent; diff --git a/x-pack/plugins/observability_solution/logs_explorer/public/utils/proxies.ts b/x-pack/plugins/observability_solution/logs_explorer/public/utils/proxies.ts index 5599f061f4d67..cfe4c133ec328 100644 --- a/x-pack/plugins/observability_solution/logs_explorer/public/utils/proxies.ts +++ b/x-pack/plugins/observability_solution/logs_explorer/public/utils/proxies.ts @@ -21,7 +21,7 @@ export const createPropertyGetProxy = new Proxy(target, { get(accessedTarget, accessedKey, ...rest) { - const value = Reflect.get(accessedTarget, accessedKey, ...rest); + const value = Reflect.get(accessedTarget, accessedKey, ...rest) as Target[Key]; if (hasKey(replacements, accessedKey)) { return replacements[accessedKey](value); } else { diff --git a/x-pack/plugins/observability/.storybook/jest_setup.js b/x-pack/plugins/observability_solution/observability/.storybook/jest_setup.js similarity index 100% rename from x-pack/plugins/observability/.storybook/jest_setup.js rename to x-pack/plugins/observability_solution/observability/.storybook/jest_setup.js diff --git a/x-pack/plugins/observability/.storybook/main.js b/x-pack/plugins/observability_solution/observability/.storybook/main.js similarity index 100% rename from x-pack/plugins/observability/.storybook/main.js rename to x-pack/plugins/observability_solution/observability/.storybook/main.js diff --git a/x-pack/plugins/observability/.storybook/preview.js b/x-pack/plugins/observability_solution/observability/.storybook/preview.js similarity index 100% rename from x-pack/plugins/observability/.storybook/preview.js rename to x-pack/plugins/observability_solution/observability/.storybook/preview.js diff --git a/x-pack/plugins/observability/README.md b/x-pack/plugins/observability_solution/observability/README.md similarity index 100% rename from x-pack/plugins/observability/README.md rename to x-pack/plugins/observability_solution/observability/README.md diff --git a/x-pack/plugins/observability/common/annotations.ts b/x-pack/plugins/observability_solution/observability/common/annotations.ts similarity index 93% rename from x-pack/plugins/observability/common/annotations.ts rename to x-pack/plugins/observability_solution/observability/common/annotations.ts index e9b7c6b77b231..b30b563ccd0b0 100644 --- a/x-pack/plugins/observability/common/annotations.ts +++ b/x-pack/plugins/observability_solution/observability/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/apm/common/runtime_types/date_as_string_rt.ts. + * Copied from x-pack/plugins/observability_solution/apm/common/runtime_types/date_as_string_rt.ts. */ const dateAsStringRt = new t.Type( 'DateAsString', diff --git a/x-pack/plugins/observability/common/constants.ts b/x-pack/plugins/observability_solution/observability/common/constants.ts similarity index 100% rename from x-pack/plugins/observability/common/constants.ts rename to x-pack/plugins/observability_solution/observability/common/constants.ts diff --git a/x-pack/plugins/observability/common/custom_threshold_rule/color_palette.ts b/x-pack/plugins/observability_solution/observability/common/custom_threshold_rule/color_palette.ts similarity index 100% rename from x-pack/plugins/observability/common/custom_threshold_rule/color_palette.ts rename to x-pack/plugins/observability_solution/observability/common/custom_threshold_rule/color_palette.ts diff --git a/x-pack/plugins/observability/common/custom_threshold_rule/formatters/bytes.test.ts b/x-pack/plugins/observability_solution/observability/common/custom_threshold_rule/formatters/bytes.test.ts similarity index 100% rename from x-pack/plugins/observability/common/custom_threshold_rule/formatters/bytes.test.ts rename to x-pack/plugins/observability_solution/observability/common/custom_threshold_rule/formatters/bytes.test.ts diff --git a/x-pack/plugins/observability/common/custom_threshold_rule/formatters/bytes.ts b/x-pack/plugins/observability_solution/observability/common/custom_threshold_rule/formatters/bytes.ts similarity index 100% rename from x-pack/plugins/observability/common/custom_threshold_rule/formatters/bytes.ts rename to x-pack/plugins/observability_solution/observability/common/custom_threshold_rule/formatters/bytes.ts diff --git a/x-pack/plugins/observability/common/custom_threshold_rule/formatters/datetime.ts b/x-pack/plugins/observability_solution/observability/common/custom_threshold_rule/formatters/datetime.ts similarity index 100% rename from x-pack/plugins/observability/common/custom_threshold_rule/formatters/datetime.ts rename to x-pack/plugins/observability_solution/observability/common/custom_threshold_rule/formatters/datetime.ts diff --git a/x-pack/plugins/observability/common/custom_threshold_rule/formatters/high_precision.ts b/x-pack/plugins/observability_solution/observability/common/custom_threshold_rule/formatters/high_precision.ts similarity index 100% rename from x-pack/plugins/observability/common/custom_threshold_rule/formatters/high_precision.ts rename to x-pack/plugins/observability_solution/observability/common/custom_threshold_rule/formatters/high_precision.ts diff --git a/x-pack/plugins/observability/common/custom_threshold_rule/formatters/index.ts b/x-pack/plugins/observability_solution/observability/common/custom_threshold_rule/formatters/index.ts similarity index 100% rename from x-pack/plugins/observability/common/custom_threshold_rule/formatters/index.ts rename to x-pack/plugins/observability_solution/observability/common/custom_threshold_rule/formatters/index.ts diff --git a/x-pack/plugins/observability/common/custom_threshold_rule/formatters/number.ts b/x-pack/plugins/observability_solution/observability/common/custom_threshold_rule/formatters/number.ts similarity index 100% rename from x-pack/plugins/observability/common/custom_threshold_rule/formatters/number.ts rename to x-pack/plugins/observability_solution/observability/common/custom_threshold_rule/formatters/number.ts diff --git a/x-pack/plugins/observability/common/custom_threshold_rule/formatters/percent.ts b/x-pack/plugins/observability_solution/observability/common/custom_threshold_rule/formatters/percent.ts similarity index 100% rename from x-pack/plugins/observability/common/custom_threshold_rule/formatters/percent.ts rename to x-pack/plugins/observability_solution/observability/common/custom_threshold_rule/formatters/percent.ts diff --git a/x-pack/plugins/observability/common/custom_threshold_rule/formatters/snapshot_metric_formats.ts b/x-pack/plugins/observability_solution/observability/common/custom_threshold_rule/formatters/snapshot_metric_formats.ts similarity index 100% rename from x-pack/plugins/observability/common/custom_threshold_rule/formatters/snapshot_metric_formats.ts rename to x-pack/plugins/observability_solution/observability/common/custom_threshold_rule/formatters/snapshot_metric_formats.ts diff --git a/x-pack/plugins/observability/common/custom_threshold_rule/formatters/types.ts b/x-pack/plugins/observability_solution/observability/common/custom_threshold_rule/formatters/types.ts similarity index 100% rename from x-pack/plugins/observability/common/custom_threshold_rule/formatters/types.ts rename to x-pack/plugins/observability_solution/observability/common/custom_threshold_rule/formatters/types.ts diff --git a/x-pack/plugins/observability/common/custom_threshold_rule/get_view_in_app_url.test.ts b/x-pack/plugins/observability_solution/observability/common/custom_threshold_rule/get_view_in_app_url.test.ts similarity index 100% rename from x-pack/plugins/observability/common/custom_threshold_rule/get_view_in_app_url.test.ts rename to x-pack/plugins/observability_solution/observability/common/custom_threshold_rule/get_view_in_app_url.test.ts diff --git a/x-pack/plugins/observability/common/custom_threshold_rule/get_view_in_app_url.ts b/x-pack/plugins/observability_solution/observability/common/custom_threshold_rule/get_view_in_app_url.ts similarity index 100% rename from x-pack/plugins/observability/common/custom_threshold_rule/get_view_in_app_url.ts rename to x-pack/plugins/observability_solution/observability/common/custom_threshold_rule/get_view_in_app_url.ts diff --git a/x-pack/plugins/observability/common/custom_threshold_rule/helpers/get_group.test.ts b/x-pack/plugins/observability_solution/observability/common/custom_threshold_rule/helpers/get_group.test.ts similarity index 100% rename from x-pack/plugins/observability/common/custom_threshold_rule/helpers/get_group.test.ts rename to x-pack/plugins/observability_solution/observability/common/custom_threshold_rule/helpers/get_group.test.ts diff --git a/x-pack/plugins/observability/common/custom_threshold_rule/helpers/get_group.ts b/x-pack/plugins/observability_solution/observability/common/custom_threshold_rule/helpers/get_group.ts similarity index 100% rename from x-pack/plugins/observability/common/custom_threshold_rule/helpers/get_group.ts rename to x-pack/plugins/observability_solution/observability/common/custom_threshold_rule/helpers/get_group.ts diff --git a/x-pack/plugins/observability/common/custom_threshold_rule/metric_value_formatter.test.ts b/x-pack/plugins/observability_solution/observability/common/custom_threshold_rule/metric_value_formatter.test.ts similarity index 100% rename from x-pack/plugins/observability/common/custom_threshold_rule/metric_value_formatter.test.ts rename to x-pack/plugins/observability_solution/observability/common/custom_threshold_rule/metric_value_formatter.test.ts diff --git a/x-pack/plugins/observability/common/custom_threshold_rule/metric_value_formatter.ts b/x-pack/plugins/observability_solution/observability/common/custom_threshold_rule/metric_value_formatter.ts similarity index 100% rename from x-pack/plugins/observability/common/custom_threshold_rule/metric_value_formatter.ts rename to x-pack/plugins/observability_solution/observability/common/custom_threshold_rule/metric_value_formatter.ts diff --git a/x-pack/plugins/observability/common/custom_threshold_rule/types.ts b/x-pack/plugins/observability_solution/observability/common/custom_threshold_rule/types.ts similarity index 100% rename from x-pack/plugins/observability/common/custom_threshold_rule/types.ts rename to x-pack/plugins/observability_solution/observability/common/custom_threshold_rule/types.ts diff --git a/x-pack/plugins/observability/common/field_names/slo.ts b/x-pack/plugins/observability_solution/observability/common/field_names/slo.ts similarity index 100% rename from x-pack/plugins/observability/common/field_names/slo.ts rename to x-pack/plugins/observability_solution/observability/common/field_names/slo.ts diff --git a/x-pack/plugins/observability/common/guided_onboarding/kubernetes_guide_config.tsx b/x-pack/plugins/observability_solution/observability/common/guided_onboarding/kubernetes_guide_config.tsx similarity index 100% rename from x-pack/plugins/observability/common/guided_onboarding/kubernetes_guide_config.tsx rename to x-pack/plugins/observability_solution/observability/common/guided_onboarding/kubernetes_guide_config.tsx diff --git a/x-pack/plugins/observability/common/i18n.ts b/x-pack/plugins/observability_solution/observability/common/i18n.ts similarity index 100% rename from x-pack/plugins/observability/common/i18n.ts rename to x-pack/plugins/observability_solution/observability/common/i18n.ts diff --git a/x-pack/plugins/observability/common/index.ts b/x-pack/plugins/observability_solution/observability/common/index.ts similarity index 100% rename from x-pack/plugins/observability/common/index.ts rename to x-pack/plugins/observability_solution/observability/common/index.ts diff --git a/x-pack/plugins/observability/common/locators/alerts.test.ts b/x-pack/plugins/observability_solution/observability/common/locators/alerts.test.ts similarity index 100% rename from x-pack/plugins/observability/common/locators/alerts.test.ts rename to x-pack/plugins/observability_solution/observability/common/locators/alerts.test.ts diff --git a/x-pack/plugins/observability/common/locators/alerts.ts b/x-pack/plugins/observability_solution/observability/common/locators/alerts.ts similarity index 100% rename from x-pack/plugins/observability/common/locators/alerts.ts rename to x-pack/plugins/observability_solution/observability/common/locators/alerts.ts diff --git a/x-pack/plugins/observability/common/locators/paths.ts b/x-pack/plugins/observability_solution/observability/common/locators/paths.ts similarity index 100% rename from x-pack/plugins/observability/common/locators/paths.ts rename to x-pack/plugins/observability_solution/observability/common/locators/paths.ts diff --git a/x-pack/plugins/observability/common/processor_event.ts b/x-pack/plugins/observability_solution/observability/common/processor_event.ts similarity index 100% rename from x-pack/plugins/observability/common/processor_event.ts rename to x-pack/plugins/observability_solution/observability/common/processor_event.ts diff --git a/x-pack/plugins/observability/common/progressive_loading.ts b/x-pack/plugins/observability_solution/observability/common/progressive_loading.ts similarity index 100% rename from x-pack/plugins/observability/common/progressive_loading.ts rename to x-pack/plugins/observability_solution/observability/common/progressive_loading.ts diff --git a/x-pack/plugins/observability/common/slo/constants.ts b/x-pack/plugins/observability_solution/observability/common/slo/constants.ts similarity index 100% rename from x-pack/plugins/observability/common/slo/constants.ts rename to x-pack/plugins/observability_solution/observability/common/slo/constants.ts diff --git a/x-pack/plugins/observability/common/typings.ts b/x-pack/plugins/observability_solution/observability/common/typings.ts similarity index 100% rename from x-pack/plugins/observability/common/typings.ts rename to x-pack/plugins/observability_solution/observability/common/typings.ts diff --git a/x-pack/plugins/observability/common/ui_settings_keys.ts b/x-pack/plugins/observability_solution/observability/common/ui_settings_keys.ts similarity index 100% rename from x-pack/plugins/observability/common/ui_settings_keys.ts rename to x-pack/plugins/observability_solution/observability/common/ui_settings_keys.ts diff --git a/x-pack/plugins/observability/common/utils/alerting/alert_url.ts b/x-pack/plugins/observability_solution/observability/common/utils/alerting/alert_url.ts similarity index 100% rename from x-pack/plugins/observability/common/utils/alerting/alert_url.ts rename to x-pack/plugins/observability_solution/observability/common/utils/alerting/alert_url.ts diff --git a/x-pack/plugins/observability/common/utils/array_union_to_callable.ts b/x-pack/plugins/observability_solution/observability/common/utils/array_union_to_callable.ts similarity index 100% rename from x-pack/plugins/observability/common/utils/array_union_to_callable.ts rename to x-pack/plugins/observability_solution/observability/common/utils/array_union_to_callable.ts diff --git a/x-pack/plugins/observability/common/utils/as_mutable_array.ts b/x-pack/plugins/observability_solution/observability/common/utils/as_mutable_array.ts similarity index 100% rename from x-pack/plugins/observability/common/utils/as_mutable_array.ts rename to x-pack/plugins/observability_solution/observability/common/utils/as_mutable_array.ts diff --git a/x-pack/plugins/observability/common/utils/formatters/datetime.test.ts b/x-pack/plugins/observability_solution/observability/common/utils/formatters/datetime.test.ts similarity index 100% rename from x-pack/plugins/observability/common/utils/formatters/datetime.test.ts rename to x-pack/plugins/observability_solution/observability/common/utils/formatters/datetime.test.ts diff --git a/x-pack/plugins/observability/common/utils/formatters/datetime.ts b/x-pack/plugins/observability_solution/observability/common/utils/formatters/datetime.ts similarity index 100% rename from x-pack/plugins/observability/common/utils/formatters/datetime.ts rename to x-pack/plugins/observability_solution/observability/common/utils/formatters/datetime.ts diff --git a/x-pack/plugins/observability/common/utils/formatters/duration.test.ts b/x-pack/plugins/observability_solution/observability/common/utils/formatters/duration.test.ts similarity index 100% rename from x-pack/plugins/observability/common/utils/formatters/duration.test.ts rename to x-pack/plugins/observability_solution/observability/common/utils/formatters/duration.test.ts diff --git a/x-pack/plugins/observability/common/utils/formatters/duration.ts b/x-pack/plugins/observability_solution/observability/common/utils/formatters/duration.ts similarity index 100% rename from x-pack/plugins/observability/common/utils/formatters/duration.ts rename to x-pack/plugins/observability_solution/observability/common/utils/formatters/duration.ts diff --git a/x-pack/plugins/observability/common/utils/formatters/formatters.test.ts b/x-pack/plugins/observability_solution/observability/common/utils/formatters/formatters.test.ts similarity index 100% rename from x-pack/plugins/observability/common/utils/formatters/formatters.test.ts rename to x-pack/plugins/observability_solution/observability/common/utils/formatters/formatters.test.ts diff --git a/x-pack/plugins/observability/common/utils/formatters/formatters.ts b/x-pack/plugins/observability_solution/observability/common/utils/formatters/formatters.ts similarity index 100% rename from x-pack/plugins/observability/common/utils/formatters/formatters.ts rename to x-pack/plugins/observability_solution/observability/common/utils/formatters/formatters.ts diff --git a/x-pack/plugins/observability/common/utils/formatters/index.ts b/x-pack/plugins/observability_solution/observability/common/utils/formatters/index.ts similarity index 100% rename from x-pack/plugins/observability/common/utils/formatters/index.ts rename to x-pack/plugins/observability_solution/observability/common/utils/formatters/index.ts diff --git a/x-pack/plugins/observability/common/utils/formatters/size.test.ts b/x-pack/plugins/observability_solution/observability/common/utils/formatters/size.test.ts similarity index 100% rename from x-pack/plugins/observability/common/utils/formatters/size.test.ts rename to x-pack/plugins/observability_solution/observability/common/utils/formatters/size.test.ts diff --git a/x-pack/plugins/observability/common/utils/formatters/size.ts b/x-pack/plugins/observability_solution/observability/common/utils/formatters/size.ts similarity index 100% rename from x-pack/plugins/observability/common/utils/formatters/size.ts rename to x-pack/plugins/observability_solution/observability/common/utils/formatters/size.ts diff --git a/x-pack/plugins/observability/common/utils/get_inspect_response.ts b/x-pack/plugins/observability_solution/observability/common/utils/get_inspect_response.ts similarity index 100% rename from x-pack/plugins/observability/common/utils/get_inspect_response.ts rename to x-pack/plugins/observability_solution/observability/common/utils/get_inspect_response.ts diff --git a/x-pack/plugins/observability/common/utils/get_interval_in_seconds.test.ts b/x-pack/plugins/observability_solution/observability/common/utils/get_interval_in_seconds.test.ts similarity index 100% rename from x-pack/plugins/observability/common/utils/get_interval_in_seconds.test.ts rename to x-pack/plugins/observability_solution/observability/common/utils/get_interval_in_seconds.test.ts diff --git a/x-pack/plugins/observability/common/utils/get_interval_in_seconds.ts b/x-pack/plugins/observability_solution/observability/common/utils/get_interval_in_seconds.ts similarity index 100% rename from x-pack/plugins/observability/common/utils/get_interval_in_seconds.ts rename to x-pack/plugins/observability_solution/observability/common/utils/get_interval_in_seconds.ts diff --git a/x-pack/plugins/observability/common/utils/is_finite_number.ts b/x-pack/plugins/observability_solution/observability/common/utils/is_finite_number.ts similarity index 100% rename from x-pack/plugins/observability/common/utils/is_finite_number.ts rename to x-pack/plugins/observability_solution/observability/common/utils/is_finite_number.ts diff --git a/x-pack/plugins/observability/common/utils/join_by_key/index.test.ts b/x-pack/plugins/observability_solution/observability/common/utils/join_by_key/index.test.ts similarity index 100% rename from x-pack/plugins/observability/common/utils/join_by_key/index.test.ts rename to x-pack/plugins/observability_solution/observability/common/utils/join_by_key/index.test.ts diff --git a/x-pack/plugins/observability/common/utils/join_by_key/index.ts b/x-pack/plugins/observability_solution/observability/common/utils/join_by_key/index.ts similarity index 100% rename from x-pack/plugins/observability/common/utils/join_by_key/index.ts rename to x-pack/plugins/observability_solution/observability/common/utils/join_by_key/index.ts diff --git a/x-pack/plugins/observability/common/utils/maybe.ts b/x-pack/plugins/observability_solution/observability/common/utils/maybe.ts similarity index 100% rename from x-pack/plugins/observability/common/utils/maybe.ts rename to x-pack/plugins/observability_solution/observability/common/utils/maybe.ts diff --git a/x-pack/plugins/observability/common/utils/pick_keys.ts b/x-pack/plugins/observability_solution/observability/common/utils/pick_keys.ts similarity index 100% rename from x-pack/plugins/observability/common/utils/pick_keys.ts rename to x-pack/plugins/observability_solution/observability/common/utils/pick_keys.ts diff --git a/x-pack/plugins/observability/common/utils/unwrap_es_response.ts b/x-pack/plugins/observability_solution/observability/common/utils/unwrap_es_response.ts similarity index 100% rename from x-pack/plugins/observability/common/utils/unwrap_es_response.ts rename to x-pack/plugins/observability_solution/observability/common/utils/unwrap_es_response.ts diff --git a/x-pack/plugins/observability/dev_docs/custom_threshold.md b/x-pack/plugins/observability_solution/observability/dev_docs/custom_threshold.md similarity index 100% rename from x-pack/plugins/observability/dev_docs/custom_threshold.md rename to x-pack/plugins/observability_solution/observability/dev_docs/custom_threshold.md diff --git a/x-pack/plugins/observability/dev_docs/feature_flags.md b/x-pack/plugins/observability_solution/observability/dev_docs/feature_flags.md similarity index 100% rename from x-pack/plugins/observability/dev_docs/feature_flags.md rename to x-pack/plugins/observability_solution/observability/dev_docs/feature_flags.md diff --git a/x-pack/plugins/observability/dev_docs/images/data_forge_custom_threshold_rule_cpu.png b/x-pack/plugins/observability_solution/observability/dev_docs/images/data_forge_custom_threshold_rule_cpu.png similarity index 100% rename from x-pack/plugins/observability/dev_docs/images/data_forge_custom_threshold_rule_cpu.png rename to x-pack/plugins/observability_solution/observability/dev_docs/images/data_forge_custom_threshold_rule_cpu.png diff --git a/x-pack/plugins/observability/dev_docs/images/data_forge_data_view.png b/x-pack/plugins/observability_solution/observability/dev_docs/images/data_forge_data_view.png similarity index 100% rename from x-pack/plugins/observability/dev_docs/images/data_forge_data_view.png rename to x-pack/plugins/observability_solution/observability/dev_docs/images/data_forge_data_view.png diff --git a/x-pack/plugins/observability/dev_docs/images/synthtrace_custom_threshold_rule.png b/x-pack/plugins/observability_solution/observability/dev_docs/images/synthtrace_custom_threshold_rule.png similarity index 100% rename from x-pack/plugins/observability/dev_docs/images/synthtrace_custom_threshold_rule.png rename to x-pack/plugins/observability_solution/observability/dev_docs/images/synthtrace_custom_threshold_rule.png diff --git a/x-pack/plugins/observability/dev_docs/images/synthtrace_data_view.png b/x-pack/plugins/observability_solution/observability/dev_docs/images/synthtrace_data_view.png similarity index 100% rename from x-pack/plugins/observability/dev_docs/images/synthtrace_data_view.png rename to x-pack/plugins/observability_solution/observability/dev_docs/images/synthtrace_data_view.png diff --git a/x-pack/plugins/observability/dev_docs/slo.md b/x-pack/plugins/observability_solution/observability/dev_docs/slo.md similarity index 100% rename from x-pack/plugins/observability/dev_docs/slo.md rename to x-pack/plugins/observability_solution/observability/dev_docs/slo.md diff --git a/x-pack/plugins/observability/docs/openapi/slo/README.md b/x-pack/plugins/observability_solution/observability/docs/openapi/slo/README.md similarity index 92% rename from x-pack/plugins/observability/docs/openapi/slo/README.md rename to x-pack/plugins/observability_solution/observability/docs/openapi/slo/README.md index d7bd91627a5ef..25491ce3951b4 100644 --- a/x-pack/plugins/observability/docs/openapi/slo/README.md +++ b/x-pack/plugins/observability_solution/observability/docs/openapi/slo/README.md @@ -14,7 +14,7 @@ A guide about the OpenApi specification can be found at [https://swagger.io/docs ## Tools It is possible to manually validate the docs before bundling them with the following -command in the `x-pack/plugins/observability/docs/openapi/slo` folder: +command in the `x-pack/plugins/observability_solution/observability/docs/openapi/slo` folder: ```bash make validate diff --git a/x-pack/plugins/observability/docs/openapi/slo/bundled.json b/x-pack/plugins/observability_solution/observability/docs/openapi/slo/bundled.json similarity index 100% rename from x-pack/plugins/observability/docs/openapi/slo/bundled.json rename to x-pack/plugins/observability_solution/observability/docs/openapi/slo/bundled.json diff --git a/x-pack/plugins/observability/docs/openapi/slo/bundled.yaml b/x-pack/plugins/observability_solution/observability/docs/openapi/slo/bundled.yaml similarity index 100% rename from x-pack/plugins/observability/docs/openapi/slo/bundled.yaml rename to x-pack/plugins/observability_solution/observability/docs/openapi/slo/bundled.yaml diff --git a/x-pack/plugins/observability/docs/openapi/slo/components/README.md b/x-pack/plugins/observability_solution/observability/docs/openapi/slo/components/README.md similarity index 100% rename from x-pack/plugins/observability/docs/openapi/slo/components/README.md rename to x-pack/plugins/observability_solution/observability/docs/openapi/slo/components/README.md diff --git a/x-pack/plugins/observability/docs/openapi/slo/components/headers/kbn_xsrf.yaml b/x-pack/plugins/observability_solution/observability/docs/openapi/slo/components/headers/kbn_xsrf.yaml similarity index 100% rename from x-pack/plugins/observability/docs/openapi/slo/components/headers/kbn_xsrf.yaml rename to x-pack/plugins/observability_solution/observability/docs/openapi/slo/components/headers/kbn_xsrf.yaml diff --git a/x-pack/plugins/observability/docs/openapi/slo/components/parameters/slo_id.yaml b/x-pack/plugins/observability_solution/observability/docs/openapi/slo/components/parameters/slo_id.yaml similarity index 100% rename from x-pack/plugins/observability/docs/openapi/slo/components/parameters/slo_id.yaml rename to x-pack/plugins/observability_solution/observability/docs/openapi/slo/components/parameters/slo_id.yaml diff --git a/x-pack/plugins/observability/docs/openapi/slo/components/parameters/space_id.yaml b/x-pack/plugins/observability_solution/observability/docs/openapi/slo/components/parameters/space_id.yaml similarity index 100% rename from x-pack/plugins/observability/docs/openapi/slo/components/parameters/space_id.yaml rename to x-pack/plugins/observability_solution/observability/docs/openapi/slo/components/parameters/space_id.yaml diff --git a/x-pack/plugins/observability/docs/openapi/slo/components/schemas/400_response.yaml b/x-pack/plugins/observability_solution/observability/docs/openapi/slo/components/schemas/400_response.yaml similarity index 100% rename from x-pack/plugins/observability/docs/openapi/slo/components/schemas/400_response.yaml rename to x-pack/plugins/observability_solution/observability/docs/openapi/slo/components/schemas/400_response.yaml diff --git a/x-pack/plugins/observability/docs/openapi/slo/components/schemas/401_response.yaml b/x-pack/plugins/observability_solution/observability/docs/openapi/slo/components/schemas/401_response.yaml similarity index 100% rename from x-pack/plugins/observability/docs/openapi/slo/components/schemas/401_response.yaml rename to x-pack/plugins/observability_solution/observability/docs/openapi/slo/components/schemas/401_response.yaml diff --git a/x-pack/plugins/observability/docs/openapi/slo/components/schemas/403_response.yaml b/x-pack/plugins/observability_solution/observability/docs/openapi/slo/components/schemas/403_response.yaml similarity index 100% rename from x-pack/plugins/observability/docs/openapi/slo/components/schemas/403_response.yaml rename to x-pack/plugins/observability_solution/observability/docs/openapi/slo/components/schemas/403_response.yaml diff --git a/x-pack/plugins/observability/docs/openapi/slo/components/schemas/404_response.yaml b/x-pack/plugins/observability_solution/observability/docs/openapi/slo/components/schemas/404_response.yaml similarity index 100% rename from x-pack/plugins/observability/docs/openapi/slo/components/schemas/404_response.yaml rename to x-pack/plugins/observability_solution/observability/docs/openapi/slo/components/schemas/404_response.yaml diff --git a/x-pack/plugins/observability/docs/openapi/slo/components/schemas/409_response.yaml b/x-pack/plugins/observability_solution/observability/docs/openapi/slo/components/schemas/409_response.yaml similarity index 100% rename from x-pack/plugins/observability/docs/openapi/slo/components/schemas/409_response.yaml rename to x-pack/plugins/observability_solution/observability/docs/openapi/slo/components/schemas/409_response.yaml diff --git a/x-pack/plugins/observability/docs/openapi/slo/components/schemas/budgeting_method.yaml b/x-pack/plugins/observability_solution/observability/docs/openapi/slo/components/schemas/budgeting_method.yaml similarity index 100% rename from x-pack/plugins/observability/docs/openapi/slo/components/schemas/budgeting_method.yaml rename to x-pack/plugins/observability_solution/observability/docs/openapi/slo/components/schemas/budgeting_method.yaml diff --git a/x-pack/plugins/observability/docs/openapi/slo/components/schemas/create_slo_request.yaml b/x-pack/plugins/observability_solution/observability/docs/openapi/slo/components/schemas/create_slo_request.yaml similarity index 100% rename from x-pack/plugins/observability/docs/openapi/slo/components/schemas/create_slo_request.yaml rename to x-pack/plugins/observability_solution/observability/docs/openapi/slo/components/schemas/create_slo_request.yaml diff --git a/x-pack/plugins/observability/docs/openapi/slo/components/schemas/create_slo_response.yaml b/x-pack/plugins/observability_solution/observability/docs/openapi/slo/components/schemas/create_slo_response.yaml similarity index 100% rename from x-pack/plugins/observability/docs/openapi/slo/components/schemas/create_slo_response.yaml rename to x-pack/plugins/observability_solution/observability/docs/openapi/slo/components/schemas/create_slo_response.yaml diff --git a/x-pack/plugins/observability/docs/openapi/slo/components/schemas/delete_slo_instances_request.yaml b/x-pack/plugins/observability_solution/observability/docs/openapi/slo/components/schemas/delete_slo_instances_request.yaml similarity index 100% rename from x-pack/plugins/observability/docs/openapi/slo/components/schemas/delete_slo_instances_request.yaml rename to x-pack/plugins/observability_solution/observability/docs/openapi/slo/components/schemas/delete_slo_instances_request.yaml diff --git a/x-pack/plugins/observability/docs/openapi/slo/components/schemas/error_budget.yaml b/x-pack/plugins/observability_solution/observability/docs/openapi/slo/components/schemas/error_budget.yaml similarity index 100% rename from x-pack/plugins/observability/docs/openapi/slo/components/schemas/error_budget.yaml rename to x-pack/plugins/observability_solution/observability/docs/openapi/slo/components/schemas/error_budget.yaml diff --git a/x-pack/plugins/observability/docs/openapi/slo/components/schemas/filter.yaml b/x-pack/plugins/observability_solution/observability/docs/openapi/slo/components/schemas/filter.yaml similarity index 100% rename from x-pack/plugins/observability/docs/openapi/slo/components/schemas/filter.yaml rename to x-pack/plugins/observability_solution/observability/docs/openapi/slo/components/schemas/filter.yaml diff --git a/x-pack/plugins/observability/docs/openapi/slo/components/schemas/filter_meta.yaml b/x-pack/plugins/observability_solution/observability/docs/openapi/slo/components/schemas/filter_meta.yaml similarity index 100% rename from x-pack/plugins/observability/docs/openapi/slo/components/schemas/filter_meta.yaml rename to x-pack/plugins/observability_solution/observability/docs/openapi/slo/components/schemas/filter_meta.yaml diff --git a/x-pack/plugins/observability/docs/openapi/slo/components/schemas/find_slo_definitions_response.yaml b/x-pack/plugins/observability_solution/observability/docs/openapi/slo/components/schemas/find_slo_definitions_response.yaml similarity index 100% rename from x-pack/plugins/observability/docs/openapi/slo/components/schemas/find_slo_definitions_response.yaml rename to x-pack/plugins/observability_solution/observability/docs/openapi/slo/components/schemas/find_slo_definitions_response.yaml diff --git a/x-pack/plugins/observability/docs/openapi/slo/components/schemas/find_slo_response.yaml b/x-pack/plugins/observability_solution/observability/docs/openapi/slo/components/schemas/find_slo_response.yaml similarity index 100% rename from x-pack/plugins/observability/docs/openapi/slo/components/schemas/find_slo_response.yaml rename to x-pack/plugins/observability_solution/observability/docs/openapi/slo/components/schemas/find_slo_response.yaml diff --git a/x-pack/plugins/observability/docs/openapi/slo/components/schemas/historical_summary_request.yaml b/x-pack/plugins/observability_solution/observability/docs/openapi/slo/components/schemas/historical_summary_request.yaml similarity index 100% rename from x-pack/plugins/observability/docs/openapi/slo/components/schemas/historical_summary_request.yaml rename to x-pack/plugins/observability_solution/observability/docs/openapi/slo/components/schemas/historical_summary_request.yaml diff --git a/x-pack/plugins/observability/docs/openapi/slo/components/schemas/historical_summary_response.yaml b/x-pack/plugins/observability_solution/observability/docs/openapi/slo/components/schemas/historical_summary_response.yaml similarity index 100% rename from x-pack/plugins/observability/docs/openapi/slo/components/schemas/historical_summary_response.yaml rename to x-pack/plugins/observability_solution/observability/docs/openapi/slo/components/schemas/historical_summary_response.yaml diff --git a/x-pack/plugins/observability/docs/openapi/slo/components/schemas/indicator_properties_apm_availability.yaml b/x-pack/plugins/observability_solution/observability/docs/openapi/slo/components/schemas/indicator_properties_apm_availability.yaml similarity index 100% rename from x-pack/plugins/observability/docs/openapi/slo/components/schemas/indicator_properties_apm_availability.yaml rename to x-pack/plugins/observability_solution/observability/docs/openapi/slo/components/schemas/indicator_properties_apm_availability.yaml diff --git a/x-pack/plugins/observability/docs/openapi/slo/components/schemas/indicator_properties_apm_latency.yaml b/x-pack/plugins/observability_solution/observability/docs/openapi/slo/components/schemas/indicator_properties_apm_latency.yaml similarity index 100% rename from x-pack/plugins/observability/docs/openapi/slo/components/schemas/indicator_properties_apm_latency.yaml rename to x-pack/plugins/observability_solution/observability/docs/openapi/slo/components/schemas/indicator_properties_apm_latency.yaml diff --git a/x-pack/plugins/observability/docs/openapi/slo/components/schemas/indicator_properties_custom_kql.yaml b/x-pack/plugins/observability_solution/observability/docs/openapi/slo/components/schemas/indicator_properties_custom_kql.yaml similarity index 100% rename from x-pack/plugins/observability/docs/openapi/slo/components/schemas/indicator_properties_custom_kql.yaml rename to x-pack/plugins/observability_solution/observability/docs/openapi/slo/components/schemas/indicator_properties_custom_kql.yaml diff --git a/x-pack/plugins/observability/docs/openapi/slo/components/schemas/indicator_properties_custom_metric.yaml b/x-pack/plugins/observability_solution/observability/docs/openapi/slo/components/schemas/indicator_properties_custom_metric.yaml similarity index 100% rename from x-pack/plugins/observability/docs/openapi/slo/components/schemas/indicator_properties_custom_metric.yaml rename to x-pack/plugins/observability_solution/observability/docs/openapi/slo/components/schemas/indicator_properties_custom_metric.yaml diff --git a/x-pack/plugins/observability/docs/openapi/slo/components/schemas/indicator_properties_histogram.yaml b/x-pack/plugins/observability_solution/observability/docs/openapi/slo/components/schemas/indicator_properties_histogram.yaml similarity index 100% rename from x-pack/plugins/observability/docs/openapi/slo/components/schemas/indicator_properties_histogram.yaml rename to x-pack/plugins/observability_solution/observability/docs/openapi/slo/components/schemas/indicator_properties_histogram.yaml diff --git a/x-pack/plugins/observability/docs/openapi/slo/components/schemas/indicator_properties_timeslice_metric.yaml b/x-pack/plugins/observability_solution/observability/docs/openapi/slo/components/schemas/indicator_properties_timeslice_metric.yaml similarity index 100% rename from x-pack/plugins/observability/docs/openapi/slo/components/schemas/indicator_properties_timeslice_metric.yaml rename to x-pack/plugins/observability_solution/observability/docs/openapi/slo/components/schemas/indicator_properties_timeslice_metric.yaml diff --git a/x-pack/plugins/observability/docs/openapi/slo/components/schemas/kql_with_filters.yaml b/x-pack/plugins/observability_solution/observability/docs/openapi/slo/components/schemas/kql_with_filters.yaml similarity index 100% rename from x-pack/plugins/observability/docs/openapi/slo/components/schemas/kql_with_filters.yaml rename to x-pack/plugins/observability_solution/observability/docs/openapi/slo/components/schemas/kql_with_filters.yaml diff --git a/x-pack/plugins/observability/docs/openapi/slo/components/schemas/objective.yaml b/x-pack/plugins/observability_solution/observability/docs/openapi/slo/components/schemas/objective.yaml similarity index 100% rename from x-pack/plugins/observability/docs/openapi/slo/components/schemas/objective.yaml rename to x-pack/plugins/observability_solution/observability/docs/openapi/slo/components/schemas/objective.yaml diff --git a/x-pack/plugins/observability/docs/openapi/slo/components/schemas/settings.yaml b/x-pack/plugins/observability_solution/observability/docs/openapi/slo/components/schemas/settings.yaml similarity index 100% rename from x-pack/plugins/observability/docs/openapi/slo/components/schemas/settings.yaml rename to x-pack/plugins/observability_solution/observability/docs/openapi/slo/components/schemas/settings.yaml diff --git a/x-pack/plugins/observability/docs/openapi/slo/components/schemas/slo_definition_response.yaml b/x-pack/plugins/observability_solution/observability/docs/openapi/slo/components/schemas/slo_definition_response.yaml similarity index 100% rename from x-pack/plugins/observability/docs/openapi/slo/components/schemas/slo_definition_response.yaml rename to x-pack/plugins/observability_solution/observability/docs/openapi/slo/components/schemas/slo_definition_response.yaml diff --git a/x-pack/plugins/observability/docs/openapi/slo/components/schemas/slo_with_summary_response.yaml b/x-pack/plugins/observability_solution/observability/docs/openapi/slo/components/schemas/slo_with_summary_response.yaml similarity index 100% rename from x-pack/plugins/observability/docs/openapi/slo/components/schemas/slo_with_summary_response.yaml rename to x-pack/plugins/observability_solution/observability/docs/openapi/slo/components/schemas/slo_with_summary_response.yaml diff --git a/x-pack/plugins/observability/docs/openapi/slo/components/schemas/summary.yaml b/x-pack/plugins/observability_solution/observability/docs/openapi/slo/components/schemas/summary.yaml similarity index 100% rename from x-pack/plugins/observability/docs/openapi/slo/components/schemas/summary.yaml rename to x-pack/plugins/observability_solution/observability/docs/openapi/slo/components/schemas/summary.yaml diff --git a/x-pack/plugins/observability/docs/openapi/slo/components/schemas/summary_status.yaml b/x-pack/plugins/observability_solution/observability/docs/openapi/slo/components/schemas/summary_status.yaml similarity index 100% rename from x-pack/plugins/observability/docs/openapi/slo/components/schemas/summary_status.yaml rename to x-pack/plugins/observability_solution/observability/docs/openapi/slo/components/schemas/summary_status.yaml diff --git a/x-pack/plugins/observability/docs/openapi/slo/components/schemas/time_window.yaml b/x-pack/plugins/observability_solution/observability/docs/openapi/slo/components/schemas/time_window.yaml similarity index 100% rename from x-pack/plugins/observability/docs/openapi/slo/components/schemas/time_window.yaml rename to x-pack/plugins/observability_solution/observability/docs/openapi/slo/components/schemas/time_window.yaml diff --git a/x-pack/plugins/observability/docs/openapi/slo/components/schemas/timeslice_metric_basic_metric_with_field.yaml b/x-pack/plugins/observability_solution/observability/docs/openapi/slo/components/schemas/timeslice_metric_basic_metric_with_field.yaml similarity index 100% rename from x-pack/plugins/observability/docs/openapi/slo/components/schemas/timeslice_metric_basic_metric_with_field.yaml rename to x-pack/plugins/observability_solution/observability/docs/openapi/slo/components/schemas/timeslice_metric_basic_metric_with_field.yaml diff --git a/x-pack/plugins/observability/docs/openapi/slo/components/schemas/timeslice_metric_doc_count_metric.yaml b/x-pack/plugins/observability_solution/observability/docs/openapi/slo/components/schemas/timeslice_metric_doc_count_metric.yaml similarity index 100% rename from x-pack/plugins/observability/docs/openapi/slo/components/schemas/timeslice_metric_doc_count_metric.yaml rename to x-pack/plugins/observability_solution/observability/docs/openapi/slo/components/schemas/timeslice_metric_doc_count_metric.yaml diff --git a/x-pack/plugins/observability/docs/openapi/slo/components/schemas/timeslice_metric_percentile_metric.yaml b/x-pack/plugins/observability_solution/observability/docs/openapi/slo/components/schemas/timeslice_metric_percentile_metric.yaml similarity index 100% rename from x-pack/plugins/observability/docs/openapi/slo/components/schemas/timeslice_metric_percentile_metric.yaml rename to x-pack/plugins/observability_solution/observability/docs/openapi/slo/components/schemas/timeslice_metric_percentile_metric.yaml diff --git a/x-pack/plugins/observability/docs/openapi/slo/components/schemas/update_slo_request.yaml b/x-pack/plugins/observability_solution/observability/docs/openapi/slo/components/schemas/update_slo_request.yaml similarity index 100% rename from x-pack/plugins/observability/docs/openapi/slo/components/schemas/update_slo_request.yaml rename to x-pack/plugins/observability_solution/observability/docs/openapi/slo/components/schemas/update_slo_request.yaml diff --git a/x-pack/plugins/observability/docs/openapi/slo/entrypoint.yaml b/x-pack/plugins/observability_solution/observability/docs/openapi/slo/entrypoint.yaml similarity index 100% rename from x-pack/plugins/observability/docs/openapi/slo/entrypoint.yaml rename to x-pack/plugins/observability_solution/observability/docs/openapi/slo/entrypoint.yaml diff --git a/x-pack/plugins/observability/docs/openapi/slo/makefile b/x-pack/plugins/observability_solution/observability/docs/openapi/slo/makefile similarity index 100% rename from x-pack/plugins/observability/docs/openapi/slo/makefile rename to x-pack/plugins/observability_solution/observability/docs/openapi/slo/makefile diff --git a/x-pack/plugins/observability/docs/openapi/slo/paths/README.md b/x-pack/plugins/observability_solution/observability/docs/openapi/slo/paths/README.md similarity index 100% rename from x-pack/plugins/observability/docs/openapi/slo/paths/README.md rename to x-pack/plugins/observability_solution/observability/docs/openapi/slo/paths/README.md diff --git a/x-pack/plugins/observability/docs/openapi/slo/paths/s@{spaceid}@api@slos.yaml b/x-pack/plugins/observability_solution/observability/docs/openapi/slo/paths/s@{spaceid}@api@slos.yaml similarity index 100% rename from x-pack/plugins/observability/docs/openapi/slo/paths/s@{spaceid}@api@slos.yaml rename to x-pack/plugins/observability_solution/observability/docs/openapi/slo/paths/s@{spaceid}@api@slos.yaml diff --git a/x-pack/plugins/observability/docs/openapi/slo/paths/s@{spaceid}@api@slos@_definitions.yaml b/x-pack/plugins/observability_solution/observability/docs/openapi/slo/paths/s@{spaceid}@api@slos@_definitions.yaml similarity index 100% rename from x-pack/plugins/observability/docs/openapi/slo/paths/s@{spaceid}@api@slos@_definitions.yaml rename to x-pack/plugins/observability_solution/observability/docs/openapi/slo/paths/s@{spaceid}@api@slos@_definitions.yaml diff --git a/x-pack/plugins/observability/docs/openapi/slo/paths/s@{spaceid}@api@slos@_delete_instances.yaml b/x-pack/plugins/observability_solution/observability/docs/openapi/slo/paths/s@{spaceid}@api@slos@_delete_instances.yaml similarity index 100% rename from x-pack/plugins/observability/docs/openapi/slo/paths/s@{spaceid}@api@slos@_delete_instances.yaml rename to x-pack/plugins/observability_solution/observability/docs/openapi/slo/paths/s@{spaceid}@api@slos@_delete_instances.yaml diff --git a/x-pack/plugins/observability/docs/openapi/slo/paths/s@{spaceid}@api@slos@_historical_summary.yaml b/x-pack/plugins/observability_solution/observability/docs/openapi/slo/paths/s@{spaceid}@api@slos@_historical_summary.yaml similarity index 100% rename from x-pack/plugins/observability/docs/openapi/slo/paths/s@{spaceid}@api@slos@_historical_summary.yaml rename to x-pack/plugins/observability_solution/observability/docs/openapi/slo/paths/s@{spaceid}@api@slos@_historical_summary.yaml diff --git a/x-pack/plugins/observability/docs/openapi/slo/paths/s@{spaceid}@api@slos@{sloid}.yaml b/x-pack/plugins/observability_solution/observability/docs/openapi/slo/paths/s@{spaceid}@api@slos@{sloid}.yaml similarity index 100% rename from x-pack/plugins/observability/docs/openapi/slo/paths/s@{spaceid}@api@slos@{sloid}.yaml rename to x-pack/plugins/observability_solution/observability/docs/openapi/slo/paths/s@{spaceid}@api@slos@{sloid}.yaml diff --git a/x-pack/plugins/observability/docs/openapi/slo/paths/s@{spaceid}@api@slos@{sloid}@_reset.yaml b/x-pack/plugins/observability_solution/observability/docs/openapi/slo/paths/s@{spaceid}@api@slos@{sloid}@_reset.yaml similarity index 100% rename from x-pack/plugins/observability/docs/openapi/slo/paths/s@{spaceid}@api@slos@{sloid}@_reset.yaml rename to x-pack/plugins/observability_solution/observability/docs/openapi/slo/paths/s@{spaceid}@api@slos@{sloid}@_reset.yaml diff --git a/x-pack/plugins/observability/docs/openapi/slo/paths/s@{spaceid}@api@slos@{sloid}@disable.yaml b/x-pack/plugins/observability_solution/observability/docs/openapi/slo/paths/s@{spaceid}@api@slos@{sloid}@disable.yaml similarity index 100% rename from x-pack/plugins/observability/docs/openapi/slo/paths/s@{spaceid}@api@slos@{sloid}@disable.yaml rename to x-pack/plugins/observability_solution/observability/docs/openapi/slo/paths/s@{spaceid}@api@slos@{sloid}@disable.yaml diff --git a/x-pack/plugins/observability/docs/openapi/slo/paths/s@{spaceid}@api@slos@{sloid}@enable.yaml b/x-pack/plugins/observability_solution/observability/docs/openapi/slo/paths/s@{spaceid}@api@slos@{sloid}@enable.yaml similarity index 100% rename from x-pack/plugins/observability/docs/openapi/slo/paths/s@{spaceid}@api@slos@{sloid}@enable.yaml rename to x-pack/plugins/observability_solution/observability/docs/openapi/slo/paths/s@{spaceid}@api@slos@{sloid}@enable.yaml diff --git a/x-pack/plugins/observability_solution/observability/jest.config.js b/x-pack/plugins/observability_solution/observability/jest.config.js new file mode 100644 index 0000000000000..77d49b80d8bf5 --- /dev/null +++ b/x-pack/plugins/observability_solution/observability/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/plugins/observability_solution/observability'], + setupFiles: [ + '/x-pack/plugins/observability_solution/observability/.storybook/jest_setup.js', + ], + coverageDirectory: + '/target/kibana-coverage/jest/x-pack/plugins/observability_solution/observability', + coverageReporters: ['text', 'html'], + collectCoverageFrom: [ + '/x-pack/plugins/observability_solution/observability/{common,public,server}/**/*.{js,ts,tsx}', + ], +}; diff --git a/x-pack/plugins/observability/kibana.jsonc b/x-pack/plugins/observability_solution/observability/kibana.jsonc similarity index 100% rename from x-pack/plugins/observability/kibana.jsonc rename to x-pack/plugins/observability_solution/observability/kibana.jsonc diff --git a/x-pack/plugins/observability/public/application/application.test.tsx b/x-pack/plugins/observability_solution/observability/public/application/application.test.tsx similarity index 100% rename from x-pack/plugins/observability/public/application/application.test.tsx rename to x-pack/plugins/observability_solution/observability/public/application/application.test.tsx diff --git a/x-pack/plugins/observability/public/application/hideable_react_query_dev_tools.tsx b/x-pack/plugins/observability_solution/observability/public/application/hideable_react_query_dev_tools.tsx similarity index 100% rename from x-pack/plugins/observability/public/application/hideable_react_query_dev_tools.tsx rename to x-pack/plugins/observability_solution/observability/public/application/hideable_react_query_dev_tools.tsx diff --git a/x-pack/plugins/observability/public/application/index.tsx b/x-pack/plugins/observability_solution/observability/public/application/index.tsx similarity index 100% rename from x-pack/plugins/observability/public/application/index.tsx rename to x-pack/plugins/observability_solution/observability/public/application/index.tsx diff --git a/x-pack/plugins/observability/public/assets/illustration_dark.svg b/x-pack/plugins/observability_solution/observability/public/assets/illustration_dark.svg similarity index 100% rename from x-pack/plugins/observability/public/assets/illustration_dark.svg rename to x-pack/plugins/observability_solution/observability/public/assets/illustration_dark.svg diff --git a/x-pack/plugins/observability/public/assets/illustration_light.svg b/x-pack/plugins/observability_solution/observability/public/assets/illustration_light.svg similarity index 100% rename from x-pack/plugins/observability/public/assets/illustration_light.svg rename to x-pack/plugins/observability_solution/observability/public/assets/illustration_light.svg diff --git a/x-pack/plugins/observability/public/assets/kibana_dashboard_dark.svg b/x-pack/plugins/observability_solution/observability/public/assets/kibana_dashboard_dark.svg similarity index 100% rename from x-pack/plugins/observability/public/assets/kibana_dashboard_dark.svg rename to x-pack/plugins/observability_solution/observability/public/assets/kibana_dashboard_dark.svg diff --git a/x-pack/plugins/observability/public/assets/kibana_dashboard_light.svg b/x-pack/plugins/observability_solution/observability/public/assets/kibana_dashboard_light.svg similarity index 100% rename from x-pack/plugins/observability/public/assets/kibana_dashboard_light.svg rename to x-pack/plugins/observability_solution/observability/public/assets/kibana_dashboard_light.svg diff --git a/x-pack/plugins/observability/public/assets/onboarding_tour_step_alerts.gif b/x-pack/plugins/observability_solution/observability/public/assets/onboarding_tour_step_alerts.gif similarity index 100% rename from x-pack/plugins/observability/public/assets/onboarding_tour_step_alerts.gif rename to x-pack/plugins/observability_solution/observability/public/assets/onboarding_tour_step_alerts.gif diff --git a/x-pack/plugins/observability/public/assets/onboarding_tour_step_logs.gif b/x-pack/plugins/observability_solution/observability/public/assets/onboarding_tour_step_logs.gif similarity index 100% rename from x-pack/plugins/observability/public/assets/onboarding_tour_step_logs.gif rename to x-pack/plugins/observability_solution/observability/public/assets/onboarding_tour_step_logs.gif diff --git a/x-pack/plugins/observability/public/assets/onboarding_tour_step_metrics.gif b/x-pack/plugins/observability_solution/observability/public/assets/onboarding_tour_step_metrics.gif similarity index 100% rename from x-pack/plugins/observability/public/assets/onboarding_tour_step_metrics.gif rename to x-pack/plugins/observability_solution/observability/public/assets/onboarding_tour_step_metrics.gif diff --git a/x-pack/plugins/observability/public/assets/onboarding_tour_step_services.gif b/x-pack/plugins/observability_solution/observability/public/assets/onboarding_tour_step_services.gif similarity index 100% rename from x-pack/plugins/observability/public/assets/onboarding_tour_step_services.gif rename to x-pack/plugins/observability_solution/observability/public/assets/onboarding_tour_step_services.gif diff --git a/x-pack/plugins/observability/public/components/alert_search_bar/alert_search_bar.test.tsx b/x-pack/plugins/observability_solution/observability/public/components/alert_search_bar/alert_search_bar.test.tsx similarity index 100% rename from x-pack/plugins/observability/public/components/alert_search_bar/alert_search_bar.test.tsx rename to x-pack/plugins/observability_solution/observability/public/components/alert_search_bar/alert_search_bar.test.tsx diff --git a/x-pack/plugins/observability/public/components/alert_search_bar/alert_search_bar.tsx b/x-pack/plugins/observability_solution/observability/public/components/alert_search_bar/alert_search_bar.tsx similarity index 100% rename from x-pack/plugins/observability/public/components/alert_search_bar/alert_search_bar.tsx rename to x-pack/plugins/observability_solution/observability/public/components/alert_search_bar/alert_search_bar.tsx diff --git a/x-pack/plugins/observability/public/components/alert_search_bar/alert_search_bar_with_url_sync.tsx b/x-pack/plugins/observability_solution/observability/public/components/alert_search_bar/alert_search_bar_with_url_sync.tsx similarity index 100% rename from x-pack/plugins/observability/public/components/alert_search_bar/alert_search_bar_with_url_sync.tsx rename to x-pack/plugins/observability_solution/observability/public/components/alert_search_bar/alert_search_bar_with_url_sync.tsx diff --git a/x-pack/plugins/observability/public/components/alert_search_bar/components/alerts_status_filter.tsx b/x-pack/plugins/observability_solution/observability/public/components/alert_search_bar/components/alerts_status_filter.tsx similarity index 100% rename from x-pack/plugins/observability/public/components/alert_search_bar/components/alerts_status_filter.tsx rename to x-pack/plugins/observability_solution/observability/public/components/alert_search_bar/components/alerts_status_filter.tsx diff --git a/x-pack/plugins/observability/public/components/alert_search_bar/components/index.ts b/x-pack/plugins/observability_solution/observability/public/components/alert_search_bar/components/index.ts similarity index 100% rename from x-pack/plugins/observability/public/components/alert_search_bar/components/index.ts rename to x-pack/plugins/observability_solution/observability/public/components/alert_search_bar/components/index.ts diff --git a/x-pack/plugins/observability/public/components/alert_search_bar/constants.ts b/x-pack/plugins/observability_solution/observability/public/components/alert_search_bar/constants.ts similarity index 100% rename from x-pack/plugins/observability/public/components/alert_search_bar/constants.ts rename to x-pack/plugins/observability_solution/observability/public/components/alert_search_bar/constants.ts diff --git a/x-pack/plugins/observability/public/components/alert_search_bar/containers/index.tsx b/x-pack/plugins/observability_solution/observability/public/components/alert_search_bar/containers/index.tsx similarity index 100% rename from x-pack/plugins/observability/public/components/alert_search_bar/containers/index.tsx rename to x-pack/plugins/observability_solution/observability/public/components/alert_search_bar/containers/index.tsx diff --git a/x-pack/plugins/observability/public/components/alert_search_bar/containers/state_container.tsx b/x-pack/plugins/observability_solution/observability/public/components/alert_search_bar/containers/state_container.tsx similarity index 100% rename from x-pack/plugins/observability/public/components/alert_search_bar/containers/state_container.tsx rename to x-pack/plugins/observability_solution/observability/public/components/alert_search_bar/containers/state_container.tsx diff --git a/x-pack/plugins/observability/public/components/alert_search_bar/containers/use_alert_search_bar_state_container.tsx b/x-pack/plugins/observability_solution/observability/public/components/alert_search_bar/containers/use_alert_search_bar_state_container.tsx similarity index 100% rename from x-pack/plugins/observability/public/components/alert_search_bar/containers/use_alert_search_bar_state_container.tsx rename to x-pack/plugins/observability_solution/observability/public/components/alert_search_bar/containers/use_alert_search_bar_state_container.tsx diff --git a/x-pack/plugins/observability/public/components/alert_search_bar/get_alert_search_bar_lazy.tsx b/x-pack/plugins/observability_solution/observability/public/components/alert_search_bar/get_alert_search_bar_lazy.tsx similarity index 100% rename from x-pack/plugins/observability/public/components/alert_search_bar/get_alert_search_bar_lazy.tsx rename to x-pack/plugins/observability_solution/observability/public/components/alert_search_bar/get_alert_search_bar_lazy.tsx diff --git a/x-pack/plugins/observability/public/components/alert_search_bar/types.ts b/x-pack/plugins/observability_solution/observability/public/components/alert_search_bar/types.ts similarity index 100% rename from x-pack/plugins/observability/public/components/alert_search_bar/types.ts rename to x-pack/plugins/observability_solution/observability/public/components/alert_search_bar/types.ts diff --git a/x-pack/plugins/observability/public/components/alert_severity_badge.stories.tsx b/x-pack/plugins/observability_solution/observability/public/components/alert_severity_badge.stories.tsx similarity index 100% rename from x-pack/plugins/observability/public/components/alert_severity_badge.stories.tsx rename to x-pack/plugins/observability_solution/observability/public/components/alert_severity_badge.stories.tsx diff --git a/x-pack/plugins/observability/public/components/alert_severity_badge.tsx b/x-pack/plugins/observability_solution/observability/public/components/alert_severity_badge.tsx similarity index 100% rename from x-pack/plugins/observability/public/components/alert_severity_badge.tsx rename to x-pack/plugins/observability_solution/observability/public/components/alert_severity_badge.tsx diff --git a/x-pack/plugins/observability/public/components/alert_status_indicator.tsx b/x-pack/plugins/observability_solution/observability/public/components/alert_status_indicator.tsx similarity index 100% rename from x-pack/plugins/observability/public/components/alert_status_indicator.tsx rename to x-pack/plugins/observability_solution/observability/public/components/alert_status_indicator.tsx diff --git a/x-pack/plugins/observability/public/components/alerts_flyout/alerts_flyout.mock.ts b/x-pack/plugins/observability_solution/observability/public/components/alerts_flyout/alerts_flyout.mock.ts similarity index 100% rename from x-pack/plugins/observability/public/components/alerts_flyout/alerts_flyout.mock.ts rename to x-pack/plugins/observability_solution/observability/public/components/alerts_flyout/alerts_flyout.mock.ts diff --git a/x-pack/plugins/observability/public/components/alerts_flyout/alerts_flyout.stories.tsx b/x-pack/plugins/observability_solution/observability/public/components/alerts_flyout/alerts_flyout.stories.tsx similarity index 100% rename from x-pack/plugins/observability/public/components/alerts_flyout/alerts_flyout.stories.tsx rename to x-pack/plugins/observability_solution/observability/public/components/alerts_flyout/alerts_flyout.stories.tsx diff --git a/x-pack/plugins/observability/public/components/alerts_flyout/alerts_flyout.test.tsx b/x-pack/plugins/observability_solution/observability/public/components/alerts_flyout/alerts_flyout.test.tsx similarity index 100% rename from x-pack/plugins/observability/public/components/alerts_flyout/alerts_flyout.test.tsx rename to x-pack/plugins/observability_solution/observability/public/components/alerts_flyout/alerts_flyout.test.tsx diff --git a/x-pack/plugins/observability/public/components/alerts_flyout/alerts_flyout.tsx b/x-pack/plugins/observability_solution/observability/public/components/alerts_flyout/alerts_flyout.tsx similarity index 100% rename from x-pack/plugins/observability/public/components/alerts_flyout/alerts_flyout.tsx rename to x-pack/plugins/observability_solution/observability/public/components/alerts_flyout/alerts_flyout.tsx diff --git a/x-pack/plugins/observability/public/components/alerts_flyout/alerts_flyout_body.test.tsx b/x-pack/plugins/observability_solution/observability/public/components/alerts_flyout/alerts_flyout_body.test.tsx similarity index 100% rename from x-pack/plugins/observability/public/components/alerts_flyout/alerts_flyout_body.test.tsx rename to x-pack/plugins/observability_solution/observability/public/components/alerts_flyout/alerts_flyout_body.test.tsx diff --git a/x-pack/plugins/observability/public/components/alerts_flyout/alerts_flyout_body.tsx b/x-pack/plugins/observability_solution/observability/public/components/alerts_flyout/alerts_flyout_body.tsx similarity index 100% rename from x-pack/plugins/observability/public/components/alerts_flyout/alerts_flyout_body.tsx rename to x-pack/plugins/observability_solution/observability/public/components/alerts_flyout/alerts_flyout_body.tsx diff --git a/x-pack/plugins/observability/public/components/alerts_flyout/alerts_flyout_footer.tsx b/x-pack/plugins/observability_solution/observability/public/components/alerts_flyout/alerts_flyout_footer.tsx similarity index 100% rename from x-pack/plugins/observability/public/components/alerts_flyout/alerts_flyout_footer.tsx rename to x-pack/plugins/observability_solution/observability/public/components/alerts_flyout/alerts_flyout_footer.tsx diff --git a/x-pack/plugins/observability/public/components/alerts_flyout/alerts_flyout_header.tsx b/x-pack/plugins/observability_solution/observability/public/components/alerts_flyout/alerts_flyout_header.tsx similarity index 100% rename from x-pack/plugins/observability/public/components/alerts_flyout/alerts_flyout_header.tsx rename to x-pack/plugins/observability_solution/observability/public/components/alerts_flyout/alerts_flyout_header.tsx diff --git a/x-pack/plugins/observability/public/components/alerts_flyout/use_get_alert_flyout_components.tsx b/x-pack/plugins/observability_solution/observability/public/components/alerts_flyout/use_get_alert_flyout_components.tsx similarity index 100% rename from x-pack/plugins/observability/public/components/alerts_flyout/use_get_alert_flyout_components.tsx rename to x-pack/plugins/observability_solution/observability/public/components/alerts_flyout/use_get_alert_flyout_components.tsx diff --git a/x-pack/plugins/observability/public/components/alerts_table/alerts/get_alerts_page_table_configuration.tsx b/x-pack/plugins/observability_solution/observability/public/components/alerts_table/alerts/get_alerts_page_table_configuration.tsx similarity index 100% rename from x-pack/plugins/observability/public/components/alerts_table/alerts/get_alerts_page_table_configuration.tsx rename to x-pack/plugins/observability_solution/observability/public/components/alerts_table/alerts/get_alerts_page_table_configuration.tsx diff --git a/x-pack/plugins/observability/public/components/alerts_table/common/cell_tooltip.test.tsx b/x-pack/plugins/observability_solution/observability/public/components/alerts_table/common/cell_tooltip.test.tsx similarity index 100% rename from x-pack/plugins/observability/public/components/alerts_table/common/cell_tooltip.test.tsx rename to x-pack/plugins/observability_solution/observability/public/components/alerts_table/common/cell_tooltip.test.tsx diff --git a/x-pack/plugins/observability/public/components/alerts_table/common/cell_tooltip.tsx b/x-pack/plugins/observability_solution/observability/public/components/alerts_table/common/cell_tooltip.tsx similarity index 100% rename from x-pack/plugins/observability/public/components/alerts_table/common/cell_tooltip.tsx rename to x-pack/plugins/observability_solution/observability/public/components/alerts_table/common/cell_tooltip.tsx diff --git a/x-pack/plugins/observability/public/components/alerts_table/common/get_columns.tsx b/x-pack/plugins/observability_solution/observability/public/components/alerts_table/common/get_columns.tsx similarity index 100% rename from x-pack/plugins/observability/public/components/alerts_table/common/get_columns.tsx rename to x-pack/plugins/observability_solution/observability/public/components/alerts_table/common/get_columns.tsx diff --git a/x-pack/plugins/observability/public/components/alerts_table/common/render_cell_value.test.tsx b/x-pack/plugins/observability_solution/observability/public/components/alerts_table/common/render_cell_value.test.tsx similarity index 100% rename from x-pack/plugins/observability/public/components/alerts_table/common/render_cell_value.test.tsx rename to x-pack/plugins/observability_solution/observability/public/components/alerts_table/common/render_cell_value.test.tsx diff --git a/x-pack/plugins/observability/public/components/alerts_table/common/render_cell_value.tsx b/x-pack/plugins/observability_solution/observability/public/components/alerts_table/common/render_cell_value.tsx similarity index 100% rename from x-pack/plugins/observability/public/components/alerts_table/common/render_cell_value.tsx rename to x-pack/plugins/observability_solution/observability/public/components/alerts_table/common/render_cell_value.tsx diff --git a/x-pack/plugins/observability/public/components/alerts_table/common/timestamp_tooltip.test.tsx b/x-pack/plugins/observability_solution/observability/public/components/alerts_table/common/timestamp_tooltip.test.tsx similarity index 100% rename from x-pack/plugins/observability/public/components/alerts_table/common/timestamp_tooltip.test.tsx rename to x-pack/plugins/observability_solution/observability/public/components/alerts_table/common/timestamp_tooltip.test.tsx diff --git a/x-pack/plugins/observability/public/components/alerts_table/common/timestamp_tooltip.tsx b/x-pack/plugins/observability_solution/observability/public/components/alerts_table/common/timestamp_tooltip.tsx similarity index 100% rename from x-pack/plugins/observability/public/components/alerts_table/common/timestamp_tooltip.tsx rename to x-pack/plugins/observability_solution/observability/public/components/alerts_table/common/timestamp_tooltip.tsx diff --git a/x-pack/plugins/observability/public/components/alerts_table/register_alerts_table_configuration.tsx b/x-pack/plugins/observability_solution/observability/public/components/alerts_table/register_alerts_table_configuration.tsx similarity index 100% rename from x-pack/plugins/observability/public/components/alerts_table/register_alerts_table_configuration.tsx rename to x-pack/plugins/observability_solution/observability/public/components/alerts_table/register_alerts_table_configuration.tsx diff --git a/x-pack/plugins/observability/public/components/alerts_table/rule_details/get_rule_details_table_configuration.tsx b/x-pack/plugins/observability_solution/observability/public/components/alerts_table/rule_details/get_rule_details_table_configuration.tsx similarity index 100% rename from x-pack/plugins/observability/public/components/alerts_table/rule_details/get_rule_details_table_configuration.tsx rename to x-pack/plugins/observability_solution/observability/public/components/alerts_table/rule_details/get_rule_details_table_configuration.tsx diff --git a/x-pack/plugins/observability/public/components/alerts_table/slo/default_columns.tsx b/x-pack/plugins/observability_solution/observability/public/components/alerts_table/slo/default_columns.tsx similarity index 100% rename from x-pack/plugins/observability/public/components/alerts_table/slo/default_columns.tsx rename to x-pack/plugins/observability_solution/observability/public/components/alerts_table/slo/default_columns.tsx diff --git a/x-pack/plugins/observability/public/components/alerts_table/slo/get_slo_alerts_table_configuration.tsx b/x-pack/plugins/observability_solution/observability/public/components/alerts_table/slo/get_slo_alerts_table_configuration.tsx similarity index 100% rename from x-pack/plugins/observability/public/components/alerts_table/slo/get_slo_alerts_table_configuration.tsx rename to x-pack/plugins/observability_solution/observability/public/components/alerts_table/slo/get_slo_alerts_table_configuration.tsx diff --git a/x-pack/plugins/observability/public/components/burn_rate_rule_editor/alert_time_table.tsx b/x-pack/plugins/observability_solution/observability/public/components/burn_rate_rule_editor/alert_time_table.tsx similarity index 100% rename from x-pack/plugins/observability/public/components/burn_rate_rule_editor/alert_time_table.tsx rename to x-pack/plugins/observability_solution/observability/public/components/burn_rate_rule_editor/alert_time_table.tsx diff --git a/x-pack/plugins/observability/public/components/burn_rate_rule_editor/budget_consumed.tsx b/x-pack/plugins/observability_solution/observability/public/components/burn_rate_rule_editor/budget_consumed.tsx similarity index 100% rename from x-pack/plugins/observability/public/components/burn_rate_rule_editor/budget_consumed.tsx rename to x-pack/plugins/observability_solution/observability/public/components/burn_rate_rule_editor/budget_consumed.tsx diff --git a/x-pack/plugins/observability/public/components/burn_rate_rule_editor/burn_rate.tsx b/x-pack/plugins/observability_solution/observability/public/components/burn_rate_rule_editor/burn_rate.tsx similarity index 100% rename from x-pack/plugins/observability/public/components/burn_rate_rule_editor/burn_rate.tsx rename to x-pack/plugins/observability_solution/observability/public/components/burn_rate_rule_editor/burn_rate.tsx diff --git a/x-pack/plugins/observability/public/components/burn_rate_rule_editor/burn_rate_rule_editor.stories.tsx b/x-pack/plugins/observability_solution/observability/public/components/burn_rate_rule_editor/burn_rate_rule_editor.stories.tsx similarity index 100% rename from x-pack/plugins/observability/public/components/burn_rate_rule_editor/burn_rate_rule_editor.stories.tsx rename to x-pack/plugins/observability_solution/observability/public/components/burn_rate_rule_editor/burn_rate_rule_editor.stories.tsx diff --git a/x-pack/plugins/observability/public/components/burn_rate_rule_editor/burn_rate_rule_editor.tsx b/x-pack/plugins/observability_solution/observability/public/components/burn_rate_rule_editor/burn_rate_rule_editor.tsx similarity index 90% rename from x-pack/plugins/observability/public/components/burn_rate_rule_editor/burn_rate_rule_editor.tsx rename to x-pack/plugins/observability_solution/observability/public/components/burn_rate_rule_editor/burn_rate_rule_editor.tsx index 70451de2cc9e6..235e54380e516 100644 --- a/x-pack/plugins/observability/public/components/burn_rate_rule_editor/burn_rate_rule_editor.tsx +++ b/x-pack/plugins/observability_solution/observability/public/components/burn_rate_rule_editor/burn_rate_rule_editor.tsx @@ -18,6 +18,7 @@ import { ValidationBurnRateRuleResult } from './validation'; import { createNewWindow, Windows } from './windows'; import { BURN_RATE_DEFAULTS } from './constants'; import { AlertTimeTable } from './alert_time_table'; +import { getGroupKeysProse } from '../../utils/slo/groupings'; type Props = Pick< RuleTypeParamsExpressionProps, @@ -67,7 +68,7 @@ export function BurnRateRuleEditor(props: Props) { - {selectedSlo?.groupBy && selectedSlo.groupBy !== ALL_VALUE && ( + {selectedSlo?.groupBy && ![selectedSlo.groupBy].flat().includes(ALL_VALUE) && ( <> diff --git a/x-pack/plugins/observability/public/components/burn_rate_rule_editor/constants.ts b/x-pack/plugins/observability_solution/observability/public/components/burn_rate_rule_editor/constants.ts similarity index 100% rename from x-pack/plugins/observability/public/components/burn_rate_rule_editor/constants.ts rename to x-pack/plugins/observability_solution/observability/public/components/burn_rate_rule_editor/constants.ts diff --git a/x-pack/plugins/observability/public/components/burn_rate_rule_editor/index.tsx b/x-pack/plugins/observability_solution/observability/public/components/burn_rate_rule_editor/index.tsx similarity index 100% rename from x-pack/plugins/observability/public/components/burn_rate_rule_editor/index.tsx rename to x-pack/plugins/observability_solution/observability/public/components/burn_rate_rule_editor/index.tsx diff --git a/x-pack/plugins/observability/public/components/burn_rate_rule_editor/long_window_duration.tsx b/x-pack/plugins/observability_solution/observability/public/components/burn_rate_rule_editor/long_window_duration.tsx similarity index 100% rename from x-pack/plugins/observability/public/components/burn_rate_rule_editor/long_window_duration.tsx rename to x-pack/plugins/observability_solution/observability/public/components/burn_rate_rule_editor/long_window_duration.tsx diff --git a/x-pack/plugins/observability/public/components/burn_rate_rule_editor/slo_selector.stories.tsx b/x-pack/plugins/observability_solution/observability/public/components/burn_rate_rule_editor/slo_selector.stories.tsx similarity index 100% rename from x-pack/plugins/observability/public/components/burn_rate_rule_editor/slo_selector.stories.tsx rename to x-pack/plugins/observability_solution/observability/public/components/burn_rate_rule_editor/slo_selector.stories.tsx diff --git a/x-pack/plugins/observability/public/components/burn_rate_rule_editor/slo_selector.test.tsx b/x-pack/plugins/observability_solution/observability/public/components/burn_rate_rule_editor/slo_selector.test.tsx similarity index 100% rename from x-pack/plugins/observability/public/components/burn_rate_rule_editor/slo_selector.test.tsx rename to x-pack/plugins/observability_solution/observability/public/components/burn_rate_rule_editor/slo_selector.test.tsx diff --git a/x-pack/plugins/observability/public/components/burn_rate_rule_editor/slo_selector.tsx b/x-pack/plugins/observability_solution/observability/public/components/burn_rate_rule_editor/slo_selector.tsx similarity index 100% rename from x-pack/plugins/observability/public/components/burn_rate_rule_editor/slo_selector.tsx rename to x-pack/plugins/observability_solution/observability/public/components/burn_rate_rule_editor/slo_selector.tsx diff --git a/x-pack/plugins/observability/public/components/burn_rate_rule_editor/validation.test.ts b/x-pack/plugins/observability_solution/observability/public/components/burn_rate_rule_editor/validation.test.ts similarity index 100% rename from x-pack/plugins/observability/public/components/burn_rate_rule_editor/validation.test.ts rename to x-pack/plugins/observability_solution/observability/public/components/burn_rate_rule_editor/validation.test.ts diff --git a/x-pack/plugins/observability/public/components/burn_rate_rule_editor/validation.ts b/x-pack/plugins/observability_solution/observability/public/components/burn_rate_rule_editor/validation.ts similarity index 100% rename from x-pack/plugins/observability/public/components/burn_rate_rule_editor/validation.ts rename to x-pack/plugins/observability_solution/observability/public/components/burn_rate_rule_editor/validation.ts diff --git a/x-pack/plugins/observability/public/components/burn_rate_rule_editor/windows.tsx b/x-pack/plugins/observability_solution/observability/public/components/burn_rate_rule_editor/windows.tsx similarity index 100% rename from x-pack/plugins/observability/public/components/burn_rate_rule_editor/windows.tsx rename to x-pack/plugins/observability_solution/observability/public/components/burn_rate_rule_editor/windows.tsx diff --git a/x-pack/plugins/observability/public/components/center_justified_spinner.tsx b/x-pack/plugins/observability_solution/observability/public/components/center_justified_spinner.tsx similarity index 100% rename from x-pack/plugins/observability/public/components/center_justified_spinner.tsx rename to x-pack/plugins/observability_solution/observability/public/components/center_justified_spinner.tsx diff --git a/x-pack/plugins/observability/public/components/custom_threshold/components/alert_details_app_section/__snapshots__/alert_details_app_section.test.tsx.snap b/x-pack/plugins/observability_solution/observability/public/components/custom_threshold/components/alert_details_app_section/__snapshots__/alert_details_app_section.test.tsx.snap similarity index 100% rename from x-pack/plugins/observability/public/components/custom_threshold/components/alert_details_app_section/__snapshots__/alert_details_app_section.test.tsx.snap rename to x-pack/plugins/observability_solution/observability/public/components/custom_threshold/components/alert_details_app_section/__snapshots__/alert_details_app_section.test.tsx.snap diff --git a/x-pack/plugins/observability/public/components/custom_threshold/components/alert_details_app_section/alert_details_app_section.test.tsx b/x-pack/plugins/observability_solution/observability/public/components/custom_threshold/components/alert_details_app_section/alert_details_app_section.test.tsx similarity index 100% rename from x-pack/plugins/observability/public/components/custom_threshold/components/alert_details_app_section/alert_details_app_section.test.tsx rename to x-pack/plugins/observability_solution/observability/public/components/custom_threshold/components/alert_details_app_section/alert_details_app_section.test.tsx diff --git a/x-pack/plugins/observability/public/components/custom_threshold/components/alert_details_app_section/alert_details_app_section.tsx b/x-pack/plugins/observability_solution/observability/public/components/custom_threshold/components/alert_details_app_section/alert_details_app_section.tsx similarity index 100% rename from x-pack/plugins/observability/public/components/custom_threshold/components/alert_details_app_section/alert_details_app_section.tsx rename to x-pack/plugins/observability_solution/observability/public/components/custom_threshold/components/alert_details_app_section/alert_details_app_section.tsx diff --git a/x-pack/plugins/observability/public/components/custom_threshold/components/alert_details_app_section/alert_history.tsx b/x-pack/plugins/observability_solution/observability/public/components/custom_threshold/components/alert_details_app_section/alert_history.tsx similarity index 100% rename from x-pack/plugins/observability/public/components/custom_threshold/components/alert_details_app_section/alert_history.tsx rename to x-pack/plugins/observability_solution/observability/public/components/custom_threshold/components/alert_details_app_section/alert_history.tsx diff --git a/x-pack/plugins/observability/public/components/custom_threshold/components/alert_details_app_section/groups.tsx b/x-pack/plugins/observability_solution/observability/public/components/custom_threshold/components/alert_details_app_section/groups.tsx similarity index 100% rename from x-pack/plugins/observability/public/components/custom_threshold/components/alert_details_app_section/groups.tsx rename to x-pack/plugins/observability_solution/observability/public/components/custom_threshold/components/alert_details_app_section/groups.tsx diff --git a/x-pack/plugins/observability/public/components/custom_threshold/components/alert_details_app_section/helpers/__snapshots__/log_rate_analysis_query.test.ts.snap b/x-pack/plugins/observability_solution/observability/public/components/custom_threshold/components/alert_details_app_section/helpers/__snapshots__/log_rate_analysis_query.test.ts.snap similarity index 100% rename from x-pack/plugins/observability/public/components/custom_threshold/components/alert_details_app_section/helpers/__snapshots__/log_rate_analysis_query.test.ts.snap rename to x-pack/plugins/observability_solution/observability/public/components/custom_threshold/components/alert_details_app_section/helpers/__snapshots__/log_rate_analysis_query.test.ts.snap diff --git a/x-pack/plugins/observability/public/components/custom_threshold/components/alert_details_app_section/helpers/get_initial_analysis_start.ts b/x-pack/plugins/observability_solution/observability/public/components/custom_threshold/components/alert_details_app_section/helpers/get_initial_analysis_start.ts similarity index 100% rename from x-pack/plugins/observability/public/components/custom_threshold/components/alert_details_app_section/helpers/get_initial_analysis_start.ts rename to x-pack/plugins/observability_solution/observability/public/components/custom_threshold/components/alert_details_app_section/helpers/get_initial_analysis_start.ts diff --git a/x-pack/plugins/observability/public/components/custom_threshold/components/alert_details_app_section/helpers/log_rate_analysis_query.test.ts b/x-pack/plugins/observability_solution/observability/public/components/custom_threshold/components/alert_details_app_section/helpers/log_rate_analysis_query.test.ts similarity index 100% rename from x-pack/plugins/observability/public/components/custom_threshold/components/alert_details_app_section/helpers/log_rate_analysis_query.test.ts rename to x-pack/plugins/observability_solution/observability/public/components/custom_threshold/components/alert_details_app_section/helpers/log_rate_analysis_query.test.ts diff --git a/x-pack/plugins/observability/public/components/custom_threshold/components/alert_details_app_section/helpers/log_rate_analysis_query.ts b/x-pack/plugins/observability_solution/observability/public/components/custom_threshold/components/alert_details_app_section/helpers/log_rate_analysis_query.ts similarity index 100% rename from x-pack/plugins/observability/public/components/custom_threshold/components/alert_details_app_section/helpers/log_rate_analysis_query.ts rename to x-pack/plugins/observability_solution/observability/public/components/custom_threshold/components/alert_details_app_section/helpers/log_rate_analysis_query.ts diff --git a/x-pack/plugins/observability/public/components/custom_threshold/components/alert_details_app_section/log_rate_analysis.tsx b/x-pack/plugins/observability_solution/observability/public/components/custom_threshold/components/alert_details_app_section/log_rate_analysis.tsx similarity index 100% rename from x-pack/plugins/observability/public/components/custom_threshold/components/alert_details_app_section/log_rate_analysis.tsx rename to x-pack/plugins/observability_solution/observability/public/components/custom_threshold/components/alert_details_app_section/log_rate_analysis.tsx diff --git a/x-pack/plugins/observability/public/components/custom_threshold/components/alert_details_app_section/tags.tsx b/x-pack/plugins/observability_solution/observability/public/components/custom_threshold/components/alert_details_app_section/tags.tsx similarity index 100% rename from x-pack/plugins/observability/public/components/custom_threshold/components/alert_details_app_section/tags.tsx rename to x-pack/plugins/observability_solution/observability/public/components/custom_threshold/components/alert_details_app_section/tags.tsx diff --git a/x-pack/plugins/observability/public/components/custom_threshold/components/closable_popover_title.test.tsx b/x-pack/plugins/observability_solution/observability/public/components/custom_threshold/components/closable_popover_title.test.tsx similarity index 100% rename from x-pack/plugins/observability/public/components/custom_threshold/components/closable_popover_title.test.tsx rename to x-pack/plugins/observability_solution/observability/public/components/custom_threshold/components/closable_popover_title.test.tsx diff --git a/x-pack/plugins/observability/public/components/custom_threshold/components/closable_popover_title.tsx b/x-pack/plugins/observability_solution/observability/public/components/custom_threshold/components/closable_popover_title.tsx similarity index 100% rename from x-pack/plugins/observability/public/components/custom_threshold/components/closable_popover_title.tsx rename to x-pack/plugins/observability_solution/observability/public/components/custom_threshold/components/closable_popover_title.tsx diff --git a/x-pack/plugins/observability/public/components/custom_threshold/components/criterion_preview_chart/criterion_preview_chart.tsx b/x-pack/plugins/observability_solution/observability/public/components/custom_threshold/components/criterion_preview_chart/criterion_preview_chart.tsx similarity index 100% rename from x-pack/plugins/observability/public/components/custom_threshold/components/criterion_preview_chart/criterion_preview_chart.tsx rename to x-pack/plugins/observability_solution/observability/public/components/custom_threshold/components/criterion_preview_chart/criterion_preview_chart.tsx diff --git a/x-pack/plugins/observability/public/components/custom_threshold/components/criterion_preview_chart/threshold_annotations.test.tsx b/x-pack/plugins/observability_solution/observability/public/components/custom_threshold/components/criterion_preview_chart/threshold_annotations.test.tsx similarity index 100% rename from x-pack/plugins/observability/public/components/custom_threshold/components/criterion_preview_chart/threshold_annotations.test.tsx rename to x-pack/plugins/observability_solution/observability/public/components/custom_threshold/components/criterion_preview_chart/threshold_annotations.test.tsx diff --git a/x-pack/plugins/observability/public/components/custom_threshold/components/criterion_preview_chart/threshold_annotations.tsx b/x-pack/plugins/observability_solution/observability/public/components/custom_threshold/components/criterion_preview_chart/threshold_annotations.tsx similarity index 100% rename from x-pack/plugins/observability/public/components/custom_threshold/components/criterion_preview_chart/threshold_annotations.tsx rename to x-pack/plugins/observability_solution/observability/public/components/custom_threshold/components/criterion_preview_chart/threshold_annotations.tsx diff --git a/x-pack/plugins/observability/public/components/custom_threshold/components/custom_equation/custom_equation_editor.stories.tsx b/x-pack/plugins/observability_solution/observability/public/components/custom_threshold/components/custom_equation/custom_equation_editor.stories.tsx similarity index 100% rename from x-pack/plugins/observability/public/components/custom_threshold/components/custom_equation/custom_equation_editor.stories.tsx rename to x-pack/plugins/observability_solution/observability/public/components/custom_threshold/components/custom_equation/custom_equation_editor.stories.tsx diff --git a/x-pack/plugins/observability/public/components/custom_threshold/components/custom_equation/custom_equation_editor.tsx b/x-pack/plugins/observability_solution/observability/public/components/custom_threshold/components/custom_equation/custom_equation_editor.tsx similarity index 100% rename from x-pack/plugins/observability/public/components/custom_threshold/components/custom_equation/custom_equation_editor.tsx rename to x-pack/plugins/observability_solution/observability/public/components/custom_threshold/components/custom_equation/custom_equation_editor.tsx diff --git a/x-pack/plugins/observability/public/components/custom_threshold/components/custom_equation/index.tsx b/x-pack/plugins/observability_solution/observability/public/components/custom_threshold/components/custom_equation/index.tsx similarity index 100% rename from x-pack/plugins/observability/public/components/custom_threshold/components/custom_equation/index.tsx rename to x-pack/plugins/observability_solution/observability/public/components/custom_threshold/components/custom_equation/index.tsx diff --git a/x-pack/plugins/observability/public/components/custom_threshold/components/custom_equation/metric_row_controls.tsx b/x-pack/plugins/observability_solution/observability/public/components/custom_threshold/components/custom_equation/metric_row_controls.tsx similarity index 100% rename from x-pack/plugins/observability/public/components/custom_threshold/components/custom_equation/metric_row_controls.tsx rename to x-pack/plugins/observability_solution/observability/public/components/custom_threshold/components/custom_equation/metric_row_controls.tsx diff --git a/x-pack/plugins/observability/public/components/custom_threshold/components/custom_equation/metric_row_with_agg.tsx b/x-pack/plugins/observability_solution/observability/public/components/custom_threshold/components/custom_equation/metric_row_with_agg.tsx similarity index 100% rename from x-pack/plugins/observability/public/components/custom_threshold/components/custom_equation/metric_row_with_agg.tsx rename to x-pack/plugins/observability_solution/observability/public/components/custom_threshold/components/custom_equation/metric_row_with_agg.tsx diff --git a/x-pack/plugins/observability/public/components/custom_threshold/components/custom_equation/types.ts b/x-pack/plugins/observability_solution/observability/public/components/custom_threshold/components/custom_equation/types.ts similarity index 100% rename from x-pack/plugins/observability/public/components/custom_threshold/components/custom_equation/types.ts rename to x-pack/plugins/observability_solution/observability/public/components/custom_threshold/components/custom_equation/types.ts diff --git a/x-pack/plugins/observability/public/components/custom_threshold/components/custom_threshold.stories.tsx b/x-pack/plugins/observability_solution/observability/public/components/custom_threshold/components/custom_threshold.stories.tsx similarity index 100% rename from x-pack/plugins/observability/public/components/custom_threshold/components/custom_threshold.stories.tsx rename to x-pack/plugins/observability_solution/observability/public/components/custom_threshold/components/custom_threshold.stories.tsx diff --git a/x-pack/plugins/observability/public/components/custom_threshold/components/custom_threshold.test.tsx b/x-pack/plugins/observability_solution/observability/public/components/custom_threshold/components/custom_threshold.test.tsx similarity index 100% rename from x-pack/plugins/observability/public/components/custom_threshold/components/custom_threshold.test.tsx rename to x-pack/plugins/observability_solution/observability/public/components/custom_threshold/components/custom_threshold.test.tsx diff --git a/x-pack/plugins/observability/public/components/custom_threshold/components/custom_threshold.tsx b/x-pack/plugins/observability_solution/observability/public/components/custom_threshold/components/custom_threshold.tsx similarity index 100% rename from x-pack/plugins/observability/public/components/custom_threshold/components/custom_threshold.tsx rename to x-pack/plugins/observability_solution/observability/public/components/custom_threshold/components/custom_threshold.tsx diff --git a/x-pack/plugins/observability/public/components/custom_threshold/components/expression_chart.test.tsx b/x-pack/plugins/observability_solution/observability/public/components/custom_threshold/components/expression_chart.test.tsx similarity index 100% rename from x-pack/plugins/observability/public/components/custom_threshold/components/expression_chart.test.tsx rename to x-pack/plugins/observability_solution/observability/public/components/custom_threshold/components/expression_chart.test.tsx diff --git a/x-pack/plugins/observability/public/components/custom_threshold/components/expression_chart.tsx b/x-pack/plugins/observability_solution/observability/public/components/custom_threshold/components/expression_chart.tsx similarity index 100% rename from x-pack/plugins/observability/public/components/custom_threshold/components/expression_chart.tsx rename to x-pack/plugins/observability_solution/observability/public/components/custom_threshold/components/expression_chart.tsx diff --git a/x-pack/plugins/observability/public/components/custom_threshold/components/expression_row.test.tsx b/x-pack/plugins/observability_solution/observability/public/components/custom_threshold/components/expression_row.test.tsx similarity index 100% rename from x-pack/plugins/observability/public/components/custom_threshold/components/expression_row.test.tsx rename to x-pack/plugins/observability_solution/observability/public/components/custom_threshold/components/expression_row.test.tsx diff --git a/x-pack/plugins/observability/public/components/custom_threshold/components/expression_row.tsx b/x-pack/plugins/observability_solution/observability/public/components/custom_threshold/components/expression_row.tsx similarity index 100% rename from x-pack/plugins/observability/public/components/custom_threshold/components/expression_row.tsx rename to x-pack/plugins/observability_solution/observability/public/components/custom_threshold/components/expression_row.tsx diff --git a/x-pack/plugins/observability/public/components/custom_threshold/components/group_by.tsx b/x-pack/plugins/observability_solution/observability/public/components/custom_threshold/components/group_by.tsx similarity index 100% rename from x-pack/plugins/observability/public/components/custom_threshold/components/group_by.tsx rename to x-pack/plugins/observability_solution/observability/public/components/custom_threshold/components/group_by.tsx diff --git a/x-pack/plugins/observability/public/components/custom_threshold/components/rule_condition_chart/helpers.test.ts b/x-pack/plugins/observability_solution/observability/public/components/custom_threshold/components/rule_condition_chart/helpers.test.ts similarity index 100% rename from x-pack/plugins/observability/public/components/custom_threshold/components/rule_condition_chart/helpers.test.ts rename to x-pack/plugins/observability_solution/observability/public/components/custom_threshold/components/rule_condition_chart/helpers.test.ts diff --git a/x-pack/plugins/observability/public/components/custom_threshold/components/rule_condition_chart/helpers.ts b/x-pack/plugins/observability_solution/observability/public/components/custom_threshold/components/rule_condition_chart/helpers.ts similarity index 100% rename from x-pack/plugins/observability/public/components/custom_threshold/components/rule_condition_chart/helpers.ts rename to x-pack/plugins/observability_solution/observability/public/components/custom_threshold/components/rule_condition_chart/helpers.ts diff --git a/x-pack/plugins/observability/public/components/custom_threshold/components/rule_condition_chart/painless_tinymath_parser.test.ts b/x-pack/plugins/observability_solution/observability/public/components/custom_threshold/components/rule_condition_chart/painless_tinymath_parser.test.ts similarity index 100% rename from x-pack/plugins/observability/public/components/custom_threshold/components/rule_condition_chart/painless_tinymath_parser.test.ts rename to x-pack/plugins/observability_solution/observability/public/components/custom_threshold/components/rule_condition_chart/painless_tinymath_parser.test.ts diff --git a/x-pack/plugins/observability/public/components/custom_threshold/components/rule_condition_chart/painless_tinymath_parser.ts b/x-pack/plugins/observability_solution/observability/public/components/custom_threshold/components/rule_condition_chart/painless_tinymath_parser.ts similarity index 100% rename from x-pack/plugins/observability/public/components/custom_threshold/components/rule_condition_chart/painless_tinymath_parser.ts rename to x-pack/plugins/observability_solution/observability/public/components/custom_threshold/components/rule_condition_chart/painless_tinymath_parser.ts diff --git a/x-pack/plugins/observability/public/components/custom_threshold/components/rule_condition_chart/rule_condition_chart.test.tsx b/x-pack/plugins/observability_solution/observability/public/components/custom_threshold/components/rule_condition_chart/rule_condition_chart.test.tsx similarity index 100% rename from x-pack/plugins/observability/public/components/custom_threshold/components/rule_condition_chart/rule_condition_chart.test.tsx rename to x-pack/plugins/observability_solution/observability/public/components/custom_threshold/components/rule_condition_chart/rule_condition_chart.test.tsx diff --git a/x-pack/plugins/observability/public/components/custom_threshold/components/rule_condition_chart/rule_condition_chart.tsx b/x-pack/plugins/observability_solution/observability/public/components/custom_threshold/components/rule_condition_chart/rule_condition_chart.tsx similarity index 100% rename from x-pack/plugins/observability/public/components/custom_threshold/components/rule_condition_chart/rule_condition_chart.tsx rename to x-pack/plugins/observability_solution/observability/public/components/custom_threshold/components/rule_condition_chart/rule_condition_chart.tsx diff --git a/x-pack/plugins/observability/public/components/custom_threshold/components/series_chart.tsx b/x-pack/plugins/observability_solution/observability/public/components/custom_threshold/components/series_chart.tsx similarity index 100% rename from x-pack/plugins/observability/public/components/custom_threshold/components/series_chart.tsx rename to x-pack/plugins/observability_solution/observability/public/components/custom_threshold/components/series_chart.tsx diff --git a/x-pack/plugins/observability/public/components/custom_threshold/components/triggers_actions_context.tsx b/x-pack/plugins/observability_solution/observability/public/components/custom_threshold/components/triggers_actions_context.tsx similarity index 100% rename from x-pack/plugins/observability/public/components/custom_threshold/components/triggers_actions_context.tsx rename to x-pack/plugins/observability_solution/observability/public/components/custom_threshold/components/triggers_actions_context.tsx diff --git a/x-pack/plugins/observability/public/components/custom_threshold/components/types.ts b/x-pack/plugins/observability_solution/observability/public/components/custom_threshold/components/types.ts similarity index 100% rename from x-pack/plugins/observability/public/components/custom_threshold/components/types.ts rename to x-pack/plugins/observability_solution/observability/public/components/custom_threshold/components/types.ts diff --git a/x-pack/plugins/observability/public/components/custom_threshold/components/validation.test.ts b/x-pack/plugins/observability_solution/observability/public/components/custom_threshold/components/validation.test.ts similarity index 100% rename from x-pack/plugins/observability/public/components/custom_threshold/components/validation.test.ts rename to x-pack/plugins/observability_solution/observability/public/components/custom_threshold/components/validation.test.ts diff --git a/x-pack/plugins/observability/public/components/custom_threshold/components/validation.tsx b/x-pack/plugins/observability_solution/observability/public/components/custom_threshold/components/validation.tsx similarity index 100% rename from x-pack/plugins/observability/public/components/custom_threshold/components/validation.tsx rename to x-pack/plugins/observability_solution/observability/public/components/custom_threshold/components/validation.tsx diff --git a/x-pack/plugins/observability/public/components/custom_threshold/custom_threshold_rule_expression.test.tsx b/x-pack/plugins/observability_solution/observability/public/components/custom_threshold/custom_threshold_rule_expression.test.tsx similarity index 100% rename from x-pack/plugins/observability/public/components/custom_threshold/custom_threshold_rule_expression.test.tsx rename to x-pack/plugins/observability_solution/observability/public/components/custom_threshold/custom_threshold_rule_expression.test.tsx diff --git a/x-pack/plugins/observability/public/components/custom_threshold/custom_threshold_rule_expression.tsx b/x-pack/plugins/observability_solution/observability/public/components/custom_threshold/custom_threshold_rule_expression.tsx similarity index 100% rename from x-pack/plugins/observability/public/components/custom_threshold/custom_threshold_rule_expression.tsx rename to x-pack/plugins/observability_solution/observability/public/components/custom_threshold/custom_threshold_rule_expression.tsx diff --git a/x-pack/plugins/observability/public/components/custom_threshold/helpers/adjust_threshold_based_on_format.test.ts b/x-pack/plugins/observability_solution/observability/public/components/custom_threshold/helpers/adjust_threshold_based_on_format.test.ts similarity index 100% rename from x-pack/plugins/observability/public/components/custom_threshold/helpers/adjust_threshold_based_on_format.test.ts rename to x-pack/plugins/observability_solution/observability/public/components/custom_threshold/helpers/adjust_threshold_based_on_format.test.ts diff --git a/x-pack/plugins/observability/public/components/custom_threshold/helpers/adjust_threshold_based_on_format.ts b/x-pack/plugins/observability_solution/observability/public/components/custom_threshold/helpers/adjust_threshold_based_on_format.ts similarity index 100% rename from x-pack/plugins/observability/public/components/custom_threshold/helpers/adjust_threshold_based_on_format.ts rename to x-pack/plugins/observability_solution/observability/public/components/custom_threshold/helpers/adjust_threshold_based_on_format.ts diff --git a/x-pack/plugins/observability/public/components/custom_threshold/helpers/calculate_domain.ts b/x-pack/plugins/observability_solution/observability/public/components/custom_threshold/helpers/calculate_domain.ts similarity index 100% rename from x-pack/plugins/observability/public/components/custom_threshold/helpers/calculate_domain.ts rename to x-pack/plugins/observability_solution/observability/public/components/custom_threshold/helpers/calculate_domain.ts diff --git a/x-pack/plugins/observability/public/components/custom_threshold/helpers/corrected_percent_convert.test.ts b/x-pack/plugins/observability_solution/observability/public/components/custom_threshold/helpers/corrected_percent_convert.test.ts similarity index 100% rename from x-pack/plugins/observability/public/components/custom_threshold/helpers/corrected_percent_convert.test.ts rename to x-pack/plugins/observability_solution/observability/public/components/custom_threshold/helpers/corrected_percent_convert.test.ts diff --git a/x-pack/plugins/observability/public/components/custom_threshold/helpers/corrected_percent_convert.ts b/x-pack/plugins/observability_solution/observability/public/components/custom_threshold/helpers/corrected_percent_convert.ts similarity index 100% rename from x-pack/plugins/observability/public/components/custom_threshold/helpers/corrected_percent_convert.ts rename to x-pack/plugins/observability_solution/observability/public/components/custom_threshold/helpers/corrected_percent_convert.ts diff --git a/x-pack/plugins/observability/public/components/custom_threshold/helpers/create_formatter_for_metric.ts b/x-pack/plugins/observability_solution/observability/public/components/custom_threshold/helpers/create_formatter_for_metric.ts similarity index 100% rename from x-pack/plugins/observability/public/components/custom_threshold/helpers/create_formatter_for_metric.ts rename to x-pack/plugins/observability_solution/observability/public/components/custom_threshold/helpers/create_formatter_for_metric.ts diff --git a/x-pack/plugins/observability/public/components/custom_threshold/helpers/create_formatter_for_metrics.test.ts b/x-pack/plugins/observability_solution/observability/public/components/custom_threshold/helpers/create_formatter_for_metrics.test.ts similarity index 100% rename from x-pack/plugins/observability/public/components/custom_threshold/helpers/create_formatter_for_metrics.test.ts rename to x-pack/plugins/observability_solution/observability/public/components/custom_threshold/helpers/create_formatter_for_metrics.test.ts diff --git a/x-pack/plugins/observability/public/components/custom_threshold/helpers/kuery.ts b/x-pack/plugins/observability_solution/observability/public/components/custom_threshold/helpers/kuery.ts similarity index 100% rename from x-pack/plugins/observability/public/components/custom_threshold/helpers/kuery.ts rename to x-pack/plugins/observability_solution/observability/public/components/custom_threshold/helpers/kuery.ts diff --git a/x-pack/plugins/observability/public/components/custom_threshold/helpers/metric_to_format.ts b/x-pack/plugins/observability_solution/observability/public/components/custom_threshold/helpers/metric_to_format.ts similarity index 100% rename from x-pack/plugins/observability/public/components/custom_threshold/helpers/metric_to_format.ts rename to x-pack/plugins/observability_solution/observability/public/components/custom_threshold/helpers/metric_to_format.ts diff --git a/x-pack/plugins/observability/public/components/custom_threshold/helpers/notifications.ts b/x-pack/plugins/observability_solution/observability/public/components/custom_threshold/helpers/notifications.ts similarity index 100% rename from x-pack/plugins/observability/public/components/custom_threshold/helpers/notifications.ts rename to x-pack/plugins/observability_solution/observability/public/components/custom_threshold/helpers/notifications.ts diff --git a/x-pack/plugins/observability/public/components/custom_threshold/helpers/runtime_types.ts b/x-pack/plugins/observability_solution/observability/public/components/custom_threshold/helpers/runtime_types.ts similarity index 100% rename from x-pack/plugins/observability/public/components/custom_threshold/helpers/runtime_types.ts rename to x-pack/plugins/observability_solution/observability/public/components/custom_threshold/helpers/runtime_types.ts diff --git a/x-pack/plugins/observability/public/components/custom_threshold/helpers/source_errors.ts b/x-pack/plugins/observability_solution/observability/public/components/custom_threshold/helpers/source_errors.ts similarity index 100% rename from x-pack/plugins/observability/public/components/custom_threshold/helpers/source_errors.ts rename to x-pack/plugins/observability_solution/observability/public/components/custom_threshold/helpers/source_errors.ts diff --git a/x-pack/plugins/observability/public/components/custom_threshold/hooks/mocks/metrics_explorer.ts b/x-pack/plugins/observability_solution/observability/public/components/custom_threshold/hooks/mocks/metrics_explorer.ts similarity index 100% rename from x-pack/plugins/observability/public/components/custom_threshold/hooks/mocks/metrics_explorer.ts rename to x-pack/plugins/observability_solution/observability/public/components/custom_threshold/hooks/mocks/metrics_explorer.ts diff --git a/x-pack/plugins/observability/public/components/custom_threshold/hooks/use_expression_chart_data.ts b/x-pack/plugins/observability_solution/observability/public/components/custom_threshold/hooks/use_expression_chart_data.ts similarity index 100% rename from x-pack/plugins/observability/public/components/custom_threshold/hooks/use_expression_chart_data.ts rename to x-pack/plugins/observability_solution/observability/public/components/custom_threshold/hooks/use_expression_chart_data.ts diff --git a/x-pack/plugins/observability/public/components/custom_threshold/hooks/use_expression_data.test.tsx b/x-pack/plugins/observability_solution/observability/public/components/custom_threshold/hooks/use_expression_data.test.tsx similarity index 100% rename from x-pack/plugins/observability/public/components/custom_threshold/hooks/use_expression_data.test.tsx rename to x-pack/plugins/observability_solution/observability/public/components/custom_threshold/hooks/use_expression_data.test.tsx diff --git a/x-pack/plugins/observability/public/components/custom_threshold/hooks/use_expression_data.ts b/x-pack/plugins/observability_solution/observability/public/components/custom_threshold/hooks/use_expression_data.ts similarity index 100% rename from x-pack/plugins/observability/public/components/custom_threshold/hooks/use_expression_data.ts rename to x-pack/plugins/observability_solution/observability/public/components/custom_threshold/hooks/use_expression_data.ts diff --git a/x-pack/plugins/observability/public/components/custom_threshold/hooks/use_kibana_time_zone_setting.ts b/x-pack/plugins/observability_solution/observability/public/components/custom_threshold/hooks/use_kibana_time_zone_setting.ts similarity index 100% rename from x-pack/plugins/observability/public/components/custom_threshold/hooks/use_kibana_time_zone_setting.ts rename to x-pack/plugins/observability_solution/observability/public/components/custom_threshold/hooks/use_kibana_time_zone_setting.ts diff --git a/x-pack/plugins/observability/public/components/custom_threshold/hooks/use_kibana_timefilter_time.tsx b/x-pack/plugins/observability_solution/observability/public/components/custom_threshold/hooks/use_kibana_timefilter_time.tsx similarity index 100% rename from x-pack/plugins/observability/public/components/custom_threshold/hooks/use_kibana_timefilter_time.tsx rename to x-pack/plugins/observability_solution/observability/public/components/custom_threshold/hooks/use_kibana_timefilter_time.tsx diff --git a/x-pack/plugins/observability/public/components/custom_threshold/hooks/use_metric_threshold_alert_prefill.ts b/x-pack/plugins/observability_solution/observability/public/components/custom_threshold/hooks/use_metric_threshold_alert_prefill.ts similarity index 100% rename from x-pack/plugins/observability/public/components/custom_threshold/hooks/use_metric_threshold_alert_prefill.ts rename to x-pack/plugins/observability_solution/observability/public/components/custom_threshold/hooks/use_metric_threshold_alert_prefill.ts diff --git a/x-pack/plugins/observability/public/components/custom_threshold/hooks/use_tracked_promise.ts b/x-pack/plugins/observability_solution/observability/public/components/custom_threshold/hooks/use_tracked_promise.ts similarity index 100% rename from x-pack/plugins/observability/public/components/custom_threshold/hooks/use_tracked_promise.ts rename to x-pack/plugins/observability_solution/observability/public/components/custom_threshold/hooks/use_tracked_promise.ts diff --git a/x-pack/plugins/observability/public/components/custom_threshold/i18n_strings.ts b/x-pack/plugins/observability_solution/observability/public/components/custom_threshold/i18n_strings.ts similarity index 100% rename from x-pack/plugins/observability/public/components/custom_threshold/i18n_strings.ts rename to x-pack/plugins/observability_solution/observability/public/components/custom_threshold/i18n_strings.ts diff --git a/x-pack/plugins/observability/public/components/custom_threshold/mocks/custom_threshold_rule.ts b/x-pack/plugins/observability_solution/observability/public/components/custom_threshold/mocks/custom_threshold_rule.ts similarity index 100% rename from x-pack/plugins/observability/public/components/custom_threshold/mocks/custom_threshold_rule.ts rename to x-pack/plugins/observability_solution/observability/public/components/custom_threshold/mocks/custom_threshold_rule.ts diff --git a/x-pack/plugins/observability/public/components/custom_threshold/rule_data_formatters.ts b/x-pack/plugins/observability_solution/observability/public/components/custom_threshold/rule_data_formatters.ts similarity index 100% rename from x-pack/plugins/observability/public/components/custom_threshold/rule_data_formatters.ts rename to x-pack/plugins/observability_solution/observability/public/components/custom_threshold/rule_data_formatters.ts diff --git a/x-pack/plugins/observability/public/components/custom_threshold/types.ts b/x-pack/plugins/observability_solution/observability/public/components/custom_threshold/types.ts similarity index 98% rename from x-pack/plugins/observability/public/components/custom_threshold/types.ts rename to x-pack/plugins/observability_solution/observability/public/components/custom_threshold/types.ts index 7ee011a3ab012..e748637bb380d 100644 --- a/x-pack/plugins/observability/public/components/custom_threshold/types.ts +++ b/x-pack/plugins/observability_solution/observability/public/components/custom_threshold/types.ts @@ -6,7 +6,7 @@ */ import * as rt from 'io-ts'; -import { CasesUiStart } from '@kbn/cases-plugin/public'; +import { CasesPublicStart } from '@kbn/cases-plugin/public'; import { ChartsPluginStart } from '@kbn/charts-plugin/public'; import { DataPublicPluginStart, SerializedSearchSourceFields } from '@kbn/data-plugin/public'; import { DataView, DataViewsPublicPluginStart } from '@kbn/data-views-plugin/public'; @@ -66,7 +66,7 @@ export interface AlertParams { } export interface InfraClientStartDeps { - cases: CasesUiStart; + cases: CasesPublicStart; charts: ChartsPluginStart; data: DataPublicPluginStart; dataViews: DataViewsPublicPluginStart; diff --git a/x-pack/plugins/observability/public/components/experimental_badge.tsx b/x-pack/plugins/observability_solution/observability/public/components/experimental_badge.tsx similarity index 100% rename from x-pack/plugins/observability/public/components/experimental_badge.tsx rename to x-pack/plugins/observability_solution/observability/public/components/experimental_badge.tsx diff --git a/x-pack/plugins/observability/public/components/loading_observability.tsx b/x-pack/plugins/observability_solution/observability/public/components/loading_observability.tsx similarity index 100% rename from x-pack/plugins/observability/public/components/loading_observability.tsx rename to x-pack/plugins/observability_solution/observability/public/components/loading_observability.tsx diff --git a/x-pack/plugins/observability/public/components/rule_kql_filter/autocomplete_field/autocomplete_field.tsx b/x-pack/plugins/observability_solution/observability/public/components/rule_kql_filter/autocomplete_field/autocomplete_field.tsx similarity index 100% rename from x-pack/plugins/observability/public/components/rule_kql_filter/autocomplete_field/autocomplete_field.tsx rename to x-pack/plugins/observability_solution/observability/public/components/rule_kql_filter/autocomplete_field/autocomplete_field.tsx diff --git a/x-pack/plugins/observability/public/components/rule_kql_filter/autocomplete_field/index.ts b/x-pack/plugins/observability_solution/observability/public/components/rule_kql_filter/autocomplete_field/index.ts similarity index 100% rename from x-pack/plugins/observability/public/components/rule_kql_filter/autocomplete_field/index.ts rename to x-pack/plugins/observability_solution/observability/public/components/rule_kql_filter/autocomplete_field/index.ts diff --git a/x-pack/plugins/observability/public/components/rule_kql_filter/autocomplete_field/suggestion_item.tsx b/x-pack/plugins/observability_solution/observability/public/components/rule_kql_filter/autocomplete_field/suggestion_item.tsx similarity index 100% rename from x-pack/plugins/observability/public/components/rule_kql_filter/autocomplete_field/suggestion_item.tsx rename to x-pack/plugins/observability_solution/observability/public/components/rule_kql_filter/autocomplete_field/suggestion_item.tsx diff --git a/x-pack/plugins/observability/public/components/rule_kql_filter/kuery_bar.tsx b/x-pack/plugins/observability_solution/observability/public/components/rule_kql_filter/kuery_bar.tsx similarity index 100% rename from x-pack/plugins/observability/public/components/rule_kql_filter/kuery_bar.tsx rename to x-pack/plugins/observability_solution/observability/public/components/rule_kql_filter/kuery_bar.tsx diff --git a/x-pack/plugins/observability/public/components/rule_kql_filter/with_kuery_autocompletion.tsx b/x-pack/plugins/observability_solution/observability/public/components/rule_kql_filter/with_kuery_autocompletion.tsx similarity index 100% rename from x-pack/plugins/observability/public/components/rule_kql_filter/with_kuery_autocompletion.tsx rename to x-pack/plugins/observability_solution/observability/public/components/rule_kql_filter/with_kuery_autocompletion.tsx diff --git a/x-pack/plugins/observability/public/components/slo/auto_refresh_button/auto_refresh_button.stories.tsx b/x-pack/plugins/observability_solution/observability/public/components/slo/auto_refresh_button/auto_refresh_button.stories.tsx similarity index 100% rename from x-pack/plugins/observability/public/components/slo/auto_refresh_button/auto_refresh_button.stories.tsx rename to x-pack/plugins/observability_solution/observability/public/components/slo/auto_refresh_button/auto_refresh_button.stories.tsx diff --git a/x-pack/plugins/observability/public/components/slo/auto_refresh_button/auto_refresh_button.tsx b/x-pack/plugins/observability_solution/observability/public/components/slo/auto_refresh_button/auto_refresh_button.tsx similarity index 100% rename from x-pack/plugins/observability/public/components/slo/auto_refresh_button/auto_refresh_button.tsx rename to x-pack/plugins/observability_solution/observability/public/components/slo/auto_refresh_button/auto_refresh_button.tsx diff --git a/x-pack/plugins/observability/public/components/slo/auto_refresh_button/hooks/use_auto_refresh_storage.tsx b/x-pack/plugins/observability_solution/observability/public/components/slo/auto_refresh_button/hooks/use_auto_refresh_storage.tsx similarity index 100% rename from x-pack/plugins/observability/public/components/slo/auto_refresh_button/hooks/use_auto_refresh_storage.tsx rename to x-pack/plugins/observability_solution/observability/public/components/slo/auto_refresh_button/hooks/use_auto_refresh_storage.tsx diff --git a/x-pack/plugins/observability/public/components/slo/auto_refresh_button/index.tsx b/x-pack/plugins/observability_solution/observability/public/components/slo/auto_refresh_button/index.tsx similarity index 100% rename from x-pack/plugins/observability/public/components/slo/auto_refresh_button/index.tsx rename to x-pack/plugins/observability_solution/observability/public/components/slo/auto_refresh_button/index.tsx diff --git a/x-pack/plugins/observability/public/components/slo/burn_rate/alert_details/alert_details_app_section.tsx b/x-pack/plugins/observability_solution/observability/public/components/slo/burn_rate/alert_details/alert_details_app_section.tsx similarity index 100% rename from x-pack/plugins/observability/public/components/slo/burn_rate/alert_details/alert_details_app_section.tsx rename to x-pack/plugins/observability_solution/observability/public/components/slo/burn_rate/alert_details/alert_details_app_section.tsx diff --git a/x-pack/plugins/observability/public/components/slo/burn_rate/alert_details/components/alerts_history/alerts_history_panel.tsx b/x-pack/plugins/observability_solution/observability/public/components/slo/burn_rate/alert_details/components/alerts_history/alerts_history_panel.tsx similarity index 100% rename from x-pack/plugins/observability/public/components/slo/burn_rate/alert_details/components/alerts_history/alerts_history_panel.tsx rename to x-pack/plugins/observability_solution/observability/public/components/slo/burn_rate/alert_details/components/alerts_history/alerts_history_panel.tsx diff --git a/x-pack/plugins/observability/public/components/slo/burn_rate/alert_details/components/error_rate/error_rate_panel.tsx b/x-pack/plugins/observability_solution/observability/public/components/slo/burn_rate/alert_details/components/error_rate/error_rate_panel.tsx similarity index 100% rename from x-pack/plugins/observability/public/components/slo/burn_rate/alert_details/components/error_rate/error_rate_panel.tsx rename to x-pack/plugins/observability_solution/observability/public/components/slo/burn_rate/alert_details/components/error_rate/error_rate_panel.tsx diff --git a/x-pack/plugins/observability/public/components/slo/burn_rate/alert_details/utils/alert.ts b/x-pack/plugins/observability_solution/observability/public/components/slo/burn_rate/alert_details/utils/alert.ts similarity index 100% rename from x-pack/plugins/observability/public/components/slo/burn_rate/alert_details/utils/alert.ts rename to x-pack/plugins/observability_solution/observability/public/components/slo/burn_rate/alert_details/utils/alert.ts diff --git a/x-pack/plugins/observability/public/components/slo/burn_rate/alert_details/utils/last_duration_i18n.ts b/x-pack/plugins/observability_solution/observability/public/components/slo/burn_rate/alert_details/utils/last_duration_i18n.ts similarity index 100% rename from x-pack/plugins/observability/public/components/slo/burn_rate/alert_details/utils/last_duration_i18n.ts rename to x-pack/plugins/observability_solution/observability/public/components/slo/burn_rate/alert_details/utils/last_duration_i18n.ts diff --git a/x-pack/plugins/observability/public/components/slo/burn_rate/burn_rate.test.tsx b/x-pack/plugins/observability_solution/observability/public/components/slo/burn_rate/burn_rate.test.tsx similarity index 100% rename from x-pack/plugins/observability/public/components/slo/burn_rate/burn_rate.test.tsx rename to x-pack/plugins/observability_solution/observability/public/components/slo/burn_rate/burn_rate.test.tsx diff --git a/x-pack/plugins/observability/public/components/slo/burn_rate/burn_rate.tsx b/x-pack/plugins/observability_solution/observability/public/components/slo/burn_rate/burn_rate.tsx similarity index 100% rename from x-pack/plugins/observability/public/components/slo/burn_rate/burn_rate.tsx rename to x-pack/plugins/observability_solution/observability/public/components/slo/burn_rate/burn_rate.tsx diff --git a/x-pack/plugins/observability/public/components/slo/burn_rate/burn_rates.tsx b/x-pack/plugins/observability_solution/observability/public/components/slo/burn_rate/burn_rates.tsx similarity index 100% rename from x-pack/plugins/observability/public/components/slo/burn_rate/burn_rates.tsx rename to x-pack/plugins/observability_solution/observability/public/components/slo/burn_rate/burn_rates.tsx diff --git a/x-pack/plugins/observability/public/components/slo/delete_confirmation_modal/slo_delete_confirmation_modal.stories.tsx b/x-pack/plugins/observability_solution/observability/public/components/slo/delete_confirmation_modal/slo_delete_confirmation_modal.stories.tsx similarity index 100% rename from x-pack/plugins/observability/public/components/slo/delete_confirmation_modal/slo_delete_confirmation_modal.stories.tsx rename to x-pack/plugins/observability_solution/observability/public/components/slo/delete_confirmation_modal/slo_delete_confirmation_modal.stories.tsx diff --git a/x-pack/plugins/observability/public/components/slo/delete_confirmation_modal/slo_delete_confirmation_modal.tsx b/x-pack/plugins/observability_solution/observability/public/components/slo/delete_confirmation_modal/slo_delete_confirmation_modal.tsx similarity index 86% rename from x-pack/plugins/observability/public/components/slo/delete_confirmation_modal/slo_delete_confirmation_modal.tsx rename to x-pack/plugins/observability_solution/observability/public/components/slo/delete_confirmation_modal/slo_delete_confirmation_modal.tsx index aa5cd00972b49..2c8ae6272d916 100644 --- a/x-pack/plugins/observability/public/components/slo/delete_confirmation_modal/slo_delete_confirmation_modal.tsx +++ b/x-pack/plugins/observability_solution/observability/public/components/slo/delete_confirmation_modal/slo_delete_confirmation_modal.tsx @@ -9,6 +9,7 @@ import { EuiConfirmModal } from '@elastic/eui'; import { i18n } from '@kbn/i18n'; import { ALL_VALUE, SLOResponse, SLOWithSummaryResponse } from '@kbn/slo-schema'; import React from 'react'; +import { getGroupKeysProse } from '../../../utils/slo/groupings'; export interface SloDeleteConfirmationModalProps { slo: SLOWithSummaryResponse | SLOResponse; @@ -44,8 +45,8 @@ export function SloDeleteConfirmationModal({ {groupBy !== ALL_VALUE ? i18n.translate('xpack.observability.slo.deleteConfirmationModal.groupByDisclaimerText', { defaultMessage: - 'This SLO has been generated with a group key on "{groupKey}". Deleting this SLO definition will result in all instances being deleted.', - values: { groupKey: groupBy }, + 'This SLO has been generated with a group key on {groupKey}. Deleting this SLO definition will result in all instances being deleted.', + values: { groupKey: getGroupKeysProse(slo.groupBy) }, }) : i18n.translate('xpack.observability.slo.deleteConfirmationModal.descriptionText', { defaultMessage: "You can't recover this SLO after deleting it.", diff --git a/x-pack/plugins/observability/public/components/slo/error_rate_chart/error_rate_chart.tsx b/x-pack/plugins/observability_solution/observability/public/components/slo/error_rate_chart/error_rate_chart.tsx similarity index 100% rename from x-pack/plugins/observability/public/components/slo/error_rate_chart/error_rate_chart.tsx rename to x-pack/plugins/observability_solution/observability/public/components/slo/error_rate_chart/error_rate_chart.tsx diff --git a/x-pack/plugins/observability/public/components/slo/error_rate_chart/index.ts b/x-pack/plugins/observability_solution/observability/public/components/slo/error_rate_chart/index.ts similarity index 100% rename from x-pack/plugins/observability/public/components/slo/error_rate_chart/index.ts rename to x-pack/plugins/observability_solution/observability/public/components/slo/error_rate_chart/index.ts diff --git a/x-pack/plugins/observability/public/components/slo/error_rate_chart/use_lens_definition.ts b/x-pack/plugins/observability_solution/observability/public/components/slo/error_rate_chart/use_lens_definition.ts similarity index 100% rename from x-pack/plugins/observability/public/components/slo/error_rate_chart/use_lens_definition.ts rename to x-pack/plugins/observability_solution/observability/public/components/slo/error_rate_chart/use_lens_definition.ts diff --git a/x-pack/plugins/observability/public/components/slo/reset_confirmation_modal/slo_reset_confirmation_modal.tsx b/x-pack/plugins/observability_solution/observability/public/components/slo/reset_confirmation_modal/slo_reset_confirmation_modal.tsx similarity index 100% rename from x-pack/plugins/observability/public/components/slo/reset_confirmation_modal/slo_reset_confirmation_modal.tsx rename to x-pack/plugins/observability_solution/observability/public/components/slo/reset_confirmation_modal/slo_reset_confirmation_modal.tsx diff --git a/x-pack/plugins/observability/public/components/slo/slo_outdated_callout/index.tsx b/x-pack/plugins/observability_solution/observability/public/components/slo/slo_outdated_callout/index.tsx similarity index 100% rename from x-pack/plugins/observability/public/components/slo/slo_outdated_callout/index.tsx rename to x-pack/plugins/observability_solution/observability/public/components/slo/slo_outdated_callout/index.tsx diff --git a/x-pack/plugins/observability/public/components/slo/slo_status_badge/index.tsx b/x-pack/plugins/observability_solution/observability/public/components/slo/slo_status_badge/index.tsx similarity index 100% rename from x-pack/plugins/observability/public/components/slo/slo_status_badge/index.tsx rename to x-pack/plugins/observability_solution/observability/public/components/slo/slo_status_badge/index.tsx diff --git a/x-pack/plugins/observability/public/components/slo/slo_status_badge/slo_active_alerts_badge.stories.tsx b/x-pack/plugins/observability_solution/observability/public/components/slo/slo_status_badge/slo_active_alerts_badge.stories.tsx similarity index 100% rename from x-pack/plugins/observability/public/components/slo/slo_status_badge/slo_active_alerts_badge.stories.tsx rename to x-pack/plugins/observability_solution/observability/public/components/slo/slo_status_badge/slo_active_alerts_badge.stories.tsx diff --git a/x-pack/plugins/observability/public/components/slo/slo_status_badge/slo_active_alerts_badge.tsx b/x-pack/plugins/observability_solution/observability/public/components/slo/slo_status_badge/slo_active_alerts_badge.tsx similarity index 100% rename from x-pack/plugins/observability/public/components/slo/slo_status_badge/slo_active_alerts_badge.tsx rename to x-pack/plugins/observability_solution/observability/public/components/slo/slo_status_badge/slo_active_alerts_badge.tsx diff --git a/x-pack/plugins/observability/public/components/slo/slo_status_badge/slo_status_badge.stories.tsx b/x-pack/plugins/observability_solution/observability/public/components/slo/slo_status_badge/slo_status_badge.stories.tsx similarity index 100% rename from x-pack/plugins/observability/public/components/slo/slo_status_badge/slo_status_badge.stories.tsx rename to x-pack/plugins/observability_solution/observability/public/components/slo/slo_status_badge/slo_status_badge.stories.tsx diff --git a/x-pack/plugins/observability/public/components/slo/slo_status_badge/slo_status_badge.tsx b/x-pack/plugins/observability_solution/observability/public/components/slo/slo_status_badge/slo_status_badge.tsx similarity index 100% rename from x-pack/plugins/observability/public/components/slo/slo_status_badge/slo_status_badge.tsx rename to x-pack/plugins/observability_solution/observability/public/components/slo/slo_status_badge/slo_status_badge.tsx diff --git a/x-pack/plugins/observability/public/constants.ts b/x-pack/plugins/observability_solution/observability/public/constants.ts similarity index 100% rename from x-pack/plugins/observability/public/constants.ts rename to x-pack/plugins/observability_solution/observability/public/constants.ts diff --git a/x-pack/plugins/observability/public/context/constants.ts b/x-pack/plugins/observability_solution/observability/public/context/constants.ts similarity index 100% rename from x-pack/plugins/observability/public/context/constants.ts rename to x-pack/plugins/observability_solution/observability/public/context/constants.ts diff --git a/x-pack/plugins/observability/public/context/date_picker_context/date_picker_context.tsx b/x-pack/plugins/observability_solution/observability/public/context/date_picker_context/date_picker_context.tsx similarity index 100% rename from x-pack/plugins/observability/public/context/date_picker_context/date_picker_context.tsx rename to x-pack/plugins/observability_solution/observability/public/context/date_picker_context/date_picker_context.tsx diff --git a/x-pack/plugins/observability/public/context/has_data_context/data_handler.test.ts b/x-pack/plugins/observability_solution/observability/public/context/has_data_context/data_handler.test.ts similarity index 100% rename from x-pack/plugins/observability/public/context/has_data_context/data_handler.test.ts rename to x-pack/plugins/observability_solution/observability/public/context/has_data_context/data_handler.test.ts diff --git a/x-pack/plugins/observability/public/context/has_data_context/data_handler.ts b/x-pack/plugins/observability_solution/observability/public/context/has_data_context/data_handler.ts similarity index 100% rename from x-pack/plugins/observability/public/context/has_data_context/data_handler.ts rename to x-pack/plugins/observability_solution/observability/public/context/has_data_context/data_handler.ts diff --git a/x-pack/plugins/observability/public/context/has_data_context/get_observability_alerts.test.ts b/x-pack/plugins/observability_solution/observability/public/context/has_data_context/get_observability_alerts.test.ts similarity index 100% rename from x-pack/plugins/observability/public/context/has_data_context/get_observability_alerts.test.ts rename to x-pack/plugins/observability_solution/observability/public/context/has_data_context/get_observability_alerts.test.ts diff --git a/x-pack/plugins/observability/public/context/has_data_context/get_observability_alerts.ts b/x-pack/plugins/observability_solution/observability/public/context/has_data_context/get_observability_alerts.ts similarity index 100% rename from x-pack/plugins/observability/public/context/has_data_context/get_observability_alerts.ts rename to x-pack/plugins/observability_solution/observability/public/context/has_data_context/get_observability_alerts.ts diff --git a/x-pack/plugins/observability/public/context/has_data_context/has_data_context.test.tsx b/x-pack/plugins/observability_solution/observability/public/context/has_data_context/has_data_context.test.tsx similarity index 100% rename from x-pack/plugins/observability/public/context/has_data_context/has_data_context.test.tsx rename to x-pack/plugins/observability_solution/observability/public/context/has_data_context/has_data_context.test.tsx diff --git a/x-pack/plugins/observability/public/context/has_data_context/has_data_context.tsx b/x-pack/plugins/observability_solution/observability/public/context/has_data_context/has_data_context.tsx similarity index 100% rename from x-pack/plugins/observability/public/context/has_data_context/has_data_context.tsx rename to x-pack/plugins/observability_solution/observability/public/context/has_data_context/has_data_context.tsx diff --git a/x-pack/plugins/observability/public/context/plugin_context/plugin_context.tsx b/x-pack/plugins/observability_solution/observability/public/context/plugin_context/plugin_context.tsx similarity index 100% rename from x-pack/plugins/observability/public/context/plugin_context/plugin_context.tsx rename to x-pack/plugins/observability_solution/observability/public/context/plugin_context/plugin_context.tsx diff --git a/x-pack/plugins/observability/public/data/slo/common.ts b/x-pack/plugins/observability_solution/observability/public/data/slo/common.ts similarity index 100% rename from x-pack/plugins/observability/public/data/slo/common.ts rename to x-pack/plugins/observability_solution/observability/public/data/slo/common.ts diff --git a/x-pack/plugins/observability/public/data/slo/historical_summary_data.ts b/x-pack/plugins/observability_solution/observability/public/data/slo/historical_summary_data.ts similarity index 100% rename from x-pack/plugins/observability/public/data/slo/historical_summary_data.ts rename to x-pack/plugins/observability_solution/observability/public/data/slo/historical_summary_data.ts diff --git a/x-pack/plugins/observability/public/data/slo/indicator.ts b/x-pack/plugins/observability_solution/observability/public/data/slo/indicator.ts similarity index 100% rename from x-pack/plugins/observability/public/data/slo/indicator.ts rename to x-pack/plugins/observability_solution/observability/public/data/slo/indicator.ts diff --git a/x-pack/plugins/observability/public/data/slo/slo.ts b/x-pack/plugins/observability_solution/observability/public/data/slo/slo.ts similarity index 99% rename from x-pack/plugins/observability/public/data/slo/slo.ts rename to x-pack/plugins/observability_solution/observability/public/data/slo/slo.ts index c53d55a32839f..7ae37c3ca0793 100644 --- a/x-pack/plugins/observability/public/data/slo/slo.ts +++ b/x-pack/plugins/observability_solution/observability/public/data/slo/slo.ts @@ -63,6 +63,7 @@ const baseSlo: Omit = { }, }, groupBy: ALL_VALUE, + groupings: {}, instanceId: ALL_VALUE, tags: ['k8s', 'production', 'critical'], enabled: true, diff --git a/x-pack/plugins/observability/public/data/slo/time_window.ts b/x-pack/plugins/observability_solution/observability/public/data/slo/time_window.ts similarity index 100% rename from x-pack/plugins/observability/public/data/slo/time_window.ts rename to x-pack/plugins/observability_solution/observability/public/data/slo/time_window.ts diff --git a/x-pack/plugins/observability/public/embeddable/slo/alerts/components/slo_alerts_summary.tsx b/x-pack/plugins/observability_solution/observability/public/embeddable/slo/alerts/components/slo_alerts_summary.tsx similarity index 100% rename from x-pack/plugins/observability/public/embeddable/slo/alerts/components/slo_alerts_summary.tsx rename to x-pack/plugins/observability_solution/observability/public/embeddable/slo/alerts/components/slo_alerts_summary.tsx diff --git a/x-pack/plugins/observability/public/embeddable/slo/alerts/components/slo_alerts_table.tsx b/x-pack/plugins/observability_solution/observability/public/embeddable/slo/alerts/components/slo_alerts_table.tsx similarity index 100% rename from x-pack/plugins/observability/public/embeddable/slo/alerts/components/slo_alerts_table.tsx rename to x-pack/plugins/observability_solution/observability/public/embeddable/slo/alerts/components/slo_alerts_table.tsx diff --git a/x-pack/plugins/observability/public/embeddable/slo/alerts/components/slo_included_count.tsx b/x-pack/plugins/observability_solution/observability/public/embeddable/slo/alerts/components/slo_included_count.tsx similarity index 100% rename from x-pack/plugins/observability/public/embeddable/slo/alerts/components/slo_included_count.tsx rename to x-pack/plugins/observability_solution/observability/public/embeddable/slo/alerts/components/slo_included_count.tsx diff --git a/x-pack/plugins/observability/public/embeddable/slo/alerts/handle_explicit_input.tsx b/x-pack/plugins/observability_solution/observability/public/embeddable/slo/alerts/handle_explicit_input.tsx similarity index 100% rename from x-pack/plugins/observability/public/embeddable/slo/alerts/handle_explicit_input.tsx rename to x-pack/plugins/observability_solution/observability/public/embeddable/slo/alerts/handle_explicit_input.tsx diff --git a/x-pack/plugins/observability/public/embeddable/slo/alerts/index.ts b/x-pack/plugins/observability_solution/observability/public/embeddable/slo/alerts/index.ts similarity index 100% rename from x-pack/plugins/observability/public/embeddable/slo/alerts/index.ts rename to x-pack/plugins/observability_solution/observability/public/embeddable/slo/alerts/index.ts diff --git a/x-pack/plugins/observability/public/embeddable/slo/alerts/slo_alerts_embeddable.tsx b/x-pack/plugins/observability_solution/observability/public/embeddable/slo/alerts/slo_alerts_embeddable.tsx similarity index 98% rename from x-pack/plugins/observability/public/embeddable/slo/alerts/slo_alerts_embeddable.tsx rename to x-pack/plugins/observability_solution/observability/public/embeddable/slo/alerts/slo_alerts_embeddable.tsx index c7138d93095e3..aba254429c730 100644 --- a/x-pack/plugins/observability/public/embeddable/slo/alerts/slo_alerts_embeddable.tsx +++ b/x-pack/plugins/observability_solution/observability/public/embeddable/slo/alerts/slo_alerts_embeddable.tsx @@ -17,7 +17,7 @@ import { IContainer, } from '@kbn/embeddable-plugin/public'; import { KibanaContextProvider } from '@kbn/kibana-react-plugin/public'; -import { CasesUiStart } from '@kbn/cases-plugin/public'; +import { CasesPublicStart } from '@kbn/cases-plugin/public'; import { type CoreStart, @@ -49,7 +49,7 @@ export interface SloEmbeddableDeps { triggersActionsUi: TriggersAndActionsUIPublicPluginStart; data: DataPublicPluginStart; notifications: NotificationsStart; - cases: CasesUiStart; + cases: CasesPublicStart; settings: SettingsStart; security: SecurityPluginStart; charts: ChartsPluginStart; diff --git a/x-pack/plugins/observability/public/embeddable/slo/alerts/slo_alerts_embeddable_factory.ts b/x-pack/plugins/observability_solution/observability/public/embeddable/slo/alerts/slo_alerts_embeddable_factory.ts similarity index 100% rename from x-pack/plugins/observability/public/embeddable/slo/alerts/slo_alerts_embeddable_factory.ts rename to x-pack/plugins/observability_solution/observability/public/embeddable/slo/alerts/slo_alerts_embeddable_factory.ts diff --git a/x-pack/plugins/observability/public/embeddable/slo/alerts/slo_alerts_wrapper.tsx b/x-pack/plugins/observability_solution/observability/public/embeddable/slo/alerts/slo_alerts_wrapper.tsx similarity index 100% rename from x-pack/plugins/observability/public/embeddable/slo/alerts/slo_alerts_wrapper.tsx rename to x-pack/plugins/observability_solution/observability/public/embeddable/slo/alerts/slo_alerts_wrapper.tsx diff --git a/x-pack/plugins/observability/public/embeddable/slo/alerts/slo_configuration.tsx b/x-pack/plugins/observability_solution/observability/public/embeddable/slo/alerts/slo_configuration.tsx similarity index 100% rename from x-pack/plugins/observability/public/embeddable/slo/alerts/slo_configuration.tsx rename to x-pack/plugins/observability_solution/observability/public/embeddable/slo/alerts/slo_configuration.tsx diff --git a/x-pack/plugins/observability/public/embeddable/slo/alerts/slo_selector.tsx b/x-pack/plugins/observability_solution/observability/public/embeddable/slo/alerts/slo_selector.tsx similarity index 96% rename from x-pack/plugins/observability/public/embeddable/slo/alerts/slo_selector.tsx rename to x-pack/plugins/observability_solution/observability/public/embeddable/slo/alerts/slo_selector.tsx index e3ef81786da55..627bf039652c8 100644 --- a/x-pack/plugins/observability/public/embeddable/slo/alerts/slo_selector.tsx +++ b/x-pack/plugins/observability_solution/observability/public/embeddable/slo/alerts/slo_selector.tsx @@ -27,8 +27,7 @@ const SLO_REQUIRED = i18n.translate('xpack.observability.sloEmbeddable.config.er export function SloSelector({ initialSlos, onSelected, hasError, singleSelection }: Props) { const mapSlosToOptions = (slos: SloItem[] | SLOWithSummaryResponse[] | undefined) => slos?.map((slo) => ({ - label: - slo.instanceId !== ALL_VALUE ? `${slo.name} (${slo.groupBy}: ${slo.instanceId})` : slo.name, + label: slo.instanceId !== ALL_VALUE ? `${slo.name} (${slo.instanceId})` : slo.name, value: `${slo.id}-${slo.instanceId}`, })) ?? []; const [options, setOptions] = useState>>([]); diff --git a/x-pack/plugins/observability/public/embeddable/slo/alerts/types.ts b/x-pack/plugins/observability_solution/observability/public/embeddable/slo/alerts/types.ts similarity index 100% rename from x-pack/plugins/observability/public/embeddable/slo/alerts/types.ts rename to x-pack/plugins/observability_solution/observability/public/embeddable/slo/alerts/types.ts diff --git a/x-pack/plugins/observability/public/embeddable/slo/common/slo_overview_details.tsx b/x-pack/plugins/observability_solution/observability/public/embeddable/slo/common/slo_overview_details.tsx similarity index 96% rename from x-pack/plugins/observability/public/embeddable/slo/common/slo_overview_details.tsx rename to x-pack/plugins/observability_solution/observability/public/embeddable/slo/common/slo_overview_details.tsx index e3871a4fc0937..5cc390e58ad13 100644 --- a/x-pack/plugins/observability/public/embeddable/slo/common/slo_overview_details.tsx +++ b/x-pack/plugins/observability_solution/observability/public/embeddable/slo/common/slo_overview_details.tsx @@ -26,6 +26,7 @@ import { SloDetails, SloTabId, } from '../../../pages/slo_details/components/slo_details'; +import { SLOGroupings } from '../../../pages/slos/components/common/slo_groupings'; export function SloOverviewDetails({ slo, @@ -65,6 +66,7 @@ export function SloOverviewDetails({ })} + diff --git a/x-pack/plugins/observability/public/embeddable/slo/constants.ts b/x-pack/plugins/observability_solution/observability/public/embeddable/slo/constants.ts similarity index 100% rename from x-pack/plugins/observability/public/embeddable/slo/constants.ts rename to x-pack/plugins/observability_solution/observability/public/embeddable/slo/constants.ts diff --git a/x-pack/plugins/observability/public/embeddable/slo/error_budget/handle_explicit_input.tsx b/x-pack/plugins/observability_solution/observability/public/embeddable/slo/error_budget/handle_explicit_input.tsx similarity index 100% rename from x-pack/plugins/observability/public/embeddable/slo/error_budget/handle_explicit_input.tsx rename to x-pack/plugins/observability_solution/observability/public/embeddable/slo/error_budget/handle_explicit_input.tsx diff --git a/x-pack/plugins/observability/public/embeddable/slo/error_budget/index.ts b/x-pack/plugins/observability_solution/observability/public/embeddable/slo/error_budget/index.ts similarity index 100% rename from x-pack/plugins/observability/public/embeddable/slo/error_budget/index.ts rename to x-pack/plugins/observability_solution/observability/public/embeddable/slo/error_budget/index.ts diff --git a/x-pack/plugins/observability/public/embeddable/slo/error_budget/slo_configuration.tsx b/x-pack/plugins/observability_solution/observability/public/embeddable/slo/error_budget/slo_configuration.tsx similarity index 100% rename from x-pack/plugins/observability/public/embeddable/slo/error_budget/slo_configuration.tsx rename to x-pack/plugins/observability_solution/observability/public/embeddable/slo/error_budget/slo_configuration.tsx diff --git a/x-pack/plugins/observability/public/embeddable/slo/error_budget/slo_error_budget_burn_down.tsx b/x-pack/plugins/observability_solution/observability/public/embeddable/slo/error_budget/slo_error_budget_burn_down.tsx similarity index 84% rename from x-pack/plugins/observability/public/embeddable/slo/error_budget/slo_error_budget_burn_down.tsx rename to x-pack/plugins/observability_solution/observability/public/embeddable/slo/error_budget/slo_error_budget_burn_down.tsx index f26fc8f34c5f8..340ffd0344695 100644 --- a/x-pack/plugins/observability/public/embeddable/slo/error_budget/slo_error_budget_burn_down.tsx +++ b/x-pack/plugins/observability_solution/observability/public/embeddable/slo/error_budget/slo_error_budget_burn_down.tsx @@ -7,7 +7,7 @@ import React, { useEffect, useState, useRef } from 'react'; import { i18n } from '@kbn/i18n'; -import { EuiFlexGroup, EuiFlexItem, EuiLoadingChart, EuiLink, EuiTitle } from '@elastic/eui'; +import { EuiFlexGroup, EuiFlexItem, EuiLoadingChart, EuiLink } from '@elastic/eui'; import { euiStyled } from '@kbn/kibana-react-plugin/common'; import { ALL_VALUE, SLOWithSummaryResponse } from '@kbn/slo-schema'; @@ -19,6 +19,7 @@ import { ErrorBudgetChart } from '../../../pages/slo_details/components/error_bu import { EmbeddableSloProps } from './types'; import { SloOverviewDetails } from '../common/slo_overview_details'; // TODO change to slo_details import { ErrorBudgetHeader } from '../../../pages/slo_details/components/error_budget_header'; +import { SLOGroupings } from '../../../pages/slos/components/common/slo_groupings'; export function SloErrorBudget({ sloId, @@ -106,33 +107,20 @@ export function SloErrorBudget({
- {hasGroupBy ? ( - -

{slo.name}

-
- ) : ( - { - setSelectedSlo(slo); - }} - > -

{slo.name}

-
- )} + { + setSelectedSlo(slo); + }} + > +

{slo.name}

+
{hasGroupBy && ( - { - setSelectedSlo(slo); - }} - > - {slo.groupBy}: {slo.instanceId} - + )}
diff --git a/x-pack/plugins/observability/public/embeddable/slo/error_budget/slo_error_budget_embeddable.tsx b/x-pack/plugins/observability_solution/observability/public/embeddable/slo/error_budget/slo_error_budget_embeddable.tsx similarity index 100% rename from x-pack/plugins/observability/public/embeddable/slo/error_budget/slo_error_budget_embeddable.tsx rename to x-pack/plugins/observability_solution/observability/public/embeddable/slo/error_budget/slo_error_budget_embeddable.tsx diff --git a/x-pack/plugins/observability/public/embeddable/slo/error_budget/slo_error_budget_embeddable_factory.ts b/x-pack/plugins/observability_solution/observability/public/embeddable/slo/error_budget/slo_error_budget_embeddable_factory.ts similarity index 100% rename from x-pack/plugins/observability/public/embeddable/slo/error_budget/slo_error_budget_embeddable_factory.ts rename to x-pack/plugins/observability_solution/observability/public/embeddable/slo/error_budget/slo_error_budget_embeddable_factory.ts diff --git a/x-pack/plugins/observability/public/embeddable/slo/error_budget/types.ts b/x-pack/plugins/observability_solution/observability/public/embeddable/slo/error_budget/types.ts similarity index 100% rename from x-pack/plugins/observability/public/embeddable/slo/error_budget/types.ts rename to x-pack/plugins/observability_solution/observability/public/embeddable/slo/error_budget/types.ts diff --git a/x-pack/plugins/observability/public/embeddable/slo/overview/handle_explicit_input.tsx b/x-pack/plugins/observability_solution/observability/public/embeddable/slo/overview/handle_explicit_input.tsx similarity index 100% rename from x-pack/plugins/observability/public/embeddable/slo/overview/handle_explicit_input.tsx rename to x-pack/plugins/observability_solution/observability/public/embeddable/slo/overview/handle_explicit_input.tsx diff --git a/x-pack/plugins/observability/public/embeddable/slo/overview/index.ts b/x-pack/plugins/observability_solution/observability/public/embeddable/slo/overview/index.ts similarity index 100% rename from x-pack/plugins/observability/public/embeddable/slo/overview/index.ts rename to x-pack/plugins/observability_solution/observability/public/embeddable/slo/overview/index.ts diff --git a/x-pack/plugins/observability/public/embeddable/slo/overview/slo_configuration.tsx b/x-pack/plugins/observability_solution/observability/public/embeddable/slo/overview/slo_configuration.tsx similarity index 100% rename from x-pack/plugins/observability/public/embeddable/slo/overview/slo_configuration.tsx rename to x-pack/plugins/observability_solution/observability/public/embeddable/slo/overview/slo_configuration.tsx diff --git a/x-pack/plugins/observability/public/embeddable/slo/overview/slo_embeddable.tsx b/x-pack/plugins/observability_solution/observability/public/embeddable/slo/overview/slo_embeddable.tsx similarity index 100% rename from x-pack/plugins/observability/public/embeddable/slo/overview/slo_embeddable.tsx rename to x-pack/plugins/observability_solution/observability/public/embeddable/slo/overview/slo_embeddable.tsx diff --git a/x-pack/plugins/observability/public/embeddable/slo/overview/slo_embeddable_factory.ts b/x-pack/plugins/observability_solution/observability/public/embeddable/slo/overview/slo_embeddable_factory.ts similarity index 100% rename from x-pack/plugins/observability/public/embeddable/slo/overview/slo_embeddable_factory.ts rename to x-pack/plugins/observability_solution/observability/public/embeddable/slo/overview/slo_embeddable_factory.ts diff --git a/x-pack/plugins/observability/public/embeddable/slo/overview/slo_overview.tsx b/x-pack/plugins/observability_solution/observability/public/embeddable/slo/overview/slo_overview.tsx similarity index 100% rename from x-pack/plugins/observability/public/embeddable/slo/overview/slo_overview.tsx rename to x-pack/plugins/observability_solution/observability/public/embeddable/slo/overview/slo_overview.tsx diff --git a/x-pack/plugins/observability/public/embeddable/slo/overview/slo_overview_grid.tsx b/x-pack/plugins/observability_solution/observability/public/embeddable/slo/overview/slo_overview_grid.tsx similarity index 100% rename from x-pack/plugins/observability/public/embeddable/slo/overview/slo_overview_grid.tsx rename to x-pack/plugins/observability_solution/observability/public/embeddable/slo/overview/slo_overview_grid.tsx diff --git a/x-pack/plugins/observability/public/embeddable/slo/overview/types.ts b/x-pack/plugins/observability_solution/observability/public/embeddable/slo/overview/types.ts similarity index 100% rename from x-pack/plugins/observability/public/embeddable/slo/overview/types.ts rename to x-pack/plugins/observability_solution/observability/public/embeddable/slo/overview/types.ts diff --git a/x-pack/plugins/observability/public/hooks/__storybook_mocks__/use_fetch_data_views.ts b/x-pack/plugins/observability_solution/observability/public/hooks/__storybook_mocks__/use_fetch_data_views.ts similarity index 100% rename from x-pack/plugins/observability/public/hooks/__storybook_mocks__/use_fetch_data_views.ts rename to x-pack/plugins/observability_solution/observability/public/hooks/__storybook_mocks__/use_fetch_data_views.ts diff --git a/x-pack/plugins/observability/public/hooks/create_use_rules_link.ts b/x-pack/plugins/observability_solution/observability/public/hooks/create_use_rules_link.ts similarity index 100% rename from x-pack/plugins/observability/public/hooks/create_use_rules_link.ts rename to x-pack/plugins/observability_solution/observability/public/hooks/create_use_rules_link.ts diff --git a/x-pack/plugins/observability/public/hooks/slo/__storybook_mocks__/use_capabilities.ts b/x-pack/plugins/observability_solution/observability/public/hooks/slo/__storybook_mocks__/use_capabilities.ts similarity index 100% rename from x-pack/plugins/observability/public/hooks/slo/__storybook_mocks__/use_capabilities.ts rename to x-pack/plugins/observability_solution/observability/public/hooks/slo/__storybook_mocks__/use_capabilities.ts diff --git a/x-pack/plugins/observability/public/hooks/slo/__storybook_mocks__/use_fetch_active_alerts.ts b/x-pack/plugins/observability_solution/observability/public/hooks/slo/__storybook_mocks__/use_fetch_active_alerts.ts similarity index 100% rename from x-pack/plugins/observability/public/hooks/slo/__storybook_mocks__/use_fetch_active_alerts.ts rename to x-pack/plugins/observability_solution/observability/public/hooks/slo/__storybook_mocks__/use_fetch_active_alerts.ts diff --git a/x-pack/plugins/observability/public/hooks/slo/__storybook_mocks__/use_fetch_apm_suggestions.ts b/x-pack/plugins/observability_solution/observability/public/hooks/slo/__storybook_mocks__/use_fetch_apm_suggestions.ts similarity index 100% rename from x-pack/plugins/observability/public/hooks/slo/__storybook_mocks__/use_fetch_apm_suggestions.ts rename to x-pack/plugins/observability_solution/observability/public/hooks/slo/__storybook_mocks__/use_fetch_apm_suggestions.ts diff --git a/x-pack/plugins/observability/public/hooks/slo/__storybook_mocks__/use_fetch_historical_summary.ts b/x-pack/plugins/observability_solution/observability/public/hooks/slo/__storybook_mocks__/use_fetch_historical_summary.ts similarity index 100% rename from x-pack/plugins/observability/public/hooks/slo/__storybook_mocks__/use_fetch_historical_summary.ts rename to x-pack/plugins/observability_solution/observability/public/hooks/slo/__storybook_mocks__/use_fetch_historical_summary.ts diff --git a/x-pack/plugins/observability/public/hooks/slo/__storybook_mocks__/use_fetch_slo_list.ts b/x-pack/plugins/observability_solution/observability/public/hooks/slo/__storybook_mocks__/use_fetch_slo_list.ts similarity index 100% rename from x-pack/plugins/observability/public/hooks/slo/__storybook_mocks__/use_fetch_slo_list.ts rename to x-pack/plugins/observability_solution/observability/public/hooks/slo/__storybook_mocks__/use_fetch_slo_list.ts diff --git a/x-pack/plugins/observability/public/hooks/slo/active_alerts.ts b/x-pack/plugins/observability_solution/observability/public/hooks/slo/active_alerts.ts similarity index 100% rename from x-pack/plugins/observability/public/hooks/slo/active_alerts.ts rename to x-pack/plugins/observability_solution/observability/public/hooks/slo/active_alerts.ts diff --git a/x-pack/plugins/observability/public/hooks/slo/helpers/convert_error_for_use_in_toast.ts b/x-pack/plugins/observability_solution/observability/public/hooks/slo/helpers/convert_error_for_use_in_toast.ts similarity index 100% rename from x-pack/plugins/observability/public/hooks/slo/helpers/convert_error_for_use_in_toast.ts rename to x-pack/plugins/observability_solution/observability/public/hooks/slo/helpers/convert_error_for_use_in_toast.ts diff --git a/x-pack/plugins/observability/public/hooks/slo/query_key_factory.ts b/x-pack/plugins/observability_solution/observability/public/hooks/slo/query_key_factory.ts similarity index 91% rename from x-pack/plugins/observability/public/hooks/slo/query_key_factory.ts rename to x-pack/plugins/observability_solution/observability/public/hooks/slo/query_key_factory.ts index a08edd6d49f8e..a3b2754763fa0 100644 --- a/x-pack/plugins/observability/public/hooks/slo/query_key_factory.ts +++ b/x-pack/plugins/observability_solution/observability/public/hooks/slo/query_key_factory.ts @@ -47,8 +47,11 @@ export const sloKeys = { globalDiagnosis: () => [...sloKeys.all, 'globalDiagnosis'] as const, burnRates: (sloId: string, instanceId: string | undefined) => [...sloKeys.all, 'burnRates', sloId, instanceId] as const, - preview: (indicator: Indicator, range: { start: number; end: number }) => - [...sloKeys.all, 'preview', indicator, range] as const, + preview: ( + indicator: Indicator, + range: { start: number; end: number }, + groupings?: Record + ) => [...sloKeys.all, 'preview', indicator, range, groupings] as const, }; export type SloKeys = typeof sloKeys; diff --git a/x-pack/plugins/observability/public/hooks/slo/use_capabilities.ts b/x-pack/plugins/observability_solution/observability/public/hooks/slo/use_capabilities.ts similarity index 100% rename from x-pack/plugins/observability/public/hooks/slo/use_capabilities.ts rename to x-pack/plugins/observability_solution/observability/public/hooks/slo/use_capabilities.ts diff --git a/x-pack/plugins/observability/public/hooks/slo/use_clone_slo.ts b/x-pack/plugins/observability_solution/observability/public/hooks/slo/use_clone_slo.ts similarity index 100% rename from x-pack/plugins/observability/public/hooks/slo/use_clone_slo.ts rename to x-pack/plugins/observability_solution/observability/public/hooks/slo/use_clone_slo.ts diff --git a/x-pack/plugins/observability/public/hooks/slo/use_create_slo.tsx b/x-pack/plugins/observability_solution/observability/public/hooks/slo/use_create_slo.tsx similarity index 100% rename from x-pack/plugins/observability/public/hooks/slo/use_create_slo.tsx rename to x-pack/plugins/observability_solution/observability/public/hooks/slo/use_create_slo.tsx diff --git a/x-pack/plugins/observability/public/hooks/slo/use_delete_slo.ts b/x-pack/plugins/observability_solution/observability/public/hooks/slo/use_delete_slo.ts similarity index 100% rename from x-pack/plugins/observability/public/hooks/slo/use_delete_slo.ts rename to x-pack/plugins/observability_solution/observability/public/hooks/slo/use_delete_slo.ts diff --git a/x-pack/plugins/observability/public/hooks/slo/use_fetch_active_alerts.ts b/x-pack/plugins/observability_solution/observability/public/hooks/slo/use_fetch_active_alerts.ts similarity index 100% rename from x-pack/plugins/observability/public/hooks/slo/use_fetch_active_alerts.ts rename to x-pack/plugins/observability_solution/observability/public/hooks/slo/use_fetch_active_alerts.ts diff --git a/x-pack/plugins/observability/public/hooks/slo/use_fetch_apm_indices.ts b/x-pack/plugins/observability_solution/observability/public/hooks/slo/use_fetch_apm_indices.ts similarity index 100% rename from x-pack/plugins/observability/public/hooks/slo/use_fetch_apm_indices.ts rename to x-pack/plugins/observability_solution/observability/public/hooks/slo/use_fetch_apm_indices.ts diff --git a/x-pack/plugins/observability/public/hooks/slo/use_fetch_apm_suggestions.ts b/x-pack/plugins/observability_solution/observability/public/hooks/slo/use_fetch_apm_suggestions.ts similarity index 100% rename from x-pack/plugins/observability/public/hooks/slo/use_fetch_apm_suggestions.ts rename to x-pack/plugins/observability_solution/observability/public/hooks/slo/use_fetch_apm_suggestions.ts diff --git a/x-pack/plugins/observability/public/hooks/slo/use_fetch_global_diagnosis.ts b/x-pack/plugins/observability_solution/observability/public/hooks/slo/use_fetch_global_diagnosis.ts similarity index 100% rename from x-pack/plugins/observability/public/hooks/slo/use_fetch_global_diagnosis.ts rename to x-pack/plugins/observability_solution/observability/public/hooks/slo/use_fetch_global_diagnosis.ts diff --git a/x-pack/plugins/observability/public/hooks/slo/use_fetch_group_by_cardinality.ts b/x-pack/plugins/observability_solution/observability/public/hooks/slo/use_fetch_group_by_cardinality.ts similarity index 76% rename from x-pack/plugins/observability/public/hooks/slo/use_fetch_group_by_cardinality.ts rename to x-pack/plugins/observability_solution/observability/public/hooks/slo/use_fetch_group_by_cardinality.ts index 928eb7e92482d..06196476e6cb1 100644 --- a/x-pack/plugins/observability/public/hooks/slo/use_fetch_group_by_cardinality.ts +++ b/x-pack/plugins/observability_solution/observability/public/hooks/slo/use_fetch_group_by_cardinality.ts @@ -19,10 +19,18 @@ export interface UseFetchIndexPatternFieldsResponse { const HIGH_CARDINALITY_THRESHOLD = 1000; +const buildInstanceId = (groupBy: string | string[]): string => { + const groups = [groupBy].flat().filter((value) => !!value); + const groupings = groups.map((group) => `'${group}:'+doc['${group}'].value`).join(`+'|'+`); + + const hasAllGroupings = groups.map((group) => `doc['${group}'].size() > 0`).join(' && '); + return `if (${hasAllGroupings}) { emit(${groupings}) }`; +}; + export function useFetchGroupByCardinality( indexPattern: string, timestampField: string, - groupBy: string + groupBy: string | string[] ): UseFetchIndexPatternFieldsResponse { const { data: dataService } = useKibana().services; @@ -40,10 +48,16 @@ export function useFetchGroupByCardinality( filter: [{ range: { [timestampField]: { gte: 'now-24h' } } }], }, }, + runtime_mappings: { + group_combinations: { + type: 'keyword', + script: buildInstanceId(groupBy), + }, + }, aggs: { groupByCardinality: { cardinality: { - field: groupBy, + field: 'group_combinations', }, }, }, diff --git a/x-pack/plugins/observability/public/hooks/slo/use_fetch_historical_summary.ts b/x-pack/plugins/observability_solution/observability/public/hooks/slo/use_fetch_historical_summary.ts similarity index 100% rename from x-pack/plugins/observability/public/hooks/slo/use_fetch_historical_summary.ts rename to x-pack/plugins/observability_solution/observability/public/hooks/slo/use_fetch_historical_summary.ts diff --git a/x-pack/plugins/observability/public/hooks/slo/use_fetch_rules_for_slo.ts b/x-pack/plugins/observability_solution/observability/public/hooks/slo/use_fetch_rules_for_slo.ts similarity index 100% rename from x-pack/plugins/observability/public/hooks/slo/use_fetch_rules_for_slo.ts rename to x-pack/plugins/observability_solution/observability/public/hooks/slo/use_fetch_rules_for_slo.ts diff --git a/x-pack/plugins/observability/public/hooks/slo/use_fetch_slo_burn_rates.ts b/x-pack/plugins/observability_solution/observability/public/hooks/slo/use_fetch_slo_burn_rates.ts similarity index 100% rename from x-pack/plugins/observability/public/hooks/slo/use_fetch_slo_burn_rates.ts rename to x-pack/plugins/observability_solution/observability/public/hooks/slo/use_fetch_slo_burn_rates.ts diff --git a/x-pack/plugins/observability/public/hooks/slo/use_fetch_slo_definitions.ts b/x-pack/plugins/observability_solution/observability/public/hooks/slo/use_fetch_slo_definitions.ts similarity index 100% rename from x-pack/plugins/observability/public/hooks/slo/use_fetch_slo_definitions.ts rename to x-pack/plugins/observability_solution/observability/public/hooks/slo/use_fetch_slo_definitions.ts diff --git a/x-pack/plugins/observability/public/hooks/slo/use_fetch_slo_details.ts b/x-pack/plugins/observability_solution/observability/public/hooks/slo/use_fetch_slo_details.ts similarity index 100% rename from x-pack/plugins/observability/public/hooks/slo/use_fetch_slo_details.ts rename to x-pack/plugins/observability_solution/observability/public/hooks/slo/use_fetch_slo_details.ts diff --git a/x-pack/plugins/observability/public/hooks/slo/use_fetch_slo_groups.ts b/x-pack/plugins/observability_solution/observability/public/hooks/slo/use_fetch_slo_groups.ts similarity index 100% rename from x-pack/plugins/observability/public/hooks/slo/use_fetch_slo_groups.ts rename to x-pack/plugins/observability_solution/observability/public/hooks/slo/use_fetch_slo_groups.ts diff --git a/x-pack/plugins/observability/public/hooks/slo/use_fetch_slo_inspect.ts b/x-pack/plugins/observability_solution/observability/public/hooks/slo/use_fetch_slo_inspect.ts similarity index 100% rename from x-pack/plugins/observability/public/hooks/slo/use_fetch_slo_inspect.ts rename to x-pack/plugins/observability_solution/observability/public/hooks/slo/use_fetch_slo_inspect.ts diff --git a/x-pack/plugins/observability/public/hooks/slo/use_fetch_slo_instances.ts b/x-pack/plugins/observability_solution/observability/public/hooks/slo/use_fetch_slo_instances.ts similarity index 100% rename from x-pack/plugins/observability/public/hooks/slo/use_fetch_slo_instances.ts rename to x-pack/plugins/observability_solution/observability/public/hooks/slo/use_fetch_slo_instances.ts diff --git a/x-pack/plugins/observability/public/hooks/slo/use_fetch_slo_list.ts b/x-pack/plugins/observability_solution/observability/public/hooks/slo/use_fetch_slo_list.ts similarity index 100% rename from x-pack/plugins/observability/public/hooks/slo/use_fetch_slo_list.ts rename to x-pack/plugins/observability_solution/observability/public/hooks/slo/use_fetch_slo_list.ts diff --git a/x-pack/plugins/observability/public/hooks/slo/use_get_preview_data.ts b/x-pack/plugins/observability_solution/observability/public/hooks/slo/use_get_preview_data.ts similarity index 92% rename from x-pack/plugins/observability/public/hooks/slo/use_get_preview_data.ts rename to x-pack/plugins/observability_solution/observability/public/hooks/slo/use_get_preview_data.ts index 4f749653d06e1..23d90f487dab0 100644 --- a/x-pack/plugins/observability/public/hooks/slo/use_get_preview_data.ts +++ b/x-pack/plugins/observability_solution/observability/public/hooks/slo/use_get_preview_data.ts @@ -24,11 +24,13 @@ export function useGetPreviewData({ indicator, objective, groupBy, + groupings, instanceId, }: { isValid: boolean; groupBy?: string; instanceId?: string; + groupings?: Record; objective?: Objective; indicator: Indicator; range: { start: number; end: number }; @@ -36,7 +38,7 @@ export function useGetPreviewData({ const { http } = useKibana().services; const { isInitialLoading, isLoading, isError, isSuccess, data } = useQuery({ - queryKey: sloKeys.preview(indicator, range), + queryKey: sloKeys.preview(indicator, range, groupings), queryFn: async ({ signal }) => { const response = await http.post( '/internal/observability/slos/_preview', @@ -46,6 +48,7 @@ export function useGetPreviewData({ range, groupBy, instanceId, + groupings, ...(objective ? { objective } : null), }), signal, diff --git a/x-pack/plugins/observability/public/hooks/slo/use_reset_slo.ts b/x-pack/plugins/observability_solution/observability/public/hooks/slo/use_reset_slo.ts similarity index 100% rename from x-pack/plugins/observability/public/hooks/slo/use_reset_slo.ts rename to x-pack/plugins/observability_solution/observability/public/hooks/slo/use_reset_slo.ts diff --git a/x-pack/plugins/observability/public/hooks/slo/use_update_slo.ts b/x-pack/plugins/observability_solution/observability/public/hooks/slo/use_update_slo.ts similarity index 100% rename from x-pack/plugins/observability/public/hooks/slo/use_update_slo.ts rename to x-pack/plugins/observability_solution/observability/public/hooks/slo/use_update_slo.ts diff --git a/x-pack/plugins/observability/public/hooks/use_create_data_view.ts b/x-pack/plugins/observability_solution/observability/public/hooks/use_create_data_view.ts similarity index 100% rename from x-pack/plugins/observability/public/hooks/use_create_data_view.ts rename to x-pack/plugins/observability_solution/observability/public/hooks/use_create_data_view.ts diff --git a/x-pack/plugins/observability/public/hooks/use_create_rule.ts b/x-pack/plugins/observability_solution/observability/public/hooks/use_create_rule.ts similarity index 100% rename from x-pack/plugins/observability/public/hooks/use_create_rule.ts rename to x-pack/plugins/observability_solution/observability/public/hooks/use_create_rule.ts diff --git a/x-pack/plugins/observability/public/hooks/use_data_fetcher.ts b/x-pack/plugins/observability_solution/observability/public/hooks/use_data_fetcher.ts similarity index 100% rename from x-pack/plugins/observability/public/hooks/use_data_fetcher.ts rename to x-pack/plugins/observability_solution/observability/public/hooks/use_data_fetcher.ts diff --git a/x-pack/plugins/observability/public/hooks/use_date_picker_context.ts b/x-pack/plugins/observability_solution/observability/public/hooks/use_date_picker_context.ts similarity index 100% rename from x-pack/plugins/observability/public/hooks/use_date_picker_context.ts rename to x-pack/plugins/observability_solution/observability/public/hooks/use_date_picker_context.ts diff --git a/x-pack/plugins/observability/public/hooks/use_delete_rules.ts b/x-pack/plugins/observability_solution/observability/public/hooks/use_delete_rules.ts similarity index 100% rename from x-pack/plugins/observability/public/hooks/use_delete_rules.ts rename to x-pack/plugins/observability_solution/observability/public/hooks/use_delete_rules.ts diff --git a/x-pack/plugins/observability/public/hooks/use_fetch_alert_data.test.ts b/x-pack/plugins/observability_solution/observability/public/hooks/use_fetch_alert_data.test.ts similarity index 100% rename from x-pack/plugins/observability/public/hooks/use_fetch_alert_data.test.ts rename to x-pack/plugins/observability_solution/observability/public/hooks/use_fetch_alert_data.test.ts diff --git a/x-pack/plugins/observability/public/hooks/use_fetch_alert_data.ts b/x-pack/plugins/observability_solution/observability/public/hooks/use_fetch_alert_data.ts similarity index 100% rename from x-pack/plugins/observability/public/hooks/use_fetch_alert_data.ts rename to x-pack/plugins/observability_solution/observability/public/hooks/use_fetch_alert_data.ts diff --git a/x-pack/plugins/observability/public/hooks/use_fetch_alert_detail.test.ts b/x-pack/plugins/observability_solution/observability/public/hooks/use_fetch_alert_detail.test.ts similarity index 100% rename from x-pack/plugins/observability/public/hooks/use_fetch_alert_detail.test.ts rename to x-pack/plugins/observability_solution/observability/public/hooks/use_fetch_alert_detail.test.ts diff --git a/x-pack/plugins/observability/public/hooks/use_fetch_alert_detail.ts b/x-pack/plugins/observability_solution/observability/public/hooks/use_fetch_alert_detail.ts similarity index 100% rename from x-pack/plugins/observability/public/hooks/use_fetch_alert_detail.ts rename to x-pack/plugins/observability_solution/observability/public/hooks/use_fetch_alert_detail.ts diff --git a/x-pack/plugins/observability/public/hooks/use_fetch_data_views.ts b/x-pack/plugins/observability_solution/observability/public/hooks/use_fetch_data_views.ts similarity index 100% rename from x-pack/plugins/observability/public/hooks/use_fetch_data_views.ts rename to x-pack/plugins/observability_solution/observability/public/hooks/use_fetch_data_views.ts diff --git a/x-pack/plugins/observability/public/hooks/use_fetch_indices.ts b/x-pack/plugins/observability_solution/observability/public/hooks/use_fetch_indices.ts similarity index 100% rename from x-pack/plugins/observability/public/hooks/use_fetch_indices.ts rename to x-pack/plugins/observability_solution/observability/public/hooks/use_fetch_indices.ts diff --git a/x-pack/plugins/observability/public/hooks/use_fetch_rule.ts b/x-pack/plugins/observability_solution/observability/public/hooks/use_fetch_rule.ts similarity index 100% rename from x-pack/plugins/observability/public/hooks/use_fetch_rule.ts rename to x-pack/plugins/observability_solution/observability/public/hooks/use_fetch_rule.ts diff --git a/x-pack/plugins/observability/public/hooks/use_fetch_rule_types.ts b/x-pack/plugins/observability_solution/observability/public/hooks/use_fetch_rule_types.ts similarity index 100% rename from x-pack/plugins/observability/public/hooks/use_fetch_rule_types.ts rename to x-pack/plugins/observability_solution/observability/public/hooks/use_fetch_rule_types.ts diff --git a/x-pack/plugins/observability/public/hooks/use_get_filtered_rule_types.ts b/x-pack/plugins/observability_solution/observability/public/hooks/use_get_filtered_rule_types.ts similarity index 100% rename from x-pack/plugins/observability/public/hooks/use_get_filtered_rule_types.ts rename to x-pack/plugins/observability_solution/observability/public/hooks/use_get_filtered_rule_types.ts diff --git a/x-pack/plugins/observability/public/hooks/use_guided_setup_progress.ts b/x-pack/plugins/observability_solution/observability/public/hooks/use_guided_setup_progress.ts similarity index 100% rename from x-pack/plugins/observability/public/hooks/use_guided_setup_progress.ts rename to x-pack/plugins/observability_solution/observability/public/hooks/use_guided_setup_progress.ts diff --git a/x-pack/plugins/observability/public/hooks/use_has_data.ts b/x-pack/plugins/observability_solution/observability/public/hooks/use_has_data.ts similarity index 100% rename from x-pack/plugins/observability/public/hooks/use_has_data.ts rename to x-pack/plugins/observability_solution/observability/public/hooks/use_has_data.ts diff --git a/x-pack/plugins/observability/public/hooks/use_kibana_ui_settings.tsx b/x-pack/plugins/observability_solution/observability/public/hooks/use_kibana_ui_settings.tsx similarity index 100% rename from x-pack/plugins/observability/public/hooks/use_kibana_ui_settings.tsx rename to x-pack/plugins/observability_solution/observability/public/hooks/use_kibana_ui_settings.tsx diff --git a/x-pack/plugins/observability/public/hooks/use_license.ts b/x-pack/plugins/observability_solution/observability/public/hooks/use_license.ts similarity index 100% rename from x-pack/plugins/observability/public/hooks/use_license.ts rename to x-pack/plugins/observability_solution/observability/public/hooks/use_license.ts diff --git a/x-pack/plugins/observability/public/hooks/use_observability_onboarding.ts b/x-pack/plugins/observability_solution/observability/public/hooks/use_observability_onboarding.ts similarity index 100% rename from x-pack/plugins/observability/public/hooks/use_observability_onboarding.ts rename to x-pack/plugins/observability_solution/observability/public/hooks/use_observability_onboarding.ts diff --git a/x-pack/plugins/observability/public/hooks/use_plugin_context.tsx b/x-pack/plugins/observability_solution/observability/public/hooks/use_plugin_context.tsx similarity index 100% rename from x-pack/plugins/observability/public/hooks/use_plugin_context.tsx rename to x-pack/plugins/observability_solution/observability/public/hooks/use_plugin_context.tsx diff --git a/x-pack/plugins/observability/public/hooks/use_summary_time_range.tsx b/x-pack/plugins/observability_solution/observability/public/hooks/use_summary_time_range.tsx similarity index 100% rename from x-pack/plugins/observability/public/hooks/use_summary_time_range.tsx rename to x-pack/plugins/observability_solution/observability/public/hooks/use_summary_time_range.tsx diff --git a/x-pack/plugins/observability/public/hooks/use_time_buckets.ts b/x-pack/plugins/observability_solution/observability/public/hooks/use_time_buckets.ts similarity index 100% rename from x-pack/plugins/observability/public/hooks/use_time_buckets.ts rename to x-pack/plugins/observability_solution/observability/public/hooks/use_time_buckets.ts diff --git a/x-pack/plugins/observability/public/hooks/use_timefilter_service.ts b/x-pack/plugins/observability_solution/observability/public/hooks/use_timefilter_service.ts similarity index 100% rename from x-pack/plugins/observability/public/hooks/use_timefilter_service.ts rename to x-pack/plugins/observability_solution/observability/public/hooks/use_timefilter_service.ts diff --git a/x-pack/plugins/observability/public/hooks/use_toast.ts b/x-pack/plugins/observability_solution/observability/public/hooks/use_toast.ts similarity index 100% rename from x-pack/plugins/observability/public/hooks/use_toast.ts rename to x-pack/plugins/observability_solution/observability/public/hooks/use_toast.ts diff --git a/x-pack/plugins/observability/public/index.ts b/x-pack/plugins/observability_solution/observability/public/index.ts similarity index 100% rename from x-pack/plugins/observability/public/index.ts rename to x-pack/plugins/observability_solution/observability/public/index.ts diff --git a/x-pack/plugins/observability/public/locators/rule_details.test.ts b/x-pack/plugins/observability_solution/observability/public/locators/rule_details.test.ts similarity index 100% rename from x-pack/plugins/observability/public/locators/rule_details.test.ts rename to x-pack/plugins/observability_solution/observability/public/locators/rule_details.test.ts diff --git a/x-pack/plugins/observability/public/locators/rule_details.ts b/x-pack/plugins/observability_solution/observability/public/locators/rule_details.ts similarity index 100% rename from x-pack/plugins/observability/public/locators/rule_details.ts rename to x-pack/plugins/observability_solution/observability/public/locators/rule_details.ts diff --git a/x-pack/plugins/observability/public/locators/rules.test.ts b/x-pack/plugins/observability_solution/observability/public/locators/rules.test.ts similarity index 100% rename from x-pack/plugins/observability/public/locators/rules.test.ts rename to x-pack/plugins/observability_solution/observability/public/locators/rules.test.ts diff --git a/x-pack/plugins/observability/public/locators/rules.ts b/x-pack/plugins/observability_solution/observability/public/locators/rules.ts similarity index 100% rename from x-pack/plugins/observability/public/locators/rules.ts rename to x-pack/plugins/observability_solution/observability/public/locators/rules.ts diff --git a/x-pack/plugins/observability/public/locators/slo_details.test.ts b/x-pack/plugins/observability_solution/observability/public/locators/slo_details.test.ts similarity index 100% rename from x-pack/plugins/observability/public/locators/slo_details.test.ts rename to x-pack/plugins/observability_solution/observability/public/locators/slo_details.test.ts diff --git a/x-pack/plugins/observability/public/locators/slo_details.ts b/x-pack/plugins/observability_solution/observability/public/locators/slo_details.ts similarity index 100% rename from x-pack/plugins/observability/public/locators/slo_details.ts rename to x-pack/plugins/observability_solution/observability/public/locators/slo_details.ts diff --git a/x-pack/plugins/observability/public/locators/slo_edit.test.ts b/x-pack/plugins/observability_solution/observability/public/locators/slo_edit.test.ts similarity index 62% rename from x-pack/plugins/observability/public/locators/slo_edit.test.ts rename to x-pack/plugins/observability_solution/observability/public/locators/slo_edit.test.ts index cb485ea3e3877..aad10aac2cd50 100644 --- a/x-pack/plugins/observability/public/locators/slo_edit.test.ts +++ b/x-pack/plugins/observability_solution/observability/public/locators/slo_edit.test.ts @@ -20,7 +20,7 @@ describe('SloEditLocator', () => { it('should return correct url when slo is provided', async () => { const location = await locator.getLocation(buildSlo({ id: 'foo' })); expect(location.path).toEqual( - "/slos/edit/foo?_a=(budgetingMethod:occurrences,createdAt:'2022-12-29T10:11:12.000Z',description:'some%20description%20useful',enabled:!t,groupBy:'*',id:foo,indicator:(params:(filter:'baz:%20foo%20and%20bar%20%3E%202',good:'http_status:%202xx',index:some-index,timestampField:custom_timestamp,total:'a%20query'),type:sli.kql.custom),instanceId:'*',name:'super%20important%20level%20service',objective:(target:0.98),revision:1,settings:(frequency:'1m',syncDelay:'1m'),summary:(errorBudget:(consumed:0.064,initial:0.02,isEstimated:!f,remaining:0.936),sliValue:0.99872,status:HEALTHY),tags:!(k8s,production,critical),timeWindow:(duration:'30d',type:rolling),updatedAt:'2022-12-29T10:11:12.000Z',version:2)" + "/slos/edit/foo?_a=(budgetingMethod:occurrences,createdAt:'2022-12-29T10:11:12.000Z',description:'some%20description%20useful',enabled:!t,groupBy:'*',groupings:(),id:foo,indicator:(params:(filter:'baz:%20foo%20and%20bar%20%3E%202',good:'http_status:%202xx',index:some-index,timestampField:custom_timestamp,total:'a%20query'),type:sli.kql.custom),instanceId:'*',name:'super%20important%20level%20service',objective:(target:0.98),revision:1,settings:(frequency:'1m',syncDelay:'1m'),summary:(errorBudget:(consumed:0.064,initial:0.02,isEstimated:!f,remaining:0.936),sliValue:0.99872,status:HEALTHY),tags:!(k8s,production,critical),timeWindow:(duration:'30d',type:rolling),updatedAt:'2022-12-29T10:11:12.000Z',version:2)" ); }); }); diff --git a/x-pack/plugins/observability/public/locators/slo_edit.ts b/x-pack/plugins/observability_solution/observability/public/locators/slo_edit.ts similarity index 100% rename from x-pack/plugins/observability/public/locators/slo_edit.ts rename to x-pack/plugins/observability_solution/observability/public/locators/slo_edit.ts diff --git a/x-pack/plugins/observability/public/locators/slo_list.test.ts b/x-pack/plugins/observability_solution/observability/public/locators/slo_list.test.ts similarity index 100% rename from x-pack/plugins/observability/public/locators/slo_list.test.ts rename to x-pack/plugins/observability_solution/observability/public/locators/slo_list.test.ts diff --git a/x-pack/plugins/observability/public/locators/slo_list.ts b/x-pack/plugins/observability_solution/observability/public/locators/slo_list.ts similarity index 100% rename from x-pack/plugins/observability/public/locators/slo_list.ts rename to x-pack/plugins/observability_solution/observability/public/locators/slo_list.ts diff --git a/x-pack/plugins/observability/public/pages/404.tsx b/x-pack/plugins/observability_solution/observability/public/pages/404.tsx similarity index 100% rename from x-pack/plugins/observability/public/pages/404.tsx rename to x-pack/plugins/observability_solution/observability/public/pages/404.tsx diff --git a/x-pack/plugins/observability/public/pages/alert_details/alert_details.test.tsx b/x-pack/plugins/observability_solution/observability/public/pages/alert_details/alert_details.test.tsx similarity index 100% rename from x-pack/plugins/observability/public/pages/alert_details/alert_details.test.tsx rename to x-pack/plugins/observability_solution/observability/public/pages/alert_details/alert_details.test.tsx diff --git a/x-pack/plugins/observability/public/pages/alert_details/alert_details.tsx b/x-pack/plugins/observability_solution/observability/public/pages/alert_details/alert_details.tsx similarity index 100% rename from x-pack/plugins/observability/public/pages/alert_details/alert_details.tsx rename to x-pack/plugins/observability_solution/observability/public/pages/alert_details/alert_details.tsx diff --git a/x-pack/plugins/observability/public/pages/alert_details/components/alert_summary.test.tsx b/x-pack/plugins/observability_solution/observability/public/pages/alert_details/components/alert_summary.test.tsx similarity index 100% rename from x-pack/plugins/observability/public/pages/alert_details/components/alert_summary.test.tsx rename to x-pack/plugins/observability_solution/observability/public/pages/alert_details/components/alert_summary.test.tsx diff --git a/x-pack/plugins/observability/public/pages/alert_details/components/alert_summary.tsx b/x-pack/plugins/observability_solution/observability/public/pages/alert_details/components/alert_summary.tsx similarity index 100% rename from x-pack/plugins/observability/public/pages/alert_details/components/alert_summary.tsx rename to x-pack/plugins/observability_solution/observability/public/pages/alert_details/components/alert_summary.tsx diff --git a/x-pack/plugins/observability/public/pages/alert_details/components/feedback_button.tsx b/x-pack/plugins/observability_solution/observability/public/pages/alert_details/components/feedback_button.tsx similarity index 100% rename from x-pack/plugins/observability/public/pages/alert_details/components/feedback_button.tsx rename to x-pack/plugins/observability_solution/observability/public/pages/alert_details/components/feedback_button.tsx diff --git a/x-pack/plugins/observability/public/pages/alert_details/components/header_actions.test.tsx b/x-pack/plugins/observability_solution/observability/public/pages/alert_details/components/header_actions.test.tsx similarity index 98% rename from x-pack/plugins/observability/public/pages/alert_details/components/header_actions.test.tsx rename to x-pack/plugins/observability_solution/observability/public/pages/alert_details/components/header_actions.test.tsx index 507af13861d1b..f719a37237240 100644 --- a/x-pack/plugins/observability/public/pages/alert_details/components/header_actions.test.tsx +++ b/x-pack/plugins/observability_solution/observability/public/pages/alert_details/components/header_actions.test.tsx @@ -17,7 +17,7 @@ import { alertWithTags, mockAlertUuid, untrackedAlert } from '../mock/alert'; import { useFetchRule } from '../../../hooks/use_fetch_rule'; import { HeaderActions } from './header_actions'; -import { CasesUiStart } from '@kbn/cases-plugin/public'; +import { CasesPublicStart } from '@kbn/cases-plugin/public'; import { AlertStatus, ALERT_STATUS } from '@kbn/rule-data-utils'; import { OBSERVABILITY_BASE_PATH, RULES_PATH } from '../../../../common/locators/paths'; @@ -103,7 +103,7 @@ describe('Header Actions', () => { open: ({ getAttachments }: { getAttachments: () => any[] }) => { attachments = getAttachments(); }, - })) as CasesUiStart['hooks']['useCasesAddToExistingCaseModal']; + })) as CasesPublicStart['hooks']['useCasesAddToExistingCaseModal']; mockCases.hooks.useCasesAddToExistingCaseModal = useCasesAddToExistingCaseModalMock; diff --git a/x-pack/plugins/observability/public/pages/alert_details/components/header_actions.tsx b/x-pack/plugins/observability_solution/observability/public/pages/alert_details/components/header_actions.tsx similarity index 100% rename from x-pack/plugins/observability/public/pages/alert_details/components/header_actions.tsx rename to x-pack/plugins/observability_solution/observability/public/pages/alert_details/components/header_actions.tsx diff --git a/x-pack/plugins/observability/public/pages/alert_details/components/page_title.stories.tsx b/x-pack/plugins/observability_solution/observability/public/pages/alert_details/components/page_title.stories.tsx similarity index 100% rename from x-pack/plugins/observability/public/pages/alert_details/components/page_title.stories.tsx rename to x-pack/plugins/observability_solution/observability/public/pages/alert_details/components/page_title.stories.tsx diff --git a/x-pack/plugins/observability/public/pages/alert_details/components/page_title.test.tsx b/x-pack/plugins/observability_solution/observability/public/pages/alert_details/components/page_title.test.tsx similarity index 100% rename from x-pack/plugins/observability/public/pages/alert_details/components/page_title.test.tsx rename to x-pack/plugins/observability_solution/observability/public/pages/alert_details/components/page_title.test.tsx diff --git a/x-pack/plugins/observability/public/pages/alert_details/components/page_title.tsx b/x-pack/plugins/observability_solution/observability/public/pages/alert_details/components/page_title.tsx similarity index 100% rename from x-pack/plugins/observability/public/pages/alert_details/components/page_title.tsx rename to x-pack/plugins/observability_solution/observability/public/pages/alert_details/components/page_title.tsx diff --git a/x-pack/plugins/observability/public/pages/alert_details/hooks/use_bulk_untrack_alerts.tsx b/x-pack/plugins/observability_solution/observability/public/pages/alert_details/hooks/use_bulk_untrack_alerts.tsx similarity index 100% rename from x-pack/plugins/observability/public/pages/alert_details/hooks/use_bulk_untrack_alerts.tsx rename to x-pack/plugins/observability_solution/observability/public/pages/alert_details/hooks/use_bulk_untrack_alerts.tsx diff --git a/x-pack/plugins/observability/public/pages/alert_details/mock/alert.ts b/x-pack/plugins/observability_solution/observability/public/pages/alert_details/mock/alert.ts similarity index 100% rename from x-pack/plugins/observability/public/pages/alert_details/mock/alert.ts rename to x-pack/plugins/observability_solution/observability/public/pages/alert_details/mock/alert.ts diff --git a/x-pack/plugins/observability/public/pages/alert_details/mock/alert_summary_fields.ts b/x-pack/plugins/observability_solution/observability/public/pages/alert_details/mock/alert_summary_fields.ts similarity index 100% rename from x-pack/plugins/observability/public/pages/alert_details/mock/alert_summary_fields.ts rename to x-pack/plugins/observability_solution/observability/public/pages/alert_details/mock/alert_summary_fields.ts diff --git a/x-pack/plugins/observability/public/pages/alerts/alerts.test.tsx b/x-pack/plugins/observability_solution/observability/public/pages/alerts/alerts.test.tsx similarity index 100% rename from x-pack/plugins/observability/public/pages/alerts/alerts.test.tsx rename to x-pack/plugins/observability_solution/observability/public/pages/alerts/alerts.test.tsx diff --git a/x-pack/plugins/observability/public/pages/alerts/alerts.tsx b/x-pack/plugins/observability_solution/observability/public/pages/alerts/alerts.tsx similarity index 100% rename from x-pack/plugins/observability/public/pages/alerts/alerts.tsx rename to x-pack/plugins/observability_solution/observability/public/pages/alerts/alerts.tsx diff --git a/x-pack/plugins/observability/public/pages/alerts/components/alert_actions.test.tsx b/x-pack/plugins/observability_solution/observability/public/pages/alerts/components/alert_actions.test.tsx similarity index 100% rename from x-pack/plugins/observability/public/pages/alerts/components/alert_actions.test.tsx rename to x-pack/plugins/observability_solution/observability/public/pages/alerts/components/alert_actions.test.tsx diff --git a/x-pack/plugins/observability/public/pages/alerts/components/alert_actions.tsx b/x-pack/plugins/observability_solution/observability/public/pages/alerts/components/alert_actions.tsx similarity index 100% rename from x-pack/plugins/observability/public/pages/alerts/components/alert_actions.tsx rename to x-pack/plugins/observability_solution/observability/public/pages/alerts/components/alert_actions.tsx diff --git a/x-pack/plugins/observability/public/pages/alerts/components/rule_stats.test.tsx b/x-pack/plugins/observability_solution/observability/public/pages/alerts/components/rule_stats.test.tsx similarity index 100% rename from x-pack/plugins/observability/public/pages/alerts/components/rule_stats.test.tsx rename to x-pack/plugins/observability_solution/observability/public/pages/alerts/components/rule_stats.test.tsx diff --git a/x-pack/plugins/observability/public/pages/alerts/components/rule_stats.tsx b/x-pack/plugins/observability_solution/observability/public/pages/alerts/components/rule_stats.tsx similarity index 100% rename from x-pack/plugins/observability/public/pages/alerts/components/rule_stats.tsx rename to x-pack/plugins/observability_solution/observability/public/pages/alerts/components/rule_stats.tsx diff --git a/x-pack/plugins/observability/public/pages/alerts/helpers/parse_alert.ts b/x-pack/plugins/observability_solution/observability/public/pages/alerts/helpers/parse_alert.ts similarity index 100% rename from x-pack/plugins/observability/public/pages/alerts/helpers/parse_alert.ts rename to x-pack/plugins/observability_solution/observability/public/pages/alerts/helpers/parse_alert.ts diff --git a/x-pack/plugins/observability/public/pages/cases/cases.tsx b/x-pack/plugins/observability_solution/observability/public/pages/cases/cases.tsx similarity index 100% rename from x-pack/plugins/observability/public/pages/cases/cases.tsx rename to x-pack/plugins/observability_solution/observability/public/pages/cases/cases.tsx diff --git a/x-pack/plugins/observability/public/pages/cases/components/cases.stories.tsx b/x-pack/plugins/observability_solution/observability/public/pages/cases/components/cases.stories.tsx similarity index 100% rename from x-pack/plugins/observability/public/pages/cases/components/cases.stories.tsx rename to x-pack/plugins/observability_solution/observability/public/pages/cases/components/cases.stories.tsx diff --git a/x-pack/plugins/observability/public/pages/cases/components/cases.tsx b/x-pack/plugins/observability_solution/observability/public/pages/cases/components/cases.tsx similarity index 100% rename from x-pack/plugins/observability/public/pages/cases/components/cases.tsx rename to x-pack/plugins/observability_solution/observability/public/pages/cases/components/cases.tsx diff --git a/x-pack/plugins/observability/public/pages/cases/components/empty_page.tsx b/x-pack/plugins/observability_solution/observability/public/pages/cases/components/empty_page.tsx similarity index 100% rename from x-pack/plugins/observability/public/pages/cases/components/empty_page.tsx rename to x-pack/plugins/observability_solution/observability/public/pages/cases/components/empty_page.tsx diff --git a/x-pack/plugins/observability/public/pages/cases/components/feature_no_permissions.tsx b/x-pack/plugins/observability_solution/observability/public/pages/cases/components/feature_no_permissions.tsx similarity index 100% rename from x-pack/plugins/observability/public/pages/cases/components/feature_no_permissions.tsx rename to x-pack/plugins/observability_solution/observability/public/pages/cases/components/feature_no_permissions.tsx diff --git a/x-pack/plugins/observability/public/pages/landing/landing.tsx b/x-pack/plugins/observability_solution/observability/public/pages/landing/landing.tsx similarity index 100% rename from x-pack/plugins/observability/public/pages/landing/landing.tsx rename to x-pack/plugins/observability_solution/observability/public/pages/landing/landing.tsx diff --git a/x-pack/plugins/observability/public/pages/overview/components/chart_container/chart_container.test.tsx b/x-pack/plugins/observability_solution/observability/public/pages/overview/components/chart_container/chart_container.test.tsx similarity index 100% rename from x-pack/plugins/observability/public/pages/overview/components/chart_container/chart_container.test.tsx rename to x-pack/plugins/observability_solution/observability/public/pages/overview/components/chart_container/chart_container.test.tsx diff --git a/x-pack/plugins/observability/public/pages/overview/components/chart_container/chart_container.tsx b/x-pack/plugins/observability_solution/observability/public/pages/overview/components/chart_container/chart_container.tsx similarity index 100% rename from x-pack/plugins/observability/public/pages/overview/components/chart_container/chart_container.tsx rename to x-pack/plugins/observability_solution/observability/public/pages/overview/components/chart_container/chart_container.tsx diff --git a/x-pack/plugins/observability/public/pages/overview/components/data_assistant_flyout.tsx b/x-pack/plugins/observability_solution/observability/public/pages/overview/components/data_assistant_flyout.tsx similarity index 100% rename from x-pack/plugins/observability/public/pages/overview/components/data_assistant_flyout.tsx rename to x-pack/plugins/observability_solution/observability/public/pages/overview/components/data_assistant_flyout.tsx diff --git a/x-pack/plugins/observability/public/pages/overview/components/data_sections.tsx b/x-pack/plugins/observability_solution/observability/public/pages/overview/components/data_sections.tsx similarity index 100% rename from x-pack/plugins/observability/public/pages/overview/components/data_sections.tsx rename to x-pack/plugins/observability_solution/observability/public/pages/overview/components/data_sections.tsx diff --git a/x-pack/plugins/observability/public/pages/overview/components/date_picker/date_picker.test.tsx b/x-pack/plugins/observability_solution/observability/public/pages/overview/components/date_picker/date_picker.test.tsx similarity index 100% rename from x-pack/plugins/observability/public/pages/overview/components/date_picker/date_picker.test.tsx rename to x-pack/plugins/observability_solution/observability/public/pages/overview/components/date_picker/date_picker.test.tsx diff --git a/x-pack/plugins/observability/public/pages/overview/components/date_picker/date_picker.tsx b/x-pack/plugins/observability_solution/observability/public/pages/overview/components/date_picker/date_picker.tsx similarity index 100% rename from x-pack/plugins/observability/public/pages/overview/components/date_picker/date_picker.tsx rename to x-pack/plugins/observability_solution/observability/public/pages/overview/components/date_picker/date_picker.tsx diff --git a/x-pack/plugins/observability/public/pages/overview/components/header_actions/header_actions.tsx b/x-pack/plugins/observability_solution/observability/public/pages/overview/components/header_actions/header_actions.tsx similarity index 100% rename from x-pack/plugins/observability/public/pages/overview/components/header_actions/header_actions.tsx rename to x-pack/plugins/observability_solution/observability/public/pages/overview/components/header_actions/header_actions.tsx diff --git a/x-pack/plugins/observability/public/pages/overview/components/header_menu/header_menu.tsx b/x-pack/plugins/observability_solution/observability/public/pages/overview/components/header_menu/header_menu.tsx similarity index 100% rename from x-pack/plugins/observability/public/pages/overview/components/header_menu/header_menu.tsx rename to x-pack/plugins/observability_solution/observability/public/pages/overview/components/header_menu/header_menu.tsx diff --git a/x-pack/plugins/observability/public/pages/overview/components/header_menu/header_menu_portal.test.tsx b/x-pack/plugins/observability_solution/observability/public/pages/overview/components/header_menu/header_menu_portal.test.tsx similarity index 100% rename from x-pack/plugins/observability/public/pages/overview/components/header_menu/header_menu_portal.test.tsx rename to x-pack/plugins/observability_solution/observability/public/pages/overview/components/header_menu/header_menu_portal.test.tsx diff --git a/x-pack/plugins/observability/public/pages/overview/components/header_menu/header_menu_portal.tsx b/x-pack/plugins/observability_solution/observability/public/pages/overview/components/header_menu/header_menu_portal.tsx similarity index 100% rename from x-pack/plugins/observability/public/pages/overview/components/header_menu/header_menu_portal.tsx rename to x-pack/plugins/observability_solution/observability/public/pages/overview/components/header_menu/header_menu_portal.tsx diff --git a/x-pack/plugins/observability/public/pages/overview/components/news_feed/helpers/get_news_feed.test.ts b/x-pack/plugins/observability_solution/observability/public/pages/overview/components/news_feed/helpers/get_news_feed.test.ts similarity index 100% rename from x-pack/plugins/observability/public/pages/overview/components/news_feed/helpers/get_news_feed.test.ts rename to x-pack/plugins/observability_solution/observability/public/pages/overview/components/news_feed/helpers/get_news_feed.test.ts diff --git a/x-pack/plugins/observability/public/pages/overview/components/news_feed/helpers/get_news_feed.ts b/x-pack/plugins/observability_solution/observability/public/pages/overview/components/news_feed/helpers/get_news_feed.ts similarity index 100% rename from x-pack/plugins/observability/public/pages/overview/components/news_feed/helpers/get_news_feed.ts rename to x-pack/plugins/observability_solution/observability/public/pages/overview/components/news_feed/helpers/get_news_feed.ts diff --git a/x-pack/plugins/observability/public/pages/overview/components/news_feed/news_feed.scss b/x-pack/plugins/observability_solution/observability/public/pages/overview/components/news_feed/news_feed.scss similarity index 100% rename from x-pack/plugins/observability/public/pages/overview/components/news_feed/news_feed.scss rename to x-pack/plugins/observability_solution/observability/public/pages/overview/components/news_feed/news_feed.scss diff --git a/x-pack/plugins/observability/public/pages/overview/components/news_feed/news_feed.test.tsx b/x-pack/plugins/observability_solution/observability/public/pages/overview/components/news_feed/news_feed.test.tsx similarity index 100% rename from x-pack/plugins/observability/public/pages/overview/components/news_feed/news_feed.test.tsx rename to x-pack/plugins/observability_solution/observability/public/pages/overview/components/news_feed/news_feed.test.tsx diff --git a/x-pack/plugins/observability/public/pages/overview/components/news_feed/news_feed.tsx b/x-pack/plugins/observability_solution/observability/public/pages/overview/components/news_feed/news_feed.tsx similarity index 100% rename from x-pack/plugins/observability/public/pages/overview/components/news_feed/news_feed.tsx rename to x-pack/plugins/observability_solution/observability/public/pages/overview/components/news_feed/news_feed.tsx diff --git a/x-pack/plugins/observability/public/pages/overview/components/observability_onboarding_callout.tsx b/x-pack/plugins/observability_solution/observability/public/pages/overview/components/observability_onboarding_callout.tsx similarity index 100% rename from x-pack/plugins/observability/public/pages/overview/components/observability_onboarding_callout.tsx rename to x-pack/plugins/observability_solution/observability/public/pages/overview/components/observability_onboarding_callout.tsx diff --git a/x-pack/plugins/observability/public/pages/overview/components/observability_status/content.ts b/x-pack/plugins/observability_solution/observability/public/pages/overview/components/observability_status/content.ts similarity index 100% rename from x-pack/plugins/observability/public/pages/overview/components/observability_status/content.ts rename to x-pack/plugins/observability_solution/observability/public/pages/overview/components/observability_status/content.ts diff --git a/x-pack/plugins/observability/public/pages/overview/components/observability_status/index.tsx b/x-pack/plugins/observability_solution/observability/public/pages/overview/components/observability_status/index.tsx similarity index 100% rename from x-pack/plugins/observability/public/pages/overview/components/observability_status/index.tsx rename to x-pack/plugins/observability_solution/observability/public/pages/overview/components/observability_status/index.tsx diff --git a/x-pack/plugins/observability/public/pages/overview/components/observability_status/observability_status.stories.tsx b/x-pack/plugins/observability_solution/observability/public/pages/overview/components/observability_status/observability_status.stories.tsx similarity index 100% rename from x-pack/plugins/observability/public/pages/overview/components/observability_status/observability_status.stories.tsx rename to x-pack/plugins/observability_solution/observability/public/pages/overview/components/observability_status/observability_status.stories.tsx diff --git a/x-pack/plugins/observability/public/pages/overview/components/observability_status/observability_status_box.test.tsx b/x-pack/plugins/observability_solution/observability/public/pages/overview/components/observability_status/observability_status_box.test.tsx similarity index 100% rename from x-pack/plugins/observability/public/pages/overview/components/observability_status/observability_status_box.test.tsx rename to x-pack/plugins/observability_solution/observability/public/pages/overview/components/observability_status/observability_status_box.test.tsx diff --git a/x-pack/plugins/observability/public/pages/overview/components/observability_status/observability_status_box.tsx b/x-pack/plugins/observability_solution/observability/public/pages/overview/components/observability_status/observability_status_box.tsx similarity index 100% rename from x-pack/plugins/observability/public/pages/overview/components/observability_status/observability_status_box.tsx rename to x-pack/plugins/observability_solution/observability/public/pages/overview/components/observability_status/observability_status_box.tsx diff --git a/x-pack/plugins/observability/public/pages/overview/components/observability_status/observability_status_boxes.test.tsx b/x-pack/plugins/observability_solution/observability/public/pages/overview/components/observability_status/observability_status_boxes.test.tsx similarity index 100% rename from x-pack/plugins/observability/public/pages/overview/components/observability_status/observability_status_boxes.test.tsx rename to x-pack/plugins/observability_solution/observability/public/pages/overview/components/observability_status/observability_status_boxes.test.tsx diff --git a/x-pack/plugins/observability/public/pages/overview/components/observability_status/observability_status_boxes.tsx b/x-pack/plugins/observability_solution/observability/public/pages/overview/components/observability_status/observability_status_boxes.tsx similarity index 100% rename from x-pack/plugins/observability/public/pages/overview/components/observability_status/observability_status_boxes.tsx rename to x-pack/plugins/observability_solution/observability/public/pages/overview/components/observability_status/observability_status_boxes.tsx diff --git a/x-pack/plugins/observability/public/pages/overview/components/observability_status/observability_status_progress.test.tsx b/x-pack/plugins/observability_solution/observability/public/pages/overview/components/observability_status/observability_status_progress.test.tsx similarity index 100% rename from x-pack/plugins/observability/public/pages/overview/components/observability_status/observability_status_progress.test.tsx rename to x-pack/plugins/observability_solution/observability/public/pages/overview/components/observability_status/observability_status_progress.test.tsx diff --git a/x-pack/plugins/observability/public/pages/overview/components/observability_status/observability_status_progress.tsx b/x-pack/plugins/observability_solution/observability/public/pages/overview/components/observability_status/observability_status_progress.tsx similarity index 100% rename from x-pack/plugins/observability/public/pages/overview/components/observability_status/observability_status_progress.tsx rename to x-pack/plugins/observability_solution/observability/public/pages/overview/components/observability_status/observability_status_progress.tsx diff --git a/x-pack/plugins/observability/public/pages/overview/components/resources.test.tsx b/x-pack/plugins/observability_solution/observability/public/pages/overview/components/resources.test.tsx similarity index 100% rename from x-pack/plugins/observability/public/pages/overview/components/resources.test.tsx rename to x-pack/plugins/observability_solution/observability/public/pages/overview/components/resources.test.tsx diff --git a/x-pack/plugins/observability/public/pages/overview/components/resources.tsx b/x-pack/plugins/observability_solution/observability/public/pages/overview/components/resources.tsx similarity index 100% rename from x-pack/plugins/observability/public/pages/overview/components/resources.tsx rename to x-pack/plugins/observability_solution/observability/public/pages/overview/components/resources.tsx diff --git a/x-pack/plugins/observability/public/pages/overview/components/sections/apm/apm_section.test.tsx b/x-pack/plugins/observability_solution/observability/public/pages/overview/components/sections/apm/apm_section.test.tsx similarity index 100% rename from x-pack/plugins/observability/public/pages/overview/components/sections/apm/apm_section.test.tsx rename to x-pack/plugins/observability_solution/observability/public/pages/overview/components/sections/apm/apm_section.test.tsx diff --git a/x-pack/plugins/observability/public/pages/overview/components/sections/apm/apm_section.tsx b/x-pack/plugins/observability_solution/observability/public/pages/overview/components/sections/apm/apm_section.tsx similarity index 100% rename from x-pack/plugins/observability/public/pages/overview/components/sections/apm/apm_section.tsx rename to x-pack/plugins/observability_solution/observability/public/pages/overview/components/sections/apm/apm_section.tsx diff --git a/x-pack/plugins/observability/public/pages/overview/components/sections/apm/mock_data/apm.mock.ts b/x-pack/plugins/observability_solution/observability/public/pages/overview/components/sections/apm/mock_data/apm.mock.ts similarity index 100% rename from x-pack/plugins/observability/public/pages/overview/components/sections/apm/mock_data/apm.mock.ts rename to x-pack/plugins/observability_solution/observability/public/pages/overview/components/sections/apm/mock_data/apm.mock.ts diff --git a/x-pack/plugins/observability/public/pages/overview/components/sections/empty/empty_section.test.tsx b/x-pack/plugins/observability_solution/observability/public/pages/overview/components/sections/empty/empty_section.test.tsx similarity index 100% rename from x-pack/plugins/observability/public/pages/overview/components/sections/empty/empty_section.test.tsx rename to x-pack/plugins/observability_solution/observability/public/pages/overview/components/sections/empty/empty_section.test.tsx diff --git a/x-pack/plugins/observability/public/pages/overview/components/sections/empty/empty_section.tsx b/x-pack/plugins/observability_solution/observability/public/pages/overview/components/sections/empty/empty_section.tsx similarity index 100% rename from x-pack/plugins/observability/public/pages/overview/components/sections/empty/empty_section.tsx rename to x-pack/plugins/observability_solution/observability/public/pages/overview/components/sections/empty/empty_section.tsx diff --git a/x-pack/plugins/observability/public/pages/overview/components/sections/empty/empty_sections.tsx b/x-pack/plugins/observability_solution/observability/public/pages/overview/components/sections/empty/empty_sections.tsx similarity index 100% rename from x-pack/plugins/observability/public/pages/overview/components/sections/empty/empty_sections.tsx rename to x-pack/plugins/observability_solution/observability/public/pages/overview/components/sections/empty/empty_sections.tsx diff --git a/x-pack/plugins/observability/public/pages/overview/components/sections/error_panel/error_panel.tsx b/x-pack/plugins/observability_solution/observability/public/pages/overview/components/sections/error_panel/error_panel.tsx similarity index 100% rename from x-pack/plugins/observability/public/pages/overview/components/sections/error_panel/error_panel.tsx rename to x-pack/plugins/observability_solution/observability/public/pages/overview/components/sections/error_panel/error_panel.tsx diff --git a/x-pack/plugins/observability/public/pages/overview/components/sections/logs/logs_section.tsx b/x-pack/plugins/observability_solution/observability/public/pages/overview/components/sections/logs/logs_section.tsx similarity index 100% rename from x-pack/plugins/observability/public/pages/overview/components/sections/logs/logs_section.tsx rename to x-pack/plugins/observability_solution/observability/public/pages/overview/components/sections/logs/logs_section.tsx diff --git a/x-pack/plugins/observability/public/pages/overview/components/sections/metrics/host_link.tsx b/x-pack/plugins/observability_solution/observability/public/pages/overview/components/sections/metrics/host_link.tsx similarity index 100% rename from x-pack/plugins/observability/public/pages/overview/components/sections/metrics/host_link.tsx rename to x-pack/plugins/observability_solution/observability/public/pages/overview/components/sections/metrics/host_link.tsx diff --git a/x-pack/plugins/observability/public/pages/overview/components/sections/metrics/lib/format_duration.test.ts b/x-pack/plugins/observability_solution/observability/public/pages/overview/components/sections/metrics/lib/format_duration.test.ts similarity index 100% rename from x-pack/plugins/observability/public/pages/overview/components/sections/metrics/lib/format_duration.test.ts rename to x-pack/plugins/observability_solution/observability/public/pages/overview/components/sections/metrics/lib/format_duration.test.ts diff --git a/x-pack/plugins/observability/public/pages/overview/components/sections/metrics/lib/format_duration.ts b/x-pack/plugins/observability_solution/observability/public/pages/overview/components/sections/metrics/lib/format_duration.ts similarity index 100% rename from x-pack/plugins/observability/public/pages/overview/components/sections/metrics/lib/format_duration.ts rename to x-pack/plugins/observability_solution/observability/public/pages/overview/components/sections/metrics/lib/format_duration.ts diff --git a/x-pack/plugins/observability/public/pages/overview/components/sections/metrics/logos/aix.svg b/x-pack/plugins/observability_solution/observability/public/pages/overview/components/sections/metrics/logos/aix.svg similarity index 100% rename from x-pack/plugins/observability/public/pages/overview/components/sections/metrics/logos/aix.svg rename to x-pack/plugins/observability_solution/observability/public/pages/overview/components/sections/metrics/logos/aix.svg diff --git a/x-pack/plugins/observability/public/pages/overview/components/sections/metrics/logos/android.svg b/x-pack/plugins/observability_solution/observability/public/pages/overview/components/sections/metrics/logos/android.svg similarity index 100% rename from x-pack/plugins/observability/public/pages/overview/components/sections/metrics/logos/android.svg rename to x-pack/plugins/observability_solution/observability/public/pages/overview/components/sections/metrics/logos/android.svg diff --git a/x-pack/plugins/observability/public/pages/overview/components/sections/metrics/logos/darwin.svg b/x-pack/plugins/observability_solution/observability/public/pages/overview/components/sections/metrics/logos/darwin.svg similarity index 100% rename from x-pack/plugins/observability/public/pages/overview/components/sections/metrics/logos/darwin.svg rename to x-pack/plugins/observability_solution/observability/public/pages/overview/components/sections/metrics/logos/darwin.svg diff --git a/x-pack/plugins/observability/public/pages/overview/components/sections/metrics/logos/dragonfly.svg b/x-pack/plugins/observability_solution/observability/public/pages/overview/components/sections/metrics/logos/dragonfly.svg similarity index 100% rename from x-pack/plugins/observability/public/pages/overview/components/sections/metrics/logos/dragonfly.svg rename to x-pack/plugins/observability_solution/observability/public/pages/overview/components/sections/metrics/logos/dragonfly.svg diff --git a/x-pack/plugins/observability/public/pages/overview/components/sections/metrics/logos/freebsd.svg b/x-pack/plugins/observability_solution/observability/public/pages/overview/components/sections/metrics/logos/freebsd.svg similarity index 100% rename from x-pack/plugins/observability/public/pages/overview/components/sections/metrics/logos/freebsd.svg rename to x-pack/plugins/observability_solution/observability/public/pages/overview/components/sections/metrics/logos/freebsd.svg diff --git a/x-pack/plugins/observability/public/pages/overview/components/sections/metrics/logos/illumos.svg b/x-pack/plugins/observability_solution/observability/public/pages/overview/components/sections/metrics/logos/illumos.svg similarity index 100% rename from x-pack/plugins/observability/public/pages/overview/components/sections/metrics/logos/illumos.svg rename to x-pack/plugins/observability_solution/observability/public/pages/overview/components/sections/metrics/logos/illumos.svg diff --git a/x-pack/plugins/observability/public/pages/overview/components/sections/metrics/logos/linux.svg b/x-pack/plugins/observability_solution/observability/public/pages/overview/components/sections/metrics/logos/linux.svg similarity index 100% rename from x-pack/plugins/observability/public/pages/overview/components/sections/metrics/logos/linux.svg rename to x-pack/plugins/observability_solution/observability/public/pages/overview/components/sections/metrics/logos/linux.svg diff --git a/x-pack/plugins/observability/public/pages/overview/components/sections/metrics/logos/netbsd.svg b/x-pack/plugins/observability_solution/observability/public/pages/overview/components/sections/metrics/logos/netbsd.svg similarity index 100% rename from x-pack/plugins/observability/public/pages/overview/components/sections/metrics/logos/netbsd.svg rename to x-pack/plugins/observability_solution/observability/public/pages/overview/components/sections/metrics/logos/netbsd.svg diff --git a/x-pack/plugins/observability/public/pages/overview/components/sections/metrics/logos/solaris.svg b/x-pack/plugins/observability_solution/observability/public/pages/overview/components/sections/metrics/logos/solaris.svg similarity index 100% rename from x-pack/plugins/observability/public/pages/overview/components/sections/metrics/logos/solaris.svg rename to x-pack/plugins/observability_solution/observability/public/pages/overview/components/sections/metrics/logos/solaris.svg diff --git a/x-pack/plugins/observability/public/pages/overview/components/sections/metrics/metric_with_sparkline.tsx b/x-pack/plugins/observability_solution/observability/public/pages/overview/components/sections/metrics/metric_with_sparkline.tsx similarity index 100% rename from x-pack/plugins/observability/public/pages/overview/components/sections/metrics/metric_with_sparkline.tsx rename to x-pack/plugins/observability_solution/observability/public/pages/overview/components/sections/metrics/metric_with_sparkline.tsx diff --git a/x-pack/plugins/observability/public/pages/overview/components/sections/metrics/metrics_section.tsx b/x-pack/plugins/observability_solution/observability/public/pages/overview/components/sections/metrics/metrics_section.tsx similarity index 100% rename from x-pack/plugins/observability/public/pages/overview/components/sections/metrics/metrics_section.tsx rename to x-pack/plugins/observability_solution/observability/public/pages/overview/components/sections/metrics/metrics_section.tsx diff --git a/x-pack/plugins/observability/public/pages/overview/components/sections/section_container.test.tsx b/x-pack/plugins/observability_solution/observability/public/pages/overview/components/sections/section_container.test.tsx similarity index 100% rename from x-pack/plugins/observability/public/pages/overview/components/sections/section_container.test.tsx rename to x-pack/plugins/observability_solution/observability/public/pages/overview/components/sections/section_container.test.tsx diff --git a/x-pack/plugins/observability/public/pages/overview/components/sections/section_container.tsx b/x-pack/plugins/observability_solution/observability/public/pages/overview/components/sections/section_container.tsx similarity index 100% rename from x-pack/plugins/observability/public/pages/overview/components/sections/section_container.tsx rename to x-pack/plugins/observability_solution/observability/public/pages/overview/components/sections/section_container.tsx diff --git a/x-pack/plugins/observability/public/pages/overview/components/sections/uptime/uptime_section.tsx b/x-pack/plugins/observability_solution/observability/public/pages/overview/components/sections/uptime/uptime_section.tsx similarity index 100% rename from x-pack/plugins/observability/public/pages/overview/components/sections/uptime/uptime_section.tsx rename to x-pack/plugins/observability_solution/observability/public/pages/overview/components/sections/uptime/uptime_section.tsx diff --git a/x-pack/plugins/observability/public/pages/overview/components/sections/ux/core_web_vitals/__stories__/core_vitals.stories.tsx b/x-pack/plugins/observability_solution/observability/public/pages/overview/components/sections/ux/core_web_vitals/__stories__/core_vitals.stories.tsx similarity index 100% rename from x-pack/plugins/observability/public/pages/overview/components/sections/ux/core_web_vitals/__stories__/core_vitals.stories.tsx rename to x-pack/plugins/observability_solution/observability/public/pages/overview/components/sections/ux/core_web_vitals/__stories__/core_vitals.stories.tsx diff --git a/x-pack/plugins/observability/public/pages/overview/components/sections/ux/core_web_vitals/color_palette_flex_item.tsx b/x-pack/plugins/observability_solution/observability/public/pages/overview/components/sections/ux/core_web_vitals/color_palette_flex_item.tsx similarity index 100% rename from x-pack/plugins/observability/public/pages/overview/components/sections/ux/core_web_vitals/color_palette_flex_item.tsx rename to x-pack/plugins/observability_solution/observability/public/pages/overview/components/sections/ux/core_web_vitals/color_palette_flex_item.tsx diff --git a/x-pack/plugins/observability/public/pages/overview/components/sections/ux/core_web_vitals/core_vital_item.test.tsx b/x-pack/plugins/observability_solution/observability/public/pages/overview/components/sections/ux/core_web_vitals/core_vital_item.test.tsx similarity index 100% rename from x-pack/plugins/observability/public/pages/overview/components/sections/ux/core_web_vitals/core_vital_item.test.tsx rename to x-pack/plugins/observability_solution/observability/public/pages/overview/components/sections/ux/core_web_vitals/core_vital_item.test.tsx diff --git a/x-pack/plugins/observability/public/pages/overview/components/sections/ux/core_web_vitals/core_vital_item.tsx b/x-pack/plugins/observability_solution/observability/public/pages/overview/components/sections/ux/core_web_vitals/core_vital_item.tsx similarity index 100% rename from x-pack/plugins/observability/public/pages/overview/components/sections/ux/core_web_vitals/core_vital_item.tsx rename to x-pack/plugins/observability_solution/observability/public/pages/overview/components/sections/ux/core_web_vitals/core_vital_item.tsx diff --git a/x-pack/plugins/observability/public/pages/overview/components/sections/ux/core_web_vitals/core_vitals.tsx b/x-pack/plugins/observability_solution/observability/public/pages/overview/components/sections/ux/core_web_vitals/core_vitals.tsx similarity index 100% rename from x-pack/plugins/observability/public/pages/overview/components/sections/ux/core_web_vitals/core_vitals.tsx rename to x-pack/plugins/observability_solution/observability/public/pages/overview/components/sections/ux/core_web_vitals/core_vitals.tsx diff --git a/x-pack/plugins/observability/public/pages/overview/components/sections/ux/core_web_vitals/get_core_web_vitals_lazy.tsx b/x-pack/plugins/observability_solution/observability/public/pages/overview/components/sections/ux/core_web_vitals/get_core_web_vitals_lazy.tsx similarity index 100% rename from x-pack/plugins/observability/public/pages/overview/components/sections/ux/core_web_vitals/get_core_web_vitals_lazy.tsx rename to x-pack/plugins/observability_solution/observability/public/pages/overview/components/sections/ux/core_web_vitals/get_core_web_vitals_lazy.tsx diff --git a/x-pack/plugins/observability/public/pages/overview/components/sections/ux/core_web_vitals/palette_legends.tsx b/x-pack/plugins/observability_solution/observability/public/pages/overview/components/sections/ux/core_web_vitals/palette_legends.tsx similarity index 100% rename from x-pack/plugins/observability/public/pages/overview/components/sections/ux/core_web_vitals/palette_legends.tsx rename to x-pack/plugins/observability_solution/observability/public/pages/overview/components/sections/ux/core_web_vitals/palette_legends.tsx diff --git a/x-pack/plugins/observability/public/pages/overview/components/sections/ux/core_web_vitals/service_name.tsx b/x-pack/plugins/observability_solution/observability/public/pages/overview/components/sections/ux/core_web_vitals/service_name.tsx similarity index 100% rename from x-pack/plugins/observability/public/pages/overview/components/sections/ux/core_web_vitals/service_name.tsx rename to x-pack/plugins/observability_solution/observability/public/pages/overview/components/sections/ux/core_web_vitals/service_name.tsx diff --git a/x-pack/plugins/observability/public/pages/overview/components/sections/ux/core_web_vitals/translations.ts b/x-pack/plugins/observability_solution/observability/public/pages/overview/components/sections/ux/core_web_vitals/translations.ts similarity index 100% rename from x-pack/plugins/observability/public/pages/overview/components/sections/ux/core_web_vitals/translations.ts rename to x-pack/plugins/observability_solution/observability/public/pages/overview/components/sections/ux/core_web_vitals/translations.ts diff --git a/x-pack/plugins/observability/public/pages/overview/components/sections/ux/core_web_vitals/web_core_vitals_title.tsx b/x-pack/plugins/observability_solution/observability/public/pages/overview/components/sections/ux/core_web_vitals/web_core_vitals_title.tsx similarity index 100% rename from x-pack/plugins/observability/public/pages/overview/components/sections/ux/core_web_vitals/web_core_vitals_title.tsx rename to x-pack/plugins/observability_solution/observability/public/pages/overview/components/sections/ux/core_web_vitals/web_core_vitals_title.tsx diff --git a/x-pack/plugins/observability/public/pages/overview/components/sections/ux/mock_data/ux.mock.ts b/x-pack/plugins/observability_solution/observability/public/pages/overview/components/sections/ux/mock_data/ux.mock.ts similarity index 100% rename from x-pack/plugins/observability/public/pages/overview/components/sections/ux/mock_data/ux.mock.ts rename to x-pack/plugins/observability_solution/observability/public/pages/overview/components/sections/ux/mock_data/ux.mock.ts diff --git a/x-pack/plugins/observability/public/pages/overview/components/sections/ux/ux_section.test.tsx b/x-pack/plugins/observability_solution/observability/public/pages/overview/components/sections/ux/ux_section.test.tsx similarity index 100% rename from x-pack/plugins/observability/public/pages/overview/components/sections/ux/ux_section.test.tsx rename to x-pack/plugins/observability_solution/observability/public/pages/overview/components/sections/ux/ux_section.test.tsx diff --git a/x-pack/plugins/observability/public/pages/overview/components/sections/ux/ux_section.tsx b/x-pack/plugins/observability_solution/observability/public/pages/overview/components/sections/ux/ux_section.tsx similarity index 100% rename from x-pack/plugins/observability/public/pages/overview/components/sections/ux/ux_section.tsx rename to x-pack/plugins/observability_solution/observability/public/pages/overview/components/sections/ux/ux_section.tsx diff --git a/x-pack/plugins/observability/public/pages/overview/components/styled_stat/styled_stat.tsx b/x-pack/plugins/observability_solution/observability/public/pages/overview/components/styled_stat/styled_stat.tsx similarity index 100% rename from x-pack/plugins/observability/public/pages/overview/components/styled_stat/styled_stat.tsx rename to x-pack/plugins/observability_solution/observability/public/pages/overview/components/styled_stat/styled_stat.tsx diff --git a/x-pack/plugins/observability/public/pages/overview/helpers/calculate_bucket_size.test.ts b/x-pack/plugins/observability_solution/observability/public/pages/overview/helpers/calculate_bucket_size.test.ts similarity index 100% rename from x-pack/plugins/observability/public/pages/overview/helpers/calculate_bucket_size.test.ts rename to x-pack/plugins/observability_solution/observability/public/pages/overview/helpers/calculate_bucket_size.test.ts diff --git a/x-pack/plugins/observability/public/pages/overview/helpers/calculate_bucket_size.ts b/x-pack/plugins/observability_solution/observability/public/pages/overview/helpers/calculate_bucket_size.ts similarity index 100% rename from x-pack/plugins/observability/public/pages/overview/helpers/calculate_bucket_size.ts rename to x-pack/plugins/observability_solution/observability/public/pages/overview/helpers/calculate_bucket_size.ts diff --git a/x-pack/plugins/observability/public/pages/overview/helpers/on_brush_end.test.ts b/x-pack/plugins/observability_solution/observability/public/pages/overview/helpers/on_brush_end.test.ts similarity index 100% rename from x-pack/plugins/observability/public/pages/overview/helpers/on_brush_end.test.ts rename to x-pack/plugins/observability_solution/observability/public/pages/overview/helpers/on_brush_end.test.ts diff --git a/x-pack/plugins/observability/public/pages/overview/helpers/on_brush_end.ts b/x-pack/plugins/observability_solution/observability/public/pages/overview/helpers/on_brush_end.ts similarity index 100% rename from x-pack/plugins/observability/public/pages/overview/helpers/on_brush_end.ts rename to x-pack/plugins/observability_solution/observability/public/pages/overview/helpers/on_brush_end.ts diff --git a/x-pack/plugins/observability/public/pages/overview/helpers/use_overview_metrics.ts b/x-pack/plugins/observability_solution/observability/public/pages/overview/helpers/use_overview_metrics.ts similarity index 100% rename from x-pack/plugins/observability/public/pages/overview/helpers/use_overview_metrics.ts rename to x-pack/plugins/observability_solution/observability/public/pages/overview/helpers/use_overview_metrics.ts diff --git a/x-pack/plugins/observability/public/pages/overview/mock/alerts.mock.ts b/x-pack/plugins/observability_solution/observability/public/pages/overview/mock/alerts.mock.ts similarity index 100% rename from x-pack/plugins/observability/public/pages/overview/mock/alerts.mock.ts rename to x-pack/plugins/observability_solution/observability/public/pages/overview/mock/alerts.mock.ts diff --git a/x-pack/plugins/observability/public/pages/overview/mock/apm.mock.ts b/x-pack/plugins/observability_solution/observability/public/pages/overview/mock/apm.mock.ts similarity index 100% rename from x-pack/plugins/observability/public/pages/overview/mock/apm.mock.ts rename to x-pack/plugins/observability_solution/observability/public/pages/overview/mock/apm.mock.ts diff --git a/x-pack/plugins/observability/public/pages/overview/mock/logs.mock.ts b/x-pack/plugins/observability_solution/observability/public/pages/overview/mock/logs.mock.ts similarity index 100% rename from x-pack/plugins/observability/public/pages/overview/mock/logs.mock.ts rename to x-pack/plugins/observability_solution/observability/public/pages/overview/mock/logs.mock.ts diff --git a/x-pack/plugins/observability/public/pages/overview/mock/metrics.mock.ts b/x-pack/plugins/observability_solution/observability/public/pages/overview/mock/metrics.mock.ts similarity index 100% rename from x-pack/plugins/observability/public/pages/overview/mock/metrics.mock.ts rename to x-pack/plugins/observability_solution/observability/public/pages/overview/mock/metrics.mock.ts diff --git a/x-pack/plugins/observability/public/pages/overview/mock/news_feed.mock.ts b/x-pack/plugins/observability_solution/observability/public/pages/overview/mock/news_feed.mock.ts similarity index 100% rename from x-pack/plugins/observability/public/pages/overview/mock/news_feed.mock.ts rename to x-pack/plugins/observability_solution/observability/public/pages/overview/mock/news_feed.mock.ts diff --git a/x-pack/plugins/observability/public/pages/overview/mock/uptime.mock.ts b/x-pack/plugins/observability_solution/observability/public/pages/overview/mock/uptime.mock.ts similarity index 100% rename from x-pack/plugins/observability/public/pages/overview/mock/uptime.mock.ts rename to x-pack/plugins/observability_solution/observability/public/pages/overview/mock/uptime.mock.ts diff --git a/x-pack/plugins/observability/public/pages/overview/overview.stories.tsx b/x-pack/plugins/observability_solution/observability/public/pages/overview/overview.stories.tsx similarity index 100% rename from x-pack/plugins/observability/public/pages/overview/overview.stories.tsx rename to x-pack/plugins/observability_solution/observability/public/pages/overview/overview.stories.tsx diff --git a/x-pack/plugins/observability/public/pages/overview/overview.tsx b/x-pack/plugins/observability_solution/observability/public/pages/overview/overview.tsx similarity index 100% rename from x-pack/plugins/observability/public/pages/overview/overview.tsx rename to x-pack/plugins/observability_solution/observability/public/pages/overview/overview.tsx diff --git a/x-pack/plugins/observability/public/pages/rule_details/components/delete_confirmation_modal.tsx b/x-pack/plugins/observability_solution/observability/public/pages/rule_details/components/delete_confirmation_modal.tsx similarity index 100% rename from x-pack/plugins/observability/public/pages/rule_details/components/delete_confirmation_modal.tsx rename to x-pack/plugins/observability_solution/observability/public/pages/rule_details/components/delete_confirmation_modal.tsx diff --git a/x-pack/plugins/observability/public/pages/rule_details/components/header_actions.tsx b/x-pack/plugins/observability_solution/observability/public/pages/rule_details/components/header_actions.tsx similarity index 100% rename from x-pack/plugins/observability/public/pages/rule_details/components/header_actions.tsx rename to x-pack/plugins/observability_solution/observability/public/pages/rule_details/components/header_actions.tsx diff --git a/x-pack/plugins/observability/public/pages/rule_details/components/no_rule_found_panel.tsx b/x-pack/plugins/observability_solution/observability/public/pages/rule_details/components/no_rule_found_panel.tsx similarity index 100% rename from x-pack/plugins/observability/public/pages/rule_details/components/no_rule_found_panel.tsx rename to x-pack/plugins/observability_solution/observability/public/pages/rule_details/components/no_rule_found_panel.tsx diff --git a/x-pack/plugins/observability/public/pages/rule_details/components/page_title.tsx b/x-pack/plugins/observability_solution/observability/public/pages/rule_details/components/page_title.tsx similarity index 100% rename from x-pack/plugins/observability/public/pages/rule_details/components/page_title.tsx rename to x-pack/plugins/observability_solution/observability/public/pages/rule_details/components/page_title.tsx diff --git a/x-pack/plugins/observability/public/pages/rule_details/components/rule_details_tabs.tsx b/x-pack/plugins/observability_solution/observability/public/pages/rule_details/components/rule_details_tabs.tsx similarity index 100% rename from x-pack/plugins/observability/public/pages/rule_details/components/rule_details_tabs.tsx rename to x-pack/plugins/observability_solution/observability/public/pages/rule_details/components/rule_details_tabs.tsx diff --git a/x-pack/plugins/observability/public/pages/rule_details/constants.ts b/x-pack/plugins/observability_solution/observability/public/pages/rule_details/constants.ts similarity index 100% rename from x-pack/plugins/observability/public/pages/rule_details/constants.ts rename to x-pack/plugins/observability_solution/observability/public/pages/rule_details/constants.ts diff --git a/x-pack/plugins/observability/public/pages/rule_details/helpers/get_health_color.ts b/x-pack/plugins/observability_solution/observability/public/pages/rule_details/helpers/get_health_color.ts similarity index 100% rename from x-pack/plugins/observability/public/pages/rule_details/helpers/get_health_color.ts rename to x-pack/plugins/observability_solution/observability/public/pages/rule_details/helpers/get_health_color.ts diff --git a/x-pack/plugins/observability/public/pages/rule_details/helpers/is_rule_editable.ts b/x-pack/plugins/observability_solution/observability/public/pages/rule_details/helpers/is_rule_editable.ts similarity index 100% rename from x-pack/plugins/observability/public/pages/rule_details/helpers/is_rule_editable.ts rename to x-pack/plugins/observability_solution/observability/public/pages/rule_details/helpers/is_rule_editable.ts diff --git a/x-pack/plugins/observability/public/pages/rule_details/rule_details.tsx b/x-pack/plugins/observability_solution/observability/public/pages/rule_details/rule_details.tsx similarity index 100% rename from x-pack/plugins/observability/public/pages/rule_details/rule_details.tsx rename to x-pack/plugins/observability_solution/observability/public/pages/rule_details/rule_details.tsx diff --git a/x-pack/plugins/observability/public/pages/rules/global_logs_tab.tsx b/x-pack/plugins/observability_solution/observability/public/pages/rules/global_logs_tab.tsx similarity index 100% rename from x-pack/plugins/observability/public/pages/rules/global_logs_tab.tsx rename to x-pack/plugins/observability_solution/observability/public/pages/rules/global_logs_tab.tsx diff --git a/x-pack/plugins/observability/public/pages/rules/rules.test.tsx b/x-pack/plugins/observability_solution/observability/public/pages/rules/rules.test.tsx similarity index 100% rename from x-pack/plugins/observability/public/pages/rules/rules.test.tsx rename to x-pack/plugins/observability_solution/observability/public/pages/rules/rules.test.tsx diff --git a/x-pack/plugins/observability/public/pages/rules/rules.tsx b/x-pack/plugins/observability_solution/observability/public/pages/rules/rules.tsx similarity index 100% rename from x-pack/plugins/observability/public/pages/rules/rules.tsx rename to x-pack/plugins/observability_solution/observability/public/pages/rules/rules.tsx diff --git a/x-pack/plugins/observability/public/pages/rules/rules_tab.tsx b/x-pack/plugins/observability_solution/observability/public/pages/rules/rules_tab.tsx similarity index 100% rename from x-pack/plugins/observability/public/pages/rules/rules_tab.tsx rename to x-pack/plugins/observability_solution/observability/public/pages/rules/rules_tab.tsx diff --git a/x-pack/plugins/observability/public/pages/slo_details/components/error_budget_actions.tsx b/x-pack/plugins/observability_solution/observability/public/pages/slo_details/components/error_budget_actions.tsx similarity index 100% rename from x-pack/plugins/observability/public/pages/slo_details/components/error_budget_actions.tsx rename to x-pack/plugins/observability_solution/observability/public/pages/slo_details/components/error_budget_actions.tsx diff --git a/x-pack/plugins/observability/public/pages/slo_details/components/error_budget_chart.tsx b/x-pack/plugins/observability_solution/observability/public/pages/slo_details/components/error_budget_chart.tsx similarity index 100% rename from x-pack/plugins/observability/public/pages/slo_details/components/error_budget_chart.tsx rename to x-pack/plugins/observability_solution/observability/public/pages/slo_details/components/error_budget_chart.tsx diff --git a/x-pack/plugins/observability/public/pages/slo_details/components/error_budget_chart_panel.tsx b/x-pack/plugins/observability_solution/observability/public/pages/slo_details/components/error_budget_chart_panel.tsx similarity index 100% rename from x-pack/plugins/observability/public/pages/slo_details/components/error_budget_chart_panel.tsx rename to x-pack/plugins/observability_solution/observability/public/pages/slo_details/components/error_budget_chart_panel.tsx diff --git a/x-pack/plugins/observability/public/pages/slo_details/components/error_budget_header.test.tsx b/x-pack/plugins/observability_solution/observability/public/pages/slo_details/components/error_budget_header.test.tsx similarity index 100% rename from x-pack/plugins/observability/public/pages/slo_details/components/error_budget_header.test.tsx rename to x-pack/plugins/observability_solution/observability/public/pages/slo_details/components/error_budget_header.test.tsx diff --git a/x-pack/plugins/observability/public/pages/slo_details/components/error_budget_header.tsx b/x-pack/plugins/observability_solution/observability/public/pages/slo_details/components/error_budget_header.tsx similarity index 100% rename from x-pack/plugins/observability/public/pages/slo_details/components/error_budget_header.tsx rename to x-pack/plugins/observability_solution/observability/public/pages/slo_details/components/error_budget_header.tsx diff --git a/x-pack/plugins/observability/public/pages/slo_details/components/events_chart_panel.tsx b/x-pack/plugins/observability_solution/observability/public/pages/slo_details/components/events_chart_panel.tsx similarity index 99% rename from x-pack/plugins/observability/public/pages/slo_details/components/events_chart_panel.tsx rename to x-pack/plugins/observability_solution/observability/public/pages/slo_details/components/events_chart_panel.tsx index b07ca8b9cd4ff..011225769a5eb 100644 --- a/x-pack/plugins/observability/public/pages/slo_details/components/events_chart_panel.tsx +++ b/x-pack/plugins/observability_solution/observability/public/pages/slo_details/components/events_chart_panel.tsx @@ -4,7 +4,6 @@ * 2.0; you may not use this file except in compliance with the Elastic License * 2.0. */ - import { AnnotationDomainType, AreaSeries, @@ -61,7 +60,7 @@ export function EventsChartPanel({ slo, range }: Props) { range, isValid: true, indicator: slo.indicator, - groupBy: slo.groupBy, + groupings: slo.groupings, instanceId: slo.instanceId, }); diff --git a/x-pack/plugins/observability/public/pages/slo_details/components/header_control.stories.tsx b/x-pack/plugins/observability_solution/observability/public/pages/slo_details/components/header_control.stories.tsx similarity index 100% rename from x-pack/plugins/observability/public/pages/slo_details/components/header_control.stories.tsx rename to x-pack/plugins/observability_solution/observability/public/pages/slo_details/components/header_control.stories.tsx diff --git a/x-pack/plugins/observability/public/pages/slo_details/components/header_control.tsx b/x-pack/plugins/observability_solution/observability/public/pages/slo_details/components/header_control.tsx similarity index 100% rename from x-pack/plugins/observability/public/pages/slo_details/components/header_control.tsx rename to x-pack/plugins/observability_solution/observability/public/pages/slo_details/components/header_control.tsx diff --git a/x-pack/plugins/observability/public/pages/slo_details/components/header_title.stories.tsx b/x-pack/plugins/observability_solution/observability/public/pages/slo_details/components/header_title.stories.tsx similarity index 100% rename from x-pack/plugins/observability/public/pages/slo_details/components/header_title.stories.tsx rename to x-pack/plugins/observability_solution/observability/public/pages/slo_details/components/header_title.stories.tsx diff --git a/x-pack/plugins/observability/public/pages/slo_details/components/header_title.tsx b/x-pack/plugins/observability_solution/observability/public/pages/slo_details/components/header_title.tsx similarity index 75% rename from x-pack/plugins/observability/public/pages/slo_details/components/header_title.tsx rename to x-pack/plugins/observability_solution/observability/public/pages/slo_details/components/header_title.tsx index 7b2bafa37336d..e3b725af49612 100644 --- a/x-pack/plugins/observability/public/pages/slo_details/components/header_title.tsx +++ b/x-pack/plugins/observability_solution/observability/public/pages/slo_details/components/header_title.tsx @@ -10,7 +10,7 @@ import { i18n } from '@kbn/i18n'; import { SLOWithSummaryResponse } from '@kbn/slo-schema'; import moment from 'moment'; import React from 'react'; -import { SloGroupByBadge } from '../../../components/slo/slo_status_badge/slo_group_by_badge'; +import { SLOGroupings } from '../../slos/components/common/slo_groupings'; import { SloStatusBadge } from '../../../components/slo/slo_status_badge'; export interface Props { @@ -32,22 +32,25 @@ export function HeaderTitle(props: Props) { return ( <> - - - {showTitle && {slo.name}} - - - - + + {showTitle && ( + <> + {slo.name} + + + )} + + + - + diff --git a/x-pack/plugins/observability/public/pages/slo_details/components/overview/apm_indicator_overview.tsx b/x-pack/plugins/observability_solution/observability/public/pages/slo_details/components/overview/apm_indicator_overview.tsx similarity index 100% rename from x-pack/plugins/observability/public/pages/slo_details/components/overview/apm_indicator_overview.tsx rename to x-pack/plugins/observability_solution/observability/public/pages/slo_details/components/overview/apm_indicator_overview.tsx diff --git a/x-pack/plugins/observability/public/pages/slo_details/components/overview/overview.stories.tsx b/x-pack/plugins/observability_solution/observability/public/pages/slo_details/components/overview/overview.stories.tsx similarity index 100% rename from x-pack/plugins/observability/public/pages/slo_details/components/overview/overview.stories.tsx rename to x-pack/plugins/observability_solution/observability/public/pages/slo_details/components/overview/overview.stories.tsx diff --git a/x-pack/plugins/observability/public/pages/slo_details/components/overview/overview.tsx b/x-pack/plugins/observability_solution/observability/public/pages/slo_details/components/overview/overview.tsx similarity index 100% rename from x-pack/plugins/observability/public/pages/slo_details/components/overview/overview.tsx rename to x-pack/plugins/observability_solution/observability/public/pages/slo_details/components/overview/overview.tsx diff --git a/x-pack/plugins/observability/public/pages/slo_details/components/overview/overview_item.tsx b/x-pack/plugins/observability_solution/observability/public/pages/slo_details/components/overview/overview_item.tsx similarity index 100% rename from x-pack/plugins/observability/public/pages/slo_details/components/overview/overview_item.tsx rename to x-pack/plugins/observability_solution/observability/public/pages/slo_details/components/overview/overview_item.tsx diff --git a/x-pack/plugins/observability/public/pages/slo_details/components/sli_chart_panel.tsx b/x-pack/plugins/observability_solution/observability/public/pages/slo_details/components/sli_chart_panel.tsx similarity index 100% rename from x-pack/plugins/observability/public/pages/slo_details/components/sli_chart_panel.tsx rename to x-pack/plugins/observability_solution/observability/public/pages/slo_details/components/sli_chart_panel.tsx diff --git a/x-pack/plugins/observability/public/pages/slo_details/components/slo_detail_alerts.tsx b/x-pack/plugins/observability_solution/observability/public/pages/slo_details/components/slo_detail_alerts.tsx similarity index 100% rename from x-pack/plugins/observability/public/pages/slo_details/components/slo_detail_alerts.tsx rename to x-pack/plugins/observability_solution/observability/public/pages/slo_details/components/slo_detail_alerts.tsx diff --git a/x-pack/plugins/observability/public/pages/slo_details/components/slo_details.stories.tsx b/x-pack/plugins/observability_solution/observability/public/pages/slo_details/components/slo_details.stories.tsx similarity index 100% rename from x-pack/plugins/observability/public/pages/slo_details/components/slo_details.stories.tsx rename to x-pack/plugins/observability_solution/observability/public/pages/slo_details/components/slo_details.stories.tsx diff --git a/x-pack/plugins/observability/public/pages/slo_details/components/slo_details.tsx b/x-pack/plugins/observability_solution/observability/public/pages/slo_details/components/slo_details.tsx similarity index 100% rename from x-pack/plugins/observability/public/pages/slo_details/components/slo_details.tsx rename to x-pack/plugins/observability_solution/observability/public/pages/slo_details/components/slo_details.tsx diff --git a/x-pack/plugins/observability/public/pages/slo_details/components/wide_chart.tsx b/x-pack/plugins/observability_solution/observability/public/pages/slo_details/components/wide_chart.tsx similarity index 100% rename from x-pack/plugins/observability/public/pages/slo_details/components/wide_chart.tsx rename to x-pack/plugins/observability_solution/observability/public/pages/slo_details/components/wide_chart.tsx diff --git a/x-pack/plugins/observability/public/pages/slo_details/hooks/use_error_budget_actions.ts b/x-pack/plugins/observability_solution/observability/public/pages/slo_details/hooks/use_error_budget_actions.ts similarity index 100% rename from x-pack/plugins/observability/public/pages/slo_details/hooks/use_error_budget_actions.ts rename to x-pack/plugins/observability_solution/observability/public/pages/slo_details/hooks/use_error_budget_actions.ts diff --git a/x-pack/plugins/observability/public/pages/slo_details/hooks/use_get_instance_id_query_param.ts b/x-pack/plugins/observability_solution/observability/public/pages/slo_details/hooks/use_get_instance_id_query_param.ts similarity index 100% rename from x-pack/plugins/observability/public/pages/slo_details/hooks/use_get_instance_id_query_param.ts rename to x-pack/plugins/observability_solution/observability/public/pages/slo_details/hooks/use_get_instance_id_query_param.ts diff --git a/x-pack/plugins/observability/public/pages/slo_details/slo_details.test.tsx b/x-pack/plugins/observability_solution/observability/public/pages/slo_details/slo_details.test.tsx similarity index 100% rename from x-pack/plugins/observability/public/pages/slo_details/slo_details.test.tsx rename to x-pack/plugins/observability_solution/observability/public/pages/slo_details/slo_details.test.tsx diff --git a/x-pack/plugins/observability/public/pages/slo_details/slo_details.tsx b/x-pack/plugins/observability_solution/observability/public/pages/slo_details/slo_details.tsx similarity index 100% rename from x-pack/plugins/observability/public/pages/slo_details/slo_details.tsx rename to x-pack/plugins/observability_solution/observability/public/pages/slo_details/slo_details.tsx diff --git a/x-pack/plugins/observability/public/pages/slo_details/types.ts b/x-pack/plugins/observability_solution/observability/public/pages/slo_details/types.ts similarity index 100% rename from x-pack/plugins/observability/public/pages/slo_details/types.ts rename to x-pack/plugins/observability_solution/observability/public/pages/slo_details/types.ts diff --git a/x-pack/plugins/observability/public/pages/slo_edit/components/apm_availability/apm_availability_indicator_type_form.stories.tsx b/x-pack/plugins/observability_solution/observability/public/pages/slo_edit/components/apm_availability/apm_availability_indicator_type_form.stories.tsx similarity index 100% rename from x-pack/plugins/observability/public/pages/slo_edit/components/apm_availability/apm_availability_indicator_type_form.stories.tsx rename to x-pack/plugins/observability_solution/observability/public/pages/slo_edit/components/apm_availability/apm_availability_indicator_type_form.stories.tsx diff --git a/x-pack/plugins/observability/public/pages/slo_edit/components/apm_availability/apm_availability_indicator_type_form.tsx b/x-pack/plugins/observability_solution/observability/public/pages/slo_edit/components/apm_availability/apm_availability_indicator_type_form.tsx similarity index 100% rename from x-pack/plugins/observability/public/pages/slo_edit/components/apm_availability/apm_availability_indicator_type_form.tsx rename to x-pack/plugins/observability_solution/observability/public/pages/slo_edit/components/apm_availability/apm_availability_indicator_type_form.tsx diff --git a/x-pack/plugins/observability/public/pages/slo_edit/components/apm_common/field_selector.stories.tsx b/x-pack/plugins/observability_solution/observability/public/pages/slo_edit/components/apm_common/field_selector.stories.tsx similarity index 100% rename from x-pack/plugins/observability/public/pages/slo_edit/components/apm_common/field_selector.stories.tsx rename to x-pack/plugins/observability_solution/observability/public/pages/slo_edit/components/apm_common/field_selector.stories.tsx diff --git a/x-pack/plugins/observability/public/pages/slo_edit/components/apm_common/field_selector.tsx b/x-pack/plugins/observability_solution/observability/public/pages/slo_edit/components/apm_common/field_selector.tsx similarity index 100% rename from x-pack/plugins/observability/public/pages/slo_edit/components/apm_common/field_selector.tsx rename to x-pack/plugins/observability_solution/observability/public/pages/slo_edit/components/apm_common/field_selector.tsx diff --git a/x-pack/plugins/observability/public/pages/slo_edit/components/apm_latency/apm_latency_indicator_type_form.stories.tsx b/x-pack/plugins/observability_solution/observability/public/pages/slo_edit/components/apm_latency/apm_latency_indicator_type_form.stories.tsx similarity index 100% rename from x-pack/plugins/observability/public/pages/slo_edit/components/apm_latency/apm_latency_indicator_type_form.stories.tsx rename to x-pack/plugins/observability_solution/observability/public/pages/slo_edit/components/apm_latency/apm_latency_indicator_type_form.stories.tsx diff --git a/x-pack/plugins/observability/public/pages/slo_edit/components/apm_latency/apm_latency_indicator_type_form.tsx b/x-pack/plugins/observability_solution/observability/public/pages/slo_edit/components/apm_latency/apm_latency_indicator_type_form.tsx similarity index 100% rename from x-pack/plugins/observability/public/pages/slo_edit/components/apm_latency/apm_latency_indicator_type_form.tsx rename to x-pack/plugins/observability_solution/observability/public/pages/slo_edit/components/apm_latency/apm_latency_indicator_type_form.tsx diff --git a/x-pack/plugins/observability/public/pages/slo_edit/components/common/data_preview_chart.tsx b/x-pack/plugins/observability_solution/observability/public/pages/slo_edit/components/common/data_preview_chart.tsx similarity index 100% rename from x-pack/plugins/observability/public/pages/slo_edit/components/common/data_preview_chart.tsx rename to x-pack/plugins/observability_solution/observability/public/pages/slo_edit/components/common/data_preview_chart.tsx diff --git a/x-pack/plugins/observability/public/pages/slo_edit/components/common/equivalent_api_request.tsx b/x-pack/plugins/observability_solution/observability/public/pages/slo_edit/components/common/equivalent_api_request.tsx similarity index 100% rename from x-pack/plugins/observability/public/pages/slo_edit/components/common/equivalent_api_request.tsx rename to x-pack/plugins/observability_solution/observability/public/pages/slo_edit/components/common/equivalent_api_request.tsx diff --git a/x-pack/plugins/observability/public/pages/slo_edit/components/common/group_by_field.tsx b/x-pack/plugins/observability_solution/observability/public/pages/slo_edit/components/common/group_by_field.tsx similarity index 84% rename from x-pack/plugins/observability/public/pages/slo_edit/components/common/group_by_field.tsx rename to x-pack/plugins/observability_solution/observability/public/pages/slo_edit/components/common/group_by_field.tsx index 103e3dc3c93b8..d71a2c62afd2b 100644 --- a/x-pack/plugins/observability/public/pages/slo_edit/components/common/group_by_field.tsx +++ b/x-pack/plugins/observability_solution/observability/public/pages/slo_edit/components/common/group_by_field.tsx @@ -15,11 +15,13 @@ import { OptionalText } from './optional_text'; import { useFetchGroupByCardinality } from '../../../../hooks/slo/use_fetch_group_by_cardinality'; import { CreateSLOForm } from '../../types'; import { IndexFieldSelector } from './index_field_selector'; +import { getGroupKeysProse } from '../../../../utils/slo/groupings'; export function GroupByField({ dataView, isLoading }: { dataView?: DataView; isLoading: boolean }) { const { watch } = useFormContext(); - const groupByFields = dataView?.fields?.filter((field) => field.aggregatable) ?? []; + const groupByFields = + dataView?.fields?.filter((field) => field.aggregatable && field.type !== 'date') ?? []; const index = watch('indicator.params.index'); const timestampField = watch('indicator.params.timestampField'); const groupByField = watch('groupBy'); @@ -60,8 +62,11 @@ export function GroupByField({ dataView, isLoading }: { dataView?: DataView; isL color={groupByCardinality.isHighCardinality ? 'warning' : 'primary'} title={i18n.translate('xpack.observability.slo.sloEdit.groupBy.cardinalityInfo', { defaultMessage: - "Selected group by field '{groupBy}' will generate at least {card} SLO instances based on the last 24h sample data.", - values: { card: groupByCardinality.cardinality, groupBy: groupByField }, + 'Selected group by field {groupBy} will generate at least {card} SLO instances based on the last 24h sample data.', + values: { + card: groupByCardinality.cardinality, + groupBy: getGroupKeysProse(groupByField), + }, })} /> )} diff --git a/x-pack/plugins/observability/public/pages/slo_edit/components/common/index_field_selector.tsx b/x-pack/plugins/observability_solution/observability/public/pages/slo_edit/components/common/index_field_selector.tsx similarity index 52% rename from x-pack/plugins/observability/public/pages/slo_edit/components/common/index_field_selector.tsx rename to x-pack/plugins/observability_solution/observability/public/pages/slo_edit/components/common/index_field_selector.tsx index aa5b663f75770..d744968d3bab8 100644 --- a/x-pack/plugins/observability/public/pages/slo_edit/components/common/index_field_selector.tsx +++ b/x-pack/plugins/observability_solution/observability/public/pages/slo_edit/components/common/index_field_selector.tsx @@ -41,47 +41,55 @@ export function IndexFieldSelector({ setOptions(createOptionsFromFields(indexFields)); }, [indexFields]); + const getSelectedItems = (value: string | string[], fields: FieldSpec[]) => { + const values = [value].flat(); + const selectedItems: Array> = []; + fields.forEach((field) => { + if (values.includes(field.name)) { + selectedItems.push({ value: field.name, label: field.name }); + } + }); + return selectedItems; + }; + return ( ( - - {...field} - async - placeholder={placeholder} - aria-label={placeholder} - isClearable - isDisabled={isLoading || isDisabled} - isInvalid={fieldState.invalid} - isLoading={isLoading} - onChange={(selected: EuiComboBoxOptionOption[]) => { - if (selected.length) { - return field.onChange(selected[0].value); - } + render={({ field, fieldState }) => { + return ( + + {...field} + async + placeholder={placeholder} + aria-label={placeholder} + isClearable + isDisabled={isLoading || isDisabled} + isInvalid={fieldState.invalid} + isLoading={isLoading} + onChange={(selected: EuiComboBoxOptionOption[]) => { + if (selected.length) { + return field.onChange(selected.map((selection) => selection.value)); + } - field.onChange(defaultValue); - }} - options={options} - onSearchChange={(searchValue: string) => { - setOptions( - createOptionsFromFields(indexFields, ({ value }) => value.includes(searchValue)) - ); - }} - selectedOptions={ - !!indexFields && - !!field.value && - indexFields.some((indexField) => indexField.name === field.value) - ? [{ value: field.value, label: field.value }] - : [] - } - singleSelection - /> - )} + field.onChange(defaultValue); + }} + options={options} + onSearchChange={(searchValue: string) => { + setOptions( + createOptionsFromFields(indexFields, ({ value }) => value.includes(searchValue)) + ); + }} + selectedOptions={ + !!indexFields && !!field.value ? getSelectedItems(field.value, indexFields) : [] + } + /> + ); + }} /> diff --git a/x-pack/plugins/observability/public/pages/slo_edit/components/common/optional_text.tsx b/x-pack/plugins/observability_solution/observability/public/pages/slo_edit/components/common/optional_text.tsx similarity index 100% rename from x-pack/plugins/observability/public/pages/slo_edit/components/common/optional_text.tsx rename to x-pack/plugins/observability_solution/observability/public/pages/slo_edit/components/common/optional_text.tsx diff --git a/x-pack/plugins/observability/public/pages/slo_edit/components/common/query_builder.stories.tsx b/x-pack/plugins/observability_solution/observability/public/pages/slo_edit/components/common/query_builder.stories.tsx similarity index 100% rename from x-pack/plugins/observability/public/pages/slo_edit/components/common/query_builder.stories.tsx rename to x-pack/plugins/observability_solution/observability/public/pages/slo_edit/components/common/query_builder.stories.tsx diff --git a/x-pack/plugins/observability/public/pages/slo_edit/components/common/query_builder.tsx b/x-pack/plugins/observability_solution/observability/public/pages/slo_edit/components/common/query_builder.tsx similarity index 100% rename from x-pack/plugins/observability/public/pages/slo_edit/components/common/query_builder.tsx rename to x-pack/plugins/observability_solution/observability/public/pages/slo_edit/components/common/query_builder.tsx diff --git a/x-pack/plugins/observability/public/pages/slo_edit/components/common/slo_inspect.tsx b/x-pack/plugins/observability_solution/observability/public/pages/slo_edit/components/common/slo_inspect.tsx similarity index 100% rename from x-pack/plugins/observability/public/pages/slo_edit/components/common/slo_inspect.tsx rename to x-pack/plugins/observability_solution/observability/public/pages/slo_edit/components/common/slo_inspect.tsx diff --git a/x-pack/plugins/observability/public/pages/slo_edit/components/custom_common/index_selection.stories.tsx b/x-pack/plugins/observability_solution/observability/public/pages/slo_edit/components/custom_common/index_selection.stories.tsx similarity index 100% rename from x-pack/plugins/observability/public/pages/slo_edit/components/custom_common/index_selection.stories.tsx rename to x-pack/plugins/observability_solution/observability/public/pages/slo_edit/components/custom_common/index_selection.stories.tsx diff --git a/x-pack/plugins/observability/public/pages/slo_edit/components/custom_common/index_selection.tsx b/x-pack/plugins/observability_solution/observability/public/pages/slo_edit/components/custom_common/index_selection.tsx similarity index 100% rename from x-pack/plugins/observability/public/pages/slo_edit/components/custom_common/index_selection.tsx rename to x-pack/plugins/observability_solution/observability/public/pages/slo_edit/components/custom_common/index_selection.tsx diff --git a/x-pack/plugins/observability/public/pages/slo_edit/components/custom_kql/custom_kql_indicator_type_form.stories.tsx b/x-pack/plugins/observability_solution/observability/public/pages/slo_edit/components/custom_kql/custom_kql_indicator_type_form.stories.tsx similarity index 100% rename from x-pack/plugins/observability/public/pages/slo_edit/components/custom_kql/custom_kql_indicator_type_form.stories.tsx rename to x-pack/plugins/observability_solution/observability/public/pages/slo_edit/components/custom_kql/custom_kql_indicator_type_form.stories.tsx diff --git a/x-pack/plugins/observability/public/pages/slo_edit/components/custom_kql/custom_kql_indicator_type_form.tsx b/x-pack/plugins/observability_solution/observability/public/pages/slo_edit/components/custom_kql/custom_kql_indicator_type_form.tsx similarity index 100% rename from x-pack/plugins/observability/public/pages/slo_edit/components/custom_kql/custom_kql_indicator_type_form.tsx rename to x-pack/plugins/observability_solution/observability/public/pages/slo_edit/components/custom_kql/custom_kql_indicator_type_form.tsx diff --git a/x-pack/plugins/observability/public/pages/slo_edit/components/custom_metric/custom_metric_type_form.stories.tsx b/x-pack/plugins/observability_solution/observability/public/pages/slo_edit/components/custom_metric/custom_metric_type_form.stories.tsx similarity index 100% rename from x-pack/plugins/observability/public/pages/slo_edit/components/custom_metric/custom_metric_type_form.stories.tsx rename to x-pack/plugins/observability_solution/observability/public/pages/slo_edit/components/custom_metric/custom_metric_type_form.stories.tsx diff --git a/x-pack/plugins/observability/public/pages/slo_edit/components/custom_metric/custom_metric_type_form.tsx b/x-pack/plugins/observability_solution/observability/public/pages/slo_edit/components/custom_metric/custom_metric_type_form.tsx similarity index 100% rename from x-pack/plugins/observability/public/pages/slo_edit/components/custom_metric/custom_metric_type_form.tsx rename to x-pack/plugins/observability_solution/observability/public/pages/slo_edit/components/custom_metric/custom_metric_type_form.tsx diff --git a/x-pack/plugins/observability/public/pages/slo_edit/components/custom_metric/metric_indicator.tsx b/x-pack/plugins/observability_solution/observability/public/pages/slo_edit/components/custom_metric/metric_indicator.tsx similarity index 100% rename from x-pack/plugins/observability/public/pages/slo_edit/components/custom_metric/metric_indicator.tsx rename to x-pack/plugins/observability_solution/observability/public/pages/slo_edit/components/custom_metric/metric_indicator.tsx diff --git a/x-pack/plugins/observability/public/pages/slo_edit/components/histogram/histogram_indicator.tsx b/x-pack/plugins/observability_solution/observability/public/pages/slo_edit/components/histogram/histogram_indicator.tsx similarity index 100% rename from x-pack/plugins/observability/public/pages/slo_edit/components/histogram/histogram_indicator.tsx rename to x-pack/plugins/observability_solution/observability/public/pages/slo_edit/components/histogram/histogram_indicator.tsx diff --git a/x-pack/plugins/observability/public/pages/slo_edit/components/histogram/histogram_indicator_type_form.tsx b/x-pack/plugins/observability_solution/observability/public/pages/slo_edit/components/histogram/histogram_indicator_type_form.tsx similarity index 100% rename from x-pack/plugins/observability/public/pages/slo_edit/components/histogram/histogram_indicator_type_form.tsx rename to x-pack/plugins/observability_solution/observability/public/pages/slo_edit/components/histogram/histogram_indicator_type_form.tsx diff --git a/x-pack/plugins/observability/public/pages/slo_edit/components/slo_edit_form.stories.tsx b/x-pack/plugins/observability_solution/observability/public/pages/slo_edit/components/slo_edit_form.stories.tsx similarity index 100% rename from x-pack/plugins/observability/public/pages/slo_edit/components/slo_edit_form.stories.tsx rename to x-pack/plugins/observability_solution/observability/public/pages/slo_edit/components/slo_edit_form.stories.tsx diff --git a/x-pack/plugins/observability/public/pages/slo_edit/components/slo_edit_form.tsx b/x-pack/plugins/observability_solution/observability/public/pages/slo_edit/components/slo_edit_form.tsx similarity index 100% rename from x-pack/plugins/observability/public/pages/slo_edit/components/slo_edit_form.tsx rename to x-pack/plugins/observability_solution/observability/public/pages/slo_edit/components/slo_edit_form.tsx diff --git a/x-pack/plugins/observability/public/pages/slo_edit/components/slo_edit_form_description_section.stories.tsx b/x-pack/plugins/observability_solution/observability/public/pages/slo_edit/components/slo_edit_form_description_section.stories.tsx similarity index 100% rename from x-pack/plugins/observability/public/pages/slo_edit/components/slo_edit_form_description_section.stories.tsx rename to x-pack/plugins/observability_solution/observability/public/pages/slo_edit/components/slo_edit_form_description_section.stories.tsx diff --git a/x-pack/plugins/observability/public/pages/slo_edit/components/slo_edit_form_description_section.tsx b/x-pack/plugins/observability_solution/observability/public/pages/slo_edit/components/slo_edit_form_description_section.tsx similarity index 100% rename from x-pack/plugins/observability/public/pages/slo_edit/components/slo_edit_form_description_section.tsx rename to x-pack/plugins/observability_solution/observability/public/pages/slo_edit/components/slo_edit_form_description_section.tsx diff --git a/x-pack/plugins/observability/public/pages/slo_edit/components/slo_edit_form_footer.tsx b/x-pack/plugins/observability_solution/observability/public/pages/slo_edit/components/slo_edit_form_footer.tsx similarity index 100% rename from x-pack/plugins/observability/public/pages/slo_edit/components/slo_edit_form_footer.tsx rename to x-pack/plugins/observability_solution/observability/public/pages/slo_edit/components/slo_edit_form_footer.tsx diff --git a/x-pack/plugins/observability/public/pages/slo_edit/components/slo_edit_form_indicator_section.tsx b/x-pack/plugins/observability_solution/observability/public/pages/slo_edit/components/slo_edit_form_indicator_section.tsx similarity index 100% rename from x-pack/plugins/observability/public/pages/slo_edit/components/slo_edit_form_indicator_section.tsx rename to x-pack/plugins/observability_solution/observability/public/pages/slo_edit/components/slo_edit_form_indicator_section.tsx diff --git a/x-pack/plugins/observability/public/pages/slo_edit/components/slo_edit_form_objective_section.stories.tsx b/x-pack/plugins/observability_solution/observability/public/pages/slo_edit/components/slo_edit_form_objective_section.stories.tsx similarity index 100% rename from x-pack/plugins/observability/public/pages/slo_edit/components/slo_edit_form_objective_section.stories.tsx rename to x-pack/plugins/observability_solution/observability/public/pages/slo_edit/components/slo_edit_form_objective_section.stories.tsx diff --git a/x-pack/plugins/observability/public/pages/slo_edit/components/slo_edit_form_objective_section.tsx b/x-pack/plugins/observability_solution/observability/public/pages/slo_edit/components/slo_edit_form_objective_section.tsx similarity index 100% rename from x-pack/plugins/observability/public/pages/slo_edit/components/slo_edit_form_objective_section.tsx rename to x-pack/plugins/observability_solution/observability/public/pages/slo_edit/components/slo_edit_form_objective_section.tsx diff --git a/x-pack/plugins/observability/public/pages/slo_edit/components/slo_edit_form_objective_section_timeslices.stories.tsx b/x-pack/plugins/observability_solution/observability/public/pages/slo_edit/components/slo_edit_form_objective_section_timeslices.stories.tsx similarity index 100% rename from x-pack/plugins/observability/public/pages/slo_edit/components/slo_edit_form_objective_section_timeslices.stories.tsx rename to x-pack/plugins/observability_solution/observability/public/pages/slo_edit/components/slo_edit_form_objective_section_timeslices.stories.tsx diff --git a/x-pack/plugins/observability/public/pages/slo_edit/components/slo_edit_form_objective_section_timeslices.tsx b/x-pack/plugins/observability_solution/observability/public/pages/slo_edit/components/slo_edit_form_objective_section_timeslices.tsx similarity index 100% rename from x-pack/plugins/observability/public/pages/slo_edit/components/slo_edit_form_objective_section_timeslices.tsx rename to x-pack/plugins/observability_solution/observability/public/pages/slo_edit/components/slo_edit_form_objective_section_timeslices.tsx diff --git a/x-pack/plugins/observability/public/pages/slo_edit/components/timeslice_metric/metric_indicator.tsx b/x-pack/plugins/observability_solution/observability/public/pages/slo_edit/components/timeslice_metric/metric_indicator.tsx similarity index 100% rename from x-pack/plugins/observability/public/pages/slo_edit/components/timeslice_metric/metric_indicator.tsx rename to x-pack/plugins/observability_solution/observability/public/pages/slo_edit/components/timeslice_metric/metric_indicator.tsx diff --git a/x-pack/plugins/observability/public/pages/slo_edit/components/timeslice_metric/metric_input.tsx b/x-pack/plugins/observability_solution/observability/public/pages/slo_edit/components/timeslice_metric/metric_input.tsx similarity index 100% rename from x-pack/plugins/observability/public/pages/slo_edit/components/timeslice_metric/metric_input.tsx rename to x-pack/plugins/observability_solution/observability/public/pages/slo_edit/components/timeslice_metric/metric_input.tsx diff --git a/x-pack/plugins/observability/public/pages/slo_edit/components/timeslice_metric/timeslice_metric_indicator.tsx b/x-pack/plugins/observability_solution/observability/public/pages/slo_edit/components/timeslice_metric/timeslice_metric_indicator.tsx similarity index 100% rename from x-pack/plugins/observability/public/pages/slo_edit/components/timeslice_metric/timeslice_metric_indicator.tsx rename to x-pack/plugins/observability_solution/observability/public/pages/slo_edit/components/timeslice_metric/timeslice_metric_indicator.tsx diff --git a/x-pack/plugins/observability/public/pages/slo_edit/constants.ts b/x-pack/plugins/observability_solution/observability/public/pages/slo_edit/constants.ts similarity index 100% rename from x-pack/plugins/observability/public/pages/slo_edit/constants.ts rename to x-pack/plugins/observability_solution/observability/public/pages/slo_edit/constants.ts diff --git a/x-pack/plugins/observability/public/pages/slo_edit/helpers/__snapshots__/process_slo_form_values.test.ts.snap b/x-pack/plugins/observability_solution/observability/public/pages/slo_edit/helpers/__snapshots__/process_slo_form_values.test.ts.snap similarity index 100% rename from x-pack/plugins/observability/public/pages/slo_edit/helpers/__snapshots__/process_slo_form_values.test.ts.snap rename to x-pack/plugins/observability_solution/observability/public/pages/slo_edit/helpers/__snapshots__/process_slo_form_values.test.ts.snap diff --git a/x-pack/plugins/observability/public/pages/slo_edit/helpers/aggregation_options.ts b/x-pack/plugins/observability_solution/observability/public/pages/slo_edit/helpers/aggregation_options.ts similarity index 100% rename from x-pack/plugins/observability/public/pages/slo_edit/helpers/aggregation_options.ts rename to x-pack/plugins/observability_solution/observability/public/pages/slo_edit/helpers/aggregation_options.ts diff --git a/x-pack/plugins/observability/public/pages/slo_edit/helpers/create_burn_rate_rule_request_body.ts b/x-pack/plugins/observability_solution/observability/public/pages/slo_edit/helpers/create_burn_rate_rule_request_body.ts similarity index 100% rename from x-pack/plugins/observability/public/pages/slo_edit/helpers/create_burn_rate_rule_request_body.ts rename to x-pack/plugins/observability_solution/observability/public/pages/slo_edit/helpers/create_burn_rate_rule_request_body.ts diff --git a/x-pack/plugins/observability/public/pages/slo_edit/helpers/create_options.ts b/x-pack/plugins/observability_solution/observability/public/pages/slo_edit/helpers/create_options.ts similarity index 100% rename from x-pack/plugins/observability/public/pages/slo_edit/helpers/create_options.ts rename to x-pack/plugins/observability_solution/observability/public/pages/slo_edit/helpers/create_options.ts diff --git a/x-pack/plugins/observability/public/pages/slo_edit/helpers/process_slo_form_values.test.ts b/x-pack/plugins/observability_solution/observability/public/pages/slo_edit/helpers/process_slo_form_values.test.ts similarity index 100% rename from x-pack/plugins/observability/public/pages/slo_edit/helpers/process_slo_form_values.test.ts rename to x-pack/plugins/observability_solution/observability/public/pages/slo_edit/helpers/process_slo_form_values.test.ts diff --git a/x-pack/plugins/observability/public/pages/slo_edit/helpers/process_slo_form_values.ts b/x-pack/plugins/observability_solution/observability/public/pages/slo_edit/helpers/process_slo_form_values.ts similarity index 96% rename from x-pack/plugins/observability/public/pages/slo_edit/helpers/process_slo_form_values.ts rename to x-pack/plugins/observability_solution/observability/public/pages/slo_edit/helpers/process_slo_form_values.ts index 2238d7848feeb..64a0cc49d8550 100644 --- a/x-pack/plugins/observability/public/pages/slo_edit/helpers/process_slo_form_values.ts +++ b/x-pack/plugins/observability_solution/observability/public/pages/slo_edit/helpers/process_slo_form_values.ts @@ -46,7 +46,7 @@ export function transformSloResponseToCreateSloForm( timesliceWindow: String(toDuration(values.objective.timesliceWindow).value), }), }, - groupBy: values.groupBy, + groupBy: [values.groupBy].flat(), tags: values.tags, }; } @@ -73,7 +73,7 @@ export function transformCreateSLOFormToCreateSLOInput(values: CreateSLOForm): C }), }, tags: values.tags, - groupBy: values.groupBy, + groupBy: [values.groupBy].flat(), }; } @@ -99,7 +99,7 @@ export function transformValuesToUpdateSLOInput(values: CreateSLOForm): UpdateSL }), }, tags: values.tags, - groupBy: values.groupBy, + groupBy: [values.groupBy].flat(), }; } @@ -185,7 +185,7 @@ export function transformPartialUrlStateToFormState( } if (values.groupBy) { - state.groupBy = values.groupBy; + state.groupBy = [values.groupBy].flat().filter((group) => !!group) as string[]; } if (values.timeWindow?.duration && values.timeWindow?.type) { diff --git a/x-pack/plugins/observability/public/pages/slo_edit/hooks/use_add_rule_flyout_state.ts b/x-pack/plugins/observability_solution/observability/public/pages/slo_edit/hooks/use_add_rule_flyout_state.ts similarity index 100% rename from x-pack/plugins/observability/public/pages/slo_edit/hooks/use_add_rule_flyout_state.ts rename to x-pack/plugins/observability_solution/observability/public/pages/slo_edit/hooks/use_add_rule_flyout_state.ts diff --git a/x-pack/plugins/observability/public/pages/slo_edit/hooks/use_parse_url_state.ts b/x-pack/plugins/observability_solution/observability/public/pages/slo_edit/hooks/use_parse_url_state.ts similarity index 100% rename from x-pack/plugins/observability/public/pages/slo_edit/hooks/use_parse_url_state.ts rename to x-pack/plugins/observability_solution/observability/public/pages/slo_edit/hooks/use_parse_url_state.ts diff --git a/x-pack/plugins/observability/public/pages/slo_edit/hooks/use_preview.ts b/x-pack/plugins/observability_solution/observability/public/pages/slo_edit/hooks/use_preview.ts similarity index 100% rename from x-pack/plugins/observability/public/pages/slo_edit/hooks/use_preview.ts rename to x-pack/plugins/observability_solution/observability/public/pages/slo_edit/hooks/use_preview.ts diff --git a/x-pack/plugins/observability/public/pages/slo_edit/hooks/use_section_form_validation.ts b/x-pack/plugins/observability_solution/observability/public/pages/slo_edit/hooks/use_section_form_validation.ts similarity index 100% rename from x-pack/plugins/observability/public/pages/slo_edit/hooks/use_section_form_validation.ts rename to x-pack/plugins/observability_solution/observability/public/pages/slo_edit/hooks/use_section_form_validation.ts diff --git a/x-pack/plugins/observability/public/pages/slo_edit/hooks/use_show_sections.test.tsx b/x-pack/plugins/observability_solution/observability/public/pages/slo_edit/hooks/use_show_sections.test.tsx similarity index 100% rename from x-pack/plugins/observability/public/pages/slo_edit/hooks/use_show_sections.test.tsx rename to x-pack/plugins/observability_solution/observability/public/pages/slo_edit/hooks/use_show_sections.test.tsx diff --git a/x-pack/plugins/observability/public/pages/slo_edit/hooks/use_show_sections.ts b/x-pack/plugins/observability_solution/observability/public/pages/slo_edit/hooks/use_show_sections.ts similarity index 100% rename from x-pack/plugins/observability/public/pages/slo_edit/hooks/use_show_sections.ts rename to x-pack/plugins/observability_solution/observability/public/pages/slo_edit/hooks/use_show_sections.ts diff --git a/x-pack/plugins/observability/public/pages/slo_edit/hooks/use_unregister_fields.ts b/x-pack/plugins/observability_solution/observability/public/pages/slo_edit/hooks/use_unregister_fields.ts similarity index 100% rename from x-pack/plugins/observability/public/pages/slo_edit/hooks/use_unregister_fields.ts rename to x-pack/plugins/observability_solution/observability/public/pages/slo_edit/hooks/use_unregister_fields.ts diff --git a/x-pack/plugins/observability/public/pages/slo_edit/shared_flyout/get_create_slo_flyout.tsx b/x-pack/plugins/observability_solution/observability/public/pages/slo_edit/shared_flyout/get_create_slo_flyout.tsx similarity index 100% rename from x-pack/plugins/observability/public/pages/slo_edit/shared_flyout/get_create_slo_flyout.tsx rename to x-pack/plugins/observability_solution/observability/public/pages/slo_edit/shared_flyout/get_create_slo_flyout.tsx diff --git a/x-pack/plugins/observability/public/pages/slo_edit/shared_flyout/slo_add_form_flyout.tsx b/x-pack/plugins/observability_solution/observability/public/pages/slo_edit/shared_flyout/slo_add_form_flyout.tsx similarity index 100% rename from x-pack/plugins/observability/public/pages/slo_edit/shared_flyout/slo_add_form_flyout.tsx rename to x-pack/plugins/observability_solution/observability/public/pages/slo_edit/shared_flyout/slo_add_form_flyout.tsx diff --git a/x-pack/plugins/observability/public/pages/slo_edit/shared_flyout/slo_form.tsx b/x-pack/plugins/observability_solution/observability/public/pages/slo_edit/shared_flyout/slo_form.tsx similarity index 95% rename from x-pack/plugins/observability/public/pages/slo_edit/shared_flyout/slo_form.tsx rename to x-pack/plugins/observability_solution/observability/public/pages/slo_edit/shared_flyout/slo_form.tsx index 5588e27163893..8c105e6159797 100644 --- a/x-pack/plugins/observability/public/pages/slo_edit/shared_flyout/slo_form.tsx +++ b/x-pack/plugins/observability_solution/observability/public/pages/slo_edit/shared_flyout/slo_form.tsx @@ -25,6 +25,7 @@ function suspendedComponentWithProps( ) { return (props: T) => ( }> + {/* @ts-expect-error upgrade typescript v4.9.5 */} ); diff --git a/x-pack/plugins/observability/public/pages/slo_edit/slo_edit.test.tsx b/x-pack/plugins/observability_solution/observability/public/pages/slo_edit/slo_edit.test.tsx similarity index 100% rename from x-pack/plugins/observability/public/pages/slo_edit/slo_edit.test.tsx rename to x-pack/plugins/observability_solution/observability/public/pages/slo_edit/slo_edit.test.tsx diff --git a/x-pack/plugins/observability/public/pages/slo_edit/slo_edit.tsx b/x-pack/plugins/observability_solution/observability/public/pages/slo_edit/slo_edit.tsx similarity index 100% rename from x-pack/plugins/observability/public/pages/slo_edit/slo_edit.tsx rename to x-pack/plugins/observability_solution/observability/public/pages/slo_edit/slo_edit.tsx diff --git a/x-pack/plugins/observability/public/pages/slo_edit/types.ts b/x-pack/plugins/observability_solution/observability/public/pages/slo_edit/types.ts similarity index 95% rename from x-pack/plugins/observability/public/pages/slo_edit/types.ts rename to x-pack/plugins/observability_solution/observability/public/pages/slo_edit/types.ts index a8fa5ae89855f..a976c46336f58 100644 --- a/x-pack/plugins/observability/public/pages/slo_edit/types.ts +++ b/x-pack/plugins/observability_solution/observability/public/pages/slo_edit/types.ts @@ -22,5 +22,5 @@ export interface CreateSLOForm { timesliceTarget?: number; timesliceWindow?: string; }; - groupBy: string; + groupBy: string[] | string; } diff --git a/x-pack/plugins/observability/public/pages/slo_outdated_definitions/index.tsx b/x-pack/plugins/observability_solution/observability/public/pages/slo_outdated_definitions/index.tsx similarity index 100% rename from x-pack/plugins/observability/public/pages/slo_outdated_definitions/index.tsx rename to x-pack/plugins/observability_solution/observability/public/pages/slo_outdated_definitions/index.tsx diff --git a/x-pack/plugins/observability/public/pages/slo_outdated_definitions/outdated_slo.tsx b/x-pack/plugins/observability_solution/observability/public/pages/slo_outdated_definitions/outdated_slo.tsx similarity index 100% rename from x-pack/plugins/observability/public/pages/slo_outdated_definitions/outdated_slo.tsx rename to x-pack/plugins/observability_solution/observability/public/pages/slo_outdated_definitions/outdated_slo.tsx diff --git a/x-pack/plugins/observability/public/pages/slo_outdated_definitions/outdated_slo_search_bar.tsx b/x-pack/plugins/observability_solution/observability/public/pages/slo_outdated_definitions/outdated_slo_search_bar.tsx similarity index 100% rename from x-pack/plugins/observability/public/pages/slo_outdated_definitions/outdated_slo_search_bar.tsx rename to x-pack/plugins/observability_solution/observability/public/pages/slo_outdated_definitions/outdated_slo_search_bar.tsx diff --git a/x-pack/plugins/observability/public/pages/slos/components/badges/slo_badges.stories.tsx b/x-pack/plugins/observability_solution/observability/public/pages/slos/components/badges/slo_badges.stories.tsx similarity index 100% rename from x-pack/plugins/observability/public/pages/slos/components/badges/slo_badges.stories.tsx rename to x-pack/plugins/observability_solution/observability/public/pages/slos/components/badges/slo_badges.stories.tsx diff --git a/x-pack/plugins/observability/public/pages/slos/components/badges/slo_badges.tsx b/x-pack/plugins/observability_solution/observability/public/pages/slos/components/badges/slo_badges.tsx similarity index 94% rename from x-pack/plugins/observability/public/pages/slos/components/badges/slo_badges.tsx rename to x-pack/plugins/observability_solution/observability/public/pages/slos/components/badges/slo_badges.tsx index d801bd848ce9b..98bae8fe23502 100644 --- a/x-pack/plugins/observability/public/pages/slos/components/badges/slo_badges.tsx +++ b/x-pack/plugins/observability_solution/observability/public/pages/slos/components/badges/slo_badges.tsx @@ -17,7 +17,6 @@ import { SloActiveAlertsBadge } from '../../../../components/slo/slo_status_badg import { SloTimeWindowBadge } from './slo_time_window_badge'; import { SloRulesBadge } from './slo_rules_badge'; import type { SloRule } from '../../../../hooks/slo/use_fetch_rules_for_slo'; -import { SloGroupByBadge } from '../../../../components/slo/slo_status_badge/slo_group_by_badge'; export type ViewMode = 'default' | 'compact'; export interface SloBadgesProps { @@ -43,7 +42,6 @@ export function SloBadges({ <> - diff --git a/x-pack/plugins/observability/public/pages/slos/components/badges/slo_indicator_type_badge.stories.tsx b/x-pack/plugins/observability_solution/observability/public/pages/slos/components/badges/slo_indicator_type_badge.stories.tsx similarity index 100% rename from x-pack/plugins/observability/public/pages/slos/components/badges/slo_indicator_type_badge.stories.tsx rename to x-pack/plugins/observability_solution/observability/public/pages/slos/components/badges/slo_indicator_type_badge.stories.tsx diff --git a/x-pack/plugins/observability/public/pages/slos/components/badges/slo_indicator_type_badge.tsx b/x-pack/plugins/observability_solution/observability/public/pages/slos/components/badges/slo_indicator_type_badge.tsx similarity index 100% rename from x-pack/plugins/observability/public/pages/slos/components/badges/slo_indicator_type_badge.tsx rename to x-pack/plugins/observability_solution/observability/public/pages/slos/components/badges/slo_indicator_type_badge.tsx diff --git a/x-pack/plugins/observability/public/pages/slos/components/badges/slo_rules_badge.stories.tsx b/x-pack/plugins/observability_solution/observability/public/pages/slos/components/badges/slo_rules_badge.stories.tsx similarity index 100% rename from x-pack/plugins/observability/public/pages/slos/components/badges/slo_rules_badge.stories.tsx rename to x-pack/plugins/observability_solution/observability/public/pages/slos/components/badges/slo_rules_badge.stories.tsx diff --git a/x-pack/plugins/observability/public/pages/slos/components/badges/slo_rules_badge.tsx b/x-pack/plugins/observability_solution/observability/public/pages/slos/components/badges/slo_rules_badge.tsx similarity index 100% rename from x-pack/plugins/observability/public/pages/slos/components/badges/slo_rules_badge.tsx rename to x-pack/plugins/observability_solution/observability/public/pages/slos/components/badges/slo_rules_badge.tsx diff --git a/x-pack/plugins/observability/public/pages/slos/components/badges/slo_time_window_badge.stories.tsx b/x-pack/plugins/observability_solution/observability/public/pages/slos/components/badges/slo_time_window_badge.stories.tsx similarity index 100% rename from x-pack/plugins/observability/public/pages/slos/components/badges/slo_time_window_badge.stories.tsx rename to x-pack/plugins/observability_solution/observability/public/pages/slos/components/badges/slo_time_window_badge.stories.tsx diff --git a/x-pack/plugins/observability/public/pages/slos/components/badges/slo_time_window_badge.tsx b/x-pack/plugins/observability_solution/observability/public/pages/slos/components/badges/slo_time_window_badge.tsx similarity index 100% rename from x-pack/plugins/observability/public/pages/slos/components/badges/slo_time_window_badge.tsx rename to x-pack/plugins/observability_solution/observability/public/pages/slos/components/badges/slo_time_window_badge.tsx diff --git a/x-pack/plugins/observability/public/pages/slos/components/card_view/badges_portal.tsx b/x-pack/plugins/observability_solution/observability/public/pages/slos/components/card_view/badges_portal.tsx similarity index 100% rename from x-pack/plugins/observability/public/pages/slos/components/card_view/badges_portal.tsx rename to x-pack/plugins/observability_solution/observability/public/pages/slos/components/card_view/badges_portal.tsx diff --git a/x-pack/plugins/observability/public/pages/slos/components/card_view/slo_card_item.tsx b/x-pack/plugins/observability_solution/observability/public/pages/slos/components/card_view/slo_card_item.tsx similarity index 96% rename from x-pack/plugins/observability/public/pages/slos/components/card_view/slo_card_item.tsx rename to x-pack/plugins/observability_solution/observability/public/pages/slos/components/card_view/slo_card_item.tsx index 2a72da17a7be7..5805382833af5 100644 --- a/x-pack/plugins/observability/public/pages/slos/components/card_view/slo_card_item.tsx +++ b/x-pack/plugins/observability_solution/observability/public/pages/slos/components/card_view/slo_card_item.tsx @@ -58,7 +58,13 @@ export const useSloCardColor = (status?: SLOWithSummaryResponse['summary']['stat }; export const getSubTitle = (slo: SLOWithSummaryResponse) => { - return slo.groupBy && slo.groupBy !== ALL_VALUE ? `${slo.groupBy}: ${slo.instanceId}` : ''; + return getFirstGroupBy(slo); +}; + +const getFirstGroupBy = (slo: SLOWithSummaryResponse) => { + const firstGroupBy = Object.entries(slo.groupings).map(([key, value]) => `${key}: ${value}`)[0]; + + return slo.groupBy && ![slo.groupBy].flat().includes(ALL_VALUE) ? firstGroupBy : ''; }; export function SloCardItem({ slo, rules, activeAlerts, historicalSummary, cardsPerRow }: Props) { diff --git a/x-pack/plugins/observability/public/pages/slos/components/card_view/slo_card_item_actions.tsx b/x-pack/plugins/observability_solution/observability/public/pages/slos/components/card_view/slo_card_item_actions.tsx similarity index 100% rename from x-pack/plugins/observability/public/pages/slos/components/card_view/slo_card_item_actions.tsx rename to x-pack/plugins/observability_solution/observability/public/pages/slos/components/card_view/slo_card_item_actions.tsx diff --git a/x-pack/plugins/observability/public/pages/slos/components/card_view/slo_card_item_badges.tsx b/x-pack/plugins/observability_solution/observability/public/pages/slos/components/card_view/slo_card_item_badges.tsx similarity index 94% rename from x-pack/plugins/observability/public/pages/slos/components/card_view/slo_card_item_badges.tsx rename to x-pack/plugins/observability_solution/observability/public/pages/slos/components/card_view/slo_card_item_badges.tsx index 66effe39c48bc..91bd202eb044f 100644 --- a/x-pack/plugins/observability/public/pages/slos/components/card_view/slo_card_item_badges.tsx +++ b/x-pack/plugins/observability_solution/observability/public/pages/slos/components/card_view/slo_card_item_badges.tsx @@ -13,11 +13,11 @@ import { EuiFlexGroup } from '@elastic/eui'; import { SloTagsList } from '../common/slo_tags_list'; import { useUrlSearchState } from '../../hooks/use_url_search_state'; import { LoadingBadges } from '../badges/slo_badges'; -import { SloIndicatorTypeBadge } from '../badges/slo_indicator_type_badge'; import { SloTimeWindowBadge } from '../badges/slo_time_window_badge'; import { SloActiveAlertsBadge } from '../../../../components/slo/slo_status_badge/slo_active_alerts_badge'; import { SloRulesBadge } from '../badges/slo_rules_badge'; import { SloRule } from '../../../../hooks/slo/use_fetch_rules_for_slo'; +import { SLOCardItemInstanceBadge } from './slo_card_item_instance_badge'; interface Props { hasGroupBy: boolean; @@ -51,7 +51,7 @@ export function SloCardItemBadges({ slo, activeAlerts, rules, handleCreateRule } ) : ( <> - + 1; + + if (!show) { + return null; + } + + return ( + + { + setIsPopoverOpen(!isPopoverOpen); + }} + onClickAriaLabel={i18n.translate('xpack.observability.slo.instances.seeAllBadge', { + defaultMessage: 'see all instance ids', + })} + data-test-subj="o11ySlosSeeAllInstanceIdsBadge" + > + {`${i18n.translate('xpack.observability.slos.extraInstanceIds.badge', { + defaultMessage: '+{count, plural, one {# more instance} other {# more instances}}', + values: { + count: entries.length - 1, + }, + })}`} + + } + > + + + + ); +} diff --git a/x-pack/plugins/observability/public/pages/slos/components/card_view/slos_card_view.tsx b/x-pack/plugins/observability_solution/observability/public/pages/slos/components/card_view/slos_card_view.tsx similarity index 100% rename from x-pack/plugins/observability/public/pages/slos/components/card_view/slos_card_view.tsx rename to x-pack/plugins/observability_solution/observability/public/pages/slos/components/card_view/slos_card_view.tsx diff --git a/x-pack/plugins/observability/public/pages/slos/components/common/burn_rate_rule_flyout.tsx b/x-pack/plugins/observability_solution/observability/public/pages/slos/components/common/burn_rate_rule_flyout.tsx similarity index 100% rename from x-pack/plugins/observability/public/pages/slos/components/common/burn_rate_rule_flyout.tsx rename to x-pack/plugins/observability_solution/observability/public/pages/slos/components/common/burn_rate_rule_flyout.tsx diff --git a/x-pack/plugins/observability/public/pages/slos/components/common/create_slo_btn.tsx b/x-pack/plugins/observability_solution/observability/public/pages/slos/components/common/create_slo_btn.tsx similarity index 100% rename from x-pack/plugins/observability/public/pages/slos/components/common/create_slo_btn.tsx rename to x-pack/plugins/observability_solution/observability/public/pages/slos/components/common/create_slo_btn.tsx diff --git a/x-pack/plugins/observability/public/pages/slos/components/common/feedback_button.tsx b/x-pack/plugins/observability_solution/observability/public/pages/slos/components/common/feedback_button.tsx similarity index 100% rename from x-pack/plugins/observability/public/pages/slos/components/common/feedback_button.tsx rename to x-pack/plugins/observability_solution/observability/public/pages/slos/components/common/feedback_button.tsx diff --git a/x-pack/plugins/observability/public/pages/slos/components/common/quick_filters.test.tsx b/x-pack/plugins/observability_solution/observability/public/pages/slos/components/common/quick_filters.test.tsx similarity index 100% rename from x-pack/plugins/observability/public/pages/slos/components/common/quick_filters.test.tsx rename to x-pack/plugins/observability_solution/observability/public/pages/slos/components/common/quick_filters.test.tsx diff --git a/x-pack/plugins/observability/public/pages/slos/components/common/quick_filters.tsx b/x-pack/plugins/observability_solution/observability/public/pages/slos/components/common/quick_filters.tsx similarity index 100% rename from x-pack/plugins/observability/public/pages/slos/components/common/quick_filters.tsx rename to x-pack/plugins/observability_solution/observability/public/pages/slos/components/common/quick_filters.tsx diff --git a/x-pack/plugins/observability_solution/observability/public/pages/slos/components/common/slo_groupings.tsx b/x-pack/plugins/observability_solution/observability/public/pages/slos/components/common/slo_groupings.tsx new file mode 100644 index 0000000000000..028353eaa067c --- /dev/null +++ b/x-pack/plugins/observability_solution/observability/public/pages/slos/components/common/slo_groupings.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 React from 'react'; +import { css } from '@emotion/react'; +import { + EuiCopy, + EuiFlexGroup, + EuiFlexItem, + EuiText, + EuiAccordion, + EuiButtonEmpty, + EuiLink, + useEuiTheme, +} from '@elastic/eui'; +import { i18n } from '@kbn/i18n'; +import { SLOWithSummaryResponse } from '@kbn/slo-schema'; + +export interface Props { + slo: SLOWithSummaryResponse | undefined; + direction?: 'column' | 'row'; + truncate?: boolean; +} + +export function SLOGroupings({ slo, direction = 'row', truncate = true }: Props) { + const groups = Object.entries(slo?.groupings || []); + const shouldTruncate = truncate && groups.length > 3; + const firstThree = shouldTruncate ? groups.slice(0, 3) : groups; + const rest = shouldTruncate ? groups.slice(3, groups.length) : []; + + const buttonCss = css` + &:hover { + text-decoration: none; + } + `; + + if (!groups.length) { + return null; + } + + return ( + <> + {shouldTruncate ? ( + + + + + + {' '} + + + {rest.length && ( + + + {`(${i18n.translate('xpack.observability.slos.andLabel', { + defaultMessage: + 'and {count, plural, one {# more instance} other {# more instances}}', + values: { + count: rest.length, + }, + })})`} + + + )} + + + + } + > + + + + + ) : ( + + )} + + ); +} + +function Entries({ + entries, + direction, +}: { + entries: Array<[string, unknown]>; + direction: 'row' | 'column'; +}) { + const { euiTheme } = useEuiTheme(); + + return ( + + {entries.map(([key, value]) => ( + + + + {`${key}: `} + + {(copy) => ( + { + e.stopPropagation(); + copy(); + }} + > + {`${value}`} + + )} + + + + + ))} + + ); +} diff --git a/x-pack/plugins/observability/public/pages/slos/components/common/slo_tags_list.tsx b/x-pack/plugins/observability_solution/observability/public/pages/slos/components/common/slo_tags_list.tsx similarity index 100% rename from x-pack/plugins/observability/public/pages/slos/components/common/slo_tags_list.tsx rename to x-pack/plugins/observability_solution/observability/public/pages/slos/components/common/slo_tags_list.tsx diff --git a/x-pack/plugins/observability/public/pages/slos/components/common/sort_by_select.tsx b/x-pack/plugins/observability_solution/observability/public/pages/slos/components/common/sort_by_select.tsx similarity index 100% rename from x-pack/plugins/observability/public/pages/slos/components/common/sort_by_select.tsx rename to x-pack/plugins/observability_solution/observability/public/pages/slos/components/common/sort_by_select.tsx diff --git a/x-pack/plugins/observability/public/pages/slos/components/compact_view/slo_list_compact_view.tsx b/x-pack/plugins/observability_solution/observability/public/pages/slos/components/compact_view/slo_list_compact_view.tsx similarity index 95% rename from x-pack/plugins/observability/public/pages/slos/components/compact_view/slo_list_compact_view.tsx rename to x-pack/plugins/observability_solution/observability/public/pages/slos/components/compact_view/slo_list_compact_view.tsx index 3a07bc3ac08b6..5609a59c9c765 100644 --- a/x-pack/plugins/observability/public/pages/slos/components/compact_view/slo_list_compact_view.tsx +++ b/x-pack/plugins/observability_solution/observability/public/pages/slos/components/compact_view/slo_list_compact_view.tsx @@ -4,7 +4,6 @@ * 2.0; you may not use this file except in compliance with the Elastic License * 2.0. */ - import { DefaultItemAction, EuiBasicTable, @@ -42,6 +41,7 @@ import { SloListEmpty } from '../slo_list_empty'; import { SloListError } from '../slo_list_error'; import { SloSparkline } from '../slo_sparkline'; import { NOT_AVAILABLE_LABEL } from '../../../../../common/i18n'; +import { SLOGroupings } from '../common/slo_groupings'; export interface Props { sloList: SLOWithSummaryResponse[]; @@ -114,7 +114,7 @@ export function SloListCompactView({ sloList, loading, error }: Props) { const sloDetailsUrl = basePath.prepend( paths.observability.sloDetails( slo.id, - slo.groupBy !== ALL_VALUE && slo.instanceId ? slo.instanceId : undefined + ![slo.groupBy].flat().includes(ALL_VALUE) && slo.instanceId ? slo.instanceId : undefined ) ); navigateToUrl(sloDetailsUrl); @@ -241,7 +241,7 @@ export function SloListCompactView({ sloList, loading, error }: Props) { const sloDetailsUrl = basePath.prepend( paths.observability.sloDetails( slo.id, - slo.groupBy !== ALL_VALUE && slo.instanceId ? slo.instanceId : undefined + ![slo.groupBy].flat().includes(ALL_VALUE) && slo.instanceId ? slo.instanceId : undefined ) ); return ( @@ -267,23 +267,14 @@ export function SloListCompactView({ sloList, loading, error }: Props) { { field: 'instance', name: 'Instance', - render: (_, slo: SLOWithSummaryResponse) => - slo.groupBy !== ALL_VALUE ? ( - - {slo.instanceId} - + render: (_, slo: SLOWithSummaryResponse) => { + const groups = [slo.groupBy].flat(); + return !groups.includes(ALL_VALUE) ? ( + ) : ( {NOT_AVAILABLE_LABEL} - ), + ); + }, }, { field: 'objective', diff --git a/x-pack/plugins/observability/public/pages/slos/components/grouped_slos/group_list_empty.tsx b/x-pack/plugins/observability_solution/observability/public/pages/slos/components/grouped_slos/group_list_empty.tsx similarity index 100% rename from x-pack/plugins/observability/public/pages/slos/components/grouped_slos/group_list_empty.tsx rename to x-pack/plugins/observability_solution/observability/public/pages/slos/components/grouped_slos/group_list_empty.tsx diff --git a/x-pack/plugins/observability/public/pages/slos/components/grouped_slos/group_list_error.tsx b/x-pack/plugins/observability_solution/observability/public/pages/slos/components/grouped_slos/group_list_error.tsx similarity index 100% rename from x-pack/plugins/observability/public/pages/slos/components/grouped_slos/group_list_error.tsx rename to x-pack/plugins/observability_solution/observability/public/pages/slos/components/grouped_slos/group_list_error.tsx diff --git a/x-pack/plugins/observability/public/pages/slos/components/grouped_slos/group_list_view.tsx b/x-pack/plugins/observability_solution/observability/public/pages/slos/components/grouped_slos/group_list_view.tsx similarity index 100% rename from x-pack/plugins/observability/public/pages/slos/components/grouped_slos/group_list_view.tsx rename to x-pack/plugins/observability_solution/observability/public/pages/slos/components/grouped_slos/group_list_view.tsx diff --git a/x-pack/plugins/observability/public/pages/slos/components/grouped_slos/group_view.test.tsx b/x-pack/plugins/observability_solution/observability/public/pages/slos/components/grouped_slos/group_view.test.tsx similarity index 100% rename from x-pack/plugins/observability/public/pages/slos/components/grouped_slos/group_view.test.tsx rename to x-pack/plugins/observability_solution/observability/public/pages/slos/components/grouped_slos/group_view.test.tsx diff --git a/x-pack/plugins/observability/public/pages/slos/components/grouped_slos/group_view.tsx b/x-pack/plugins/observability_solution/observability/public/pages/slos/components/grouped_slos/group_view.tsx similarity index 100% rename from x-pack/plugins/observability/public/pages/slos/components/grouped_slos/group_view.tsx rename to x-pack/plugins/observability_solution/observability/public/pages/slos/components/grouped_slos/group_view.tsx diff --git a/x-pack/plugins/observability/public/pages/slos/components/header_title.stories.tsx b/x-pack/plugins/observability_solution/observability/public/pages/slos/components/header_title.stories.tsx similarity index 100% rename from x-pack/plugins/observability/public/pages/slos/components/header_title.stories.tsx rename to x-pack/plugins/observability_solution/observability/public/pages/slos/components/header_title.stories.tsx diff --git a/x-pack/plugins/observability/public/pages/slos/components/header_title.tsx b/x-pack/plugins/observability_solution/observability/public/pages/slos/components/header_title.tsx similarity index 100% rename from x-pack/plugins/observability/public/pages/slos/components/header_title.tsx rename to x-pack/plugins/observability_solution/observability/public/pages/slos/components/header_title.tsx diff --git a/x-pack/plugins/observability/public/pages/slos/components/slo_context_menu.tsx b/x-pack/plugins/observability_solution/observability/public/pages/slos/components/slo_context_menu.tsx similarity index 100% rename from x-pack/plugins/observability/public/pages/slos/components/slo_context_menu.tsx rename to x-pack/plugins/observability_solution/observability/public/pages/slos/components/slo_context_menu.tsx diff --git a/x-pack/plugins/observability/public/pages/slos/components/slo_item_actions.tsx b/x-pack/plugins/observability_solution/observability/public/pages/slos/components/slo_item_actions.tsx similarity index 98% rename from x-pack/plugins/observability/public/pages/slos/components/slo_item_actions.tsx rename to x-pack/plugins/observability_solution/observability/public/pages/slos/components/slo_item_actions.tsx index 8bda3b98bd510..0d7b89ea1d9a0 100644 --- a/x-pack/plugins/observability/public/pages/slos/components/slo_item_actions.tsx +++ b/x-pack/plugins/observability_solution/observability/public/pages/slos/components/slo_item_actions.tsx @@ -75,7 +75,7 @@ export function SloItemActions({ const sloDetailsUrl = basePath.prepend( paths.observability.sloDetails( slo.id, - slo.groupBy !== ALL_VALUE && slo.instanceId ? slo.instanceId : undefined + ![slo.groupBy].flat().includes(ALL_VALUE) && slo.instanceId ? slo.instanceId : undefined ) ); diff --git a/x-pack/plugins/observability/public/pages/slos/components/slo_list.stories.tsx b/x-pack/plugins/observability_solution/observability/public/pages/slos/components/slo_list.stories.tsx similarity index 100% rename from x-pack/plugins/observability/public/pages/slos/components/slo_list.stories.tsx rename to x-pack/plugins/observability_solution/observability/public/pages/slos/components/slo_list.stories.tsx diff --git a/x-pack/plugins/observability/public/pages/slos/components/slo_list.tsx b/x-pack/plugins/observability_solution/observability/public/pages/slos/components/slo_list.tsx similarity index 100% rename from x-pack/plugins/observability/public/pages/slos/components/slo_list.tsx rename to x-pack/plugins/observability_solution/observability/public/pages/slos/components/slo_list.tsx diff --git a/x-pack/plugins/observability/public/pages/slos/components/slo_list_empty.stories.tsx b/x-pack/plugins/observability_solution/observability/public/pages/slos/components/slo_list_empty.stories.tsx similarity index 100% rename from x-pack/plugins/observability/public/pages/slos/components/slo_list_empty.stories.tsx rename to x-pack/plugins/observability_solution/observability/public/pages/slos/components/slo_list_empty.stories.tsx diff --git a/x-pack/plugins/observability/public/pages/slos/components/slo_list_empty.tsx b/x-pack/plugins/observability_solution/observability/public/pages/slos/components/slo_list_empty.tsx similarity index 100% rename from x-pack/plugins/observability/public/pages/slos/components/slo_list_empty.tsx rename to x-pack/plugins/observability_solution/observability/public/pages/slos/components/slo_list_empty.tsx diff --git a/x-pack/plugins/observability/public/pages/slos/components/slo_list_error.stories.tsx b/x-pack/plugins/observability_solution/observability/public/pages/slos/components/slo_list_error.stories.tsx similarity index 100% rename from x-pack/plugins/observability/public/pages/slos/components/slo_list_error.stories.tsx rename to x-pack/plugins/observability_solution/observability/public/pages/slos/components/slo_list_error.stories.tsx diff --git a/x-pack/plugins/observability/public/pages/slos/components/slo_list_error.tsx b/x-pack/plugins/observability_solution/observability/public/pages/slos/components/slo_list_error.tsx similarity index 100% rename from x-pack/plugins/observability/public/pages/slos/components/slo_list_error.tsx rename to x-pack/plugins/observability_solution/observability/public/pages/slos/components/slo_list_error.tsx diff --git a/x-pack/plugins/observability/public/pages/slos/components/slo_list_group_by.tsx b/x-pack/plugins/observability_solution/observability/public/pages/slos/components/slo_list_group_by.tsx similarity index 100% rename from x-pack/plugins/observability/public/pages/slos/components/slo_list_group_by.tsx rename to x-pack/plugins/observability_solution/observability/public/pages/slos/components/slo_list_group_by.tsx diff --git a/x-pack/plugins/observability/public/pages/slos/components/slo_list_item.stories.tsx b/x-pack/plugins/observability_solution/observability/public/pages/slos/components/slo_list_item.stories.tsx similarity index 100% rename from x-pack/plugins/observability/public/pages/slos/components/slo_list_item.stories.tsx rename to x-pack/plugins/observability_solution/observability/public/pages/slos/components/slo_list_item.stories.tsx diff --git a/x-pack/plugins/observability/public/pages/slos/components/slo_list_item.tsx b/x-pack/plugins/observability_solution/observability/public/pages/slos/components/slo_list_item.tsx similarity index 91% rename from x-pack/plugins/observability/public/pages/slos/components/slo_list_item.tsx rename to x-pack/plugins/observability_solution/observability/public/pages/slos/components/slo_list_item.tsx index dc3865af00050..d244d84a291f1 100644 --- a/x-pack/plugins/observability/public/pages/slos/components/slo_list_item.tsx +++ b/x-pack/plugins/observability_solution/observability/public/pages/slos/components/slo_list_item.tsx @@ -18,6 +18,7 @@ import { SloItemActions } from './slo_item_actions'; import type { SloRule } from '../../../hooks/slo/use_fetch_rules_for_slo'; import { SloBadges } from './badges/slo_badges'; import { SloSummary } from './slo_summary'; +import { SLOGroupings } from './common/slo_groupings'; export interface SloListItemProps { slo: SLOWithSummaryResponse; @@ -54,13 +55,16 @@ export function SloListItem({ - + {slo.summary ? ( -
- {slo.name} - + <> + + {slo.name} + + + ) : ( {slo.name} )} diff --git a/x-pack/plugins/observability/public/pages/slos/components/slo_list_search_bar.stories.tsx b/x-pack/plugins/observability_solution/observability/public/pages/slos/components/slo_list_search_bar.stories.tsx similarity index 100% rename from x-pack/plugins/observability/public/pages/slos/components/slo_list_search_bar.stories.tsx rename to x-pack/plugins/observability_solution/observability/public/pages/slos/components/slo_list_search_bar.stories.tsx diff --git a/x-pack/plugins/observability/public/pages/slos/components/slo_list_search_bar.tsx b/x-pack/plugins/observability_solution/observability/public/pages/slos/components/slo_list_search_bar.tsx similarity index 100% rename from x-pack/plugins/observability/public/pages/slos/components/slo_list_search_bar.tsx rename to x-pack/plugins/observability_solution/observability/public/pages/slos/components/slo_list_search_bar.tsx diff --git a/x-pack/plugins/observability/public/pages/slos/components/slo_list_view/slo_list_view.tsx b/x-pack/plugins/observability_solution/observability/public/pages/slos/components/slo_list_view/slo_list_view.tsx similarity index 100% rename from x-pack/plugins/observability/public/pages/slos/components/slo_list_view/slo_list_view.tsx rename to x-pack/plugins/observability_solution/observability/public/pages/slos/components/slo_list_view/slo_list_view.tsx diff --git a/x-pack/plugins/observability/public/pages/slos/components/slo_sparkline.stories.tsx b/x-pack/plugins/observability_solution/observability/public/pages/slos/components/slo_sparkline.stories.tsx similarity index 100% rename from x-pack/plugins/observability/public/pages/slos/components/slo_sparkline.stories.tsx rename to x-pack/plugins/observability_solution/observability/public/pages/slos/components/slo_sparkline.stories.tsx diff --git a/x-pack/plugins/observability/public/pages/slos/components/slo_sparkline.tsx b/x-pack/plugins/observability_solution/observability/public/pages/slos/components/slo_sparkline.tsx similarity index 100% rename from x-pack/plugins/observability/public/pages/slos/components/slo_sparkline.tsx rename to x-pack/plugins/observability_solution/observability/public/pages/slos/components/slo_sparkline.tsx diff --git a/x-pack/plugins/observability/public/pages/slos/components/slo_summary.stories.tsx b/x-pack/plugins/observability_solution/observability/public/pages/slos/components/slo_summary.stories.tsx similarity index 100% rename from x-pack/plugins/observability/public/pages/slos/components/slo_summary.stories.tsx rename to x-pack/plugins/observability_solution/observability/public/pages/slos/components/slo_summary.stories.tsx diff --git a/x-pack/plugins/observability/public/pages/slos/components/slo_summary.tsx b/x-pack/plugins/observability_solution/observability/public/pages/slos/components/slo_summary.tsx similarity index 100% rename from x-pack/plugins/observability/public/pages/slos/components/slo_summary.tsx rename to x-pack/plugins/observability_solution/observability/public/pages/slos/components/slo_summary.tsx diff --git a/x-pack/plugins/observability/public/pages/slos/components/slos_view.tsx b/x-pack/plugins/observability_solution/observability/public/pages/slos/components/slos_view.tsx similarity index 100% rename from x-pack/plugins/observability/public/pages/slos/components/slos_view.tsx rename to x-pack/plugins/observability_solution/observability/public/pages/slos/components/slos_view.tsx diff --git a/x-pack/plugins/observability/public/pages/slos/components/toggle_slo_view.tsx b/x-pack/plugins/observability_solution/observability/public/pages/slos/components/toggle_slo_view.tsx similarity index 100% rename from x-pack/plugins/observability/public/pages/slos/components/toggle_slo_view.tsx rename to x-pack/plugins/observability_solution/observability/public/pages/slos/components/toggle_slo_view.tsx diff --git a/x-pack/plugins/observability/public/pages/slos/hooks/use_crud_loading.ts b/x-pack/plugins/observability_solution/observability/public/pages/slos/hooks/use_crud_loading.ts similarity index 100% rename from x-pack/plugins/observability/public/pages/slos/hooks/use_crud_loading.ts rename to x-pack/plugins/observability_solution/observability/public/pages/slos/hooks/use_crud_loading.ts diff --git a/x-pack/plugins/observability/public/pages/slos/hooks/use_slo_list_actions.ts b/x-pack/plugins/observability_solution/observability/public/pages/slos/hooks/use_slo_list_actions.ts similarity index 100% rename from x-pack/plugins/observability/public/pages/slos/hooks/use_slo_list_actions.ts rename to x-pack/plugins/observability_solution/observability/public/pages/slos/hooks/use_slo_list_actions.ts diff --git a/x-pack/plugins/observability/public/pages/slos/hooks/use_slo_summary.ts b/x-pack/plugins/observability_solution/observability/public/pages/slos/hooks/use_slo_summary.ts similarity index 95% rename from x-pack/plugins/observability/public/pages/slos/hooks/use_slo_summary.ts rename to x-pack/plugins/observability_solution/observability/public/pages/slos/hooks/use_slo_summary.ts index 7ced64f970823..bcdd865173ea3 100644 --- a/x-pack/plugins/observability/public/pages/slos/hooks/use_slo_summary.ts +++ b/x-pack/plugins/observability_solution/observability/public/pages/slos/hooks/use_slo_summary.ts @@ -48,7 +48,7 @@ export const getSloFormattedSummary = ( const sloDetailsUrl = basePath.prepend( paths.observability.sloDetails( slo.id, - slo.groupBy !== ALL_VALUE && slo.instanceId ? slo.instanceId : undefined + ![slo.groupBy].flat().includes(ALL_VALUE) && slo.instanceId ? slo.instanceId : undefined ) ); diff --git a/x-pack/plugins/observability/public/pages/slos/hooks/use_url_search_state.ts b/x-pack/plugins/observability_solution/observability/public/pages/slos/hooks/use_url_search_state.ts similarity index 100% rename from x-pack/plugins/observability/public/pages/slos/hooks/use_url_search_state.ts rename to x-pack/plugins/observability_solution/observability/public/pages/slos/hooks/use_url_search_state.ts diff --git a/x-pack/plugins/observability/public/pages/slos/slos.test.tsx b/x-pack/plugins/observability_solution/observability/public/pages/slos/slos.test.tsx similarity index 100% rename from x-pack/plugins/observability/public/pages/slos/slos.test.tsx rename to x-pack/plugins/observability_solution/observability/public/pages/slos/slos.test.tsx diff --git a/x-pack/plugins/observability/public/pages/slos/slos.tsx b/x-pack/plugins/observability_solution/observability/public/pages/slos/slos.tsx similarity index 100% rename from x-pack/plugins/observability/public/pages/slos/slos.tsx rename to x-pack/plugins/observability_solution/observability/public/pages/slos/slos.tsx diff --git a/x-pack/plugins/observability/public/pages/slos_welcome/assets/illustration.svg b/x-pack/plugins/observability_solution/observability/public/pages/slos_welcome/assets/illustration.svg similarity index 100% rename from x-pack/plugins/observability/public/pages/slos_welcome/assets/illustration.svg rename to x-pack/plugins/observability_solution/observability/public/pages/slos_welcome/assets/illustration.svg diff --git a/x-pack/plugins/observability/public/pages/slos_welcome/slos_welcome.stories.tsx b/x-pack/plugins/observability_solution/observability/public/pages/slos_welcome/slos_welcome.stories.tsx similarity index 100% rename from x-pack/plugins/observability/public/pages/slos_welcome/slos_welcome.stories.tsx rename to x-pack/plugins/observability_solution/observability/public/pages/slos_welcome/slos_welcome.stories.tsx diff --git a/x-pack/plugins/observability/public/pages/slos_welcome/slos_welcome.test.tsx b/x-pack/plugins/observability_solution/observability/public/pages/slos_welcome/slos_welcome.test.tsx similarity index 100% rename from x-pack/plugins/observability/public/pages/slos_welcome/slos_welcome.test.tsx rename to x-pack/plugins/observability_solution/observability/public/pages/slos_welcome/slos_welcome.test.tsx diff --git a/x-pack/plugins/observability/public/pages/slos_welcome/slos_welcome.tsx b/x-pack/plugins/observability_solution/observability/public/pages/slos_welcome/slos_welcome.tsx similarity index 100% rename from x-pack/plugins/observability/public/pages/slos_welcome/slos_welcome.tsx rename to x-pack/plugins/observability_solution/observability/public/pages/slos_welcome/slos_welcome.tsx diff --git a/x-pack/plugins/observability/public/plugin.mock.tsx b/x-pack/plugins/observability_solution/observability/public/plugin.mock.tsx similarity index 100% rename from x-pack/plugins/observability/public/plugin.mock.tsx rename to x-pack/plugins/observability_solution/observability/public/plugin.mock.tsx diff --git a/x-pack/plugins/observability/public/plugin.ts b/x-pack/plugins/observability_solution/observability/public/plugin.ts similarity index 99% rename from x-pack/plugins/observability/public/plugin.ts rename to x-pack/plugins/observability_solution/observability/public/plugin.ts index b4ba387b3d3eb..df165b5157845 100644 --- a/x-pack/plugins/observability/public/plugin.ts +++ b/x-pack/plugins/observability_solution/observability/public/plugin.ts @@ -5,7 +5,7 @@ * 2.0. */ -import { CasesDeepLinkId, CasesUiStart, getCasesDeepLinks } from '@kbn/cases-plugin/public'; +import { CasesDeepLinkId, CasesPublicStart, getCasesDeepLinks } from '@kbn/cases-plugin/public'; import type { ChartsPluginStart } from '@kbn/charts-plugin/public'; import type { CloudStart } from '@kbn/cloud-plugin/public'; import type { IUiSettingsClient } from '@kbn/core/public'; @@ -130,7 +130,7 @@ export interface ObservabilityPublicPluginsSetup { } export interface ObservabilityPublicPluginsStart { actionTypeRegistry: ActionTypeRegistryContract; - cases: CasesUiStart; + cases: CasesPublicStart; charts: ChartsPluginStart; contentManagement: ContentManagementPublicStart; data: DataPublicPluginStart; diff --git a/x-pack/plugins/observability/public/routes/routes.tsx b/x-pack/plugins/observability_solution/observability/public/routes/routes.tsx similarity index 100% rename from x-pack/plugins/observability/public/routes/routes.tsx rename to x-pack/plugins/observability_solution/observability/public/routes/routes.tsx diff --git a/x-pack/plugins/observability/public/rules/create_observability_rule_type_registry.ts b/x-pack/plugins/observability_solution/observability/public/rules/create_observability_rule_type_registry.ts similarity index 100% rename from x-pack/plugins/observability/public/rules/create_observability_rule_type_registry.ts rename to x-pack/plugins/observability_solution/observability/public/rules/create_observability_rule_type_registry.ts diff --git a/x-pack/plugins/observability/public/rules/fixtures/example_alerts.ts b/x-pack/plugins/observability_solution/observability/public/rules/fixtures/example_alerts.ts similarity index 100% rename from x-pack/plugins/observability/public/rules/fixtures/example_alerts.ts rename to x-pack/plugins/observability_solution/observability/public/rules/fixtures/example_alerts.ts diff --git a/x-pack/plugins/observability/public/rules/observability_rule_type_registry_mock.ts b/x-pack/plugins/observability_solution/observability/public/rules/observability_rule_type_registry_mock.ts similarity index 100% rename from x-pack/plugins/observability/public/rules/observability_rule_type_registry_mock.ts rename to x-pack/plugins/observability_solution/observability/public/rules/observability_rule_type_registry_mock.ts diff --git a/x-pack/plugins/observability/public/rules/register_observability_rule_types.ts b/x-pack/plugins/observability_solution/observability/public/rules/register_observability_rule_types.ts similarity index 100% rename from x-pack/plugins/observability/public/rules/register_observability_rule_types.ts rename to x-pack/plugins/observability_solution/observability/public/rules/register_observability_rule_types.ts diff --git a/x-pack/plugins/observability/public/test_utils/use_global_storybook_theme.tsx b/x-pack/plugins/observability_solution/observability/public/test_utils/use_global_storybook_theme.tsx similarity index 100% rename from x-pack/plugins/observability/public/test_utils/use_global_storybook_theme.tsx rename to x-pack/plugins/observability_solution/observability/public/test_utils/use_global_storybook_theme.tsx diff --git a/x-pack/plugins/observability/public/typings/alerts.ts b/x-pack/plugins/observability_solution/observability/public/typings/alerts.ts similarity index 100% rename from x-pack/plugins/observability/public/typings/alerts.ts rename to x-pack/plugins/observability_solution/observability/public/typings/alerts.ts diff --git a/x-pack/plugins/observability/public/typings/fetch_overview_data/index.ts b/x-pack/plugins/observability_solution/observability/public/typings/fetch_overview_data/index.ts similarity index 100% rename from x-pack/plugins/observability/public/typings/fetch_overview_data/index.ts rename to x-pack/plugins/observability_solution/observability/public/typings/fetch_overview_data/index.ts diff --git a/x-pack/plugins/observability/public/typings/index.ts b/x-pack/plugins/observability_solution/observability/public/typings/index.ts similarity index 100% rename from x-pack/plugins/observability/public/typings/index.ts rename to x-pack/plugins/observability_solution/observability/public/typings/index.ts diff --git a/x-pack/plugins/observability/public/typings/slo/index.ts b/x-pack/plugins/observability_solution/observability/public/typings/slo/index.ts similarity index 100% rename from x-pack/plugins/observability/public/typings/slo/index.ts rename to x-pack/plugins/observability_solution/observability/public/typings/slo/index.ts diff --git a/x-pack/plugins/observability/public/typings/utils.ts b/x-pack/plugins/observability_solution/observability/public/typings/utils.ts similarity index 100% rename from x-pack/plugins/observability/public/typings/utils.ts rename to x-pack/plugins/observability_solution/observability/public/typings/utils.ts diff --git a/x-pack/plugins/observability/public/ui_actions/edit_slo_alerts_panel.tsx b/x-pack/plugins/observability_solution/observability/public/ui_actions/edit_slo_alerts_panel.tsx similarity index 100% rename from x-pack/plugins/observability/public/ui_actions/edit_slo_alerts_panel.tsx rename to x-pack/plugins/observability_solution/observability/public/ui_actions/edit_slo_alerts_panel.tsx diff --git a/x-pack/plugins/observability/public/ui_actions/index.ts b/x-pack/plugins/observability_solution/observability/public/ui_actions/index.ts similarity index 100% rename from x-pack/plugins/observability/public/ui_actions/index.ts rename to x-pack/plugins/observability_solution/observability/public/ui_actions/index.ts diff --git a/x-pack/plugins/observability/public/utils/alert_summary_widget/constants.ts b/x-pack/plugins/observability_solution/observability/public/utils/alert_summary_widget/constants.ts similarity index 100% rename from x-pack/plugins/observability/public/utils/alert_summary_widget/constants.ts rename to x-pack/plugins/observability_solution/observability/public/utils/alert_summary_widget/constants.ts diff --git a/x-pack/plugins/observability/public/utils/alert_summary_widget/get_alert_summary_time_range.test.tsx b/x-pack/plugins/observability_solution/observability/public/utils/alert_summary_widget/get_alert_summary_time_range.test.tsx similarity index 100% rename from x-pack/plugins/observability/public/utils/alert_summary_widget/get_alert_summary_time_range.test.tsx rename to x-pack/plugins/observability_solution/observability/public/utils/alert_summary_widget/get_alert_summary_time_range.test.tsx diff --git a/x-pack/plugins/observability/public/utils/alert_summary_widget/get_alert_summary_time_range.tsx b/x-pack/plugins/observability_solution/observability/public/utils/alert_summary_widget/get_alert_summary_time_range.tsx similarity index 100% rename from x-pack/plugins/observability/public/utils/alert_summary_widget/get_alert_summary_time_range.tsx rename to x-pack/plugins/observability_solution/observability/public/utils/alert_summary_widget/get_alert_summary_time_range.tsx diff --git a/x-pack/plugins/observability/public/utils/alert_summary_widget/index.ts b/x-pack/plugins/observability_solution/observability/public/utils/alert_summary_widget/index.ts similarity index 100% rename from x-pack/plugins/observability/public/utils/alert_summary_widget/index.ts rename to x-pack/plugins/observability_solution/observability/public/utils/alert_summary_widget/index.ts diff --git a/x-pack/plugins/observability/public/utils/build_es_query/__snapshots__/build_es_query.test.ts.snap b/x-pack/plugins/observability_solution/observability/public/utils/build_es_query/__snapshots__/build_es_query.test.ts.snap similarity index 100% rename from x-pack/plugins/observability/public/utils/build_es_query/__snapshots__/build_es_query.test.ts.snap rename to x-pack/plugins/observability_solution/observability/public/utils/build_es_query/__snapshots__/build_es_query.test.ts.snap diff --git a/x-pack/plugins/observability/public/utils/build_es_query/build_es_query.test.ts b/x-pack/plugins/observability_solution/observability/public/utils/build_es_query/build_es_query.test.ts similarity index 100% rename from x-pack/plugins/observability/public/utils/build_es_query/build_es_query.test.ts rename to x-pack/plugins/observability_solution/observability/public/utils/build_es_query/build_es_query.test.ts diff --git a/x-pack/plugins/observability/public/utils/build_es_query/build_es_query.ts b/x-pack/plugins/observability_solution/observability/public/utils/build_es_query/build_es_query.ts similarity index 100% rename from x-pack/plugins/observability/public/utils/build_es_query/build_es_query.ts rename to x-pack/plugins/observability_solution/observability/public/utils/build_es_query/build_es_query.ts diff --git a/x-pack/plugins/observability/public/utils/build_es_query/index.ts b/x-pack/plugins/observability_solution/observability/public/utils/build_es_query/index.ts similarity index 100% rename from x-pack/plugins/observability/public/utils/build_es_query/index.ts rename to x-pack/plugins/observability_solution/observability/public/utils/build_es_query/index.ts diff --git a/x-pack/plugins/observability/public/utils/date.ts b/x-pack/plugins/observability_solution/observability/public/utils/date.ts similarity index 100% rename from x-pack/plugins/observability/public/utils/date.ts rename to x-pack/plugins/observability_solution/observability/public/utils/date.ts diff --git a/x-pack/plugins/observability/public/utils/datemath.test.ts b/x-pack/plugins/observability_solution/observability/public/utils/datemath.test.ts similarity index 100% rename from x-pack/plugins/observability/public/utils/datemath.test.ts rename to x-pack/plugins/observability_solution/observability/public/utils/datemath.test.ts diff --git a/x-pack/plugins/observability/public/utils/datemath.ts b/x-pack/plugins/observability_solution/observability/public/utils/datemath.ts similarity index 91% rename from x-pack/plugins/observability/public/utils/datemath.ts rename to x-pack/plugins/observability_solution/observability/public/utils/datemath.ts index 3fac2cf46933e..2df754edbe7cb 100644 --- a/x-pack/plugins/observability/public/utils/datemath.ts +++ b/x-pack/plugins/observability_solution/observability/public/utils/datemath.ts @@ -10,7 +10,7 @@ import { chain } from 'fp-ts/Either'; import { pipe } from 'fp-ts/pipeable'; import * as r from 'io-ts'; -// Copied from x-pack/plugins/infra/public/utils/datemath.ts +// Copied from x-pack/plugins/observability_solution/infra/public/utils/datemath.ts export function isValidDatemath(value: string): boolean { const parsedValue = dateMath.parse(value); return !!(parsedValue && parsedValue.isValid()); diff --git a/x-pack/plugins/observability/public/utils/format_alert_evaluation_value.test.ts b/x-pack/plugins/observability_solution/observability/public/utils/format_alert_evaluation_value.test.ts similarity index 100% rename from x-pack/plugins/observability/public/utils/format_alert_evaluation_value.test.ts rename to x-pack/plugins/observability_solution/observability/public/utils/format_alert_evaluation_value.test.ts diff --git a/x-pack/plugins/observability/public/utils/format_alert_evaluation_value.ts b/x-pack/plugins/observability_solution/observability/public/utils/format_alert_evaluation_value.ts similarity index 100% rename from x-pack/plugins/observability/public/utils/format_alert_evaluation_value.ts rename to x-pack/plugins/observability_solution/observability/public/utils/format_alert_evaluation_value.ts diff --git a/x-pack/plugins/observability/public/utils/format_stat_value.test.ts b/x-pack/plugins/observability_solution/observability/public/utils/format_stat_value.test.ts similarity index 100% rename from x-pack/plugins/observability/public/utils/format_stat_value.test.ts rename to x-pack/plugins/observability_solution/observability/public/utils/format_stat_value.test.ts diff --git a/x-pack/plugins/observability/public/utils/format_stat_value.ts b/x-pack/plugins/observability_solution/observability/public/utils/format_stat_value.ts similarity index 100% rename from x-pack/plugins/observability/public/utils/format_stat_value.ts rename to x-pack/plugins/observability_solution/observability/public/utils/format_stat_value.ts diff --git a/x-pack/plugins/observability/public/utils/get_alert_evaluation_unit_type_by_rule_type_id.ts b/x-pack/plugins/observability_solution/observability/public/utils/get_alert_evaluation_unit_type_by_rule_type_id.ts similarity index 100% rename from x-pack/plugins/observability/public/utils/get_alert_evaluation_unit_type_by_rule_type_id.ts rename to x-pack/plugins/observability_solution/observability/public/utils/get_alert_evaluation_unit_type_by_rule_type_id.ts diff --git a/x-pack/plugins/observability/public/utils/get_apm_trace_url.test.ts b/x-pack/plugins/observability_solution/observability/public/utils/get_apm_trace_url.test.ts similarity index 100% rename from x-pack/plugins/observability/public/utils/get_apm_trace_url.test.ts rename to x-pack/plugins/observability_solution/observability/public/utils/get_apm_trace_url.test.ts diff --git a/x-pack/plugins/observability/public/utils/get_apm_trace_url.ts b/x-pack/plugins/observability_solution/observability/public/utils/get_apm_trace_url.ts similarity index 100% rename from x-pack/plugins/observability/public/utils/get_apm_trace_url.ts rename to x-pack/plugins/observability_solution/observability/public/utils/get_apm_trace_url.ts diff --git a/x-pack/plugins/observability/public/utils/get_bucket_size/calculate_auto.js b/x-pack/plugins/observability_solution/observability/public/utils/get_bucket_size/calculate_auto.js similarity index 100% rename from x-pack/plugins/observability/public/utils/get_bucket_size/calculate_auto.js rename to x-pack/plugins/observability_solution/observability/public/utils/get_bucket_size/calculate_auto.js diff --git a/x-pack/plugins/observability/public/utils/get_bucket_size/index.test.ts b/x-pack/plugins/observability_solution/observability/public/utils/get_bucket_size/index.test.ts similarity index 100% rename from x-pack/plugins/observability/public/utils/get_bucket_size/index.test.ts rename to x-pack/plugins/observability_solution/observability/public/utils/get_bucket_size/index.test.ts diff --git a/x-pack/plugins/observability/public/utils/get_bucket_size/index.ts b/x-pack/plugins/observability_solution/observability/public/utils/get_bucket_size/index.ts similarity index 100% rename from x-pack/plugins/observability/public/utils/get_bucket_size/index.ts rename to x-pack/plugins/observability_solution/observability/public/utils/get_bucket_size/index.ts diff --git a/x-pack/plugins/observability/public/utils/get_bucket_size/unit_to_seconds.ts b/x-pack/plugins/observability_solution/observability/public/utils/get_bucket_size/unit_to_seconds.ts similarity index 100% rename from x-pack/plugins/observability/public/utils/get_bucket_size/unit_to_seconds.ts rename to x-pack/plugins/observability_solution/observability/public/utils/get_bucket_size/unit_to_seconds.ts diff --git a/x-pack/plugins/observability/public/utils/get_time_zone.ts b/x-pack/plugins/observability_solution/observability/public/utils/get_time_zone.ts similarity index 100% rename from x-pack/plugins/observability/public/utils/get_time_zone.ts rename to x-pack/plugins/observability_solution/observability/public/utils/get_time_zone.ts diff --git a/x-pack/plugins/observability/public/utils/is_alert_details_enabled.test.ts b/x-pack/plugins/observability_solution/observability/public/utils/is_alert_details_enabled.test.ts similarity index 100% rename from x-pack/plugins/observability/public/utils/is_alert_details_enabled.test.ts rename to x-pack/plugins/observability_solution/observability/public/utils/is_alert_details_enabled.test.ts diff --git a/x-pack/plugins/observability/public/utils/is_alert_details_enabled.ts b/x-pack/plugins/observability_solution/observability/public/utils/is_alert_details_enabled.ts similarity index 100% rename from x-pack/plugins/observability/public/utils/is_alert_details_enabled.ts rename to x-pack/plugins/observability_solution/observability/public/utils/is_alert_details_enabled.ts diff --git a/x-pack/plugins/observability/public/utils/kibana_react.mock.ts b/x-pack/plugins/observability_solution/observability/public/utils/kibana_react.mock.ts similarity index 100% rename from x-pack/plugins/observability/public/utils/kibana_react.mock.ts rename to x-pack/plugins/observability_solution/observability/public/utils/kibana_react.mock.ts diff --git a/x-pack/plugins/observability/public/utils/kibana_react.storybook_decorator.tsx b/x-pack/plugins/observability_solution/observability/public/utils/kibana_react.storybook_decorator.tsx similarity index 100% rename from x-pack/plugins/observability/public/utils/kibana_react.storybook_decorator.tsx rename to x-pack/plugins/observability_solution/observability/public/utils/kibana_react.storybook_decorator.tsx diff --git a/x-pack/plugins/observability/public/utils/kibana_react.ts b/x-pack/plugins/observability_solution/observability/public/utils/kibana_react.ts similarity index 100% rename from x-pack/plugins/observability/public/utils/kibana_react.ts rename to x-pack/plugins/observability_solution/observability/public/utils/kibana_react.ts diff --git a/x-pack/plugins/observability/public/utils/no_data_config.ts b/x-pack/plugins/observability_solution/observability/public/utils/no_data_config.ts similarity index 100% rename from x-pack/plugins/observability/public/utils/no_data_config.ts rename to x-pack/plugins/observability_solution/observability/public/utils/no_data_config.ts diff --git a/x-pack/plugins/observability/public/utils/slo/chart_data_formatter.ts b/x-pack/plugins/observability_solution/observability/public/utils/slo/chart_data_formatter.ts similarity index 100% rename from x-pack/plugins/observability/public/utils/slo/chart_data_formatter.ts rename to x-pack/plugins/observability_solution/observability/public/utils/slo/chart_data_formatter.ts diff --git a/x-pack/plugins/observability/public/utils/slo/convert_sli_apm_params_to_apm_app_deeplink_url.test.ts b/x-pack/plugins/observability_solution/observability/public/utils/slo/convert_sli_apm_params_to_apm_app_deeplink_url.test.ts similarity index 100% rename from x-pack/plugins/observability/public/utils/slo/convert_sli_apm_params_to_apm_app_deeplink_url.test.ts rename to x-pack/plugins/observability_solution/observability/public/utils/slo/convert_sli_apm_params_to_apm_app_deeplink_url.test.ts diff --git a/x-pack/plugins/observability/public/utils/slo/convert_sli_apm_params_to_apm_app_deeplink_url.ts b/x-pack/plugins/observability_solution/observability/public/utils/slo/convert_sli_apm_params_to_apm_app_deeplink_url.ts similarity index 100% rename from x-pack/plugins/observability/public/utils/slo/convert_sli_apm_params_to_apm_app_deeplink_url.ts rename to x-pack/plugins/observability_solution/observability/public/utils/slo/convert_sli_apm_params_to_apm_app_deeplink_url.ts diff --git a/x-pack/plugins/observability/public/utils/slo/duration.ts b/x-pack/plugins/observability_solution/observability/public/utils/slo/duration.ts similarity index 100% rename from x-pack/plugins/observability/public/utils/slo/duration.ts rename to x-pack/plugins/observability_solution/observability/public/utils/slo/duration.ts diff --git a/x-pack/plugins/observability/public/utils/slo/get_delay_in_seconds_from_slo.ts b/x-pack/plugins/observability_solution/observability/public/utils/slo/get_delay_in_seconds_from_slo.ts similarity index 100% rename from x-pack/plugins/observability/public/utils/slo/get_delay_in_seconds_from_slo.ts rename to x-pack/plugins/observability_solution/observability/public/utils/slo/get_delay_in_seconds_from_slo.ts diff --git a/x-pack/plugins/observability_solution/observability/public/utils/slo/groupings.ts b/x-pack/plugins/observability_solution/observability/public/utils/slo/groupings.ts new file mode 100644 index 0000000000000..2d38e98daf51f --- /dev/null +++ b/x-pack/plugins/observability_solution/observability/public/utils/slo/groupings.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 function getGroupKeysProse(groupBy: string | string[]) { + const groups = [groupBy].flat().map((group) => `"${group}"`); + const groupKeys = + groups.length > 1 + ? `${groups.slice(0, groups.length - 1).join(', ')} and ${groups.slice(-1)}` + : groups[0]; + + return groupKeys; +} diff --git a/x-pack/plugins/observability/public/utils/slo/indicator.ts b/x-pack/plugins/observability_solution/observability/public/utils/slo/indicator.ts similarity index 100% rename from x-pack/plugins/observability/public/utils/slo/indicator.ts rename to x-pack/plugins/observability_solution/observability/public/utils/slo/indicator.ts diff --git a/x-pack/plugins/observability/public/utils/slo/labels.ts b/x-pack/plugins/observability_solution/observability/public/utils/slo/labels.ts similarity index 100% rename from x-pack/plugins/observability/public/utils/slo/labels.ts rename to x-pack/plugins/observability_solution/observability/public/utils/slo/labels.ts diff --git a/x-pack/plugins/observability/public/utils/test_helper.tsx b/x-pack/plugins/observability_solution/observability/public/utils/test_helper.tsx similarity index 100% rename from x-pack/plugins/observability/public/utils/test_helper.tsx rename to x-pack/plugins/observability_solution/observability/public/utils/test_helper.tsx diff --git a/x-pack/plugins/observability/public/utils/url.test.ts b/x-pack/plugins/observability_solution/observability/public/utils/url.test.ts similarity index 100% rename from x-pack/plugins/observability/public/utils/url.test.ts rename to x-pack/plugins/observability_solution/observability/public/utils/url.test.ts diff --git a/x-pack/plugins/observability/public/utils/url.ts b/x-pack/plugins/observability_solution/observability/public/utils/url.ts similarity index 100% rename from x-pack/plugins/observability/public/utils/url.ts rename to x-pack/plugins/observability_solution/observability/public/utils/url.ts diff --git a/x-pack/plugins/observability/scripts/storybook.js b/x-pack/plugins/observability_solution/observability/scripts/storybook.js similarity index 100% rename from x-pack/plugins/observability/scripts/storybook.js rename to x-pack/plugins/observability_solution/observability/scripts/storybook.js diff --git a/x-pack/plugins/observability/server/assets/component_templates/slo_mappings_template.ts b/x-pack/plugins/observability_solution/observability/server/assets/component_templates/slo_mappings_template.ts similarity index 100% rename from x-pack/plugins/observability/server/assets/component_templates/slo_mappings_template.ts rename to x-pack/plugins/observability_solution/observability/server/assets/component_templates/slo_mappings_template.ts diff --git a/x-pack/plugins/observability/server/assets/component_templates/slo_settings_template.ts b/x-pack/plugins/observability_solution/observability/server/assets/component_templates/slo_settings_template.ts similarity index 100% rename from x-pack/plugins/observability/server/assets/component_templates/slo_settings_template.ts rename to x-pack/plugins/observability_solution/observability/server/assets/component_templates/slo_settings_template.ts diff --git a/x-pack/plugins/observability/server/assets/component_templates/slo_summary_mappings_template.ts b/x-pack/plugins/observability_solution/observability/server/assets/component_templates/slo_summary_mappings_template.ts similarity index 100% rename from x-pack/plugins/observability/server/assets/component_templates/slo_summary_mappings_template.ts rename to x-pack/plugins/observability_solution/observability/server/assets/component_templates/slo_summary_mappings_template.ts diff --git a/x-pack/plugins/observability/server/assets/component_templates/slo_summary_settings_template.ts b/x-pack/plugins/observability_solution/observability/server/assets/component_templates/slo_summary_settings_template.ts similarity index 100% rename from x-pack/plugins/observability/server/assets/component_templates/slo_summary_settings_template.ts rename to x-pack/plugins/observability_solution/observability/server/assets/component_templates/slo_summary_settings_template.ts diff --git a/x-pack/plugins/observability/server/assets/index_templates/slo_index_templates.ts b/x-pack/plugins/observability_solution/observability/server/assets/index_templates/slo_index_templates.ts similarity index 100% rename from x-pack/plugins/observability/server/assets/index_templates/slo_index_templates.ts rename to x-pack/plugins/observability_solution/observability/server/assets/index_templates/slo_index_templates.ts diff --git a/x-pack/plugins/observability/server/assets/index_templates/slo_summary_index_templates.ts b/x-pack/plugins/observability_solution/observability/server/assets/index_templates/slo_summary_index_templates.ts similarity index 100% rename from x-pack/plugins/observability/server/assets/index_templates/slo_summary_index_templates.ts rename to x-pack/plugins/observability_solution/observability/server/assets/index_templates/slo_summary_index_templates.ts diff --git a/x-pack/plugins/observability/server/assets/ingest_templates/slo_pipeline_template.ts b/x-pack/plugins/observability_solution/observability/server/assets/ingest_templates/slo_pipeline_template.ts similarity index 100% rename from x-pack/plugins/observability/server/assets/ingest_templates/slo_pipeline_template.ts rename to x-pack/plugins/observability_solution/observability/server/assets/ingest_templates/slo_pipeline_template.ts diff --git a/x-pack/plugins/observability/server/assets/ingest_templates/slo_summary_pipeline_template.ts b/x-pack/plugins/observability_solution/observability/server/assets/ingest_templates/slo_summary_pipeline_template.ts similarity index 100% rename from x-pack/plugins/observability/server/assets/ingest_templates/slo_summary_pipeline_template.ts rename to x-pack/plugins/observability_solution/observability/server/assets/ingest_templates/slo_summary_pipeline_template.ts diff --git a/x-pack/plugins/observability/server/assets/transform_templates/slo_transform_template.ts b/x-pack/plugins/observability_solution/observability/server/assets/transform_templates/slo_transform_template.ts similarity index 100% rename from x-pack/plugins/observability/server/assets/transform_templates/slo_transform_template.ts rename to x-pack/plugins/observability_solution/observability/server/assets/transform_templates/slo_transform_template.ts diff --git a/x-pack/plugins/observability/server/common/constants.ts b/x-pack/plugins/observability_solution/observability/server/common/constants.ts similarity index 100% rename from x-pack/plugins/observability/server/common/constants.ts rename to x-pack/plugins/observability_solution/observability/server/common/constants.ts diff --git a/x-pack/plugins/observability/server/domain/models/common.ts b/x-pack/plugins/observability_solution/observability/server/domain/models/common.ts similarity index 81% rename from x-pack/plugins/observability/server/domain/models/common.ts rename to x-pack/plugins/observability_solution/observability/server/domain/models/common.ts index 6e82a9e7cbbe9..d4cf51878271a 100644 --- a/x-pack/plugins/observability/server/domain/models/common.ts +++ b/x-pack/plugins/observability_solution/observability/server/domain/models/common.ts @@ -11,6 +11,7 @@ import { historicalSummarySchema, statusSchema, summarySchema, + groupingsSchema, groupSummarySchema, } from '@kbn/slo-schema'; @@ -18,6 +19,7 @@ type Status = t.TypeOf; type DateRange = t.TypeOf; type HistoricalSummary = t.TypeOf; type Summary = t.TypeOf; +type Groupings = t.TypeOf; type GroupSummary = t.TypeOf; -export type { DateRange, HistoricalSummary, Status, Summary, GroupSummary }; +export type { DateRange, Groupings, HistoricalSummary, Status, Summary, GroupSummary }; diff --git a/x-pack/plugins/observability/server/domain/models/error_budget.ts b/x-pack/plugins/observability_solution/observability/server/domain/models/error_budget.ts similarity index 100% rename from x-pack/plugins/observability/server/domain/models/error_budget.ts rename to x-pack/plugins/observability_solution/observability/server/domain/models/error_budget.ts diff --git a/x-pack/plugins/observability/server/domain/models/index.ts b/x-pack/plugins/observability_solution/observability/server/domain/models/index.ts similarity index 100% rename from x-pack/plugins/observability/server/domain/models/index.ts rename to x-pack/plugins/observability_solution/observability/server/domain/models/index.ts diff --git a/x-pack/plugins/observability/server/domain/models/indicators.ts b/x-pack/plugins/observability_solution/observability/server/domain/models/indicators.ts similarity index 100% rename from x-pack/plugins/observability/server/domain/models/indicators.ts rename to x-pack/plugins/observability_solution/observability/server/domain/models/indicators.ts diff --git a/x-pack/plugins/observability/server/domain/models/slo.ts b/x-pack/plugins/observability_solution/observability/server/domain/models/slo.ts similarity index 100% rename from x-pack/plugins/observability/server/domain/models/slo.ts rename to x-pack/plugins/observability_solution/observability/server/domain/models/slo.ts diff --git a/x-pack/plugins/observability/server/domain/models/time_window.ts b/x-pack/plugins/observability_solution/observability/server/domain/models/time_window.ts similarity index 100% rename from x-pack/plugins/observability/server/domain/models/time_window.ts rename to x-pack/plugins/observability_solution/observability/server/domain/models/time_window.ts diff --git a/x-pack/plugins/observability/server/domain/services/compute_burn_rate.test.ts b/x-pack/plugins/observability_solution/observability/server/domain/services/compute_burn_rate.test.ts similarity index 100% rename from x-pack/plugins/observability/server/domain/services/compute_burn_rate.test.ts rename to x-pack/plugins/observability_solution/observability/server/domain/services/compute_burn_rate.test.ts diff --git a/x-pack/plugins/observability/server/domain/services/compute_burn_rate.ts b/x-pack/plugins/observability_solution/observability/server/domain/services/compute_burn_rate.ts similarity index 100% rename from x-pack/plugins/observability/server/domain/services/compute_burn_rate.ts rename to x-pack/plugins/observability_solution/observability/server/domain/services/compute_burn_rate.ts diff --git a/x-pack/plugins/observability/server/domain/services/compute_sli.test.ts b/x-pack/plugins/observability_solution/observability/server/domain/services/compute_sli.test.ts similarity index 100% rename from x-pack/plugins/observability/server/domain/services/compute_sli.test.ts rename to x-pack/plugins/observability_solution/observability/server/domain/services/compute_sli.test.ts diff --git a/x-pack/plugins/observability/server/domain/services/compute_sli.ts b/x-pack/plugins/observability_solution/observability/server/domain/services/compute_sli.ts similarity index 100% rename from x-pack/plugins/observability/server/domain/services/compute_sli.ts rename to x-pack/plugins/observability_solution/observability/server/domain/services/compute_sli.ts diff --git a/x-pack/plugins/observability/server/domain/services/compute_summary_status.test.ts b/x-pack/plugins/observability_solution/observability/server/domain/services/compute_summary_status.test.ts similarity index 100% rename from x-pack/plugins/observability/server/domain/services/compute_summary_status.test.ts rename to x-pack/plugins/observability_solution/observability/server/domain/services/compute_summary_status.test.ts diff --git a/x-pack/plugins/observability/server/domain/services/compute_summary_status.ts b/x-pack/plugins/observability_solution/observability/server/domain/services/compute_summary_status.ts similarity index 100% rename from x-pack/plugins/observability/server/domain/services/compute_summary_status.ts rename to x-pack/plugins/observability_solution/observability/server/domain/services/compute_summary_status.ts diff --git a/x-pack/plugins/observability/server/domain/services/date_range.test.ts b/x-pack/plugins/observability_solution/observability/server/domain/services/date_range.test.ts similarity index 100% rename from x-pack/plugins/observability/server/domain/services/date_range.test.ts rename to x-pack/plugins/observability_solution/observability/server/domain/services/date_range.test.ts diff --git a/x-pack/plugins/observability/server/domain/services/date_range.ts b/x-pack/plugins/observability_solution/observability/server/domain/services/date_range.ts similarity index 100% rename from x-pack/plugins/observability/server/domain/services/date_range.ts rename to x-pack/plugins/observability_solution/observability/server/domain/services/date_range.ts diff --git a/x-pack/plugins/observability/server/domain/services/error_budget.ts b/x-pack/plugins/observability_solution/observability/server/domain/services/error_budget.ts similarity index 100% rename from x-pack/plugins/observability/server/domain/services/error_budget.ts rename to x-pack/plugins/observability_solution/observability/server/domain/services/error_budget.ts diff --git a/x-pack/plugins/observability/server/domain/services/get_delay_in_seconds_from_slo.ts b/x-pack/plugins/observability_solution/observability/server/domain/services/get_delay_in_seconds_from_slo.ts similarity index 100% rename from x-pack/plugins/observability/server/domain/services/get_delay_in_seconds_from_slo.ts rename to x-pack/plugins/observability_solution/observability/server/domain/services/get_delay_in_seconds_from_slo.ts diff --git a/x-pack/plugins/observability/server/domain/services/get_lookback_date_range.ts b/x-pack/plugins/observability_solution/observability/server/domain/services/get_lookback_date_range.ts similarity index 100% rename from x-pack/plugins/observability/server/domain/services/get_lookback_date_range.ts rename to x-pack/plugins/observability_solution/observability/server/domain/services/get_lookback_date_range.ts diff --git a/x-pack/plugins/observability/server/domain/services/index.ts b/x-pack/plugins/observability_solution/observability/server/domain/services/index.ts similarity index 100% rename from x-pack/plugins/observability/server/domain/services/index.ts rename to x-pack/plugins/observability_solution/observability/server/domain/services/index.ts diff --git a/x-pack/plugins/observability/server/domain/services/validate_slo.test.ts b/x-pack/plugins/observability_solution/observability/server/domain/services/validate_slo.test.ts similarity index 100% rename from x-pack/plugins/observability/server/domain/services/validate_slo.test.ts rename to x-pack/plugins/observability_solution/observability/server/domain/services/validate_slo.test.ts diff --git a/x-pack/plugins/observability/server/domain/services/validate_slo.ts b/x-pack/plugins/observability_solution/observability/server/domain/services/validate_slo.ts similarity index 100% rename from x-pack/plugins/observability/server/domain/services/validate_slo.ts rename to x-pack/plugins/observability_solution/observability/server/domain/services/validate_slo.ts diff --git a/x-pack/plugins/observability/server/errors/errors.ts b/x-pack/plugins/observability_solution/observability/server/errors/errors.ts similarity index 100% rename from x-pack/plugins/observability/server/errors/errors.ts rename to x-pack/plugins/observability_solution/observability/server/errors/errors.ts diff --git a/x-pack/plugins/observability/server/errors/handler.ts b/x-pack/plugins/observability_solution/observability/server/errors/handler.ts similarity index 100% rename from x-pack/plugins/observability/server/errors/handler.ts rename to x-pack/plugins/observability_solution/observability/server/errors/handler.ts diff --git a/x-pack/plugins/observability/server/errors/index.ts b/x-pack/plugins/observability_solution/observability/server/errors/index.ts similarity index 100% rename from x-pack/plugins/observability/server/errors/index.ts rename to x-pack/plugins/observability_solution/observability/server/errors/index.ts diff --git a/x-pack/plugins/observability/server/index.ts b/x-pack/plugins/observability_solution/observability/server/index.ts similarity index 100% rename from x-pack/plugins/observability/server/index.ts rename to x-pack/plugins/observability_solution/observability/server/index.ts diff --git a/x-pack/plugins/observability/server/lib/annotations/bootstrap_annotations.ts b/x-pack/plugins/observability_solution/observability/server/lib/annotations/bootstrap_annotations.ts similarity index 100% rename from x-pack/plugins/observability/server/lib/annotations/bootstrap_annotations.ts rename to x-pack/plugins/observability_solution/observability/server/lib/annotations/bootstrap_annotations.ts diff --git a/x-pack/plugins/observability/server/lib/annotations/create_annotations_client.ts b/x-pack/plugins/observability_solution/observability/server/lib/annotations/create_annotations_client.ts similarity index 100% rename from x-pack/plugins/observability/server/lib/annotations/create_annotations_client.ts rename to x-pack/plugins/observability_solution/observability/server/lib/annotations/create_annotations_client.ts diff --git a/x-pack/plugins/observability/server/lib/annotations/mappings.ts b/x-pack/plugins/observability_solution/observability/server/lib/annotations/mappings.ts similarity index 100% rename from x-pack/plugins/observability/server/lib/annotations/mappings.ts rename to x-pack/plugins/observability_solution/observability/server/lib/annotations/mappings.ts diff --git a/x-pack/plugins/observability/server/lib/annotations/register_annotation_apis.ts b/x-pack/plugins/observability_solution/observability/server/lib/annotations/register_annotation_apis.ts similarity index 100% rename from x-pack/plugins/observability/server/lib/annotations/register_annotation_apis.ts rename to x-pack/plugins/observability_solution/observability/server/lib/annotations/register_annotation_apis.ts diff --git a/x-pack/plugins/observability/server/lib/collectors/fetcher.test.ts b/x-pack/plugins/observability_solution/observability/server/lib/collectors/fetcher.test.ts similarity index 100% rename from x-pack/plugins/observability/server/lib/collectors/fetcher.test.ts rename to x-pack/plugins/observability_solution/observability/server/lib/collectors/fetcher.test.ts diff --git a/x-pack/plugins/observability/server/lib/collectors/fetcher.ts b/x-pack/plugins/observability_solution/observability/server/lib/collectors/fetcher.ts similarity index 100% rename from x-pack/plugins/observability/server/lib/collectors/fetcher.ts rename to x-pack/plugins/observability_solution/observability/server/lib/collectors/fetcher.ts diff --git a/x-pack/plugins/observability/server/lib/collectors/register.ts b/x-pack/plugins/observability_solution/observability/server/lib/collectors/register.ts similarity index 100% rename from x-pack/plugins/observability/server/lib/collectors/register.ts rename to x-pack/plugins/observability_solution/observability/server/lib/collectors/register.ts diff --git a/x-pack/plugins/observability/server/lib/collectors/type.ts b/x-pack/plugins/observability_solution/observability/server/lib/collectors/type.ts similarity index 100% rename from x-pack/plugins/observability/server/lib/collectors/type.ts rename to x-pack/plugins/observability_solution/observability/server/lib/collectors/type.ts diff --git a/x-pack/plugins/observability/server/lib/rules/custom_threshold/constants.ts b/x-pack/plugins/observability_solution/observability/server/lib/rules/custom_threshold/constants.ts similarity index 100% rename from x-pack/plugins/observability/server/lib/rules/custom_threshold/constants.ts rename to x-pack/plugins/observability_solution/observability/server/lib/rules/custom_threshold/constants.ts diff --git a/x-pack/plugins/observability/server/lib/rules/custom_threshold/custom_threshold_executor.test.ts b/x-pack/plugins/observability_solution/observability/server/lib/rules/custom_threshold/custom_threshold_executor.test.ts similarity index 100% rename from x-pack/plugins/observability/server/lib/rules/custom_threshold/custom_threshold_executor.test.ts rename to x-pack/plugins/observability_solution/observability/server/lib/rules/custom_threshold/custom_threshold_executor.test.ts diff --git a/x-pack/plugins/observability/server/lib/rules/custom_threshold/custom_threshold_executor.ts b/x-pack/plugins/observability_solution/observability/server/lib/rules/custom_threshold/custom_threshold_executor.ts similarity index 100% rename from x-pack/plugins/observability/server/lib/rules/custom_threshold/custom_threshold_executor.ts rename to x-pack/plugins/observability_solution/observability/server/lib/rules/custom_threshold/custom_threshold_executor.ts diff --git a/x-pack/plugins/observability/server/lib/rules/custom_threshold/lib/check_missing_group.ts b/x-pack/plugins/observability_solution/observability/server/lib/rules/custom_threshold/lib/check_missing_group.ts similarity index 100% rename from x-pack/plugins/observability/server/lib/rules/custom_threshold/lib/check_missing_group.ts rename to x-pack/plugins/observability_solution/observability/server/lib/rules/custom_threshold/lib/check_missing_group.ts diff --git a/x-pack/plugins/observability/server/lib/rules/custom_threshold/lib/convert_strings_to_missing_groups_record.ts b/x-pack/plugins/observability_solution/observability/server/lib/rules/custom_threshold/lib/convert_strings_to_missing_groups_record.ts similarity index 100% rename from x-pack/plugins/observability/server/lib/rules/custom_threshold/lib/convert_strings_to_missing_groups_record.ts rename to x-pack/plugins/observability_solution/observability/server/lib/rules/custom_threshold/lib/convert_strings_to_missing_groups_record.ts diff --git a/x-pack/plugins/observability/server/lib/rules/custom_threshold/lib/create_bucket_selector.ts b/x-pack/plugins/observability_solution/observability/server/lib/rules/custom_threshold/lib/create_bucket_selector.ts similarity index 100% rename from x-pack/plugins/observability/server/lib/rules/custom_threshold/lib/create_bucket_selector.ts rename to x-pack/plugins/observability_solution/observability/server/lib/rules/custom_threshold/lib/create_bucket_selector.ts diff --git a/x-pack/plugins/observability/server/lib/rules/custom_threshold/lib/create_condition_script.ts b/x-pack/plugins/observability_solution/observability/server/lib/rules/custom_threshold/lib/create_condition_script.ts similarity index 100% rename from x-pack/plugins/observability/server/lib/rules/custom_threshold/lib/create_condition_script.ts rename to x-pack/plugins/observability_solution/observability/server/lib/rules/custom_threshold/lib/create_condition_script.ts diff --git a/x-pack/plugins/observability/server/lib/rules/custom_threshold/lib/create_custom_metrics_aggregations.ts b/x-pack/plugins/observability_solution/observability/server/lib/rules/custom_threshold/lib/create_custom_metrics_aggregations.ts similarity index 100% rename from x-pack/plugins/observability/server/lib/rules/custom_threshold/lib/create_custom_metrics_aggregations.ts rename to x-pack/plugins/observability_solution/observability/server/lib/rules/custom_threshold/lib/create_custom_metrics_aggregations.ts diff --git a/x-pack/plugins/observability/server/lib/rules/custom_threshold/lib/create_rate_aggregation.ts b/x-pack/plugins/observability_solution/observability/server/lib/rules/custom_threshold/lib/create_rate_aggregation.ts similarity index 100% rename from x-pack/plugins/observability/server/lib/rules/custom_threshold/lib/create_rate_aggregation.ts rename to x-pack/plugins/observability_solution/observability/server/lib/rules/custom_threshold/lib/create_rate_aggregation.ts diff --git a/x-pack/plugins/observability/server/lib/rules/custom_threshold/lib/create_timerange.test.ts b/x-pack/plugins/observability_solution/observability/server/lib/rules/custom_threshold/lib/create_timerange.test.ts similarity index 100% rename from x-pack/plugins/observability/server/lib/rules/custom_threshold/lib/create_timerange.test.ts rename to x-pack/plugins/observability_solution/observability/server/lib/rules/custom_threshold/lib/create_timerange.test.ts diff --git a/x-pack/plugins/observability/server/lib/rules/custom_threshold/lib/create_timerange.ts b/x-pack/plugins/observability_solution/observability/server/lib/rules/custom_threshold/lib/create_timerange.ts similarity index 100% rename from x-pack/plugins/observability/server/lib/rules/custom_threshold/lib/create_timerange.ts rename to x-pack/plugins/observability_solution/observability/server/lib/rules/custom_threshold/lib/create_timerange.ts diff --git a/x-pack/plugins/observability/server/lib/rules/custom_threshold/lib/evaluate_rule.ts b/x-pack/plugins/observability_solution/observability/server/lib/rules/custom_threshold/lib/evaluate_rule.ts similarity index 100% rename from x-pack/plugins/observability/server/lib/rules/custom_threshold/lib/evaluate_rule.ts rename to x-pack/plugins/observability_solution/observability/server/lib/rules/custom_threshold/lib/evaluate_rule.ts diff --git a/x-pack/plugins/observability/server/lib/rules/custom_threshold/lib/format_alert_result.ts b/x-pack/plugins/observability_solution/observability/server/lib/rules/custom_threshold/lib/format_alert_result.ts similarity index 100% rename from x-pack/plugins/observability/server/lib/rules/custom_threshold/lib/format_alert_result.ts rename to x-pack/plugins/observability_solution/observability/server/lib/rules/custom_threshold/lib/format_alert_result.ts diff --git a/x-pack/plugins/observability/server/lib/rules/custom_threshold/lib/get_data.ts b/x-pack/plugins/observability_solution/observability/server/lib/rules/custom_threshold/lib/get_data.ts similarity index 100% rename from x-pack/plugins/observability/server/lib/rules/custom_threshold/lib/get_data.ts rename to x-pack/plugins/observability_solution/observability/server/lib/rules/custom_threshold/lib/get_data.ts diff --git a/x-pack/plugins/observability/server/lib/rules/custom_threshold/lib/get_values.test.ts b/x-pack/plugins/observability_solution/observability/server/lib/rules/custom_threshold/lib/get_values.test.ts similarity index 100% rename from x-pack/plugins/observability/server/lib/rules/custom_threshold/lib/get_values.test.ts rename to x-pack/plugins/observability_solution/observability/server/lib/rules/custom_threshold/lib/get_values.test.ts diff --git a/x-pack/plugins/observability/server/lib/rules/custom_threshold/lib/get_values.ts b/x-pack/plugins/observability_solution/observability/server/lib/rules/custom_threshold/lib/get_values.ts similarity index 100% rename from x-pack/plugins/observability/server/lib/rules/custom_threshold/lib/get_values.ts rename to x-pack/plugins/observability_solution/observability/server/lib/rules/custom_threshold/lib/get_values.ts diff --git a/x-pack/plugins/observability/server/lib/rules/custom_threshold/lib/metric_query.test.ts b/x-pack/plugins/observability_solution/observability/server/lib/rules/custom_threshold/lib/metric_query.test.ts similarity index 100% rename from x-pack/plugins/observability/server/lib/rules/custom_threshold/lib/metric_query.test.ts rename to x-pack/plugins/observability_solution/observability/server/lib/rules/custom_threshold/lib/metric_query.test.ts diff --git a/x-pack/plugins/observability/server/lib/rules/custom_threshold/lib/metric_query.ts b/x-pack/plugins/observability_solution/observability/server/lib/rules/custom_threshold/lib/metric_query.ts similarity index 100% rename from x-pack/plugins/observability/server/lib/rules/custom_threshold/lib/metric_query.ts rename to x-pack/plugins/observability_solution/observability/server/lib/rules/custom_threshold/lib/metric_query.ts diff --git a/x-pack/plugins/observability/server/lib/rules/custom_threshold/lib/wrap_in_period.ts b/x-pack/plugins/observability_solution/observability/server/lib/rules/custom_threshold/lib/wrap_in_period.ts similarity index 100% rename from x-pack/plugins/observability/server/lib/rules/custom_threshold/lib/wrap_in_period.ts rename to x-pack/plugins/observability_solution/observability/server/lib/rules/custom_threshold/lib/wrap_in_period.ts diff --git a/x-pack/plugins/observability/server/lib/rules/custom_threshold/messages.ts b/x-pack/plugins/observability_solution/observability/server/lib/rules/custom_threshold/messages.ts similarity index 100% rename from x-pack/plugins/observability/server/lib/rules/custom_threshold/messages.ts rename to x-pack/plugins/observability_solution/observability/server/lib/rules/custom_threshold/messages.ts diff --git a/x-pack/plugins/observability/server/lib/rules/custom_threshold/mocks/custom_threshold_alert_result.ts b/x-pack/plugins/observability_solution/observability/server/lib/rules/custom_threshold/mocks/custom_threshold_alert_result.ts similarity index 100% rename from x-pack/plugins/observability/server/lib/rules/custom_threshold/mocks/custom_threshold_alert_result.ts rename to x-pack/plugins/observability_solution/observability/server/lib/rules/custom_threshold/mocks/custom_threshold_alert_result.ts diff --git a/x-pack/plugins/observability/server/lib/rules/custom_threshold/mocks/custom_threshold_metric_params.ts b/x-pack/plugins/observability_solution/observability/server/lib/rules/custom_threshold/mocks/custom_threshold_metric_params.ts similarity index 100% rename from x-pack/plugins/observability/server/lib/rules/custom_threshold/mocks/custom_threshold_metric_params.ts rename to x-pack/plugins/observability_solution/observability/server/lib/rules/custom_threshold/mocks/custom_threshold_metric_params.ts diff --git a/x-pack/plugins/observability/server/lib/rules/custom_threshold/register_custom_threshold_rule_type.ts b/x-pack/plugins/observability_solution/observability/server/lib/rules/custom_threshold/register_custom_threshold_rule_type.ts similarity index 100% rename from x-pack/plugins/observability/server/lib/rules/custom_threshold/register_custom_threshold_rule_type.ts rename to x-pack/plugins/observability_solution/observability/server/lib/rules/custom_threshold/register_custom_threshold_rule_type.ts diff --git a/x-pack/plugins/observability/server/lib/rules/custom_threshold/translations.ts b/x-pack/plugins/observability_solution/observability/server/lib/rules/custom_threshold/translations.ts similarity index 100% rename from x-pack/plugins/observability/server/lib/rules/custom_threshold/translations.ts rename to x-pack/plugins/observability_solution/observability/server/lib/rules/custom_threshold/translations.ts diff --git a/x-pack/plugins/observability/server/lib/rules/custom_threshold/types.ts b/x-pack/plugins/observability_solution/observability/server/lib/rules/custom_threshold/types.ts similarity index 100% rename from x-pack/plugins/observability/server/lib/rules/custom_threshold/types.ts rename to x-pack/plugins/observability_solution/observability/server/lib/rules/custom_threshold/types.ts diff --git a/x-pack/plugins/observability/server/lib/rules/custom_threshold/utils.test.ts b/x-pack/plugins/observability_solution/observability/server/lib/rules/custom_threshold/utils.test.ts similarity index 100% rename from x-pack/plugins/observability/server/lib/rules/custom_threshold/utils.test.ts rename to x-pack/plugins/observability_solution/observability/server/lib/rules/custom_threshold/utils.test.ts diff --git a/x-pack/plugins/observability/server/lib/rules/custom_threshold/utils.ts b/x-pack/plugins/observability_solution/observability/server/lib/rules/custom_threshold/utils.ts similarity index 100% rename from x-pack/plugins/observability/server/lib/rules/custom_threshold/utils.ts rename to x-pack/plugins/observability_solution/observability/server/lib/rules/custom_threshold/utils.ts diff --git a/x-pack/plugins/observability/server/lib/rules/register_rule_types.ts b/x-pack/plugins/observability_solution/observability/server/lib/rules/register_rule_types.ts similarity index 100% rename from x-pack/plugins/observability/server/lib/rules/register_rule_types.ts rename to x-pack/plugins/observability_solution/observability/server/lib/rules/register_rule_types.ts diff --git a/x-pack/plugins/observability/server/lib/rules/slo_burn_rate/docs/params_property_slo_burn_rate.yaml b/x-pack/plugins/observability_solution/observability/server/lib/rules/slo_burn_rate/docs/params_property_slo_burn_rate.yaml similarity index 100% rename from x-pack/plugins/observability/server/lib/rules/slo_burn_rate/docs/params_property_slo_burn_rate.yaml rename to x-pack/plugins/observability_solution/observability/server/lib/rules/slo_burn_rate/docs/params_property_slo_burn_rate.yaml diff --git a/x-pack/plugins/observability/server/lib/rules/slo_burn_rate/executor.test.ts b/x-pack/plugins/observability_solution/observability/server/lib/rules/slo_burn_rate/executor.test.ts similarity index 100% rename from x-pack/plugins/observability/server/lib/rules/slo_burn_rate/executor.test.ts rename to x-pack/plugins/observability_solution/observability/server/lib/rules/slo_burn_rate/executor.test.ts diff --git a/x-pack/plugins/observability/server/lib/rules/slo_burn_rate/executor.ts b/x-pack/plugins/observability_solution/observability/server/lib/rules/slo_burn_rate/executor.ts similarity index 100% rename from x-pack/plugins/observability/server/lib/rules/slo_burn_rate/executor.ts rename to x-pack/plugins/observability_solution/observability/server/lib/rules/slo_burn_rate/executor.ts diff --git a/x-pack/plugins/observability/server/lib/rules/slo_burn_rate/field_map.ts b/x-pack/plugins/observability_solution/observability/server/lib/rules/slo_burn_rate/field_map.ts similarity index 100% rename from x-pack/plugins/observability/server/lib/rules/slo_burn_rate/field_map.ts rename to x-pack/plugins/observability_solution/observability/server/lib/rules/slo_burn_rate/field_map.ts diff --git a/x-pack/plugins/observability/server/lib/rules/slo_burn_rate/fixtures/rule.ts b/x-pack/plugins/observability_solution/observability/server/lib/rules/slo_burn_rate/fixtures/rule.ts similarity index 100% rename from x-pack/plugins/observability/server/lib/rules/slo_burn_rate/fixtures/rule.ts rename to x-pack/plugins/observability_solution/observability/server/lib/rules/slo_burn_rate/fixtures/rule.ts diff --git a/x-pack/plugins/observability/server/lib/rules/slo_burn_rate/index.ts b/x-pack/plugins/observability_solution/observability/server/lib/rules/slo_burn_rate/index.ts similarity index 100% rename from x-pack/plugins/observability/server/lib/rules/slo_burn_rate/index.ts rename to x-pack/plugins/observability_solution/observability/server/lib/rules/slo_burn_rate/index.ts diff --git a/x-pack/plugins/observability/server/lib/rules/slo_burn_rate/lib/__snapshots__/build_query.test.ts.snap b/x-pack/plugins/observability_solution/observability/server/lib/rules/slo_burn_rate/lib/__snapshots__/build_query.test.ts.snap similarity index 100% rename from x-pack/plugins/observability/server/lib/rules/slo_burn_rate/lib/__snapshots__/build_query.test.ts.snap rename to x-pack/plugins/observability_solution/observability/server/lib/rules/slo_burn_rate/lib/__snapshots__/build_query.test.ts.snap diff --git a/x-pack/plugins/observability/server/lib/rules/slo_burn_rate/lib/build_query.test.ts b/x-pack/plugins/observability_solution/observability/server/lib/rules/slo_burn_rate/lib/build_query.test.ts similarity index 100% rename from x-pack/plugins/observability/server/lib/rules/slo_burn_rate/lib/build_query.test.ts rename to x-pack/plugins/observability_solution/observability/server/lib/rules/slo_burn_rate/lib/build_query.test.ts diff --git a/x-pack/plugins/observability/server/lib/rules/slo_burn_rate/lib/build_query.ts b/x-pack/plugins/observability_solution/observability/server/lib/rules/slo_burn_rate/lib/build_query.ts similarity index 100% rename from x-pack/plugins/observability/server/lib/rules/slo_burn_rate/lib/build_query.ts rename to x-pack/plugins/observability_solution/observability/server/lib/rules/slo_burn_rate/lib/build_query.ts diff --git a/x-pack/plugins/observability/server/lib/rules/slo_burn_rate/lib/evaluate.ts b/x-pack/plugins/observability_solution/observability/server/lib/rules/slo_burn_rate/lib/evaluate.ts similarity index 100% rename from x-pack/plugins/observability/server/lib/rules/slo_burn_rate/lib/evaluate.ts rename to x-pack/plugins/observability_solution/observability/server/lib/rules/slo_burn_rate/lib/evaluate.ts diff --git a/x-pack/plugins/observability/server/lib/rules/slo_burn_rate/register.ts b/x-pack/plugins/observability_solution/observability/server/lib/rules/slo_burn_rate/register.ts similarity index 100% rename from x-pack/plugins/observability/server/lib/rules/slo_burn_rate/register.ts rename to x-pack/plugins/observability_solution/observability/server/lib/rules/slo_burn_rate/register.ts diff --git a/x-pack/plugins/observability/server/lib/rules/slo_burn_rate/types.ts b/x-pack/plugins/observability_solution/observability/server/lib/rules/slo_burn_rate/types.ts similarity index 100% rename from x-pack/plugins/observability/server/lib/rules/slo_burn_rate/types.ts rename to x-pack/plugins/observability_solution/observability/server/lib/rules/slo_burn_rate/types.ts diff --git a/x-pack/plugins/observability/server/plugin.ts b/x-pack/plugins/observability_solution/observability/server/plugin.ts similarity index 100% rename from x-pack/plugins/observability/server/plugin.ts rename to x-pack/plugins/observability_solution/observability/server/plugin.ts diff --git a/x-pack/plugins/observability/server/routes/create_observability_server_route.ts b/x-pack/plugins/observability_solution/observability/server/routes/create_observability_server_route.ts similarity index 100% rename from x-pack/plugins/observability/server/routes/create_observability_server_route.ts rename to x-pack/plugins/observability_solution/observability/server/routes/create_observability_server_route.ts diff --git a/x-pack/plugins/observability/server/routes/get_global_observability_server_route_repository.ts b/x-pack/plugins/observability_solution/observability/server/routes/get_global_observability_server_route_repository.ts similarity index 100% rename from x-pack/plugins/observability/server/routes/get_global_observability_server_route_repository.ts rename to x-pack/plugins/observability_solution/observability/server/routes/get_global_observability_server_route_repository.ts diff --git a/x-pack/plugins/observability/server/routes/register_routes.ts b/x-pack/plugins/observability_solution/observability/server/routes/register_routes.ts similarity index 100% rename from x-pack/plugins/observability/server/routes/register_routes.ts rename to x-pack/plugins/observability_solution/observability/server/routes/register_routes.ts diff --git a/x-pack/plugins/observability/server/routes/rules/route.ts b/x-pack/plugins/observability_solution/observability/server/routes/rules/route.ts similarity index 100% rename from x-pack/plugins/observability/server/routes/rules/route.ts rename to x-pack/plugins/observability_solution/observability/server/routes/rules/route.ts diff --git a/x-pack/plugins/observability/server/routes/slo/route.ts b/x-pack/plugins/observability_solution/observability/server/routes/slo/route.ts similarity index 100% rename from x-pack/plugins/observability/server/routes/slo/route.ts rename to x-pack/plugins/observability_solution/observability/server/routes/slo/route.ts diff --git a/x-pack/plugins/observability/server/routes/types.ts b/x-pack/plugins/observability_solution/observability/server/routes/types.ts similarity index 100% rename from x-pack/plugins/observability/server/routes/types.ts rename to x-pack/plugins/observability_solution/observability/server/routes/types.ts diff --git a/x-pack/plugins/observability/server/saved_objects/index.ts b/x-pack/plugins/observability_solution/observability/server/saved_objects/index.ts similarity index 100% rename from x-pack/plugins/observability/server/saved_objects/index.ts rename to x-pack/plugins/observability_solution/observability/server/saved_objects/index.ts diff --git a/x-pack/plugins/observability/server/saved_objects/slo.ts b/x-pack/plugins/observability_solution/observability/server/saved_objects/slo.ts similarity index 100% rename from x-pack/plugins/observability/server/saved_objects/slo.ts rename to x-pack/plugins/observability_solution/observability/server/saved_objects/slo.ts diff --git a/x-pack/plugins/observability/server/saved_objects/threshold.ts b/x-pack/plugins/observability_solution/observability/server/saved_objects/threshold.ts similarity index 100% rename from x-pack/plugins/observability/server/saved_objects/threshold.ts rename to x-pack/plugins/observability_solution/observability/server/saved_objects/threshold.ts diff --git a/x-pack/plugins/observability/server/services/slo/__snapshots__/create_slo.test.ts.snap b/x-pack/plugins/observability_solution/observability/server/services/slo/__snapshots__/create_slo.test.ts.snap similarity index 100% rename from x-pack/plugins/observability/server/services/slo/__snapshots__/create_slo.test.ts.snap rename to x-pack/plugins/observability_solution/observability/server/services/slo/__snapshots__/create_slo.test.ts.snap diff --git a/x-pack/plugins/observability/server/services/slo/__snapshots__/delete_slo.test.ts.snap b/x-pack/plugins/observability_solution/observability/server/services/slo/__snapshots__/delete_slo.test.ts.snap similarity index 100% rename from x-pack/plugins/observability/server/services/slo/__snapshots__/delete_slo.test.ts.snap rename to x-pack/plugins/observability_solution/observability/server/services/slo/__snapshots__/delete_slo.test.ts.snap diff --git a/x-pack/plugins/observability/server/services/slo/__snapshots__/get_slo_instances.test.ts.snap b/x-pack/plugins/observability_solution/observability/server/services/slo/__snapshots__/get_slo_instances.test.ts.snap similarity index 100% rename from x-pack/plugins/observability/server/services/slo/__snapshots__/get_slo_instances.test.ts.snap rename to x-pack/plugins/observability_solution/observability/server/services/slo/__snapshots__/get_slo_instances.test.ts.snap diff --git a/x-pack/plugins/observability/server/services/slo/__snapshots__/historical_summary_client.test.ts.snap b/x-pack/plugins/observability_solution/observability/server/services/slo/__snapshots__/historical_summary_client.test.ts.snap similarity index 100% rename from x-pack/plugins/observability/server/services/slo/__snapshots__/historical_summary_client.test.ts.snap rename to x-pack/plugins/observability_solution/observability/server/services/slo/__snapshots__/historical_summary_client.test.ts.snap diff --git a/x-pack/plugins/observability/server/services/slo/__snapshots__/manage_slo.test.ts.snap b/x-pack/plugins/observability_solution/observability/server/services/slo/__snapshots__/manage_slo.test.ts.snap similarity index 100% rename from x-pack/plugins/observability/server/services/slo/__snapshots__/manage_slo.test.ts.snap rename to x-pack/plugins/observability_solution/observability/server/services/slo/__snapshots__/manage_slo.test.ts.snap diff --git a/x-pack/plugins/observability/server/services/slo/__snapshots__/reset_slo.test.ts.snap b/x-pack/plugins/observability_solution/observability/server/services/slo/__snapshots__/reset_slo.test.ts.snap similarity index 100% rename from x-pack/plugins/observability/server/services/slo/__snapshots__/reset_slo.test.ts.snap rename to x-pack/plugins/observability_solution/observability/server/services/slo/__snapshots__/reset_slo.test.ts.snap diff --git a/x-pack/plugins/observability_solution/observability/server/services/slo/__snapshots__/summary_client.test.ts.snap b/x-pack/plugins/observability_solution/observability/server/services/slo/__snapshots__/summary_client.test.ts.snap new file mode 100644 index 0000000000000..e49d405f1e1c0 --- /dev/null +++ b/x-pack/plugins/observability_solution/observability/server/services/slo/__snapshots__/summary_client.test.ts.snap @@ -0,0 +1,49 @@ +// Jest Snapshot v1, https://goo.gl/fbAQLP + +exports[`SummaryClient fetchSummary with calendar aligned and timeslices SLO returns the summary 1`] = ` +Object { + "groupings": Object {}, + "summary": Object { + "errorBudget": Object { + "consumed": 0, + "initial": 0.05, + "isEstimated": false, + "remaining": 1, + }, + "sliValue": -1, + "status": "NO_DATA", + }, +} +`; + +exports[`SummaryClient fetchSummary with rolling and occurrences SLO returns the summary 1`] = ` +Object { + "groupings": Object {}, + "summary": Object { + "errorBudget": Object { + "consumed": 0, + "initial": 0.001, + "isEstimated": false, + "remaining": 1, + }, + "sliValue": -1, + "status": "NO_DATA", + }, +} +`; + +exports[`SummaryClient fetchSummary with rolling and timeslices SLO returns the summary 1`] = ` +Object { + "groupings": Object {}, + "summary": Object { + "errorBudget": Object { + "consumed": 0, + "initial": 0.05, + "isEstimated": false, + "remaining": 1, + }, + "sliValue": -1, + "status": "NO_DATA", + }, +} +`; diff --git a/x-pack/plugins/observability/server/services/slo/__snapshots__/summary_search_client.test.ts.snap b/x-pack/plugins/observability_solution/observability/server/services/slo/__snapshots__/summary_search_client.test.ts.snap similarity index 94% rename from x-pack/plugins/observability/server/services/slo/__snapshots__/summary_search_client.test.ts.snap rename to x-pack/plugins/observability_solution/observability/server/services/slo/__snapshots__/summary_search_client.test.ts.snap index daf5e47a0a66c..13a91a867affd 100644 --- a/x-pack/plugins/observability/server/services/slo/__snapshots__/summary_search_client.test.ts.snap +++ b/x-pack/plugins/observability_solution/observability/server/services/slo/__snapshots__/summary_search_client.test.ts.snap @@ -36,6 +36,7 @@ Object { "perPage": 20, "results": Array [ Object { + "groupings": Object {}, "id": "slo-one", "instanceId": "*", "summary": Object { @@ -50,6 +51,7 @@ Object { }, }, Object { + "groupings": Object {}, "id": "slo_two", "instanceId": "*", "summary": Object { @@ -64,6 +66,7 @@ Object { }, }, Object { + "groupings": Object {}, "id": "slo-three", "instanceId": "*", "summary": Object { @@ -78,6 +81,7 @@ Object { }, }, Object { + "groupings": Object {}, "id": "slo-five", "instanceId": "*", "summary": Object { @@ -92,6 +96,7 @@ Object { }, }, Object { + "groupings": Object {}, "id": "slo-four", "instanceId": "*", "summary": Object { diff --git a/x-pack/plugins/observability/server/services/slo/__snapshots__/update_slo.test.ts.snap b/x-pack/plugins/observability_solution/observability/server/services/slo/__snapshots__/update_slo.test.ts.snap similarity index 100% rename from x-pack/plugins/observability/server/services/slo/__snapshots__/update_slo.test.ts.snap rename to x-pack/plugins/observability_solution/observability/server/services/slo/__snapshots__/update_slo.test.ts.snap diff --git a/x-pack/plugins/observability/server/services/slo/aggregations/__snapshots__/get_custom_metric_indicator_aggregation.test.ts.snap b/x-pack/plugins/observability_solution/observability/server/services/slo/aggregations/__snapshots__/get_custom_metric_indicator_aggregation.test.ts.snap similarity index 100% rename from x-pack/plugins/observability/server/services/slo/aggregations/__snapshots__/get_custom_metric_indicator_aggregation.test.ts.snap rename to x-pack/plugins/observability_solution/observability/server/services/slo/aggregations/__snapshots__/get_custom_metric_indicator_aggregation.test.ts.snap diff --git a/x-pack/plugins/observability/server/services/slo/aggregations/__snapshots__/get_histogram_indicator_aggregation.test.ts.snap b/x-pack/plugins/observability_solution/observability/server/services/slo/aggregations/__snapshots__/get_histogram_indicator_aggregation.test.ts.snap similarity index 100% rename from x-pack/plugins/observability/server/services/slo/aggregations/__snapshots__/get_histogram_indicator_aggregation.test.ts.snap rename to x-pack/plugins/observability_solution/observability/server/services/slo/aggregations/__snapshots__/get_histogram_indicator_aggregation.test.ts.snap diff --git a/x-pack/plugins/observability/server/services/slo/aggregations/__snapshots__/get_timeslice_metric_indicator_aggregation.test.ts.snap b/x-pack/plugins/observability_solution/observability/server/services/slo/aggregations/__snapshots__/get_timeslice_metric_indicator_aggregation.test.ts.snap similarity index 100% rename from x-pack/plugins/observability/server/services/slo/aggregations/__snapshots__/get_timeslice_metric_indicator_aggregation.test.ts.snap rename to x-pack/plugins/observability_solution/observability/server/services/slo/aggregations/__snapshots__/get_timeslice_metric_indicator_aggregation.test.ts.snap diff --git a/x-pack/plugins/observability/server/services/slo/aggregations/get_custom_metric_indicator_aggregation.test.ts b/x-pack/plugins/observability_solution/observability/server/services/slo/aggregations/get_custom_metric_indicator_aggregation.test.ts similarity index 100% rename from x-pack/plugins/observability/server/services/slo/aggregations/get_custom_metric_indicator_aggregation.test.ts rename to x-pack/plugins/observability_solution/observability/server/services/slo/aggregations/get_custom_metric_indicator_aggregation.test.ts diff --git a/x-pack/plugins/observability/server/services/slo/aggregations/get_custom_metric_indicator_aggregation.ts b/x-pack/plugins/observability_solution/observability/server/services/slo/aggregations/get_custom_metric_indicator_aggregation.ts similarity index 100% rename from x-pack/plugins/observability/server/services/slo/aggregations/get_custom_metric_indicator_aggregation.ts rename to x-pack/plugins/observability_solution/observability/server/services/slo/aggregations/get_custom_metric_indicator_aggregation.ts diff --git a/x-pack/plugins/observability/server/services/slo/aggregations/get_histogram_indicator_aggregation.test.ts b/x-pack/plugins/observability_solution/observability/server/services/slo/aggregations/get_histogram_indicator_aggregation.test.ts similarity index 100% rename from x-pack/plugins/observability/server/services/slo/aggregations/get_histogram_indicator_aggregation.test.ts rename to x-pack/plugins/observability_solution/observability/server/services/slo/aggregations/get_histogram_indicator_aggregation.test.ts diff --git a/x-pack/plugins/observability/server/services/slo/aggregations/get_histogram_indicator_aggregation.ts b/x-pack/plugins/observability_solution/observability/server/services/slo/aggregations/get_histogram_indicator_aggregation.ts similarity index 100% rename from x-pack/plugins/observability/server/services/slo/aggregations/get_histogram_indicator_aggregation.ts rename to x-pack/plugins/observability_solution/observability/server/services/slo/aggregations/get_histogram_indicator_aggregation.ts diff --git a/x-pack/plugins/observability/server/services/slo/aggregations/get_timeslice_metric_indicator_aggregation.test.ts b/x-pack/plugins/observability_solution/observability/server/services/slo/aggregations/get_timeslice_metric_indicator_aggregation.test.ts similarity index 100% rename from x-pack/plugins/observability/server/services/slo/aggregations/get_timeslice_metric_indicator_aggregation.test.ts rename to x-pack/plugins/observability_solution/observability/server/services/slo/aggregations/get_timeslice_metric_indicator_aggregation.test.ts diff --git a/x-pack/plugins/observability/server/services/slo/aggregations/get_timeslice_metric_indicator_aggregation.ts b/x-pack/plugins/observability_solution/observability/server/services/slo/aggregations/get_timeslice_metric_indicator_aggregation.ts similarity index 100% rename from x-pack/plugins/observability/server/services/slo/aggregations/get_timeslice_metric_indicator_aggregation.ts rename to x-pack/plugins/observability_solution/observability/server/services/slo/aggregations/get_timeslice_metric_indicator_aggregation.ts diff --git a/x-pack/plugins/observability/server/services/slo/aggregations/index.ts b/x-pack/plugins/observability_solution/observability/server/services/slo/aggregations/index.ts similarity index 100% rename from x-pack/plugins/observability/server/services/slo/aggregations/index.ts rename to x-pack/plugins/observability_solution/observability/server/services/slo/aggregations/index.ts diff --git a/x-pack/plugins/observability/server/services/slo/create_slo.test.ts b/x-pack/plugins/observability_solution/observability/server/services/slo/create_slo.test.ts similarity index 100% rename from x-pack/plugins/observability/server/services/slo/create_slo.test.ts rename to x-pack/plugins/observability_solution/observability/server/services/slo/create_slo.test.ts diff --git a/x-pack/plugins/observability/server/services/slo/create_slo.ts b/x-pack/plugins/observability_solution/observability/server/services/slo/create_slo.ts similarity index 100% rename from x-pack/plugins/observability/server/services/slo/create_slo.ts rename to x-pack/plugins/observability_solution/observability/server/services/slo/create_slo.ts diff --git a/x-pack/plugins/observability/server/services/slo/delete_slo.test.ts b/x-pack/plugins/observability_solution/observability/server/services/slo/delete_slo.test.ts similarity index 100% rename from x-pack/plugins/observability/server/services/slo/delete_slo.test.ts rename to x-pack/plugins/observability_solution/observability/server/services/slo/delete_slo.test.ts diff --git a/x-pack/plugins/observability/server/services/slo/delete_slo.ts b/x-pack/plugins/observability_solution/observability/server/services/slo/delete_slo.ts similarity index 100% rename from x-pack/plugins/observability/server/services/slo/delete_slo.ts rename to x-pack/plugins/observability_solution/observability/server/services/slo/delete_slo.ts diff --git a/x-pack/plugins/observability/server/services/slo/delete_slo_instances.test.ts b/x-pack/plugins/observability_solution/observability/server/services/slo/delete_slo_instances.test.ts similarity index 100% rename from x-pack/plugins/observability/server/services/slo/delete_slo_instances.test.ts rename to x-pack/plugins/observability_solution/observability/server/services/slo/delete_slo_instances.test.ts diff --git a/x-pack/plugins/observability/server/services/slo/delete_slo_instances.ts b/x-pack/plugins/observability_solution/observability/server/services/slo/delete_slo_instances.ts similarity index 100% rename from x-pack/plugins/observability/server/services/slo/delete_slo_instances.ts rename to x-pack/plugins/observability_solution/observability/server/services/slo/delete_slo_instances.ts diff --git a/x-pack/plugins/observability/server/services/slo/fetch_historical_summary.ts b/x-pack/plugins/observability_solution/observability/server/services/slo/fetch_historical_summary.ts similarity index 100% rename from x-pack/plugins/observability/server/services/slo/fetch_historical_summary.ts rename to x-pack/plugins/observability_solution/observability/server/services/slo/fetch_historical_summary.ts diff --git a/x-pack/plugins/observability/server/services/slo/find_slo.test.ts b/x-pack/plugins/observability_solution/observability/server/services/slo/find_slo.test.ts similarity index 99% rename from x-pack/plugins/observability/server/services/slo/find_slo.test.ts rename to x-pack/plugins/observability_solution/observability/server/services/slo/find_slo.test.ts index 396f026b936b3..66a9f489bdfc6 100644 --- a/x-pack/plugins/observability/server/services/slo/find_slo.test.ts +++ b/x-pack/plugins/observability_solution/observability/server/services/slo/find_slo.test.ts @@ -96,6 +96,7 @@ describe('FindSLO', () => { enabled: slo.enabled, revision: slo.revision, groupBy: slo.groupBy, + groupings: {}, instanceId: ALL_VALUE, version: SLO_MODEL_VERSION, }, @@ -166,6 +167,7 @@ function summarySearchResult(slo: SLO): Paginated { { id: slo.id, instanceId: slo.groupBy === ALL_VALUE ? ALL_VALUE : 'host-abcde', + groupings: {}, summary: { status: 'HEALTHY', sliValue: 0.9999, diff --git a/x-pack/plugins/observability/server/services/slo/find_slo.ts b/x-pack/plugins/observability_solution/observability/server/services/slo/find_slo.ts similarity index 98% rename from x-pack/plugins/observability/server/services/slo/find_slo.ts rename to x-pack/plugins/observability_solution/observability/server/services/slo/find_slo.ts index b92e53bd5cd5b..84d17c5ebc840 100644 --- a/x-pack/plugins/observability/server/services/slo/find_slo.ts +++ b/x-pack/plugins/observability_solution/observability/server/services/slo/find_slo.ts @@ -48,6 +48,7 @@ function mergeSloWithSummary(sloList: SLO[], sloSummaryList: SLOSummary[]): SLOW ...sloList.find((s) => s.id === sloSummary.id)!, instanceId: sloSummary.instanceId, summary: sloSummary.summary, + groupings: sloSummary.groupings, })); } diff --git a/x-pack/plugins/observability/server/services/slo/find_slo_definitions.ts b/x-pack/plugins/observability_solution/observability/server/services/slo/find_slo_definitions.ts similarity index 100% rename from x-pack/plugins/observability/server/services/slo/find_slo_definitions.ts rename to x-pack/plugins/observability_solution/observability/server/services/slo/find_slo_definitions.ts diff --git a/x-pack/plugins/observability/server/services/slo/find_slo_groups.ts b/x-pack/plugins/observability_solution/observability/server/services/slo/find_slo_groups.ts similarity index 100% rename from x-pack/plugins/observability/server/services/slo/find_slo_groups.ts rename to x-pack/plugins/observability_solution/observability/server/services/slo/find_slo_groups.ts diff --git a/x-pack/plugins/observability/server/services/slo/fixtures/date.ts b/x-pack/plugins/observability_solution/observability/server/services/slo/fixtures/date.ts similarity index 100% rename from x-pack/plugins/observability/server/services/slo/fixtures/date.ts rename to x-pack/plugins/observability_solution/observability/server/services/slo/fixtures/date.ts diff --git a/x-pack/plugins/observability/server/services/slo/fixtures/duration.ts b/x-pack/plugins/observability_solution/observability/server/services/slo/fixtures/duration.ts similarity index 100% rename from x-pack/plugins/observability/server/services/slo/fixtures/duration.ts rename to x-pack/plugins/observability_solution/observability/server/services/slo/fixtures/duration.ts diff --git a/x-pack/plugins/observability/server/services/slo/fixtures/error_budget.ts b/x-pack/plugins/observability_solution/observability/server/services/slo/fixtures/error_budget.ts similarity index 100% rename from x-pack/plugins/observability/server/services/slo/fixtures/error_budget.ts rename to x-pack/plugins/observability_solution/observability/server/services/slo/fixtures/error_budget.ts diff --git a/x-pack/plugins/observability/server/services/slo/fixtures/slo.ts b/x-pack/plugins/observability_solution/observability/server/services/slo/fixtures/slo.ts similarity index 100% rename from x-pack/plugins/observability/server/services/slo/fixtures/slo.ts rename to x-pack/plugins/observability_solution/observability/server/services/slo/fixtures/slo.ts diff --git a/x-pack/plugins/observability/server/services/slo/fixtures/summary_search_document.ts b/x-pack/plugins/observability_solution/observability/server/services/slo/fixtures/summary_search_document.ts similarity index 100% rename from x-pack/plugins/observability/server/services/slo/fixtures/summary_search_document.ts rename to x-pack/plugins/observability_solution/observability/server/services/slo/fixtures/summary_search_document.ts diff --git a/x-pack/plugins/observability/server/services/slo/fixtures/time_window.ts b/x-pack/plugins/observability_solution/observability/server/services/slo/fixtures/time_window.ts similarity index 100% rename from x-pack/plugins/observability/server/services/slo/fixtures/time_window.ts rename to x-pack/plugins/observability_solution/observability/server/services/slo/fixtures/time_window.ts diff --git a/x-pack/plugins/observability/server/services/slo/get_burn_rates.ts b/x-pack/plugins/observability_solution/observability/server/services/slo/get_burn_rates.ts similarity index 100% rename from x-pack/plugins/observability/server/services/slo/get_burn_rates.ts rename to x-pack/plugins/observability_solution/observability/server/services/slo/get_burn_rates.ts diff --git a/x-pack/plugins/observability/server/services/slo/get_diagnosis.ts b/x-pack/plugins/observability_solution/observability/server/services/slo/get_diagnosis.ts similarity index 100% rename from x-pack/plugins/observability/server/services/slo/get_diagnosis.ts rename to x-pack/plugins/observability_solution/observability/server/services/slo/get_diagnosis.ts diff --git a/x-pack/plugins/observability/server/services/slo/get_preview_data.ts b/x-pack/plugins/observability_solution/observability/server/services/slo/get_preview_data.ts similarity index 94% rename from x-pack/plugins/observability/server/services/slo/get_preview_data.ts rename to x-pack/plugins/observability_solution/observability/server/services/slo/get_preview_data.ts index 33a860ffb932c..c3265654dafcd 100644 --- a/x-pack/plugins/observability/server/services/slo/get_preview_data.ts +++ b/x-pack/plugins/observability_solution/observability/server/services/slo/get_preview_data.ts @@ -38,6 +38,7 @@ interface Options { interval: string; instanceId?: string; groupBy?: string; + groupings?: Record; } export class GetPreviewData { constructor(private esClient: ElasticsearchClient) {} @@ -47,11 +48,7 @@ export class GetPreviewData { options: Options ): Promise { const filter: estypes.QueryDslQueryContainer[] = []; - if (options.instanceId !== ALL_VALUE && options.groupBy) { - filter.push({ - term: { [options.groupBy]: options.instanceId }, - }); - } + this.getGroupingsFilter(options, filter); if (indicator.params.service !== ALL_VALUE) filter.push({ match: { 'service.name': indicator.params.service }, @@ -145,11 +142,7 @@ export class GetPreviewData { options: Options ): Promise { const filter: estypes.QueryDslQueryContainer[] = []; - if (options.instanceId !== ALL_VALUE && options.groupBy) { - filter.push({ - term: { [options.groupBy]: options.instanceId }, - }); - } + this.getGroupingsFilter(options, filter); if (indicator.params.service !== ALL_VALUE) filter.push({ match: { 'service.name': indicator.params.service }, @@ -242,11 +235,7 @@ export class GetPreviewData { filterQuery, ]; - if (options.instanceId !== ALL_VALUE && options.groupBy) { - filter.push({ - term: { [options.groupBy]: options.instanceId }, - }); - } + this.getGroupingsFilter(options, filter); const result = await this.esClient.search({ index: indicator.params.index, @@ -305,11 +294,7 @@ export class GetPreviewData { { range: { [timestampField]: { gte: options.range.start, lte: options.range.end } } }, filterQuery, ]; - if (options.instanceId !== ALL_VALUE && options.groupBy) { - filter.push({ - term: { [options.groupBy]: options.instanceId }, - }); - } + this.getGroupingsFilter(options, filter); const result = await this.esClient.search({ index: indicator.params.index, @@ -371,11 +356,7 @@ export class GetPreviewData { filterQuery, ]; - if (options.instanceId !== ALL_VALUE && options.groupBy) { - filter.push({ - term: { [options.groupBy]: options.instanceId }, - }); - } + this.getGroupingsFilter(options, filter); const result = await this.esClient.search({ index: indicator.params.index, @@ -422,11 +403,7 @@ export class GetPreviewData { filterQuery, ]; - if (options.instanceId !== ALL_VALUE && options.groupBy) { - filter.push({ - term: { [options.groupBy]: options.instanceId }, - }); - } + this.getGroupingsFilter(options, filter); const result = await this.esClient.search({ index: indicator.params.index, @@ -469,6 +446,21 @@ export class GetPreviewData { })); } + private getGroupingsFilter(options: Options, filter: estypes.QueryDslQueryContainer[]) { + const groupingsKeys = Object.keys(options.groupings || []); + if (groupingsKeys.length) { + groupingsKeys.forEach((key) => { + filter.push({ + term: { [key]: options.groupings?.[key] }, + }); + }); + } else if (options.instanceId !== ALL_VALUE && options.groupBy) { + filter.push({ + term: { [options.groupBy]: options.instanceId }, + }); + } + } + public async execute(params: GetPreviewDataParams): Promise { try { // If the time range is 24h or less, then we want to use a 1m bucket for the @@ -490,6 +482,7 @@ export class GetPreviewData { instanceId: params.instanceId, range: params.range, groupBy: params.groupBy, + groupings: params.groupings, interval: `${bucketSize}m`, }; diff --git a/x-pack/plugins/observability/server/services/slo/get_slo.test.ts b/x-pack/plugins/observability_solution/observability/server/services/slo/get_slo.test.ts similarity index 90% rename from x-pack/plugins/observability/server/services/slo/get_slo.test.ts rename to x-pack/plugins/observability_solution/observability/server/services/slo/get_slo.test.ts index 18fe85cdfb0b1..984816dd57962 100644 --- a/x-pack/plugins/observability/server/services/slo/get_slo.test.ts +++ b/x-pack/plugins/observability_solution/observability/server/services/slo/get_slo.test.ts @@ -29,13 +29,16 @@ describe('GetSLO', () => { const slo = createSLO({ indicator: createAPMTransactionErrorRateIndicator() }); mockRepository.findById.mockResolvedValueOnce(slo); mockSummaryClient.computeSummary.mockResolvedValueOnce({ - status: 'HEALTHY', - sliValue: 0.9999, - errorBudget: { - initial: 0.001, - consumed: 0.1, - remaining: 0.9, - isEstimated: false, + groupings: {}, + summary: { + status: 'HEALTHY', + sliValue: 0.9999, + errorBudget: { + initial: 0.001, + consumed: 0.1, + remaining: 0.9, + isEstimated: false, + }, }, }); @@ -84,6 +87,7 @@ describe('GetSLO', () => { enabled: slo.enabled, revision: slo.revision, groupBy: slo.groupBy, + groupings: {}, instanceId: ALL_VALUE, version: SLO_MODEL_VERSION, }); diff --git a/x-pack/plugins/observability/server/services/slo/get_slo.ts b/x-pack/plugins/observability_solution/observability/server/services/slo/get_slo.ts similarity index 76% rename from x-pack/plugins/observability/server/services/slo/get_slo.ts rename to x-pack/plugins/observability_solution/observability/server/services/slo/get_slo.ts index cc5df5f8b5966..ec0a1b6711e79 100644 --- a/x-pack/plugins/observability/server/services/slo/get_slo.ts +++ b/x-pack/plugins/observability_solution/observability/server/services/slo/get_slo.ts @@ -4,9 +4,8 @@ * 2.0; you may not use this file except in compliance with the Elastic License * 2.0. */ - import { ALL_VALUE, GetSLOParams, GetSLOResponse, getSLOResponseSchema } from '@kbn/slo-schema'; -import { SLO, Summary } from '../../domain/models'; +import { Groupings, SLO, Summary } from '../../domain/models'; import { SLORepository } from './slo_repository'; import { SummaryClient } from './summary_client'; @@ -15,13 +14,14 @@ export class GetSLO { public async execute(sloId: string, params: GetSLOParams = {}): Promise { const slo = await this.repository.findById(sloId); + const instanceId = params.instanceId ?? ALL_VALUE; - const summary = await this.summaryClient.computeSummary(slo, instanceId); + const { summary, groupings } = await this.summaryClient.computeSummary(slo, instanceId); - return getSLOResponseSchema.encode(mergeSloWithSummary(slo, summary, instanceId)); + return getSLOResponseSchema.encode(mergeSloWithSummary(slo, summary, instanceId, groupings)); } } -function mergeSloWithSummary(slo: SLO, summary: Summary, instanceId: string) { - return { ...slo, instanceId, summary }; +function mergeSloWithSummary(slo: SLO, summary: Summary, instanceId: string, groupings: Groupings) { + return { ...slo, instanceId, summary, groupings }; } diff --git a/x-pack/plugins/observability/server/services/slo/get_slo_instances.test.ts b/x-pack/plugins/observability_solution/observability/server/services/slo/get_slo_instances.test.ts similarity index 100% rename from x-pack/plugins/observability/server/services/slo/get_slo_instances.test.ts rename to x-pack/plugins/observability_solution/observability/server/services/slo/get_slo_instances.test.ts diff --git a/x-pack/plugins/observability/server/services/slo/get_slo_instances.ts b/x-pack/plugins/observability_solution/observability/server/services/slo/get_slo_instances.ts similarity index 96% rename from x-pack/plugins/observability/server/services/slo/get_slo_instances.ts rename to x-pack/plugins/observability_solution/observability/server/services/slo/get_slo_instances.ts index 405f355777c23..1571a41a61f61 100644 --- a/x-pack/plugins/observability/server/services/slo/get_slo_instances.ts +++ b/x-pack/plugins/observability_solution/observability/server/services/slo/get_slo_instances.ts @@ -16,7 +16,7 @@ export class GetSLOInstances { public async execute(sloId: string): Promise { const slo = await this.repository.findById(sloId); - if (slo.groupBy === ALL_VALUE) { + if ([slo.groupBy].flat().includes(ALL_VALUE)) { return { groupBy: ALL_VALUE, instances: [] }; } diff --git a/x-pack/plugins/observability/server/services/slo/historical_summary_client.test.ts b/x-pack/plugins/observability_solution/observability/server/services/slo/historical_summary_client.test.ts similarity index 100% rename from x-pack/plugins/observability/server/services/slo/historical_summary_client.test.ts rename to x-pack/plugins/observability_solution/observability/server/services/slo/historical_summary_client.test.ts diff --git a/x-pack/plugins/observability/server/services/slo/historical_summary_client.ts b/x-pack/plugins/observability_solution/observability/server/services/slo/historical_summary_client.ts similarity index 99% rename from x-pack/plugins/observability/server/services/slo/historical_summary_client.ts rename to x-pack/plugins/observability_solution/observability/server/services/slo/historical_summary_client.ts index e1f979da5fa83..32b852b2124bd 100644 --- a/x-pack/plugins/observability/server/services/slo/historical_summary_client.ts +++ b/x-pack/plugins/observability_solution/observability/server/services/slo/historical_summary_client.ts @@ -215,7 +215,7 @@ function generateSearchQuery( getFixedIntervalAndBucketsPerDay(timeWindowDurationInDays); const extraFilterByInstanceId = - !!slo.groupBy && slo.groupBy !== ALL_VALUE && instanceId !== ALL_VALUE + !!slo.groupBy && ![slo.groupBy].flat().includes(ALL_VALUE) && instanceId !== ALL_VALUE ? [{ term: { 'slo.instanceId': instanceId } }] : []; diff --git a/x-pack/plugins/observability/server/services/slo/index.ts b/x-pack/plugins/observability_solution/observability/server/services/slo/index.ts similarity index 100% rename from x-pack/plugins/observability/server/services/slo/index.ts rename to x-pack/plugins/observability_solution/observability/server/services/slo/index.ts diff --git a/x-pack/plugins/observability/server/services/slo/manage_slo.test.ts b/x-pack/plugins/observability_solution/observability/server/services/slo/manage_slo.test.ts similarity index 100% rename from x-pack/plugins/observability/server/services/slo/manage_slo.test.ts rename to x-pack/plugins/observability_solution/observability/server/services/slo/manage_slo.test.ts diff --git a/x-pack/plugins/observability/server/services/slo/manage_slo.ts b/x-pack/plugins/observability_solution/observability/server/services/slo/manage_slo.ts similarity index 100% rename from x-pack/plugins/observability/server/services/slo/manage_slo.ts rename to x-pack/plugins/observability_solution/observability/server/services/slo/manage_slo.ts diff --git a/x-pack/plugins/observability/server/services/slo/mocks/index.ts b/x-pack/plugins/observability_solution/observability/server/services/slo/mocks/index.ts similarity index 100% rename from x-pack/plugins/observability/server/services/slo/mocks/index.ts rename to x-pack/plugins/observability_solution/observability/server/services/slo/mocks/index.ts diff --git a/x-pack/plugins/observability/server/services/slo/reset_slo.test.ts b/x-pack/plugins/observability_solution/observability/server/services/slo/reset_slo.test.ts similarity index 100% rename from x-pack/plugins/observability/server/services/slo/reset_slo.test.ts rename to x-pack/plugins/observability_solution/observability/server/services/slo/reset_slo.test.ts diff --git a/x-pack/plugins/observability/server/services/slo/reset_slo.ts b/x-pack/plugins/observability_solution/observability/server/services/slo/reset_slo.ts similarity index 100% rename from x-pack/plugins/observability/server/services/slo/reset_slo.ts rename to x-pack/plugins/observability_solution/observability/server/services/slo/reset_slo.ts diff --git a/x-pack/plugins/observability/server/services/slo/resource_installer.test.ts b/x-pack/plugins/observability_solution/observability/server/services/slo/resource_installer.test.ts similarity index 100% rename from x-pack/plugins/observability/server/services/slo/resource_installer.test.ts rename to x-pack/plugins/observability_solution/observability/server/services/slo/resource_installer.test.ts diff --git a/x-pack/plugins/observability/server/services/slo/resource_installer.ts b/x-pack/plugins/observability_solution/observability/server/services/slo/resource_installer.ts similarity index 100% rename from x-pack/plugins/observability/server/services/slo/resource_installer.ts rename to x-pack/plugins/observability_solution/observability/server/services/slo/resource_installer.ts diff --git a/x-pack/plugins/observability/server/services/slo/sli_client.test.ts b/x-pack/plugins/observability_solution/observability/server/services/slo/sli_client.test.ts similarity index 100% rename from x-pack/plugins/observability/server/services/slo/sli_client.test.ts rename to x-pack/plugins/observability_solution/observability/server/services/slo/sli_client.test.ts diff --git a/x-pack/plugins/observability/server/services/slo/sli_client.ts b/x-pack/plugins/observability_solution/observability/server/services/slo/sli_client.ts similarity index 100% rename from x-pack/plugins/observability/server/services/slo/sli_client.ts rename to x-pack/plugins/observability_solution/observability/server/services/slo/sli_client.ts diff --git a/x-pack/plugins/observability/server/services/slo/slo_installer.test.ts b/x-pack/plugins/observability_solution/observability/server/services/slo/slo_installer.test.ts similarity index 100% rename from x-pack/plugins/observability/server/services/slo/slo_installer.test.ts rename to x-pack/plugins/observability_solution/observability/server/services/slo/slo_installer.test.ts diff --git a/x-pack/plugins/observability/server/services/slo/slo_installer.ts b/x-pack/plugins/observability_solution/observability/server/services/slo/slo_installer.ts similarity index 100% rename from x-pack/plugins/observability/server/services/slo/slo_installer.ts rename to x-pack/plugins/observability_solution/observability/server/services/slo/slo_installer.ts diff --git a/x-pack/plugins/observability/server/services/slo/slo_repository.test.ts b/x-pack/plugins/observability_solution/observability/server/services/slo/slo_repository.test.ts similarity index 100% rename from x-pack/plugins/observability/server/services/slo/slo_repository.test.ts rename to x-pack/plugins/observability_solution/observability/server/services/slo/slo_repository.test.ts diff --git a/x-pack/plugins/observability/server/services/slo/slo_repository.ts b/x-pack/plugins/observability_solution/observability/server/services/slo/slo_repository.ts similarity index 100% rename from x-pack/plugins/observability/server/services/slo/slo_repository.ts rename to x-pack/plugins/observability_solution/observability/server/services/slo/slo_repository.ts diff --git a/x-pack/plugins/observability/server/services/slo/summary_client.test.ts b/x-pack/plugins/observability_solution/observability/server/services/slo/summary_client.test.ts similarity index 100% rename from x-pack/plugins/observability/server/services/slo/summary_client.test.ts rename to x-pack/plugins/observability_solution/observability/server/services/slo/summary_client.test.ts diff --git a/x-pack/plugins/observability/server/services/slo/summary_client.ts b/x-pack/plugins/observability_solution/observability/server/services/slo/summary_client.ts similarity index 64% rename from x-pack/plugins/observability/server/services/slo/summary_client.ts rename to x-pack/plugins/observability_solution/observability/server/services/slo/summary_client.ts index d5ec52b226e9d..1f9656bf70d96 100644 --- a/x-pack/plugins/observability/server/services/slo/summary_client.ts +++ b/x-pack/plugins/observability_solution/observability/server/services/slo/summary_client.ts @@ -16,23 +16,50 @@ import { } from '@kbn/slo-schema'; import moment from 'moment'; import { SLO_DESTINATION_INDEX_PATTERN } from '../../../common/slo/constants'; -import { DateRange, SLO, Summary } from '../../domain/models'; +import { DateRange, SLO, Summary, Groupings } from '../../domain/models'; import { computeSLI, computeSummaryStatus, toErrorBudget } from '../../domain/services'; import { toDateRange } from '../../domain/services/date_range'; +import { getFlattenedGroupings } from './utils'; export interface SummaryClient { - computeSummary(slo: SLO, instanceId?: string): Promise; + computeSummary( + slo: SLO, + groupings?: string, + instanceId?: string + ): Promise<{ summary: Summary; groupings: Groupings }>; } export class DefaultSummaryClient implements SummaryClient { constructor(private esClient: ElasticsearchClient) {} - async computeSummary(slo: SLO, instanceId: string = ALL_VALUE): Promise { + async computeSummary( + slo: SLO, + instanceId: string = ALL_VALUE + ): Promise<{ summary: Summary; groupings: Groupings }> { const dateRange = toDateRange(slo.timeWindow); - const isDefinedWithGroupBy = slo.groupBy !== ALL_VALUE; + const isDefinedWithGroupBy = ![slo.groupBy].flat().includes(ALL_VALUE); const hasInstanceId = instanceId !== ALL_VALUE; - const extraInstanceIdFilter = - isDefinedWithGroupBy && hasInstanceId ? [{ term: { 'slo.instanceId': instanceId } }] : []; + const includeInstanceIdQueries = isDefinedWithGroupBy && hasInstanceId; + const extraInstanceIdFilter = includeInstanceIdQueries + ? [{ term: { 'slo.instanceId': instanceId } }] + : []; + const extraGroupingsAgg = { + last_doc: { + top_hits: { + sort: [ + { + '@timestamp': { + order: 'desc', + }, + }, + ], + _source: { + includes: ['slo.groupings'], + }, + size: 1, + }, + }, + }; const result = await this.esClient.search({ index: SLO_DESTINATION_INDEX_PATTERN, @@ -51,28 +78,30 @@ export class DefaultSummaryClient implements SummaryClient { ], }, }, - ...(occurrencesBudgetingMethodSchema.is(slo.budgetingMethod) && { - aggs: { - good: { sum: { field: 'slo.numerator' } }, - total: { sum: { field: 'slo.denominator' } }, - }, - }), - ...(timeslicesBudgetingMethodSchema.is(slo.budgetingMethod) && { - aggs: { + // @ts-expect-error AggregationsAggregationContainer needs to be updated with top_hits + aggs: { + ...(includeInstanceIdQueries && extraGroupingsAgg), + ...(timeslicesBudgetingMethodSchema.is(slo.budgetingMethod) && { good: { sum: { field: 'slo.isGoodSlice' }, }, total: { value_count: { field: 'slo.isGoodSlice' }, }, - }, - }), + }), + ...(occurrencesBudgetingMethodSchema.is(slo.budgetingMethod) && { + good: { sum: { field: 'slo.numerator' } }, + total: { sum: { field: 'slo.denominator' } }, + }), + }, }); // @ts-ignore value is not type correctly const good = result.aggregations?.good?.value ?? 0; // @ts-ignore value is not type correctly const total = result.aggregations?.total?.value ?? 0; + // @ts-expect-error AggregationsAggregationContainer needs to be updated with top_hits + const groupings = result.aggregations?.last_doc?.hits?.hits?.[0]?._source?.slo?.groupings; const sliValue = computeSLI(good, total); const initialErrorBudget = 1 - slo.objective.target; @@ -100,9 +129,12 @@ export class DefaultSummaryClient implements SummaryClient { } return { - sliValue, - errorBudget, - status: computeSummaryStatus(slo, sliValue, errorBudget), + summary: { + sliValue, + errorBudget, + status: computeSummaryStatus(slo, sliValue, errorBudget), + }, + groupings: groupings ? getFlattenedGroupings({ groupBy: slo.groupBy, groupings }) : {}, }; } } diff --git a/x-pack/plugins/observability/server/services/slo/summary_search_client.test.ts b/x-pack/plugins/observability_solution/observability/server/services/slo/summary_search_client.test.ts similarity index 100% rename from x-pack/plugins/observability/server/services/slo/summary_search_client.test.ts rename to x-pack/plugins/observability_solution/observability/server/services/slo/summary_search_client.test.ts diff --git a/x-pack/plugins/observability/server/services/slo/summary_search_client.ts b/x-pack/plugins/observability_solution/observability/server/services/slo/summary_search_client.ts similarity index 92% rename from x-pack/plugins/observability/server/services/slo/summary_search_client.ts rename to x-pack/plugins/observability_solution/observability/server/services/slo/summary_search_client.ts index 55ccb2ad7df61..f8f17f2afe2f6 100644 --- a/x-pack/plugins/observability/server/services/slo/summary_search_client.ts +++ b/x-pack/plugins/observability_solution/observability/server/services/slo/summary_search_client.ts @@ -8,11 +8,12 @@ import { ElasticsearchClient, Logger } from '@kbn/core/server'; import { ALL_VALUE, Paginated, Pagination } from '@kbn/slo-schema'; import { assertNever } from '@kbn/std'; -import _ from 'lodash'; +import { partition } from 'lodash'; import { SearchTotalHits } from '@elastic/elasticsearch/lib/api/types'; import { SLO_SUMMARY_DESTINATION_INDEX_PATTERN } from '../../../common/slo/constants'; -import { SLOId, Status, Summary } from '../../domain/models'; +import { SLOId, Status, Summary, Groupings } from '../../domain/models'; import { toHighPrecision } from '../../utils/number'; +import { getFlattenedGroupings } from './utils'; import { getElasticsearchQueryOrThrow } from './transform_generators'; interface EsSummaryDocument { @@ -20,6 +21,8 @@ interface EsSummaryDocument { id: string; revision: number; instanceId: string; + groupings: Groupings; + groupBy: string[]; }; sliValue: number; errorBudgetConsumed: number; @@ -35,6 +38,7 @@ export interface SLOSummary { id: SLOId; instanceId: string; summary: Summary; + groupings: Groupings; } export type SortField = 'error_budget_consumed' | 'error_budget_remaining' | 'sli_value' | 'status'; @@ -105,7 +109,7 @@ export class DefaultSummarySearchClient implements SummarySearchClient { return { total: 0, perPage: pagination.perPage, page: pagination.page, results: [] }; } - const [tempSummaryDocuments, summaryDocuments] = _.partition( + const [tempSummaryDocuments, summaryDocuments] = partition( summarySearch.hits.hits, (doc) => !!doc._source?.isTempDoc ); @@ -149,6 +153,10 @@ export class DefaultSummarySearchClient implements SummarySearchClient { sliValue: toHighPrecision(doc._source!.sliValue), status: doc._source!.status, }, + groupings: getFlattenedGroupings({ + groupings: doc._source!.slo.groupings, + groupBy: doc._source!.slo.groupBy, + }), })), }; } catch (err) { diff --git a/x-pack/plugins/observability/server/services/slo/summary_transform_generator/generators/common.ts b/x-pack/plugins/observability_solution/observability/server/services/slo/summary_transform_generator/generators/common.ts similarity index 90% rename from x-pack/plugins/observability/server/services/slo/summary_transform_generator/generators/common.ts rename to x-pack/plugins/observability_solution/observability/server/services/slo/summary_transform_generator/generators/common.ts index 743ba333c8f98..f21909dec6c07 100644 --- a/x-pack/plugins/observability/server/services/slo/summary_transform_generator/generators/common.ts +++ b/x-pack/plugins/observability_solution/observability/server/services/slo/summary_transform_generator/generators/common.ts @@ -9,9 +9,11 @@ import { ALL_VALUE } from '@kbn/slo-schema'; import { SLO } from '../../../../domain/models/slo'; export const getGroupBy = (slo: SLO) => { + const groups = [slo.groupBy].flat().filter((group) => !!group); + const groupings = - slo.groupBy !== '' && slo.groupBy !== ALL_VALUE - ? [slo.groupBy].flat().reduce((acc, field) => { + !groups.includes(ALL_VALUE) && groups.length + ? groups.reduce((acc, field) => { return { ...acc, [`slo.groupings.${field}`]: { diff --git a/x-pack/plugins/observability/server/services/slo/summary_transform_generator/generators/occurrences.ts b/x-pack/plugins/observability_solution/observability/server/services/slo/summary_transform_generator/generators/occurrences.ts similarity index 100% rename from x-pack/plugins/observability/server/services/slo/summary_transform_generator/generators/occurrences.ts rename to x-pack/plugins/observability_solution/observability/server/services/slo/summary_transform_generator/generators/occurrences.ts diff --git a/x-pack/plugins/observability/server/services/slo/summary_transform_generator/generators/timeslices_calendar_aligned.ts b/x-pack/plugins/observability_solution/observability/server/services/slo/summary_transform_generator/generators/timeslices_calendar_aligned.ts similarity index 100% rename from x-pack/plugins/observability/server/services/slo/summary_transform_generator/generators/timeslices_calendar_aligned.ts rename to x-pack/plugins/observability_solution/observability/server/services/slo/summary_transform_generator/generators/timeslices_calendar_aligned.ts diff --git a/x-pack/plugins/observability/server/services/slo/summary_transform_generator/generators/timeslices_rolling.ts b/x-pack/plugins/observability_solution/observability/server/services/slo/summary_transform_generator/generators/timeslices_rolling.ts similarity index 100% rename from x-pack/plugins/observability/server/services/slo/summary_transform_generator/generators/timeslices_rolling.ts rename to x-pack/plugins/observability_solution/observability/server/services/slo/summary_transform_generator/generators/timeslices_rolling.ts diff --git a/x-pack/plugins/observability/server/services/slo/summary_transform_generator/helpers/create_temp_summary.ts b/x-pack/plugins/observability_solution/observability/server/services/slo/summary_transform_generator/helpers/create_temp_summary.ts similarity index 100% rename from x-pack/plugins/observability/server/services/slo/summary_transform_generator/helpers/create_temp_summary.ts rename to x-pack/plugins/observability_solution/observability/server/services/slo/summary_transform_generator/helpers/create_temp_summary.ts diff --git a/x-pack/plugins/observability/server/services/slo/summary_transform_generator/summary_transform_generator.ts b/x-pack/plugins/observability_solution/observability/server/services/slo/summary_transform_generator/summary_transform_generator.ts similarity index 100% rename from x-pack/plugins/observability/server/services/slo/summary_transform_generator/summary_transform_generator.ts rename to x-pack/plugins/observability_solution/observability/server/services/slo/summary_transform_generator/summary_transform_generator.ts diff --git a/x-pack/plugins/observability/server/services/slo/summay_transform_manager.ts b/x-pack/plugins/observability_solution/observability/server/services/slo/summay_transform_manager.ts similarity index 100% rename from x-pack/plugins/observability/server/services/slo/summay_transform_manager.ts rename to x-pack/plugins/observability_solution/observability/server/services/slo/summay_transform_manager.ts diff --git a/x-pack/plugins/observability/server/services/slo/tasks/orphan_summary_cleanup_task.test.ts b/x-pack/plugins/observability_solution/observability/server/services/slo/tasks/orphan_summary_cleanup_task.test.ts similarity index 100% rename from x-pack/plugins/observability/server/services/slo/tasks/orphan_summary_cleanup_task.test.ts rename to x-pack/plugins/observability_solution/observability/server/services/slo/tasks/orphan_summary_cleanup_task.test.ts diff --git a/x-pack/plugins/observability/server/services/slo/tasks/orphan_summary_cleanup_task.ts b/x-pack/plugins/observability_solution/observability/server/services/slo/tasks/orphan_summary_cleanup_task.ts similarity index 100% rename from x-pack/plugins/observability/server/services/slo/tasks/orphan_summary_cleanup_task.ts rename to x-pack/plugins/observability_solution/observability/server/services/slo/tasks/orphan_summary_cleanup_task.ts diff --git a/x-pack/plugins/observability/server/services/slo/transform_generators/__snapshots__/apm_transaction_duration.test.ts.snap b/x-pack/plugins/observability_solution/observability/server/services/slo/transform_generators/__snapshots__/apm_transaction_duration.test.ts.snap similarity index 100% rename from x-pack/plugins/observability/server/services/slo/transform_generators/__snapshots__/apm_transaction_duration.test.ts.snap rename to x-pack/plugins/observability_solution/observability/server/services/slo/transform_generators/__snapshots__/apm_transaction_duration.test.ts.snap diff --git a/x-pack/plugins/observability/server/services/slo/transform_generators/__snapshots__/apm_transaction_error_rate.test.ts.snap b/x-pack/plugins/observability_solution/observability/server/services/slo/transform_generators/__snapshots__/apm_transaction_error_rate.test.ts.snap similarity index 100% rename from x-pack/plugins/observability/server/services/slo/transform_generators/__snapshots__/apm_transaction_error_rate.test.ts.snap rename to x-pack/plugins/observability_solution/observability/server/services/slo/transform_generators/__snapshots__/apm_transaction_error_rate.test.ts.snap diff --git a/x-pack/plugins/observability/server/services/slo/transform_generators/__snapshots__/histogram.test.ts.snap b/x-pack/plugins/observability_solution/observability/server/services/slo/transform_generators/__snapshots__/histogram.test.ts.snap similarity index 100% rename from x-pack/plugins/observability/server/services/slo/transform_generators/__snapshots__/histogram.test.ts.snap rename to x-pack/plugins/observability_solution/observability/server/services/slo/transform_generators/__snapshots__/histogram.test.ts.snap diff --git a/x-pack/plugins/observability/server/services/slo/transform_generators/__snapshots__/kql_custom.test.ts.snap b/x-pack/plugins/observability_solution/observability/server/services/slo/transform_generators/__snapshots__/kql_custom.test.ts.snap similarity index 100% rename from x-pack/plugins/observability/server/services/slo/transform_generators/__snapshots__/kql_custom.test.ts.snap rename to x-pack/plugins/observability_solution/observability/server/services/slo/transform_generators/__snapshots__/kql_custom.test.ts.snap diff --git a/x-pack/plugins/observability/server/services/slo/transform_generators/__snapshots__/metric_custom.test.ts.snap b/x-pack/plugins/observability_solution/observability/server/services/slo/transform_generators/__snapshots__/metric_custom.test.ts.snap similarity index 100% rename from x-pack/plugins/observability/server/services/slo/transform_generators/__snapshots__/metric_custom.test.ts.snap rename to x-pack/plugins/observability_solution/observability/server/services/slo/transform_generators/__snapshots__/metric_custom.test.ts.snap diff --git a/x-pack/plugins/observability/server/services/slo/transform_generators/__snapshots__/timeslice_metric.test.ts.snap b/x-pack/plugins/observability_solution/observability/server/services/slo/transform_generators/__snapshots__/timeslice_metric.test.ts.snap similarity index 100% rename from x-pack/plugins/observability/server/services/slo/transform_generators/__snapshots__/timeslice_metric.test.ts.snap rename to x-pack/plugins/observability_solution/observability/server/services/slo/transform_generators/__snapshots__/timeslice_metric.test.ts.snap diff --git a/x-pack/plugins/observability/server/services/slo/transform_generators/apm_transaction_duration.test.ts b/x-pack/plugins/observability_solution/observability/server/services/slo/transform_generators/apm_transaction_duration.test.ts similarity index 100% rename from x-pack/plugins/observability/server/services/slo/transform_generators/apm_transaction_duration.test.ts rename to x-pack/plugins/observability_solution/observability/server/services/slo/transform_generators/apm_transaction_duration.test.ts diff --git a/x-pack/plugins/observability/server/services/slo/transform_generators/apm_transaction_duration.ts b/x-pack/plugins/observability_solution/observability/server/services/slo/transform_generators/apm_transaction_duration.ts similarity index 100% rename from x-pack/plugins/observability/server/services/slo/transform_generators/apm_transaction_duration.ts rename to x-pack/plugins/observability_solution/observability/server/services/slo/transform_generators/apm_transaction_duration.ts diff --git a/x-pack/plugins/observability/server/services/slo/transform_generators/apm_transaction_error_rate.test.ts b/x-pack/plugins/observability_solution/observability/server/services/slo/transform_generators/apm_transaction_error_rate.test.ts similarity index 100% rename from x-pack/plugins/observability/server/services/slo/transform_generators/apm_transaction_error_rate.test.ts rename to x-pack/plugins/observability_solution/observability/server/services/slo/transform_generators/apm_transaction_error_rate.test.ts diff --git a/x-pack/plugins/observability/server/services/slo/transform_generators/apm_transaction_error_rate.ts b/x-pack/plugins/observability_solution/observability/server/services/slo/transform_generators/apm_transaction_error_rate.ts similarity index 100% rename from x-pack/plugins/observability/server/services/slo/transform_generators/apm_transaction_error_rate.ts rename to x-pack/plugins/observability_solution/observability/server/services/slo/transform_generators/apm_transaction_error_rate.ts diff --git a/x-pack/plugins/observability/server/services/slo/transform_generators/common.test.ts b/x-pack/plugins/observability_solution/observability/server/services/slo/transform_generators/common.test.ts similarity index 100% rename from x-pack/plugins/observability/server/services/slo/transform_generators/common.test.ts rename to x-pack/plugins/observability_solution/observability/server/services/slo/transform_generators/common.test.ts diff --git a/x-pack/plugins/observability/server/services/slo/transform_generators/common.ts b/x-pack/plugins/observability_solution/observability/server/services/slo/transform_generators/common.ts similarity index 100% rename from x-pack/plugins/observability/server/services/slo/transform_generators/common.ts rename to x-pack/plugins/observability_solution/observability/server/services/slo/transform_generators/common.ts diff --git a/x-pack/plugins/observability/server/services/slo/transform_generators/histogram.test.ts b/x-pack/plugins/observability_solution/observability/server/services/slo/transform_generators/histogram.test.ts similarity index 100% rename from x-pack/plugins/observability/server/services/slo/transform_generators/histogram.test.ts rename to x-pack/plugins/observability_solution/observability/server/services/slo/transform_generators/histogram.test.ts diff --git a/x-pack/plugins/observability/server/services/slo/transform_generators/histogram.ts b/x-pack/plugins/observability_solution/observability/server/services/slo/transform_generators/histogram.ts similarity index 100% rename from x-pack/plugins/observability/server/services/slo/transform_generators/histogram.ts rename to x-pack/plugins/observability_solution/observability/server/services/slo/transform_generators/histogram.ts diff --git a/x-pack/plugins/observability/server/services/slo/transform_generators/index.ts b/x-pack/plugins/observability_solution/observability/server/services/slo/transform_generators/index.ts similarity index 100% rename from x-pack/plugins/observability/server/services/slo/transform_generators/index.ts rename to x-pack/plugins/observability_solution/observability/server/services/slo/transform_generators/index.ts diff --git a/x-pack/plugins/observability/server/services/slo/transform_generators/kql_custom.test.ts b/x-pack/plugins/observability_solution/observability/server/services/slo/transform_generators/kql_custom.test.ts similarity index 100% rename from x-pack/plugins/observability/server/services/slo/transform_generators/kql_custom.test.ts rename to x-pack/plugins/observability_solution/observability/server/services/slo/transform_generators/kql_custom.test.ts diff --git a/x-pack/plugins/observability/server/services/slo/transform_generators/kql_custom.ts b/x-pack/plugins/observability_solution/observability/server/services/slo/transform_generators/kql_custom.ts similarity index 100% rename from x-pack/plugins/observability/server/services/slo/transform_generators/kql_custom.ts rename to x-pack/plugins/observability_solution/observability/server/services/slo/transform_generators/kql_custom.ts diff --git a/x-pack/plugins/observability/server/services/slo/transform_generators/metric_custom.test.ts b/x-pack/plugins/observability_solution/observability/server/services/slo/transform_generators/metric_custom.test.ts similarity index 100% rename from x-pack/plugins/observability/server/services/slo/transform_generators/metric_custom.test.ts rename to x-pack/plugins/observability_solution/observability/server/services/slo/transform_generators/metric_custom.test.ts diff --git a/x-pack/plugins/observability/server/services/slo/transform_generators/metric_custom.ts b/x-pack/plugins/observability_solution/observability/server/services/slo/transform_generators/metric_custom.ts similarity index 100% rename from x-pack/plugins/observability/server/services/slo/transform_generators/metric_custom.ts rename to x-pack/plugins/observability_solution/observability/server/services/slo/transform_generators/metric_custom.ts diff --git a/x-pack/plugins/observability/server/services/slo/transform_generators/timeslice_metric.test.ts b/x-pack/plugins/observability_solution/observability/server/services/slo/transform_generators/timeslice_metric.test.ts similarity index 100% rename from x-pack/plugins/observability/server/services/slo/transform_generators/timeslice_metric.test.ts rename to x-pack/plugins/observability_solution/observability/server/services/slo/transform_generators/timeslice_metric.test.ts diff --git a/x-pack/plugins/observability/server/services/slo/transform_generators/timeslice_metric.ts b/x-pack/plugins/observability_solution/observability/server/services/slo/transform_generators/timeslice_metric.ts similarity index 100% rename from x-pack/plugins/observability/server/services/slo/transform_generators/timeslice_metric.ts rename to x-pack/plugins/observability_solution/observability/server/services/slo/transform_generators/timeslice_metric.ts diff --git a/x-pack/plugins/observability_solution/observability/server/services/slo/transform_generators/transform_generator.test.ts b/x-pack/plugins/observability_solution/observability/server/services/slo/transform_generators/transform_generator.test.ts new file mode 100644 index 0000000000000..4b1030e88affa --- /dev/null +++ b/x-pack/plugins/observability_solution/observability/server/services/slo/transform_generators/transform_generator.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 { createAPMTransactionErrorRateIndicator, createSLO } from '../fixtures/slo'; +import { ApmTransactionErrorRateTransformGenerator } from './apm_transaction_error_rate'; + +const generator = new ApmTransactionErrorRateTransformGenerator(); + +describe('Transform Generator', () => { + it('builds common runtime mappings without group by', async () => { + const slo = createSLO({ + id: 'irrelevant', + indicator: createAPMTransactionErrorRateIndicator(), + }); + const transform = generator.buildCommonRuntimeMappings(slo); + + expect(transform).toEqual({ + 'slo.id': { + script: { + source: "emit('irrelevant')", + }, + type: 'keyword', + }, + 'slo.instanceId': { + script: { + source: "emit('*')", + }, + type: 'keyword', + }, + 'slo.revision': { + script: { + source: 'emit(1)', + }, + type: 'long', + }, + }); + + const commonGroupBy = generator.buildCommonGroupBy(slo); + + expect(commonGroupBy).toEqual({ + '@timestamp': { + date_histogram: { + field: '@timestamp', + fixed_interval: '1m', + }, + }, + 'slo.id': { + terms: { + field: 'slo.id', + }, + }, + 'slo.instanceId': { + terms: { + field: 'slo.instanceId', + }, + }, + 'slo.revision': { + terms: { + field: 'slo.revision', + }, + }, + }); + }); + + it.each(['example', ['example']])( + 'builds common runtime mappings and group by with single group by', + async (groupBy) => { + const indicator = createAPMTransactionErrorRateIndicator(); + const slo = createSLO({ + id: 'irrelevant', + groupBy, + indicator, + }); + const commonRuntime = generator.buildCommonRuntimeMappings(slo); + + expect(commonRuntime).toEqual({ + 'slo.id': { + script: { + source: "emit('irrelevant')", + }, + type: 'keyword', + }, + 'slo.instanceId': { + script: { + source: "emit('example:'+doc['example'].value)", + }, + type: 'keyword', + }, + 'slo.revision': { + script: { + source: 'emit(1)', + }, + type: 'long', + }, + }); + + const commonGroupBy = generator.buildCommonGroupBy(slo); + + expect(commonGroupBy).toEqual({ + '@timestamp': { + date_histogram: { + field: '@timestamp', + fixed_interval: '1m', + }, + }, + 'slo.groupings.example': { + terms: { + field: 'example', + }, + }, + 'slo.id': { + terms: { + field: 'slo.id', + }, + }, + 'slo.instanceId': { + terms: { + field: 'slo.instanceId', + }, + }, + 'slo.revision': { + terms: { + field: 'slo.revision', + }, + }, + }); + } + ); + + it('builds common runtime mappings without multi group by', async () => { + const indicator = createAPMTransactionErrorRateIndicator(); + const slo = createSLO({ + id: 'irrelevant', + groupBy: ['example1', 'example2'], + indicator, + }); + const commonRuntime = generator.buildCommonRuntimeMappings(slo); + + expect(commonRuntime).toEqual({ + 'slo.id': { + script: { + source: "emit('irrelevant')", + }, + type: 'keyword', + }, + 'slo.instanceId': { + script: { + source: "emit('example1:'+doc['example1'].value+'|'+'example2:'+doc['example2'].value)", + }, + type: 'keyword', + }, + 'slo.revision': { + script: { + source: 'emit(1)', + }, + type: 'long', + }, + }); + + const commonGroupBy = generator.buildCommonGroupBy(slo); + + expect(commonGroupBy).toEqual({ + '@timestamp': { + date_histogram: { + field: '@timestamp', + fixed_interval: '1m', + }, + }, + 'slo.groupings.example1': { + terms: { + field: 'example1', + }, + }, + 'slo.groupings.example2': { + terms: { + field: 'example2', + }, + }, + 'slo.id': { + terms: { + field: 'slo.id', + }, + }, + 'slo.instanceId': { + terms: { + field: 'slo.instanceId', + }, + }, + 'slo.revision': { + terms: { + field: 'slo.revision', + }, + }, + }); + }); +}); diff --git a/x-pack/plugins/observability/server/services/slo/transform_generators/transform_generator.ts b/x-pack/plugins/observability_solution/observability/server/services/slo/transform_generators/transform_generator.ts similarity index 71% rename from x-pack/plugins/observability/server/services/slo/transform_generators/transform_generator.ts rename to x-pack/plugins/observability_solution/observability/server/services/slo/transform_generators/transform_generator.ts index 7085f69b76422..24cd171a74d85 100644 --- a/x-pack/plugins/observability/server/services/slo/transform_generators/transform_generator.ts +++ b/x-pack/plugins/observability_solution/observability/server/services/slo/transform_generators/transform_generator.ts @@ -17,8 +17,8 @@ export abstract class TransformGenerator { public abstract getTransformParams(slo: SLO): TransformPutTransformRequest; public buildCommonRuntimeMappings(slo: SLO): MappingRuntimeFields { - const mustIncludeAllInstanceId = slo.groupBy === ALL_VALUE || slo.groupBy === ''; - + const groupings = [slo.groupBy].flat().filter((value) => !!value); + const hasGroupings = !groupings.includes(ALL_VALUE) && groupings.length; return { 'slo.id': { type: 'keyword', @@ -32,17 +32,32 @@ export abstract class TransformGenerator { source: `emit(${slo.revision})`, }, }, - ...(mustIncludeAllInstanceId && { - 'slo.instanceId': { - type: 'keyword', - script: { - source: `emit('${ALL_VALUE}')`, - }, - }, - }), + ...(hasGroupings + ? { + 'slo.instanceId': { + type: 'keyword', + script: { + source: this.buildInstanceId(slo), + }, + }, + } + : { + 'slo.instanceId': { + type: 'keyword', + script: { + source: `emit('${ALL_VALUE}')`, + }, + }, + }), }; } + public buildInstanceId(slo: SLO): string { + const groups = [slo.groupBy].flat().filter((value) => !!value); + const groupings = groups.map((group) => `'${group}:'+doc['${group}'].value`).join(`+'|'+`); + return `emit(${groupings})`; + } + public buildDescription(slo: SLO): string { return `Rolled-up SLI data for SLO: ${slo.name} [id: ${slo.id}, revision: ${slo.revision}]`; } @@ -57,9 +72,11 @@ export abstract class TransformGenerator { fixedInterval = slo.objective.timesliceWindow!.format(); } + const groups = [slo.groupBy].flat().filter((group) => !!group); + const groupings = - slo.groupBy !== '' && slo.groupBy !== ALL_VALUE - ? [slo.groupBy].flat().reduce( + !groups.includes(ALL_VALUE) && groups.length + ? groups.reduce( (acc, field) => { return { ...acc, @@ -70,7 +87,11 @@ export abstract class TransformGenerator { }, }; }, - { 'slo.instanceId': { terms: { field: slo.groupBy } } } + { + 'slo.instanceId': { + terms: { field: 'slo.instanceId' }, + }, + } ) : { 'slo.instanceId': { terms: { field: 'slo.instanceId' } } }; diff --git a/x-pack/plugins/observability/server/services/slo/transform_generators/types.ts b/x-pack/plugins/observability_solution/observability/server/services/slo/transform_generators/types.ts similarity index 100% rename from x-pack/plugins/observability/server/services/slo/transform_generators/types.ts rename to x-pack/plugins/observability_solution/observability/server/services/slo/transform_generators/types.ts diff --git a/x-pack/plugins/observability/server/services/slo/transform_manager.test.ts b/x-pack/plugins/observability_solution/observability/server/services/slo/transform_manager.test.ts similarity index 100% rename from x-pack/plugins/observability/server/services/slo/transform_manager.test.ts rename to x-pack/plugins/observability_solution/observability/server/services/slo/transform_manager.test.ts diff --git a/x-pack/plugins/observability/server/services/slo/transform_manager.ts b/x-pack/plugins/observability_solution/observability/server/services/slo/transform_manager.ts similarity index 100% rename from x-pack/plugins/observability/server/services/slo/transform_manager.ts rename to x-pack/plugins/observability_solution/observability/server/services/slo/transform_manager.ts diff --git a/x-pack/plugins/observability/server/services/slo/update_slo.test.ts b/x-pack/plugins/observability_solution/observability/server/services/slo/update_slo.test.ts similarity index 100% rename from x-pack/plugins/observability/server/services/slo/update_slo.test.ts rename to x-pack/plugins/observability_solution/observability/server/services/slo/update_slo.test.ts diff --git a/x-pack/plugins/observability/server/services/slo/update_slo.ts b/x-pack/plugins/observability_solution/observability/server/services/slo/update_slo.ts similarity index 100% rename from x-pack/plugins/observability/server/services/slo/update_slo.ts rename to x-pack/plugins/observability_solution/observability/server/services/slo/update_slo.ts diff --git a/x-pack/plugins/observability_solution/observability/server/services/slo/utils/index.test.ts b/x-pack/plugins/observability_solution/observability/server/services/slo/utils/index.test.ts new file mode 100644 index 0000000000000..a312ecf79f1be --- /dev/null +++ b/x-pack/plugins/observability_solution/observability/server/services/slo/utils/index.test.ts @@ -0,0 +1,52 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import { getFlattenedGroupings } from '.'; + +describe('utils', () => { + describe('getFlattenedGroupings', () => { + it.each(['a.nested.key', ['a.nested.key']])( + 'handles single group by with nested keys', + (groupBy) => { + const groupings = { + a: { + nested: { + key: 'value', + }, + }, + }; + expect(getFlattenedGroupings({ groupBy, groupings })).toEqual({ 'a.nested.key': 'value' }); + } + ); + + it.each(['not_nested', ['not_nested']])( + 'handles single group by with regular keys', + (groupBy) => { + const groupings = { + not_nested: 'value', + }; + expect(getFlattenedGroupings({ groupBy, groupings })).toEqual({ not_nested: 'value' }); + } + ); + + it('handles multi group by with nested and regular keys', () => { + const groupBy = ['a.nested.key', 'not_nested']; + const groupings = { + not_nested: 'value2', + a: { + nested: { + key: 'value', + }, + }, + }; + expect(getFlattenedGroupings({ groupBy, groupings })).toEqual({ + 'a.nested.key': 'value', + not_nested: 'value2', + }); + }); + }); +}); diff --git a/x-pack/plugins/observability_solution/observability/server/services/slo/utils/index.ts b/x-pack/plugins/observability_solution/observability/server/services/slo/utils/index.ts new file mode 100644 index 0000000000000..33ac4ed81964c --- /dev/null +++ b/x-pack/plugins/observability_solution/observability/server/services/slo/utils/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 { get } from 'lodash'; +import { Groupings } from '../../../domain/models'; + +/** + * Takes a list of groupBy fields and the nested groupings object provided from + * ES search results and returns a flatted object with the `groupBy` fields as keys + * @param groupBy an array of groupBy fields + * @param groupings a nested object of groupings + * @returns a flattened object of groupings + */ + +export const getFlattenedGroupings = ({ + groupBy, + groupings, +}: { + groupBy: string[] | string; + groupings: Record; +}): Groupings => { + const groupByFields = groupBy ? [groupBy].flat() : []; + const hasGroupings = Object.keys(groupings || []).length; + const formattedGroupings = hasGroupings + ? groupByFields.reduce((acc, group) => { + acc[group] = `${get(groupings, group)}`; + return acc; + }, {}) + : {}; + return formattedGroupings; +}; diff --git a/x-pack/plugins/observability/server/types.ts b/x-pack/plugins/observability_solution/observability/server/types.ts similarity index 100% rename from x-pack/plugins/observability/server/types.ts rename to x-pack/plugins/observability_solution/observability/server/types.ts diff --git a/x-pack/plugins/observability/server/ui_settings.ts b/x-pack/plugins/observability_solution/observability/server/ui_settings.ts similarity index 100% rename from x-pack/plugins/observability/server/ui_settings.ts rename to x-pack/plugins/observability_solution/observability/server/ui_settings.ts diff --git a/x-pack/plugins/observability/server/utils/create_or_update_index.ts b/x-pack/plugins/observability_solution/observability/server/utils/create_or_update_index.ts similarity index 100% rename from x-pack/plugins/observability/server/utils/create_or_update_index.ts rename to x-pack/plugins/observability_solution/observability/server/utils/create_or_update_index.ts diff --git a/x-pack/plugins/observability/server/utils/create_or_update_index_template.ts b/x-pack/plugins/observability_solution/observability/server/utils/create_or_update_index_template.ts similarity index 100% rename from x-pack/plugins/observability/server/utils/create_or_update_index_template.ts rename to x-pack/plugins/observability_solution/observability/server/utils/create_or_update_index_template.ts diff --git a/x-pack/plugins/observability/server/utils/get_parsed_filtered_query.ts b/x-pack/plugins/observability_solution/observability/server/utils/get_parsed_filtered_query.ts similarity index 100% rename from x-pack/plugins/observability/server/utils/get_parsed_filtered_query.ts rename to x-pack/plugins/observability_solution/observability/server/utils/get_parsed_filtered_query.ts diff --git a/x-pack/plugins/observability/server/utils/number.ts b/x-pack/plugins/observability_solution/observability/server/utils/number.ts similarity index 100% rename from x-pack/plugins/observability/server/utils/number.ts rename to x-pack/plugins/observability_solution/observability/server/utils/number.ts diff --git a/x-pack/plugins/observability/server/utils/queries.test.ts b/x-pack/plugins/observability_solution/observability/server/utils/queries.test.ts similarity index 100% rename from x-pack/plugins/observability/server/utils/queries.test.ts rename to x-pack/plugins/observability_solution/observability/server/utils/queries.test.ts diff --git a/x-pack/plugins/observability/server/utils/queries.ts b/x-pack/plugins/observability_solution/observability/server/utils/queries.ts similarity index 100% rename from x-pack/plugins/observability/server/utils/queries.ts rename to x-pack/plugins/observability_solution/observability/server/utils/queries.ts diff --git a/x-pack/plugins/observability/server/utils/retry.test.ts b/x-pack/plugins/observability_solution/observability/server/utils/retry.test.ts similarity index 100% rename from x-pack/plugins/observability/server/utils/retry.test.ts rename to x-pack/plugins/observability_solution/observability/server/utils/retry.test.ts diff --git a/x-pack/plugins/observability/server/utils/retry.ts b/x-pack/plugins/observability_solution/observability/server/utils/retry.ts similarity index 100% rename from x-pack/plugins/observability/server/utils/retry.ts rename to x-pack/plugins/observability_solution/observability/server/utils/retry.ts diff --git a/x-pack/plugins/observability/tsconfig.json b/x-pack/plugins/observability_solution/observability/tsconfig.json similarity index 94% rename from x-pack/plugins/observability/tsconfig.json rename to x-pack/plugins/observability_solution/observability/tsconfig.json index 4aeef8105d1bc..3d41f764af365 100644 --- a/x-pack/plugins/observability/tsconfig.json +++ b/x-pack/plugins/observability_solution/observability/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../tsconfig.base.json", + "extends": "../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types" }, @@ -9,7 +9,8 @@ "public/**/*.json", "server/**/*", "typings/**/*", - "../../../typings/**/*" + "../../../../typings/**/*", + "../../observability/public/embeddable/slo/common" ], "kbn_references": [ "@kbn/core", @@ -108,9 +109,7 @@ "@kbn/aiops-utils", "@kbn/event-annotation-common", "@kbn/controls-plugin", - "@kbn/core-lifecycle-browser", + "@kbn/core-lifecycle-browser" ], - "exclude": [ - "target/**/*" - ] + "exclude": ["target/**/*"] } diff --git a/x-pack/plugins/observability/typings/common.ts b/x-pack/plugins/observability_solution/observability/typings/common.ts similarity index 100% rename from x-pack/plugins/observability/typings/common.ts rename to x-pack/plugins/observability_solution/observability/typings/common.ts diff --git a/x-pack/plugins/observability_solution/observability_ai_assistant/server/functions/context.ts b/x-pack/plugins/observability_solution/observability_ai_assistant/server/functions/context.ts index febbc4156d66d..d255397d21c6c 100644 --- a/x-pack/plugins/observability_solution/observability_ai_assistant/server/functions/context.ts +++ b/x-pack/plugins/observability_solution/observability_ai_assistant/server/functions/context.ts @@ -19,6 +19,7 @@ import { FunctionVisibility, MessageRole, type Message } from '../../common/type import { concatenateChatCompletionChunks } from '../../common/utils/concatenate_chat_completion_chunks'; import type { ObservabilityAIAssistantClient } from '../service/client'; import { createFunctionResponseMessage } from '../service/util/create_function_response_message'; +import { parseSuggestionScores } from './parse_suggestion_scores'; const MAX_TOKEN_COUNT_FOR_DATA_ON_SCREEN = 1000; @@ -121,7 +122,7 @@ export function registerContextFunction({ }; } - const relevantDocuments = await scoreSuggestions({ + const { relevantDocuments, scores } = await scoreSuggestions({ suggestions, queries: queriesOrUserPrompt, messages, @@ -133,16 +134,21 @@ export function registerContextFunction({ return { content: { ...content, learnings: relevantDocuments as unknown as Serializable }, + data: { + scores, + suggestions, + }, }; } return new Observable((subscriber) => { getContext() - .then(({ content }) => { + .then(({ content, data }) => { subscriber.next( createFunctionResponseMessage({ name: 'context', content, + data, }) ); @@ -271,17 +277,16 @@ async function scoreSuggestions({ scoreFunctionRequest.message.function_call.arguments ); - const scores = scoresAsString.split('\n').map((line) => { - const [index, score] = line - .split(',') - .map((value) => value.trim()) - .map(Number); - - return { id: suggestions[index].id, score }; + const scores = parseSuggestionScores(scoresAsString).map(({ index, score }) => { + return { + id: suggestions[index].id, + score, + }; }); if (scores.length === 0) { - return []; + // seemingly invalid or no scores, return all + return { relevantDocuments: suggestions, scores: [] }; } const suggestionIds = suggestions.map((document) => document.id); @@ -299,5 +304,5 @@ async function scoreSuggestions({ logger.debug(`Relevant documents: ${JSON.stringify(relevantDocuments, null, 2)}`); - return relevantDocuments; + return { relevantDocuments, scores }; } diff --git a/x-pack/plugins/observability_solution/observability_ai_assistant/server/functions/parse_suggestion_scores.test.ts b/x-pack/plugins/observability_solution/observability_ai_assistant/server/functions/parse_suggestion_scores.test.ts new file mode 100644 index 0000000000000..7b62cf21af65b --- /dev/null +++ b/x-pack/plugins/observability_solution/observability_ai_assistant/server/functions/parse_suggestion_scores.test.ts @@ -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 dedent from 'dedent'; +import { parseSuggestionScores } from './parse_suggestion_scores'; + +describe('parseSuggestionScores', () => { + it('parses newlines as separators', () => { + expect( + parseSuggestionScores( + dedent( + `0,1 + 2,7 + 3,10` + ) + ) + ).toEqual([ + { + index: 0, + score: 1, + }, + { + index: 2, + score: 7, + }, + { + index: 3, + score: 10, + }, + ]); + }); + + it('parses semi-colons as separators', () => { + expect(parseSuggestionScores(`0,1;2,7;3,10`)).toEqual([ + { + index: 0, + score: 1, + }, + { + index: 2, + score: 7, + }, + { + index: 3, + score: 10, + }, + ]); + }); + + it('parses spaces as separators', () => { + expect(parseSuggestionScores(`0,1 2,7 3,10`)).toEqual([ + { + index: 0, + score: 1, + }, + { + index: 2, + score: 7, + }, + { + index: 3, + score: 10, + }, + ]); + }); +}); diff --git a/x-pack/plugins/observability_solution/observability_ai_assistant/server/functions/parse_suggestion_scores.ts b/x-pack/plugins/observability_solution/observability_ai_assistant/server/functions/parse_suggestion_scores.ts new file mode 100644 index 0000000000000..9fa39bf1233b5 --- /dev/null +++ b/x-pack/plugins/observability_solution/observability_ai_assistant/server/functions/parse_suggestion_scores.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 function parseSuggestionScores(scoresAsString: string) { + // make sure that spaces, semi-colons etc work as separators as well + const scores = scoresAsString + .replace(/[^0-9,]/g, ' ') + .trim() + .split(/\s+/) + .map((pair) => { + const [index, score] = pair.split(',').map((str) => parseInt(str, 10)); + + return { + index, + score, + }; + }); + + return scores; +} diff --git a/x-pack/plugins/observability_solution/observability_logs_explorer/common/index.ts b/x-pack/plugins/observability_solution/observability_logs_explorer/common/index.ts index 0847781e3b9f6..62dd4e0333896 100644 --- a/x-pack/plugins/observability_solution/observability_logs_explorer/common/index.ts +++ b/x-pack/plugins/observability_solution/observability_logs_explorer/common/index.ts @@ -14,6 +14,7 @@ export { OBSERVABILITY_LOGS_EXPLORER_URL_STATE_KEY, OBSERVABILITY_DATASET_QUALITY_URL_STATE_KEY, logsExplorerUrlSchemaV1, + logsExplorerUrlSchemaV2, datasetQualityUrlSchemaV1, } from './url_schema'; export { deepCompactObject } from './utils/deep_compact_object'; diff --git a/x-pack/plugins/observability_solution/observability_logs_explorer/common/locators/all_datasets_locator.ts b/x-pack/plugins/observability_solution/observability_logs_explorer/common/locators/all_datasets_locator.ts index c9aef93f4c2a0..44d0213885891 100644 --- a/x-pack/plugins/observability_solution/observability_logs_explorer/common/locators/all_datasets_locator.ts +++ b/x-pack/plugins/observability_solution/observability_logs_explorer/common/locators/all_datasets_locator.ts @@ -25,7 +25,7 @@ export class AllDatasetsLocatorDefinition implements LocatorDefinition { expect(location).toMatchObject({ app: OBSERVABILITY_LOGS_EXPLORER_APP_ID, - path: '/?pageState=(datasetSelection:(selectionType:all),v:1)', + path: '/?pageState=(dataSourceSelection:(selectionType:all),v:2)', state: {}, }); }); @@ -59,7 +59,7 @@ describe('Observability Logs Explorer Locators', () => { expect(location).toMatchObject({ app: OBSERVABILITY_LOGS_EXPLORER_APP_ID, - path: '/?pageState=(datasetSelection:(selectionType:all),time:(from:now-30m,to:now),v:1)', + path: '/?pageState=(dataSourceSelection:(selectionType:all),time:(from:now-30m,to:now),v:2)', state: {}, }); }); @@ -76,7 +76,7 @@ describe('Observability Logs Explorer Locators', () => { expect(location).toMatchObject({ app: OBSERVABILITY_LOGS_EXPLORER_APP_ID, - path: '/?pageState=(datasetSelection:(selectionType:all),query:(language:kuery,query:foo),v:1)', + path: '/?pageState=(dataSourceSelection:(selectionType:all),query:(language:kuery,query:foo),v:2)', state: {}, }); }); @@ -94,7 +94,7 @@ describe('Observability Logs Explorer Locators', () => { expect(location).toMatchObject({ app: OBSERVABILITY_LOGS_EXPLORER_APP_ID, - path: '/?pageState=(datasetSelection:(selectionType:all),refreshInterval:(pause:!f,value:666),v:1)', + path: '/?pageState=(dataSourceSelection:(selectionType:all),refreshInterval:(pause:!f,value:666),v:2)', state: {}, }); }); @@ -109,7 +109,7 @@ describe('Observability Logs Explorer Locators', () => { expect(location).toMatchObject({ app: OBSERVABILITY_LOGS_EXPLORER_APP_ID, - path: '/?pageState=(columns:!((field:_source,type:document-field)),datasetSelection:(selectionType:all),v:1)', + path: '/?pageState=(columns:!((field:_source,type:document-field)),dataSourceSelection:(selectionType:all),v:2)', state: {}, }); }); @@ -138,7 +138,7 @@ describe('Observability Logs Explorer Locators', () => { const location = await allDatasetsLocator.getLocation(params); expect(location.path).toMatchInlineSnapshot( - `"/?pageState=(datasetSelection:(selectionType:all),filters:!((meta:(alias:foo,disabled:!f,negate:!f)),(meta:(alias:bar,disabled:!f,negate:!f))),v:1)"` + `"/?pageState=(dataSourceSelection:(selectionType:all),filters:!((meta:(alias:foo,disabled:!f,negate:!f)),(meta:(alias:bar,disabled:!f,negate:!f))),v:2)"` ); }); }); @@ -152,7 +152,7 @@ describe('Observability Logs Explorer Locators', () => { expect(location).toMatchObject({ app: OBSERVABILITY_LOGS_EXPLORER_APP_ID, - path: `/?pageState=(datasetSelection:(selection:(dataView:(dataType:unresolved,id:data-view-id)),selectionType:dataView),v:1)`, + path: `/?pageState=(dataSourceSelection:(selection:(dataView:(dataType:unresolved,id:data-view-id)),selectionType:dataView),v:2)`, state: {}, }); }); @@ -168,7 +168,7 @@ describe('Observability Logs Explorer Locators', () => { expect(location).toMatchObject({ app: OBSERVABILITY_LOGS_EXPLORER_APP_ID, - path: `/?pageState=(datasetSelection:(selection:(dataView:(dataType:unresolved,id:data-view-id)),selectionType:dataView),time:(from:now-30m,to:now),v:1)`, + path: `/?pageState=(dataSourceSelection:(selection:(dataView:(dataType:unresolved,id:data-view-id)),selectionType:dataView),time:(from:now-30m,to:now),v:2)`, state: {}, }); }); @@ -187,7 +187,7 @@ describe('Observability Logs Explorer Locators', () => { expect(location).toMatchObject({ app: OBSERVABILITY_LOGS_EXPLORER_APP_ID, - path: `/?pageState=(datasetSelection:(selection:(dataView:(dataType:unresolved,id:data-view-id)),selectionType:dataView),query:(language:kuery,query:foo),v:1)`, + path: `/?pageState=(dataSourceSelection:(selection:(dataView:(dataType:unresolved,id:data-view-id)),selectionType:dataView),query:(language:kuery,query:foo),v:2)`, state: {}, }); }); @@ -206,7 +206,7 @@ describe('Observability Logs Explorer Locators', () => { expect(location).toMatchObject({ app: OBSERVABILITY_LOGS_EXPLORER_APP_ID, - path: `/?pageState=(datasetSelection:(selection:(dataView:(dataType:unresolved,id:data-view-id)),selectionType:dataView),refreshInterval:(pause:!f,value:666),v:1)`, + path: `/?pageState=(dataSourceSelection:(selection:(dataView:(dataType:unresolved,id:data-view-id)),selectionType:dataView),refreshInterval:(pause:!f,value:666),v:2)`, state: {}, }); }); @@ -222,7 +222,7 @@ describe('Observability Logs Explorer Locators', () => { expect(location).toMatchObject({ app: OBSERVABILITY_LOGS_EXPLORER_APP_ID, - path: `/?pageState=(columns:!((field:_source,type:document-field)),datasetSelection:(selection:(dataView:(dataType:unresolved,id:data-view-id)),selectionType:dataView),v:1)`, + path: `/?pageState=(columns:!((field:_source,type:document-field)),dataSourceSelection:(selection:(dataView:(dataType:unresolved,id:data-view-id)),selectionType:dataView),v:2)`, state: {}, }); }); @@ -252,7 +252,7 @@ describe('Observability Logs Explorer Locators', () => { const location = await dataViewLocator.getLocation(params); expect(location.path).toMatchInlineSnapshot( - `"/?pageState=(datasetSelection:(selection:(dataView:(dataType:unresolved,id:data-view-id)),selectionType:dataView),filters:!((meta:(alias:foo,disabled:!f,negate:!f)),(meta:(alias:bar,disabled:!f,negate:!f))),v:1)"` + `"/?pageState=(dataSourceSelection:(selection:(dataView:(dataType:unresolved,id:data-view-id)),selectionType:dataView),filters:!((meta:(alias:foo,disabled:!f,negate:!f)),(meta:(alias:bar,disabled:!f,negate:!f))),v:2)"` ); }); }); @@ -269,7 +269,7 @@ describe('Observability Logs Explorer Locators', () => { expect(location).toMatchObject({ app: OBSERVABILITY_LOGS_EXPLORER_APP_ID, - path: `/?pageState=(datasetSelection:(selection:(dataset:(name:'logs-test-*-*',title:test),name:Test),selectionType:unresolved),v:1)`, + path: `/?pageState=(dataSourceSelection:(selection:(dataset:(name:'logs-test-*-*',title:test),name:Test),selectionType:unresolved),v:2)`, state: {}, }); }); @@ -286,7 +286,7 @@ describe('Observability Logs Explorer Locators', () => { expect(location).toMatchObject({ app: OBSERVABILITY_LOGS_EXPLORER_APP_ID, - path: `/?pageState=(datasetSelection:(selection:(dataset:(name:'logs-test-*-*',title:test),name:Test),selectionType:unresolved),time:(from:now-30m,to:now),v:1)`, + path: `/?pageState=(dataSourceSelection:(selection:(dataset:(name:'logs-test-*-*',title:test),name:Test),selectionType:unresolved),time:(from:now-30m,to:now),v:2)`, state: {}, }); }); @@ -306,7 +306,7 @@ describe('Observability Logs Explorer Locators', () => { expect(location).toMatchObject({ app: OBSERVABILITY_LOGS_EXPLORER_APP_ID, - path: `/?pageState=(datasetSelection:(selection:(dataset:(name:'logs-test-*-*',title:test),name:Test),selectionType:unresolved),query:(language:kuery,query:foo),v:1)`, + path: `/?pageState=(dataSourceSelection:(selection:(dataset:(name:'logs-test-*-*',title:test),name:Test),selectionType:unresolved),query:(language:kuery,query:foo),v:2)`, state: {}, }); }); @@ -326,7 +326,7 @@ describe('Observability Logs Explorer Locators', () => { expect(location).toMatchObject({ app: OBSERVABILITY_LOGS_EXPLORER_APP_ID, - path: `/?pageState=(datasetSelection:(selection:(dataset:(name:'logs-test-*-*',title:test),name:Test),selectionType:unresolved),refreshInterval:(pause:!f,value:666),v:1)`, + path: `/?pageState=(dataSourceSelection:(selection:(dataset:(name:'logs-test-*-*',title:test),name:Test),selectionType:unresolved),refreshInterval:(pause:!f,value:666),v:2)`, state: {}, }); }); @@ -343,7 +343,7 @@ describe('Observability Logs Explorer Locators', () => { expect(location).toMatchObject({ app: OBSERVABILITY_LOGS_EXPLORER_APP_ID, - path: `/?pageState=(columns:!((field:_source,type:document-field)),datasetSelection:(selection:(dataset:(name:'logs-test-*-*',title:test),name:Test),selectionType:unresolved),v:1)`, + path: `/?pageState=(columns:!((field:_source,type:document-field)),dataSourceSelection:(selection:(dataset:(name:'logs-test-*-*',title:test),name:Test),selectionType:unresolved),v:2)`, state: {}, }); }); @@ -374,7 +374,7 @@ describe('Observability Logs Explorer Locators', () => { const location = await singleDatasetLocator.getLocation(params); expect(location.path).toMatchInlineSnapshot( - `"/?pageState=(datasetSelection:(selection:(dataset:(name:'logs-test-*-*',title:test),name:Test),selectionType:unresolved),filters:!((meta:(alias:foo,disabled:!f,negate:!f)),(meta:(alias:bar,disabled:!f,negate:!f))),v:1)"` + `"/?pageState=(dataSourceSelection:(selection:(dataset:(name:'logs-test-*-*',title:test),name:Test),selectionType:unresolved),filters:!((meta:(alias:foo,disabled:!f,negate:!f)),(meta:(alias:bar,disabled:!f,negate:!f))),v:2)"` ); }); }); @@ -393,8 +393,8 @@ describe('Observability Logs Explorer Locators', () => { it('should create a link with correct timeRange', async () => { const refresh = { - isPaused: false, - interval: 0, + pause: false, + value: 0, }; const locatorParams = { filters: { @@ -410,7 +410,7 @@ describe('Observability Logs Explorer Locators', () => { expect(location).toMatchObject({ app: OBSERVABILITY_LOGS_EXPLORER_APP_ID, - path: '/dataset-quality?pageState=(filters:(timeRange:(from:now-30m,refresh:(interval:0,isPaused:!f),to:now)),v:1)', + path: '/dataset-quality?pageState=(filters:(timeRange:(from:now-30m,refresh:(pause:!f,value:0),to:now)),v:1)', state: {}, }); }); diff --git a/x-pack/plugins/observability_solution/observability_logs_explorer/common/locators/single_dataset_locator.ts b/x-pack/plugins/observability_solution/observability_logs_explorer/common/locators/single_dataset_locator.ts index 3b7a8dfe0b0f6..4187b9067d667 100644 --- a/x-pack/plugins/observability_solution/observability_logs_explorer/common/locators/single_dataset_locator.ts +++ b/x-pack/plugins/observability_solution/observability_logs_explorer/common/locators/single_dataset_locator.ts @@ -36,7 +36,7 @@ export class SingleDatasetLocatorDefinition }); return constructLocatorPath({ - datasetSelection: unresolvedDatasetSelection.toPlainSelection(), + dataSourceSelection: unresolvedDatasetSelection.toPlainSelection(), locatorParams: params, useHash, }); diff --git a/x-pack/plugins/observability_solution/observability_logs_explorer/common/locators/utils/construct_locator_path.ts b/x-pack/plugins/observability_solution/observability_logs_explorer/common/locators/utils/construct_locator_path.ts index 949dc6b1fcafe..eb96fb81ae2f3 100644 --- a/x-pack/plugins/observability_solution/observability_logs_explorer/common/locators/utils/construct_locator_path.ts +++ b/x-pack/plugins/observability_solution/observability_logs_explorer/common/locators/utils/construct_locator_path.ts @@ -14,35 +14,35 @@ import { setStateToKbnUrl } from '@kbn/kibana-utils-plugin/common'; import { AvailableControlPanels, availableControlsPanels, - DatasetSelectionPlain, + DataSourceSelectionPlain, SMART_FALLBACK_FIELDS, } from '@kbn/logs-explorer-plugin/common'; import { OBSERVABILITY_LOGS_EXPLORER_APP_ID } from '@kbn/deeplinks-observability'; import { OBSERVABILITY_LOGS_EXPLORER_URL_STATE_KEY, - logsExplorerUrlSchemaV1, + logsExplorerUrlSchemaV2, } from '../../url_schema'; import { deepCompactObject } from '../../utils/deep_compact_object'; -type ControlsPageState = NonNullable; +type ControlsPageState = NonNullable; interface LocatorPathConstructionParams { - datasetSelection: DatasetSelectionPlain; + dataSourceSelection: DataSourceSelectionPlain; locatorParams: DatasetLocatorParams; useHash: boolean; } export const constructLocatorPath = async (params: LocatorPathConstructionParams) => { const { - datasetSelection, + dataSourceSelection, locatorParams: { filterControls, filters, query, refreshInterval, timeRange, columns, origin }, useHash, } = params; - const pageState = logsExplorerUrlSchemaV1.urlSchemaRT.encode( + const pageState = logsExplorerUrlSchemaV2.urlSchemaRT.encode( deepCompactObject({ - v: 1, - datasetSelection, + v: 2, + dataSourceSelection, filters, query, refreshInterval, diff --git a/x-pack/plugins/observability_solution/observability_logs_explorer/common/url_schema/dataset_quality/url_schema_v1.ts b/x-pack/plugins/observability_solution/observability_logs_explorer/common/url_schema/dataset_quality/url_schema_v1.ts index afb798fd022ec..7395b70585afb 100644 --- a/x-pack/plugins/observability_solution/observability_logs_explorer/common/url_schema/dataset_quality/url_schema_v1.ts +++ b/x-pack/plugins/observability_solution/observability_logs_explorer/common/url_schema/dataset_quality/url_schema_v1.ts @@ -50,8 +50,8 @@ const timeRangeRT = rt.strict({ from: rt.string, to: rt.string, refresh: rt.strict({ - isPaused: rt.boolean, - interval: rt.number, + pause: rt.boolean, + value: rt.number, }), }); diff --git a/x-pack/plugins/observability_solution/observability_logs_explorer/common/url_schema/index.ts b/x-pack/plugins/observability_solution/observability_logs_explorer/common/url_schema/index.ts index 26543045514eb..269b95778bafa 100644 --- a/x-pack/plugins/observability_solution/observability_logs_explorer/common/url_schema/index.ts +++ b/x-pack/plugins/observability_solution/observability_logs_explorer/common/url_schema/index.ts @@ -9,5 +9,6 @@ export { OBSERVABILITY_LOGS_EXPLORER_URL_STATE_KEY, OBSERVABILITY_DATASET_QUALITY_URL_STATE_KEY, } from './common'; -export * as logsExplorerUrlSchemaV1 from './url_schema_v1'; +export * as logsExplorerUrlSchemaV1 from './logs_explorer/url_schema_v1'; +export * as logsExplorerUrlSchemaV2 from './logs_explorer/url_schema_v2'; export * as datasetQualityUrlSchemaV1 from './dataset_quality/url_schema_v1'; diff --git a/x-pack/plugins/observability_solution/observability_logs_explorer/common/url_schema/url_schema_v1.ts b/x-pack/plugins/observability_solution/observability_logs_explorer/common/url_schema/logs_explorer/url_schema_v1.ts similarity index 90% rename from x-pack/plugins/observability_solution/observability_logs_explorer/common/url_schema/url_schema_v1.ts rename to x-pack/plugins/observability_solution/observability_logs_explorer/common/url_schema/logs_explorer/url_schema_v1.ts index 2cdbe422009f3..38ac6a91c3c7d 100644 --- a/x-pack/plugins/observability_solution/observability_logs_explorer/common/url_schema/url_schema_v1.ts +++ b/x-pack/plugins/observability_solution/observability_logs_explorer/common/url_schema/logs_explorer/url_schema_v1.ts @@ -5,7 +5,10 @@ * 2.0. */ -import { availableControlsPanels, datasetSelectionPlainRT } from '@kbn/logs-explorer-plugin/common'; +import { + availableControlsPanels, + dataSourceSelectionPlainRT, +} from '@kbn/logs-explorer-plugin/common'; import * as rt from 'io-ts'; const allowedNamesRT = rt.keyof({ @@ -93,7 +96,7 @@ export const filterRT = rt.intersection([ export const filtersRT = rt.array(filterRT); -const queryRT = rt.union([ +export const queryRT = rt.union([ rt.strict({ language: rt.string, query: rt.union([rt.string, rt.record(rt.string, rt.unknown)]), @@ -106,7 +109,7 @@ const queryRT = rt.union([ }), ]); -const timeRangeRT = rt.intersection([ +export const timeRangeRT = rt.intersection([ rt.strict({ from: rt.string, to: rt.string, @@ -121,7 +124,7 @@ const timeRangeRT = rt.intersection([ ), ]); -const refreshIntervalRT = rt.strict({ +export const refreshIntervalRT = rt.strict({ pause: rt.boolean, value: rt.number, }); @@ -131,7 +134,7 @@ export const urlSchemaRT = rt.exact( v: rt.literal(1), breakdownField: rt.union([rt.string, rt.null]), columns: columnsRT, - datasetSelection: datasetSelectionPlainRT, + datasetSelection: dataSourceSelectionPlainRT, filters: filtersRT, query: queryRT, refreshInterval: refreshIntervalRT, diff --git a/x-pack/plugins/observability_solution/observability_logs_explorer/common/url_schema/logs_explorer/url_schema_v2.ts b/x-pack/plugins/observability_solution/observability_logs_explorer/common/url_schema/logs_explorer/url_schema_v2.ts new file mode 100644 index 0000000000000..29af0373c0a1e --- /dev/null +++ b/x-pack/plugins/observability_solution/observability_logs_explorer/common/url_schema/logs_explorer/url_schema_v2.ts @@ -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 { dataSourceSelectionPlainRT } from '@kbn/logs-explorer-plugin/common'; +import * as rt from 'io-ts'; +import { + columnsRT, + controlsRT, + filtersRT, + queryRT, + refreshIntervalRT, + timeRangeRT, +} from './url_schema_v1'; + +export * from './url_schema_v1'; + +/** + * The breaking change and only difference between url schema v1 to v2 + * is the renaming of the `datasetSelection` param to `dataSourceSelection` + * as the selection parameter now represents a wider concept after the support to data views. + */ +export const urlSchemaRT = rt.exact( + rt.partial({ + v: rt.literal(2), + breakdownField: rt.union([rt.string, rt.null]), + columns: columnsRT, + dataSourceSelection: dataSourceSelectionPlainRT, + filters: filtersRT, + query: queryRT, + refreshInterval: refreshIntervalRT, + rowHeight: rt.number, + rowsPerPage: rt.number, + time: timeRangeRT, + controls: controlsRT, + }) +); + +export type UrlSchema = rt.TypeOf; diff --git a/x-pack/plugins/observability_solution/observability_logs_explorer/public/components/alerts_popover.tsx b/x-pack/plugins/observability_solution/observability_logs_explorer/public/components/alerts_popover.tsx index 22f689010a2df..65e469f63c214 100644 --- a/x-pack/plugins/observability_solution/observability_logs_explorer/public/components/alerts_popover.tsx +++ b/x-pack/plugins/observability_solution/observability_logs_explorer/public/components/alerts_popover.tsx @@ -10,7 +10,7 @@ import React, { useMemo, useReducer } from 'react'; import { FormattedMessage } from '@kbn/i18n-react'; import { OBSERVABILITY_THRESHOLD_RULE_TYPE_ID } from '@kbn/rule-data-utils'; import { useActor } from '@xstate/react'; -import { hydrateDatasetSelection } from '@kbn/logs-explorer-plugin/common'; +import { hydrateDataSourceSelection } from '@kbn/logs-explorer-plugin/common'; import { getDiscoverFiltersFromState } from '@kbn/logs-explorer-plugin/public'; import type { AlertParams } from '@kbn/observability-plugin/public/components/custom_threshold/types'; import { useLinkProps } from '@kbn/observability-shared-plugin/public'; @@ -79,7 +79,9 @@ export const AlertsPopover = () => { pageState.matches({ initialized: 'validLogsExplorerState' }) ) { const { logsExplorerState } = pageState.context; - const index = hydrateDatasetSelection(logsExplorerState.datasetSelection).toDataviewSpec(); + const index = hydrateDataSourceSelection( + logsExplorerState.dataSourceSelection + ).toDataviewSpec(); return triggersActionsUi.getAddRuleFlyout({ consumer: 'logs', diff --git a/x-pack/plugins/observability_solution/observability_logs_explorer/public/components/dataset_quality_link.tsx b/x-pack/plugins/observability_solution/observability_logs_explorer/public/components/dataset_quality_link.tsx index 1d27ae931093b..5d74e6de37a19 100644 --- a/x-pack/plugins/observability_solution/observability_logs_explorer/public/components/dataset_quality_link.tsx +++ b/x-pack/plugins/observability_solution/observability_logs_explorer/public/components/dataset_quality_link.tsx @@ -50,12 +50,8 @@ const constructLocatorParams = ( const locatorParams: DatasetQualityLocatorParams = { filters: { timeRange: { - from: time?.from || 'now-24h', - to: time?.to || 'now', - refresh: { - isPaused: refreshInterval ? refreshInterval.pause : false, - interval: refreshInterval ? refreshInterval.value : 60000, - }, + ...(time ?? { from: 'now-24h', to: 'now' }), + refresh: refreshInterval ?? { pause: false, value: 60000 }, }, }, }; diff --git a/x-pack/plugins/observability_solution/observability_logs_explorer/public/components/discover_link.tsx b/x-pack/plugins/observability_solution/observability_logs_explorer/public/components/discover_link.tsx index 49a50458ba652..4e3482816b026 100644 --- a/x-pack/plugins/observability_solution/observability_logs_explorer/public/components/discover_link.tsx +++ b/x-pack/plugins/observability_solution/observability_logs_explorer/public/components/discover_link.tsx @@ -8,7 +8,7 @@ import { EuiHeaderLink } from '@elastic/eui'; import { DiscoverAppLocatorParams } from '@kbn/discover-plugin/common'; import { DiscoverStart } from '@kbn/discover-plugin/public'; -import { hydrateDatasetSelection } from '@kbn/logs-explorer-plugin/common'; +import { hydrateDataSourceSelection } from '@kbn/logs-explorer-plugin/common'; import { getDiscoverColumnsWithFallbackFieldsFromDisplayOptions, getDiscoverFiltersFromState, @@ -54,7 +54,9 @@ export const DiscoverLinkForValidState = React.memo( pageState: InitializedPageState; }) => { const discoverLinkParams = useMemo(() => { - const index = hydrateDatasetSelection(logsExplorerState.datasetSelection).toDataviewSpec(); + const index = hydrateDataSourceSelection( + logsExplorerState.dataSourceSelection + ).toDataviewSpec(); return { breakdownField: logsExplorerState.chart.breakdownField ?? undefined, columns: getDiscoverColumnsWithFallbackFieldsFromDisplayOptions(logsExplorerState), diff --git a/x-pack/plugins/observability_solution/observability_logs_explorer/public/logs_explorer_customizations/discover_navigation_handler.ts b/x-pack/plugins/observability_solution/observability_logs_explorer/public/logs_explorer_customizations/discover_navigation_handler.ts index 8ffd223201c99..1e9a2190bd685 100644 --- a/x-pack/plugins/observability_solution/observability_logs_explorer/public/logs_explorer_customizations/discover_navigation_handler.ts +++ b/x-pack/plugins/observability_solution/observability_logs_explorer/public/logs_explorer_customizations/discover_navigation_handler.ts @@ -16,11 +16,11 @@ export const createOnUknownDataViewSelectionHandler = ( discover: DiscoverStart ): LogsExplorerCustomizationEvents['onUknownDataViewSelection'] => { return (context) => { - if (isDataViewSelection(context.datasetSelection)) + if (isDataViewSelection(context.dataSourceSelection)) discover.locator?.navigate({ breakdownField: context.chart.breakdownField ?? undefined, columns: getDiscoverColumnsWithFallbackFieldsFromDisplayOptions(context), - dataViewSpec: context.datasetSelection.selection.dataView.toDataviewSpec(), + dataViewSpec: context.dataSourceSelection.selection.dataView.toDataviewSpec(), filters: context.filters, query: context.query, refreshInterval: context.refreshInterval, diff --git a/x-pack/plugins/observability_solution/observability_logs_explorer/public/state_machines/observability_logs_explorer/src/url_schema_v1.ts b/x-pack/plugins/observability_solution/observability_logs_explorer/public/state_machines/observability_logs_explorer/src/url_schema_v1.ts index f3034bba5d310..e6f55743709f3 100644 --- a/x-pack/plugins/observability_solution/observability_logs_explorer/public/state_machines/observability_logs_explorer/src/url_schema_v1.ts +++ b/x-pack/plugins/observability_solution/observability_logs_explorer/public/state_machines/observability_logs_explorer/src/url_schema_v1.ts @@ -17,7 +17,7 @@ export const getStateFromUrlValue = ( breakdownField: urlValue.breakdownField, }, controls: urlValue.controls, - datasetSelection: urlValue.datasetSelection, + dataSourceSelection: urlValue.datasetSelection, filters: urlValue.filters, grid: { columns: urlValue.columns, @@ -38,7 +38,7 @@ export const getUrlValueFromState = ( breakdownField: state.chart?.breakdownField, columns: state.grid?.columns, controls: state.controls, - datasetSelection: state.datasetSelection, + datasetSelection: state.dataSourceSelection, filters: state.filters, query: state.query, refreshInterval: state.refreshInterval, diff --git a/x-pack/plugins/observability_solution/observability_logs_explorer/public/state_machines/observability_logs_explorer/src/url_schema_v2.ts b/x-pack/plugins/observability_solution/observability_logs_explorer/public/state_machines/observability_logs_explorer/src/url_schema_v2.ts new file mode 100644 index 0000000000000..0df3f1cd0bbc5 --- /dev/null +++ b/x-pack/plugins/observability_solution/observability_logs_explorer/public/state_machines/observability_logs_explorer/src/url_schema_v2.ts @@ -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 { LogsExplorerPublicStateUpdate } from '@kbn/logs-explorer-plugin/public'; +import * as rt from 'io-ts'; +import { deepCompactObject, logsExplorerUrlSchemaV2 } from '../../../../common'; + +export const getStateFromUrlValue = ( + urlValue: logsExplorerUrlSchemaV2.UrlSchema +): LogsExplorerPublicStateUpdate => + deepCompactObject({ + chart: { + breakdownField: urlValue.breakdownField, + }, + controls: urlValue.controls, + dataSourceSelection: urlValue.dataSourceSelection, + filters: urlValue.filters, + grid: { + columns: urlValue.columns, + rows: { + rowHeight: urlValue.rowHeight, + rowsPerPage: urlValue.rowsPerPage, + }, + }, + query: urlValue.query, + refreshInterval: urlValue.refreshInterval, + time: urlValue.time, + }); + +export const getUrlValueFromState = ( + state: LogsExplorerPublicStateUpdate +): logsExplorerUrlSchemaV2.UrlSchema => + deepCompactObject({ + breakdownField: state.chart?.breakdownField, + columns: state.grid?.columns, + controls: state.controls, + dataSourceSelection: state.dataSourceSelection, + filters: state.filters, + query: state.query, + refreshInterval: state.refreshInterval, + rowHeight: state.grid?.rows?.rowHeight, + rowsPerPage: state.grid?.rows?.rowsPerPage, + time: state.time, + v: 2, + }); + +const stateFromUrlSchemaRT = new rt.Type< + LogsExplorerPublicStateUpdate, + logsExplorerUrlSchemaV2.UrlSchema, + logsExplorerUrlSchemaV2.UrlSchema +>( + 'stateFromUrlSchemaRT', + rt.never.is, + (urlSchema, context) => rt.success(getStateFromUrlValue(urlSchema)), + getUrlValueFromState +); + +export const stateFromUntrustedUrlRT = + logsExplorerUrlSchemaV2.urlSchemaRT.pipe(stateFromUrlSchemaRT); diff --git a/x-pack/plugins/observability_solution/observability_logs_explorer/public/state_machines/observability_logs_explorer/src/url_state_storage_service.ts b/x-pack/plugins/observability_solution/observability_logs_explorer/public/state_machines/observability_logs_explorer/src/url_state_storage_service.ts index 3e58629b3409e..60d35a7859101 100644 --- a/x-pack/plugins/observability_solution/observability_logs_explorer/public/state_machines/observability_logs_explorer/src/url_state_storage_service.ts +++ b/x-pack/plugins/observability_solution/observability_logs_explorer/public/state_machines/observability_logs_explorer/src/url_state_storage_service.ts @@ -14,6 +14,7 @@ import { InvokeCreator } from 'xstate'; import { OBSERVABILITY_LOGS_EXPLORER_URL_STATE_KEY } from '../../../../common'; import type { ObservabilityLogsExplorerContext, ObservabilityLogsExplorerEvent } from './types'; import * as urlSchemaV1 from './url_schema_v1'; +import * as urlSchemaV2 from './url_schema_v2'; interface ObservabilityLogsExplorerUrlStateDependencies { toastsService: IToasts; @@ -28,7 +29,7 @@ export const updateUrlFromLogsExplorerState = } // we want to write in the newest schema - const encodedUrlStateValues = urlSchemaV1.stateFromUntrustedUrlRT.encode( + const encodedUrlStateValues = urlSchemaV2.stateFromUntrustedUrlRT.encode( context.logsExplorerState ); @@ -52,7 +53,11 @@ export const initializeFromUrl = // in the future we'll have to more schema versions to the union const stateValuesE = rt - .union([rt.undefined, urlSchemaV1.stateFromUntrustedUrlRT]) + .union([ + rt.undefined, + urlSchemaV1.stateFromUntrustedUrlRT, + urlSchemaV2.stateFromUntrustedUrlRT, + ]) .decode(urlStateValues); if (Either.isLeft(stateValuesE)) { diff --git a/x-pack/plugins/observability_solution/observability_onboarding/e2e/cypress/e2e/logs/custom_logs/install_elastic_agent.cy.ts b/x-pack/plugins/observability_solution/observability_onboarding/e2e/cypress/e2e/logs/custom_logs/install_elastic_agent.cy.ts index 3f85bb560fa6f..ed90bd98b386e 100644 --- a/x-pack/plugins/observability_solution/observability_onboarding/e2e/cypress/e2e/logs/custom_logs/install_elastic_agent.cy.ts +++ b/x-pack/plugins/observability_solution/observability_onboarding/e2e/cypress/e2e/logs/custom_logs/install_elastic_agent.cy.ts @@ -623,7 +623,7 @@ describe('[Logs onboarding] Custom logs - install elastic agent', () => { cy.getByTestSubj('obltOnboardingExploreLogs').should('exist').click(); cy.url().should('include', '/app/observability-logs-explorer'); - cy.get('[data-test-subj="datasetSelectorPopoverButton"]') + cy.get('[data-test-subj="dataSourceSelectorPopoverButton"]') .contains('[Mylogs] mylogs', { matchCase: false }) .should('exist'); }); diff --git a/x-pack/plugins/observability_solution/observability_shared/public/contexts/inspector/inspector_context.tsx b/x-pack/plugins/observability_solution/observability_shared/public/contexts/inspector/inspector_context.tsx index 0b87f0e4a5476..208788b9b9aed 100644 --- a/x-pack/plugins/observability_solution/observability_shared/public/contexts/inspector/inspector_context.tsx +++ b/x-pack/plugins/observability_solution/observability_shared/public/contexts/inspector/inspector_context.tsx @@ -13,7 +13,7 @@ import { FetcherResult } from '../../hooks/use_fetcher'; type InspectResponse = Request[]; export interface InspectorContextValue { - addInspectorRequest: (result: FetcherResult) => void; + addInspectorRequest: (result: FetcherResult) => void; inspectorAdapters: { requests: RequestAdapter }; } @@ -24,12 +24,12 @@ const value: InspectorContextValue = { export const InspectorContext = createContext(value); -export type AddInspectorRequest = ( - result: FetcherResult<{ - mainStatisticsData?: { _inspect?: InspectResponse }; - _inspect?: InspectResponse; - }> -) => void; +export interface InspectorRequestProps { + mainStatisticsData?: { _inspect?: InspectResponse }; + _inspect?: InspectResponse; +} + +export type AddInspectorRequest = (result: FetcherResult) => void; export function InspectorContextProvider({ children }: { children: ReactNode }) { const history = useHistory(); diff --git a/x-pack/plugins/observability_solution/observability_shared/public/plugin.ts b/x-pack/plugins/observability_solution/observability_shared/public/plugin.ts index f2caeb94cbca4..cfa6be47401a7 100644 --- a/x-pack/plugins/observability_solution/observability_shared/public/plugin.ts +++ b/x-pack/plugins/observability_solution/observability_shared/public/plugin.ts @@ -5,7 +5,7 @@ * 2.0. */ -import { CasesUiStart } from '@kbn/cases-plugin/public'; +import { CasesPublicStart } from '@kbn/cases-plugin/public'; import type { CoreSetup, CoreStart, Plugin } from '@kbn/core/public'; import type { EmbeddableStart } from '@kbn/embeddable-plugin/public'; import type { GuidedOnboardingPluginStart } from '@kbn/guided-onboarding-plugin/public'; @@ -38,7 +38,7 @@ export interface ObservabilitySharedSetup { export interface ObservabilitySharedStart { spaces?: SpacesPluginStart; - cases: CasesUiStart; + cases: CasesPublicStart; guidedOnboarding?: GuidedOnboardingPluginStart; setIsSidebarEnabled: (isEnabled: boolean) => void; embeddable: EmbeddableStart; diff --git a/x-pack/plugins/observability_solution/synthetics/common/runtime_types/monitor_management/locations.ts b/x-pack/plugins/observability_solution/synthetics/common/runtime_types/monitor_management/locations.ts index 60c74be13c228..4445fd22172cf 100644 --- a/x-pack/plugins/observability_solution/synthetics/common/runtime_types/monitor_management/locations.ts +++ b/x-pack/plugins/observability_solution/synthetics/common/runtime_types/monitor_management/locations.ts @@ -133,6 +133,7 @@ export const ServiceLocationsApiResponseCodec = t.interface({ throttling: t.union([ThrottlingOptionsCodec, t.undefined]), locations: ServiceLocationsCodec, }); +export type ServiceLocationsApiResponse = t.TypeOf; export type ManifestLocation = t.TypeOf; export type ServiceLocation = t.TypeOf; diff --git a/x-pack/plugins/observability_solution/synthetics/public/apps/synthetics/components/monitor_add_edit/form/validation.tsx b/x-pack/plugins/observability_solution/synthetics/public/apps/synthetics/components/monitor_add_edit/form/validation.tsx index c22a89f63fa14..7b6fa39b97c54 100644 --- a/x-pack/plugins/observability_solution/synthetics/public/apps/synthetics/components/monitor_add_edit/form/validation.tsx +++ b/x-pack/plugins/observability_solution/synthetics/public/apps/synthetics/components/monitor_add_edit/form/validation.tsx @@ -21,7 +21,7 @@ export const FLOATS_ONLY = /^[0-9]+(.?[0-9]+)?$/; type ValidationLibrary = Record; // returns true if invalid -export function validateHeaders(headers: T): boolean { +export function validateHeaders(headers: object): boolean { return Object.keys(headers).some((key) => { if (key) { const whiteSpaceRegEx = /[\s]/g; @@ -110,11 +110,11 @@ const validateHTTP: ValidationLibrary = { }, [ConfigKey.RESPONSE_HEADERS_CHECK]: ({ [ConfigKey.RESPONSE_HEADERS_CHECK]: value }) => { const headers = value as MonitorFields[ConfigKey.RESPONSE_HEADERS_CHECK]; - return validateHeaders(headers); + return validateHeaders(headers); }, [ConfigKey.REQUEST_HEADERS_CHECK]: ({ [ConfigKey.REQUEST_HEADERS_CHECK]: value }) => { const headers = value as MonitorFields[ConfigKey.REQUEST_HEADERS_CHECK]; - return validateHeaders(headers); + return validateHeaders(headers); }, [ConfigKey.MAX_REDIRECTS]: ({ [ConfigKey.MAX_REDIRECTS]: value }) => (!!value && !`${value}`.match(DIGITS_ONLY)) || diff --git a/x-pack/plugins/observability_solution/synthetics/public/apps/synthetics/components/settings/private_locations/delete_location.tsx b/x-pack/plugins/observability_solution/synthetics/public/apps/synthetics/components/settings/private_locations/delete_location.tsx index acff970300c8b..be55a6ba037f9 100644 --- a/x-pack/plugins/observability_solution/synthetics/public/apps/synthetics/components/settings/private_locations/delete_location.tsx +++ b/x-pack/plugins/observability_solution/synthetics/public/apps/synthetics/components/settings/private_locations/delete_location.tsx @@ -34,7 +34,7 @@ export const DeleteLocation = ({ 'xpack.synthetics.monitorManagement.cannotDelete.description', { defaultMessage: `You can't delete this location because it is used in {monCount, number} {monCount, plural,one {monitor} other {monitors}}. - Remove this location from all monitors first.`, + Remove all monitors from this location first.`, values: { monCount }, } ); diff --git a/x-pack/plugins/observability_solution/synthetics/public/apps/synthetics/state/service_locations/api.ts b/x-pack/plugins/observability_solution/synthetics/public/apps/synthetics/state/service_locations/api.ts index e383905de552e..28102ee31afd3 100644 --- a/x-pack/plugins/observability_solution/synthetics/public/apps/synthetics/state/service_locations/api.ts +++ b/x-pack/plugins/observability_solution/synthetics/public/apps/synthetics/state/service_locations/api.ts @@ -8,6 +8,7 @@ import { SYNTHETICS_API_URLS } from '../../../../../common/constants'; import { ServiceLocations, + ServiceLocationsApiResponse, ServiceLocationsApiResponseCodec, ThrottlingOptions, } from '../../../../../common/runtime_types'; @@ -17,7 +18,7 @@ export const fetchServiceLocations = async (): Promise<{ throttling: ThrottlingOptions | undefined; locations: ServiceLocations; }> => { - const { throttling, locations } = await apiService.get( + const { throttling, locations } = await apiService.get( SYNTHETICS_API_URLS.SERVICE_LOCATIONS, undefined, ServiceLocationsApiResponseCodec diff --git a/x-pack/plugins/observability_solution/synthetics/public/plugin.ts b/x-pack/plugins/observability_solution/synthetics/public/plugin.ts index 6f87336a4daef..11ea23ca6da37 100644 --- a/x-pack/plugins/observability_solution/synthetics/public/plugin.ts +++ b/x-pack/plugins/observability_solution/synthetics/public/plugin.ts @@ -40,7 +40,7 @@ import { } from '@kbn/observability-plugin/public'; import { IStorageWrapper } from '@kbn/kibana-utils-plugin/public'; import { Start as InspectorPluginStart } from '@kbn/inspector-plugin/public'; -import { CasesUiStart } from '@kbn/cases-plugin/public'; +import { CasesPublicStart } from '@kbn/cases-plugin/public'; import { CloudSetup, CloudStart } from '@kbn/cloud-plugin/public'; import { DataViewsPublicPluginStart } from '@kbn/data-views-plugin/public'; import { SpacesPluginStart } from '@kbn/spaces-plugin/public'; @@ -87,7 +87,7 @@ export interface ClientPluginsStart { observabilityAIAssistant: ObservabilityAIAssistantPluginStart; share: SharePluginStart; triggersActionsUi: TriggersAndActionsUIPublicPluginStart; - cases: CasesUiStart; + cases: CasesPublicStart; dataViews: DataViewsPublicPluginStart; spaces?: SpacesPluginStart; cloud?: CloudStart; diff --git a/x-pack/plugins/observability_solution/synthetics/public/utils/api_service/api_service.ts b/x-pack/plugins/observability_solution/synthetics/public/utils/api_service/api_service.ts index e077e37d09835..5aac19589bf68 100644 --- a/x-pack/plugins/observability_solution/synthetics/public/utils/api_service/api_service.ts +++ b/x-pack/plugins/observability_solution/synthetics/public/utils/api_service/api_service.ts @@ -9,6 +9,7 @@ import { isRight } from 'fp-ts/lib/Either'; import { formatErrors } from '@kbn/securitysolution-io-ts-utils'; import { HttpFetchQuery, HttpSetup } from '@kbn/core/public'; import { FETCH_STATUS, AddInspectorRequest } from '@kbn/observability-shared-plugin/public'; +import { InspectorRequestProps } from '@kbn/observability-shared-plugin/public/contexts/inspector/inspector_context'; type Params = HttpFetchQuery & { version?: string }; class ApiService { private static instance: ApiService; @@ -68,7 +69,11 @@ class ApiService { version, }); - this.addInspectorRequest?.({ data: response, status: FETCH_STATUS.SUCCESS, loading: false }); + this.addInspectorRequest?.({ + data: response as InspectorRequestProps, + status: FETCH_STATUS.SUCCESS, + loading: false, + }); return this.parseResponse(response, apiUrl, decodeType); } @@ -83,7 +88,11 @@ class ApiService { version, }); - this.addInspectorRequest?.({ data: response, status: FETCH_STATUS.SUCCESS, loading: false }); + this.addInspectorRequest?.({ + data: response as InspectorRequestProps, + status: FETCH_STATUS.SUCCESS, + loading: false, + }); return this.parseResponse(response, apiUrl, decodeType); } diff --git a/x-pack/plugins/observability_solution/synthetics/server/routes/create_route_with_auth.ts b/x-pack/plugins/observability_solution/synthetics/server/routes/create_route_with_auth.ts index d9b6f672eb3e0..aa254e275b9b0 100644 --- a/x-pack/plugins/observability_solution/synthetics/server/routes/create_route_with_auth.ts +++ b/x-pack/plugins/observability_solution/synthetics/server/routes/create_route_with_auth.ts @@ -5,6 +5,7 @@ * 2.0. */ +import { HttpResponsePayload, ResponseError } from '@kbn/core-http-server'; import { ILicense } from '@kbn/licensing-plugin/server'; import { LICENSE_MISSING_ERROR, @@ -23,7 +24,9 @@ function getDefaultWriteAccessFlag(method: SupportedMethod) { return method !== 'GET'; } -export const createSyntheticsRouteWithAuth = ( +export const createSyntheticsRouteWithAuth = < + ClientContract extends HttpResponsePayload | ResponseError = any +>( routeCreator: SyntheticsRestApiRouteFactory ): SyntheticsRoute => { const restRoute = routeCreator(); diff --git a/x-pack/plugins/observability_solution/synthetics/server/routes/types.ts b/x-pack/plugins/observability_solution/synthetics/server/routes/types.ts index aa3f161675ae8..dfbcac3d3b983 100644 --- a/x-pack/plugins/observability_solution/synthetics/server/routes/types.ts +++ b/x-pack/plugins/observability_solution/synthetics/server/routes/types.ts @@ -16,7 +16,7 @@ import { KibanaResponseFactory, IKibanaResponse, } from '@kbn/core/server'; -import { FullValidationConfig } from '@kbn/core-http-server'; +import { FullValidationConfig, HttpResponsePayload, ResponseError } from '@kbn/core-http-server'; import { UptimeEsClient } from '../lib'; import { SyntheticsServerSetup, UptimeRequestHandlerContext } from '../types'; import { SyntheticsMonitorClient } from '../synthetics_service/synthetics_monitor/synthetics_monitor_client'; @@ -60,14 +60,14 @@ export type UMKibanaRoute = UMRouteDefinition< >; export type SyntheticsRestApiRouteFactory< - ClientContract = any, + ClientContract extends HttpResponsePayload | ResponseError = any, Params = any, Query = Record, Body = any > = () => SyntheticsRoute; export type SyntheticsRoute< - ClientContract = unknown, + ClientContract extends HttpResponsePayload | ResponseError = any, Params = Record, Query = Record, Body = any @@ -106,7 +106,7 @@ export interface RouteContext< } export type SyntheticsRouteHandler< - ClientContract, + ClientContract extends HttpResponsePayload | ResponseError = any, Params = Record, Query = Record, Body = any @@ -117,5 +117,5 @@ export type SyntheticsRouteHandler< response, server, savedObjectsClient, - subject: Subject, + subject, }: RouteContext) => Promise | ClientContract>; diff --git a/x-pack/plugins/observability_solution/synthetics/server/synthetics_service/service_api_client.ts b/x-pack/plugins/observability_solution/synthetics/server/synthetics_service/service_api_client.ts index e30b9a18872a9..92d29145593ab 100644 --- a/x-pack/plugins/observability_solution/synthetics/server/synthetics_service/service_api_client.ts +++ b/x-pack/plugins/observability_solution/synthetics/server/synthetics_service/service_api_client.ts @@ -280,15 +280,20 @@ export class ServiceAPIClient { }; } + isLoggable(result: unknown): result is { status?: any; request?: any } { + const objCast = result as object; + return Object.keys(objCast).some((k) => k === 'status' || k === 'request'); + } + logSuccessMessage( url: string, method: string, numMonitors: number, - result: AxiosResponse | ServicePayload + result: AxiosResponse | ServicePayload ) { - if ('status' in result || 'request' in result) { + if (this.isLoggable(result)) { if (result.data) { - this.logger.debug(result.data); + this.logger.debug(result.data as any); } this.logger.debug( `Successfully called service location ${url}${result.request?.path} with method ${method} with ${numMonitors} monitors` diff --git a/x-pack/plugins/observability_solution/uptime/public/legacy_uptime/components/certificates/fingerprint_col.tsx b/x-pack/plugins/observability_solution/uptime/public/legacy_uptime/components/certificates/fingerprint_col.tsx index 8e6d3c5ad86f9..7dd0449ff06f5 100644 --- a/x-pack/plugins/observability_solution/uptime/public/legacy_uptime/components/certificates/fingerprint_col.tsx +++ b/x-pack/plugins/observability_solution/uptime/public/legacy_uptime/components/certificates/fingerprint_col.tsx @@ -24,11 +24,14 @@ export const FingerprintCol: React.FC = ({ cert }) => { return ( - {text} + + {text}{' '} + {(copy) => ( { }); it('render against summary', () => { + // @ts-expect-error upgrade typescript v4.9.5 test object types do not correspond 100% const component = shallowWithRouter(); // dive() removes all unnecessary React-Router wrapping elements expect(component.dive()).toMatchSnapshot(); diff --git a/x-pack/plugins/observability_solution/uptime/public/legacy_uptime/components/monitor/synthetics/step_detail/waterfall/waterfall_filter.tsx b/x-pack/plugins/observability_solution/uptime/public/legacy_uptime/components/monitor/synthetics/step_detail/waterfall/waterfall_filter.tsx index 9480811836800..bd844b9110dab 100644 --- a/x-pack/plugins/observability_solution/uptime/public/legacy_uptime/components/monitor/synthetics/step_detail/waterfall/waterfall_filter.tsx +++ b/x-pack/plugins/observability_solution/uptime/public/legacy_uptime/components/monitor/synthetics/step_detail/waterfall/waterfall_filter.tsx @@ -143,6 +143,7 @@ export const WaterfallFilter = ({ setIsPopoverOpen((prevState) => !prevState)} diff --git a/x-pack/plugins/observability_solution/uptime/public/legacy_uptime/components/monitor/synthetics/waterfall/components/waterfall_marker_icon.tsx b/x-pack/plugins/observability_solution/uptime/public/legacy_uptime/components/monitor/synthetics/waterfall/components/waterfall_marker_icon.tsx index 4bef5fb041520..1171e1ce0650a 100644 --- a/x-pack/plugins/observability_solution/uptime/public/legacy_uptime/components/monitor/synthetics/waterfall/components/waterfall_marker_icon.tsx +++ b/x-pack/plugins/observability_solution/uptime/public/legacy_uptime/components/monitor/synthetics/waterfall/components/waterfall_marker_icon.tsx @@ -34,6 +34,7 @@ export function WaterfallMarkerIcon({ field, label }: { field: string; label: st zIndex={100} button={ = compactView ? ( (params: TParams, operationName?: string) { + async search(params: TParams, operationName?: string) { return this.callES.search(params, operationName); } diff --git a/x-pack/plugins/observability_solution/uptime/server/legacy_uptime/lib/requests/search/refine_potential_matches.ts b/x-pack/plugins/observability_solution/uptime/server/legacy_uptime/lib/requests/search/refine_potential_matches.ts index c1e4150f11cf3..7956966ec71c5 100644 --- a/x-pack/plugins/observability_solution/uptime/server/legacy_uptime/lib/requests/search/refine_potential_matches.ts +++ b/x-pack/plugins/observability_solution/uptime/server/legacy_uptime/lib/requests/search/refine_potential_matches.ts @@ -99,6 +99,7 @@ export const summaryPingsToSummary = (summaryPings: Ping[]): MonitorSummary => { status: summaryPings.some((p) => (p.summary?.down ?? 0) > 0) ? 'down' : 'up', }, summaryPings, + // @ts-expect-error upgrade typescript v4.9.5 tls: latest.tls, // easier to ensure to use '' for an empty geo name in terms of types observer: { diff --git a/x-pack/plugins/observability_solution/uptime/server/legacy_uptime/routes/types.ts b/x-pack/plugins/observability_solution/uptime/server/legacy_uptime/routes/types.ts index 22e34437e5d1b..d7ab40c4891d1 100644 --- a/x-pack/plugins/observability_solution/uptime/server/legacy_uptime/routes/types.ts +++ b/x-pack/plugins/observability_solution/uptime/server/legacy_uptime/routes/types.ts @@ -100,7 +100,7 @@ export type UMRouteHandler = ({ response, server, savedObjectsClient, - subject, + subject, // @ts-expect-error upgrade typescript v4.9.5 }: UptimeRouteContext) => Promise | ClientContract>; export interface RouteContext> { diff --git a/x-pack/plugins/observability_solution/ux/public/application/ux_app.tsx b/x-pack/plugins/observability_solution/ux/public/application/ux_app.tsx index e8fdbb96b5e7b..e9e7d72dd7204 100644 --- a/x-pack/plugins/observability_solution/ux/public/application/ux_app.tsx +++ b/x-pack/plugins/observability_solution/ux/public/application/ux_app.tsx @@ -49,6 +49,7 @@ import { PluginContext } from '../context/plugin_context'; export type BreadcrumbTitle = | string + // @ts-expect-error upgrade typescript v4.9.5 | ((props: RouteComponentProps) => string) | null; diff --git a/x-pack/plugins/observability_solution/ux/public/components/app/rum_dashboard/ux_overview_fetchers.ts b/x-pack/plugins/observability_solution/ux/public/components/app/rum_dashboard/ux_overview_fetchers.ts index c15043181aa85..f4841d6a10d8e 100644 --- a/x-pack/plugins/observability_solution/ux/public/components/app/rum_dashboard/ux_overview_fetchers.ts +++ b/x-pack/plugins/observability_solution/ux/public/components/app/rum_dashboard/ux_overview_fetchers.ts @@ -132,6 +132,7 @@ async function esQuery( dataStartPlugin: DataPublicPluginStart, query: IKibanaSearchRequest & { params: { index?: string } } ) { + // @ts-expect-error upgrade typescript v4.9.5 return new Promise>( (resolve, reject) => { const search$ = dataStartPlugin.search diff --git a/x-pack/plugins/osquery/common/utility_types.ts b/x-pack/plugins/osquery/common/utility_types.ts index 75a30adad3bf1..17e1bb65dfd64 100644 --- a/x-pack/plugins/osquery/common/utility_types.ts +++ b/x-pack/plugins/osquery/common/utility_types.ts @@ -20,8 +20,10 @@ export const unionWithNullType = (type: T) => export const stringEnum = (enumObj: T, enumName = 'enum') => new runtimeTypes.Type( enumName, + // @ts-expect-error upgrade typescript v4.9.5 (u): u is T[keyof T] => Object.values(enumObj).includes(u), (u, c) => + // @ts-expect-error upgrade typescript v4.9.5 Object.values(enumObj).includes(u) ? runtimeTypes.success(u as T[keyof T]) : runtimeTypes.failure(u, c), diff --git a/x-pack/plugins/osquery/public/live_queries/form/index.tsx b/x-pack/plugins/osquery/public/live_queries/form/index.tsx index 65f3833c1c92e..6b99e6228be49 100644 --- a/x-pack/plugins/osquery/public/live_queries/form/index.tsx +++ b/x-pack/plugins/osquery/public/live_queries/form/index.tsx @@ -17,7 +17,6 @@ import { containsDynamicQuery, replaceParamsQuery, } from '../../../common/utils/replace_params_query'; -import { PLUGIN_NAME as OSQUERY_PLUGIN_NAME } from '../../../common'; import { QueryPackSelectable } from './query_pack_selectable'; import type { SavedQuerySOFormData } from '../../saved_queries/form/use_saved_query_form'; import { useKibana } from '../../common/lib/kibana'; @@ -76,7 +75,7 @@ const LiveQueryFormComponent: React.FC = ({ }) => { const alertAttachmentContext = useContext(AlertAttachmentContext); - const { application, appName } = useKibana().services; + const { application } = useKibana().services; const permissions = application.capabilities.osquery; const canRunPacks = useMemo( () => @@ -331,11 +330,7 @@ const LiveQueryFormComponent: React.FC = ({ {showSavedQueryFlyout ? ( - + ) : null} ); diff --git a/x-pack/plugins/osquery/public/live_queries/form/query_details_flyout.tsx b/x-pack/plugins/osquery/public/live_queries/form/query_details_flyout.tsx index c4283e67e42cd..d49fdd390304f 100644 --- a/x-pack/plugins/osquery/public/live_queries/form/query_details_flyout.tsx +++ b/x-pack/plugins/osquery/public/live_queries/form/query_details_flyout.tsx @@ -26,17 +26,10 @@ interface QueryDetailsFlyoutProps { }; onClose: () => void; } -const additionalZIndexStyle = { style: 'z-index: 6000' }; const QueryDetailsFlyoutComponent: React.FC = ({ action, onClose }) => ( - +

diff --git a/x-pack/plugins/osquery/public/saved_queries/saved_query_flyout.tsx b/x-pack/plugins/osquery/public/saved_queries/saved_query_flyout.tsx index c6df04ec1ae43..cbbfefce11a4f 100644 --- a/x-pack/plugins/osquery/public/saved_queries/saved_query_flyout.tsx +++ b/x-pack/plugins/osquery/public/saved_queries/saved_query_flyout.tsx @@ -30,16 +30,9 @@ import { useCreateSavedQuery } from './use_create_saved_query'; interface AddQueryFlyoutProps { defaultValue: SavedQuerySOFormData; onClose: () => void; - isExternal?: boolean; } -const additionalZIndexStyle = { style: 'z-index: 6000' }; - -const SavedQueryFlyoutComponent: React.FC = ({ - defaultValue, - onClose, - isExternal, -}) => { +const SavedQueryFlyoutComponent: React.FC = ({ defaultValue, onClose }) => { const createSavedQueryMutation = useCreateSavedQuery({ withRedirect: false }); const hooksForm = useSavedQueryForm({ @@ -67,7 +60,6 @@ const SavedQueryFlyoutComponent: React.FC = ({ ownFocus onClose={onClose} aria-labelledby="flyoutTitle" - maskProps={isExternal ? additionalZIndexStyle : undefined} // For an edge case to display above the alerts flyout > diff --git a/x-pack/plugins/osquery/public/types.ts b/x-pack/plugins/osquery/public/types.ts index 8e6ea4354d283..e2f88c2a8f3dc 100644 --- a/x-pack/plugins/osquery/public/types.ts +++ b/x-pack/plugins/osquery/public/types.ts @@ -16,7 +16,7 @@ import type { TriggersAndActionsUIPublicPluginSetup, TriggersAndActionsUIPublicPluginStart, } from '@kbn/triggers-actions-ui-plugin/public'; -import type { CasesUiStart, CasesUiSetup } from '@kbn/cases-plugin/public'; +import type { CasesPublicStart, CasesPublicSetup } from '@kbn/cases-plugin/public'; import type { TimelinesUIStart } from '@kbn/timelines-plugin/public'; import type { getLazyLiveQueryField, @@ -52,14 +52,14 @@ export interface StartPlugins { lens?: LensPublicStart; security: SecurityPluginStart; triggersActionsUi: TriggersAndActionsUIPublicPluginStart; - cases: CasesUiStart; + cases: CasesPublicStart; timelines: TimelinesUIStart; appName?: string; } export interface SetupPlugins { triggersActionsUi: TriggersAndActionsUIPublicPluginSetup; - cases?: CasesUiSetup; + cases?: CasesPublicSetup; } export type StartServices = CoreStart & StartPlugins; diff --git a/x-pack/plugins/osquery/server/types.ts b/x-pack/plugins/osquery/server/types.ts index b4893193e7112..ac43d8818d62a 100644 --- a/x-pack/plugins/osquery/server/types.ts +++ b/x-pack/plugins/osquery/server/types.ts @@ -21,7 +21,7 @@ import type { } from '@kbn/task-manager-plugin/server'; import type { PluginStart as DataViewsPluginStart } from '@kbn/data-views-plugin/server'; import type { RuleRegistryPluginStartContract } from '@kbn/rule-registry-plugin/server'; -import type { CasesSetup } from '@kbn/cases-plugin/server'; +import type { CasesServerSetup } from '@kbn/cases-plugin/server'; import type { LicensingPluginSetup } from '@kbn/licensing-plugin/server'; import type { createActionService } from './handlers/action/create_action_service'; @@ -34,7 +34,7 @@ export interface OsqueryPluginStart {} export interface SetupPlugins { actions: ActionsPlugin['setup']; - cases: CasesSetup; + cases: CasesServerSetup; data: DataPluginSetup; features: PluginSetupContract; security: SecurityPluginStart; diff --git a/x-pack/plugins/reporting/public/lib/__snapshots__/stream_handler.test.ts.snap b/x-pack/plugins/reporting/public/lib/__snapshots__/stream_handler.test.ts.snap index ab6a5109a1066..8f277f6d92c31 100644 --- a/x-pack/plugins/reporting/public/lib/__snapshots__/stream_handler.test.ts.snap +++ b/x-pack/plugins/reporting/public/lib/__snapshots__/stream_handler.test.ts.snap @@ -38,201 +38,209 @@ Object { exports[`stream handler showNotifications show csv formulas warning 1`] = ` Array [ - Object { - "data-test-subj": "completeReportCsvFormulasWarning", - "text": MountPoint { - "reactNode": -

- +

+ +

+

+ +

+ -

-

- -

- , + }, + "title": MountPoint { + "reactNode": -
, + />, + }, }, - "title": MountPoint { - "reactNode": , + Object { + "toastLifeTimeMs": 86400000, }, - }, - Object { - "toastLifeTimeMs": 86400000, - }, + ], ] `; exports[`stream handler showNotifications show failed job toast 1`] = ` Array [ - Object { - "data-test-subj": "completeReportFailure", - "iconType": undefined, - "text": MountPoint { - "reactNode": - - this is the failed report error - - -

- - - , + Array [ + Object { + "data-test-subj": "completeReportFailure", + "iconType": undefined, + "text": MountPoint { + "reactNode": + + this is the failed report error + + +

+ + + , + } } + /> +

+
, + }, + "title": MountPoint { + "reactNode": -

- , - }, - "title": MountPoint { - "reactNode": , + />, + }, }, - }, + ], ] `; exports[`stream handler showNotifications show max length warning 1`] = ` Array [ - Object { - "data-test-subj": "completeReportMaxSizeWarning", - "text": MountPoint { - "reactNode": -

- -

-

- +

+ +

+

+ +

+ -

- , + }, + "title": MountPoint { + "reactNode": -
, + />, + }, }, - "title": MountPoint { - "reactNode": , + Object { + "toastLifeTimeMs": 86400000, }, - }, - Object { - "toastLifeTimeMs": 86400000, - }, + ], ] `; exports[`stream handler showNotifications show success 1`] = ` Array [ - Object { - "color": "success", - "data-test-subj": "completeReportSuccess", - "text": MountPoint { - "reactNode": -

- +

+ +

+ -

- , + }, + "title": MountPoint { + "reactNode": -
, + />, + }, }, - "title": MountPoint { - "reactNode": , + Object { + "toastLifeTimeMs": 86400000, }, - }, - Object { - "toastLifeTimeMs": 86400000, - }, + ], ] `; diff --git a/x-pack/plugins/reporting/public/lib/stream_handler.test.ts b/x-pack/plugins/reporting/public/lib/stream_handler.test.ts index 8cbe47e8b6e80..37ef7967ae287 100644 --- a/x-pack/plugins/reporting/public/lib/stream_handler.test.ts +++ b/x-pack/plugins/reporting/public/lib/stream_handler.test.ts @@ -5,22 +5,27 @@ * 2.0. */ -import sinon, { stub } from 'sinon'; - import { NotificationsStart } from '@kbn/core/public'; import { coreMock, docLinksServiceMock, themeServiceMock } from '@kbn/core/public/mocks'; -import { ReportApiJSON } from '@kbn/reporting-common/types'; +import { JobId, ReportApiJSON } from '@kbn/reporting-common/types'; -import { JobSummary } from '../types'; +import { JobSummary, JobSummarySet } from '../types'; import { Job, ReportingAPIClient } from '@kbn/reporting-public'; import { ReportingNotifierStreamHandler } from './stream_handler'; -Object.defineProperty(window, 'sessionStorage', { - value: { - setItem: jest.fn(() => null), - }, - writable: true, -}); +/** + * A test class that subclasses the main class with testable + * methods that access private methods indirectly. + */ +class TestReportingNotifierStreamHandler extends ReportingNotifierStreamHandler { + public testFindChangedStatusJobs(previousPending: JobId[]) { + return this.findChangedStatusJobs(previousPending); + } + + public testShowNotifications(jobs: JobSummarySet) { + return this.showNotifications(jobs); + } +} const mockJobsFound: Job[] = [ { id: 'job-source-mock1', status: 'completed', output: { csv_contains_formulas: false, max_size_reached: false }, payload: { title: 'specimen' } }, @@ -38,9 +43,9 @@ jobQueueClientMock.getError = () => Promise.resolve('this is the failed report e jobQueueClientMock.getManagementLink = () => '/#management'; jobQueueClientMock.getReportURL = () => '/reporting/download/job-123'; -const mockShowDanger = stub(); -const mockShowSuccess = stub(); -const mockShowWarning = stub(); +const mockShowDanger = jest.fn(); +const mockShowSuccess = jest.fn(); +const mockShowWarning = jest.fn(); const notificationsMock = { toasts: { addDanger: mockShowDanger, @@ -54,11 +59,11 @@ const docLink = docLinksServiceMock.createStartContract(); describe('stream handler', () => { afterEach(() => { - sinon.reset(); + jest.resetAllMocks(); }); it('constructs', () => { - const sh = new ReportingNotifierStreamHandler( + const sh = new TestReportingNotifierStreamHandler( notificationsMock, jobQueueClientMock, theme, @@ -69,13 +74,13 @@ describe('stream handler', () => { describe('findChangedStatusJobs', () => { it('finds no changed status jobs from empty', (done) => { - const sh = new ReportingNotifierStreamHandler( + const sh = new TestReportingNotifierStreamHandler( notificationsMock, jobQueueClientMock, theme, docLink ); - const findJobs = sh.findChangedStatusJobs([]); + const findJobs = sh.testFindChangedStatusJobs([]); findJobs.subscribe((data) => { expect(data).toEqual({ completed: [], failed: [] }); done(); @@ -83,13 +88,13 @@ describe('stream handler', () => { }); it('finds changed status jobs', (done) => { - const sh = new ReportingNotifierStreamHandler( + const sh = new TestReportingNotifierStreamHandler( notificationsMock, jobQueueClientMock, theme, docLink ); - const findJobs = sh.findChangedStatusJobs([ + const findJobs = sh.testFindChangedStatusJobs([ 'job-source-mock1', 'job-source-mock2', 'job-source-mock3', @@ -105,13 +110,13 @@ describe('stream handler', () => { describe('showNotifications', () => { it('show success', (done) => { - const sh = new ReportingNotifierStreamHandler( + const sh = new TestReportingNotifierStreamHandler( notificationsMock, jobQueueClientMock, theme, docLink ); - sh.showNotifications({ + sh.testShowNotifications({ completed: [ { id: 'yas1', @@ -122,22 +127,22 @@ describe('stream handler', () => { ], failed: [], }).subscribe(() => { - expect(mockShowDanger.callCount).toBe(0); - expect(mockShowSuccess.callCount).toBe(1); - expect(mockShowWarning.callCount).toBe(0); - expect(mockShowSuccess.args[0]).toMatchSnapshot(); + expect(mockShowDanger).not.toBeCalled(); + expect(mockShowSuccess).toBeCalledTimes(1); + expect(mockShowWarning).not.toBeCalled(); + expect(mockShowSuccess.mock.calls).toMatchSnapshot(); done(); }); }); it('show max length warning', (done) => { - const sh = new ReportingNotifierStreamHandler( + const sh = new TestReportingNotifierStreamHandler( notificationsMock, jobQueueClientMock, theme, docLink ); - sh.showNotifications({ + sh.testShowNotifications({ completed: [ { id: 'yas2', @@ -149,22 +154,22 @@ describe('stream handler', () => { ], failed: [], }).subscribe(() => { - expect(mockShowDanger.callCount).toBe(0); - expect(mockShowSuccess.callCount).toBe(0); - expect(mockShowWarning.callCount).toBe(1); - expect(mockShowWarning.args[0]).toMatchSnapshot(); + expect(mockShowDanger).not.toBeCalled(); + expect(mockShowSuccess).not.toBeCalled(); + expect(mockShowWarning).toBeCalledTimes(1); + expect(mockShowWarning.mock.calls).toMatchSnapshot(); done(); }); }); it('show csv formulas warning', (done) => { - const sh = new ReportingNotifierStreamHandler( + const sh = new TestReportingNotifierStreamHandler( notificationsMock, jobQueueClientMock, theme, docLink ); - sh.showNotifications({ + sh.testShowNotifications({ completed: [ { id: 'yas3', @@ -176,22 +181,22 @@ describe('stream handler', () => { ], failed: [], }).subscribe(() => { - expect(mockShowDanger.callCount).toBe(0); - expect(mockShowSuccess.callCount).toBe(0); - expect(mockShowWarning.callCount).toBe(1); - expect(mockShowWarning.args[0]).toMatchSnapshot(); + expect(mockShowDanger).not.toBeCalled(); + expect(mockShowSuccess).not.toBeCalled(); + expect(mockShowWarning).toBeCalledTimes(1); + expect(mockShowWarning.mock.calls).toMatchSnapshot(); done(); }); }); it('show failed job toast', (done) => { - const sh = new ReportingNotifierStreamHandler( + const sh = new TestReportingNotifierStreamHandler( notificationsMock, jobQueueClientMock, theme, docLink ); - sh.showNotifications({ + sh.testShowNotifications({ completed: [], failed: [ { @@ -202,22 +207,22 @@ describe('stream handler', () => { } as JobSummary, ], }).subscribe(() => { - expect(mockShowSuccess.callCount).toBe(0); - expect(mockShowWarning.callCount).toBe(0); - expect(mockShowDanger.callCount).toBe(1); - expect(mockShowDanger.args[0]).toMatchSnapshot(); + expect(mockShowSuccess).not.toBeCalled(); + expect(mockShowWarning).not.toBeCalled(); + expect(mockShowDanger).toBeCalledTimes(1); + expect(mockShowDanger.mock.calls).toMatchSnapshot(); done(); }); }); it('show multiple toast', (done) => { - const sh = new ReportingNotifierStreamHandler( + const sh = new TestReportingNotifierStreamHandler( notificationsMock, jobQueueClientMock, theme, docLink ); - sh.showNotifications({ + sh.testShowNotifications({ completed: [ { id: 'yas8', @@ -249,9 +254,9 @@ describe('stream handler', () => { } as JobSummary, ], }).subscribe(() => { - expect(mockShowSuccess.callCount).toBe(1); - expect(mockShowWarning.callCount).toBe(2); - expect(mockShowDanger.callCount).toBe(1); + expect(mockShowSuccess).toBeCalledTimes(1); + expect(mockShowWarning).toBeCalledTimes(2); + expect(mockShowDanger).toBeCalledTimes(1); done(); }); }); diff --git a/x-pack/plugins/reporting/public/lib/stream_handler.ts b/x-pack/plugins/reporting/public/lib/stream_handler.ts index 8b35485dd7f97..2a7124e1e5e3c 100644 --- a/x-pack/plugins/reporting/public/lib/stream_handler.ts +++ b/x-pack/plugins/reporting/public/lib/stream_handler.ts @@ -6,14 +6,14 @@ */ import * as Rx from 'rxjs'; -import { catchError, map } from 'rxjs/operators'; +import { catchError, filter, map, mergeMap, takeUntil } from 'rxjs/operators'; import { DocLinksStart, NotificationsSetup, ThemeServiceStart } from '@kbn/core/public'; import { i18n } from '@kbn/i18n'; -import { JOB_COMPLETION_NOTIFICATIONS_SESSION_KEY, JOB_STATUS } from '@kbn/reporting-common'; +import { JOB_STATUS } from '@kbn/reporting-common'; import { JobId } from '@kbn/reporting-common/types'; -import { Job, ReportingAPIClient } from '@kbn/reporting-public'; +import { Job, ReportingAPIClient, jobCompletionNotifications } from '@kbn/reporting-public'; import { getFailureToast, getGeneralErrorToast, @@ -30,10 +30,6 @@ import { JobSummary, JobSummarySet } from '../types'; */ const COMPLETED_JOB_TOAST_TIMEOUT = 24 * 60 * 60 * 1000; // 24 hours -function updateStored(jobIds: JobId[]): void { - sessionStorage.setItem(JOB_COMPLETION_NOTIFICATIONS_SESSION_KEY, JSON.stringify(jobIds)); -} - function getReportStatus(src: Job): JobSummary { return { id: src.id, @@ -46,7 +42,27 @@ function getReportStatus(src: Job): JobSummary { }; } +function handleError( + err: Error, + notifications: NotificationsSetup, + theme: ThemeServiceStart +): Rx.Observable { + notifications.toasts.addDanger( + getGeneralErrorToast( + i18n.translate('xpack.reporting.publicNotifier.pollingErrorMessage', { + defaultMessage: 'Reporting notifier error!', + }), + err, + theme + ) + ); + window.console.error(err); + return Rx.of({ completed: [], failed: [] }); +} + export class ReportingNotifierStreamHandler { + private jobCompletionNotifications = jobCompletionNotifications(); + constructor( private notifications: NotificationsSetup, private apiClient: ReportingAPIClient, @@ -54,72 +70,70 @@ export class ReportingNotifierStreamHandler { private docLinks: DocLinksStart ) {} + public startPolling(interval: number, stop$: Rx.Observable) { + Rx.timer(0, interval) + .pipe( + takeUntil(stop$), // stop the interval when stop method is called + map(this.jobCompletionNotifications.getPendingJobIds), // read all pending job IDs from session storage + filter((previousPending) => previousPending.length > 0), // stop the pipeline here if there are none pending + mergeMap((previousPending) => this.findChangedStatusJobs(previousPending)), // look up the latest status of all pending jobs on the server + mergeMap(({ completed, failed }) => this.showNotifications({ completed, failed })), + catchError((err) => { + // eslint-disable-next-line no-console + console.error(err); + return handleError(err, this.notifications, this.theme); + }) + ) + .subscribe(); + } + /* * Use Kibana Toast API to show our messages */ - public showNotifications({ + protected showNotifications({ completed: completedJobs, failed: failedJobs, }: JobSummarySet): Rx.Observable { + const notifications = this.notifications; + const apiClient = this.apiClient; + const theme = this.theme; + const docLinks = this.docLinks; + const getManagementLink = apiClient.getManagementLink.bind(apiClient); + const getDownloadLink = apiClient.getDownloadLink.bind(apiClient); + const showNotificationsAsync = async () => { const completedOptions = { toastLifeTimeMs: COMPLETED_JOB_TOAST_TIMEOUT }; // notifications with download link - for (const job of completedJobs) { + for (const job of completedJobs ?? []) { if (job.csvContainsFormulas) { - this.notifications.toasts.addWarning( - getWarningFormulasToast( - job, - this.apiClient.getManagementLink, - this.apiClient.getDownloadLink, - this.theme - ), + notifications.toasts.addWarning( + getWarningFormulasToast(job, getManagementLink, getDownloadLink, theme), completedOptions ); } else if (job.maxSizeReached) { - this.notifications.toasts.addWarning( - getWarningMaxSizeToast( - job, - this.apiClient.getManagementLink, - this.apiClient.getDownloadLink, - this.theme - ), + notifications.toasts.addWarning( + getWarningMaxSizeToast(job, getManagementLink, getDownloadLink, theme), completedOptions ); } else if (job.status === JOB_STATUS.WARNINGS) { - this.notifications.toasts.addWarning( - getWarningToast( - job, - this.apiClient.getManagementLink, - this.apiClient.getDownloadLink, - this.theme - ), + notifications.toasts.addWarning( + getWarningToast(job, getManagementLink, getDownloadLink, theme), completedOptions ); } else { - this.notifications.toasts.addSuccess( - getSuccessToast( - job, - this.apiClient.getManagementLink, - this.apiClient.getDownloadLink, - this.theme - ), + notifications.toasts.addSuccess( + getSuccessToast(job, getManagementLink, getDownloadLink, theme), completedOptions ); } } // no download link available - for (const job of failedJobs) { - const errorText = await this.apiClient.getError(job.id); + for (const job of failedJobs ?? []) { + const errorText = await apiClient.getError(job.id); this.notifications.toasts.addDanger( - getFailureToast( - errorText, - job, - this.apiClient.getManagementLink, - this.theme, - this.docLinks - ) + getFailureToast(errorText, job, getManagementLink, theme, docLinks) ); } return { completed: completedJobs, failed: failedJobs }; @@ -132,29 +146,35 @@ export class ReportingNotifierStreamHandler { * An observable that finds jobs that are known to be "processing" (stored in * session storage) but have non-processing job status on the server */ - public findChangedStatusJobs(storedJobs: JobId[]): Rx.Observable { - return Rx.from(this.apiClient.findForJobIds(storedJobs)).pipe( - map((jobs) => { - const completedJobs: JobSummary[] = []; - const failedJobs: JobSummary[] = []; - const pending: JobId[] = []; - - // add side effects to storage - for (const job of jobs) { - const { id: jobId, status: jobStatus } = job; - if (storedJobs.includes(jobId)) { - if (jobStatus === JOB_STATUS.COMPLETED || jobStatus === JOB_STATUS.WARNINGS) { - completedJobs.push(getReportStatus(job)); - } else if (jobStatus === JOB_STATUS.FAILED) { - failedJobs.push(getReportStatus(job)); - } else { - pending.push(jobId); - } + protected findChangedStatusJobs(previousPending: JobId[]): Rx.Observable { + return Rx.from(this.apiClient.findForJobIds(previousPending)).pipe( + mergeMap(async (jobs) => { + const newCompleted: JobSummary[] = []; + const newFailed: JobSummary[] = []; + const newPending: JobId[] = []; + + for (const pendingJobId of previousPending) { + const updatedJob = jobs.find(({ id }) => id === pendingJobId); + if ( + updatedJob?.status === JOB_STATUS.COMPLETED || + updatedJob?.status === JOB_STATUS.WARNINGS + ) { + newCompleted.push(getReportStatus(updatedJob)); + } else if (updatedJob?.status === JOB_STATUS.FAILED) { + newFailed.push(getReportStatus(updatedJob)); + } else { + // Keep job tracked in storage if is pending. It also + // may not be present in apiClient.findForJobIds + // response if index refresh is slow + newPending.push(pendingJobId); } } - updateStored(pending); // refresh the storage of pending job IDs, minus completed and failed job IDs - return { completed: completedJobs, failed: failedJobs }; + // refresh the storage of pending job IDs, minus + // the newly completed and failed jobs + this.jobCompletionNotifications.setPendingJobIds(newPending); + + return { completed: newCompleted, failed: newFailed }; }), catchError((err) => { // show connection refused toast @@ -166,9 +186,9 @@ export class ReportingNotifierStreamHandler { err, this.theme ) - ); // prettier-ignore + ); window.console.error(err); - return Rx.of({ completed: [], failed: [] }); // log the error and resume + return Rx.of({}); }) ); } diff --git a/x-pack/plugins/reporting/public/plugin.ts b/x-pack/plugins/reporting/public/plugin.ts index edcc2affaa3dd..5f58d5f115c5d 100644 --- a/x-pack/plugins/reporting/public/plugin.ts +++ b/x-pack/plugins/reporting/public/plugin.ts @@ -6,17 +6,14 @@ */ import * as Rx from 'rxjs'; -import { catchError, filter, map, mergeMap, takeUntil } from 'rxjs/operators'; import { CoreSetup, CoreStart, HttpSetup, IUiSettingsClient, - NotificationsSetup, Plugin, PluginInitializerContext, - ThemeServiceStart, } from '@kbn/core/public'; import type { DataPublicPluginStart } from '@kbn/data-plugin/public'; import { CONTEXT_MENU_TRIGGER } from '@kbn/embeddable-plugin/public'; @@ -26,45 +23,20 @@ import type { LicensingPluginStart } from '@kbn/licensing-plugin/public'; import type { ManagementSetup, ManagementStart } from '@kbn/management-plugin/public'; import type { ScreenshotModePluginSetup } from '@kbn/screenshot-mode-plugin/public'; -import { JOB_COMPLETION_NOTIFICATIONS_SESSION_KEY, durationToNumber } from '@kbn/reporting-common'; -import type { JobId } from '@kbn/reporting-common/types'; -import { ClientConfigType, ReportingAPIClient } from '@kbn/reporting-public'; +import { durationToNumber } from '@kbn/reporting-common'; +import type { ClientConfigType } from '@kbn/reporting-public'; +import { ReportingAPIClient } from '@kbn/reporting-public'; import type { SharePluginSetup, SharePluginStart } from '@kbn/share-plugin/public'; import type { UiActionsSetup, UiActionsStart } from '@kbn/ui-actions-plugin/public'; import { getSharedComponents, - reportingScreenshotShareProvider, reportingCsvShareProvider, + reportingScreenshotShareProvider, } from '@kbn/reporting-public/share'; import type { ReportingSetup, ReportingStart } from '.'; import { ReportingNotifierStreamHandler as StreamHandler } from './lib/stream_handler'; -import { getGeneralErrorToast } from './notifier'; import { ReportingCsvPanelAction } from './panel_actions/get_csv_panel_action'; -import type { JobSummarySet } from './types'; - -function getStored(): JobId[] { - const sessionValue = sessionStorage.getItem(JOB_COMPLETION_NOTIFICATIONS_SESSION_KEY); - return sessionValue ? JSON.parse(sessionValue) : []; -} - -function handleError( - notifications: NotificationsSetup, - err: Error, - theme: ThemeServiceStart -): Rx.Observable { - notifications.toasts.addDanger( - getGeneralErrorToast( - i18n.translate('xpack.reporting.publicNotifier.pollingErrorMessage', { - defaultMessage: 'Reporting notifier error!', - }), - err, - theme - ) - ); - window.console.error(err); - return Rx.of({ completed: [], failed: [] }); -} export interface ReportingPublicPluginSetupDependencies { home: HomePublicPluginSetup; @@ -265,16 +237,7 @@ export class ReportingPublicPlugin const apiClient = this.getApiClient(core.http, core.uiSettings); const streamHandler = new StreamHandler(notifications, apiClient, core.theme, docLinks); const interval = durationToNumber(this.config.poll.jobsRefresh.interval); - Rx.timer(0, interval) - .pipe( - takeUntil(this.stop$), // stop the interval when stop method is called - map(() => getStored()), // read all pending job IDs from session storage - filter((storedJobs) => storedJobs.length > 0), // stop the pipeline here if there are none pending - mergeMap((storedJobs) => streamHandler.findChangedStatusJobs(storedJobs)), // look up the latest status of all pending jobs on the server - mergeMap(({ completed, failed }) => streamHandler.showNotifications({ completed, failed })), - catchError((err) => handleError(notifications, err, core.theme)) - ) - .subscribe(); + streamHandler.startPolling(interval, this.stop$); return this.getContract(); } diff --git a/x-pack/plugins/reporting/public/types.ts b/x-pack/plugins/reporting/public/types.ts index dcc887ef9a84d..d5af032db617c 100644 --- a/x-pack/plugins/reporting/public/types.ts +++ b/x-pack/plugins/reporting/public/types.ts @@ -27,6 +27,6 @@ export interface JobSummary { * @internal */ export interface JobSummarySet { - completed: JobSummary[]; - failed: JobSummary[]; + completed?: JobSummary[]; + failed?: JobSummary[]; } diff --git a/x-pack/plugins/security/common/licensing/index.mock.ts b/x-pack/plugins/security/common/licensing/index.mock.ts index 7065deb939c1f..9d2fef049de82 100644 --- a/x-pack/plugins/security/common/licensing/index.mock.ts +++ b/x-pack/plugins/security/common/licensing/index.mock.ts @@ -17,6 +17,7 @@ export const licenseMock = { licenseType: LicenseType = 'basic' // default to basic if this is not specified ): jest.Mocked => ({ isLicenseAvailable: jest.fn().mockReturnValue(true), + getUnavailableReason: jest.fn(), isEnabled: jest.fn().mockReturnValue(true), getFeatures: jest.fn().mockReturnValue(features), hasAtLeast: jest diff --git a/x-pack/plugins/security/common/licensing/license_service.ts b/x-pack/plugins/security/common/licensing/license_service.ts index 4372fa918e492..9605e4262347a 100644 --- a/x-pack/plugins/security/common/licensing/license_service.ts +++ b/x-pack/plugins/security/common/licensing/license_service.ts @@ -28,6 +28,8 @@ export class SecurityLicenseService { license: Object.freeze({ isLicenseAvailable: () => rawLicense?.isAvailable ?? false, + getUnavailableReason: () => rawLicense?.getUnavailableReason(), + isEnabled: () => this.isSecurityEnabledFromRawLicense(rawLicense), hasAtLeast: (licenseType: LicenseType) => rawLicense?.hasAtLeast(licenseType), diff --git a/x-pack/plugins/security/public/management/roles/edit_role/privileges/es/__snapshots__/elasticsearch_privileges.test.tsx.snap b/x-pack/plugins/security/public/management/roles/edit_role/privileges/es/__snapshots__/elasticsearch_privileges.test.tsx.snap index 8f160c6e57abc..056e42ef2cc17 100644 --- a/x-pack/plugins/security/public/management/roles/edit_role/privileges/es/__snapshots__/elasticsearch_privileges.test.tsx.snap +++ b/x-pack/plugins/security/public/management/roles/edit_role/privileges/es/__snapshots__/elasticsearch_privileges.test.tsx.snap @@ -177,6 +177,7 @@ exports[`it renders without crashing 1`] = ` "_subscribe": [Function], }, "getFeatures": [MockFunction], + "getUnavailableReason": [MockFunction], "hasAtLeast": [MockFunction], "isEnabled": [MockFunction], "isLicenseAvailable": [MockFunction], diff --git a/x-pack/plugins/security/public/management/roles/edit_role/privileges/es/__snapshots__/index_privileges.test.tsx.snap b/x-pack/plugins/security/public/management/roles/edit_role/privileges/es/__snapshots__/index_privileges.test.tsx.snap index a193988ffd224..d99dac15df58f 100644 --- a/x-pack/plugins/security/public/management/roles/edit_role/privileges/es/__snapshots__/index_privileges.test.tsx.snap +++ b/x-pack/plugins/security/public/management/roles/edit_role/privileges/es/__snapshots__/index_privileges.test.tsx.snap @@ -24,6 +24,7 @@ exports[`it renders without crashing 1`] = ` "_subscribe": [Function], }, "getFeatures": [MockFunction], + "getUnavailableReason": [MockFunction], "hasAtLeast": [MockFunction], "isEnabled": [MockFunction], "isLicenseAvailable": [MockFunction], diff --git a/x-pack/plugins/security/public/plugin.test.tsx b/x-pack/plugins/security/public/plugin.test.tsx index fdab78a1f91d0..61cc138c38a20 100644 --- a/x-pack/plugins/security/public/plugin.test.tsx +++ b/x-pack/plugins/security/public/plugin.test.tsx @@ -39,6 +39,7 @@ describe('Security Plugin', () => { license: { isLicenseAvailable: expect.any(Function), isEnabled: expect.any(Function), + getUnavailableReason: expect.any(Function), getFeatures: expect.any(Function), hasAtLeast: expect.any(Function), features$: expect.any(Observable), @@ -66,6 +67,7 @@ describe('Security Plugin', () => { license: { isLicenseAvailable: expect.any(Function), isEnabled: expect.any(Function), + getUnavailableReason: expect.any(Function), getFeatures: expect.any(Function), hasAtLeast: expect.any(Function), features$: expect.any(Observable), diff --git a/x-pack/plugins/security/server/authentication/authentication_service.test.ts b/x-pack/plugins/security/server/authentication/authentication_service.test.ts index 3f985df49cef1..0572c6c804d22 100644 --- a/x-pack/plugins/security/server/authentication/authentication_service.test.ts +++ b/x-pack/plugins/security/server/authentication/authentication_service.test.ts @@ -206,7 +206,7 @@ describe('AuthenticationService', () => { expect(mockResponse.customError).toHaveBeenCalledTimes(1); expect(mockResponse.customError).toHaveBeenCalledWith({ - body: 'License is not available.', + body: 'License information could not be obtained from Elasticsearch. Please check the logs for further details.', statusCode: 503, headers: { 'Retry-After': '30' }, }); diff --git a/x-pack/plugins/security/server/authentication/authentication_service.ts b/x-pack/plugins/security/server/authentication/authentication_service.ts index cbe4e5f965691..8a40e59480dc2 100644 --- a/x-pack/plugins/security/server/authentication/authentication_service.ts +++ b/x-pack/plugins/security/server/authentication/authentication_service.ts @@ -112,9 +112,13 @@ export class AuthenticationService { http.registerAuth(async (request, response, t) => { if (!license.isLicenseAvailable()) { - this.logger.error('License is not available, authentication is not possible.'); + this.logger.error( + `License information could not be obtained from Elasticsearch due to an error: ${ + license.getUnavailableReason() ?? 'unknown' + }` + ); return response.customError({ - body: 'License is not available.', + body: 'License information could not be obtained from Elasticsearch. Please check the logs for further details.', statusCode: 503, headers: { 'Retry-After': '30' }, }); @@ -161,7 +165,7 @@ export class AuthenticationService { if (authenticationResult.failed()) { const error = authenticationResult.error!; - this.logger.info(`Authentication attempt failed: ${getDetailedErrorMessage(error)}`); + this.logger.error(`Authentication attempt failed: ${getDetailedErrorMessage(error)}`); // proxy Elasticsearch "native" errors const statusCode = getErrorStatusCode(error); @@ -242,11 +246,12 @@ export class AuthenticationService { if (!license.isLicenseAvailable() || !license.isEnabled()) { this.logger.error( - `License is not available or does not support security features, re-authentication is not possible (available: ${license.isLicenseAvailable()}, enabled: ${license.isEnabled()}).` + `License is not available or does not support security features, re-authentication is not possible (available: ${license.isLicenseAvailable()}, enabled: ${license.isEnabled()}, unavailable reason: ${license.getUnavailableReason()}).` ); return toolkit.notHandled(); } + // In theory, this should never happen since Core calls this handler only for `401` ("unauthorized") errors. if (getErrorStatusCode(error) !== 401) { this.logger.error( `Re-authentication is not possible for the following error: ${getDetailedErrorMessage( @@ -297,7 +302,7 @@ export class AuthenticationService { } else if (authenticationResult.redirected()) { this.logger.error('Re-authentication failed since redirect is required.'); } else { - this.logger.error('Re-authentication cannot be handled.'); + this.logger.debug('Re-authentication cannot be handled.'); } return toolkit.notHandled(); @@ -341,7 +346,7 @@ export class AuthenticationService { http.auth.get(request).state ?? null; this.session = session; - this.authenticator = new Authenticator({ + const authenticator = (this.authenticator = new Authenticator({ audit, loggers, clusterClient, @@ -358,7 +363,7 @@ export class AuthenticationService { session, isElasticCloudDeployment, customLogoutURL, - }); + })); return { apiKeys: { @@ -372,7 +377,41 @@ export class AuthenticationService { invalidateAsInternalUser: apiKeys.invalidateAsInternalUser.bind(apiKeys), }, - login: this.authenticator.login.bind(this.authenticator), + login: async (request: KibanaRequest, attempt: ProviderLoginAttempt) => { + const providerIdentifier = + 'name' in attempt.provider ? attempt.provider.name : attempt.provider.type; + this.logger.info(`Performing login attempt with "${providerIdentifier}" provider.`); + + let loginResult: AuthenticationResult; + try { + loginResult = await authenticator.login(request, attempt); + } catch (err) { + this.logger.error( + `Login attempt with "${providerIdentifier}" provider failed due to unexpected error: ${getDetailedErrorMessage( + err + )}` + ); + throw err; + } + + if (loginResult.succeeded() || loginResult.redirected()) { + this.logger.info( + `Login attempt with "${providerIdentifier}" provider succeeded (requires redirect: ${loginResult.redirected()}).` + ); + } else if (loginResult.failed()) { + this.logger.error( + `Login attempt with "${providerIdentifier}" provider failed: ${ + loginResult.error ? getDetailedErrorMessage(loginResult.error) : 'unknown error' + }` + ); + } else if (loginResult.notHandled()) { + this.logger.error( + `Login attempt with "${providerIdentifier}" provider cannot be handled.` + ); + } + + return loginResult; + }, logout: this.authenticator.logout.bind(this.authenticator), acknowledgeAccessAgreement: this.authenticator.acknowledgeAccessAgreement.bind( this.authenticator diff --git a/x-pack/plugins/security/server/authentication/authenticator.test.ts b/x-pack/plugins/security/server/authentication/authenticator.test.ts index c2f6215380985..c518f7988fad8 100644 --- a/x-pack/plugins/security/server/authentication/authenticator.test.ts +++ b/x-pack/plugins/security/server/authentication/authenticator.test.ts @@ -378,13 +378,6 @@ describe('Authenticator', () => { authenticator = new Authenticator(mockOptions); }); - it('fails if request is not provided.', async () => { - await expect(authenticator.login(undefined as any, undefined as any)).rejects.toThrowError( - 'Request should be a valid "KibanaRequest" instance, was [undefined].' - ); - expect(auditLogger.log).not.toHaveBeenCalled(); - }); - it('fails if login attempt is not provided or invalid.', async () => { await expect( authenticator.login(httpServerMock.createKibanaRequest(), undefined as any) @@ -1385,13 +1378,6 @@ describe('Authenticator', () => { authenticator = new Authenticator(mockOptions); }); - it('fails if request is not provided.', async () => { - await expect(authenticator.authenticate(undefined as any)).rejects.toThrowError( - 'Request should be a valid "KibanaRequest" instance, was [undefined].' - ); - expect(auditLogger.log).not.toHaveBeenCalled(); - }); - it('fails if an authentication provider fails.', async () => { const request = httpServerMock.createKibanaRequest(); const failureReason = new Error('Not Authorized'); @@ -2418,12 +2404,6 @@ describe('Authenticator', () => { authenticator = new Authenticator(mockOptions); }); - it('fails if request is not provided.', async () => { - await expect(authenticator.reauthenticate(undefined as any)).rejects.toThrowError( - 'Request should be a valid "KibanaRequest" instance, was [undefined].' - ); - }); - it('does not try to reauthenticate request if session is not available.', async () => { const request = httpServerMock.createKibanaRequest(); @@ -2463,6 +2443,7 @@ describe('Authenticator', () => { it('does not clear session if provider cannot handle authentication', async () => { const request = httpServerMock.createKibanaRequest(); + mockOptions.session.getSID.mockResolvedValue(mockSessVal.sid); mockOptions.session.get.mockResolvedValue({ error: null, value: mockSessVal }); mockBasicAuthenticationProvider.authenticate.mockResolvedValue( @@ -2492,6 +2473,7 @@ describe('Authenticator', () => { mockBasicAuthenticationProvider.authenticate.mockResolvedValue( AuthenticationResult.failed(failureReason) ); + mockOptions.session.getSID.mockResolvedValue(mockSessVal.sid); mockOptions.session.get.mockResolvedValue({ error: null, value: mockSessVal }); await expect(authenticator.reauthenticate(request)).resolves.toEqual( @@ -2512,6 +2494,7 @@ describe('Authenticator', () => { mockBasicAuthenticationProvider.authenticate.mockResolvedValue( AuthenticationResult.succeeded(user) ); + mockOptions.session.getSID.mockResolvedValue(mockSessVal.sid); mockOptions.session.get.mockResolvedValue({ error: null, value: mockSessVal }); await expect(authenticator.reauthenticate(request)).resolves.toEqual( @@ -2534,6 +2517,7 @@ describe('Authenticator', () => { mockBasicAuthenticationProvider.authenticate.mockResolvedValue( AuthenticationResult.succeeded(user, { state: newState }) ); + mockOptions.session.getSID.mockResolvedValue(mockSessVal.sid); mockOptions.session.get.mockResolvedValue({ error: null, value: mockSessVal }); await expect(authenticator.reauthenticate(request)).resolves.toEqual( @@ -2560,6 +2544,7 @@ describe('Authenticator', () => { mockBasicAuthenticationProvider.authenticate.mockResolvedValue( AuthenticationResult.failed(failureReason) ); + mockOptions.session.getSID.mockResolvedValue(mockSessVal.sid); mockOptions.session.get.mockResolvedValue({ error: null, value: mockSessVal }); await expect(authenticator.reauthenticate(request)).resolves.toEqual( @@ -2587,13 +2572,6 @@ describe('Authenticator', () => { authenticator = new Authenticator(mockOptions); }); - it('fails if request is not provided.', async () => { - await expect(authenticator.logout(undefined as any)).rejects.toThrowError( - 'Request should be a valid "KibanaRequest" instance, was [undefined].' - ); - expect(auditLogger.log).not.toHaveBeenCalled(); - }); - it('redirects to login form if session does not exist.', async () => { const request = httpServerMock.createKibanaRequest(); mockBasicAuthenticationProvider.logout.mockResolvedValue(DeauthenticationResult.notHandled()); diff --git a/x-pack/plugins/security/server/authentication/authenticator.ts b/x-pack/plugins/security/server/authentication/authenticator.ts index b352b13b97741..b8ba698653312 100644 --- a/x-pack/plugins/security/server/authentication/authenticator.ts +++ b/x-pack/plugins/security/server/authentication/authenticator.ts @@ -6,7 +6,6 @@ */ import type { IBasePath, IClusterClient, KibanaRequest, LoggerFactory } from '@kbn/core/server'; -import { CoreKibanaRequest } from '@kbn/core/server'; import type { Logger } from '@kbn/logging'; import type { AuditServiceSetup } from '@kbn/security-plugin-types-server'; import type { PublicMethodsOf } from '@kbn/utility-types'; @@ -46,6 +45,7 @@ import type { ConfigType } from '../config'; import { getErrorStatusCode } from '../errors'; import type { SecurityFeatureUsageServiceStart } from '../feature_usage'; import { + getPrintableSessionId, type Session, SessionConcurrencyLimitError, SessionExpiredError, @@ -137,13 +137,6 @@ const ACCESS_AGREEMENT_ROUTE = '/security/access_agreement'; * The route to the overwritten session UI. */ const OVERWRITTEN_SESSION_ROUTE = '/security/overwritten_session'; - -function assertRequest(request: KibanaRequest) { - if (!(request instanceof CoreKibanaRequest)) { - throw new Error(`Request should be a valid "KibanaRequest" instance, was [${typeof request}].`); - } -} - function assertLoginAttempt(attempt: ProviderLoginAttempt) { if (!isLoginAttemptWithProviderType(attempt) && !isLoginAttemptWithProviderName(attempt)) { throw new Error( @@ -296,7 +289,6 @@ export class Authenticator { * @param attempt Login attempt description. */ async login(request: KibanaRequest, attempt: ProviderLoginAttempt) { - assertRequest(request); assertLoginAttempt(attempt); const { value: existingSessionValue } = await this.getSessionValue(request); @@ -315,7 +307,7 @@ export class Authenticator { : []; if (providers.length === 0) { - this.logger.debug( + this.logger.warn( `Login attempt for provider with ${ isLoginAttemptWithProviderName(attempt) ? `name ${attempt.provider.name}` @@ -364,8 +356,6 @@ export class Authenticator { * @param request Request instance. */ async authenticate(request: KibanaRequest): Promise { - assertRequest(request); - const existingSession = await this.getSessionValue(request); if (this.shouldRedirectToLoginSelector(request, existingSession.value)) { @@ -505,11 +495,21 @@ export class Authenticator { * @param request Request instance. */ async reauthenticate(request: KibanaRequest) { - assertRequest(request); + // Return early if request doesn't have any associated session. We retrieve session ID separately from the session + // content because it doesn't trigger session invalidation for expired sessions. + const sid = await this.session.getSID(request); + if (!sid) { + this.logger.debug( + 'Re-authentication is only supported for requests with associated sessions.' + ); + return AuthenticationResult.notHandled(); + } const { value: existingSessionValue } = await this.getSessionValue(request); if (!existingSessionValue) { - this.logger.warn('Session is no longer available and cannot be re-authenticated.'); + this.logger + .get(getPrintableSessionId(sid)) + .warn('Session is no longer available and cannot be re-authenticated.'); return AuthenticationResult.notHandled(); } @@ -537,8 +537,6 @@ export class Authenticator { * @param request Request instance. */ async logout(request: KibanaRequest) { - assertRequest(request); - const { value: sessionValue } = await this.getSessionValue(request); const suggestedProviderName = sessionValue?.provider.name ?? @@ -577,8 +575,6 @@ export class Authenticator { * @param request Request instance. */ async acknowledgeAccessAgreement(request: KibanaRequest) { - assertRequest(request); - const { value: existingSessionValue } = await this.getSessionValue(request); const currentUser = this.options.getCurrentUser(request); @@ -763,7 +759,7 @@ export class Authenticator { // invalidation (e.g. when Elasticsearch is temporarily unavailable). if (authenticationResult.failed()) { if (ownsSession && getErrorStatusCode(authenticationResult.error) === 401) { - this.logger.debug('Authentication attempt failed, existing session will be invalidated.'); + this.logger.warn('Authentication attempt failed, existing session will be invalidated.'); await this.invalidateSessionValue({ request, sessionValue: existingSessionValue }); } return null; @@ -799,7 +795,7 @@ export class Authenticator { // 3. If we re-authenticated user with another username (e.g. during IdP initiated SSO login or // when client certificate changes and PKI provider needs to re-authenticate user). if (providerHasChanged) { - this.logger.debug( + this.logger.warn( 'Authentication provider has changed, existing session will be invalidated.' ); await this.invalidateSessionValue({ request, sessionValue: existingSessionValue }); @@ -815,7 +811,7 @@ export class Authenticator { }); existingSessionValue = null; } else if (usernameHasChanged) { - this.logger.debug('Username has changed, existing session will be invalidated.'); + this.logger.warn('Username has changed, existing session will be invalidated.'); await this.invalidateSessionValue({ request, sessionValue: existingSessionValue }); existingSessionValue = null; } diff --git a/x-pack/plugins/security/server/authentication/providers/anonymous.ts b/x-pack/plugins/security/server/authentication/providers/anonymous.ts index 6bbf2aa2c43f4..a31a2408235b4 100644 --- a/x-pack/plugins/security/server/authentication/providers/anonymous.ts +++ b/x-pack/plugins/security/server/authentication/providers/anonymous.ts @@ -9,7 +9,7 @@ import type { KibanaRequest } from '@kbn/core/server'; import type { AuthenticationProviderOptions } from './base'; import { BaseAuthenticationProvider } from './base'; -import { getErrorStatusCode } from '../../errors'; +import { getDetailedErrorMessage, getErrorStatusCode } from '../../errors'; import { AuthenticationResult } from '../authentication_result'; import { canRedirectRequest } from '../can_redirect_request'; import { DeauthenticationResult } from '../deauthentication_result'; @@ -216,22 +216,23 @@ export class AnonymousAuthenticationProvider extends BaseAuthenticationProvider // Create session only if it doesn't exist yet, otherwise keep it unchanged. return AuthenticationResult.succeeded(user, { authHeaders, state: state ? undefined : {} }); } catch (err) { + const errorMessage = getDetailedErrorMessage(err); if (getErrorStatusCode(err) === 401) { if (!this.httpAuthorizationHeader) { this.logger.error( - `Failed to authenticate anonymous request using Elasticsearch reserved anonymous user. Anonymous access may not be properly configured in Elasticsearch: ${err.message}` + `Failed to authenticate anonymous request using Elasticsearch reserved anonymous user. Anonymous access may not be properly configured in Elasticsearch: ${errorMessage}` ); } else if (this.httpAuthorizationHeader.scheme.toLowerCase() === 'basic') { this.logger.error( - `Failed to authenticate anonymous request using provided username/password credentials. The user with the provided username may not exist or the password is wrong: ${err.message}` + `Failed to authenticate anonymous request using provided username/password credentials. The user with the provided username may not exist or the password is wrong: ${errorMessage}` ); } else { this.logger.error( - `Failed to authenticate anonymous request using provided API key. The key may not exist or expired: ${err.message}` + `Failed to authenticate anonymous request using provided API key. The key may not exist or expired: ${errorMessage}` ); } } else { - this.logger.error(`Failed to authenticate request : ${err.message}`); + this.logger.error(`Failed to authenticate request : ${errorMessage}`); } return AuthenticationResult.failed(err); } diff --git a/x-pack/plugins/security/server/authentication/providers/basic.ts b/x-pack/plugins/security/server/authentication/providers/basic.ts index 6c363936e4408..fad94f6b34a57 100644 --- a/x-pack/plugins/security/server/authentication/providers/basic.ts +++ b/x-pack/plugins/security/server/authentication/providers/basic.ts @@ -9,6 +9,7 @@ import type { KibanaRequest } from '@kbn/core/server'; import { BaseAuthenticationProvider } from './base'; import { NEXT_URL_QUERY_STRING_PARAMETER } from '../../../common/constants'; +import { getDetailedErrorMessage } from '../../errors'; import { AuthenticationResult } from '../authentication_result'; import { canRedirectRequest } from '../can_redirect_request'; import { DeauthenticationResult } from '../deauthentication_result'; @@ -86,7 +87,7 @@ export class BasicAuthenticationProvider extends BaseAuthenticationProvider { state: authHeaders, }); } catch (err) { - this.logger.debug(`Failed to perform a login: ${err.message}`); + this.logger.debug(`Failed to perform a login: ${getDetailedErrorMessage(err)}`); return AuthenticationResult.failed(err); } } @@ -170,7 +171,9 @@ export class BasicAuthenticationProvider extends BaseAuthenticationProvider { this.logger.debug('Request has been authenticated via state.'); return AuthenticationResult.succeeded(user, { authHeaders }); } catch (err) { - this.logger.debug(`Failed to authenticate request via state: ${err.message}`); + this.logger.debug( + `Failed to authenticate request via state: ${getDetailedErrorMessage(err)}` + ); return AuthenticationResult.failed(err); } } diff --git a/x-pack/plugins/security/server/authentication/providers/http.ts b/x-pack/plugins/security/server/authentication/providers/http.ts index dd4bf8c40a435..630ae7ea59de7 100644 --- a/x-pack/plugins/security/server/authentication/providers/http.ts +++ b/x-pack/plugins/security/server/authentication/providers/http.ts @@ -9,6 +9,7 @@ import type { KibanaRequest } from '@kbn/core/server'; import type { AuthenticationProviderOptions } from './base'; import { BaseAuthenticationProvider } from './base'; +import { getDetailedErrorMessage } from '../../errors'; import { ROUTE_TAG_ACCEPT_JWT } from '../../routes/tags'; import { AuthenticationResult } from '../authentication_result'; import { DeauthenticationResult } from '../deauthentication_result'; @@ -86,7 +87,7 @@ export class HTTPAuthenticationProvider extends BaseAuthenticationProvider { } if (!this.supportedSchemes.has(authorizationHeader.scheme.toLowerCase())) { - this.logger.debug(`Unsupported authentication scheme: ${authorizationHeader.scheme}`); + this.logger.warn(`Unsupported authentication scheme: ${authorizationHeader.scheme}`); return AuthenticationResult.notHandled(); } @@ -115,7 +116,9 @@ export class HTTPAuthenticationProvider extends BaseAuthenticationProvider { return AuthenticationResult.succeeded(user); } catch (err) { this.logger.debug( - `Failed to authenticate request to ${request.url.pathname}${request.url.search} via authorization header with "${authorizationHeader.scheme}" scheme: ${err.message}` + `Failed to authenticate request to ${request.url.pathname} via authorization header with "${ + authorizationHeader.scheme + }" scheme: ${getDetailedErrorMessage(err)}` ); return AuthenticationResult.failed(err); } diff --git a/x-pack/plugins/security/server/authentication/providers/kerberos.ts b/x-pack/plugins/security/server/authentication/providers/kerberos.ts index e45e0e09ec851..6ffd7a82e79c6 100644 --- a/x-pack/plugins/security/server/authentication/providers/kerberos.ts +++ b/x-pack/plugins/security/server/authentication/providers/kerberos.ts @@ -121,7 +121,9 @@ export class KerberosAuthenticationProvider extends BaseAuthenticationProvider { try { await this.options.tokens.invalidate(state); } catch (err) { - this.logger.debug(`Failed invalidating access and/or refresh tokens: ${err.message}`); + this.logger.debug( + `Failed invalidating access and/or refresh tokens: ${getDetailedErrorMessage(err)}` + ); return DeauthenticationResult.failed(err); } } @@ -163,7 +165,7 @@ export class KerberosAuthenticationProvider extends BaseAuthenticationProvider { }, }); } catch (err) { - this.logger.debug( + this.logger.error( `Failed to exchange SPNEGO token for an access token: ${getDetailedErrorMessage(err)}` ); @@ -178,7 +180,7 @@ export class KerberosAuthenticationProvider extends BaseAuthenticationProvider { const challengeParts = challenge.split(/\s+/); if (challengeParts.length > 2) { - this.logger.debug('Challenge consists of more than two parts and may be malformed.'); + this.logger.warn('Challenge consists of more than two parts and may be malformed.'); } let responseChallenge; @@ -250,7 +252,9 @@ export class KerberosAuthenticationProvider extends BaseAuthenticationProvider { this.logger.debug('Request has been authenticated via state.'); return AuthenticationResult.succeeded(user, { authHeaders }); } catch (err) { - this.logger.debug(`Failed to authenticate request via state: ${err.message}`); + this.logger.debug( + `Failed to authenticate request via state: ${getDetailedErrorMessage(err)}` + ); return AuthenticationResult.failed(err); } } @@ -269,6 +273,7 @@ export class KerberosAuthenticationProvider extends BaseAuthenticationProvider { try { refreshTokenResult = await this.options.tokens.refresh(state.refreshToken); } catch (err) { + this.logger.error(`Failed to refresh access token: ${getDetailedErrorMessage(err)}`); return AuthenticationResult.failed(err); } @@ -276,7 +281,7 @@ export class KerberosAuthenticationProvider extends BaseAuthenticationProvider { // allow this because expired underlying token is an implementation detail and Kibana user // facing session is still valid. if (refreshTokenResult === null) { - this.logger.debug('Both access and refresh tokens are expired. Re-authenticating...'); + this.logger.warn('Both access and refresh tokens are expired. Re-authenticating…'); return this.authenticateViaSPNEGO(request, state); } @@ -311,7 +316,7 @@ export class KerberosAuthenticationProvider extends BaseAuthenticationProvider { // means (e.g. when anonymous access is enabled in Elasticsearch). authorization: `Negotiate ${Buffer.from('__fake__').toString('base64')}`, }); - this.logger.debug('Request was not supposed to be authenticated, ignoring result.'); + this.logger.error('Request was not supposed to be authenticated, ignoring result.'); return AuthenticationResult.notHandled(); } catch (err) { // Fail immediately if we get unexpected error (e.g. ES isn't available). We should not touch diff --git a/x-pack/plugins/security/server/authentication/providers/oidc.ts b/x-pack/plugins/security/server/authentication/providers/oidc.ts index df4abf62a6e68..273641f40b471 100644 --- a/x-pack/plugins/security/server/authentication/providers/oidc.ts +++ b/x-pack/plugins/security/server/authentication/providers/oidc.ts @@ -131,7 +131,7 @@ export class OIDCAuthenticationProvider extends BaseAuthenticationProvider { // we should clear such session an log user out. if (state?.realm && state.realm !== this.realm) { const message = `State based on realm "${state.realm}", but provider with the name "${this.options.name}" is configured to use realm "${this.realm}".`; - this.logger.debug(message); + this.logger.warn(message); return AuthenticationResult.failed(Boom.unauthorized(message)); } @@ -186,7 +186,7 @@ export class OIDCAuthenticationProvider extends BaseAuthenticationProvider { // we should clear such session an log user out. if (state?.realm && state.realm !== this.realm) { const message = `State based on realm "${state.realm}", but provider with the name "${this.options.name}" is configured to use realm "${this.realm}".`; - this.logger.debug(message); + this.logger.warn(message); return AuthenticationResult.failed(Boom.unauthorized(message)); } @@ -245,7 +245,7 @@ export class OIDCAuthenticationProvider extends BaseAuthenticationProvider { if (!stateNonce || !stateOIDCState || !stateRedirectURL) { const message = 'Response session state does not have corresponding state or nonce parameters or redirect URL.'; - this.logger.debug(message); + this.logger.error(message); return AuthenticationResult.failed(Boom.badRequest(message)); } @@ -374,6 +374,7 @@ export class OIDCAuthenticationProvider extends BaseAuthenticationProvider { try { refreshTokenResult = await this.options.tokens.refresh(state.refreshToken); } catch (err) { + this.logger.error(`Failed to refresh access token: ${getDetailedErrorMessage(err)}`); return AuthenticationResult.failed(err); } @@ -385,7 +386,7 @@ export class OIDCAuthenticationProvider extends BaseAuthenticationProvider { // supported. if (refreshTokenResult === null) { if (canStartNewSession(request)) { - this.logger.debug( + this.logger.warn( 'Both elasticsearch access and refresh tokens are expired. Re-initiating OpenID Connect authentication.' ); return this.initiateAuthenticationHandshake(request); diff --git a/x-pack/plugins/security/server/authentication/providers/pki.ts b/x-pack/plugins/security/server/authentication/providers/pki.ts index 1137c8fd71563..8ec86795c16f5 100644 --- a/x-pack/plugins/security/server/authentication/providers/pki.ts +++ b/x-pack/plugins/security/server/authentication/providers/pki.ts @@ -12,6 +12,7 @@ import type { KibanaRequest } from '@kbn/core/server'; import { BaseAuthenticationProvider } from './base'; import type { AuthenticationInfo } from '../../elasticsearch'; +import { getDetailedErrorMessage } from '../../errors'; import { AuthenticationResult } from '../authentication_result'; import { canRedirectRequest } from '../can_redirect_request'; import { DeauthenticationResult } from '../deauthentication_result'; @@ -170,7 +171,7 @@ export class PKIAuthenticationProvider extends BaseAuthenticationProvider { try { await this.options.tokens.invalidate({ accessToken: state.accessToken }); } catch (err) { - this.logger.debug(`Failed invalidating access token: ${err.message}`); + this.logger.debug(`Failed invalidating access token: ${getDetailedErrorMessage(err)}`); return DeauthenticationResult.failed(err); } } @@ -221,7 +222,7 @@ export class PKIAuthenticationProvider extends BaseAuthenticationProvider { try { await this.options.tokens.invalidate({ accessToken }); } catch (err) { - this.logger.debug(`Failed to invalidate access token: ${err.message}`); + this.logger.error(`Failed to invalidate access token: ${getDetailedErrorMessage(err)}`); return AuthenticationResult.failed(err); } @@ -239,7 +240,9 @@ export class PKIAuthenticationProvider extends BaseAuthenticationProvider { this.logger.debug('Request has been authenticated via state.'); return AuthenticationResult.succeeded(user, { authHeaders }); } catch (err) { - this.logger.debug(`Failed to authenticate request via state: ${err.message}`); + this.logger.debug( + `Failed to authenticate request via state: ${getDetailedErrorMessage(err)}` + ); return AuthenticationResult.failed(err); } } @@ -288,7 +291,9 @@ export class PKIAuthenticationProvider extends BaseAuthenticationProvider { })) as any; } catch (err) { this.logger.debug( - `Failed to exchange peer certificate chain to an access token: ${err.message}` + `Failed to exchange peer certificate chain to an access token: ${getDetailedErrorMessage( + err + )}` ); return AuthenticationResult.failed(err); } diff --git a/x-pack/plugins/security/server/authentication/providers/saml.ts b/x-pack/plugins/security/server/authentication/providers/saml.ts index 5f76622bf9631..86e5a21a4a1a2 100644 --- a/x-pack/plugins/security/server/authentication/providers/saml.ts +++ b/x-pack/plugins/security/server/authentication/providers/saml.ts @@ -144,14 +144,14 @@ export class SAMLAuthenticationProvider extends BaseAuthenticationProvider { // we should clear such session an log user out. if (state && this.realm && state.realm !== this.realm) { const message = `State based on realm "${state.realm}", but provider with the name "${this.options.name}" is configured to use realm "${this.realm}".`; - this.logger.debug(message); + this.logger.warn(message); return AuthenticationResult.failed(Boom.unauthorized(message)); } if (attempt.type === SAMLLogin.LoginInitiatedByUser) { if (!attempt.redirectURL) { const message = 'Login attempt should include non-empty `redirectURL` string.'; - this.logger.debug(message); + this.logger.warn(message); return AuthenticationResult.failed(Boom.badRequest(message)); } return this.authenticateViaHandshake(request, attempt.redirectURL); @@ -215,7 +215,7 @@ export class SAMLAuthenticationProvider extends BaseAuthenticationProvider { // we should clear such session an log user out. if (state && this.realm && state.realm !== this.realm) { const message = `State based on realm "${state.realm}", but provider with the name "${this.options.name}" is configured to use realm "${this.realm}".`; - this.logger.debug(message); + this.logger.warn(message); return AuthenticationResult.failed(Boom.unauthorized(message)); } @@ -340,7 +340,7 @@ export class SAMLAuthenticationProvider extends BaseAuthenticationProvider { }; if (state && !stateRequestId) { const message = 'SAML response state does not have corresponding request id.'; - this.logger.debug(message); + this.logger.warn(message); return AuthenticationResult.failed(Boom.badRequest(message)); } @@ -375,7 +375,7 @@ export class SAMLAuthenticationProvider extends BaseAuthenticationProvider { }, })) as any; } catch (err) { - this.logger.debug(`Failed to log in with SAML response: ${getDetailedErrorMessage(err)}`); + this.logger.error(`Failed to log in with SAML response: ${getDetailedErrorMessage(err)}`); // Since we don't know upfront what realm is targeted by the Identity Provider initiated login // there is a chance that it failed because of realm mismatch and hence we should return @@ -390,11 +390,11 @@ export class SAMLAuthenticationProvider extends BaseAuthenticationProvider { let redirectURLFromRelayState; if (isIdPInitiatedLogin && relayState) { if (!this.useRelayStateDeepLink) { - this.options.logger.debug( + this.options.logger.warn( `"RelayState" is provided, but deep links support is not enabled for "${this.type}/${this.options.name}" provider.` ); } else if (!isInternalURL(relayState, this.options.basePath.serverBasePath)) { - this.options.logger.debug( + this.options.logger.warn( `"RelayState" is provided, but it is not a valid Kibana internal URL.` ); } else { @@ -439,7 +439,7 @@ export class SAMLAuthenticationProvider extends BaseAuthenticationProvider { relayState: string | undefined, existingState: ProviderState ) { - this.logger.debug('Trying to log in with SAML response payload and existing valid session.'); + this.logger.info('Trying to log in with SAML response payload and existing valid session.'); // First let's try to authenticate via SAML Response payload. const payloadAuthenticationResult = await this.loginWithSAMLResponse( @@ -525,6 +525,7 @@ export class SAMLAuthenticationProvider extends BaseAuthenticationProvider { try { refreshTokenResult = await this.options.tokens.refresh(state.refreshToken); } catch (err) { + this.logger.error(`Failed to refresh access token: ${getDetailedErrorMessage(err)}`); return AuthenticationResult.failed(err); } @@ -535,7 +536,7 @@ export class SAMLAuthenticationProvider extends BaseAuthenticationProvider { // to do the same on Kibana side and `401` would force user to logout and do full SLO if it's supported. if (refreshTokenResult === null) { if (canStartNewSession(request)) { - this.logger.debug( + this.logger.warn( 'Both access and refresh tokens are expired. Capturing redirect URL and re-initiating SAML handshake.' ); return this.initiateAuthenticationHandshake(request); diff --git a/x-pack/plugins/security/server/authentication/providers/token.ts b/x-pack/plugins/security/server/authentication/providers/token.ts index 5132ffa7294c9..baf5b48c82e57 100644 --- a/x-pack/plugins/security/server/authentication/providers/token.ts +++ b/x-pack/plugins/security/server/authentication/providers/token.ts @@ -155,7 +155,9 @@ export class TokenAuthenticationProvider extends BaseAuthenticationProvider { try { await this.options.tokens.invalidate(state); } catch (err) { - this.logger.debug(`Failed invalidating user's access token: ${err.message}`); + this.logger.debug( + `Failed invalidating user's access token: ${getDetailedErrorMessage(err)}` + ); return DeauthenticationResult.failed(err); } } @@ -189,7 +191,9 @@ export class TokenAuthenticationProvider extends BaseAuthenticationProvider { this.logger.debug('Request has been authenticated via state.'); return AuthenticationResult.succeeded(user, { authHeaders }); } catch (err) { - this.logger.debug(`Failed to authenticate request via state: ${err.message}`); + this.logger.debug( + `Failed to authenticate request via state: ${getDetailedErrorMessage(err)}` + ); return AuthenticationResult.failed(err); } } @@ -208,6 +212,7 @@ export class TokenAuthenticationProvider extends BaseAuthenticationProvider { try { refreshTokenResult = await this.options.tokens.refresh(state.refreshToken); } catch (err) { + this.logger.error(`Failed to refresh access token: ${getDetailedErrorMessage(err)}`); return AuthenticationResult.failed(err); } @@ -215,7 +220,7 @@ export class TokenAuthenticationProvider extends BaseAuthenticationProvider { // login page to re-authenticate, or fail if redirect isn't possible. if (refreshTokenResult === null) { if (canStartNewSession(request)) { - this.logger.debug('Clearing session since both access and refresh tokens are expired.'); + this.logger.warn('Clearing session since both access and refresh tokens are expired.'); // Set state to `null` to let `Authenticator` know that we want to clear current session. return AuthenticationResult.redirectTo(this.getLoginPageURL(request), { state: null }); diff --git a/x-pack/plugins/security/server/authorization/authorization_service.tsx b/x-pack/plugins/security/server/authorization/authorization_service.tsx index 795016874dc97..8ce83f433ad21 100644 --- a/x-pack/plugins/security/server/authorization/authorization_service.tsx +++ b/x-pack/plugins/security/server/authorization/authorization_service.tsx @@ -170,24 +170,34 @@ export class AuthorizationService { initAppAuthorization(http, authz, loggers.get('app-authorization'), features); http.registerOnPreResponse(async (request, preResponse, toolkit) => { - if (preResponse.statusCode === 403 && canRedirectRequest(request)) { - const customBrandingValue = await customBranding.getBrandingFor(request, { - unauthenticated: false, - }); - const next = `${http.basePath.get(request)}${request.url.pathname}${request.url.search}`; - const body = renderToString( - - ); + if (preResponse.statusCode === 403) { + const user = getCurrentUser(request); + if (user?.roles.length === 0) { + this.logger.warn( + `A user authenticated with the "${user.authentication_realm.name}" (${user.authentication_realm.type}) realm doesn't have any roles and isn't authorized to perform request.` + ); + } - return toolkit.render({ body, headers: { 'Content-Security-Policy': http.csp.header } }); + if (canRedirectRequest(request)) { + const customBrandingValue = await customBranding.getBrandingFor(request, { + unauthenticated: false, + }); + const next = `${http.basePath.get(request)}${request.url.pathname}${request.url.search}`; + const body = renderToString( + + ); + + return toolkit.render({ body, headers: { 'Content-Security-Policy': http.csp.header } }); + } } + return toolkit.next(); }); diff --git a/x-pack/plugins/security/server/lib/flatten_object.ts b/x-pack/plugins/security/server/lib/flatten_object.ts index 45c0a3b6bbf13..f655422115890 100644 --- a/x-pack/plugins/security/server/lib/flatten_object.ts +++ b/x-pack/plugins/security/server/lib/flatten_object.ts @@ -7,7 +7,7 @@ import { compact, isObject } from 'lodash'; -// Inspired by x-pack/plugins/apm/public/utils/flatten_object.ts +// Inspired by x-pack/plugins/observability_solution/apm/public/utils/flatten_object.ts // Slighly modified to have key/value exposed as Object. export const flattenObject = ( item: Record | null | undefined, diff --git a/x-pack/plugins/security/server/plugin.test.ts b/x-pack/plugins/security/server/plugin.test.ts index e838016e94524..407b41f909ace 100644 --- a/x-pack/plugins/security/server/plugin.test.ts +++ b/x-pack/plugins/security/server/plugin.test.ts @@ -48,7 +48,10 @@ describe('Security Plugin', () => { }); mockSetupDependencies = { - licensing: { license$: of({}), featureUsage: { register: jest.fn() } }, + licensing: { + license$: of({ getUnavailableReason: jest.fn() }), + featureUsage: { register: jest.fn() }, + }, features: featuresPluginMock.createSetup(), taskManager: taskManagerMock.createSetup(), } as unknown as PluginSetupDependencies; @@ -118,6 +121,7 @@ describe('Security Plugin', () => { }, }, "getFeatures": [Function], + "getUnavailableReason": [Function], "hasAtLeast": [Function], "isEnabled": [Function], "isLicenseAvailable": [Function], diff --git a/x-pack/plugins/security/server/routes/authentication/common.ts b/x-pack/plugins/security/server/routes/authentication/common.ts index f359c320151e8..5132cbfb86e09 100644 --- a/x-pack/plugins/security/server/routes/authentication/common.ts +++ b/x-pack/plugins/security/server/routes/authentication/common.ts @@ -157,8 +157,6 @@ export function defineCommonRoutes({ }, createLicensedRouteHandler(async (context, request, response) => { const { providerType, providerName, currentURL, params } = request.body; - logger.info(`Logging in with provider "${providerName}" (${providerType})`); - const redirectURL = parseNext(currentURL, basePath.serverBasePath); const authenticationResult = await getAuthenticationService().login(request, { provider: { name: providerName }, diff --git a/x-pack/plugins/security_solution/common/endpoint/generate_data.ts b/x-pack/plugins/security_solution/common/endpoint/generate_data.ts index 29d0edd91b23e..7e93b7126ddbd 100644 --- a/x-pack/plugins/security_solution/common/endpoint/generate_data.ts +++ b/x-pack/plugins/security_solution/common/endpoint/generate_data.ts @@ -1656,6 +1656,7 @@ export class EndpointDocGenerator extends BaseDataGenerator { path: '/package/endpoint/0.5.0', icons: [ { + // @ts-expect-error upgrade typescript v4.9.5 path: '/package/endpoint/0.5.0/img/logo-endpoint-64-color.svg', src: '/img/logo-endpoint-64-color.svg', size: '16x16', @@ -1740,6 +1741,7 @@ export class EndpointDocGenerator extends BaseDataGenerator { assets: {} as AssetsGroupedByServiceByType, icons: [ { + // @ts-expect-error upgrade typescript v4.9.5 path: '/package/endpoint/0.5.0/img/logo-endpoint-64-color.svg', src: '/img/logo-endpoint-64-color.svg', size: '16x16', diff --git a/x-pack/plugins/security_solution/common/endpoint/types/agents.ts b/x-pack/plugins/security_solution/common/endpoint/types/agents.ts index 5394df26a3bae..99ba35f504d3e 100644 --- a/x-pack/plugins/security_solution/common/endpoint/types/agents.ts +++ b/x-pack/plugins/security_solution/common/endpoint/types/agents.ts @@ -10,7 +10,6 @@ import type { ResponseActionsApiCommandNames, ResponseActionAgentType, } from '../service/response_actions/constants'; -import {} from '../service/response_actions/constants'; export interface AgentStatusInfo { id: string; diff --git a/x-pack/plugins/security_solution/common/utility_types.ts b/x-pack/plugins/security_solution/common/utility_types.ts index aaf1dfafb6575..bab5ecb40ce41 100644 --- a/x-pack/plugins/security_solution/common/utility_types.ts +++ b/x-pack/plugins/security_solution/common/utility_types.ts @@ -37,7 +37,7 @@ type NonAny = number | boolean | string | symbol | null; export const unionWithNullType = (type: T) => runtimeTypes.union([type, runtimeTypes.null]); -export const stringEnum = (enumObj: T, enumName = 'enum') => +export const stringEnum = (enumObj: T, enumName = 'enum') => new runtimeTypes.Type( enumName, (u): u is T[keyof T] => Object.values(enumObj).includes(u), diff --git a/x-pack/plugins/security_solution/public/app/home/template_wrapper/index.tsx b/x-pack/plugins/security_solution/public/app/home/template_wrapper/index.tsx index 5213a24172357..c81d17e18ff1e 100644 --- a/x-pack/plugins/security_solution/public/app/home/template_wrapper/index.tsx +++ b/x-pack/plugins/security_solution/public/app/home/template_wrapper/index.tsx @@ -35,7 +35,7 @@ const StyledKibanaPageTemplate = styled(KibanaPageTemplate)< theme: EuiThemeComputed; // using computed EUI theme to be consistent with user profile theming } >` - .kbnSolutionNav { + .kbnSolutionNav__sidebar:not(.kbnSolutionNav__sidebar--shrink) { background-color: ${({ theme }) => theme.colors.emptyShade}; } diff --git a/x-pack/plugins/security_solution/public/common/components/landing_page/onboarding/sections.tsx b/x-pack/plugins/security_solution/public/common/components/landing_page/onboarding/sections.tsx index eac88e91e6681..dea59ad81d0e5 100644 --- a/x-pack/plugins/security_solution/public/common/components/landing_page/onboarding/sections.tsx +++ b/x-pack/plugins/security_solution/public/common/components/landing_page/onboarding/sections.tsx @@ -22,7 +22,7 @@ import { } from './types'; import * as i18n from './translations'; -import { AddIntegrationButton } from './step_links/add_integration_button'; +import { AddIntegrationButtons } from './step_links/add_integration_buttons'; import { AlertsButton } from './step_links/alerts_link'; import { AddElasticRulesButton } from './step_links/add_elastic_rules_button'; import { DashboardButton } from './step_links/dashboard_button'; @@ -64,7 +64,7 @@ export const addIntegrationsSteps: Array], + description: [i18n.ADD_INTEGRATIONS_DESCRIPTION, ], splitPanel: , autoCheckIfStepCompleted: autoCheckAddIntegrationsStepCompleted, }, diff --git a/x-pack/plugins/security_solution/public/common/components/landing_page/onboarding/step_links/add_integration_button.tsx b/x-pack/plugins/security_solution/public/common/components/landing_page/onboarding/step_links/add_integration_button.tsx deleted file mode 100644 index 443f11920fd4d..0000000000000 --- a/x-pack/plugins/security_solution/public/common/components/landing_page/onboarding/step_links/add_integration_button.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; you may not use this file except in compliance with the Elastic License - * 2.0. - */ - -import { FormattedMessage } from '@kbn/i18n-react'; -import React from 'react'; -import { LinkButton } from '@kbn/security-solution-navigation/links'; - -enum ExternalPageName { - integrationsSecurity = 'integrations:/browse/security', -} - -const AddIntegrationButtonComponent: React.FC = () => ( - - - -); - -export const AddIntegrationButton = React.memo(AddIntegrationButtonComponent); diff --git a/x-pack/plugins/security_solution/public/common/components/landing_page/onboarding/step_links/add_integration_buttons.tsx b/x-pack/plugins/security_solution/public/common/components/landing_page/onboarding/step_links/add_integration_buttons.tsx new file mode 100644 index 0000000000000..1739d10074fe8 --- /dev/null +++ b/x-pack/plugins/security_solution/public/common/components/landing_page/onboarding/step_links/add_integration_buttons.tsx @@ -0,0 +1,173 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license 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 SVGProps } from 'react'; +import { i18n } from '@kbn/i18n'; +import { LinkButton } from '@kbn/security-solution-navigation/links'; +import type { IconType } from '@elastic/eui'; +import { EuiFlexGroup, EuiFlexItem, EuiIcon, EuiPanel, EuiText } from '@elastic/eui'; + +const SEE_INTEGRATIONS = i18n.translate( + 'xpack.securitySolution.onboarding.step.addIntegrations.seeIntegrationsButton', + { defaultMessage: 'See integrations' } +); +const ADD_CLOUD_INTEGRATIONS_TITLE = i18n.translate( + 'xpack.securitySolution.onboarding.step.addIntegrations.addCloudIntegrations.title', + { defaultMessage: 'Add Cloud Security data' } +); +const ADD_CLOUD_INTEGRATIONS_DESCRIPTION = i18n.translate( + 'xpack.securitySolution.onboarding.step.addIntegrations.addCloudIntegrations.description', + { defaultMessage: 'Cloud-specific security integrations' } +); +const ADD_EDR_XDR_INTEGRATIONS_TITLE = i18n.translate( + 'xpack.securitySolution.onboarding.step.addIntegrations.addEdrXdrIntegrations.title', + { defaultMessage: 'Add EDR/XDR data' } +); +const ADD_EDR_XDR_INTEGRATIONS_DESCRIPTION = i18n.translate( + 'xpack.securitySolution.onboarding.step.addIntegrations.addEdrXdrIntegrations.description', + { defaultMessage: 'EDR/XDR-specific security integrations' } +); +const ADD_ALL_INTEGRATIONS_TITLE = i18n.translate( + 'xpack.securitySolution.onboarding.step.addIntegrations.addAllIntegrations.title', + { defaultMessage: 'All security integrations' } +); +const ADD_ALL_INTEGRATIONS_DESCRIPTION = i18n.translate( + 'xpack.securitySolution.onboarding.step.addIntegrations.addAllIntegrations.description', + { defaultMessage: 'The full set of security integrations' } +); + +enum IntegrationsPageName { + integrationsSecurity = 'integrations:/browse/security', + integrationsSecurityCloud = 'integrations:/browse/security/cloudsecurity_cdr', + integrationsSecurityEdrXrd = 'integrations:/browse/security/edr_xdr', +} + +const CloudIntegrationsIcon: React.FC> = ({ ...props }) => ( + + + + + + +); + +const EdrXdrIntegrationsIcon: React.FC> = ({ ...props }) => ( + + + + + + + + + + + + +); + +const AddIntegrationPanel: React.FC<{ + icon: IconType; + title: string; + description: string; + buttonId: IntegrationsPageName; +}> = React.memo(({ title, description, buttonId, icon }) => ( + + + + + + +

{title}

+ + {description} + +
+ + {SEE_INTEGRATIONS} + +
+
+)); +AddIntegrationPanel.displayName = 'AddIntegrationPanel'; + +export const AddIntegrationButtons: React.FC = React.memo(() => ( + + + + + + + + + + + +)); +AddIntegrationButtons.displayName = 'AddIntegrationButtons'; diff --git a/x-pack/plugins/security_solution/public/common/components/landing_page/onboarding/styles/step_content.styles.ts b/x-pack/plugins/security_solution/public/common/components/landing_page/onboarding/styles/step_content.styles.ts index 6b4c75e7e8d89..8cd3026000dc4 100644 --- a/x-pack/plugins/security_solution/public/common/components/landing_page/onboarding/styles/step_content.styles.ts +++ b/x-pack/plugins/security_solution/public/common/components/landing_page/onboarding/styles/step_content.styles.ts @@ -10,9 +10,8 @@ import { css } from '@emotion/css'; import { useMemo } from 'react'; export const LEFT_CONTENT_PANEL_WIDTH = 486; -export const RIGHT_CONTENT_PANEL_WIDTH = 510; -export const RIGHT_CONTENT_HEIGHT = 320; -export const RIGHT_CONTENT_WIDTH = 480; +export const RIGHT_CONTENT_PANEL_WIDTH = 540; +export const RIGHT_CONTENT_WIDTH = 513; export const useStepContentStyles = () => { const { euiTheme } = useEuiTheme(); @@ -56,21 +55,19 @@ export const useStepContentStyles = () => { }), rightPanelContentStyles: css({ '&.right-panel-wrapper': { - height: `${RIGHT_CONTENT_HEIGHT}px`, width: `${RIGHT_CONTENT_WIDTH}px`, }, }), getRightContentStyles: ({ shadow }: { shadow: boolean }) => - css({ - '&.right-panel-content': { - height: '100%', - width: '100%', - position: 'relative', - overflow: 'hidden', - boxShadow: shadow ? imageShadow : '', - borderRadius: euiTheme.border.radius.medium, - }, - }), + css(` + &.right-panel-content { + height: 100%; + width: 100%; + position: relative; + overflow: hidden; + border-radius: ${euiTheme.border.radius.medium}; + ${shadow ? imageShadow : ''} + }`), }), [ euiTheme.animation.normal, diff --git a/x-pack/plugins/security_solution/public/common/components/landing_page/onboarding/translations.ts b/x-pack/plugins/security_solution/public/common/components/landing_page/onboarding/translations.ts index 9193ffb17ea3a..c263e52182175 100644 --- a/x-pack/plugins/security_solution/public/common/components/landing_page/onboarding/translations.ts +++ b/x-pack/plugins/security_solution/public/common/components/landing_page/onboarding/translations.ts @@ -121,7 +121,7 @@ export const ADD_INTEGRATIONS_DESCRIPTION = i18n.translate( 'xpack.securitySolution.onboarding.step.addIntegrations.description', { defaultMessage: - 'Use third-party integrations to import data from common sources and help you gather relevant information in one place. To find integrations for your use case, search for tools and data providers on the Add integrations page.', + 'Use integrations to import data from common sources and help you gather relevant information in one place.', } ); diff --git a/x-pack/plugins/security_solution/public/common/components/page/manage_query.tsx b/x-pack/plugins/security_solution/public/common/components/page/manage_query.tsx index bfb439a8872ec..ce8c9d3f68175 100644 --- a/x-pack/plugins/security_solution/public/common/components/page/manage_query.tsx +++ b/x-pack/plugins/security_solution/public/common/components/page/manage_query.tsx @@ -43,6 +43,7 @@ export function manageQuery( }); const otherProps = omit(['refetch', 'setQuery'], props); + // @ts-expect-error upgrade typescript v4.9.5 return ; }; diff --git a/x-pack/plugins/security_solution/public/common/components/visualization_actions/lens_attributes/network/dns_top_domains.ts b/x-pack/plugins/security_solution/public/common/components/visualization_actions/lens_attributes/network/dns_top_domains.ts index 39f5d56a3d461..df4980a1e5df8 100644 --- a/x-pack/plugins/security_solution/public/common/components/visualization_actions/lens_attributes/network/dns_top_domains.ts +++ b/x-pack/plugins/security_solution/public/common/components/visualization_actions/lens_attributes/network/dns_top_domains.ts @@ -84,6 +84,7 @@ export const getDnsTopDomainsLensAttributes: GetLensAttributes = ( params: { query: 'PTR', }, + // @ts-expect-error upgrade typescript v4.9.5 indexRefName: 'filter-index-pattern-0', }, query: { diff --git a/x-pack/plugins/security_solution/public/common/components/visualization_actions/lens_attributes/users/kpi_user_authentication_metric_failure.ts b/x-pack/plugins/security_solution/public/common/components/visualization_actions/lens_attributes/users/kpi_user_authentication_metric_failure.ts index 4011b4cab9d41..cd427a862b71c 100644 --- a/x-pack/plugins/security_solution/public/common/components/visualization_actions/lens_attributes/users/kpi_user_authentication_metric_failure.ts +++ b/x-pack/plugins/security_solution/public/common/components/visualization_actions/lens_attributes/users/kpi_user_authentication_metric_failure.ts @@ -29,6 +29,7 @@ export const kpiUserAuthenticationsMetricFailureLensAttributes: LensAttributes = meta: { alias: null, disabled: false, + // @ts-expect-error upgrade typescript v4.9.5 indexRefName: 'filter-index-pattern-0', key: 'query', negate: false, diff --git a/x-pack/plugins/security_solution/public/common/components/visualization_actions/lens_attributes/users/kpi_user_authentications_area.ts b/x-pack/plugins/security_solution/public/common/components/visualization_actions/lens_attributes/users/kpi_user_authentications_area.ts index 2cbb7635d04cf..a7efc44155eec 100644 --- a/x-pack/plugins/security_solution/public/common/components/visualization_actions/lens_attributes/users/kpi_user_authentications_area.ts +++ b/x-pack/plugins/security_solution/public/common/components/visualization_actions/lens_attributes/users/kpi_user_authentications_area.ts @@ -89,6 +89,7 @@ export const kpiUserAuthenticationsAreaLensAttributes: LensAttributes = { meta: { alias: null, disabled: false, + // @ts-expect-error upgrade typescript v4.9.5 indexRefName: 'filter-index-pattern-0', key: 'query', negate: false, diff --git a/x-pack/plugins/security_solution/public/common/components/visualization_actions/lens_attributes/users/kpi_user_authentications_bar.ts b/x-pack/plugins/security_solution/public/common/components/visualization_actions/lens_attributes/users/kpi_user_authentications_bar.ts index a4a1629e360de..ff6937b1e43e4 100644 --- a/x-pack/plugins/security_solution/public/common/components/visualization_actions/lens_attributes/users/kpi_user_authentications_bar.ts +++ b/x-pack/plugins/security_solution/public/common/components/visualization_actions/lens_attributes/users/kpi_user_authentications_bar.ts @@ -84,6 +84,7 @@ export const kpiUserAuthenticationsBarLensAttributes: LensAttributes = { meta: { alias: null, disabled: false, + // @ts-expect-error upgrade typescript v4.9.5 indexRefName: 'filter-index-pattern-0', key: 'query', negate: false, diff --git a/x-pack/plugins/security_solution/public/common/components/visualization_actions/lens_attributes/users/kpi_user_authentications_metric_success.ts b/x-pack/plugins/security_solution/public/common/components/visualization_actions/lens_attributes/users/kpi_user_authentications_metric_success.ts index 58ee89ac81b42..c386fb71c0a5c 100644 --- a/x-pack/plugins/security_solution/public/common/components/visualization_actions/lens_attributes/users/kpi_user_authentications_metric_success.ts +++ b/x-pack/plugins/security_solution/public/common/components/visualization_actions/lens_attributes/users/kpi_user_authentications_metric_success.ts @@ -29,6 +29,7 @@ export const kpiUserAuthenticationsMetricSuccessLensAttributes: LensAttributes = meta: { alias: null, disabled: false, + // @ts-expect-error upgrade typescript v4.9.5 indexRefName: 'filter-index-pattern-0', key: 'query', negate: false, diff --git a/x-pack/plugins/security_solution/public/common/components/visualization_actions/use_actions.ts b/x-pack/plugins/security_solution/public/common/components/visualization_actions/use_actions.ts index 4d487dcd9186d..1a61042389911 100644 --- a/x-pack/plugins/security_solution/public/common/components/visualization_actions/use_actions.ts +++ b/x-pack/plugins/security_solution/public/common/components/visualization_actions/use_actions.ts @@ -86,7 +86,7 @@ const ACTION_DEFINITION: Record< export const useActions = ({ attributes, lensMetadata, - extraActions = [], + extraActions, inspectActionProps, timeRange, withActions = DEFAULT_ACTIONS, @@ -186,7 +186,7 @@ export const useActions = ({ canUseEditor() && withActions.includes(VisualizationContextMenuActions.openInLens), order: 0, }), - ...extraActions, + ...(extraActions ?? []), ].map((a, i, totalActions) => { const order = Math.max(totalActions.length - (1 + i), 0); return { diff --git a/x-pack/plugins/security_solution/public/common/components/visualization_actions/use_add_to_existing_case.test.tsx b/x-pack/plugins/security_solution/public/common/components/visualization_actions/use_add_to_existing_case.test.tsx index 2ed014ee69a37..5181d33370afe 100644 --- a/x-pack/plugins/security_solution/public/common/components/visualization_actions/use_add_to_existing_case.test.tsx +++ b/x-pack/plugins/security_solution/public/common/components/visualization_actions/use_add_to_existing_case.test.tsx @@ -15,31 +15,15 @@ import { } from '../../../cases_test_utils'; import { AttachmentType } from '@kbn/cases-plugin/common'; -const mockedUseKibana = mockUseKibana(); -const mockGetUseCasesAddToExistingCaseModal = jest.fn(); -const mockCanUseCases = jest.fn(); - -jest.mock('../../lib/kibana', () => { - const original = jest.requireActual('../../lib/kibana'); - - return { - ...original, - useKibana: () => ({ - ...mockedUseKibana, - services: { - ...mockedUseKibana.services, - cases: { - hooks: { - useCasesAddToExistingCaseModal: mockGetUseCasesAddToExistingCaseModal, - }, - helpers: { canUseCases: mockCanUseCases }, - }, - }, - }), - }; -}); +jest.mock('../../lib/kibana'); describe('useAddToExistingCase', () => { + const mockedUseKibana = mockUseKibana(); + const mockCanUseCases = jest.fn(); + const mockUseCasesAddToExistingCaseModal = jest.fn().mockReturnValue({ + open: jest.fn(), + close: jest.fn(), + }); const mockOnAddToCaseClicked = jest.fn(); const timeRange = { from: '2022-03-06T16:00:00.000Z', @@ -48,6 +32,9 @@ describe('useAddToExistingCase', () => { beforeEach(() => { mockCanUseCases.mockReturnValue(allCasesPermissions()); + mockedUseKibana.services.cases.hooks.useCasesAddToExistingCaseModal = + mockUseCasesAddToExistingCaseModal; + mockedUseKibana.services.cases.helpers.canUseCases = mockCanUseCases; }); it('useCasesAddToExistingCaseModal with attachments', () => { @@ -59,7 +46,7 @@ describe('useAddToExistingCase', () => { lensMetadata: undefined, }) ); - expect(mockGetUseCasesAddToExistingCaseModal).toHaveBeenCalledWith({ + expect(mockUseCasesAddToExistingCaseModal).toHaveBeenCalledWith({ onClose: mockOnAddToCaseClicked, successToaster: { title: 'Successfully added visualization to the case', @@ -127,7 +114,7 @@ describe('useAddToExistingCase', () => { description: 'test_description', }; - mockGetUseCasesAddToExistingCaseModal.mockReturnValue({ open: mockOpenCaseModal }); + mockUseCasesAddToExistingCaseModal.mockReturnValue({ open: mockOpenCaseModal }); const { result } = renderHook(() => useAddToExistingCase({ diff --git a/x-pack/plugins/security_solution/public/common/components/visualization_actions/use_add_to_existing_case.tsx b/x-pack/plugins/security_solution/public/common/components/visualization_actions/use_add_to_existing_case.tsx index 1675802b9953e..aa11ced2603a9 100644 --- a/x-pack/plugins/security_solution/public/common/components/visualization_actions/use_add_to_existing_case.tsx +++ b/x-pack/plugins/security_solution/public/common/components/visualization_actions/use_add_to_existing_case.tsx @@ -40,7 +40,7 @@ export const useAddToExistingCase = ({ ] as CaseAttachmentsWithoutOwner; }, [lensAttributes, lensMetadata, timeRange]); - const selectCaseModal = cases.hooks.useCasesAddToExistingCaseModal({ + const { open: openSelectCaseModal } = cases.hooks.useCasesAddToExistingCaseModal({ onClose: onAddToCaseClicked, successToaster: { title: ADD_TO_CASE_SUCCESS, @@ -51,8 +51,8 @@ export const useAddToExistingCase = ({ if (onAddToCaseClicked) { onAddToCaseClicked(); } - selectCaseModal.open({ getAttachments: () => attachments }); - }, [attachments, onAddToCaseClicked, selectCaseModal]); + openSelectCaseModal({ getAttachments: () => attachments }); + }, [attachments, onAddToCaseClicked, openSelectCaseModal]); return { onAddToExistingCaseClicked, diff --git a/x-pack/plugins/security_solution/public/common/components/visualization_actions/use_add_to_new_case.test.tsx b/x-pack/plugins/security_solution/public/common/components/visualization_actions/use_add_to_new_case.test.tsx index 91347dc9fe073..fceff5e6cdaae 100644 --- a/x-pack/plugins/security_solution/public/common/components/visualization_actions/use_add_to_new_case.test.tsx +++ b/x-pack/plugins/security_solution/public/common/components/visualization_actions/use_add_to_new_case.test.tsx @@ -17,37 +17,26 @@ import { AttachmentType } from '@kbn/cases-plugin/common'; jest.mock('../../lib/kibana/kibana_react'); -const mockedUseKibana = mockUseKibana(); -const mockGetUseCasesAddToNewCaseFlyout = jest.fn(); -const mockCanUseCases = jest.fn(); - -jest.mock('../../lib/kibana', () => { - const original = jest.requireActual('../../lib/kibana'); - - return { - ...original, - useKibana: () => ({ - ...mockedUseKibana, - services: { - ...mockedUseKibana.services, - cases: { - hooks: { - useCasesAddToNewCaseFlyout: mockGetUseCasesAddToNewCaseFlyout, - }, - helpers: { canUseCases: mockCanUseCases }, - }, - }, - }), - }; -}); +jest.mock('../../lib/kibana'); describe('useAddToNewCase', () => { + const mockedUseKibana = mockUseKibana(); + const mockCanUseCases = jest.fn(); + const mockGetUseCasesAddToNewCaseFlyout = jest.fn().mockReturnValue({ + open: jest.fn(), + close: jest.fn(), + }); + const timeRange = { from: '2022-03-06T16:00:00.000Z', to: '2022-03-07T15:59:59.999Z', }; + beforeEach(() => { mockCanUseCases.mockReturnValue(allCasesPermissions()); + mockedUseKibana.services.cases.hooks.useCasesAddToNewCaseFlyout = + mockGetUseCasesAddToNewCaseFlyout; + mockedUseKibana.services.cases.helpers.canUseCases = mockCanUseCases; }); it('useCasesAddToNewCaseFlyout with attachments', () => { diff --git a/x-pack/plugins/security_solution/public/common/components/visualization_actions/use_add_to_new_case.tsx b/x-pack/plugins/security_solution/public/common/components/visualization_actions/use_add_to_new_case.tsx index aca5ba88dc057..c2ac628000fa7 100644 --- a/x-pack/plugins/security_solution/public/common/components/visualization_actions/use_add_to_new_case.tsx +++ b/x-pack/plugins/security_solution/public/common/components/visualization_actions/use_add_to_new_case.tsx @@ -43,7 +43,7 @@ export const useAddToNewCase = ({ ] as CaseAttachmentsWithoutOwner; }, [lensAttributes, lensMetadata, timeRange]); - const createCaseFlyout = cases.hooks.useCasesAddToNewCaseFlyout({ + const { open: openCreateCaseFlyout } = cases.hooks.useCasesAddToNewCaseFlyout({ toastContent: ADD_TO_CASE_SUCCESS, }); @@ -52,8 +52,8 @@ export const useAddToNewCase = ({ onClick(); } - createCaseFlyout.open({ attachments }); - }, [attachments, createCaseFlyout, onClick]); + openCreateCaseFlyout({ attachments }); + }, [attachments, openCreateCaseFlyout, onClick]); return { onAddToNewCaseClicked, diff --git a/x-pack/plugins/security_solution/public/common/lib/kibana/hooks.ts b/x-pack/plugins/security_solution/public/common/lib/kibana/hooks.ts index 714049872ee5d..1efbec8e5b4a7 100644 --- a/x-pack/plugins/security_solution/public/common/lib/kibana/hooks.ts +++ b/x-pack/plugins/security_solution/public/common/lib/kibana/hooks.ts @@ -71,7 +71,7 @@ export const convertArrayToCamelCase = (arrayOfSnakes: unknown[]): unknown[] => }, []); export const convertToCamelCase = (snakeCase: T): U => - Object.entries(snakeCase).reduce((acc, [key, value]) => { + Object.entries(snakeCase as never).reduce((acc, [key, value]) => { if (isArray(value)) { set(acc, camelCase(key), convertArrayToCamelCase(value)); } else if (isObject(value)) { diff --git a/x-pack/plugins/security_solution/public/detection_engine/rule_creation_ui/components/description_step/index.tsx b/x-pack/plugins/security_solution/public/detection_engine/rule_creation_ui/components/description_step/index.tsx index ebc25cadfa118..f6f5957b54e42 100644 --- a/x-pack/plugins/security_solution/public/detection_engine/rule_creation_ui/components/description_step/index.tsx +++ b/x-pack/plugins/security_solution/public/detection_engine/rule_creation_ui/components/description_step/index.tsx @@ -76,6 +76,7 @@ interface StepRuleDescriptionProps { columns?: 'multi' | 'single' | 'singleSplit'; data: unknown; indexPatterns?: DataViewBase; + // @ts-expect-error upgrade typescript v4.9.5 schema: FormSchema; } @@ -153,6 +154,7 @@ export const StepRuleDescription = memo(StepRuleDescriptionComponent); export const buildListItems = ( data: unknown, + // @ts-expect-error upgrade typescript v4.9.5 schema: FormSchema, filterManager: FilterManager, license: LicenseService, diff --git a/x-pack/plugins/security_solution/public/detection_engine/rule_exceptions/components/flyout_components/add_to_lists_options/index.tsx b/x-pack/plugins/security_solution/public/detection_engine/rule_exceptions/components/flyout_components/add_to_lists_options/index.tsx index d3642eaa8b9a5..cb26a461d4509 100644 --- a/x-pack/plugins/security_solution/public/detection_engine/rule_exceptions/components/flyout_components/add_to_lists_options/index.tsx +++ b/x-pack/plugins/security_solution/public/detection_engine/rule_exceptions/components/flyout_components/add_to_lists_options/index.tsx @@ -58,7 +58,13 @@ const ExceptionsAddToListsOptionsComponent: React.FC } + button={ + + } isOpen={isPopoverOpen} closePopover={closePopover} anchorPosition="upCenter" diff --git a/x-pack/plugins/security_solution/public/detection_engine/rule_exceptions/components/flyout_components/add_to_lists_options/translations.ts b/x-pack/plugins/security_solution/public/detection_engine/rule_exceptions/components/flyout_components/add_to_lists_options/translations.ts index eee5b861fa649..b1791fd2bcbbd 100644 --- a/x-pack/plugins/security_solution/public/detection_engine/rule_exceptions/components/flyout_components/add_to_lists_options/translations.ts +++ b/x-pack/plugins/security_solution/public/detection_engine/rule_exceptions/components/flyout_components/add_to_lists_options/translations.ts @@ -29,6 +29,13 @@ export const ADD_TO_LISTS_OPTION_TOOLTIP = i18n.translate( } ); +export const ADD_TO_LISTS_OPTION_TOOLTIP_ARIA_LABEL = i18n.translate( + 'xpack.securitySolution.rule_exceptions.flyoutComponents.addToListsOptions.addToListsTooltipAriaLabel', + { + defaultMessage: 'Learn more about shared exception lists', + } +); + export const ADD_TO_LISTS_OPTION_DISABLED_TOOLTIP = (rulesCount: number) => i18n.translate( 'xpack.securitySolution.rule_exceptions.flyoutComponents.addToListsOptions.addToListsTooltipTitle', diff --git a/x-pack/plugins/security_solution/public/detection_engine/rule_exceptions/components/flyout_components/add_to_lists_table/link_list_switch/index.tsx b/x-pack/plugins/security_solution/public/detection_engine/rule_exceptions/components/flyout_components/add_to_lists_table/link_list_switch/index.tsx index 6e7915d6f9295..486f0c7a5bf4c 100644 --- a/x-pack/plugins/security_solution/public/detection_engine/rule_exceptions/components/flyout_components/add_to_lists_table/link_list_switch/index.tsx +++ b/x-pack/plugins/security_solution/public/detection_engine/rule_exceptions/components/flyout_components/add_to_lists_table/link_list_switch/index.tsx @@ -8,6 +8,8 @@ import React, { memo, useCallback, useMemo } from 'react'; import { EuiFlexItem, EuiSwitch } from '@elastic/eui'; import type { ExceptionListRuleReferencesSchema } from '../../../../../../../common/api/detection_engine/rule_exceptions'; +import * as i18n from './translations'; + export const LinkListSwitch = memo( ({ list, @@ -39,8 +41,9 @@ export const LinkListSwitch = memo( ); diff --git a/x-pack/plugins/security_solution/public/detection_engine/rule_exceptions/components/flyout_components/add_to_lists_table/link_list_switch/translations.ts b/x-pack/plugins/security_solution/public/detection_engine/rule_exceptions/components/flyout_components/add_to_lists_table/link_list_switch/translations.ts new file mode 100644 index 0000000000000..7ea5b2188ee12 --- /dev/null +++ b/x-pack/plugins/security_solution/public/detection_engine/rule_exceptions/components/flyout_components/add_to_lists_table/link_list_switch/translations.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 { i18n } from '@kbn/i18n'; + +export const LINK_LIST_SWITCH_ARIA_LABEL = (name: string) => + i18n.translate('xpack.securitySolution.rule_exceptions.addToListTable.linkListSwitch.ariaLabel', { + values: { name }, + defaultMessage: 'Link "{name}"', + }); diff --git a/x-pack/plugins/security_solution/public/entity_analytics/components/risk_score_preview_table.tsx b/x-pack/plugins/security_solution/public/entity_analytics/components/risk_score_preview_table.tsx index 9b3a362e63495..17a2e9f0f81f9 100644 --- a/x-pack/plugins/security_solution/public/entity_analytics/components/risk_score_preview_table.tsx +++ b/x-pack/plugins/security_solution/public/entity_analytics/components/risk_score_preview_table.tsx @@ -8,6 +8,7 @@ import React from 'react'; import { EuiInMemoryTable } from '@elastic/eui'; import type { EuiBasicTableColumn } from '@elastic/eui'; +import { FormattedMessage } from '@kbn/i18n-react'; import type { RiskSeverity } from '../../../common/search_strategy'; import { RiskScoreLevel } from './severity/common'; @@ -31,7 +32,12 @@ export const RiskScorePreviewTable = ({ const columns: RiskScoreColumn[] = [ { field: 'id_value', - name: 'Name', + name: ( + + ), render: (itemName: string) => { return type === RiskScoreEntity.host ? ( @@ -42,7 +48,13 @@ export const RiskScorePreviewTable = ({ }, { field: 'calculated_level', - name: 'Level', + name: ( + + ), + render: (risk: RiskSeverity | null) => { if (risk != null) { return ; @@ -53,8 +65,12 @@ export const RiskScorePreviewTable = ({ }, { field: 'calculated_score_norm', - // align: 'right', - name: 'Score norm', + name: ( + + ), render: (scoreNorm: number | null) => { if (scoreNorm != null) { return Math.round(scoreNorm * 100) / 100; diff --git a/x-pack/plugins/security_solution/public/management/components/endpoint_response_actions_list/components/actions_log_table.tsx b/x-pack/plugins/security_solution/public/management/components/endpoint_response_actions_list/components/actions_log_table.tsx index 37b85aa42c918..03a2485892dac 100644 --- a/x-pack/plugins/security_solution/public/management/components/endpoint_response_actions_list/components/actions_log_table.tsx +++ b/x-pack/plugins/security_solution/public/management/components/endpoint_response_actions_list/components/actions_log_table.tsx @@ -273,6 +273,7 @@ interface ActionsLogTableProps { isFlyout: boolean; loading: boolean; onChange: ({ + // @ts-expect-error upgrade typescript v4.9.5 page: _page, }: CriteriaWithPagination) => void; onShowActionDetails: (actionIds: string[]) => void; diff --git a/x-pack/plugins/security_solution/public/management/cypress/e2e/response_actions/cases_response_console.cy.ts b/x-pack/plugins/security_solution/public/management/cypress/e2e/response_actions/cases_response_console.cy.ts deleted file mode 100644 index 573d3749c7391..0000000000000 --- a/x-pack/plugins/security_solution/public/management/cypress/e2e/response_actions/cases_response_console.cy.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 { loadPage } from '../../tasks/common'; -import { closeAllToasts } from '../../tasks/toasts'; -import { - addAlertToCase, - getAlertsTableRows, - openAlertDetailsView, - openResponderFromEndpointAlertDetails, -} from '../../screens/alerts'; -import { ensureOnResponder } from '../../screens/responder'; -import { cleanupCase, cleanupRule, loadCase, loadRule } from '../../tasks/api_fixtures'; -import type { PolicyData } from '../../../../../common/endpoint/types'; -import type { CreateAndEnrollEndpointHostResponse } from '../../../../../scripts/endpoint/common/endpoint_host_services'; -import { waitForEndpointListPageToBeLoaded } from '../../tasks/response_console'; -import type { IndexedFleetEndpointPolicyResponse } from '../../../../../common/endpoint/data_loaders/index_fleet_endpoint_policy'; -import { createAgentPolicyTask, getEndpointIntegrationVersion } from '../../tasks/fleet'; -import { openCaseAlertDetails, toggleRuleOffAndOn, visitRuleAlerts } from '../../tasks/isolate'; - -import { login } from '../../tasks/login'; -import { enableAllPolicyProtections } from '../../tasks/endpoint_policy'; -import { createEndpointHost } from '../../tasks/create_endpoint_host'; -import { deleteAllLoadedEndpointData } from '../../tasks/delete_all_endpoint_data'; -import { APP_CASES_PATH } from '../../../../../common/constants'; - -// TIMING OUT: https://github.com/elastic/kibana/issues/172720 -describe.skip('Response console', { tags: ['@ess', '@serverless', '@brokenInServerless'] }, () => { - let indexedPolicy: IndexedFleetEndpointPolicyResponse; - let policy: PolicyData; - let createdHost: CreateAndEnrollEndpointHostResponse; - - before(() => { - getEndpointIntegrationVersion().then((version) => - createAgentPolicyTask(version).then((data) => { - indexedPolicy = data; - policy = indexedPolicy.integrationPolicies[0]; - - return enableAllPolicyProtections(policy.id).then(() => { - // Create and enroll a new Endpoint host - return createEndpointHost(policy.policy_id).then((host) => { - createdHost = host as CreateAndEnrollEndpointHostResponse; - }); - }); - }) - ); - }); - - beforeEach(() => { - login(); - }); - - after(() => { - if (createdHost) { - cy.task('destroyEndpointHost', createdHost); - } - - if (indexedPolicy) { - cy.task('deleteIndexedFleetEndpointPolicies', indexedPolicy); - } - - if (createdHost) { - deleteAllLoadedEndpointData({ endpointAgentIds: [createdHost.agentId] }); - } - }); - - describe('From Cases', () => { - let ruleId: string; - let ruleName: string; - let caseId: string; - const caseOwner = 'securitySolution'; - - beforeEach(() => { - loadRule( - { query: `agent.name: ${createdHost.hostname} and agent.type: endpoint` }, - false - ).then((data) => { - ruleId = data.id; - ruleName = data.name; - }); - loadCase(caseOwner).then((data) => { - caseId = data.id; - }); - }); - - afterEach(() => { - if (ruleId) { - cleanupRule(ruleId); - } - if (caseId) { - cleanupCase(caseId); - } - }); - - it('should open responder', () => { - waitForEndpointListPageToBeLoaded(createdHost.hostname); - toggleRuleOffAndOn(ruleName); - visitRuleAlerts(ruleName); - closeAllToasts(); - - getAlertsTableRows().should('have.length.greaterThan', 0); - openAlertDetailsView(); - addAlertToCase(caseId, caseOwner); - - // visit case details page - cy.intercept('GET', `/api/cases/${caseId}/user_actions/_find*`).as('case'); - loadPage(`${APP_CASES_PATH}/${caseId}`); - - cy.wait('@case', { timeout: 30000 }).then(({ response: res }) => { - const caseAlertId = res?.body.userActions[1].id; - closeAllToasts(); - openCaseAlertDetails(caseAlertId); - }); - - openResponderFromEndpointAlertDetails(); - ensureOnResponder(); - }); - }); -}); diff --git a/x-pack/plugins/security_solution/public/management/cypress/e2e/response_actions/responder.cy.ts b/x-pack/plugins/security_solution/public/management/cypress/e2e/response_actions/responder.cy.ts index ebcac6dd439df..e737779ad8ff9 100644 --- a/x-pack/plugins/security_solution/public/management/cypress/e2e/response_actions/responder.cy.ts +++ b/x-pack/plugins/security_solution/public/management/cypress/e2e/response_actions/responder.cy.ts @@ -36,12 +36,11 @@ describe('When accessing Endpoint Response Console', { tags: ['@ess', '@serverle closeResponder(); }; - before(() => { + beforeEach(() => { login(); }); - // FLAKY: https://github.com/elastic/kibana/issues/169894 - describe.skip('from Cases', () => { + describe('from Cases', () => { let endpointData: ReturnTypeFromChainable; let caseData: ReturnTypeFromChainable; let alertData: ReturnTypeFromChainable; @@ -51,7 +50,7 @@ describe('When accessing Endpoint Response Console', { tags: ['@ess', '@serverle const openCaseAlertDetails = () => { cy.getByTestSubj(`comment-action-show-alert-${caseAlertActions.comments[alertId]}`).click(); - cy.getByTestSubj('take-action-dropdown-btn').click(); + return cy.getByTestSubj('take-action-dropdown-btn').click(); }; before(() => { @@ -100,10 +99,6 @@ describe('When accessing Endpoint Response Console', { tags: ['@ess', '@serverle } }); - beforeEach(() => { - login(); - }); - it('should display responder option in take action menu', () => { loadPage(caseUrlPath); closeAllToasts(); diff --git a/x-pack/plugins/security_solution/public/types.ts b/x-pack/plugins/security_solution/public/types.ts index ee2437d28f0d7..3c76453acb386 100644 --- a/x-pack/plugins/security_solution/public/types.ts +++ b/x-pack/plugins/security_solution/public/types.ts @@ -25,7 +25,7 @@ import type { TriggersAndActionsUIPublicPluginSetup as TriggersActionsSetup, TriggersAndActionsUIPublicPluginStart as TriggersActionsStart, } from '@kbn/triggers-actions-ui-plugin/public'; -import type { CasesUiStart, CasesUiSetup } from '@kbn/cases-plugin/public'; +import type { CasesPublicStart, CasesPublicSetup } from '@kbn/cases-plugin/public'; import type { SecurityPluginSetup, SecurityPluginStart } from '@kbn/security-plugin/public'; import type { TimelinesUIStart } from '@kbn/timelines-plugin/public'; import type { SessionViewStart } from '@kbn/session-view-plugin/public'; @@ -93,7 +93,7 @@ export interface SetupPlugins { triggersActionsUi: TriggersActionsSetup; usageCollection?: UsageCollectionSetup; ml?: MlPluginSetup; - cases?: CasesUiSetup; + cases?: CasesPublicSetup; } /** @@ -106,7 +106,7 @@ export interface SetupPlugins { * in the code. */ export interface StartPlugins { - cases: CasesUiStart; + cases: CasesPublicStart; data: DataPublicPluginStart; unifiedSearch: UnifiedSearchPublicPluginStart; dashboard?: DashboardStart; diff --git a/x-pack/plugins/security_solution/scripts/endpoint/common/agent_downloads_service.ts b/x-pack/plugins/security_solution/scripts/endpoint/common/agent_downloads_service.ts index 410ddd65cf842..5e2e003b6096b 100644 --- a/x-pack/plugins/security_solution/scripts/endpoint/common/agent_downloads_service.ts +++ b/x-pack/plugins/security_solution/scripts/endpoint/common/agent_downloads_service.ts @@ -198,6 +198,7 @@ const handleProcessInterruptions = async ( throw e; } + // @ts-expect-error upgrade typescript v4.9.5 if ('finally' in runnerResponse) { (runnerResponse as Promise).finally(() => { stopListeners(); diff --git a/x-pack/plugins/security_solution/server/endpoint/endpoint_app_context_services.ts b/x-pack/plugins/security_solution/server/endpoint/endpoint_app_context_services.ts index 75b96842757fc..250ac6f9be599 100644 --- a/x-pack/plugins/security_solution/server/endpoint/endpoint_app_context_services.ts +++ b/x-pack/plugins/security_solution/server/endpoint/endpoint_app_context_services.ts @@ -13,7 +13,7 @@ import type { SavedObjectsClientContract, } from '@kbn/core/server'; import type { ExceptionListClient, ListsServerExtensionRegistrar } from '@kbn/lists-plugin/server'; -import type { CasesClient, CasesStart } from '@kbn/cases-plugin/server'; +import type { CasesClient, CasesServerStart } from '@kbn/cases-plugin/server'; import type { SecurityPluginStart } from '@kbn/security-plugin/server'; import type { FleetFromHostFileClientInterface, @@ -52,7 +52,6 @@ import type { EndpointAuthz } from '../../common/endpoint/types/authz'; import { calculateEndpointAuthz } from '../../common/endpoint/service/authz'; import type { FeatureUsageService } from './services/feature_usage/service'; import type { ExperimentalFeatures } from '../../common/experimental_features'; -import type { ActionCreateService } from './services/actions/create/types'; import type { ProductFeaturesService } from '../lib/product_features_service/product_features_service'; import type { ResponseActionAgentType } from '../../common/endpoint/service/response_actions/constants'; @@ -77,11 +76,10 @@ export interface EndpointAppContextServiceStartContract { registerListsServerExtension?: ListsServerExtensionRegistrar; licenseService: LicenseService; exceptionListsClient: ExceptionListClient | undefined; - cases: CasesStart | undefined; + cases: CasesServerStart | undefined; featureUsageService: FeatureUsageService; experimentalFeatures: ExperimentalFeatures; messageSigningService: MessageSigningServiceInterface | undefined; - actionCreateService: ActionCreateService | undefined; esClient: ElasticsearchClient; productFeaturesService: ProductFeaturesService; savedObjectsClient: SavedObjectsClientContract; @@ -309,15 +307,6 @@ export class EndpointAppContextService { }); } - /** @deprecated use `getInternalResponseActionsClient()` */ - public getActionCreateService(): ActionCreateService { - if (!this.startDependencies?.actionCreateService) { - throw new EndpointAppContentServicesNotStartedError(); - } - - return this.startDependencies.actionCreateService; - } - public async getFleetToHostFilesClient() { if (!this.startDependencies?.createFleetFilesClient) { throw new EndpointAppContentServicesNotStartedError(); diff --git a/x-pack/plugins/security_solution/server/endpoint/mocks.ts b/x-pack/plugins/security_solution/server/endpoint/mocks.ts index e7014878c792e..6a543084f51d3 100644 --- a/x-pack/plugins/security_solution/server/endpoint/mocks.ts +++ b/x-pack/plugins/security_solution/server/endpoint/mocks.ts @@ -46,7 +46,6 @@ import { elasticsearchClientMock } from '@kbn/core-elasticsearch-client-server-m import { casesPluginMock } from '@kbn/cases-plugin/server/mocks'; import { createCasesClientMock } from '@kbn/cases-plugin/server/client/mocks'; import type { AddVersionOpts, VersionedRouteConfig } from '@kbn/core-http-server'; -import { createActionCreateServiceMock } from './services/actions/mocks'; import { getEndpointAuthzInitialStateMock } from '../../common/endpoint/service/authz/mocks'; import { createMockConfig, requestContextMock } from '../lib/detection_engine/routes/__mocks__'; import type { @@ -117,7 +116,6 @@ export const createMockEndpointAppContextService = ( getInternalFleetServices: jest.fn(() => mockEndpointMetadataContext.fleetServices), getEndpointAuthz: jest.fn(async (_) => getEndpointAuthzInitialStateMock()), getCasesClient: jest.fn().mockReturnValue(casesClientMock), - getActionCreateService: jest.fn().mockReturnValue(createActionCreateServiceMock()), getFleetFromHostFilesClient: jest.fn(async () => fleetFromHostFilesClientMock), getFleetToHostFilesClient: jest.fn(async () => fleetToHostFilesClientMock), setup: jest.fn(), @@ -223,7 +221,6 @@ export const createMockEndpointAppContextServiceStartContract = featureUsageService: createFeatureUsageServiceMock(), experimentalFeatures, messageSigningService: createMessageSigningServiceMock(), - actionCreateService: undefined, createFleetActionsClient: jest.fn((_) => fleetActionsClientMock), esClient: elasticsearchClientMock.createElasticsearchClient(), productFeaturesService, diff --git a/x-pack/plugins/security_solution/server/endpoint/routes/actions/response_actions.test.ts b/x-pack/plugins/security_solution/server/endpoint/routes/actions/response_actions.test.ts index 87687165c3e05..d964d2bc00b70 100644 --- a/x-pack/plugins/security_solution/server/endpoint/routes/actions/response_actions.test.ts +++ b/x-pack/plugins/security_solution/server/endpoint/routes/actions/response_actions.test.ts @@ -61,7 +61,6 @@ import { registerResponseActionRoutes } from './response_actions'; import * as ActionDetailsService from '../../services/actions/action_details_by_id'; import { CaseStatuses } from '@kbn/cases-components'; import { getEndpointAuthzInitialStateMock } from '../../../../common/endpoint/service/authz/mocks'; -import { actionCreateService } from '../../services/actions'; import { getResponseActionsClient as _getResponseActionsClient } from '../../services'; import type { UploadActionApiRequestBody } from '../../../../common/api/endpoint'; import type { FleetToHostFileClientInterface } from '@kbn/fleet-plugin/server'; @@ -159,7 +158,6 @@ describe('Response actions', () => { endpointAppContextService.setup(createMockEndpointAppContextServiceSetupContract()); endpointAppContextService.start({ ...startContract, - actionCreateService: actionCreateService(mockScopedClient.asInternalUser, endpointContext), licenseService, }); diff --git a/x-pack/plugins/security_solution/server/endpoint/services/actions/clients/endpoint/endpoint_actions_client.ts b/x-pack/plugins/security_solution/server/endpoint/services/actions/clients/endpoint/endpoint_actions_client.ts index dbef273c7c62a..c60d74b543e0c 100644 --- a/x-pack/plugins/security_solution/server/endpoint/services/actions/clients/endpoint/endpoint_actions_client.ts +++ b/x-pack/plugins/security_solution/server/endpoint/services/actions/clients/endpoint/endpoint_actions_client.ts @@ -7,8 +7,8 @@ import type { FleetActionRequest } from '@kbn/fleet-plugin/server/services/actions'; import { v4 as uuidv4 } from 'uuid'; +import { getActionRequestExpiration } from '../../utils'; import { ResponseActionsClientError } from '../errors'; -import { getActionRequestExpiration } from '../../create/write_action_to_indices'; import { stringify } from '../../../../utils/stringify'; import type { HapiReadableStream } from '../../../../../types'; import type { @@ -112,8 +112,8 @@ export class EndpointActionsClient extends ResponseActionsClientImpl { await this.writeActionRequestToEndpointIndex({ ...actionReq, error: actionError, - rule_id: ruleId, - rule_name: ruleName, + ruleId, + ruleName, hosts, actionId, command, diff --git a/x-pack/plugins/security_solution/server/endpoint/services/actions/clients/lib/base_response_actions_client.test.ts b/x-pack/plugins/security_solution/server/endpoint/services/actions/clients/lib/base_response_actions_client.test.ts index 20e1942d16732..d3a5cb3851ac7 100644 --- a/x-pack/plugins/security_solution/server/endpoint/services/actions/clients/lib/base_response_actions_client.test.ts +++ b/x-pack/plugins/security_solution/server/endpoint/services/actions/clients/lib/base_response_actions_client.test.ts @@ -12,7 +12,7 @@ import type { ResponseActionsClientWriteActionRequestToEndpointIndexOptions, ResponseActionsClientWriteActionResponseToEndpointIndexOptions, } from './base_response_actions_client'; -import { ResponseActionsClientImpl } from './base_response_actions_client'; +import { HOST_NOT_ENROLLED, ResponseActionsClientImpl } from './base_response_actions_client'; import type { ActionDetails, LogsEndpointAction, @@ -34,7 +34,6 @@ import { set } from 'lodash'; import { responseActionsClientMock } from '../mocks'; import type { ResponseActionAgentType } from '../../../../../../common/endpoint/service/response_actions/constants'; import { getResponseActionFeatureKey } from '../../../feature_usage/feature_keys'; -import { HOST_NOT_ENROLLED } from '../../create/validate'; import { isActionSupportedByAgentType as _isActionSupportedByAgentType } from '../../../../../../common/endpoint/service/response_actions/is_response_action_supported'; jest.mock('../../action_details_by_id', () => { @@ -308,8 +307,8 @@ describe('ResponseActionsClientImpl base class', () => { agent_type: 'endpoint', endpoint_ids: ['one'], comment: 'test comment', - rule_name: undefined, - rule_id: undefined, + ruleName: undefined, + ruleId: undefined, alert_ids: undefined, case_ids: undefined, hosts: undefined, @@ -390,11 +389,11 @@ describe('ResponseActionsClientImpl base class', () => { }); it('should include Rule information if rule_id and rule_name were provided', async () => { - indexDocOptions.rule_id = '1-2-3'; - indexDocOptions.rule_name = 'rule 123'; + indexDocOptions.ruleId = '1-2-3'; + indexDocOptions.ruleName = 'rule 123'; expectedIndexDoc.rule = { - name: indexDocOptions.rule_name, - id: indexDocOptions.rule_id, + name: indexDocOptions.ruleName, + id: indexDocOptions.ruleId, }; await expect( @@ -403,7 +402,7 @@ describe('ResponseActionsClientImpl base class', () => { }); it('should NOT include Rule information if rule_id or rule_name are missing', async () => { - indexDocOptions.rule_id = '1-2-3'; + indexDocOptions.ruleId = '1-2-3'; await expect( baseClassMock.writeActionRequestToEndpointIndex(indexDocOptions) diff --git a/x-pack/plugins/security_solution/server/endpoint/services/actions/clients/lib/base_response_actions_client.ts b/x-pack/plugins/security_solution/server/endpoint/services/actions/clients/lib/base_response_actions_client.ts index a30c9ed65817f..fb61525683489 100644 --- a/x-pack/plugins/security_solution/server/endpoint/services/actions/clients/lib/base_response_actions_client.ts +++ b/x-pack/plugins/security_solution/server/endpoint/services/actions/clients/lib/base_response_actions_client.ts @@ -11,8 +11,9 @@ import type { Logger } from '@kbn/logging'; import { v4 as uuidv4 } from 'uuid'; import { AttachmentType, ExternalReferenceStorageType } from '@kbn/cases-plugin/common'; import type { CaseAttachments } from '@kbn/cases-plugin/public/types'; +import { i18n } from '@kbn/i18n'; +import { getActionRequestExpiration } from '../../utils'; import { isActionSupportedByAgentType } from '../../../../../../common/endpoint/service/response_actions/is_response_action_supported'; -import { HOST_NOT_ENROLLED, LICENSE_TOO_LOW } from '../../create/validate'; import type { EndpointAppContextService } from '../../../../endpoint_app_context_services'; import { APP_ID } from '../../../../../../common'; import type { @@ -21,11 +22,6 @@ import type { } from '../../../../../../common/endpoint/service/response_actions/constants'; import { getActionDetailsById } from '../../action_details_by_id'; import { ResponseActionsClientError, ResponseActionsNotSupportedError } from '../errors'; -import { - addRuleInfoToAction, - getActionParameters, - getActionRequestExpiration, -} from '../../create/write_action_to_indices'; import { ENDPOINT_ACTION_RESPONSES_INDEX, ENDPOINT_ACTIONS_INDEX, @@ -58,11 +54,24 @@ import type { ResponseActionsRequestBody, UploadActionApiRequestBody, } from '../../../../../../common/api/endpoint'; -import type { CreateActionPayload } from '../../create/types'; import { stringify } from '../../../../utils/stringify'; import { CASE_ATTACHMENT_ENDPOINT_TYPE_ID } from '../../../../../../common/constants'; import { EMPTY_COMMENT } from '../../../../utils/translations'; +const ENTERPRISE_LICENSE_REQUIRED_MSG = i18n.translate( + 'xpack.securitySolution.responseActionsList.error.licenseTooLow', + { + defaultMessage: 'At least Enterprise license is required to use Response Actions.', + } +); + +export const HOST_NOT_ENROLLED = i18n.translate( + 'xpack.securitySolution.responseActionsList.error.hostNotEnrolled', + { + defaultMessage: 'The host does not have Elastic Defend integration installed', + } +); + export interface ResponseActionsClientOptions { endpointService: EndpointAppContextService; esClient: ElasticsearchClient; @@ -96,7 +105,8 @@ export interface ResponseActionsClientUpdateCasesOptions { export type ResponseActionsClientWriteActionRequestToEndpointIndexOptions = ResponseActionsRequestBody & - Pick & { + Pick & { + command: ResponseActionsApiCommandNames; actionId?: string; }; @@ -277,7 +287,7 @@ export abstract class ResponseActionsClientImpl implements ResponseActionsClient if (!this.options.endpointService.getLicenseService().isEnterprise()) { return { isValid: false, - error: new ResponseActionsClientError(LICENSE_TOO_LOW, 403), + error: new ResponseActionsClientError(ENTERPRISE_LICENSE_REQUIRED_MSG, 403), }; } } @@ -343,14 +353,16 @@ export abstract class ResponseActionsClientImpl implements ResponseActionsClient comment: actionRequest.comment ?? undefined, ...(actionRequest.alert_ids ? { alert_id: actionRequest.alert_ids } : {}), ...(actionRequest.hosts ? { hosts: actionRequest.hosts } : {}), - parameters: getActionParameters(actionRequest) as EndpointActionDataParameterTypes, + parameters: actionRequest.parameters as EndpointActionDataParameterTypes, }, }, user: { id: this.options.username, }, ...(errorMsg ? { error: { message: errorMsg } } : {}), - ...addRuleInfoToAction(actionRequest), + ...(actionRequest.ruleId && actionRequest.ruleName + ? { rule: { id: actionRequest.ruleId, name: actionRequest.ruleName } } + : {}), }; try { diff --git a/x-pack/plugins/security_solution/server/endpoint/services/actions/clients/mocks.ts b/x-pack/plugins/security_solution/server/endpoint/services/actions/clients/mocks.ts index 76c06111e9173..c8e8662887602 100644 --- a/x-pack/plugins/security_solution/server/endpoint/services/actions/clients/mocks.ts +++ b/x-pack/plugins/security_solution/server/endpoint/services/actions/clients/mocks.ts @@ -247,6 +247,7 @@ const createConnectorActionExecuteResponseMock = ( status: 'ok', }; + // @ts-expect-error upgrade typescript v4.9.5 return merge(result, overrides); }; diff --git a/x-pack/plugins/security_solution/server/endpoint/services/actions/create/action_errors.ts b/x-pack/plugins/security_solution/server/endpoint/services/actions/create/action_errors.ts deleted file mode 100644 index f93a6d13cd720..0000000000000 --- a/x-pack/plugins/security_solution/server/endpoint/services/actions/create/action_errors.ts +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the Elastic License - * 2.0; you may not use this file except in compliance with the Elastic License - * 2.0. - */ - -import type { LicenseType } from '@kbn/licensing-plugin/common/types'; -import type { EcsError } from '@elastic/ecs'; -import { validateAgents, validateAlertError, validateEndpointLicense } from './validate'; -import type { LicenseService } from '../../../../../common/license/license'; - -export const addErrorsToActionIfAny = ({ - agents, - licenseService, - minimumLicenseRequired = 'basic', - error, -}: { - agents: string[]; - licenseService: LicenseService; - minimumLicenseRequired: LicenseType; - error?: string; -}): - | { - error: { - code: EcsError['code']; - message: EcsError['message']; - }; - } - | undefined => { - const licenseError = validateEndpointLicense(licenseService, minimumLicenseRequired); - const agentsError = validateAgents(agents); - const actionError = validateAlertError(error); - const alertActionError = licenseError || agentsError || actionError; - - if (alertActionError) { - return { - error: { - code: '400', - message: alertActionError, - }, - }; - } -}; diff --git a/x-pack/plugins/security_solution/server/endpoint/services/actions/create/index.ts b/x-pack/plugins/security_solution/server/endpoint/services/actions/create/index.ts deleted file mode 100644 index e7a2b8a244324..0000000000000 --- a/x-pack/plugins/security_solution/server/endpoint/services/actions/create/index.ts +++ /dev/null @@ -1,79 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the Elastic License - * 2.0; you may not use this file except in compliance with the Elastic License - * 2.0. - */ - -import { v4 as uuidv4 } from 'uuid'; -import type { ElasticsearchClient } from '@kbn/core-elasticsearch-server'; - -import type { - ActionDetails, - EndpointActionDataParameterTypes, - HostMetadata, - EndpointActionResponseDataOutput, -} from '../../../../../common/endpoint/types'; -import type { EndpointAppContext } from '../../../types'; -import { getActionDetailsById } from '..'; -import type { ActionCreateService, CreateActionMetadata, CreateActionPayload } from './types'; -import { writeActionToIndices } from './write_action_to_indices'; -import { responseActionsWithLegacyActionProperty } from '../constants'; - -export const actionCreateService = ( - esClient: ElasticsearchClient, - endpointContext: EndpointAppContext -): ActionCreateService => { - const createAction = async < - TOutputContent extends EndpointActionResponseDataOutput = EndpointActionResponseDataOutput, - TParameters extends EndpointActionDataParameterTypes = EndpointActionDataParameterTypes - >( - payload: CreateActionPayload, - agents: string[], - { minimumLicenseRequired = 'basic' }: CreateActionMetadata = {} - ): Promise> => { - const usageService = endpointContext.service.getFeatureUsageService(); - const featureKey = usageService.getResponseActionFeatureKey(payload.command); - - if (featureKey) { - usageService.notifyUsage(featureKey); - } - - // create an Action ID and use that to dispatch action to ES & Fleet Server - const actionID = uuidv4(); - - await writeActionToIndices({ - actionID, - agents, - esClient, - endpointContext, - minimumLicenseRequired, - payload, - }); - - const actionId = responseActionsWithLegacyActionProperty.includes(payload.command) - ? { action: actionID } - : {}; - const data = await getActionDetailsById( - esClient, - endpointContext.service.getEndpointMetadataService(), - actionID - ); - - return { - ...actionId, - ...data, - } as ActionDetails; - }; - - return { - createAction, - createActionFromAlert: async (payload) => { - const endpointData = await endpointContext.service - .getEndpointMetadataService() - .getMetadataForEndpoints(esClient, [...new Set(payload.endpoint_ids)]); - const agentIds = endpointData.map((endpoint: HostMetadata) => endpoint.elastic.agent.id); - return createAction(payload, agentIds, { minimumLicenseRequired: 'enterprise' }); - }, - }; -}; diff --git a/x-pack/plugins/security_solution/server/endpoint/services/actions/create/types.ts b/x-pack/plugins/security_solution/server/endpoint/services/actions/create/types.ts deleted file mode 100644 index 131869e5248fa..0000000000000 --- a/x-pack/plugins/security_solution/server/endpoint/services/actions/create/types.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 type { LicenseType } from '@kbn/licensing-plugin/server'; -import type { TypeOf } from '@kbn/config-schema'; -import type { ResponseActionBodySchema } from '../../../../../common/api/endpoint'; -import type { - ActionDetails, - EndpointActionDataParameterTypes, - EndpointActionResponseDataOutput, -} from '../../../../../common/endpoint/types'; -import type { ResponseActionsApiCommandNames } from '../../../../../common/endpoint/service/response_actions/constants'; - -export type CreateActionPayload = TypeOf & { - command: ResponseActionsApiCommandNames; - user?: { username: string } | null | undefined; - rule_id?: string; - rule_name?: string; - error?: string; - hosts?: Record; -}; - -export interface CreateActionMetadata { - minimumLicenseRequired?: LicenseType; -} - -export interface ActionCreateService { - createActionFromAlert: (payload: CreateActionPayload, agents: string[]) => Promise; - createAction: < - TOutputContent extends EndpointActionResponseDataOutput = EndpointActionResponseDataOutput, - TParameters extends EndpointActionDataParameterTypes = EndpointActionDataParameterTypes - >( - payload: CreateActionPayload, - agents: string[], - metadata?: CreateActionMetadata - ) => Promise>; -} diff --git a/x-pack/plugins/security_solution/server/endpoint/services/actions/create/validate.ts b/x-pack/plugins/security_solution/server/endpoint/services/actions/create/validate.ts deleted file mode 100644 index cb831021501c3..0000000000000 --- a/x-pack/plugins/security_solution/server/endpoint/services/actions/create/validate.ts +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license 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 type { LicenseType } from '@kbn/licensing-plugin/server'; -import type { LicenseService } from '../../../../../common/license'; - -export const validateEndpointLicense = ( - license: LicenseService, - licenseType: LicenseType -): string | undefined => { - const hasEnterpriseLicense = license.isAtLeast(licenseType); - - if (!hasEnterpriseLicense) { - return LICENSE_TOO_LOW; - } -}; - -export const validateAgents = (agents: string[]): string | undefined => { - if (!agents.length) { - return HOST_NOT_ENROLLED; - } -}; - -export const validateAlertError = (field?: string): string | undefined => { - if (field) { - return FIELD_NOT_EXIST(field); - } -}; - -export const LICENSE_TOO_LOW = i18n.translate( - 'xpack.securitySolution.responseActionsList.error.licenseTooLow', - { - defaultMessage: 'At least Enterprise license is required to use Response Actions.', - } -); - -export const HOST_NOT_ENROLLED = i18n.translate( - 'xpack.securitySolution.responseActionsList.error.hostNotEnrolled', - { - defaultMessage: 'The host does not have Elastic Defend integration installed', - } -); - -export const FIELD_NOT_EXIST = (field: string): string => - i18n.translate('xpack.securitySolution.responseActionsList.error.nonExistingFieldName', { - defaultMessage: 'The action was called with a non-existing event field name: {field}', - values: { field }, - }); diff --git a/x-pack/plugins/security_solution/server/endpoint/services/actions/create/write_action_to_indices.ts b/x-pack/plugins/security_solution/server/endpoint/services/actions/create/write_action_to_indices.ts deleted file mode 100644 index 3e86e8fa9625c..0000000000000 --- a/x-pack/plugins/security_solution/server/endpoint/services/actions/create/write_action_to_indices.ts +++ /dev/null @@ -1,213 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license 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/core/server'; -import moment from 'moment'; -import type { LicenseType } from '@kbn/licensing-plugin/common/types'; -import type { FleetActionRequest } from '@kbn/fleet-plugin/server/services/actions/types'; -import { isExecuteAction } from '../../../../../common/endpoint/service/response_actions/type_guards'; -import { DEFAULT_EXECUTE_ACTION_TIMEOUT } from '../../../../../common/endpoint/service/response_actions/constants'; -import { - ENDPOINT_ACTIONS_DS, - ENDPOINT_ACTIONS_INDEX, - ENDPOINT_ACTION_RESPONSES_DS, - failedFleetActionErrorCode, -} from '../../../../../common/endpoint/constants'; -import type { - EndpointAction, - LogsEndpointAction, - LogsEndpointActionResponse, - ResponseActionsExecuteParameters, -} from '../../../../../common/endpoint/types'; -import type { EndpointAppContext } from '../../../types'; -import { doLogsEndpointActionDsExists, wrapErrorIfNeeded } from '../../../utils'; -import { addErrorsToActionIfAny } from './action_errors'; -import type { CreateActionPayload } from './types'; - -export const writeActionToIndices = async ({ - actionID, - agents, - esClient, - endpointContext, - minimumLicenseRequired, - payload, -}: { - actionID: string; - agents: string[]; - esClient: ElasticsearchClient; - endpointContext: EndpointAppContext; - minimumLicenseRequired: LicenseType; - payload: CreateActionPayload; -}): Promise => { - const logger = endpointContext.logFactory.get('createResponseAction'); - const licenseService = endpointContext.service.getLicenseService(); - - const doc: LogsEndpointAction = { - '@timestamp': moment().toISOString(), - agent: { - id: payload.endpoint_ids, - }, - EndpointActions: { - action_id: actionID, - expiration: moment().add(2, 'weeks').toISOString(), - type: 'INPUT_ACTION', - input_type: 'endpoint', - data: { - command: payload.command, - comment: payload.comment ?? undefined, - ...(payload.alert_ids ? { alert_id: payload.alert_ids } : {}), - ...(payload.hosts ? { hosts: payload.hosts } : {}), - parameters: getActionParameters(payload) ?? undefined, - }, - } as Omit, - user: { - id: payload.user ? payload.user.username : 'unknown', - }, - ...addErrorsToActionIfAny({ - agents, - licenseService, - minimumLicenseRequired, - error: payload.error, - }), - ...addRuleInfoToAction(payload), - }; - - // if .logs-endpoint.actions data stream exists - // try to create action request record in .logs-endpoint.actions DS as the current user - // (from >= v7.16, use this check to ensure the current user has privileges to write to the new index) - // and allow only users with superuser privileges to write to fleet indices - const doesLogsEndpointActionsDsExist = await doLogsEndpointActionDsExists({ - esClient, - logger, - dataStreamName: ENDPOINT_ACTIONS_DS, - }); - - // if the new endpoint indices/data streams exists - // write the action request to the new endpoint index - if (doesLogsEndpointActionsDsExist) { - const logsEndpointActionsResult = await esClient.index( - { - index: ENDPOINT_ACTIONS_INDEX, - document: { - ...doc, - agent: { - id: payload.endpoint_ids, - }, - }, - refresh: 'wait_for', - }, - { meta: true } - ); - if (logsEndpointActionsResult.statusCode !== 201) { - throw new Error(logsEndpointActionsResult.body.result); - } - } - - if (!doc.error) { - // add signature to doc - const fleetActionDoc = { - ...doc.EndpointActions, - '@timestamp': doc['@timestamp'], - agents, - timeout: 300, // 5 minutes - user_id: doc.user.id, - }; - const fleetActionDocSignature = await endpointContext.service - .getMessageSigningService() - .sign(fleetActionDoc); - const signedFleetActionDoc = { - ...fleetActionDoc, - signed: { - data: fleetActionDocSignature.data.toString('base64'), - signature: fleetActionDocSignature.signature, - }, - } as unknown as FleetActionRequest; - // write actions to .fleet-actions index - try { - const fleetActionsClient = await endpointContext.service.getFleetActionsClient(); - await fleetActionsClient.create(signedFleetActionDoc); - } catch (e) { - // create entry in .logs-endpoint.action.responses-default data stream - // when writing to .fleet-actions fails - if (doesLogsEndpointActionsDsExist) { - await createFailedActionResponseEntry({ - esClient, - doc: { - '@timestamp': moment().toISOString(), - agent: doc.agent, - EndpointActions: { - action_id: doc.EndpointActions.action_id, - completed_at: moment().toISOString(), - started_at: moment().toISOString(), - data: doc.EndpointActions.data, - input_type: 'endpoint', - }, - }, - logger, - }); - } - - throw e; - } - } -}; - -const createFailedActionResponseEntry = async ({ - esClient, - doc, - logger, -}: { - esClient: ElasticsearchClient; - doc: LogsEndpointActionResponse; - logger: Logger; -}): Promise => { - try { - await esClient.index({ - index: `${ENDPOINT_ACTION_RESPONSES_DS}-default`, - document: { - ...doc, - error: { - code: failedFleetActionErrorCode, - message: 'Failed to deliver action request to fleet', - }, - }, - }); - } catch (error) { - logger.error(wrapErrorIfNeeded(error)); - } -}; - -export const addRuleInfoToAction = ( - payload: Pick -): Pick => { - if (payload.rule_id && payload.rule_name) { - return { rule: { id: payload.rule_id, name: payload.rule_name } }; - } - - return {}; -}; - -export const getActionParameters = ( - action: Pick -): ResponseActionsExecuteParameters | Readonly<{}> | undefined => { - // set timeout to 4h (if not specified or when timeout is specified as 0) when command is `execute` - if (isExecuteAction(action)) { - const actionRequestParams = action.parameters; - if (typeof actionRequestParams?.timeout === 'undefined') { - return { ...actionRequestParams, timeout: DEFAULT_EXECUTE_ACTION_TIMEOUT }; - } - return actionRequestParams; - } - - // for all other commands return the parameters as is - return action.parameters ?? undefined; -}; - -export const getActionRequestExpiration = (): string => { - return moment().add(2, 'weeks').toISOString(); -}; diff --git a/x-pack/plugins/security_solution/server/endpoint/services/actions/index.ts b/x-pack/plugins/security_solution/server/endpoint/services/actions/index.ts index 49f8a89944d37..e9f0ed89eb2ac 100644 --- a/x-pack/plugins/security_solution/server/endpoint/services/actions/index.ts +++ b/x-pack/plugins/security_solution/server/endpoint/services/actions/index.ts @@ -10,5 +10,4 @@ export { getActionDetailsById } from './action_details_by_id'; export { getActionList, getActionListByStatus } from './action_list'; export { getPendingActionsSummary } from './pending_actions_summary'; export { validateActionId } from './validate_action_id'; -export * from './create'; export * from './clients'; diff --git a/x-pack/plugins/security_solution/server/endpoint/services/actions/mocks.ts b/x-pack/plugins/security_solution/server/endpoint/services/actions/mocks.ts index 0c5ac6cf38b38..d15fb6ad2fe3d 100644 --- a/x-pack/plugins/security_solution/server/endpoint/services/actions/mocks.ts +++ b/x-pack/plugins/security_solution/server/endpoint/services/actions/mocks.ts @@ -23,7 +23,6 @@ import { ENDPOINT_ACTION_RESPONSES_INDEX_PATTERN, ENDPOINT_ACTIONS_INDEX, } from '../../../../common/endpoint/constants'; -import type { actionCreateService } from '..'; export const createActionRequestsEsSearchResultsMock = ( agentIds?: string[], @@ -241,14 +240,3 @@ export const createHapiReadableStreamMock = (): HapiReadableStream => { return readable; }; - -export const createActionCreateServiceMock = (): jest.Mocked< - ReturnType -> => { - const createdActionMock = new EndpointActionGenerator('seed').generateActionDetails(); - - return { - createAction: jest.fn().mockResolvedValue(createdActionMock), - createActionFromAlert: jest.fn().mockResolvedValue(createdActionMock), - }; -}; diff --git a/x-pack/plugins/security_solution/server/endpoint/services/actions/utils.ts b/x-pack/plugins/security_solution/server/endpoint/services/actions/utils.ts index cd75c8622a394..df07a46fb14f8 100644 --- a/x-pack/plugins/security_solution/server/endpoint/services/actions/utils.ts +++ b/x-pack/plugins/security_solution/server/endpoint/services/actions/utils.ts @@ -8,13 +8,14 @@ import type { ElasticsearchClient } from '@kbn/core/server'; import type * as estypes from '@elastic/elasticsearch/lib/api/typesWithBodyKey'; import type { EcsError } from '@elastic/ecs'; +import moment from 'moment/moment'; import type { - ResponseActionsApiCommandNames, ResponseActionAgentType, + ResponseActionsApiCommandNames, } from '../../../../common/endpoint/service/response_actions/constants'; import { - ENDPOINT_ACTIONS_DS, ENDPOINT_ACTION_RESPONSES_DS, + ENDPOINT_ACTIONS_DS, failedFleetActionErrorCode, } from '../../../../common/endpoint/constants'; import type { @@ -25,15 +26,16 @@ import type { EndpointAction, EndpointActionDataParameterTypes, EndpointActionResponse, + EndpointActionResponseDataOutput, EndpointActivityLogAction, EndpointActivityLogActionResponse, LogsEndpointAction, LogsEndpointActionResponse, - EndpointActionResponseDataOutput, WithAllKeys, } from '../../../../common/endpoint/types'; import { ActivityLogItemTypes } from '../../../../common/endpoint/types'; import type { EndpointMetadataService } from '../metadata'; + /** * Type guard to check if a given Action is in the shape of the Endpoint Action. * @param item @@ -592,3 +594,7 @@ export const createActionDetailsRecord = { + return moment().add(2, 'weeks').toISOString(); +}; diff --git a/x-pack/plugins/security_solution/server/lib/detection_engine/routes/utils.ts b/x-pack/plugins/security_solution/server/lib/detection_engine/routes/utils.ts index a200afdd34199..64fa7995182c5 100644 --- a/x-pack/plugins/security_solution/server/lib/detection_engine/routes/utils.ts +++ b/x-pack/plugins/security_solution/server/lib/detection_engine/routes/utils.ts @@ -160,10 +160,13 @@ const statusToErrorMessage = (statusCode: number) => { export class SiemResponseFactory { constructor(private response: KibanaResponseFactory) {} + // @ts-expect-error upgrade typescript v4.9.5 error({ statusCode, body, headers }: CustomHttpResponseOptions) { + // @ts-expect-error upgrade typescript v4.9.5 const contentType: CustomHttpResponseOptions['headers'] = { 'content-type': 'application/json', }; + // @ts-expect-error upgrade typescript v4.9.5 const defaultedHeaders: CustomHttpResponseOptions['headers'] = { ...contentType, ...(headers ?? {}), diff --git a/x-pack/plugins/security_solution/server/lib/detection_engine/rule_management/logic/bulk_actions/utils.ts b/x-pack/plugins/security_solution/server/lib/detection_engine/rule_management/logic/bulk_actions/utils.ts index d624d9033f299..42c062aba5d74 100644 --- a/x-pack/plugins/security_solution/server/lib/detection_engine/rule_management/logic/bulk_actions/utils.ts +++ b/x-pack/plugins/security_solution/server/lib/detection_engine/rule_management/logic/bulk_actions/utils.ts @@ -18,4 +18,5 @@ export const isIndexPatternsBulkEditAction = (editAction: BulkActionEditType) => BulkActionEditTypeEnum.add_index_patterns, BulkActionEditTypeEnum.delete_index_patterns, BulkActionEditTypeEnum.set_index_patterns, + // @ts-expect-error upgrade typescript v4.9.5 ].includes(editAction); diff --git a/x-pack/plugins/security_solution/server/lib/detection_engine/rule_management/logic/bulk_actions/validations.ts b/x-pack/plugins/security_solution/server/lib/detection_engine/rule_management/logic/bulk_actions/validations.ts index 4a1aef9ed28d7..f387de9e3525f 100644 --- a/x-pack/plugins/security_solution/server/lib/detection_engine/rule_management/logic/bulk_actions/validations.ts +++ b/x-pack/plugins/security_solution/server/lib/detection_engine/rule_management/logic/bulk_actions/validations.ts @@ -101,6 +101,7 @@ export const validateBulkEditRule = async ({ const istEditApplicableToImmutableRule = (edit: BulkActionEditPayload[]): boolean => { return edit.every(({ type }) => [BulkActionEditTypeEnum.set_rule_actions, BulkActionEditTypeEnum.add_rule_actions].includes( + // @ts-expect-error upgrade typescript v4.9.5 type ) ); diff --git a/x-pack/plugins/security_solution/server/lib/detection_engine/rule_response_actions/endpoint_params_type_guards.ts b/x-pack/plugins/security_solution/server/lib/detection_engine/rule_response_actions/endpoint_params_type_guards.ts deleted file mode 100644 index d1dbb9c7d4958..0000000000000 --- a/x-pack/plugins/security_solution/server/lib/detection_engine/rule_response_actions/endpoint_params_type_guards.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. - */ - -import type { - DefaultParams, - ProcessesParams, - RuleResponseEndpointAction, -} from '../../../../common/api/detection_engine'; - -export const isIsolateAction = ( - params: RuleResponseEndpointAction['params'] -): params is DefaultParams => { - return params.command === 'isolate'; -}; - -export const isProcessesAction = ( - params: RuleResponseEndpointAction['params'] -): params is ProcessesParams => { - return params.command === 'kill-process' || params.command === 'suspend-process'; -}; diff --git a/x-pack/plugins/security_solution/server/lib/detection_engine/rule_response_actions/types.ts b/x-pack/plugins/security_solution/server/lib/detection_engine/rule_response_actions/types.ts index 1ab3b8018bf1d..9d8f4b0246129 100644 --- a/x-pack/plugins/security_solution/server/lib/detection_engine/rule_response_actions/types.ts +++ b/x-pack/plugins/security_solution/server/lib/detection_engine/rule_response_actions/types.ts @@ -6,7 +6,8 @@ */ import type { ParsedTechnicalFields } from '@kbn/rule-registry-plugin/common'; -import type { CreateActionPayload } from '../../../endpoint/services/actions/create/types'; +import type { ResponseActionsRequestBody } from '../../../../common/api/endpoint'; +import type { CommonResponseActionMethodOptions } from '../../../endpoint/services'; export type Alert = ParsedTechnicalFields & { _id: string; @@ -33,6 +34,7 @@ export interface ResponseActionAlerts { } export type AlertsAction = Pick< - CreateActionPayload, - 'alert_ids' | 'endpoint_ids' | 'hosts' | 'parameters' | 'error' ->; + ResponseActionsRequestBody, + 'alert_ids' | 'endpoint_ids' | 'parameters' +> & + Pick; diff --git a/x-pack/plugins/security_solution/server/lib/detection_engine/rule_response_actions/utils.ts b/x-pack/plugins/security_solution/server/lib/detection_engine/rule_response_actions/utils.ts index 3fbd04daebf58..0cf22eca8e20c 100644 --- a/x-pack/plugins/security_solution/server/lib/detection_engine/rule_response_actions/utils.ts +++ b/x-pack/plugins/security_solution/server/lib/detection_engine/rule_response_actions/utils.ts @@ -6,14 +6,20 @@ */ import { get } from 'lodash'; -import { FIELD_NOT_EXIST } from '../../../endpoint/services/actions/create/validate'; -import type { AlertAgent, AlertWithAgent, AlertsAction } from './types'; +import { i18n } from '@kbn/i18n'; +import type { AlertAgent, AlertsAction, AlertWithAgent } from './types'; import type { ProcessesParams } from '../../../../common/api/detection_engine'; interface ProcessAlertsAcc { [key: string]: Record; } +export const FIELD_NOT_EXIST = (field: string): string => + i18n.translate('xpack.securitySolution.responseActionsList.error.nonExistingFieldName', { + defaultMessage: 'The action was called with a non-existing event field name: {field}', + values: { field }, + }); + export const getProcessAlerts = ( alerts: AlertWithAgent[], config: ProcessesParams['config'] diff --git a/x-pack/plugins/security_solution/server/lib/risk_score/prebuilt_dev_tool_content/routes/read_prebuilt_dev_tool_content_route.ts b/x-pack/plugins/security_solution/server/lib/risk_score/prebuilt_dev_tool_content/routes/read_prebuilt_dev_tool_content_route.ts index df819487e13b7..77553eca21d5c 100644 --- a/x-pack/plugins/security_solution/server/lib/risk_score/prebuilt_dev_tool_content/routes/read_prebuilt_dev_tool_content_route.ts +++ b/x-pack/plugins/security_solution/server/lib/risk_score/prebuilt_dev_tool_content/routes/read_prebuilt_dev_tool_content_route.ts @@ -24,10 +24,13 @@ const getReadables = (dataPath: string) => fs.promises.readFile(dataPath, { enco class ConsoleResponseFactory { constructor(private response: KibanaResponseFactory) {} + // @ts-expect-error upgrade typescript v4.9.5 error({ statusCode, body, headers }: CustomHttpResponseOptions) { + // @ts-expect-error upgrade typescript v4.9.5 const contentType: CustomHttpResponseOptions['headers'] = { 'content-type': 'text/plain; charset=utf-8', }; + // @ts-expect-error upgrade typescript v4.9.5 const defaultedHeaders: CustomHttpResponseOptions['headers'] = { ...contentType, ...(headers ?? {}), @@ -36,6 +39,7 @@ class ConsoleResponseFactory { return this.response.custom({ headers: defaultedHeaders, statusCode, + // @ts-expect-error upgrade typescript v4.9.5 body, }); } diff --git a/x-pack/plugins/security_solution/server/plugin.ts b/x-pack/plugins/security_solution/server/plugin.ts index f769daba26033..575ee09ee4196 100644 --- a/x-pack/plugins/security_solution/server/plugin.ts +++ b/x-pack/plugins/security_solution/server/plugin.ts @@ -109,7 +109,6 @@ import type { } from './plugin_contract'; import { EndpointFleetServicesFactory } from './endpoint/services/fleet'; import { featureUsageService } from './endpoint/services/feature_usage'; -import { actionCreateService } from './endpoint/services/actions'; import { setIsElasticCloudDeployment } from './lib/telemetry/helpers'; import { artifactService } from './lib/telemetry/artifact'; import { events } from './lib/telemetry/event_based/events'; @@ -632,11 +631,6 @@ export class Plugin implements ISecuritySolutionPlugin { featureUsageService, experimentalFeatures: config.experimentalFeatures, messageSigningService: plugins.fleet?.messageSigningService, - // TODO:PT remove this and use new method of EndpointAppServices - actionCreateService: actionCreateService( - core.elasticsearch.client.asInternalUser, - this.endpointContext - ), createFleetActionsClient, esClient: core.elasticsearch.client.asInternalUser, productFeaturesService, diff --git a/x-pack/plugins/security_solution/server/plugin_contract.ts b/x-pack/plugins/security_solution/server/plugin_contract.ts index f213e5719f829..1a0dd6bccc15c 100644 --- a/x-pack/plugins/security_solution/server/plugin_contract.ts +++ b/x-pack/plugins/security_solution/server/plugin_contract.ts @@ -16,7 +16,7 @@ import type { PluginSetupContract as AlertingPluginSetup, PluginStartContract as AlertingPluginStart, } from '@kbn/alerting-plugin/server'; -import type { CasesStart, CasesSetup } from '@kbn/cases-plugin/server'; +import type { CasesServerStart, CasesServerSetup } from '@kbn/cases-plugin/server'; import type { EncryptedSavedObjectsPluginSetup } from '@kbn/encrypted-saved-objects-plugin/server'; import type { IEventLogClientService, IEventLogService } from '@kbn/event-log-plugin/server'; import type { PluginSetupContract as FeaturesPluginSetup } from '@kbn/features-plugin/server'; @@ -47,7 +47,7 @@ import type { ExperimentalFeatures } from '../common'; export interface SecuritySolutionPluginSetupDependencies { alerting: AlertingPluginSetup; - cases: CasesSetup; + cases: CasesServerSetup; cloud: CloudSetup; data: DataPluginSetup; encryptedSavedObjects?: EncryptedSavedObjectsPluginSetup; @@ -69,7 +69,7 @@ export interface SecuritySolutionPluginSetupDependencies { export interface SecuritySolutionPluginStartDependencies { alerting: AlertingPluginStart; - cases?: CasesStart; + cases?: CasesServerStart; cloud: CloudSetup; cloudExperiments?: CloudExperimentsPluginStart; data: DataPluginStart; diff --git a/x-pack/plugins/security_solution/server/usage/collector.ts b/x-pack/plugins/security_solution/server/usage/collector.ts index 39635b9abda94..8aab08ea621d8 100644 --- a/x-pack/plugins/security_solution/server/usage/collector.ts +++ b/x-pack/plugins/security_solution/server/usage/collector.ts @@ -286,6 +286,49 @@ export const registerCollector: RegisterCollector = ({ }, }, }, + esql: { + enabled: { + type: 'long', + _meta: { description: 'Number of esql rules enabled' }, + }, + disabled: { + type: 'long', + _meta: { description: 'Number of esql rules disabled' }, + }, + alerts: { + type: 'long', + _meta: { description: 'Number of alerts generated by esql rules' }, + }, + cases: { + type: 'long', + _meta: { + description: 'Number of cases attached to esql detection rule alerts', + }, + }, + legacy_notifications_enabled: { + type: 'long', + _meta: { description: 'Number of legacy notifications enabled' }, + }, + legacy_notifications_disabled: { + type: 'long', + _meta: { description: 'Number of legacy notifications disabled' }, + }, + notifications_enabled: { + type: 'long', + _meta: { description: 'Number of notifications enabled' }, + }, + notifications_disabled: { + type: 'long', + _meta: { description: 'Number of notifications enabled' }, + }, + legacy_investigation_fields: { + type: 'long', + _meta: { + description: + 'Number of rules using the legacy investigation fields type introduced only in 8.10 ESS', + }, + }, + }, elastic_total: { enabled: { type: 'long', _meta: { description: 'Number of elastic rules enabled' } }, disabled: { diff --git a/x-pack/plugins/security_solution/server/usage/detections/rules/get_initial_usage.ts b/x-pack/plugins/security_solution/server/usage/detections/rules/get_initial_usage.ts index dfe19bff7079a..4313abdc336bd 100644 --- a/x-pack/plugins/security_solution/server/usage/detections/rules/get_initial_usage.ts +++ b/x-pack/plugins/security_solution/server/usage/detections/rules/get_initial_usage.ts @@ -83,6 +83,17 @@ export const getInitialRulesUsage = (): RulesTypeUsage => ({ notifications_disabled: 0, legacy_investigation_fields: 0, }, + esql: { + enabled: 0, + disabled: 0, + alerts: 0, + cases: 0, + legacy_notifications_enabled: 0, + legacy_notifications_disabled: 0, + notifications_enabled: 0, + notifications_disabled: 0, + legacy_investigation_fields: 0, + }, elastic_total: { enabled: 0, disabled: 0, diff --git a/x-pack/plugins/security_solution/server/usage/detections/rules/types.ts b/x-pack/plugins/security_solution/server/usage/detections/rules/types.ts index 1bbe1b8f01f0e..e212ba8a9e15e 100644 --- a/x-pack/plugins/security_solution/server/usage/detections/rules/types.ts +++ b/x-pack/plugins/security_solution/server/usage/detections/rules/types.ts @@ -26,6 +26,7 @@ export interface RulesTypeUsage { new_terms: FeatureTypeUsage; elastic_total: FeatureTypeUsage; custom_total: FeatureTypeUsage; + esql: FeatureTypeUsage; } export interface RuleAdoption { diff --git a/x-pack/plugins/security_solution/server/usage/detections/rules/update_usage.test.ts b/x-pack/plugins/security_solution/server/usage/detections/rules/update_usage.test.ts index 8bdb4c582f0ee..3edacf0ae9e1b 100644 --- a/x-pack/plugins/security_solution/server/usage/detections/rules/update_usage.test.ts +++ b/x-pack/plugins/security_solution/server/usage/detections/rules/update_usage.test.ts @@ -250,6 +250,13 @@ describe('Detections Usage and Metrics', () => { ${'new_terms'} | ${false} | ${true} | ${false} | ${0} | ${1} | ${0} | ${0} | ${0} ${'new_terms'} | ${false} | ${false} | ${false} | ${0} | ${0} | ${0} | ${0} | ${0} ${'new_terms'} | ${false} | ${false} | ${false} | ${0} | ${0} | ${0} | ${0} | ${1} + ${'esql'} | ${true} | ${true} | ${false} | ${1} | ${0} | ${0} | ${0} | ${0} + ${'esql'} | ${true} | ${false} | ${true} | ${0} | ${0} | ${1} | ${0} | ${0} + ${'esql'} | ${false} | ${false} | ${true} | ${0} | ${0} | ${0} | ${1} | ${0} + ${'esql'} | ${true} | ${false} | ${true} | ${0} | ${0} | ${1} | ${0} | ${0} + ${'esql'} | ${false} | ${true} | ${false} | ${0} | ${1} | ${0} | ${0} | ${0} + ${'esql'} | ${false} | ${false} | ${false} | ${0} | ${0} | ${0} | ${0} | ${0} + ${'esql'} | ${false} | ${false} | ${false} | ${0} | ${0} | ${0} | ${0} | ${1} `( 'expect { "ruleType": $ruleType, "enabled": $enabled, "hasLegacyNotification": $hasLegacyNotification, "hasNotification": $hasNotification, hasLegacyInvestigationField: $hasLegacyInvestigationField } to equal { legacy_notifications_enabled: $expectedLegacyNotificationsEnabled, legacy_notifications_disabled: $expectedLegacyNotificationsDisabled, notifications_enabled: $expectedNotificationsEnabled, notifications_disabled, $expectedNotificationsDisabled, hasLegacyInvestigationField: $hasLegacyInvestigationField }', ({ diff --git a/x-pack/plugins/security_solution/server/usage/detections/rules/update_usage.ts b/x-pack/plugins/security_solution/server/usage/detections/rules/update_usage.ts index 26eeffb6b9f0a..4c08e1ddc9cc0 100644 --- a/x-pack/plugins/security_solution/server/usage/detections/rules/update_usage.ts +++ b/x-pack/plugins/security_solution/server/usage/detections/rules/update_usage.ts @@ -68,6 +68,15 @@ export const updateRuleUsage = ( detectionRuleMetric, }), }; + } else if (detectionRuleMetric.rule_type === 'esql') { + updatedUsage = { + ...usage, + esql: updateQueryUsage({ + ruleType: detectionRuleMetric.rule_type, + usage, + detectionRuleMetric, + }), + }; } if (detectionRuleMetric.elastic_rule) { diff --git a/x-pack/plugins/security_solution/server/utils/build_query/calculate_timeseries_interval.ts b/x-pack/plugins/security_solution/server/utils/build_query/calculate_timeseries_interval.ts index 071d1d6b4db2f..1d388465a21fb 100644 --- a/x-pack/plugins/security_solution/server/utils/build_query/calculate_timeseries_interval.ts +++ b/x-pack/plugins/security_solution/server/utils/build_query/calculate_timeseries_interval.ts @@ -7,7 +7,7 @@ /* ** Applying the same logic as: - ** x-pack/plugins/apm/server/lib/helpers/get_bucket_size/calculate_auto.js + ** x-pack/plugins/observability_solution/apm/server/lib/helpers/get_bucket_size/calculate_auto.js */ import moment from 'moment'; diff --git a/x-pack/plugins/serverless_search/common/i18n_string.ts b/x-pack/plugins/serverless_search/common/i18n_string.ts index b961f3a4aed5e..cf0dbad5277c8 100644 --- a/x-pack/plugins/serverless_search/common/i18n_string.ts +++ b/x-pack/plugins/serverless_search/common/i18n_string.ts @@ -89,3 +89,9 @@ export const CONFIGURATION_LABEL = i18n.translate( defaultMessage: 'Configuration', } ); +export const SCHEDULING_LABEL = i18n.translate( + 'xpack.serverlessSearch.connectors.schedulingLabel', + { + defaultMessage: 'Scheduling', + } +); diff --git a/x-pack/plugins/serverless_search/public/application/components/connectors/conector_scheduling_tab/connector_scheduling.tsx b/x-pack/plugins/serverless_search/public/application/components/connectors/conector_scheduling_tab/connector_scheduling.tsx new file mode 100644 index 0000000000000..12961bfc4a093 --- /dev/null +++ b/x-pack/plugins/serverless_search/public/application/components/connectors/conector_scheduling_tab/connector_scheduling.tsx @@ -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; you may not use this file except in compliance with the Elastic License + * 2.0. + */ +import React, { useState } from 'react'; +import { Connector, ConnectorStatus } from '@kbn/search-connectors'; +import { ConnectorSchedulingComponent } from '@kbn/search-connectors/components/scheduling/connector_scheduling'; +import { useConnectorScheduling } from '../../../hooks/api/use_update_connector_scheduling'; + +interface ConnectorSchedulingPanels { + connector: Connector; +} +export const ConnectorScheduling: React.FC = ({ connector }) => { + const [hasChanges, setHasChanges] = useState(false); + const { isLoading, mutate } = useConnectorScheduling(connector.id); + const hasIncrementalSyncFeature = connector?.features?.incremental_sync ?? false; + const shouldShowIncrementalSync = + hasIncrementalSyncFeature && (connector?.features?.incremental_sync?.enabled ?? false); + return ( + + ); +}; diff --git a/x-pack/plugins/serverless_search/public/application/components/connectors/connector_config/connector_configuration.tsx b/x-pack/plugins/serverless_search/public/application/components/connectors/connector_config/connector_configuration.tsx index 87607ce1d6267..9513ca197bb66 100644 --- a/x-pack/plugins/serverless_search/public/application/components/connectors/connector_config/connector_configuration.tsx +++ b/x-pack/plugins/serverless_search/public/application/components/connectors/connector_config/connector_configuration.tsx @@ -17,12 +17,17 @@ import { EuiTabbedContentTab, } from '@elastic/eui'; import { i18n } from '@kbn/i18n'; -import { CONFIGURATION_LABEL, OVERVIEW_LABEL } from '../../../../../common/i18n_string'; +import { + CONFIGURATION_LABEL, + OVERVIEW_LABEL, + SCHEDULING_LABEL, +} from '../../../../../common/i18n_string'; import { ConnectorLinkElasticsearch } from './connector_link'; import { ConnectorConfigFields } from './connector_config_fields'; import { ConnectorIndexName } from './connector_index_name'; import { ConnectorConfigurationPanels } from './connector_config_panels'; import { ConnectorOverview } from './connector_overview'; +import { ConnectorScheduling } from '../conector_scheduling_tab/connector_scheduling'; interface ConnectorConfigurationProps { connector: Connector; @@ -108,6 +113,16 @@ export const ConnectorConfiguration: React.FC = ({ id: 'configuration', name: CONFIGURATION_LABEL, }, + { + content: ( + <> + + + + ), + id: 'scheduling', + name: SCHEDULING_LABEL, + }, ]; return currentStep === 'connected' ? ( diff --git a/x-pack/plugins/serverless_search/public/application/hooks/api/use_update_connector_scheduling.tsx b/x-pack/plugins/serverless_search/public/application/hooks/api/use_update_connector_scheduling.tsx new file mode 100644 index 0000000000000..e11991a5c53b4 --- /dev/null +++ b/x-pack/plugins/serverless_search/public/application/hooks/api/use_update_connector_scheduling.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. + */ /* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import { SchedulingConfiguraton } from '@kbn/search-connectors'; +import { useMutation } from '@tanstack/react-query'; +import { useKibanaServices } from '../use_kibana'; + +export const useConnectorScheduling = (connectorId: string) => { + const { http } = useKibanaServices(); + return useMutation({ + mutationFn: async (configuration: SchedulingConfiguraton) => { + return await http.post(`/internal/serverless_search/connectors/${connectorId}/scheduling`, { + body: JSON.stringify({ ...configuration }), + }); + }, + }); +}; diff --git a/x-pack/plugins/serverless_search/server/routes/connectors_routes.ts b/x-pack/plugins/serverless_search/server/routes/connectors_routes.ts index d7ca0329e9701..767387d85e325 100644 --- a/x-pack/plugins/serverless_search/server/routes/connectors_routes.ts +++ b/x-pack/plugins/serverless_search/server/routes/connectors_routes.ts @@ -17,6 +17,7 @@ import { updateConnectorConfiguration, updateConnectorIndexName, updateConnectorNameAndDescription, + updateConnectorScheduling, updateConnectorServiceType, } from '@kbn/search-connectors'; import { RouteDependencies } from '../plugin'; @@ -337,4 +338,28 @@ export const registerConnectorsRoutes = ({ http, router }: RouteDependencies) => }); } ); + router.post( + { + path: '/internal/serverless_search/connectors/{connectorId}/scheduling', + validate: { + body: schema.object({ + access_control: schema.object({ enabled: schema.boolean(), interval: schema.string() }), + full: schema.object({ enabled: schema.boolean(), interval: schema.string() }), + incremental: schema.object({ enabled: schema.boolean(), interval: schema.string() }), + }), + params: schema.object({ + connectorId: schema.string(), + }), + }, + }, + async (context, request, response) => { + const { client } = (await context.core).elasticsearch; + await updateConnectorScheduling( + client.asCurrentUser, + request.params.connectorId, + request.body + ); + return response.ok(); + } + ); }; diff --git a/x-pack/plugins/stack_connectors/public/connector_types/opsgenie/params.test.tsx b/x-pack/plugins/stack_connectors/public/connector_types/opsgenie/params.test.tsx index add2016bd97c2..6b836f22511bc 100644 --- a/x-pack/plugins/stack_connectors/public/connector_types/opsgenie/params.test.tsx +++ b/x-pack/plugins/stack_connectors/public/connector_types/opsgenie/params.test.tsx @@ -218,6 +218,7 @@ describe('OpsgenieParamFields', () => { expect(screen.getByDisplayValue('123')).toBeInTheDocument(); rerender( + // @ts-expect-error upgrade typescript v4.9.5 { expect(screen.getByDisplayValue('456')).toBeInTheDocument(); rerender( + // @ts-expect-error upgrade typescript v4.9.5 { expect(editAction).toBeCalledTimes(1); rerender( + // @ts-expect-error upgrade typescript v4.9.5 Sécurité > Rôles, créez un ou plusieurs rôles permettant d'accorder le privilège de l'application Kibana à Reporting.", "xpack.reporting.deprecations.reportingRoleUsers.manualStepTwo": "Supprimez le paramètre \"xpack.reporting.roles.allow\" du fichier kibana.yml, le cas échéant.", "xpack.reporting.errorHandler.unknownError": "Erreur inconnue", - "reporting.jobCreatedBy.unknownUserPlaceholderText": "Inconnu", "xpack.reporting.jobResponse.errorHandler.unknownError": "Erreur inconnue", - "reporting.jobStatusDetail.deprecatedText": "Il s'agit d'un type d'exportation déclassé. L'automatisation de ce rapport devra être à nouveau créée pour une question de compatibilité avec les futures versions de Kibana.", - "reporting.jobStatusDetail.errorText": "Consultez les informations de rapport pour plus de détails sur l'erreur.", - "reporting.jobStatusDetail.pendingStatusReachedText": "En attente du traitement de la tâche.", - "reporting.jobStatusDetail.timeoutSecondsUnknown": "Inconnu", - "reporting.jobStatusDetail.unknownText": "Inconnu", - "reporting.jobStatusDetail.warningsText": "Consultez les informations de rapport pour plus de détails sur les avertissements.", - "reporting.jobStatuses.completedText": "Terminé", - "reporting.jobStatuses.failedText": "Échoué", - "reporting.jobStatuses.pendingText": "En attente", - "reporting.jobStatuses.processingText": "Traitement", - "reporting.jobStatuses.warningText": "Terminé", - "reporting.jobType.csvOutputName": "CSV", - "reporting.jobType.pdfOutputName": "PDF", - "reporting.jobType.pngOutputName": "PNG", - "reporting.jobWarning.csvContainsFormulas": "Votre fichier CSV contient des caractères que les applications de feuilles de calcul pourraient considérer comme des formules.", - "reporting.jobWarning.exportTypeDeprecated": "Il s'agit d'un type d'exportation déclassé. L'automatisation de ce rapport devra être à nouveau créée pour une question de compatibilité avec les futures versions de Kibana.", - "reporting.jobWarning.maxSizeReachedTooltip": "Votre recherche a atteint la taille maximale et contient des données partielles.", "xpack.reporting.listing.diagnosticBrowserButton": "Vérifier le navigateur", "xpack.reporting.listing.diagnosticBrowserMessage": "Le reporting utilise un navigateur sans affichage pour générer les fichiers PDF et PNG. Confirmez que le navigateur peut réussir à se lancer.", "xpack.reporting.listing.diagnosticBrowserTitle": "Vérifier le navigateur", @@ -29901,16 +29920,6 @@ "xpack.reporting.listing.tableColumns.statusTitle": "Statut", "xpack.reporting.listing.tableColumns.typeTitle": "Type", "xpack.reporting.management.reportingTitle": "Reporting", - "reporting.share.panelContent.advancedOptions": "Options avancées", - "reporting.share.panelContent.copyUrlButtonLabel": "Copier l'URL POST", - "reporting.share.panelContent.howToCallGenerationDescription": "Sinon, copiez cette URL POST pour appeler la génération depuis l'extérieur de Kibana ou à partir de Watcher.", - "reporting.share.panelContent.notification.reportingErrorTitle": "Impossible de créer le rapport", - "reporting.share.panelContent.saveWorkDescription": "Veuillez enregistrer votre travail avant de générer un rapport.", - "reporting.share.panelContent.unsavedStateAndExceedsMaxLengthDescription": "Impossible de copier cette URL.", - "reporting.share.panelContent.unsavedStateAndExceedsMaxLengthTitle": "URL trop longue", - "reporting.share.panelContent.unsavedStateAndExceedsMaxLengthTrySaveDescription": "Impossible de copier cette URL. Essayez d'enregistrer votre travail.", - "reporting.share.panelContent.unsavedStateErrorText": "Enregistrez votre travail avant de copier cette URL.", - "reporting.share.panelContent.unsavedStateErrorTitle": "Travail non enregistré", "xpack.reporting.pdfFooterImageDescription": "Image personnalisée à utiliser dans le pied de page du PDF", "xpack.reporting.pdfFooterImageLabel": "Image de pied de page du PDF", "xpack.reporting.publicNotifier.csvContainsFormulas.formulaReportMessage": "Le rapport \"{reportObjectTitle}\" contient des caractères que les applications de feuilles de calcul peuvent considérer comme des formules.", @@ -29928,13 +29937,6 @@ "xpack.reporting.reportInfoFlyout.actionsButtonLabel": "Actions", "xpack.reporting.reportInfoFlyout.downloadButtonLabel": "Télécharger", "xpack.reporting.reportInfoFlyout.openInKibanaAppButtonLabel": "Ouvrir dans Kibana", - "reporting.share.screenCapturePanelContent.canvasLayoutHelpText": "Supprimer les bordures et le logo de pied de page", - "reporting.share.screenCapturePanelContent.canvasLayoutLabel": "Mise en page complète", - "reporting.share.screenCapturePanelContent.optimizeForPrintingHelpText": "Utilise plusieurs pages, affichant au maximum 2 visualisations par page", - "reporting.share.screenCapturePanelContent.optimizeForPrintingLabel": "Optimiser pour l'impression", - "reporting.share.contextMenu.csvReportsButtonLabel": "Rapports CSV", - "reporting.share.contextMenu.pdfReportsButtonLabel": "Rapports PDF", - "reporting.share.contextMenu.pngReportsButtonLabel": "Rapports PNG", "xpack.reporting.statusIndicator.completedLabel": "Terminé", "xpack.reporting.statusIndicator.completedWithWarningsLabel": "Terminé, avec des avertissements", "xpack.reporting.statusIndicator.failedLabel": "Échoué", @@ -42252,9 +42254,6 @@ "randomSampling.ui.sliderControl.accuracyLabel": "Précision", "randomSampling.ui.sliderControl.performanceLabel": "Performances", "reactPackages.mountPointPortal.errorMessage": "Erreur lors du rendu du contenu du portail.", - "reporting.common.browserCouldNotLaunchErrorMessage": "Impossible de générer des captures d'écran, car le navigateur ne s’est pas lancé. Consultez les logs de serveur pour en savoir plus.", - "reporting.common.cloud.insufficientSystemMemoryError": "Impossible de générer ce rapport en raison d’un manque de mémoire.", - "reporting.common.pdfWorkerOutOfMemoryErrorMessage": "Impossible de générer un PDF en raison d’un manque de mémoire. Essayez de réduire la taille du PDF et relancez ce rapport.", "savedObjectsFinder.advancedSettings.listingLimitText": "Nombre d'objets à récupérer pour les pages de listing", "savedObjectsFinder.advancedSettings.listingLimitTitle": "Limite de listing d’objets", "savedObjectsFinder.advancedSettings.perPageText": "Nombre d'objets à afficher par page dans la boîte de dialogue de chargement", diff --git a/x-pack/plugins/translations/translations/ja-JP.json b/x-pack/plugins/translations/translations/ja-JP.json index 8a9d802149910..c72199f479611 100644 --- a/x-pack/plugins/translations/translations/ja-JP.json +++ b/x-pack/plugins/translations/translations/ja-JP.json @@ -17455,7 +17455,6 @@ "xpack.fleet.settings.editOutputFlyout.kafkaHostsInputPlaceholder": "ホストを指定", "xpack.fleet.settings.editOutputFlyout.kafkaKeyInputHelpText": "設定されている場合、イベントキーは書式文字列を使用してイベントから抽出できます。", "xpack.fleet.settings.editOutputFlyout.kafkaKeyInputLabel": "キー(任意)", - "xpack.fleet.settings.editOutputFlyout.kafkaOutputTypeCallout": "現在、Kafka出力は、Elastic Defend統合を使用しているエージェントではサポートされていません。", "xpack.fleet.settings.editOutputFlyout.kafkaPartitioningInputLabel": "パーティショニング戦略", "xpack.fleet.settings.editOutputFlyout.kafkaPartitionTitle": "パーティショニング", "xpack.fleet.settings.editOutputFlyout.kafkaPartitionTypeHashHelpTextLabel": "カンマ区切り。", @@ -29749,6 +29748,50 @@ "xpack.remoteClusters.updateRemoteCluster.noRemoteClusterErrorMessage": "その名前のリモートクラスターはありません。", "xpack.remoteClusters.updateRemoteCluster.unknownRemoteClusterErrorMessage": "ES からレスポンスが返らず、クラスターを編集できません。", "reporting.apiClient.unknownError": "レポートジョブ{job}が失敗しました。不明なエラーです。", + "reporting.jobStatusDetail.attemptXofY": "{max_attempts}回中{attempts}回試行します。", + "reporting.jobStatusDetail.timeoutSeconds": "{timeout}秒", + "reporting.share.panelContent.generateButtonLabel": "{reportingType}を生成", + "reporting.share.panelContent.generationTimeDescription": "{objectType} のサイズによって、{reportingType} の作成には数分かかる場合があります。", + "reporting.share.panelContent.successfullyQueuedReportNotificationDescription": "{path}で進捗状況を追跡します。", + "reporting.share.panelContent.successfullyQueuedReportNotificationTitle": "{objectType}のレポートキュー", + "reporting.jobCreatedBy.unknownUserPlaceholderText": "不明", + "reporting.jobStatusDetail.deprecatedText": "これは廃止予定のエクスポートタイプです。将来のバージョンのKibanaとの互換性のためには、このレポートの自動化を再作成する必要があります。", + "reporting.jobStatusDetail.errorText": "エラー詳細についてはレポート情報を参照してください。", + "reporting.jobStatusDetail.pendingStatusReachedText": "ジョブの処理を待機しています。", + "reporting.jobStatusDetail.timeoutSecondsUnknown": "不明", + "reporting.jobStatusDetail.unknownText": "不明", + "reporting.jobStatusDetail.warningsText": "警告についてはレポート情報を参照してください。", + "reporting.jobStatuses.completedText": "完了", + "reporting.jobStatuses.failedText": "失敗", + "reporting.jobStatuses.pendingText": "保留中", + "reporting.jobStatuses.processingText": "処理中", + "reporting.jobStatuses.warningText": "完了", + "reporting.jobType.csvOutputName": "CSV", + "reporting.jobType.pdfOutputName": "PDF", + "reporting.jobType.pngOutputName": "PNG", + "reporting.jobWarning.csvContainsFormulas": "CSVには、スプレッドシートアプリケーションで式と解釈される可能性のある文字が含まれています。", + "reporting.jobWarning.exportTypeDeprecated": "これは廃止予定のエクスポートタイプです。将来のバージョンのKibanaとの互換性のためには、このレポートの自動化を再作成する必要があります。", + "reporting.jobWarning.maxSizeReachedTooltip": "レポートが最大サイズに達し、部分データが含まれています。", + "reporting.share.panelContent.advancedOptions": "高度なオプション", + "reporting.share.panelContent.copyUrlButtonLabel": "POST URL をコピー", + "reporting.share.panelContent.howToCallGenerationDescription": "POST URL をコピーして Kibana 外または ウォッチャー から生成を実行することもできます。", + "reporting.share.panelContent.notification.reportingErrorTitle": "レポートを作成できません", + "reporting.share.panelContent.saveWorkDescription": "レポートの生成前に変更内容を保存してください。", + "reporting.share.panelContent.unsavedStateAndExceedsMaxLengthDescription": "このURLはコピーできません。", + "reporting.share.panelContent.unsavedStateAndExceedsMaxLengthTitle": "URLが長すぎます", + "reporting.share.panelContent.unsavedStateAndExceedsMaxLengthTrySaveDescription": "このURLはコピーできません。作業内容を保存してください。", + "reporting.share.panelContent.unsavedStateErrorText": "このURLをコピーする前に作業内容を保存してください。", + "reporting.share.panelContent.unsavedStateErrorTitle": "保存されていない作業内容", + "reporting.share.screenCapturePanelContent.canvasLayoutHelpText": "枠線とフッターロゴを削除", + "reporting.share.screenCapturePanelContent.canvasLayoutLabel": "全ページレイアウト", + "reporting.share.screenCapturePanelContent.optimizeForPrintingHelpText": "複数のページを使用します。ページごとに最大2のビジュアライゼーションが表示されます", + "reporting.share.screenCapturePanelContent.optimizeForPrintingLabel": "印刷用に最適化", + "reporting.share.contextMenu.csvReportsButtonLabel": "CSV レポート", + "reporting.share.contextMenu.pdfReportsButtonLabel": "PDF レポート", + "reporting.share.contextMenu.pngReportsButtonLabel": "PNG レポート", + "reporting.common.browserCouldNotLaunchErrorMessage": "ブラウザーが起動していないため、スクリーンショットを生成できません。詳細については、サーバーログを参照してください。", + "reporting.common.cloud.insufficientSystemMemoryError": "メモリ不足のため、このレポートを生成できません。", + "reporting.common.pdfWorkerOutOfMemoryErrorMessage": "メモリ不足のため、PDFを生成できません。PDFのサイズを小さくして、このレポートを再試行してください。", "xpack.reporting.deprecations.migrateIndexIlmPolicy.manualStepOneMessage": "インデックス設定APIを使用して、すべてのレポートインデックスを更新し、\"{reportingIlmPolicy}\"ポリシーを使用します。", "xpack.reporting.deprecations.migrateIndexIlmPolicyActionMessage": "新しいレポートインデックスは\"{reportingIlmPolicy}\"がプロビジョニングしたILMポリシーによって管理されます。レポートライフサイクルを管理するには、このポリシーを編集する必要があります。この変更は\"{indexPattern}\"というプレフィックスが付いたすべてのインデックスが対象です。", "xpack.reporting.deprecations.reportingRoleMappings.manualStepFive": "すべてのロールマッピングから\"reporting_user\"ロールを削除し、カスタムロールを追加します。影響を受けるロールマッピング:{roleMappings}。", @@ -29761,8 +29804,6 @@ "xpack.reporting.diagnostic.noUsableSandbox": "Chromiumサンドボックスを使用できません。これは「xpack.screenshotting.browser.chromium.disableSandbox」で無効にすることができます。この作業はご自身の責任で行ってください。{url}を参照してください", "xpack.reporting.jobResponse.errorHandler.notAuthorized": "{jobtype}レポートを表示または削除する権限がありません", "xpack.reporting.jobsQuery.deleteError": "レポートを削除できません:{error}", - "reporting.jobStatusDetail.attemptXofY": "{max_attempts}回中{attempts}回試行します。", - "reporting.jobStatusDetail.timeoutSeconds": "{timeout}秒", "xpack.reporting.listing.diagnosticApiCallFailure": "診断の実行中に問題が発生しました:{error}", "xpack.reporting.listing.ilmPolicyCallout.migrateIndicesButtonLabel": "{ilmPolicyName}ポリシーを適用", "xpack.reporting.listing.ilmPolicyCallout.migrationNeededDescription": "レポートが一貫して管理されることを保証するために、すべてのレポートインデックスは{ilmPolicyName}ポリシーを使用します。", @@ -29774,10 +29815,6 @@ "xpack.reporting.listing.table.deleteFailedErrorMessage": "レポートは削除されませんでした:{error}", "xpack.reporting.listing.table.deleteNumConfirmTitle": "{num}レポートを削除しますか?", "xpack.reporting.listing.table.deleteReportButton": "{num, plural, other {レポート}}削除", - "reporting.share.panelContent.generateButtonLabel": "{reportingType}を生成", - "reporting.share.panelContent.generationTimeDescription": "{objectType} のサイズによって、{reportingType} の作成には数分かかる場合があります。", - "reporting.share.panelContent.successfullyQueuedReportNotificationDescription": "{path}で進捗状況を追跡します。", - "reporting.share.panelContent.successfullyQueuedReportNotificationTitle": "{objectType}のレポートキュー", "xpack.reporting.publicNotifier.csvContainsFormulas.formulaReportTitle": "{reportType}には式を含めることができます", "xpack.reporting.publicNotifier.error.checkManagement": "詳細については、{path}にアクセスしてください。", "xpack.reporting.publicNotifier.reportLinkDescription": "今すぐダウンロードするか、後から{path}でダウンロードできます。", @@ -29813,25 +29850,7 @@ "xpack.reporting.deprecations.reportingRoleUsers.manualStepThree": "[管理]>[セキュリティ]>[ロール]から、レポートのKibanaアプリケーション権限を付与する1つ以上のロールを作成します。", "xpack.reporting.deprecations.reportingRoleUsers.manualStepTwo": "存在する場合は、kibana.ymlで「xpack.reporting.roles.allow」を削除します。", "xpack.reporting.errorHandler.unknownError": "不明なエラー", - "reporting.jobCreatedBy.unknownUserPlaceholderText": "不明", "xpack.reporting.jobResponse.errorHandler.unknownError": "不明なエラー", - "reporting.jobStatusDetail.deprecatedText": "これは廃止予定のエクスポートタイプです。将来のバージョンのKibanaとの互換性のためには、このレポートの自動化を再作成する必要があります。", - "reporting.jobStatusDetail.errorText": "エラー詳細についてはレポート情報を参照してください。", - "reporting.jobStatusDetail.pendingStatusReachedText": "ジョブの処理を待機しています。", - "reporting.jobStatusDetail.timeoutSecondsUnknown": "不明", - "reporting.jobStatusDetail.unknownText": "不明", - "reporting.jobStatusDetail.warningsText": "警告についてはレポート情報を参照してください。", - "reporting.jobStatuses.completedText": "完了", - "reporting.jobStatuses.failedText": "失敗", - "reporting.jobStatuses.pendingText": "保留中", - "reporting.jobStatuses.processingText": "処理中", - "reporting.jobStatuses.warningText": "完了", - "reporting.jobType.csvOutputName": "CSV", - "reporting.jobType.pdfOutputName": "PDF", - "reporting.jobType.pngOutputName": "PNG", - "reporting.jobWarning.csvContainsFormulas": "CSVには、スプレッドシートアプリケーションで式と解釈される可能性のある文字が含まれています。", - "reporting.jobWarning.exportTypeDeprecated": "これは廃止予定のエクスポートタイプです。将来のバージョンのKibanaとの互換性のためには、このレポートの自動化を再作成する必要があります。", - "reporting.jobWarning.maxSizeReachedTooltip": "レポートが最大サイズに達し、部分データが含まれています。", "xpack.reporting.listing.diagnosticBrowserButton": "ブラウザーを確認", "xpack.reporting.listing.diagnosticBrowserMessage": "レポートはヘッドレスブラウザーを使用して、PDFとPNGを生成します。ブラウザーを正常に起動できることを確認してください。", "xpack.reporting.listing.diagnosticBrowserTitle": "ブラウザーを確認", @@ -29902,16 +29921,6 @@ "xpack.reporting.listing.tableColumns.statusTitle": "ステータス", "xpack.reporting.listing.tableColumns.typeTitle": "型", "xpack.reporting.management.reportingTitle": "レポート", - "reporting.share.panelContent.advancedOptions": "高度なオプション", - "reporting.share.panelContent.copyUrlButtonLabel": "POST URL をコピー", - "reporting.share.panelContent.howToCallGenerationDescription": "POST URL をコピーして Kibana 外または ウォッチャー から生成を実行することもできます。", - "reporting.share.panelContent.notification.reportingErrorTitle": "レポートを作成できません", - "reporting.share.panelContent.saveWorkDescription": "レポートの生成前に変更内容を保存してください。", - "reporting.share.panelContent.unsavedStateAndExceedsMaxLengthDescription": "このURLはコピーできません。", - "reporting.share.panelContent.unsavedStateAndExceedsMaxLengthTitle": "URLが長すぎます", - "reporting.share.panelContent.unsavedStateAndExceedsMaxLengthTrySaveDescription": "このURLはコピーできません。作業内容を保存してください。", - "reporting.share.panelContent.unsavedStateErrorText": "このURLをコピーする前に作業内容を保存してください。", - "reporting.share.panelContent.unsavedStateErrorTitle": "保存されていない作業内容", "xpack.reporting.pdfFooterImageDescription": "PDFのフッターに使用するカスタム画像です", "xpack.reporting.pdfFooterImageLabel": "PDFフッター画像", "xpack.reporting.publicNotifier.csvContainsFormulas.formulaReportMessage": "レポート'{reportObjectTitle}'には、スプレッドシートアプリケーションで式と解釈される可能性のある文字が含まれています。", @@ -29929,13 +29938,6 @@ "xpack.reporting.reportInfoFlyout.actionsButtonLabel": "アクション", "xpack.reporting.reportInfoFlyout.downloadButtonLabel": "ダウンロード", "xpack.reporting.reportInfoFlyout.openInKibanaAppButtonLabel": "Kibanaで開く", - "reporting.share.screenCapturePanelContent.canvasLayoutHelpText": "枠線とフッターロゴを削除", - "reporting.share.screenCapturePanelContent.canvasLayoutLabel": "全ページレイアウト", - "reporting.share.screenCapturePanelContent.optimizeForPrintingHelpText": "複数のページを使用します。ページごとに最大2のビジュアライゼーションが表示されます", - "reporting.share.screenCapturePanelContent.optimizeForPrintingLabel": "印刷用に最適化", - "reporting.share.contextMenu.csvReportsButtonLabel": "CSV レポート", - "reporting.share.contextMenu.pdfReportsButtonLabel": "PDF レポート", - "reporting.share.contextMenu.pngReportsButtonLabel": "PNG レポート", "xpack.reporting.statusIndicator.completedLabel": "完了", "xpack.reporting.statusIndicator.completedWithWarningsLabel": "完了しました。警告が検出されました", "xpack.reporting.statusIndicator.failedLabel": "失敗", @@ -42244,9 +42246,6 @@ "randomSampling.ui.sliderControl.accuracyLabel": "精度", "randomSampling.ui.sliderControl.performanceLabel": "パフォーマンス", "reactPackages.mountPointPortal.errorMessage": "ポータルコンテンツのレンダリングエラー", - "reporting.common.browserCouldNotLaunchErrorMessage": "ブラウザーが起動していないため、スクリーンショットを生成できません。詳細については、サーバーログを参照してください。", - "reporting.common.cloud.insufficientSystemMemoryError": "メモリ不足のため、このレポートを生成できません。", - "reporting.common.pdfWorkerOutOfMemoryErrorMessage": "メモリ不足のため、PDFを生成できません。PDFのサイズを小さくして、このレポートを再試行してください。", "savedObjectsFinder.advancedSettings.listingLimitText": "一覧ページ用に取得するオブジェクトの数です", "savedObjectsFinder.advancedSettings.listingLimitTitle": "オブジェクト取得制限", "savedObjectsFinder.advancedSettings.perPageText": "読み込みダイアログで表示されるページごとのオブジェクトの数です", diff --git a/x-pack/plugins/translations/translations/zh-CN.json b/x-pack/plugins/translations/translations/zh-CN.json index eaa87d46fc046..0b9f5e7f3aaeb 100644 --- a/x-pack/plugins/translations/translations/zh-CN.json +++ b/x-pack/plugins/translations/translations/zh-CN.json @@ -17549,7 +17549,6 @@ "xpack.fleet.settings.editOutputFlyout.kafkaHostsInputPlaceholder": "指定主机", "xpack.fleet.settings.editOutputFlyout.kafkaKeyInputHelpText": "如果配置,则可以使用格式字符串从事件中提取事件密钥。", "xpack.fleet.settings.editOutputFlyout.kafkaKeyInputLabel": "密钥(可选)", - "xpack.fleet.settings.editOutputFlyout.kafkaOutputTypeCallout": "使用 Elastic Defend 集成的代理当前不支持 Kafka 输出。", "xpack.fleet.settings.editOutputFlyout.kafkaPartitioningInputLabel": "分区策略", "xpack.fleet.settings.editOutputFlyout.kafkaPartitionTitle": "正在分区", "xpack.fleet.settings.editOutputFlyout.kafkaPartitionTypeHashHelpTextLabel": "逗号分隔。", @@ -29733,6 +29732,50 @@ "xpack.remoteClusters.updateRemoteCluster.noRemoteClusterErrorMessage": "没有该名称的远程集群。", "xpack.remoteClusters.updateRemoteCluster.unknownRemoteClusterErrorMessage": "无法编辑集群,ES 未返回任何响应。", "reporting.apiClient.unknownError": "报告作业 {job} 失败。错误未知。", + "reporting.jobStatusDetail.attemptXofY": "尝试 {attempts} 次,最多可尝试 {max_attempts} 次。", + "reporting.jobStatusDetail.timeoutSeconds": "{timeout} 秒", + "reporting.share.panelContent.generateButtonLabel": "生成 {reportingType}", + "reporting.share.panelContent.generationTimeDescription": "{reportingType} 可能会花费 1 或 2 分钟生成,取决于 {objectType} 的大小。", + "reporting.share.panelContent.successfullyQueuedReportNotificationDescription": "在 {path} 中跟踪其进度。", + "reporting.share.panelContent.successfullyQueuedReportNotificationTitle": "已为 {objectType} 排队报告", + "reporting.jobCreatedBy.unknownUserPlaceholderText": "未知", + "reporting.jobStatusDetail.deprecatedText": "这是已弃用的导出类型。此报告的自动化将需要重新创建,才能与未来版本的 Kibana 兼容。", + "reporting.jobStatusDetail.errorText": "查看报告信息以了解错误详情。", + "reporting.jobStatusDetail.pendingStatusReachedText": "正在等待处理作业。", + "reporting.jobStatusDetail.timeoutSecondsUnknown": "未知", + "reporting.jobStatusDetail.unknownText": "未知", + "reporting.jobStatusDetail.warningsText": "查看报告信息以了解警告。", + "reporting.jobStatuses.completedText": "已完成", + "reporting.jobStatuses.failedText": "失败", + "reporting.jobStatuses.pendingText": "待处理", + "reporting.jobStatuses.processingText": "正在处理", + "reporting.jobStatuses.warningText": "已完成", + "reporting.jobType.csvOutputName": "CSV", + "reporting.jobType.pdfOutputName": "PDF", + "reporting.jobType.pngOutputName": "PNG", + "reporting.jobWarning.csvContainsFormulas": "您的 CSV 包含电子表格应用程序可能解释为公式的字符。", + "reporting.jobWarning.exportTypeDeprecated": "这是已弃用的导出类型。此报告的自动化将需要重新创建,才能与未来版本的 Kibana 兼容。", + "reporting.jobWarning.maxSizeReachedTooltip": "您的搜索已达到最大大小,仅包含部分数据。", + "reporting.share.panelContent.advancedOptions": "高级选项", + "reporting.share.panelContent.copyUrlButtonLabel": "复制 POST URL", + "reporting.share.panelContent.howToCallGenerationDescription": "或者,复制此 POST URL 以从 Kibana 外部或从 Watcher 调用生成。", + "reporting.share.panelContent.notification.reportingErrorTitle": "无法创建报告", + "reporting.share.panelContent.saveWorkDescription": "请在生成报告之前保存您的工作。", + "reporting.share.panelContent.unsavedStateAndExceedsMaxLengthDescription": "无法复制此 URL。", + "reporting.share.panelContent.unsavedStateAndExceedsMaxLengthTitle": "URL 太长", + "reporting.share.panelContent.unsavedStateAndExceedsMaxLengthTrySaveDescription": "无法复制此 URL。尝试保存您的工作。", + "reporting.share.panelContent.unsavedStateErrorText": "在复制此 URL 之前保存您的工作。", + "reporting.share.panelContent.unsavedStateErrorTitle": "未保存的工作", + "reporting.share.screenCapturePanelContent.canvasLayoutHelpText": "删除边框和页脚徽标", + "reporting.share.screenCapturePanelContent.canvasLayoutLabel": "全页面布局", + "reporting.share.screenCapturePanelContent.optimizeForPrintingHelpText": "使用多页,每页最多显示 2 个可视化", + "reporting.share.screenCapturePanelContent.optimizeForPrintingLabel": "打印优化", + "reporting.share.contextMenu.csvReportsButtonLabel": "CSV 报告", + "reporting.share.contextMenu.pdfReportsButtonLabel": "PDF 报告", + "reporting.share.contextMenu.pngReportsButtonLabel": "PNG 报告", + "reporting.common.browserCouldNotLaunchErrorMessage": "无法生成屏幕截图,因为浏览器未启动。有关更多信息,请查看服务器日志。", + "reporting.common.cloud.insufficientSystemMemoryError": "由于内存不足,无法生成此报告。", + "reporting.common.pdfWorkerOutOfMemoryErrorMessage": "由于内存不足,无法生成 PDF。尝试生成更小的 PDF,然后重试此报告。", "xpack.reporting.deprecations.migrateIndexIlmPolicy.manualStepOneMessage": "使用索引设置 API 更新所有报告索引以使用“{reportingIlmPolicy}”策略。", "xpack.reporting.deprecations.migrateIndexIlmPolicyActionMessage": "新报告索引将由预配的 ILM 策略“{reportingIlmPolicy}”管理。必须编辑此策略,才能管理报告生命周期。此更改适用于加有“{indexPattern}”前缀的所有索引。", "xpack.reporting.deprecations.reportingRoleMappings.manualStepFive": "从所有角色映射中移除“reporting_user”角色,然后添加定制角色。受影响的角色映射为:{roleMappings}。", @@ -29745,8 +29788,6 @@ "xpack.reporting.diagnostic.noUsableSandbox": "无法使用 Chromium 沙盒。您自行承担使用“xpack.screenshotting.browser.chromium.disableSandbox”禁用此项的风险。请参见 {url}", "xpack.reporting.jobResponse.errorHandler.notAuthorized": "抱歉,您无权查看或删除 {jobtype} 报告", "xpack.reporting.jobsQuery.deleteError": "无法删除报告:{error}", - "reporting.jobStatusDetail.attemptXofY": "尝试 {attempts} 次,最多可尝试 {max_attempts} 次。", - "reporting.jobStatusDetail.timeoutSeconds": "{timeout} 秒", "xpack.reporting.listing.diagnosticApiCallFailure": "运行诊断时出现问题:{error}", "xpack.reporting.listing.ilmPolicyCallout.migrateIndicesButtonLabel": "应用 {ilmPolicyName} 策略", "xpack.reporting.listing.ilmPolicyCallout.migrationNeededDescription": "为了确保得到一致的管理,所有报告索引应使用 {ilmPolicyName} 策略。", @@ -29758,10 +29799,6 @@ "xpack.reporting.listing.table.deleteFailedErrorMessage": "报告未删除:{error}", "xpack.reporting.listing.table.deleteNumConfirmTitle": "删除 {num} 个报告?", "xpack.reporting.listing.table.deleteReportButton": "删除 {num, plural, other {报告}}", - "reporting.share.panelContent.generateButtonLabel": "生成 {reportingType}", - "reporting.share.panelContent.generationTimeDescription": "{reportingType} 可能会花费 1 或 2 分钟生成,取决于 {objectType} 的大小。", - "reporting.share.panelContent.successfullyQueuedReportNotificationDescription": "在 {path} 中跟踪其进度。", - "reporting.share.panelContent.successfullyQueuedReportNotificationTitle": "已为 {objectType} 排队报告", "xpack.reporting.publicNotifier.csvContainsFormulas.formulaReportTitle": "{reportType} 可能包含公式", "xpack.reporting.publicNotifier.error.checkManagement": "前往 {path} 了解详情。", "xpack.reporting.publicNotifier.reportLinkDescription": "立即下载,或者稍后在 {path} 中获取。", @@ -29797,25 +29834,7 @@ "xpack.reporting.deprecations.reportingRoleUsers.manualStepThree": "前往“管理”>“安全性”>“角色”以创建一个或多个针对 Reporting 授予 Kibana 应用程序权限的角色。", "xpack.reporting.deprecations.reportingRoleUsers.manualStepTwo": "移除 kibana.yml 中的“xpack.reporting.roles.allow”(如果存在)。", "xpack.reporting.errorHandler.unknownError": "未知错误", - "reporting.jobCreatedBy.unknownUserPlaceholderText": "未知", "xpack.reporting.jobResponse.errorHandler.unknownError": "未知错误", - "reporting.jobStatusDetail.deprecatedText": "这是已弃用的导出类型。此报告的自动化将需要重新创建,才能与未来版本的 Kibana 兼容。", - "reporting.jobStatusDetail.errorText": "查看报告信息以了解错误详情。", - "reporting.jobStatusDetail.pendingStatusReachedText": "正在等待处理作业。", - "reporting.jobStatusDetail.timeoutSecondsUnknown": "未知", - "reporting.jobStatusDetail.unknownText": "未知", - "reporting.jobStatusDetail.warningsText": "查看报告信息以了解警告。", - "reporting.jobStatuses.completedText": "已完成", - "reporting.jobStatuses.failedText": "失败", - "reporting.jobStatuses.pendingText": "待处理", - "reporting.jobStatuses.processingText": "正在处理", - "reporting.jobStatuses.warningText": "已完成", - "reporting.jobType.csvOutputName": "CSV", - "reporting.jobType.pdfOutputName": "PDF", - "reporting.jobType.pngOutputName": "PNG", - "reporting.jobWarning.csvContainsFormulas": "您的 CSV 包含电子表格应用程序可能解释为公式的字符。", - "reporting.jobWarning.exportTypeDeprecated": "这是已弃用的导出类型。此报告的自动化将需要重新创建,才能与未来版本的 Kibana 兼容。", - "reporting.jobWarning.maxSizeReachedTooltip": "您的搜索已达到最大大小,仅包含部分数据。", "xpack.reporting.listing.diagnosticBrowserButton": "检查浏览器", "xpack.reporting.listing.diagnosticBrowserMessage": "报告使用无界面浏览器生成 PDF 和 PNG。验证浏览器是否可以成功启动。", "xpack.reporting.listing.diagnosticBrowserTitle": "检查浏览器", @@ -29886,16 +29905,6 @@ "xpack.reporting.listing.tableColumns.statusTitle": "状态", "xpack.reporting.listing.tableColumns.typeTitle": "类型", "xpack.reporting.management.reportingTitle": "Reporting", - "reporting.share.panelContent.advancedOptions": "高级选项", - "reporting.share.panelContent.copyUrlButtonLabel": "复制 POST URL", - "reporting.share.panelContent.howToCallGenerationDescription": "或者,复制此 POST URL 以从 Kibana 外部或从 Watcher 调用生成。", - "reporting.share.panelContent.notification.reportingErrorTitle": "无法创建报告", - "reporting.share.panelContent.saveWorkDescription": "请在生成报告之前保存您的工作。", - "reporting.share.panelContent.unsavedStateAndExceedsMaxLengthDescription": "无法复制此 URL。", - "reporting.share.panelContent.unsavedStateAndExceedsMaxLengthTitle": "URL 太长", - "reporting.share.panelContent.unsavedStateAndExceedsMaxLengthTrySaveDescription": "无法复制此 URL。尝试保存您的工作。", - "reporting.share.panelContent.unsavedStateErrorText": "在复制此 URL 之前保存您的工作。", - "reporting.share.panelContent.unsavedStateErrorTitle": "未保存的工作", "xpack.reporting.pdfFooterImageDescription": "要在 PDF 的页脚中使用的定制图像", "xpack.reporting.pdfFooterImageLabel": "PDF 页脚图像", "xpack.reporting.publicNotifier.csvContainsFormulas.formulaReportMessage": "报告“{reportObjectTitle}”包含电子表格应用程序可解释为公式的字符。", @@ -29913,13 +29922,6 @@ "xpack.reporting.reportInfoFlyout.actionsButtonLabel": "操作", "xpack.reporting.reportInfoFlyout.downloadButtonLabel": "下载", "xpack.reporting.reportInfoFlyout.openInKibanaAppButtonLabel": "在 Kibana 中打开", - "reporting.share.screenCapturePanelContent.canvasLayoutHelpText": "删除边框和页脚徽标", - "reporting.share.screenCapturePanelContent.canvasLayoutLabel": "全页面布局", - "reporting.share.screenCapturePanelContent.optimizeForPrintingHelpText": "使用多页,每页最多显示 2 个可视化", - "reporting.share.screenCapturePanelContent.optimizeForPrintingLabel": "打印优化", - "reporting.share.contextMenu.csvReportsButtonLabel": "CSV 报告", - "reporting.share.contextMenu.pdfReportsButtonLabel": "PDF 报告", - "reporting.share.contextMenu.pngReportsButtonLabel": "PNG 报告", "xpack.reporting.statusIndicator.completedLabel": "完成", "xpack.reporting.statusIndicator.completedWithWarningsLabel": "已完成,但检测到警告", "xpack.reporting.statusIndicator.failedLabel": "失败", @@ -42224,9 +42226,6 @@ "randomSampling.ui.sliderControl.accuracyLabel": "准确性", "randomSampling.ui.sliderControl.performanceLabel": "性能", "reactPackages.mountPointPortal.errorMessage": "呈现门户内容时出错", - "reporting.common.browserCouldNotLaunchErrorMessage": "无法生成屏幕截图,因为浏览器未启动。有关更多信息,请查看服务器日志。", - "reporting.common.cloud.insufficientSystemMemoryError": "由于内存不足,无法生成此报告。", - "reporting.common.pdfWorkerOutOfMemoryErrorMessage": "由于内存不足,无法生成 PDF。尝试生成更小的 PDF,然后重试此报告。", "savedObjectsFinder.advancedSettings.listingLimitText": "要为列表页面提取的对象数目", "savedObjectsFinder.advancedSettings.listingLimitTitle": "对象列表限制", "savedObjectsFinder.advancedSettings.perPageText": "加载对话框中每页要显示的对象数目", diff --git a/x-pack/plugins/triggers_actions_ui/public/application/lib/suspended_component_with_props.tsx b/x-pack/plugins/triggers_actions_ui/public/application/lib/suspended_component_with_props.tsx index c3662f42ae396..bfd4a6562fcd7 100644 --- a/x-pack/plugins/triggers_actions_ui/public/application/lib/suspended_component_with_props.tsx +++ b/x-pack/plugins/triggers_actions_ui/public/application/lib/suspended_component_with_props.tsx @@ -15,6 +15,7 @@ export function suspendedComponentWithProps( ) { return (props: T) => ( }> + {/* @ts-expect-error upgrade typescript v4.9.5*/} ); diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/action_alerts_filter_timeframe.test.tsx b/x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/action_alerts_filter_timeframe.test.tsx index ef73b3ab305c0..ea666d1f2dd3e 100644 --- a/x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/action_alerts_filter_timeframe.test.tsx +++ b/x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/action_alerts_filter_timeframe.test.tsx @@ -107,6 +107,7 @@ describe('action_alerts_filter_timeframe', () => { ); expect(alertsFilterTimeframeStart.exists()).toBeTruthy(); { + // @ts-expect-error upgrade typescript v4.9.5 const selectedDate: Moment = Reflect.get( alertsFilterTimeframeStart.first().props(), 'selected' @@ -117,6 +118,7 @@ describe('action_alerts_filter_timeframe', () => { const alertsFilterTimeframeEnd = wrapper.find('[data-test-subj="alertsFilterTimeframeEnd"]'); expect(alertsFilterTimeframeEnd.exists()).toBeTruthy(); { + // @ts-expect-error upgrade typescript v4.9.5 const selectedDate: Moment = Reflect.get( alertsFilterTimeframeEnd.first().props(), 'selected' diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_form/rule_conditions.tsx b/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_form/rule_conditions.tsx index 2885d34013402..5828210d32598 100644 --- a/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_form/rule_conditions.tsx +++ b/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_form/rule_conditions.tsx @@ -89,6 +89,7 @@ export const RuleConditions = ({ > {React.isValidElement(children) ? ( React.cloneElement(React.Children.only(children), { + // @ts-expect-error upgrade typescript v4.9.5 actionGroup, ...otherProps, }) diff --git a/x-pack/test/api_integration/apis/aiops/log_rate_analysis_full_analysis.ts b/x-pack/test/api_integration/apis/aiops/log_rate_analysis_full_analysis.ts index 352282b4ba41f..3fcc3dd339047 100644 --- a/x-pack/test/api_integration/apis/aiops/log_rate_analysis_full_analysis.ts +++ b/x-pack/test/api_integration/apis/aiops/log_rate_analysis_full_analysis.ts @@ -52,16 +52,15 @@ export default ({ getService }: FtrProviderContext) => { }); async function assertAnalysisResult(data: any[]) { - expect(data.length).to.eql( - testData.expected.actionsLength, - `Expected 'actionsLength' to be ${testData.expected.actionsLength}, got ${data.length}.` - ); data.forEach((d) => { expect(typeof d.type).to.be('string'); }); const addSignificantItemsActions = getAddSignificationItemsActions(data, apiVersion); - expect(addSignificantItemsActions.length).to.greaterThan(0); + expect(addSignificantItemsActions.length).to.greaterThan( + 0, + 'Expected significant items actions to be greater than 0.' + ); const significantItems = orderBy( addSignificantItemsActions.flatMap((d) => d.payload), @@ -80,7 +79,10 @@ export default ({ getService }: FtrProviderContext) => { expect(histogramActions.length).to.be(significantItems.length); // each histogram should have a length of 20 items. histograms.forEach((h, index) => { - expect(h.histogram.length).to.be(20); + expect(h.histogram.length).to.eql( + testData.expected.histogramLength, + `Expected histogram length to be ${testData.expected.histogramLength}, got ${h.histogram.length}` + ); }); const groupActions = getGroupActions(data, apiVersion); @@ -102,7 +104,10 @@ export default ({ getService }: FtrProviderContext) => { expect(groupHistograms.length).to.be(groups.length); // each histogram should have a length of 20 items. groupHistograms.forEach((h, index) => { - expect(h.histogram.length).to.be(20); + expect(h.histogram.length).to.eql( + testData.expected.histogramLength, + `Expected group histogram length to be ${testData.expected.histogramLength}, got ${h.histogram.length}` + ); }); } @@ -128,11 +133,6 @@ export default ({ getService }: FtrProviderContext) => { const chunks: string[] = resp.body.toString().split('\n'); - expect(chunks.length).to.eql( - testData.expected.chunksLength, - `Expected 'chunksLength' to be ${testData.expected.chunksLength}, got ${chunks.length}.` - ); - const lastChunk = chunks.pop(); expect(lastChunk).to.be(''); diff --git a/x-pack/test/api_integration/apis/aiops/log_rate_analysis_groups_only.ts b/x-pack/test/api_integration/apis/aiops/log_rate_analysis_groups_only.ts index fcc4bafabdf3c..f3aeeed8d067c 100644 --- a/x-pack/test/api_integration/apis/aiops/log_rate_analysis_groups_only.ts +++ b/x-pack/test/api_integration/apis/aiops/log_rate_analysis_groups_only.ts @@ -74,10 +74,6 @@ export default ({ getService }: FtrProviderContext) => { }); async function assertAnalysisResult(data: any[]) { - expect(data.length).to.eql( - testData.expected.actionsLengthGroupOnly, - `Expected 'actionsLengthGroupOnly' to be ${testData.expected.actionsLengthGroupOnly}, got ${data.length}.` - ); data.forEach((d) => { expect(typeof d.type).to.be('string'); }); @@ -101,7 +97,9 @@ export default ({ getService }: FtrProviderContext) => { expect(orderBy(groups, ['docCount'], ['desc'])).to.eql( orderBy(testData.expected.groups, ['docCount'], ['desc']), - 'Grouping result does not match expected values.' + `Grouping result does not match expected values. Expected ${JSON.stringify( + testData.expected.groups + )}, got ${JSON.stringify(groups)}` ); const groupHistogramActions = getGroupHistogramActions(data, apiVersion); @@ -110,7 +108,10 @@ export default ({ getService }: FtrProviderContext) => { expect(groupHistograms.length).to.be(groups.length); // each histogram should have a length of 20 items. groupHistograms.forEach((h, index) => { - expect(h.histogram.length).to.be(20); + expect(h.histogram.length).to.eql( + testData.expected.histogramLength, + `Expected group histogram length to be ${testData.expected.histogramLength}, got ${h.histogram.length}` + ); }); } @@ -136,11 +137,6 @@ export default ({ getService }: FtrProviderContext) => { const chunks: string[] = resp.body.toString().split('\n'); - expect(chunks.length).to.eql( - testData.expected.chunksLengthGroupOnly, - `Expected 'chunksLength' to be ${testData.expected.chunksLengthGroupOnly}, got ${chunks.length}.` - ); - const lastChunk = chunks.pop(); expect(lastChunk).to.be(''); diff --git a/x-pack/test/api_integration/apis/aiops/test_data.ts b/x-pack/test/api_integration/apis/aiops/test_data.ts index 3c1793ab9efe3..455574e4c7e76 100644 --- a/x-pack/test/api_integration/apis/aiops/test_data.ts +++ b/x-pack/test/api_integration/apis/aiops/test_data.ts @@ -14,11 +14,14 @@ import { finalSignificantItemGroups as artificialLogsSignificantItemGroups } fro import { finalSignificantItemGroupsTextfield as artificialLogsSignificantItemGroupsTextfield } from '@kbn/aiops-plugin/common/__mocks__/artificial_logs/final_significant_item_groups_textfield'; import { topTerms } from '@kbn/aiops-plugin/common/__mocks__/artificial_logs/top_terms'; import { topTermsGroups } from '@kbn/aiops-plugin/common/__mocks__/artificial_logs/top_terms_groups'; - import type { AiopsLogRateAnalysisSchema, AiopsLogRateAnalysisApiVersion as ApiVersion, } from '@kbn/aiops-plugin/common/api/log_rate_analysis/schema'; +import { + frequentItemSetsLargeArraysGroups, + frequentItemSetsLargeArraysSignificantItems, +} from '../../../functional/apps/aiops/log_rate_analysis/test_data/__mocks__/frequent_item_sets_large_arrays'; import type { TestData } from './types'; @@ -35,16 +38,12 @@ export const getLogRateAnalysisTestData = (): Array, expected: { - chunksLength: 36, - chunksLengthGroupOnly: 5, - actionsLength: 35, - actionsLengthGroupOnly: 4, noIndexChunksLength: 4, noIndexActionsLength: 3, significantItems: [ @@ -95,10 +94,6 @@ export const getLogRateAnalysisTestData = (): Array, expected: { - chunksLength: 28, - chunksLengthGroupOnly: 11, - actionsLength: 27, - actionsLengthGroupOnly: 10, noIndexChunksLength: 4, noIndexActionsLength: 3, significantItems: artificialLogSignificantTerms, @@ -122,10 +117,6 @@ export const getLogRateAnalysisTestData = (): Array, expected: { - chunksLength: 62, - chunksLengthGroupOnly: 32, - actionsLength: 61, - actionsLengthGroupOnly: 31, noIndexChunksLength: 4, noIndexActionsLength: 3, significantItems: topTerms, @@ -149,10 +140,6 @@ export const getLogRateAnalysisTestData = (): Array, expected: { - chunksLength: 62, - chunksLengthGroupOnly: 32, - actionsLength: 61, - actionsLengthGroupOnly: 31, noIndexChunksLength: 4, noIndexActionsLength: 3, significantItems: topTerms, @@ -176,10 +163,6 @@ export const getLogRateAnalysisTestData = (): Array, expected: { - chunksLength: 31, - chunksLengthGroupOnly: 11, - actionsLength: 30, - actionsLengthGroupOnly: 10, noIndexChunksLength: 4, noIndexActionsLength: 3, significantItems: [...artificialLogSignificantTerms, ...artificialLogSignificantLogPatterns], @@ -203,10 +186,6 @@ export const getLogRateAnalysisTestData = (): Array, expected: { - chunksLength: 28, - chunksLengthGroupOnly: 11, - actionsLength: 27, - actionsLengthGroupOnly: 10, noIndexChunksLength: 4, noIndexActionsLength: 3, significantItems: artificialLogSignificantTerms, @@ -230,10 +209,6 @@ export const getLogRateAnalysisTestData = (): Array, expected: { - chunksLength: 31, - chunksLengthGroupOnly: 11, - actionsLength: 30, - actionsLengthGroupOnly: 10, noIndexChunksLength: 4, noIndexActionsLength: 3, significantItems: [...artificialLogSignificantTerms, ...artificialLogSignificantLogPatterns], @@ -241,4 +216,27 @@ export const getLogRateAnalysisTestData = (): Array, + expected: { + noIndexChunksLength: 4, + noIndexActionsLength: 3, + groups: frequentItemSetsLargeArraysGroups, + significantItems: frequentItemSetsLargeArraysSignificantItems, + histogramLength: 1, + }, + }, ]; diff --git a/x-pack/test/api_integration/apis/aiops/types.ts b/x-pack/test/api_integration/apis/aiops/types.ts index df38825d9698d..acb948a2fea50 100644 --- a/x-pack/test/api_integration/apis/aiops/types.ts +++ b/x-pack/test/api_integration/apis/aiops/types.ts @@ -19,10 +19,6 @@ export interface TestData { dataGenerator?: LogRateAnalysisDataGenerator; requestBody: AiopsLogRateAnalysisSchema; expected: { - chunksLength: number; - chunksLengthGroupOnly: number; - actionsLength: number; - actionsLengthGroupOnly: number; noIndexChunksLength: number; noIndexActionsLength: number; significantItems: SignificantItem[]; diff --git a/x-pack/test/api_integration/apis/slos/create_slo.ts b/x-pack/test/api_integration/apis/slos/create_slo.ts index 485c113705463..18e35eceb835f 100644 --- a/x-pack/test/api_integration/apis/slos/create_slo.ts +++ b/x-pack/test/api_integration/apis/slos/create_slo.ts @@ -129,6 +129,12 @@ export default function ({ getService }: FtrProviderContext) { script: { source: `emit('${id}')` }, }, 'slo.revision': { type: 'long', script: { source: 'emit(1)' } }, + 'slo.instanceId': { + script: { + source: "emit('tags:'+doc['tags'].value)", + }, + type: 'keyword', + }, }, }, dest: { @@ -141,7 +147,7 @@ export default function ({ getService }: FtrProviderContext) { group_by: { 'slo.id': { terms: { field: 'slo.id' } }, 'slo.revision': { terms: { field: 'slo.revision' } }, - 'slo.instanceId': { terms: { field: 'tags' } }, + 'slo.instanceId': { terms: { field: 'slo.instanceId' } }, 'slo.groupings.tags': { terms: { field: 'tags' } }, '@timestamp': { date_histogram: { field: '@timestamp', fixed_interval: '1m' } }, }, diff --git a/x-pack/test/api_integration/apis/slos/get_slo.ts b/x-pack/test/api_integration/apis/slos/get_slo.ts index b121000d6033c..e97a4dea62e9f 100644 --- a/x-pack/test/api_integration/apis/slos/get_slo.ts +++ b/x-pack/test/api_integration/apis/slos/get_slo.ts @@ -5,7 +5,7 @@ * 2.0. */ import { cleanup } from '@kbn/infra-forge'; -import expect from '@kbn/expect'; +import expect from 'expect'; import type { CreateSLOInput } from '@kbn/slo-schema'; import { FtrProviderContext } from '../../ftr_provider_context'; @@ -44,7 +44,9 @@ export default function ({ getService }: FtrProviderContext) { }); afterEach(async () => { - await slo.deleteAllSLOs(); + await retry.tryForTime(60 * 1000, async () => { + await slo.deleteAllSLOs(); + }); }); after(async () => { @@ -64,7 +66,7 @@ export default function ({ getService }: FtrProviderContext) { .send() .expect(200); - expect(getResponse.body).eql({ + expect(getResponse.body).toEqual({ name: 'Test SLO for api integration', description: 'Fixture for api integration tests', indicator: { @@ -82,6 +84,7 @@ export default function ({ getService }: FtrProviderContext) { objective: { target: 0.99 }, tags: ['test'], groupBy: '*', + groupings: {}, id, settings: { syncDelay: '1m', frequency: '1m' }, revision: 1, @@ -121,7 +124,7 @@ export default function ({ getService }: FtrProviderContext) { .expect(200); // expect summary transform to be created - expect(getResponse.body).eql({ + expect(getResponse.body).toEqual({ name: 'Test SLO for api integration', description: 'Fixture for api integration tests', indicator: { @@ -139,6 +142,7 @@ export default function ({ getService }: FtrProviderContext) { objective: { target: 0.99 }, tags: ['test'], groupBy: '*', + groupings: {}, id, settings: { syncDelay: '1m', frequency: '1m' }, revision: 1, @@ -184,7 +188,7 @@ export default function ({ getService }: FtrProviderContext) { .expect(200); // expect summary transform to be created - expect(getResponse.body).eql({ + expect(getResponse.body).toEqual({ name: 'Test SLO for api integration', description: 'Fixture for api integration tests', indicator: { @@ -206,6 +210,7 @@ export default function ({ getService }: FtrProviderContext) { }, tags: ['test'], groupBy: '*', + groupings: {}, id, settings: { syncDelay: '1m', frequency: '1m' }, revision: 1, @@ -250,7 +255,7 @@ export default function ({ getService }: FtrProviderContext) { .send() .expect(200); - expect(getResponse.body).eql({ + expect(getResponse.body).toEqual({ name: 'Test SLO for api integration', description: 'Fixture for api integration tests', indicator: { @@ -272,6 +277,7 @@ export default function ({ getService }: FtrProviderContext) { }, tags: ['test'], groupBy: '*', + groupings: {}, id, settings: { syncDelay: '1m', frequency: '1m' }, revision: 1, @@ -295,7 +301,7 @@ export default function ({ getService }: FtrProviderContext) { }); it('gets slos by query', async () => { - const id = await createSLO(); + await createSLO(); await createSLO({ name: 'test int' }); await retry.tryForTime(300 * 1000, async () => { @@ -305,7 +311,7 @@ export default function ({ getService }: FtrProviderContext) { .send() .expect(200); - expect(response.body.results.length).eql(2); + expect(response.body.results.length).toEqual(2); const searchResponse = await supertestAPI .get(`/api/observability/slos?kqlQuery=slo.name%3Aapi*`) @@ -313,7 +319,7 @@ export default function ({ getService }: FtrProviderContext) { .send() .expect(200); - expect(searchResponse.body.results.length).eql(1); + expect(searchResponse.body.results.length).toEqual(1); const searchResponse2 = await supertestAPI .get(`/api/observability/slos?kqlQuery=slo.name%3Aint`) @@ -321,7 +327,7 @@ export default function ({ getService }: FtrProviderContext) { .send() .expect(200); - expect(searchResponse2.body.results.length).eql(1); + expect(searchResponse2.body.results.length).toEqual(1); const searchResponse3 = await supertestAPI .get(`/api/observability/slos?kqlQuery=slo.name%3Aint*`) @@ -329,7 +335,7 @@ export default function ({ getService }: FtrProviderContext) { .send() .expect(200); - expect(searchResponse3.body.results.length).eql(2); + expect(searchResponse3.body.results.length).toEqual(2); const searchResponse4 = await supertestAPI .get(`/api/observability/slos?kqlQuery=int*`) @@ -337,7 +343,25 @@ export default function ({ getService }: FtrProviderContext) { .send() .expect(200); - expect(searchResponse4.body.results.length).eql(2); + expect(searchResponse4.body.results.length).toEqual(2); + }); + }); + + it('gets slos instances', async () => { + const id = await createSLO(); + + await retry.tryForTime(400 * 1000, async () => { + const response = await supertestAPI + .get(`/api/observability/slos`) + .set('kbn-xsrf', 'true') + .send() + .expect(200); + + expect(response.body.results.length).toEqual(3); + + response.body.results.forEach((result: Record, i: number) => { + expect(result.groupings).toEqual(expect.objectContaining({ tags: `${i + 1}` })); + }); const instanceResponse = await supertestAPI .get(`/internal/observability/slos/${id}/_instances`) @@ -346,8 +370,8 @@ export default function ({ getService }: FtrProviderContext) { .expect(200); // expect 3 instances to be created - expect(instanceResponse.body.groupBy).eql('tags'); - expect(instanceResponse.body.instances.sort()).eql(['1', '2', '3']); + expect(instanceResponse.body.groupBy).toEqual('tags'); + expect(instanceResponse.body.instances.sort()).toEqual(['tags:1', 'tags:2', 'tags:3']); }); }); @@ -360,7 +384,7 @@ export default function ({ getService }: FtrProviderContext) { .send() .expect(200); - expect(response.body).eql({ + expect(response.body).toEqual({ page: 1, perPage: 100, results: [ @@ -443,7 +467,7 @@ export default function ({ getService }: FtrProviderContext) { .send() .expect(200); - expect(searchResponse.body.total).eql(1); + expect(searchResponse.body.total).toEqual(1); const searchResponse2 = await supertestAPI .get(`/api/observability/slos/_definitions?search=int`) @@ -451,7 +475,7 @@ export default function ({ getService }: FtrProviderContext) { .send() .expect(200); - expect(searchResponse2.body.total).eql(1); + expect(searchResponse2.body.total).toEqual(1); const searchResponse3 = await supertestAPI .get(`/api/observability/slos/_definitions?search=int*`) @@ -459,7 +483,7 @@ export default function ({ getService }: FtrProviderContext) { .send() .expect(200); - expect(searchResponse3.body.total).eql(2); + expect(searchResponse3.body.total).toEqual(2); }); }); } diff --git a/x-pack/test/api_integration/apis/slos/update_slo.ts b/x-pack/test/api_integration/apis/slos/update_slo.ts index 3d7e20baa32ff..6727fa8c22241 100644 --- a/x-pack/test/api_integration/apis/slos/update_slo.ts +++ b/x-pack/test/api_integration/apis/slos/update_slo.ts @@ -146,6 +146,12 @@ export default function ({ getService }: FtrProviderContext) { script: { source: `emit('${id}')` }, }, 'slo.revision': { type: 'long', script: { source: 'emit(2)' } }, + 'slo.instanceId': { + script: { + source: "emit('hosts:'+doc['hosts'].value)", + }, + type: 'keyword', + }, }, }, dest: { @@ -158,7 +164,7 @@ export default function ({ getService }: FtrProviderContext) { group_by: { 'slo.id': { terms: { field: 'slo.id' } }, 'slo.revision': { terms: { field: 'slo.revision' } }, - 'slo.instanceId': { terms: { field: 'hosts' } }, + 'slo.instanceId': { terms: { field: 'slo.instanceId' } }, 'slo.groupings.hosts': { terms: { field: 'hosts' } }, '@timestamp': { date_histogram: { field: '@timestamp', fixed_interval: '1m' } }, }, diff --git a/x-pack/test/api_integration/services/slo.ts b/x-pack/test/api_integration/services/slo.ts index c6d400d2452ce..7d7d1daab99f7 100644 --- a/x-pack/test/api_integration/services/slo.ts +++ b/x-pack/test/api_integration/services/slo.ts @@ -37,15 +37,13 @@ export function SloApiProvider({ getService }: FtrProviderContext) { .set('kbn-xsrf', 'true') .send() .expect(200); - await Promise.all( - (response.body as FindSLODefinitionsResponse).results.map(({ id }) => { - return supertest - .delete(`/api/observability/slos/${id}`) - .set('kbn-xsrf', 'true') - .send() - .expect(204); - }) - ); + for (const { id } of (response.body as FindSLODefinitionsResponse).results) { + await supertest + .delete(`/api/observability/slos/${id}`) + .set('kbn-xsrf', 'true') + .send() + .expect(204); + } }, }; } diff --git a/x-pack/test/cases_api_integration/common/plugins/cases/server/plugin.ts b/x-pack/test/cases_api_integration/common/plugins/cases/server/plugin.ts index b2ac0602774d5..9de0d8b2a8cef 100644 --- a/x-pack/test/cases_api_integration/common/plugins/cases/server/plugin.ts +++ b/x-pack/test/cases_api_integration/common/plugins/cases/server/plugin.ts @@ -9,7 +9,7 @@ import { Plugin, CoreSetup, CoreStart, PluginInitializerContext, Logger } from ' import { PluginSetupContract as FeaturesPluginSetup } from '@kbn/features-plugin/server'; import { SpacesPluginStart } from '@kbn/spaces-plugin/server'; import { SecurityPluginStart } from '@kbn/security-plugin/server'; -import type { CasesStart, CasesSetup } from '@kbn/cases-plugin/server'; +import type { CasesServerStart, CasesServerSetup } from '@kbn/cases-plugin/server'; import { FilesSetup } from '@kbn/files-plugin/server'; import { getPersistableStateAttachment } from './attachments/persistable_state'; import { getExternalReferenceAttachment } from './attachments/external_reference'; @@ -18,14 +18,14 @@ import { registerCaseFixtureFileKinds } from './files'; export interface FixtureSetupDeps { features: FeaturesPluginSetup; - cases: CasesSetup; + cases: CasesServerSetup; files: FilesSetup; } export interface FixtureStartDeps { security?: SecurityPluginStart; spaces?: SpacesPluginStart; - cases: CasesStart; + cases: CasesServerStart; } export class FixturePlugin implements Plugin { diff --git a/x-pack/test/cases_api_integration/security_and_spaces/tests/trial/cases/push_case.ts b/x-pack/test/cases_api_integration/security_and_spaces/tests/trial/cases/push_case.ts index 67b501a784462..2507700be6fef 100644 --- a/x-pack/test/cases_api_integration/security_and_spaces/tests/trial/cases/push_case.ts +++ b/x-pack/test/cases_api_integration/security_and_spaces/tests/trial/cases/push_case.ts @@ -515,7 +515,8 @@ export default ({ getService }: FtrProviderContext): void => { }); }); - describe('user profile uid', () => { + // FLAKY: https://github.com/elastic/kibana/issues/157588 + describe.skip('user profile uid', () => { let headers: Record; let superUserWithProfile: User; let superUserInfo: User; diff --git a/x-pack/test/cloud_security_posture_functional/page_objects/rule_page.ts b/x-pack/test/cloud_security_posture_functional/page_objects/rule_page.ts index 3cf0810c7a03e..4d0d3034306af 100644 --- a/x-pack/test/cloud_security_posture_functional/page_objects/rule_page.ts +++ b/x-pack/test/cloud_security_posture_functional/page_objects/rule_page.ts @@ -51,7 +51,11 @@ export function RulePagePageProvider({ getService, getPageObjects }: FtrProvider const rulePage = { toggleBulkActionButton: async () => { const bulkActionButtonToBeClicked = await testSubjects.find(RULES_BULK_ACTION_BUTTON); - await bulkActionButtonToBeClicked.click(); + await retry.waitFor('bulk action options to be displayed', async () => { + await bulkActionButtonToBeClicked.click(); + const bulkActionOptions = await testSubjects.findAll(RULES_BULK_ACTION_OPTION_DISABLE); + return bulkActionOptions.length > 0; + }); }, clickBulkActionOption: async (optionTestId: string) => { diff --git a/x-pack/test/cloud_security_posture_functional/pages/compliance_dashboard.ts b/x-pack/test/cloud_security_posture_functional/pages/compliance_dashboard.ts index 2167726c4a09d..625178e78604f 100644 --- a/x-pack/test/cloud_security_posture_functional/pages/compliance_dashboard.ts +++ b/x-pack/test/cloud_security_posture_functional/pages/compliance_dashboard.ts @@ -61,5 +61,9 @@ export default function ({ getPageObjects, getService }: FtrProviderContext) { expect((await scoreElement.getVisibleText()) === '0%').to.be(true); }); }); + + // describe('TODO - Cloud Dashboard', () => { + // it('todo - displays accurate summary compliance score', async () => {}); + // }); }); } diff --git a/x-pack/test/fleet_api_integration/apis/agents/list.ts b/x-pack/test/fleet_api_integration/apis/agents/list.ts index 55d9373c0bd95..72c333753bdec 100644 --- a/x-pack/test/fleet_api_integration/apis/agents/list.ts +++ b/x-pack/test/fleet_api_integration/apis/agents/list.ts @@ -6,7 +6,7 @@ */ import expect from '@kbn/expect'; -import { type Agent, FLEET_ELASTIC_AGENT_PACKAGE } from '@kbn/fleet-plugin/common'; +import { type Agent, FLEET_ELASTIC_AGENT_PACKAGE, AGENTS_INDEX } from '@kbn/fleet-plugin/common'; import { FtrProviderContext } from '../../../api_integration/ftr_provider_context'; import { testUsers } from '../test_users'; @@ -236,5 +236,53 @@ export default function ({ getService }: FtrProviderContext) { updating: 0, }); }); + + it('should return correct status summary if showUpgradeable is provided', async () => { + await es.update({ + id: 'agent1', + refresh: 'wait_for', + index: AGENTS_INDEX, + body: { + doc: { + policy_revision_idx: 1, + last_checkin: new Date().toISOString(), + status: 'online', + local_metadata: { elastic: { agent: { upgradeable: true, version: '0.0.0' } } }, + }, + }, + }); + // 1 agent inactive + await es.update({ + id: 'agent4', + refresh: 'wait_for', + index: AGENTS_INDEX, + body: { + doc: { + policy_id: 'policy-inactivity-timeout', + policy_revision_idx: 1, + last_checkin: new Date(Date.now() - 1000 * 60).toISOString(), // policy timeout 1 min + status: 'online', + local_metadata: { elastic: { agent: { upgradeable: true, version: '0.0.0' } } }, + }, + }, + }); + + const { body: apiResponse } = await supertest + .get('/api/fleet/agents?getStatusSummary=true&perPage=5&showUpgradeable=true') + .set('kbn-xsrf', 'xxxx') + .expect(200); + + expect(apiResponse.statusSummary).to.eql({ + degraded: 0, + enrolling: 0, + error: 0, + inactive: 0, + offline: 0, + online: 2, + unenrolled: 0, + unenrolling: 0, + updating: 0, + }); + }); }); } diff --git a/x-pack/test/functional/apps/aiops/log_rate_analysis/test_data/__mocks__/frequent_item_sets_large_arrays.ts b/x-pack/test/functional/apps/aiops/log_rate_analysis/test_data/__mocks__/frequent_item_sets_large_arrays.ts new file mode 100644 index 0000000000000..7296fdfc4dc66 --- /dev/null +++ b/x-pack/test/functional/apps/aiops/log_rate_analysis/test_data/__mocks__/frequent_item_sets_large_arrays.ts @@ -0,0 +1,2497 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license 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 { SignificantItem, SignificantItemGroup } from '@kbn/ml-agg-utils'; + +// This was generated from real data using the following code: +// +// const data = testDataFrequentItemSets.response.hits.hits.map((doc) => { +// return doc.fields['files.pathAndFilename'].map((d) => `${stringHash(d)}`); +// }); +// +// The data is used for testing `frequent_item_sets` with somewhat larger arrays +// within the same field of a document. +export const frequentItemSetsLargeArraysSource = [ + [ + '3122117744', + '1846471239', + '3850123478', + '491462432', + '2145700416', + '1136953980', + '1423181790', + '784813175', + '3950054860', + ], + [ + '1451672588', + '3112205174', + '359183539', + '3434731980', + '1217080824', + '4072732370', + '764323024', + '1380284592', + '471153522', + '1104487811', + '3759120234', + '1896487004', + '225357271', + '1157393364', + '1600940924', + '1846471239', + '3178671192', + '32293944', + '2469262600', + '1052777253', + '801912434', + '1371557807', + '3850123478', + '505971607', + '732360692', + '2134530418', + '1416571574', + '2145700416', + '2887166226', + '1518623688', + '550501793', + '2179218510', + '742260364', + '1129761594', + '3625900628', + '3887145594', + '484181980', + '3779185628', + '3234612808', + ], + ['1416571574', '2145700416', '2887166226'], + ['1451672588', '978800164', '3122117744', '2145700416', '1136953980', '1129761594', '1969286181'], + [ + '471153522', + '1104487811', + '606140382', + '1896487004', + '225357271', + '1416571574', + '2145700416', + '2887166226', + '1901595662', + '1136953980', + '1129761594', + '1064752192', + ], + [ + '2432527302', + '1685611991', + '3709732414', + '3434731980', + '914276804', + '629341211', + '3561517034', + '1104874254', + '603630362', + '850909865', + '511726177', + '774389318', + '65096514', + '464464365', + '4072732370', + '3989522974', + '369147719', + '1756911944', + '2132661800', + '1351408438', + '2566334776', + '365681874', + '1994406554', + '4183628510', + '2411863132', + '153528430', + '2125040243', + '1919882921', + '484454192', + '2285116966', + '694867546', + '1275826846', + '1863819958', + '1332658570', + '764323024', + '4195111702', + '652426849', + '1380284592', + '471153522', + '2524040016', + '1325698447', + '998290200', + '1104487811', + '625944587', + '1140596684', + '1979833532', + '1475971156', + '1529680269', + '1925258778', + '3095335232', + '4009453878', + '953226620', + '3127779728', + '1432609585', + '3345566998', + '1867260038', + '3108151752', + '484256652', + '2138441449', + '1992199813', + '644711789', + '355508418', + '2463774400', + '1974037124', + '1437073018', + '2062952599', + '2317033220', + '165907306', + '39215494', + '2924749428', + '1831094494', + '606140382', + '1366342370', + '2084416768', + '55129418', + '899074608', + '1947835436', + '3759120234', + '978208972', + '1896487004', + '225357271', + '3096101166', + '3767723084', + '3035540120', + '853675916', + '1901780335', + '2639455238', + '1853107498', + '1157393364', + '2009375757', + '652223620', + '4028673796', + '1600940924', + '1808235940', + '1846471239', + '3178671192', + '1690511642', + '875090116', + '32293944', + '1073297840', + '1310779384', + '1940824684', + '1616339276', + '1878061294', + '2387317510', + '3899749436', + '1028474515', + '80529116', + '1081175620', + '3850123478', + '505971607', + '1091455238', + '1864834432', + '1569561080', + '1919542521', + '595513713', + '1627808055', + '1509804328', + '2134530418', + '894704468', + '1416571574', + '1227568232', + '1165010485', + '2145700416', + '3568288730', + '1758096804', + '2939442746', + '2057777897', + '456806730', + '1883416844', + '338634143', + '343273046', + '2290476620', + '1912970652', + '918833910', + '3419329722', + '2998254532', + '2887166226', + '3588882742', + '3305614422', + '333459111', + '3700075048', + '422724693', + '2172049200', + '912657112', + '1493078886', + '1924864316', + '1901595662', + '872035779', + '1143829704', + '2513611754', + '1136953980', + '1372713988', + '2087729311', + '209053355', + '1423181790', + '784813175', + '2380606900', + '1439966722', + '1518623688', + '3085917568', + '134825909', + '2848504534', + '1792385756', + '23762256', + '683600999', + '2993287316', + '3662867336', + '550501793', + '3948564194', + '1764158287', + '1124226732', + '3928811594', + '1598402559', + '679133986', + '3777335490', + '1652565419', + '1129761594', + '4043271966', + '4237245772', + '3657936252', + '281200596', + '1501943035', + '628118277', + '3950054860', + '3234612808', + '1548316370', + '315977894', + ], + [ + '178851049', + '1293256852', + '967305015', + '945750959', + '3112205174', + '359183539', + '744667649', + '355870296', + '65096514', + '2411863132', + '471153522', + '644711789', + '165907306', + '606140382', + '1366342370', + '2084416768', + '55129418', + '899074608', + '1947835436', + '1901780335', + '2009375757', + '892741844', + '1175209945', + '894704468', + '2145700416', + '3568288730', + '1758096804', + '2057777897', + '456806730', + '1883416844', + '338634143', + '94643047', + '578183673', + '3419329722', + '1372713988', + '209053355', + '784813175', + '715654930', + '679133986', + '3777335490', + '1652565419', + '1129761594', + '1445245168', + '484181980', + ], + [ + '3709732414', + '1774067546', + '629341211', + '3561517034', + '511726177', + '774389318', + '65096514', + '464464365', + '4072732370', + '1351408438', + '1880041108', + '1863819958', + '471153522', + '1104487811', + '625944587', + '1979833532', + '1475971156', + '3127779728', + '1432609585', + '644711789', + '2463774400', + '1437073018', + '2062952599', + '165907306', + '39215494', + '3279070400', + '33232218', + '3702216900', + '169386347', + '4282833864', + '343056858', + '1048252464', + '3328723350', + '766594295', + '864457688', + '1881750640', + '358188834', + '3464086212', + '1318649342', + '2007178432', + '2039579870', + '2028869426', + '1782757648', + '198736362', + '1459346396', + '261701072', + '860004934', + '1416825454', + '1901780335', + '1853107498', + '1157393364', + '1808235940', + '287718944', + '32293944', + '1310779384', + '1616339276', + '1878061294', + '3899749436', + '3850123478', + '1919542521', + '894704468', + '2803891618', + '1416571574', + '2145700416', + '1758096804', + '2057777897', + '456806730', + '1883416844', + '338634143', + '94643047', + '578183673', + '2998254532', + '333459111', + '912657112', + '1493078886', + '1901595662', + '872035779', + '2513611754', + '1136953980', + '1372713988', + '2087729311', + '209053355', + '1423181790', + '784813175', + '2380606900', + '1214124778', + '23762256', + '715654930', + '550501793', + '2148044396', + '679133986', + '3777335490', + '1652565419', + '4043271966', + '1418709661', + '3950054860', + '923662969', + '3234612808', + '1548316370', + '315977894', + '296863626', + ], + ['1183454328', '1104487811', '2639455238', '1808235940', '2145700416', '1329827342'], + [ + '3341153940', + '1499538523', + '1104487811', + '1979833532', + '2639455238', + '1853107498', + '1157393364', + '1808235940', + '1416571574', + '2145700416', + '2998254532', + '23762256', + '683600999', + '550501793', + '2148044396', + '1329827342', + ], + [ + '2432527302', + '396010280', + '888945742', + '1236602460', + '3709732414', + '629341211', + '3561517034', + '850909865', + '511726177', + '774389318', + '65096514', + '464464365', + '3989522974', + '369147719', + '1756911944', + '2132661800', + '1351408438', + '365681874', + '1994406554', + '4183628510', + '2411863132', + '153528430', + '2125040243', + '1919882921', + '484454192', + '2134641614', + '793940582', + '1782787351', + '1219720056', + '243787747', + '2970663200', + '1380206706', + '1473389172', + '3341153940', + '1023429210', + '1499538523', + '1103890809', + '1183454328', + '408379606', + '83894197', + '2349146622', + '1759997430', + '1880041108', + '672264778', + '1965916128', + '1213194741', + '1962101985', + '2524040016', + '1325698447', + '998290200', + '1104487811', + '625944587', + '1979833532', + '1475971156', + '4009453878', + '953226620', + '3127779728', + '1432609585', + '3345566998', + '1867260038', + '3108151752', + '484256652', + '1992199813', + '644711789', + '355508418', + '2463774400', + '52266782', + '1974037124', + '1437073018', + '2062952599', + '39215494', + '1853107498', + '1157393364', + '2009375757', + '4028673796', + '1600940924', + '1302044808', + '1808235940', + '1846471239', + '1690511642', + '875090116', + '32293944', + '1073297840', + '1310779384', + '1940824684', + '1616339276', + '1878061294', + '2387317510', + '3899749436', + '1028474515', + '80529116', + '1592492698', + '505971607', + '1091455238', + '1864834432', + '1569561080', + '1919542521', + '595513713', + '1627808055', + '892741844', + '1175209945', + '894704468', + '1416571574', + '1165010485', + '2145700416', + '3568288730', + '2057777897', + '456806730', + '1883416844', + '338634143', + '3419329722', + '2998254532', + '2073206647', + '3588882742', + '3305614422', + '684643770', + '333459111', + '3700075048', + '422724693', + '2172049200', + '912657112', + '1493078886', + '1924864316', + '2380606900', + '1439966722', + '1214124778', + '3085917568', + '134825909', + '2848504534', + '23762256', + '683600999', + '2993287316', + '550501793', + '3948564194', + '1764158287', + '1124226732', + '2148044396', + '3777335490', + '1652565419', + '4043271966', + '4237245772', + '3657936252', + '249588550', + '281200596', + '1501943035', + '3939021644', + '1418709661', + '628118277', + '998280499', + '1445245168', + '3950054860', + '1361617926', + '923662969', + '1264884266', + '3234612808', + '1548316370', + '315977894', + '296863626', + ], + [ + '1447828634', + '396010280', + '888945742', + '1439926706', + '1236602460', + '3709732414', + '629341211', + '3561517034', + '850909865', + '511726177', + '774389318', + '65096514', + '464464365', + '3989522974', + '369147719', + '1756911944', + '2132661800', + '1351408438', + '365681874', + '1994406554', + '4183628510', + '2411863132', + '153528430', + '2125040243', + '1919882921', + '484454192', + '2134641614', + '793940582', + '1782787351', + '1219720056', + '243787747', + '2970663200', + '1380206706', + '1473389172', + '3341153940', + '1023429210', + '1499538523', + '1103890809', + '1183454328', + '408379606', + '83894197', + '2349146622', + '1759997430', + '1880041108', + '672264778', + '1965916128', + '1213194741', + '1962101985', + '2524040016', + '1325698447', + '998290200', + '1104487811', + '625944587', + '1979833532', + '1475971156', + '4009453878', + '953226620', + '3127779728', + '1432609585', + '3345566998', + '1867260038', + '3108151752', + '484256652', + '1992199813', + '644711789', + '355508418', + '2463774400', + '52266782', + '1974037124', + '1437073018', + '2062952599', + '39215494', + '1853107498', + '1157393364', + '2009375757', + '4028673796', + '1600940924', + '1302044808', + '1808235940', + '1846471239', + '1690511642', + '875090116', + '32293944', + '1073297840', + '1310779384', + '1940824684', + '1616339276', + '1878061294', + '2387317510', + '3899749436', + '1028474515', + '80529116', + '1592492698', + '505971607', + '1091455238', + '1864834432', + '1569561080', + '1919542521', + '595513713', + '1627808055', + '892741844', + '1175209945', + '894704468', + '1416571574', + '1165010485', + '2145700416', + '3568288730', + '2057777897', + '456806730', + '1883416844', + '338634143', + '3419329722', + '2998254532', + '2073206647', + '3588882742', + '3305614422', + '684643770', + '333459111', + '3700075048', + '422724693', + '2172049200', + '912657112', + '1493078886', + '1924864316', + '2380606900', + '1439966722', + '1214124778', + '3085917568', + '134825909', + '2848504534', + '23762256', + '683600999', + '2993287316', + '550501793', + '3948564194', + '1764158287', + '1124226732', + '2148044396', + '3777335490', + '1652565419', + '4043271966', + '4237245772', + '3657936252', + '249588550', + '281200596', + '1501943035', + '3939021644', + '1418709661', + '628118277', + '998280499', + '1445245168', + '3950054860', + '1361617926', + '923662969', + '1264884266', + '3234612808', + '1548316370', + '315977894', + '296863626', + ], + [ + '850909865', + '464464365', + '3341153940', + '1103890809', + '83894197', + '1759997430', + '2524040016', + '998290200', + '1104487811', + '625944587', + '1979833532', + '4009453878', + '3127779728', + '52266782', + '1157393364', + '1808235940', + '1024718864', + '32293944', + '505971607', + '894704468', + '1416571574', + '2145700416', + '3568288730', + '2998254532', + '3588882742', + '3305614422', + '684643770', + '333459111', + '3700075048', + '422724693', + '2172049200', + '1493078886', + '1924864316', + '2380606900', + '1439966722', + '23762256', + '683600999', + '2148044396', + '3777335490', + '3234612808', + '1548316370', + ], + [ + '178851049', + '1685611991', + '869061781', + '3122117744', + '1712164321', + '914276804', + '850909865', + '65096514', + '464464365', + '369147719', + '1351408438', + '1325698447', + '998290200', + '1104487811', + '625944587', + '3127779728', + '1157393364', + '1808235940', + '1690511642', + '32293944', + '1616339276', + '2387317510', + '505971607', + '894704468', + '2145700416', + '2998254532', + '1214124778', + '550501793', + '3777335490', + '1652565419', + '1548316370', + ], + ['945750959', '850909865', '1416571574', '2145700416', '2998254532', '3305614422', '1548316370'], + [ + '2432527302', + '1144870203', + '1293256852', + '945750959', + '2861405270', + '3157340152', + '869061781', + '289756479', + '744667649', + '1217080824', + '362845723', + '355870296', + '3122117744', + '1774067546', + '1284354426', + '1712164321', + '629341211', + '3561517034', + '850909865', + '511726177', + '774389318', + '65096514', + '464464365', + '4072732370', + '3989522974', + '369147719', + '1756911944', + '2132661800', + '1351408438', + '365681874', + '1994406554', + '4183628510', + '2411863132', + '153528430', + '2125040243', + '1919882921', + '484454192', + '1028927795', + '2134641614', + '793940582', + '1782787351', + '1219720056', + '243787747', + '2970663200', + '1380206706', + '1473389172', + '3341153940', + '1023429210', + '1499538523', + '1103890809', + '1183454328', + '408379606', + '83894197', + '2349146622', + '1759997430', + '1880041108', + '672264778', + '1965916128', + '1213194741', + '1962101985', + '2524040016', + '1325698447', + '998290200', + '1104487811', + '625944587', + '1979833532', + '1475971156', + '4009453878', + '953226620', + '3127779728', + '1432609585', + '3345566998', + '1867260038', + '3108151752', + '484256652', + '1992199813', + '644711789', + '355508418', + '2463774400', + '52266782', + '1974037124', + '1437073018', + '2062952599', + '39215494', + '2173098414', + '1157393364', + '4035065194', + '1600940924', + '1808235940', + '1846471239', + '287718944', + '1690511642', + '875090116', + '32293944', + '1073297840', + '1310779384', + '1940824684', + '1616339276', + '1878061294', + '2387317510', + '3899749436', + '1028474515', + '80529116', + '1592492698', + '3850123478', + '505971607', + '1091455238', + '3521104552', + '1864834432', + '1569561080', + '1919542521', + '595513713', + '1627808055', + '892741844', + '1175209945', + '894704468', + '1622294140', + '1416571574', + '1165010485', + '2145700416', + '3568288730', + '2057777897', + '456806730', + '1883416844', + '338634143', + '3419329722', + '2998254532', + '2073206647', + '3588882742', + '3305614422', + '684643770', + '333459111', + '3700075048', + '422724693', + '2172049200', + '912657112', + '1493078886', + '1924864316', + '2380606900', + '1439966722', + '1214124778', + '3085917568', + '134825909', + '2848504534', + '23762256', + '683600999', + '2993287316', + '550501793', + '3948564194', + '1764158287', + '1124226732', + '2148044396', + '3777335490', + '1445245168', + '3950054860', + '484181980', + '1361617926', + '923662969', + '1264884266', + '3234612808', + '315977894', + '296863626', + ], +]; + +export const frequentItemSetsLargeArraysSignificantItems: SignificantItem[] = [ + { doc_count: 16, fieldValue: '2145700416' }, + { doc_count: 11, fieldValue: '1104487811' }, + { doc_count: 11, fieldValue: '1416571574' }, + { doc_count: 9, fieldValue: '1157393364' }, + { doc_count: 9, fieldValue: '1808235940' }, + { doc_count: 9, fieldValue: '2998254532' }, + { doc_count: 8, fieldValue: '32293944' }, + { doc_count: 8, fieldValue: '3777335490' }, + { doc_count: 8, fieldValue: '550501793' }, + { doc_count: 8, fieldValue: '894704468' }, + { doc_count: 7, fieldValue: '1548316370' }, + { doc_count: 7, fieldValue: '1979833532' }, + { doc_count: 7, fieldValue: '23762256' }, + { doc_count: 7, fieldValue: '3127779728' }, + { doc_count: 7, fieldValue: '3234612808' }, + { doc_count: 7, fieldValue: '464464365' }, + { doc_count: 7, fieldValue: '505971607' }, + { doc_count: 7, fieldValue: '625944587' }, + { doc_count: 7, fieldValue: '65096514' }, + { doc_count: 7, fieldValue: '850909865' }, + { doc_count: 6, fieldValue: '1351408438' }, + { doc_count: 6, fieldValue: '1493078886' }, + { doc_count: 6, fieldValue: '1616339276' }, + { doc_count: 6, fieldValue: '1652565419' }, + { doc_count: 6, fieldValue: '1846471239' }, + { doc_count: 6, fieldValue: '1883416844' }, + { doc_count: 6, fieldValue: '2057777897' }, + { doc_count: 6, fieldValue: '2148044396' }, + { doc_count: 6, fieldValue: '2380606900' }, + { doc_count: 6, fieldValue: '3305614422' }, + { doc_count: 6, fieldValue: '333459111' }, + { doc_count: 6, fieldValue: '338634143' }, + { doc_count: 6, fieldValue: '3568288730' }, + { doc_count: 6, fieldValue: '3950054860' }, + { doc_count: 6, fieldValue: '456806730' }, + { doc_count: 6, fieldValue: '644711789' }, + { doc_count: 6, fieldValue: '683600999' }, + { doc_count: 6, fieldValue: '998290200' }, + { doc_count: 5, fieldValue: '1129761594' }, + { doc_count: 5, fieldValue: '1136953980' }, + { doc_count: 5, fieldValue: '1214124778' }, + { doc_count: 5, fieldValue: '1310779384' }, + { doc_count: 5, fieldValue: '1325698447' }, + { doc_count: 5, fieldValue: '1432609585' }, + { doc_count: 5, fieldValue: '1437073018' }, + { doc_count: 5, fieldValue: '1439966722' }, + { doc_count: 5, fieldValue: '1475971156' }, + { doc_count: 5, fieldValue: '1600940924' }, + { doc_count: 5, fieldValue: '1690511642' }, + { doc_count: 5, fieldValue: '1853107498' }, + { doc_count: 5, fieldValue: '1878061294' }, + { doc_count: 5, fieldValue: '1919542521' }, + { doc_count: 5, fieldValue: '1924864316' }, + { doc_count: 5, fieldValue: '2062952599' }, + { doc_count: 5, fieldValue: '2172049200' }, + { doc_count: 5, fieldValue: '2387317510' }, + { doc_count: 5, fieldValue: '2411863132' }, + { doc_count: 5, fieldValue: '2463774400' }, + { doc_count: 5, fieldValue: '2524040016' }, + { doc_count: 5, fieldValue: '315977894' }, + { doc_count: 5, fieldValue: '3341153940' }, + { doc_count: 5, fieldValue: '3419329722' }, + { doc_count: 5, fieldValue: '3561517034' }, + { doc_count: 5, fieldValue: '3588882742' }, + { doc_count: 5, fieldValue: '369147719' }, + { doc_count: 5, fieldValue: '3700075048' }, + { doc_count: 5, fieldValue: '3850123478' }, + { doc_count: 5, fieldValue: '3899749436' }, + { doc_count: 5, fieldValue: '39215494' }, + { doc_count: 5, fieldValue: '4009453878' }, + { doc_count: 5, fieldValue: '422724693' }, + { doc_count: 5, fieldValue: '471153522' }, + { doc_count: 5, fieldValue: '511726177' }, + { doc_count: 5, fieldValue: '629341211' }, + { doc_count: 5, fieldValue: '774389318' }, + { doc_count: 5, fieldValue: '912657112' }, + { doc_count: 4, fieldValue: '1028474515' }, + { doc_count: 4, fieldValue: '1073297840' }, + { doc_count: 4, fieldValue: '1091455238' }, + { doc_count: 4, fieldValue: '1103890809' }, + { doc_count: 4, fieldValue: '1124226732' }, + { doc_count: 4, fieldValue: '1165010485' }, + { doc_count: 4, fieldValue: '1175209945' }, + { doc_count: 4, fieldValue: '1183454328' }, + { doc_count: 4, fieldValue: '134825909' }, + { doc_count: 4, fieldValue: '1445245168' }, + { doc_count: 4, fieldValue: '1499538523' }, + { doc_count: 4, fieldValue: '153528430' }, + { doc_count: 4, fieldValue: '1569561080' }, + { doc_count: 4, fieldValue: '1627808055' }, + { doc_count: 4, fieldValue: '1756911944' }, + { doc_count: 4, fieldValue: '1759997430' }, + { doc_count: 4, fieldValue: '1764158287' }, + { doc_count: 4, fieldValue: '1864834432' }, + { doc_count: 4, fieldValue: '1867260038' }, + { doc_count: 4, fieldValue: '1880041108' }, + { doc_count: 4, fieldValue: '1919882921' }, + { doc_count: 4, fieldValue: '1940824684' }, + { doc_count: 4, fieldValue: '1974037124' }, + { doc_count: 4, fieldValue: '1992199813' }, +].map((d) => ({ + doc_count: d.doc_count, + bg_count: 0, + fieldName: 'items', + fieldValue: d.fieldValue, + key: `items:${d.fieldValue}`, + normalizedScore: 0, + pValue: 1, + score: 0, + total_bg_count: 0, + total_doc_count: 0, + type: 'keyword', +})); + +export const frequentItemSetsLargeArraysGroups: SignificantItemGroup[] = [ + { + id: '1934634723', + group: [ + { + key: 'items:2145700416', + type: 'keyword', + fieldName: 'items', + fieldValue: '2145700416', + docCount: 11, + pValue: 1, + duplicate: 1, + }, + ], + docCount: 11, + pValue: 1, + }, + { + id: '4064691194', + group: [ + { + key: 'items:1104487811', + type: 'keyword', + fieldName: 'items', + fieldValue: '1104487811', + docCount: 11, + pValue: 1, + duplicate: 1, + }, + ], + docCount: 11, + pValue: 1, + }, + { + id: '278504570', + group: [ + { + key: 'items:1416571574', + type: 'keyword', + fieldName: 'items', + fieldValue: '1416571574', + docCount: 11, + pValue: 1, + duplicate: 1, + }, + ], + docCount: 11, + pValue: 1, + }, + { + id: '2852990448', + group: [ + { + key: 'items:1157393364', + type: 'keyword', + fieldName: 'items', + fieldValue: '1157393364', + docCount: 9, + pValue: 1, + duplicate: 1, + }, + ], + docCount: 9, + pValue: 1, + }, + { + id: '1149803824', + group: [ + { + key: 'items:2998254532', + type: 'keyword', + fieldName: 'items', + fieldValue: '2998254532', + docCount: 9, + pValue: 1, + duplicate: 1, + }, + ], + docCount: 9, + pValue: 1, + }, + { + id: '2420022128', + group: [ + { + key: 'items:1808235940', + type: 'keyword', + fieldName: 'items', + fieldValue: '1808235940', + docCount: 9, + pValue: 1, + duplicate: 1, + }, + ], + docCount: 9, + pValue: 1, + }, + { + id: '2094912046', + group: [ + { + key: 'items:32293944', + type: 'keyword', + fieldName: 'items', + fieldValue: '32293944', + docCount: 8, + pValue: 1, + duplicate: 1, + }, + ], + docCount: 8, + pValue: 1, + }, + { + id: '1178034827', + group: [ + { + key: 'items:894704468', + type: 'keyword', + fieldName: 'items', + fieldValue: '894704468', + docCount: 8, + pValue: 1, + duplicate: 1, + }, + ], + docCount: 8, + pValue: 1, + }, + { + id: '1506122217', + group: [ + { + key: 'items:3777335490', + type: 'keyword', + fieldName: 'items', + fieldValue: '3777335490', + docCount: 8, + pValue: 1, + duplicate: 1, + }, + ], + docCount: 8, + pValue: 1, + }, + { + id: '3982887134', + group: [ + { + key: 'items:550501793', + type: 'keyword', + fieldName: 'items', + fieldValue: '550501793', + docCount: 8, + pValue: 1, + duplicate: 1, + }, + ], + docCount: 8, + pValue: 1, + }, + { + id: '1840747948', + group: [ + { + key: 'items:23762256', + type: 'keyword', + fieldName: 'items', + fieldValue: '23762256', + docCount: 7, + pValue: 1, + duplicate: 1, + }, + ], + docCount: 7, + pValue: 1, + }, + { + id: '1444907364', + group: [ + { + key: 'items:464464365', + type: 'keyword', + fieldName: 'items', + fieldValue: '464464365', + docCount: 7, + pValue: 1, + duplicate: 1, + }, + ], + docCount: 7, + pValue: 1, + }, + { + id: '1328704288', + group: [ + { + key: 'items:625944587', + type: 'keyword', + fieldName: 'items', + fieldValue: '625944587', + docCount: 7, + pValue: 1, + duplicate: 1, + }, + ], + docCount: 7, + pValue: 1, + }, + { + id: '1326810570', + group: [ + { + key: 'items:1979833532', + type: 'keyword', + fieldName: 'items', + fieldValue: '1979833532', + docCount: 7, + pValue: 1, + duplicate: 1, + }, + ], + docCount: 7, + pValue: 1, + }, + { + id: '1030906346', + group: [ + { + key: 'items:3127779728', + type: 'keyword', + fieldName: 'items', + fieldValue: '3127779728', + docCount: 7, + pValue: 1, + duplicate: 1, + }, + ], + docCount: 7, + pValue: 1, + }, + { + id: '1205078154', + group: [ + { + key: 'items:65096514', + type: 'keyword', + fieldName: 'items', + fieldValue: '65096514', + docCount: 7, + pValue: 1, + duplicate: 1, + }, + ], + docCount: 7, + pValue: 1, + }, + { + id: '3905594284', + group: [ + { + key: 'items:3234612808', + type: 'keyword', + fieldName: 'items', + fieldValue: '3234612808', + docCount: 7, + pValue: 1, + duplicate: 1, + }, + ], + docCount: 7, + pValue: 1, + }, + { + id: '779923180', + group: [ + { + key: 'items:1548316370', + type: 'keyword', + fieldName: 'items', + fieldValue: '1548316370', + docCount: 7, + pValue: 1, + duplicate: 1, + }, + ], + docCount: 7, + pValue: 1, + }, + { + id: '4203644800', + group: [ + { + key: 'items:505971607', + type: 'keyword', + fieldName: 'items', + fieldValue: '505971607', + docCount: 7, + pValue: 1, + duplicate: 1, + }, + ], + docCount: 7, + pValue: 1, + }, + { + id: '1237028536', + group: [ + { + key: 'items:850909865', + type: 'keyword', + fieldName: 'items', + fieldValue: '850909865', + docCount: 7, + pValue: 1, + duplicate: 1, + }, + ], + docCount: 7, + pValue: 1, + }, + { + id: '3610776542', + group: [ + { + key: 'items:333459111', + type: 'keyword', + fieldName: 'items', + fieldValue: '333459111', + docCount: 6, + pValue: 1, + duplicate: 1, + }, + ], + docCount: 6, + pValue: 1, + }, + { + id: '4004516458', + group: [ + { + key: 'items:1351408438', + type: 'keyword', + fieldName: 'items', + fieldValue: '1351408438', + docCount: 6, + pValue: 1, + duplicate: 1, + }, + ], + docCount: 6, + pValue: 1, + }, + { + id: '100632746', + group: [ + { + key: 'items:1493078886', + type: 'keyword', + fieldName: 'items', + fieldValue: '1493078886', + docCount: 6, + pValue: 1, + duplicate: 1, + }, + ], + docCount: 6, + pValue: 1, + }, + { + id: '2934370474', + group: [ + { + key: 'items:1616339276', + type: 'keyword', + fieldName: 'items', + fieldValue: '1616339276', + docCount: 6, + pValue: 1, + duplicate: 1, + }, + ], + docCount: 6, + pValue: 1, + }, + { + id: '2551307178', + group: [ + { + key: 'items:2380606900', + type: 'keyword', + fieldName: 'items', + fieldValue: '2380606900', + docCount: 6, + pValue: 1, + duplicate: 1, + }, + ], + docCount: 6, + pValue: 1, + }, + { + id: '1429234', + group: [ + { + key: 'items:338634143', + type: 'keyword', + fieldName: 'items', + fieldValue: '338634143', + docCount: 6, + pValue: 1, + duplicate: 1, + }, + ], + docCount: 6, + pValue: 1, + }, + { + id: '133348698', + group: [ + { + key: 'items:456806730', + type: 'keyword', + fieldName: 'items', + fieldValue: '456806730', + docCount: 6, + pValue: 1, + duplicate: 1, + }, + ], + docCount: 6, + pValue: 1, + }, + { + id: '3952677514', + group: [ + { + key: 'items:644711789', + type: 'keyword', + fieldName: 'items', + fieldValue: '644711789', + docCount: 6, + pValue: 1, + duplicate: 1, + }, + ], + docCount: 6, + pValue: 1, + }, + { + id: '3477852394', + group: [ + { + key: 'items:1883416844', + type: 'keyword', + fieldName: 'items', + fieldValue: '1883416844', + docCount: 6, + pValue: 1, + duplicate: 1, + }, + ], + docCount: 6, + pValue: 1, + }, + { + id: '130442059', + group: [ + { + key: 'items:2057777897', + type: 'keyword', + fieldName: 'items', + fieldValue: '2057777897', + docCount: 6, + pValue: 1, + duplicate: 1, + }, + ], + docCount: 6, + pValue: 1, + }, + { + id: '2237656830', + group: [ + { + key: 'items:683600999', + type: 'keyword', + fieldName: 'items', + fieldValue: '683600999', + docCount: 6, + pValue: 1, + duplicate: 1, + }, + ], + docCount: 6, + pValue: 1, + }, + { + id: '1080686951', + group: [ + { + key: 'items:998290200', + type: 'keyword', + fieldName: 'items', + fieldValue: '998290200', + docCount: 6, + pValue: 1, + duplicate: 1, + }, + ], + docCount: 6, + pValue: 1, + }, + { + id: '817958570', + group: [ + { + key: 'items:1652565419', + type: 'keyword', + fieldName: 'items', + fieldValue: '1652565419', + docCount: 6, + pValue: 1, + duplicate: 1, + }, + ], + docCount: 6, + pValue: 1, + }, + { + id: '1326053323', + group: [ + { + key: 'items:2148044396', + type: 'keyword', + fieldName: 'items', + fieldValue: '2148044396', + docCount: 6, + pValue: 1, + duplicate: 1, + }, + ], + docCount: 6, + pValue: 1, + }, + { + id: '830437418', + group: [ + { + key: 'items:3950054860', + type: 'keyword', + fieldName: 'items', + fieldValue: '3950054860', + docCount: 6, + pValue: 1, + duplicate: 1, + }, + ], + docCount: 6, + pValue: 1, + }, + { + id: '823747627', + group: [ + { + key: 'items:3568288730', + type: 'keyword', + fieldName: 'items', + fieldValue: '3568288730', + docCount: 6, + pValue: 1, + duplicate: 1, + }, + ], + docCount: 6, + pValue: 1, + }, + { + id: '1450084203', + group: [ + { + key: 'items:3305614422', + type: 'keyword', + fieldName: 'items', + fieldValue: '3305614422', + docCount: 6, + pValue: 1, + duplicate: 1, + }, + ], + docCount: 6, + pValue: 1, + }, + { + id: '1388829802', + group: [ + { + key: 'items:1846471239', + type: 'keyword', + fieldName: 'items', + fieldValue: '1846471239', + docCount: 6, + pValue: 1, + duplicate: 1, + }, + ], + docCount: 6, + pValue: 1, + }, + { + id: '1557137580', + group: [ + { + key: 'items:1310779384', + type: 'keyword', + fieldName: 'items', + fieldValue: '1310779384', + docCount: 5, + pValue: 1, + duplicate: 1, + }, + ], + docCount: 5, + pValue: 1, + }, + { + id: '2006719596', + group: [ + { + key: 'items:1432609585', + type: 'keyword', + fieldName: 'items', + fieldValue: '1432609585', + docCount: 5, + pValue: 1, + duplicate: 1, + }, + ], + docCount: 5, + pValue: 1, + }, + { + id: '1660605452', + group: [ + { + key: 'items:1437073018', + type: 'keyword', + fieldName: 'items', + fieldValue: '1437073018', + docCount: 5, + pValue: 1, + duplicate: 1, + }, + ], + docCount: 5, + pValue: 1, + }, + { + id: '956896360', + group: [ + { + key: 'items:1475971156', + type: 'keyword', + fieldName: 'items', + fieldValue: '1475971156', + docCount: 5, + pValue: 1, + duplicate: 1, + }, + ], + docCount: 5, + pValue: 1, + }, + { + id: '1382579660', + group: [ + { + key: 'items:1853107498', + type: 'keyword', + fieldName: 'items', + fieldValue: '1853107498', + docCount: 5, + pValue: 1, + duplicate: 1, + }, + ], + docCount: 5, + pValue: 1, + }, + { + id: '2888678696', + group: [ + { + key: 'items:1136953980', + type: 'keyword', + fieldName: 'items', + fieldValue: '1136953980', + docCount: 5, + pValue: 1, + duplicate: 1, + }, + ], + docCount: 5, + pValue: 1, + }, + { + id: '2874685992', + group: [ + { + key: 'items:1214124778', + type: 'keyword', + fieldName: 'items', + fieldValue: '1214124778', + docCount: 5, + pValue: 1, + duplicate: 1, + }, + ], + docCount: 5, + pValue: 1, + }, + { + id: '845567660', + group: [ + { + key: 'items:1325698447', + type: 'keyword', + fieldName: 'items', + fieldValue: '1325698447', + docCount: 5, + pValue: 1, + duplicate: 1, + }, + ], + docCount: 5, + pValue: 1, + }, + { + id: '2473046696', + group: [ + { + key: 'items:1439966722', + type: 'keyword', + fieldName: 'items', + fieldValue: '1439966722', + docCount: 5, + pValue: 1, + duplicate: 1, + }, + ], + docCount: 5, + pValue: 1, + }, + { + id: '611449132', + group: [ + { + key: 'items:1690511642', + type: 'keyword', + fieldName: 'items', + fieldValue: '1690511642', + docCount: 5, + pValue: 1, + duplicate: 1, + }, + ], + docCount: 5, + pValue: 1, + }, + { + id: '1474040428', + group: [ + { + key: 'items:1129761594', + type: 'keyword', + fieldName: 'items', + fieldValue: '1129761594', + docCount: 5, + pValue: 1, + duplicate: 1, + }, + ], + docCount: 5, + pValue: 1, + }, + { + id: '122100136', + group: [ + { + key: 'items:1600940924', + type: 'keyword', + fieldName: 'items', + fieldValue: '1600940924', + docCount: 5, + pValue: 1, + duplicate: 1, + }, + ], + docCount: 5, + pValue: 1, + }, + { + id: '942208673', + group: [ + { + key: 'items:1129761594', + type: 'keyword', + fieldName: 'items', + fieldValue: '1129761594', + duplicate: 1, + docCount: 5, + pValue: 1, + }, + { + key: 'items:1136953980', + type: 'keyword', + fieldName: 'items', + fieldValue: '1136953980', + duplicate: 1, + docCount: 5, + pValue: 1, + }, + { + key: 'items:1214124778', + type: 'keyword', + fieldName: 'items', + fieldValue: '1214124778', + duplicate: 1, + docCount: 5, + pValue: 1, + }, + { + key: 'items:1310779384', + type: 'keyword', + fieldName: 'items', + fieldValue: '1310779384', + duplicate: 1, + docCount: 5, + pValue: 1, + }, + { + key: 'items:1325698447', + type: 'keyword', + fieldName: 'items', + fieldValue: '1325698447', + duplicate: 1, + docCount: 5, + pValue: 1, + }, + { + key: 'items:1432609585', + type: 'keyword', + fieldName: 'items', + fieldValue: '1432609585', + duplicate: 1, + docCount: 5, + pValue: 1, + }, + { + key: 'items:1437073018', + type: 'keyword', + fieldName: 'items', + fieldValue: '1437073018', + duplicate: 1, + docCount: 5, + pValue: 1, + }, + { + key: 'items:1439966722', + type: 'keyword', + fieldName: 'items', + fieldValue: '1439966722', + duplicate: 1, + docCount: 5, + pValue: 1, + }, + { + key: 'items:1475971156', + type: 'keyword', + fieldName: 'items', + fieldValue: '1475971156', + duplicate: 1, + docCount: 5, + pValue: 1, + }, + { + key: 'items:1600940924', + type: 'keyword', + fieldName: 'items', + fieldValue: '1600940924', + duplicate: 1, + docCount: 5, + pValue: 1, + }, + { + key: 'items:1690511642', + type: 'keyword', + fieldName: 'items', + fieldValue: '1690511642', + duplicate: 1, + docCount: 5, + pValue: 1, + }, + { + key: 'items:1853107498', + type: 'keyword', + fieldName: 'items', + fieldValue: '1853107498', + duplicate: 1, + docCount: 5, + pValue: 1, + }, + { + key: 'items:1878061294', + type: 'keyword', + fieldName: 'items', + fieldValue: '1878061294', + duplicate: 1, + docCount: 5, + pValue: 1, + }, + { + key: 'items:1919542521', + type: 'keyword', + fieldName: 'items', + fieldValue: '1919542521', + duplicate: 1, + docCount: 5, + pValue: 1, + }, + { + key: 'items:1924864316', + type: 'keyword', + fieldName: 'items', + fieldValue: '1924864316', + duplicate: 1, + docCount: 5, + pValue: 1, + }, + { + key: 'items:2062952599', + type: 'keyword', + fieldName: 'items', + fieldValue: '2062952599', + duplicate: 1, + docCount: 5, + pValue: 1, + }, + { + key: 'items:2172049200', + type: 'keyword', + fieldName: 'items', + fieldValue: '2172049200', + duplicate: 1, + docCount: 5, + pValue: 1, + }, + { + key: 'items:2387317510', + type: 'keyword', + fieldName: 'items', + fieldValue: '2387317510', + duplicate: 1, + docCount: 5, + pValue: 1, + }, + { + key: 'items:2411863132', + type: 'keyword', + fieldName: 'items', + fieldValue: '2411863132', + duplicate: 1, + docCount: 5, + pValue: 1, + }, + { + key: 'items:2463774400', + type: 'keyword', + fieldName: 'items', + fieldValue: '2463774400', + duplicate: 1, + docCount: 5, + pValue: 1, + }, + { + key: 'items:2524040016', + type: 'keyword', + fieldName: 'items', + fieldValue: '2524040016', + duplicate: 1, + docCount: 5, + pValue: 1, + }, + { + key: 'items:315977894', + type: 'keyword', + fieldName: 'items', + fieldValue: '315977894', + duplicate: 1, + docCount: 5, + pValue: 1, + }, + { + key: 'items:3341153940', + type: 'keyword', + fieldName: 'items', + fieldValue: '3341153940', + duplicate: 1, + docCount: 5, + pValue: 1, + }, + { + key: 'items:3419329722', + type: 'keyword', + fieldName: 'items', + fieldValue: '3419329722', + duplicate: 1, + docCount: 5, + pValue: 1, + }, + { + key: 'items:3561517034', + type: 'keyword', + fieldName: 'items', + fieldValue: '3561517034', + duplicate: 1, + docCount: 5, + pValue: 1, + }, + { + key: 'items:3588882742', + type: 'keyword', + fieldName: 'items', + fieldValue: '3588882742', + duplicate: 1, + docCount: 5, + pValue: 1, + }, + { + key: 'items:369147719', + type: 'keyword', + fieldName: 'items', + fieldValue: '369147719', + duplicate: 1, + docCount: 5, + pValue: 1, + }, + { + key: 'items:3700075048', + type: 'keyword', + fieldName: 'items', + fieldValue: '3700075048', + duplicate: 1, + docCount: 5, + pValue: 1, + }, + { + key: 'items:3850123478', + type: 'keyword', + fieldName: 'items', + fieldValue: '3850123478', + duplicate: 1, + docCount: 5, + pValue: 1, + }, + { + key: 'items:3899749436', + type: 'keyword', + fieldName: 'items', + fieldValue: '3899749436', + duplicate: 1, + docCount: 5, + pValue: 1, + }, + { + key: 'items:39215494', + type: 'keyword', + fieldName: 'items', + fieldValue: '39215494', + duplicate: 1, + docCount: 5, + pValue: 1, + }, + { + key: 'items:4009453878', + type: 'keyword', + fieldName: 'items', + fieldValue: '4009453878', + duplicate: 1, + docCount: 5, + pValue: 1, + }, + { + key: 'items:422724693', + type: 'keyword', + fieldName: 'items', + fieldValue: '422724693', + duplicate: 1, + docCount: 5, + pValue: 1, + }, + { + key: 'items:471153522', + type: 'keyword', + fieldName: 'items', + fieldValue: '471153522', + duplicate: 1, + docCount: 5, + pValue: 1, + }, + { + key: 'items:511726177', + type: 'keyword', + fieldName: 'items', + fieldValue: '511726177', + duplicate: 1, + docCount: 5, + pValue: 1, + }, + { + key: 'items:629341211', + type: 'keyword', + fieldName: 'items', + fieldValue: '629341211', + duplicate: 1, + docCount: 5, + pValue: 1, + }, + { + key: 'items:774389318', + type: 'keyword', + fieldName: 'items', + fieldValue: '774389318', + duplicate: 1, + docCount: 5, + pValue: 1, + }, + { + key: 'items:912657112', + type: 'keyword', + fieldName: 'items', + fieldValue: '912657112', + duplicate: 1, + docCount: 5, + pValue: 1, + }, + ], + docCount: 5, + pValue: 1, + }, + { + id: '3524731882', + group: [ + { + key: 'items:1028474515', + type: 'keyword', + fieldName: 'items', + fieldValue: '1028474515', + duplicate: 1, + docCount: 4, + pValue: 1, + }, + { + key: 'items:1073297840', + type: 'keyword', + fieldName: 'items', + fieldValue: '1073297840', + duplicate: 1, + docCount: 4, + pValue: 1, + }, + { + key: 'items:1091455238', + type: 'keyword', + fieldName: 'items', + fieldValue: '1091455238', + duplicate: 1, + docCount: 4, + pValue: 1, + }, + { + key: 'items:1103890809', + type: 'keyword', + fieldName: 'items', + fieldValue: '1103890809', + duplicate: 1, + docCount: 4, + pValue: 1, + }, + { + key: 'items:1124226732', + type: 'keyword', + fieldName: 'items', + fieldValue: '1124226732', + duplicate: 1, + docCount: 4, + pValue: 1, + }, + { + key: 'items:1165010485', + type: 'keyword', + fieldName: 'items', + fieldValue: '1165010485', + duplicate: 1, + docCount: 4, + pValue: 1, + }, + { + key: 'items:1175209945', + type: 'keyword', + fieldName: 'items', + fieldValue: '1175209945', + duplicate: 1, + docCount: 4, + pValue: 1, + }, + { + key: 'items:1183454328', + type: 'keyword', + fieldName: 'items', + fieldValue: '1183454328', + duplicate: 1, + docCount: 4, + pValue: 1, + }, + { + key: 'items:134825909', + type: 'keyword', + fieldName: 'items', + fieldValue: '134825909', + duplicate: 1, + docCount: 4, + pValue: 1, + }, + { + key: 'items:1445245168', + type: 'keyword', + fieldName: 'items', + fieldValue: '1445245168', + duplicate: 1, + docCount: 4, + pValue: 1, + }, + { + key: 'items:1499538523', + type: 'keyword', + fieldName: 'items', + fieldValue: '1499538523', + duplicate: 1, + docCount: 4, + pValue: 1, + }, + { + key: 'items:153528430', + type: 'keyword', + fieldName: 'items', + fieldValue: '153528430', + duplicate: 1, + docCount: 4, + pValue: 1, + }, + { + key: 'items:1569561080', + type: 'keyword', + fieldName: 'items', + fieldValue: '1569561080', + duplicate: 1, + docCount: 4, + pValue: 1, + }, + { + key: 'items:1627808055', + type: 'keyword', + fieldName: 'items', + fieldValue: '1627808055', + duplicate: 1, + docCount: 4, + pValue: 1, + }, + { + key: 'items:1756911944', + type: 'keyword', + fieldName: 'items', + fieldValue: '1756911944', + duplicate: 1, + docCount: 4, + pValue: 1, + }, + { + key: 'items:1759997430', + type: 'keyword', + fieldName: 'items', + fieldValue: '1759997430', + duplicate: 1, + docCount: 4, + pValue: 1, + }, + { + key: 'items:1764158287', + type: 'keyword', + fieldName: 'items', + fieldValue: '1764158287', + duplicate: 1, + docCount: 4, + pValue: 1, + }, + { + key: 'items:1864834432', + type: 'keyword', + fieldName: 'items', + fieldValue: '1864834432', + duplicate: 1, + docCount: 4, + pValue: 1, + }, + { + key: 'items:1867260038', + type: 'keyword', + fieldName: 'items', + fieldValue: '1867260038', + duplicate: 1, + docCount: 4, + pValue: 1, + }, + { + key: 'items:1880041108', + type: 'keyword', + fieldName: 'items', + fieldValue: '1880041108', + duplicate: 1, + docCount: 4, + pValue: 1, + }, + { + key: 'items:1919882921', + type: 'keyword', + fieldName: 'items', + fieldValue: '1919882921', + duplicate: 1, + docCount: 4, + pValue: 1, + }, + { + key: 'items:1940824684', + type: 'keyword', + fieldName: 'items', + fieldValue: '1940824684', + duplicate: 1, + docCount: 4, + pValue: 1, + }, + { + key: 'items:1974037124', + type: 'keyword', + fieldName: 'items', + fieldValue: '1974037124', + duplicate: 1, + docCount: 4, + pValue: 1, + }, + { + key: 'items:1992199813', + type: 'keyword', + fieldName: 'items', + fieldValue: '1992199813', + duplicate: 1, + docCount: 4, + pValue: 1, + }, + ], + docCount: 4, + pValue: 1, + }, +]; diff --git a/x-pack/test/functional/apps/ml/stack_management_jobs/manage_spaces.ts b/x-pack/test/functional/apps/ml/stack_management_jobs/manage_spaces.ts index 06ec8e19b10c3..1f90a77862a97 100644 --- a/x-pack/test/functional/apps/ml/stack_management_jobs/manage_spaces.ts +++ b/x-pack/test/functional/apps/ml/stack_management_jobs/manage_spaces.ts @@ -106,7 +106,8 @@ export default function ({ getService }: FtrProviderContext) { } } - describe('manage spaces', function () { + // Failing: See https://github.com/elastic/kibana/issues/177762 + describe.skip('manage spaces', function () { this.tags(['ml']); before(async () => { await esArchiver.loadIfNeeded('x-pack/test/functional/es_archives/ml/farequote'); @@ -195,7 +196,8 @@ export default function ({ getService }: FtrProviderContext) { ]); }); - it('should edit job space assignment', async () => { + // FLAKY: https://github.com/elastic/kibana/issues/146722 + it.skip('should edit job space assignment', async () => { // AD await ml.navigation.navigateToStackManagementJobsListPageAnomalyDetectionTab(); await ml.stackManagementJobs.openJobSpacesFlyout('anomaly-detector', testData.adJobId); diff --git a/x-pack/test/functional/apps/observability_logs_explorer/dataset_selection_state.ts b/x-pack/test/functional/apps/observability_logs_explorer/data_source_selection_state.ts similarity index 62% rename from x-pack/test/functional/apps/observability_logs_explorer/dataset_selection_state.ts rename to x-pack/test/functional/apps/observability_logs_explorer/data_source_selection_state.ts index 8cf11615152e1..cd84fd514798c 100644 --- a/x-pack/test/functional/apps/observability_logs_explorer/dataset_selection_state.ts +++ b/x-pack/test/functional/apps/observability_logs_explorer/data_source_selection_state.ts @@ -6,10 +6,10 @@ */ import expect from '@kbn/expect'; import { decodeOrThrow, indexPatternRt } from '@kbn/io-ts-utils'; -import { DatasetSelectionPlain } from '@kbn/logs-explorer-plugin/common'; +import { DataSourceSelectionPlain } from '@kbn/logs-explorer-plugin/common'; import { FtrProviderContext } from './config'; -const azureActivityDatasetSelection: DatasetSelectionPlain = { +const azureActivityDatasetSelection: DataSourceSelectionPlain = { selection: { dataset: { name: decodeOrThrow(indexPatternRt)('logs-azure.activitylogs-*'), @@ -27,46 +27,46 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) { const retry = getService('retry'); const PageObjects = getPageObjects(['common', 'observabilityLogsExplorer']); - describe('DatasetSelection initialization and update', () => { - describe('when no dataset selection is given', () => { + describe('dataSourceSelection initialization and update', () => { + describe('when no dataSourceSelection is given', () => { it('should initialize the "All logs" selection', async () => { await PageObjects.observabilityLogsExplorer.navigateTo(); - const datasetSelectionTitle = - await PageObjects.observabilityLogsExplorer.getDatasetSelectorButtonText(); + const dataSourceSelectionTitle = + await PageObjects.observabilityLogsExplorer.getDataSourceSelectorButtonText(); - expect(datasetSelectionTitle).to.be('All logs'); + expect(dataSourceSelectionTitle).to.be('All logs'); }); }); - describe('when a dataset selection is given', () => { - it('should restore the selection from a valid encoded index', async () => { + describe('when a dataSourceSelection is given', () => { + it('should restore the selection from a valid parameter', async () => { await PageObjects.observabilityLogsExplorer.navigateTo({ pageState: { - datasetSelection: azureActivityDatasetSelection, + dataSourceSelection: azureActivityDatasetSelection, }, }); - const datasetSelectionTitle = - await PageObjects.observabilityLogsExplorer.getDatasetSelectorButtonText(); + const dataSourceSelectionTitle = + await PageObjects.observabilityLogsExplorer.getDataSourceSelectorButtonText(); - expect(datasetSelectionTitle).to.be('[Azure Logs] activitylogs'); + expect(dataSourceSelectionTitle).to.be('[Azure Logs] activitylogs'); }); - it('should fallback to the "All logs" selection and notify the user of an invalid encoded index', async () => { + it('should fallback to the "All logs" selection and notify the user of an invalid parameter', async () => { await PageObjects.observabilityLogsExplorer.navigateToWithUncheckedState({ pageState: { - v: 1, - datasetSelection: { + v: 2, + dataSourceSelection: { selectionType: 'invalid', }, }, }); - const datasetSelectionTitle = - await PageObjects.observabilityLogsExplorer.getDatasetSelectorButtonText(); + const dataSourceSelectionTitle = + await PageObjects.observabilityLogsExplorer.getDataSourceSelectorButtonText(); await PageObjects.observabilityLogsExplorer.assertRestoreFailureToastExist(); - expect(datasetSelectionTitle).to.be('All logs'); + expect(dataSourceSelectionTitle).to.be('All logs'); }); }); @@ -74,30 +74,30 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) { it('should decode and restore the selection for the current index', async () => { await PageObjects.observabilityLogsExplorer.navigateTo(); const allDatasetSelectionTitle = - await PageObjects.observabilityLogsExplorer.getDatasetSelectorButtonText(); + await PageObjects.observabilityLogsExplorer.getDataSourceSelectorButtonText(); expect(allDatasetSelectionTitle).to.be('All logs'); await PageObjects.observabilityLogsExplorer.navigateTo({ pageState: { - datasetSelection: azureActivityDatasetSelection, + dataSourceSelection: azureActivityDatasetSelection, }, }); const azureDatasetSelectionTitle = - await PageObjects.observabilityLogsExplorer.getDatasetSelectorButtonText(); + await PageObjects.observabilityLogsExplorer.getDataSourceSelectorButtonText(); expect(azureDatasetSelectionTitle).to.be('[Azure Logs] activitylogs'); // Go back to previous page selection await retry.tryForTime(30 * 1000, async () => { await browser.goBack(); const backNavigationDatasetSelectionTitle = - await PageObjects.observabilityLogsExplorer.getDatasetSelectorButtonText(); + await PageObjects.observabilityLogsExplorer.getDataSourceSelectorButtonText(); expect(backNavigationDatasetSelectionTitle).to.be('All logs'); }); // Go forward to previous page selection await retry.tryForTime(30 * 1000, async () => { await browser.goForward(); const forwardNavigationDatasetSelectionTitle = - await PageObjects.observabilityLogsExplorer.getDatasetSelectorButtonText(); + await PageObjects.observabilityLogsExplorer.getDataSourceSelectorButtonText(); expect(forwardNavigationDatasetSelectionTitle).to.be('[Azure Logs] activitylogs'); }); }); diff --git a/x-pack/test/functional/apps/observability_logs_explorer/dataset_selector.ts b/x-pack/test/functional/apps/observability_logs_explorer/data_source_selector.ts similarity index 96% rename from x-pack/test/functional/apps/observability_logs_explorer/dataset_selector.ts rename to x-pack/test/functional/apps/observability_logs_explorer/data_source_selector.ts index 9e2dcd1d7c41c..f45cd0ee34195 100644 --- a/x-pack/test/functional/apps/observability_logs_explorer/dataset_selector.ts +++ b/x-pack/test/functional/apps/observability_logs_explorer/data_source_selector.ts @@ -31,7 +31,7 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) { const noIntegrationsTitle = 'No integrations found'; const noUncategorizedTitle = 'No data streams found'; - describe('Dataset Selector', () => { + describe('DataSourceSelector', () => { before(async () => { await kibanaServer.importExport.load('test/functional/fixtures/kbn_archiver/discover'); await PageObjects.observabilityLogsExplorer.removeInstalledPackages(); @@ -48,7 +48,7 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) { beforeEach(async () => { await browser.refresh(); - await PageObjects.observabilityLogsExplorer.openDatasetSelector(); + await PageObjects.observabilityLogsExplorer.openDataSourceSelector(); }); it('should always display the Integrations Uncategorized and Data Views top level tabs', async () => { @@ -65,12 +65,11 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) { }); it('should always display the "Show all logs" action', async () => { - const allLogDatasetButton = - await PageObjects.observabilityLogsExplorer.getAllLogDatasetsButton(); + const allLogsButton = await PageObjects.observabilityLogsExplorer.getAllLogsButton(); - const allLogDatasetTitle = await allLogDatasetButton.getVisibleText(); + const allLogsTitle = await allLogsButton.getVisibleText(); - expect(allLogDatasetTitle).to.be('Show all logs'); + expect(allLogsTitle).to.be('Show all logs'); }); describe('when open on the integrations tab', () => { @@ -204,7 +203,7 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) { beforeEach(async () => { await browser.refresh(); - await PageObjects.observabilityLogsExplorer.openDatasetSelector(); + await PageObjects.observabilityLogsExplorer.openDataSourceSelector(); }); it('should display a list of installed integrations', async () => { @@ -275,7 +274,7 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) { await PageObjects.observabilityLogsExplorer.setupAdditionalIntegrations(); await browser.refresh(); - await PageObjects.observabilityLogsExplorer.openDatasetSelector(); + await PageObjects.observabilityLogsExplorer.openDataSourceSelector(); // Initially fetched integrations await retry.try(async () => { @@ -307,7 +306,7 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) { beforeEach(async () => { await browser.refresh(); - await PageObjects.observabilityLogsExplorer.openDatasetSelector(); + await PageObjects.observabilityLogsExplorer.openDataSourceSelector(); }); it('should display a list of available datasets', async () => { @@ -459,7 +458,7 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) { await retry.try(async () => { const selectorButton = - await PageObjects.observabilityLogsExplorer.getDatasetSelectorButton(); + await PageObjects.observabilityLogsExplorer.getDataSourceSelectorButton(); expect(await selectorButton.getVisibleText()).to.be('[Apache HTTP Server] access'); }); @@ -474,7 +473,7 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) { beforeEach(async () => { await browser.refresh(); - await PageObjects.observabilityLogsExplorer.openDatasetSelector(); + await PageObjects.observabilityLogsExplorer.openDataSourceSelector(); await PageObjects.observabilityLogsExplorer .getUncategorizedTab() .then((tab: WebElementWrapper) => tab.click()); @@ -613,7 +612,7 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) { await retry.try(async () => { const selectorButton = - await PageObjects.observabilityLogsExplorer.getDatasetSelectorButton(); + await PageObjects.observabilityLogsExplorer.getDataSourceSelectorButton(); expect(await selectorButton.getVisibleText()).to.be(expectedUncategorized[0]); }); @@ -627,7 +626,7 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) { beforeEach(async () => { await browser.refresh(); - await PageObjects.observabilityLogsExplorer.openDatasetSelector(); + await PageObjects.observabilityLogsExplorer.openDataSourceSelector(); await PageObjects.observabilityLogsExplorer .getDataViewsTab() .then((tab: WebElementWrapper) => tab.click()); @@ -782,7 +781,7 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) { beforeEach(async () => { await browser.refresh(); - await PageObjects.observabilityLogsExplorer.openDatasetSelector(); + await PageObjects.observabilityLogsExplorer.openDataSourceSelector(); }); it('should restore the latest navigation panel', async () => { @@ -806,8 +805,8 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) { expect(await menuEntries[1].getVisibleText()).to.be('error'); }); - await PageObjects.observabilityLogsExplorer.closeDatasetSelector(); - await PageObjects.observabilityLogsExplorer.openDatasetSelector(); + await PageObjects.observabilityLogsExplorer.closeDataSourceSelector(); + await PageObjects.observabilityLogsExplorer.openDataSourceSelector(); await retry.try(async () => { const [panelTitleNode, menuEntries] = await PageObjects.observabilityLogsExplorer @@ -833,8 +832,8 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) { expect(integrations).to.eql([initialPackageMap.system]); }); - await PageObjects.observabilityLogsExplorer.closeDatasetSelector(); - await PageObjects.observabilityLogsExplorer.openDatasetSelector(); + await PageObjects.observabilityLogsExplorer.closeDataSourceSelector(); + await PageObjects.observabilityLogsExplorer.openDataSourceSelector(); await retry.try(async () => { const { integrations } = await PageObjects.observabilityLogsExplorer.getIntegrations(); @@ -849,7 +848,7 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) { }); it('should remember the latest search and restore its results', async () => { - await PageObjects.observabilityLogsExplorer.openDatasetSelector(); + await PageObjects.observabilityLogsExplorer.openDataSourceSelector(); await PageObjects.observabilityLogsExplorer.clearSearchField(); await PageObjects.observabilityLogsExplorer.typeSearchFieldWith('apache'); diff --git a/x-pack/test/functional/apps/observability_logs_explorer/filter_controls.ts b/x-pack/test/functional/apps/observability_logs_explorer/filter_controls.ts index bb75b12004e77..bb2885f723dc0 100644 --- a/x-pack/test/functional/apps/observability_logs_explorer/filter_controls.ts +++ b/x-pack/test/functional/apps/observability_logs_explorer/filter_controls.ts @@ -22,7 +22,7 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) { it('renders a filter controls section as part of the unified search bar', async () => { await PageObjects.observabilityLogsExplorer.navigateTo(); - await testSubjects.existOrFail('datasetFiltersCustomization', { allowHidden: true }); + await testSubjects.existOrFail('dataSourceFiltersCustomization', { allowHidden: true }); }); }); } diff --git a/x-pack/test/functional/apps/observability_logs_explorer/index.ts b/x-pack/test/functional/apps/observability_logs_explorer/index.ts index c56a898b6d0c0..662e91072aca7 100644 --- a/x-pack/test/functional/apps/observability_logs_explorer/index.ts +++ b/x-pack/test/functional/apps/observability_logs_explorer/index.ts @@ -11,8 +11,8 @@ export default function ({ loadTestFile }: FtrProviderContext) { describe('Observability Logs Explorer', function () { loadTestFile(require.resolve('./app')); loadTestFile(require.resolve('./columns_selection')); - loadTestFile(require.resolve('./dataset_selection_state')); - loadTestFile(require.resolve('./dataset_selector')); + loadTestFile(require.resolve('./data_source_selection_state')); + loadTestFile(require.resolve('./data_source_selector')); loadTestFile(require.resolve('./filter_controls')); loadTestFile(require.resolve('./flyout')); loadTestFile(require.resolve('./header_menu')); diff --git a/x-pack/test/functional/page_objects/observability_logs_explorer.ts b/x-pack/test/functional/page_objects/observability_logs_explorer.ts index 270b233c9dca3..6fa43b56d297f 100644 --- a/x-pack/test/functional/page_objects/observability_logs_explorer.ts +++ b/x-pack/test/functional/page_objects/observability_logs_explorer.ts @@ -7,7 +7,7 @@ import expect from '@kbn/expect'; import { OBSERVABILITY_LOGS_EXPLORER_URL_STATE_KEY, - logsExplorerUrlSchemaV1, + logsExplorerUrlSchemaV2, } from '@kbn/observability-logs-explorer-plugin/common'; import rison from '@kbn/rison'; import querystring from 'querystring'; @@ -105,8 +105,8 @@ const packages: IntegrationPackage[] = [ const initialPackages = packages.slice(0, 3); const additionalPackages = packages.slice(3); -const defaultPageState: logsExplorerUrlSchemaV1.UrlSchema = { - v: 1, +const defaultPageState: logsExplorerUrlSchemaV2.UrlSchema = { + v: 2, time: { from: '2023-08-03T10:24:14.035Z', to: '2023-08-03T10:24:14.091Z', @@ -212,11 +212,11 @@ export function ObservabilityLogsExplorerPageObject({ async navigateTo({ pageState, }: { - pageState?: logsExplorerUrlSchemaV1.UrlSchema; + pageState?: logsExplorerUrlSchemaV2.UrlSchema; } = {}) { const queryStringParams = querystring.stringify({ [OBSERVABILITY_LOGS_EXPLORER_URL_STATE_KEY]: rison.encode( - logsExplorerUrlSchemaV1.urlSchemaRT.encode({ + logsExplorerUrlSchemaV2.urlSchemaRT.encode({ ...defaultPageState, ...pageState, }) @@ -260,20 +260,20 @@ export function ObservabilityLogsExplorerPageObject({ ); }, - getDatasetSelector() { - return testSubjects.find('datasetSelectorPopover'); + getDataSourceSelector() { + return testSubjects.find('dataSourceSelectorPopover'); }, - getDatasetSelectorButton() { - return testSubjects.find('datasetSelectorPopoverButton', 120000); // Increase timeout if refresh takes longer before opening the selector + getDataSourceSelectorButton() { + return testSubjects.find('dataSourceSelectorPopoverButton', 120000); // Increase timeout if refresh takes longer before opening the selector }, - getDatasetSelectorContent() { - return testSubjects.find('datasetSelectorContent'); + getDataSourceSelectorContent() { + return testSubjects.find('dataSourceSelectorContent'); }, - getDatasetSelectorSearchControls() { - return testSubjects.find('datasetSelectorSearchControls'); + getDataSourceSelectorSearchControls() { + return testSubjects.find('dataSourceSelectorSearchControls'); }, getIntegrationsContextMenu() { @@ -281,7 +281,7 @@ export function ObservabilityLogsExplorerPageObject({ }, getIntegrationsTab() { - return testSubjects.find('datasetSelectorIntegrationsTab'); + return testSubjects.find('dataSourceSelectorIntegrationsTab'); }, getUncategorizedContextMenu() { @@ -289,7 +289,7 @@ export function ObservabilityLogsExplorerPageObject({ }, getUncategorizedTab() { - return testSubjects.find('datasetSelectorUncategorizedTab'); + return testSubjects.find('dataSourceSelectorUncategorizedTab'); }, getDataViewsContextMenu() { @@ -301,15 +301,15 @@ export function ObservabilityLogsExplorerPageObject({ }, getDataViewsTab() { - return testSubjects.find('datasetSelectorDataViewsTab'); + return testSubjects.find('dataSourceSelectorDataViewsTab'); }, getPanelTitle(contextMenu: WebElementWrapper) { return contextMenu.findByClassName('euiContextMenuPanel__title'); }, - async getDatasetSelectorButtonText() { - const button = await this.getDatasetSelectorButton(); + async getDataSourceSelectorButtonText() { + const button = await this.getDataSourceSelectorButton(); return button.getVisibleText(); }, @@ -320,8 +320,8 @@ export function ObservabilityLogsExplorerPageObject({ ); }, - getAllLogDatasetsButton() { - return testSubjects.find('datasetSelectorshowAllLogs'); + getAllLogsButton() { + return testSubjects.find('dataSourceSelectorShowAllLogs'); }, getUnmanagedDatasetsButton() { @@ -345,14 +345,14 @@ export function ObservabilityLogsExplorerPageObject({ }; }, - async openDatasetSelector() { - const button = await this.getDatasetSelectorButton(); + async openDataSourceSelector() { + const button = await this.getDataSourceSelectorButton(); return button.click(); }, - async closeDatasetSelector() { - const button = await this.getDatasetSelectorButton(); - const isOpen = await testSubjects.exists('datasetSelectorContent'); + async closeDataSourceSelector() { + const button = await this.getDataSourceSelectorButton(); + const isOpen = await testSubjects.exists('dataSourceSelectorContent'); if (isOpen) return button.click(); }, @@ -362,7 +362,7 @@ export function ObservabilityLogsExplorerPageObject({ asc: 'Ascending', desc: 'Descending', }; - const searchControlsContainer = await this.getDatasetSelectorSearchControls(); + const searchControlsContainer = await this.getDataSourceSelectorSearchControls(); const sortingButton = await searchControlsContainer.findByCssSelector( `[title=${titleMap[direction]}]` ); @@ -371,14 +371,14 @@ export function ObservabilityLogsExplorerPageObject({ }, async getSearchFieldValue() { - const searchControlsContainer = await this.getDatasetSelectorSearchControls(); + const searchControlsContainer = await this.getDataSourceSelectorSearchControls(); const searchField = await searchControlsContainer.findByCssSelector('input[type=search]'); return searchField.getAttribute('value'); }, async typeSearchFieldWith(name: string) { - const searchControlsContainer = await this.getDatasetSelectorSearchControls(); + const searchControlsContainer = await this.getDataSourceSelectorSearchControls(); const searchField = await searchControlsContainer.findByCssSelector('input[type=search]'); await searchField.clearValueWithKeyboard(); @@ -386,7 +386,7 @@ export function ObservabilityLogsExplorerPageObject({ }, async clearSearchField() { - const searchControlsContainer = await this.getDatasetSelectorSearchControls(); + const searchControlsContainer = await this.getDataSourceSelectorSearchControls(); const searchField = await searchControlsContainer.findByCssSelector('input[type=search]'); return searchField.clearValueWithKeyboard(); @@ -398,18 +398,18 @@ export function ObservabilityLogsExplorerPageObject({ }, assertLoadingSkeletonExists() { - return testSubjects.existOrFail('datasetSelectorSkeleton'); + return testSubjects.existOrFail('dataSourceSelectorSkeleton'); }, async assertListStatusEmptyPromptExistsWithTitle(title: string) { - const [listStatus] = await testSubjects.findAll('datasetSelectorListStatusEmptyPrompt'); + const [listStatus] = await testSubjects.findAll('dataSourceSelectorListStatusEmptyPrompt'); const promptTitle = await listStatus.findByTagName('h2'); expect(await promptTitle.getVisibleText()).to.be(title); }, async assertListStatusErrorPromptExistsWithTitle(title: string) { - const listStatus = await testSubjects.find('datasetSelectorListStatusErrorPrompt'); + const listStatus = await testSubjects.find('dataSourceSelectorListStatusErrorPrompt'); const promptTitle = await listStatus.findByTagName('h2'); expect(await promptTitle.getVisibleText()).to.be(title); diff --git a/x-pack/test/functional/services/aiops/log_rate_analysis_data_generator.ts b/x-pack/test/functional/services/aiops/log_rate_analysis_data_generator.ts index 824e296d448d3..bd1d6c94810b9 100644 --- a/x-pack/test/functional/services/aiops/log_rate_analysis_data_generator.ts +++ b/x-pack/test/functional/services/aiops/log_rate_analysis_data_generator.ts @@ -11,6 +11,8 @@ import { LOG_RATE_ANALYSIS_TYPE } from '@kbn/aiops-utils'; import { FtrProviderContext } from '../../ftr_provider_context'; +import { frequentItemSetsLargeArraysSource } from '../../apps/aiops/log_rate_analysis/test_data/__mocks__/frequent_item_sets_large_arrays'; + const LOG_RATE_ANALYSYS_DATA_GENERATOR = { KIBANA_SAMPLE_DATA_LOGS: 'kibana_sample_data_logs', FAREQUOTE_WITH_SPIKE: 'farequote_with_spike', @@ -24,6 +26,7 @@ const LOG_RATE_ANALYSYS_DATA_GENERATOR = { ARTIFICIAL_LOGS_WITH_SPIKE_TEXTFIELD: 'artificial_logs_with_spike_textfield', ARTIFICIAL_LOGS_WITH_DIP: 'artificial_logs_with_dip', ARTIFICIAL_LOGS_WITH_DIP_TEXTFIELD: 'artificial_logs_with_dip_textfield', + LARGE_ARRAYS: 'large_arrays', } as const; export type LogRateAnalysisDataGenerator = typeof LOG_RATE_ANALYSYS_DATA_GENERATOR[keyof typeof LOG_RATE_ANALYSYS_DATA_GENERATOR]; @@ -272,14 +275,10 @@ export function LogRateAnalysisDataGeneratorProvider({ getService }: FtrProvider case 'artificial_logs_with_dip_zerodocsfallback': case 'artificial_logs_with_dip_textfield_zerodocsfallback': try { - const indexExists = await es.indices.exists({ + await es.indices.delete({ index: dataGenerator, + ignore_unavailable: true, }); - if (indexExists) { - await es.indices.delete({ - index: dataGenerator, - }); - } } catch (e) { log.info(`Could not delete index '${dataGenerator}' in before() callback`); } @@ -324,6 +323,47 @@ export function LogRateAnalysisDataGeneratorProvider({ getService }: FtrProvider }); break; + case 'large_arrays': + try { + await es.indices.delete({ + index: dataGenerator, + ignore_unavailable: true, + }); + } catch (e) { + log.info(`Could not delete index '${dataGenerator}' in before() callback`); + } + + // Create index with mapping + await es.indices.create({ + index: dataGenerator, + mappings: { + properties: { + items: { type: 'keyword' }, + '@timestamp': { type: 'date' }, + }, + }, + }); + + interface DocWithArray { + '@timestamp': number; + items: string[]; + } + + await es.bulk({ + refresh: 'wait_for', + body: frequentItemSetsLargeArraysSource.reduce((docs, items) => { + if (docs === undefined) return []; + docs.push({ index: { _index: dataGenerator } }); + docs.push({ + '@timestamp': 1562254538700, + items, + }); + return docs; + }, [] as estypes.BulkRequest['body']), + }); + + break; + default: log.error(`Unsupported data generator '${dataGenerator}`); } @@ -349,6 +389,7 @@ export function LogRateAnalysisDataGeneratorProvider({ getService }: FtrProvider case 'artificial_logs_with_spike_textfield_zerodocsfallback': case 'artificial_logs_with_dip_zerodocsfallback': case 'artificial_logs_with_dip_textfield_zerodocsfallback': + case 'large_arrays': try { await es.indices.delete({ index: dataGenerator, diff --git a/x-pack/test/functional_with_es_ssl/plugins/cases/public/application.tsx b/x-pack/test/functional_with_es_ssl/plugins/cases/public/application.tsx index af4fb983124e8..583dc72529a7a 100644 --- a/x-pack/test/functional_with_es_ssl/plugins/cases/public/application.tsx +++ b/x-pack/test/functional_with_es_ssl/plugins/cases/public/application.tsx @@ -18,7 +18,7 @@ import { } from '@elastic/eui'; import { Router } from '@kbn/shared-ux-router'; import { AppMountParameters, CoreStart } from '@kbn/core/public'; -import { CasesUiStart } from '@kbn/cases-plugin/public'; +import { CasesPublicStart } from '@kbn/cases-plugin/public'; import { AttachmentType } from '@kbn/cases-plugin/common'; import { KibanaContextProvider, KibanaThemeProvider } from '@kbn/kibana-react-plugin/public'; import { EuiThemeProvider as StyledComponentsThemeProvider } from '@kbn/kibana-react-plugin/common'; @@ -28,11 +28,11 @@ import { I18nProvider } from '@kbn/i18n-react'; export interface RenderAppProps { mountParams: AppMountParameters; coreStart: CoreStart; - pluginsStart: { cases: CasesUiStart }; + pluginsStart: { cases: CasesPublicStart }; } interface CasesFixtureAppDeps { - cases: CasesUiStart; + cases: CasesPublicStart; } const permissions = { diff --git a/x-pack/test/functional_with_es_ssl/plugins/cases/public/plugin.ts b/x-pack/test/functional_with_es_ssl/plugins/cases/public/plugin.ts index 2df834abf1f22..c5456907150c7 100644 --- a/x-pack/test/functional_with_es_ssl/plugins/cases/public/plugin.ts +++ b/x-pack/test/functional_with_es_ssl/plugins/cases/public/plugin.ts @@ -6,7 +6,7 @@ */ import { Plugin, CoreSetup, CoreStart, AppMountParameters } from '@kbn/core/public'; -import { CasesUiSetup, CasesUiStart } from '@kbn/cases-plugin/public/types'; +import { CasesPublicSetup, CasesPublicStart } from '@kbn/cases-plugin/public/types'; import { LensPublicStart } from '@kbn/lens-plugin/public'; import { getExternalReferenceAttachmentRegular } from './attachments/external_reference'; import { getPersistableStateAttachmentRegular } from './attachments/persistable_state'; @@ -15,12 +15,12 @@ export type Setup = void; export type Start = void; export interface CasesExamplePublicSetupDeps { - cases: CasesUiSetup; + cases: CasesPublicSetup; } export interface CasesExamplePublicStartDeps { lens: LensPublicStart; - cases: CasesUiStart; + cases: CasesPublicStart; } export class CasesFixturePlugin diff --git a/x-pack/test/functional_with_es_ssl/plugins/cases/server/plugin.ts b/x-pack/test/functional_with_es_ssl/plugins/cases/server/plugin.ts index fc3dd61fe6a44..9a325eaf46077 100644 --- a/x-pack/test/functional_with_es_ssl/plugins/cases/server/plugin.ts +++ b/x-pack/test/functional_with_es_ssl/plugins/cases/server/plugin.ts @@ -5,13 +5,13 @@ * 2.0. */ -import { CasesSetup } from '@kbn/cases-plugin/server/types'; +import { CasesServerSetup } from '@kbn/cases-plugin/server/types'; import { Plugin, CoreSetup } from '@kbn/core/server'; import { getExternalReferenceAttachment } from './attachments/external_reference'; import { getPersistableStateAttachmentServer } from './attachments/persistable_state'; export interface CasesExamplePublicSetupDeps { - cases: CasesSetup; + cases: CasesServerSetup; } export class CasesFixturePlugin implements Plugin { diff --git a/x-pack/test/security_solution_cypress/cypress/e2e/explore/network/hover_actions.cy.ts b/x-pack/test/security_solution_cypress/cypress/e2e/explore/network/hover_actions.cy.ts index fa4a7c008fa2c..f926007482ad3 100644 --- a/x-pack/test/security_solution_cypress/cypress/e2e/explore/network/hover_actions.cy.ts +++ b/x-pack/test/security_solution_cypress/cypress/e2e/explore/network/hover_actions.cy.ts @@ -10,7 +10,7 @@ import { GLOBAL_SEARCH_BAR_FILTER_ITEM } from '../../../screens/search_bar'; import { DATA_PROVIDERS } from '../../../screens/timeline'; import { login } from '../../../tasks/login'; -import { visit } from '../../../tasks/navigation'; +import { visitWithTimeRange } from '../../../tasks/navigation'; import { networkUrl } from '../../../urls/navigation'; import { clickOnAddToTimeline, @@ -25,8 +25,7 @@ import { openTimelineUsingToggle } from '../../../tasks/security_main'; const testDomain = 'myTest'; -// tracked by https://github.com/elastic/kibana/issues/161874 -describe.skip('Hover actions', { tags: ['@ess', '@serverless'] }, () => { +describe('Hover actions', { tags: ['@ess', '@serverless'] }, () => { const onBeforeLoadCallback = (win: Cypress.AUTWindow) => { // avoid cypress being held by windows prompt and timeout cy.stub(win, 'prompt').returns(true); @@ -42,7 +41,9 @@ describe.skip('Hover actions', { tags: ['@ess', '@serverless'] }, () => { beforeEach(() => { login(); - visit(networkUrl('flows'), { visitOptions: { onBeforeLoad: onBeforeLoadCallback } }); + visitWithTimeRange(networkUrl('flows'), { + visitOptions: { onBeforeLoad: onBeforeLoadCallback }, + }); openHoverActions(); mouseoverOnToOverflowItem(); }); diff --git a/x-pack/test/security_solution_cypress/cypress/e2e/investigations/dasbhoards/detection_response.cy.ts b/x-pack/test/security_solution_cypress/cypress/e2e/investigations/dasbhoards/detection_response.cy.ts index eb3881f8123a5..5e99105c08e43 100644 --- a/x-pack/test/security_solution_cypress/cypress/e2e/investigations/dasbhoards/detection_response.cy.ts +++ b/x-pack/test/security_solution_cypress/cypress/e2e/investigations/dasbhoards/detection_response.cy.ts @@ -43,7 +43,13 @@ import { ALERTS_URL, DASHBOARDS_URL, DETECTION_AND_RESPONSE_URL } from '../../.. const TEST_USER_NAME = 'test'; const SIEM_KIBANA_HOST_NAME = 'siem-kibana'; -describe('Detection response view', { tags: ['@ess', '@serverless'] }, () => { +// Failing: See https://github.com/elastic/kibana/issues/177761 +// FLAKY: https://github.com/elastic/kibana/issues/168768 +// FLAKY: https://github.com/elastic/kibana/issues/168769 +// FLAKY: https://github.com/elastic/kibana/issues/168770 +// FLAKY: https://github.com/elastic/kibana/issues/168771 +// FLAKY: https://github.com/elastic/kibana/issues/168772 +describe.skip('Detection response view', { tags: ['@ess', '@serverless'] }, () => { before(() => { deleteAlertsAndRules(); cy.task('esArchiverLoad', { archiveName: 'auditbeat_multiple' }); diff --git a/x-pack/test/security_solution_cypress/cypress/tasks/network/flows.ts b/x-pack/test/security_solution_cypress/cypress/tasks/network/flows.ts index 5317b442bb26b..60e81abe43197 100644 --- a/x-pack/test/security_solution_cypress/cypress/tasks/network/flows.ts +++ b/x-pack/test/security_solution_cypress/cypress/tasks/network/flows.ts @@ -26,7 +26,7 @@ export const openHoverActions = () => { }; export const mouseoverOnToOverflowItem = () => { - cy.get(OVERFLOW_ITEM).first().realHover(); + cy.get(OVERFLOW_ITEM).first().trigger('mouseover'); }; export const clickOnFilterIn = () => { @@ -47,6 +47,5 @@ export const clickOnShowTopN = () => { }; export const clickOnCopyValue = () => { - cy.get(COPY).first().focus(); - cy.focused().click(); + cy.get(COPY).first().click(); }; diff --git a/x-pack/test/security_solution_endpoint/apps/endpoint/index.ts b/x-pack/test/security_solution_endpoint/apps/endpoint/index.ts index 081a03fef4f51..6786f82a6fabe 100644 --- a/x-pack/test/security_solution_endpoint/apps/endpoint/index.ts +++ b/x-pack/test/security_solution_endpoint/apps/endpoint/index.ts @@ -45,7 +45,6 @@ export default function (providerContext: FtrProviderContext) { loadTestFile(require.resolve('./endpoint_list')); loadTestFile(require.resolve('./endpoint_telemetry')); loadTestFile(require.resolve('./endpoint_permissions')); - loadTestFile(require.resolve('./responder')); loadTestFile(require.resolve('./endpoint_solution_integrations')); }); } diff --git a/x-pack/test/security_solution_endpoint/apps/endpoint/responder.ts b/x-pack/test/security_solution_endpoint/apps/endpoint/responder.ts deleted file mode 100644 index 6f00806e67c05..0000000000000 --- a/x-pack/test/security_solution_endpoint/apps/endpoint/responder.ts +++ /dev/null @@ -1,247 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the Elastic License - * 2.0; you may not use this file except in compliance with the Elastic License - * 2.0. - */ - -import { IndexedHostsAndAlertsResponse } from '@kbn/security-solution-plugin/common/endpoint/index_data'; -import { TimelineResponse } from '@kbn/security-solution-plugin/common/api/timeline'; -import { type IndexedEndpointRuleAlerts } from '@kbn/security-solution-plugin/common/endpoint/data_loaders/index_endpoint_rule_alerts'; -import { DATE_RANGE_OPTION_TO_TEST_SUBJ_MAP } from '@kbn/security-solution-plugin/common/test'; -import { FtrProviderContext } from '../../ftr_provider_context'; -import { targetTags } from '../../target_tags'; - -export default ({ getPageObjects, getService }: FtrProviderContext) => { - const pageObjects = getPageObjects([ - 'common', - 'endpoint', - 'header', - 'endpointPageUtils', - 'responder', - 'timeline', - 'detections', - ]); - const testSubjects = getService('testSubjects'); - const endpointTestResources = getService('endpointTestResources'); - const timelineTestService = getService('timeline'); - const detectionsTestService = getService('detections'); - const log = getService('log'); - - // The Alerts Rule seems to run every 5 minutes when there are no failures. This timeout ensures - // that we wait long enough for them to show up. - const MAX_WAIT_FOR_ALERTS_TIMEOUT = 60_000 * 6; - - const performResponderSanityChecks = async () => { - // Show the Action log - await pageObjects.responder.openActionLogFlyout(); - - // Ensure the popover in the action log date quick select picker is accessible - // (this is especially important for when Responder is displayed from a Timeline) - await pageObjects.responder.clickActionLogSuperDatePickerQuickMenuButton(); - await testSubjects.click(DATE_RANGE_OPTION_TO_TEST_SUBJ_MAP['Last 1 year']); - await pageObjects.responder.closeActionLogFlyout(); - - // Close responder - await pageObjects.responder.closeResponder(); - }; - const getEndpointAlertsQueryForAgentId = ( - agentId: string - ): object & { $stringify: () => string } => { - return Object.assign( - Object.create({ - $stringify() { - return JSON.stringify(this); - }, - }), - - { - bool: { - filter: [ - { - bool: { - should: [{ match_phrase: { 'agent.type': 'endpoint' } }], - minimum_should_match: 1, - }, - }, - { - bool: { - should: [{ match_phrase: { 'agent.id': agentId } }], - minimum_should_match: 1, - }, - }, - { - bool: { - should: [{ exists: { field: 'kibana.alert.rule.uuid' } }], - minimum_should_match: 1, - }, - }, - ], - }, - } - ); - }; - - // FLAKY: https://github.com/elastic/kibana/issues/153071 - describe.skip('Response Actions Responder', function () { - targetTags(this, ['@ess', '@serverless']); - - let indexedData: IndexedHostsAndAlertsResponse; - let endpointAgentId: string; - - before(async () => { - indexedData = await endpointTestResources.loadEndpointData({ - numHosts: 2, - generatorSeed: `responder ${Math.random()}`, - }); - - endpointAgentId = indexedData.hosts[0].agent.id; - - // start/stop the endpoint rule. This should cause the rule to run immediately - // and create the Alerts and avoid us having to wait for the interval (of 5 minutes) - await detectionsTestService.stopStartEndpointRule(); - }); - - after(async () => { - if (indexedData) { - log.info('Cleaning up loaded endpoint data'); - await endpointTestResources.unloadEndpointData(indexedData); - } - }); - - describe('from the Endpoint list and details', () => { - before(async () => { - await pageObjects.endpoint.navigateToEndpointList(); - }); - - it('should show Responder from the endpoint list', async () => { - await pageObjects.endpoint.showResponderFromEndpointList(endpointAgentId); - await performResponderSanityChecks(); - }); - - it('should show Responder from the endpoint details', async () => { - await pageObjects.endpoint.showResponderFromEndpointDetails(endpointAgentId); - await performResponderSanityChecks(); - }); - }); - - describe('from timeline', () => { - let timeline: TimelineResponse; - let indexedAlerts: IndexedEndpointRuleAlerts; - - before(async () => { - timeline = await timelineTestService.createTimeline('endpoint responder test'); - - // Add all alerts for the Endpoint to the timeline created - timeline = await timelineTestService.updateTimeline( - timeline.data.persistTimeline.timeline.savedObjectId, - { - title: timeline.data.persistTimeline.timeline.title, - kqlQuery: { - filterQuery: { - kuery: { - kind: 'kuery', - expression: `agent.type: "endpoint" AND agent.id : "${endpointAgentId}" AND kibana.alert.rule.uuid : *`, - }, - serializedQuery: getEndpointAlertsQueryForAgentId(endpointAgentId).$stringify(), - }, - }, - savedSearchId: null, - }, - timeline.data.persistTimeline.timeline.version - ); - - indexedAlerts = await detectionsTestService.loadEndpointRuleAlerts(endpointAgentId); - - await detectionsTestService.waitForAlerts( - getEndpointAlertsQueryForAgentId(endpointAgentId), - MAX_WAIT_FOR_ALERTS_TIMEOUT - ); - - await pageObjects.timeline.navigateToTimelineList(); - }); - - after(async () => { - if (timeline) { - log.info( - `Cleaning up created timeline [${timeline.data.persistTimeline.timeline.title} - ${timeline.data.persistTimeline.timeline.savedObjectId}]` - ); - await timelineTestService.deleteTimeline( - timeline.data.persistTimeline.timeline.savedObjectId - ); - } - - if (indexedAlerts) { - log.info(`Cleaning up loaded alerts for Timeline`); - await indexedAlerts.cleanup(); - } - }); - - it('should show Responder from alert in a timeline', async () => { - await pageObjects.timeline.openTimelineById( - timeline.data.persistTimeline.timeline.savedObjectId - ); - await pageObjects.timeline.setDateRange('Last 1 year'); - await pageObjects.timeline.waitForEvents(MAX_WAIT_FOR_ALERTS_TIMEOUT); - - // Show event/alert details for the first one in the list - await pageObjects.timeline.showEventDetails(); - - // TODO: The index already exists error toast should not show up - // close and dismiss it if it does - if (await testSubjects.exists('globalToastList')) { - await testSubjects.click('toastCloseButton'); - } - // Click responder from the take action button - await testSubjects.click('take-action-dropdown-btn'); - await testSubjects.clickWhenNotDisabled('endpointResponseActions-action-item'); - await testSubjects.existOrFail('consolePageOverlay'); - - // close tour popup - if (await testSubjects.exists('timeline-save-tour-close-button')) { - await testSubjects.click('timeline-save-tour-close-button'); - } - - await performResponderSanityChecks(); - await pageObjects.timeline.closeTimeline(); - }); - }); - - describe('from alerts', () => { - let indexedAlerts: IndexedEndpointRuleAlerts; - - before(async () => { - await getService('kibanaServer').request({ - path: `internal/kibana/settings`, - method: 'POST', - body: { changes: { 'securitySolution:enableExpandableFlyout': false } }, - }); - - indexedAlerts = await detectionsTestService.loadEndpointRuleAlerts(endpointAgentId); - - await detectionsTestService.waitForAlerts( - getEndpointAlertsQueryForAgentId(endpointAgentId), - MAX_WAIT_FOR_ALERTS_TIMEOUT - ); - }); - - after(async () => { - if (indexedAlerts) { - log.info(`Cleaning up alerts loaded for Alerts page`); - await indexedAlerts.cleanup(); - } - }); - - it('should show Responder from alert details under alerts list page', async () => { - const hostname = indexedData.hosts[0].host.name; - await pageObjects.detections.navigateToAlerts( - `query=(language:kuery,query:'host.hostname: "${hostname}" ')` - ); - await pageObjects.detections.waitForListToHaveAlerts(MAX_WAIT_FOR_ALERTS_TIMEOUT); - await pageObjects.detections.openFirstAlertDetailsForHostName(hostname); - await pageObjects.detections.openResponseConsoleFromAlertDetails(); - await performResponderSanityChecks(); - }); - }); - }); -}; diff --git a/x-pack/test/security_solution_ftr/services/timeline/index.ts b/x-pack/test/security_solution_ftr/services/timeline/index.ts index b9acf21a9384e..ebf6497567d81 100644 --- a/x-pack/test/security_solution_ftr/services/timeline/index.ts +++ b/x-pack/test/security_solution_ftr/services/timeline/index.ts @@ -58,6 +58,7 @@ export class TimelineTestService extends FtrService { await this.supertest .post(TIMELINE_DRAFT_URL) .set('kbn-xsrf', 'true') + .set('elastic-api-version', '2023-10-31') .send({ timelineType: 'default' }) .then(this.getHttpResponseFailureHandler()) .then((response) => response.body as TimelineResponse) @@ -112,6 +113,7 @@ export class TimelineTestService extends FtrService { return await this.supertest .patch(TIMELINE_URL) .set('kbn-xsrf', 'true') + .set('elastic-api-version', '2023-10-31') .send({ timelineId, version, @@ -126,6 +128,7 @@ export class TimelineTestService extends FtrService { await this.supertest .delete(TIMELINE_URL) .set('kbn-xsrf', 'true') + .set('elastic-api-version', '2023-10-31') .send({ savedObjectIds: Array.isArray(id) ? id : [id], }) diff --git a/x-pack/test_serverless/api_integration/test_suites/observability/infra/metadata.ts b/x-pack/test_serverless/api_integration/test_suites/observability/infra/metadata.ts index ee75931cb528a..3dc4f333611ea 100644 --- a/x-pack/test_serverless/api_integration/test_suites/observability/infra/metadata.ts +++ b/x-pack/test_serverless/api_integration/test_suites/observability/infra/metadata.ts @@ -39,7 +39,8 @@ export default function ({ getService }: FtrProviderContext) { describe('API /infra/metadata', () => { describe('works', () => { - describe('Host asset type', () => { + // FLAKY: https://github.com/elastic/kibana/issues/177381 + describe.skip('Host asset type', () => { before(() => esArchiver.load(ARCHIVE_NAME)); after(() => esArchiver.unload(ARCHIVE_NAME)); diff --git a/x-pack/test_serverless/functional/test_suites/common/discover/group1/_discover.ts b/x-pack/test_serverless/functional/test_suites/common/discover/group1/_discover.ts index 0554270d3c560..a5274115cfbaf 100644 --- a/x-pack/test_serverless/functional/test_suites/common/discover/group1/_discover.ts +++ b/x-pack/test_serverless/functional/test_suites/common/discover/group1/_discover.ts @@ -31,8 +31,7 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) { defaultIndex: 'logstash-*', }; - // Failing: See https://github.com/elastic/kibana/issues/173784 - describe.skip('discover test', function describeIndexTests() { + describe('discover test', function describeIndexTests() { before(async function () { log.debug('load kibana index with default index pattern'); await kibanaServer.importExport.load('test/functional/fixtures/kbn_archiver/discover'); @@ -176,11 +175,7 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) { }); it('should show matches when time range is expanded', async () => { - await retry.waitFor('view all matches to load', async () => { - await PageObjects.discover.expandTimeRangeAsSuggestedInNoResultsMessage(); - await PageObjects.discover.waitUntilSearchingHasFinished(); - return !(await testSubjects.exists('discoverNoResultsViewAllMatches')); - }); + await PageObjects.discover.expandTimeRangeAsSuggestedInNoResultsMessage(); await retry.try(async function () { expect(await PageObjects.discover.hasNoResults()).to.be(false); expect(await PageObjects.discover.getHitCountInt()).to.be.above(0); diff --git a/x-pack/test_serverless/functional/test_suites/observability/observability_logs_explorer/dataset_selection_state.ts b/x-pack/test_serverless/functional/test_suites/observability/observability_logs_explorer/data_source_selection_state.ts similarity index 67% rename from x-pack/test_serverless/functional/test_suites/observability/observability_logs_explorer/dataset_selection_state.ts rename to x-pack/test_serverless/functional/test_suites/observability/observability_logs_explorer/data_source_selection_state.ts index 53b25cf5011ff..5fe928c5d3d5e 100644 --- a/x-pack/test_serverless/functional/test_suites/observability/observability_logs_explorer/dataset_selection_state.ts +++ b/x-pack/test_serverless/functional/test_suites/observability/observability_logs_explorer/data_source_selection_state.ts @@ -6,10 +6,10 @@ */ import expect from '@kbn/expect'; import { decodeOrThrow, indexPatternRt } from '@kbn/io-ts-utils'; -import { DatasetSelectionPlain } from '@kbn/logs-explorer-plugin/common'; +import { DataSourceSelectionPlain } from '@kbn/logs-explorer-plugin/common'; import { FtrProviderContext } from '../../../ftr_provider_context'; -const azureActivityDatasetSelection: DatasetSelectionPlain = { +const azureActivityDatasetSelection: DataSourceSelectionPlain = { selection: { dataset: { name: decodeOrThrow(indexPatternRt)('logs-azure.activitylogs-*'), @@ -32,7 +32,7 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) { 'header', ]); - describe('DatasetSelection initialization and update', () => { + describe('dataSourceSelection initialization and update', () => { before(async () => { await PageObjects.svlCommonPage.login(); }); @@ -41,48 +41,48 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) { await PageObjects.svlCommonPage.forceLogout(); }); - describe('when no dataset selection is given', () => { + describe('when no dataSourceSelection is given', () => { it('should initialize the "All logs" selection', async () => { await PageObjects.observabilityLogsExplorer.navigateTo(); await PageObjects.header.waitUntilLoadingHasFinished(); - const datasetSelectionTitle = - await PageObjects.observabilityLogsExplorer.getDatasetSelectorButtonText(); + const dataSourceSelectionTitle = + await PageObjects.observabilityLogsExplorer.getDataSourceSelectorButtonText(); - expect(datasetSelectionTitle).to.be('All logs'); + expect(dataSourceSelectionTitle).to.be('All logs'); }); }); - describe('when a dataset selection is given', () => { - it('should decode and restore the selection from a valid encoded index', async () => { + describe('when a dataSourceSelection is given', () => { + it('should decode and restore the selection from a valid parameter', async () => { await PageObjects.observabilityLogsExplorer.navigateTo({ pageState: { - datasetSelection: azureActivityDatasetSelection, + dataSourceSelection: azureActivityDatasetSelection, }, }); await PageObjects.header.waitUntilLoadingHasFinished(); - const datasetSelectionTitle = - await PageObjects.observabilityLogsExplorer.getDatasetSelectorButtonText(); + const dataSourceSelectionTitle = + await PageObjects.observabilityLogsExplorer.getDataSourceSelectorButtonText(); - expect(datasetSelectionTitle).to.be('[Azure Logs] activitylogs'); + expect(dataSourceSelectionTitle).to.be('[Azure Logs] activitylogs'); }); - it('should fallback to the "All logs" selection and notify the user of an invalid encoded index', async () => { + it('should fallback to the "All logs" selection and notify the user of an invalid parameter', async () => { await PageObjects.observabilityLogsExplorer.navigateToWithUncheckedState({ pageState: { - v: 1, - datasetSelection: { + v: 2, + dataSourceSelection: { selectionType: 'invalid', }, }, }); await PageObjects.header.waitUntilLoadingHasFinished(); - const datasetSelectionTitle = - await PageObjects.observabilityLogsExplorer.getDatasetSelectorButtonText(); + const dataSourceSelectionTitle = + await PageObjects.observabilityLogsExplorer.getDataSourceSelectorButtonText(); await PageObjects.observabilityLogsExplorer.assertRestoreFailureToastExist(); - expect(datasetSelectionTitle).to.be('All logs'); + expect(dataSourceSelectionTitle).to.be('All logs'); }); }); @@ -91,17 +91,17 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) { await PageObjects.observabilityLogsExplorer.navigateTo(); await PageObjects.header.waitUntilLoadingHasFinished(); const allDatasetSelectionTitle = - await PageObjects.observabilityLogsExplorer.getDatasetSelectorButtonText(); + await PageObjects.observabilityLogsExplorer.getDataSourceSelectorButtonText(); expect(allDatasetSelectionTitle).to.be('All logs'); await PageObjects.observabilityLogsExplorer.navigateTo({ pageState: { - datasetSelection: azureActivityDatasetSelection, + dataSourceSelection: azureActivityDatasetSelection, }, }); await PageObjects.header.waitUntilLoadingHasFinished(); const azureDatasetSelectionTitle = - await PageObjects.observabilityLogsExplorer.getDatasetSelectorButtonText(); + await PageObjects.observabilityLogsExplorer.getDataSourceSelectorButtonText(); expect(azureDatasetSelectionTitle).to.be('[Azure Logs] activitylogs'); // Go back to previous page selection @@ -109,7 +109,7 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) { await browser.goBack(); await PageObjects.header.waitUntilLoadingHasFinished(); const backNavigationDatasetSelectionTitle = - await PageObjects.observabilityLogsExplorer.getDatasetSelectorButtonText(); + await PageObjects.observabilityLogsExplorer.getDataSourceSelectorButtonText(); expect(backNavigationDatasetSelectionTitle).to.be('All logs'); }); @@ -118,7 +118,7 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) { await browser.goForward(); await PageObjects.header.waitUntilLoadingHasFinished(); const forwardNavigationDatasetSelectionTitle = - await PageObjects.observabilityLogsExplorer.getDatasetSelectorButtonText(); + await PageObjects.observabilityLogsExplorer.getDataSourceSelectorButtonText(); expect(forwardNavigationDatasetSelectionTitle).to.be('[Azure Logs] activitylogs'); }); }); diff --git a/x-pack/test_serverless/functional/test_suites/observability/observability_logs_explorer/dataset_selector.ts b/x-pack/test_serverless/functional/test_suites/observability/observability_logs_explorer/data_source_selector.ts similarity index 96% rename from x-pack/test_serverless/functional/test_suites/observability/observability_logs_explorer/dataset_selector.ts rename to x-pack/test_serverless/functional/test_suites/observability/observability_logs_explorer/data_source_selector.ts index a0b5a5d0bc8cd..dddb164007601 100644 --- a/x-pack/test_serverless/functional/test_suites/observability/observability_logs_explorer/dataset_selector.ts +++ b/x-pack/test_serverless/functional/test_suites/observability/observability_logs_explorer/data_source_selector.ts @@ -34,8 +34,8 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) { const noIntegrationsTitle = 'No integrations found'; const noUncategorizedTitle = 'No data streams found'; - describe('Dataset Selector', function () { - // TimeoutError: Waiting for element to be located By(css selector, [data-test-subj="datasetSelectorPopoverButton"]) + describe('DataSourceSelector', function () { + // TimeoutError: Waiting for element to be located By(css selector, [data-test-subj="dataSourceSelectorPopoverButton"]) this.tags(['failsOnMKI']); before(async () => { await PageObjects.svlCommonPage.login(); @@ -53,7 +53,7 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) { beforeEach(async () => { await browser.refresh(); - await PageObjects.observabilityLogsExplorer.openDatasetSelector(); + await PageObjects.observabilityLogsExplorer.openDataSourceSelector(); }); it('should always display the Integrations, Uncategorized and Data Views top level tabs', async () => { @@ -70,12 +70,11 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) { }); it('should always display the "Show all logs" action', async () => { - const allLogDatasetButton = - await PageObjects.observabilityLogsExplorer.getAllLogDatasetsButton(); + const allLogsButton = await PageObjects.observabilityLogsExplorer.getAllLogsButton(); - const allLogDatasetTitle = await allLogDatasetButton.getVisibleText(); + const allLogsTitle = await allLogsButton.getVisibleText(); - expect(allLogDatasetTitle).to.be('Show all logs'); + expect(allLogsTitle).to.be('Show all logs'); }); describe('when open on the integrations tab', () => { @@ -205,7 +204,7 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) { beforeEach(async () => { await browser.refresh(); - await PageObjects.observabilityLogsExplorer.openDatasetSelector(); + await PageObjects.observabilityLogsExplorer.openDataSourceSelector(); }); it('should display a list of installed integrations', async () => { @@ -276,7 +275,7 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) { await PageObjects.observabilityLogsExplorer.setupAdditionalIntegrations(); await browser.refresh(); - await PageObjects.observabilityLogsExplorer.openDatasetSelector(); + await PageObjects.observabilityLogsExplorer.openDataSourceSelector(); // Initially fetched integrations await retry.try(async () => { @@ -308,7 +307,7 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) { beforeEach(async () => { await browser.refresh(); - await PageObjects.observabilityLogsExplorer.openDatasetSelector(); + await PageObjects.observabilityLogsExplorer.openDataSourceSelector(); }); it('should display a list of available datasets', async () => { @@ -442,7 +441,7 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) { await retry.try(async () => { const selectorButton = - await PageObjects.observabilityLogsExplorer.getDatasetSelectorButton(); + await PageObjects.observabilityLogsExplorer.getDataSourceSelectorButton(); expect(await selectorButton.getVisibleText()).to.be('[Apache HTTP Server] access'); }); @@ -457,7 +456,7 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) { beforeEach(async () => { await browser.refresh(); - await PageObjects.observabilityLogsExplorer.openDatasetSelector(); + await PageObjects.observabilityLogsExplorer.openDataSourceSelector(); await PageObjects.observabilityLogsExplorer .getUncategorizedTab() .then((tab) => tab.click()); @@ -578,7 +577,7 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) { await retry.try(async () => { const selectorButton = - await PageObjects.observabilityLogsExplorer.getDatasetSelectorButton(); + await PageObjects.observabilityLogsExplorer.getDataSourceSelectorButton(); expect(await selectorButton.getVisibleText()).to.be(expectedUncategorized[0]); }); @@ -592,7 +591,7 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) { beforeEach(async () => { await browser.refresh(); - await PageObjects.observabilityLogsExplorer.openDatasetSelector(); + await PageObjects.observabilityLogsExplorer.openDataSourceSelector(); await PageObjects.observabilityLogsExplorer.getDataViewsTab().then((tab) => tab.click()); }); @@ -724,7 +723,7 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) { beforeEach(async () => { await browser.refresh(); - await PageObjects.observabilityLogsExplorer.openDatasetSelector(); + await PageObjects.observabilityLogsExplorer.openDataSourceSelector(); }); it('should restore the latest navigation panel', async () => { @@ -748,8 +747,8 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) { expect(await menuEntries[1].getVisibleText()).to.be('error'); }); - await PageObjects.observabilityLogsExplorer.closeDatasetSelector(); - await PageObjects.observabilityLogsExplorer.openDatasetSelector(); + await PageObjects.observabilityLogsExplorer.closeDataSourceSelector(); + await PageObjects.observabilityLogsExplorer.openDataSourceSelector(); await retry.try(async () => { const [panelTitleNode, menuEntries] = await PageObjects.observabilityLogsExplorer @@ -775,8 +774,8 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) { expect(integrations).to.eql([initialPackageMap.system]); }); - await PageObjects.observabilityLogsExplorer.closeDatasetSelector(); - await PageObjects.observabilityLogsExplorer.openDatasetSelector(); + await PageObjects.observabilityLogsExplorer.closeDataSourceSelector(); + await PageObjects.observabilityLogsExplorer.openDataSourceSelector(); await retry.try(async () => { const { integrations } = await PageObjects.observabilityLogsExplorer.getIntegrations(); @@ -791,7 +790,7 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) { }); it('should remember the latest search and restore its results', async () => { - await PageObjects.observabilityLogsExplorer.openDatasetSelector(); + await PageObjects.observabilityLogsExplorer.openDataSourceSelector(); await PageObjects.observabilityLogsExplorer.clearSearchField(); await PageObjects.observabilityLogsExplorer.typeSearchFieldWith('apache'); diff --git a/x-pack/test_serverless/functional/test_suites/observability/observability_logs_explorer/filter_controls.ts b/x-pack/test_serverless/functional/test_suites/observability/observability_logs_explorer/filter_controls.ts index d0a4b79abbb51..9cf4629e89a90 100644 --- a/x-pack/test_serverless/functional/test_suites/observability/observability_logs_explorer/filter_controls.ts +++ b/x-pack/test_serverless/functional/test_suites/observability/observability_logs_explorer/filter_controls.ts @@ -24,7 +24,7 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) { it('renders a filter controls section as part of the unified search bar', async () => { await PageObjects.observabilityLogsExplorer.navigateTo(); - await testSubjects.existOrFail('datasetFiltersCustomization', { allowHidden: true }); + await testSubjects.existOrFail('dataSourceFiltersCustomization', { allowHidden: true }); }); }); } diff --git a/x-pack/test_serverless/functional/test_suites/observability/observability_logs_explorer/index.ts b/x-pack/test_serverless/functional/test_suites/observability/observability_logs_explorer/index.ts index 98cde3a1d8267..6e4356d0841b9 100644 --- a/x-pack/test_serverless/functional/test_suites/observability/observability_logs_explorer/index.ts +++ b/x-pack/test_serverless/functional/test_suites/observability/observability_logs_explorer/index.ts @@ -11,8 +11,8 @@ export default function ({ loadTestFile }: FtrProviderContext) { describe('Observability Logs Explorer', function () { loadTestFile(require.resolve('./app')); loadTestFile(require.resolve('./columns_selection')); - loadTestFile(require.resolve('./dataset_selection_state')); - loadTestFile(require.resolve('./dataset_selector')); + loadTestFile(require.resolve('./data_source_selection_state')); + loadTestFile(require.resolve('./data_source_selector')); loadTestFile(require.resolve('./filter_controls')); loadTestFile(require.resolve('./flyout')); loadTestFile(require.resolve('./header_menu')); diff --git a/yarn.lock b/yarn.lock index e0639ec4bed5f..dbf5bb8f1f7e2 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1743,10 +1743,10 @@ resolved "https://registry.yarnpkg.com/@elastic/eslint-plugin-eui/-/eslint-plugin-eui-0.0.2.tgz#56b9ef03984a05cc213772ae3713ea8ef47b0314" integrity sha512-IoxURM5zraoQ7C8f+mJb9HYSENiZGgRVcG4tLQxE61yHNNRDXtGDWTZh8N1KIHcsqN1CEPETjuzBXkJYF/fDiQ== -"@elastic/eui@93.1.1": - version "93.1.1" - resolved "https://registry.yarnpkg.com/@elastic/eui/-/eui-93.1.1.tgz#03c9667456664978c3477abef52afd6aceb48ebf" - integrity sha512-YnmNST8PmgAyeahDFTUTpToiBAc6gOyK/RSSqx6NTxCmUCwXnV7Oog9TUHlQ8tYGLjfFXrAja6Msy0X2VuxHOA== +"@elastic/eui@93.2.0": + version "93.2.0" + resolved "https://registry.yarnpkg.com/@elastic/eui/-/eui-93.2.0.tgz#ebe74c4aefcf78cd72a8db7332666a7aa0681954" + integrity sha512-YPJM+hs1Ouv7Fc04JZiEOT5nCNBMFKsQwKmmGqzEwpMDsXpx6NKT0s0AlRO43JabTWBHL9yIRE4aORhAzH6pBQ== dependencies: "@hello-pangea/dnd" "^16.3.0" "@types/lodash" "^4.14.198" @@ -3216,11 +3216,11 @@ version "0.0.0" uid "" -"@kbn/apm-data-access-plugin@link:x-pack/plugins/apm_data_access": +"@kbn/apm-data-access-plugin@link:x-pack/plugins/observability_solution/apm_data_access": version "0.0.0" uid "" -"@kbn/apm-plugin@link:x-pack/plugins/apm": +"@kbn/apm-plugin@link:x-pack/plugins/observability_solution/apm": version "0.0.0" uid "" @@ -4912,7 +4912,7 @@ version "0.0.0" uid "" -"@kbn/infra-plugin@link:x-pack/plugins/infra": +"@kbn/infra-plugin@link:x-pack/plugins/observability_solution/infra": version "0.0.0" uid "" @@ -5360,7 +5360,7 @@ version "0.0.0" uid "" -"@kbn/observability-plugin@link:x-pack/plugins/observability": +"@kbn/observability-plugin@link:x-pack/plugins/observability_solution/observability": version "0.0.0" uid "" @@ -30080,10 +30080,10 @@ typescript-tuple@^2.2.1: dependencies: typescript-compare "^0.0.2" -typescript@4.7.4, typescript@^3.3.3333, typescript@^4.6.3, typescript@^5.0.4: - version "4.7.4" - resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.7.4.tgz#1a88596d1cf47d59507a1bcdfb5b9dfe4d488235" - integrity sha512-C0WQT0gezHuw6AdY1M2jxUO83Rjf0HP7Sk1DtXj6j1EwkQNZrHAg2XPWlq62oqEhYvONq5pkC2Y9oPljWToLmQ== +typescript@4.9.5, typescript@^3.3.3333, typescript@^4.6.3, typescript@^5.0.4: + version "4.9.5" + resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.9.5.tgz#095979f9bcc0d09da324d58d03ce8f8374cbe65a" + integrity sha512-1FXk9E2Hm+QzZQ7z+McJiHL4NW1F2EzMu9Nq9i3zAaGqibafqYwCVU6WyWAuyQRRzOlxou8xZSyXLEN8oKj24g== typewise-core@^1.2, typewise-core@^1.2.0: version "1.2.0"