Merge branch 'main' into renovate/main-kibana-visualization-color-related-modules

This commit is contained in:
Nick Partridge 2025-01-09 17:56:20 -06:00 committed by GitHub
commit de59fa880c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
47900 changed files with 484106 additions and 590341 deletions

View file

@ -1,15 +1,15 @@
disabled:
# Cypress configs, for now these are still run manually
- x-pack/plugins/observability_solution/observability_onboarding/e2e/ftr_config_open.ts
- x-pack/plugins/observability_solution/observability_onboarding/e2e/ftr_config_runner.ts
- x-pack/plugins/observability_solution/observability_onboarding/e2e/ftr_config.ts
- x-pack/plugins/observability_solution/apm/ftr_e2e/ftr_config_run.ts
- x-pack/plugins/observability_solution/apm/ftr_e2e/ftr_config.ts
- x-pack/plugins/observability_solution/inventory/e2e/ftr_config_run.ts
- x-pack/plugins/observability_solution/inventory/e2e/ftr_config.ts
- x-pack/plugins/observability_solution/profiling/e2e/ftr_config_open.ts
- x-pack/plugins/observability_solution/profiling/e2e/ftr_config_runner.ts
- x-pack/plugins/observability_solution/profiling/e2e/ftr_config.ts
- x-pack/solutions/observability/plugins/observability_onboarding/e2e/ftr_config_open.ts
- x-pack/solutions/observability/plugins/observability_onboarding/e2e/ftr_config_runner.ts
- x-pack/solutions/observability/plugins/observability_onboarding/e2e/ftr_config.ts
- x-pack/solutions/observability/plugins/apm/ftr_e2e/ftr_config_run.ts
- x-pack/solutions/observability/plugins/apm/ftr_e2e/ftr_config.ts
- x-pack/solutions/observability/plugins/inventory/e2e/ftr_config_run.ts
- x-pack/solutions/observability/plugins/inventory/e2e/ftr_config.ts
- x-pack/solutions/observability/plugins/profiling/e2e/ftr_config_open.ts
- x-pack/solutions/observability/plugins/profiling/e2e/ftr_config_runner.ts
- x-pack/solutions/observability/plugins/profiling/e2e/ftr_config.ts
#FTR configs
- x-pack/solutions/observability/plugins/uptime/e2e/config.ts
@ -38,7 +38,6 @@ enabled:
- x-pack/test/apm_api_integration/rules/config.ts
- x-pack/test/apm_api_integration/trial/config.ts
- x-pack/test/dataset_quality_api_integration/basic/config.ts
- x-pack/test/functional/apps/observability_logs_explorer/config.ts
- x-pack/test/functional/apps/dataset_quality/config.ts
- x-pack/test/functional/apps/slo/embeddables/config.ts
- x-pack/test/functional/apps/uptime/config.ts

View file

@ -178,6 +178,7 @@ enabled:
- x-pack/test/banners_functional/config.ts
- x-pack/test/cases_api_integration/security_and_spaces/config_basic.ts
- x-pack/test/cases_api_integration/security_and_spaces/config_trial.ts
- x-pack/test/cases_api_integration/security_and_spaces/config_trial_common.ts
- x-pack/test/cases_api_integration/security_and_spaces/config_no_public_base_url.ts
- x-pack/test/cases_api_integration/spaces_only/config.ts
- x-pack/test/disable_ems/config.ts

View file

@ -27,6 +27,7 @@ spec:
default_branch: main
repository: elastic/kibana
pipeline_file: .buildkite/pipelines/es_forward_9_dot_0.yml # Note: this file exists in 8.x only and should be moved into 8.18 once the branch is cut
skip_intermediate_builds: false
provider_settings:
prefix_pull_request_fork_branch_names: false
trigger_mode: none

View file

@ -27,6 +27,7 @@ spec:
default_branch: main
repository: elastic/kibana
pipeline_file: .buildkite/pipelines/es_forward.yml # Note: this file exists in 7.17 only
skip_intermediate_builds: false
provider_settings:
prefix_pull_request_fork_branch_names: false
trigger_mode: none

View file

@ -22,7 +22,7 @@ spec:
SLACK_NOTIFICATIONS_CHANNEL: '#kibana-operations-alerts'
ELASTIC_SLACK_NOTIFICATIONS_ENABLED: 'true'
allow_rebuilds: true
branch_configuration: main 8.x 8.17 8.16 8.15 7.17
branch_configuration: main 8.x 8.17 8.16 7.17
default_branch: main
repository: elastic/kibana
pipeline_file: .buildkite/pipelines/es_snapshots/build.yml
@ -95,7 +95,7 @@ spec:
SLACK_NOTIFICATIONS_CHANNEL: '#kibana-operations-alerts'
ELASTIC_SLACK_NOTIFICATIONS_ENABLED: 'true'
allow_rebuilds: true
branch_configuration: main 8.x 8.17 8.16 8.15 7.17
branch_configuration: main 8.x 8.17 8.16 7.17
default_branch: main
repository: elastic/kibana
pipeline_file: .buildkite/pipelines/es_snapshots/promote.yml
@ -144,7 +144,7 @@ spec:
ELASTIC_SLACK_NOTIFICATIONS_ENABLED: 'true'
REPORT_FAILED_TESTS_TO_GITHUB: 'true'
allow_rebuilds: true
branch_configuration: main 8.x 8.17 8.16 8.15 7.17
branch_configuration: main 8.x 8.17 8.16 7.17
default_branch: main
repository: elastic/kibana
pipeline_file: .buildkite/pipelines/es_snapshots/verify.yml

View file

@ -22,7 +22,7 @@ spec:
SLACK_NOTIFICATIONS_CHANNEL: '#kibana-unsupported-ftrs-alerts'
ELASTIC_SLACK_NOTIFICATIONS_ENABLED: 'true'
allow_rebuilds: true
branch_configuration: main 8.x 8.17 8.16 8.15 7.17
branch_configuration: main 8.x 8.17 8.16 7.17
default_branch: main
repository: elastic/kibana
pipeline_file: .buildkite/pipelines/on_merge_unsupported_ftrs.yml

View file

@ -25,7 +25,7 @@ spec:
REPORT_FAILED_TESTS_TO_GITHUB: 'true'
ELASTIC_SLACK_NOTIFICATIONS_ENABLED: 'true'
allow_rebuilds: true
branch_configuration: main 8.x 8.17 8.16 8.15 7.17
branch_configuration: main 8.x 8.17 8.16 7.17
default_branch: main
repository: elastic/kibana
pipeline_file: .buildkite/pipelines/on_merge.yml

View file

@ -2,10 +2,10 @@
apiVersion: backstage.io/v1alpha1
kind: Resource
metadata:
name: bk-kibana-package-registry-promote
name: bk-kibana-package-registry-verify-and-promote
description: Promote package-registry/distribution:lite
links:
- url: 'https://buildkite.com/elastic/kibana-package-registry-promote'
- url: 'https://buildkite.com/elastic/kibana-package-registry-verify-and-promote'
title: Pipeline link
spec:
type: buildkite-pipeline
@ -15,18 +15,23 @@ spec:
apiVersion: buildkite.elastic.dev/v1
kind: Pipeline
metadata:
name: kibana / package registry promote
description: Promote package-registry/distribution:lite
name: kibana / package registry verify and promote
description: Verify and promote docker.elastic.co/package-registry/distribution:lite
spec:
env:
SLACK_NOTIFICATIONS_CHANNEL: "#kibana-operations-alerts"
ELASTIC_SLACK_NOTIFICATIONS_ENABLED: "false"
ELASTIC_SLACK_NOTIFICATIONS_ENABLED: "true"
REPORT_FAILED_TESTS_TO_GITHUB: "true"
FLEET_PACKAGE_REGISTRY_DOCKER_IMAGE: "docker.elastic.co/package-registry/distribution:lite"
repository: elastic/kibana
branch_configuration: main
default_branch: main
pipeline_file: ".buildkite/pipelines/fleet/package_registry.yml"
provider_settings:
trigger_mode: none
schedules:
Daily promotion:
cronline: 0 22 * * * America/New_York
teams:
everyone:
access_level: BUILD_AND_READ

View file

@ -20,7 +20,7 @@ spec:
spec:
env:
ELASTIC_PR_COMMENTS_ENABLED: 'true'
GITHUB_BUILD_COMMIT_STATUS_ENABLED: 'true'
ELASTIC_GITHUB_BUILD_COMMIT_STATUS_ENABLED: 'true'
GITHUB_BUILD_COMMIT_STATUS_CONTEXT: kibana-ci
allow_rebuilds: true
branch_configuration: ''

View file

@ -0,0 +1,13 @@
/*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the "Elastic License
* 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
* Public License v 1"; you may not use this file except in compliance with, at
* your election, the "Elastic License 2.0", the "GNU Affero General Public
* License v3.0 only", or the "Server Side Public License, v 1".
*/
export function emitPipeline(pipelineSteps: string[]) {
const pipelineStr = [...new Set(pipelineSteps)].join('\n');
console.log(pipelineStr);
}

View file

@ -9,3 +9,4 @@
export * from './client';
export * from './types';
export * from './emitPipeline';

View file

