diff --git a/.buildkite/scripts/common/env.sh b/.buildkite/scripts/common/env.sh index a8fa9cae419d0..1d401bab4282a 100755 --- a/.buildkite/scripts/common/env.sh +++ b/.buildkite/scripts/common/env.sh @@ -47,7 +47,6 @@ export MERGE_QUEUE_TARGET_BRANCH BUILDKITE_BRANCH_MERGE_QUEUE="${MERGE_QUEUE_TARGET_BRANCH:-${BUILDKITE_BRANCH:-}}" export BUILDKITE_BRANCH_MERGE_QUEUE - BUILDKITE_AGENT_GCP_REGION="" if [[ "$(curl -is metadata.google.internal || true)" ]]; then # projects/1003139005402/zones/us-central1-a -> us-central1-a -> us-central1 @@ -62,7 +61,6 @@ fi export GECKODRIVER_CDNURL="https://us-central1-elastic-kibana-184716.cloudfunctions.net/kibana-ci-proxy-cache$CI_PROXY_CACHE_SUFFIX" export CHROMEDRIVER_CDNURL="https://us-central1-elastic-kibana-184716.cloudfunctions.net/kibana-ci-proxy-cache$CI_PROXY_CACHE_SUFFIX" -export RE2_DOWNLOAD_MIRROR="https://us-central1-elastic-kibana-184716.cloudfunctions.net/kibana-ci-proxy-cache$CI_PROXY_CACHE_SUFFIX" export CYPRESS_DOWNLOAD_MIRROR="https://us-central1-elastic-kibana-184716.cloudfunctions.net/kibana-ci-proxy-cache$CI_PROXY_CACHE_SUFFIX/cypress" export NODE_OPTIONS="--max-old-space-size=4096" @@ -133,15 +131,19 @@ export TEST_GROUP_TYPE_FUNCTIONAL="Functional Tests" export GH_REPO=github.com/elastic/kibana FTR_ENABLE_FIPS_AGENT=false -# used by FIPS agents to link FIPS OpenSSL modules if [[ "${KBN_ENABLE_FIPS:-}" == "true" ]] || is_pr_with_label "ci:enable-fips-agent"; then FTR_ENABLE_FIPS_AGENT=true + # used by FIPS agents to link FIPS OpenSSL modules export OPENSSL_MODULES=$HOME/openssl/lib/ossl-modules if [[ -f "$KIBANA_DIR/config/node.options" ]]; then echo -e '\n--enable-fips' >>"$KIBANA_DIR/config/node.options" echo "--openssl-config=$HOME/nodejs.cnf" >>"$KIBANA_DIR/config/node.options" fi + + if [[ -f "$KIBANA_DIR/config/kibana.yml" ]]; then + echo -e '\nxpack.security.experimental.fipsMode.enabled: true' >>"$KIBANA_DIR/config/kibana.yml" + fi fi export FTR_ENABLE_FIPS_AGENT diff --git a/.buildkite/scripts/common/util.sh b/.buildkite/scripts/common/util.sh index bc5983e249669..90648165a082d 100755 --- a/.buildkite/scripts/common/util.sh +++ b/.buildkite/scripts/common/util.sh @@ -33,7 +33,7 @@ check_for_changed_files() { SHOULD_AUTO_COMMIT_CHANGES="${2:-}" CUSTOM_FIX_MESSAGE="${3:-}" - GIT_CHANGES="$(git status --porcelain -- . ':!:.bazelrc' ':!:config/node.options')" + GIT_CHANGES="$(git status --porcelain -- . ':!:.bazelrc' ':!:config/node.options' ':!config/kibana.yml')" if [ "$GIT_CHANGES" ]; then if ! is_auto_commit_disabled && [[ "$SHOULD_AUTO_COMMIT_CHANGES" == "true" && "${BUILDKITE_PULL_REQUEST:-}" ]]; then @@ -56,7 +56,7 @@ check_for_changed_files() { git config --global user.name kibanamachine git config --global user.email '42973632+kibanamachine@users.noreply.github.com' gh pr checkout "${BUILDKITE_PULL_REQUEST}" - git add -A -- . ':!.bazelrc' ':!config/node.options' + git add -A -- . ':!.bazelrc' ':!config/node.options' ':!config/kibana.yml' git commit -m "$NEW_COMMIT_MESSAGE" git push diff --git a/.buildkite/scripts/steps/artifacts/publish.sh b/.buildkite/scripts/steps/artifacts/publish.sh index 08c6ecc1e25ad..ddb1b15496163 100644 --- a/.buildkite/scripts/steps/artifacts/publish.sh +++ b/.buildkite/scripts/steps/artifacts/publish.sh @@ -54,7 +54,7 @@ echo "--- Pull latest Release Manager CLI" docker pull docker.elastic.co/infra/release-manager:latest echo "--- Publish artifacts" -if [[ "$BUILDKITE_BRANCH" == "$KIBANA_BASE_BRANCH" ]]; then +if [[ "$BUILDKITE_BRANCH" == "$KIBANA_BASE_BRANCH" ]] || [[ "${DRY_RUN:-}" =~ ^(1|true)$ ]]; then export VAULT_ROLE_ID="$(get_vault_role_id)" export VAULT_SECRET_ID="$(get_vault_secret_id)" export VAULT_ADDR="https://secrets.elastic.co:8200" @@ -62,31 +62,43 @@ if [[ "$BUILDKITE_BRANCH" == "$KIBANA_BASE_BRANCH" ]]; then download_artifact beats_manifest.json /tmp --build "${KIBANA_BUILD_ID:-$BUILDKITE_BUILD_ID}" export BEATS_MANIFEST_URL=$(jq -r .manifest_url /tmp/beats_manifest.json) - PUBLISH_CMD=$(cat << EOF - docker run --rm \ - --name release-manager \ - -e VAULT_ADDR \ - -e VAULT_ROLE_ID \ - -e VAULT_SECRET_ID \ - --mount type=bind,readonly=false,src="$PWD/target",target=/artifacts/target \ - docker.elastic.co/infra/release-manager:latest \ - cli collect \ - --project kibana \ - --branch "$KIBANA_BASE_BRANCH" \ - --commit "$GIT_COMMIT" \ - --workflow "$WORKFLOW" \ - --version "$BASE_VERSION" \ - --qualifier "$VERSION_QUALIFIER" \ - --dependency "beats:$BEATS_MANIFEST_URL" \ - --artifact-set main -EOF -) - if [[ "${DRY_RUN:-}" =~ ^(1|true)$ ]]; then - PUBLISH_CMD+=(" --dry-run") + if [[ "$DRY_RUN" =~ ^(1|true)$ ]]; then + docker run --rm \ + --name release-manager \ + -e VAULT_ADDR \ + -e VAULT_ROLE_ID \ + -e VAULT_SECRET_ID \ + --mount type=bind,readonly=false,src="$PWD/target",target=/artifacts/target \ + docker.elastic.co/infra/release-manager:latest \ + cli collect \ + --project kibana \ + --branch "$KIBANA_BASE_BRANCH" \ + --commit "$GIT_COMMIT" \ + --workflow "$WORKFLOW" \ + --version "$BASE_VERSION" \ + --qualifier "$VERSION_QUALIFIER" \ + --dependency "beats:$BEATS_MANIFEST_URL" \ + --artifact-set main \ + --dry-run + else + docker run --rm \ + --name release-manager \ + -e VAULT_ADDR \ + -e VAULT_ROLE_ID \ + -e VAULT_SECRET_ID \ + --mount type=bind,readonly=false,src="$PWD/target",target=/artifacts/target \ + docker.elastic.co/infra/release-manager:latest \ + cli collect \ + --project kibana \ + --branch "$KIBANA_BASE_BRANCH" \ + --commit "$GIT_COMMIT" \ + --workflow "$WORKFLOW" \ + --version "$BASE_VERSION" \ + --qualifier "$VERSION_QUALIFIER" \ + --dependency "beats:$BEATS_MANIFEST_URL" \ + --artifact-set main fi - "${PUBLISH_CMD[@]}" - KIBANA_SUMMARY=$(curl -s "$KIBANA_MANIFEST_LATEST" | jq -re '.summary_url') cat << EOF | buildkite-agent annotate --style "info" --context artifacts-summary diff --git a/.node-version b/.node-version index f203ab89b795f..b8e593f5210c8 100644 --- a/.node-version +++ b/.node-version @@ -1 +1 @@ -20.13.1 +20.15.1 diff --git a/.nvmrc b/.nvmrc index f203ab89b795f..b8e593f5210c8 100644 --- a/.nvmrc +++ b/.nvmrc @@ -1 +1 @@ -20.13.1 +20.15.1 diff --git a/WORKSPACE.bazel b/WORKSPACE.bazel index 2b03b20803bd7..c1bae6c549f52 100644 --- a/WORKSPACE.bazel +++ b/WORKSPACE.bazel @@ -22,13 +22,13 @@ load("@build_bazel_rules_nodejs//:index.bzl", "node_repositories", "yarn_install # Setup the Node.js toolchain for the architectures we want to support node_repositories( node_repositories = { - "20.13.1-darwin_amd64": ("node-v20.13.1-darwin-x64.tar.gz", "node-v20.13.1-darwin-x64", "80bde95dc976b84db5ca566738c07305087ae578f5f3b05191e0e6ff54aaeaf2"), - "20.13.1-darwin_arm64": ("node-v20.13.1-darwin-arm64.tar.gz", "node-v20.13.1-darwin-arm64", "c30fe595f59dcd2c5158da6bf8bc251ffc85ca37304afa89db150fb3c62c4507"), - "20.13.1-linux_arm64": ("node-v20.13.1-linux-arm64.tar.xz", "node-v20.13.1-linux-arm64", "5a41797a5815f42e0e9e4d2185d07d5d395386dc681a5a914563586c735ae31f"), - "20.13.1-linux_amd64": ("node-v20.13.1-linux-x64.tar.xz", "node-v20.13.1-linux-x64", "eb449c4db6c5769c4219fdbfa1c7cbc8b367b9f8c7be1eb534dc8f6a3c80a97f"), - "20.13.1-windows_amd64": ("node-v20.13.1-win-x64.zip", "node-v20.13.1-win-x64", "555a55c0c7441cb90e441115c81f610fca712dd5b192034d5eaafd7c29924425"), + "20.15.1-darwin_amd64": ("node-v20.15.1-darwin-x64.tar.gz", "node-v20.15.1-darwin-x64", "f5379772ffae1404cfd1fcc8cf0c6c5971306b8fb2090d348019047306de39dc"), + "20.15.1-darwin_arm64": ("node-v20.15.1-darwin-arm64.tar.gz", "node-v20.15.1-darwin-arm64", "4743bc042f90ba5d9edf09403207290a9cdd2f6061bdccf7caaa0bbfd49f343e"), + "20.15.1-linux_arm64": ("node-v20.15.1-linux-arm64.tar.xz", "node-v20.15.1-linux-arm64", "c049d670df0c27ae2fd53446df79b6227ab23aff930e38daf0ab3da41c396db5"), + "20.15.1-linux_amd64": ("node-v20.15.1-linux-x64.tar.xz", "node-v20.15.1-linux-x64", "a854c291c7b775bedab54251e1e273cfee1adf1dba25435bc52305ef41f143ab"), + "20.15.1-windows_amd64": ("node-v20.15.1-win-x64.zip", "node-v20.15.1-win-x64", "ba6c3711e2c3d0638c5f7cea3c234553808a73c52a5962a6cdb47b5210b70b04"), }, - node_version = "20.13.1", + node_version = "20.15.1", node_urls = [ "https://us-central1-elastic-kibana-184716.cloudfunctions.net/kibana-ci-proxy-cache/dist/v{version}/{filename}", ], @@ -60,7 +60,6 @@ yarn_install( "GECKODRIVER_CDNURL": "https://us-central1-elastic-kibana-184716.cloudfunctions.net/kibana-ci-proxy-cache", "CHROMEDRIVER_CDNURL": "https://us-central1-elastic-kibana-184716.cloudfunctions.net/kibana-ci-proxy-cache", "CHROMEDRIVER_CDNBINARIESURL": "https://us-central1-elastic-kibana-184716.cloudfunctions.net/kibana-ci-proxy-cache", - "RE2_DOWNLOAD_MIRROR": "https://us-central1-elastic-kibana-184716.cloudfunctions.net/kibana-ci-proxy-cache/node-re2", "CYPRESS_DOWNLOAD_MIRROR": "https://us-central1-elastic-kibana-184716.cloudfunctions.net/kibana-ci-proxy-cache/cypress", } ) diff --git a/api_docs/actions.mdx b/api_docs/actions.mdx index 27507f41de3c4..21cbf12753692 100644 --- a/api_docs/actions.mdx +++ b/api_docs/actions.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/actions title: "actions" image: https://source.unsplash.com/400x175/?github description: API docs for the actions plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'actions'] --- import actionsObj from './actions.devdocs.json'; diff --git a/api_docs/advanced_settings.mdx b/api_docs/advanced_settings.mdx index 47cfeaa95e931..5802bf7c0e9c7 100644 --- a/api_docs/advanced_settings.mdx +++ b/api_docs/advanced_settings.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/advancedSettings title: "advancedSettings" image: https://source.unsplash.com/400x175/?github description: API docs for the advancedSettings plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'advancedSettings'] --- import advancedSettingsObj from './advanced_settings.devdocs.json'; diff --git a/api_docs/ai_assistant_management_selection.mdx b/api_docs/ai_assistant_management_selection.mdx index f5652bb0f2adc..e8e4f1c6f7175 100644 --- a/api_docs/ai_assistant_management_selection.mdx +++ b/api_docs/ai_assistant_management_selection.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/aiAssistantManagementSelection title: "aiAssistantManagementSelection" image: https://source.unsplash.com/400x175/?github description: API docs for the aiAssistantManagementSelection plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'aiAssistantManagementSelection'] --- import aiAssistantManagementSelectionObj from './ai_assistant_management_selection.devdocs.json'; diff --git a/api_docs/aiops.mdx b/api_docs/aiops.mdx index ae120a71d5471..53e4f4495167d 100644 --- a/api_docs/aiops.mdx +++ b/api_docs/aiops.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/aiops title: "aiops" image: https://source.unsplash.com/400x175/?github description: API docs for the aiops plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'aiops'] --- import aiopsObj from './aiops.devdocs.json'; diff --git a/api_docs/alerting.mdx b/api_docs/alerting.mdx index 1ca3e7537c548..b5448af6ac92b 100644 --- a/api_docs/alerting.mdx +++ b/api_docs/alerting.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/alerting title: "alerting" image: https://source.unsplash.com/400x175/?github description: API docs for the alerting plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'alerting'] --- import alertingObj from './alerting.devdocs.json'; diff --git a/api_docs/apm.devdocs.json b/api_docs/apm.devdocs.json index 1cb746b5a0bc9..e6605684d7f8f 100644 --- a/api_docs/apm.devdocs.json +++ b/api_docs/apm.devdocs.json @@ -418,7 +418,7 @@ "label": "APIEndpoint", "description": [], "signature": [ - "\"POST /internal/apm/data_view/static\" | \"GET /internal/apm/data_view/index_pattern\" | \"GET /internal/apm/environments\" | \"GET /internal/apm/services/{serviceName}/errors/groups/main_statistics\" | \"GET /internal/apm/services/{serviceName}/errors/groups/main_statistics_by_transaction_name\" | \"POST /internal/apm/services/{serviceName}/errors/groups/detailed_statistics\" | \"GET /internal/apm/services/{serviceName}/errors/{groupId}/samples\" | \"GET /internal/apm/services/{serviceName}/errors/{groupId}/error/{errorId}\" | \"GET /internal/apm/services/{serviceName}/errors/distribution\" | \"GET /internal/apm/services/{serviceName}/errors/{groupId}/top_erroneous_transactions\" | \"POST /internal/apm/latency/overall_distribution/transactions\" | \"GET /internal/apm/services/{serviceName}/metrics/charts\" | \"GET /internal/apm/services/{serviceName}/metrics/nodes\" | \"GET /internal/apm/services/{serviceName}/metrics/serverless/charts\" | \"GET /internal/apm/services/{serviceName}/metrics/serverless/summary\" | \"GET /internal/apm/services/{serviceName}/metrics/serverless/functions_overview\" | \"GET /internal/apm/services/{serviceName}/metrics/serverless/active_instances\" | \"GET /internal/apm/observability_overview\" | \"GET /internal/apm/observability_overview/has_data\" | \"GET /internal/apm/service-map\" | \"GET /internal/apm/service-map/service/{serviceName}\" | \"GET /internal/apm/service-map/dependency\" | \"GET /internal/apm/services\" | \"POST /internal/apm/services/detailed_statistics\" | \"GET /internal/apm/services/{serviceName}/metadata/details\" | \"GET /internal/apm/services/{serviceName}/metadata/icons\" | \"GET /internal/apm/services/{serviceName}/agent\" | \"GET /internal/apm/services/{serviceName}/transaction_types\" | \"GET /internal/apm/services/{serviceName}/node/{serviceNodeName}/metadata\" | \"GET /api/apm/services/{serviceName}/annotation/search 2023-10-31\" | \"POST /api/apm/services/{serviceName}/annotation 2023-10-31\" | \"GET /internal/apm/services/{serviceName}/service_overview_instances/details/{serviceNodeName}\" | \"GET /internal/apm/services/{serviceName}/throughput\" | \"GET /internal/apm/services/{serviceName}/service_overview_instances/main_statistics\" | \"GET /internal/apm/services/{serviceName}/service_overview_instances/detailed_statistics\" | \"GET /internal/apm/services/{serviceName}/dependencies\" | \"GET /internal/apm/services/{serviceName}/dependencies/breakdown\" | \"GET /internal/apm/services/{serviceName}/anomaly_charts\" | \"GET /internal/apm/services/{serviceName}/alerts_count\" | \"GET /internal/apm/entities/services\" | \"GET /internal/apm/entities/services/{serviceName}/logs_rate_timeseries\" | \"GET /internal/apm/entities/services/{serviceName}/logs_error_rate_timeseries\" | \"POST /internal/apm/entities/services/detailed_statistics\" | \"GET /internal/apm/service-groups\" | \"GET /internal/apm/service-group\" | \"POST /internal/apm/service-group\" | \"DELETE /internal/apm/service-group\" | \"GET /internal/apm/service-group/services\" | \"GET /internal/apm/service-group/counts\" | \"GET /internal/apm/suggestions\" | \"GET /internal/apm/traces/{traceId}\" | \"GET /internal/apm/traces\" | \"GET /internal/apm/traces/{traceId}/root_transaction\" | \"GET /internal/apm/transactions/{transactionId}\" | \"GET /internal/apm/traces/find\" | \"POST /internal/apm/traces/aggregated_critical_path\" | \"GET /internal/apm/traces/{traceId}/transactions/{transactionId}\" | \"GET /internal/apm/traces/{traceId}/spans/{spanId}\" | \"GET /internal/apm/transactions\" | \"GET /internal/apm/services/{serviceName}/transactions/groups/main_statistics\" | \"GET /internal/apm/services/{serviceName}/transactions/groups/detailed_statistics\" | \"GET /internal/apm/services/{serviceName}/transactions/charts/latency\" | \"GET /internal/apm/services/{serviceName}/transactions/traces/samples\" | \"GET /internal/apm/services/{serviceName}/transaction/charts/breakdown\" | \"GET /internal/apm/services/{serviceName}/transactions/charts/error_rate\" | \"GET /internal/apm/services/{serviceName}/transactions/charts/coldstart_rate\" | \"GET /internal/apm/services/{serviceName}/transactions/charts/coldstart_rate_by_transaction_name\" | \"GET /internal/apm/rule_types/transaction_error_rate/chart_preview\" | \"GET /internal/apm/rule_types/error_count/chart_preview\" | \"GET /internal/apm/rule_types/transaction_duration/chart_preview\" | \"GET /api/apm/settings/agent-configuration 2023-10-31\" | \"GET /api/apm/settings/agent-configuration/view 2023-10-31\" | \"DELETE /api/apm/settings/agent-configuration 2023-10-31\" | \"PUT /api/apm/settings/agent-configuration 2023-10-31\" | \"POST /api/apm/settings/agent-configuration/search 2023-10-31\" | \"GET /api/apm/settings/agent-configuration/environments 2023-10-31\" | \"GET /api/apm/settings/agent-configuration/agent_name 2023-10-31\" | \"GET /internal/apm/settings/anomaly-detection/jobs\" | \"POST /internal/apm/settings/anomaly-detection/jobs\" | \"GET /internal/apm/settings/anomaly-detection/environments\" | \"POST /internal/apm/settings/anomaly-detection/update_to_v3\" | \"GET /internal/apm/settings/apm-index-settings\" | \"GET /internal/apm/settings/apm-indices\" | \"POST /internal/apm/settings/apm-indices/save\" | \"GET /internal/apm/settings/custom_links/transaction\" | \"GET /internal/apm/settings/custom_links\" | \"POST /internal/apm/settings/custom_links\" | \"PUT /internal/apm/settings/custom_links/{id}\" | \"DELETE /internal/apm/settings/custom_links/{id}\" | \"GET /api/apm/sourcemaps 2023-10-31\" | \"POST /api/apm/sourcemaps 2023-10-31\" | \"DELETE /api/apm/sourcemaps/{id} 2023-10-31\" | \"POST /internal/apm/sourcemaps/migrate_fleet_artifacts\" | \"GET /internal/apm/fleet/has_apm_policies\" | \"GET /internal/apm/fleet/agents\" | \"POST /api/apm/fleet/apm_server_schema 2023-10-31\" | \"GET /internal/apm/fleet/apm_server_schema/unsupported\" | \"GET /internal/apm/fleet/migration_check\" | \"POST /internal/apm/fleet/cloud_apm_package_policy\" | \"GET /internal/apm/fleet/java_agent_versions\" | \"GET /internal/apm/dependencies/top_dependencies\" | \"GET /internal/apm/dependencies/upstream_services\" | \"GET /internal/apm/dependencies/metadata\" | \"GET /internal/apm/dependencies/charts/latency\" | \"GET /internal/apm/dependencies/charts/throughput\" | \"GET /internal/apm/dependencies/charts/error_rate\" | \"GET /internal/apm/dependencies/operations\" | \"GET /internal/apm/dependencies/charts/distribution\" | \"GET /internal/apm/dependencies/operations/spans\" | \"GET /internal/apm/correlations/field_candidates/transactions\" | \"GET /internal/apm/correlations/field_value_stats/transactions\" | \"POST /internal/apm/correlations/field_value_pairs/transactions\" | \"POST /internal/apm/correlations/significant_correlations/transactions\" | \"POST /internal/apm/correlations/p_values/transactions\" | \"GET /internal/apm/fallback_to_transactions\" | \"GET /internal/apm/has_data\" | \"GET /internal/apm/event_metadata/{processorEvent}/{id}\" | \"GET /internal/apm/agent_keys\" | \"GET /internal/apm/agent_keys/privileges\" | \"POST /internal/apm/api_key/invalidate\" | \"POST /api/apm/agent_keys 2023-10-31\" | \"GET /internal/apm/storage_explorer\" | \"GET /internal/apm/services/{serviceName}/storage_details\" | \"GET /internal/apm/storage_chart\" | \"GET /internal/apm/storage_explorer/privileges\" | \"GET /internal/apm/storage_explorer_summary_stats\" | \"GET /internal/apm/storage_explorer/is_cross_cluster_search\" | \"GET /internal/apm/storage_explorer/get_services\" | \"GET /internal/apm/traces/{traceId}/span_links/{spanId}/parents\" | \"GET /internal/apm/traces/{traceId}/span_links/{spanId}/children\" | \"GET /internal/apm/services/{serviceName}/infrastructure_attributes\" | \"GET /internal/apm/debug-telemetry\" | \"GET /internal/apm/time_range_metadata\" | \"GET /internal/apm/settings/labs\" | \"GET /internal/apm/get_agents_per_service\" | \"GET /internal/apm/get_latest_agent_versions\" | \"GET /internal/apm/services/{serviceName}/agent_instances\" | \"GET /internal/apm/mobile-services/{serviceName}/error/http_error_rate\" | \"GET /internal/apm/mobile-services/{serviceName}/errors/groups/main_statistics\" | \"POST /internal/apm/mobile-services/{serviceName}/errors/groups/detailed_statistics\" | \"GET /internal/apm/mobile-services/{serviceName}/error_terms\" | \"POST /internal/apm/mobile-services/{serviceName}/crashes/groups/detailed_statistics\" | \"GET /internal/apm/mobile-services/{serviceName}/crashes/groups/main_statistics\" | \"GET /internal/apm/mobile-services/{serviceName}/crashes/distribution\" | \"GET /internal/apm/services/{serviceName}/mobile/filters\" | \"GET /internal/apm/mobile-services/{serviceName}/most_used_charts\" | \"GET /internal/apm/mobile-services/{serviceName}/transactions/charts/sessions\" | \"GET /internal/apm/mobile-services/{serviceName}/transactions/charts/http_requests\" | \"GET /internal/apm/mobile-services/{serviceName}/stats\" | \"GET /internal/apm/mobile-services/{serviceName}/location/stats\" | \"GET /internal/apm/mobile-services/{serviceName}/terms\" | \"GET /internal/apm/mobile-services/{serviceName}/main_statistics\" | \"GET /internal/apm/mobile-services/{serviceName}/detailed_statistics\" | \"GET /internal/apm/diagnostics\" | \"POST /internal/apm/assistant/get_apm_timeseries\" | \"GET /internal/apm/assistant/get_downstream_dependencies\" | \"GET /internal/apm/services/{serviceName}/profiling/flamegraph\" | \"GET /internal/apm/profiling/status\" | \"GET /internal/apm/services/{serviceName}/profiling/functions\" | \"GET /internal/apm/services/{serviceName}/profiling/hosts/flamegraph\" | \"GET /internal/apm/services/{serviceName}/profiling/hosts/functions\" | \"POST /internal/apm/custom-dashboard\" | \"DELETE /internal/apm/custom-dashboard\" | \"GET /internal/apm/services/{serviceName}/dashboards\"" + "\"POST /internal/apm/data_view/static\" | \"GET /internal/apm/data_view/index_pattern\" | \"GET /internal/apm/environments\" | \"GET /internal/apm/services/{serviceName}/errors/groups/main_statistics\" | \"GET /internal/apm/services/{serviceName}/errors/groups/main_statistics_by_transaction_name\" | \"POST /internal/apm/services/{serviceName}/errors/groups/detailed_statistics\" | \"GET /internal/apm/services/{serviceName}/errors/{groupId}/samples\" | \"GET /internal/apm/services/{serviceName}/errors/{groupId}/error/{errorId}\" | \"GET /internal/apm/services/{serviceName}/errors/distribution\" | \"GET /internal/apm/services/{serviceName}/errors/{groupId}/top_erroneous_transactions\" | \"POST /internal/apm/latency/overall_distribution/transactions\" | \"GET /internal/apm/services/{serviceName}/metrics/charts\" | \"GET /internal/apm/services/{serviceName}/metrics/nodes\" | \"GET /internal/apm/services/{serviceName}/metrics/serverless/charts\" | \"GET /internal/apm/services/{serviceName}/metrics/serverless/summary\" | \"GET /internal/apm/services/{serviceName}/metrics/serverless/functions_overview\" | \"GET /internal/apm/services/{serviceName}/metrics/serverless/active_instances\" | \"GET /internal/apm/observability_overview\" | \"GET /internal/apm/observability_overview/has_data\" | \"GET /internal/apm/service-map\" | \"GET /internal/apm/service-map/service/{serviceName}\" | \"GET /internal/apm/service-map/dependency\" | \"GET /internal/apm/services\" | \"POST /internal/apm/services/detailed_statistics\" | \"GET /internal/apm/services/{serviceName}/metadata/details\" | \"GET /internal/apm/services/{serviceName}/metadata/icons\" | \"GET /internal/apm/services/{serviceName}/agent\" | \"GET /internal/apm/services/{serviceName}/transaction_types\" | \"GET /internal/apm/services/{serviceName}/node/{serviceNodeName}/metadata\" | \"GET /api/apm/services/{serviceName}/annotation/search 2023-10-31\" | \"POST /api/apm/services/{serviceName}/annotation 2023-10-31\" | \"GET /internal/apm/services/{serviceName}/service_overview_instances/details/{serviceNodeName}\" | \"GET /internal/apm/services/{serviceName}/throughput\" | \"GET /internal/apm/services/{serviceName}/service_overview_instances/main_statistics\" | \"GET /internal/apm/services/{serviceName}/service_overview_instances/detailed_statistics\" | \"GET /internal/apm/services/{serviceName}/dependencies\" | \"GET /internal/apm/services/{serviceName}/dependencies/breakdown\" | \"GET /internal/apm/services/{serviceName}/anomaly_charts\" | \"GET /internal/apm/services/{serviceName}/alerts_count\" | \"GET /internal/apm/entities/services\" | \"GET /internal/apm/entities/services/{serviceName}/logs_rate_timeseries\" | \"GET /internal/apm/entities/services/{serviceName}/logs_error_rate_timeseries\" | \"POST /internal/apm/entities/services/detailed_statistics\" | \"GET /internal/apm/service-groups\" | \"GET /internal/apm/service-group\" | \"POST /internal/apm/service-group\" | \"DELETE /internal/apm/service-group\" | \"GET /internal/apm/service-group/services\" | \"GET /internal/apm/service-group/counts\" | \"GET /internal/apm/suggestions\" | \"GET /internal/apm/traces/{traceId}\" | \"GET /internal/apm/traces\" | \"GET /internal/apm/traces/{traceId}/root_transaction\" | \"GET /internal/apm/transactions/{transactionId}\" | \"GET /internal/apm/traces/find\" | \"POST /internal/apm/traces/aggregated_critical_path\" | \"GET /internal/apm/traces/{traceId}/transactions/{transactionId}\" | \"GET /internal/apm/traces/{traceId}/spans/{spanId}\" | \"GET /internal/apm/transactions\" | \"GET /internal/apm/services/{serviceName}/transactions/groups/main_statistics\" | \"GET /internal/apm/services/{serviceName}/transactions/groups/detailed_statistics\" | \"GET /internal/apm/services/{serviceName}/transactions/charts/latency\" | \"GET /internal/apm/services/{serviceName}/transactions/traces/samples\" | \"GET /internal/apm/services/{serviceName}/transaction/charts/breakdown\" | \"GET /internal/apm/services/{serviceName}/transactions/charts/error_rate\" | \"GET /internal/apm/services/{serviceName}/transactions/charts/coldstart_rate\" | \"GET /internal/apm/services/{serviceName}/transactions/charts/coldstart_rate_by_transaction_name\" | \"GET /internal/apm/rule_types/transaction_error_rate/chart_preview\" | \"GET /internal/apm/rule_types/error_count/chart_preview\" | \"GET /internal/apm/rule_types/transaction_duration/chart_preview\" | \"GET /api/apm/settings/agent-configuration 2023-10-31\" | \"GET /api/apm/settings/agent-configuration/view 2023-10-31\" | \"DELETE /api/apm/settings/agent-configuration 2023-10-31\" | \"PUT /api/apm/settings/agent-configuration 2023-10-31\" | \"POST /api/apm/settings/agent-configuration/search 2023-10-31\" | \"GET /api/apm/settings/agent-configuration/environments 2023-10-31\" | \"GET /api/apm/settings/agent-configuration/agent_name 2023-10-31\" | \"GET /internal/apm/settings/anomaly-detection/jobs\" | \"POST /internal/apm/settings/anomaly-detection/jobs\" | \"GET /internal/apm/settings/anomaly-detection/environments\" | \"POST /internal/apm/settings/anomaly-detection/update_to_v3\" | \"GET /internal/apm/settings/apm-index-settings\" | \"GET /internal/apm/settings/apm-indices\" | \"POST /internal/apm/settings/apm-indices/save\" | \"GET /internal/apm/settings/custom_links/transaction\" | \"GET /internal/apm/settings/custom_links\" | \"POST /internal/apm/settings/custom_links\" | \"PUT /internal/apm/settings/custom_links/{id}\" | \"DELETE /internal/apm/settings/custom_links/{id}\" | \"GET /api/apm/sourcemaps 2023-10-31\" | \"POST /api/apm/sourcemaps 2023-10-31\" | \"DELETE /api/apm/sourcemaps/{id} 2023-10-31\" | \"POST /internal/apm/sourcemaps/migrate_fleet_artifacts\" | \"GET /internal/apm/fleet/has_apm_policies\" | \"GET /internal/apm/fleet/agents\" | \"POST /api/apm/fleet/apm_server_schema 2023-10-31\" | \"GET /internal/apm/fleet/apm_server_schema/unsupported\" | \"GET /internal/apm/fleet/migration_check\" | \"POST /internal/apm/fleet/cloud_apm_package_policy\" | \"GET /internal/apm/fleet/java_agent_versions\" | \"GET /internal/apm/dependencies/top_dependencies\" | \"GET /internal/apm/dependencies/upstream_services\" | \"GET /internal/apm/dependencies/metadata\" | \"GET /internal/apm/dependencies/charts/latency\" | \"GET /internal/apm/dependencies/charts/throughput\" | \"GET /internal/apm/dependencies/charts/error_rate\" | \"GET /internal/apm/dependencies/operations\" | \"GET /internal/apm/dependencies/charts/distribution\" | \"GET /internal/apm/dependencies/operations/spans\" | \"GET /internal/apm/correlations/field_candidates/transactions\" | \"GET /internal/apm/correlations/field_value_stats/transactions\" | \"POST /internal/apm/correlations/field_value_pairs/transactions\" | \"POST /internal/apm/correlations/significant_correlations/transactions\" | \"POST /internal/apm/correlations/p_values/transactions\" | \"GET /internal/apm/fallback_to_transactions\" | \"GET /internal/apm/has_data\" | \"GET /internal/apm/has_entities\" | \"GET /internal/apm/event_metadata/{processorEvent}/{id}\" | \"GET /internal/apm/agent_keys\" | \"GET /internal/apm/agent_keys/privileges\" | \"POST /internal/apm/api_key/invalidate\" | \"POST /api/apm/agent_keys 2023-10-31\" | \"GET /internal/apm/storage_explorer\" | \"GET /internal/apm/services/{serviceName}/storage_details\" | \"GET /internal/apm/storage_chart\" | \"GET /internal/apm/storage_explorer/privileges\" | \"GET /internal/apm/storage_explorer_summary_stats\" | \"GET /internal/apm/storage_explorer/is_cross_cluster_search\" | \"GET /internal/apm/storage_explorer/get_services\" | \"GET /internal/apm/traces/{traceId}/span_links/{spanId}/parents\" | \"GET /internal/apm/traces/{traceId}/span_links/{spanId}/children\" | \"GET /internal/apm/services/{serviceName}/infrastructure_attributes\" | \"GET /internal/apm/debug-telemetry\" | \"GET /internal/apm/time_range_metadata\" | \"GET /internal/apm/settings/labs\" | \"GET /internal/apm/get_agents_per_service\" | \"GET /internal/apm/get_latest_agent_versions\" | \"GET /internal/apm/services/{serviceName}/agent_instances\" | \"GET /internal/apm/mobile-services/{serviceName}/error/http_error_rate\" | \"GET /internal/apm/mobile-services/{serviceName}/errors/groups/main_statistics\" | \"POST /internal/apm/mobile-services/{serviceName}/errors/groups/detailed_statistics\" | \"GET /internal/apm/mobile-services/{serviceName}/error_terms\" | \"POST /internal/apm/mobile-services/{serviceName}/crashes/groups/detailed_statistics\" | \"GET /internal/apm/mobile-services/{serviceName}/crashes/groups/main_statistics\" | \"GET /internal/apm/mobile-services/{serviceName}/crashes/distribution\" | \"GET /internal/apm/services/{serviceName}/mobile/filters\" | \"GET /internal/apm/mobile-services/{serviceName}/most_used_charts\" | \"GET /internal/apm/mobile-services/{serviceName}/transactions/charts/sessions\" | \"GET /internal/apm/mobile-services/{serviceName}/transactions/charts/http_requests\" | \"GET /internal/apm/mobile-services/{serviceName}/stats\" | \"GET /internal/apm/mobile-services/{serviceName}/location/stats\" | \"GET /internal/apm/mobile-services/{serviceName}/terms\" | \"GET /internal/apm/mobile-services/{serviceName}/main_statistics\" | \"GET /internal/apm/mobile-services/{serviceName}/detailed_statistics\" | \"GET /internal/apm/diagnostics\" | \"POST /internal/apm/assistant/get_apm_timeseries\" | \"GET /internal/apm/assistant/get_downstream_dependencies\" | \"GET /internal/apm/services/{serviceName}/profiling/flamegraph\" | \"GET /internal/apm/profiling/status\" | \"GET /internal/apm/services/{serviceName}/profiling/functions\" | \"GET /internal/apm/services/{serviceName}/profiling/hosts/flamegraph\" | \"GET /internal/apm/services/{serviceName}/profiling/hosts/functions\" | \"POST /internal/apm/custom-dashboard\" | \"DELETE /internal/apm/custom-dashboard\" | \"GET /internal/apm/services/{serviceName}/dashboards\"" ], "path": "x-pack/plugins/observability_solution/apm/server/routes/apm_routes/get_global_apm_server_route_repository.ts", "deprecated": false, @@ -2893,6 +2893,10 @@ }, "; id: string; }; query: { start: number; end: number; }; }; }) => Promise<{ metadata: Partial>; }>; } & ", "APMRouteCreateOptions", + "; \"GET /internal/apm/has_entities\": { endpoint: \"GET /internal/apm/has_entities\"; params?: undefined; handler: ({}: ", + "APMRouteHandlerResources", + ") => Promise<{ hasData: boolean; }>; } & ", + "APMRouteCreateOptions", "; \"GET /internal/apm/has_data\": { endpoint: \"GET /internal/apm/has_data\"; params?: undefined; handler: ({}: ", "APMRouteHandlerResources", ") => Promise<{ hasData: boolean; }>; } & ", diff --git a/api_docs/apm.mdx b/api_docs/apm.mdx index 0f83a5082cd14..1009cf888e8bb 100644 --- a/api_docs/apm.mdx +++ b/api_docs/apm.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/apm title: "apm" image: https://source.unsplash.com/400x175/?github description: API docs for the apm plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'apm'] --- import apmObj from './apm.devdocs.json'; diff --git a/api_docs/apm_data_access.mdx b/api_docs/apm_data_access.mdx index 0c0dc29f741e8..7ff13ff73968f 100644 --- a/api_docs/apm_data_access.mdx +++ b/api_docs/apm_data_access.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/apmDataAccess title: "apmDataAccess" image: https://source.unsplash.com/400x175/?github description: API docs for the apmDataAccess plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'apmDataAccess'] --- import apmDataAccessObj from './apm_data_access.devdocs.json'; diff --git a/api_docs/assets_data_access.mdx b/api_docs/assets_data_access.mdx index 879e8fc97a349..9889afae371f5 100644 --- a/api_docs/assets_data_access.mdx +++ b/api_docs/assets_data_access.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/assetsDataAccess title: "assetsDataAccess" image: https://source.unsplash.com/400x175/?github description: API docs for the assetsDataAccess plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'assetsDataAccess'] --- import assetsDataAccessObj from './assets_data_access.devdocs.json'; diff --git a/api_docs/banners.mdx b/api_docs/banners.mdx index a656198af5917..b9b7c2133bc59 100644 --- a/api_docs/banners.mdx +++ b/api_docs/banners.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/banners title: "banners" image: https://source.unsplash.com/400x175/?github description: API docs for the banners plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'banners'] --- import bannersObj from './banners.devdocs.json'; diff --git a/api_docs/bfetch.mdx b/api_docs/bfetch.mdx index 4c7975686a747..a512fc7192aac 100644 --- a/api_docs/bfetch.mdx +++ b/api_docs/bfetch.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/bfetch title: "bfetch" image: https://source.unsplash.com/400x175/?github description: API docs for the bfetch plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'bfetch'] --- import bfetchObj from './bfetch.devdocs.json'; diff --git a/api_docs/canvas.mdx b/api_docs/canvas.mdx index b750e557a382a..7127d9641c31e 100644 --- a/api_docs/canvas.mdx +++ b/api_docs/canvas.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/canvas title: "canvas" image: https://source.unsplash.com/400x175/?github description: API docs for the canvas plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'canvas'] --- import canvasObj from './canvas.devdocs.json'; diff --git a/api_docs/cases.mdx b/api_docs/cases.mdx index 23cc5259c7c1f..5e1c7d4cb56a3 100644 --- a/api_docs/cases.mdx +++ b/api_docs/cases.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/cases title: "cases" image: https://source.unsplash.com/400x175/?github description: API docs for the cases plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'cases'] --- import casesObj from './cases.devdocs.json'; diff --git a/api_docs/charts.mdx b/api_docs/charts.mdx index 4945fb1b83d5f..c4f5c844826ed 100644 --- a/api_docs/charts.mdx +++ b/api_docs/charts.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/charts title: "charts" image: https://source.unsplash.com/400x175/?github description: API docs for the charts plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'charts'] --- import chartsObj from './charts.devdocs.json'; diff --git a/api_docs/cloud.mdx b/api_docs/cloud.mdx index 535e8cd7f57ba..f85844e0a2501 100644 --- a/api_docs/cloud.mdx +++ b/api_docs/cloud.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/cloud title: "cloud" image: https://source.unsplash.com/400x175/?github description: API docs for the cloud plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'cloud'] --- import cloudObj from './cloud.devdocs.json'; diff --git a/api_docs/cloud_data_migration.mdx b/api_docs/cloud_data_migration.mdx index 6ad1e0e606990..4088d1e0621b5 100644 --- a/api_docs/cloud_data_migration.mdx +++ b/api_docs/cloud_data_migration.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/cloudDataMigration title: "cloudDataMigration" image: https://source.unsplash.com/400x175/?github description: API docs for the cloudDataMigration plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'cloudDataMigration'] --- import cloudDataMigrationObj from './cloud_data_migration.devdocs.json'; diff --git a/api_docs/cloud_defend.mdx b/api_docs/cloud_defend.mdx index 880b546e05d37..3d8223bcc4b9c 100644 --- a/api_docs/cloud_defend.mdx +++ b/api_docs/cloud_defend.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/cloudDefend title: "cloudDefend" image: https://source.unsplash.com/400x175/?github description: API docs for the cloudDefend plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'cloudDefend'] --- import cloudDefendObj from './cloud_defend.devdocs.json'; diff --git a/api_docs/cloud_experiments.devdocs.json b/api_docs/cloud_experiments.devdocs.json index 6df2dc117f7a4..76d3f7adecb5c 100644 --- a/api_docs/cloud_experiments.devdocs.json +++ b/api_docs/cloud_experiments.devdocs.json @@ -98,20 +98,122 @@ "parentPluginId": "cloudExperiments", "id": "def-common.CloudExperimentsPluginStart", "type": "Interface", - "tags": [], + "tags": [ + "deprecated" + ], "label": "CloudExperimentsPluginStart", "description": [ "\nThe contract of the start lifecycle method\n" ], "path": "x-pack/plugins/cloud_integrations/cloud_experiments/common/types.ts", - "deprecated": false, + "deprecated": true, "trackAdoption": false, + "references": [ + { + "plugin": "spaces", + "path": "x-pack/plugins/spaces/public/experiments/is_solution_nav_enabled.ts" + }, + { + "plugin": "spaces", + "path": "x-pack/plugins/spaces/public/experiments/is_solution_nav_enabled.ts" + }, + { + "plugin": "spaces", + "path": "x-pack/plugins/spaces/public/plugin.tsx" + }, + { + "plugin": "spaces", + "path": "x-pack/plugins/spaces/public/plugin.tsx" + }, + { + "plugin": "navigation", + "path": "src/plugins/navigation/public/types.ts" + }, + { + "plugin": "navigation", + "path": "src/plugins/navigation/public/types.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/utils.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/utils.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/utils.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/server/plugin_contract.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/server/plugin_contract.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/types.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/types.ts" + }, + { + "plugin": "securitySolutionEss", + "path": "x-pack/plugins/security_solution_ess/public/types.ts" + }, + { + "plugin": "securitySolutionEss", + "path": "x-pack/plugins/security_solution_ess/public/types.ts" + }, + { + "plugin": "cloudChat", + "path": "x-pack/plugins/cloud_integrations/cloud_chat/server/plugin.ts" + }, + { + "plugin": "cloudChat", + "path": "x-pack/plugins/cloud_integrations/cloud_chat/server/plugin.ts" + }, + { + "plugin": "observabilityOnboarding", + "path": "x-pack/plugins/observability_solution/observability_onboarding/public/plugin.ts" + }, + { + "plugin": "observabilityOnboarding", + "path": "x-pack/plugins/observability_solution/observability_onboarding/public/plugin.ts" + }, + { + "plugin": "securitySolutionEss", + "path": "x-pack/plugins/security_solution_ess/public/common/hooks/use_variation.ts" + }, + { + "plugin": "securitySolutionEss", + "path": "x-pack/plugins/security_solution_ess/public/common/hooks/use_variation.ts" + }, + { + "plugin": "securitySolutionEss", + "path": "x-pack/plugins/security_solution_ess/public/common/hooks/use_variation.ts" + }, + { + "plugin": "navigation", + "path": "src/plugins/navigation/server/types.ts" + }, + { + "plugin": "navigation", + "path": "src/plugins/navigation/server/types.ts" + } + ], "children": [ { "parentPluginId": "cloudExperiments", "id": "def-common.CloudExperimentsPluginStart.getVariation", "type": "Function", - "tags": [], + "tags": [ + "deprecated" + ], "label": "getVariation", "description": [ "\nFetch the configuration assigned to variation `configKey`. If nothing is found, fallback to `defaultValue`." @@ -120,8 +222,58 @@ "(featureFlagName: \"security-solutions.add-integrations-url\" | \"security-solutions.guided-onboarding-content\" | \"cloud-chat.enabled\" | \"cloud-chat.chat-variant\" | \"observability_onboarding.experimental_onboarding_flow_enabled\" | \"solutionNavEnabled\", defaultValue: Data) => Promise" ], "path": "x-pack/plugins/cloud_integrations/cloud_experiments/common/types.ts", - "deprecated": false, + "deprecated": true, "trackAdoption": false, + "references": [ + { + "plugin": "spaces", + "path": "x-pack/plugins/spaces/public/experiments/is_solution_nav_enabled.ts" + }, + { + "plugin": "navigation", + "path": "src/plugins/navigation/public/plugin.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/utils.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/server/plugin.ts" + }, + { + "plugin": "cloudChat", + "path": "x-pack/plugins/cloud_integrations/cloud_chat/server/plugin.ts" + }, + { + "plugin": "cloudChat", + "path": "x-pack/plugins/cloud_integrations/cloud_chat/server/plugin.ts" + }, + { + "plugin": "securitySolutionEss", + "path": "x-pack/plugins/security_solution_ess/public/common/hooks/use_variation.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/utils.test.ts" + }, + { + "plugin": "securitySolutionEss", + "path": "x-pack/plugins/security_solution_ess/public/common/hooks/use_variation.test.ts" + }, + { + "plugin": "navigation", + "path": "src/plugins/navigation/public/plugin.test.ts" + }, + { + "plugin": "navigation", + "path": "src/plugins/navigation/public/plugin.test.ts" + }, + { + "plugin": "navigation", + "path": "src/plugins/navigation/public/plugin.test.ts" + } + ], "children": [ { "parentPluginId": "cloudExperiments", @@ -164,7 +316,9 @@ "parentPluginId": "cloudExperiments", "id": "def-common.CloudExperimentsPluginStart.reportMetric", "type": "Function", - "tags": [], + "tags": [ + "deprecated" + ], "label": "reportMetric", "description": [ "\nReport metrics back to the A/B testing service to measure the conversion rate for each variation in the experiment." @@ -181,8 +335,9 @@ ") => void" ], "path": "x-pack/plugins/cloud_integrations/cloud_experiments/common/types.ts", - "deprecated": false, + "deprecated": true, "trackAdoption": false, + "references": [], "children": [ { "parentPluginId": "cloudExperiments", diff --git a/api_docs/cloud_experiments.mdx b/api_docs/cloud_experiments.mdx index ee980792baed3..4044b0c4508d4 100644 --- a/api_docs/cloud_experiments.mdx +++ b/api_docs/cloud_experiments.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/cloudExperiments title: "cloudExperiments" image: https://source.unsplash.com/400x175/?github description: API docs for the cloudExperiments plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'cloudExperiments'] --- import cloudExperimentsObj from './cloud_experiments.devdocs.json'; diff --git a/api_docs/cloud_security_posture.mdx b/api_docs/cloud_security_posture.mdx index 138a98724454c..023f54487b414 100644 --- a/api_docs/cloud_security_posture.mdx +++ b/api_docs/cloud_security_posture.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/cloudSecurityPosture title: "cloudSecurityPosture" image: https://source.unsplash.com/400x175/?github description: API docs for the cloudSecurityPosture plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'cloudSecurityPosture'] --- import cloudSecurityPostureObj from './cloud_security_posture.devdocs.json'; diff --git a/api_docs/console.mdx b/api_docs/console.mdx index 991b53f8a1e14..f829ce515b4d2 100644 --- a/api_docs/console.mdx +++ b/api_docs/console.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/console title: "console" image: https://source.unsplash.com/400x175/?github description: API docs for the console plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'console'] --- import consoleObj from './console.devdocs.json'; diff --git a/api_docs/content_management.mdx b/api_docs/content_management.mdx index 87252d4a35c64..b352b05358764 100644 --- a/api_docs/content_management.mdx +++ b/api_docs/content_management.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/contentManagement title: "contentManagement" image: https://source.unsplash.com/400x175/?github description: API docs for the contentManagement plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'contentManagement'] --- import contentManagementObj from './content_management.devdocs.json'; diff --git a/api_docs/controls.mdx b/api_docs/controls.mdx index 5fe351dea9520..a3a2229b2e846 100644 --- a/api_docs/controls.mdx +++ b/api_docs/controls.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/controls title: "controls" image: https://source.unsplash.com/400x175/?github description: API docs for the controls plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'controls'] --- import controlsObj from './controls.devdocs.json'; diff --git a/api_docs/custom_integrations.mdx b/api_docs/custom_integrations.mdx index 55eab1648cf13..2f2807ffa8f44 100644 --- a/api_docs/custom_integrations.mdx +++ b/api_docs/custom_integrations.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/customIntegrations title: "customIntegrations" image: https://source.unsplash.com/400x175/?github description: API docs for the customIntegrations plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'customIntegrations'] --- import customIntegrationsObj from './custom_integrations.devdocs.json'; diff --git a/api_docs/dashboard.mdx b/api_docs/dashboard.mdx index d50466707aef6..6065eeca808b4 100644 --- a/api_docs/dashboard.mdx +++ b/api_docs/dashboard.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/dashboard title: "dashboard" image: https://source.unsplash.com/400x175/?github description: API docs for the dashboard plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'dashboard'] --- import dashboardObj from './dashboard.devdocs.json'; diff --git a/api_docs/dashboard_enhanced.mdx b/api_docs/dashboard_enhanced.mdx index 3a4ac8d9f69a3..b0260de9c825f 100644 --- a/api_docs/dashboard_enhanced.mdx +++ b/api_docs/dashboard_enhanced.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/dashboardEnhanced title: "dashboardEnhanced" image: https://source.unsplash.com/400x175/?github description: API docs for the dashboardEnhanced plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'dashboardEnhanced'] --- import dashboardEnhancedObj from './dashboard_enhanced.devdocs.json'; diff --git a/api_docs/data.mdx b/api_docs/data.mdx index 97090221a3bd3..d7fd78543cefb 100644 --- a/api_docs/data.mdx +++ b/api_docs/data.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/data title: "data" image: https://source.unsplash.com/400x175/?github description: API docs for the data plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'data'] --- import dataObj from './data.devdocs.json'; diff --git a/api_docs/data_quality.mdx b/api_docs/data_quality.mdx index 28a42c5e228e3..43e94da67670b 100644 --- a/api_docs/data_quality.mdx +++ b/api_docs/data_quality.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/dataQuality title: "dataQuality" image: https://source.unsplash.com/400x175/?github description: API docs for the dataQuality plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'dataQuality'] --- import dataQualityObj from './data_quality.devdocs.json'; diff --git a/api_docs/data_query.mdx b/api_docs/data_query.mdx index b8a6ce509817d..361f0a8589ef0 100644 --- a/api_docs/data_query.mdx +++ b/api_docs/data_query.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/data-query title: "data.query" image: https://source.unsplash.com/400x175/?github description: API docs for the data.query plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'data.query'] --- import dataQueryObj from './data_query.devdocs.json'; diff --git a/api_docs/data_search.mdx b/api_docs/data_search.mdx index 97d43972c8ed2..2bceceff8f225 100644 --- a/api_docs/data_search.mdx +++ b/api_docs/data_search.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/data-search title: "data.search" image: https://source.unsplash.com/400x175/?github description: API docs for the data.search plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'data.search'] --- import dataSearchObj from './data_search.devdocs.json'; diff --git a/api_docs/data_view_editor.mdx b/api_docs/data_view_editor.mdx index b2757f4faa1d0..ec74c2eb572e8 100644 --- a/api_docs/data_view_editor.mdx +++ b/api_docs/data_view_editor.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/dataViewEditor title: "dataViewEditor" image: https://source.unsplash.com/400x175/?github description: API docs for the dataViewEditor plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'dataViewEditor'] --- import dataViewEditorObj from './data_view_editor.devdocs.json'; diff --git a/api_docs/data_view_field_editor.mdx b/api_docs/data_view_field_editor.mdx index 31b8aef3d2186..d6ff862d950bd 100644 --- a/api_docs/data_view_field_editor.mdx +++ b/api_docs/data_view_field_editor.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/dataViewFieldEditor title: "dataViewFieldEditor" image: https://source.unsplash.com/400x175/?github description: API docs for the dataViewFieldEditor plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'dataViewFieldEditor'] --- import dataViewFieldEditorObj from './data_view_field_editor.devdocs.json'; diff --git a/api_docs/data_view_management.mdx b/api_docs/data_view_management.mdx index 6cf965c69b942..9333aee062915 100644 --- a/api_docs/data_view_management.mdx +++ b/api_docs/data_view_management.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/dataViewManagement title: "dataViewManagement" image: https://source.unsplash.com/400x175/?github description: API docs for the dataViewManagement plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'dataViewManagement'] --- import dataViewManagementObj from './data_view_management.devdocs.json'; diff --git a/api_docs/data_views.devdocs.json b/api_docs/data_views.devdocs.json index 611d75c419502..34d0c5981196f 100644 --- a/api_docs/data_views.devdocs.json +++ b/api_docs/data_views.devdocs.json @@ -13260,18 +13260,6 @@ "plugin": "maps", "path": "x-pack/plugins/maps/public/classes/tooltips/es_tooltip_property.test.ts" }, - { - "plugin": "infra", - "path": "x-pack/plugins/observability_solution/infra/common/dependency_mocks/index_patterns.ts" - }, - { - "plugin": "infra", - "path": "x-pack/plugins/observability_solution/infra/common/dependency_mocks/index_patterns.ts" - }, - { - "plugin": "infra", - "path": "x-pack/plugins/observability_solution/infra/common/dependency_mocks/index_patterns.ts" - }, { "plugin": "enterpriseSearch", "path": "x-pack/plugins/enterprise_search/public/applications/analytics/utils/find_or_create_data_view.test.ts" diff --git a/api_docs/data_views.mdx b/api_docs/data_views.mdx index 03eb310ad8261..6bf58bccfde41 100644 --- a/api_docs/data_views.mdx +++ b/api_docs/data_views.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/dataViews title: "dataViews" image: https://source.unsplash.com/400x175/?github description: API docs for the dataViews plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'dataViews'] --- import dataViewsObj from './data_views.devdocs.json'; diff --git a/api_docs/data_visualizer.mdx b/api_docs/data_visualizer.mdx index c85ca0fcd8842..cb59cb5bdff1e 100644 --- a/api_docs/data_visualizer.mdx +++ b/api_docs/data_visualizer.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/dataVisualizer title: "dataVisualizer" image: https://source.unsplash.com/400x175/?github description: API docs for the dataVisualizer plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'dataVisualizer'] --- import dataVisualizerObj from './data_visualizer.devdocs.json'; diff --git a/api_docs/dataset_quality.mdx b/api_docs/dataset_quality.mdx index 25187a5bad954..d48c11813573f 100644 --- a/api_docs/dataset_quality.mdx +++ b/api_docs/dataset_quality.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/datasetQuality title: "datasetQuality" image: https://source.unsplash.com/400x175/?github description: API docs for the datasetQuality plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'datasetQuality'] --- import datasetQualityObj from './dataset_quality.devdocs.json'; diff --git a/api_docs/deprecations_by_api.mdx b/api_docs/deprecations_by_api.mdx index c268ac9e07ba5..ca80db6138660 100644 --- a/api_docs/deprecations_by_api.mdx +++ b/api_docs/deprecations_by_api.mdx @@ -7,7 +7,7 @@ id: kibDevDocsDeprecationsByApi slug: /kibana-dev-docs/api-meta/deprecated-api-list-by-api title: Deprecated API usage by API description: A list of deprecated APIs, which plugins are still referencing them, and when they need to be removed by. -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana'] --- @@ -32,6 +32,8 @@ tags: ['contributor', 'dev', 'apidocs', 'kibana'] | | @kbn/core, visualizations, triggersActionsUi | - | | | ruleRegistry, securitySolution, synthetics, slo | - | | | security, actions, alerting, ruleRegistry, files, cases, fleet, securitySolution | - | +| | spaces, navigation, securitySolution, securitySolutionEss, cloudChat, observabilityOnboarding | - | +| | spaces, navigation, securitySolution, cloudChat, securitySolutionEss | - | | | alerting, discover, securitySolution | - | | | @kbn/core-saved-objects-api-browser, @kbn/core-saved-objects-browser-internal, @kbn/core-saved-objects-browser-mocks, @kbn/core-saved-objects-api-server-internal, @kbn/core-saved-objects-import-export-server-internal, @kbn/core-saved-objects-server-internal, fleet, graph, lists, osquery, securitySolution, alerting | - | | | @kbn/core-saved-objects-api-browser, @kbn/core-saved-objects-browser-internal, @kbn/core-saved-objects-browser-mocks, @kbn/core-saved-objects-api-server-internal, @kbn/core-saved-objects-import-export-server-internal, @kbn/core-saved-objects-server-internal, fleet, graph, lists, osquery, securitySolution, alerting | - | @@ -66,6 +68,10 @@ tags: ['contributor', 'dev', 'apidocs', 'kibana'] | | @kbn/monaco, securitySolution | - | | | fleet, cloudSecurityPosture, exploratoryView, osquery, synthetics | - | | | alerting, observabilityAIAssistant, fleet, cloudSecurityPosture, enterpriseSearch, serverlessSearch, transform, upgradeAssistant, apm, entityManager, observabilityOnboarding, synthetics, security | - | +| | @kbn/core-saved-objects-browser-internal, @kbn/core, spaces, savedSearch, visualizations, lens, cases, maps, canvas, graph | - | +| | spaces, savedObjectsManagement | - | +| | @kbn/core-saved-objects-api-server-internal, @kbn/core-saved-objects-migration-server-internal, spaces, data, savedSearch, cloudSecurityPosture, visualizations, dashboard, @kbn/core-test-helpers-so-type-serializer | - | +| | @kbn/core-elasticsearch-server-internal, @kbn/core-plugins-server-internal, enterpriseSearch, observabilityOnboarding, console | - | | | actions, alerting | - | | | visualizations, lens, controls, dashboard, discover | - | | | discover, @kbn/reporting-public | - | @@ -95,7 +101,6 @@ tags: ['contributor', 'dev', 'apidocs', 'kibana'] | | @kbn/core-saved-objects-browser-internal, @kbn/core | - | | | @kbn/core-saved-objects-browser-internal, @kbn/core | - | | | @kbn/core-saved-objects-browser-internal, @kbn/core | - | -| | @kbn/core-saved-objects-browser-internal, @kbn/core, spaces, savedSearch, visualizations, lens, cases, maps, canvas, graph | - | | | @kbn/core-saved-objects-browser-internal, @kbn/core | - | | | @kbn/core-saved-objects-browser-internal, @kbn/core | - | | | @kbn/core-saved-objects-browser-internal, @kbn/core | - | @@ -105,7 +110,6 @@ tags: ['contributor', 'dev', 'apidocs', 'kibana'] | | @kbn/core-root-browser-internal, @kbn/core-saved-objects-browser-mocks | - | | | @kbn/core-saved-objects-api-server-internal | - | | | @kbn/core-saved-objects-api-server-internal | - | -| | @kbn/core-saved-objects-api-server-internal, @kbn/core-saved-objects-migration-server-internal, spaces, data, savedSearch, cloudSecurityPosture, visualizations, dashboard, @kbn/core-test-helpers-so-type-serializer | - | | | graph, visTypeTimeseries, dataViewManagement, dataViews | - | | | graph, visTypeTimeseries, dataViewManagement, dataViews | - | | | graph, visTypeTimeseries, dataViewManagement | - | @@ -127,7 +131,6 @@ tags: ['contributor', 'dev', 'apidocs', 'kibana'] | | maps | - | | | dataViewManagement | - | | | dataViewManagement | - | -| | spaces, savedObjectsManagement | - | | | unifiedSearch | - | | | unifiedSearch | - | | | savedSearch, visualizations, lens | - | @@ -142,7 +145,6 @@ tags: ['contributor', 'dev', 'apidocs', 'kibana'] | | canvas | - | | | canvas | - | | | enterpriseSearch | - | -| | @kbn/core-elasticsearch-server-internal, @kbn/core-plugins-server-internal, enterpriseSearch, observabilityOnboarding, console | - | | | embeddableEnhanced | - | | | embeddableEnhanced | - | | | uiActionsEnhanced | - | @@ -198,6 +200,7 @@ Safe to remove. | | alerting | | | alerting | | | alerting | +| | cloudExperiments | | | data | | | data | | | data | diff --git a/api_docs/deprecations_by_plugin.mdx b/api_docs/deprecations_by_plugin.mdx index 50549ef51f022..3117567315dbf 100644 --- a/api_docs/deprecations_by_plugin.mdx +++ b/api_docs/deprecations_by_plugin.mdx @@ -7,7 +7,7 @@ id: kibDevDocsDeprecationsByPlugin slug: /kibana-dev-docs/api-meta/deprecated-api-list-by-plugin title: Deprecated API usage by plugin description: A list of deprecated APIs, which plugins are still referencing them, and when they need to be removed by. -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana'] --- @@ -550,6 +550,15 @@ tags: ['contributor', 'dev', 'apidocs', 'kibana'] +## cloudChat + +| Deprecated API | Reference location(s) | Remove By | +| ---------------|-----------|-----------| +| | [plugin.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/cloud_integrations/cloud_chat/server/plugin.ts#:~:text=CloudExperimentsPluginStart), [plugin.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/cloud_integrations/cloud_chat/server/plugin.ts#:~:text=CloudExperimentsPluginStart) | - | +| | [plugin.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/cloud_integrations/cloud_chat/server/plugin.ts#:~:text=getVariation), [plugin.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/cloud_integrations/cloud_chat/server/plugin.ts#:~:text=getVariation) | - | + + + ## cloudDefend | Deprecated API | Reference location(s) | Remove By | @@ -909,7 +918,7 @@ tags: ['contributor', 'dev', 'apidocs', 'kibana'] | Deprecated API | Reference location(s) | Remove By | | ---------------|-----------|-----------| -| | [validation_errors.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/observability_solution/infra/public/pages/logs/settings/validation_errors.ts#:~:text=title), [validation_errors.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/observability_solution/infra/public/pages/logs/settings/validation_errors.ts#:~:text=title), [validation_errors.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/observability_solution/infra/public/pages/logs/settings/validation_errors.ts#:~:text=title), [validation_errors.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/observability_solution/infra/public/pages/logs/settings/validation_errors.ts#:~:text=title), [index_patterns.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/observability_solution/infra/common/dependency_mocks/index_patterns.ts#:~:text=title), [index_patterns.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/observability_solution/infra/common/dependency_mocks/index_patterns.ts#:~:text=title), [index_patterns.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/observability_solution/infra/common/dependency_mocks/index_patterns.ts#:~:text=title), [use_waffle_filters.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/hooks/use_waffle_filters.test.ts#:~:text=title) | - | +| | [validation_errors.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/observability_solution/infra/public/pages/logs/settings/validation_errors.ts#:~:text=title), [validation_errors.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/observability_solution/infra/public/pages/logs/settings/validation_errors.ts#:~:text=title), [validation_errors.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/observability_solution/infra/public/pages/logs/settings/validation_errors.ts#:~:text=title), [validation_errors.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/observability_solution/infra/public/pages/logs/settings/validation_errors.ts#:~:text=title), [use_waffle_filters.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/hooks/use_waffle_filters.test.ts#:~:text=title) | - | | | [saved_object_type.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/observability_solution/infra/server/lib/sources/saved_object_type.ts#:~:text=migrations) | - | @@ -1084,6 +1093,15 @@ tags: ['contributor', 'dev', 'apidocs', 'kibana'] +## navigation + +| Deprecated API | Reference location(s) | Remove By | +| ---------------|-----------|-----------| +| | [types.ts](https://github.com/elastic/kibana/tree/main/src/plugins/navigation/public/types.ts#:~:text=CloudExperimentsPluginStart), [types.ts](https://github.com/elastic/kibana/tree/main/src/plugins/navigation/public/types.ts#:~:text=CloudExperimentsPluginStart), [types.ts](https://github.com/elastic/kibana/tree/main/src/plugins/navigation/server/types.ts#:~:text=CloudExperimentsPluginStart), [types.ts](https://github.com/elastic/kibana/tree/main/src/plugins/navigation/server/types.ts#:~:text=CloudExperimentsPluginStart) | - | +| | [plugin.tsx](https://github.com/elastic/kibana/tree/main/src/plugins/navigation/public/plugin.tsx#:~:text=getVariation), [plugin.test.ts](https://github.com/elastic/kibana/tree/main/src/plugins/navigation/public/plugin.test.ts#:~:text=getVariation), [plugin.test.ts](https://github.com/elastic/kibana/tree/main/src/plugins/navigation/public/plugin.test.ts#:~:text=getVariation), [plugin.test.ts](https://github.com/elastic/kibana/tree/main/src/plugins/navigation/public/plugin.test.ts#:~:text=getVariation) | - | + + + ## observabilityAIAssistant | Deprecated API | Reference location(s) | Remove By | @@ -1104,6 +1122,7 @@ tags: ['contributor', 'dev', 'apidocs', 'kibana'] | Deprecated API | Reference location(s) | Remove By | | ---------------|-----------|-----------| +| | [plugin.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/observability_solution/observability_onboarding/public/plugin.ts#:~:text=CloudExperimentsPluginStart), [plugin.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/observability_solution/observability_onboarding/public/plugin.ts#:~:text=CloudExperimentsPluginStart) | - | | | [route.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/observability_solution/observability_onboarding/server/routes/flow/route.ts#:~:text=authc), [route.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/observability_solution/observability_onboarding/server/routes/flow/route.ts#:~:text=authc) | - | | | [plugin.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/observability_solution/observability_onboarding/server/plugin.ts#:~:text=legacy) | - | @@ -1314,6 +1333,8 @@ migrates to using the Kibana Privilege model: https://github.com/elastic/kibana/ | Deprecated API | Reference location(s) | Remove By | | ---------------|-----------|-----------| | | [route.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/security_solution/server/lib/detection_engine/rule_preview/api/preview_rules/route.ts#:~:text=alertFactory) | - | +| | [utils.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/security_solution/public/common/components/utils.ts#:~:text=CloudExperimentsPluginStart), [utils.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/security_solution/public/common/components/utils.ts#:~:text=CloudExperimentsPluginStart), [utils.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/security_solution/public/common/components/utils.ts#:~:text=CloudExperimentsPluginStart), [plugin_contract.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/security_solution/server/plugin_contract.ts#:~:text=CloudExperimentsPluginStart), [plugin_contract.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/security_solution/server/plugin_contract.ts#:~:text=CloudExperimentsPluginStart), [types.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/security_solution/public/types.ts#:~:text=CloudExperimentsPluginStart), [types.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/security_solution/public/types.ts#:~:text=CloudExperimentsPluginStart) | - | +| | [utils.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/security_solution/public/common/components/utils.ts#:~:text=getVariation), [plugin.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/security_solution/server/plugin.ts#:~:text=getVariation), [utils.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/security_solution/public/common/components/utils.test.ts#:~:text=getVariation) | - | | | [wrap_search_source_client.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/security_solution/server/lib/detection_engine/rule_preview/api/preview_rules/wrap_search_source_client.ts#:~:text=create) | - | | | [wrap_search_source_client.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/security_solution/server/lib/detection_engine/rule_preview/api/preview_rules/wrap_search_source_client.test.ts#:~:text=fetch), [wrap_search_source_client.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/security_solution/server/lib/detection_engine/rule_preview/api/preview_rules/wrap_search_source_client.test.ts#:~:text=fetch), [wrap_search_source_client.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/security_solution/server/lib/detection_engine/rule_preview/api/preview_rules/wrap_search_source_client.test.ts#:~:text=fetch), [wrap_search_source_client.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/security_solution/server/lib/detection_engine/rule_preview/api/preview_rules/wrap_search_source_client.test.ts#:~:text=fetch) | - | | | [host_risk_score_dashboards.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/security_solution/server/lib/risk_score/prebuilt_saved_objects/saved_object/host_risk_score_dashboards.ts#:~:text=migrationVersion), [host_risk_score_dashboards.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/security_solution/server/lib/risk_score/prebuilt_saved_objects/saved_object/host_risk_score_dashboards.ts#:~:text=migrationVersion), [host_risk_score_dashboards.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/security_solution/server/lib/risk_score/prebuilt_saved_objects/saved_object/host_risk_score_dashboards.ts#:~:text=migrationVersion), [host_risk_score_dashboards.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/security_solution/server/lib/risk_score/prebuilt_saved_objects/saved_object/host_risk_score_dashboards.ts#:~:text=migrationVersion), [host_risk_score_dashboards.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/security_solution/server/lib/risk_score/prebuilt_saved_objects/saved_object/host_risk_score_dashboards.ts#:~:text=migrationVersion), [host_risk_score_dashboards.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/security_solution/server/lib/risk_score/prebuilt_saved_objects/saved_object/host_risk_score_dashboards.ts#:~:text=migrationVersion), [host_risk_score_dashboards.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/security_solution/server/lib/risk_score/prebuilt_saved_objects/saved_object/host_risk_score_dashboards.ts#:~:text=migrationVersion), [host_risk_score_dashboards.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/security_solution/server/lib/risk_score/prebuilt_saved_objects/saved_object/host_risk_score_dashboards.ts#:~:text=migrationVersion), [host_risk_score_dashboards.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/security_solution/server/lib/risk_score/prebuilt_saved_objects/saved_object/host_risk_score_dashboards.ts#:~:text=migrationVersion), [host_risk_score_dashboards.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/security_solution/server/lib/risk_score/prebuilt_saved_objects/saved_object/host_risk_score_dashboards.ts#:~:text=migrationVersion)+ 12 more | - | @@ -1361,6 +1382,15 @@ migrates to using the Kibana Privilege model: https://github.com/elastic/kibana/ +## securitySolutionEss + +| Deprecated API | Reference location(s) | Remove By | +| ---------------|-----------|-----------| +| | [types.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/security_solution_ess/public/types.ts#:~:text=CloudExperimentsPluginStart), [types.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/security_solution_ess/public/types.ts#:~:text=CloudExperimentsPluginStart), [use_variation.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/security_solution_ess/public/common/hooks/use_variation.ts#:~:text=CloudExperimentsPluginStart), [use_variation.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/security_solution_ess/public/common/hooks/use_variation.ts#:~:text=CloudExperimentsPluginStart), [use_variation.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/security_solution_ess/public/common/hooks/use_variation.ts#:~:text=CloudExperimentsPluginStart) | - | +| | [use_variation.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/security_solution_ess/public/common/hooks/use_variation.ts#:~:text=getVariation), [use_variation.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/security_solution_ess/public/common/hooks/use_variation.test.ts#:~:text=getVariation) | - | + + + ## serverlessSearch | Deprecated API | Reference location(s) | Remove By | @@ -1399,6 +1429,8 @@ migrates to using the Kibana Privilege model: https://github.com/elastic/kibana/ | Deprecated API | Reference location(s) | Remove By | | ---------------|-----------|-----------| +| | [is_solution_nav_enabled.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/spaces/public/experiments/is_solution_nav_enabled.ts#:~:text=CloudExperimentsPluginStart), [is_solution_nav_enabled.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/spaces/public/experiments/is_solution_nav_enabled.ts#:~:text=CloudExperimentsPluginStart), [plugin.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/spaces/public/plugin.tsx#:~:text=CloudExperimentsPluginStart), [plugin.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/spaces/public/plugin.tsx#:~:text=CloudExperimentsPluginStart) | - | +| | [is_solution_nav_enabled.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/spaces/public/experiments/is_solution_nav_enabled.ts#:~:text=getVariation) | - | | | [on_post_auth_interceptor.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/spaces/server/lib/request_interceptors/on_post_auth_interceptor.ts#:~:text=getKibanaFeatures), [spaces_usage_collector.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/spaces/server/usage_collection/spaces_usage_collector.ts#:~:text=getKibanaFeatures), [on_post_auth_interceptor.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/spaces/server/lib/request_interceptors/on_post_auth_interceptor.test.ts#:~:text=getKibanaFeatures) | 8.8.0 | | | [spaces_usage_collector.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/spaces/server/usage_collection/spaces_usage_collector.ts#:~:text=license%24), [plugin.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/spaces/server/plugin.ts#:~:text=license%24), [plugin.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/spaces/server/plugin.ts#:~:text=license%24), [spaces_usage_collector.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/spaces/server/usage_collection/spaces_usage_collector.test.ts#:~:text=license%24) | 8.8.0 | | | [types.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/spaces/public/legacy_urls/types.ts#:~:text=ResolvedSimpleSavedObject), [types.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/spaces/public/legacy_urls/types.ts#:~:text=ResolvedSimpleSavedObject) | - | diff --git a/api_docs/deprecations_by_team.mdx b/api_docs/deprecations_by_team.mdx index 892a543911c68..8ea18fff4d6ee 100644 --- a/api_docs/deprecations_by_team.mdx +++ b/api_docs/deprecations_by_team.mdx @@ -7,7 +7,7 @@ id: kibDevDocsDeprecationsDueByTeam slug: /kibana-dev-docs/api-meta/deprecations-due-by-team title: Deprecated APIs due to be removed, by team description: Lists the teams that are referencing deprecated APIs with a remove by date. -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana'] --- @@ -79,6 +79,8 @@ tags: ['contributor', 'dev', 'apidocs', 'kibana'] | Plugin | Deprecated API | Reference location(s) | Remove By | | --------|-------|-----------|-----------| +| spaces | | [on_post_auth_interceptor.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/spaces/server/lib/request_interceptors/on_post_auth_interceptor.ts#:~:text=getKibanaFeatures), [spaces_usage_collector.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/spaces/server/usage_collection/spaces_usage_collector.ts#:~:text=getKibanaFeatures), [on_post_auth_interceptor.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/spaces/server/lib/request_interceptors/on_post_auth_interceptor.test.ts#:~:text=getKibanaFeatures), [app_authorization.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/security/server/authorization/app_authorization.ts#:~:text=getKibanaFeatures), [privileges.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/security/server/authorization/privileges/privileges.ts#:~:text=getKibanaFeatures), [authorization_service.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/security/server/authorization/authorization_service.tsx#:~:text=getKibanaFeatures), [app_authorization.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/security/server/authorization/app_authorization.test.ts#:~:text=getKibanaFeatures), [privileges.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/security/server/authorization/privileges/privileges.test.ts#:~:text=getKibanaFeatures), [privileges.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/security/server/authorization/privileges/privileges.test.ts#:~:text=getKibanaFeatures), [privileges.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/security/server/authorization/privileges/privileges.test.ts#:~:text=getKibanaFeatures)+ 27 more | 8.8.0 | +| spaces | | [spaces_usage_collector.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/spaces/server/usage_collection/spaces_usage_collector.ts#:~:text=license%24), [plugin.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/spaces/server/plugin.ts#:~:text=license%24), [plugin.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/spaces/server/plugin.ts#:~:text=license%24), [spaces_usage_collector.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/spaces/server/usage_collection/spaces_usage_collector.test.ts#:~:text=license%24), [plugin.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/security/server/plugin.ts#:~:text=license%24) | 8.8.0 | | security | | [disable_ui_capabilities.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/security/server/authorization/disable_ui_capabilities.ts#:~:text=requiredRoles) | 8.8.0 This is relied on by the reporting feature, and should be removed once reporting @@ -87,12 +89,10 @@ migrates to using the Kibana Privilege model: https://github.com/elastic/kibana/ This is relied on by the reporting feature, and should be removed once reporting migrates to using the Kibana Privilege model: https://github.com/elastic/kibana/issues/19914 | -| security | | [app_authorization.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/security/server/authorization/app_authorization.ts#:~:text=getKibanaFeatures), [privileges.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/security/server/authorization/privileges/privileges.ts#:~:text=getKibanaFeatures), [authorization_service.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/security/server/authorization/authorization_service.tsx#:~:text=getKibanaFeatures), [app_authorization.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/security/server/authorization/app_authorization.test.ts#:~:text=getKibanaFeatures), [privileges.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/security/server/authorization/privileges/privileges.test.ts#:~:text=getKibanaFeatures), [privileges.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/security/server/authorization/privileges/privileges.test.ts#:~:text=getKibanaFeatures), [privileges.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/security/server/authorization/privileges/privileges.test.ts#:~:text=getKibanaFeatures), [privileges.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/security/server/authorization/privileges/privileges.test.ts#:~:text=getKibanaFeatures), [privileges.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/security/server/authorization/privileges/privileges.test.ts#:~:text=getKibanaFeatures), [privileges.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/security/server/authorization/privileges/privileges.test.ts#:~:text=getKibanaFeatures)+ 27 more | 8.8.0 | | security | | [authorization_service.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/security/server/authorization/authorization_service.tsx#:~:text=getElasticsearchFeatures) | 8.8.0 | | security | | [license_service.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/security/common/licensing/license_service.test.ts#:~:text=mode), [license_service.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/security/common/licensing/license_service.test.ts#:~:text=mode), [license_service.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/security/common/licensing/license_service.test.ts#:~:text=mode) | 8.8.0 | | security | | [plugin.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/security/public/plugin.tsx#:~:text=license%24) | 8.8.0 | | security | | [license_service.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/security/common/licensing/license_service.test.ts#:~:text=mode), [license_service.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/security/common/licensing/license_service.test.ts#:~:text=mode), [license_service.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/security/common/licensing/license_service.test.ts#:~:text=mode) | 8.8.0 | -| security | | [plugin.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/security/server/plugin.ts#:~:text=license%24), [spaces_usage_collector.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/spaces/server/usage_collection/spaces_usage_collector.ts#:~:text=license%24), [plugin.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/spaces/server/plugin.ts#:~:text=license%24), [plugin.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/spaces/server/plugin.ts#:~:text=license%24), [spaces_usage_collector.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/spaces/server/usage_collection/spaces_usage_collector.test.ts#:~:text=license%24) | 8.8.0 | | security | | [logout_app.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/security/public/authentication/logout/logout_app.test.ts#:~:text=appBasePath) | 8.8.0 | diff --git a/api_docs/dev_tools.mdx b/api_docs/dev_tools.mdx index cf571d917cd2d..8b8496c49722a 100644 --- a/api_docs/dev_tools.mdx +++ b/api_docs/dev_tools.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/devTools title: "devTools" image: https://source.unsplash.com/400x175/?github description: API docs for the devTools plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'devTools'] --- import devToolsObj from './dev_tools.devdocs.json'; diff --git a/api_docs/discover.mdx b/api_docs/discover.mdx index 84c9ba414d96d..e30f8966dd8af 100644 --- a/api_docs/discover.mdx +++ b/api_docs/discover.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/discover title: "discover" image: https://source.unsplash.com/400x175/?github description: API docs for the discover plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'discover'] --- import discoverObj from './discover.devdocs.json'; diff --git a/api_docs/discover_enhanced.mdx b/api_docs/discover_enhanced.mdx index 825af4d22724d..1326a8ce345c4 100644 --- a/api_docs/discover_enhanced.mdx +++ b/api_docs/discover_enhanced.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/discoverEnhanced title: "discoverEnhanced" image: https://source.unsplash.com/400x175/?github description: API docs for the discoverEnhanced plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'discoverEnhanced'] --- import discoverEnhancedObj from './discover_enhanced.devdocs.json'; diff --git a/api_docs/discover_shared.mdx b/api_docs/discover_shared.mdx index 1bd3a2048f664..c9b51d6ea11fb 100644 --- a/api_docs/discover_shared.mdx +++ b/api_docs/discover_shared.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/discoverShared title: "discoverShared" image: https://source.unsplash.com/400x175/?github description: API docs for the discoverShared plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'discoverShared'] --- import discoverSharedObj from './discover_shared.devdocs.json'; diff --git a/api_docs/ecs_data_quality_dashboard.mdx b/api_docs/ecs_data_quality_dashboard.mdx index 830c999e1dfe8..6297737342f8a 100644 --- a/api_docs/ecs_data_quality_dashboard.mdx +++ b/api_docs/ecs_data_quality_dashboard.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/ecsDataQualityDashboard title: "ecsDataQualityDashboard" image: https://source.unsplash.com/400x175/?github description: API docs for the ecsDataQualityDashboard plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'ecsDataQualityDashboard'] --- import ecsDataQualityDashboardObj from './ecs_data_quality_dashboard.devdocs.json'; diff --git a/api_docs/elastic_assistant.mdx b/api_docs/elastic_assistant.mdx index 6afcb7d0f9a98..ad6d3f08e5890 100644 --- a/api_docs/elastic_assistant.mdx +++ b/api_docs/elastic_assistant.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/elasticAssistant title: "elasticAssistant" image: https://source.unsplash.com/400x175/?github description: API docs for the elasticAssistant plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'elasticAssistant'] --- import elasticAssistantObj from './elastic_assistant.devdocs.json'; diff --git a/api_docs/embeddable.devdocs.json b/api_docs/embeddable.devdocs.json index 24ed6961df2c9..044a01d00fe61 100644 --- a/api_docs/embeddable.devdocs.json +++ b/api_docs/embeddable.devdocs.json @@ -10769,7 +10769,9 @@ "type": "Uncategorized", "tags": [], "label": "input", - "description": [], + "description": [ + "\nFor react embeddables, this input must be runtime state." + ], "signature": [ "object" ], @@ -10805,29 +10807,6 @@ "deprecated": false, "trackAdoption": false }, - { - "parentPluginId": "embeddable", - "id": "def-public.EmbeddablePackageState.references", - "type": "Array", - "tags": [], - "label": "references", - "description": [ - "\nCopy dashboard panel transfers serialized panel state for React embeddables.\nThe rawState will be passed into the input and references are passed separately\nso the container can update its references array and the updated references\nare correctly passed to the factory's deserialize method.\n\nLegacy embeddables have already injected the references\ninto the input state, so they will not pass references." - ], - "signature": [ - { - "pluginId": "@kbn/content-management-utils", - "scope": "common", - "docId": "kibKbnContentManagementUtilsPluginApi", - "section": "def-common.Reference", - "text": "Reference" - }, - "[] | undefined" - ], - "path": "src/plugins/embeddable/public/lib/state_transfer/types.ts", - "deprecated": false, - "trackAdoption": false - }, { "parentPluginId": "embeddable", "id": "def-public.EmbeddablePackageState.searchSessionId", diff --git a/api_docs/embeddable.mdx b/api_docs/embeddable.mdx index 1be4cf070b77c..01244897124de 100644 --- a/api_docs/embeddable.mdx +++ b/api_docs/embeddable.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/embeddable title: "embeddable" image: https://source.unsplash.com/400x175/?github description: API docs for the embeddable plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'embeddable'] --- import embeddableObj from './embeddable.devdocs.json'; @@ -21,7 +21,7 @@ Contact [@elastic/kibana-presentation](https://github.com/orgs/elastic/teams/kib | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 571 | 1 | 461 | 9 | +| 570 | 1 | 460 | 9 | ## Client diff --git a/api_docs/embeddable_enhanced.mdx b/api_docs/embeddable_enhanced.mdx index ca14173383fcc..a340d4474e223 100644 --- a/api_docs/embeddable_enhanced.mdx +++ b/api_docs/embeddable_enhanced.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/embeddableEnhanced title: "embeddableEnhanced" image: https://source.unsplash.com/400x175/?github description: API docs for the embeddableEnhanced plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'embeddableEnhanced'] --- import embeddableEnhancedObj from './embeddable_enhanced.devdocs.json'; diff --git a/api_docs/encrypted_saved_objects.mdx b/api_docs/encrypted_saved_objects.mdx index 8037f0b3dbef5..536dfc8dea4be 100644 --- a/api_docs/encrypted_saved_objects.mdx +++ b/api_docs/encrypted_saved_objects.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/encryptedSavedObjects title: "encryptedSavedObjects" image: https://source.unsplash.com/400x175/?github description: API docs for the encryptedSavedObjects plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'encryptedSavedObjects'] --- import encryptedSavedObjectsObj from './encrypted_saved_objects.devdocs.json'; diff --git a/api_docs/enterprise_search.mdx b/api_docs/enterprise_search.mdx index 115d51944f803..14bf0058f49f8 100644 --- a/api_docs/enterprise_search.mdx +++ b/api_docs/enterprise_search.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/enterpriseSearch title: "enterpriseSearch" image: https://source.unsplash.com/400x175/?github description: API docs for the enterpriseSearch plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'enterpriseSearch'] --- import enterpriseSearchObj from './enterprise_search.devdocs.json'; diff --git a/api_docs/entity_manager.mdx b/api_docs/entity_manager.mdx index bdd2d891f6ff3..553349c4c5d1a 100644 --- a/api_docs/entity_manager.mdx +++ b/api_docs/entity_manager.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/entityManager title: "entityManager" image: https://source.unsplash.com/400x175/?github description: API docs for the entityManager plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'entityManager'] --- import entityManagerObj from './entity_manager.devdocs.json'; diff --git a/api_docs/es_ui_shared.mdx b/api_docs/es_ui_shared.mdx index c2e5daa5ec7b4..6f848e8afa206 100644 --- a/api_docs/es_ui_shared.mdx +++ b/api_docs/es_ui_shared.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/esUiShared title: "esUiShared" image: https://source.unsplash.com/400x175/?github description: API docs for the esUiShared plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'esUiShared'] --- import esUiSharedObj from './es_ui_shared.devdocs.json'; diff --git a/api_docs/esql.mdx b/api_docs/esql.mdx index 111f1cde9d644..4a7ee6bda5124 100644 --- a/api_docs/esql.mdx +++ b/api_docs/esql.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/esql title: "esql" image: https://source.unsplash.com/400x175/?github description: API docs for the esql plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'esql'] --- import esqlObj from './esql.devdocs.json'; diff --git a/api_docs/esql_data_grid.mdx b/api_docs/esql_data_grid.mdx index 711408573b396..f9caedb2075d0 100644 --- a/api_docs/esql_data_grid.mdx +++ b/api_docs/esql_data_grid.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/esqlDataGrid title: "esqlDataGrid" image: https://source.unsplash.com/400x175/?github description: API docs for the esqlDataGrid plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'esqlDataGrid'] --- import esqlDataGridObj from './esql_data_grid.devdocs.json'; diff --git a/api_docs/event_annotation.mdx b/api_docs/event_annotation.mdx index da163475bd987..f176428287e2a 100644 --- a/api_docs/event_annotation.mdx +++ b/api_docs/event_annotation.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/eventAnnotation title: "eventAnnotation" image: https://source.unsplash.com/400x175/?github description: API docs for the eventAnnotation plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'eventAnnotation'] --- import eventAnnotationObj from './event_annotation.devdocs.json'; diff --git a/api_docs/event_annotation_listing.mdx b/api_docs/event_annotation_listing.mdx index 1833be7fa2def..b7bb3eb920c39 100644 --- a/api_docs/event_annotation_listing.mdx +++ b/api_docs/event_annotation_listing.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/eventAnnotationListing title: "eventAnnotationListing" image: https://source.unsplash.com/400x175/?github description: API docs for the eventAnnotationListing plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'eventAnnotationListing'] --- import eventAnnotationListingObj from './event_annotation_listing.devdocs.json'; diff --git a/api_docs/event_log.mdx b/api_docs/event_log.mdx index 5e9f968de753a..f34dd64448a7a 100644 --- a/api_docs/event_log.mdx +++ b/api_docs/event_log.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/eventLog title: "eventLog" image: https://source.unsplash.com/400x175/?github description: API docs for the eventLog plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'eventLog'] --- import eventLogObj from './event_log.devdocs.json'; diff --git a/api_docs/exploratory_view.mdx b/api_docs/exploratory_view.mdx index e9874a57e76f1..19a5ab7d24463 100644 --- a/api_docs/exploratory_view.mdx +++ b/api_docs/exploratory_view.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/exploratoryView title: "exploratoryView" image: https://source.unsplash.com/400x175/?github description: API docs for the exploratoryView plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'exploratoryView'] --- import exploratoryViewObj from './exploratory_view.devdocs.json'; diff --git a/api_docs/expression_error.mdx b/api_docs/expression_error.mdx index 481ce10776c7d..dae31e55fa871 100644 --- a/api_docs/expression_error.mdx +++ b/api_docs/expression_error.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/expressionError title: "expressionError" image: https://source.unsplash.com/400x175/?github description: API docs for the expressionError plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'expressionError'] --- import expressionErrorObj from './expression_error.devdocs.json'; diff --git a/api_docs/expression_gauge.mdx b/api_docs/expression_gauge.mdx index 8dd2a65526be5..96bde07a29ccc 100644 --- a/api_docs/expression_gauge.mdx +++ b/api_docs/expression_gauge.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/expressionGauge title: "expressionGauge" image: https://source.unsplash.com/400x175/?github description: API docs for the expressionGauge plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'expressionGauge'] --- import expressionGaugeObj from './expression_gauge.devdocs.json'; diff --git a/api_docs/expression_heatmap.mdx b/api_docs/expression_heatmap.mdx index f5a72ce0096ca..980f4782985bc 100644 --- a/api_docs/expression_heatmap.mdx +++ b/api_docs/expression_heatmap.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/expressionHeatmap title: "expressionHeatmap" image: https://source.unsplash.com/400x175/?github description: API docs for the expressionHeatmap plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'expressionHeatmap'] --- import expressionHeatmapObj from './expression_heatmap.devdocs.json'; diff --git a/api_docs/expression_image.mdx b/api_docs/expression_image.mdx index e89c26587a22f..4ed46ac2802c0 100644 --- a/api_docs/expression_image.mdx +++ b/api_docs/expression_image.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/expressionImage title: "expressionImage" image: https://source.unsplash.com/400x175/?github description: API docs for the expressionImage plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'expressionImage'] --- import expressionImageObj from './expression_image.devdocs.json'; diff --git a/api_docs/expression_legacy_metric_vis.mdx b/api_docs/expression_legacy_metric_vis.mdx index 4181d2b04ee53..7ec064a7dff9e 100644 --- a/api_docs/expression_legacy_metric_vis.mdx +++ b/api_docs/expression_legacy_metric_vis.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/expressionLegacyMetricVis title: "expressionLegacyMetricVis" image: https://source.unsplash.com/400x175/?github description: API docs for the expressionLegacyMetricVis plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'expressionLegacyMetricVis'] --- import expressionLegacyMetricVisObj from './expression_legacy_metric_vis.devdocs.json'; diff --git a/api_docs/expression_metric.mdx b/api_docs/expression_metric.mdx index d53889c143fdf..525dab7a555ac 100644 --- a/api_docs/expression_metric.mdx +++ b/api_docs/expression_metric.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/expressionMetric title: "expressionMetric" image: https://source.unsplash.com/400x175/?github description: API docs for the expressionMetric plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'expressionMetric'] --- import expressionMetricObj from './expression_metric.devdocs.json'; diff --git a/api_docs/expression_metric_vis.mdx b/api_docs/expression_metric_vis.mdx index 2df72d759f04c..9d7b39c78ce37 100644 --- a/api_docs/expression_metric_vis.mdx +++ b/api_docs/expression_metric_vis.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/expressionMetricVis title: "expressionMetricVis" image: https://source.unsplash.com/400x175/?github description: API docs for the expressionMetricVis plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'expressionMetricVis'] --- import expressionMetricVisObj from './expression_metric_vis.devdocs.json'; diff --git a/api_docs/expression_partition_vis.mdx b/api_docs/expression_partition_vis.mdx index 8b687e5432fb3..df7c9fafd9893 100644 --- a/api_docs/expression_partition_vis.mdx +++ b/api_docs/expression_partition_vis.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/expressionPartitionVis title: "expressionPartitionVis" image: https://source.unsplash.com/400x175/?github description: API docs for the expressionPartitionVis plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'expressionPartitionVis'] --- import expressionPartitionVisObj from './expression_partition_vis.devdocs.json'; diff --git a/api_docs/expression_repeat_image.mdx b/api_docs/expression_repeat_image.mdx index 21a3d8f9b6726..ee2cc1f079c91 100644 --- a/api_docs/expression_repeat_image.mdx +++ b/api_docs/expression_repeat_image.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/expressionRepeatImage title: "expressionRepeatImage" image: https://source.unsplash.com/400x175/?github description: API docs for the expressionRepeatImage plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'expressionRepeatImage'] --- import expressionRepeatImageObj from './expression_repeat_image.devdocs.json'; diff --git a/api_docs/expression_reveal_image.mdx b/api_docs/expression_reveal_image.mdx index 11de6940a7a42..6e1581926e975 100644 --- a/api_docs/expression_reveal_image.mdx +++ b/api_docs/expression_reveal_image.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/expressionRevealImage title: "expressionRevealImage" image: https://source.unsplash.com/400x175/?github description: API docs for the expressionRevealImage plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'expressionRevealImage'] --- import expressionRevealImageObj from './expression_reveal_image.devdocs.json'; diff --git a/api_docs/expression_shape.mdx b/api_docs/expression_shape.mdx index 07cdd93ba51df..9090071524ed6 100644 --- a/api_docs/expression_shape.mdx +++ b/api_docs/expression_shape.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/expressionShape title: "expressionShape" image: https://source.unsplash.com/400x175/?github description: API docs for the expressionShape plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'expressionShape'] --- import expressionShapeObj from './expression_shape.devdocs.json'; diff --git a/api_docs/expression_tagcloud.mdx b/api_docs/expression_tagcloud.mdx index 76681576cafea..877dd9166c7c8 100644 --- a/api_docs/expression_tagcloud.mdx +++ b/api_docs/expression_tagcloud.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/expressionTagcloud title: "expressionTagcloud" image: https://source.unsplash.com/400x175/?github description: API docs for the expressionTagcloud plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'expressionTagcloud'] --- import expressionTagcloudObj from './expression_tagcloud.devdocs.json'; diff --git a/api_docs/expression_x_y.mdx b/api_docs/expression_x_y.mdx index dccddbfa7be5a..f25723b4b4d74 100644 --- a/api_docs/expression_x_y.mdx +++ b/api_docs/expression_x_y.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/expressionXY title: "expressionXY" image: https://source.unsplash.com/400x175/?github description: API docs for the expressionXY plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'expressionXY'] --- import expressionXYObj from './expression_x_y.devdocs.json'; diff --git a/api_docs/expressions.mdx b/api_docs/expressions.mdx index b189164050040..65984ed4ab4b7 100644 --- a/api_docs/expressions.mdx +++ b/api_docs/expressions.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/expressions title: "expressions" image: https://source.unsplash.com/400x175/?github description: API docs for the expressions plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'expressions'] --- import expressionsObj from './expressions.devdocs.json'; diff --git a/api_docs/features.mdx b/api_docs/features.mdx index 801c1c1dd44a8..2e9abd15f5303 100644 --- a/api_docs/features.mdx +++ b/api_docs/features.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/features title: "features" image: https://source.unsplash.com/400x175/?github description: API docs for the features plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'features'] --- import featuresObj from './features.devdocs.json'; diff --git a/api_docs/field_formats.mdx b/api_docs/field_formats.mdx index da50b284d3336..d6cd7bf889e62 100644 --- a/api_docs/field_formats.mdx +++ b/api_docs/field_formats.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/fieldFormats title: "fieldFormats" image: https://source.unsplash.com/400x175/?github description: API docs for the fieldFormats plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'fieldFormats'] --- import fieldFormatsObj from './field_formats.devdocs.json'; diff --git a/api_docs/fields_metadata.mdx b/api_docs/fields_metadata.mdx index c7835b59e820e..df6ca1a929939 100644 --- a/api_docs/fields_metadata.mdx +++ b/api_docs/fields_metadata.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/fieldsMetadata title: "fieldsMetadata" image: https://source.unsplash.com/400x175/?github description: API docs for the fieldsMetadata plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'fieldsMetadata'] --- import fieldsMetadataObj from './fields_metadata.devdocs.json'; diff --git a/api_docs/file_upload.mdx b/api_docs/file_upload.mdx index 3e2d37210b8c1..bc2453ad0c862 100644 --- a/api_docs/file_upload.mdx +++ b/api_docs/file_upload.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/fileUpload title: "fileUpload" image: https://source.unsplash.com/400x175/?github description: API docs for the fileUpload plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'fileUpload'] --- import fileUploadObj from './file_upload.devdocs.json'; diff --git a/api_docs/files.mdx b/api_docs/files.mdx index 78d239493d965..63c4be0e57883 100644 --- a/api_docs/files.mdx +++ b/api_docs/files.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/files title: "files" image: https://source.unsplash.com/400x175/?github description: API docs for the files plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'files'] --- import filesObj from './files.devdocs.json'; diff --git a/api_docs/files_management.mdx b/api_docs/files_management.mdx index f9a16964e5d23..a83351c7c0132 100644 --- a/api_docs/files_management.mdx +++ b/api_docs/files_management.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/filesManagement title: "filesManagement" image: https://source.unsplash.com/400x175/?github description: API docs for the filesManagement plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'filesManagement'] --- import filesManagementObj from './files_management.devdocs.json'; diff --git a/api_docs/fleet.mdx b/api_docs/fleet.mdx index 4192ded4cf6ba..d1d0ab33b3bdf 100644 --- a/api_docs/fleet.mdx +++ b/api_docs/fleet.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/fleet title: "fleet" image: https://source.unsplash.com/400x175/?github description: API docs for the fleet plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'fleet'] --- import fleetObj from './fleet.devdocs.json'; diff --git a/api_docs/global_search.mdx b/api_docs/global_search.mdx index d5c41b673f7d6..0a023eb429d7f 100644 --- a/api_docs/global_search.mdx +++ b/api_docs/global_search.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/globalSearch title: "globalSearch" image: https://source.unsplash.com/400x175/?github description: API docs for the globalSearch plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'globalSearch'] --- import globalSearchObj from './global_search.devdocs.json'; diff --git a/api_docs/guided_onboarding.mdx b/api_docs/guided_onboarding.mdx index b98b2f4c92ef3..364a27be32288 100644 --- a/api_docs/guided_onboarding.mdx +++ b/api_docs/guided_onboarding.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/guidedOnboarding title: "guidedOnboarding" image: https://source.unsplash.com/400x175/?github description: API docs for the guidedOnboarding plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'guidedOnboarding'] --- import guidedOnboardingObj from './guided_onboarding.devdocs.json'; diff --git a/api_docs/home.mdx b/api_docs/home.mdx index f648aca955b42..9273c5bddd220 100644 --- a/api_docs/home.mdx +++ b/api_docs/home.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/home title: "home" image: https://source.unsplash.com/400x175/?github description: API docs for the home plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'home'] --- import homeObj from './home.devdocs.json'; diff --git a/api_docs/image_embeddable.mdx b/api_docs/image_embeddable.mdx index 9808447692345..260d17f59b391 100644 --- a/api_docs/image_embeddable.mdx +++ b/api_docs/image_embeddable.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/imageEmbeddable title: "imageEmbeddable" image: https://source.unsplash.com/400x175/?github description: API docs for the imageEmbeddable plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'imageEmbeddable'] --- import imageEmbeddableObj from './image_embeddable.devdocs.json'; diff --git a/api_docs/index_lifecycle_management.mdx b/api_docs/index_lifecycle_management.mdx index 19b765a373b34..3ea52ab274cfd 100644 --- a/api_docs/index_lifecycle_management.mdx +++ b/api_docs/index_lifecycle_management.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/indexLifecycleManagement title: "indexLifecycleManagement" image: https://source.unsplash.com/400x175/?github description: API docs for the indexLifecycleManagement plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'indexLifecycleManagement'] --- import indexLifecycleManagementObj from './index_lifecycle_management.devdocs.json'; diff --git a/api_docs/index_management.mdx b/api_docs/index_management.mdx index 13f5dfa3a5a5d..17e6db1bf3e0a 100644 --- a/api_docs/index_management.mdx +++ b/api_docs/index_management.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/indexManagement title: "indexManagement" image: https://source.unsplash.com/400x175/?github description: API docs for the indexManagement plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'indexManagement'] --- import indexManagementObj from './index_management.devdocs.json'; diff --git a/api_docs/infra.devdocs.json b/api_docs/infra.devdocs.json index c4dd0ffb4ba2b..e15dee2fa1f69 100644 --- a/api_docs/infra.devdocs.json +++ b/api_docs/infra.devdocs.json @@ -12,7 +12,7 @@ "tags": [], "label": "InfraFormatterType", "description": [], - "path": "x-pack/plugins/observability_solution/infra/public/lib/lib.ts", + "path": "x-pack/plugins/observability_solution/infra/public/common/inventory/types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false diff --git a/api_docs/infra.mdx b/api_docs/infra.mdx index 402470bcd44fa..093f79db11c0f 100644 --- a/api_docs/infra.mdx +++ b/api_docs/infra.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/infra title: "infra" image: https://source.unsplash.com/400x175/?github description: API docs for the infra plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'infra'] --- import infraObj from './infra.devdocs.json'; diff --git a/api_docs/ingest_pipelines.mdx b/api_docs/ingest_pipelines.mdx index 3524f16b877a5..5b0144a2fc5ac 100644 --- a/api_docs/ingest_pipelines.mdx +++ b/api_docs/ingest_pipelines.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/ingestPipelines title: "ingestPipelines" image: https://source.unsplash.com/400x175/?github description: API docs for the ingestPipelines plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'ingestPipelines'] --- import ingestPipelinesObj from './ingest_pipelines.devdocs.json'; diff --git a/api_docs/inspector.mdx b/api_docs/inspector.mdx index 29edb0de6d173..228b33617de08 100644 --- a/api_docs/inspector.mdx +++ b/api_docs/inspector.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/inspector title: "inspector" image: https://source.unsplash.com/400x175/?github description: API docs for the inspector plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'inspector'] --- import inspectorObj from './inspector.devdocs.json'; diff --git a/api_docs/integration_assistant.mdx b/api_docs/integration_assistant.mdx index f2daf818f4fa6..deb61ca6a2cd7 100644 --- a/api_docs/integration_assistant.mdx +++ b/api_docs/integration_assistant.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/integrationAssistant title: "integrationAssistant" image: https://source.unsplash.com/400x175/?github description: API docs for the integrationAssistant plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'integrationAssistant'] --- import integrationAssistantObj from './integration_assistant.devdocs.json'; diff --git a/api_docs/interactive_setup.mdx b/api_docs/interactive_setup.mdx index 561957375404f..0ec3077a533a6 100644 --- a/api_docs/interactive_setup.mdx +++ b/api_docs/interactive_setup.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/interactiveSetup title: "interactiveSetup" image: https://source.unsplash.com/400x175/?github description: API docs for the interactiveSetup plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'interactiveSetup'] --- import interactiveSetupObj from './interactive_setup.devdocs.json'; diff --git a/api_docs/investigate.mdx b/api_docs/investigate.mdx index 20ecadefea481..10320aa4f6b5b 100644 --- a/api_docs/investigate.mdx +++ b/api_docs/investigate.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/investigate title: "investigate" image: https://source.unsplash.com/400x175/?github description: API docs for the investigate plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'investigate'] --- import investigateObj from './investigate.devdocs.json'; diff --git a/api_docs/kbn_ace.mdx b/api_docs/kbn_ace.mdx index 6f559456ec1ec..c00bfdfb34ea4 100644 --- a/api_docs/kbn_ace.mdx +++ b/api_docs/kbn_ace.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ace title: "@kbn/ace" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ace plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ace'] --- import kbnAceObj from './kbn_ace.devdocs.json'; diff --git a/api_docs/kbn_actions_types.mdx b/api_docs/kbn_actions_types.mdx index 2510a6f9ae4ee..c5988efbe3c80 100644 --- a/api_docs/kbn_actions_types.mdx +++ b/api_docs/kbn_actions_types.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-actions-types title: "@kbn/actions-types" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/actions-types plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/actions-types'] --- import kbnActionsTypesObj from './kbn_actions_types.devdocs.json'; diff --git a/api_docs/kbn_aiops_components.mdx b/api_docs/kbn_aiops_components.mdx index a842fb93d3fe1..9bf92065baacc 100644 --- a/api_docs/kbn_aiops_components.mdx +++ b/api_docs/kbn_aiops_components.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-aiops-components title: "@kbn/aiops-components" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/aiops-components plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/aiops-components'] --- import kbnAiopsComponentsObj from './kbn_aiops_components.devdocs.json'; diff --git a/api_docs/kbn_aiops_log_pattern_analysis.mdx b/api_docs/kbn_aiops_log_pattern_analysis.mdx index e1f5537c3e69f..0875c3d7ec256 100644 --- a/api_docs/kbn_aiops_log_pattern_analysis.mdx +++ b/api_docs/kbn_aiops_log_pattern_analysis.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-aiops-log-pattern-analysis title: "@kbn/aiops-log-pattern-analysis" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/aiops-log-pattern-analysis plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/aiops-log-pattern-analysis'] --- import kbnAiopsLogPatternAnalysisObj from './kbn_aiops_log_pattern_analysis.devdocs.json'; diff --git a/api_docs/kbn_aiops_log_rate_analysis.mdx b/api_docs/kbn_aiops_log_rate_analysis.mdx index b4c378c91480d..f3912d7707a42 100644 --- a/api_docs/kbn_aiops_log_rate_analysis.mdx +++ b/api_docs/kbn_aiops_log_rate_analysis.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-aiops-log-rate-analysis title: "@kbn/aiops-log-rate-analysis" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/aiops-log-rate-analysis plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/aiops-log-rate-analysis'] --- import kbnAiopsLogRateAnalysisObj from './kbn_aiops_log_rate_analysis.devdocs.json'; diff --git a/api_docs/kbn_alerting_api_integration_helpers.mdx b/api_docs/kbn_alerting_api_integration_helpers.mdx index ae0ae8c19652b..ffbc5368bcae1 100644 --- a/api_docs/kbn_alerting_api_integration_helpers.mdx +++ b/api_docs/kbn_alerting_api_integration_helpers.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-alerting-api-integration-helpers title: "@kbn/alerting-api-integration-helpers" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/alerting-api-integration-helpers plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/alerting-api-integration-helpers'] --- import kbnAlertingApiIntegrationHelpersObj from './kbn_alerting_api_integration_helpers.devdocs.json'; diff --git a/api_docs/kbn_alerting_comparators.mdx b/api_docs/kbn_alerting_comparators.mdx index ea9bd81cd677f..0230f6825413f 100644 --- a/api_docs/kbn_alerting_comparators.mdx +++ b/api_docs/kbn_alerting_comparators.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-alerting-comparators title: "@kbn/alerting-comparators" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/alerting-comparators plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/alerting-comparators'] --- import kbnAlertingComparatorsObj from './kbn_alerting_comparators.devdocs.json'; diff --git a/api_docs/kbn_alerting_state_types.mdx b/api_docs/kbn_alerting_state_types.mdx index e1f9e55ba8701..78880d3dcc51a 100644 --- a/api_docs/kbn_alerting_state_types.mdx +++ b/api_docs/kbn_alerting_state_types.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-alerting-state-types title: "@kbn/alerting-state-types" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/alerting-state-types plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/alerting-state-types'] --- import kbnAlertingStateTypesObj from './kbn_alerting_state_types.devdocs.json'; diff --git a/api_docs/kbn_alerting_types.mdx b/api_docs/kbn_alerting_types.mdx index 633f18e1d3e1a..82a11f2421fb4 100644 --- a/api_docs/kbn_alerting_types.mdx +++ b/api_docs/kbn_alerting_types.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-alerting-types title: "@kbn/alerting-types" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/alerting-types plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/alerting-types'] --- import kbnAlertingTypesObj from './kbn_alerting_types.devdocs.json'; diff --git a/api_docs/kbn_alerts_as_data_utils.mdx b/api_docs/kbn_alerts_as_data_utils.mdx index 81174ec9ed72a..d1805361b9986 100644 --- a/api_docs/kbn_alerts_as_data_utils.mdx +++ b/api_docs/kbn_alerts_as_data_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-alerts-as-data-utils title: "@kbn/alerts-as-data-utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/alerts-as-data-utils plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/alerts-as-data-utils'] --- import kbnAlertsAsDataUtilsObj from './kbn_alerts_as_data_utils.devdocs.json'; diff --git a/api_docs/kbn_alerts_grouping.mdx b/api_docs/kbn_alerts_grouping.mdx index 8b05b2b01ad15..b7a0ed3f740c4 100644 --- a/api_docs/kbn_alerts_grouping.mdx +++ b/api_docs/kbn_alerts_grouping.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-alerts-grouping title: "@kbn/alerts-grouping" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/alerts-grouping plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/alerts-grouping'] --- import kbnAlertsGroupingObj from './kbn_alerts_grouping.devdocs.json'; diff --git a/api_docs/kbn_alerts_ui_shared.mdx b/api_docs/kbn_alerts_ui_shared.mdx index 0bbc6b784beaa..89939b1468805 100644 --- a/api_docs/kbn_alerts_ui_shared.mdx +++ b/api_docs/kbn_alerts_ui_shared.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-alerts-ui-shared title: "@kbn/alerts-ui-shared" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/alerts-ui-shared plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/alerts-ui-shared'] --- import kbnAlertsUiSharedObj from './kbn_alerts_ui_shared.devdocs.json'; diff --git a/api_docs/kbn_analytics.mdx b/api_docs/kbn_analytics.mdx index 0ae68448773a4..35169cceb24ab 100644 --- a/api_docs/kbn_analytics.mdx +++ b/api_docs/kbn_analytics.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-analytics title: "@kbn/analytics" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/analytics plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/analytics'] --- import kbnAnalyticsObj from './kbn_analytics.devdocs.json'; diff --git a/api_docs/kbn_analytics_collection_utils.mdx b/api_docs/kbn_analytics_collection_utils.mdx index e33ec6e662487..ac51cbb252025 100644 --- a/api_docs/kbn_analytics_collection_utils.mdx +++ b/api_docs/kbn_analytics_collection_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-analytics-collection-utils title: "@kbn/analytics-collection-utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/analytics-collection-utils plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/analytics-collection-utils'] --- import kbnAnalyticsCollectionUtilsObj from './kbn_analytics_collection_utils.devdocs.json'; diff --git a/api_docs/kbn_apm_config_loader.mdx b/api_docs/kbn_apm_config_loader.mdx index 06c2164d6d37d..1729863cecf19 100644 --- a/api_docs/kbn_apm_config_loader.mdx +++ b/api_docs/kbn_apm_config_loader.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-apm-config-loader title: "@kbn/apm-config-loader" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/apm-config-loader plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/apm-config-loader'] --- import kbnApmConfigLoaderObj from './kbn_apm_config_loader.devdocs.json'; diff --git a/api_docs/kbn_apm_data_view.mdx b/api_docs/kbn_apm_data_view.mdx index 14cb0a52f23ac..3e84cd09e3953 100644 --- a/api_docs/kbn_apm_data_view.mdx +++ b/api_docs/kbn_apm_data_view.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-apm-data-view title: "@kbn/apm-data-view" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/apm-data-view plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/apm-data-view'] --- import kbnApmDataViewObj from './kbn_apm_data_view.devdocs.json'; diff --git a/api_docs/kbn_apm_synthtrace.mdx b/api_docs/kbn_apm_synthtrace.mdx index d58c88a1677d0..55354e8fd5ded 100644 --- a/api_docs/kbn_apm_synthtrace.mdx +++ b/api_docs/kbn_apm_synthtrace.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-apm-synthtrace title: "@kbn/apm-synthtrace" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/apm-synthtrace plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/apm-synthtrace'] --- import kbnApmSynthtraceObj from './kbn_apm_synthtrace.devdocs.json'; diff --git a/api_docs/kbn_apm_synthtrace_client.mdx b/api_docs/kbn_apm_synthtrace_client.mdx index c9a4493992041..25195c581e387 100644 --- a/api_docs/kbn_apm_synthtrace_client.mdx +++ b/api_docs/kbn_apm_synthtrace_client.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-apm-synthtrace-client title: "@kbn/apm-synthtrace-client" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/apm-synthtrace-client plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/apm-synthtrace-client'] --- import kbnApmSynthtraceClientObj from './kbn_apm_synthtrace_client.devdocs.json'; diff --git a/api_docs/kbn_apm_utils.mdx b/api_docs/kbn_apm_utils.mdx index 4c75897791842..a97f4ec1d1aaf 100644 --- a/api_docs/kbn_apm_utils.mdx +++ b/api_docs/kbn_apm_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-apm-utils title: "@kbn/apm-utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/apm-utils plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/apm-utils'] --- import kbnApmUtilsObj from './kbn_apm_utils.devdocs.json'; diff --git a/api_docs/kbn_axe_config.mdx b/api_docs/kbn_axe_config.mdx index accb1e073c0cc..b86837d18abb2 100644 --- a/api_docs/kbn_axe_config.mdx +++ b/api_docs/kbn_axe_config.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-axe-config title: "@kbn/axe-config" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/axe-config plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/axe-config'] --- import kbnAxeConfigObj from './kbn_axe_config.devdocs.json'; diff --git a/api_docs/kbn_bfetch_error.mdx b/api_docs/kbn_bfetch_error.mdx index c3b31ca156711..248e6a1b3a52c 100644 --- a/api_docs/kbn_bfetch_error.mdx +++ b/api_docs/kbn_bfetch_error.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-bfetch-error title: "@kbn/bfetch-error" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/bfetch-error plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/bfetch-error'] --- import kbnBfetchErrorObj from './kbn_bfetch_error.devdocs.json'; diff --git a/api_docs/kbn_calculate_auto.mdx b/api_docs/kbn_calculate_auto.mdx index c79ec35264774..0b9bdad24efd9 100644 --- a/api_docs/kbn_calculate_auto.mdx +++ b/api_docs/kbn_calculate_auto.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-calculate-auto title: "@kbn/calculate-auto" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/calculate-auto plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/calculate-auto'] --- import kbnCalculateAutoObj from './kbn_calculate_auto.devdocs.json'; diff --git a/api_docs/kbn_calculate_width_from_char_count.mdx b/api_docs/kbn_calculate_width_from_char_count.mdx index 7e58cac16f863..5903e493d0ba5 100644 --- a/api_docs/kbn_calculate_width_from_char_count.mdx +++ b/api_docs/kbn_calculate_width_from_char_count.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-calculate-width-from-char-count title: "@kbn/calculate-width-from-char-count" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/calculate-width-from-char-count plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/calculate-width-from-char-count'] --- import kbnCalculateWidthFromCharCountObj from './kbn_calculate_width_from_char_count.devdocs.json'; diff --git a/api_docs/kbn_cases_components.mdx b/api_docs/kbn_cases_components.mdx index fd790e25f85fd..93a53f65a5b76 100644 --- a/api_docs/kbn_cases_components.mdx +++ b/api_docs/kbn_cases_components.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-cases-components title: "@kbn/cases-components" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/cases-components plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/cases-components'] --- import kbnCasesComponentsObj from './kbn_cases_components.devdocs.json'; diff --git a/api_docs/kbn_cell_actions.mdx b/api_docs/kbn_cell_actions.mdx index bc5e572116b28..c2994f1477885 100644 --- a/api_docs/kbn_cell_actions.mdx +++ b/api_docs/kbn_cell_actions.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-cell-actions title: "@kbn/cell-actions" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/cell-actions plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/cell-actions'] --- import kbnCellActionsObj from './kbn_cell_actions.devdocs.json'; diff --git a/api_docs/kbn_chart_expressions_common.mdx b/api_docs/kbn_chart_expressions_common.mdx index f5bec869be866..7e505152e7e18 100644 --- a/api_docs/kbn_chart_expressions_common.mdx +++ b/api_docs/kbn_chart_expressions_common.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-chart-expressions-common title: "@kbn/chart-expressions-common" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/chart-expressions-common plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/chart-expressions-common'] --- import kbnChartExpressionsCommonObj from './kbn_chart_expressions_common.devdocs.json'; diff --git a/api_docs/kbn_chart_icons.mdx b/api_docs/kbn_chart_icons.mdx index e5e77f0916f2c..0dc70be0a9953 100644 --- a/api_docs/kbn_chart_icons.mdx +++ b/api_docs/kbn_chart_icons.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-chart-icons title: "@kbn/chart-icons" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/chart-icons plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/chart-icons'] --- import kbnChartIconsObj from './kbn_chart_icons.devdocs.json'; diff --git a/api_docs/kbn_ci_stats_core.mdx b/api_docs/kbn_ci_stats_core.mdx index d1caa315cb398..c1045e46c107b 100644 --- a/api_docs/kbn_ci_stats_core.mdx +++ b/api_docs/kbn_ci_stats_core.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ci-stats-core title: "@kbn/ci-stats-core" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ci-stats-core plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ci-stats-core'] --- import kbnCiStatsCoreObj from './kbn_ci_stats_core.devdocs.json'; diff --git a/api_docs/kbn_ci_stats_performance_metrics.mdx b/api_docs/kbn_ci_stats_performance_metrics.mdx index 86741eed7ecd0..84800173d67b2 100644 --- a/api_docs/kbn_ci_stats_performance_metrics.mdx +++ b/api_docs/kbn_ci_stats_performance_metrics.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ci-stats-performance-metrics title: "@kbn/ci-stats-performance-metrics" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ci-stats-performance-metrics plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ci-stats-performance-metrics'] --- import kbnCiStatsPerformanceMetricsObj from './kbn_ci_stats_performance_metrics.devdocs.json'; diff --git a/api_docs/kbn_ci_stats_reporter.mdx b/api_docs/kbn_ci_stats_reporter.mdx index 28d0209680e71..5f624029f0e3d 100644 --- a/api_docs/kbn_ci_stats_reporter.mdx +++ b/api_docs/kbn_ci_stats_reporter.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ci-stats-reporter title: "@kbn/ci-stats-reporter" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ci-stats-reporter plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ci-stats-reporter'] --- import kbnCiStatsReporterObj from './kbn_ci_stats_reporter.devdocs.json'; diff --git a/api_docs/kbn_cli_dev_mode.mdx b/api_docs/kbn_cli_dev_mode.mdx index 41e9de4b834af..587674fb20cb7 100644 --- a/api_docs/kbn_cli_dev_mode.mdx +++ b/api_docs/kbn_cli_dev_mode.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-cli-dev-mode title: "@kbn/cli-dev-mode" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/cli-dev-mode plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/cli-dev-mode'] --- import kbnCliDevModeObj from './kbn_cli_dev_mode.devdocs.json'; diff --git a/api_docs/kbn_code_editor.mdx b/api_docs/kbn_code_editor.mdx index a5ab3a0e0c691..31fbac1535714 100644 --- a/api_docs/kbn_code_editor.mdx +++ b/api_docs/kbn_code_editor.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-code-editor title: "@kbn/code-editor" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/code-editor plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/code-editor'] --- import kbnCodeEditorObj from './kbn_code_editor.devdocs.json'; diff --git a/api_docs/kbn_code_editor_mock.mdx b/api_docs/kbn_code_editor_mock.mdx index 9bcec673a949e..57474f5441404 100644 --- a/api_docs/kbn_code_editor_mock.mdx +++ b/api_docs/kbn_code_editor_mock.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-code-editor-mock title: "@kbn/code-editor-mock" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/code-editor-mock plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/code-editor-mock'] --- import kbnCodeEditorMockObj from './kbn_code_editor_mock.devdocs.json'; diff --git a/api_docs/kbn_code_owners.mdx b/api_docs/kbn_code_owners.mdx index 1b49b216d630e..103db939c3d65 100644 --- a/api_docs/kbn_code_owners.mdx +++ b/api_docs/kbn_code_owners.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-code-owners title: "@kbn/code-owners" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/code-owners plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/code-owners'] --- import kbnCodeOwnersObj from './kbn_code_owners.devdocs.json'; diff --git a/api_docs/kbn_coloring.mdx b/api_docs/kbn_coloring.mdx index a6eef6e8a303b..a3df149b4bd64 100644 --- a/api_docs/kbn_coloring.mdx +++ b/api_docs/kbn_coloring.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-coloring title: "@kbn/coloring" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/coloring plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/coloring'] --- import kbnColoringObj from './kbn_coloring.devdocs.json'; diff --git a/api_docs/kbn_config.mdx b/api_docs/kbn_config.mdx index 521a8d010da90..7c6240afd81d0 100644 --- a/api_docs/kbn_config.mdx +++ b/api_docs/kbn_config.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-config title: "@kbn/config" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/config plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/config'] --- import kbnConfigObj from './kbn_config.devdocs.json'; diff --git a/api_docs/kbn_config_mocks.mdx b/api_docs/kbn_config_mocks.mdx index ff9c7012f2486..9e6f1253c9013 100644 --- a/api_docs/kbn_config_mocks.mdx +++ b/api_docs/kbn_config_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-config-mocks title: "@kbn/config-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/config-mocks plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/config-mocks'] --- import kbnConfigMocksObj from './kbn_config_mocks.devdocs.json'; diff --git a/api_docs/kbn_config_schema.mdx b/api_docs/kbn_config_schema.mdx index d4de53efb368b..08f5ebed70818 100644 --- a/api_docs/kbn_config_schema.mdx +++ b/api_docs/kbn_config_schema.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-config-schema title: "@kbn/config-schema" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/config-schema plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/config-schema'] --- import kbnConfigSchemaObj from './kbn_config_schema.devdocs.json'; diff --git a/api_docs/kbn_content_management_content_editor.mdx b/api_docs/kbn_content_management_content_editor.mdx index 28ee93b8d24da..6ab6b604e5d63 100644 --- a/api_docs/kbn_content_management_content_editor.mdx +++ b/api_docs/kbn_content_management_content_editor.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-content-management-content-editor title: "@kbn/content-management-content-editor" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/content-management-content-editor plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/content-management-content-editor'] --- import kbnContentManagementContentEditorObj from './kbn_content_management_content_editor.devdocs.json'; diff --git a/api_docs/kbn_content_management_tabbed_table_list_view.mdx b/api_docs/kbn_content_management_tabbed_table_list_view.mdx index cf30e124eca7a..c40344110afa8 100644 --- a/api_docs/kbn_content_management_tabbed_table_list_view.mdx +++ b/api_docs/kbn_content_management_tabbed_table_list_view.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-content-management-tabbed-table-list-view title: "@kbn/content-management-tabbed-table-list-view" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/content-management-tabbed-table-list-view plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/content-management-tabbed-table-list-view'] --- import kbnContentManagementTabbedTableListViewObj from './kbn_content_management_tabbed_table_list_view.devdocs.json'; diff --git a/api_docs/kbn_content_management_table_list_view.mdx b/api_docs/kbn_content_management_table_list_view.mdx index faecc1896d3b7..c4178245e7137 100644 --- a/api_docs/kbn_content_management_table_list_view.mdx +++ b/api_docs/kbn_content_management_table_list_view.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-content-management-table-list-view title: "@kbn/content-management-table-list-view" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/content-management-table-list-view plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/content-management-table-list-view'] --- import kbnContentManagementTableListViewObj from './kbn_content_management_table_list_view.devdocs.json'; diff --git a/api_docs/kbn_content_management_table_list_view_common.mdx b/api_docs/kbn_content_management_table_list_view_common.mdx index 4f1ef37777a40..18e380dca8b21 100644 --- a/api_docs/kbn_content_management_table_list_view_common.mdx +++ b/api_docs/kbn_content_management_table_list_view_common.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-content-management-table-list-view-common title: "@kbn/content-management-table-list-view-common" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/content-management-table-list-view-common plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/content-management-table-list-view-common'] --- import kbnContentManagementTableListViewCommonObj from './kbn_content_management_table_list_view_common.devdocs.json'; diff --git a/api_docs/kbn_content_management_table_list_view_table.mdx b/api_docs/kbn_content_management_table_list_view_table.mdx index af5c0fc6b871d..0d269043c4c56 100644 --- a/api_docs/kbn_content_management_table_list_view_table.mdx +++ b/api_docs/kbn_content_management_table_list_view_table.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-content-management-table-list-view-table title: "@kbn/content-management-table-list-view-table" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/content-management-table-list-view-table plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/content-management-table-list-view-table'] --- import kbnContentManagementTableListViewTableObj from './kbn_content_management_table_list_view_table.devdocs.json'; diff --git a/api_docs/kbn_content_management_user_profiles.mdx b/api_docs/kbn_content_management_user_profiles.mdx index 7bf08d951bf90..a3577d5346865 100644 --- a/api_docs/kbn_content_management_user_profiles.mdx +++ b/api_docs/kbn_content_management_user_profiles.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-content-management-user-profiles title: "@kbn/content-management-user-profiles" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/content-management-user-profiles plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/content-management-user-profiles'] --- import kbnContentManagementUserProfilesObj from './kbn_content_management_user_profiles.devdocs.json'; diff --git a/api_docs/kbn_content_management_utils.mdx b/api_docs/kbn_content_management_utils.mdx index 0c4f7120876ae..af420894f14d5 100644 --- a/api_docs/kbn_content_management_utils.mdx +++ b/api_docs/kbn_content_management_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-content-management-utils title: "@kbn/content-management-utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/content-management-utils plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/content-management-utils'] --- import kbnContentManagementUtilsObj from './kbn_content_management_utils.devdocs.json'; diff --git a/api_docs/kbn_core_analytics_browser.mdx b/api_docs/kbn_core_analytics_browser.mdx index 8a718d29ab093..b5480ba2a52a3 100644 --- a/api_docs/kbn_core_analytics_browser.mdx +++ b/api_docs/kbn_core_analytics_browser.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-analytics-browser title: "@kbn/core-analytics-browser" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-analytics-browser plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-analytics-browser'] --- import kbnCoreAnalyticsBrowserObj from './kbn_core_analytics_browser.devdocs.json'; diff --git a/api_docs/kbn_core_analytics_browser_internal.mdx b/api_docs/kbn_core_analytics_browser_internal.mdx index b2614f401596e..85c94c966c7fd 100644 --- a/api_docs/kbn_core_analytics_browser_internal.mdx +++ b/api_docs/kbn_core_analytics_browser_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-analytics-browser-internal title: "@kbn/core-analytics-browser-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-analytics-browser-internal plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-analytics-browser-internal'] --- import kbnCoreAnalyticsBrowserInternalObj from './kbn_core_analytics_browser_internal.devdocs.json'; diff --git a/api_docs/kbn_core_analytics_browser_mocks.mdx b/api_docs/kbn_core_analytics_browser_mocks.mdx index 48082518f5dd9..aeef95955b153 100644 --- a/api_docs/kbn_core_analytics_browser_mocks.mdx +++ b/api_docs/kbn_core_analytics_browser_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-analytics-browser-mocks title: "@kbn/core-analytics-browser-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-analytics-browser-mocks plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-analytics-browser-mocks'] --- import kbnCoreAnalyticsBrowserMocksObj from './kbn_core_analytics_browser_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_analytics_server.mdx b/api_docs/kbn_core_analytics_server.mdx index 645ebd9df745a..77c8d89d1ea47 100644 --- a/api_docs/kbn_core_analytics_server.mdx +++ b/api_docs/kbn_core_analytics_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-analytics-server title: "@kbn/core-analytics-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-analytics-server plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-analytics-server'] --- import kbnCoreAnalyticsServerObj from './kbn_core_analytics_server.devdocs.json'; diff --git a/api_docs/kbn_core_analytics_server_internal.mdx b/api_docs/kbn_core_analytics_server_internal.mdx index ff5c3aa124bb2..9fe4d918d9685 100644 --- a/api_docs/kbn_core_analytics_server_internal.mdx +++ b/api_docs/kbn_core_analytics_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-analytics-server-internal title: "@kbn/core-analytics-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-analytics-server-internal plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-analytics-server-internal'] --- import kbnCoreAnalyticsServerInternalObj from './kbn_core_analytics_server_internal.devdocs.json'; diff --git a/api_docs/kbn_core_analytics_server_mocks.mdx b/api_docs/kbn_core_analytics_server_mocks.mdx index ea007212d666e..695a051fc9a6a 100644 --- a/api_docs/kbn_core_analytics_server_mocks.mdx +++ b/api_docs/kbn_core_analytics_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-analytics-server-mocks title: "@kbn/core-analytics-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-analytics-server-mocks plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-analytics-server-mocks'] --- import kbnCoreAnalyticsServerMocksObj from './kbn_core_analytics_server_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_application_browser.mdx b/api_docs/kbn_core_application_browser.mdx index 561f4c2b06337..d955aa39b2a48 100644 --- a/api_docs/kbn_core_application_browser.mdx +++ b/api_docs/kbn_core_application_browser.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-application-browser title: "@kbn/core-application-browser" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-application-browser plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-application-browser'] --- import kbnCoreApplicationBrowserObj from './kbn_core_application_browser.devdocs.json'; diff --git a/api_docs/kbn_core_application_browser_internal.mdx b/api_docs/kbn_core_application_browser_internal.mdx index 5464cec9eb002..e263e9d6c7290 100644 --- a/api_docs/kbn_core_application_browser_internal.mdx +++ b/api_docs/kbn_core_application_browser_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-application-browser-internal title: "@kbn/core-application-browser-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-application-browser-internal plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-application-browser-internal'] --- import kbnCoreApplicationBrowserInternalObj from './kbn_core_application_browser_internal.devdocs.json'; diff --git a/api_docs/kbn_core_application_browser_mocks.mdx b/api_docs/kbn_core_application_browser_mocks.mdx index ea9e5703c0a63..faf36f0778c7c 100644 --- a/api_docs/kbn_core_application_browser_mocks.mdx +++ b/api_docs/kbn_core_application_browser_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-application-browser-mocks title: "@kbn/core-application-browser-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-application-browser-mocks plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-application-browser-mocks'] --- import kbnCoreApplicationBrowserMocksObj from './kbn_core_application_browser_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_application_common.mdx b/api_docs/kbn_core_application_common.mdx index 6da9993d4e821..95dd8e75892b4 100644 --- a/api_docs/kbn_core_application_common.mdx +++ b/api_docs/kbn_core_application_common.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-application-common title: "@kbn/core-application-common" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-application-common plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-application-common'] --- import kbnCoreApplicationCommonObj from './kbn_core_application_common.devdocs.json'; diff --git a/api_docs/kbn_core_apps_browser_internal.mdx b/api_docs/kbn_core_apps_browser_internal.mdx index ec7681860aa70..fcdc989dd23e5 100644 --- a/api_docs/kbn_core_apps_browser_internal.mdx +++ b/api_docs/kbn_core_apps_browser_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-apps-browser-internal title: "@kbn/core-apps-browser-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-apps-browser-internal plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-apps-browser-internal'] --- import kbnCoreAppsBrowserInternalObj from './kbn_core_apps_browser_internal.devdocs.json'; diff --git a/api_docs/kbn_core_apps_browser_mocks.mdx b/api_docs/kbn_core_apps_browser_mocks.mdx index 87498e24546d5..42acc97447fd7 100644 --- a/api_docs/kbn_core_apps_browser_mocks.mdx +++ b/api_docs/kbn_core_apps_browser_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-apps-browser-mocks title: "@kbn/core-apps-browser-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-apps-browser-mocks plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-apps-browser-mocks'] --- import kbnCoreAppsBrowserMocksObj from './kbn_core_apps_browser_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_apps_server_internal.mdx b/api_docs/kbn_core_apps_server_internal.mdx index 9a2ce445cb6ce..20e6971e22aa3 100644 --- a/api_docs/kbn_core_apps_server_internal.mdx +++ b/api_docs/kbn_core_apps_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-apps-server-internal title: "@kbn/core-apps-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-apps-server-internal plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-apps-server-internal'] --- import kbnCoreAppsServerInternalObj from './kbn_core_apps_server_internal.devdocs.json'; diff --git a/api_docs/kbn_core_base_browser_mocks.mdx b/api_docs/kbn_core_base_browser_mocks.mdx index ea70118e305de..619413ab6b953 100644 --- a/api_docs/kbn_core_base_browser_mocks.mdx +++ b/api_docs/kbn_core_base_browser_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-base-browser-mocks title: "@kbn/core-base-browser-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-base-browser-mocks plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-base-browser-mocks'] --- import kbnCoreBaseBrowserMocksObj from './kbn_core_base_browser_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_base_common.mdx b/api_docs/kbn_core_base_common.mdx index 4ec879b9f2cbe..b5341ecae8fa2 100644 --- a/api_docs/kbn_core_base_common.mdx +++ b/api_docs/kbn_core_base_common.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-base-common title: "@kbn/core-base-common" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-base-common plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-base-common'] --- import kbnCoreBaseCommonObj from './kbn_core_base_common.devdocs.json'; diff --git a/api_docs/kbn_core_base_server_internal.mdx b/api_docs/kbn_core_base_server_internal.mdx index 8963dff47f687..2fbb9a158b648 100644 --- a/api_docs/kbn_core_base_server_internal.mdx +++ b/api_docs/kbn_core_base_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-base-server-internal title: "@kbn/core-base-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-base-server-internal plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-base-server-internal'] --- import kbnCoreBaseServerInternalObj from './kbn_core_base_server_internal.devdocs.json'; diff --git a/api_docs/kbn_core_base_server_mocks.mdx b/api_docs/kbn_core_base_server_mocks.mdx index 01a1e123d0e6e..a105484825649 100644 --- a/api_docs/kbn_core_base_server_mocks.mdx +++ b/api_docs/kbn_core_base_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-base-server-mocks title: "@kbn/core-base-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-base-server-mocks plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-base-server-mocks'] --- import kbnCoreBaseServerMocksObj from './kbn_core_base_server_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_capabilities_browser_mocks.mdx b/api_docs/kbn_core_capabilities_browser_mocks.mdx index 11cac4c61cdd9..d867b62c60185 100644 --- a/api_docs/kbn_core_capabilities_browser_mocks.mdx +++ b/api_docs/kbn_core_capabilities_browser_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-capabilities-browser-mocks title: "@kbn/core-capabilities-browser-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-capabilities-browser-mocks plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-capabilities-browser-mocks'] --- import kbnCoreCapabilitiesBrowserMocksObj from './kbn_core_capabilities_browser_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_capabilities_common.mdx b/api_docs/kbn_core_capabilities_common.mdx index 4c32e0ce85167..9ab8c3ea9267b 100644 --- a/api_docs/kbn_core_capabilities_common.mdx +++ b/api_docs/kbn_core_capabilities_common.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-capabilities-common title: "@kbn/core-capabilities-common" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-capabilities-common plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-capabilities-common'] --- import kbnCoreCapabilitiesCommonObj from './kbn_core_capabilities_common.devdocs.json'; diff --git a/api_docs/kbn_core_capabilities_server.mdx b/api_docs/kbn_core_capabilities_server.mdx index e7d6cd9a8c612..52e439d2958f8 100644 --- a/api_docs/kbn_core_capabilities_server.mdx +++ b/api_docs/kbn_core_capabilities_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-capabilities-server title: "@kbn/core-capabilities-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-capabilities-server plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-capabilities-server'] --- import kbnCoreCapabilitiesServerObj from './kbn_core_capabilities_server.devdocs.json'; diff --git a/api_docs/kbn_core_capabilities_server_mocks.mdx b/api_docs/kbn_core_capabilities_server_mocks.mdx index 501b17badefc6..2c3b371f1c325 100644 --- a/api_docs/kbn_core_capabilities_server_mocks.mdx +++ b/api_docs/kbn_core_capabilities_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-capabilities-server-mocks title: "@kbn/core-capabilities-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-capabilities-server-mocks plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-capabilities-server-mocks'] --- import kbnCoreCapabilitiesServerMocksObj from './kbn_core_capabilities_server_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_chrome_browser.mdx b/api_docs/kbn_core_chrome_browser.mdx index fc2a65cb23c4e..2e1ac97234d32 100644 --- a/api_docs/kbn_core_chrome_browser.mdx +++ b/api_docs/kbn_core_chrome_browser.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-chrome-browser title: "@kbn/core-chrome-browser" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-chrome-browser plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-chrome-browser'] --- import kbnCoreChromeBrowserObj from './kbn_core_chrome_browser.devdocs.json'; diff --git a/api_docs/kbn_core_chrome_browser_mocks.mdx b/api_docs/kbn_core_chrome_browser_mocks.mdx index 58337189ce5de..cc56751ed08d1 100644 --- a/api_docs/kbn_core_chrome_browser_mocks.mdx +++ b/api_docs/kbn_core_chrome_browser_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-chrome-browser-mocks title: "@kbn/core-chrome-browser-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-chrome-browser-mocks plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-chrome-browser-mocks'] --- import kbnCoreChromeBrowserMocksObj from './kbn_core_chrome_browser_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_config_server_internal.mdx b/api_docs/kbn_core_config_server_internal.mdx index d087b06a81eb4..c0d8429727d3c 100644 --- a/api_docs/kbn_core_config_server_internal.mdx +++ b/api_docs/kbn_core_config_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-config-server-internal title: "@kbn/core-config-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-config-server-internal plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-config-server-internal'] --- import kbnCoreConfigServerInternalObj from './kbn_core_config_server_internal.devdocs.json'; diff --git a/api_docs/kbn_core_custom_branding_browser.mdx b/api_docs/kbn_core_custom_branding_browser.mdx index a7bb515a0b365..a0e4553867787 100644 --- a/api_docs/kbn_core_custom_branding_browser.mdx +++ b/api_docs/kbn_core_custom_branding_browser.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-custom-branding-browser title: "@kbn/core-custom-branding-browser" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-custom-branding-browser plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-custom-branding-browser'] --- import kbnCoreCustomBrandingBrowserObj from './kbn_core_custom_branding_browser.devdocs.json'; diff --git a/api_docs/kbn_core_custom_branding_browser_internal.mdx b/api_docs/kbn_core_custom_branding_browser_internal.mdx index b2eb60c07acc7..aa7e2de9b4685 100644 --- a/api_docs/kbn_core_custom_branding_browser_internal.mdx +++ b/api_docs/kbn_core_custom_branding_browser_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-custom-branding-browser-internal title: "@kbn/core-custom-branding-browser-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-custom-branding-browser-internal plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-custom-branding-browser-internal'] --- import kbnCoreCustomBrandingBrowserInternalObj from './kbn_core_custom_branding_browser_internal.devdocs.json'; diff --git a/api_docs/kbn_core_custom_branding_browser_mocks.mdx b/api_docs/kbn_core_custom_branding_browser_mocks.mdx index 1acf8ff07ffaf..44028691a4795 100644 --- a/api_docs/kbn_core_custom_branding_browser_mocks.mdx +++ b/api_docs/kbn_core_custom_branding_browser_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-custom-branding-browser-mocks title: "@kbn/core-custom-branding-browser-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-custom-branding-browser-mocks plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-custom-branding-browser-mocks'] --- import kbnCoreCustomBrandingBrowserMocksObj from './kbn_core_custom_branding_browser_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_custom_branding_common.mdx b/api_docs/kbn_core_custom_branding_common.mdx index 84a4640b8bc67..5c4ea60fa8a1c 100644 --- a/api_docs/kbn_core_custom_branding_common.mdx +++ b/api_docs/kbn_core_custom_branding_common.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-custom-branding-common title: "@kbn/core-custom-branding-common" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-custom-branding-common plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-custom-branding-common'] --- import kbnCoreCustomBrandingCommonObj from './kbn_core_custom_branding_common.devdocs.json'; diff --git a/api_docs/kbn_core_custom_branding_server.mdx b/api_docs/kbn_core_custom_branding_server.mdx index 4cd4d3897433c..88c16cd775a66 100644 --- a/api_docs/kbn_core_custom_branding_server.mdx +++ b/api_docs/kbn_core_custom_branding_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-custom-branding-server title: "@kbn/core-custom-branding-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-custom-branding-server plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-custom-branding-server'] --- import kbnCoreCustomBrandingServerObj from './kbn_core_custom_branding_server.devdocs.json'; diff --git a/api_docs/kbn_core_custom_branding_server_internal.mdx b/api_docs/kbn_core_custom_branding_server_internal.mdx index 64636ef5df1ca..8057a5a3c39d8 100644 --- a/api_docs/kbn_core_custom_branding_server_internal.mdx +++ b/api_docs/kbn_core_custom_branding_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-custom-branding-server-internal title: "@kbn/core-custom-branding-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-custom-branding-server-internal plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-custom-branding-server-internal'] --- import kbnCoreCustomBrandingServerInternalObj from './kbn_core_custom_branding_server_internal.devdocs.json'; diff --git a/api_docs/kbn_core_custom_branding_server_mocks.mdx b/api_docs/kbn_core_custom_branding_server_mocks.mdx index 5a5eecdd96fab..0eec897d820e8 100644 --- a/api_docs/kbn_core_custom_branding_server_mocks.mdx +++ b/api_docs/kbn_core_custom_branding_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-custom-branding-server-mocks title: "@kbn/core-custom-branding-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-custom-branding-server-mocks plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-custom-branding-server-mocks'] --- import kbnCoreCustomBrandingServerMocksObj from './kbn_core_custom_branding_server_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_deprecations_browser.mdx b/api_docs/kbn_core_deprecations_browser.mdx index c09011a0a3841..1255efd90308c 100644 --- a/api_docs/kbn_core_deprecations_browser.mdx +++ b/api_docs/kbn_core_deprecations_browser.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-deprecations-browser title: "@kbn/core-deprecations-browser" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-deprecations-browser plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-deprecations-browser'] --- import kbnCoreDeprecationsBrowserObj from './kbn_core_deprecations_browser.devdocs.json'; diff --git a/api_docs/kbn_core_deprecations_browser_internal.mdx b/api_docs/kbn_core_deprecations_browser_internal.mdx index d858bc2f544b5..d23ff4ecda5c4 100644 --- a/api_docs/kbn_core_deprecations_browser_internal.mdx +++ b/api_docs/kbn_core_deprecations_browser_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-deprecations-browser-internal title: "@kbn/core-deprecations-browser-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-deprecations-browser-internal plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-deprecations-browser-internal'] --- import kbnCoreDeprecationsBrowserInternalObj from './kbn_core_deprecations_browser_internal.devdocs.json'; diff --git a/api_docs/kbn_core_deprecations_browser_mocks.mdx b/api_docs/kbn_core_deprecations_browser_mocks.mdx index dc32fa1c4f2bc..5c73b0f07b879 100644 --- a/api_docs/kbn_core_deprecations_browser_mocks.mdx +++ b/api_docs/kbn_core_deprecations_browser_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-deprecations-browser-mocks title: "@kbn/core-deprecations-browser-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-deprecations-browser-mocks plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-deprecations-browser-mocks'] --- import kbnCoreDeprecationsBrowserMocksObj from './kbn_core_deprecations_browser_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_deprecations_common.mdx b/api_docs/kbn_core_deprecations_common.mdx index 9518a0433c577..24b3d6c731cb8 100644 --- a/api_docs/kbn_core_deprecations_common.mdx +++ b/api_docs/kbn_core_deprecations_common.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-deprecations-common title: "@kbn/core-deprecations-common" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-deprecations-common plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-deprecations-common'] --- import kbnCoreDeprecationsCommonObj from './kbn_core_deprecations_common.devdocs.json'; diff --git a/api_docs/kbn_core_deprecations_server.mdx b/api_docs/kbn_core_deprecations_server.mdx index a710cd46b8155..997d8ed573d16 100644 --- a/api_docs/kbn_core_deprecations_server.mdx +++ b/api_docs/kbn_core_deprecations_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-deprecations-server title: "@kbn/core-deprecations-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-deprecations-server plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-deprecations-server'] --- import kbnCoreDeprecationsServerObj from './kbn_core_deprecations_server.devdocs.json'; diff --git a/api_docs/kbn_core_deprecations_server_internal.mdx b/api_docs/kbn_core_deprecations_server_internal.mdx index b31354f20d052..8904cd43e6df9 100644 --- a/api_docs/kbn_core_deprecations_server_internal.mdx +++ b/api_docs/kbn_core_deprecations_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-deprecations-server-internal title: "@kbn/core-deprecations-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-deprecations-server-internal plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-deprecations-server-internal'] --- import kbnCoreDeprecationsServerInternalObj from './kbn_core_deprecations_server_internal.devdocs.json'; diff --git a/api_docs/kbn_core_deprecations_server_mocks.mdx b/api_docs/kbn_core_deprecations_server_mocks.mdx index 0b642e367bbde..dfee86482a6fd 100644 --- a/api_docs/kbn_core_deprecations_server_mocks.mdx +++ b/api_docs/kbn_core_deprecations_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-deprecations-server-mocks title: "@kbn/core-deprecations-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-deprecations-server-mocks plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-deprecations-server-mocks'] --- import kbnCoreDeprecationsServerMocksObj from './kbn_core_deprecations_server_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_doc_links_browser.mdx b/api_docs/kbn_core_doc_links_browser.mdx index 8c1b107bc402e..616a430e62ade 100644 --- a/api_docs/kbn_core_doc_links_browser.mdx +++ b/api_docs/kbn_core_doc_links_browser.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-doc-links-browser title: "@kbn/core-doc-links-browser" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-doc-links-browser plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-doc-links-browser'] --- import kbnCoreDocLinksBrowserObj from './kbn_core_doc_links_browser.devdocs.json'; diff --git a/api_docs/kbn_core_doc_links_browser_mocks.mdx b/api_docs/kbn_core_doc_links_browser_mocks.mdx index d0a8cccb3fe71..0958ae448708f 100644 --- a/api_docs/kbn_core_doc_links_browser_mocks.mdx +++ b/api_docs/kbn_core_doc_links_browser_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-doc-links-browser-mocks title: "@kbn/core-doc-links-browser-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-doc-links-browser-mocks plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-doc-links-browser-mocks'] --- import kbnCoreDocLinksBrowserMocksObj from './kbn_core_doc_links_browser_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_doc_links_server.mdx b/api_docs/kbn_core_doc_links_server.mdx index 12de310cf938d..a6b56159f9124 100644 --- a/api_docs/kbn_core_doc_links_server.mdx +++ b/api_docs/kbn_core_doc_links_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-doc-links-server title: "@kbn/core-doc-links-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-doc-links-server plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-doc-links-server'] --- import kbnCoreDocLinksServerObj from './kbn_core_doc_links_server.devdocs.json'; diff --git a/api_docs/kbn_core_doc_links_server_mocks.mdx b/api_docs/kbn_core_doc_links_server_mocks.mdx index e28b114669dd7..6dab2670abb77 100644 --- a/api_docs/kbn_core_doc_links_server_mocks.mdx +++ b/api_docs/kbn_core_doc_links_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-doc-links-server-mocks title: "@kbn/core-doc-links-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-doc-links-server-mocks plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-doc-links-server-mocks'] --- import kbnCoreDocLinksServerMocksObj from './kbn_core_doc_links_server_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_elasticsearch_client_server_internal.mdx b/api_docs/kbn_core_elasticsearch_client_server_internal.mdx index 2f0928143f680..9349c66a1ba64 100644 --- a/api_docs/kbn_core_elasticsearch_client_server_internal.mdx +++ b/api_docs/kbn_core_elasticsearch_client_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-elasticsearch-client-server-internal title: "@kbn/core-elasticsearch-client-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-elasticsearch-client-server-internal plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-elasticsearch-client-server-internal'] --- import kbnCoreElasticsearchClientServerInternalObj from './kbn_core_elasticsearch_client_server_internal.devdocs.json'; diff --git a/api_docs/kbn_core_elasticsearch_client_server_mocks.mdx b/api_docs/kbn_core_elasticsearch_client_server_mocks.mdx index 7241c2f2a01d0..3acd43bcc5413 100644 --- a/api_docs/kbn_core_elasticsearch_client_server_mocks.mdx +++ b/api_docs/kbn_core_elasticsearch_client_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-elasticsearch-client-server-mocks title: "@kbn/core-elasticsearch-client-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-elasticsearch-client-server-mocks plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-elasticsearch-client-server-mocks'] --- import kbnCoreElasticsearchClientServerMocksObj from './kbn_core_elasticsearch_client_server_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_elasticsearch_server.mdx b/api_docs/kbn_core_elasticsearch_server.mdx index 929c0081f12c1..d33044be3ae72 100644 --- a/api_docs/kbn_core_elasticsearch_server.mdx +++ b/api_docs/kbn_core_elasticsearch_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-elasticsearch-server title: "@kbn/core-elasticsearch-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-elasticsearch-server plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-elasticsearch-server'] --- import kbnCoreElasticsearchServerObj from './kbn_core_elasticsearch_server.devdocs.json'; diff --git a/api_docs/kbn_core_elasticsearch_server_internal.mdx b/api_docs/kbn_core_elasticsearch_server_internal.mdx index 37807a8282fb5..9990dc6e53d43 100644 --- a/api_docs/kbn_core_elasticsearch_server_internal.mdx +++ b/api_docs/kbn_core_elasticsearch_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-elasticsearch-server-internal title: "@kbn/core-elasticsearch-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-elasticsearch-server-internal plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-elasticsearch-server-internal'] --- import kbnCoreElasticsearchServerInternalObj from './kbn_core_elasticsearch_server_internal.devdocs.json'; diff --git a/api_docs/kbn_core_elasticsearch_server_mocks.mdx b/api_docs/kbn_core_elasticsearch_server_mocks.mdx index f956fbfe7e4dd..0966c005a0669 100644 --- a/api_docs/kbn_core_elasticsearch_server_mocks.mdx +++ b/api_docs/kbn_core_elasticsearch_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-elasticsearch-server-mocks title: "@kbn/core-elasticsearch-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-elasticsearch-server-mocks plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-elasticsearch-server-mocks'] --- import kbnCoreElasticsearchServerMocksObj from './kbn_core_elasticsearch_server_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_environment_server_internal.mdx b/api_docs/kbn_core_environment_server_internal.mdx index 20ff940ba46df..ee75cc5165156 100644 --- a/api_docs/kbn_core_environment_server_internal.mdx +++ b/api_docs/kbn_core_environment_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-environment-server-internal title: "@kbn/core-environment-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-environment-server-internal plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-environment-server-internal'] --- import kbnCoreEnvironmentServerInternalObj from './kbn_core_environment_server_internal.devdocs.json'; diff --git a/api_docs/kbn_core_environment_server_mocks.mdx b/api_docs/kbn_core_environment_server_mocks.mdx index 60759d11dbea6..e773ba32b6f3f 100644 --- a/api_docs/kbn_core_environment_server_mocks.mdx +++ b/api_docs/kbn_core_environment_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-environment-server-mocks title: "@kbn/core-environment-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-environment-server-mocks plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-environment-server-mocks'] --- import kbnCoreEnvironmentServerMocksObj from './kbn_core_environment_server_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_execution_context_browser.mdx b/api_docs/kbn_core_execution_context_browser.mdx index 48068deae1f54..0e39c18d00742 100644 --- a/api_docs/kbn_core_execution_context_browser.mdx +++ b/api_docs/kbn_core_execution_context_browser.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-execution-context-browser title: "@kbn/core-execution-context-browser" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-execution-context-browser plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-execution-context-browser'] --- import kbnCoreExecutionContextBrowserObj from './kbn_core_execution_context_browser.devdocs.json'; diff --git a/api_docs/kbn_core_execution_context_browser_internal.mdx b/api_docs/kbn_core_execution_context_browser_internal.mdx index e007d637f12ac..3bdf686749a92 100644 --- a/api_docs/kbn_core_execution_context_browser_internal.mdx +++ b/api_docs/kbn_core_execution_context_browser_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-execution-context-browser-internal title: "@kbn/core-execution-context-browser-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-execution-context-browser-internal plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-execution-context-browser-internal'] --- import kbnCoreExecutionContextBrowserInternalObj from './kbn_core_execution_context_browser_internal.devdocs.json'; diff --git a/api_docs/kbn_core_execution_context_browser_mocks.mdx b/api_docs/kbn_core_execution_context_browser_mocks.mdx index be55de90bb2fc..59f4e85d3bcd9 100644 --- a/api_docs/kbn_core_execution_context_browser_mocks.mdx +++ b/api_docs/kbn_core_execution_context_browser_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-execution-context-browser-mocks title: "@kbn/core-execution-context-browser-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-execution-context-browser-mocks plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-execution-context-browser-mocks'] --- import kbnCoreExecutionContextBrowserMocksObj from './kbn_core_execution_context_browser_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_execution_context_common.mdx b/api_docs/kbn_core_execution_context_common.mdx index 8673454894843..29f8cbd6b3507 100644 --- a/api_docs/kbn_core_execution_context_common.mdx +++ b/api_docs/kbn_core_execution_context_common.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-execution-context-common title: "@kbn/core-execution-context-common" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-execution-context-common plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-execution-context-common'] --- import kbnCoreExecutionContextCommonObj from './kbn_core_execution_context_common.devdocs.json'; diff --git a/api_docs/kbn_core_execution_context_server.mdx b/api_docs/kbn_core_execution_context_server.mdx index 8c633cd93ccd0..b9138383bbc64 100644 --- a/api_docs/kbn_core_execution_context_server.mdx +++ b/api_docs/kbn_core_execution_context_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-execution-context-server title: "@kbn/core-execution-context-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-execution-context-server plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-execution-context-server'] --- import kbnCoreExecutionContextServerObj from './kbn_core_execution_context_server.devdocs.json'; diff --git a/api_docs/kbn_core_execution_context_server_internal.mdx b/api_docs/kbn_core_execution_context_server_internal.mdx index 3c494b2de661a..4ce533566446a 100644 --- a/api_docs/kbn_core_execution_context_server_internal.mdx +++ b/api_docs/kbn_core_execution_context_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-execution-context-server-internal title: "@kbn/core-execution-context-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-execution-context-server-internal plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-execution-context-server-internal'] --- import kbnCoreExecutionContextServerInternalObj from './kbn_core_execution_context_server_internal.devdocs.json'; diff --git a/api_docs/kbn_core_execution_context_server_mocks.mdx b/api_docs/kbn_core_execution_context_server_mocks.mdx index d0b65f94450e7..d452ec14a8ba6 100644 --- a/api_docs/kbn_core_execution_context_server_mocks.mdx +++ b/api_docs/kbn_core_execution_context_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-execution-context-server-mocks title: "@kbn/core-execution-context-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-execution-context-server-mocks plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-execution-context-server-mocks'] --- import kbnCoreExecutionContextServerMocksObj from './kbn_core_execution_context_server_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_fatal_errors_browser.mdx b/api_docs/kbn_core_fatal_errors_browser.mdx index b1a626291ca8e..7ba2d1d5a62da 100644 --- a/api_docs/kbn_core_fatal_errors_browser.mdx +++ b/api_docs/kbn_core_fatal_errors_browser.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-fatal-errors-browser title: "@kbn/core-fatal-errors-browser" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-fatal-errors-browser plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-fatal-errors-browser'] --- import kbnCoreFatalErrorsBrowserObj from './kbn_core_fatal_errors_browser.devdocs.json'; diff --git a/api_docs/kbn_core_fatal_errors_browser_mocks.mdx b/api_docs/kbn_core_fatal_errors_browser_mocks.mdx index 7482fbdd692d2..dda1705f04aa8 100644 --- a/api_docs/kbn_core_fatal_errors_browser_mocks.mdx +++ b/api_docs/kbn_core_fatal_errors_browser_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-fatal-errors-browser-mocks title: "@kbn/core-fatal-errors-browser-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-fatal-errors-browser-mocks plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-fatal-errors-browser-mocks'] --- import kbnCoreFatalErrorsBrowserMocksObj from './kbn_core_fatal_errors_browser_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_http_browser.mdx b/api_docs/kbn_core_http_browser.mdx index c486fb3771287..12214cdb29e00 100644 --- a/api_docs/kbn_core_http_browser.mdx +++ b/api_docs/kbn_core_http_browser.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-http-browser title: "@kbn/core-http-browser" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-http-browser plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-http-browser'] --- import kbnCoreHttpBrowserObj from './kbn_core_http_browser.devdocs.json'; diff --git a/api_docs/kbn_core_http_browser_internal.mdx b/api_docs/kbn_core_http_browser_internal.mdx index 5f8585f8863d4..a312d0033fe32 100644 --- a/api_docs/kbn_core_http_browser_internal.mdx +++ b/api_docs/kbn_core_http_browser_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-http-browser-internal title: "@kbn/core-http-browser-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-http-browser-internal plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-http-browser-internal'] --- import kbnCoreHttpBrowserInternalObj from './kbn_core_http_browser_internal.devdocs.json'; diff --git a/api_docs/kbn_core_http_browser_mocks.mdx b/api_docs/kbn_core_http_browser_mocks.mdx index 52e8ff1c53baf..5fe9771e656d6 100644 --- a/api_docs/kbn_core_http_browser_mocks.mdx +++ b/api_docs/kbn_core_http_browser_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-http-browser-mocks title: "@kbn/core-http-browser-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-http-browser-mocks plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-http-browser-mocks'] --- import kbnCoreHttpBrowserMocksObj from './kbn_core_http_browser_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_http_common.mdx b/api_docs/kbn_core_http_common.mdx index 79ac26d345b12..7323472643b5b 100644 --- a/api_docs/kbn_core_http_common.mdx +++ b/api_docs/kbn_core_http_common.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-http-common title: "@kbn/core-http-common" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-http-common plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-http-common'] --- import kbnCoreHttpCommonObj from './kbn_core_http_common.devdocs.json'; diff --git a/api_docs/kbn_core_http_context_server_mocks.mdx b/api_docs/kbn_core_http_context_server_mocks.mdx index 3ded41954bae4..e8400457060d8 100644 --- a/api_docs/kbn_core_http_context_server_mocks.mdx +++ b/api_docs/kbn_core_http_context_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-http-context-server-mocks title: "@kbn/core-http-context-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-http-context-server-mocks plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-http-context-server-mocks'] --- import kbnCoreHttpContextServerMocksObj from './kbn_core_http_context_server_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_http_request_handler_context_server.mdx b/api_docs/kbn_core_http_request_handler_context_server.mdx index d7a0b6bd4274e..61aad78ad2f16 100644 --- a/api_docs/kbn_core_http_request_handler_context_server.mdx +++ b/api_docs/kbn_core_http_request_handler_context_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-http-request-handler-context-server title: "@kbn/core-http-request-handler-context-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-http-request-handler-context-server plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-http-request-handler-context-server'] --- import kbnCoreHttpRequestHandlerContextServerObj from './kbn_core_http_request_handler_context_server.devdocs.json'; diff --git a/api_docs/kbn_core_http_resources_server.mdx b/api_docs/kbn_core_http_resources_server.mdx index a9a3e9499521c..0e83d41c08fa7 100644 --- a/api_docs/kbn_core_http_resources_server.mdx +++ b/api_docs/kbn_core_http_resources_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-http-resources-server title: "@kbn/core-http-resources-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-http-resources-server plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-http-resources-server'] --- import kbnCoreHttpResourcesServerObj from './kbn_core_http_resources_server.devdocs.json'; diff --git a/api_docs/kbn_core_http_resources_server_internal.mdx b/api_docs/kbn_core_http_resources_server_internal.mdx index a1be72a602e2e..22feb29f62ece 100644 --- a/api_docs/kbn_core_http_resources_server_internal.mdx +++ b/api_docs/kbn_core_http_resources_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-http-resources-server-internal title: "@kbn/core-http-resources-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-http-resources-server-internal plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-http-resources-server-internal'] --- import kbnCoreHttpResourcesServerInternalObj from './kbn_core_http_resources_server_internal.devdocs.json'; diff --git a/api_docs/kbn_core_http_resources_server_mocks.mdx b/api_docs/kbn_core_http_resources_server_mocks.mdx index ec61a0edb4992..9b15f60d3a251 100644 --- a/api_docs/kbn_core_http_resources_server_mocks.mdx +++ b/api_docs/kbn_core_http_resources_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-http-resources-server-mocks title: "@kbn/core-http-resources-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-http-resources-server-mocks plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-http-resources-server-mocks'] --- import kbnCoreHttpResourcesServerMocksObj from './kbn_core_http_resources_server_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_http_router_server_internal.mdx b/api_docs/kbn_core_http_router_server_internal.mdx index a25719df035e7..c12ef47de0285 100644 --- a/api_docs/kbn_core_http_router_server_internal.mdx +++ b/api_docs/kbn_core_http_router_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-http-router-server-internal title: "@kbn/core-http-router-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-http-router-server-internal plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-http-router-server-internal'] --- import kbnCoreHttpRouterServerInternalObj from './kbn_core_http_router_server_internal.devdocs.json'; diff --git a/api_docs/kbn_core_http_router_server_mocks.mdx b/api_docs/kbn_core_http_router_server_mocks.mdx index edd179e508b7a..574aeb8cd4306 100644 --- a/api_docs/kbn_core_http_router_server_mocks.mdx +++ b/api_docs/kbn_core_http_router_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-http-router-server-mocks title: "@kbn/core-http-router-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-http-router-server-mocks plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-http-router-server-mocks'] --- import kbnCoreHttpRouterServerMocksObj from './kbn_core_http_router_server_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_http_server.mdx b/api_docs/kbn_core_http_server.mdx index 6767f86076e31..61f0b2a37e3f8 100644 --- a/api_docs/kbn_core_http_server.mdx +++ b/api_docs/kbn_core_http_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-http-server title: "@kbn/core-http-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-http-server plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-http-server'] --- import kbnCoreHttpServerObj from './kbn_core_http_server.devdocs.json'; diff --git a/api_docs/kbn_core_http_server_internal.mdx b/api_docs/kbn_core_http_server_internal.mdx index 14c8b49163300..0d668e57e2ad0 100644 --- a/api_docs/kbn_core_http_server_internal.mdx +++ b/api_docs/kbn_core_http_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-http-server-internal title: "@kbn/core-http-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-http-server-internal plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-http-server-internal'] --- import kbnCoreHttpServerInternalObj from './kbn_core_http_server_internal.devdocs.json'; diff --git a/api_docs/kbn_core_http_server_mocks.mdx b/api_docs/kbn_core_http_server_mocks.mdx index 9c4132b538a01..41e9aa125e69a 100644 --- a/api_docs/kbn_core_http_server_mocks.mdx +++ b/api_docs/kbn_core_http_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-http-server-mocks title: "@kbn/core-http-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-http-server-mocks plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-http-server-mocks'] --- import kbnCoreHttpServerMocksObj from './kbn_core_http_server_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_i18n_browser.mdx b/api_docs/kbn_core_i18n_browser.mdx index 5ff1edd2b2747..31d7d1b8a832e 100644 --- a/api_docs/kbn_core_i18n_browser.mdx +++ b/api_docs/kbn_core_i18n_browser.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-i18n-browser title: "@kbn/core-i18n-browser" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-i18n-browser plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-i18n-browser'] --- import kbnCoreI18nBrowserObj from './kbn_core_i18n_browser.devdocs.json'; diff --git a/api_docs/kbn_core_i18n_browser_mocks.mdx b/api_docs/kbn_core_i18n_browser_mocks.mdx index 6d132ae11fa0a..c528f4469e016 100644 --- a/api_docs/kbn_core_i18n_browser_mocks.mdx +++ b/api_docs/kbn_core_i18n_browser_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-i18n-browser-mocks title: "@kbn/core-i18n-browser-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-i18n-browser-mocks plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-i18n-browser-mocks'] --- import kbnCoreI18nBrowserMocksObj from './kbn_core_i18n_browser_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_i18n_server.mdx b/api_docs/kbn_core_i18n_server.mdx index 4e33c52e370dc..a23ece5a5cb20 100644 --- a/api_docs/kbn_core_i18n_server.mdx +++ b/api_docs/kbn_core_i18n_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-i18n-server title: "@kbn/core-i18n-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-i18n-server plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-i18n-server'] --- import kbnCoreI18nServerObj from './kbn_core_i18n_server.devdocs.json'; diff --git a/api_docs/kbn_core_i18n_server_internal.mdx b/api_docs/kbn_core_i18n_server_internal.mdx index 99a118455cebd..494c0cec79d86 100644 --- a/api_docs/kbn_core_i18n_server_internal.mdx +++ b/api_docs/kbn_core_i18n_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-i18n-server-internal title: "@kbn/core-i18n-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-i18n-server-internal plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-i18n-server-internal'] --- import kbnCoreI18nServerInternalObj from './kbn_core_i18n_server_internal.devdocs.json'; diff --git a/api_docs/kbn_core_i18n_server_mocks.mdx b/api_docs/kbn_core_i18n_server_mocks.mdx index 77f60ba3acf83..3dc1d6ac17cd1 100644 --- a/api_docs/kbn_core_i18n_server_mocks.mdx +++ b/api_docs/kbn_core_i18n_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-i18n-server-mocks title: "@kbn/core-i18n-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-i18n-server-mocks plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-i18n-server-mocks'] --- import kbnCoreI18nServerMocksObj from './kbn_core_i18n_server_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_injected_metadata_browser_mocks.mdx b/api_docs/kbn_core_injected_metadata_browser_mocks.mdx index dda92a158eb8e..ad9e1d137ebaa 100644 --- a/api_docs/kbn_core_injected_metadata_browser_mocks.mdx +++ b/api_docs/kbn_core_injected_metadata_browser_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-injected-metadata-browser-mocks title: "@kbn/core-injected-metadata-browser-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-injected-metadata-browser-mocks plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-injected-metadata-browser-mocks'] --- import kbnCoreInjectedMetadataBrowserMocksObj from './kbn_core_injected_metadata_browser_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_integrations_browser_internal.mdx b/api_docs/kbn_core_integrations_browser_internal.mdx index 7443d21b4a91b..4333020df7ef2 100644 --- a/api_docs/kbn_core_integrations_browser_internal.mdx +++ b/api_docs/kbn_core_integrations_browser_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-integrations-browser-internal title: "@kbn/core-integrations-browser-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-integrations-browser-internal plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-integrations-browser-internal'] --- import kbnCoreIntegrationsBrowserInternalObj from './kbn_core_integrations_browser_internal.devdocs.json'; diff --git a/api_docs/kbn_core_integrations_browser_mocks.mdx b/api_docs/kbn_core_integrations_browser_mocks.mdx index 8c6e199cc8147..a8de429f5a453 100644 --- a/api_docs/kbn_core_integrations_browser_mocks.mdx +++ b/api_docs/kbn_core_integrations_browser_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-integrations-browser-mocks title: "@kbn/core-integrations-browser-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-integrations-browser-mocks plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-integrations-browser-mocks'] --- import kbnCoreIntegrationsBrowserMocksObj from './kbn_core_integrations_browser_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_lifecycle_browser.mdx b/api_docs/kbn_core_lifecycle_browser.mdx index f6e395b99d7a8..ae5317eefa7b4 100644 --- a/api_docs/kbn_core_lifecycle_browser.mdx +++ b/api_docs/kbn_core_lifecycle_browser.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-lifecycle-browser title: "@kbn/core-lifecycle-browser" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-lifecycle-browser plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-lifecycle-browser'] --- import kbnCoreLifecycleBrowserObj from './kbn_core_lifecycle_browser.devdocs.json'; diff --git a/api_docs/kbn_core_lifecycle_browser_mocks.mdx b/api_docs/kbn_core_lifecycle_browser_mocks.mdx index 1dc30ca29c12e..f02858852a1e7 100644 --- a/api_docs/kbn_core_lifecycle_browser_mocks.mdx +++ b/api_docs/kbn_core_lifecycle_browser_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-lifecycle-browser-mocks title: "@kbn/core-lifecycle-browser-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-lifecycle-browser-mocks plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-lifecycle-browser-mocks'] --- import kbnCoreLifecycleBrowserMocksObj from './kbn_core_lifecycle_browser_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_lifecycle_server.mdx b/api_docs/kbn_core_lifecycle_server.mdx index 1c7a2ddb2d213..d4740caace13b 100644 --- a/api_docs/kbn_core_lifecycle_server.mdx +++ b/api_docs/kbn_core_lifecycle_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-lifecycle-server title: "@kbn/core-lifecycle-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-lifecycle-server plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-lifecycle-server'] --- import kbnCoreLifecycleServerObj from './kbn_core_lifecycle_server.devdocs.json'; diff --git a/api_docs/kbn_core_lifecycle_server_mocks.mdx b/api_docs/kbn_core_lifecycle_server_mocks.mdx index 898ce2264bb30..9a9343af10069 100644 --- a/api_docs/kbn_core_lifecycle_server_mocks.mdx +++ b/api_docs/kbn_core_lifecycle_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-lifecycle-server-mocks title: "@kbn/core-lifecycle-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-lifecycle-server-mocks plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-lifecycle-server-mocks'] --- import kbnCoreLifecycleServerMocksObj from './kbn_core_lifecycle_server_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_logging_browser_mocks.mdx b/api_docs/kbn_core_logging_browser_mocks.mdx index e6c314860a00a..a839193c98854 100644 --- a/api_docs/kbn_core_logging_browser_mocks.mdx +++ b/api_docs/kbn_core_logging_browser_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-logging-browser-mocks title: "@kbn/core-logging-browser-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-logging-browser-mocks plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-logging-browser-mocks'] --- import kbnCoreLoggingBrowserMocksObj from './kbn_core_logging_browser_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_logging_common_internal.mdx b/api_docs/kbn_core_logging_common_internal.mdx index ce68b6df58dc8..16442c0eb6b31 100644 --- a/api_docs/kbn_core_logging_common_internal.mdx +++ b/api_docs/kbn_core_logging_common_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-logging-common-internal title: "@kbn/core-logging-common-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-logging-common-internal plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-logging-common-internal'] --- import kbnCoreLoggingCommonInternalObj from './kbn_core_logging_common_internal.devdocs.json'; diff --git a/api_docs/kbn_core_logging_server.mdx b/api_docs/kbn_core_logging_server.mdx index d1ff2ce30216c..c600d79bec6b8 100644 --- a/api_docs/kbn_core_logging_server.mdx +++ b/api_docs/kbn_core_logging_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-logging-server title: "@kbn/core-logging-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-logging-server plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-logging-server'] --- import kbnCoreLoggingServerObj from './kbn_core_logging_server.devdocs.json'; diff --git a/api_docs/kbn_core_logging_server_internal.mdx b/api_docs/kbn_core_logging_server_internal.mdx index 9def9a1f4abd7..c7afa414da645 100644 --- a/api_docs/kbn_core_logging_server_internal.mdx +++ b/api_docs/kbn_core_logging_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-logging-server-internal title: "@kbn/core-logging-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-logging-server-internal plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-logging-server-internal'] --- import kbnCoreLoggingServerInternalObj from './kbn_core_logging_server_internal.devdocs.json'; diff --git a/api_docs/kbn_core_logging_server_mocks.mdx b/api_docs/kbn_core_logging_server_mocks.mdx index eb848c6b32465..08c7b345f8a53 100644 --- a/api_docs/kbn_core_logging_server_mocks.mdx +++ b/api_docs/kbn_core_logging_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-logging-server-mocks title: "@kbn/core-logging-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-logging-server-mocks plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-logging-server-mocks'] --- import kbnCoreLoggingServerMocksObj from './kbn_core_logging_server_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_metrics_collectors_server_internal.mdx b/api_docs/kbn_core_metrics_collectors_server_internal.mdx index eeca821a31868..a859d36f6b657 100644 --- a/api_docs/kbn_core_metrics_collectors_server_internal.mdx +++ b/api_docs/kbn_core_metrics_collectors_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-metrics-collectors-server-internal title: "@kbn/core-metrics-collectors-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-metrics-collectors-server-internal plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-metrics-collectors-server-internal'] --- import kbnCoreMetricsCollectorsServerInternalObj from './kbn_core_metrics_collectors_server_internal.devdocs.json'; diff --git a/api_docs/kbn_core_metrics_collectors_server_mocks.mdx b/api_docs/kbn_core_metrics_collectors_server_mocks.mdx index 85462ce62cfd2..413935d4515ad 100644 --- a/api_docs/kbn_core_metrics_collectors_server_mocks.mdx +++ b/api_docs/kbn_core_metrics_collectors_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-metrics-collectors-server-mocks title: "@kbn/core-metrics-collectors-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-metrics-collectors-server-mocks plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-metrics-collectors-server-mocks'] --- import kbnCoreMetricsCollectorsServerMocksObj from './kbn_core_metrics_collectors_server_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_metrics_server.mdx b/api_docs/kbn_core_metrics_server.mdx index 39fd5278db2dc..8eb058702d611 100644 --- a/api_docs/kbn_core_metrics_server.mdx +++ b/api_docs/kbn_core_metrics_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-metrics-server title: "@kbn/core-metrics-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-metrics-server plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-metrics-server'] --- import kbnCoreMetricsServerObj from './kbn_core_metrics_server.devdocs.json'; diff --git a/api_docs/kbn_core_metrics_server_internal.mdx b/api_docs/kbn_core_metrics_server_internal.mdx index 3d72ba64be84c..3235d466a0334 100644 --- a/api_docs/kbn_core_metrics_server_internal.mdx +++ b/api_docs/kbn_core_metrics_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-metrics-server-internal title: "@kbn/core-metrics-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-metrics-server-internal plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-metrics-server-internal'] --- import kbnCoreMetricsServerInternalObj from './kbn_core_metrics_server_internal.devdocs.json'; diff --git a/api_docs/kbn_core_metrics_server_mocks.mdx b/api_docs/kbn_core_metrics_server_mocks.mdx index c609d3f06c0ed..b448d1cbea745 100644 --- a/api_docs/kbn_core_metrics_server_mocks.mdx +++ b/api_docs/kbn_core_metrics_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-metrics-server-mocks title: "@kbn/core-metrics-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-metrics-server-mocks plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-metrics-server-mocks'] --- import kbnCoreMetricsServerMocksObj from './kbn_core_metrics_server_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_mount_utils_browser.mdx b/api_docs/kbn_core_mount_utils_browser.mdx index 67155b724f48e..eff822d1491c4 100644 --- a/api_docs/kbn_core_mount_utils_browser.mdx +++ b/api_docs/kbn_core_mount_utils_browser.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-mount-utils-browser title: "@kbn/core-mount-utils-browser" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-mount-utils-browser plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-mount-utils-browser'] --- import kbnCoreMountUtilsBrowserObj from './kbn_core_mount_utils_browser.devdocs.json'; diff --git a/api_docs/kbn_core_node_server.mdx b/api_docs/kbn_core_node_server.mdx index 834d95716fb62..6488855aad865 100644 --- a/api_docs/kbn_core_node_server.mdx +++ b/api_docs/kbn_core_node_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-node-server title: "@kbn/core-node-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-node-server plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-node-server'] --- import kbnCoreNodeServerObj from './kbn_core_node_server.devdocs.json'; diff --git a/api_docs/kbn_core_node_server_internal.mdx b/api_docs/kbn_core_node_server_internal.mdx index 2fbf3df41ce47..4d194e0c548b0 100644 --- a/api_docs/kbn_core_node_server_internal.mdx +++ b/api_docs/kbn_core_node_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-node-server-internal title: "@kbn/core-node-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-node-server-internal plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-node-server-internal'] --- import kbnCoreNodeServerInternalObj from './kbn_core_node_server_internal.devdocs.json'; diff --git a/api_docs/kbn_core_node_server_mocks.mdx b/api_docs/kbn_core_node_server_mocks.mdx index 0e9ca3bbe24f9..28026efe44eec 100644 --- a/api_docs/kbn_core_node_server_mocks.mdx +++ b/api_docs/kbn_core_node_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-node-server-mocks title: "@kbn/core-node-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-node-server-mocks plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-node-server-mocks'] --- import kbnCoreNodeServerMocksObj from './kbn_core_node_server_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_notifications_browser.mdx b/api_docs/kbn_core_notifications_browser.mdx index ce3b5e12a2358..74232da5eb81c 100644 --- a/api_docs/kbn_core_notifications_browser.mdx +++ b/api_docs/kbn_core_notifications_browser.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-notifications-browser title: "@kbn/core-notifications-browser" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-notifications-browser plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-notifications-browser'] --- import kbnCoreNotificationsBrowserObj from './kbn_core_notifications_browser.devdocs.json'; diff --git a/api_docs/kbn_core_notifications_browser_internal.mdx b/api_docs/kbn_core_notifications_browser_internal.mdx index 3726f8c75fd7c..ae0259ef1af1b 100644 --- a/api_docs/kbn_core_notifications_browser_internal.mdx +++ b/api_docs/kbn_core_notifications_browser_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-notifications-browser-internal title: "@kbn/core-notifications-browser-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-notifications-browser-internal plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-notifications-browser-internal'] --- import kbnCoreNotificationsBrowserInternalObj from './kbn_core_notifications_browser_internal.devdocs.json'; diff --git a/api_docs/kbn_core_notifications_browser_mocks.mdx b/api_docs/kbn_core_notifications_browser_mocks.mdx index 128ee0b5ae7ab..9da6d997e7a58 100644 --- a/api_docs/kbn_core_notifications_browser_mocks.mdx +++ b/api_docs/kbn_core_notifications_browser_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-notifications-browser-mocks title: "@kbn/core-notifications-browser-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-notifications-browser-mocks plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-notifications-browser-mocks'] --- import kbnCoreNotificationsBrowserMocksObj from './kbn_core_notifications_browser_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_overlays_browser.mdx b/api_docs/kbn_core_overlays_browser.mdx index 8f5208a33a8d1..fcc0e9be5563d 100644 --- a/api_docs/kbn_core_overlays_browser.mdx +++ b/api_docs/kbn_core_overlays_browser.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-overlays-browser title: "@kbn/core-overlays-browser" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-overlays-browser plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-overlays-browser'] --- import kbnCoreOverlaysBrowserObj from './kbn_core_overlays_browser.devdocs.json'; diff --git a/api_docs/kbn_core_overlays_browser_internal.mdx b/api_docs/kbn_core_overlays_browser_internal.mdx index a9e5a3e5c595e..624f970bd0309 100644 --- a/api_docs/kbn_core_overlays_browser_internal.mdx +++ b/api_docs/kbn_core_overlays_browser_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-overlays-browser-internal title: "@kbn/core-overlays-browser-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-overlays-browser-internal plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-overlays-browser-internal'] --- import kbnCoreOverlaysBrowserInternalObj from './kbn_core_overlays_browser_internal.devdocs.json'; diff --git a/api_docs/kbn_core_overlays_browser_mocks.mdx b/api_docs/kbn_core_overlays_browser_mocks.mdx index 32c93a3d240dd..bc5aed6c16a32 100644 --- a/api_docs/kbn_core_overlays_browser_mocks.mdx +++ b/api_docs/kbn_core_overlays_browser_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-overlays-browser-mocks title: "@kbn/core-overlays-browser-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-overlays-browser-mocks plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-overlays-browser-mocks'] --- import kbnCoreOverlaysBrowserMocksObj from './kbn_core_overlays_browser_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_plugins_browser.mdx b/api_docs/kbn_core_plugins_browser.mdx index b4dce10d1c508..f8469b2c99cae 100644 --- a/api_docs/kbn_core_plugins_browser.mdx +++ b/api_docs/kbn_core_plugins_browser.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-plugins-browser title: "@kbn/core-plugins-browser" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-plugins-browser plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-plugins-browser'] --- import kbnCorePluginsBrowserObj from './kbn_core_plugins_browser.devdocs.json'; diff --git a/api_docs/kbn_core_plugins_browser_mocks.mdx b/api_docs/kbn_core_plugins_browser_mocks.mdx index 413c4ca5552b2..c603e6905b5a8 100644 --- a/api_docs/kbn_core_plugins_browser_mocks.mdx +++ b/api_docs/kbn_core_plugins_browser_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-plugins-browser-mocks title: "@kbn/core-plugins-browser-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-plugins-browser-mocks plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-plugins-browser-mocks'] --- import kbnCorePluginsBrowserMocksObj from './kbn_core_plugins_browser_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_plugins_contracts_browser.mdx b/api_docs/kbn_core_plugins_contracts_browser.mdx index e9f602b2df090..e9d951cb7ab74 100644 --- a/api_docs/kbn_core_plugins_contracts_browser.mdx +++ b/api_docs/kbn_core_plugins_contracts_browser.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-plugins-contracts-browser title: "@kbn/core-plugins-contracts-browser" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-plugins-contracts-browser plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-plugins-contracts-browser'] --- import kbnCorePluginsContractsBrowserObj from './kbn_core_plugins_contracts_browser.devdocs.json'; diff --git a/api_docs/kbn_core_plugins_contracts_server.mdx b/api_docs/kbn_core_plugins_contracts_server.mdx index 5de179789584e..25dadc9dfc661 100644 --- a/api_docs/kbn_core_plugins_contracts_server.mdx +++ b/api_docs/kbn_core_plugins_contracts_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-plugins-contracts-server title: "@kbn/core-plugins-contracts-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-plugins-contracts-server plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-plugins-contracts-server'] --- import kbnCorePluginsContractsServerObj from './kbn_core_plugins_contracts_server.devdocs.json'; diff --git a/api_docs/kbn_core_plugins_server.mdx b/api_docs/kbn_core_plugins_server.mdx index 9818066bc6f27..a19d7aaccd66b 100644 --- a/api_docs/kbn_core_plugins_server.mdx +++ b/api_docs/kbn_core_plugins_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-plugins-server title: "@kbn/core-plugins-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-plugins-server plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-plugins-server'] --- import kbnCorePluginsServerObj from './kbn_core_plugins_server.devdocs.json'; diff --git a/api_docs/kbn_core_plugins_server_mocks.mdx b/api_docs/kbn_core_plugins_server_mocks.mdx index bc51a351a49ff..cb005cfbb562e 100644 --- a/api_docs/kbn_core_plugins_server_mocks.mdx +++ b/api_docs/kbn_core_plugins_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-plugins-server-mocks title: "@kbn/core-plugins-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-plugins-server-mocks plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-plugins-server-mocks'] --- import kbnCorePluginsServerMocksObj from './kbn_core_plugins_server_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_preboot_server.mdx b/api_docs/kbn_core_preboot_server.mdx index d679e5ba6ef42..1ad8e8f50801c 100644 --- a/api_docs/kbn_core_preboot_server.mdx +++ b/api_docs/kbn_core_preboot_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-preboot-server title: "@kbn/core-preboot-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-preboot-server plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-preboot-server'] --- import kbnCorePrebootServerObj from './kbn_core_preboot_server.devdocs.json'; diff --git a/api_docs/kbn_core_preboot_server_mocks.mdx b/api_docs/kbn_core_preboot_server_mocks.mdx index 0bb8c13b66007..35dc73361cea3 100644 --- a/api_docs/kbn_core_preboot_server_mocks.mdx +++ b/api_docs/kbn_core_preboot_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-preboot-server-mocks title: "@kbn/core-preboot-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-preboot-server-mocks plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-preboot-server-mocks'] --- import kbnCorePrebootServerMocksObj from './kbn_core_preboot_server_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_rendering_browser_mocks.mdx b/api_docs/kbn_core_rendering_browser_mocks.mdx index 12bf167fea3b4..7773363876d5e 100644 --- a/api_docs/kbn_core_rendering_browser_mocks.mdx +++ b/api_docs/kbn_core_rendering_browser_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-rendering-browser-mocks title: "@kbn/core-rendering-browser-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-rendering-browser-mocks plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-rendering-browser-mocks'] --- import kbnCoreRenderingBrowserMocksObj from './kbn_core_rendering_browser_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_rendering_server_internal.mdx b/api_docs/kbn_core_rendering_server_internal.mdx index be1cf18670f3a..69ba87f965b1f 100644 --- a/api_docs/kbn_core_rendering_server_internal.mdx +++ b/api_docs/kbn_core_rendering_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-rendering-server-internal title: "@kbn/core-rendering-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-rendering-server-internal plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-rendering-server-internal'] --- import kbnCoreRenderingServerInternalObj from './kbn_core_rendering_server_internal.devdocs.json'; diff --git a/api_docs/kbn_core_rendering_server_mocks.mdx b/api_docs/kbn_core_rendering_server_mocks.mdx index 284c8876f71c4..1b9be8fd858db 100644 --- a/api_docs/kbn_core_rendering_server_mocks.mdx +++ b/api_docs/kbn_core_rendering_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-rendering-server-mocks title: "@kbn/core-rendering-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-rendering-server-mocks plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-rendering-server-mocks'] --- import kbnCoreRenderingServerMocksObj from './kbn_core_rendering_server_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_root_server_internal.mdx b/api_docs/kbn_core_root_server_internal.mdx index ba047bd45a97a..72815e76cc0f9 100644 --- a/api_docs/kbn_core_root_server_internal.mdx +++ b/api_docs/kbn_core_root_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-root-server-internal title: "@kbn/core-root-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-root-server-internal plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-root-server-internal'] --- import kbnCoreRootServerInternalObj from './kbn_core_root_server_internal.devdocs.json'; diff --git a/api_docs/kbn_core_saved_objects_api_browser.mdx b/api_docs/kbn_core_saved_objects_api_browser.mdx index f37b9ba808a68..80ed5d447553a 100644 --- a/api_docs/kbn_core_saved_objects_api_browser.mdx +++ b/api_docs/kbn_core_saved_objects_api_browser.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-saved-objects-api-browser title: "@kbn/core-saved-objects-api-browser" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-saved-objects-api-browser plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-saved-objects-api-browser'] --- import kbnCoreSavedObjectsApiBrowserObj from './kbn_core_saved_objects_api_browser.devdocs.json'; diff --git a/api_docs/kbn_core_saved_objects_api_server.mdx b/api_docs/kbn_core_saved_objects_api_server.mdx index 936f548864821..c1e36b9168561 100644 --- a/api_docs/kbn_core_saved_objects_api_server.mdx +++ b/api_docs/kbn_core_saved_objects_api_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-saved-objects-api-server title: "@kbn/core-saved-objects-api-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-saved-objects-api-server plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-saved-objects-api-server'] --- import kbnCoreSavedObjectsApiServerObj from './kbn_core_saved_objects_api_server.devdocs.json'; diff --git a/api_docs/kbn_core_saved_objects_api_server_mocks.mdx b/api_docs/kbn_core_saved_objects_api_server_mocks.mdx index 3682f2c7b7b7f..ee085b6f0f40b 100644 --- a/api_docs/kbn_core_saved_objects_api_server_mocks.mdx +++ b/api_docs/kbn_core_saved_objects_api_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-saved-objects-api-server-mocks title: "@kbn/core-saved-objects-api-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-saved-objects-api-server-mocks plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-saved-objects-api-server-mocks'] --- import kbnCoreSavedObjectsApiServerMocksObj from './kbn_core_saved_objects_api_server_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_saved_objects_base_server_internal.mdx b/api_docs/kbn_core_saved_objects_base_server_internal.mdx index 0950f5b3cd404..551d9e7d99e1d 100644 --- a/api_docs/kbn_core_saved_objects_base_server_internal.mdx +++ b/api_docs/kbn_core_saved_objects_base_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-saved-objects-base-server-internal title: "@kbn/core-saved-objects-base-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-saved-objects-base-server-internal plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-saved-objects-base-server-internal'] --- import kbnCoreSavedObjectsBaseServerInternalObj from './kbn_core_saved_objects_base_server_internal.devdocs.json'; diff --git a/api_docs/kbn_core_saved_objects_base_server_mocks.mdx b/api_docs/kbn_core_saved_objects_base_server_mocks.mdx index 9b81e3b427e62..aceea904048ea 100644 --- a/api_docs/kbn_core_saved_objects_base_server_mocks.mdx +++ b/api_docs/kbn_core_saved_objects_base_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-saved-objects-base-server-mocks title: "@kbn/core-saved-objects-base-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-saved-objects-base-server-mocks plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-saved-objects-base-server-mocks'] --- import kbnCoreSavedObjectsBaseServerMocksObj from './kbn_core_saved_objects_base_server_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_saved_objects_browser.mdx b/api_docs/kbn_core_saved_objects_browser.mdx index c06dc5d4076b2..0b1cd0d68df39 100644 --- a/api_docs/kbn_core_saved_objects_browser.mdx +++ b/api_docs/kbn_core_saved_objects_browser.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-saved-objects-browser title: "@kbn/core-saved-objects-browser" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-saved-objects-browser plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-saved-objects-browser'] --- import kbnCoreSavedObjectsBrowserObj from './kbn_core_saved_objects_browser.devdocs.json'; diff --git a/api_docs/kbn_core_saved_objects_browser_internal.mdx b/api_docs/kbn_core_saved_objects_browser_internal.mdx index 5db0bbc0a079e..c7f0cbd913ab7 100644 --- a/api_docs/kbn_core_saved_objects_browser_internal.mdx +++ b/api_docs/kbn_core_saved_objects_browser_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-saved-objects-browser-internal title: "@kbn/core-saved-objects-browser-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-saved-objects-browser-internal plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-saved-objects-browser-internal'] --- import kbnCoreSavedObjectsBrowserInternalObj from './kbn_core_saved_objects_browser_internal.devdocs.json'; diff --git a/api_docs/kbn_core_saved_objects_browser_mocks.mdx b/api_docs/kbn_core_saved_objects_browser_mocks.mdx index 1cca73c555166..f8ffecbf4858f 100644 --- a/api_docs/kbn_core_saved_objects_browser_mocks.mdx +++ b/api_docs/kbn_core_saved_objects_browser_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-saved-objects-browser-mocks title: "@kbn/core-saved-objects-browser-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-saved-objects-browser-mocks plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-saved-objects-browser-mocks'] --- import kbnCoreSavedObjectsBrowserMocksObj from './kbn_core_saved_objects_browser_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_saved_objects_common.mdx b/api_docs/kbn_core_saved_objects_common.mdx index 576d0cdabe58b..08ea4504ae056 100644 --- a/api_docs/kbn_core_saved_objects_common.mdx +++ b/api_docs/kbn_core_saved_objects_common.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-saved-objects-common title: "@kbn/core-saved-objects-common" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-saved-objects-common plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-saved-objects-common'] --- import kbnCoreSavedObjectsCommonObj from './kbn_core_saved_objects_common.devdocs.json'; diff --git a/api_docs/kbn_core_saved_objects_import_export_server_internal.mdx b/api_docs/kbn_core_saved_objects_import_export_server_internal.mdx index a3dced43097c3..35d311b811539 100644 --- a/api_docs/kbn_core_saved_objects_import_export_server_internal.mdx +++ b/api_docs/kbn_core_saved_objects_import_export_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-saved-objects-import-export-server-internal title: "@kbn/core-saved-objects-import-export-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-saved-objects-import-export-server-internal plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-saved-objects-import-export-server-internal'] --- import kbnCoreSavedObjectsImportExportServerInternalObj from './kbn_core_saved_objects_import_export_server_internal.devdocs.json'; diff --git a/api_docs/kbn_core_saved_objects_import_export_server_mocks.mdx b/api_docs/kbn_core_saved_objects_import_export_server_mocks.mdx index 02fab692697f0..8796c4c6718dd 100644 --- a/api_docs/kbn_core_saved_objects_import_export_server_mocks.mdx +++ b/api_docs/kbn_core_saved_objects_import_export_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-saved-objects-import-export-server-mocks title: "@kbn/core-saved-objects-import-export-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-saved-objects-import-export-server-mocks plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-saved-objects-import-export-server-mocks'] --- import kbnCoreSavedObjectsImportExportServerMocksObj from './kbn_core_saved_objects_import_export_server_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_saved_objects_migration_server_internal.mdx b/api_docs/kbn_core_saved_objects_migration_server_internal.mdx index b6882a10365e6..9589c6282a904 100644 --- a/api_docs/kbn_core_saved_objects_migration_server_internal.mdx +++ b/api_docs/kbn_core_saved_objects_migration_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-saved-objects-migration-server-internal title: "@kbn/core-saved-objects-migration-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-saved-objects-migration-server-internal plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-saved-objects-migration-server-internal'] --- import kbnCoreSavedObjectsMigrationServerInternalObj from './kbn_core_saved_objects_migration_server_internal.devdocs.json'; diff --git a/api_docs/kbn_core_saved_objects_migration_server_mocks.mdx b/api_docs/kbn_core_saved_objects_migration_server_mocks.mdx index 825a9cfdbf47c..412f0d3efe9bf 100644 --- a/api_docs/kbn_core_saved_objects_migration_server_mocks.mdx +++ b/api_docs/kbn_core_saved_objects_migration_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-saved-objects-migration-server-mocks title: "@kbn/core-saved-objects-migration-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-saved-objects-migration-server-mocks plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-saved-objects-migration-server-mocks'] --- import kbnCoreSavedObjectsMigrationServerMocksObj from './kbn_core_saved_objects_migration_server_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_saved_objects_server.mdx b/api_docs/kbn_core_saved_objects_server.mdx index 3e70e50ce5a64..b980e842353f1 100644 --- a/api_docs/kbn_core_saved_objects_server.mdx +++ b/api_docs/kbn_core_saved_objects_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-saved-objects-server title: "@kbn/core-saved-objects-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-saved-objects-server plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-saved-objects-server'] --- import kbnCoreSavedObjectsServerObj from './kbn_core_saved_objects_server.devdocs.json'; diff --git a/api_docs/kbn_core_saved_objects_server_internal.mdx b/api_docs/kbn_core_saved_objects_server_internal.mdx index 1758723983f4f..0aa26d6fce0de 100644 --- a/api_docs/kbn_core_saved_objects_server_internal.mdx +++ b/api_docs/kbn_core_saved_objects_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-saved-objects-server-internal title: "@kbn/core-saved-objects-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-saved-objects-server-internal plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-saved-objects-server-internal'] --- import kbnCoreSavedObjectsServerInternalObj from './kbn_core_saved_objects_server_internal.devdocs.json'; diff --git a/api_docs/kbn_core_saved_objects_server_mocks.mdx b/api_docs/kbn_core_saved_objects_server_mocks.mdx index 5867fe1a9c8ea..622397aa9bf0b 100644 --- a/api_docs/kbn_core_saved_objects_server_mocks.mdx +++ b/api_docs/kbn_core_saved_objects_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-saved-objects-server-mocks title: "@kbn/core-saved-objects-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-saved-objects-server-mocks plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-saved-objects-server-mocks'] --- import kbnCoreSavedObjectsServerMocksObj from './kbn_core_saved_objects_server_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_saved_objects_utils_server.mdx b/api_docs/kbn_core_saved_objects_utils_server.mdx index 83329b85a0122..f1b4db51e30d0 100644 --- a/api_docs/kbn_core_saved_objects_utils_server.mdx +++ b/api_docs/kbn_core_saved_objects_utils_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-saved-objects-utils-server title: "@kbn/core-saved-objects-utils-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-saved-objects-utils-server plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-saved-objects-utils-server'] --- import kbnCoreSavedObjectsUtilsServerObj from './kbn_core_saved_objects_utils_server.devdocs.json'; diff --git a/api_docs/kbn_core_security_browser.mdx b/api_docs/kbn_core_security_browser.mdx index 34223938c17b7..945a476d4b6d9 100644 --- a/api_docs/kbn_core_security_browser.mdx +++ b/api_docs/kbn_core_security_browser.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-security-browser title: "@kbn/core-security-browser" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-security-browser plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-security-browser'] --- import kbnCoreSecurityBrowserObj from './kbn_core_security_browser.devdocs.json'; diff --git a/api_docs/kbn_core_security_browser_internal.mdx b/api_docs/kbn_core_security_browser_internal.mdx index b0107538de00a..17b8a6c3dba6b 100644 --- a/api_docs/kbn_core_security_browser_internal.mdx +++ b/api_docs/kbn_core_security_browser_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-security-browser-internal title: "@kbn/core-security-browser-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-security-browser-internal plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-security-browser-internal'] --- import kbnCoreSecurityBrowserInternalObj from './kbn_core_security_browser_internal.devdocs.json'; diff --git a/api_docs/kbn_core_security_browser_mocks.mdx b/api_docs/kbn_core_security_browser_mocks.mdx index c12537fce30bc..2ded2e16b28de 100644 --- a/api_docs/kbn_core_security_browser_mocks.mdx +++ b/api_docs/kbn_core_security_browser_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-security-browser-mocks title: "@kbn/core-security-browser-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-security-browser-mocks plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-security-browser-mocks'] --- import kbnCoreSecurityBrowserMocksObj from './kbn_core_security_browser_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_security_common.mdx b/api_docs/kbn_core_security_common.mdx index e06dcc5542e0b..15327e540d226 100644 --- a/api_docs/kbn_core_security_common.mdx +++ b/api_docs/kbn_core_security_common.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-security-common title: "@kbn/core-security-common" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-security-common plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-security-common'] --- import kbnCoreSecurityCommonObj from './kbn_core_security_common.devdocs.json'; diff --git a/api_docs/kbn_core_security_server.mdx b/api_docs/kbn_core_security_server.mdx index d23551c25dd41..a1a0d476b636d 100644 --- a/api_docs/kbn_core_security_server.mdx +++ b/api_docs/kbn_core_security_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-security-server title: "@kbn/core-security-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-security-server plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-security-server'] --- import kbnCoreSecurityServerObj from './kbn_core_security_server.devdocs.json'; diff --git a/api_docs/kbn_core_security_server_internal.mdx b/api_docs/kbn_core_security_server_internal.mdx index 12bf05b534a01..a38ed6a151c73 100644 --- a/api_docs/kbn_core_security_server_internal.mdx +++ b/api_docs/kbn_core_security_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-security-server-internal title: "@kbn/core-security-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-security-server-internal plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-security-server-internal'] --- import kbnCoreSecurityServerInternalObj from './kbn_core_security_server_internal.devdocs.json'; diff --git a/api_docs/kbn_core_security_server_mocks.mdx b/api_docs/kbn_core_security_server_mocks.mdx index d545eb8958bf0..d34f5832d85bd 100644 --- a/api_docs/kbn_core_security_server_mocks.mdx +++ b/api_docs/kbn_core_security_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-security-server-mocks title: "@kbn/core-security-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-security-server-mocks plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-security-server-mocks'] --- import kbnCoreSecurityServerMocksObj from './kbn_core_security_server_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_status_common.mdx b/api_docs/kbn_core_status_common.mdx index 5d2c24b51e9e6..0ec41a19ac869 100644 --- a/api_docs/kbn_core_status_common.mdx +++ b/api_docs/kbn_core_status_common.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-status-common title: "@kbn/core-status-common" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-status-common plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-status-common'] --- import kbnCoreStatusCommonObj from './kbn_core_status_common.devdocs.json'; diff --git a/api_docs/kbn_core_status_common_internal.mdx b/api_docs/kbn_core_status_common_internal.mdx index d56c3c7dd0ae5..b0623a88cb07d 100644 --- a/api_docs/kbn_core_status_common_internal.mdx +++ b/api_docs/kbn_core_status_common_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-status-common-internal title: "@kbn/core-status-common-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-status-common-internal plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-status-common-internal'] --- import kbnCoreStatusCommonInternalObj from './kbn_core_status_common_internal.devdocs.json'; diff --git a/api_docs/kbn_core_status_server.mdx b/api_docs/kbn_core_status_server.mdx index e1d62cbd64401..cb065d746302a 100644 --- a/api_docs/kbn_core_status_server.mdx +++ b/api_docs/kbn_core_status_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-status-server title: "@kbn/core-status-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-status-server plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-status-server'] --- import kbnCoreStatusServerObj from './kbn_core_status_server.devdocs.json'; diff --git a/api_docs/kbn_core_status_server_internal.mdx b/api_docs/kbn_core_status_server_internal.mdx index bd6155bf8e911..52e78dc950d0e 100644 --- a/api_docs/kbn_core_status_server_internal.mdx +++ b/api_docs/kbn_core_status_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-status-server-internal title: "@kbn/core-status-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-status-server-internal plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-status-server-internal'] --- import kbnCoreStatusServerInternalObj from './kbn_core_status_server_internal.devdocs.json'; diff --git a/api_docs/kbn_core_status_server_mocks.mdx b/api_docs/kbn_core_status_server_mocks.mdx index 5b6bb9bb91ac2..e28c464c6f157 100644 --- a/api_docs/kbn_core_status_server_mocks.mdx +++ b/api_docs/kbn_core_status_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-status-server-mocks title: "@kbn/core-status-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-status-server-mocks plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-status-server-mocks'] --- import kbnCoreStatusServerMocksObj from './kbn_core_status_server_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_test_helpers_deprecations_getters.mdx b/api_docs/kbn_core_test_helpers_deprecations_getters.mdx index d45ed14699943..0183b61d2316a 100644 --- a/api_docs/kbn_core_test_helpers_deprecations_getters.mdx +++ b/api_docs/kbn_core_test_helpers_deprecations_getters.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-test-helpers-deprecations-getters title: "@kbn/core-test-helpers-deprecations-getters" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-test-helpers-deprecations-getters plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-test-helpers-deprecations-getters'] --- import kbnCoreTestHelpersDeprecationsGettersObj from './kbn_core_test_helpers_deprecations_getters.devdocs.json'; diff --git a/api_docs/kbn_core_test_helpers_http_setup_browser.mdx b/api_docs/kbn_core_test_helpers_http_setup_browser.mdx index 7322862d6a9f4..ab1646b29579f 100644 --- a/api_docs/kbn_core_test_helpers_http_setup_browser.mdx +++ b/api_docs/kbn_core_test_helpers_http_setup_browser.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-test-helpers-http-setup-browser title: "@kbn/core-test-helpers-http-setup-browser" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-test-helpers-http-setup-browser plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-test-helpers-http-setup-browser'] --- import kbnCoreTestHelpersHttpSetupBrowserObj from './kbn_core_test_helpers_http_setup_browser.devdocs.json'; diff --git a/api_docs/kbn_core_test_helpers_kbn_server.mdx b/api_docs/kbn_core_test_helpers_kbn_server.mdx index b9416f5fe40c7..a3aeca2b1e37d 100644 --- a/api_docs/kbn_core_test_helpers_kbn_server.mdx +++ b/api_docs/kbn_core_test_helpers_kbn_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-test-helpers-kbn-server title: "@kbn/core-test-helpers-kbn-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-test-helpers-kbn-server plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-test-helpers-kbn-server'] --- import kbnCoreTestHelpersKbnServerObj from './kbn_core_test_helpers_kbn_server.devdocs.json'; diff --git a/api_docs/kbn_core_test_helpers_model_versions.mdx b/api_docs/kbn_core_test_helpers_model_versions.mdx index ddd6809429126..9fee5ee1ae727 100644 --- a/api_docs/kbn_core_test_helpers_model_versions.mdx +++ b/api_docs/kbn_core_test_helpers_model_versions.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-test-helpers-model-versions title: "@kbn/core-test-helpers-model-versions" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-test-helpers-model-versions plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-test-helpers-model-versions'] --- import kbnCoreTestHelpersModelVersionsObj from './kbn_core_test_helpers_model_versions.devdocs.json'; diff --git a/api_docs/kbn_core_test_helpers_so_type_serializer.mdx b/api_docs/kbn_core_test_helpers_so_type_serializer.mdx index b71ded742d2e9..c6077ebf66d8a 100644 --- a/api_docs/kbn_core_test_helpers_so_type_serializer.mdx +++ b/api_docs/kbn_core_test_helpers_so_type_serializer.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-test-helpers-so-type-serializer title: "@kbn/core-test-helpers-so-type-serializer" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-test-helpers-so-type-serializer plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-test-helpers-so-type-serializer'] --- import kbnCoreTestHelpersSoTypeSerializerObj from './kbn_core_test_helpers_so_type_serializer.devdocs.json'; diff --git a/api_docs/kbn_core_test_helpers_test_utils.mdx b/api_docs/kbn_core_test_helpers_test_utils.mdx index 1b16aeea7ba6e..a6f598a82a738 100644 --- a/api_docs/kbn_core_test_helpers_test_utils.mdx +++ b/api_docs/kbn_core_test_helpers_test_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-test-helpers-test-utils title: "@kbn/core-test-helpers-test-utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-test-helpers-test-utils plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-test-helpers-test-utils'] --- import kbnCoreTestHelpersTestUtilsObj from './kbn_core_test_helpers_test_utils.devdocs.json'; diff --git a/api_docs/kbn_core_theme_browser.mdx b/api_docs/kbn_core_theme_browser.mdx index 4c415c277e455..91a3ddd3bc6fc 100644 --- a/api_docs/kbn_core_theme_browser.mdx +++ b/api_docs/kbn_core_theme_browser.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-theme-browser title: "@kbn/core-theme-browser" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-theme-browser plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-theme-browser'] --- import kbnCoreThemeBrowserObj from './kbn_core_theme_browser.devdocs.json'; diff --git a/api_docs/kbn_core_theme_browser_mocks.mdx b/api_docs/kbn_core_theme_browser_mocks.mdx index 6132f837e3440..0e54dfb75d1d6 100644 --- a/api_docs/kbn_core_theme_browser_mocks.mdx +++ b/api_docs/kbn_core_theme_browser_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-theme-browser-mocks title: "@kbn/core-theme-browser-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-theme-browser-mocks plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-theme-browser-mocks'] --- import kbnCoreThemeBrowserMocksObj from './kbn_core_theme_browser_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_ui_settings_browser.mdx b/api_docs/kbn_core_ui_settings_browser.mdx index cc83566987672..8605bc4c1d151 100644 --- a/api_docs/kbn_core_ui_settings_browser.mdx +++ b/api_docs/kbn_core_ui_settings_browser.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-ui-settings-browser title: "@kbn/core-ui-settings-browser" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-ui-settings-browser plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-ui-settings-browser'] --- import kbnCoreUiSettingsBrowserObj from './kbn_core_ui_settings_browser.devdocs.json'; diff --git a/api_docs/kbn_core_ui_settings_browser_internal.mdx b/api_docs/kbn_core_ui_settings_browser_internal.mdx index 6c27bbaa664b3..5989b74f84334 100644 --- a/api_docs/kbn_core_ui_settings_browser_internal.mdx +++ b/api_docs/kbn_core_ui_settings_browser_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-ui-settings-browser-internal title: "@kbn/core-ui-settings-browser-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-ui-settings-browser-internal plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-ui-settings-browser-internal'] --- import kbnCoreUiSettingsBrowserInternalObj from './kbn_core_ui_settings_browser_internal.devdocs.json'; diff --git a/api_docs/kbn_core_ui_settings_browser_mocks.mdx b/api_docs/kbn_core_ui_settings_browser_mocks.mdx index b80a8859bd81d..2ca26795df19f 100644 --- a/api_docs/kbn_core_ui_settings_browser_mocks.mdx +++ b/api_docs/kbn_core_ui_settings_browser_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-ui-settings-browser-mocks title: "@kbn/core-ui-settings-browser-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-ui-settings-browser-mocks plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-ui-settings-browser-mocks'] --- import kbnCoreUiSettingsBrowserMocksObj from './kbn_core_ui_settings_browser_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_ui_settings_common.mdx b/api_docs/kbn_core_ui_settings_common.mdx index 43cf0e5db2de2..09b15990b0b85 100644 --- a/api_docs/kbn_core_ui_settings_common.mdx +++ b/api_docs/kbn_core_ui_settings_common.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-ui-settings-common title: "@kbn/core-ui-settings-common" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-ui-settings-common plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-ui-settings-common'] --- import kbnCoreUiSettingsCommonObj from './kbn_core_ui_settings_common.devdocs.json'; diff --git a/api_docs/kbn_core_ui_settings_server.mdx b/api_docs/kbn_core_ui_settings_server.mdx index d05b422cd3e07..54a22f933ed54 100644 --- a/api_docs/kbn_core_ui_settings_server.mdx +++ b/api_docs/kbn_core_ui_settings_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-ui-settings-server title: "@kbn/core-ui-settings-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-ui-settings-server plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-ui-settings-server'] --- import kbnCoreUiSettingsServerObj from './kbn_core_ui_settings_server.devdocs.json'; diff --git a/api_docs/kbn_core_ui_settings_server_internal.mdx b/api_docs/kbn_core_ui_settings_server_internal.mdx index b50fa86d14e70..af3a597986bfc 100644 --- a/api_docs/kbn_core_ui_settings_server_internal.mdx +++ b/api_docs/kbn_core_ui_settings_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-ui-settings-server-internal title: "@kbn/core-ui-settings-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-ui-settings-server-internal plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-ui-settings-server-internal'] --- import kbnCoreUiSettingsServerInternalObj from './kbn_core_ui_settings_server_internal.devdocs.json'; diff --git a/api_docs/kbn_core_ui_settings_server_mocks.mdx b/api_docs/kbn_core_ui_settings_server_mocks.mdx index 8ce6736b80587..ea49a48624e17 100644 --- a/api_docs/kbn_core_ui_settings_server_mocks.mdx +++ b/api_docs/kbn_core_ui_settings_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-ui-settings-server-mocks title: "@kbn/core-ui-settings-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-ui-settings-server-mocks plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-ui-settings-server-mocks'] --- import kbnCoreUiSettingsServerMocksObj from './kbn_core_ui_settings_server_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_usage_data_server.mdx b/api_docs/kbn_core_usage_data_server.mdx index 75ea7e395194b..f92d069605254 100644 --- a/api_docs/kbn_core_usage_data_server.mdx +++ b/api_docs/kbn_core_usage_data_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-usage-data-server title: "@kbn/core-usage-data-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-usage-data-server plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-usage-data-server'] --- import kbnCoreUsageDataServerObj from './kbn_core_usage_data_server.devdocs.json'; diff --git a/api_docs/kbn_core_usage_data_server_internal.mdx b/api_docs/kbn_core_usage_data_server_internal.mdx index 69f4768bb4800..2d9e92b954498 100644 --- a/api_docs/kbn_core_usage_data_server_internal.mdx +++ b/api_docs/kbn_core_usage_data_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-usage-data-server-internal title: "@kbn/core-usage-data-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-usage-data-server-internal plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-usage-data-server-internal'] --- import kbnCoreUsageDataServerInternalObj from './kbn_core_usage_data_server_internal.devdocs.json'; diff --git a/api_docs/kbn_core_usage_data_server_mocks.mdx b/api_docs/kbn_core_usage_data_server_mocks.mdx index e8d4b2d1c32ea..1fc4fe2906bee 100644 --- a/api_docs/kbn_core_usage_data_server_mocks.mdx +++ b/api_docs/kbn_core_usage_data_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-usage-data-server-mocks title: "@kbn/core-usage-data-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-usage-data-server-mocks plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-usage-data-server-mocks'] --- import kbnCoreUsageDataServerMocksObj from './kbn_core_usage_data_server_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_user_profile_browser.mdx b/api_docs/kbn_core_user_profile_browser.mdx index f6e9db0fd77b7..556194b84e33a 100644 --- a/api_docs/kbn_core_user_profile_browser.mdx +++ b/api_docs/kbn_core_user_profile_browser.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-user-profile-browser title: "@kbn/core-user-profile-browser" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-user-profile-browser plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-user-profile-browser'] --- import kbnCoreUserProfileBrowserObj from './kbn_core_user_profile_browser.devdocs.json'; diff --git a/api_docs/kbn_core_user_profile_browser_internal.mdx b/api_docs/kbn_core_user_profile_browser_internal.mdx index b2b11e96affed..1980b4982df70 100644 --- a/api_docs/kbn_core_user_profile_browser_internal.mdx +++ b/api_docs/kbn_core_user_profile_browser_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-user-profile-browser-internal title: "@kbn/core-user-profile-browser-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-user-profile-browser-internal plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-user-profile-browser-internal'] --- import kbnCoreUserProfileBrowserInternalObj from './kbn_core_user_profile_browser_internal.devdocs.json'; diff --git a/api_docs/kbn_core_user_profile_browser_mocks.mdx b/api_docs/kbn_core_user_profile_browser_mocks.mdx index b69da93cd9676..19c6664ff8acc 100644 --- a/api_docs/kbn_core_user_profile_browser_mocks.mdx +++ b/api_docs/kbn_core_user_profile_browser_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-user-profile-browser-mocks title: "@kbn/core-user-profile-browser-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-user-profile-browser-mocks plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-user-profile-browser-mocks'] --- import kbnCoreUserProfileBrowserMocksObj from './kbn_core_user_profile_browser_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_user_profile_common.mdx b/api_docs/kbn_core_user_profile_common.mdx index 5954c5225a82f..8f2cb259fe5dc 100644 --- a/api_docs/kbn_core_user_profile_common.mdx +++ b/api_docs/kbn_core_user_profile_common.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-user-profile-common title: "@kbn/core-user-profile-common" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-user-profile-common plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-user-profile-common'] --- import kbnCoreUserProfileCommonObj from './kbn_core_user_profile_common.devdocs.json'; diff --git a/api_docs/kbn_core_user_profile_server.mdx b/api_docs/kbn_core_user_profile_server.mdx index a2da9228ab8d1..c86c247a5367a 100644 --- a/api_docs/kbn_core_user_profile_server.mdx +++ b/api_docs/kbn_core_user_profile_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-user-profile-server title: "@kbn/core-user-profile-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-user-profile-server plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-user-profile-server'] --- import kbnCoreUserProfileServerObj from './kbn_core_user_profile_server.devdocs.json'; diff --git a/api_docs/kbn_core_user_profile_server_internal.mdx b/api_docs/kbn_core_user_profile_server_internal.mdx index 17185b7727ecd..20b2cec363159 100644 --- a/api_docs/kbn_core_user_profile_server_internal.mdx +++ b/api_docs/kbn_core_user_profile_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-user-profile-server-internal title: "@kbn/core-user-profile-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-user-profile-server-internal plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-user-profile-server-internal'] --- import kbnCoreUserProfileServerInternalObj from './kbn_core_user_profile_server_internal.devdocs.json'; diff --git a/api_docs/kbn_core_user_profile_server_mocks.mdx b/api_docs/kbn_core_user_profile_server_mocks.mdx index 48785316af974..80d97fb2d5b01 100644 --- a/api_docs/kbn_core_user_profile_server_mocks.mdx +++ b/api_docs/kbn_core_user_profile_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-user-profile-server-mocks title: "@kbn/core-user-profile-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-user-profile-server-mocks plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-user-profile-server-mocks'] --- import kbnCoreUserProfileServerMocksObj from './kbn_core_user_profile_server_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_user_settings_server.mdx b/api_docs/kbn_core_user_settings_server.mdx index c09b1cc6d4bb3..1e4fd4a4981cc 100644 --- a/api_docs/kbn_core_user_settings_server.mdx +++ b/api_docs/kbn_core_user_settings_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-user-settings-server title: "@kbn/core-user-settings-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-user-settings-server plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-user-settings-server'] --- import kbnCoreUserSettingsServerObj from './kbn_core_user_settings_server.devdocs.json'; diff --git a/api_docs/kbn_core_user_settings_server_mocks.mdx b/api_docs/kbn_core_user_settings_server_mocks.mdx index fb0b59ff683fc..924a103a9b901 100644 --- a/api_docs/kbn_core_user_settings_server_mocks.mdx +++ b/api_docs/kbn_core_user_settings_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-user-settings-server-mocks title: "@kbn/core-user-settings-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-user-settings-server-mocks plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-user-settings-server-mocks'] --- import kbnCoreUserSettingsServerMocksObj from './kbn_core_user_settings_server_mocks.devdocs.json'; diff --git a/api_docs/kbn_crypto.mdx b/api_docs/kbn_crypto.mdx index 8b7aade236c0b..96dd7deafec78 100644 --- a/api_docs/kbn_crypto.mdx +++ b/api_docs/kbn_crypto.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-crypto title: "@kbn/crypto" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/crypto plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/crypto'] --- import kbnCryptoObj from './kbn_crypto.devdocs.json'; diff --git a/api_docs/kbn_crypto_browser.mdx b/api_docs/kbn_crypto_browser.mdx index 485a0486c57a9..601dca0b15ab9 100644 --- a/api_docs/kbn_crypto_browser.mdx +++ b/api_docs/kbn_crypto_browser.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-crypto-browser title: "@kbn/crypto-browser" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/crypto-browser plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/crypto-browser'] --- import kbnCryptoBrowserObj from './kbn_crypto_browser.devdocs.json'; diff --git a/api_docs/kbn_custom_icons.mdx b/api_docs/kbn_custom_icons.mdx index de56c69a33bec..70464ca10ed4b 100644 --- a/api_docs/kbn_custom_icons.mdx +++ b/api_docs/kbn_custom_icons.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-custom-icons title: "@kbn/custom-icons" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/custom-icons plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/custom-icons'] --- import kbnCustomIconsObj from './kbn_custom_icons.devdocs.json'; diff --git a/api_docs/kbn_custom_integrations.mdx b/api_docs/kbn_custom_integrations.mdx index 51bd27635fccb..676f2bff1fa8b 100644 --- a/api_docs/kbn_custom_integrations.mdx +++ b/api_docs/kbn_custom_integrations.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-custom-integrations title: "@kbn/custom-integrations" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/custom-integrations plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/custom-integrations'] --- import kbnCustomIntegrationsObj from './kbn_custom_integrations.devdocs.json'; diff --git a/api_docs/kbn_cypress_config.mdx b/api_docs/kbn_cypress_config.mdx index 63acca223bb10..cbc109e89f2e4 100644 --- a/api_docs/kbn_cypress_config.mdx +++ b/api_docs/kbn_cypress_config.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-cypress-config title: "@kbn/cypress-config" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/cypress-config plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/cypress-config'] --- import kbnCypressConfigObj from './kbn_cypress_config.devdocs.json'; diff --git a/api_docs/kbn_data_forge.devdocs.json b/api_docs/kbn_data_forge.devdocs.json index 232f42faa35b7..a63fbed88a4d5 100644 --- a/api_docs/kbn_data_forge.devdocs.json +++ b/api_docs/kbn_data_forge.devdocs.json @@ -29,7 +29,7 @@ "signature": [ "({\n client,\n config: partialConfig,\n logger,\n}: { client: ", "default", - "; config: { elasticsearch?: { host?: string | undefined; username?: string | undefined; password?: string | undefined; apiKey?: string | undefined; installKibanaUser?: boolean | undefined; } | undefined; kibana?: { host?: string | undefined; username?: string | undefined; password?: string | undefined; installAssets?: boolean | undefined; } | undefined; indexing?: { dataset?: \"fake_hosts\" | \"fake_logs\" | \"fake_stack\" | undefined; scenario?: string | undefined; interval?: number | undefined; eventsPerCycle?: number | undefined; payloadSize?: number | undefined; concurrency?: number | undefined; reduceWeekendTrafficBy?: number | undefined; ephemeralProjectIds?: number | undefined; alignEventsToInterval?: boolean | undefined; } | undefined; schedule?: ({ template: string; start: string; end: string | boolean; } & { eventsPerCycle?: number | ({ start: number; end: number; method: \"linear\" | \"exp\" | \"sine\"; } & { options?: { period?: number | undefined; } | undefined; }) | undefined; interval?: number | undefined; delayInMinutes?: number | undefined; delayEveryMinutes?: number | undefined; randomness?: number | undefined; metrics?: ({ name: string; method: \"linear\" | \"exp\" | \"sine\"; start: number; end: number; } & { period?: number | undefined; randomness?: number | undefined; })[] | undefined; })[] | undefined; }; logger: ", + "; config: { elasticsearch?: { host?: string | undefined; username?: string | undefined; password?: string | undefined; apiKey?: string | undefined; installKibanaUser?: boolean | undefined; } | undefined; kibana?: { host?: string | undefined; username?: string | undefined; password?: string | undefined; installAssets?: boolean | undefined; } | undefined; indexing?: { dataset?: \"fake_hosts\" | \"fake_logs\" | \"fake_stack\" | undefined; scenario?: string | undefined; interval?: number | undefined; eventsPerCycle?: number | undefined; payloadSize?: number | undefined; concurrency?: number | undefined; reduceWeekendTrafficBy?: number | undefined; ephemeralProjectIds?: number | undefined; alignEventsToInterval?: boolean | undefined; artificialIndexDelay?: number | undefined; } | undefined; schedule?: ({ template: string; start: string; end: string | boolean; } & { eventsPerCycle?: number | ({ start: number; end: number; method: \"linear\" | \"exp\" | \"sine\"; } & { options?: { period?: number | undefined; } | undefined; }) | undefined; interval?: number | undefined; delayInMinutes?: number | undefined; delayEveryMinutes?: number | undefined; randomness?: number | undefined; metrics?: ({ name: string; method: \"linear\" | \"exp\" | \"sine\"; start: number; end: number; } & { period?: number | undefined; randomness?: number | undefined; })[] | undefined; })[] | undefined; }; logger: ", { "pluginId": "@kbn/tooling-log", "scope": "common", @@ -76,7 +76,7 @@ "label": "config", "description": [], "signature": [ - "{ elasticsearch?: { host?: string | undefined; username?: string | undefined; password?: string | undefined; apiKey?: string | undefined; installKibanaUser?: boolean | undefined; } | undefined; kibana?: { host?: string | undefined; username?: string | undefined; password?: string | undefined; installAssets?: boolean | undefined; } | undefined; indexing?: { dataset?: \"fake_hosts\" | \"fake_logs\" | \"fake_stack\" | undefined; scenario?: string | undefined; interval?: number | undefined; eventsPerCycle?: number | undefined; payloadSize?: number | undefined; concurrency?: number | undefined; reduceWeekendTrafficBy?: number | undefined; ephemeralProjectIds?: number | undefined; alignEventsToInterval?: boolean | undefined; } | undefined; schedule?: ({ template: string; start: string; end: string | boolean; } & { eventsPerCycle?: number | ({ start: number; end: number; method: \"linear\" | \"exp\" | \"sine\"; } & { options?: { period?: number | undefined; } | undefined; }) | undefined; interval?: number | undefined; delayInMinutes?: number | undefined; delayEveryMinutes?: number | undefined; randomness?: number | undefined; metrics?: ({ name: string; method: \"linear\" | \"exp\" | \"sine\"; start: number; end: number; } & { period?: number | undefined; randomness?: number | undefined; })[] | undefined; })[] | undefined; }" + "{ elasticsearch?: { host?: string | undefined; username?: string | undefined; password?: string | undefined; apiKey?: string | undefined; installKibanaUser?: boolean | undefined; } | undefined; kibana?: { host?: string | undefined; username?: string | undefined; password?: string | undefined; installAssets?: boolean | undefined; } | undefined; indexing?: { dataset?: \"fake_hosts\" | \"fake_logs\" | \"fake_stack\" | undefined; scenario?: string | undefined; interval?: number | undefined; eventsPerCycle?: number | undefined; payloadSize?: number | undefined; concurrency?: number | undefined; reduceWeekendTrafficBy?: number | undefined; ephemeralProjectIds?: number | undefined; alignEventsToInterval?: boolean | undefined; artificialIndexDelay?: number | undefined; } | undefined; schedule?: ({ template: string; start: string; end: string | boolean; } & { eventsPerCycle?: number | ({ start: number; end: number; method: \"linear\" | \"exp\" | \"sine\"; } & { options?: { period?: number | undefined; } | undefined; }) | undefined; interval?: number | undefined; delayInMinutes?: number | undefined; delayEveryMinutes?: number | undefined; randomness?: number | undefined; metrics?: ({ name: string; method: \"linear\" | \"exp\" | \"sine\"; start: number; end: number; } & { period?: number | undefined; randomness?: number | undefined; })[] | undefined; })[] | undefined; }" ], "path": "x-pack/packages/kbn-data-forge/src/cleanup.ts", "deprecated": false, @@ -152,7 +152,7 @@ "label": "createConfig", "description": [], "signature": [ - "(partialConfig: { elasticsearch?: { host?: string | undefined; username?: string | undefined; password?: string | undefined; apiKey?: string | undefined; installKibanaUser?: boolean | undefined; } | undefined; kibana?: { host?: string | undefined; username?: string | undefined; password?: string | undefined; installAssets?: boolean | undefined; } | undefined; indexing?: { dataset?: \"fake_hosts\" | \"fake_logs\" | \"fake_stack\" | undefined; scenario?: string | undefined; interval?: number | undefined; eventsPerCycle?: number | undefined; payloadSize?: number | undefined; concurrency?: number | undefined; reduceWeekendTrafficBy?: number | undefined; ephemeralProjectIds?: number | undefined; alignEventsToInterval?: boolean | undefined; } | undefined; schedule?: ({ template: string; start: string; end: string | boolean; } & { eventsPerCycle?: number | ({ start: number; end: number; method: \"linear\" | \"exp\" | \"sine\"; } & { options?: { period?: number | undefined; } | undefined; }) | undefined; interval?: number | undefined; delayInMinutes?: number | undefined; delayEveryMinutes?: number | undefined; randomness?: number | undefined; metrics?: ({ name: string; method: \"linear\" | \"exp\" | \"sine\"; start: number; end: number; } & { period?: number | undefined; randomness?: number | undefined; })[] | undefined; })[] | undefined; }) => { elasticsearch: { host: string; username: string; password: string; apiKey: string; installKibanaUser: boolean; }; kibana: { host: string; username: string; password: string; installAssets: boolean; }; indexing: { dataset: \"fake_hosts\" | \"fake_logs\" | \"fake_stack\"; scenario: string; interval: number; eventsPerCycle: number; payloadSize: number; concurrency: number; reduceWeekendTrafficBy: number; ephemeralProjectIds: number; alignEventsToInterval: boolean; }; schedule: ({ template: string; start: string; end: string | boolean; } & { eventsPerCycle?: number | ({ start: number; end: number; method: \"linear\" | \"exp\" | \"sine\"; } & { options?: { period?: number | undefined; } | undefined; }) | undefined; interval?: number | undefined; delayInMinutes?: number | undefined; delayEveryMinutes?: number | undefined; randomness?: number | undefined; metrics?: ({ name: string; method: \"linear\" | \"exp\" | \"sine\"; start: number; end: number; } & { period?: number | undefined; randomness?: number | undefined; })[] | undefined; })[]; }" + "(partialConfig: { elasticsearch?: { host?: string | undefined; username?: string | undefined; password?: string | undefined; apiKey?: string | undefined; installKibanaUser?: boolean | undefined; } | undefined; kibana?: { host?: string | undefined; username?: string | undefined; password?: string | undefined; installAssets?: boolean | undefined; } | undefined; indexing?: { dataset?: \"fake_hosts\" | \"fake_logs\" | \"fake_stack\" | undefined; scenario?: string | undefined; interval?: number | undefined; eventsPerCycle?: number | undefined; payloadSize?: number | undefined; concurrency?: number | undefined; reduceWeekendTrafficBy?: number | undefined; ephemeralProjectIds?: number | undefined; alignEventsToInterval?: boolean | undefined; artificialIndexDelay?: number | undefined; } | undefined; schedule?: ({ template: string; start: string; end: string | boolean; } & { eventsPerCycle?: number | ({ start: number; end: number; method: \"linear\" | \"exp\" | \"sine\"; } & { options?: { period?: number | undefined; } | undefined; }) | undefined; interval?: number | undefined; delayInMinutes?: number | undefined; delayEveryMinutes?: number | undefined; randomness?: number | undefined; metrics?: ({ name: string; method: \"linear\" | \"exp\" | \"sine\"; start: number; end: number; } & { period?: number | undefined; randomness?: number | undefined; })[] | undefined; })[] | undefined; }) => { elasticsearch: { host: string; username: string; password: string; apiKey: string; installKibanaUser: boolean; }; kibana: { host: string; username: string; password: string; installAssets: boolean; }; indexing: { dataset: \"fake_hosts\" | \"fake_logs\" | \"fake_stack\"; scenario: string; interval: number; eventsPerCycle: number; payloadSize: number; concurrency: number; reduceWeekendTrafficBy: number; ephemeralProjectIds: number; alignEventsToInterval: boolean; artificialIndexDelay: number; }; schedule: ({ template: string; start: string; end: string | boolean; } & { eventsPerCycle?: number | ({ start: number; end: number; method: \"linear\" | \"exp\" | \"sine\"; } & { options?: { period?: number | undefined; } | undefined; }) | undefined; interval?: number | undefined; delayInMinutes?: number | undefined; delayEveryMinutes?: number | undefined; randomness?: number | undefined; metrics?: ({ name: string; method: \"linear\" | \"exp\" | \"sine\"; start: number; end: number; } & { period?: number | undefined; randomness?: number | undefined; })[] | undefined; })[]; }" ], "path": "x-pack/packages/kbn-data-forge/src/lib/create_config.ts", "deprecated": false, @@ -166,7 +166,7 @@ "label": "partialConfig", "description": [], "signature": [ - "{ elasticsearch?: { host?: string | undefined; username?: string | undefined; password?: string | undefined; apiKey?: string | undefined; installKibanaUser?: boolean | undefined; } | undefined; kibana?: { host?: string | undefined; username?: string | undefined; password?: string | undefined; installAssets?: boolean | undefined; } | undefined; indexing?: { dataset?: \"fake_hosts\" | \"fake_logs\" | \"fake_stack\" | undefined; scenario?: string | undefined; interval?: number | undefined; eventsPerCycle?: number | undefined; payloadSize?: number | undefined; concurrency?: number | undefined; reduceWeekendTrafficBy?: number | undefined; ephemeralProjectIds?: number | undefined; alignEventsToInterval?: boolean | undefined; } | undefined; schedule?: ({ template: string; start: string; end: string | boolean; } & { eventsPerCycle?: number | ({ start: number; end: number; method: \"linear\" | \"exp\" | \"sine\"; } & { options?: { period?: number | undefined; } | undefined; }) | undefined; interval?: number | undefined; delayInMinutes?: number | undefined; delayEveryMinutes?: number | undefined; randomness?: number | undefined; metrics?: ({ name: string; method: \"linear\" | \"exp\" | \"sine\"; start: number; end: number; } & { period?: number | undefined; randomness?: number | undefined; })[] | undefined; })[] | undefined; }" + "{ elasticsearch?: { host?: string | undefined; username?: string | undefined; password?: string | undefined; apiKey?: string | undefined; installKibanaUser?: boolean | undefined; } | undefined; kibana?: { host?: string | undefined; username?: string | undefined; password?: string | undefined; installAssets?: boolean | undefined; } | undefined; indexing?: { dataset?: \"fake_hosts\" | \"fake_logs\" | \"fake_stack\" | undefined; scenario?: string | undefined; interval?: number | undefined; eventsPerCycle?: number | undefined; payloadSize?: number | undefined; concurrency?: number | undefined; reduceWeekendTrafficBy?: number | undefined; ephemeralProjectIds?: number | undefined; alignEventsToInterval?: boolean | undefined; artificialIndexDelay?: number | undefined; } | undefined; schedule?: ({ template: string; start: string; end: string | boolean; } & { eventsPerCycle?: number | ({ start: number; end: number; method: \"linear\" | \"exp\" | \"sine\"; } & { options?: { period?: number | undefined; } | undefined; }) | undefined; interval?: number | undefined; delayInMinutes?: number | undefined; delayEveryMinutes?: number | undefined; randomness?: number | undefined; metrics?: ({ name: string; method: \"linear\" | \"exp\" | \"sine\"; start: number; end: number; } & { period?: number | undefined; randomness?: number | undefined; })[] | undefined; })[] | undefined; }" ], "path": "x-pack/packages/kbn-data-forge/src/lib/create_config.ts", "deprecated": false, @@ -187,7 +187,7 @@ "signature": [ "({ client, config: partialConfig, logger, }: { client: ", "default", - "; config: { elasticsearch?: { host?: string | undefined; username?: string | undefined; password?: string | undefined; apiKey?: string | undefined; installKibanaUser?: boolean | undefined; } | undefined; kibana?: { host?: string | undefined; username?: string | undefined; password?: string | undefined; installAssets?: boolean | undefined; } | undefined; indexing?: { dataset?: \"fake_hosts\" | \"fake_logs\" | \"fake_stack\" | undefined; scenario?: string | undefined; interval?: number | undefined; eventsPerCycle?: number | undefined; payloadSize?: number | undefined; concurrency?: number | undefined; reduceWeekendTrafficBy?: number | undefined; ephemeralProjectIds?: number | undefined; alignEventsToInterval?: boolean | undefined; } | undefined; schedule?: ({ template: string; start: string; end: string | boolean; } & { eventsPerCycle?: number | ({ start: number; end: number; method: \"linear\" | \"exp\" | \"sine\"; } & { options?: { period?: number | undefined; } | undefined; }) | undefined; interval?: number | undefined; delayInMinutes?: number | undefined; delayEveryMinutes?: number | undefined; randomness?: number | undefined; metrics?: ({ name: string; method: \"linear\" | \"exp\" | \"sine\"; start: number; end: number; } & { period?: number | undefined; randomness?: number | undefined; })[] | undefined; })[] | undefined; }; logger: ", + "; config: { elasticsearch?: { host?: string | undefined; username?: string | undefined; password?: string | undefined; apiKey?: string | undefined; installKibanaUser?: boolean | undefined; } | undefined; kibana?: { host?: string | undefined; username?: string | undefined; password?: string | undefined; installAssets?: boolean | undefined; } | undefined; indexing?: { dataset?: \"fake_hosts\" | \"fake_logs\" | \"fake_stack\" | undefined; scenario?: string | undefined; interval?: number | undefined; eventsPerCycle?: number | undefined; payloadSize?: number | undefined; concurrency?: number | undefined; reduceWeekendTrafficBy?: number | undefined; ephemeralProjectIds?: number | undefined; alignEventsToInterval?: boolean | undefined; artificialIndexDelay?: number | undefined; } | undefined; schedule?: ({ template: string; start: string; end: string | boolean; } & { eventsPerCycle?: number | ({ start: number; end: number; method: \"linear\" | \"exp\" | \"sine\"; } & { options?: { period?: number | undefined; } | undefined; }) | undefined; interval?: number | undefined; delayInMinutes?: number | undefined; delayEveryMinutes?: number | undefined; randomness?: number | undefined; metrics?: ({ name: string; method: \"linear\" | \"exp\" | \"sine\"; start: number; end: number; } & { period?: number | undefined; randomness?: number | undefined; })[] | undefined; })[] | undefined; }; logger: ", { "pluginId": "@kbn/tooling-log", "scope": "common", @@ -234,7 +234,7 @@ "label": "config", "description": [], "signature": [ - "{ elasticsearch?: { host?: string | undefined; username?: string | undefined; password?: string | undefined; apiKey?: string | undefined; installKibanaUser?: boolean | undefined; } | undefined; kibana?: { host?: string | undefined; username?: string | undefined; password?: string | undefined; installAssets?: boolean | undefined; } | undefined; indexing?: { dataset?: \"fake_hosts\" | \"fake_logs\" | \"fake_stack\" | undefined; scenario?: string | undefined; interval?: number | undefined; eventsPerCycle?: number | undefined; payloadSize?: number | undefined; concurrency?: number | undefined; reduceWeekendTrafficBy?: number | undefined; ephemeralProjectIds?: number | undefined; alignEventsToInterval?: boolean | undefined; } | undefined; schedule?: ({ template: string; start: string; end: string | boolean; } & { eventsPerCycle?: number | ({ start: number; end: number; method: \"linear\" | \"exp\" | \"sine\"; } & { options?: { period?: number | undefined; } | undefined; }) | undefined; interval?: number | undefined; delayInMinutes?: number | undefined; delayEveryMinutes?: number | undefined; randomness?: number | undefined; metrics?: ({ name: string; method: \"linear\" | \"exp\" | \"sine\"; start: number; end: number; } & { period?: number | undefined; randomness?: number | undefined; })[] | undefined; })[] | undefined; }" + "{ elasticsearch?: { host?: string | undefined; username?: string | undefined; password?: string | undefined; apiKey?: string | undefined; installKibanaUser?: boolean | undefined; } | undefined; kibana?: { host?: string | undefined; username?: string | undefined; password?: string | undefined; installAssets?: boolean | undefined; } | undefined; indexing?: { dataset?: \"fake_hosts\" | \"fake_logs\" | \"fake_stack\" | undefined; scenario?: string | undefined; interval?: number | undefined; eventsPerCycle?: number | undefined; payloadSize?: number | undefined; concurrency?: number | undefined; reduceWeekendTrafficBy?: number | undefined; ephemeralProjectIds?: number | undefined; alignEventsToInterval?: boolean | undefined; artificialIndexDelay?: number | undefined; } | undefined; schedule?: ({ template: string; start: string; end: string | boolean; } & { eventsPerCycle?: number | ({ start: number; end: number; method: \"linear\" | \"exp\" | \"sine\"; } & { options?: { period?: number | undefined; } | undefined; }) | undefined; interval?: number | undefined; delayInMinutes?: number | undefined; delayEveryMinutes?: number | undefined; randomness?: number | undefined; metrics?: ({ name: string; method: \"linear\" | \"exp\" | \"sine\"; start: number; end: number; } & { period?: number | undefined; randomness?: number | undefined; })[] | undefined; })[] | undefined; }" ], "path": "x-pack/packages/kbn-data-forge/src/generate.ts", "deprecated": false, @@ -274,7 +274,7 @@ "label": "readConfig", "description": [], "signature": [ - "(filePath: string) => Promise<{ elasticsearch?: { host?: string | undefined; username?: string | undefined; password?: string | undefined; apiKey?: string | undefined; installKibanaUser?: boolean | undefined; } | undefined; kibana?: { host?: string | undefined; username?: string | undefined; password?: string | undefined; installAssets?: boolean | undefined; } | undefined; indexing?: { dataset?: \"fake_hosts\" | \"fake_logs\" | \"fake_stack\" | undefined; scenario?: string | undefined; interval?: number | undefined; eventsPerCycle?: number | undefined; payloadSize?: number | undefined; concurrency?: number | undefined; reduceWeekendTrafficBy?: number | undefined; ephemeralProjectIds?: number | undefined; alignEventsToInterval?: boolean | undefined; } | undefined; schedule?: ({ template: string; start: string; end: string | boolean; } & { eventsPerCycle?: number | ({ start: number; end: number; method: \"linear\" | \"exp\" | \"sine\"; } & { options?: { period?: number | undefined; } | undefined; }) | undefined; interval?: number | undefined; delayInMinutes?: number | undefined; delayEveryMinutes?: number | undefined; randomness?: number | undefined; metrics?: ({ name: string; method: \"linear\" | \"exp\" | \"sine\"; start: number; end: number; } & { period?: number | undefined; randomness?: number | undefined; })[] | undefined; })[] | undefined; }>" + "(filePath: string) => Promise<{ elasticsearch?: { host?: string | undefined; username?: string | undefined; password?: string | undefined; apiKey?: string | undefined; installKibanaUser?: boolean | undefined; } | undefined; kibana?: { host?: string | undefined; username?: string | undefined; password?: string | undefined; installAssets?: boolean | undefined; } | undefined; indexing?: { dataset?: \"fake_hosts\" | \"fake_logs\" | \"fake_stack\" | undefined; scenario?: string | undefined; interval?: number | undefined; eventsPerCycle?: number | undefined; payloadSize?: number | undefined; concurrency?: number | undefined; reduceWeekendTrafficBy?: number | undefined; ephemeralProjectIds?: number | undefined; alignEventsToInterval?: boolean | undefined; artificialIndexDelay?: number | undefined; } | undefined; schedule?: ({ template: string; start: string; end: string | boolean; } & { eventsPerCycle?: number | ({ start: number; end: number; method: \"linear\" | \"exp\" | \"sine\"; } & { options?: { period?: number | undefined; } | undefined; }) | undefined; interval?: number | undefined; delayInMinutes?: number | undefined; delayEveryMinutes?: number | undefined; randomness?: number | undefined; metrics?: ({ name: string; method: \"linear\" | \"exp\" | \"sine\"; start: number; end: number; } & { period?: number | undefined; randomness?: number | undefined; })[] | undefined; })[] | undefined; }>" ], "path": "x-pack/packages/kbn-data-forge/src/lib/create_config.ts", "deprecated": false, @@ -307,7 +307,7 @@ "label": "run", "description": [], "signature": [ - "(config: { elasticsearch: { host: string; username: string; password: string; apiKey: string; installKibanaUser: boolean; }; kibana: { host: string; username: string; password: string; installAssets: boolean; }; indexing: { dataset: \"fake_hosts\" | \"fake_logs\" | \"fake_stack\"; scenario: string; interval: number; eventsPerCycle: number; payloadSize: number; concurrency: number; reduceWeekendTrafficBy: number; ephemeralProjectIds: number; alignEventsToInterval: boolean; }; schedule: ({ template: string; start: string; end: string | boolean; } & { eventsPerCycle?: number | ({ start: number; end: number; method: \"linear\" | \"exp\" | \"sine\"; } & { options?: { period?: number | undefined; } | undefined; }) | undefined; interval?: number | undefined; delayInMinutes?: number | undefined; delayEveryMinutes?: number | undefined; randomness?: number | undefined; metrics?: ({ name: string; method: \"linear\" | \"exp\" | \"sine\"; start: number; end: number; } & { period?: number | undefined; randomness?: number | undefined; })[] | undefined; })[]; }, client: ", + "(config: { elasticsearch: { host: string; username: string; password: string; apiKey: string; installKibanaUser: boolean; }; kibana: { host: string; username: string; password: string; installAssets: boolean; }; indexing: { dataset: \"fake_hosts\" | \"fake_logs\" | \"fake_stack\"; scenario: string; interval: number; eventsPerCycle: number; payloadSize: number; concurrency: number; reduceWeekendTrafficBy: number; ephemeralProjectIds: number; alignEventsToInterval: boolean; artificialIndexDelay: number; }; schedule: ({ template: string; start: string; end: string | boolean; } & { eventsPerCycle?: number | ({ start: number; end: number; method: \"linear\" | \"exp\" | \"sine\"; } & { options?: { period?: number | undefined; } | undefined; }) | undefined; interval?: number | undefined; delayInMinutes?: number | undefined; delayEveryMinutes?: number | undefined; randomness?: number | undefined; metrics?: ({ name: string; method: \"linear\" | \"exp\" | \"sine\"; start: number; end: number; } & { period?: number | undefined; randomness?: number | undefined; })[] | undefined; })[]; }, client: ", "default", ", logger: ", { @@ -331,7 +331,7 @@ "label": "config", "description": [], "signature": [ - "{ elasticsearch: { host: string; username: string; password: string; apiKey: string; installKibanaUser: boolean; }; kibana: { host: string; username: string; password: string; installAssets: boolean; }; indexing: { dataset: \"fake_hosts\" | \"fake_logs\" | \"fake_stack\"; scenario: string; interval: number; eventsPerCycle: number; payloadSize: number; concurrency: number; reduceWeekendTrafficBy: number; ephemeralProjectIds: number; alignEventsToInterval: boolean; }; schedule: ({ template: string; start: string; end: string | boolean; } & { eventsPerCycle?: number | ({ start: number; end: number; method: \"linear\" | \"exp\" | \"sine\"; } & { options?: { period?: number | undefined; } | undefined; }) | undefined; interval?: number | undefined; delayInMinutes?: number | undefined; delayEveryMinutes?: number | undefined; randomness?: number | undefined; metrics?: ({ name: string; method: \"linear\" | \"exp\" | \"sine\"; start: number; end: number; } & { period?: number | undefined; randomness?: number | undefined; })[] | undefined; })[]; }" + "{ elasticsearch: { host: string; username: string; password: string; apiKey: string; installKibanaUser: boolean; }; kibana: { host: string; username: string; password: string; installAssets: boolean; }; indexing: { dataset: \"fake_hosts\" | \"fake_logs\" | \"fake_stack\"; scenario: string; interval: number; eventsPerCycle: number; payloadSize: number; concurrency: number; reduceWeekendTrafficBy: number; ephemeralProjectIds: number; alignEventsToInterval: boolean; artificialIndexDelay: number; }; schedule: ({ template: string; start: string; end: string | boolean; } & { eventsPerCycle?: number | ({ start: number; end: number; method: \"linear\" | \"exp\" | \"sine\"; } & { options?: { period?: number | undefined; } | undefined; }) | undefined; interval?: number | undefined; delayInMinutes?: number | undefined; delayEveryMinutes?: number | undefined; randomness?: number | undefined; metrics?: ({ name: string; method: \"linear\" | \"exp\" | \"sine\"; start: number; end: number; } & { period?: number | undefined; randomness?: number | undefined; })[] | undefined; })[]; }" ], "path": "x-pack/packages/kbn-data-forge/src/run.ts", "deprecated": false, @@ -390,7 +390,7 @@ "label": "Config", "description": [], "signature": [ - "{ elasticsearch: { host: string; username: string; password: string; apiKey: string; installKibanaUser: boolean; }; kibana: { host: string; username: string; password: string; installAssets: boolean; }; indexing: { dataset: \"fake_hosts\" | \"fake_logs\" | \"fake_stack\"; scenario: string; interval: number; eventsPerCycle: number; payloadSize: number; concurrency: number; reduceWeekendTrafficBy: number; ephemeralProjectIds: number; alignEventsToInterval: boolean; }; schedule: ({ template: string; start: string; end: string | boolean; } & { eventsPerCycle?: number | ({ start: number; end: number; method: \"linear\" | \"exp\" | \"sine\"; } & { options?: { period?: number | undefined; } | undefined; }) | undefined; interval?: number | undefined; delayInMinutes?: number | undefined; delayEveryMinutes?: number | undefined; randomness?: number | undefined; metrics?: ({ name: string; method: \"linear\" | \"exp\" | \"sine\"; start: number; end: number; } & { period?: number | undefined; randomness?: number | undefined; })[] | undefined; })[]; }" + "{ elasticsearch: { host: string; username: string; password: string; apiKey: string; installKibanaUser: boolean; }; kibana: { host: string; username: string; password: string; installAssets: boolean; }; indexing: { dataset: \"fake_hosts\" | \"fake_logs\" | \"fake_stack\"; scenario: string; interval: number; eventsPerCycle: number; payloadSize: number; concurrency: number; reduceWeekendTrafficBy: number; ephemeralProjectIds: number; alignEventsToInterval: boolean; artificialIndexDelay: number; }; schedule: ({ template: string; start: string; end: string | boolean; } & { eventsPerCycle?: number | ({ start: number; end: number; method: \"linear\" | \"exp\" | \"sine\"; } & { options?: { period?: number | undefined; } | undefined; }) | undefined; interval?: number | undefined; delayInMinutes?: number | undefined; delayEveryMinutes?: number | undefined; randomness?: number | undefined; metrics?: ({ name: string; method: \"linear\" | \"exp\" | \"sine\"; start: number; end: number; } & { period?: number | undefined; randomness?: number | undefined; })[] | undefined; })[]; }" ], "path": "x-pack/packages/kbn-data-forge/src/types/index.ts", "deprecated": false, @@ -450,7 +450,7 @@ "label": "PartialConfig", "description": [], "signature": [ - "{ elasticsearch?: { host?: string | undefined; username?: string | undefined; password?: string | undefined; apiKey?: string | undefined; installKibanaUser?: boolean | undefined; } | undefined; kibana?: { host?: string | undefined; username?: string | undefined; password?: string | undefined; installAssets?: boolean | undefined; } | undefined; indexing?: { dataset?: \"fake_hosts\" | \"fake_logs\" | \"fake_stack\" | undefined; scenario?: string | undefined; interval?: number | undefined; eventsPerCycle?: number | undefined; payloadSize?: number | undefined; concurrency?: number | undefined; reduceWeekendTrafficBy?: number | undefined; ephemeralProjectIds?: number | undefined; alignEventsToInterval?: boolean | undefined; } | undefined; schedule?: ({ template: string; start: string; end: string | boolean; } & { eventsPerCycle?: number | ({ start: number; end: number; method: \"linear\" | \"exp\" | \"sine\"; } & { options?: { period?: number | undefined; } | undefined; }) | undefined; interval?: number | undefined; delayInMinutes?: number | undefined; delayEveryMinutes?: number | undefined; randomness?: number | undefined; metrics?: ({ name: string; method: \"linear\" | \"exp\" | \"sine\"; start: number; end: number; } & { period?: number | undefined; randomness?: number | undefined; })[] | undefined; })[] | undefined; }" + "{ elasticsearch?: { host?: string | undefined; username?: string | undefined; password?: string | undefined; apiKey?: string | undefined; installKibanaUser?: boolean | undefined; } | undefined; kibana?: { host?: string | undefined; username?: string | undefined; password?: string | undefined; installAssets?: boolean | undefined; } | undefined; indexing?: { dataset?: \"fake_hosts\" | \"fake_logs\" | \"fake_stack\" | undefined; scenario?: string | undefined; interval?: number | undefined; eventsPerCycle?: number | undefined; payloadSize?: number | undefined; concurrency?: number | undefined; reduceWeekendTrafficBy?: number | undefined; ephemeralProjectIds?: number | undefined; alignEventsToInterval?: boolean | undefined; artificialIndexDelay?: number | undefined; } | undefined; schedule?: ({ template: string; start: string; end: string | boolean; } & { eventsPerCycle?: number | ({ start: number; end: number; method: \"linear\" | \"exp\" | \"sine\"; } & { options?: { period?: number | undefined; } | undefined; }) | undefined; interval?: number | undefined; delayInMinutes?: number | undefined; delayEveryMinutes?: number | undefined; randomness?: number | undefined; metrics?: ({ name: string; method: \"linear\" | \"exp\" | \"sine\"; start: number; end: number; } & { period?: number | undefined; randomness?: number | undefined; })[] | undefined; })[] | undefined; }" ], "path": "x-pack/packages/kbn-data-forge/src/types/index.ts", "deprecated": false, diff --git a/api_docs/kbn_data_forge.mdx b/api_docs/kbn_data_forge.mdx index 5911b453fc49a..57ee8e19aec44 100644 --- a/api_docs/kbn_data_forge.mdx +++ b/api_docs/kbn_data_forge.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-data-forge title: "@kbn/data-forge" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/data-forge plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/data-forge'] --- import kbnDataForgeObj from './kbn_data_forge.devdocs.json'; diff --git a/api_docs/kbn_data_service.mdx b/api_docs/kbn_data_service.mdx index a94081cfe1eaf..f0c83938a2200 100644 --- a/api_docs/kbn_data_service.mdx +++ b/api_docs/kbn_data_service.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-data-service title: "@kbn/data-service" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/data-service plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/data-service'] --- import kbnDataServiceObj from './kbn_data_service.devdocs.json'; diff --git a/api_docs/kbn_data_stream_adapter.mdx b/api_docs/kbn_data_stream_adapter.mdx index 16fee2a55645c..6b9ba5f64fd58 100644 --- a/api_docs/kbn_data_stream_adapter.mdx +++ b/api_docs/kbn_data_stream_adapter.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-data-stream-adapter title: "@kbn/data-stream-adapter" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/data-stream-adapter plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/data-stream-adapter'] --- import kbnDataStreamAdapterObj from './kbn_data_stream_adapter.devdocs.json'; diff --git a/api_docs/kbn_data_view_utils.mdx b/api_docs/kbn_data_view_utils.mdx index f350d26ab6e8a..8f3a7d029dfbb 100644 --- a/api_docs/kbn_data_view_utils.mdx +++ b/api_docs/kbn_data_view_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-data-view-utils title: "@kbn/data-view-utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/data-view-utils plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/data-view-utils'] --- import kbnDataViewUtilsObj from './kbn_data_view_utils.devdocs.json'; diff --git a/api_docs/kbn_datemath.mdx b/api_docs/kbn_datemath.mdx index 99eeeb64f51f6..7ae3befb15417 100644 --- a/api_docs/kbn_datemath.mdx +++ b/api_docs/kbn_datemath.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-datemath title: "@kbn/datemath" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/datemath plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/datemath'] --- import kbnDatemathObj from './kbn_datemath.devdocs.json'; diff --git a/api_docs/kbn_deeplinks_analytics.mdx b/api_docs/kbn_deeplinks_analytics.mdx index 53bfe4ae7641d..d3612103e8a11 100644 --- a/api_docs/kbn_deeplinks_analytics.mdx +++ b/api_docs/kbn_deeplinks_analytics.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-deeplinks-analytics title: "@kbn/deeplinks-analytics" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/deeplinks-analytics plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/deeplinks-analytics'] --- import kbnDeeplinksAnalyticsObj from './kbn_deeplinks_analytics.devdocs.json'; diff --git a/api_docs/kbn_deeplinks_devtools.mdx b/api_docs/kbn_deeplinks_devtools.mdx index 9bf76b243e9c0..29615713ad67b 100644 --- a/api_docs/kbn_deeplinks_devtools.mdx +++ b/api_docs/kbn_deeplinks_devtools.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-deeplinks-devtools title: "@kbn/deeplinks-devtools" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/deeplinks-devtools plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/deeplinks-devtools'] --- import kbnDeeplinksDevtoolsObj from './kbn_deeplinks_devtools.devdocs.json'; diff --git a/api_docs/kbn_deeplinks_fleet.mdx b/api_docs/kbn_deeplinks_fleet.mdx index 09ba4b4244d49..97f9707f79013 100644 --- a/api_docs/kbn_deeplinks_fleet.mdx +++ b/api_docs/kbn_deeplinks_fleet.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-deeplinks-fleet title: "@kbn/deeplinks-fleet" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/deeplinks-fleet plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/deeplinks-fleet'] --- import kbnDeeplinksFleetObj from './kbn_deeplinks_fleet.devdocs.json'; diff --git a/api_docs/kbn_deeplinks_management.mdx b/api_docs/kbn_deeplinks_management.mdx index 1591bde6e7815..87bc8148a3e71 100644 --- a/api_docs/kbn_deeplinks_management.mdx +++ b/api_docs/kbn_deeplinks_management.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-deeplinks-management title: "@kbn/deeplinks-management" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/deeplinks-management plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/deeplinks-management'] --- import kbnDeeplinksManagementObj from './kbn_deeplinks_management.devdocs.json'; diff --git a/api_docs/kbn_deeplinks_ml.mdx b/api_docs/kbn_deeplinks_ml.mdx index 04a0153e5741e..b94baded46e4a 100644 --- a/api_docs/kbn_deeplinks_ml.mdx +++ b/api_docs/kbn_deeplinks_ml.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-deeplinks-ml title: "@kbn/deeplinks-ml" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/deeplinks-ml plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/deeplinks-ml'] --- import kbnDeeplinksMlObj from './kbn_deeplinks_ml.devdocs.json'; diff --git a/api_docs/kbn_deeplinks_observability.mdx b/api_docs/kbn_deeplinks_observability.mdx index 2af765ebb83cf..323802bae2779 100644 --- a/api_docs/kbn_deeplinks_observability.mdx +++ b/api_docs/kbn_deeplinks_observability.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-deeplinks-observability title: "@kbn/deeplinks-observability" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/deeplinks-observability plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/deeplinks-observability'] --- import kbnDeeplinksObservabilityObj from './kbn_deeplinks_observability.devdocs.json'; diff --git a/api_docs/kbn_deeplinks_search.mdx b/api_docs/kbn_deeplinks_search.mdx index 3f4c5f4d3be9b..8d9aa1b0dec20 100644 --- a/api_docs/kbn_deeplinks_search.mdx +++ b/api_docs/kbn_deeplinks_search.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-deeplinks-search title: "@kbn/deeplinks-search" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/deeplinks-search plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/deeplinks-search'] --- import kbnDeeplinksSearchObj from './kbn_deeplinks_search.devdocs.json'; diff --git a/api_docs/kbn_deeplinks_security.mdx b/api_docs/kbn_deeplinks_security.mdx index 564fb7db417c0..609c1c0fed55b 100644 --- a/api_docs/kbn_deeplinks_security.mdx +++ b/api_docs/kbn_deeplinks_security.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-deeplinks-security title: "@kbn/deeplinks-security" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/deeplinks-security plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/deeplinks-security'] --- import kbnDeeplinksSecurityObj from './kbn_deeplinks_security.devdocs.json'; diff --git a/api_docs/kbn_deeplinks_shared.mdx b/api_docs/kbn_deeplinks_shared.mdx index ee4d074c20b15..13b083a3450ec 100644 --- a/api_docs/kbn_deeplinks_shared.mdx +++ b/api_docs/kbn_deeplinks_shared.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-deeplinks-shared title: "@kbn/deeplinks-shared" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/deeplinks-shared plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/deeplinks-shared'] --- import kbnDeeplinksSharedObj from './kbn_deeplinks_shared.devdocs.json'; diff --git a/api_docs/kbn_default_nav_analytics.mdx b/api_docs/kbn_default_nav_analytics.mdx index b69f672fd92da..bec4a4aa7385b 100644 --- a/api_docs/kbn_default_nav_analytics.mdx +++ b/api_docs/kbn_default_nav_analytics.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-default-nav-analytics title: "@kbn/default-nav-analytics" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/default-nav-analytics plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/default-nav-analytics'] --- import kbnDefaultNavAnalyticsObj from './kbn_default_nav_analytics.devdocs.json'; diff --git a/api_docs/kbn_default_nav_devtools.mdx b/api_docs/kbn_default_nav_devtools.mdx index 019ccaebd4fa4..42db89d531895 100644 --- a/api_docs/kbn_default_nav_devtools.mdx +++ b/api_docs/kbn_default_nav_devtools.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-default-nav-devtools title: "@kbn/default-nav-devtools" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/default-nav-devtools plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/default-nav-devtools'] --- import kbnDefaultNavDevtoolsObj from './kbn_default_nav_devtools.devdocs.json'; diff --git a/api_docs/kbn_default_nav_management.mdx b/api_docs/kbn_default_nav_management.mdx index 111d488f2d003..11ceedcaa7d0f 100644 --- a/api_docs/kbn_default_nav_management.mdx +++ b/api_docs/kbn_default_nav_management.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-default-nav-management title: "@kbn/default-nav-management" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/default-nav-management plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/default-nav-management'] --- import kbnDefaultNavManagementObj from './kbn_default_nav_management.devdocs.json'; diff --git a/api_docs/kbn_default_nav_ml.mdx b/api_docs/kbn_default_nav_ml.mdx index fc238726a48a9..cd3b95c066c8c 100644 --- a/api_docs/kbn_default_nav_ml.mdx +++ b/api_docs/kbn_default_nav_ml.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-default-nav-ml title: "@kbn/default-nav-ml" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/default-nav-ml plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/default-nav-ml'] --- import kbnDefaultNavMlObj from './kbn_default_nav_ml.devdocs.json'; diff --git a/api_docs/kbn_dev_cli_errors.mdx b/api_docs/kbn_dev_cli_errors.mdx index 0df9f0c0c57e4..995fc84d743ac 100644 --- a/api_docs/kbn_dev_cli_errors.mdx +++ b/api_docs/kbn_dev_cli_errors.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-dev-cli-errors title: "@kbn/dev-cli-errors" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/dev-cli-errors plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/dev-cli-errors'] --- import kbnDevCliErrorsObj from './kbn_dev_cli_errors.devdocs.json'; diff --git a/api_docs/kbn_dev_cli_runner.mdx b/api_docs/kbn_dev_cli_runner.mdx index 585af8a2a7948..59d1dcd7c78bb 100644 --- a/api_docs/kbn_dev_cli_runner.mdx +++ b/api_docs/kbn_dev_cli_runner.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-dev-cli-runner title: "@kbn/dev-cli-runner" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/dev-cli-runner plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/dev-cli-runner'] --- import kbnDevCliRunnerObj from './kbn_dev_cli_runner.devdocs.json'; diff --git a/api_docs/kbn_dev_proc_runner.mdx b/api_docs/kbn_dev_proc_runner.mdx index 69e33426d8ca2..c17207d374ef5 100644 --- a/api_docs/kbn_dev_proc_runner.mdx +++ b/api_docs/kbn_dev_proc_runner.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-dev-proc-runner title: "@kbn/dev-proc-runner" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/dev-proc-runner plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/dev-proc-runner'] --- import kbnDevProcRunnerObj from './kbn_dev_proc_runner.devdocs.json'; diff --git a/api_docs/kbn_dev_utils.mdx b/api_docs/kbn_dev_utils.mdx index 6679b0a6ff96e..44f07a42b1c49 100644 --- a/api_docs/kbn_dev_utils.mdx +++ b/api_docs/kbn_dev_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-dev-utils title: "@kbn/dev-utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/dev-utils plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/dev-utils'] --- import kbnDevUtilsObj from './kbn_dev_utils.devdocs.json'; diff --git a/api_docs/kbn_discover_utils.devdocs.json b/api_docs/kbn_discover_utils.devdocs.json index 6777a3f093a66..43df0473e2c6b 100644 --- a/api_docs/kbn_discover_utils.devdocs.json +++ b/api_docs/kbn_discover_utils.devdocs.json @@ -977,6 +977,159 @@ "returnComment": [], "initialIsOpen": false }, + { + "parentPluginId": "@kbn/discover-utils", + "id": "def-common.getLogLevelCoalescedValue", + "type": "Function", + "tags": [], + "label": "getLogLevelCoalescedValue", + "description": [], + "signature": [ + "(logLevel: unknown) => ", + { + "pluginId": "@kbn/discover-utils", + "scope": "common", + "docId": "kibKbnDiscoverUtilsPluginApi", + "section": "def-common.LogLevelCoalescedValue", + "text": "LogLevelCoalescedValue" + }, + " | undefined" + ], + "path": "packages/kbn-discover-utils/src/data_types/logs/utils/get_log_level_coalesed_value.ts", + "deprecated": false, + "trackAdoption": false, + "children": [ + { + "parentPluginId": "@kbn/discover-utils", + "id": "def-common.getLogLevelCoalescedValue.$1", + "type": "Unknown", + "tags": [], + "label": "logLevel", + "description": [], + "signature": [ + "unknown" + ], + "path": "packages/kbn-discover-utils/src/data_types/logs/utils/get_log_level_coalesed_value.ts", + "deprecated": false, + "trackAdoption": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/discover-utils", + "id": "def-common.getLogLevelCoalescedValueLabel", + "type": "Function", + "tags": [], + "label": "getLogLevelCoalescedValueLabel", + "description": [], + "signature": [ + "(coalescedValue: ", + { + "pluginId": "@kbn/discover-utils", + "scope": "common", + "docId": "kibKbnDiscoverUtilsPluginApi", + "section": "def-common.LogLevelCoalescedValue", + "text": "LogLevelCoalescedValue" + }, + ") => string" + ], + "path": "packages/kbn-discover-utils/src/data_types/logs/utils/get_log_level_coalesed_value.ts", + "deprecated": false, + "trackAdoption": false, + "children": [ + { + "parentPluginId": "@kbn/discover-utils", + "id": "def-common.getLogLevelCoalescedValueLabel.$1", + "type": "Enum", + "tags": [], + "label": "coalescedValue", + "description": [], + "signature": [ + { + "pluginId": "@kbn/discover-utils", + "scope": "common", + "docId": "kibKbnDiscoverUtilsPluginApi", + "section": "def-common.LogLevelCoalescedValue", + "text": "LogLevelCoalescedValue" + } + ], + "path": "packages/kbn-discover-utils/src/data_types/logs/utils/get_log_level_coalesed_value.ts", + "deprecated": false, + "trackAdoption": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/discover-utils", + "id": "def-common.getLogLevelColor", + "type": "Function", + "tags": [], + "label": "getLogLevelColor", + "description": [], + "signature": [ + "(logLevelCoalescedValue: ", + { + "pluginId": "@kbn/discover-utils", + "scope": "common", + "docId": "kibKbnDiscoverUtilsPluginApi", + "section": "def-common.LogLevelCoalescedValue", + "text": "LogLevelCoalescedValue" + }, + ", euiTheme: ", + "EuiThemeComputed", + "<{}>) => string | undefined" + ], + "path": "packages/kbn-discover-utils/src/data_types/logs/utils/get_log_level_color.ts", + "deprecated": false, + "trackAdoption": false, + "children": [ + { + "parentPluginId": "@kbn/discover-utils", + "id": "def-common.getLogLevelColor.$1", + "type": "Enum", + "tags": [], + "label": "logLevelCoalescedValue", + "description": [], + "signature": [ + { + "pluginId": "@kbn/discover-utils", + "scope": "common", + "docId": "kibKbnDiscoverUtilsPluginApi", + "section": "def-common.LogLevelCoalescedValue", + "text": "LogLevelCoalescedValue" + } + ], + "path": "packages/kbn-discover-utils/src/data_types/logs/utils/get_log_level_color.ts", + "deprecated": false, + "trackAdoption": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/discover-utils", + "id": "def-common.getLogLevelColor.$2", + "type": "CompoundType", + "tags": [], + "label": "euiTheme", + "description": [], + "signature": [ + "EuiThemeComputed", + "<{}>" + ], + "path": "packages/kbn-discover-utils/src/data_types/logs/utils/get_log_level_color.ts", + "deprecated": false, + "trackAdoption": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, { "parentPluginId": "@kbn/discover-utils", "id": "def-common.getMessageFieldWithFallbacks", @@ -1951,6 +2104,18 @@ "deprecated": false, "trackAdoption": false, "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/discover-utils", + "id": "def-common.LogLevelCoalescedValue", + "type": "Enum", + "tags": [], + "label": "LogLevelCoalescedValue", + "description": [], + "path": "packages/kbn-discover-utils/src/data_types/logs/utils/get_log_level_coalesed_value.ts", + "deprecated": false, + "trackAdoption": false, + "initialIsOpen": false } ], "misc": [ diff --git a/api_docs/kbn_discover_utils.mdx b/api_docs/kbn_discover_utils.mdx index 9159c9e7664e0..ad51df2621ea9 100644 --- a/api_docs/kbn_discover_utils.mdx +++ b/api_docs/kbn_discover_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-discover-utils title: "@kbn/discover-utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/discover-utils plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/discover-utils'] --- import kbnDiscoverUtilsObj from './kbn_discover_utils.devdocs.json'; @@ -21,7 +21,7 @@ Contact [@elastic/kibana-data-discovery](https://github.com/orgs/elastic/teams/k | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 120 | 0 | 94 | 1 | +| 128 | 0 | 102 | 1 | ## Common diff --git a/api_docs/kbn_doc_links.mdx b/api_docs/kbn_doc_links.mdx index 863f4b8c49007..a45bcf65dcc4d 100644 --- a/api_docs/kbn_doc_links.mdx +++ b/api_docs/kbn_doc_links.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-doc-links title: "@kbn/doc-links" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/doc-links plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/doc-links'] --- import kbnDocLinksObj from './kbn_doc_links.devdocs.json'; diff --git a/api_docs/kbn_docs_utils.mdx b/api_docs/kbn_docs_utils.mdx index d4a0629739866..c4859d20d5cae 100644 --- a/api_docs/kbn_docs_utils.mdx +++ b/api_docs/kbn_docs_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-docs-utils title: "@kbn/docs-utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/docs-utils plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/docs-utils'] --- import kbnDocsUtilsObj from './kbn_docs_utils.devdocs.json'; diff --git a/api_docs/kbn_dom_drag_drop.mdx b/api_docs/kbn_dom_drag_drop.mdx index 3868007edcdcb..f36310748fc5b 100644 --- a/api_docs/kbn_dom_drag_drop.mdx +++ b/api_docs/kbn_dom_drag_drop.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-dom-drag-drop title: "@kbn/dom-drag-drop" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/dom-drag-drop plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/dom-drag-drop'] --- import kbnDomDragDropObj from './kbn_dom_drag_drop.devdocs.json'; diff --git a/api_docs/kbn_ebt.mdx b/api_docs/kbn_ebt.mdx index bc910993593af..a9e2eb5013316 100644 --- a/api_docs/kbn_ebt.mdx +++ b/api_docs/kbn_ebt.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ebt title: "@kbn/ebt" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ebt plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ebt'] --- import kbnEbtObj from './kbn_ebt.devdocs.json'; diff --git a/api_docs/kbn_ebt_tools.mdx b/api_docs/kbn_ebt_tools.mdx index e0e27fc6ee855..fbeeef914c430 100644 --- a/api_docs/kbn_ebt_tools.mdx +++ b/api_docs/kbn_ebt_tools.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ebt-tools title: "@kbn/ebt-tools" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ebt-tools plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ebt-tools'] --- import kbnEbtToolsObj from './kbn_ebt_tools.devdocs.json'; diff --git a/api_docs/kbn_ecs_data_quality_dashboard.mdx b/api_docs/kbn_ecs_data_quality_dashboard.mdx index 49cb2c6fe98c5..32043f0d17d1f 100644 --- a/api_docs/kbn_ecs_data_quality_dashboard.mdx +++ b/api_docs/kbn_ecs_data_quality_dashboard.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ecs-data-quality-dashboard title: "@kbn/ecs-data-quality-dashboard" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ecs-data-quality-dashboard plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ecs-data-quality-dashboard'] --- import kbnEcsDataQualityDashboardObj from './kbn_ecs_data_quality_dashboard.devdocs.json'; diff --git a/api_docs/kbn_elastic_agent_utils.mdx b/api_docs/kbn_elastic_agent_utils.mdx index a98ab1cc12e2e..9c24006201315 100644 --- a/api_docs/kbn_elastic_agent_utils.mdx +++ b/api_docs/kbn_elastic_agent_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-elastic-agent-utils title: "@kbn/elastic-agent-utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/elastic-agent-utils plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/elastic-agent-utils'] --- import kbnElasticAgentUtilsObj from './kbn_elastic_agent_utils.devdocs.json'; diff --git a/api_docs/kbn_elastic_assistant.mdx b/api_docs/kbn_elastic_assistant.mdx index 9149de28ff7e1..825dab69eee2b 100644 --- a/api_docs/kbn_elastic_assistant.mdx +++ b/api_docs/kbn_elastic_assistant.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-elastic-assistant title: "@kbn/elastic-assistant" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/elastic-assistant plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/elastic-assistant'] --- import kbnElasticAssistantObj from './kbn_elastic_assistant.devdocs.json'; diff --git a/api_docs/kbn_elastic_assistant_common.mdx b/api_docs/kbn_elastic_assistant_common.mdx index 2b692f2ab8d1d..5be62ec7672fa 100644 --- a/api_docs/kbn_elastic_assistant_common.mdx +++ b/api_docs/kbn_elastic_assistant_common.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-elastic-assistant-common title: "@kbn/elastic-assistant-common" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/elastic-assistant-common plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/elastic-assistant-common'] --- import kbnElasticAssistantCommonObj from './kbn_elastic_assistant_common.devdocs.json'; diff --git a/api_docs/kbn_entities_schema.mdx b/api_docs/kbn_entities_schema.mdx index c6b09f7581cf8..79d3a0e194eef 100644 --- a/api_docs/kbn_entities_schema.mdx +++ b/api_docs/kbn_entities_schema.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-entities-schema title: "@kbn/entities-schema" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/entities-schema plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/entities-schema'] --- import kbnEntitiesSchemaObj from './kbn_entities_schema.devdocs.json'; diff --git a/api_docs/kbn_es.mdx b/api_docs/kbn_es.mdx index 1271b93dbc88b..e0f192171a192 100644 --- a/api_docs/kbn_es.mdx +++ b/api_docs/kbn_es.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-es title: "@kbn/es" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/es plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/es'] --- import kbnEsObj from './kbn_es.devdocs.json'; diff --git a/api_docs/kbn_es_archiver.mdx b/api_docs/kbn_es_archiver.mdx index 05aa986198b5f..3896e8f3de047 100644 --- a/api_docs/kbn_es_archiver.mdx +++ b/api_docs/kbn_es_archiver.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-es-archiver title: "@kbn/es-archiver" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/es-archiver plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/es-archiver'] --- import kbnEsArchiverObj from './kbn_es_archiver.devdocs.json'; diff --git a/api_docs/kbn_es_errors.mdx b/api_docs/kbn_es_errors.mdx index c92cc9c4fe5c1..081144eef7320 100644 --- a/api_docs/kbn_es_errors.mdx +++ b/api_docs/kbn_es_errors.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-es-errors title: "@kbn/es-errors" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/es-errors plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/es-errors'] --- import kbnEsErrorsObj from './kbn_es_errors.devdocs.json'; diff --git a/api_docs/kbn_es_query.mdx b/api_docs/kbn_es_query.mdx index 8598bf3c36c77..d304daad7e200 100644 --- a/api_docs/kbn_es_query.mdx +++ b/api_docs/kbn_es_query.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-es-query title: "@kbn/es-query" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/es-query plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/es-query'] --- import kbnEsQueryObj from './kbn_es_query.devdocs.json'; diff --git a/api_docs/kbn_es_types.mdx b/api_docs/kbn_es_types.mdx index 6572ed7e56d2a..da7d1bcc3abd5 100644 --- a/api_docs/kbn_es_types.mdx +++ b/api_docs/kbn_es_types.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-es-types title: "@kbn/es-types" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/es-types plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/es-types'] --- import kbnEsTypesObj from './kbn_es_types.devdocs.json'; diff --git a/api_docs/kbn_eslint_plugin_imports.mdx b/api_docs/kbn_eslint_plugin_imports.mdx index 47e606bf6e5e0..19d6f2145efec 100644 --- a/api_docs/kbn_eslint_plugin_imports.mdx +++ b/api_docs/kbn_eslint_plugin_imports.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-eslint-plugin-imports title: "@kbn/eslint-plugin-imports" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/eslint-plugin-imports plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/eslint-plugin-imports'] --- import kbnEslintPluginImportsObj from './kbn_eslint_plugin_imports.devdocs.json'; diff --git a/api_docs/kbn_esql_ast.mdx b/api_docs/kbn_esql_ast.mdx index 38be48ad05607..2d04cf454ce3f 100644 --- a/api_docs/kbn_esql_ast.mdx +++ b/api_docs/kbn_esql_ast.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-esql-ast title: "@kbn/esql-ast" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/esql-ast plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/esql-ast'] --- import kbnEsqlAstObj from './kbn_esql_ast.devdocs.json'; diff --git a/api_docs/kbn_esql_utils.mdx b/api_docs/kbn_esql_utils.mdx index 7a379da20b1a3..2616cc8b1db21 100644 --- a/api_docs/kbn_esql_utils.mdx +++ b/api_docs/kbn_esql_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-esql-utils title: "@kbn/esql-utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/esql-utils plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/esql-utils'] --- import kbnEsqlUtilsObj from './kbn_esql_utils.devdocs.json'; diff --git a/api_docs/kbn_esql_validation_autocomplete.devdocs.json b/api_docs/kbn_esql_validation_autocomplete.devdocs.json index 56830eaa4f756..79731569d6c75 100644 --- a/api_docs/kbn_esql_validation_autocomplete.devdocs.json +++ b/api_docs/kbn_esql_validation_autocomplete.devdocs.json @@ -1151,7 +1151,15 @@ "section": "def-common.ESQLCallbacks", "text": "ESQLCallbacks" }, - " | undefined) => { getFieldsByType: (expectedType?: string | string[], ignored?: string[]) => Promise; getFieldsMap: () => Promise { getFieldsByType: (expectedType?: string | string[], ignored?: string[]) => Promise<", + { + "pluginId": "@kbn/esql-validation-autocomplete", + "scope": "common", + "docId": "kibKbnEsqlValidationAutocompletePluginApi", + "section": "def-common.ESQLRealField", + "text": "ESQLRealField" + }, + "[]>; getFieldsMap: () => Promise | undefined" + "CallbackFn<{ query: string; }, ", + { + "pluginId": "@kbn/esql-validation-autocomplete", + "scope": "common", + "docId": "kibKbnEsqlValidationAutocompletePluginApi", + "section": "def-common.ESQLRealField", + "text": "ESQLRealField" + }, + "> | undefined" ], "path": "packages/kbn-esql-validation-autocomplete/src/shared/types.ts", "deprecated": false, @@ -3125,6 +3141,20 @@ "path": "packages/kbn-esql-validation-autocomplete/src/validation/types.ts", "deprecated": false, "trackAdoption": false + }, + { + "parentPluginId": "@kbn/esql-validation-autocomplete", + "id": "def-common.ESQLRealField.metadata", + "type": "Object", + "tags": [], + "label": "metadata", + "description": [], + "signature": [ + "{ description?: string | undefined; type?: string | undefined; } | undefined" + ], + "path": "packages/kbn-esql-validation-autocomplete/src/validation/types.ts", + "deprecated": false, + "trackAdoption": false } ], "initialIsOpen": false diff --git a/api_docs/kbn_esql_validation_autocomplete.mdx b/api_docs/kbn_esql_validation_autocomplete.mdx index 8a1a899fd0f6a..6d05b3f9e28a6 100644 --- a/api_docs/kbn_esql_validation_autocomplete.mdx +++ b/api_docs/kbn_esql_validation_autocomplete.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-esql-validation-autocomplete title: "@kbn/esql-validation-autocomplete" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/esql-validation-autocomplete plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/esql-validation-autocomplete'] --- import kbnEsqlValidationAutocompleteObj from './kbn_esql_validation_autocomplete.devdocs.json'; @@ -21,7 +21,7 @@ Contact [@elastic/kibana-esql](https://github.com/orgs/elastic/teams/kibana-esql | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 193 | 0 | 182 | 10 | +| 194 | 0 | 183 | 10 | ## Common diff --git a/api_docs/kbn_event_annotation_common.mdx b/api_docs/kbn_event_annotation_common.mdx index c703d2b516969..123e31f26421c 100644 --- a/api_docs/kbn_event_annotation_common.mdx +++ b/api_docs/kbn_event_annotation_common.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-event-annotation-common title: "@kbn/event-annotation-common" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/event-annotation-common plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/event-annotation-common'] --- import kbnEventAnnotationCommonObj from './kbn_event_annotation_common.devdocs.json'; diff --git a/api_docs/kbn_event_annotation_components.mdx b/api_docs/kbn_event_annotation_components.mdx index 64b337d42a9c9..0679bcac87bc0 100644 --- a/api_docs/kbn_event_annotation_components.mdx +++ b/api_docs/kbn_event_annotation_components.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-event-annotation-components title: "@kbn/event-annotation-components" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/event-annotation-components plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/event-annotation-components'] --- import kbnEventAnnotationComponentsObj from './kbn_event_annotation_components.devdocs.json'; diff --git a/api_docs/kbn_expandable_flyout.mdx b/api_docs/kbn_expandable_flyout.mdx index b25ea171997b3..3dd58e1df0e41 100644 --- a/api_docs/kbn_expandable_flyout.mdx +++ b/api_docs/kbn_expandable_flyout.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-expandable-flyout title: "@kbn/expandable-flyout" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/expandable-flyout plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/expandable-flyout'] --- import kbnExpandableFlyoutObj from './kbn_expandable_flyout.devdocs.json'; diff --git a/api_docs/kbn_field_types.mdx b/api_docs/kbn_field_types.mdx index 66340541e0c19..83c28ffa1ab9f 100644 --- a/api_docs/kbn_field_types.mdx +++ b/api_docs/kbn_field_types.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-field-types title: "@kbn/field-types" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/field-types plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/field-types'] --- import kbnFieldTypesObj from './kbn_field_types.devdocs.json'; diff --git a/api_docs/kbn_field_utils.mdx b/api_docs/kbn_field_utils.mdx index 5d5240ea16c3e..db900adfb166a 100644 --- a/api_docs/kbn_field_utils.mdx +++ b/api_docs/kbn_field_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-field-utils title: "@kbn/field-utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/field-utils plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/field-utils'] --- import kbnFieldUtilsObj from './kbn_field_utils.devdocs.json'; diff --git a/api_docs/kbn_find_used_node_modules.mdx b/api_docs/kbn_find_used_node_modules.mdx index f0d239ce34866..b028cc17fd93b 100644 --- a/api_docs/kbn_find_used_node_modules.mdx +++ b/api_docs/kbn_find_used_node_modules.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-find-used-node-modules title: "@kbn/find-used-node-modules" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/find-used-node-modules plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/find-used-node-modules'] --- import kbnFindUsedNodeModulesObj from './kbn_find_used_node_modules.devdocs.json'; diff --git a/api_docs/kbn_formatters.mdx b/api_docs/kbn_formatters.mdx index 60e2d320c5930..e18641e17c52d 100644 --- a/api_docs/kbn_formatters.mdx +++ b/api_docs/kbn_formatters.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-formatters title: "@kbn/formatters" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/formatters plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/formatters'] --- import kbnFormattersObj from './kbn_formatters.devdocs.json'; diff --git a/api_docs/kbn_ftr_common_functional_services.mdx b/api_docs/kbn_ftr_common_functional_services.mdx index f159fa63fc4e7..ce9c686fe9764 100644 --- a/api_docs/kbn_ftr_common_functional_services.mdx +++ b/api_docs/kbn_ftr_common_functional_services.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ftr-common-functional-services title: "@kbn/ftr-common-functional-services" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ftr-common-functional-services plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ftr-common-functional-services'] --- import kbnFtrCommonFunctionalServicesObj from './kbn_ftr_common_functional_services.devdocs.json'; diff --git a/api_docs/kbn_ftr_common_functional_ui_services.mdx b/api_docs/kbn_ftr_common_functional_ui_services.mdx index db4a6fc4c0230..872e245c99883 100644 --- a/api_docs/kbn_ftr_common_functional_ui_services.mdx +++ b/api_docs/kbn_ftr_common_functional_ui_services.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ftr-common-functional-ui-services title: "@kbn/ftr-common-functional-ui-services" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ftr-common-functional-ui-services plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ftr-common-functional-ui-services'] --- import kbnFtrCommonFunctionalUiServicesObj from './kbn_ftr_common_functional_ui_services.devdocs.json'; diff --git a/api_docs/kbn_generate.mdx b/api_docs/kbn_generate.mdx index 719bba27399e1..a3162e97036b3 100644 --- a/api_docs/kbn_generate.mdx +++ b/api_docs/kbn_generate.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-generate title: "@kbn/generate" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/generate plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/generate'] --- import kbnGenerateObj from './kbn_generate.devdocs.json'; diff --git a/api_docs/kbn_generate_console_definitions.mdx b/api_docs/kbn_generate_console_definitions.mdx index 6f005f7377334..d8cf199331776 100644 --- a/api_docs/kbn_generate_console_definitions.mdx +++ b/api_docs/kbn_generate_console_definitions.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-generate-console-definitions title: "@kbn/generate-console-definitions" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/generate-console-definitions plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/generate-console-definitions'] --- import kbnGenerateConsoleDefinitionsObj from './kbn_generate_console_definitions.devdocs.json'; diff --git a/api_docs/kbn_generate_csv.mdx b/api_docs/kbn_generate_csv.mdx index a73e57435a6c4..9a06b73bd9028 100644 --- a/api_docs/kbn_generate_csv.mdx +++ b/api_docs/kbn_generate_csv.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-generate-csv title: "@kbn/generate-csv" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/generate-csv plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/generate-csv'] --- import kbnGenerateCsvObj from './kbn_generate_csv.devdocs.json'; diff --git a/api_docs/kbn_grouping.mdx b/api_docs/kbn_grouping.mdx index 2218079288365..8d08b5118d020 100644 --- a/api_docs/kbn_grouping.mdx +++ b/api_docs/kbn_grouping.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-grouping title: "@kbn/grouping" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/grouping plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/grouping'] --- import kbnGroupingObj from './kbn_grouping.devdocs.json'; diff --git a/api_docs/kbn_guided_onboarding.mdx b/api_docs/kbn_guided_onboarding.mdx index bbbcd197da83e..bc71baade7dcb 100644 --- a/api_docs/kbn_guided_onboarding.mdx +++ b/api_docs/kbn_guided_onboarding.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-guided-onboarding title: "@kbn/guided-onboarding" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/guided-onboarding plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/guided-onboarding'] --- import kbnGuidedOnboardingObj from './kbn_guided_onboarding.devdocs.json'; diff --git a/api_docs/kbn_handlebars.mdx b/api_docs/kbn_handlebars.mdx index 791588f53a800..dd8af7429053c 100644 --- a/api_docs/kbn_handlebars.mdx +++ b/api_docs/kbn_handlebars.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-handlebars title: "@kbn/handlebars" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/handlebars plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/handlebars'] --- import kbnHandlebarsObj from './kbn_handlebars.devdocs.json'; diff --git a/api_docs/kbn_hapi_mocks.mdx b/api_docs/kbn_hapi_mocks.mdx index e14e751b9eb2d..c2a4e939f65ae 100644 --- a/api_docs/kbn_hapi_mocks.mdx +++ b/api_docs/kbn_hapi_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-hapi-mocks title: "@kbn/hapi-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/hapi-mocks plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/hapi-mocks'] --- import kbnHapiMocksObj from './kbn_hapi_mocks.devdocs.json'; diff --git a/api_docs/kbn_health_gateway_server.mdx b/api_docs/kbn_health_gateway_server.mdx index e99c133418d2a..1a7b03e12714c 100644 --- a/api_docs/kbn_health_gateway_server.mdx +++ b/api_docs/kbn_health_gateway_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-health-gateway-server title: "@kbn/health-gateway-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/health-gateway-server plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/health-gateway-server'] --- import kbnHealthGatewayServerObj from './kbn_health_gateway_server.devdocs.json'; diff --git a/api_docs/kbn_home_sample_data_card.mdx b/api_docs/kbn_home_sample_data_card.mdx index c1ca2e414f1eb..ccc378fa66ff7 100644 --- a/api_docs/kbn_home_sample_data_card.mdx +++ b/api_docs/kbn_home_sample_data_card.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-home-sample-data-card title: "@kbn/home-sample-data-card" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/home-sample-data-card plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/home-sample-data-card'] --- import kbnHomeSampleDataCardObj from './kbn_home_sample_data_card.devdocs.json'; diff --git a/api_docs/kbn_home_sample_data_tab.mdx b/api_docs/kbn_home_sample_data_tab.mdx index 44627a5f39f73..b11bb89c4e348 100644 --- a/api_docs/kbn_home_sample_data_tab.mdx +++ b/api_docs/kbn_home_sample_data_tab.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-home-sample-data-tab title: "@kbn/home-sample-data-tab" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/home-sample-data-tab plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/home-sample-data-tab'] --- import kbnHomeSampleDataTabObj from './kbn_home_sample_data_tab.devdocs.json'; diff --git a/api_docs/kbn_i18n.mdx b/api_docs/kbn_i18n.mdx index 192266d38506d..2ae171a1f06fe 100644 --- a/api_docs/kbn_i18n.mdx +++ b/api_docs/kbn_i18n.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-i18n title: "@kbn/i18n" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/i18n plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/i18n'] --- import kbnI18nObj from './kbn_i18n.devdocs.json'; diff --git a/api_docs/kbn_i18n_react.mdx b/api_docs/kbn_i18n_react.mdx index 7cecd248e26ce..dd90e4522d9e6 100644 --- a/api_docs/kbn_i18n_react.mdx +++ b/api_docs/kbn_i18n_react.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-i18n-react title: "@kbn/i18n-react" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/i18n-react plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/i18n-react'] --- import kbnI18nReactObj from './kbn_i18n_react.devdocs.json'; diff --git a/api_docs/kbn_import_resolver.mdx b/api_docs/kbn_import_resolver.mdx index c5eb7b5e80b10..fc36e8f170f13 100644 --- a/api_docs/kbn_import_resolver.mdx +++ b/api_docs/kbn_import_resolver.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-import-resolver title: "@kbn/import-resolver" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/import-resolver plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/import-resolver'] --- import kbnImportResolverObj from './kbn_import_resolver.devdocs.json'; diff --git a/api_docs/kbn_index_management.mdx b/api_docs/kbn_index_management.mdx index 585b8a06c7f30..a43510319ecec 100644 --- a/api_docs/kbn_index_management.mdx +++ b/api_docs/kbn_index_management.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-index-management title: "@kbn/index-management" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/index-management plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/index-management'] --- import kbnIndexManagementObj from './kbn_index_management.devdocs.json'; diff --git a/api_docs/kbn_inference_integration_flyout.mdx b/api_docs/kbn_inference_integration_flyout.mdx index 072f7057546a9..c54ca62798901 100644 --- a/api_docs/kbn_inference_integration_flyout.mdx +++ b/api_docs/kbn_inference_integration_flyout.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-inference_integration_flyout title: "@kbn/inference_integration_flyout" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/inference_integration_flyout plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/inference_integration_flyout'] --- import kbnInferenceIntegrationFlyoutObj from './kbn_inference_integration_flyout.devdocs.json'; diff --git a/api_docs/kbn_infra_forge.mdx b/api_docs/kbn_infra_forge.mdx index b52a74ff6fe1d..3a66af8c20c61 100644 --- a/api_docs/kbn_infra_forge.mdx +++ b/api_docs/kbn_infra_forge.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-infra-forge title: "@kbn/infra-forge" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/infra-forge plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/infra-forge'] --- import kbnInfraForgeObj from './kbn_infra_forge.devdocs.json'; diff --git a/api_docs/kbn_interpreter.mdx b/api_docs/kbn_interpreter.mdx index 563bd49cfa359..1faf2af543c80 100644 --- a/api_docs/kbn_interpreter.mdx +++ b/api_docs/kbn_interpreter.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-interpreter title: "@kbn/interpreter" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/interpreter plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/interpreter'] --- import kbnInterpreterObj from './kbn_interpreter.devdocs.json'; diff --git a/api_docs/kbn_io_ts_utils.mdx b/api_docs/kbn_io_ts_utils.mdx index 36660660c6d3d..6cb950d2fad49 100644 --- a/api_docs/kbn_io_ts_utils.mdx +++ b/api_docs/kbn_io_ts_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-io-ts-utils title: "@kbn/io-ts-utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/io-ts-utils plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/io-ts-utils'] --- import kbnIoTsUtilsObj from './kbn_io_ts_utils.devdocs.json'; diff --git a/api_docs/kbn_ipynb.mdx b/api_docs/kbn_ipynb.mdx index f65f4daef28da..c1dbf2200911f 100644 --- a/api_docs/kbn_ipynb.mdx +++ b/api_docs/kbn_ipynb.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ipynb title: "@kbn/ipynb" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ipynb plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ipynb'] --- import kbnIpynbObj from './kbn_ipynb.devdocs.json'; diff --git a/api_docs/kbn_jest_serializers.mdx b/api_docs/kbn_jest_serializers.mdx index 0bebc9985aa68..9a76150952e43 100644 --- a/api_docs/kbn_jest_serializers.mdx +++ b/api_docs/kbn_jest_serializers.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-jest-serializers title: "@kbn/jest-serializers" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/jest-serializers plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/jest-serializers'] --- import kbnJestSerializersObj from './kbn_jest_serializers.devdocs.json'; diff --git a/api_docs/kbn_journeys.mdx b/api_docs/kbn_journeys.mdx index 205781285afe6..b36565410a658 100644 --- a/api_docs/kbn_journeys.mdx +++ b/api_docs/kbn_journeys.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-journeys title: "@kbn/journeys" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/journeys plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/journeys'] --- import kbnJourneysObj from './kbn_journeys.devdocs.json'; diff --git a/api_docs/kbn_json_ast.mdx b/api_docs/kbn_json_ast.mdx index 2dee0a49b3805..53c8fbf41da6f 100644 --- a/api_docs/kbn_json_ast.mdx +++ b/api_docs/kbn_json_ast.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-json-ast title: "@kbn/json-ast" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/json-ast plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/json-ast'] --- import kbnJsonAstObj from './kbn_json_ast.devdocs.json'; diff --git a/api_docs/kbn_json_schemas.mdx b/api_docs/kbn_json_schemas.mdx index 8462fea72d862..352e9613249aa 100644 --- a/api_docs/kbn_json_schemas.mdx +++ b/api_docs/kbn_json_schemas.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-json-schemas title: "@kbn/json-schemas" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/json-schemas plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/json-schemas'] --- import kbnJsonSchemasObj from './kbn_json_schemas.devdocs.json'; diff --git a/api_docs/kbn_kibana_manifest_schema.mdx b/api_docs/kbn_kibana_manifest_schema.mdx index c6b318ebc6070..0e36974ed426a 100644 --- a/api_docs/kbn_kibana_manifest_schema.mdx +++ b/api_docs/kbn_kibana_manifest_schema.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-kibana-manifest-schema title: "@kbn/kibana-manifest-schema" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/kibana-manifest-schema plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/kibana-manifest-schema'] --- import kbnKibanaManifestSchemaObj from './kbn_kibana_manifest_schema.devdocs.json'; diff --git a/api_docs/kbn_language_documentation_popover.mdx b/api_docs/kbn_language_documentation_popover.mdx index 559fc744e668c..a6692c387c448 100644 --- a/api_docs/kbn_language_documentation_popover.mdx +++ b/api_docs/kbn_language_documentation_popover.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-language-documentation-popover title: "@kbn/language-documentation-popover" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/language-documentation-popover plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/language-documentation-popover'] --- import kbnLanguageDocumentationPopoverObj from './kbn_language_documentation_popover.devdocs.json'; diff --git a/api_docs/kbn_lens_embeddable_utils.mdx b/api_docs/kbn_lens_embeddable_utils.mdx index 4428750c404bb..b47ee86bbc784 100644 --- a/api_docs/kbn_lens_embeddable_utils.mdx +++ b/api_docs/kbn_lens_embeddable_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-lens-embeddable-utils title: "@kbn/lens-embeddable-utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/lens-embeddable-utils plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/lens-embeddable-utils'] --- import kbnLensEmbeddableUtilsObj from './kbn_lens_embeddable_utils.devdocs.json'; diff --git a/api_docs/kbn_lens_formula_docs.mdx b/api_docs/kbn_lens_formula_docs.mdx index bb327dbde6978..5d101692b2a3e 100644 --- a/api_docs/kbn_lens_formula_docs.mdx +++ b/api_docs/kbn_lens_formula_docs.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-lens-formula-docs title: "@kbn/lens-formula-docs" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/lens-formula-docs plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/lens-formula-docs'] --- import kbnLensFormulaDocsObj from './kbn_lens_formula_docs.devdocs.json'; diff --git a/api_docs/kbn_logging.mdx b/api_docs/kbn_logging.mdx index 17b260b7cca69..2ec335008cb0f 100644 --- a/api_docs/kbn_logging.mdx +++ b/api_docs/kbn_logging.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-logging title: "@kbn/logging" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/logging plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/logging'] --- import kbnLoggingObj from './kbn_logging.devdocs.json'; diff --git a/api_docs/kbn_logging_mocks.mdx b/api_docs/kbn_logging_mocks.mdx index fe166dddcbb3c..46d081b3fc158 100644 --- a/api_docs/kbn_logging_mocks.mdx +++ b/api_docs/kbn_logging_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-logging-mocks title: "@kbn/logging-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/logging-mocks plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/logging-mocks'] --- import kbnLoggingMocksObj from './kbn_logging_mocks.devdocs.json'; diff --git a/api_docs/kbn_managed_content_badge.mdx b/api_docs/kbn_managed_content_badge.mdx index b0e1ea531b27b..6685644aefbc9 100644 --- a/api_docs/kbn_managed_content_badge.mdx +++ b/api_docs/kbn_managed_content_badge.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-managed-content-badge title: "@kbn/managed-content-badge" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/managed-content-badge plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/managed-content-badge'] --- import kbnManagedContentBadgeObj from './kbn_managed_content_badge.devdocs.json'; diff --git a/api_docs/kbn_managed_vscode_config.mdx b/api_docs/kbn_managed_vscode_config.mdx index fd7419c2e8db0..2b1eb17c8504a 100644 --- a/api_docs/kbn_managed_vscode_config.mdx +++ b/api_docs/kbn_managed_vscode_config.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-managed-vscode-config title: "@kbn/managed-vscode-config" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/managed-vscode-config plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/managed-vscode-config'] --- import kbnManagedVscodeConfigObj from './kbn_managed_vscode_config.devdocs.json'; diff --git a/api_docs/kbn_management_cards_navigation.mdx b/api_docs/kbn_management_cards_navigation.mdx index a891b8d682487..754c6c555828c 100644 --- a/api_docs/kbn_management_cards_navigation.mdx +++ b/api_docs/kbn_management_cards_navigation.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-management-cards-navigation title: "@kbn/management-cards-navigation" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/management-cards-navigation plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/management-cards-navigation'] --- import kbnManagementCardsNavigationObj from './kbn_management_cards_navigation.devdocs.json'; diff --git a/api_docs/kbn_management_settings_application.mdx b/api_docs/kbn_management_settings_application.mdx index 4a4d42df79912..24e83478e1c07 100644 --- a/api_docs/kbn_management_settings_application.mdx +++ b/api_docs/kbn_management_settings_application.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-management-settings-application title: "@kbn/management-settings-application" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/management-settings-application plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/management-settings-application'] --- import kbnManagementSettingsApplicationObj from './kbn_management_settings_application.devdocs.json'; diff --git a/api_docs/kbn_management_settings_components_field_category.mdx b/api_docs/kbn_management_settings_components_field_category.mdx index b624b5163f9c7..d8cea4896bb2b 100644 --- a/api_docs/kbn_management_settings_components_field_category.mdx +++ b/api_docs/kbn_management_settings_components_field_category.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-management-settings-components-field-category title: "@kbn/management-settings-components-field-category" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/management-settings-components-field-category plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/management-settings-components-field-category'] --- import kbnManagementSettingsComponentsFieldCategoryObj from './kbn_management_settings_components_field_category.devdocs.json'; diff --git a/api_docs/kbn_management_settings_components_field_input.mdx b/api_docs/kbn_management_settings_components_field_input.mdx index ec140713fddbd..d6a59605f304b 100644 --- a/api_docs/kbn_management_settings_components_field_input.mdx +++ b/api_docs/kbn_management_settings_components_field_input.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-management-settings-components-field-input title: "@kbn/management-settings-components-field-input" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/management-settings-components-field-input plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/management-settings-components-field-input'] --- import kbnManagementSettingsComponentsFieldInputObj from './kbn_management_settings_components_field_input.devdocs.json'; diff --git a/api_docs/kbn_management_settings_components_field_row.mdx b/api_docs/kbn_management_settings_components_field_row.mdx index 8debed051c9ed..2bb7d4e8414c2 100644 --- a/api_docs/kbn_management_settings_components_field_row.mdx +++ b/api_docs/kbn_management_settings_components_field_row.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-management-settings-components-field-row title: "@kbn/management-settings-components-field-row" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/management-settings-components-field-row plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/management-settings-components-field-row'] --- import kbnManagementSettingsComponentsFieldRowObj from './kbn_management_settings_components_field_row.devdocs.json'; diff --git a/api_docs/kbn_management_settings_components_form.mdx b/api_docs/kbn_management_settings_components_form.mdx index bdeb260bc5d1a..45f74db63e01d 100644 --- a/api_docs/kbn_management_settings_components_form.mdx +++ b/api_docs/kbn_management_settings_components_form.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-management-settings-components-form title: "@kbn/management-settings-components-form" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/management-settings-components-form plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/management-settings-components-form'] --- import kbnManagementSettingsComponentsFormObj from './kbn_management_settings_components_form.devdocs.json'; diff --git a/api_docs/kbn_management_settings_field_definition.mdx b/api_docs/kbn_management_settings_field_definition.mdx index ea40f98583bb6..6311a277394ef 100644 --- a/api_docs/kbn_management_settings_field_definition.mdx +++ b/api_docs/kbn_management_settings_field_definition.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-management-settings-field-definition title: "@kbn/management-settings-field-definition" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/management-settings-field-definition plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/management-settings-field-definition'] --- import kbnManagementSettingsFieldDefinitionObj from './kbn_management_settings_field_definition.devdocs.json'; diff --git a/api_docs/kbn_management_settings_ids.devdocs.json b/api_docs/kbn_management_settings_ids.devdocs.json index 5ba648240dcd5..516e6a7f6bade 100644 --- a/api_docs/kbn_management_settings_ids.devdocs.json +++ b/api_docs/kbn_management_settings_ids.devdocs.json @@ -1162,21 +1162,6 @@ "trackAdoption": false, "initialIsOpen": false }, - { - "parentPluginId": "@kbn/management-settings-ids", - "id": "def-common.OBSERVABILITY_APM_ENABLE_MULTI_SIGNAL", - "type": "string", - "tags": [], - "label": "OBSERVABILITY_APM_ENABLE_MULTI_SIGNAL", - "description": [], - "signature": [ - "\"observability:apmEnableMultiSignal\"" - ], - "path": "packages/kbn-management/settings/setting_ids/index.ts", - "deprecated": false, - "trackAdoption": false, - "initialIsOpen": false - }, { "parentPluginId": "@kbn/management-settings-ids", "id": "def-common.OBSERVABILITY_APM_ENABLE_PROFILING_INTEGRATION_ID", @@ -1402,6 +1387,21 @@ "trackAdoption": false, "initialIsOpen": false }, + { + "parentPluginId": "@kbn/management-settings-ids", + "id": "def-common.OBSERVABILITY_ENTITY_CENTRIC_EXPERIENCE", + "type": "string", + "tags": [], + "label": "OBSERVABILITY_ENTITY_CENTRIC_EXPERIENCE", + "description": [], + "signature": [ + "\"observability:entityCentricExperience\"" + ], + "path": "packages/kbn-management/settings/setting_ids/index.ts", + "deprecated": false, + "trackAdoption": false, + "initialIsOpen": false + }, { "parentPluginId": "@kbn/management-settings-ids", "id": "def-common.OBSERVABILITY_LOGS_DATA_ACCESS_LOG_SOURCES_ID", diff --git a/api_docs/kbn_management_settings_ids.mdx b/api_docs/kbn_management_settings_ids.mdx index dbb37d509aa54..e95ec6e9771ec 100644 --- a/api_docs/kbn_management_settings_ids.mdx +++ b/api_docs/kbn_management_settings_ids.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-management-settings-ids title: "@kbn/management-settings-ids" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/management-settings-ids plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/management-settings-ids'] --- import kbnManagementSettingsIdsObj from './kbn_management_settings_ids.devdocs.json'; diff --git a/api_docs/kbn_management_settings_section_registry.mdx b/api_docs/kbn_management_settings_section_registry.mdx index e69ad95b3bcc6..725506c1774b1 100644 --- a/api_docs/kbn_management_settings_section_registry.mdx +++ b/api_docs/kbn_management_settings_section_registry.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-management-settings-section-registry title: "@kbn/management-settings-section-registry" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/management-settings-section-registry plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/management-settings-section-registry'] --- import kbnManagementSettingsSectionRegistryObj from './kbn_management_settings_section_registry.devdocs.json'; diff --git a/api_docs/kbn_management_settings_types.mdx b/api_docs/kbn_management_settings_types.mdx index 4f51f00390219..164678343eaa9 100644 --- a/api_docs/kbn_management_settings_types.mdx +++ b/api_docs/kbn_management_settings_types.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-management-settings-types title: "@kbn/management-settings-types" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/management-settings-types plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/management-settings-types'] --- import kbnManagementSettingsTypesObj from './kbn_management_settings_types.devdocs.json'; diff --git a/api_docs/kbn_management_settings_utilities.mdx b/api_docs/kbn_management_settings_utilities.mdx index 67e0fd21c75ad..c84623b9df7de 100644 --- a/api_docs/kbn_management_settings_utilities.mdx +++ b/api_docs/kbn_management_settings_utilities.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-management-settings-utilities title: "@kbn/management-settings-utilities" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/management-settings-utilities plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/management-settings-utilities'] --- import kbnManagementSettingsUtilitiesObj from './kbn_management_settings_utilities.devdocs.json'; diff --git a/api_docs/kbn_management_storybook_config.mdx b/api_docs/kbn_management_storybook_config.mdx index d1acfba1f5b42..6740b53f9dab5 100644 --- a/api_docs/kbn_management_storybook_config.mdx +++ b/api_docs/kbn_management_storybook_config.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-management-storybook-config title: "@kbn/management-storybook-config" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/management-storybook-config plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/management-storybook-config'] --- import kbnManagementStorybookConfigObj from './kbn_management_storybook_config.devdocs.json'; diff --git a/api_docs/kbn_mapbox_gl.mdx b/api_docs/kbn_mapbox_gl.mdx index 5a3a4767fdc3a..37c477702f13a 100644 --- a/api_docs/kbn_mapbox_gl.mdx +++ b/api_docs/kbn_mapbox_gl.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-mapbox-gl title: "@kbn/mapbox-gl" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/mapbox-gl plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/mapbox-gl'] --- import kbnMapboxGlObj from './kbn_mapbox_gl.devdocs.json'; diff --git a/api_docs/kbn_maps_vector_tile_utils.mdx b/api_docs/kbn_maps_vector_tile_utils.mdx index 47e4df4c6b427..cf61ec00abbcd 100644 --- a/api_docs/kbn_maps_vector_tile_utils.mdx +++ b/api_docs/kbn_maps_vector_tile_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-maps-vector-tile-utils title: "@kbn/maps-vector-tile-utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/maps-vector-tile-utils plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/maps-vector-tile-utils'] --- import kbnMapsVectorTileUtilsObj from './kbn_maps_vector_tile_utils.devdocs.json'; diff --git a/api_docs/kbn_ml_agg_utils.mdx b/api_docs/kbn_ml_agg_utils.mdx index 3f3fb5f3317f2..1164c500d6ee5 100644 --- a/api_docs/kbn_ml_agg_utils.mdx +++ b/api_docs/kbn_ml_agg_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ml-agg-utils title: "@kbn/ml-agg-utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ml-agg-utils plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ml-agg-utils'] --- import kbnMlAggUtilsObj from './kbn_ml_agg_utils.devdocs.json'; diff --git a/api_docs/kbn_ml_anomaly_utils.mdx b/api_docs/kbn_ml_anomaly_utils.mdx index 274ed473dce53..bcc9e4853fe4f 100644 --- a/api_docs/kbn_ml_anomaly_utils.mdx +++ b/api_docs/kbn_ml_anomaly_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ml-anomaly-utils title: "@kbn/ml-anomaly-utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ml-anomaly-utils plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ml-anomaly-utils'] --- import kbnMlAnomalyUtilsObj from './kbn_ml_anomaly_utils.devdocs.json'; diff --git a/api_docs/kbn_ml_cancellable_search.mdx b/api_docs/kbn_ml_cancellable_search.mdx index 4899b35a80e74..a2f355f9e73be 100644 --- a/api_docs/kbn_ml_cancellable_search.mdx +++ b/api_docs/kbn_ml_cancellable_search.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ml-cancellable-search title: "@kbn/ml-cancellable-search" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ml-cancellable-search plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ml-cancellable-search'] --- import kbnMlCancellableSearchObj from './kbn_ml_cancellable_search.devdocs.json'; diff --git a/api_docs/kbn_ml_category_validator.mdx b/api_docs/kbn_ml_category_validator.mdx index ee0f9cd8aa16c..98e931bdc2d44 100644 --- a/api_docs/kbn_ml_category_validator.mdx +++ b/api_docs/kbn_ml_category_validator.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ml-category-validator title: "@kbn/ml-category-validator" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ml-category-validator plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ml-category-validator'] --- import kbnMlCategoryValidatorObj from './kbn_ml_category_validator.devdocs.json'; diff --git a/api_docs/kbn_ml_chi2test.mdx b/api_docs/kbn_ml_chi2test.mdx index 56f5c764bf877..2c963dace17c1 100644 --- a/api_docs/kbn_ml_chi2test.mdx +++ b/api_docs/kbn_ml_chi2test.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ml-chi2test title: "@kbn/ml-chi2test" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ml-chi2test plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ml-chi2test'] --- import kbnMlChi2testObj from './kbn_ml_chi2test.devdocs.json'; diff --git a/api_docs/kbn_ml_data_frame_analytics_utils.mdx b/api_docs/kbn_ml_data_frame_analytics_utils.mdx index 95c2c6db4fe28..723910a375406 100644 --- a/api_docs/kbn_ml_data_frame_analytics_utils.mdx +++ b/api_docs/kbn_ml_data_frame_analytics_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ml-data-frame-analytics-utils title: "@kbn/ml-data-frame-analytics-utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ml-data-frame-analytics-utils plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ml-data-frame-analytics-utils'] --- import kbnMlDataFrameAnalyticsUtilsObj from './kbn_ml_data_frame_analytics_utils.devdocs.json'; diff --git a/api_docs/kbn_ml_data_grid.mdx b/api_docs/kbn_ml_data_grid.mdx index a620302ae1602..8ec614da4f108 100644 --- a/api_docs/kbn_ml_data_grid.mdx +++ b/api_docs/kbn_ml_data_grid.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ml-data-grid title: "@kbn/ml-data-grid" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ml-data-grid plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ml-data-grid'] --- import kbnMlDataGridObj from './kbn_ml_data_grid.devdocs.json'; diff --git a/api_docs/kbn_ml_date_picker.mdx b/api_docs/kbn_ml_date_picker.mdx index 434fc416db765..a03c44700c87a 100644 --- a/api_docs/kbn_ml_date_picker.mdx +++ b/api_docs/kbn_ml_date_picker.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ml-date-picker title: "@kbn/ml-date-picker" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ml-date-picker plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ml-date-picker'] --- import kbnMlDatePickerObj from './kbn_ml_date_picker.devdocs.json'; diff --git a/api_docs/kbn_ml_date_utils.mdx b/api_docs/kbn_ml_date_utils.mdx index 8d269064e3e3b..8bb9e7ae407e9 100644 --- a/api_docs/kbn_ml_date_utils.mdx +++ b/api_docs/kbn_ml_date_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ml-date-utils title: "@kbn/ml-date-utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ml-date-utils plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ml-date-utils'] --- import kbnMlDateUtilsObj from './kbn_ml_date_utils.devdocs.json'; diff --git a/api_docs/kbn_ml_error_utils.mdx b/api_docs/kbn_ml_error_utils.mdx index 349e0157cb942..0a59fb38c0353 100644 --- a/api_docs/kbn_ml_error_utils.mdx +++ b/api_docs/kbn_ml_error_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ml-error-utils title: "@kbn/ml-error-utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ml-error-utils plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ml-error-utils'] --- import kbnMlErrorUtilsObj from './kbn_ml_error_utils.devdocs.json'; diff --git a/api_docs/kbn_ml_in_memory_table.mdx b/api_docs/kbn_ml_in_memory_table.mdx index 18d37e3198ed6..f872a61e99fa4 100644 --- a/api_docs/kbn_ml_in_memory_table.mdx +++ b/api_docs/kbn_ml_in_memory_table.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ml-in-memory-table title: "@kbn/ml-in-memory-table" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ml-in-memory-table plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ml-in-memory-table'] --- import kbnMlInMemoryTableObj from './kbn_ml_in_memory_table.devdocs.json'; diff --git a/api_docs/kbn_ml_is_defined.mdx b/api_docs/kbn_ml_is_defined.mdx index ef7797ce0e276..59cabbddea4ba 100644 --- a/api_docs/kbn_ml_is_defined.mdx +++ b/api_docs/kbn_ml_is_defined.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ml-is-defined title: "@kbn/ml-is-defined" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ml-is-defined plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ml-is-defined'] --- import kbnMlIsDefinedObj from './kbn_ml_is_defined.devdocs.json'; diff --git a/api_docs/kbn_ml_is_populated_object.mdx b/api_docs/kbn_ml_is_populated_object.mdx index 0fe16a9d76529..75e3e60f39bdf 100644 --- a/api_docs/kbn_ml_is_populated_object.mdx +++ b/api_docs/kbn_ml_is_populated_object.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ml-is-populated-object title: "@kbn/ml-is-populated-object" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ml-is-populated-object plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ml-is-populated-object'] --- import kbnMlIsPopulatedObjectObj from './kbn_ml_is_populated_object.devdocs.json'; diff --git a/api_docs/kbn_ml_kibana_theme.mdx b/api_docs/kbn_ml_kibana_theme.mdx index 6cbcd1d1bf111..0e0f2b8ed1d0f 100644 --- a/api_docs/kbn_ml_kibana_theme.mdx +++ b/api_docs/kbn_ml_kibana_theme.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ml-kibana-theme title: "@kbn/ml-kibana-theme" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ml-kibana-theme plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ml-kibana-theme'] --- import kbnMlKibanaThemeObj from './kbn_ml_kibana_theme.devdocs.json'; diff --git a/api_docs/kbn_ml_local_storage.mdx b/api_docs/kbn_ml_local_storage.mdx index fc325c8caa349..a86844cfa0280 100644 --- a/api_docs/kbn_ml_local_storage.mdx +++ b/api_docs/kbn_ml_local_storage.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ml-local-storage title: "@kbn/ml-local-storage" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ml-local-storage plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ml-local-storage'] --- import kbnMlLocalStorageObj from './kbn_ml_local_storage.devdocs.json'; diff --git a/api_docs/kbn_ml_nested_property.mdx b/api_docs/kbn_ml_nested_property.mdx index 31695bee530e3..e46dfa3d4c769 100644 --- a/api_docs/kbn_ml_nested_property.mdx +++ b/api_docs/kbn_ml_nested_property.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ml-nested-property title: "@kbn/ml-nested-property" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ml-nested-property plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ml-nested-property'] --- import kbnMlNestedPropertyObj from './kbn_ml_nested_property.devdocs.json'; diff --git a/api_docs/kbn_ml_number_utils.mdx b/api_docs/kbn_ml_number_utils.mdx index d189f67a207cf..9db93a827df34 100644 --- a/api_docs/kbn_ml_number_utils.mdx +++ b/api_docs/kbn_ml_number_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ml-number-utils title: "@kbn/ml-number-utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ml-number-utils plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ml-number-utils'] --- import kbnMlNumberUtilsObj from './kbn_ml_number_utils.devdocs.json'; diff --git a/api_docs/kbn_ml_query_utils.mdx b/api_docs/kbn_ml_query_utils.mdx index 4777172589ad4..02563bc764118 100644 --- a/api_docs/kbn_ml_query_utils.mdx +++ b/api_docs/kbn_ml_query_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ml-query-utils title: "@kbn/ml-query-utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ml-query-utils plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ml-query-utils'] --- import kbnMlQueryUtilsObj from './kbn_ml_query_utils.devdocs.json'; diff --git a/api_docs/kbn_ml_random_sampler_utils.mdx b/api_docs/kbn_ml_random_sampler_utils.mdx index 957606681adf7..dac8a063ceff6 100644 --- a/api_docs/kbn_ml_random_sampler_utils.mdx +++ b/api_docs/kbn_ml_random_sampler_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ml-random-sampler-utils title: "@kbn/ml-random-sampler-utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ml-random-sampler-utils plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ml-random-sampler-utils'] --- import kbnMlRandomSamplerUtilsObj from './kbn_ml_random_sampler_utils.devdocs.json'; diff --git a/api_docs/kbn_ml_route_utils.mdx b/api_docs/kbn_ml_route_utils.mdx index 5893c8b332e97..d7ece39a953c1 100644 --- a/api_docs/kbn_ml_route_utils.mdx +++ b/api_docs/kbn_ml_route_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ml-route-utils title: "@kbn/ml-route-utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ml-route-utils plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ml-route-utils'] --- import kbnMlRouteUtilsObj from './kbn_ml_route_utils.devdocs.json'; diff --git a/api_docs/kbn_ml_runtime_field_utils.mdx b/api_docs/kbn_ml_runtime_field_utils.mdx index 7a5f102855901..794ed187d5170 100644 --- a/api_docs/kbn_ml_runtime_field_utils.mdx +++ b/api_docs/kbn_ml_runtime_field_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ml-runtime-field-utils title: "@kbn/ml-runtime-field-utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ml-runtime-field-utils plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ml-runtime-field-utils'] --- import kbnMlRuntimeFieldUtilsObj from './kbn_ml_runtime_field_utils.devdocs.json'; diff --git a/api_docs/kbn_ml_string_hash.mdx b/api_docs/kbn_ml_string_hash.mdx index f730edfb04b75..38b087a1ab5dc 100644 --- a/api_docs/kbn_ml_string_hash.mdx +++ b/api_docs/kbn_ml_string_hash.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ml-string-hash title: "@kbn/ml-string-hash" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ml-string-hash plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ml-string-hash'] --- import kbnMlStringHashObj from './kbn_ml_string_hash.devdocs.json'; diff --git a/api_docs/kbn_ml_time_buckets.mdx b/api_docs/kbn_ml_time_buckets.mdx index bdd587f226636..95c77a8000bfc 100644 --- a/api_docs/kbn_ml_time_buckets.mdx +++ b/api_docs/kbn_ml_time_buckets.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ml-time-buckets title: "@kbn/ml-time-buckets" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ml-time-buckets plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ml-time-buckets'] --- import kbnMlTimeBucketsObj from './kbn_ml_time_buckets.devdocs.json'; diff --git a/api_docs/kbn_ml_trained_models_utils.mdx b/api_docs/kbn_ml_trained_models_utils.mdx index eacfef7019fa4..3d53a209f982c 100644 --- a/api_docs/kbn_ml_trained_models_utils.mdx +++ b/api_docs/kbn_ml_trained_models_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ml-trained-models-utils title: "@kbn/ml-trained-models-utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ml-trained-models-utils plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ml-trained-models-utils'] --- import kbnMlTrainedModelsUtilsObj from './kbn_ml_trained_models_utils.devdocs.json'; diff --git a/api_docs/kbn_ml_ui_actions.mdx b/api_docs/kbn_ml_ui_actions.mdx index 50c5020dd10d0..3df1319d59329 100644 --- a/api_docs/kbn_ml_ui_actions.mdx +++ b/api_docs/kbn_ml_ui_actions.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ml-ui-actions title: "@kbn/ml-ui-actions" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ml-ui-actions plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ml-ui-actions'] --- import kbnMlUiActionsObj from './kbn_ml_ui_actions.devdocs.json'; diff --git a/api_docs/kbn_ml_url_state.mdx b/api_docs/kbn_ml_url_state.mdx index 0790f82c4e176..6e4c1bdf88e1c 100644 --- a/api_docs/kbn_ml_url_state.mdx +++ b/api_docs/kbn_ml_url_state.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ml-url-state title: "@kbn/ml-url-state" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ml-url-state plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ml-url-state'] --- import kbnMlUrlStateObj from './kbn_ml_url_state.devdocs.json'; diff --git a/api_docs/kbn_mock_idp_utils.mdx b/api_docs/kbn_mock_idp_utils.mdx index faa3243896a08..e9aeadb3afd68 100644 --- a/api_docs/kbn_mock_idp_utils.mdx +++ b/api_docs/kbn_mock_idp_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-mock-idp-utils title: "@kbn/mock-idp-utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/mock-idp-utils plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/mock-idp-utils'] --- import kbnMockIdpUtilsObj from './kbn_mock_idp_utils.devdocs.json'; diff --git a/api_docs/kbn_monaco.devdocs.json b/api_docs/kbn_monaco.devdocs.json index be1438d460f19..0b994bcbe89f2 100644 --- a/api_docs/kbn_monaco.devdocs.json +++ b/api_docs/kbn_monaco.devdocs.json @@ -496,7 +496,15 @@ "label": "getFieldsFor", "description": [], "signature": [ - "CallbackFn<{ query: string; }, { name: string; type: string; }> | undefined" + "CallbackFn<{ query: string; }, ", + { + "pluginId": "@kbn/esql-validation-autocomplete", + "scope": "common", + "docId": "kibKbnEsqlValidationAutocompletePluginApi", + "section": "def-common.ESQLRealField", + "text": "ESQLRealField" + }, + "> | undefined" ], "path": "packages/kbn-esql-validation-autocomplete/src/shared/types.ts", "deprecated": false, diff --git a/api_docs/kbn_monaco.mdx b/api_docs/kbn_monaco.mdx index c7699dcc88734..8e1558e7796b4 100644 --- a/api_docs/kbn_monaco.mdx +++ b/api_docs/kbn_monaco.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-monaco title: "@kbn/monaco" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/monaco plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/monaco'] --- import kbnMonacoObj from './kbn_monaco.devdocs.json'; diff --git a/api_docs/kbn_object_versioning.mdx b/api_docs/kbn_object_versioning.mdx index 05b93269651d3..7f7f9bf6199c7 100644 --- a/api_docs/kbn_object_versioning.mdx +++ b/api_docs/kbn_object_versioning.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-object-versioning title: "@kbn/object-versioning" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/object-versioning plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/object-versioning'] --- import kbnObjectVersioningObj from './kbn_object_versioning.devdocs.json'; diff --git a/api_docs/kbn_observability_alert_details.mdx b/api_docs/kbn_observability_alert_details.mdx index 98571de1e2c98..a3ffb99d44843 100644 --- a/api_docs/kbn_observability_alert_details.mdx +++ b/api_docs/kbn_observability_alert_details.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-observability-alert-details title: "@kbn/observability-alert-details" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/observability-alert-details plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/observability-alert-details'] --- import kbnObservabilityAlertDetailsObj from './kbn_observability_alert_details.devdocs.json'; diff --git a/api_docs/kbn_observability_alerting_test_data.mdx b/api_docs/kbn_observability_alerting_test_data.mdx index b17544c28f59d..9b7f7a7d89ab6 100644 --- a/api_docs/kbn_observability_alerting_test_data.mdx +++ b/api_docs/kbn_observability_alerting_test_data.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-observability-alerting-test-data title: "@kbn/observability-alerting-test-data" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/observability-alerting-test-data plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/observability-alerting-test-data'] --- import kbnObservabilityAlertingTestDataObj from './kbn_observability_alerting_test_data.devdocs.json'; diff --git a/api_docs/kbn_observability_get_padded_alert_time_range_util.mdx b/api_docs/kbn_observability_get_padded_alert_time_range_util.mdx index 110207e139bac..0abeb661be834 100644 --- a/api_docs/kbn_observability_get_padded_alert_time_range_util.mdx +++ b/api_docs/kbn_observability_get_padded_alert_time_range_util.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-observability-get-padded-alert-time-range-util title: "@kbn/observability-get-padded-alert-time-range-util" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/observability-get-padded-alert-time-range-util plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/observability-get-padded-alert-time-range-util'] --- import kbnObservabilityGetPaddedAlertTimeRangeUtilObj from './kbn_observability_get_padded_alert_time_range_util.devdocs.json'; diff --git a/api_docs/kbn_openapi_bundler.mdx b/api_docs/kbn_openapi_bundler.mdx index c76f3fe1d7b97..3c7a2d9e22892 100644 --- a/api_docs/kbn_openapi_bundler.mdx +++ b/api_docs/kbn_openapi_bundler.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-openapi-bundler title: "@kbn/openapi-bundler" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/openapi-bundler plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/openapi-bundler'] --- import kbnOpenapiBundlerObj from './kbn_openapi_bundler.devdocs.json'; diff --git a/api_docs/kbn_openapi_generator.mdx b/api_docs/kbn_openapi_generator.mdx index ba5cc48ba9118..9068ea7e6231a 100644 --- a/api_docs/kbn_openapi_generator.mdx +++ b/api_docs/kbn_openapi_generator.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-openapi-generator title: "@kbn/openapi-generator" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/openapi-generator plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/openapi-generator'] --- import kbnOpenapiGeneratorObj from './kbn_openapi_generator.devdocs.json'; diff --git a/api_docs/kbn_optimizer.mdx b/api_docs/kbn_optimizer.mdx index 7fac334113633..6dd252f7c22ac 100644 --- a/api_docs/kbn_optimizer.mdx +++ b/api_docs/kbn_optimizer.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-optimizer title: "@kbn/optimizer" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/optimizer plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/optimizer'] --- import kbnOptimizerObj from './kbn_optimizer.devdocs.json'; diff --git a/api_docs/kbn_optimizer_webpack_helpers.mdx b/api_docs/kbn_optimizer_webpack_helpers.mdx index df64bcbd6822b..8b195ee40773c 100644 --- a/api_docs/kbn_optimizer_webpack_helpers.mdx +++ b/api_docs/kbn_optimizer_webpack_helpers.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-optimizer-webpack-helpers title: "@kbn/optimizer-webpack-helpers" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/optimizer-webpack-helpers plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/optimizer-webpack-helpers'] --- import kbnOptimizerWebpackHelpersObj from './kbn_optimizer_webpack_helpers.devdocs.json'; diff --git a/api_docs/kbn_osquery_io_ts_types.mdx b/api_docs/kbn_osquery_io_ts_types.mdx index 6cc3affc3d56b..62f5224e554ef 100644 --- a/api_docs/kbn_osquery_io_ts_types.mdx +++ b/api_docs/kbn_osquery_io_ts_types.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-osquery-io-ts-types title: "@kbn/osquery-io-ts-types" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/osquery-io-ts-types plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/osquery-io-ts-types'] --- import kbnOsqueryIoTsTypesObj from './kbn_osquery_io_ts_types.devdocs.json'; diff --git a/api_docs/kbn_panel_loader.mdx b/api_docs/kbn_panel_loader.mdx index ccdb4313e6cf6..63b2b877b095c 100644 --- a/api_docs/kbn_panel_loader.mdx +++ b/api_docs/kbn_panel_loader.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-panel-loader title: "@kbn/panel-loader" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/panel-loader plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/panel-loader'] --- import kbnPanelLoaderObj from './kbn_panel_loader.devdocs.json'; diff --git a/api_docs/kbn_performance_testing_dataset_extractor.mdx b/api_docs/kbn_performance_testing_dataset_extractor.mdx index 13b7a419470ba..9cf78080892a6 100644 --- a/api_docs/kbn_performance_testing_dataset_extractor.mdx +++ b/api_docs/kbn_performance_testing_dataset_extractor.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-performance-testing-dataset-extractor title: "@kbn/performance-testing-dataset-extractor" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/performance-testing-dataset-extractor plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/performance-testing-dataset-extractor'] --- import kbnPerformanceTestingDatasetExtractorObj from './kbn_performance_testing_dataset_extractor.devdocs.json'; diff --git a/api_docs/kbn_plugin_check.mdx b/api_docs/kbn_plugin_check.mdx index cd44adc6224b7..47735ca0e3902 100644 --- a/api_docs/kbn_plugin_check.mdx +++ b/api_docs/kbn_plugin_check.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-plugin-check title: "@kbn/plugin-check" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/plugin-check plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/plugin-check'] --- import kbnPluginCheckObj from './kbn_plugin_check.devdocs.json'; diff --git a/api_docs/kbn_plugin_generator.mdx b/api_docs/kbn_plugin_generator.mdx index 756ceddc5b032..51eb781613f13 100644 --- a/api_docs/kbn_plugin_generator.mdx +++ b/api_docs/kbn_plugin_generator.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-plugin-generator title: "@kbn/plugin-generator" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/plugin-generator plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/plugin-generator'] --- import kbnPluginGeneratorObj from './kbn_plugin_generator.devdocs.json'; diff --git a/api_docs/kbn_plugin_helpers.mdx b/api_docs/kbn_plugin_helpers.mdx index 11ec604efc91d..5d86bbf374e3b 100644 --- a/api_docs/kbn_plugin_helpers.mdx +++ b/api_docs/kbn_plugin_helpers.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-plugin-helpers title: "@kbn/plugin-helpers" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/plugin-helpers plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/plugin-helpers'] --- import kbnPluginHelpersObj from './kbn_plugin_helpers.devdocs.json'; diff --git a/api_docs/kbn_presentation_containers.mdx b/api_docs/kbn_presentation_containers.mdx index 4dc701a34b829..d74ebcd5f2153 100644 --- a/api_docs/kbn_presentation_containers.mdx +++ b/api_docs/kbn_presentation_containers.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-presentation-containers title: "@kbn/presentation-containers" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/presentation-containers plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/presentation-containers'] --- import kbnPresentationContainersObj from './kbn_presentation_containers.devdocs.json'; diff --git a/api_docs/kbn_presentation_publishing.mdx b/api_docs/kbn_presentation_publishing.mdx index 945cc2ef3573c..8be3d9979012d 100644 --- a/api_docs/kbn_presentation_publishing.mdx +++ b/api_docs/kbn_presentation_publishing.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-presentation-publishing title: "@kbn/presentation-publishing" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/presentation-publishing plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/presentation-publishing'] --- import kbnPresentationPublishingObj from './kbn_presentation_publishing.devdocs.json'; diff --git a/api_docs/kbn_profiling_utils.mdx b/api_docs/kbn_profiling_utils.mdx index ae1fbc8cf7252..71067a26edcdb 100644 --- a/api_docs/kbn_profiling_utils.mdx +++ b/api_docs/kbn_profiling_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-profiling-utils title: "@kbn/profiling-utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/profiling-utils plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/profiling-utils'] --- import kbnProfilingUtilsObj from './kbn_profiling_utils.devdocs.json'; diff --git a/api_docs/kbn_random_sampling.mdx b/api_docs/kbn_random_sampling.mdx index b77327462aaca..4d6afff1c0c9b 100644 --- a/api_docs/kbn_random_sampling.mdx +++ b/api_docs/kbn_random_sampling.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-random-sampling title: "@kbn/random-sampling" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/random-sampling plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/random-sampling'] --- import kbnRandomSamplingObj from './kbn_random_sampling.devdocs.json'; diff --git a/api_docs/kbn_react_field.mdx b/api_docs/kbn_react_field.mdx index 0891ec615023f..2a60c10a08953 100644 --- a/api_docs/kbn_react_field.mdx +++ b/api_docs/kbn_react_field.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-react-field title: "@kbn/react-field" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/react-field plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/react-field'] --- import kbnReactFieldObj from './kbn_react_field.devdocs.json'; diff --git a/api_docs/kbn_react_hooks.mdx b/api_docs/kbn_react_hooks.mdx index 2604b3911095d..bea021f943d10 100644 --- a/api_docs/kbn_react_hooks.mdx +++ b/api_docs/kbn_react_hooks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-react-hooks title: "@kbn/react-hooks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/react-hooks plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/react-hooks'] --- import kbnReactHooksObj from './kbn_react_hooks.devdocs.json'; diff --git a/api_docs/kbn_react_kibana_context_common.mdx b/api_docs/kbn_react_kibana_context_common.mdx index 23612b9d2300a..cd63d0d5b9491 100644 --- a/api_docs/kbn_react_kibana_context_common.mdx +++ b/api_docs/kbn_react_kibana_context_common.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-react-kibana-context-common title: "@kbn/react-kibana-context-common" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/react-kibana-context-common plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/react-kibana-context-common'] --- import kbnReactKibanaContextCommonObj from './kbn_react_kibana_context_common.devdocs.json'; diff --git a/api_docs/kbn_react_kibana_context_render.mdx b/api_docs/kbn_react_kibana_context_render.mdx index 533904057e243..aa9709f60ca91 100644 --- a/api_docs/kbn_react_kibana_context_render.mdx +++ b/api_docs/kbn_react_kibana_context_render.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-react-kibana-context-render title: "@kbn/react-kibana-context-render" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/react-kibana-context-render plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/react-kibana-context-render'] --- import kbnReactKibanaContextRenderObj from './kbn_react_kibana_context_render.devdocs.json'; diff --git a/api_docs/kbn_react_kibana_context_root.mdx b/api_docs/kbn_react_kibana_context_root.mdx index 6d300b003a921..5db54a4c8f783 100644 --- a/api_docs/kbn_react_kibana_context_root.mdx +++ b/api_docs/kbn_react_kibana_context_root.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-react-kibana-context-root title: "@kbn/react-kibana-context-root" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/react-kibana-context-root plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/react-kibana-context-root'] --- import kbnReactKibanaContextRootObj from './kbn_react_kibana_context_root.devdocs.json'; diff --git a/api_docs/kbn_react_kibana_context_styled.mdx b/api_docs/kbn_react_kibana_context_styled.mdx index 57f13dd630e48..2e7282a9fce6b 100644 --- a/api_docs/kbn_react_kibana_context_styled.mdx +++ b/api_docs/kbn_react_kibana_context_styled.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-react-kibana-context-styled title: "@kbn/react-kibana-context-styled" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/react-kibana-context-styled plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/react-kibana-context-styled'] --- import kbnReactKibanaContextStyledObj from './kbn_react_kibana_context_styled.devdocs.json'; diff --git a/api_docs/kbn_react_kibana_context_theme.mdx b/api_docs/kbn_react_kibana_context_theme.mdx index 6aa5da97380bf..9772313924e84 100644 --- a/api_docs/kbn_react_kibana_context_theme.mdx +++ b/api_docs/kbn_react_kibana_context_theme.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-react-kibana-context-theme title: "@kbn/react-kibana-context-theme" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/react-kibana-context-theme plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/react-kibana-context-theme'] --- import kbnReactKibanaContextThemeObj from './kbn_react_kibana_context_theme.devdocs.json'; diff --git a/api_docs/kbn_react_kibana_mount.mdx b/api_docs/kbn_react_kibana_mount.mdx index ecae44e8bbdaf..b63b4e87acfc5 100644 --- a/api_docs/kbn_react_kibana_mount.mdx +++ b/api_docs/kbn_react_kibana_mount.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-react-kibana-mount title: "@kbn/react-kibana-mount" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/react-kibana-mount plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/react-kibana-mount'] --- import kbnReactKibanaMountObj from './kbn_react_kibana_mount.devdocs.json'; diff --git a/api_docs/kbn_recently_accessed.mdx b/api_docs/kbn_recently_accessed.mdx index 7bf045f612208..40ecc3a2703a9 100644 --- a/api_docs/kbn_recently_accessed.mdx +++ b/api_docs/kbn_recently_accessed.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-recently-accessed title: "@kbn/recently-accessed" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/recently-accessed plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/recently-accessed'] --- import kbnRecentlyAccessedObj from './kbn_recently_accessed.devdocs.json'; diff --git a/api_docs/kbn_repo_file_maps.mdx b/api_docs/kbn_repo_file_maps.mdx index e568583f71a18..526552a5c157f 100644 --- a/api_docs/kbn_repo_file_maps.mdx +++ b/api_docs/kbn_repo_file_maps.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-repo-file-maps title: "@kbn/repo-file-maps" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/repo-file-maps plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/repo-file-maps'] --- import kbnRepoFileMapsObj from './kbn_repo_file_maps.devdocs.json'; diff --git a/api_docs/kbn_repo_linter.mdx b/api_docs/kbn_repo_linter.mdx index cc33d7e5ce247..85722dc7c4dd7 100644 --- a/api_docs/kbn_repo_linter.mdx +++ b/api_docs/kbn_repo_linter.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-repo-linter title: "@kbn/repo-linter" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/repo-linter plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/repo-linter'] --- import kbnRepoLinterObj from './kbn_repo_linter.devdocs.json'; diff --git a/api_docs/kbn_repo_path.mdx b/api_docs/kbn_repo_path.mdx index 449a89403d9b6..dc5e3f7d0b312 100644 --- a/api_docs/kbn_repo_path.mdx +++ b/api_docs/kbn_repo_path.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-repo-path title: "@kbn/repo-path" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/repo-path plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/repo-path'] --- import kbnRepoPathObj from './kbn_repo_path.devdocs.json'; diff --git a/api_docs/kbn_repo_source_classifier.mdx b/api_docs/kbn_repo_source_classifier.mdx index 7597d41f1e177..137f5e2755171 100644 --- a/api_docs/kbn_repo_source_classifier.mdx +++ b/api_docs/kbn_repo_source_classifier.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-repo-source-classifier title: "@kbn/repo-source-classifier" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/repo-source-classifier plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/repo-source-classifier'] --- import kbnRepoSourceClassifierObj from './kbn_repo_source_classifier.devdocs.json'; diff --git a/api_docs/kbn_reporting_common.mdx b/api_docs/kbn_reporting_common.mdx index 01ee90d49d143..0e075bc975763 100644 --- a/api_docs/kbn_reporting_common.mdx +++ b/api_docs/kbn_reporting_common.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-reporting-common title: "@kbn/reporting-common" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/reporting-common plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/reporting-common'] --- import kbnReportingCommonObj from './kbn_reporting_common.devdocs.json'; diff --git a/api_docs/kbn_reporting_csv_share_panel.mdx b/api_docs/kbn_reporting_csv_share_panel.mdx index 1f13ec1848d62..07f1f7bd51908 100644 --- a/api_docs/kbn_reporting_csv_share_panel.mdx +++ b/api_docs/kbn_reporting_csv_share_panel.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-reporting-csv-share-panel title: "@kbn/reporting-csv-share-panel" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/reporting-csv-share-panel plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/reporting-csv-share-panel'] --- import kbnReportingCsvSharePanelObj from './kbn_reporting_csv_share_panel.devdocs.json'; diff --git a/api_docs/kbn_reporting_export_types_csv.mdx b/api_docs/kbn_reporting_export_types_csv.mdx index 4fef9d26b4328..c93aafa745fbc 100644 --- a/api_docs/kbn_reporting_export_types_csv.mdx +++ b/api_docs/kbn_reporting_export_types_csv.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-reporting-export-types-csv title: "@kbn/reporting-export-types-csv" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/reporting-export-types-csv plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/reporting-export-types-csv'] --- import kbnReportingExportTypesCsvObj from './kbn_reporting_export_types_csv.devdocs.json'; diff --git a/api_docs/kbn_reporting_export_types_csv_common.mdx b/api_docs/kbn_reporting_export_types_csv_common.mdx index e623f316633be..0a09dd96a2991 100644 --- a/api_docs/kbn_reporting_export_types_csv_common.mdx +++ b/api_docs/kbn_reporting_export_types_csv_common.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-reporting-export-types-csv-common title: "@kbn/reporting-export-types-csv-common" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/reporting-export-types-csv-common plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/reporting-export-types-csv-common'] --- import kbnReportingExportTypesCsvCommonObj from './kbn_reporting_export_types_csv_common.devdocs.json'; diff --git a/api_docs/kbn_reporting_export_types_pdf.mdx b/api_docs/kbn_reporting_export_types_pdf.mdx index 7967330575cf1..3bd25432240f1 100644 --- a/api_docs/kbn_reporting_export_types_pdf.mdx +++ b/api_docs/kbn_reporting_export_types_pdf.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-reporting-export-types-pdf title: "@kbn/reporting-export-types-pdf" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/reporting-export-types-pdf plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/reporting-export-types-pdf'] --- import kbnReportingExportTypesPdfObj from './kbn_reporting_export_types_pdf.devdocs.json'; diff --git a/api_docs/kbn_reporting_export_types_pdf_common.mdx b/api_docs/kbn_reporting_export_types_pdf_common.mdx index a1a3d11b26317..b06874f7f3a6e 100644 --- a/api_docs/kbn_reporting_export_types_pdf_common.mdx +++ b/api_docs/kbn_reporting_export_types_pdf_common.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-reporting-export-types-pdf-common title: "@kbn/reporting-export-types-pdf-common" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/reporting-export-types-pdf-common plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/reporting-export-types-pdf-common'] --- import kbnReportingExportTypesPdfCommonObj from './kbn_reporting_export_types_pdf_common.devdocs.json'; diff --git a/api_docs/kbn_reporting_export_types_png.mdx b/api_docs/kbn_reporting_export_types_png.mdx index ac930a806a79f..a5f1546c4335e 100644 --- a/api_docs/kbn_reporting_export_types_png.mdx +++ b/api_docs/kbn_reporting_export_types_png.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-reporting-export-types-png title: "@kbn/reporting-export-types-png" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/reporting-export-types-png plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/reporting-export-types-png'] --- import kbnReportingExportTypesPngObj from './kbn_reporting_export_types_png.devdocs.json'; diff --git a/api_docs/kbn_reporting_export_types_png_common.mdx b/api_docs/kbn_reporting_export_types_png_common.mdx index a931e4d4578bb..6adce97d0f0fa 100644 --- a/api_docs/kbn_reporting_export_types_png_common.mdx +++ b/api_docs/kbn_reporting_export_types_png_common.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-reporting-export-types-png-common title: "@kbn/reporting-export-types-png-common" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/reporting-export-types-png-common plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/reporting-export-types-png-common'] --- import kbnReportingExportTypesPngCommonObj from './kbn_reporting_export_types_png_common.devdocs.json'; diff --git a/api_docs/kbn_reporting_mocks_server.mdx b/api_docs/kbn_reporting_mocks_server.mdx index 3059fbd24bd49..328b8bb5a865b 100644 --- a/api_docs/kbn_reporting_mocks_server.mdx +++ b/api_docs/kbn_reporting_mocks_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-reporting-mocks-server title: "@kbn/reporting-mocks-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/reporting-mocks-server plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/reporting-mocks-server'] --- import kbnReportingMocksServerObj from './kbn_reporting_mocks_server.devdocs.json'; diff --git a/api_docs/kbn_reporting_public.mdx b/api_docs/kbn_reporting_public.mdx index 547eaa0d94053..5f6606e65a4d3 100644 --- a/api_docs/kbn_reporting_public.mdx +++ b/api_docs/kbn_reporting_public.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-reporting-public title: "@kbn/reporting-public" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/reporting-public plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/reporting-public'] --- import kbnReportingPublicObj from './kbn_reporting_public.devdocs.json'; diff --git a/api_docs/kbn_reporting_server.mdx b/api_docs/kbn_reporting_server.mdx index 0aa8bf0df6aad..09006d72e34ed 100644 --- a/api_docs/kbn_reporting_server.mdx +++ b/api_docs/kbn_reporting_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-reporting-server title: "@kbn/reporting-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/reporting-server plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/reporting-server'] --- import kbnReportingServerObj from './kbn_reporting_server.devdocs.json'; diff --git a/api_docs/kbn_resizable_layout.mdx b/api_docs/kbn_resizable_layout.mdx index d416d9e9ec0ff..b76dc5e9e9082 100644 --- a/api_docs/kbn_resizable_layout.mdx +++ b/api_docs/kbn_resizable_layout.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-resizable-layout title: "@kbn/resizable-layout" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/resizable-layout plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/resizable-layout'] --- import kbnResizableLayoutObj from './kbn_resizable_layout.devdocs.json'; diff --git a/api_docs/kbn_response_ops_feature_flag_service.mdx b/api_docs/kbn_response_ops_feature_flag_service.mdx index 0daf75f60eb3c..5132717075dde 100644 --- a/api_docs/kbn_response_ops_feature_flag_service.mdx +++ b/api_docs/kbn_response_ops_feature_flag_service.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-response-ops-feature-flag-service title: "@kbn/response-ops-feature-flag-service" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/response-ops-feature-flag-service plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/response-ops-feature-flag-service'] --- import kbnResponseOpsFeatureFlagServiceObj from './kbn_response_ops_feature_flag_service.devdocs.json'; diff --git a/api_docs/kbn_rison.mdx b/api_docs/kbn_rison.mdx index 201a7a213409b..e7caa84c16f2c 100644 --- a/api_docs/kbn_rison.mdx +++ b/api_docs/kbn_rison.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-rison title: "@kbn/rison" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/rison plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/rison'] --- import kbnRisonObj from './kbn_rison.devdocs.json'; diff --git a/api_docs/kbn_rollup.mdx b/api_docs/kbn_rollup.mdx index 60177dc0e33d0..3646bd91e8c09 100644 --- a/api_docs/kbn_rollup.mdx +++ b/api_docs/kbn_rollup.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-rollup title: "@kbn/rollup" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/rollup plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/rollup'] --- import kbnRollupObj from './kbn_rollup.devdocs.json'; diff --git a/api_docs/kbn_router_to_openapispec.mdx b/api_docs/kbn_router_to_openapispec.mdx index a5ece06fff275..419c37fee8b8c 100644 --- a/api_docs/kbn_router_to_openapispec.mdx +++ b/api_docs/kbn_router_to_openapispec.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-router-to-openapispec title: "@kbn/router-to-openapispec" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/router-to-openapispec plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/router-to-openapispec'] --- import kbnRouterToOpenapispecObj from './kbn_router_to_openapispec.devdocs.json'; diff --git a/api_docs/kbn_router_utils.mdx b/api_docs/kbn_router_utils.mdx index ce42c6c4fa756..2eaa760f69f5f 100644 --- a/api_docs/kbn_router_utils.mdx +++ b/api_docs/kbn_router_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-router-utils title: "@kbn/router-utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/router-utils plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/router-utils'] --- import kbnRouterUtilsObj from './kbn_router_utils.devdocs.json'; diff --git a/api_docs/kbn_rrule.mdx b/api_docs/kbn_rrule.mdx index 7342e964a54c5..7d3e61d0c7cec 100644 --- a/api_docs/kbn_rrule.mdx +++ b/api_docs/kbn_rrule.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-rrule title: "@kbn/rrule" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/rrule plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/rrule'] --- import kbnRruleObj from './kbn_rrule.devdocs.json'; diff --git a/api_docs/kbn_rule_data_utils.mdx b/api_docs/kbn_rule_data_utils.mdx index 08d82781de937..0301512287229 100644 --- a/api_docs/kbn_rule_data_utils.mdx +++ b/api_docs/kbn_rule_data_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-rule-data-utils title: "@kbn/rule-data-utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/rule-data-utils plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/rule-data-utils'] --- import kbnRuleDataUtilsObj from './kbn_rule_data_utils.devdocs.json'; diff --git a/api_docs/kbn_saved_objects_settings.mdx b/api_docs/kbn_saved_objects_settings.mdx index c938068e48280..dee8eec73fae6 100644 --- a/api_docs/kbn_saved_objects_settings.mdx +++ b/api_docs/kbn_saved_objects_settings.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-saved-objects-settings title: "@kbn/saved-objects-settings" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/saved-objects-settings plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/saved-objects-settings'] --- import kbnSavedObjectsSettingsObj from './kbn_saved_objects_settings.devdocs.json'; diff --git a/api_docs/kbn_search_api_panels.mdx b/api_docs/kbn_search_api_panels.mdx index 45e7d63b77b3f..27eef28cea9e7 100644 --- a/api_docs/kbn_search_api_panels.mdx +++ b/api_docs/kbn_search_api_panels.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-search-api-panels title: "@kbn/search-api-panels" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/search-api-panels plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/search-api-panels'] --- import kbnSearchApiPanelsObj from './kbn_search_api_panels.devdocs.json'; diff --git a/api_docs/kbn_search_connectors.mdx b/api_docs/kbn_search_connectors.mdx index 5afa57d54476d..0e4a32f67aa4c 100644 --- a/api_docs/kbn_search_connectors.mdx +++ b/api_docs/kbn_search_connectors.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-search-connectors title: "@kbn/search-connectors" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/search-connectors plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/search-connectors'] --- import kbnSearchConnectorsObj from './kbn_search_connectors.devdocs.json'; diff --git a/api_docs/kbn_search_errors.mdx b/api_docs/kbn_search_errors.mdx index f9c9c7c97ab03..766087c9f52ef 100644 --- a/api_docs/kbn_search_errors.mdx +++ b/api_docs/kbn_search_errors.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-search-errors title: "@kbn/search-errors" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/search-errors plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/search-errors'] --- import kbnSearchErrorsObj from './kbn_search_errors.devdocs.json'; diff --git a/api_docs/kbn_search_index_documents.mdx b/api_docs/kbn_search_index_documents.mdx index 24bef9ff9f146..139b04af74d70 100644 --- a/api_docs/kbn_search_index_documents.mdx +++ b/api_docs/kbn_search_index_documents.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-search-index-documents title: "@kbn/search-index-documents" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/search-index-documents plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/search-index-documents'] --- import kbnSearchIndexDocumentsObj from './kbn_search_index_documents.devdocs.json'; diff --git a/api_docs/kbn_search_response_warnings.mdx b/api_docs/kbn_search_response_warnings.mdx index 7f3825cad58ad..7cfc9b72aa355 100644 --- a/api_docs/kbn_search_response_warnings.mdx +++ b/api_docs/kbn_search_response_warnings.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-search-response-warnings title: "@kbn/search-response-warnings" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/search-response-warnings plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/search-response-warnings'] --- import kbnSearchResponseWarningsObj from './kbn_search_response_warnings.devdocs.json'; diff --git a/api_docs/kbn_search_types.mdx b/api_docs/kbn_search_types.mdx index d8b6deae9782c..7db0de44717ba 100644 --- a/api_docs/kbn_search_types.mdx +++ b/api_docs/kbn_search_types.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-search-types title: "@kbn/search-types" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/search-types plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/search-types'] --- import kbnSearchTypesObj from './kbn_search_types.devdocs.json'; diff --git a/api_docs/kbn_security_api_key_management.mdx b/api_docs/kbn_security_api_key_management.mdx index aff1de3946632..154cdd6d6c6c1 100644 --- a/api_docs/kbn_security_api_key_management.mdx +++ b/api_docs/kbn_security_api_key_management.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-security-api-key-management title: "@kbn/security-api-key-management" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/security-api-key-management plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/security-api-key-management'] --- import kbnSecurityApiKeyManagementObj from './kbn_security_api_key_management.devdocs.json'; diff --git a/api_docs/kbn_security_form_components.mdx b/api_docs/kbn_security_form_components.mdx index bf4a7f795a5cf..b8a069c4c8eeb 100644 --- a/api_docs/kbn_security_form_components.mdx +++ b/api_docs/kbn_security_form_components.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-security-form-components title: "@kbn/security-form-components" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/security-form-components plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/security-form-components'] --- import kbnSecurityFormComponentsObj from './kbn_security_form_components.devdocs.json'; diff --git a/api_docs/kbn_security_hardening.mdx b/api_docs/kbn_security_hardening.mdx index bfc2353699ae0..b912a2173464d 100644 --- a/api_docs/kbn_security_hardening.mdx +++ b/api_docs/kbn_security_hardening.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-security-hardening title: "@kbn/security-hardening" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/security-hardening plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/security-hardening'] --- import kbnSecurityHardeningObj from './kbn_security_hardening.devdocs.json'; diff --git a/api_docs/kbn_security_plugin_types_common.mdx b/api_docs/kbn_security_plugin_types_common.mdx index 0a1b567e94e69..f5fa51ab38b32 100644 --- a/api_docs/kbn_security_plugin_types_common.mdx +++ b/api_docs/kbn_security_plugin_types_common.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-security-plugin-types-common title: "@kbn/security-plugin-types-common" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/security-plugin-types-common plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/security-plugin-types-common'] --- import kbnSecurityPluginTypesCommonObj from './kbn_security_plugin_types_common.devdocs.json'; diff --git a/api_docs/kbn_security_plugin_types_public.mdx b/api_docs/kbn_security_plugin_types_public.mdx index 88acddda00567..23f5385ab0d37 100644 --- a/api_docs/kbn_security_plugin_types_public.mdx +++ b/api_docs/kbn_security_plugin_types_public.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-security-plugin-types-public title: "@kbn/security-plugin-types-public" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/security-plugin-types-public plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/security-plugin-types-public'] --- import kbnSecurityPluginTypesPublicObj from './kbn_security_plugin_types_public.devdocs.json'; diff --git a/api_docs/kbn_security_plugin_types_server.mdx b/api_docs/kbn_security_plugin_types_server.mdx index 17e88209dbc6e..41133b132f77c 100644 --- a/api_docs/kbn_security_plugin_types_server.mdx +++ b/api_docs/kbn_security_plugin_types_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-security-plugin-types-server title: "@kbn/security-plugin-types-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/security-plugin-types-server plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/security-plugin-types-server'] --- import kbnSecurityPluginTypesServerObj from './kbn_security_plugin_types_server.devdocs.json'; diff --git a/api_docs/kbn_security_solution_features.mdx b/api_docs/kbn_security_solution_features.mdx index 9868748e553bb..74f99d6938729 100644 --- a/api_docs/kbn_security_solution_features.mdx +++ b/api_docs/kbn_security_solution_features.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-security-solution-features title: "@kbn/security-solution-features" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/security-solution-features plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/security-solution-features'] --- import kbnSecuritySolutionFeaturesObj from './kbn_security_solution_features.devdocs.json'; diff --git a/api_docs/kbn_security_solution_navigation.mdx b/api_docs/kbn_security_solution_navigation.mdx index c03055c2f4415..6f075788382c1 100644 --- a/api_docs/kbn_security_solution_navigation.mdx +++ b/api_docs/kbn_security_solution_navigation.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-security-solution-navigation title: "@kbn/security-solution-navigation" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/security-solution-navigation plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/security-solution-navigation'] --- import kbnSecuritySolutionNavigationObj from './kbn_security_solution_navigation.devdocs.json'; diff --git a/api_docs/kbn_security_solution_side_nav.mdx b/api_docs/kbn_security_solution_side_nav.mdx index 383c21b506a14..fa7861bb198f1 100644 --- a/api_docs/kbn_security_solution_side_nav.mdx +++ b/api_docs/kbn_security_solution_side_nav.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-security-solution-side-nav title: "@kbn/security-solution-side-nav" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/security-solution-side-nav plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/security-solution-side-nav'] --- import kbnSecuritySolutionSideNavObj from './kbn_security_solution_side_nav.devdocs.json'; diff --git a/api_docs/kbn_security_solution_storybook_config.mdx b/api_docs/kbn_security_solution_storybook_config.mdx index ee0f227347d95..a232e71491d1e 100644 --- a/api_docs/kbn_security_solution_storybook_config.mdx +++ b/api_docs/kbn_security_solution_storybook_config.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-security-solution-storybook-config title: "@kbn/security-solution-storybook-config" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/security-solution-storybook-config plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/security-solution-storybook-config'] --- import kbnSecuritySolutionStorybookConfigObj from './kbn_security_solution_storybook_config.devdocs.json'; diff --git a/api_docs/kbn_securitysolution_autocomplete.mdx b/api_docs/kbn_securitysolution_autocomplete.mdx index 74ccd8ad24f3b..134c0580f8e3c 100644 --- a/api_docs/kbn_securitysolution_autocomplete.mdx +++ b/api_docs/kbn_securitysolution_autocomplete.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-securitysolution-autocomplete title: "@kbn/securitysolution-autocomplete" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/securitysolution-autocomplete plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/securitysolution-autocomplete'] --- import kbnSecuritysolutionAutocompleteObj from './kbn_securitysolution_autocomplete.devdocs.json'; diff --git a/api_docs/kbn_securitysolution_data_table.mdx b/api_docs/kbn_securitysolution_data_table.mdx index 3378fc4d56f6a..70a0401b890ff 100644 --- a/api_docs/kbn_securitysolution_data_table.mdx +++ b/api_docs/kbn_securitysolution_data_table.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-securitysolution-data-table title: "@kbn/securitysolution-data-table" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/securitysolution-data-table plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/securitysolution-data-table'] --- import kbnSecuritysolutionDataTableObj from './kbn_securitysolution_data_table.devdocs.json'; diff --git a/api_docs/kbn_securitysolution_ecs.mdx b/api_docs/kbn_securitysolution_ecs.mdx index 352c6f9d7bac7..5ea7d251c6404 100644 --- a/api_docs/kbn_securitysolution_ecs.mdx +++ b/api_docs/kbn_securitysolution_ecs.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-securitysolution-ecs title: "@kbn/securitysolution-ecs" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/securitysolution-ecs plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/securitysolution-ecs'] --- import kbnSecuritysolutionEcsObj from './kbn_securitysolution_ecs.devdocs.json'; diff --git a/api_docs/kbn_securitysolution_es_utils.mdx b/api_docs/kbn_securitysolution_es_utils.mdx index 8bf7394ddb7b4..2734889e1608c 100644 --- a/api_docs/kbn_securitysolution_es_utils.mdx +++ b/api_docs/kbn_securitysolution_es_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-securitysolution-es-utils title: "@kbn/securitysolution-es-utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/securitysolution-es-utils plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/securitysolution-es-utils'] --- import kbnSecuritysolutionEsUtilsObj from './kbn_securitysolution_es_utils.devdocs.json'; diff --git a/api_docs/kbn_securitysolution_exception_list_components.mdx b/api_docs/kbn_securitysolution_exception_list_components.mdx index 4e8853ae5cf39..3191cbee3844a 100644 --- a/api_docs/kbn_securitysolution_exception_list_components.mdx +++ b/api_docs/kbn_securitysolution_exception_list_components.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-securitysolution-exception-list-components title: "@kbn/securitysolution-exception-list-components" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/securitysolution-exception-list-components plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/securitysolution-exception-list-components'] --- import kbnSecuritysolutionExceptionListComponentsObj from './kbn_securitysolution_exception_list_components.devdocs.json'; diff --git a/api_docs/kbn_securitysolution_hook_utils.mdx b/api_docs/kbn_securitysolution_hook_utils.mdx index 47638a8626210..d0f97c3505320 100644 --- a/api_docs/kbn_securitysolution_hook_utils.mdx +++ b/api_docs/kbn_securitysolution_hook_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-securitysolution-hook-utils title: "@kbn/securitysolution-hook-utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/securitysolution-hook-utils plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/securitysolution-hook-utils'] --- import kbnSecuritysolutionHookUtilsObj from './kbn_securitysolution_hook_utils.devdocs.json'; diff --git a/api_docs/kbn_securitysolution_io_ts_alerting_types.mdx b/api_docs/kbn_securitysolution_io_ts_alerting_types.mdx index 9c9ecf95ff90e..16409eb4262cf 100644 --- a/api_docs/kbn_securitysolution_io_ts_alerting_types.mdx +++ b/api_docs/kbn_securitysolution_io_ts_alerting_types.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-securitysolution-io-ts-alerting-types title: "@kbn/securitysolution-io-ts-alerting-types" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/securitysolution-io-ts-alerting-types plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/securitysolution-io-ts-alerting-types'] --- import kbnSecuritysolutionIoTsAlertingTypesObj from './kbn_securitysolution_io_ts_alerting_types.devdocs.json'; diff --git a/api_docs/kbn_securitysolution_io_ts_list_types.devdocs.json b/api_docs/kbn_securitysolution_io_ts_list_types.devdocs.json index 0ebe5a949c24b..1a57b339887c8 100644 --- a/api_docs/kbn_securitysolution_io_ts_list_types.devdocs.json +++ b/api_docs/kbn_securitysolution_io_ts_list_types.devdocs.json @@ -18,74 +18,7 @@ }, "common": { "classes": [], - "functions": [ - { - "parentPluginId": "@kbn/securitysolution-io-ts-list-types", - "id": "def-common.updateExceptionListItemValidate", - "type": "Function", - "tags": [], - "label": "updateExceptionListItemValidate", - "description": [], - "signature": [ - "(schema: { description: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"geo_point\" | \"geo_shape\" | \"ip\" | \"binary\" | \"keyword\" | \"text\" | \"date\" | \"date_nanos\" | \"integer\" | \"long\" | \"short\" | \"byte\" | \"float\" | \"half_float\" | \"double\" | \"integer_range\" | \"float_range\" | \"long_range\" | \"double_range\" | \"date_range\" | \"ip_range\" | \"shape\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; })[]; field: string; type: \"nested\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; })[]; name: string; type: \"simple\"; } & { _version?: string | undefined; comments?: ({ comment: string; } & { id?: string | undefined; })[] | undefined; expire_time?: string | undefined; id?: string | undefined; item_id?: string | undefined; meta?: object | undefined; namespace_type?: \"single\" | \"agnostic\" | undefined; os_types?: (\"windows\" | \"linux\" | \"macos\")[] | undefined; tags?: string[] | undefined; }) => string[]" - ], - "path": "packages/kbn-securitysolution-io-ts-list-types/src/request/update_exception_list_item_validation/index.ts", - "deprecated": false, - "trackAdoption": false, - "children": [ - { - "parentPluginId": "@kbn/securitysolution-io-ts-list-types", - "id": "def-common.updateExceptionListItemValidate.$1", - "type": "CompoundType", - "tags": [], - "label": "schema", - "description": [], - "signature": [ - "{ description: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"geo_point\" | \"geo_shape\" | \"ip\" | \"binary\" | \"keyword\" | \"text\" | \"date\" | \"date_nanos\" | \"integer\" | \"long\" | \"short\" | \"byte\" | \"float\" | \"half_float\" | \"double\" | \"integer_range\" | \"float_range\" | \"long_range\" | \"double_range\" | \"date_range\" | \"ip_range\" | \"shape\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; })[]; field: string; type: \"nested\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; })[]; name: string; type: \"simple\"; } & { _version?: string | undefined; comments?: ({ comment: string; } & { id?: string | undefined; })[] | undefined; expire_time?: string | undefined; id?: string | undefined; item_id?: string | undefined; meta?: object | undefined; namespace_type?: \"single\" | \"agnostic\" | undefined; os_types?: (\"windows\" | \"linux\" | \"macos\")[] | undefined; tags?: string[] | undefined; }" - ], - "path": "packages/kbn-securitysolution-io-ts-list-types/src/request/update_exception_list_item_validation/index.ts", - "deprecated": false, - "trackAdoption": false, - "isRequired": true - } - ], - "returnComment": [], - "initialIsOpen": false - }, - { - "parentPluginId": "@kbn/securitysolution-io-ts-list-types", - "id": "def-common.validateComments", - "type": "Function", - "tags": [], - "label": "validateComments", - "description": [], - "signature": [ - "(item: { description: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"geo_point\" | \"geo_shape\" | \"ip\" | \"binary\" | \"keyword\" | \"text\" | \"date\" | \"date_nanos\" | \"integer\" | \"long\" | \"short\" | \"byte\" | \"float\" | \"half_float\" | \"double\" | \"integer_range\" | \"float_range\" | \"long_range\" | \"double_range\" | \"date_range\" | \"ip_range\" | \"shape\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; })[]; field: string; type: \"nested\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; })[]; name: string; type: \"simple\"; } & { _version?: string | undefined; comments?: ({ comment: string; } & { id?: string | undefined; })[] | undefined; expire_time?: string | undefined; id?: string | undefined; item_id?: string | undefined; meta?: object | undefined; namespace_type?: \"single\" | \"agnostic\" | undefined; os_types?: (\"windows\" | \"linux\" | \"macos\")[] | undefined; tags?: string[] | undefined; }) => string[]" - ], - "path": "packages/kbn-securitysolution-io-ts-list-types/src/request/update_exception_list_item_validation/index.ts", - "deprecated": false, - "trackAdoption": false, - "children": [ - { - "parentPluginId": "@kbn/securitysolution-io-ts-list-types", - "id": "def-common.validateComments.$1", - "type": "CompoundType", - "tags": [], - "label": "item", - "description": [], - "signature": [ - "{ description: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"geo_point\" | \"geo_shape\" | \"ip\" | \"binary\" | \"keyword\" | \"text\" | \"date\" | \"date_nanos\" | \"integer\" | \"long\" | \"short\" | \"byte\" | \"float\" | \"half_float\" | \"double\" | \"integer_range\" | \"float_range\" | \"long_range\" | \"double_range\" | \"date_range\" | \"ip_range\" | \"shape\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; })[]; field: string; type: \"nested\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; })[]; name: string; type: \"simple\"; } & { _version?: string | undefined; comments?: ({ comment: string; } & { id?: string | undefined; })[] | undefined; expire_time?: string | undefined; id?: string | undefined; item_id?: string | undefined; meta?: object | undefined; namespace_type?: \"single\" | \"agnostic\" | undefined; os_types?: (\"windows\" | \"linux\" | \"macos\")[] | undefined; tags?: string[] | undefined; }" - ], - "path": "packages/kbn-securitysolution-io-ts-list-types/src/request/update_exception_list_item_validation/index.ts", - "deprecated": false, - "trackAdoption": false, - "isRequired": true - } - ], - "returnComment": [], - "initialIsOpen": false - } - ], + "functions": [], "interfaces": [ { "parentPluginId": "@kbn/securitysolution-io-ts-list-types", @@ -5495,7 +5428,7 @@ "label": "UpdateExceptionListItemSchemaDecoded", "description": [], "signature": [ - "Omit<{ description: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"geo_point\" | \"geo_shape\" | \"ip\" | \"binary\" | \"keyword\" | \"text\" | \"date\" | \"date_nanos\" | \"integer\" | \"long\" | \"short\" | \"byte\" | \"float\" | \"half_float\" | \"double\" | \"integer_range\" | \"float_range\" | \"long_range\" | \"double_range\" | \"date_range\" | \"ip_range\" | \"shape\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; })[]; field: string; type: \"nested\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; })[]; name: string; type: \"simple\"; _version: string | undefined; comments: ({ comment: string; } & { id?: string | undefined; })[] | undefined; expire_time: string | undefined; id: string | undefined; item_id: string | undefined; meta: object | undefined; namespace_type: \"single\" | \"agnostic\" | undefined; os_types: (\"windows\" | \"linux\" | \"macos\")[] | undefined; tags: string[] | undefined; }, \"entries\" | \"tags\" | \"comments\" | \"expire_time\" | \"namespace_type\" | \"os_types\"> & { comments: ({ comment: string; } & { id?: string | undefined; })[]; tags: string[]; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"geo_point\" | \"geo_shape\" | \"ip\" | \"binary\" | \"keyword\" | \"text\" | \"date\" | \"date_nanos\" | \"integer\" | \"long\" | \"short\" | \"byte\" | \"float\" | \"half_float\" | \"double\" | \"integer_range\" | \"float_range\" | \"long_range\" | \"double_range\" | \"date_range\" | \"ip_range\" | \"shape\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; })[]; field: string; type: \"nested\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; })[]; namespace_type: \"single\" | \"agnostic\"; os_types: (\"windows\" | \"linux\" | \"macos\")[]; expire_time: string | undefined; }" + "Omit<{ description: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"geo_point\" | \"geo_shape\" | \"ip\" | \"binary\" | \"keyword\" | \"text\" | \"date\" | \"date_nanos\" | \"integer\" | \"long\" | \"short\" | \"byte\" | \"float\" | \"half_float\" | \"double\" | \"integer_range\" | \"float_range\" | \"long_range\" | \"double_range\" | \"date_range\" | \"ip_range\" | \"shape\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; })[]; field: string; type: \"nested\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; })[]; name: string; type: \"simple\"; _version: string | undefined; comments: ({ comment: string; } & { id?: string | undefined; })[] | undefined; expire_time: string | undefined; id: string | undefined; item_id: string | undefined; meta: object | undefined; namespace_type: \"single\" | \"agnostic\" | undefined; os_types: (\"windows\" | \"linux\" | \"macos\")[] | undefined; tags: string[] | undefined; }, \"entries\" | \"tags\" | \"comments\" | \"expire_time\" | \"namespace_type\" | \"os_types\"> & { comments: ({ comment: string; } & { id?: string | undefined; })[]; tags: string[]; entries: ({ value: string; type: \"match\"; field: string; operator: \"excluded\" | \"included\"; } | { value: string[]; type: \"match_any\"; field: string; operator: \"excluded\" | \"included\"; } | { type: \"list\"; list: { id: string; type: \"boolean\" | \"geo_point\" | \"geo_shape\" | \"ip\" | \"binary\" | \"keyword\" | \"text\" | \"date\" | \"date_nanos\" | \"integer\" | \"long\" | \"short\" | \"byte\" | \"float\" | \"half_float\" | \"double\" | \"integer_range\" | \"float_range\" | \"long_range\" | \"double_range\" | \"date_range\" | \"ip_range\" | \"shape\"; }; field: string; operator: \"excluded\" | \"included\"; } | { type: \"exists\"; field: string; operator: \"excluded\" | \"included\"; } | { type: \"nested\"; entries: ({ value: string; type: \"match\"; field: string; operator: \"excluded\" | \"included\"; } | { value: string[]; type: \"match_any\"; field: string; operator: \"excluded\" | \"included\"; } | { type: \"exists\"; field: string; operator: \"excluded\" | \"included\"; })[]; field: string; } | { value: string; type: \"wildcard\"; field: string; operator: \"excluded\" | \"included\"; })[]; namespace_type: \"single\" | \"agnostic\"; os_types: (\"windows\" | \"linux\" | \"macos\")[]; expire_time: string | undefined; }" ], "path": "packages/kbn-securitysolution-io-ts-list-types/src/request/update_exception_list_item_schema/index.ts", "deprecated": false, diff --git a/api_docs/kbn_securitysolution_io_ts_list_types.mdx b/api_docs/kbn_securitysolution_io_ts_list_types.mdx index c3515265fffd4..eb664ac85c800 100644 --- a/api_docs/kbn_securitysolution_io_ts_list_types.mdx +++ b/api_docs/kbn_securitysolution_io_ts_list_types.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-securitysolution-io-ts-list-types title: "@kbn/securitysolution-io-ts-list-types" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/securitysolution-io-ts-list-types plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/securitysolution-io-ts-list-types'] --- import kbnSecuritysolutionIoTsListTypesObj from './kbn_securitysolution_io_ts_list_types.devdocs.json'; @@ -21,16 +21,13 @@ Contact [@elastic/security-detection-engine](https://github.com/orgs/elastic/tea | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 538 | 0 | 525 | 0 | +| 534 | 0 | 521 | 0 | ## Common ### Objects -### Functions - - ### Interfaces diff --git a/api_docs/kbn_securitysolution_io_ts_types.mdx b/api_docs/kbn_securitysolution_io_ts_types.mdx index d022f6b3fc37a..51135bbcc9425 100644 --- a/api_docs/kbn_securitysolution_io_ts_types.mdx +++ b/api_docs/kbn_securitysolution_io_ts_types.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-securitysolution-io-ts-types title: "@kbn/securitysolution-io-ts-types" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/securitysolution-io-ts-types plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/securitysolution-io-ts-types'] --- import kbnSecuritysolutionIoTsTypesObj from './kbn_securitysolution_io_ts_types.devdocs.json'; diff --git a/api_docs/kbn_securitysolution_io_ts_utils.mdx b/api_docs/kbn_securitysolution_io_ts_utils.mdx index 93cc06e7ed5cf..69e90633f8467 100644 --- a/api_docs/kbn_securitysolution_io_ts_utils.mdx +++ b/api_docs/kbn_securitysolution_io_ts_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-securitysolution-io-ts-utils title: "@kbn/securitysolution-io-ts-utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/securitysolution-io-ts-utils plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/securitysolution-io-ts-utils'] --- import kbnSecuritysolutionIoTsUtilsObj from './kbn_securitysolution_io_ts_utils.devdocs.json'; diff --git a/api_docs/kbn_securitysolution_list_api.mdx b/api_docs/kbn_securitysolution_list_api.mdx index e16bbc5eff4c3..01cc6ede04deb 100644 --- a/api_docs/kbn_securitysolution_list_api.mdx +++ b/api_docs/kbn_securitysolution_list_api.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-securitysolution-list-api title: "@kbn/securitysolution-list-api" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/securitysolution-list-api plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/securitysolution-list-api'] --- import kbnSecuritysolutionListApiObj from './kbn_securitysolution_list_api.devdocs.json'; diff --git a/api_docs/kbn_securitysolution_list_constants.mdx b/api_docs/kbn_securitysolution_list_constants.mdx index 92e41b719c344..aa92001d205bc 100644 --- a/api_docs/kbn_securitysolution_list_constants.mdx +++ b/api_docs/kbn_securitysolution_list_constants.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-securitysolution-list-constants title: "@kbn/securitysolution-list-constants" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/securitysolution-list-constants plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/securitysolution-list-constants'] --- import kbnSecuritysolutionListConstantsObj from './kbn_securitysolution_list_constants.devdocs.json'; diff --git a/api_docs/kbn_securitysolution_list_hooks.mdx b/api_docs/kbn_securitysolution_list_hooks.mdx index 8b0f4497a5e36..f6b2922ce1edd 100644 --- a/api_docs/kbn_securitysolution_list_hooks.mdx +++ b/api_docs/kbn_securitysolution_list_hooks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-securitysolution-list-hooks title: "@kbn/securitysolution-list-hooks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/securitysolution-list-hooks plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/securitysolution-list-hooks'] --- import kbnSecuritysolutionListHooksObj from './kbn_securitysolution_list_hooks.devdocs.json'; diff --git a/api_docs/kbn_securitysolution_list_utils.mdx b/api_docs/kbn_securitysolution_list_utils.mdx index 6829b7e5732ee..b9f366974b0fc 100644 --- a/api_docs/kbn_securitysolution_list_utils.mdx +++ b/api_docs/kbn_securitysolution_list_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-securitysolution-list-utils title: "@kbn/securitysolution-list-utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/securitysolution-list-utils plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/securitysolution-list-utils'] --- import kbnSecuritysolutionListUtilsObj from './kbn_securitysolution_list_utils.devdocs.json'; diff --git a/api_docs/kbn_securitysolution_rules.mdx b/api_docs/kbn_securitysolution_rules.mdx index 56e3fb36c651f..0a56930b4b02a 100644 --- a/api_docs/kbn_securitysolution_rules.mdx +++ b/api_docs/kbn_securitysolution_rules.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-securitysolution-rules title: "@kbn/securitysolution-rules" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/securitysolution-rules plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/securitysolution-rules'] --- import kbnSecuritysolutionRulesObj from './kbn_securitysolution_rules.devdocs.json'; diff --git a/api_docs/kbn_securitysolution_t_grid.mdx b/api_docs/kbn_securitysolution_t_grid.mdx index 177ccd917f6e5..1864f1d7d370d 100644 --- a/api_docs/kbn_securitysolution_t_grid.mdx +++ b/api_docs/kbn_securitysolution_t_grid.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-securitysolution-t-grid title: "@kbn/securitysolution-t-grid" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/securitysolution-t-grid plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/securitysolution-t-grid'] --- import kbnSecuritysolutionTGridObj from './kbn_securitysolution_t_grid.devdocs.json'; diff --git a/api_docs/kbn_securitysolution_utils.mdx b/api_docs/kbn_securitysolution_utils.mdx index b5a1cddab1469..8a69b30aebf76 100644 --- a/api_docs/kbn_securitysolution_utils.mdx +++ b/api_docs/kbn_securitysolution_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-securitysolution-utils title: "@kbn/securitysolution-utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/securitysolution-utils plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/securitysolution-utils'] --- import kbnSecuritysolutionUtilsObj from './kbn_securitysolution_utils.devdocs.json'; diff --git a/api_docs/kbn_server_http_tools.mdx b/api_docs/kbn_server_http_tools.mdx index 2d83abcd5de72..31d27ab365c0c 100644 --- a/api_docs/kbn_server_http_tools.mdx +++ b/api_docs/kbn_server_http_tools.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-server-http-tools title: "@kbn/server-http-tools" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/server-http-tools plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/server-http-tools'] --- import kbnServerHttpToolsObj from './kbn_server_http_tools.devdocs.json'; diff --git a/api_docs/kbn_server_route_repository.mdx b/api_docs/kbn_server_route_repository.mdx index 811e8adeff7bc..8cb430f566936 100644 --- a/api_docs/kbn_server_route_repository.mdx +++ b/api_docs/kbn_server_route_repository.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-server-route-repository title: "@kbn/server-route-repository" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/server-route-repository plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/server-route-repository'] --- import kbnServerRouteRepositoryObj from './kbn_server_route_repository.devdocs.json'; diff --git a/api_docs/kbn_serverless_common_settings.mdx b/api_docs/kbn_serverless_common_settings.mdx index bbddf6bc2fc3d..29b5e65ecde0b 100644 --- a/api_docs/kbn_serverless_common_settings.mdx +++ b/api_docs/kbn_serverless_common_settings.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-serverless-common-settings title: "@kbn/serverless-common-settings" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/serverless-common-settings plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/serverless-common-settings'] --- import kbnServerlessCommonSettingsObj from './kbn_serverless_common_settings.devdocs.json'; diff --git a/api_docs/kbn_serverless_observability_settings.mdx b/api_docs/kbn_serverless_observability_settings.mdx index 4e6ff6a9d8933..bef7128f6d1c8 100644 --- a/api_docs/kbn_serverless_observability_settings.mdx +++ b/api_docs/kbn_serverless_observability_settings.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-serverless-observability-settings title: "@kbn/serverless-observability-settings" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/serverless-observability-settings plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/serverless-observability-settings'] --- import kbnServerlessObservabilitySettingsObj from './kbn_serverless_observability_settings.devdocs.json'; diff --git a/api_docs/kbn_serverless_project_switcher.mdx b/api_docs/kbn_serverless_project_switcher.mdx index f78500a919dd8..85851266d8fbf 100644 --- a/api_docs/kbn_serverless_project_switcher.mdx +++ b/api_docs/kbn_serverless_project_switcher.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-serverless-project-switcher title: "@kbn/serverless-project-switcher" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/serverless-project-switcher plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/serverless-project-switcher'] --- import kbnServerlessProjectSwitcherObj from './kbn_serverless_project_switcher.devdocs.json'; diff --git a/api_docs/kbn_serverless_search_settings.mdx b/api_docs/kbn_serverless_search_settings.mdx index 62d4ee79e8763..a4c88c2bd7b20 100644 --- a/api_docs/kbn_serverless_search_settings.mdx +++ b/api_docs/kbn_serverless_search_settings.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-serverless-search-settings title: "@kbn/serverless-search-settings" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/serverless-search-settings plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/serverless-search-settings'] --- import kbnServerlessSearchSettingsObj from './kbn_serverless_search_settings.devdocs.json'; diff --git a/api_docs/kbn_serverless_security_settings.mdx b/api_docs/kbn_serverless_security_settings.mdx index 9a511b88f15e5..dfa6bcf2db83e 100644 --- a/api_docs/kbn_serverless_security_settings.mdx +++ b/api_docs/kbn_serverless_security_settings.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-serverless-security-settings title: "@kbn/serverless-security-settings" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/serverless-security-settings plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/serverless-security-settings'] --- import kbnServerlessSecuritySettingsObj from './kbn_serverless_security_settings.devdocs.json'; diff --git a/api_docs/kbn_serverless_storybook_config.mdx b/api_docs/kbn_serverless_storybook_config.mdx index ef9c9934a1e06..69c9981a15df8 100644 --- a/api_docs/kbn_serverless_storybook_config.mdx +++ b/api_docs/kbn_serverless_storybook_config.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-serverless-storybook-config title: "@kbn/serverless-storybook-config" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/serverless-storybook-config plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/serverless-storybook-config'] --- import kbnServerlessStorybookConfigObj from './kbn_serverless_storybook_config.devdocs.json'; diff --git a/api_docs/kbn_shared_svg.mdx b/api_docs/kbn_shared_svg.mdx index d303b6fc44425..86f087f4298f3 100644 --- a/api_docs/kbn_shared_svg.mdx +++ b/api_docs/kbn_shared_svg.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-svg title: "@kbn/shared-svg" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-svg plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-svg'] --- import kbnSharedSvgObj from './kbn_shared_svg.devdocs.json'; diff --git a/api_docs/kbn_shared_ux_avatar_solution.mdx b/api_docs/kbn_shared_ux_avatar_solution.mdx index bb346b52d8d20..e1055e776b70a 100644 --- a/api_docs/kbn_shared_ux_avatar_solution.mdx +++ b/api_docs/kbn_shared_ux_avatar_solution.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-avatar-solution title: "@kbn/shared-ux-avatar-solution" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-avatar-solution plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-avatar-solution'] --- import kbnSharedUxAvatarSolutionObj from './kbn_shared_ux_avatar_solution.devdocs.json'; diff --git a/api_docs/kbn_shared_ux_button_exit_full_screen.mdx b/api_docs/kbn_shared_ux_button_exit_full_screen.mdx index 818939fcb27c1..d8e2fde133065 100644 --- a/api_docs/kbn_shared_ux_button_exit_full_screen.mdx +++ b/api_docs/kbn_shared_ux_button_exit_full_screen.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-button-exit-full-screen title: "@kbn/shared-ux-button-exit-full-screen" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-button-exit-full-screen plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-button-exit-full-screen'] --- import kbnSharedUxButtonExitFullScreenObj from './kbn_shared_ux_button_exit_full_screen.devdocs.json'; diff --git a/api_docs/kbn_shared_ux_button_toolbar.mdx b/api_docs/kbn_shared_ux_button_toolbar.mdx index 15c264098ab74..b389896fe26fe 100644 --- a/api_docs/kbn_shared_ux_button_toolbar.mdx +++ b/api_docs/kbn_shared_ux_button_toolbar.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-button-toolbar title: "@kbn/shared-ux-button-toolbar" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-button-toolbar plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-button-toolbar'] --- import kbnSharedUxButtonToolbarObj from './kbn_shared_ux_button_toolbar.devdocs.json'; diff --git a/api_docs/kbn_shared_ux_card_no_data.mdx b/api_docs/kbn_shared_ux_card_no_data.mdx index a97f581861820..08c49ca50c4eb 100644 --- a/api_docs/kbn_shared_ux_card_no_data.mdx +++ b/api_docs/kbn_shared_ux_card_no_data.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-card-no-data title: "@kbn/shared-ux-card-no-data" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-card-no-data plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-card-no-data'] --- import kbnSharedUxCardNoDataObj from './kbn_shared_ux_card_no_data.devdocs.json'; diff --git a/api_docs/kbn_shared_ux_card_no_data_mocks.mdx b/api_docs/kbn_shared_ux_card_no_data_mocks.mdx index 33676be3ac2c5..444cbeeced153 100644 --- a/api_docs/kbn_shared_ux_card_no_data_mocks.mdx +++ b/api_docs/kbn_shared_ux_card_no_data_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-card-no-data-mocks title: "@kbn/shared-ux-card-no-data-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-card-no-data-mocks plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-card-no-data-mocks'] --- import kbnSharedUxCardNoDataMocksObj from './kbn_shared_ux_card_no_data_mocks.devdocs.json'; diff --git a/api_docs/kbn_shared_ux_chrome_navigation.mdx b/api_docs/kbn_shared_ux_chrome_navigation.mdx index 62b452c419f41..d15d104656506 100644 --- a/api_docs/kbn_shared_ux_chrome_navigation.mdx +++ b/api_docs/kbn_shared_ux_chrome_navigation.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-chrome-navigation title: "@kbn/shared-ux-chrome-navigation" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-chrome-navigation plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-chrome-navigation'] --- import kbnSharedUxChromeNavigationObj from './kbn_shared_ux_chrome_navigation.devdocs.json'; diff --git a/api_docs/kbn_shared_ux_error_boundary.mdx b/api_docs/kbn_shared_ux_error_boundary.mdx index a705fb74df258..5221a93e065bf 100644 --- a/api_docs/kbn_shared_ux_error_boundary.mdx +++ b/api_docs/kbn_shared_ux_error_boundary.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-error-boundary title: "@kbn/shared-ux-error-boundary" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-error-boundary plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-error-boundary'] --- import kbnSharedUxErrorBoundaryObj from './kbn_shared_ux_error_boundary.devdocs.json'; diff --git a/api_docs/kbn_shared_ux_file_context.mdx b/api_docs/kbn_shared_ux_file_context.mdx index ec5e3cc6fbf22..a48c7026a9e5e 100644 --- a/api_docs/kbn_shared_ux_file_context.mdx +++ b/api_docs/kbn_shared_ux_file_context.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-file-context title: "@kbn/shared-ux-file-context" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-file-context plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-file-context'] --- import kbnSharedUxFileContextObj from './kbn_shared_ux_file_context.devdocs.json'; diff --git a/api_docs/kbn_shared_ux_file_image.mdx b/api_docs/kbn_shared_ux_file_image.mdx index d57869d3cdff0..5a1b191664c8b 100644 --- a/api_docs/kbn_shared_ux_file_image.mdx +++ b/api_docs/kbn_shared_ux_file_image.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-file-image title: "@kbn/shared-ux-file-image" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-file-image plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-file-image'] --- import kbnSharedUxFileImageObj from './kbn_shared_ux_file_image.devdocs.json'; diff --git a/api_docs/kbn_shared_ux_file_image_mocks.mdx b/api_docs/kbn_shared_ux_file_image_mocks.mdx index 0b940c09fd17b..9e050d9c5a38e 100644 --- a/api_docs/kbn_shared_ux_file_image_mocks.mdx +++ b/api_docs/kbn_shared_ux_file_image_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-file-image-mocks title: "@kbn/shared-ux-file-image-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-file-image-mocks plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-file-image-mocks'] --- import kbnSharedUxFileImageMocksObj from './kbn_shared_ux_file_image_mocks.devdocs.json'; diff --git a/api_docs/kbn_shared_ux_file_mocks.mdx b/api_docs/kbn_shared_ux_file_mocks.mdx index 147e85e0b7b2e..4451a9845df70 100644 --- a/api_docs/kbn_shared_ux_file_mocks.mdx +++ b/api_docs/kbn_shared_ux_file_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-file-mocks title: "@kbn/shared-ux-file-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-file-mocks plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-file-mocks'] --- import kbnSharedUxFileMocksObj from './kbn_shared_ux_file_mocks.devdocs.json'; diff --git a/api_docs/kbn_shared_ux_file_picker.mdx b/api_docs/kbn_shared_ux_file_picker.mdx index 76ac8511acf8d..8e65bd294bd45 100644 --- a/api_docs/kbn_shared_ux_file_picker.mdx +++ b/api_docs/kbn_shared_ux_file_picker.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-file-picker title: "@kbn/shared-ux-file-picker" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-file-picker plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-file-picker'] --- import kbnSharedUxFilePickerObj from './kbn_shared_ux_file_picker.devdocs.json'; diff --git a/api_docs/kbn_shared_ux_file_types.mdx b/api_docs/kbn_shared_ux_file_types.mdx index 4a4c12a776ce5..91bf7bb9e8a9f 100644 --- a/api_docs/kbn_shared_ux_file_types.mdx +++ b/api_docs/kbn_shared_ux_file_types.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-file-types title: "@kbn/shared-ux-file-types" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-file-types plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-file-types'] --- import kbnSharedUxFileTypesObj from './kbn_shared_ux_file_types.devdocs.json'; diff --git a/api_docs/kbn_shared_ux_file_upload.mdx b/api_docs/kbn_shared_ux_file_upload.mdx index 924553f55ede2..24b92daeae720 100644 --- a/api_docs/kbn_shared_ux_file_upload.mdx +++ b/api_docs/kbn_shared_ux_file_upload.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-file-upload title: "@kbn/shared-ux-file-upload" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-file-upload plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-file-upload'] --- import kbnSharedUxFileUploadObj from './kbn_shared_ux_file_upload.devdocs.json'; diff --git a/api_docs/kbn_shared_ux_file_util.mdx b/api_docs/kbn_shared_ux_file_util.mdx index 183e64613eeb2..df95a6529c928 100644 --- a/api_docs/kbn_shared_ux_file_util.mdx +++ b/api_docs/kbn_shared_ux_file_util.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-file-util title: "@kbn/shared-ux-file-util" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-file-util plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-file-util'] --- import kbnSharedUxFileUtilObj from './kbn_shared_ux_file_util.devdocs.json'; diff --git a/api_docs/kbn_shared_ux_link_redirect_app.mdx b/api_docs/kbn_shared_ux_link_redirect_app.mdx index 833b7d41b1f61..fa95d184a4e7a 100644 --- a/api_docs/kbn_shared_ux_link_redirect_app.mdx +++ b/api_docs/kbn_shared_ux_link_redirect_app.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-link-redirect-app title: "@kbn/shared-ux-link-redirect-app" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-link-redirect-app plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-link-redirect-app'] --- import kbnSharedUxLinkRedirectAppObj from './kbn_shared_ux_link_redirect_app.devdocs.json'; diff --git a/api_docs/kbn_shared_ux_link_redirect_app_mocks.mdx b/api_docs/kbn_shared_ux_link_redirect_app_mocks.mdx index b142e0fcad1d7..a1abe5c06f454 100644 --- a/api_docs/kbn_shared_ux_link_redirect_app_mocks.mdx +++ b/api_docs/kbn_shared_ux_link_redirect_app_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-link-redirect-app-mocks title: "@kbn/shared-ux-link-redirect-app-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-link-redirect-app-mocks plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-link-redirect-app-mocks'] --- import kbnSharedUxLinkRedirectAppMocksObj from './kbn_shared_ux_link_redirect_app_mocks.devdocs.json'; diff --git a/api_docs/kbn_shared_ux_markdown.mdx b/api_docs/kbn_shared_ux_markdown.mdx index 90e99c44ea2cc..279de7d2719cd 100644 --- a/api_docs/kbn_shared_ux_markdown.mdx +++ b/api_docs/kbn_shared_ux_markdown.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-markdown title: "@kbn/shared-ux-markdown" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-markdown plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-markdown'] --- import kbnSharedUxMarkdownObj from './kbn_shared_ux_markdown.devdocs.json'; diff --git a/api_docs/kbn_shared_ux_markdown_mocks.mdx b/api_docs/kbn_shared_ux_markdown_mocks.mdx index 3ee0669e2fc3c..2e67da4d91d0c 100644 --- a/api_docs/kbn_shared_ux_markdown_mocks.mdx +++ b/api_docs/kbn_shared_ux_markdown_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-markdown-mocks title: "@kbn/shared-ux-markdown-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-markdown-mocks plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-markdown-mocks'] --- import kbnSharedUxMarkdownMocksObj from './kbn_shared_ux_markdown_mocks.devdocs.json'; diff --git a/api_docs/kbn_shared_ux_page_analytics_no_data.mdx b/api_docs/kbn_shared_ux_page_analytics_no_data.mdx index 0460ab7a93e67..3862bc22491bc 100644 --- a/api_docs/kbn_shared_ux_page_analytics_no_data.mdx +++ b/api_docs/kbn_shared_ux_page_analytics_no_data.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-page-analytics-no-data title: "@kbn/shared-ux-page-analytics-no-data" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-page-analytics-no-data plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-page-analytics-no-data'] --- import kbnSharedUxPageAnalyticsNoDataObj from './kbn_shared_ux_page_analytics_no_data.devdocs.json'; diff --git a/api_docs/kbn_shared_ux_page_analytics_no_data_mocks.mdx b/api_docs/kbn_shared_ux_page_analytics_no_data_mocks.mdx index 1793d6cdbf9ac..ec38ff9a62ba8 100644 --- a/api_docs/kbn_shared_ux_page_analytics_no_data_mocks.mdx +++ b/api_docs/kbn_shared_ux_page_analytics_no_data_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-page-analytics-no-data-mocks title: "@kbn/shared-ux-page-analytics-no-data-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-page-analytics-no-data-mocks plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-page-analytics-no-data-mocks'] --- import kbnSharedUxPageAnalyticsNoDataMocksObj from './kbn_shared_ux_page_analytics_no_data_mocks.devdocs.json'; diff --git a/api_docs/kbn_shared_ux_page_kibana_no_data.mdx b/api_docs/kbn_shared_ux_page_kibana_no_data.mdx index 3c7197f5f8825..f0895228b7a13 100644 --- a/api_docs/kbn_shared_ux_page_kibana_no_data.mdx +++ b/api_docs/kbn_shared_ux_page_kibana_no_data.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-page-kibana-no-data title: "@kbn/shared-ux-page-kibana-no-data" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-page-kibana-no-data plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-page-kibana-no-data'] --- import kbnSharedUxPageKibanaNoDataObj from './kbn_shared_ux_page_kibana_no_data.devdocs.json'; diff --git a/api_docs/kbn_shared_ux_page_kibana_no_data_mocks.mdx b/api_docs/kbn_shared_ux_page_kibana_no_data_mocks.mdx index c8c24da2fbded..46c53133f3f9f 100644 --- a/api_docs/kbn_shared_ux_page_kibana_no_data_mocks.mdx +++ b/api_docs/kbn_shared_ux_page_kibana_no_data_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-page-kibana-no-data-mocks title: "@kbn/shared-ux-page-kibana-no-data-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-page-kibana-no-data-mocks plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-page-kibana-no-data-mocks'] --- import kbnSharedUxPageKibanaNoDataMocksObj from './kbn_shared_ux_page_kibana_no_data_mocks.devdocs.json'; diff --git a/api_docs/kbn_shared_ux_page_kibana_template.mdx b/api_docs/kbn_shared_ux_page_kibana_template.mdx index 98abe54df9623..345ce2ca3ba04 100644 --- a/api_docs/kbn_shared_ux_page_kibana_template.mdx +++ b/api_docs/kbn_shared_ux_page_kibana_template.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-page-kibana-template title: "@kbn/shared-ux-page-kibana-template" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-page-kibana-template plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-page-kibana-template'] --- import kbnSharedUxPageKibanaTemplateObj from './kbn_shared_ux_page_kibana_template.devdocs.json'; diff --git a/api_docs/kbn_shared_ux_page_kibana_template_mocks.mdx b/api_docs/kbn_shared_ux_page_kibana_template_mocks.mdx index a20ce23f138a1..d0a1856cf1192 100644 --- a/api_docs/kbn_shared_ux_page_kibana_template_mocks.mdx +++ b/api_docs/kbn_shared_ux_page_kibana_template_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-page-kibana-template-mocks title: "@kbn/shared-ux-page-kibana-template-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-page-kibana-template-mocks plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-page-kibana-template-mocks'] --- import kbnSharedUxPageKibanaTemplateMocksObj from './kbn_shared_ux_page_kibana_template_mocks.devdocs.json'; diff --git a/api_docs/kbn_shared_ux_page_no_data.mdx b/api_docs/kbn_shared_ux_page_no_data.mdx index 2e6cdb764c32c..d6d7cf540a431 100644 --- a/api_docs/kbn_shared_ux_page_no_data.mdx +++ b/api_docs/kbn_shared_ux_page_no_data.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-page-no-data title: "@kbn/shared-ux-page-no-data" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-page-no-data plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-page-no-data'] --- import kbnSharedUxPageNoDataObj from './kbn_shared_ux_page_no_data.devdocs.json'; diff --git a/api_docs/kbn_shared_ux_page_no_data_config.mdx b/api_docs/kbn_shared_ux_page_no_data_config.mdx index 41c1bf9a48a9c..3318763aa8f37 100644 --- a/api_docs/kbn_shared_ux_page_no_data_config.mdx +++ b/api_docs/kbn_shared_ux_page_no_data_config.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-page-no-data-config title: "@kbn/shared-ux-page-no-data-config" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-page-no-data-config plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-page-no-data-config'] --- import kbnSharedUxPageNoDataConfigObj from './kbn_shared_ux_page_no_data_config.devdocs.json'; diff --git a/api_docs/kbn_shared_ux_page_no_data_config_mocks.mdx b/api_docs/kbn_shared_ux_page_no_data_config_mocks.mdx index bf36106e1eba0..b671b45ba1996 100644 --- a/api_docs/kbn_shared_ux_page_no_data_config_mocks.mdx +++ b/api_docs/kbn_shared_ux_page_no_data_config_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-page-no-data-config-mocks title: "@kbn/shared-ux-page-no-data-config-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-page-no-data-config-mocks plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-page-no-data-config-mocks'] --- import kbnSharedUxPageNoDataConfigMocksObj from './kbn_shared_ux_page_no_data_config_mocks.devdocs.json'; diff --git a/api_docs/kbn_shared_ux_page_no_data_mocks.mdx b/api_docs/kbn_shared_ux_page_no_data_mocks.mdx index d8c653d9f4944..597cbf6b68f73 100644 --- a/api_docs/kbn_shared_ux_page_no_data_mocks.mdx +++ b/api_docs/kbn_shared_ux_page_no_data_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-page-no-data-mocks title: "@kbn/shared-ux-page-no-data-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-page-no-data-mocks plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-page-no-data-mocks'] --- import kbnSharedUxPageNoDataMocksObj from './kbn_shared_ux_page_no_data_mocks.devdocs.json'; diff --git a/api_docs/kbn_shared_ux_page_solution_nav.mdx b/api_docs/kbn_shared_ux_page_solution_nav.mdx index 5aa07bf957f77..204ba9269b32c 100644 --- a/api_docs/kbn_shared_ux_page_solution_nav.mdx +++ b/api_docs/kbn_shared_ux_page_solution_nav.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-page-solution-nav title: "@kbn/shared-ux-page-solution-nav" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-page-solution-nav plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-page-solution-nav'] --- import kbnSharedUxPageSolutionNavObj from './kbn_shared_ux_page_solution_nav.devdocs.json'; diff --git a/api_docs/kbn_shared_ux_prompt_no_data_views.mdx b/api_docs/kbn_shared_ux_prompt_no_data_views.mdx index 1a41bad69a5b4..912baa0962654 100644 --- a/api_docs/kbn_shared_ux_prompt_no_data_views.mdx +++ b/api_docs/kbn_shared_ux_prompt_no_data_views.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-prompt-no-data-views title: "@kbn/shared-ux-prompt-no-data-views" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-prompt-no-data-views plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-prompt-no-data-views'] --- import kbnSharedUxPromptNoDataViewsObj from './kbn_shared_ux_prompt_no_data_views.devdocs.json'; diff --git a/api_docs/kbn_shared_ux_prompt_no_data_views_mocks.mdx b/api_docs/kbn_shared_ux_prompt_no_data_views_mocks.mdx index ef63b5554a5fd..ef00cdeee8523 100644 --- a/api_docs/kbn_shared_ux_prompt_no_data_views_mocks.mdx +++ b/api_docs/kbn_shared_ux_prompt_no_data_views_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-prompt-no-data-views-mocks title: "@kbn/shared-ux-prompt-no-data-views-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-prompt-no-data-views-mocks plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-prompt-no-data-views-mocks'] --- import kbnSharedUxPromptNoDataViewsMocksObj from './kbn_shared_ux_prompt_no_data_views_mocks.devdocs.json'; diff --git a/api_docs/kbn_shared_ux_prompt_not_found.mdx b/api_docs/kbn_shared_ux_prompt_not_found.mdx index 114825745969c..9c62514a10343 100644 --- a/api_docs/kbn_shared_ux_prompt_not_found.mdx +++ b/api_docs/kbn_shared_ux_prompt_not_found.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-prompt-not-found title: "@kbn/shared-ux-prompt-not-found" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-prompt-not-found plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-prompt-not-found'] --- import kbnSharedUxPromptNotFoundObj from './kbn_shared_ux_prompt_not_found.devdocs.json'; diff --git a/api_docs/kbn_shared_ux_router.mdx b/api_docs/kbn_shared_ux_router.mdx index 9bba8b64c162c..264f33aa3416b 100644 --- a/api_docs/kbn_shared_ux_router.mdx +++ b/api_docs/kbn_shared_ux_router.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-router title: "@kbn/shared-ux-router" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-router plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-router'] --- import kbnSharedUxRouterObj from './kbn_shared_ux_router.devdocs.json'; diff --git a/api_docs/kbn_shared_ux_router_mocks.mdx b/api_docs/kbn_shared_ux_router_mocks.mdx index 3eb493d6a45a6..b4dcceaf9b3ff 100644 --- a/api_docs/kbn_shared_ux_router_mocks.mdx +++ b/api_docs/kbn_shared_ux_router_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-router-mocks title: "@kbn/shared-ux-router-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-router-mocks plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-router-mocks'] --- import kbnSharedUxRouterMocksObj from './kbn_shared_ux_router_mocks.devdocs.json'; diff --git a/api_docs/kbn_shared_ux_storybook_config.mdx b/api_docs/kbn_shared_ux_storybook_config.mdx index 06f6b905573cd..98cdcab7f8af0 100644 --- a/api_docs/kbn_shared_ux_storybook_config.mdx +++ b/api_docs/kbn_shared_ux_storybook_config.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-storybook-config title: "@kbn/shared-ux-storybook-config" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-storybook-config plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-storybook-config'] --- import kbnSharedUxStorybookConfigObj from './kbn_shared_ux_storybook_config.devdocs.json'; diff --git a/api_docs/kbn_shared_ux_storybook_mock.mdx b/api_docs/kbn_shared_ux_storybook_mock.mdx index 4e909ac0be4db..1eb8de4419351 100644 --- a/api_docs/kbn_shared_ux_storybook_mock.mdx +++ b/api_docs/kbn_shared_ux_storybook_mock.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-storybook-mock title: "@kbn/shared-ux-storybook-mock" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-storybook-mock plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-storybook-mock'] --- import kbnSharedUxStorybookMockObj from './kbn_shared_ux_storybook_mock.devdocs.json'; diff --git a/api_docs/kbn_shared_ux_tabbed_modal.mdx b/api_docs/kbn_shared_ux_tabbed_modal.mdx index 7e3baaa92faf6..a2684dd2f9cbd 100644 --- a/api_docs/kbn_shared_ux_tabbed_modal.mdx +++ b/api_docs/kbn_shared_ux_tabbed_modal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-tabbed-modal title: "@kbn/shared-ux-tabbed-modal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-tabbed-modal plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-tabbed-modal'] --- import kbnSharedUxTabbedModalObj from './kbn_shared_ux_tabbed_modal.devdocs.json'; diff --git a/api_docs/kbn_shared_ux_utility.mdx b/api_docs/kbn_shared_ux_utility.mdx index b944b3355386c..ecbe6e34e409a 100644 --- a/api_docs/kbn_shared_ux_utility.mdx +++ b/api_docs/kbn_shared_ux_utility.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-utility title: "@kbn/shared-ux-utility" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-utility plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-utility'] --- import kbnSharedUxUtilityObj from './kbn_shared_ux_utility.devdocs.json'; diff --git a/api_docs/kbn_slo_schema.mdx b/api_docs/kbn_slo_schema.mdx index 97edddaf05a4e..3a10268c51f0c 100644 --- a/api_docs/kbn_slo_schema.mdx +++ b/api_docs/kbn_slo_schema.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-slo-schema title: "@kbn/slo-schema" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/slo-schema plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/slo-schema'] --- import kbnSloSchemaObj from './kbn_slo_schema.devdocs.json'; diff --git a/api_docs/kbn_some_dev_log.mdx b/api_docs/kbn_some_dev_log.mdx index c29f279321a40..a494a5afab57d 100644 --- a/api_docs/kbn_some_dev_log.mdx +++ b/api_docs/kbn_some_dev_log.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-some-dev-log title: "@kbn/some-dev-log" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/some-dev-log plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/some-dev-log'] --- import kbnSomeDevLogObj from './kbn_some_dev_log.devdocs.json'; diff --git a/api_docs/kbn_sort_predicates.mdx b/api_docs/kbn_sort_predicates.mdx index 704520d09b2e8..8cb6eeacc6635 100644 --- a/api_docs/kbn_sort_predicates.mdx +++ b/api_docs/kbn_sort_predicates.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-sort-predicates title: "@kbn/sort-predicates" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/sort-predicates plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/sort-predicates'] --- import kbnSortPredicatesObj from './kbn_sort_predicates.devdocs.json'; diff --git a/api_docs/kbn_std.mdx b/api_docs/kbn_std.mdx index 9fb5f9308afed..5fd1eaf731f25 100644 --- a/api_docs/kbn_std.mdx +++ b/api_docs/kbn_std.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-std title: "@kbn/std" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/std plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/std'] --- import kbnStdObj from './kbn_std.devdocs.json'; diff --git a/api_docs/kbn_stdio_dev_helpers.mdx b/api_docs/kbn_stdio_dev_helpers.mdx index 99869645251a3..1796858920f76 100644 --- a/api_docs/kbn_stdio_dev_helpers.mdx +++ b/api_docs/kbn_stdio_dev_helpers.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-stdio-dev-helpers title: "@kbn/stdio-dev-helpers" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/stdio-dev-helpers plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/stdio-dev-helpers'] --- import kbnStdioDevHelpersObj from './kbn_stdio_dev_helpers.devdocs.json'; diff --git a/api_docs/kbn_storybook.mdx b/api_docs/kbn_storybook.mdx index 35e10267c4781..7dcf9deb822b1 100644 --- a/api_docs/kbn_storybook.mdx +++ b/api_docs/kbn_storybook.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-storybook title: "@kbn/storybook" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/storybook plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/storybook'] --- import kbnStorybookObj from './kbn_storybook.devdocs.json'; diff --git a/api_docs/kbn_telemetry_tools.mdx b/api_docs/kbn_telemetry_tools.mdx index 8b6838e49b308..fa9ae6930f07e 100644 --- a/api_docs/kbn_telemetry_tools.mdx +++ b/api_docs/kbn_telemetry_tools.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-telemetry-tools title: "@kbn/telemetry-tools" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/telemetry-tools plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/telemetry-tools'] --- import kbnTelemetryToolsObj from './kbn_telemetry_tools.devdocs.json'; diff --git a/api_docs/kbn_test.mdx b/api_docs/kbn_test.mdx index f88a7f9b3f1d2..a66ea168d3850 100644 --- a/api_docs/kbn_test.mdx +++ b/api_docs/kbn_test.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-test title: "@kbn/test" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/test plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/test'] --- import kbnTestObj from './kbn_test.devdocs.json'; diff --git a/api_docs/kbn_test_eui_helpers.mdx b/api_docs/kbn_test_eui_helpers.mdx index 05967848dea29..9f0872e047bf6 100644 --- a/api_docs/kbn_test_eui_helpers.mdx +++ b/api_docs/kbn_test_eui_helpers.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-test-eui-helpers title: "@kbn/test-eui-helpers" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/test-eui-helpers plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/test-eui-helpers'] --- import kbnTestEuiHelpersObj from './kbn_test_eui_helpers.devdocs.json'; diff --git a/api_docs/kbn_test_jest_helpers.mdx b/api_docs/kbn_test_jest_helpers.mdx index 217f8bbe52c4f..6feaed476abee 100644 --- a/api_docs/kbn_test_jest_helpers.mdx +++ b/api_docs/kbn_test_jest_helpers.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-test-jest-helpers title: "@kbn/test-jest-helpers" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/test-jest-helpers plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/test-jest-helpers'] --- import kbnTestJestHelpersObj from './kbn_test_jest_helpers.devdocs.json'; diff --git a/api_docs/kbn_test_subj_selector.mdx b/api_docs/kbn_test_subj_selector.mdx index d3bfda0fd4fe9..09aef001a0923 100644 --- a/api_docs/kbn_test_subj_selector.mdx +++ b/api_docs/kbn_test_subj_selector.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-test-subj-selector title: "@kbn/test-subj-selector" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/test-subj-selector plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/test-subj-selector'] --- import kbnTestSubjSelectorObj from './kbn_test_subj_selector.devdocs.json'; diff --git a/api_docs/kbn_text_based_editor.mdx b/api_docs/kbn_text_based_editor.mdx index a7568d6d70219..de6690e6595ee 100644 --- a/api_docs/kbn_text_based_editor.mdx +++ b/api_docs/kbn_text_based_editor.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-text-based-editor title: "@kbn/text-based-editor" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/text-based-editor plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/text-based-editor'] --- import kbnTextBasedEditorObj from './kbn_text_based_editor.devdocs.json'; diff --git a/api_docs/kbn_timerange.mdx b/api_docs/kbn_timerange.mdx index 4498239845839..58281ee7bcb7c 100644 --- a/api_docs/kbn_timerange.mdx +++ b/api_docs/kbn_timerange.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-timerange title: "@kbn/timerange" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/timerange plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/timerange'] --- import kbnTimerangeObj from './kbn_timerange.devdocs.json'; diff --git a/api_docs/kbn_tooling_log.mdx b/api_docs/kbn_tooling_log.mdx index 557fb034f33f6..66e32b3950326 100644 --- a/api_docs/kbn_tooling_log.mdx +++ b/api_docs/kbn_tooling_log.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-tooling-log title: "@kbn/tooling-log" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/tooling-log plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/tooling-log'] --- import kbnToolingLogObj from './kbn_tooling_log.devdocs.json'; diff --git a/api_docs/kbn_triggers_actions_ui_types.mdx b/api_docs/kbn_triggers_actions_ui_types.mdx index af733202abe25..7939cfc23e736 100644 --- a/api_docs/kbn_triggers_actions_ui_types.mdx +++ b/api_docs/kbn_triggers_actions_ui_types.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-triggers-actions-ui-types title: "@kbn/triggers-actions-ui-types" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/triggers-actions-ui-types plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/triggers-actions-ui-types'] --- import kbnTriggersActionsUiTypesObj from './kbn_triggers_actions_ui_types.devdocs.json'; diff --git a/api_docs/kbn_try_in_console.mdx b/api_docs/kbn_try_in_console.mdx index 93839d4cf919b..5c68703fbd75c 100644 --- a/api_docs/kbn_try_in_console.mdx +++ b/api_docs/kbn_try_in_console.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-try-in-console title: "@kbn/try-in-console" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/try-in-console plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/try-in-console'] --- import kbnTryInConsoleObj from './kbn_try_in_console.devdocs.json'; diff --git a/api_docs/kbn_ts_projects.mdx b/api_docs/kbn_ts_projects.mdx index e098d65d97390..5984d6d5e9df2 100644 --- a/api_docs/kbn_ts_projects.mdx +++ b/api_docs/kbn_ts_projects.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ts-projects title: "@kbn/ts-projects" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ts-projects plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ts-projects'] --- import kbnTsProjectsObj from './kbn_ts_projects.devdocs.json'; diff --git a/api_docs/kbn_typed_react_router_config.mdx b/api_docs/kbn_typed_react_router_config.mdx index e72dea851899f..f0a71c6ca8a93 100644 --- a/api_docs/kbn_typed_react_router_config.mdx +++ b/api_docs/kbn_typed_react_router_config.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-typed-react-router-config title: "@kbn/typed-react-router-config" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/typed-react-router-config plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/typed-react-router-config'] --- import kbnTypedReactRouterConfigObj from './kbn_typed_react_router_config.devdocs.json'; diff --git a/api_docs/kbn_ui_actions_browser.mdx b/api_docs/kbn_ui_actions_browser.mdx index ac12d62ee943e..96dd415f43a2d 100644 --- a/api_docs/kbn_ui_actions_browser.mdx +++ b/api_docs/kbn_ui_actions_browser.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ui-actions-browser title: "@kbn/ui-actions-browser" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ui-actions-browser plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ui-actions-browser'] --- import kbnUiActionsBrowserObj from './kbn_ui_actions_browser.devdocs.json'; diff --git a/api_docs/kbn_ui_shared_deps_src.mdx b/api_docs/kbn_ui_shared_deps_src.mdx index 5b99f98ff3767..0ddb0e5159147 100644 --- a/api_docs/kbn_ui_shared_deps_src.mdx +++ b/api_docs/kbn_ui_shared_deps_src.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ui-shared-deps-src title: "@kbn/ui-shared-deps-src" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ui-shared-deps-src plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ui-shared-deps-src'] --- import kbnUiSharedDepsSrcObj from './kbn_ui_shared_deps_src.devdocs.json'; diff --git a/api_docs/kbn_ui_theme.mdx b/api_docs/kbn_ui_theme.mdx index 998600a46df1c..55438d126aaba 100644 --- a/api_docs/kbn_ui_theme.mdx +++ b/api_docs/kbn_ui_theme.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ui-theme title: "@kbn/ui-theme" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ui-theme plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ui-theme'] --- import kbnUiThemeObj from './kbn_ui_theme.devdocs.json'; diff --git a/api_docs/kbn_unified_data_table.devdocs.json b/api_docs/kbn_unified_data_table.devdocs.json index 56275124e99d8..72e1333492b3a 100644 --- a/api_docs/kbn_unified_data_table.devdocs.json +++ b/api_docs/kbn_unified_data_table.devdocs.json @@ -532,7 +532,7 @@ "label": "UnifiedDataTable", "description": [], "signature": [ - "({ ariaLabelledBy, columns, columnsMeta, showColumnTokens, configHeaderRowHeight, headerRowHeightState, onUpdateHeaderRowHeight, controlColumnIds, dataView, loadingState, onFilter, onResize, onSetColumns, onSort, rows, searchDescription, searchTitle, settings, showTimeCol, showFullScreenButton, sort, useNewFieldsApi, isSortEnabled, isPaginationEnabled, cellActionsTriggerId, className, rowHeightState, onUpdateRowHeight, maxAllowedSampleSize, sampleSizeState, onUpdateSampleSize, isPlainRecord, rowsPerPageState, onUpdateRowsPerPage, onFieldEdited, services, renderCustomGridBody, renderCustomToolbar, trailingControlColumns, totalHits, onFetchMoreRecords, renderDocumentView, setExpandedDoc, expandedDoc, configRowHeight, showMultiFields, maxDocFieldsDisplayed, externalControlColumns, externalAdditionalControls, rowsPerPageOptions, visibleCellActions, externalCustomRenderers, additionalFieldGroups, consumer, componentsTourSteps, gridStyleOverride, rowLineHeightOverride, cellActionsMetadata, customGridColumnsConfiguration, customControlColumnsConfiguration, enableComparisonMode, cellContext, renderCellPopover, }: ", + "({ ariaLabelledBy, columns, columnsMeta, showColumnTokens, configHeaderRowHeight, headerRowHeightState, onUpdateHeaderRowHeight, controlColumnIds, dataView, loadingState, onFilter, onResize, onSetColumns, onSort, rows, searchDescription, searchTitle, settings, showTimeCol, showFullScreenButton, sort, useNewFieldsApi, isSortEnabled, isPaginationEnabled, cellActionsTriggerId, className, rowHeightState, onUpdateRowHeight, maxAllowedSampleSize, sampleSizeState, onUpdateSampleSize, isPlainRecord, rowsPerPageState, onUpdateRowsPerPage, onFieldEdited, services, renderCustomGridBody, renderCustomToolbar, trailingControlColumns, totalHits, onFetchMoreRecords, renderDocumentView, setExpandedDoc, expandedDoc, configRowHeight, showMultiFields, maxDocFieldsDisplayed, externalControlColumns, externalAdditionalControls, rowsPerPageOptions, visibleCellActions, externalCustomRenderers, additionalFieldGroups, consumer, componentsTourSteps, gridStyleOverride, rowLineHeightOverride, cellActionsMetadata, customGridColumnsConfiguration, customControlColumnsConfiguration, enableComparisonMode, cellContext, renderCellPopover, getRowIndicator, }: ", { "pluginId": "@kbn/unified-data-table", "scope": "common", @@ -551,7 +551,7 @@ "id": "def-common.UnifiedDataTable.$1", "type": "Object", "tags": [], - "label": "{\n ariaLabelledBy,\n columns,\n columnsMeta,\n showColumnTokens,\n configHeaderRowHeight,\n headerRowHeightState,\n onUpdateHeaderRowHeight,\n controlColumnIds = CONTROL_COLUMN_IDS_DEFAULT,\n dataView,\n loadingState,\n onFilter,\n onResize,\n onSetColumns,\n onSort,\n rows,\n searchDescription,\n searchTitle,\n settings,\n showTimeCol,\n showFullScreenButton = true,\n sort,\n useNewFieldsApi,\n isSortEnabled = true,\n isPaginationEnabled = true,\n cellActionsTriggerId,\n className,\n rowHeightState,\n onUpdateRowHeight,\n maxAllowedSampleSize,\n sampleSizeState,\n onUpdateSampleSize,\n isPlainRecord = false,\n rowsPerPageState,\n onUpdateRowsPerPage,\n onFieldEdited,\n services,\n renderCustomGridBody,\n renderCustomToolbar,\n trailingControlColumns,\n totalHits,\n onFetchMoreRecords,\n renderDocumentView,\n setExpandedDoc,\n expandedDoc,\n configRowHeight,\n showMultiFields = true,\n maxDocFieldsDisplayed = 50,\n externalControlColumns,\n externalAdditionalControls,\n rowsPerPageOptions,\n visibleCellActions,\n externalCustomRenderers,\n additionalFieldGroups,\n consumer = 'discover',\n componentsTourSteps,\n gridStyleOverride,\n rowLineHeightOverride,\n cellActionsMetadata,\n customGridColumnsConfiguration,\n customControlColumnsConfiguration,\n enableComparisonMode,\n cellContext,\n renderCellPopover,\n}", + "label": "{\n ariaLabelledBy,\n columns,\n columnsMeta,\n showColumnTokens,\n configHeaderRowHeight,\n headerRowHeightState,\n onUpdateHeaderRowHeight,\n controlColumnIds = CONTROL_COLUMN_IDS_DEFAULT,\n dataView,\n loadingState,\n onFilter,\n onResize,\n onSetColumns,\n onSort,\n rows,\n searchDescription,\n searchTitle,\n settings,\n showTimeCol,\n showFullScreenButton = true,\n sort,\n useNewFieldsApi,\n isSortEnabled = true,\n isPaginationEnabled = true,\n cellActionsTriggerId,\n className,\n rowHeightState,\n onUpdateRowHeight,\n maxAllowedSampleSize,\n sampleSizeState,\n onUpdateSampleSize,\n isPlainRecord = false,\n rowsPerPageState,\n onUpdateRowsPerPage,\n onFieldEdited,\n services,\n renderCustomGridBody,\n renderCustomToolbar,\n trailingControlColumns,\n totalHits,\n onFetchMoreRecords,\n renderDocumentView,\n setExpandedDoc,\n expandedDoc,\n configRowHeight,\n showMultiFields = true,\n maxDocFieldsDisplayed = 50,\n externalControlColumns,\n externalAdditionalControls,\n rowsPerPageOptions,\n visibleCellActions,\n externalCustomRenderers,\n additionalFieldGroups,\n consumer = 'discover',\n componentsTourSteps,\n gridStyleOverride,\n rowLineHeightOverride,\n cellActionsMetadata,\n customGridColumnsConfiguration,\n customControlColumnsConfiguration,\n enableComparisonMode,\n cellContext,\n renderCellPopover,\n getRowIndicator,\n}", "description": [], "signature": [ { @@ -2374,6 +2374,32 @@ "path": "packages/kbn-unified-data-table/src/components/data_table.tsx", "deprecated": false, "trackAdoption": false + }, + { + "parentPluginId": "@kbn/unified-data-table", + "id": "def-common.UnifiedDataTableProps.getRowIndicator", + "type": "Function", + "tags": [], + "label": "getRowIndicator", + "description": [ + "\nWhen specified, this function will be called to determine the color of the row indicator." + ], + "signature": [ + "((row: ", + { + "pluginId": "@kbn/discover-utils", + "scope": "common", + "docId": "kibKbnDiscoverUtilsPluginApi", + "section": "def-common.DataTableRecord", + "text": "DataTableRecord" + }, + ", euiTheme: ", + "EuiThemeComputed", + "<{}>) => { color: string; label: string; } | undefined) | undefined" + ], + "path": "packages/kbn-unified-data-table/src/components/data_table.tsx", + "deprecated": false, + "trackAdoption": false } ], "initialIsOpen": false diff --git a/api_docs/kbn_unified_data_table.mdx b/api_docs/kbn_unified_data_table.mdx index 4f54f1f77b3d2..17fe3c50e1b6d 100644 --- a/api_docs/kbn_unified_data_table.mdx +++ b/api_docs/kbn_unified_data_table.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-unified-data-table title: "@kbn/unified-data-table" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/unified-data-table plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/unified-data-table'] --- import kbnUnifiedDataTableObj from './kbn_unified_data_table.devdocs.json'; @@ -21,7 +21,7 @@ Contact [@elastic/kibana-data-discovery](https://github.com/orgs/elastic/teams/k | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 153 | 0 | 81 | 1 | +| 154 | 0 | 81 | 1 | ## Common diff --git a/api_docs/kbn_unified_doc_viewer.mdx b/api_docs/kbn_unified_doc_viewer.mdx index ed420a4b9b38c..6ea966b5deb2f 100644 --- a/api_docs/kbn_unified_doc_viewer.mdx +++ b/api_docs/kbn_unified_doc_viewer.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-unified-doc-viewer title: "@kbn/unified-doc-viewer" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/unified-doc-viewer plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/unified-doc-viewer'] --- import kbnUnifiedDocViewerObj from './kbn_unified_doc_viewer.devdocs.json'; diff --git a/api_docs/kbn_unified_field_list.mdx b/api_docs/kbn_unified_field_list.mdx index 433b3dcfa9a11..7d0006a89955e 100644 --- a/api_docs/kbn_unified_field_list.mdx +++ b/api_docs/kbn_unified_field_list.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-unified-field-list title: "@kbn/unified-field-list" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/unified-field-list plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/unified-field-list'] --- import kbnUnifiedFieldListObj from './kbn_unified_field_list.devdocs.json'; diff --git a/api_docs/kbn_unsaved_changes_badge.mdx b/api_docs/kbn_unsaved_changes_badge.mdx index 5589fbb5bbf96..fbaac6cc1ebc4 100644 --- a/api_docs/kbn_unsaved_changes_badge.mdx +++ b/api_docs/kbn_unsaved_changes_badge.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-unsaved-changes-badge title: "@kbn/unsaved-changes-badge" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/unsaved-changes-badge plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/unsaved-changes-badge'] --- import kbnUnsavedChangesBadgeObj from './kbn_unsaved_changes_badge.devdocs.json'; diff --git a/api_docs/kbn_unsaved_changes_prompt.mdx b/api_docs/kbn_unsaved_changes_prompt.mdx index a507fd6338b1c..6cda5834d6c15 100644 --- a/api_docs/kbn_unsaved_changes_prompt.mdx +++ b/api_docs/kbn_unsaved_changes_prompt.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-unsaved-changes-prompt title: "@kbn/unsaved-changes-prompt" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/unsaved-changes-prompt plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/unsaved-changes-prompt'] --- import kbnUnsavedChangesPromptObj from './kbn_unsaved_changes_prompt.devdocs.json'; diff --git a/api_docs/kbn_use_tracked_promise.mdx b/api_docs/kbn_use_tracked_promise.mdx index 5ef779416ca26..da5a5b1a42fea 100644 --- a/api_docs/kbn_use_tracked_promise.mdx +++ b/api_docs/kbn_use_tracked_promise.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-use-tracked-promise title: "@kbn/use-tracked-promise" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/use-tracked-promise plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/use-tracked-promise'] --- import kbnUseTrackedPromiseObj from './kbn_use_tracked_promise.devdocs.json'; diff --git a/api_docs/kbn_user_profile_components.mdx b/api_docs/kbn_user_profile_components.mdx index b8178cf110684..09c0587a6d281 100644 --- a/api_docs/kbn_user_profile_components.mdx +++ b/api_docs/kbn_user_profile_components.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-user-profile-components title: "@kbn/user-profile-components" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/user-profile-components plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/user-profile-components'] --- import kbnUserProfileComponentsObj from './kbn_user_profile_components.devdocs.json'; diff --git a/api_docs/kbn_utility_types.mdx b/api_docs/kbn_utility_types.mdx index 8bd01d3e430c8..d42cb3e9c252a 100644 --- a/api_docs/kbn_utility_types.mdx +++ b/api_docs/kbn_utility_types.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-utility-types title: "@kbn/utility-types" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/utility-types plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/utility-types'] --- import kbnUtilityTypesObj from './kbn_utility_types.devdocs.json'; diff --git a/api_docs/kbn_utility_types_jest.mdx b/api_docs/kbn_utility_types_jest.mdx index 89dbb25942d88..1209fbf4edec6 100644 --- a/api_docs/kbn_utility_types_jest.mdx +++ b/api_docs/kbn_utility_types_jest.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-utility-types-jest title: "@kbn/utility-types-jest" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/utility-types-jest plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/utility-types-jest'] --- import kbnUtilityTypesJestObj from './kbn_utility_types_jest.devdocs.json'; diff --git a/api_docs/kbn_utils.mdx b/api_docs/kbn_utils.mdx index fe3c1b7b5859d..30eb71cfc0adc 100644 --- a/api_docs/kbn_utils.mdx +++ b/api_docs/kbn_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-utils title: "@kbn/utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/utils plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/utils'] --- import kbnUtilsObj from './kbn_utils.devdocs.json'; diff --git a/api_docs/kbn_visualization_ui_components.mdx b/api_docs/kbn_visualization_ui_components.mdx index 2800159f408a0..dfa89eb63ca37 100644 --- a/api_docs/kbn_visualization_ui_components.mdx +++ b/api_docs/kbn_visualization_ui_components.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-visualization-ui-components title: "@kbn/visualization-ui-components" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/visualization-ui-components plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/visualization-ui-components'] --- import kbnVisualizationUiComponentsObj from './kbn_visualization_ui_components.devdocs.json'; diff --git a/api_docs/kbn_visualization_utils.mdx b/api_docs/kbn_visualization_utils.mdx index c6ff3dec383c6..1f966fb2b30fc 100644 --- a/api_docs/kbn_visualization_utils.mdx +++ b/api_docs/kbn_visualization_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-visualization-utils title: "@kbn/visualization-utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/visualization-utils plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/visualization-utils'] --- import kbnVisualizationUtilsObj from './kbn_visualization_utils.devdocs.json'; diff --git a/api_docs/kbn_xstate_utils.mdx b/api_docs/kbn_xstate_utils.mdx index ca34e5b61dc8c..e82b8f53ce741 100644 --- a/api_docs/kbn_xstate_utils.mdx +++ b/api_docs/kbn_xstate_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-xstate-utils title: "@kbn/xstate-utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/xstate-utils plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/xstate-utils'] --- import kbnXstateUtilsObj from './kbn_xstate_utils.devdocs.json'; diff --git a/api_docs/kbn_yarn_lock_validator.mdx b/api_docs/kbn_yarn_lock_validator.mdx index 3561d7980a62b..d8deb091deaa5 100644 --- a/api_docs/kbn_yarn_lock_validator.mdx +++ b/api_docs/kbn_yarn_lock_validator.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-yarn-lock-validator title: "@kbn/yarn-lock-validator" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/yarn-lock-validator plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/yarn-lock-validator'] --- import kbnYarnLockValidatorObj from './kbn_yarn_lock_validator.devdocs.json'; diff --git a/api_docs/kbn_zod_helpers.mdx b/api_docs/kbn_zod_helpers.mdx index 582005626651e..0cf86a7c036d4 100644 --- a/api_docs/kbn_zod_helpers.mdx +++ b/api_docs/kbn_zod_helpers.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-zod-helpers title: "@kbn/zod-helpers" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/zod-helpers plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/zod-helpers'] --- import kbnZodHelpersObj from './kbn_zod_helpers.devdocs.json'; diff --git a/api_docs/kibana_overview.mdx b/api_docs/kibana_overview.mdx index b31963ee0812e..625573339c7da 100644 --- a/api_docs/kibana_overview.mdx +++ b/api_docs/kibana_overview.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kibanaOverview title: "kibanaOverview" image: https://source.unsplash.com/400x175/?github description: API docs for the kibanaOverview plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'kibanaOverview'] --- import kibanaOverviewObj from './kibana_overview.devdocs.json'; diff --git a/api_docs/kibana_react.mdx b/api_docs/kibana_react.mdx index 16372b55a0f38..ae2c7ff93180b 100644 --- a/api_docs/kibana_react.mdx +++ b/api_docs/kibana_react.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kibanaReact title: "kibanaReact" image: https://source.unsplash.com/400x175/?github description: API docs for the kibanaReact plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'kibanaReact'] --- import kibanaReactObj from './kibana_react.devdocs.json'; diff --git a/api_docs/kibana_utils.mdx b/api_docs/kibana_utils.mdx index 7f0cab752c718..7f657e2a207b8 100644 --- a/api_docs/kibana_utils.mdx +++ b/api_docs/kibana_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kibanaUtils title: "kibanaUtils" image: https://source.unsplash.com/400x175/?github description: API docs for the kibanaUtils plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'kibanaUtils'] --- import kibanaUtilsObj from './kibana_utils.devdocs.json'; diff --git a/api_docs/kubernetes_security.mdx b/api_docs/kubernetes_security.mdx index 289d8455777d3..642ed20234110 100644 --- a/api_docs/kubernetes_security.mdx +++ b/api_docs/kubernetes_security.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kubernetesSecurity title: "kubernetesSecurity" image: https://source.unsplash.com/400x175/?github description: API docs for the kubernetesSecurity plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'kubernetesSecurity'] --- import kubernetesSecurityObj from './kubernetes_security.devdocs.json'; diff --git a/api_docs/lens.mdx b/api_docs/lens.mdx index 500220ffeb2b8..dad1c22905081 100644 --- a/api_docs/lens.mdx +++ b/api_docs/lens.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/lens title: "lens" image: https://source.unsplash.com/400x175/?github description: API docs for the lens plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'lens'] --- import lensObj from './lens.devdocs.json'; diff --git a/api_docs/license_api_guard.mdx b/api_docs/license_api_guard.mdx index a939c8c8a5548..54604648ff77e 100644 --- a/api_docs/license_api_guard.mdx +++ b/api_docs/license_api_guard.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/licenseApiGuard title: "licenseApiGuard" image: https://source.unsplash.com/400x175/?github description: API docs for the licenseApiGuard plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'licenseApiGuard'] --- import licenseApiGuardObj from './license_api_guard.devdocs.json'; diff --git a/api_docs/license_management.mdx b/api_docs/license_management.mdx index f6ff20ce2c995..7d1203e9077de 100644 --- a/api_docs/license_management.mdx +++ b/api_docs/license_management.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/licenseManagement title: "licenseManagement" image: https://source.unsplash.com/400x175/?github description: API docs for the licenseManagement plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'licenseManagement'] --- import licenseManagementObj from './license_management.devdocs.json'; diff --git a/api_docs/licensing.mdx b/api_docs/licensing.mdx index a4bfdea0ddaad..20905538e2b75 100644 --- a/api_docs/licensing.mdx +++ b/api_docs/licensing.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/licensing title: "licensing" image: https://source.unsplash.com/400x175/?github description: API docs for the licensing plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'licensing'] --- import licensingObj from './licensing.devdocs.json'; diff --git a/api_docs/links.mdx b/api_docs/links.mdx index 34e8efc38c0c3..85579d2677dbe 100644 --- a/api_docs/links.mdx +++ b/api_docs/links.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/links title: "links" image: https://source.unsplash.com/400x175/?github description: API docs for the links plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'links'] --- import linksObj from './links.devdocs.json'; diff --git a/api_docs/lists.mdx b/api_docs/lists.mdx index de07b07e2a085..798807ecf89f3 100644 --- a/api_docs/lists.mdx +++ b/api_docs/lists.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/lists title: "lists" image: https://source.unsplash.com/400x175/?github description: API docs for the lists plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'lists'] --- import listsObj from './lists.devdocs.json'; diff --git a/api_docs/logs_data_access.mdx b/api_docs/logs_data_access.mdx index 378bf758324e0..892bc914b834e 100644 --- a/api_docs/logs_data_access.mdx +++ b/api_docs/logs_data_access.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/logsDataAccess title: "logsDataAccess" image: https://source.unsplash.com/400x175/?github description: API docs for the logsDataAccess plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'logsDataAccess'] --- import logsDataAccessObj from './logs_data_access.devdocs.json'; diff --git a/api_docs/logs_explorer.mdx b/api_docs/logs_explorer.mdx index 75ef52712ec88..58cae6b1ffc02 100644 --- a/api_docs/logs_explorer.mdx +++ b/api_docs/logs_explorer.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/logsExplorer title: "logsExplorer" image: https://source.unsplash.com/400x175/?github description: API docs for the logsExplorer plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'logsExplorer'] --- import logsExplorerObj from './logs_explorer.devdocs.json'; diff --git a/api_docs/logs_shared.mdx b/api_docs/logs_shared.mdx index e564a53dc9a05..9051fbf255beb 100644 --- a/api_docs/logs_shared.mdx +++ b/api_docs/logs_shared.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/logsShared title: "logsShared" image: https://source.unsplash.com/400x175/?github description: API docs for the logsShared plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'logsShared'] --- import logsSharedObj from './logs_shared.devdocs.json'; diff --git a/api_docs/management.mdx b/api_docs/management.mdx index 98a39d755361b..7ad2447ef77fb 100644 --- a/api_docs/management.mdx +++ b/api_docs/management.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/management title: "management" image: https://source.unsplash.com/400x175/?github description: API docs for the management plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'management'] --- import managementObj from './management.devdocs.json'; diff --git a/api_docs/maps.mdx b/api_docs/maps.mdx index 17cc03b92dc29..c77c4eb4af477 100644 --- a/api_docs/maps.mdx +++ b/api_docs/maps.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/maps title: "maps" image: https://source.unsplash.com/400x175/?github description: API docs for the maps plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'maps'] --- import mapsObj from './maps.devdocs.json'; diff --git a/api_docs/maps_ems.mdx b/api_docs/maps_ems.mdx index fd8261152e759..49fd392572951 100644 --- a/api_docs/maps_ems.mdx +++ b/api_docs/maps_ems.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/mapsEms title: "mapsEms" image: https://source.unsplash.com/400x175/?github description: API docs for the mapsEms plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'mapsEms'] --- import mapsEmsObj from './maps_ems.devdocs.json'; diff --git a/api_docs/metrics_data_access.mdx b/api_docs/metrics_data_access.mdx index a40cb226c5114..c1b663e17d9f3 100644 --- a/api_docs/metrics_data_access.mdx +++ b/api_docs/metrics_data_access.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/metricsDataAccess title: "metricsDataAccess" image: https://source.unsplash.com/400x175/?github description: API docs for the metricsDataAccess plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'metricsDataAccess'] --- import metricsDataAccessObj from './metrics_data_access.devdocs.json'; diff --git a/api_docs/ml.mdx b/api_docs/ml.mdx index c08f9a810021b..8c47ce4c09ba6 100644 --- a/api_docs/ml.mdx +++ b/api_docs/ml.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/ml title: "ml" image: https://source.unsplash.com/400x175/?github description: API docs for the ml plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'ml'] --- import mlObj from './ml.devdocs.json'; diff --git a/api_docs/mock_idp_plugin.mdx b/api_docs/mock_idp_plugin.mdx index 3819bf66f3d4b..7be1f682a3282 100644 --- a/api_docs/mock_idp_plugin.mdx +++ b/api_docs/mock_idp_plugin.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/mockIdpPlugin title: "mockIdpPlugin" image: https://source.unsplash.com/400x175/?github description: API docs for the mockIdpPlugin plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'mockIdpPlugin'] --- import mockIdpPluginObj from './mock_idp_plugin.devdocs.json'; diff --git a/api_docs/monitoring.mdx b/api_docs/monitoring.mdx index 6fb691b86cb25..0d459647b44d2 100644 --- a/api_docs/monitoring.mdx +++ b/api_docs/monitoring.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/monitoring title: "monitoring" image: https://source.unsplash.com/400x175/?github description: API docs for the monitoring plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'monitoring'] --- import monitoringObj from './monitoring.devdocs.json'; diff --git a/api_docs/monitoring_collection.mdx b/api_docs/monitoring_collection.mdx index 3643666cfe722..5d67ef8461388 100644 --- a/api_docs/monitoring_collection.mdx +++ b/api_docs/monitoring_collection.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/monitoringCollection title: "monitoringCollection" image: https://source.unsplash.com/400x175/?github description: API docs for the monitoringCollection plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'monitoringCollection'] --- import monitoringCollectionObj from './monitoring_collection.devdocs.json'; diff --git a/api_docs/navigation.mdx b/api_docs/navigation.mdx index edac2947559ef..655ec6c62e69e 100644 --- a/api_docs/navigation.mdx +++ b/api_docs/navigation.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/navigation title: "navigation" image: https://source.unsplash.com/400x175/?github description: API docs for the navigation plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'navigation'] --- import navigationObj from './navigation.devdocs.json'; diff --git a/api_docs/newsfeed.mdx b/api_docs/newsfeed.mdx index d16a7692e3d26..8425af72c1ff4 100644 --- a/api_docs/newsfeed.mdx +++ b/api_docs/newsfeed.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/newsfeed title: "newsfeed" image: https://source.unsplash.com/400x175/?github description: API docs for the newsfeed plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'newsfeed'] --- import newsfeedObj from './newsfeed.devdocs.json'; diff --git a/api_docs/no_data_page.mdx b/api_docs/no_data_page.mdx index fa7af87edcd02..d77f4b10496dc 100644 --- a/api_docs/no_data_page.mdx +++ b/api_docs/no_data_page.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/noDataPage title: "noDataPage" image: https://source.unsplash.com/400x175/?github description: API docs for the noDataPage plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'noDataPage'] --- import noDataPageObj from './no_data_page.devdocs.json'; diff --git a/api_docs/notifications.mdx b/api_docs/notifications.mdx index 5be6b4c8b5a52..981184e84326b 100644 --- a/api_docs/notifications.mdx +++ b/api_docs/notifications.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/notifications title: "notifications" image: https://source.unsplash.com/400x175/?github description: API docs for the notifications plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'notifications'] --- import notificationsObj from './notifications.devdocs.json'; diff --git a/api_docs/observability.devdocs.json b/api_docs/observability.devdocs.json index 4b00709103738..710f67c8e3faa 100644 --- a/api_docs/observability.devdocs.json +++ b/api_docs/observability.devdocs.json @@ -10665,10 +10665,10 @@ }, { "parentPluginId": "observability", - "id": "def-server.uiSettings.apmEnableMultiSignal", + "id": "def-server.uiSettings.entityCentricExperience", "type": "Object", "tags": [], - "label": "[apmEnableMultiSignal]", + "label": "[entityCentricExperience]", "description": [], "path": "x-pack/plugins/observability_solution/observability/server/ui_settings.ts", "deprecated": false, @@ -10676,7 +10676,7 @@ "children": [ { "parentPluginId": "observability", - "id": "def-server.uiSettings.apmEnableMultiSignal.category", + "id": "def-server.uiSettings.entityCentricExperience.category", "type": "Array", "tags": [], "label": "category", @@ -10690,7 +10690,7 @@ }, { "parentPluginId": "observability", - "id": "def-server.uiSettings.apmEnableMultiSignal.name", + "id": "def-server.uiSettings.entityCentricExperience.name", "type": "string", "tags": [], "label": "name", @@ -10701,7 +10701,7 @@ }, { "parentPluginId": "observability", - "id": "def-server.uiSettings.apmEnableMultiSignal.description", + "id": "def-server.uiSettings.entityCentricExperience.description", "type": "string", "tags": [], "label": "description", @@ -10712,7 +10712,7 @@ }, { "parentPluginId": "observability", - "id": "def-server.uiSettings.apmEnableMultiSignal.schema", + "id": "def-server.uiSettings.entityCentricExperience.schema", "type": "Object", "tags": [], "label": "schema", @@ -10733,7 +10733,7 @@ }, { "parentPluginId": "observability", - "id": "def-server.uiSettings.apmEnableMultiSignal.value", + "id": "def-server.uiSettings.entityCentricExperience.value", "type": "boolean", "tags": [], "label": "value", @@ -10747,7 +10747,7 @@ }, { "parentPluginId": "observability", - "id": "def-server.uiSettings.apmEnableMultiSignal.requiresPageReload", + "id": "def-server.uiSettings.entityCentricExperience.requiresPageReload", "type": "boolean", "tags": [], "label": "requiresPageReload", @@ -10761,7 +10761,7 @@ }, { "parentPluginId": "observability", - "id": "def-server.uiSettings.apmEnableMultiSignal.type", + "id": "def-server.uiSettings.entityCentricExperience.type", "type": "string", "tags": [], "label": "type", @@ -13771,21 +13771,6 @@ "trackAdoption": false, "initialIsOpen": false }, - { - "parentPluginId": "observability", - "id": "def-common.apmEnableMultiSignal", - "type": "string", - "tags": [], - "label": "apmEnableMultiSignal", - "description": [], - "signature": [ - "\"observability:apmEnableMultiSignal\"" - ], - "path": "x-pack/plugins/observability_solution/observability/common/ui_settings_keys.ts", - "deprecated": false, - "trackAdoption": false, - "initialIsOpen": false - }, { "parentPluginId": "observability", "id": "def-common.apmEnableProfilingIntegration", @@ -14208,6 +14193,21 @@ "trackAdoption": false, "initialIsOpen": false }, + { + "parentPluginId": "observability", + "id": "def-common.entityCentricExperience", + "type": "string", + "tags": [], + "label": "entityCentricExperience", + "description": [], + "signature": [ + "\"observability:entityCentricExperience\"" + ], + "path": "x-pack/plugins/observability_solution/observability/common/ui_settings_keys.ts", + "deprecated": false, + "trackAdoption": false, + "initialIsOpen": false + }, { "parentPluginId": "observability", "id": "def-common.maxSuggestions", diff --git a/api_docs/observability.mdx b/api_docs/observability.mdx index f83ff94af80fc..fdd02de015025 100644 --- a/api_docs/observability.mdx +++ b/api_docs/observability.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/observability title: "observability" image: https://source.unsplash.com/400x175/?github description: API docs for the observability plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'observability'] --- import observabilityObj from './observability.devdocs.json'; diff --git a/api_docs/observability_a_i_assistant.mdx b/api_docs/observability_a_i_assistant.mdx index 8427027272f1b..6a86c9f8738bd 100644 --- a/api_docs/observability_a_i_assistant.mdx +++ b/api_docs/observability_a_i_assistant.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/observabilityAIAssistant title: "observabilityAIAssistant" image: https://source.unsplash.com/400x175/?github description: API docs for the observabilityAIAssistant plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'observabilityAIAssistant'] --- import observabilityAIAssistantObj from './observability_a_i_assistant.devdocs.json'; diff --git a/api_docs/observability_a_i_assistant_app.mdx b/api_docs/observability_a_i_assistant_app.mdx index ef8774a700bdb..dc8e2c4f687c6 100644 --- a/api_docs/observability_a_i_assistant_app.mdx +++ b/api_docs/observability_a_i_assistant_app.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/observabilityAIAssistantApp title: "observabilityAIAssistantApp" image: https://source.unsplash.com/400x175/?github description: API docs for the observabilityAIAssistantApp plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'observabilityAIAssistantApp'] --- import observabilityAIAssistantAppObj from './observability_a_i_assistant_app.devdocs.json'; diff --git a/api_docs/observability_ai_assistant_management.mdx b/api_docs/observability_ai_assistant_management.mdx index 1d415186ba131..b11fb2a8e1ff9 100644 --- a/api_docs/observability_ai_assistant_management.mdx +++ b/api_docs/observability_ai_assistant_management.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/observabilityAiAssistantManagement title: "observabilityAiAssistantManagement" image: https://source.unsplash.com/400x175/?github description: API docs for the observabilityAiAssistantManagement plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'observabilityAiAssistantManagement'] --- import observabilityAiAssistantManagementObj from './observability_ai_assistant_management.devdocs.json'; diff --git a/api_docs/observability_logs_explorer.mdx b/api_docs/observability_logs_explorer.mdx index 5517cc3461fe1..fb95b10bbe6bd 100644 --- a/api_docs/observability_logs_explorer.mdx +++ b/api_docs/observability_logs_explorer.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/observabilityLogsExplorer title: "observabilityLogsExplorer" image: https://source.unsplash.com/400x175/?github description: API docs for the observabilityLogsExplorer plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'observabilityLogsExplorer'] --- import observabilityLogsExplorerObj from './observability_logs_explorer.devdocs.json'; diff --git a/api_docs/observability_onboarding.mdx b/api_docs/observability_onboarding.mdx index 8045d387a5d6c..26f5c9c9a641e 100644 --- a/api_docs/observability_onboarding.mdx +++ b/api_docs/observability_onboarding.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/observabilityOnboarding title: "observabilityOnboarding" image: https://source.unsplash.com/400x175/?github description: API docs for the observabilityOnboarding plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'observabilityOnboarding'] --- import observabilityOnboardingObj from './observability_onboarding.devdocs.json'; diff --git a/api_docs/observability_shared.mdx b/api_docs/observability_shared.mdx index 13bcac5372af5..307369d9c9939 100644 --- a/api_docs/observability_shared.mdx +++ b/api_docs/observability_shared.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/observabilityShared title: "observabilityShared" image: https://source.unsplash.com/400x175/?github description: API docs for the observabilityShared plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'observabilityShared'] --- import observabilitySharedObj from './observability_shared.devdocs.json'; diff --git a/api_docs/osquery.mdx b/api_docs/osquery.mdx index b07458360646b..6cfe406d28439 100644 --- a/api_docs/osquery.mdx +++ b/api_docs/osquery.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/osquery title: "osquery" image: https://source.unsplash.com/400x175/?github description: API docs for the osquery plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'osquery'] --- import osqueryObj from './osquery.devdocs.json'; diff --git a/api_docs/painless_lab.mdx b/api_docs/painless_lab.mdx index e66e8a6781515..01ce201ff3b65 100644 --- a/api_docs/painless_lab.mdx +++ b/api_docs/painless_lab.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/painlessLab title: "painlessLab" image: https://source.unsplash.com/400x175/?github description: API docs for the painlessLab plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'painlessLab'] --- import painlessLabObj from './painless_lab.devdocs.json'; diff --git a/api_docs/plugin_directory.mdx b/api_docs/plugin_directory.mdx index 05ff6975cdf73..ad03aa84c61c1 100644 --- a/api_docs/plugin_directory.mdx +++ b/api_docs/plugin_directory.mdx @@ -7,7 +7,7 @@ id: kibDevDocsPluginDirectory slug: /kibana-dev-docs/api-meta/plugin-api-directory title: Directory description: Directory of public APIs available through plugins or packages. -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana'] --- @@ -15,13 +15,13 @@ tags: ['contributor', 'dev', 'apidocs', 'kibana'] | Count | Plugins or Packages with a
public API | Number of teams | |--------------|----------|------------------------| -| 812 | 696 | 42 | +| 813 | 696 | 42 | ### Public API health stats | API Count | Any Count | Missing comments | Missing exports | |--------------|----------|-----------------|--------| -| 49917 | 239 | 38039 | 1898 | +| 49926 | 239 | 38046 | 1898 | ## Plugin Directory @@ -70,7 +70,7 @@ tags: ['contributor', 'dev', 'apidocs', 'kibana'] | | [@elastic/kibana-data-discovery](https://github.com/orgs/elastic/teams/kibana-data-discovery) | A stateful layer to register shared features and provide an access point to discover without a direct dependency | 16 | 0 | 15 | 2 | | | [@elastic/security-threat-hunting-explore](https://github.com/orgs/elastic/teams/security-threat-hunting-explore) | APIs used to assess the quality of data in Elasticsearch indexes | 2 | 0 | 0 | 0 | | | [@elastic/security-generative-ai](https://github.com/orgs/elastic/teams/security-generative-ai) | Server APIs for the Elastic AI Assistant | 48 | 0 | 34 | 1 | -| | [@elastic/kibana-presentation](https://github.com/orgs/elastic/teams/kibana-presentation) | Adds embeddables service to Kibana | 571 | 1 | 461 | 9 | +| | [@elastic/kibana-presentation](https://github.com/orgs/elastic/teams/kibana-presentation) | Adds embeddables service to Kibana | 570 | 1 | 460 | 9 | | | [@elastic/kibana-presentation](https://github.com/orgs/elastic/teams/kibana-presentation) | Extends embeddable plugin with more functionality | 19 | 0 | 19 | 2 | | | [@elastic/kibana-security](https://github.com/orgs/elastic/teams/kibana-security) | This plugin provides encryption and decryption utilities for saved objects containing sensitive information. | 53 | 0 | 46 | 1 | | | [@elastic/search-kibana](https://github.com/orgs/elastic/teams/search-kibana) | Adds dashboards for discovering and managing Enterprise Search products. | 5 | 0 | 5 | 0 | @@ -186,7 +186,7 @@ tags: ['contributor', 'dev', 'apidocs', 'kibana'] | | [@elastic/security-solution](https://github.com/orgs/elastic/teams/security-solution) | Serverless customizations for security. | 7 | 0 | 7 | 0 | | | [@elastic/appex-sharedux](https://github.com/orgs/elastic/teams/appex-sharedux) | The core Serverless plugin, providing APIs to Serverless Project plugins. | 25 | 0 | 24 | 0 | | | [@elastic/obs-ux-management-team](https://github.com/orgs/elastic/teams/obs-ux-management-team) | Serverless customizations for observability. | 6 | 0 | 6 | 0 | -| | [@elastic/search-kibana](https://github.com/orgs/elastic/teams/search-kibana) | Serverless customizations for search. | 6 | 0 | 6 | 0 | +| | [@elastic/search-kibana](https://github.com/orgs/elastic/teams/search-kibana) | Serverless customizations for search. | 7 | 0 | 7 | 0 | | | [@elastic/kibana-cloud-security-posture](https://github.com/orgs/elastic/teams/kibana-cloud-security-posture) | - | 134 | 0 | 134 | 8 | | | [@elastic/appex-sharedux](https://github.com/orgs/elastic/teams/appex-sharedux) | Adds URL Service and sharing capabilities to Kibana | 121 | 0 | 60 | 12 | | | [@elastic/obs-ux-management-team](https://github.com/orgs/elastic/teams/obs-ux-management-team) | - | 65 | 0 | 65 | 1 | @@ -207,7 +207,7 @@ tags: ['contributor', 'dev', 'apidocs', 'kibana'] | | [@elastic/response-ops](https://github.com/orgs/elastic/teams/response-ops) | - | 588 | 1 | 562 | 52 | | | [@elastic/appex-sharedux](https://github.com/orgs/elastic/teams/appex-sharedux) | Adds UI Actions service to Kibana | 156 | 0 | 110 | 9 | | | [@elastic/appex-sharedux](https://github.com/orgs/elastic/teams/appex-sharedux) | Extends UI Actions plugin with more functionality | 212 | 0 | 145 | 11 | -| | [@elastic/kibana-data-discovery](https://github.com/orgs/elastic/teams/kibana-data-discovery) | This plugin contains services reliant on the plugin lifecycle for the unified doc viewer component (see @kbn/unified-doc-viewer). | 12 | 0 | 8 | 3 | +| | [@elastic/kibana-data-discovery](https://github.com/orgs/elastic/teams/kibana-data-discovery) | This plugin contains services reliant on the plugin lifecycle for the unified doc viewer component (see @kbn/unified-doc-viewer). | 15 | 0 | 10 | 3 | | | [@elastic/kibana-data-discovery](https://github.com/orgs/elastic/teams/kibana-data-discovery) | The `unifiedHistogram` plugin provides UI components to create a layout including a resizable histogram and a main display. | 71 | 0 | 36 | 6 | | | [@elastic/kibana-visualizations](https://github.com/orgs/elastic/teams/kibana-visualizations) | Contains all the key functionality of Kibana's unified search experience.Contains all the key functionality of Kibana's unified search experience. | 152 | 2 | 113 | 23 | | upgradeAssistant | [@elastic/kibana-management](https://github.com/orgs/elastic/teams/kibana-management) | - | 0 | 0 | 0 | 0 | @@ -480,7 +480,7 @@ tags: ['contributor', 'dev', 'apidocs', 'kibana'] | | [@elastic/kibana-operations](https://github.com/orgs/elastic/teams/kibana-operations) | - | 102 | 0 | 86 | 0 | | | [@elastic/kibana-operations](https://github.com/orgs/elastic/teams/kibana-operations) | - | 15 | 0 | 9 | 0 | | | [@elastic/kibana-operations](https://github.com/orgs/elastic/teams/kibana-operations) | - | 38 | 2 | 33 | 0 | -| | [@elastic/kibana-data-discovery](https://github.com/orgs/elastic/teams/kibana-data-discovery) | - | 120 | 0 | 94 | 1 | +| | [@elastic/kibana-data-discovery](https://github.com/orgs/elastic/teams/kibana-data-discovery) | - | 128 | 0 | 102 | 1 | | | [@elastic/docs](https://github.com/orgs/elastic/teams/docs) | - | 78 | 0 | 78 | 2 | | | [@elastic/kibana-operations](https://github.com/orgs/elastic/teams/kibana-operations) | - | 5 | 0 | 5 | 1 | | | [@elastic/kibana-visualizations](https://github.com/orgs/elastic/teams/kibana-visualizations) | - | 41 | 0 | 27 | 6 | @@ -499,7 +499,7 @@ tags: ['contributor', 'dev', 'apidocs', 'kibana'] | | [@elastic/kibana-operations](https://github.com/orgs/elastic/teams/kibana-operations) | - | 2 | 0 | 1 | 0 | | | [@elastic/kibana-esql](https://github.com/orgs/elastic/teams/kibana-esql) | - | 104 | 1 | 101 | 10 | | | [@elastic/kibana-esql](https://github.com/orgs/elastic/teams/kibana-esql) | - | 53 | 0 | 51 | 0 | -| | [@elastic/kibana-esql](https://github.com/orgs/elastic/teams/kibana-esql) | - | 193 | 0 | 182 | 10 | +| | [@elastic/kibana-esql](https://github.com/orgs/elastic/teams/kibana-esql) | - | 194 | 0 | 183 | 10 | | | [@elastic/kibana-visualizations](https://github.com/orgs/elastic/teams/kibana-visualizations) | - | 39 | 0 | 39 | 0 | | | [@elastic/kibana-visualizations](https://github.com/orgs/elastic/teams/kibana-visualizations) | - | 52 | 0 | 52 | 1 | | | [@elastic/security-threat-hunting-investigations](https://github.com/orgs/elastic/teams/security-threat-hunting-investigations) | - | 39 | 0 | 14 | 1 | @@ -656,7 +656,7 @@ tags: ['contributor', 'dev', 'apidocs', 'kibana'] | | [@elastic/security-detection-engine](https://github.com/orgs/elastic/teams/security-detection-engine) | - | 106 | 0 | 95 | 1 | | | [@elastic/security-detection-engine](https://github.com/orgs/elastic/teams/security-detection-engine) | - | 15 | 0 | 7 | 0 | | | [@elastic/security-detection-engine](https://github.com/orgs/elastic/teams/security-detection-engine) | - | 147 | 0 | 125 | 0 | -| | [@elastic/security-detection-engine](https://github.com/orgs/elastic/teams/security-detection-engine) | - | 538 | 0 | 525 | 0 | +| | [@elastic/security-detection-engine](https://github.com/orgs/elastic/teams/security-detection-engine) | - | 534 | 0 | 521 | 0 | | | [@elastic/security-detection-engine](https://github.com/orgs/elastic/teams/security-detection-engine) | - | 68 | 0 | 38 | 0 | | | [@elastic/security-detection-engine](https://github.com/orgs/elastic/teams/security-detection-engine) | - | 28 | 0 | 21 | 0 | | | [@elastic/security-detection-engine](https://github.com/orgs/elastic/teams/security-detection-engine) | - | 103 | 0 | 99 | 0 | @@ -735,7 +735,7 @@ tags: ['contributor', 'dev', 'apidocs', 'kibana'] | | [@elastic/appex-sharedux](https://github.com/orgs/elastic/teams/appex-sharedux) | - | 42 | 0 | 28 | 0 | | | [@elastic/kibana-operations](https://github.com/orgs/elastic/teams/kibana-operations) | - | 57 | 0 | 48 | 0 | | | [@elastic/kibana-operations](https://github.com/orgs/elastic/teams/kibana-operations) | - | 9 | 0 | 8 | 0 | -| | [@elastic/kibana-data-discovery](https://github.com/orgs/elastic/teams/kibana-data-discovery) | Contains functionality for the unified data table which can be integrated into apps | 153 | 0 | 81 | 1 | +| | [@elastic/kibana-data-discovery](https://github.com/orgs/elastic/teams/kibana-data-discovery) | Contains functionality for the unified data table which can be integrated into apps | 154 | 0 | 81 | 1 | | | [@elastic/kibana-data-discovery](https://github.com/orgs/elastic/teams/kibana-data-discovery) | - | 18 | 0 | 17 | 5 | | | [@elastic/kibana-data-discovery](https://github.com/orgs/elastic/teams/kibana-data-discovery) | Contains functionality for the field list and field stats which can be integrated into apps | 313 | 0 | 284 | 8 | | | [@elastic/kibana-data-discovery](https://github.com/orgs/elastic/teams/kibana-data-discovery) | - | 13 | 0 | 9 | 0 | diff --git a/api_docs/presentation_panel.mdx b/api_docs/presentation_panel.mdx index 8dc2a5191c8f2..eafe060da0d2d 100644 --- a/api_docs/presentation_panel.mdx +++ b/api_docs/presentation_panel.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/presentationPanel title: "presentationPanel" image: https://source.unsplash.com/400x175/?github description: API docs for the presentationPanel plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'presentationPanel'] --- import presentationPanelObj from './presentation_panel.devdocs.json'; diff --git a/api_docs/presentation_util.mdx b/api_docs/presentation_util.mdx index c2aa75cf51dbb..5773775ae50d1 100644 --- a/api_docs/presentation_util.mdx +++ b/api_docs/presentation_util.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/presentationUtil title: "presentationUtil" image: https://source.unsplash.com/400x175/?github description: API docs for the presentationUtil plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'presentationUtil'] --- import presentationUtilObj from './presentation_util.devdocs.json'; diff --git a/api_docs/profiling.mdx b/api_docs/profiling.mdx index b64a2ded048cb..cedb3f5d185fa 100644 --- a/api_docs/profiling.mdx +++ b/api_docs/profiling.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/profiling title: "profiling" image: https://source.unsplash.com/400x175/?github description: API docs for the profiling plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'profiling'] --- import profilingObj from './profiling.devdocs.json'; diff --git a/api_docs/profiling_data_access.mdx b/api_docs/profiling_data_access.mdx index 3630298f9aba7..b8e0c33824f5b 100644 --- a/api_docs/profiling_data_access.mdx +++ b/api_docs/profiling_data_access.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/profilingDataAccess title: "profilingDataAccess" image: https://source.unsplash.com/400x175/?github description: API docs for the profilingDataAccess plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'profilingDataAccess'] --- import profilingDataAccessObj from './profiling_data_access.devdocs.json'; diff --git a/api_docs/remote_clusters.mdx b/api_docs/remote_clusters.mdx index a94ac64e8a437..d50c1f175e4b7 100644 --- a/api_docs/remote_clusters.mdx +++ b/api_docs/remote_clusters.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/remoteClusters title: "remoteClusters" image: https://source.unsplash.com/400x175/?github description: API docs for the remoteClusters plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'remoteClusters'] --- import remoteClustersObj from './remote_clusters.devdocs.json'; diff --git a/api_docs/reporting.mdx b/api_docs/reporting.mdx index 619c08fe58ff3..71a64424b5cb4 100644 --- a/api_docs/reporting.mdx +++ b/api_docs/reporting.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/reporting title: "reporting" image: https://source.unsplash.com/400x175/?github description: API docs for the reporting plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'reporting'] --- import reportingObj from './reporting.devdocs.json'; diff --git a/api_docs/rollup.mdx b/api_docs/rollup.mdx index b50f49a674527..265793ae0f875 100644 --- a/api_docs/rollup.mdx +++ b/api_docs/rollup.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/rollup title: "rollup" image: https://source.unsplash.com/400x175/?github description: API docs for the rollup plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'rollup'] --- import rollupObj from './rollup.devdocs.json'; diff --git a/api_docs/rule_registry.mdx b/api_docs/rule_registry.mdx index 326ddb3e07002..2b426a9819e5c 100644 --- a/api_docs/rule_registry.mdx +++ b/api_docs/rule_registry.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/ruleRegistry title: "ruleRegistry" image: https://source.unsplash.com/400x175/?github description: API docs for the ruleRegistry plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'ruleRegistry'] --- import ruleRegistryObj from './rule_registry.devdocs.json'; diff --git a/api_docs/runtime_fields.mdx b/api_docs/runtime_fields.mdx index 9a3a1bb214715..143a4941f29c2 100644 --- a/api_docs/runtime_fields.mdx +++ b/api_docs/runtime_fields.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/runtimeFields title: "runtimeFields" image: https://source.unsplash.com/400x175/?github description: API docs for the runtimeFields plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'runtimeFields'] --- import runtimeFieldsObj from './runtime_fields.devdocs.json'; diff --git a/api_docs/saved_objects.mdx b/api_docs/saved_objects.mdx index 46fa6bf2e5cb8..54d0193106adb 100644 --- a/api_docs/saved_objects.mdx +++ b/api_docs/saved_objects.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/savedObjects title: "savedObjects" image: https://source.unsplash.com/400x175/?github description: API docs for the savedObjects plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'savedObjects'] --- import savedObjectsObj from './saved_objects.devdocs.json'; diff --git a/api_docs/saved_objects_finder.mdx b/api_docs/saved_objects_finder.mdx index 8a5ae410c1a65..6216fdd75a9ca 100644 --- a/api_docs/saved_objects_finder.mdx +++ b/api_docs/saved_objects_finder.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/savedObjectsFinder title: "savedObjectsFinder" image: https://source.unsplash.com/400x175/?github description: API docs for the savedObjectsFinder plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'savedObjectsFinder'] --- import savedObjectsFinderObj from './saved_objects_finder.devdocs.json'; diff --git a/api_docs/saved_objects_management.mdx b/api_docs/saved_objects_management.mdx index 6a7200560feb3..0486685408d53 100644 --- a/api_docs/saved_objects_management.mdx +++ b/api_docs/saved_objects_management.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/savedObjectsManagement title: "savedObjectsManagement" image: https://source.unsplash.com/400x175/?github description: API docs for the savedObjectsManagement plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'savedObjectsManagement'] --- import savedObjectsManagementObj from './saved_objects_management.devdocs.json'; diff --git a/api_docs/saved_objects_tagging.mdx b/api_docs/saved_objects_tagging.mdx index 47f3a714cc069..5ada6c781c667 100644 --- a/api_docs/saved_objects_tagging.mdx +++ b/api_docs/saved_objects_tagging.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/savedObjectsTagging title: "savedObjectsTagging" image: https://source.unsplash.com/400x175/?github description: API docs for the savedObjectsTagging plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'savedObjectsTagging'] --- import savedObjectsTaggingObj from './saved_objects_tagging.devdocs.json'; diff --git a/api_docs/saved_objects_tagging_oss.mdx b/api_docs/saved_objects_tagging_oss.mdx index 4c75e4dedf28f..d7cd5c07df3f0 100644 --- a/api_docs/saved_objects_tagging_oss.mdx +++ b/api_docs/saved_objects_tagging_oss.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/savedObjectsTaggingOss title: "savedObjectsTaggingOss" image: https://source.unsplash.com/400x175/?github description: API docs for the savedObjectsTaggingOss plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'savedObjectsTaggingOss'] --- import savedObjectsTaggingOssObj from './saved_objects_tagging_oss.devdocs.json'; diff --git a/api_docs/saved_search.mdx b/api_docs/saved_search.mdx index 9cdff6f44cd71..bdd1f9dbdc8a8 100644 --- a/api_docs/saved_search.mdx +++ b/api_docs/saved_search.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/savedSearch title: "savedSearch" image: https://source.unsplash.com/400x175/?github description: API docs for the savedSearch plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'savedSearch'] --- import savedSearchObj from './saved_search.devdocs.json'; diff --git a/api_docs/screenshot_mode.mdx b/api_docs/screenshot_mode.mdx index d2bb1023e8307..aee1c46e4f992 100644 --- a/api_docs/screenshot_mode.mdx +++ b/api_docs/screenshot_mode.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/screenshotMode title: "screenshotMode" image: https://source.unsplash.com/400x175/?github description: API docs for the screenshotMode plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'screenshotMode'] --- import screenshotModeObj from './screenshot_mode.devdocs.json'; diff --git a/api_docs/screenshotting.mdx b/api_docs/screenshotting.mdx index 50321d5e40dbd..ec37acb0ebff4 100644 --- a/api_docs/screenshotting.mdx +++ b/api_docs/screenshotting.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/screenshotting title: "screenshotting" image: https://source.unsplash.com/400x175/?github description: API docs for the screenshotting plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'screenshotting'] --- import screenshottingObj from './screenshotting.devdocs.json'; diff --git a/api_docs/search_connectors.mdx b/api_docs/search_connectors.mdx index e86ae51413972..625aaf4404dbd 100644 --- a/api_docs/search_connectors.mdx +++ b/api_docs/search_connectors.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/searchConnectors title: "searchConnectors" image: https://source.unsplash.com/400x175/?github description: API docs for the searchConnectors plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'searchConnectors'] --- import searchConnectorsObj from './search_connectors.devdocs.json'; diff --git a/api_docs/search_homepage.mdx b/api_docs/search_homepage.mdx index 2b4036889f738..ce6b66a58735f 100644 --- a/api_docs/search_homepage.mdx +++ b/api_docs/search_homepage.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/searchHomepage title: "searchHomepage" image: https://source.unsplash.com/400x175/?github description: API docs for the searchHomepage plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'searchHomepage'] --- import searchHomepageObj from './search_homepage.devdocs.json'; diff --git a/api_docs/search_inference_endpoints.mdx b/api_docs/search_inference_endpoints.mdx index 72c18c3ec8767..c35ca83ad95c4 100644 --- a/api_docs/search_inference_endpoints.mdx +++ b/api_docs/search_inference_endpoints.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/searchInferenceEndpoints title: "searchInferenceEndpoints" image: https://source.unsplash.com/400x175/?github description: API docs for the searchInferenceEndpoints plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'searchInferenceEndpoints'] --- import searchInferenceEndpointsObj from './search_inference_endpoints.devdocs.json'; diff --git a/api_docs/search_notebooks.mdx b/api_docs/search_notebooks.mdx index 1fa7d5ebb8f3f..385cfa942540b 100644 --- a/api_docs/search_notebooks.mdx +++ b/api_docs/search_notebooks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/searchNotebooks title: "searchNotebooks" image: https://source.unsplash.com/400x175/?github description: API docs for the searchNotebooks plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'searchNotebooks'] --- import searchNotebooksObj from './search_notebooks.devdocs.json'; diff --git a/api_docs/search_playground.mdx b/api_docs/search_playground.mdx index 90cc2df22f919..18004569c850b 100644 --- a/api_docs/search_playground.mdx +++ b/api_docs/search_playground.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/searchPlayground title: "searchPlayground" image: https://source.unsplash.com/400x175/?github description: API docs for the searchPlayground plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'searchPlayground'] --- import searchPlaygroundObj from './search_playground.devdocs.json'; diff --git a/api_docs/security.mdx b/api_docs/security.mdx index b6d0a92bcbf83..c4860f9521514 100644 --- a/api_docs/security.mdx +++ b/api_docs/security.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/security title: "security" image: https://source.unsplash.com/400x175/?github description: API docs for the security plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'security'] --- import securityObj from './security.devdocs.json'; diff --git a/api_docs/security_solution.devdocs.json b/api_docs/security_solution.devdocs.json index 22d83e866eb8a..68edff02d75da 100644 --- a/api_docs/security_solution.devdocs.json +++ b/api_docs/security_solution.devdocs.json @@ -485,7 +485,7 @@ "\nExperimental flag needed to enable the link" ], "signature": [ - "\"assistantKnowledgeBaseByDefault\" | \"assistantModelEvaluation\" | \"excludePoliciesInFilterEnabled\" | \"kubernetesEnabled\" | \"donutChartEmbeddablesEnabled\" | \"previewTelemetryUrlEnabled\" | \"extendedRuleExecutionLoggingEnabled\" | \"socTrendsEnabled\" | \"responseActionsEnabled\" | \"endpointResponseActionsEnabled\" | \"responseActionUploadEnabled\" | \"automatedProcessActionsEnabled\" | \"responseActionsSentinelOneV1Enabled\" | \"responseActionsSentinelOneV2Enabled\" | \"responseActionsSentinelOneGetFileEnabled\" | \"responseActionsSentinelOneKillProcessEnabled\" | \"responseActionsCrowdstrikeManualHostIsolationEnabled\" | \"responseActionScanEnabled\" | \"alertsPageChartsEnabled\" | \"alertTypeEnabled\" | \"securitySolutionNotesEnabled\" | \"entityAlertPreviewEnabled\" | \"newUserDetailsFlyoutManagedUser\" | \"riskScoringPersistence\" | \"riskScoringRoutesEnabled\" | \"esqlRulesDisabled\" | \"protectionUpdatesEnabled\" | \"AIAssistantOnRuleCreationFormEnabled\" | \"disableTimelineSaveTour\" | \"alertSuppressionForEsqlRuleEnabled\" | \"riskEnginePrivilegesRouteEnabled\" | \"alertSuppressionForMachineLearningRuleEnabled\" | \"sentinelOneDataInAnalyzerEnabled\" | \"sentinelOneManualHostActionsEnabled\" | \"crowdstrikeDataInAnalyzerEnabled\" | \"jamfDataInAnalyzerEnabled\" | \"timelineEsqlTabDisabled\" | \"unifiedComponentsInTimelineEnabled\" | \"analyzerDatePickersAndSourcererDisabled\" | \"prebuiltRulesCustomizationEnabled\" | \"malwareOnWriteScanOptionAvailable\" | \"unifiedManifestEnabled\" | \"valueListItemsModalEnabled\" | \"bulkCustomHighlightedFieldsEnabled\" | \"manualRuleRunEnabled\" | \"filterProcessDescendantsForEventFiltersEnabled\" | undefined" + "\"assistantKnowledgeBaseByDefault\" | \"assistantModelEvaluation\" | \"excludePoliciesInFilterEnabled\" | \"kubernetesEnabled\" | \"donutChartEmbeddablesEnabled\" | \"previewTelemetryUrlEnabled\" | \"extendedRuleExecutionLoggingEnabled\" | \"socTrendsEnabled\" | \"responseActionsEnabled\" | \"endpointResponseActionsEnabled\" | \"responseActionUploadEnabled\" | \"automatedProcessActionsEnabled\" | \"responseActionsSentinelOneV1Enabled\" | \"responseActionsSentinelOneV2Enabled\" | \"responseActionsSentinelOneGetFileEnabled\" | \"responseActionsSentinelOneKillProcessEnabled\" | \"responseActionsCrowdstrikeManualHostIsolationEnabled\" | \"responseActionScanEnabled\" | \"alertsPageChartsEnabled\" | \"alertTypeEnabled\" | \"securitySolutionNotesEnabled\" | \"entityAlertPreviewEnabled\" | \"newUserDetailsFlyoutManagedUser\" | \"riskScoringPersistence\" | \"riskScoringRoutesEnabled\" | \"esqlRulesDisabled\" | \"protectionUpdatesEnabled\" | \"AIAssistantOnRuleCreationFormEnabled\" | \"disableTimelineSaveTour\" | \"alertSuppressionForEsqlRuleEnabled\" | \"riskEnginePrivilegesRouteEnabled\" | \"alertSuppressionForMachineLearningRuleEnabled\" | \"sentinelOneDataInAnalyzerEnabled\" | \"sentinelOneManualHostActionsEnabled\" | \"crowdstrikeDataInAnalyzerEnabled\" | \"jamfDataInAnalyzerEnabled\" | \"timelineEsqlTabDisabled\" | \"unifiedComponentsInTimelineDisabled\" | \"analyzerDatePickersAndSourcererDisabled\" | \"prebuiltRulesCustomizationEnabled\" | \"malwareOnWriteScanOptionAvailable\" | \"unifiedManifestEnabled\" | \"valueListItemsModalEnabled\" | \"bulkCustomHighlightedFieldsEnabled\" | \"manualRuleRunEnabled\" | \"filterProcessDescendantsForEventFiltersEnabled\" | undefined" ], "path": "x-pack/plugins/security_solution/public/common/links/types.ts", "deprecated": false, @@ -565,7 +565,7 @@ "\nExperimental flag needed to disable the link. Opposite of experimentalKey" ], "signature": [ - "\"assistantKnowledgeBaseByDefault\" | \"assistantModelEvaluation\" | \"excludePoliciesInFilterEnabled\" | \"kubernetesEnabled\" | \"donutChartEmbeddablesEnabled\" | \"previewTelemetryUrlEnabled\" | \"extendedRuleExecutionLoggingEnabled\" | \"socTrendsEnabled\" | \"responseActionsEnabled\" | \"endpointResponseActionsEnabled\" | \"responseActionUploadEnabled\" | \"automatedProcessActionsEnabled\" | \"responseActionsSentinelOneV1Enabled\" | \"responseActionsSentinelOneV2Enabled\" | \"responseActionsSentinelOneGetFileEnabled\" | \"responseActionsSentinelOneKillProcessEnabled\" | \"responseActionsCrowdstrikeManualHostIsolationEnabled\" | \"responseActionScanEnabled\" | \"alertsPageChartsEnabled\" | \"alertTypeEnabled\" | \"securitySolutionNotesEnabled\" | \"entityAlertPreviewEnabled\" | \"newUserDetailsFlyoutManagedUser\" | \"riskScoringPersistence\" | \"riskScoringRoutesEnabled\" | \"esqlRulesDisabled\" | \"protectionUpdatesEnabled\" | \"AIAssistantOnRuleCreationFormEnabled\" | \"disableTimelineSaveTour\" | \"alertSuppressionForEsqlRuleEnabled\" | \"riskEnginePrivilegesRouteEnabled\" | \"alertSuppressionForMachineLearningRuleEnabled\" | \"sentinelOneDataInAnalyzerEnabled\" | \"sentinelOneManualHostActionsEnabled\" | \"crowdstrikeDataInAnalyzerEnabled\" | \"jamfDataInAnalyzerEnabled\" | \"timelineEsqlTabDisabled\" | \"unifiedComponentsInTimelineEnabled\" | \"analyzerDatePickersAndSourcererDisabled\" | \"prebuiltRulesCustomizationEnabled\" | \"malwareOnWriteScanOptionAvailable\" | \"unifiedManifestEnabled\" | \"valueListItemsModalEnabled\" | \"bulkCustomHighlightedFieldsEnabled\" | \"manualRuleRunEnabled\" | \"filterProcessDescendantsForEventFiltersEnabled\" | undefined" + "\"assistantKnowledgeBaseByDefault\" | \"assistantModelEvaluation\" | \"excludePoliciesInFilterEnabled\" | \"kubernetesEnabled\" | \"donutChartEmbeddablesEnabled\" | \"previewTelemetryUrlEnabled\" | \"extendedRuleExecutionLoggingEnabled\" | \"socTrendsEnabled\" | \"responseActionsEnabled\" | \"endpointResponseActionsEnabled\" | \"responseActionUploadEnabled\" | \"automatedProcessActionsEnabled\" | \"responseActionsSentinelOneV1Enabled\" | \"responseActionsSentinelOneV2Enabled\" | \"responseActionsSentinelOneGetFileEnabled\" | \"responseActionsSentinelOneKillProcessEnabled\" | \"responseActionsCrowdstrikeManualHostIsolationEnabled\" | \"responseActionScanEnabled\" | \"alertsPageChartsEnabled\" | \"alertTypeEnabled\" | \"securitySolutionNotesEnabled\" | \"entityAlertPreviewEnabled\" | \"newUserDetailsFlyoutManagedUser\" | \"riskScoringPersistence\" | \"riskScoringRoutesEnabled\" | \"esqlRulesDisabled\" | \"protectionUpdatesEnabled\" | \"AIAssistantOnRuleCreationFormEnabled\" | \"disableTimelineSaveTour\" | \"alertSuppressionForEsqlRuleEnabled\" | \"riskEnginePrivilegesRouteEnabled\" | \"alertSuppressionForMachineLearningRuleEnabled\" | \"sentinelOneDataInAnalyzerEnabled\" | \"sentinelOneManualHostActionsEnabled\" | \"crowdstrikeDataInAnalyzerEnabled\" | \"jamfDataInAnalyzerEnabled\" | \"timelineEsqlTabDisabled\" | \"unifiedComponentsInTimelineDisabled\" | \"analyzerDatePickersAndSourcererDisabled\" | \"prebuiltRulesCustomizationEnabled\" | \"malwareOnWriteScanOptionAvailable\" | \"unifiedManifestEnabled\" | \"valueListItemsModalEnabled\" | \"bulkCustomHighlightedFieldsEnabled\" | \"manualRuleRunEnabled\" | \"filterProcessDescendantsForEventFiltersEnabled\" | undefined" ], "path": "x-pack/plugins/security_solution/public/common/links/types.ts", "deprecated": false, @@ -1964,7 +1964,7 @@ "label": "experimentalFeatures", "description": [], "signature": [ - "{ readonly excludePoliciesInFilterEnabled: boolean; readonly kubernetesEnabled: boolean; readonly donutChartEmbeddablesEnabled: boolean; readonly previewTelemetryUrlEnabled: boolean; readonly extendedRuleExecutionLoggingEnabled: boolean; readonly socTrendsEnabled: boolean; readonly responseActionsEnabled: boolean; readonly endpointResponseActionsEnabled: boolean; readonly responseActionUploadEnabled: boolean; readonly automatedProcessActionsEnabled: boolean; readonly responseActionsSentinelOneV1Enabled: boolean; readonly responseActionsSentinelOneV2Enabled: boolean; readonly responseActionsSentinelOneGetFileEnabled: boolean; readonly responseActionsSentinelOneKillProcessEnabled: boolean; readonly responseActionsCrowdstrikeManualHostIsolationEnabled: boolean; readonly responseActionScanEnabled: boolean; readonly alertsPageChartsEnabled: boolean; readonly alertTypeEnabled: boolean; readonly securitySolutionNotesEnabled: boolean; readonly entityAlertPreviewEnabled: boolean; readonly assistantModelEvaluation: boolean; readonly assistantKnowledgeBaseByDefault: boolean; readonly newUserDetailsFlyoutManagedUser: boolean; readonly riskScoringPersistence: boolean; readonly riskScoringRoutesEnabled: boolean; readonly esqlRulesDisabled: boolean; readonly protectionUpdatesEnabled: boolean; readonly AIAssistantOnRuleCreationFormEnabled: boolean; readonly disableTimelineSaveTour: boolean; readonly alertSuppressionForEsqlRuleEnabled: boolean; readonly riskEnginePrivilegesRouteEnabled: boolean; readonly alertSuppressionForMachineLearningRuleEnabled: boolean; readonly sentinelOneDataInAnalyzerEnabled: boolean; readonly sentinelOneManualHostActionsEnabled: boolean; readonly crowdstrikeDataInAnalyzerEnabled: boolean; readonly jamfDataInAnalyzerEnabled: boolean; readonly timelineEsqlTabDisabled: boolean; readonly unifiedComponentsInTimelineEnabled: boolean; readonly analyzerDatePickersAndSourcererDisabled: boolean; readonly prebuiltRulesCustomizationEnabled: boolean; readonly malwareOnWriteScanOptionAvailable: boolean; readonly unifiedManifestEnabled: boolean; readonly valueListItemsModalEnabled: boolean; readonly bulkCustomHighlightedFieldsEnabled: boolean; readonly manualRuleRunEnabled: boolean; readonly filterProcessDescendantsForEventFiltersEnabled: boolean; }" + "{ readonly excludePoliciesInFilterEnabled: boolean; readonly kubernetesEnabled: boolean; readonly donutChartEmbeddablesEnabled: boolean; readonly previewTelemetryUrlEnabled: boolean; readonly extendedRuleExecutionLoggingEnabled: boolean; readonly socTrendsEnabled: boolean; readonly responseActionsEnabled: boolean; readonly endpointResponseActionsEnabled: boolean; readonly responseActionUploadEnabled: boolean; readonly automatedProcessActionsEnabled: boolean; readonly responseActionsSentinelOneV1Enabled: boolean; readonly responseActionsSentinelOneV2Enabled: boolean; readonly responseActionsSentinelOneGetFileEnabled: boolean; readonly responseActionsSentinelOneKillProcessEnabled: boolean; readonly responseActionsCrowdstrikeManualHostIsolationEnabled: boolean; readonly responseActionScanEnabled: boolean; readonly alertsPageChartsEnabled: boolean; readonly alertTypeEnabled: boolean; readonly securitySolutionNotesEnabled: boolean; readonly entityAlertPreviewEnabled: boolean; readonly assistantModelEvaluation: boolean; readonly assistantKnowledgeBaseByDefault: boolean; readonly newUserDetailsFlyoutManagedUser: boolean; readonly riskScoringPersistence: boolean; readonly riskScoringRoutesEnabled: boolean; readonly esqlRulesDisabled: boolean; readonly protectionUpdatesEnabled: boolean; readonly AIAssistantOnRuleCreationFormEnabled: boolean; readonly disableTimelineSaveTour: boolean; readonly alertSuppressionForEsqlRuleEnabled: boolean; readonly riskEnginePrivilegesRouteEnabled: boolean; readonly alertSuppressionForMachineLearningRuleEnabled: boolean; readonly sentinelOneDataInAnalyzerEnabled: boolean; readonly sentinelOneManualHostActionsEnabled: boolean; readonly crowdstrikeDataInAnalyzerEnabled: boolean; readonly jamfDataInAnalyzerEnabled: boolean; readonly timelineEsqlTabDisabled: boolean; readonly unifiedComponentsInTimelineDisabled: boolean; readonly analyzerDatePickersAndSourcererDisabled: boolean; readonly prebuiltRulesCustomizationEnabled: boolean; readonly malwareOnWriteScanOptionAvailable: boolean; readonly unifiedManifestEnabled: boolean; readonly valueListItemsModalEnabled: boolean; readonly bulkCustomHighlightedFieldsEnabled: boolean; readonly manualRuleRunEnabled: boolean; readonly filterProcessDescendantsForEventFiltersEnabled: boolean; }" ], "path": "x-pack/plugins/security_solution/public/types.ts", "deprecated": false, @@ -3071,7 +3071,7 @@ "\nThe security solution generic experimental features" ], "signature": [ - "{ readonly excludePoliciesInFilterEnabled: boolean; readonly kubernetesEnabled: boolean; readonly donutChartEmbeddablesEnabled: boolean; readonly previewTelemetryUrlEnabled: boolean; readonly extendedRuleExecutionLoggingEnabled: boolean; readonly socTrendsEnabled: boolean; readonly responseActionsEnabled: boolean; readonly endpointResponseActionsEnabled: boolean; readonly responseActionUploadEnabled: boolean; readonly automatedProcessActionsEnabled: boolean; readonly responseActionsSentinelOneV1Enabled: boolean; readonly responseActionsSentinelOneV2Enabled: boolean; readonly responseActionsSentinelOneGetFileEnabled: boolean; readonly responseActionsSentinelOneKillProcessEnabled: boolean; readonly responseActionsCrowdstrikeManualHostIsolationEnabled: boolean; readonly responseActionScanEnabled: boolean; readonly alertsPageChartsEnabled: boolean; readonly alertTypeEnabled: boolean; readonly securitySolutionNotesEnabled: boolean; readonly entityAlertPreviewEnabled: boolean; readonly assistantModelEvaluation: boolean; readonly assistantKnowledgeBaseByDefault: boolean; readonly newUserDetailsFlyoutManagedUser: boolean; readonly riskScoringPersistence: boolean; readonly riskScoringRoutesEnabled: boolean; readonly esqlRulesDisabled: boolean; readonly protectionUpdatesEnabled: boolean; readonly AIAssistantOnRuleCreationFormEnabled: boolean; readonly disableTimelineSaveTour: boolean; readonly alertSuppressionForEsqlRuleEnabled: boolean; readonly riskEnginePrivilegesRouteEnabled: boolean; readonly alertSuppressionForMachineLearningRuleEnabled: boolean; readonly sentinelOneDataInAnalyzerEnabled: boolean; readonly sentinelOneManualHostActionsEnabled: boolean; readonly crowdstrikeDataInAnalyzerEnabled: boolean; readonly jamfDataInAnalyzerEnabled: boolean; readonly timelineEsqlTabDisabled: boolean; readonly unifiedComponentsInTimelineEnabled: boolean; readonly analyzerDatePickersAndSourcererDisabled: boolean; readonly prebuiltRulesCustomizationEnabled: boolean; readonly malwareOnWriteScanOptionAvailable: boolean; readonly unifiedManifestEnabled: boolean; readonly valueListItemsModalEnabled: boolean; readonly bulkCustomHighlightedFieldsEnabled: boolean; readonly manualRuleRunEnabled: boolean; readonly filterProcessDescendantsForEventFiltersEnabled: boolean; }" + "{ readonly excludePoliciesInFilterEnabled: boolean; readonly kubernetesEnabled: boolean; readonly donutChartEmbeddablesEnabled: boolean; readonly previewTelemetryUrlEnabled: boolean; readonly extendedRuleExecutionLoggingEnabled: boolean; readonly socTrendsEnabled: boolean; readonly responseActionsEnabled: boolean; readonly endpointResponseActionsEnabled: boolean; readonly responseActionUploadEnabled: boolean; readonly automatedProcessActionsEnabled: boolean; readonly responseActionsSentinelOneV1Enabled: boolean; readonly responseActionsSentinelOneV2Enabled: boolean; readonly responseActionsSentinelOneGetFileEnabled: boolean; readonly responseActionsSentinelOneKillProcessEnabled: boolean; readonly responseActionsCrowdstrikeManualHostIsolationEnabled: boolean; readonly responseActionScanEnabled: boolean; readonly alertsPageChartsEnabled: boolean; readonly alertTypeEnabled: boolean; readonly securitySolutionNotesEnabled: boolean; readonly entityAlertPreviewEnabled: boolean; readonly assistantModelEvaluation: boolean; readonly assistantKnowledgeBaseByDefault: boolean; readonly newUserDetailsFlyoutManagedUser: boolean; readonly riskScoringPersistence: boolean; readonly riskScoringRoutesEnabled: boolean; readonly esqlRulesDisabled: boolean; readonly protectionUpdatesEnabled: boolean; readonly AIAssistantOnRuleCreationFormEnabled: boolean; readonly disableTimelineSaveTour: boolean; readonly alertSuppressionForEsqlRuleEnabled: boolean; readonly riskEnginePrivilegesRouteEnabled: boolean; readonly alertSuppressionForMachineLearningRuleEnabled: boolean; readonly sentinelOneDataInAnalyzerEnabled: boolean; readonly sentinelOneManualHostActionsEnabled: boolean; readonly crowdstrikeDataInAnalyzerEnabled: boolean; readonly jamfDataInAnalyzerEnabled: boolean; readonly timelineEsqlTabDisabled: boolean; readonly unifiedComponentsInTimelineDisabled: boolean; readonly analyzerDatePickersAndSourcererDisabled: boolean; readonly prebuiltRulesCustomizationEnabled: boolean; readonly malwareOnWriteScanOptionAvailable: boolean; readonly unifiedManifestEnabled: boolean; readonly valueListItemsModalEnabled: boolean; readonly bulkCustomHighlightedFieldsEnabled: boolean; readonly manualRuleRunEnabled: boolean; readonly filterProcessDescendantsForEventFiltersEnabled: boolean; }" ], "path": "x-pack/plugins/security_solution/server/plugin_contract.ts", "deprecated": false, @@ -3247,7 +3247,7 @@ "label": "ExperimentalFeatures", "description": [], "signature": [ - "{ readonly excludePoliciesInFilterEnabled: boolean; readonly kubernetesEnabled: boolean; readonly donutChartEmbeddablesEnabled: boolean; readonly previewTelemetryUrlEnabled: boolean; readonly extendedRuleExecutionLoggingEnabled: boolean; readonly socTrendsEnabled: boolean; readonly responseActionsEnabled: boolean; readonly endpointResponseActionsEnabled: boolean; readonly responseActionUploadEnabled: boolean; readonly automatedProcessActionsEnabled: boolean; readonly responseActionsSentinelOneV1Enabled: boolean; readonly responseActionsSentinelOneV2Enabled: boolean; readonly responseActionsSentinelOneGetFileEnabled: boolean; readonly responseActionsSentinelOneKillProcessEnabled: boolean; readonly responseActionsCrowdstrikeManualHostIsolationEnabled: boolean; readonly responseActionScanEnabled: boolean; readonly alertsPageChartsEnabled: boolean; readonly alertTypeEnabled: boolean; readonly securitySolutionNotesEnabled: boolean; readonly entityAlertPreviewEnabled: boolean; readonly assistantModelEvaluation: boolean; readonly assistantKnowledgeBaseByDefault: boolean; readonly newUserDetailsFlyoutManagedUser: boolean; readonly riskScoringPersistence: boolean; readonly riskScoringRoutesEnabled: boolean; readonly esqlRulesDisabled: boolean; readonly protectionUpdatesEnabled: boolean; readonly AIAssistantOnRuleCreationFormEnabled: boolean; readonly disableTimelineSaveTour: boolean; readonly alertSuppressionForEsqlRuleEnabled: boolean; readonly riskEnginePrivilegesRouteEnabled: boolean; readonly alertSuppressionForMachineLearningRuleEnabled: boolean; readonly sentinelOneDataInAnalyzerEnabled: boolean; readonly sentinelOneManualHostActionsEnabled: boolean; readonly crowdstrikeDataInAnalyzerEnabled: boolean; readonly jamfDataInAnalyzerEnabled: boolean; readonly timelineEsqlTabDisabled: boolean; readonly unifiedComponentsInTimelineEnabled: boolean; readonly analyzerDatePickersAndSourcererDisabled: boolean; readonly prebuiltRulesCustomizationEnabled: boolean; readonly malwareOnWriteScanOptionAvailable: boolean; readonly unifiedManifestEnabled: boolean; readonly valueListItemsModalEnabled: boolean; readonly bulkCustomHighlightedFieldsEnabled: boolean; readonly manualRuleRunEnabled: boolean; readonly filterProcessDescendantsForEventFiltersEnabled: boolean; }" + "{ readonly excludePoliciesInFilterEnabled: boolean; readonly kubernetesEnabled: boolean; readonly donutChartEmbeddablesEnabled: boolean; readonly previewTelemetryUrlEnabled: boolean; readonly extendedRuleExecutionLoggingEnabled: boolean; readonly socTrendsEnabled: boolean; readonly responseActionsEnabled: boolean; readonly endpointResponseActionsEnabled: boolean; readonly responseActionUploadEnabled: boolean; readonly automatedProcessActionsEnabled: boolean; readonly responseActionsSentinelOneV1Enabled: boolean; readonly responseActionsSentinelOneV2Enabled: boolean; readonly responseActionsSentinelOneGetFileEnabled: boolean; readonly responseActionsSentinelOneKillProcessEnabled: boolean; readonly responseActionsCrowdstrikeManualHostIsolationEnabled: boolean; readonly responseActionScanEnabled: boolean; readonly alertsPageChartsEnabled: boolean; readonly alertTypeEnabled: boolean; readonly securitySolutionNotesEnabled: boolean; readonly entityAlertPreviewEnabled: boolean; readonly assistantModelEvaluation: boolean; readonly assistantKnowledgeBaseByDefault: boolean; readonly newUserDetailsFlyoutManagedUser: boolean; readonly riskScoringPersistence: boolean; readonly riskScoringRoutesEnabled: boolean; readonly esqlRulesDisabled: boolean; readonly protectionUpdatesEnabled: boolean; readonly AIAssistantOnRuleCreationFormEnabled: boolean; readonly disableTimelineSaveTour: boolean; readonly alertSuppressionForEsqlRuleEnabled: boolean; readonly riskEnginePrivilegesRouteEnabled: boolean; readonly alertSuppressionForMachineLearningRuleEnabled: boolean; readonly sentinelOneDataInAnalyzerEnabled: boolean; readonly sentinelOneManualHostActionsEnabled: boolean; readonly crowdstrikeDataInAnalyzerEnabled: boolean; readonly jamfDataInAnalyzerEnabled: boolean; readonly timelineEsqlTabDisabled: boolean; readonly unifiedComponentsInTimelineDisabled: boolean; readonly analyzerDatePickersAndSourcererDisabled: boolean; readonly prebuiltRulesCustomizationEnabled: boolean; readonly malwareOnWriteScanOptionAvailable: boolean; readonly unifiedManifestEnabled: boolean; readonly valueListItemsModalEnabled: boolean; readonly bulkCustomHighlightedFieldsEnabled: boolean; readonly manualRuleRunEnabled: boolean; readonly filterProcessDescendantsForEventFiltersEnabled: boolean; }" ], "path": "x-pack/plugins/security_solution/common/experimental_features.ts", "deprecated": false, @@ -3313,7 +3313,7 @@ "\nA list of allowed values that can be used in `xpack.securitySolution.enableExperimental`.\nThis object is then used to validate and parse the value entered." ], "signature": [ - "{ readonly excludePoliciesInFilterEnabled: false; readonly kubernetesEnabled: true; readonly donutChartEmbeddablesEnabled: false; readonly previewTelemetryUrlEnabled: false; readonly extendedRuleExecutionLoggingEnabled: false; readonly socTrendsEnabled: false; readonly responseActionsEnabled: true; readonly endpointResponseActionsEnabled: true; readonly responseActionUploadEnabled: true; readonly automatedProcessActionsEnabled: true; readonly responseActionsSentinelOneV1Enabled: true; readonly responseActionsSentinelOneV2Enabled: true; readonly responseActionsSentinelOneGetFileEnabled: true; readonly responseActionsSentinelOneKillProcessEnabled: false; readonly responseActionsCrowdstrikeManualHostIsolationEnabled: true; readonly responseActionScanEnabled: false; readonly alertsPageChartsEnabled: true; readonly alertTypeEnabled: false; readonly securitySolutionNotesEnabled: false; readonly entityAlertPreviewEnabled: false; readonly assistantModelEvaluation: false; readonly assistantKnowledgeBaseByDefault: false; readonly newUserDetailsFlyoutManagedUser: false; readonly riskScoringPersistence: true; readonly riskScoringRoutesEnabled: true; readonly esqlRulesDisabled: false; readonly protectionUpdatesEnabled: true; readonly AIAssistantOnRuleCreationFormEnabled: false; readonly disableTimelineSaveTour: false; readonly alertSuppressionForEsqlRuleEnabled: false; readonly riskEnginePrivilegesRouteEnabled: true; readonly alertSuppressionForMachineLearningRuleEnabled: false; readonly sentinelOneDataInAnalyzerEnabled: true; readonly sentinelOneManualHostActionsEnabled: true; readonly crowdstrikeDataInAnalyzerEnabled: true; readonly jamfDataInAnalyzerEnabled: false; readonly timelineEsqlTabDisabled: false; readonly unifiedComponentsInTimelineEnabled: false; readonly analyzerDatePickersAndSourcererDisabled: false; readonly prebuiltRulesCustomizationEnabled: false; readonly malwareOnWriteScanOptionAvailable: true; readonly unifiedManifestEnabled: true; readonly valueListItemsModalEnabled: true; readonly bulkCustomHighlightedFieldsEnabled: false; readonly manualRuleRunEnabled: false; readonly filterProcessDescendantsForEventFiltersEnabled: false; }" + "{ readonly excludePoliciesInFilterEnabled: false; readonly kubernetesEnabled: true; readonly donutChartEmbeddablesEnabled: false; readonly previewTelemetryUrlEnabled: false; readonly extendedRuleExecutionLoggingEnabled: false; readonly socTrendsEnabled: false; readonly responseActionsEnabled: true; readonly endpointResponseActionsEnabled: true; readonly responseActionUploadEnabled: true; readonly automatedProcessActionsEnabled: true; readonly responseActionsSentinelOneV1Enabled: true; readonly responseActionsSentinelOneV2Enabled: true; readonly responseActionsSentinelOneGetFileEnabled: true; readonly responseActionsSentinelOneKillProcessEnabled: false; readonly responseActionsCrowdstrikeManualHostIsolationEnabled: true; readonly responseActionScanEnabled: false; readonly alertsPageChartsEnabled: true; readonly alertTypeEnabled: false; readonly securitySolutionNotesEnabled: false; readonly entityAlertPreviewEnabled: false; readonly assistantModelEvaluation: false; readonly assistantKnowledgeBaseByDefault: false; readonly newUserDetailsFlyoutManagedUser: false; readonly riskScoringPersistence: true; readonly riskScoringRoutesEnabled: true; readonly esqlRulesDisabled: false; readonly protectionUpdatesEnabled: true; readonly AIAssistantOnRuleCreationFormEnabled: false; readonly disableTimelineSaveTour: false; readonly alertSuppressionForEsqlRuleEnabled: false; readonly riskEnginePrivilegesRouteEnabled: true; readonly alertSuppressionForMachineLearningRuleEnabled: false; readonly sentinelOneDataInAnalyzerEnabled: true; readonly sentinelOneManualHostActionsEnabled: true; readonly crowdstrikeDataInAnalyzerEnabled: true; readonly jamfDataInAnalyzerEnabled: false; readonly timelineEsqlTabDisabled: false; readonly unifiedComponentsInTimelineDisabled: false; readonly analyzerDatePickersAndSourcererDisabled: false; readonly prebuiltRulesCustomizationEnabled: false; readonly malwareOnWriteScanOptionAvailable: true; readonly unifiedManifestEnabled: true; readonly valueListItemsModalEnabled: true; readonly bulkCustomHighlightedFieldsEnabled: false; readonly manualRuleRunEnabled: false; readonly filterProcessDescendantsForEventFiltersEnabled: false; }" ], "path": "x-pack/plugins/security_solution/common/experimental_features.ts", "deprecated": false, diff --git a/api_docs/security_solution.mdx b/api_docs/security_solution.mdx index 6410f2faaa054..e3fea9b4b459b 100644 --- a/api_docs/security_solution.mdx +++ b/api_docs/security_solution.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/securitySolution title: "securitySolution" image: https://source.unsplash.com/400x175/?github description: API docs for the securitySolution plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'securitySolution'] --- import securitySolutionObj from './security_solution.devdocs.json'; diff --git a/api_docs/security_solution_ess.mdx b/api_docs/security_solution_ess.mdx index 473574c0df6d2..ccc9c6677e085 100644 --- a/api_docs/security_solution_ess.mdx +++ b/api_docs/security_solution_ess.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/securitySolutionEss title: "securitySolutionEss" image: https://source.unsplash.com/400x175/?github description: API docs for the securitySolutionEss plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'securitySolutionEss'] --- import securitySolutionEssObj from './security_solution_ess.devdocs.json'; diff --git a/api_docs/security_solution_serverless.mdx b/api_docs/security_solution_serverless.mdx index a9ccc00f8ca9d..b842927153e18 100644 --- a/api_docs/security_solution_serverless.mdx +++ b/api_docs/security_solution_serverless.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/securitySolutionServerless title: "securitySolutionServerless" image: https://source.unsplash.com/400x175/?github description: API docs for the securitySolutionServerless plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'securitySolutionServerless'] --- import securitySolutionServerlessObj from './security_solution_serverless.devdocs.json'; diff --git a/api_docs/serverless.mdx b/api_docs/serverless.mdx index 6ca43499ab396..e5b45a581fdd1 100644 --- a/api_docs/serverless.mdx +++ b/api_docs/serverless.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/serverless title: "serverless" image: https://source.unsplash.com/400x175/?github description: API docs for the serverless plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'serverless'] --- import serverlessObj from './serverless.devdocs.json'; diff --git a/api_docs/serverless_observability.mdx b/api_docs/serverless_observability.mdx index 7bbc57f5e2c8e..daf715e559d80 100644 --- a/api_docs/serverless_observability.mdx +++ b/api_docs/serverless_observability.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/serverlessObservability title: "serverlessObservability" image: https://source.unsplash.com/400x175/?github description: API docs for the serverlessObservability plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'serverlessObservability'] --- import serverlessObservabilityObj from './serverless_observability.devdocs.json'; diff --git a/api_docs/serverless_search.devdocs.json b/api_docs/serverless_search.devdocs.json index 0dda44c3607af..3270aeb28c2d9 100644 --- a/api_docs/serverless_search.devdocs.json +++ b/api_docs/serverless_search.devdocs.json @@ -78,6 +78,21 @@ "interfaces": [], "enums": [], "misc": [ + { + "parentPluginId": "serverlessSearch", + "id": "def-common.DEFAULT_INGESTION_PIPELINE", + "type": "string", + "tags": [], + "label": "DEFAULT_INGESTION_PIPELINE", + "description": [], + "signature": [ + "\"search-default-ingestion\"" + ], + "path": "x-pack/plugins/serverless_search/common/index.ts", + "deprecated": false, + "trackAdoption": false, + "initialIsOpen": false + }, { "parentPluginId": "serverlessSearch", "id": "def-common.PLUGIN_ID", diff --git a/api_docs/serverless_search.mdx b/api_docs/serverless_search.mdx index 1b29d7195dfb7..7672c2e692215 100644 --- a/api_docs/serverless_search.mdx +++ b/api_docs/serverless_search.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/serverlessSearch title: "serverlessSearch" image: https://source.unsplash.com/400x175/?github description: API docs for the serverlessSearch plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'serverlessSearch'] --- import serverlessSearchObj from './serverless_search.devdocs.json'; @@ -21,7 +21,7 @@ Contact [@elastic/search-kibana](https://github.com/orgs/elastic/teams/search-ki | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 6 | 0 | 6 | 0 | +| 7 | 0 | 7 | 0 | ## Client diff --git a/api_docs/session_view.mdx b/api_docs/session_view.mdx index 6bea6580082e8..3b0c122d53c8f 100644 --- a/api_docs/session_view.mdx +++ b/api_docs/session_view.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/sessionView title: "sessionView" image: https://source.unsplash.com/400x175/?github description: API docs for the sessionView plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'sessionView'] --- import sessionViewObj from './session_view.devdocs.json'; diff --git a/api_docs/share.mdx b/api_docs/share.mdx index e63ce5419f748..702689af66248 100644 --- a/api_docs/share.mdx +++ b/api_docs/share.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/share title: "share" image: https://source.unsplash.com/400x175/?github description: API docs for the share plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'share'] --- import shareObj from './share.devdocs.json'; diff --git a/api_docs/slo.mdx b/api_docs/slo.mdx index 2b4f577adec20..082b9d578b4d7 100644 --- a/api_docs/slo.mdx +++ b/api_docs/slo.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/slo title: "slo" image: https://source.unsplash.com/400x175/?github description: API docs for the slo plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'slo'] --- import sloObj from './slo.devdocs.json'; diff --git a/api_docs/snapshot_restore.mdx b/api_docs/snapshot_restore.mdx index f78d0a7ffbd1b..f0d47920d79c1 100644 --- a/api_docs/snapshot_restore.mdx +++ b/api_docs/snapshot_restore.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/snapshotRestore title: "snapshotRestore" image: https://source.unsplash.com/400x175/?github description: API docs for the snapshotRestore plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'snapshotRestore'] --- import snapshotRestoreObj from './snapshot_restore.devdocs.json'; diff --git a/api_docs/spaces.mdx b/api_docs/spaces.mdx index 71d0671dcc0ae..375f328417f64 100644 --- a/api_docs/spaces.mdx +++ b/api_docs/spaces.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/spaces title: "spaces" image: https://source.unsplash.com/400x175/?github description: API docs for the spaces plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'spaces'] --- import spacesObj from './spaces.devdocs.json'; diff --git a/api_docs/stack_alerts.mdx b/api_docs/stack_alerts.mdx index 2e89400f8f67e..f3b325632e7c5 100644 --- a/api_docs/stack_alerts.mdx +++ b/api_docs/stack_alerts.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/stackAlerts title: "stackAlerts" image: https://source.unsplash.com/400x175/?github description: API docs for the stackAlerts plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'stackAlerts'] --- import stackAlertsObj from './stack_alerts.devdocs.json'; diff --git a/api_docs/stack_connectors.mdx b/api_docs/stack_connectors.mdx index f1aa1db38b829..735c1cf29cc13 100644 --- a/api_docs/stack_connectors.mdx +++ b/api_docs/stack_connectors.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/stackConnectors title: "stackConnectors" image: https://source.unsplash.com/400x175/?github description: API docs for the stackConnectors plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'stackConnectors'] --- import stackConnectorsObj from './stack_connectors.devdocs.json'; diff --git a/api_docs/task_manager.mdx b/api_docs/task_manager.mdx index 40af304e92e1e..74d141b179f30 100644 --- a/api_docs/task_manager.mdx +++ b/api_docs/task_manager.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/taskManager title: "taskManager" image: https://source.unsplash.com/400x175/?github description: API docs for the taskManager plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'taskManager'] --- import taskManagerObj from './task_manager.devdocs.json'; diff --git a/api_docs/telemetry.mdx b/api_docs/telemetry.mdx index 04da89a5b091c..492412001ec0d 100644 --- a/api_docs/telemetry.mdx +++ b/api_docs/telemetry.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/telemetry title: "telemetry" image: https://source.unsplash.com/400x175/?github description: API docs for the telemetry plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'telemetry'] --- import telemetryObj from './telemetry.devdocs.json'; diff --git a/api_docs/telemetry_collection_manager.mdx b/api_docs/telemetry_collection_manager.mdx index ad2b260990179..4acfee83aab96 100644 --- a/api_docs/telemetry_collection_manager.mdx +++ b/api_docs/telemetry_collection_manager.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/telemetryCollectionManager title: "telemetryCollectionManager" image: https://source.unsplash.com/400x175/?github description: API docs for the telemetryCollectionManager plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'telemetryCollectionManager'] --- import telemetryCollectionManagerObj from './telemetry_collection_manager.devdocs.json'; diff --git a/api_docs/telemetry_collection_xpack.mdx b/api_docs/telemetry_collection_xpack.mdx index 611d76aa386ce..e5516d393d974 100644 --- a/api_docs/telemetry_collection_xpack.mdx +++ b/api_docs/telemetry_collection_xpack.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/telemetryCollectionXpack title: "telemetryCollectionXpack" image: https://source.unsplash.com/400x175/?github description: API docs for the telemetryCollectionXpack plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'telemetryCollectionXpack'] --- import telemetryCollectionXpackObj from './telemetry_collection_xpack.devdocs.json'; diff --git a/api_docs/telemetry_management_section.mdx b/api_docs/telemetry_management_section.mdx index 2db51efbbe5f5..f6e98bbb3b336 100644 --- a/api_docs/telemetry_management_section.mdx +++ b/api_docs/telemetry_management_section.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/telemetryManagementSection title: "telemetryManagementSection" image: https://source.unsplash.com/400x175/?github description: API docs for the telemetryManagementSection plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'telemetryManagementSection'] --- import telemetryManagementSectionObj from './telemetry_management_section.devdocs.json'; diff --git a/api_docs/threat_intelligence.mdx b/api_docs/threat_intelligence.mdx index 4cfb643b87f04..aedefa302e9bc 100644 --- a/api_docs/threat_intelligence.mdx +++ b/api_docs/threat_intelligence.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/threatIntelligence title: "threatIntelligence" image: https://source.unsplash.com/400x175/?github description: API docs for the threatIntelligence plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'threatIntelligence'] --- import threatIntelligenceObj from './threat_intelligence.devdocs.json'; diff --git a/api_docs/timelines.mdx b/api_docs/timelines.mdx index 6dcd6547366e2..e7b2438f8b515 100644 --- a/api_docs/timelines.mdx +++ b/api_docs/timelines.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/timelines title: "timelines" image: https://source.unsplash.com/400x175/?github description: API docs for the timelines plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'timelines'] --- import timelinesObj from './timelines.devdocs.json'; diff --git a/api_docs/transform.mdx b/api_docs/transform.mdx index 7e5df771a2bac..389a5057e5680 100644 --- a/api_docs/transform.mdx +++ b/api_docs/transform.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/transform title: "transform" image: https://source.unsplash.com/400x175/?github description: API docs for the transform plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'transform'] --- import transformObj from './transform.devdocs.json'; diff --git a/api_docs/triggers_actions_ui.mdx b/api_docs/triggers_actions_ui.mdx index 0c1a82f34cb20..1721b0f482dea 100644 --- a/api_docs/triggers_actions_ui.mdx +++ b/api_docs/triggers_actions_ui.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/triggersActionsUi title: "triggersActionsUi" image: https://source.unsplash.com/400x175/?github description: API docs for the triggersActionsUi plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'triggersActionsUi'] --- import triggersActionsUiObj from './triggers_actions_ui.devdocs.json'; diff --git a/api_docs/ui_actions.mdx b/api_docs/ui_actions.mdx index a717b78e0ce64..0d51faae696b0 100644 --- a/api_docs/ui_actions.mdx +++ b/api_docs/ui_actions.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/uiActions title: "uiActions" image: https://source.unsplash.com/400x175/?github description: API docs for the uiActions plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'uiActions'] --- import uiActionsObj from './ui_actions.devdocs.json'; diff --git a/api_docs/ui_actions_enhanced.mdx b/api_docs/ui_actions_enhanced.mdx index b9770b9f45fcb..14e22f4e0a60e 100644 --- a/api_docs/ui_actions_enhanced.mdx +++ b/api_docs/ui_actions_enhanced.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/uiActionsEnhanced title: "uiActionsEnhanced" image: https://source.unsplash.com/400x175/?github description: API docs for the uiActionsEnhanced plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'uiActionsEnhanced'] --- import uiActionsEnhancedObj from './ui_actions_enhanced.devdocs.json'; diff --git a/api_docs/unified_doc_viewer.devdocs.json b/api_docs/unified_doc_viewer.devdocs.json index 76a3e2a3d32ff..f2f0db27d707e 100644 --- a/api_docs/unified_doc_viewer.devdocs.json +++ b/api_docs/unified_doc_viewer.devdocs.json @@ -129,6 +129,48 @@ ], "initialIsOpen": false }, + { + "parentPluginId": "unifiedDocViewer", + "id": "def-public.UnifiedDocViewerLogsOverview", + "type": "Function", + "tags": [], + "label": "UnifiedDocViewerLogsOverview", + "description": [], + "signature": [ + "React.ForwardRefExoticComponent<", + "DocViewRenderProps", + " & { renderAIAssistant?: ((deps: ", + { + "pluginId": "discoverShared", + "scope": "public", + "docId": "kibDiscoverSharedPluginApi", + "section": "def-public.ObservabilityLogsAIAssistantFeatureRenderDeps", + "text": "ObservabilityLogsAIAssistantFeatureRenderDeps" + }, + ") => JSX.Element) | undefined; } & React.RefAttributes<{}>>" + ], + "path": "src/plugins/unified_doc_viewer/public/components/lazy_doc_viewer_logs_overview.tsx", + "deprecated": false, + "trackAdoption": false, + "returnComment": [], + "children": [ + { + "parentPluginId": "unifiedDocViewer", + "id": "def-public.UnifiedDocViewerLogsOverview.$1", + "type": "Uncategorized", + "tags": [], + "label": "props", + "description": [], + "signature": [ + "P" + ], + "path": "node_modules/@types/react/index.d.ts", + "deprecated": false, + "trackAdoption": false + } + ], + "initialIsOpen": false + }, { "parentPluginId": "unifiedDocViewer", "id": "def-public.useEsDocSearch", @@ -185,7 +227,32 @@ ], "interfaces": [], "enums": [], - "misc": [], + "misc": [ + { + "parentPluginId": "unifiedDocViewer", + "id": "def-public.LogsOverviewProps", + "type": "Type", + "tags": [], + "label": "LogsOverviewProps", + "description": [], + "signature": [ + "DocViewRenderProps", + " & { renderAIAssistant?: ((deps: ", + { + "pluginId": "discoverShared", + "scope": "public", + "docId": "kibDiscoverSharedPluginApi", + "section": "def-public.ObservabilityLogsAIAssistantFeatureRenderDeps", + "text": "ObservabilityLogsAIAssistantFeatureRenderDeps" + }, + ") => JSX.Element) | undefined; }" + ], + "path": "src/plugins/unified_doc_viewer/public/components/doc_viewer_logs_overview/logs_overview.tsx", + "deprecated": false, + "trackAdoption": false, + "initialIsOpen": false + } + ], "objects": [], "setup": { "parentPluginId": "unifiedDocViewer", diff --git a/api_docs/unified_doc_viewer.mdx b/api_docs/unified_doc_viewer.mdx index bdd37e90cbfad..118475a1db126 100644 --- a/api_docs/unified_doc_viewer.mdx +++ b/api_docs/unified_doc_viewer.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/unifiedDocViewer title: "unifiedDocViewer" image: https://source.unsplash.com/400x175/?github description: API docs for the unifiedDocViewer plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'unifiedDocViewer'] --- import unifiedDocViewerObj from './unified_doc_viewer.devdocs.json'; @@ -21,7 +21,7 @@ Contact [@elastic/kibana-data-discovery](https://github.com/orgs/elastic/teams/k | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 12 | 0 | 8 | 3 | +| 15 | 0 | 10 | 3 | ## Client @@ -34,3 +34,6 @@ Contact [@elastic/kibana-data-discovery](https://github.com/orgs/elastic/teams/k ### Functions +### Consts, variables and types + + diff --git a/api_docs/unified_histogram.mdx b/api_docs/unified_histogram.mdx index ff25cda22be37..34170a24c3686 100644 --- a/api_docs/unified_histogram.mdx +++ b/api_docs/unified_histogram.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/unifiedHistogram title: "unifiedHistogram" image: https://source.unsplash.com/400x175/?github description: API docs for the unifiedHistogram plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'unifiedHistogram'] --- import unifiedHistogramObj from './unified_histogram.devdocs.json'; diff --git a/api_docs/unified_search.mdx b/api_docs/unified_search.mdx index 6539cfeccfba2..341e8cf44aefc 100644 --- a/api_docs/unified_search.mdx +++ b/api_docs/unified_search.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/unifiedSearch title: "unifiedSearch" image: https://source.unsplash.com/400x175/?github description: API docs for the unifiedSearch plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'unifiedSearch'] --- import unifiedSearchObj from './unified_search.devdocs.json'; diff --git a/api_docs/unified_search_autocomplete.mdx b/api_docs/unified_search_autocomplete.mdx index 6c4adc2fe6291..103275f9d6e80 100644 --- a/api_docs/unified_search_autocomplete.mdx +++ b/api_docs/unified_search_autocomplete.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/unifiedSearch-autocomplete title: "unifiedSearch.autocomplete" image: https://source.unsplash.com/400x175/?github description: API docs for the unifiedSearch.autocomplete plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'unifiedSearch.autocomplete'] --- import unifiedSearchAutocompleteObj from './unified_search_autocomplete.devdocs.json'; diff --git a/api_docs/uptime.mdx b/api_docs/uptime.mdx index 91ed022439ddc..bcafa05f88056 100644 --- a/api_docs/uptime.mdx +++ b/api_docs/uptime.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/uptime title: "uptime" image: https://source.unsplash.com/400x175/?github description: API docs for the uptime plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'uptime'] --- import uptimeObj from './uptime.devdocs.json'; diff --git a/api_docs/url_forwarding.mdx b/api_docs/url_forwarding.mdx index fd944b5022ae0..d3cc065b63321 100644 --- a/api_docs/url_forwarding.mdx +++ b/api_docs/url_forwarding.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/urlForwarding title: "urlForwarding" image: https://source.unsplash.com/400x175/?github description: API docs for the urlForwarding plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'urlForwarding'] --- import urlForwardingObj from './url_forwarding.devdocs.json'; diff --git a/api_docs/usage_collection.mdx b/api_docs/usage_collection.mdx index a1956bbe384cf..428eb8b1440e0 100644 --- a/api_docs/usage_collection.mdx +++ b/api_docs/usage_collection.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/usageCollection title: "usageCollection" image: https://source.unsplash.com/400x175/?github description: API docs for the usageCollection plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'usageCollection'] --- import usageCollectionObj from './usage_collection.devdocs.json'; diff --git a/api_docs/ux.mdx b/api_docs/ux.mdx index 7f46e7d4d5774..19a8ed8f5128c 100644 --- a/api_docs/ux.mdx +++ b/api_docs/ux.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/ux title: "ux" image: https://source.unsplash.com/400x175/?github description: API docs for the ux plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'ux'] --- import uxObj from './ux.devdocs.json'; diff --git a/api_docs/vis_default_editor.mdx b/api_docs/vis_default_editor.mdx index 9aaa5b46e9836..d4b0753797412 100644 --- a/api_docs/vis_default_editor.mdx +++ b/api_docs/vis_default_editor.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/visDefaultEditor title: "visDefaultEditor" image: https://source.unsplash.com/400x175/?github description: API docs for the visDefaultEditor plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'visDefaultEditor'] --- import visDefaultEditorObj from './vis_default_editor.devdocs.json'; diff --git a/api_docs/vis_type_gauge.mdx b/api_docs/vis_type_gauge.mdx index 44cf4d109ea09..b8206219ceda0 100644 --- a/api_docs/vis_type_gauge.mdx +++ b/api_docs/vis_type_gauge.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/visTypeGauge title: "visTypeGauge" image: https://source.unsplash.com/400x175/?github description: API docs for the visTypeGauge plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'visTypeGauge'] --- import visTypeGaugeObj from './vis_type_gauge.devdocs.json'; diff --git a/api_docs/vis_type_heatmap.mdx b/api_docs/vis_type_heatmap.mdx index f7238555cb866..5cf1b2c1ea1ef 100644 --- a/api_docs/vis_type_heatmap.mdx +++ b/api_docs/vis_type_heatmap.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/visTypeHeatmap title: "visTypeHeatmap" image: https://source.unsplash.com/400x175/?github description: API docs for the visTypeHeatmap plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'visTypeHeatmap'] --- import visTypeHeatmapObj from './vis_type_heatmap.devdocs.json'; diff --git a/api_docs/vis_type_pie.mdx b/api_docs/vis_type_pie.mdx index abf29d078f62a..b0ef6c82a47d3 100644 --- a/api_docs/vis_type_pie.mdx +++ b/api_docs/vis_type_pie.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/visTypePie title: "visTypePie" image: https://source.unsplash.com/400x175/?github description: API docs for the visTypePie plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'visTypePie'] --- import visTypePieObj from './vis_type_pie.devdocs.json'; diff --git a/api_docs/vis_type_table.mdx b/api_docs/vis_type_table.mdx index 4a998768567fb..1111217dcfb98 100644 --- a/api_docs/vis_type_table.mdx +++ b/api_docs/vis_type_table.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/visTypeTable title: "visTypeTable" image: https://source.unsplash.com/400x175/?github description: API docs for the visTypeTable plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'visTypeTable'] --- import visTypeTableObj from './vis_type_table.devdocs.json'; diff --git a/api_docs/vis_type_timelion.mdx b/api_docs/vis_type_timelion.mdx index 11249f0b09c88..c9b31ecc6ff9c 100644 --- a/api_docs/vis_type_timelion.mdx +++ b/api_docs/vis_type_timelion.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/visTypeTimelion title: "visTypeTimelion" image: https://source.unsplash.com/400x175/?github description: API docs for the visTypeTimelion plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'visTypeTimelion'] --- import visTypeTimelionObj from './vis_type_timelion.devdocs.json'; diff --git a/api_docs/vis_type_timeseries.mdx b/api_docs/vis_type_timeseries.mdx index 41af4393202f3..e3320f2b250db 100644 --- a/api_docs/vis_type_timeseries.mdx +++ b/api_docs/vis_type_timeseries.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/visTypeTimeseries title: "visTypeTimeseries" image: https://source.unsplash.com/400x175/?github description: API docs for the visTypeTimeseries plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'visTypeTimeseries'] --- import visTypeTimeseriesObj from './vis_type_timeseries.devdocs.json'; diff --git a/api_docs/vis_type_vega.mdx b/api_docs/vis_type_vega.mdx index 028196305e476..1388f2f33ce37 100644 --- a/api_docs/vis_type_vega.mdx +++ b/api_docs/vis_type_vega.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/visTypeVega title: "visTypeVega" image: https://source.unsplash.com/400x175/?github description: API docs for the visTypeVega plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'visTypeVega'] --- import visTypeVegaObj from './vis_type_vega.devdocs.json'; diff --git a/api_docs/vis_type_vislib.mdx b/api_docs/vis_type_vislib.mdx index 8aa524f45a34d..7891f148e69ac 100644 --- a/api_docs/vis_type_vislib.mdx +++ b/api_docs/vis_type_vislib.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/visTypeVislib title: "visTypeVislib" image: https://source.unsplash.com/400x175/?github description: API docs for the visTypeVislib plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'visTypeVislib'] --- import visTypeVislibObj from './vis_type_vislib.devdocs.json'; diff --git a/api_docs/vis_type_xy.mdx b/api_docs/vis_type_xy.mdx index f78f3ffba5110..4d6d3b014583b 100644 --- a/api_docs/vis_type_xy.mdx +++ b/api_docs/vis_type_xy.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/visTypeXy title: "visTypeXy" image: https://source.unsplash.com/400x175/?github description: API docs for the visTypeXy plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'visTypeXy'] --- import visTypeXyObj from './vis_type_xy.devdocs.json'; diff --git a/api_docs/visualizations.mdx b/api_docs/visualizations.mdx index 2b9f757bc7709..75443e2d7e90b 100644 --- a/api_docs/visualizations.mdx +++ b/api_docs/visualizations.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/visualizations title: "visualizations" image: https://source.unsplash.com/400x175/?github description: API docs for the visualizations plugin -date: 2024-07-15 +date: 2024-07-16 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'visualizations'] --- import visualizationsObj from './visualizations.devdocs.json'; diff --git a/docs/developer/advanced/upgrading-nodejs.asciidoc b/docs/developer/advanced/upgrading-nodejs.asciidoc index bd9b0ee23ac89..566bfd2ea5dd2 100644 --- a/docs/developer/advanced/upgrading-nodejs.asciidoc +++ b/docs/developer/advanced/upgrading-nodejs.asciidoc @@ -19,7 +19,7 @@ These files must be updated when upgrading Node.js: - {kib-repo}blob/{branch}/WORKSPACE.bazel[`WORKSPACE.bazel`] - The version is specified in the `node_version` property. Besides this property, the list of files under `node_repositories` must be updated along with their respective SHA256 hashes. These can be found in the `SHASUMS256.txt` file inside the public `kibana-custom-node-artifacts` GCP bucket. - Example for Node.js v20.13.1: https://storage.googleapis.com/kibana-custom-node-artifacts/node-glibc-217/dist/v20.13.1/SHASUMS256.txt[kibana-custom-node-artifacts/node-glibc-217/dist/v20.13.1/SHASUMS256.txt] + Example for Node.js v20.15.1: https://storage.googleapis.com/kibana-custom-node-artifacts/node-glibc-217/dist/v20.15.1/SHASUMS256.txt[kibana-custom-node-artifacts/node-glibc-217/dist/v20.15.1/SHASUMS256.txt] See PR {kib-repo}pull/128123[#128123] for an example of how the Node.js version has been upgraded previously. @@ -43,7 +43,7 @@ The only difference between the offical Node.js build and our custom build, is t ==== How to start a new build To generate a new custom Node.js build, https://buildkite.com/elastic/kibana-custom-node-dot-js-builds#new[start a new build] on our dedicated Buildkite pipeline (requires Elastic employee permissions). -Give it a clear name (e.g. `Node 20.13.1`) and remember so set the custom `OVERRIDE_TARGET_VERSION` environment variable to the desired Node.js version - e.g. `OVERRIDE_TARGET_VERSION=20.13.1`. +Give it a clear name (e.g. `Node 20.15.1`) and remember so set the custom `OVERRIDE_TARGET_VERSION` environment variable to the desired Node.js version - e.g. `OVERRIDE_TARGET_VERSION=20.15.1`. You find the "Environment Variables" field by expanding "Options >" in the "New Build" dialog. === Backporting diff --git a/docs/playground/index.asciidoc b/docs/playground/index.asciidoc index 426aa181fe0e6..a21728942e80e 100644 --- a/docs/playground/index.asciidoc +++ b/docs/playground/index.asciidoc @@ -63,10 +63,9 @@ To use {x}, you'll need the following: | *Amazon Bedrock* a| -* Anthropic: Claude 3 Sonnet +* Anthropic: Claude 3.5 Sonnet * Anthropic: Claude 3 Haiku a| -Does not currently support streaming. | *OpenAI* a| @@ -80,6 +79,13 @@ a| * GPT-3 turbo * GPT-4 turbo a| +Buffers responses in large chunks + +| *Google* +a| +* Google Gemini 1.5 Pro +* Google Gemini 1.5 Flash +a| |=== @@ -200,5 +206,4 @@ Once you've got {x} up and running, and you've tested out the chat interface, yo include::playground-context.asciidoc[] include::playground-query.asciidoc[] -include::playground-troubleshooting.asciidoc[] - +include::playground-troubleshooting.asciidoc[] \ No newline at end of file diff --git a/examples/embeddable_examples/public/react_embeddables/saved_book/create_saved_book_action.tsx b/examples/embeddable_examples/public/react_embeddables/saved_book/create_saved_book_action.tsx index eaaa607f76001..6089be2fefeab 100644 --- a/examples/embeddable_examples/public/react_embeddables/saved_book/create_saved_book_action.tsx +++ b/examples/embeddable_examples/public/react_embeddables/saved_book/create_saved_book_action.tsx @@ -21,11 +21,7 @@ import { import { ADD_SAVED_BOOK_ACTION_ID, SAVED_BOOK_ID } from './constants'; import { openSavedBookEditor } from './saved_book_editor'; import { saveBookAttributes } from './saved_book_library'; -import { - BookByReferenceSerializedState, - BookByValueSerializedState, - BookSerializedState, -} from './types'; +import { BookRuntimeState } from './types'; export const registerCreateSavedBookAction = (uiActions: UiActionsPublicStart, core: CoreStart) => { uiActions.registerAction({ @@ -43,21 +39,17 @@ export const registerCreateSavedBookAction = (uiActions: UiActionsPublicStart, c parentApi: embeddable, }); - const initialState: BookSerializedState = await (async () => { + const initialState: BookRuntimeState = await (async () => { + const bookAttributes = serializeBookAttributes(newPanelStateManager); // if we're adding this to the library, we only need to return the by reference state. if (addToLibrary) { - const savedBookId = await saveBookAttributes( - undefined, - serializeBookAttributes(newPanelStateManager) - ); - return { savedBookId } as BookByReferenceSerializedState; + const savedBookId = await saveBookAttributes(undefined, bookAttributes); + return { savedBookId, ...bookAttributes }; } - return { - attributes: serializeBookAttributes(newPanelStateManager), - } as BookByValueSerializedState; + return bookAttributes; })(); - embeddable.addNewPanel({ + embeddable.addNewPanel({ panelType: SAVED_BOOK_ID, initialState, }); diff --git a/kbn_pm/src/lib/bazel.mjs b/kbn_pm/src/lib/bazel.mjs index 022447ded129c..481a0fd66aa57 100644 --- a/kbn_pm/src/lib/bazel.mjs +++ b/kbn_pm/src/lib/bazel.mjs @@ -149,10 +149,6 @@ export async function installYarnDeps(log, opts = undefined) { await runBazel(log, ['run', '@nodejs//:yarn'], { offline: opts?.offline, quiet: opts?.quiet, - env: { - RE2_DOWNLOAD_MIRROR: - 'https://us-central1-elastic-kibana-184716.cloudfunctions.net/kibana-ci-proxy-cache/node-re2', - }, }); log.success('yarn deps installed'); diff --git a/oas_docs/bundle.json b/oas_docs/bundle.json index 1dfcdd50639b3..5ccacb4c8acfb 100644 --- a/oas_docs/bundle.json +++ b/oas_docs/bundle.json @@ -12,33 +12,14 @@ "additionalProperties": false, "properties": { "level": { - "anyOf": [ - { - "enum": [ - "available" - ], - "type": "string" - }, - { - "enum": [ - "degraded" - ], - "type": "string" - }, - { - "enum": [ - "unavailable" - ], - "type": "string" - }, - { - "enum": [ - "critical" - ], - "type": "string" - } + "description": "Service status levels as human and machine readable values.", + "enum": [ + "available", + "degraded", + "unavailable", + "critical" ], - "description": "Service status levels as human and machine readable values." + "type": "string" } }, "required": [ @@ -129,33 +110,14 @@ "type": "string" }, "level": { - "anyOf": [ - { - "enum": [ - "available" - ], - "type": "string" - }, - { - "enum": [ - "degraded" - ], - "type": "string" - }, - { - "enum": [ - "unavailable" - ], - "type": "string" - }, - { - "enum": [ - "critical" - ], - "type": "string" - } + "description": "Service status levels as human and machine readable values.", + "enum": [ + "available", + "degraded", + "unavailable", + "critical" ], - "description": "Service status levels as human and machine readable values." + "type": "string" }, "meta": { "additionalProperties": {}, @@ -186,33 +148,14 @@ "type": "string" }, "level": { - "anyOf": [ - { - "enum": [ - "available" - ], - "type": "string" - }, - { - "enum": [ - "degraded" - ], - "type": "string" - }, - { - "enum": [ - "unavailable" - ], - "type": "string" - }, - { - "enum": [ - "critical" - ], - "type": "string" - } + "description": "Service status levels as human and machine readable values.", + "enum": [ + "available", + "degraded", + "unavailable", + "critical" ], - "description": "Service status levels as human and machine readable values." + "type": "string" }, "meta": { "additionalProperties": {}, @@ -250,33 +193,14 @@ "type": "string" }, "level": { - "anyOf": [ - { - "enum": [ - "available" - ], - "type": "string" - }, - { - "enum": [ - "degraded" - ], - "type": "string" - }, - { - "enum": [ - "unavailable" - ], - "type": "string" - }, - { - "enum": [ - "critical" - ], - "type": "string" - } + "description": "Service status levels as human and machine readable values.", + "enum": [ + "available", + "degraded", + "unavailable", + "critical" ], - "description": "Service status levels as human and machine readable values." + "type": "string" }, "meta": { "additionalProperties": {}, @@ -308,33 +232,14 @@ "type": "string" }, "level": { - "anyOf": [ - { - "enum": [ - "available" - ], - "type": "string" - }, - { - "enum": [ - "degraded" - ], - "type": "string" - }, - { - "enum": [ - "unavailable" - ], - "type": "string" - }, - { - "enum": [ - "critical" - ], - "type": "string" - } + "description": "Service status levels as human and machine readable values.", + "enum": [ + "available", + "degraded", + "unavailable", + "critical" ], - "description": "Service status levels as human and machine readable values." + "type": "string" }, "meta": { "additionalProperties": {}, @@ -376,21 +281,12 @@ "type": "string" }, "build_flavor": { - "anyOf": [ - { - "enum": [ - "serverless" - ], - "type": "string" - }, - { - "enum": [ - "traditional" - ], - "type": "string" - } + "description": "The build flavour determines configuration and behavior of Kibana. On premise users will almost always run the \"traditional\" flavour, while other flavours are reserved for Elastic-specific use cases.", + "enum": [ + "serverless", + "traditional" ], - "description": "The build flavour determines configuration and behavior of Kibana. On premise users will almost always run the \"traditional\" flavour, while other flavours are reserved for Elastic-specific use cases." + "type": "string" }, "build_hash": { "description": "A unique hash value representing the git commit of this Kibana build.", diff --git a/oas_docs/bundle.serverless.json b/oas_docs/bundle.serverless.json index 1dfcdd50639b3..5ccacb4c8acfb 100644 --- a/oas_docs/bundle.serverless.json +++ b/oas_docs/bundle.serverless.json @@ -12,33 +12,14 @@ "additionalProperties": false, "properties": { "level": { - "anyOf": [ - { - "enum": [ - "available" - ], - "type": "string" - }, - { - "enum": [ - "degraded" - ], - "type": "string" - }, - { - "enum": [ - "unavailable" - ], - "type": "string" - }, - { - "enum": [ - "critical" - ], - "type": "string" - } + "description": "Service status levels as human and machine readable values.", + "enum": [ + "available", + "degraded", + "unavailable", + "critical" ], - "description": "Service status levels as human and machine readable values." + "type": "string" } }, "required": [ @@ -129,33 +110,14 @@ "type": "string" }, "level": { - "anyOf": [ - { - "enum": [ - "available" - ], - "type": "string" - }, - { - "enum": [ - "degraded" - ], - "type": "string" - }, - { - "enum": [ - "unavailable" - ], - "type": "string" - }, - { - "enum": [ - "critical" - ], - "type": "string" - } + "description": "Service status levels as human and machine readable values.", + "enum": [ + "available", + "degraded", + "unavailable", + "critical" ], - "description": "Service status levels as human and machine readable values." + "type": "string" }, "meta": { "additionalProperties": {}, @@ -186,33 +148,14 @@ "type": "string" }, "level": { - "anyOf": [ - { - "enum": [ - "available" - ], - "type": "string" - }, - { - "enum": [ - "degraded" - ], - "type": "string" - }, - { - "enum": [ - "unavailable" - ], - "type": "string" - }, - { - "enum": [ - "critical" - ], - "type": "string" - } + "description": "Service status levels as human and machine readable values.", + "enum": [ + "available", + "degraded", + "unavailable", + "critical" ], - "description": "Service status levels as human and machine readable values." + "type": "string" }, "meta": { "additionalProperties": {}, @@ -250,33 +193,14 @@ "type": "string" }, "level": { - "anyOf": [ - { - "enum": [ - "available" - ], - "type": "string" - }, - { - "enum": [ - "degraded" - ], - "type": "string" - }, - { - "enum": [ - "unavailable" - ], - "type": "string" - }, - { - "enum": [ - "critical" - ], - "type": "string" - } + "description": "Service status levels as human and machine readable values.", + "enum": [ + "available", + "degraded", + "unavailable", + "critical" ], - "description": "Service status levels as human and machine readable values." + "type": "string" }, "meta": { "additionalProperties": {}, @@ -308,33 +232,14 @@ "type": "string" }, "level": { - "anyOf": [ - { - "enum": [ - "available" - ], - "type": "string" - }, - { - "enum": [ - "degraded" - ], - "type": "string" - }, - { - "enum": [ - "unavailable" - ], - "type": "string" - }, - { - "enum": [ - "critical" - ], - "type": "string" - } + "description": "Service status levels as human and machine readable values.", + "enum": [ + "available", + "degraded", + "unavailable", + "critical" ], - "description": "Service status levels as human and machine readable values." + "type": "string" }, "meta": { "additionalProperties": {}, @@ -376,21 +281,12 @@ "type": "string" }, "build_flavor": { - "anyOf": [ - { - "enum": [ - "serverless" - ], - "type": "string" - }, - { - "enum": [ - "traditional" - ], - "type": "string" - } + "description": "The build flavour determines configuration and behavior of Kibana. On premise users will almost always run the \"traditional\" flavour, while other flavours are reserved for Elastic-specific use cases.", + "enum": [ + "serverless", + "traditional" ], - "description": "The build flavour determines configuration and behavior of Kibana. On premise users will almost always run the \"traditional\" flavour, while other flavours are reserved for Elastic-specific use cases." + "type": "string" }, "build_hash": { "description": "A unique hash value representing the git commit of this Kibana build.", diff --git a/package.json b/package.json index edd9325f9d6a3..2467646616f9d 100644 --- a/package.json +++ b/package.json @@ -74,7 +74,7 @@ "url": "https://github.com/elastic/kibana.git" }, "engines": { - "node": "20.13.1", + "node": "20.15.1", "yarn": "^1.22.19" }, "resolutions": { @@ -1126,7 +1126,7 @@ "query-string": "^6.13.2", "rbush": "^3.0.1", "re-resizable": "^6.9.9", - "re2": "1.20.9", + "re2js": "0.4.1", "react": "^17.0.2", "react-ace": "^7.0.5", "react-diff-view": "^3.2.0", diff --git a/packages/kbn-check-mappings-update-cli/current_fields.json b/packages/kbn-check-mappings-update-cli/current_fields.json index 59cd87288e8ec..31a4b111b69d0 100644 --- a/packages/kbn-check-mappings-update-cli/current_fields.json +++ b/packages/kbn-check-mappings-update-cli/current_fields.json @@ -480,6 +480,7 @@ "status", "uuid" ], + "fleet-space-settings": [], "fleet-uninstall-tokens": [ "policy_id", "token_plain" diff --git a/packages/kbn-check-mappings-update-cli/current_mappings.json b/packages/kbn-check-mappings-update-cli/current_mappings.json index 47602ca181b5e..6a9e57fa1a05b 100644 --- a/packages/kbn-check-mappings-update-cli/current_mappings.json +++ b/packages/kbn-check-mappings-update-cli/current_mappings.json @@ -1612,6 +1612,10 @@ } } }, + "fleet-space-settings": { + "dynamic": false, + "properties": {} + }, "fleet-uninstall-tokens": { "dynamic": false, "properties": { diff --git a/packages/kbn-doc-links/src/get_doc_links.ts b/packages/kbn-doc-links/src/get_doc_links.ts index 9b38a716a714c..d74c28bbdcbc4 100644 --- a/packages/kbn-doc-links/src/get_doc_links.ts +++ b/packages/kbn-doc-links/src/get_doc_links.ts @@ -375,6 +375,7 @@ export const getDocLinks = ({ kibanaBranch, buildFlavor }: GetDocLinkOptions): D ilm: `${ELASTICSEARCH_DOCS}index-lifecycle-management.html`, ilmForceMerge: `${ELASTICSEARCH_DOCS}ilm-forcemerge.html`, ilmFreeze: `${ELASTICSEARCH_DOCS}ilm-freeze.html`, + ilmDelete: `${ELASTICSEARCH_DOCS}ilm-delete.html`, ilmPhaseTransitions: `${ELASTICSEARCH_DOCS}ilm-index-lifecycle.html#ilm-phase-transitions`, ilmReadOnly: `${ELASTICSEARCH_DOCS}ilm-readonly.html`, ilmRollover: `${ELASTICSEARCH_DOCS}ilm-rollover.html`, diff --git a/packages/kbn-es/index.ts b/packages/kbn-es/index.ts index b771ff6867fce..2f241828f400d 100644 --- a/packages/kbn-es/index.ts +++ b/packages/kbn-es/index.ts @@ -18,6 +18,7 @@ export { maybeCreateDockerNetwork, type ServerlessProjectType, readRolesFromResource, + readRolesDescriptorsFromResource, } from './src/utils'; export type { ArtifactLicense } from './src/artifact'; export { SERVERLESS_ROLES_ROOT_PATH } from './src/paths'; diff --git a/packages/kbn-es/src/utils/read_roles_from_resource.ts b/packages/kbn-es/src/utils/read_roles_from_resource.ts index 27600fd8b63eb..c52e38308f54c 100644 --- a/packages/kbn-es/src/utils/read_roles_from_resource.ts +++ b/packages/kbn-es/src/utils/read_roles_from_resource.ts @@ -20,3 +20,15 @@ export const readRolesFromResource = (resourcePath: string) => { throw new Error(`expected ${resourcePath} file to parse to an object`); } }; + +export const readRolesDescriptorsFromResource = (resourcePath: string) => { + if (!fs.existsSync(resourcePath) || extname(resourcePath) !== '.yml') { + throw new Error(`${resourcePath} does not exist or not a yml file`); + } + const data = loadYaml(fs.readFileSync(resourcePath, 'utf8')); + if (typeof data === 'object' && data !== null) { + return data; + } else { + throw new Error(`expected ${resourcePath} file to parse to an object`); + } +}; diff --git a/packages/kbn-esql-validation-autocomplete/src/autocomplete/autocomplete.test.ts b/packages/kbn-esql-validation-autocomplete/src/autocomplete/autocomplete.test.ts index 2f87d392a702e..495452bed4b08 100644 --- a/packages/kbn-esql-validation-autocomplete/src/autocomplete/autocomplete.test.ts +++ b/packages/kbn-esql-validation-autocomplete/src/autocomplete/autocomplete.test.ts @@ -708,8 +708,8 @@ describe('autocomplete', () => { testSuggestions( 'from a | stats a=min()', [ - ...getFieldNamesByType(['number', 'date']), - ...getFunctionSignaturesByReturnType('stats', ['number', 'date'], { + ...getFieldNamesByType(['number', 'date', 'boolean']), + ...getFunctionSignaturesByReturnType('stats', ['number', 'date', 'boolean'], { evalMath: true, }), ], @@ -731,8 +731,8 @@ describe('autocomplete', () => { testSuggestions( 'from a | stats a=min(b), b=max()', [ - ...getFieldNamesByType(['number', 'date']), - ...getFunctionSignaturesByReturnType('stats', ['number', 'date'], { + ...getFieldNamesByType(['number', 'date', 'boolean']), + ...getFunctionSignaturesByReturnType('stats', ['number', 'date', 'boolean'], { evalMath: true, }), ], diff --git a/packages/kbn-esql-validation-autocomplete/src/autocomplete/autocomplete.ts b/packages/kbn-esql-validation-autocomplete/src/autocomplete/autocomplete.ts index 03504552370b6..abc750837e16b 100644 --- a/packages/kbn-esql-validation-autocomplete/src/autocomplete/autocomplete.ts +++ b/packages/kbn-esql-validation-autocomplete/src/autocomplete/autocomplete.ts @@ -70,6 +70,7 @@ import { buildOptionDefinition, buildSettingDefinitions, buildValueDefinitions, + buildFieldsDefinitionsWithMetadata, } from './factories'; import { EDITOR_MARKER, SINGLE_BACKTICK, METADATA_FIELDS } from '../shared/constants'; import { getAstContext, removeMarkerArgFromArgsList } from '../shared/context'; @@ -292,7 +293,7 @@ function getFieldsByTypeRetriever(queryString: string, resourceRetriever?: ESQLC return { getFieldsByType: async (expectedType: string | string[] = 'any', ignored: string[] = []) => { const fields = await helpers.getFieldsByType(expectedType, ignored); - return buildFieldsDefinitions(fields); + return buildFieldsDefinitionsWithMetadata(fields); }, getFieldsMap: helpers.getFieldsMap, }; diff --git a/packages/kbn-esql-validation-autocomplete/src/autocomplete/factories.ts b/packages/kbn-esql-validation-autocomplete/src/autocomplete/factories.ts index df1da9d092d73..b80e30f9d8fb0 100644 --- a/packages/kbn-esql-validation-autocomplete/src/autocomplete/factories.ts +++ b/packages/kbn-esql-validation-autocomplete/src/autocomplete/factories.ts @@ -22,6 +22,7 @@ import { import { shouldBeQuotedSource, getCommandDefinition, shouldBeQuotedText } from '../shared/helpers'; import { buildDocumentation, buildFunctionDocumentation } from './documentation_util'; import { DOUBLE_BACKTICK, SINGLE_TICK_REGEX } from '../shared/constants'; +import type { ESQLRealField } from '../validation/types'; const allFunctions = statsAggregationFunctionDefinitions .concat(evalFunctionDefinitions) @@ -125,8 +126,34 @@ export function getSuggestionCommandDefinition( }; } -export const buildFieldsDefinitions = (fields: string[]): SuggestionRawDefinition[] => - fields.map((label) => ({ +export const buildFieldsDefinitionsWithMetadata = ( + fields: ESQLRealField[] +): SuggestionRawDefinition[] => { + return fields.map((field) => { + const description = field.metadata?.description; + + const titleCaseType = field.type.charAt(0).toUpperCase() + field.type.slice(1); + return { + label: field.name, + text: getSafeInsertText(field.name), + kind: 'Variable', + detail: titleCaseType, + documentation: description + ? { + value: ` +--- + +${description}`, + } + : undefined, + // If there is a description, it is a field from ECS, so it should be sorted to the top + sortText: description ? '1D' : 'D', + }; + }); +}; + +export const buildFieldsDefinitions = (fields: string[]): SuggestionRawDefinition[] => { + return fields.map((label) => ({ label, text: getSafeInsertText(label), kind: 'Variable', @@ -135,7 +162,7 @@ export const buildFieldsDefinitions = (fields: string[]): SuggestionRawDefinitio }), sortText: 'D', })); - +}; export const buildVariablesDefinitions = (variables: string[]): SuggestionRawDefinition[] => variables.map((label) => ({ label, diff --git a/packages/kbn-esql-validation-autocomplete/src/code_actions/actions.ts b/packages/kbn-esql-validation-autocomplete/src/code_actions/actions.ts index f6469a736a0e8..509b6877b2c8f 100644 --- a/packages/kbn-esql-validation-autocomplete/src/code_actions/actions.ts +++ b/packages/kbn-esql-validation-autocomplete/src/code_actions/actions.ts @@ -112,7 +112,7 @@ async function getSpellingActionForColumns( } // @TODO add variables support const possibleFields = await getSpellingPossibilities(async () => { - const availableFields = await getFieldsByType('any'); + const availableFields = (await getFieldsByType('any')).map(({ name }) => name); const enrichPolicies = ast.filter(({ name }) => name === 'enrich'); if (enrichPolicies.length) { const enrichPolicyNames = enrichPolicies.flatMap(({ args }) => @@ -209,7 +209,7 @@ async function getQuotableActionForColumns( ) ); } else { - const availableFields = new Set(await getFieldsByType('any')); + const availableFields = new Set((await getFieldsByType('any')).map(({ name }) => name)); if (availableFields.has(errorText) || availableFields.has(solution)) { actions.push( createAction( diff --git a/packages/kbn-esql-validation-autocomplete/src/code_actions/types.ts b/packages/kbn-esql-validation-autocomplete/src/code_actions/types.ts index 2cd9264001f3c..f3540ca675918 100644 --- a/packages/kbn-esql-validation-autocomplete/src/code_actions/types.ts +++ b/packages/kbn-esql-validation-autocomplete/src/code_actions/types.ts @@ -7,9 +7,10 @@ */ import type { EditorError } from '../types'; +import type { ESQLRealField } from '../validation/types'; type GetSourceFn = () => Promise; -type GetFieldsByTypeFn = (type: string | string[], ignored?: string[]) => Promise; +type GetFieldsByTypeFn = (type: string | string[], ignored?: string[]) => Promise; type GetPoliciesFn = () => Promise; type GetPolicyFieldsFn = (name: string) => Promise; diff --git a/packages/kbn-esql-validation-autocomplete/src/definitions/aggs.ts b/packages/kbn-esql-validation-autocomplete/src/definitions/aggs.ts index c1b7b5b00b58f..69f8f76807daf 100644 --- a/packages/kbn-esql-validation-autocomplete/src/definitions/aggs.ts +++ b/packages/kbn-esql-validation-autocomplete/src/definitions/aggs.ts @@ -108,6 +108,10 @@ export const statsAggregationFunctionDefinitions: FunctionDefinition[] = [ params: [{ name: 'column', type: 'date', noNestingFunctions: true }], returnType: 'number', }, + { + params: [{ name: 'column', type: 'boolean', noNestingFunctions: true }], + returnType: 'boolean', + }, ], examples: [`from index | stats result = max(field)`, `from index | stats max(field)`], }, @@ -127,6 +131,10 @@ export const statsAggregationFunctionDefinitions: FunctionDefinition[] = [ params: [{ name: 'column', type: 'date', noNestingFunctions: true }], returnType: 'number', }, + { + params: [{ name: 'column', type: 'boolean', noNestingFunctions: true }], + returnType: 'boolean', + }, ], examples: [`from index | stats result = min(field)`, `from index | stats min(field)`], }, diff --git a/packages/kbn-esql-validation-autocomplete/src/shared/resources_helpers.ts b/packages/kbn-esql-validation-autocomplete/src/shared/resources_helpers.ts index 8433b95e99b39..3c60e6d4dbed1 100644 --- a/packages/kbn-esql-validation-autocomplete/src/shared/resources_helpers.ts +++ b/packages/kbn-esql-validation-autocomplete/src/shared/resources_helpers.ts @@ -26,18 +26,17 @@ export function getFieldsByTypeHelper(queryText: string, resourceRetriever?: ESQ } }; return { - getFieldsByType: async (expectedType: string | string[] = 'any', ignored: string[] = []) => { + getFieldsByType: async ( + expectedType: string | string[] = 'any', + ignored: string[] = [] + ): Promise => { const types = Array.isArray(expectedType) ? expectedType : [expectedType]; await getFields(); return ( - Array.from(cacheFields.values()) - ?.filter(({ name, type }) => { - const ts = Array.isArray(type) ? type : [type]; - return ( - !ignored.includes(name) && ts.some((t) => types[0] === 'any' || types.includes(t)) - ); - }) - .map(({ name }) => name) || [] + Array.from(cacheFields.values())?.filter(({ name, type }) => { + const ts = Array.isArray(type) ? type : [type]; + return !ignored.includes(name) && ts.some((t) => types[0] === 'any' || types.includes(t)); + }) || [] ); }, getFieldsMap: async () => { diff --git a/packages/kbn-esql-validation-autocomplete/src/shared/types.ts b/packages/kbn-esql-validation-autocomplete/src/shared/types.ts index d2ce2e4b104df..08e1cdccc37a3 100644 --- a/packages/kbn-esql-validation-autocomplete/src/shared/types.ts +++ b/packages/kbn-esql-validation-autocomplete/src/shared/types.ts @@ -6,6 +6,8 @@ * Side Public License, v 1. */ +import type { ESQLRealField } from '../validation/types'; + /** @internal **/ type CallbackFn = (ctx?: Options) => Result[] | Promise; @@ -20,7 +22,7 @@ export interface ESQLCallbacks { dataStreams?: Array<{ name: string; title?: string }>; } >; - getFieldsFor?: CallbackFn<{ query: string }, { name: string; type: string }>; + getFieldsFor?: CallbackFn<{ query: string }, ESQLRealField>; getPolicies?: CallbackFn< {}, { name: string; sourceIndices: string[]; matchField: string; enrichFields: string[] } diff --git a/packages/kbn-esql-validation-autocomplete/src/validation/esql_validation_meta_tests.json b/packages/kbn-esql-validation-autocomplete/src/validation/esql_validation_meta_tests.json index 7f70b266458f7..a2cc5bf55ff35 100644 --- a/packages/kbn-esql-validation-autocomplete/src/validation/esql_validation_meta_tests.json +++ b/packages/kbn-esql-validation-autocomplete/src/validation/esql_validation_meta_tests.json @@ -24122,9 +24122,7 @@ }, { "query": "from a_index | stats max(booleanField)", - "error": [ - "Argument of [max] must be [number], found value [booleanField] type [boolean]" - ], + "error": [], "warning": [] }, { @@ -24149,6 +24147,60 @@ ], "warning": [] }, + { + "query": "from a_index | stats max(cartesianPointField)", + "error": [ + "Argument of [max] must be [number], found value [cartesianPointField] type [cartesian_point]" + ], + "warning": [] + }, + { + "query": "from a_index | stats var = max(booleanField)", + "error": [], + "warning": [] + }, + { + "query": "from a_index | where max(booleanField)", + "error": [ + "WHERE does not support function max" + ], + "warning": [] + }, + { + "query": "from a_index | where max(booleanField) > 0", + "error": [ + "WHERE does not support function max" + ], + "warning": [] + }, + { + "query": "from a_index | eval var = max(booleanField)", + "error": [ + "EVAL does not support function max" + ], + "warning": [] + }, + { + "query": "from a_index | eval var = max(booleanField) > 0", + "error": [ + "EVAL does not support function max" + ], + "warning": [] + }, + { + "query": "from a_index | eval max(booleanField)", + "error": [ + "EVAL does not support function max" + ], + "warning": [] + }, + { + "query": "from a_index | eval max(booleanField) > 0", + "error": [ + "EVAL does not support function max" + ], + "warning": [] + }, { "query": "from a_index | stats var = min(numberField)", "error": [], @@ -24395,9 +24447,7 @@ }, { "query": "from a_index | stats min(booleanField)", - "error": [ - "Argument of [min] must be [number], found value [booleanField] type [boolean]" - ], + "error": [], "warning": [] }, { @@ -24422,6 +24472,60 @@ ], "warning": [] }, + { + "query": "from a_index | stats min(cartesianPointField)", + "error": [ + "Argument of [min] must be [number], found value [cartesianPointField] type [cartesian_point]" + ], + "warning": [] + }, + { + "query": "from a_index | stats var = min(booleanField)", + "error": [], + "warning": [] + }, + { + "query": "from a_index | where min(booleanField)", + "error": [ + "WHERE does not support function min" + ], + "warning": [] + }, + { + "query": "from a_index | where min(booleanField) > 0", + "error": [ + "WHERE does not support function min" + ], + "warning": [] + }, + { + "query": "from a_index | eval var = min(booleanField)", + "error": [ + "EVAL does not support function min" + ], + "warning": [] + }, + { + "query": "from a_index | eval var = min(booleanField) > 0", + "error": [ + "EVAL does not support function min" + ], + "warning": [] + }, + { + "query": "from a_index | eval min(booleanField)", + "error": [ + "EVAL does not support function min" + ], + "warning": [] + }, + { + "query": "from a_index | eval min(booleanField) > 0", + "error": [ + "EVAL does not support function min" + ], + "warning": [] + }, { "query": "from a_index | stats var = count(stringField)", "error": [], diff --git a/packages/kbn-esql-validation-autocomplete/src/validation/types.ts b/packages/kbn-esql-validation-autocomplete/src/validation/types.ts index 4d9732c0b5b22..41a0c9b2dfd6f 100644 --- a/packages/kbn-esql-validation-autocomplete/src/validation/types.ts +++ b/packages/kbn-esql-validation-autocomplete/src/validation/types.ts @@ -18,6 +18,10 @@ export interface ESQLVariable { export interface ESQLRealField { name: string; type: string; + metadata?: { + description?: string; + type?: string; + }; } export interface ESQLPolicy { diff --git a/packages/kbn-esql-validation-autocomplete/src/validation/validation.test.ts b/packages/kbn-esql-validation-autocomplete/src/validation/validation.test.ts index 062e0b9ae78f1..a555fb1b83598 100644 --- a/packages/kbn-esql-validation-autocomplete/src/validation/validation.test.ts +++ b/packages/kbn-esql-validation-autocomplete/src/validation/validation.test.ts @@ -9165,15 +9165,43 @@ describe('validation logic', () => { 'EVAL does not support function max', ]); - testErrorsAndWarnings('from a_index | stats max(booleanField)', [ - 'Argument of [max] must be [number], found value [booleanField] type [boolean]', - ]); + testErrorsAndWarnings('from a_index | stats max(booleanField)', []); testErrorsAndWarnings('from a_index | stats max(null)', []); testErrorsAndWarnings('row nullVar = null | stats max(nullVar)', []); testErrorsAndWarnings('from a_index | stats max("2022")', []); testErrorsAndWarnings('from a_index | stats max(concat("20", "22"))', [ 'Argument of [max] must be [number], found value [concat("20", "22")] type [string]', ]); + + testErrorsAndWarnings('from a_index | stats max(cartesianPointField)', [ + 'Argument of [max] must be [number], found value [cartesianPointField] type [cartesian_point]', + ]); + + testErrorsAndWarnings('from a_index | stats var = max(booleanField)', []); + + testErrorsAndWarnings('from a_index | where max(booleanField)', [ + 'WHERE does not support function max', + ]); + + testErrorsAndWarnings('from a_index | where max(booleanField) > 0', [ + 'WHERE does not support function max', + ]); + + testErrorsAndWarnings('from a_index | eval var = max(booleanField)', [ + 'EVAL does not support function max', + ]); + + testErrorsAndWarnings('from a_index | eval var = max(booleanField) > 0', [ + 'EVAL does not support function max', + ]); + + testErrorsAndWarnings('from a_index | eval max(booleanField)', [ + 'EVAL does not support function max', + ]); + + testErrorsAndWarnings('from a_index | eval max(booleanField) > 0', [ + 'EVAL does not support function max', + ]); }); describe('min', () => { @@ -9309,15 +9337,43 @@ describe('validation logic', () => { 'EVAL does not support function min', ]); - testErrorsAndWarnings('from a_index | stats min(booleanField)', [ - 'Argument of [min] must be [number], found value [booleanField] type [boolean]', - ]); + testErrorsAndWarnings('from a_index | stats min(booleanField)', []); testErrorsAndWarnings('from a_index | stats min(null)', []); testErrorsAndWarnings('row nullVar = null | stats min(nullVar)', []); testErrorsAndWarnings('from a_index | stats min("2022")', []); testErrorsAndWarnings('from a_index | stats min(concat("20", "22"))', [ 'Argument of [min] must be [number], found value [concat("20", "22")] type [string]', ]); + + testErrorsAndWarnings('from a_index | stats min(cartesianPointField)', [ + 'Argument of [min] must be [number], found value [cartesianPointField] type [cartesian_point]', + ]); + + testErrorsAndWarnings('from a_index | stats var = min(booleanField)', []); + + testErrorsAndWarnings('from a_index | where min(booleanField)', [ + 'WHERE does not support function min', + ]); + + testErrorsAndWarnings('from a_index | where min(booleanField) > 0', [ + 'WHERE does not support function min', + ]); + + testErrorsAndWarnings('from a_index | eval var = min(booleanField)', [ + 'EVAL does not support function min', + ]); + + testErrorsAndWarnings('from a_index | eval var = min(booleanField) > 0', [ + 'EVAL does not support function min', + ]); + + testErrorsAndWarnings('from a_index | eval min(booleanField)', [ + 'EVAL does not support function min', + ]); + + testErrorsAndWarnings('from a_index | eval min(booleanField) > 0', [ + 'EVAL does not support function min', + ]); }); describe('count', () => { diff --git a/packages/kbn-event-annotation-common/index.ts b/packages/kbn-event-annotation-common/index.ts index f6df6a02171d1..aab5338c614d4 100644 --- a/packages/kbn-event-annotation-common/index.ts +++ b/packages/kbn-event-annotation-common/index.ts @@ -30,6 +30,7 @@ export { defaultAnnotationColor, defaultAnnotationRangeColor, defaultAnnotationLabel, + defaultRangeAnnotationLabel, getDefaultManualAnnotation, getDefaultQueryAnnotation, createCopiedAnnotation, diff --git a/packages/kbn-event-annotation-common/util.ts b/packages/kbn-event-annotation-common/util.ts index 40c7a07e626c1..34d7a13b4cab3 100644 --- a/packages/kbn-event-annotation-common/util.ts +++ b/packages/kbn-event-annotation-common/util.ts @@ -57,6 +57,13 @@ export const defaultAnnotationLabel = i18n.translate( } ); +export const defaultRangeAnnotationLabel = i18n.translate( + 'eventAnnotationCommon.manualAnnotation.defaultRangeAnnotationLabel', + { + defaultMessage: 'Event range', + } +); + export const getDefaultManualAnnotation = ( id: string, timestamp: string diff --git a/packages/kbn-management/settings/setting_ids/index.ts b/packages/kbn-management/settings/setting_ids/index.ts index 94d56372a17c4..b914451abdb55 100644 --- a/packages/kbn-management/settings/setting_ids/index.ts +++ b/packages/kbn-management/settings/setting_ids/index.ts @@ -141,7 +141,7 @@ export const OBSERVABILITY_APM_ENABLE_SERVICE_INVENTORY_TABLE_SEARCH_BAR = 'observability:apmEnableServiceInventoryTableSearchBar'; export const OBSERVABILITY_LOGS_EXPLORER_ALLOWED_DATA_VIEWS_ID = 'observability:logsExplorer:allowedDataViews'; -export const OBSERVABILITY_APM_ENABLE_MULTI_SIGNAL = 'observability:apmEnableMultiSignal'; +export const OBSERVABILITY_ENTITY_CENTRIC_EXPERIENCE = 'observability:entityCentricExperience'; export const OBSERVABILITY_LOGS_DATA_ACCESS_LOG_SOURCES_ID = 'observability:logSources'; // Reporting settings diff --git a/packages/kbn-optimizer/limits.yml b/packages/kbn-optimizer/limits.yml index 3b7828dc7f67d..4ea1c79eaad3a 100644 --- a/packages/kbn-optimizer/limits.yml +++ b/packages/kbn-optimizer/limits.yml @@ -110,7 +110,7 @@ pageLoadAssetSize: navigation: 37269 newsfeed: 42228 noDataPage: 5000 - observability: 76678 + observability: 118191 observabilityAIAssistant: 58230 observabilityAIAssistantApp: 27680 observabilityAiAssistantManagement: 19279 diff --git a/packages/kbn-router-to-openapispec/src/oas_converter/kbn_config_schema/post_process_mutations/index.ts b/packages/kbn-router-to-openapispec/src/oas_converter/kbn_config_schema/post_process_mutations/index.ts index 7d693f085ef17..f1d0c90de1d0f 100644 --- a/packages/kbn-router-to-openapispec/src/oas_converter/kbn_config_schema/post_process_mutations/index.ts +++ b/packages/kbn-router-to-openapispec/src/oas_converter/kbn_config_schema/post_process_mutations/index.ts @@ -60,9 +60,10 @@ const walkSchema = (ctx: IContext, schema: Schema): void => { } else { for (const arrayContainer of arrayContainers) { if (schema[arrayContainer]) { - schema[arrayContainer].forEach((s: OpenAPIV3.SchemaObject, idx: number) => { + schema[arrayContainer].forEach((s: OpenAPIV3.SchemaObject) => { walkSchema(ctx, s); }); + mutations.processEnum(schema); break; } } diff --git a/packages/kbn-router-to-openapispec/src/oas_converter/kbn_config_schema/post_process_mutations/mutations/enum.test.ts b/packages/kbn-router-to-openapispec/src/oas_converter/kbn_config_schema/post_process_mutations/mutations/enum.test.ts new file mode 100644 index 0000000000000..5c783e739d045 --- /dev/null +++ b/packages/kbn-router-to-openapispec/src/oas_converter/kbn_config_schema/post_process_mutations/mutations/enum.test.ts @@ -0,0 +1,117 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. + */ + +import type { OpenAPIV3 } from 'openapi-types'; +import { processEnum } from './enum'; + +describe('processEnum', () => { + it.each([ + { + name: 'when there is no anyOf property does not change input', + input: {} as OpenAPIV3.SchemaObject, + expected: {}, + }, + { + name: 'converts anyOf to enum if all items are enum and of the same type', + input: { + anyOf: [ + { + type: 'string', + enum: ['a', 'b'], + }, + { + type: 'string', + enum: ['c', 'd'], + }, + { + type: 'string', + enum: ['e'], + }, + ], + description: 'description', + } as OpenAPIV3.SchemaObject, + expected: { + type: 'string', + enum: ['a', 'b', 'c', 'd', 'e'], + description: 'description', + }, + }, + { + name: 'does not change input if item types are different', + input: { + anyOf: [ + { + type: 'string', + enum: ['a'], + }, + { + type: 'number', + enum: [1], + }, + ], + } as OpenAPIV3.SchemaObject, + expected: { + anyOf: [ + { + type: 'string', + enum: ['a'], + }, + { + type: 'number', + enum: [1], + }, + ], + }, + }, + { + name: 'if anyOf contains a ref does not change input', + input: { + anyOf: [ + { + $ref: '#/components/schemas/Ref', + }, + { + type: 'string', + enum: ['a'], + }, + ], + } as OpenAPIV3.SchemaObject, + expected: { + anyOf: [ + { + $ref: '#/components/schemas/Ref', + }, + { + type: 'string', + enum: ['a'], + }, + ], + }, + }, + { + name: 'if anyOf contains non-enums does not change input', + input: { + anyOf: [ + { + type: 'object', + }, + ], + } as OpenAPIV3.SchemaObject, + expected: { + anyOf: [ + { + type: 'object', + }, + ], + }, + }, + ])('$name', ({ input, expected }) => { + processEnum(input); + expect(input).toEqual(expected); + }); +}); diff --git a/packages/kbn-router-to-openapispec/src/oas_converter/kbn_config_schema/post_process_mutations/mutations/enum.ts b/packages/kbn-router-to-openapispec/src/oas_converter/kbn_config_schema/post_process_mutations/mutations/enum.ts new file mode 100644 index 0000000000000..7bbb7ae2c26d0 --- /dev/null +++ b/packages/kbn-router-to-openapispec/src/oas_converter/kbn_config_schema/post_process_mutations/mutations/enum.ts @@ -0,0 +1,26 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. + */ + +import type { OpenAPIV3 } from 'openapi-types'; +import { isReferenceObject } from '../../../common'; + +export const processEnum = (schema: OpenAPIV3.SchemaObject) => { + if (!schema.anyOf) return; + const result: unknown[] = []; + let type: OpenAPIV3.SchemaObject['type']; + for (const item of schema.anyOf!) { + if (isReferenceObject(item) || !item.enum || !item.type) return; + if (type && type !== item.type) return; + + type = item.type; + result.push(...item.enum); + } + schema.type = type; + schema.enum = result; + delete schema.anyOf; +}; diff --git a/packages/kbn-router-to-openapispec/src/oas_converter/kbn_config_schema/post_process_mutations/mutations/index.ts b/packages/kbn-router-to-openapispec/src/oas_converter/kbn_config_schema/post_process_mutations/mutations/index.ts index 0dd6cb5dc2f84..e3887717769ac 100644 --- a/packages/kbn-router-to-openapispec/src/oas_converter/kbn_config_schema/post_process_mutations/mutations/index.ts +++ b/packages/kbn-router-to-openapispec/src/oas_converter/kbn_config_schema/post_process_mutations/mutations/index.ts @@ -68,3 +68,5 @@ export const processAnyType = (schema: OpenAPIV3.SchemaObject): void => { }; export { processObject } from './object'; + +export { processEnum } from './enum'; diff --git a/packages/kbn-test/src/auth/session_manager.ts b/packages/kbn-test/src/auth/session_manager.ts index 1783c3f389aa1..40beccdfc3c6c 100644 --- a/packages/kbn-test/src/auth/session_manager.ts +++ b/packages/kbn-test/src/auth/session_manager.ts @@ -146,7 +146,7 @@ export class SamlSessionManager { return { Cookie: `sid=${session.getCookieValue()}` }; } - async getSessionCookieForRole(role: string) { + async getInteractiveUserSessionCookieWithRoleScope(role: string) { const session = await this.getSessionByRole(role); return session.getCookieValue(); } diff --git a/packages/kbn-test/src/auth/sesson_manager.test.ts b/packages/kbn-test/src/auth/sesson_manager.test.ts index df037ebdf04e4..1f04620584507 100644 --- a/packages/kbn-test/src/auth/sesson_manager.test.ts +++ b/packages/kbn-test/src/auth/sesson_manager.test.ts @@ -73,7 +73,9 @@ describe('SamlSessionManager', () => { test(`'getSessionCookieForRole' should return the actual cookie value`, async () => { const samlSessionManager = new SamlSessionManager(samlSessionManagerOptions); - const cookie = await samlSessionManager.getSessionCookieForRole(roleViewer); + const cookie = await samlSessionManager.getInteractiveUserSessionCookieWithRoleScope( + roleViewer + ); expect(cookie).toBe(cookieInstance.value); }); @@ -85,9 +87,9 @@ describe('SamlSessionManager', () => { test(`'getSessionCookieForRole' should call 'createLocalSAMLSession' only once for the same role`, async () => { const samlSessionManager = new SamlSessionManager(samlSessionManagerOptions); - await samlSessionManager.getSessionCookieForRole(roleViewer); - await samlSessionManager.getSessionCookieForRole(roleEditor); - await samlSessionManager.getSessionCookieForRole(roleViewer); + await samlSessionManager.getInteractiveUserSessionCookieWithRoleScope(roleViewer); + await samlSessionManager.getInteractiveUserSessionCookieWithRoleScope(roleEditor); + await samlSessionManager.getInteractiveUserSessionCookieWithRoleScope(roleViewer); expect(createLocalSAMLSessionMock.mock.calls).toHaveLength(2); expect(createCloudSAMLSessionMock.mock.calls).toHaveLength(0); }); @@ -120,9 +122,9 @@ describe('SamlSessionManager', () => { ', ' )}. Update roles resource file in ${SERVERLESS_ROLES_ROOT_PATH} to enable it for testing`; const samlSessionManager = new SamlSessionManager(samlSessionManagerOptions); - await expect(samlSessionManager.getSessionCookieForRole(nonExistingRole)).rejects.toThrow( - expectedErrorMessage - ); + await expect( + samlSessionManager.getInteractiveUserSessionCookieWithRoleScope(nonExistingRole) + ).rejects.toThrow(expectedErrorMessage); await expect(samlSessionManager.getApiCredentialsForRole(nonExistingRole)).rejects.toThrow( expectedErrorMessage ); @@ -148,7 +150,7 @@ describe('SamlSessionManager', () => { log, isCloud, }); - await samlSessionManager.getSessionCookieForRole(nonExistingRole); + await samlSessionManager.getInteractiveUserSessionCookieWithRoleScope(nonExistingRole); await samlSessionManager.getApiCredentialsForRole(nonExistingRole); await samlSessionManager.getUserData(nonExistingRole); expect(createLocalSAMLSessionMock.mock.calls).toHaveLength(1); @@ -198,7 +200,9 @@ describe('SamlSessionManager', () => { log, isCloud, }); - await expect(samlSessionManager.getSessionCookieForRole(roleViewer)).rejects.toThrow( + await expect( + samlSessionManager.getInteractiveUserSessionCookieWithRoleScope(roleViewer) + ).rejects.toThrow( 'SAML Authentication requires TEST_CLOUD_HOST_NAME env variable to be set' ); }); @@ -227,7 +231,9 @@ describe('SamlSessionManager', () => { test(`'getSessionCookieForRole' should return the actual cookie value`, async () => { const samlSessionManager = new SamlSessionManager(samlSessionManagerOptions); createCloudSAMLSessionMock.mockResolvedValue(new Session(cloudCookieInstance, cloudEmail)); - const cookie = await samlSessionManager.getSessionCookieForRole(roleViewer); + const cookie = await samlSessionManager.getInteractiveUserSessionCookieWithRoleScope( + roleViewer + ); expect(cookie).toBe(cloudCookieInstance.value); }); @@ -239,9 +245,9 @@ describe('SamlSessionManager', () => { test(`'getSessionCookieForRole' should call 'createCloudSAMLSession' only once for the same role`, async () => { const samlSessionManager = new SamlSessionManager(samlSessionManagerOptions); - await samlSessionManager.getSessionCookieForRole(roleViewer); - await samlSessionManager.getSessionCookieForRole(roleEditor); - await samlSessionManager.getSessionCookieForRole(roleViewer); + await samlSessionManager.getInteractiveUserSessionCookieWithRoleScope(roleViewer); + await samlSessionManager.getInteractiveUserSessionCookieWithRoleScope(roleEditor); + await samlSessionManager.getInteractiveUserSessionCookieWithRoleScope(roleViewer); expect(createLocalSAMLSessionMock.mock.calls).toHaveLength(0); expect(createCloudSAMLSessionMock.mock.calls).toHaveLength(2); }); @@ -274,9 +280,9 @@ describe('SamlSessionManager', () => { ', ' )}. Update roles resource file in ${SERVERLESS_ROLES_ROOT_PATH} to enable it for testing`; const samlSessionManager = new SamlSessionManager(samlSessionManagerOptions); - await expect(samlSessionManager.getSessionCookieForRole(nonExistingRole)).rejects.toThrow( - expectedErrorMessage - ); + await expect( + samlSessionManager.getInteractiveUserSessionCookieWithRoleScope(nonExistingRole) + ).rejects.toThrow(expectedErrorMessage); await expect(samlSessionManager.getApiCredentialsForRole(nonExistingRole)).rejects.toThrow( expectedErrorMessage ); @@ -293,9 +299,9 @@ describe('SamlSessionManager', () => { log, isCloud, }); - await expect(samlSessionManager.getSessionCookieForRole(nonExistingRole)).rejects.toThrow( - `User with '${nonExistingRole}' role is not defined` - ); + await expect( + samlSessionManager.getInteractiveUserSessionCookieWithRoleScope(nonExistingRole) + ).rejects.toThrow(`User with '${nonExistingRole}' role is not defined`); await expect(samlSessionManager.getApiCredentialsForRole(nonExistingRole)).rejects.toThrow( `User with '${nonExistingRole}' role is not defined` ); @@ -308,9 +314,9 @@ describe('SamlSessionManager', () => { test(`throws error when credentials are not specified for the role`, async () => { const noCredentialsRole = 'admin'; const samlSessionManager = new SamlSessionManager(samlSessionManagerOptions); - await expect(samlSessionManager.getSessionCookieForRole(noCredentialsRole)).rejects.toThrow( - `User with '${noCredentialsRole}' role is not defined` - ); + await expect( + samlSessionManager.getInteractiveUserSessionCookieWithRoleScope(noCredentialsRole) + ).rejects.toThrow(`User with '${noCredentialsRole}' role is not defined`); await expect(samlSessionManager.getApiCredentialsForRole(noCredentialsRole)).rejects.toThrow( `User with '${noCredentialsRole}' role is not defined` ); diff --git a/packages/kbn-test/src/kbn_client/kbn_client_saved_objects.ts b/packages/kbn-test/src/kbn_client/kbn_client_saved_objects.ts index 12e3bfc56d980..f15fb0035d670 100644 --- a/packages/kbn-test/src/kbn_client/kbn_client_saved_objects.ts +++ b/packages/kbn-test/src/kbn_client/kbn_client_saved_objects.ts @@ -128,6 +128,7 @@ const STANDARD_LIST_TYPES = [ 'fleet-fleet-server-host', 'fleet-proxy', 'fleet-uninstall-tokens', + 'fleet-space-settings', ]; /** diff --git a/packages/kbn-text-based-editor/src/ecs_metadata_helper.test.ts b/packages/kbn-text-based-editor/src/ecs_metadata_helper.test.ts new file mode 100644 index 0000000000000..2dc2637fa9810 --- /dev/null +++ b/packages/kbn-text-based-editor/src/ecs_metadata_helper.test.ts @@ -0,0 +1,81 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. + */ + +import { getColumnsWithMetadata } from './ecs_metadata_helper'; +import type { DatatableColumnType } from '@kbn/expressions-plugin/common'; +import type { FieldsMetadataPublicStart } from '@kbn/fields-metadata-plugin/public'; + +describe('getColumnsWithMetadata', () => { + it('should return original columns if fieldsMetadata is not provided', async () => { + const columns = [ + { name: 'ecs.version', type: 'string' as DatatableColumnType }, + { name: 'field1', type: 'string' as DatatableColumnType }, + { name: 'field2', type: 'number' as DatatableColumnType }, + ]; + + const result = await getColumnsWithMetadata(columns); + expect(result).toEqual(columns); + }); + + it('should return columns with metadata if ECS version field is present', async () => { + const columns = [ + { name: 'ecs.version', type: 'string' as DatatableColumnType }, + { name: 'field2', type: 'number' as DatatableColumnType }, + ]; + const fieldsMetadata = { + getClient: jest.fn().mockResolvedValue({ + find: jest.fn().mockResolvedValue({ + fields: { + 'ecs.version': { description: 'ECS version field', type: 'keyword' }, + 'ecs.field': { description: 'ECS field description', type: 'keyword' }, + }, + }), + }), + } as unknown as FieldsMetadataPublicStart; + + const result = await getColumnsWithMetadata(columns, fieldsMetadata); + + expect(result).toEqual([ + { + name: 'ecs.version', + type: 'string', + metadata: { description: 'ECS version field' }, + }, + { name: 'field2', type: 'number' }, + ]); + }); + + it('should handle keyword suffix correctly', async () => { + const columns = [ + { name: 'ecs.version', type: 'string' as DatatableColumnType }, + { name: 'ecs.version.keyword', type: 'string' as DatatableColumnType }, + { name: 'field2', type: 'number' as DatatableColumnType }, + ]; + const fieldsMetadata = { + getClient: jest.fn().mockResolvedValue({ + find: jest.fn().mockResolvedValue({ + fields: { + 'ecs.version': { description: 'ECS version field', type: 'keyword' }, + }, + }), + }), + } as unknown as FieldsMetadataPublicStart; + + const result = await getColumnsWithMetadata(columns, fieldsMetadata); + + expect(result).toEqual([ + { name: 'ecs.version', type: 'string', metadata: { description: 'ECS version field' } }, + { + name: 'ecs.version.keyword', + type: 'string', + metadata: { description: 'ECS version field' }, + }, + { name: 'field2', type: 'number' }, + ]); + }); +}); diff --git a/packages/kbn-text-based-editor/src/ecs_metadata_helper.ts b/packages/kbn-text-based-editor/src/ecs_metadata_helper.ts new file mode 100644 index 0000000000000..687999350be0e --- /dev/null +++ b/packages/kbn-text-based-editor/src/ecs_metadata_helper.ts @@ -0,0 +1,102 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. + */ + +import type { ESQLRealField } from '@kbn/esql-validation-autocomplete'; +import { esFieldTypeToKibanaFieldType } from '@kbn/field-types'; +import type { FieldsMetadataPublicStart } from '@kbn/fields-metadata-plugin/public'; +import { chunk } from 'lodash'; + +const removeKeywordSuffix = (name: string) => { + return name.endsWith('.keyword') ? name.slice(0, -8) : name; +}; + +/** + * Returns columns with the metadata/description (e.g ECS info) + * if available + * + * @param columns + * @param fieldsMetadata + * @returns + */ +export async function getColumnsWithMetadata( + columns: Array>, + fieldsMetadata?: FieldsMetadataPublicStart +): Promise { + if (!fieldsMetadata) return columns; + + try { + const fieldsMetadataClient = await fieldsMetadata?.getClient(); + if (fieldsMetadataClient) { + const fields = await fieldsMetadataClient.find({ + fieldNames: columns.map((c) => c.name), + attributes: ['description', 'type'], + }); + + if (fields?.fields) { + return columns.map((c) => { + // Metadata services gives description for + // 'ecs.version' but not 'ecs.version.keyword' + // but both should show description if available + const metadata = fields.fields[removeKeywordSuffix(c.name)]; + + // Need to convert metadata's type (e.g. keyword) to ES|QL type (e.g. string) to check if they are the same + if ( + !metadata || + (metadata?.type && esFieldTypeToKibanaFieldType(metadata.type) !== c.type) + ) + return c; + return { + ...c, + metadata: { description: metadata.description }, + }; + }); + } + } + } catch (error) { + // eslint-disable-next-line no-console + console.error('Unable to fetch field metadata', error); + } + return columns; +} +/** + * Returns columns with the metadata/description (e.g ECS info) + * if available. Safely partition the requests to avoid 400 payload too big errors. + * + * @param columns + * @param fieldsMetadata + * @returns + */ +export async function getRateLimitedColumnsWithMetadata( + columns: Array>, + fieldsMetadata?: FieldsMetadataPublicStart, + maxFieldsPerRequest = 250, + maxConcurrentRequests = 10 +): Promise { + if (!fieldsMetadata) return columns; + + try { + // Chunking requests here since we are calling fieldsMetadata.find with list of fields, + // and we need to make sure payload is not too big, or else get 400 error + const chunkedColumns = chunk(columns, maxFieldsPerRequest); + const result: Array> = []; + // Also only make max of n at a time to avoid too many concurrent requests + for (let i = 0; i < chunkedColumns.length; i += maxConcurrentRequests) { + const cols = chunkedColumns.slice(i, i + maxConcurrentRequests); + const chunkResult = await Promise.allSettled( + cols.map((c) => getColumnsWithMetadata(c, fieldsMetadata)) + ); + result.push(...chunkResult); + } + + return result.flatMap((r, idx) => (r.status === 'fulfilled' ? r.value : chunkedColumns[idx])); + } catch (error) { + // eslint-disable-next-line no-console + console.error('Unable to fetch field metadata', error); + } + return columns; +} diff --git a/packages/kbn-text-based-editor/src/overwrite.scss b/packages/kbn-text-based-editor/src/overwrite.scss index 7c66fe96e36cb..692ed30886938 100644 --- a/packages/kbn-text-based-editor/src/overwrite.scss +++ b/packages/kbn-text-based-editor/src/overwrite.scss @@ -60,4 +60,4 @@ .TextBasedLangEditor--expanded .monaco-editor, .TextBasedLangEditor--expanded .monaco-editor .margin, .TextBasedLangEditor--expanded .monaco-editor .overflow-guard { border-top-left-radius: 0; border-bottom-left-radius: 0; -} \ No newline at end of file +} diff --git a/packages/kbn-text-based-editor/src/text_based_languages_editor.tsx b/packages/kbn-text-based-editor/src/text_based_languages_editor.tsx index 14767da922ed9..221e245fe936f 100644 --- a/packages/kbn-text-based-editor/src/text_based_languages_editor.tsx +++ b/packages/kbn-text-based-editor/src/text_based_languages_editor.tsx @@ -23,6 +23,7 @@ import { getAggregateQueryMode, getLanguageDisplayName } from '@kbn/es-query'; import type { ExpressionsStart } from '@kbn/expressions-plugin/public'; import { i18n } from '@kbn/i18n'; import type { IndexManagementPluginSetup } from '@kbn/index-management'; +import type { FieldsMetadataPublicStart } from '@kbn/fields-metadata-plugin/public'; import { useKibana } from '@kbn/kibana-react-plugin/public'; import { LanguageDocumentationPopover, @@ -56,6 +57,7 @@ import { EDITOR_MIN_HEIGHT, textBasedLanguageEditorStyles, } from './text_based_languages_editor.styles'; +import { getRateLimitedColumnsWithMetadata } from './ecs_metadata_helper'; import './overwrite.scss'; @@ -123,6 +125,7 @@ interface TextBasedEditorDeps { dataViews: DataViewsPublicPluginStart; expressions: ExpressionsStart; indexManagementApiService?: IndexManagementPluginSetup['apiService']; + fieldsMetadata?: FieldsMetadataPublicStart; } const MAX_COMPACT_VIEW_LENGTH = 250; @@ -167,8 +170,15 @@ export const TextBasedLanguagesEditor = memo(function TextBasedLanguagesEditor({ const language = getAggregateQueryMode(query); const queryString: string = query[language] ?? ''; const kibana = useKibana(); - const { dataViews, expressions, indexManagementApiService, application, docLinks, core } = - kibana.services; + const { + dataViews, + expressions, + indexManagementApiService, + application, + docLinks, + core, + fieldsMetadata, + } = kibana.services; const timeZone = core?.uiSettings?.get('dateFormat:tz'); const [code, setCode] = useState(queryString ?? ''); const [codeOneLiner, setCodeOneLiner] = useState(null); @@ -430,7 +440,8 @@ export const TextBasedLanguagesEditor = memo(function TextBasedLanguagesEditor({ undefined, abortController ).result; - return table?.columns.map((c) => ({ name: c.name, type: c.meta.type })) || []; + const columns = table?.columns.map((c) => ({ name: c.name, type: c.meta.type })) || []; + return await getRateLimitedColumnsWithMetadata(columns, fieldsMetadata); } catch (e) { // no action yet } @@ -458,6 +469,7 @@ export const TextBasedLanguagesEditor = memo(function TextBasedLanguagesEditor({ expressions, abortController, indexManagementApiService, + fieldsMetadata, ]); const parseMessages = useCallback(async () => { diff --git a/packages/kbn-text-based-editor/tsconfig.json b/packages/kbn-text-based-editor/tsconfig.json index fcb296d4d086c..632dd05753459 100644 --- a/packages/kbn-text-based-editor/tsconfig.json +++ b/packages/kbn-text-based-editor/tsconfig.json @@ -26,6 +26,9 @@ "@kbn/index-management", "@kbn/code-editor", "@kbn/shared-ux-markdown", + "@kbn/fields-metadata-plugin", + "@kbn/esql-validation-autocomplete", + "@kbn/field-types" ], "exclude": [ "target/**/*", diff --git a/packages/presentation/presentation_publishing/comparators/state_comparators.ts b/packages/presentation/presentation_publishing/comparators/state_comparators.ts index 0589658906338..9506984464718 100644 --- a/packages/presentation/presentation_publishing/comparators/state_comparators.ts +++ b/packages/presentation/presentation_publishing/comparators/state_comparators.ts @@ -28,7 +28,7 @@ export const runComparators = ( lastSavedState: StateType | undefined, latestState: Partial ) => { - if (!lastSavedState) { + if (!lastSavedState || Object.keys(latestState).length === 0) { // if we have no last saved state, everything is considered a change return latestState; } diff --git a/packages/serverless/settings/observability_project/index.ts b/packages/serverless/settings/observability_project/index.ts index 0374fc9a6b6e8..00d9d7b6d544f 100644 --- a/packages/serverless/settings/observability_project/index.ts +++ b/packages/serverless/settings/observability_project/index.ts @@ -32,5 +32,5 @@ export const OBSERVABILITY_PROJECT_SETTINGS = [ settings.OBSERVABILITY_LOGS_EXPLORER_ALLOWED_DATA_VIEWS_ID, settings.OBSERVABILITY_APM_ENABLE_TABLE_SEARCH_BAR, settings.OBSERVABILITY_APM_ENABLE_SERVICE_INVENTORY_TABLE_SEARCH_BAR, - settings.OBSERVABILITY_APM_ENABLE_MULTI_SIGNAL, + settings.OBSERVABILITY_ENTITY_CENTRIC_EXPERIENCE, ]; diff --git a/renovate.json b/renovate.json index 2da4773622aac..5e8cc3ca6e340 100644 --- a/renovate.json +++ b/renovate.json @@ -407,6 +407,14 @@ "matchBaseBranches": ["main"], "labels": ["Team: Cloud Security", "release_note:skip", "backport:skip"], "enabled": true + }, + { + "groupName": "re2js", + "matchDepNames": ["re2js"], + "reviewers": ["team:visualizations", "dej611"], + "matchBaseBranches": ["main"], + "labels": ["release_note:skip", "backport:all-open", "Team:Visualizations"], + "enabled": true } ] } diff --git a/scripts/download_re2.sh b/scripts/download_re2.sh deleted file mode 100755 index e7b419baa8157..0000000000000 --- a/scripts/download_re2.sh +++ /dev/null @@ -1,39 +0,0 @@ -#!/usr/bin/env bash - -args=("$@") -re2_version=${args[0]} - -if [ -z "$re2_version" ]; then - echo "Usage: ./download_re2.sh [re2_version]" - exit 1 -fi - -archs=( - "darwin-arm64" - "darwin-x64" - "linux-musl-x64" - "linux-x64" - "win32-x64" -) -node_api_versions=( 108 115 ) -formats=( "br" "gz" ) - -echo "Downloading builds of re2 version ${re2_version} to /tmp/re2" -mkdir /tmp/re2 - -for node_api_version in "${node_api_versions[@]}"; do - echo " Node.js API version ${node_api_version}" - - for arch in "${archs[@]}"; do - for format in "${formats[@]}"; do - url="https://github.com/uhop/node-re2/releases/download/${re2_version}/${arch}-${node_api_version}.${format}" - echo " ${url}" - (cd /tmp/re2 && curl -s -L -O "${url}") - done - done -done - -echo -echo "Calculating shasums for downloaded artifacts..." -echo -shasum -a 256 /tmp/re2/* diff --git a/src/core/server/integration_tests/ci_checks/saved_objects/check_registered_types.test.ts b/src/core/server/integration_tests/ci_checks/saved_objects/check_registered_types.test.ts index 51c06947d224b..84cdfb9217adf 100644 --- a/src/core/server/integration_tests/ci_checks/saved_objects/check_registered_types.test.ts +++ b/src/core/server/integration_tests/ci_checks/saved_objects/check_registered_types.test.ts @@ -104,6 +104,7 @@ describe('checking migration metadata changes on all registered SO types', () => "fleet-preconfiguration-deletion-record": "c52ea1e13c919afe8a5e8e3adbb7080980ecc08e", "fleet-proxy": "6cb688f0d2dd856400c1dbc998b28704ff70363d", "fleet-setup-lock": "0dc784792c79b5af5a6e6b5dcac06b0dbaa90bde", + "fleet-space-settings": "b278e82a33978900e53a1253884b5bdbd929c9bb", "fleet-uninstall-tokens": "ed8aa37e3cdd69e4360709e64944bb81cae0c025", "graph-workspace": "5cc6bb1455b078fd848c37324672163f09b5e376", "guided-onboarding-guide-state": "d338972ed887ac480c09a1a7fbf582d6a3827c91", diff --git a/src/core/server/integration_tests/saved_objects/migrations/group3/type_registrations.test.ts b/src/core/server/integration_tests/saved_objects/migrations/group3/type_registrations.test.ts index 2228b19956bb3..8d0670b977091 100644 --- a/src/core/server/integration_tests/saved_objects/migrations/group3/type_registrations.test.ts +++ b/src/core/server/integration_tests/saved_objects/migrations/group3/type_registrations.test.ts @@ -72,6 +72,7 @@ const previouslyRegisteredTypes = [ 'fleet-proxy', 'fleet-uninstall-tokens', 'fleet-setup-lock', + 'fleet-space-settings', 'graph-workspace', 'guided-setup-state', 'guided-onboarding-guide-state', diff --git a/src/dev/build/build_distributables.ts b/src/dev/build/build_distributables.ts index 9e8fa29979cf5..ad9707a433dc5 100644 --- a/src/dev/build/build_distributables.ts +++ b/src/dev/build/build_distributables.ts @@ -107,7 +107,6 @@ export async function buildDistributables(log: ToolingLog, options: BuildOptions */ if (options.createPlatformFolders) { await run(Tasks.CreateArchivesSources); - await run(Tasks.PatchNativeModules); await run(Tasks.InstallChromium); await run(Tasks.CopyBinScripts); await run(Tasks.CleanNodeBuilds); diff --git a/src/dev/build/tasks/bin/scripts/kibana-setup.bat b/src/dev/build/tasks/bin/scripts/kibana-setup.bat index 518e9c08728d2..6fee4a60ea0cd 100755 --- a/src/dev/build/tasks/bin/scripts/kibana-setup.bat +++ b/src/dev/build/tasks/bin/scripts/kibana-setup.bat @@ -5,7 +5,7 @@ SETLOCAL ENABLEDELAYEDEXPANSION set SCRIPT_DIR=%~dp0 for %%I in ("%SCRIPT_DIR%..") do set DIR=%%~dpfI -set NODE=%DIR%\node\node.exe +set NODE=%DIR%\node\default\node.exe set NODE_ENV=production If Not Exist "%NODE%" ( diff --git a/src/dev/build/tasks/bin/scripts/kibana.bat b/src/dev/build/tasks/bin/scripts/kibana.bat index ce0a0976a2267..80040138cd84c 100755 --- a/src/dev/build/tasks/bin/scripts/kibana.bat +++ b/src/dev/build/tasks/bin/scripts/kibana.bat @@ -5,7 +5,7 @@ SETLOCAL ENABLEDELAYEDEXPANSION set SCRIPT_DIR=%~dp0 for %%I in ("%SCRIPT_DIR%..") do set DIR=%%~dpfI -set NODE=%DIR%\node\node.exe +set NODE=%DIR%\node\default\node.exe set NODE_ENV=production If Not Exist "%NODE%" ( diff --git a/src/dev/build/tasks/index.ts b/src/dev/build/tasks/index.ts index e62c09e637d6a..4c279865c262d 100644 --- a/src/dev/build/tasks/index.ts +++ b/src/dev/build/tasks/index.ts @@ -25,7 +25,6 @@ export * from './nodejs'; export * from './notice_file_task'; export * from './os_packages'; export * from './package_json'; -export * from './patch_native_modules_task'; export * from './assert_file_time'; export * from './assert_no_uuid'; export * from './assert_path_length'; diff --git a/src/dev/build/tasks/install_dependencies_task.ts b/src/dev/build/tasks/install_dependencies_task.ts index 0eebadec5ca79..e5cc5e26ea37f 100644 --- a/src/dev/build/tasks/install_dependencies_task.ts +++ b/src/dev/build/tasks/install_dependencies_task.ts @@ -31,10 +31,6 @@ export const InstallDependencies: Task = { ], { cwd: build.resolvePath(), - env: { - RE2_DOWNLOAD_MIRROR: - 'https://us-central1-elastic-kibana-184716.cloudfunctions.net/kibana-ci-proxy-cache/node-re2', - }, } ); }, diff --git a/src/dev/build/tasks/os_packages/docker_generator/templates/base/Dockerfile b/src/dev/build/tasks/os_packages/docker_generator/templates/base/Dockerfile index a8daba08d37b4..0195825313b57 100644 --- a/src/dev/build/tasks/os_packages/docker_generator/templates/base/Dockerfile +++ b/src/dev/build/tasks/os_packages/docker_generator/templates/base/Dockerfile @@ -156,6 +156,7 @@ RUN /usr/bin/echo -e '\n--enable-fips' >> config/node.options RUN /usr/bin/echo '--openssl-config=/usr/share/kibana/config/nodejs.cnf' >> config/node.options COPY --chown=1000:0 openssl/nodejs.cnf "/usr/share/kibana/config/nodejs.cnf" ENV OPENSSL_MODULES=/usr/share/kibana/openssl/lib/ossl-modules +ENV XPACK_SECURITY_EXPERIMENTAL_FIPSMODE_ENABLED=true {{/fips}} RUN ln -s /usr/share/kibana /opt/kibana diff --git a/src/dev/build/tasks/patch_native_modules_task.ts b/src/dev/build/tasks/patch_native_modules_task.ts deleted file mode 100644 index df851036b79ed..0000000000000 --- a/src/dev/build/tasks/patch_native_modules_task.ts +++ /dev/null @@ -1,146 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the Elastic License - * 2.0 and the Server Side Public License, v 1; you may not use this file except - * in compliance with, at your election, the Elastic License 2.0 or the Server - * Side Public License, v 1. - */ - -import path from 'path'; - -import { ToolingLog } from '@kbn/tooling-log'; - -import { - deleteAll, - downloadToDisk, - gunzip, - untar, - Task, - Config, - Build, - Platform, - read, -} from '../lib'; - -const DOWNLOAD_DIRECTORY = '.native_modules'; - -interface Package { - name: string; - version: string; - destinationPath: string; - extractMethod: string; - archives: Record< - string, - { - url: string; - sha256: string; - } - >; -} - -const packages: Package[] = [ - { - // Tip: use `scripts/download_re2.sh` to download binary artifacts from GitHub - name: 're2', - version: '1.20.9', - destinationPath: 'node_modules/re2/build/Release/re2.node', - extractMethod: 'gunzip', - archives: { - 'linux-x64': { - url: 'https://us-central1-elastic-kibana-184716.cloudfunctions.net/kibana-ci-proxy-cache/node-re2/uhop/node-re2/releases/download/1.20.9/linux-x64-115.gz', - sha256: 'b88183fe7bc8afa260d22cd909f496ab5636aace7075b54ac345d33ea32aedc0', - }, - // Linux ARM builds are currently done manually as Github Actions used in upstream project - // do not natively support an Linux ARM target. - // - // From an AWS Graviton instance running Ubuntu or a GCE T2A instance running Debian: - // * install build-essential package: `sudo apt-get update` + `sudo apt install build-essential` - // * install nvm and the node version used by the Kibana repository - // * `npm install re2@1.17.7` - // * re2 will build itself on install - // * `cp node_modules/re2/build/Release/re2.node linux-arm64-$(node -e "console.log(process.versions.modules)")` - // * `gzip linux-arm64-*` - // * capture the sha256 with: `shasum -a 256 linux-arm64-*` - // * upload the `linux-arm64-*.gz` artifact to the `yarn-prebuilt-artifacts` bucket in GCS using the correct version number - 'linux-arm64': { - url: 'https://us-central1-elastic-kibana-184716.cloudfunctions.net/kibana-ci-proxy-cache/node-re2/uhop/node-re2/releases/download/1.20.9/linux-arm64-115.gz', - sha256: '6c04136a6658df3dcc5b8ac0041641c227d232bed385fe55f62c8470f8db041d', - }, - 'darwin-x64': { - url: 'https://us-central1-elastic-kibana-184716.cloudfunctions.net/kibana-ci-proxy-cache/node-re2/uhop/node-re2/releases/download/1.20.9/darwin-x64-115.gz', - sha256: '1e0d79983c94222c414a5410444ec0ccf37614fd0e45187d0f313a19b203702c', - }, - 'darwin-arm64': { - url: 'https://us-central1-elastic-kibana-184716.cloudfunctions.net/kibana-ci-proxy-cache/node-re2/uhop/node-re2/releases/download/1.20.9/darwin-arm64-115.gz', - sha256: '192c8e036062504b818941989c44ddb799efe0419d039f7089caedb09d49a597', - }, - 'win32-x64': { - url: 'https://us-central1-elastic-kibana-184716.cloudfunctions.net/kibana-ci-proxy-cache/node-re2/uhop/node-re2/releases/download/1.20.9/win32-x64-115.gz', - sha256: '01ae2df89f976f4097e50e121d7ec6ac62ec8050c838107dcfb976d037a60d59', - }, - }, - }, -]; - -async function getInstalledVersion(config: Config, packageName: string) { - const packageJSONPath = config.resolveFromRepo( - path.join('node_modules', packageName, 'package.json') - ); - const json = await read(packageJSONPath); - const packageJSON = JSON.parse(json); - return packageJSON.version; -} - -async function patchModule( - config: Config, - log: ToolingLog, - build: Build, - platform: Platform, - pkg: Package -) { - const installedVersion = await getInstalledVersion(config, pkg.name); - if (installedVersion !== pkg.version) { - throw new Error( - `Can't patch ${pkg.name}'s native module, we were expecting version ${pkg.version} and found ${installedVersion}` - ); - } - const platformName = platform.getNodeArch(); - const archive = pkg.archives[platformName]; - const archiveName = path.basename(archive.url); - const downloadPath = config.resolveFromRepo(DOWNLOAD_DIRECTORY, pkg.name, archiveName); - const extractPath = build.resolvePathForPlatform(platform, pkg.destinationPath); - log.debug(`Patching ${pkg.name} binaries from ${archive.url} to ${extractPath}`); - - await deleteAll([extractPath], log); - await downloadToDisk({ - log, - url: archive.url, - destination: downloadPath, - shaChecksum: archive.sha256, - shaAlgorithm: 'sha256', - maxAttempts: 3, - }); - switch (pkg.extractMethod) { - case 'gunzip': - await gunzip(downloadPath, extractPath); - break; - case 'untar': - await untar(downloadPath, extractPath); - break; - default: - throw new Error(`Extract method of ${pkg.extractMethod} is not supported`); - } -} - -export const PatchNativeModules: Task = { - description: 'Patching platform-specific native modules', - async run(config, log, build) { - for (const pkg of packages) { - await Promise.all( - config.getTargetPlatforms().map(async (platform) => { - await patchModule(config, log, build, platform, pkg); - }) - ); - } - }, -}; diff --git a/src/plugins/ai_assistant_management/selection/public/routes/components/ai_assistant_selection_page.tsx b/src/plugins/ai_assistant_management/selection/public/routes/components/ai_assistant_selection_page.tsx index 9b0941d86a5d4..24dc00cae84f6 100644 --- a/src/plugins/ai_assistant_management/selection/public/routes/components/ai_assistant_selection_page.tsx +++ b/src/plugins/ai_assistant_management/selection/public/routes/components/ai_assistant_selection_page.tsx @@ -24,8 +24,7 @@ import { useAppContext } from '../../app_context'; export function AiAssistantSelectionPage() { const { capabilities, setBreadcrumbs, navigateToApp } = useAppContext(); - - const observabilityAIAssistantEnabled = capabilities.observabilityAIAssistant.show; + const observabilityAIAssistantEnabled = capabilities.observabilityAIAssistant?.show; const securityAIAssistantEnabled = capabilities.securitySolutionAssistant?.['ai-assistant']; useEffect(() => { @@ -78,8 +77,7 @@ export function AiAssistantSelectionPage() { title={i18n.translate( 'aiAssistantManagementSelection.aiAssistantSelectionPage.observabilityAi.thisFeatureIsDisabledCallOutLabel', { - defaultMessage: - 'This feature is disabled. It can be enabled from Spaces > Features.', + defaultMessage: 'This feature is disabled.', } )} size="s" diff --git a/src/plugins/dashboard/public/dashboard_actions/copy_to_dashboard_modal.tsx b/src/plugins/dashboard/public/dashboard_actions/copy_to_dashboard_modal.tsx index e1c71ef9a4719..d17312ee20bdf 100644 --- a/src/plugins/dashboard/public/dashboard_actions/copy_to_dashboard_modal.tsx +++ b/src/plugins/dashboard/public/dashboard_actions/copy_to_dashboard_modal.tsx @@ -5,9 +5,6 @@ * in compliance with, at your election, the Elastic License 2.0 or the Server * Side Public License, v 1. */ -import { omit } from 'lodash'; -import React, { useCallback, useState } from 'react'; - import { EuiButton, EuiButtonEmpty, @@ -20,8 +17,10 @@ import { EuiSpacer, } from '@elastic/eui'; import { EmbeddablePackageState, PanelNotFoundError } from '@kbn/embeddable-plugin/public'; +import { apiHasSnapshottableState } from '@kbn/presentation-containers/interfaces/serialized_state'; import { LazyDashboardPicker, withSuspense } from '@kbn/presentation-util-plugin/public'; - +import { omit } from 'lodash'; +import React, { useCallback, useState } from 'react'; import { createDashboardEditUrl, CREATE_NEW_DASHBOARD_URL } from '../dashboard_constants'; import { pluginServices } from '../services/plugin_services'; import { CopyToDashboardAPI } from './copy_to_dashboard_action'; @@ -51,21 +50,21 @@ export function CopyToDashboardModal({ api, closeModal }: CopyToDashboardModalPr const onSubmit = useCallback(async () => { const dashboard = api.parentApi; const panelToCopy = await dashboard.getDashboardPanelFromId(api.uuid); + const runtimeSnapshot = apiHasSnapshottableState(api) ? api.snapshotRuntimeState() : undefined; - if (!panelToCopy) { + if (!panelToCopy && !runtimeSnapshot) { throw new PanelNotFoundError(); } const state: EmbeddablePackageState = { type: panelToCopy.type, - input: { + input: runtimeSnapshot ?? { ...omit(panelToCopy.explicitInput, 'id'), }, size: { width: panelToCopy.gridData.w, height: panelToCopy.gridData.h, }, - references: panelToCopy.references, }; const path = diff --git a/src/plugins/dashboard/public/dashboard_container/embeddable/create/create_dashboard.ts b/src/plugins/dashboard/public/dashboard_container/embeddable/create/create_dashboard.ts index 26435c31a0d2c..708e3c8aac809 100644 --- a/src/plugins/dashboard/public/dashboard_container/embeddable/create/create_dashboard.ts +++ b/src/plugins/dashboard/public/dashboard_container/embeddable/create/create_dashboard.ts @@ -5,7 +5,6 @@ * in compliance with, at your election, the Elastic License 2.0 or the Server * Side Public License, v 1. */ -import deepEqual from 'fast-deep-equal'; import { ControlGroupInput, CONTROL_GROUP_TYPE, @@ -28,16 +27,21 @@ import { TimeRange, } from '@kbn/es-query'; import { lazyLoadReduxToolsPackage } from '@kbn/presentation-util-plugin/public'; +import deepEqual from 'fast-deep-equal'; import { cloneDeep, identity, omit, pickBy } from 'lodash'; -import { BehaviorSubject, combineLatest, Subject } from 'rxjs'; -import { map, distinctUntilChanged, startWith } from 'rxjs'; +import { + BehaviorSubject, + combineLatest, + distinctUntilChanged, + map, + startWith, + Subject, +} from 'rxjs'; import { v4 } from 'uuid'; -import { combineDashboardFiltersWithControlGroupFilters } from './controls/dashboard_control_group_integration'; import { DashboardContainerInput, DashboardPanelMap, DashboardPanelState, - prefixReferencesFromPanel, } from '../../../../common'; import { DEFAULT_DASHBOARD_INPUT, @@ -56,11 +60,14 @@ import { startDiffingDashboardState } from '../../state/diffing/dashboard_diffin import { DashboardPublicState, UnsavedPanelState } from '../../types'; import { DashboardContainer } from '../dashboard_container'; import { DashboardCreationOptions } from '../dashboard_container_factory'; -import { startSyncingDashboardControlGroup } from './controls/dashboard_control_group_integration'; +import { + combineDashboardFiltersWithControlGroupFilters, + startSyncingDashboardControlGroup, +} from './controls/dashboard_control_group_integration'; import { startSyncingDashboardDataViews } from './data_views/sync_dashboard_data_views'; +import { startQueryPerformanceTracking } from './performance/query_performance_tracking'; import { startDashboardSearchSessionIntegration } from './search_sessions/start_dashboard_search_session_integration'; import { syncUnifiedSearchState } from './unified_search/sync_dashboard_unified_search_state'; -import { startQueryPerformanceTracking } from './performance/query_performance_tracking'; /** * Builds a new Dashboard from scratch. @@ -276,17 +283,6 @@ export const initializeDashboard = async ({ ...overrideInput, }; - // -------------------------------------------------------------------------------------- - // Set restored runtime state for react embeddables. - // -------------------------------------------------------------------------------------- - untilDashboardReady().then((dashboardContainer) => { - for (const idWithRuntimeState of Object.keys(runtimePanelsToRestore)) { - const restoredRuntimeStateForChild = runtimePanelsToRestore[idWithRuntimeState]; - if (!restoredRuntimeStateForChild) continue; - dashboardContainer.setRuntimeStateForChild(idWithRuntimeState, restoredRuntimeStateForChild); - } - }); - // -------------------------------------------------------------------------------------- // Combine input from saved object, session storage, & passed input to create initial input. // -------------------------------------------------------------------------------------- @@ -391,7 +387,7 @@ export const initializeDashboard = async ({ const sameType = panelToUpdate.type === incomingEmbeddable.type; panelToUpdate.type = incomingEmbeddable.type; - panelToUpdate.explicitInput = { + const nextRuntimeState = { // if the incoming panel is the same type as what was there before we can safely spread the old panel's explicit input ...(sameType ? panelToUpdate.explicitInput : {}), @@ -401,6 +397,13 @@ export const initializeDashboard = async ({ // maintain hide panel titles setting. hidePanelTitles: panelToUpdate.explicitInput.hidePanelTitles, }; + if (reactEmbeddableRegistryHasKey(incomingEmbeddable.type)) { + panelToUpdate.explicitInput = { id: panelToUpdate.explicitInput.id }; + runtimePanelsToRestore[incomingEmbeddable.embeddableId] = nextRuntimeState; + } else { + panelToUpdate.explicitInput = nextRuntimeState; + } + untilDashboardReady().then((container) => scrolltoIncomingEmbeddable(container, incomingEmbeddable.embeddableId as string) ); @@ -429,19 +432,27 @@ export const initializeDashboard = async ({ currentPanels, } ); - const newPanelState: DashboardPanelState = { - explicitInput: { ...incomingEmbeddable.input, id: embeddableId }, - type: incomingEmbeddable.type, - gridData: { - ...newPanelPlacement, - i: embeddableId, - }, - }; - if (incomingEmbeddable.references) { - container.savedObjectReferences.push( - ...prefixReferencesFromPanel(embeddableId, incomingEmbeddable.references) - ); - } + const newPanelState: DashboardPanelState = (() => { + if (reactEmbeddableRegistryHasKey(incomingEmbeddable.type)) { + runtimePanelsToRestore[embeddableId] = incomingEmbeddable.input; + return { + explicitInput: { id: embeddableId }, + type: incomingEmbeddable.type, + gridData: { + ...newPanelPlacement, + i: embeddableId, + }, + }; + } + return { + explicitInput: { ...incomingEmbeddable.input, id: embeddableId }, + type: incomingEmbeddable.type, + gridData: { + ...newPanelPlacement, + i: embeddableId, + }, + }; + })(); container.updateInput({ panels: { ...container.getInput().panels, @@ -458,6 +469,17 @@ export const initializeDashboard = async ({ } } + // -------------------------------------------------------------------------------------- + // Set restored runtime state for react embeddables. + // -------------------------------------------------------------------------------------- + untilDashboardReady().then((dashboardContainer) => { + for (const idWithRuntimeState of Object.keys(runtimePanelsToRestore)) { + const restoredRuntimeStateForChild = runtimePanelsToRestore[idWithRuntimeState]; + if (!restoredRuntimeStateForChild) continue; + dashboardContainer.setRuntimeStateForChild(idWithRuntimeState, restoredRuntimeStateForChild); + } + }); + // -------------------------------------------------------------------------------------- // Start the control group integration. // -------------------------------------------------------------------------------------- diff --git a/src/plugins/dashboard/public/dashboard_container/embeddable/dashboard_container.tsx b/src/plugins/dashboard/public/dashboard_container/embeddable/dashboard_container.tsx index 06e1039497f8b..eff68d395f0b7 100644 --- a/src/plugins/dashboard/public/dashboard_container/embeddable/dashboard_container.tsx +++ b/src/plugins/dashboard/public/dashboard_container/embeddable/dashboard_container.tsx @@ -527,10 +527,12 @@ export class DashboardContainer i: newId, }, explicitInput: { - ...panelPackage.initialState, id: newId, }, }; + if (panelPackage.initialState) { + this.setRuntimeStateForChild(newId, panelPackage.initialState); + } this.updateInput({ panels: { ...otherPanels, [newId]: newPanel } }); onSuccess(newId, newPanel.explicitInput.title); return await this.untilReactEmbeddableLoaded(newId); diff --git a/src/plugins/data/public/search/session/search_sessions_deprecation_message.tsx b/src/plugins/data/public/search/session/search_sessions_deprecation_message.tsx new file mode 100644 index 0000000000000..c6d75cda58e01 --- /dev/null +++ b/src/plugins/data/public/search/session/search_sessions_deprecation_message.tsx @@ -0,0 +1,40 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. + */ + +import React from 'react'; +import { i18n } from '@kbn/i18n'; +import { FormattedMessage } from '@kbn/i18n-react'; +import { EuiCallOut } from '@elastic/eui'; + +const searchSessionsDeprecatedWarningTitle = i18n.translate( + 'data.searchSessionIndicator.deprecationWarning.title', + { + defaultMessage: 'Deprecated in 8.15.0', + } +); + +export interface SearchSessionsDeprecatedWarningProps { + size?: 's' | 'm'; +} + +export const SearchSessionsDeprecatedWarning = ({ + size = 'm', +}: SearchSessionsDeprecatedWarningProps) => ( + + + +); diff --git a/src/plugins/data/public/search/session/session_indicator/search_session_indicator/search_session_indicator.tsx b/src/plugins/data/public/search/session/session_indicator/search_session_indicator/search_session_indicator.tsx index 091c080969329..ba754d208b529 100644 --- a/src/plugins/data/public/search/session/session_indicator/search_session_indicator/search_session_indicator.tsx +++ b/src/plugins/data/public/search/session/session_indicator/search_session_indicator/search_session_indicator.tsx @@ -27,6 +27,7 @@ import { CheckInEmptyCircle, PartialClock } from './custom_icons'; import './search_session_indicator.scss'; import { SearchSessionName } from './components'; import { SearchSessionState } from '../../search_session_state'; +import { SearchSessionsDeprecatedWarning } from '../../search_sessions_deprecation_message'; export interface SearchSessionIndicatorProps { state: SearchSessionState; @@ -404,6 +405,9 @@ export const SearchSessionIndicator = React.forwardRef< } >
+ + + {props.searchSessionName && props.saveSearchSessionNameFn ? ( + + + diff --git a/src/plugins/discover/public/context_awareness/profile_providers/example_data_source_profile/profile.tsx b/src/plugins/discover/public/context_awareness/profile_providers/example_data_source_profile/profile.tsx index 6b705b00c1ba1..f9cba1592dc30 100644 --- a/src/plugins/discover/public/context_awareness/profile_providers/example_data_source_profile/profile.tsx +++ b/src/plugins/discover/public/context_awareness/profile_providers/example_data_source_profile/profile.tsx @@ -58,7 +58,15 @@ export const exampleDataSourceProfileProvider: DataSourceProfileProvider = { return { title: `Record #${recordId}`, docViewsRegistry: (registry) => { - registry.enableById('doc_view_logs_overview'); + registry.add({ + id: 'doc_view_example', + title: 'Example', + order: 0, + component: () => ( +
Example Doc View
+ ), + }); + return prevValue.docViewsRegistry(registry); }, }; diff --git a/src/plugins/discover/public/context_awareness/profile_providers/example_document_profile/profile.ts b/src/plugins/discover/public/context_awareness/profile_providers/example_document_profile/profile.ts index 303efa103e327..9739430e08000 100644 --- a/src/plugins/discover/public/context_awareness/profile_providers/example_document_profile/profile.ts +++ b/src/plugins/discover/public/context_awareness/profile_providers/example_document_profile/profile.ts @@ -13,14 +13,14 @@ export const exampleDocumentProfileProvider: DocumentProfileProvider = { profileId: 'example-document-profile', profile: {}, resolve: (params) => { - if (getFieldValue(params.record, 'data_stream.type') !== 'logs') { + if (getFieldValue(params.record, 'data_stream.type') !== 'example') { return { isMatch: false }; } return { isMatch: true, context: { - type: DocumentType.Log, + type: DocumentType.Default, }, }; }, diff --git a/src/plugins/discover/public/context_awareness/profile_providers/log_document_profile/accessors/get_doc_viewer.tsx b/src/plugins/discover/public/context_awareness/profile_providers/log_document_profile/accessors/get_doc_viewer.tsx new file mode 100644 index 0000000000000..c83155c4d3a49 --- /dev/null +++ b/src/plugins/discover/public/context_awareness/profile_providers/log_document_profile/accessors/get_doc_viewer.tsx @@ -0,0 +1,33 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. + */ + +import { i18n } from '@kbn/i18n'; +import { UnifiedDocViewerLogsOverview } from '@kbn/unified-doc-viewer-plugin/public'; +import React from 'react'; +import type { DocumentProfileProvider } from '../../../profiles'; + +export const getDocViewer: DocumentProfileProvider['profile']['getDocViewer'] = + (prev) => (params) => { + const prevDocViewer = prev(params); + + return { + ...prevDocViewer, + docViewsRegistry: (registry) => { + registry.add({ + id: 'doc_view_logs_overview', + title: i18n.translate('discover.docViews.logsOverview.title', { + defaultMessage: 'Log overview', + }), + order: 0, + component: (props) => , + }); + + return prevDocViewer.docViewsRegistry(registry); + }, + }; + }; diff --git a/src/plugins/discover/public/context_awareness/profile_providers/log_document_profile/accessors/index.ts b/src/plugins/discover/public/context_awareness/profile_providers/log_document_profile/accessors/index.ts new file mode 100644 index 0000000000000..781ad51343123 --- /dev/null +++ b/src/plugins/discover/public/context_awareness/profile_providers/log_document_profile/accessors/index.ts @@ -0,0 +1,9 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. + */ + +export { getDocViewer } from './get_doc_viewer'; diff --git a/src/plugins/discover/public/context_awareness/profile_providers/log_document_profile/profile.test.ts b/src/plugins/discover/public/context_awareness/profile_providers/log_document_profile/profile.test.ts index 6514eb699e553..a188dd4584508 100644 --- a/src/plugins/discover/public/context_awareness/profile_providers/log_document_profile/profile.test.ts +++ b/src/plugins/discover/public/context_awareness/profile_providers/log_document_profile/profile.test.ts @@ -7,6 +7,7 @@ */ import { buildDataTableRecord } from '@kbn/discover-utils'; +import { DocViewsRegistry } from '@kbn/unified-doc-viewer'; import { DocumentType } from '../../profiles'; import { createContextAwarenessMocks } from '../../__mocks__'; import { createLogDocumentProfileProvider } from './profile'; @@ -65,6 +66,32 @@ describe('logDocumentProfileProvider', () => { }) ).toEqual(RESOLUTION_MISMATCH); }); + + describe('getDocViewer', () => { + it('adds a log overview doc view to the registry', () => { + const getDocViewer = logDocumentProfileProvider.profile.getDocViewer!(() => ({ + title: 'test title', + docViewsRegistry: (registry) => registry, + })); + const docViewer = getDocViewer({ + record: buildDataTableRecord({}), + }); + const registry = new DocViewsRegistry(); + + expect(docViewer.title).toBe('test title'); + expect(registry.getAll()).toHaveLength(0); + docViewer.docViewsRegistry(registry); + expect(registry.getAll()).toHaveLength(1); + expect(registry.getAll()[0]).toEqual( + expect.objectContaining({ + id: 'doc_view_logs_overview', + title: 'Log overview', + order: 0, + component: expect.any(Function), + }) + ); + }); + }); }); const buildMockRecord = (index: string, fields: Record = {}) => diff --git a/src/plugins/discover/public/context_awareness/profile_providers/log_document_profile/profile.ts b/src/plugins/discover/public/context_awareness/profile_providers/log_document_profile/profile.tsx similarity index 95% rename from src/plugins/discover/public/context_awareness/profile_providers/log_document_profile/profile.ts rename to src/plugins/discover/public/context_awareness/profile_providers/log_document_profile/profile.tsx index 2d03c9e35398a..bf7276f1d39b8 100644 --- a/src/plugins/discover/public/context_awareness/profile_providers/log_document_profile/profile.ts +++ b/src/plugins/discover/public/context_awareness/profile_providers/log_document_profile/profile.tsx @@ -9,12 +9,15 @@ import { DataTableRecord } from '@kbn/discover-utils'; import { DocumentProfileProvider, DocumentType } from '../../profiles'; import { ProfileProviderServices } from '../profile_provider_services'; +import { getDocViewer } from './accessors'; export const createLogDocumentProfileProvider = ( services: ProfileProviderServices ): DocumentProfileProvider => ({ profileId: 'log-document-profile', - profile: {}, + profile: { + getDocViewer, + }, resolve: ({ record }) => { const isLogRecord = getIsLogRecord(record, services.logsContextService.isLogsIndexPattern); diff --git a/src/plugins/discover/public/context_awareness/profile_providers/register_profile_providers.test.ts b/src/plugins/discover/public/context_awareness/profile_providers/register_profile_providers.test.ts index c58726ecc1c11..df437d1547cc5 100644 --- a/src/plugins/discover/public/context_awareness/profile_providers/register_profile_providers.test.ts +++ b/src/plugins/discover/public/context_awareness/profile_providers/register_profile_providers.test.ts @@ -68,7 +68,7 @@ describe('registerProfileProviders', () => { const documentContext = documentProfileServiceMock.resolve({ record: { id: 'test', - flattened: { 'data_stream.type': 'logs' }, + flattened: { 'data_stream.type': 'example' }, raw: {}, }, }); @@ -100,7 +100,7 @@ describe('registerProfileProviders', () => { const documentContext = documentProfileServiceMock.resolve({ record: { id: 'test', - flattened: { 'data_stream.type': 'logs' }, + flattened: { 'data_stream.type': 'example' }, raw: {}, }, }); diff --git a/src/plugins/embeddable/public/lib/state_transfer/types.ts b/src/plugins/embeddable/public/lib/state_transfer/types.ts index d9de670973d62..ffc57028e829e 100644 --- a/src/plugins/embeddable/public/lib/state_transfer/types.ts +++ b/src/plugins/embeddable/public/lib/state_transfer/types.ts @@ -6,8 +6,6 @@ * Side Public License, v 1. */ -import { Reference } from '@kbn/content-management-utils'; - export const EMBEDDABLE_EDITOR_STATE_KEY = 'embeddable_editor_state'; /** @@ -39,23 +37,15 @@ export const EMBEDDABLE_PACKAGE_STATE_KEY = 'embeddable_package_state'; */ export interface EmbeddablePackageState { type: string; + /** + * For react embeddables, this input must be runtime state. + */ input: object; embeddableId?: string; size?: { width?: number; height?: number; }; - /** - * Copy dashboard panel transfers serialized panel state for React embeddables. - * The rawState will be passed into the input and references are passed separately - * so the container can update its references array and the updated references - * are correctly passed to the factory's deserialize method. - * - * Legacy embeddables have already injected the references - * into the input state, so they will not pass references. - */ - references?: Reference[]; - /** * Pass current search session id when navigating to an editor, * Editors could use it continue previous search session diff --git a/src/plugins/embeddable/tsconfig.json b/src/plugins/embeddable/tsconfig.json index a306e128f58f4..161b35bc716ea 100644 --- a/src/plugins/embeddable/tsconfig.json +++ b/src/plugins/embeddable/tsconfig.json @@ -30,7 +30,6 @@ "@kbn/presentation-containers", "@kbn/react-kibana-mount", "@kbn/analytics", - "@kbn/content-management-utils" ], "exclude": ["target/**/*"] } diff --git a/src/plugins/esql/kibana.jsonc b/src/plugins/esql/kibana.jsonc index 797b9066e46ae..2bb2b759dc429 100644 --- a/src/plugins/esql/kibana.jsonc +++ b/src/plugins/esql/kibana.jsonc @@ -7,7 +7,8 @@ "server": true, "browser": true, "optionalPlugins": [ - "indexManagement" + "indexManagement", + "fieldsMetadata" ], "requiredPlugins": [ "data", diff --git a/src/plugins/esql/public/kibana_services.ts b/src/plugins/esql/public/kibana_services.ts index d9e39e3aefa68..ab98f07a0fdef 100644 --- a/src/plugins/esql/public/kibana_services.ts +++ b/src/plugins/esql/public/kibana_services.ts @@ -10,7 +10,8 @@ import { BehaviorSubject } from 'rxjs'; import type { CoreStart } from '@kbn/core/public'; import type { DataViewsPublicPluginStart } from '@kbn/data-views-plugin/public'; import type { ExpressionsStart } from '@kbn/expressions-plugin/public'; -import { IndexManagementPluginSetup } from '@kbn/index-management'; +import type { IndexManagementPluginSetup } from '@kbn/index-management'; +import type { FieldsMetadataPublicStart } from '@kbn/fields-metadata-plugin/public'; export let core: CoreStart; @@ -20,6 +21,7 @@ interface ServiceDeps { dataViews: DataViewsPublicPluginStart; expressions: ExpressionsStart; indexManagementApiService?: IndexManagementPluginSetup['apiService']; + fieldsMetadata?: FieldsMetadataPublicStart; } const servicesReady$ = new BehaviorSubject(undefined); @@ -39,7 +41,8 @@ export const setKibanaServices = ( kibanaCore: CoreStart, dataViews: DataViewsPublicPluginStart, expressions: ExpressionsStart, - indexManagement?: IndexManagementPluginSetup + indexManagement?: IndexManagementPluginSetup, + fieldsMetadata?: FieldsMetadataPublicStart ) => { core = kibanaCore; core.theme.theme$.subscribe(({ darkMode }) => { @@ -49,6 +52,7 @@ export const setKibanaServices = ( dataViews, expressions, indexManagementApiService: indexManagement?.apiService, + fieldsMetadata, }); }); }; diff --git a/src/plugins/esql/public/plugin.ts b/src/plugins/esql/public/plugin.ts index 5b78a0b48dc2b..7d130e22a1789 100755 --- a/src/plugins/esql/public/plugin.ts +++ b/src/plugins/esql/public/plugin.ts @@ -12,6 +12,7 @@ import type { ExpressionsStart } from '@kbn/expressions-plugin/public'; import type { DataPublicPluginStart } from '@kbn/data-plugin/public'; import type { IndexManagementPluginSetup } from '@kbn/index-management'; import type { UiActionsSetup, UiActionsStart } from '@kbn/ui-actions-plugin/public'; +import type { FieldsMetadataPublicStart } from '@kbn/fields-metadata-plugin/public'; import { updateESQLQueryTrigger, UpdateESQLQueryAction, @@ -24,6 +25,7 @@ interface EsqlPluginStart { expressions: ExpressionsStart; uiActions: UiActionsStart; data: DataPublicPluginStart; + fieldsMetadata: FieldsMetadataPublicStart; } interface EsqlPluginSetup { @@ -44,11 +46,11 @@ export class EsqlPlugin implements Plugin<{}, void> { public start( core: CoreStart, - { dataViews, expressions, data, uiActions }: EsqlPluginStart + { dataViews, expressions, data, uiActions, fieldsMetadata }: EsqlPluginStart ): void { const appendESQLAction = new UpdateESQLQueryAction(data); uiActions.addTriggerAction(UPDATE_ESQL_QUERY_TRIGGER, appendESQLAction); - setKibanaServices(core, dataViews, expressions, this.indexManagement); + setKibanaServices(core, dataViews, expressions, this.indexManagement, fieldsMetadata); } public stop() {} diff --git a/src/plugins/esql/tsconfig.json b/src/plugins/esql/tsconfig.json index 3c7b28567816b..500ff09276eaa 100644 --- a/src/plugins/esql/tsconfig.json +++ b/src/plugins/esql/tsconfig.json @@ -21,7 +21,8 @@ "@kbn/esql-utils", "@kbn/ui-actions-plugin", "@kbn/data-plugin", - "@kbn/es-query" + "@kbn/es-query", + "@kbn/fields-metadata-plugin" ], "exclude": [ "target/**/*", diff --git a/src/plugins/files/server/integration_tests/file_service.test.ts b/src/plugins/files/server/integration_tests/file_service.test.ts index 05308ff7a78ef..e0416336945d4 100644 --- a/src/plugins/files/server/integration_tests/file_service.test.ts +++ b/src/plugins/files/server/integration_tests/file_service.test.ts @@ -6,6 +6,7 @@ * Side Public License, v 1. */ +import assert from 'assert'; import { ElasticsearchClient } from '@kbn/core/server'; import type { InternalCoreStart } from '@kbn/core-lifecycle-server-internal'; import { @@ -43,16 +44,15 @@ describe('FileService', () => { let fileServiceFactory: FileServiceFactory; let security: ReturnType; let auditLogger: AuditLogger; + let fileKindsRegistry: ReturnType; beforeAll(async () => { - const { startES } = createTestServers({ adjustTimeout: jest.setTimeout }); - manageES = await startES(); - kbnRoot = createRootWithCorePlugins(); - await kbnRoot.preboot(); - await kbnRoot.setup(); - coreStart = await kbnRoot.start(); + const { startES, startKibana } = createTestServers({ adjustTimeout: jest.setTimeout }); + const testServers = await Promise.all([startES(), startKibana()]); + manageES = testServers[0]; + ({ root: kbnRoot, coreStart } = testServers[1]); setFileKindsRegistry(new FileKindsRegistryImpl()); - const fileKindsRegistry = getFileKindsRegistry(); + fileKindsRegistry = getFileKindsRegistry(); fileKindsRegistry.register({ id: fileKind, http: {}, @@ -69,10 +69,16 @@ describe('FileService', () => { }, http: {}, }); + esClient = coreStart.elasticsearch.client.asInternalUser; }); afterAll(async () => { + assert.strictEqual( + await esClient.ping(), + true, + 'Unable to reach ES, Initial test setup failed!' + ); await kbnRoot.shutdown(); await manageES.stop(); }); @@ -87,7 +93,7 @@ describe('FileService', () => { coreStart.savedObjects, blobStorageService, security, - getFileKindsRegistry(), + fileKindsRegistry, kbnRoot.logger.get('test-file-service') ); fileService = fileServiceFactory.asInternal(); diff --git a/src/plugins/kibana_usage_collection/server/collectors/management/schema.ts b/src/plugins/kibana_usage_collection/server/collectors/management/schema.ts index 8285a0aee6b01..85aeb535bb83b 100644 --- a/src/plugins/kibana_usage_collection/server/collectors/management/schema.ts +++ b/src/plugins/kibana_usage_collection/server/collectors/management/schema.ts @@ -464,7 +464,7 @@ export const stackManagementSchema: MakeSchemaFrom = { type: 'boolean', _meta: { description: 'Non-default value of setting.' }, }, - 'observability:apmEnableMultiSignal': { + 'observability:entityCentricExperience': { type: 'boolean', _meta: { description: 'Non-default value of setting.' }, }, diff --git a/src/plugins/kibana_usage_collection/server/collectors/management/types.ts b/src/plugins/kibana_usage_collection/server/collectors/management/types.ts index 95c72298a9b0e..28f18e5e52fce 100644 --- a/src/plugins/kibana_usage_collection/server/collectors/management/types.ts +++ b/src/plugins/kibana_usage_collection/server/collectors/management/types.ts @@ -163,7 +163,7 @@ export interface UsageStats { 'observability:apmTraceExplorerTab': boolean; 'observability:apmEnableCriticalPath': boolean; 'observability:apmEnableProfilingIntegration': boolean; - 'observability:apmEnableMultiSignal': boolean; + 'observability:entityCentricExperience': boolean; 'observability:profilingShowErrorFrames': boolean; 'securitySolution:enableGroupedNav': boolean; 'securitySolution:showRelatedIntegrations': boolean; diff --git a/src/plugins/links/public/actions/create_links_panel_action.ts b/src/plugins/links/public/actions/create_links_panel_action.ts index c5b78fe1e318b..eb8f2c11d8682 100644 --- a/src/plugins/links/public/actions/create_links_panel_action.ts +++ b/src/plugins/links/public/actions/create_links_panel_action.ts @@ -12,8 +12,6 @@ import { ADD_PANEL_TRIGGER, IncompatibleActionError } from '@kbn/ui-actions-plug import { COMMON_EMBEDDABLE_GROUPING } from '@kbn/embeddable-plugin/public'; import { APP_ICON, APP_NAME, CONTENT_ID } from '../../common'; import { uiActions } from '../services/kibana_services'; -import { serializeLinksAttributes } from '../lib/serialize_attributes'; -import { LinksSerializedState } from '../types'; const ADD_LINKS_PANEL_ACTION_ID = 'create_links_panel'; @@ -35,14 +33,9 @@ export const registerCreateLinksPanelAction = () => { }); if (!runtimeState) return; - const initialState: LinksSerializedState = runtimeState.savedObjectId - ? { savedObjectId: runtimeState.savedObjectId } - : // We should not extract the references when passing initialState to addNewPanel - serializeLinksAttributes(runtimeState, false); - await embeddable.addNewPanel({ panelType: CONTENT_ID, - initialState, + initialState: runtimeState, }); }, grouping: [COMMON_EMBEDDABLE_GROUPING.annotation], diff --git a/src/plugins/links/public/content_management/index.ts b/src/plugins/links/public/content_management/index.ts index 42e25c5465256..50d0f7c20ba50 100644 --- a/src/plugins/links/public/content_management/index.ts +++ b/src/plugins/links/public/content_management/index.ts @@ -9,4 +9,3 @@ export { linksClient } from './links_content_management_client'; export { checkForDuplicateTitle } from './duplicate_title_check'; export { runSaveToLibrary } from './save_to_library'; -export { loadFromLibrary } from './load_from_library'; diff --git a/src/plugins/links/public/content_management/load_from_library.ts b/src/plugins/links/public/content_management/load_from_library.ts deleted file mode 100644 index 5c6e54bb702de..0000000000000 --- a/src/plugins/links/public/content_management/load_from_library.ts +++ /dev/null @@ -1,30 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the Elastic License - * 2.0 and the Server Side Public License, v 1; you may not use this file except - * in compliance with, at your election, the Elastic License 2.0 or the Server - * Side Public License, v 1. - */ - -import { injectReferences } from '../../common/persistable_state'; -import { linksClient } from './links_content_management_client'; - -export async function loadFromLibrary(savedObjectId: string) { - const { - item: savedObject, - meta: { outcome, aliasPurpose, aliasTargetId }, - } = await linksClient.get(savedObjectId); - if (savedObject.error) throw savedObject.error; - const { attributes } = injectReferences(savedObject); - return { - attributes, - metaInfo: { - sharingSavedObjectProps: { - aliasTargetId, - outcome, - aliasPurpose, - sourceId: savedObjectId, - }, - }, - }; -} diff --git a/src/plugins/links/public/embeddable/links_embeddable.test.tsx b/src/plugins/links/public/embeddable/links_embeddable.test.tsx index 73de5b8237df5..39de26a6a77c9 100644 --- a/src/plugins/links/public/embeddable/links_embeddable.test.tsx +++ b/src/plugins/links/public/embeddable/links_embeddable.test.tsx @@ -24,7 +24,7 @@ import { import { linksClient } from '../content_management'; import { getMockLinksParentApi } from '../mocks'; -const links: Link[] = [ +const getLinks: () => Link[] = () => [ { id: '001', order: 0, @@ -54,7 +54,7 @@ const links: Link[] = [ }, ]; -const resolvedLinks: ResolvedLink[] = [ +const getResolvedLinks: () => ResolvedLink[] = () => [ { id: '001', order: 0, @@ -105,33 +105,35 @@ const references = [ jest.mock('../lib/resolve_links', () => { return { - resolveLinks: jest.fn().mockResolvedValue(resolvedLinks), + resolveLinks: jest.fn().mockResolvedValue(getResolvedLinks()), }; }); jest.mock('../content_management', () => { return { - loadFromLibrary: jest.fn((savedObjectId) => { - return Promise.resolve({ - attributes: { - title: 'links 001', - description: 'some links', - links, - layout: 'vertical', - }, - metaInfo: { - sharingSavedObjectProps: { + linksClient: { + create: jest.fn().mockResolvedValue({ item: { id: '333' } }), + update: jest.fn().mockResolvedValue({ item: { id: '123' } }), + get: jest.fn((savedObjectId) => { + return Promise.resolve({ + item: { + id: savedObjectId, + attributes: { + title: 'links 001', + description: 'some links', + links: getLinks(), + layout: 'vertical', + }, + references, + }, + meta: { aliasTargetId: '123', outcome: 'exactMatch', aliasPurpose: 'sharing', sourceId: savedObjectId, }, - }, - }); - }), - linksClient: { - create: jest.fn().mockResolvedValue({ item: { id: '333' } }), - update: jest.fn().mockResolvedValue({ item: { id: '123' } }), + }); + }), }, }; }); @@ -157,7 +159,7 @@ describe('getLinksEmbeddableFactory', () => { defaultPanelTitle: 'links 001', defaultPanelDescription: 'some links', layout: 'vertical', - links: resolvedLinks, + links: getResolvedLinks(), description: 'just a few links', title: 'my links', savedObjectId: '123', @@ -172,7 +174,7 @@ describe('getLinksEmbeddableFactory', () => { test('deserializeState', async () => { const deserializedState = await factory.deserializeState({ rawState, - references, + references: [], // no references passed because the panel is by reference }); expect(deserializedState).toEqual({ ...expectedRuntimeState, @@ -240,7 +242,7 @@ describe('getLinksEmbeddableFactory', () => { attributes: { description: 'some links', title: 'links 001', - links, + links: getLinks(), layout: 'vertical', }, }, @@ -254,7 +256,7 @@ describe('getLinksEmbeddableFactory', () => { describe('by value embeddable', () => { const rawState = { attributes: { - links, + links: getLinks(), layout: 'horizontal', }, description: 'just a few links', @@ -265,7 +267,7 @@ describe('getLinksEmbeddableFactory', () => { defaultPanelTitle: undefined, defaultPanelDescription: undefined, layout: 'horizontal', - links: resolvedLinks, + links: getResolvedLinks(), description: 'just a few links', title: 'my links', savedObjectId: undefined, @@ -315,7 +317,7 @@ describe('getLinksEmbeddableFactory', () => { description: 'just a few links', hidePanelTitles: undefined, attributes: { - links, + links: getLinks(), layout: 'horizontal', }, }, @@ -342,7 +344,7 @@ describe('getLinksEmbeddableFactory', () => { expect(linksClient.create).toHaveBeenCalledWith({ data: { title: 'some new title', - links, + links: getLinks(), layout: 'horizontal', }, options: { references }, diff --git a/src/plugins/links/public/embeddable/links_embeddable.tsx b/src/plugins/links/public/embeddable/links_embeddable.tsx index 0a5b98a7ce3be..23f9d82b7cb03 100644 --- a/src/plugins/links/public/embeddable/links_embeddable.tsx +++ b/src/plugins/links/public/embeddable/links_embeddable.tsx @@ -74,9 +74,10 @@ export const getLinksEmbeddableFactory = () => { const { title, description } = serializedState.rawState; if (linksSerializeStateIsByReference(state)) { - const attributes = await deserializeLinksSavedObject(state); + const linksSavedObject = await linksClient.get(state.savedObjectId); + const runtimeState = await deserializeLinksSavedObject(linksSavedObject.item); return { - ...attributes, + ...runtimeState, title, description, }; diff --git a/src/plugins/links/public/lib/deserialize_from_library.ts b/src/plugins/links/public/lib/deserialize_from_library.ts index a35be4f408554..859a988954a1b 100644 --- a/src/plugins/links/public/lib/deserialize_from_library.ts +++ b/src/plugins/links/public/lib/deserialize_from_library.ts @@ -6,8 +6,10 @@ * Side Public License, v 1. */ -import { loadFromLibrary } from '../content_management'; -import { LinksByReferenceSerializedState, LinksSerializedState } from '../types'; +import { SOWithMetadata } from '@kbn/content-management-utils'; +import { LinksAttributes } from '../../common/content_management'; +import { injectReferences } from '../../common/persistable_state'; +import { LinksByReferenceSerializedState, LinksRuntimeState, LinksSerializedState } from '../types'; import { resolveLinks } from './resolve_links'; export const linksSerializeStateIsByReference = ( @@ -16,8 +18,11 @@ export const linksSerializeStateIsByReference = ( return Boolean(state && (state as LinksByReferenceSerializedState).savedObjectId !== undefined); }; -export const deserializeLinksSavedObject = async (state: LinksByReferenceSerializedState) => { - const { attributes } = await loadFromLibrary(state.savedObjectId); +export const deserializeLinksSavedObject = async ( + linksSavedObject: SOWithMetadata +): Promise => { + if (linksSavedObject.error) throw linksSavedObject.error; + const { attributes } = injectReferences(linksSavedObject); const links = await resolveLinks(attributes.links ?? []); @@ -26,7 +31,7 @@ export const deserializeLinksSavedObject = async (state: LinksByReferenceSeriali return { links, layout, - savedObjectId: state.savedObjectId, + savedObjectId: linksSavedObject.id, defaultPanelTitle, defaultPanelDescription, }; diff --git a/src/plugins/links/public/lib/serialize_attributes.ts b/src/plugins/links/public/lib/serialize_attributes.ts index d9e8d1de148bb..696c8683f5a88 100644 --- a/src/plugins/links/public/lib/serialize_attributes.ts +++ b/src/plugins/links/public/lib/serialize_attributes.ts @@ -14,9 +14,15 @@ export const serializeLinksAttributes = ( state: LinksRuntimeState, shouldExtractReferences: boolean = true ) => { - const linksToSave: Link[] | undefined = state.links?.map( - ({ title, description, error, ...linkToSave }) => linkToSave - ); + const linksToSave: Link[] | undefined = state.links + ?.map(({ title, description, error, ...linkToSave }) => linkToSave) + ?.map( + // fiilter out null values which may have been introduced by the session state backup (undefined values are serialized as null). + (link) => + Object.fromEntries( + Object.entries(link).filter(([key, value]) => value !== null) + ) as unknown as Link + ); const attributes = { title: state.defaultPanelTitle, description: state.defaultPanelDescription, diff --git a/src/plugins/links/public/plugin.ts b/src/plugins/links/public/plugin.ts index f5ac0dd5f1d20..9b01f01d853cd 100644 --- a/src/plugins/links/public/plugin.ts +++ b/src/plugins/links/public/plugin.ts @@ -22,17 +22,14 @@ import { UsageCollectionStart } from '@kbn/usage-collection-plugin/public'; import { VisualizationsSetup } from '@kbn/visualizations-plugin/public'; import { UiActionsPublicStart } from '@kbn/ui-actions-plugin/public/plugin'; -import { LinksSerializedState } from './types'; +import { LinksRuntimeState } from './types'; import { APP_ICON, APP_NAME, CONTENT_ID, LATEST_VERSION } from '../common'; import { LinksCrudTypes } from '../common/content_management'; import { LinksStrings } from './components/links_strings'; import { getLinksClient } from './content_management/links_content_management_client'; import { setKibanaServices, untilPluginStartServicesReady } from './services/kibana_services'; import { registerCreateLinksPanelAction } from './actions/create_links_panel_action'; -import { - deserializeLinksSavedObject, - linksSerializeStateIsByReference, -} from './lib/deserialize_from_library'; +import { deserializeLinksSavedObject } from './lib/deserialize_from_library'; export interface LinksSetupDependencies { embeddable: EmbeddableSetup; visualizations: VisualizationsSetup; @@ -64,10 +61,11 @@ export class LinksPlugin }); plugins.embeddable.registerReactEmbeddableSavedObject({ - onAdd: (container, savedObject) => { - container.addNewPanel({ + onAdd: async (container, savedObject) => { + const initialState = await deserializeLinksSavedObject(savedObject); + container.addNewPanel({ panelType: CONTENT_ID, - initialState: { savedObjectId: savedObject.id }, + initialState, }); }, embeddableType: CONTENT_ID, @@ -103,7 +101,8 @@ export class LinksPlugin editor: { onEdit: async (savedObjectId: string) => { const { openEditorFlyout } = await import('./editor/open_editor_flyout'); - const initialState = await deserializeLinksSavedObject({ savedObjectId }); + const linksSavedObject = await getLinksClient().get(savedObjectId); + const initialState = await deserializeLinksSavedObject(linksSavedObject.item); await openEditorFlyout({ initialState }); }, }, @@ -128,14 +127,11 @@ export class LinksPlugin plugins.dashboard.registerDashboardPanelPlacementSetting( CONTENT_ID, - async (serializedState?: LinksSerializedState) => { - if (!serializedState) return {}; - const { links, layout } = linksSerializeStateIsByReference(serializedState) - ? await deserializeLinksSavedObject(serializedState) - : serializedState.attributes; - const isHorizontal = layout === 'horizontal'; + async (runtimeState?: LinksRuntimeState) => { + if (!runtimeState) return {}; + const isHorizontal = runtimeState.layout === 'horizontal'; const width = isHorizontal ? DASHBOARD_GRID_COLUMN_COUNT : 8; - const height = isHorizontal ? 4 : (links?.length ?? 1 * 3) + 4; + const height = isHorizontal ? 4 : (runtimeState.links?.length ?? 1 * 3) + 4; return { width, height, strategy: PanelPlacementStrategy.placeAtTop }; } ); diff --git a/src/plugins/telemetry/schema/oss_plugins.json b/src/plugins/telemetry/schema/oss_plugins.json index 00c4a48da72fa..d36836e0f0747 100644 --- a/src/plugins/telemetry/schema/oss_plugins.json +++ b/src/plugins/telemetry/schema/oss_plugins.json @@ -10292,7 +10292,7 @@ "description": "Non-default value of setting." } }, - "observability:apmEnableMultiSignal": { + "observability:entityCentricExperience": { "type": "boolean", "_meta": { "description": "Non-default value of setting." diff --git a/src/plugins/unified_doc_viewer/kibana.jsonc b/src/plugins/unified_doc_viewer/kibana.jsonc index e2febffda4df6..56ea8951e3a2d 100644 --- a/src/plugins/unified_doc_viewer/kibana.jsonc +++ b/src/plugins/unified_doc_viewer/kibana.jsonc @@ -8,7 +8,7 @@ "server": false, "browser": true, "requiredBundles": ["kibanaUtils"], - "requiredPlugins": ["data", "discoverShared", "fieldFormats", "share"], + "requiredPlugins": ["data", "fieldFormats", "share"], "optionalPlugins": ["fieldsMetadata"] } } diff --git a/src/plugins/unified_doc_viewer/public/__mocks__/services.ts b/src/plugins/unified_doc_viewer/public/__mocks__/services.ts index 29ae5f2981a6e..5e7222f261532 100644 --- a/src/plugins/unified_doc_viewer/public/__mocks__/services.ts +++ b/src/plugins/unified_doc_viewer/public/__mocks__/services.ts @@ -8,7 +8,6 @@ import { analyticsServiceMock } from '@kbn/core-analytics-browser-mocks'; import { dataPluginMock } from '@kbn/data-plugin/public/mocks'; -import { discoverSharedPluginMock } from '@kbn/discover-shared-plugin/public/mocks'; import { fieldFormatsMock } from '@kbn/field-formats-plugin/common/mocks'; import { fieldsMetadataPluginPublicMock } from '@kbn/fields-metadata-plugin/public/mocks'; import { uiSettingsServiceMock } from '@kbn/core-ui-settings-browser-mocks'; @@ -24,7 +23,6 @@ export const mockUnifiedDocViewer: jest.Mocked = { export const mockUnifiedDocViewerServices: jest.Mocked = { analytics: analyticsServiceMock.createAnalyticsServiceStart(), data: dataPluginMock.createStartContract(), - discoverShared: discoverSharedPluginMock.createStartContract(), fieldFormats: fieldFormatsMock, fieldsMetadata: fieldsMetadataPluginPublicMock.createStartContract(), storage: new Storage(localStorage), diff --git a/src/plugins/unified_doc_viewer/public/components/doc_viewer_logs_overview/index.ts b/src/plugins/unified_doc_viewer/public/components/doc_viewer_logs_overview/index.ts index 69f01c944ad25..99416ee140231 100644 --- a/src/plugins/unified_doc_viewer/public/components/doc_viewer_logs_overview/index.ts +++ b/src/plugins/unified_doc_viewer/public/components/doc_viewer_logs_overview/index.ts @@ -5,6 +5,7 @@ * in compliance with, at your election, the Elastic License 2.0 or the Server * Side Public License, v 1. */ + import { LogsOverview } from './logs_overview'; // Required for usage in React.lazy diff --git a/src/plugins/unified_doc_viewer/public/components/doc_viewer_logs_overview/logs_overview.tsx b/src/plugins/unified_doc_viewer/public/components/doc_viewer_logs_overview/logs_overview.tsx index b46570f4f0d37..73bcf21dab30c 100644 --- a/src/plugins/unified_doc_viewer/public/components/doc_viewer_logs_overview/logs_overview.tsx +++ b/src/plugins/unified_doc_viewer/public/components/doc_viewer_logs_overview/logs_overview.tsx @@ -10,13 +10,17 @@ import React from 'react'; import { DocViewRenderProps } from '@kbn/unified-doc-viewer/types'; import { getLogDocumentOverview } from '@kbn/discover-utils'; import { EuiHorizontalRule, EuiSpacer } from '@elastic/eui'; +import { ObservabilityLogsAIAssistantFeatureRenderDeps } from '@kbn/discover-shared-plugin/public'; import { LogsOverviewHeader } from './logs_overview_header'; import { LogsOverviewHighlights } from './logs_overview_highlights'; import { FieldActionsProvider } from '../../hooks/use_field_actions'; import { getUnifiedDocViewerServices } from '../../plugin'; -import { LogsOverviewAIAssistant } from './logs_overview_ai_assistant'; import { LogsOverviewDegradedFields } from './logs_overview_degraded_fields'; +export type LogsOverviewProps = DocViewRenderProps & { + renderAIAssistant?: (deps: ObservabilityLogsAIAssistantFeatureRenderDeps) => JSX.Element; +}; + export function LogsOverview({ columns, dataView, @@ -24,9 +28,11 @@ export function LogsOverview({ filter, onAddColumn, onRemoveColumn, -}: DocViewRenderProps) { + renderAIAssistant, +}: LogsOverviewProps) { const { fieldFormats } = getUnifiedDocViewerServices(); const parsedDoc = getLogDocumentOverview(hit, { dataView, fieldFormats }); + const LogsOverviewAIAssistant = renderAIAssistant; return ( - + {LogsOverviewAIAssistant && } ); } diff --git a/src/plugins/unified_doc_viewer/public/components/doc_viewer_logs_overview/logs_overview_ai_assistant.tsx b/src/plugins/unified_doc_viewer/public/components/doc_viewer_logs_overview/logs_overview_ai_assistant.tsx deleted file mode 100644 index 0e2627a1054fd..0000000000000 --- a/src/plugins/unified_doc_viewer/public/components/doc_viewer_logs_overview/logs_overview_ai_assistant.tsx +++ /dev/null @@ -1,24 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the Elastic License - * 2.0 and the Server Side Public License, v 1; you may not use this file except - * in compliance with, at your election, the Elastic License 2.0 or the Server - * Side Public License, v 1. - */ - -import { DataTableRecord } from '@kbn/discover-utils'; -import { getUnifiedDocViewerServices } from '../../plugin'; - -export function LogsOverviewAIAssistant({ doc }: { doc: DataTableRecord }) { - const { discoverShared } = getUnifiedDocViewerServices(); - - const logsAIAssistantFeature = discoverShared.features.registry.getById( - 'observability-logs-ai-assistant' - ); - - if (!logsAIAssistantFeature) { - return null; - } - - return logsAIAssistantFeature.render({ doc }); -} diff --git a/src/plugins/unified_doc_viewer/public/components/lazy_doc_viewer_logs_overview.tsx b/src/plugins/unified_doc_viewer/public/components/lazy_doc_viewer_logs_overview.tsx new file mode 100644 index 0000000000000..8da9e9b3cb722 --- /dev/null +++ b/src/plugins/unified_doc_viewer/public/components/lazy_doc_viewer_logs_overview.tsx @@ -0,0 +1,19 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. + */ + +import React from 'react'; +import { EuiDelayRender, EuiSkeletonText } from '@elastic/eui'; +import { dynamic } from '@kbn/shared-ux-utility'; + +export const UnifiedDocViewerLogsOverview = dynamic(() => import('./doc_viewer_logs_overview'), { + fallback: ( + + + + ), +}); diff --git a/src/plugins/unified_doc_viewer/public/index.tsx b/src/plugins/unified_doc_viewer/public/index.tsx index b594d8f06c42f..6c5f1d59991c6 100644 --- a/src/plugins/unified_doc_viewer/public/index.tsx +++ b/src/plugins/unified_doc_viewer/public/index.tsx @@ -29,4 +29,7 @@ export { useEsDocSearch } from './hooks'; export { UnifiedDocViewer } from './components/lazy_doc_viewer'; export { UnifiedDocViewerFlyout } from './components/lazy_doc_viewer_flyout'; +export type { LogsOverviewProps as UnifiedDocViewerLogsOverviewProps } from './components/doc_viewer_logs_overview/logs_overview'; +export { UnifiedDocViewerLogsOverview } from './components/lazy_doc_viewer_logs_overview'; + export const plugin = () => new UnifiedDocViewerPublicPlugin(); diff --git a/src/plugins/unified_doc_viewer/public/plugin.tsx b/src/plugins/unified_doc_viewer/public/plugin.tsx index 9c4d7117c37dd..e8a23342e7976 100644 --- a/src/plugins/unified_doc_viewer/public/plugin.tsx +++ b/src/plugins/unified_doc_viewer/public/plugin.tsx @@ -17,7 +17,6 @@ import { DataPublicPluginStart } from '@kbn/data-plugin/public'; import { FieldFormatsStart } from '@kbn/field-formats-plugin/public'; import { CoreStart } from '@kbn/core/public'; import { dynamic } from '@kbn/shared-ux-utility'; -import { DiscoverSharedPublicStart } from '@kbn/discover-shared-plugin/public'; import { FieldsMetadataPublicStart } from '@kbn/fields-metadata-plugin/public'; import { SharePluginStart } from '@kbn/share-plugin/public'; import type { UnifiedDocViewerServices } from './types'; @@ -31,9 +30,6 @@ const fallback = ( ); -const LazyDocViewerLogsOverview = dynamic(() => import('./components/doc_viewer_logs_overview'), { - fallback, -}); const LazyDocViewerLegacyTable = dynamic(() => import('./components/doc_viewer_table/legacy'), { fallback, }); @@ -50,7 +46,6 @@ export interface UnifiedDocViewerStart { export interface UnifiedDocViewerStartDeps { data: DataPublicPluginStart; - discoverShared: DiscoverSharedPublicStart; fieldFormats: FieldFormatsStart; fieldsMetadata: FieldsMetadataPublicStart; share: SharePluginStart; @@ -62,18 +57,6 @@ export class UnifiedDocViewerPublicPlugin private docViewsRegistry = new DocViewsRegistry(); public setup(core: CoreSetup) { - this.docViewsRegistry.add({ - id: 'doc_view_logs_overview', - title: i18n.translate('unifiedDocViewer.docViews.logsOverview.title', { - defaultMessage: 'Overview', - }), - order: 0, - enabled: false, // Disabled doc view by default, can be programmatically enabled using the DocViewsRegistry.prototype.enableById method. - component: (props) => { - return ; - }, - }); - this.docViewsRegistry.add({ id: 'doc_view_table', title: i18n.translate('unifiedDocViewer.docViews.table.tableTitle', { @@ -123,7 +106,7 @@ export class UnifiedDocViewerPublicPlugin public start(core: CoreStart, deps: UnifiedDocViewerStartDeps) { const { analytics, uiSettings } = core; - const { data, discoverShared, fieldFormats, fieldsMetadata, share } = deps; + const { data, fieldFormats, fieldsMetadata, share } = deps; const storage = new Storage(localStorage); const unifiedDocViewer = { registry: this.docViewsRegistry, @@ -131,7 +114,6 @@ export class UnifiedDocViewerPublicPlugin const services = { analytics, data, - discoverShared, fieldFormats, fieldsMetadata, storage, diff --git a/src/plugins/unified_doc_viewer/public/types.ts b/src/plugins/unified_doc_viewer/public/types.ts index e471fa87b85c1..9266328306aaf 100644 --- a/src/plugins/unified_doc_viewer/public/types.ts +++ b/src/plugins/unified_doc_viewer/public/types.ts @@ -11,7 +11,6 @@ export type { UnifiedDocViewerSetup, UnifiedDocViewerStart } from './plugin'; import type { AnalyticsServiceStart } from '@kbn/core-analytics-browser'; import type { DataPublicPluginStart } from '@kbn/data-plugin/public'; -import type { DiscoverSharedPublicStart } from '@kbn/discover-shared-plugin/public'; import type { FieldFormatsStart } from '@kbn/field-formats-plugin/public'; import type { FieldsMetadataPublicStart } from '@kbn/fields-metadata-plugin/public'; import type { Storage } from '@kbn/kibana-utils-plugin/public'; @@ -22,7 +21,6 @@ import type { UnifiedDocViewerStart } from './plugin'; export interface UnifiedDocViewerServices { analytics: AnalyticsServiceStart; data: DataPublicPluginStart; - discoverShared: DiscoverSharedPublicStart; fieldFormats: FieldFormatsStart; fieldsMetadata: FieldsMetadataPublicStart; storage: Storage; diff --git a/src/plugins/vis_types/timelion/server/series_functions/label.js b/src/plugins/vis_types/timelion/server/series_functions/label.js index a0e6f8ef3cb3b..fd1806f16118e 100644 --- a/src/plugins/vis_types/timelion/server/series_functions/label.js +++ b/src/plugins/vis_types/timelion/server/series_functions/label.js @@ -9,6 +9,7 @@ import { i18n } from '@kbn/i18n'; import alter from '../lib/alter'; import Chainable from '../lib/classes/chainable'; +import { RE2JS } from 're2js'; export default new Chainable('label', { args: [ @@ -40,10 +41,9 @@ export default new Chainable('label', { const config = args.byName; return alter(args, function (eachSeries) { if (config.regex) { - // not using a standard `import` so that if there's an issue with the re2 native module - // that it doesn't prevent Kibana from starting up and we only have an issue using Timelion labels - const RE2 = require('re2'); - eachSeries.label = eachSeries.label.replace(new RE2(config.regex), config.label); + eachSeries.label = RE2JS.compile(config.regex) + .matcher(eachSeries.label) + .replaceAll(config.label); } else if (config.label) { eachSeries.label = config.label; } diff --git a/test/accessibility/apps/discover.ts b/test/accessibility/apps/discover.ts index abdfe096efab2..ef92ee78f0899 100644 --- a/test/accessibility/apps/discover.ts +++ b/test/accessibility/apps/discover.ts @@ -122,8 +122,7 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) { // adding a11y tests for the new data grid it('a11y test on single document view', async () => { - await testSubjects.click('docTableExpandToggleColumn'); - await PageObjects.discover.clickDocViewerTab('doc_view_table'); + await dataGrid.clickRowToggle(); await a11y.testAppSnapshot(); }); diff --git a/test/api_integration/apis/esql/errors.ts b/test/api_integration/apis/esql/errors.ts index 5dcc951e95484..e74f86efcb44c 100644 --- a/test/api_integration/apis/esql/errors.ts +++ b/test/api_integration/apis/esql/errors.ts @@ -237,8 +237,7 @@ export default function ({ getService }: FtrProviderContext) { await cleanup(); }); - // FAILING ES PROMOTION: https://github.com/elastic/kibana/issues/188109 - it.skip(`Checking error messages`, async () => { + it(`Checking error messages`, async () => { for (const { query, error } of queryToErrors) { const jsonBody = await sendESQLQuery(query); diff --git a/test/functional/apps/dashboard/group1/url_field_formatter.ts b/test/functional/apps/dashboard/group1/url_field_formatter.ts index b408e0aed14d6..1cc49998770bf 100644 --- a/test/functional/apps/dashboard/group1/url_field_formatter.ts +++ b/test/functional/apps/dashboard/group1/url_field_formatter.ts @@ -25,6 +25,7 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) { const deployment = getService('deployment'); const retry = getService('retry'); const security = getService('security'); + const dataGrid = getService('dataGrid'); const checkUrl = async (fieldValue: string) => { const windowHandlers = await browser.getAllWindowHandles(); @@ -79,7 +80,7 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) { await common.setTime({ from, to }); await common.navigateToApp('discover'); await discover.selectIndexPattern('logstash-*'); - await testSubjects.click('docTableExpandToggleColumn'); + await dataGrid.clickRowToggle(); await retry.waitForWithTimeout(`${fieldName} is visible`, 30000, async () => { return await testSubjects.isDisplayed(`tableDocViewRow-${fieldName}-value`); }); @@ -87,8 +88,8 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) { `[data-test-subj="tableDocViewRow-${fieldName}-value"] a` ); const fieldValue = await fieldLink.getVisibleText(); - await fieldLink.click(); await retry.try(async () => { + await fieldLink.click(); await checkUrl(fieldValue); }); }); diff --git a/test/functional/apps/discover/context_awareness/_data_source_profile.ts b/test/functional/apps/discover/context_awareness/_data_source_profile.ts index f3f7e35d7030b..594e6dee5dd78 100644 --- a/test/functional/apps/discover/context_awareness/_data_source_profile.ts +++ b/test/functional/apps/discover/context_awareness/_data_source_profile.ts @@ -73,7 +73,7 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) { await dataGrid.clickRowToggle({ rowIndex: 0 }); await testSubjects.existOrFail('docViewerTab-doc_view_table'); await testSubjects.existOrFail('docViewerTab-doc_view_source'); - await testSubjects.missingOrFail('docViewerTab-doc_view_logs_overview'); + await testSubjects.missingOrFail('docViewerTab-doc_view_example'); expect(await testSubjects.getVisibleText('docViewerRowDetailsTitle')).to.be('Result'); }); @@ -89,7 +89,7 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) { await dataGrid.clickRowToggle({ rowIndex: 0 }); await testSubjects.existOrFail('docViewerTab-doc_view_table'); await testSubjects.existOrFail('docViewerTab-doc_view_source'); - await testSubjects.existOrFail('docViewerTab-doc_view_logs_overview'); + await testSubjects.existOrFail('docViewerTab-doc_view_example'); expect(await testSubjects.getVisibleText('docViewerRowDetailsTitle')).to.be('Record #0'); }); }); @@ -136,7 +136,7 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) { await dataGrid.clickRowToggle({ rowIndex: 0 }); await testSubjects.existOrFail('docViewerTab-doc_view_table'); await testSubjects.existOrFail('docViewerTab-doc_view_source'); - await testSubjects.missingOrFail('docViewerTab-doc_view_logs_overview'); + await testSubjects.missingOrFail('docViewerTab-doc_view_example'); expect(await testSubjects.getVisibleText('docViewerRowDetailsTitle')).to.be('Document'); }); @@ -147,7 +147,7 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) { await dataGrid.clickRowToggle({ rowIndex: 0 }); await testSubjects.existOrFail('docViewerTab-doc_view_table'); await testSubjects.existOrFail('docViewerTab-doc_view_source'); - await testSubjects.existOrFail('docViewerTab-doc_view_logs_overview'); + await testSubjects.existOrFail('docViewerTab-doc_view_example'); expect(await testSubjects.getVisibleText('docViewerRowDetailsTitle')).to.be( 'Record #my-example-logs::XdQFDpABfGznVC1bCHLo::' ); diff --git a/test/functional/apps/discover/context_awareness/extensions/_get_doc_viewer.ts b/test/functional/apps/discover/context_awareness/extensions/_get_doc_viewer.ts new file mode 100644 index 0000000000000..7f60f92cf6191 --- /dev/null +++ b/test/functional/apps/discover/context_awareness/extensions/_get_doc_viewer.ts @@ -0,0 +1,73 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. + */ + +import kbnRison from '@kbn/rison'; +import type { FtrProviderContext } from '../../ftr_provider_context'; + +export default function ({ getService, getPageObjects }: FtrProviderContext) { + const PageObjects = getPageObjects(['common', 'discover']); + const testSubjects = getService('testSubjects'); + const dataViews = getService('dataViews'); + const dataGrid = getService('dataGrid'); + + describe('extension getDocViewer', () => { + describe('ES|QL mode', () => { + it('should render logs overview tab for logs data source', async () => { + const state = kbnRison.encode({ + dataSource: { type: 'esql' }, + query: { esql: 'from my-example-logs | sort @timestamp desc' }, + }); + await PageObjects.common.navigateToApp('discover', { + hash: `/?_a=${state}`, + }); + await PageObjects.discover.waitUntilSearchingHasFinished(); + await dataGrid.clickRowToggle(); + await testSubjects.existOrFail('docViewerTab-doc_view_table'); + await testSubjects.existOrFail('docViewerTab-doc_view_logs_overview'); + await dataGrid.clickDocViewerTab('doc_view_logs_overview'); + await testSubjects.existOrFail('unifiedDocViewLogsOverviewHeader'); + }); + + it('should not render logs overview tab for non-logs data source', async () => { + const state = kbnRison.encode({ + dataSource: { type: 'esql' }, + query: { esql: 'from my-example-metrics | sort @timestamp desc' }, + }); + await PageObjects.common.navigateToApp('discover', { + hash: `/?_a=${state}`, + }); + await PageObjects.discover.waitUntilSearchingHasFinished(); + await dataGrid.clickRowToggle(); + await testSubjects.existOrFail('docViewerTab-doc_view_table'); + await testSubjects.missingOrFail('docViewerTab-doc_view_logs_overview'); + }); + }); + + describe('data view mode', () => { + it('should render logs overview tab for logs data source', async () => { + await PageObjects.common.navigateToApp('discover'); + await dataViews.switchTo('my-example-logs'); + await PageObjects.discover.waitUntilSearchingHasFinished(); + await dataGrid.clickRowToggle(); + await testSubjects.existOrFail('docViewerTab-doc_view_table'); + await testSubjects.existOrFail('docViewerTab-doc_view_logs_overview'); + await dataGrid.clickDocViewerTab('doc_view_logs_overview'); + await testSubjects.existOrFail('unifiedDocViewLogsOverviewHeader'); + }); + + it('should not render logs overview tab for non-logs data source', async () => { + await PageObjects.common.navigateToApp('discover'); + await dataViews.switchTo('my-example-metrics'); + await PageObjects.discover.waitUntilSearchingHasFinished(); + await dataGrid.clickRowToggle(); + await testSubjects.existOrFail('docViewerTab-doc_view_table'); + await testSubjects.missingOrFail('docViewerTab-doc_view_logs_overview'); + }); + }); + }); +} diff --git a/test/functional/apps/discover/context_awareness/index.ts b/test/functional/apps/discover/context_awareness/index.ts index 5ea6bc9ea0e26..b642bcbce7476 100644 --- a/test/functional/apps/discover/context_awareness/index.ts +++ b/test/functional/apps/discover/context_awareness/index.ts @@ -36,5 +36,6 @@ export default function ({ getService, getPageObjects, loadTestFile }: FtrProvid loadTestFile(require.resolve('./_root_profile')); loadTestFile(require.resolve('./_data_source_profile')); loadTestFile(require.resolve('./extensions/_get_row_indicator_provider')); + loadTestFile(require.resolve('./extensions/_get_doc_viewer')); }); } diff --git a/test/functional/apps/discover/group2_data_grid1/_data_grid_doc_table.ts b/test/functional/apps/discover/group2_data_grid1/_data_grid_doc_table.ts index 050900047c489..5d96a3d3fb321 100644 --- a/test/functional/apps/discover/group2_data_grid1/_data_grid_doc_table.ts +++ b/test/functional/apps/discover/group2_data_grid1/_data_grid_doc_table.ts @@ -10,7 +10,6 @@ import expect from '@kbn/expect'; import { FtrProviderContext } from '../ftr_provider_context'; export default function ({ getService, getPageObjects }: FtrProviderContext) { - const find = getService('find'); const dataGrid = getService('dataGrid'); const log = getService('log'); const retry = getService('retry'); @@ -95,10 +94,7 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) { }); log.debug(`expanded document id: ${expandDocId}`); - await dataGrid.clickRowToggle(); - await find.clickByCssSelectorWhenNotDisabledWithoutRetry( - '#kbn_doc_viewer_tab_doc_view_source' - ); + await dataGrid.clickRowToggle({ defaultTabId: 'doc_view_source' }); await retry.waitForWithTimeout( 'document id in flyout matching the expanded document id', @@ -139,10 +135,7 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) { }); log.debug(`expanded document id: ${expandDocId}`); - await dataGrid.clickRowToggle(); - await find.clickByCssSelectorWhenNotDisabledWithoutRetry( - '#kbn_doc_viewer_tab_doc_view_source' - ); + await dataGrid.clickRowToggle({ defaultTabId: 'doc_view_source' }); await retry.waitForWithTimeout( 'document id in flyout matching the expanded document id', diff --git a/test/functional/fixtures/kbn_archiver/discover/context_awareness.json b/test/functional/fixtures/kbn_archiver/discover/context_awareness.json index 5232a109e5799..a4a086afc11ce 100644 --- a/test/functional/fixtures/kbn_archiver/discover/context_awareness.json +++ b/test/functional/fixtures/kbn_archiver/discover/context_awareness.json @@ -46,4 +46,29 @@ "updated_at": "2024-06-12T22:23:21.331Z", "updated_by": "u_mGBROF_q5bmFCATbLXAcCwKa0k8JvONAwSruelyKA5E_0", "version": "WzEwLDFd" +} + +{ + "attributes": { + "allowHidden": false, + "fieldAttrs": "{}", + "fieldFormatMap": "{}", + "fields": "[]", + "name": "my-example-metrics", + "runtimeFieldMap": "{}", + "sourceFilters": "[]", + "timeFieldName": "@timestamp", + "title": "my-example-metrics" + }, + "coreMigrationVersion": "8.8.0", + "created_at": "2024-06-12T22:23:31.331Z", + "created_by": "u_mGBROF_q5bmFCATbLXAcCwKa0k8JvONAwSruelyKA5E_0", + "id": "795df528-add1-491a-8e25-72a862c4bf3b", + "managed": false, + "references": [], + "type": "index-pattern", + "typeMigrationVersion": "8.0.0", + "updated_at": "2024-06-12T22:23:21.331Z", + "updated_by": "u_mGBROF_q5bmFCATbLXAcCwKa0k8JvONAwSruelyKA5E_0", + "version": "WzEwLDFc" } \ No newline at end of file diff --git a/test/functional/page_objects/discover_page.ts b/test/functional/page_objects/discover_page.ts index 25bbd3900513e..81f4bad5b5b1e 100644 --- a/test/functional/page_objects/discover_page.ts +++ b/test/functional/page_objects/discover_page.ts @@ -431,12 +431,12 @@ export class DiscoverPageObject extends FtrService { return await this.testSubjects.find('discoverDocTableFooter'); } - public async isShowingDocViewer() { - return await this.testSubjects.exists('kbnDocViewer'); + public isShowingDocViewer() { + return this.dataGrid.isShowingDocViewer(); } - public async clickDocViewerTab(id: string) { - return await this.find.clickByCssSelector(`#kbn_doc_viewer_tab_${id}`); + public clickDocViewerTab(id: string) { + return this.dataGrid.clickDocViewerTab(id); } public async expectSourceViewerToExist() { diff --git a/test/functional/services/data_grid.ts b/test/functional/services/data_grid.ts index caa7f5c6b02a2..7df0c5f49bf00 100644 --- a/test/functional/services/data_grid.ts +++ b/test/functional/services/data_grid.ts @@ -302,7 +302,10 @@ export class DataGridService extends FtrService { } public async clickRowToggle( - options: SelectOptions = { isAnchorRow: false, rowIndex: 0 } + { defaultTabId, ...options }: SelectOptions & { defaultTabId?: string } = { + isAnchorRow: false, + rowIndex: 0, + } ): Promise { const testSubj = options.isAnchorRow ? 'docTableExpandToggleColumnAnchor' @@ -321,11 +324,24 @@ export class DataGridService extends FtrService { }); if (toggle) { - await toggle.scrollIntoViewIfNecessary(); - await toggle.click(); + await this.retry.waitFor('doc viewer to open', async () => { + await toggle!.scrollIntoViewIfNecessary(); + await toggle!.click(); + return this.isShowingDocViewer(); + }); } else { throw new Error('Unable to find row toggle element'); } + + await this.clickDocViewerTab(defaultTabId ?? 'doc_view_table'); + } + + public async isShowingDocViewer() { + return await this.testSubjects.exists('kbnDocViewer'); + } + + public async clickDocViewerTab(id: string) { + return await this.find.clickByCssSelector(`#kbn_doc_viewer_tab_${id}`); } public async getDetailsRows(): Promise { diff --git a/x-pack/examples/triggers_actions_ui_example/public/components/rules_list_notify_badge_sandbox.tsx b/x-pack/examples/triggers_actions_ui_example/public/components/rules_list_notify_badge_sandbox.tsx index de09c88742a74..54ef090006737 100644 --- a/x-pack/examples/triggers_actions_ui_example/public/components/rules_list_notify_badge_sandbox.tsx +++ b/x-pack/examples/triggers_actions_ui_example/public/components/rules_list_notify_badge_sandbox.tsx @@ -15,6 +15,7 @@ interface SandboxProps { const mockSnoozeSettings: RuleSnoozeSettings = { muteAll: true, + name: '', }; export const RulesListNotifyBadgeSandbox = ({ triggersActionsUi }: SandboxProps) => { diff --git a/x-pack/packages/kbn-data-forge/src/data_sources/fake_hosts/ecs/fields/custom/system.yml b/x-pack/packages/kbn-data-forge/src/data_sources/fake_hosts/ecs/fields/custom/system.yml index 00f986a666075..168a1028952f1 100644 --- a/x-pack/packages/kbn-data-forge/src/data_sources/fake_hosts/ecs/fields/custom/system.yml +++ b/x-pack/packages/kbn-data-forge/src/data_sources/fake_hosts/ecs/fields/custom/system.yml @@ -20,6 +20,18 @@ level: custom type: float description: "Percentage of CPU usage by system processes" + - name: load.1 + level: custom + type: float + description: "Load 1m by system processes" + - name: memory.actual.used.pct + level: custom + type: float + description: "Percentage of actual memory by system processes" + - name: filesystem.used.pct + level: custom + type: float + description: "Percentage of filesytem used by system processes" - name: network.name type: keyword level: custom diff --git a/x-pack/packages/kbn-data-forge/src/data_sources/fake_hosts/ecs/fields/template-settings.json b/x-pack/packages/kbn-data-forge/src/data_sources/fake_hosts/ecs/fields/template-settings.json index 50978547015d0..2391a4ad80ce9 100644 --- a/x-pack/packages/kbn-data-forge/src/data_sources/fake_hosts/ecs/fields/template-settings.json +++ b/x-pack/packages/kbn-data-forge/src/data_sources/fake_hosts/ecs/fields/template-settings.json @@ -4,6 +4,7 @@ "template": { "settings": { "index": { + "final_pipeline": "kbn-data-forge-add-event-ingested", "codec" : "best_compression", "mapping": { "total_fields": { diff --git a/x-pack/packages/kbn-data-forge/src/data_sources/fake_hosts/ecs/generated/beats/fields.ecs.yml b/x-pack/packages/kbn-data-forge/src/data_sources/fake_hosts/ecs/generated/beats/fields.ecs.yml index f69fb05d790ea..9df9f1628cd89 100644 --- a/x-pack/packages/kbn-data-forge/src/data_sources/fake_hosts/ecs/generated/beats/fields.ecs.yml +++ b/x-pack/packages/kbn-data-forge/src/data_sources/fake_hosts/ecs/generated/beats/fields.ecs.yml @@ -398,6 +398,21 @@ type: float description: Percentage of CPU usage by user processes default_field: false + - name: filesystem.used.pct + level: custom + type: float + description: Percentage of filesytem used by system processes + default_field: false + - name: load.1 + level: custom + type: float + description: Load 1m by system processes + default_field: false + - name: memory.actual.used.pct + level: custom + type: float + description: Percentage of actual memory by system processes + default_field: false - name: network.in.bytes level: custom type: long diff --git a/x-pack/packages/kbn-data-forge/src/data_sources/fake_hosts/ecs/generated/csv/fields.csv b/x-pack/packages/kbn-data-forge/src/data_sources/fake_hosts/ecs/generated/csv/fields.csv index 809fe586cd103..6d792fe7d2336 100644 --- a/x-pack/packages/kbn-data-forge/src/data_sources/fake_hosts/ecs/generated/csv/fields.csv +++ b/x-pack/packages/kbn-data-forge/src/data_sources/fake_hosts/ecs/generated/csv/fields.csv @@ -46,6 +46,9 @@ ECS_Version,Indexed,Field_Set,Field,Type,Level,Normalization,Example,Description 8.0.0,true,system,system.cpu.system.pct,float,custom,,,Percentage of CPU usage by system processes 8.0.0,true,system,system.cpu.total.norm.pct,float,custom,,,Percentage of CPU usage 8.0.0,true,system,system.cpu.user.pct,float,custom,,,Percentage of CPU usage by user processes +8.0.0,true,system,system.filesystem.used.pct,float,custom,,,Percentage of filesytem used by system processes +8.0.0,true,system,system.load.1,float,custom,,,Load 1m by system processes +8.0.0,true,system,system.memory.actual.used.pct,float,custom,,,Percentage of actual memory by system processes 8.0.0,true,system,system.network.in.bytes,long,custom,,,Number of incoming bytes 8.0.0,true,system,system.network.name,keyword,custom,,,Name of the network interface 8.0.0,true,system,system.network.out.bytes,long,custom,,,Number of outgoing bytes diff --git a/x-pack/packages/kbn-data-forge/src/data_sources/fake_hosts/ecs/generated/ecs/ecs_flat.yml b/x-pack/packages/kbn-data-forge/src/data_sources/fake_hosts/ecs/generated/ecs/ecs_flat.yml index a4598f341a717..976b185fe3cd9 100644 --- a/x-pack/packages/kbn-data-forge/src/data_sources/fake_hosts/ecs/generated/ecs/ecs_flat.yml +++ b/x-pack/packages/kbn-data-forge/src/data_sources/fake_hosts/ecs/generated/ecs/ecs_flat.yml @@ -554,6 +554,33 @@ system.cpu.user.pct: normalize: [] short: Percentage of CPU usage by user processes type: float +system.filesystem.used.pct: + dashed_name: system-filesystem-used-pct + description: Percentage of filesytem used by system processes + flat_name: system.filesystem.used.pct + level: custom + name: filesystem.used.pct + normalize: [] + short: Percentage of filesytem used by system processes + type: float +system.load.1: + dashed_name: system-load-1 + description: Load 1m by system processes + flat_name: system.load.1 + level: custom + name: load.1 + normalize: [] + short: Load 1m by system processes + type: float +system.memory.actual.used.pct: + dashed_name: system-memory-actual-used-pct + description: Percentage of actual memory by system processes + flat_name: system.memory.actual.used.pct + level: custom + name: memory.actual.used.pct + normalize: [] + short: Percentage of actual memory by system processes + type: float system.network.in.bytes: dashed_name: system-network-in-bytes description: Number of incoming bytes diff --git a/x-pack/packages/kbn-data-forge/src/data_sources/fake_hosts/ecs/generated/ecs/ecs_nested.yml b/x-pack/packages/kbn-data-forge/src/data_sources/fake_hosts/ecs/generated/ecs/ecs_nested.yml index 778fef1eac743..4780444e98cb0 100644 --- a/x-pack/packages/kbn-data-forge/src/data_sources/fake_hosts/ecs/generated/ecs/ecs_nested.yml +++ b/x-pack/packages/kbn-data-forge/src/data_sources/fake_hosts/ecs/generated/ecs/ecs_nested.yml @@ -638,6 +638,33 @@ system: normalize: [] short: Percentage of CPU usage by user processes type: float + system.filesystem.used.pct: + dashed_name: system-filesystem-used-pct + description: Percentage of filesytem used by system processes + flat_name: system.filesystem.used.pct + level: custom + name: filesystem.used.pct + normalize: [] + short: Percentage of filesytem used by system processes + type: float + system.load.1: + dashed_name: system-load-1 + description: Load 1m by system processes + flat_name: system.load.1 + level: custom + name: load.1 + normalize: [] + short: Load 1m by system processes + type: float + system.memory.actual.used.pct: + dashed_name: system-memory-actual-used-pct + description: Percentage of actual memory by system processes + flat_name: system.memory.actual.used.pct + level: custom + name: memory.actual.used.pct + normalize: [] + short: Percentage of actual memory by system processes + type: float system.network.in.bytes: dashed_name: system-network-in-bytes description: Number of incoming bytes diff --git a/x-pack/packages/kbn-data-forge/src/data_sources/fake_hosts/ecs/generated/ecs/subset/fake_hosts/ecs_flat.yml b/x-pack/packages/kbn-data-forge/src/data_sources/fake_hosts/ecs/generated/ecs/subset/fake_hosts/ecs_flat.yml index a4598f341a717..976b185fe3cd9 100644 --- a/x-pack/packages/kbn-data-forge/src/data_sources/fake_hosts/ecs/generated/ecs/subset/fake_hosts/ecs_flat.yml +++ b/x-pack/packages/kbn-data-forge/src/data_sources/fake_hosts/ecs/generated/ecs/subset/fake_hosts/ecs_flat.yml @@ -554,6 +554,33 @@ system.cpu.user.pct: normalize: [] short: Percentage of CPU usage by user processes type: float +system.filesystem.used.pct: + dashed_name: system-filesystem-used-pct + description: Percentage of filesytem used by system processes + flat_name: system.filesystem.used.pct + level: custom + name: filesystem.used.pct + normalize: [] + short: Percentage of filesytem used by system processes + type: float +system.load.1: + dashed_name: system-load-1 + description: Load 1m by system processes + flat_name: system.load.1 + level: custom + name: load.1 + normalize: [] + short: Load 1m by system processes + type: float +system.memory.actual.used.pct: + dashed_name: system-memory-actual-used-pct + description: Percentage of actual memory by system processes + flat_name: system.memory.actual.used.pct + level: custom + name: memory.actual.used.pct + normalize: [] + short: Percentage of actual memory by system processes + type: float system.network.in.bytes: dashed_name: system-network-in-bytes description: Number of incoming bytes diff --git a/x-pack/packages/kbn-data-forge/src/data_sources/fake_hosts/ecs/generated/ecs/subset/fake_hosts/ecs_nested.yml b/x-pack/packages/kbn-data-forge/src/data_sources/fake_hosts/ecs/generated/ecs/subset/fake_hosts/ecs_nested.yml index 778fef1eac743..4780444e98cb0 100644 --- a/x-pack/packages/kbn-data-forge/src/data_sources/fake_hosts/ecs/generated/ecs/subset/fake_hosts/ecs_nested.yml +++ b/x-pack/packages/kbn-data-forge/src/data_sources/fake_hosts/ecs/generated/ecs/subset/fake_hosts/ecs_nested.yml @@ -638,6 +638,33 @@ system: normalize: [] short: Percentage of CPU usage by user processes type: float + system.filesystem.used.pct: + dashed_name: system-filesystem-used-pct + description: Percentage of filesytem used by system processes + flat_name: system.filesystem.used.pct + level: custom + name: filesystem.used.pct + normalize: [] + short: Percentage of filesytem used by system processes + type: float + system.load.1: + dashed_name: system-load-1 + description: Load 1m by system processes + flat_name: system.load.1 + level: custom + name: load.1 + normalize: [] + short: Load 1m by system processes + type: float + system.memory.actual.used.pct: + dashed_name: system-memory-actual-used-pct + description: Percentage of actual memory by system processes + flat_name: system.memory.actual.used.pct + level: custom + name: memory.actual.used.pct + normalize: [] + short: Percentage of actual memory by system processes + type: float system.network.in.bytes: dashed_name: system-network-in-bytes description: Number of incoming bytes diff --git a/x-pack/packages/kbn-data-forge/src/data_sources/fake_hosts/ecs/generated/elasticsearch/composable/component/system.json b/x-pack/packages/kbn-data-forge/src/data_sources/fake_hosts/ecs/generated/elasticsearch/composable/component/system.json index 46335a6da442c..2c49220952ffe 100644 --- a/x-pack/packages/kbn-data-forge/src/data_sources/fake_hosts/ecs/generated/elasticsearch/composable/component/system.json +++ b/x-pack/packages/kbn-data-forge/src/data_sources/fake_hosts/ecs/generated/elasticsearch/composable/component/system.json @@ -39,6 +39,39 @@ } } }, + "filesystem": { + "properties": { + "used": { + "properties": { + "pct": { + "type": "float" + } + } + } + } + }, + "load": { + "properties": { + "1": { + "type": "float" + } + } + }, + "memory": { + "properties": { + "actual": { + "properties": { + "used": { + "properties": { + "pct": { + "type": "float" + } + } + } + } + } + } + }, "network": { "properties": { "in": { diff --git a/x-pack/packages/kbn-data-forge/src/data_sources/fake_hosts/ecs/generated/elasticsearch/composable/template.json b/x-pack/packages/kbn-data-forge/src/data_sources/fake_hosts/ecs/generated/elasticsearch/composable/template.json index 2088628dc39d2..02a695ff8077a 100644 --- a/x-pack/packages/kbn-data-forge/src/data_sources/fake_hosts/ecs/generated/elasticsearch/composable/template.json +++ b/x-pack/packages/kbn-data-forge/src/data_sources/fake_hosts/ecs/generated/elasticsearch/composable/template.json @@ -41,6 +41,7 @@ "settings": { "index": { "codec": "best_compression", + "final_pipeline": "kbn-data-forge-add-event-ingested", "mapping": { "total_fields": { "limit": 2000 diff --git a/x-pack/packages/kbn-data-forge/src/data_sources/fake_hosts/ecs/generated/elasticsearch/legacy/template.json b/x-pack/packages/kbn-data-forge/src/data_sources/fake_hosts/ecs/generated/elasticsearch/legacy/template.json index 44f07e8f7c941..7e4d8a38716ed 100644 --- a/x-pack/packages/kbn-data-forge/src/data_sources/fake_hosts/ecs/generated/elasticsearch/legacy/template.json +++ b/x-pack/packages/kbn-data-forge/src/data_sources/fake_hosts/ecs/generated/elasticsearch/legacy/template.json @@ -264,6 +264,39 @@ } } }, + "filesystem": { + "properties": { + "used": { + "properties": { + "pct": { + "type": "float" + } + } + } + } + }, + "load": { + "properties": { + "1": { + "type": "float" + } + } + }, + "memory": { + "properties": { + "actual": { + "properties": { + "used": { + "properties": { + "pct": { + "type": "float" + } + } + } + } + } + } + }, "network": { "properties": { "in": { diff --git a/x-pack/packages/kbn-data-forge/src/data_sources/fake_logs/ecs/fields/template-settings.json b/x-pack/packages/kbn-data-forge/src/data_sources/fake_logs/ecs/fields/template-settings.json index 0cc42f219b9ec..bb01eba7cf486 100644 --- a/x-pack/packages/kbn-data-forge/src/data_sources/fake_logs/ecs/fields/template-settings.json +++ b/x-pack/packages/kbn-data-forge/src/data_sources/fake_logs/ecs/fields/template-settings.json @@ -4,6 +4,7 @@ "template": { "settings": { "index": { + "final_pipeline": "kbn-data-forge-add-event-ingested", "codec" : "best_compression", "mapping": { "total_fields": { diff --git a/x-pack/packages/kbn-data-forge/src/data_sources/fake_logs/ecs/generated/elasticsearch/composable/template.json b/x-pack/packages/kbn-data-forge/src/data_sources/fake_logs/ecs/generated/elasticsearch/composable/template.json index 80f2ba5ff214e..2edfa2da72181 100644 --- a/x-pack/packages/kbn-data-forge/src/data_sources/fake_logs/ecs/generated/elasticsearch/composable/template.json +++ b/x-pack/packages/kbn-data-forge/src/data_sources/fake_logs/ecs/generated/elasticsearch/composable/template.json @@ -40,6 +40,7 @@ }, "settings": { "index": { + "final_pipeline": "kbn-data-forge-add-event-ingested", "codec": "best_compression", "mapping": { "total_fields": { diff --git a/x-pack/packages/kbn-data-forge/src/data_sources/fake_stack/admin_console/ecs/fields/template-settings.json b/x-pack/packages/kbn-data-forge/src/data_sources/fake_stack/admin_console/ecs/fields/template-settings.json index 8701589586d51..c6824e9f03a73 100644 --- a/x-pack/packages/kbn-data-forge/src/data_sources/fake_stack/admin_console/ecs/fields/template-settings.json +++ b/x-pack/packages/kbn-data-forge/src/data_sources/fake_stack/admin_console/ecs/fields/template-settings.json @@ -4,6 +4,7 @@ "template": { "settings": { "index": { + "final_pipeline": "kbn-data-forge-add-event-ingested", "codec" : "best_compression", "mapping": { "total_fields": { diff --git a/x-pack/packages/kbn-data-forge/src/data_sources/fake_stack/admin_console/ecs/generated/elasticsearch/composable/template.json b/x-pack/packages/kbn-data-forge/src/data_sources/fake_stack/admin_console/ecs/generated/elasticsearch/composable/template.json index e087950fd5339..edbdb2d43ef0a 100644 --- a/x-pack/packages/kbn-data-forge/src/data_sources/fake_stack/admin_console/ecs/generated/elasticsearch/composable/template.json +++ b/x-pack/packages/kbn-data-forge/src/data_sources/fake_stack/admin_console/ecs/generated/elasticsearch/composable/template.json @@ -43,6 +43,7 @@ }, "settings": { "index": { + "final_pipeline": "kbn-data-forge-add-event-ingested", "codec": "best_compression", "mapping": { "total_fields": { diff --git a/x-pack/packages/kbn-data-forge/src/data_sources/fake_stack/heartbeat/ecs/fields/template-settings.json b/x-pack/packages/kbn-data-forge/src/data_sources/fake_stack/heartbeat/ecs/fields/template-settings.json index 4b09a7697ff8b..b72358580e6de 100644 --- a/x-pack/packages/kbn-data-forge/src/data_sources/fake_stack/heartbeat/ecs/fields/template-settings.json +++ b/x-pack/packages/kbn-data-forge/src/data_sources/fake_stack/heartbeat/ecs/fields/template-settings.json @@ -4,6 +4,7 @@ "template": { "settings": { "index": { + "final_pipeline": "kbn-data-forge-add-event-ingested", "codec" : "best_compression", "mapping": { "total_fields": { diff --git a/x-pack/packages/kbn-data-forge/src/data_sources/fake_stack/heartbeat/ecs/generated/elasticsearch/composable/template.json b/x-pack/packages/kbn-data-forge/src/data_sources/fake_stack/heartbeat/ecs/generated/elasticsearch/composable/template.json index 2c43c16cf6930..ce311e03186e9 100644 --- a/x-pack/packages/kbn-data-forge/src/data_sources/fake_stack/heartbeat/ecs/generated/elasticsearch/composable/template.json +++ b/x-pack/packages/kbn-data-forge/src/data_sources/fake_stack/heartbeat/ecs/generated/elasticsearch/composable/template.json @@ -38,6 +38,7 @@ }, "settings": { "index": { + "final_pipeline": "kbn-data-forge-add-event-ingested", "codec": "best_compression", "mapping": { "total_fields": { diff --git a/x-pack/packages/kbn-data-forge/src/data_sources/fake_stack/message_processor/ecs/fields/template-settings.json b/x-pack/packages/kbn-data-forge/src/data_sources/fake_stack/message_processor/ecs/fields/template-settings.json index b78d35671d727..b57e6ba96ff3b 100644 --- a/x-pack/packages/kbn-data-forge/src/data_sources/fake_stack/message_processor/ecs/fields/template-settings.json +++ b/x-pack/packages/kbn-data-forge/src/data_sources/fake_stack/message_processor/ecs/fields/template-settings.json @@ -4,6 +4,7 @@ "template": { "settings": { "index": { + "final_pipeline": "kbn-data-forge-add-event-ingested", "codec" : "best_compression", "mapping": { "total_fields": { diff --git a/x-pack/packages/kbn-data-forge/src/data_sources/fake_stack/message_processor/ecs/generated/elasticsearch/composable/template.json b/x-pack/packages/kbn-data-forge/src/data_sources/fake_stack/message_processor/ecs/generated/elasticsearch/composable/template.json index 3635f9eb219ad..27177ecf573bd 100644 --- a/x-pack/packages/kbn-data-forge/src/data_sources/fake_stack/message_processor/ecs/generated/elasticsearch/composable/template.json +++ b/x-pack/packages/kbn-data-forge/src/data_sources/fake_stack/message_processor/ecs/generated/elasticsearch/composable/template.json @@ -39,6 +39,7 @@ }, "settings": { "index": { + "final_pipeline": "kbn-data-forge-add-event-ingested", "codec": "best_compression", "mapping": { "total_fields": { diff --git a/x-pack/packages/kbn-data-forge/src/data_sources/fake_stack/mongodb/ecs/fields/template-settings.json b/x-pack/packages/kbn-data-forge/src/data_sources/fake_stack/mongodb/ecs/fields/template-settings.json index 67f5e6c3aeb5c..aa596671f01a0 100644 --- a/x-pack/packages/kbn-data-forge/src/data_sources/fake_stack/mongodb/ecs/fields/template-settings.json +++ b/x-pack/packages/kbn-data-forge/src/data_sources/fake_stack/mongodb/ecs/fields/template-settings.json @@ -4,6 +4,7 @@ "template": { "settings": { "index": { + "final_pipeline": "kbn-data-forge-add-event-ingested", "codec" : "best_compression", "mapping": { "total_fields": { diff --git a/x-pack/packages/kbn-data-forge/src/data_sources/fake_stack/mongodb/ecs/generated/elasticsearch/composable/template.json b/x-pack/packages/kbn-data-forge/src/data_sources/fake_stack/mongodb/ecs/generated/elasticsearch/composable/template.json index 4a0b634cbd6e2..6103c3c0f3855 100644 --- a/x-pack/packages/kbn-data-forge/src/data_sources/fake_stack/mongodb/ecs/generated/elasticsearch/composable/template.json +++ b/x-pack/packages/kbn-data-forge/src/data_sources/fake_stack/mongodb/ecs/generated/elasticsearch/composable/template.json @@ -39,6 +39,7 @@ }, "settings": { "index": { + "final_pipeline": "kbn-data-forge-add-event-ingested", "codec": "best_compression", "mapping": { "total_fields": { diff --git a/x-pack/packages/kbn-data-forge/src/data_sources/fake_stack/nginx_proxy/ecs/fields/template-settings.json b/x-pack/packages/kbn-data-forge/src/data_sources/fake_stack/nginx_proxy/ecs/fields/template-settings.json index 03bcce96fa85f..ca58c4dc35972 100644 --- a/x-pack/packages/kbn-data-forge/src/data_sources/fake_stack/nginx_proxy/ecs/fields/template-settings.json +++ b/x-pack/packages/kbn-data-forge/src/data_sources/fake_stack/nginx_proxy/ecs/fields/template-settings.json @@ -4,6 +4,7 @@ "template": { "settings": { "index": { + "final_pipeline": "kbn-data-forge-add-event-ingested", "codec" : "best_compression", "mapping": { "total_fields": { diff --git a/x-pack/packages/kbn-data-forge/src/data_sources/fake_stack/nginx_proxy/ecs/generated/elasticsearch/composable/template.json b/x-pack/packages/kbn-data-forge/src/data_sources/fake_stack/nginx_proxy/ecs/generated/elasticsearch/composable/template.json index 5f28e868e6493..70993582a31fb 100644 --- a/x-pack/packages/kbn-data-forge/src/data_sources/fake_stack/nginx_proxy/ecs/generated/elasticsearch/composable/template.json +++ b/x-pack/packages/kbn-data-forge/src/data_sources/fake_stack/nginx_proxy/ecs/generated/elasticsearch/composable/template.json @@ -40,6 +40,7 @@ }, "settings": { "index": { + "final_pipeline": "kbn-data-forge-add-event-ingested", "codec": "best_compression", "mapping": { "total_fields": { diff --git a/x-pack/packages/kbn-data-forge/src/lib/create_config.ts b/x-pack/packages/kbn-data-forge/src/lib/create_config.ts index 56b59b7d01365..43e51b2c93438 100644 --- a/x-pack/packages/kbn-data-forge/src/lib/create_config.ts +++ b/x-pack/packages/kbn-data-forge/src/lib/create_config.ts @@ -63,6 +63,7 @@ export function createConfig(partialConfig: PartialConfig = {}) { reduceWeekendTrafficBy: DEFAULTS.REDUCE_WEEKEND_TRAFFIC_BY, ephemeralProjectIds: DEFAULTS.EPHEMERAL_PROJECT_IDS, alignEventsToInterval: DEFAULTS.ALIGN_EVENTS_TO_INTERVAL, + artificialIndexDelay: 0, ...(partialConfig.indexing ?? {}), }, schedule: partialConfig.schedule ?? [schedule], diff --git a/x-pack/packages/kbn-data-forge/src/lib/create_events.ts b/x-pack/packages/kbn-data-forge/src/lib/create_events.ts index 5c10df3153983..f787063dfaabc 100644 --- a/x-pack/packages/kbn-data-forge/src/lib/create_events.ts +++ b/x-pack/packages/kbn-data-forge/src/lib/create_events.ts @@ -10,7 +10,13 @@ import moment from 'moment'; import { isNumber, random, range } from 'lodash'; import { ToolingLog } from '@kbn/tooling-log'; import { Client } from '@elastic/elasticsearch'; -import { Config, EventsPerCycle, EventsPerCycleTransitionDefRT, ParsedSchedule } from '../types'; +import { + Config, + Doc, + EventsPerCycle, + EventsPerCycleTransitionDefRT, + ParsedSchedule, +} from '../types'; import { generateEvents } from '../data_sources'; import { createQueue } from './queue'; import { wait } from './wait'; @@ -69,6 +75,7 @@ export async function createEvents( const interval = schedule.interval ?? config.indexing.interval; const calculateEventsPerCycle = createEventsPerCycleFn(schedule, eventsPerCycle, logger); const totalEvents = calculateEventsPerCycle(currentTimestamp); + const endTs = end === false ? moment() : end; if (totalEvents > 0) { let epc = schedule.randomness @@ -86,34 +93,34 @@ export async function createEvents( // When --align-events-to-interval is set, we will index all the events on the same // timestamp. Otherwise they will be distributed across the interval randomly. + let events: Doc[]; + const eventTimestamp = currentTimestamp + .clone() + .subtract(config.indexing.artificialIndexDelay + interval); if (config.indexing.alignEventsToInterval) { - range(epc) + events = range(epc) .map((i) => { const generateEvent = generateEvents[config.indexing.dataset] || generateEvents.fake_logs; - return generateEvent(config, schedule, i, currentTimestamp); + return generateEvent(config, schedule, i, eventTimestamp); }) - .flat() - .forEach((event) => queue.push(event)); + .flat(); } else { - range(epc) + events = range(epc) .map(() => - moment(random(currentTimestamp.valueOf(), currentTimestamp.valueOf() + interval - 1)) + moment(random(eventTimestamp.valueOf(), eventTimestamp.valueOf() + interval - 1)) ) .sort() .map((ts, i) => { const generateEvent = generateEvents[config.indexing.dataset] || generateEvents.fake_logs; return generateEvent(config, schedule, i, ts); }) - .flat() - .forEach((event) => queue.push(event)); + .flat(); } - - await queue.drain(); + await queue.push(events); } else { logger.info({ took: 0, latency: 0, indexed: 0 }, 'Indexing 0 documents.'); } - const endTs = end === false ? moment() : end; if (currentTimestamp.isBefore(endTs)) { return createEvents( config, diff --git a/x-pack/packages/kbn-data-forge/src/lib/install_default_component_template.ts b/x-pack/packages/kbn-data-forge/src/lib/install_default_component_template.ts new file mode 100644 index 0000000000000..04cdf8c0928cd --- /dev/null +++ b/x-pack/packages/kbn-data-forge/src/lib/install_default_component_template.ts @@ -0,0 +1,42 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import { Client } from '@elastic/elasticsearch'; +import { ToolingLog } from '@kbn/tooling-log'; +import { Config } from '../types'; + +const eventIngestedCommonComponentTemplate = { + _meta: { + documentation: 'https://www.elastic.co/guide/en/ecs/current/ecs-event.html', + ecs_version: '8.0.0', + }, + template: { + mappings: { + properties: { + event: { + properties: { + ingested: { + type: 'date', + }, + }, + }, + }, + }, + }, +}; + +export async function installDefaultComponentTemplate( + _config: Config, + client: Client, + logger: ToolingLog +) { + logger.info('Installing base component template: kbn-data-forge_base'); + await client.cluster.putComponentTemplate({ + name: `kbn-data-forge_base`, + ...eventIngestedCommonComponentTemplate, + }); +} diff --git a/x-pack/packages/kbn-data-forge/src/lib/install_default_ingest_pipeline.ts b/x-pack/packages/kbn-data-forge/src/lib/install_default_ingest_pipeline.ts new file mode 100644 index 0000000000000..079d27f39aa6d --- /dev/null +++ b/x-pack/packages/kbn-data-forge/src/lib/install_default_ingest_pipeline.ts @@ -0,0 +1,32 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import { Client } from '@elastic/elasticsearch'; +import { ToolingLog } from '@kbn/tooling-log'; +import { Config } from '../types'; + +const processors = [ + { + set: { + field: 'event.ingested', + value: '{{{_ingest.timestamp}}}', + }, + }, +]; + +export async function installDefaultIngestPipeline( + _config: Config, + client: Client, + logger: ToolingLog +) { + logger.info('Installing default ingest pipeline: kbn-data-forge-add-event-ingested'); + return client.ingest.putPipeline({ + id: 'kbn-data-forge-add-event-ingested', + processors, + version: 1, + }); +} diff --git a/x-pack/packages/kbn-data-forge/src/lib/install_index_template.ts b/x-pack/packages/kbn-data-forge/src/lib/install_index_template.ts index 9b591bf1732f4..f8e5ea719170b 100644 --- a/x-pack/packages/kbn-data-forge/src/lib/install_index_template.ts +++ b/x-pack/packages/kbn-data-forge/src/lib/install_index_template.ts @@ -7,6 +7,7 @@ import { Client } from '@elastic/elasticsearch'; import { ToolingLog } from '@kbn/tooling-log'; +import { isArray } from 'lodash'; import { indexTemplates } from '../data_sources'; import { Config } from '../types'; @@ -26,9 +27,14 @@ export async function installIndexTemplate( await client.cluster.putComponentTemplate({ name: component.name, ...component.template }); } logger.info(`Installing index template (${indexTemplateDef.namespace})`); + // Clone the template and add the base component name + const template = { ...indexTemplateDef.template }; + if (isArray(template.composed_of)) { + template.composed_of.push('kbn-data-forge_base'); + } await client.indices.putIndexTemplate({ name: indexTemplateDef.namespace, - body: indexTemplateDef.template, + body: template, }); } } diff --git a/x-pack/packages/kbn-data-forge/src/lib/queue.ts b/x-pack/packages/kbn-data-forge/src/lib/queue.ts index 4cbfa5fb0a3b1..7c1905689565d 100644 --- a/x-pack/packages/kbn-data-forge/src/lib/queue.ts +++ b/x-pack/packages/kbn-data-forge/src/lib/queue.ts @@ -26,7 +26,7 @@ export const createQueue = (config: Config, client: Client, logger: ToolingLog): docs.forEach((doc) => { const namespace = `${config.indexing.dataset}.${doc.namespace}`; const indexName = `${INDEX_PREFIX}-${namespace}-${moment(doc['@timestamp']).format( - 'YYYY-MM-DD' + 'YYYY-MM-01' )}`; indices.add(indexName); body.push({ create: { _index: indexName } }); diff --git a/x-pack/packages/kbn-data-forge/src/run.ts b/x-pack/packages/kbn-data-forge/src/run.ts index af569e80bea2d..ca9e0f355fab7 100644 --- a/x-pack/packages/kbn-data-forge/src/run.ts +++ b/x-pack/packages/kbn-data-forge/src/run.ts @@ -13,8 +13,12 @@ import { installAssets } from './lib/install_assets'; import { indexSchedule } from './lib/index_schedule'; import { installIndexTemplate } from './lib/install_index_template'; import { indices } from './lib/indices'; +import { installDefaultIngestPipeline } from './lib/install_default_ingest_pipeline'; +import { installDefaultComponentTemplate } from './lib/install_default_component_template'; export async function run(config: Config, client: Client, logger: ToolingLog) { + await installDefaultComponentTemplate(config, client, logger); + await installDefaultIngestPipeline(config, client, logger); await installIndexTemplate(config, client, logger); if (config.elasticsearch.installKibanaUser) { await setupKibanaSystemUser(config, client, logger); @@ -23,6 +27,6 @@ export async function run(config: Config, client: Client, logger: ToolingLog) { await indexSchedule(config, client, logger); const indicesCreated = [...indices]; indices.clear(); - await client.indices.refresh({ index: indicesCreated }); + await client.indices.refresh({ index: indicesCreated, ignore_unavailable: true }); return indicesCreated; } diff --git a/x-pack/packages/kbn-data-forge/src/types/index.ts b/x-pack/packages/kbn-data-forge/src/types/index.ts index ac445478329c2..1e259f14f08b9 100644 --- a/x-pack/packages/kbn-data-forge/src/types/index.ts +++ b/x-pack/packages/kbn-data-forge/src/types/index.ts @@ -120,6 +120,7 @@ export const ConfigRT = rt.type({ reduceWeekendTrafficBy: rt.number, ephemeralProjectIds: rt.number, alignEventsToInterval: rt.boolean, + artificialIndexDelay: rt.number, }), schedule: rt.array(ScheduleRT), }); diff --git a/x-pack/packages/kbn-elastic-assistant/impl/assistant/helpers.ts b/x-pack/packages/kbn-elastic-assistant/impl/assistant/helpers.ts index f369bf430ea54..e7dad6dabd4fe 100644 --- a/x-pack/packages/kbn-elastic-assistant/impl/assistant/helpers.ts +++ b/x-pack/packages/kbn-elastic-assistant/impl/assistant/helpers.ts @@ -122,10 +122,4 @@ export const getOptionalRequestParams = ({ }; }; -export const hasParsableResponse = ({ - isEnabledRAGAlerts, - isEnabledKnowledgeBase, -}: { - isEnabledRAGAlerts: boolean; - isEnabledKnowledgeBase: boolean; -}): boolean => isEnabledKnowledgeBase || isEnabledRAGAlerts; +export const sleep = (ms: number) => new Promise((resolve) => setTimeout(resolve, ms)); diff --git a/x-pack/packages/kbn-elastic-assistant/impl/assistant/index.tsx b/x-pack/packages/kbn-elastic-assistant/impl/assistant/index.tsx index 3fe4e1586e239..7626f481f15d2 100644 --- a/x-pack/packages/kbn-elastic-assistant/impl/assistant/index.tsx +++ b/x-pack/packages/kbn-elastic-assistant/impl/assistant/index.tsx @@ -43,6 +43,7 @@ import { getDefaultConnector, getBlockBotConversation, mergeBaseWithPersistedConversations, + sleep, } from './helpers'; import { useAssistantContext, UserAvatar } from '../assistant_context'; @@ -197,7 +198,11 @@ const AssistantComponent: React.FC = ({ }, [currentConversation?.title, setConversationTitle]); const refetchCurrentConversation = useCallback( - async ({ cId, cTitle }: { cId?: string; cTitle?: string } = {}) => { + async ({ + cId, + cTitle, + isStreamRefetch = false, + }: { cId?: string; cTitle?: string; isStreamRefetch?: boolean } = {}) => { if (cId === '' || (cTitle && !conversations[cTitle])) { return; } @@ -205,7 +210,22 @@ const AssistantComponent: React.FC = ({ const conversationId = cId ?? (cTitle && conversations[cTitle].id) ?? currentConversation?.id; if (conversationId) { - const updatedConversation = await getConversation(conversationId); + let updatedConversation = await getConversation(conversationId); + let retries = 0; + const maxRetries = 5; + + // this retry is a workaround for the stream not YET being persisted to the stored conversation + while ( + isStreamRefetch && + updatedConversation && + updatedConversation.messages[updatedConversation.messages.length - 1].role !== + 'assistant' && + retries < maxRetries + ) { + retries++; + await sleep(2000); + updatedConversation = await getConversation(conversationId); + } if (updatedConversation) { setCurrentConversation(updatedConversation); diff --git a/x-pack/packages/kbn-elastic-assistant/impl/assistant/prompt_textarea/index.tsx b/x-pack/packages/kbn-elastic-assistant/impl/assistant/prompt_textarea/index.tsx index fe9f2f8a1a762..e3962e7408dd4 100644 --- a/x-pack/packages/kbn-elastic-assistant/impl/assistant/prompt_textarea/index.tsx +++ b/x-pack/packages/kbn-elastic-assistant/impl/assistant/prompt_textarea/index.tsx @@ -29,13 +29,16 @@ export const PromptTextArea = forwardRef( const onKeyDown = useCallback( (event) => { - if (event.key === 'Enter' && !event.shiftKey && value.trim().length > 0) { + // keyCode 13 is needed in case of IME input + if (event.keyCode === 13 && !event.shiftKey) { event.preventDefault(); - onPromptSubmit(event.target.value?.trim()); - handlePromptChange(''); - } else if (event.key === 'Enter' && !event.shiftKey && value.trim().length === 0) { - event.preventDefault(); - event.stopPropagation(); + + if (value.trim().length) { + onPromptSubmit(event.target.value?.trim()); + handlePromptChange(''); + } else { + event.stopPropagation(); + } } }, [value, onPromptSubmit, handlePromptChange] diff --git a/x-pack/packages/kbn-elastic-assistant/impl/assistant_context/index.tsx b/x-pack/packages/kbn-elastic-assistant/impl/assistant_context/index.tsx index 65fca75623306..08076a95377f3 100644 --- a/x-pack/packages/kbn-elastic-assistant/impl/assistant_context/index.tsx +++ b/x-pack/packages/kbn-elastic-assistant/impl/assistant_context/index.tsx @@ -68,7 +68,7 @@ export interface AssistantProviderProps { currentConversation?: Conversation; isEnabledLangChain: boolean; isFetchingResponse: boolean; - refetchCurrentConversation: () => void; + refetchCurrentConversation: ({ isStreamRefetch }: { isStreamRefetch?: boolean }) => void; regenerateMessage: (conversationId: string) => void; showAnonymizedValues: boolean; setIsStreaming: (isStreaming: boolean) => void; @@ -108,7 +108,7 @@ export interface UseAssistantContext { currentConversation?: Conversation; isEnabledLangChain: boolean; isFetchingResponse: boolean; - refetchCurrentConversation: () => void; + refetchCurrentConversation: ({ isStreamRefetch }: { isStreamRefetch?: boolean }) => void; regenerateMessage: () => void; showAnonymizedValues: boolean; currentUserAvatar?: UserAvatar; diff --git a/x-pack/packages/kbn-entities-schema/src/schema/entity_definition.ts b/x-pack/packages/kbn-entities-schema/src/schema/entity_definition.ts index 8fee16117b9c6..d433cc473a538 100644 --- a/x-pack/packages/kbn-entities-schema/src/schema/entity_definition.ts +++ b/x-pack/packages/kbn-entities-schema/src/schema/entity_definition.ts @@ -35,7 +35,6 @@ export const entityDefinitionSchema = z.object({ interval: durationSchema.refine((val) => val.asMinutes() >= 1, { message: 'The history.interval can not be less than 1m', }), - lookbackPeriod: z.optional(durationSchema), settings: z.optional( z.object({ syncField: z.optional(z.string()), diff --git a/x-pack/packages/kbn-langchain/server/language_models/simple_chat_model.test.ts b/x-pack/packages/kbn-langchain/server/language_models/simple_chat_model.test.ts index 98da9a4e81b53..634d8260cc3b8 100644 --- a/x-pack/packages/kbn-langchain/server/language_models/simple_chat_model.test.ts +++ b/x-pack/packages/kbn-langchain/server/language_models/simple_chat_model.test.ts @@ -13,8 +13,8 @@ import { ActionsClientSimpleChatModel } from './simple_chat_model'; import { mockActionResponse } from './mocks'; import { BaseMessage } from '@langchain/core/messages'; import { CallbackManagerForLLMRun } from '@langchain/core/callbacks/manager'; -import { parseBedrockStream } from '../utils/bedrock'; -import { parseGeminiStream } from '../utils/gemini'; +import { parseBedrockStream, parseBedrockStreamAsAsyncIterator } from '../utils/bedrock'; +import { parseGeminiStream, parseGeminiStreamAsAsyncIterator } from '../utils/gemini'; const connectorId = 'mock-connector-id'; @@ -301,5 +301,119 @@ describe('ActionsClientSimpleChatModel', () => { expect(handleLLMNewToken).toHaveBeenCalledTimes(1); expect(handleLLMNewToken).toHaveBeenCalledWith('token6'); }); + it('extra tokens in the final answer start chunk get pushed to handleLLMNewToken', async () => { + (parseBedrockStream as jest.Mock).mockImplementation((_1, _2, _3, handleToken) => { + handleToken('token1'); + handleToken(`"action":`); + handleToken(`"Final Answer"`); + handleToken(`, "action_input": "token5 `); + handleToken('token6'); + }); + actionsClient.execute.mockImplementationOnce(mockStreamExecute); + + const actionsClientSimpleChatModel = new ActionsClientSimpleChatModel({ + ...defaultArgs, + actionsClient, + llmType: 'bedrock', + streaming: true, + }); + await actionsClientSimpleChatModel._call(callMessages, callOptions, callRunManager); + expect(handleLLMNewToken).toHaveBeenCalledTimes(2); + expect(handleLLMNewToken).toHaveBeenCalledWith('token5 '); + expect(handleLLMNewToken).toHaveBeenCalledWith('token6'); + }); + it('extra tokens in the final answer end chunk get pushed to handleLLMNewToken', async () => { + (parseBedrockStream as jest.Mock).mockImplementation((_1, _2, _3, handleToken) => { + handleToken('token5'); + handleToken(`"action":`); + handleToken(`"Final Answer"`); + handleToken(`, "action_input": "`); + handleToken('token6'); + handleToken('token7"'); + handleToken('token8'); + }); + actionsClient.execute.mockImplementationOnce(mockStreamExecute); + const actionsClientSimpleChatModel = new ActionsClientSimpleChatModel({ + ...defaultArgs, + actionsClient, + llmType: 'bedrock', + streaming: true, + }); + await actionsClientSimpleChatModel._call(callMessages, callOptions, callRunManager); + expect(handleLLMNewToken).toHaveBeenCalledTimes(2); + expect(handleLLMNewToken).toHaveBeenCalledWith('token6'); + expect(handleLLMNewToken).toHaveBeenCalledWith('token7'); + }); + }); + + describe('*_streamResponseChunks', () => { + it('iterates over bedrock chunks', async () => { + function* mockFetchData() { + yield 'token1'; + yield 'token2'; + yield 'token3'; + } + (parseBedrockStreamAsAsyncIterator as jest.Mock).mockImplementation(mockFetchData); + actionsClient.execute.mockImplementationOnce(mockStreamExecute); + + const actionsClientSimpleChatModel = new ActionsClientSimpleChatModel({ + ...defaultArgs, + actionsClient, + llmType: 'bedrock', + streaming: true, + }); + + const gen = actionsClientSimpleChatModel._streamResponseChunks( + callMessages, + callOptions, + callRunManager + ); + + const chunks = []; + + for await (const chunk of gen) { + chunks.push(chunk); + } + + expect(chunks.map((c) => c.text)).toEqual(['token1', 'token2', 'token3']); + expect(handleLLMNewToken).toHaveBeenCalledTimes(3); + expect(handleLLMNewToken).toHaveBeenCalledWith('token1'); + expect(handleLLMNewToken).toHaveBeenCalledWith('token2'); + expect(handleLLMNewToken).toHaveBeenCalledWith('token3'); + }); + it('iterates over gemini chunks', async () => { + function* mockFetchData() { + yield 'token1'; + yield 'token2'; + yield 'token3'; + } + (parseGeminiStreamAsAsyncIterator as jest.Mock).mockImplementation(mockFetchData); + actionsClient.execute.mockImplementationOnce(mockStreamExecute); + + const actionsClientSimpleChatModel = new ActionsClientSimpleChatModel({ + ...defaultArgs, + actionsClient, + llmType: 'gemini', + streaming: true, + }); + + const gen = actionsClientSimpleChatModel._streamResponseChunks( + callMessages, + callOptions, + callRunManager + ); + + const chunks = []; + + for await (const chunk of gen) { + chunks.push(chunk); + } + + expect(chunks.map((c) => c.text)).toEqual(['token1', 'token2', 'token3']); + expect(handleLLMNewToken).toHaveBeenCalledTimes(3); + expect(handleLLMNewToken).toHaveBeenCalledWith('token1'); + expect(handleLLMNewToken).toHaveBeenCalledWith('token2'); + expect(handleLLMNewToken).toHaveBeenCalledWith('token3'); + }); }); }); diff --git a/x-pack/packages/kbn-langchain/server/language_models/simple_chat_model.ts b/x-pack/packages/kbn-langchain/server/language_models/simple_chat_model.ts index 4bd77919d9fce..5133b1ae6543a 100644 --- a/x-pack/packages/kbn-langchain/server/language_models/simple_chat_model.ts +++ b/x-pack/packages/kbn-langchain/server/language_models/simple_chat_model.ts @@ -10,15 +10,16 @@ import { SimpleChatModel, type BaseChatModelParams, } from '@langchain/core/language_models/chat_models'; -import { type BaseMessage } from '@langchain/core/messages'; +import { AIMessageChunk, type BaseMessage } from '@langchain/core/messages'; import type { ActionsClient } from '@kbn/actions-plugin/server'; import { Logger } from '@kbn/logging'; import { v4 as uuidv4 } from 'uuid'; import { get } from 'lodash/fp'; +import { ChatGenerationChunk } from '@langchain/core/outputs'; import { CallbackManagerForLLMRun } from '@langchain/core/callbacks/manager'; import { PublicMethodsOf } from '@kbn/utility-types'; -import { parseGeminiStream } from '../utils/gemini'; -import { parseBedrockStream } from '../utils/bedrock'; +import { parseGeminiStreamAsAsyncIterator, parseGeminiStream } from '../utils/gemini'; +import { parseBedrockStreamAsAsyncIterator, parseBedrockStream } from '../utils/bedrock'; import { getDefaultArguments } from './constants'; export const getMessageContentAndRole = (prompt: string, role = 'user') => ({ @@ -38,6 +39,18 @@ export interface CustomChatModelInput extends BaseChatModelParams { maxTokens?: number; } +function _formatMessages(messages: BaseMessage[]) { + if (!messages.length) { + throw new Error('No messages provided.'); + } + return messages.map((message, i) => { + if (typeof message.content !== 'string') { + throw new Error('Multimodal messages are not supported.'); + } + return getMessageContentAndRole(message.content, message._getType()); + }); +} + export class ActionsClientSimpleChatModel extends SimpleChatModel { #actionsClient: PublicMethodsOf; #connectorId: string; @@ -91,16 +104,7 @@ export class ActionsClientSimpleChatModel extends SimpleChatModel { options: this['ParsedCallOptions'], runManager?: CallbackManagerForLLMRun ): Promise { - if (!messages.length) { - throw new Error('No messages provided.'); - } - const formattedMessages: Array<{ content: string; role: string }> = []; - messages.forEach((message, i) => { - if (typeof message.content !== 'string') { - throw new Error('Multimodal messages are not supported.'); - } - formattedMessages.push(getMessageContentAndRole(message.content, message._getType())); - }); + const formattedMessages = _formatMessages(messages); this.#logger.debug( () => `ActionsClientSimpleChatModel#_call\ntraceId: ${ @@ -150,18 +154,30 @@ export class ActionsClientSimpleChatModel extends SimpleChatModel { let finalOutputIndex = -1; const finalOutputStartToken = '"action":"FinalAnswer","action_input":"'; let streamingFinished = false; - const finalOutputStopRegex = /(? { if (finalOutputIndex === -1) { + currentOutput += token; // Remove whitespace to simplify parsing - currentOutput += token.replace(/\s/g, ''); - if (currentOutput.includes(finalOutputStartToken)) { - finalOutputIndex = currentOutput.indexOf(finalOutputStartToken); + const noWhitespaceOutput = currentOutput.replace(/\s/g, ''); + if (noWhitespaceOutput.includes(finalOutputStartToken)) { + const nonStrippedToken = '"action_input": "'; + finalOutputIndex = currentOutput.indexOf(nonStrippedToken); + const contentStartIndex = finalOutputIndex + nonStrippedToken.length; + const extraOutput = currentOutput.substring(contentStartIndex); + if (extraOutput.length > 0) { + await runManager?.handleLLMNewToken(extraOutput); + } } } else if (!streamingFinished) { const finalOutputEndIndex = token.search(finalOutputStopRegex); if (finalOutputEndIndex !== -1) { streamingFinished = true; + const extraOutput = token.substring(0, finalOutputEndIndex); + streamingFinished = true; + if (extraOutput.length > 0) { + await runManager?.handleLLMNewToken(extraOutput); + } } else { await runManager?.handleLLMNewToken(token); } @@ -173,4 +189,55 @@ export class ActionsClientSimpleChatModel extends SimpleChatModel { return parsed; // per the contact of _call, return a string } + + async *_streamResponseChunks( + messages: BaseMessage[], + options: this['ParsedCallOptions'], + runManager?: CallbackManagerForLLMRun | undefined + ): AsyncGenerator { + const formattedMessages = _formatMessages(messages); + this.#logger.debug( + () => + `ActionsClientSimpleChatModel#stream\ntraceId: ${ + this.#traceId + }\nassistantMessage:\n${JSON.stringify(formattedMessages)} ` + ); + // create a new connector request body with the assistant message: + const requestBody = { + actionId: this.#connectorId, + params: { + subAction: 'invokeStream', + subActionParams: { + model: this.model, + messages: formattedMessages, + ...getDefaultArguments(this.llmType, this.temperature, options.stop, this.#maxTokens), + }, + }, + }; + const actionResult = await this.#actionsClient.execute(requestBody); + + if (actionResult.status === 'error') { + throw new Error( + `ActionsClientSimpleChatModel: action result status is error: ${actionResult?.message} - ${actionResult?.serviceMessage}` + ); + } + + const readable = get('data', actionResult) as Readable; + + if (typeof readable?.read !== 'function') { + throw new Error('Action result status is error: result is not streamable'); + } + + const streamParser = + this.llmType === 'bedrock' + ? parseBedrockStreamAsAsyncIterator + : parseGeminiStreamAsAsyncIterator; + for await (const token of streamParser(readable, this.#logger, this.#signal)) { + yield new ChatGenerationChunk({ + message: new AIMessageChunk({ content: token }), + text: token, + }); + await runManager?.handleLLMNewToken(token); + } + } } diff --git a/x-pack/packages/kbn-langchain/server/tracers/langsmith/langsmith_tracer.ts b/x-pack/packages/kbn-langchain/server/tracers/langsmith/langsmith_tracer.ts index 15501d22dbe09..6c8a8dbead326 100644 --- a/x-pack/packages/kbn-langchain/server/tracers/langsmith/langsmith_tracer.ts +++ b/x-pack/packages/kbn-langchain/server/tracers/langsmith/langsmith_tracer.ts @@ -32,7 +32,7 @@ export const getLangSmithTracer = ({ logger: Logger | ToolingLog; }): LangChainTracer[] => { try { - if (!isLangSmithEnabled() || apiKey == null) { + if (!apiKey) { return []; } const lcTracer = new LangChainTracer({ diff --git a/x-pack/packages/kbn-langchain/server/utils/bedrock.ts b/x-pack/packages/kbn-langchain/server/utils/bedrock.ts index f9a3837750cda..1cb218f37d2fd 100644 --- a/x-pack/packages/kbn-langchain/server/utils/bedrock.ts +++ b/x-pack/packages/kbn-langchain/server/utils/bedrock.ts @@ -5,12 +5,37 @@ * 2.0. */ +import { Readable } from 'stream'; import { finished } from 'stream/promises'; import { Logger } from '@kbn/core/server'; import { EventStreamCodec } from '@smithy/eventstream-codec'; import { fromUtf8, toUtf8 } from '@smithy/util-utf8'; import { StreamParser } from './types'; +export const parseBedrockStreamAsAsyncIterator = async function* ( + responseStream: Readable, + logger: Logger, + abortSignal?: AbortSignal +) { + if (abortSignal) { + abortSignal.addEventListener('abort', () => { + responseStream.destroy(new Error('Aborted')); + }); + } + try { + for await (const chunk of responseStream) { + const bedrockChunk = handleBedrockChunk({ chunk, bedrockBuffer: new Uint8Array(0), logger }); + yield bedrockChunk.decodedChunk; + } + } catch (err) { + if (abortSignal?.aborted) { + logger.info('Bedrock stream parsing was aborted.'); + } else { + throw err; + } + } +}; + export const parseBedrockStream: StreamParser = async ( responseStream, logger, diff --git a/x-pack/packages/kbn-langchain/server/utils/gemini.test.ts b/x-pack/packages/kbn-langchain/server/utils/gemini.test.ts index 3fcdb87b24551..20a9bbc348816 100644 --- a/x-pack/packages/kbn-langchain/server/utils/gemini.test.ts +++ b/x-pack/packages/kbn-langchain/server/utils/gemini.test.ts @@ -51,8 +51,9 @@ describe('parseGeminiStream', () => { const tokenHandler = jest.fn(); await parseGeminiStream(mockStream, mockLogger, undefined, tokenHandler); - expect(tokenHandler).toHaveBeenCalledWith('Hello '); - expect(tokenHandler).toHaveBeenCalledWith('world '); + expect(tokenHandler).toHaveBeenCalledWith('Hello'); + expect(tokenHandler).toHaveBeenCalledWith(' worl'); + expect(tokenHandler).toHaveBeenCalledWith('d'); }); it('should handle stream error correctly', async () => { diff --git a/x-pack/packages/kbn-langchain/server/utils/gemini.ts b/x-pack/packages/kbn-langchain/server/utils/gemini.ts index 68fa4c0363e13..7d08923083831 100644 --- a/x-pack/packages/kbn-langchain/server/utils/gemini.ts +++ b/x-pack/packages/kbn-langchain/server/utils/gemini.ts @@ -5,8 +5,38 @@ * 2.0. */ +import { Logger } from '@kbn/core/server'; +import { Readable } from 'stream'; import { StreamParser } from './types'; +export const parseGeminiStreamAsAsyncIterator = async function* ( + stream: Readable, + logger: Logger, + abortSignal?: AbortSignal +) { + if (abortSignal) { + abortSignal.addEventListener('abort', () => { + stream.destroy(); + }); + } + try { + for await (const chunk of stream) { + const decoded = chunk.toString(); + const parsed = parseGeminiResponse(decoded); + // Split the parsed string into chunks of 5 characters + for (let i = 0; i < parsed.length; i += 5) { + yield parsed.substring(i, i + 5); + } + } + } catch (err) { + if (abortSignal?.aborted) { + logger.info('Gemini stream parsing was aborted.'); + } else { + throw err; + } + } +}; + export const parseGeminiStream: StreamParser = async ( stream, logger, @@ -18,15 +48,10 @@ export const parseGeminiStream: StreamParser = async ( const decoded = chunk.toString(); const parsed = parseGeminiResponse(decoded); if (tokenHandler) { - const splitByQuotes = parsed.split(`"`); - splitByQuotes.forEach((chunkk, index) => { - // add quote back on except for last chunk - const splitBySpace = `${chunkk}${index === splitByQuotes.length - 1 ? '' : '"'}`.split(` `); - - for (const char of splitBySpace) { - tokenHandler(`${char} `); - } - }); + // Split the parsed string into chunks of 5 characters + for (let i = 0; i < parsed.length; i += 5) { + tokenHandler(parsed.substring(i, i + 5)); + } } responseBody += parsed; }); diff --git a/x-pack/packages/security-solution/data_table/common/types/detail_panel.ts b/x-pack/packages/security-solution/data_table/common/types/detail_panel.ts index 075f7e5ad7183..55fff6ffc7fd3 100644 --- a/x-pack/packages/security-solution/data_table/common/types/detail_panel.ts +++ b/x-pack/packages/security-solution/data_table/common/types/detail_panel.ts @@ -42,20 +42,7 @@ export type ExpandedNetworkType = } | EmptyObject; -export type ExpandedUserType = - | { - panelView?: 'userDetail'; - params?: { - userName: string; - }; - } - | EmptyObject; - -export type ExpandedDetailType = - | ExpandedEventType - | ExpandedHostType - | ExpandedNetworkType - | ExpandedUserType; +export type ExpandedDetailType = ExpandedEventType | ExpandedHostType | ExpandedNetworkType; export enum TimelineTabs { query = 'query', diff --git a/x-pack/performance/journeys_e2e/tags_listing_page.ts b/x-pack/performance/journeys_e2e/tags_listing_page.ts index 5ceab6a4d9bba..c102c2a68b9fd 100644 --- a/x-pack/performance/journeys_e2e/tags_listing_page.ts +++ b/x-pack/performance/journeys_e2e/tags_listing_page.ts @@ -14,8 +14,6 @@ const TAG_DESCRIPTION = 'test description'; export const journey = new Journey({ esArchives: ['x-pack/performance/es_archives/sample_data_flights'], kbnArchives: ['x-pack/performance/kbn_archives/many_tags_and_visualizations'], - // FLAKY: https://github.com/elastic/kibana/issues/181546 - skipped: true, }) .step('Go to Tags Page', async ({ page, kbnUrl }) => { await page.goto(kbnUrl.get(`/app/management/kibana/tags`)); diff --git a/x-pack/plugins/cases/public/components/case_form_fields/custom_fields.test.tsx b/x-pack/plugins/cases/public/components/case_form_fields/custom_fields.test.tsx index 95f7ef1aaa09b..9a869ad0c89b9 100644 --- a/x-pack/plugins/cases/public/components/case_form_fields/custom_fields.test.tsx +++ b/x-pack/plugins/cases/public/components/case_form_fields/custom_fields.test.tsx @@ -16,7 +16,8 @@ import { customFieldsConfigurationMock } from '../../containers/mock'; import { CustomFields } from './custom_fields'; import * as i18n from './translations'; -describe('CustomFields', () => { +// FLAKY: https://github.com/elastic/kibana/issues/188133 +describe.skip('CustomFields', () => { let appMockRender: AppMockRenderer; const onSubmit = jest.fn(); diff --git a/x-pack/plugins/cases/public/components/create/templates.tsx b/x-pack/plugins/cases/public/components/create/templates.tsx index 3df1504ccf14f..6f9ad1e9ed8c0 100644 --- a/x-pack/plugins/cases/public/components/create/templates.tsx +++ b/x-pack/plugins/cases/public/components/create/templates.tsx @@ -5,9 +5,17 @@ * 2.0. */ -import type { EuiSelectOption } from '@elastic/eui'; -import { EuiFormRow, EuiSelect } from '@elastic/eui'; import React, { useCallback, useState } from 'react'; +import type { EuiSelectOption } from '@elastic/eui'; +import { + EuiFlexItem, + EuiFormRow, + EuiSelect, + EuiFlexGroup, + useIsWithinMaxBreakpoint, +} from '@elastic/eui'; +import { css } from '@emotion/react'; +import { ExperimentalBadge } from '../experimental_badge/experimental_badge'; import type { CasesConfigurationUI, CasesConfigurationUITemplate } from '../../containers/types'; import { OptionalFieldLabel } from '../optional_field_label'; import { TEMPLATE_HELP_TEXT, TEMPLATE_LABEL } from './translations'; @@ -24,6 +32,7 @@ export const TemplateSelectorComponent: React.FC = ({ onTemplateChange, }) => { const [selectedTemplate, onSelectTemplate] = useState(); + const isSmallScreen = useIsWithinMaxBreakpoint('s'); const options: EuiSelectOption[] = templates.map((template) => ({ text: template.name, @@ -47,7 +56,26 @@ export const TemplateSelectorComponent: React.FC = ({ id="createCaseTemplate" fullWidth label={TEMPLATE_LABEL} - labelAppend={OptionalFieldLabel} + labelAppend={ + + + + + {OptionalFieldLabel} + + } helpText={TEMPLATE_HELP_TEXT} > = ({ icon = false, size = 's' }) => { +const ExperimentalBadgeComponent: React.FC = ({ + icon = false, + size = 's', + compact = false, +}) => { const props: EuiBetaBadgeProps = { - label: EXPERIMENTAL_LABEL, + label: compact ? null : EXPERIMENTAL_LABEL, size, - ...(icon && { iconType: 'beaker' }), + ...((icon || compact) && { iconType: 'beaker' }), tooltipContent: EXPERIMENTAL_DESC, tooltipPosition: 'bottom' as const, 'data-test-subj': 'case-experimental-badge', diff --git a/x-pack/plugins/elastic_assistant/server/lib/langchain/graphs/default_assistant_graph/helpers.test.ts b/x-pack/plugins/elastic_assistant/server/lib/langchain/graphs/default_assistant_graph/helpers.test.ts new file mode 100644 index 0000000000000..42eb8c81c4205 --- /dev/null +++ b/x-pack/plugins/elastic_assistant/server/lib/langchain/graphs/default_assistant_graph/helpers.test.ts @@ -0,0 +1,198 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import { streamGraph } from './helpers'; +import agent from 'elastic-apm-node'; +import { KibanaRequest } from '@kbn/core-http-server'; +import { ExecuteConnectorRequestBody } from '@kbn/elastic-assistant-common'; +import { PassThrough } from 'stream'; +import { loggerMock } from '@kbn/logging-mocks'; +import { AGENT_NODE_TAG } from './nodes/run_agent'; +import { waitFor } from '@testing-library/react'; +import { APMTracer } from '@kbn/langchain/server/tracers/apm'; +import { DefaultAssistantGraph } from './graph'; + +jest.mock('elastic-apm-node'); + +jest.mock('@kbn/securitysolution-es-utils'); +const mockStream = new PassThrough(); +const mockPush = jest.fn(); +const mockResponseWithHeaders = { + body: mockStream, + headers: { + 'X-Accel-Buffering': 'no', + 'X-Content-Type-Options': 'nosniff', + 'Cache-Control': 'no-cache', + Connection: 'keep-alive', + 'Transfer-Encoding': 'chunked', + }, +}; +jest.mock('@kbn/ml-response-stream/server', () => ({ + streamFactory: jest.fn().mockImplementation(() => ({ + DELIMITER: '\n', + end: jest.fn(), + push: mockPush, + responseWithHeaders: mockResponseWithHeaders, + })), +})); + +describe('streamGraph', () => { + const mockRequest = {} as KibanaRequest; + const mockLogger = loggerMock.create(); + const mockApmTracer = {} as APMTracer; + const mockStreamEvents = jest.fn(); + const mockAssistantGraph = { + streamEvents: mockStreamEvents, + } as unknown as DefaultAssistantGraph; + const mockOnLlmResponse = jest.fn().mockResolvedValue(null); + + beforeEach(() => { + jest.clearAllMocks(); + (agent.isStarted as jest.Mock).mockReturnValue(true); + (agent.startSpan as jest.Mock).mockReturnValue({ + end: jest.fn(), + ids: { 'trace.id': 'traceId' }, + transaction: { ids: { 'transaction.id': 'transactionId' } }, + }); + }); + describe('ActionsClientChatOpenAI', () => { + it('should execute the graph in streaming mode', async () => { + mockStreamEvents.mockReturnValue({ + next: jest + .fn() + .mockResolvedValueOnce({ + value: { + name: 'ActionsClientChatOpenAI', + event: 'on_llm_stream', + data: { chunk: { message: { content: 'content' } } }, + tags: [AGENT_NODE_TAG], + }, + done: false, + }) + .mockResolvedValueOnce({ + value: { + name: 'ActionsClientChatOpenAI', + event: 'on_llm_end', + data: { + output: { + generations: [ + [{ generationInfo: { finish_reason: 'stop' }, text: 'final message' }], + ], + }, + }, + tags: [AGENT_NODE_TAG], + }, + }) + .mockResolvedValue({ + done: true, + }), + return: jest.fn(), + }); + + const response = await streamGraph({ + apmTracer: mockApmTracer, + assistantGraph: mockAssistantGraph, + inputs: { input: 'input' }, + logger: mockLogger, + onLlmResponse: mockOnLlmResponse, + request: mockRequest, + }); + + expect(response).toBe(mockResponseWithHeaders); + expect(mockPush).toHaveBeenCalledWith({ payload: 'content', type: 'content' }); + await waitFor(() => { + expect(mockOnLlmResponse).toHaveBeenCalledWith( + 'final message', + { transactionId: 'transactionId', traceId: 'traceId' }, + false + ); + }); + }); + }); + + describe('ActionsClientSimpleChatModel', () => { + it('should execute the graph in streaming mode', async () => { + mockStreamEvents.mockReturnValue({ + next: jest + .fn() + .mockResolvedValueOnce({ + value: { + name: 'ActionsClientSimpleChatModel', + event: 'on_llm_stream', + data: { + chunk: { + content: + '```json\n\n "action": "Final Answer",\n "action_input": "Look at these', + }, + }, + tags: [AGENT_NODE_TAG], + }, + done: false, + }) + .mockResolvedValueOnce({ + value: { + name: 'ActionsClientSimpleChatModel', + event: 'on_llm_stream', + data: { + chunk: { + content: ' rare IP', + }, + }, + tags: [AGENT_NODE_TAG], + }, + done: false, + }) + .mockResolvedValueOnce({ + value: { + name: 'ActionsClientSimpleChatModel', + event: 'on_llm_stream', + data: { + chunk: { + content: ' addresses." }```', + }, + }, + tags: [AGENT_NODE_TAG], + }, + done: false, + }) + .mockResolvedValueOnce({ + value: { + name: 'ActionsClientSimpleChatModel', + event: 'on_llm_end', + tags: [AGENT_NODE_TAG], + }, + }) + .mockResolvedValue({ + done: true, + }), + return: jest.fn(), + }); + + const response = await streamGraph({ + apmTracer: mockApmTracer, + assistantGraph: mockAssistantGraph, + inputs: { input: 'input' }, + logger: mockLogger, + onLlmResponse: mockOnLlmResponse, + request: mockRequest, + }); + + expect(response).toBe(mockResponseWithHeaders); + + await waitFor(() => { + expect(mockPush).toHaveBeenCalledWith({ type: 'content', payload: 'Look at these' }); + expect(mockPush).toHaveBeenCalledWith({ type: 'content', payload: ' rare IP' }); + expect(mockPush).toHaveBeenCalledWith({ type: 'content', payload: ' addresses.' }); + expect(mockOnLlmResponse).toHaveBeenCalledWith( + 'Look at these rare IP addresses.', + { transactionId: 'transactionId', traceId: 'traceId' }, + false + ); + }); + }); + }); +}); diff --git a/x-pack/plugins/elastic_assistant/server/lib/langchain/graphs/default_assistant_graph/helpers.ts b/x-pack/plugins/elastic_assistant/server/lib/langchain/graphs/default_assistant_graph/helpers.ts index fe46a5deae9fe..882726a85ef21 100644 --- a/x-pack/plugins/elastic_assistant/server/lib/langchain/graphs/default_assistant_graph/helpers.ts +++ b/x-pack/plugins/elastic_assistant/server/lib/langchain/graphs/default_assistant_graph/helpers.ts @@ -77,7 +77,6 @@ export const streamGraph = async ({ streamingSpan?.end(); }; - let finalMessage = ''; const stream = assistantGraph.streamEvents(inputs, { callbacks: [apmTracer, ...(traceOptions?.tracers ?? [])], runName: DEFAULT_ASSISTANT_GRAPH_ID, @@ -85,7 +84,14 @@ export const streamGraph = async ({ tags: traceOptions?.tags ?? [], version: 'v1', }); + let finalMessage = ''; + let currentOutput = ''; + let finalOutputIndex = -1; + const finalOutputStartToken = '"action":"FinalAnswer","action_input":"'; + let streamingFinished = false; + const finalOutputStopRegex = /(? { try { const { value, done } = await stream.next(); @@ -94,27 +100,57 @@ export const streamGraph = async ({ const event = value; // only process events that are part of the agent run if ((event.tags || []).includes(AGENT_NODE_TAG)) { - if (event.event === 'on_llm_stream') { - const chunk = event.data?.chunk; - // TODO: For Bedrock streaming support, override `handleLLMNewToken` in callbacks, - // TODO: or maybe we can update ActionsClientSimpleChatModel to handle this `on_llm_stream` event - if (event.name === 'ActionsClientChatOpenAI') { + if (event.name === 'ActionsClientChatOpenAI') { + if (event.event === 'on_llm_stream') { + const chunk = event.data?.chunk; const msg = chunk.message; - - if (msg.tool_call_chunks && msg.tool_call_chunks.length > 0) { + if (msg?.tool_call_chunks && msg?.tool_call_chunks.length > 0) { + // I don't think we hit this anymore because of our check for AGENT_NODE_TAG + // however, no harm to keep it in /* empty */ } else if (!didEnd) { - if (msg.response_metadata.finish_reason === 'stop') { - handleStreamEnd(finalMessage); + push({ payload: msg.content, type: 'content' }); + finalMessage += msg.content; + } + } else if (event.event === 'on_llm_end' && !didEnd) { + const generations = event.data.output?.generations[0]; + if (generations && generations[0]?.generationInfo.finish_reason === 'stop') { + handleStreamEnd(generations[0]?.text ?? finalMessage); + } + } + } + if (event.name === 'ActionsClientSimpleChatModel') { + if (event.event === 'on_llm_stream') { + const chunk = event.data?.chunk; + + const msg = chunk.content; + if (finalOutputIndex === -1) { + currentOutput += msg; + // Remove whitespace to simplify parsing + const noWhitespaceOutput = currentOutput.replace(/\s/g, ''); + if (noWhitespaceOutput.includes(finalOutputStartToken)) { + const nonStrippedToken = '"action_input": "'; + finalOutputIndex = currentOutput.indexOf(nonStrippedToken); + const contentStartIndex = finalOutputIndex + nonStrippedToken.length; + extraOutput = currentOutput.substring(contentStartIndex); + push({ payload: extraOutput, type: 'content' }); + finalMessage += extraOutput; + } + } else if (!streamingFinished && !didEnd) { + const finalOutputEndIndex = msg.search(finalOutputStopRegex); + if (finalOutputEndIndex !== -1) { + extraOutput = msg.substring(0, finalOutputEndIndex); + streamingFinished = true; + if (extraOutput.length > 0) { + push({ payload: extraOutput, type: 'content' }); + finalMessage += extraOutput; + } } else { - push({ payload: msg.content, type: 'content' }); - finalMessage += msg.content; + push({ payload: chunk.content, type: 'content' }); + finalMessage += chunk.content; } } - } - } else if (event.event === 'on_llm_end') { - const generations = event.data.output?.generations[0]; - if (generations && generations[0]?.generationInfo.finish_reason === 'stop') { + } else if (event.event === 'on_llm_end' && streamingFinished && !didEnd) { handleStreamEnd(finalMessage); } } diff --git a/x-pack/plugins/elastic_assistant/server/lib/langchain/graphs/default_assistant_graph/prompts.ts b/x-pack/plugins/elastic_assistant/server/lib/langchain/graphs/default_assistant_graph/prompts.ts index 7d8a78f7387ec..83eba779e2352 100644 --- a/x-pack/plugins/elastic_assistant/server/lib/langchain/graphs/default_assistant_graph/prompts.ts +++ b/x-pack/plugins/elastic_assistant/server/lib/langchain/graphs/default_assistant_graph/prompts.ts @@ -22,13 +22,14 @@ export const structuredChatAgentPrompt = ChatPromptTemplate.fromMessages([ 'system', 'Respond to the human as helpfully and accurately as possible. You have access to the following tools:\n\n' + '{tools}\n\n' + - 'Use a json blob to specify a tool by providing an action key (tool name) and an action_input key (tool input).\n\n' + + `The tool action_input should ALWAYS follow the tool JSON schema args.\n\n` + 'Valid "action" values: "Final Answer" or {tool_names}\n\n' + + 'Use a json blob to specify a tool by providing an action key (tool name) and an action_input key (tool input strictly adhering to the tool JSON schema args).\n\n' + 'Provide only ONE action per $JSON_BLOB, as shown:\n\n' + '```\n\n' + '{{\n\n' + ' "action": $TOOL_NAME,\n\n' + - ' "action_input": $INPUT\n\n' + + ' "action_input": $TOOL_INPUT\n\n' + '}}\n\n' + '```\n\n' + 'Follow this format:\n\n' + @@ -45,13 +46,14 @@ export const structuredChatAgentPrompt = ChatPromptTemplate.fromMessages([ '```\n\n' + '{{\n\n' + ' "action": "Final Answer",\n\n' + - ' "action_input": "Final response to human"\n\n' + + // important, no new line here + ' "action_input": "Final response to human"' + '}}\n\n' + - 'Begin! Reminder to ALWAYS respond with a valid json blob of a single action. Use tools if necessary. Respond directly if appropriate. Format is Action:```$JSON_BLOB```then Observation', + 'Begin! Reminder to ALWAYS respond with a valid json blob of a single action with no additional output. When using tools, ALWAYS input the expected JSON schema args. Your answer will be parsed as JSON, so never use double quotes within the output and instead use backticks. Single quotes may be used, such as apostrophes. Response format is Action:```$JSON_BLOB```then Observation', ], ['placeholder', '{chat_history}'], [ 'human', - 'Use the below context as a sample of information about the user from their knowledge base:\n\n```\n{knowledge_history}\n```\n\n{input}\n\n{agent_scratchpad}\n(reminder to respond in a JSON blob no matter what)', + 'Use the below context as a sample of information about the user from their knowledge base:\n\n```\n{knowledge_history}\n```\n\n{input}\n\n{agent_scratchpad}\n(reminder to respond in a JSON blob with no additional output no matter what)', ], ]); diff --git a/x-pack/plugins/fleet/common/constants/routes.ts b/x-pack/plugins/fleet/common/constants/routes.ts index 0ff598fc0dd47..59ae42239db20 100644 --- a/x-pack/plugins/fleet/common/constants/routes.ts +++ b/x-pack/plugins/fleet/common/constants/routes.ts @@ -123,6 +123,8 @@ export const SETTINGS_API_ROUTES = { INFO_PATTERN: `${API_ROOT}/settings`, UPDATE_PATTERN: `${API_ROOT}/settings`, ENROLLMENT_INFO_PATTERN: `${INTERNAL_ROOT}/settings/enrollment`, + SPACE_INFO_PATTERN: `${API_ROOT}/space_settings`, + SPACE_UPDATE_PATTERN: `${API_ROOT}/space_settings`, }; // App API routes diff --git a/x-pack/plugins/fleet/common/constants/settings.ts b/x-pack/plugins/fleet/common/constants/settings.ts index 423e71edf10e6..b95052e66bedb 100644 --- a/x-pack/plugins/fleet/common/constants/settings.ts +++ b/x-pack/plugins/fleet/common/constants/settings.ts @@ -7,4 +7,8 @@ export const GLOBAL_SETTINGS_SAVED_OBJECT_TYPE = 'ingest_manager_settings'; +export const SPACE_SETTINGS_SAVED_OBJECT_TYPE = 'fleet-space-settings'; + +export const SPACE_SETTINGS_ID_SUFFIX = '-default-settings'; + export const GLOBAL_SETTINGS_ID = 'fleet-default-settings'; diff --git a/x-pack/plugins/fleet/common/errors.ts b/x-pack/plugins/fleet/common/errors.ts index c43e4a6284869..c41f6238f8647 100644 --- a/x-pack/plugins/fleet/common/errors.ts +++ b/x-pack/plugins/fleet/common/errors.ts @@ -16,6 +16,7 @@ export class FleetError extends Error { } } +export class PolicyNamespaceValidationError extends FleetError {} export class PackagePolicyValidationError extends FleetError {} export class MessageSigningError extends FleetError {} diff --git a/x-pack/plugins/fleet/common/types/index.ts b/x-pack/plugins/fleet/common/types/index.ts index e0b6fe6c03e7e..4ec0647480165 100644 --- a/x-pack/plugins/fleet/common/types/index.ts +++ b/x-pack/plugins/fleet/common/types/index.ts @@ -35,6 +35,10 @@ export interface FleetConfigType { url: string; }; }; + spaceSettings?: Array<{ + space_id: string; + allowed_namespace_prefixes: string[] | null; + }>; agentPolicies?: PreconfiguredAgentPolicy[]; packages?: PreconfiguredPackage[]; outputs?: PreconfiguredOutput[]; diff --git a/x-pack/plugins/fleet/common/types/rest_spec/settings.ts b/x-pack/plugins/fleet/common/types/rest_spec/settings.ts index 73ad6a3a219fc..889da89b130c7 100644 --- a/x-pack/plugins/fleet/common/types/rest_spec/settings.ts +++ b/x-pack/plugins/fleet/common/types/rest_spec/settings.ts @@ -46,3 +46,14 @@ export interface GetEnrollmentSettingsResponse { }; download_source?: DownloadSource; } +export interface PutSpaceSettingsRequest { + body: { + allowed_namespace_prefixes?: string[]; + }; +} + +export interface GetSpaceSettingsResponse { + item: { + allowed_namespace_prefixes?: string[]; + }; +} diff --git a/x-pack/plugins/fleet/server/config.ts b/x-pack/plugins/fleet/server/config.ts index 87df985be7a51..628abfb38d718 100644 --- a/x-pack/plugins/fleet/server/config.ts +++ b/x-pack/plugins/fleet/server/config.ts @@ -19,6 +19,7 @@ import { PreconfiguredOutputsSchema, PreconfiguredFleetServerHostsSchema, PreconfiguredFleetProxiesSchema, + PreconfiguredSpaceSettingsSchema, } from './types'; import { BULK_CREATE_MAX_ARTIFACTS_BYTES } from './services/artifacts/artifacts'; @@ -154,6 +155,7 @@ export const config: PluginConfigDescriptor = { outputs: PreconfiguredOutputsSchema, fleetServerHosts: PreconfiguredFleetServerHostsSchema, proxies: PreconfiguredFleetProxiesSchema, + spaceSettings: PreconfiguredSpaceSettingsSchema, agentIdVerificationEnabled: schema.boolean({ defaultValue: true }), setup: schema.maybe( schema.object({ diff --git a/x-pack/plugins/fleet/server/constants/index.ts b/x-pack/plugins/fleet/server/constants/index.ts index d727cd30c6385..8ea5297ecd59b 100644 --- a/x-pack/plugins/fleet/server/constants/index.ts +++ b/x-pack/plugins/fleet/server/constants/index.ts @@ -50,6 +50,7 @@ export { OUTPUT_SAVED_OBJECT_TYPE, PACKAGES_SAVED_OBJECT_TYPE, ASSETS_SAVED_OBJECT_TYPE, + SPACE_SETTINGS_SAVED_OBJECT_TYPE, GLOBAL_SETTINGS_SAVED_OBJECT_TYPE, MESSAGE_SIGNING_KEYS_SAVED_OBJECT_TYPE, UNINSTALL_TOKENS_SAVED_OBJECT_TYPE, diff --git a/x-pack/plugins/fleet/server/plugin.ts b/x-pack/plugins/fleet/server/plugin.ts index 4256a4a90e537..fa3eefd90c227 100644 --- a/x-pack/plugins/fleet/server/plugin.ts +++ b/x-pack/plugins/fleet/server/plugin.ts @@ -88,6 +88,7 @@ import { PLUGIN_ID, PRECONFIGURATION_DELETION_RECORD_SAVED_OBJECT_TYPE, FLEET_PROXY_SAVED_OBJECT_TYPE, + SPACE_SETTINGS_SAVED_OBJECT_TYPE, } from './constants'; import { registerEncryptedSavedObjects, registerSavedObjects } from './saved_objects'; import { registerRoutes } from './routes'; @@ -190,6 +191,7 @@ const allSavedObjectTypes = [ DOWNLOAD_SOURCE_SAVED_OBJECT_TYPE, FLEET_SERVER_HOST_SAVED_OBJECT_TYPE, FLEET_PROXY_SAVED_OBJECT_TYPE, + SPACE_SETTINGS_SAVED_OBJECT_TYPE, ]; /** diff --git a/x-pack/plugins/fleet/server/routes/index.ts b/x-pack/plugins/fleet/server/routes/index.ts index 29efa03967ea0..9257d672848a7 100644 --- a/x-pack/plugins/fleet/server/routes/index.ts +++ b/x-pack/plugins/fleet/server/routes/index.ts @@ -40,7 +40,7 @@ export function registerRoutes(fleetAuthzRouter: FleetAuthzRouter, config: Fleet registerAgentPolicyRoutes(fleetAuthzRouter); registerPackagePolicyRoutes(fleetAuthzRouter); registerOutputRoutes(fleetAuthzRouter); - registerSettingsRoutes(fleetAuthzRouter); + registerSettingsRoutes(fleetAuthzRouter, config); registerDataStreamRoutes(fleetAuthzRouter); registerPreconfigurationRoutes(fleetAuthzRouter); registerFleetServerHostRoutes(fleetAuthzRouter); diff --git a/x-pack/plugins/fleet/server/routes/settings/index.ts b/x-pack/plugins/fleet/server/routes/settings/index.ts index a72d2da7805d5..b9f672627daa7 100644 --- a/x-pack/plugins/fleet/server/routes/settings/index.ts +++ b/x-pack/plugins/fleet/server/routes/settings/index.ts @@ -5,71 +5,68 @@ * 2.0. */ -import type { TypeOf } from '@kbn/config-schema'; - +import { parseExperimentalConfigValue } from '../../../common/experimental_features'; import { API_VERSIONS } from '../../../common/constants'; import type { FleetAuthzRouter } from '../../services/security'; - import { SETTINGS_API_ROUTES } from '../../constants'; -import type { FleetRequestHandler } from '../../types'; import { PutSettingsRequestSchema, GetSettingsRequestSchema, GetEnrollmentSettingsRequestSchema, + GetSpaceSettingsRequestSchema, + PutSpaceSettingsRequestSchema, } from '../../types'; -import { defaultFleetErrorHandler } from '../../errors'; -import { settingsService, agentPolicyService, appContextService } from '../../services'; +import type { FleetConfigType } from '../../config'; import { getEnrollmentSettingsHandler } from './enrollment_settings_handler'; -export const getSettingsHandler: FleetRequestHandler = async (context, request, response) => { - const soClient = (await context.fleet).internalSoClient; - - try { - const settings = await settingsService.getSettings(soClient); - const body = { - item: settings, - }; - return response.ok({ body }); - } catch (error) { - if (error.isBoom && error.output.statusCode === 404) { - return response.notFound({ - body: { message: `Settings not found` }, - }); - } - - return defaultFleetErrorHandler({ error, response }); - } -}; - -export const putSettingsHandler: FleetRequestHandler< - undefined, - undefined, - TypeOf -> = async (context, request, response) => { - const soClient = (await context.fleet).internalSoClient; - const esClient = (await context.core).elasticsearch.client.asInternalUser; - const user = appContextService.getSecurityCore().authc.getCurrentUser(request) || undefined; +import { + getSettingsHandler, + getSpaceSettingsHandler, + putSettingsHandler, + putSpaceSettingsHandler, +} from './settings_handler'; - try { - const settings = await settingsService.saveSettings(soClient, request.body); - await agentPolicyService.bumpAllAgentPolicies(esClient, { user }); - const body = { - item: settings, - }; - return response.ok({ body }); - } catch (error) { - if (error.isBoom && error.output.statusCode === 404) { - return response.notFound({ - body: { message: `Settings not found` }, - }); - } +export const registerRoutes = (router: FleetAuthzRouter, config: FleetConfigType) => { + const experimentalFeatures = parseExperimentalConfigValue(config.enableExperimental); + if (experimentalFeatures.useSpaceAwareness) { + router.versioned + .get({ + path: SETTINGS_API_ROUTES.SPACE_INFO_PATTERN, + fleetAuthz: (authz) => { + return ( + authz.fleet.readSettings || + authz.integrations.writeIntegrationPolicies || + authz.fleet.allAgentPolicies + ); + }, + description: `Get space settings`, + }) + .addVersion( + { + version: API_VERSIONS.public.v1, + validate: { request: GetSpaceSettingsRequestSchema }, + }, + getSpaceSettingsHandler + ); - return defaultFleetErrorHandler({ error, response }); + router.versioned + .put({ + path: SETTINGS_API_ROUTES.SPACE_UPDATE_PATTERN, + fleetAuthz: { + fleet: { allSettings: true }, + }, + description: `Put space settings`, + }) + .addVersion( + { + version: API_VERSIONS.public.v1, + validate: { request: PutSpaceSettingsRequestSchema }, + }, + putSpaceSettingsHandler + ); } -}; -export const registerRoutes = (router: FleetAuthzRouter) => { router.versioned .get({ path: SETTINGS_API_ROUTES.INFO_PATTERN, diff --git a/x-pack/plugins/fleet/server/routes/settings/settings_handler.ts b/x-pack/plugins/fleet/server/routes/settings/settings_handler.ts new file mode 100644 index 0000000000000..c959638d0fc6b --- /dev/null +++ b/x-pack/plugins/fleet/server/routes/settings/settings_handler.ts @@ -0,0 +1,100 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import type { TypeOf } from '@kbn/config-schema'; + +import type { + FleetRequestHandler, + PutSettingsRequestSchema, + PutSpaceSettingsRequestSchema, +} from '../../types'; +import { defaultFleetErrorHandler } from '../../errors'; +import { settingsService, agentPolicyService, appContextService } from '../../services'; +import { getSpaceSettings, saveSpaceSettings } from '../../services/spaces/space_settings'; + +export const getSpaceSettingsHandler: FleetRequestHandler = async (context, request, response) => { + try { + const soClient = (await context.fleet).internalSoClient; + const settings = await getSpaceSettings(soClient.getCurrentNamespace()); + const body = { + item: settings, + }; + return response.ok({ body }); + } catch (error) { + return defaultFleetErrorHandler({ error, response }); + } +}; + +export const putSpaceSettingsHandler: FleetRequestHandler< + undefined, + undefined, + TypeOf +> = async (context, request, response) => { + try { + const soClient = (await context.fleet).internalSoClient; + await saveSpaceSettings({ + settings: { + allowed_namespace_prefixes: request.body.allowed_namespace_prefixes, + }, + spaceId: soClient.getCurrentNamespace(), + }); + const settings = await settingsService.getSettings(soClient); + const body = { + item: settings, + }; + return response.ok({ body }); + } catch (error) { + return defaultFleetErrorHandler({ error, response }); + } +}; + +export const getSettingsHandler: FleetRequestHandler = async (context, request, response) => { + const soClient = (await context.fleet).internalSoClient; + + try { + const settings = await settingsService.getSettings(soClient); + const body = { + item: settings, + }; + return response.ok({ body }); + } catch (error) { + if (error.isBoom && error.output.statusCode === 404) { + return response.notFound({ + body: { message: `Settings not found` }, + }); + } + + return defaultFleetErrorHandler({ error, response }); + } +}; + +export const putSettingsHandler: FleetRequestHandler< + undefined, + undefined, + TypeOf +> = async (context, request, response) => { + const soClient = (await context.fleet).internalSoClient; + const esClient = (await context.core).elasticsearch.client.asInternalUser; + const user = appContextService.getSecurityCore().authc.getCurrentUser(request) || undefined; + + try { + const settings = await settingsService.saveSettings(soClient, request.body); + await agentPolicyService.bumpAllAgentPolicies(esClient, { user }); + const body = { + item: settings, + }; + return response.ok({ body }); + } catch (error) { + if (error.isBoom && error.output.statusCode === 404) { + return response.notFound({ + body: { message: `Settings not found` }, + }); + } + + return defaultFleetErrorHandler({ error, response }); + } +}; diff --git a/x-pack/plugins/fleet/server/saved_objects/index.ts b/x-pack/plugins/fleet/server/saved_objects/index.ts index 3f91146536a9d..4b76a952a0f3b 100644 --- a/x-pack/plugins/fleet/server/saved_objects/index.ts +++ b/x-pack/plugins/fleet/server/saved_objects/index.ts @@ -24,6 +24,7 @@ import { INGEST_SAVED_OBJECT_INDEX, UNINSTALL_TOKENS_SAVED_OBJECT_TYPE, FLEET_SETUP_LOCK_TYPE, + SPACE_SETTINGS_SAVED_OBJECT_TYPE, } from '../constants'; import { migrateSyntheticsPackagePolicyToV8120 } from './migrations/synthetics/to_v8_12_0'; @@ -123,6 +124,22 @@ export const getSavedObjectTypes = ( }, }, }, + [SPACE_SETTINGS_SAVED_OBJECT_TYPE]: { + name: SPACE_SETTINGS_SAVED_OBJECT_TYPE, + indexPattern: INGEST_SAVED_OBJECT_INDEX, + hidden: false, + namespaceType: 'single', + management: { + importableAndExportable: false, + }, + mappings: { + dynamic: false, + properties: { + // allowed_namespace_prefixes: { enabled: false }, + // managed_by: { type: 'keyword', index: false }, + }, + }, + }, // Deprecated [GLOBAL_SETTINGS_SAVED_OBJECT_TYPE]: { name: GLOBAL_SETTINGS_SAVED_OBJECT_TYPE, diff --git a/x-pack/plugins/fleet/server/services/agent_policy.ts b/x-pack/plugins/fleet/server/services/agent_policy.ts index ed3cefb2faf94..9ddbdef52ce73 100644 --- a/x-pack/plugins/fleet/server/services/agent_policy.ts +++ b/x-pack/plugins/fleet/server/services/agent_policy.ts @@ -107,6 +107,7 @@ import { getFullAgentPolicy, validateOutputForPolicy } from './agent_policies'; import { auditLoggingService } from './audit_logging'; import { licenseService } from './license'; import { createSoFindIterable } from './utils/create_so_find_iterable'; +import { validatePolicyNamespaceForSpace } from './spaces/policy_namespaces'; const SAVED_OBJECT_TYPE = AGENT_POLICY_SAVED_OBJECT_TYPE; @@ -329,7 +330,10 @@ class AgentPolicyService { this.checkAgentless(agentPolicy); await this.requireUniqueName(soClient, agentPolicy); - + await validatePolicyNamespaceForSpace({ + spaceId: soClient.getCurrentNamespace(), + namespace: agentPolicy.namespace, + }); await validateOutputForPolicy(soClient, agentPolicy); const newSo = await soClient.create( @@ -592,6 +596,12 @@ class AgentPolicyService { name: agentPolicy.name, }); } + if (agentPolicy.namespace) { + await validatePolicyNamespaceForSpace({ + spaceId: soClient.getCurrentNamespace(), + namespace: agentPolicy.namespace, + }); + } const existingAgentPolicy = await this.get(soClient, id, true); diff --git a/x-pack/plugins/fleet/server/services/package_policy.ts b/x-pack/plugins/fleet/server/services/package_policy.ts index e244be59b8012..794269ba78ca6 100644 --- a/x-pack/plugins/fleet/server/services/package_policy.ts +++ b/x-pack/plugins/fleet/server/services/package_policy.ts @@ -132,6 +132,7 @@ import { import { getPackageAssetsMap } from './epm/packages/get'; import { validateOutputForNewPackagePolicy } from './agent_policies/outputs_helpers'; import type { PackagePolicyClientFetchAllItemIdsOptions } from './package_policy_service'; +import { validatePolicyNamespaceForSpace } from './spaces/policy_namespaces'; export type InputsOverride = Partial & { vars?: Array; @@ -242,6 +243,12 @@ class PackagePolicyClientImpl implements PackagePolicyClient { if (!options?.skipUniqueNameVerification) { await requireUniqueName(soClient, enrichedPackagePolicy); } + if (enrichedPackagePolicy.namespace) { + await validatePolicyNamespaceForSpace({ + namespace: enrichedPackagePolicy.namespace, + spaceId: soClient.getCurrentNamespace(), + }); + } let elasticsearchPrivileges: NonNullable['privileges']; let inputs = getInputsWithStreamIds(enrichedPackagePolicy, packagePolicyId); @@ -847,6 +854,13 @@ class PackagePolicyClientImpl implements PackagePolicyClient { await requireUniqueName(soClient, enrichedPackagePolicy, id); } + if (packagePolicy.namespace) { + await validatePolicyNamespaceForSpace({ + namespace: packagePolicy.namespace, + spaceId: soClient.getCurrentNamespace(), + }); + } + // eslint-disable-next-line prefer-const let { version, ...restOfPackagePolicy } = packagePolicy; let inputs = getInputsWithStreamIds(restOfPackagePolicy, oldPackagePolicy.id); diff --git a/x-pack/plugins/fleet/server/services/preconfiguration/space_settings.ts b/x-pack/plugins/fleet/server/services/preconfiguration/space_settings.ts new file mode 100644 index 0000000000000..f3cdb4de81d1b --- /dev/null +++ b/x-pack/plugins/fleet/server/services/preconfiguration/space_settings.ts @@ -0,0 +1,89 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import type { TypeOf } from '@kbn/config-schema'; +import type { SavedObjectsFindResult } from '@kbn/core-saved-objects-api-server'; +import { DEFAULT_SPACE_ID } from '@kbn/spaces-plugin/common'; +import deepEqual from 'fast-deep-equal'; + +import { appContextService } from '..'; +import { SO_SEARCH_LIMIT, SPACE_SETTINGS_SAVED_OBJECT_TYPE } from '../../constants'; +import type { PreconfiguredSpaceSettingsSchema, SpaceSettingsSOAttributes } from '../../types'; +import { saveSpaceSettings } from '../spaces/space_settings'; + +export async function ensureSpaceSettings( + configSpaceSettingsArray: TypeOf +) { + const soClient = appContextService.getInternalUserSOClientWithoutSpaceExtension(); + + // Get all existing config space + const existingConfigSpaceSettingsSOs = await soClient.find({ + type: SPACE_SETTINGS_SAVED_OBJECT_TYPE, + perPage: SO_SEARCH_LIMIT, + namespaces: ['*'], + }); + + const existingConfigSpaceSettingsSOMap = existingConfigSpaceSettingsSOs.saved_objects.reduce( + (acc, so) => { + acc.set(so.namespaces?.[0] ?? DEFAULT_SPACE_ID, so); + + return acc; + }, + new Map>() + ); + + for (const configSpaceSettings of configSpaceSettingsArray) { + // Check for existing + const existingConfigSpaceSettingsSO = existingConfigSpaceSettingsSOMap.get( + configSpaceSettings.space_id + ); + + if (!existingConfigSpaceSettingsSO) { + await saveSpaceSettings({ + spaceId: configSpaceSettings.space_id, + settings: { + allowed_namespace_prefixes: configSpaceSettings.allowed_namespace_prefixes, + managed_by: 'kibana_config', + }, + managedBy: 'kibana_config', + }); + } else if ( + !deepEqual( + existingConfigSpaceSettingsSO.attributes.allowed_namespace_prefixes, + configSpaceSettings.allowed_namespace_prefixes + ) || + !existingConfigSpaceSettingsSO.attributes.managed_by + ) { + await saveSpaceSettings({ + spaceId: configSpaceSettings.space_id, + settings: { + allowed_namespace_prefixes: configSpaceSettings.allowed_namespace_prefixes, + managed_by: 'kibana_config', + }, + managedBy: 'kibana_config', + }); + } + } + + for (const spaceId of existingConfigSpaceSettingsSOMap.keys()) { + if ( + !configSpaceSettingsArray.some( + (config) => + config.space_id === spaceId && + existingConfigSpaceSettingsSOMap.get(spaceId)?.attributes?.managed_by === 'kibana_config' + ) + ) { + await saveSpaceSettings({ + spaceId, + settings: { + managed_by: null, + }, + managedBy: 'kibana_config', + }); + } + } +} diff --git a/x-pack/plugins/fleet/server/services/setup.test.ts b/x-pack/plugins/fleet/server/services/setup.test.ts index 03a52c27abffe..5e88fac35e140 100644 --- a/x-pack/plugins/fleet/server/services/setup.test.ts +++ b/x-pack/plugins/fleet/server/services/setup.test.ts @@ -20,6 +20,7 @@ import { setupFleet } from './setup'; jest.mock('./preconfiguration'); jest.mock('./preconfiguration/outputs'); jest.mock('./preconfiguration/fleet_proxies'); +jest.mock('./preconfiguration/space_settings'); jest.mock('./settings'); jest.mock('./output'); jest.mock('./download_source'); diff --git a/x-pack/plugins/fleet/server/services/setup.ts b/x-pack/plugins/fleet/server/services/setup.ts index a1df9c7d9d609..e59eb229ad8e5 100644 --- a/x-pack/plugins/fleet/server/services/setup.ts +++ b/x-pack/plugins/fleet/server/services/setup.ts @@ -52,6 +52,7 @@ import { import { cleanUpOldFileIndices } from './setup/clean_old_fleet_indices'; import type { UninstallTokenInvalidError } from './security/uninstall_token_service'; import { ensureAgentPoliciesFleetServerKeysAndPolicies } from './setup/fleet_server_policies_enrollment_keys'; +import { ensureSpaceSettings } from './preconfiguration/space_settings'; export interface SetupStatus { isInitialized: boolean; @@ -191,6 +192,9 @@ async function createSetupSideEffects( getPreconfiguredFleetServerHostFromConfig(appContextService.getConfig()) ); + logger.debug('Setting up Space settings'); + await ensureSpaceSettings(appContextService.getConfig()?.spaceSettings ?? []); + logger.debug('Setting up Fleet outputs'); await Promise.all([ ensurePreconfiguredOutputs( diff --git a/x-pack/plugins/fleet/server/services/spaces/policy_namespaces.test.ts b/x-pack/plugins/fleet/server/services/spaces/policy_namespaces.test.ts new file mode 100644 index 0000000000000..8cee5b4e618be --- /dev/null +++ b/x-pack/plugins/fleet/server/services/spaces/policy_namespaces.test.ts @@ -0,0 +1,118 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import { savedObjectsClientMock } from '@kbn/core-saved-objects-api-server-mocks'; +import { SavedObjectsErrorHelpers } from '@kbn/core-saved-objects-server'; + +import { appContextService } from '../app_context'; + +import { validatePolicyNamespaceForSpace } from './policy_namespaces'; + +jest.mock('../app_context'); + +describe('validatePolicyNamespaceForSpace', () => { + function createSavedsClientMock(settingsAttributes?: any) { + const client = savedObjectsClientMock.create(); + + if (settingsAttributes) { + client.get.mockResolvedValue({ + attributes: settingsAttributes, + } as any); + } else { + client.get.mockRejectedValue( + SavedObjectsErrorHelpers.createGenericNotFoundError('Not found') + ); + } + + jest.mocked(appContextService.getInternalUserSOClientForSpaceId).mockReturnValue(client); + + return client; + } + + beforeEach(() => { + jest + .mocked(appContextService.getExperimentalFeatures) + .mockReturnValue({ useSpaceAwareness: true } as any); + }); + + it('should retrieve settings based on given spaceId', async () => { + const soClient = createSavedsClientMock(); + await validatePolicyNamespaceForSpace({ + spaceId: 'test1', + namespace: 'test', + }); + + expect(soClient.get).toBeCalledWith('fleet-space-settings', 'test1-default-settings'); + }); + + it('should retrieve default space settings based if no spaceId is provided', async () => { + const soClient = createSavedsClientMock(); + await validatePolicyNamespaceForSpace({ + namespace: 'test', + }); + + expect(soClient.get).toBeCalledWith('fleet-space-settings', 'default-default-settings'); + }); + + it('should accept valid namespace if there is some allowed_namespace_prefixes configured', async () => { + createSavedsClientMock({ + allowed_namespace_prefixes: ['tata', 'test', 'toto'], + }); + await validatePolicyNamespaceForSpace({ + spaceId: 'test1', + namespace: 'test', + }); + }); + + it('should accept valid namespace matching prefix if there is some allowed_namespace_prefixes configured', async () => { + createSavedsClientMock({ + allowed_namespace_prefixes: ['tata', 'test', 'toto'], + }); + await validatePolicyNamespaceForSpace({ + spaceId: 'test1', + namespace: 'testvalid', + }); + }); + + it('should accept any namespace if there is no settings configured', async () => { + createSavedsClientMock(); + await validatePolicyNamespaceForSpace({ + spaceId: 'test1', + namespace: 'testvalid', + }); + }); + + it('should accept any namespace if there is no allowed_namespace_prefixes configured', async () => { + createSavedsClientMock(); + await validatePolicyNamespaceForSpace({ + spaceId: 'test1', + namespace: 'testvalid', + }); + }); + + it('should throw if the namespace is not matching allowed_namespace_prefixes', async () => { + createSavedsClientMock({ allowed_namespace_prefixes: ['tata', 'test', 'toto'] }); + await expect( + validatePolicyNamespaceForSpace({ + spaceId: 'test1', + namespace: 'notvalid', + }) + ).rejects.toThrowError(/Invalid namespace, supported namespace prefixes: tata, test, toto/); + }); + + it('should not validate if feature flag is off', async () => { + jest + .mocked(appContextService.getExperimentalFeatures) + .mockReturnValue({ useSpaceAwareness: false } as any); + createSavedsClientMock({ allowed_namespace_prefixes: ['tata', 'test', 'toto'] }); + + await validatePolicyNamespaceForSpace({ + spaceId: 'test1', + namespace: 'notvalid', + }); + }); +}); diff --git a/x-pack/plugins/fleet/server/services/spaces/policy_namespaces.ts b/x-pack/plugins/fleet/server/services/spaces/policy_namespaces.ts new file mode 100644 index 0000000000000..f3d7ee303985c --- /dev/null +++ b/x-pack/plugins/fleet/server/services/spaces/policy_namespaces.ts @@ -0,0 +1,44 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import { appContextService } from '../app_context'; +import { PolicyNamespaceValidationError } from '../../../common/errors'; + +import { getSpaceSettings } from './space_settings'; + +export async function validatePolicyNamespaceForSpace({ + namespace, + spaceId, +}: { + namespace: string; + spaceId?: string; +}) { + const experimentalFeature = appContextService.getExperimentalFeatures(); + if (!experimentalFeature.useSpaceAwareness) { + return; + } + const settings = await getSpaceSettings(spaceId); + if (!settings.allowed_namespace_prefixes || settings.allowed_namespace_prefixes.length === 0) { + return; + } + + let valid = false; + for (const allowedNamespacePrefix of settings.allowed_namespace_prefixes) { + if (namespace.startsWith(allowedNamespacePrefix)) { + valid = true; + break; + } + } + + if (!valid) { + throw new PolicyNamespaceValidationError( + `Invalid namespace, supported namespace prefixes: ${settings.allowed_namespace_prefixes.join( + ', ' + )}` + ); + } +} diff --git a/x-pack/plugins/fleet/server/services/spaces/space_settings.test.ts b/x-pack/plugins/fleet/server/services/spaces/space_settings.test.ts new file mode 100644 index 0000000000000..a0db98c84e972 --- /dev/null +++ b/x-pack/plugins/fleet/server/services/spaces/space_settings.test.ts @@ -0,0 +1,104 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import { savedObjectsClientMock } from '@kbn/core-saved-objects-api-server-mocks'; +import { SavedObjectsErrorHelpers } from '@kbn/core-saved-objects-server'; + +import { appContextService } from '../app_context'; + +import { saveSpaceSettings } from './space_settings'; + +jest.mock('../app_context'); + +describe('saveSpaceSettings', () => { + function createSavedsClientMock(settingsAttributes?: any) { + const client = savedObjectsClientMock.create(); + + if (settingsAttributes) { + client.get.mockResolvedValue({ + attributes: settingsAttributes, + } as any); + } else { + client.get.mockRejectedValue( + SavedObjectsErrorHelpers.createGenericNotFoundError('Not found') + ); + } + + jest.mocked(appContextService.getInternalUserSOClientForSpaceId).mockReturnValue(client); + + return client; + } + describe('saved managedBy settings', () => { + it('should work if saved with managedBy:kibana_config and previous settings did not exists', async () => { + const soClient = createSavedsClientMock(); + await saveSpaceSettings({ + spaceId: 'test', + managedBy: 'kibana_config', + settings: { + allowed_namespace_prefixes: ['test'], + managed_by: 'kibana_config', + }, + }); + expect(soClient.update).toBeCalledWith( + 'fleet-space-settings', + 'test-default-settings', + { allowed_namespace_prefixes: ['test'], managed_by: 'kibana_config' }, + expect.anything() + ); + }); + + it('should work if saved with managedBy:kibana_config and previous settings is managedBy:kibana_config', async () => { + const soClient = createSavedsClientMock({ + managed_by: 'kibana_config', + }); + await saveSpaceSettings({ + spaceId: 'test', + managedBy: 'kibana_config', + settings: { + allowed_namespace_prefixes: ['test'], + managed_by: 'kibana_config', + }, + }); + expect(soClient.update).toBeCalledWith( + 'fleet-space-settings', + 'test-default-settings', + { allowed_namespace_prefixes: ['test'], managed_by: 'kibana_config' }, + expect.anything() + ); + }); + + it('should work if saved with managedBy:kibana_config and previous settings is not managedBy:kibana_config', async () => { + const so = createSavedsClientMock({}); + await saveSpaceSettings({ + spaceId: 'test', + managedBy: 'kibana_config', + settings: { + allowed_namespace_prefixes: ['test'], + managed_by: 'kibana_config', + }, + }); + expect(so.update).toBeCalledWith( + 'fleet-space-settings', + 'test-default-settings', + { allowed_namespace_prefixes: ['test'], managed_by: 'kibana_config' }, + expect.anything() + ); + }); + + it('should throw if called without managedBy:kibana_config and previous settings is managedBy:kibana_config', async () => { + createSavedsClientMock({ managed_by: 'kibana_config' }); + await expect( + saveSpaceSettings({ + spaceId: 'test', + settings: { + allowed_namespace_prefixes: ['test'], + }, + }) + ).rejects.toThrowError(/Settings are managed by: kibana_config and should be edited there/); + }); + }); +}); diff --git a/x-pack/plugins/fleet/server/services/spaces/space_settings.ts b/x-pack/plugins/fleet/server/services/spaces/space_settings.ts new file mode 100644 index 0000000000000..ece0291ff4f7c --- /dev/null +++ b/x-pack/plugins/fleet/server/services/spaces/space_settings.ts @@ -0,0 +1,69 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import { DEFAULT_SPACE_ID } from '@kbn/spaces-plugin/common'; +import { SavedObjectsErrorHelpers } from '@kbn/core/server'; + +import { SPACE_SETTINGS_ID_SUFFIX } from '../../../common/constants'; +import { appContextService } from '../app_context'; +import { SPACE_SETTINGS_SAVED_OBJECT_TYPE } from '../../constants'; +import type { SpaceSettingsSOAttributes } from '../../types'; +import { FleetUnauthorizedError } from '../..'; + +function _getSavedObjectId(spaceId?: string) { + if (!spaceId || spaceId === DEFAULT_SPACE_ID) { + return `${DEFAULT_SPACE_ID}${SPACE_SETTINGS_ID_SUFFIX}`; + } + + return `${spaceId}${SPACE_SETTINGS_ID_SUFFIX}`; +} + +export async function getSpaceSettings(spaceId?: string) { + const soClient = appContextService.getInternalUserSOClientForSpaceId(spaceId); + + const settings = await soClient + .get(SPACE_SETTINGS_SAVED_OBJECT_TYPE, _getSavedObjectId(spaceId)) + .catch((err) => { + if (SavedObjectsErrorHelpers.isNotFoundError(err)) { + return undefined; + } + throw err; + }); + + return { + allowed_namespace_prefixes: settings?.attributes?.allowed_namespace_prefixes ?? [], + managed_by: settings?.attributes?.managed_by, + }; +} + +export async function saveSpaceSettings({ + settings, + spaceId, + managedBy, +}: { + settings: Partial; + spaceId?: string; + managedBy?: 'kibana_config'; +}) { + const soClient = appContextService.getInternalUserSOClientForSpaceId(spaceId); + + const originalSettings = await getSpaceSettings(spaceId); + if (originalSettings.managed_by && originalSettings.managed_by !== managedBy) { + throw new FleetUnauthorizedError( + `Settings are managed by: ${originalSettings.managed_by} and should be edited there` + ); + } + + await soClient.update( + SPACE_SETTINGS_SAVED_OBJECT_TYPE, + _getSavedObjectId(spaceId), + settings, + { + upsert: settings, + } + ); +} diff --git a/x-pack/plugins/fleet/server/types/models/preconfiguration.ts b/x-pack/plugins/fleet/server/types/models/preconfiguration.ts index 37786ab207249..6216eb4bbd326 100644 --- a/x-pack/plugins/fleet/server/types/models/preconfiguration.ts +++ b/x-pack/plugins/fleet/server/types/models/preconfiguration.ts @@ -195,3 +195,23 @@ export const PreconfiguredAgentPoliciesSchema = schema.arrayOf( defaultValue: [], } ); + +export const PreconfiguredSpaceSettingsSchema = schema.arrayOf( + schema.object({ + space_id: schema.string(), + allowed_namespace_prefixes: schema.nullable( + schema.arrayOf( + schema.string({ + validate: (v) => { + if (v.includes('-')) { + return 'Must not contain -'; + } + }, + }) + ) + ), + }), + { + defaultValue: [], + } +); diff --git a/x-pack/plugins/fleet/server/types/rest_spec/settings.test.ts b/x-pack/plugins/fleet/server/types/rest_spec/settings.test.ts new file mode 100644 index 0000000000000..703f01fe82d37 --- /dev/null +++ b/x-pack/plugins/fleet/server/types/rest_spec/settings.test.ts @@ -0,0 +1,24 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import { PutSpaceSettingsRequestSchema } from './settings'; + +describe('PutSpaceSettingsRequestSchema', () => { + it('should work with valid allowed_namespace_prefixes', () => { + PutSpaceSettingsRequestSchema.body.validate({ + allowed_namespace_prefixes: ['test', 'test2'], + }); + }); + + it('should not accept allowed_namespace_prefixes with -', () => { + expect(() => + PutSpaceSettingsRequestSchema.body.validate({ + allowed_namespace_prefixes: ['test', 'test-'], + }) + ).toThrowErrorMatchingInlineSnapshot(`"[allowed_namespace_prefixes.1]: Must not contain -"`); + }); +}); diff --git a/x-pack/plugins/fleet/server/types/rest_spec/settings.ts b/x-pack/plugins/fleet/server/types/rest_spec/settings.ts index c6eb10e0cc52f..10db7b0f4def7 100644 --- a/x-pack/plugins/fleet/server/types/rest_spec/settings.ts +++ b/x-pack/plugins/fleet/server/types/rest_spec/settings.ts @@ -39,6 +39,24 @@ export const PutSettingsRequestSchema = { }), }; +export const GetSpaceSettingsRequestSchema = {}; + +export const PutSpaceSettingsRequestSchema = { + body: schema.object({ + allowed_namespace_prefixes: schema.maybe( + schema.arrayOf( + schema.string({ + validate: (v) => { + if (v.includes('-')) { + return 'Must not contain -'; + } + }, + }) + ) + ), + }), +}; + export const GetEnrollmentSettingsRequestSchema = { query: schema.maybe( schema.object({ diff --git a/x-pack/plugins/fleet/server/types/so_attributes.ts b/x-pack/plugins/fleet/server/types/so_attributes.ts index 024718c6f4970..79640a0f90e12 100644 --- a/x-pack/plugins/fleet/server/types/so_attributes.ts +++ b/x-pack/plugins/fleet/server/types/so_attributes.ts @@ -239,6 +239,11 @@ export interface SettingsSOAttributes { output_secret_storage_requirements_met?: boolean; } +export interface SpaceSettingsSOAttributes { + allowed_namespace_prefixes?: string[] | null; + managed_by?: 'kibana_config' | null; +} + export interface DownloadSourceSOAttributes { name: string; host: string; diff --git a/x-pack/plugins/index_lifecycle_management/integration_tests/edit_policy/features/delete_phase.helpers.ts b/x-pack/plugins/index_lifecycle_management/integration_tests/edit_policy/features/delete_phase.helpers.ts index 12237a05e7359..6791cb283d836 100644 --- a/x-pack/plugins/index_lifecycle_management/integration_tests/edit_policy/features/delete_phase.helpers.ts +++ b/x-pack/plugins/index_lifecycle_management/integration_tests/edit_policy/features/delete_phase.helpers.ts @@ -7,6 +7,7 @@ import { HttpSetup } from '@kbn/core/public'; import { + createDeleteSearchableSnapshotActions, createMinAgeActions, createSavePolicyAction, createSnapshotPolicyActions, @@ -31,6 +32,7 @@ export const setupDeleteTestBed = async (httpSetup: HttpSetup) => { isShown: () => exists('delete-phase'), ...createMinAgeActions(testBed, 'delete'), ...createSnapshotPolicyActions(testBed), + ...createDeleteSearchableSnapshotActions(testBed), }, }, }; diff --git a/x-pack/plugins/index_lifecycle_management/integration_tests/edit_policy/features/delete_phase.test.ts b/x-pack/plugins/index_lifecycle_management/integration_tests/edit_policy/features/delete_phase.test.ts index df6dd516c8a58..a875470dabb35 100644 --- a/x-pack/plugins/index_lifecycle_management/integration_tests/edit_policy/features/delete_phase.test.ts +++ b/x-pack/plugins/index_lifecycle_management/integration_tests/edit_policy/features/delete_phase.test.ts @@ -156,4 +156,34 @@ describe(' delete phase', () => { expect(actions.delete.hasPolicyErrorCallout()).toBeTruthy(); }); }); + + describe('delete searchable snapshot', () => { + test('correctly updates the value', async () => { + const { actions } = testBed; + + await actions.delete.toggleDeleteSearchableSnapshot(); + await actions.savePolicy(); + + const expected = { + phases: { + ...DELETE_PHASE_POLICY.policy.phases, + delete: { + ...DELETE_PHASE_POLICY.policy.phases.delete, + actions: { + ...DELETE_PHASE_POLICY.policy.phases.delete?.actions, + delete: { + delete_searchable_snapshot: false, + }, + }, + }, + }, + name: DELETE_PHASE_POLICY.name, + }; + + expect(httpSetup.post).toHaveBeenLastCalledWith( + `${API_BASE_PATH}/policies`, + expect.objectContaining({ body: JSON.stringify(expected) }) + ); + }); + }); }); diff --git a/x-pack/plugins/index_lifecycle_management/integration_tests/edit_policy/serialization/policy_serialization.test.ts b/x-pack/plugins/index_lifecycle_management/integration_tests/edit_policy/serialization/policy_serialization.test.ts index 05aa66fcc5f25..9892e4394d66c 100644 --- a/x-pack/plugins/index_lifecycle_management/integration_tests/edit_policy/serialization/policy_serialization.test.ts +++ b/x-pack/plugins/index_lifecycle_management/integration_tests/edit_policy/serialization/policy_serialization.test.ts @@ -671,7 +671,9 @@ describe(' serialization', () => { expect(parsedReqBody.phases.delete).toEqual({ min_age: '365d', actions: { - delete: {}, + delete: { + delete_searchable_snapshot: true, + }, wait_for_snapshot: { policy: 'test', }, diff --git a/x-pack/plugins/index_lifecycle_management/integration_tests/helpers/actions/delete_searchable_snapshot_actions.ts b/x-pack/plugins/index_lifecycle_management/integration_tests/helpers/actions/delete_searchable_snapshot_actions.ts new file mode 100644 index 0000000000000..341b91b893234 --- /dev/null +++ b/x-pack/plugins/index_lifecycle_management/integration_tests/helpers/actions/delete_searchable_snapshot_actions.ts @@ -0,0 +1,16 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import { TestBed } from '@kbn/test-jest-helpers'; +import { createFormToggleAction } from './form_toggle_action'; + +export const createDeleteSearchableSnapshotActions = (testBed: TestBed) => { + const toggleSelector = `deleteSearchableSnapshotSwitch`; + return { + toggleDeleteSearchableSnapshot: createFormToggleAction(testBed, toggleSelector), + }; +}; diff --git a/x-pack/plugins/index_lifecycle_management/integration_tests/helpers/actions/index.ts b/x-pack/plugins/index_lifecycle_management/integration_tests/helpers/actions/index.ts index fefbd0363d449..6c0809d44002a 100644 --- a/x-pack/plugins/index_lifecycle_management/integration_tests/helpers/actions/index.ts +++ b/x-pack/plugins/index_lifecycle_management/integration_tests/helpers/actions/index.ts @@ -30,3 +30,4 @@ export { createDeletePhaseActions, } from './phases'; export { createRequestFlyoutActions } from './request_flyout_actions'; +export { createDeleteSearchableSnapshotActions } from './delete_searchable_snapshot_actions'; diff --git a/x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/components/phases/delete_phase/delete_phase.tsx b/x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/components/phases/delete_phase/delete_phase.tsx index 874b98361de40..368b8872a0cd5 100644 --- a/x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/components/phases/delete_phase/delete_phase.tsx +++ b/x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/components/phases/delete_phase/delete_phase.tsx @@ -6,9 +6,20 @@ */ import React, { FunctionComponent } from 'react'; +import { DeleteSearchableSnapshotField } from './delete_searchable_snapshot_field'; import { Phase } from '../phase'; import { SnapshotPoliciesField } from '../shared_fields'; export const DeletePhase: FunctionComponent = () => { - return } />; + return ( + + + + + } + /> + ); }; diff --git a/x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/components/phases/delete_phase/delete_searchable_snapshot_field.tsx b/x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/components/phases/delete_phase/delete_searchable_snapshot_field.tsx new file mode 100644 index 0000000000000..5e19894843ff6 --- /dev/null +++ b/x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/components/phases/delete_phase/delete_searchable_snapshot_field.tsx @@ -0,0 +1,46 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import React from 'react'; +import { FormattedMessage } from '@kbn/i18n-react'; +import { EuiTextColor } from '@elastic/eui'; +import { LearnMoreLink } from '../../learn_more_link'; +import { ToggleFieldWithDescribedFormRow } from '../../described_form_row'; +import { useKibana } from '../../../../../../shared_imports'; + +export const DeleteSearchableSnapshotField: React.FunctionComponent = () => { + const { docLinks } = useKibana().services; + return ( + + + + } + description={ + + {' '} + + + } + fullWidth + titleSize="xs" + switchProps={{ + 'data-test-subj': `deleteSearchableSnapshotSwitch`, + path: `phases.delete.actions.delete.delete_searchable_snapshot`, + }} + > +
+ + ); +}; diff --git a/x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/form/schema.ts b/x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/form/schema.ts index 2299cd2fed344..c5a499f94d7a0 100644 --- a/x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/form/schema.ts +++ b/x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/form/schema.ts @@ -520,6 +520,17 @@ export const getSchema = (isCloudEnabled: boolean): FormSchema => ({ ), }, }, + delete: { + delete_searchable_snapshot: { + label: i18n.translate( + 'xpack.indexLifecycleMgmt.editPolicy.deleteSearchableSnapshotFieldLabel', + { + defaultMessage: 'Delete searchable snapshot', + } + ), + defaultValue: true, + }, + }, }, }, }, diff --git a/x-pack/plugins/lens/public/visualizations/metric/toolbar/label_options_popover.test.tsx b/x-pack/plugins/lens/public/visualizations/metric/toolbar/label_options_popover.test.tsx deleted file mode 100644 index 1f205c60f6916..0000000000000 --- a/x-pack/plugins/lens/public/visualizations/metric/toolbar/label_options_popover.test.tsx +++ /dev/null @@ -1,94 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the Elastic License - * 2.0; you may not use this file except in compliance with the Elastic License - * 2.0. - */ - -import React from 'react'; -import { CustomPaletteParams, PaletteOutput } from '@kbn/coloring'; -import { fireEvent, render, screen, waitFor } from '@testing-library/react'; -import { MetricVisualizationState } from '../types'; -import { LabelOptionsPopover } from './label_options_popover'; - -describe('LabelOptionsPopover', () => { - const palette: PaletteOutput = { - type: 'palette', - name: 'foo', - params: { - rangeType: 'percent', - }, - }; - - const fullState: Required = { - layerId: 'first', - layerType: 'data', - metricAccessor: 'metric-col-id', - secondaryMetricAccessor: 'secondary-metric-col-id', - maxAccessor: 'max-metric-col-id', - breakdownByAccessor: 'breakdown-col-id', - collapseFn: 'sum', - subtitle: 'subtitle', - secondaryPrefix: 'extra-text', - progressDirection: 'vertical', - maxCols: 5, - color: 'static-color', - icon: 'compute', - palette, - showBar: true, - trendlineLayerId: 'second', - trendlineLayerType: 'metricTrendline', - trendlineMetricAccessor: 'trendline-metric-col-id', - trendlineSecondaryMetricAccessor: 'trendline-secondary-metric-col-id', - trendlineTimeAccessor: 'trendline-time-col-id', - trendlineBreakdownByAccessor: 'trendline-breakdown-col-id', - titlesTextAlign: 'left', - valuesTextAlign: 'right', - iconAlign: 'left', - valueFontMode: 'default', - }; - - const mockSetState = jest.fn(); - - const renderToolbarOptions = (state: MetricVisualizationState) => { - return { - ...render(), - }; - }; - - afterEach(() => mockSetState.mockClear()); - - it('should set a subtitle', async () => { - renderToolbarOptions({ - ...fullState, - breakdownByAccessor: undefined, - }); - const labelOptionsButton = screen.getByTestId('lnsLabelsButton'); - labelOptionsButton.click(); - - const newSubtitle = 'new subtitle hey'; - const subtitleField = screen.getByDisplayValue('subtitle'); - // cannot use userEvent because the element cannot be clicked on - fireEvent.change(subtitleField, { target: { value: newSubtitle + ' 1' } }); - await waitFor(() => expect(mockSetState).toHaveBeenCalled()); - fireEvent.change(subtitleField, { target: { value: newSubtitle + ' 2' } }); - await waitFor(() => expect(mockSetState).toHaveBeenCalledTimes(2)); - fireEvent.change(subtitleField, { target: { value: newSubtitle + ' 3' } }); - await waitFor(() => expect(mockSetState).toHaveBeenCalledTimes(3)); - expect(mockSetState.mock.calls.map(([state]) => state.subtitle)).toMatchInlineSnapshot(` - Array [ - "new subtitle hey 1", - "new subtitle hey 2", - "new subtitle hey 3", - ] - `); - }); - - it('should disable labels options when Metric has breakdown by', () => { - renderToolbarOptions({ - ...fullState, - breakdownByAccessor: 'some-accessor', - }); - expect(screen.getByTestId('lnsLabelsButton')).toBeDisabled(); - }); -}); diff --git a/x-pack/plugins/lens/public/visualizations/metric/toolbar/label_options_popover.tsx b/x-pack/plugins/lens/public/visualizations/metric/toolbar/label_options_popover.tsx deleted file mode 100644 index ec7101a8dedb8..0000000000000 --- a/x-pack/plugins/lens/public/visualizations/metric/toolbar/label_options_popover.tsx +++ /dev/null @@ -1,72 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the Elastic License - * 2.0; you may not use this file except in compliance with the Elastic License - * 2.0. - */ - -import React, { FC, useCallback } from 'react'; - -import { EuiFormRow, EuiFieldText } from '@elastic/eui'; -import { i18n } from '@kbn/i18n'; - -import { useDebouncedValue } from '@kbn/visualization-utils'; -import { TooltipWrapper } from '@kbn/visualization-utils'; -import { ToolbarPopover } from '../../../shared_components'; -import { MetricVisualizationState } from '../types'; - -export interface LabelOptionsPopoverProps { - state: MetricVisualizationState; - setState: (newState: MetricVisualizationState) => void; -} - -export const LabelOptionsPopover: FC = ({ state, setState }) => { - const setSubtitle = useCallback( - (prefix: string) => setState({ ...state, subtitle: prefix }), - [setState, state] - ); - - const { inputValue: subtitleInputVal, handleInputChange: handleSubtitleChange } = - useDebouncedValue( - { - onChange: setSubtitle, - value: state.subtitle || '', - }, - { allowFalsyValue: true } - ); - - const hasBreakdownBy = Boolean(state.breakdownByAccessor); - - return ( - - - - handleSubtitleChange(value)} - /> - - - - ); -}; diff --git a/x-pack/plugins/lens/public/visualizations/metric/toolbar/visual_options_popover.test.tsx b/x-pack/plugins/lens/public/visualizations/metric/toolbar/titles_and_text_popover.test.tsx similarity index 66% rename from x-pack/plugins/lens/public/visualizations/metric/toolbar/visual_options_popover.test.tsx rename to x-pack/plugins/lens/public/visualizations/metric/toolbar/titles_and_text_popover.test.tsx index 06b253dc862b9..6031d74fc8e37 100644 --- a/x-pack/plugins/lens/public/visualizations/metric/toolbar/visual_options_popover.test.tsx +++ b/x-pack/plugins/lens/public/visualizations/metric/toolbar/titles_and_text_popover.test.tsx @@ -7,17 +7,12 @@ import React from 'react'; import { CustomPaletteParams, PaletteOutput } from '@kbn/coloring'; -import { render, screen } from '@testing-library/react'; +import { fireEvent, render, screen, waitFor } from '@testing-library/react'; import { MetricVisualizationState } from '../types'; -import { VisualOptionsPopover } from './visual_options_popover'; +import { TitlesAndTextPopover } from './titles_and_text_popover'; import { EuiButtonGroupTestHarness } from '@kbn/test-eui-helpers'; -jest.mock('lodash', () => ({ - ...jest.requireActual('lodash'), - debounce: (fn: unknown) => fn, -})); - -describe('VisualOptionsPopover', () => { +describe('TitlesAndTextPopover', () => { const palette: PaletteOutput = { type: 'palette', name: 'foo', @@ -58,15 +53,49 @@ describe('VisualOptionsPopover', () => { const renderToolbarOptions = (state: MetricVisualizationState) => { return { - ...render(), + ...render(), }; }; afterEach(() => mockSetState.mockClear()); + it('should set a subtitle', async () => { + renderToolbarOptions({ + ...fullState, + breakdownByAccessor: undefined, + }); + const labelOptionsButton = screen.getByTestId('lnsTitlesTextButton'); + labelOptionsButton.click(); + + const newSubtitle = 'new subtitle hey'; + const subtitleField = screen.getByDisplayValue('subtitle'); + // cannot use userEvent because the element cannot be clicked on + fireEvent.change(subtitleField, { target: { value: newSubtitle + ' 1' } }); + await waitFor(() => expect(mockSetState).toHaveBeenCalled()); + fireEvent.change(subtitleField, { target: { value: newSubtitle + ' 2' } }); + await waitFor(() => expect(mockSetState).toHaveBeenCalledTimes(2)); + fireEvent.change(subtitleField, { target: { value: newSubtitle + ' 3' } }); + await waitFor(() => expect(mockSetState).toHaveBeenCalledTimes(3)); + expect(mockSetState.mock.calls.map(([state]) => state.subtitle)).toMatchInlineSnapshot(` + Array [ + "new subtitle hey 1", + "new subtitle hey 2", + "new subtitle hey 3", + ] + `); + }); + + it('should hide subtitle option when Metric has breakdown by', () => { + renderToolbarOptions({ + ...fullState, + breakdownByAccessor: 'some-accessor', + }); + expect(screen.queryByDisplayValue('subtitle')).not.toBeInTheDocument(); + }); + it('should set titlesTextAlign', async () => { renderToolbarOptions({ ...fullState }); - const textOptionsButton = screen.getByTestId('lnsVisualOptionsButton'); + const textOptionsButton = screen.getByTestId('lnsTitlesTextButton'); textOptionsButton.click(); const titlesAlignBtnGroup = new EuiButtonGroupTestHarness('lens-titles-alignment-btn'); @@ -84,7 +113,7 @@ describe('VisualOptionsPopover', () => { it('should set valuesTextAlign', async () => { renderToolbarOptions({ ...fullState }); - const textOptionsButton = screen.getByTestId('lnsVisualOptionsButton'); + const textOptionsButton = screen.getByTestId('lnsTitlesTextButton'); textOptionsButton.click(); const valueAlignBtnGroup = new EuiButtonGroupTestHarness('lens-values-alignment-btn'); @@ -102,7 +131,7 @@ describe('VisualOptionsPopover', () => { it('should set valueFontMode', async () => { renderToolbarOptions({ ...fullState }); - const textOptionsButton = screen.getByTestId('lnsVisualOptionsButton'); + const textOptionsButton = screen.getByTestId('lnsTitlesTextButton'); textOptionsButton.click(); const modeBtnGroup = new EuiButtonGroupTestHarness('lens-value-font-mode-btn'); @@ -117,7 +146,7 @@ describe('VisualOptionsPopover', () => { it('should set iconAlign', async () => { renderToolbarOptions({ ...fullState, icon: 'sortUp' }); - const textOptionsButton = screen.getByTestId('lnsVisualOptionsButton'); + const textOptionsButton = screen.getByTestId('lnsTitlesTextButton'); textOptionsButton.click(); const iconAlignBtnGroup = new EuiButtonGroupTestHarness('lens-icon-alignment-btn'); @@ -132,7 +161,7 @@ describe('VisualOptionsPopover', () => { it.each([undefined, 'empty'])('should hide iconAlign option when icon is %j', async (icon) => { renderToolbarOptions({ ...fullState, icon }); - const textOptionsButton = screen.getByTestId('lnsVisualOptionsButton'); + const textOptionsButton = screen.getByTestId('lnsTitlesTextButton'); textOptionsButton.click(); expect(screen.queryByTestId('lens-icon-alignment-btn')).not.toBeInTheDocument(); diff --git a/x-pack/plugins/lens/public/visualizations/metric/toolbar/visual_options_popover.tsx b/x-pack/plugins/lens/public/visualizations/metric/toolbar/titles_and_text_popover.tsx similarity index 71% rename from x-pack/plugins/lens/public/visualizations/metric/toolbar/visual_options_popover.tsx rename to x-pack/plugins/lens/public/visualizations/metric/toolbar/titles_and_text_popover.tsx index 607bba17afc24..fae4ef348f601 100644 --- a/x-pack/plugins/lens/public/visualizations/metric/toolbar/visual_options_popover.tsx +++ b/x-pack/plugins/lens/public/visualizations/metric/toolbar/titles_and_text_popover.tsx @@ -7,41 +7,51 @@ import React, { FC } from 'react'; -import { EuiFormRow, EuiIconTip, EuiButtonGroup } from '@elastic/eui'; +import { EuiFormRow, EuiFieldText, EuiButtonGroup, EuiIconTip } from '@elastic/eui'; import { i18n } from '@kbn/i18n'; +import { useDebouncedValue } from '@kbn/visualization-utils'; import { MetricStyle } from '@elastic/charts'; -import { ToolbarPopover } from '../../../shared_components'; +import { ToolbarPopover, ToolbarPopoverProps } from '../../../shared_components'; import { MetricVisualizationState, ValueFontMode } from '../types'; import { metricStateDefaults } from '../constants'; -export interface VisualOptionsPopoverProps { +export interface TitlesAndTextPopoverProps { state: MetricVisualizationState; setState: (newState: MetricVisualizationState) => void; + groupPosition?: ToolbarPopoverProps['groupPosition']; } -export const VisualOptionsPopover: FC = ({ state, setState }) => { +export const TitlesAndTextPopover: FC = ({ + state, + setState, + groupPosition, +}) => { return ( + {!state.breakdownByAccessor && ( + { + setState({ ...state, subtitle }); + }} + /> + )} + { setState({ ...state, titlesTextAlign }); }} /> - { - setState({ ...state, valuesTextAlign }); - }} - /> + {state.icon && state.icon !== 'empty' && ( = ({ state, set }} /> )} - { + setState({ ...state, valuesTextAlign }); + }} + /> + + { setState({ ...state, valueFontMode: value }); @@ -60,33 +78,66 @@ export const VisualOptionsPopover: FC = ({ state, set ); }; +function SubtitleOption({ + value = '', + onChange, +}: { + value?: string; + onChange: (subtitle: string) => void; +}) { + const { inputValue, handleInputChange } = useDebouncedValue( + { + onChange, + value, + }, + { allowFalsyValue: true } + ); + + return ( + + handleInputChange(newValue)} + /> + + ); +} + const valueFontModes: Array<{ id: ValueFontMode; label: string; }> = [ { id: 'default', - label: i18n.translate('xpack.lens.metric.toolbarVisOptions.default', { + label: i18n.translate('xpack.lens.metric.toolbarTitlesText.default', { defaultMessage: 'Default', }), }, { id: 'fit', - label: i18n.translate('xpack.lens.metric.toolbarVisOptions.fit', { + label: i18n.translate('xpack.lens.metric.toolbarTitlesText.fit', { defaultMessage: 'Fit', }), }, ]; -function ValueFontOption({ +function ValueFontSizeOption({ value, onChange, }: { value: typeof valueFontModes[number]['id']; onChange: (mode: ValueFontMode) => void; }) { - const label = i18n.translate('xpack.lens.metric.toolbarVisOptions.valueFontSize', { - defaultMessage: 'Value fontSize', + const label = i18n.translate('xpack.lens.metric.toolbarTitlesText.valueFontSize', { + defaultMessage: 'Value font size', }); return ( @@ -96,7 +147,7 @@ function ValueFontOption({ {label}{' '} void; }) { - const label = i18n.translate('xpack.lens.metric.toolbarVisOptions.titlesAlignment', { + const label = i18n.translate('xpack.lens.metric.toolbarTitlesText.titlesAlignment', { defaultMessage: 'Titles alignment', }); @@ -167,7 +218,7 @@ function TitlesAlignmentOption({ {label}{' '} void; }) { - const label = i18n.translate('xpack.lens.metric.toolbarVisOptions.valuesAlignment', { + const label = i18n.translate('xpack.lens.metric.toolbarTitlesText.valuesAlignment', { defaultMessage: 'Values alignment', }); @@ -215,8 +266,8 @@ function ValuesAlignmentOption({ {label}{' '} void; }) { - const label = i18n.translate('xpack.lens.metric.toolbarVisOptions.iconAlignment', { + const label = i18n.translate('xpack.lens.metric.toolbarTitlesText.iconAlignment', { defaultMessage: 'Icon alignment', }); diff --git a/x-pack/plugins/lens/public/visualizations/metric/toolbar/toolbar.tsx b/x-pack/plugins/lens/public/visualizations/metric/toolbar/toolbar.tsx index 1593d2dce5bf0..0e7abc981d234 100644 --- a/x-pack/plugins/lens/public/visualizations/metric/toolbar/toolbar.tsx +++ b/x-pack/plugins/lens/public/visualizations/metric/toolbar/toolbar.tsx @@ -8,8 +8,7 @@ import React from 'react'; import { EuiFlexGroup, EuiFlexItem } from '@elastic/eui'; import { VisualizationToolbarProps } from '../../../types'; -import { LabelOptionsPopover } from './label_options_popover'; -import { VisualOptionsPopover } from './visual_options_popover'; +import { TitlesAndTextPopover } from './titles_and_text_popover'; import { MetricVisualizationState } from '../types'; export function Toolbar(props: VisualizationToolbarProps) { @@ -19,8 +18,7 @@ export function Toolbar(props: VisualizationToolbarProps - - + diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/entities/charts/log_error_rate_chart.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/entities/charts/log_error_rate_chart.tsx index 56daf2d42d797..db893e717e099 100644 --- a/x-pack/plugins/observability_solution/apm/public/components/app/entities/charts/log_error_rate_chart.tsx +++ b/x-pack/plugins/observability_solution/apm/public/components/app/entities/charts/log_error_rate_chart.tsx @@ -7,6 +7,8 @@ import React from 'react'; import { i18n } from '@kbn/i18n'; import { EuiPanel, EuiTitle, EuiFlexItem, EuiFlexGroup } from '@elastic/eui'; +import { FormattedMessage } from '@kbn/i18n-react'; +import { css } from '@emotion/react'; import { useApmParams } from '../../../../hooks/use_apm_params'; import { useFetcher } from '../../../../hooks/use_fetcher'; import { useTimeRange } from '../../../../hooks/use_time_range'; @@ -14,6 +16,12 @@ import { APIReturnType } from '../../../../services/rest/create_call_apm_api'; import { getTimeSeriesColor, ChartType } from '../../../shared/charts/helper/get_timeseries_color'; import { TimeseriesChartWithContext } from '../../../shared/charts/timeseries_chart_with_context'; import { yLabelAsPercent } from '../../../../../common/utils/formatters'; +import { TooltipContent } from '../../service_inventory/multi_signal_inventory/table/tooltip_content'; +import { Popover } from '../../service_inventory/multi_signal_inventory/table/popover'; +import { + ChartMetricType, + getMetricsFormula, +} from '../../../shared/charts/helper/get_metrics_formulas'; type LogErrorRateReturnType = APIReturnType<'GET /internal/apm/entities/services/{serviceName}/logs_error_rate_timeseries'>; @@ -77,6 +85,35 @@ export function LogErrorRateChart({ height }: { height: number }) { + + + + {i18n.translate( + 'xpack.apm.multiSignal.servicesTable.logErrorRate.tooltip.serviceNameLabel', + { + defaultMessage: 'service.name', + } + )} + + ), + }} + /> + } + /> + + ; @@ -77,6 +85,35 @@ export function LogRateChart({ height }: { height: number }) { + + + + {i18n.translate( + 'xpack.apm.multiSignal.servicesTable.logRatePerMinute.tooltip.serviceNameLabel', + { + defaultMessage: 'service.name', + } + )} + + ), + }} + /> + } + /> + + ( + +
+ {label} +
+ + {toolTip && ( + + + + )} +
+)); diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/service_inventory/multi_signal_inventory/table/get_service_columns.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/service_inventory/multi_signal_inventory/table/get_service_columns.tsx index a5661e36141ac..0fe647b2c5127 100644 --- a/x-pack/plugins/observability_solution/apm/public/components/app/service_inventory/multi_signal_inventory/table/get_service_columns.tsx +++ b/x-pack/plugins/observability_solution/apm/public/components/app/service_inventory/multi_signal_inventory/table/get_service_columns.tsx @@ -9,6 +9,8 @@ import { EuiFlexGroup, EuiFlexItem, RIGHT_ALIGNMENT } from '@elastic/eui'; import { i18n } from '@kbn/i18n'; import { TypeOf } from '@kbn/typed-react-router-config'; import React from 'react'; +import { FormattedMessage } from '@kbn/i18n-react'; +import { css } from '@emotion/react'; import { asDecimalOrInteger, asMillisecondDuration, @@ -22,6 +24,10 @@ import { getTimeSeriesColor, ChartType, } from '../../../../shared/charts/helper/get_timeseries_color'; +import { + getMetricsFormula, + ChartMetricType, +} from '../../../../shared/charts/helper/get_metrics_formulas'; import { EnvironmentBadge } from '../../../../shared/environment_badge'; import { ServiceLink } from '../../../../shared/links/apm/service_link'; import { ListMetric } from '../../../../shared/list_metric'; @@ -31,6 +37,7 @@ import { TruncateWithTooltip } from '../../../../shared/truncate_with_tooltip'; import { ServiceInventoryFieldName } from './multi_signal_services_table'; import { EntityServiceListItem, SignalTypes } from '../../../../../../common/entities/types'; import { isApmSignal } from '../../../../../utils/get_signal_type'; +import { ColumnHeader } from './column_header'; import { APIReturnType } from '../../../../../services/rest/create_call_apm_api'; type ServicesDetailedStatisticsAPIResponse = @@ -167,9 +174,36 @@ export function getServiceColumns({ }, { field: ServiceInventoryFieldName.LogRatePerMinute, - name: i18n.translate('xpack.apm.multiSignal.servicesTable.logRatePerMinute', { - defaultMessage: 'Log rate (per min.)', - }), + name: ( + + {i18n.translate( + 'xpack.apm.multiSignal.servicesTable.logRatePerMinute.tooltip.serviceNameLabel', + { + defaultMessage: 'service.name', + } + )} + + ), + }} + /> + } + /> + ), sortable: true, dataType: 'number', align: RIGHT_ALIGNMENT, @@ -189,9 +223,36 @@ export function getServiceColumns({ }, { field: ServiceInventoryFieldName.LogErrorRate, - name: i18n.translate('xpack.apm.multiSignal.servicesTable.logErrorRate', { - defaultMessage: 'Log error rate', - }), + name: ( + + {i18n.translate( + 'xpack.apm.multiSignal.servicesTable.logErrorRate.tooltip.serviceNameLabel', + { + defaultMessage: 'service.name', + } + )} + + ), + }} + /> + } + /> + ), sortable: true, dataType: 'number', align: RIGHT_ALIGNMENT, diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/service_inventory/multi_signal_inventory/table/popover.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/service_inventory/multi_signal_inventory/table/popover.tsx new file mode 100644 index 0000000000000..3d06ee109906c --- /dev/null +++ b/x-pack/plugins/observability_solution/apm/public/components/app/service_inventory/multi_signal_inventory/table/popover.tsx @@ -0,0 +1,56 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import { EuiPopover, EuiIcon, type IconColor, type IconSize } from '@elastic/eui'; +import { css } from '@emotion/react'; +import React from 'react'; +import { useBoolean } from '@kbn/react-hooks'; + +export function Popover({ + children, + iconColor, + iconSize, + ...props +}: { + children: React.ReactNode; + iconColor?: IconColor; + iconSize?: IconSize; + 'data-test-subj'?: string; +}) { + const [isPopoverOpen, { off: closePopover, toggle: togglePopover }] = useBoolean(false); + + return ( + { + e.stopPropagation(); + togglePopover(); + }} + css={css` + display: flex; + `} + data-test-subj={props['data-test-subj']} + > + + + } + isOpen={isPopoverOpen} + offset={10} + closePopover={closePopover} + repositionOnScroll + anchorPosition="upCenter" + panelStyle={{ maxWidth: 350 }} + > + {children} + + ); +} diff --git a/x-pack/plugins/observability_solution/apm/public/components/app/service_inventory/multi_signal_inventory/table/tooltip_content.tsx b/x-pack/plugins/observability_solution/apm/public/components/app/service_inventory/multi_signal_inventory/table/tooltip_content.tsx new file mode 100644 index 0000000000000..8551c56ef6961 --- /dev/null +++ b/x-pack/plugins/observability_solution/apm/public/components/app/service_inventory/multi_signal_inventory/table/tooltip_content.tsx @@ -0,0 +1,46 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import React, { HTMLAttributes, ReactElement } from 'react'; +import { EuiText } from '@elastic/eui'; +import { css } from '@emotion/react'; +import { FormattedMessage } from '@kbn/i18n-react'; + +export interface TooltipContentProps extends Pick, 'style'> { + description: ReactElement | string; + formula?: string; +} + +export const TooltipContent = React.memo(({ description, formula, style }: TooltipContentProps) => { + const onClick = (e: React.MouseEvent) => { + e.stopPropagation(); + }; + + return ( + +

{description}

+ {formula && ( +

+ + + +
+ + {formula} + +

+ )} +
+ ); +}); diff --git a/x-pack/plugins/observability_solution/apm/public/components/routing/templates/service_group_template.tsx b/x-pack/plugins/observability_solution/apm/public/components/routing/templates/service_group_template.tsx index 1f5074f6b0c78..55babf0b9a9de 100644 --- a/x-pack/plugins/observability_solution/apm/public/components/routing/templates/service_group_template.tsx +++ b/x-pack/plugins/observability_solution/apm/public/components/routing/templates/service_group_template.tsx @@ -12,7 +12,7 @@ import { EuiSkeletonTitle, EuiIcon, } from '@elastic/eui'; -import { apmEnableMultiSignal } from '@kbn/observability-plugin/common'; +import { entityCentricExperience } from '@kbn/observability-plugin/common'; import React from 'react'; import { i18n } from '@kbn/i18n'; import type { KibanaPageTemplateProps } from '@kbn/shared-ux-page-kibana-template'; @@ -154,7 +154,10 @@ function useTabs(selectedTab: ServiceGroupContextTab['key']) { const router = useApmRouter(); const { query } = useAnyOfApmParams('/services', '/service-map'); const { core } = useApmPluginContext(); - const isMultiSignalEnabled = core.uiSettings.get(apmEnableMultiSignal, false); + const isEntityCentricExperienceEnabled = core.uiSettings.get( + entityCentricExperience, + false + ); const tabs: ServiceGroupContextTab[] = [ { @@ -167,7 +170,7 @@ function useTabs(selectedTab: ServiceGroupContextTab['key']) { })} - {isMultiSignalEnabled && ( + {isEntityCentricExperienceEnabled && ( )} diff --git a/x-pack/plugins/observability_solution/apm/public/components/shared/charts/helper/get_metrics_formulas.tsx b/x-pack/plugins/observability_solution/apm/public/components/shared/charts/helper/get_metrics_formulas.tsx new file mode 100644 index 0000000000000..5e969d250e1dd --- /dev/null +++ b/x-pack/plugins/observability_solution/apm/public/components/shared/charts/helper/get_metrics_formulas.tsx @@ -0,0 +1,20 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +export enum ChartMetricType { + LOG_ERROR_RATE, + LOG_RATE, +} + +const metricsFormulasMap: Record = { + [ChartMetricType.LOG_RATE]: `count(kql='log.level: *') / [PERIOD_IN_MINUTES]`, + [ChartMetricType.LOG_ERROR_RATE]: `count(kql='log.level: "error" OR log.level: "ERROR"') / count(kql='log.level: *')`, +}; + +export function getMetricsFormula(chartMetricType: ChartMetricType) { + return metricsFormulasMap[chartMetricType]; +} diff --git a/x-pack/plugins/observability_solution/apm/public/plugin.ts b/x-pack/plugins/observability_solution/apm/public/plugin.ts index 70a2176fdc595..a07c8c5f4c206 100644 --- a/x-pack/plugins/observability_solution/apm/public/plugin.ts +++ b/x-pack/plugins/observability_solution/apm/public/plugin.ts @@ -145,6 +145,10 @@ export interface ApmPluginStartDeps { entityManager: EntityManagerPublicPluginSetup; } +const applicationsTitle = i18n.translate('xpack.apm.navigation.rootTitle', { + defaultMessage: 'Applications', +}); + const servicesTitle = i18n.translate('xpack.apm.navigation.servicesTitle', { defaultMessage: 'Services', }); @@ -205,7 +209,7 @@ export class ApmPlugin implements Plugin { return [ // APM navigation { - label: 'APM', + label: applicationsTitle, sortKey: 400, entries: [ { diff --git a/x-pack/plugins/observability_solution/apm/tsconfig.json b/x-pack/plugins/observability_solution/apm/tsconfig.json index fc7fccbded5dd..c081fce2e783b 100644 --- a/x-pack/plugins/observability_solution/apm/tsconfig.json +++ b/x-pack/plugins/observability_solution/apm/tsconfig.json @@ -122,7 +122,8 @@ "@kbn/react-kibana-context-theme", "@kbn/test-jest-helpers", "@kbn/security-plugin-types-common", - "@kbn/entityManager-plugin" + "@kbn/entityManager-plugin", + "@kbn/react-hooks" ], "exclude": [ "target/**/*" diff --git a/x-pack/plugins/observability_solution/entity_manager/common/constants_entities.ts b/x-pack/plugins/observability_solution/entity_manager/common/constants_entities.ts index 9892c757fad3d..28e9823c15620 100644 --- a/x-pack/plugins/observability_solution/entity_manager/common/constants_entities.ts +++ b/x-pack/plugins/observability_solution/entity_manager/common/constants_entities.ts @@ -44,9 +44,3 @@ export const ENTITY_DEFAULT_HISTORY_SYNC_DELAY = '60s'; export const ENTITY_DEFAULT_LATEST_FREQUENCY = '30s'; export const ENTITY_DEFAULT_LATEST_SYNC_DELAY = '1s'; export const ENTITY_DEFAULT_METADATA_LIMIT = 1000; - -// API route constants -export const ENTITY_API_PREFIX = '/api/entities'; -export const ENTITY_INTERNAL_API_PREFIX = '/internal/api/entities'; -export const MANAGED_ENTITY_ENABLEMENT_ROUTE = - `${ENTITY_INTERNAL_API_PREFIX}/managed/enablement` as const; diff --git a/x-pack/plugins/observability_solution/entity_manager/public/lib/entity_client.ts b/x-pack/plugins/observability_solution/entity_manager/public/lib/entity_client.ts index 357062ee6f524..d124b46a58b63 100644 --- a/x-pack/plugins/observability_solution/entity_manager/public/lib/entity_client.ts +++ b/x-pack/plugins/observability_solution/entity_manager/public/lib/entity_client.ts @@ -7,7 +7,6 @@ import { HttpStart } from '@kbn/core/public'; import { IEntityClient } from '../types'; -import { MANAGED_ENTITY_ENABLEMENT_ROUTE } from '../../common/constants_entities'; import { ManagedEntityEnabledResponse, EnableManagedEntityResponse, @@ -18,14 +17,14 @@ export class EntityClient implements IEntityClient { constructor(private readonly http: HttpStart) {} async isManagedEntityDiscoveryEnabled(): Promise { - return await this.http.get(MANAGED_ENTITY_ENABLEMENT_ROUTE); + return await this.http.get('/internal/api/entities/managed/enablement'); } async enableManagedEntityDiscovery(): Promise { - return await this.http.put(MANAGED_ENTITY_ENABLEMENT_ROUTE); + return await this.http.put('/internal/api/entities/managed/enablement'); } async disableManagedEntityDiscovery(): Promise { - return await this.http.delete(MANAGED_ENTITY_ENABLEMENT_ROUTE); + return await this.http.delete('/internal/api/entities/managed/enablement'); } } diff --git a/x-pack/plugins/observability_solution/entity_manager/server/lib/entities/built_in/constants.ts b/x-pack/plugins/observability_solution/entity_manager/server/lib/entities/built_in/constants.ts index f32362255ab7a..52238a37da7f0 100644 --- a/x-pack/plugins/observability_solution/entity_manager/server/lib/entities/built_in/constants.ts +++ b/x-pack/plugins/observability_solution/entity_manager/server/lib/entities/built_in/constants.ts @@ -7,9 +7,9 @@ export const BUILT_IN_ID_PREFIX = 'builtin_'; export const BUILT_IN_ALLOWED_INDICES = [ - 'apm-*', 'logs-*', - 'metrics-*', 'filebeat*', + 'metrics-*', 'metricbeat*', + 'traces-*', ]; diff --git a/x-pack/plugins/observability_solution/entity_manager/server/lib/entities/built_in/index.ts b/x-pack/plugins/observability_solution/entity_manager/server/lib/entities/built_in/index.ts index b5764ba62eb91..d091e21f446d2 100644 --- a/x-pack/plugins/observability_solution/entity_manager/server/lib/entities/built_in/index.ts +++ b/x-pack/plugins/observability_solution/entity_manager/server/lib/entities/built_in/index.ts @@ -6,8 +6,8 @@ */ import { EntityDefinition } from '@kbn/entities-schema'; -import { builtInServicesEntityDefinition } from './services'; +import { builtInServicesFromLogsEntityDefinition } from './services'; export { BUILT_IN_ID_PREFIX } from './constants'; -export const builtInDefinitions: EntityDefinition[] = [builtInServicesEntityDefinition]; +export const builtInDefinitions: EntityDefinition[] = [builtInServicesFromLogsEntityDefinition]; diff --git a/x-pack/plugins/observability_solution/entity_manager/server/lib/entities/built_in/services.ts b/x-pack/plugins/observability_solution/entity_manager/server/lib/entities/built_in/services.ts index 29d501de8312f..80bcb2123f23a 100644 --- a/x-pack/plugins/observability_solution/entity_manager/server/lib/entities/built_in/services.ts +++ b/x-pack/plugins/observability_solution/entity_manager/server/lib/entities/built_in/services.ts @@ -8,63 +8,121 @@ import { EntityDefinition, entityDefinitionSchema } from '@kbn/entities-schema'; import { BUILT_IN_ID_PREFIX } from './constants'; -export const builtInServicesEntityDefinition: EntityDefinition = entityDefinitionSchema.parse({ - id: `${BUILT_IN_ID_PREFIX}services`, - version: '0.1.0', - name: 'Services from logs', - type: 'service', - managed: true, - indexPatterns: ['logs-*', 'filebeat*'], - history: { - timestampField: '@timestamp', - interval: '1m', - }, - latest: { - lookback: '5m', - }, - identityFields: ['service.name', { field: 'service.environment', optional: true }], - displayNameTemplate: '{{service.name}}{{#service.environment}}:{{.}}{{/service.environment}}', - metadata: [ - { source: '_index', destination: 'sourceIndex' }, - 'data_stream.type', - 'service.instance.id', - 'service.namespace', - 'service.version', - 'service.runtime.name', - 'service.runtime.version', - 'service.node.name', - 'service.language.name', - 'agent.name', - 'cloud.provider', - 'cloud.instance.id', - 'cloud.availability_zone', - 'cloud.instance.name', - 'cloud.machine.type', - 'host.name', - 'container.id', - ], - metrics: [ - { - name: 'logRate', - equation: 'A / 5', - metrics: [ - { - name: 'A', - aggregation: 'doc_count', - filter: 'log.level: *', - }, - ], +const serviceTransactionFilter = (additionalFilters: string[] = []) => { + const baseFilters = [ + 'processor.event: "metric"', + 'metricset.name: "service_transaction"', + 'metricset.interval: "1m"', + ]; + + return [...baseFilters, ...additionalFilters].join(' AND '); +}; + +export const builtInServicesFromLogsEntityDefinition: EntityDefinition = + entityDefinitionSchema.parse({ + version: '0.1.0', + id: `${BUILT_IN_ID_PREFIX}services_from_ecs_data`, + name: 'Services from ECS data', + description: + 'This definition extracts service entities from common data streams by looking for the ECS field service.name', + type: 'service', + managed: true, + filter: '@timestamp >= now-10m', + indexPatterns: ['logs-*', 'filebeat*', 'metrics-apm.service_transaction.1m*'], + history: { + timestampField: '@timestamp', + interval: '1m', + settings: { + frequency: '2m', + syncDelay: '2m', + }, }, - { - name: 'errorRate', - equation: 'A / 5', - metrics: [ - { - name: 'A', - aggregation: 'doc_count', - filter: 'log.level: "ERROR"', - }, - ], + latest: { + lookback: '5m', }, - ], -}); + identityFields: ['service.name', { field: 'service.environment', optional: true }], + displayNameTemplate: '{{service.name}}{{#service.environment}}:{{.}}{{/service.environment}}', + metadata: [ + { source: '_index', destination: 'sourceIndex' }, + { source: 'agent.name', limit: 100 }, + 'data_stream.type', + 'service.environment', + 'service.name', + 'service.namespace', + 'service.version', + 'service.runtime.name', + 'service.runtime.version', + 'service.language.name', + 'cloud.provider', + 'cloud.availability_zone', + 'cloud.machine.type', + ], + metrics: [ + { + name: 'latency', + equation: 'A', + metrics: [ + { + name: 'A', + aggregation: 'avg', + filter: serviceTransactionFilter(), + field: 'transaction.duration.histogram', + }, + ], + }, + { + name: 'throughput', + equation: 'A', + metrics: [ + { + name: 'A', + aggregation: 'doc_count', + filter: serviceTransactionFilter(), + }, + ], + }, + { + name: 'failedTransactionRate', + equation: 'A / B', + metrics: [ + { + name: 'A', + aggregation: 'doc_count', + filter: serviceTransactionFilter(['event.outcome: "failure"']), + }, + { + name: 'B', + aggregation: 'doc_count', + filter: serviceTransactionFilter(['event.outcome: *']), + }, + ], + }, + { + name: 'logErrorRate', + equation: 'A / B', + metrics: [ + { + name: 'A', + aggregation: 'doc_count', + filter: 'log.level: "error" OR error.log.level: "error"', + }, + { + name: 'B', + aggregation: 'doc_count', + filter: 'log.level: * OR error.log.level: *', + }, + ], + }, + { + name: 'logRate', + equation: 'A', + metrics: [ + { + name: 'A', + aggregation: 'doc_count', + filter: 'log.level: * OR error.log.level: *', + }, + ], + }, + ], + }); diff --git a/x-pack/plugins/observability_solution/entity_manager/server/lib/entities/helpers/ingest_pipeline_script_processor_helpers.test.ts b/x-pack/plugins/observability_solution/entity_manager/server/lib/entities/helpers/ingest_pipeline_script_processor_helpers.test.ts index 4dc8919ef6f05..e809e7311c0ca 100644 --- a/x-pack/plugins/observability_solution/entity_manager/server/lib/entities/helpers/ingest_pipeline_script_processor_helpers.test.ts +++ b/x-pack/plugins/observability_solution/entity_manager/server/lib/entities/helpers/ingest_pipeline_script_processor_helpers.test.ts @@ -9,18 +9,11 @@ import { initializePathScript, cleanScript } from './ingest_pipeline_script_proc describe('Ingest Pipeline script processor helpers', () => { describe('initializePathScript', () => { - it('initializes a single depth field', () => { - expect(initializePathScript('someField')).toMatchInlineSnapshot(` - " - - if (ctx.someField == null) { - ctx.someField = new HashMap(); - } - " - `); + it('skips initializing a single depth field', () => { + expect(initializePathScript('someField')).toMatchInlineSnapshot(`""`); }); - it('initializes a multi depth field', () => { + it('initializes a multi depth field, skipping the last segment', () => { expect(initializePathScript('some.nested.field')).toMatchInlineSnapshot(` " @@ -32,11 +25,6 @@ describe('Ingest Pipeline script processor helpers', () => { if (ctx.some.nested == null) { ctx.some.nested = new HashMap(); } - - - if (ctx.some.nested.field == null) { - ctx.some.nested.field = new HashMap(); - } " `); }); @@ -140,18 +128,12 @@ describe('Ingest Pipeline script processor helpers', () => { if (ctx.some == null) { ctx.some = new HashMap(); } - if (ctx.some.whatever == null) { - ctx.some.whatever = new HashMap(); - } if (ctx.some == null) { ctx.some = new HashMap(); } if (ctx.some.else == null) { ctx.some.else = new HashMap(); } - if (ctx.some.else.whatever == null) { - ctx.some.else.whatever = new HashMap(); - } ctx.some.thing.else = whatever; if (nothing) { more.stuff = otherStuff; diff --git a/x-pack/plugins/observability_solution/entity_manager/server/lib/entities/helpers/ingest_pipeline_script_processor_helpers.ts b/x-pack/plugins/observability_solution/entity_manager/server/lib/entities/helpers/ingest_pipeline_script_processor_helpers.ts index 990f54627ffc7..c0d02aff81124 100644 --- a/x-pack/plugins/observability_solution/entity_manager/server/lib/entities/helpers/ingest_pipeline_script_processor_helpers.ts +++ b/x-pack/plugins/observability_solution/entity_manager/server/lib/entities/helpers/ingest_pipeline_script_processor_helpers.ts @@ -8,13 +8,24 @@ import { first, last } from 'lodash'; export function initializePathScript(field: string) { - return field.split('.').reduce((acc, _part, currentIndex, parts) => { + const fieldParts = field.split('.'); + + if (fieldParts.length === 1) { + return ''; + } + + return fieldParts.reduce((acc, _part, currentIndex, parts) => { + if (currentIndex + 1 === parts.length) { + return acc; + } + const currentSegment = parts.slice(0, currentIndex + 1).join('.'); const next = ` if (ctx.${currentSegment} == null) { ctx.${currentSegment} = new HashMap(); } `; + return `${acc}\n${next}`; }, ''); } diff --git a/x-pack/plugins/observability_solution/entity_manager/server/lib/entities/ingest_pipeline/__snapshots__/generate_history_processors.test.ts.snap b/x-pack/plugins/observability_solution/entity_manager/server/lib/entities/ingest_pipeline/__snapshots__/generate_history_processors.test.ts.snap index c0482cb4f87e2..925c62d97710f 100644 --- a/x-pack/plugins/observability_solution/entity_manager/server/lib/entities/ingest_pipeline/__snapshots__/generate_history_processors.test.ts.snap +++ b/x-pack/plugins/observability_solution/entity_manager/server/lib/entities/ingest_pipeline/__snapshots__/generate_history_processors.test.ts.snap @@ -88,18 +88,12 @@ if (ctx[\\"entity\\"][\\"identity\\"] != null) { Object { "script": Object { "source": "if (ctx.entity?.metadata?.tags != null) { - if (ctx.tags == null) { - ctx.tags = new HashMap(); - } ctx.tags = ctx.entity.metadata.tags.keySet(); } if (ctx.entity?.metadata?.host?.name != null) { if (ctx.host == null) { ctx.host = new HashMap(); } - if (ctx.host.name == null) { - ctx.host.name = new HashMap(); - } ctx.host.name = ctx.entity.metadata.host.name.keySet(); } if (ctx.entity?.metadata?.host?.os?.name != null) { @@ -109,15 +103,9 @@ if (ctx.entity?.metadata?.host?.os?.name != null) { if (ctx.host.os == null) { ctx.host.os = new HashMap(); } - if (ctx.host.os.name == null) { - ctx.host.os.name = new HashMap(); - } ctx.host.os.name = ctx.entity.metadata.host.os.name.keySet(); } if (ctx.entity?.metadata?.sourceIndex != null) { - if (ctx.sourceIndex == null) { - ctx.sourceIndex = new HashMap(); - } ctx.sourceIndex = ctx.entity.metadata.sourceIndex.keySet(); }", }, diff --git a/x-pack/plugins/observability_solution/entity_manager/server/lib/entities/ingest_pipeline/__snapshots__/generate_latest_processors.test.ts.snap b/x-pack/plugins/observability_solution/entity_manager/server/lib/entities/ingest_pipeline/__snapshots__/generate_latest_processors.test.ts.snap index aed7fe8f4bf09..69e63abd0cb94 100644 --- a/x-pack/plugins/observability_solution/entity_manager/server/lib/entities/ingest_pipeline/__snapshots__/generate_latest_processors.test.ts.snap +++ b/x-pack/plugins/observability_solution/entity_manager/server/lib/entities/ingest_pipeline/__snapshots__/generate_latest_processors.test.ts.snap @@ -44,18 +44,12 @@ Array [ Object { "script": Object { "source": "if (ctx.entity?.metadata?.tags.data != null) { - if (ctx.tags == null) { - ctx.tags = new HashMap(); - } ctx.tags = ctx.entity.metadata.tags.data.keySet(); } if (ctx.entity?.metadata?.host?.name.data != null) { if (ctx.host == null) { ctx.host = new HashMap(); } - if (ctx.host.name == null) { - ctx.host.name = new HashMap(); - } ctx.host.name = ctx.entity.metadata.host.name.data.keySet(); } if (ctx.entity?.metadata?.host?.os?.name.data != null) { @@ -65,15 +59,9 @@ if (ctx.entity?.metadata?.host?.os?.name.data != null) { if (ctx.host.os == null) { ctx.host.os = new HashMap(); } - if (ctx.host.os.name == null) { - ctx.host.os.name = new HashMap(); - } ctx.host.os.name = ctx.entity.metadata.host.os.name.data.keySet(); } if (ctx.entity?.metadata?.sourceIndex.data != null) { - if (ctx.sourceIndex == null) { - ctx.sourceIndex = new HashMap(); - } ctx.sourceIndex = ctx.entity.metadata.sourceIndex.data.keySet(); }", }, @@ -90,9 +78,6 @@ if (ctx.entity?.metadata?.sourceIndex.data != null) { "source": "if (ctx.log == null) { ctx.log = new HashMap(); } -if (ctx.log.logger == null) { - ctx.log.logger = new HashMap(); -} ctx.log.logger = ctx.entity.identity.log.logger.keySet().toArray()[0];", }, }, @@ -102,9 +87,6 @@ ctx.log.logger = ctx.entity.identity.log.logger.keySet().toArray()[0];", "source": "if (ctx.event == null) { ctx.event = new HashMap(); } -if (ctx.event.category == null) { - ctx.event.category = new HashMap(); -} ctx.event.category = ctx.entity.identity.event.category.keySet().toArray()[0];", }, }, diff --git a/x-pack/plugins/observability_solution/entity_manager/server/lib/entities/install_entity_definition.test.ts b/x-pack/plugins/observability_solution/entity_manager/server/lib/entities/install_entity_definition.test.ts index 7df61543f227f..8560f0a4f1f4f 100644 --- a/x-pack/plugins/observability_solution/entity_manager/server/lib/entities/install_entity_definition.test.ts +++ b/x-pack/plugins/observability_solution/entity_manager/server/lib/entities/install_entity_definition.test.ts @@ -12,7 +12,7 @@ import { EntityDefinition } from '@kbn/entities-schema'; import { SavedObjectsClientContract } from '@kbn/core-saved-objects-api-server'; import { ElasticsearchClient } from '@kbn/core-elasticsearch-server'; import { installBuiltInEntityDefinitions } from './install_entity_definition'; -import { builtInServicesEntityDefinition } from './built_in/services'; +import { builtInServicesFromLogsEntityDefinition } from './built_in/services'; import { SO_ENTITY_DEFINITION_TYPE } from '../../saved_objects'; import { generateHistoryIngestPipelineId, @@ -36,7 +36,7 @@ const assertHasCreatedDefinition = ( expect(esClient.ingest.putPipeline).toBeCalledTimes(2); expect(esClient.ingest.putPipeline).toBeCalledWith({ - id: generateHistoryIngestPipelineId(builtInServicesEntityDefinition), + id: generateHistoryIngestPipelineId(builtInServicesFromLogsEntityDefinition), processors: expect.anything(), _meta: { definitionVersion: '0.1.0', @@ -44,7 +44,7 @@ const assertHasCreatedDefinition = ( }, }); expect(esClient.ingest.putPipeline).toBeCalledWith({ - id: generateLatestIngestPipelineId(builtInServicesEntityDefinition), + id: generateLatestIngestPipelineId(builtInServicesFromLogsEntityDefinition), processors: expect.anything(), _meta: { definitionVersion: '0.1.0', @@ -54,10 +54,10 @@ const assertHasCreatedDefinition = ( expect(esClient.transform.putTransform).toBeCalledTimes(2); expect(esClient.transform.putTransform).toBeCalledWith( - generateHistoryTransform(builtInServicesEntityDefinition) + generateHistoryTransform(builtInServicesFromLogsEntityDefinition) ); expect(esClient.transform.putTransform).toBeCalledWith( - generateLatestTransform(builtInServicesEntityDefinition) + generateLatestTransform(builtInServicesFromLogsEntityDefinition) ); }; @@ -65,13 +65,13 @@ const assertHasStartedTransform = (definition: EntityDefinition, esClient: Elast expect(esClient.transform.startTransform).toBeCalledTimes(2); expect(esClient.transform.startTransform).toBeCalledWith( { - transform_id: generateHistoryTransformId(builtInServicesEntityDefinition), + transform_id: generateHistoryTransformId(builtInServicesFromLogsEntityDefinition), }, expect.anything() ); expect(esClient.transform.startTransform).toBeCalledWith( { - transform_id: generateLatestTransformId(builtInServicesEntityDefinition), + transform_id: generateLatestTransformId(builtInServicesFromLogsEntityDefinition), }, expect.anything() ); @@ -116,7 +116,7 @@ const assertHasUninstalledDefinition = ( describe('install_entity_definition', () => { describe('installBuiltInEntityDefinitions', () => { it('should install and start definition when not found', async () => { - const builtInDefinitions = [builtInServicesEntityDefinition]; + const builtInDefinitions = [builtInServicesFromLogsEntityDefinition]; const esClient = elasticsearchClientMock.createScopedClusterClient().asCurrentUser; const soClient = savedObjectsClientMock.create(); soClient.find.mockResolvedValue({ saved_objects: [], total: 0, page: 1, per_page: 10 }); @@ -128,12 +128,12 @@ describe('install_entity_definition', () => { logger: loggerMock.create(), }); - assertHasCreatedDefinition(builtInServicesEntityDefinition, soClient, esClient); - assertHasStartedTransform(builtInServicesEntityDefinition, esClient); + assertHasCreatedDefinition(builtInServicesFromLogsEntityDefinition, soClient, esClient); + assertHasStartedTransform(builtInServicesFromLogsEntityDefinition, esClient); }); it('should reinstall when partial state found', async () => { - const builtInDefinitions = [builtInServicesEntityDefinition]; + const builtInDefinitions = [builtInServicesFromLogsEntityDefinition]; const esClient = elasticsearchClientMock.createScopedClusterClient().asCurrentUser; // mock partially installed definition esClient.ingest.getPipeline.mockResolvedValue({}); @@ -142,11 +142,11 @@ describe('install_entity_definition', () => { const definitionSOResult = { saved_objects: [ { - id: builtInServicesEntityDefinition.id, + id: builtInServicesFromLogsEntityDefinition.id, type: 'entity-definition', references: [], score: 0, - attributes: builtInServicesEntityDefinition, + attributes: builtInServicesFromLogsEntityDefinition, }, ], total: 1, @@ -170,18 +170,18 @@ describe('install_entity_definition', () => { logger: loggerMock.create(), }); - assertHasUninstalledDefinition(builtInServicesEntityDefinition, soClient, esClient); - assertHasCreatedDefinition(builtInServicesEntityDefinition, soClient, esClient); - assertHasStartedTransform(builtInServicesEntityDefinition, esClient); + assertHasUninstalledDefinition(builtInServicesFromLogsEntityDefinition, soClient, esClient); + assertHasCreatedDefinition(builtInServicesFromLogsEntityDefinition, soClient, esClient); + assertHasStartedTransform(builtInServicesFromLogsEntityDefinition, esClient); }); it('should start a stopped definition', async () => { - const builtInDefinitions = [builtInServicesEntityDefinition]; + const builtInDefinitions = [builtInServicesFromLogsEntityDefinition]; const esClient = elasticsearchClientMock.createScopedClusterClient().asCurrentUser; // mock installed but stopped definition esClient.ingest.getPipeline.mockResolvedValue({ - [generateHistoryIngestPipelineId(builtInServicesEntityDefinition)]: {}, - [generateLatestIngestPipelineId(builtInServicesEntityDefinition)]: {}, + [generateHistoryIngestPipelineId(builtInServicesFromLogsEntityDefinition)]: {}, + [generateLatestIngestPipelineId(builtInServicesFromLogsEntityDefinition)]: {}, }); esClient.transform.getTransformStats.mockResolvedValue({ // @ts-expect-error @@ -192,11 +192,11 @@ describe('install_entity_definition', () => { soClient.find.mockResolvedValue({ saved_objects: [ { - id: builtInServicesEntityDefinition.id, + id: builtInServicesFromLogsEntityDefinition.id, type: 'entity-definition', references: [], score: 0, - attributes: builtInServicesEntityDefinition, + attributes: builtInServicesFromLogsEntityDefinition, }, ], total: 1, @@ -211,7 +211,7 @@ describe('install_entity_definition', () => { }); expect(soClient.create).toHaveBeenCalledTimes(0); - assertHasStartedTransform(builtInServicesEntityDefinition, esClient); + assertHasStartedTransform(builtInServicesFromLogsEntityDefinition, esClient); }); }); }); diff --git a/x-pack/plugins/observability_solution/entity_manager/server/routes/enablement/check.ts b/x-pack/plugins/observability_solution/entity_manager/server/routes/enablement/check.ts index fca2e1070afda..cc021ae2bb114 100644 --- a/x-pack/plugins/observability_solution/entity_manager/server/routes/enablement/check.ts +++ b/x-pack/plugins/observability_solution/entity_manager/server/routes/enablement/check.ts @@ -8,7 +8,6 @@ import { RequestHandlerContext } from '@kbn/core/server'; import { getFakeKibanaRequest } from '@kbn/security-plugin/server/authentication/api_keys/fake_kibana_request'; import { SetupRouteOptions } from '../types'; -import { ENTITY_INTERNAL_API_PREFIX } from '../../../common/constants_entities'; import { checkIfEntityDiscoveryAPIKeyIsValid, readEntityDiscoveryAPIKey } from '../../lib/auth'; import { ERROR_API_KEY_NOT_FOUND, @@ -26,7 +25,7 @@ export function checkEntityDiscoveryEnabledRoute) { router.get( { - path: `${ENTITY_INTERNAL_API_PREFIX}/managed/enablement`, + path: '/internal/api/entities/managed/enablement', validate: false, }, async (context, req, res) => { diff --git a/x-pack/plugins/observability_solution/entity_manager/server/routes/enablement/disable.ts b/x-pack/plugins/observability_solution/entity_manager/server/routes/enablement/disable.ts index 9af237e22d597..3408affa1386b 100644 --- a/x-pack/plugins/observability_solution/entity_manager/server/routes/enablement/disable.ts +++ b/x-pack/plugins/observability_solution/entity_manager/server/routes/enablement/disable.ts @@ -9,7 +9,6 @@ import { RequestHandlerContext } from '@kbn/core/server'; import { getFakeKibanaRequest } from '@kbn/security-plugin/server/authentication/api_keys/fake_kibana_request'; import { schema } from '@kbn/config-schema'; import { SetupRouteOptions } from '../types'; -import { ENTITY_INTERNAL_API_PREFIX } from '../../../common/constants_entities'; import { checkIfEntityDiscoveryAPIKeyIsValid, deleteEntityDiscoveryAPIKey, @@ -25,7 +24,7 @@ export function disableEntityDiscoveryRoute({ }: SetupRouteOptions) { router.delete( { - path: `${ENTITY_INTERNAL_API_PREFIX}/managed/enablement`, + path: '/internal/api/entities/managed/enablement', validate: { query: schema.object({ deleteData: schema.maybe(schema.boolean({ defaultValue: false })), diff --git a/x-pack/plugins/observability_solution/entity_manager/server/routes/enablement/enable.ts b/x-pack/plugins/observability_solution/entity_manager/server/routes/enablement/enable.ts index 91ca36b1caa59..f6940ca17b273 100644 --- a/x-pack/plugins/observability_solution/entity_manager/server/routes/enablement/enable.ts +++ b/x-pack/plugins/observability_solution/entity_manager/server/routes/enablement/enable.ts @@ -8,7 +8,6 @@ import { RequestHandlerContext } from '@kbn/core/server'; import { getFakeKibanaRequest } from '@kbn/security-plugin/server/authentication/api_keys/fake_kibana_request'; import { SetupRouteOptions } from '../types'; -import { ENTITY_INTERNAL_API_PREFIX } from '../../../common/constants_entities'; import { canEnableEntityDiscovery, checkIfAPIKeysAreEnabled, @@ -30,7 +29,7 @@ export function enableEntityDiscoveryRoute({ }: SetupRouteOptions) { router.put( { - path: `${ENTITY_INTERNAL_API_PREFIX}/managed/enablement`, + path: '/internal/api/entities/managed/enablement', validate: false, }, async (context, req, res) => { diff --git a/x-pack/plugins/observability_solution/entity_manager/server/routes/entities/create.ts b/x-pack/plugins/observability_solution/entity_manager/server/routes/entities/create.ts index 4b0f0c0839862..e6bb055a51d67 100644 --- a/x-pack/plugins/observability_solution/entity_manager/server/routes/entities/create.ts +++ b/x-pack/plugins/observability_solution/entity_manager/server/routes/entities/create.ts @@ -13,7 +13,6 @@ import { EntityIdConflict } from '../../lib/entities/errors/entity_id_conflict_e import { EntitySecurityException } from '../../lib/entities/errors/entity_security_exception'; import { InvalidTransformError } from '../../lib/entities/errors/invalid_transform_error'; import { startTransform } from '../../lib/entities/start_transform'; -import { ENTITY_INTERNAL_API_PREFIX } from '../../../common/constants_entities'; import { installEntityDefinition } from '../../lib/entities/install_entity_definition'; export function createEntityDefinitionRoute({ @@ -22,7 +21,7 @@ export function createEntityDefinitionRoute({ }: SetupRouteOptions) { router.post( { - path: `${ENTITY_INTERNAL_API_PREFIX}/definition`, + path: '/internal/api/entities/definition', validate: { body: (body, res) => { try { diff --git a/x-pack/plugins/observability_solution/entity_manager/server/routes/entities/delete.ts b/x-pack/plugins/observability_solution/entity_manager/server/routes/entities/delete.ts index 91078991f927b..81f61c81e27f8 100644 --- a/x-pack/plugins/observability_solution/entity_manager/server/routes/entities/delete.ts +++ b/x-pack/plugins/observability_solution/entity_manager/server/routes/entities/delete.ts @@ -12,7 +12,6 @@ import { EntitySecurityException } from '../../lib/entities/errors/entity_securi import { InvalidTransformError } from '../../lib/entities/errors/invalid_transform_error'; import { readEntityDefinition } from '../../lib/entities/read_entity_definition'; import { EntityDefinitionNotFound } from '../../lib/entities/errors/entity_not_found'; -import { ENTITY_INTERNAL_API_PREFIX } from '../../../common/constants_entities'; import { uninstallEntityDefinition } from '../../lib/entities/uninstall_entity_definition'; export function deleteEntityDefinitionRoute({ @@ -21,7 +20,7 @@ export function deleteEntityDefinitionRoute({ }: SetupRouteOptions) { router.delete<{ id: string }, { deleteData?: boolean }, unknown>( { - path: `${ENTITY_INTERNAL_API_PREFIX}/definition/{id}`, + path: '/internal/api/entities/definition/{id}', validate: { params: schema.object({ id: schema.string(), diff --git a/x-pack/plugins/observability_solution/entity_manager/server/routes/entities/get.ts b/x-pack/plugins/observability_solution/entity_manager/server/routes/entities/get.ts index f299b40b8ead2..60fdac9c85352 100644 --- a/x-pack/plugins/observability_solution/entity_manager/server/routes/entities/get.ts +++ b/x-pack/plugins/observability_solution/entity_manager/server/routes/entities/get.ts @@ -8,7 +8,6 @@ import { RequestHandlerContext } from '@kbn/core/server'; import { schema } from '@kbn/config-schema'; import { SetupRouteOptions } from '../types'; -import { ENTITY_INTERNAL_API_PREFIX } from '../../../common/constants_entities'; import { findEntityDefinitions } from '../../lib/entities/find_entity_definition'; export function getEntityDefinitionRoute({ @@ -16,7 +15,7 @@ export function getEntityDefinitionRoute({ }: SetupRouteOptions) { router.get( { - path: `${ENTITY_INTERNAL_API_PREFIX}/definition`, + path: '/internal/api/entities/definition', validate: { query: schema.object({ page: schema.maybe(schema.number()), diff --git a/x-pack/plugins/observability_solution/entity_manager/server/routes/entities/reset.ts b/x-pack/plugins/observability_solution/entity_manager/server/routes/entities/reset.ts index 68d4b021244ab..3c34eb4e57e24 100644 --- a/x-pack/plugins/observability_solution/entity_manager/server/routes/entities/reset.ts +++ b/x-pack/plugins/observability_solution/entity_manager/server/routes/entities/reset.ts @@ -30,7 +30,6 @@ import { } from '../../lib/entities/create_and_install_transform'; import { startTransform } from '../../lib/entities/start_transform'; import { EntityDefinitionNotFound } from '../../lib/entities/errors/entity_not_found'; -import { ENTITY_INTERNAL_API_PREFIX } from '../../../common/constants_entities'; export function resetEntityDefinitionRoute({ router, @@ -38,7 +37,7 @@ export function resetEntityDefinitionRoute({ }: SetupRouteOptions) { router.post<{ id: string }, unknown, unknown>( { - path: `${ENTITY_INTERNAL_API_PREFIX}/definition/{id}/_reset`, + path: '/internal/api/entities/definition/{id}/_reset', validate: { params: schema.object({ id: schema.string(), diff --git a/x-pack/plugins/observability_solution/entity_manager/server/routes/ping.ts b/x-pack/plugins/observability_solution/entity_manager/server/routes/ping.ts index c5f6f65a49a52..bb05b7d2344b2 100644 --- a/x-pack/plugins/observability_solution/entity_manager/server/routes/ping.ts +++ b/x-pack/plugins/observability_solution/entity_manager/server/routes/ping.ts @@ -6,13 +6,12 @@ */ import { RequestHandlerContextBase } from '@kbn/core-http-server'; -import { ENTITY_API_PREFIX } from '../../common/constants_entities'; import { SetupRouteOptions } from './types'; export function pingRoute({ router }: SetupRouteOptions) { router.get( { - path: `${ENTITY_API_PREFIX}/ping`, + path: `/api/entities/ping`, validate: false, }, async (_context, _req, res) => { diff --git a/x-pack/plugins/observability_solution/infra/common/alerting/metrics/alert_link.ts b/x-pack/plugins/observability_solution/infra/common/alerting/metrics/alert_link.ts index a1f0da3531215..06d34a83f123a 100644 --- a/x-pack/plugins/observability_solution/infra/common/alerting/metrics/alert_link.ts +++ b/x-pack/plugins/observability_solution/infra/common/alerting/metrics/alert_link.ts @@ -12,7 +12,7 @@ import { ParsedTechnicalFields } from '@kbn/rule-registry-plugin/common/parse_te import type { InventoryItemType } from '@kbn/metrics-data-access-plugin/common'; import { fifteenMinutesInMilliseconds, - HOST_FIELD, + HOST_NAME_FIELD, LINK_TO_INVENTORY, METRICS_EXPLORER_URL, } from '../../constants'; @@ -54,7 +54,7 @@ export const getInventoryViewInAppUrl = ( const nodeTypeField = `${ALERT_RULE_PARAMETERS}.nodeType`; const nodeType = inventoryFields[nodeTypeField] as InventoryItemType; - const hostName = inventoryFields[HOST_FIELD]; + const hostName = inventoryFields[HOST_NAME_FIELD]; if (nodeType) { if (hostName) { @@ -95,7 +95,7 @@ export const getInventoryViewInAppUrl = ( }; export const getMetricsViewInAppUrl = (fields: ParsedTechnicalFields & Record) => { - const hostName = fields[HOST_FIELD]; + const hostName = fields[HOST_NAME_FIELD]; const timestamp = fields[TIMESTAMP]; return hostName ? getLinkToHostDetails({ hostName, timestamp }) : METRICS_EXPLORER_URL; diff --git a/x-pack/plugins/observability_solution/infra/common/constants.ts b/x-pack/plugins/observability_solution/infra/common/constants.ts index 580dcd16dec09..de62eb835aa98 100644 --- a/x-pack/plugins/observability_solution/infra/common/constants.ts +++ b/x-pack/plugins/observability_solution/infra/common/constants.ts @@ -17,13 +17,16 @@ export const LOGS_FEATURE_ID = 'logs'; export type InfraFeatureId = typeof METRICS_FEATURE_ID | typeof LOGS_FEATURE_ID; export const TIMESTAMP_FIELD = '@timestamp'; -export const MESSAGE_FIELD = 'message'; export const TIEBREAKER_FIELD = '_doc'; -export const HOST_FIELD = 'host.name'; -export const CONTAINER_FIELD = 'container.id'; -export const POD_FIELD = 'kubernetes.pod.uid'; -export const CMDLINE_FIELD = 'system.process.cmdline'; + +// system export const HOST_NAME_FIELD = 'host.name'; +export const CONTAINER_ID_FIELD = 'container.id'; +export const KUBERNETES_POD_UID_FIELD = 'kubernetes.pod.uid'; +export const SYSTEM_PROCESS_CMDLINE_FIELD = 'system.process.cmdline'; + +// logs +export const MESSAGE_FIELD = 'message'; export const O11Y_AAD_FIELDS = [ 'cloud.*', diff --git a/x-pack/plugins/observability_solution/infra/common/dependency_mocks/index_patterns.ts b/x-pack/plugins/observability_solution/infra/common/dependency_mocks/index_patterns.ts deleted file mode 100644 index 360ed1ff6644e..0000000000000 --- a/x-pack/plugins/observability_solution/infra/common/dependency_mocks/index_patterns.ts +++ /dev/null @@ -1,87 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the Elastic License - * 2.0; you may not use this file except in compliance with the Elastic License - * 2.0. - */ - -import type * as estypes from '@elastic/elasticsearch/lib/api/typesWithBodyKey'; -import { firstValueFrom, from, of } from 'rxjs'; -import { delay } from 'rxjs'; -import { DataView, DataViewsContract, fieldList, FieldSpec } from '@kbn/data-views-plugin/common'; - -type IndexPatternMock = Pick< - DataView, - | 'fields' - | 'getComputedFields' - | 'getRuntimeMappings' - | 'getFieldByName' - | 'getTimeField' - | 'id' - | 'isTimeBased' - | 'title' - | 'type' ->; -type IndexPatternMockSpec = Pick & { - fields: FieldSpec[]; - runtimeFields?: estypes.MappingRuntimeFields; -}; - -export const createIndexPatternMock = ({ - id, - title, - type = undefined, - fields, - runtimeFields, - timeFieldName, -}: IndexPatternMockSpec): IndexPatternMock => { - const indexPatternFieldList = fieldList(fields); - - return { - id, - title, - type, - fields: indexPatternFieldList, - getTimeField: () => indexPatternFieldList.find(({ name }) => name === timeFieldName), - isTimeBased: () => timeFieldName != null, - getFieldByName: (fieldName) => indexPatternFieldList.find(({ name }) => name === fieldName), - getComputedFields: () => ({ - runtimeFields: runtimeFields ?? {}, - scriptFields: {}, - docvalueFields: [], - }), - getRuntimeMappings: () => runtimeFields ?? {}, - }; -}; - -export const createIndexPatternsMock = ( - asyncDelay: number, - indexPatterns: IndexPatternMock[] -): { - getIdsWithTitle: DataViewsContract['getIdsWithTitle']; - get: (...args: Parameters) => Promise; -} => { - return { - async getIdsWithTitle(_refresh?: boolean) { - const indexPatterns$ = of( - indexPatterns.map(({ id = 'unknown_id', title }) => ({ id, title })) - ); - return await firstValueFrom(indexPatterns$.pipe(delay(asyncDelay))); - }, - async get(indexPatternId: string) { - const indexPatterns$ = from( - indexPatterns.filter((indexPattern) => indexPattern.id === indexPatternId) - ); - return await firstValueFrom(indexPatterns$.pipe(delay(asyncDelay))); - }, - }; -}; - -export const createIndexPatternsStartMock = ( - asyncDelay: number, - indexPatterns: IndexPatternMock[] -): any => { - return { - dataViewsServiceFactory: async () => createIndexPatternsMock(asyncDelay, indexPatterns), - }; -}; diff --git a/x-pack/plugins/observability_solution/infra/common/ecs_allowed_list.test.ts b/x-pack/plugins/observability_solution/infra/common/ecs_allowed_list.test.ts deleted file mode 100644 index 4c6ea8c94ff77..0000000000000 --- a/x-pack/plugins/observability_solution/infra/common/ecs_allowed_list.test.ts +++ /dev/null @@ -1,43 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the Elastic License - * 2.0; you may not use this file except in compliance with the Elastic License - * 2.0. - */ - -import { - getAllowedListForPrefix, - ECS_ALLOWED_LIST, - K8S_ALLOWED_LIST, - PROMETHEUS_ALLOWED_LIST, - DOCKER_ALLOWED_LIST, -} from './ecs_allowed_list'; -describe('getAllowedListForPrefix()', () => { - test('kubernetes', () => { - expect(getAllowedListForPrefix('kubernetes.pod')).toEqual([ - ...ECS_ALLOWED_LIST, - 'kubernetes.pod', - ...K8S_ALLOWED_LIST, - ]); - }); - test('docker', () => { - expect(getAllowedListForPrefix('docker.container')).toEqual([ - ...ECS_ALLOWED_LIST, - 'docker.container', - ...DOCKER_ALLOWED_LIST, - ]); - }); - test('prometheus', () => { - expect(getAllowedListForPrefix('prometheus.metrics')).toEqual([ - ...ECS_ALLOWED_LIST, - 'prometheus.metrics', - ...PROMETHEUS_ALLOWED_LIST, - ]); - }); - test('anything.else', () => { - expect(getAllowedListForPrefix('anything.else')).toEqual([ - ...ECS_ALLOWED_LIST, - 'anything.else', - ]); - }); -}); diff --git a/x-pack/plugins/observability_solution/infra/common/ecs_allowed_list.ts b/x-pack/plugins/observability_solution/infra/common/ecs_allowed_list.ts deleted file mode 100644 index 863cceac47b92..0000000000000 --- a/x-pack/plugins/observability_solution/infra/common/ecs_allowed_list.ts +++ /dev/null @@ -1,71 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the Elastic License - * 2.0; you may not use this file except in compliance with the Elastic License - * 2.0. - */ - -import { first, memoize } from 'lodash'; - -export const ECS_ALLOWED_LIST = [ - 'host', - 'cloud', - 'event', - 'agent', - 'fields', - 'service', - 'ecs', - 'metricset', - 'tags', - 'message', - 'labels', - '@timestamp', - 'source', - 'container', -]; - -export const K8S_ALLOWED_LIST = [ - 'kubernetes.pod.name', - 'kubernetes.pod.uid', - 'kubernetes.namespace', - 'kubernetes.node.name', - 'kubernetes.labels', - 'kubernetes.annotations', - 'kubernetes.replicaset.name', - 'kubernetes.deployment.name', - 'kubernetes.statefulset.name', - 'kubernetes.container.name', - 'kubernetes.container.image', -]; - -export const PROMETHEUS_ALLOWED_LIST = ['prometheus.labels', 'prometheus.metrics']; - -export const DOCKER_ALLOWED_LIST = [ - 'docker.container.id', - 'docker.container.image', - 'docker.container.name', - 'docker.container.labels', -]; - -export const AWS_S3_ALLOWED_LIST = ['aws.s3']; -export const AWS_METRICS_ALLOWED_LIST = ['aws.dimensions']; - -export const getAllowedListForPrefix = memoize((prefix: string) => { - const firstPart = first(prefix.split(/\./)); - const defaultAllowedList = prefix ? [...ECS_ALLOWED_LIST, prefix] : ECS_ALLOWED_LIST; - switch (firstPart) { - case 'docker': - return [...defaultAllowedList, ...DOCKER_ALLOWED_LIST]; - case 'prometheus': - return [...defaultAllowedList, ...PROMETHEUS_ALLOWED_LIST]; - case 'kubernetes': - return [...defaultAllowedList, ...K8S_ALLOWED_LIST]; - case 'aws': - if (prefix === 'aws.s3_daily_storage') { - return [...defaultAllowedList, ...AWS_S3_ALLOWED_LIST, ...AWS_METRICS_ALLOWED_LIST]; - } - return [...defaultAllowedList, ...AWS_METRICS_ALLOWED_LIST]; - default: - return defaultAllowedList; - } -}); diff --git a/x-pack/plugins/observability_solution/infra/common/errors/metrics.ts b/x-pack/plugins/observability_solution/infra/common/errors/metrics.ts deleted file mode 100644 index 3e30507ab1b95..0000000000000 --- a/x-pack/plugins/observability_solution/infra/common/errors/metrics.ts +++ /dev/null @@ -1,10 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the Elastic License - * 2.0; you may not use this file except in compliance with the Elastic License - * 2.0. - */ - -export enum InfraMetricsErrorCodes { - invalid_node = 'METRICS_INVALID_NODE', -} diff --git a/x-pack/plugins/observability_solution/infra/common/runtime_types.ts b/x-pack/plugins/observability_solution/infra/common/runtime_types.ts deleted file mode 100644 index 18156e8792d7d..0000000000000 --- a/x-pack/plugins/observability_solution/infra/common/runtime_types.ts +++ /dev/null @@ -1,69 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the Elastic License - * 2.0; you may not use this file except in compliance with the Elastic License - * 2.0. - */ - -import { fold } from 'fp-ts/lib/Either'; -import { identity } from 'fp-ts/lib/function'; -import { pipe } from 'fp-ts/lib/pipeable'; -import { Context, Errors, IntersectionType, Type, UnionType, ValidationError } from 'io-ts'; -import type { RouteValidationFunction } from '@kbn/core/server'; - -type ErrorFactory = (message: string) => Error; - -const getErrorPath = ([first, ...rest]: Context): string[] => { - if (typeof first === 'undefined') { - return []; - } else if (first.type instanceof IntersectionType) { - const [, ...next] = rest; - return getErrorPath(next); - } else if (first.type instanceof UnionType) { - const [, ...next] = rest; - return [first.key, ...getErrorPath(next)]; - } - - return [first.key, ...getErrorPath(rest)]; -}; - -const getErrorType = ({ context }: ValidationError) => - context[context.length - 1]?.type?.name ?? 'unknown'; - -const formatError = (error: ValidationError) => - error.message ?? - `in ${getErrorPath(error.context).join('/')}: ${JSON.stringify( - error.value - )} does not match expected type ${getErrorType(error)}`; - -export const formatErrors = (errors: ValidationError[]) => - `Failed to validate: \n${errors.map((error) => ` ${formatError(error)}`).join('\n')}`; - -export const createPlainError = (message: string) => new Error(message); - -export const throwErrors = (createError: ErrorFactory) => (errors: Errors) => { - throw createError(formatErrors(errors)); -}; - -export const decodeOrThrow = - ( - runtimeType: Type, - createError: ErrorFactory = createPlainError - ) => - (inputValue: InputValue) => - pipe(runtimeType.decode(inputValue), fold(throwErrors(createError), identity)); - -type ValdidationResult = ReturnType>; - -export const createValidationFunction = - ( - runtimeType: Type - ): RouteValidationFunction => - (inputValue, { badRequest, ok }) => - pipe( - runtimeType.decode(inputValue), - fold>( - (errors: Errors) => badRequest(formatErrors(errors)), - (result: DecodedValue) => ok(result) - ) - ); diff --git a/x-pack/plugins/observability_solution/infra/public/alerting/custom_threshold/components/alert_flyout.tsx b/x-pack/plugins/observability_solution/infra/public/alerting/custom_threshold/components/alert_flyout.tsx index 19e60e43fd877..b3137a173c289 100644 --- a/x-pack/plugins/observability_solution/infra/public/alerting/custom_threshold/components/alert_flyout.tsx +++ b/x-pack/plugins/observability_solution/infra/public/alerting/custom_threshold/components/alert_flyout.tsx @@ -8,7 +8,7 @@ import { useContext, useMemo } from 'react'; import type { RuleAddProps } from '@kbn/triggers-actions-ui-plugin/public/types'; import { OBSERVABILITY_THRESHOLD_RULE_TYPE_ID } from '@kbn/rule-data-utils'; -import { TriggerActionsContext } from '../../../utils/triggers_actions_context'; +import { TriggerActionsContext } from '../../../containers/triggers_actions_context'; interface Props { onClose: RuleAddProps['onClose']; diff --git a/x-pack/plugins/observability_solution/infra/public/alerting/inventory/components/alert_flyout.tsx b/x-pack/plugins/observability_solution/infra/public/alerting/inventory/components/alert_flyout.tsx index 6e0ef2731715c..22fe45922ad3d 100644 --- a/x-pack/plugins/observability_solution/infra/public/alerting/inventory/components/alert_flyout.tsx +++ b/x-pack/plugins/observability_solution/infra/public/alerting/inventory/components/alert_flyout.tsx @@ -8,9 +8,9 @@ import React, { useCallback, useContext, useMemo } from 'react'; import { InventoryItemType } from '@kbn/metrics-data-access-plugin/common'; -import { TriggerActionsContext } from '../../../utils/triggers_actions_context'; +import { TriggerActionsContext } from '../../../containers/triggers_actions_context'; import { METRIC_INVENTORY_THRESHOLD_ALERT_TYPE_ID } from '../../../../common/alerting/metrics'; -import { InfraWaffleMapOptions } from '../../../lib/lib'; +import { InfraWaffleMapOptions } from '../../../common/inventory/types'; import { useAlertPrefillContext } from '../../use_alert_prefill'; interface Props { diff --git a/x-pack/plugins/observability_solution/infra/public/alerting/inventory/components/expression.tsx b/x-pack/plugins/observability_solution/infra/public/alerting/inventory/components/expression.tsx index 514663cc45ae5..18bd2f1d3711f 100644 --- a/x-pack/plugins/observability_solution/infra/public/alerting/inventory/components/expression.tsx +++ b/x-pack/plugins/observability_solution/infra/public/alerting/inventory/components/expression.tsx @@ -68,7 +68,7 @@ import { useSourceContext, withSourceProvider, } from '../../../containers/metrics_source'; -import { InfraWaffleMapOptions } from '../../../lib/lib'; +import type { InfraWaffleMapOptions } from '../../../common/inventory/types'; import { MetricsExplorerKueryBar } from '../../../pages/metrics/metrics_explorer/components/kuery_bar'; import { convertKueryToElasticSearchQuery } from '../../../utils/kuery'; import { ExpressionChart } from './expression_chart'; diff --git a/x-pack/plugins/observability_solution/infra/public/alerting/log_threshold/components/alert_details_app_section/components/log_rate_analysis.tsx b/x-pack/plugins/observability_solution/infra/public/alerting/log_threshold/components/alert_details_app_section/components/log_rate_analysis.tsx index c7654a6500a33..c85a5b072cb7a 100644 --- a/x-pack/plugins/observability_solution/infra/public/alerting/log_threshold/components/alert_details_app_section/components/log_rate_analysis.tsx +++ b/x-pack/plugins/observability_solution/infra/public/alerting/log_threshold/components/alert_details_app_section/components/log_rate_analysis.tsx @@ -25,6 +25,7 @@ import type { Message } from '@kbn/observability-ai-assistant-plugin/public'; import { QueryDslQueryContainer } from '@elastic/elasticsearch/lib/api/types'; import { i18n } from '@kbn/i18n'; import { pick, orderBy } from 'lodash'; +import { decodeOrThrow } from '@kbn/io-ts-utils'; import { Color, colorTransformer } from '../../../../../../common/color_palette'; import { useKibanaContextForPlugin } from '../../../../../hooks/use_kibana'; import { @@ -33,7 +34,6 @@ import { PartialRuleParams, ruleParamsRT, } from '../../../../../../common/alerting/logs/log_threshold'; -import { decodeOrThrow } from '../../../../../../common/runtime_types'; import { getESQueryForLogRateAnalysis } from '../log_rate_analysis_query'; export interface AlertDetailsLogRateAnalysisSectionProps { diff --git a/x-pack/plugins/observability_solution/infra/public/alerting/log_threshold/components/alert_flyout.tsx b/x-pack/plugins/observability_solution/infra/public/alerting/log_threshold/components/alert_flyout.tsx index 8cea7f2339745..c0ef5938e24cc 100644 --- a/x-pack/plugins/observability_solution/infra/public/alerting/log_threshold/components/alert_flyout.tsx +++ b/x-pack/plugins/observability_solution/infra/public/alerting/log_threshold/components/alert_flyout.tsx @@ -6,7 +6,7 @@ */ import React, { useCallback, useContext, useMemo } from 'react'; -import { TriggerActionsContext } from '../../../utils/triggers_actions_context'; +import { TriggerActionsContext } from '../../../containers/triggers_actions_context'; import { LOG_DOCUMENT_COUNT_RULE_TYPE_ID } from '../../../../common/alerting/logs/log_threshold/types'; interface Props { diff --git a/x-pack/plugins/observability_solution/infra/public/alerting/log_threshold/components/expression_editor/criterion_preview_chart.tsx b/x-pack/plugins/observability_solution/infra/public/alerting/log_threshold/components/expression_editor/criterion_preview_chart.tsx index d8f65f8459c92..d361cefcd14cb 100644 --- a/x-pack/plugins/observability_solution/infra/public/alerting/log_threshold/components/expression_editor/criterion_preview_chart.tsx +++ b/x-pack/plugins/observability_solution/infra/public/alerting/log_threshold/components/expression_editor/criterion_preview_chart.tsx @@ -23,6 +23,7 @@ import { import { EuiText } from '@elastic/eui'; import { FormattedMessage } from '@kbn/i18n-react'; import { PersistedLogViewReference } from '@kbn/logs-shared-plugin/common'; +import { decodeOrThrow } from '@kbn/io-ts-utils'; import { useTimelineChartTheme } from '../../../../hooks/use_timeline_chart_theme'; import { ExecutionTimeRange } from '../../../../types'; import { @@ -49,7 +50,6 @@ import { getLogAlertsChartPreviewDataAlertParamsSubsetRT, } from '../../../../../common/http_api'; import { useChartPreviewData } from './hooks/use_chart_preview_data'; -import { decodeOrThrow } from '../../../../../common/runtime_types'; import { useKibanaTimeZoneSetting } from '../../../../hooks/use_kibana_time_zone_setting'; const GROUP_LIMIT = 5; diff --git a/x-pack/plugins/observability_solution/infra/public/alerting/log_threshold/components/expression_editor/editor.tsx b/x-pack/plugins/observability_solution/infra/public/alerting/log_threshold/components/expression_editor/editor.tsx index e629b44f32860..a99fae8cefd7e 100644 --- a/x-pack/plugins/observability_solution/infra/public/alerting/log_threshold/components/expression_editor/editor.tsx +++ b/x-pack/plugins/observability_solution/infra/public/alerting/log_threshold/components/expression_editor/editor.tsx @@ -15,6 +15,7 @@ import { } from '@kbn/triggers-actions-ui-plugin/public'; import { LogViewProvider, useLogViewContext } from '@kbn/logs-shared-plugin/public'; import { PersistedLogViewReference, ResolvedLogViewField } from '@kbn/logs-shared-plugin/common'; +import { decodeOrThrow } from '@kbn/io-ts-utils'; import { Comparator, isOptimizableGroupedThreshold, @@ -26,7 +27,6 @@ import { ThresholdType, timeUnitRT, } from '../../../../../common/alerting/logs/log_threshold/types'; -import { decodeOrThrow } from '../../../../../common/runtime_types'; import { ObjectEntries } from '../../../../../common/utility_types'; import { useKibanaContextForPlugin } from '../../../../hooks/use_kibana'; import { GroupByExpression } from '../../../common/group_by_expression/group_by_expression'; diff --git a/x-pack/plugins/observability_solution/infra/public/alerting/log_threshold/components/expression_editor/hooks/use_chart_preview_data.tsx b/x-pack/plugins/observability_solution/infra/public/alerting/log_threshold/components/expression_editor/hooks/use_chart_preview_data.tsx index 0151217bf1203..409b25239c3da 100644 --- a/x-pack/plugins/observability_solution/infra/public/alerting/log_threshold/components/expression_editor/hooks/use_chart_preview_data.tsx +++ b/x-pack/plugins/observability_solution/infra/public/alerting/log_threshold/components/expression_editor/hooks/use_chart_preview_data.tsx @@ -9,6 +9,7 @@ import { HttpHandler } from '@kbn/core/public'; import { useKibana } from '@kbn/kibana-react-plugin/public'; import { useMemo, useState } from 'react'; import { PersistedLogViewReference } from '@kbn/logs-shared-plugin/common'; +import { decodeOrThrow } from '@kbn/io-ts-utils'; import { isRatioRule } from '../../../../../../common/alerting/logs/log_threshold'; import { GetLogAlertsChartPreviewDataAlertParamsSubset, @@ -17,7 +18,6 @@ import { getLogAlertsChartPreviewDataSuccessResponsePayloadRT, LOG_ALERTS_CHART_PREVIEW_DATA_PATH, } from '../../../../../../common/http_api'; -import { decodeOrThrow } from '../../../../../../common/runtime_types'; import { ExecutionTimeRange } from '../../../../../types'; import { useTrackedPromise } from '../../../../../hooks/use_tracked_promise'; diff --git a/x-pack/plugins/observability_solution/infra/public/alerting/metric_threshold/components/alert_flyout.tsx b/x-pack/plugins/observability_solution/infra/public/alerting/metric_threshold/components/alert_flyout.tsx index c68f3ad0f2bcf..73678d1b6d64c 100644 --- a/x-pack/plugins/observability_solution/infra/public/alerting/metric_threshold/components/alert_flyout.tsx +++ b/x-pack/plugins/observability_solution/infra/public/alerting/metric_threshold/components/alert_flyout.tsx @@ -6,7 +6,7 @@ */ import React, { useCallback, useContext, useMemo } from 'react'; -import { TriggerActionsContext } from '../../../utils/triggers_actions_context'; +import { TriggerActionsContext } from '../../../containers/triggers_actions_context'; import { METRIC_THRESHOLD_ALERT_TYPE_ID } from '../../../../common/alerting/metrics'; import { MetricsExplorerSeries } from '../../../../common/http_api/metrics_explorer'; import { MetricsExplorerOptions } from '../../../pages/metrics/metrics_explorer/hooks/use_metrics_explorer_options'; diff --git a/x-pack/plugins/observability_solution/infra/public/apps/common_providers.tsx b/x-pack/plugins/observability_solution/infra/public/apps/common_providers.tsx index 9041727424596..392e3f250ada0 100644 --- a/x-pack/plugins/observability_solution/infra/public/apps/common_providers.tsx +++ b/x-pack/plugins/observability_solution/infra/public/apps/common_providers.tsx @@ -20,8 +20,8 @@ import { useKibanaEnvironmentContextProvider, } from '../hooks/use_kibana'; import { InfraClientStartDeps, InfraClientStartExports } from '../types'; -import { HeaderActionMenuProvider } from '../utils/header_action_menu_provider'; -import { TriggersActionsProvider } from '../utils/triggers_actions_context'; +import { HeaderActionMenuProvider } from '../containers/header_action_menu_provider'; +import { TriggersActionsProvider } from '../containers/triggers_actions_context'; import { useIsDarkMode } from '../hooks/use_is_dark_mode'; export const CommonInfraProviders: FC< diff --git a/x-pack/plugins/observability_solution/infra/public/apps/logs_app.tsx b/x-pack/plugins/observability_solution/infra/public/apps/logs_app.tsx index 9e6d74c5f4cbd..1b7aaefbefaf4 100644 --- a/x-pack/plugins/observability_solution/infra/public/apps/logs_app.tsx +++ b/x-pack/plugins/observability_solution/infra/public/apps/logs_app.tsx @@ -18,7 +18,7 @@ import { LogsPage } from '../pages/logs'; import { InfraClientStartDeps, InfraClientStartExports } from '../types'; import { CommonInfraProviders, CoreProviders } from './common_providers'; import { prepareMountElement } from './common_styles'; -import { KbnUrlStateStorageFromRouterProvider } from '../utils/kbn_url_state_context'; +import { KbnUrlStateStorageFromRouterProvider } from '../containers/kbn_url_state_context'; export const renderApp = ( core: CoreStart, diff --git a/x-pack/plugins/observability_solution/infra/public/lib/lib.ts b/x-pack/plugins/observability_solution/infra/public/common/inventory/types.ts similarity index 92% rename from x-pack/plugins/observability_solution/infra/public/lib/lib.ts rename to x-pack/plugins/observability_solution/infra/public/common/inventory/types.ts index ac6527b9cc9c3..d4d4eca3902bb 100644 --- a/x-pack/plugins/observability_solution/infra/public/lib/lib.ts +++ b/x-pack/plugins/observability_solution/infra/public/common/inventory/types.ts @@ -7,16 +7,16 @@ import { i18n } from '@kbn/i18n'; import * as rt from 'io-ts'; -import type { InventoryMapBounds } from '../../common/inventory_views'; +import type { InventoryMapBounds } from '../../../common/inventory_views'; import type { InfraTimerangeInput, SnapshotGroupBy, SnapshotMetricInput, SnapshotNodeMetric, SnapshotNodePath, -} from '../../common/http_api/snapshot_api'; -import type { WaffleSortOption } from '../pages/metrics/inventory_view/hooks/use_waffle_options'; -export type { InventoryColorPalette } from '../../common/inventory_views'; +} from '../../../common/http_api/snapshot_api'; +import type { WaffleSortOption } from '../../pages/metrics/inventory_view/hooks/use_waffle_options'; +export type { InventoryColorPalette } from '../../../common/inventory_views'; export interface InfraWaffleMapNode { pathId: string; diff --git a/x-pack/plugins/observability_solution/infra/public/components/asset_details/hooks/use_custom_dashboards.ts b/x-pack/plugins/observability_solution/infra/public/components/asset_details/hooks/use_custom_dashboards.ts index 8d83f05a7e033..7394070c6c40b 100644 --- a/x-pack/plugins/observability_solution/infra/public/components/asset_details/hooks/use_custom_dashboards.ts +++ b/x-pack/plugins/observability_solution/infra/public/components/asset_details/hooks/use_custom_dashboards.ts @@ -11,6 +11,7 @@ import { identity } from 'fp-ts/lib/function'; import { pipe } from 'fp-ts/lib/pipeable'; import { i18n } from '@kbn/i18n'; import { useKibana } from '@kbn/kibana-react-plugin/public'; +import { throwErrors, createPlainError } from '@kbn/io-ts-utils'; import { useKibanaContextForPlugin } from '../../../hooks/use_kibana'; import { useTrackedPromise } from '../../../hooks/use_tracked_promise'; import type { @@ -22,7 +23,6 @@ import { InfraCustomDashboardRT, InfraDeleteCustomDashboardsResponseBodyRT, } from '../../../../common/http_api/custom_dashboards_api'; -import { throwErrors, createPlainError } from '../../../../common/runtime_types'; type ActionType = 'create' | 'update' | 'delete'; const errorMessages: Record = { diff --git a/x-pack/plugins/observability_solution/infra/public/components/asset_details/hooks/use_fetch_custom_dashboards.ts b/x-pack/plugins/observability_solution/infra/public/components/asset_details/hooks/use_fetch_custom_dashboards.ts index c285aa9a931bd..5a5b37c808f2e 100644 --- a/x-pack/plugins/observability_solution/infra/public/components/asset_details/hooks/use_fetch_custom_dashboards.ts +++ b/x-pack/plugins/observability_solution/infra/public/components/asset_details/hooks/use_fetch_custom_dashboards.ts @@ -10,10 +10,10 @@ import { fold } from 'fp-ts/lib/Either'; import { identity } from 'fp-ts/lib/function'; import { pipe } from 'fp-ts/lib/pipeable'; import type { InventoryItemType } from '@kbn/metrics-data-access-plugin/common'; +import { throwErrors, createPlainError } from '@kbn/io-ts-utils'; import type { InfraSavedCustomDashboard } from '../../../../common/custom_dashboards'; import { InfraGetCustomDashboardsResponseBodyRT } from '../../../../common/http_api/custom_dashboards_api'; import { useHTTPRequest } from '../../../hooks/use_http_request'; -import { throwErrors, createPlainError } from '../../../../common/runtime_types'; import { useRequestObservable } from './use_request_observable'; interface UseDashboardProps { diff --git a/x-pack/plugins/observability_solution/infra/public/components/asset_details/hooks/use_metadata.ts b/x-pack/plugins/observability_solution/infra/public/components/asset_details/hooks/use_metadata.ts index 04492c3107956..aaa07ce993455 100644 --- a/x-pack/plugins/observability_solution/infra/public/components/asset_details/hooks/use_metadata.ts +++ b/x-pack/plugins/observability_solution/infra/public/components/asset_details/hooks/use_metadata.ts @@ -11,9 +11,9 @@ import { identity } from 'fp-ts/lib/function'; import { pipe } from 'fp-ts/lib/pipeable'; import type { InventoryItemType, InventoryMetric } from '@kbn/metrics-data-access-plugin/common'; import { BehaviorSubject } from 'rxjs'; +import { throwErrors, createPlainError } from '@kbn/io-ts-utils'; import { useHTTPRequest } from '../../../hooks/use_http_request'; import { type InfraMetadata, InfraMetadataRT } from '../../../../common/http_api/metadata_api'; -import { throwErrors, createPlainError } from '../../../../common/runtime_types'; import { getFilteredMetrics } from '../../../pages/metrics/metric_detail/lib/get_filtered_metrics'; interface UseMetadataProps { diff --git a/x-pack/plugins/observability_solution/infra/public/components/asset_details/hooks/use_process_list.ts b/x-pack/plugins/observability_solution/infra/public/components/asset_details/hooks/use_process_list.ts index 3dfbbb0068a03..7064321a677ac 100644 --- a/x-pack/plugins/observability_solution/infra/public/components/asset_details/hooks/use_process_list.ts +++ b/x-pack/plugins/observability_solution/infra/public/components/asset_details/hooks/use_process_list.ts @@ -11,8 +11,8 @@ import { identity } from 'fp-ts/lib/function'; import { pipe } from 'fp-ts/lib/pipeable'; import { useEffect } from 'react'; import { BehaviorSubject } from 'rxjs'; +import { throwErrors, createPlainError } from '@kbn/io-ts-utils'; import { ProcessListAPIResponse, ProcessListAPIResponseRT } from '../../../../common/http_api'; -import { throwErrors, createPlainError } from '../../../../common/runtime_types'; import { useHTTPRequest } from '../../../hooks/use_http_request'; import { useMetricsDataViewContext } from '../../../containers/metrics_source'; diff --git a/x-pack/plugins/observability_solution/infra/public/components/asset_details/hooks/use_process_list_row_chart.ts b/x-pack/plugins/observability_solution/infra/public/components/asset_details/hooks/use_process_list_row_chart.ts index c2c04b66c9d77..13a47bacffcec 100644 --- a/x-pack/plugins/observability_solution/infra/public/components/asset_details/hooks/use_process_list_row_chart.ts +++ b/x-pack/plugins/observability_solution/infra/public/components/asset_details/hooks/use_process_list_row_chart.ts @@ -10,11 +10,11 @@ import { identity } from 'fp-ts/lib/function'; import { pipe } from 'fp-ts/lib/pipeable'; import { useEffect, useState } from 'react'; import { BehaviorSubject } from 'rxjs'; +import { throwErrors, createPlainError } from '@kbn/io-ts-utils'; import { ProcessListAPIChartResponse, ProcessListAPIChartResponseRT, } from '../../../../common/http_api'; -import { throwErrors, createPlainError } from '../../../../common/runtime_types'; import { useHTTPRequest } from '../../../hooks/use_http_request'; import { useProcessListContext } from './use_process_list'; diff --git a/x-pack/plugins/observability_solution/infra/public/components/asset_details/hooks/use_profiling_kuery.ts b/x-pack/plugins/observability_solution/infra/public/components/asset_details/hooks/use_profiling_kuery.ts index 10fb9b90cb090..56be7aae0e15a 100644 --- a/x-pack/plugins/observability_solution/infra/public/components/asset_details/hooks/use_profiling_kuery.ts +++ b/x-pack/plugins/observability_solution/infra/public/components/asset_details/hooks/use_profiling_kuery.ts @@ -6,12 +6,12 @@ */ import { useState } from 'react'; -import { HOST_FIELD } from '../../../../common/constants'; +import { HOST_NAME_FIELD } from '../../../../common/constants'; import { useAssetDetailsRenderPropsContext } from './use_asset_details_render_props'; import { useAssetDetailsUrlState } from './use_asset_details_url_state'; function buildFullProfilingKuery(assetName: string, profilingSearch?: string) { - const defaultKuery = `${HOST_FIELD} : "${assetName}"`; + const defaultKuery = `${HOST_NAME_FIELD} : "${assetName}"`; const customKuery = profilingSearch?.trim() ?? ''; return customKuery !== '' ? `${defaultKuery} and ${customKuery}` : defaultKuery; diff --git a/x-pack/plugins/observability_solution/infra/public/components/asset_details/hooks/use_services.ts b/x-pack/plugins/observability_solution/infra/public/components/asset_details/hooks/use_services.ts index dae8203b37325..97d111019023c 100644 --- a/x-pack/plugins/observability_solution/infra/public/components/asset_details/hooks/use_services.ts +++ b/x-pack/plugins/observability_solution/infra/public/components/asset_details/hooks/use_services.ts @@ -9,12 +9,12 @@ import { fold } from 'fp-ts/lib/Either'; import { identity } from 'fp-ts/lib/function'; import { pipe } from 'fp-ts/lib/pipeable'; import { useEffect, useMemo } from 'react'; +import { throwErrors, createPlainError } from '@kbn/io-ts-utils'; import { ServicesAPIResponse, ServicesAPIResponseRT, ServicesAPIRequest, } from '../../../../common/http_api/host_details'; -import { throwErrors, createPlainError } from '../../../../common/runtime_types'; import { useHTTPRequest } from '../../../hooks/use_http_request'; import { useRequestObservable } from './use_request_observable'; diff --git a/x-pack/plugins/observability_solution/infra/public/components/asset_details/tabs/overview/services.tsx b/x-pack/plugins/observability_solution/infra/public/components/asset_details/tabs/overview/services.tsx index edd6bebb4e96d..7336d6bfe6782 100644 --- a/x-pack/plugins/observability_solution/infra/public/components/asset_details/tabs/overview/services.tsx +++ b/x-pack/plugins/observability_solution/infra/public/components/asset_details/tabs/overview/services.tsx @@ -13,7 +13,7 @@ import { useLinkProps } from '@kbn/observability-shared-plugin/public'; import { Section } from '../../components/section'; import { ServicesSectionTitle } from './section_titles'; import { useServices } from '../../hooks/use_services'; -import { HOST_FIELD } from '../../../../../common/constants'; +import { HOST_NAME_FIELD } from '../../../../../common/constants'; import { LinkToApmServices } from '../../links'; import { APM_HOST_FILTER_FIELD } from '../../constants'; import { LinkToApmService } from '../../links/link_to_apm_service'; @@ -37,7 +37,7 @@ export const ServicesContent = ({ }); const params = useMemo( () => ({ - filters: { [HOST_FIELD]: hostName }, + filters: { [HOST_NAME_FIELD]: hostName }, from: dateRange.from, to: dateRange.to, }), diff --git a/x-pack/plugins/observability_solution/infra/public/components/asset_details/tabs/profiling/profiling_links.tsx b/x-pack/plugins/observability_solution/infra/public/components/asset_details/tabs/profiling/profiling_links.tsx index 1509da65d24da..d9619a9928660 100644 --- a/x-pack/plugins/observability_solution/infra/public/components/asset_details/tabs/profiling/profiling_links.tsx +++ b/x-pack/plugins/observability_solution/infra/public/components/asset_details/tabs/profiling/profiling_links.tsx @@ -11,7 +11,7 @@ import { EuiFlexGroup, EuiFlexItem, EuiLink } from '@elastic/eui'; import { FlamegraphLocator } from '@kbn/observability-shared-plugin/public/locators/profiling/flamegraph_locator'; import { TopNFunctionsLocator } from '@kbn/observability-shared-plugin/public/locators/profiling/topn_functions_locator'; import { StacktracesLocator } from '@kbn/observability-shared-plugin/public/locators/profiling/stacktraces_locator'; -import { HOST_FIELD } from '../../../../../common/constants'; +import { HOST_NAME_FIELD } from '../../../../../common/constants'; const PROFILING_FEEDBACK_URL = 'https://ela.st/profiling-feedback'; @@ -31,7 +31,7 @@ export function ProfilingLinks({ profilingLinkLabel, }: Props) { const profilingLinkURL = profilingLinkLocator.getRedirectUrl({ - kuery: `${HOST_FIELD}:"${hostname}"`, + kuery: `${HOST_NAME_FIELD}:"${hostname}"`, rangeFrom: from, rangeTo: to, }); diff --git a/x-pack/plugins/observability_solution/infra/public/components/asset_details/types.ts b/x-pack/plugins/observability_solution/infra/public/components/asset_details/types.ts index afbf4fd35756a..01700206285e8 100644 --- a/x-pack/plugins/observability_solution/infra/public/components/asset_details/types.ts +++ b/x-pack/plugins/observability_solution/infra/public/components/asset_details/types.ts @@ -8,7 +8,7 @@ import { TimeRange } from '@kbn/es-query'; import { Search } from 'history'; import type { InventoryItemType } from '@kbn/metrics-data-access-plugin/common'; -import type { InfraWaffleMapOptions } from '../../lib/lib'; +import type { InfraWaffleMapOptions } from '../../common/inventory/types'; export type { AssetDetailsUrlState } from './hooks/use_asset_details_url_state'; diff --git a/x-pack/plugins/observability_solution/infra/public/utils/header_action_menu_provider.tsx b/x-pack/plugins/observability_solution/infra/public/containers/header_action_menu_provider.tsx similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/utils/header_action_menu_provider.tsx rename to x-pack/plugins/observability_solution/infra/public/containers/header_action_menu_provider.tsx diff --git a/x-pack/plugins/observability_solution/infra/public/utils/kbn_url_state_context.ts b/x-pack/plugins/observability_solution/infra/public/containers/kbn_url_state_context.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/utils/kbn_url_state_context.ts rename to x-pack/plugins/observability_solution/infra/public/containers/kbn_url_state_context.ts diff --git a/x-pack/plugins/observability_solution/infra/public/containers/logs/log_analysis/api/get_latest_categories_datasets_stats.ts b/x-pack/plugins/observability_solution/infra/public/containers/logs/log_analysis/api/get_latest_categories_datasets_stats.ts index 8a6b15d5c80ff..13c959841b2d7 100644 --- a/x-pack/plugins/observability_solution/infra/public/containers/logs/log_analysis/api/get_latest_categories_datasets_stats.ts +++ b/x-pack/plugins/observability_solution/infra/public/containers/logs/log_analysis/api/get_latest_categories_datasets_stats.ts @@ -6,6 +6,7 @@ */ import { HttpHandler } from '@kbn/core/public'; +import { decodeOrThrow } from '@kbn/io-ts-utils'; import { CategorizerStatus, getLatestLogEntryCategoryDatasetsStatsRequestPayloadRT, @@ -13,7 +14,6 @@ import { LogEntryCategoriesDatasetStats, LOG_ANALYSIS_GET_LATEST_LOG_ENTRY_CATEGORY_DATASETS_STATS_PATH, } from '../../../../../common/http_api'; -import { decodeOrThrow } from '../../../../../common/runtime_types'; export type { LogEntryCategoriesDatasetStats }; diff --git a/x-pack/plugins/observability_solution/infra/public/containers/logs/log_analysis/api/ml_cleanup.ts b/x-pack/plugins/observability_solution/infra/public/containers/logs/log_analysis/api/ml_cleanup.ts index b27938f795eea..72cddce4ed632 100644 --- a/x-pack/plugins/observability_solution/infra/public/containers/logs/log_analysis/api/ml_cleanup.ts +++ b/x-pack/plugins/observability_solution/infra/public/containers/logs/log_analysis/api/ml_cleanup.ts @@ -8,9 +8,9 @@ import * as rt from 'io-ts'; import type { HttpHandler } from '@kbn/core/public'; +import { decodeOrThrow } from '@kbn/io-ts-utils'; import { IdFormat, JobType } from '../../../../../common/http_api/latest'; import { getDatafeedId, getJobId } from '../../../../../common/log_analysis'; -import { decodeOrThrow } from '../../../../../common/runtime_types'; interface DeleteJobsRequestArgs { spaceId: string; diff --git a/x-pack/plugins/observability_solution/infra/public/containers/logs/log_analysis/api/ml_get_jobs_summary_api.ts b/x-pack/plugins/observability_solution/infra/public/containers/logs/log_analysis/api/ml_get_jobs_summary_api.ts index 9e2996215df8d..e1de17cb95a02 100644 --- a/x-pack/plugins/observability_solution/infra/public/containers/logs/log_analysis/api/ml_get_jobs_summary_api.ts +++ b/x-pack/plugins/observability_solution/infra/public/containers/logs/log_analysis/api/ml_get_jobs_summary_api.ts @@ -8,9 +8,9 @@ import * as rt from 'io-ts'; import type { HttpHandler } from '@kbn/core/public'; +import { decodeOrThrow } from '@kbn/io-ts-utils'; import { IdFormat, JobType } from '../../../../../common/http_api/latest'; import { getJobId, jobCustomSettingsRT } from '../../../../../common/log_analysis'; -import { decodeOrThrow } from '../../../../../common/runtime_types'; interface RequestArgs { spaceId: string; diff --git a/x-pack/plugins/observability_solution/infra/public/containers/logs/log_analysis/api/ml_get_module.ts b/x-pack/plugins/observability_solution/infra/public/containers/logs/log_analysis/api/ml_get_module.ts index 8fb75722ae7d8..adbea69c0d54f 100644 --- a/x-pack/plugins/observability_solution/infra/public/containers/logs/log_analysis/api/ml_get_module.ts +++ b/x-pack/plugins/observability_solution/infra/public/containers/logs/log_analysis/api/ml_get_module.ts @@ -8,8 +8,8 @@ import * as rt from 'io-ts'; import type { HttpHandler } from '@kbn/core/public'; +import { decodeOrThrow } from '@kbn/io-ts-utils'; import { jobCustomSettingsRT } from '../../../../../common/log_analysis'; -import { decodeOrThrow } from '../../../../../common/runtime_types'; export const callGetMlModuleAPI = async (moduleId: string, fetch: HttpHandler) => { const response = await fetch(`/internal/ml/modules/get_module/${moduleId}`, { diff --git a/x-pack/plugins/observability_solution/infra/public/containers/logs/log_analysis/api/ml_setup_module_api.ts b/x-pack/plugins/observability_solution/infra/public/containers/logs/log_analysis/api/ml_setup_module_api.ts index f1e34cdd40518..8831423991db5 100644 --- a/x-pack/plugins/observability_solution/infra/public/containers/logs/log_analysis/api/ml_setup_module_api.ts +++ b/x-pack/plugins/observability_solution/infra/public/containers/logs/log_analysis/api/ml_setup_module_api.ts @@ -8,8 +8,8 @@ import * as rt from 'io-ts'; import type { HttpHandler } from '@kbn/core/public'; +import { decodeOrThrow } from '@kbn/io-ts-utils'; import { getJobIdPrefix, jobCustomSettingsRT } from '../../../../../common/log_analysis'; -import { decodeOrThrow } from '../../../../../common/runtime_types'; interface RequestArgs { moduleId: string; diff --git a/x-pack/plugins/observability_solution/infra/public/containers/logs/log_analysis/api/validate_datasets.ts b/x-pack/plugins/observability_solution/infra/public/containers/logs/log_analysis/api/validate_datasets.ts index fc27310814efc..b7fa86cebfe37 100644 --- a/x-pack/plugins/observability_solution/infra/public/containers/logs/log_analysis/api/validate_datasets.ts +++ b/x-pack/plugins/observability_solution/infra/public/containers/logs/log_analysis/api/validate_datasets.ts @@ -7,12 +7,12 @@ import type * as estypes from '@elastic/elasticsearch/lib/api/typesWithBodyKey'; import type { HttpHandler } from '@kbn/core/public'; +import { decodeOrThrow } from '@kbn/io-ts-utils'; import { LOG_ANALYSIS_VALIDATE_DATASETS_PATH, validateLogEntryDatasetsRequestPayloadRT, validateLogEntryDatasetsResponsePayloadRT, } from '../../../../../common/http_api'; -import { decodeOrThrow } from '../../../../../common/runtime_types'; interface RequestArgs { indices: string[]; diff --git a/x-pack/plugins/observability_solution/infra/public/containers/logs/log_analysis/api/validate_indices.ts b/x-pack/plugins/observability_solution/infra/public/containers/logs/log_analysis/api/validate_indices.ts index 92c12e0b08a36..e1686df4899eb 100644 --- a/x-pack/plugins/observability_solution/infra/public/containers/logs/log_analysis/api/validate_indices.ts +++ b/x-pack/plugins/observability_solution/infra/public/containers/logs/log_analysis/api/validate_indices.ts @@ -8,6 +8,7 @@ import type { HttpHandler } from '@kbn/core/public'; import type * as estypes from '@elastic/elasticsearch/lib/api/typesWithBodyKey'; +import { decodeOrThrow } from '@kbn/io-ts-utils'; import { LOG_ANALYSIS_VALIDATE_INDICES_PATH, ValidationIndicesFieldSpecification, @@ -15,8 +16,6 @@ import { validationIndicesResponsePayloadRT, } from '../../../../../common/http_api'; -import { decodeOrThrow } from '../../../../../common/runtime_types'; - interface RequestArgs { indices: string[]; fields: ValidationIndicesFieldSpecification[]; diff --git a/x-pack/plugins/observability_solution/infra/public/containers/logs/log_analysis/log_analysis_capabilities.tsx b/x-pack/plugins/observability_solution/infra/public/containers/logs/log_analysis/log_analysis_capabilities.tsx index 39b292658076f..9dbcee8f7c4f0 100644 --- a/x-pack/plugins/observability_solution/infra/public/containers/logs/log_analysis/log_analysis_capabilities.tsx +++ b/x-pack/plugins/observability_solution/infra/public/containers/logs/log_analysis/log_analysis_capabilities.tsx @@ -7,12 +7,12 @@ import createContainer from 'constate'; import { useMemo, useState, useEffect } from 'react'; +import { decodeOrThrow } from '@kbn/io-ts-utils'; import { useTrackedPromise } from '../../../hooks/use_tracked_promise'; import { getMlCapabilitiesResponsePayloadRT, GetMlCapabilitiesResponsePayload, } from './api/ml_api_types'; -import { decodeOrThrow } from '../../../../common/runtime_types'; import { useKibanaContextForPlugin } from '../../../hooks/use_kibana'; export const useLogAnalysisCapabilities = () => { diff --git a/x-pack/plugins/observability_solution/infra/public/containers/ml/api/ml_cleanup.ts b/x-pack/plugins/observability_solution/infra/public/containers/ml/api/ml_cleanup.ts index d4e8152553244..822c99ae0ee1a 100644 --- a/x-pack/plugins/observability_solution/infra/public/containers/ml/api/ml_cleanup.ts +++ b/x-pack/plugins/observability_solution/infra/public/containers/ml/api/ml_cleanup.ts @@ -7,8 +7,8 @@ import * as rt from 'io-ts'; import type { HttpHandler } from '@kbn/core/public'; +import { decodeOrThrow } from '@kbn/io-ts-utils'; import { getDatafeedId, getJobId } from '../../../../common/infra_ml'; -import { decodeOrThrow } from '../../../../common/runtime_types'; interface DeleteJobsRequestArgs { spaceId: string; diff --git a/x-pack/plugins/observability_solution/infra/public/containers/ml/api/ml_get_jobs_summary_api.ts b/x-pack/plugins/observability_solution/infra/public/containers/ml/api/ml_get_jobs_summary_api.ts index 9488c9c1301e0..3ba6e8cc4e364 100644 --- a/x-pack/plugins/observability_solution/infra/public/containers/ml/api/ml_get_jobs_summary_api.ts +++ b/x-pack/plugins/observability_solution/infra/public/containers/ml/api/ml_get_jobs_summary_api.ts @@ -8,8 +8,8 @@ import * as rt from 'io-ts'; import type { HttpHandler } from '@kbn/core/public'; +import { decodeOrThrow } from '@kbn/io-ts-utils'; import { getJobId, jobCustomSettingsRT } from '../../../../common/infra_ml'; -import { decodeOrThrow } from '../../../../common/runtime_types'; interface RequestArgs { spaceId: string; diff --git a/x-pack/plugins/observability_solution/infra/public/containers/ml/api/ml_get_module.ts b/x-pack/plugins/observability_solution/infra/public/containers/ml/api/ml_get_module.ts index 1cd85d448e7be..ed9956ba8ed21 100644 --- a/x-pack/plugins/observability_solution/infra/public/containers/ml/api/ml_get_module.ts +++ b/x-pack/plugins/observability_solution/infra/public/containers/ml/api/ml_get_module.ts @@ -8,8 +8,8 @@ import * as rt from 'io-ts'; import type { HttpHandler } from '@kbn/core/public'; +import { decodeOrThrow } from '@kbn/io-ts-utils'; import { jobCustomSettingsRT } from '../../../../common/infra_ml'; -import { decodeOrThrow } from '../../../../common/runtime_types'; export const callGetMlModuleAPI = async (moduleId: string, fetch: HttpHandler) => { const response = await fetch(`/internal/ml/modules/get_module/${moduleId}`, { diff --git a/x-pack/plugins/observability_solution/infra/public/containers/ml/api/ml_setup_module_api.ts b/x-pack/plugins/observability_solution/infra/public/containers/ml/api/ml_setup_module_api.ts index 4514b6c608235..49a6d70cd859b 100644 --- a/x-pack/plugins/observability_solution/infra/public/containers/ml/api/ml_setup_module_api.ts +++ b/x-pack/plugins/observability_solution/infra/public/containers/ml/api/ml_setup_module_api.ts @@ -8,8 +8,8 @@ import * as rt from 'io-ts'; import type { HttpHandler } from '@kbn/core/public'; +import { decodeOrThrow } from '@kbn/io-ts-utils'; import { getJobIdPrefix, jobCustomSettingsRT } from '../../../../common/infra_ml'; -import { decodeOrThrow } from '../../../../common/runtime_types'; interface RequestArgs { moduleId: string; diff --git a/x-pack/plugins/observability_solution/infra/public/containers/ml/infra_ml_capabilities.tsx b/x-pack/plugins/observability_solution/infra/public/containers/ml/infra_ml_capabilities.tsx index 47e03bfe5040a..be8dd903fb550 100644 --- a/x-pack/plugins/observability_solution/infra/public/containers/ml/infra_ml_capabilities.tsx +++ b/x-pack/plugins/observability_solution/infra/public/containers/ml/infra_ml_capabilities.tsx @@ -10,12 +10,12 @@ import { useMemo, useState, useEffect } from 'react'; import { fold } from 'fp-ts/lib/Either'; import { pipe } from 'fp-ts/lib/pipeable'; import { identity } from 'fp-ts/lib/function'; +import { throwErrors, createPlainError } from '@kbn/io-ts-utils'; import { useTrackedPromise } from '../../hooks/use_tracked_promise'; import { getMlCapabilitiesResponsePayloadRT, GetMlCapabilitiesResponsePayload, } from './api/ml_api_types'; -import { throwErrors, createPlainError } from '../../../common/runtime_types'; import { useKibanaContextForPlugin } from '../../hooks/use_kibana'; export const useInfraMLCapabilities = () => { diff --git a/x-pack/plugins/observability_solution/infra/public/utils/triggers_actions_context.tsx b/x-pack/plugins/observability_solution/infra/public/containers/triggers_actions_context.tsx similarity index 100% rename from x-pack/plugins/observability_solution/infra/public/utils/triggers_actions_context.tsx rename to x-pack/plugins/observability_solution/infra/public/containers/triggers_actions_context.tsx diff --git a/x-pack/plugins/observability_solution/infra/public/containers/with_kuery_autocompletion.tsx b/x-pack/plugins/observability_solution/infra/public/containers/with_kuery_autocompletion.tsx index 4ee3a5e144727..26711bd7649b2 100644 --- a/x-pack/plugins/observability_solution/infra/public/containers/with_kuery_autocompletion.tsx +++ b/x-pack/plugins/observability_solution/infra/public/containers/with_kuery_autocompletion.tsx @@ -13,12 +13,11 @@ import { } from '@kbn/kibana-react-plugin/public'; import type { DataView } from '@kbn/data-views-plugin/public'; import { QuerySuggestion } from '@kbn/unified-search-plugin/public'; -import { RendererFunction } from '../utils/typed_react'; import { InfraClientStartDeps } from '../types'; interface WithKueryAutocompletionLifecycleProps { kibana: KibanaReactContextValue; - children: RendererFunction<{ + children: React.FunctionComponent<{ isLoadingSuggestions: boolean; loadSuggestions: (expression: string, cursorPosition: number, maxSuggestions?: number) => void; suggestions: QuerySuggestion[]; diff --git a/x-pack/plugins/observability_solution/infra/public/hooks/use_trial_status.tsx b/x-pack/plugins/observability_solution/infra/public/hooks/use_trial_status.tsx index abb2774875304..0667904393b01 100644 --- a/x-pack/plugins/observability_solution/infra/public/hooks/use_trial_status.tsx +++ b/x-pack/plugins/observability_solution/infra/public/hooks/use_trial_status.tsx @@ -12,8 +12,8 @@ import { HttpStart, NotificationsStart } from '@kbn/core/public'; import { useKibana } from '@kbn/kibana-react-plugin/public'; import { API_BASE_PATH as LICENSE_MANAGEMENT_API_BASE_PATH } from '@kbn/license-management-plugin/common/constants'; +import { decodeOrThrow } from '@kbn/io-ts-utils'; import { useTrackedPromise } from './use_tracked_promise'; -import { decodeOrThrow } from '../../common/runtime_types'; interface UseTrialStatusState { loadState: 'uninitialized' | 'pending' | 'resolved' | 'rejected'; diff --git a/x-pack/plugins/observability_solution/infra/public/index.ts b/x-pack/plugins/observability_solution/infra/public/index.ts index 74b071b6161cd..aef68283ff945 100644 --- a/x-pack/plugins/observability_solution/infra/public/index.ts +++ b/x-pack/plugins/observability_solution/infra/public/index.ts @@ -24,7 +24,7 @@ export const plugin: PluginInitializer< }; export { FORMATTERS } from '../common/formatters'; -export { InfraFormatterType } from './lib/lib'; +export { InfraFormatterType } from './common/inventory/types'; // Shared components export type { InfraClientStartExports } from './types'; diff --git a/x-pack/plugins/observability_solution/infra/public/observability_logs/log_stream_position_state/src/url_state_storage_service.ts b/x-pack/plugins/observability_solution/infra/public/observability_logs/log_stream_position_state/src/url_state_storage_service.ts index 5607bf9207054..181a87b3728a4 100644 --- a/x-pack/plugins/observability_solution/infra/public/observability_logs/log_stream_position_state/src/url_state_storage_service.ts +++ b/x-pack/plugins/observability_solution/infra/public/observability_logs/log_stream_position_state/src/url_state_storage_service.ts @@ -10,8 +10,8 @@ import { IKbnUrlStateStorage, withNotifyOnErrors } from '@kbn/kibana-utils-plugi import * as Either from 'fp-ts/lib/Either'; import { pipe } from 'fp-ts/lib/function'; import { InvokeCreator } from 'xstate'; +import { createPlainError, formatErrors } from '@kbn/io-ts-utils'; import { minimalTimeKeyRT, pickTimeKey } from '../../../../common/time'; -import { createPlainError, formatErrors } from '../../../../common/runtime_types'; import type { LogStreamPositionContext, LogStreamPositionEvent } from './types'; interface LogStreamPositionUrlStateDependencies { positionStateKey?: string; diff --git a/x-pack/plugins/observability_solution/infra/public/observability_logs/log_stream_query_state/src/url_state_storage_service.ts b/x-pack/plugins/observability_solution/infra/public/observability_logs/log_stream_query_state/src/url_state_storage_service.ts index 1a71099324e1c..07b05f31fc35c 100644 --- a/x-pack/plugins/observability_solution/infra/public/observability_logs/log_stream_query_state/src/url_state_storage_service.ts +++ b/x-pack/plugins/observability_solution/infra/public/observability_logs/log_stream_query_state/src/url_state_storage_service.ts @@ -18,13 +18,13 @@ import { DEFAULT_REFRESH_INTERVAL, } from '@kbn/logs-shared-plugin/common'; import moment from 'moment'; +import { createPlainError, formatErrors } from '@kbn/io-ts-utils'; import { getTimeRangeEndFromTime, getTimeRangeStartFromTime, } from '../../../../common/url_state_storage_service'; import { minimalTimeKeyRT } from '../../../../common/time'; import { datemathStringRT } from '../../../utils/datemath'; -import { createPlainError, formatErrors } from '../../../../common/runtime_types'; import type { LogStreamQueryContext, LogStreamQueryEvent, ParsedQuery } from './types'; import { DEFAULT_FILTERS, DEFAULT_QUERY, DEFAULT_TIMERANGE } from './defaults'; diff --git a/x-pack/plugins/observability_solution/infra/public/pages/logs/log_entry_categories/service_calls/get_log_entry_category_datasets.ts b/x-pack/plugins/observability_solution/infra/public/pages/logs/log_entry_categories/service_calls/get_log_entry_category_datasets.ts index 4a194eb1fb076..34752f5792e03 100644 --- a/x-pack/plugins/observability_solution/infra/public/pages/logs/log_entry_categories/service_calls/get_log_entry_category_datasets.ts +++ b/x-pack/plugins/observability_solution/infra/public/pages/logs/log_entry_categories/service_calls/get_log_entry_category_datasets.ts @@ -7,6 +7,7 @@ import type { HttpHandler } from '@kbn/core/public'; import { PersistedLogViewReference } from '@kbn/logs-shared-plugin/common'; +import { decodeOrThrow } from '@kbn/io-ts-utils'; import { IdFormat } from '../../../../../common/http_api/latest'; import { @@ -14,7 +15,6 @@ import { getLogEntryCategoryDatasetsSuccessReponsePayloadRT, LOG_ANALYSIS_GET_LOG_ENTRY_CATEGORY_DATASETS_PATH, } from '../../../../../common/http_api'; -import { decodeOrThrow } from '../../../../../common/runtime_types'; interface RequestArgs { logViewReference: PersistedLogViewReference; diff --git a/x-pack/plugins/observability_solution/infra/public/pages/logs/log_entry_categories/service_calls/get_log_entry_category_examples.ts b/x-pack/plugins/observability_solution/infra/public/pages/logs/log_entry_categories/service_calls/get_log_entry_category_examples.ts index dece712414ce6..bdf5c80079c1e 100644 --- a/x-pack/plugins/observability_solution/infra/public/pages/logs/log_entry_categories/service_calls/get_log_entry_category_examples.ts +++ b/x-pack/plugins/observability_solution/infra/public/pages/logs/log_entry_categories/service_calls/get_log_entry_category_examples.ts @@ -7,6 +7,7 @@ import type { HttpHandler } from '@kbn/core/public'; import { PersistedLogViewReference } from '@kbn/logs-shared-plugin/common'; +import { decodeOrThrow } from '@kbn/io-ts-utils'; import { IdFormat } from '../../../../../common/http_api/latest'; import { @@ -14,7 +15,6 @@ import { getLogEntryCategoryExamplesSuccessReponsePayloadRT, LOG_ANALYSIS_GET_LOG_ENTRY_CATEGORY_EXAMPLES_PATH, } from '../../../../../common/http_api'; -import { decodeOrThrow } from '../../../../../common/runtime_types'; interface RequestArgs { logViewReference: PersistedLogViewReference; diff --git a/x-pack/plugins/observability_solution/infra/public/pages/logs/log_entry_categories/service_calls/get_top_log_entry_categories.ts b/x-pack/plugins/observability_solution/infra/public/pages/logs/log_entry_categories/service_calls/get_top_log_entry_categories.ts index 2b2808bf46464..14cd49a5d8f83 100644 --- a/x-pack/plugins/observability_solution/infra/public/pages/logs/log_entry_categories/service_calls/get_top_log_entry_categories.ts +++ b/x-pack/plugins/observability_solution/infra/public/pages/logs/log_entry_categories/service_calls/get_top_log_entry_categories.ts @@ -7,6 +7,7 @@ import type { HttpHandler } from '@kbn/core/public'; import { PersistedLogViewReference } from '@kbn/logs-shared-plugin/common'; +import { decodeOrThrow } from '@kbn/io-ts-utils'; import { IdFormat } from '../../../../../common/http_api/latest'; import { @@ -15,7 +16,6 @@ import { LOG_ANALYSIS_GET_LOG_ENTRY_CATEGORIES_PATH, } from '../../../../../common/http_api'; import { CategoriesSort } from '../../../../../common/log_analysis'; -import { decodeOrThrow } from '../../../../../common/runtime_types'; interface RequestArgs { logViewReference: PersistedLogViewReference; diff --git a/x-pack/plugins/observability_solution/infra/public/pages/logs/log_entry_rate/service_calls/get_log_entry_anomalies.ts b/x-pack/plugins/observability_solution/infra/public/pages/logs/log_entry_rate/service_calls/get_log_entry_anomalies.ts index 5f6ad4deda08a..f474059b84bab 100644 --- a/x-pack/plugins/observability_solution/infra/public/pages/logs/log_entry_rate/service_calls/get_log_entry_anomalies.ts +++ b/x-pack/plugins/observability_solution/infra/public/pages/logs/log_entry_rate/service_calls/get_log_entry_anomalies.ts @@ -7,13 +7,13 @@ import type { HttpHandler } from '@kbn/core/public'; import { PersistedLogViewReference } from '@kbn/logs-shared-plugin/common'; +import { decodeOrThrow } from '@kbn/io-ts-utils'; import { IdFormatByJobType } from '../../../../../common/http_api/latest'; import { getLogEntryAnomaliesRequestPayloadRT, getLogEntryAnomaliesSuccessReponsePayloadRT, LOG_ANALYSIS_GET_LOG_ENTRY_ANOMALIES_PATH, } from '../../../../../common/http_api'; -import { decodeOrThrow } from '../../../../../common/runtime_types'; import { AnomaliesSort, Pagination } from '../../../../../common/log_analysis'; interface RequestArgs { diff --git a/x-pack/plugins/observability_solution/infra/public/pages/logs/log_entry_rate/service_calls/get_log_entry_anomalies_datasets.ts b/x-pack/plugins/observability_solution/infra/public/pages/logs/log_entry_rate/service_calls/get_log_entry_anomalies_datasets.ts index 38ed7144140a6..8bb1d1ab2fe30 100644 --- a/x-pack/plugins/observability_solution/infra/public/pages/logs/log_entry_rate/service_calls/get_log_entry_anomalies_datasets.ts +++ b/x-pack/plugins/observability_solution/infra/public/pages/logs/log_entry_rate/service_calls/get_log_entry_anomalies_datasets.ts @@ -7,8 +7,8 @@ import type { HttpHandler } from '@kbn/core/public'; import { PersistedLogViewReference } from '@kbn/logs-shared-plugin/common'; +import { decodeOrThrow } from '@kbn/io-ts-utils'; import { IdFormatByJobType } from '../../../../../common/http_api/latest'; -import { decodeOrThrow } from '../../../../../common/runtime_types'; import { getLogEntryAnomaliesDatasetsRequestPayloadRT, getLogEntryAnomaliesDatasetsSuccessReponsePayloadRT, diff --git a/x-pack/plugins/observability_solution/infra/public/pages/logs/log_entry_rate/service_calls/get_log_entry_examples.ts b/x-pack/plugins/observability_solution/infra/public/pages/logs/log_entry_rate/service_calls/get_log_entry_examples.ts index a4abfbd15ba5c..9733ab9c934be 100644 --- a/x-pack/plugins/observability_solution/infra/public/pages/logs/log_entry_rate/service_calls/get_log_entry_examples.ts +++ b/x-pack/plugins/observability_solution/infra/public/pages/logs/log_entry_rate/service_calls/get_log_entry_examples.ts @@ -7,6 +7,7 @@ import type { HttpHandler } from '@kbn/core/public'; import { PersistedLogViewReference } from '@kbn/logs-shared-plugin/common'; +import { decodeOrThrow } from '@kbn/io-ts-utils'; import { IdFormat } from '../../../../../common/http_api/latest'; import { @@ -14,7 +15,6 @@ import { getLogEntryExamplesSuccessResponsePayloadRT, LOG_ANALYSIS_GET_LOG_ENTRY_RATE_EXAMPLES_PATH, } from '../../../../../common/http_api'; -import { decodeOrThrow } from '../../../../../common/runtime_types'; interface RequestArgs { logViewReference: PersistedLogViewReference; diff --git a/x-pack/plugins/observability_solution/infra/public/pages/logs/log_entry_rate/use_log_entry_rate_results_url_state.tsx b/x-pack/plugins/observability_solution/infra/public/pages/logs/log_entry_rate/use_log_entry_rate_results_url_state.tsx index 869130b91fa65..1130c8dca9be2 100644 --- a/x-pack/plugins/observability_solution/infra/public/pages/logs/log_entry_rate/use_log_entry_rate_results_url_state.tsx +++ b/x-pack/plugins/observability_solution/infra/public/pages/logs/log_entry_rate/use_log_entry_rate_results_url_state.tsx @@ -11,13 +11,13 @@ import datemath from '@kbn/datemath'; import moment from 'moment'; import * as rt from 'io-ts'; import type { TimeRange as KibanaTimeRange } from '@kbn/es-query'; +import { decodeOrThrow } from '@kbn/io-ts-utils'; import { TimeRange } from '../../../../common/time/time_range'; import { useUrlState } from '../../../hooks/use_url_state'; import { useKibanaTimefilterTime, useSyncKibanaTimeFilterTime, } from '../../../hooks/use_kibana_timefilter_time'; -import { decodeOrThrow } from '../../../../common/runtime_types'; const autoRefreshRT = rt.type({ interval: rt.number, diff --git a/x-pack/plugins/observability_solution/infra/public/pages/logs/page_content.tsx b/x-pack/plugins/observability_solution/infra/public/pages/logs/page_content.tsx index d64b4866a4671..fb5eb5c36d0c3 100644 --- a/x-pack/plugins/observability_solution/infra/public/pages/logs/page_content.tsx +++ b/x-pack/plugins/observability_solution/infra/public/pages/logs/page_content.tsx @@ -19,7 +19,7 @@ import { import { LazyAlertDropdownWrapper } from '../../alerting/log_threshold'; import { HelpCenterContent } from '../../components/help_center_content'; import { useReadOnlyBadge } from '../../hooks/use_readonly_badge'; -import { HeaderActionMenuContext } from '../../utils/header_action_menu_provider'; +import { HeaderActionMenuContext } from '../../containers/header_action_menu_provider'; import { RedirectWithQueryParams } from '../../utils/redirect_with_query_params'; import { LogEntryCategoriesPage } from './log_entry_categories'; import { LogEntryRatePage } from './log_entry_rate'; diff --git a/x-pack/plugins/observability_solution/infra/public/pages/logs/page_providers.tsx b/x-pack/plugins/observability_solution/infra/public/pages/logs/page_providers.tsx index 4e5e9ffc74abd..db4f00a8ab2b2 100644 --- a/x-pack/plugins/observability_solution/infra/public/pages/logs/page_providers.tsx +++ b/x-pack/plugins/observability_solution/infra/public/pages/logs/page_providers.tsx @@ -14,7 +14,7 @@ import { } from '@kbn/logs-shared-plugin/public'; import { LogAnalysisCapabilitiesProvider } from '../../containers/logs/log_analysis'; import { useKibanaContextForPlugin } from '../../hooks/use_kibana'; -import { useKbnUrlStateStorageFromRouterContext } from '../../utils/kbn_url_state_context'; +import { useKbnUrlStateStorageFromRouterContext } from '../../containers/kbn_url_state_context'; export const LogsPageProviders: FC> = ({ children }) => { const { diff --git a/x-pack/plugins/observability_solution/infra/public/pages/logs/shared/call_get_log_analysis_id_formats.ts b/x-pack/plugins/observability_solution/infra/public/pages/logs/shared/call_get_log_analysis_id_formats.ts index 7099e9fe9a762..dd2e15d415b69 100644 --- a/x-pack/plugins/observability_solution/infra/public/pages/logs/shared/call_get_log_analysis_id_formats.ts +++ b/x-pack/plugins/observability_solution/infra/public/pages/logs/shared/call_get_log_analysis_id_formats.ts @@ -6,7 +6,7 @@ */ import { HttpHandler } from '@kbn/core/public'; -import { decodeOrThrow } from '../../../../common/runtime_types'; +import { decodeOrThrow } from '@kbn/io-ts-utils'; import { getLogAnalysisIdFormatsRequestPayloadRT, getLogAnalysisIdFormatsSuccessResponsePayloadRT, diff --git a/x-pack/plugins/observability_solution/infra/public/pages/logs/stream/page.tsx b/x-pack/plugins/observability_solution/infra/public/pages/logs/stream/page.tsx index 0abb8d2946b86..33ff9300c4d94 100644 --- a/x-pack/plugins/observability_solution/infra/public/pages/logs/stream/page.tsx +++ b/x-pack/plugins/observability_solution/infra/public/pages/logs/stream/page.tsx @@ -13,7 +13,7 @@ import { useKibanaContextForPlugin } from '../../../hooks/use_kibana'; import { useLogsBreadcrumbs } from '../../../hooks/use_logs_breadcrumbs'; import { LogStreamPageStateProvider } from '../../../observability_logs/log_stream_page/state'; import { streamTitle } from '../../../translations'; -import { useKbnUrlStateStorageFromRouterContext } from '../../../utils/kbn_url_state_context'; +import { useKbnUrlStateStorageFromRouterContext } from '../../../containers/kbn_url_state_context'; import { useKibanaQuerySettings } from '../../../hooks/use_kibana_query_settings'; import { ConnectedStreamPageContent } from './page_content'; diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/hosts/hooks/use_host_count.ts b/x-pack/plugins/observability_solution/infra/public/pages/metrics/hosts/hooks/use_host_count.ts index d3592cc050884..7edc11597752a 100644 --- a/x-pack/plugins/observability_solution/infra/public/pages/metrics/hosts/hooks/use_host_count.ts +++ b/x-pack/plugins/observability_solution/infra/public/pages/metrics/hosts/hooks/use_host_count.ts @@ -12,10 +12,10 @@ import { useCallback, useEffect, useMemo } from 'react'; import { catchError, map, Observable, of, startWith, tap } from 'rxjs'; import createContainer from 'constate'; import type { QueryDslQueryContainer, SearchResponse } from '@elastic/elasticsearch/lib/api/types'; +import { decodeOrThrow } from '@kbn/io-ts-utils'; import { HOST_NAME_FIELD, TIMESTAMP_FIELD } from '../../../../../common/constants'; import type { ITelemetryClient } from '../../../../services/telemetry'; import { useKibanaContextForPlugin } from '../../../../hooks/use_kibana'; -import { decodeOrThrow } from '../../../../../common/runtime_types'; import { useDataSearch, useLatestPartialDataSearchResponse } from '../../../../utils/data_search'; import { useMetricsDataViewContext } from '../../../../containers/metrics_source'; import { useUnifiedSearchContext } from './use_unified_search'; diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/index.tsx b/x-pack/plugins/observability_solution/infra/public/pages/metrics/index.tsx index 92c5f00e4fa73..4f02f31223e2c 100644 --- a/x-pack/plugins/observability_solution/infra/public/pages/metrics/index.tsx +++ b/x-pack/plugins/observability_solution/infra/public/pages/metrics/index.tsx @@ -35,7 +35,7 @@ import { MetricsAlertDropdown } from '../../alerting/common/components/metrics_a import { AlertPrefillProvider } from '../../alerting/use_alert_prefill'; import { InfraMLCapabilitiesProvider } from '../../containers/ml/infra_ml_capabilities'; import { AnomalyDetectionFlyout } from '../../components/ml/anomaly_detection/anomaly_detection_flyout'; -import { HeaderActionMenuContext } from '../../utils/header_action_menu_provider'; +import { HeaderActionMenuContext } from '../../containers/header_action_menu_provider'; import { NotFoundPage } from '../404'; import { ReactQueryProvider } from '../../containers/react_query_provider'; import { usePluginConfig } from '../../containers/plugin_config_context'; diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/bottom_drawer.tsx b/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/bottom_drawer.tsx index 882b5b5d84c42..348c0f8e53310 100644 --- a/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/bottom_drawer.tsx +++ b/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/bottom_drawer.tsx @@ -14,7 +14,7 @@ import useLocalStorage from 'react-use/lib/useLocalStorage'; import { InventoryItemType } from '@kbn/metrics-data-access-plugin/common'; import { TryItButton } from '../../../../components/try_it_button'; import { useWaffleOptionsContext } from '../hooks/use_waffle_options'; -import { InfraFormatter } from '../../../../lib/lib'; +import { InfraFormatter } from '../../../../common/inventory/types'; import { Timeline } from './timeline/timeline'; const showHistory = i18n.translate('xpack.infra.showHistory', { diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/layout.tsx b/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/layout.tsx index 5df9f317fdf39..90453bd2f0769 100644 --- a/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/layout.tsx +++ b/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/layout.tsx @@ -25,7 +25,7 @@ import { useWaffleOptionsContext, WaffleLegendOptions, } from '../hooks/use_waffle_options'; -import { InfraFormatterType, InfraWaffleMapBounds } from '../../../../lib/lib'; +import { InfraFormatterType, InfraWaffleMapBounds } from '../../../../common/inventory/types'; import { Toolbar } from './toolbars/toolbar'; import { ViewSwitcher } from './waffle/view_switcher'; import { createInventoryMetricFormatter } from '../lib/create_inventory_metric_formatter'; diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/nodes_overview.tsx b/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/nodes_overview.tsx index 62e2d1de5c935..d42670f190fde 100644 --- a/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/nodes_overview.tsx +++ b/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/nodes_overview.tsx @@ -11,7 +11,11 @@ import React, { useCallback, useMemo } from 'react'; import { useCurrentEuiBreakpoint } from '@elastic/eui'; import { euiStyled } from '@kbn/kibana-react-plugin/common'; import { InventoryItemType } from '@kbn/metrics-data-access-plugin/common'; -import { InfraWaffleMapBounds, InfraWaffleMapOptions, InfraFormatter } from '../../../../lib/lib'; +import { + InfraWaffleMapBounds, + InfraWaffleMapOptions, + InfraFormatter, +} from '../../../../common/inventory/types'; import { NoData } from '../../../../components/empty_states'; import { InfraLoadingPanel } from '../../../../components/loading'; import { Map } from './waffle/map'; diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/table_view.tsx b/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/table_view.tsx index f90176edddaf9..fc62267af8414 100644 --- a/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/table_view.tsx +++ b/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/table_view.tsx @@ -13,7 +13,7 @@ import React, { useState, useMemo } from 'react'; import { EuiPopover } from '@elastic/eui'; import { InventoryItemType } from '@kbn/metrics-data-access-plugin/common'; import { createWaffleMapNode } from '../lib/nodes_to_wafflemap'; -import { InfraWaffleMapNode, InfraWaffleMapOptions } from '../../../../lib/lib'; +import { InfraWaffleMapNode, InfraWaffleMapOptions } from '../../../../common/inventory/types'; import { fieldToName } from '../lib/field_to_display_name'; import { NodeContextMenu } from './waffle/node_context_menu'; import { SnapshotNode, SnapshotNodePath } from '../../../../../common/http_api/snapshot_api'; diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/timeline/timeline.tsx b/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/timeline/timeline.tsx index 4d82bd5dce384..ef815aa9f764e 100644 --- a/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/timeline/timeline.tsx +++ b/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/timeline/timeline.tsx @@ -40,7 +40,7 @@ import { useWaffleFiltersContext } from '../../hooks/use_waffle_filters'; import { MetricExplorerSeriesChart } from '../../../metrics_explorer/components/series_chart'; import { MetricsExplorerChartType } from '../../../metrics_explorer/hooks/use_metrics_explorer_options'; import { calculateDomain } from '../../../metrics_explorer/components/helpers/calculate_domain'; -import { InfraFormatter } from '../../../../../lib/lib'; +import { InfraFormatter } from '../../../../../common/inventory/types'; import { useMetricsHostsAnomaliesResults } from '../../hooks/use_metrics_hosts_anomalies'; import { useMetricsK8sAnomaliesResults } from '../../hooks/use_metrics_k8s_anomalies'; diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/toolbars/types.ts b/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/toolbars/types.ts index 7989049d2c5a8..19e032366885f 100644 --- a/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/toolbars/types.ts +++ b/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/toolbars/types.ts @@ -10,7 +10,7 @@ import { SnapshotGroupBy, SnapshotMetricInput, } from '../../../../../../common/http_api/snapshot_api'; -import { InfraGroupByOptions } from '../../../../../lib/lib'; +import { InfraGroupByOptions } from '../../../../../common/inventory/types'; import { WaffleOptionsState, WaffleSortOption } from '../../hooks/use_waffle_options'; export interface ToolbarProps extends Omit { diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/asset_details_flyout.tsx b/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/asset_details_flyout.tsx index 909ecdc8910b4..28c76d29e7ec4 100644 --- a/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/asset_details_flyout.tsx +++ b/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/asset_details_flyout.tsx @@ -7,7 +7,7 @@ import React, { useMemo } from 'react'; import type { InventoryItemType } from '@kbn/metrics-data-access-plugin/common'; -import type { InfraWaffleMapOptions } from '../../../../../lib/lib'; +import type { InfraWaffleMapOptions } from '../../../../../common/inventory/types'; import { AssetDetails } from '../../../../../components/asset_details'; import { getAssetDetailsFlyoutTabs } from '../../../../../common/asset_details_config/asset_details_tabs'; diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/conditional_tooltip.test.tsx b/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/conditional_tooltip.test.tsx index 67654803ef844..0159766d446e5 100644 --- a/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/conditional_tooltip.test.tsx +++ b/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/conditional_tooltip.test.tsx @@ -9,7 +9,7 @@ import React from 'react'; import { mount } from 'enzyme'; import { ConditionalToolTip } from './conditional_tooltip'; import { SnapshotNodeResponse } from '../../../../../../common/http_api'; -import { InfraWaffleMapNode } from '../../../../../lib/lib'; +import { InfraWaffleMapNode } from '../../../../../common/inventory/types'; jest.mock('../../../../../containers/metrics_source', () => ({ useSourceContext: () => ({ sourceId: 'default' }), diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/conditional_tooltip.tsx b/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/conditional_tooltip.tsx index 4b3b8bfb05dc0..fb3ce21ebc5c1 100644 --- a/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/conditional_tooltip.tsx +++ b/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/conditional_tooltip.tsx @@ -17,7 +17,7 @@ import { import { getCustomMetricLabel } from '../../../../../../common/formatters/get_custom_metric_label'; import { SnapshotCustomMetricInput } from '../../../../../../common/http_api'; import { useSourceContext } from '../../../../../containers/metrics_source'; -import { InfraWaffleMapNode } from '../../../../../lib/lib'; +import { InfraWaffleMapNode } from '../../../../../common/inventory/types'; import { useSnapshot } from '../../hooks/use_snaphot'; import { createInventoryMetricFormatter } from '../../lib/create_inventory_metric_formatter'; import { SNAPSHOT_METRIC_TRANSLATIONS } from '../../../../../../common/inventory_models/intl_strings'; diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/custom_field_panel.tsx b/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/custom_field_panel.tsx index cb4d1d57436be..30950c0439229 100644 --- a/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/custom_field_panel.tsx +++ b/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/custom_field_panel.tsx @@ -9,7 +9,7 @@ import { EuiButton, EuiComboBox, EuiForm, EuiFormRow } from '@elastic/eui'; import { i18n } from '@kbn/i18n'; import React from 'react'; import { useMetricsDataViewContext } from '../../../../../containers/metrics_source'; -import { InfraGroupByOptions } from '../../../../../lib/lib'; +import { InfraGroupByOptions } from '../../../../../common/inventory/types'; interface Props { onSubmit: (field: string) => void; currentOptions: InfraGroupByOptions[]; diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/gradient_legend.tsx b/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/gradient_legend.tsx index 99d5cadde8a8e..0d74700ea49fd 100644 --- a/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/gradient_legend.tsx +++ b/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/gradient_legend.tsx @@ -13,7 +13,7 @@ import { InfraWaffleMapBounds, InfraWaffleMapGradientLegend, InfraWaffleMapGradientRule, -} from '../../../../../lib/lib'; +} from '../../../../../common/inventory/types'; interface Props { legend: InfraWaffleMapGradientLegend; diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/group_name.tsx b/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/group_name.tsx index 6de97efef44ad..6b0d9ba878a54 100644 --- a/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/group_name.tsx +++ b/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/group_name.tsx @@ -9,7 +9,7 @@ import { EuiLink, EuiToolTip } from '@elastic/eui'; import React from 'react'; import { euiStyled } from '@kbn/kibana-react-plugin/common'; -import { InfraWaffleMapGroup, InfraWaffleMapOptions } from '../../../../../lib/lib'; +import { InfraWaffleMapGroup, InfraWaffleMapOptions } from '../../../../../common/inventory/types'; interface Props { onDrilldown: (filter: string) => void; diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/group_of_groups.tsx b/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/group_of_groups.tsx index 6ae50b1d356c3..8ffe5f0929ffe 100644 --- a/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/group_of_groups.tsx +++ b/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/group_of_groups.tsx @@ -13,7 +13,7 @@ import { InfraWaffleMapBounds, InfraWaffleMapGroupOfGroups, InfraWaffleMapOptions, -} from '../../../../../lib/lib'; +} from '../../../../../common/inventory/types'; import { GroupName } from './group_name'; import { GroupOfNodes } from './group_of_nodes'; diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/group_of_nodes.tsx b/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/group_of_nodes.tsx index 736a05c26908d..ac5e7c1c09194 100644 --- a/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/group_of_nodes.tsx +++ b/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/group_of_nodes.tsx @@ -14,7 +14,7 @@ import { InfraWaffleMapBounds, InfraWaffleMapGroupOfNodes, InfraWaffleMapOptions, -} from '../../../../../lib/lib'; +} from '../../../../../common/inventory/types'; import { GroupName } from './group_name'; import { Node } from './node'; import { useAssetDetailsFlyoutState } from '../../hooks/use_asset_details_flyout_url_state'; diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/legend.tsx b/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/legend.tsx index 0679926470ff2..f566f50b09293 100644 --- a/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/legend.tsx +++ b/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/legend.tsx @@ -15,7 +15,7 @@ import { SteppedGradientLegendRT, StepLegendRT, GradientLegendRT, -} from '../../../../../lib/lib'; +} from '../../../../../common/inventory/types'; import { GradientLegend } from './gradient_legend'; import { StepLegend } from './steps_legend'; import { SteppedGradientLegend } from './stepped_gradient_legend'; diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/legend_controls.tsx b/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/legend_controls.tsx index 5cbe8df65f438..92c57e9459916 100644 --- a/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/legend_controls.tsx +++ b/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/legend_controls.tsx @@ -32,7 +32,7 @@ import { type InfraWaffleMapBounds, type InventoryColorPalette, PALETTES, -} from '../../../../../lib/lib'; +} from '../../../../../common/inventory/types'; import { getColorPalette } from '../../lib/get_color_palette'; import { convertBoundsToPercents } from '../../lib/convert_bounds_to_percents'; import { SwatchLabel } from './swatch_label'; @@ -180,7 +180,7 @@ export const LegendControls = ({ ); const errors = !boundsValidRange ? [ - i18n.translate('xpack.infra.legnedControls.boundRangeError', { + i18n.translate('xpack.infra.legendControls.boundRangeError', { defaultMessage: 'Minimum must be smaller than the maximum', }), ] @@ -194,9 +194,12 @@ export const LegendControls = ({ button={buttonComponent} anchorPosition="leftCenter" data-test-subj="legendControls" - // panelStyle={{ width: '100%', maxWidth: 375 }} > - Legend Options + + {i18n.translate('xpack.infra.legendControls.legendOptionsPopoverTitleLabel', { + defaultMessage: 'Legend Options', + })} + =', diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/waffle_group_by_controls.tsx b/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/waffle_group_by_controls.tsx index 1eef50b6179ba..47e5f58a258df 100644 --- a/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/waffle_group_by_controls.tsx +++ b/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/components/waffle/waffle_group_by_controls.tsx @@ -18,7 +18,7 @@ import React from 'react'; import { InventoryItemType } from '@kbn/metrics-data-access-plugin/common'; import { css } from '@emotion/react'; import { useBoolean } from '../../../../../hooks/use_boolean'; -import { InfraGroupByOptions } from '../../../../../lib/lib'; +import { InfraGroupByOptions } from '../../../../../common/inventory/types'; import { CustomFieldPanel } from './custom_field_panel'; import { SnapshotGroupBy } from '../../../../../../common/http_api/snapshot_api'; import { DropdownButton } from '../dropdown_button'; diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/hooks/use_inventory_meta.ts b/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/hooks/use_inventory_meta.ts index 94a0ce54d301d..2f0ceaea4b559 100644 --- a/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/hooks/use_inventory_meta.ts +++ b/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/hooks/use_inventory_meta.ts @@ -10,7 +10,7 @@ import { identity } from 'fp-ts/lib/function'; import { pipe } from 'fp-ts/lib/pipeable'; import { useEffect } from 'react'; import { InventoryItemType } from '@kbn/metrics-data-access-plugin/common'; -import { throwErrors, createPlainError } from '../../../../../common/runtime_types'; +import { throwErrors, createPlainError } from '@kbn/io-ts-utils'; import { useHTTPRequest } from '../../../../hooks/use_http_request'; import { InventoryMetaResponseRT, diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/hooks/use_metrics_hosts_anomalies.ts b/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/hooks/use_metrics_hosts_anomalies.ts index e159240e9e37a..b545c7375fc4f 100644 --- a/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/hooks/use_metrics_hosts_anomalies.ts +++ b/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/hooks/use_metrics_hosts_anomalies.ts @@ -7,6 +7,7 @@ import { useState, useCallback, useEffect, useReducer, useRef } from 'react'; import { HttpHandler } from '@kbn/core/public'; +import { decodeOrThrow } from '@kbn/io-ts-utils'; import { INFA_ML_GET_METRICS_HOSTS_ANOMALIES_PATH, Metric, @@ -18,7 +19,6 @@ import { getMetricsHostsAnomaliesSuccessReponsePayloadRT, } from '../../../../../common/http_api/infra_ml'; import { useTrackedPromise } from '../../../../hooks/use_tracked_promise'; -import { decodeOrThrow } from '../../../../../common/runtime_types'; import { useKibanaContextForPlugin } from '../../../../hooks/use_kibana'; export type SortOptions = Sort; diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/hooks/use_metrics_k8s_anomalies.ts b/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/hooks/use_metrics_k8s_anomalies.ts index 6c3e8ee4035d7..d4a0ed4221fbd 100644 --- a/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/hooks/use_metrics_k8s_anomalies.ts +++ b/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/hooks/use_metrics_k8s_anomalies.ts @@ -7,6 +7,7 @@ import { useState, useCallback, useEffect, useReducer, useRef } from 'react'; import { HttpHandler } from '@kbn/core/public'; +import { decodeOrThrow } from '@kbn/io-ts-utils'; import { Sort, Pagination, @@ -18,7 +19,6 @@ import { Metric, } from '../../../../../common/http_api/infra_ml'; import { useTrackedPromise } from '../../../../hooks/use_tracked_promise'; -import { decodeOrThrow } from '../../../../../common/runtime_types'; import { useKibanaContextForPlugin } from '../../../../hooks/use_kibana'; export type SortOptions = Sort; diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/hooks/use_snaphot.ts b/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/hooks/use_snaphot.ts index 042a176f453c1..e6600a46610c4 100644 --- a/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/hooks/use_snaphot.ts +++ b/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/hooks/use_snaphot.ts @@ -9,7 +9,7 @@ import { fold } from 'fp-ts/lib/Either'; import { identity } from 'fp-ts/lib/function'; import { pipe } from 'fp-ts/lib/pipeable'; import { useEffect } from 'react'; -import { throwErrors, createPlainError } from '../../../../../common/runtime_types'; +import { throwErrors, createPlainError } from '@kbn/io-ts-utils'; import { useHTTPRequest } from '../../../../hooks/use_http_request'; import { InfraTimerangeInput, diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/lib/apply_wafflemap_layout.ts b/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/lib/apply_wafflemap_layout.ts index c09022efbff0e..bd3978687ca28 100644 --- a/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/lib/apply_wafflemap_layout.ts +++ b/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/lib/apply_wafflemap_layout.ts @@ -7,7 +7,7 @@ import { first, sortBy } from 'lodash'; import { isWaffleMapGroupWithGroups, isWaffleMapGroupWithNodes } from './type_guards'; -import { InfraWaffleMapGroup } from '../../../../lib/lib'; +import { InfraWaffleMapGroup } from '../../../../common/inventory/types'; import { sizeOfSquares } from './size_of_squares'; export function getColumns(n: number, w = 1, h = 1) { diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/lib/calculate_bounds_from_nodes.ts b/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/lib/calculate_bounds_from_nodes.ts index 3e719a9c8d359..8b6f3e734cb41 100644 --- a/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/lib/calculate_bounds_from_nodes.ts +++ b/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/lib/calculate_bounds_from_nodes.ts @@ -7,7 +7,7 @@ import { first, min, max, isFinite } from 'lodash'; import { SnapshotNode } from '../../../../../common/http_api/snapshot_api'; -import { InfraWaffleMapBounds } from '../../../../lib/lib'; +import { InfraWaffleMapBounds } from '../../../../common/inventory/types'; export const calculateBoundsFromNodes = (nodes: SnapshotNode[]): InfraWaffleMapBounds => { const values = nodes.map((node) => { diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/lib/color_from_value.ts b/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/lib/color_from_value.ts index 9b4899c9d7a20..e9be23a064320 100644 --- a/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/lib/color_from_value.ts +++ b/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/lib/color_from_value.ts @@ -16,7 +16,7 @@ import { StepLegendRT, InfraWaffleMapStepRule, InfraWaffleMapGradientRule, -} from '../../../../lib/lib'; +} from '../../../../common/inventory/types'; const OPERATOR_TO_FN = { [InfraWaffleMapRuleOperator.eq]: isEqual, diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/lib/convert_bounds_to_percents.ts b/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/lib/convert_bounds_to_percents.ts index 74813f5a96214..660719d2f6e0b 100644 --- a/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/lib/convert_bounds_to_percents.ts +++ b/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/lib/convert_bounds_to_percents.ts @@ -5,7 +5,7 @@ * 2.0. */ -import { InfraWaffleMapBounds } from '../../../../lib/lib'; +import { InfraWaffleMapBounds } from '../../../../common/inventory/types'; export const convertBoundsToPercents = (bounds: InfraWaffleMapBounds) => ({ min: bounds.min * 100, max: (bounds.max || 1) * 100, diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/lib/create_inventory_metric_formatter.ts b/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/lib/create_inventory_metric_formatter.ts index f056337265ece..934d17a570080 100644 --- a/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/lib/create_inventory_metric_formatter.ts +++ b/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/lib/create_inventory_metric_formatter.ts @@ -7,7 +7,7 @@ import { get, isNumber } from 'lodash'; import { SnapshotMetricType } from '@kbn/metrics-data-access-plugin/common'; -import { InfraFormatterType } from '../../../../lib/lib'; +import { InfraFormatterType } from '../../../../common/inventory/types'; import { SnapshotMetricInput, SnapshotCustomMetricInputRT, diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/lib/create_legend.ts b/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/lib/create_legend.ts index cd37b0d8aab25..bf30ec9b94774 100644 --- a/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/lib/create_legend.ts +++ b/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/lib/create_legend.ts @@ -8,7 +8,7 @@ import type { InventoryColorPalette, InfraWaffleMapSteppedGradientLegend, -} from '../../../../lib/lib'; +} from '../../../../common/inventory/types'; import { getColorPalette } from './get_color_palette'; export const createLegend = ( diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/lib/get_color_palette.ts b/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/lib/get_color_palette.ts index 2795e81c4d522..402ad907ee057 100644 --- a/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/lib/get_color_palette.ts +++ b/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/lib/get_color_palette.ts @@ -13,7 +13,7 @@ import { euiPaletteGreen, euiPaletteWarm, } from '@elastic/eui'; -import { InventoryColorPalette } from '../../../../lib/lib'; +import { InventoryColorPalette } from '../../../../common/inventory/types'; const createColorPalette = (name: InventoryColorPalette = 'cool', steps: number = 10) => { switch (name) { diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/lib/navigate_to_uptime.ts b/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/lib/navigate_to_uptime.ts index 75a824b2bf571..8fe9c06ce3a15 100644 --- a/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/lib/navigate_to_uptime.ts +++ b/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/lib/navigate_to_uptime.ts @@ -8,7 +8,7 @@ import { LocatorPublic } from '@kbn/share-plugin/common/url_service/locators'; import { InventoryItemType } from '@kbn/metrics-data-access-plugin/common'; import { SerializableRecord } from '@kbn/utility-types'; -import { InfraWaffleMapNode } from '../../../../lib/lib'; +import { InfraWaffleMapNode } from '../../../../common/inventory/types'; export const navigateToUptime = ({ uptimeLocator, diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/lib/nodes_to_wafflemap.ts b/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/lib/nodes_to_wafflemap.ts index 92f44b2a5934a..2f01025c2198e 100644 --- a/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/lib/nodes_to_wafflemap.ts +++ b/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/lib/nodes_to_wafflemap.ts @@ -12,7 +12,7 @@ import { InfraWaffleMapGroupOfGroups, InfraWaffleMapGroupOfNodes, InfraWaffleMapNode, -} from '../../../../lib/lib'; +} from '../../../../common/inventory/types'; import { isWaffleMapGroupWithGroups, isWaffleMapGroupWithNodes } from './type_guards'; import { SnapshotNodePath, SnapshotNode } from '../../../../../common/http_api/snapshot_api'; diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/lib/type_guards.ts b/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/lib/type_guards.ts index 7221e325e7e3b..4e94d56ed4d60 100644 --- a/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/lib/type_guards.ts +++ b/x-pack/plugins/observability_solution/infra/public/pages/metrics/inventory_view/lib/type_guards.ts @@ -10,7 +10,7 @@ import { InfraWaffleMapGroupOfNodes, InfraWaffleMapGradientLegend, InfraWaffleMapStepLegend, -} from '../../../../lib/lib'; +} from '../../../../common/inventory/types'; export function isInfraWaffleMapStepLegend(subject: any): subject is InfraWaffleMapStepLegend { return subject.type && subject.type === 'step'; diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/metric_detail/hooks/use_node_details.ts b/x-pack/plugins/observability_solution/infra/public/pages/metrics/metric_detail/hooks/use_node_details.ts index b5e8cc5367c1f..c93798f545d8d 100644 --- a/x-pack/plugins/observability_solution/infra/public/pages/metrics/metric_detail/hooks/use_node_details.ts +++ b/x-pack/plugins/observability_solution/infra/public/pages/metrics/metric_detail/hooks/use_node_details.ts @@ -9,7 +9,7 @@ import { fold } from 'fp-ts/lib/Either'; import { identity } from 'fp-ts/lib/function'; import { pipe } from 'fp-ts/lib/pipeable'; import { InventoryMetric, InventoryItemType } from '@kbn/metrics-data-access-plugin/common'; -import { throwErrors, createPlainError } from '../../../../../common/runtime_types'; +import { throwErrors, createPlainError } from '@kbn/io-ts-utils'; import { useHTTPRequest } from '../../../../hooks/use_http_request'; import { NodeDetailsMetricDataResponseRT, diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/metrics_explorer/components/chart_context_menu.tsx b/x-pack/plugins/observability_solution/infra/public/pages/metrics/metrics_explorer/components/chart_context_menu.tsx index 2821428d9fa4b..0639d026c2e15 100644 --- a/x-pack/plugins/observability_solution/infra/public/pages/metrics/metrics_explorer/components/chart_context_menu.tsx +++ b/x-pack/plugins/observability_solution/infra/public/pages/metrics/metrics_explorer/components/chart_context_menu.tsx @@ -28,7 +28,11 @@ import { } from '../hooks/use_metrics_explorer_options'; import { createTSVBLink, TSVB_WORKAROUND_INDEX_PATTERN } from './helpers/create_tsvb_link'; import { useNodeDetailsRedirect } from '../../../link_to'; -import { HOST_FIELD, POD_FIELD, CONTAINER_FIELD } from '../../../../../common/constants'; +import { + HOST_NAME_FIELD, + KUBERNETES_POD_UID_FIELD, + CONTAINER_ID_FIELD, +} from '../../../../../common/constants'; export interface Props { options: MetricsExplorerOptions; @@ -41,13 +45,13 @@ export interface Props { const fieldToNodeType = (groupBy: string | string[]): InventoryItemType | undefined => { const fields = Array.isArray(groupBy) ? groupBy : [groupBy]; - if (fields.includes(HOST_FIELD)) { + if (fields.includes(HOST_NAME_FIELD)) { return 'host'; } - if (fields.includes(POD_FIELD)) { + if (fields.includes(KUBERNETES_POD_UID_FIELD)) { return 'pod'; } - if (fields.includes(CONTAINER_FIELD)) { + if (fields.includes(CONTAINER_ID_FIELD)) { return 'container'; } }; diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/metrics_explorer/components/helpers/create_formatter_for_metric.ts b/x-pack/plugins/observability_solution/infra/public/pages/metrics/metrics_explorer/components/helpers/create_formatter_for_metric.ts index b6f77bfc260a4..22ae6b651eb45 100644 --- a/x-pack/plugins/observability_solution/infra/public/pages/metrics/metrics_explorer/components/helpers/create_formatter_for_metric.ts +++ b/x-pack/plugins/observability_solution/infra/public/pages/metrics/metrics_explorer/components/helpers/create_formatter_for_metric.ts @@ -8,7 +8,7 @@ import numeral from '@elastic/numeral'; import { MetricsExplorerMetric } from '../../../../../../common/http_api/metrics_explorer'; import { createFormatter } from '../../../../../../common/formatters'; -import { InfraFormatterType } from '../../../../../lib/lib'; +import { InfraFormatterType } from '../../../../../common/inventory/types'; import { metricToFormat } from './metric_to_format'; export const createFormatterForMetric = (metric?: MetricsExplorerMetric) => { if (metric?.aggregation === 'custom') { diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/metrics_explorer/components/helpers/create_tsvb_link.ts b/x-pack/plugins/observability_solution/infra/public/pages/metrics/metrics_explorer/components/helpers/create_tsvb_link.ts index 3fe9dfc8c5ba6..ee64069cea737 100644 --- a/x-pack/plugins/observability_solution/infra/public/pages/metrics/metrics_explorer/components/helpers/create_tsvb_link.ts +++ b/x-pack/plugins/observability_solution/infra/public/pages/metrics/metrics_explorer/components/helpers/create_tsvb_link.ts @@ -21,7 +21,7 @@ import { MetricsExplorerChartType, } from '../../hooks/use_metrics_explorer_options'; import { metricToFormat } from './metric_to_format'; -import { InfraFormatterType } from '../../../../../lib/lib'; +import { InfraFormatterType } from '../../../../../common/inventory/types'; import { createMetricLabel } from './create_metric_label'; /* diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/metrics_explorer/components/helpers/metric_to_format.test.ts b/x-pack/plugins/observability_solution/infra/public/pages/metrics/metrics_explorer/components/helpers/metric_to_format.test.ts index be6a8d240e11e..7f8f9b9dc18cb 100644 --- a/x-pack/plugins/observability_solution/infra/public/pages/metrics/metrics_explorer/components/helpers/metric_to_format.test.ts +++ b/x-pack/plugins/observability_solution/infra/public/pages/metrics/metrics_explorer/components/helpers/metric_to_format.test.ts @@ -7,7 +7,7 @@ import { metricToFormat } from './metric_to_format'; import { MetricsExplorerMetric } from '../../../../../../common/http_api/metrics_explorer'; -import { InfraFormatterType } from '../../../../../lib/lib'; +import { InfraFormatterType } from '../../../../../common/inventory/types'; describe('metricToFormat()', () => { it('should just work for numeric metrics', () => { const metric: MetricsExplorerMetric = { aggregation: 'avg', field: 'system.load.1' }; diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/metrics_explorer/components/helpers/metric_to_format.ts b/x-pack/plugins/observability_solution/infra/public/pages/metrics/metrics_explorer/components/helpers/metric_to_format.ts index cdd4aec358aa2..cbb25fb96871d 100644 --- a/x-pack/plugins/observability_solution/infra/public/pages/metrics/metrics_explorer/components/helpers/metric_to_format.ts +++ b/x-pack/plugins/observability_solution/infra/public/pages/metrics/metrics_explorer/components/helpers/metric_to_format.ts @@ -7,7 +7,7 @@ import { last } from 'lodash'; import { MetricsExplorerMetric } from '../../../../../../common/http_api/metrics_explorer'; -import { InfraFormatterType } from '../../../../../lib/lib'; +import { InfraFormatterType } from '../../../../../common/inventory/types'; export const metricToFormat = (metric?: MetricsExplorerMetric) => { if (metric && metric.field) { const suffix = last(metric.field.split(/\./)); diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/metrics_explorer/components/metrics.tsx b/x-pack/plugins/observability_solution/infra/public/pages/metrics/metrics_explorer/components/metrics.tsx index e6c8aa957c26c..4e2764d9222e0 100644 --- a/x-pack/plugins/observability_solution/infra/public/pages/metrics/metrics_explorer/components/metrics.tsx +++ b/x-pack/plugins/observability_solution/infra/public/pages/metrics/metrics_explorer/components/metrics.tsx @@ -5,9 +5,17 @@ * 2.0. */ -import { EuiComboBox } from '@elastic/eui'; +import { + EuiComboBox, + EuiFlexGroup, + EuiFlexItem, + EuiText, + EuiIcon, + EuiComboBoxOptionOption, +} from '@elastic/eui'; import { i18n } from '@kbn/i18n'; -import React, { useCallback, useState } from 'react'; +import React, { useCallback, useState, useMemo } from 'react'; +import { METRICS_EXPLORER_API_MAX_METRICS } from '@kbn/metrics-data-access-plugin/common'; import { useMetricsDataViewContext } from '../../../../containers/metrics_source'; import { colorTransformer, Color } from '../../../../../common/color_palette'; import { MetricsExplorerMetric } from '../../../../../common/http_api/metrics_explorer'; @@ -24,11 +32,22 @@ interface SelectedOption { label: string; } +const placeholderText = i18n.translate('xpack.infra.metricsExplorer.metricComboBoxPlaceholder', { + defaultMessage: 'choose a metric to plot', +}); + +const comboValidationText = i18n.translate('xpack.infra.metricsExplorer.maxItemsSelected', { + defaultMessage: 'Maximum number of {maxMetrics} metrics reached.', + values: { maxMetrics: METRICS_EXPLORER_API_MAX_METRICS }, +}); + export const MetricsExplorerMetrics = ({ options, onChange, autoFocus = false }: Props) => { const { metricsView } = useMetricsDataViewContext(); const colors = Object.keys(Color) as Array; const [shouldFocus, setShouldFocus] = useState(autoFocus); + const maxMetricsReached = options.metrics.length >= METRICS_EXPLORER_API_MAX_METRICS; + // the EuiCombobox forwards the ref to an input element const autoFocusInputElement = useCallback( (inputElement: HTMLInputElement | null) => { @@ -53,10 +72,17 @@ export const MetricsExplorerMetrics = ({ options, onChange, autoFocus = false }: [onChange, options.aggregation, colors] ); - const comboOptions = (metricsView?.fields ?? []).map((field) => ({ - label: field.name, - value: field.name, - })); + const comboOptions = useMemo( + (): EuiComboBoxOptionOption[] => + maxMetricsReached + ? [{ label: comboValidationText, disabled: true }] + : (metricsView?.fields ?? []).map((field) => ({ + label: field.name, + value: field.name, + })), + [maxMetricsReached, metricsView?.fields] + ); + const selectedOptions = options.metrics .filter((m) => m.aggregation !== 'count') .map((metric) => ({ @@ -65,9 +91,37 @@ export const MetricsExplorerMetrics = ({ options, onChange, autoFocus = false }: color: colorTransformer(metric.color || Color.color0), })); - const placeholderText = i18n.translate('xpack.infra.metricsExplorer.metricComboBoxPlaceholder', { - defaultMessage: 'choose a metric to plot', - }); + const handleOnKeyDown = (ev: React.KeyboardEvent) => { + if (maxMetricsReached) { + ev.preventDefault(); + } + + return ev; + }; + + const renderFields = useCallback((option: EuiComboBoxOptionOption) => { + const { label, disabled } = option; + + if (disabled) { + return ( + + + + + {label} + + + + ); + } + + return label; + }, []); return ( ); }; diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/metrics_explorer/hooks/use_metrics_explorer_data.ts b/x-pack/plugins/observability_solution/infra/public/pages/metrics/metrics_explorer/hooks/use_metrics_explorer_data.ts index 39c219101aeb2..b3ec0dd1f0b1d 100644 --- a/x-pack/plugins/observability_solution/infra/public/pages/metrics/metrics_explorer/hooks/use_metrics_explorer_data.ts +++ b/x-pack/plugins/observability_solution/infra/public/pages/metrics/metrics_explorer/hooks/use_metrics_explorer_data.ts @@ -7,6 +7,8 @@ import { useInfiniteQuery } from '@tanstack/react-query'; import { useKibana } from '@kbn/kibana-react-plugin/public'; +import { decodeOrThrow } from '@kbn/io-ts-utils'; +import { InfraHttpError } from '../../../../types'; import { useMetricsDataViewContext } from '../../../../containers/metrics_source'; import { MetricsExplorerResponse, @@ -14,7 +16,6 @@ import { } from '../../../../../common/http_api/metrics_explorer'; import { convertKueryToElasticSearchQuery } from '../../../../utils/kuery'; import { MetricsExplorerOptions, MetricsExplorerTimestamp } from './use_metrics_explorer_options'; -import { decodeOrThrow } from '../../../../../common/runtime_types'; export function useMetricsExplorerData({ options, @@ -30,7 +31,7 @@ export function useMetricsExplorerData({ const { isLoading, data, error, refetch, fetchNextPage } = useInfiniteQuery< MetricsExplorerResponse, - Error + InfraHttpError >({ queryKey: ['metricExplorer', options, fromTimestamp, toTimestamp], queryFn: async ({ signal, pageParam = { afterKey: null } }) => { @@ -77,11 +78,12 @@ export function useMetricsExplorerData({ getNextPageParam: (lastPage) => lastPage.pageInfo, enabled: enabled && !!fromTimestamp && !!toTimestamp && !!http && !!metricsView, refetchOnWindowFocus: false, + retry: false, }); return { data, - error, + error: error?.body || error, fetchNextPage, isLoading, refetch, diff --git a/x-pack/plugins/observability_solution/infra/public/services/inventory_views/inventory_views_client.ts b/x-pack/plugins/observability_solution/infra/public/services/inventory_views/inventory_views_client.ts index 5cfda02fa4c17..89a54e2705847 100644 --- a/x-pack/plugins/observability_solution/infra/public/services/inventory_views/inventory_views_client.ts +++ b/x-pack/plugins/observability_solution/infra/public/services/inventory_views/inventory_views_client.ts @@ -6,6 +6,7 @@ */ import { HttpStart } from '@kbn/core/public'; +import { decodeOrThrow } from '@kbn/io-ts-utils'; import { CreateInventoryViewAttributesRequestPayload, createInventoryViewRequestPayloadRT, @@ -23,7 +24,6 @@ import { FetchInventoryViewError, UpsertInventoryViewError, } from '../../../common/inventory_views'; -import { decodeOrThrow } from '../../../common/runtime_types'; import { IInventoryViewsClient } from './types'; export class InventoryViewsClient implements IInventoryViewsClient { diff --git a/x-pack/plugins/observability_solution/infra/public/services/metrics_explorer_views/metrics_explorer_views_client.ts b/x-pack/plugins/observability_solution/infra/public/services/metrics_explorer_views/metrics_explorer_views_client.ts index 8961522feea2e..6e77b8184669c 100644 --- a/x-pack/plugins/observability_solution/infra/public/services/metrics_explorer_views/metrics_explorer_views_client.ts +++ b/x-pack/plugins/observability_solution/infra/public/services/metrics_explorer_views/metrics_explorer_views_client.ts @@ -6,6 +6,7 @@ */ import { HttpStart } from '@kbn/core/public'; +import { decodeOrThrow } from '@kbn/io-ts-utils'; import { CreateMetricsExplorerViewResponsePayload, createMetricsExplorerViewRequestPayloadRT, @@ -23,7 +24,6 @@ import { FetchMetricsExplorerViewError, UpsertMetricsExplorerViewError, } from '../../../common/metrics_explorer_views'; -import { decodeOrThrow } from '../../../common/runtime_types'; import { IMetricsExplorerViewsClient } from './types'; export class MetricsExplorerViewsClient implements IMetricsExplorerViewsClient { diff --git a/x-pack/plugins/observability_solution/infra/public/utils/cancellable_effect.ts b/x-pack/plugins/observability_solution/infra/public/utils/cancellable_effect.ts deleted file mode 100644 index 77db0da0fe295..0000000000000 --- a/x-pack/plugins/observability_solution/infra/public/utils/cancellable_effect.ts +++ /dev/null @@ -1,35 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the Elastic License - * 2.0; you may not use this file except in compliance with the Elastic License - * 2.0. - */ - -import { DependencyList, useEffect } from 'react'; - -export const createCancellationSignal = () => { - const cancellationSignal = { - isCancelled: false, - cancel: () => { - cancellationSignal.isCancelled = true; - }, - }; - - return cancellationSignal; -}; - -export const useCancellableEffect = ( - effect: (isCancelled: () => boolean) => void, - deps?: DependencyList -): void => { - useEffect(() => { - const cancellationSignal = createCancellationSignal(); - - effect(() => cancellationSignal.isCancelled); - - return cancellationSignal.cancel; - - // the dependencies are managed externally - // eslint-disable-next-line react-hooks/exhaustive-deps - }, deps); -}; diff --git a/x-pack/plugins/observability_solution/infra/public/utils/dev_mode.ts b/x-pack/plugins/observability_solution/infra/public/utils/dev_mode.ts index 60571501b4193..a6dcd9b4bcc11 100644 --- a/x-pack/plugins/observability_solution/infra/public/utils/dev_mode.ts +++ b/x-pack/plugins/observability_solution/infra/public/utils/dev_mode.ts @@ -5,8 +5,4 @@ * 2.0. */ -export const getReduxDevtools = () => (window as any).__REDUX_DEVTOOLS_EXTENSION__; - -export const hasReduxDevtools = () => getReduxDevtools() != null; - export const isDevMode = () => process.env.NODE_ENV !== 'production'; diff --git a/x-pack/plugins/observability_solution/infra/public/utils/enzyme_helpers.tsx b/x-pack/plugins/observability_solution/infra/public/utils/enzyme_helpers.tsx deleted file mode 100644 index 33fbbd03d790a..0000000000000 --- a/x-pack/plugins/observability_solution/infra/public/utils/enzyme_helpers.tsx +++ /dev/null @@ -1,87 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the Elastic License - * 2.0; you may not use this file except in compliance with the Elastic License - * 2.0. - */ - -// eslint-disable-next-line import/no-extraneous-dependencies -import { mount, ReactWrapper } from 'enzyme'; -import React from 'react'; -import { act as reactAct } from 'react-dom/test-utils'; -/** - * A wrapper object to provide access to the state of a hook under test and to - * enable interaction with that hook. - */ -interface ReactHookWrapper { - /* Ensures that async React operations have settled before and after the - * given actor callback is called. The actor callback arguments provide easy - * access to the last hook value and allow for updating the arguments passed - * to the hook body to trigger reevaluation. - */ - act: (actor: (lastHookValue: HookValue, setArgs: (args: Args) => void) => void) => void; - /* The enzyme wrapper around the test component. */ - component: ReactWrapper; - /* The most recent value return the by test harness of the hook. */ - getLastHookValue: () => HookValue; - /* The jest Mock function that receives the hook values for introspection. */ - hookValueCallback: jest.Mock; -} - -/** - * Allows for execution of hooks inside of a test component which records the - * returned values. - * - * @param body A function that calls the hook and returns data derived from it - * @param WrapperComponent A component that, if provided, will be wrapped - * around the test component. This can be useful to provide context values. - * @return {ReactHookWrapper} An object providing access to the hook state and - * functions to interact with it. - */ -export const mountHook = ( - body: (args: Args) => HookValue, - WrapperComponent?: React.ComponentType, - initialArgs: Args = {} as Args -): ReactHookWrapper => { - const hookValueCallback = jest.fn(); - let component!: ReactWrapper; - - const act: ReactHookWrapper['act'] = (actor) => { - reactAct(() => { - actor(getLastHookValue(), (args: Args) => component.setProps(args)); - component.update(); - }); - }; - - const getLastHookValue = () => { - const calls = hookValueCallback.mock.calls; - if (calls.length <= 0) { - throw Error('No recent hook value present.'); - } - return calls[calls.length - 1][0]; - }; - - const HookComponent = (props: Args) => { - hookValueCallback(body(props)); - return null; - }; - const TestComponent: React.FunctionComponent = (args) => - WrapperComponent ? ( - - - - ) : ( - - ); - - reactAct(() => { - component = mount(); - }); - - return { - act, - component, - getLastHookValue, - hookValueCallback, - }; -}; diff --git a/x-pack/plugins/observability_solution/infra/public/utils/handlers.ts b/x-pack/plugins/observability_solution/infra/public/utils/handlers.ts deleted file mode 100644 index f79e2fa4766a2..0000000000000 --- a/x-pack/plugins/observability_solution/infra/public/utils/handlers.ts +++ /dev/null @@ -1,25 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the Elastic License - * 2.0; you may not use this file except in compliance with the Elastic License - * 2.0. - */ - -import { isEqual } from 'lodash'; - -export function callWithoutRepeats( - func: (...args: any[]) => T, - isArgsEqual: (firstArgs: any, secondArgs: any) => boolean = isEqual -) { - let previousArgs: any[]; - let previousResult: T; - - return (...args: any[]) => { - if (!isArgsEqual(args, previousArgs)) { - previousArgs = args; - previousResult = func(...args); - } - - return previousResult; - }; -} diff --git a/x-pack/plugins/observability_solution/infra/public/utils/history_context.ts b/x-pack/plugins/observability_solution/infra/public/utils/history_context.ts deleted file mode 100644 index 07efcab8d0f6d..0000000000000 --- a/x-pack/plugins/observability_solution/infra/public/utils/history_context.ts +++ /dev/null @@ -1,15 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the Elastic License - * 2.0; you may not use this file except in compliance with the Elastic License - * 2.0. - */ - -import { createContext, useContext } from 'react'; -import { ScopedHistory } from '@kbn/core/public'; - -export const HistoryContext = createContext(undefined); - -export const useHistory = () => { - return useContext(HistoryContext); -}; diff --git a/x-pack/plugins/observability_solution/infra/public/utils/loading_state/index.ts b/x-pack/plugins/observability_solution/infra/public/utils/loading_state/index.ts deleted file mode 100644 index f93d0638b3366..0000000000000 --- a/x-pack/plugins/observability_solution/infra/public/utils/loading_state/index.ts +++ /dev/null @@ -1,33 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the Elastic License - * 2.0; you may not use this file except in compliance with the Elastic License - * 2.0. - */ - -export type { LoadingState } from './loading_state'; -export { initialLoadingState } from './loading_state'; - -export type { LoadingPolicy } from './loading_policy'; -export { isManualLoadingPolicy, isIntervalLoadingPolicy } from './loading_policy'; - -export type { LoadingProgress } from './loading_progress'; -export { - createRunningProgressReducer, - createIdleProgressReducer, - isIdleLoadingProgress, - isRunningLoadingProgress, -} from './loading_progress'; - -export type { LoadingResult } from './loading_result'; -export { - createFailureResult, - createFailureResultReducer, - createSuccessResult, - createSuccessResultReducer, - getTimeOrDefault, - isExhaustedLoadingResult, - isFailureLoadingResult, - isSuccessLoadingResult, - isUninitializedLoadingResult, -} from './loading_result'; diff --git a/x-pack/plugins/observability_solution/infra/public/utils/loading_state/loading_policy.ts b/x-pack/plugins/observability_solution/infra/public/utils/loading_state/loading_policy.ts deleted file mode 100644 index 582b8f9a7c925..0000000000000 --- a/x-pack/plugins/observability_solution/infra/public/utils/loading_state/loading_policy.ts +++ /dev/null @@ -1,25 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the Elastic License - * 2.0; you may not use this file except in compliance with the Elastic License - * 2.0. - */ - -interface ManualLoadingPolicy { - policy: 'manual'; -} - -interface IntervalLoadingPolicy { - policy: 'interval'; - delayMillis: number; -} - -export type LoadingPolicy = ManualLoadingPolicy | IntervalLoadingPolicy; - -export const isManualLoadingPolicy = ( - loadingPolicy: LoadingPolicy -): loadingPolicy is ManualLoadingPolicy => loadingPolicy.policy === 'manual'; - -export const isIntervalLoadingPolicy = ( - loadingPolicy: LoadingPolicy -): loadingPolicy is IntervalLoadingPolicy => loadingPolicy.policy === 'interval'; diff --git a/x-pack/plugins/observability_solution/infra/public/utils/loading_state/loading_progress.ts b/x-pack/plugins/observability_solution/infra/public/utils/loading_state/loading_progress.ts deleted file mode 100644 index 4670883ec2a77..0000000000000 --- a/x-pack/plugins/observability_solution/infra/public/utils/loading_state/loading_progress.ts +++ /dev/null @@ -1,43 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the Elastic License - * 2.0; you may not use this file except in compliance with the Elastic License - * 2.0. - */ - -interface IdleLoadingProgress { - progress: 'idle'; -} - -interface RunningLoadingProgress { - progress: 'running'; - time: number; - parameters: Parameters; -} - -export type LoadingProgress = IdleLoadingProgress | RunningLoadingProgress; - -export const isIdleLoadingProgress =

( - loadingProgress: LoadingProgress

-): loadingProgress is IdleLoadingProgress => loadingProgress.progress === 'idle'; - -export const isRunningLoadingProgress =

( - loadingProgress: LoadingProgress

-): loadingProgress is RunningLoadingProgress

=> loadingProgress.progress === 'running'; - -export const createIdleProgressReducer = - () => - (state: LoadingProgress): IdleLoadingProgress => ({ - progress: 'idle', - }); - -export const createRunningProgressReducer = - () => - ( - state: LoadingProgress, - parameters: Parameters - ): RunningLoadingProgress => ({ - parameters, - progress: 'running', - time: Date.now(), - }); diff --git a/x-pack/plugins/observability_solution/infra/public/utils/loading_state/loading_result.ts b/x-pack/plugins/observability_solution/infra/public/utils/loading_state/loading_result.ts deleted file mode 100644 index 09411f6c6fce8..0000000000000 --- a/x-pack/plugins/observability_solution/infra/public/utils/loading_state/loading_result.ts +++ /dev/null @@ -1,95 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the Elastic License - * 2.0; you may not use this file except in compliance with the Elastic License - * 2.0. - */ - -interface UninitializedLoadingResult { - result: 'uninitialized'; -} - -interface SuccessLoadingResult { - result: 'success'; - time: number; - isExhausted: boolean; - parameters: Parameters; -} - -interface FailureLoadingResult { - result: 'failure'; - time: number; - reason: string; - parameters: Parameters; -} - -export type LoadingResult = - | UninitializedLoadingResult - | SuccessLoadingResult - | FailureLoadingResult; - -export const isUninitializedLoadingResult =

( - loadingResult: LoadingResult

-): loadingResult is UninitializedLoadingResult => loadingResult.result === 'uninitialized'; - -export const isSuccessLoadingResult =

( - loadingResult: LoadingResult

-): loadingResult is SuccessLoadingResult

=> loadingResult.result === 'success'; - -export const isFailureLoadingResult =

( - loadingResult: LoadingResult

-): loadingResult is FailureLoadingResult

=> loadingResult.result === 'failure'; - -export const isExhaustedLoadingResult =

(loadingResult: LoadingResult

) => - isSuccessLoadingResult(loadingResult) && loadingResult.isExhausted; - -interface GetTimeOrDefaultT { -

(loadingResult: LoadingResult

): number | null; - (loadingResult: LoadingResult

, defaultValue: T): number | T; - (loadingResult: LoadingResult

, defaultValue?: T): number | T | null; -} - -export const getTimeOrDefault: GetTimeOrDefaultT = ( - loadingResult: LoadingResult

, - defaultValue?: T -) => (isUninitializedLoadingResult(loadingResult) ? defaultValue || null : loadingResult.time); - -export const createSuccessResult = ( - parameters: Parameters, - isExhausted: boolean -): SuccessLoadingResult => ({ - isExhausted, - parameters, - result: 'success', - time: Date.now(), -}); - -export const createSuccessResultReducer = - ( - isExhausted: (params: Parameters, result: Payload) => boolean - ) => - ( - state: LoadingResult, - { params, result }: { params: Parameters; result: Payload } - ): SuccessLoadingResult => - createSuccessResult(params, isExhausted(params, result)); - -export const createFailureResult = ( - parameters: Parameters, - reason: string -): FailureLoadingResult => ({ - parameters, - reason, - result: 'failure', - time: Date.now(), -}); - -export const createFailureResultReducer = - ( - convertErrorToString: (error: ErrorPayload) => string = (error) => `${error}` - ) => - ( - state: LoadingResult, - { params, error }: { params: Parameters; error: ErrorPayload } - ): FailureLoadingResult => - createFailureResult(params, convertErrorToString(error)); diff --git a/x-pack/plugins/observability_solution/infra/public/utils/loading_state/loading_state.ts b/x-pack/plugins/observability_solution/infra/public/utils/loading_state/loading_state.ts deleted file mode 100644 index 895c2eb0b631e..0000000000000 --- a/x-pack/plugins/observability_solution/infra/public/utils/loading_state/loading_state.ts +++ /dev/null @@ -1,28 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the Elastic License - * 2.0; you may not use this file except in compliance with the Elastic License - * 2.0. - */ - -import { LoadingPolicy } from './loading_policy'; -import { LoadingProgress } from './loading_progress'; -import { LoadingResult } from './loading_result'; - -export interface LoadingState { - current: LoadingProgress; - last: LoadingResult; - policy: LoadingPolicy; -} - -export const initialLoadingState: LoadingState = { - current: { - progress: 'idle', - }, - last: { - result: 'uninitialized', - }, - policy: { - policy: 'manual', - }, -}; diff --git a/x-pack/plugins/observability_solution/infra/public/utils/state_container_devtools.ts b/x-pack/plugins/observability_solution/infra/public/utils/state_container_devtools.ts deleted file mode 100644 index 076302ca220cd..0000000000000 --- a/x-pack/plugins/observability_solution/infra/public/utils/state_container_devtools.ts +++ /dev/null @@ -1,52 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the Elastic License - * 2.0; you may not use this file except in compliance with the Elastic License - * 2.0. - */ - -import { ReduxLikeStateContainer } from '@kbn/kibana-utils-plugin/public'; -import { EnhancerOptions } from 'redux-devtools-extension'; -import { getReduxDevtools, hasReduxDevtools, isDevMode } from './dev_mode'; - -export const withReduxDevTools = >( - stateContainer: StateContainer, - config?: EnhancerOptions -): StateContainer => { - if (isDevMode() && hasReduxDevtools()) { - const devToolsExtension = getReduxDevtools(); - - const devToolsInstance = devToolsExtension.connect({ - ...config, - serialize: { - ...(typeof config?.serialize === 'object' ? config.serialize : {}), - replacer: (_key: string, value: unknown) => replaceReactSyntheticEvent(value), - }, - features: { - lock: false, - persist: false, - import: false, - jump: false, - skip: false, - reorder: false, - dispatch: false, - ...config?.features, - }, - }); - - devToolsInstance.init(stateContainer.getState()); - - stateContainer.addMiddleware(({ getState }) => (next) => (action) => { - devToolsInstance.send(action, getState()); - return next(action); - }); - } - - return stateContainer; -}; - -const isReactSyntheticEvent = (value: unknown) => - typeof value === 'object' && value != null && (value as any).nativeEvent instanceof Event; - -const replaceReactSyntheticEvent = (value: unknown) => - isReactSyntheticEvent(value) ? '[ReactSyntheticEvent]' : value; diff --git a/x-pack/plugins/observability_solution/infra/public/utils/timefilter_state_storage.ts b/x-pack/plugins/observability_solution/infra/public/utils/timefilter_state_storage.ts deleted file mode 100644 index d990ec81649c1..0000000000000 --- a/x-pack/plugins/observability_solution/infra/public/utils/timefilter_state_storage.ts +++ /dev/null @@ -1,64 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the Elastic License - * 2.0; you may not use this file except in compliance with the Elastic License - * 2.0. - */ - -import { RefreshInterval, TimefilterContract } from '@kbn/data-plugin/public'; -import { TimeRange } from '@kbn/es-query'; -import { IStateStorage } from '@kbn/kibana-utils-plugin/public'; -import { map, merge, Observable, of } from 'rxjs'; - -export const timefilterStateStorageKey = 'timefilter'; -type TimefilterStateStorageKey = typeof timefilterStateStorageKey; - -interface ITimefilterStateStorage extends IStateStorage { - set(key: TimefilterStateStorageKey, state: TimefilterState): void; - set(key: string, state: State): void; - get(key: TimefilterStateStorageKey): TimefilterState | null; - get(key: string): State | null; - change$(key: TimefilterStateStorageKey): Observable; - change$(key: string): Observable; -} - -export interface TimefilterState { - timeRange?: TimeRange; - refreshInterval?: RefreshInterval; -} - -export const createTimefilterStateStorage = ({ - timefilter, -}: { - timefilter: TimefilterContract; -}): ITimefilterStateStorage => { - return { - set: (key, state) => { - if (key !== timefilterStateStorageKey) { - return; - } - - // TS doesn't narrow the overload arguments correctly - const { timeRange, refreshInterval } = state as TimefilterState; - - if (timeRange != null) { - timefilter.setTime(timeRange); - } - if (refreshInterval != null) { - timefilter.setRefreshInterval(refreshInterval); - } - }, - get: (key) => (key === timefilterStateStorageKey ? getTimefilterState(timefilter) : null), - change$: (key) => - key === timefilterStateStorageKey - ? merge(timefilter.getTimeUpdate$(), timefilter.getRefreshIntervalUpdate$()).pipe( - map(() => getTimefilterState(timefilter)) - ) - : of(null), - }; -}; - -const getTimefilterState = (timefilter: TimefilterContract): TimefilterState => ({ - timeRange: timefilter.getTime(), - refreshInterval: timefilter.getRefreshInterval(), -}); diff --git a/x-pack/plugins/observability_solution/infra/public/utils/typed_react.tsx b/x-pack/plugins/observability_solution/infra/public/utils/typed_react.tsx index b5b7a440c117c..d85065b3acf5a 100644 --- a/x-pack/plugins/observability_solution/infra/public/utils/typed_react.tsx +++ b/x-pack/plugins/observability_solution/infra/public/utils/typed_react.tsx @@ -5,77 +5,11 @@ * 2.0. */ -import { omit } from 'lodash'; -import React from 'react'; -import { InferableComponentEnhancerWithProps, ConnectedComponent } from 'react-redux'; - -export type RendererResult = React.ReactElement | null; -export type RendererFunction = (args: RenderArgs) => Result; - -export type ChildFunctionRendererProps = { - children: RendererFunction; - initializeOnMount?: boolean; - resetOnUnmount?: boolean; -} & RenderArgs; - -interface ChildFunctionRendererOptions { - onInitialize?: (props: RenderArgs) => void; - onCleanup?: (props: RenderArgs) => void; -} - -export const asChildFunctionRenderer = ( - hoc: InferableComponentEnhancerWithProps, - { onInitialize, onCleanup }: ChildFunctionRendererOptions = {} -): ConnectedComponent< - React.ComponentClass<{}>, - { - children: RendererFunction; - initializeOnMount?: boolean; - resetOnUnmount?: boolean; - } & OwnProps -> => - hoc( - class ChildFunctionRenderer extends React.Component> { - public displayName = 'ChildFunctionRenderer'; - - public componentDidMount() { - if (this.props.initializeOnMount && onInitialize) { - onInitialize(this.getRendererArgs()); - } - } - - public componentWillUnmount() { - if (this.props.resetOnUnmount && onCleanup) { - onCleanup(this.getRendererArgs()); - } - } - - public render() { - return (this.props.children as ChildFunctionRendererProps['children'])( - this.getRendererArgs() - ); - } - - private getRendererArgs = () => - omit(this.props, ['children', 'initializeOnMount', 'resetOnUnmount']) as Pick< - ChildFunctionRendererProps, - keyof InjectedProps - >; - } as any - ); - export type StateUpdater = ( prevState: Readonly, prevProps: Readonly ) => State | null; -export type PropsOfContainer = Container extends InferableComponentEnhancerWithProps< - infer InjectedProps, - any -> - ? InjectedProps - : never; - export function composeStateUpdaters(...updaters: Array>) { return (state: State, props: Props) => updaters.reduce((currentState, updater) => updater(currentState, props) || currentState, state); diff --git a/x-pack/plugins/observability_solution/infra/public/utils/typed_redux.ts b/x-pack/plugins/observability_solution/infra/public/utils/typed_redux.ts deleted file mode 100644 index cd02539e719bb..0000000000000 --- a/x-pack/plugins/observability_solution/infra/public/utils/typed_redux.ts +++ /dev/null @@ -1,69 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the Elastic License - * 2.0; you may not use this file except in compliance with the Elastic License - * 2.0. - */ - -import { bindActionCreators, Dispatch } from 'redux'; - -/** - * Selectors - */ -export type Selector = (state: State) => Value; - -export interface Selectors { - [selectorName: string]: Selector; -} - -export type GlobalSelectors = { - [selectorName in keyof LocalSelectors]: Selector< - GlobalState, - ReturnType - >; -}; - -export const globalizeSelector = - , LocalState = any, Value = any>( - globalizer: Selector, - selector: LocalSelector - ): Selector => - (globalState: GlobalState) => - selector(globalizer(globalState)); - -export const globalizeSelectors = < - GlobalState, - LocalSelectors extends Selectors, - LocalState = any ->( - globalizer: (globalState: GlobalState) => LocalState, - selectors: LocalSelectors -): GlobalSelectors => { - const globalSelectors = {} as GlobalSelectors; - for (const s in selectors) { - if (selectors.hasOwnProperty(s)) { - globalSelectors[s] = globalizeSelector(globalizer, selectors[s]); - } - } - return globalSelectors; -}; - -/** - * Action Creators - */ -interface ActionCreators { - [key: string]: (arg: any) => any; -} - -type PlainActionCreator = WrappedActionCreator extends () => infer R - ? () => R - : WrappedActionCreator extends (payload: infer A) => infer R - ? (payload: A) => R - : never; - -export const bindPlainActionCreators = - (actionCreators: WrappedActionCreators) => - (dispatch: Dispatch) => - bindActionCreators(actionCreators, dispatch) as unknown as { - [P in keyof WrappedActionCreators]: PlainActionCreator; - }; diff --git a/x-pack/plugins/observability_solution/infra/public/utils/wrap_state_container.ts b/x-pack/plugins/observability_solution/infra/public/utils/wrap_state_container.ts deleted file mode 100644 index 2b0740364e829..0000000000000 --- a/x-pack/plugins/observability_solution/infra/public/utils/wrap_state_container.ts +++ /dev/null @@ -1,23 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the Elastic License - * 2.0; you may not use this file except in compliance with the Elastic License - * 2.0. - */ - -import { BaseState, BaseStateContainer } from '@kbn/kibana-utils-plugin/public'; -import { map } from 'rxjs'; - -export const wrapStateContainer = - ({ - wrapSet, - wrapGet, - }: { - wrapSet: (state: StateB | null) => (previousState: StateA) => StateA; - wrapGet: (state: StateA) => StateB; - }) => - (stateContainer: BaseStateContainer) => ({ - get: () => wrapGet(stateContainer.get()), - set: (value: StateB | null) => stateContainer.set(wrapSet(value)(stateContainer.get())), - state$: stateContainer.state$.pipe(map(wrapGet)), - }); diff --git a/x-pack/plugins/observability_solution/infra/server/lib/alerting/log_threshold/log_threshold_chart_preview.ts b/x-pack/plugins/observability_solution/infra/server/lib/alerting/log_threshold/log_threshold_chart_preview.ts index f54334ef22e5c..f9094ea921fb9 100644 --- a/x-pack/plugins/observability_solution/infra/server/lib/alerting/log_threshold/log_threshold_chart_preview.ts +++ b/x-pack/plugins/observability_solution/infra/server/lib/alerting/log_threshold/log_threshold_chart_preview.ts @@ -7,6 +7,7 @@ import { i18n } from '@kbn/i18n'; import { ResolvedLogView } from '@kbn/logs-shared-plugin/common'; +import { decodeOrThrow } from '@kbn/io-ts-utils'; import { ExecutionTimeRange, GroupedSearchQueryResponse, @@ -20,7 +21,6 @@ import { Point, Series, } from '../../../../common/http_api'; -import { decodeOrThrow } from '../../../../common/runtime_types'; import type { InfraPluginRequestHandlerContext } from '../../../types'; import { KibanaFramework } from '../../adapters/framework/kibana_framework_adapter'; import { buildFiltersFromCriteria } from '../../../../common/alerting/logs/log_threshold/query_helpers'; diff --git a/x-pack/plugins/observability_solution/infra/server/lib/alerting/log_threshold/log_threshold_executor.ts b/x-pack/plugins/observability_solution/infra/server/lib/alerting/log_threshold/log_threshold_executor.ts index 68eea51669e87..b742c3f139297 100644 --- a/x-pack/plugins/observability_solution/infra/server/lib/alerting/log_threshold/log_threshold_executor.ts +++ b/x-pack/plugins/observability_solution/infra/server/lib/alerting/log_threshold/log_threshold_executor.ts @@ -33,6 +33,7 @@ import { } from '@kbn/alerting-plugin/server/alerts_client/types'; import { ecsFieldMap } from '@kbn/rule-registry-plugin/common/assets/field_maps/ecs_field_map'; +import { decodeOrThrow } from '@kbn/io-ts-utils'; import { getChartGroupNames } from '../../../../common/utils/get_chart_group_names'; import { RuleParams, @@ -55,7 +56,6 @@ import { ExecutionTimeRange, Criterion, } from '../../../../common/alerting/logs/log_threshold'; -import { decodeOrThrow } from '../../../../common/runtime_types'; import { getLogsAppAlertUrl } from '../../../../common/formatters/alert_link'; import { InfraBackendLibs } from '../../infra_types'; import { diff --git a/x-pack/plugins/observability_solution/infra/server/lib/alerting/log_threshold/log_threshold_references_manager.ts b/x-pack/plugins/observability_solution/infra/server/lib/alerting/log_threshold/log_threshold_references_manager.ts index 41fec29a6c1f3..cb36080362ef2 100644 --- a/x-pack/plugins/observability_solution/infra/server/lib/alerting/log_threshold/log_threshold_references_manager.ts +++ b/x-pack/plugins/observability_solution/infra/server/lib/alerting/log_threshold/log_threshold_references_manager.ts @@ -8,8 +8,8 @@ import type { SavedObjectReference } from '@kbn/core/server'; import { logViewReferenceRT } from '@kbn/logs-shared-plugin/common'; import { logViewSavedObjectName } from '@kbn/logs-shared-plugin/server'; +import { decodeOrThrow } from '@kbn/io-ts-utils'; import { RuleParams, ruleParamsRT } from '../../../../common/alerting/logs/log_threshold'; -import { decodeOrThrow } from '../../../../common/runtime_types'; export const LOG_VIEW_REFERENCE_NAME = 'log-view-reference-0'; diff --git a/x-pack/plugins/observability_solution/infra/server/lib/alerting/log_threshold/register_log_threshold_rule_type.ts b/x-pack/plugins/observability_solution/infra/server/lib/alerting/log_threshold/register_log_threshold_rule_type.ts index fa90cc6bf50fd..decac47dbb5f9 100644 --- a/x-pack/plugins/observability_solution/infra/server/lib/alerting/log_threshold/register_log_threshold_rule_type.ts +++ b/x-pack/plugins/observability_solution/infra/server/lib/alerting/log_threshold/register_log_threshold_rule_type.ts @@ -9,6 +9,7 @@ import { i18n } from '@kbn/i18n'; import { DEFAULT_APP_CATEGORIES } from '@kbn/core/server'; import { GetViewInAppRelativeUrlFnOpts, PluginSetupContract } from '@kbn/alerting-plugin/server'; import { observabilityPaths } from '@kbn/observability-plugin/common'; +import { decodeOrThrow } from '@kbn/io-ts-utils'; import type { InfraConfig } from '../../../../common/plugin_config_types'; import { O11Y_AAD_FIELDS } from '../../../../common/constants'; import { createLogThresholdExecutor, FIRED_ACTIONS } from './log_threshold_executor'; @@ -18,7 +19,6 @@ import { ruleParamsRT, } from '../../../../common/alerting/logs/log_threshold'; import { InfraBackendLibs } from '../../infra_types'; -import { decodeOrThrow } from '../../../../common/runtime_types'; import { alertDetailUrlActionVariableDescription, groupByKeysActionVariableDescription, diff --git a/x-pack/plugins/observability_solution/infra/server/lib/host_details/process_list.ts b/x-pack/plugins/observability_solution/infra/server/lib/host_details/process_list.ts index fa9cb52ee13df..1ffe0e15f0677 100644 --- a/x-pack/plugins/observability_solution/infra/server/lib/host_details/process_list.ts +++ b/x-pack/plugins/observability_solution/infra/server/lib/host_details/process_list.ts @@ -5,7 +5,7 @@ * 2.0. */ -import { TIMESTAMP_FIELD, CMDLINE_FIELD } from '../../../common/constants'; +import { TIMESTAMP_FIELD, SYSTEM_PROCESS_CMDLINE_FIELD } from '../../../common/constants'; import { ProcessListAPIRequest, ProcessListAPIQueryAggregation } from '../../../common/http_api'; import { ESSearchClient } from '../metrics/types'; import type { InfraSourceConfiguration } from '../sources'; @@ -69,7 +69,7 @@ export const getProcessList = async ( aggs: { filteredProcs: { terms: { - field: CMDLINE_FIELD, + field: SYSTEM_PROCESS_CMDLINE_FIELD, size: TOP_N, order: { [sortBy.name]: sortBy.isAscending ? 'asc' : 'desc', diff --git a/x-pack/plugins/observability_solution/infra/server/lib/host_details/process_list_chart.ts b/x-pack/plugins/observability_solution/infra/server/lib/host_details/process_list_chart.ts index 95b51d07072c3..45e43d3f9f2a0 100644 --- a/x-pack/plugins/observability_solution/infra/server/lib/host_details/process_list_chart.ts +++ b/x-pack/plugins/observability_solution/infra/server/lib/host_details/process_list_chart.ts @@ -6,7 +6,7 @@ */ import { first } from 'lodash'; -import { TIMESTAMP_FIELD, CMDLINE_FIELD } from '../../../common/constants'; +import { TIMESTAMP_FIELD, SYSTEM_PROCESS_CMDLINE_FIELD } from '../../../common/constants'; import { ProcessListAPIChartRequest, ProcessListAPIChartQueryAggregation, @@ -48,7 +48,7 @@ export const getProcessListChart = async ( must: [ { match: { - [CMDLINE_FIELD]: command, + [SYSTEM_PROCESS_CMDLINE_FIELD]: command, }, }, ], @@ -57,7 +57,7 @@ export const getProcessListChart = async ( aggs: { filteredProc: { terms: { - field: CMDLINE_FIELD, + field: SYSTEM_PROCESS_CMDLINE_FIELD, size: 1, }, aggs: { diff --git a/x-pack/plugins/observability_solution/infra/server/lib/infra_ml/common.ts b/x-pack/plugins/observability_solution/infra/server/lib/infra_ml/common.ts index aba38ce4165c0..db1d5bc67da37 100644 --- a/x-pack/plugins/observability_solution/infra/server/lib/infra_ml/common.ts +++ b/x-pack/plugins/observability_solution/infra/server/lib/infra_ml/common.ts @@ -5,6 +5,7 @@ * 2.0. */ +import { decodeOrThrow } from '@kbn/io-ts-utils'; import type { MlAnomalyDetectors, MlSystem } from '../../types'; import { NoLogAnalysisMlJobError } from './errors'; @@ -14,7 +15,6 @@ import { LogEntryDatasetBucket, logEntryDatasetsResponseRT, } from './queries/log_entry_data_sets'; -import { decodeOrThrow } from '../../../common/runtime_types'; import { startTracingSpan, TracingSpan } from '../../../common/performance_tracing'; export interface MappedAnomalyHit { diff --git a/x-pack/plugins/observability_solution/infra/server/lib/infra_ml/metrics_hosts_anomalies.ts b/x-pack/plugins/observability_solution/infra/server/lib/infra_ml/metrics_hosts_anomalies.ts index f265d7e923114..442eb60d30bea 100644 --- a/x-pack/plugins/observability_solution/infra/server/lib/infra_ml/metrics_hosts_anomalies.ts +++ b/x-pack/plugins/observability_solution/infra/server/lib/infra_ml/metrics_hosts_anomalies.ts @@ -6,6 +6,7 @@ */ import { ML_ANOMALY_THRESHOLD } from '@kbn/ml-anomaly-utils/anomaly_threshold'; +import { decodeOrThrow } from '@kbn/io-ts-utils'; import { InfraRequestHandlerContext } from '../../types'; import { TracingSpan, startTracingSpan } from '../../../common/performance_tracing'; import { fetchMlJob, MappedAnomalyHit, InfluencerFilter } from './common'; @@ -13,7 +14,6 @@ import { getJobId, metricsHostsJobTypes } from '../../../common/infra_ml'; import { Sort, Pagination } from '../../../common/http_api/infra_ml'; import type { MlSystem, MlAnomalyDetectors } from '../../types'; import { isMlPrivilegesError } from './errors'; -import { decodeOrThrow } from '../../../common/runtime_types'; import { metricsHostsAnomaliesResponseRT, createMetricsHostsAnomaliesQuery, diff --git a/x-pack/plugins/observability_solution/infra/server/lib/infra_ml/metrics_k8s_anomalies.ts b/x-pack/plugins/observability_solution/infra/server/lib/infra_ml/metrics_k8s_anomalies.ts index 496c9e861d949..18d62d414844d 100644 --- a/x-pack/plugins/observability_solution/infra/server/lib/infra_ml/metrics_k8s_anomalies.ts +++ b/x-pack/plugins/observability_solution/infra/server/lib/infra_ml/metrics_k8s_anomalies.ts @@ -6,6 +6,7 @@ */ import { ML_ANOMALY_THRESHOLD } from '@kbn/ml-anomaly-utils/anomaly_threshold'; +import { decodeOrThrow } from '@kbn/io-ts-utils'; import { InfraRequestHandlerContext } from '../../types'; import { TracingSpan, startTracingSpan } from '../../../common/performance_tracing'; import { fetchMlJob, MappedAnomalyHit, InfluencerFilter } from './common'; @@ -13,7 +14,6 @@ import { getJobId, metricsK8SJobTypes } from '../../../common/infra_ml'; import { Sort, Pagination } from '../../../common/http_api/infra_ml'; import type { MlSystem, MlAnomalyDetectors } from '../../types'; import { isMlPrivilegesError } from './errors'; -import { decodeOrThrow } from '../../../common/runtime_types'; import { metricsK8sAnomaliesResponseRT, createMetricsK8sAnomaliesQuery, diff --git a/x-pack/plugins/observability_solution/infra/server/lib/log_analysis/common.ts b/x-pack/plugins/observability_solution/infra/server/lib/log_analysis/common.ts index b738a42e6c7bc..8950ea2a94eee 100644 --- a/x-pack/plugins/observability_solution/infra/server/lib/log_analysis/common.ts +++ b/x-pack/plugins/observability_solution/infra/server/lib/log_analysis/common.ts @@ -5,6 +5,7 @@ * 2.0. */ +import { decodeOrThrow } from '@kbn/io-ts-utils'; import type { MlAnomalyDetectors, MlSystem } from '../../types'; import { NoLogAnalysisMlJobError } from './errors'; @@ -14,7 +15,6 @@ import { LogEntryDatasetBucket, logEntryDatasetsResponseRT, } from './queries/log_entry_data_sets'; -import { decodeOrThrow } from '../../../common/runtime_types'; import { startTracingSpan, TracingSpan } from '../../../common/performance_tracing'; export async function fetchMlJob(mlAnomalyDetectors: MlAnomalyDetectors, jobId: string) { diff --git a/x-pack/plugins/observability_solution/infra/server/lib/log_analysis/log_entry_anomalies.ts b/x-pack/plugins/observability_solution/infra/server/lib/log_analysis/log_entry_anomalies.ts index 41152d17572a8..7d01c969a18ed 100644 --- a/x-pack/plugins/observability_solution/infra/server/lib/log_analysis/log_entry_anomalies.ts +++ b/x-pack/plugins/observability_solution/infra/server/lib/log_analysis/log_entry_anomalies.ts @@ -7,6 +7,7 @@ import type * as estypes from '@elastic/elasticsearch/lib/api/typesWithBodyKey'; import { PersistedLogViewReference, ResolvedLogView } from '@kbn/logs-shared-plugin/common'; +import { decodeOrThrow } from '@kbn/io-ts-utils'; import { IdFormat, IdFormatByJobType } from '../../../common/http_api/latest'; import { AnomaliesSort, @@ -21,7 +22,6 @@ import { Pagination, } from '../../../common/log_analysis'; import { startTracingSpan, TracingSpan } from '../../../common/performance_tracing'; -import { decodeOrThrow } from '../../../common/runtime_types'; import type { InfraPluginRequestHandlerContext, InfraRequestHandlerContext, diff --git a/x-pack/plugins/observability_solution/infra/server/lib/log_analysis/log_entry_categories_analysis.ts b/x-pack/plugins/observability_solution/infra/server/lib/log_analysis/log_entry_categories_analysis.ts index b9e908bf49eee..51bf582260d1e 100644 --- a/x-pack/plugins/observability_solution/infra/server/lib/log_analysis/log_entry_categories_analysis.ts +++ b/x-pack/plugins/observability_solution/infra/server/lib/log_analysis/log_entry_categories_analysis.ts @@ -12,6 +12,7 @@ import { PersistedLogViewReference, ResolvedLogView, } from '@kbn/logs-shared-plugin/common'; +import { decodeOrThrow } from '@kbn/io-ts-utils'; import { IdFormat } from '../../../common/http_api/latest'; import { CategoriesSort, @@ -21,7 +22,6 @@ import { logEntryCategoriesJobTypes, } from '../../../common/log_analysis'; import { startTracingSpan } from '../../../common/performance_tracing'; -import { decodeOrThrow } from '../../../common/runtime_types'; import type { MlAnomalyDetectors, MlSystem } from '../../types'; import { fetchMlJob, getLogEntryDatasets } from './common'; import { InsufficientLogAnalysisMlJobConfigurationError, UnknownCategoryError } from './errors'; diff --git a/x-pack/plugins/observability_solution/infra/server/lib/log_analysis/log_entry_categories_datasets_stats.ts b/x-pack/plugins/observability_solution/infra/server/lib/log_analysis/log_entry_categories_datasets_stats.ts index 8c3f739339152..a434bb7cfdd71 100644 --- a/x-pack/plugins/observability_solution/infra/server/lib/log_analysis/log_entry_categories_datasets_stats.ts +++ b/x-pack/plugins/observability_solution/infra/server/lib/log_analysis/log_entry_categories_datasets_stats.ts @@ -5,8 +5,8 @@ * 2.0. */ +import { decodeOrThrow } from '@kbn/io-ts-utils'; import { startTracingSpan } from '../../../common/performance_tracing'; -import { decodeOrThrow } from '../../../common/runtime_types'; import type { MlAnomalyDetectors, MlSystem } from '../../types'; import { COMPOSITE_AGGREGATION_BATCH_SIZE } from './common'; import { diff --git a/x-pack/plugins/observability_solution/infra/server/lib/log_analysis/log_entry_rate_analysis.ts b/x-pack/plugins/observability_solution/infra/server/lib/log_analysis/log_entry_rate_analysis.ts index 5231fb5dc14ec..4cdf603675f64 100644 --- a/x-pack/plugins/observability_solution/infra/server/lib/log_analysis/log_entry_rate_analysis.ts +++ b/x-pack/plugins/observability_solution/infra/server/lib/log_analysis/log_entry_rate_analysis.ts @@ -5,8 +5,8 @@ * 2.0. */ +import { decodeOrThrow } from '@kbn/io-ts-utils'; import { IdFormat } from '../../../common/http_api/latest'; -import { decodeOrThrow } from '../../../common/runtime_types'; import { logRateModelPlotResponseRT, createLogEntryRateQuery, diff --git a/x-pack/plugins/observability_solution/infra/server/lib/metrics/index.ts b/x-pack/plugins/observability_solution/infra/server/lib/metrics/index.ts index 0625ae4828625..cb868ec0c87ed 100644 --- a/x-pack/plugins/observability_solution/infra/server/lib/metrics/index.ts +++ b/x-pack/plugins/observability_solution/infra/server/lib/metrics/index.ts @@ -5,7 +5,7 @@ * 2.0. */ -import { decodeOrThrow } from '../../../common/runtime_types'; +import { decodeOrThrow } from '@kbn/io-ts-utils'; import { TIMESTAMP_FIELD } from '../../../common/constants'; import { MetricsAPIRequest, MetricsAPIResponse } from '../../../common/http_api'; import { diff --git a/x-pack/plugins/observability_solution/infra/server/routes/infra_ml/results/metrics_hosts_anomalies.ts b/x-pack/plugins/observability_solution/infra/server/routes/infra_ml/results/metrics_hosts_anomalies.ts index a83854817866f..7fc99f513144c 100644 --- a/x-pack/plugins/observability_solution/infra/server/routes/infra_ml/results/metrics_hosts_anomalies.ts +++ b/x-pack/plugins/observability_solution/infra/server/routes/infra_ml/results/metrics_hosts_anomalies.ts @@ -6,6 +6,7 @@ */ import Boom from '@hapi/boom'; +import { createRouteValidationFunction } from '@kbn/io-ts-utils'; import { InfraBackendLibs } from '../../../lib/infra_types'; import { INFA_ML_GET_METRICS_HOSTS_ANOMALIES_PATH, @@ -15,7 +16,6 @@ import { Sort, Pagination, } from '../../../../common/http_api/infra_ml'; -import { createValidationFunction } from '../../../../common/runtime_types'; import { assertHasInfraMlPlugins } from '../../../utils/request_context'; import { isMlPrivilegesError } from '../../../lib/infra_ml/errors'; @@ -27,7 +27,7 @@ export const initGetHostsAnomaliesRoute = ({ framework }: InfraBackendLibs) => { method: 'post', path: INFA_ML_GET_METRICS_HOSTS_ANOMALIES_PATH, validate: { - body: createValidationFunction(getMetricsHostsAnomaliesRequestPayloadRT), + body: createRouteValidationFunction(getMetricsHostsAnomaliesRequestPayloadRT), }, }, framework.router.handleLegacyErrors(async (requestContext, request, response) => { diff --git a/x-pack/plugins/observability_solution/infra/server/routes/infra_ml/results/metrics_k8s_anomalies.ts b/x-pack/plugins/observability_solution/infra/server/routes/infra_ml/results/metrics_k8s_anomalies.ts index 55cc6c4098325..89c1f07edb64f 100644 --- a/x-pack/plugins/observability_solution/infra/server/routes/infra_ml/results/metrics_k8s_anomalies.ts +++ b/x-pack/plugins/observability_solution/infra/server/routes/infra_ml/results/metrics_k8s_anomalies.ts @@ -6,6 +6,7 @@ */ import Boom from '@hapi/boom'; +import { createRouteValidationFunction } from '@kbn/io-ts-utils'; import { InfraBackendLibs } from '../../../lib/infra_types'; import { INFA_ML_GET_METRICS_K8S_ANOMALIES_PATH, @@ -15,7 +16,6 @@ import { Sort, Pagination, } from '../../../../common/http_api/infra_ml'; -import { createValidationFunction } from '../../../../common/runtime_types'; import { assertHasInfraMlPlugins } from '../../../utils/request_context'; import { getMetricK8sAnomalies } from '../../../lib/infra_ml'; import { isMlPrivilegesError } from '../../../lib/infra_ml/errors'; @@ -26,7 +26,7 @@ export const initGetK8sAnomaliesRoute = ({ framework }: InfraBackendLibs) => { method: 'post', path: INFA_ML_GET_METRICS_K8S_ANOMALIES_PATH, validate: { - body: createValidationFunction(getMetricsK8sAnomaliesRequestPayloadRT), + body: createRouteValidationFunction(getMetricsK8sAnomaliesRequestPayloadRT), }, }, framework.router.handleLegacyErrors(async (requestContext, request, response) => { diff --git a/x-pack/plugins/observability_solution/infra/server/routes/inventory_metadata/index.ts b/x-pack/plugins/observability_solution/infra/server/routes/inventory_metadata/index.ts index c6ed81ccd8256..cdda7250a30e5 100644 --- a/x-pack/plugins/observability_solution/infra/server/routes/inventory_metadata/index.ts +++ b/x-pack/plugins/observability_solution/infra/server/routes/inventory_metadata/index.ts @@ -10,8 +10,8 @@ import Boom from '@hapi/boom'; import { pipe } from 'fp-ts/lib/pipeable'; import { fold } from 'fp-ts/lib/Either'; import { identity } from 'fp-ts/lib/function'; +import { throwErrors } from '@kbn/io-ts-utils'; import { InfraBackendLibs } from '../../lib/infra_types'; -import { throwErrors } from '../../../common/runtime_types'; import { InventoryMetaRequestRT, diff --git a/x-pack/plugins/observability_solution/infra/server/routes/inventory_views/create_inventory_view.ts b/x-pack/plugins/observability_solution/infra/server/routes/inventory_views/create_inventory_view.ts index d2df0a0f96f65..568c05612e63f 100644 --- a/x-pack/plugins/observability_solution/infra/server/routes/inventory_views/create_inventory_view.ts +++ b/x-pack/plugins/observability_solution/infra/server/routes/inventory_views/create_inventory_view.ts @@ -6,7 +6,7 @@ */ import { isBoom } from '@hapi/boom'; -import { createValidationFunction } from '../../../common/runtime_types'; +import { createRouteValidationFunction } from '@kbn/io-ts-utils'; import { createInventoryViewRequestPayloadRT, inventoryViewRequestQueryRT, @@ -24,8 +24,8 @@ export const initCreateInventoryViewRoute = ({ method: 'post', path: INVENTORY_VIEW_URL, validate: { - body: createValidationFunction(createInventoryViewRequestPayloadRT), - query: createValidationFunction(inventoryViewRequestQueryRT), + body: createRouteValidationFunction(createInventoryViewRequestPayloadRT), + query: createRouteValidationFunction(inventoryViewRequestQueryRT), }, }, async (_requestContext, request, response) => { diff --git a/x-pack/plugins/observability_solution/infra/server/routes/inventory_views/delete_inventory_view.ts b/x-pack/plugins/observability_solution/infra/server/routes/inventory_views/delete_inventory_view.ts index e86e44fc0ac05..69962e643ec8b 100644 --- a/x-pack/plugins/observability_solution/infra/server/routes/inventory_views/delete_inventory_view.ts +++ b/x-pack/plugins/observability_solution/infra/server/routes/inventory_views/delete_inventory_view.ts @@ -6,7 +6,7 @@ */ import { isBoom } from '@hapi/boom'; -import { createValidationFunction } from '../../../common/runtime_types'; +import { createRouteValidationFunction } from '@kbn/io-ts-utils'; import { inventoryViewRequestParamsRT, INVENTORY_VIEW_URL_ENTITY, @@ -22,7 +22,7 @@ export const initDeleteInventoryViewRoute = ({ method: 'delete', path: INVENTORY_VIEW_URL_ENTITY, validate: { - params: createValidationFunction(inventoryViewRequestParamsRT), + params: createRouteValidationFunction(inventoryViewRequestParamsRT), }, }, async (_requestContext, request, response) => { diff --git a/x-pack/plugins/observability_solution/infra/server/routes/inventory_views/find_inventory_view.ts b/x-pack/plugins/observability_solution/infra/server/routes/inventory_views/find_inventory_view.ts index a9de3a426f14f..5a709731406b6 100644 --- a/x-pack/plugins/observability_solution/infra/server/routes/inventory_views/find_inventory_view.ts +++ b/x-pack/plugins/observability_solution/infra/server/routes/inventory_views/find_inventory_view.ts @@ -5,7 +5,7 @@ * 2.0. */ -import { createValidationFunction } from '../../../common/runtime_types'; +import { createRouteValidationFunction } from '@kbn/io-ts-utils'; import { findInventoryViewResponsePayloadRT, inventoryViewRequestQueryRT, @@ -22,7 +22,7 @@ export const initFindInventoryViewRoute = ({ method: 'get', path: INVENTORY_VIEW_URL, validate: { - query: createValidationFunction(inventoryViewRequestQueryRT), + query: createRouteValidationFunction(inventoryViewRequestQueryRT), }, }, async (_requestContext, request, response) => { diff --git a/x-pack/plugins/observability_solution/infra/server/routes/inventory_views/get_inventory_view.ts b/x-pack/plugins/observability_solution/infra/server/routes/inventory_views/get_inventory_view.ts index 0cb9f815ef089..d79e153f6bbff 100644 --- a/x-pack/plugins/observability_solution/infra/server/routes/inventory_views/get_inventory_view.ts +++ b/x-pack/plugins/observability_solution/infra/server/routes/inventory_views/get_inventory_view.ts @@ -6,7 +6,7 @@ */ import { isBoom } from '@hapi/boom'; -import { createValidationFunction } from '../../../common/runtime_types'; +import { createRouteValidationFunction } from '@kbn/io-ts-utils'; import { inventoryViewResponsePayloadRT, inventoryViewRequestQueryRT, @@ -24,8 +24,8 @@ export const initGetInventoryViewRoute = ({ method: 'get', path: INVENTORY_VIEW_URL_ENTITY, validate: { - params: createValidationFunction(getInventoryViewRequestParamsRT), - query: createValidationFunction(inventoryViewRequestQueryRT), + params: createRouteValidationFunction(getInventoryViewRequestParamsRT), + query: createRouteValidationFunction(inventoryViewRequestQueryRT), }, }, async (_requestContext, request, response) => { diff --git a/x-pack/plugins/observability_solution/infra/server/routes/inventory_views/update_inventory_view.ts b/x-pack/plugins/observability_solution/infra/server/routes/inventory_views/update_inventory_view.ts index 0f225e0546fd1..22e295347255f 100644 --- a/x-pack/plugins/observability_solution/infra/server/routes/inventory_views/update_inventory_view.ts +++ b/x-pack/plugins/observability_solution/infra/server/routes/inventory_views/update_inventory_view.ts @@ -6,7 +6,7 @@ */ import { isBoom } from '@hapi/boom'; -import { createValidationFunction } from '../../../common/runtime_types'; +import { createRouteValidationFunction } from '@kbn/io-ts-utils'; import { inventoryViewRequestParamsRT, inventoryViewRequestQueryRT, @@ -25,9 +25,9 @@ export const initUpdateInventoryViewRoute = ({ method: 'put', path: INVENTORY_VIEW_URL_ENTITY, validate: { - params: createValidationFunction(inventoryViewRequestParamsRT), - query: createValidationFunction(inventoryViewRequestQueryRT), - body: createValidationFunction(updateInventoryViewRequestPayloadRT), + params: createRouteValidationFunction(inventoryViewRequestParamsRT), + query: createRouteValidationFunction(inventoryViewRequestQueryRT), + body: createRouteValidationFunction(updateInventoryViewRequestPayloadRT), }, }, async (_requestContext, request, response) => { diff --git a/x-pack/plugins/observability_solution/infra/server/routes/log_alerts/chart_preview_data.ts b/x-pack/plugins/observability_solution/infra/server/routes/log_alerts/chart_preview_data.ts index 6c5aafe34fa81..389ce37f21d3c 100644 --- a/x-pack/plugins/observability_solution/infra/server/routes/log_alerts/chart_preview_data.ts +++ b/x-pack/plugins/observability_solution/infra/server/routes/log_alerts/chart_preview_data.ts @@ -6,10 +6,10 @@ */ import Boom from '@hapi/boom'; +import { createRouteValidationFunction } from '@kbn/io-ts-utils'; import { logAlertsV1 } from '../../../common/http_api'; import { InfraBackendLibs } from '../../lib/infra_types'; -import { createValidationFunction } from '../../../common/runtime_types'; import { getChartPreviewData } from '../../lib/alerting/log_threshold/log_threshold_chart_preview'; export const initGetLogAlertsChartPreviewDataRoute = ({ @@ -31,7 +31,7 @@ export const initGetLogAlertsChartPreviewDataRoute = ({ version: '1', validate: { request: { - body: createValidationFunction( + body: createRouteValidationFunction( logAlertsV1.getLogAlertsChartPreviewDataRequestPayloadRT ), }, diff --git a/x-pack/plugins/observability_solution/infra/server/routes/log_analysis/results/log_entry_anomalies.ts b/x-pack/plugins/observability_solution/infra/server/routes/log_analysis/results/log_entry_anomalies.ts index 1af2b1e7f9806..32b530f5da51c 100644 --- a/x-pack/plugins/observability_solution/infra/server/routes/log_analysis/results/log_entry_anomalies.ts +++ b/x-pack/plugins/observability_solution/infra/server/routes/log_analysis/results/log_entry_anomalies.ts @@ -6,11 +6,11 @@ */ import Boom from '@hapi/boom'; +import { createRouteValidationFunction } from '@kbn/io-ts-utils'; import { logAnalysisResultsV1 } from '../../../../common/http_api'; import { InfraBackendLibs } from '../../../lib/infra_types'; import { AnomaliesSort, Pagination } from '../../../../common/log_analysis'; -import { createValidationFunction } from '../../../../common/runtime_types'; import { assertHasInfraMlPlugins } from '../../../utils/request_context'; import { getLogEntryAnomalies } from '../../../lib/log_analysis'; import { isMlPrivilegesError } from '../../../lib/log_analysis/errors'; @@ -30,7 +30,7 @@ export const initGetLogEntryAnomaliesRoute = ({ framework }: InfraBackendLibs) = version: '1', validate: { request: { - body: createValidationFunction( + body: createRouteValidationFunction( logAnalysisResultsV1.getLogEntryAnomaliesRequestPayloadRT ), }, diff --git a/x-pack/plugins/observability_solution/infra/server/routes/log_analysis/results/log_entry_anomalies_datasets.ts b/x-pack/plugins/observability_solution/infra/server/routes/log_analysis/results/log_entry_anomalies_datasets.ts index 0b6444c1a9d7b..ea23d64c22ce0 100644 --- a/x-pack/plugins/observability_solution/infra/server/routes/log_analysis/results/log_entry_anomalies_datasets.ts +++ b/x-pack/plugins/observability_solution/infra/server/routes/log_analysis/results/log_entry_anomalies_datasets.ts @@ -7,8 +7,8 @@ import Boom from '@hapi/boom'; +import { createRouteValidationFunction } from '@kbn/io-ts-utils'; import { logAnalysisResultsV1 } from '../../../../common/http_api'; -import { createValidationFunction } from '../../../../common/runtime_types'; import type { InfraBackendLibs } from '../../../lib/infra_types'; import { getLogEntryAnomaliesDatasets } from '../../../lib/log_analysis'; import { assertHasInfraMlPlugins } from '../../../utils/request_context'; @@ -29,7 +29,7 @@ export const initGetLogEntryAnomaliesDatasetsRoute = ({ framework }: InfraBacken version: '1', validate: { request: { - body: createValidationFunction( + body: createRouteValidationFunction( logAnalysisResultsV1.getLogEntryAnomaliesDatasetsRequestPayloadRT ), }, diff --git a/x-pack/plugins/observability_solution/infra/server/routes/log_analysis/results/log_entry_categories.ts b/x-pack/plugins/observability_solution/infra/server/routes/log_analysis/results/log_entry_categories.ts index 92221d5ce359d..2dfa02186c6d8 100644 --- a/x-pack/plugins/observability_solution/infra/server/routes/log_analysis/results/log_entry_categories.ts +++ b/x-pack/plugins/observability_solution/infra/server/routes/log_analysis/results/log_entry_categories.ts @@ -7,8 +7,8 @@ import Boom from '@hapi/boom'; +import { createRouteValidationFunction } from '@kbn/io-ts-utils'; import { logAnalysisResultsV1 } from '../../../../common/http_api'; -import { createValidationFunction } from '../../../../common/runtime_types'; import type { InfraBackendLibs } from '../../../lib/infra_types'; import { getTopLogEntryCategories } from '../../../lib/log_analysis'; import { assertHasInfraMlPlugins } from '../../../utils/request_context'; @@ -29,7 +29,7 @@ export const initGetLogEntryCategoriesRoute = ({ framework }: InfraBackendLibs) version: '1', validate: { request: { - body: createValidationFunction( + body: createRouteValidationFunction( logAnalysisResultsV1.getLogEntryCategoriesRequestPayloadRT ), }, diff --git a/x-pack/plugins/observability_solution/infra/server/routes/log_analysis/results/log_entry_category_datasets.ts b/x-pack/plugins/observability_solution/infra/server/routes/log_analysis/results/log_entry_category_datasets.ts index 1c62b67091a56..c480378330bf0 100644 --- a/x-pack/plugins/observability_solution/infra/server/routes/log_analysis/results/log_entry_category_datasets.ts +++ b/x-pack/plugins/observability_solution/infra/server/routes/log_analysis/results/log_entry_category_datasets.ts @@ -7,8 +7,8 @@ import Boom from '@hapi/boom'; +import { createRouteValidationFunction } from '@kbn/io-ts-utils'; import { logAnalysisResultsV1 } from '../../../../common/http_api'; -import { createValidationFunction } from '../../../../common/runtime_types'; import type { InfraBackendLibs } from '../../../lib/infra_types'; import { getLogEntryCategoryDatasets } from '../../../lib/log_analysis'; import { assertHasInfraMlPlugins } from '../../../utils/request_context'; @@ -29,7 +29,7 @@ export const initGetLogEntryCategoryDatasetsRoute = ({ framework }: InfraBackend version: '1', validate: { request: { - body: createValidationFunction( + body: createRouteValidationFunction( logAnalysisResultsV1.getLogEntryCategoryDatasetsRequestPayloadRT ), }, diff --git a/x-pack/plugins/observability_solution/infra/server/routes/log_analysis/results/log_entry_category_datasets_stats.ts b/x-pack/plugins/observability_solution/infra/server/routes/log_analysis/results/log_entry_category_datasets_stats.ts index a3ea9356a4ac3..57a824cedc005 100644 --- a/x-pack/plugins/observability_solution/infra/server/routes/log_analysis/results/log_entry_category_datasets_stats.ts +++ b/x-pack/plugins/observability_solution/infra/server/routes/log_analysis/results/log_entry_category_datasets_stats.ts @@ -6,9 +6,9 @@ */ import Boom from '@hapi/boom'; +import { createRouteValidationFunction } from '@kbn/io-ts-utils'; import { logAnalysisResultsV1 } from '../../../../common/http_api'; -import { createValidationFunction } from '../../../../common/runtime_types'; import type { InfraBackendLibs } from '../../../lib/infra_types'; import { getLatestLogEntriesCategoriesDatasetsStats } from '../../../lib/log_analysis'; import { isMlPrivilegesError } from '../../../lib/log_analysis/errors'; @@ -29,7 +29,7 @@ export const initGetLogEntryCategoryDatasetsStatsRoute = ({ framework }: InfraBa version: '1', validate: { request: { - body: createValidationFunction( + body: createRouteValidationFunction( logAnalysisResultsV1.getLatestLogEntryCategoryDatasetsStatsRequestPayloadRT ), }, diff --git a/x-pack/plugins/observability_solution/infra/server/routes/log_analysis/results/log_entry_category_examples.ts b/x-pack/plugins/observability_solution/infra/server/routes/log_analysis/results/log_entry_category_examples.ts index c80aed6eab0fb..a6602fab8b4ef 100644 --- a/x-pack/plugins/observability_solution/infra/server/routes/log_analysis/results/log_entry_category_examples.ts +++ b/x-pack/plugins/observability_solution/infra/server/routes/log_analysis/results/log_entry_category_examples.ts @@ -6,9 +6,9 @@ */ import Boom from '@hapi/boom'; +import { createRouteValidationFunction } from '@kbn/io-ts-utils'; import { logAnalysisResultsV1 } from '../../../../common/http_api'; -import { createValidationFunction } from '../../../../common/runtime_types'; import type { InfraBackendLibs } from '../../../lib/infra_types'; import { getLogEntryCategoryExamples } from '../../../lib/log_analysis'; import { isMlPrivilegesError } from '../../../lib/log_analysis/errors'; @@ -32,7 +32,7 @@ export const initGetLogEntryCategoryExamplesRoute = ({ version: '1', validate: { request: { - body: createValidationFunction( + body: createRouteValidationFunction( logAnalysisResultsV1.getLogEntryCategoryExamplesRequestPayloadRT ), }, diff --git a/x-pack/plugins/observability_solution/infra/server/routes/log_analysis/results/log_entry_examples.ts b/x-pack/plugins/observability_solution/infra/server/routes/log_analysis/results/log_entry_examples.ts index 8be303ca01f8d..b40463c0538af 100644 --- a/x-pack/plugins/observability_solution/infra/server/routes/log_analysis/results/log_entry_examples.ts +++ b/x-pack/plugins/observability_solution/infra/server/routes/log_analysis/results/log_entry_examples.ts @@ -6,9 +6,9 @@ */ import Boom from '@hapi/boom'; +import { createRouteValidationFunction } from '@kbn/io-ts-utils'; import { logAnalysisResultsV1 } from '../../../../common/http_api'; -import { createValidationFunction } from '../../../../common/runtime_types'; import { InfraBackendLibs } from '../../../lib/infra_types'; import { getLogEntryExamples } from '../../../lib/log_analysis'; import { isMlPrivilegesError } from '../../../lib/log_analysis/errors'; @@ -32,7 +32,7 @@ export const initGetLogEntryExamplesRoute = ({ version: '1', validate: { request: { - body: createValidationFunction( + body: createRouteValidationFunction( logAnalysisResultsV1.getLogEntryExamplesRequestPayloadRT ), }, diff --git a/x-pack/plugins/observability_solution/infra/server/routes/log_analysis/validation/datasets.ts b/x-pack/plugins/observability_solution/infra/server/routes/log_analysis/validation/datasets.ts index 00ad8b951edd4..b4db339efc7b2 100644 --- a/x-pack/plugins/observability_solution/infra/server/routes/log_analysis/validation/datasets.ts +++ b/x-pack/plugins/observability_solution/infra/server/routes/log_analysis/validation/datasets.ts @@ -8,9 +8,9 @@ import Boom from '@hapi/boom'; import type * as estypes from '@elastic/elasticsearch/lib/api/typesWithBodyKey'; +import { createRouteValidationFunction } from '@kbn/io-ts-utils'; import { InfraBackendLibs } from '../../../lib/infra_types'; -import { createValidationFunction } from '../../../../common/runtime_types'; import { logAnalysisValidationV1 } from '../../../../common/http_api'; export const initValidateLogAnalysisDatasetsRoute = ({ @@ -31,7 +31,7 @@ export const initValidateLogAnalysisDatasetsRoute = ({ version: '1', validate: { request: { - body: createValidationFunction( + body: createRouteValidationFunction( logAnalysisValidationV1.validateLogEntryDatasetsRequestPayloadRT ), }, diff --git a/x-pack/plugins/observability_solution/infra/server/routes/log_analysis/validation/indices.ts b/x-pack/plugins/observability_solution/infra/server/routes/log_analysis/validation/indices.ts index 096ea2e7dd8dd..d541d0b67d59e 100644 --- a/x-pack/plugins/observability_solution/infra/server/routes/log_analysis/validation/indices.ts +++ b/x-pack/plugins/observability_solution/infra/server/routes/log_analysis/validation/indices.ts @@ -11,9 +11,9 @@ import { pipe } from 'fp-ts/lib/pipeable'; import { fold } from 'fp-ts/lib/Either'; import { identity } from 'fp-ts/lib/function'; import { schema } from '@kbn/config-schema'; +import { throwErrors } from '@kbn/io-ts-utils'; import { InfraBackendLibs } from '../../../lib/infra_types'; -import { throwErrors } from '../../../../common/runtime_types'; import { logAnalysisValidationV1 } from '../../../../common/http_api'; const escapeHatch = schema.object({}, { unknowns: 'allow' }); diff --git a/x-pack/plugins/observability_solution/infra/server/routes/metadata/index.ts b/x-pack/plugins/observability_solution/infra/server/routes/metadata/index.ts index c452069855265..c71bbadb4e69e 100644 --- a/x-pack/plugins/observability_solution/infra/server/routes/metadata/index.ts +++ b/x-pack/plugins/observability_solution/infra/server/routes/metadata/index.ts @@ -11,6 +11,7 @@ import { get } from 'lodash'; import { pipe } from 'fp-ts/lib/pipeable'; import { fold } from 'fp-ts/lib/Either'; import { identity } from 'fp-ts/lib/function'; +import { throwErrors } from '@kbn/io-ts-utils'; import { InfraMetadataFeature, InfraMetadataRequestRT, @@ -21,7 +22,6 @@ import { getMetricMetadata } from './lib/get_metric_metadata'; import { pickFeatureName } from './lib/pick_feature_name'; import { getCloudMetricsMetadata } from './lib/get_cloud_metric_metadata'; import { getNodeInfo } from './lib/get_node_info'; -import { throwErrors } from '../../../common/runtime_types'; const escapeHatch = schema.object({}, { unknowns: 'allow' }); diff --git a/x-pack/plugins/observability_solution/infra/server/routes/metrics_api/index.ts b/x-pack/plugins/observability_solution/infra/server/routes/metrics_api/index.ts index 5c0569d6e7a94..f84e624ce6a46 100644 --- a/x-pack/plugins/observability_solution/infra/server/routes/metrics_api/index.ts +++ b/x-pack/plugins/observability_solution/infra/server/routes/metrics_api/index.ts @@ -10,8 +10,8 @@ import { pipe } from 'fp-ts/lib/pipeable'; import { fold } from 'fp-ts/lib/Either'; import { identity } from 'fp-ts/lib/function'; import { schema } from '@kbn/config-schema'; +import { throwErrors } from '@kbn/io-ts-utils'; import { InfraBackendLibs } from '../../lib/infra_types'; -import { throwErrors } from '../../../common/runtime_types'; import { createSearchClient } from '../../lib/create_search_client'; import { query } from '../../lib/metrics'; import { MetricsAPIRequestRT, MetricsAPIResponseRT } from '../../../common/http_api'; diff --git a/x-pack/plugins/observability_solution/infra/server/routes/metrics_explorer/index.ts b/x-pack/plugins/observability_solution/infra/server/routes/metrics_explorer/index.ts deleted file mode 100644 index d61dcfad97494..0000000000000 --- a/x-pack/plugins/observability_solution/infra/server/routes/metrics_explorer/index.ts +++ /dev/null @@ -1,85 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the Elastic License - * 2.0; you may not use this file except in compliance with the Elastic License - * 2.0. - */ - -import Boom from '@hapi/boom'; -import { pipe } from 'fp-ts/lib/pipeable'; -import { fold } from 'fp-ts/lib/Either'; -import { identity } from 'fp-ts/lib/function'; -import { schema } from '@kbn/config-schema'; -import { InfraBackendLibs } from '../../lib/infra_types'; -import { - metricsExplorerRequestBodyRT, - metricsExplorerResponseRT, - MetricsExplorerPageInfo, -} from '../../../common/http_api'; -import { throwErrors } from '../../../common/runtime_types'; -import { convertRequestToMetricsAPIOptions } from './lib/convert_request_to_metrics_api_options'; -import { createSearchClient } from '../../lib/create_search_client'; -import { findIntervalForMetrics } from './lib/find_interval_for_metrics'; -import { query } from '../../lib/metrics'; -import { queryTotalGroupings } from './lib/query_total_groupings'; -import { transformSeries } from './lib/transform_series'; - -const escapeHatch = schema.object({}, { unknowns: 'allow' }); - -export const initMetricExplorerRoute = (libs: InfraBackendLibs) => { - const { framework } = libs; - framework.registerRoute( - { - method: 'post', - path: '/api/infra/metrics_explorer', - validate: { - body: escapeHatch, - }, - }, - async (requestContext, request, response) => { - const options = pipe( - metricsExplorerRequestBodyRT.decode(request.body), - fold(throwErrors(Boom.badRequest), identity) - ); - - const client = createSearchClient(requestContext, framework); - const interval = await findIntervalForMetrics(client, options); - - const optionsWithInterval = options.forceInterval - ? options - : { - ...options, - timerange: { - ...options.timerange, - interval: interval ? `>=${interval}s` : options.timerange.interval, - }, - }; - - const metricsApiOptions = convertRequestToMetricsAPIOptions(optionsWithInterval); - const metricsApiResponse = await query(client, metricsApiOptions); - const totalGroupings = await queryTotalGroupings(client, metricsApiOptions); - const hasGroupBy = - Array.isArray(metricsApiOptions.groupBy) && metricsApiOptions.groupBy.length > 0; - - const pageInfo: MetricsExplorerPageInfo = { - total: totalGroupings, - afterKey: null, - }; - - if (metricsApiResponse.info.afterKey) { - pageInfo.afterKey = metricsApiResponse.info.afterKey; - } - - // If we have a groupBy but there are ZERO groupings returned then we need to - // return an empty array. Otherwise we transform the series to match the current schema. - const series = - hasGroupBy && totalGroupings === 0 - ? [] - : metricsApiResponse.series.map(transformSeries(hasGroupBy)); - - return response.ok({ - body: metricsExplorerResponseRT.encode({ series, pageInfo }), - }); - } - ); -}; diff --git a/x-pack/plugins/observability_solution/infra/server/routes/metrics_explorer/lib/convert_metric_to_metrics_api_metric.test.ts b/x-pack/plugins/observability_solution/infra/server/routes/metrics_explorer/lib/convert_metric_to_metrics_api_metric.test.ts deleted file mode 100644 index 6e391aeb45246..0000000000000 --- a/x-pack/plugins/observability_solution/infra/server/routes/metrics_explorer/lib/convert_metric_to_metrics_api_metric.test.ts +++ /dev/null @@ -1,89 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the Elastic License - * 2.0; you may not use this file except in compliance with the Elastic License - * 2.0. - */ - -import { convertMetricToMetricsAPIMetric } from './convert_metric_to_metrics_api_metric'; -import { - MetricsExplorerMetric, - MetricsAPIMetric, - MetricsExplorerAggregation, -} from '../../../../common/http_api'; - -describe('convertMetricToMetricsAPIMetric(metric, index)', () => { - const runTest = (metric: MetricsExplorerMetric, aggregation: MetricsAPIMetric) => - it(`should convert ${metric.aggregation}`, () => { - expect(convertMetricToMetricsAPIMetric(metric, 1)).toEqual(aggregation); - }); - - const runTestForBasic = (aggregation: MetricsExplorerAggregation) => - runTest( - { aggregation, field: 'system.cpu.user.pct' }, - { - id: 'metric_1', - aggregations: { metric_1: { [aggregation]: { field: 'system.cpu.user.pct' } } }, - } - ); - - runTestForBasic('avg'); - runTestForBasic('sum'); - runTestForBasic('max'); - runTestForBasic('min'); - runTestForBasic('cardinality'); - - runTest( - { aggregation: 'rate', field: 'test.field.that.is.a.counter' }, - { - id: 'metric_1', - aggregations: { - metric_1_max: { - max: { - field: 'test.field.that.is.a.counter', - }, - }, - metric_1_deriv: { - derivative: { - buckets_path: 'metric_1_max', - gap_policy: 'skip', - unit: '1s', - }, - }, - metric_1: { - bucket_script: { - buckets_path: { - value: 'metric_1_deriv[normalized_value]', - }, - gap_policy: 'skip', - script: { - lang: 'painless', - source: 'params.value > 0.0 ? params.value : 0.0', - }, - }, - }, - }, - } - ); - - runTest( - { aggregation: 'count' }, - { - id: 'metric_1', - aggregations: { - metric_1: { - bucket_script: { - buckets_path: { - count: '_count', - }, - gap_policy: 'skip', - script: { - lang: 'expression', - source: 'count * 1', - }, - }, - }, - }, - } - ); -}); diff --git a/x-pack/plugins/observability_solution/infra/server/routes/metrics_explorer/lib/convert_metric_to_metrics_api_metric.ts b/x-pack/plugins/observability_solution/infra/server/routes/metrics_explorer/lib/convert_metric_to_metrics_api_metric.ts deleted file mode 100644 index 12ecca8d45ee8..0000000000000 --- a/x-pack/plugins/observability_solution/infra/server/routes/metrics_explorer/lib/convert_metric_to_metrics_api_metric.ts +++ /dev/null @@ -1,82 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the Elastic License - * 2.0; you may not use this file except in compliance with the Elastic License - * 2.0. - */ - -import { isEmpty } from 'lodash'; -import { networkTraffic } from '@kbn/metrics-data-access-plugin/common'; -import { MetricsAPIMetric, MetricsExplorerMetric } from '../../../../common/http_api'; -import { createCustomMetricsAggregations } from '../../../lib/create_custom_metrics_aggregations'; - -export const convertMetricToMetricsAPIMetric = ( - metric: MetricsExplorerMetric, - index: number -): MetricsAPIMetric | undefined => { - const id = `metric_${index}`; - if (metric.aggregation === 'rate' && metric.field) { - return { - id, - aggregations: networkTraffic(id, metric.field), - }; - } - - if (['p95', 'p99'].includes(metric.aggregation) && metric.field) { - const percent = metric.aggregation === 'p95' ? 95 : 99; - return { - id, - aggregations: { - [id]: { - percentiles: { - field: metric.field, - percents: [percent], - }, - }, - }, - }; - } - - if (['max', 'min', 'avg', 'cardinality', 'sum'].includes(metric.aggregation) && metric.field) { - return { - id, - aggregations: { - [id]: { - [metric.aggregation]: { field: metric.field }, - }, - }, - }; - } - - if (metric.aggregation === 'count') { - return { - id, - aggregations: { - [id]: { - bucket_script: { - buckets_path: { count: '_count' }, - script: { - source: 'count * 1', - lang: 'expression', - }, - gap_policy: 'skip', - }, - }, - }, - }; - } - - if (metric.aggregation === 'custom' && metric.custom_metrics) { - const customMetricAggregations = createCustomMetricsAggregations( - id, - metric.custom_metrics, - metric.equation - ); - if (!isEmpty(customMetricAggregations)) { - return { - id, - aggregations: customMetricAggregations, - }; - } - } -}; diff --git a/x-pack/plugins/observability_solution/infra/server/routes/metrics_explorer/lib/convert_request_to_metrics_api_options.test.ts b/x-pack/plugins/observability_solution/infra/server/routes/metrics_explorer/lib/convert_request_to_metrics_api_options.test.ts deleted file mode 100644 index fdf58fa848f8f..0000000000000 --- a/x-pack/plugins/observability_solution/infra/server/routes/metrics_explorer/lib/convert_request_to_metrics_api_options.test.ts +++ /dev/null @@ -1,135 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the Elastic License - * 2.0; you may not use this file except in compliance with the Elastic License - * 2.0. - */ - -import { MetricsExplorerRequestBody, MetricsAPIRequest } from '../../../../common/http_api'; -import { convertRequestToMetricsAPIOptions } from './convert_request_to_metrics_api_options'; - -const BASE_REQUEST: MetricsExplorerRequestBody = { - timerange: { - from: new Date('2020-01-01T00:00:00Z').getTime(), - to: new Date('2020-01-01T01:00:00Z').getTime(), - interval: '1m', - }, - limit: 9, - indexPattern: 'metrics-*', - metrics: [{ aggregation: 'avg', field: 'system.cpu.user.pct' }], -}; - -const BASE_METRICS_UI_OPTIONS: MetricsAPIRequest = { - timerange: { - from: new Date('2020-01-01T00:00:00Z').getTime(), - to: new Date('2020-01-01T01:00:00Z').getTime(), - interval: '1m', - }, - limit: 9, - dropPartialBuckets: true, - indexPattern: 'metrics-*', - metrics: [ - { id: 'metric_0', aggregations: { metric_0: { avg: { field: 'system.cpu.user.pct' } } } }, - ], - includeTimeseries: true, -}; - -describe('convertRequestToMetricsAPIOptions', () => { - it('should just work', () => { - expect(convertRequestToMetricsAPIOptions(BASE_REQUEST)).toEqual(BASE_METRICS_UI_OPTIONS); - }); - - it('should work with string afterKeys', () => { - expect(convertRequestToMetricsAPIOptions({ ...BASE_REQUEST, afterKey: 'host.name' })).toEqual({ - ...BASE_METRICS_UI_OPTIONS, - afterKey: { groupBy0: 'host.name' }, - }); - }); - - it('should work with afterKey objects', () => { - const afterKey = { groupBy0: 'host.name', groupBy1: 'cloud.availability_zone' }; - expect( - convertRequestToMetricsAPIOptions({ - ...BASE_REQUEST, - afterKey, - }) - ).toEqual({ - ...BASE_METRICS_UI_OPTIONS, - afterKey, - }); - }); - - it('should work with string group bys', () => { - expect( - convertRequestToMetricsAPIOptions({ - ...BASE_REQUEST, - groupBy: 'host.name', - }) - ).toEqual({ - ...BASE_METRICS_UI_OPTIONS, - groupBy: ['host.name'], - }); - }); - - it('should work with group by arrays', () => { - expect( - convertRequestToMetricsAPIOptions({ - ...BASE_REQUEST, - groupBy: ['host.name', 'cloud.availability_zone'], - }) - ).toEqual({ - ...BASE_METRICS_UI_OPTIONS, - groupBy: ['host.name', 'cloud.availability_zone'], - }); - }); - - it('should work with filterQuery json string', () => { - const filter = { bool: { filter: [{ match: { 'host.name': 'example-01' } }] } }; - expect( - convertRequestToMetricsAPIOptions({ - ...BASE_REQUEST, - filterQuery: JSON.stringify(filter), - }) - ).toEqual({ - ...BASE_METRICS_UI_OPTIONS, - filters: [filter], - }); - }); - - it('should work with filterQuery as Lucene expressions', () => { - const filter = `host.name: 'example-01'`; - expect( - convertRequestToMetricsAPIOptions({ - ...BASE_REQUEST, - filterQuery: filter, - }) - ).toEqual({ - ...BASE_METRICS_UI_OPTIONS, - filters: [{ query_string: { query: filter, analyze_wildcard: true } }], - }); - }); - - it('should work with empty metrics', () => { - expect( - convertRequestToMetricsAPIOptions({ - ...BASE_REQUEST, - metrics: [], - }) - ).toEqual({ - ...BASE_METRICS_UI_OPTIONS, - metrics: [], - }); - }); - - it('should work with empty field', () => { - expect( - convertRequestToMetricsAPIOptions({ - ...BASE_REQUEST, - metrics: [{ aggregation: 'avg' }], - }) - ).toEqual({ - ...BASE_METRICS_UI_OPTIONS, - metrics: [], - }); - }); -}); diff --git a/x-pack/plugins/observability_solution/infra/server/routes/metrics_explorer/lib/convert_request_to_metrics_api_options.ts b/x-pack/plugins/observability_solution/infra/server/routes/metrics_explorer/lib/convert_request_to_metrics_api_options.ts deleted file mode 100644 index 144be0565e298..0000000000000 --- a/x-pack/plugins/observability_solution/infra/server/routes/metrics_explorer/lib/convert_request_to_metrics_api_options.ts +++ /dev/null @@ -1,62 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the Elastic License - * 2.0; you may not use this file except in compliance with the Elastic License - * 2.0. - */ - -import { isObject, isArray } from 'lodash'; -import { - MetricsAPIRequest, - MetricsExplorerRequestBody, - afterKeyObjectRT, -} from '../../../../common/http_api'; -import { convertMetricToMetricsAPIMetric } from './convert_metric_to_metrics_api_metric'; - -export const convertRequestToMetricsAPIOptions = ( - options: MetricsExplorerRequestBody -): MetricsAPIRequest => { - const metrics = options.metrics - .map(convertMetricToMetricsAPIMetric) - .filter((m: M): m is NonNullable => !!m); - const { limit, timerange, indexPattern } = options; - - const metricsApiOptions: MetricsAPIRequest = { - timerange, - indexPattern, - limit, - metrics, - dropPartialBuckets: true, - includeTimeseries: true, - }; - - if (options.afterKey) { - metricsApiOptions.afterKey = afterKeyObjectRT.is(options.afterKey) - ? options.afterKey - : { groupBy0: options.afterKey }; - } - - if (options.groupBy) { - metricsApiOptions.groupBy = isArray(options.groupBy) ? options.groupBy : [options.groupBy]; - } - - if (options.filterQuery) { - try { - const filterObject = JSON.parse(options.filterQuery); - if (isObject(filterObject)) { - metricsApiOptions.filters = [filterObject as any]; - } - } catch (err) { - metricsApiOptions.filters = [ - { - query_string: { - query: options.filterQuery, - analyze_wildcard: true, - }, - }, - ]; - } - } - - return metricsApiOptions; -}; diff --git a/x-pack/plugins/observability_solution/infra/server/routes/metrics_explorer/lib/find_interval_for_metrics.ts b/x-pack/plugins/observability_solution/infra/server/routes/metrics_explorer/lib/find_interval_for_metrics.ts deleted file mode 100644 index 62e99cf8ffd32..0000000000000 --- a/x-pack/plugins/observability_solution/infra/server/routes/metrics_explorer/lib/find_interval_for_metrics.ts +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the Elastic License - * 2.0; you may not use this file except in compliance with the Elastic License - * 2.0. - */ - -import { uniq } from 'lodash'; -import LRU from 'lru-cache'; -import { MetricsExplorerRequestBody } from '../../../../common/http_api'; -import { getDatasetForField } from './get_dataset_for_field'; -import { calculateMetricInterval } from '../../../utils/calculate_metric_interval'; -import { ESSearchClient } from '../../../lib/metrics/types'; - -const cache = new LRU({ - max: 100, - maxAge: 15 * 60 * 1000, -}); - -export const findIntervalForMetrics = async ( - client: ESSearchClient, - options: MetricsExplorerRequestBody -) => { - const fields = uniq( - options.metrics.map((metric) => (metric.field ? metric.field : null)).filter((f) => f) - ) as string[]; - - const cacheKey = fields.sort().join(':'); - - if (cache.has(cacheKey)) return cache.get(cacheKey); - - if (fields.length === 0) { - return 60; - } - - const modules = await Promise.all( - fields.map( - async (field) => - await getDatasetForField(client, field as string, options.indexPattern, options.timerange) - ) - ); - - const interval = calculateMetricInterval( - client, - { - indexPattern: options.indexPattern, - timerange: options.timerange, - }, - modules.filter(Boolean) as string[] - ); - cache.set(cacheKey, interval); - return interval; -}; diff --git a/x-pack/plugins/observability_solution/infra/server/routes/metrics_explorer/lib/query_total_grouping.test.ts b/x-pack/plugins/observability_solution/infra/server/routes/metrics_explorer/lib/query_total_grouping.test.ts deleted file mode 100644 index 1844a994a9375..0000000000000 --- a/x-pack/plugins/observability_solution/infra/server/routes/metrics_explorer/lib/query_total_grouping.test.ts +++ /dev/null @@ -1,128 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the Elastic License - * 2.0; you may not use this file except in compliance with the Elastic License - * 2.0. - */ - -import { MetricsAPIRequest } from '../../../../common/http_api'; -import { queryTotalGroupings } from './query_total_groupings'; - -describe('queryTotalGroupings', () => { - const ESSearchClientMock = jest.fn().mockReturnValue({}); - const defaultOptions: MetricsAPIRequest = { - timerange: { - from: 1615972672011, - interval: '>=10s', - to: 1615976272012, - }, - indexPattern: 'testIndexPattern', - metrics: [], - dropPartialBuckets: true, - groupBy: ['testField'], - includeTimeseries: true, - }; - - beforeEach(() => { - jest.clearAllMocks(); - }); - - it('should return 0 when there is no groupBy', async () => { - const { groupBy, ...options } = defaultOptions; - - const response = await queryTotalGroupings(ESSearchClientMock, options); - expect(response).toBe(0); - }); - - it('should return 0 when there is groupBy is empty', async () => { - const options = { - ...defaultOptions, - groupBy: [], - }; - - const response = await queryTotalGroupings(ESSearchClientMock, options); - expect(response).toBe(0); - }); - - it('should query ES with a timerange', async () => { - await queryTotalGroupings(ESSearchClientMock, defaultOptions); - - expect(ESSearchClientMock.mock.calls[0][0].body.query.bool.filter).toContainEqual({ - range: { - '@timestamp': { - gte: 1615972672011, - lte: 1615976272012, - format: 'epoch_millis', - }, - }, - }); - }); - - it('should query ES with a exist fields', async () => { - const options = { - ...defaultOptions, - groupBy: ['testField1', 'testField2'], - }; - - await queryTotalGroupings(ESSearchClientMock, options); - - expect(ESSearchClientMock.mock.calls[0][0].body.query.bool.filter).toContainEqual({ - exists: { field: 'testField1' }, - }); - - expect(ESSearchClientMock.mock.calls[0][0].body.query.bool.filter).toContainEqual({ - exists: { field: 'testField2' }, - }); - }); - - it('should query ES with a query filter', async () => { - const options = { - ...defaultOptions, - filters: [ - { - bool: { - should: [{ match_phrase: { field1: 'value1' } }], - minimum_should_match: 1, - }, - }, - ], - }; - - await queryTotalGroupings(ESSearchClientMock, options); - - expect(ESSearchClientMock.mock.calls[0][0].body.query.bool.filter).toContainEqual({ - bool: { - should: [ - { - match_phrase: { - field1: 'value1', - }, - }, - ], - minimum_should_match: 1, - }, - }); - }); - - it('should return 0 when there are no aggregations in the response', async () => { - const clientMock = jest.fn().mockReturnValue({}); - - const response = await queryTotalGroupings(clientMock, defaultOptions); - - expect(response).toBe(0); - }); - - it('should return the value of the aggregation in the response', async () => { - const clientMock = jest.fn().mockReturnValue({ - aggregations: { - count: { - value: 10, - }, - }, - }); - - const response = await queryTotalGroupings(clientMock, defaultOptions); - - expect(response).toBe(10); - }); -}); diff --git a/x-pack/plugins/observability_solution/infra/server/routes/metrics_explorer/lib/query_total_groupings.ts b/x-pack/plugins/observability_solution/infra/server/routes/metrics_explorer/lib/query_total_groupings.ts deleted file mode 100644 index b2e22752609c1..0000000000000 --- a/x-pack/plugins/observability_solution/infra/server/routes/metrics_explorer/lib/query_total_groupings.ts +++ /dev/null @@ -1,67 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the Elastic License - * 2.0; you may not use this file except in compliance with the Elastic License - * 2.0. - */ - -import { isArray } from 'lodash'; -import { TIMESTAMP_FIELD } from '../../../../common/constants'; -import { MetricsAPIRequest } from '../../../../common/http_api'; -import { ESSearchClient } from '../../../lib/metrics/types'; - -interface GroupingResponse { - count: { - value: number; - }; -} - -export const queryTotalGroupings = async ( - client: ESSearchClient, - options: MetricsAPIRequest -): Promise => { - if (!options.groupBy || (isArray(options.groupBy) && options.groupBy.length === 0)) { - return Promise.resolve(0); - } - - let filters: Array> = [ - { - range: { - [TIMESTAMP_FIELD]: { - gte: options.timerange.from, - lte: options.timerange.to, - format: 'epoch_millis', - }, - }, - }, - ...options.groupBy.map((field) => ({ exists: { field } })), - ]; - - if (options.filters) { - filters = [...filters, ...options.filters]; - } - - const params = { - allow_no_indices: true, - ignore_unavailable: true, - index: options.indexPattern, - body: { - size: 0, - query: { - bool: { - filter: filters, - }, - }, - aggs: { - count: { - cardinality: { - script: options.groupBy.map((field) => `doc['${field}'].value`).join('+'), - }, - }, - }, - }, - }; - - const response = await client<{}, GroupingResponse>(params); - return response.aggregations?.count.value ?? 0; -}; diff --git a/x-pack/plugins/observability_solution/infra/server/routes/metrics_explorer/lib/transform_series.ts b/x-pack/plugins/observability_solution/infra/server/routes/metrics_explorer/lib/transform_series.ts deleted file mode 100644 index 6b876887bd568..0000000000000 --- a/x-pack/plugins/observability_solution/infra/server/routes/metrics_explorer/lib/transform_series.ts +++ /dev/null @@ -1,27 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the Elastic License - * 2.0; you may not use this file except in compliance with the Elastic License - * 2.0. - */ - -import { MetricsAPISeries, MetricsExplorerSeries } from '../../../../common/http_api'; - -export const transformSeries = - (hasGroupBy: boolean) => - (series: MetricsAPISeries): MetricsExplorerSeries => { - const id = series.keys?.join(' / ') ?? series.id; - return { - ...series, - id, - rows: series.rows.map((row) => { - if (hasGroupBy) { - return { ...row, groupBy: id }; - } - return row; - }), - columns: hasGroupBy - ? [...series.columns, { name: 'groupBy', type: 'string' }] - : series.columns, - }; - }; diff --git a/x-pack/plugins/observability_solution/infra/server/routes/metrics_explorer_views/create_metrics_explorer_view.ts b/x-pack/plugins/observability_solution/infra/server/routes/metrics_explorer_views/create_metrics_explorer_view.ts index 45ff1010a9027..923b14b4bbbc0 100644 --- a/x-pack/plugins/observability_solution/infra/server/routes/metrics_explorer_views/create_metrics_explorer_view.ts +++ b/x-pack/plugins/observability_solution/infra/server/routes/metrics_explorer_views/create_metrics_explorer_view.ts @@ -6,7 +6,7 @@ */ import { isBoom } from '@hapi/boom'; -import { createValidationFunction } from '../../../common/runtime_types'; +import { createRouteValidationFunction } from '@kbn/io-ts-utils'; import { createMetricsExplorerViewRequestPayloadRT, metricsExplorerViewRequestQueryRT, @@ -31,8 +31,8 @@ export const initCreateMetricsExplorerViewRoute = ({ method: 'post', path: METRICS_EXPLORER_VIEW_URL, validate: { - body: createValidationFunction(createMetricsExplorerViewRequestPayloadRT), - query: createValidationFunction(metricsExplorerViewRequestQueryRT), + body: createRouteValidationFunction(createMetricsExplorerViewRequestPayloadRT), + query: createRouteValidationFunction(metricsExplorerViewRequestQueryRT), }, }, async (_requestContext, request, response) => { diff --git a/x-pack/plugins/observability_solution/infra/server/routes/metrics_explorer_views/delete_metrics_explorer_view.ts b/x-pack/plugins/observability_solution/infra/server/routes/metrics_explorer_views/delete_metrics_explorer_view.ts index 05e5723ded707..18aeac4f25b81 100644 --- a/x-pack/plugins/observability_solution/infra/server/routes/metrics_explorer_views/delete_metrics_explorer_view.ts +++ b/x-pack/plugins/observability_solution/infra/server/routes/metrics_explorer_views/delete_metrics_explorer_view.ts @@ -6,7 +6,7 @@ */ import { isBoom } from '@hapi/boom'; -import { createValidationFunction } from '../../../common/runtime_types'; +import { createRouteValidationFunction } from '@kbn/io-ts-utils'; import { metricsExplorerViewRequestParamsRT, METRICS_EXPLORER_VIEW_URL_ENTITY, @@ -29,7 +29,7 @@ export const initDeleteMetricsExplorerViewRoute = ({ method: 'delete', path: METRICS_EXPLORER_VIEW_URL_ENTITY, validate: { - params: createValidationFunction(metricsExplorerViewRequestParamsRT), + params: createRouteValidationFunction(metricsExplorerViewRequestParamsRT), }, }, async (_requestContext, request, response) => { diff --git a/x-pack/plugins/observability_solution/infra/server/routes/metrics_explorer_views/find_metrics_explorer_view.ts b/x-pack/plugins/observability_solution/infra/server/routes/metrics_explorer_views/find_metrics_explorer_view.ts index d915b545de1ee..170bd4821dd7c 100644 --- a/x-pack/plugins/observability_solution/infra/server/routes/metrics_explorer_views/find_metrics_explorer_view.ts +++ b/x-pack/plugins/observability_solution/infra/server/routes/metrics_explorer_views/find_metrics_explorer_view.ts @@ -5,7 +5,7 @@ * 2.0. */ -import { createValidationFunction } from '../../../common/runtime_types'; +import { createRouteValidationFunction } from '@kbn/io-ts-utils'; import { findMetricsExplorerViewResponsePayloadRT, metricsExplorerViewRequestQueryRT, @@ -29,7 +29,7 @@ export const initFindMetricsExplorerViewRoute = ({ method: 'get', path: METRICS_EXPLORER_VIEW_URL, validate: { - query: createValidationFunction(metricsExplorerViewRequestQueryRT), + query: createRouteValidationFunction(metricsExplorerViewRequestQueryRT), }, }, async (_requestContext, request, response) => { diff --git a/x-pack/plugins/observability_solution/infra/server/routes/metrics_explorer_views/get_metrics_explorer_view.ts b/x-pack/plugins/observability_solution/infra/server/routes/metrics_explorer_views/get_metrics_explorer_view.ts index 7582bf22d80e5..425c2634d1a22 100644 --- a/x-pack/plugins/observability_solution/infra/server/routes/metrics_explorer_views/get_metrics_explorer_view.ts +++ b/x-pack/plugins/observability_solution/infra/server/routes/metrics_explorer_views/get_metrics_explorer_view.ts @@ -6,7 +6,7 @@ */ import { isBoom } from '@hapi/boom'; -import { createValidationFunction } from '../../../common/runtime_types'; +import { createRouteValidationFunction } from '@kbn/io-ts-utils'; import { metricsExplorerViewResponsePayloadRT, metricsExplorerViewRequestQueryRT, @@ -31,8 +31,8 @@ export const initGetMetricsExplorerViewRoute = ({ method: 'get', path: METRICS_EXPLORER_VIEW_URL_ENTITY, validate: { - params: createValidationFunction(getMetricsExplorerViewRequestParamsRT), - query: createValidationFunction(metricsExplorerViewRequestQueryRT), + params: createRouteValidationFunction(getMetricsExplorerViewRequestParamsRT), + query: createRouteValidationFunction(metricsExplorerViewRequestQueryRT), }, }, async (_requestContext, request, response) => { diff --git a/x-pack/plugins/observability_solution/infra/server/routes/metrics_explorer_views/update_metrics_explorer_view.ts b/x-pack/plugins/observability_solution/infra/server/routes/metrics_explorer_views/update_metrics_explorer_view.ts index fc7f8ecd78930..336200e35d570 100644 --- a/x-pack/plugins/observability_solution/infra/server/routes/metrics_explorer_views/update_metrics_explorer_view.ts +++ b/x-pack/plugins/observability_solution/infra/server/routes/metrics_explorer_views/update_metrics_explorer_view.ts @@ -6,7 +6,7 @@ */ import { isBoom } from '@hapi/boom'; -import { createValidationFunction } from '../../../common/runtime_types'; +import { createRouteValidationFunction } from '@kbn/io-ts-utils'; import { metricsExplorerViewRequestParamsRT, metricsExplorerViewRequestQueryRT, @@ -32,9 +32,9 @@ export const initUpdateMetricsExplorerViewRoute = ({ method: 'put', path: METRICS_EXPLORER_VIEW_URL_ENTITY, validate: { - params: createValidationFunction(metricsExplorerViewRequestParamsRT), - query: createValidationFunction(metricsExplorerViewRequestQueryRT), - body: createValidationFunction(updateMetricsExplorerViewRequestPayloadRT), + params: createRouteValidationFunction(metricsExplorerViewRequestParamsRT), + query: createRouteValidationFunction(metricsExplorerViewRequestQueryRT), + body: createRouteValidationFunction(updateMetricsExplorerViewRequestPayloadRT), }, }, async (_requestContext, request, response) => { diff --git a/x-pack/plugins/observability_solution/infra/server/routes/metrics_sources/index.ts b/x-pack/plugins/observability_solution/infra/server/routes/metrics_sources/index.ts index 266369a0ca8e5..f325b0c6b4560 100644 --- a/x-pack/plugins/observability_solution/infra/server/routes/metrics_sources/index.ts +++ b/x-pack/plugins/observability_solution/infra/server/routes/metrics_sources/index.ts @@ -7,7 +7,7 @@ import { schema } from '@kbn/config-schema'; import Boom from '@hapi/boom'; -import { createValidationFunction } from '../../../common/runtime_types'; +import { createRouteValidationFunction } from '@kbn/io-ts-utils'; import { InfraBackendLibs } from '../../lib/infra_types'; import { hasData } from '../../lib/sources/has_data'; import { createSearchClient } from '../../lib/create_search_client'; @@ -124,7 +124,7 @@ export const initMetricsSourceConfigurationRoutes = (libs: InfraBackendLibs) => params: schema.object({ sourceId: schema.string(), }), - body: createValidationFunction(partialMetricsSourceConfigurationReqPayloadRT), + body: createRouteValidationFunction(partialMetricsSourceConfigurationReqPayloadRT), }, }, framework.router.handleLegacyErrors(async (requestContext, request, response) => { diff --git a/x-pack/plugins/observability_solution/infra/server/routes/node_details/index.ts b/x-pack/plugins/observability_solution/infra/server/routes/node_details/index.ts index 56eccbbe160e9..4032104589426 100644 --- a/x-pack/plugins/observability_solution/infra/server/routes/node_details/index.ts +++ b/x-pack/plugins/observability_solution/infra/server/routes/node_details/index.ts @@ -10,6 +10,7 @@ import { schema } from '@kbn/config-schema'; import { pipe } from 'fp-ts/lib/pipeable'; import { fold } from 'fp-ts/lib/Either'; import { identity } from 'fp-ts/lib/function'; +import { throwErrors } from '@kbn/io-ts-utils'; import { InfraBackendLibs } from '../../lib/infra_types'; import { UsageCollector } from '../../usage/usage_collector'; import { InfraMetricsRequestOptions } from '../../lib/adapters/metrics'; @@ -18,7 +19,6 @@ import { NodeDetailsRequestRT, NodeDetailsMetricDataResponseRT, } from '../../../common/http_api/node_details_api'; -import { throwErrors } from '../../../common/runtime_types'; const escapeHatch = schema.object({}, { unknowns: 'allow' }); diff --git a/x-pack/plugins/observability_solution/infra/server/routes/overview/index.ts b/x-pack/plugins/observability_solution/infra/server/routes/overview/index.ts index 9736fd0d7c22e..e750275d1c446 100644 --- a/x-pack/plugins/observability_solution/infra/server/routes/overview/index.ts +++ b/x-pack/plugins/observability_solution/infra/server/routes/overview/index.ts @@ -4,7 +4,7 @@ * 2.0; you may not use this file except in compliance with the Elastic License * 2.0. */ -import { createValidationFunction } from '../../../common/runtime_types'; +import { createRouteValidationFunction } from '@kbn/io-ts-utils'; import { TopNodesRequestRT } from '../../../common/http_api/overview_api'; import { InfraBackendLibs } from '../../lib/infra_types'; import { createSearchClient } from '../../lib/create_search_client'; @@ -18,7 +18,7 @@ export const initOverviewRoute = (libs: InfraBackendLibs) => { method: 'post', path: '/api/metrics/overview/top', validate: { - body: createValidationFunction(TopNodesRequestRT), + body: createRouteValidationFunction(TopNodesRequestRT), }, }, async (requestContext, request, response) => { diff --git a/x-pack/plugins/observability_solution/infra/server/routes/process_list/index.ts b/x-pack/plugins/observability_solution/infra/server/routes/process_list/index.ts index 28fc192c27590..666ade8a4b7b6 100644 --- a/x-pack/plugins/observability_solution/infra/server/routes/process_list/index.ts +++ b/x-pack/plugins/observability_solution/infra/server/routes/process_list/index.ts @@ -10,8 +10,8 @@ import { pipe } from 'fp-ts/lib/pipeable'; import { fold } from 'fp-ts/lib/Either'; import { identity } from 'fp-ts/lib/function'; import { schema } from '@kbn/config-schema'; +import { throwErrors } from '@kbn/io-ts-utils'; import { InfraBackendLibs } from '../../lib/infra_types'; -import { throwErrors } from '../../../common/runtime_types'; import { createSearchClient } from '../../lib/create_search_client'; import { getProcessList } from '../../lib/host_details/process_list'; import { getProcessListChart } from '../../lib/host_details/process_list_chart'; diff --git a/x-pack/plugins/observability_solution/infra/server/routes/snapshot/lib/create_timerange_with_interval.ts b/x-pack/plugins/observability_solution/infra/server/routes/snapshot/lib/create_timerange_with_interval.ts index 4d3a45890bedf..14c418141f99b 100644 --- a/x-pack/plugins/observability_solution/infra/server/routes/snapshot/lib/create_timerange_with_interval.ts +++ b/x-pack/plugins/observability_solution/infra/server/routes/snapshot/lib/create_timerange_with_interval.ts @@ -11,7 +11,7 @@ import { MetricsAPITimerange } from '../../../../common/http_api'; import { ESSearchClient } from '../../../lib/metrics/types'; import { calculateMetricInterval } from '../../../utils/calculate_metric_interval'; import { getMetricsAggregations, InfraSnapshotRequestOptions } from './get_metrics_aggregations'; -import { getDatasetForField } from '../../metrics_explorer/lib/get_dataset_for_field'; +import { getDatasetForField } from './get_dataset_for_field'; const DEFAULT_LOOKBACK_SIZE = 5; const createInterval = async (client: ESSearchClient, options: InfraSnapshotRequestOptions) => { diff --git a/x-pack/plugins/observability_solution/infra/server/routes/metrics_explorer/lib/get_dataset_for_field.ts b/x-pack/plugins/observability_solution/infra/server/routes/snapshot/lib/get_dataset_for_field.ts similarity index 100% rename from x-pack/plugins/observability_solution/infra/server/routes/metrics_explorer/lib/get_dataset_for_field.ts rename to x-pack/plugins/observability_solution/infra/server/routes/snapshot/lib/get_dataset_for_field.ts diff --git a/x-pack/plugins/observability_solution/infra/server/services/inventory_views/inventory_views_client.ts b/x-pack/plugins/observability_solution/infra/server/services/inventory_views/inventory_views_client.ts index 78c7007ed1d1a..34df2d68d7787 100644 --- a/x-pack/plugins/observability_solution/infra/server/services/inventory_views/inventory_views_client.ts +++ b/x-pack/plugins/observability_solution/infra/server/services/inventory_views/inventory_views_client.ts @@ -13,6 +13,7 @@ import { SavedObjectsUtils, } from '@kbn/core/server'; import Boom from '@hapi/boom'; +import { decodeOrThrow } from '@kbn/io-ts-utils'; import { inventoryViewAttributesRT, staticInventoryViewAttributes, @@ -23,7 +24,6 @@ import type { InventoryViewRequestQuery, } from '../../../common/http_api/latest'; import type { InventoryView, InventoryViewAttributes } from '../../../common/inventory_views'; -import { decodeOrThrow } from '../../../common/runtime_types'; import type { IInfraSources } from '../../lib/sources'; import { inventoryViewSavedObjectName } from '../../saved_objects/inventory_view'; import { inventoryViewSavedObjectRT } from '../../saved_objects/inventory_view/types'; diff --git a/x-pack/plugins/observability_solution/infra/server/services/metrics_explorer_views/metrics_explorer_views_client.ts b/x-pack/plugins/observability_solution/infra/server/services/metrics_explorer_views/metrics_explorer_views_client.ts index d8f55a9901ad9..f2919ff7cd0a4 100644 --- a/x-pack/plugins/observability_solution/infra/server/services/metrics_explorer_views/metrics_explorer_views_client.ts +++ b/x-pack/plugins/observability_solution/infra/server/services/metrics_explorer_views/metrics_explorer_views_client.ts @@ -13,6 +13,7 @@ import { SavedObjectsUtils, } from '@kbn/core/server'; import Boom from '@hapi/boom'; +import { decodeOrThrow } from '@kbn/io-ts-utils'; import { metricsExplorerViewAttributesRT, staticMetricsExplorerViewAttributes, @@ -29,7 +30,6 @@ import type { MetricsExplorerView, MetricsExplorerViewAttributes, } from '../../../common/metrics_explorer_views'; -import { decodeOrThrow } from '../../../common/runtime_types'; import type { IInfraSources } from '../../lib/sources'; import { metricsExplorerViewSavedObjectName } from '../../saved_objects/metrics_explorer_view'; import { metricsExplorerViewSavedObjectRT } from '../../saved_objects/metrics_explorer_view/types'; diff --git a/x-pack/plugins/observability_solution/infra/server/utils/create_afterkey_handler.ts b/x-pack/plugins/observability_solution/infra/server/utils/create_afterkey_handler.ts deleted file mode 100644 index de797385c7171..0000000000000 --- a/x-pack/plugins/observability_solution/infra/server/utils/create_afterkey_handler.ts +++ /dev/null @@ -1,27 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the Elastic License - * 2.0; you may not use this file except in compliance with the Elastic License - * 2.0. - */ - -import { set } from '@kbn/safer-lodash-set'; -import { InfraDatabaseSearchResponse } from '../lib/adapters/framework'; - -export const createAfterKeyHandler = - ( - optionsAfterKeyPath: string | string[], - afterKeySelector: (input: InfraDatabaseSearchResponse) => any - ) => - ( - options: Options, - response: InfraDatabaseSearchResponse - ): Options => { - if (!response.aggregations) { - return options; - } - const newOptions = { ...options }; - const afterKey = afterKeySelector(response); - set(newOptions, optionsAfterKeyPath, afterKey); - return newOptions; - }; diff --git a/x-pack/plugins/observability_solution/infra/server/utils/get_all_composite_data.ts b/x-pack/plugins/observability_solution/infra/server/utils/get_all_composite_data.ts deleted file mode 100644 index b5b4b731472c4..0000000000000 --- a/x-pack/plugins/observability_solution/infra/server/utils/get_all_composite_data.ts +++ /dev/null @@ -1,52 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the Elastic License - * 2.0; you may not use this file except in compliance with the Elastic License - * 2.0. - */ - -import { TransportResult } from '@elastic/elasticsearch'; -import { InfraDatabaseSearchResponse } from '../lib/adapters/framework'; - -export const getAllCompositeData = async < - Aggregation = undefined, - Bucket = {}, - Options extends object = {} ->( - esClientSearch: ( - options: Options - ) => Promise>>, - options: Options, - bucketSelector: (response: InfraDatabaseSearchResponse<{}, Aggregation>) => Bucket[], - onAfterKey: (options: Options, response: InfraDatabaseSearchResponse<{}, Aggregation>) => Options, - previousBuckets: Bucket[] = [] -): Promise => { - const { body: response } = await esClientSearch(options); - - // Nothing available, return the previous buckets. - if (response.hits?.total.value === 0) { - return previousBuckets; - } - - // if ES doesn't return an aggregations key, something went seriously wrong. - if (!response.aggregations) { - throw new Error('Whoops!, `aggregations` key must always be returned.'); - } - - const currentBuckets = bucketSelector(response); - - // if there are no currentBuckets then we are finished paginating through the results - if (currentBuckets.length === 0) { - return previousBuckets; - } - - // There is possibly more data, concat previous and current buckets and call ourselves recursively. - const newOptions = onAfterKey(options, response); - return getAllCompositeData( - esClientSearch, - newOptions, - bucketSelector, - onAfterKey, - previousBuckets.concat(currentBuckets) - ); -}; diff --git a/x-pack/plugins/observability_solution/infra/server/utils/get_all_metrics_data.ts b/x-pack/plugins/observability_solution/infra/server/utils/get_all_metrics_data.ts deleted file mode 100644 index 6f75d04604119..0000000000000 --- a/x-pack/plugins/observability_solution/infra/server/utils/get_all_metrics_data.ts +++ /dev/null @@ -1,35 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the Elastic License - * 2.0; you may not use this file except in compliance with the Elastic License - * 2.0. - */ - -import { MetricsAPIResponse, MetricsAPISeries } from '../../common/http_api/metrics_api'; - -export const getAllMetricsData = async ( - query: (options: Options) => Promise, - options: Options, - previousBuckets: MetricsAPISeries[] = [] -): Promise => { - const response = await query(options); - - // Nothing available, return the previous buckets. - if (response.series.length === 0) { - return previousBuckets; - } - - const currentBuckets = response.series; - - // if there are no currentBuckets then we are finished paginating through the results - if (!response.info.afterKey) { - return previousBuckets.concat(currentBuckets); - } - - // There is possibly more data, concat previous and current buckets and call ourselves recursively. - const newOptions = { - ...options, - afterKey: response.info.afterKey, - }; - return getAllMetricsData(query, newOptions, previousBuckets.concat(currentBuckets)); -}; diff --git a/x-pack/plugins/observability_solution/infra/server/utils/round_timestamp.ts b/x-pack/plugins/observability_solution/infra/server/utils/round_timestamp.ts deleted file mode 100644 index cd2234ed9eef7..0000000000000 --- a/x-pack/plugins/observability_solution/infra/server/utils/round_timestamp.ts +++ /dev/null @@ -1,16 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the Elastic License - * 2.0; you may not use this file except in compliance with the Elastic License - * 2.0. - */ - -import { Unit } from '@kbn/datemath'; -import moment from 'moment'; - -export const roundTimestamp = (timestamp: number, unit: Unit) => { - const floor = moment(timestamp).startOf(unit).valueOf(); - const ceil = moment(timestamp).add(1, unit).startOf(unit).valueOf(); - if (Math.abs(timestamp - floor) <= Math.abs(timestamp - ceil)) return floor; - return ceil; -}; diff --git a/x-pack/plugins/observability_solution/infra/server/utils/typed_elasticsearch_mappings.ts b/x-pack/plugins/observability_solution/infra/server/utils/typed_elasticsearch_mappings.ts deleted file mode 100644 index e67658a75f6f7..0000000000000 --- a/x-pack/plugins/observability_solution/infra/server/utils/typed_elasticsearch_mappings.ts +++ /dev/null @@ -1,49 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the Elastic License - * 2.0; you may not use this file except in compliance with the Elastic License - * 2.0. - */ - -export type ElasticsearchMappingOf = Type extends string - ? ElasticsearchStringFieldMapping - : Type extends number - ? ElasticsearchNumberFieldMapping - : Type extends boolean - ? ElasticsearchBooleanFieldMapping - : Type extends object[] - ? ElasticsearchNestedFieldMapping - : Type extends {} - ? ElasticsearchObjectFieldMapping - : never; - -export interface ElasticsearchStringFieldMapping { - type: 'keyword' | 'text'; -} - -export interface ElasticsearchBooleanFieldMapping { - type: 'boolean'; -} - -export interface ElasticsearchNumberFieldMapping { - type: - | 'long' - | 'integer' - | 'short' - | 'byte' - | 'double' - | 'float' - | 'half_float' - | 'scaled_float' - | 'date'; -} - -export interface ElasticsearchNestedFieldMapping { - type?: 'nested'; - properties: { [K in keyof Obj[0]]-?: ElasticsearchMappingOf }; -} - -export interface ElasticsearchObjectFieldMapping { - type?: 'object'; - properties: { [K in keyof Obj]-?: ElasticsearchMappingOf }; -} diff --git a/x-pack/plugins/observability_solution/infra/types/eui.d.ts b/x-pack/plugins/observability_solution/infra/types/eui.d.ts deleted file mode 100644 index 6196b6d890d82..0000000000000 --- a/x-pack/plugins/observability_solution/infra/types/eui.d.ts +++ /dev/null @@ -1,32 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the Elastic License - * 2.0; you may not use this file except in compliance with the Elastic License - * 2.0. - */ - -/** - * /!\ These type definitions are temporary until the upstream @elastic/eui - * package includes them. - */ - -import { IconType } from '@elastic/eui'; -import { CommonProps } from '@elastic/eui/src/components/common'; - -declare module '@elastic/eui' { - interface EuiFormControlLayoutIconProps { - type: IconType; - side?: 'left' | 'right'; - onClick?: React.MouseEventHandler; - } - - interface EuiFormControlLayoutClearIconProps { - onClick?: React.MouseEventHandler; - } - - type EuiSizesResponsive = 'xs' | 's' | 'm' | 'l' | 'xl'; - type EuiResponsiveProps = CommonProps & { - children: React.ReactNode; - sizes: EuiSizesResponsive[]; - }; -} diff --git a/x-pack/plugins/observability_solution/investigate/common/index.ts b/x-pack/plugins/observability_solution/investigate/common/index.ts index 1cfdb87f4803a..467a892ca55d1 100644 --- a/x-pack/plugins/observability_solution/investigate/common/index.ts +++ b/x-pack/plugins/observability_solution/investigate/common/index.ts @@ -5,10 +5,13 @@ * 2.0. */ export type { - InvestigateTimeline, + Investigation, + InvestigationRevision, InvestigateWidget, InvestigateWidgetCreate, WorkflowBlock, } from './types'; +export { mergePlainObjects } from './utils/merge_plain_objects'; + export { InvestigateWidgetColumnSpan } from './types'; diff --git a/x-pack/plugins/observability_solution/investigate/common/types.ts b/x-pack/plugins/observability_solution/investigate/common/types.ts index 0f593a9a6cde9..df015960a7d3d 100644 --- a/x-pack/plugins/observability_solution/investigate/common/types.ts +++ b/x-pack/plugins/observability_solution/investigate/common/types.ts @@ -8,10 +8,7 @@ import type { EuiThemeComputed } from '@elastic/eui'; import type { Filter } from '@kbn/es-query'; import type { DeepPartial, PickByValue } from 'utility-types'; - -export interface InvestigateUser { - name: string; -} +import type { AuthenticatedUser } from '@kbn/core/public'; export interface GlobalWidgetParameters { timeRange: { @@ -32,12 +29,19 @@ export enum InvestigateWidgetColumnSpan { Four = 4, } -export interface InvestigateTimeline { +export interface InvestigationRevision { id: string; - title: string; - '@timestamp': number; - user: InvestigateUser; items: InvestigateWidget[]; + parameters: GlobalWidgetParameters; +} + +export interface Investigation { + id: string; + '@timestamp': number; + user: AuthenticatedUser; + revisions: InvestigationRevision[]; + title: string; + revision: string; } export interface InvestigateWidget< @@ -48,7 +52,7 @@ export interface InvestigateWidget< created: number; last_updated: number; type: string; - user: InvestigateUser; + user: AuthenticatedUser; parameters: GlobalWidgetParameters & TParameters; data: TData; title: string; diff --git a/x-pack/plugins/observability_solution/investigate/common/utils/merge_plain_objects.ts b/x-pack/plugins/observability_solution/investigate/common/utils/merge_plain_objects.ts new file mode 100644 index 0000000000000..5a09ab5b427b6 --- /dev/null +++ b/x-pack/plugins/observability_solution/investigate/common/utils/merge_plain_objects.ts @@ -0,0 +1,74 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ +import type { RequiredKeys } from 'utility-types'; +import { isPlainObject, mergeWith, MergeWithCustomizer } from 'lodash'; + +type DeepOverwrite = U extends Record + ? Omit> & { + [K in keyof U]: K extends keyof T ? DeepOverwrite : U[K]; + } + : U extends undefined + ? T + : U; + +type DeepPartialPlainObjects = T extends Record + ? Partial<{ + [TKey in keyof T]: DeepPartialPlainObjects; + }> + : T; + +type Mergable = Record; + +type MergeRecursively = TMergables extends [ + infer THead, + ...infer TTail +] + ? TTail extends Mergable[] + ? DeepOverwrite> + : THead + : TMergables extends [infer THead] + ? THead + : TMergables extends [] + ? {} + : {}; + +const customMergeFunction: MergeWithCustomizer = (value, sourceValue) => { + if (isPlainObject(sourceValue)) { + return mergeWith(value, sourceValue, customMergeFunction); + } + return undefined; +}; + +function mergePlainObjectsOnly(...sources: Mergable[]) { + return mergeWith({}, ...sources.concat(customMergeFunction)); +} + +export function mergePlainObjects | undefined>(t1: T1): T1; + +export function mergePlainObjects>( + t1: T1, + t2: T2 +): MergeRecursively<[T1, T2]>; + +export function mergePlainObjects< + T1 extends Mergable, + T2 extends DeepPartialPlainObjects, + T3 extends DeepPartialPlainObjects +>(t1: T1, t2: T2, t3: T3): MergeRecursively<[T1, T2, T3]>; + +export function mergePlainObjects< + T1 extends Mergable, + T2 extends DeepPartialPlainObjects, + T3 extends DeepPartialPlainObjects, + T4 extends DeepPartialPlainObjects +>(t1: T1, t2: T2, t3: T4): MergeRecursively<[T1, T2, T3, T4]>; + +export function mergePlainObjects(...sources: Array>) { + const merged = mergePlainObjectsOnly(...sources); + + return merged; +} diff --git a/x-pack/plugins/observability_solution/investigate/public/esql_widget/types.ts b/x-pack/plugins/observability_solution/investigate/public/esql_widget/types.ts index 53ae2fcd87c82..d6a41b84dacfe 100644 --- a/x-pack/plugins/observability_solution/investigate/public/esql_widget/types.ts +++ b/x-pack/plugins/observability_solution/investigate/public/esql_widget/types.ts @@ -8,7 +8,6 @@ import type { IconType } from '@elastic/eui'; import type { Ast } from '@kbn/interpreter'; import type { InvestigateWidgetCreate } from '../../common'; -import type { GlobalWidgetParameters } from '../../common/types'; // copied over from the Lens plugin to prevent dependency hell type TableChangeType = 'initial' | 'unchanged' | 'reduced' | 'extended' | 'reorder' | 'layers'; @@ -33,7 +32,6 @@ interface Suggestion { export interface EsqlWidgetParameters { esql: string; suggestion?: Suggestion; - predefined?: Partial; } export type EsqlWidgetCreate = InvestigateWidgetCreate; diff --git a/x-pack/plugins/observability_solution/investigate/public/hooks/use_investigate_widget.tsx b/x-pack/plugins/observability_solution/investigate/public/hooks/use_investigate_widget.tsx new file mode 100644 index 0000000000000..3ace787c71439 --- /dev/null +++ b/x-pack/plugins/observability_solution/investigate/public/hooks/use_investigate_widget.tsx @@ -0,0 +1,30 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ +import { useContext, createContext } from 'react'; +import type { InvestigateWidgetCreate, WorkflowBlock } from '../../common'; + +type UnregisterBlocksFunction = () => void; + +export interface UseInvestigateWidgetApi< + TParameters extends Record = {}, + TData extends Record = {} +> { + onWidgetAdd: (create: InvestigateWidgetCreate) => Promise; + blocks: { + publish: (blocks: WorkflowBlock[]) => UnregisterBlocksFunction; + }; +} + +const InvestigateWidgetApiContext = createContext(undefined); + +export const InvestigateWidgetApiContextProvider = InvestigateWidgetApiContext.Provider; + +export function useInvestigateWidget(): UseInvestigateWidgetApi | undefined { + const context = useContext(InvestigateWidgetApiContext); + + return context; +} diff --git a/x-pack/plugins/observability_solution/investigate/public/hooks/use_investigation/create_new_investigation.ts b/x-pack/plugins/observability_solution/investigate/public/hooks/use_investigation/create_new_investigation.ts new file mode 100644 index 0000000000000..51c0a68c782c8 --- /dev/null +++ b/x-pack/plugins/observability_solution/investigate/public/hooks/use_investigation/create_new_investigation.ts @@ -0,0 +1,41 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import type { AuthenticatedUser } from '@kbn/security-plugin/common'; +import { v4 } from 'uuid'; +import { i18n } from '@kbn/i18n'; +import type { Investigation, InvestigationRevision } from '../../../common'; +import { GlobalWidgetParameters } from '../../../common/types'; + +export function createNewInvestigation({ + id, + user, + globalWidgetParameters, +}: { + id?: string; + user: AuthenticatedUser; + globalWidgetParameters: GlobalWidgetParameters; +}): Investigation { + const revisionId = v4(); + + const revision: InvestigationRevision = { + id: revisionId, + items: [], + parameters: globalWidgetParameters, + }; + + return { + '@timestamp': new Date().getTime(), + user, + id: id ?? v4(), + title: i18n.translate('xpack.investigate.newInvestigationTitle', { + defaultMessage: 'New investigation', + }), + revision: revisionId, + revisions: [revision], + }; +} diff --git a/x-pack/plugins/observability_solution/investigate/public/hooks/use_investigation/index.tsx b/x-pack/plugins/observability_solution/investigate/public/hooks/use_investigation/index.tsx new file mode 100644 index 0000000000000..211171a98db73 --- /dev/null +++ b/x-pack/plugins/observability_solution/investigate/public/hooks/use_investigation/index.tsx @@ -0,0 +1,451 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ +import type { AuthenticatedUser, NotificationsStart } from '@kbn/core/public'; +import { i18n } from '@kbn/i18n'; +import { last, omit, pull } from 'lodash'; +import React, { useCallback, useEffect, useMemo, useRef, useState } from 'react'; +import useObservable from 'react-use/lib/useObservable'; +import { v4 } from 'uuid'; +import type { GlobalWidgetParameters } from '../..'; +import type { + InvestigateWidget, + InvestigateWidgetCreate, + Investigation, + WorkflowBlock, +} from '../../../common'; +import type { WidgetDefinition } from '../../types'; +import { + InvestigateWidgetApiContextProvider, + UseInvestigateWidgetApi, +} from '../use_investigate_widget'; +import { useLocalStorage } from '../use_local_storage'; +import { createNewInvestigation } from './create_new_investigation'; +import { + createInvestigationStore, + StatefulInvestigation, + StatefulInvestigationRevision, +} from './investigation_store'; + +export type RenderableInvestigateWidget = InvestigateWidget & { + loading: boolean; + element: React.ReactNode; +}; + +export type RenderableInvestigationRevision = Omit & { + items: RenderableInvestigateWidget[]; +}; + +export type RenderableInvestigateTimeline = Omit & { + revisions: RenderableInvestigationRevision[]; +}; + +export interface UseInvestigationApi { + startNewInvestigation: (id: string) => void; + loadInvestigation: (id: string) => void; + investigation?: Omit; + revision?: RenderableInvestigationRevision; + isAtLatestRevision: boolean; + isAtEarliestRevision: boolean; + setItemPositions: ( + positions: Array<{ id: string; columns: number; rows: number }> + ) => Promise; + setItemTitle: (id: string, title: string) => Promise; + updateItem: ( + id: string, + cb: (item: InvestigateWidget) => Promise + ) => Promise; + copyItem: (id: string) => Promise; + deleteItem: (id: string) => Promise; + addItem: (options: InvestigateWidgetCreate) => Promise; + lockItem: (id: string) => Promise; + unlockItem: (id: string) => Promise; + setItemParameters: ( + id: string, + parameters: GlobalWidgetParameters & Record + ) => Promise; + setGlobalParameters: (parameters: GlobalWidgetParameters) => Promise; + blocks: WorkflowBlock[]; + setRevision: (revisionId: string) => void; + gotoPreviousRevision: () => Promise; + gotoNextRevision: () => Promise; + setTitle: (title: string) => Promise; + investigations: Investigation[]; + deleteInvestigation: (id: string) => Promise; +} + +function useInvestigationWithoutContext({ + user, + notifications, + widgetDefinitions, + from, + to, +}: { + user: AuthenticatedUser; + notifications: NotificationsStart; + widgetDefinitions: WidgetDefinition[]; + from: string; + to: string; +}): UseInvestigationApi { + const [investigationStore, setInvestigationStore] = useState(() => + createInvestigationStore({ + user, + widgetDefinitions, + investigation: createNewInvestigation({ + user, + id: v4(), + globalWidgetParameters: { + filters: [], + query: { + language: 'kuery', + query: '', + }, + timeRange: { + from, + to, + }, + }, + }), + }) + ); + + const investigation$ = investigationStore.asObservable(); + + const investigation = useObservable(investigation$)?.investigation; + + const currentRevision = useMemo(() => { + return investigation?.revisions.find((revision) => revision.id === investigation.revision); + }, [investigation?.revision, investigation?.revisions]); + + const isAtEarliestRevision = investigation?.revisions[0].id === currentRevision?.id; + + const isAtLatestRevision = last(investigation?.revisions)?.id === currentRevision?.id; + + const [blocksById, setBlocksById] = useState>({}); + + const deleteItem = useCallback( + async (id: string) => { + setBlocksById((prevBlocks) => omit(prevBlocks, id)); + return investigationStore.deleteItem(id); + }, + [investigationStore] + ); + + const deleteItemRef = useRef(deleteItem); + deleteItemRef.current = deleteItem; + + const widgetComponentsById = useRef< + Record> + >({}); + + const itemsWithContext = useMemo(() => { + const unusedComponentIds = Object.keys(widgetComponentsById); + + const nextItemsWithContext = + currentRevision?.items.map((item) => { + let Component = widgetComponentsById.current[item.id]; + if (!Component) { + const id = item.id; + const api: UseInvestigateWidgetApi = { + onWidgetAdd: async (create) => { + return addItemRef.current(create); + }, + blocks: { + publish: (nextBlocks) => { + const nextIds = nextBlocks.map((block) => block.id); + setBlocksById((prevBlocksById) => ({ + ...prevBlocksById, + [id]: (prevBlocksById[id] ?? []).concat(nextBlocks), + })); + return () => { + setBlocksById((prevBlocksById) => ({ + ...prevBlocksById, + [id]: (prevBlocksById[id] ?? []).filter((block) => !nextIds.includes(block.id)), + })); + }; + }, + }, + }; + + const onDelete = () => { + return investigationStore.deleteItem(id); + }; + + const widgetDefinition = widgetDefinitions.find( + (definition) => definition.type === item.type + )!; + + Component = widgetComponentsById.current[id] = (props) => { + return ( + + {widgetDefinition + ? widgetDefinition.render({ + blocks: api.blocks, + onWidgetAdd: api.onWidgetAdd, + onDelete, + widget: props.widget, + }) + : undefined} + + ); + }; + } + + pull(unusedComponentIds, item.id); + + return { + ...item, + Component, + }; + }) ?? []; + + unusedComponentIds.forEach((id) => { + delete widgetComponentsById.current[id]; + }); + + return nextItemsWithContext; + }, [currentRevision?.items, widgetDefinitions, investigationStore]); + + const addItem = useCallback( + async (widget: InvestigateWidgetCreate) => { + try { + const id = v4(); + + setBlocksById((prevBlocksById) => ({ ...prevBlocksById, [id]: [] })); + + await investigationStore.addItem(id, widget); + } catch (error) { + notifications.showErrorDialog({ + title: i18n.translate('xpack.investigate.failedToAddWidget', { + defaultMessage: 'Failed to add widget', + }), + error, + }); + } + }, + [notifications, investigationStore] + ); + + const addItemRef = useRef(addItem); + addItemRef.current = addItem; + + const renderableRevision = useMemo(() => { + return currentRevision + ? { + ...currentRevision, + items: itemsWithContext.map((item) => { + const { Component, ...rest } = item; + return { + ...rest, + element: , + }; + }), + } + : undefined; + }, [currentRevision, itemsWithContext]); + + const startNewInvestigation = useCallback( + async (id: string) => { + const prevInvestigation = await investigationStore.getInvestigation(); + + const lastRevision = last(prevInvestigation.revisions)!; + + const createdInvestigationStore = createInvestigationStore({ + investigation: createNewInvestigation({ + globalWidgetParameters: lastRevision.parameters, + user, + id, + }) as StatefulInvestigation, + user, + widgetDefinitions, + }); + + setInvestigationStore(createdInvestigationStore); + + setBlocksById({}); + }, + [user, widgetDefinitions, investigationStore] + ); + + const setItemParameters = useCallback( + async (id: string, nextGlobalWidgetParameters: GlobalWidgetParameters) => { + return investigationStore.setItemParameters(id, nextGlobalWidgetParameters); + }, + [investigationStore] + ); + + const lastItemId = last(currentRevision?.items)?.id; + + const blocks = useMemo(() => { + return lastItemId && blocksById[lastItemId] ? blocksById[lastItemId] : []; + }, [blocksById, lastItemId]); + + const { + copyItem, + gotoNextRevision, + gotoPreviousRevision, + lockItem, + setGlobalParameters, + setItemPositions, + setItemTitle, + setRevision, + setTitle, + unlockItem, + updateItem, + } = investigationStore; + + const { storedItem: investigations, setStoredItem: setInvestigations } = useLocalStorage< + Investigation[] + >('experimentalInvestigations', []); + + const investigationsRef = useRef(investigations); + + investigationsRef.current = investigations; + + const loadInvestigation = useCallback( + async (id: string) => { + const investigationsFromStorage = investigationsRef.current; + const nextInvestigation = investigationsFromStorage.find( + (investigationAtIndex) => investigationAtIndex.id === id + ); + + if (!nextInvestigation) { + throw new Error('Could not find investigation for id ' + id); + } + setInvestigationStore(() => + createInvestigationStore({ + investigation: nextInvestigation as StatefulInvestigation, + user, + widgetDefinitions, + }) + ); + }, + [widgetDefinitions, user] + ); + + useEffect(() => { + function attemptToStoreInvestigations(next: Investigation[]) { + try { + setInvestigations(next); + } catch (error) { + notifications.showErrorDialog({ + title: i18n.translate('xpack.investigate.useInvestigation.errorSavingInvestigations', { + defaultMessage: 'Could not save investigations to local storage', + }), + error, + }); + } + } + + const subscription = investigation$.subscribe(({ investigation: investigationFromStore }) => { + const isEmpty = investigationFromStore.revisions.length === 1; + + if (isEmpty) { + return; + } + + const toSerialize = { + ...investigationFromStore, + revisions: investigationFromStore.revisions.map((revision) => { + return { + ...revision, + items: revision.items.map((item) => { + const { loading, ...rest } = item; + return rest; + }), + }; + }), + }; + + const hasStoredCurrentInvestigation = !!investigationsRef.current.find( + (investigationAtIndex) => investigationAtIndex.id === investigationFromStore.id + ); + + if (!hasStoredCurrentInvestigation) { + attemptToStoreInvestigations([...(investigationsRef.current ?? []), toSerialize].reverse()); + return; + } + + const nextInvestigations = investigationsRef.current + .map((investigationAtIndex) => { + if (investigationAtIndex.id === investigationFromStore.id) { + return toSerialize; + } + return investigationAtIndex; + }) + .reverse(); + + attemptToStoreInvestigations(nextInvestigations); + }); + + return () => { + subscription.unsubscribe(); + }; + }, [investigation$, setInvestigations, notifications]); + + const deleteInvestigation = useCallback( + async (id: string) => { + const nextInvestigations = investigationsRef.current.filter( + (investigationAtIndex) => investigationAtIndex.id !== id + ); + setInvestigations(nextInvestigations); + if (investigation?.id === id) { + const nextInvestigation = nextInvestigations[0]; + + if (nextInvestigation) { + loadInvestigation(nextInvestigation.id); + } else { + startNewInvestigation(v4()); + } + } + }, + [loadInvestigation, startNewInvestigation, setInvestigations, investigation?.id] + ); + + return { + addItem, + blocks, + copyItem, + deleteItem, + gotoNextRevision, + gotoPreviousRevision, + investigation, + isAtEarliestRevision, + isAtLatestRevision, + loadInvestigation, + lockItem, + revision: renderableRevision, + setGlobalParameters, + setItemParameters, + setItemPositions, + setItemTitle, + setRevision, + setTitle, + startNewInvestigation, + unlockItem, + updateItem, + investigations, + deleteInvestigation, + }; +} + +export function createUseInvestigation({ + notifications, + widgetDefinitions, +}: { + notifications: NotificationsStart; + widgetDefinitions: WidgetDefinition[]; +}) { + return ({ user, from, to }: { user: AuthenticatedUser; from: string; to: string }) => { + return useInvestigationWithoutContext({ + user, + notifications, + widgetDefinitions, + from, + to, + }); + }; +} diff --git a/x-pack/plugins/observability_solution/investigate/public/hooks/use_investigation/investigation_store.ts b/x-pack/plugins/observability_solution/investigate/public/hooks/use_investigation/investigation_store.ts new file mode 100644 index 0000000000000..54281b6347ea1 --- /dev/null +++ b/x-pack/plugins/observability_solution/investigate/public/hooks/use_investigation/investigation_store.ts @@ -0,0 +1,425 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import { BehaviorSubject, Observable } from 'rxjs'; +import type { AuthenticatedUser } from '@kbn/security-plugin/common'; +import { v4 } from 'uuid'; +import { MaybePromise } from '@kbn/utility-types'; +import { keyBy } from 'lodash'; +import { InvestigateWidget, mergePlainObjects } from '../../../common'; +import { + GlobalWidgetParameters, + InvestigateWidgetCreate, + Investigation, + InvestigationRevision, +} from '../../../common/types'; +import { WidgetDefinition } from '../../types'; + +export type StatefulInvestigateWidget = InvestigateWidget & { + loading: boolean; +}; + +export type StatefulInvestigation = Omit & { + revisions: StatefulInvestigationRevision[]; +}; + +export type StatefulInvestigationRevision = Omit & { + items: StatefulInvestigateWidget[]; +}; + +interface InvestigationStore { + setItemPositions: ( + positions: Array<{ id: string; columns: number; rows: number }> + ) => Promise; + copyItem: (id: string) => Promise; + deleteItem: (id: string) => Promise; + addItem: (id: string, item: InvestigateWidgetCreate) => Promise; + updateItem: ( + id: string, + cb: (prevItem: InvestigateWidget) => Promise + ) => Promise; + lockItem: (id: string) => Promise; + unlockItem: (id: string) => Promise; + setItemTitle: (id: string, title: string) => Promise; + setRevision: (revisionId: string) => Promise; + gotoPreviousRevision: () => Promise; + gotoNextRevision: () => Promise; + asObservable: () => Observable<{ + investigation: StatefulInvestigation; + }>; + getInvestigation: () => Promise>; + setGlobalParameters: (globalWidgetParameters: GlobalWidgetParameters) => Promise; + setItemParameters: (id: string, parameters: GlobalWidgetParameters) => Promise; + setTitle: (title: string) => Promise; + destroy: () => void; +} + +async function regenerateItem({ + user, + widgetDefinitions, + signal, + widget, + globalWidgetParameters, +}: { + user: AuthenticatedUser; + widgetDefinitions: WidgetDefinition[]; + widget: InvestigateWidgetCreate | InvestigateWidget; + signal: AbortSignal; + globalWidgetParameters: GlobalWidgetParameters; +}): Promise { + const now = Date.now(); + + const definition = widgetDefinitions.find( + (currentDefinition) => currentDefinition.type === widget.type + ); + + if (!definition) { + throw new Error(`Definition for widget ${widget.type} not found`); + } + + const nextParameters = mergePlainObjects( + globalWidgetParameters, + widget.parameters, + widget.locked ? {} : globalWidgetParameters + ); + + const widgetData = await definition.generate({ + parameters: nextParameters, + signal, + }); + + return { + created: now, + id: v4(), + ...widget, + parameters: nextParameters, + data: widgetData, + user, + last_updated: now, + }; +} + +export function createInvestigationStore({ + investigation, + user, + widgetDefinitions, +}: { + investigation: Investigation; + user: AuthenticatedUser; + widgetDefinitions: WidgetDefinition[]; +}): InvestigationStore { + const controller = new AbortController(); + + const observable$ = new BehaviorSubject<{ investigation: StatefulInvestigation }>({ + investigation: { + ...investigation, + revisions: investigation.revisions.map((revision) => { + return { + ...revision, + items: revision.items.map((item) => ({ ...item, loading: false })), + }; + }), + }, + }); + + async function updateInvestigationInPlace( + cb: (prevInvestigation: StatefulInvestigation) => MaybePromise + ) { + observable$.next({ investigation: await cb(observable$.value.investigation) }); + } + + async function updateRevisionInPlace( + cb: (prevRevision: StatefulInvestigationRevision) => MaybePromise + ) { + return updateInvestigationInPlace(async (prevInvestigation) => { + const currentRevision = prevInvestigation.revisions.find((revision) => { + return revision.id === prevInvestigation.revision; + })!; + + const newRevision = await cb(currentRevision); + + return { + ...prevInvestigation, + revisions: prevInvestigation.revisions.map((revision) => { + return revision.id === currentRevision.id ? newRevision : revision; + }), + }; + }); + } + + async function nextRevision( + cb: (prevRevision: StatefulInvestigationRevision) => MaybePromise + ) { + return updateInvestigationInPlace(async (prevInvestigation) => { + const indexOfCurrentRevision = prevInvestigation.revisions.findIndex( + (revision) => revision.id === prevInvestigation.revision + ); + + const currentRevision = prevInvestigation.revisions[indexOfCurrentRevision]; + + const newRevision = { + ...(await cb(currentRevision)), + id: v4(), + }; + + return { + ...prevInvestigation, + revisions: prevInvestigation.revisions + .slice(0, indexOfCurrentRevision + 1) + .concat(newRevision) + .slice(-10), + revision: newRevision.id, + }; + }); + } + + async function updateItem( + itemId: string, + cb: (prevItem: InvestigateWidget) => MaybePromise + ) { + await updateRevisionInPlace(async (prevRevision) => { + const prevItem = prevRevision.items.find((item) => item.id === itemId); + if (!prevItem) { + throw new Error('Could not find item by id ' + itemId); + } + return { + ...prevRevision, + items: prevRevision.items.map((item) => { + if (item === prevItem) { + return { ...prevItem, loading: true }; + } + return item; + }), + }; + }); + + await nextRevision(async (prevRevision) => { + const prevItem = prevRevision.items.find((item) => item.id === itemId); + if (!prevItem) { + throw new Error('Could not find item by id ' + itemId); + } + const nextItem = await cb(prevItem); + return { + ...prevRevision, + items: prevRevision.items.map((item) => { + if (item === prevItem) { + return { ...nextItem, loading: false }; + } + return item; + }), + }; + }); + } + + const regenerateItemAndUpdateRevision = async ( + itemId: string, + partials: Partial + ) => { + await updateRevisionInPlace((prevRevision) => { + return { + ...prevRevision, + items: prevRevision.items.map((item) => { + if (item.id === itemId) { + return { ...item, loading: true, ...partials }; + } + return item; + }), + }; + }); + + await nextRevision(async (prevRevision) => { + return { + ...prevRevision, + items: await Promise.all( + prevRevision.items.map(async (item) => { + if (item.id === itemId) { + return { + ...(await regenerateItem({ + user, + globalWidgetParameters: prevRevision.parameters, + signal: controller.signal, + widget: item, + widgetDefinitions, + })), + loading: false, + }; + } + return item; + }) + ), + }; + }); + }; + + const asObservable = observable$.asObservable(); + + return { + addItem: (itemId, item) => { + return nextRevision(async (prevRevision) => { + return { + ...prevRevision, + items: prevRevision.items.concat({ + ...(await regenerateItem({ + user, + widgetDefinitions, + signal: controller.signal, + widget: { + ...item, + id: itemId, + }, + globalWidgetParameters: prevRevision.parameters, + })), + loading: false, + }), + }; + }); + }, + updateItem: async (itemId, cb) => { + return updateItem(itemId, cb); + }, + copyItem: (itemId) => { + return nextRevision((prevRevision) => { + const itemToCopy = prevRevision.items.find((item) => item.id === itemId); + if (!itemToCopy) { + throw new Error('Cannot find item for id ' + itemId); + } + return { + ...prevRevision, + items: prevRevision.items.concat({ + ...itemToCopy, + id: v4(), + }), + }; + }); + }, + deleteItem: (itemId) => { + return nextRevision((prevRevision) => { + const itemToDelete = prevRevision.items.find((item) => item.id === itemId); + if (!itemToDelete) { + return prevRevision; + } + return { + ...prevRevision, + items: prevRevision.items.filter((itemAtIndex) => itemAtIndex.id !== itemToDelete.id), + }; + }); + }, + setItemPositions: (positions) => { + return nextRevision((prevRevision) => { + const positionsById = keyBy(positions, (position) => position.id); + return { + ...prevRevision, + items: prevRevision.items.map((item) => { + const position = positionsById[item.id]; + + return { + ...item, + ...position, + }; + }), + }; + }); + }, + setRevision: (revision) => { + return updateInvestigationInPlace((prevInvestigation) => { + return { + ...prevInvestigation, + revision, + }; + }); + }, + gotoPreviousRevision: () => { + return updateInvestigationInPlace((prevInvestigation) => { + const indexOfCurrentRevision = prevInvestigation.revisions.findIndex( + (revision) => revision.id === prevInvestigation.revision + ); + + const targetRevision = prevInvestigation.revisions[indexOfCurrentRevision - 1]; + if (!targetRevision) { + throw new Error('Could not find previous revision'); + } + + return { + ...prevInvestigation, + revision: targetRevision.id, + }; + }); + }, + gotoNextRevision: () => { + return updateInvestigationInPlace((prevInvestigation) => { + const indexOfCurrentRevision = prevInvestigation.revisions.findIndex( + (revision) => revision.id === prevInvestigation.revision + ); + + const targetRevision = prevInvestigation.revisions[indexOfCurrentRevision + 1]; + if (!targetRevision) { + throw new Error('Could not find previous revision'); + } + + return { + ...prevInvestigation, + revision: targetRevision.id, + }; + }); + }, + asObservable: () => asObservable, + getInvestigation: async () => Object.freeze(observable$.value.investigation), + destroy: () => { + return controller.abort(); + }, + setGlobalParameters: async (parameters) => { + await updateRevisionInPlace((prevRevision) => { + return { + ...prevRevision, + items: prevRevision.items.map((item) => { + return { ...item, loading: !item.locked }; + }), + }; + }); + + await nextRevision(async (prevRevision) => { + return { + ...prevRevision, + parameters, + items: await Promise.all( + prevRevision.items.map(async (item) => { + return item.locked + ? item + : { + ...(await regenerateItem({ + widget: item, + globalWidgetParameters: parameters, + signal: controller.signal, + user, + widgetDefinitions, + })), + loading: false, + }; + }) + ), + }; + }); + }, + setItemTitle: async (itemId, title) => { + return updateItem(itemId, (prev) => ({ ...prev, title })); + }, + lockItem: async (itemId) => { + return updateItem(itemId, (prev) => ({ ...prev, locked: true })); + }, + unlockItem: async (itemId) => { + await regenerateItemAndUpdateRevision(itemId, { locked: false }); + }, + setTitle: async (title: string) => { + return nextRevision((prevRevision) => { + return { ...prevRevision, title }; + }); + }, + setItemParameters: async (itemId, nextParameters) => { + await regenerateItemAndUpdateRevision(itemId, { parameters: nextParameters }); + }, + }; +} diff --git a/x-pack/plugins/observability_solution/investigate/public/hooks/use_local_storage.ts b/x-pack/plugins/observability_solution/investigate/public/hooks/use_local_storage.ts new file mode 100644 index 0000000000000..7e338f6d60eff --- /dev/null +++ b/x-pack/plugins/observability_solution/investigate/public/hooks/use_local_storage.ts @@ -0,0 +1,55 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import { useCallback, useEffect, useMemo, useState } from 'react'; + +function getFromStorage(keyName: string, defaultValue?: T): T { + const storedItem = window.localStorage.getItem(keyName); + + if (storedItem !== null) { + try { + return JSON.parse(storedItem); + } catch (err) { + window.localStorage.removeItem(keyName); + // eslint-disable-next-line no-console + console.log(`Unable to decode: ${keyName}`); + } + } + return defaultValue as T; +} + +export function useLocalStorage(key: string, defaultValue?: T) { + const [storedItem, setStoredItem] = useState(() => getFromStorage(key, defaultValue)); + + useEffect(() => { + function onStorageUpdate(e: StorageEvent) { + if (e.key === key) { + setStoredItem((prev) => getFromStorage(key, prev)); + } + } + window.addEventListener('storage', onStorageUpdate); + + return () => { + window.removeEventListener('storage', onStorageUpdate); + }; + }, [key]); + + const setStoredItemForApi = useCallback( + (next: T) => { + window.localStorage.setItem(key, JSON.stringify(next)); + setStoredItem(() => next); + }, + [key] + ); + + return useMemo(() => { + return { + storedItem, + setStoredItem: setStoredItemForApi, + }; + }, [storedItem, setStoredItemForApi]); +} diff --git a/x-pack/plugins/observability_solution/investigate/public/index.ts b/x-pack/plugins/observability_solution/investigate/public/index.ts index c43ce3d7b14e5..b830aebc89947 100644 --- a/x-pack/plugins/observability_solution/investigate/public/index.ts +++ b/x-pack/plugins/observability_solution/investigate/public/index.ts @@ -20,15 +20,17 @@ import type { export type { InvestigatePublicSetup, InvestigatePublicStart, OnWidgetAdd, WidgetRenderAPI }; export { - type InvestigateTimeline, + type Investigation, + type InvestigationRevision, type InvestigateWidget, type InvestigateWidgetCreate, InvestigateWidgetColumnSpan, type GlobalWidgetParameters, - type InvestigateUser, type WorkflowBlock, } from '../common/types'; +export { mergePlainObjects } from '../common/utils/merge_plain_objects'; + export { ChromeOption } from './types'; export { createWidgetFactory } from './create_widget'; diff --git a/x-pack/plugins/observability_solution/investigate/public/plugin.tsx b/x-pack/plugins/observability_solution/investigate/public/plugin.tsx index 1dd248681edad..6ac60dbb20751 100644 --- a/x-pack/plugins/observability_solution/investigate/public/plugin.tsx +++ b/x-pack/plugins/observability_solution/investigate/public/plugin.tsx @@ -6,6 +6,9 @@ */ import type { CoreSetup, CoreStart, PluginInitializerContext, Plugin } from '@kbn/core/public'; import type { Logger } from '@kbn/logging'; +import { useMemo } from 'react'; +import { useInvestigateWidget } from './hooks/use_investigate_widget'; +import { createUseInvestigation } from './hooks/use_investigation'; import type { ConfigSchema, InvestigatePublicSetup, @@ -28,18 +31,49 @@ export class InvestigatePlugin widgetRegistry: WidgetRegistry = new WidgetRegistry(); + registrationPromises: Array> = []; + constructor(context: PluginInitializerContext) { this.logger = context.logger.get(); } setup(coreSetup: CoreSetup, pluginsSetup: InvestigateSetupDependencies): InvestigatePublicSetup { return { - registerWidget: this.widgetRegistry.registerWidget, + register: (callback) => { + const registrationPromise = Promise.race([ + callback(this.widgetRegistry.registerWidget), + new Promise((resolve, reject) => { + setTimeout(() => { + reject(new Error('Timed out running registration function')); + }, 30000); + }), + ]).catch((error) => { + this.logger.error( + new Error('Encountered an error during widget registration', { cause: error }) + ); + return Promise.resolve(); + }); + + this.registrationPromises.push(registrationPromise); + }, }; } start(coreStart: CoreStart, pluginsStart: InvestigateStartDependencies): InvestigatePublicStart { return { getWidgetDefinitions: this.widgetRegistry.getWidgetDefinitions, + useInvestigation: ({ user, from, to }) => { + const widgetDefinitions = useMemo(() => this.widgetRegistry.getWidgetDefinitions(), []); + + return createUseInvestigation({ + notifications: coreStart.notifications, + widgetDefinitions, + })({ + user, + from, + to, + }); + }, + useInvestigateWidget, }; } } diff --git a/x-pack/plugins/observability_solution/investigate/public/types.ts b/x-pack/plugins/observability_solution/investigate/public/types.ts index 2bdef7bb0cf49..fc6ca0376d20f 100644 --- a/x-pack/plugins/observability_solution/investigate/public/types.ts +++ b/x-pack/plugins/observability_solution/investigate/public/types.ts @@ -8,8 +8,11 @@ /* eslint-disable @typescript-eslint/no-empty-interface*/ import type { FromSchema } from 'json-schema-to-ts'; import type { CompatibleJSONSchema } from '@kbn/observability-ai-assistant-plugin/public'; +import type { AuthenticatedUser } from '@kbn/core/public'; import type { InvestigateWidget, WorkflowBlock } from '../common'; import type { GlobalWidgetParameters, InvestigateWidgetCreate } from '../common/types'; +import type { UseInvestigationApi } from './hooks/use_investigation'; +import type { UseInvestigateWidgetApi } from './hooks/use_investigate_widget'; export enum ChromeOption { disabled = 'disabled', @@ -76,9 +79,15 @@ export interface InvestigateSetupDependencies {} export interface InvestigateStartDependencies {} export interface InvestigatePublicSetup { - registerWidget: RegisterWidget; + register: (callback: (registerWidget: RegisterWidget) => Promise) => void; } export interface InvestigatePublicStart { getWidgetDefinitions: () => WidgetDefinition[]; + useInvestigation: ({}: { + user: AuthenticatedUser; + from: string; + to: string; + }) => UseInvestigationApi; + useInvestigateWidget: () => UseInvestigateWidgetApi | undefined; } diff --git a/x-pack/plugins/observability_solution/investigate/tsconfig.json b/x-pack/plugins/observability_solution/investigate/tsconfig.json index 042aa7d32a1a9..c3f14082dc6f5 100644 --- a/x-pack/plugins/observability_solution/investigate/tsconfig.json +++ b/x-pack/plugins/observability_solution/investigate/tsconfig.json @@ -18,6 +18,9 @@ "@kbn/observability-ai-assistant-plugin", "@kbn/es-query", "@kbn/interpreter", + "@kbn/security-plugin", + "@kbn/i18n", + "@kbn/utility-types", ], "exclude": ["target/**/*"] } diff --git a/x-pack/plugins/observability_solution/logs_data_access/server/services/get_logs_error_rate_timeseries/get_logs_error_rate_timeseries.ts b/x-pack/plugins/observability_solution/logs_data_access/server/services/get_logs_error_rate_timeseries/get_logs_error_rate_timeseries.ts index fdc71e5b84685..1d80171e7d0b0 100644 --- a/x-pack/plugins/observability_solution/logs_data_access/server/services/get_logs_error_rate_timeseries/get_logs_error_rate_timeseries.ts +++ b/x-pack/plugins/observability_solution/logs_data_access/server/services/get_logs_error_rate_timeseries/get_logs_error_rate_timeseries.ts @@ -60,6 +60,8 @@ export function createGetLogErrorRateTimeseries() { }: LogsErrorRateTimeseries): Promise => { const intervalString = getBucketSizeFromTimeRangeAndBucketCount(timeFrom, timeTo, 50); + // Note: Please keep the formula in `metricsFormulasMap` up to date with the query! + const esResponse = await esClient.search({ index: 'logs-*-*', size: 0, diff --git a/x-pack/plugins/observability_solution/logs_data_access/server/services/get_logs_rate_timeseries/get_logs_rate_timeseries.ts b/x-pack/plugins/observability_solution/logs_data_access/server/services/get_logs_rate_timeseries/get_logs_rate_timeseries.ts index c0e9704931578..49b2d9cb578fb 100644 --- a/x-pack/plugins/observability_solution/logs_data_access/server/services/get_logs_rate_timeseries/get_logs_rate_timeseries.ts +++ b/x-pack/plugins/observability_solution/logs_data_access/server/services/get_logs_rate_timeseries/get_logs_rate_timeseries.ts @@ -51,6 +51,8 @@ export function createGetLogsRateTimeseries() { }: LogsRateTimeseries): Promise => { const intervalString = getBucketSizeFromTimeRangeAndBucketCount(timeFrom, timeTo, 50); + // Note: Please keep the formula in `metricsFormulasMap` up to date with the query! + const esResponse = await esClient.search({ index: 'logs-*-*', size: 0, diff --git a/x-pack/plugins/observability_solution/logs_explorer/kibana.jsonc b/x-pack/plugins/observability_solution/logs_explorer/kibana.jsonc index b19d2ad0b4e07..60127ebf28f51 100644 --- a/x-pack/plugins/observability_solution/logs_explorer/kibana.jsonc +++ b/x-pack/plugins/observability_solution/logs_explorer/kibana.jsonc @@ -19,6 +19,8 @@ "navigation", "share", "unifiedSearch", + "unifiedDocViewer", + "discoverShared", ], "optionalPlugins": [], "requiredBundles": ["controls","embeddable","fleet", "kibanaReact", "kibanaUtils"], diff --git a/x-pack/plugins/observability_solution/logs_explorer/public/customizations/logs_explorer_profile.tsx b/x-pack/plugins/observability_solution/logs_explorer/public/customizations/logs_explorer_profile.tsx index 42a3838311a98..7b193f4aafff8 100644 --- a/x-pack/plugins/observability_solution/logs_explorer/public/customizations/logs_explorer_profile.tsx +++ b/x-pack/plugins/observability_solution/logs_explorer/public/customizations/logs_explorer_profile.tsx @@ -11,6 +11,7 @@ import type { CustomizationCallback } from '@kbn/discover-plugin/public'; import { i18n } from '@kbn/i18n'; import { waitFor } from 'xstate/lib/waitFor'; import { dynamic } from '@kbn/shared-ux-utility'; +import { UnifiedDocViewerLogsOverview } from '@kbn/unified-doc-viewer-plugin/public'; import type { LogsExplorerController } from '../controller'; import type { LogsExplorerStartDeps } from '../types'; import { useKibanaContextForPluginProvider } from '../utils/use_kibana'; @@ -130,7 +131,23 @@ export const createLogsExplorerProfileCustomizations = }, }, docViewsRegistry: (registry) => { - registry.enableById('doc_view_logs_overview'); + const logsAIAssistantFeature = plugins.discoverShared.features.registry.getById( + 'observability-logs-ai-assistant' + ); + + registry.add({ + id: 'doc_view_logs_overview', + title: i18n.translate('xpack.logsExplorer.docViews.logsOverview.title', { + defaultMessage: 'Overview', + }), + order: 0, + component: (props) => ( + + ), + }); return registry; }, diff --git a/x-pack/plugins/observability_solution/logs_explorer/public/types.ts b/x-pack/plugins/observability_solution/logs_explorer/public/types.ts index cdd8feea3128c..6e4c5fdd4c66b 100644 --- a/x-pack/plugins/observability_solution/logs_explorer/public/types.ts +++ b/x-pack/plugins/observability_solution/logs_explorer/public/types.ts @@ -12,6 +12,7 @@ import type { SharePluginSetup, SharePluginStart } from '@kbn/share-plugin/publi import type { FieldFormatsStart } from '@kbn/field-formats-plugin/public'; import type { NavigationPublicPluginStart } from '@kbn/navigation-plugin/public'; import { UnifiedSearchPublicPluginStart } from '@kbn/unified-search-plugin/public'; +import type { DiscoverSharedPublicStart } from '@kbn/discover-shared-plugin/public'; import type { LogsExplorerLocators } from '../common/locators'; import type { LogsExplorerProps } from './components/logs_explorer'; import type { CreateLogsExplorerController } from './controller'; @@ -37,4 +38,5 @@ export interface LogsExplorerStartDeps { navigation: NavigationPublicPluginStart; share: SharePluginStart; unifiedSearch: UnifiedSearchPublicPluginStart; + discoverShared: DiscoverSharedPublicStart; } diff --git a/x-pack/plugins/observability_solution/logs_explorer/tsconfig.json b/x-pack/plugins/observability_solution/logs_explorer/tsconfig.json index b3f8c978a67b4..230fe1987f0ff 100644 --- a/x-pack/plugins/observability_solution/logs_explorer/tsconfig.json +++ b/x-pack/plugins/observability_solution/logs_explorer/tsconfig.json @@ -45,6 +45,8 @@ "@kbn/xstate-utils", "@kbn/esql-utils", "@kbn/data-view-utils", + "@kbn/unified-doc-viewer-plugin", + "@kbn/discover-shared-plugin", ], "exclude": [ "target/**/*" diff --git a/x-pack/plugins/observability_solution/metrics_data_access/common/constants.ts b/x-pack/plugins/observability_solution/metrics_data_access/common/constants.ts index 9dd43c6e72c99..d801cc214ecaf 100644 --- a/x-pack/plugins/observability_solution/metrics_data_access/common/constants.ts +++ b/x-pack/plugins/observability_solution/metrics_data_access/common/constants.ts @@ -5,31 +5,9 @@ * 2.0. */ -export const METRICS_INDEX_PATTERN = 'metrics-*,metricbeat-*'; -export const LOGS_INDEX_PATTERN = 'logs-*,filebeat-*,kibana_sample_data_logs*'; -export const METRICS_APP = 'metrics'; -export const LOGS_APP = 'logs'; - -export const METRICS_FEATURE_ID = 'infrastructure'; -export const LOGS_FEATURE_ID = 'logs'; - -export type InfraFeatureId = typeof METRICS_FEATURE_ID | typeof LOGS_FEATURE_ID; - export const TIMESTAMP_FIELD = '@timestamp'; -export const MESSAGE_FIELD = 'message'; -export const TIEBREAKER_FIELD = '_doc'; export const HOST_FIELD = 'host.name'; export const CONTAINER_FIELD = 'container.id'; export const POD_FIELD = 'kubernetes.pod.uid'; -export const DISCOVER_APP_TARGET = 'discover'; -export const LOGS_APP_TARGET = 'logs-ui'; - -export const O11Y_AAD_FIELDS = [ - 'cloud.*', - 'host.*', - 'orchestrator.*', - 'container.*', - 'labels.*', - 'tags', -]; +export const METRICS_EXPLORER_API_MAX_METRICS = 20; diff --git a/x-pack/plugins/observability_solution/metrics_data_access/common/index.ts b/x-pack/plugins/observability_solution/metrics_data_access/common/index.ts index a236ceeac16f0..12a4b6c4e13ce 100644 --- a/x-pack/plugins/observability_solution/metrics_data_access/common/index.ts +++ b/x-pack/plugins/observability_solution/metrics_data_access/common/index.ts @@ -47,3 +47,4 @@ export type { } from './inventory_models/types'; export { networkTraffic } from './inventory_models/shared/metrics/snapshot/network_traffic'; +export { METRICS_EXPLORER_API_MAX_METRICS } from './constants'; diff --git a/x-pack/plugins/observability_solution/metrics_data_access/common/runtime_types.ts b/x-pack/plugins/observability_solution/metrics_data_access/common/runtime_types.ts deleted file mode 100644 index d6d0336eafdd7..0000000000000 --- a/x-pack/plugins/observability_solution/metrics_data_access/common/runtime_types.ts +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the Elastic License - * 2.0; you may not use this file except in compliance with the Elastic License - * 2.0. - */ - -import { fold } from 'fp-ts/lib/Either'; -import { identity } from 'fp-ts/lib/function'; -import { pipe } from 'fp-ts/lib/pipeable'; -import { Context, Errors, IntersectionType, Type, UnionType, ValidationError } from 'io-ts'; - -type ErrorFactory = (message: string) => Error; - -const getErrorPath = ([first, ...rest]: Context): string[] => { - if (typeof first === 'undefined') { - return []; - } else if (first.type instanceof IntersectionType) { - const [, ...next] = rest; - return getErrorPath(next); - } else if (first.type instanceof UnionType) { - const [, ...next] = rest; - return [first.key, ...getErrorPath(next)]; - } - - return [first.key, ...getErrorPath(rest)]; -}; - -const getErrorType = ({ context }: ValidationError) => - context[context.length - 1]?.type?.name ?? 'unknown'; - -const formatError = (error: ValidationError) => - error.message ?? - `in ${getErrorPath(error.context).join('/')}: ${JSON.stringify( - error.value - )} does not match expected type ${getErrorType(error)}`; - -export const formatErrors = (errors: ValidationError[]) => - `Failed to validate: \n${errors.map((error) => ` ${formatError(error)}`).join('\n')}`; - -export const createPlainError = (message: string) => new Error(message); - -export const throwErrors = (createError: ErrorFactory) => (errors: Errors) => { - throw createError(formatErrors(errors)); -}; - -export const decodeOrThrow = - ( - runtimeType: Type, - createError: ErrorFactory = createPlainError - ) => - (inputValue: InputValue) => - pipe(runtimeType.decode(inputValue), fold(throwErrors(createError), identity)); diff --git a/x-pack/plugins/observability_solution/metrics_data_access/server/lib/metrics/index.ts b/x-pack/plugins/observability_solution/metrics_data_access/server/lib/metrics/index.ts index 26e681c29d0ff..f4eca9af6748e 100644 --- a/x-pack/plugins/observability_solution/metrics_data_access/server/lib/metrics/index.ts +++ b/x-pack/plugins/observability_solution/metrics_data_access/server/lib/metrics/index.ts @@ -5,7 +5,7 @@ * 2.0. */ -import { decodeOrThrow } from '../../../common/runtime_types'; +import { decodeOrThrow } from '@kbn/io-ts-utils'; const TIMESTAMP_FIELD = '@timestamp'; import { MetricsAPIRequest, MetricsAPIResponse } from '../../../common/http_api/metrics_api'; import { diff --git a/x-pack/plugins/observability_solution/metrics_data_access/server/routes/metrics_explorer/index.ts b/x-pack/plugins/observability_solution/metrics_data_access/server/routes/metrics_explorer/index.ts index 2dc36c89c7dde..412b4089e773d 100644 --- a/x-pack/plugins/observability_solution/metrics_data_access/server/routes/metrics_explorer/index.ts +++ b/x-pack/plugins/observability_solution/metrics_data_access/server/routes/metrics_explorer/index.ts @@ -5,17 +5,14 @@ * 2.0. */ +import { createRouteValidationFunction } from '@kbn/io-ts-utils'; import Boom from '@hapi/boom'; -import { pipe } from 'fp-ts/lib/pipeable'; -import { fold } from 'fp-ts/lib/Either'; -import { identity } from 'fp-ts/lib/function'; -import { schema } from '@kbn/config-schema'; +import { METRICS_EXPLORER_API_MAX_METRICS } from '../../../common/constants'; import { metricsExplorerRequestBodyRT, metricsExplorerResponseRT, MetricsExplorerPageInfo, } from '../../../common/http_api/metrics_explorer'; -import { throwErrors } from '../../../common/runtime_types'; import { convertRequestToMetricsAPIOptions } from './lib/convert_request_to_metrics_api_options'; import { createSearchClient } from '../../lib/create_search_client'; import { findIntervalForMetrics } from './lib/find_interval_for_metrics'; @@ -24,61 +21,79 @@ import { queryTotalGroupings } from './lib/query_total_groupings'; import { transformSeries } from './lib/transform_series'; import { KibanaFramework } from '../../lib/adapters/framework/kibana_framework_adapter'; -const escapeHatch = schema.object({}, { unknowns: 'allow' }); - export const initMetricExplorerRoute = (framework: KibanaFramework) => { + const validateBody = createRouteValidationFunction(metricsExplorerRequestBodyRT); framework.registerRoute( { method: 'post', path: '/api/infra/metrics_explorer', validate: { - body: escapeHatch, + body: validateBody, }, }, async (requestContext, request, response) => { - const options = pipe( - metricsExplorerRequestBodyRT.decode(request.body), - fold(throwErrors(Boom.badRequest), identity) - ); + const options = request.body; - const client = createSearchClient(requestContext, framework); - const interval = await findIntervalForMetrics(client, options); + try { + if (options.metrics.length > METRICS_EXPLORER_API_MAX_METRICS) { + throw Boom.badRequest( + `'metrics' size is greater than maximum of ${METRICS_EXPLORER_API_MAX_METRICS} allowed.` + ); + } - const optionsWithInterval = options.forceInterval - ? options - : { - ...options, - timerange: { - ...options.timerange, - interval: interval ? `>=${interval}s` : options.timerange.interval, - }, - }; + const client = createSearchClient(requestContext, framework); + const interval = await findIntervalForMetrics(client, options); - const metricsApiOptions = convertRequestToMetricsAPIOptions(optionsWithInterval); - const metricsApiResponse = await query(client, metricsApiOptions); - const totalGroupings = await queryTotalGroupings(client, metricsApiOptions); - const hasGroupBy = - Array.isArray(metricsApiOptions.groupBy) && metricsApiOptions.groupBy.length > 0; + const optionsWithInterval = options.forceInterval + ? options + : { + ...options, + timerange: { + ...options.timerange, + interval: interval ? `>=${interval}s` : options.timerange.interval, + }, + }; - const pageInfo: MetricsExplorerPageInfo = { - total: totalGroupings, - afterKey: null, - }; + const metricsApiOptions = convertRequestToMetricsAPIOptions(optionsWithInterval); + const metricsApiResponse = await query(client, metricsApiOptions); + const totalGroupings = await queryTotalGroupings(client, metricsApiOptions); + const hasGroupBy = + Array.isArray(metricsApiOptions.groupBy) && metricsApiOptions.groupBy.length > 0; - if (metricsApiResponse.info.afterKey) { - pageInfo.afterKey = metricsApiResponse.info.afterKey; - } + const pageInfo: MetricsExplorerPageInfo = { + total: totalGroupings, + afterKey: null, + }; + + if (metricsApiResponse.info.afterKey) { + pageInfo.afterKey = metricsApiResponse.info.afterKey; + } - // If we have a groupBy but there are ZERO groupings returned then we need to - // return an empty array. Otherwise we transform the series to match the current schema. - const series = - hasGroupBy && totalGroupings === 0 - ? [] - : metricsApiResponse.series.map(transformSeries(hasGroupBy)); + // If we have a groupBy but there are ZERO groupings returned then we need to + // return an empty array. Otherwise we transform the series to match the current schema. + const series = + hasGroupBy && totalGroupings === 0 + ? [] + : metricsApiResponse.series.map(transformSeries(hasGroupBy)); - return response.ok({ - body: metricsExplorerResponseRT.encode({ series, pageInfo }), - }); + return response.ok({ + body: metricsExplorerResponseRT.encode({ series, pageInfo }), + }); + } catch (err) { + if (Boom.isBoom(err)) { + return response.customError({ + statusCode: err.output.statusCode, + body: { message: err.output.payload.message }, + }); + } + + return response.customError({ + statusCode: err.statusCode ?? 500, + body: { + message: err.message ?? 'An unexpected error occurred', + }, + }); + } } ); }; diff --git a/x-pack/plugins/observability_solution/metrics_data_access/tsconfig.json b/x-pack/plugins/observability_solution/metrics_data_access/tsconfig.json index b2ba77bff9f37..39ca16361f6cd 100644 --- a/x-pack/plugins/observability_solution/metrics_data_access/tsconfig.json +++ b/x-pack/plugins/observability_solution/metrics_data_access/tsconfig.json @@ -26,7 +26,6 @@ "@kbn/core-http-server", "@kbn/datemath", "@kbn/es-types", - "@kbn/config-schema", "@kbn/es-query", "@kbn/kibana-react-plugin", "@kbn/shared-ux-page-kibana-template", diff --git a/x-pack/plugins/observability_solution/observability/common/annotations.ts b/x-pack/plugins/observability_solution/observability/common/annotations.ts index b30b563ccd0b0..16c6e11b81e86 100644 --- a/x-pack/plugins/observability_solution/observability/common/annotations.ts +++ b/x-pack/plugins/observability_solution/observability/common/annotations.ts @@ -8,6 +8,8 @@ import * as t from 'io-ts'; import { either } from 'fp-ts/lib/Either'; +export const DEFAULT_ANNOTATION_INDEX = 'observability-annotations'; + /** * Checks whether a string is a valid ISO timestamp, * but doesn't convert it into a Date object when decoding. @@ -25,45 +27,87 @@ const dateAsStringRt = new t.Type( t.identity ); +export const rectFill = t.union([t.literal('inside'), t.literal('outside')]); + export const createAnnotationRt = t.intersection([ t.type({ - annotation: t.type({ + annotation: t.partial({ + title: t.string, type: t.string, + style: t.partial({ + icon: t.string, + color: t.string, + line: t.partial({ + width: t.number, + style: t.union([t.literal('dashed'), t.literal('solid'), t.literal('dotted')]), + iconPosition: t.union([t.literal('top'), t.literal('bottom')]), + textDecoration: t.union([t.literal('none'), t.literal('name')]), + }), + rect: t.partial({ + fill: rectFill, + }), + }), }), '@timestamp': dateAsStringRt, message: t.string, }), t.partial({ + event: t.intersection([ + t.type({ + start: dateAsStringRt, + }), + t.partial({ + end: dateAsStringRt, + }), + ]), tags: t.array(t.string), service: t.partial({ name: t.string, environment: t.string, version: t.string, }), + monitor: t.partial({ + id: t.string, + }), + slo: t.intersection([ + t.type({ + id: t.string, + }), + t.partial({ + instanceId: t.string, + }), + ]), + host: t.partial({ + name: t.string, + }), }), ]); -export const deleteAnnotationRt = t.type({ - id: t.string, -}); +export const deleteAnnotationRt = t.type({ id: t.string }); export const getAnnotationByIdRt = t.type({ id: t.string, }); -export interface Annotation { - annotation: { - type: string; - }; - tags?: string[]; - message: string; - service?: { - name?: string; - environment?: string; - version?: string; - }; - event: { - created: string; - }; - '@timestamp': string; -} +export const findAnnotationRt = t.partial({ + query: t.string, + start: t.string, + end: t.string, + sloId: t.string, + sloInstanceId: t.string, + serviceName: t.string, +}); + +export const updateAnnotationRt = t.intersection([ + t.type({ + id: t.string, + }), + createAnnotationRt, +]); + +export type CreateAnnotationParams = t.TypeOf; +export type DeleteAnnotationParams = t.TypeOf; +export type GetByIdAnnotationParams = t.TypeOf; +export type FindAnnotationParams = t.TypeOf; + +export type Annotation = t.TypeOf; diff --git a/x-pack/plugins/observability_solution/observability/common/index.ts b/x-pack/plugins/observability_solution/observability/common/index.ts index 30765fed43e3d..07effc9293676 100644 --- a/x-pack/plugins/observability_solution/observability/common/index.ts +++ b/x-pack/plugins/observability_solution/observability/common/index.ts @@ -37,7 +37,7 @@ export { enableAwsLambdaMetrics, enableAgentExplorerView, apmEnableTableSearchBar, - apmEnableMultiSignal, + entityCentricExperience, apmAWSLambdaPriceFactor, apmAWSLambdaRequestCostPerMillion, apmEnableServiceMetrics, diff --git a/x-pack/plugins/observability_solution/observability/common/locators/paths.ts b/x-pack/plugins/observability_solution/observability/common/locators/paths.ts index 344da4b59bc00..d6114efaf73ee 100644 --- a/x-pack/plugins/observability_solution/observability/common/locators/paths.ts +++ b/x-pack/plugins/observability_solution/observability/common/locators/paths.ts @@ -16,6 +16,7 @@ export const RULES_PATH = '/alerts/rules' as const; export const RULES_LOGS_PATH = '/alerts/rules/logs' as const; export const RULE_DETAIL_PATH = '/alerts/rules/:ruleId' as const; export const CASES_PATH = '/cases' as const; +export const ANNOTATIONS_PATH = '/annotations' as const; export const SETTINGS_PATH = '/slos/settings' as const; // // SLOs have been moved to its own app (slo). Keeping around for redirecting purposes. @@ -30,6 +31,7 @@ export const SLO_DETAIL_PATH = '/:sloId' as const; export const paths = { observability: { alerts: `${OBSERVABILITY_BASE_PATH}${ALERTS_PATH}`, + annotations: `${OBSERVABILITY_BASE_PATH}${ANNOTATIONS_PATH}`, alertDetails: (alertId: string) => `${OBSERVABILITY_BASE_PATH}${ALERTS_PATH}/${encodeURIComponent(alertId)}`, rules: `${OBSERVABILITY_BASE_PATH}${RULES_PATH}`, diff --git a/x-pack/plugins/observability_solution/observability/common/ui_settings_keys.ts b/x-pack/plugins/observability_solution/observability/common/ui_settings_keys.ts index 0049afae529ee..fe43cd30705db 100644 --- a/x-pack/plugins/observability_solution/observability/common/ui_settings_keys.ts +++ b/x-pack/plugins/observability_solution/observability/common/ui_settings_keys.ts @@ -26,7 +26,7 @@ export const enableInfrastructureContainerAssetView = export const enableAwsLambdaMetrics = 'observability:enableAwsLambdaMetrics'; export const enableAgentExplorerView = 'observability:apmAgentExplorerView'; export const apmEnableTableSearchBar = 'observability:apmEnableTableSearchBar'; -export const apmEnableMultiSignal = 'observability:apmEnableMultiSignal'; +export const entityCentricExperience = 'observability:entityCentricExperience'; export const apmEnableServiceInventoryTableSearchBar = 'observability:apmEnableServiceInventoryTableSearchBar'; export const apmAWSLambdaPriceFactor = 'observability:apmAWSLambdaPriceFactor'; diff --git a/x-pack/plugins/observability_solution/observability/public/components/annotations/annotation_apearance.tsx b/x-pack/plugins/observability_solution/observability/public/components/annotations/annotation_apearance.tsx new file mode 100644 index 0000000000000..cb255e594aa49 --- /dev/null +++ b/x-pack/plugins/observability_solution/observability/public/components/annotations/annotation_apearance.tsx @@ -0,0 +1,128 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import { + EuiColorPicker, + EuiFlexGroup, + EuiFlexItem, + EuiFormRow, + EuiSpacer, + EuiTitle, +} from '@elastic/eui'; +import { i18n } from '@kbn/i18n'; +import { Controller, useFormContext } from 'react-hook-form'; +import { IconSelect, LineStyleSettings } from '@kbn/visualization-ui-components'; +import React from 'react'; +import { Select } from './components/forward_refs'; +import { TextDecoration } from './components/text_decoration'; +import { Annotation } from '../../../common/annotations'; +import { FillOptions } from './components/fill_option'; +import { iconsSet } from './icon_set'; + +export function AnnotationAppearance() { + const { control, watch } = useFormContext(); + + const eventEnd = watch('event.end'); + + return ( + <> + +

+ {i18n.translate('xpack.observability.annotationForm.euiFormRow.appearance', { + defaultMessage: 'Appearance', + })} +

+ + + + {eventEnd ? ( + + ) : ( + <> + + + + ( + + )} + /> + + + ( +