+
-
+
{i18n.translate('xpack.stackAlerts.components.ui.alertParams.dataViewPopoverTitle', {
defaultMessage: 'Data view',
From c6976b4fd0d8ea4269e3462b64e9758cefcb2062 Mon Sep 17 00:00:00 2001
From: "elastic-renovate-prod[bot]"
<174716857+elastic-renovate-prod[bot]@users.noreply.github.com>
Date: Fri, 22 Nov 2024 16:17:57 -0600
Subject: [PATCH 02/68] Update dependency @testing-library/jest-dom to ^6.6.3
(main) (#191816)
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
This PR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
|
[@testing-library/jest-dom](https://togithub.com/testing-library/jest-dom)
| devDependencies | minor | [`^6.5.0` ->
`^6.6.3`](https://renovatebot.com/diffs/npm/@testing-library%2fjest-dom/6.5.0/6.6.3)
|
---
### Release Notes
testing-library/jest-dom
(@testing-library/jest-dom)
###
[`v6.6.3`](https://togithub.com/testing-library/jest-dom/releases/tag/v6.6.3)
[Compare
Source](https://togithub.com/testing-library/jest-dom/compare/v6.6.2...v6.6.3)
##### Bug Fixes
- add vitest import when extending vitest matchers
([#646](https://togithub.com/testing-library/jest-dom/issues/646))
([5ba0156](https://togithub.com/testing-library/jest-dom/commit/5ba015651c7b10c154e5a4ae54f85df6010c5295))
###
[`v6.6.2`](https://togithub.com/testing-library/jest-dom/releases/tag/v6.6.2)
[Compare
Source](https://togithub.com/testing-library/jest-dom/compare/v6.6.1...v6.6.2)
##### Bug Fixes
- remove recursive type reference in vitest types
([#636](https://togithub.com/testing-library/jest-dom/issues/636))
([4468378](https://togithub.com/testing-library/jest-dom/commit/4468378fb4986018e0bacdebd02244decb9f0718))
###
[`v6.6.1`](https://togithub.com/testing-library/jest-dom/releases/tag/v6.6.1)
[Compare
Source](https://togithub.com/testing-library/jest-dom/compare/v6.6.0...v6.6.1)
##### Bug Fixes
- fix lodash import in to-have-selection.js
([#642](https://togithub.com/testing-library/jest-dom/issues/642))
([ced792e](https://togithub.com/testing-library/jest-dom/commit/ced792e2f2773f16c249c6ce59fa8df968d28a20))
###
[`v6.6.0`](https://togithub.com/testing-library/jest-dom/releases/tag/v6.6.0)
[Compare
Source](https://togithub.com/testing-library/jest-dom/compare/v6.5.0...v6.6.0)
##### Features
- implement toHaveSelection
([#637](https://togithub.com/testing-library/jest-dom/issues/637))
([9b14804](https://togithub.com/testing-library/jest-dom/commit/9b148043d082a83f0ae5cdc03cdfc6a7c4573e6e))
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.
♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.
---
- [ ] If you want to rebase/retry this PR, check
this box
---
This PR has been generated by [Renovate
Bot](https://togithub.com/renovatebot/renovate).
Co-authored-by: elastic-renovate-prod[bot] <174716857+elastic-renovate-prod[bot]@users.noreply.github.com>
Co-authored-by: Brad White
---
package.json | 2 +-
yarn.lock | 8 ++++----
2 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/package.json b/package.json
index a4fa7916d0584..fe04f6e65bbc5 100644
--- a/package.json
+++ b/package.json
@@ -1531,7 +1531,7 @@
"@storybook/testing-react": "^1.3.0",
"@storybook/theming": "^6.5.16",
"@testing-library/dom": "^10.4.0",
- "@testing-library/jest-dom": "^6.5.0",
+ "@testing-library/jest-dom": "^6.6.3",
"@testing-library/react": "^16.0.1",
"@testing-library/react-hooks": "^8.0.1",
"@testing-library/user-event": "^14.5.2",
diff --git a/yarn.lock b/yarn.lock
index b3fefd9566533..f811bb6c93c20 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -10802,10 +10802,10 @@
lz-string "^1.5.0"
pretty-format "^27.0.2"
-"@testing-library/jest-dom@^6.5.0":
- version "6.5.0"
- resolved "https://registry.yarnpkg.com/@testing-library/jest-dom/-/jest-dom-6.5.0.tgz#50484da3f80fb222a853479f618a9ce5c47bfe54"
- integrity sha512-xGGHpBXYSHUUr6XsKBfs85TWlYKpTc37cSBBVrXcib2MkHLboWlkClhWF37JKlDb9KEq3dHs+f2xR7XJEWGBxA==
+"@testing-library/jest-dom@^6.6.3":
+ version "6.6.3"
+ resolved "https://registry.yarnpkg.com/@testing-library/jest-dom/-/jest-dom-6.6.3.tgz#26ba906cf928c0f8172e182c6fe214eb4f9f2bd2"
+ integrity sha512-IteBhl4XqYNkM54f4ejhLRJiZNqcSCoXUOG2CPK7qbD322KjQozM4kHQOfkG2oln9b9HTYqs+Sae8vBATubxxA==
dependencies:
"@adobe/css-tools" "^4.4.0"
aria-query "^5.0.0"
From b28740ee5bcdc8e74d0abf26a268668aa2abcd23 Mon Sep 17 00:00:00 2001
From: Rickyanto Ang
Date: Fri, 22 Nov 2024 14:56:22 -0800
Subject: [PATCH 03/68] [Cloud Security] Remove Unused KSPM Option (#201463)
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
## Summary
This PR is to remove unused KSPM option
---
.../public/common/constants.ts | 30 -------------------
.../translations/translations/fr-FR.json | 6 ----
.../translations/translations/ja-JP.json | 6 ----
.../translations/translations/zh-CN.json | 6 ----
4 files changed, 48 deletions(-)
diff --git a/x-pack/plugins/cloud_security_posture/public/common/constants.ts b/x-pack/plugins/cloud_security_posture/public/common/constants.ts
index ea3866cbe1256..ff4f51fc0b47a 100644
--- a/x-pack/plugins/cloud_security_posture/public/common/constants.ts
+++ b/x-pack/plugins/cloud_security_posture/public/common/constants.ts
@@ -23,8 +23,6 @@ import {
} from '../../common/constants';
import eksLogo from '../assets/icons/cis_eks_logo.svg';
-import aksLogo from '../assets/icons/cis_aks_logo.svg';
-import gkeLogo from '../assets/icons/cis_gke_logo.svg';
import googleCloudLogo from '../assets/icons/google_cloud_logo.svg';
export const CSP_MOMENT_FORMAT = 'MMMM D, YYYY @ HH:mm:ss.SSS';
@@ -145,34 +143,6 @@ export const cloudPostureIntegrations: CloudPostureIntegrations = {
}),
testId: 'cisEksTestId',
},
- {
- type: CLOUDBEAT_AKS,
- name: i18n.translate('xpack.csp.kspmIntegration.aksOption.nameTitle', {
- defaultMessage: 'AKS',
- }),
- benchmark: i18n.translate('xpack.csp.kspmIntegration.aksOption.benchmarkTitle', {
- defaultMessage: 'CIS AKS',
- }),
- disabled: true,
- icon: aksLogo,
- tooltip: i18n.translate('xpack.csp.kspmIntegration.aksOption.tooltipContent', {
- defaultMessage: 'Azure Kubernetes Service - Coming soon',
- }),
- },
- {
- type: CLOUDBEAT_GKE,
- name: i18n.translate('xpack.csp.kspmIntegration.gkeOption.nameTitle', {
- defaultMessage: 'GKE',
- }),
- benchmark: i18n.translate('xpack.csp.kspmIntegration.gkeOption.benchmarkTitle', {
- defaultMessage: 'CIS GKE',
- }),
- disabled: true,
- icon: gkeLogo,
- tooltip: i18n.translate('xpack.csp.kspmIntegration.gkeOption.tooltipContent', {
- defaultMessage: 'Google Kubernetes Engine - Coming soon',
- }),
- },
],
},
vuln_mgmt: {
diff --git a/x-pack/plugins/translations/translations/fr-FR.json b/x-pack/plugins/translations/translations/fr-FR.json
index 77cb502273850..dc6ae26d7f798 100644
--- a/x-pack/plugins/translations/translations/fr-FR.json
+++ b/x-pack/plugins/translations/translations/fr-FR.json
@@ -15105,15 +15105,9 @@
"xpack.csp.grouping.nullGroupTooltip.groupingTitle": "regrouper par",
"xpack.csp.integrationDashboard.noFindings.promptTitle": "Statut d'évaluation des résultats",
"xpack.csp.integrationDashboard.noFindingsPrompt.promptDescription": "En attente de la collecte et de l'indexation des données. Si ce processus prend plus de temps que prévu, veuillez contacter notre support technique",
- "xpack.csp.kspmIntegration.aksOption.benchmarkTitle": "CIS AKS",
- "xpack.csp.kspmIntegration.aksOption.nameTitle": "AKS",
- "xpack.csp.kspmIntegration.aksOption.tooltipContent": "Azure Kubernetes Service - Bientôt disponible",
"xpack.csp.kspmIntegration.eksOption.benchmarkTitle": "CIS EKS",
"xpack.csp.kspmIntegration.eksOption.nameTitle": "EKS",
"xpack.csp.kspmIntegration.eksOption.tooltipContent": "EKS (Elastic Kubernetes Service)",
- "xpack.csp.kspmIntegration.gkeOption.benchmarkTitle": "CIS GKE",
- "xpack.csp.kspmIntegration.gkeOption.nameTitle": "GKE",
- "xpack.csp.kspmIntegration.gkeOption.tooltipContent": "Google Kubernetes Engine - Bientôt disponible",
"xpack.csp.kspmIntegration.integration.nameTitle": "Gestion du niveau de sécurité Kubernetes",
"xpack.csp.kspmIntegration.integration.shortNameTitle": "KSPM",
"xpack.csp.kspmIntegration.vanillaOption.benchmarkTitle": "CIS Kubernetes",
diff --git a/x-pack/plugins/translations/translations/ja-JP.json b/x-pack/plugins/translations/translations/ja-JP.json
index c199283dd34af..b060c39d5f1b8 100644
--- a/x-pack/plugins/translations/translations/ja-JP.json
+++ b/x-pack/plugins/translations/translations/ja-JP.json
@@ -15084,15 +15084,9 @@
"xpack.csp.grouping.nullGroupTooltip.groupingTitle": "グループ分けの条件",
"xpack.csp.integrationDashboard.noFindings.promptTitle": "調査結果評価ステータス",
"xpack.csp.integrationDashboard.noFindingsPrompt.promptDescription": "データの収集とインデックス作成を待機しています。このプロセスに想定よりも時間がかかる場合は、サポートまでお問い合わせください",
- "xpack.csp.kspmIntegration.aksOption.benchmarkTitle": "CIS AKS",
- "xpack.csp.kspmIntegration.aksOption.nameTitle": "AKS",
- "xpack.csp.kspmIntegration.aksOption.tooltipContent": "Azure Kubernetes Service - まもなくリリース",
"xpack.csp.kspmIntegration.eksOption.benchmarkTitle": "CIS EKS",
"xpack.csp.kspmIntegration.eksOption.nameTitle": "EKS",
"xpack.csp.kspmIntegration.eksOption.tooltipContent": "Elastic Kubernetes Service",
- "xpack.csp.kspmIntegration.gkeOption.benchmarkTitle": "CIS GKE",
- "xpack.csp.kspmIntegration.gkeOption.nameTitle": "GKE",
- "xpack.csp.kspmIntegration.gkeOption.tooltipContent": "Google Kubernetes Engine - まもなくリリース",
"xpack.csp.kspmIntegration.integration.nameTitle": "Kubernetesセキュリティ態勢管理",
"xpack.csp.kspmIntegration.integration.shortNameTitle": "KSPM",
"xpack.csp.kspmIntegration.vanillaOption.benchmarkTitle": "CIS Kubernetes",
diff --git a/x-pack/plugins/translations/translations/zh-CN.json b/x-pack/plugins/translations/translations/zh-CN.json
index 0588fe925cb72..4b5f21d04c964 100644
--- a/x-pack/plugins/translations/translations/zh-CN.json
+++ b/x-pack/plugins/translations/translations/zh-CN.json
@@ -14779,15 +14779,9 @@
"xpack.csp.grouping.nullGroupTooltip.groupingTitle": "分组依据",
"xpack.csp.integrationDashboard.noFindings.promptTitle": "结果评估状态",
"xpack.csp.integrationDashboard.noFindingsPrompt.promptDescription": "正在等待要收集和索引的数据。如果此进程花费的时间长于预期,请联系我们的支持人员",
- "xpack.csp.kspmIntegration.aksOption.benchmarkTitle": "CIS AKS",
- "xpack.csp.kspmIntegration.aksOption.nameTitle": "AKS",
- "xpack.csp.kspmIntegration.aksOption.tooltipContent": "Azure Kubernetes 服务 - 即将推出",
"xpack.csp.kspmIntegration.eksOption.benchmarkTitle": "CIS EKS",
"xpack.csp.kspmIntegration.eksOption.nameTitle": "EKS",
"xpack.csp.kspmIntegration.eksOption.tooltipContent": "Elastic Kubernetes 服务",
- "xpack.csp.kspmIntegration.gkeOption.benchmarkTitle": "CIS GKE",
- "xpack.csp.kspmIntegration.gkeOption.nameTitle": "GKE",
- "xpack.csp.kspmIntegration.gkeOption.tooltipContent": "Google Kubernetes Engine - 即将推出",
"xpack.csp.kspmIntegration.integration.nameTitle": "Kubernetes 安全态势管理",
"xpack.csp.kspmIntegration.integration.shortNameTitle": "KSPM",
"xpack.csp.kspmIntegration.vanillaOption.benchmarkTitle": "CIS Kubernetes",
From c6cb05996188ec7613d38f10de57dade356d12f7 Mon Sep 17 00:00:00 2001
From: Kevin Qualters <56408403+kqualters-elastic@users.noreply.github.com>
Date: Fri, 22 Nov 2024 19:11:12 -0500
Subject: [PATCH 04/68] [Security Solution] Fix an error with nested fields
being treated as keyword (#201473)
## Summary
When formatting elasticsearch responses for the frontend, the timelines
search strategies will treat unmapped fields as type: keyword. If the
underlying field is actually an object, but is seen as a string in the
code, this for (key in source) loop will fail, as it's trying to loop
over a string. Fix below should have minimal effect as the data is
accessible at the further nested keys.
### Checklist
- [x] [Unit or functional
tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)
were updated or added to match the most common scenarios
---
.../timeline/factory/helpers/format_timeline_data.ts | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/x-pack/plugins/timelines/server/search_strategy/timeline/factory/helpers/format_timeline_data.ts b/x-pack/plugins/timelines/server/search_strategy/timeline/factory/helpers/format_timeline_data.ts
index 485ec64badd5c..481b74a802fec 100644
--- a/x-pack/plugins/timelines/server/search_strategy/timeline/factory/helpers/format_timeline_data.ts
+++ b/x-pack/plugins/timelines/server/search_strategy/timeline/factory/helpers/format_timeline_data.ts
@@ -34,7 +34,7 @@ const createBaseTimelineEdges = (): TimelineEdges => ({
function deepMerge(target: EventSource, source: EventSource) {
for (const key in source) {
- if (source[key] instanceof Object && key in target) {
+ if (source && source[key] instanceof Object && target && target[key] instanceof Object) {
deepMerge(target[key], source[key]);
} else {
target[key] = source[key];
From e48f930ab32b5c325ad38175e41f93ec0b8c4ba7 Mon Sep 17 00:00:00 2001
From: Ash <1849116+ashokaditya@users.noreply.github.com>
Date: Sat, 23 Nov 2024 02:08:24 +0100
Subject: [PATCH 05/68] [DataUsage][Serverless] UX/API changes based on demo
feedback (#200911)
## Summary
Adds a bunch of UX updates based on the feedback after demo.
- [x] Tidy chart legend action popup and links
- [x] fix UX date picker invalid time (UX shows invalid time falsely)
- [ ] Tooltip for date filter
- [ ] send UTC time to requests (1:1 mapping for date-time picked vs
date-time sent)
- [x] Remove unusable common date filter shortcuts
- [x] data stream filter `select all`
- [x] data stream filter `clear all`
- [x] No charts empty state
- [x] filter in datastreams that have greater than `0` bytes storage
size
- [ ] Filter out system indices from data stream filter?
- [x] Taller filter popover list for larger lists
Follow up of https://github.com/elastic/kibana/pull/200731
### Checklist
Check the PR satisfies following conditions.
Reviewers should verify this PR satisfies this list as well.
- [x] Any text added follows [EUI's writing
guidelines](https://elastic.github.io/eui/#/guidelines/writing), uses
sentence case text and includes [i18n
support](https://github.com/elastic/kibana/blob/main/packages/kbn-i18n/README.md)
- [ ]
[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)
was added for features that require explanation or tutorials
- [x] [Unit or functional
tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)
were updated or added to match the most common scenarios
- [x] If a plugin configuration key changed, check if it needs to be
allowlisted in the cloud and added to the [docker
list](https://github.com/elastic/kibana/blob/main/src/dev/build/tasks/os_packages/docker_generator/resources/base/bin/kibana-docker)
- [x] This was checked for breaking HTTP API changes, and any breaking
changes have been approved by the breaking-change committee. The
`release_note:breaking` label should be applied in these situations.
- [ ] [Flaky Test
Runner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1) was
used on any tests changed
- [x] The PR description includes the appropriate Release Notes section,
and the correct `release_node:*` label is applied per the
[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)
### Identify risks
Does this PR introduce any risks? For example, consider risks like hard
to test bugs, performance regression, potential of data loss.
Describe the risk, its severity, and mitigation for each identified
risk. Invite stakeholders and evaluate how to proceed before merging.
- [ ] [See some risk
examples](https://github.com/elastic/kibana/blob/main/RISK_MATRIX.mdx)
- [ ] ...
---------
Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
---
x-pack/plugins/data_usage/common/constants.ts | 14 +++
x-pack/plugins/data_usage/common/index.ts | 19 ++-
.../data_usage/common/test_utils/index.ts | 10 ++
.../common/test_utils/test_provider.tsx | 13 ++
.../data_usage/common/test_utils/time_ago.ts | 9 ++
x-pack/plugins/data_usage/common/utils.ts | 10 ++
...on_product_no_results_magnifying_glass.svg | 32 +++++
.../public/app/components/chart_panel.tsx | 2 +-
.../public/app/components/charts.tsx | 3 +-
.../public/app/components/charts_loading.tsx | 35 ++++++
.../components/data_usage_metrics.test.tsx | 115 ++++++++++++-----
.../app/components/data_usage_metrics.tsx | 38 ++++--
.../app/components/dataset_quality_link.tsx | 7 +-
.../app/components/filters/charts_filter.tsx | 116 ++++++++++++++----
.../filters/charts_filter_popover.tsx | 2 +-
.../app/components/filters/date_picker.tsx | 30 +++--
.../components/filters/toggle_all_button.tsx | 45 +++++++
.../public/app/components/legend_action.tsx | 26 ++--
.../app/components/legend_action_item.tsx | 17 +++
.../public/app/components/no_data_callout.tsx | 59 +++++++++
.../public/app/data_usage_metrics_page.tsx | 2 +-
.../public/app/hooks/use_charts_filter.tsx | 18 ++-
.../app/hooks/use_charts_url_params.test.tsx | 14 +--
.../app/hooks/use_charts_url_params.tsx | 2 +-
.../public/app/hooks/use_date_picker.tsx | 7 +-
.../plugins/data_usage/public/application.tsx | 2 +-
.../hooks/use_get_data_streams.test.tsx | 2 +-
.../hooks/use_get_usage_metrics.test.tsx | 7 +-
.../public/hooks/use_get_usage_metrics.ts | 10 +-
x-pack/plugins/data_usage/public/plugin.ts | 3 +-
.../public/{app => }/translations.tsx | 21 ++++
.../routes/internal/data_streams.test.ts | 44 ++++++-
.../routes/internal/data_streams_handler.ts | 13 +-
.../routes/internal/usage_metrics.test.ts | 14 +--
.../routes/internal/usage_metrics_handler.ts | 28 +++--
.../data_usage/server/services/autoops_api.ts | 8 +-
.../data_usage/server/services/index.ts | 2 +-
x-pack/plugins/data_usage/tsconfig.json | 2 +
.../translations/translations/fr-FR.json | 11 +-
.../translations/translations/ja-JP.json | 11 +-
.../translations/translations/zh-CN.json | 11 +-
.../common/data_usage/tests/data_streams.ts | 5 +-
42 files changed, 655 insertions(+), 184 deletions(-)
create mode 100644 x-pack/plugins/data_usage/common/constants.ts
create mode 100644 x-pack/plugins/data_usage/common/test_utils/index.ts
create mode 100644 x-pack/plugins/data_usage/common/test_utils/test_provider.tsx
create mode 100644 x-pack/plugins/data_usage/common/test_utils/time_ago.ts
create mode 100644 x-pack/plugins/data_usage/common/utils.ts
create mode 100644 x-pack/plugins/data_usage/public/app/components/assets/illustration_product_no_results_magnifying_glass.svg
create mode 100644 x-pack/plugins/data_usage/public/app/components/charts_loading.tsx
create mode 100644 x-pack/plugins/data_usage/public/app/components/filters/toggle_all_button.tsx
create mode 100644 x-pack/plugins/data_usage/public/app/components/legend_action_item.tsx
create mode 100644 x-pack/plugins/data_usage/public/app/components/no_data_callout.tsx
rename x-pack/plugins/data_usage/public/{app => }/translations.tsx (68%)
diff --git a/x-pack/plugins/data_usage/common/constants.ts b/x-pack/plugins/data_usage/common/constants.ts
new file mode 100644
index 0000000000000..bf8b801cbf92a
--- /dev/null
+++ b/x-pack/plugins/data_usage/common/constants.ts
@@ -0,0 +1,14 @@
+/*
+ * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
+ * or more contributor license agreements. Licensed under the Elastic License
+ * 2.0; you may not use this file except in compliance with the Elastic License
+ * 2.0.
+ */
+
+export const PLUGIN_ID = 'data_usage';
+
+export const DEFAULT_SELECTED_OPTIONS = 50 as const;
+
+export const DATA_USAGE_API_ROUTE_PREFIX = '/api/data_usage/';
+export const DATA_USAGE_METRICS_API_ROUTE = `/internal${DATA_USAGE_API_ROUTE_PREFIX}metrics`;
+export const DATA_USAGE_DATA_STREAMS_API_ROUTE = `/internal${DATA_USAGE_API_ROUTE_PREFIX}data_streams`;
diff --git a/x-pack/plugins/data_usage/common/index.ts b/x-pack/plugins/data_usage/common/index.ts
index 8b952b13d4cc7..63e34f872108c 100644
--- a/x-pack/plugins/data_usage/common/index.ts
+++ b/x-pack/plugins/data_usage/common/index.ts
@@ -5,15 +5,10 @@
* 2.0.
*/
-import { i18n } from '@kbn/i18n';
-
-export const PLUGIN_ID = 'data_usage';
-export const PLUGIN_NAME = i18n.translate('xpack.dataUsage.name', {
- defaultMessage: 'Data Usage',
-});
-
-export const DEFAULT_SELECTED_OPTIONS = 50 as const;
-
-export const DATA_USAGE_API_ROUTE_PREFIX = '/api/data_usage/';
-export const DATA_USAGE_METRICS_API_ROUTE = `/internal${DATA_USAGE_API_ROUTE_PREFIX}metrics`;
-export const DATA_USAGE_DATA_STREAMS_API_ROUTE = `/internal${DATA_USAGE_API_ROUTE_PREFIX}data_streams`;
+export {
+ PLUGIN_ID,
+ DEFAULT_SELECTED_OPTIONS,
+ DATA_USAGE_API_ROUTE_PREFIX,
+ DATA_USAGE_METRICS_API_ROUTE,
+ DATA_USAGE_DATA_STREAMS_API_ROUTE,
+} from './constants';
diff --git a/x-pack/plugins/data_usage/common/test_utils/index.ts b/x-pack/plugins/data_usage/common/test_utils/index.ts
new file mode 100644
index 0000000000000..c3c8e75b29454
--- /dev/null
+++ b/x-pack/plugins/data_usage/common/test_utils/index.ts
@@ -0,0 +1,10 @@
+/*
+ * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
+ * or more contributor license agreements. Licensed under the Elastic License
+ * 2.0; you may not use this file except in compliance with the Elastic License
+ * 2.0.
+ */
+
+export { TestProvider } from './test_provider';
+export { dataUsageTestQueryClientOptions } from './test_query_client_options';
+export { timeXMinutesAgo } from './time_ago';
diff --git a/x-pack/plugins/data_usage/common/test_utils/test_provider.tsx b/x-pack/plugins/data_usage/common/test_utils/test_provider.tsx
new file mode 100644
index 0000000000000..a3d154ba911e0
--- /dev/null
+++ b/x-pack/plugins/data_usage/common/test_utils/test_provider.tsx
@@ -0,0 +1,13 @@
+/*
+ * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
+ * or more contributor license agreements. Licensed under the Elastic License
+ * 2.0; you may not use this file except in compliance with the Elastic License
+ * 2.0.
+ */
+
+import React, { memo } from 'react';
+import { I18nProvider } from '@kbn/i18n-react';
+
+export const TestProvider = memo(({ children }: { children?: React.ReactNode }) => {
+ return {children} ;
+});
diff --git a/x-pack/plugins/data_usage/common/test_utils/time_ago.ts b/x-pack/plugins/data_usage/common/test_utils/time_ago.ts
new file mode 100644
index 0000000000000..7fe74e232bdac
--- /dev/null
+++ b/x-pack/plugins/data_usage/common/test_utils/time_ago.ts
@@ -0,0 +1,9 @@
+/*
+ * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
+ * or more contributor license agreements. Licensed under the Elastic License
+ * 2.0; you may not use this file except in compliance with the Elastic License
+ * 2.0.
+ */
+
+export const timeXMinutesAgo = (x: number) =>
+ new Date(new Date().getTime() - x * 60 * 1000).toISOString();
diff --git a/x-pack/plugins/data_usage/common/utils.ts b/x-pack/plugins/data_usage/common/utils.ts
new file mode 100644
index 0000000000000..ddd707b1134fd
--- /dev/null
+++ b/x-pack/plugins/data_usage/common/utils.ts
@@ -0,0 +1,10 @@
+/*
+ * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
+ * or more contributor license agreements. Licensed under the Elastic License
+ * 2.0; you may not use this file except in compliance with the Elastic License
+ * 2.0.
+ */
+
+import dateMath from '@kbn/datemath';
+export const dateParser = (date: string) => dateMath.parse(date)?.toISOString();
+export const momentDateParser = (date: string) => dateMath.parse(date);
diff --git a/x-pack/plugins/data_usage/public/app/components/assets/illustration_product_no_results_magnifying_glass.svg b/x-pack/plugins/data_usage/public/app/components/assets/illustration_product_no_results_magnifying_glass.svg
new file mode 100644
index 0000000000000..4329041f84a9f
--- /dev/null
+++ b/x-pack/plugins/data_usage/public/app/components/assets/illustration_product_no_results_magnifying_glass.svg
@@ -0,0 +1,32 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/x-pack/plugins/data_usage/public/app/components/chart_panel.tsx b/x-pack/plugins/data_usage/public/app/components/chart_panel.tsx
index bb0df29e22fff..208b1e576c0d7 100644
--- a/x-pack/plugins/data_usage/public/app/components/chart_panel.tsx
+++ b/x-pack/plugins/data_usage/public/app/components/chart_panel.tsx
@@ -20,7 +20,7 @@ import {
} from '@elastic/charts';
import { i18n } from '@kbn/i18n';
import { LegendAction } from './legend_action';
-import { MetricTypes, MetricSeries } from '../../../common/rest_types';
+import { type MetricTypes, type MetricSeries } from '../../../common/rest_types';
import { formatBytes } from '../../utils/format_bytes';
// TODO: Remove this when we have a title for each metric type
diff --git a/x-pack/plugins/data_usage/public/app/components/charts.tsx b/x-pack/plugins/data_usage/public/app/components/charts.tsx
index 4a2b9b4fbc875..271cfe432402d 100644
--- a/x-pack/plugins/data_usage/public/app/components/charts.tsx
+++ b/x-pack/plugins/data_usage/public/app/components/charts.tsx
@@ -6,9 +6,8 @@
*/
import React, { useCallback, useState } from 'react';
import { EuiFlexGroup } from '@elastic/eui';
-import { MetricTypes } from '../../../common/rest_types';
import { ChartPanel } from './chart_panel';
-import { UsageMetricsResponseSchemaBody } from '../../../common/rest_types';
+import type { UsageMetricsResponseSchemaBody, MetricTypes } from '../../../common/rest_types';
import { useTestIdGenerator } from '../../hooks/use_test_id_generator';
interface ChartsProps {
data: UsageMetricsResponseSchemaBody;
diff --git a/x-pack/plugins/data_usage/public/app/components/charts_loading.tsx b/x-pack/plugins/data_usage/public/app/components/charts_loading.tsx
new file mode 100644
index 0000000000000..08c37934c451e
--- /dev/null
+++ b/x-pack/plugins/data_usage/public/app/components/charts_loading.tsx
@@ -0,0 +1,35 @@
+/*
+ * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
+ * or more contributor license agreements. Licensed under the Elastic License
+ * 2.0; you may not use this file except in compliance with the Elastic License
+ * 2.0.
+ */
+import React from 'react';
+import { EuiFlexGroup, EuiFlexItem, EuiPanel, EuiLoadingChart } from '@elastic/eui';
+import { useTestIdGenerator } from '../../hooks/use_test_id_generator';
+
+export const ChartsLoading = ({
+ 'data-test-subj': dataTestSubj,
+}: {
+ 'data-test-subj'?: string;
+}) => {
+ const getTestId = useTestIdGenerator(dataTestSubj);
+ // returns 2 loading icons for the two charts
+ return (
+
+ {[...Array(2)].map((i) => (
+
+
+
+
+
+ ))}
+
+ );
+};
+
+ChartsLoading.displayName = 'ChartsLoading';
diff --git a/x-pack/plugins/data_usage/public/app/components/data_usage_metrics.test.tsx b/x-pack/plugins/data_usage/public/app/components/data_usage_metrics.test.tsx
index 8ece65b7a57a4..91e2fd5ddafa9 100644
--- a/x-pack/plugins/data_usage/public/app/components/data_usage_metrics.test.tsx
+++ b/x-pack/plugins/data_usage/public/app/components/data_usage_metrics.test.tsx
@@ -5,7 +5,8 @@
* 2.0.
*/
import React from 'react';
-import { render, waitFor } from '@testing-library/react';
+import { TestProvider } from '../../../common/test_utils';
+import { render, waitFor, within, type RenderResult } from '@testing-library/react';
import userEvent, { type UserEvent } from '@testing-library/user-event';
import { DataUsageMetrics } from './data_usage_metrics';
import { useGetDataUsageMetrics } from '../../hooks/use_get_usage_metrics';
@@ -102,21 +103,6 @@ jest.mock('@kbn/kibana-react-plugin/public', () => {
to: 'now',
display: 'Last 7 days',
},
- {
- from: 'now-30d',
- to: 'now',
- display: 'Last 30 days',
- },
- {
- from: 'now-90d',
- to: 'now',
- display: 'Last 90 days',
- },
- {
- from: 'now-1y',
- to: 'now',
- display: 'Last 1 year',
- },
],
};
return x[k];
@@ -156,6 +142,7 @@ describe('DataUsageMetrics', () => {
let user: UserEvent;
const testId = 'test';
const testIdFilter = `${testId}-filter`;
+ let renderComponent: () => RenderResult;
beforeAll(() => {
jest.useFakeTimers();
@@ -167,18 +154,24 @@ describe('DataUsageMetrics', () => {
beforeEach(() => {
jest.clearAllMocks();
+ renderComponent = () =>
+ render(
+
+
+
+ );
user = userEvent.setup({ advanceTimers: jest.advanceTimersByTime, pointerEventsCheck: 0 });
mockUseGetDataUsageMetrics.mockReturnValue(getBaseMockedDataUsageMetrics);
mockUseGetDataUsageDataStreams.mockReturnValue(getBaseMockedDataStreams);
});
it('renders', () => {
- const { getByTestId } = render( );
+ const { getByTestId } = renderComponent();
expect(getByTestId(`${testId}`)).toBeTruthy();
});
it('should show date filter', () => {
- const { getByTestId } = render( );
+ const { getByTestId } = renderComponent();
const dateFilter = getByTestId(`${testIdFilter}-date-range`);
expect(dateFilter).toBeTruthy();
expect(dateFilter.textContent).toContain('to');
@@ -190,12 +183,12 @@ describe('DataUsageMetrics', () => {
...getBaseMockedDataStreams,
isFetching: true,
});
- const { queryByTestId } = render( );
+ const { queryByTestId } = renderComponent();
expect(queryByTestId(`${testIdFilter}-dataStreams-popoverButton`)).not.toBeTruthy();
});
it('should show data streams filter', () => {
- const { getByTestId } = render( );
+ const { getByTestId } = renderComponent();
expect(getByTestId(`${testIdFilter}-dataStreams-popoverButton`)).toBeTruthy();
});
@@ -205,7 +198,7 @@ describe('DataUsageMetrics', () => {
data: generateDataStreams(5),
isFetching: false,
});
- const { getByTestId } = render( );
+ const { getByTestId } = renderComponent();
expect(getByTestId(`${testIdFilter}-dataStreams-popoverButton`)).toHaveTextContent(
'Data streams5'
);
@@ -217,29 +210,76 @@ describe('DataUsageMetrics', () => {
data: generateDataStreams(100),
isFetching: false,
});
- const { getByTestId } = render( );
+ const { getByTestId } = renderComponent();
const toggleFilterButton = getByTestId(`${testIdFilter}-dataStreams-popoverButton`);
expect(toggleFilterButton).toHaveTextContent('Data streams50');
});
- it('should allow de-selecting all but one data stream option', async () => {
+ it('should allow de-selecting data stream options', async () => {
mockUseGetDataUsageDataStreams.mockReturnValue({
error: undefined,
- data: generateDataStreams(5),
+ data: generateDataStreams(10),
isFetching: false,
});
- const { getByTestId, getAllByTestId } = render( );
+ const { getByTestId, getAllByTestId } = renderComponent();
const toggleFilterButton = getByTestId(`${testIdFilter}-dataStreams-popoverButton`);
- expect(toggleFilterButton).toHaveTextContent('Data streams5');
+ expect(toggleFilterButton).toHaveTextContent('Data streams10');
await user.click(toggleFilterButton);
const allFilterOptions = getAllByTestId('dataStreams-filter-option');
- for (let i = 0; i < allFilterOptions.length - 1; i++) {
+ // deselect 9 options
+ for (let i = 0; i < allFilterOptions.length; i++) {
await user.click(allFilterOptions[i]);
}
expect(toggleFilterButton).toHaveTextContent('Data streams1');
+ expect(within(toggleFilterButton).getByRole('marquee').getAttribute('aria-label')).toEqual(
+ '1 active filters'
+ );
+ });
+
+ it('should allow selecting/deselecting all data stream options using `select all` and `clear all`', async () => {
+ mockUseGetDataUsageDataStreams.mockReturnValue({
+ error: undefined,
+ data: generateDataStreams(10),
+ isFetching: false,
+ });
+ const { getByTestId } = renderComponent();
+ const toggleFilterButton = getByTestId(`${testIdFilter}-dataStreams-popoverButton`);
+
+ expect(toggleFilterButton).toHaveTextContent('Data streams10');
+ await user.click(toggleFilterButton);
+
+ // all options are selected on load
+ expect(within(toggleFilterButton).getByRole('marquee').getAttribute('aria-label')).toEqual(
+ '10 active filters'
+ );
+
+ const selectAllButton = getByTestId(`${testIdFilter}-dataStreams-selectAllButton`);
+ const clearAllButton = getByTestId(`${testIdFilter}-dataStreams-clearAllButton`);
+
+ // select all is disabled
+ expect(selectAllButton).toBeTruthy();
+ expect(selectAllButton.getAttribute('disabled')).not.toBeNull();
+
+ // clear all is enabled
+ expect(clearAllButton).toBeTruthy();
+ expect(clearAllButton.getAttribute('disabled')).toBeNull();
+ // click clear all and expect all options to be deselected
+ await user.click(clearAllButton);
+ expect(within(toggleFilterButton).getByRole('marquee').getAttribute('aria-label')).toEqual(
+ '10 available filters'
+ );
+ // select all is enabled again
+ expect(await selectAllButton.getAttribute('disabled')).toBeNull();
+ // click select all
+ await user.click(selectAllButton);
+
+ // all options are selected and clear all is disabled
+ expect(within(toggleFilterButton).getByRole('marquee').getAttribute('aria-label')).toEqual(
+ '10 active filters'
+ );
});
it('should not call usage metrics API if no data streams', async () => {
@@ -247,7 +287,7 @@ describe('DataUsageMetrics', () => {
...getBaseMockedDataStreams,
data: [],
});
- render( );
+ renderComponent();
expect(mockUseGetDataUsageMetrics).toHaveBeenCalledWith(
expect.any(Object),
expect.objectContaining({ enabled: false })
@@ -259,7 +299,7 @@ describe('DataUsageMetrics', () => {
...getBaseMockedDataUsageMetrics,
isFetching: true,
});
- const { getByTestId } = render( );
+ const { getByTestId } = renderComponent();
expect(getByTestId(`${testId}-charts-loading`)).toBeTruthy();
});
@@ -290,10 +330,19 @@ describe('DataUsageMetrics', () => {
],
},
});
- const { getByTestId } = render( );
+ const { getByTestId } = renderComponent();
expect(getByTestId(`${testId}-charts`)).toBeTruthy();
});
+ it('should show no charts callout', () => {
+ mockUseGetDataUsageMetrics.mockReturnValue({
+ ...getBaseMockedDataUsageMetrics,
+ isFetched: false,
+ });
+ const { getByTestId } = renderComponent();
+ expect(getByTestId(`${testId}-no-charts-callout`)).toBeTruthy();
+ });
+
it('should refetch usage metrics with `Refresh` button click', async () => {
const refetch = jest.fn();
mockUseGetDataUsageMetrics.mockReturnValue({
@@ -306,7 +355,7 @@ describe('DataUsageMetrics', () => {
isFetched: true,
refetch,
});
- const { getByTestId } = render( );
+ const { getByTestId } = renderComponent();
const refreshButton = getByTestId(`${testIdFilter}-super-refresh-button`);
// click refresh 5 times
for (let i = 0; i < 5; i++) {
@@ -326,7 +375,7 @@ describe('DataUsageMetrics', () => {
isFetched: true,
error: new Error('Uh oh!'),
});
- render( );
+ renderComponent();
await waitFor(() => {
expect(mockServices.notifications.toasts.addDanger).toHaveBeenCalledWith({
title: 'Error getting usage metrics',
@@ -341,7 +390,7 @@ describe('DataUsageMetrics', () => {
isFetched: true,
error: new Error('Uh oh!'),
});
- render( );
+ renderComponent();
await waitFor(() => {
expect(mockServices.notifications.toasts.addDanger).toHaveBeenCalledWith({
title: 'Error getting data streams',
diff --git a/x-pack/plugins/data_usage/public/app/components/data_usage_metrics.tsx b/x-pack/plugins/data_usage/public/app/components/data_usage_metrics.tsx
index 5460c7ada0389..d7d6417cf1444 100644
--- a/x-pack/plugins/data_usage/public/app/components/data_usage_metrics.tsx
+++ b/x-pack/plugins/data_usage/public/app/components/data_usage_metrics.tsx
@@ -7,18 +7,20 @@
import React, { memo, useCallback, useEffect, useMemo, useState } from 'react';
import { css } from '@emotion/react';
-import { EuiFlexGroup, EuiFlexItem, EuiLoadingElastic } from '@elastic/eui';
+import { EuiFlexGroup, EuiFlexItem } from '@elastic/eui';
import { i18n } from '@kbn/i18n';
import { Charts } from './charts';
import { useBreadcrumbs } from '../../utils/use_breadcrumbs';
import { useKibanaContextForPlugin } from '../../utils/use_kibana';
-import { PLUGIN_NAME } from '../../../common';
+import { DEFAULT_METRIC_TYPES, type UsageMetricsRequestBody } from '../../../common/rest_types';
+import { PLUGIN_NAME } from '../../translations';
import { useGetDataUsageMetrics } from '../../hooks/use_get_usage_metrics';
import { useGetDataUsageDataStreams } from '../../hooks/use_get_data_streams';
import { useDataUsageMetricsUrlParams } from '../hooks/use_charts_url_params';
import { DEFAULT_DATE_RANGE_OPTIONS, useDateRangePicker } from '../hooks/use_date_picker';
-import { DEFAULT_METRIC_TYPES, UsageMetricsRequestBody } from '../../../common/rest_types';
import { ChartFilters, ChartFiltersProps } from './filters/charts_filters';
+import { ChartsLoading } from './charts_loading';
+import { NoDataCallout } from './no_data_callout';
import { useTestIdGenerator } from '../../hooks/use_test_id_generator';
const EuiItemCss = css`
@@ -33,6 +35,8 @@ export const DataUsageMetrics = memo(
({ 'data-test-subj': dataTestSubj = 'data-usage-metrics' }: { 'data-test-subj'?: string }) => {
const getTestId = useTestIdGenerator(dataTestSubj);
+ const [isFirstPageLoad, setIsFirstPageLoad] = useState(true);
+
const {
services: { chrome, appParams, notifications },
} = useKibanaContextForPlugin();
@@ -68,10 +72,10 @@ export const DataUsageMetrics = memo(
});
useEffect(() => {
- if (!metricTypesFromUrl) {
+ if (!metricTypesFromUrl && isFirstPageLoad) {
setUrlMetricTypesFilter(metricsFilters.metricTypes.join(','));
}
- if (!dataStreamsFromUrl && dataStreams) {
+ if (!dataStreamsFromUrl && dataStreams && isFirstPageLoad) {
const hasMoreThan50 = dataStreams.length > 50;
const _dataStreams = hasMoreThan50 ? dataStreams.slice(0, 50) : dataStreams;
setUrlDataStreamsFilter(_dataStreams.map((ds) => ds.name).join(','));
@@ -83,6 +87,7 @@ export const DataUsageMetrics = memo(
dataStreams,
dataStreamsFromUrl,
endDateFromUrl,
+ isFirstPageLoad,
metricTypesFromUrl,
metricsFilters.dataStreams,
metricsFilters.from,
@@ -106,9 +111,9 @@ export const DataUsageMetrics = memo(
const {
error: errorFetchingDataUsageMetrics,
- data,
+ data: usageMetricsData,
isFetching,
- isFetched,
+ isFetched: hasFetchedDataUsageMetricsData,
refetch: refetchDataUsageMetrics,
} = useGetDataUsageMetrics(
{
@@ -118,10 +123,16 @@ export const DataUsageMetrics = memo(
},
{
retry: false,
- enabled: !!metricsFilters.dataStreams.length,
+ enabled: !!(metricsFilters.dataStreams.length && metricsFilters.metricTypes.length),
}
);
+ useEffect(() => {
+ if (!isFetching && hasFetchedDataUsageMetricsData) {
+ setIsFirstPageLoad(false);
+ }
+ }, [isFetching, hasFetchedDataUsageMetricsData]);
+
const onRefresh = useCallback(() => {
refetchDataUsageMetrics();
}, [refetchDataUsageMetrics]);
@@ -204,13 +215,14 @@ export const DataUsageMetrics = memo(
data-test-subj={getTestId('filter')}
/>
-
- {isFetched && data ? (
-
+ {hasFetchedDataUsageMetricsData && usageMetricsData ? (
+
) : isFetching ? (
-
- ) : null}
+
+ ) : (
+
+ )}
);
diff --git a/x-pack/plugins/data_usage/public/app/components/dataset_quality_link.tsx b/x-pack/plugins/data_usage/public/app/components/dataset_quality_link.tsx
index d6627f3d8dca2..8e81e6091156b 100644
--- a/x-pack/plugins/data_usage/public/app/components/dataset_quality_link.tsx
+++ b/x-pack/plugins/data_usage/public/app/components/dataset_quality_link.tsx
@@ -6,13 +6,14 @@
*/
import React from 'react';
-import { EuiListGroupItem } from '@elastic/eui';
import {
DataQualityDetailsLocatorParams,
DATA_QUALITY_DETAILS_LOCATOR_ID,
} from '@kbn/deeplinks-observability';
import { useKibanaContextForPlugin } from '../../utils/use_kibana';
import { useDateRangePicker } from '../hooks/use_date_picker';
+import { LegendActionItem } from './legend_action_item';
+import { UX_LABELS } from '../../translations';
interface DatasetQualityLinkProps {
dataStreamName: string;
@@ -39,6 +40,8 @@ export const DatasetQualityLink: React.FC = React.memo(
await locator.navigate(locatorParams);
}
};
- return ;
+ return (
+
+ );
}
);
diff --git a/x-pack/plugins/data_usage/public/app/components/filters/charts_filter.tsx b/x-pack/plugins/data_usage/public/app/components/filters/charts_filter.tsx
index 6b4806537e74b..fcff6fc13f260 100644
--- a/x-pack/plugins/data_usage/public/app/components/filters/charts_filter.tsx
+++ b/x-pack/plugins/data_usage/public/app/components/filters/charts_filter.tsx
@@ -5,18 +5,15 @@
* 2.0.
*/
-import { orderBy } from 'lodash/fp';
+import { orderBy, findKey } from 'lodash/fp';
import React, { memo, useCallback, useEffect, useMemo, useRef, useState } from 'react';
-import { EuiPopoverTitle, EuiSelectable } from '@elastic/eui';
+import { EuiPopoverTitle, EuiSelectable, EuiFlexGroup, EuiFlexItem } from '@elastic/eui';
import { useTestIdGenerator } from '../../../hooks/use_test_id_generator';
-import {
- METRIC_TYPE_API_VALUES_TO_UI_OPTIONS_MAP,
- type MetricTypes,
-} from '../../../../common/rest_types';
-
-import { UX_LABELS } from '../../translations';
+import { METRIC_TYPE_API_VALUES_TO_UI_OPTIONS_MAP } from '../../../../common/rest_types';
+import { UX_LABELS } from '../../../translations';
import { ChartsFilterPopover } from './charts_filter_popover';
+import { ToggleAllButton } from './toggle_all_button';
import { FilterItems, FilterName, useChartsFilter } from '../../hooks';
const getSearchPlaceholder = (filterName: FilterName) => {
@@ -84,6 +81,11 @@ export const ChartsFilter = memo(
},
});
+ const addHeightToPopover = useMemo(
+ () => isDataStreamsFilter && numFilters + numActiveFilters > 15,
+ [isDataStreamsFilter, numFilters, numActiveFilters]
+ );
+
// track popover state to pin selected options
const wasPopoverOpen = useRef(isPopoverOpen);
@@ -102,7 +104,7 @@ export const ChartsFilter = memo(
);
// augmented options based on the dataStreams filter
- const sortedHostsFilterOptions = useMemo(() => {
+ const sortedDataStreamsFilterOptions = useMemo(() => {
if (shouldPinSelectedDataStreams() || areDataStreamsSelectedOnMount) {
// pin checked items to the top
return orderBy('checked', 'asc', items);
@@ -116,12 +118,6 @@ export const ChartsFilter = memo(
const onOptionsChange = useCallback(
(newOptions: FilterItems) => {
const optionItemsToSet = newOptions.map((option) => option);
- const currChecks = optionItemsToSet.filter((option) => option.checked === 'on');
-
- // don't update filter state if trying to uncheck all options
- if (currChecks.length < 1) {
- return;
- }
// update filter UI options state
setItems(optionItemsToSet);
@@ -136,13 +132,9 @@ export const ChartsFilter = memo(
// update URL params
if (isMetricsFilter) {
- setUrlMetricTypesFilter(
- selectedItems
- .map((item) => METRIC_TYPE_API_VALUES_TO_UI_OPTIONS_MAP[item as MetricTypes])
- .join()
- );
+ setUrlMetricTypesFilter(selectedItems.join(','));
} else if (isDataStreamsFilter) {
- setUrlDataStreamsFilter(selectedItems.join());
+ setUrlDataStreamsFilter(selectedItems.join(','));
}
// reset shouldPinSelectedDataStreams, setAreDataStreamsSelectedOnMount
shouldPinSelectedDataStreams(false);
@@ -162,6 +154,63 @@ export const ChartsFilter = memo(
]
);
+ const onSelectAll = useCallback(() => {
+ const allItems: FilterItems = items.map((item) => {
+ return {
+ ...item,
+ checked: 'on',
+ };
+ });
+ setItems(allItems);
+ const optionsToSelect = allItems.map((i) => i.label);
+ onChangeFilterOptions(optionsToSelect);
+
+ if (isDataStreamsFilter) {
+ setUrlDataStreamsFilter(optionsToSelect.join(','));
+ }
+ if (isMetricsFilter) {
+ setUrlMetricTypesFilter(
+ optionsToSelect
+ .map((option) => findKey(METRIC_TYPE_API_VALUES_TO_UI_OPTIONS_MAP, option))
+ .join(',')
+ );
+ }
+ }, [
+ items,
+ isDataStreamsFilter,
+ isMetricsFilter,
+ setItems,
+ onChangeFilterOptions,
+ setUrlDataStreamsFilter,
+ setUrlMetricTypesFilter,
+ ]);
+
+ const onClearAll = useCallback(() => {
+ setItems(
+ items.map((item) => {
+ return {
+ ...item,
+ checked: undefined,
+ };
+ })
+ );
+ onChangeFilterOptions([]);
+ if (isDataStreamsFilter) {
+ setUrlDataStreamsFilter('');
+ }
+ if (isMetricsFilter) {
+ setUrlMetricTypesFilter('');
+ }
+ }, [
+ items,
+ isDataStreamsFilter,
+ isMetricsFilter,
+ setItems,
+ onChangeFilterOptions,
+ setUrlDataStreamsFilter,
+ setUrlMetricTypesFilter,
+ ]);
+
useEffect(() => {
return () => {
wasPopoverOpen.current = isPopoverOpen;
@@ -182,9 +231,10 @@ export const ChartsFilter = memo(
(
)}
{list}
+
+
+
+
+
+
+
+
);
}}
diff --git a/x-pack/plugins/data_usage/public/app/components/filters/charts_filter_popover.tsx b/x-pack/plugins/data_usage/public/app/components/filters/charts_filter_popover.tsx
index 3c0237c84a0c9..a2f4585e592ce 100644
--- a/x-pack/plugins/data_usage/public/app/components/filters/charts_filter_popover.tsx
+++ b/x-pack/plugins/data_usage/public/app/components/filters/charts_filter_popover.tsx
@@ -9,7 +9,7 @@ import React, { memo, useMemo } from 'react';
import { EuiFilterButton, EuiPopover, useGeneratedHtmlId } from '@elastic/eui';
import { useTestIdGenerator } from '../../../hooks/use_test_id_generator';
import { type FilterName } from '../../hooks/use_charts_filter';
-import { FILTER_NAMES } from '../../translations';
+import { FILTER_NAMES } from '../../../translations';
export const ChartsFilterPopover = memo(
({
diff --git a/x-pack/plugins/data_usage/public/app/components/filters/date_picker.tsx b/x-pack/plugins/data_usage/public/app/components/filters/date_picker.tsx
index 62c6cc542a523..81ab435670f89 100644
--- a/x-pack/plugins/data_usage/public/app/components/filters/date_picker.tsx
+++ b/x-pack/plugins/data_usage/public/app/components/filters/date_picker.tsx
@@ -15,8 +15,9 @@ import type {
OnRefreshChangeProps,
} from '@elastic/eui/src/components/date_picker/types';
import { UI_SETTINGS } from '@kbn/data-plugin/common';
-import moment from 'moment';
+import { momentDateParser } from '../../../../common/utils';
import { useTestIdGenerator } from '../../../hooks/use_test_id_generator';
+import { DEFAULT_DATE_RANGE_OPTIONS } from '../../hooks/use_date_picker';
export interface DateRangePickerValues {
autoRefreshOptions: {
@@ -50,16 +51,23 @@ export const UsageMetricsDateRangePicker = memo
();
const { uiSettings } = kibana.services;
const [commonlyUsedRanges] = useState(() => {
- return (
- uiSettings
- ?.get(UI_SETTINGS.TIMEPICKER_QUICK_RANGES)
- ?.map(({ from, to, display }: { from: string; to: string; display: string }) => {
- return {
+ const _commonlyUsedRanges: Array<{ from: string; to: string; display: string }> =
+ uiSettings.get(UI_SETTINGS.TIMEPICKER_QUICK_RANGES);
+ if (!_commonlyUsedRanges) {
+ return [];
+ }
+ return _commonlyUsedRanges.reduce(
+ (acc, { from, to, display }: { from: string; to: string; display: string }) => {
+ if (!['now-30d/d', 'now-90d/d', 'now-1y/d'].includes(from)) {
+ acc.push({
start: from,
end: to,
label: display,
- };
- }) ?? []
+ });
+ }
+ return acc;
+ },
+ []
);
});
@@ -80,9 +88,9 @@ export const UsageMetricsDateRangePicker = memo
);
diff --git a/x-pack/plugins/data_usage/public/app/components/filters/toggle_all_button.tsx b/x-pack/plugins/data_usage/public/app/components/filters/toggle_all_button.tsx
new file mode 100644
index 0000000000000..3d1c4080fcc9c
--- /dev/null
+++ b/x-pack/plugins/data_usage/public/app/components/filters/toggle_all_button.tsx
@@ -0,0 +1,45 @@
+/*
+ * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
+ * or more contributor license agreements. Licensed under the Elastic License
+ * 2.0; you may not use this file except in compliance with the Elastic License
+ * 2.0.
+ */
+
+import { css } from '@emotion/react';
+import { euiThemeVars } from '@kbn/ui-theme';
+import React, { memo } from 'react';
+import { EuiButtonEmpty, EuiButtonEmptyProps } from '@elastic/eui';
+
+const EuiButtonEmptyCss = css`
+ border-top: ${euiThemeVars.euiBorderThin};
+ border-radius: 0;
+`;
+
+interface ToggleAllButtonProps {
+ 'data-test-subj'?: string;
+ color: EuiButtonEmptyProps['color'];
+ icon: EuiButtonEmptyProps['iconType'];
+ isDisabled: boolean;
+ onClick: () => void;
+ label: string;
+}
+
+export const ToggleAllButton = memo(
+ ({ color, 'data-test-subj': dataTestSubj, icon, isDisabled, label, onClick }) => {
+ // const getTestId = useTestIdGenerator(dataTestSubj);
+ return (
+
+ {label}
+
+ );
+ }
+);
+
+ToggleAllButton.displayName = 'ToggleAllButton';
diff --git a/x-pack/plugins/data_usage/public/app/components/legend_action.tsx b/x-pack/plugins/data_usage/public/app/components/legend_action.tsx
index c9059037c4445..b748b77163245 100644
--- a/x-pack/plugins/data_usage/public/app/components/legend_action.tsx
+++ b/x-pack/plugins/data_usage/public/app/components/legend_action.tsx
@@ -5,18 +5,12 @@
* 2.0.
*/
import React, { useCallback } from 'react';
-import {
- EuiFlexGroup,
- EuiFlexItem,
- EuiButtonIcon,
- EuiPopover,
- EuiListGroup,
- EuiListGroupItem,
- EuiSpacer,
-} from '@elastic/eui';
+import { EuiFlexGroup, EuiFlexItem, EuiButtonIcon, EuiPopover, EuiListGroup } from '@elastic/eui';
import { IndexManagementLocatorParams } from '@kbn/index-management-shared-types';
import { DatasetQualityLink } from './dataset_quality_link';
import { useKibanaContextForPlugin } from '../../utils/use_kibana';
+import { LegendActionItem } from './legend_action_item';
+import { UX_LABELS } from '../../translations';
interface LegendActionProps {
idx: number;
@@ -63,7 +57,7 @@ export const LegendAction: React.FC = React.memo(
togglePopover(uniqueStreamName)}
/>
@@ -74,11 +68,15 @@ export const LegendAction: React.FC = React.memo(
anchorPosition="downRight"
>
-
-
-
+
{hasIndexManagementFeature && (
-
+
)}
{hasDataSetQualityFeature && }
diff --git a/x-pack/plugins/data_usage/public/app/components/legend_action_item.tsx b/x-pack/plugins/data_usage/public/app/components/legend_action_item.tsx
new file mode 100644
index 0000000000000..3b4f0d9f698f7
--- /dev/null
+++ b/x-pack/plugins/data_usage/public/app/components/legend_action_item.tsx
@@ -0,0 +1,17 @@
+/*
+ * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
+ * or more contributor license agreements. Licensed under the Elastic License
+ * 2.0; you may not use this file except in compliance with the Elastic License
+ * 2.0.
+ */
+
+import React, { memo } from 'react';
+import { EuiListGroupItem } from '@elastic/eui';
+
+export const LegendActionItem = memo(
+ ({ label, onClick }: { label: string; onClick: () => Promise | void }) => (
+
+ )
+);
+
+LegendActionItem.displayName = 'LegendActionItem';
diff --git a/x-pack/plugins/data_usage/public/app/components/no_data_callout.tsx b/x-pack/plugins/data_usage/public/app/components/no_data_callout.tsx
new file mode 100644
index 0000000000000..c8c06db351060
--- /dev/null
+++ b/x-pack/plugins/data_usage/public/app/components/no_data_callout.tsx
@@ -0,0 +1,59 @@
+/*
+ * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
+ * or more contributor license agreements. Licensed under the Elastic License
+ * 2.0; you may not use this file except in compliance with the Elastic License
+ * 2.0.
+ */
+
+import React from 'react';
+import { EuiPanel, EuiFlexGroup, EuiFlexItem, EuiImage, EuiText, EuiTitle } from '@elastic/eui';
+import { FormattedMessage } from '@kbn/i18n-react';
+import icon from './assets/illustration_product_no_results_magnifying_glass.svg';
+import { useTestIdGenerator } from '../../hooks/use_test_id_generator';
+
+export const NoDataCallout = ({
+ 'data-test-subj': dateTestSubj,
+}: {
+ 'data-test-subj'?: string;
+}) => {
+ const getTestId = useTestIdGenerator(dateTestSubj);
+
+ return (
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ );
+};
+
+NoDataCallout.displayName = 'NoDataCallout';
diff --git a/x-pack/plugins/data_usage/public/app/data_usage_metrics_page.tsx b/x-pack/plugins/data_usage/public/app/data_usage_metrics_page.tsx
index 69edb7a7f01ce..adc53e12b5749 100644
--- a/x-pack/plugins/data_usage/public/app/data_usage_metrics_page.tsx
+++ b/x-pack/plugins/data_usage/public/app/data_usage_metrics_page.tsx
@@ -7,7 +7,7 @@
import React from 'react';
import { DataUsagePage } from './components/page';
-import { DATA_USAGE_PAGE } from './translations';
+import { DATA_USAGE_PAGE } from '../translations';
import { DataUsageMetrics } from './components/data_usage_metrics';
export const DataUsageMetricsPage = () => {
diff --git a/x-pack/plugins/data_usage/public/app/hooks/use_charts_filter.tsx b/x-pack/plugins/data_usage/public/app/hooks/use_charts_filter.tsx
index d2c5dc554ff2d..012a6027aadb2 100644
--- a/x-pack/plugins/data_usage/public/app/hooks/use_charts_filter.tsx
+++ b/x-pack/plugins/data_usage/public/app/hooks/use_charts_filter.tsx
@@ -6,13 +6,13 @@
*/
import { useState, useEffect, useMemo } from 'react';
+import { DEFAULT_SELECTED_OPTIONS } from '../../../common';
import {
- isDefaultMetricType,
- METRIC_TYPE_API_VALUES_TO_UI_OPTIONS_MAP,
METRIC_TYPE_VALUES,
+ METRIC_TYPE_API_VALUES_TO_UI_OPTIONS_MAP,
+ isDefaultMetricType,
} from '../../../common/rest_types';
-import { DEFAULT_SELECTED_OPTIONS } from '../../../common';
-import { FILTER_NAMES } from '../translations';
+import { FILTER_NAMES } from '../../translations';
import { useDataUsageMetricsUrlParams } from './use_charts_url_params';
import { formatBytes } from '../../utils/format_bytes';
import { ChartsFilterProps } from '../components/filters/charts_filter';
@@ -48,6 +48,7 @@ export const useChartsFilter = ({
} => {
const {
dataStreams: selectedDataStreamsFromUrl,
+ metricTypes: selectedMetricTypesFromUrl,
setUrlMetricTypesFilter,
setUrlDataStreamsFilter,
} = useDataUsageMetricsUrlParams();
@@ -73,8 +74,13 @@ export const useChartsFilter = ({
? METRIC_TYPE_VALUES.map((metricType) => ({
key: metricType,
label: METRIC_TYPE_API_VALUES_TO_UI_OPTIONS_MAP[metricType],
- checked: isDefaultMetricType(metricType) ? 'on' : undefined, // default metrics are selected by default
- disabled: isDefaultMetricType(metricType),
+ checked: selectedMetricTypesFromUrl
+ ? selectedMetricTypesFromUrl.includes(metricType)
+ ? 'on'
+ : undefined
+ : isDefaultMetricType(metricType) // default metrics are selected by default
+ ? 'on'
+ : undefined,
'data-test-subj': `${filterOptions.filterName}-filter-option`,
}))
: isDataStreamsFilter && !!filterOptions.options.length
diff --git a/x-pack/plugins/data_usage/public/app/hooks/use_charts_url_params.test.tsx b/x-pack/plugins/data_usage/public/app/hooks/use_charts_url_params.test.tsx
index c73e35fe1397d..20f091029f5b8 100644
--- a/x-pack/plugins/data_usage/public/app/hooks/use_charts_url_params.test.tsx
+++ b/x-pack/plugins/data_usage/public/app/hooks/use_charts_url_params.test.tsx
@@ -5,12 +5,10 @@
* 2.0.
*/
-import moment from 'moment';
-import { METRIC_TYPE_VALUES, MetricTypes } from '../../../common/rest_types';
+import { METRIC_TYPE_VALUES, type MetricTypes } from '../../../common/rest_types';
import { getDataUsageMetricsFiltersFromUrlParams } from './use_charts_url_params';
-// FLAKY: https://github.com/elastic/kibana/issues/200888
-describe.skip('#getDataUsageMetricsFiltersFromUrlParams', () => {
+describe('#getDataUsageMetricsFiltersFromUrlParams', () => {
const getMetricTypesAsArray = (): MetricTypes[] => {
return [...METRIC_TYPE_VALUES];
};
@@ -58,12 +56,12 @@ describe.skip('#getDataUsageMetricsFiltersFromUrlParams', () => {
it('should use given relative startDate and endDate values URL params', () => {
expect(
getDataUsageMetricsFiltersFromUrlParams({
- startDate: moment().subtract(24, 'hours').toISOString(),
- endDate: moment().toISOString(),
+ startDate: 'now-9d',
+ endDate: 'now-24h/h',
})
).toEqual({
- endDate: moment().toISOString(),
- startDate: moment().subtract(24, 'hours').toISOString(),
+ endDate: 'now-24h/h',
+ startDate: 'now-9d',
});
});
diff --git a/x-pack/plugins/data_usage/public/app/hooks/use_charts_url_params.tsx b/x-pack/plugins/data_usage/public/app/hooks/use_charts_url_params.tsx
index ed833393ad7eb..3a1ba7dc1de62 100644
--- a/x-pack/plugins/data_usage/public/app/hooks/use_charts_url_params.tsx
+++ b/x-pack/plugins/data_usage/public/app/hooks/use_charts_url_params.tsx
@@ -6,7 +6,7 @@
*/
import { useCallback, useEffect, useMemo, useState } from 'react';
import { useHistory, useLocation } from 'react-router-dom';
-import { MetricTypes, isMetricType } from '../../../common/rest_types';
+import { type MetricTypes, isMetricType } from '../../../common/rest_types';
import { useUrlParams } from '../../hooks/use_url_params';
import { DEFAULT_DATE_RANGE_OPTIONS } from './use_date_picker';
diff --git a/x-pack/plugins/data_usage/public/app/hooks/use_date_picker.tsx b/x-pack/plugins/data_usage/public/app/hooks/use_date_picker.tsx
index 1b4b7e38e3554..f4d198461f733 100644
--- a/x-pack/plugins/data_usage/public/app/hooks/use_date_picker.tsx
+++ b/x-pack/plugins/data_usage/public/app/hooks/use_date_picker.tsx
@@ -5,7 +5,6 @@
* 2.0.
*/
-import moment from 'moment';
import { useCallback, useState } from 'react';
import type {
DurationRange,
@@ -19,8 +18,10 @@ export const DEFAULT_DATE_RANGE_OPTIONS = Object.freeze({
enabled: false,
duration: 10000,
},
- startDate: moment().subtract(24, 'hours').startOf('day').toISOString(),
- endDate: moment().toISOString(),
+ startDate: 'now-24h/h',
+ endDate: 'now',
+ maxDate: 'now+1s',
+ minDate: 'now-9d',
recentlyUsedDateRanges: [],
});
diff --git a/x-pack/plugins/data_usage/public/application.tsx b/x-pack/plugins/data_usage/public/application.tsx
index 0e6cdc6192c7c..7bd2c794d5b3c 100644
--- a/x-pack/plugins/data_usage/public/application.tsx
+++ b/x-pack/plugins/data_usage/public/application.tsx
@@ -16,8 +16,8 @@ import { PerformanceContextProvider } from '@kbn/ebt-tools';
import { useKibanaContextForPluginProvider } from './utils/use_kibana';
import { DataUsageStartDependencies, DataUsagePublicStart } from './types';
import { PLUGIN_ID } from '../common';
-import { DataUsageMetricsPage } from './app/data_usage_metrics_page';
import { DataUsageReactQueryClientProvider } from '../common/query_client';
+import { DataUsageMetricsPage } from './app/data_usage_metrics_page';
export const renderApp = (
core: CoreStart,
diff --git a/x-pack/plugins/data_usage/public/hooks/use_get_data_streams.test.tsx b/x-pack/plugins/data_usage/public/hooks/use_get_data_streams.test.tsx
index 04cee589a523d..5e224e635dca4 100644
--- a/x-pack/plugins/data_usage/public/hooks/use_get_data_streams.test.tsx
+++ b/x-pack/plugins/data_usage/public/hooks/use_get_data_streams.test.tsx
@@ -11,7 +11,7 @@ import { renderHook } from '@testing-library/react-hooks';
import { useGetDataUsageDataStreams } from './use_get_data_streams';
import { DATA_USAGE_DATA_STREAMS_API_ROUTE } from '../../common';
import { coreMock as mockCore } from '@kbn/core/public/mocks';
-import { dataUsageTestQueryClientOptions } from '../../common/test_utils/test_query_client_options';
+import { dataUsageTestQueryClientOptions } from '../../common/test_utils';
const useQueryMock = _useQuery as jest.Mock;
diff --git a/x-pack/plugins/data_usage/public/hooks/use_get_usage_metrics.test.tsx b/x-pack/plugins/data_usage/public/hooks/use_get_usage_metrics.test.tsx
index 677bd4bdfcef1..1ddb84d89ffc9 100644
--- a/x-pack/plugins/data_usage/public/hooks/use_get_usage_metrics.test.tsx
+++ b/x-pack/plugins/data_usage/public/hooks/use_get_usage_metrics.test.tsx
@@ -5,14 +5,13 @@
* 2.0.
*/
-import moment from 'moment';
import React, { ReactNode } from 'react';
import { QueryClient, QueryClientProvider, useQuery as _useQuery } from '@tanstack/react-query';
import { renderHook } from '@testing-library/react-hooks';
import { useGetDataUsageMetrics } from './use_get_usage_metrics';
import { DATA_USAGE_METRICS_API_ROUTE } from '../../common';
import { coreMock as mockCore } from '@kbn/core/public/mocks';
-import { dataUsageTestQueryClientOptions } from '../../common/test_utils/test_query_client_options';
+import { dataUsageTestQueryClientOptions, timeXMinutesAgo } from '../../common/test_utils';
const useQueryMock = _useQuery as jest.Mock;
@@ -42,8 +41,8 @@ jest.mock('../utils/use_kibana', () => {
});
const defaultUsageMetricsRequestBody = {
- from: moment().subtract(15, 'minutes').toISOString(),
- to: moment().toISOString(),
+ from: timeXMinutesAgo(15),
+ to: timeXMinutesAgo(0),
metricTypes: ['ingest_rate'],
dataStreams: ['ds-1'],
};
diff --git a/x-pack/plugins/data_usage/public/hooks/use_get_usage_metrics.ts b/x-pack/plugins/data_usage/public/hooks/use_get_usage_metrics.ts
index 6b2ef5316b0f6..da5f3004d0024 100644
--- a/x-pack/plugins/data_usage/public/hooks/use_get_usage_metrics.ts
+++ b/x-pack/plugins/data_usage/public/hooks/use_get_usage_metrics.ts
@@ -8,8 +8,12 @@
import type { UseQueryOptions, UseQueryResult } from '@tanstack/react-query';
import { useQuery } from '@tanstack/react-query';
import type { IHttpFetchError } from '@kbn/core-http-browser';
-import { UsageMetricsRequestBody, UsageMetricsResponseSchemaBody } from '../../common/rest_types';
+import { dateParser } from '../../common/utils';
import { DATA_USAGE_METRICS_API_ROUTE } from '../../common';
+import type {
+ UsageMetricsRequestBody,
+ UsageMetricsResponseSchemaBody,
+} from '../../common/rest_types';
import { useKibanaContextForPlugin } from '../utils/use_kibana';
interface ErrorType {
@@ -33,8 +37,8 @@ export const useGetDataUsageMetrics = (
signal,
version: '1',
body: JSON.stringify({
- from: body.from,
- to: body.to,
+ from: dateParser(body.from),
+ to: dateParser(body.to),
metricTypes: body.metricTypes,
dataStreams: body.dataStreams,
}),
diff --git a/x-pack/plugins/data_usage/public/plugin.ts b/x-pack/plugins/data_usage/public/plugin.ts
index aa3b02c2b671b..b43dcebe25c18 100644
--- a/x-pack/plugins/data_usage/public/plugin.ts
+++ b/x-pack/plugins/data_usage/public/plugin.ts
@@ -13,7 +13,8 @@ import {
DataUsageStartDependencies,
DataUsageSetupDependencies,
} from './types';
-import { PLUGIN_ID, PLUGIN_NAME } from '../common';
+import { PLUGIN_ID } from '../common';
+import { PLUGIN_NAME } from './translations';
export class DataUsagePlugin
implements
diff --git a/x-pack/plugins/data_usage/public/app/translations.tsx b/x-pack/plugins/data_usage/public/translations.tsx
similarity index 68%
rename from x-pack/plugins/data_usage/public/app/translations.tsx
rename to x-pack/plugins/data_usage/public/translations.tsx
index ee42d3b58906b..0996ec2bb6d50 100644
--- a/x-pack/plugins/data_usage/public/app/translations.tsx
+++ b/x-pack/plugins/data_usage/public/translations.tsx
@@ -7,6 +7,10 @@
import { i18n } from '@kbn/i18n';
+export const PLUGIN_NAME = i18n.translate('xpack.dataUsage.name', {
+ defaultMessage: 'Data Usage',
+});
+
export const FILTER_NAMES = Object.freeze({
metricTypes: i18n.translate('xpack.dataUsage.metrics.filter.metricTypes', {
defaultMessage: 'Metric types',
@@ -35,6 +39,9 @@ export const DATA_USAGE_PAGE = Object.freeze({
});
export const UX_LABELS = Object.freeze({
+ filterSelectAll: i18n.translate('xpack.dataUsage.metrics.filter.selectAll', {
+ defaultMessage: 'Select all',
+ }),
filterClearAll: i18n.translate('xpack.dataUsage.metrics.filter.clearAll', {
defaultMessage: 'Clear all',
}),
@@ -48,4 +55,18 @@ export const UX_LABELS = Object.freeze({
defaultMessage: 'No {filterName} available',
values: { filterName },
}),
+ dataQualityPopup: {
+ open: i18n.translate('xpack.dataUsage.metrics.dataQuality.open.actions', {
+ defaultMessage: 'Open data stream actions',
+ }),
+ copy: i18n.translate('xpack.dataUsage.metrics.dataQuality.copy.dataStream', {
+ defaultMessage: 'Copy data stream name',
+ }),
+ manage: i18n.translate('xpack.dataUsage.metrics.dataQuality.manage.dataStream', {
+ defaultMessage: 'Manage data stream',
+ }),
+ view: i18n.translate('xpack.dataUsage.metrics.dataQuality.view', {
+ defaultMessage: 'View data quality',
+ }),
+ },
});
diff --git a/x-pack/plugins/data_usage/server/routes/internal/data_streams.test.ts b/x-pack/plugins/data_usage/server/routes/internal/data_streams.test.ts
index 2330e465d9b12..374c4b9c82e7e 100644
--- a/x-pack/plugins/data_usage/server/routes/internal/data_streams.test.ts
+++ b/x-pack/plugins/data_usage/server/routes/internal/data_streams.test.ts
@@ -84,6 +84,48 @@ describe('registerDataStreamsRoute', () => {
});
});
+ it('should not include data streams with 0 size', async () => {
+ mockGetMeteringStats.mockResolvedValue({
+ datastreams: [
+ {
+ name: 'datastream1',
+ size_in_bytes: 100,
+ },
+ {
+ name: 'datastream2',
+ size_in_bytes: 200,
+ },
+ {
+ name: 'datastream3',
+ size_in_bytes: 0,
+ },
+ {
+ name: 'datastream4',
+ size_in_bytes: 0,
+ },
+ ],
+ });
+ const mockRequest = httpServerMock.createKibanaRequest({ body: {} });
+ const mockResponse = httpServerMock.createResponseFactory();
+ const mockRouter = mockCore.http.createRouter.mock.results[0].value;
+ const [[, handler]] = mockRouter.versioned.get.mock.results[0].value.addVersion.mock.calls;
+ await handler(context, mockRequest, mockResponse);
+
+ expect(mockResponse.ok).toHaveBeenCalledTimes(1);
+ expect(mockResponse.ok.mock.calls[0][0]).toEqual({
+ body: [
+ {
+ name: 'datastream2',
+ storageSizeBytes: 200,
+ },
+ {
+ name: 'datastream1',
+ storageSizeBytes: 100,
+ },
+ ],
+ });
+ });
+
it('should return correct error if metering stats request fails', async () => {
// using custom error for test here to avoid having to import the actual error class
mockGetMeteringStats.mockRejectedValue(
@@ -105,7 +147,7 @@ describe('registerDataStreamsRoute', () => {
it.each([
['no datastreams', {}, []],
['empty array', { datastreams: [] }, []],
- ['an empty element', { datastreams: [{}] }, [{ name: undefined, storageSizeBytes: 0 }]],
+ ['an empty element', { datastreams: [{}] }, []],
])('should return empty array when no stats data with %s', async (_, stats, res) => {
mockGetMeteringStats.mockResolvedValue(stats);
const mockRequest = httpServerMock.createKibanaRequest({ body: {} });
diff --git a/x-pack/plugins/data_usage/server/routes/internal/data_streams_handler.ts b/x-pack/plugins/data_usage/server/routes/internal/data_streams_handler.ts
index 9abd898358e9e..99b4e982c5a40 100644
--- a/x-pack/plugins/data_usage/server/routes/internal/data_streams_handler.ts
+++ b/x-pack/plugins/data_usage/server/routes/internal/data_streams_handler.ts
@@ -27,10 +27,15 @@ export const getDataStreamsHandler = (
meteringStats && !!meteringStats.length
? meteringStats
.sort((a, b) => b.size_in_bytes - a.size_in_bytes)
- .map((stat) => ({
- name: stat.name,
- storageSizeBytes: stat.size_in_bytes ?? 0,
- }))
+ .reduce>((acc, stat) => {
+ if (stat.size_in_bytes > 0) {
+ acc.push({
+ name: stat.name,
+ storageSizeBytes: stat.size_in_bytes ?? 0,
+ });
+ }
+ return acc;
+ }, [])
: [];
return response.ok({
diff --git a/x-pack/plugins/data_usage/server/routes/internal/usage_metrics.test.ts b/x-pack/plugins/data_usage/server/routes/internal/usage_metrics.test.ts
index d6337bbcc8dcd..c0eb0e5e8ef2d 100644
--- a/x-pack/plugins/data_usage/server/routes/internal/usage_metrics.test.ts
+++ b/x-pack/plugins/data_usage/server/routes/internal/usage_metrics.test.ts
@@ -4,7 +4,6 @@
* 2.0; you may not use this file except in compliance with the Elastic License
* 2.0.
*/
-import moment from 'moment';
import type { MockedKeys } from '@kbn/utility-types-jest';
import type { CoreSetup } from '@kbn/core/server';
import { registerUsageMetricsRoute } from './usage_metrics';
@@ -20,6 +19,7 @@ import { DATA_USAGE_METRICS_API_ROUTE } from '../../../common';
import { createMockedDataUsageContext } from '../../mocks';
import { CustomHttpRequestError } from '../../utils';
import { AutoOpsError } from '../../services/errors';
+import { timeXMinutesAgo } from '../../../common/test_utils';
describe('registerUsageMetricsRoute', () => {
let mockCore: MockedKeys>;
@@ -56,8 +56,8 @@ describe('registerUsageMetricsRoute', () => {
const mockRequest = httpServerMock.createKibanaRequest({
body: {
- from: moment().subtract(15, 'minutes').toISOString(),
- to: moment().toISOString(),
+ from: timeXMinutesAgo(15),
+ to: timeXMinutesAgo(0),
metricTypes: ['ingest_rate'],
dataStreams: [],
},
@@ -123,8 +123,8 @@ describe('registerUsageMetricsRoute', () => {
const mockRequest = httpServerMock.createKibanaRequest({
body: {
- from: moment().subtract(15, 'minutes').toISOString(),
- to: moment().toISOString(),
+ from: timeXMinutesAgo(15),
+ to: timeXMinutesAgo(0),
metricTypes: ['ingest_rate', 'storage_retained'],
dataStreams: ['.ds-1', '.ds-2'],
},
@@ -191,8 +191,8 @@ describe('registerUsageMetricsRoute', () => {
const mockRequest = httpServerMock.createKibanaRequest({
body: {
- from: moment().subtract(15, 'minutes').toISOString(),
- to: moment().toISOString(),
+ from: timeXMinutesAgo(15),
+ to: timeXMinutesAgo(0),
metricTypes: ['ingest_rate'],
dataStreams: ['.ds-1', '.ds-2'],
},
diff --git a/x-pack/plugins/data_usage/server/routes/internal/usage_metrics_handler.ts b/x-pack/plugins/data_usage/server/routes/internal/usage_metrics_handler.ts
index 6907a683696a7..c2dee4ca2ce52 100644
--- a/x-pack/plugins/data_usage/server/routes/internal/usage_metrics_handler.ts
+++ b/x-pack/plugins/data_usage/server/routes/internal/usage_metrics_handler.ts
@@ -5,8 +5,9 @@
* 2.0.
*/
+import { chunk } from 'lodash/fp';
import { RequestHandler } from '@kbn/core/server';
-import {
+import type {
MetricTypes,
UsageMetricsAutoOpsResponseSchemaBody,
UsageMetricsRequestBody,
@@ -30,6 +31,8 @@ export const getUsageMetricsHandler = (
const core = await context.core;
const esClient = core.elasticsearch.client.asCurrentUser;
+ const getDataStreams = (name: string[]) =>
+ esClient.indices.getDataStream({ name, expand_wildcards: 'all' });
logger.debug(`Retrieving usage metrics`);
const { from, to, metricTypes, dataStreams: requestDsNames } = request.body;
@@ -43,15 +46,24 @@ export const getUsageMetricsHandler = (
new CustomHttpRequestError('[request body.dataStreams]: no data streams selected', 400)
);
}
- let dataStreamsResponse;
+
+ let dataStreamsResponse: Array<{ name: string }>;
try {
- // Attempt to fetch data streams
- const { data_streams: dataStreams } = await esClient.indices.getDataStream({
- name: requestDsNames,
- expand_wildcards: 'all',
- });
- dataStreamsResponse = dataStreams;
+ if (requestDsNames.length <= 50) {
+ logger.debug(`Retrieving usage metrics`);
+ const { data_streams: dataStreams } = await getDataStreams(requestDsNames);
+ dataStreamsResponse = dataStreams;
+ } else {
+ logger.debug(`Retrieving usage metrics in chunks of 50`);
+ // Attempt to fetch data streams in chunks of 50
+ const dataStreamsChunks = Math.ceil(requestDsNames.length / 50);
+ const chunkedDsLists = chunk(dataStreamsChunks, requestDsNames);
+ const chunkedDataStreams = await Promise.all(
+ chunkedDsLists.map((dsList) => getDataStreams(dsList))
+ );
+ dataStreamsResponse = chunkedDataStreams.flatMap((ds) => ds.data_streams);
+ }
} catch (error) {
return errorHandler(
logger,
diff --git a/x-pack/plugins/data_usage/server/services/autoops_api.ts b/x-pack/plugins/data_usage/server/services/autoops_api.ts
index 9fd742a3e73fa..2ff824e04f6dd 100644
--- a/x-pack/plugins/data_usage/server/services/autoops_api.ts
+++ b/x-pack/plugins/data_usage/server/services/autoops_api.ts
@@ -6,7 +6,7 @@
*/
import https from 'https';
-import dateMath from '@kbn/datemath';
+
import { SslConfig, sslSchema } from '@kbn/server-http-tools';
import apm from 'elastic-apm-node';
@@ -16,9 +16,10 @@ import axios from 'axios';
import { LogMeta } from '@kbn/core/server';
import {
UsageMetricsAutoOpsResponseSchema,
- UsageMetricsAutoOpsResponseSchemaBody,
- UsageMetricsRequestBody,
+ type UsageMetricsAutoOpsResponseSchemaBody,
+ type UsageMetricsRequestBody,
} from '../../common/rest_types';
+import { dateParser } from '../../common/utils';
import { AutoOpsConfig } from '../types';
import { AutoOpsError } from './errors';
import { appContextService } from './app_context';
@@ -30,7 +31,6 @@ const AUTO_OPS_MISSING_CONFIG_ERROR = 'Missing autoops configuration';
const getAutoOpsAPIRequestUrl = (url?: string, projectId?: string): string =>
`${url}/monitoring/serverless/v1/projects/${projectId}/metrics`;
-const dateParser = (date: string) => dateMath.parse(date)?.toISOString();
export class AutoOpsAPIService {
private logger: Logger;
constructor(logger: Logger) {
diff --git a/x-pack/plugins/data_usage/server/services/index.ts b/x-pack/plugins/data_usage/server/services/index.ts
index 69db6b590c6f3..56e449c8a5679 100644
--- a/x-pack/plugins/data_usage/server/services/index.ts
+++ b/x-pack/plugins/data_usage/server/services/index.ts
@@ -6,7 +6,7 @@
*/
import { ValidationError } from '@kbn/config-schema';
import { Logger } from '@kbn/logging';
-import { MetricTypes } from '../../common/rest_types';
+import type { MetricTypes } from '../../common/rest_types';
import { AutoOpsError } from './errors';
import { AutoOpsAPIService } from './autoops_api';
diff --git a/x-pack/plugins/data_usage/tsconfig.json b/x-pack/plugins/data_usage/tsconfig.json
index 309bad3e1b63c..8647f7957451a 100644
--- a/x-pack/plugins/data_usage/tsconfig.json
+++ b/x-pack/plugins/data_usage/tsconfig.json
@@ -33,6 +33,8 @@
"@kbn/server-http-tools",
"@kbn/utility-types-jest",
"@kbn/datemath",
+ "@kbn/ui-theme",
+ "@kbn/i18n-react",
],
"exclude": ["target/**/*"]
}
diff --git a/x-pack/plugins/translations/translations/fr-FR.json b/x-pack/plugins/translations/translations/fr-FR.json
index dc6ae26d7f798..06506ff9d1c93 100644
--- a/x-pack/plugins/translations/translations/fr-FR.json
+++ b/x-pack/plugins/translations/translations/fr-FR.json
@@ -11696,8 +11696,8 @@
"xpack.apm.serviceIcons.service": "Service",
"xpack.apm.serviceIcons.serviceDetails.cloud.architecture": "Architecture",
"xpack.apm.serviceIcons.serviceDetails.cloud.availabilityZoneLabel": "{zones, plural, =0 {Zone de disponibilité} one {Zone de disponibilité} other {Zones de disponibilité}}",
- "xpack.apm.serviceIcons.serviceDetails.cloud.faasTriggerTypeLabel": "{triggerTypes, plural, =0 {Type de déclencheur} one {Type de déclencheur} other {Types de déclencheurs}}",
"xpack.apm.serviceIcons.serviceDetails.cloud.functionNameLabel": "{functionNames, plural, =0 {Nom de fonction} one {Nom de fonction} other {Noms de fonction}}",
+ "xpack.apm.serviceIcons.serviceDetails.cloud.faasTriggerTypeLabel": "{triggerTypes, plural, =0 {Type de déclencheur} one {Type de déclencheur} other {Types de déclencheurs}}",
"xpack.apm.serviceIcons.serviceDetails.cloud.machineTypesLabel": "{machineTypes, plural, =0{Type de machine} one {Type de machine} other {Types de machines}}",
"xpack.apm.serviceIcons.serviceDetails.cloud.projectIdLabel": "ID de projet",
"xpack.apm.serviceIcons.serviceDetails.cloud.providerLabel": "Fournisseur cloud",
@@ -15425,7 +15425,6 @@
"xpack.datasetQuality.types.label": "Types",
"xpack.dataUsage.charts.ingestedMax": "Données ingérées",
"xpack.dataUsage.charts.retainedMax": "Données conservées dans le stockage",
- "xpack.dataUsage.metrics.filter.clearAll": "Tout effacer",
"xpack.dataUsage.metrics.filter.dataStreams": "Flux de données",
"xpack.dataUsage.metrics.filter.emptyMessage": "Aucun {filterName} disponible",
"xpack.dataUsage.metrics.filter.metricTypes": "Types d'indicateurs",
@@ -28261,8 +28260,8 @@
"xpack.maps.source.esSearch.descendingLabel": "décroissant",
"xpack.maps.source.esSearch.extentFilterLabel": "Filtre dynamique pour les données de la zone de carte visible",
"xpack.maps.source.esSearch.fieldNotFoundMsg": "Impossible de trouver \"{fieldName}\" dans le modèle d'indexation \"{indexPatternName}\".",
- "xpack.maps.source.esSearch.geofieldLabel": "Champ géospatial",
"xpack.maps.source.esSearch.geoFieldLabel": "Champ géospatial",
+ "xpack.maps.source.esSearch.geofieldLabel": "Champ géospatial",
"xpack.maps.source.esSearch.geoFieldTypeLabel": "Type de champ géospatial",
"xpack.maps.source.esSearch.indexOverOneLengthEditError": "Votre vue de données pointe vers plusieurs index. Un seul index est autorisé par vue de données.",
"xpack.maps.source.esSearch.indexZeroLengthEditError": "Votre vue de données ne pointe vers aucun index.",
@@ -38014,8 +38013,8 @@
"xpack.securitySolution.detectionEngine.createRule.stepAboutRule.maxAlertsFieldLessThanWarning": "Kibana ne permet qu'un maximum de {maxNumber} {maxNumber, plural, =1 {alerte} other {alertes}} par exécution de règle.",
"xpack.securitySolution.detectionEngine.createRule.stepAboutRule.nameFieldRequiredError": "Nom obligatoire.",
"xpack.securitySolution.detectionEngine.createRule.stepAboutrule.noteHelpText": "Ajouter un guide d'investigation sur les règles...",
- "xpack.securitySolution.detectionEngine.createRule.stepAboutrule.setupHelpText": "Ajouter le guide de configuration de règle...",
"xpack.securitySolution.detectionEngine.createRule.stepAboutRule.setupHelpText": "Fournissez des instructions sur les conditions préalables à la règle, telles que les intégrations requises, les étapes de configuration et tout ce qui est nécessaire au bon fonctionnement de la règle.",
+ "xpack.securitySolution.detectionEngine.createRule.stepAboutrule.setupHelpText": "Ajouter le guide de configuration de règle...",
"xpack.securitySolution.detectionEngine.createRule.stepAboutRule.setupLabel": "Guide de configuration",
"xpack.securitySolution.detectionEngine.createRule.stepAboutRule.tagFieldEmptyError": "Une balise ne doit pas être vide",
"xpack.securitySolution.detectionEngine.createRule.stepAboutRule.threatIndicatorPathFieldEmptyError": "Le remplacement du préfixe d'indicateur ne peut pas être vide.",
@@ -43803,8 +43802,8 @@
"xpack.slo.sloEmbeddable.config.sloSelector.placeholder": "Sélectionner un SLO",
"xpack.slo.sloEmbeddable.displayName": "Aperçu du SLO",
"xpack.slo.sloEmbeddable.overview.sloNotFoundText": "Le SLO a été supprimé. Vous pouvez supprimer sans risque le widget du tableau de bord.",
- "xpack.slo.sloGridItem.targetFlexItemLabel": "Cible {target}",
"xpack.slo.sLOGridItem.targetFlexItemLabel": "Cible {target}",
+ "xpack.slo.sloGridItem.targetFlexItemLabel": "Cible {target}",
"xpack.slo.sloGroupConfiguration.customFiltersLabel": "Personnaliser le filtre",
"xpack.slo.sloGroupConfiguration.customFiltersOptional": "Facultatif",
"xpack.slo.sloGroupConfiguration.customFilterText": "Personnaliser le filtre",
@@ -45329,8 +45328,8 @@
"xpack.stackConnectors.components.casesWebhookxpack.stackConnectors.components.casesWebhook.connectorTypeTitle": "Webhook - Données de gestion des cas",
"xpack.stackConnectors.components.d3security.bodyCodeEditorAriaLabel": "Éditeur de code",
"xpack.stackConnectors.components.d3security.bodyFieldLabel": "Corps",
- "xpack.stackConnectors.components.d3security.connectorTypeTitle": "Données D3",
"xpack.stackConnectors.components.d3Security.connectorTypeTitle": "D3 Security",
+ "xpack.stackConnectors.components.d3security.connectorTypeTitle": "Données D3",
"xpack.stackConnectors.components.d3security.eventTypeFieldLabel": "Type d'événement",
"xpack.stackConnectors.components.d3security.invalidActionText": "Nom d'action non valide.",
"xpack.stackConnectors.components.d3security.requiredActionText": "L'action est requise.",
diff --git a/x-pack/plugins/translations/translations/ja-JP.json b/x-pack/plugins/translations/translations/ja-JP.json
index b060c39d5f1b8..d4c397428a8e0 100644
--- a/x-pack/plugins/translations/translations/ja-JP.json
+++ b/x-pack/plugins/translations/translations/ja-JP.json
@@ -11679,8 +11679,8 @@
"xpack.apm.serviceIcons.service": "サービス",
"xpack.apm.serviceIcons.serviceDetails.cloud.architecture": "アーキテクチャー",
"xpack.apm.serviceIcons.serviceDetails.cloud.availabilityZoneLabel": "{zones, plural, other {可用性ゾーン}}",
- "xpack.apm.serviceIcons.serviceDetails.cloud.faasTriggerTypeLabel": "{triggerTypes, plural, other {トリガータイプ}}",
"xpack.apm.serviceIcons.serviceDetails.cloud.functionNameLabel": "{functionNames, plural, other {関数名}}",
+ "xpack.apm.serviceIcons.serviceDetails.cloud.faasTriggerTypeLabel": "{triggerTypes, plural, other {トリガータイプ}}",
"xpack.apm.serviceIcons.serviceDetails.cloud.machineTypesLabel": "{machineTypes, plural, other {コンピュータータイプ} }\n",
"xpack.apm.serviceIcons.serviceDetails.cloud.projectIdLabel": "プロジェクト ID",
"xpack.apm.serviceIcons.serviceDetails.cloud.providerLabel": "クラウドプロバイダー",
@@ -15404,7 +15404,6 @@
"xpack.datasetQuality.types.label": "タイプ",
"xpack.dataUsage.charts.ingestedMax": "インジェストされたデータ",
"xpack.dataUsage.charts.retainedMax": "ストレージに保持されたデータ",
- "xpack.dataUsage.metrics.filter.clearAll": "すべて消去",
"xpack.dataUsage.metrics.filter.dataStreams": "データストリーム",
"xpack.dataUsage.metrics.filter.emptyMessage": "{filterName}がありません",
"xpack.dataUsage.metrics.filter.metricTypes": "メトリックタイプ",
@@ -28233,8 +28232,8 @@
"xpack.maps.source.esSearch.descendingLabel": "降順",
"xpack.maps.source.esSearch.extentFilterLabel": "マップの表示範囲でデータを動的にフィルタリング",
"xpack.maps.source.esSearch.fieldNotFoundMsg": "インデックスパターン''{indexPatternName}''に''{fieldName}''が見つかりません。",
- "xpack.maps.source.esSearch.geofieldLabel": "地理空間フィールド",
"xpack.maps.source.esSearch.geoFieldLabel": "地理空間フィールド",
+ "xpack.maps.source.esSearch.geofieldLabel": "地理空間フィールド",
"xpack.maps.source.esSearch.geoFieldTypeLabel": "地理空間フィールドタイプ",
"xpack.maps.source.esSearch.indexOverOneLengthEditError": "データビューは複数のインデックスを参照しています。データビューごとに1つのインデックスのみが許可されています。",
"xpack.maps.source.esSearch.indexZeroLengthEditError": "データビューはどのインデックスも参照していません。",
@@ -37981,8 +37980,8 @@
"xpack.securitySolution.detectionEngine.createRule.stepAboutRule.maxAlertsFieldLessThanWarning": "Kibanaで許可される最大数は、1回の実行につき、{maxNumber} {maxNumber, plural, other {アラート}}です。",
"xpack.securitySolution.detectionEngine.createRule.stepAboutRule.nameFieldRequiredError": "名前が必要です。",
"xpack.securitySolution.detectionEngine.createRule.stepAboutrule.noteHelpText": "ルール調査ガイドを追加...",
- "xpack.securitySolution.detectionEngine.createRule.stepAboutrule.setupHelpText": "ルールセットアップガイドを追加...",
"xpack.securitySolution.detectionEngine.createRule.stepAboutRule.setupHelpText": "必要な統合、構成ステップ、ルールが正常に動作するために必要な他のすべての項目といった、ルール前提条件に関する指示を入力します。",
+ "xpack.securitySolution.detectionEngine.createRule.stepAboutrule.setupHelpText": "ルールセットアップガイドを追加...",
"xpack.securitySolution.detectionEngine.createRule.stepAboutRule.setupLabel": "セットアップガイド",
"xpack.securitySolution.detectionEngine.createRule.stepAboutRule.tagFieldEmptyError": "タグを空にすることはできません",
"xpack.securitySolution.detectionEngine.createRule.stepAboutRule.threatIndicatorPathFieldEmptyError": "インジケータープレフィックスの無効化を空にすることはできません",
@@ -43767,8 +43766,8 @@
"xpack.slo.sloEmbeddable.config.sloSelector.placeholder": "SLOを選択",
"xpack.slo.sloEmbeddable.displayName": "SLO概要",
"xpack.slo.sloEmbeddable.overview.sloNotFoundText": "SLOが削除されました。ウィジェットをダッシュボードから安全に削除できます。",
- "xpack.slo.sloGridItem.targetFlexItemLabel": "目標{target}",
"xpack.slo.sLOGridItem.targetFlexItemLabel": "目標{target}",
+ "xpack.slo.sloGridItem.targetFlexItemLabel": "目標{target}",
"xpack.slo.sloGroupConfiguration.customFiltersLabel": "カスタムフィルター",
"xpack.slo.sloGroupConfiguration.customFiltersOptional": "オプション",
"xpack.slo.sloGroupConfiguration.customFilterText": "カスタムフィルター",
@@ -45288,8 +45287,8 @@
"xpack.stackConnectors.components.casesWebhookxpack.stackConnectors.components.casesWebhook.connectorTypeTitle": "Webフック - ケース管理データ",
"xpack.stackConnectors.components.d3security.bodyCodeEditorAriaLabel": "コードエディター",
"xpack.stackConnectors.components.d3security.bodyFieldLabel": "本文",
- "xpack.stackConnectors.components.d3security.connectorTypeTitle": "D3データ",
"xpack.stackConnectors.components.d3Security.connectorTypeTitle": "D3セキュリティ",
+ "xpack.stackConnectors.components.d3security.connectorTypeTitle": "D3データ",
"xpack.stackConnectors.components.d3security.eventTypeFieldLabel": "イベントタイプ",
"xpack.stackConnectors.components.d3security.invalidActionText": "無効なアクション名です。",
"xpack.stackConnectors.components.d3security.requiredActionText": "アクションが必要です。",
diff --git a/x-pack/plugins/translations/translations/zh-CN.json b/x-pack/plugins/translations/translations/zh-CN.json
index 4b5f21d04c964..e5ee0c1ede629 100644
--- a/x-pack/plugins/translations/translations/zh-CN.json
+++ b/x-pack/plugins/translations/translations/zh-CN.json
@@ -11449,8 +11449,8 @@
"xpack.apm.serviceIcons.service": "服务",
"xpack.apm.serviceIcons.serviceDetails.cloud.architecture": "架构",
"xpack.apm.serviceIcons.serviceDetails.cloud.availabilityZoneLabel": "{zones, plural, other {可用性区域}}",
- "xpack.apm.serviceIcons.serviceDetails.cloud.faasTriggerTypeLabel": "{triggerTypes, plural, other {触发类型}}",
"xpack.apm.serviceIcons.serviceDetails.cloud.functionNameLabel": "{functionNames, plural, other {功能名称}}",
+ "xpack.apm.serviceIcons.serviceDetails.cloud.faasTriggerTypeLabel": "{triggerTypes, plural, other {触发类型}}",
"xpack.apm.serviceIcons.serviceDetails.cloud.machineTypesLabel": "{machineTypes, plural, other {机器类型}}",
"xpack.apm.serviceIcons.serviceDetails.cloud.projectIdLabel": "项目 ID",
"xpack.apm.serviceIcons.serviceDetails.cloud.providerLabel": "云服务提供商",
@@ -15098,7 +15098,6 @@
"xpack.datasetQuality.types.label": "类型",
"xpack.dataUsage.charts.ingestedMax": "已采集的数据",
"xpack.dataUsage.charts.retainedMax": "保留在存储中的数据",
- "xpack.dataUsage.metrics.filter.clearAll": "全部清除",
"xpack.dataUsage.metrics.filter.dataStreams": "数据流",
"xpack.dataUsage.metrics.filter.emptyMessage": "无 {filterName} 可用",
"xpack.dataUsage.metrics.filter.metricTypes": "指标类型",
@@ -27742,8 +27741,8 @@
"xpack.maps.source.esSearch.convertToGeoJsonErrorMsg": "无法将搜索响应转换成 geoJson 功能集合,错误:{errorMsg}",
"xpack.maps.source.esSearch.descendingLabel": "降序",
"xpack.maps.source.esSearch.extentFilterLabel": "在可见地图区域中动态筛留数据",
- "xpack.maps.source.esSearch.geofieldLabel": "地理空间字段",
"xpack.maps.source.esSearch.geoFieldLabel": "地理空间字段",
+ "xpack.maps.source.esSearch.geofieldLabel": "地理空间字段",
"xpack.maps.source.esSearch.geoFieldTypeLabel": "地理空间字段类型",
"xpack.maps.source.esSearch.indexOverOneLengthEditError": "您的数据视图指向多个索引。每个数据视图只允许一个索引。",
"xpack.maps.source.esSearch.indexZeroLengthEditError": "您的数据视图未指向任何索引。",
@@ -37378,8 +37377,8 @@
"xpack.securitySolution.detectionEngine.createRule.stepAboutRule.maxAlertsFieldLessThanWarning": "每次规则运行时,Kibana 最多只允许 {maxNumber} 个{maxNumber, plural, other {告警}}。",
"xpack.securitySolution.detectionEngine.createRule.stepAboutRule.nameFieldRequiredError": "名称必填。",
"xpack.securitySolution.detectionEngine.createRule.stepAboutrule.noteHelpText": "添加规则调查指南......",
- "xpack.securitySolution.detectionEngine.createRule.stepAboutrule.setupHelpText": "添加规则设置指南......",
"xpack.securitySolution.detectionEngine.createRule.stepAboutRule.setupHelpText": "提供有关规则先决条件的说明,如所需集成、配置步骤,以及规则正常运行所需的任何其他内容。",
+ "xpack.securitySolution.detectionEngine.createRule.stepAboutrule.setupHelpText": "添加规则设置指南......",
"xpack.securitySolution.detectionEngine.createRule.stepAboutRule.setupLabel": "设置指南",
"xpack.securitySolution.detectionEngine.createRule.stepAboutRule.tagFieldEmptyError": "标签不得为空",
"xpack.securitySolution.detectionEngine.createRule.stepAboutRule.threatIndicatorPathFieldEmptyError": "指标前缀覆盖不得为空",
@@ -43116,8 +43115,8 @@
"xpack.slo.sloEmbeddable.config.sloSelector.placeholder": "选择 SLO",
"xpack.slo.sloEmbeddable.displayName": "SLO 概览",
"xpack.slo.sloEmbeddable.overview.sloNotFoundText": "SLO 已删除。您可以放心从仪表板中删除小组件。",
- "xpack.slo.sloGridItem.targetFlexItemLabel": "目标 {target}",
"xpack.slo.sLOGridItem.targetFlexItemLabel": "目标 {target}",
+ "xpack.slo.sloGridItem.targetFlexItemLabel": "目标 {target}",
"xpack.slo.sloGroupConfiguration.customFiltersLabel": "定制筛选",
"xpack.slo.sloGroupConfiguration.customFiltersOptional": "可选",
"xpack.slo.sloGroupConfiguration.customFilterText": "定制筛选",
@@ -44589,8 +44588,8 @@
"xpack.stackConnectors.components.casesWebhookxpack.stackConnectors.components.casesWebhook.connectorTypeTitle": "Webhook - 案例管理数据",
"xpack.stackConnectors.components.d3security.bodyCodeEditorAriaLabel": "代码编辑器",
"xpack.stackConnectors.components.d3security.bodyFieldLabel": "正文",
- "xpack.stackConnectors.components.d3security.connectorTypeTitle": "D3 数据",
"xpack.stackConnectors.components.d3Security.connectorTypeTitle": "D3 Security",
+ "xpack.stackConnectors.components.d3security.connectorTypeTitle": "D3 数据",
"xpack.stackConnectors.components.d3security.eventTypeFieldLabel": "事件类型",
"xpack.stackConnectors.components.d3security.invalidActionText": "操作名称无效。",
"xpack.stackConnectors.components.d3security.requiredActionText": "'操作'必填。",
diff --git a/x-pack/test_serverless/api_integration/test_suites/common/data_usage/tests/data_streams.ts b/x-pack/test_serverless/api_integration/test_suites/common/data_usage/tests/data_streams.ts
index b6559c3efc9b6..d26b73f8689c8 100644
--- a/x-pack/test_serverless/api_integration/test_suites/common/data_usage/tests/data_streams.ts
+++ b/x-pack/test_serverless/api_integration/test_suites/common/data_usage/tests/data_streams.ts
@@ -33,7 +33,10 @@ export default function ({ getService }: FtrProviderContext) {
await svlDatastreamsHelpers.deleteDataStream(testDataStreamName);
});
- it('returns created data streams', async () => {
+ // skipped because we filter out data streams with 0 storage size,
+ // and metering api does not pick up indexed data here
+ // TODO: route should potentially not depend solely on metering API
+ it.skip('returns created data streams', async () => {
const res = await supertestAdminWithCookieCredentials
.get(DATA_USAGE_DATA_STREAMS_API_ROUTE)
.set('elastic-api-version', '1');
From 09633698893318d4128237e3e454c24e0e301a83 Mon Sep 17 00:00:00 2001
From: "elastic-renovate-prod[bot]"
<174716857+elastic-renovate-prod[bot]@users.noreply.github.com>
Date: Fri, 22 Nov 2024 17:42:49 -0800
Subject: [PATCH 06/68] Update docker.elastic.co/wolfi/chainguard-base:latest
Docker digest to 55b297d (main) (#201075)
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
This PR contains the following updates:
| Package | Update | Change |
|---|---|---|
| docker.elastic.co/wolfi/chainguard-base | digest | `32099b9` ->
`55b297d` |
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.
♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.
---
- [ ] If you want to rebase/retry this PR, check
this box
---
This PR has been generated by [Renovate
Bot](https://togithub.com/renovatebot/renovate).
Co-authored-by: elastic-renovate-prod[bot] <174716857+elastic-renovate-prod[bot]@users.noreply.github.com>
---
src/dev/build/tasks/os_packages/docker_generator/run.ts | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/dev/build/tasks/os_packages/docker_generator/run.ts b/src/dev/build/tasks/os_packages/docker_generator/run.ts
index 186360c03e805..8ff44c13ff44f 100644
--- a/src/dev/build/tasks/os_packages/docker_generator/run.ts
+++ b/src/dev/build/tasks/os_packages/docker_generator/run.ts
@@ -51,7 +51,7 @@ export async function runDockerGenerator(
*/
if (flags.baseImage === 'wolfi')
baseImageName =
- 'docker.elastic.co/wolfi/chainguard-base:latest@sha256:32099b99697d9da842c1ccacdbef1beee05a68cddb817e858d7656df45ed4c93';
+ 'docker.elastic.co/wolfi/chainguard-base:latest@sha256:55b297da5151d2a2997e8ab9729fe1304e4869389d7090ab7031cc29530f69f8';
let imageFlavor = '';
if (flags.baseImage === 'ubi') imageFlavor += `-ubi`;
From 7dfda396c07899432c5ffa82419e933e2a44205d Mon Sep 17 00:00:00 2001
From: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Date: Sat, 23 Nov 2024 18:45:10 +1100
Subject: [PATCH 07/68] [api-docs] 2024-11-23 Daily api_docs build (#201490)
Generated by
https://buildkite.com/elastic/kibana-api-docs-daily/builds/900
---
api_docs/actions.mdx | 2 +-
api_docs/advanced_settings.mdx | 2 +-
.../ai_assistant_management_selection.mdx | 2 +-
api_docs/aiops.mdx | 2 +-
api_docs/alerting.mdx | 2 +-
api_docs/apm.mdx | 2 +-
api_docs/apm_data_access.mdx | 2 +-
api_docs/banners.mdx | 2 +-
api_docs/bfetch.mdx | 2 +-
api_docs/canvas.mdx | 2 +-
api_docs/cases.mdx | 2 +-
api_docs/charts.mdx | 2 +-
api_docs/cloud.mdx | 2 +-
api_docs/cloud_data_migration.mdx | 2 +-
api_docs/cloud_defend.mdx | 2 +-
api_docs/cloud_security_posture.mdx | 2 +-
api_docs/console.mdx | 2 +-
api_docs/content_management.mdx | 2 +-
api_docs/controls.mdx | 2 +-
api_docs/custom_integrations.mdx | 2 +-
api_docs/dashboard.mdx | 2 +-
api_docs/dashboard_enhanced.mdx | 2 +-
api_docs/data.mdx | 2 +-
api_docs/data_quality.mdx | 2 +-
api_docs/data_query.mdx | 2 +-
api_docs/data_search.mdx | 2 +-
api_docs/data_usage.devdocs.json | 22 +-
api_docs/data_usage.mdx | 4 +-
api_docs/data_view_editor.mdx | 2 +-
api_docs/data_view_field_editor.mdx | 2 +-
api_docs/data_view_management.mdx | 2 +-
api_docs/data_views.devdocs.json | 4 -
api_docs/data_views.mdx | 2 +-
api_docs/data_visualizer.mdx | 2 +-
api_docs/dataset_quality.mdx | 2 +-
api_docs/deprecations_by_api.mdx | 2 +-
api_docs/deprecations_by_plugin.mdx | 4 +-
api_docs/deprecations_by_team.mdx | 2 +-
api_docs/dev_tools.mdx | 2 +-
api_docs/discover.mdx | 2 +-
api_docs/discover_enhanced.mdx | 2 +-
api_docs/discover_shared.mdx | 2 +-
api_docs/ecs_data_quality_dashboard.mdx | 2 +-
api_docs/elastic_assistant.mdx | 2 +-
api_docs/embeddable.mdx | 2 +-
api_docs/embeddable_enhanced.mdx | 2 +-
api_docs/encrypted_saved_objects.mdx | 2 +-
api_docs/enterprise_search.mdx | 2 +-
api_docs/entities_data_access.mdx | 2 +-
api_docs/entity_manager.devdocs.json | 1193 ++++++++++++++++-
api_docs/entity_manager.mdx | 4 +-
api_docs/es_ui_shared.mdx | 2 +-
api_docs/esql.mdx | 2 +-
api_docs/esql_data_grid.mdx | 2 +-
api_docs/event_annotation.mdx | 2 +-
api_docs/event_annotation_listing.mdx | 2 +-
api_docs/event_log.mdx | 2 +-
api_docs/exploratory_view.mdx | 2 +-
api_docs/expression_error.mdx | 2 +-
api_docs/expression_gauge.mdx | 2 +-
api_docs/expression_heatmap.mdx | 2 +-
api_docs/expression_image.mdx | 2 +-
api_docs/expression_legacy_metric_vis.mdx | 2 +-
api_docs/expression_metric.mdx | 2 +-
api_docs/expression_metric_vis.mdx | 2 +-
api_docs/expression_partition_vis.mdx | 2 +-
api_docs/expression_repeat_image.mdx | 2 +-
api_docs/expression_reveal_image.mdx | 2 +-
api_docs/expression_shape.mdx | 2 +-
api_docs/expression_tagcloud.mdx | 2 +-
api_docs/expression_x_y.mdx | 2 +-
api_docs/expressions.mdx | 2 +-
api_docs/features.mdx | 2 +-
api_docs/field_formats.mdx | 2 +-
api_docs/fields_metadata.mdx | 2 +-
api_docs/file_upload.mdx | 2 +-
api_docs/files.mdx | 2 +-
api_docs/files_management.mdx | 2 +-
api_docs/fleet.mdx | 2 +-
api_docs/global_search.mdx | 2 +-
api_docs/guided_onboarding.mdx | 2 +-
api_docs/home.mdx | 2 +-
api_docs/image_embeddable.mdx | 2 +-
api_docs/index_lifecycle_management.mdx | 2 +-
api_docs/index_management.mdx | 2 +-
api_docs/inference.mdx | 2 +-
api_docs/infra.mdx | 2 +-
api_docs/ingest_pipelines.mdx | 2 +-
api_docs/inspector.mdx | 2 +-
api_docs/integration_assistant.mdx | 2 +-
api_docs/interactive_setup.mdx | 2 +-
api_docs/inventory.mdx | 2 +-
api_docs/investigate.mdx | 2 +-
api_docs/investigate_app.mdx | 2 +-
api_docs/kbn_actions_types.mdx | 2 +-
api_docs/kbn_ai_assistant.mdx | 2 +-
api_docs/kbn_ai_assistant_common.mdx | 2 +-
api_docs/kbn_aiops_components.mdx | 2 +-
api_docs/kbn_aiops_log_pattern_analysis.mdx | 2 +-
api_docs/kbn_aiops_log_rate_analysis.mdx | 2 +-
.../kbn_alerting_api_integration_helpers.mdx | 2 +-
api_docs/kbn_alerting_comparators.mdx | 2 +-
api_docs/kbn_alerting_state_types.mdx | 2 +-
api_docs/kbn_alerting_types.mdx | 2 +-
api_docs/kbn_alerts_as_data_utils.mdx | 2 +-
api_docs/kbn_alerts_grouping.mdx | 2 +-
api_docs/kbn_alerts_ui_shared.mdx | 2 +-
api_docs/kbn_analytics.mdx | 2 +-
api_docs/kbn_analytics_collection_utils.mdx | 2 +-
api_docs/kbn_apm_config_loader.mdx | 2 +-
api_docs/kbn_apm_data_view.mdx | 2 +-
api_docs/kbn_apm_synthtrace.mdx | 2 +-
api_docs/kbn_apm_synthtrace_client.mdx | 2 +-
api_docs/kbn_apm_types.mdx | 2 +-
api_docs/kbn_apm_utils.mdx | 2 +-
api_docs/kbn_avc_banner.mdx | 2 +-
api_docs/kbn_axe_config.mdx | 2 +-
api_docs/kbn_bfetch_error.mdx | 2 +-
api_docs/kbn_calculate_auto.mdx | 2 +-
.../kbn_calculate_width_from_char_count.mdx | 2 +-
api_docs/kbn_cases_components.mdx | 2 +-
api_docs/kbn_cbor.mdx | 2 +-
api_docs/kbn_cell_actions.mdx | 2 +-
api_docs/kbn_chart_expressions_common.mdx | 2 +-
api_docs/kbn_chart_icons.mdx | 2 +-
api_docs/kbn_ci_stats_core.mdx | 2 +-
api_docs/kbn_ci_stats_performance_metrics.mdx | 2 +-
api_docs/kbn_ci_stats_reporter.mdx | 2 +-
api_docs/kbn_cli_dev_mode.mdx | 2 +-
api_docs/kbn_cloud_security_posture.mdx | 2 +-
.../kbn_cloud_security_posture_common.mdx | 2 +-
api_docs/kbn_cloud_security_posture_graph.mdx | 2 +-
api_docs/kbn_code_editor.mdx | 2 +-
api_docs/kbn_code_editor_mock.mdx | 2 +-
api_docs/kbn_code_owners.mdx | 2 +-
api_docs/kbn_coloring.mdx | 2 +-
api_docs/kbn_config.mdx | 2 +-
api_docs/kbn_config_mocks.mdx | 2 +-
api_docs/kbn_config_schema.mdx | 2 +-
.../kbn_content_management_content_editor.mdx | 2 +-
...ent_management_content_insights_public.mdx | 2 +-
...ent_management_content_insights_server.mdx | 2 +-
...bn_content_management_favorites_common.mdx | 2 +-
...bn_content_management_favorites_public.mdx | 2 +-
...bn_content_management_favorites_server.mdx | 2 +-
...tent_management_tabbed_table_list_view.mdx | 2 +-
...kbn_content_management_table_list_view.mdx | 2 +-
...tent_management_table_list_view_common.mdx | 2 +-
...ntent_management_table_list_view_table.mdx | 2 +-
.../kbn_content_management_user_profiles.mdx | 2 +-
api_docs/kbn_content_management_utils.mdx | 2 +-
api_docs/kbn_core_analytics_browser.mdx | 2 +-
.../kbn_core_analytics_browser_internal.mdx | 2 +-
api_docs/kbn_core_analytics_browser_mocks.mdx | 2 +-
api_docs/kbn_core_analytics_server.mdx | 2 +-
.../kbn_core_analytics_server_internal.mdx | 2 +-
api_docs/kbn_core_analytics_server_mocks.mdx | 2 +-
api_docs/kbn_core_application_browser.mdx | 2 +-
.../kbn_core_application_browser_internal.mdx | 2 +-
.../kbn_core_application_browser_mocks.mdx | 2 +-
api_docs/kbn_core_application_common.mdx | 2 +-
api_docs/kbn_core_apps_browser_internal.mdx | 2 +-
api_docs/kbn_core_apps_browser_mocks.mdx | 2 +-
api_docs/kbn_core_apps_server_internal.mdx | 2 +-
api_docs/kbn_core_base_browser_mocks.mdx | 2 +-
api_docs/kbn_core_base_common.mdx | 2 +-
api_docs/kbn_core_base_server_internal.mdx | 2 +-
api_docs/kbn_core_base_server_mocks.mdx | 2 +-
.../kbn_core_capabilities_browser_mocks.mdx | 2 +-
api_docs/kbn_core_capabilities_common.mdx | 2 +-
api_docs/kbn_core_capabilities_server.mdx | 2 +-
.../kbn_core_capabilities_server_mocks.mdx | 2 +-
api_docs/kbn_core_chrome_browser.devdocs.json | 2 +-
api_docs/kbn_core_chrome_browser.mdx | 2 +-
api_docs/kbn_core_chrome_browser_mocks.mdx | 2 +-
api_docs/kbn_core_config_server_internal.mdx | 2 +-
api_docs/kbn_core_custom_branding_browser.mdx | 2 +-
..._core_custom_branding_browser_internal.mdx | 2 +-
...kbn_core_custom_branding_browser_mocks.mdx | 2 +-
api_docs/kbn_core_custom_branding_common.mdx | 2 +-
api_docs/kbn_core_custom_branding_server.mdx | 2 +-
...n_core_custom_branding_server_internal.mdx | 2 +-
.../kbn_core_custom_branding_server_mocks.mdx | 2 +-
api_docs/kbn_core_deprecations_browser.mdx | 2 +-
...kbn_core_deprecations_browser_internal.mdx | 2 +-
.../kbn_core_deprecations_browser_mocks.mdx | 2 +-
api_docs/kbn_core_deprecations_common.mdx | 2 +-
api_docs/kbn_core_deprecations_server.mdx | 2 +-
.../kbn_core_deprecations_server_internal.mdx | 2 +-
.../kbn_core_deprecations_server_mocks.mdx | 2 +-
api_docs/kbn_core_doc_links_browser.mdx | 2 +-
api_docs/kbn_core_doc_links_browser_mocks.mdx | 2 +-
api_docs/kbn_core_doc_links_server.mdx | 2 +-
api_docs/kbn_core_doc_links_server_mocks.mdx | 2 +-
...e_elasticsearch_client_server_internal.mdx | 2 +-
...core_elasticsearch_client_server_mocks.mdx | 2 +-
api_docs/kbn_core_elasticsearch_server.mdx | 2 +-
...kbn_core_elasticsearch_server_internal.mdx | 2 +-
.../kbn_core_elasticsearch_server_mocks.mdx | 2 +-
.../kbn_core_environment_server_internal.mdx | 2 +-
.../kbn_core_environment_server_mocks.mdx | 2 +-
.../kbn_core_execution_context_browser.mdx | 2 +-
...ore_execution_context_browser_internal.mdx | 2 +-
...n_core_execution_context_browser_mocks.mdx | 2 +-
.../kbn_core_execution_context_common.mdx | 2 +-
.../kbn_core_execution_context_server.mdx | 2 +-
...core_execution_context_server_internal.mdx | 2 +-
...bn_core_execution_context_server_mocks.mdx | 2 +-
api_docs/kbn_core_fatal_errors_browser.mdx | 2 +-
.../kbn_core_fatal_errors_browser_mocks.mdx | 2 +-
api_docs/kbn_core_feature_flags_browser.mdx | 2 +-
...bn_core_feature_flags_browser_internal.mdx | 2 +-
.../kbn_core_feature_flags_browser_mocks.mdx | 2 +-
api_docs/kbn_core_feature_flags_server.mdx | 2 +-
...kbn_core_feature_flags_server_internal.mdx | 2 +-
.../kbn_core_feature_flags_server_mocks.mdx | 2 +-
api_docs/kbn_core_http_browser.mdx | 2 +-
api_docs/kbn_core_http_browser_internal.mdx | 2 +-
api_docs/kbn_core_http_browser_mocks.mdx | 2 +-
api_docs/kbn_core_http_common.mdx | 2 +-
.../kbn_core_http_context_server_mocks.mdx | 2 +-
...re_http_request_handler_context_server.mdx | 2 +-
api_docs/kbn_core_http_resources_server.mdx | 2 +-
...bn_core_http_resources_server_internal.mdx | 2 +-
.../kbn_core_http_resources_server_mocks.mdx | 2 +-
...e_http_router_server_internal.devdocs.json | 10 +-
.../kbn_core_http_router_server_internal.mdx | 2 +-
...core_http_router_server_mocks.devdocs.json | 2 +-
.../kbn_core_http_router_server_mocks.mdx | 2 +-
api_docs/kbn_core_http_server.devdocs.json | 69 +-
api_docs/kbn_core_http_server.mdx | 4 +-
api_docs/kbn_core_http_server_internal.mdx | 2 +-
api_docs/kbn_core_http_server_mocks.mdx | 2 +-
.../kbn_core_http_server_utils.devdocs.json | 186 +++
api_docs/kbn_core_http_server_utils.mdx | 30 +
api_docs/kbn_core_i18n_browser.mdx | 2 +-
api_docs/kbn_core_i18n_browser_mocks.mdx | 2 +-
api_docs/kbn_core_i18n_server.mdx | 2 +-
api_docs/kbn_core_i18n_server_internal.mdx | 2 +-
api_docs/kbn_core_i18n_server_mocks.mdx | 2 +-
...n_core_injected_metadata_browser_mocks.mdx | 2 +-
...kbn_core_integrations_browser_internal.mdx | 2 +-
.../kbn_core_integrations_browser_mocks.mdx | 2 +-
api_docs/kbn_core_lifecycle_browser.mdx | 2 +-
api_docs/kbn_core_lifecycle_browser_mocks.mdx | 2 +-
api_docs/kbn_core_lifecycle_server.mdx | 2 +-
api_docs/kbn_core_lifecycle_server_mocks.mdx | 2 +-
api_docs/kbn_core_logging_browser_mocks.mdx | 2 +-
api_docs/kbn_core_logging_common_internal.mdx | 2 +-
api_docs/kbn_core_logging_server.mdx | 2 +-
api_docs/kbn_core_logging_server_internal.mdx | 2 +-
api_docs/kbn_core_logging_server_mocks.mdx | 2 +-
...ore_metrics_collectors_server_internal.mdx | 2 +-
...n_core_metrics_collectors_server_mocks.mdx | 2 +-
api_docs/kbn_core_metrics_server.mdx | 2 +-
api_docs/kbn_core_metrics_server_internal.mdx | 2 +-
api_docs/kbn_core_metrics_server_mocks.mdx | 2 +-
api_docs/kbn_core_mount_utils_browser.mdx | 2 +-
api_docs/kbn_core_node_server.mdx | 2 +-
api_docs/kbn_core_node_server_internal.mdx | 2 +-
api_docs/kbn_core_node_server_mocks.mdx | 2 +-
api_docs/kbn_core_notifications_browser.mdx | 2 +-
...bn_core_notifications_browser_internal.mdx | 2 +-
.../kbn_core_notifications_browser_mocks.mdx | 2 +-
api_docs/kbn_core_overlays_browser.mdx | 2 +-
.../kbn_core_overlays_browser_internal.mdx | 2 +-
api_docs/kbn_core_overlays_browser_mocks.mdx | 2 +-
api_docs/kbn_core_plugins_browser.mdx | 2 +-
api_docs/kbn_core_plugins_browser_mocks.mdx | 2 +-
.../kbn_core_plugins_contracts_browser.mdx | 2 +-
.../kbn_core_plugins_contracts_server.mdx | 2 +-
api_docs/kbn_core_plugins_server.mdx | 2 +-
api_docs/kbn_core_plugins_server_mocks.mdx | 2 +-
api_docs/kbn_core_preboot_server.mdx | 2 +-
api_docs/kbn_core_preboot_server_mocks.mdx | 2 +-
api_docs/kbn_core_rendering_browser.mdx | 2 +-
api_docs/kbn_core_rendering_browser_mocks.mdx | 2 +-
.../kbn_core_rendering_server_internal.mdx | 2 +-
api_docs/kbn_core_rendering_server_mocks.mdx | 2 +-
api_docs/kbn_core_root_server_internal.mdx | 2 +-
.../kbn_core_saved_objects_api_browser.mdx | 2 +-
.../kbn_core_saved_objects_api_server.mdx | 2 +-
...bn_core_saved_objects_api_server_mocks.mdx | 2 +-
...ore_saved_objects_base_server_internal.mdx | 2 +-
...n_core_saved_objects_base_server_mocks.mdx | 2 +-
api_docs/kbn_core_saved_objects_browser.mdx | 2 +-
...bn_core_saved_objects_browser_internal.mdx | 2 +-
.../kbn_core_saved_objects_browser_mocks.mdx | 2 +-
api_docs/kbn_core_saved_objects_common.mdx | 2 +-
..._objects_import_export_server_internal.mdx | 2 +-
...ved_objects_import_export_server_mocks.mdx | 2 +-
...aved_objects_migration_server_internal.mdx | 2 +-
...e_saved_objects_migration_server_mocks.mdx | 2 +-
api_docs/kbn_core_saved_objects_server.mdx | 2 +-
...kbn_core_saved_objects_server_internal.mdx | 2 +-
.../kbn_core_saved_objects_server_mocks.mdx | 2 +-
.../kbn_core_saved_objects_utils_server.mdx | 2 +-
api_docs/kbn_core_security_browser.mdx | 2 +-
.../kbn_core_security_browser_internal.mdx | 2 +-
api_docs/kbn_core_security_browser_mocks.mdx | 2 +-
api_docs/kbn_core_security_common.mdx | 2 +-
api_docs/kbn_core_security_server.mdx | 2 +-
.../kbn_core_security_server_internal.mdx | 2 +-
api_docs/kbn_core_security_server_mocks.mdx | 2 +-
api_docs/kbn_core_status_common.mdx | 2 +-
api_docs/kbn_core_status_server.mdx | 2 +-
api_docs/kbn_core_status_server_internal.mdx | 2 +-
api_docs/kbn_core_status_server_mocks.mdx | 2 +-
...core_test_helpers_deprecations_getters.mdx | 2 +-
...n_core_test_helpers_http_setup_browser.mdx | 2 +-
api_docs/kbn_core_test_helpers_kbn_server.mdx | 2 +-
.../kbn_core_test_helpers_model_versions.mdx | 2 +-
...n_core_test_helpers_so_type_serializer.mdx | 2 +-
api_docs/kbn_core_test_helpers_test_utils.mdx | 2 +-
api_docs/kbn_core_theme_browser.mdx | 2 +-
api_docs/kbn_core_theme_browser_mocks.mdx | 2 +-
api_docs/kbn_core_ui_settings_browser.mdx | 2 +-
.../kbn_core_ui_settings_browser_internal.mdx | 2 +-
.../kbn_core_ui_settings_browser_mocks.mdx | 2 +-
api_docs/kbn_core_ui_settings_common.mdx | 2 +-
api_docs/kbn_core_ui_settings_server.mdx | 2 +-
.../kbn_core_ui_settings_server_internal.mdx | 2 +-
.../kbn_core_ui_settings_server_mocks.mdx | 2 +-
api_docs/kbn_core_usage_data_server.mdx | 2 +-
.../kbn_core_usage_data_server_internal.mdx | 2 +-
api_docs/kbn_core_usage_data_server_mocks.mdx | 2 +-
api_docs/kbn_core_user_profile_browser.mdx | 2 +-
...kbn_core_user_profile_browser_internal.mdx | 2 +-
.../kbn_core_user_profile_browser_mocks.mdx | 2 +-
api_docs/kbn_core_user_profile_common.mdx | 2 +-
api_docs/kbn_core_user_profile_server.mdx | 2 +-
.../kbn_core_user_profile_server_internal.mdx | 2 +-
.../kbn_core_user_profile_server_mocks.mdx | 2 +-
api_docs/kbn_core_user_settings_server.mdx | 2 +-
.../kbn_core_user_settings_server_mocks.mdx | 2 +-
api_docs/kbn_crypto.mdx | 2 +-
api_docs/kbn_crypto_browser.mdx | 2 +-
api_docs/kbn_custom_icons.mdx | 2 +-
api_docs/kbn_custom_integrations.mdx | 2 +-
api_docs/kbn_cypress_config.mdx | 2 +-
api_docs/kbn_data_forge.mdx | 2 +-
api_docs/kbn_data_service.mdx | 2 +-
api_docs/kbn_data_stream_adapter.mdx | 2 +-
api_docs/kbn_data_view_utils.mdx | 2 +-
api_docs/kbn_datemath.mdx | 2 +-
api_docs/kbn_deeplinks_analytics.mdx | 2 +-
api_docs/kbn_deeplinks_devtools.mdx | 2 +-
api_docs/kbn_deeplinks_fleet.mdx | 2 +-
api_docs/kbn_deeplinks_management.mdx | 2 +-
api_docs/kbn_deeplinks_ml.mdx | 2 +-
api_docs/kbn_deeplinks_observability.mdx | 2 +-
api_docs/kbn_deeplinks_search.mdx | 2 +-
api_docs/kbn_deeplinks_security.devdocs.json | 4 +-
api_docs/kbn_deeplinks_security.mdx | 2 +-
api_docs/kbn_deeplinks_shared.mdx | 2 +-
api_docs/kbn_default_nav_analytics.mdx | 2 +-
api_docs/kbn_default_nav_devtools.mdx | 2 +-
api_docs/kbn_default_nav_management.mdx | 2 +-
api_docs/kbn_default_nav_ml.mdx | 2 +-
api_docs/kbn_dev_cli_errors.mdx | 2 +-
api_docs/kbn_dev_cli_runner.mdx | 2 +-
api_docs/kbn_dev_proc_runner.mdx | 2 +-
api_docs/kbn_dev_utils.mdx | 2 +-
.../kbn_discover_contextual_components.mdx | 2 +-
api_docs/kbn_discover_utils.mdx | 2 +-
api_docs/kbn_doc_links.devdocs.json | 14 +
api_docs/kbn_doc_links.mdx | 4 +-
api_docs/kbn_docs_utils.mdx | 2 +-
api_docs/kbn_dom_drag_drop.mdx | 2 +-
api_docs/kbn_ebt_tools.mdx | 2 +-
api_docs/kbn_ecs_data_quality_dashboard.mdx | 2 +-
api_docs/kbn_elastic_agent_utils.mdx | 2 +-
api_docs/kbn_elastic_assistant.mdx | 2 +-
api_docs/kbn_elastic_assistant_common.mdx | 2 +-
api_docs/kbn_entities_schema.devdocs.json | 61 +
api_docs/kbn_entities_schema.mdx | 4 +-
api_docs/kbn_es.mdx | 2 +-
api_docs/kbn_es_archiver.mdx | 2 +-
api_docs/kbn_es_errors.mdx | 2 +-
api_docs/kbn_es_query.mdx | 2 +-
api_docs/kbn_es_types.mdx | 2 +-
api_docs/kbn_eslint_plugin_imports.mdx | 2 +-
api_docs/kbn_esql_ast.mdx | 2 +-
api_docs/kbn_esql_editor.mdx | 2 +-
api_docs/kbn_esql_utils.mdx | 2 +-
api_docs/kbn_esql_validation_autocomplete.mdx | 2 +-
api_docs/kbn_event_annotation_common.mdx | 2 +-
api_docs/kbn_event_annotation_components.mdx | 2 +-
api_docs/kbn_expandable_flyout.mdx | 2 +-
api_docs/kbn_field_types.mdx | 2 +-
api_docs/kbn_field_utils.mdx | 2 +-
api_docs/kbn_find_used_node_modules.mdx | 2 +-
api_docs/kbn_formatters.mdx | 2 +-
.../kbn_ftr_common_functional_services.mdx | 2 +-
.../kbn_ftr_common_functional_ui_services.mdx | 2 +-
api_docs/kbn_generate.mdx | 2 +-
api_docs/kbn_generate_console_definitions.mdx | 2 +-
api_docs/kbn_generate_csv.devdocs.json | 4 +-
api_docs/kbn_generate_csv.mdx | 2 +-
api_docs/kbn_grid_layout.mdx | 2 +-
api_docs/kbn_grouping.mdx | 2 +-
api_docs/kbn_guided_onboarding.mdx | 2 +-
api_docs/kbn_handlebars.mdx | 2 +-
api_docs/kbn_hapi_mocks.mdx | 2 +-
api_docs/kbn_health_gateway_server.mdx | 2 +-
api_docs/kbn_home_sample_data_card.mdx | 2 +-
api_docs/kbn_home_sample_data_tab.mdx | 2 +-
api_docs/kbn_i18n.mdx | 2 +-
api_docs/kbn_i18n_react.mdx | 2 +-
api_docs/kbn_import_resolver.mdx | 2 +-
api_docs/kbn_index_adapter.mdx | 2 +-
...dex_lifecycle_management_common_shared.mdx | 2 +-
.../kbn_index_management_shared_types.mdx | 2 +-
api_docs/kbn_inference_common.mdx | 2 +-
api_docs/kbn_inference_integration_flyout.mdx | 2 +-
api_docs/kbn_infra_forge.mdx | 2 +-
api_docs/kbn_interpreter.mdx | 2 +-
api_docs/kbn_investigation_shared.mdx | 2 +-
api_docs/kbn_io_ts_utils.mdx | 2 +-
api_docs/kbn_ipynb.mdx | 2 +-
api_docs/kbn_item_buffer.mdx | 2 +-
api_docs/kbn_jest_serializers.mdx | 2 +-
api_docs/kbn_journeys.mdx | 2 +-
api_docs/kbn_json_ast.mdx | 2 +-
api_docs/kbn_json_schemas.mdx | 2 +-
api_docs/kbn_kibana_manifest_schema.mdx | 2 +-
api_docs/kbn_language_documentation.mdx | 2 +-
api_docs/kbn_lens_embeddable_utils.mdx | 2 +-
api_docs/kbn_lens_formula_docs.mdx | 2 +-
api_docs/kbn_logging.mdx | 2 +-
api_docs/kbn_logging_mocks.mdx | 2 +-
api_docs/kbn_managed_content_badge.mdx | 2 +-
api_docs/kbn_managed_vscode_config.mdx | 2 +-
api_docs/kbn_management_cards_navigation.mdx | 2 +-
.../kbn_management_settings_application.mdx | 2 +-
...ent_settings_components_field_category.mdx | 2 +-
...gement_settings_components_field_input.mdx | 2 +-
...nagement_settings_components_field_row.mdx | 2 +-
...bn_management_settings_components_form.mdx | 2 +-
...n_management_settings_field_definition.mdx | 2 +-
api_docs/kbn_management_settings_ids.mdx | 4 +-
...n_management_settings_section_registry.mdx | 4 +-
api_docs/kbn_management_settings_types.mdx | 2 +-
.../kbn_management_settings_utilities.mdx | 2 +-
api_docs/kbn_management_storybook_config.mdx | 2 +-
api_docs/kbn_manifest.mdx | 2 +-
api_docs/kbn_mapbox_gl.mdx | 2 +-
api_docs/kbn_maps_vector_tile_utils.mdx | 2 +-
api_docs/kbn_ml_agg_utils.mdx | 2 +-
api_docs/kbn_ml_anomaly_utils.mdx | 2 +-
api_docs/kbn_ml_cancellable_search.mdx | 2 +-
api_docs/kbn_ml_category_validator.mdx | 2 +-
api_docs/kbn_ml_chi2test.mdx | 2 +-
.../kbn_ml_data_frame_analytics_utils.mdx | 2 +-
api_docs/kbn_ml_data_grid.mdx | 2 +-
api_docs/kbn_ml_date_picker.mdx | 2 +-
api_docs/kbn_ml_date_utils.mdx | 2 +-
api_docs/kbn_ml_error_utils.mdx | 2 +-
api_docs/kbn_ml_field_stats_flyout.mdx | 2 +-
api_docs/kbn_ml_in_memory_table.mdx | 2 +-
api_docs/kbn_ml_is_defined.mdx | 2 +-
api_docs/kbn_ml_is_populated_object.mdx | 2 +-
api_docs/kbn_ml_kibana_theme.mdx | 2 +-
api_docs/kbn_ml_local_storage.mdx | 2 +-
api_docs/kbn_ml_nested_property.mdx | 2 +-
api_docs/kbn_ml_number_utils.mdx | 2 +-
api_docs/kbn_ml_parse_interval.mdx | 2 +-
api_docs/kbn_ml_query_utils.mdx | 2 +-
api_docs/kbn_ml_random_sampler_utils.mdx | 2 +-
api_docs/kbn_ml_route_utils.mdx | 2 +-
api_docs/kbn_ml_runtime_field_utils.mdx | 2 +-
api_docs/kbn_ml_string_hash.mdx | 2 +-
api_docs/kbn_ml_time_buckets.mdx | 2 +-
api_docs/kbn_ml_trained_models_utils.mdx | 2 +-
api_docs/kbn_ml_ui_actions.mdx | 2 +-
api_docs/kbn_ml_url_state.mdx | 2 +-
api_docs/kbn_ml_validators.mdx | 2 +-
api_docs/kbn_mock_idp_utils.mdx | 2 +-
api_docs/kbn_monaco.mdx | 2 +-
api_docs/kbn_object_versioning.mdx | 2 +-
api_docs/kbn_object_versioning_utils.mdx | 2 +-
api_docs/kbn_observability_alert_details.mdx | 2 +-
.../kbn_observability_alerting_rule_utils.mdx | 2 +-
.../kbn_observability_alerting_test_data.mdx | 2 +-
...ility_get_padded_alert_time_range_util.mdx | 2 +-
api_docs/kbn_observability_logs_overview.mdx | 2 +-
...kbn_observability_synthetics_test_data.mdx | 2 +-
api_docs/kbn_openapi_bundler.mdx | 2 +-
api_docs/kbn_openapi_generator.mdx | 2 +-
api_docs/kbn_optimizer.mdx | 2 +-
api_docs/kbn_optimizer_webpack_helpers.mdx | 2 +-
api_docs/kbn_osquery_io_ts_types.mdx | 2 +-
api_docs/kbn_panel_loader.mdx | 2 +-
..._performance_testing_dataset_extractor.mdx | 2 +-
api_docs/kbn_plugin_check.mdx | 2 +-
api_docs/kbn_plugin_generator.mdx | 2 +-
api_docs/kbn_plugin_helpers.mdx | 2 +-
api_docs/kbn_presentation_containers.mdx | 2 +-
api_docs/kbn_presentation_publishing.mdx | 2 +-
api_docs/kbn_product_doc_artifact_builder.mdx | 2 +-
api_docs/kbn_product_doc_common.mdx | 2 +-
api_docs/kbn_profiling_utils.mdx | 2 +-
api_docs/kbn_random_sampling.mdx | 2 +-
api_docs/kbn_react_field.mdx | 2 +-
api_docs/kbn_react_hooks.mdx | 2 +-
api_docs/kbn_react_kibana_context_common.mdx | 2 +-
api_docs/kbn_react_kibana_context_render.mdx | 2 +-
api_docs/kbn_react_kibana_context_root.mdx | 2 +-
api_docs/kbn_react_kibana_context_styled.mdx | 2 +-
api_docs/kbn_react_kibana_context_theme.mdx | 2 +-
api_docs/kbn_react_kibana_mount.mdx | 2 +-
api_docs/kbn_recently_accessed.mdx | 2 +-
api_docs/kbn_repo_file_maps.mdx | 2 +-
api_docs/kbn_repo_linter.mdx | 2 +-
api_docs/kbn_repo_path.mdx | 2 +-
.../kbn_repo_source_classifier.devdocs.json | 136 +-
api_docs/kbn_repo_source_classifier.mdx | 7 +-
api_docs/kbn_reporting_common.mdx | 2 +-
api_docs/kbn_reporting_csv_share_panel.mdx | 2 +-
...bn_reporting_export_types_csv.devdocs.json | 8 +-
api_docs/kbn_reporting_export_types_csv.mdx | 2 +-
.../kbn_reporting_export_types_csv_common.mdx | 2 +-
...bn_reporting_export_types_pdf.devdocs.json | 8 +-
api_docs/kbn_reporting_export_types_pdf.mdx | 2 +-
.../kbn_reporting_export_types_pdf_common.mdx | 2 +-
...bn_reporting_export_types_png.devdocs.json | 4 +-
api_docs/kbn_reporting_export_types_png.mdx | 2 +-
.../kbn_reporting_export_types_png_common.mdx | 2 +-
.../kbn_reporting_mocks_server.devdocs.json | 6 +-
api_docs/kbn_reporting_mocks_server.mdx | 2 +-
api_docs/kbn_reporting_public.mdx | 2 +-
api_docs/kbn_reporting_server.devdocs.json | 12 +-
api_docs/kbn_reporting_server.mdx | 2 +-
api_docs/kbn_resizable_layout.mdx | 2 +-
.../kbn_response_ops_feature_flag_service.mdx | 2 +-
api_docs/kbn_response_ops_rule_params.mdx | 2 +-
api_docs/kbn_rison.mdx | 2 +-
api_docs/kbn_rollup.mdx | 2 +-
api_docs/kbn_router_to_openapispec.mdx | 2 +-
api_docs/kbn_router_utils.mdx | 2 +-
api_docs/kbn_rrule.mdx | 2 +-
api_docs/kbn_rule_data_utils.mdx | 2 +-
api_docs/kbn_saved_objects_settings.mdx | 2 +-
api_docs/kbn_screenshotting_server.mdx | 2 +-
api_docs/kbn_search_api_keys_components.mdx | 2 +-
api_docs/kbn_search_api_keys_server.mdx | 2 +-
api_docs/kbn_search_api_panels.mdx | 2 +-
api_docs/kbn_search_connectors.mdx | 2 +-
api_docs/kbn_search_errors.mdx | 2 +-
api_docs/kbn_search_index_documents.mdx | 2 +-
api_docs/kbn_search_response_warnings.mdx | 2 +-
api_docs/kbn_search_shared_ui.mdx | 2 +-
api_docs/kbn_search_types.mdx | 2 +-
api_docs/kbn_security_api_key_management.mdx | 2 +-
api_docs/kbn_security_authorization_core.mdx | 2 +-
...kbn_security_authorization_core_common.mdx | 2 +-
api_docs/kbn_security_form_components.mdx | 2 +-
api_docs/kbn_security_hardening.mdx | 2 +-
api_docs/kbn_security_plugin_types_common.mdx | 2 +-
api_docs/kbn_security_plugin_types_public.mdx | 2 +-
api_docs/kbn_security_plugin_types_server.mdx | 2 +-
.../kbn_security_role_management_model.mdx | 2 +-
...kbn_security_solution_distribution_bar.mdx | 2 +-
api_docs/kbn_security_solution_features.mdx | 2 +-
api_docs/kbn_security_solution_navigation.mdx | 2 +-
api_docs/kbn_security_solution_side_nav.mdx | 2 +-
...kbn_security_solution_storybook_config.mdx | 2 +-
api_docs/kbn_security_ui_components.mdx | 2 +-
.../kbn_securitysolution_autocomplete.mdx | 2 +-
api_docs/kbn_securitysolution_data_table.mdx | 2 +-
api_docs/kbn_securitysolution_ecs.mdx | 2 +-
api_docs/kbn_securitysolution_es_utils.mdx | 2 +-
...ritysolution_exception_list_components.mdx | 2 +-
api_docs/kbn_securitysolution_hook_utils.mdx | 2 +-
..._securitysolution_io_ts_alerting_types.mdx | 2 +-
.../kbn_securitysolution_io_ts_list_types.mdx | 2 +-
api_docs/kbn_securitysolution_io_ts_types.mdx | 2 +-
api_docs/kbn_securitysolution_io_ts_utils.mdx | 2 +-
api_docs/kbn_securitysolution_list_api.mdx | 2 +-
.../kbn_securitysolution_list_constants.mdx | 2 +-
api_docs/kbn_securitysolution_list_hooks.mdx | 2 +-
api_docs/kbn_securitysolution_list_utils.mdx | 2 +-
api_docs/kbn_securitysolution_rules.mdx | 2 +-
api_docs/kbn_securitysolution_t_grid.mdx | 2 +-
.../kbn_securitysolution_utils.devdocs.json | 54 +
api_docs/kbn_securitysolution_utils.mdx | 4 +-
api_docs/kbn_server_http_tools.mdx | 2 +-
.../kbn_server_route_repository.devdocs.json | 13 +-
api_docs/kbn_server_route_repository.mdx | 2 +-
.../kbn_server_route_repository_client.mdx | 2 +-
...server_route_repository_utils.devdocs.json | 13 +-
.../kbn_server_route_repository_utils.mdx | 2 +-
api_docs/kbn_serverless_common_settings.mdx | 4 +-
.../kbn_serverless_observability_settings.mdx | 4 +-
api_docs/kbn_serverless_project_switcher.mdx | 2 +-
api_docs/kbn_serverless_search_settings.mdx | 4 +-
api_docs/kbn_serverless_security_settings.mdx | 4 +-
api_docs/kbn_serverless_storybook_config.mdx | 2 +-
api_docs/kbn_shared_svg.mdx | 2 +-
api_docs/kbn_shared_ux_avatar_solution.mdx | 2 +-
.../kbn_shared_ux_button_exit_full_screen.mdx | 2 +-
api_docs/kbn_shared_ux_button_toolbar.mdx | 2 +-
api_docs/kbn_shared_ux_card_no_data.mdx | 2 +-
api_docs/kbn_shared_ux_card_no_data_mocks.mdx | 2 +-
api_docs/kbn_shared_ux_chrome_navigation.mdx | 2 +-
api_docs/kbn_shared_ux_error_boundary.mdx | 2 +-
api_docs/kbn_shared_ux_file_context.mdx | 2 +-
api_docs/kbn_shared_ux_file_image.mdx | 2 +-
api_docs/kbn_shared_ux_file_image_mocks.mdx | 2 +-
api_docs/kbn_shared_ux_file_mocks.mdx | 2 +-
api_docs/kbn_shared_ux_file_picker.mdx | 2 +-
api_docs/kbn_shared_ux_file_types.mdx | 2 +-
api_docs/kbn_shared_ux_file_upload.mdx | 2 +-
api_docs/kbn_shared_ux_file_util.mdx | 2 +-
api_docs/kbn_shared_ux_link_redirect_app.mdx | 2 +-
.../kbn_shared_ux_link_redirect_app_mocks.mdx | 2 +-
api_docs/kbn_shared_ux_markdown.mdx | 2 +-
api_docs/kbn_shared_ux_markdown_mocks.mdx | 2 +-
.../kbn_shared_ux_page_analytics_no_data.mdx | 2 +-
...shared_ux_page_analytics_no_data_mocks.mdx | 2 +-
.../kbn_shared_ux_page_kibana_no_data.mdx | 2 +-
...bn_shared_ux_page_kibana_no_data_mocks.mdx | 2 +-
.../kbn_shared_ux_page_kibana_template.mdx | 2 +-
...n_shared_ux_page_kibana_template_mocks.mdx | 2 +-
api_docs/kbn_shared_ux_page_no_data.mdx | 2 +-
.../kbn_shared_ux_page_no_data_config.mdx | 2 +-
...bn_shared_ux_page_no_data_config_mocks.mdx | 2 +-
api_docs/kbn_shared_ux_page_no_data_mocks.mdx | 2 +-
api_docs/kbn_shared_ux_page_solution_nav.mdx | 2 +-
.../kbn_shared_ux_prompt_no_data_views.mdx | 2 +-
...n_shared_ux_prompt_no_data_views_mocks.mdx | 2 +-
api_docs/kbn_shared_ux_prompt_not_found.mdx | 2 +-
api_docs/kbn_shared_ux_router.mdx | 2 +-
api_docs/kbn_shared_ux_router_mocks.mdx | 2 +-
api_docs/kbn_shared_ux_storybook_config.mdx | 2 +-
api_docs/kbn_shared_ux_storybook_mock.mdx | 2 +-
api_docs/kbn_shared_ux_tabbed_modal.mdx | 2 +-
api_docs/kbn_shared_ux_table_persist.mdx | 2 +-
api_docs/kbn_shared_ux_utility.mdx | 2 +-
api_docs/kbn_slo_schema.mdx | 2 +-
api_docs/kbn_some_dev_log.mdx | 2 +-
api_docs/kbn_sort_predicates.mdx | 2 +-
api_docs/kbn_sse_utils.mdx | 2 +-
api_docs/kbn_sse_utils_client.mdx | 2 +-
api_docs/kbn_sse_utils_server.mdx | 2 +-
api_docs/kbn_std.mdx | 2 +-
api_docs/kbn_stdio_dev_helpers.mdx | 2 +-
api_docs/kbn_storybook.mdx | 2 +-
api_docs/kbn_synthetics_e2e.mdx | 2 +-
api_docs/kbn_synthetics_private_location.mdx | 2 +-
api_docs/kbn_telemetry_tools.mdx | 2 +-
api_docs/kbn_test.mdx | 2 +-
api_docs/kbn_test_eui_helpers.mdx | 2 +-
api_docs/kbn_test_jest_helpers.mdx | 2 +-
api_docs/kbn_test_subj_selector.mdx | 2 +-
api_docs/kbn_timerange.mdx | 2 +-
api_docs/kbn_tooling_log.mdx | 2 +-
api_docs/kbn_transpose_utils.mdx | 2 +-
api_docs/kbn_triggers_actions_ui_types.mdx | 2 +-
api_docs/kbn_try_in_console.mdx | 2 +-
api_docs/kbn_ts_projects.mdx | 2 +-
api_docs/kbn_typed_react_router_config.mdx | 2 +-
api_docs/kbn_ui_actions_browser.mdx | 2 +-
api_docs/kbn_ui_shared_deps_src.mdx | 2 +-
api_docs/kbn_ui_theme.mdx | 2 +-
api_docs/kbn_unified_data_table.mdx | 2 +-
api_docs/kbn_unified_doc_viewer.mdx | 2 +-
api_docs/kbn_unified_field_list.mdx | 2 +-
api_docs/kbn_unsaved_changes_badge.mdx | 2 +-
api_docs/kbn_unsaved_changes_prompt.mdx | 2 +-
api_docs/kbn_use_tracked_promise.mdx | 2 +-
api_docs/kbn_user_profile_components.mdx | 2 +-
api_docs/kbn_utility_types.mdx | 2 +-
api_docs/kbn_utility_types_jest.mdx | 2 +-
api_docs/kbn_utils.mdx | 2 +-
api_docs/kbn_visualization_ui_components.mdx | 2 +-
api_docs/kbn_visualization_utils.mdx | 2 +-
api_docs/kbn_xstate_utils.mdx | 2 +-
api_docs/kbn_yarn_lock_validator.mdx | 2 +-
api_docs/kbn_zod.devdocs.json | 2 +-
api_docs/kbn_zod.mdx | 2 +-
api_docs/kbn_zod_helpers.mdx | 2 +-
api_docs/kibana_overview.mdx | 2 +-
api_docs/kibana_react.mdx | 2 +-
api_docs/kibana_utils.mdx | 2 +-
api_docs/kubernetes_security.mdx | 2 +-
api_docs/lens.mdx | 2 +-
api_docs/license_api_guard.mdx | 2 +-
api_docs/license_management.mdx | 2 +-
api_docs/licensing.mdx | 2 +-
api_docs/links.mdx | 2 +-
api_docs/lists.mdx | 2 +-
api_docs/llm_tasks.mdx | 2 +-
api_docs/logs_data_access.mdx | 2 +-
api_docs/logs_explorer.mdx | 2 +-
api_docs/logs_shared.mdx | 2 +-
api_docs/management.mdx | 2 +-
api_docs/maps.mdx | 2 +-
api_docs/maps_ems.mdx | 2 +-
api_docs/metrics_data_access.mdx | 2 +-
api_docs/ml.mdx | 2 +-
api_docs/mock_idp_plugin.mdx | 2 +-
api_docs/monitoring.mdx | 2 +-
api_docs/monitoring_collection.mdx | 2 +-
api_docs/navigation.mdx | 2 +-
api_docs/newsfeed.mdx | 2 +-
api_docs/no_data_page.mdx | 2 +-
api_docs/notifications.mdx | 2 +-
api_docs/observability.mdx | 2 +-
api_docs/observability_a_i_assistant.mdx | 2 +-
api_docs/observability_a_i_assistant_app.mdx | 2 +-
.../observability_ai_assistant_management.mdx | 2 +-
api_docs/observability_logs_explorer.mdx | 2 +-
api_docs/observability_onboarding.mdx | 2 +-
api_docs/observability_shared.mdx | 2 +-
api_docs/osquery.mdx | 2 +-
api_docs/painless_lab.mdx | 2 +-
api_docs/plugin_directory.mdx | 37 +-
api_docs/presentation_panel.mdx | 2 +-
api_docs/presentation_util.mdx | 2 +-
api_docs/product_doc_base.mdx | 2 +-
api_docs/profiling.mdx | 2 +-
api_docs/profiling_data_access.mdx | 2 +-
api_docs/remote_clusters.mdx | 2 +-
api_docs/reporting.mdx | 2 +-
api_docs/rollup.mdx | 2 +-
api_docs/rule_registry.mdx | 2 +-
api_docs/runtime_fields.mdx | 2 +-
api_docs/saved_objects.mdx | 2 +-
api_docs/saved_objects_finder.mdx | 2 +-
api_docs/saved_objects_management.mdx | 2 +-
api_docs/saved_objects_tagging.mdx | 2 +-
api_docs/saved_objects_tagging_oss.mdx | 2 +-
api_docs/saved_search.mdx | 2 +-
api_docs/screenshot_mode.mdx | 2 +-
api_docs/screenshotting.mdx | 2 +-
api_docs/search_assistant.mdx | 2 +-
api_docs/search_connectors.mdx | 2 +-
api_docs/search_homepage.mdx | 2 +-
api_docs/search_indices.devdocs.json | 2 +-
api_docs/search_indices.mdx | 2 +-
api_docs/search_inference_endpoints.mdx | 2 +-
api_docs/search_navigation.devdocs.json | 390 ++++++
api_docs/search_navigation.mdx | 41 +
api_docs/search_notebooks.mdx | 2 +-
api_docs/search_playground.mdx | 2 +-
api_docs/security.mdx | 2 +-
api_docs/security_solution.devdocs.json | 4 +-
api_docs/security_solution.mdx | 2 +-
api_docs/security_solution_ess.mdx | 2 +-
api_docs/security_solution_serverless.mdx | 2 +-
api_docs/serverless.mdx | 2 +-
api_docs/serverless_observability.mdx | 2 +-
api_docs/serverless_search.mdx | 2 +-
api_docs/session_view.mdx | 2 +-
api_docs/share.mdx | 2 +-
api_docs/slo.mdx | 2 +-
api_docs/snapshot_restore.mdx | 2 +-
api_docs/spaces.mdx | 2 +-
api_docs/stack_alerts.mdx | 2 +-
api_docs/stack_connectors.mdx | 2 +-
api_docs/streams.mdx | 2 +-
api_docs/task_manager.mdx | 2 +-
api_docs/telemetry.mdx | 2 +-
api_docs/telemetry_collection_manager.mdx | 2 +-
api_docs/telemetry_management_section.mdx | 2 +-
api_docs/threat_intelligence.mdx | 2 +-
api_docs/timelines.devdocs.json | 204 ++-
api_docs/timelines.mdx | 7 +-
api_docs/transform.mdx | 2 +-
api_docs/triggers_actions_ui.mdx | 2 +-
api_docs/ui_actions.mdx | 2 +-
api_docs/ui_actions_enhanced.mdx | 2 +-
api_docs/unified_doc_viewer.mdx | 2 +-
api_docs/unified_histogram.mdx | 2 +-
api_docs/unified_search.mdx | 2 +-
api_docs/unified_search_autocomplete.mdx | 2 +-
api_docs/uptime.mdx | 2 +-
api_docs/url_forwarding.mdx | 2 +-
api_docs/usage_collection.mdx | 2 +-
api_docs/ux.mdx | 2 +-
api_docs/vis_default_editor.mdx | 2 +-
api_docs/vis_type_gauge.mdx | 2 +-
api_docs/vis_type_heatmap.mdx | 2 +-
api_docs/vis_type_pie.mdx | 2 +-
api_docs/vis_type_table.mdx | 2 +-
api_docs/vis_type_timelion.mdx | 2 +-
api_docs/vis_type_timeseries.mdx | 2 +-
api_docs/vis_type_vega.mdx | 2 +-
api_docs/vis_type_vislib.mdx | 2 +-
api_docs/vis_type_xy.mdx | 2 +-
api_docs/visualizations.mdx | 2 +-
792 files changed, 3187 insertions(+), 910 deletions(-)
create mode 100644 api_docs/kbn_core_http_server_utils.devdocs.json
create mode 100644 api_docs/kbn_core_http_server_utils.mdx
create mode 100644 api_docs/search_navigation.devdocs.json
create mode 100644 api_docs/search_navigation.mdx
diff --git a/api_docs/actions.mdx b/api_docs/actions.mdx
index c46307e899555..2de9842a90caf 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-11-22
+date: 2024-11-23
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 3c758b28e1621..2fe16bd9dc064 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-11-22
+date: 2024-11-23
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 1f9bbdc82eafe..d72c4bbe777b0 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-11-22
+date: 2024-11-23
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 1b86116b3a61c..1f8423a67f0ec 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-11-22
+date: 2024-11-23
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 824a897b7edbb..ef1bb1bbff2d3 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-11-22
+date: 2024-11-23
tags: ['contributor', 'dev', 'apidocs', 'kibana', 'alerting']
---
import alertingObj from './alerting.devdocs.json';
diff --git a/api_docs/apm.mdx b/api_docs/apm.mdx
index 3fd196f6a3ea1..77c1e8b9c4221 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-11-22
+date: 2024-11-23
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 70d67751d9f52..bc70c83c44a45 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-11-22
+date: 2024-11-23
tags: ['contributor', 'dev', 'apidocs', 'kibana', 'apmDataAccess']
---
import apmDataAccessObj from './apm_data_access.devdocs.json';
diff --git a/api_docs/banners.mdx b/api_docs/banners.mdx
index c4f3b9492fcd2..c6b70c174c5e9 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-11-22
+date: 2024-11-23
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 5354ef0b591ba..84077417dde6e 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-11-22
+date: 2024-11-23
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 a012f754c98f6..4c86b2865f8f2 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-11-22
+date: 2024-11-23
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 279f5f92bc770..cd5073777d5e8 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-11-22
+date: 2024-11-23
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 c45e0a8dead2c..59573c9c46534 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-11-22
+date: 2024-11-23
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 32379e22a8fbd..ce22abe82430a 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-11-22
+date: 2024-11-23
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 000e9143be76f..6a1a92aaa53cd 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-11-22
+date: 2024-11-23
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 54adbbaddee54..f23adca3af9ad 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-11-22
+date: 2024-11-23
tags: ['contributor', 'dev', 'apidocs', 'kibana', 'cloudDefend']
---
import cloudDefendObj from './cloud_defend.devdocs.json';
diff --git a/api_docs/cloud_security_posture.mdx b/api_docs/cloud_security_posture.mdx
index 82a7ab678f338..6dfde72b5109c 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-11-22
+date: 2024-11-23
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 ca5595652c622..3e4cf813bc43c 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-11-22
+date: 2024-11-23
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 baec4a847cbee..05c6205a528e4 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-11-22
+date: 2024-11-23
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 ed65a57c45b84..636fcb8435914 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-11-22
+date: 2024-11-23
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 168097f888727..4f7f01042031d 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-11-22
+date: 2024-11-23
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 896f30264a98d..0660af730b1c3 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-11-22
+date: 2024-11-23
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 39ff8a3aed26d..c7141fd4cc0d0 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-11-22
+date: 2024-11-23
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 06c3e8522b3bd..94c336fce9e58 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-11-22
+date: 2024-11-23
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 041afddaca06d..6a8e27093d896 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-11-22
+date: 2024-11-23
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 ba24c3db6c879..8d9f86d84d380 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-11-22
+date: 2024-11-23
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 52bf12c0a388b..f58dbf1de8ee3 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-11-22
+date: 2024-11-23
tags: ['contributor', 'dev', 'apidocs', 'kibana', 'data.search']
---
import dataSearchObj from './data_search.devdocs.json';
diff --git a/api_docs/data_usage.devdocs.json b/api_docs/data_usage.devdocs.json
index 09fcffd5c58eb..fa0dd73eb8c27 100644
--- a/api_docs/data_usage.devdocs.json
+++ b/api_docs/data_usage.devdocs.json
@@ -88,7 +88,7 @@
"signature": [
"\"/api/data_usage/\""
],
- "path": "x-pack/plugins/data_usage/common/index.ts",
+ "path": "x-pack/plugins/data_usage/common/constants.ts",
"deprecated": false,
"trackAdoption": false,
"initialIsOpen": false
@@ -100,7 +100,7 @@
"tags": [],
"label": "DATA_USAGE_DATA_STREAMS_API_ROUTE",
"description": [],
- "path": "x-pack/plugins/data_usage/common/index.ts",
+ "path": "x-pack/plugins/data_usage/common/constants.ts",
"deprecated": false,
"trackAdoption": false,
"initialIsOpen": false
@@ -112,7 +112,7 @@
"tags": [],
"label": "DATA_USAGE_METRICS_API_ROUTE",
"description": [],
- "path": "x-pack/plugins/data_usage/common/index.ts",
+ "path": "x-pack/plugins/data_usage/common/constants.ts",
"deprecated": false,
"trackAdoption": false,
"initialIsOpen": false
@@ -127,7 +127,7 @@
"signature": [
"50"
],
- "path": "x-pack/plugins/data_usage/common/index.ts",
+ "path": "x-pack/plugins/data_usage/common/constants.ts",
"deprecated": false,
"trackAdoption": false,
"initialIsOpen": false
@@ -142,19 +142,7 @@
"signature": [
"\"data_usage\""
],
- "path": "x-pack/plugins/data_usage/common/index.ts",
- "deprecated": false,
- "trackAdoption": false,
- "initialIsOpen": false
- },
- {
- "parentPluginId": "dataUsage",
- "id": "def-common.PLUGIN_NAME",
- "type": "string",
- "tags": [],
- "label": "PLUGIN_NAME",
- "description": [],
- "path": "x-pack/plugins/data_usage/common/index.ts",
+ "path": "x-pack/plugins/data_usage/common/constants.ts",
"deprecated": false,
"trackAdoption": false,
"initialIsOpen": false
diff --git a/api_docs/data_usage.mdx b/api_docs/data_usage.mdx
index 3e2caf4ea20f7..1eac24bd281e3 100644
--- a/api_docs/data_usage.mdx
+++ b/api_docs/data_usage.mdx
@@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/dataUsage
title: "dataUsage"
image: https://source.unsplash.com/400x175/?github
description: API docs for the dataUsage plugin
-date: 2024-11-22
+date: 2024-11-23
tags: ['contributor', 'dev', 'apidocs', 'kibana', 'dataUsage']
---
import dataUsageObj from './data_usage.devdocs.json';
@@ -21,7 +21,7 @@ Contact [@elastic/obs-ai-assistant](https://github.com/orgs/elastic/teams/obs-ai
| Public API count | Any count | Items lacking comments | Missing exports |
|-------------------|-----------|------------------------|-----------------|
-| 10 | 0 | 10 | 0 |
+| 9 | 0 | 9 | 0 |
## Client
diff --git a/api_docs/data_view_editor.mdx b/api_docs/data_view_editor.mdx
index eda90bd90b1ae..cd48e8825e5f9 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-11-22
+date: 2024-11-23
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 a40a06de84f75..b6179080b4b31 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-11-22
+date: 2024-11-23
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 d611d8e1d6c48..7710e040d2c9c 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-11-22
+date: 2024-11-23
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 17af467c336c4..2db8e5ec94763 100644
--- a/api_docs/data_views.devdocs.json
+++ b/api_docs/data_views.devdocs.json
@@ -14202,10 +14202,6 @@
"plugin": "securitySolution",
"path": "x-pack/plugins/security_solution/public/sourcerer/containers/create_sourcerer_data_view.ts"
},
- {
- "plugin": "securitySolution",
- "path": "x-pack/plugins/security_solution/public/detection_engine/rule_creation_ui/components/eql_query_bar/validators.ts"
- },
{
"plugin": "timelines",
"path": "x-pack/plugins/timelines/server/search_strategy/index_fields/index.ts"
diff --git a/api_docs/data_views.mdx b/api_docs/data_views.mdx
index e3b18891387da..c20498315eb04 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-11-22
+date: 2024-11-23
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 10b17f6cb009b..3ce8fb25b84ca 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-11-22
+date: 2024-11-23
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 8b5a77fa9f8ba..ccf37a02643db 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-11-22
+date: 2024-11-23
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 93404d07f9595..d57e382a484fb 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-11-22
+date: 2024-11-23
tags: ['contributor', 'dev', 'apidocs', 'kibana']
---
diff --git a/api_docs/deprecations_by_plugin.mdx b/api_docs/deprecations_by_plugin.mdx
index 0afb9d9eeaefa..2f67cddd362ea 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-11-22
+date: 2024-11-23
tags: ['contributor', 'dev', 'apidocs', 'kibana']
---
@@ -1328,7 +1328,7 @@ migrates to using the Kibana Privilege model: https://github.com/elastic/kibana/
| | [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) | - |
| | [api.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/security_solution/public/common/hooks/eql/api.ts#:~:text=options) | - |
-| | [create_sourcerer_data_view.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/security_solution/public/sourcerer/containers/create_sourcerer_data_view.ts#:~:text=title), [create_sourcerer_data_view.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/security_solution/public/sourcerer/containers/create_sourcerer_data_view.ts#:~:text=title), [create_sourcerer_data_view.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/security_solution/public/sourcerer/containers/create_sourcerer_data_view.ts#:~:text=title), [validators.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/security_solution/public/detection_engine/rule_creation_ui/components/eql_query_bar/validators.ts#:~:text=title) | - |
+| | [create_sourcerer_data_view.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/security_solution/public/sourcerer/containers/create_sourcerer_data_view.ts#:~:text=title), [create_sourcerer_data_view.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/security_solution/public/sourcerer/containers/create_sourcerer_data_view.ts#:~:text=title), [create_sourcerer_data_view.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/security_solution/public/sourcerer/containers/create_sourcerer_data_view.ts#:~:text=title) | - |
| | [fleet_services.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/security_solution/scripts/endpoint/common/fleet_services.ts#:~:text=policy_id), [fleet_services.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/security_solution/scripts/endpoint/common/fleet_services.ts#:~:text=policy_id), [endpoint_metadata_service.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/security_solution/server/endpoint/services/metadata/endpoint_metadata_service.test.ts#:~:text=policy_id), [endpoint_package_policies.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/security_solution/server/endpoint/routes/metadata/support/endpoint_package_policies.test.ts#:~:text=policy_id), [index.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/security_solution/public/management/pages/policy/store/policy_details/index.test.ts#:~:text=policy_id) | - |
| | [fleet_services.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/security_solution/scripts/endpoint/common/fleet_services.ts#:~:text=policy_id), [fleet_services.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/security_solution/scripts/endpoint/common/fleet_services.ts#:~:text=policy_id), [endpoint_metadata_service.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/security_solution/server/endpoint/services/metadata/endpoint_metadata_service.test.ts#:~:text=policy_id), [endpoint_package_policies.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/security_solution/server/endpoint/routes/metadata/support/endpoint_package_policies.test.ts#:~:text=policy_id), [index.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/security_solution/public/management/pages/policy/store/policy_details/index.test.ts#:~:text=policy_id) | - |
| | [policy_config.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/security_solution/common/license/policy_config.test.ts#:~:text=mode), [policy_config.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/security_solution/common/license/policy_config.test.ts#:~:text=mode), [policy_config.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/security_solution/common/license/policy_config.test.ts#:~:text=mode), [fleet_integration.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/security_solution/server/fleet_integration/fleet_integration.test.ts#:~:text=mode), [fleet_integration.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/security_solution/server/fleet_integration/fleet_integration.test.ts#:~:text=mode), [create_default_policy.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/security_solution/server/fleet_integration/handlers/create_default_policy.test.ts#:~:text=mode), [create_default_policy.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/security_solution/server/fleet_integration/handlers/create_default_policy.test.ts#:~:text=mode), [license_watch.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/security_solution/server/endpoint/lib/policy/license_watch.test.ts#:~:text=mode), [license_watch.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/security_solution/server/endpoint/lib/policy/license_watch.test.ts#:~:text=mode), [license_watch.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/security_solution/server/endpoint/lib/policy/license_watch.test.ts#:~:text=mode)+ 7 more | 8.8.0 |
diff --git a/api_docs/deprecations_by_team.mdx b/api_docs/deprecations_by_team.mdx
index f6fb16069c438..829ba875d1e72 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-11-22
+date: 2024-11-23
tags: ['contributor', 'dev', 'apidocs', 'kibana']
---
diff --git a/api_docs/dev_tools.mdx b/api_docs/dev_tools.mdx
index 014e3b9577291..4ab3d0217e269 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-11-22
+date: 2024-11-23
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 e51f0efbca904..f08f73d3ac893 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-11-22
+date: 2024-11-23
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 8f33990a5cb6a..8a93c5fa93283 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-11-22
+date: 2024-11-23
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 5625ea4ce73a1..d26c5d48892e2 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-11-22
+date: 2024-11-23
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 a89da9995ee88..81848ddabefa0 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-11-22
+date: 2024-11-23
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 67ebc7fedb139..bc47f563f880d 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-11-22
+date: 2024-11-23
tags: ['contributor', 'dev', 'apidocs', 'kibana', 'elasticAssistant']
---
import elasticAssistantObj from './elastic_assistant.devdocs.json';
diff --git a/api_docs/embeddable.mdx b/api_docs/embeddable.mdx
index cb4b3c4bad40d..87b8021dab999 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-11-22
+date: 2024-11-23
tags: ['contributor', 'dev', 'apidocs', 'kibana', 'embeddable']
---
import embeddableObj from './embeddable.devdocs.json';
diff --git a/api_docs/embeddable_enhanced.mdx b/api_docs/embeddable_enhanced.mdx
index e7c8c82ff0292..7e2be87068249 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-11-22
+date: 2024-11-23
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 acb4cefaddec0..13224e8a9af43 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-11-22
+date: 2024-11-23
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 e7a15f22d30a5..93eeb38d8d9bf 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-11-22
+date: 2024-11-23
tags: ['contributor', 'dev', 'apidocs', 'kibana', 'enterpriseSearch']
---
import enterpriseSearchObj from './enterprise_search.devdocs.json';
diff --git a/api_docs/entities_data_access.mdx b/api_docs/entities_data_access.mdx
index d3dc9b4f8bf3f..4cbcc5e683b9b 100644
--- a/api_docs/entities_data_access.mdx
+++ b/api_docs/entities_data_access.mdx
@@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/entitiesDataAccess
title: "entitiesDataAccess"
image: https://source.unsplash.com/400x175/?github
description: API docs for the entitiesDataAccess plugin
-date: 2024-11-22
+date: 2024-11-23
tags: ['contributor', 'dev', 'apidocs', 'kibana', 'entitiesDataAccess']
---
import entitiesDataAccessObj from './entities_data_access.devdocs.json';
diff --git a/api_docs/entity_manager.devdocs.json b/api_docs/entity_manager.devdocs.json
index a3f5fff48eb99..7f11685ebce83 100644
--- a/api_docs/entity_manager.devdocs.json
+++ b/api_docs/entity_manager.devdocs.json
@@ -2,6 +2,1121 @@
"id": "entityManager",
"client": {
"classes": [
+ {
+ "parentPluginId": "entityManager",
+ "id": "def-public.EntityClient",
+ "type": "Class",
+ "tags": [],
+ "label": "EntityClient",
+ "description": [],
+ "path": "x-pack/plugins/entity_manager/public/lib/entity_client.ts",
+ "deprecated": false,
+ "trackAdoption": false,
+ "children": [
+ {
+ "parentPluginId": "entityManager",
+ "id": "def-public.EntityClient.repositoryClient",
+ "type": "Function",
+ "tags": [],
+ "label": "repositoryClient",
+ "description": [],
+ "signature": [
+ "(endpoint: TEndpoint, ...args: MaybeOptionalArgs<",
+ {
+ "pluginId": "@kbn/server-route-repository-utils",
+ "scope": "common",
+ "docId": "kibKbnServerRouteRepositoryUtilsPluginApi",
+ "section": "def-common.ClientRequestParamsOf",
+ "text": "ClientRequestParamsOf"
+ },
+ "<{ \"POST /internal/entities/v2/_search/preview\": ",
+ {
+ "pluginId": "@kbn/server-route-repository-utils",
+ "scope": "common",
+ "docId": "kibKbnServerRouteRepositoryUtilsPluginApi",
+ "section": "def-common.ServerRoute",
+ "text": "ServerRoute"
+ },
+ "<\"POST /internal/entities/v2/_search/preview\", Zod.ZodObject<{ body: Zod.ZodObject<{ sources: Zod.ZodArray>; index_patterns: Zod.ZodArray; identity_fields: Zod.ZodArray; metadata_fields: Zod.ZodArray; filters: Zod.ZodArray; }, \"strip\", Zod.ZodTypeAny, { type: string; filters: string[]; timestamp_field: string; metadata_fields: string[]; index_patterns: string[]; identity_fields: string[]; }, { type: string; filters: string[]; metadata_fields: string[]; index_patterns: string[]; identity_fields: string[]; timestamp_field?: string | undefined; }>, \"many\">; start: Zod.ZodEffects>, string, string | undefined>; end: Zod.ZodEffects>, string, string | undefined>; limit: Zod.ZodDefault>; }, \"strip\", Zod.ZodTypeAny, { start: string; end: string; sources: { type: string; filters: string[]; timestamp_field: string; metadata_fields: string[]; index_patterns: string[]; identity_fields: string[]; }[]; limit: number; }, { sources: { type: string; filters: string[]; metadata_fields: string[]; index_patterns: string[]; identity_fields: string[]; timestamp_field?: string | undefined; }[]; start?: string | undefined; end?: string | undefined; limit?: number | undefined; }>; }, \"strip\", Zod.ZodTypeAny, { body: { start: string; end: string; sources: { type: string; filters: string[]; timestamp_field: string; metadata_fields: string[]; index_patterns: string[]; identity_fields: string[]; }[]; limit: number; }; }, { body: { sources: { type: string; filters: string[]; metadata_fields: string[]; index_patterns: string[]; identity_fields: string[]; timestamp_field?: string | undefined; }[]; start?: string | undefined; end?: string | undefined; limit?: number | undefined; }; }>, ",
+ "EntityManagerRouteHandlerResources",
+ ", ",
+ {
+ "pluginId": "@kbn/core-http-server",
+ "scope": "server",
+ "docId": "kibKbnCoreHttpServerPluginApi",
+ "section": "def-server.IKibanaResponse",
+ "text": "IKibanaResponse"
+ },
+ "<{ entities: ",
+ {
+ "pluginId": "@kbn/entities-schema",
+ "scope": "common",
+ "docId": "kibKbnEntitiesSchemaPluginApi",
+ "section": "def-common.EntityV2",
+ "text": "EntityV2"
+ },
+ "[]; }>, ",
+ {
+ "pluginId": "@kbn/server-route-repository-utils",
+ "scope": "common",
+ "docId": "kibKbnServerRouteRepositoryUtilsPluginApi",
+ "section": "def-common.DefaultRouteCreateOptions",
+ "text": "DefaultRouteCreateOptions"
+ },
+ ">; \"POST /internal/entities/v2/_search\": ",
+ {
+ "pluginId": "@kbn/server-route-repository-utils",
+ "scope": "common",
+ "docId": "kibKbnServerRouteRepositoryUtilsPluginApi",
+ "section": "def-common.ServerRoute",
+ "text": "ServerRoute"
+ },
+ "<\"POST /internal/entities/v2/_search\", Zod.ZodObject<{ body: Zod.ZodObject<{ type: Zod.ZodString; metadata_fields: Zod.ZodDefault>>; filters: Zod.ZodDefault>>; start: Zod.ZodEffects>, string, string | undefined>; end: Zod.ZodEffects>, string, string | undefined>; limit: Zod.ZodDefault>; }, \"strip\", Zod.ZodTypeAny, { type: string; start: string; end: string; filters: string[]; limit: number; metadata_fields: string[]; }, { type: string; start?: string | undefined; end?: string | undefined; filters?: string[] | undefined; limit?: number | undefined; metadata_fields?: string[] | undefined; }>; }, \"strip\", Zod.ZodTypeAny, { body: { type: string; start: string; end: string; filters: string[]; limit: number; metadata_fields: string[]; }; }, { body: { type: string; start?: string | undefined; end?: string | undefined; filters?: string[] | undefined; limit?: number | undefined; metadata_fields?: string[] | undefined; }; }>, ",
+ "EntityManagerRouteHandlerResources",
+ ", ",
+ {
+ "pluginId": "@kbn/core-http-server",
+ "scope": "server",
+ "docId": "kibKbnCoreHttpServerPluginApi",
+ "section": "def-server.IKibanaResponse",
+ "text": "IKibanaResponse"
+ },
+ ", ",
+ {
+ "pluginId": "@kbn/server-route-repository-utils",
+ "scope": "common",
+ "docId": "kibKbnServerRouteRepositoryUtilsPluginApi",
+ "section": "def-common.DefaultRouteCreateOptions",
+ "text": "DefaultRouteCreateOptions"
+ },
+ ">; \"PATCH /internal/entities/definition/{id}\": ",
+ {
+ "pluginId": "@kbn/server-route-repository-utils",
+ "scope": "common",
+ "docId": "kibKbnServerRouteRepositoryUtilsPluginApi",
+ "section": "def-common.ServerRoute",
+ "text": "ServerRoute"
+ },
+ "<\"PATCH /internal/entities/definition/{id}\", Zod.ZodObject<{ path: Zod.ZodObject<{ id: Zod.ZodString; }, \"strip\", Zod.ZodTypeAny, { id: string; }, { id: string; }>; body: Zod.ZodObject; filter: Zod.ZodOptional>; version: Zod.ZodOptional>; name: Zod.ZodOptional; description: Zod.ZodOptional>; metrics: Zod.ZodOptional; field: Zod.ZodString; filter: Zod.ZodOptional; }, \"strip\", Zod.ZodTypeAny, { name: string; field: string; aggregation: ",
+ {
+ "pluginId": "@kbn/entities-schema",
+ "scope": "common",
+ "docId": "kibKbnEntitiesSchemaPluginApi",
+ "section": "def-common.BasicAggregations",
+ "text": "BasicAggregations"
+ },
+ "; filter?: string | undefined; }, { name: string; field: string; aggregation: ",
+ {
+ "pluginId": "@kbn/entities-schema",
+ "scope": "common",
+ "docId": "kibKbnEntitiesSchemaPluginApi",
+ "section": "def-common.BasicAggregations",
+ "text": "BasicAggregations"
+ },
+ "; filter?: string | undefined; }>, Zod.ZodObject<{ name: Zod.ZodString; aggregation: Zod.ZodLiteral<\"doc_count\">; filter: Zod.ZodOptional; }, \"strip\", Zod.ZodTypeAny, { name: string; aggregation: \"doc_count\"; filter?: string | undefined; }, { name: string; aggregation: \"doc_count\"; filter?: string | undefined; }>, Zod.ZodObject<{ name: Zod.ZodString; aggregation: Zod.ZodLiteral<\"percentile\">; field: Zod.ZodString; percentile: Zod.ZodNumber; filter: Zod.ZodOptional; }, \"strip\", Zod.ZodTypeAny, { name: string; field: string; percentile: number; aggregation: \"percentile\"; filter?: string | undefined; }, { name: string; field: string; percentile: number; aggregation: \"percentile\"; filter?: string | undefined; }>]>, \"many\">; equation: Zod.ZodString; }, \"strip\", Zod.ZodTypeAny, { name: string; metrics: ({ name: string; field: string; aggregation: ",
+ {
+ "pluginId": "@kbn/entities-schema",
+ "scope": "common",
+ "docId": "kibKbnEntitiesSchemaPluginApi",
+ "section": "def-common.BasicAggregations",
+ "text": "BasicAggregations"
+ },
+ "; filter?: string | undefined; } | { name: string; aggregation: \"doc_count\"; filter?: string | undefined; } | { name: string; field: string; percentile: number; aggregation: \"percentile\"; filter?: string | undefined; })[]; equation: string; }, { name: string; metrics: ({ name: string; field: string; aggregation: ",
+ {
+ "pluginId": "@kbn/entities-schema",
+ "scope": "common",
+ "docId": "kibKbnEntitiesSchemaPluginApi",
+ "section": "def-common.BasicAggregations",
+ "text": "BasicAggregations"
+ },
+ "; filter?: string | undefined; } | { name: string; aggregation: \"doc_count\"; filter?: string | undefined; } | { name: string; field: string; percentile: number; aggregation: \"percentile\"; filter?: string | undefined; })[]; equation: string; }>, \"many\">>>; indexPatterns: Zod.ZodOptional>; metadata: Zod.ZodOptional; aggregation: Zod.ZodDefault; limit: Zod.ZodDefault; lookbackPeriod: Zod.ZodOptional; }, \"strip\", Zod.ZodTypeAny, { type: \"terms\"; limit: number; lookbackPeriod?: string | undefined; }, { type: \"terms\"; limit?: number | undefined; lookbackPeriod?: string | undefined; }>, Zod.ZodObject<{ type: Zod.ZodLiteral<\"top_value\">; sort: Zod.ZodRecord, Zod.ZodLiteral<\"desc\">]>>; lookbackPeriod: Zod.ZodOptional; }, \"strip\", Zod.ZodTypeAny, { type: \"top_value\"; sort: Record; lookbackPeriod?: string | undefined; }, { type: \"top_value\"; sort: Record; lookbackPeriod?: string | undefined; }>]>>>; }, \"strip\", Zod.ZodTypeAny, { source: string; aggregation: { type: \"terms\"; limit: number; lookbackPeriod?: string | undefined; } | { type: \"top_value\"; sort: Record; lookbackPeriod?: string | undefined; }; destination?: string | undefined; }, { source: string; destination?: string | undefined; aggregation?: { type: \"terms\"; limit?: number | undefined; lookbackPeriod?: string | undefined; } | { type: \"top_value\"; sort: Record; lookbackPeriod?: string | undefined; } | undefined; }>, Zod.ZodEffects]>, { destination: string; source: string; aggregation: { type: \"terms\"; limit: number; lookbackPeriod?: string | undefined; } | { type: \"top_value\"; sort: Record; lookbackPeriod?: string | undefined; }; } | { destination: string; source: string; aggregation: { type: \"terms\"; limit: number; lookbackPeriod: undefined; }; }, string | { source: string; destination?: string | undefined; aggregation?: { type: \"terms\"; limit?: number | undefined; lookbackPeriod?: string | undefined; } | { type: \"top_value\"; sort: Record; lookbackPeriod?: string | undefined; } | undefined; }>, { destination: string; source: string; aggregation: { type: \"terms\"; limit: number; lookbackPeriod?: string | undefined; } | { type: \"top_value\"; sort: Record; lookbackPeriod?: string | undefined; }; } | { destination: string; source: string; aggregation: { type: \"terms\"; limit: number; lookbackPeriod: undefined; }; }, string | { source: string; destination?: string | undefined; aggregation?: { type: \"terms\"; limit?: number | undefined; lookbackPeriod?: string | undefined; } | { type: \"top_value\"; sort: Record; lookbackPeriod?: string | undefined; } | undefined; }>, \"many\">>>; identityFields: Zod.ZodOptional; }, \"strip\", Zod.ZodTypeAny, { field: string; optional: false; }, { field: string; optional: false; }>, Zod.ZodEffects]>, \"many\">>; displayNameTemplate: Zod.ZodOptional; staticFields: Zod.ZodOptional>>; latest: Zod.ZodOptional>; settings: Zod.ZodOptional; syncDelay: Zod.ZodOptional; frequency: Zod.ZodOptional; }, \"strip\", Zod.ZodTypeAny, { frequency?: string | undefined; syncField?: string | undefined; syncDelay?: string | undefined; }, { frequency?: string | undefined; syncField?: string | undefined; syncDelay?: string | undefined; }>>; }, \"strip\", Zod.ZodTypeAny, { lookbackPeriod: string; timestampField: string; settings?: { frequency?: string | undefined; syncField?: string | undefined; syncDelay?: string | undefined; } | undefined; }, { timestampField: string; settings?: { frequency?: string | undefined; syncField?: string | undefined; syncDelay?: string | undefined; } | undefined; lookbackPeriod?: string | undefined; }>>; installedComponents: Zod.ZodOptional, Zod.ZodLiteral<\"ingest_pipeline\">, Zod.ZodLiteral<\"template\">]>; id: Zod.ZodString; }, \"strip\", Zod.ZodTypeAny, { id: string; type: \"transform\" | \"template\" | \"ingest_pipeline\"; }, { id: string; type: \"transform\" | \"template\" | \"ingest_pipeline\"; }>, \"many\">>>; }, { latest: Zod.ZodOptional; lookbackPeriod: Zod.ZodOptional>>; settings: Zod.ZodOptional; syncDelay: Zod.ZodOptional; frequency: Zod.ZodOptional; }, \"strip\", Zod.ZodTypeAny, { frequency?: string | undefined; syncField?: string | undefined; syncDelay?: string | undefined; }, { frequency?: string | undefined; syncField?: string | undefined; syncDelay?: string | undefined; }>>>; }, \"strip\", Zod.ZodTypeAny, { settings?: { frequency?: string | undefined; syncField?: string | undefined; syncDelay?: string | undefined; } | undefined; lookbackPeriod?: string | undefined; timestampField?: string | undefined; }, { settings?: { frequency?: string | undefined; syncField?: string | undefined; syncDelay?: string | undefined; } | undefined; lookbackPeriod?: string | undefined; timestampField?: string | undefined; }>>; version: Zod.ZodEffects; }>, \"strip\", Zod.ZodTypeAny, { version: string; type?: string | undefined; filter?: string | undefined; name?: string | undefined; description?: string | undefined; metrics?: { name: string; metrics: ({ name: string; field: string; aggregation: ",
+ {
+ "pluginId": "@kbn/entities-schema",
+ "scope": "common",
+ "docId": "kibKbnEntitiesSchemaPluginApi",
+ "section": "def-common.BasicAggregations",
+ "text": "BasicAggregations"
+ },
+ "; filter?: string | undefined; } | { name: string; aggregation: \"doc_count\"; filter?: string | undefined; } | { name: string; field: string; percentile: number; aggregation: \"percentile\"; filter?: string | undefined; })[]; equation: string; }[] | undefined; indexPatterns?: string[] | undefined; metadata?: ({ destination: string; source: string; aggregation: { type: \"terms\"; limit: number; lookbackPeriod?: string | undefined; } | { type: \"top_value\"; sort: Record; lookbackPeriod?: string | undefined; }; } | { destination: string; source: string; aggregation: { type: \"terms\"; limit: number; lookbackPeriod: undefined; }; })[] | undefined; identityFields?: ({ field: string; optional: false; } | { field: string; optional: boolean; })[] | undefined; displayNameTemplate?: string | undefined; staticFields?: Record | undefined; latest?: { settings?: { frequency?: string | undefined; syncField?: string | undefined; syncDelay?: string | undefined; } | undefined; lookbackPeriod?: string | undefined; timestampField?: string | undefined; } | undefined; installedComponents?: { id: string; type: \"transform\" | \"template\" | \"ingest_pipeline\"; }[] | undefined; }, { version: string; type?: string | undefined; filter?: string | undefined; name?: string | undefined; description?: string | undefined; metrics?: { name: string; metrics: ({ name: string; field: string; aggregation: ",
+ {
+ "pluginId": "@kbn/entities-schema",
+ "scope": "common",
+ "docId": "kibKbnEntitiesSchemaPluginApi",
+ "section": "def-common.BasicAggregations",
+ "text": "BasicAggregations"
+ },
+ "; filter?: string | undefined; } | { name: string; aggregation: \"doc_count\"; filter?: string | undefined; } | { name: string; field: string; percentile: number; aggregation: \"percentile\"; filter?: string | undefined; })[]; equation: string; }[] | undefined; indexPatterns?: string[] | undefined; metadata?: (string | { source: string; destination?: string | undefined; aggregation?: { type: \"terms\"; limit?: number | undefined; lookbackPeriod?: string | undefined; } | { type: \"top_value\"; sort: Record; lookbackPeriod?: string | undefined; } | undefined; })[] | undefined; identityFields?: (string | { field: string; optional: false; })[] | undefined; displayNameTemplate?: string | undefined; staticFields?: Record | undefined; latest?: { settings?: { frequency?: string | undefined; syncField?: string | undefined; syncDelay?: string | undefined; } | undefined; lookbackPeriod?: string | undefined; timestampField?: string | undefined; } | undefined; installedComponents?: { id: string; type: \"transform\" | \"template\" | \"ingest_pipeline\"; }[] | undefined; }>; }, \"strip\", Zod.ZodTypeAny, { path: { id: string; }; body: { version: string; type?: string | undefined; filter?: string | undefined; name?: string | undefined; description?: string | undefined; metrics?: { name: string; metrics: ({ name: string; field: string; aggregation: ",
+ {
+ "pluginId": "@kbn/entities-schema",
+ "scope": "common",
+ "docId": "kibKbnEntitiesSchemaPluginApi",
+ "section": "def-common.BasicAggregations",
+ "text": "BasicAggregations"
+ },
+ "; filter?: string | undefined; } | { name: string; aggregation: \"doc_count\"; filter?: string | undefined; } | { name: string; field: string; percentile: number; aggregation: \"percentile\"; filter?: string | undefined; })[]; equation: string; }[] | undefined; indexPatterns?: string[] | undefined; metadata?: ({ destination: string; source: string; aggregation: { type: \"terms\"; limit: number; lookbackPeriod?: string | undefined; } | { type: \"top_value\"; sort: Record; lookbackPeriod?: string | undefined; }; } | { destination: string; source: string; aggregation: { type: \"terms\"; limit: number; lookbackPeriod: undefined; }; })[] | undefined; identityFields?: ({ field: string; optional: false; } | { field: string; optional: boolean; })[] | undefined; displayNameTemplate?: string | undefined; staticFields?: Record | undefined; latest?: { settings?: { frequency?: string | undefined; syncField?: string | undefined; syncDelay?: string | undefined; } | undefined; lookbackPeriod?: string | undefined; timestampField?: string | undefined; } | undefined; installedComponents?: { id: string; type: \"transform\" | \"template\" | \"ingest_pipeline\"; }[] | undefined; }; }, { path: { id: string; }; body: { version: string; type?: string | undefined; filter?: string | undefined; name?: string | undefined; description?: string | undefined; metrics?: { name: string; metrics: ({ name: string; field: string; aggregation: ",
+ {
+ "pluginId": "@kbn/entities-schema",
+ "scope": "common",
+ "docId": "kibKbnEntitiesSchemaPluginApi",
+ "section": "def-common.BasicAggregations",
+ "text": "BasicAggregations"
+ },
+ "; filter?: string | undefined; } | { name: string; aggregation: \"doc_count\"; filter?: string | undefined; } | { name: string; field: string; percentile: number; aggregation: \"percentile\"; filter?: string | undefined; })[]; equation: string; }[] | undefined; indexPatterns?: string[] | undefined; metadata?: (string | { source: string; destination?: string | undefined; aggregation?: { type: \"terms\"; limit?: number | undefined; lookbackPeriod?: string | undefined; } | { type: \"top_value\"; sort: Record; lookbackPeriod?: string | undefined; } | undefined; })[] | undefined; identityFields?: (string | { field: string; optional: false; })[] | undefined; displayNameTemplate?: string | undefined; staticFields?: Record | undefined; latest?: { settings?: { frequency?: string | undefined; syncField?: string | undefined; syncDelay?: string | undefined; } | undefined; lookbackPeriod?: string | undefined; timestampField?: string | undefined; } | undefined; installedComponents?: { id: string; type: \"transform\" | \"template\" | \"ingest_pipeline\"; }[] | undefined; }; }>, ",
+ "EntityManagerRouteHandlerResources",
+ ", ",
+ {
+ "pluginId": "@kbn/core-http-server",
+ "scope": "server",
+ "docId": "kibKbnCoreHttpServerPluginApi",
+ "section": "def-server.IKibanaResponse",
+ "text": "IKibanaResponse"
+ },
+ ", ",
+ {
+ "pluginId": "@kbn/server-route-repository-utils",
+ "scope": "common",
+ "docId": "kibKbnServerRouteRepositoryUtilsPluginApi",
+ "section": "def-common.DefaultRouteCreateOptions",
+ "text": "DefaultRouteCreateOptions"
+ },
+ ">; \"POST /internal/entities/definition/{id}/_reset\": ",
+ {
+ "pluginId": "@kbn/server-route-repository-utils",
+ "scope": "common",
+ "docId": "kibKbnServerRouteRepositoryUtilsPluginApi",
+ "section": "def-common.ServerRoute",
+ "text": "ServerRoute"
+ },
+ "<\"POST /internal/entities/definition/{id}/_reset\", Zod.ZodObject<{ path: Zod.ZodObject<{ id: Zod.ZodString; }, \"strip\", Zod.ZodTypeAny, { id: string; }, { id: string; }>; }, \"strip\", Zod.ZodTypeAny, { path: { id: string; }; }, { path: { id: string; }; }>, ",
+ "EntityManagerRouteHandlerResources",
+ ", ",
+ {
+ "pluginId": "@kbn/core-http-server",
+ "scope": "server",
+ "docId": "kibKbnCoreHttpServerPluginApi",
+ "section": "def-server.IKibanaResponse",
+ "text": "IKibanaResponse"
+ },
+ ", ",
+ {
+ "pluginId": "@kbn/server-route-repository-utils",
+ "scope": "common",
+ "docId": "kibKbnServerRouteRepositoryUtilsPluginApi",
+ "section": "def-common.DefaultRouteCreateOptions",
+ "text": "DefaultRouteCreateOptions"
+ },
+ ">; \"GET /internal/entities/definition/{id?}\": ",
+ {
+ "pluginId": "@kbn/server-route-repository-utils",
+ "scope": "common",
+ "docId": "kibKbnServerRouteRepositoryUtilsPluginApi",
+ "section": "def-common.ServerRoute",
+ "text": "ServerRoute"
+ },
+ "<\"GET /internal/entities/definition/{id?}\", Zod.ZodObject<{ query: Zod.ZodObject<{ page: Zod.ZodOptional; perPage: Zod.ZodOptional; includeState: Zod.ZodDefault, Zod.ZodBoolean]>, boolean, boolean | \"true\" | \"false\">>>; }, \"strip\", Zod.ZodTypeAny, { includeState: boolean; page?: number | undefined; perPage?: number | undefined; }, { page?: number | undefined; perPage?: number | undefined; includeState?: boolean | \"true\" | \"false\" | undefined; }>; path: Zod.ZodObject<{ id: Zod.ZodOptional; }, \"strip\", Zod.ZodTypeAny, { id?: string | undefined; }, { id?: string | undefined; }>; }, \"strip\", Zod.ZodTypeAny, { query: { includeState: boolean; page?: number | undefined; perPage?: number | undefined; }; path: { id?: string | undefined; }; }, { query: { page?: number | undefined; perPage?: number | undefined; includeState?: boolean | \"true\" | \"false\" | undefined; }; path: { id?: string | undefined; }; }>, ",
+ "EntityManagerRouteHandlerResources",
+ ", ",
+ {
+ "pluginId": "@kbn/core-http-server",
+ "scope": "server",
+ "docId": "kibKbnCoreHttpServerPluginApi",
+ "section": "def-server.IKibanaResponse",
+ "text": "IKibanaResponse"
+ },
+ ", ",
+ {
+ "pluginId": "@kbn/server-route-repository-utils",
+ "scope": "common",
+ "docId": "kibKbnServerRouteRepositoryUtilsPluginApi",
+ "section": "def-common.DefaultRouteCreateOptions",
+ "text": "DefaultRouteCreateOptions"
+ },
+ ">; \"DELETE /internal/entities/definition/{id}\": ",
+ {
+ "pluginId": "@kbn/server-route-repository-utils",
+ "scope": "common",
+ "docId": "kibKbnServerRouteRepositoryUtilsPluginApi",
+ "section": "def-common.ServerRoute",
+ "text": "ServerRoute"
+ },
+ "<\"DELETE /internal/entities/definition/{id}\", Zod.ZodObject<{ path: Zod.ZodObject<{ id: Zod.ZodString; }, \"strip\", Zod.ZodTypeAny, { id: string; }, { id: string; }>; query: Zod.ZodObject<{ deleteData: Zod.ZodDefault, Zod.ZodBoolean]>, boolean, boolean | \"true\" | \"false\">>>; }, \"strip\", Zod.ZodTypeAny, { deleteData: boolean; }, { deleteData?: boolean | \"true\" | \"false\" | undefined; }>; }, \"strip\", Zod.ZodTypeAny, { query: { deleteData: boolean; }; path: { id: string; }; }, { query: { deleteData?: boolean | \"true\" | \"false\" | undefined; }; path: { id: string; }; }>, ",
+ "EntityManagerRouteHandlerResources",
+ ", ",
+ {
+ "pluginId": "@kbn/core-http-server",
+ "scope": "server",
+ "docId": "kibKbnCoreHttpServerPluginApi",
+ "section": "def-server.IKibanaResponse",
+ "text": "IKibanaResponse"
+ },
+ ", ",
+ {
+ "pluginId": "@kbn/server-route-repository-utils",
+ "scope": "common",
+ "docId": "kibKbnServerRouteRepositoryUtilsPluginApi",
+ "section": "def-common.DefaultRouteCreateOptions",
+ "text": "DefaultRouteCreateOptions"
+ },
+ ">; \"POST /internal/entities/definition\": ",
+ {
+ "pluginId": "@kbn/server-route-repository-utils",
+ "scope": "common",
+ "docId": "kibKbnServerRouteRepositoryUtilsPluginApi",
+ "section": "def-common.ServerRoute",
+ "text": "ServerRoute"
+ },
+ "<\"POST /internal/entities/definition\", Zod.ZodObject<{ query: Zod.ZodObject<{ installOnly: Zod.ZodDefault, Zod.ZodBoolean]>, boolean, boolean | \"true\" | \"false\">>>; }, \"strip\", Zod.ZodTypeAny, { installOnly: boolean; }, { installOnly?: boolean | \"true\" | \"false\" | undefined; }>; body: Zod.ZodObject<{ id: Zod.ZodString; version: Zod.ZodEffects; name: Zod.ZodString; description: Zod.ZodOptional; type: Zod.ZodString; filter: Zod.ZodOptional; indexPatterns: Zod.ZodArray; identityFields: Zod.ZodArray; }, \"strip\", Zod.ZodTypeAny, { field: string; optional: false; }, { field: string; optional: false; }>, Zod.ZodEffects]>, \"many\">; displayNameTemplate: Zod.ZodString; metadata: Zod.ZodOptional; aggregation: Zod.ZodDefault; limit: Zod.ZodDefault; lookbackPeriod: Zod.ZodOptional; }, \"strip\", Zod.ZodTypeAny, { type: \"terms\"; limit: number; lookbackPeriod?: string | undefined; }, { type: \"terms\"; limit?: number | undefined; lookbackPeriod?: string | undefined; }>, Zod.ZodObject<{ type: Zod.ZodLiteral<\"top_value\">; sort: Zod.ZodRecord, Zod.ZodLiteral<\"desc\">]>>; lookbackPeriod: Zod.ZodOptional; }, \"strip\", Zod.ZodTypeAny, { type: \"top_value\"; sort: Record; lookbackPeriod?: string | undefined; }, { type: \"top_value\"; sort: Record; lookbackPeriod?: string | undefined; }>]>>>; }, \"strip\", Zod.ZodTypeAny, { source: string; aggregation: { type: \"terms\"; limit: number; lookbackPeriod?: string | undefined; } | { type: \"top_value\"; sort: Record; lookbackPeriod?: string | undefined; }; destination?: string | undefined; }, { source: string; destination?: string | undefined; aggregation?: { type: \"terms\"; limit?: number | undefined; lookbackPeriod?: string | undefined; } | { type: \"top_value\"; sort: Record; lookbackPeriod?: string | undefined; } | undefined; }>, Zod.ZodEffects]>, { destination: string; source: string; aggregation: { type: \"terms\"; limit: number; lookbackPeriod?: string | undefined; } | { type: \"top_value\"; sort: Record; lookbackPeriod?: string | undefined; }; } | { destination: string; source: string; aggregation: { type: \"terms\"; limit: number; lookbackPeriod: undefined; }; }, string | { source: string; destination?: string | undefined; aggregation?: { type: \"terms\"; limit?: number | undefined; lookbackPeriod?: string | undefined; } | { type: \"top_value\"; sort: Record; lookbackPeriod?: string | undefined; } | undefined; }>, { destination: string; source: string; aggregation: { type: \"terms\"; limit: number; lookbackPeriod?: string | undefined; } | { type: \"top_value\"; sort: Record; lookbackPeriod?: string | undefined; }; } | { destination: string; source: string; aggregation: { type: \"terms\"; limit: number; lookbackPeriod: undefined; }; }, string | { source: string; destination?: string | undefined; aggregation?: { type: \"terms\"; limit?: number | undefined; lookbackPeriod?: string | undefined; } | { type: \"top_value\"; sort: Record; lookbackPeriod?: string | undefined; } | undefined; }>, \"many\">>; metrics: Zod.ZodOptional; field: Zod.ZodString; filter: Zod.ZodOptional; }, \"strip\", Zod.ZodTypeAny, { name: string; field: string; aggregation: ",
+ {
+ "pluginId": "@kbn/entities-schema",
+ "scope": "common",
+ "docId": "kibKbnEntitiesSchemaPluginApi",
+ "section": "def-common.BasicAggregations",
+ "text": "BasicAggregations"
+ },
+ "; filter?: string | undefined; }, { name: string; field: string; aggregation: ",
+ {
+ "pluginId": "@kbn/entities-schema",
+ "scope": "common",
+ "docId": "kibKbnEntitiesSchemaPluginApi",
+ "section": "def-common.BasicAggregations",
+ "text": "BasicAggregations"
+ },
+ "; filter?: string | undefined; }>, Zod.ZodObject<{ name: Zod.ZodString; aggregation: Zod.ZodLiteral<\"doc_count\">; filter: Zod.ZodOptional; }, \"strip\", Zod.ZodTypeAny, { name: string; aggregation: \"doc_count\"; filter?: string | undefined; }, { name: string; aggregation: \"doc_count\"; filter?: string | undefined; }>, Zod.ZodObject<{ name: Zod.ZodString; aggregation: Zod.ZodLiteral<\"percentile\">; field: Zod.ZodString; percentile: Zod.ZodNumber; filter: Zod.ZodOptional; }, \"strip\", Zod.ZodTypeAny, { name: string; field: string; percentile: number; aggregation: \"percentile\"; filter?: string | undefined; }, { name: string; field: string; percentile: number; aggregation: \"percentile\"; filter?: string | undefined; }>]>, \"many\">; equation: Zod.ZodString; }, \"strip\", Zod.ZodTypeAny, { name: string; metrics: ({ name: string; field: string; aggregation: ",
+ {
+ "pluginId": "@kbn/entities-schema",
+ "scope": "common",
+ "docId": "kibKbnEntitiesSchemaPluginApi",
+ "section": "def-common.BasicAggregations",
+ "text": "BasicAggregations"
+ },
+ "; filter?: string | undefined; } | { name: string; aggregation: \"doc_count\"; filter?: string | undefined; } | { name: string; field: string; percentile: number; aggregation: \"percentile\"; filter?: string | undefined; })[]; equation: string; }, { name: string; metrics: ({ name: string; field: string; aggregation: ",
+ {
+ "pluginId": "@kbn/entities-schema",
+ "scope": "common",
+ "docId": "kibKbnEntitiesSchemaPluginApi",
+ "section": "def-common.BasicAggregations",
+ "text": "BasicAggregations"
+ },
+ "; filter?: string | undefined; } | { name: string; aggregation: \"doc_count\"; filter?: string | undefined; } | { name: string; field: string; percentile: number; aggregation: \"percentile\"; filter?: string | undefined; })[]; equation: string; }>, \"many\">>; staticFields: Zod.ZodOptional>; managed: Zod.ZodDefault>; latest: Zod.ZodObject<{ timestampField: Zod.ZodString; lookbackPeriod: Zod.ZodDefault>; settings: Zod.ZodOptional; syncDelay: Zod.ZodOptional; frequency: Zod.ZodOptional; }, \"strip\", Zod.ZodTypeAny, { frequency?: string | undefined; syncField?: string | undefined; syncDelay?: string | undefined; }, { frequency?: string | undefined; syncField?: string | undefined; syncDelay?: string | undefined; }>>; }, \"strip\", Zod.ZodTypeAny, { lookbackPeriod: string; timestampField: string; settings?: { frequency?: string | undefined; syncField?: string | undefined; syncDelay?: string | undefined; } | undefined; }, { timestampField: string; settings?: { frequency?: string | undefined; syncField?: string | undefined; syncDelay?: string | undefined; } | undefined; lookbackPeriod?: string | undefined; }>; installStatus: Zod.ZodOptional, Zod.ZodLiteral<\"upgrading\">, Zod.ZodLiteral<\"installed\">, Zod.ZodLiteral<\"failed\">]>>; installStartedAt: Zod.ZodOptional; installedComponents: Zod.ZodOptional, Zod.ZodLiteral<\"ingest_pipeline\">, Zod.ZodLiteral<\"template\">]>; id: Zod.ZodString; }, \"strip\", Zod.ZodTypeAny, { id: string; type: \"transform\" | \"template\" | \"ingest_pipeline\"; }, { id: string; type: \"transform\" | \"template\" | \"ingest_pipeline\"; }>, \"many\">>; }, \"strip\", Zod.ZodTypeAny, { id: string; type: string; version: string; name: string; managed: boolean; indexPatterns: string[]; identityFields: ({ field: string; optional: false; } | { field: string; optional: boolean; })[]; displayNameTemplate: string; latest: { lookbackPeriod: string; timestampField: string; settings?: { frequency?: string | undefined; syncField?: string | undefined; syncDelay?: string | undefined; } | undefined; }; filter?: string | undefined; description?: string | undefined; metrics?: { name: string; metrics: ({ name: string; field: string; aggregation: ",
+ {
+ "pluginId": "@kbn/entities-schema",
+ "scope": "common",
+ "docId": "kibKbnEntitiesSchemaPluginApi",
+ "section": "def-common.BasicAggregations",
+ "text": "BasicAggregations"
+ },
+ "; filter?: string | undefined; } | { name: string; aggregation: \"doc_count\"; filter?: string | undefined; } | { name: string; field: string; percentile: number; aggregation: \"percentile\"; filter?: string | undefined; })[]; equation: string; }[] | undefined; metadata?: ({ destination: string; source: string; aggregation: { type: \"terms\"; limit: number; lookbackPeriod?: string | undefined; } | { type: \"top_value\"; sort: Record; lookbackPeriod?: string | undefined; }; } | { destination: string; source: string; aggregation: { type: \"terms\"; limit: number; lookbackPeriod: undefined; }; })[] | undefined; staticFields?: Record | undefined; installStatus?: \"failed\" | \"installing\" | \"upgrading\" | \"installed\" | undefined; installStartedAt?: string | undefined; installedComponents?: { id: string; type: \"transform\" | \"template\" | \"ingest_pipeline\"; }[] | undefined; }, { id: string; type: string; version: string; name: string; indexPatterns: string[]; identityFields: (string | { field: string; optional: false; })[]; displayNameTemplate: string; latest: { timestampField: string; settings?: { frequency?: string | undefined; syncField?: string | undefined; syncDelay?: string | undefined; } | undefined; lookbackPeriod?: string | undefined; }; filter?: string | undefined; description?: string | undefined; metrics?: { name: string; metrics: ({ name: string; field: string; aggregation: ",
+ {
+ "pluginId": "@kbn/entities-schema",
+ "scope": "common",
+ "docId": "kibKbnEntitiesSchemaPluginApi",
+ "section": "def-common.BasicAggregations",
+ "text": "BasicAggregations"
+ },
+ "; filter?: string | undefined; } | { name: string; aggregation: \"doc_count\"; filter?: string | undefined; } | { name: string; field: string; percentile: number; aggregation: \"percentile\"; filter?: string | undefined; })[]; equation: string; }[] | undefined; managed?: boolean | undefined; metadata?: (string | { source: string; destination?: string | undefined; aggregation?: { type: \"terms\"; limit?: number | undefined; lookbackPeriod?: string | undefined; } | { type: \"top_value\"; sort: Record; lookbackPeriod?: string | undefined; } | undefined; })[] | undefined; staticFields?: Record | undefined; installStatus?: \"failed\" | \"installing\" | \"upgrading\" | \"installed\" | undefined; installStartedAt?: string | undefined; installedComponents?: { id: string; type: \"transform\" | \"template\" | \"ingest_pipeline\"; }[] | undefined; }>; }, \"strip\", Zod.ZodTypeAny, { query: { installOnly: boolean; }; body: { id: string; type: string; version: string; name: string; managed: boolean; indexPatterns: string[]; identityFields: ({ field: string; optional: false; } | { field: string; optional: boolean; })[]; displayNameTemplate: string; latest: { lookbackPeriod: string; timestampField: string; settings?: { frequency?: string | undefined; syncField?: string | undefined; syncDelay?: string | undefined; } | undefined; }; filter?: string | undefined; description?: string | undefined; metrics?: { name: string; metrics: ({ name: string; field: string; aggregation: ",
+ {
+ "pluginId": "@kbn/entities-schema",
+ "scope": "common",
+ "docId": "kibKbnEntitiesSchemaPluginApi",
+ "section": "def-common.BasicAggregations",
+ "text": "BasicAggregations"
+ },
+ "; filter?: string | undefined; } | { name: string; aggregation: \"doc_count\"; filter?: string | undefined; } | { name: string; field: string; percentile: number; aggregation: \"percentile\"; filter?: string | undefined; })[]; equation: string; }[] | undefined; metadata?: ({ destination: string; source: string; aggregation: { type: \"terms\"; limit: number; lookbackPeriod?: string | undefined; } | { type: \"top_value\"; sort: Record; lookbackPeriod?: string | undefined; }; } | { destination: string; source: string; aggregation: { type: \"terms\"; limit: number; lookbackPeriod: undefined; }; })[] | undefined; staticFields?: Record | undefined; installStatus?: \"failed\" | \"installing\" | \"upgrading\" | \"installed\" | undefined; installStartedAt?: string | undefined; installedComponents?: { id: string; type: \"transform\" | \"template\" | \"ingest_pipeline\"; }[] | undefined; }; }, { query: { installOnly?: boolean | \"true\" | \"false\" | undefined; }; body: { id: string; type: string; version: string; name: string; indexPatterns: string[]; identityFields: (string | { field: string; optional: false; })[]; displayNameTemplate: string; latest: { timestampField: string; settings?: { frequency?: string | undefined; syncField?: string | undefined; syncDelay?: string | undefined; } | undefined; lookbackPeriod?: string | undefined; }; filter?: string | undefined; description?: string | undefined; metrics?: { name: string; metrics: ({ name: string; field: string; aggregation: ",
+ {
+ "pluginId": "@kbn/entities-schema",
+ "scope": "common",
+ "docId": "kibKbnEntitiesSchemaPluginApi",
+ "section": "def-common.BasicAggregations",
+ "text": "BasicAggregations"
+ },
+ "; filter?: string | undefined; } | { name: string; aggregation: \"doc_count\"; filter?: string | undefined; } | { name: string; field: string; percentile: number; aggregation: \"percentile\"; filter?: string | undefined; })[]; equation: string; }[] | undefined; managed?: boolean | undefined; metadata?: (string | { source: string; destination?: string | undefined; aggregation?: { type: \"terms\"; limit?: number | undefined; lookbackPeriod?: string | undefined; } | { type: \"top_value\"; sort: Record; lookbackPeriod?: string | undefined; } | undefined; })[] | undefined; staticFields?: Record | undefined; installStatus?: \"failed\" | \"installing\" | \"upgrading\" | \"installed\" | undefined; installStartedAt?: string | undefined; installedComponents?: { id: string; type: \"transform\" | \"template\" | \"ingest_pipeline\"; }[] | undefined; }; }>, ",
+ "EntityManagerRouteHandlerResources",
+ ", ",
+ {
+ "pluginId": "@kbn/core-http-server",
+ "scope": "server",
+ "docId": "kibKbnCoreHttpServerPluginApi",
+ "section": "def-server.IKibanaResponse",
+ "text": "IKibanaResponse"
+ },
+ ", ",
+ {
+ "pluginId": "@kbn/server-route-repository-utils",
+ "scope": "common",
+ "docId": "kibKbnServerRouteRepositoryUtilsPluginApi",
+ "section": "def-common.DefaultRouteCreateOptions",
+ "text": "DefaultRouteCreateOptions"
+ },
+ ">; \"DELETE /internal/entities/managed/enablement\": ",
+ {
+ "pluginId": "@kbn/server-route-repository-utils",
+ "scope": "common",
+ "docId": "kibKbnServerRouteRepositoryUtilsPluginApi",
+ "section": "def-common.ServerRoute",
+ "text": "ServerRoute"
+ },
+ "<\"DELETE /internal/entities/managed/enablement\", Zod.ZodObject<{ query: Zod.ZodObject<{ deleteData: Zod.ZodDefault, Zod.ZodBoolean]>, boolean, boolean | \"true\" | \"false\">>>; }, \"strip\", Zod.ZodTypeAny, { deleteData: boolean; }, { deleteData?: boolean | \"true\" | \"false\" | undefined; }>; }, \"strip\", Zod.ZodTypeAny, { query: { deleteData: boolean; }; }, { query: { deleteData?: boolean | \"true\" | \"false\" | undefined; }; }>, ",
+ "EntityManagerRouteHandlerResources",
+ ", ",
+ {
+ "pluginId": "@kbn/core-http-server",
+ "scope": "server",
+ "docId": "kibKbnCoreHttpServerPluginApi",
+ "section": "def-server.IKibanaResponse",
+ "text": "IKibanaResponse"
+ },
+ ", ",
+ {
+ "pluginId": "@kbn/server-route-repository-utils",
+ "scope": "common",
+ "docId": "kibKbnServerRouteRepositoryUtilsPluginApi",
+ "section": "def-common.DefaultRouteCreateOptions",
+ "text": "DefaultRouteCreateOptions"
+ },
+ ">; \"PUT /internal/entities/managed/enablement\": ",
+ {
+ "pluginId": "@kbn/server-route-repository-utils",
+ "scope": "common",
+ "docId": "kibKbnServerRouteRepositoryUtilsPluginApi",
+ "section": "def-common.ServerRoute",
+ "text": "ServerRoute"
+ },
+ "<\"PUT /internal/entities/managed/enablement\", Zod.ZodObject<{ query: Zod.ZodObject<{ installOnly: Zod.ZodDefault, Zod.ZodBoolean]>, boolean, boolean | \"true\" | \"false\">>>; }, \"strip\", Zod.ZodTypeAny, { installOnly: boolean; }, { installOnly?: boolean | \"true\" | \"false\" | undefined; }>; }, \"strip\", Zod.ZodTypeAny, { query: { installOnly: boolean; }; }, { query: { installOnly?: boolean | \"true\" | \"false\" | undefined; }; }>, ",
+ "EntityManagerRouteHandlerResources",
+ ", ",
+ {
+ "pluginId": "@kbn/core-http-server",
+ "scope": "server",
+ "docId": "kibKbnCoreHttpServerPluginApi",
+ "section": "def-server.IKibanaResponse",
+ "text": "IKibanaResponse"
+ },
+ ", ",
+ {
+ "pluginId": "@kbn/server-route-repository-utils",
+ "scope": "common",
+ "docId": "kibKbnServerRouteRepositoryUtilsPluginApi",
+ "section": "def-common.DefaultRouteCreateOptions",
+ "text": "DefaultRouteCreateOptions"
+ },
+ ">; \"GET /internal/entities/managed/enablement\": ",
+ {
+ "pluginId": "@kbn/server-route-repository-utils",
+ "scope": "common",
+ "docId": "kibKbnServerRouteRepositoryUtilsPluginApi",
+ "section": "def-common.ServerRoute",
+ "text": "ServerRoute"
+ },
+ "<\"GET /internal/entities/managed/enablement\", undefined, ",
+ "EntityManagerRouteHandlerResources",
+ ", ",
+ {
+ "pluginId": "@kbn/core-http-server",
+ "scope": "server",
+ "docId": "kibKbnCoreHttpServerPluginApi",
+ "section": "def-server.IKibanaResponse",
+ "text": "IKibanaResponse"
+ },
+ ", ",
+ {
+ "pluginId": "@kbn/server-route-repository-utils",
+ "scope": "common",
+ "docId": "kibKbnServerRouteRepositoryUtilsPluginApi",
+ "section": "def-common.DefaultRouteCreateOptions",
+ "text": "DefaultRouteCreateOptions"
+ },
+ ">; }, TEndpoint> & {}>) => Promise<",
+ {
+ "pluginId": "@kbn/server-route-repository-utils",
+ "scope": "common",
+ "docId": "kibKbnServerRouteRepositoryUtilsPluginApi",
+ "section": "def-common.ReturnOf",
+ "text": "ReturnOf"
+ },
+ "<{ \"POST /internal/entities/v2/_search/preview\": ",
+ {
+ "pluginId": "@kbn/server-route-repository-utils",
+ "scope": "common",
+ "docId": "kibKbnServerRouteRepositoryUtilsPluginApi",
+ "section": "def-common.ServerRoute",
+ "text": "ServerRoute"
+ },
+ "<\"POST /internal/entities/v2/_search/preview\", Zod.ZodObject<{ body: Zod.ZodObject<{ sources: Zod.ZodArray>; index_patterns: Zod.ZodArray; identity_fields: Zod.ZodArray; metadata_fields: Zod.ZodArray; filters: Zod.ZodArray; }, \"strip\", Zod.ZodTypeAny, { type: string; filters: string[]; timestamp_field: string; metadata_fields: string[]; index_patterns: string[]; identity_fields: string[]; }, { type: string; filters: string[]; metadata_fields: string[]; index_patterns: string[]; identity_fields: string[]; timestamp_field?: string | undefined; }>, \"many\">; start: Zod.ZodEffects>, string, string | undefined>; end: Zod.ZodEffects>, string, string | undefined>; limit: Zod.ZodDefault>; }, \"strip\", Zod.ZodTypeAny, { start: string; end: string; sources: { type: string; filters: string[]; timestamp_field: string; metadata_fields: string[]; index_patterns: string[]; identity_fields: string[]; }[]; limit: number; }, { sources: { type: string; filters: string[]; metadata_fields: string[]; index_patterns: string[]; identity_fields: string[]; timestamp_field?: string | undefined; }[]; start?: string | undefined; end?: string | undefined; limit?: number | undefined; }>; }, \"strip\", Zod.ZodTypeAny, { body: { start: string; end: string; sources: { type: string; filters: string[]; timestamp_field: string; metadata_fields: string[]; index_patterns: string[]; identity_fields: string[]; }[]; limit: number; }; }, { body: { sources: { type: string; filters: string[]; metadata_fields: string[]; index_patterns: string[]; identity_fields: string[]; timestamp_field?: string | undefined; }[]; start?: string | undefined; end?: string | undefined; limit?: number | undefined; }; }>, ",
+ "EntityManagerRouteHandlerResources",
+ ", ",
+ {
+ "pluginId": "@kbn/core-http-server",
+ "scope": "server",
+ "docId": "kibKbnCoreHttpServerPluginApi",
+ "section": "def-server.IKibanaResponse",
+ "text": "IKibanaResponse"
+ },
+ "<{ entities: ",
+ {
+ "pluginId": "@kbn/entities-schema",
+ "scope": "common",
+ "docId": "kibKbnEntitiesSchemaPluginApi",
+ "section": "def-common.EntityV2",
+ "text": "EntityV2"
+ },
+ "[]; }>, ",
+ {
+ "pluginId": "@kbn/server-route-repository-utils",
+ "scope": "common",
+ "docId": "kibKbnServerRouteRepositoryUtilsPluginApi",
+ "section": "def-common.DefaultRouteCreateOptions",
+ "text": "DefaultRouteCreateOptions"
+ },
+ ">; \"POST /internal/entities/v2/_search\": ",
+ {
+ "pluginId": "@kbn/server-route-repository-utils",
+ "scope": "common",
+ "docId": "kibKbnServerRouteRepositoryUtilsPluginApi",
+ "section": "def-common.ServerRoute",
+ "text": "ServerRoute"
+ },
+ "<\"POST /internal/entities/v2/_search\", Zod.ZodObject<{ body: Zod.ZodObject<{ type: Zod.ZodString; metadata_fields: Zod.ZodDefault>>; filters: Zod.ZodDefault>>; start: Zod.ZodEffects>, string, string | undefined>; end: Zod.ZodEffects>, string, string | undefined>; limit: Zod.ZodDefault>; }, \"strip\", Zod.ZodTypeAny, { type: string; start: string; end: string; filters: string[]; limit: number; metadata_fields: string[]; }, { type: string; start?: string | undefined; end?: string | undefined; filters?: string[] | undefined; limit?: number | undefined; metadata_fields?: string[] | undefined; }>; }, \"strip\", Zod.ZodTypeAny, { body: { type: string; start: string; end: string; filters: string[]; limit: number; metadata_fields: string[]; }; }, { body: { type: string; start?: string | undefined; end?: string | undefined; filters?: string[] | undefined; limit?: number | undefined; metadata_fields?: string[] | undefined; }; }>, ",
+ "EntityManagerRouteHandlerResources",
+ ", ",
+ {
+ "pluginId": "@kbn/core-http-server",
+ "scope": "server",
+ "docId": "kibKbnCoreHttpServerPluginApi",
+ "section": "def-server.IKibanaResponse",
+ "text": "IKibanaResponse"
+ },
+ ", ",
+ {
+ "pluginId": "@kbn/server-route-repository-utils",
+ "scope": "common",
+ "docId": "kibKbnServerRouteRepositoryUtilsPluginApi",
+ "section": "def-common.DefaultRouteCreateOptions",
+ "text": "DefaultRouteCreateOptions"
+ },
+ ">; \"PATCH /internal/entities/definition/{id}\": ",
+ {
+ "pluginId": "@kbn/server-route-repository-utils",
+ "scope": "common",
+ "docId": "kibKbnServerRouteRepositoryUtilsPluginApi",
+ "section": "def-common.ServerRoute",
+ "text": "ServerRoute"
+ },
+ "<\"PATCH /internal/entities/definition/{id}\", Zod.ZodObject<{ path: Zod.ZodObject<{ id: Zod.ZodString; }, \"strip\", Zod.ZodTypeAny, { id: string; }, { id: string; }>; body: Zod.ZodObject; filter: Zod.ZodOptional>; version: Zod.ZodOptional>; name: Zod.ZodOptional; description: Zod.ZodOptional>; metrics: Zod.ZodOptional; field: Zod.ZodString; filter: Zod.ZodOptional; }, \"strip\", Zod.ZodTypeAny, { name: string; field: string; aggregation: ",
+ {
+ "pluginId": "@kbn/entities-schema",
+ "scope": "common",
+ "docId": "kibKbnEntitiesSchemaPluginApi",
+ "section": "def-common.BasicAggregations",
+ "text": "BasicAggregations"
+ },
+ "; filter?: string | undefined; }, { name: string; field: string; aggregation: ",
+ {
+ "pluginId": "@kbn/entities-schema",
+ "scope": "common",
+ "docId": "kibKbnEntitiesSchemaPluginApi",
+ "section": "def-common.BasicAggregations",
+ "text": "BasicAggregations"
+ },
+ "; filter?: string | undefined; }>, Zod.ZodObject<{ name: Zod.ZodString; aggregation: Zod.ZodLiteral<\"doc_count\">; filter: Zod.ZodOptional; }, \"strip\", Zod.ZodTypeAny, { name: string; aggregation: \"doc_count\"; filter?: string | undefined; }, { name: string; aggregation: \"doc_count\"; filter?: string | undefined; }>, Zod.ZodObject<{ name: Zod.ZodString; aggregation: Zod.ZodLiteral<\"percentile\">; field: Zod.ZodString; percentile: Zod.ZodNumber; filter: Zod.ZodOptional; }, \"strip\", Zod.ZodTypeAny, { name: string; field: string; percentile: number; aggregation: \"percentile\"; filter?: string | undefined; }, { name: string; field: string; percentile: number; aggregation: \"percentile\"; filter?: string | undefined; }>]>, \"many\">; equation: Zod.ZodString; }, \"strip\", Zod.ZodTypeAny, { name: string; metrics: ({ name: string; field: string; aggregation: ",
+ {
+ "pluginId": "@kbn/entities-schema",
+ "scope": "common",
+ "docId": "kibKbnEntitiesSchemaPluginApi",
+ "section": "def-common.BasicAggregations",
+ "text": "BasicAggregations"
+ },
+ "; filter?: string | undefined; } | { name: string; aggregation: \"doc_count\"; filter?: string | undefined; } | { name: string; field: string; percentile: number; aggregation: \"percentile\"; filter?: string | undefined; })[]; equation: string; }, { name: string; metrics: ({ name: string; field: string; aggregation: ",
+ {
+ "pluginId": "@kbn/entities-schema",
+ "scope": "common",
+ "docId": "kibKbnEntitiesSchemaPluginApi",
+ "section": "def-common.BasicAggregations",
+ "text": "BasicAggregations"
+ },
+ "; filter?: string | undefined; } | { name: string; aggregation: \"doc_count\"; filter?: string | undefined; } | { name: string; field: string; percentile: number; aggregation: \"percentile\"; filter?: string | undefined; })[]; equation: string; }>, \"many\">>>; indexPatterns: Zod.ZodOptional>; metadata: Zod.ZodOptional; aggregation: Zod.ZodDefault; limit: Zod.ZodDefault; lookbackPeriod: Zod.ZodOptional; }, \"strip\", Zod.ZodTypeAny, { type: \"terms\"; limit: number; lookbackPeriod?: string | undefined; }, { type: \"terms\"; limit?: number | undefined; lookbackPeriod?: string | undefined; }>, Zod.ZodObject<{ type: Zod.ZodLiteral<\"top_value\">; sort: Zod.ZodRecord, Zod.ZodLiteral<\"desc\">]>>; lookbackPeriod: Zod.ZodOptional; }, \"strip\", Zod.ZodTypeAny, { type: \"top_value\"; sort: Record; lookbackPeriod?: string | undefined; }, { type: \"top_value\"; sort: Record; lookbackPeriod?: string | undefined; }>]>>>; }, \"strip\", Zod.ZodTypeAny, { source: string; aggregation: { type: \"terms\"; limit: number; lookbackPeriod?: string | undefined; } | { type: \"top_value\"; sort: Record; lookbackPeriod?: string | undefined; }; destination?: string | undefined; }, { source: string; destination?: string | undefined; aggregation?: { type: \"terms\"; limit?: number | undefined; lookbackPeriod?: string | undefined; } | { type: \"top_value\"; sort: Record; lookbackPeriod?: string | undefined; } | undefined; }>, Zod.ZodEffects]>, { destination: string; source: string; aggregation: { type: \"terms\"; limit: number; lookbackPeriod?: string | undefined; } | { type: \"top_value\"; sort: Record; lookbackPeriod?: string | undefined; }; } | { destination: string; source: string; aggregation: { type: \"terms\"; limit: number; lookbackPeriod: undefined; }; }, string | { source: string; destination?: string | undefined; aggregation?: { type: \"terms\"; limit?: number | undefined; lookbackPeriod?: string | undefined; } | { type: \"top_value\"; sort: Record; lookbackPeriod?: string | undefined; } | undefined; }>, { destination: string; source: string; aggregation: { type: \"terms\"; limit: number; lookbackPeriod?: string | undefined; } | { type: \"top_value\"; sort: Record; lookbackPeriod?: string | undefined; }; } | { destination: string; source: string; aggregation: { type: \"terms\"; limit: number; lookbackPeriod: undefined; }; }, string | { source: string; destination?: string | undefined; aggregation?: { type: \"terms\"; limit?: number | undefined; lookbackPeriod?: string | undefined; } | { type: \"top_value\"; sort: Record; lookbackPeriod?: string | undefined; } | undefined; }>, \"many\">>>; identityFields: Zod.ZodOptional; }, \"strip\", Zod.ZodTypeAny, { field: string; optional: false; }, { field: string; optional: false; }>, Zod.ZodEffects]>, \"many\">>; displayNameTemplate: Zod.ZodOptional; staticFields: Zod.ZodOptional>>; latest: Zod.ZodOptional>; settings: Zod.ZodOptional; syncDelay: Zod.ZodOptional; frequency: Zod.ZodOptional; }, \"strip\", Zod.ZodTypeAny, { frequency?: string | undefined; syncField?: string | undefined; syncDelay?: string | undefined; }, { frequency?: string | undefined; syncField?: string | undefined; syncDelay?: string | undefined; }>>; }, \"strip\", Zod.ZodTypeAny, { lookbackPeriod: string; timestampField: string; settings?: { frequency?: string | undefined; syncField?: string | undefined; syncDelay?: string | undefined; } | undefined; }, { timestampField: string; settings?: { frequency?: string | undefined; syncField?: string | undefined; syncDelay?: string | undefined; } | undefined; lookbackPeriod?: string | undefined; }>>; installedComponents: Zod.ZodOptional, Zod.ZodLiteral<\"ingest_pipeline\">, Zod.ZodLiteral<\"template\">]>; id: Zod.ZodString; }, \"strip\", Zod.ZodTypeAny, { id: string; type: \"transform\" | \"template\" | \"ingest_pipeline\"; }, { id: string; type: \"transform\" | \"template\" | \"ingest_pipeline\"; }>, \"many\">>>; }, { latest: Zod.ZodOptional; lookbackPeriod: Zod.ZodOptional>>; settings: Zod.ZodOptional; syncDelay: Zod.ZodOptional; frequency: Zod.ZodOptional; }, \"strip\", Zod.ZodTypeAny, { frequency?: string | undefined; syncField?: string | undefined; syncDelay?: string | undefined; }, { frequency?: string | undefined; syncField?: string | undefined; syncDelay?: string | undefined; }>>>; }, \"strip\", Zod.ZodTypeAny, { settings?: { frequency?: string | undefined; syncField?: string | undefined; syncDelay?: string | undefined; } | undefined; lookbackPeriod?: string | undefined; timestampField?: string | undefined; }, { settings?: { frequency?: string | undefined; syncField?: string | undefined; syncDelay?: string | undefined; } | undefined; lookbackPeriod?: string | undefined; timestampField?: string | undefined; }>>; version: Zod.ZodEffects; }>, \"strip\", Zod.ZodTypeAny, { version: string; type?: string | undefined; filter?: string | undefined; name?: string | undefined; description?: string | undefined; metrics?: { name: string; metrics: ({ name: string; field: string; aggregation: ",
+ {
+ "pluginId": "@kbn/entities-schema",
+ "scope": "common",
+ "docId": "kibKbnEntitiesSchemaPluginApi",
+ "section": "def-common.BasicAggregations",
+ "text": "BasicAggregations"
+ },
+ "; filter?: string | undefined; } | { name: string; aggregation: \"doc_count\"; filter?: string | undefined; } | { name: string; field: string; percentile: number; aggregation: \"percentile\"; filter?: string | undefined; })[]; equation: string; }[] | undefined; indexPatterns?: string[] | undefined; metadata?: ({ destination: string; source: string; aggregation: { type: \"terms\"; limit: number; lookbackPeriod?: string | undefined; } | { type: \"top_value\"; sort: Record; lookbackPeriod?: string | undefined; }; } | { destination: string; source: string; aggregation: { type: \"terms\"; limit: number; lookbackPeriod: undefined; }; })[] | undefined; identityFields?: ({ field: string; optional: false; } | { field: string; optional: boolean; })[] | undefined; displayNameTemplate?: string | undefined; staticFields?: Record | undefined; latest?: { settings?: { frequency?: string | undefined; syncField?: string | undefined; syncDelay?: string | undefined; } | undefined; lookbackPeriod?: string | undefined; timestampField?: string | undefined; } | undefined; installedComponents?: { id: string; type: \"transform\" | \"template\" | \"ingest_pipeline\"; }[] | undefined; }, { version: string; type?: string | undefined; filter?: string | undefined; name?: string | undefined; description?: string | undefined; metrics?: { name: string; metrics: ({ name: string; field: string; aggregation: ",
+ {
+ "pluginId": "@kbn/entities-schema",
+ "scope": "common",
+ "docId": "kibKbnEntitiesSchemaPluginApi",
+ "section": "def-common.BasicAggregations",
+ "text": "BasicAggregations"
+ },
+ "; filter?: string | undefined; } | { name: string; aggregation: \"doc_count\"; filter?: string | undefined; } | { name: string; field: string; percentile: number; aggregation: \"percentile\"; filter?: string | undefined; })[]; equation: string; }[] | undefined; indexPatterns?: string[] | undefined; metadata?: (string | { source: string; destination?: string | undefined; aggregation?: { type: \"terms\"; limit?: number | undefined; lookbackPeriod?: string | undefined; } | { type: \"top_value\"; sort: Record; lookbackPeriod?: string | undefined; } | undefined; })[] | undefined; identityFields?: (string | { field: string; optional: false; })[] | undefined; displayNameTemplate?: string | undefined; staticFields?: Record | undefined; latest?: { settings?: { frequency?: string | undefined; syncField?: string | undefined; syncDelay?: string | undefined; } | undefined; lookbackPeriod?: string | undefined; timestampField?: string | undefined; } | undefined; installedComponents?: { id: string; type: \"transform\" | \"template\" | \"ingest_pipeline\"; }[] | undefined; }>; }, \"strip\", Zod.ZodTypeAny, { path: { id: string; }; body: { version: string; type?: string | undefined; filter?: string | undefined; name?: string | undefined; description?: string | undefined; metrics?: { name: string; metrics: ({ name: string; field: string; aggregation: ",
+ {
+ "pluginId": "@kbn/entities-schema",
+ "scope": "common",
+ "docId": "kibKbnEntitiesSchemaPluginApi",
+ "section": "def-common.BasicAggregations",
+ "text": "BasicAggregations"
+ },
+ "; filter?: string | undefined; } | { name: string; aggregation: \"doc_count\"; filter?: string | undefined; } | { name: string; field: string; percentile: number; aggregation: \"percentile\"; filter?: string | undefined; })[]; equation: string; }[] | undefined; indexPatterns?: string[] | undefined; metadata?: ({ destination: string; source: string; aggregation: { type: \"terms\"; limit: number; lookbackPeriod?: string | undefined; } | { type: \"top_value\"; sort: Record; lookbackPeriod?: string | undefined; }; } | { destination: string; source: string; aggregation: { type: \"terms\"; limit: number; lookbackPeriod: undefined; }; })[] | undefined; identityFields?: ({ field: string; optional: false; } | { field: string; optional: boolean; })[] | undefined; displayNameTemplate?: string | undefined; staticFields?: Record | undefined; latest?: { settings?: { frequency?: string | undefined; syncField?: string | undefined; syncDelay?: string | undefined; } | undefined; lookbackPeriod?: string | undefined; timestampField?: string | undefined; } | undefined; installedComponents?: { id: string; type: \"transform\" | \"template\" | \"ingest_pipeline\"; }[] | undefined; }; }, { path: { id: string; }; body: { version: string; type?: string | undefined; filter?: string | undefined; name?: string | undefined; description?: string | undefined; metrics?: { name: string; metrics: ({ name: string; field: string; aggregation: ",
+ {
+ "pluginId": "@kbn/entities-schema",
+ "scope": "common",
+ "docId": "kibKbnEntitiesSchemaPluginApi",
+ "section": "def-common.BasicAggregations",
+ "text": "BasicAggregations"
+ },
+ "; filter?: string | undefined; } | { name: string; aggregation: \"doc_count\"; filter?: string | undefined; } | { name: string; field: string; percentile: number; aggregation: \"percentile\"; filter?: string | undefined; })[]; equation: string; }[] | undefined; indexPatterns?: string[] | undefined; metadata?: (string | { source: string; destination?: string | undefined; aggregation?: { type: \"terms\"; limit?: number | undefined; lookbackPeriod?: string | undefined; } | { type: \"top_value\"; sort: Record; lookbackPeriod?: string | undefined; } | undefined; })[] | undefined; identityFields?: (string | { field: string; optional: false; })[] | undefined; displayNameTemplate?: string | undefined; staticFields?: Record | undefined; latest?: { settings?: { frequency?: string | undefined; syncField?: string | undefined; syncDelay?: string | undefined; } | undefined; lookbackPeriod?: string | undefined; timestampField?: string | undefined; } | undefined; installedComponents?: { id: string; type: \"transform\" | \"template\" | \"ingest_pipeline\"; }[] | undefined; }; }>, ",
+ "EntityManagerRouteHandlerResources",
+ ", ",
+ {
+ "pluginId": "@kbn/core-http-server",
+ "scope": "server",
+ "docId": "kibKbnCoreHttpServerPluginApi",
+ "section": "def-server.IKibanaResponse",
+ "text": "IKibanaResponse"
+ },
+ ", ",
+ {
+ "pluginId": "@kbn/server-route-repository-utils",
+ "scope": "common",
+ "docId": "kibKbnServerRouteRepositoryUtilsPluginApi",
+ "section": "def-common.DefaultRouteCreateOptions",
+ "text": "DefaultRouteCreateOptions"
+ },
+ ">; \"POST /internal/entities/definition/{id}/_reset\": ",
+ {
+ "pluginId": "@kbn/server-route-repository-utils",
+ "scope": "common",
+ "docId": "kibKbnServerRouteRepositoryUtilsPluginApi",
+ "section": "def-common.ServerRoute",
+ "text": "ServerRoute"
+ },
+ "<\"POST /internal/entities/definition/{id}/_reset\", Zod.ZodObject<{ path: Zod.ZodObject<{ id: Zod.ZodString; }, \"strip\", Zod.ZodTypeAny, { id: string; }, { id: string; }>; }, \"strip\", Zod.ZodTypeAny, { path: { id: string; }; }, { path: { id: string; }; }>, ",
+ "EntityManagerRouteHandlerResources",
+ ", ",
+ {
+ "pluginId": "@kbn/core-http-server",
+ "scope": "server",
+ "docId": "kibKbnCoreHttpServerPluginApi",
+ "section": "def-server.IKibanaResponse",
+ "text": "IKibanaResponse"
+ },
+ ", ",
+ {
+ "pluginId": "@kbn/server-route-repository-utils",
+ "scope": "common",
+ "docId": "kibKbnServerRouteRepositoryUtilsPluginApi",
+ "section": "def-common.DefaultRouteCreateOptions",
+ "text": "DefaultRouteCreateOptions"
+ },
+ ">; \"GET /internal/entities/definition/{id?}\": ",
+ {
+ "pluginId": "@kbn/server-route-repository-utils",
+ "scope": "common",
+ "docId": "kibKbnServerRouteRepositoryUtilsPluginApi",
+ "section": "def-common.ServerRoute",
+ "text": "ServerRoute"
+ },
+ "<\"GET /internal/entities/definition/{id?}\", Zod.ZodObject<{ query: Zod.ZodObject<{ page: Zod.ZodOptional; perPage: Zod.ZodOptional; includeState: Zod.ZodDefault, Zod.ZodBoolean]>, boolean, boolean | \"true\" | \"false\">>>; }, \"strip\", Zod.ZodTypeAny, { includeState: boolean; page?: number | undefined; perPage?: number | undefined; }, { page?: number | undefined; perPage?: number | undefined; includeState?: boolean | \"true\" | \"false\" | undefined; }>; path: Zod.ZodObject<{ id: Zod.ZodOptional; }, \"strip\", Zod.ZodTypeAny, { id?: string | undefined; }, { id?: string | undefined; }>; }, \"strip\", Zod.ZodTypeAny, { query: { includeState: boolean; page?: number | undefined; perPage?: number | undefined; }; path: { id?: string | undefined; }; }, { query: { page?: number | undefined; perPage?: number | undefined; includeState?: boolean | \"true\" | \"false\" | undefined; }; path: { id?: string | undefined; }; }>, ",
+ "EntityManagerRouteHandlerResources",
+ ", ",
+ {
+ "pluginId": "@kbn/core-http-server",
+ "scope": "server",
+ "docId": "kibKbnCoreHttpServerPluginApi",
+ "section": "def-server.IKibanaResponse",
+ "text": "IKibanaResponse"
+ },
+ ", ",
+ {
+ "pluginId": "@kbn/server-route-repository-utils",
+ "scope": "common",
+ "docId": "kibKbnServerRouteRepositoryUtilsPluginApi",
+ "section": "def-common.DefaultRouteCreateOptions",
+ "text": "DefaultRouteCreateOptions"
+ },
+ ">; \"DELETE /internal/entities/definition/{id}\": ",
+ {
+ "pluginId": "@kbn/server-route-repository-utils",
+ "scope": "common",
+ "docId": "kibKbnServerRouteRepositoryUtilsPluginApi",
+ "section": "def-common.ServerRoute",
+ "text": "ServerRoute"
+ },
+ "<\"DELETE /internal/entities/definition/{id}\", Zod.ZodObject<{ path: Zod.ZodObject<{ id: Zod.ZodString; }, \"strip\", Zod.ZodTypeAny, { id: string; }, { id: string; }>; query: Zod.ZodObject<{ deleteData: Zod.ZodDefault, Zod.ZodBoolean]>, boolean, boolean | \"true\" | \"false\">>>; }, \"strip\", Zod.ZodTypeAny, { deleteData: boolean; }, { deleteData?: boolean | \"true\" | \"false\" | undefined; }>; }, \"strip\", Zod.ZodTypeAny, { query: { deleteData: boolean; }; path: { id: string; }; }, { query: { deleteData?: boolean | \"true\" | \"false\" | undefined; }; path: { id: string; }; }>, ",
+ "EntityManagerRouteHandlerResources",
+ ", ",
+ {
+ "pluginId": "@kbn/core-http-server",
+ "scope": "server",
+ "docId": "kibKbnCoreHttpServerPluginApi",
+ "section": "def-server.IKibanaResponse",
+ "text": "IKibanaResponse"
+ },
+ ", ",
+ {
+ "pluginId": "@kbn/server-route-repository-utils",
+ "scope": "common",
+ "docId": "kibKbnServerRouteRepositoryUtilsPluginApi",
+ "section": "def-common.DefaultRouteCreateOptions",
+ "text": "DefaultRouteCreateOptions"
+ },
+ ">; \"POST /internal/entities/definition\": ",
+ {
+ "pluginId": "@kbn/server-route-repository-utils",
+ "scope": "common",
+ "docId": "kibKbnServerRouteRepositoryUtilsPluginApi",
+ "section": "def-common.ServerRoute",
+ "text": "ServerRoute"
+ },
+ "<\"POST /internal/entities/definition\", Zod.ZodObject<{ query: Zod.ZodObject<{ installOnly: Zod.ZodDefault, Zod.ZodBoolean]>, boolean, boolean | \"true\" | \"false\">>>; }, \"strip\", Zod.ZodTypeAny, { installOnly: boolean; }, { installOnly?: boolean | \"true\" | \"false\" | undefined; }>; body: Zod.ZodObject<{ id: Zod.ZodString; version: Zod.ZodEffects; name: Zod.ZodString; description: Zod.ZodOptional; type: Zod.ZodString; filter: Zod.ZodOptional; indexPatterns: Zod.ZodArray; identityFields: Zod.ZodArray; }, \"strip\", Zod.ZodTypeAny, { field: string; optional: false; }, { field: string; optional: false; }>, Zod.ZodEffects]>, \"many\">; displayNameTemplate: Zod.ZodString; metadata: Zod.ZodOptional; aggregation: Zod.ZodDefault; limit: Zod.ZodDefault; lookbackPeriod: Zod.ZodOptional; }, \"strip\", Zod.ZodTypeAny, { type: \"terms\"; limit: number; lookbackPeriod?: string | undefined; }, { type: \"terms\"; limit?: number | undefined; lookbackPeriod?: string | undefined; }>, Zod.ZodObject<{ type: Zod.ZodLiteral<\"top_value\">; sort: Zod.ZodRecord, Zod.ZodLiteral<\"desc\">]>>; lookbackPeriod: Zod.ZodOptional; }, \"strip\", Zod.ZodTypeAny, { type: \"top_value\"; sort: Record; lookbackPeriod?: string | undefined; }, { type: \"top_value\"; sort: Record; lookbackPeriod?: string | undefined; }>]>>>; }, \"strip\", Zod.ZodTypeAny, { source: string; aggregation: { type: \"terms\"; limit: number; lookbackPeriod?: string | undefined; } | { type: \"top_value\"; sort: Record; lookbackPeriod?: string | undefined; }; destination?: string | undefined; }, { source: string; destination?: string | undefined; aggregation?: { type: \"terms\"; limit?: number | undefined; lookbackPeriod?: string | undefined; } | { type: \"top_value\"; sort: Record; lookbackPeriod?: string | undefined; } | undefined; }>, Zod.ZodEffects]>, { destination: string; source: string; aggregation: { type: \"terms\"; limit: number; lookbackPeriod?: string | undefined; } | { type: \"top_value\"; sort: Record; lookbackPeriod?: string | undefined; }; } | { destination: string; source: string; aggregation: { type: \"terms\"; limit: number; lookbackPeriod: undefined; }; }, string | { source: string; destination?: string | undefined; aggregation?: { type: \"terms\"; limit?: number | undefined; lookbackPeriod?: string | undefined; } | { type: \"top_value\"; sort: Record; lookbackPeriod?: string | undefined; } | undefined; }>, { destination: string; source: string; aggregation: { type: \"terms\"; limit: number; lookbackPeriod?: string | undefined; } | { type: \"top_value\"; sort: Record; lookbackPeriod?: string | undefined; }; } | { destination: string; source: string; aggregation: { type: \"terms\"; limit: number; lookbackPeriod: undefined; }; }, string | { source: string; destination?: string | undefined; aggregation?: { type: \"terms\"; limit?: number | undefined; lookbackPeriod?: string | undefined; } | { type: \"top_value\"; sort: Record; lookbackPeriod?: string | undefined; } | undefined; }>, \"many\">>; metrics: Zod.ZodOptional; field: Zod.ZodString; filter: Zod.ZodOptional; }, \"strip\", Zod.ZodTypeAny, { name: string; field: string; aggregation: ",
+ {
+ "pluginId": "@kbn/entities-schema",
+ "scope": "common",
+ "docId": "kibKbnEntitiesSchemaPluginApi",
+ "section": "def-common.BasicAggregations",
+ "text": "BasicAggregations"
+ },
+ "; filter?: string | undefined; }, { name: string; field: string; aggregation: ",
+ {
+ "pluginId": "@kbn/entities-schema",
+ "scope": "common",
+ "docId": "kibKbnEntitiesSchemaPluginApi",
+ "section": "def-common.BasicAggregations",
+ "text": "BasicAggregations"
+ },
+ "; filter?: string | undefined; }>, Zod.ZodObject<{ name: Zod.ZodString; aggregation: Zod.ZodLiteral<\"doc_count\">; filter: Zod.ZodOptional; }, \"strip\", Zod.ZodTypeAny, { name: string; aggregation: \"doc_count\"; filter?: string | undefined; }, { name: string; aggregation: \"doc_count\"; filter?: string | undefined; }>, Zod.ZodObject<{ name: Zod.ZodString; aggregation: Zod.ZodLiteral<\"percentile\">; field: Zod.ZodString; percentile: Zod.ZodNumber; filter: Zod.ZodOptional; }, \"strip\", Zod.ZodTypeAny, { name: string; field: string; percentile: number; aggregation: \"percentile\"; filter?: string | undefined; }, { name: string; field: string; percentile: number; aggregation: \"percentile\"; filter?: string | undefined; }>]>, \"many\">; equation: Zod.ZodString; }, \"strip\", Zod.ZodTypeAny, { name: string; metrics: ({ name: string; field: string; aggregation: ",
+ {
+ "pluginId": "@kbn/entities-schema",
+ "scope": "common",
+ "docId": "kibKbnEntitiesSchemaPluginApi",
+ "section": "def-common.BasicAggregations",
+ "text": "BasicAggregations"
+ },
+ "; filter?: string | undefined; } | { name: string; aggregation: \"doc_count\"; filter?: string | undefined; } | { name: string; field: string; percentile: number; aggregation: \"percentile\"; filter?: string | undefined; })[]; equation: string; }, { name: string; metrics: ({ name: string; field: string; aggregation: ",
+ {
+ "pluginId": "@kbn/entities-schema",
+ "scope": "common",
+ "docId": "kibKbnEntitiesSchemaPluginApi",
+ "section": "def-common.BasicAggregations",
+ "text": "BasicAggregations"
+ },
+ "; filter?: string | undefined; } | { name: string; aggregation: \"doc_count\"; filter?: string | undefined; } | { name: string; field: string; percentile: number; aggregation: \"percentile\"; filter?: string | undefined; })[]; equation: string; }>, \"many\">>; staticFields: Zod.ZodOptional>; managed: Zod.ZodDefault>; latest: Zod.ZodObject<{ timestampField: Zod.ZodString; lookbackPeriod: Zod.ZodDefault>; settings: Zod.ZodOptional; syncDelay: Zod.ZodOptional; frequency: Zod.ZodOptional; }, \"strip\", Zod.ZodTypeAny, { frequency?: string | undefined; syncField?: string | undefined; syncDelay?: string | undefined; }, { frequency?: string | undefined; syncField?: string | undefined; syncDelay?: string | undefined; }>>; }, \"strip\", Zod.ZodTypeAny, { lookbackPeriod: string; timestampField: string; settings?: { frequency?: string | undefined; syncField?: string | undefined; syncDelay?: string | undefined; } | undefined; }, { timestampField: string; settings?: { frequency?: string | undefined; syncField?: string | undefined; syncDelay?: string | undefined; } | undefined; lookbackPeriod?: string | undefined; }>; installStatus: Zod.ZodOptional, Zod.ZodLiteral<\"upgrading\">, Zod.ZodLiteral<\"installed\">, Zod.ZodLiteral<\"failed\">]>>; installStartedAt: Zod.ZodOptional; installedComponents: Zod.ZodOptional, Zod.ZodLiteral<\"ingest_pipeline\">, Zod.ZodLiteral<\"template\">]>; id: Zod.ZodString; }, \"strip\", Zod.ZodTypeAny, { id: string; type: \"transform\" | \"template\" | \"ingest_pipeline\"; }, { id: string; type: \"transform\" | \"template\" | \"ingest_pipeline\"; }>, \"many\">>; }, \"strip\", Zod.ZodTypeAny, { id: string; type: string; version: string; name: string; managed: boolean; indexPatterns: string[]; identityFields: ({ field: string; optional: false; } | { field: string; optional: boolean; })[]; displayNameTemplate: string; latest: { lookbackPeriod: string; timestampField: string; settings?: { frequency?: string | undefined; syncField?: string | undefined; syncDelay?: string | undefined; } | undefined; }; filter?: string | undefined; description?: string | undefined; metrics?: { name: string; metrics: ({ name: string; field: string; aggregation: ",
+ {
+ "pluginId": "@kbn/entities-schema",
+ "scope": "common",
+ "docId": "kibKbnEntitiesSchemaPluginApi",
+ "section": "def-common.BasicAggregations",
+ "text": "BasicAggregations"
+ },
+ "; filter?: string | undefined; } | { name: string; aggregation: \"doc_count\"; filter?: string | undefined; } | { name: string; field: string; percentile: number; aggregation: \"percentile\"; filter?: string | undefined; })[]; equation: string; }[] | undefined; metadata?: ({ destination: string; source: string; aggregation: { type: \"terms\"; limit: number; lookbackPeriod?: string | undefined; } | { type: \"top_value\"; sort: Record; lookbackPeriod?: string | undefined; }; } | { destination: string; source: string; aggregation: { type: \"terms\"; limit: number; lookbackPeriod: undefined; }; })[] | undefined; staticFields?: Record | undefined; installStatus?: \"failed\" | \"installing\" | \"upgrading\" | \"installed\" | undefined; installStartedAt?: string | undefined; installedComponents?: { id: string; type: \"transform\" | \"template\" | \"ingest_pipeline\"; }[] | undefined; }, { id: string; type: string; version: string; name: string; indexPatterns: string[]; identityFields: (string | { field: string; optional: false; })[]; displayNameTemplate: string; latest: { timestampField: string; settings?: { frequency?: string | undefined; syncField?: string | undefined; syncDelay?: string | undefined; } | undefined; lookbackPeriod?: string | undefined; }; filter?: string | undefined; description?: string | undefined; metrics?: { name: string; metrics: ({ name: string; field: string; aggregation: ",
+ {
+ "pluginId": "@kbn/entities-schema",
+ "scope": "common",
+ "docId": "kibKbnEntitiesSchemaPluginApi",
+ "section": "def-common.BasicAggregations",
+ "text": "BasicAggregations"
+ },
+ "; filter?: string | undefined; } | { name: string; aggregation: \"doc_count\"; filter?: string | undefined; } | { name: string; field: string; percentile: number; aggregation: \"percentile\"; filter?: string | undefined; })[]; equation: string; }[] | undefined; managed?: boolean | undefined; metadata?: (string | { source: string; destination?: string | undefined; aggregation?: { type: \"terms\"; limit?: number | undefined; lookbackPeriod?: string | undefined; } | { type: \"top_value\"; sort: Record; lookbackPeriod?: string | undefined; } | undefined; })[] | undefined; staticFields?: Record | undefined; installStatus?: \"failed\" | \"installing\" | \"upgrading\" | \"installed\" | undefined; installStartedAt?: string | undefined; installedComponents?: { id: string; type: \"transform\" | \"template\" | \"ingest_pipeline\"; }[] | undefined; }>; }, \"strip\", Zod.ZodTypeAny, { query: { installOnly: boolean; }; body: { id: string; type: string; version: string; name: string; managed: boolean; indexPatterns: string[]; identityFields: ({ field: string; optional: false; } | { field: string; optional: boolean; })[]; displayNameTemplate: string; latest: { lookbackPeriod: string; timestampField: string; settings?: { frequency?: string | undefined; syncField?: string | undefined; syncDelay?: string | undefined; } | undefined; }; filter?: string | undefined; description?: string | undefined; metrics?: { name: string; metrics: ({ name: string; field: string; aggregation: ",
+ {
+ "pluginId": "@kbn/entities-schema",
+ "scope": "common",
+ "docId": "kibKbnEntitiesSchemaPluginApi",
+ "section": "def-common.BasicAggregations",
+ "text": "BasicAggregations"
+ },
+ "; filter?: string | undefined; } | { name: string; aggregation: \"doc_count\"; filter?: string | undefined; } | { name: string; field: string; percentile: number; aggregation: \"percentile\"; filter?: string | undefined; })[]; equation: string; }[] | undefined; metadata?: ({ destination: string; source: string; aggregation: { type: \"terms\"; limit: number; lookbackPeriod?: string | undefined; } | { type: \"top_value\"; sort: Record; lookbackPeriod?: string | undefined; }; } | { destination: string; source: string; aggregation: { type: \"terms\"; limit: number; lookbackPeriod: undefined; }; })[] | undefined; staticFields?: Record | undefined; installStatus?: \"failed\" | \"installing\" | \"upgrading\" | \"installed\" | undefined; installStartedAt?: string | undefined; installedComponents?: { id: string; type: \"transform\" | \"template\" | \"ingest_pipeline\"; }[] | undefined; }; }, { query: { installOnly?: boolean | \"true\" | \"false\" | undefined; }; body: { id: string; type: string; version: string; name: string; indexPatterns: string[]; identityFields: (string | { field: string; optional: false; })[]; displayNameTemplate: string; latest: { timestampField: string; settings?: { frequency?: string | undefined; syncField?: string | undefined; syncDelay?: string | undefined; } | undefined; lookbackPeriod?: string | undefined; }; filter?: string | undefined; description?: string | undefined; metrics?: { name: string; metrics: ({ name: string; field: string; aggregation: ",
+ {
+ "pluginId": "@kbn/entities-schema",
+ "scope": "common",
+ "docId": "kibKbnEntitiesSchemaPluginApi",
+ "section": "def-common.BasicAggregations",
+ "text": "BasicAggregations"
+ },
+ "; filter?: string | undefined; } | { name: string; aggregation: \"doc_count\"; filter?: string | undefined; } | { name: string; field: string; percentile: number; aggregation: \"percentile\"; filter?: string | undefined; })[]; equation: string; }[] | undefined; managed?: boolean | undefined; metadata?: (string | { source: string; destination?: string | undefined; aggregation?: { type: \"terms\"; limit?: number | undefined; lookbackPeriod?: string | undefined; } | { type: \"top_value\"; sort: Record; lookbackPeriod?: string | undefined; } | undefined; })[] | undefined; staticFields?: Record | undefined; installStatus?: \"failed\" | \"installing\" | \"upgrading\" | \"installed\" | undefined; installStartedAt?: string | undefined; installedComponents?: { id: string; type: \"transform\" | \"template\" | \"ingest_pipeline\"; }[] | undefined; }; }>, ",
+ "EntityManagerRouteHandlerResources",
+ ", ",
+ {
+ "pluginId": "@kbn/core-http-server",
+ "scope": "server",
+ "docId": "kibKbnCoreHttpServerPluginApi",
+ "section": "def-server.IKibanaResponse",
+ "text": "IKibanaResponse"
+ },
+ ", ",
+ {
+ "pluginId": "@kbn/server-route-repository-utils",
+ "scope": "common",
+ "docId": "kibKbnServerRouteRepositoryUtilsPluginApi",
+ "section": "def-common.DefaultRouteCreateOptions",
+ "text": "DefaultRouteCreateOptions"
+ },
+ ">; \"DELETE /internal/entities/managed/enablement\": ",
+ {
+ "pluginId": "@kbn/server-route-repository-utils",
+ "scope": "common",
+ "docId": "kibKbnServerRouteRepositoryUtilsPluginApi",
+ "section": "def-common.ServerRoute",
+ "text": "ServerRoute"
+ },
+ "<\"DELETE /internal/entities/managed/enablement\", Zod.ZodObject<{ query: Zod.ZodObject<{ deleteData: Zod.ZodDefault, Zod.ZodBoolean]>, boolean, boolean | \"true\" | \"false\">>>; }, \"strip\", Zod.ZodTypeAny, { deleteData: boolean; }, { deleteData?: boolean | \"true\" | \"false\" | undefined; }>; }, \"strip\", Zod.ZodTypeAny, { query: { deleteData: boolean; }; }, { query: { deleteData?: boolean | \"true\" | \"false\" | undefined; }; }>, ",
+ "EntityManagerRouteHandlerResources",
+ ", ",
+ {
+ "pluginId": "@kbn/core-http-server",
+ "scope": "server",
+ "docId": "kibKbnCoreHttpServerPluginApi",
+ "section": "def-server.IKibanaResponse",
+ "text": "IKibanaResponse"
+ },
+ ", ",
+ {
+ "pluginId": "@kbn/server-route-repository-utils",
+ "scope": "common",
+ "docId": "kibKbnServerRouteRepositoryUtilsPluginApi",
+ "section": "def-common.DefaultRouteCreateOptions",
+ "text": "DefaultRouteCreateOptions"
+ },
+ ">; \"PUT /internal/entities/managed/enablement\": ",
+ {
+ "pluginId": "@kbn/server-route-repository-utils",
+ "scope": "common",
+ "docId": "kibKbnServerRouteRepositoryUtilsPluginApi",
+ "section": "def-common.ServerRoute",
+ "text": "ServerRoute"
+ },
+ "<\"PUT /internal/entities/managed/enablement\", Zod.ZodObject<{ query: Zod.ZodObject<{ installOnly: Zod.ZodDefault, Zod.ZodBoolean]>, boolean, boolean | \"true\" | \"false\">>>; }, \"strip\", Zod.ZodTypeAny, { installOnly: boolean; }, { installOnly?: boolean | \"true\" | \"false\" | undefined; }>; }, \"strip\", Zod.ZodTypeAny, { query: { installOnly: boolean; }; }, { query: { installOnly?: boolean | \"true\" | \"false\" | undefined; }; }>, ",
+ "EntityManagerRouteHandlerResources",
+ ", ",
+ {
+ "pluginId": "@kbn/core-http-server",
+ "scope": "server",
+ "docId": "kibKbnCoreHttpServerPluginApi",
+ "section": "def-server.IKibanaResponse",
+ "text": "IKibanaResponse"
+ },
+ ", ",
+ {
+ "pluginId": "@kbn/server-route-repository-utils",
+ "scope": "common",
+ "docId": "kibKbnServerRouteRepositoryUtilsPluginApi",
+ "section": "def-common.DefaultRouteCreateOptions",
+ "text": "DefaultRouteCreateOptions"
+ },
+ ">; \"GET /internal/entities/managed/enablement\": ",
+ {
+ "pluginId": "@kbn/server-route-repository-utils",
+ "scope": "common",
+ "docId": "kibKbnServerRouteRepositoryUtilsPluginApi",
+ "section": "def-common.ServerRoute",
+ "text": "ServerRoute"
+ },
+ "<\"GET /internal/entities/managed/enablement\", undefined, ",
+ "EntityManagerRouteHandlerResources",
+ ", ",
+ {
+ "pluginId": "@kbn/core-http-server",
+ "scope": "server",
+ "docId": "kibKbnCoreHttpServerPluginApi",
+ "section": "def-server.IKibanaResponse",
+ "text": "IKibanaResponse"
+ },
+ ", ",
+ {
+ "pluginId": "@kbn/server-route-repository-utils",
+ "scope": "common",
+ "docId": "kibKbnServerRouteRepositoryUtilsPluginApi",
+ "section": "def-common.DefaultRouteCreateOptions",
+ "text": "DefaultRouteCreateOptions"
+ },
+ ">; }, TEndpoint>>"
+ ],
+ "path": "x-pack/plugins/entity_manager/public/lib/entity_client.ts",
+ "deprecated": false,
+ "trackAdoption": false,
+ "returnComment": [],
+ "children": [
+ {
+ "parentPluginId": "entityManager",
+ "id": "def-public.EntityClient.repositoryClient.$1",
+ "type": "Uncategorized",
+ "tags": [],
+ "label": "endpoint",
+ "description": [],
+ "signature": [
+ "TEndpoint"
+ ],
+ "path": "packages/kbn-server-route-repository-utils/src/typings.ts",
+ "deprecated": false,
+ "trackAdoption": false
+ },
+ {
+ "parentPluginId": "entityManager",
+ "id": "def-public.EntityClient.repositoryClient.$2",
+ "type": "Uncategorized",
+ "tags": [],
+ "label": "args",
+ "description": [],
+ "signature": [
+ "RequiredKeys",
+ "<",
+ {
+ "pluginId": "@kbn/server-route-repository-utils",
+ "scope": "common",
+ "docId": "kibKbnServerRouteRepositoryUtilsPluginApi",
+ "section": "def-common.ClientRequestParamsOf",
+ "text": "ClientRequestParamsOf"
+ },
+ " & TAdditionalClientOptions> extends never ? [] | [",
+ {
+ "pluginId": "@kbn/server-route-repository-utils",
+ "scope": "common",
+ "docId": "kibKbnServerRouteRepositoryUtilsPluginApi",
+ "section": "def-common.ClientRequestParamsOf",
+ "text": "ClientRequestParamsOf"
+ },
+ " & TAdditionalClientOptions] : [",
+ {
+ "pluginId": "@kbn/server-route-repository-utils",
+ "scope": "common",
+ "docId": "kibKbnServerRouteRepositoryUtilsPluginApi",
+ "section": "def-common.ClientRequestParamsOf",
+ "text": "ClientRequestParamsOf"
+ },
+ "