@ -485,7 +485,10 @@ export async function pickTestGroupRunOrder() {
parallelism: unit.count,
timeout_in_minutes: 120,
key: 'jest',
agents: expandAgentQueue('n2-4-spot'),
agents: {
...expandAgentQueue('n2-4-spot'),
diskSizeGb: 75,
},
retry: {
automatic: [
{ exit_status: '-1', limit: 3 },

View file

@ -6,7 +6,7 @@ steps:
imageProject: elastic-images-prod
provider: gcp
machineType: c2-standard-16
diskSizeGb: 125
diskSizeGb: 150
timeout_in_minutes: 120
retry:
automatic:

View file

@ -18,7 +18,7 @@ steps:
image: family/kibana-ubuntu-2004
imageProject: elastic-images-prod
provider: gcp
machineType: n2-standard-4
machineType: n2-highmem-4
preemptible: true
key: build_api_docs
timeout_in_minutes: 50

View file

@ -97,7 +97,7 @@ steps:
depends_on:
- build
timeout_in_minutes: 60
parallelism: 8
parallelism: 10
retry:
automatic:
- exit_status: '-1'
@ -153,7 +153,7 @@ steps:
depends_on:
- build
timeout_in_minutes: 60
parallelism: 6
parallelism: 2
retry:
automatic:
- exit_status: '-1'
@ -181,7 +181,7 @@ steps:
depends_on:
- build
timeout_in_minutes: 60
parallelism: 6
parallelism: 4
retry:
automatic:
- exit_status: '-1'
@ -209,7 +209,7 @@ steps:
depends_on:
- build
timeout_in_minutes: 60
parallelism: 6
parallelism: 3
retry:
automatic:
- exit_status: '-1'
@ -265,7 +265,7 @@ steps:
depends_on:
- build
timeout_in_minutes: 60
parallelism: 2
parallelism: 3
retry:
automatic:
- exit_status: '-1'
@ -279,7 +279,7 @@ steps:
depends_on:
- build
timeout_in_minutes: 60
parallelism: 6
parallelism: 8
retry:
automatic:
- exit_status: '-1'

View file

@ -107,7 +107,7 @@ steps:
preemptible: true
depends_on: build
timeout_in_minutes: 60
parallelism: 8
parallelism: 10
retry:
automatic:
- exit_status: "-1"
@ -175,7 +175,7 @@ steps:
preemptible: true
depends_on: build
timeout_in_minutes: 60
parallelism: 2
parallelism: 4
retry:
automatic:
- exit_status: "-1"

View file

@ -1,2 +1,106 @@
env:
IGNORE_SHIP_CI_STATS_ERROR: 'true'
steps:
- command: echo "Placeholder"
- command: .buildkite/scripts/lifecycle/pre_build.sh
label: Pre-Build
timeout_in_minutes: 10
agents:
image: family/kibana-ubuntu-2004
imageProject: elastic-images-prod
provider: gcp
machineType: n2-standard-2
- wait
- command: .buildkite/scripts/steps/build_kibana.sh
label: Build Kibana Distribution
agents:
image: family/kibana-ubuntu-2004
imageProject: elastic-images-prod
provider: gcp
machineType: n2-standard-8
preemptible: true
key: build
if: "build.env('KIBANA_BUILD_ID') == null || build.env('KIBANA_BUILD_ID') == ''"
timeout_in_minutes: 60
retry:
automatic:
- exit_status: '-1'
limit: 3
- command: .buildkite/scripts/steps/test/pick_test_group_run_order.sh
label: 'Pick Test Group Run Order'
agents:
image: family/kibana-ubuntu-2004
imageProject: elastic-images-prod
provider: gcp
machineType: n2-standard-2
timeout_in_minutes: 10
env:
JEST_UNIT_SCRIPT: '.buildkite/scripts/steps/test/jest.sh'
JEST_INTEGRATION_SCRIPT: '.buildkite/scripts/steps/test/jest_integration.sh'
FTR_CONFIGS_SCRIPT: '.buildkite/scripts/steps/test/ftr_configs.sh'
LIMIT_CONFIG_TYPE: integration,functional
retry:
automatic:
- exit_status: '*'
limit: 1
- command: .buildkite/scripts/steps/functional/defend_workflows.sh
label: 'Defend Workflows Cypress Tests'
agents:
image: family/kibana-ubuntu-2004
imageProject: elastic-images-prod
provider: gcp
enableNestedVirtualization: true
machineType: n2-standard-4
timeout_in_minutes: 60
parallelism: 20
key: defend-workflows-stateful
depends_on: build
retry:
automatic:
- exit_status: '-1'
limit: 1
- command: .buildkite/scripts/steps/functional/defend_workflows_serverless.sh
label: 'Defend Workflows Cypress Tests on Serverless'
agents:
image: family/kibana-ubuntu-2004
imageProject: elastic-images-prod
provider: gcp
enableNestedVirtualization: true
machineType: n2-standard-4
timeout_in_minutes: 60
parallelism: 14
key: defend-workflows-serverless
depends_on: build
retry:
automatic:
- exit_status: '-1'
limit: 1
- command: .buildkite/scripts/steps/fleet/promote_package_registry.sh
label: Promote docker.elastic.co/package-registry/distribution:lite
agents:
image: family/kibana-ubuntu-2004
imageProject: elastic-images-prod
provider: gcp
machineType: n2-standard-2
depends_on:
- ftr-configs
- jest-integration
- defend-workflows-stateful
- defend-workflows-serverless
- wait: ~
continue_on_failure: true
- command: .buildkite/scripts/lifecycle/post_build.sh
label: Post-Build
timeout_in_minutes: 10
agents:
image: family/kibana-ubuntu-2004
imageProject: elastic-images-prod
provider: gcp
machineType: n2-standard-2

View file

@ -10,6 +10,7 @@ steps:
imageProject: elastic-images-prod
provider: gcp
machineType: n2-standard-2
diskSizeGb: 75
retry:
automatic:
- exit_status: '*'
@ -39,6 +40,7 @@ steps:
provider: gcp
machineType: n2-highcpu-8
preemptible: true
diskSizeGb: 75
timeout_in_minutes: 60
retry:
automatic:
@ -53,6 +55,7 @@ steps:
provider: gcp
machineType: n2-standard-2
preemptible: true
diskSizeGb: 75
timeout_in_minutes: 60
retry:
automatic:
@ -67,6 +70,7 @@ steps:
provider: gcp
machineType: n2-standard-16
preemptible: true
diskSizeGb: 75
timeout_in_minutes: 60
retry:
automatic:
@ -81,6 +85,7 @@ steps:
provider: gcp
machineType: n2-standard-32
preemptible: true
diskSizeGb: 75
timeout_in_minutes: 60
retry:
automatic:
@ -97,6 +102,7 @@ steps:
diskType: 'hyperdisk-balanced'
preemptible: true
spotZones: us-central1-a,us-central1-b,us-central1-c
diskSizeGb: 75
timeout_in_minutes: 60
retry:
automatic:
@ -111,6 +117,7 @@ steps:
provider: gcp
machineType: n2-standard-4
preemptible: true
diskSizeGb: 75
timeout_in_minutes: 60
retry:
automatic:
@ -126,8 +133,9 @@ steps:
image: family/kibana-ubuntu-2004
imageProject: elastic-images-prod
provider: gcp
machineType: n2-standard-4
machineType: n2-highmem-4
preemptible: true
diskSizeGb: 75
timeout_in_minutes: 80
retry:
automatic:
@ -143,6 +151,7 @@ steps:
imageProject: elastic-images-prod
provider: gcp
machineType: n2-standard-2
diskSizeGb: 75
timeout_in_minutes: 10
depends_on:
- build
@ -159,6 +168,7 @@ steps:
imageProject: elastic-images-prod
provider: gcp
machineType: n2-standard-2
diskSizeGb: 75
timeout_in_minutes: 10
env:
JEST_UNIT_SCRIPT: '.buildkite/scripts/steps/test/jest.sh'
@ -208,7 +218,7 @@ steps:
machineType: n2-standard-4
preemptible: true
timeout_in_minutes: 60
parallelism: 8
parallelism: 10
retry:
automatic:
- exit_status: '-1'
@ -268,7 +278,7 @@ steps:
machineType: n2-standard-4
preemptible: true
timeout_in_minutes: 60
parallelism: 6
parallelism: 2
retry:
automatic:
- exit_status: '-1'
@ -298,7 +308,7 @@ steps:
machineType: n2-standard-4
preemptible: true
timeout_in_minutes: 60
parallelism: 6
parallelism: 4
retry:
automatic:
- exit_status: '-1'
@ -328,7 +338,7 @@ steps:
machineType: n2-standard-4
preemptible: true
timeout_in_minutes: 60
parallelism: 6
parallelism: 3
retry:
automatic:
- exit_status: '-1'
@ -388,7 +398,7 @@ steps:
machineType: n2-standard-4
preemptible: true
timeout_in_minutes: 60
parallelism: 2
parallelism: 3
retry:
automatic:
- exit_status: '-1'
@ -403,7 +413,7 @@ steps:
machineType: n2-standard-4
preemptible: true
timeout_in_minutes: 60
parallelism: 6
parallelism: 8
retry:
automatic:
- exit_status: '-1'

View file

@ -37,6 +37,8 @@ steps:
machineType: n2-standard-4
preemptible: true
depends_on: build
env:
PING_SLACK_TEAM: "@obs-ux-infra_services-team"
timeout_in_minutes: 120
retry:
automatic:
@ -54,6 +56,8 @@ steps:
machineType: n2-standard-4
preemptible: true
depends_on: build
env:
PING_SLACK_TEAM: "@obs-ux-infra_services-team"
timeout_in_minutes: 120
retry:
automatic:
@ -71,6 +75,8 @@ steps:
machineType: n2-standard-4
preemptible: true
depends_on: build
env:
PING_SLACK_TEAM: "@obs-ux-management-team"
timeout_in_minutes: 120
artifact_paths:
- 'x-pack/solutions/observability/plugins/synthetics/e2e/.journeys/**/*'
@ -90,6 +96,8 @@ steps:
machineType: n2-standard-4
preemptible: true
depends_on: build
env:
PING_SLACK_TEAM: "@obs-ux-infra_services-team"
timeout_in_minutes: 120
retry:
automatic:

View file

@ -94,7 +94,7 @@ steps:
depends_on:
- build
timeout_in_minutes: 60
parallelism: 8
parallelism: 10
retry:
automatic:
- exit_status: '-1'
@ -162,7 +162,7 @@ steps:
depends_on:
- build
timeout_in_minutes: 60
parallelism: 6
parallelism: 2
retry:
automatic:
- exit_status: '-1'
@ -196,7 +196,7 @@ steps:
depends_on:
- build
timeout_in_minutes: 60
parallelism: 6
parallelism: 4
retry:
automatic:
- exit_status: '-1'
@ -230,7 +230,7 @@ steps:
depends_on:
- build
timeout_in_minutes: 60
parallelism: 6
parallelism: 3
retry:
automatic:
- exit_status: '-1'
@ -298,7 +298,7 @@ steps:
depends_on:
- build
timeout_in_minutes: 60
parallelism: 2
parallelism: 3
retry:
automatic:
- exit_status: '-1'
@ -315,7 +315,7 @@ steps:
depends_on:
- build
timeout_in_minutes: 60
parallelism: 6
parallelism: 8
retry:
automatic:
- exit_status: '-1'

View file

@ -4,6 +4,7 @@ steps:
timeout_in_minutes: 10
agents:
machineType: n2-standard-2
diskSizeGb: 75
- wait
@ -26,6 +27,7 @@ steps:
agents:
machineType: n2-highcpu-8
preemptible: true
diskSizeGb: 75
key: quick_checks
timeout_in_minutes: 60
retry:
@ -39,6 +41,7 @@ steps:
agents:
machineType: n2-standard-2
preemptible: true
diskSizeGb: 75
timeout_in_minutes: 60
retry:
automatic:
@ -50,6 +53,7 @@ steps:
agents:
machineType: n2-standard-16
preemptible: true
diskSizeGb: 75
key: linting
timeout_in_minutes: 60
retry:
@ -62,6 +66,7 @@ steps:
agents:
machineType: n2-standard-32
preemptible: true
diskSizeGb: 75
key: linting_with_types
timeout_in_minutes: 60
retry:
@ -74,6 +79,7 @@ steps:
agents:
machineType: n2-standard-4
preemptible: true
diskSizeGb: 75
key: check_oas_snapshot
timeout_in_minutes: 60
retry:
@ -88,6 +94,7 @@ steps:
diskType: 'hyperdisk-balanced'
preemptible: true
spotZones: us-central1-a,us-central1-b,us-central1-c
diskSizeGb: 75
key: check_types
timeout_in_minutes: 60
retry:
@ -101,6 +108,7 @@ steps:
label: Mark CI Stats as ready
agents:
machineType: n2-standard-2
diskSizeGb: 75
timeout_in_minutes: 10
depends_on:
- build
@ -114,6 +122,7 @@ steps:
label: 'Pick Test Group Run Order'
agents:
machineType: n2-standard-2
diskSizeGb: 75
timeout_in_minutes: 10
env:
JEST_UNIT_SCRIPT: '.buildkite/scripts/steps/test/jest.sh'
@ -127,8 +136,9 @@ steps:
- command: .buildkite/scripts/steps/api_docs/build_api_docs.sh
label: 'Build API Docs'
agents:
machineType: n2-standard-4
machineType: n2-highmem-4
preemptible: true
diskSizeGb: 75
key: build_api_docs
timeout_in_minutes: 90
retry:

View file

@ -0,0 +1,12 @@
steps:
- command: .buildkite/scripts/steps/renovate.sh
label: 'Renovate validation'
agents:
machineType: n2-highcpu-8
preemptible: true
key: renovate_validation
timeout_in_minutes: 60
retry:
automatic:
- exit_status: '-1'
limit: 3

View file

@ -33,7 +33,7 @@ steps:
- check_types
- check_oas_snapshot
timeout_in_minutes: 60
parallelism: 2
parallelism: 4
retry:
automatic:
- exit_status: '-1'
@ -73,7 +73,7 @@ steps:
- check_types
- check_oas_snapshot
timeout_in_minutes: 60
parallelism: 2
parallelism: 3
retry:
automatic:
- exit_status: '-1'

View file

@ -13,7 +13,7 @@ steps:
- check_types
- check_oas_snapshot
timeout_in_minutes: 60
parallelism: 2
parallelism: 3
retry:
automatic:
- exit_status: '-1'

View file

@ -13,7 +13,7 @@ steps:
- check_types
- check_oas_snapshot
timeout_in_minutes: 60
parallelism: 7
parallelism: 8
retry:
automatic:
- exit_status: '-1'
@ -33,7 +33,7 @@ steps:
- check_types
- check_oas_snapshot
timeout_in_minutes: 60
parallelism: 8
parallelism: 10
retry:
automatic:
- exit_status: '-1'

View file

@ -1,6 +1,6 @@
env:
ELASTIC_PR_COMMENTS_ENABLED: 'true'
GITHUB_BUILD_COMMIT_STATUS_ENABLED: 'true'
ELASTIC_GITHUB_BUILD_COMMIT_STATUS_ENABLED: 'true'
GITHUB_BUILD_COMMIT_STATUS_CONTEXT: kibana-deploy-project-from-pr
steps:

View file

@ -52,4 +52,12 @@ if [[ "$IS_TEST_EXECUTION_STEP" == "true" ]]; then
buildkite-agent artifact upload 'target/test_failures/**/*'
ts-node .buildkite/scripts/lifecycle/annotate_test_failures.ts
fi
fi
if [[ $BUILDKITE_COMMAND_EXIT_STATUS -ne 0 ]]; then
# If the slack team environment variable is set, ping the team in slack
if [ -n "${PING_SLACK_TEAM:-}" ]; then
buildkite-agent meta-data set 'slack:ping_team:body' "${PING_SLACK_TEAM}, can you please take a look at the test failures?"
fi
fi

View file

@ -7,9 +7,22 @@
* License v3.0 only", or the "Server Side Public License, v 1".
*/
/* eslint "no-restricted-syntax": [
"error",
{
"selector": "CallExpression[callee.object.name='console'][callee.property.name!=/^(warn|error)$/]",
"message": "Debug logging to stdout in this file will attempt to upload the log message as yaml to buildkite, which might result in pipeline syntax error. Use emitPipeline() to upload steps, or log to stderr."
}
] */
import fs from 'fs';
import prConfigs from '../../../pull_requests.json';
import { areChangesSkippable, doAnyChangesMatch, getAgentImageConfig } from '#pipeline-utils';
import {
areChangesSkippable,
doAnyChangesMatch,
getAgentImageConfig,
emitPipeline,
} from '#pipeline-utils';
const prConfig = prConfigs.jobs.find((job) => job.pipelineSlug === 'kibana-pull-request');
const emptyStep = `steps: []`;
@ -35,25 +48,34 @@ const getPipeline = (filename: string, removeSteps = true) => {
const skippable = await areChangesSkippable(SKIPPABLE_PR_MATCHERS, REQUIRED_PATHS);
if (skippable) {
console.log(emptyStep);
emitPipeline([emptyStep]);
return;
}
pipeline.push(getAgentImageConfig({ returnYaml: true }));
const onlyRunQuickChecks = await areChangesSkippable([/^renovate\.json$/], REQUIRED_PATHS);
if (onlyRunQuickChecks) {
pipeline.push(getPipeline('.buildkite/pipelines/pull_request/renovate.yml', false));
console.warn('Isolated changes to renovate.json. Skipping main PR pipeline.');
emitPipeline(pipeline);
return;
}
pipeline.push(getPipeline('.buildkite/pipelines/pull_request/base.yml', false));
if (await doAnyChangesMatch([/^packages\/kbn-handlebars/])) {
if (await doAnyChangesMatch([/^src\/platform\/packages\/private\/kbn-handlebars/])) {
pipeline.push(getPipeline('.buildkite/pipelines/pull_request/kbn_handlebars.yml'));
}
if (
(await doAnyChangesMatch([
/^src\/plugins\/data/,
/^x-pack\/plugins\/actions/,
/^x-pack\/plugins\/alerting/,
/^x-pack\/plugins\/event_log/,
/^x-pack\/plugins\/rule_registry/,
/^x-pack\/plugins\/task_manager/,
/^src\/platform\/plugins\/shared\/data/,
/^x-pack\/platform\/plugins\/shared\/actions/,
/^x-pack\/platform\/plugins\/shared\/alerting/,
/^x-pack\/platform\/plugins\/shared\/event_log/,
/^x-pack\/platform\/plugins\/shared\/rule_registry/,
/^x-pack\/platform\/plugins\/shared\/task_manager/,
])) ||
GITHUB_PR_LABELS.includes('ci:all-cypress-suites')
) {
@ -61,7 +83,7 @@ const getPipeline = (filename: string, removeSteps = true) => {
}
if (
(await doAnyChangesMatch([/^x-pack\/plugins\/cases/])) ||
(await doAnyChangesMatch([/^x-pack\/platform\/plugins\/shared\/cases/])) ||
GITHUB_PR_LABELS.includes('ci:all-cypress-suites')
) {
pipeline.push(getPipeline('.buildkite/pipelines/pull_request/response_ops_cases.yml'));
@ -69,7 +91,7 @@ const getPipeline = (filename: string, removeSteps = true) => {
if (
(await doAnyChangesMatch([
/^x-pack\/plugins\/observability_solution\/apm/,
/^x-pack\/solutions\/observability\/plugins\/apm/,
/^packages\/kbn-apm-synthtrace/,
])) ||
GITHUB_PR_LABELS.includes('ci:all-cypress-suites')
@ -79,7 +101,7 @@ const getPipeline = (filename: string, removeSteps = true) => {
if (
(await doAnyChangesMatch([
/^x-pack\/plugins\/observability_solution\/inventory/,
/^x-pack\/solutions\/observability\/plugins\/inventory/,
/^packages\/kbn-apm-synthtrace/,
])) ||
GITHUB_PR_LABELS.includes('ci:all-cypress-suites')
@ -90,7 +112,7 @@ const getPipeline = (filename: string, removeSteps = true) => {
if (
(await doAnyChangesMatch([
/^x-pack\/solutions\/observability\/plugins\/observability_onboarding/,
/^x-pack\/plugins\/fleet/,
/^x-pack\/platform\/plugins\/shared\/fleet/,
])) ||
GITHUB_PR_LABELS.includes('ci:all-cypress-suites')
) {
@ -100,14 +122,17 @@ const getPipeline = (filename: string, removeSteps = true) => {
}
if (
(await doAnyChangesMatch([/^x-pack\/plugins\/observability_solution\/profiling/])) ||
(await doAnyChangesMatch([/^x-pack\/solutions\/observability\/plugins\/profiling/])) ||
GITHUB_PR_LABELS.includes('ci:all-cypress-suites')
) {
pipeline.push(getPipeline('.buildkite/pipelines/pull_request/profiling_cypress.yml'));
}
if (
(await doAnyChangesMatch([/^x-pack\/plugins\/fleet/, /^x-pack\/test\/fleet_cypress/])) ||
(await doAnyChangesMatch([
/^x-pack\/platform\/plugins\/shared\/fleet/,
/^x-pack\/test\/fleet_cypress/,
])) ||
GITHUB_PR_LABELS.includes('ci:all-cypress-suites')
) {
pipeline.push(getPipeline('.buildkite/pipelines/pull_request/fleet_cypress.yml'));
@ -157,9 +182,9 @@ const getPipeline = (filename: string, removeSteps = true) => {
/^x-pack\/platform\/packages\/shared\/ai-infra/,
/^x-pack\/platform\/plugins\/shared\/ai_infra/,
/^x-pack\/platform\/plugins\/shared\/inference/,
/^x-pack\/plugins\/stack_connectors\/server\/connector_types\/bedrock/,
/^x-pack\/plugins\/stack_connectors\/server\/connector_types\/gemini/,
/^x-pack\/plugins\/stack_connectors\/server\/connector_types\/openai/,
/^x-pack\/platform\/plugins\/shared\/stack_connectors\/server\/connector_types\/bedrock/,
/^x-pack\/platform\/plugins\/shared\/stack_connectors\/server\/connector_types\/gemini/,
/^x-pack\/platform\/plugins\/shared\/stack_connectors\/server\/connector_types\/openai/,
])) ||
GITHUB_PR_LABELS.includes('ci:all-gen-ai-suites')
) {
@ -240,20 +265,20 @@ const getPipeline = (filename: string, removeSteps = true) => {
(await doAnyChangesMatch([
/^package.json/,
/^packages\/kbn-securitysolution-.*/,
/^x-pack\/plugins\/alerting/,
/^x-pack\/plugins\/data_views\/common/,
/^x-pack\/plugins\/lists/,
/^x-pack\/plugins\/rule_registry\/common/,
/^x-pack\/platform\/plugins\/shared\/alerting/,
/^x-pack\/platform\/plugins\/shared\/data_views\/common/,
/^x-pack\/solutions\/security\/plugins\/lists/,
/^x-pack\/platform\/plugins\/shared\/rule_registry\/common/,
/^x-pack\/solutions\/security\/plugins\/security_solution/,
/^x-pack\/solutions\/security\/plugins\/security_solution_ess/,
/^x-pack\/solutions\/security\/plugins\/security_solution_serverless/,
/^x-pack\/plugins\/task_manager/,
/^x-pack\/platform\/plugins\/shared\/task_manager/,
/^x-pack\/solutions\/security\/plugins\/timelines/,
/^x-pack\/plugins\/triggers_actions_ui\/public\/application\/sections\/action_connector_form/,
/^x-pack\/plugins\/triggers_actions_ui\/public\/application\/context\/actions_connectors_context\.tsx/,
/^x-pack\/plugins\/triggers_actions_ui\/server\/connector_types\/openai/,
/^x-pack\/plugins\/triggers_actions_ui\/server\/connector_types\/bedrock/,
/^x-pack\/plugins\/usage_collection\/public/,
/^x-pack\/platform\/plugins\/shared\/triggers_actions_ui\/public\/application\/sections\/action_connector_form/,
/^x-pack\/platform\/plugins\/shared\/triggers_actions_ui\/public\/application\/context\/actions_connectors_context\.tsx/,
/^x-pack\/platform\/plugins\/shared\/triggers_actions_ui\/server\/connector_types\/openai/,
/^x-pack\/platform\/plugins\/shared\/triggers_actions_ui\/server\/connector_types\/bedrock/,
/^x-pack\/platform\/plugins\/shared\/usage_collection\/public/,
/^x-pack\/solutions\/security\/plugins\/elastic_assistant/,
/^x-pack\/solutions\/security\/packages/,
/^x-pack\/platform\/packages\/shared\/kbn-elastic-assistant/,
@ -284,59 +309,59 @@ const getPipeline = (filename: string, removeSteps = true) => {
if (
(await doAnyChangesMatch([
/^package.json/,
/^packages\/kbn-discover-utils/,
/^src\/platform\/packages\/shared\/kbn-discover-utils/,
/^packages\/kbn-doc-links/,
/^packages\/kbn-dom-drag-drop/,
/^packages\/kbn-es-query/,
/^packages\/kbn-i18n/,
/^packages\/kbn-i18n-react/,
/^packages\/kbn-grouping/,
/^packages\/kbn-resizable-layout/,
/^packages\/kbn-rison/,
/^packages\/kbn-rule-data-utils/,
/^packages\/kbn-safer-lodash-set/,
/^packages\/kbn-search-types/,
/^src\/platform\/packages\/shared\/kbn-dom-drag-drop/,
/^src\/platform\/packages\/shared\/kbn-es-query/,
/^src\/platform\/packages\/shared\/kbn-i18n/,
/^src\/platform\/packages\/shared\/kbn-i18n-react/,
/^src\/platform\/packages\/shared\/kbn-grouping/,
/^src\/platform\/packages\/shared\/kbn-resizable-layout/,
/^src\/platform\/packages\/shared\/kbn-rison/,
/^src\/platform\/packages\/shared\/kbn-rule-data-utils/,
/^src\/platform\/packages\/shared\/kbn-safer-lodash-set/,
/^src\/platform\/packages\/shared\/kbn-search-types/,
/^packages\/kbn-securitysolution-.*/,
/^src\/platform\/packages\/shared\/kbn-securitysolution-ecs/,
/^packages\/kbn-securitysolution-io-ts-alerting-types/,
/^packages\/kbn-securitysolution-io-ts-list-types/,
/^packages\/kbn-securitysolution-list-hooks/,
/^packages\/kbn-securitysolution-t-grid/,
/^packages\/kbn-ui-theme/,
/^packages\/kbn-utility-types/,
/^x-pack\/solutions\/security\/packages\/kbn-securitysolution-io-ts-alerting-types/,
/^x-pack\/solutions\/security\/packages\/kbn-securitysolution-io-ts-list-types/,
/^x-pack\/solutions\/security\/packages\/kbn-securitysolution-list-hooks/,
/^x-pack\/solutions\/security\/packages\/kbn-securitysolution-t-grid/,
/^src\/platform\/packages\/shared\/kbn-ui-theme/,
/^src\/platform\/packages\/shared\/kbn-utility-types/,
/^packages\/react/,
/^packages\/shared-ux/,
/^src\/core/,
/^src\/plugins\/charts/,
/^src\/plugins\/controls/,
/^src\/plugins\/data/,
/^src\/plugins\/data_views/,
/^src\/plugins\/discover/,
/^src\/plugins\/field_formats/,
/^src\/plugins\/inspector/,
/^src\/plugins\/kibana_react/,
/^src\/plugins\/kibana_utils/,
/^src\/plugins\/saved_search/,
/^src\/plugins\/ui_actions/,
/^src\/plugins\/unified_histogram/,
/^src\/plugins\/unified_search/,
/^src\/platform\/plugins\/shared\/charts/,
/^src\/platform\/plugins\/shared\/controls/,
/^src\/platform\/plugins\/shared\/data/,
/^src\/platform\/plugins\/shared\/data_views/,
/^src\/platform\/plugins\/shared\/discover/,
/^src\/platform\/plugins\/shared\/field_formats/,
/^src\/platform\/plugins\/shared\/inspector/,
/^src\/platform\/plugins\/shared\/kibana_react/,
/^src\/platform\/plugins\/shared\/kibana_utils/,
/^src\/platform\/plugins\/shared\/saved_search/,
/^src\/platform\/plugins\/shared\/ui_actions/,
/^src\/platform\/plugins\/shared\/unified_histogram/,
/^src\/platform\/plugins\/shared\/unified_search/,
/^x-pack\/platform\/packages\/shared\/kbn-elastic-assistant/,
/^x-pack\/platform\/packages\/shared\/kbn-elastic-assistant-common/,
/^x-pack\/solutions\/security\/packages/,
/^x-pack\/plugins\/alerting/,
/^x-pack\/plugins\/cases/,
/^x-pack\/plugins\/data_views\/common/,
/^x-pack\/platform\/plugins\/shared\/alerting/,
/^x-pack\/platform\/plugins\/shared\/cases/,
/^x-pack\/platform\/plugins\/shared\/data_views\/common/,
/^x-pack\/solutions\/security\/plugins\/elastic_assistant/,
/^x-pack\/plugins\/lists/,
/^x-pack\/plugins\/rule_registry\/common/,
/^x-pack\/solutions\/security\/plugins\/lists/,
/^x-pack\/platform\/plugins\/shared\/rule_registry\/common/,
/^x-pack\/solutions\/security\/plugins\/security_solution/,
/^x-pack\/solutions\/security\/plugins\/security_solution_ess/,
/^x-pack\/solutions\/security\/plugins\/security_solution_serverless/,
/^x-pack\/plugins\/task_manager/,
/^x-pack\/platform\/plugins\/shared\/task_manager/,
/^x-pack\/solutions\/security\/plugins\/threat_intelligence/,
/^x-pack\/solutions\/security\/plugins\/timelines/,
/^x-pack\/plugins\/triggers_actions_ui/,
/^x-pack\/plugins\/usage_collection\/public/,
/^x-pack\/platform\/plugins\/shared\/triggers_actions_ui/,
/^x-pack\/platform\/plugins\/shared\/usage_collection\/public/,
/^x-pack\/test\/functional\/es_archives\/security_solution/,
/^x-pack\/test\/security_solution_cypress/,
])) ||
@ -379,7 +404,7 @@ const getPipeline = (filename: string, removeSteps = true) => {
if (
(await doAnyChangesMatch([
/^x-pack\/plugins\/discover_enhanced\/ui_tests/,
/^x-pack\/platform\/plugins\/private\/discover_enhanced\/ui_tests/,
/^packages\/kbn-scout/,
])) ||
GITHUB_PR_LABELS.includes('ci:scout-ui-tests')
@ -389,8 +414,7 @@ const getPipeline = (filename: string, removeSteps = true) => {
pipeline.push(getPipeline('.buildkite/pipelines/pull_request/post_build.yml'));
// remove duplicated steps
console.log([...new Set(pipeline)].join('\n'));
emitPipeline(pipeline);
} catch (ex) {
console.error('Error while generating the pipeline steps: ' + ex.message, ex);
process.exit(1);

View file

@ -5,7 +5,7 @@ set -euo pipefail
.buildkite/scripts/bootstrap.sh
echo "--- Build API Docs"
node --max-old-space-size=12000 scripts/build_api_docs
node --max-old-space-size=24000 scripts/build_api_docs
if [[ "${PUBLISH_API_DOCS_CHANGES:-}" == "true" ]]; then
echo "--- Store API Docs changes in Buildkite"

View file

@ -5,4 +5,4 @@ set -euo pipefail
source .buildkite/scripts/common/util.sh
echo --- Building api docs
node --max-old-space-size=12000 scripts/build_api_docs
node --max-old-space-size=24000 scripts/build_api_docs

View file

@ -28,6 +28,6 @@ else
git clone --depth 1 -b $ECS_STABLE_VERSION https://github.com/elastic/ecs.git ../ecs
fi
node x-pack/plugins/event_log/scripts/create_schemas.js
node x-pack/platform/plugins/shared/event_log/scripts/create_schemas.js
check_for_changed_files 'node x-pack/plugins/event_log/scripts/create_schemas.js' false 'Follow the directions in x-pack/plugins/event_log/generated/README.md to make schema changes for the event log.'
check_for_changed_files 'node x-pack/platform/plugins/shared/event_log/scripts/create_schemas.js' false 'Follow the directions in x-pack/platform/plugins/shared/event_log/generated/README.md to make schema changes for the event log.'

View file

@ -18,3 +18,4 @@
.buildkite/scripts/steps/checks/renovate.sh
.buildkite/scripts/steps/checks/native_modules.sh
.buildkite/scripts/steps/checks/test_files_missing_owner.sh
.buildkite/scripts/steps/checks/styled_components_mapping.sh

View file

@ -0,0 +1,11 @@
#!/usr/bin/env bash
set -euo pipefail
source .buildkite/scripts/common/util.sh
echo --- Check styled-components mapping
cmd="node scripts/styled_components_mapping"
eval "$cmd"
check_for_changed_files "$cmd" true

View file

@ -7,16 +7,16 @@ source .buildkite/scripts/common/util.sh
echo --- Security Solution OpenAPI Code Generation
echo -e "\n[Security Solution OpenAPI Code Generation] OpenAPI Common Package\n"
(cd packages/kbn-openapi-common && yarn openapi:generate)
(cd src/platform/packages/shared/kbn-openapi-common && yarn openapi:generate)
echo -e "\n[Security Solution OpenAPI Code Generation] Lists Common Package\n"
(cd packages/kbn-securitysolution-lists-common && yarn openapi:generate)
(cd x-pack/solutions/security/packages/kbn-securitysolution-lists-common && yarn openapi:generate)
echo -e "\n[Security Solution OpenAPI Code Generation] Exceptions Common Package\n"
(cd packages/kbn-securitysolution-exceptions-common && yarn openapi:generate)
(cd x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common && yarn openapi:generate)
echo -e "\n[Security Solution OpenAPI Code Generation] Endpoint Exceptions Common Package\n"
(cd packages/kbn-securitysolution-endpoint-exceptions-common && yarn openapi:generate)
(cd x-pack/solutions/security/packages/kbn-securitysolution-endpoint-exceptions-common && yarn openapi:generate)
echo -e "\n[Security Solution OpenAPI Code Generation] Security Solution Plugin\n"
(cd x-pack/solutions/security/plugins/security_solution && yarn openapi:generate)

View file

@ -72,7 +72,7 @@ EOT
cat << EOF | buildkite-agent pipeline upload
steps:
- label: "Builds Kibana VM images for cache update"
- label: "Update cache for ES serverless image"
trigger: kibana-vm-images
async: true
build:

View file

@ -16,9 +16,11 @@ ts-node "$(dirname "${0}")/promote_manifest.ts" "$ES_SNAPSHOT_MANIFEST"
if [[ "$BUILDKITE_BRANCH" == "main" ]]; then
echo "--- Trigger agent packer cache pipeline"
ts-node .buildkite/scripts/steps/trigger_pipeline.ts kibana-agent-packer-cache main
cat << EOF | buildkite-agent pipeline upload
fi
cat << EOF | buildkite-agent pipeline upload
steps:
- label: "Builds Kibana VM images for cache update"
- label: "Update cache for ES $BUILDKITE_BRANCH snapshot"
trigger: kibana-vm-images
async: true
build:
@ -26,4 +28,3 @@ steps:
IMAGES_CONFIG: "kibana/images.yml"
RETRY: "1"
EOF
fi

View file

@ -0,0 +1,22 @@
#!/bin/bash
set -euo pipefail
PACKAGE_REGISTRY_BASE_IMAGE='docker.elastic.co/package-registry/distribution:lite'
PACKAGE_REGISTRY_TARGET_IMAGE='docker.elastic.co/kibana-ci/package-registry-distribution:lite'
if [[ "$BUILDKITE_BRANCH" == "main" ]]; then
docker buildx imagetools create -t "$PACKAGE_REGISTRY_TARGET_IMAGE" "$PACKAGE_REGISTRY_BASE_IMAGE"
cat << EOF | buildkite-agent pipeline upload
steps:
- label: "Update cache for EPR image"
trigger: kibana-vm-images
async: true
build:
env:
IMAGES_CONFIG: "kibana/images.yml"
RETRY: "1"
EOF
else
echo "Skipping promotion for untracked branch $BUILDKITE_BRANCH"
fi

View file

@ -31,6 +31,6 @@ echo "--- APM Cypress Tests"
cd "$XPACK_DIR"
node plugins/observability_solution/apm/scripts/test/e2e.js \
node solutions/observability/plugins/apm/scripts/test/e2e.js \
--kibana-install-dir "$KIBANA_BUILD_LOCATION" \
$CYPRESS_ARGS

View file

@ -9,7 +9,7 @@ export KIBANA_INSTALL_DIR=${KIBANA_BUILD_LOCATION}
echo "--- Fleet Cypress tests (Chrome)"
cd x-pack/plugins/fleet
cd x-pack/platform/plugins/shared/fleet
set +e
yarn cypress:run:reporter; status=$?; yarn cypress_space_awareness:run:reporter; space_status=$?; yarn junit:merge || :; [ "$status" -ne 0 ] && exit $status || [ "$space_status" -ne 0 ] && exit $space_status || exit 0

View file

@ -14,5 +14,5 @@ echo "--- Observability Inventory Cypress Tests"
cd "$XPACK_DIR"
node plugins/observability_solution/inventory/scripts/test/e2e.js \
node solutions/observability/plugins/inventory/scripts/test/e2e.js \
--kibana-install-dir "$KIBANA_BUILD_LOCATION" \

View file

@ -14,5 +14,5 @@ echo "--- Observability onboarding Cypress Tests"
cd "$XPACK_DIR"
node plugins/observability_solution/observability_onboarding/scripts/test/e2e.js \
node solutions/observability/plugins/observability_onboarding/scripts/test/e2e.js \
--kibana-install-dir "$KIBANA_BUILD_LOCATION" \

View file

@ -14,5 +14,5 @@ echo "--- Profiling Cypress Tests"
cd "$XPACK_DIR"
NODE_OPTIONS=--openssl-legacy-provider node plugins/observability_solution/profiling/scripts/test/e2e.js \
NODE_OPTIONS=--openssl-legacy-provider node solutions/observability/plugins/profiling/scripts/test/e2e.js \
--kibana-install-dir "$KIBANA_BUILD_LOCATION" \

View file

@ -36,7 +36,6 @@ buildkite-agent artifact upload "${OUTPUT_DIR}/scalability_traces.tar.gz"
echo "--- Downloading Kibana artifacts used in tests"
download_artifact kibana-default.tar.gz "${OUTPUT_DIR}/" --build "${KIBANA_BUILD_ID:-$BUILDKITE_BUILD_ID}"
download_artifact kibana-default-plugins.tar.gz "${OUTPUT_DIR}/" --build "${KIBANA_BUILD_ID:-$BUILDKITE_BUILD_ID}"
echo "--- Adding commit info"
echo "${BUILDKITE_COMMIT}" > "${OUTPUT_DIR}/KIBANA_COMMIT_HASH"

View file

@ -6,7 +6,7 @@ source .buildkite/scripts/steps/functional/common.sh
export JOB=kibana-scout-ui-tests
TEST_CONFIG="x-pack/plugins/discover_enhanced/ui_tests/playwright.config.ts"
TEST_CONFIG="x-pack/platform/plugins/private/discover_enhanced/ui_tests/playwright.config.ts"
KIBANA_DIR="$KIBANA_BUILD_LOCATION"
declare -A TESTS=(

View file

@ -7,4 +7,4 @@ export DISABLE_BOOTSTRAP_VALIDATION=true
.buildkite/scripts/bootstrap.sh
echo "--- Build API Docs"
node --max-old-space-size=12000 scripts/build_api_docs
node --max-old-space-size=24000 scripts/build_api_docs

View file

@ -16,13 +16,13 @@ echo -e "\n[Security Solution OpenAPI Bundling] Entity Analytics API\n"
(cd x-pack/solutions/security/plugins/security_solution && yarn openapi:bundle:entity-analytics)
echo -e "\n[Security Solution OpenAPI Bundling] Lists API\n"
(cd packages/kbn-securitysolution-lists-common && yarn openapi:bundle)
(cd x-pack/solutions/security/packages/kbn-securitysolution-lists-common && yarn openapi:bundle)
echo -e "\n[Security Solution OpenAPI Bundling] Exceptions API\n"
(cd packages/kbn-securitysolution-exceptions-common && yarn openapi:bundle)
(cd x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common && yarn openapi:bundle)
echo -e "\n[Security Solution OpenAPI Bundling] Endpoint Exceptions API\n"
(cd packages/kbn-securitysolution-endpoint-exceptions-common && yarn openapi:bundle)
(cd x-pack/solutions/security/packages/kbn-securitysolution-endpoint-exceptions-common && yarn openapi:bundle)
echo -e "\n[Security Solution OpenAPI Bundling] Endpoint Management API\n"
(cd x-pack/solutions/security/plugins/security_solution && yarn openapi:bundle:endpoint-management)

View file

@ -0,0 +1,6 @@
#!/usr/bin/env bash
set -euo pipefail
echo '--- Renovate: validation'
.buildkite/scripts/steps/checks/renovate.sh

View file

@ -36,7 +36,6 @@ download_artifacts() {
tar -xzf "${LATEST_RUN_ARTIFACTS_DIR}/kibana-default.tar.gz" -C "$KIBANA_BUILD_LOCATION" --strip=1
cd "$KIBANA_DIR"
tar -xzf "${LATEST_RUN_ARTIFACTS_DIR}/kibana-default-plugins.tar.gz"
tar -xzf "${LATEST_RUN_ARTIFACTS_DIR}/scalability_traces.tar.gz"
}

View file

@ -10,55 +10,9 @@
import { execSync } from 'child_process';
import fs from 'fs';
import path from 'path';
import { storybookAliases } from '../../../../src/dev/storybook/aliases';
import { getKibanaDir } from '#pipeline-utils';
// TODO - how to generate this dynamically?
const STORYBOOKS = [
'ai_assistant',
'apm',
'canvas',
'cases',
'cell_actions',
'chart_icons',
'cloud_security_posture_packages',
'coloring',
'content_management_examples',
'custom_integrations',
'dashboard_enhanced',
'dashboard',
'data',
'esql_editor',
'expression_error',
'expression_image',
'expression_metric',
'expression_repeat_image',
'expression_reveal_image',
'expression_shape',
'expression_tagcloud',
'fleet',
'grouping',
'home',
'infra',
'kibana_react',
'language_documentation_popover',
'lists',
'logs_explorer',
'management',
'observability_ai_assistant',
'observability_inventory',
'observability_shared',
'observability',
'presentation',
'random_sampling',
'security_solution_packages',
'security_solution',
'serverless',
'shared_ux',
'triggers_actions_ui',
'ui_actions_enhanced',
'unified_search',
];
const GITHUB_CONTEXT = 'Build and Publish Storybooks';
const STORYBOOK_DIRECTORY =
@ -84,7 +38,7 @@ const ghStatus = (state: string, description: string) =>
const build = () => {
console.log('--- Building Storybooks');
for (const storybook of STORYBOOKS) {
for (const storybook of Object.keys(storybookAliases)) {
exec(`STORYBOOK_BASE_URL=${STORYBOOK_BASE_URL}`, `yarn storybook --site ${storybook}`);
}
};

View file

@ -5,4 +5,4 @@ set -euo pipefail
source .buildkite/scripts/common/util.sh
echo '--- Checking for @kbn/handlebars upstream updates'
packages/kbn-handlebars/scripts/check_for_upstream_updates.sh
src/platform/packages/private/kbn-handlebars/scripts/check_for_upstream_updates.sh

View file

@ -21,13 +21,13 @@ snapshots.js
# plugin overrides
/src/core/lib/kbn_internal_native_observable
/src/plugins/data/common/es_query/kuery/ast/_generated_/**
/x-pack/plugins/canvas/canvas_plugin
/x-pack/plugins/canvas/shareable_runtime/build
/x-pack/plugins/canvas/storybook/build
/x-pack/plugins/reporting/server/export_types/printable_pdf/server/lib/pdf/assets/**
/x-pack/plugins/reporting/server/export_types/printable_pdf_v2/server/lib/pdf/assets/**
/x-pack/plugins/cloud_integrations/cloud_full_story/server/assets/**
/src/platform/plugins/shared/data/common/es_query/kuery/ast/_generated_/**
/x-pack/platform/plugins/private/canvas/canvas_plugin
/x-pack/platform/plugins/private/canvas/shareable_runtime/build
/x-pack/platform/plugins/private/canvas/storybook/build
/x-pack/platform/plugins/private/reporting/server/export_types/printable_pdf/server/lib/pdf/assets/**
/x-pack/platform/plugins/private/reporting/server/export_types/printable_pdf_v2/server/lib/pdf/assets/**
/x-pack/platform/plugins/private/cloud_integrations/cloud_full_story/server/assets/**
# package overrides
/packages/kbn-eslint-config
@ -37,8 +37,8 @@ snapshots.js
/packages/kbn-test/src/functional_test_runner/__tests__/fixtures/
/packages/kbn-test/src/functional_test_runner/lib/config/__tests__/fixtures/
/packages/kbn-ui-framework/dist
/packages/kbn-flot-charts/lib
/packages/kbn-monaco/src/**/antlr
/src/platform/packages/shared/kbn-flot-charts/lib
/src/platform/packages/shared/kbn-monaco/src/**/antlr
/src/platform/packages/shared/kbn-esql-ast/src/**/antlr
# Bazel

View file

@ -84,7 +84,7 @@ const ELV2_LICENSE_HEADER = `
const SAFER_LODASH_SET_HEADER = `
/*
* Elasticsearch B.V licenses this file to you under the MIT License.
* See \`packages/kbn-safer-lodash-set/LICENSE\` for more information.
* See \`src/platform/packages/shared/kbn-safer-lodash-set/LICENSE\` for more information.
*/
`;
@ -93,7 +93,7 @@ const SAFER_LODASH_SET_LODASH_HEADER = `
* This file is forked from the lodash project (https://lodash.com/),
* and may include modifications made by Elasticsearch B.V.
* Elasticsearch B.V. licenses this file to you under the MIT License.
* See \`packages/kbn-safer-lodash-set/LICENSE\` for more information.
* See \`src/platform/packages/shared/kbn-safer-lodash-set/LICENSE\` for more information.
*/
`;
@ -102,14 +102,14 @@ const SAFER_LODASH_SET_DEFINITELYTYPED_HEADER = `
* This file is forked from the DefinitelyTyped project (https://github.com/DefinitelyTyped/DefinitelyTyped),
* and may include modifications made by Elasticsearch B.V.
* Elasticsearch B.V. licenses this file to you under the MIT License.
* See \`packages/kbn-safer-lodash-set/LICENSE\` for more information.
* See \`src/platform/packages/shared/kbn-safer-lodash-set/LICENSE\` for more information.
*/
`;
const KBN_HANDLEBARS_HEADER = `
/*
* Elasticsearch B.V licenses this file to you under the MIT License.
* See \`packages/kbn-handlebars/LICENSE\` for more information.
* See \`src/platform/packages/private/kbn-handlebars/LICENSE\` for more information.
*/
`;
@ -118,7 +118,7 @@ const KBN_HANDLEBARS_HANDLEBARS_HEADER = `
* This file is forked from the handlebars project (https://github.com/handlebars-lang/handlebars.js),
* and may include modifications made by Elasticsearch B.V.
* Elasticsearch B.V. licenses this file to you under the MIT License.
* See \`packages/kbn-handlebars/LICENSE\` for more information.
* See \`src/platform/packages/private/kbn-handlebars/LICENSE\` for more information.
*/
`;
@ -127,7 +127,7 @@ const VENN_DIAGRAM_HEADER = `
* This file is forked from the venn.js project (https://github.com/benfred/venn.js/),
* and may include modifications made by Elasticsearch B.V.
* Elasticsearch B.V. licenses this file to you under the MIT License.
* See \`x-pack/plugins/graph/public/components/venn_diagram/vennjs/LICENSE\` for more information.
* See \`x-pack/platform/plugins/private/graph/public/components/venn_diagram/vennjs/LICENSE\` for more information.
*/
`;
@ -183,7 +183,7 @@ const DEV_PATTERNS = [
...DEV_PACKAGE_DIRS.map((pkg) => `${pkg}/**/*`),
...DEV_DIRECTORIES.map((dir) => `{packages,src,x-pack}/**/${dir}/**/*`),
...DEV_FILE_PATTERNS.map((file) => `{packages,src,x-pack}/**/${file}`),
'packages/kbn-interpreter/tasks/**/*',
'src/platform/packages/shared/kbn-interpreter/tasks/**/*',
'src/dev/**/*',
'x-pack/{dev-tools,tasks,test,test_serverless,build_chromium}/**/*',
'x-pack/performance/**/*',
@ -271,6 +271,10 @@ const RESTRICTED_IMPORTS = [
message:
'Please, use rxjs instead: rxjs/operators is just a subset, unnecessarily duplicating the package import.',
},
{
name: '@testing-library/react-hooks',
message: 'Please use @testing-library/react instead',
},
];
module.exports = {
@ -283,20 +287,20 @@ module.exports = {
* Temporarily disable some react rules for specific plugins, remove in separate PRs
*/
{
files: ['src/plugins/kibana_react/**/*.{js,mjs,ts,tsx}'],
files: ['src/platform/plugins/shared/kibana_react/**/*.{js,mjs,ts,tsx}'],
rules: {
'react-hooks/rules-of-hooks': 'off',
'react-hooks/exhaustive-deps': 'off',
},
},
{
files: ['src/plugins/kibana_utils/**/*.{js,mjs,ts,tsx}'],
files: ['src/platform/plugins/shared/kibana_utils/**/*.{js,mjs,ts,tsx}'],
rules: {
'react-hooks/exhaustive-deps': 'off',
},
},
{
files: ['x-pack/plugins/canvas/**/*.{js,mjs,ts,tsx}'],
files: ['x-pack/platform/plugins/private/canvas/**/*.{js,mjs,ts,tsx}'],
rules: {
'jsx-a11y/click-events-have-key-events': 'off',
},
@ -364,7 +368,7 @@ module.exports = {
{
files: [
'packages/kbn-eslint-config/**/*.{js,mjs,ts,tsx}',
'packages/kbn-datemath/**/*.{js,mjs,ts,tsx}',
'src/platform/packages/shared/kbn-datemath/**/*.{js,mjs,ts,tsx}',
],
rules: {
'@kbn/eslint/require-license-header': [
@ -441,7 +445,7 @@ module.exports = {
* safer-lodash-set package requires special license headers
*/
{
files: ['packages/kbn-safer-lodash-set/**/*.{js,mjs,ts,tsx}'],
files: ['src/platform/packages/shared/kbn-safer-lodash-set/**/*.{js,mjs,ts,tsx}'],
rules: {
'@kbn/eslint/require-license-header': [
'error',
@ -471,7 +475,7 @@ module.exports = {
},
{
files: ['packages/kbn-safer-lodash-set/test/*.{js,mjs,ts,tsx}'],
files: ['src/platform/packages/shared/kbn-safer-lodash-set/test/*.{js,mjs,ts,tsx}'],
rules: {
'@kbn/eslint/require-license-header': [
'error',
@ -500,7 +504,7 @@ module.exports = {
},
},
{
files: ['packages/kbn-safer-lodash-set/**/*.d.ts'],
files: ['src/platform/packages/shared/kbn-safer-lodash-set/**/*.d.ts'],
rules: {
'@kbn/eslint/require-license-header': [
'error',
@ -533,7 +537,7 @@ module.exports = {
* @kbn/handlebars package requires special license headers
*/
{
files: ['packages/kbn-handlebars/**/*.{js,mjs,ts,tsx}'],
files: ['src/platform/packages/private/kbn-handlebars/**/*.{js,mjs,ts,tsx}'],
rules: {
'@kbn/eslint/require-license-header': [
'error',
@ -562,7 +566,7 @@ module.exports = {
},
},
{
files: ['packages/kbn-handlebars/src/spec/**/*.{js,mjs,ts,tsx}'],
files: ['src/platform/packages/private/kbn-handlebars/src/spec/**/*.{js,mjs,ts,tsx}'],
rules: {
'@kbn/eslint/require-license-header': [
'error',
@ -595,7 +599,9 @@ module.exports = {
* venn.js fork requires special license headers
*/
{
files: ['x-pack/plugins/graph/public/components/venn_diagram/vennjs/**/*.{js,mjs,ts,tsx}'],
files: [
'x-pack/platform/plugins/private/graph/public/components/venn_diagram/vennjs/**/*.{js,mjs,ts,tsx}',
],
rules: {
'@kbn/eslint/require-license-header': [
'error',
@ -633,7 +639,7 @@ module.exports = {
'**/*.test.js',
'x-pack/test/apm_api_integration/**/*.ts',
'x-pack/test/functional/apps/**/*.js',
'x-pack/plugins/observability_solution/apm/**/*.js',
'x-pack/solutions/observability/plugins/apm/**/*.js',
'test/*/config.ts',
'test/*/config_open.ts',
'test/*/*.config.ts',
@ -778,7 +784,7 @@ module.exports = {
* Harden specific rules
*/
{
files: ['test/harden/*.js', 'packages/kbn-safer-lodash-set/test/*.js'],
files: ['test/harden/*.js', 'src/platform/packages/shared/kbn-safer-lodash-set/test/*.js'],
rules: {
'mocha/handle-done-callback': 'off',
},
@ -913,7 +919,7 @@ module.exports = {
*/
{
files: [
'x-pack/plugins/observability_solution/apm/**/*.{js,mjs,ts,tsx}',
'x-pack/solutions/observability/plugins/apm/**/*.{js,mjs,ts,tsx}',
'x-pack/solutions/observability/plugins/observability/**/*.{js,mjs,ts,tsx}',
'x-pack/solutions/observability/plugins/exploratory_view/**/*.{js,mjs,ts,tsx}',
'x-pack/solutions/observability/plugins/ux/**/*.{js,mjs,ts,tsx}',
@ -934,7 +940,7 @@ module.exports = {
},
{
files: [
'x-pack/plugins/observability_solution/apm/**/*.stories.*',
'x-pack/solutions/observability/plugins/apm/**/*.stories.*',
'x-pack/solutions/observability/plugins/observability/**/*.stories.*',
'x-pack/solutions/observability/plugins/exploratory_view/**/*.stories.*',
'x-pack/solutions/observability/plugins/slo/**/*.stories.*',
@ -989,7 +995,7 @@ module.exports = {
'x-pack/plugins/observability_solution/**/!(*.stories.tsx|*.test.tsx|*.storybook_decorator.tsx|*.mock.tsx)',
'x-pack/plugins/{streams,streams_app}/**/!(*.stories.tsx|*.test.tsx|*.storybook_decorator.tsx|*.mock.tsx)',
'src/plugins/ai_assistant_management/**/!(*.stories.tsx|*.test.tsx|*.storybook_decorator.tsx|*.mock.tsx)',
'x-pack/packages/observability/logs_overview/**/!(*.stories.tsx|*.test.tsx|*.storybook_decorator.tsx|*.mock.tsx)',
'x-pack/platform/packages/shared/observability/logs_overview/**/!(*.stories.tsx|*.test.tsx|*.storybook_decorator.tsx|*.mock.tsx)',
],
rules: {
'@kbn/i18n/strings_should_be_translated_with_i18n': 'warn',
@ -999,7 +1005,7 @@ module.exports = {
},
{
// require explicit return types in route handlers for performance reasons
files: ['x-pack/plugins/observability_solution/apm/server/**/route.ts'],
files: ['x-pack/solutions/observability/plugins/apm/server/**/route.ts'],
rules: {
'@typescript-eslint/explicit-function-return-type': [
'error',
@ -1024,12 +1030,26 @@ module.exports = {
],
},
},
{
files: [
'x-pack/solutions/observability/plugins/apm/**/*.{js,mjs,ts,tsx}',
'x-pack/solutions/observability/plugins/apm_data_access/**/*.{js,mjs,ts,tsx}',
'x-pack/solutions/observability/plugins/infra/**/*.{js,mjs,ts,tsx}',
'x-pack/solutions/observability/plugins/inventory/**/*.{js,mjs,ts,tsx}',
'x-pack/solutions/observability/plugins/metrics_data_access/**/*.{js,mjs,ts,tsx}',
'x-pack/solutions/observability/plugins/profiling/**/*.{js,mjs,ts,tsx}',
'x-pack/solutions/observability/plugins/profiling_data_access/**/*.{js,mjs,ts,tsx}',
],
rules: {
'@typescript-eslint/consistent-type-imports': 'error',
},
},
/**
* Fleet overrides
*/
{
files: ['x-pack/plugins/fleet/**/*.{js,mjs,ts,tsx}'],
files: ['x-pack/platform/plugins/shared/fleet/**/*.{js,mjs,ts,tsx}'],
plugins: ['testing-library'],
rules: {
'testing-library/await-async-utils': 'error',
@ -1110,8 +1130,8 @@ module.exports = {
'x-pack/solutions/security/plugins/security_solution_serverless/common/**/*.{js,mjs,ts,tsx}',
'x-pack/solutions/security/plugins/timelines/public/**/*.{js,mjs,ts,tsx}',
'x-pack/solutions/security/plugins/timelines/common/**/*.{js,mjs,ts,tsx}',
'x-pack/plugins/cases/public/**/*.{js,mjs,ts,tsx}',
'x-pack/plugins/cases/common/**/*.{js,mjs,ts,tsx}',
'x-pack/platform/plugins/shared/cases/public/**/*.{js,mjs,ts,tsx}',
'x-pack/platform/plugins/shared/cases/common/**/*.{js,mjs,ts,tsx}',
'src/platform/packages/shared/kbn-cell-actions/**/*.{js,mjs,ts,tsx}',
],
rules: {
@ -1144,7 +1164,7 @@ module.exports = {
'x-pack/solutions/security/plugins/security_solution_ess/**/*.{ts,tsx}',
'x-pack/solutions/security/plugins/security_solution_serverless/**/*.{ts,tsx}',
'x-pack/solutions/security/plugins/timelines/**/*.{ts,tsx}',
'x-pack/plugins/cases/**/*.{ts,tsx}',
'x-pack/platform/plugins/shared/cases/**/*.{ts,tsx}',
'src/platform/packages/shared/kbn-cell-actions/**/*.{js,mjs,ts,tsx}',
],
excludedFiles: [
@ -1159,7 +1179,7 @@ module.exports = {
'x-pack/solutions/security/plugins/security_solution_ess/**/*.{test,mock,test_helper}.{ts,tsx}',
'x-pack/solutions/security/plugins/security_solution_serverless/**/*.{test,mock,test_helper}.{ts,tsx}',
'x-pack/solutions/security/plugins/timelines/**/*.{test,mock,test_helper}.{ts,tsx}',
'x-pack/plugins/cases/**/*.{test,mock,test_helper}.{ts,tsx}',
'x-pack/platform/plugins/shared/cases/**/*.{test,mock,test_helper}.{ts,tsx}',
'src/platform/packages/shared/kbn-cell-actions/**/*.{test,mock,test_helper}.{ts,tsx}',
],
rules: {
@ -1180,7 +1200,7 @@ module.exports = {
'x-pack/solutions/security/plugins/security_solution_ess/**/*.{ts,tsx}',
'x-pack/solutions/security/plugins/security_solution_serverless/**/*.{ts,tsx}',
'x-pack/solutions/security/plugins/timelines/**/*.{ts,tsx}',
'x-pack/plugins/cases/**/*.{ts,tsx}',
'x-pack/platform/plugins/shared/cases/**/*.{ts,tsx}',
'src/platform/packages/shared/kbn-cell-actions/**/*.{ts,tsx}',
],
rules: {
@ -1214,7 +1234,7 @@ module.exports = {
'x-pack/solutions/security/plugins/security_solution_ess/**/*.{js,mjs,ts,tsx}',
'x-pack/solutions/security/plugins/security_solution_serverless/**/*.{js,mjs,ts,tsx}',
'x-pack/solutions/security/plugins/timelines/**/*.{js,mjs,ts,tsx}',
'x-pack/plugins/cases/**/*.{js,mjs,ts,tsx}',
'x-pack/platform/plugins/shared/cases/**/*.{js,mjs,ts,tsx}',
'x-pack/solutions/security/packages/data-stream-adapter/**/*.{js,mjs,ts,tsx}',
'src/platform/packages/shared/kbn-cell-actions/**/*.{js,mjs,ts,tsx}',
],
@ -1308,7 +1328,7 @@ module.exports = {
overrides: [
{
files: [
'x-pack/plugins/cases/**/*.{js,mjs,ts,tsx}',
'x-pack/platform/plugins/shared/cases/**/*.{js,mjs,ts,tsx}',
'x-pack/solutions/security/plugins/ecs_data_quality_dashboard/**/*.{js,mjs,ts,tsx}',
'x-pack/solutions/security/plugins/security_solution/**/*.{js,mjs,ts,tsx}',
'x-pack/solutions/security/plugins/security_solution_ess/**/*.{js,mjs,ts,tsx}',
@ -1325,8 +1345,8 @@ module.exports = {
],
},
{
files: ['x-pack/plugins/cases/public/**/*.{js,mjs,ts,tsx}'],
excludedFiles: ['x-pack/plugins/cases/**/*.{test,mock,test_helper}.{ts,tsx}'],
files: ['x-pack/platform/plugins/shared/cases/public/**/*.{js,mjs,ts,tsx}'],
excludedFiles: ['x-pack/platform/plugins/shared/cases/**/*.{test,mock,test_helper}.{ts,tsx}'],
rules: {
'react/display-name': ['error', { ignoreTranspilerName: true }],
},
@ -1343,8 +1363,8 @@ module.exports = {
{
// front end and common typescript and javascript files only
files: [
'x-pack/plugins/lists/public/**/*.{js,mjs,ts,tsx}',
'x-pack/plugins/lists/common/**/*.{js,mjs,ts,tsx}',
'x-pack/solutions/security/plugins/lists/public/**/*.{js,mjs,ts,tsx}',
'x-pack/solutions/security/plugins/lists/common/**/*.{js,mjs,ts,tsx}',
],
rules: {
'import/no-nodejs-modules': 'error',
@ -1360,14 +1380,20 @@ module.exports = {
},
{
// typescript for /public and /common
files: ['x-pack/plugins/lists/public/*.{ts,tsx}', 'x-pack/plugins/lists/common/*.{ts,tsx}'],
files: [
'x-pack/solutions/security/plugins/lists/public/*.{ts,tsx}',
'x-pack/solutions/security/plugins/lists/common/*.{ts,tsx}',
],
rules: {
'@typescript-eslint/no-for-in-array': 'error',
},
},
{
// typescript for /public and /common
files: ['x-pack/plugins/lists/public/*.{ts,tsx}', 'x-pack/plugins/lists/common/*.{ts,tsx}'],
files: [
'x-pack/solutions/security/plugins/lists/public/*.{ts,tsx}',
'x-pack/solutions/security/plugins/lists/common/*.{ts,tsx}',
],
plugins: ['react'],
env: {
jest: true,
@ -1425,7 +1451,7 @@ module.exports = {
},
},
{
files: ['x-pack/plugins/lists/public/**/!(*.test).{js,mjs,ts,tsx}'],
files: ['x-pack/solutions/security/plugins/lists/public/**/!(*.test).{js,mjs,ts,tsx}'],
plugins: ['react-perf'],
rules: {
'react-perf/jsx-no-new-object-as-prop': 'error',
@ -1436,7 +1462,7 @@ module.exports = {
},
{
// typescript and javascript for front and back
files: ['x-pack/plugins/lists/**/*.{js,mjs,ts,tsx}'],
files: ['x-pack/solutions/security/plugins/lists/**/*.{js,mjs,ts,tsx}'],
plugins: ['eslint-plugin-node'],
env: {
jest: true,
@ -1561,7 +1587,7 @@ module.exports = {
* Lens overrides
*/
{
files: ['x-pack/plugins/lens/**/*.{ts,tsx}'],
files: ['x-pack/platform/plugins/shared/lens/**/*.{ts,tsx}'],
rules: {
'@typescript-eslint/no-explicit-any': 'error',
},
@ -1571,7 +1597,10 @@ module.exports = {
* Discover overrides
*/
{
files: ['src/plugins/discover/**/*.{ts,tsx}', 'src/plugins/saved_search/**/*.{ts,tsx}'],
files: [
'src/platform/plugins/shared/discover/**/*.{ts,tsx}',
'src/platform/plugins/shared/saved_search/**/*.{ts,tsx}',
],
rules: {
'@typescript-eslint/no-explicit-any': 'error',
'@typescript-eslint/ban-ts-comment': [
@ -1590,7 +1619,7 @@ module.exports = {
*/
{
// All files
files: ['x-pack/plugins/enterprise_search/**/*.{ts,tsx}'],
files: ['x-pack/solutions/search/plugins/enterprise_search/**/*.{ts,tsx}'],
rules: {
'import/order': [
'error',
@ -1642,7 +1671,7 @@ module.exports = {
* Allows snake_case variables in the server, because that's how we return API properties
*/
{
files: ['x-pack/plugins/enterprise_search/server/**/*.{ts,tsx}'],
files: ['x-pack/solutions/search/plugins/enterprise_search/server/**/*.{ts,tsx}'],
rules: {
'@typescript-eslint/naming-convention': [
'error',
@ -1664,8 +1693,10 @@ module.exports = {
},
{
// Source files only - allow `any` in test/mock files
files: ['x-pack/plugins/enterprise_search/**/*.{ts,tsx}'],
excludedFiles: ['x-pack/plugins/enterprise_search/**/*.{test,mock,test_helper}.{ts,tsx}'],
files: ['x-pack/solutions/search/plugins/enterprise_search/**/*.{ts,tsx}'],
excludedFiles: [
'x-pack/solutions/search/plugins/enterprise_search/**/*.{test,mock,test_helper}.{ts,tsx}',
],
rules: {
'@typescript-eslint/no-explicit-any': 'error',
},
@ -1676,7 +1707,10 @@ module.exports = {
*/
{
// All files
files: ['x-pack/plugins/serverless_search/**/*.{ts,tsx}', 'packages/kbn-search-*'],
files: [
'x-pack/solutions/search/plugins/serverless_search/**/*.{ts,tsx}',
'packages/kbn-search-*',
],
rules: {
'@kbn/telemetry/event_generating_elements_should_be_instrumented': 'error',
},
@ -1686,7 +1720,7 @@ module.exports = {
* Canvas overrides
*/
{
files: ['x-pack/plugins/canvas/**/*.js'],
files: ['x-pack/platform/plugins/private/canvas/**/*.js'],
rules: {
radix: 'error',
@ -1730,12 +1764,12 @@ module.exports = {
},
{
files: [
'x-pack/plugins/canvas/gulpfile.js',
'x-pack/plugins/canvas/scripts/*.js',
'x-pack/plugins/canvas/tasks/*.js',
'x-pack/plugins/canvas/tasks/**/*.js',
'x-pack/plugins/canvas/__tests__/**/*.js',
'x-pack/plugins/canvas/**/{__tests__,__test__,__jest__,__fixtures__,__mocks__}/**/*.js',
'x-pack/platform/plugins/private/canvas/gulpfile.js',
'x-pack/platform/plugins/private/canvas/scripts/*.js',
'x-pack/platform/plugins/private/canvas/tasks/*.js',
'x-pack/platform/plugins/private/canvas/tasks/**/*.js',
'x-pack/platform/plugins/private/canvas/__tests__/**/*.js',
'x-pack/platform/plugins/private/canvas/**/{__tests__,__test__,__jest__,__fixtures__,__mocks__}/**/*.js',
],
rules: {
'import/no-extraneous-dependencies': [
@ -1749,17 +1783,17 @@ module.exports = {
},
},
{
files: ['x-pack/plugins/canvas/canvas_plugin_src/**/*.js'],
files: ['x-pack/platform/plugins/private/canvas/canvas_plugin_src/**/*.js'],
globals: { canvas: true, $: true },
},
{
files: ['x-pack/plugins/canvas/public/**/*.js'],
files: ['x-pack/platform/plugins/private/canvas/public/**/*.js'],
env: {
browser: true,
},
},
{
files: ['packages/kbn-flot-charts/lib/**/*.js'],
files: ['src/platform/packages/shared/kbn-flot-charts/lib/**/*.js'],
env: {
jquery: true,
},
@ -1769,7 +1803,7 @@ module.exports = {
* TSVB overrides
*/
{
files: ['src/plugins/vis_types/timeseries/**/*.{js,mjs,ts,tsx}'],
files: ['src/platform/plugins/shared/vis_types/timeseries/**/*.{js,mjs,ts,tsx}'],
rules: {
'import/no-default-export': 'error',
},
@ -1826,24 +1860,24 @@ module.exports = {
*/
{
files: [
'src/plugins/interactive_setup/**/*.{js,mjs,ts,tsx}',
'src/platform/plugins/private/interactive_setup/**/*.{js,mjs,ts,tsx}',
'test/interactive_setup_api_integration/**/*.{js,mjs,ts,tsx}',
'test/interactive_setup_functional/**/*.{js,mjs,ts,tsx}',
'packages/kbn-mock-idp-plugin/**/*.{js,mjs,ts,tsx}',
'packages/kbn-mock-idp-utils/**/*.{js,mjs,ts,tsx}',
'packages/kbn-security-hardening/**/*.{js,mjs,ts,tsx}',
'packages/kbn-user-profile-components/**/*.{js,mjs,ts,tsx}',
'src/platform/packages/shared/kbn-security-hardening/**/*.{js,mjs,ts,tsx}',
'src/platform/packages/shared/kbn-user-profile-components/**/*.{js,mjs,ts,tsx}',
'x-pack/plugins/encrypted_saved_objects/**/*.{js,mjs,ts,tsx}',
'x-pack/platform/plugins/shared/encrypted_saved_objects/**/*.{js,mjs,ts,tsx}',
'x-pack/test/encrypted_saved_objects_api_integration/**/*.{js,mjs,ts,tsx}',
'x-pack/plugins/security/**/*.{js,mjs,ts,tsx}',
'x-pack/platform/plugins/shared/security/**/*.{js,mjs,ts,tsx}',
'x-pack/packages/security/**/*.{js,mjs,ts,tsx}',
'x-pack/test/security_api_integration/**/*.{js,mjs,ts,tsx}',
'x-pack/test/security_functional/**/*.{js,mjs,ts,tsx}',
'x-pack/plugins/spaces/**/*.{js,mjs,ts,tsx}',
'x-pack/platform/plugins/shared/spaces/**/*.{js,mjs,ts,tsx}',
'x-pack/test/spaces_api_integration/**/*.{js,mjs,ts,tsx}',
],
rules: {
@ -1893,14 +1927,14 @@ module.exports = {
*/
{
files: [
'packages/kbn-analytics/**',
'src/platform/packages/shared/kbn-analytics/**',
// 'packages/kbn-telemetry-tools/**',
'src/plugins/kibana_usage_collection/**',
'src/plugins/usage_collection/**',
'src/plugins/telemetry/**',
'src/plugins/telemetry_collection_manager/**',
'src/plugins/telemetry_management_section/**',
'x-pack/plugins/telemetry_collection_xpack/**',
'src/platform/plugins/private/kibana_usage_collection/**',
'src/platform/plugins/shared/usage_collection/**',
'src/platform/plugins/shared/telemetry/**',
'src/platform/plugins/shared/telemetry_collection_manager/**',
'src/platform/plugins/shared/telemetry_management_section/**',
'x-pack/platform/plugins/private/telemetry_collection_xpack/**',
],
rules: {
'@typescript-eslint/no-explicit-any': 'error',
@ -1910,21 +1944,21 @@ module.exports = {
files: [
// core-team owned code
'src/core/**',
'x-pack/plugins/features/**',
'x-pack/plugins/licensing/**',
'x-pack/plugins/global_search/**',
'x-pack/plugins/cloud/**',
'packages/kbn-config-schema',
'x-pack/platform/plugins/shared/features/**',
'x-pack/platform/plugins/shared/licensing/**',
'x-pack/platform/plugins/shared/global_search/**',
'x-pack/platform/plugins/shared/cloud/**',
'src/platform/packages/shared/kbn-config-schema',
'src/plugins/status_page/**',
'src/plugins/saved_objects_management/**',
'packages/kbn-analytics/**',
'src/platform/plugins/shared/saved_objects_management/**',
'src/platform/packages/shared/kbn-analytics/**',
'packages/kbn-telemetry-tools/**',
'src/plugins/kibana_usage_collection/**',
'src/plugins/usage_collection/**',
'src/plugins/telemetry/**',
'src/plugins/telemetry_collection_manager/**',
'src/plugins/telemetry_management_section/**',
'x-pack/plugins/telemetry_collection_xpack/**',
'src/platform/plugins/private/kibana_usage_collection/**',
'src/platform/plugins/shared/usage_collection/**',
'src/platform/plugins/shared/telemetry/**',
'src/platform/plugins/shared/telemetry_collection_manager/**',
'src/platform/plugins/shared/telemetry_management_section/**',
'x-pack/platform/plugins/private/telemetry_collection_xpack/**',
],
rules: {
'@typescript-eslint/prefer-ts-expect-error': 'error',
@ -1955,7 +1989,7 @@ module.exports = {
* Lints unnecessary backticks - @see https://github.com/prettier/eslint-config-prettier/blob/main/README.md#forbid-unnecessary-backticks
*/
{
files: ['x-pack/plugins/enterprise_search/**/*.{ts,tsx}'],
files: ['x-pack/solutions/search/plugins/enterprise_search/**/*.{ts,tsx}'],
rules: {
quotes: ['error', 'single', { avoidEscape: true, allowTemplateLiterals: false }],
},
@ -1997,9 +2031,6 @@ module.exports = {
},
{
files: [
// logsShared depends on o11y/private plugins, but platform plugins depend on it
'x-pack/plugins/observability_solution/logs_shared/**',
// TODO @kibana/operations
'scripts/create_observability_rules.js', // is importing "@kbn/observability-alerting-test-data" (observability/private)
'src/cli_setup/**', // is importing "@kbn/interactive-setup-plugin" (platform/private)

1380
.github/CODEOWNERS vendored

File diff suppressed because it is too large Load diff

View file

@ -9,7 +9,7 @@ Check the PR satisfies following conditions.
Reviewers should verify this PR satisfies this list as well.
- [ ] Any text added follows [EUI's writing guidelines](https://elastic.github.io/eui/#/guidelines/writing), uses sentence case text and includes [i18n support](https://github.com/elastic/kibana/blob/main/packages/kbn-i18n/README.md)
- [ ] Any text added follows [EUI's writing guidelines](https://elastic.github.io/eui/#/guidelines/writing), uses sentence case text and includes [i18n support](https://github.com/elastic/kibana/blob/main/src/platform/packages/shared/kbn-i18n/README.md)
- [ ] [Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html) was added for features that require explanation or tutorials
- [ ] [Unit or functional tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html) were updated or added to match the most common scenarios
- [ ] If a plugin configuration key changed, check if it needs to be allowlisted in the cloud and added to the [docker list](https://github.com/elastic/kibana/blob/main/src/dev/build/tasks/os_packages/docker_generator/resources/base/bin/kibana-docker)

View file

@ -1,23 +1,44 @@
paths-ignore:
- '**/*-mocks/**'
- '**/*.cy.*'
- '**/*.mock.*'
- '**/*.mocks.*'
- '**/*.test.*'
- packages/kbn-ambient-common-types
- packages/kbn-ambient-ftr-types
- packages/kbn-ambient-storybook-types
- packages/kbn-ambient-ui-types
- '**/.storybook/**'
- '**/__fixtures__/**'
- '**/__jest__/**'
- '**/__mocks__/**'
- '**/__snapshots__/**'
- '**/__stories__/**'
- '**/__tests__/**'
- '**/cypress/**'
- '**/e2e/**'
- '**/ftr_e2e/**'
- '**/integration_tests/**'
- '**/jest.config.*'
- '**/jest.integration.config.*'
- '**/mocks.*'
- '**/mocks/**'
- '**/storybook/**'
- '**/test_helpers/**'
- '**/test_utils/**'
- api_docs
- dev_docs
- docs
- examples
- kbn_pm
- legacy_rfcs
- oas_docs
- packages/*/scripts
- packages/core/test-helpers/core-test-helpers-kbn-server
- packages/kbn-ambient-*-types
- packages/kbn-apm-synthtrace
- packages/kbn-axe-config
- packages/kbn-babel-plugin-package-imports
- packages/kbn-babel-preset
- packages/kbn-babel-register
- packages/kbn-babel-transform
- packages/kbn-bazel-packages
- packages/kbn-bazel-runner
- packages/kbn-ci-stats-core
- packages/kbn-ci-stats-performance-metrics
- packages/kbn-ci-stats-reporter
- packages/kbn-babel-*
- packages/kbn-bazel-*
- packages/kbn-ci-*
- packages/kbn-cli-dev-mode
- packages/core/test-helpers/core-test-helpers-kbn-server
- packages/kbn-cypress-config
- packages/kbn-cypress-*
- packages/kbn-dev-cli-errors
- packages/kbn-dev-cli-runner
- packages/kbn-dev-proc-runner
@ -25,65 +46,51 @@ paths-ignore:
- packages/kbn-docs-utils
- packages/kbn-es
- packages/kbn-es-archiver
- packages/kbn-eslint-config
- packages/kbn-eslint-plugin-disable
- packages/kbn-eslint-plugin-eslint
- packages/kbn-eslint-plugin-imports
- packages/*/scripts
- packages/kbn-eslint-*
- packages/kbn-expect
- packages/kbn-failed-test-reporter-cli
- packages/kbn-find-used-node-modules
- packages/kbn-ftr-common-functional-services
- packages/kbn-ftr-screenshot-filename
- packages/kbn-ftr-*
- packages/kbn-generate
- packages/kbn-get-repo-files
- packages/kbn-import-resolver
- packages/kbn-jest-serializers
- packages/kbn-jest-*
- packages/kbn-journeys
- packages/kbn-kibana-manifest-schema
- packages/kbn-managed-vscode-config
- packages/kbn-managed-vscode-config-cli
- packages/kbn-optimizer
- packages/kbn-optimizer-webpack-helpers
- packages/kbn-package-map
- packages/kbn-optimizer-*
- packages/kbn-peggy
- packages/kbn-peggy-loader
- packages/kbn-performance-testing-dataset-extractor
- packages/kbn-plugin-generator
- packages/kbn-plugin-helpers
- packages/kbn-relocate
- packages/kbn-repo-path
- packages/kbn-repo-source-classifier
- packages/kbn-repo-source-classifier-cli
- packages/kbn-scout
- packages/kbn-scout-*
- packages/kbn-some-dev-log
- packages/kbn-sort-package-json
- packages/kbn-spec-to-console
- packages/kbn-stdio-dev-helpers
- packages/kbn-storybook
- packages/kbn-telemetry-tools
- packages/kbn-test
- packages/kbn-test-jest-helpers
- packages/kbn-test-eui-helpers
- packages/kbn-test-subj-selector
- packages/kbn-test-*
- packages/kbn-tooling-log
- packages/kbn-ts-project-linter
- packages/kbn-ts-project-linter-cli
- packages/kbn-ts-projects
- packages/kbn-ts-type-check-cli
- packages/kbn-ts-*
- packages/kbn-web-worker-stub
- packages/kbn-yarn-lock-validator
- scripts
- test
- x-pack/plugins/canvas/scripts
- x-pack/solutions/security/plugins/cloud_security_posture/common/scripts
- x-pack/solutions/security/plugins/elastic_assistant/scripts
- x-pack/plugins/event_log/scripts
- x-pack/plugins/fleet/scripts
- x-pack/plugins/lists/scripts
- x-pack/plugins/lists/server/scripts
- typings
- x-pack/examples
- x-pack/performance
- x-pack/platform/**/scripts
- x-pack/plugins/observability_solution/*/scripts
- x-pack/platform/plugins/shared/osquery/scripts
- x-pack/plugins/rule_registry/scripts
- x-pack/solutions/security/plugins/security_solution/scripts
- x-pack/solutions/security/plugins/threat_intelligence/scripts
- x-pack/scripts
- x-pack/solutions/**/scripts
- x-pack/test
- x-pack/test_serverless

View file

@ -1,22 +1,22 @@
---
- 'Feature:Embedding':
- 'src/plugins/embeddable/**/*.*'
- 'src/platform/plugins/shared/embeddable/**/*.*'
- 'src/plugins/dashboard_embeddable_container/**/*.*'
- 'Feature:Drilldowns':
- 'x-pack/plugins/drilldowns/**/*.*'
- 'x-pack/plugins/dashboard_enhanced/public/services/drilldowns/**/*.*'
- 'x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/**/*.*'
- 'Feature:ExpressionLanguage':
- 'src/plugins/expressions/**/*.*'
- 'src/platform/plugins/shared/expressions/**/*.*'
- 'src/plugins/bfetch/**/*.*'
- 'Team:obs-ux-infra_services':
- 'x-pack/plugins/observability_solution/apm/**/*.*'
- 'x-pack/solutions/observability/plugins/apm/**/*.*'
- 'x-pack/test/apm_api_integration/**/*.*'
- 'packages/kbn-apm-synthtrace/**/*.*'
- 'packages/kbn-apm-synthtrace-client/**/*.*'
- 'packages/kbn-apm-utils/**/*.*'
- 'src/platform/packages/shared/kbn-apm-utils/**/*.*'
- 'x-pack/solutions/observability/plugins/ux/**/*.*'
- 'Team:Fleet':
- 'x-pack/plugins/fleet/**/*.*'
- 'x-pack/platform/plugins/shared/fleet/**/*.*'
- 'x-pack/test/fleet_api_integration/**/*.*'
- 'Team:obs-ux-management':
- 'x-pack/solutions/observability/plugins/observability/**/*.*'

View file

@ -11,7 +11,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout kibana-operations
uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
repository: 'elastic/kibana-operations'
ref: main

View file

@ -11,7 +11,7 @@ jobs:
if: github.repository == 'elastic/kibana' # Hack: Do not run on forks
steps:
- name: Checkout kibana-operations
uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
repository: 'elastic/kibana-operations'
ref: main

View file

@ -22,7 +22,7 @@ jobs:
steps:
- name: Checkout repository
uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
ref: ${{ matrix.branch }}
@ -46,10 +46,15 @@ jobs:
echo "CHECKOUT_REF=$(git symbolic-ref HEAD)" >> "$GITHUB_ENV"
echo "CHECKOUT_SHA=$(git rev-parse HEAD)" >> "$GITHUB_ENV"
- name: Set experimental environment variable for 8.x branch
if: env.CHECKOUT_REF == 'refs/heads/8.x'
run: echo "CODEQL_EXTRACTOR_JAVASCRIPT_OPTION_SKIP_TYPES=true" >> "$GITHUB_ENV"
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@883d8588e56d1753a8a58c1c86e88976f0c23449 # v3.26.3
env:
NODE_OPTIONS: "--max-old-space-size=6144"
CODEQL_EXTRACTOR_JAVASCRIPT_OPTION_SKIP_TYPES: ${{ env.CODEQL_EXTRACTOR_JAVASCRIPT_OPTION_SKIP_TYPES }}
with:
category: "/language:${{matrix.language}}"
ref: ${{ env.CHECKOUT_REF }}
@ -61,7 +66,7 @@ jobs:
if: github.repository == 'elastic/kibana' # Hack: Do not run on forks
steps:
- name: Checkout kibana-operations
uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
repository: 'elastic/kibana-operations'
ref: main

View file

@ -12,7 +12,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout kibana-operations
uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
repository: 'elastic/kibana-operations'
ref: main

View file

@ -11,7 +11,7 @@ jobs:
if: github.event.repository.fork == false
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
fetch-depth: 11 # This value must be set if the lookback configuration option is not disabled for find-code-references. Read more: https://github.com/launchdarkly/ld-find-code-refs#searching-for-unused-flags-extinctions
- name: LaunchDarkly Code References

View file

@ -29,7 +29,7 @@ jobs:
contains(github.event.pull_request.labels.*.name, 'auto-backport'))))
steps:
- name: Checkout Actions
uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
repository: 'elastic/kibana-github-actions'
ref: main

View file

@ -13,7 +13,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout Actions
uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
repository: 'elastic/kibana-github-actions'
ref: main
@ -30,7 +30,7 @@ jobs:
token: ${{secrets.KIBANAMACHINE_TOKEN}}
- name: Checkout kibana-operations
uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
repository: 'elastic/kibana-operations'
ref: main

View file

@ -18,7 +18,7 @@ jobs:
packages: read
pull-requests: write
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- uses: docker/login-action@0d4c9c5ea7693da7b068278f7b52bda2a190a446 # v3.2.0
with:

16
.gitignore vendored
View file

@ -92,16 +92,16 @@ npm-debug.log*
## @cypress/snapshot from apm plugin
/snapshots.js
/apm-diagnostics*.json
/x-pack/plugins/observability_solution/apm/ftr_e2e/cypress/e2e/service_map/snapshots/*.actual.png
/x-pack/plugins/observability_solution/apm/ftr_e2e/cypress/e2e/service_map/snapshots/*.diff.png
/x-pack/solutions/observability/plugins/apm/ftr_e2e/cypress/e2e/service_map/snapshots/*.actual.png
/x-pack/solutions/observability/plugins/apm/ftr_e2e/cypress/e2e/service_map/snapshots/*.diff.png
# transpiled cypress config
x-pack/plugins/fleet/cypress.config.d.ts
x-pack/plugins/fleet/cypress.config.js
x-pack/platform/plugins/shared/fleet/cypress.config.d.ts
x-pack/platform/plugins/shared/fleet/cypress.config.js
x-pack/platform/plugins/shared/osquery/cypress.config.d.ts
x-pack/platform/plugins/shared/osquery/cypress.config.js
x-pack/plugins/enterprise_search/cypress.config.d.ts
x-pack/plugins/enterprise_search/cypress.config.js
x-pack/solutions/search/plugins/enterprise_search/cypress.config.d.ts
x-pack/solutions/search/plugins/enterprise_search/cypress.config.js
x-pack/solutions/security/plugins/security_solution/public/management/cypress.config.d.ts
x-pack/solutions/security/plugins/security_solution/public/management/cypress.config.js
x-pack/solutions/security/plugins/security_solution/public/management/cypress_endpoint.config.d.ts
@ -132,8 +132,8 @@ elastic-agent-*
fleet-server-*
elastic-agent.yml
fleet-server.yml
/packages/*/package-map.json
/packages/*/config-paths.json
src/platform/packages/**/package-map.json
/packages/**/config-paths.json
/packages/kbn-synthetic-package-map/
**/.synthetics/
**/.journeys/

View file

@ -1,169 +1,171 @@
{
"paths": {
"advancedSettings": "src/plugins/advanced_settings",
"advancedSettings": "src/platform/plugins/private/advanced_settings",
"aiAssistantManagementSelection": "src/platform/plugins/shared/ai_assistant_management/selection",
"alerts": "packages/kbn-alerts/src",
"alertsUIShared": "packages/kbn-alerts-ui-shared/src",
"alertingTypes": "packages/kbn-alerting-types",
"alertsUIShared": "src/platform/packages/shared/kbn-alerts-ui-shared/src",
"alertingTypes": "src/platform/packages/shared/kbn-alerting-types",
"apmOss": "src/plugins/apm_oss",
"autocomplete": "packages/kbn-securitysolution-autocomplete/src",
"autocomplete": "x-pack/solutions/security/packages/kbn-securitysolution-autocomplete/src",
"avcBanner": "src/platform/packages/shared/kbn-avc-banner/src",
"bfetch": "src/plugins/bfetch",
"bfetchError": "packages/kbn-bfetch-error",
"cases": ["packages/kbn-cases-components"],
"cases": ["src/platform/packages/shared/kbn-cases-components"],
"cellActions": "src/platform/packages/shared/kbn-cell-actions",
"charts": "src/plugins/charts",
"charts": "src/platform/plugins/shared/charts",
"console": "src/platform/plugins/shared/console",
"contentManagement": "packages/content-management",
"contentManagement": "src/platform/packages/shared/content-management",
"core": ["src/core", "packages/core"],
"customIntegrations": "src/plugins/custom_integrations",
"customIntegrationsPackage": "packages/kbn-custom-integrations",
"dashboard": "src/plugins/dashboard",
"cloud": "packages/cloud",
"domDragDrop": "packages/kbn-dom-drag-drop",
"controls": "src/plugins/controls",
"data": "src/plugins/data",
"customIntegrations": "src/platform/plugins/shared/custom_integrations",
"customIntegrationsPackage": "x-pack/solutions/observability/packages/kbn-custom-integrations",
"dashboard": "src/platform/plugins/shared/dashboard",
"cloud": "src/platform/packages/shared/cloud",
"domDragDrop": "src/platform/packages/shared/kbn-dom-drag-drop",
"controls": "src/platform/plugins/shared/controls",
"data": "src/platform/plugins/shared/data",
"observabilityAlertDetails": "x-pack/solutions/observability/packages/alert_details",
"dataViews": "src/plugins/data_views",
"defaultNavigation": [
"packages/default-nav",
"src/platform/packages/private/default-nav"
],
"dataViews": "src/platform/plugins/shared/data_views",
"defaultNavigation": ["packages/default-nav", "src/platform/packages/private/default-nav"],
"devTools": "src/platform/plugins/shared/dev_tools",
"discover": ["src/plugins/discover", "packages/kbn-discover-utils", "packages/kbn-discover-contextual-components"],
"savedSearch": "src/plugins/saved_search",
"embeddableApi": "src/plugins/embeddable",
"presentationPanel": "src/plugins/presentation_panel",
"discover": [
"src/platform/plugins/shared/discover",
"src/platform/packages/shared/kbn-discover-utils",
"src/platform/packages/shared/kbn-discover-contextual-components"
],
"savedSearch": "src/platform/plugins/shared/saved_search",
"embeddableApi": "src/platform/plugins/shared/embeddable",
"presentationPanel": "src/platform/plugins/private/presentation_panel",
"embeddableExamples": "examples/embeddable_examples",
"esQuery": "packages/kbn-es-query/src",
"esQuery": "src/platform/packages/shared/kbn-es-query/src",
"kbnGridLayout": "packages/kbn-grid-layout",
"esUi": "src/platform/plugins/shared/es_ui_shared",
"expandableFlyout": "packages/kbn-expandable-flyout",
"expressionError": "src/plugins/expression_error",
"expressionGauge": "src/plugins/chart_expressions/expression_gauge",
"expressionHeatmap": "src/plugins/chart_expressions/expression_heatmap",
"expressionImage": "src/plugins/expression_image",
"expressionMetric": "src/plugins/expression_metric",
"expressionMetricVis": "src/plugins/chart_expressions/expression_metric",
"expressionLegacyMetricVis": "src/plugins/chart_expressions/expression_legacy_metric",
"expressionPartitionVis": "src/plugins/chart_expressions/expression_partition_vis",
"expressionXY": "src/plugins/chart_expressions/expression_xy",
"expressionRepeatImage": "src/plugins/expression_repeat_image",
"expressionRevealImage": "src/plugins/expression_reveal_image",
"expressions": "src/plugins/expressions",
"expressionShape": "src/plugins/expression_shape",
"expressionTagcloud": "src/plugins/chart_expressions/expression_tagcloud",
"eventAnnotation": "src/plugins/event_annotation",
"eventAnnotationListing": "src/plugins/event_annotation_listing",
"eventAnnotationCommon": "packages/kbn-event-annotation-common",
"eventAnnotationComponents": "packages/kbn-event-annotation-components",
"fieldUtils": "packages/kbn-field-utils",
"fieldFormats": "src/plugins/field_formats",
"files": "src/plugins/files",
"filesManagement": "src/plugins/files_management",
"flot": "packages/kbn-flot-charts/lib",
"generateCsv": "packages/kbn-generate-csv",
"grouping": "packages/kbn-grouping/src",
"alertsGrouping": "packages/kbn-alerts-grouping",
"guidedOnboarding": "src/plugins/guided_onboarding",
"expressionError": "src/platform/plugins/shared/expression_error",
"expressionGauge": "src/platform/plugins/shared/chart_expressions/expression_gauge",
"expressionHeatmap": "src/platform/plugins/shared/chart_expressions/expression_heatmap",
"expressionImage": "src/platform/plugins/shared/expression_image",
"expressionMetric": "src/platform/plugins/shared/expression_metric",
"expressionMetricVis": "src/platform/plugins/shared/chart_expressions/expression_metric",
"expressionLegacyMetricVis": "src/platform/plugins/shared/chart_expressions/expression_legacy_metric",
"expressionPartitionVis": "src/platform/plugins/shared/chart_expressions/expression_partition_vis",
"expressionXY": "src/platform/plugins/shared/chart_expressions/expression_xy",
"expressionRepeatImage": "src/platform/plugins/shared/expression_repeat_image",
"expressionRevealImage": "src/platform/plugins/shared/expression_reveal_image",
"expressions": "src/platform/plugins/shared/expressions",
"expressionShape": "src/platform/plugins/shared/expression_shape",
"expressionTagcloud": "src/platform/plugins/shared/chart_expressions/expression_tagcloud",
"eventAnnotation": "src/platform/plugins/private/event_annotation",
"eventAnnotationListing": "src/platform/plugins/private/event_annotation_listing",
"eventAnnotationCommon": "src/platform/packages/shared/kbn-event-annotation-common",
"eventAnnotationComponents": "src/platform/packages/shared/kbn-event-annotation-components",
"fieldUtils": "src/platform/packages/shared/kbn-field-utils",
"fieldFormats": "src/platform/plugins/shared/field_formats",
"files": "src/platform/plugins/shared/files",
"filesManagement": "src/platform/plugins/private/files_management",
"flot": "src/platform/packages/shared/kbn-flot-charts/lib",
"generateCsv": "src/platform/packages/private/kbn-generate-csv",
"grouping": "src/platform/packages/shared/kbn-grouping/src",
"alertsGrouping": "x-pack/solutions/observability/packages/kbn-alerts-grouping",
"guidedOnboarding": "src/platform/plugins/shared/guided_onboarding",
"guidedOnboardingPackage": "packages/kbn-guided-onboarding",
"home": "src/plugins/home",
"home": "src/platform/plugins/shared/home",
"homePackages": "packages/home",
"indexPatternEditor": "src/plugins/data_view_editor",
"indexPatternFieldEditor": "src/plugins/data_view_field_editor",
"indexPatternManagement": "src/plugins/data_view_management",
"inputControl": "src/plugins/input_control_vis",
"inspector": "src/plugins/inspector",
"indexPatternEditor": "src/platform/plugins/shared/data_view_editor",
"indexPatternFieldEditor": "src/platform/plugins/shared/data_view_field_editor",
"indexPatternManagement": "src/platform/plugins/shared/data_view_management",
"inputControl": "src/platform/plugins/private/input_control_vis",
"inspector": "src/platform/plugins/shared/inspector",
"inspectorViews": "src/legacy/core_plugins/inspector_views",
"interactiveSetup": "src/plugins/interactive_setup",
"interactiveSetup": "src/platform/plugins/private/interactive_setup",
"interpreter": "src/legacy/core_plugins/interpreter",
"imageEmbeddable": "src/plugins/image_embeddable",
"imageEmbeddable": "src/platform/plugins/private/image_embeddable",
"kbn": "src/legacy/core_plugins/kibana",
"kbn-esql-validation-autocomplete": "src/platform/packages/shared/kbn-esql-validation-autocomplete/src",
"kbnConfig": "packages/kbn-config/src",
"kbnConfig": "src/platform/packages/shared/kbn-config/src",
"kbnDocViews": "src/legacy/core_plugins/kbn_doc_views",
"kibana_react": "src/legacy/core_plugins/kibana_react",
"kibana_utils": "src/plugins/kibana_utils",
"kibana-react": "src/plugins/kibana_react",
"kibanaOverview": "src/plugins/kibana_overview",
"lensFormulaDocs": "packages/kbn-lens-formula-docs",
"lists": "packages/kbn-securitysolution-list-utils/src",
"exceptionList-components": "packages/kbn-securitysolution-exception-list-components/src",
"kibana_utils": "src/platform/plugins/shared/kibana_utils",
"kibana-react": "src/platform/plugins/shared/kibana_react",
"kibanaOverview": "src/platform/plugins/private/kibana_overview",
"lensFormulaDocs": "src/platform/packages/private/kbn-lens-formula-docs",
"lists": "x-pack/solutions/security/packages/kbn-securitysolution-list-utils/src",
"exceptionList-components": "x-pack/solutions/security/packages/kbn-securitysolution-exception-list-components/src",
"management": [
"src/platform/plugins/shared/management",
"src/platform/packages/private/kbn-management",
"src/platform/packages/shared/kbn-management",
"packages/kbn-management"
],
"monaco": "packages/kbn-monaco/src",
"navigation": ["src/plugins/navigation", "packages/solution-nav"],
"links": "src/plugins/links",
"newsfeed": "src/plugins/newsfeed",
"presentationUtil": "src/plugins/presentation_util",
"randomSampling": "x-pack/packages/kbn-random-sampling",
"monaco": "src/platform/packages/shared/kbn-monaco/src",
"navigation": ["src/platform/plugins/shared/navigation", "packages/solution-nav"],
"links": "src/platform/plugins/private/links",
"newsfeed": "src/platform/plugins/shared/newsfeed",
"presentationUtil": "src/platform/plugins/shared/presentation_util",
"randomSampling": "x-pack/platform/packages/private/kbn-random-sampling",
"reactPackages": "packages/react",
"esqlEditor": "src/platform/packages/private/kbn-esql-editor",
"esqlUtils": "src/platform/packages/shared/kbn-esql-utils",
"reporting": "packages/kbn-reporting",
"savedObjects": "src/plugins/saved_objects",
"savedObjectsFinder": "src/plugins/saved_objects_finder",
"savedObjectsManagement": "src/plugins/saved_objects_management",
"searchConnectors": "packages/kbn-search-connectors",
"searchConnectorsPlugin": "x-pack/plugins/search_connectors",
"reporting": "src/platform/packages/private/kbn-reporting",
"savedObjects": "src/platform/plugins/shared/saved_objects",
"savedObjectsFinder": "src/platform/plugins/shared/saved_objects_finder",
"savedObjectsManagement": "src/platform/plugins/shared/saved_objects_management",
"searchConnectors": "src/platform/packages/shared/kbn-search-connectors",
"searchConnectorsPlugin": "x-pack/solutions/search/plugins/search_connectors",
"server": "src/legacy/server",
"share": ["src/plugins/share", "packages/kbn-reporting-share"],
"sharedUXPackages": "packages/shared-ux",
"searchApiKeysComponents": "packages/kbn-search-api-keys-components",
"searchApiPanels": "packages/kbn-search-api-panels/",
"searchErrors": "packages/kbn-search-errors",
"searchIndexDocuments": "packages/kbn-search-index-documents",
"searchResponseWarnings": "packages/kbn-search-response-warnings",
"searchTypes": "packages/kbn-search-types",
"share": ["src/platform/plugins/shared/share", "packages/kbn-reporting-share"],
"sharedUXPackages": ["packages/shared-ux", "src/platform/packages/shared/shared-ux", "src/platform/packages/private/shared-ux/"],
"searchApiKeysComponents": "x-pack/solutions/search/packages/kbn-search-api-keys-components",
"searchApiPanels": "src/platform/packages/shared/kbn-search-api-panels/",
"searchErrors": "src/platform/packages/shared/kbn-search-errors",
"searchIndexDocuments": "x-pack/solutions/search/packages/kbn-search-index-documents",
"searchResponseWarnings": "src/platform/packages/shared/kbn-search-response-warnings",
"searchTypes": "src/platform/packages/shared/kbn-search-types",
"securitySolutionPackages": [
"x-pack/solutions/security/packages"
],
"sharedPlatformPackages": [
"x-pack/platform/packages/shared/kbn-cloud-security-posture"
"x-pack/solutions/security/packages/data_table",
"x-pack/solutions/security/packages/ecs_data_quality_dashboard",
"x-pack/solutions/security/packages/features",
"x-pack/solutions/security/packages/kbn-cloud-security-posture",
"x-pack/solutions/security/packages/navigation",
"x-pack/solutions/security/packages/side_nav",
"x-pack/solutions/security/packages/upselling"
],
"sharedPlatformPackages": ["x-pack/platform/packages/shared/kbn-cloud-security-posture"],
"serverlessPackages": "packages/serverless",
"sse": ["src/platform/packages/shared/kbn-sse-utils"],
"coloring": "packages/kbn-coloring/src",
"coloring": "src/platform/packages/shared/kbn-coloring/src",
"languageDocumentation": "src/platform/packages/private/kbn-language-documentation/src",
"esql": "src/platform/plugins/shared/esql",
"esqlDataGrid": "src/platform/plugins/shared/esql_datagrid",
"statusPage": "src/legacy/core_plugins/status_page",
"telemetry": ["src/plugins/telemetry", "src/plugins/telemetry_management_section"],
"timelion": ["src/plugins/vis_types/timelion"],
"tryInConsole": "packages/kbn-try-in-console/",
"uiActions": ["src/plugins/ui_actions", "packages/kbn-ui-actions-browser"],
"uiActionsEnhanced": "src/plugins/ui_actions_enhanced",
"telemetry": ["src/platform/plugins/shared/telemetry", "src/platform/plugins/shared/telemetry_management_section"],
"timelion": ["src/platform/plugins/private/vis_types/timelion"],
"tryInConsole": "src/platform/packages/shared/kbn-try-in-console/",
"uiActions": ["src/platform/plugins/shared/ui_actions", "src/platform/packages/shared/kbn-ui-actions-browser"],
"uiActionsEnhanced": "src/platform/plugins/shared/ui_actions_enhanced",
"uiActionsExamples": "examples/ui_action_examples",
"usageCollection": "src/plugins/usage_collection",
"userProfileComponents": "packages/kbn-user-profile-components",
"utils": "packages/kbn-securitysolution-utils/src",
"visDefaultEditor": "src/plugins/vis_default_editor",
"visTypeGauge": "src/plugins/vis_types/gauge",
"visTypeHeatmap": "src/plugins/vis_types/heatmap",
"visTypeMarkdown": "src/plugins/vis_type_markdown",
"visTypeMetric": "src/plugins/vis_types/metric",
"visTypePie": "src/plugins/vis_types/pie",
"visTypeTable": "src/plugins/vis_types/table",
"visTypeTagCloud": "src/plugins/vis_types/tagcloud",
"visTypeTimeseries": "src/plugins/vis_types/timeseries",
"visTypeVega": "src/plugins/vis_types/vega",
"visTypeVislib": "src/plugins/vis_types/vislib",
"visTypeXy": "src/plugins/vis_types/xy",
"visualizations": "src/plugins/visualizations",
"visualizationUiComponents": "packages/kbn-visualization-ui-components",
"visualizationUtils": "packages/kbn-visualization-utils",
"unifiedDocViewer": ["src/plugins/unified_doc_viewer", "packages/kbn-unified-doc-viewer"],
"unifiedSearch": "src/plugins/unified_search",
"unifiedFieldList": "packages/kbn-unified-field-list",
"unifiedHistogram": "src/plugins/unified_histogram",
"unifiedDataTable": "packages/kbn-unified-data-table",
"unsavedChangesBadge": "packages/kbn-unsaved-changes-badge",
"usageCollection": "src/platform/plugins/shared/usage_collection",
"userProfileComponents": "src/platform/packages/shared/kbn-user-profile-components",
"utils": "x-pack/solutions/security/packages/kbn-securitysolution-utils/src",
"visDefaultEditor": "src/platform/plugins/private/vis_default_editor",
"visTypeGauge": "src/platform/plugins/private/vis_types/gauge",
"visTypeHeatmap": "src/platform/plugins/private/vis_types/heatmap",
"visTypeMarkdown": "src/platform/plugins/private/vis_type_markdown",
"visTypeMetric": "src/platform/plugins/private/vis_types/metric",
"visTypePie": "src/platform/plugins/private/vis_types/pie",
"visTypeTable": "src/platform/plugins/private/vis_types/table",
"visTypeTagCloud": "src/platform/plugins/private/vis_types/tagcloud",
"visTypeTimeseries": "src/platform/plugins/shared/vis_types/timeseries",
"visTypeVega": "src/platform/plugins/private/vis_types/vega",
"visTypeVislib": "src/platform/plugins/private/vis_types/vislib",
"visTypeXy": "src/platform/plugins/private/vis_types/xy",
"visualizations": "src/platform/plugins/shared/visualizations",
"visualizationUiComponents": "src/platform/packages/shared/kbn-visualization-ui-components",
"visualizationUtils": "src/platform/packages/shared/kbn-visualization-utils",
"unifiedDocViewer": ["src/platform/plugins/shared/unified_doc_viewer", "src/platform/packages/shared/kbn-unified-doc-viewer"],
"unifiedSearch": "src/platform/plugins/shared/unified_search",
"unifiedFieldList": "src/platform/packages/shared/kbn-unified-field-list",
"unifiedHistogram": "src/platform/plugins/shared/unified_histogram",
"unifiedDataTable": "src/platform/packages/shared/kbn-unified-data-table",
"unsavedChangesBadge": "src/platform/packages/private/kbn-unsaved-changes-badge",
"unsavedChangesPrompt": "src/platform/packages/shared/kbn-unsaved-changes-prompt",
"managedContentBadge": "packages/kbn-managed-content-badge",
"managedContentBadge": "src/platform/packages/private/kbn-managed-content-badge",
"responseOpsRuleForm": "packages/response-ops/rule_form"
},
"translations": []

View file

@ -1,19 +1,19 @@
[
{
"output": "src/plugins/telemetry/schema/oss_plugins.json",
"output": "src/platform/plugins/shared/telemetry/schema/oss_plugins.json",
"root": "src/plugins/",
"exclude": [
"src/plugins/kibana_usage_collection/server/collectors/config_usage/register_config_usage_collector.ts"
]
"exclude": []
},
{
"output": "src/plugins/telemetry/schema/kbn_packages.json",
"output": "src/platform/plugins/shared/telemetry/schema/kbn_packages.json",
"root": "packages/",
"exclude": []
},
{
"output": "src/plugins/telemetry/schema/oss_platform.json",
"output": "src/platform/plugins/shared/telemetry/schema/oss_platform.json",
"root": "src/platform/",
"exclude": []
"exclude": [
"src/platform/plugins/private/kibana_usage_collection/server/collectors/config_usage/register_config_usage_collector.ts"
]
}
]

View file

@ -1,5 +1,5 @@
Kibana source code with Kibana X-Pack source code
Copyright 2012-2024 Elasticsearch B.V.
Copyright 2012-2025 Elasticsearch B.V.
---
Adapted from remote-web-worker, which was available under a "MIT" license.

File diff suppressed because it is too large Load diff

View file

@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/actions
title: "actions"
image: https://source.unsplash.com/400x175/?github
description: API docs for the actions plugin
date: 2024-12-17
date: 2025-01-08
tags: ['contributor', 'dev', 'apidocs', 'kibana', 'actions']
---
import actionsObj from './actions.devdocs.json';
@ -21,7 +21,7 @@ Contact [@elastic/response-ops](https://github.com/orgs/elastic/teams/response-o
| Public API count | Any count | Items lacking comments | Missing exports |
|-------------------|-----------|------------------------|-----------------|
| 321 | 0 | 315 | 37 |
| 331 | 0 | 325 | 37 |
## Client
@ -48,6 +48,9 @@ Contact [@elastic/response-ops](https://github.com/orgs/elastic/teams/response-o
### Interfaces
<DocDefinitionList data={actionsObj.server.interfaces}/>
### Enums
<DocDefinitionList data={actionsObj.server.enums}/>
### Consts, variables and types
<DocDefinitionList data={actionsObj.server.misc}/>

View file

@ -17,7 +17,7 @@
"signature": [
"{ addSpaceSection: (Component: RegistryComponent, queryMatch: QueryMatchFn) => void; addGlobalSection: (Component: RegistryComponent, queryMatch: QueryMatchFn) => void; }"
],
"path": "src/plugins/advanced_settings/public/types.ts",
"path": "src/platform/plugins/private/advanced_settings/public/types.ts",
"deprecated": false,
"trackAdoption": false,
"lifecycle": "setup",
@ -49,7 +49,7 @@
},
"[]; }"
],
"path": "src/plugins/advanced_settings/public/types.ts",
"path": "src/platform/plugins/private/advanced_settings/public/types.ts",
"deprecated": false,
"trackAdoption": false,
"lifecycle": "start",

View file

@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/advancedSettings
title: "advancedSettings"
image: https://source.unsplash.com/400x175/?github
description: API docs for the advancedSettings plugin
date: 2024-12-17
date: 2025-01-08
tags: ['contributor', 'dev', 'apidocs', 'kibana', 'advancedSettings']
---
import advancedSettingsObj from './advanced_settings.devdocs.json';

View file

@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/aiAssistantManagementSelection
title: "aiAssistantManagementSelection"
image: https://source.unsplash.com/400x175/?github
description: API docs for the aiAssistantManagementSelection plugin
date: 2024-12-17
date: 2025-01-08
tags: ['contributor', 'dev', 'apidocs', 'kibana', 'aiAssistantManagementSelection']
---
import aiAssistantManagementSelectionObj from './ai_assistant_management_selection.devdocs.json';

View file

@ -254,13 +254,7 @@
"\nUsed to check capabilities for links to other plugins.\n`application.currentAppId$` is used to close the log pattern analysis flyout\nwhen user navigates out of the current plugin."
],
"signature": [
{
"pluginId": "@kbn/core-application-browser",
"scope": "public",
"docId": "kibKbnCoreApplicationBrowserPluginApi",
"section": "def-public.ApplicationStart",
"text": "ApplicationStart"
}
"ApplicationStart"
],
"path": "x-pack/platform/plugins/shared/aiops/public/hooks/use_aiops_app_context.ts",
"deprecated": false,
@ -298,13 +292,7 @@
"\nProvides execution context for data fetching."
],
"signature": [
{
"pluginId": "@kbn/core-execution-context-browser",
"scope": "public",
"docId": "kibKbnCoreExecutionContextBrowserPluginApi",
"section": "def-public.ExecutionContextSetup",
"text": "ExecutionContextSetup"
}
"ExecutionContextSetup"
],
"path": "x-pack/platform/plugins/shared/aiops/public/hooks/use_aiops_app_context.ts",
"deprecated": false,
@ -377,13 +365,7 @@
"\nUsed for data fetching."
],
"signature": [
{
"pluginId": "@kbn/core-http-browser",
"scope": "public",
"docId": "kibKbnCoreHttpBrowserPluginApi",
"section": "def-public.HttpSetup",
"text": "HttpSetup"
}
"HttpSetup"
],
"path": "x-pack/platform/plugins/shared/aiops/public/hooks/use_aiops_app_context.ts",
"deprecated": false,
@ -399,13 +381,7 @@
"\nUsed for toast notifications."
],
"signature": [
{
"pluginId": "@kbn/core-notifications-browser",
"scope": "public",
"docId": "kibKbnCoreNotificationsBrowserPluginApi",
"section": "def-public.NotificationsSetup",
"text": "NotificationsSetup"
}
"NotificationsSetup"
],
"path": "x-pack/platform/plugins/shared/aiops/public/hooks/use_aiops_app_context.ts",
"deprecated": false,
@ -444,13 +420,7 @@
"\nTheme service."
],
"signature": [
{
"pluginId": "@kbn/core-theme-browser",
"scope": "public",
"docId": "kibKbnCoreThemeBrowserPluginApi",
"section": "def-public.ThemeServiceSetup",
"text": "ThemeServiceSetup"
}
"ThemeServiceSetup"
],
"path": "x-pack/platform/plugins/shared/aiops/public/hooks/use_aiops_app_context.ts",
"deprecated": false,
@ -466,13 +436,7 @@
"\nUI settings."
],
"signature": [
{
"pluginId": "@kbn/core-ui-settings-browser",
"scope": "public",
"docId": "kibKbnCoreUiSettingsBrowserPluginApi",
"section": "def-public.IUiSettingsClient",
"text": "IUiSettingsClient"
}
"IUiSettingsClient"
],
"path": "x-pack/platform/plugins/shared/aiops/public/hooks/use_aiops_app_context.ts",
"deprecated": false,
@ -523,6 +487,22 @@
"deprecated": false,
"trackAdoption": false
},
{
"parentPluginId": "aiops",
"id": "def-public.AiopsAppContextValue.userProfile",
"type": "Object",
"tags": [],
"label": "userProfile",
"description": [
"\nUser profile service."
],
"signature": [
"UserProfileService"
],
"path": "x-pack/platform/plugins/shared/aiops/public/hooks/use_aiops_app_context.ts",
"deprecated": false,
"trackAdoption": false
},
{
"parentPluginId": "aiops",
"id": "def-public.AiopsAppContextValue.share",
@ -601,13 +581,7 @@
"\nInternationalisation service"
],
"signature": [
{
"pluginId": "@kbn/core-i18n-browser",
"scope": "public",
"docId": "kibKbnCoreI18nBrowserPluginApi",
"section": "def-public.I18nStart",
"text": "I18nStart"
}
"I18nStart"
],
"path": "x-pack/platform/plugins/shared/aiops/public/hooks/use_aiops_app_context.ts",
"deprecated": false,

View file

@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/aiops
title: "aiops"
image: https://source.unsplash.com/400x175/?github
description: API docs for the aiops plugin
date: 2024-12-17
date: 2025-01-08
tags: ['contributor', 'dev', 'apidocs', 'kibana', 'aiops']
---
import aiopsObj from './aiops.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 |
|-------------------|-----------|------------------------|-----------------|
| 72 | 0 | 8 | 2 |
| 73 | 0 | 8 | 2 |
## Client

File diff suppressed because it is too large Load diff

View file

@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/alerting
title: "alerting"
image: https://source.unsplash.com/400x175/?github
description: API docs for the alerting plugin
date: 2024-12-17
date: 2025-01-08
tags: ['contributor', 'dev', 'apidocs', 'kibana', 'alerting']
---
import alertingObj from './alerting.devdocs.json';
@ -21,7 +21,7 @@ Contact [@elastic/response-ops](https://github.com/orgs/elastic/teams/response-o
| Public API count | Any count | Items lacking comments | Missing exports |
|-------------------|-----------|------------------------|-----------------|
| 872 | 1 | 839 | 50 |
| 874 | 1 | 841 | 50 |
## Client

File diff suppressed because one or more lines are too long

View file

@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/apm
title: "apm"
image: https://source.unsplash.com/400x175/?github
description: API docs for the apm plugin
date: 2024-12-17
date: 2025-01-08
tags: ['contributor', 'dev', 'apidocs', 'kibana', 'apm']
---
import apmObj from './apm.devdocs.json';

View file

@ -17,7 +17,7 @@
"tags": [],
"label": "APMEventClient",
"description": [],
"path": "x-pack/plugins/observability_solution/apm_data_access/server/lib/helpers/create_es_client/create_apm_event_client/index.ts",
"path": "x-pack/solutions/observability/plugins/apm_data_access/server/lib/helpers/create_es_client/create_apm_event_client/index.ts",
"deprecated": false,
"trackAdoption": false,
"children": [
@ -31,7 +31,7 @@
"signature": [
"{ readonly error: string; readonly transaction: string; readonly span: string; readonly metric: string; readonly onboarding: string; readonly sourcemap: string; }"
],
"path": "x-pack/plugins/observability_solution/apm_data_access/server/lib/helpers/create_es_client/create_apm_event_client/index.ts",
"path": "x-pack/solutions/observability/plugins/apm_data_access/server/lib/helpers/create_es_client/create_apm_event_client/index.ts",
"deprecated": false,
"trackAdoption": false
},
@ -45,7 +45,7 @@
"signature": [
"any"
],
"path": "x-pack/plugins/observability_solution/apm_data_access/server/lib/helpers/create_es_client/create_apm_event_client/index.ts",
"path": "x-pack/solutions/observability/plugins/apm_data_access/server/lib/helpers/create_es_client/create_apm_event_client/index.ts",
"deprecated": false,
"trackAdoption": false,
"children": [
@ -65,7 +65,7 @@
"text": "APMEventClientConfig"
}
],
"path": "x-pack/plugins/observability_solution/apm_data_access/server/lib/helpers/create_es_client/create_apm_event_client/index.ts",
"path": "x-pack/solutions/observability/plugins/apm_data_access/server/lib/helpers/create_es_client/create_apm_event_client/index.ts",
"deprecated": false,
"trackAdoption": false,
"isRequired": true
@ -91,7 +91,7 @@
},
">(operationName: string, params: TParams) => Promise<TypedSearchResponse<TParams>>"
],
"path": "x-pack/plugins/observability_solution/apm_data_access/server/lib/helpers/create_es_client/create_apm_event_client/index.ts",
"path": "x-pack/solutions/observability/plugins/apm_data_access/server/lib/helpers/create_es_client/create_apm_event_client/index.ts",
"deprecated": false,
"trackAdoption": false,
"children": [
@ -105,7 +105,7 @@
"signature": [
"string"
],
"path": "x-pack/plugins/observability_solution/apm_data_access/server/lib/helpers/create_es_client/create_apm_event_client/index.ts",
"path": "x-pack/solutions/observability/plugins/apm_data_access/server/lib/helpers/create_es_client/create_apm_event_client/index.ts",
"deprecated": false,
"trackAdoption": false,
"isRequired": true
@ -120,7 +120,7 @@
"signature": [
"TParams"
],
"path": "x-pack/plugins/observability_solution/apm_data_access/server/lib/helpers/create_es_client/create_apm_event_client/index.ts",
"path": "x-pack/solutions/observability/plugins/apm_data_access/server/lib/helpers/create_es_client/create_apm_event_client/index.ts",
"deprecated": false,
"trackAdoption": false,
"isRequired": true
@ -146,7 +146,7 @@
},
">(operationName: string, params: TParams) => Promise<TypedLogEventSearchResponse<TParams>>"
],
"path": "x-pack/plugins/observability_solution/apm_data_access/server/lib/helpers/create_es_client/create_apm_event_client/index.ts",
"path": "x-pack/solutions/observability/plugins/apm_data_access/server/lib/helpers/create_es_client/create_apm_event_client/index.ts",
"deprecated": false,
"trackAdoption": false,
"children": [
@ -160,7 +160,7 @@
"signature": [
"string"
],
"path": "x-pack/plugins/observability_solution/apm_data_access/server/lib/helpers/create_es_client/create_apm_event_client/index.ts",
"path": "x-pack/solutions/observability/plugins/apm_data_access/server/lib/helpers/create_es_client/create_apm_event_client/index.ts",
"deprecated": false,
"trackAdoption": false,
"isRequired": true
@ -175,7 +175,7 @@
"signature": [
"TParams"
],
"path": "x-pack/plugins/observability_solution/apm_data_access/server/lib/helpers/create_es_client/create_apm_event_client/index.ts",
"path": "x-pack/solutions/observability/plugins/apm_data_access/server/lib/helpers/create_es_client/create_apm_event_client/index.ts",
"deprecated": false,
"trackAdoption": false,
"isRequired": true
@ -201,7 +201,7 @@
},
">(operationName: string, ...allParams: TParams[]) => Promise<TypedMSearchResponse<TParams>>"
],
"path": "x-pack/plugins/observability_solution/apm_data_access/server/lib/helpers/create_es_client/create_apm_event_client/index.ts",
"path": "x-pack/solutions/observability/plugins/apm_data_access/server/lib/helpers/create_es_client/create_apm_event_client/index.ts",
"deprecated": false,
"trackAdoption": false,
"children": [
@ -215,7 +215,7 @@
"signature": [
"string"
],
"path": "x-pack/plugins/observability_solution/apm_data_access/server/lib/helpers/create_es_client/create_apm_event_client/index.ts",
"path": "x-pack/solutions/observability/plugins/apm_data_access/server/lib/helpers/create_es_client/create_apm_event_client/index.ts",
"deprecated": false,
"trackAdoption": false,
"isRequired": true
@ -230,7 +230,7 @@
"signature": [
"TParams[]"
],
"path": "x-pack/plugins/observability_solution/apm_data_access/server/lib/helpers/create_es_client/create_apm_event_client/index.ts",
"path": "x-pack/solutions/observability/plugins/apm_data_access/server/lib/helpers/create_es_client/create_apm_event_client/index.ts",
"deprecated": false,
"trackAdoption": false,
"isRequired": true
@ -250,7 +250,7 @@
"EqlSearchResponse",
"<unknown>>"
],
"path": "x-pack/plugins/observability_solution/apm_data_access/server/lib/helpers/create_es_client/create_apm_event_client/index.ts",
"path": "x-pack/solutions/observability/plugins/apm_data_access/server/lib/helpers/create_es_client/create_apm_event_client/index.ts",
"deprecated": false,
"trackAdoption": false,
"children": [
@ -264,7 +264,7 @@
"signature": [
"string"
],
"path": "x-pack/plugins/observability_solution/apm_data_access/server/lib/helpers/create_es_client/create_apm_event_client/index.ts",
"path": "x-pack/solutions/observability/plugins/apm_data_access/server/lib/helpers/create_es_client/create_apm_event_client/index.ts",
"deprecated": false,
"trackAdoption": false,
"isRequired": true
@ -279,7 +279,7 @@
"signature": [
"APMEventEqlSearchRequest"
],
"path": "x-pack/plugins/observability_solution/apm_data_access/server/lib/helpers/create_es_client/create_apm_event_client/index.ts",
"path": "x-pack/solutions/observability/plugins/apm_data_access/server/lib/helpers/create_es_client/create_apm_event_client/index.ts",
"deprecated": false,
"trackAdoption": false,
"isRequired": true
@ -301,7 +301,7 @@
"FieldCapsResponse",
">"
],
"path": "x-pack/plugins/observability_solution/apm_data_access/server/lib/helpers/create_es_client/create_apm_event_client/index.ts",
"path": "x-pack/solutions/observability/plugins/apm_data_access/server/lib/helpers/create_es_client/create_apm_event_client/index.ts",
"deprecated": false,
"trackAdoption": false,
"children": [
@ -315,7 +315,7 @@
"signature": [
"string"
],
"path": "x-pack/plugins/observability_solution/apm_data_access/server/lib/helpers/create_es_client/create_apm_event_client/index.ts",
"path": "x-pack/solutions/observability/plugins/apm_data_access/server/lib/helpers/create_es_client/create_apm_event_client/index.ts",
"deprecated": false,
"trackAdoption": false,
"isRequired": true
@ -330,7 +330,7 @@
"signature": [
"APMEventFieldCapsRequest"
],
"path": "x-pack/plugins/observability_solution/apm_data_access/server/lib/helpers/create_es_client/create_apm_event_client/index.ts",
"path": "x-pack/solutions/observability/plugins/apm_data_access/server/lib/helpers/create_es_client/create_apm_event_client/index.ts",
"deprecated": false,
"trackAdoption": false,
"isRequired": true
@ -352,7 +352,7 @@
"TermsEnumResponse",
">"
],
"path": "x-pack/plugins/observability_solution/apm_data_access/server/lib/helpers/create_es_client/create_apm_event_client/index.ts",
"path": "x-pack/solutions/observability/plugins/apm_data_access/server/lib/helpers/create_es_client/create_apm_event_client/index.ts",
"deprecated": false,
"trackAdoption": false,
"children": [
@ -366,7 +366,7 @@
"signature": [
"string"
],
"path": "x-pack/plugins/observability_solution/apm_data_access/server/lib/helpers/create_es_client/create_apm_event_client/index.ts",
"path": "x-pack/solutions/observability/plugins/apm_data_access/server/lib/helpers/create_es_client/create_apm_event_client/index.ts",
"deprecated": false,
"trackAdoption": false,
"isRequired": true
@ -381,7 +381,7 @@
"signature": [
"APMEventTermsEnumRequest"
],
"path": "x-pack/plugins/observability_solution/apm_data_access/server/lib/helpers/create_es_client/create_apm_event_client/index.ts",
"path": "x-pack/solutions/observability/plugins/apm_data_access/server/lib/helpers/create_es_client/create_apm_event_client/index.ts",
"deprecated": false,
"trackAdoption": false,
"isRequired": true
@ -407,7 +407,7 @@
},
") => string[]"
],
"path": "x-pack/plugins/observability_solution/apm_data_access/server/lib/helpers/create_es_client/create_apm_event_client/index.ts",
"path": "x-pack/solutions/observability/plugins/apm_data_access/server/lib/helpers/create_es_client/create_apm_event_client/index.ts",
"deprecated": false,
"trackAdoption": false,
"children": [
@ -427,7 +427,7 @@
"text": "ProcessorEvent"
}
],
"path": "x-pack/plugins/observability_solution/apm_data_access/server/lib/helpers/create_es_client/create_apm_event_client/index.ts",
"path": "x-pack/solutions/observability/plugins/apm_data_access/server/lib/helpers/create_es_client/create_apm_event_client/index.ts",
"deprecated": false,
"trackAdoption": false,
"isRequired": true
@ -448,7 +448,7 @@
"tags": [],
"label": "ApmDataAccessPrivilegesCheck",
"description": [],
"path": "x-pack/plugins/observability_solution/apm_data_access/server/lib/check_privileges.ts",
"path": "x-pack/solutions/observability/plugins/apm_data_access/server/lib/check_privileges.ts",
"deprecated": false,
"trackAdoption": false,
"children": [
@ -460,16 +460,10 @@
"label": "request",
"description": [],
"signature": [
{
"pluginId": "@kbn/core-http-server",
"scope": "server",
"docId": "kibKbnCoreHttpServerPluginApi",
"section": "def-server.KibanaRequest",
"text": "KibanaRequest"
},
"KibanaRequest",
"<unknown, unknown, unknown, any>"
],
"path": "x-pack/plugins/observability_solution/apm_data_access/server/lib/check_privileges.ts",
"path": "x-pack/solutions/observability/plugins/apm_data_access/server/lib/check_privileges.ts",
"deprecated": false,
"trackAdoption": false
},
@ -490,7 +484,7 @@
},
" | undefined"
],
"path": "x-pack/plugins/observability_solution/apm_data_access/server/lib/check_privileges.ts",
"path": "x-pack/solutions/observability/plugins/apm_data_access/server/lib/check_privileges.ts",
"deprecated": false,
"trackAdoption": false
},
@ -504,7 +498,7 @@
"signature": [
"() => Promise<Readonly<{} & { error: string; transaction: string; span: string; metric: string; onboarding: string; sourcemap: string; }>>"
],
"path": "x-pack/plugins/observability_solution/apm_data_access/server/lib/check_privileges.ts",
"path": "x-pack/solutions/observability/plugins/apm_data_access/server/lib/check_privileges.ts",
"deprecated": false,
"trackAdoption": false,
"children": [],
@ -520,7 +514,7 @@
"tags": [],
"label": "ApmDataAccessServicesParams",
"description": [],
"path": "x-pack/plugins/observability_solution/apm_data_access/server/services/get_services.ts",
"path": "x-pack/solutions/observability/plugins/apm_data_access/server/services/get_services.ts",
"deprecated": false,
"trackAdoption": false,
"children": [
@ -540,7 +534,7 @@
"text": "APMEventClient"
}
],
"path": "x-pack/plugins/observability_solution/apm_data_access/server/services/get_services.ts",
"path": "x-pack/solutions/observability/plugins/apm_data_access/server/services/get_services.ts",
"deprecated": false,
"trackAdoption": false
}
@ -554,7 +548,7 @@
"tags": [],
"label": "APMEventClientConfig",
"description": [],
"path": "x-pack/plugins/observability_solution/apm_data_access/server/lib/helpers/create_es_client/create_apm_event_client/index.ts",
"path": "x-pack/solutions/observability/plugins/apm_data_access/server/lib/helpers/create_es_client/create_apm_event_client/index.ts",
"deprecated": false,
"trackAdoption": false,
"children": [
@ -1822,7 +1816,7 @@
"default",
"; }"
],
"path": "x-pack/plugins/observability_solution/apm_data_access/server/lib/helpers/create_es_client/create_apm_event_client/index.ts",
"path": "x-pack/solutions/observability/plugins/apm_data_access/server/lib/helpers/create_es_client/create_apm_event_client/index.ts",
"deprecated": false,
"trackAdoption": false
},
@ -1833,7 +1827,7 @@
"tags": [],
"label": "debug",
"description": [],
"path": "x-pack/plugins/observability_solution/apm_data_access/server/lib/helpers/create_es_client/create_apm_event_client/index.ts",
"path": "x-pack/solutions/observability/plugins/apm_data_access/server/lib/helpers/create_es_client/create_apm_event_client/index.ts",
"deprecated": false,
"trackAdoption": false
},
@ -1845,16 +1839,10 @@
"label": "request",
"description": [],
"signature": [
{
"pluginId": "@kbn/core-http-server",
"scope": "server",
"docId": "kibKbnCoreHttpServerPluginApi",
"section": "def-server.KibanaRequest",
"text": "KibanaRequest"
},
"KibanaRequest",
"<unknown, unknown, unknown, any>"
],
"path": "x-pack/plugins/observability_solution/apm_data_access/server/lib/helpers/create_es_client/create_apm_event_client/index.ts",
"path": "x-pack/solutions/observability/plugins/apm_data_access/server/lib/helpers/create_es_client/create_apm_event_client/index.ts",
"deprecated": false,
"trackAdoption": false
},
@ -1868,7 +1856,7 @@
"signature": [
"{ readonly error: string; readonly transaction: string; readonly span: string; readonly metric: string; readonly onboarding: string; readonly sourcemap: string; }"
],
"path": "x-pack/plugins/observability_solution/apm_data_access/server/lib/helpers/create_es_client/create_apm_event_client/index.ts",
"path": "x-pack/solutions/observability/plugins/apm_data_access/server/lib/helpers/create_es_client/create_apm_event_client/index.ts",
"deprecated": false,
"trackAdoption": false
},
@ -1881,13 +1869,7 @@
"description": [],
"signature": [
"{ includeFrozen: boolean; inspectableEsQueriesMap?: WeakMap<",
{
"pluginId": "@kbn/core-http-server",
"scope": "server",
"docId": "kibKbnCoreHttpServerPluginApi",
"section": "def-server.KibanaRequest",
"text": "KibanaRequest"
},
"KibanaRequest",
"<unknown, unknown, unknown, any>, ",
"InspectResponse",
"> | undefined; excludedDataTiers?: ",
@ -1900,7 +1882,7 @@
},
"[] | undefined; }"
],
"path": "x-pack/plugins/observability_solution/apm_data_access/server/lib/helpers/create_es_client/create_apm_event_client/index.ts",
"path": "x-pack/solutions/observability/plugins/apm_data_access/server/lib/helpers/create_es_client/create_apm_event_client/index.ts",
"deprecated": false,
"trackAdoption": false
}
@ -1914,7 +1896,7 @@
"tags": [],
"label": "DocumentSourcesRequest",
"description": [],
"path": "x-pack/plugins/observability_solution/apm_data_access/server/services/get_document_sources/get_document_sources.ts",
"path": "x-pack/solutions/observability/plugins/apm_data_access/server/services/get_document_sources/get_document_sources.ts",
"deprecated": false,
"trackAdoption": false,
"children": [
@ -1934,7 +1916,7 @@
"text": "APMEventClient"
}
],
"path": "x-pack/plugins/observability_solution/apm_data_access/server/services/get_document_sources/get_document_sources.ts",
"path": "x-pack/solutions/observability/plugins/apm_data_access/server/services/get_document_sources/get_document_sources.ts",
"deprecated": false,
"trackAdoption": false
},
@ -1945,7 +1927,7 @@
"tags": [],
"label": "start",
"description": [],
"path": "x-pack/plugins/observability_solution/apm_data_access/server/services/get_document_sources/get_document_sources.ts",
"path": "x-pack/solutions/observability/plugins/apm_data_access/server/services/get_document_sources/get_document_sources.ts",
"deprecated": false,
"trackAdoption": false
},
@ -1956,7 +1938,7 @@
"tags": [],
"label": "end",
"description": [],
"path": "x-pack/plugins/observability_solution/apm_data_access/server/services/get_document_sources/get_document_sources.ts",
"path": "x-pack/solutions/observability/plugins/apm_data_access/server/services/get_document_sources/get_document_sources.ts",
"deprecated": false,
"trackAdoption": false
},
@ -1967,7 +1949,7 @@
"tags": [],
"label": "kuery",
"description": [],
"path": "x-pack/plugins/observability_solution/apm_data_access/server/services/get_document_sources/get_document_sources.ts",
"path": "x-pack/solutions/observability/plugins/apm_data_access/server/services/get_document_sources/get_document_sources.ts",
"deprecated": false,
"trackAdoption": false
},
@ -1978,7 +1960,7 @@
"tags": [],
"label": "enableServiceTransactionMetrics",
"description": [],
"path": "x-pack/plugins/observability_solution/apm_data_access/server/services/get_document_sources/get_document_sources.ts",
"path": "x-pack/solutions/observability/plugins/apm_data_access/server/services/get_document_sources/get_document_sources.ts",
"deprecated": false,
"trackAdoption": false
},
@ -1989,7 +1971,7 @@
"tags": [],
"label": "enableContinuousRollups",
"description": [],
"path": "x-pack/plugins/observability_solution/apm_data_access/server/services/get_document_sources/get_document_sources.ts",
"path": "x-pack/solutions/observability/plugins/apm_data_access/server/services/get_document_sources/get_document_sources.ts",
"deprecated": false,
"trackAdoption": false
}
@ -2003,7 +1985,7 @@
"tags": [],
"label": "GetDocumentTypeParams",
"description": [],
"path": "x-pack/plugins/observability_solution/apm_data_access/server/services/get_document_type_config/index.ts",
"path": "x-pack/solutions/observability/plugins/apm_data_access/server/services/get_document_type_config/index.ts",
"deprecated": false,
"trackAdoption": false,
"children": [
@ -2014,7 +1996,7 @@
"tags": [],
"label": "start",
"description": [],
"path": "x-pack/plugins/observability_solution/apm_data_access/server/services/get_document_type_config/index.ts",
"path": "x-pack/solutions/observability/plugins/apm_data_access/server/services/get_document_type_config/index.ts",
"deprecated": false,
"trackAdoption": false
},
@ -2025,7 +2007,7 @@
"tags": [],
"label": "end",
"description": [],
"path": "x-pack/plugins/observability_solution/apm_data_access/server/services/get_document_type_config/index.ts",
"path": "x-pack/solutions/observability/plugins/apm_data_access/server/services/get_document_type_config/index.ts",
"deprecated": false,
"trackAdoption": false
},
@ -2047,7 +2029,7 @@
},
"<AnyApmDocumentType> & { hasDocs: boolean; hasDurationSummaryField: boolean; })[]"
],
"path": "x-pack/plugins/observability_solution/apm_data_access/server/services/get_document_type_config/index.ts",
"path": "x-pack/solutions/observability/plugins/apm_data_access/server/services/get_document_type_config/index.ts",
"deprecated": false,
"trackAdoption": false
},
@ -2068,7 +2050,7 @@
},
"[]"
],
"path": "x-pack/plugins/observability_solution/apm_data_access/server/services/get_document_type_config/index.ts",
"path": "x-pack/solutions/observability/plugins/apm_data_access/server/services/get_document_type_config/index.ts",
"deprecated": false,
"trackAdoption": false
},
@ -2082,7 +2064,7 @@
"signature": [
"number | undefined"
],
"path": "x-pack/plugins/observability_solution/apm_data_access/server/services/get_document_type_config/index.ts",
"path": "x-pack/solutions/observability/plugins/apm_data_access/server/services/get_document_type_config/index.ts",
"deprecated": false,
"trackAdoption": false
}
@ -2096,7 +2078,7 @@
"tags": [],
"label": "HostNamesRequest",
"description": [],
"path": "x-pack/plugins/observability_solution/apm_data_access/server/services/get_host_names/index.ts",
"path": "x-pack/solutions/observability/plugins/apm_data_access/server/services/get_host_names/index.ts",
"deprecated": false,
"trackAdoption": false,
"children": [
@ -2111,7 +2093,7 @@
"QueryDslQueryContainer",
" | undefined"
],
"path": "x-pack/plugins/observability_solution/apm_data_access/server/services/get_host_names/index.ts",
"path": "x-pack/solutions/observability/plugins/apm_data_access/server/services/get_host_names/index.ts",
"deprecated": false,
"trackAdoption": false
},
@ -2125,7 +2107,7 @@
"signature": [
"string | undefined"
],
"path": "x-pack/plugins/observability_solution/apm_data_access/server/services/get_host_names/index.ts",
"path": "x-pack/solutions/observability/plugins/apm_data_access/server/services/get_host_names/index.ts",
"deprecated": false,
"trackAdoption": false
},
@ -2136,7 +2118,7 @@
"tags": [],
"label": "start",
"description": [],
"path": "x-pack/plugins/observability_solution/apm_data_access/server/services/get_host_names/index.ts",
"path": "x-pack/solutions/observability/plugins/apm_data_access/server/services/get_host_names/index.ts",
"deprecated": false,
"trackAdoption": false
},
@ -2147,7 +2129,7 @@
"tags": [],
"label": "end",
"description": [],
"path": "x-pack/plugins/observability_solution/apm_data_access/server/services/get_host_names/index.ts",
"path": "x-pack/solutions/observability/plugins/apm_data_access/server/services/get_host_names/index.ts",
"deprecated": false,
"trackAdoption": false
},
@ -2161,7 +2143,7 @@
"signature": [
"number | undefined"
],
"path": "x-pack/plugins/observability_solution/apm_data_access/server/services/get_host_names/index.ts",
"path": "x-pack/solutions/observability/plugins/apm_data_access/server/services/get_host_names/index.ts",
"deprecated": false,
"trackAdoption": false
},
@ -2183,7 +2165,7 @@
},
"<AnyApmDocumentType> & { hasDocs: boolean; hasDurationSummaryField: boolean; })[]"
],
"path": "x-pack/plugins/observability_solution/apm_data_access/server/services/get_host_names/index.ts",
"path": "x-pack/solutions/observability/plugins/apm_data_access/server/services/get_host_names/index.ts",
"deprecated": false,
"trackAdoption": false
}
@ -2203,7 +2185,7 @@
"signature": [
"{ readonly indices: Readonly<{} & { error: string; transaction: string; span: string; metric: string; onboarding: string; sourcemap: string; }>; }"
],
"path": "x-pack/plugins/observability_solution/apm_data_access/server/index.ts",
"path": "x-pack/solutions/observability/plugins/apm_data_access/server/index.ts",
"deprecated": false,
"trackAdoption": false,
"initialIsOpen": false
@ -2260,7 +2242,7 @@
"HostServicesRequest",
") => Promise<{ services: { serviceName: string; agentName: string | null; }[]; }>; }"
],
"path": "x-pack/plugins/observability_solution/apm_data_access/server/types.ts",
"path": "x-pack/solutions/observability/plugins/apm_data_access/server/types.ts",
"deprecated": false,
"trackAdoption": false,
"initialIsOpen": false
@ -2293,7 +2275,7 @@
},
"<AnyApmDocumentType>[]; }); body: { size: number; track_total_hits: number | boolean; }; }"
],
"path": "x-pack/plugins/observability_solution/apm_data_access/server/lib/helpers/create_es_client/create_apm_event_client/index.ts",
"path": "x-pack/solutions/observability/plugins/apm_data_access/server/lib/helpers/create_es_client/create_apm_event_client/index.ts",
"deprecated": false,
"trackAdoption": false,
"initialIsOpen": false
@ -2308,7 +2290,7 @@
"signature": [
"{ readonly error: string; readonly transaction: string; readonly span: string; readonly metric: string; readonly onboarding: string; readonly sourcemap: string; }"
],
"path": "x-pack/plugins/observability_solution/apm_data_access/server/index.ts",
"path": "x-pack/solutions/observability/plugins/apm_data_access/server/index.ts",
"deprecated": false,
"trackAdoption": false,
"initialIsOpen": false
@ -2325,7 +2307,7 @@
"SearchRequest",
", \"index\"> & { body: { size: number; track_total_hits: number | boolean; }; }"
],
"path": "x-pack/plugins/observability_solution/apm_data_access/server/lib/helpers/create_es_client/create_apm_event_client/index.ts",
"path": "x-pack/solutions/observability/plugins/apm_data_access/server/lib/helpers/create_es_client/create_apm_event_client/index.ts",
"deprecated": false,
"trackAdoption": false,
"initialIsOpen": false
@ -2339,7 +2321,7 @@
"tags": [],
"label": "ApmDataAccessPluginSetup",
"description": [],
"path": "x-pack/plugins/observability_solution/apm_data_access/server/types.ts",
"path": "x-pack/solutions/observability/plugins/apm_data_access/server/types.ts",
"deprecated": false,
"trackAdoption": false,
"children": [
@ -2353,7 +2335,7 @@
"signature": [
"{ readonly error: string; readonly transaction: string; readonly span: string; readonly metric: string; readonly onboarding: string; readonly sourcemap: string; }"
],
"path": "x-pack/plugins/observability_solution/apm_data_access/server/types.ts",
"path": "x-pack/solutions/observability/plugins/apm_data_access/server/types.ts",
"deprecated": false,
"trackAdoption": false
},
@ -2366,16 +2348,10 @@
"description": [],
"signature": [
"(soClient: ",
{
"pluginId": "@kbn/core-saved-objects-api-server",
"scope": "server",
"docId": "kibKbnCoreSavedObjectsApiServerPluginApi",
"section": "def-server.SavedObjectsClientContract",
"text": "SavedObjectsClientContract"
},
"SavedObjectsClientContract",
") => Promise<Readonly<{} & { error: string; transaction: string; span: string; metric: string; onboarding: string; sourcemap: string; }>>"
],
"path": "x-pack/plugins/observability_solution/apm_data_access/server/types.ts",
"path": "x-pack/solutions/observability/plugins/apm_data_access/server/types.ts",
"deprecated": false,
"trackAdoption": false,
"children": [
@ -2387,15 +2363,9 @@
"label": "soClient",
"description": [],
"signature": [
{
"pluginId": "@kbn/core-saved-objects-api-server",
"scope": "server",
"docId": "kibKbnCoreSavedObjectsApiServerPluginApi",
"section": "def-server.SavedObjectsClientContract",
"text": "SavedObjectsClientContract"
}
"SavedObjectsClientContract"
],
"path": "x-pack/plugins/observability_solution/apm_data_access/server/types.ts",
"path": "x-pack/solutions/observability/plugins/apm_data_access/server/types.ts",
"deprecated": false,
"trackAdoption": false,
"isRequired": true
@ -2463,7 +2433,7 @@
"HostServicesRequest",
") => Promise<{ services: { serviceName: string; agentName: string | null; }[]; }>; }"
],
"path": "x-pack/plugins/observability_solution/apm_data_access/server/types.ts",
"path": "x-pack/solutions/observability/plugins/apm_data_access/server/types.ts",
"deprecated": false,
"trackAdoption": false,
"returnComment": [],
@ -2484,7 +2454,7 @@
"text": "ApmDataAccessServicesParams"
}
],
"path": "x-pack/plugins/observability_solution/apm_data_access/server/services/get_services.ts",
"path": "x-pack/solutions/observability/plugins/apm_data_access/server/services/get_services.ts",
"deprecated": false,
"trackAdoption": false
}
@ -2501,7 +2471,7 @@
"tags": [],
"label": "ApmDataAccessPluginStart",
"description": [],
"path": "x-pack/plugins/observability_solution/apm_data_access/server/types.ts",
"path": "x-pack/solutions/observability/plugins/apm_data_access/server/types.ts",
"deprecated": false,
"trackAdoption": false,
"children": [
@ -2523,7 +2493,7 @@
},
", \"request\">) => Promise<boolean>"
],
"path": "x-pack/plugins/observability_solution/apm_data_access/server/types.ts",
"path": "x-pack/solutions/observability/plugins/apm_data_access/server/types.ts",
"deprecated": false,
"trackAdoption": false,
"children": [
@ -2545,7 +2515,7 @@
},
", \"request\">"
],
"path": "x-pack/plugins/observability_solution/apm_data_access/server/types.ts",
"path": "x-pack/solutions/observability/plugins/apm_data_access/server/types.ts",
"deprecated": false,
"trackAdoption": false,
"isRequired": true
@ -2571,7 +2541,7 @@
"signature": [
"({\n start,\n end,\n numBuckets = 50,\n minBucketSize,\n}: { start: number; end: number; numBuckets?: number | undefined; minBucketSize?: number | undefined; }) => { bucketSize: number; intervalString: string; }"
],
"path": "x-pack/plugins/observability_solution/apm_data_access/common/utils/get_bucket_size/index.ts",
"path": "x-pack/solutions/observability/plugins/apm_data_access/common/utils/get_bucket_size/index.ts",
"deprecated": false,
"trackAdoption": false,
"children": [
@ -2582,7 +2552,7 @@
"tags": [],
"label": "{\n start,\n end,\n numBuckets = 50,\n minBucketSize,\n}",
"description": [],
"path": "x-pack/plugins/observability_solution/apm_data_access/common/utils/get_bucket_size/index.ts",
"path": "x-pack/solutions/observability/plugins/apm_data_access/common/utils/get_bucket_size/index.ts",
"deprecated": false,
"trackAdoption": false,
"children": [
@ -2593,7 +2563,7 @@
"tags": [],
"label": "start",
"description": [],
"path": "x-pack/plugins/observability_solution/apm_data_access/common/utils/get_bucket_size/index.ts",
"path": "x-pack/solutions/observability/plugins/apm_data_access/common/utils/get_bucket_size/index.ts",
"deprecated": false,
"trackAdoption": false
},
@ -2604,7 +2574,7 @@
"tags": [],
"label": "end",
"description": [],
"path": "x-pack/plugins/observability_solution/apm_data_access/common/utils/get_bucket_size/index.ts",
"path": "x-pack/solutions/observability/plugins/apm_data_access/common/utils/get_bucket_size/index.ts",
"deprecated": false,
"trackAdoption": false
},
@ -2618,7 +2588,7 @@
"signature": [
"number | undefined"
],
"path": "x-pack/plugins/observability_solution/apm_data_access/common/utils/get_bucket_size/index.ts",
"path": "x-pack/solutions/observability/plugins/apm_data_access/common/utils/get_bucket_size/index.ts",
"deprecated": false,
"trackAdoption": false
},
@ -2632,7 +2602,7 @@
"signature": [
"number | undefined"
],
"path": "x-pack/plugins/observability_solution/apm_data_access/common/utils/get_bucket_size/index.ts",
"path": "x-pack/solutions/observability/plugins/apm_data_access/common/utils/get_bucket_size/index.ts",
"deprecated": false,
"trackAdoption": false
}
@ -2668,7 +2638,7 @@
},
"<AnyApmDocumentType>; bucketSizeInSeconds: number; }"
],
"path": "x-pack/plugins/observability_solution/apm_data_access/common/utils/get_preferred_bucket_size_and_data_source.ts",
"path": "x-pack/solutions/observability/plugins/apm_data_access/common/utils/get_preferred_bucket_size_and_data_source.ts",
"deprecated": false,
"trackAdoption": false,
"children": [
@ -2679,7 +2649,7 @@
"tags": [],
"label": "{\n sources,\n bucketSizeInSeconds,\n}",
"description": [],
"path": "x-pack/plugins/observability_solution/apm_data_access/common/utils/get_preferred_bucket_size_and_data_source.ts",
"path": "x-pack/solutions/observability/plugins/apm_data_access/common/utils/get_preferred_bucket_size_and_data_source.ts",
"deprecated": false,
"trackAdoption": false,
"children": [
@ -2700,7 +2670,7 @@
},
"<AnyApmDocumentType>[]"
],
"path": "x-pack/plugins/observability_solution/apm_data_access/common/utils/get_preferred_bucket_size_and_data_source.ts",
"path": "x-pack/solutions/observability/plugins/apm_data_access/common/utils/get_preferred_bucket_size_and_data_source.ts",
"deprecated": false,
"trackAdoption": false
},
@ -2711,7 +2681,7 @@
"tags": [],
"label": "bucketSizeInSeconds",
"description": [],
"path": "x-pack/plugins/observability_solution/apm_data_access/common/utils/get_preferred_bucket_size_and_data_source.ts",
"path": "x-pack/solutions/observability/plugins/apm_data_access/common/utils/get_preferred_bucket_size_and_data_source.ts",
"deprecated": false,
"trackAdoption": false
}
@ -2740,7 +2710,7 @@
},
"<TDocumentType>"
],
"path": "x-pack/plugins/observability_solution/apm_data_access/common/data_source.ts",
"path": "x-pack/solutions/observability/plugins/apm_data_access/common/data_source.ts",
"deprecated": false,
"trackAdoption": false,
"children": [
@ -2760,7 +2730,7 @@
"text": "RollupInterval"
}
],
"path": "x-pack/plugins/observability_solution/apm_data_access/common/data_source.ts",
"path": "x-pack/solutions/observability/plugins/apm_data_access/common/data_source.ts",
"deprecated": false,
"trackAdoption": false
},
@ -2774,7 +2744,7 @@
"signature": [
"TDocumentType"
],
"path": "x-pack/plugins/observability_solution/apm_data_access/common/data_source.ts",
"path": "x-pack/solutions/observability/plugins/apm_data_access/common/data_source.ts",
"deprecated": false,
"trackAdoption": false
}
@ -2788,7 +2758,7 @@
"tags": [],
"label": "TimeRangeMetadata",
"description": [],
"path": "x-pack/plugins/observability_solution/apm_data_access/common/time_range_metadata.ts",
"path": "x-pack/solutions/observability/plugins/apm_data_access/common/time_range_metadata.ts",
"deprecated": false,
"trackAdoption": false,
"children": [
@ -2799,7 +2769,7 @@
"tags": [],
"label": "isUsingServiceDestinationMetrics",
"description": [],
"path": "x-pack/plugins/observability_solution/apm_data_access/common/time_range_metadata.ts",
"path": "x-pack/solutions/observability/plugins/apm_data_access/common/time_range_metadata.ts",
"deprecated": false,
"trackAdoption": false
},
@ -2821,7 +2791,7 @@
},
"<AnyApmDocumentType> & { hasDocs: boolean; hasDurationSummaryField: boolean; })[]"
],
"path": "x-pack/plugins/observability_solution/apm_data_access/common/time_range_metadata.ts",
"path": "x-pack/solutions/observability/plugins/apm_data_access/common/time_range_metadata.ts",
"deprecated": false,
"trackAdoption": false
}
@ -2837,7 +2807,7 @@
"tags": [],
"label": "ApmDocumentType",
"description": [],
"path": "x-pack/plugins/observability_solution/apm_data_access/common/document_type.ts",
"path": "x-pack/solutions/observability/plugins/apm_data_access/common/document_type.ts",
"deprecated": false,
"trackAdoption": false,
"initialIsOpen": false
@ -2849,7 +2819,7 @@
"tags": [],
"label": "RollupInterval",
"description": [],
"path": "x-pack/plugins/observability_solution/apm_data_access/common/rollup.ts",
"path": "x-pack/solutions/observability/plugins/apm_data_access/common/rollup.ts",
"deprecated": false,
"trackAdoption": false,
"initialIsOpen": false
@ -2873,7 +2843,7 @@
},
"<T> & { hasDurationSummaryField: boolean; hasDocs: boolean; }"
],
"path": "x-pack/plugins/observability_solution/apm_data_access/common/data_source.ts",
"path": "x-pack/solutions/observability/plugins/apm_data_access/common/data_source.ts",
"deprecated": false,
"trackAdoption": false,
"initialIsOpen": false
@ -2911,7 +2881,7 @@
},
".TransactionEvent"
],
"path": "x-pack/plugins/observability_solution/apm_data_access/common/document_type.ts",
"path": "x-pack/solutions/observability/plugins/apm_data_access/common/document_type.ts",
"deprecated": false,
"trackAdoption": false,
"initialIsOpen": false
@ -2941,7 +2911,7 @@
},
".TransactionEvent"
],
"path": "x-pack/plugins/observability_solution/apm_data_access/common/document_type.ts",
"path": "x-pack/solutions/observability/plugins/apm_data_access/common/document_type.ts",
"deprecated": false,
"trackAdoption": false,
"initialIsOpen": false
@ -2956,7 +2926,7 @@
"signature": [
"\"apmDataAccess\""
],
"path": "x-pack/plugins/observability_solution/apm_data_access/common/index.ts",
"path": "x-pack/solutions/observability/plugins/apm_data_access/common/index.ts",
"deprecated": false,
"trackAdoption": false,
"initialIsOpen": false
@ -2971,7 +2941,7 @@
"signature": [
"\"apmDataAccess\""
],
"path": "x-pack/plugins/observability_solution/apm_data_access/common/index.ts",
"path": "x-pack/solutions/observability/plugins/apm_data_access/common/index.ts",
"deprecated": false,
"trackAdoption": false,
"initialIsOpen": false

View file

@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/apmDataAccess
title: "apmDataAccess"
image: https://source.unsplash.com/400x175/?github
description: API docs for the apmDataAccess plugin
date: 2024-12-17
date: 2025-01-08
tags: ['contributor', 'dev', 'apidocs', 'kibana', 'apmDataAccess']
---
import apmDataAccessObj from './apm_data_access.devdocs.json';

View file

@ -31,7 +31,42 @@
"path": "x-pack/solutions/security/plugins/asset_inventory/public/types.ts",
"deprecated": false,
"trackAdoption": false,
"children": [],
"children": [
{
"parentPluginId": "assetInventory",
"id": "def-public.AssetInventoryPluginStart.getAssetInventoryPage",
"type": "Function",
"tags": [],
"label": "getAssetInventoryPage",
"description": [],
"signature": [
"(assetInventoryStartDeps: ",
"AppPluginStartDependencies",
") => JSX.Element"
],
"path": "x-pack/solutions/security/plugins/asset_inventory/public/types.ts",
"deprecated": false,
"trackAdoption": false,
"children": [
{
"parentPluginId": "assetInventory",
"id": "def-public.AssetInventoryPluginStart.getAssetInventoryPage.$1",
"type": "Object",
"tags": [],
"label": "assetInventoryStartDeps",
"description": [],
"signature": [
"AppPluginStartDependencies"
],
"path": "x-pack/solutions/security/plugins/asset_inventory/public/types.ts",
"deprecated": false,
"trackAdoption": false,
"isRequired": true
}
],
"returnComment": []
}
],
"lifecycle": "start",
"initialIsOpen": true
}

View file

@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/assetInventory
title: "assetInventory"
image: https://source.unsplash.com/400x175/?github
description: API docs for the assetInventory plugin
date: 2024-12-17
date: 2025-01-08
tags: ['contributor', 'dev', 'apidocs', 'kibana', 'assetInventory']
---
import assetInventoryObj from './asset_inventory.devdocs.json';
@ -21,7 +21,7 @@ Contact [@elastic/kibana-cloud-security-posture](https://github.com/orgs/elastic
| Public API count | Any count | Items lacking comments | Missing exports |
|-------------------|-----------|------------------------|-----------------|
| 6 | 0 | 6 | 0 |
| 8 | 0 | 8 | 1 |
## Client

View file

@ -27,7 +27,7 @@
"tags": [],
"label": "BannerConfiguration",
"description": [],
"path": "x-pack/plugins/banners/common/types.ts",
"path": "x-pack/platform/plugins/private/banners/common/types.ts",
"deprecated": false,
"trackAdoption": false,
"children": [
@ -41,7 +41,7 @@
"signature": [
"\"disabled\" | \"top\""
],
"path": "x-pack/plugins/banners/common/types.ts",
"path": "x-pack/platform/plugins/private/banners/common/types.ts",
"deprecated": false,
"trackAdoption": false
},
@ -52,7 +52,7 @@
"tags": [],
"label": "textContent",
"description": [],
"path": "x-pack/plugins/banners/common/types.ts",
"path": "x-pack/platform/plugins/private/banners/common/types.ts",
"deprecated": false,
"trackAdoption": false
},
@ -63,7 +63,7 @@
"tags": [],
"label": "textColor",
"description": [],
"path": "x-pack/plugins/banners/common/types.ts",
"path": "x-pack/platform/plugins/private/banners/common/types.ts",
"deprecated": false,
"trackAdoption": false
},
@ -74,7 +74,7 @@
"tags": [],
"label": "backgroundColor",
"description": [],
"path": "x-pack/plugins/banners/common/types.ts",
"path": "x-pack/platform/plugins/private/banners/common/types.ts",
"deprecated": false,
"trackAdoption": false
}
@ -88,7 +88,7 @@
"tags": [],
"label": "BannerInfoResponse",
"description": [],
"path": "x-pack/plugins/banners/common/types.ts",
"path": "x-pack/platform/plugins/private/banners/common/types.ts",
"deprecated": false,
"trackAdoption": false,
"children": [
@ -99,7 +99,7 @@
"tags": [],
"label": "allowed",
"description": [],
"path": "x-pack/plugins/banners/common/types.ts",
"path": "x-pack/platform/plugins/private/banners/common/types.ts",
"deprecated": false,
"trackAdoption": false
},
@ -119,7 +119,7 @@
"text": "BannerConfiguration"
}
],
"path": "x-pack/plugins/banners/common/types.ts",
"path": "x-pack/platform/plugins/private/banners/common/types.ts",
"deprecated": false,
"trackAdoption": false
}
@ -139,7 +139,7 @@
"signature": [
"\"disabled\" | \"top\""
],
"path": "x-pack/plugins/banners/common/types.ts",
"path": "x-pack/platform/plugins/private/banners/common/types.ts",
"deprecated": false,
"trackAdoption": false,
"initialIsOpen": false

View file

@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/banners
title: "banners"
image: https://source.unsplash.com/400x175/?github
description: API docs for the banners plugin
date: 2024-12-17
date: 2025-01-08
tags: ['contributor', 'dev', 'apidocs', 'kibana', 'banners']
---
import bannersObj from './banners.devdocs.json';

View file

@ -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-12-17
date: 2024-12-19
tags: ['contributor', 'dev', 'apidocs', 'kibana', 'bfetch']
---
import bfetchObj from './bfetch.devdocs.json';

View file

@ -11,7 +11,7 @@
"tags": [],
"label": "WithKibanaProps",
"description": [],
"path": "x-pack/plugins/canvas/public/index.ts",
"path": "x-pack/platform/plugins/private/canvas/public/index.ts",
"deprecated": false,
"trackAdoption": false,
"children": [
@ -24,20 +24,14 @@
"description": [],
"signature": [
"{ services: ",
{
"pluginId": "@kbn/core-lifecycle-browser",
"scope": "public",
"docId": "kibKbnCoreLifecycleBrowserPluginApi",
"section": "def-public.CoreStart",
"text": "CoreStart"
},
"CoreStart",
" & ",
"CanvasStartDeps",
" & { canvas: ",
"CanvasServices",
"; }; }"
],
"path": "x-pack/plugins/canvas/public/index.ts",
"path": "x-pack/platform/plugins/private/canvas/public/index.ts",
"deprecated": false,
"trackAdoption": false
}
@ -60,7 +54,7 @@
"signature": [
"CanvasApi"
],
"path": "x-pack/plugins/canvas/public/plugin.tsx",
"path": "x-pack/platform/plugins/private/canvas/public/plugin.tsx",
"deprecated": false,
"trackAdoption": false,
"lifecycle": "setup",
@ -76,7 +70,7 @@
"signature": [
"void"
],
"path": "x-pack/plugins/canvas/public/plugin.tsx",
"path": "x-pack/platform/plugins/private/canvas/public/plugin.tsx",
"deprecated": false,
"trackAdoption": false,
"lifecycle": "start",
@ -107,7 +101,7 @@
"signature": [
"\"CANVAS_APP_LOCATOR\""
],
"path": "x-pack/plugins/canvas/common/locator.ts",
"path": "x-pack/platform/plugins/private/canvas/common/locator.ts",
"deprecated": false,
"trackAdoption": false,
"initialIsOpen": false
@ -137,7 +131,7 @@
},
">"
],
"path": "x-pack/plugins/canvas/common/locator.ts",
"path": "x-pack/platform/plugins/private/canvas/common/locator.ts",
"deprecated": false,
"trackAdoption": false,
"initialIsOpen": false
@ -152,7 +146,7 @@
"signature": [
"{ view: \"workpadPDF\"; id: string; page: number; }"
],
"path": "x-pack/plugins/canvas/common/locator.ts",
"path": "x-pack/platform/plugins/private/canvas/common/locator.ts",
"deprecated": false,
"trackAdoption": false,
"initialIsOpen": false
@ -166,7 +160,7 @@
"tags": [],
"label": "UI_SETTINGS",
"description": [],
"path": "x-pack/plugins/canvas/common/index.ts",
"path": "x-pack/platform/plugins/private/canvas/common/index.ts",
"deprecated": false,
"trackAdoption": false,
"children": [
@ -177,7 +171,7 @@
"tags": [],
"label": "ENABLE_LABS_UI",
"description": [],
"path": "x-pack/plugins/canvas/common/index.ts",
"path": "x-pack/platform/plugins/private/canvas/common/index.ts",
"deprecated": false,
"trackAdoption": false
}

View file

@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/canvas
title: "canvas"
image: https://source.unsplash.com/400x175/?github
description: API docs for the canvas plugin
date: 2024-12-17
date: 2025-01-08
tags: ['contributor', 'dev', 'apidocs', 'kibana', 'canvas']
---
import canvasObj from './canvas.devdocs.json';

File diff suppressed because it is too large Load diff

View file

@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/cases
title: "cases"
image: https://source.unsplash.com/400x175/?github
description: API docs for the cases plugin
date: 2024-12-17
date: 2025-01-08
tags: ['contributor', 'dev', 'apidocs', 'kibana', 'cases']
---
import casesObj from './cases.devdocs.json';

View file

@ -2301,13 +2301,7 @@
">; readonly darkModeEnabled$: ",
"Observable",
"<",
{
"pluginId": "@kbn/core-theme-browser",
"scope": "public",
"docId": "kibKbnCoreThemeBrowserPluginApi",
"section": "def-public.CoreTheme",
"text": "CoreTheme"
},
"CoreTheme",
">; useDarkMode: () => boolean; useChartsTheme: () => ",
"RecursivePartial",
"<",

View file

@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/charts
title: "charts"
image: https://source.unsplash.com/400x175/?github
description: API docs for the charts plugin
date: 2024-12-17
date: 2025-01-08
tags: ['contributor', 'dev', 'apidocs', 'kibana', 'charts']
---
import chartsObj from './charts.devdocs.json';

View file

@ -11,7 +11,7 @@
"tags": [],
"label": "CloudConfigType",
"description": [],
"path": "x-pack/plugins/cloud/public/plugin.tsx",
"path": "x-pack/platform/plugins/shared/cloud/public/plugin.tsx",
"deprecated": false,
"trackAdoption": false,
"children": [
@ -25,7 +25,7 @@
"signature": [
"string | undefined"
],
"path": "x-pack/plugins/cloud/public/plugin.tsx",
"path": "x-pack/platform/plugins/shared/cloud/public/plugin.tsx",
"deprecated": false,
"trackAdoption": false
},
@ -39,7 +39,7 @@
"signature": [
"string | undefined"
],
"path": "x-pack/plugins/cloud/public/plugin.tsx",
"path": "x-pack/platform/plugins/shared/cloud/public/plugin.tsx",
"deprecated": false,
"trackAdoption": false
},
@ -53,7 +53,7 @@
"signature": [
"string | undefined"
],
"path": "x-pack/plugins/cloud/public/plugin.tsx",
"path": "x-pack/platform/plugins/shared/cloud/public/plugin.tsx",
"deprecated": false,
"trackAdoption": false
},
@ -67,7 +67,7 @@
"signature": [
"string | undefined"
],
"path": "x-pack/plugins/cloud/public/plugin.tsx",
"path": "x-pack/platform/plugins/shared/cloud/public/plugin.tsx",
"deprecated": false,
"trackAdoption": false
},
@ -81,7 +81,7 @@
"signature": [
"string | undefined"
],
"path": "x-pack/plugins/cloud/public/plugin.tsx",
"path": "x-pack/platform/plugins/shared/cloud/public/plugin.tsx",
"deprecated": false,
"trackAdoption": false
},
@ -95,7 +95,7 @@
"signature": [
"string | undefined"
],
"path": "x-pack/plugins/cloud/public/plugin.tsx",
"path": "x-pack/platform/plugins/shared/cloud/public/plugin.tsx",
"deprecated": false,
"trackAdoption": false
},
@ -109,7 +109,7 @@
"signature": [
"string | undefined"
],
"path": "x-pack/plugins/cloud/public/plugin.tsx",
"path": "x-pack/platform/plugins/shared/cloud/public/plugin.tsx",
"deprecated": false,
"trackAdoption": false
},
@ -123,7 +123,7 @@
"signature": [
"string | undefined"
],
"path": "x-pack/plugins/cloud/public/plugin.tsx",
"path": "x-pack/platform/plugins/shared/cloud/public/plugin.tsx",
"deprecated": false,
"trackAdoption": false
},
@ -137,7 +137,7 @@
"signature": [
"string | undefined"
],
"path": "x-pack/plugins/cloud/public/plugin.tsx",
"path": "x-pack/platform/plugins/shared/cloud/public/plugin.tsx",
"deprecated": false,
"trackAdoption": false
},
@ -151,7 +151,7 @@
"signature": [
"string | undefined"
],
"path": "x-pack/plugins/cloud/public/plugin.tsx",
"path": "x-pack/platform/plugins/shared/cloud/public/plugin.tsx",
"deprecated": false,
"trackAdoption": false
},
@ -165,7 +165,7 @@
"signature": [
"string | undefined"
],
"path": "x-pack/plugins/cloud/public/plugin.tsx",
"path": "x-pack/platform/plugins/shared/cloud/public/plugin.tsx",
"deprecated": false,
"trackAdoption": false
},
@ -179,7 +179,7 @@
"signature": [
"string | undefined"
],
"path": "x-pack/plugins/cloud/public/plugin.tsx",
"path": "x-pack/platform/plugins/shared/cloud/public/plugin.tsx",
"deprecated": false,
"trackAdoption": false
},
@ -193,7 +193,7 @@
"signature": [
"string | undefined"
],
"path": "x-pack/plugins/cloud/public/plugin.tsx",
"path": "x-pack/platform/plugins/shared/cloud/public/plugin.tsx",
"deprecated": false,
"trackAdoption": false
},
@ -207,7 +207,7 @@
"signature": [
"string | undefined"
],
"path": "x-pack/plugins/cloud/public/plugin.tsx",
"path": "x-pack/platform/plugins/shared/cloud/public/plugin.tsx",
"deprecated": false,
"trackAdoption": false
},
@ -221,7 +221,7 @@
"signature": [
"boolean | undefined"
],
"path": "x-pack/plugins/cloud/public/plugin.tsx",
"path": "x-pack/platform/plugins/shared/cloud/public/plugin.tsx",
"deprecated": false,
"trackAdoption": false
},
@ -235,7 +235,7 @@
"signature": [
"{ default_solution?: string | undefined; } | undefined"
],
"path": "x-pack/plugins/cloud/public/plugin.tsx",
"path": "x-pack/platform/plugins/shared/cloud/public/plugin.tsx",
"deprecated": false,
"trackAdoption": false
},
@ -249,7 +249,7 @@
"signature": [
"{ project_id: string; project_name?: string | undefined; project_type?: string | undefined; orchestrator_target?: string | undefined; } | undefined"
],
"path": "x-pack/plugins/cloud/public/plugin.tsx",
"path": "x-pack/platform/plugins/shared/cloud/public/plugin.tsx",
"deprecated": false,
"trackAdoption": false
}
@ -263,7 +263,7 @@
"tags": [],
"label": "CloudStart",
"description": [],
"path": "x-pack/plugins/cloud/public/types.ts",
"path": "x-pack/platform/plugins/shared/cloud/public/types.ts",
"deprecated": false,
"trackAdoption": false,
"children": [
@ -279,7 +279,7 @@
"signature": [
"React.FunctionComponent<{ children?: React.ReactNode; }>"
],
"path": "x-pack/plugins/cloud/public/types.ts",
"path": "x-pack/platform/plugins/shared/cloud/public/types.ts",
"deprecated": false,
"trackAdoption": false,
"returnComment": [],
@ -323,7 +323,7 @@
"description": [
"\n`true` when Kibana is running on Elastic Cloud."
],
"path": "x-pack/plugins/cloud/public/types.ts",
"path": "x-pack/platform/plugins/shared/cloud/public/types.ts",
"deprecated": false,
"trackAdoption": false
},
@ -339,7 +339,7 @@
"signature": [
"string | undefined"
],
"path": "x-pack/plugins/cloud/public/types.ts",
"path": "x-pack/platform/plugins/shared/cloud/public/types.ts",
"deprecated": false,
"trackAdoption": false
},
@ -355,7 +355,7 @@
"signature": [
"string | undefined"
],
"path": "x-pack/plugins/cloud/public/types.ts",
"path": "x-pack/platform/plugins/shared/cloud/public/types.ts",
"deprecated": false,
"trackAdoption": false
},
@ -371,7 +371,7 @@
"signature": [
"string | undefined"
],
"path": "x-pack/plugins/cloud/public/types.ts",
"path": "x-pack/platform/plugins/shared/cloud/public/types.ts",
"deprecated": false,
"trackAdoption": false
},
@ -387,7 +387,7 @@
"signature": [
"string | undefined"
],
"path": "x-pack/plugins/cloud/public/types.ts",
"path": "x-pack/platform/plugins/shared/cloud/public/types.ts",
"deprecated": false,
"trackAdoption": false
},
@ -403,7 +403,7 @@
"signature": [
"string | undefined"
],
"path": "x-pack/plugins/cloud/public/types.ts",
"path": "x-pack/platform/plugins/shared/cloud/public/types.ts",
"deprecated": false,
"trackAdoption": false
},
@ -419,7 +419,7 @@
"signature": [
"string | undefined"
],
"path": "x-pack/plugins/cloud/public/types.ts",
"path": "x-pack/platform/plugins/shared/cloud/public/types.ts",
"deprecated": false,
"trackAdoption": false
},
@ -435,7 +435,7 @@
"signature": [
"string | undefined"
],
"path": "x-pack/plugins/cloud/public/types.ts",
"path": "x-pack/platform/plugins/shared/cloud/public/types.ts",
"deprecated": false,
"trackAdoption": false
},
@ -451,7 +451,7 @@
"signature": [
"string | undefined"
],
"path": "x-pack/plugins/cloud/public/types.ts",
"path": "x-pack/platform/plugins/shared/cloud/public/types.ts",
"deprecated": false,
"trackAdoption": false
},
@ -467,7 +467,7 @@
"signature": [
"string | undefined"
],
"path": "x-pack/plugins/cloud/public/types.ts",
"path": "x-pack/platform/plugins/shared/cloud/public/types.ts",
"deprecated": false,
"trackAdoption": false
},
@ -485,7 +485,7 @@
"PublicElasticsearchConfigType",
">"
],
"path": "x-pack/plugins/cloud/public/types.ts",
"path": "x-pack/platform/plugins/shared/cloud/public/types.ts",
"deprecated": false,
"trackAdoption": false,
"children": [],
@ -503,7 +503,7 @@
"signature": [
"string | undefined"
],
"path": "x-pack/plugins/cloud/public/types.ts",
"path": "x-pack/platform/plugins/shared/cloud/public/types.ts",
"deprecated": false,
"trackAdoption": false
},
@ -516,7 +516,7 @@
"description": [
"\n`true` when running on Serverless Elastic Cloud\nNote that `isCloudEnabled` will always be true when `isServerlessEnabled` is."
],
"path": "x-pack/plugins/cloud/public/types.ts",
"path": "x-pack/platform/plugins/shared/cloud/public/types.ts",
"deprecated": false,
"trackAdoption": false
},
@ -532,7 +532,7 @@
"signature": [
"{ projectId?: string | undefined; projectName?: string | undefined; projectType?: string | undefined; }"
],
"path": "x-pack/plugins/cloud/public/types.ts",
"path": "x-pack/platform/plugins/shared/cloud/public/types.ts",
"deprecated": false,
"trackAdoption": false
}
@ -550,7 +550,7 @@
"tags": [],
"label": "CloudSetup",
"description": [],
"path": "x-pack/plugins/cloud/public/types.ts",
"path": "x-pack/platform/plugins/shared/cloud/public/types.ts",
"deprecated": false,
"trackAdoption": false,
"children": [
@ -566,7 +566,7 @@
"signature": [
"string | undefined"
],
"path": "x-pack/plugins/cloud/public/types.ts",
"path": "x-pack/platform/plugins/shared/cloud/public/types.ts",
"deprecated": false,
"trackAdoption": false
},
@ -582,7 +582,7 @@
"signature": [
"string | undefined"
],
"path": "x-pack/plugins/cloud/public/types.ts",
"path": "x-pack/platform/plugins/shared/cloud/public/types.ts",
"deprecated": false,
"trackAdoption": false
},
@ -598,7 +598,7 @@
"signature": [
"string | undefined"
],
"path": "x-pack/plugins/cloud/public/types.ts",
"path": "x-pack/platform/plugins/shared/cloud/public/types.ts",
"deprecated": false,
"trackAdoption": false
},
@ -614,7 +614,7 @@
"signature": [
"string | undefined"
],
"path": "x-pack/plugins/cloud/public/types.ts",
"path": "x-pack/platform/plugins/shared/cloud/public/types.ts",
"deprecated": false,
"trackAdoption": false
},
@ -632,7 +632,7 @@
"signature": [
"string | undefined"
],
"path": "x-pack/plugins/cloud/public/types.ts",
"path": "x-pack/platform/plugins/shared/cloud/public/types.ts",
"deprecated": false,
"trackAdoption": false
},
@ -648,7 +648,7 @@
"signature": [
"string | undefined"
],
"path": "x-pack/plugins/cloud/public/types.ts",
"path": "x-pack/platform/plugins/shared/cloud/public/types.ts",
"deprecated": false,
"trackAdoption": false
},
@ -664,7 +664,7 @@
"signature": [
"string | undefined"
],
"path": "x-pack/plugins/cloud/public/types.ts",
"path": "x-pack/platform/plugins/shared/cloud/public/types.ts",
"deprecated": false,
"trackAdoption": false
},
@ -680,7 +680,7 @@
"signature": [
"string | undefined"
],
"path": "x-pack/plugins/cloud/public/types.ts",
"path": "x-pack/platform/plugins/shared/cloud/public/types.ts",
"deprecated": false,
"trackAdoption": false
},
@ -696,7 +696,7 @@
"signature": [
"string | undefined"
],
"path": "x-pack/plugins/cloud/public/types.ts",
"path": "x-pack/platform/plugins/shared/cloud/public/types.ts",
"deprecated": false,
"trackAdoption": false
},
@ -712,7 +712,7 @@
"signature": [
"string | undefined"
],
"path": "x-pack/plugins/cloud/public/types.ts",
"path": "x-pack/platform/plugins/shared/cloud/public/types.ts",
"deprecated": false,
"trackAdoption": false
},
@ -728,7 +728,7 @@
"signature": [
"string | undefined"
],
"path": "x-pack/plugins/cloud/public/types.ts",
"path": "x-pack/platform/plugins/shared/cloud/public/types.ts",
"deprecated": false,
"trackAdoption": false
},
@ -746,7 +746,7 @@
"PublicElasticsearchConfigType",
">"
],
"path": "x-pack/plugins/cloud/public/types.ts",
"path": "x-pack/platform/plugins/shared/cloud/public/types.ts",
"deprecated": false,
"trackAdoption": false,
"children": [],
@ -764,7 +764,7 @@
"signature": [
"string | undefined"
],
"path": "x-pack/plugins/cloud/public/types.ts",
"path": "x-pack/platform/plugins/shared/cloud/public/types.ts",
"deprecated": false,
"trackAdoption": false
},
@ -780,7 +780,7 @@
"signature": [
"string | undefined"
],
"path": "x-pack/plugins/cloud/public/types.ts",
"path": "x-pack/platform/plugins/shared/cloud/public/types.ts",
"deprecated": false,
"trackAdoption": false
},
@ -796,7 +796,7 @@
"signature": [
"string | undefined"
],
"path": "x-pack/plugins/cloud/public/types.ts",
"path": "x-pack/platform/plugins/shared/cloud/public/types.ts",
"deprecated": false,
"trackAdoption": false
},
@ -809,7 +809,7 @@
"description": [
"\n`true` when Kibana is running on Elastic Cloud."
],
"path": "x-pack/plugins/cloud/public/types.ts",
"path": "x-pack/platform/plugins/shared/cloud/public/types.ts",
"deprecated": false,
"trackAdoption": false
},
@ -825,7 +825,7 @@
"signature": [
"Date | undefined"
],
"path": "x-pack/plugins/cloud/public/types.ts",
"path": "x-pack/platform/plugins/shared/cloud/public/types.ts",
"deprecated": false,
"trackAdoption": false
},
@ -841,7 +841,7 @@
"signature": [
"boolean | undefined"
],
"path": "x-pack/plugins/cloud/public/types.ts",
"path": "x-pack/platform/plugins/shared/cloud/public/types.ts",
"deprecated": false,
"trackAdoption": false
},
@ -857,7 +857,7 @@
"signature": [
"(contextProvider: React.FC<{}>) => void"
],
"path": "x-pack/plugins/cloud/public/types.ts",
"path": "x-pack/platform/plugins/shared/cloud/public/types.ts",
"deprecated": false,
"trackAdoption": false,
"children": [
@ -873,7 +873,7 @@
"signature": [
"React.FC<{}>"
],
"path": "x-pack/plugins/cloud/public/types.ts",
"path": "x-pack/platform/plugins/shared/cloud/public/types.ts",
"deprecated": false,
"trackAdoption": false,
"isRequired": true
@ -901,7 +901,7 @@
},
" | undefined; }"
],
"path": "x-pack/plugins/cloud/public/types.ts",
"path": "x-pack/platform/plugins/shared/cloud/public/types.ts",
"deprecated": false,
"trackAdoption": false
},
@ -914,7 +914,7 @@
"description": [
"\n`true` when running on Serverless Elastic Cloud\nNote that `isCloudEnabled` will always be true when `isServerlessEnabled` is."
],
"path": "x-pack/plugins/cloud/public/types.ts",
"path": "x-pack/platform/plugins/shared/cloud/public/types.ts",
"deprecated": false,
"trackAdoption": false
},
@ -930,7 +930,7 @@
"signature": [
"{ projectId?: string | undefined; projectName?: string | undefined; projectType?: string | undefined; orchestratorTarget?: string | undefined; }"
],
"path": "x-pack/plugins/cloud/public/types.ts",
"path": "x-pack/platform/plugins/shared/cloud/public/types.ts",
"deprecated": false,
"trackAdoption": false
}
@ -955,7 +955,7 @@
"description": [
"\nSetup contract"
],
"path": "x-pack/plugins/cloud/server/plugin.ts",
"path": "x-pack/platform/plugins/shared/cloud/server/plugin.ts",
"deprecated": false,
"trackAdoption": false,
"children": [
@ -973,7 +973,7 @@
"signature": [
"string | undefined"
],
"path": "x-pack/plugins/cloud/server/plugin.ts",
"path": "x-pack/platform/plugins/shared/cloud/server/plugin.ts",
"deprecated": false,
"trackAdoption": false
},
@ -991,7 +991,7 @@
"signature": [
"string | undefined"
],
"path": "x-pack/plugins/cloud/server/plugin.ts",
"path": "x-pack/platform/plugins/shared/cloud/server/plugin.ts",
"deprecated": false,
"trackAdoption": false
},
@ -1007,7 +1007,7 @@
"signature": [
"string | undefined"
],
"path": "x-pack/plugins/cloud/server/plugin.ts",
"path": "x-pack/platform/plugins/shared/cloud/server/plugin.ts",
"deprecated": false,
"trackAdoption": false
},
@ -1023,7 +1023,7 @@
"signature": [
"string | undefined"
],
"path": "x-pack/plugins/cloud/server/plugin.ts",
"path": "x-pack/platform/plugins/shared/cloud/server/plugin.ts",
"deprecated": false,
"trackAdoption": false
},
@ -1039,7 +1039,7 @@
"signature": [
"string | undefined"
],
"path": "x-pack/plugins/cloud/server/plugin.ts",
"path": "x-pack/platform/plugins/shared/cloud/server/plugin.ts",
"deprecated": false,
"trackAdoption": false
},
@ -1055,7 +1055,7 @@
"signature": [
"string | undefined"
],
"path": "x-pack/plugins/cloud/server/plugin.ts",
"path": "x-pack/platform/plugins/shared/cloud/server/plugin.ts",
"deprecated": false,
"trackAdoption": false
},
@ -1071,7 +1071,7 @@
"signature": [
"string | undefined"
],
"path": "x-pack/plugins/cloud/server/plugin.ts",
"path": "x-pack/platform/plugins/shared/cloud/server/plugin.ts",
"deprecated": false,
"trackAdoption": false
},
@ -1087,7 +1087,7 @@
"signature": [
"string | undefined"
],
"path": "x-pack/plugins/cloud/server/plugin.ts",
"path": "x-pack/platform/plugins/shared/cloud/server/plugin.ts",
"deprecated": false,
"trackAdoption": false
},
@ -1103,7 +1103,7 @@
"signature": [
"string | undefined"
],
"path": "x-pack/plugins/cloud/server/plugin.ts",
"path": "x-pack/platform/plugins/shared/cloud/server/plugin.ts",
"deprecated": false,
"trackAdoption": false
},
@ -1119,7 +1119,7 @@
"signature": [
"string | undefined"
],
"path": "x-pack/plugins/cloud/server/plugin.ts",
"path": "x-pack/platform/plugins/shared/cloud/server/plugin.ts",
"deprecated": false,
"trackAdoption": false
},
@ -1132,7 +1132,7 @@
"description": [
"\nThis is set to `true` for both ESS and ECE deployments."
],
"path": "x-pack/plugins/cloud/server/plugin.ts",
"path": "x-pack/platform/plugins/shared/cloud/server/plugin.ts",
"deprecated": false,
"trackAdoption": false
},
@ -1148,7 +1148,7 @@
"signature": [
"number | undefined"
],
"path": "x-pack/plugins/cloud/server/plugin.ts",
"path": "x-pack/platform/plugins/shared/cloud/server/plugin.ts",
"deprecated": false,
"trackAdoption": false
},
@ -1164,7 +1164,7 @@
"signature": [
"Date | undefined"
],
"path": "x-pack/plugins/cloud/server/plugin.ts",
"path": "x-pack/platform/plugins/shared/cloud/server/plugin.ts",
"deprecated": false,
"trackAdoption": false
},
@ -1180,7 +1180,7 @@
"signature": [
"boolean | undefined"
],
"path": "x-pack/plugins/cloud/server/plugin.ts",
"path": "x-pack/platform/plugins/shared/cloud/server/plugin.ts",
"deprecated": false,
"trackAdoption": false
},
@ -1196,7 +1196,7 @@
"signature": [
"{ url?: string | undefined; secretToken?: string | undefined; }"
],
"path": "x-pack/plugins/cloud/server/plugin.ts",
"path": "x-pack/platform/plugins/shared/cloud/server/plugin.ts",
"deprecated": false,
"trackAdoption": false
},
@ -1220,7 +1220,7 @@
},
" | undefined; }"
],
"path": "x-pack/plugins/cloud/server/plugin.ts",
"path": "x-pack/platform/plugins/shared/cloud/server/plugin.ts",
"deprecated": false,
"trackAdoption": false
},
@ -1233,7 +1233,7 @@
"description": [
"\n`true` when running on Serverless Elastic Cloud\nNote that `isCloudEnabled` will always be true when `isServerlessEnabled` is."
],
"path": "x-pack/plugins/cloud/server/plugin.ts",
"path": "x-pack/platform/plugins/shared/cloud/server/plugin.ts",
"deprecated": false,
"trackAdoption": false
},
@ -1251,7 +1251,7 @@
"signature": [
"{ projectId?: string | undefined; projectName?: string | undefined; projectType?: string | undefined; orchestratorTarget?: string | undefined; }"
],
"path": "x-pack/plugins/cloud/server/plugin.ts",
"path": "x-pack/platform/plugins/shared/cloud/server/plugin.ts",
"deprecated": false,
"trackAdoption": false
}
@ -1268,7 +1268,7 @@
"description": [
"\nStart contract"
],
"path": "x-pack/plugins/cloud/server/plugin.ts",
"path": "x-pack/platform/plugins/shared/cloud/server/plugin.ts",
"deprecated": false,
"trackAdoption": false,
"children": [
@ -1281,7 +1281,7 @@
"description": [
"\nThis is set to `true` for both ESS and ECE deployments."
],
"path": "x-pack/plugins/cloud/server/plugin.ts",
"path": "x-pack/platform/plugins/shared/cloud/server/plugin.ts",
"deprecated": false,
"trackAdoption": false
},
@ -1297,7 +1297,7 @@
"signature": [
"string | undefined"
],
"path": "x-pack/plugins/cloud/server/plugin.ts",
"path": "x-pack/platform/plugins/shared/cloud/server/plugin.ts",
"deprecated": false,
"trackAdoption": false
},
@ -1313,7 +1313,7 @@
"signature": [
"string | undefined"
],
"path": "x-pack/plugins/cloud/server/plugin.ts",
"path": "x-pack/platform/plugins/shared/cloud/server/plugin.ts",
"deprecated": false,
"trackAdoption": false
}

View file

@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/cloud
title: "cloud"
image: https://source.unsplash.com/400x175/?github
description: API docs for the cloud plugin
date: 2024-12-17
date: 2025-01-08
tags: ['contributor', 'dev', 'apidocs', 'kibana', 'cloud']
---
import cloudObj from './cloud.devdocs.json';

View file

@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/cloudDataMigration
title: "cloudDataMigration"
image: https://source.unsplash.com/400x175/?github
description: API docs for the cloudDataMigration plugin
date: 2024-12-17
date: 2025-01-08
tags: ['contributor', 'dev', 'apidocs', 'kibana', 'cloudDataMigration']
---
import cloudDataMigrationObj from './cloud_data_migration.devdocs.json';

View file

@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/cloudDefend
title: "cloudDefend"
image: https://source.unsplash.com/400x175/?github
description: API docs for the cloudDefend plugin
date: 2024-12-17
date: 2025-01-08
tags: ['contributor', 'dev', 'apidocs', 'kibana', 'cloudDefend']
---
import cloudDefendObj from './cloud_defend.devdocs.json';

View file

@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/cloudSecurityPosture
title: "cloudSecurityPosture"
image: https://source.unsplash.com/400x175/?github
description: API docs for the cloudSecurityPosture plugin
date: 2024-12-17
date: 2025-01-08
tags: ['contributor', 'dev', 'apidocs', 'kibana', 'cloudSecurityPosture']
---
import cloudSecurityPostureObj from './cloud_security_posture.devdocs.json';

View file

@ -18,13 +18,7 @@
"text": "ConsoleUIPlugin"
},
" implements ",
{
"pluginId": "@kbn/core-plugins-browser",
"scope": "public",
"docId": "kibKbnCorePluginsBrowserPluginApi",
"section": "def-public.Plugin",
"text": "Plugin"
},
"Plugin",
"<",
{
"pluginId": "console",
@ -49,7 +43,7 @@
"section": "def-public.AppSetupUIPluginDependencies",
"text": "AppSetupUIPluginDependencies"
},
", object>"
", never>"
],
"path": "src/platform/plugins/shared/console/public/plugin.ts",
"deprecated": false,
@ -77,13 +71,7 @@
"label": "ctx",
"description": [],
"signature": [
{
"pluginId": "@kbn/core-plugins-browser",
"scope": "public",
"docId": "kibKbnCorePluginsBrowserPluginApi",
"section": "def-public.PluginInitializerContext",
"text": "PluginInitializerContext"
},
"PluginInitializerContext",
"<object>"
],
"path": "src/platform/plugins/shared/console/public/plugin.ts",
@ -103,14 +91,8 @@
"description": [],
"signature": [
"({ notifications, getStartServices, http }: ",
{
"pluginId": "@kbn/core-lifecycle-browser",
"scope": "public",
"docId": "kibKbnCoreLifecycleBrowserPluginApi",
"section": "def-public.CoreSetup",
"text": "CoreSetup"
},
"<object, unknown>, { devTools, home, share, usageCollection }: ",
"CoreSetup",
"<{}, unknown>, { devTools, home, share, usageCollection }: ",
{
"pluginId": "console",
"scope": "public",
@ -139,14 +121,8 @@
"label": "{ notifications, getStartServices, http }",
"description": [],
"signature": [
{
"pluginId": "@kbn/core-lifecycle-browser",
"scope": "public",
"docId": "kibKbnCoreLifecycleBrowserPluginApi",
"section": "def-public.CoreSetup",
"text": "CoreSetup"
},
"<object, unknown>"
"CoreSetup",
"<{}, unknown>"
],
"path": "src/platform/plugins/shared/console/public/plugin.ts",
"deprecated": false,
@ -186,13 +162,7 @@
"description": [],
"signature": [
"(core: ",
{
"pluginId": "@kbn/core-lifecycle-browser",
"scope": "public",
"docId": "kibKbnCoreLifecycleBrowserPluginApi",
"section": "def-public.CoreStart",
"text": "CoreStart"
},
"CoreStart",
", deps: ",
{
"pluginId": "console",
@ -222,13 +192,7 @@
"label": "core",
"description": [],
"signature": [
{
"pluginId": "@kbn/core-lifecycle-browser",
"scope": "public",
"docId": "kibKbnCoreLifecycleBrowserPluginApi",
"section": "def-public.CoreStart",
"text": "CoreStart"
}
"CoreStart"
],
"path": "src/platform/plugins/shared/console/public/plugin.ts",
"deprecated": false,

View file

@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/console
title: "console"
image: https://source.unsplash.com/400x175/?github
description: API docs for the console plugin
date: 2024-12-17
date: 2025-01-08
tags: ['contributor', 'dev', 'apidocs', 'kibana', 'console']
---
import consoleObj from './console.devdocs.json';

File diff suppressed because it is too large Load diff

Some files were not shown because too many files have changed in this diff Show more