diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 683d68d2ca534..f80c87ff4058b 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -911,7 +911,6 @@ x-pack/plugins/infra/server/lib/alerting @elastic/actionable-observability /x-pack/test/alerting_api_integration/spaces_only/tests/alerting/transform_rule_types/ @elastic/ml-ui /x-pack/test/screenshot_creation/apps/ml_docs @elastic/ml-ui /x-pack/test/screenshot_creation/services/ml_screenshots.ts @elastic/ml-ui -/docs/api/machine-learning/ @elastic/mlr-docs # Additional plugins and packages maintained by the ML team. /x-pack/test/accessibility/apps/transform.ts @elastic/ml-ui @@ -1020,9 +1019,6 @@ x-pack/plugins/cloud_integrations/cloud_full_story/server/config.ts @elastic/kib /x-pack/test/functional/services/cases/ @elastic/response-ops /x-pack/test/functional_with_es_ssl/apps/cases/ @elastic/response-ops /x-pack/test/api_integration/apis/cases/ @elastic/response-ops -/docs/api/actions-and-connectors @elastic/mlr-docs -/docs/api/alerting @elastic/mlr-docs -/docs/api/cases @elastic/mlr-docs # Enterprise Search /x-pack/test/functional_enterprise_search/ @elastic/enterprise-search-frontend @@ -1114,11 +1110,16 @@ x-pack/plugins/cloud_integrations/cloud_full_story/server/config.ts @elastic/kib /x-pack/plugins/stack_connectors/common/gen_ai @elastic/security-threat-hunting-explore ## Security Solution sub teams - Detection Rule Management +/x-pack/plugins/security_solution/common/api/detection_engine/fleet_integrations @elastic/security-detection-rule-management +/x-pack/plugins/security_solution/common/api/detection_engine/prebuilt_rules @elastic/security-detection-rule-management +/x-pack/plugins/security_solution/common/api/detection_engine/rule_management @elastic/security-detection-rule-management +/x-pack/plugins/security_solution/common/api/detection_engine/rule_monitoring @elastic/security-detection-rule-management +/x-pack/plugins/security_solution/common/api/detection_engine/model/rule_schema @elastic/security-detection-rule-management @elastic/security-detection-engine + /x-pack/plugins/security_solution/common/detection_engine/fleet_integrations @elastic/security-detection-rule-management /x-pack/plugins/security_solution/common/detection_engine/prebuilt_rules @elastic/security-detection-rule-management /x-pack/plugins/security_solution/common/detection_engine/rule_management @elastic/security-detection-rule-management /x-pack/plugins/security_solution/common/detection_engine/rule_monitoring @elastic/security-detection-rule-management -/x-pack/plugins/security_solution/common/detection_engine/rule_schema @elastic/security-detection-rule-management @elastic/security-detection-engine /x-pack/plugins/security_solution/docs/testing/test_plans/detection_response/prebuilt_rules @elastic/security-detection-rule-management /x-pack/plugins/security_solution/docs/testing/test_plans/detection_response/rule_management @elastic/security-detection-rule-management @@ -1153,7 +1154,7 @@ x-pack/plugins/cloud_integrations/cloud_full_story/server/config.ts @elastic/kib ## Security Solution sub teams - Detection Engine -/x-pack/plugins/security_solution/common/detection_engine/schemas/alerts @elastic/security-detection-engine +/x-pack/plugins/security_solution/common/api/detection_engine @elastic/security-detection-engine /x-pack/plugins/security_solution/common/field_maps @elastic/security-detection-engine /x-pack/plugins/security_solution/public/detection_engine/rule_creation_ui @elastic/security-detection-engine diff --git a/api_docs/actions.mdx b/api_docs/actions.mdx index b53d6b4e04e7c..8c6e45948f685 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: 2023-07-17 +date: 2023-07-18 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 ffc4429afe9e1..659ffa48f82e7 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: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'advancedSettings'] --- import advancedSettingsObj from './advanced_settings.devdocs.json'; diff --git a/api_docs/aiops.mdx b/api_docs/aiops.mdx index 75f61c2f6e445..d925a18321c60 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: 2023-07-17 +date: 2023-07-18 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 bdccafb297466..a4dcd2b8fba08 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: 2023-07-17 +date: 2023-07-18 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 92e3546a79844..fdd912e335084 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: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'apm'] --- import apmObj from './apm.devdocs.json'; diff --git a/api_docs/asset_manager.mdx b/api_docs/asset_manager.mdx index 0c962a35cf358..f0fdcc0c4d8b7 100644 --- a/api_docs/asset_manager.mdx +++ b/api_docs/asset_manager.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/assetManager title: "assetManager" image: https://source.unsplash.com/400x175/?github description: API docs for the assetManager plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'assetManager'] --- import assetManagerObj from './asset_manager.devdocs.json'; diff --git a/api_docs/banners.mdx b/api_docs/banners.mdx index 9447f13beed67..2b8d8dd38930d 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: 2023-07-17 +date: 2023-07-18 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 9b76d5b464917..3c13787afe113 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: 2023-07-17 +date: 2023-07-18 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 3f75afda70f57..f20752ef3ecb5 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: 2023-07-17 +date: 2023-07-18 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 4c5f34e5629b7..998df05731181 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: 2023-07-17 +date: 2023-07-18 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 639b3e2561289..b224d9d5250d5 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: 2023-07-17 +date: 2023-07-18 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 f7922ba070246..8c7af5f7ddfaa 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: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'cloud'] --- import cloudObj from './cloud.devdocs.json'; diff --git a/api_docs/cloud_chat.mdx b/api_docs/cloud_chat.mdx index 80d210fcfc3b5..63527f1e10fc6 100644 --- a/api_docs/cloud_chat.mdx +++ b/api_docs/cloud_chat.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/cloudChat title: "cloudChat" image: https://source.unsplash.com/400x175/?github description: API docs for the cloudChat plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'cloudChat'] --- import cloudChatObj from './cloud_chat.devdocs.json'; diff --git a/api_docs/cloud_chat_provider.mdx b/api_docs/cloud_chat_provider.mdx index 176904ada1c0e..1e4be670d2916 100644 --- a/api_docs/cloud_chat_provider.mdx +++ b/api_docs/cloud_chat_provider.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/cloudChatProvider title: "cloudChatProvider" image: https://source.unsplash.com/400x175/?github description: API docs for the cloudChatProvider plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'cloudChatProvider'] --- import cloudChatProviderObj from './cloud_chat_provider.devdocs.json'; diff --git a/api_docs/cloud_data_migration.mdx b/api_docs/cloud_data_migration.mdx index 36f47e4e93ea2..af60cd44b1c63 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: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'cloudDataMigration'] --- import cloudDataMigrationObj from './cloud_data_migration.devdocs.json'; diff --git a/api_docs/cloud_defend.devdocs.json b/api_docs/cloud_defend.devdocs.json index a2aa026ef923c..77489db1f3f8c 100644 --- a/api_docs/cloud_defend.devdocs.json +++ b/api_docs/cloud_defend.devdocs.json @@ -335,6 +335,360 @@ } ], "initialIsOpen": false + }, + { + "parentPluginId": "cloudDefend", + "id": "def-common.Response", + "type": "Interface", + "tags": [], + "label": "Response", + "description": [], + "path": "x-pack/plugins/cloud_defend/common/v1.ts", + "deprecated": false, + "trackAdoption": false, + "children": [ + { + "parentPluginId": "cloudDefend", + "id": "def-common.Response.match", + "type": "Array", + "tags": [], + "label": "match", + "description": [], + "signature": [ + "string[]" + ], + "path": "x-pack/plugins/cloud_defend/common/v1.ts", + "deprecated": false, + "trackAdoption": false + }, + { + "parentPluginId": "cloudDefend", + "id": "def-common.Response.exclude", + "type": "Array", + "tags": [], + "label": "exclude", + "description": [], + "signature": [ + "string[] | undefined" + ], + "path": "x-pack/plugins/cloud_defend/common/v1.ts", + "deprecated": false, + "trackAdoption": false + }, + { + "parentPluginId": "cloudDefend", + "id": "def-common.Response.actions", + "type": "Array", + "tags": [], + "label": "actions", + "description": [], + "signature": [ + { + "pluginId": "cloudDefend", + "scope": "common", + "docId": "kibCloudDefendPluginApi", + "section": "def-common.ResponseAction", + "text": "ResponseAction" + }, + "[]" + ], + "path": "x-pack/plugins/cloud_defend/common/v1.ts", + "deprecated": false, + "trackAdoption": false + }, + { + "parentPluginId": "cloudDefend", + "id": "def-common.Response.type", + "type": "CompoundType", + "tags": [], + "label": "type", + "description": [], + "signature": [ + "\"file\" | \"process\"" + ], + "path": "x-pack/plugins/cloud_defend/common/v1.ts", + "deprecated": false, + "trackAdoption": false + }, + { + "parentPluginId": "cloudDefend", + "id": "def-common.Response.hasErrors", + "type": "CompoundType", + "tags": [], + "label": "hasErrors", + "description": [], + "signature": [ + "boolean | undefined" + ], + "path": "x-pack/plugins/cloud_defend/common/v1.ts", + "deprecated": false, + "trackAdoption": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "cloudDefend", + "id": "def-common.Selector", + "type": "Interface", + "tags": [], + "label": "Selector", + "description": [], + "path": "x-pack/plugins/cloud_defend/common/v1.ts", + "deprecated": false, + "trackAdoption": false, + "children": [ + { + "parentPluginId": "cloudDefend", + "id": "def-common.Selector.name", + "type": "string", + "tags": [], + "label": "name", + "description": [], + "path": "x-pack/plugins/cloud_defend/common/v1.ts", + "deprecated": false, + "trackAdoption": false + }, + { + "parentPluginId": "cloudDefend", + "id": "def-common.Selector.operation", + "type": "Array", + "tags": [], + "label": "operation", + "description": [], + "signature": [ + "string[] | undefined" + ], + "path": "x-pack/plugins/cloud_defend/common/v1.ts", + "deprecated": false, + "trackAdoption": false + }, + { + "parentPluginId": "cloudDefend", + "id": "def-common.Selector.containerImageFullName", + "type": "Array", + "tags": [], + "label": "containerImageFullName", + "description": [], + "signature": [ + "string[] | undefined" + ], + "path": "x-pack/plugins/cloud_defend/common/v1.ts", + "deprecated": false, + "trackAdoption": false + }, + { + "parentPluginId": "cloudDefend", + "id": "def-common.Selector.containerImageName", + "type": "Array", + "tags": [], + "label": "containerImageName", + "description": [], + "signature": [ + "string[] | undefined" + ], + "path": "x-pack/plugins/cloud_defend/common/v1.ts", + "deprecated": false, + "trackAdoption": false + }, + { + "parentPluginId": "cloudDefend", + "id": "def-common.Selector.containerImageTag", + "type": "Array", + "tags": [], + "label": "containerImageTag", + "description": [], + "signature": [ + "string[] | undefined" + ], + "path": "x-pack/plugins/cloud_defend/common/v1.ts", + "deprecated": false, + "trackAdoption": false + }, + { + "parentPluginId": "cloudDefend", + "id": "def-common.Selector.kubernetesClusterId", + "type": "Array", + "tags": [], + "label": "kubernetesClusterId", + "description": [], + "signature": [ + "string[] | undefined" + ], + "path": "x-pack/plugins/cloud_defend/common/v1.ts", + "deprecated": false, + "trackAdoption": false + }, + { + "parentPluginId": "cloudDefend", + "id": "def-common.Selector.kubernetesClusterName", + "type": "Array", + "tags": [], + "label": "kubernetesClusterName", + "description": [], + "signature": [ + "string[] | undefined" + ], + "path": "x-pack/plugins/cloud_defend/common/v1.ts", + "deprecated": false, + "trackAdoption": false + }, + { + "parentPluginId": "cloudDefend", + "id": "def-common.Selector.kubernetesNamespace", + "type": "Array", + "tags": [], + "label": "kubernetesNamespace", + "description": [], + "signature": [ + "string[] | undefined" + ], + "path": "x-pack/plugins/cloud_defend/common/v1.ts", + "deprecated": false, + "trackAdoption": false + }, + { + "parentPluginId": "cloudDefend", + "id": "def-common.Selector.kubernetesPodLabel", + "type": "Array", + "tags": [], + "label": "kubernetesPodLabel", + "description": [], + "signature": [ + "string[] | undefined" + ], + "path": "x-pack/plugins/cloud_defend/common/v1.ts", + "deprecated": false, + "trackAdoption": false + }, + { + "parentPluginId": "cloudDefend", + "id": "def-common.Selector.kubernetesPodName", + "type": "Array", + "tags": [], + "label": "kubernetesPodName", + "description": [], + "signature": [ + "string[] | undefined" + ], + "path": "x-pack/plugins/cloud_defend/common/v1.ts", + "deprecated": false, + "trackAdoption": false + }, + { + "parentPluginId": "cloudDefend", + "id": "def-common.Selector.targetFilePath", + "type": "Array", + "tags": [], + "label": "targetFilePath", + "description": [], + "signature": [ + "string[] | undefined" + ], + "path": "x-pack/plugins/cloud_defend/common/v1.ts", + "deprecated": false, + "trackAdoption": false + }, + { + "parentPluginId": "cloudDefend", + "id": "def-common.Selector.ignoreVolumeFiles", + "type": "CompoundType", + "tags": [], + "label": "ignoreVolumeFiles", + "description": [], + "signature": [ + "boolean | undefined" + ], + "path": "x-pack/plugins/cloud_defend/common/v1.ts", + "deprecated": false, + "trackAdoption": false + }, + { + "parentPluginId": "cloudDefend", + "id": "def-common.Selector.ignoreVolumeMounts", + "type": "CompoundType", + "tags": [], + "label": "ignoreVolumeMounts", + "description": [], + "signature": [ + "boolean | undefined" + ], + "path": "x-pack/plugins/cloud_defend/common/v1.ts", + "deprecated": false, + "trackAdoption": false + }, + { + "parentPluginId": "cloudDefend", + "id": "def-common.Selector.processExecutable", + "type": "Array", + "tags": [], + "label": "processExecutable", + "description": [], + "signature": [ + "string[] | undefined" + ], + "path": "x-pack/plugins/cloud_defend/common/v1.ts", + "deprecated": false, + "trackAdoption": false + }, + { + "parentPluginId": "cloudDefend", + "id": "def-common.Selector.processName", + "type": "Array", + "tags": [], + "label": "processName", + "description": [], + "signature": [ + "string[] | undefined" + ], + "path": "x-pack/plugins/cloud_defend/common/v1.ts", + "deprecated": false, + "trackAdoption": false + }, + { + "parentPluginId": "cloudDefend", + "id": "def-common.Selector.sessionLeaderInteractive", + "type": "CompoundType", + "tags": [], + "label": "sessionLeaderInteractive", + "description": [], + "signature": [ + "boolean | undefined" + ], + "path": "x-pack/plugins/cloud_defend/common/v1.ts", + "deprecated": false, + "trackAdoption": false + }, + { + "parentPluginId": "cloudDefend", + "id": "def-common.Selector.type", + "type": "CompoundType", + "tags": [], + "label": "type", + "description": [], + "signature": [ + "\"file\" | \"process\"" + ], + "path": "x-pack/plugins/cloud_defend/common/v1.ts", + "deprecated": false, + "trackAdoption": false + }, + { + "parentPluginId": "cloudDefend", + "id": "def-common.Selector.hasErrors", + "type": "CompoundType", + "tags": [], + "label": "hasErrors", + "description": [], + "signature": [ + "boolean | undefined" + ], + "path": "x-pack/plugins/cloud_defend/common/v1.ts", + "deprecated": false, + "trackAdoption": false + } + ], + "initialIsOpen": false } ], "enums": [], @@ -421,6 +775,53 @@ "deprecated": false, "trackAdoption": false, "initialIsOpen": false + }, + { + "parentPluginId": "cloudDefend", + "id": "def-common.ResponseAction", + "type": "Type", + "tags": [], + "label": "ResponseAction", + "description": [], + "signature": [ + "\"log\" | \"alert\" | \"block\"" + ], + "path": "x-pack/plugins/cloud_defend/common/v1.ts", + "deprecated": false, + "trackAdoption": false, + "initialIsOpen": false + }, + { + "parentPluginId": "cloudDefend", + "id": "def-common.SelectorCondition", + "type": "Type", + "tags": [], + "label": "SelectorCondition", + "description": [], + "signature": [ + "\"containerImageFullName\" | \"containerImageName\" | \"containerImageTag\" | \"kubernetesClusterId\" | \"kubernetesClusterName\" | \"kubernetesNamespace\" | \"kubernetesPodLabel\" | \"kubernetesPodName\" | \"targetFilePath\" | \"ignoreVolumeFiles\" | \"ignoreVolumeMounts\" | \"operation\" | \"processExecutable\" | \"processName\" | \"sessionLeaderInteractive\"" + ], + "path": "x-pack/plugins/cloud_defend/common/v1.ts", + "deprecated": false, + "trackAdoption": false, + "initialIsOpen": false + }, + { + "parentPluginId": "cloudDefend", + "id": "def-common.SelectorType", + "type": "Type", + "tags": [], + "label": "SelectorType", + "description": [ + "\ncloud_defend/control types" + ], + "signature": [ + "\"file\" | \"process\"" + ], + "path": "x-pack/plugins/cloud_defend/common/v1.ts", + "deprecated": false, + "trackAdoption": false, + "initialIsOpen": false } ], "objects": [ diff --git a/api_docs/cloud_defend.mdx b/api_docs/cloud_defend.mdx index ba6ba37c06527..f49cbd9c5a580 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: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'cloudDefend'] --- import cloudDefendObj from './cloud_defend.devdocs.json'; @@ -21,7 +21,7 @@ Contact [@elastic/sec-cloudnative-integrations](https://github.com/orgs/elastic/ | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 24 | 0 | 16 | 2 | +| 52 | 0 | 43 | 2 | ## Client diff --git a/api_docs/cloud_experiments.mdx b/api_docs/cloud_experiments.mdx index 2da97ea50451a..761b0051c62c0 100644 --- a/api_docs/cloud_experiments.mdx +++ b/api_docs/cloud_experiments.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/cloudExperiments title: "cloudExperiments" image: https://source.unsplash.com/400x175/?github description: API docs for the cloudExperiments plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'cloudExperiments'] --- import cloudExperimentsObj from './cloud_experiments.devdocs.json'; diff --git a/api_docs/cloud_security_posture.mdx b/api_docs/cloud_security_posture.mdx index 7934e4dde0c69..caea84b083d56 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: 2023-07-17 +date: 2023-07-18 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 a95f7047b88f6..99f1d94d1f45a 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: 2023-07-17 +date: 2023-07-18 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 95c8400a8ff60..35253cc69fbea 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: 2023-07-17 +date: 2023-07-18 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 603f98b534a1c..1793513b2e37b 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: 2023-07-17 +date: 2023-07-18 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 c734f9104b9a2..9cc5f9e7ed895 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: 2023-07-17 +date: 2023-07-18 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 54aecb8e955aa..5c9a505e9c793 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: 2023-07-17 +date: 2023-07-18 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 cbb8648c1f8f8..9086b04d9d596 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: 2023-07-17 +date: 2023-07-18 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 03afb7ec46aff..51db0fa099496 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: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'data'] --- import dataObj from './data.devdocs.json'; diff --git a/api_docs/data_query.mdx b/api_docs/data_query.mdx index f63936ca74079..289d1bf61d346 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: 2023-07-17 +date: 2023-07-18 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 ab4d1cdf6e2ad..bb6fadd343fa0 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: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'data.search'] --- import dataSearchObj from './data_search.devdocs.json'; diff --git a/api_docs/data_view_editor.mdx b/api_docs/data_view_editor.mdx index e2f65f0d65a26..ea6d8d385d049 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: 2023-07-17 +date: 2023-07-18 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 51b26694c8219..bce356484fb58 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: 2023-07-17 +date: 2023-07-18 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 722c259e14d98..117d88038bfd6 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: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'dataViewManagement'] --- import dataViewManagementObj from './data_view_management.devdocs.json'; diff --git a/api_docs/data_views.mdx b/api_docs/data_views.mdx index e67167bc21355..41229fb55fd05 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: 2023-07-17 +date: 2023-07-18 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 ca985e0804864..d66d6c4dbdb1d 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: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'dataVisualizer'] --- import dataVisualizerObj from './data_visualizer.devdocs.json'; diff --git a/api_docs/deprecations_by_api.mdx b/api_docs/deprecations_by_api.mdx index b52f25aa46888..37523094d7228 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: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana'] --- @@ -28,7 +28,7 @@ tags: ['contributor', 'dev', 'apidocs', 'kibana'] | | home, data, esUiShared, savedObjectsManagement, exploratoryView, fleet, observability, ml, apm, indexLifecycleManagement, observabilityOnboarding, synthetics, upgradeAssistant, uptime, ux, kibanaOverview | - | | | encryptedSavedObjects, actions, data, ml, logstash, securitySolution, cloudChat | - | | | actions, ml, savedObjectsTagging, enterpriseSearch | - | -| | @kbn/core-saved-objects-browser-internal, @kbn/core, savedObjects, embeddable, presentationUtil, visualizations, aiops, ml, dataVisualizer, dashboardEnhanced, graph, uptime, lens, securitySolution, eventAnnotation, @kbn/core-saved-objects-browser-mocks | - | +| | @kbn/core-saved-objects-browser-internal, @kbn/core, savedObjects, presentationUtil, visualizations, aiops, ml, dataVisualizer, dashboardEnhanced, graph, uptime, lens, securitySolution, eventAnnotation, @kbn/core-saved-objects-browser-mocks | - | | | @kbn/core, savedObjects, embeddable, visualizations, canvas, graph, ml, @kbn/core-saved-objects-common, @kbn/core-saved-objects-server, actions, alerting, savedSearch, enterpriseSearch, securitySolution, taskManager, @kbn/core-saved-objects-server-internal, @kbn/core-saved-objects-api-server | - | | | observability, @kbn/securitysolution-data-table, securitySolution | - | | | @kbn/core-saved-objects-api-browser, @kbn/core, savedObjects, savedObjectsManagement, visualizations, savedObjectsTagging, eventAnnotation, lens, graph, dashboard, savedObjectsTaggingOss, kibanaUtils, expressions, data, embeddable, controls, uiActionsEnhanced, cases, maps, canvas, dashboardEnhanced, globalSearchProviders, infra | - | diff --git a/api_docs/deprecations_by_plugin.mdx b/api_docs/deprecations_by_plugin.mdx index c5e5bf07b4e53..7a9b1443fda31 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: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana'] --- @@ -605,8 +605,7 @@ tags: ['contributor', 'dev', 'apidocs', 'kibana'] | ---------------|-----------|-----------| | | [attribute_service.tsx](https://github.com/elastic/kibana/tree/main/src/plugins/embeddable/public/lib/attribute_service/attribute_service.tsx#:~:text=SavedObjectSaveModal), [attribute_service.tsx](https://github.com/elastic/kibana/tree/main/src/plugins/embeddable/public/lib/attribute_service/attribute_service.tsx#:~:text=SavedObjectSaveModal) | 8.8.0 | | | [container.test.ts](https://github.com/elastic/kibana/tree/main/src/plugins/embeddable/public/tests/container.test.ts#:~:text=executeTriggerActions), [container.test.ts](https://github.com/elastic/kibana/tree/main/src/plugins/embeddable/public/tests/container.test.ts#:~:text=executeTriggerActions), [container.test.ts](https://github.com/elastic/kibana/tree/main/src/plugins/embeddable/public/tests/container.test.ts#:~:text=executeTriggerActions), [container.test.ts](https://github.com/elastic/kibana/tree/main/src/plugins/embeddable/public/tests/container.test.ts#:~:text=executeTriggerActions), [explicit_input.test.ts](https://github.com/elastic/kibana/tree/main/src/plugins/embeddable/public/tests/explicit_input.test.ts#:~:text=executeTriggerActions) | - | -| | [add_panel_flyout.tsx](https://github.com/elastic/kibana/tree/main/src/plugins/embeddable/public/lib/panel/panel_header/panel_actions/add_panel/add_panel_flyout.tsx#:~:text=SimpleSavedObject), [add_panel_flyout.tsx](https://github.com/elastic/kibana/tree/main/src/plugins/embeddable/public/lib/panel/panel_header/panel_actions/add_panel/add_panel_flyout.tsx#:~:text=SimpleSavedObject), [add_panel_flyout.tsx](https://github.com/elastic/kibana/tree/main/src/plugins/embeddable/public/lib/panel/panel_header/panel_actions/add_panel/add_panel_flyout.tsx#:~:text=SimpleSavedObject) | - | -| | [add_panel_flyout.tsx](https://github.com/elastic/kibana/tree/main/src/plugins/embeddable/public/lib/panel/panel_header/panel_actions/add_panel/add_panel_flyout.tsx#:~:text=SavedObjectAttributes), [add_panel_flyout.tsx](https://github.com/elastic/kibana/tree/main/src/plugins/embeddable/public/lib/panel/panel_header/panel_actions/add_panel/add_panel_flyout.tsx#:~:text=SavedObjectAttributes), [add_panel_flyout.tsx](https://github.com/elastic/kibana/tree/main/src/plugins/embeddable/public/lib/panel/panel_header/panel_actions/add_panel/add_panel_flyout.tsx#:~:text=SavedObjectAttributes), [default_embeddable_factory_provider.ts](https://github.com/elastic/kibana/tree/main/src/plugins/embeddable/public/lib/embeddables/default_embeddable_factory_provider.ts#:~:text=SavedObjectAttributes), [default_embeddable_factory_provider.ts](https://github.com/elastic/kibana/tree/main/src/plugins/embeddable/public/lib/embeddables/default_embeddable_factory_provider.ts#:~:text=SavedObjectAttributes), [types.ts](https://github.com/elastic/kibana/tree/main/src/plugins/embeddable/public/types.ts#:~:text=SavedObjectAttributes), [types.ts](https://github.com/elastic/kibana/tree/main/src/plugins/embeddable/public/types.ts#:~:text=SavedObjectAttributes) | - | +| | [default_embeddable_factory_provider.ts](https://github.com/elastic/kibana/tree/main/src/plugins/embeddable/public/lib/embeddables/default_embeddable_factory_provider.ts#:~:text=SavedObjectAttributes), [default_embeddable_factory_provider.ts](https://github.com/elastic/kibana/tree/main/src/plugins/embeddable/public/lib/embeddables/default_embeddable_factory_provider.ts#:~:text=SavedObjectAttributes), [types.ts](https://github.com/elastic/kibana/tree/main/src/plugins/embeddable/public/types.ts#:~:text=SavedObjectAttributes), [types.ts](https://github.com/elastic/kibana/tree/main/src/plugins/embeddable/public/types.ts#:~:text=SavedObjectAttributes) | - | | | [migrate_base_input.ts](https://github.com/elastic/kibana/tree/main/src/plugins/embeddable/common/lib/migrate_base_input.ts#:~:text=SavedObjectReference), [migrate_base_input.ts](https://github.com/elastic/kibana/tree/main/src/plugins/embeddable/common/lib/migrate_base_input.ts#:~:text=SavedObjectReference), [migrate_base_input.ts](https://github.com/elastic/kibana/tree/main/src/plugins/embeddable/common/lib/migrate_base_input.ts#:~:text=SavedObjectReference), [inject.ts](https://github.com/elastic/kibana/tree/main/src/plugins/embeddable/common/lib/inject.ts#:~:text=SavedObjectReference), [inject.ts](https://github.com/elastic/kibana/tree/main/src/plugins/embeddable/common/lib/inject.ts#:~:text=SavedObjectReference) | - | diff --git a/api_docs/deprecations_by_team.mdx b/api_docs/deprecations_by_team.mdx index f7ccfb3df1b9a..9e591b1549daf 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: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana'] --- diff --git a/api_docs/dev_tools.mdx b/api_docs/dev_tools.mdx index fb0291e9a37d1..eee0640d021d8 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: 2023-07-17 +date: 2023-07-18 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 298907d40ba87..f2d2a26a7264e 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: 2023-07-17 +date: 2023-07-18 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 9b61581861827..56b69bf1d9a2a 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: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'discoverEnhanced'] --- import discoverEnhancedObj from './discover_enhanced.devdocs.json'; diff --git a/api_docs/ecs_data_quality_dashboard.mdx b/api_docs/ecs_data_quality_dashboard.mdx index 3ad704d4b7c09..52b7806f5b047 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: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'ecsDataQualityDashboard'] --- import ecsDataQualityDashboardObj from './ecs_data_quality_dashboard.devdocs.json'; diff --git a/api_docs/embeddable.devdocs.json b/api_docs/embeddable.devdocs.json index 0c37b31929ff6..a3efb8ed05233 100644 --- a/api_docs/embeddable.devdocs.json +++ b/api_docs/embeddable.devdocs.json @@ -4,64 +4,28 @@ "classes": [ { "parentPluginId": "embeddable", - "id": "def-public.AddPanelAction", + "id": "def-public.AttributeService", "type": "Class", "tags": [], - "label": "AddPanelAction", + "label": "AttributeService", "description": [], "signature": [ { "pluginId": "embeddable", "scope": "public", "docId": "kibEmbeddablePluginApi", - "section": "def-public.AddPanelAction", - "text": "AddPanelAction" - }, - " implements ", - { - "pluginId": "uiActions", - "scope": "public", - "docId": "kibUiActionsPluginApi", - "section": "def-public.Action", - "text": "Action" + "section": "def-public.AttributeService", + "text": "AttributeService" }, - "" + "" ], - "path": "src/plugins/embeddable/public/lib/panel/panel_header/panel_actions/add_panel/add_panel_action.ts", + "path": "src/plugins/embeddable/public/lib/attribute_service/attribute_service.tsx", "deprecated": false, "trackAdoption": false, "children": [ { "parentPluginId": "embeddable", - "id": "def-public.AddPanelAction.type", - "type": "string", - "tags": [], - "label": "type", - "description": [], - "signature": [ - "\"ACTION_ADD_PANEL\"" - ], - "path": "src/plugins/embeddable/public/lib/panel/panel_header/panel_actions/add_panel/add_panel_action.ts", - "deprecated": false, - "trackAdoption": false - }, - { - "parentPluginId": "embeddable", - "id": "def-public.AddPanelAction.id", - "type": "string", - "tags": [], - "label": "id", - "description": [], - "signature": [ - "\"ACTION_ADD_PANEL\"" - ], - "path": "src/plugins/embeddable/public/lib/panel/panel_header/panel_actions/add_panel/add_panel_action.ts", - "deprecated": false, - "trackAdoption": false - }, - { - "parentPluginId": "embeddable", - "id": "def-public.AddPanelAction.Unnamed", + "id": "def-public.AttributeService.Unnamed", "type": "Function", "tags": [], "label": "Constructor", @@ -69,90 +33,71 @@ "signature": [ "any" ], - "path": "src/plugins/embeddable/public/lib/panel/panel_header/panel_actions/add_panel/add_panel_action.ts", + "path": "src/plugins/embeddable/public/lib/attribute_service/attribute_service.tsx", "deprecated": false, "trackAdoption": false, "children": [ { "parentPluginId": "embeddable", - "id": "def-public.AddPanelAction.Unnamed.$1", - "type": "Function", + "id": "def-public.AttributeService.Unnamed.$1", + "type": "string", "tags": [], - "label": "getFactory", + "label": "type", + "description": [], + "signature": [ + "string" + ], + "path": "src/plugins/embeddable/public/lib/attribute_service/attribute_service.tsx", + "deprecated": false, + "trackAdoption": false, + "isRequired": true + }, + { + "parentPluginId": "embeddable", + "id": "def-public.AttributeService.Unnamed.$2", + "type": "Object", + "tags": [], + "label": "toasts", "description": [], "signature": [ - " = ", - { - "pluginId": "embeddable", - "scope": "public", - "docId": "kibEmbeddablePluginApi", - "section": "def-public.IEmbeddable", - "text": "IEmbeddable" - }, - ">(embeddableFactoryId: string) => ", - { - "pluginId": "embeddable", - "scope": "public", - "docId": "kibEmbeddablePluginApi", - "section": "def-public.EmbeddableFactory", - "text": "EmbeddableFactory" - }, - " | undefined" + "docId": "kibKbnCoreNotificationsBrowserPluginApi", + "section": "def-common.IToasts", + "text": "IToasts" + } + ], + "path": "src/plugins/embeddable/public/lib/attribute_service/attribute_service.tsx", + "deprecated": false, + "trackAdoption": false, + "isRequired": true + }, + { + "parentPluginId": "embeddable", + "id": "def-public.AttributeService.Unnamed.$3", + "type": "Object", + "tags": [], + "label": "options", + "description": [], + "signature": [ + "AttributeServiceOptions", + "" ], - "path": "src/plugins/embeddable/public/lib/panel/panel_header/panel_actions/add_panel/add_panel_action.ts", + "path": "src/plugins/embeddable/public/lib/attribute_service/attribute_service.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true }, { "parentPluginId": "embeddable", - "id": "def-public.AddPanelAction.Unnamed.$2", + "id": "def-public.AttributeService.Unnamed.$4", "type": "Function", "tags": [], - "label": "getAllFactories", + "label": "getEmbeddableFactory", "description": [], "signature": [ - "() => IterableIterator<", + "((embeddableFactoryId: string) => ", { "pluginId": "embeddable", "scope": "public", @@ -200,102 +145,105 @@ "section": "def-public.EmbeddableOutput", "text": "EmbeddableOutput" }, - ", any>, unknown>>" - ], - "path": "src/plugins/embeddable/public/lib/panel/panel_header/panel_actions/add_panel/add_panel_action.ts", - "deprecated": false, - "trackAdoption": false, - "isRequired": true - }, - { - "parentPluginId": "embeddable", - "id": "def-public.AddPanelAction.Unnamed.$3", - "type": "Object", - "tags": [], - "label": "overlays", - "description": [], - "signature": [ - { - "pluginId": "@kbn/core-overlays-browser", - "scope": "common", - "docId": "kibKbnCoreOverlaysBrowserPluginApi", - "section": "def-common.OverlayStart", - "text": "OverlayStart" - } + ", any>, unknown>) | undefined" ], - "path": "src/plugins/embeddable/public/lib/panel/panel_header/panel_actions/add_panel/add_panel_action.ts", + "path": "src/plugins/embeddable/public/lib/attribute_service/attribute_service.tsx", "deprecated": false, "trackAdoption": false, - "isRequired": true - }, + "isRequired": false + } + ], + "returnComment": [] + }, + { + "parentPluginId": "embeddable", + "id": "def-public.AttributeService.unwrapAttributes", + "type": "Function", + "tags": [], + "label": "unwrapAttributes", + "description": [], + "signature": [ + "(input: ValType | RefType) => Promise<", + "AttributeServiceUnwrapResult", + ">" + ], + "path": "src/plugins/embeddable/public/lib/attribute_service/attribute_service.tsx", + "deprecated": false, + "trackAdoption": false, + "children": [ { "parentPluginId": "embeddable", - "id": "def-public.AddPanelAction.Unnamed.$4", - "type": "Object", + "id": "def-public.AttributeService.unwrapAttributes.$1", + "type": "CompoundType", "tags": [], - "label": "notifications", + "label": "input", "description": [], "signature": [ - { - "pluginId": "@kbn/core-notifications-browser", - "scope": "common", - "docId": "kibKbnCoreNotificationsBrowserPluginApi", - "section": "def-common.NotificationsStart", - "text": "NotificationsStart" - } + "ValType | RefType" ], - "path": "src/plugins/embeddable/public/lib/panel/panel_header/panel_actions/add_panel/add_panel_action.ts", + "path": "src/plugins/embeddable/public/lib/attribute_service/attribute_service.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true - }, + } + ], + "returnComment": [] + }, + { + "parentPluginId": "embeddable", + "id": "def-public.AttributeService.wrapAttributes", + "type": "Function", + "tags": [], + "label": "wrapAttributes", + "description": [], + "signature": [ + "(newAttributes: SavedObjectAttributes, useRefType: boolean, input?: ValType | RefType | undefined) => Promise>" + ], + "path": "src/plugins/embeddable/public/lib/attribute_service/attribute_service.tsx", + "deprecated": false, + "trackAdoption": false, + "children": [ { "parentPluginId": "embeddable", - "id": "def-public.AddPanelAction.Unnamed.$5", - "type": "CompoundType", + "id": "def-public.AttributeService.wrapAttributes.$1", + "type": "Uncategorized", "tags": [], - "label": "SavedObjectFinder", + "label": "newAttributes", "description": [], "signature": [ - "React.ComponentType" + "SavedObjectAttributes" ], - "path": "src/plugins/embeddable/public/lib/panel/panel_header/panel_actions/add_panel/add_panel_action.ts", + "path": "src/plugins/embeddable/public/lib/attribute_service/attribute_service.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true }, { "parentPluginId": "embeddable", - "id": "def-public.AddPanelAction.Unnamed.$6", - "type": "Object", + "id": "def-public.AttributeService.wrapAttributes.$2", + "type": "boolean", "tags": [], - "label": "theme", + "label": "useRefType", "description": [], "signature": [ - { - "pluginId": "@kbn/core-theme-browser", - "scope": "common", - "docId": "kibKbnCoreThemeBrowserPluginApi", - "section": "def-common.ThemeServiceStart", - "text": "ThemeServiceStart" - } + "boolean" ], - "path": "src/plugins/embeddable/public/lib/panel/panel_header/panel_actions/add_panel/add_panel_action.ts", + "path": "src/plugins/embeddable/public/lib/attribute_service/attribute_service.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true }, { "parentPluginId": "embeddable", - "id": "def-public.AddPanelAction.Unnamed.$7", - "type": "Function", + "id": "def-public.AttributeService.wrapAttributes.$3", + "type": "CompoundType", "tags": [], - "label": "reportUiCounter", + "label": "input", "description": [], "signature": [ - "((appName: string, type: string, eventNames: string | string[], count?: number | undefined) => void) | undefined" + "ValType | RefType | undefined" ], - "path": "src/plugins/embeddable/public/lib/panel/panel_header/panel_actions/add_panel/add_panel_action.ts", + "path": "src/plugins/embeddable/public/lib/attribute_service/attribute_service.tsx", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -305,76 +253,61 @@ }, { "parentPluginId": "embeddable", - "id": "def-public.AddPanelAction.getDisplayName", + "id": "def-public.AttributeService.inputIsRefType", "type": "Function", "tags": [], - "label": "getDisplayName", + "label": "inputIsRefType", "description": [], "signature": [ - "() => any" + "(input: ValType | RefType) => input is RefType" ], - "path": "src/plugins/embeddable/public/lib/panel/panel_header/panel_actions/add_panel/add_panel_action.ts", + "path": "src/plugins/embeddable/public/lib/attribute_service/attribute_service.tsx", "deprecated": false, "trackAdoption": false, - "children": [], - "returnComment": [] - }, - { - "parentPluginId": "embeddable", - "id": "def-public.AddPanelAction.getIconType", - "type": "Function", - "tags": [], - "label": "getIconType", - "description": [], - "signature": [ - "() => string" + "children": [ + { + "parentPluginId": "embeddable", + "id": "def-public.AttributeService.inputIsRefType.$1", + "type": "CompoundType", + "tags": [], + "label": "input", + "description": [], + "signature": [ + "ValType | RefType" + ], + "path": "src/plugins/embeddable/public/lib/attribute_service/attribute_service.tsx", + "deprecated": false, + "trackAdoption": false, + "isRequired": true + } ], - "path": "src/plugins/embeddable/public/lib/panel/panel_header/panel_actions/add_panel/add_panel_action.ts", - "deprecated": false, - "trackAdoption": false, - "children": [], "returnComment": [] }, { "parentPluginId": "embeddable", - "id": "def-public.AddPanelAction.isCompatible", + "id": "def-public.AttributeService.getInputAsValueType", "type": "Function", "tags": [], - "label": "isCompatible", + "label": "getInputAsValueType", "description": [], "signature": [ - "(context: ", - { - "pluginId": "uiActions", - "scope": "public", - "docId": "kibUiActionsPluginApi", - "section": "def-public.ActionExecutionContext", - "text": "ActionExecutionContext" - }, - ") => Promise" + "(input: ValType | RefType) => Promise" ], - "path": "src/plugins/embeddable/public/lib/panel/panel_header/panel_actions/add_panel/add_panel_action.ts", + "path": "src/plugins/embeddable/public/lib/attribute_service/attribute_service.tsx", "deprecated": false, "trackAdoption": false, "children": [ { "parentPluginId": "embeddable", - "id": "def-public.AddPanelAction.isCompatible.$1", + "id": "def-public.AttributeService.getInputAsValueType.$1", "type": "CompoundType", "tags": [], - "label": "context", + "label": "input", "description": [], "signature": [ - { - "pluginId": "uiActions", - "scope": "public", - "docId": "kibUiActionsPluginApi", - "section": "def-public.ActionExecutionContext", - "text": "ActionExecutionContext" - }, - "" + "ValType | RefType" ], - "path": "src/plugins/embeddable/public/lib/panel/panel_header/panel_actions/add_panel/add_panel_action.ts", + "path": "src/plugins/embeddable/public/lib/attribute_service/attribute_service.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -384,47 +317,47 @@ }, { "parentPluginId": "embeddable", - "id": "def-public.AddPanelAction.execute", + "id": "def-public.AttributeService.getInputAsRefType", "type": "Function", "tags": [], - "label": "execute", + "label": "getInputAsRefType", "description": [], "signature": [ - "(context: ", - { - "pluginId": "uiActions", - "scope": "public", - "docId": "kibUiActionsPluginApi", - "section": "def-public.ActionExecutionContext", - "text": "ActionExecutionContext" - }, - ") => Promise" + "(input: ValType | RefType, saveOptions?: { showSaveModal: boolean; saveModalTitle?: string | undefined; } | { title: string; } | undefined) => Promise" ], - "path": "src/plugins/embeddable/public/lib/panel/panel_header/panel_actions/add_panel/add_panel_action.ts", + "path": "src/plugins/embeddable/public/lib/attribute_service/attribute_service.tsx", "deprecated": false, "trackAdoption": false, "children": [ { "parentPluginId": "embeddable", - "id": "def-public.AddPanelAction.execute.$1", + "id": "def-public.AttributeService.getInputAsRefType.$1", "type": "CompoundType", "tags": [], - "label": "context", + "label": "input", "description": [], "signature": [ - { - "pluginId": "uiActions", - "scope": "public", - "docId": "kibUiActionsPluginApi", - "section": "def-public.ActionExecutionContext", - "text": "ActionExecutionContext" - }, - "" + "ValType | RefType" ], - "path": "src/plugins/embeddable/public/lib/panel/panel_header/panel_actions/add_panel/add_panel_action.ts", + "path": "src/plugins/embeddable/public/lib/attribute_service/attribute_service.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true + }, + { + "parentPluginId": "embeddable", + "id": "def-public.AttributeService.getInputAsRefType.$2", + "type": "CompoundType", + "tags": [], + "label": "saveOptions", + "description": [], + "signature": [ + "{ showSaveModal: boolean; saveModalTitle?: string | undefined; } | { title: string; } | undefined" + ], + "path": "src/plugins/embeddable/public/lib/attribute_service/attribute_service.tsx", + "deprecated": false, + "trackAdoption": false, + "isRequired": false } ], "returnComment": [] @@ -434,28 +367,67 @@ }, { "parentPluginId": "embeddable", - "id": "def-public.AttributeService", + "id": "def-public.Container", "type": "Class", "tags": [], - "label": "AttributeService", + "label": "Container", "description": [], "signature": [ { "pluginId": "embeddable", "scope": "public", "docId": "kibEmbeddablePluginApi", - "section": "def-public.AttributeService", - "text": "AttributeService" + "section": "def-public.Container", + "text": "Container" }, - "" + " extends ", + { + "pluginId": "embeddable", + "scope": "public", + "docId": "kibEmbeddablePluginApi", + "section": "def-public.Embeddable", + "text": "Embeddable" + }, + " implements ", + { + "pluginId": "embeddable", + "scope": "public", + "docId": "kibEmbeddablePluginApi", + "section": "def-public.IContainer", + "text": "IContainer" + }, + "" ], - "path": "src/plugins/embeddable/public/lib/attribute_service/attribute_service.tsx", + "path": "src/plugins/embeddable/public/lib/containers/container.ts", "deprecated": false, "trackAdoption": false, "children": [ { "parentPluginId": "embeddable", - "id": "def-public.AttributeService.Unnamed", + "id": "def-public.Container.isContainer", + "type": "boolean", + "tags": [], + "label": "isContainer", + "description": [], + "path": "src/plugins/embeddable/public/lib/containers/container.ts", + "deprecated": false, + "trackAdoption": false + }, + { + "parentPluginId": "embeddable", + "id": "def-public.Container.children", + "type": "Object", + "tags": [], + "label": "children", + "description": [], + "path": "src/plugins/embeddable/public/lib/containers/container.ts", + "deprecated": false, + "trackAdoption": false, + "children": [] + }, + { + "parentPluginId": "embeddable", + "id": "def-public.Container.Unnamed", "type": "Function", "tags": [], "label": "Constructor", @@ -463,79 +435,57 @@ "signature": [ "any" ], - "path": "src/plugins/embeddable/public/lib/attribute_service/attribute_service.tsx", + "path": "src/plugins/embeddable/public/lib/containers/container.ts", "deprecated": false, "trackAdoption": false, "children": [ { "parentPluginId": "embeddable", - "id": "def-public.AttributeService.Unnamed.$1", - "type": "string", - "tags": [], - "label": "type", - "description": [], - "signature": [ - "string" - ], - "path": "src/plugins/embeddable/public/lib/attribute_service/attribute_service.tsx", - "deprecated": false, - "trackAdoption": false, - "isRequired": true - }, - { - "parentPluginId": "embeddable", - "id": "def-public.AttributeService.Unnamed.$2", - "type": "Object", + "id": "def-public.Container.Unnamed.$1", + "type": "Uncategorized", "tags": [], - "label": "toasts", + "label": "input", "description": [], "signature": [ - { - "pluginId": "@kbn/core-notifications-browser", - "scope": "common", - "docId": "kibKbnCoreNotificationsBrowserPluginApi", - "section": "def-common.IToasts", - "text": "IToasts" - } + "TContainerInput" ], - "path": "src/plugins/embeddable/public/lib/attribute_service/attribute_service.tsx", + "path": "src/plugins/embeddable/public/lib/containers/container.ts", "deprecated": false, "trackAdoption": false, "isRequired": true }, { "parentPluginId": "embeddable", - "id": "def-public.AttributeService.Unnamed.$3", - "type": "Object", + "id": "def-public.Container.Unnamed.$2", + "type": "Uncategorized", "tags": [], - "label": "options", + "label": "output", "description": [], "signature": [ - "AttributeServiceOptions", - "" + "TContainerOutput" ], - "path": "src/plugins/embeddable/public/lib/attribute_service/attribute_service.tsx", + "path": "src/plugins/embeddable/public/lib/containers/container.ts", "deprecated": false, "trackAdoption": false, "isRequired": true }, { "parentPluginId": "embeddable", - "id": "def-public.AttributeService.Unnamed.$4", + "id": "def-public.Container.Unnamed.$3", "type": "Function", "tags": [], - "label": "getEmbeddableFactory", + "label": "getFactory", "description": [], "signature": [ - "((embeddableFactoryId: string) => ", + " = ", { "pluginId": "embeddable", - "scope": "common", + "scope": "public", "docId": "kibEmbeddablePluginApi", - "section": "def-common.EmbeddableInput", - "text": "EmbeddableInput" + "section": "def-public.IEmbeddable", + "text": "IEmbeddable" }, - ", ", + ">(embeddableFactoryId: string) => ", { "pluginId": "embeddable", "scope": "public", "docId": "kibEmbeddablePluginApi", - "section": "def-public.EmbeddableOutput", - "text": "EmbeddableOutput" + "section": "def-public.EmbeddableFactory", + "text": "EmbeddableFactory" }, - ", any>, unknown>) | undefined" + " | undefined" ], - "path": "src/plugins/embeddable/public/lib/attribute_service/attribute_service.tsx", + "path": "src/plugins/embeddable/public/lib/containers/container.ts", "deprecated": false, "trackAdoption": false, - "isRequired": false - } - ], - "returnComment": [] - }, - { - "parentPluginId": "embeddable", - "id": "def-public.AttributeService.unwrapAttributes", - "type": "Function", - "tags": [], - "label": "unwrapAttributes", - "description": [], - "signature": [ - "(input: ValType | RefType) => Promise<", - "AttributeServiceUnwrapResult", - ">" - ], - "path": "src/plugins/embeddable/public/lib/attribute_service/attribute_service.tsx", - "deprecated": false, - "trackAdoption": false, - "children": [ + "isRequired": true + }, { "parentPluginId": "embeddable", - "id": "def-public.AttributeService.unwrapAttributes.$1", - "type": "CompoundType", + "id": "def-public.Container.Unnamed.$4", + "type": "Object", "tags": [], - "label": "input", + "label": "parent", "description": [], "signature": [ - "ValType | RefType" - ], - "path": "src/plugins/embeddable/public/lib/attribute_service/attribute_service.tsx", - "deprecated": false, - "trackAdoption": false, - "isRequired": true - } - ], - "returnComment": [] - }, - { - "parentPluginId": "embeddable", - "id": "def-public.AttributeService.wrapAttributes", - "type": "Function", - "tags": [], - "label": "wrapAttributes", - "description": [], - "signature": [ - "(newAttributes: SavedObjectAttributes, useRefType: boolean, input?: ValType | RefType | undefined) => Promise>" - ], - "path": "src/plugins/embeddable/public/lib/attribute_service/attribute_service.tsx", - "deprecated": false, - "trackAdoption": false, - "children": [ - { - "parentPluginId": "embeddable", - "id": "def-public.AttributeService.wrapAttributes.$1", - "type": "Uncategorized", - "tags": [], - "label": "newAttributes", - "description": [], - "signature": [ - "SavedObjectAttributes" - ], - "path": "src/plugins/embeddable/public/lib/attribute_service/attribute_service.tsx", - "deprecated": false, - "trackAdoption": false, - "isRequired": true - }, - { - "parentPluginId": "embeddable", - "id": "def-public.AttributeService.wrapAttributes.$2", - "type": "boolean", - "tags": [], - "label": "useRefType", - "description": [], - "signature": [ - "boolean" + { + "pluginId": "embeddable", + "scope": "public", + "docId": "kibEmbeddablePluginApi", + "section": "def-public.IContainer", + "text": "IContainer" + }, + "<{}, ", + { + "pluginId": "embeddable", + "scope": "public", + "docId": "kibEmbeddablePluginApi", + "section": "def-public.ContainerInput", + "text": "ContainerInput" + }, + "<{}>, ", + { + "pluginId": "embeddable", + "scope": "public", + "docId": "kibEmbeddablePluginApi", + "section": "def-public.ContainerOutput", + "text": "ContainerOutput" + }, + "> | undefined" ], - "path": "src/plugins/embeddable/public/lib/attribute_service/attribute_service.tsx", + "path": "src/plugins/embeddable/public/lib/containers/container.ts", "deprecated": false, "trackAdoption": false, - "isRequired": true + "isRequired": false }, { "parentPluginId": "embeddable", - "id": "def-public.AttributeService.wrapAttributes.$3", - "type": "CompoundType", + "id": "def-public.Container.Unnamed.$5", + "type": "Object", "tags": [], - "label": "input", + "label": "settings", "description": [], "signature": [ - "ValType | RefType | undefined" + { + "pluginId": "embeddable", + "scope": "public", + "docId": "kibEmbeddablePluginApi", + "section": "def-public.EmbeddableContainerSettings", + "text": "EmbeddableContainerSettings" + }, + " | undefined" ], - "path": "src/plugins/embeddable/public/lib/attribute_service/attribute_service.tsx", + "path": "src/plugins/embeddable/public/lib/containers/container.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -683,61 +605,76 @@ }, { "parentPluginId": "embeddable", - "id": "def-public.AttributeService.inputIsRefType", + "id": "def-public.Container.setChildLoaded", "type": "Function", "tags": [], - "label": "inputIsRefType", + "label": "setChildLoaded", "description": [], "signature": [ - "(input: ValType | RefType) => input is RefType" - ], - "path": "src/plugins/embeddable/public/lib/attribute_service/attribute_service.tsx", - "deprecated": false, - "trackAdoption": false, - "children": [ + "(embeddable: ", { - "parentPluginId": "embeddable", - "id": "def-public.AttributeService.inputIsRefType.$1", - "type": "CompoundType", - "tags": [], - "label": "input", - "description": [], - "signature": [ - "ValType | RefType" - ], - "path": "src/plugins/embeddable/public/lib/attribute_service/attribute_service.tsx", - "deprecated": false, - "trackAdoption": false, - "isRequired": true - } - ], - "returnComment": [] - }, - { - "parentPluginId": "embeddable", - "id": "def-public.AttributeService.getInputAsValueType", - "type": "Function", - "tags": [], - "label": "getInputAsValueType", - "description": [], - "signature": [ - "(input: ValType | RefType) => Promise" + "pluginId": "embeddable", + "scope": "public", + "docId": "kibEmbeddablePluginApi", + "section": "def-public.IEmbeddable", + "text": "IEmbeddable" + }, + "<", + { + "pluginId": "embeddable", + "scope": "common", + "docId": "kibEmbeddablePluginApi", + "section": "def-common.EmbeddableInput", + "text": "EmbeddableInput" + }, + ", ", + { + "pluginId": "embeddable", + "scope": "public", + "docId": "kibEmbeddablePluginApi", + "section": "def-public.EmbeddableOutput", + "text": "EmbeddableOutput" + }, + ", any>) => void" ], - "path": "src/plugins/embeddable/public/lib/attribute_service/attribute_service.tsx", + "path": "src/plugins/embeddable/public/lib/containers/container.ts", "deprecated": false, "trackAdoption": false, "children": [ { "parentPluginId": "embeddable", - "id": "def-public.AttributeService.getInputAsValueType.$1", - "type": "CompoundType", + "id": "def-public.Container.setChildLoaded.$1", + "type": "Object", "tags": [], - "label": "input", + "label": "embeddable", "description": [], "signature": [ - "ValType | RefType" + { + "pluginId": "embeddable", + "scope": "public", + "docId": "kibEmbeddablePluginApi", + "section": "def-public.IEmbeddable", + "text": "IEmbeddable" + }, + "<", + { + "pluginId": "embeddable", + "scope": "common", + "docId": "kibEmbeddablePluginApi", + "section": "def-common.EmbeddableInput", + "text": "EmbeddableInput" + }, + ", ", + { + "pluginId": "embeddable", + "scope": "public", + "docId": "kibEmbeddablePluginApi", + "section": "def-public.EmbeddableOutput", + "text": "EmbeddableOutput" + }, + ", any>" ], - "path": "src/plugins/embeddable/public/lib/attribute_service/attribute_service.tsx", + "path": "src/plugins/embeddable/public/lib/containers/container.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -747,123 +684,148 @@ }, { "parentPluginId": "embeddable", - "id": "def-public.AttributeService.getInputAsRefType", + "id": "def-public.Container.updateInputForChild", "type": "Function", "tags": [], - "label": "getInputAsRefType", + "label": "updateInputForChild", "description": [], "signature": [ - "(input: ValType | RefType, saveOptions?: { showSaveModal: boolean; saveModalTitle?: string | undefined; } | { title: string; } | undefined) => Promise" + "(id: string, changes: Partial) => void" ], - "path": "src/plugins/embeddable/public/lib/attribute_service/attribute_service.tsx", + "path": "src/plugins/embeddable/public/lib/containers/container.ts", "deprecated": false, "trackAdoption": false, "children": [ { "parentPluginId": "embeddable", - "id": "def-public.AttributeService.getInputAsRefType.$1", - "type": "CompoundType", + "id": "def-public.Container.updateInputForChild.$1", + "type": "string", "tags": [], - "label": "input", + "label": "id", "description": [], "signature": [ - "ValType | RefType" + "string" ], - "path": "src/plugins/embeddable/public/lib/attribute_service/attribute_service.tsx", + "path": "src/plugins/embeddable/public/lib/containers/container.ts", "deprecated": false, "trackAdoption": false, "isRequired": true }, { "parentPluginId": "embeddable", - "id": "def-public.AttributeService.getInputAsRefType.$2", - "type": "CompoundType", + "id": "def-public.Container.updateInputForChild.$2", + "type": "Object", "tags": [], - "label": "saveOptions", + "label": "changes", "description": [], "signature": [ - "{ showSaveModal: boolean; saveModalTitle?: string | undefined; } | { title: string; } | undefined" + "Partial" ], - "path": "src/plugins/embeddable/public/lib/attribute_service/attribute_service.tsx", + "path": "src/plugins/embeddable/public/lib/containers/container.ts", "deprecated": false, "trackAdoption": false, - "isRequired": false + "isRequired": true } ], "returnComment": [] - } - ], - "initialIsOpen": false - }, - { - "parentPluginId": "embeddable", - "id": "def-public.Container", - "type": "Class", - "tags": [], - "label": "Container", - "description": [], - "signature": [ - { - "pluginId": "embeddable", - "scope": "public", - "docId": "kibEmbeddablePluginApi", - "section": "def-public.Container", - "text": "Container" }, - " extends ", { - "pluginId": "embeddable", - "scope": "public", - "docId": "kibEmbeddablePluginApi", - "section": "def-public.Embeddable", - "text": "Embeddable" - }, - " implements ", - { - "pluginId": "embeddable", - "scope": "public", - "docId": "kibEmbeddablePluginApi", - "section": "def-public.IContainer", - "text": "IContainer" - }, - "" - ], - "path": "src/plugins/embeddable/public/lib/containers/container.ts", - "deprecated": false, - "trackAdoption": false, - "children": [ - { - "parentPluginId": "embeddable", - "id": "def-public.Container.isContainer", - "type": "boolean", - "tags": [], - "label": "isContainer", - "description": [], - "path": "src/plugins/embeddable/public/lib/containers/container.ts", - "deprecated": false, - "trackAdoption": false - }, - { - "parentPluginId": "embeddable", - "id": "def-public.Container.children", - "type": "Object", - "tags": [], - "label": "children", - "description": [], - "path": "src/plugins/embeddable/public/lib/containers/container.ts", - "deprecated": false, - "trackAdoption": false, - "children": [] + "parentPluginId": "embeddable", + "id": "def-public.Container.reload", + "type": "Function", + "tags": [], + "label": "reload", + "description": [], + "signature": [ + "() => void" + ], + "path": "src/plugins/embeddable/public/lib/containers/container.ts", + "deprecated": false, + "trackAdoption": false, + "children": [], + "returnComment": [] }, { "parentPluginId": "embeddable", - "id": "def-public.Container.Unnamed", + "id": "def-public.Container.addNewEmbeddable", "type": "Function", "tags": [], - "label": "Constructor", + "label": "addNewEmbeddable", "description": [], "signature": [ - "any" + " = ", + { + "pluginId": "embeddable", + "scope": "public", + "docId": "kibEmbeddablePluginApi", + "section": "def-public.IEmbeddable", + "text": "IEmbeddable" + }, + ">(type: string, explicitInput: Partial) => Promise<", + { + "pluginId": "embeddable", + "scope": "public", + "docId": "kibEmbeddablePluginApi", + "section": "def-public.ErrorEmbeddable", + "text": "ErrorEmbeddable" + }, + " | E>" ], "path": "src/plugins/embeddable/public/lib/containers/container.ts", "deprecated": false, @@ -871,13 +833,13 @@ "children": [ { "parentPluginId": "embeddable", - "id": "def-public.Container.Unnamed.$1", - "type": "Uncategorized", + "id": "def-public.Container.addNewEmbeddable.$1", + "type": "string", "tags": [], - "label": "input", + "label": "type", "description": [], "signature": [ - "TContainerInput" + "string" ], "path": "src/plugins/embeddable/public/lib/containers/container.ts", "deprecated": false, @@ -886,84 +848,93 @@ }, { "parentPluginId": "embeddable", - "id": "def-public.Container.Unnamed.$2", - "type": "Uncategorized", + "id": "def-public.Container.addNewEmbeddable.$2", + "type": "Object", "tags": [], - "label": "output", + "label": "explicitInput", "description": [], "signature": [ - "TContainerOutput" + "Partial" ], "path": "src/plugins/embeddable/public/lib/containers/container.ts", "deprecated": false, "trackAdoption": false, "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "embeddable", + "id": "def-public.Container.replaceEmbeddable", + "type": "Function", + "tags": [], + "label": "replaceEmbeddable", + "description": [], + "signature": [ + " = ", + { + "pluginId": "embeddable", + "scope": "public", + "docId": "kibEmbeddablePluginApi", + "section": "def-public.IEmbeddable", + "text": "IEmbeddable" }, + ">(id: string, newExplicitInput: Partial, newType?: string | undefined) => Promise" + ], + "path": "src/plugins/embeddable/public/lib/containers/container.ts", + "deprecated": false, + "trackAdoption": false, + "children": [ { "parentPluginId": "embeddable", - "id": "def-public.Container.Unnamed.$3", - "type": "Function", + "id": "def-public.Container.replaceEmbeddable.$1", + "type": "string", "tags": [], - "label": "getFactory", + "label": "id", "description": [], "signature": [ - " = ", - { - "pluginId": "embeddable", - "scope": "public", - "docId": "kibEmbeddablePluginApi", - "section": "def-public.IEmbeddable", - "text": "IEmbeddable" - }, - ">(embeddableFactoryId: string) => ", - { - "pluginId": "embeddable", - "scope": "public", - "docId": "kibEmbeddablePluginApi", - "section": "def-public.EmbeddableFactory", - "text": "EmbeddableFactory" - }, - " | undefined" + "string" ], "path": "src/plugins/embeddable/public/lib/containers/container.ts", "deprecated": false, @@ -972,58 +943,28 @@ }, { "parentPluginId": "embeddable", - "id": "def-public.Container.Unnamed.$4", + "id": "def-public.Container.replaceEmbeddable.$2", "type": "Object", "tags": [], - "label": "parent", + "label": "newExplicitInput", "description": [], "signature": [ - { - "pluginId": "embeddable", - "scope": "public", - "docId": "kibEmbeddablePluginApi", - "section": "def-public.IContainer", - "text": "IContainer" - }, - "<{}, ", - { - "pluginId": "embeddable", - "scope": "public", - "docId": "kibEmbeddablePluginApi", - "section": "def-public.ContainerInput", - "text": "ContainerInput" - }, - "<{}>, ", - { - "pluginId": "embeddable", - "scope": "public", - "docId": "kibEmbeddablePluginApi", - "section": "def-public.ContainerOutput", - "text": "ContainerOutput" - }, - "> | undefined" + "Partial" ], "path": "src/plugins/embeddable/public/lib/containers/container.ts", "deprecated": false, "trackAdoption": false, - "isRequired": false + "isRequired": true }, { "parentPluginId": "embeddable", - "id": "def-public.Container.Unnamed.$5", - "type": "Object", + "id": "def-public.Container.replaceEmbeddable.$3", + "type": "string", "tags": [], - "label": "settings", + "label": "newType", "description": [], "signature": [ - { - "pluginId": "embeddable", - "scope": "public", - "docId": "kibEmbeddablePluginApi", - "section": "def-public.EmbeddableContainerSettings", - "text": "EmbeddableContainerSettings" - }, - " | undefined" + "string | undefined" ], "path": "src/plugins/embeddable/public/lib/containers/container.ts", "deprecated": false, @@ -1035,37 +976,13 @@ }, { "parentPluginId": "embeddable", - "id": "def-public.Container.setChildLoaded", + "id": "def-public.Container.removeEmbeddable", "type": "Function", "tags": [], - "label": "setChildLoaded", + "label": "removeEmbeddable", "description": [], "signature": [ - "(embeddable: ", - { - "pluginId": "embeddable", - "scope": "public", - "docId": "kibEmbeddablePluginApi", - "section": "def-public.IEmbeddable", - "text": "IEmbeddable" - }, - "<", - { - "pluginId": "embeddable", - "scope": "common", - "docId": "kibEmbeddablePluginApi", - "section": "def-common.EmbeddableInput", - "text": "EmbeddableInput" - }, - ", ", - { - "pluginId": "embeddable", - "scope": "public", - "docId": "kibEmbeddablePluginApi", - "section": "def-public.EmbeddableOutput", - "text": "EmbeddableOutput" - }, - ", any>) => void" + "(embeddableId: string) => void" ], "path": "src/plugins/embeddable/public/lib/containers/container.ts", "deprecated": false, @@ -1073,36 +990,13 @@ "children": [ { "parentPluginId": "embeddable", - "id": "def-public.Container.setChildLoaded.$1", - "type": "Object", + "id": "def-public.Container.removeEmbeddable.$1", + "type": "string", "tags": [], - "label": "embeddable", + "label": "embeddableId", "description": [], "signature": [ - { - "pluginId": "embeddable", - "scope": "public", - "docId": "kibEmbeddablePluginApi", - "section": "def-public.IEmbeddable", - "text": "IEmbeddable" - }, - "<", - { - "pluginId": "embeddable", - "scope": "common", - "docId": "kibEmbeddablePluginApi", - "section": "def-common.EmbeddableInput", - "text": "EmbeddableInput" - }, - ", ", - { - "pluginId": "embeddable", - "scope": "public", - "docId": "kibEmbeddablePluginApi", - "section": "def-public.EmbeddableOutput", - "text": "EmbeddableOutput" - }, - ", any>" + "string" ], "path": "src/plugins/embeddable/public/lib/containers/container.ts", "deprecated": false, @@ -1114,21 +1008,23 @@ }, { "parentPluginId": "embeddable", - "id": "def-public.Container.updateInputForChild", + "id": "def-public.Container.onRemoveEmbeddable", "type": "Function", "tags": [], - "label": "updateInputForChild", - "description": [], + "label": "onRemoveEmbeddable", + "description": [ + "\nControl the panels that are pushed to the input stream when an embeddable is\nremoved. This can be used if removing one embeddable has knock-on effects, like\nre-ordering embeddables that come after it." + ], "signature": [ - " { [key: string]: ", { "pluginId": "embeddable", "scope": "common", "docId": "kibEmbeddablePluginApi", - "section": "def-common.EmbeddableInput", - "text": "EmbeddableInput" + "section": "def-common.PanelState", + "text": "PanelState" }, - " = ", + "<", { "pluginId": "embeddable", "scope": "common", @@ -1136,7 +1032,7 @@ "section": "def-common.EmbeddableInput", "text": "EmbeddableInput" }, - ">(id: string, changes: Partial) => void" + " & { id: string; }>; }" ], "path": "src/plugins/embeddable/public/lib/containers/container.ts", "deprecated": false, @@ -1144,10 +1040,10 @@ "children": [ { "parentPluginId": "embeddable", - "id": "def-public.Container.updateInputForChild.$1", + "id": "def-public.Container.onRemoveEmbeddable.$1", "type": "string", "tags": [], - "label": "id", + "label": "embeddableId", "description": [], "signature": [ "string" @@ -1156,34 +1052,19 @@ "deprecated": false, "trackAdoption": false, "isRequired": true - }, - { - "parentPluginId": "embeddable", - "id": "def-public.Container.updateInputForChild.$2", - "type": "Object", - "tags": [], - "label": "changes", - "description": [], - "signature": [ - "Partial" - ], - "path": "src/plugins/embeddable/public/lib/containers/container.ts", - "deprecated": false, - "trackAdoption": false, - "isRequired": true } ], "returnComment": [] }, { "parentPluginId": "embeddable", - "id": "def-public.Container.reload", + "id": "def-public.Container.getChildIds", "type": "Function", "tags": [], - "label": "reload", + "label": "getChildIds", "description": [], "signature": [ - "() => void" + "() => string[]" ], "path": "src/plugins/embeddable/public/lib/containers/container.ts", "deprecated": false, @@ -1193,21 +1074,21 @@ }, { "parentPluginId": "embeddable", - "id": "def-public.Container.addNewEmbeddable", + "id": "def-public.Container.getChild", "type": "Function", "tags": [], - "label": "addNewEmbeddable", + "label": "getChild", "description": [], "signature": [ - " = ", - { - "pluginId": "embeddable", - "scope": "public", - "docId": "kibEmbeddablePluginApi", - "section": "def-public.IEmbeddable", - "text": "IEmbeddable" - }, - ">(type: string, explicitInput: Partial) => Promise<", - { - "pluginId": "embeddable", - "scope": "public", - "docId": "kibEmbeddablePluginApi", - "section": "def-public.ErrorEmbeddable", - "text": "ErrorEmbeddable" - }, - " | E>" + ", any>>(id: string) => E" ], "path": "src/plugins/embeddable/public/lib/containers/container.ts", "deprecated": false, @@ -1263,10 +1112,10 @@ "children": [ { "parentPluginId": "embeddable", - "id": "def-public.Container.addNewEmbeddable.$1", + "id": "def-public.Container.getChild.$1", "type": "string", "tags": [], - "label": "type", + "label": "id", "description": [], "signature": [ "string" @@ -1275,34 +1124,19 @@ "deprecated": false, "trackAdoption": false, "isRequired": true - }, - { - "parentPluginId": "embeddable", - "id": "def-public.Container.addNewEmbeddable.$2", - "type": "Object", - "tags": [], - "label": "explicitInput", - "description": [], - "signature": [ - "Partial" - ], - "path": "src/plugins/embeddable/public/lib/containers/container.ts", - "deprecated": false, - "trackAdoption": false, - "isRequired": true } ], "returnComment": [] }, { "parentPluginId": "embeddable", - "id": "def-public.Container.replaceEmbeddable", + "id": "def-public.Container.getInputForChild", "type": "Function", "tags": [], - "label": "replaceEmbeddable", + "label": "getInputForChild", "description": [], "signature": [ - " = ", - { - "pluginId": "embeddable", - "scope": "public", - "docId": "kibEmbeddablePluginApi", - "section": "def-public.IEmbeddable", - "text": "IEmbeddable" - }, - ">(id: string, newExplicitInput: Partial, newType?: string | undefined) => Promise" + ">(embeddableId: string) => TEmbeddableInput" ], "path": "src/plugins/embeddable/public/lib/containers/container.ts", "deprecated": false, @@ -1358,242 +1160,10 @@ "children": [ { "parentPluginId": "embeddable", - "id": "def-public.Container.replaceEmbeddable.$1", + "id": "def-public.Container.getInputForChild.$1", "type": "string", "tags": [], - "label": "id", - "description": [], - "signature": [ - "string" - ], - "path": "src/plugins/embeddable/public/lib/containers/container.ts", - "deprecated": false, - "trackAdoption": false, - "isRequired": true - }, - { - "parentPluginId": "embeddable", - "id": "def-public.Container.replaceEmbeddable.$2", - "type": "Object", - "tags": [], - "label": "newExplicitInput", - "description": [], - "signature": [ - "Partial" - ], - "path": "src/plugins/embeddable/public/lib/containers/container.ts", - "deprecated": false, - "trackAdoption": false, - "isRequired": true - }, - { - "parentPluginId": "embeddable", - "id": "def-public.Container.replaceEmbeddable.$3", - "type": "string", - "tags": [], - "label": "newType", - "description": [], - "signature": [ - "string | undefined" - ], - "path": "src/plugins/embeddable/public/lib/containers/container.ts", - "deprecated": false, - "trackAdoption": false, - "isRequired": false - } - ], - "returnComment": [] - }, - { - "parentPluginId": "embeddable", - "id": "def-public.Container.removeEmbeddable", - "type": "Function", - "tags": [], - "label": "removeEmbeddable", - "description": [], - "signature": [ - "(embeddableId: string) => void" - ], - "path": "src/plugins/embeddable/public/lib/containers/container.ts", - "deprecated": false, - "trackAdoption": false, - "children": [ - { - "parentPluginId": "embeddable", - "id": "def-public.Container.removeEmbeddable.$1", - "type": "string", - "tags": [], - "label": "embeddableId", - "description": [], - "signature": [ - "string" - ], - "path": "src/plugins/embeddable/public/lib/containers/container.ts", - "deprecated": false, - "trackAdoption": false, - "isRequired": true - } - ], - "returnComment": [] - }, - { - "parentPluginId": "embeddable", - "id": "def-public.Container.onRemoveEmbeddable", - "type": "Function", - "tags": [], - "label": "onRemoveEmbeddable", - "description": [ - "\nControl the panels that are pushed to the input stream when an embeddable is\nremoved. This can be used if removing one embeddable has knock-on effects, like\nre-ordering embeddables that come after it." - ], - "signature": [ - "(embeddableId: string) => { [key: string]: ", - { - "pluginId": "embeddable", - "scope": "common", - "docId": "kibEmbeddablePluginApi", - "section": "def-common.PanelState", - "text": "PanelState" - }, - "<", - { - "pluginId": "embeddable", - "scope": "common", - "docId": "kibEmbeddablePluginApi", - "section": "def-common.EmbeddableInput", - "text": "EmbeddableInput" - }, - " & { id: string; }>; }" - ], - "path": "src/plugins/embeddable/public/lib/containers/container.ts", - "deprecated": false, - "trackAdoption": false, - "children": [ - { - "parentPluginId": "embeddable", - "id": "def-public.Container.onRemoveEmbeddable.$1", - "type": "string", - "tags": [], - "label": "embeddableId", - "description": [], - "signature": [ - "string" - ], - "path": "src/plugins/embeddable/public/lib/containers/container.ts", - "deprecated": false, - "trackAdoption": false, - "isRequired": true - } - ], - "returnComment": [] - }, - { - "parentPluginId": "embeddable", - "id": "def-public.Container.getChildIds", - "type": "Function", - "tags": [], - "label": "getChildIds", - "description": [], - "signature": [ - "() => string[]" - ], - "path": "src/plugins/embeddable/public/lib/containers/container.ts", - "deprecated": false, - "trackAdoption": false, - "children": [], - "returnComment": [] - }, - { - "parentPluginId": "embeddable", - "id": "def-public.Container.getChild", - "type": "Function", - "tags": [], - "label": "getChild", - "description": [], - "signature": [ - ">(id: string) => E" - ], - "path": "src/plugins/embeddable/public/lib/containers/container.ts", - "deprecated": false, - "trackAdoption": false, - "children": [ - { - "parentPluginId": "embeddable", - "id": "def-public.Container.getChild.$1", - "type": "string", - "tags": [], - "label": "id", - "description": [], - "signature": [ - "string" - ], - "path": "src/plugins/embeddable/public/lib/containers/container.ts", - "deprecated": false, - "trackAdoption": false, - "isRequired": true - } - ], - "returnComment": [] - }, - { - "parentPluginId": "embeddable", - "id": "def-public.Container.getInputForChild", - "type": "Function", - "tags": [], - "label": "getInputForChild", - "description": [], - "signature": [ - "(embeddableId: string) => TEmbeddableInput" - ], - "path": "src/plugins/embeddable/public/lib/containers/container.ts", - "deprecated": false, - "trackAdoption": false, - "children": [ - { - "parentPluginId": "embeddable", - "id": "def-public.Container.getInputForChild.$1", - "type": "string", - "tags": [], - "label": "embeddableId", + "label": "embeddableId", "description": [], "signature": [ "string" @@ -2035,18 +1605,18 @@ }, { "parentPluginId": "embeddable", - "id": "def-public.EditPanelAction", + "id": "def-public.CustomizePanelAction", "type": "Class", "tags": [], - "label": "EditPanelAction", + "label": "CustomizePanelAction", "description": [], "signature": [ { "pluginId": "embeddable", "scope": "public", "docId": "kibEmbeddablePluginApi", - "section": "def-public.EditPanelAction", - "text": "EditPanelAction" + "section": "def-public.CustomizePanelAction", + "text": "CustomizePanelAction" }, " implements ", { @@ -2056,204 +1626,130 @@ "section": "def-public.Action", "text": "Action" }, - "" + "<", + "CustomizePanelActionContext", + ">" ], - "path": "src/plugins/embeddable/public/lib/actions/edit_panel_action.ts", + "path": "src/plugins/embeddable/public/embeddable_panel/panel_actions/customize_panel_action/customize_panel_action.tsx", "deprecated": false, "trackAdoption": false, "children": [ { "parentPluginId": "embeddable", - "id": "def-public.EditPanelAction.type", + "id": "def-public.CustomizePanelAction.type", "type": "string", "tags": [], "label": "type", "description": [], - "signature": [ - "\"editPanel\"" - ], - "path": "src/plugins/embeddable/public/lib/actions/edit_panel_action.ts", + "path": "src/plugins/embeddable/public/embeddable_panel/panel_actions/customize_panel_action/customize_panel_action.tsx", "deprecated": false, "trackAdoption": false }, { "parentPluginId": "embeddable", - "id": "def-public.EditPanelAction.id", + "id": "def-public.CustomizePanelAction.id", "type": "string", "tags": [], "label": "id", "description": [], - "signature": [ - "\"editPanel\"" - ], - "path": "src/plugins/embeddable/public/lib/actions/edit_panel_action.ts", + "path": "src/plugins/embeddable/public/embeddable_panel/panel_actions/customize_panel_action/customize_panel_action.tsx", "deprecated": false, "trackAdoption": false }, { "parentPluginId": "embeddable", - "id": "def-public.EditPanelAction.order", + "id": "def-public.CustomizePanelAction.order", "type": "number", "tags": [], "label": "order", "description": [], - "path": "src/plugins/embeddable/public/lib/actions/edit_panel_action.ts", + "path": "src/plugins/embeddable/public/embeddable_panel/panel_actions/customize_panel_action/customize_panel_action.tsx", "deprecated": false, "trackAdoption": false }, { "parentPluginId": "embeddable", - "id": "def-public.EditPanelAction.currentAppId", - "type": "string", + "id": "def-public.CustomizePanelAction.Unnamed", + "type": "Function", "tags": [], - "label": "currentAppId", + "label": "Constructor", "description": [], "signature": [ - "string | undefined" + "any" ], - "path": "src/plugins/embeddable/public/lib/actions/edit_panel_action.ts", - "deprecated": false, - "trackAdoption": false - }, - { - "parentPluginId": "embeddable", - "id": "def-public.EditPanelAction.Unnamed", - "type": "Function", - "tags": [], - "label": "Constructor", - "description": [], - "signature": [ - "any" - ], - "path": "src/plugins/embeddable/public/lib/actions/edit_panel_action.ts", + "path": "src/plugins/embeddable/public/embeddable_panel/panel_actions/customize_panel_action/customize_panel_action.tsx", "deprecated": false, "trackAdoption": false, "children": [ { "parentPluginId": "embeddable", - "id": "def-public.EditPanelAction.Unnamed.$1", - "type": "Function", + "id": "def-public.CustomizePanelAction.Unnamed.$1", + "type": "Object", "tags": [], - "label": "getEmbeddableFactory", + "label": "overlays", "description": [], "signature": [ - " = ", - { - "pluginId": "embeddable", - "scope": "public", - "docId": "kibEmbeddablePluginApi", - "section": "def-public.IEmbeddable", - "text": "IEmbeddable" - }, - ">(embeddableFactoryId: string) => ", - { - "pluginId": "embeddable", - "scope": "public", - "docId": "kibEmbeddablePluginApi", - "section": "def-public.EmbeddableFactory", - "text": "EmbeddableFactory" - }, - " | undefined" + "docId": "kibKbnCoreOverlaysBrowserPluginApi", + "section": "def-common.OverlayStart", + "text": "OverlayStart" + } ], - "path": "src/plugins/embeddable/public/lib/actions/edit_panel_action.ts", + "path": "src/plugins/embeddable/public/embeddable_panel/panel_actions/customize_panel_action/customize_panel_action.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true }, { "parentPluginId": "embeddable", - "id": "def-public.EditPanelAction.Unnamed.$2", + "id": "def-public.CustomizePanelAction.Unnamed.$2", "type": "Object", "tags": [], - "label": "application", + "label": "theme", "description": [], "signature": [ { - "pluginId": "@kbn/core-application-browser", + "pluginId": "@kbn/core-theme-browser", "scope": "common", - "docId": "kibKbnCoreApplicationBrowserPluginApi", - "section": "def-common.ApplicationStart", - "text": "ApplicationStart" + "docId": "kibKbnCoreThemeBrowserPluginApi", + "section": "def-common.ThemeServiceStart", + "text": "ThemeServiceStart" } ], - "path": "src/plugins/embeddable/public/lib/actions/edit_panel_action.ts", + "path": "src/plugins/embeddable/public/embeddable_panel/panel_actions/customize_panel_action/customize_panel_action.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true }, { "parentPluginId": "embeddable", - "id": "def-public.EditPanelAction.Unnamed.$3", - "type": "Object", + "id": "def-public.CustomizePanelAction.Unnamed.$3", + "type": "Array", "tags": [], - "label": "stateTransfer", + "label": "commonlyUsedRanges", "description": [], "signature": [ - { - "pluginId": "embeddable", - "scope": "public", - "docId": "kibEmbeddablePluginApi", - "section": "def-public.EmbeddableStateTransfer", - "text": "EmbeddableStateTransfer" - }, - " | undefined" + "CommonlyUsedRange", + "[] | undefined" ], - "path": "src/plugins/embeddable/public/lib/actions/edit_panel_action.ts", + "path": "src/plugins/embeddable/public/embeddable_panel/panel_actions/customize_panel_action/customize_panel_action.tsx", "deprecated": false, "trackAdoption": false, "isRequired": false }, { "parentPluginId": "embeddable", - "id": "def-public.EditPanelAction.Unnamed.$4", - "type": "Function", + "id": "def-public.CustomizePanelAction.Unnamed.$4", + "type": "string", "tags": [], - "label": "getOriginatingPath", + "label": "dateFormat", "description": [], "signature": [ - "(() => string) | undefined" + "string | undefined" ], - "path": "src/plugins/embeddable/public/lib/actions/edit_panel_action.ts", + "path": "src/plugins/embeddable/public/embeddable_panel/panel_actions/customize_panel_action/customize_panel_action.tsx", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -2263,29 +1759,31 @@ }, { "parentPluginId": "embeddable", - "id": "def-public.EditPanelAction.getDisplayName", + "id": "def-public.CustomizePanelAction.isTimeRangeCompatible", "type": "Function", "tags": [], - "label": "getDisplayName", + "label": "isTimeRangeCompatible", "description": [], "signature": [ - "({ embeddable }: ActionContext) => any" + "({ embeddable }: ", + "CustomizePanelActionContext", + ") => boolean" ], - "path": "src/plugins/embeddable/public/lib/actions/edit_panel_action.ts", + "path": "src/plugins/embeddable/public/embeddable_panel/panel_actions/customize_panel_action/customize_panel_action.tsx", "deprecated": false, "trackAdoption": false, "children": [ { "parentPluginId": "embeddable", - "id": "def-public.EditPanelAction.getDisplayName.$1", + "id": "def-public.CustomizePanelAction.isTimeRangeCompatible.$1", "type": "Object", "tags": [], "label": "{ embeddable }", "description": [], "signature": [ - "ActionContext" + "CustomizePanelActionContext" ], - "path": "src/plugins/embeddable/public/lib/actions/edit_panel_action.ts", + "path": "src/plugins/embeddable/public/embeddable_panel/panel_actions/customize_panel_action/customize_panel_action.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -2295,45 +1793,31 @@ }, { "parentPluginId": "embeddable", - "id": "def-public.EditPanelAction.getIconType", - "type": "Function", - "tags": [], - "label": "getIconType", - "description": [], - "signature": [ - "() => string" - ], - "path": "src/plugins/embeddable/public/lib/actions/edit_panel_action.ts", - "deprecated": false, - "trackAdoption": false, - "children": [], - "returnComment": [] - }, - { - "parentPluginId": "embeddable", - "id": "def-public.EditPanelAction.isCompatible", + "id": "def-public.CustomizePanelAction.getDisplayName", "type": "Function", "tags": [], - "label": "isCompatible", + "label": "getDisplayName", "description": [], "signature": [ - "({ embeddable }: ActionContext) => Promise" + "({ embeddable }: ", + "CustomizePanelActionContext", + ") => string" ], - "path": "src/plugins/embeddable/public/lib/actions/edit_panel_action.ts", + "path": "src/plugins/embeddable/public/embeddable_panel/panel_actions/customize_panel_action/customize_panel_action.tsx", "deprecated": false, "trackAdoption": false, "children": [ { "parentPluginId": "embeddable", - "id": "def-public.EditPanelAction.isCompatible.$1", + "id": "def-public.CustomizePanelAction.getDisplayName.$1", "type": "Object", "tags": [], "label": "{ embeddable }", "description": [], "signature": [ - "ActionContext" + "CustomizePanelActionContext" ], - "path": "src/plugins/embeddable/public/lib/actions/edit_panel_action.ts", + "path": "src/plugins/embeddable/public/embeddable_panel/panel_actions/customize_panel_action/customize_panel_action.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -2343,61 +1827,47 @@ }, { "parentPluginId": "embeddable", - "id": "def-public.EditPanelAction.execute", + "id": "def-public.CustomizePanelAction.getIconType", "type": "Function", "tags": [], - "label": "execute", + "label": "getIconType", "description": [], "signature": [ - "(context: ActionContext) => Promise" + "() => string" ], - "path": "src/plugins/embeddable/public/lib/actions/edit_panel_action.ts", + "path": "src/plugins/embeddable/public/embeddable_panel/panel_actions/customize_panel_action/customize_panel_action.tsx", "deprecated": false, "trackAdoption": false, - "children": [ - { - "parentPluginId": "embeddable", - "id": "def-public.EditPanelAction.execute.$1", - "type": "Object", - "tags": [], - "label": "context", - "description": [], - "signature": [ - "ActionContext" - ], - "path": "src/plugins/embeddable/public/lib/actions/edit_panel_action.ts", - "deprecated": false, - "trackAdoption": false, - "isRequired": true - } - ], + "children": [], "returnComment": [] }, { "parentPluginId": "embeddable", - "id": "def-public.EditPanelAction.getAppTarget", + "id": "def-public.CustomizePanelAction.isCompatible", "type": "Function", "tags": [], - "label": "getAppTarget", + "label": "isCompatible", "description": [], "signature": [ - "({ embeddable }: ActionContext) => NavigationContext | undefined" + "({ embeddable }: ", + "CustomizePanelActionContext", + ") => Promise" ], - "path": "src/plugins/embeddable/public/lib/actions/edit_panel_action.ts", + "path": "src/plugins/embeddable/public/embeddable_panel/panel_actions/customize_panel_action/customize_panel_action.tsx", "deprecated": false, "trackAdoption": false, "children": [ { "parentPluginId": "embeddable", - "id": "def-public.EditPanelAction.getAppTarget.$1", + "id": "def-public.CustomizePanelAction.isCompatible.$1", "type": "Object", "tags": [], "label": "{ embeddable }", "description": [], "signature": [ - "ActionContext" + "CustomizePanelActionContext" ], - "path": "src/plugins/embeddable/public/lib/actions/edit_panel_action.ts", + "path": "src/plugins/embeddable/public/embeddable_panel/panel_actions/customize_panel_action/customize_panel_action.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -2407,29 +1877,31 @@ }, { "parentPluginId": "embeddable", - "id": "def-public.EditPanelAction.getHref", + "id": "def-public.CustomizePanelAction.execute", "type": "Function", "tags": [], - "label": "getHref", + "label": "execute", "description": [], "signature": [ - "({ embeddable }: ActionContext) => Promise" + "({ embeddable }: ", + "CustomizePanelActionContext", + ") => Promise" ], - "path": "src/plugins/embeddable/public/lib/actions/edit_panel_action.ts", + "path": "src/plugins/embeddable/public/embeddable_panel/panel_actions/customize_panel_action/customize_panel_action.tsx", "deprecated": false, "trackAdoption": false, "children": [ { "parentPluginId": "embeddable", - "id": "def-public.EditPanelAction.getHref.$1", + "id": "def-public.CustomizePanelAction.execute.$1", "type": "Object", "tags": [], "label": "{ embeddable }", "description": [], "signature": [ - "ActionContext" + "CustomizePanelActionContext" ], - "path": "src/plugins/embeddable/public/lib/actions/edit_panel_action.ts", + "path": "src/plugins/embeddable/public/embeddable_panel/panel_actions/customize_panel_action/customize_panel_action.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -2442,287 +1914,225 @@ }, { "parentPluginId": "embeddable", - "id": "def-public.Embeddable", + "id": "def-public.EditPanelAction", "type": "Class", "tags": [], - "label": "Embeddable", + "label": "EditPanelAction", "description": [], "signature": [ { "pluginId": "embeddable", "scope": "public", "docId": "kibEmbeddablePluginApi", - "section": "def-public.Embeddable", - "text": "Embeddable" + "section": "def-public.EditPanelAction", + "text": "EditPanelAction" }, - " implements ", + " implements ", { - "pluginId": "embeddable", + "pluginId": "uiActions", "scope": "public", - "docId": "kibEmbeddablePluginApi", - "section": "def-public.IEmbeddable", - "text": "IEmbeddable" + "docId": "kibUiActionsPluginApi", + "section": "def-public.Action", + "text": "Action" }, - "" + "" ], - "path": "src/plugins/embeddable/public/lib/embeddables/embeddable.tsx", + "path": "src/plugins/embeddable/public/embeddable_panel/panel_actions/edit_panel_action/edit_panel_action.ts", "deprecated": false, "trackAdoption": false, "children": [ { "parentPluginId": "embeddable", - "id": "def-public.Embeddable.runtimeId", - "type": "number", - "tags": [], - "label": "runtimeId", - "description": [], - "path": "src/plugins/embeddable/public/lib/embeddables/embeddable.tsx", - "deprecated": false, - "trackAdoption": false - }, - { - "parentPluginId": "embeddable", - "id": "def-public.Embeddable.runtimeId", - "type": "number", + "id": "def-public.EditPanelAction.type", + "type": "string", "tags": [], - "label": "runtimeId", + "label": "type", "description": [], - "path": "src/plugins/embeddable/public/lib/embeddables/embeddable.tsx", + "signature": [ + "\"editPanel\"" + ], + "path": "src/plugins/embeddable/public/embeddable_panel/panel_actions/edit_panel_action/edit_panel_action.ts", "deprecated": false, "trackAdoption": false }, { "parentPluginId": "embeddable", - "id": "def-public.Embeddable.parent", - "type": "Object", + "id": "def-public.EditPanelAction.id", + "type": "string", "tags": [], - "label": "parent", + "label": "id", "description": [], "signature": [ - { - "pluginId": "embeddable", - "scope": "public", - "docId": "kibEmbeddablePluginApi", - "section": "def-public.IContainer", - "text": "IContainer" - }, - "<{}, ", - { - "pluginId": "embeddable", - "scope": "public", - "docId": "kibEmbeddablePluginApi", - "section": "def-public.ContainerInput", - "text": "ContainerInput" - }, - "<{}>, ", - { - "pluginId": "embeddable", - "scope": "public", - "docId": "kibEmbeddablePluginApi", - "section": "def-public.ContainerOutput", - "text": "ContainerOutput" - }, - "> | undefined" + "\"editPanel\"" ], - "path": "src/plugins/embeddable/public/lib/embeddables/embeddable.tsx", + "path": "src/plugins/embeddable/public/embeddable_panel/panel_actions/edit_panel_action/edit_panel_action.ts", "deprecated": false, "trackAdoption": false }, { "parentPluginId": "embeddable", - "id": "def-public.Embeddable.isContainer", - "type": "boolean", + "id": "def-public.EditPanelAction.order", + "type": "number", "tags": [], - "label": "isContainer", + "label": "order", "description": [], - "path": "src/plugins/embeddable/public/lib/embeddables/embeddable.tsx", + "path": "src/plugins/embeddable/public/embeddable_panel/panel_actions/edit_panel_action/edit_panel_action.ts", "deprecated": false, "trackAdoption": false }, { "parentPluginId": "embeddable", - "id": "def-public.Embeddable.deferEmbeddableLoad", - "type": "boolean", + "id": "def-public.EditPanelAction.currentAppId", + "type": "string", "tags": [], - "label": "deferEmbeddableLoad", + "label": "currentAppId", "description": [], - "path": "src/plugins/embeddable/public/lib/embeddables/embeddable.tsx", + "signature": [ + "string | undefined" + ], + "path": "src/plugins/embeddable/public/embeddable_panel/panel_actions/edit_panel_action/edit_panel_action.ts", "deprecated": false, "trackAdoption": false }, { "parentPluginId": "embeddable", - "id": "def-public.Embeddable.type", - "type": "string", - "tags": [], - "label": "type", - "description": [], - "path": "src/plugins/embeddable/public/lib/embeddables/embeddable.tsx", - "deprecated": false, - "trackAdoption": false - }, - { - "parentPluginId": "embeddable", - "id": "def-public.Embeddable.id", - "type": "string", - "tags": [], - "label": "id", - "description": [], - "path": "src/plugins/embeddable/public/lib/embeddables/embeddable.tsx", - "deprecated": false, - "trackAdoption": false - }, - { - "parentPluginId": "embeddable", - "id": "def-public.Embeddable.fatalError", - "type": "Object", - "tags": [], - "label": "fatalError", - "description": [], - "signature": [ - "Error | undefined" - ], - "path": "src/plugins/embeddable/public/lib/embeddables/embeddable.tsx", - "deprecated": false, - "trackAdoption": false - }, - { - "parentPluginId": "embeddable", - "id": "def-public.Embeddable.output", - "type": "Uncategorized", - "tags": [], - "label": "output", - "description": [], - "signature": [ - "TEmbeddableOutput" - ], - "path": "src/plugins/embeddable/public/lib/embeddables/embeddable.tsx", - "deprecated": false, - "trackAdoption": false - }, - { - "parentPluginId": "embeddable", - "id": "def-public.Embeddable.input", - "type": "Uncategorized", - "tags": [], - "label": "input", - "description": [], - "signature": [ - "TEmbeddableInput" - ], - "path": "src/plugins/embeddable/public/lib/embeddables/embeddable.tsx", - "deprecated": false, - "trackAdoption": false - }, - { - "parentPluginId": "embeddable", - "id": "def-public.Embeddable.renderComplete", - "type": "Object", - "tags": [], - "label": "renderComplete", - "description": [], - "signature": [ - { - "pluginId": "kibanaUtils", - "scope": "public", - "docId": "kibKibanaUtilsPluginApi", - "section": "def-public.RenderCompleteDispatcher", - "text": "RenderCompleteDispatcher" - } - ], - "path": "src/plugins/embeddable/public/lib/embeddables/embeddable.tsx", - "deprecated": false, - "trackAdoption": false - }, - { - "parentPluginId": "embeddable", - "id": "def-public.Embeddable.destroyed", - "type": "boolean", - "tags": [], - "label": "destroyed", - "description": [], - "path": "src/plugins/embeddable/public/lib/embeddables/embeddable.tsx", - "deprecated": false, - "trackAdoption": false - }, - { - "parentPluginId": "embeddable", - "id": "def-public.Embeddable.Unnamed", - "type": "Function", + "id": "def-public.EditPanelAction.Unnamed", + "type": "Function", "tags": [], "label": "Constructor", "description": [], "signature": [ "any" ], - "path": "src/plugins/embeddable/public/lib/embeddables/embeddable.tsx", + "path": "src/plugins/embeddable/public/embeddable_panel/panel_actions/edit_panel_action/edit_panel_action.ts", "deprecated": false, "trackAdoption": false, "children": [ { "parentPluginId": "embeddable", - "id": "def-public.Embeddable.Unnamed.$1", - "type": "Uncategorized", + "id": "def-public.EditPanelAction.Unnamed.$1", + "type": "Function", "tags": [], - "label": "input", + "label": "getEmbeddableFactory", "description": [], "signature": [ - "TEmbeddableInput" + " = ", + { + "pluginId": "embeddable", + "scope": "public", + "docId": "kibEmbeddablePluginApi", + "section": "def-public.IEmbeddable", + "text": "IEmbeddable" + }, + ">(embeddableFactoryId: string) => ", + { + "pluginId": "embeddable", + "scope": "public", + "docId": "kibEmbeddablePluginApi", + "section": "def-public.EmbeddableFactory", + "text": "EmbeddableFactory" + }, + " | undefined" ], - "path": "src/plugins/embeddable/public/lib/embeddables/embeddable.tsx", + "path": "src/plugins/embeddable/public/embeddable_panel/panel_actions/edit_panel_action/edit_panel_action.ts", "deprecated": false, "trackAdoption": false, "isRequired": true }, { "parentPluginId": "embeddable", - "id": "def-public.Embeddable.Unnamed.$2", - "type": "Uncategorized", + "id": "def-public.EditPanelAction.Unnamed.$2", + "type": "Object", "tags": [], - "label": "output", + "label": "application", "description": [], "signature": [ - "TEmbeddableOutput" + { + "pluginId": "@kbn/core-application-browser", + "scope": "common", + "docId": "kibKbnCoreApplicationBrowserPluginApi", + "section": "def-common.ApplicationStart", + "text": "ApplicationStart" + } ], - "path": "src/plugins/embeddable/public/lib/embeddables/embeddable.tsx", + "path": "src/plugins/embeddable/public/embeddable_panel/panel_actions/edit_panel_action/edit_panel_action.ts", "deprecated": false, "trackAdoption": false, "isRequired": true }, { "parentPluginId": "embeddable", - "id": "def-public.Embeddable.Unnamed.$3", + "id": "def-public.EditPanelAction.Unnamed.$3", "type": "Object", "tags": [], - "label": "parent", + "label": "stateTransfer", "description": [], "signature": [ { "pluginId": "embeddable", "scope": "public", "docId": "kibEmbeddablePluginApi", - "section": "def-public.IContainer", - "text": "IContainer" - }, - "<{}, ", - { - "pluginId": "embeddable", - "scope": "public", - "docId": "kibEmbeddablePluginApi", - "section": "def-public.ContainerInput", - "text": "ContainerInput" - }, - "<{}>, ", - { - "pluginId": "embeddable", - "scope": "public", - "docId": "kibEmbeddablePluginApi", - "section": "def-public.ContainerOutput", - "text": "ContainerOutput" + "section": "def-public.EmbeddableStateTransfer", + "text": "EmbeddableStateTransfer" }, - "> | undefined" + " | undefined" ], - "path": "src/plugins/embeddable/public/lib/embeddables/embeddable.tsx", + "path": "src/plugins/embeddable/public/embeddable_panel/panel_actions/edit_panel_action/edit_panel_action.ts", + "deprecated": false, + "trackAdoption": false, + "isRequired": false + }, + { + "parentPluginId": "embeddable", + "id": "def-public.EditPanelAction.Unnamed.$4", + "type": "Function", + "tags": [], + "label": "getOriginatingPath", + "description": [], + "signature": [ + "(() => string) | undefined" + ], + "path": "src/plugins/embeddable/public/embeddable_panel/panel_actions/edit_panel_action/edit_panel_action.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -2732,31 +2142,47 @@ }, { "parentPluginId": "embeddable", - "id": "def-public.Embeddable.reportsEmbeddableLoad", + "id": "def-public.EditPanelAction.getDisplayName", "type": "Function", "tags": [], - "label": "reportsEmbeddableLoad", + "label": "getDisplayName", "description": [], "signature": [ - "() => boolean" + "({ embeddable }: ActionContext) => any" ], - "path": "src/plugins/embeddable/public/lib/embeddables/embeddable.tsx", + "path": "src/plugins/embeddable/public/embeddable_panel/panel_actions/edit_panel_action/edit_panel_action.ts", "deprecated": false, "trackAdoption": false, - "children": [], + "children": [ + { + "parentPluginId": "embeddable", + "id": "def-public.EditPanelAction.getDisplayName.$1", + "type": "Object", + "tags": [], + "label": "{ embeddable }", + "description": [], + "signature": [ + "ActionContext" + ], + "path": "src/plugins/embeddable/public/embeddable_panel/panel_actions/edit_panel_action/edit_panel_action.ts", + "deprecated": false, + "trackAdoption": false, + "isRequired": true + } + ], "returnComment": [] }, { "parentPluginId": "embeddable", - "id": "def-public.Embeddable.refreshInputFromParent", + "id": "def-public.EditPanelAction.getIconType", "type": "Function", "tags": [], - "label": "refreshInputFromParent", + "label": "getIconType", "description": [], "signature": [ - "() => void" + "() => string" ], - "path": "src/plugins/embeddable/public/lib/embeddables/embeddable.tsx", + "path": "src/plugins/embeddable/public/embeddable_panel/panel_actions/edit_panel_action/edit_panel_action.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -2764,451 +2190,349 @@ }, { "parentPluginId": "embeddable", - "id": "def-public.Embeddable.getIsContainer", + "id": "def-public.EditPanelAction.isCompatible", "type": "Function", "tags": [], - "label": "getIsContainer", + "label": "isCompatible", "description": [], "signature": [ - "() => this is ", - { - "pluginId": "embeddable", - "scope": "public", - "docId": "kibEmbeddablePluginApi", - "section": "def-public.IContainer", - "text": "IContainer" - }, - "<{}, ", - { - "pluginId": "embeddable", - "scope": "public", - "docId": "kibEmbeddablePluginApi", - "section": "def-public.ContainerInput", - "text": "ContainerInput" - }, - "<{}>, ", - { - "pluginId": "embeddable", - "scope": "public", - "docId": "kibEmbeddablePluginApi", - "section": "def-public.ContainerOutput", - "text": "ContainerOutput" - }, - ">" - ], - "path": "src/plugins/embeddable/public/lib/embeddables/embeddable.tsx", - "deprecated": false, - "trackAdoption": false, - "children": [], - "returnComment": [] - }, - { - "parentPluginId": "embeddable", - "id": "def-public.Embeddable.reload", - "type": "Function", - "tags": [], - "label": "reload", - "description": [ - "\nReload will be called when there is a request to refresh the data or view, even if the\ninput data did not change.\n\nIn case if input data did change and reload is requested input$ and output$ would still emit before `reload` is called\n\nThe order would be as follows:\ninput$\noutput$\nreload()\n----\nupdated$" - ], - "signature": [ - "() => void" + "({ embeddable }: ActionContext) => Promise" ], - "path": "src/plugins/embeddable/public/lib/embeddables/embeddable.tsx", + "path": "src/plugins/embeddable/public/embeddable_panel/panel_actions/edit_panel_action/edit_panel_action.ts", "deprecated": false, "trackAdoption": false, - "children": [], - "returnComment": [] - }, - { - "parentPluginId": "embeddable", - "id": "def-public.Embeddable.getUpdated$", - "type": "Function", - "tags": [], - "label": "getUpdated$", - "description": [ - "\nMerges input$ and output$ streams and debounces emit till next macro-task.\nCould be useful to batch reactions to input$ and output$ updates that happen separately but synchronously.\nIn case corresponding state change triggered `reload` this stream is guarantied to emit later,\nwhich allows to skip state handling in case `reload` already handled it." - ], - "signature": [ - "() => Readonly<", - "Observable", - ">" + "children": [ + { + "parentPluginId": "embeddable", + "id": "def-public.EditPanelAction.isCompatible.$1", + "type": "Object", + "tags": [], + "label": "{ embeddable }", + "description": [], + "signature": [ + "ActionContext" + ], + "path": "src/plugins/embeddable/public/embeddable_panel/panel_actions/edit_panel_action/edit_panel_action.ts", + "deprecated": false, + "trackAdoption": false, + "isRequired": true + } ], - "path": "src/plugins/embeddable/public/lib/embeddables/embeddable.tsx", - "deprecated": false, - "trackAdoption": false, - "children": [], "returnComment": [] }, { "parentPluginId": "embeddable", - "id": "def-public.Embeddable.getInput$", + "id": "def-public.EditPanelAction.execute", "type": "Function", "tags": [], - "label": "getInput$", + "label": "execute", "description": [], "signature": [ - "() => Readonly<", - "Observable", - ">" + "(context: ActionContext) => Promise" ], - "path": "src/plugins/embeddable/public/lib/embeddables/embeddable.tsx", + "path": "src/plugins/embeddable/public/embeddable_panel/panel_actions/edit_panel_action/edit_panel_action.ts", "deprecated": false, "trackAdoption": false, - "children": [], - "returnComment": [] - }, - { - "parentPluginId": "embeddable", - "id": "def-public.Embeddable.getOutput$", - "type": "Function", - "tags": [], - "label": "getOutput$", - "description": [], - "signature": [ - "() => Readonly<", - "Observable", - ">" + "children": [ + { + "parentPluginId": "embeddable", + "id": "def-public.EditPanelAction.execute.$1", + "type": "Object", + "tags": [], + "label": "context", + "description": [], + "signature": [ + "ActionContext" + ], + "path": "src/plugins/embeddable/public/embeddable_panel/panel_actions/edit_panel_action/edit_panel_action.ts", + "deprecated": false, + "trackAdoption": false, + "isRequired": true + } ], - "path": "src/plugins/embeddable/public/lib/embeddables/embeddable.tsx", - "deprecated": false, - "trackAdoption": false, - "children": [], "returnComment": [] }, { "parentPluginId": "embeddable", - "id": "def-public.Embeddable.getOutput", + "id": "def-public.EditPanelAction.getAppTarget", "type": "Function", "tags": [], - "label": "getOutput", + "label": "getAppTarget", "description": [], "signature": [ - "() => Readonly" + "({ embeddable }: ActionContext) => NavigationContext | undefined" ], - "path": "src/plugins/embeddable/public/lib/embeddables/embeddable.tsx", + "path": "src/plugins/embeddable/public/embeddable_panel/panel_actions/edit_panel_action/edit_panel_action.ts", "deprecated": false, "trackAdoption": false, - "children": [], + "children": [ + { + "parentPluginId": "embeddable", + "id": "def-public.EditPanelAction.getAppTarget.$1", + "type": "Object", + "tags": [], + "label": "{ embeddable }", + "description": [], + "signature": [ + "ActionContext" + ], + "path": "src/plugins/embeddable/public/embeddable_panel/panel_actions/edit_panel_action/edit_panel_action.ts", + "deprecated": false, + "trackAdoption": false, + "isRequired": true + } + ], "returnComment": [] }, { "parentPluginId": "embeddable", - "id": "def-public.Embeddable.getExplicitInputIsEqual", + "id": "def-public.EditPanelAction.getHref", "type": "Function", "tags": [], - "label": "getExplicitInputIsEqual", + "label": "getHref", "description": [], "signature": [ - "(lastExplicitInput: Partial) => Promise" + "({ embeddable }: ActionContext) => Promise" ], - "path": "src/plugins/embeddable/public/lib/embeddables/embeddable.tsx", + "path": "src/plugins/embeddable/public/embeddable_panel/panel_actions/edit_panel_action/edit_panel_action.ts", "deprecated": false, "trackAdoption": false, "children": [ { "parentPluginId": "embeddable", - "id": "def-public.Embeddable.getExplicitInputIsEqual.$1", + "id": "def-public.EditPanelAction.getHref.$1", "type": "Object", "tags": [], - "label": "lastExplicitInput", + "label": "{ embeddable }", "description": [], "signature": [ - "Partial" + "ActionContext" ], - "path": "src/plugins/embeddable/public/lib/embeddables/embeddable.tsx", + "path": "src/plugins/embeddable/public/embeddable_panel/panel_actions/edit_panel_action/edit_panel_action.ts", "deprecated": false, "trackAdoption": false, "isRequired": true } ], "returnComment": [] + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "embeddable", + "id": "def-public.Embeddable", + "type": "Class", + "tags": [], + "label": "Embeddable", + "description": [], + "signature": [ + { + "pluginId": "embeddable", + "scope": "public", + "docId": "kibEmbeddablePluginApi", + "section": "def-public.Embeddable", + "text": "Embeddable" + }, + " implements ", + { + "pluginId": "embeddable", + "scope": "public", + "docId": "kibEmbeddablePluginApi", + "section": "def-public.IEmbeddable", + "text": "IEmbeddable" }, + "" + ], + "path": "src/plugins/embeddable/public/lib/embeddables/embeddable.tsx", + "deprecated": false, + "trackAdoption": false, + "children": [ { "parentPluginId": "embeddable", - "id": "def-public.Embeddable.getExplicitInput", - "type": "Function", + "id": "def-public.Embeddable.runtimeId", + "type": "number", "tags": [], - "label": "getExplicitInput", + "label": "runtimeId", "description": [], - "signature": [ - "() => TEmbeddableInput" - ], "path": "src/plugins/embeddable/public/lib/embeddables/embeddable.tsx", "deprecated": false, - "trackAdoption": false, - "children": [], - "returnComment": [] + "trackAdoption": false }, { "parentPluginId": "embeddable", - "id": "def-public.Embeddable.getPersistableInput", - "type": "Function", + "id": "def-public.Embeddable.runtimeId", + "type": "number", "tags": [], - "label": "getPersistableInput", + "label": "runtimeId", "description": [], - "signature": [ - "() => TEmbeddableInput" - ], "path": "src/plugins/embeddable/public/lib/embeddables/embeddable.tsx", "deprecated": false, - "trackAdoption": false, - "children": [], - "returnComment": [] + "trackAdoption": false }, { "parentPluginId": "embeddable", - "id": "def-public.Embeddable.getInput", - "type": "Function", + "id": "def-public.Embeddable.parent", + "type": "Object", "tags": [], - "label": "getInput", + "label": "parent", "description": [], "signature": [ - "() => Readonly" + { + "pluginId": "embeddable", + "scope": "public", + "docId": "kibEmbeddablePluginApi", + "section": "def-public.IContainer", + "text": "IContainer" + }, + "<{}, ", + { + "pluginId": "embeddable", + "scope": "public", + "docId": "kibEmbeddablePluginApi", + "section": "def-public.ContainerInput", + "text": "ContainerInput" + }, + "<{}>, ", + { + "pluginId": "embeddable", + "scope": "public", + "docId": "kibEmbeddablePluginApi", + "section": "def-public.ContainerOutput", + "text": "ContainerOutput" + }, + "> | undefined" ], "path": "src/plugins/embeddable/public/lib/embeddables/embeddable.tsx", "deprecated": false, - "trackAdoption": false, - "children": [], - "returnComment": [] + "trackAdoption": false }, { "parentPluginId": "embeddable", - "id": "def-public.Embeddable.getTitle", - "type": "Function", + "id": "def-public.Embeddable.isContainer", + "type": "boolean", "tags": [], - "label": "getTitle", + "label": "isContainer", "description": [], - "signature": [ - "() => string" - ], "path": "src/plugins/embeddable/public/lib/embeddables/embeddable.tsx", "deprecated": false, - "trackAdoption": false, - "children": [], - "returnComment": [] + "trackAdoption": false }, { "parentPluginId": "embeddable", - "id": "def-public.Embeddable.getDescription", - "type": "Function", + "id": "def-public.Embeddable.deferEmbeddableLoad", + "type": "boolean", "tags": [], - "label": "getDescription", + "label": "deferEmbeddableLoad", "description": [], - "signature": [ - "() => string" - ], "path": "src/plugins/embeddable/public/lib/embeddables/embeddable.tsx", "deprecated": false, - "trackAdoption": false, - "children": [], - "returnComment": [] + "trackAdoption": false }, { "parentPluginId": "embeddable", - "id": "def-public.Embeddable.getRoot", - "type": "Function", + "id": "def-public.Embeddable.type", + "type": "string", "tags": [], - "label": "getRoot", - "description": [ - "\nReturns the top most parent embeddable, or itself if this embeddable\nis not within a parent." - ], - "signature": [ - "() => ", - { - "pluginId": "embeddable", - "scope": "public", - "docId": "kibEmbeddablePluginApi", - "section": "def-public.IEmbeddable", - "text": "IEmbeddable" - }, - "<", - { - "pluginId": "embeddable", - "scope": "common", - "docId": "kibEmbeddablePluginApi", - "section": "def-common.EmbeddableInput", - "text": "EmbeddableInput" - }, - ", ", - { - "pluginId": "embeddable", - "scope": "public", - "docId": "kibEmbeddablePluginApi", - "section": "def-public.EmbeddableOutput", - "text": "EmbeddableOutput" - }, - ", any> | ", - { - "pluginId": "embeddable", - "scope": "public", - "docId": "kibEmbeddablePluginApi", - "section": "def-public.IContainer", - "text": "IContainer" - }, - "<{}, ", - { - "pluginId": "embeddable", - "scope": "public", - "docId": "kibEmbeddablePluginApi", - "section": "def-public.ContainerInput", - "text": "ContainerInput" - }, - "<{}>, ", - { - "pluginId": "embeddable", - "scope": "public", - "docId": "kibEmbeddablePluginApi", - "section": "def-public.ContainerOutput", - "text": "ContainerOutput" - }, - ">" - ], + "label": "type", + "description": [], "path": "src/plugins/embeddable/public/lib/embeddables/embeddable.tsx", "deprecated": false, - "trackAdoption": false, - "children": [], - "returnComment": [] + "trackAdoption": false }, { "parentPluginId": "embeddable", - "id": "def-public.Embeddable.updateInput", - "type": "Function", + "id": "def-public.Embeddable.id", + "type": "string", "tags": [], - "label": "updateInput", + "label": "id", "description": [], - "signature": [ - "(changes: Partial) => void" - ], "path": "src/plugins/embeddable/public/lib/embeddables/embeddable.tsx", "deprecated": false, - "trackAdoption": false, - "children": [ - { - "parentPluginId": "embeddable", - "id": "def-public.Embeddable.updateInput.$1", - "type": "Object", - "tags": [], - "label": "changes", - "description": [], - "signature": [ - "Partial" - ], - "path": "src/plugins/embeddable/public/lib/embeddables/embeddable.tsx", - "deprecated": false, - "trackAdoption": false, - "isRequired": true - } - ], - "returnComment": [] + "trackAdoption": false }, { "parentPluginId": "embeddable", - "id": "def-public.Embeddable.render", - "type": "Function", + "id": "def-public.Embeddable.fatalError", + "type": "Object", "tags": [], - "label": "render", + "label": "fatalError", "description": [], "signature": [ - "(el: HTMLElement) => void | TNode" + "Error | undefined" ], "path": "src/plugins/embeddable/public/lib/embeddables/embeddable.tsx", "deprecated": false, - "trackAdoption": false, - "children": [ - { - "parentPluginId": "embeddable", - "id": "def-public.Embeddable.render.$1", - "type": "Object", - "tags": [], - "label": "el", - "description": [], - "signature": [ - "HTMLElement" - ], - "path": "src/plugins/embeddable/public/lib/embeddables/embeddable.tsx", - "deprecated": false, - "trackAdoption": false, - "isRequired": true - } - ], - "returnComment": [] + "trackAdoption": false }, { "parentPluginId": "embeddable", - "id": "def-public.Embeddable.getInspectorAdapters", - "type": "Function", - "tags": [ - "return" - ], - "label": "getInspectorAdapters", - "description": [ - "\nAn embeddable can return inspector adapters if it want the inspector to be\navailable via the context menu of that panel." - ], + "id": "def-public.Embeddable.output", + "type": "Uncategorized", + "tags": [], + "label": "output", + "description": [], "signature": [ - "() => ", - { - "pluginId": "inspector", - "scope": "common", - "docId": "kibInspectorPluginApi", - "section": "def-common.Adapters", - "text": "Adapters" - }, - " | undefined" + "TEmbeddableOutput" ], "path": "src/plugins/embeddable/public/lib/embeddables/embeddable.tsx", "deprecated": false, - "trackAdoption": false, - "children": [], - "returnComment": [ - "Inspector adapters that will be used to open an inspector for." - ] + "trackAdoption": false }, { "parentPluginId": "embeddable", - "id": "def-public.Embeddable.destroy", - "type": "Function", + "id": "def-public.Embeddable.input", + "type": "Uncategorized", "tags": [], - "label": "destroy", - "description": [ - "\nCalled when this embeddable is no longer used, this should be the place for\nimplementors to add additional clean up tasks, like un-mounting and unsubscribing." - ], + "label": "input", + "description": [], "signature": [ - "() => void" + "TEmbeddableInput" ], "path": "src/plugins/embeddable/public/lib/embeddables/embeddable.tsx", "deprecated": false, - "trackAdoption": false, - "children": [], - "returnComment": [] + "trackAdoption": false }, { "parentPluginId": "embeddable", - "id": "def-public.Embeddable.setInitializationFinished", - "type": "Function", + "id": "def-public.Embeddable.renderComplete", + "type": "Object", "tags": [], - "label": "setInitializationFinished", - "description": [ - "\ncommunicate to the parent embeddable that this embeddable's initialization is finished.\nThis only applies to embeddables which defer their loading state with deferEmbeddableLoad." - ], + "label": "renderComplete", + "description": [], "signature": [ - "() => void" + { + "pluginId": "kibanaUtils", + "scope": "public", + "docId": "kibKibanaUtilsPluginApi", + "section": "def-public.RenderCompleteDispatcher", + "text": "RenderCompleteDispatcher" + } ], "path": "src/plugins/embeddable/public/lib/embeddables/embeddable.tsx", "deprecated": false, - "trackAdoption": false, - "children": [], - "returnComment": [] + "trackAdoption": false }, { "parentPluginId": "embeddable", - "id": "def-public.Embeddable.updateOutput", + "id": "def-public.Embeddable.destroyed", + "type": "boolean", + "tags": [], + "label": "destroyed", + "description": [], + "path": "src/plugins/embeddable/public/lib/embeddables/embeddable.tsx", + "deprecated": false, + "trackAdoption": false + }, + { + "parentPluginId": "embeddable", + "id": "def-public.Embeddable.Unnamed", "type": "Function", "tags": [], - "label": "updateOutput", + "label": "Constructor", "description": [], "signature": [ - "(outputChanges: Partial) => void" + "any" ], "path": "src/plugins/embeddable/public/lib/embeddables/embeddable.tsx", "deprecated": false, @@ -3216,212 +2540,180 @@ "children": [ { "parentPluginId": "embeddable", - "id": "def-public.Embeddable.updateOutput.$1", - "type": "Object", + "id": "def-public.Embeddable.Unnamed.$1", + "type": "Uncategorized", "tags": [], - "label": "outputChanges", + "label": "input", "description": [], "signature": [ - "Partial" + "TEmbeddableInput" ], "path": "src/plugins/embeddable/public/lib/embeddables/embeddable.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true - } - ], - "returnComment": [] - }, - { - "parentPluginId": "embeddable", - "id": "def-public.Embeddable.onFatalError", - "type": "Function", - "tags": [], - "label": "onFatalError", - "description": [ - "\nCall this **only** when your embeddable has encountered a non-recoverable error; recoverable errors\nshould be handled by the individual embeddable types" - ], - "signature": [ - "(e: Error) => void" - ], - "path": "src/plugins/embeddable/public/lib/embeddables/embeddable.tsx", - "deprecated": false, - "trackAdoption": false, - "children": [ + }, { "parentPluginId": "embeddable", - "id": "def-public.Embeddable.onFatalError.$1", - "type": "Object", + "id": "def-public.Embeddable.Unnamed.$2", + "type": "Uncategorized", "tags": [], - "label": "e", - "description": [ - "The fatal, unrecoverable Error that was thrown" - ], + "label": "output", + "description": [], "signature": [ - "Error" + "TEmbeddableOutput" ], "path": "src/plugins/embeddable/public/lib/embeddables/embeddable.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true + }, + { + "parentPluginId": "embeddable", + "id": "def-public.Embeddable.Unnamed.$3", + "type": "Object", + "tags": [], + "label": "parent", + "description": [], + "signature": [ + { + "pluginId": "embeddable", + "scope": "public", + "docId": "kibEmbeddablePluginApi", + "section": "def-public.IContainer", + "text": "IContainer" + }, + "<{}, ", + { + "pluginId": "embeddable", + "scope": "public", + "docId": "kibEmbeddablePluginApi", + "section": "def-public.ContainerInput", + "text": "ContainerInput" + }, + "<{}>, ", + { + "pluginId": "embeddable", + "scope": "public", + "docId": "kibEmbeddablePluginApi", + "section": "def-public.ContainerOutput", + "text": "ContainerOutput" + }, + "> | undefined" + ], + "path": "src/plugins/embeddable/public/lib/embeddables/embeddable.tsx", + "deprecated": false, + "trackAdoption": false, + "isRequired": false } ], "returnComment": [] }, { "parentPluginId": "embeddable", - "id": "def-public.Embeddable.supportedTriggers", + "id": "def-public.Embeddable.reportsEmbeddableLoad", "type": "Function", "tags": [], - "label": "supportedTriggers", + "label": "reportsEmbeddableLoad", "description": [], "signature": [ - "() => string[]" + "() => boolean" ], "path": "src/plugins/embeddable/public/lib/embeddables/embeddable.tsx", "deprecated": false, "trackAdoption": false, "children": [], "returnComment": [] - } - ], - "initialIsOpen": false - }, - { - "parentPluginId": "embeddable", - "id": "def-public.EmbeddableChildPanel", - "type": "Class", - "tags": [], - "label": "EmbeddableChildPanel", - "description": [ - "\nThis component can be used by embeddable containers using react to easily render children. It waits\nfor the child to be initialized, showing a loading indicator until that is complete." - ], - "signature": [ - { - "pluginId": "embeddable", - "scope": "public", - "docId": "kibEmbeddablePluginApi", - "section": "def-public.EmbeddableChildPanel", - "text": "EmbeddableChildPanel" - }, - " extends React.Component<", - { - "pluginId": "embeddable", - "scope": "public", - "docId": "kibEmbeddablePluginApi", - "section": "def-public.EmbeddableChildPanelProps", - "text": "EmbeddableChildPanelProps" }, - ", State, any>" - ], - "path": "src/plugins/embeddable/public/lib/containers/embeddable_child_panel.tsx", - "deprecated": false, - "trackAdoption": false, - "children": [ { "parentPluginId": "embeddable", - "id": "def-public.EmbeddableChildPanel.mounted", - "type": "boolean", + "id": "def-public.Embeddable.refreshInputFromParent", + "type": "Function", "tags": [], - "label": "mounted", + "label": "refreshInputFromParent", "description": [], - "path": "src/plugins/embeddable/public/lib/containers/embeddable_child_panel.tsx", + "signature": [ + "() => void" + ], + "path": "src/plugins/embeddable/public/lib/embeddables/embeddable.tsx", "deprecated": false, - "trackAdoption": false + "trackAdoption": false, + "children": [], + "returnComment": [] }, { "parentPluginId": "embeddable", - "id": "def-public.EmbeddableChildPanel.embeddable", - "type": "CompoundType", + "id": "def-public.Embeddable.getIsContainer", + "type": "Function", "tags": [], - "label": "embeddable", + "label": "getIsContainer", "description": [], "signature": [ + "() => this is ", { "pluginId": "embeddable", "scope": "public", "docId": "kibEmbeddablePluginApi", - "section": "def-public.IEmbeddable", - "text": "IEmbeddable" - }, - "<", - { - "pluginId": "embeddable", - "scope": "common", - "docId": "kibEmbeddablePluginApi", - "section": "def-common.EmbeddableInput", - "text": "EmbeddableInput" + "section": "def-public.IContainer", + "text": "IContainer" }, - ", ", + "<{}, ", { "pluginId": "embeddable", "scope": "public", "docId": "kibEmbeddablePluginApi", - "section": "def-public.EmbeddableOutput", - "text": "EmbeddableOutput" + "section": "def-public.ContainerInput", + "text": "ContainerInput" }, - ", any> | ", + "<{}>, ", { "pluginId": "embeddable", "scope": "public", "docId": "kibEmbeddablePluginApi", - "section": "def-public.ErrorEmbeddable", - "text": "ErrorEmbeddable" - } + "section": "def-public.ContainerOutput", + "text": "ContainerOutput" + }, + ">" ], - "path": "src/plugins/embeddable/public/lib/containers/embeddable_child_panel.tsx", + "path": "src/plugins/embeddable/public/lib/embeddables/embeddable.tsx", "deprecated": false, - "trackAdoption": false + "trackAdoption": false, + "children": [], + "returnComment": [] }, { "parentPluginId": "embeddable", - "id": "def-public.EmbeddableChildPanel.Unnamed", + "id": "def-public.Embeddable.reload", "type": "Function", "tags": [], - "label": "Constructor", - "description": [], + "label": "reload", + "description": [ + "\nReload will be called when there is a request to refresh the data or view, even if the\ninput data did not change.\n\nIn case if input data did change and reload is requested input$ and output$ would still emit before `reload` is called\n\nThe order would be as follows:\ninput$\noutput$\nreload()\n----\nupdated$" + ], "signature": [ - "any" + "() => void" ], - "path": "src/plugins/embeddable/public/lib/containers/embeddable_child_panel.tsx", + "path": "src/plugins/embeddable/public/lib/embeddables/embeddable.tsx", "deprecated": false, "trackAdoption": false, - "children": [ - { - "parentPluginId": "embeddable", - "id": "def-public.EmbeddableChildPanel.Unnamed.$1", - "type": "Object", - "tags": [], - "label": "props", - "description": [], - "signature": [ - { - "pluginId": "embeddable", - "scope": "public", - "docId": "kibEmbeddablePluginApi", - "section": "def-public.EmbeddableChildPanelProps", - "text": "EmbeddableChildPanelProps" - } - ], - "path": "src/plugins/embeddable/public/lib/containers/embeddable_child_panel.tsx", - "deprecated": false, - "trackAdoption": false, - "isRequired": true - } - ], + "children": [], "returnComment": [] }, { "parentPluginId": "embeddable", - "id": "def-public.EmbeddableChildPanel.componentDidMount", + "id": "def-public.Embeddable.getUpdated$", "type": "Function", "tags": [], - "label": "componentDidMount", - "description": [], + "label": "getUpdated$", + "description": [ + "\nMerges input$ and output$ streams and debounces emit till next macro-task.\nCould be useful to batch reactions to input$ and output$ updates that happen separately but synchronously.\nIn case corresponding state change triggered `reload` this stream is guarantied to emit later,\nwhich allows to skip state handling in case `reload` already handled it." + ], "signature": [ - "() => Promise" + "() => Readonly<", + "Observable", + ">" ], - "path": "src/plugins/embeddable/public/lib/containers/embeddable_child_panel.tsx", + "path": "src/plugins/embeddable/public/lib/embeddables/embeddable.tsx", "deprecated": false, "trackAdoption": false, "children": [], @@ -3429,15 +2721,17 @@ }, { "parentPluginId": "embeddable", - "id": "def-public.EmbeddableChildPanel.componentWillUnmount", + "id": "def-public.Embeddable.getInput$", "type": "Function", "tags": [], - "label": "componentWillUnmount", + "label": "getInput$", "description": [], "signature": [ - "() => void" + "() => Readonly<", + "Observable", + ">" ], - "path": "src/plugins/embeddable/public/lib/containers/embeddable_child_panel.tsx", + "path": "src/plugins/embeddable/public/lib/embeddables/embeddable.tsx", "deprecated": false, "trackAdoption": false, "children": [], @@ -3445,154 +2739,129 @@ }, { "parentPluginId": "embeddable", - "id": "def-public.EmbeddableChildPanel.render", + "id": "def-public.Embeddable.getOutput$", "type": "Function", "tags": [], - "label": "render", + "label": "getOutput$", "description": [], "signature": [ - "() => JSX.Element" + "() => Readonly<", + "Observable", + ">" ], - "path": "src/plugins/embeddable/public/lib/containers/embeddable_child_panel.tsx", + "path": "src/plugins/embeddable/public/lib/embeddables/embeddable.tsx", "deprecated": false, "trackAdoption": false, "children": [], "returnComment": [] - } - ], - "initialIsOpen": false - }, - { - "parentPluginId": "embeddable", - "id": "def-public.EmbeddableFactoryNotFoundError", - "type": "Class", - "tags": [], - "label": "EmbeddableFactoryNotFoundError", - "description": [], - "signature": [ - { - "pluginId": "embeddable", - "scope": "public", - "docId": "kibEmbeddablePluginApi", - "section": "def-public.EmbeddableFactoryNotFoundError", - "text": "EmbeddableFactoryNotFoundError" }, - " extends Error" - ], - "path": "src/plugins/embeddable/public/lib/errors.ts", - "deprecated": false, - "trackAdoption": false, - "children": [ { "parentPluginId": "embeddable", - "id": "def-public.EmbeddableFactoryNotFoundError.code", - "type": "string", + "id": "def-public.Embeddable.getOutput", + "type": "Function", "tags": [], - "label": "code", + "label": "getOutput", "description": [], - "path": "src/plugins/embeddable/public/lib/errors.ts", + "signature": [ + "() => Readonly" + ], + "path": "src/plugins/embeddable/public/lib/embeddables/embeddable.tsx", "deprecated": false, - "trackAdoption": false + "trackAdoption": false, + "children": [], + "returnComment": [] }, { "parentPluginId": "embeddable", - "id": "def-public.EmbeddableFactoryNotFoundError.Unnamed", + "id": "def-public.Embeddable.getExplicitInputIsEqual", "type": "Function", "tags": [], - "label": "Constructor", + "label": "getExplicitInputIsEqual", "description": [], "signature": [ - "any" + "(lastExplicitInput: Partial) => Promise" ], - "path": "src/plugins/embeddable/public/lib/errors.ts", + "path": "src/plugins/embeddable/public/lib/embeddables/embeddable.tsx", "deprecated": false, "trackAdoption": false, "children": [ { "parentPluginId": "embeddable", - "id": "def-public.EmbeddableFactoryNotFoundError.Unnamed.$1", - "type": "string", + "id": "def-public.Embeddable.getExplicitInputIsEqual.$1", + "type": "Object", "tags": [], - "label": "type", + "label": "lastExplicitInput", "description": [], "signature": [ - "string" + "Partial" ], - "path": "src/plugins/embeddable/public/lib/errors.ts", + "path": "src/plugins/embeddable/public/lib/embeddables/embeddable.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true } ], "returnComment": [] - } - ], - "initialIsOpen": false - }, - { - "parentPluginId": "embeddable", - "id": "def-public.EmbeddablePanel", - "type": "Class", - "tags": [], - "label": "EmbeddablePanel", - "description": [], - "signature": [ + }, { - "pluginId": "embeddable", - "scope": "public", - "docId": "kibEmbeddablePluginApi", - "section": "def-public.EmbeddablePanel", - "text": "EmbeddablePanel" + "parentPluginId": "embeddable", + "id": "def-public.Embeddable.getExplicitInput", + "type": "Function", + "tags": [], + "label": "getExplicitInput", + "description": [], + "signature": [ + "() => TEmbeddableInput" + ], + "path": "src/plugins/embeddable/public/lib/embeddables/embeddable.tsx", + "deprecated": false, + "trackAdoption": false, + "children": [], + "returnComment": [] }, - " extends React.Component" - ], - "path": "src/plugins/embeddable/public/lib/panel/embeddable_panel.tsx", - "deprecated": false, - "trackAdoption": false, - "children": [ { "parentPluginId": "embeddable", - "id": "def-public.EmbeddablePanel.Unnamed", + "id": "def-public.Embeddable.getPersistableInput", "type": "Function", "tags": [], - "label": "Constructor", + "label": "getPersistableInput", "description": [], "signature": [ - "any" + "() => TEmbeddableInput" ], - "path": "src/plugins/embeddable/public/lib/panel/embeddable_panel.tsx", + "path": "src/plugins/embeddable/public/lib/embeddables/embeddable.tsx", "deprecated": false, "trackAdoption": false, - "children": [ - { - "parentPluginId": "embeddable", - "id": "def-public.EmbeddablePanel.Unnamed.$1", - "type": "Object", - "tags": [], - "label": "props", - "description": [], - "signature": [ - "Props" - ], - "path": "src/plugins/embeddable/public/lib/panel/embeddable_panel.tsx", - "deprecated": false, - "trackAdoption": false, - "isRequired": true - } + "children": [], + "returnComment": [] + }, + { + "parentPluginId": "embeddable", + "id": "def-public.Embeddable.getInput", + "type": "Function", + "tags": [], + "label": "getInput", + "description": [], + "signature": [ + "() => Readonly" ], + "path": "src/plugins/embeddable/public/lib/embeddables/embeddable.tsx", + "deprecated": false, + "trackAdoption": false, + "children": [], "returnComment": [] }, { "parentPluginId": "embeddable", - "id": "def-public.EmbeddablePanel.UNSAFE_componentWillMount", + "id": "def-public.Embeddable.getTitle", "type": "Function", "tags": [], - "label": "UNSAFE_componentWillMount", + "label": "getTitle", "description": [], "signature": [ - "() => void" + "() => string" ], - "path": "src/plugins/embeddable/public/lib/panel/embeddable_panel.tsx", + "path": "src/plugins/embeddable/public/lib/embeddables/embeddable.tsx", "deprecated": false, "trackAdoption": false, "children": [], @@ -3600,15 +2869,81 @@ }, { "parentPluginId": "embeddable", - "id": "def-public.EmbeddablePanel.componentWillUnmount", + "id": "def-public.Embeddable.getDescription", "type": "Function", "tags": [], - "label": "componentWillUnmount", + "label": "getDescription", "description": [], "signature": [ - "() => void" + "() => string" + ], + "path": "src/plugins/embeddable/public/lib/embeddables/embeddable.tsx", + "deprecated": false, + "trackAdoption": false, + "children": [], + "returnComment": [] + }, + { + "parentPluginId": "embeddable", + "id": "def-public.Embeddable.getRoot", + "type": "Function", + "tags": [], + "label": "getRoot", + "description": [ + "\nReturns the top most parent embeddable, or itself if this embeddable\nis not within a parent." + ], + "signature": [ + "() => ", + { + "pluginId": "embeddable", + "scope": "public", + "docId": "kibEmbeddablePluginApi", + "section": "def-public.IEmbeddable", + "text": "IEmbeddable" + }, + "<", + { + "pluginId": "embeddable", + "scope": "common", + "docId": "kibEmbeddablePluginApi", + "section": "def-common.EmbeddableInput", + "text": "EmbeddableInput" + }, + ", ", + { + "pluginId": "embeddable", + "scope": "public", + "docId": "kibEmbeddablePluginApi", + "section": "def-public.EmbeddableOutput", + "text": "EmbeddableOutput" + }, + ", any> | ", + { + "pluginId": "embeddable", + "scope": "public", + "docId": "kibEmbeddablePluginApi", + "section": "def-public.IContainer", + "text": "IContainer" + }, + "<{}, ", + { + "pluginId": "embeddable", + "scope": "public", + "docId": "kibEmbeddablePluginApi", + "section": "def-public.ContainerInput", + "text": "ContainerInput" + }, + "<{}>, ", + { + "pluginId": "embeddable", + "scope": "public", + "docId": "kibEmbeddablePluginApi", + "section": "def-public.ContainerOutput", + "text": "ContainerOutput" + }, + ">" ], - "path": "src/plugins/embeddable/public/lib/panel/embeddable_panel.tsx", + "path": "src/plugins/embeddable/public/lib/embeddables/embeddable.tsx", "deprecated": false, "trackAdoption": false, "children": [], @@ -3616,29 +2951,29 @@ }, { "parentPluginId": "embeddable", - "id": "def-public.EmbeddablePanel.onFocus", + "id": "def-public.Embeddable.updateInput", "type": "Function", "tags": [], - "label": "onFocus", + "label": "updateInput", "description": [], "signature": [ - "(focusedPanelIndex: string) => void" + "(changes: Partial) => void" ], - "path": "src/plugins/embeddable/public/lib/panel/embeddable_panel.tsx", + "path": "src/plugins/embeddable/public/lib/embeddables/embeddable.tsx", "deprecated": false, "trackAdoption": false, "children": [ { "parentPluginId": "embeddable", - "id": "def-public.EmbeddablePanel.onFocus.$1", - "type": "string", + "id": "def-public.Embeddable.updateInput.$1", + "type": "Object", "tags": [], - "label": "focusedPanelIndex", + "label": "changes", "description": [], "signature": [ - "string" + "Partial" ], - "path": "src/plugins/embeddable/public/lib/panel/embeddable_panel.tsx", + "path": "src/plugins/embeddable/public/lib/embeddables/embeddable.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -3648,29 +2983,29 @@ }, { "parentPluginId": "embeddable", - "id": "def-public.EmbeddablePanel.onBlur", + "id": "def-public.Embeddable.render", "type": "Function", "tags": [], - "label": "onBlur", + "label": "render", "description": [], "signature": [ - "(blurredPanelIndex: string) => void" + "(el: HTMLElement) => void | TNode" ], - "path": "src/plugins/embeddable/public/lib/panel/embeddable_panel.tsx", + "path": "src/plugins/embeddable/public/lib/embeddables/embeddable.tsx", "deprecated": false, "trackAdoption": false, "children": [ { "parentPluginId": "embeddable", - "id": "def-public.EmbeddablePanel.onBlur.$1", - "type": "string", + "id": "def-public.Embeddable.render.$1", + "type": "Object", "tags": [], - "label": "blurredPanelIndex", + "label": "el", "description": [], "signature": [ - "string" + "HTMLElement" ], - "path": "src/plugins/embeddable/public/lib/panel/embeddable_panel.tsx", + "path": "src/plugins/embeddable/public/lib/embeddables/embeddable.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -3680,31 +3015,47 @@ }, { "parentPluginId": "embeddable", - "id": "def-public.EmbeddablePanel.render", + "id": "def-public.Embeddable.getInspectorAdapters", "type": "Function", - "tags": [], - "label": "render", - "description": [], + "tags": [ + "return" + ], + "label": "getInspectorAdapters", + "description": [ + "\nAn embeddable can return inspector adapters if it want the inspector to be\navailable via the context menu of that panel." + ], "signature": [ - "() => JSX.Element" + "() => ", + { + "pluginId": "inspector", + "scope": "common", + "docId": "kibInspectorPluginApi", + "section": "def-common.Adapters", + "text": "Adapters" + }, + " | undefined" ], - "path": "src/plugins/embeddable/public/lib/panel/embeddable_panel.tsx", + "path": "src/plugins/embeddable/public/lib/embeddables/embeddable.tsx", "deprecated": false, "trackAdoption": false, "children": [], - "returnComment": [] + "returnComment": [ + "Inspector adapters that will be used to open an inspector for." + ] }, { "parentPluginId": "embeddable", - "id": "def-public.EmbeddablePanel.componentDidMount", + "id": "def-public.Embeddable.destroy", "type": "Function", "tags": [], - "label": "componentDidMount", - "description": [], + "label": "destroy", + "description": [ + "\nCalled when this embeddable is no longer used, this should be the place for\nimplementors to add additional clean up tasks, like un-mounting and unsubscribing." + ], "signature": [ "() => void" ], - "path": "src/plugins/embeddable/public/lib/panel/embeddable_panel.tsx", + "path": "src/plugins/embeddable/public/lib/embeddables/embeddable.tsx", "deprecated": false, "trackAdoption": false, "children": [], @@ -3712,69 +3063,47 @@ }, { "parentPluginId": "embeddable", - "id": "def-public.EmbeddablePanel.closeMyContextMenuPanel", + "id": "def-public.Embeddable.setInitializationFinished", "type": "Function", "tags": [], - "label": "closeMyContextMenuPanel", - "description": [], + "label": "setInitializationFinished", + "description": [ + "\ncommunicate to the parent embeddable that this embeddable's initialization is finished.\nThis only applies to embeddables which defer their loading state with deferEmbeddableLoad." + ], "signature": [ "() => void" ], - "path": "src/plugins/embeddable/public/lib/panel/embeddable_panel.tsx", + "path": "src/plugins/embeddable/public/lib/embeddables/embeddable.tsx", "deprecated": false, "trackAdoption": false, "children": [], "returnComment": [] - } - ], - "initialIsOpen": false - }, - { - "parentPluginId": "embeddable", - "id": "def-public.EmbeddableRoot", - "type": "Class", - "tags": [], - "label": "EmbeddableRoot", - "description": [], - "signature": [ - { - "pluginId": "embeddable", - "scope": "public", - "docId": "kibEmbeddablePluginApi", - "section": "def-public.EmbeddableRoot", - "text": "EmbeddableRoot" }, - " extends React.Component" - ], - "path": "src/plugins/embeddable/public/lib/embeddables/embeddable_root.tsx", - "deprecated": false, - "trackAdoption": false, - "children": [ { "parentPluginId": "embeddable", - "id": "def-public.EmbeddableRoot.Unnamed", + "id": "def-public.Embeddable.updateOutput", "type": "Function", "tags": [], - "label": "Constructor", + "label": "updateOutput", "description": [], "signature": [ - "any" + "(outputChanges: Partial) => void" ], - "path": "src/plugins/embeddable/public/lib/embeddables/embeddable_root.tsx", + "path": "src/plugins/embeddable/public/lib/embeddables/embeddable.tsx", "deprecated": false, "trackAdoption": false, "children": [ { "parentPluginId": "embeddable", - "id": "def-public.EmbeddableRoot.Unnamed.$1", + "id": "def-public.Embeddable.updateOutput.$1", "type": "Object", "tags": [], - "label": "props", + "label": "outputChanges", "description": [], "signature": [ - "Props" + "Partial" ], - "path": "src/plugins/embeddable/public/lib/embeddables/embeddable_root.tsx", + "path": "src/plugins/embeddable/public/lib/embeddables/embeddable.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -3784,26 +3113,201 @@ }, { "parentPluginId": "embeddable", - "id": "def-public.EmbeddableRoot.componentDidMount", + "id": "def-public.Embeddable.onFatalError", "type": "Function", "tags": [], - "label": "componentDidMount", - "description": [], + "label": "onFatalError", + "description": [ + "\nCall this **only** when your embeddable has encountered a non-recoverable error; recoverable errors\nshould be handled by the individual embeddable types" + ], "signature": [ - "() => void" + "(e: Error) => void" ], - "path": "src/plugins/embeddable/public/lib/embeddables/embeddable_root.tsx", + "path": "src/plugins/embeddable/public/lib/embeddables/embeddable.tsx", "deprecated": false, "trackAdoption": false, - "children": [], - "returnComment": [] - }, - { - "parentPluginId": "embeddable", - "id": "def-public.EmbeddableRoot.componentDidUpdate", - "type": "Function", - "tags": [], - "label": "componentDidUpdate", + "children": [ + { + "parentPluginId": "embeddable", + "id": "def-public.Embeddable.onFatalError.$1", + "type": "Object", + "tags": [], + "label": "e", + "description": [ + "The fatal, unrecoverable Error that was thrown" + ], + "signature": [ + "Error" + ], + "path": "src/plugins/embeddable/public/lib/embeddables/embeddable.tsx", + "deprecated": false, + "trackAdoption": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "embeddable", + "id": "def-public.Embeddable.supportedTriggers", + "type": "Function", + "tags": [], + "label": "supportedTriggers", + "description": [], + "signature": [ + "() => string[]" + ], + "path": "src/plugins/embeddable/public/lib/embeddables/embeddable.tsx", + "deprecated": false, + "trackAdoption": false, + "children": [], + "returnComment": [] + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "embeddable", + "id": "def-public.EmbeddableFactoryNotFoundError", + "type": "Class", + "tags": [], + "label": "EmbeddableFactoryNotFoundError", + "description": [], + "signature": [ + { + "pluginId": "embeddable", + "scope": "public", + "docId": "kibEmbeddablePluginApi", + "section": "def-public.EmbeddableFactoryNotFoundError", + "text": "EmbeddableFactoryNotFoundError" + }, + " extends Error" + ], + "path": "src/plugins/embeddable/public/lib/errors.ts", + "deprecated": false, + "trackAdoption": false, + "children": [ + { + "parentPluginId": "embeddable", + "id": "def-public.EmbeddableFactoryNotFoundError.code", + "type": "string", + "tags": [], + "label": "code", + "description": [], + "path": "src/plugins/embeddable/public/lib/errors.ts", + "deprecated": false, + "trackAdoption": false + }, + { + "parentPluginId": "embeddable", + "id": "def-public.EmbeddableFactoryNotFoundError.Unnamed", + "type": "Function", + "tags": [], + "label": "Constructor", + "description": [], + "signature": [ + "any" + ], + "path": "src/plugins/embeddable/public/lib/errors.ts", + "deprecated": false, + "trackAdoption": false, + "children": [ + { + "parentPluginId": "embeddable", + "id": "def-public.EmbeddableFactoryNotFoundError.Unnamed.$1", + "type": "string", + "tags": [], + "label": "type", + "description": [], + "signature": [ + "string" + ], + "path": "src/plugins/embeddable/public/lib/errors.ts", + "deprecated": false, + "trackAdoption": false, + "isRequired": true + } + ], + "returnComment": [] + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "embeddable", + "id": "def-public.EmbeddableRoot", + "type": "Class", + "tags": [], + "label": "EmbeddableRoot", + "description": [], + "signature": [ + { + "pluginId": "embeddable", + "scope": "public", + "docId": "kibEmbeddablePluginApi", + "section": "def-public.EmbeddableRoot", + "text": "EmbeddableRoot" + }, + " extends React.Component" + ], + "path": "src/plugins/embeddable/public/lib/embeddables/embeddable_root.tsx", + "deprecated": false, + "trackAdoption": false, + "children": [ + { + "parentPluginId": "embeddable", + "id": "def-public.EmbeddableRoot.Unnamed", + "type": "Function", + "tags": [], + "label": "Constructor", + "description": [], + "signature": [ + "any" + ], + "path": "src/plugins/embeddable/public/lib/embeddables/embeddable_root.tsx", + "deprecated": false, + "trackAdoption": false, + "children": [ + { + "parentPluginId": "embeddable", + "id": "def-public.EmbeddableRoot.Unnamed.$1", + "type": "Object", + "tags": [], + "label": "props", + "description": [], + "signature": [ + "Props" + ], + "path": "src/plugins/embeddable/public/lib/embeddables/embeddable_root.tsx", + "deprecated": false, + "trackAdoption": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "embeddable", + "id": "def-public.EmbeddableRoot.componentDidMount", + "type": "Function", + "tags": [], + "label": "componentDidMount", + "description": [], + "signature": [ + "() => void" + ], + "path": "src/plugins/embeddable/public/lib/embeddables/embeddable_root.tsx", + "deprecated": false, + "trackAdoption": false, + "children": [], + "returnComment": [] + }, + { + "parentPluginId": "embeddable", + "id": "def-public.EmbeddableRoot.componentDidUpdate", + "type": "Function", + "tags": [], + "label": "componentDidUpdate", "description": [], "signature": [ "(prevProps?: Props | undefined) => void" @@ -4625,39 +4129,75 @@ }, { "parentPluginId": "embeddable", - "id": "def-public.PanelNotFoundError", + "id": "def-public.InspectPanelAction", "type": "Class", "tags": [], - "label": "PanelNotFoundError", + "label": "InspectPanelAction", "description": [], "signature": [ { "pluginId": "embeddable", "scope": "public", "docId": "kibEmbeddablePluginApi", - "section": "def-public.PanelNotFoundError", - "text": "PanelNotFoundError" + "section": "def-public.InspectPanelAction", + "text": "InspectPanelAction" }, - " extends Error" + " implements ", + { + "pluginId": "uiActions", + "scope": "public", + "docId": "kibUiActionsPluginApi", + "section": "def-public.Action", + "text": "Action" + }, + "" ], - "path": "src/plugins/embeddable/public/lib/errors.ts", + "path": "src/plugins/embeddable/public/embeddable_panel/panel_actions/inspect_panel_action/inspect_panel_action.ts", "deprecated": false, "trackAdoption": false, "children": [ { "parentPluginId": "embeddable", - "id": "def-public.PanelNotFoundError.code", + "id": "def-public.InspectPanelAction.type", "type": "string", "tags": [], - "label": "code", + "label": "type", "description": [], - "path": "src/plugins/embeddable/public/lib/errors.ts", + "signature": [ + "\"openInspector\"" + ], + "path": "src/plugins/embeddable/public/embeddable_panel/panel_actions/inspect_panel_action/inspect_panel_action.ts", "deprecated": false, "trackAdoption": false }, { "parentPluginId": "embeddable", - "id": "def-public.PanelNotFoundError.Unnamed", + "id": "def-public.InspectPanelAction.id", + "type": "string", + "tags": [], + "label": "id", + "description": [], + "signature": [ + "\"openInspector\"" + ], + "path": "src/plugins/embeddable/public/embeddable_panel/panel_actions/inspect_panel_action/inspect_panel_action.ts", + "deprecated": false, + "trackAdoption": false + }, + { + "parentPluginId": "embeddable", + "id": "def-public.InspectPanelAction.order", + "type": "number", + "tags": [], + "label": "order", + "description": [], + "path": "src/plugins/embeddable/public/embeddable_panel/panel_actions/inspect_panel_action/inspect_panel_action.ts", + "deprecated": false, + "trackAdoption": false + }, + { + "parentPluginId": "embeddable", + "id": "def-public.InspectPanelAction.Unnamed", "type": "Function", "tags": [], "label": "Constructor", @@ -4665,286 +4205,410 @@ "signature": [ "any" ], - "path": "src/plugins/embeddable/public/lib/errors.ts", + "path": "src/plugins/embeddable/public/embeddable_panel/panel_actions/inspect_panel_action/inspect_panel_action.ts", + "deprecated": false, + "trackAdoption": false, + "children": [ + { + "parentPluginId": "embeddable", + "id": "def-public.InspectPanelAction.Unnamed.$1", + "type": "Object", + "tags": [], + "label": "inspector", + "description": [], + "signature": [ + { + "pluginId": "inspector", + "scope": "public", + "docId": "kibInspectorPluginApi", + "section": "def-public.Start", + "text": "Start" + } + ], + "path": "src/plugins/embeddable/public/embeddable_panel/panel_actions/inspect_panel_action/inspect_panel_action.ts", + "deprecated": false, + "trackAdoption": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "embeddable", + "id": "def-public.InspectPanelAction.getDisplayName", + "type": "Function", + "tags": [], + "label": "getDisplayName", + "description": [], + "signature": [ + "() => any" + ], + "path": "src/plugins/embeddable/public/embeddable_panel/panel_actions/inspect_panel_action/inspect_panel_action.ts", "deprecated": false, "trackAdoption": false, "children": [], "returnComment": [] - } - ], - "initialIsOpen": false - } - ], - "functions": [ - { - "parentPluginId": "embeddable", - "id": "def-public.defaultEmbeddableFactoryProvider", - "type": "Function", - "tags": [], - "label": "defaultEmbeddableFactoryProvider", - "description": [], - "signature": [ - " = ", - { - "pluginId": "embeddable", - "scope": "public", - "docId": "kibEmbeddablePluginApi", - "section": "def-public.IEmbeddable", - "text": "IEmbeddable" - }, - ", T = ", - { - "pluginId": "@kbn/core-saved-objects-common", - "scope": "common", - "docId": "kibKbnCoreSavedObjectsCommonPluginApi", - "section": "def-common.SavedObjectAttributes", - "text": "SavedObjectAttributes" }, - ">(def: ", { - "pluginId": "embeddable", - "scope": "public", - "docId": "kibEmbeddablePluginApi", - "section": "def-public.EmbeddableFactoryDefinition", - "text": "EmbeddableFactoryDefinition" + "parentPluginId": "embeddable", + "id": "def-public.InspectPanelAction.getIconType", + "type": "Function", + "tags": [], + "label": "getIconType", + "description": [], + "signature": [ + "() => string" + ], + "path": "src/plugins/embeddable/public/embeddable_panel/panel_actions/inspect_panel_action/inspect_panel_action.ts", + "deprecated": false, + "trackAdoption": false, + "children": [], + "returnComment": [] }, - ") => ", { - "pluginId": "embeddable", - "scope": "public", - "docId": "kibEmbeddablePluginApi", - "section": "def-public.EmbeddableFactory", - "text": "EmbeddableFactory" + "parentPluginId": "embeddable", + "id": "def-public.InspectPanelAction.isCompatible", + "type": "Function", + "tags": [], + "label": "isCompatible", + "description": [], + "signature": [ + "({ embeddable }: ActionContext) => Promise" + ], + "path": "src/plugins/embeddable/public/embeddable_panel/panel_actions/inspect_panel_action/inspect_panel_action.ts", + "deprecated": false, + "trackAdoption": false, + "children": [ + { + "parentPluginId": "embeddable", + "id": "def-public.InspectPanelAction.isCompatible.$1", + "type": "Object", + "tags": [], + "label": "{ embeddable }", + "description": [], + "signature": [ + "ActionContext" + ], + "path": "src/plugins/embeddable/public/embeddable_panel/panel_actions/inspect_panel_action/inspect_panel_action.ts", + "deprecated": false, + "trackAdoption": false, + "isRequired": true + } + ], + "returnComment": [] }, - "" - ], - "path": "src/plugins/embeddable/public/lib/embeddables/default_embeddable_factory_provider.ts", - "deprecated": false, - "trackAdoption": false, - "children": [ { "parentPluginId": "embeddable", - "id": "def-public.defaultEmbeddableFactoryProvider.$1", - "type": "CompoundType", + "id": "def-public.InspectPanelAction.execute", + "type": "Function", "tags": [], - "label": "def", + "label": "execute", "description": [], "signature": [ - { - "pluginId": "embeddable", - "scope": "public", - "docId": "kibEmbeddablePluginApi", - "section": "def-public.EmbeddableFactoryDefinition", - "text": "EmbeddableFactoryDefinition" - }, - "" + "({ embeddable }: ActionContext) => Promise" ], - "path": "src/plugins/embeddable/public/lib/embeddables/default_embeddable_factory_provider.ts", + "path": "src/plugins/embeddable/public/embeddable_panel/panel_actions/inspect_panel_action/inspect_panel_action.ts", "deprecated": false, "trackAdoption": false, - "isRequired": true + "children": [ + { + "parentPluginId": "embeddable", + "id": "def-public.InspectPanelAction.execute.$1", + "type": "Object", + "tags": [], + "label": "{ embeddable }", + "description": [], + "signature": [ + "ActionContext" + ], + "path": "src/plugins/embeddable/public/embeddable_panel/panel_actions/inspect_panel_action/inspect_panel_action.ts", + "deprecated": false, + "trackAdoption": false, + "isRequired": true + } + ], + "returnComment": [] } ], - "returnComment": [], "initialIsOpen": false }, { "parentPluginId": "embeddable", - "id": "def-public.EmbeddableRenderer", - "type": "Function", + "id": "def-public.PanelNotFoundError", + "type": "Class", "tags": [], - "label": "EmbeddableRenderer", - "description": [ - "\nHelper react component to render an embeddable\nCan be used if you have an embeddable object or an embeddable factory\nSupports updating input by passing `input` prop\n" - ], + "label": "PanelNotFoundError", + "description": [], "signature": [ - "(props: ", { "pluginId": "embeddable", "scope": "public", "docId": "kibEmbeddablePluginApi", - "section": "def-public.EmbeddableRendererProps", - "text": "EmbeddableRendererProps" + "section": "def-public.PanelNotFoundError", + "text": "PanelNotFoundError" }, - ") => JSX.Element" + " extends Error" ], - "path": "src/plugins/embeddable/public/lib/embeddables/embeddable_renderer.tsx", + "path": "src/plugins/embeddable/public/lib/errors.ts", "deprecated": false, "trackAdoption": false, "children": [ { "parentPluginId": "embeddable", - "id": "def-public.EmbeddableRenderer.$1", - "type": "CompoundType", + "id": "def-public.PanelNotFoundError.code", + "type": "string", "tags": [], - "label": "props", - "description": [ - "- {@link EmbeddableRendererProps }" - ], + "label": "code", + "description": [], + "path": "src/plugins/embeddable/public/lib/errors.ts", + "deprecated": false, + "trackAdoption": false + }, + { + "parentPluginId": "embeddable", + "id": "def-public.PanelNotFoundError.Unnamed", + "type": "Function", + "tags": [], + "label": "Constructor", + "description": [], "signature": [ - { - "pluginId": "embeddable", - "scope": "public", - "docId": "kibEmbeddablePluginApi", - "section": "def-public.EmbeddableRendererProps", - "text": "EmbeddableRendererProps" - }, - "" + "any" ], - "path": "src/plugins/embeddable/public/lib/embeddables/embeddable_renderer.tsx", + "path": "src/plugins/embeddable/public/lib/errors.ts", "deprecated": false, "trackAdoption": false, - "isRequired": true + "children": [], + "returnComment": [] } ], - "returnComment": [], "initialIsOpen": false }, { "parentPluginId": "embeddable", - "id": "def-public.genericEmbeddableInputIsEqual", - "type": "Function", + "id": "def-public.RemovePanelAction", + "type": "Class", "tags": [], - "label": "genericEmbeddableInputIsEqual", + "label": "RemovePanelAction", "description": [], "signature": [ - "(currentInput: Partial<", { "pluginId": "embeddable", - "scope": "common", + "scope": "public", "docId": "kibEmbeddablePluginApi", - "section": "def-common.EmbeddableInput", - "text": "EmbeddableInput" + "section": "def-public.RemovePanelAction", + "text": "RemovePanelAction" }, - ">, lastInput: Partial<", + " implements ", { - "pluginId": "embeddable", - "scope": "common", - "docId": "kibEmbeddablePluginApi", - "section": "def-common.EmbeddableInput", - "text": "EmbeddableInput" + "pluginId": "uiActions", + "scope": "public", + "docId": "kibUiActionsPluginApi", + "section": "def-public.Action", + "text": "Action" }, - ">) => boolean" + "" ], - "path": "src/plugins/embeddable/public/lib/embeddables/diff_embeddable_input.ts", + "path": "src/plugins/embeddable/public/embeddable_panel/panel_actions/remove_panel_action/remove_panel_action.ts", "deprecated": false, "trackAdoption": false, "children": [ { "parentPluginId": "embeddable", - "id": "def-public.genericEmbeddableInputIsEqual.$1", - "type": "Object", + "id": "def-public.RemovePanelAction.type", + "type": "string", "tags": [], - "label": "currentInput", + "label": "type", "description": [], "signature": [ - "Partial<", - { - "pluginId": "embeddable", - "scope": "common", - "docId": "kibEmbeddablePluginApi", - "section": "def-common.EmbeddableInput", - "text": "EmbeddableInput" - }, - ">" + "\"deletePanel\"" ], - "path": "src/plugins/embeddable/public/lib/embeddables/diff_embeddable_input.ts", + "path": "src/plugins/embeddable/public/embeddable_panel/panel_actions/remove_panel_action/remove_panel_action.ts", + "deprecated": false, + "trackAdoption": false + }, + { + "parentPluginId": "embeddable", + "id": "def-public.RemovePanelAction.id", + "type": "string", + "tags": [], + "label": "id", + "description": [], + "signature": [ + "\"deletePanel\"" + ], + "path": "src/plugins/embeddable/public/embeddable_panel/panel_actions/remove_panel_action/remove_panel_action.ts", + "deprecated": false, + "trackAdoption": false + }, + { + "parentPluginId": "embeddable", + "id": "def-public.RemovePanelAction.order", + "type": "number", + "tags": [], + "label": "order", + "description": [], + "path": "src/plugins/embeddable/public/embeddable_panel/panel_actions/remove_panel_action/remove_panel_action.ts", + "deprecated": false, + "trackAdoption": false + }, + { + "parentPluginId": "embeddable", + "id": "def-public.RemovePanelAction.Unnamed", + "type": "Function", + "tags": [], + "label": "Constructor", + "description": [], + "signature": [ + "any" + ], + "path": "src/plugins/embeddable/public/embeddable_panel/panel_actions/remove_panel_action/remove_panel_action.ts", "deprecated": false, "trackAdoption": false, - "isRequired": true + "children": [], + "returnComment": [] }, { "parentPluginId": "embeddable", - "id": "def-public.genericEmbeddableInputIsEqual.$2", - "type": "Object", + "id": "def-public.RemovePanelAction.getDisplayName", + "type": "Function", "tags": [], - "label": "lastInput", + "label": "getDisplayName", "description": [], "signature": [ - "Partial<", + "() => any" + ], + "path": "src/plugins/embeddable/public/embeddable_panel/panel_actions/remove_panel_action/remove_panel_action.ts", + "deprecated": false, + "trackAdoption": false, + "children": [], + "returnComment": [] + }, + { + "parentPluginId": "embeddable", + "id": "def-public.RemovePanelAction.getIconType", + "type": "Function", + "tags": [], + "label": "getIconType", + "description": [], + "signature": [ + "() => string" + ], + "path": "src/plugins/embeddable/public/embeddable_panel/panel_actions/remove_panel_action/remove_panel_action.ts", + "deprecated": false, + "trackAdoption": false, + "children": [], + "returnComment": [] + }, + { + "parentPluginId": "embeddable", + "id": "def-public.RemovePanelAction.isCompatible", + "type": "Function", + "tags": [], + "label": "isCompatible", + "description": [], + "signature": [ + "({ embeddable }: ActionContext) => Promise" + ], + "path": "src/plugins/embeddable/public/embeddable_panel/panel_actions/remove_panel_action/remove_panel_action.ts", + "deprecated": false, + "trackAdoption": false, + "children": [ { - "pluginId": "embeddable", - "scope": "common", - "docId": "kibEmbeddablePluginApi", - "section": "def-common.EmbeddableInput", - "text": "EmbeddableInput" - }, - ">" + "parentPluginId": "embeddable", + "id": "def-public.RemovePanelAction.isCompatible.$1", + "type": "Object", + "tags": [], + "label": "{ embeddable }", + "description": [], + "signature": [ + "ActionContext" + ], + "path": "src/plugins/embeddable/public/embeddable_panel/panel_actions/remove_panel_action/remove_panel_action.ts", + "deprecated": false, + "trackAdoption": false, + "isRequired": true + } ], - "path": "src/plugins/embeddable/public/lib/embeddables/diff_embeddable_input.ts", + "returnComment": [] + }, + { + "parentPluginId": "embeddable", + "id": "def-public.RemovePanelAction.execute", + "type": "Function", + "tags": [], + "label": "execute", + "description": [], + "signature": [ + "({ embeddable }: ActionContext) => Promise" + ], + "path": "src/plugins/embeddable/public/embeddable_panel/panel_actions/remove_panel_action/remove_panel_action.ts", "deprecated": false, "trackAdoption": false, - "isRequired": true + "children": [ + { + "parentPluginId": "embeddable", + "id": "def-public.RemovePanelAction.execute.$1", + "type": "Object", + "tags": [], + "label": "{ embeddable }", + "description": [], + "signature": [ + "ActionContext" + ], + "path": "src/plugins/embeddable/public/embeddable_panel/panel_actions/remove_panel_action/remove_panel_action.ts", + "deprecated": false, + "trackAdoption": false, + "isRequired": true + } + ], + "returnComment": [] } ], - "returnComment": [], "initialIsOpen": false - }, + } + ], + "functions": [ { "parentPluginId": "embeddable", - "id": "def-public.isContextMenuTriggerContext", + "id": "def-public.defaultEmbeddableFactoryProvider", "type": "Function", "tags": [], - "label": "isContextMenuTriggerContext", + "label": "defaultEmbeddableFactoryProvider", "description": [], "signature": [ - "(context: unknown) => context is ", + " = ", { "pluginId": "embeddable", + "scope": "public", + "docId": "kibEmbeddablePluginApi", + "section": "def-public.IEmbeddable", + "text": "IEmbeddable" + }, + ", T = ", + { + "pluginId": "@kbn/core-saved-objects-common", "scope": "common", + "docId": "kibKbnCoreSavedObjectsCommonPluginApi", + "section": "def-common.SavedObjectAttributes", + "text": "SavedObjectAttributes" + }, + ">(def: ", + { + "pluginId": "embeddable", + "scope": "public", "docId": "kibEmbeddablePluginApi", - "section": "def-common.EmbeddableInput", - "text": "EmbeddableInput" + "section": "def-public.EmbeddableFactoryDefinition", + "text": "EmbeddableFactoryDefinition" }, - ", ", + ") => ", { "pluginId": "embeddable", "scope": "public", "docId": "kibEmbeddablePluginApi", - "section": "def-public.EmbeddableOutput", - "text": "EmbeddableOutput" + "section": "def-public.EmbeddableFactory", + "text": "EmbeddableFactory" }, - ", any>>" + "" ], - "path": "src/plugins/embeddable/public/lib/triggers/triggers.ts", + "path": "src/plugins/embeddable/public/lib/embeddables/default_embeddable_factory_provider.ts", "deprecated": false, "trackAdoption": false, "children": [ { "parentPluginId": "embeddable", - "id": "def-public.isContextMenuTriggerContext.$1", - "type": "Unknown", + "id": "def-public.defaultEmbeddableFactoryProvider.$1", + "type": "CompoundType", "tags": [], - "label": "context", + "label": "def", "description": [], "signature": [ - "unknown" + { + "pluginId": "embeddable", + "scope": "public", + "docId": "kibEmbeddablePluginApi", + "section": "def-public.EmbeddableFactoryDefinition", + "text": "EmbeddableFactoryDefinition" + }, + "" ], - "path": "src/plugins/embeddable/public/lib/triggers/triggers.ts", + "path": "src/plugins/embeddable/public/lib/embeddables/default_embeddable_factory_provider.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -4995,53 +4682,33 @@ }, { "parentPluginId": "embeddable", - "id": "def-public.isEmbeddable", + "id": "def-public.EmbeddablePanel", "type": "Function", "tags": [], - "label": "isEmbeddable", - "description": [], + "label": "EmbeddablePanel", + "description": [ + "\nLoads and renders an embeddable." + ], "signature": [ - "(x: unknown) => x is ", - { - "pluginId": "embeddable", - "scope": "public", - "docId": "kibEmbeddablePluginApi", - "section": "def-public.IEmbeddable", - "text": "IEmbeddable" - }, - "<", - { - "pluginId": "embeddable", - "scope": "common", - "docId": "kibEmbeddablePluginApi", - "section": "def-common.EmbeddableInput", - "text": "EmbeddableInput" - }, - ", ", - { - "pluginId": "embeddable", - "scope": "public", - "docId": "kibEmbeddablePluginApi", - "section": "def-public.EmbeddableOutput", - "text": "EmbeddableOutput" - }, - ", any>" + "(props: ", + "EmbeddablePanelProps", + ") => JSX.Element" ], - "path": "src/plugins/embeddable/public/lib/embeddables/is_embeddable.ts", + "path": "src/plugins/embeddable/public/embeddable_panel/index.tsx", "deprecated": false, "trackAdoption": false, "children": [ { "parentPluginId": "embeddable", - "id": "def-public.isEmbeddable.$1", - "type": "Unknown", + "id": "def-public.EmbeddablePanel.$1", + "type": "Object", "tags": [], - "label": "x", + "label": "props", "description": [], "signature": [ - "unknown" + "EmbeddablePanelProps" ], - "path": "src/plugins/embeddable/public/lib/embeddables/is_embeddable.ts", + "path": "src/plugins/embeddable/public/embeddable_panel/index.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -5052,44 +4719,56 @@ }, { "parentPluginId": "embeddable", - "id": "def-public.isErrorEmbeddable", + "id": "def-public.EmbeddableRenderer", "type": "Function", "tags": [], - "label": "isErrorEmbeddable", - "description": [], + "label": "EmbeddableRenderer", + "description": [ + "\nHelper react component to render an embeddable\nCan be used if you have an embeddable object or an embeddable factory\nSupports updating input by passing `input` prop\n" + ], "signature": [ - "(embeddable: ", + "(props: ", { "pluginId": "embeddable", "scope": "public", "docId": "kibEmbeddablePluginApi", - "section": "def-public.ErrorEmbeddable", - "text": "ErrorEmbeddable" + "section": "def-public.EmbeddableRendererProps", + "text": "EmbeddableRendererProps" }, - " | TEmbeddable) => boolean" + ") => JSX.Element" ], - "path": "src/plugins/embeddable/public/lib/embeddables/error_embeddable.tsx", + "path": "src/plugins/embeddable/public/lib/embeddables/embeddable_renderer.tsx", "deprecated": false, "trackAdoption": false, "children": [ { "parentPluginId": "embeddable", - "id": "def-public.isErrorEmbeddable.$1", + "id": "def-public.EmbeddableRenderer.$1", "type": "CompoundType", "tags": [], - "label": "embeddable", - "description": [], + "label": "props", + "description": [ + "- {@link EmbeddableRendererProps }" + ], "signature": [ { "pluginId": "embeddable", "scope": "public", "docId": "kibEmbeddablePluginApi", - "section": "def-public.ErrorEmbeddable", - "text": "ErrorEmbeddable" + "section": "def-public.EmbeddableRendererProps", + "text": "EmbeddableRendererProps" }, - " | TEmbeddable" + "" ], - "path": "src/plugins/embeddable/public/lib/embeddables/error_embeddable.tsx", + "path": "src/plugins/embeddable/public/lib/embeddables/embeddable_renderer.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -5100,68 +4779,13 @@ }, { "parentPluginId": "embeddable", - "id": "def-public.isFilterableEmbeddable", - "type": "Function", - "tags": [], - "label": "isFilterableEmbeddable", - "description": [ - "\nEnsure that embeddable supports filtering/querying" - ], - "signature": [ - "(incoming: unknown) => boolean" - ], - "path": "src/plugins/embeddable/public/lib/filterable_embeddable/types.ts", - "deprecated": false, - "trackAdoption": false, - "children": [ - { - "parentPluginId": "embeddable", - "id": "def-public.isFilterableEmbeddable.$1", - "type": "Unknown", - "tags": [], - "label": "incoming", - "description": [ - "Embeddable that is being tested to check if it is a FilterableEmbeddable" - ], - "signature": [ - "unknown" - ], - "path": "src/plugins/embeddable/public/lib/filterable_embeddable/types.ts", - "deprecated": false, - "trackAdoption": false, - "isRequired": true - } - ], - "returnComment": [ - "true if the incoming embeddable is a FilterableEmbeddable, false if it is not" - ], - "initialIsOpen": false - }, - { - "parentPluginId": "embeddable", - "id": "def-public.isMultiValueClickTriggerContext", + "id": "def-public.genericEmbeddableInputIsEqual", "type": "Function", "tags": [], - "label": "isMultiValueClickTriggerContext", + "label": "genericEmbeddableInputIsEqual", "description": [], "signature": [ - "(context: ", - { - "pluginId": "embeddable", - "scope": "public", - "docId": "kibEmbeddablePluginApi", - "section": "def-public.ChartActionContext", - "text": "ChartActionContext" - }, - "<", - { - "pluginId": "embeddable", - "scope": "public", - "docId": "kibEmbeddablePluginApi", - "section": "def-public.IEmbeddable", - "text": "IEmbeddable" - }, - "<", + "(currentInput: Partial<", { "pluginId": "embeddable", "scope": "common", @@ -5169,31 +4793,7 @@ "section": "def-common.EmbeddableInput", "text": "EmbeddableInput" }, - ", ", - { - "pluginId": "embeddable", - "scope": "public", - "docId": "kibEmbeddablePluginApi", - "section": "def-public.EmbeddableOutput", - "text": "EmbeddableOutput" - }, - ", any>>) => context is ", - { - "pluginId": "embeddable", - "scope": "public", - "docId": "kibEmbeddablePluginApi", - "section": "def-public.MultiValueClickContext", - "text": "MultiValueClickContext" - }, - "<", - { - "pluginId": "embeddable", - "scope": "public", - "docId": "kibEmbeddablePluginApi", - "section": "def-public.IEmbeddable", - "text": "IEmbeddable" - }, - "<", + ">, lastInput: Partial<", { "pluginId": "embeddable", "scope": "common", @@ -5201,44 +4801,21 @@ "section": "def-common.EmbeddableInput", "text": "EmbeddableInput" }, - ", ", - { - "pluginId": "embeddable", - "scope": "public", - "docId": "kibEmbeddablePluginApi", - "section": "def-public.EmbeddableOutput", - "text": "EmbeddableOutput" - }, - ", any>>" + ">) => boolean" ], - "path": "src/plugins/embeddable/public/lib/triggers/triggers.ts", + "path": "src/plugins/embeddable/public/lib/embeddables/diff_embeddable_input.ts", "deprecated": false, "trackAdoption": false, "children": [ { "parentPluginId": "embeddable", - "id": "def-public.isMultiValueClickTriggerContext.$1", - "type": "CompoundType", + "id": "def-public.genericEmbeddableInputIsEqual.$1", + "type": "Object", "tags": [], - "label": "context", + "label": "currentInput", "description": [], "signature": [ - { - "pluginId": "embeddable", - "scope": "public", - "docId": "kibEmbeddablePluginApi", - "section": "def-public.ChartActionContext", - "text": "ChartActionContext" - }, - "<", - { - "pluginId": "embeddable", - "scope": "public", - "docId": "kibEmbeddablePluginApi", - "section": "def-public.IEmbeddable", - "text": "IEmbeddable" - }, - "<", + "Partial<", { "pluginId": "embeddable", "scope": "common", @@ -5246,17 +4823,32 @@ "section": "def-common.EmbeddableInput", "text": "EmbeddableInput" }, - ", ", + ">" + ], + "path": "src/plugins/embeddable/public/lib/embeddables/diff_embeddable_input.ts", + "deprecated": false, + "trackAdoption": false, + "isRequired": true + }, + { + "parentPluginId": "embeddable", + "id": "def-public.genericEmbeddableInputIsEqual.$2", + "type": "Object", + "tags": [], + "label": "lastInput", + "description": [], + "signature": [ + "Partial<", { "pluginId": "embeddable", - "scope": "public", + "scope": "common", "docId": "kibEmbeddablePluginApi", - "section": "def-public.EmbeddableOutput", - "text": "EmbeddableOutput" + "section": "def-common.EmbeddableInput", + "text": "EmbeddableInput" }, - ", any>>" + ">" ], - "path": "src/plugins/embeddable/public/lib/triggers/triggers.ts", + "path": "src/plugins/embeddable/public/lib/embeddables/diff_embeddable_input.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -5267,19 +4859,19 @@ }, { "parentPluginId": "embeddable", - "id": "def-public.isRangeSelectTriggerContext", + "id": "def-public.isContextMenuTriggerContext", "type": "Function", "tags": [], - "label": "isRangeSelectTriggerContext", + "label": "isContextMenuTriggerContext", "description": [], "signature": [ - "(context: ", + "(context: unknown) => context is ", { "pluginId": "embeddable", "scope": "public", "docId": "kibEmbeddablePluginApi", - "section": "def-public.ChartActionContext", - "text": "ChartActionContext" + "section": "def-public.EmbeddableContext", + "text": "EmbeddableContext" }, "<", { @@ -5305,15 +4897,40 @@ "section": "def-public.EmbeddableOutput", "text": "EmbeddableOutput" }, - ", any>>) => context is ", + ", any>>" + ], + "path": "src/plugins/embeddable/public/lib/triggers/triggers.ts", + "deprecated": false, + "trackAdoption": false, + "children": [ { - "pluginId": "embeddable", - "scope": "public", - "docId": "kibEmbeddablePluginApi", - "section": "def-public.RangeSelectContext", - "text": "RangeSelectContext" - }, - "<", + "parentPluginId": "embeddable", + "id": "def-public.isContextMenuTriggerContext.$1", + "type": "Unknown", + "tags": [], + "label": "context", + "description": [], + "signature": [ + "unknown" + ], + "path": "src/plugins/embeddable/public/lib/triggers/triggers.ts", + "deprecated": false, + "trackAdoption": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "embeddable", + "id": "def-public.isEmbeddable", + "type": "Function", + "tags": [], + "label": "isEmbeddable", + "description": [], + "signature": [ + "(x: unknown) => x is ", { "pluginId": "embeddable", "scope": "public", @@ -5337,54 +4954,71 @@ "section": "def-public.EmbeddableOutput", "text": "EmbeddableOutput" }, - ", any>>" + ", any>" ], - "path": "src/plugins/embeddable/public/lib/triggers/triggers.ts", + "path": "src/plugins/embeddable/public/lib/embeddables/is_embeddable.ts", "deprecated": false, "trackAdoption": false, "children": [ { "parentPluginId": "embeddable", - "id": "def-public.isRangeSelectTriggerContext.$1", - "type": "CompoundType", + "id": "def-public.isEmbeddable.$1", + "type": "Unknown", "tags": [], - "label": "context", + "label": "x", + "description": [], + "signature": [ + "unknown" + ], + "path": "src/plugins/embeddable/public/lib/embeddables/is_embeddable.ts", + "deprecated": false, + "trackAdoption": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "embeddable", + "id": "def-public.isErrorEmbeddable", + "type": "Function", + "tags": [], + "label": "isErrorEmbeddable", + "description": [], + "signature": [ + "(embeddable: ", + { + "pluginId": "embeddable", + "scope": "public", + "docId": "kibEmbeddablePluginApi", + "section": "def-public.ErrorEmbeddable", + "text": "ErrorEmbeddable" + }, + " | TEmbeddable) => boolean" + ], + "path": "src/plugins/embeddable/public/lib/embeddables/error_embeddable.tsx", + "deprecated": false, + "trackAdoption": false, + "children": [ + { + "parentPluginId": "embeddable", + "id": "def-public.isErrorEmbeddable.$1", + "type": "CompoundType", + "tags": [], + "label": "embeddable", "description": [], "signature": [ { "pluginId": "embeddable", "scope": "public", "docId": "kibEmbeddablePluginApi", - "section": "def-public.ChartActionContext", - "text": "ChartActionContext" - }, - "<", - { - "pluginId": "embeddable", - "scope": "public", - "docId": "kibEmbeddablePluginApi", - "section": "def-public.IEmbeddable", - "text": "IEmbeddable" - }, - "<", - { - "pluginId": "embeddable", - "scope": "common", - "docId": "kibEmbeddablePluginApi", - "section": "def-common.EmbeddableInput", - "text": "EmbeddableInput" - }, - ", ", - { - "pluginId": "embeddable", - "scope": "public", - "docId": "kibEmbeddablePluginApi", - "section": "def-public.EmbeddableOutput", - "text": "EmbeddableOutput" + "section": "def-public.ErrorEmbeddable", + "text": "ErrorEmbeddable" }, - ", any>>" + " | TEmbeddable" ], - "path": "src/plugins/embeddable/public/lib/triggers/triggers.ts", + "path": "src/plugins/embeddable/public/lib/embeddables/error_embeddable.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -5395,43 +5029,49 @@ }, { "parentPluginId": "embeddable", - "id": "def-public.isReferenceOrValueEmbeddable", + "id": "def-public.isFilterableEmbeddable", "type": "Function", "tags": [], - "label": "isReferenceOrValueEmbeddable", - "description": [], + "label": "isFilterableEmbeddable", + "description": [ + "\nEnsure that embeddable supports filtering/querying" + ], "signature": [ "(incoming: unknown) => boolean" ], - "path": "src/plugins/embeddable/public/lib/reference_or_value_embeddable/types.ts", + "path": "src/plugins/embeddable/public/lib/filterable_embeddable/types.ts", "deprecated": false, "trackAdoption": false, "children": [ { "parentPluginId": "embeddable", - "id": "def-public.isReferenceOrValueEmbeddable.$1", + "id": "def-public.isFilterableEmbeddable.$1", "type": "Unknown", "tags": [], "label": "incoming", - "description": [], + "description": [ + "Embeddable that is being tested to check if it is a FilterableEmbeddable" + ], "signature": [ "unknown" ], - "path": "src/plugins/embeddable/public/lib/reference_or_value_embeddable/types.ts", + "path": "src/plugins/embeddable/public/lib/filterable_embeddable/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": true } ], - "returnComment": [], + "returnComment": [ + "true if the incoming embeddable is a FilterableEmbeddable, false if it is not" + ], "initialIsOpen": false }, { "parentPluginId": "embeddable", - "id": "def-public.isRowClickTriggerContext", + "id": "def-public.isMultiValueClickTriggerContext", "type": "Function", "tags": [], - "label": "isRowClickTriggerContext", + "label": "isMultiValueClickTriggerContext", "description": [], "signature": [ "(context: ", @@ -5468,12 +5108,37 @@ }, ", any>>) => context is ", { - "pluginId": "@kbn/ui-actions-browser", + "pluginId": "embeddable", + "scope": "public", + "docId": "kibEmbeddablePluginApi", + "section": "def-public.MultiValueClickContext", + "text": "MultiValueClickContext" + }, + "<", + { + "pluginId": "embeddable", + "scope": "public", + "docId": "kibEmbeddablePluginApi", + "section": "def-public.IEmbeddable", + "text": "IEmbeddable" + }, + "<", + { + "pluginId": "embeddable", "scope": "common", - "docId": "kibKbnUiActionsBrowserPluginApi", - "section": "def-common.RowClickContext", - "text": "RowClickContext" - } + "docId": "kibEmbeddablePluginApi", + "section": "def-common.EmbeddableInput", + "text": "EmbeddableInput" + }, + ", ", + { + "pluginId": "embeddable", + "scope": "public", + "docId": "kibEmbeddablePluginApi", + "section": "def-public.EmbeddableOutput", + "text": "EmbeddableOutput" + }, + ", any>>" ], "path": "src/plugins/embeddable/public/lib/triggers/triggers.ts", "deprecated": false, @@ -5481,7 +5146,7 @@ "children": [ { "parentPluginId": "embeddable", - "id": "def-public.isRowClickTriggerContext.$1", + "id": "def-public.isMultiValueClickTriggerContext.$1", "type": "CompoundType", "tags": [], "label": "context", @@ -5531,73 +5196,10 @@ }, { "parentPluginId": "embeddable", - "id": "def-public.isSavedObjectEmbeddableInput", - "type": "Function", - "tags": [], - "label": "isSavedObjectEmbeddableInput", - "description": [], - "signature": [ - "(input: ", - { - "pluginId": "embeddable", - "scope": "common", - "docId": "kibEmbeddablePluginApi", - "section": "def-common.EmbeddableInput", - "text": "EmbeddableInput" - }, - " | ", - { - "pluginId": "embeddable", - "scope": "common", - "docId": "kibEmbeddablePluginApi", - "section": "def-common.SavedObjectEmbeddableInput", - "text": "SavedObjectEmbeddableInput" - }, - ") => boolean" - ], - "path": "src/plugins/embeddable/common/lib/saved_object_embeddable.ts", - "deprecated": false, - "trackAdoption": false, - "children": [ - { - "parentPluginId": "embeddable", - "id": "def-public.isSavedObjectEmbeddableInput.$1", - "type": "CompoundType", - "tags": [], - "label": "input", - "description": [], - "signature": [ - { - "pluginId": "embeddable", - "scope": "common", - "docId": "kibEmbeddablePluginApi", - "section": "def-common.EmbeddableInput", - "text": "EmbeddableInput" - }, - " | ", - { - "pluginId": "embeddable", - "scope": "common", - "docId": "kibEmbeddablePluginApi", - "section": "def-common.SavedObjectEmbeddableInput", - "text": "SavedObjectEmbeddableInput" - } - ], - "path": "src/plugins/embeddable/common/lib/saved_object_embeddable.ts", - "deprecated": false, - "trackAdoption": false, - "isRequired": true - } - ], - "returnComment": [], - "initialIsOpen": false - }, - { - "parentPluginId": "embeddable", - "id": "def-public.isValueClickTriggerContext", + "id": "def-public.isRangeSelectTriggerContext", "type": "Function", "tags": [], - "label": "isValueClickTriggerContext", + "label": "isRangeSelectTriggerContext", "description": [], "signature": [ "(context: ", @@ -5637,8 +5239,8 @@ "pluginId": "embeddable", "scope": "public", "docId": "kibEmbeddablePluginApi", - "section": "def-public.ValueClickContext", - "text": "ValueClickContext" + "section": "def-public.RangeSelectContext", + "text": "RangeSelectContext" }, "<", { @@ -5672,7 +5274,7 @@ "children": [ { "parentPluginId": "embeddable", - "id": "def-public.isValueClickTriggerContext.$1", + "id": "def-public.isRangeSelectTriggerContext.$1", "type": "CompoundType", "tags": [], "label": "context", @@ -5722,53 +5324,29 @@ }, { "parentPluginId": "embeddable", - "id": "def-public.omitGenericEmbeddableInput", + "id": "def-public.isReferenceOrValueEmbeddable", "type": "Function", "tags": [], - "label": "omitGenericEmbeddableInput", + "label": "isReferenceOrValueEmbeddable", "description": [], "signature": [ - " = Partial<", - { - "pluginId": "embeddable", - "scope": "common", - "docId": "kibEmbeddablePluginApi", - "section": "def-common.EmbeddableInput", - "text": "EmbeddableInput" - }, - ">>(input: I) => Omit" + "(incoming: unknown) => boolean" ], - "path": "src/plugins/embeddable/public/lib/embeddables/diff_embeddable_input.ts", + "path": "src/plugins/embeddable/public/lib/reference_or_value_embeddable/types.ts", "deprecated": false, "trackAdoption": false, "children": [ { "parentPluginId": "embeddable", - "id": "def-public.omitGenericEmbeddableInput.$1", - "type": "Uncategorized", + "id": "def-public.isReferenceOrValueEmbeddable.$1", + "type": "Unknown", "tags": [], - "label": "input", + "label": "incoming", "description": [], "signature": [ - "I" + "unknown" ], - "path": "src/plugins/embeddable/public/lib/embeddables/diff_embeddable_input.ts", + "path": "src/plugins/embeddable/public/lib/reference_or_value_embeddable/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -5779,45 +5357,29 @@ }, { "parentPluginId": "embeddable", - "id": "def-public.openAddPanelFlyout", + "id": "def-public.isRowClickTriggerContext", "type": "Function", "tags": [], - "label": "openAddPanelFlyout", + "label": "isRowClickTriggerContext", "description": [], "signature": [ - "(options: { embeddable: ", + "(context: ", { "pluginId": "embeddable", "scope": "public", "docId": "kibEmbeddablePluginApi", - "section": "def-public.IContainer", - "text": "IContainer" + "section": "def-public.ChartActionContext", + "text": "ChartActionContext" }, - "<{}, ", + "<", { "pluginId": "embeddable", "scope": "public", "docId": "kibEmbeddablePluginApi", - "section": "def-public.ContainerInput", - "text": "ContainerInput" - }, - "<{}>, ", - { - "pluginId": "embeddable", - "scope": "public", - "docId": "kibEmbeddablePluginApi", - "section": "def-public.ContainerOutput", - "text": "ContainerOutput" - }, - ">; getFactory: >) => context is ", { - "pluginId": "embeddable", - "scope": "public", - "docId": "kibEmbeddablePluginApi", - "section": "def-public.EmbeddableOutput", - "text": "EmbeddableOutput" - }, - ", E extends ", + "pluginId": "@kbn/ui-actions-browser", + "scope": "common", + "docId": "kibKbnUiActionsBrowserPluginApi", + "section": "def-common.RowClickContext", + "text": "RowClickContext" + } + ], + "path": "src/plugins/embeddable/public/lib/triggers/triggers.ts", + "deprecated": false, + "trackAdoption": false, + "children": [ + { + "parentPluginId": "embeddable", + "id": "def-public.isRowClickTriggerContext.$1", + "type": "CompoundType", + "tags": [], + "label": "context", + "description": [], + "signature": [ + { + "pluginId": "embeddable", + "scope": "public", + "docId": "kibEmbeddablePluginApi", + "section": "def-public.ChartActionContext", + "text": "ChartActionContext" + }, + "<", + { + "pluginId": "embeddable", + "scope": "public", + "docId": "kibEmbeddablePluginApi", + "section": "def-public.IEmbeddable", + "text": "IEmbeddable" + }, + "<", + { + "pluginId": "embeddable", + "scope": "common", + "docId": "kibEmbeddablePluginApi", + "section": "def-common.EmbeddableInput", + "text": "EmbeddableInput" + }, + ", ", + { + "pluginId": "embeddable", + "scope": "public", + "docId": "kibEmbeddablePluginApi", + "section": "def-public.EmbeddableOutput", + "text": "EmbeddableOutput" + }, + ", any>>" + ], + "path": "src/plugins/embeddable/public/lib/triggers/triggers.ts", + "deprecated": false, + "trackAdoption": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "embeddable", + "id": "def-public.isSavedObjectEmbeddableInput", + "type": "Function", + "tags": [], + "label": "isSavedObjectEmbeddableInput", + "description": [], + "signature": [ + "(input: ", { "pluginId": "embeddable", - "scope": "public", + "scope": "common", "docId": "kibEmbeddablePluginApi", - "section": "def-public.IEmbeddable", - "text": "IEmbeddable" + "section": "def-common.EmbeddableInput", + "text": "EmbeddableInput" }, - " = ", + " | ", { "pluginId": "embeddable", - "scope": "public", + "scope": "common", "docId": "kibEmbeddablePluginApi", - "section": "def-public.IEmbeddable", - "text": "IEmbeddable" + "section": "def-common.SavedObjectEmbeddableInput", + "text": "SavedObjectEmbeddableInput" }, - ">(embeddableFactoryId: string) => ", + ") => boolean" + ], + "path": "src/plugins/embeddable/common/lib/saved_object_embeddable.ts", + "deprecated": false, + "trackAdoption": false, + "children": [ + { + "parentPluginId": "embeddable", + "id": "def-public.isSavedObjectEmbeddableInput.$1", + "type": "CompoundType", + "tags": [], + "label": "input", + "description": [], + "signature": [ + { + "pluginId": "embeddable", + "scope": "common", + "docId": "kibEmbeddablePluginApi", + "section": "def-common.EmbeddableInput", + "text": "EmbeddableInput" + }, + " | ", + { + "pluginId": "embeddable", + "scope": "common", + "docId": "kibEmbeddablePluginApi", + "section": "def-common.SavedObjectEmbeddableInput", + "text": "SavedObjectEmbeddableInput" + } + ], + "path": "src/plugins/embeddable/common/lib/saved_object_embeddable.ts", + "deprecated": false, + "trackAdoption": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "embeddable", + "id": "def-public.isValueClickTriggerContext", + "type": "Function", + "tags": [], + "label": "isValueClickTriggerContext", + "description": [], + "signature": [ + "(context: ", { "pluginId": "embeddable", "scope": "public", "docId": "kibEmbeddablePluginApi", - "section": "def-public.EmbeddableFactory", - "text": "EmbeddableFactory" + "section": "def-public.ChartActionContext", + "text": "ChartActionContext" }, - " | undefined; getAllFactories: () => IterableIterator<", + "<", { "pluginId": "embeddable", "scope": "public", "docId": "kibEmbeddablePluginApi", - "section": "def-public.EmbeddableFactory", - "text": "EmbeddableFactory" + "section": "def-public.IEmbeddable", + "text": "IEmbeddable" }, "<", { @@ -5889,7 +5561,15 @@ "section": "def-public.EmbeddableOutput", "text": "EmbeddableOutput" }, - ", ", + ", any>>) => context is ", + { + "pluginId": "embeddable", + "scope": "public", + "docId": "kibEmbeddablePluginApi", + "section": "def-public.ValueClickContext", + "text": "ValueClickContext" + }, + "<", { "pluginId": "embeddable", "scope": "public", @@ -5913,338 +5593,209 @@ "section": "def-public.EmbeddableOutput", "text": "EmbeddableOutput" }, - ", any>, unknown>>; overlays: ", - { - "pluginId": "@kbn/core-overlays-browser", - "scope": "common", - "docId": "kibKbnCoreOverlaysBrowserPluginApi", - "section": "def-common.OverlayStart", - "text": "OverlayStart" - }, - "; notifications: ", - { - "pluginId": "@kbn/core-notifications-browser", - "scope": "common", - "docId": "kibKbnCoreNotificationsBrowserPluginApi", - "section": "def-common.NotificationsStart", - "text": "NotificationsStart" - }, - "; SavedObjectFinder: React.ComponentType; showCreateNewMenu?: boolean | undefined; reportUiCounter?: ((appName: string, type: string, eventNames: string | string[], count?: number | undefined) => void) | undefined; theme: ", - { - "pluginId": "@kbn/core-theme-browser", - "scope": "common", - "docId": "kibKbnCoreThemeBrowserPluginApi", - "section": "def-common.ThemeServiceStart", - "text": "ThemeServiceStart" - }, - "; onAddPanel?: ((id: string) => void) | undefined; }) => ", - { - "pluginId": "@kbn/core-mount-utils-browser", - "scope": "common", - "docId": "kibKbnCoreMountUtilsBrowserPluginApi", - "section": "def-common.OverlayRef", - "text": "OverlayRef" - } + ", any>>" ], - "path": "src/plugins/embeddable/public/lib/panel/panel_header/panel_actions/add_panel/open_add_panel_flyout.tsx", + "path": "src/plugins/embeddable/public/lib/triggers/triggers.ts", "deprecated": false, "trackAdoption": false, "children": [ { "parentPluginId": "embeddable", - "id": "def-public.openAddPanelFlyout.$1", - "type": "Object", + "id": "def-public.isValueClickTriggerContext.$1", + "type": "CompoundType", "tags": [], - "label": "options", + "label": "context", "description": [], - "path": "src/plugins/embeddable/public/lib/panel/panel_header/panel_actions/add_panel/open_add_panel_flyout.tsx", - "deprecated": false, - "trackAdoption": false, - "children": [ + "signature": [ { - "parentPluginId": "embeddable", - "id": "def-public.openAddPanelFlyout.$1.embeddable", - "type": "Object", - "tags": [], - "label": "embeddable", - "description": [], - "signature": [ - { - "pluginId": "embeddable", - "scope": "public", - "docId": "kibEmbeddablePluginApi", - "section": "def-public.IContainer", - "text": "IContainer" - }, - "<{}, ", - { - "pluginId": "embeddable", - "scope": "public", - "docId": "kibEmbeddablePluginApi", - "section": "def-public.ContainerInput", - "text": "ContainerInput" - }, - "<{}>, ", - { - "pluginId": "embeddable", - "scope": "public", - "docId": "kibEmbeddablePluginApi", - "section": "def-public.ContainerOutput", - "text": "ContainerOutput" - }, - ">" - ], - "path": "src/plugins/embeddable/public/lib/panel/panel_header/panel_actions/add_panel/open_add_panel_flyout.tsx", - "deprecated": false, - "trackAdoption": false + "pluginId": "embeddable", + "scope": "public", + "docId": "kibEmbeddablePluginApi", + "section": "def-public.ChartActionContext", + "text": "ChartActionContext" }, + "<", { - "parentPluginId": "embeddable", - "id": "def-public.openAddPanelFlyout.$1.getFactory", - "type": "Function", - "tags": [], - "label": "getFactory", - "description": [], - "signature": [ - " = ", - { - "pluginId": "embeddable", - "scope": "public", - "docId": "kibEmbeddablePluginApi", - "section": "def-public.IEmbeddable", - "text": "IEmbeddable" - }, - ">(embeddableFactoryId: string) => ", - { - "pluginId": "embeddable", - "scope": "public", - "docId": "kibEmbeddablePluginApi", - "section": "def-public.EmbeddableFactory", - "text": "EmbeddableFactory" - }, - " | undefined" - ], - "path": "src/plugins/embeddable/public/lib/panel/panel_header/panel_actions/add_panel/open_add_panel_flyout.tsx", - "deprecated": false, - "trackAdoption": false, - "returnComment": [], - "children": [ - { - "parentPluginId": "embeddable", - "id": "def-public.openAddPanelFlyout.$1.getFactory.$1", - "type": "string", - "tags": [], - "label": "embeddableFactoryId", - "description": [], - "path": "src/plugins/embeddable/public/plugin.tsx", - "deprecated": false, - "trackAdoption": false - } - ] - }, - { - "parentPluginId": "embeddable", - "id": "def-public.openAddPanelFlyout.$1.getAllFactories", - "type": "Function", - "tags": [], - "label": "getAllFactories", - "description": [], - "signature": [ - "() => IterableIterator<", - { - "pluginId": "embeddable", - "scope": "public", - "docId": "kibEmbeddablePluginApi", - "section": "def-public.EmbeddableFactory", - "text": "EmbeddableFactory" - }, - "<", - { - "pluginId": "embeddable", - "scope": "common", - "docId": "kibEmbeddablePluginApi", - "section": "def-common.EmbeddableInput", - "text": "EmbeddableInput" - }, - ", ", - { - "pluginId": "embeddable", - "scope": "public", - "docId": "kibEmbeddablePluginApi", - "section": "def-public.EmbeddableOutput", - "text": "EmbeddableOutput" - }, - ", ", - { - "pluginId": "embeddable", - "scope": "public", - "docId": "kibEmbeddablePluginApi", - "section": "def-public.IEmbeddable", - "text": "IEmbeddable" - }, - "<", - { - "pluginId": "embeddable", - "scope": "common", - "docId": "kibEmbeddablePluginApi", - "section": "def-common.EmbeddableInput", - "text": "EmbeddableInput" - }, - ", ", - { - "pluginId": "embeddable", - "scope": "public", - "docId": "kibEmbeddablePluginApi", - "section": "def-public.EmbeddableOutput", - "text": "EmbeddableOutput" - }, - ", any>, unknown>>" - ], - "path": "src/plugins/embeddable/public/lib/panel/panel_header/panel_actions/add_panel/open_add_panel_flyout.tsx", - "deprecated": false, - "trackAdoption": false, - "returnComment": [], - "children": [] - }, - { - "parentPluginId": "embeddable", - "id": "def-public.openAddPanelFlyout.$1.overlays", - "type": "Object", - "tags": [], - "label": "overlays", - "description": [], - "signature": [ - { - "pluginId": "@kbn/core-overlays-browser", - "scope": "common", - "docId": "kibKbnCoreOverlaysBrowserPluginApi", - "section": "def-common.OverlayStart", - "text": "OverlayStart" - } - ], - "path": "src/plugins/embeddable/public/lib/panel/panel_header/panel_actions/add_panel/open_add_panel_flyout.tsx", - "deprecated": false, - "trackAdoption": false - }, - { - "parentPluginId": "embeddable", - "id": "def-public.openAddPanelFlyout.$1.notifications", - "type": "Object", - "tags": [], - "label": "notifications", - "description": [], - "signature": [ - { - "pluginId": "@kbn/core-notifications-browser", - "scope": "common", - "docId": "kibKbnCoreNotificationsBrowserPluginApi", - "section": "def-common.NotificationsStart", - "text": "NotificationsStart" - } - ], - "path": "src/plugins/embeddable/public/lib/panel/panel_header/panel_actions/add_panel/open_add_panel_flyout.tsx", - "deprecated": false, - "trackAdoption": false - }, - { - "parentPluginId": "embeddable", - "id": "def-public.openAddPanelFlyout.$1.SavedObjectFinder", - "type": "CompoundType", - "tags": [], - "label": "SavedObjectFinder", - "description": [], - "signature": [ - "React.ComponentClass | React.FunctionComponent" - ], - "path": "src/plugins/embeddable/public/lib/panel/panel_header/panel_actions/add_panel/open_add_panel_flyout.tsx", - "deprecated": false, - "trackAdoption": false + "pluginId": "embeddable", + "scope": "public", + "docId": "kibEmbeddablePluginApi", + "section": "def-public.IEmbeddable", + "text": "IEmbeddable" }, + "<", { - "parentPluginId": "embeddable", - "id": "def-public.openAddPanelFlyout.$1.showCreateNewMenu", - "type": "CompoundType", - "tags": [], - "label": "showCreateNewMenu", - "description": [], - "signature": [ - "boolean | undefined" - ], - "path": "src/plugins/embeddable/public/lib/panel/panel_header/panel_actions/add_panel/open_add_panel_flyout.tsx", - "deprecated": false, - "trackAdoption": false + "pluginId": "embeddable", + "scope": "common", + "docId": "kibEmbeddablePluginApi", + "section": "def-common.EmbeddableInput", + "text": "EmbeddableInput" }, + ", ", { - "parentPluginId": "embeddable", - "id": "def-public.openAddPanelFlyout.$1.reportUiCounter", - "type": "Function", - "tags": [], - "label": "reportUiCounter", - "description": [], - "signature": [ - "((appName: string, type: string, eventNames: string | string[], count?: number | undefined) => void) | undefined" - ], - "path": "src/plugins/embeddable/public/lib/panel/panel_header/panel_actions/add_panel/open_add_panel_flyout.tsx", - "deprecated": false, - "trackAdoption": false + "pluginId": "embeddable", + "scope": "public", + "docId": "kibEmbeddablePluginApi", + "section": "def-public.EmbeddableOutput", + "text": "EmbeddableOutput" }, + ", any>>" + ], + "path": "src/plugins/embeddable/public/lib/triggers/triggers.ts", + "deprecated": false, + "trackAdoption": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "embeddable", + "id": "def-public.omitGenericEmbeddableInput", + "type": "Function", + "tags": [], + "label": "omitGenericEmbeddableInput", + "description": [], + "signature": [ + " = Partial<", + { + "pluginId": "embeddable", + "scope": "common", + "docId": "kibEmbeddablePluginApi", + "section": "def-common.EmbeddableInput", + "text": "EmbeddableInput" + }, + ">>(input: I) => Omit" + ], + "path": "src/plugins/embeddable/public/lib/embeddables/diff_embeddable_input.ts", + "deprecated": false, + "trackAdoption": false, + "children": [ + { + "parentPluginId": "embeddable", + "id": "def-public.omitGenericEmbeddableInput.$1", + "type": "Uncategorized", + "tags": [], + "label": "input", + "description": [], + "signature": [ + "I" + ], + "path": "src/plugins/embeddable/public/lib/embeddables/diff_embeddable_input.ts", + "deprecated": false, + "trackAdoption": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "embeddable", + "id": "def-public.openAddPanelFlyout", + "type": "Function", + "tags": [], + "label": "openAddPanelFlyout", + "description": [], + "signature": [ + "({ container, onAddPanel, }: { container: ", + { + "pluginId": "embeddable", + "scope": "public", + "docId": "kibEmbeddablePluginApi", + "section": "def-public.IContainer", + "text": "IContainer" + }, + "<{}, ", + { + "pluginId": "embeddable", + "scope": "public", + "docId": "kibEmbeddablePluginApi", + "section": "def-public.ContainerInput", + "text": "ContainerInput" + }, + "<{}>, ", + { + "pluginId": "embeddable", + "scope": "public", + "docId": "kibEmbeddablePluginApi", + "section": "def-public.ContainerOutput", + "text": "ContainerOutput" + }, + ">; onAddPanel?: ((id: string) => void) | undefined; }) => ", + { + "pluginId": "@kbn/core-mount-utils-browser", + "scope": "common", + "docId": "kibKbnCoreMountUtilsBrowserPluginApi", + "section": "def-common.OverlayRef", + "text": "OverlayRef" + } + ], + "path": "src/plugins/embeddable/public/add_panel_flyout/open_add_panel_flyout.tsx", + "deprecated": false, + "trackAdoption": false, + "children": [ + { + "parentPluginId": "embeddable", + "id": "def-public.openAddPanelFlyout.$1", + "type": "Object", + "tags": [], + "label": "{\n container,\n onAddPanel,\n}", + "description": [], + "path": "src/plugins/embeddable/public/add_panel_flyout/open_add_panel_flyout.tsx", + "deprecated": false, + "trackAdoption": false, + "children": [ { "parentPluginId": "embeddable", - "id": "def-public.openAddPanelFlyout.$1.theme", + "id": "def-public.openAddPanelFlyout.$1.container", "type": "Object", "tags": [], - "label": "theme", + "label": "container", "description": [], "signature": [ { - "pluginId": "@kbn/core-theme-browser", - "scope": "common", - "docId": "kibKbnCoreThemeBrowserPluginApi", - "section": "def-common.ThemeServiceStart", - "text": "ThemeServiceStart" - } + "pluginId": "embeddable", + "scope": "public", + "docId": "kibEmbeddablePluginApi", + "section": "def-public.IContainer", + "text": "IContainer" + }, + "<{}, ", + { + "pluginId": "embeddable", + "scope": "public", + "docId": "kibEmbeddablePluginApi", + "section": "def-public.ContainerInput", + "text": "ContainerInput" + }, + "<{}>, ", + { + "pluginId": "embeddable", + "scope": "public", + "docId": "kibEmbeddablePluginApi", + "section": "def-public.ContainerOutput", + "text": "ContainerOutput" + }, + ">" ], - "path": "src/plugins/embeddable/public/lib/panel/panel_header/panel_actions/add_panel/open_add_panel_flyout.tsx", + "path": "src/plugins/embeddable/public/add_panel_flyout/open_add_panel_flyout.tsx", "deprecated": false, "trackAdoption": false }, @@ -6258,7 +5809,7 @@ "signature": [ "((id: string) => void) | undefined" ], - "path": "src/plugins/embeddable/public/lib/panel/panel_header/panel_actions/add_panel/open_add_panel_flyout.tsx", + "path": "src/plugins/embeddable/public/add_panel_flyout/open_add_panel_flyout.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -6272,7 +5823,7 @@ "signature": [ "string" ], - "path": "src/plugins/embeddable/public/lib/panel/panel_header/panel_actions/add_panel/open_add_panel_flyout.tsx", + "path": "src/plugins/embeddable/public/add_panel_flyout/open_add_panel_flyout.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -6607,302 +6158,89 @@ "id": "def-public.ContainerInput.hidePanelTitles", "type": "CompoundType", "tags": [], - "label": "hidePanelTitles", - "description": [], - "signature": [ - "boolean | undefined" - ], - "path": "src/plugins/embeddable/public/lib/containers/i_container.ts", - "deprecated": false, - "trackAdoption": false - }, - { - "parentPluginId": "embeddable", - "id": "def-public.ContainerInput.panels", - "type": "Object", - "tags": [], - "label": "panels", - "description": [], - "signature": [ - "{ [key: string]: ", - { - "pluginId": "embeddable", - "scope": "common", - "docId": "kibEmbeddablePluginApi", - "section": "def-common.PanelState", - "text": "PanelState" - }, - "; }" - ], - "path": "src/plugins/embeddable/public/lib/containers/i_container.ts", - "deprecated": false, - "trackAdoption": false - } - ], - "initialIsOpen": false - }, - { - "parentPluginId": "embeddable", - "id": "def-public.ContainerOutput", - "type": "Interface", - "tags": [], - "label": "ContainerOutput", - "description": [], - "signature": [ - { - "pluginId": "embeddable", - "scope": "public", - "docId": "kibEmbeddablePluginApi", - "section": "def-public.ContainerOutput", - "text": "ContainerOutput" - }, - " extends ", - { - "pluginId": "embeddable", - "scope": "public", - "docId": "kibEmbeddablePluginApi", - "section": "def-public.EmbeddableOutput", - "text": "EmbeddableOutput" - } - ], - "path": "src/plugins/embeddable/public/lib/containers/i_container.ts", - "deprecated": false, - "trackAdoption": false, - "children": [ - { - "parentPluginId": "embeddable", - "id": "def-public.ContainerOutput.embeddableLoaded", - "type": "Object", - "tags": [], - "label": "embeddableLoaded", - "description": [], - "signature": [ - "{ [key: string]: boolean; }" - ], - "path": "src/plugins/embeddable/public/lib/containers/i_container.ts", - "deprecated": false, - "trackAdoption": false - } - ], - "initialIsOpen": false - }, - { - "parentPluginId": "embeddable", - "id": "def-public.EmbeddableChildPanelProps", - "type": "Interface", - "tags": [], - "label": "EmbeddableChildPanelProps", - "description": [], - "path": "src/plugins/embeddable/public/lib/containers/embeddable_child_panel.tsx", - "deprecated": false, - "trackAdoption": false, - "children": [ - { - "parentPluginId": "embeddable", - "id": "def-public.EmbeddableChildPanelProps.embeddableId", - "type": "string", - "tags": [], - "label": "embeddableId", - "description": [], - "path": "src/plugins/embeddable/public/lib/containers/embeddable_child_panel.tsx", - "deprecated": false, - "trackAdoption": false - }, - { - "parentPluginId": "embeddable", - "id": "def-public.EmbeddableChildPanelProps.index", - "type": "number", - "tags": [], - "label": "index", - "description": [], - "signature": [ - "number | undefined" - ], - "path": "src/plugins/embeddable/public/lib/containers/embeddable_child_panel.tsx", - "deprecated": false, - "trackAdoption": false - }, - { - "parentPluginId": "embeddable", - "id": "def-public.EmbeddableChildPanelProps.className", - "type": "string", - "tags": [], - "label": "className", - "description": [], - "signature": [ - "string | undefined" - ], - "path": "src/plugins/embeddable/public/lib/containers/embeddable_child_panel.tsx", - "deprecated": false, - "trackAdoption": false - }, - { - "parentPluginId": "embeddable", - "id": "def-public.EmbeddableChildPanelProps.container", - "type": "Object", - "tags": [], - "label": "container", - "description": [], - "signature": [ - { - "pluginId": "embeddable", - "scope": "public", - "docId": "kibEmbeddablePluginApi", - "section": "def-public.IContainer", - "text": "IContainer" - }, - "<{}, ", - { - "pluginId": "embeddable", - "scope": "public", - "docId": "kibEmbeddablePluginApi", - "section": "def-public.ContainerInput", - "text": "ContainerInput" - }, - "<{}>, ", - { - "pluginId": "embeddable", - "scope": "public", - "docId": "kibEmbeddablePluginApi", - "section": "def-public.ContainerOutput", - "text": "ContainerOutput" - }, - ">" - ], - "path": "src/plugins/embeddable/public/lib/containers/embeddable_child_panel.tsx", - "deprecated": false, - "trackAdoption": false - }, - { - "parentPluginId": "embeddable", - "id": "def-public.EmbeddableChildPanelProps.PanelComponent", - "type": "Function", - "tags": [], - "label": "PanelComponent", - "description": [], - "signature": [ - "React.FunctionComponent<{ embeddable: ", - { - "pluginId": "embeddable", - "scope": "public", - "docId": "kibEmbeddablePluginApi", - "section": "def-public.IEmbeddable", - "text": "IEmbeddable" - }, - "<", - { - "pluginId": "embeddable", - "scope": "common", - "docId": "kibEmbeddablePluginApi", - "section": "def-common.EmbeddableInput", - "text": "EmbeddableInput" - }, - ", ", - { - "pluginId": "embeddable", - "scope": "public", - "docId": "kibEmbeddablePluginApi", - "section": "def-public.EmbeddableOutput", - "text": "EmbeddableOutput" - }, - ", any>; hideHeader?: boolean | undefined; containerContext?: ", - { - "pluginId": "embeddable", - "scope": "public", - "docId": "kibEmbeddablePluginApi", - "section": "def-public.EmbeddableContainerContext", - "text": "EmbeddableContainerContext" - }, - " | undefined; index?: number | undefined; }>" - ], - "path": "src/plugins/embeddable/public/lib/containers/embeddable_child_panel.tsx", - "deprecated": false, - "trackAdoption": false, - "returnComment": [], - "children": [ - { - "parentPluginId": "embeddable", - "id": "def-public.EmbeddableChildPanelProps.PanelComponent.$1", - "type": "CompoundType", - "tags": [], - "label": "props", - "description": [], - "signature": [ - "P & { children?: React.ReactNode; }" - ], - "path": "node_modules/@types/react/index.d.ts", - "deprecated": false, - "trackAdoption": false - }, - { - "parentPluginId": "embeddable", - "id": "def-public.EmbeddableChildPanelProps.PanelComponent.$2", - "type": "Any", - "tags": [], - "label": "context", - "description": [], - "signature": [ - "any" - ], - "path": "node_modules/@types/react/index.d.ts", - "deprecated": false, - "trackAdoption": false - } - ] + "label": "hidePanelTitles", + "description": [], + "signature": [ + "boolean | undefined" + ], + "path": "src/plugins/embeddable/public/lib/containers/i_container.ts", + "deprecated": false, + "trackAdoption": false }, { "parentPluginId": "embeddable", - "id": "def-public.EmbeddableChildPanelProps.onPanelStatusChange", - "type": "Function", + "id": "def-public.ContainerInput.panels", + "type": "Object", "tags": [], - "label": "onPanelStatusChange", + "label": "panels", "description": [], "signature": [ - "((info: ", + "{ [key: string]: ", { "pluginId": "embeddable", - "scope": "public", + "scope": "common", + "docId": "kibEmbeddablePluginApi", + "section": "def-common.PanelState", + "text": "PanelState" + }, + " void) | undefined" + " & { id: string; }>; }" ], - "path": "src/plugins/embeddable/public/lib/containers/embeddable_child_panel.tsx", + "path": "src/plugins/embeddable/public/lib/containers/i_container.ts", "deprecated": false, - "trackAdoption": false, - "children": [ - { - "parentPluginId": "embeddable", - "id": "def-public.EmbeddableChildPanelProps.onPanelStatusChange.$1", - "type": "Object", - "tags": [], - "label": "info", - "description": [], - "signature": [ - { - "pluginId": "embeddable", - "scope": "public", - "docId": "kibEmbeddablePluginApi", - "section": "def-public.EmbeddablePhaseEvent", - "text": "EmbeddablePhaseEvent" - } - ], - "path": "src/plugins/embeddable/public/lib/containers/embeddable_child_panel.tsx", - "deprecated": false, - "trackAdoption": false, - "isRequired": true - } + "trackAdoption": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "embeddable", + "id": "def-public.ContainerOutput", + "type": "Interface", + "tags": [], + "label": "ContainerOutput", + "description": [], + "signature": [ + { + "pluginId": "embeddable", + "scope": "public", + "docId": "kibEmbeddablePluginApi", + "section": "def-public.ContainerOutput", + "text": "ContainerOutput" + }, + " extends ", + { + "pluginId": "embeddable", + "scope": "public", + "docId": "kibEmbeddablePluginApi", + "section": "def-public.EmbeddableOutput", + "text": "EmbeddableOutput" + } + ], + "path": "src/plugins/embeddable/public/lib/containers/i_container.ts", + "deprecated": false, + "trackAdoption": false, + "children": [ + { + "parentPluginId": "embeddable", + "id": "def-public.ContainerOutput.embeddableLoaded", + "type": "Object", + "tags": [], + "label": "embeddableLoaded", + "description": [], + "signature": [ + "{ [key: string]: boolean; }" ], - "returnComment": [] + "path": "src/plugins/embeddable/public/lib/containers/i_container.ts", + "deprecated": false, + "trackAdoption": false } ], "initialIsOpen": false @@ -6913,10 +6251,8 @@ "type": "Interface", "tags": [], "label": "EmbeddableContainerContext", - "description": [ - "\nEmbeddable container may provide information about its environment,\nUse it for drilling down data that is static or doesn't have to be reactive,\notherwise prefer passing data with input$" - ], - "path": "src/plugins/embeddable/public/lib/panel/embeddable_panel.tsx", + "description": [], + "path": "src/plugins/embeddable/public/embeddable_panel/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -6932,7 +6268,7 @@ "signature": [ "(() => string) | undefined" ], - "path": "src/plugins/embeddable/public/lib/panel/embeddable_panel.tsx", + "path": "src/plugins/embeddable/public/embeddable_panel/types.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -7949,7 +7285,7 @@ "tags": [], "label": "EmbeddablePhaseEvent", "description": [], - "path": "src/plugins/embeddable/public/lib/containers/embeddable_child_panel.tsx", + "path": "src/plugins/embeddable/public/embeddable_panel/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -7960,7 +7296,7 @@ "tags": [], "label": "id", "description": [], - "path": "src/plugins/embeddable/public/lib/containers/embeddable_child_panel.tsx", + "path": "src/plugins/embeddable/public/embeddable_panel/types.ts", "deprecated": false, "trackAdoption": false }, @@ -7972,9 +7308,9 @@ "label": "status", "description": [], "signature": [ - "\"error\" | \"loading\" | \"loaded\" | \"rendered\"" + "\"error\" | \"loading\" | \"rendered\" | \"loaded\"" ], - "path": "src/plugins/embeddable/public/lib/containers/embeddable_child_panel.tsx", + "path": "src/plugins/embeddable/public/embeddable_panel/types.ts", "deprecated": false, "trackAdoption": false }, @@ -7995,7 +7331,7 @@ }, " | undefined" ], - "path": "src/plugins/embeddable/public/lib/containers/embeddable_child_panel.tsx", + "path": "src/plugins/embeddable/public/embeddable_panel/types.ts", "deprecated": false, "trackAdoption": false }, @@ -8006,7 +7342,7 @@ "tags": [], "label": "timeToEvent", "description": [], - "path": "src/plugins/embeddable/public/lib/containers/embeddable_child_panel.tsx", + "path": "src/plugins/embeddable/public/embeddable_panel/types.ts", "deprecated": false, "trackAdoption": false } @@ -8184,6 +7520,26 @@ "deprecated": false, "trackAdoption": false }, + { + "parentPluginId": "embeddable", + "id": "def-public.EmbeddableStartDependencies.usageCollection", + "type": "Object", + "tags": [], + "label": "usageCollection", + "description": [], + "signature": [ + { + "pluginId": "usageCollection", + "scope": "public", + "docId": "kibUsageCollectionPluginApi", + "section": "def-public.UsageCollectionStart", + "text": "UsageCollectionStart" + } + ], + "path": "src/plugins/embeddable/public/plugin.tsx", + "deprecated": false, + "trackAdoption": false + }, { "parentPluginId": "embeddable", "id": "def-public.EmbeddableStartDependencies.savedObjectsManagement", @@ -10240,15 +9596,15 @@ "misc": [ { "parentPluginId": "embeddable", - "id": "def-public.ACTION_ADD_PANEL", + "id": "def-public.ACTION_CUSTOMIZE_PANEL", "type": "string", "tags": [], - "label": "ACTION_ADD_PANEL", + "label": "ACTION_CUSTOMIZE_PANEL", "description": [], "signature": [ - "\"ACTION_ADD_PANEL\"" + "\"ACTION_CUSTOMIZE_PANEL\"" ], - "path": "src/plugins/embeddable/public/lib/panel/panel_header/panel_actions/add_panel/add_panel_action.ts", + "path": "src/plugins/embeddable/public/embeddable_panel/panel_actions/customize_panel_action/customize_panel_action.tsx", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -10263,7 +9619,22 @@ "signature": [ "\"editPanel\"" ], - "path": "src/plugins/embeddable/public/lib/actions/edit_panel_action.ts", + "path": "src/plugins/embeddable/public/embeddable_panel/panel_actions/edit_panel_action/edit_panel_action.ts", + "deprecated": false, + "trackAdoption": false, + "initialIsOpen": false + }, + { + "parentPluginId": "embeddable", + "id": "def-public.ACTION_INSPECT_PANEL", + "type": "string", + "tags": [], + "label": "ACTION_INSPECT_PANEL", + "description": [], + "signature": [ + "\"openInspector\"" + ], + "path": "src/plugins/embeddable/public/embeddable_panel/panel_actions/inspect_panel_action/inspect_panel_action.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -10430,95 +9801,19 @@ "trackAdoption": false, "initialIsOpen": false }, - { - "parentPluginId": "embeddable", - "id": "def-public.EmbeddablePanelHOC", - "type": "Type", - "tags": [], - "label": "EmbeddablePanelHOC", - "description": [], - "signature": [ - "React.FunctionComponent<{ embeddable: ", - { - "pluginId": "embeddable", - "scope": "public", - "docId": "kibEmbeddablePluginApi", - "section": "def-public.IEmbeddable", - "text": "IEmbeddable" - }, - "<", - { - "pluginId": "embeddable", - "scope": "common", - "docId": "kibEmbeddablePluginApi", - "section": "def-common.EmbeddableInput", - "text": "EmbeddableInput" - }, - ", ", - { - "pluginId": "embeddable", - "scope": "public", - "docId": "kibEmbeddablePluginApi", - "section": "def-public.EmbeddableOutput", - "text": "EmbeddableOutput" - }, - ", any>; hideHeader?: boolean | undefined; containerContext?: ", - { - "pluginId": "embeddable", - "scope": "public", - "docId": "kibEmbeddablePluginApi", - "section": "def-public.EmbeddableContainerContext", - "text": "EmbeddableContainerContext" - }, - " | undefined; index?: number | undefined; }>" - ], - "path": "src/plugins/embeddable/public/plugin.tsx", - "deprecated": false, - "trackAdoption": false, - "returnComment": [], - "children": [ - { - "parentPluginId": "embeddable", - "id": "def-public.EmbeddablePanelHOC.$1", - "type": "CompoundType", - "tags": [], - "label": "props", - "description": [], - "signature": [ - "P & { children?: React.ReactNode; }" - ], - "path": "node_modules/@types/react/index.d.ts", - "deprecated": false, - "trackAdoption": false - }, - { - "parentPluginId": "embeddable", - "id": "def-public.EmbeddablePanelHOC.$2", - "type": "Any", - "tags": [], - "label": "context", - "description": [], - "signature": [ - "any" - ], - "path": "node_modules/@types/react/index.d.ts", - "deprecated": false, - "trackAdoption": false - } - ], - "initialIsOpen": false - }, { "parentPluginId": "embeddable", "id": "def-public.EmbeddablePhase", "type": "Type", "tags": [], "label": "EmbeddablePhase", - "description": [], + "description": [ + "\n Performance tracking types" + ], "signature": [ - "\"error\" | \"loading\" | \"loaded\" | \"rendered\"" + "\"error\" | \"loading\" | \"rendered\" | \"loaded\"" ], - "path": "src/plugins/embeddable/public/lib/containers/embeddable_child_panel.tsx", + "path": "src/plugins/embeddable/public/embeddable_panel/types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -10600,6 +9895,21 @@ "trackAdoption": false, "initialIsOpen": false }, + { + "parentPluginId": "embeddable", + "id": "def-public.REMOVE_PANEL_ACTION", + "type": "string", + "tags": [], + "label": "REMOVE_PANEL_ACTION", + "description": [], + "signature": [ + "\"deletePanel\"" + ], + "path": "src/plugins/embeddable/public/embeddable_panel/panel_actions/remove_panel_action/remove_panel_action.ts", + "deprecated": false, + "trackAdoption": false, + "initialIsOpen": false + }, { "parentPluginId": "embeddable", "id": "def-public.SELECT_RANGE_TRIGGER", @@ -11342,83 +10652,6 @@ "children": [], "returnComment": [] }, - { - "parentPluginId": "embeddable", - "id": "def-public.EmbeddableStart.EmbeddablePanel", - "type": "Function", - "tags": [], - "label": "EmbeddablePanel", - "description": [], - "signature": [ - "React.FunctionComponent<{ embeddable: ", - { - "pluginId": "embeddable", - "scope": "public", - "docId": "kibEmbeddablePluginApi", - "section": "def-public.IEmbeddable", - "text": "IEmbeddable" - }, - "<", - { - "pluginId": "embeddable", - "scope": "common", - "docId": "kibEmbeddablePluginApi", - "section": "def-common.EmbeddableInput", - "text": "EmbeddableInput" - }, - ", ", - { - "pluginId": "embeddable", - "scope": "public", - "docId": "kibEmbeddablePluginApi", - "section": "def-public.EmbeddableOutput", - "text": "EmbeddableOutput" - }, - ", any>; hideHeader?: boolean | undefined; containerContext?: ", - { - "pluginId": "embeddable", - "scope": "public", - "docId": "kibEmbeddablePluginApi", - "section": "def-public.EmbeddableContainerContext", - "text": "EmbeddableContainerContext" - }, - " | undefined; index?: number | undefined; }>" - ], - "path": "src/plugins/embeddable/public/plugin.tsx", - "deprecated": false, - "trackAdoption": false, - "returnComment": [], - "children": [ - { - "parentPluginId": "embeddable", - "id": "def-public.EmbeddableStart.EmbeddablePanel.$1", - "type": "CompoundType", - "tags": [], - "label": "props", - "description": [], - "signature": [ - "P & { children?: React.ReactNode; }" - ], - "path": "node_modules/@types/react/index.d.ts", - "deprecated": false, - "trackAdoption": false - }, - { - "parentPluginId": "embeddable", - "id": "def-public.EmbeddableStart.EmbeddablePanel.$2", - "type": "Any", - "tags": [], - "label": "context", - "description": [], - "signature": [ - "any" - ], - "path": "node_modules/@types/react/index.d.ts", - "deprecated": false, - "trackAdoption": false - } - ] - }, { "parentPluginId": "embeddable", "id": "def-public.EmbeddableStart.getStateTransfer", diff --git a/api_docs/embeddable.mdx b/api_docs/embeddable.mdx index 4f31ec2fd02f8..ab33cb1a07797 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: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'embeddable'] --- import embeddableObj from './embeddable.devdocs.json'; @@ -21,7 +21,7 @@ Contact [@elastic/kibana-presentation](https://github.com/orgs/elastic/teams/kib | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 548 | 11 | 444 | 4 | +| 532 | 11 | 434 | 7 | ## Client diff --git a/api_docs/embeddable_enhanced.mdx b/api_docs/embeddable_enhanced.mdx index 5e90ff3f9545c..0596510265537 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: 2023-07-17 +date: 2023-07-18 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 7776b14e2dea0..9f5561f33548a 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: 2023-07-17 +date: 2023-07-18 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 7d109ee3e7de3..4158c491895b4 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: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'enterpriseSearch'] --- import enterpriseSearchObj from './enterprise_search.devdocs.json'; diff --git a/api_docs/es_ui_shared.mdx b/api_docs/es_ui_shared.mdx index e4283d7a3c694..04f1634f33317 100644 --- a/api_docs/es_ui_shared.mdx +++ b/api_docs/es_ui_shared.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/esUiShared title: "esUiShared" image: https://source.unsplash.com/400x175/?github description: API docs for the esUiShared plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'esUiShared'] --- import esUiSharedObj from './es_ui_shared.devdocs.json'; diff --git a/api_docs/event_annotation.mdx b/api_docs/event_annotation.mdx index d23f042a5683f..e57151329db63 100644 --- a/api_docs/event_annotation.mdx +++ b/api_docs/event_annotation.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/eventAnnotation title: "eventAnnotation" image: https://source.unsplash.com/400x175/?github description: API docs for the eventAnnotation plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'eventAnnotation'] --- import eventAnnotationObj from './event_annotation.devdocs.json'; diff --git a/api_docs/event_log.mdx b/api_docs/event_log.mdx index 54388dcd93c23..5b497273b875d 100644 --- a/api_docs/event_log.mdx +++ b/api_docs/event_log.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/eventLog title: "eventLog" image: https://source.unsplash.com/400x175/?github description: API docs for the eventLog plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'eventLog'] --- import eventLogObj from './event_log.devdocs.json'; diff --git a/api_docs/exploratory_view.mdx b/api_docs/exploratory_view.mdx index 811d59a9af9ca..8783e3434d0c3 100644 --- a/api_docs/exploratory_view.mdx +++ b/api_docs/exploratory_view.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/exploratoryView title: "exploratoryView" image: https://source.unsplash.com/400x175/?github description: API docs for the exploratoryView plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'exploratoryView'] --- import exploratoryViewObj from './exploratory_view.devdocs.json'; diff --git a/api_docs/expression_error.mdx b/api_docs/expression_error.mdx index 43a292e74e597..d22d022e09945 100644 --- a/api_docs/expression_error.mdx +++ b/api_docs/expression_error.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/expressionError title: "expressionError" image: https://source.unsplash.com/400x175/?github description: API docs for the expressionError plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'expressionError'] --- import expressionErrorObj from './expression_error.devdocs.json'; diff --git a/api_docs/expression_gauge.mdx b/api_docs/expression_gauge.mdx index fddc607bd1381..bee91a7559b85 100644 --- a/api_docs/expression_gauge.mdx +++ b/api_docs/expression_gauge.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/expressionGauge title: "expressionGauge" image: https://source.unsplash.com/400x175/?github description: API docs for the expressionGauge plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'expressionGauge'] --- import expressionGaugeObj from './expression_gauge.devdocs.json'; diff --git a/api_docs/expression_heatmap.mdx b/api_docs/expression_heatmap.mdx index e56b1e7e24c50..03d6400c4be8b 100644 --- a/api_docs/expression_heatmap.mdx +++ b/api_docs/expression_heatmap.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/expressionHeatmap title: "expressionHeatmap" image: https://source.unsplash.com/400x175/?github description: API docs for the expressionHeatmap plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'expressionHeatmap'] --- import expressionHeatmapObj from './expression_heatmap.devdocs.json'; diff --git a/api_docs/expression_image.mdx b/api_docs/expression_image.mdx index 5bca1306f7f2e..f68a9666d303a 100644 --- a/api_docs/expression_image.mdx +++ b/api_docs/expression_image.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/expressionImage title: "expressionImage" image: https://source.unsplash.com/400x175/?github description: API docs for the expressionImage plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'expressionImage'] --- import expressionImageObj from './expression_image.devdocs.json'; diff --git a/api_docs/expression_legacy_metric_vis.mdx b/api_docs/expression_legacy_metric_vis.mdx index a3473c32bc887..95d1ca610a374 100644 --- a/api_docs/expression_legacy_metric_vis.mdx +++ b/api_docs/expression_legacy_metric_vis.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/expressionLegacyMetricVis title: "expressionLegacyMetricVis" image: https://source.unsplash.com/400x175/?github description: API docs for the expressionLegacyMetricVis plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'expressionLegacyMetricVis'] --- import expressionLegacyMetricVisObj from './expression_legacy_metric_vis.devdocs.json'; diff --git a/api_docs/expression_metric.mdx b/api_docs/expression_metric.mdx index ecb4fba85f19f..09cb3ccb6bc91 100644 --- a/api_docs/expression_metric.mdx +++ b/api_docs/expression_metric.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/expressionMetric title: "expressionMetric" image: https://source.unsplash.com/400x175/?github description: API docs for the expressionMetric plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'expressionMetric'] --- import expressionMetricObj from './expression_metric.devdocs.json'; diff --git a/api_docs/expression_metric_vis.mdx b/api_docs/expression_metric_vis.mdx index 03a98112ff2c3..21b8dd7cdec50 100644 --- a/api_docs/expression_metric_vis.mdx +++ b/api_docs/expression_metric_vis.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/expressionMetricVis title: "expressionMetricVis" image: https://source.unsplash.com/400x175/?github description: API docs for the expressionMetricVis plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'expressionMetricVis'] --- import expressionMetricVisObj from './expression_metric_vis.devdocs.json'; diff --git a/api_docs/expression_partition_vis.mdx b/api_docs/expression_partition_vis.mdx index 8b8a9f8cad38f..408df0698486a 100644 --- a/api_docs/expression_partition_vis.mdx +++ b/api_docs/expression_partition_vis.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/expressionPartitionVis title: "expressionPartitionVis" image: https://source.unsplash.com/400x175/?github description: API docs for the expressionPartitionVis plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'expressionPartitionVis'] --- import expressionPartitionVisObj from './expression_partition_vis.devdocs.json'; diff --git a/api_docs/expression_repeat_image.mdx b/api_docs/expression_repeat_image.mdx index 1cbd1fa4e769c..2bef0057ffcc3 100644 --- a/api_docs/expression_repeat_image.mdx +++ b/api_docs/expression_repeat_image.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/expressionRepeatImage title: "expressionRepeatImage" image: https://source.unsplash.com/400x175/?github description: API docs for the expressionRepeatImage plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'expressionRepeatImage'] --- import expressionRepeatImageObj from './expression_repeat_image.devdocs.json'; diff --git a/api_docs/expression_reveal_image.mdx b/api_docs/expression_reveal_image.mdx index 37498f649ea80..2329de646304e 100644 --- a/api_docs/expression_reveal_image.mdx +++ b/api_docs/expression_reveal_image.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/expressionRevealImage title: "expressionRevealImage" image: https://source.unsplash.com/400x175/?github description: API docs for the expressionRevealImage plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'expressionRevealImage'] --- import expressionRevealImageObj from './expression_reveal_image.devdocs.json'; diff --git a/api_docs/expression_shape.mdx b/api_docs/expression_shape.mdx index 7c32d4cd0f617..22b250781f63a 100644 --- a/api_docs/expression_shape.mdx +++ b/api_docs/expression_shape.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/expressionShape title: "expressionShape" image: https://source.unsplash.com/400x175/?github description: API docs for the expressionShape plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'expressionShape'] --- import expressionShapeObj from './expression_shape.devdocs.json'; diff --git a/api_docs/expression_tagcloud.mdx b/api_docs/expression_tagcloud.mdx index 9d7fa0f063e83..7f04c185002fd 100644 --- a/api_docs/expression_tagcloud.mdx +++ b/api_docs/expression_tagcloud.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/expressionTagcloud title: "expressionTagcloud" image: https://source.unsplash.com/400x175/?github description: API docs for the expressionTagcloud plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'expressionTagcloud'] --- import expressionTagcloudObj from './expression_tagcloud.devdocs.json'; diff --git a/api_docs/expression_x_y.mdx b/api_docs/expression_x_y.mdx index 654711dd156c3..6bff07599e530 100644 --- a/api_docs/expression_x_y.mdx +++ b/api_docs/expression_x_y.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/expressionXY title: "expressionXY" image: https://source.unsplash.com/400x175/?github description: API docs for the expressionXY plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'expressionXY'] --- import expressionXYObj from './expression_x_y.devdocs.json'; diff --git a/api_docs/expressions.mdx b/api_docs/expressions.mdx index 2b143239b7c1d..fbc3148365c31 100644 --- a/api_docs/expressions.mdx +++ b/api_docs/expressions.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/expressions title: "expressions" image: https://source.unsplash.com/400x175/?github description: API docs for the expressions plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'expressions'] --- import expressionsObj from './expressions.devdocs.json'; diff --git a/api_docs/features.mdx b/api_docs/features.mdx index a5314c2372c34..8b342e20abea2 100644 --- a/api_docs/features.mdx +++ b/api_docs/features.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/features title: "features" image: https://source.unsplash.com/400x175/?github description: API docs for the features plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'features'] --- import featuresObj from './features.devdocs.json'; diff --git a/api_docs/field_formats.mdx b/api_docs/field_formats.mdx index f5720460eee45..cb77366a616d7 100644 --- a/api_docs/field_formats.mdx +++ b/api_docs/field_formats.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/fieldFormats title: "fieldFormats" image: https://source.unsplash.com/400x175/?github description: API docs for the fieldFormats plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'fieldFormats'] --- import fieldFormatsObj from './field_formats.devdocs.json'; diff --git a/api_docs/file_upload.mdx b/api_docs/file_upload.mdx index 68a5e83c9bb64..10d05b6a4cd37 100644 --- a/api_docs/file_upload.mdx +++ b/api_docs/file_upload.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/fileUpload title: "fileUpload" image: https://source.unsplash.com/400x175/?github description: API docs for the fileUpload plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'fileUpload'] --- import fileUploadObj from './file_upload.devdocs.json'; diff --git a/api_docs/files.mdx b/api_docs/files.mdx index 1674c841b057a..212bd12c24882 100644 --- a/api_docs/files.mdx +++ b/api_docs/files.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/files title: "files" image: https://source.unsplash.com/400x175/?github description: API docs for the files plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'files'] --- import filesObj from './files.devdocs.json'; diff --git a/api_docs/files_management.mdx b/api_docs/files_management.mdx index 8a8a437867191..c072ae6854f2b 100644 --- a/api_docs/files_management.mdx +++ b/api_docs/files_management.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/filesManagement title: "filesManagement" image: https://source.unsplash.com/400x175/?github description: API docs for the filesManagement plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'filesManagement'] --- import filesManagementObj from './files_management.devdocs.json'; diff --git a/api_docs/fleet.devdocs.json b/api_docs/fleet.devdocs.json index 90198a0f04b1b..ee84d6deead3a 100644 --- a/api_docs/fleet.devdocs.json +++ b/api_docs/fleet.devdocs.json @@ -3899,6 +3899,22 @@ "children": [], "returnComment": [] }, + { + "parentPluginId": "fleet", + "id": "def-public.pagePathGetters.uninstall_tokens", + "type": "Function", + "tags": [], + "label": "uninstall_tokens", + "description": [], + "signature": [ + "() => [string, string]" + ], + "path": "x-pack/plugins/fleet/public/constants/page_paths.ts", + "deprecated": false, + "trackAdoption": false, + "children": [], + "returnComment": [] + }, { "parentPluginId": "fleet", "id": "def-public.pagePathGetters.data_streams", @@ -22630,6 +22646,21 @@ "path": "x-pack/plugins/fleet/common/types/models/epm.ts", "deprecated": false, "trackAdoption": false + }, + { + "parentPluginId": "fleet", + "id": "def-common.RegistryDataStream.RegistryDataStreamKeys.lifecycle", + "type": "Object", + "tags": [], + "label": "[RegistryDataStreamKeys.lifecycle]", + "description": [], + "signature": [ + "RegistryDataStreamLifecycle", + " | undefined" + ], + "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "deprecated": false, + "trackAdoption": false } ], "initialIsOpen": false diff --git a/api_docs/fleet.mdx b/api_docs/fleet.mdx index 5c6d7cf442272..f67d4425c41e4 100644 --- a/api_docs/fleet.mdx +++ b/api_docs/fleet.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/fleet title: "fleet" image: https://source.unsplash.com/400x175/?github description: API docs for the fleet plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'fleet'] --- import fleetObj from './fleet.devdocs.json'; @@ -21,7 +21,7 @@ Contact [@elastic/fleet](https://github.com/orgs/elastic/teams/fleet) for questi | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 1180 | 3 | 1064 | 39 | +| 1182 | 3 | 1066 | 40 | ## Client diff --git a/api_docs/global_search.mdx b/api_docs/global_search.mdx index fe400892c2902..cc8a9b93fb41e 100644 --- a/api_docs/global_search.mdx +++ b/api_docs/global_search.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/globalSearch title: "globalSearch" image: https://source.unsplash.com/400x175/?github description: API docs for the globalSearch plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'globalSearch'] --- import globalSearchObj from './global_search.devdocs.json'; diff --git a/api_docs/guided_onboarding.mdx b/api_docs/guided_onboarding.mdx index 2cecf51eb22a6..610233322e04d 100644 --- a/api_docs/guided_onboarding.mdx +++ b/api_docs/guided_onboarding.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/guidedOnboarding title: "guidedOnboarding" image: https://source.unsplash.com/400x175/?github description: API docs for the guidedOnboarding plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'guidedOnboarding'] --- import guidedOnboardingObj from './guided_onboarding.devdocs.json'; diff --git a/api_docs/home.mdx b/api_docs/home.mdx index 7795d72a61c9f..8cebec5105bd3 100644 --- a/api_docs/home.mdx +++ b/api_docs/home.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/home title: "home" image: https://source.unsplash.com/400x175/?github description: API docs for the home plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'home'] --- import homeObj from './home.devdocs.json'; diff --git a/api_docs/image_embeddable.mdx b/api_docs/image_embeddable.mdx index b5d542bd8a36d..eff026a2b54a2 100644 --- a/api_docs/image_embeddable.mdx +++ b/api_docs/image_embeddable.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/imageEmbeddable title: "imageEmbeddable" image: https://source.unsplash.com/400x175/?github description: API docs for the imageEmbeddable plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'imageEmbeddable'] --- import imageEmbeddableObj from './image_embeddable.devdocs.json'; diff --git a/api_docs/index_lifecycle_management.mdx b/api_docs/index_lifecycle_management.mdx index db620c7d98e03..da0216eed5dbf 100644 --- a/api_docs/index_lifecycle_management.mdx +++ b/api_docs/index_lifecycle_management.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/indexLifecycleManagement title: "indexLifecycleManagement" image: https://source.unsplash.com/400x175/?github description: API docs for the indexLifecycleManagement plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'indexLifecycleManagement'] --- import indexLifecycleManagementObj from './index_lifecycle_management.devdocs.json'; diff --git a/api_docs/index_management.mdx b/api_docs/index_management.mdx index 9788c1f8cfdd8..69106039d28af 100644 --- a/api_docs/index_management.mdx +++ b/api_docs/index_management.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/indexManagement title: "indexManagement" image: https://source.unsplash.com/400x175/?github description: API docs for the indexManagement plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'indexManagement'] --- import indexManagementObj from './index_management.devdocs.json'; diff --git a/api_docs/infra.mdx b/api_docs/infra.mdx index 85603d9216e58..b7e06ffc3d9dd 100644 --- a/api_docs/infra.mdx +++ b/api_docs/infra.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/infra title: "infra" image: https://source.unsplash.com/400x175/?github description: API docs for the infra plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'infra'] --- import infraObj from './infra.devdocs.json'; diff --git a/api_docs/inspector.mdx b/api_docs/inspector.mdx index ac9ca70f34f2b..c13c207150017 100644 --- a/api_docs/inspector.mdx +++ b/api_docs/inspector.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/inspector title: "inspector" image: https://source.unsplash.com/400x175/?github description: API docs for the inspector plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'inspector'] --- import inspectorObj from './inspector.devdocs.json'; diff --git a/api_docs/interactive_setup.mdx b/api_docs/interactive_setup.mdx index abe4bb78f4cad..b702db57d6e3e 100644 --- a/api_docs/interactive_setup.mdx +++ b/api_docs/interactive_setup.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/interactiveSetup title: "interactiveSetup" image: https://source.unsplash.com/400x175/?github description: API docs for the interactiveSetup plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'interactiveSetup'] --- import interactiveSetupObj from './interactive_setup.devdocs.json'; diff --git a/api_docs/kbn_ace.mdx b/api_docs/kbn_ace.mdx index 44f8e2a8b6a8a..7fde6a4caa004 100644 --- a/api_docs/kbn_ace.mdx +++ b/api_docs/kbn_ace.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ace title: "@kbn/ace" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ace plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ace'] --- import kbnAceObj from './kbn_ace.devdocs.json'; diff --git a/api_docs/kbn_aiops_components.mdx b/api_docs/kbn_aiops_components.mdx index e443fbb3f9a4b..043a56042376e 100644 --- a/api_docs/kbn_aiops_components.mdx +++ b/api_docs/kbn_aiops_components.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-aiops-components title: "@kbn/aiops-components" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/aiops-components plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/aiops-components'] --- import kbnAiopsComponentsObj from './kbn_aiops_components.devdocs.json'; diff --git a/api_docs/kbn_aiops_utils.mdx b/api_docs/kbn_aiops_utils.mdx index 3290cce7f67f8..c6dfbb817f49f 100644 --- a/api_docs/kbn_aiops_utils.mdx +++ b/api_docs/kbn_aiops_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-aiops-utils title: "@kbn/aiops-utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/aiops-utils plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/aiops-utils'] --- import kbnAiopsUtilsObj from './kbn_aiops_utils.devdocs.json'; diff --git a/api_docs/kbn_alerting_state_types.mdx b/api_docs/kbn_alerting_state_types.mdx index 7207c89a89da8..629ee5572d2ae 100644 --- a/api_docs/kbn_alerting_state_types.mdx +++ b/api_docs/kbn_alerting_state_types.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-alerting-state-types title: "@kbn/alerting-state-types" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/alerting-state-types plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/alerting-state-types'] --- import kbnAlertingStateTypesObj from './kbn_alerting_state_types.devdocs.json'; diff --git a/api_docs/kbn_alerts_as_data_utils.mdx b/api_docs/kbn_alerts_as_data_utils.mdx index 25805dc9de487..b8395ea85bf44 100644 --- a/api_docs/kbn_alerts_as_data_utils.mdx +++ b/api_docs/kbn_alerts_as_data_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-alerts-as-data-utils title: "@kbn/alerts-as-data-utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/alerts-as-data-utils plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/alerts-as-data-utils'] --- import kbnAlertsAsDataUtilsObj from './kbn_alerts_as_data_utils.devdocs.json'; diff --git a/api_docs/kbn_alerts_ui_shared.mdx b/api_docs/kbn_alerts_ui_shared.mdx index b98aa0d9a8b99..5680a6ed98c96 100644 --- a/api_docs/kbn_alerts_ui_shared.mdx +++ b/api_docs/kbn_alerts_ui_shared.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-alerts-ui-shared title: "@kbn/alerts-ui-shared" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/alerts-ui-shared plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/alerts-ui-shared'] --- import kbnAlertsUiSharedObj from './kbn_alerts_ui_shared.devdocs.json'; diff --git a/api_docs/kbn_analytics.mdx b/api_docs/kbn_analytics.mdx index 9decdeab723e2..ec411b1b95ef0 100644 --- a/api_docs/kbn_analytics.mdx +++ b/api_docs/kbn_analytics.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-analytics title: "@kbn/analytics" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/analytics plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/analytics'] --- import kbnAnalyticsObj from './kbn_analytics.devdocs.json'; diff --git a/api_docs/kbn_analytics_client.mdx b/api_docs/kbn_analytics_client.mdx index 74b83766e05ef..eb36cc64e22f8 100644 --- a/api_docs/kbn_analytics_client.mdx +++ b/api_docs/kbn_analytics_client.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-analytics-client title: "@kbn/analytics-client" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/analytics-client plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/analytics-client'] --- import kbnAnalyticsClientObj from './kbn_analytics_client.devdocs.json'; diff --git a/api_docs/kbn_analytics_shippers_elastic_v3_browser.mdx b/api_docs/kbn_analytics_shippers_elastic_v3_browser.mdx index 900253f68c7ef..ec57dfd447602 100644 --- a/api_docs/kbn_analytics_shippers_elastic_v3_browser.mdx +++ b/api_docs/kbn_analytics_shippers_elastic_v3_browser.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-analytics-shippers-elastic-v3-browser title: "@kbn/analytics-shippers-elastic-v3-browser" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/analytics-shippers-elastic-v3-browser plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/analytics-shippers-elastic-v3-browser'] --- import kbnAnalyticsShippersElasticV3BrowserObj from './kbn_analytics_shippers_elastic_v3_browser.devdocs.json'; diff --git a/api_docs/kbn_analytics_shippers_elastic_v3_common.mdx b/api_docs/kbn_analytics_shippers_elastic_v3_common.mdx index 84a166fd94df8..d793dda08a557 100644 --- a/api_docs/kbn_analytics_shippers_elastic_v3_common.mdx +++ b/api_docs/kbn_analytics_shippers_elastic_v3_common.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-analytics-shippers-elastic-v3-common title: "@kbn/analytics-shippers-elastic-v3-common" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/analytics-shippers-elastic-v3-common plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/analytics-shippers-elastic-v3-common'] --- import kbnAnalyticsShippersElasticV3CommonObj from './kbn_analytics_shippers_elastic_v3_common.devdocs.json'; diff --git a/api_docs/kbn_analytics_shippers_elastic_v3_server.mdx b/api_docs/kbn_analytics_shippers_elastic_v3_server.mdx index 50feab81a7639..029d06a7b84ba 100644 --- a/api_docs/kbn_analytics_shippers_elastic_v3_server.mdx +++ b/api_docs/kbn_analytics_shippers_elastic_v3_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-analytics-shippers-elastic-v3-server title: "@kbn/analytics-shippers-elastic-v3-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/analytics-shippers-elastic-v3-server plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/analytics-shippers-elastic-v3-server'] --- import kbnAnalyticsShippersElasticV3ServerObj from './kbn_analytics_shippers_elastic_v3_server.devdocs.json'; diff --git a/api_docs/kbn_analytics_shippers_fullstory.mdx b/api_docs/kbn_analytics_shippers_fullstory.mdx index 7162a9fd5099d..59fcee3fd623c 100644 --- a/api_docs/kbn_analytics_shippers_fullstory.mdx +++ b/api_docs/kbn_analytics_shippers_fullstory.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-analytics-shippers-fullstory title: "@kbn/analytics-shippers-fullstory" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/analytics-shippers-fullstory plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/analytics-shippers-fullstory'] --- import kbnAnalyticsShippersFullstoryObj from './kbn_analytics_shippers_fullstory.devdocs.json'; diff --git a/api_docs/kbn_analytics_shippers_gainsight.mdx b/api_docs/kbn_analytics_shippers_gainsight.mdx index 14f16be16e4cb..ae927539334ba 100644 --- a/api_docs/kbn_analytics_shippers_gainsight.mdx +++ b/api_docs/kbn_analytics_shippers_gainsight.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-analytics-shippers-gainsight title: "@kbn/analytics-shippers-gainsight" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/analytics-shippers-gainsight plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/analytics-shippers-gainsight'] --- import kbnAnalyticsShippersGainsightObj from './kbn_analytics_shippers_gainsight.devdocs.json'; diff --git a/api_docs/kbn_apm_config_loader.mdx b/api_docs/kbn_apm_config_loader.mdx index 9fa02eea5eaa9..0ecd60ae04bc8 100644 --- a/api_docs/kbn_apm_config_loader.mdx +++ b/api_docs/kbn_apm_config_loader.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-apm-config-loader title: "@kbn/apm-config-loader" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/apm-config-loader plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/apm-config-loader'] --- import kbnApmConfigLoaderObj from './kbn_apm_config_loader.devdocs.json'; diff --git a/api_docs/kbn_apm_synthtrace.mdx b/api_docs/kbn_apm_synthtrace.mdx index cdda6da6667ec..2905b80b6ef11 100644 --- a/api_docs/kbn_apm_synthtrace.mdx +++ b/api_docs/kbn_apm_synthtrace.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-apm-synthtrace title: "@kbn/apm-synthtrace" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/apm-synthtrace plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/apm-synthtrace'] --- import kbnApmSynthtraceObj from './kbn_apm_synthtrace.devdocs.json'; diff --git a/api_docs/kbn_apm_synthtrace_client.mdx b/api_docs/kbn_apm_synthtrace_client.mdx index 410b4bc52bf6d..53979608377a1 100644 --- a/api_docs/kbn_apm_synthtrace_client.mdx +++ b/api_docs/kbn_apm_synthtrace_client.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-apm-synthtrace-client title: "@kbn/apm-synthtrace-client" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/apm-synthtrace-client plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/apm-synthtrace-client'] --- import kbnApmSynthtraceClientObj from './kbn_apm_synthtrace_client.devdocs.json'; diff --git a/api_docs/kbn_apm_utils.mdx b/api_docs/kbn_apm_utils.mdx index 6389aecf47af7..43363f2c9a81d 100644 --- a/api_docs/kbn_apm_utils.mdx +++ b/api_docs/kbn_apm_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-apm-utils title: "@kbn/apm-utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/apm-utils plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/apm-utils'] --- import kbnApmUtilsObj from './kbn_apm_utils.devdocs.json'; diff --git a/api_docs/kbn_axe_config.mdx b/api_docs/kbn_axe_config.mdx index 98dabfa96ed3a..2b0ab911c33ec 100644 --- a/api_docs/kbn_axe_config.mdx +++ b/api_docs/kbn_axe_config.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-axe-config title: "@kbn/axe-config" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/axe-config plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/axe-config'] --- import kbnAxeConfigObj from './kbn_axe_config.devdocs.json'; diff --git a/api_docs/kbn_cases_components.mdx b/api_docs/kbn_cases_components.mdx index c1e29e0b243a2..d9c6d2284bf0f 100644 --- a/api_docs/kbn_cases_components.mdx +++ b/api_docs/kbn_cases_components.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-cases-components title: "@kbn/cases-components" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/cases-components plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/cases-components'] --- import kbnCasesComponentsObj from './kbn_cases_components.devdocs.json'; diff --git a/api_docs/kbn_cell_actions.mdx b/api_docs/kbn_cell_actions.mdx index 83d81dd3e35d5..7685adc6b5e19 100644 --- a/api_docs/kbn_cell_actions.mdx +++ b/api_docs/kbn_cell_actions.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-cell-actions title: "@kbn/cell-actions" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/cell-actions plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/cell-actions'] --- import kbnCellActionsObj from './kbn_cell_actions.devdocs.json'; diff --git a/api_docs/kbn_chart_expressions_common.mdx b/api_docs/kbn_chart_expressions_common.mdx index 77acce1e1234a..5b12090122718 100644 --- a/api_docs/kbn_chart_expressions_common.mdx +++ b/api_docs/kbn_chart_expressions_common.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-chart-expressions-common title: "@kbn/chart-expressions-common" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/chart-expressions-common plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/chart-expressions-common'] --- import kbnChartExpressionsCommonObj from './kbn_chart_expressions_common.devdocs.json'; diff --git a/api_docs/kbn_chart_icons.mdx b/api_docs/kbn_chart_icons.mdx index 25f5510908f25..5110ccf4d7a6d 100644 --- a/api_docs/kbn_chart_icons.mdx +++ b/api_docs/kbn_chart_icons.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-chart-icons title: "@kbn/chart-icons" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/chart-icons plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/chart-icons'] --- import kbnChartIconsObj from './kbn_chart_icons.devdocs.json'; diff --git a/api_docs/kbn_ci_stats_core.mdx b/api_docs/kbn_ci_stats_core.mdx index 387ae077ff2de..0964f4f404d33 100644 --- a/api_docs/kbn_ci_stats_core.mdx +++ b/api_docs/kbn_ci_stats_core.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ci-stats-core title: "@kbn/ci-stats-core" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ci-stats-core plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ci-stats-core'] --- import kbnCiStatsCoreObj from './kbn_ci_stats_core.devdocs.json'; diff --git a/api_docs/kbn_ci_stats_performance_metrics.mdx b/api_docs/kbn_ci_stats_performance_metrics.mdx index 25e0f452b7107..1404438438f0c 100644 --- a/api_docs/kbn_ci_stats_performance_metrics.mdx +++ b/api_docs/kbn_ci_stats_performance_metrics.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ci-stats-performance-metrics title: "@kbn/ci-stats-performance-metrics" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ci-stats-performance-metrics plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ci-stats-performance-metrics'] --- import kbnCiStatsPerformanceMetricsObj from './kbn_ci_stats_performance_metrics.devdocs.json'; diff --git a/api_docs/kbn_ci_stats_reporter.mdx b/api_docs/kbn_ci_stats_reporter.mdx index c32be8e7ffb24..a21de03532024 100644 --- a/api_docs/kbn_ci_stats_reporter.mdx +++ b/api_docs/kbn_ci_stats_reporter.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ci-stats-reporter title: "@kbn/ci-stats-reporter" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ci-stats-reporter plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ci-stats-reporter'] --- import kbnCiStatsReporterObj from './kbn_ci_stats_reporter.devdocs.json'; diff --git a/api_docs/kbn_cli_dev_mode.mdx b/api_docs/kbn_cli_dev_mode.mdx index c317f1b391eda..bc1726adef480 100644 --- a/api_docs/kbn_cli_dev_mode.mdx +++ b/api_docs/kbn_cli_dev_mode.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-cli-dev-mode title: "@kbn/cli-dev-mode" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/cli-dev-mode plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/cli-dev-mode'] --- import kbnCliDevModeObj from './kbn_cli_dev_mode.devdocs.json'; diff --git a/api_docs/kbn_code_editor.mdx b/api_docs/kbn_code_editor.mdx index b15551f78db40..265fb18174108 100644 --- a/api_docs/kbn_code_editor.mdx +++ b/api_docs/kbn_code_editor.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-code-editor title: "@kbn/code-editor" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/code-editor plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/code-editor'] --- import kbnCodeEditorObj from './kbn_code_editor.devdocs.json'; diff --git a/api_docs/kbn_code_editor_mocks.mdx b/api_docs/kbn_code_editor_mocks.mdx index d49098c95136b..82616ee4153cd 100644 --- a/api_docs/kbn_code_editor_mocks.mdx +++ b/api_docs/kbn_code_editor_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-code-editor-mocks title: "@kbn/code-editor-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/code-editor-mocks plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/code-editor-mocks'] --- import kbnCodeEditorMocksObj from './kbn_code_editor_mocks.devdocs.json'; diff --git a/api_docs/kbn_coloring.mdx b/api_docs/kbn_coloring.mdx index c6b3ebd7de5df..83c36d3c21e7a 100644 --- a/api_docs/kbn_coloring.mdx +++ b/api_docs/kbn_coloring.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-coloring title: "@kbn/coloring" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/coloring plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/coloring'] --- import kbnColoringObj from './kbn_coloring.devdocs.json'; diff --git a/api_docs/kbn_config.mdx b/api_docs/kbn_config.mdx index b7f6a1a5ef89c..c1915b7043848 100644 --- a/api_docs/kbn_config.mdx +++ b/api_docs/kbn_config.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-config title: "@kbn/config" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/config plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/config'] --- import kbnConfigObj from './kbn_config.devdocs.json'; diff --git a/api_docs/kbn_config_mocks.mdx b/api_docs/kbn_config_mocks.mdx index 5751503828032..7cd60bf8329ad 100644 --- a/api_docs/kbn_config_mocks.mdx +++ b/api_docs/kbn_config_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-config-mocks title: "@kbn/config-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/config-mocks plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/config-mocks'] --- import kbnConfigMocksObj from './kbn_config_mocks.devdocs.json'; diff --git a/api_docs/kbn_config_schema.mdx b/api_docs/kbn_config_schema.mdx index 289d5193f5000..0c52961366de2 100644 --- a/api_docs/kbn_config_schema.mdx +++ b/api_docs/kbn_config_schema.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-config-schema title: "@kbn/config-schema" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/config-schema plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/config-schema'] --- import kbnConfigSchemaObj from './kbn_config_schema.devdocs.json'; diff --git a/api_docs/kbn_content_management_content_editor.mdx b/api_docs/kbn_content_management_content_editor.mdx index f440684bd515e..95cf4fd7f4260 100644 --- a/api_docs/kbn_content_management_content_editor.mdx +++ b/api_docs/kbn_content_management_content_editor.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-content-management-content-editor title: "@kbn/content-management-content-editor" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/content-management-content-editor plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/content-management-content-editor'] --- import kbnContentManagementContentEditorObj from './kbn_content_management_content_editor.devdocs.json'; diff --git a/api_docs/kbn_content_management_tabbed_table_list_view.mdx b/api_docs/kbn_content_management_tabbed_table_list_view.mdx index 5ab7a8124f60b..e9326fedc6272 100644 --- a/api_docs/kbn_content_management_tabbed_table_list_view.mdx +++ b/api_docs/kbn_content_management_tabbed_table_list_view.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-content-management-tabbed-table-list-view title: "@kbn/content-management-tabbed-table-list-view" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/content-management-tabbed-table-list-view plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/content-management-tabbed-table-list-view'] --- import kbnContentManagementTabbedTableListViewObj from './kbn_content_management_tabbed_table_list_view.devdocs.json'; diff --git a/api_docs/kbn_content_management_table_list_view.mdx b/api_docs/kbn_content_management_table_list_view.mdx index ab5fe673bfad9..752f6e9e99e4c 100644 --- a/api_docs/kbn_content_management_table_list_view.mdx +++ b/api_docs/kbn_content_management_table_list_view.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-content-management-table-list-view title: "@kbn/content-management-table-list-view" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/content-management-table-list-view plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/content-management-table-list-view'] --- import kbnContentManagementTableListViewObj from './kbn_content_management_table_list_view.devdocs.json'; diff --git a/api_docs/kbn_content_management_table_list_view_table.mdx b/api_docs/kbn_content_management_table_list_view_table.mdx index 03d27b2964ad9..b87a96861ee91 100644 --- a/api_docs/kbn_content_management_table_list_view_table.mdx +++ b/api_docs/kbn_content_management_table_list_view_table.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-content-management-table-list-view-table title: "@kbn/content-management-table-list-view-table" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/content-management-table-list-view-table plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/content-management-table-list-view-table'] --- import kbnContentManagementTableListViewTableObj from './kbn_content_management_table_list_view_table.devdocs.json'; diff --git a/api_docs/kbn_content_management_utils.mdx b/api_docs/kbn_content_management_utils.mdx index f8c56803c41fe..5eb46a5a6ebce 100644 --- a/api_docs/kbn_content_management_utils.mdx +++ b/api_docs/kbn_content_management_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-content-management-utils title: "@kbn/content-management-utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/content-management-utils plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/content-management-utils'] --- import kbnContentManagementUtilsObj from './kbn_content_management_utils.devdocs.json'; diff --git a/api_docs/kbn_core_analytics_browser.mdx b/api_docs/kbn_core_analytics_browser.mdx index ffe19ffbc78c0..4c982e298a8fb 100644 --- a/api_docs/kbn_core_analytics_browser.mdx +++ b/api_docs/kbn_core_analytics_browser.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-analytics-browser title: "@kbn/core-analytics-browser" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-analytics-browser plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-analytics-browser'] --- import kbnCoreAnalyticsBrowserObj from './kbn_core_analytics_browser.devdocs.json'; diff --git a/api_docs/kbn_core_analytics_browser_internal.mdx b/api_docs/kbn_core_analytics_browser_internal.mdx index 638334ffbef96..c7c91653aab88 100644 --- a/api_docs/kbn_core_analytics_browser_internal.mdx +++ b/api_docs/kbn_core_analytics_browser_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-analytics-browser-internal title: "@kbn/core-analytics-browser-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-analytics-browser-internal plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-analytics-browser-internal'] --- import kbnCoreAnalyticsBrowserInternalObj from './kbn_core_analytics_browser_internal.devdocs.json'; diff --git a/api_docs/kbn_core_analytics_browser_mocks.mdx b/api_docs/kbn_core_analytics_browser_mocks.mdx index c948417acb7dc..ba18bd9b46ad0 100644 --- a/api_docs/kbn_core_analytics_browser_mocks.mdx +++ b/api_docs/kbn_core_analytics_browser_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-analytics-browser-mocks title: "@kbn/core-analytics-browser-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-analytics-browser-mocks plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-analytics-browser-mocks'] --- import kbnCoreAnalyticsBrowserMocksObj from './kbn_core_analytics_browser_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_analytics_server.mdx b/api_docs/kbn_core_analytics_server.mdx index ce8a813978824..b3ab65551a09f 100644 --- a/api_docs/kbn_core_analytics_server.mdx +++ b/api_docs/kbn_core_analytics_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-analytics-server title: "@kbn/core-analytics-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-analytics-server plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-analytics-server'] --- import kbnCoreAnalyticsServerObj from './kbn_core_analytics_server.devdocs.json'; diff --git a/api_docs/kbn_core_analytics_server_internal.mdx b/api_docs/kbn_core_analytics_server_internal.mdx index de71f4727da11..50d056de0d92a 100644 --- a/api_docs/kbn_core_analytics_server_internal.mdx +++ b/api_docs/kbn_core_analytics_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-analytics-server-internal title: "@kbn/core-analytics-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-analytics-server-internal plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-analytics-server-internal'] --- import kbnCoreAnalyticsServerInternalObj from './kbn_core_analytics_server_internal.devdocs.json'; diff --git a/api_docs/kbn_core_analytics_server_mocks.mdx b/api_docs/kbn_core_analytics_server_mocks.mdx index 94c56dbec7ff5..889eec8c3a256 100644 --- a/api_docs/kbn_core_analytics_server_mocks.mdx +++ b/api_docs/kbn_core_analytics_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-analytics-server-mocks title: "@kbn/core-analytics-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-analytics-server-mocks plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-analytics-server-mocks'] --- import kbnCoreAnalyticsServerMocksObj from './kbn_core_analytics_server_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_application_browser.mdx b/api_docs/kbn_core_application_browser.mdx index 71f02da7079cd..49be1da66eaf1 100644 --- a/api_docs/kbn_core_application_browser.mdx +++ b/api_docs/kbn_core_application_browser.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-application-browser title: "@kbn/core-application-browser" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-application-browser plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-application-browser'] --- import kbnCoreApplicationBrowserObj from './kbn_core_application_browser.devdocs.json'; diff --git a/api_docs/kbn_core_application_browser_internal.mdx b/api_docs/kbn_core_application_browser_internal.mdx index 9924286a3e028..65b8addf9246a 100644 --- a/api_docs/kbn_core_application_browser_internal.mdx +++ b/api_docs/kbn_core_application_browser_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-application-browser-internal title: "@kbn/core-application-browser-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-application-browser-internal plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-application-browser-internal'] --- import kbnCoreApplicationBrowserInternalObj from './kbn_core_application_browser_internal.devdocs.json'; diff --git a/api_docs/kbn_core_application_browser_mocks.mdx b/api_docs/kbn_core_application_browser_mocks.mdx index 8e0e8a1b259a7..2ac2337749903 100644 --- a/api_docs/kbn_core_application_browser_mocks.mdx +++ b/api_docs/kbn_core_application_browser_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-application-browser-mocks title: "@kbn/core-application-browser-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-application-browser-mocks plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-application-browser-mocks'] --- import kbnCoreApplicationBrowserMocksObj from './kbn_core_application_browser_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_application_common.mdx b/api_docs/kbn_core_application_common.mdx index 1916da59584d1..98fcc104bf0b1 100644 --- a/api_docs/kbn_core_application_common.mdx +++ b/api_docs/kbn_core_application_common.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-application-common title: "@kbn/core-application-common" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-application-common plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-application-common'] --- import kbnCoreApplicationCommonObj from './kbn_core_application_common.devdocs.json'; diff --git a/api_docs/kbn_core_apps_browser_internal.mdx b/api_docs/kbn_core_apps_browser_internal.mdx index fe81872b3a2cd..d57d53092ae9d 100644 --- a/api_docs/kbn_core_apps_browser_internal.mdx +++ b/api_docs/kbn_core_apps_browser_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-apps-browser-internal title: "@kbn/core-apps-browser-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-apps-browser-internal plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-apps-browser-internal'] --- import kbnCoreAppsBrowserInternalObj from './kbn_core_apps_browser_internal.devdocs.json'; diff --git a/api_docs/kbn_core_apps_browser_mocks.mdx b/api_docs/kbn_core_apps_browser_mocks.mdx index 4c52f78d579f1..5defc55ea76c3 100644 --- a/api_docs/kbn_core_apps_browser_mocks.mdx +++ b/api_docs/kbn_core_apps_browser_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-apps-browser-mocks title: "@kbn/core-apps-browser-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-apps-browser-mocks plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-apps-browser-mocks'] --- import kbnCoreAppsBrowserMocksObj from './kbn_core_apps_browser_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_apps_server_internal.mdx b/api_docs/kbn_core_apps_server_internal.mdx index c0fb11d48b1b0..157b8e5540975 100644 --- a/api_docs/kbn_core_apps_server_internal.mdx +++ b/api_docs/kbn_core_apps_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-apps-server-internal title: "@kbn/core-apps-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-apps-server-internal plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-apps-server-internal'] --- import kbnCoreAppsServerInternalObj from './kbn_core_apps_server_internal.devdocs.json'; diff --git a/api_docs/kbn_core_base_browser_mocks.mdx b/api_docs/kbn_core_base_browser_mocks.mdx index 92d782af05f5d..10ed09ea0a846 100644 --- a/api_docs/kbn_core_base_browser_mocks.mdx +++ b/api_docs/kbn_core_base_browser_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-base-browser-mocks title: "@kbn/core-base-browser-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-base-browser-mocks plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-base-browser-mocks'] --- import kbnCoreBaseBrowserMocksObj from './kbn_core_base_browser_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_base_common.mdx b/api_docs/kbn_core_base_common.mdx index 2a08340092d4d..90c1bb67edd92 100644 --- a/api_docs/kbn_core_base_common.mdx +++ b/api_docs/kbn_core_base_common.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-base-common title: "@kbn/core-base-common" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-base-common plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-base-common'] --- import kbnCoreBaseCommonObj from './kbn_core_base_common.devdocs.json'; diff --git a/api_docs/kbn_core_base_server_internal.mdx b/api_docs/kbn_core_base_server_internal.mdx index 806224e0353ec..9a18faf457aed 100644 --- a/api_docs/kbn_core_base_server_internal.mdx +++ b/api_docs/kbn_core_base_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-base-server-internal title: "@kbn/core-base-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-base-server-internal plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-base-server-internal'] --- import kbnCoreBaseServerInternalObj from './kbn_core_base_server_internal.devdocs.json'; diff --git a/api_docs/kbn_core_base_server_mocks.mdx b/api_docs/kbn_core_base_server_mocks.mdx index 4b1b9cf4e6f62..2da2a0067bb13 100644 --- a/api_docs/kbn_core_base_server_mocks.mdx +++ b/api_docs/kbn_core_base_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-base-server-mocks title: "@kbn/core-base-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-base-server-mocks plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-base-server-mocks'] --- import kbnCoreBaseServerMocksObj from './kbn_core_base_server_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_capabilities_browser_mocks.mdx b/api_docs/kbn_core_capabilities_browser_mocks.mdx index 149f296ac941b..2bfc72a54004f 100644 --- a/api_docs/kbn_core_capabilities_browser_mocks.mdx +++ b/api_docs/kbn_core_capabilities_browser_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-capabilities-browser-mocks title: "@kbn/core-capabilities-browser-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-capabilities-browser-mocks plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-capabilities-browser-mocks'] --- import kbnCoreCapabilitiesBrowserMocksObj from './kbn_core_capabilities_browser_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_capabilities_common.mdx b/api_docs/kbn_core_capabilities_common.mdx index fc373d03145d7..054c139be0696 100644 --- a/api_docs/kbn_core_capabilities_common.mdx +++ b/api_docs/kbn_core_capabilities_common.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-capabilities-common title: "@kbn/core-capabilities-common" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-capabilities-common plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-capabilities-common'] --- import kbnCoreCapabilitiesCommonObj from './kbn_core_capabilities_common.devdocs.json'; diff --git a/api_docs/kbn_core_capabilities_server.mdx b/api_docs/kbn_core_capabilities_server.mdx index 3536c8d6235ab..a6722aba43552 100644 --- a/api_docs/kbn_core_capabilities_server.mdx +++ b/api_docs/kbn_core_capabilities_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-capabilities-server title: "@kbn/core-capabilities-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-capabilities-server plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-capabilities-server'] --- import kbnCoreCapabilitiesServerObj from './kbn_core_capabilities_server.devdocs.json'; diff --git a/api_docs/kbn_core_capabilities_server_mocks.mdx b/api_docs/kbn_core_capabilities_server_mocks.mdx index 37149300b590b..fc4891adb3b99 100644 --- a/api_docs/kbn_core_capabilities_server_mocks.mdx +++ b/api_docs/kbn_core_capabilities_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-capabilities-server-mocks title: "@kbn/core-capabilities-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-capabilities-server-mocks plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-capabilities-server-mocks'] --- import kbnCoreCapabilitiesServerMocksObj from './kbn_core_capabilities_server_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_chrome_browser.mdx b/api_docs/kbn_core_chrome_browser.mdx index 47fd2076f0ffc..d4cf3a68015c8 100644 --- a/api_docs/kbn_core_chrome_browser.mdx +++ b/api_docs/kbn_core_chrome_browser.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-chrome-browser title: "@kbn/core-chrome-browser" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-chrome-browser plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-chrome-browser'] --- import kbnCoreChromeBrowserObj from './kbn_core_chrome_browser.devdocs.json'; diff --git a/api_docs/kbn_core_chrome_browser_mocks.mdx b/api_docs/kbn_core_chrome_browser_mocks.mdx index 860ee4f4e8df7..287b3d2e8eadc 100644 --- a/api_docs/kbn_core_chrome_browser_mocks.mdx +++ b/api_docs/kbn_core_chrome_browser_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-chrome-browser-mocks title: "@kbn/core-chrome-browser-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-chrome-browser-mocks plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-chrome-browser-mocks'] --- import kbnCoreChromeBrowserMocksObj from './kbn_core_chrome_browser_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_config_server_internal.mdx b/api_docs/kbn_core_config_server_internal.mdx index 11013cb3a8ee3..e7e36b928fe0d 100644 --- a/api_docs/kbn_core_config_server_internal.mdx +++ b/api_docs/kbn_core_config_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-config-server-internal title: "@kbn/core-config-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-config-server-internal plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-config-server-internal'] --- import kbnCoreConfigServerInternalObj from './kbn_core_config_server_internal.devdocs.json'; diff --git a/api_docs/kbn_core_custom_branding_browser.mdx b/api_docs/kbn_core_custom_branding_browser.mdx index a23129ed1733b..362d8ea698015 100644 --- a/api_docs/kbn_core_custom_branding_browser.mdx +++ b/api_docs/kbn_core_custom_branding_browser.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-custom-branding-browser title: "@kbn/core-custom-branding-browser" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-custom-branding-browser plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-custom-branding-browser'] --- import kbnCoreCustomBrandingBrowserObj from './kbn_core_custom_branding_browser.devdocs.json'; diff --git a/api_docs/kbn_core_custom_branding_browser_internal.mdx b/api_docs/kbn_core_custom_branding_browser_internal.mdx index 374e7a5511084..fb6285bf9610d 100644 --- a/api_docs/kbn_core_custom_branding_browser_internal.mdx +++ b/api_docs/kbn_core_custom_branding_browser_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-custom-branding-browser-internal title: "@kbn/core-custom-branding-browser-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-custom-branding-browser-internal plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-custom-branding-browser-internal'] --- import kbnCoreCustomBrandingBrowserInternalObj from './kbn_core_custom_branding_browser_internal.devdocs.json'; diff --git a/api_docs/kbn_core_custom_branding_browser_mocks.mdx b/api_docs/kbn_core_custom_branding_browser_mocks.mdx index 4b11c5827268e..c25761e92d6af 100644 --- a/api_docs/kbn_core_custom_branding_browser_mocks.mdx +++ b/api_docs/kbn_core_custom_branding_browser_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-custom-branding-browser-mocks title: "@kbn/core-custom-branding-browser-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-custom-branding-browser-mocks plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-custom-branding-browser-mocks'] --- import kbnCoreCustomBrandingBrowserMocksObj from './kbn_core_custom_branding_browser_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_custom_branding_common.mdx b/api_docs/kbn_core_custom_branding_common.mdx index b9b6129c86239..244862eb1a1ce 100644 --- a/api_docs/kbn_core_custom_branding_common.mdx +++ b/api_docs/kbn_core_custom_branding_common.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-custom-branding-common title: "@kbn/core-custom-branding-common" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-custom-branding-common plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-custom-branding-common'] --- import kbnCoreCustomBrandingCommonObj from './kbn_core_custom_branding_common.devdocs.json'; diff --git a/api_docs/kbn_core_custom_branding_server.mdx b/api_docs/kbn_core_custom_branding_server.mdx index a5c16f2c62066..c39f0c851bf75 100644 --- a/api_docs/kbn_core_custom_branding_server.mdx +++ b/api_docs/kbn_core_custom_branding_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-custom-branding-server title: "@kbn/core-custom-branding-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-custom-branding-server plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-custom-branding-server'] --- import kbnCoreCustomBrandingServerObj from './kbn_core_custom_branding_server.devdocs.json'; diff --git a/api_docs/kbn_core_custom_branding_server_internal.mdx b/api_docs/kbn_core_custom_branding_server_internal.mdx index 9be15e2d343c4..f7609e27394af 100644 --- a/api_docs/kbn_core_custom_branding_server_internal.mdx +++ b/api_docs/kbn_core_custom_branding_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-custom-branding-server-internal title: "@kbn/core-custom-branding-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-custom-branding-server-internal plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-custom-branding-server-internal'] --- import kbnCoreCustomBrandingServerInternalObj from './kbn_core_custom_branding_server_internal.devdocs.json'; diff --git a/api_docs/kbn_core_custom_branding_server_mocks.mdx b/api_docs/kbn_core_custom_branding_server_mocks.mdx index 644ffb7b2a9d8..1029c6db08ed1 100644 --- a/api_docs/kbn_core_custom_branding_server_mocks.mdx +++ b/api_docs/kbn_core_custom_branding_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-custom-branding-server-mocks title: "@kbn/core-custom-branding-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-custom-branding-server-mocks plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-custom-branding-server-mocks'] --- import kbnCoreCustomBrandingServerMocksObj from './kbn_core_custom_branding_server_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_deprecations_browser.mdx b/api_docs/kbn_core_deprecations_browser.mdx index 3ffc82854aaff..6049927f22262 100644 --- a/api_docs/kbn_core_deprecations_browser.mdx +++ b/api_docs/kbn_core_deprecations_browser.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-deprecations-browser title: "@kbn/core-deprecations-browser" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-deprecations-browser plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-deprecations-browser'] --- import kbnCoreDeprecationsBrowserObj from './kbn_core_deprecations_browser.devdocs.json'; diff --git a/api_docs/kbn_core_deprecations_browser_internal.mdx b/api_docs/kbn_core_deprecations_browser_internal.mdx index cb7b18e702d88..d93b31ef24ec2 100644 --- a/api_docs/kbn_core_deprecations_browser_internal.mdx +++ b/api_docs/kbn_core_deprecations_browser_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-deprecations-browser-internal title: "@kbn/core-deprecations-browser-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-deprecations-browser-internal plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-deprecations-browser-internal'] --- import kbnCoreDeprecationsBrowserInternalObj from './kbn_core_deprecations_browser_internal.devdocs.json'; diff --git a/api_docs/kbn_core_deprecations_browser_mocks.mdx b/api_docs/kbn_core_deprecations_browser_mocks.mdx index d0496b4e3729c..3841e2767bbd7 100644 --- a/api_docs/kbn_core_deprecations_browser_mocks.mdx +++ b/api_docs/kbn_core_deprecations_browser_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-deprecations-browser-mocks title: "@kbn/core-deprecations-browser-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-deprecations-browser-mocks plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-deprecations-browser-mocks'] --- import kbnCoreDeprecationsBrowserMocksObj from './kbn_core_deprecations_browser_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_deprecations_common.mdx b/api_docs/kbn_core_deprecations_common.mdx index a589d8456fb77..2534247707e7d 100644 --- a/api_docs/kbn_core_deprecations_common.mdx +++ b/api_docs/kbn_core_deprecations_common.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-deprecations-common title: "@kbn/core-deprecations-common" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-deprecations-common plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-deprecations-common'] --- import kbnCoreDeprecationsCommonObj from './kbn_core_deprecations_common.devdocs.json'; diff --git a/api_docs/kbn_core_deprecations_server.mdx b/api_docs/kbn_core_deprecations_server.mdx index bb6b8ba0ade07..0b5d33b4e38b5 100644 --- a/api_docs/kbn_core_deprecations_server.mdx +++ b/api_docs/kbn_core_deprecations_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-deprecations-server title: "@kbn/core-deprecations-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-deprecations-server plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-deprecations-server'] --- import kbnCoreDeprecationsServerObj from './kbn_core_deprecations_server.devdocs.json'; diff --git a/api_docs/kbn_core_deprecations_server_internal.mdx b/api_docs/kbn_core_deprecations_server_internal.mdx index bc72a01d3cc28..29cd6d34a89fd 100644 --- a/api_docs/kbn_core_deprecations_server_internal.mdx +++ b/api_docs/kbn_core_deprecations_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-deprecations-server-internal title: "@kbn/core-deprecations-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-deprecations-server-internal plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-deprecations-server-internal'] --- import kbnCoreDeprecationsServerInternalObj from './kbn_core_deprecations_server_internal.devdocs.json'; diff --git a/api_docs/kbn_core_deprecations_server_mocks.mdx b/api_docs/kbn_core_deprecations_server_mocks.mdx index 1c6155b94448e..304c0878d2840 100644 --- a/api_docs/kbn_core_deprecations_server_mocks.mdx +++ b/api_docs/kbn_core_deprecations_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-deprecations-server-mocks title: "@kbn/core-deprecations-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-deprecations-server-mocks plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-deprecations-server-mocks'] --- import kbnCoreDeprecationsServerMocksObj from './kbn_core_deprecations_server_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_doc_links_browser.mdx b/api_docs/kbn_core_doc_links_browser.mdx index d9fdc211d1c25..cfd7a922c76c4 100644 --- a/api_docs/kbn_core_doc_links_browser.mdx +++ b/api_docs/kbn_core_doc_links_browser.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-doc-links-browser title: "@kbn/core-doc-links-browser" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-doc-links-browser plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-doc-links-browser'] --- import kbnCoreDocLinksBrowserObj from './kbn_core_doc_links_browser.devdocs.json'; diff --git a/api_docs/kbn_core_doc_links_browser_mocks.mdx b/api_docs/kbn_core_doc_links_browser_mocks.mdx index 9060976b767f0..50ddea93ba6c4 100644 --- a/api_docs/kbn_core_doc_links_browser_mocks.mdx +++ b/api_docs/kbn_core_doc_links_browser_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-doc-links-browser-mocks title: "@kbn/core-doc-links-browser-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-doc-links-browser-mocks plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-doc-links-browser-mocks'] --- import kbnCoreDocLinksBrowserMocksObj from './kbn_core_doc_links_browser_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_doc_links_server.mdx b/api_docs/kbn_core_doc_links_server.mdx index e9e5a320ea689..de5892045ce14 100644 --- a/api_docs/kbn_core_doc_links_server.mdx +++ b/api_docs/kbn_core_doc_links_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-doc-links-server title: "@kbn/core-doc-links-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-doc-links-server plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-doc-links-server'] --- import kbnCoreDocLinksServerObj from './kbn_core_doc_links_server.devdocs.json'; diff --git a/api_docs/kbn_core_doc_links_server_mocks.mdx b/api_docs/kbn_core_doc_links_server_mocks.mdx index de605115e1c6e..c3703c48f48f8 100644 --- a/api_docs/kbn_core_doc_links_server_mocks.mdx +++ b/api_docs/kbn_core_doc_links_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-doc-links-server-mocks title: "@kbn/core-doc-links-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-doc-links-server-mocks plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-doc-links-server-mocks'] --- import kbnCoreDocLinksServerMocksObj from './kbn_core_doc_links_server_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_elasticsearch_client_server_internal.mdx b/api_docs/kbn_core_elasticsearch_client_server_internal.mdx index 8e7e0c1f5ebcc..1101e448ea23d 100644 --- a/api_docs/kbn_core_elasticsearch_client_server_internal.mdx +++ b/api_docs/kbn_core_elasticsearch_client_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-elasticsearch-client-server-internal title: "@kbn/core-elasticsearch-client-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-elasticsearch-client-server-internal plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-elasticsearch-client-server-internal'] --- import kbnCoreElasticsearchClientServerInternalObj from './kbn_core_elasticsearch_client_server_internal.devdocs.json'; diff --git a/api_docs/kbn_core_elasticsearch_client_server_mocks.mdx b/api_docs/kbn_core_elasticsearch_client_server_mocks.mdx index 16ffe9ece85fb..67d7fdfa9a586 100644 --- a/api_docs/kbn_core_elasticsearch_client_server_mocks.mdx +++ b/api_docs/kbn_core_elasticsearch_client_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-elasticsearch-client-server-mocks title: "@kbn/core-elasticsearch-client-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-elasticsearch-client-server-mocks plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-elasticsearch-client-server-mocks'] --- import kbnCoreElasticsearchClientServerMocksObj from './kbn_core_elasticsearch_client_server_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_elasticsearch_server.mdx b/api_docs/kbn_core_elasticsearch_server.mdx index ffa0ffebec840..aeff482f51043 100644 --- a/api_docs/kbn_core_elasticsearch_server.mdx +++ b/api_docs/kbn_core_elasticsearch_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-elasticsearch-server title: "@kbn/core-elasticsearch-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-elasticsearch-server plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-elasticsearch-server'] --- import kbnCoreElasticsearchServerObj from './kbn_core_elasticsearch_server.devdocs.json'; diff --git a/api_docs/kbn_core_elasticsearch_server_internal.mdx b/api_docs/kbn_core_elasticsearch_server_internal.mdx index 7e452b797e6f4..866ce99c93f26 100644 --- a/api_docs/kbn_core_elasticsearch_server_internal.mdx +++ b/api_docs/kbn_core_elasticsearch_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-elasticsearch-server-internal title: "@kbn/core-elasticsearch-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-elasticsearch-server-internal plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-elasticsearch-server-internal'] --- import kbnCoreElasticsearchServerInternalObj from './kbn_core_elasticsearch_server_internal.devdocs.json'; diff --git a/api_docs/kbn_core_elasticsearch_server_mocks.mdx b/api_docs/kbn_core_elasticsearch_server_mocks.mdx index 8d589dba1c751..b4e5abe39dde2 100644 --- a/api_docs/kbn_core_elasticsearch_server_mocks.mdx +++ b/api_docs/kbn_core_elasticsearch_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-elasticsearch-server-mocks title: "@kbn/core-elasticsearch-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-elasticsearch-server-mocks plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-elasticsearch-server-mocks'] --- import kbnCoreElasticsearchServerMocksObj from './kbn_core_elasticsearch_server_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_environment_server_internal.mdx b/api_docs/kbn_core_environment_server_internal.mdx index 6bf9521a67110..ecdbcffc5e773 100644 --- a/api_docs/kbn_core_environment_server_internal.mdx +++ b/api_docs/kbn_core_environment_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-environment-server-internal title: "@kbn/core-environment-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-environment-server-internal plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-environment-server-internal'] --- import kbnCoreEnvironmentServerInternalObj from './kbn_core_environment_server_internal.devdocs.json'; diff --git a/api_docs/kbn_core_environment_server_mocks.mdx b/api_docs/kbn_core_environment_server_mocks.mdx index 346b351e6443c..98e23de57282a 100644 --- a/api_docs/kbn_core_environment_server_mocks.mdx +++ b/api_docs/kbn_core_environment_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-environment-server-mocks title: "@kbn/core-environment-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-environment-server-mocks plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-environment-server-mocks'] --- import kbnCoreEnvironmentServerMocksObj from './kbn_core_environment_server_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_execution_context_browser.mdx b/api_docs/kbn_core_execution_context_browser.mdx index 2269cc4a3c6bc..236d3d6bc556c 100644 --- a/api_docs/kbn_core_execution_context_browser.mdx +++ b/api_docs/kbn_core_execution_context_browser.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-execution-context-browser title: "@kbn/core-execution-context-browser" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-execution-context-browser plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-execution-context-browser'] --- import kbnCoreExecutionContextBrowserObj from './kbn_core_execution_context_browser.devdocs.json'; diff --git a/api_docs/kbn_core_execution_context_browser_internal.mdx b/api_docs/kbn_core_execution_context_browser_internal.mdx index 8920e14ce0c86..2cd337fd00d93 100644 --- a/api_docs/kbn_core_execution_context_browser_internal.mdx +++ b/api_docs/kbn_core_execution_context_browser_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-execution-context-browser-internal title: "@kbn/core-execution-context-browser-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-execution-context-browser-internal plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-execution-context-browser-internal'] --- import kbnCoreExecutionContextBrowserInternalObj from './kbn_core_execution_context_browser_internal.devdocs.json'; diff --git a/api_docs/kbn_core_execution_context_browser_mocks.mdx b/api_docs/kbn_core_execution_context_browser_mocks.mdx index 2a21dcf94ac47..22aa0e8058a78 100644 --- a/api_docs/kbn_core_execution_context_browser_mocks.mdx +++ b/api_docs/kbn_core_execution_context_browser_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-execution-context-browser-mocks title: "@kbn/core-execution-context-browser-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-execution-context-browser-mocks plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-execution-context-browser-mocks'] --- import kbnCoreExecutionContextBrowserMocksObj from './kbn_core_execution_context_browser_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_execution_context_common.mdx b/api_docs/kbn_core_execution_context_common.mdx index a42c4b9446b0b..676bf2765962f 100644 --- a/api_docs/kbn_core_execution_context_common.mdx +++ b/api_docs/kbn_core_execution_context_common.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-execution-context-common title: "@kbn/core-execution-context-common" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-execution-context-common plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-execution-context-common'] --- import kbnCoreExecutionContextCommonObj from './kbn_core_execution_context_common.devdocs.json'; diff --git a/api_docs/kbn_core_execution_context_server.mdx b/api_docs/kbn_core_execution_context_server.mdx index 25eaa926e65e3..3183fa2743eea 100644 --- a/api_docs/kbn_core_execution_context_server.mdx +++ b/api_docs/kbn_core_execution_context_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-execution-context-server title: "@kbn/core-execution-context-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-execution-context-server plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-execution-context-server'] --- import kbnCoreExecutionContextServerObj from './kbn_core_execution_context_server.devdocs.json'; diff --git a/api_docs/kbn_core_execution_context_server_internal.mdx b/api_docs/kbn_core_execution_context_server_internal.mdx index 2c9367cf344d6..ef3da3d7cf42e 100644 --- a/api_docs/kbn_core_execution_context_server_internal.mdx +++ b/api_docs/kbn_core_execution_context_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-execution-context-server-internal title: "@kbn/core-execution-context-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-execution-context-server-internal plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-execution-context-server-internal'] --- import kbnCoreExecutionContextServerInternalObj from './kbn_core_execution_context_server_internal.devdocs.json'; diff --git a/api_docs/kbn_core_execution_context_server_mocks.mdx b/api_docs/kbn_core_execution_context_server_mocks.mdx index 5a09fcfe82a16..79af222096c33 100644 --- a/api_docs/kbn_core_execution_context_server_mocks.mdx +++ b/api_docs/kbn_core_execution_context_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-execution-context-server-mocks title: "@kbn/core-execution-context-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-execution-context-server-mocks plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-execution-context-server-mocks'] --- import kbnCoreExecutionContextServerMocksObj from './kbn_core_execution_context_server_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_fatal_errors_browser.mdx b/api_docs/kbn_core_fatal_errors_browser.mdx index e816f3d0f20b8..a567236822738 100644 --- a/api_docs/kbn_core_fatal_errors_browser.mdx +++ b/api_docs/kbn_core_fatal_errors_browser.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-fatal-errors-browser title: "@kbn/core-fatal-errors-browser" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-fatal-errors-browser plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-fatal-errors-browser'] --- import kbnCoreFatalErrorsBrowserObj from './kbn_core_fatal_errors_browser.devdocs.json'; diff --git a/api_docs/kbn_core_fatal_errors_browser_mocks.mdx b/api_docs/kbn_core_fatal_errors_browser_mocks.mdx index 301ad23abcf94..cb5c671766134 100644 --- a/api_docs/kbn_core_fatal_errors_browser_mocks.mdx +++ b/api_docs/kbn_core_fatal_errors_browser_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-fatal-errors-browser-mocks title: "@kbn/core-fatal-errors-browser-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-fatal-errors-browser-mocks plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-fatal-errors-browser-mocks'] --- import kbnCoreFatalErrorsBrowserMocksObj from './kbn_core_fatal_errors_browser_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_http_browser.mdx b/api_docs/kbn_core_http_browser.mdx index e773ec50dd7ed..072accb2cf451 100644 --- a/api_docs/kbn_core_http_browser.mdx +++ b/api_docs/kbn_core_http_browser.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-http-browser title: "@kbn/core-http-browser" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-http-browser plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-http-browser'] --- import kbnCoreHttpBrowserObj from './kbn_core_http_browser.devdocs.json'; diff --git a/api_docs/kbn_core_http_browser_internal.mdx b/api_docs/kbn_core_http_browser_internal.mdx index 55d8ce488c6cf..330b92bb32e1f 100644 --- a/api_docs/kbn_core_http_browser_internal.mdx +++ b/api_docs/kbn_core_http_browser_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-http-browser-internal title: "@kbn/core-http-browser-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-http-browser-internal plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-http-browser-internal'] --- import kbnCoreHttpBrowserInternalObj from './kbn_core_http_browser_internal.devdocs.json'; diff --git a/api_docs/kbn_core_http_browser_mocks.mdx b/api_docs/kbn_core_http_browser_mocks.mdx index f48aed1b112f8..333e3eb3729b7 100644 --- a/api_docs/kbn_core_http_browser_mocks.mdx +++ b/api_docs/kbn_core_http_browser_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-http-browser-mocks title: "@kbn/core-http-browser-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-http-browser-mocks plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-http-browser-mocks'] --- import kbnCoreHttpBrowserMocksObj from './kbn_core_http_browser_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_http_common.mdx b/api_docs/kbn_core_http_common.mdx index b4d6e297439c8..1efeee5864ab8 100644 --- a/api_docs/kbn_core_http_common.mdx +++ b/api_docs/kbn_core_http_common.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-http-common title: "@kbn/core-http-common" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-http-common plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-http-common'] --- import kbnCoreHttpCommonObj from './kbn_core_http_common.devdocs.json'; diff --git a/api_docs/kbn_core_http_context_server_mocks.mdx b/api_docs/kbn_core_http_context_server_mocks.mdx index 3ab3f6e5f8b85..3b43026376e16 100644 --- a/api_docs/kbn_core_http_context_server_mocks.mdx +++ b/api_docs/kbn_core_http_context_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-http-context-server-mocks title: "@kbn/core-http-context-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-http-context-server-mocks plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-http-context-server-mocks'] --- import kbnCoreHttpContextServerMocksObj from './kbn_core_http_context_server_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_http_request_handler_context_server.mdx b/api_docs/kbn_core_http_request_handler_context_server.mdx index 9f4ec5336da2a..9b3394b0e5782 100644 --- a/api_docs/kbn_core_http_request_handler_context_server.mdx +++ b/api_docs/kbn_core_http_request_handler_context_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-http-request-handler-context-server title: "@kbn/core-http-request-handler-context-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-http-request-handler-context-server plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-http-request-handler-context-server'] --- import kbnCoreHttpRequestHandlerContextServerObj from './kbn_core_http_request_handler_context_server.devdocs.json'; diff --git a/api_docs/kbn_core_http_resources_server.mdx b/api_docs/kbn_core_http_resources_server.mdx index 5fb16a5db3feb..d944832ef224c 100644 --- a/api_docs/kbn_core_http_resources_server.mdx +++ b/api_docs/kbn_core_http_resources_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-http-resources-server title: "@kbn/core-http-resources-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-http-resources-server plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-http-resources-server'] --- import kbnCoreHttpResourcesServerObj from './kbn_core_http_resources_server.devdocs.json'; diff --git a/api_docs/kbn_core_http_resources_server_internal.mdx b/api_docs/kbn_core_http_resources_server_internal.mdx index 3f0b2ee725b26..998e3ecb2b596 100644 --- a/api_docs/kbn_core_http_resources_server_internal.mdx +++ b/api_docs/kbn_core_http_resources_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-http-resources-server-internal title: "@kbn/core-http-resources-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-http-resources-server-internal plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-http-resources-server-internal'] --- import kbnCoreHttpResourcesServerInternalObj from './kbn_core_http_resources_server_internal.devdocs.json'; diff --git a/api_docs/kbn_core_http_resources_server_mocks.mdx b/api_docs/kbn_core_http_resources_server_mocks.mdx index 8209027b637c5..c0f6a53bac574 100644 --- a/api_docs/kbn_core_http_resources_server_mocks.mdx +++ b/api_docs/kbn_core_http_resources_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-http-resources-server-mocks title: "@kbn/core-http-resources-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-http-resources-server-mocks plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-http-resources-server-mocks'] --- import kbnCoreHttpResourcesServerMocksObj from './kbn_core_http_resources_server_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_http_router_server_internal.mdx b/api_docs/kbn_core_http_router_server_internal.mdx index bd52b2a2c20c2..fdc1b2a404ebf 100644 --- a/api_docs/kbn_core_http_router_server_internal.mdx +++ b/api_docs/kbn_core_http_router_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-http-router-server-internal title: "@kbn/core-http-router-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-http-router-server-internal plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-http-router-server-internal'] --- import kbnCoreHttpRouterServerInternalObj from './kbn_core_http_router_server_internal.devdocs.json'; diff --git a/api_docs/kbn_core_http_router_server_mocks.mdx b/api_docs/kbn_core_http_router_server_mocks.mdx index 1070cf25cd7b7..7af8ac3b08302 100644 --- a/api_docs/kbn_core_http_router_server_mocks.mdx +++ b/api_docs/kbn_core_http_router_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-http-router-server-mocks title: "@kbn/core-http-router-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-http-router-server-mocks plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-http-router-server-mocks'] --- import kbnCoreHttpRouterServerMocksObj from './kbn_core_http_router_server_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_http_server.mdx b/api_docs/kbn_core_http_server.mdx index 98ac097da48bc..1b979e3c5b3f2 100644 --- a/api_docs/kbn_core_http_server.mdx +++ b/api_docs/kbn_core_http_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-http-server title: "@kbn/core-http-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-http-server plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-http-server'] --- import kbnCoreHttpServerObj from './kbn_core_http_server.devdocs.json'; diff --git a/api_docs/kbn_core_http_server_internal.mdx b/api_docs/kbn_core_http_server_internal.mdx index 1a07f19e7b00c..041638721baa8 100644 --- a/api_docs/kbn_core_http_server_internal.mdx +++ b/api_docs/kbn_core_http_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-http-server-internal title: "@kbn/core-http-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-http-server-internal plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-http-server-internal'] --- import kbnCoreHttpServerInternalObj from './kbn_core_http_server_internal.devdocs.json'; diff --git a/api_docs/kbn_core_http_server_mocks.mdx b/api_docs/kbn_core_http_server_mocks.mdx index 6f69d17963267..f90accc6a4d8c 100644 --- a/api_docs/kbn_core_http_server_mocks.mdx +++ b/api_docs/kbn_core_http_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-http-server-mocks title: "@kbn/core-http-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-http-server-mocks plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-http-server-mocks'] --- import kbnCoreHttpServerMocksObj from './kbn_core_http_server_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_i18n_browser.mdx b/api_docs/kbn_core_i18n_browser.mdx index 00942ed36c695..565e92579e9ab 100644 --- a/api_docs/kbn_core_i18n_browser.mdx +++ b/api_docs/kbn_core_i18n_browser.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-i18n-browser title: "@kbn/core-i18n-browser" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-i18n-browser plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-i18n-browser'] --- import kbnCoreI18nBrowserObj from './kbn_core_i18n_browser.devdocs.json'; diff --git a/api_docs/kbn_core_i18n_browser_mocks.mdx b/api_docs/kbn_core_i18n_browser_mocks.mdx index dd4d286a1fdca..10e05b851ac05 100644 --- a/api_docs/kbn_core_i18n_browser_mocks.mdx +++ b/api_docs/kbn_core_i18n_browser_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-i18n-browser-mocks title: "@kbn/core-i18n-browser-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-i18n-browser-mocks plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-i18n-browser-mocks'] --- import kbnCoreI18nBrowserMocksObj from './kbn_core_i18n_browser_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_i18n_server.mdx b/api_docs/kbn_core_i18n_server.mdx index 4126db9bcea40..4d72ddc9dfc1e 100644 --- a/api_docs/kbn_core_i18n_server.mdx +++ b/api_docs/kbn_core_i18n_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-i18n-server title: "@kbn/core-i18n-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-i18n-server plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-i18n-server'] --- import kbnCoreI18nServerObj from './kbn_core_i18n_server.devdocs.json'; diff --git a/api_docs/kbn_core_i18n_server_internal.mdx b/api_docs/kbn_core_i18n_server_internal.mdx index 33b30fdf74e02..ae00498d2c66f 100644 --- a/api_docs/kbn_core_i18n_server_internal.mdx +++ b/api_docs/kbn_core_i18n_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-i18n-server-internal title: "@kbn/core-i18n-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-i18n-server-internal plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-i18n-server-internal'] --- import kbnCoreI18nServerInternalObj from './kbn_core_i18n_server_internal.devdocs.json'; diff --git a/api_docs/kbn_core_i18n_server_mocks.mdx b/api_docs/kbn_core_i18n_server_mocks.mdx index fbc3b5b30dade..642e521b35781 100644 --- a/api_docs/kbn_core_i18n_server_mocks.mdx +++ b/api_docs/kbn_core_i18n_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-i18n-server-mocks title: "@kbn/core-i18n-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-i18n-server-mocks plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-i18n-server-mocks'] --- import kbnCoreI18nServerMocksObj from './kbn_core_i18n_server_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_injected_metadata_browser_mocks.mdx b/api_docs/kbn_core_injected_metadata_browser_mocks.mdx index 96762dd28deac..b2b6ac1276961 100644 --- a/api_docs/kbn_core_injected_metadata_browser_mocks.mdx +++ b/api_docs/kbn_core_injected_metadata_browser_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-injected-metadata-browser-mocks title: "@kbn/core-injected-metadata-browser-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-injected-metadata-browser-mocks plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-injected-metadata-browser-mocks'] --- import kbnCoreInjectedMetadataBrowserMocksObj from './kbn_core_injected_metadata_browser_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_integrations_browser_internal.mdx b/api_docs/kbn_core_integrations_browser_internal.mdx index b4764b2c34dab..0c5f836906698 100644 --- a/api_docs/kbn_core_integrations_browser_internal.mdx +++ b/api_docs/kbn_core_integrations_browser_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-integrations-browser-internal title: "@kbn/core-integrations-browser-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-integrations-browser-internal plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-integrations-browser-internal'] --- import kbnCoreIntegrationsBrowserInternalObj from './kbn_core_integrations_browser_internal.devdocs.json'; diff --git a/api_docs/kbn_core_integrations_browser_mocks.mdx b/api_docs/kbn_core_integrations_browser_mocks.mdx index 8a928980c372c..0b8ac1349d9ed 100644 --- a/api_docs/kbn_core_integrations_browser_mocks.mdx +++ b/api_docs/kbn_core_integrations_browser_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-integrations-browser-mocks title: "@kbn/core-integrations-browser-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-integrations-browser-mocks plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-integrations-browser-mocks'] --- import kbnCoreIntegrationsBrowserMocksObj from './kbn_core_integrations_browser_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_lifecycle_browser.mdx b/api_docs/kbn_core_lifecycle_browser.mdx index 20abd15126d01..34102a2b4b88c 100644 --- a/api_docs/kbn_core_lifecycle_browser.mdx +++ b/api_docs/kbn_core_lifecycle_browser.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-lifecycle-browser title: "@kbn/core-lifecycle-browser" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-lifecycle-browser plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-lifecycle-browser'] --- import kbnCoreLifecycleBrowserObj from './kbn_core_lifecycle_browser.devdocs.json'; diff --git a/api_docs/kbn_core_lifecycle_browser_mocks.mdx b/api_docs/kbn_core_lifecycle_browser_mocks.mdx index 2ce3195b0a107..5567d2de7814b 100644 --- a/api_docs/kbn_core_lifecycle_browser_mocks.mdx +++ b/api_docs/kbn_core_lifecycle_browser_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-lifecycle-browser-mocks title: "@kbn/core-lifecycle-browser-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-lifecycle-browser-mocks plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-lifecycle-browser-mocks'] --- import kbnCoreLifecycleBrowserMocksObj from './kbn_core_lifecycle_browser_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_lifecycle_server.mdx b/api_docs/kbn_core_lifecycle_server.mdx index b009b9cf5d1bf..9ac808641c90c 100644 --- a/api_docs/kbn_core_lifecycle_server.mdx +++ b/api_docs/kbn_core_lifecycle_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-lifecycle-server title: "@kbn/core-lifecycle-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-lifecycle-server plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-lifecycle-server'] --- import kbnCoreLifecycleServerObj from './kbn_core_lifecycle_server.devdocs.json'; diff --git a/api_docs/kbn_core_lifecycle_server_mocks.mdx b/api_docs/kbn_core_lifecycle_server_mocks.mdx index 88e707120ad45..1470d39bb8f66 100644 --- a/api_docs/kbn_core_lifecycle_server_mocks.mdx +++ b/api_docs/kbn_core_lifecycle_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-lifecycle-server-mocks title: "@kbn/core-lifecycle-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-lifecycle-server-mocks plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-lifecycle-server-mocks'] --- import kbnCoreLifecycleServerMocksObj from './kbn_core_lifecycle_server_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_logging_browser_mocks.mdx b/api_docs/kbn_core_logging_browser_mocks.mdx index 7cff538d30f0d..af1eb990925a4 100644 --- a/api_docs/kbn_core_logging_browser_mocks.mdx +++ b/api_docs/kbn_core_logging_browser_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-logging-browser-mocks title: "@kbn/core-logging-browser-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-logging-browser-mocks plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-logging-browser-mocks'] --- import kbnCoreLoggingBrowserMocksObj from './kbn_core_logging_browser_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_logging_common_internal.mdx b/api_docs/kbn_core_logging_common_internal.mdx index 9a7ec46671976..49b2abaf3a4a4 100644 --- a/api_docs/kbn_core_logging_common_internal.mdx +++ b/api_docs/kbn_core_logging_common_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-logging-common-internal title: "@kbn/core-logging-common-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-logging-common-internal plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-logging-common-internal'] --- import kbnCoreLoggingCommonInternalObj from './kbn_core_logging_common_internal.devdocs.json'; diff --git a/api_docs/kbn_core_logging_server.mdx b/api_docs/kbn_core_logging_server.mdx index cce990a1079a2..ac3270216024e 100644 --- a/api_docs/kbn_core_logging_server.mdx +++ b/api_docs/kbn_core_logging_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-logging-server title: "@kbn/core-logging-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-logging-server plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-logging-server'] --- import kbnCoreLoggingServerObj from './kbn_core_logging_server.devdocs.json'; diff --git a/api_docs/kbn_core_logging_server_internal.mdx b/api_docs/kbn_core_logging_server_internal.mdx index f0981753542cc..f202b36b2f6e5 100644 --- a/api_docs/kbn_core_logging_server_internal.mdx +++ b/api_docs/kbn_core_logging_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-logging-server-internal title: "@kbn/core-logging-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-logging-server-internal plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-logging-server-internal'] --- import kbnCoreLoggingServerInternalObj from './kbn_core_logging_server_internal.devdocs.json'; diff --git a/api_docs/kbn_core_logging_server_mocks.mdx b/api_docs/kbn_core_logging_server_mocks.mdx index d8429c5691b32..9e79e07dde15a 100644 --- a/api_docs/kbn_core_logging_server_mocks.mdx +++ b/api_docs/kbn_core_logging_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-logging-server-mocks title: "@kbn/core-logging-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-logging-server-mocks plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-logging-server-mocks'] --- import kbnCoreLoggingServerMocksObj from './kbn_core_logging_server_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_metrics_collectors_server_internal.mdx b/api_docs/kbn_core_metrics_collectors_server_internal.mdx index 898ba3f3d427c..dd381017f2dc6 100644 --- a/api_docs/kbn_core_metrics_collectors_server_internal.mdx +++ b/api_docs/kbn_core_metrics_collectors_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-metrics-collectors-server-internal title: "@kbn/core-metrics-collectors-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-metrics-collectors-server-internal plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-metrics-collectors-server-internal'] --- import kbnCoreMetricsCollectorsServerInternalObj from './kbn_core_metrics_collectors_server_internal.devdocs.json'; diff --git a/api_docs/kbn_core_metrics_collectors_server_mocks.mdx b/api_docs/kbn_core_metrics_collectors_server_mocks.mdx index c6cc43365f76f..20af81eeb69ab 100644 --- a/api_docs/kbn_core_metrics_collectors_server_mocks.mdx +++ b/api_docs/kbn_core_metrics_collectors_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-metrics-collectors-server-mocks title: "@kbn/core-metrics-collectors-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-metrics-collectors-server-mocks plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-metrics-collectors-server-mocks'] --- import kbnCoreMetricsCollectorsServerMocksObj from './kbn_core_metrics_collectors_server_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_metrics_server.mdx b/api_docs/kbn_core_metrics_server.mdx index c0c83eb013d85..6ea0bbbc392b2 100644 --- a/api_docs/kbn_core_metrics_server.mdx +++ b/api_docs/kbn_core_metrics_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-metrics-server title: "@kbn/core-metrics-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-metrics-server plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-metrics-server'] --- import kbnCoreMetricsServerObj from './kbn_core_metrics_server.devdocs.json'; diff --git a/api_docs/kbn_core_metrics_server_internal.mdx b/api_docs/kbn_core_metrics_server_internal.mdx index 4f8ab3e442875..2ac3390eb76a2 100644 --- a/api_docs/kbn_core_metrics_server_internal.mdx +++ b/api_docs/kbn_core_metrics_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-metrics-server-internal title: "@kbn/core-metrics-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-metrics-server-internal plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-metrics-server-internal'] --- import kbnCoreMetricsServerInternalObj from './kbn_core_metrics_server_internal.devdocs.json'; diff --git a/api_docs/kbn_core_metrics_server_mocks.mdx b/api_docs/kbn_core_metrics_server_mocks.mdx index 8c2f9c398e466..66173b5ab1888 100644 --- a/api_docs/kbn_core_metrics_server_mocks.mdx +++ b/api_docs/kbn_core_metrics_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-metrics-server-mocks title: "@kbn/core-metrics-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-metrics-server-mocks plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-metrics-server-mocks'] --- import kbnCoreMetricsServerMocksObj from './kbn_core_metrics_server_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_mount_utils_browser.mdx b/api_docs/kbn_core_mount_utils_browser.mdx index 2e2cb5c005fa8..ed1add1daaf58 100644 --- a/api_docs/kbn_core_mount_utils_browser.mdx +++ b/api_docs/kbn_core_mount_utils_browser.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-mount-utils-browser title: "@kbn/core-mount-utils-browser" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-mount-utils-browser plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-mount-utils-browser'] --- import kbnCoreMountUtilsBrowserObj from './kbn_core_mount_utils_browser.devdocs.json'; diff --git a/api_docs/kbn_core_node_server.mdx b/api_docs/kbn_core_node_server.mdx index bdb3474bdcb6f..68f50de9f1454 100644 --- a/api_docs/kbn_core_node_server.mdx +++ b/api_docs/kbn_core_node_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-node-server title: "@kbn/core-node-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-node-server plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-node-server'] --- import kbnCoreNodeServerObj from './kbn_core_node_server.devdocs.json'; diff --git a/api_docs/kbn_core_node_server_internal.mdx b/api_docs/kbn_core_node_server_internal.mdx index bec27550fda17..5599d36241dab 100644 --- a/api_docs/kbn_core_node_server_internal.mdx +++ b/api_docs/kbn_core_node_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-node-server-internal title: "@kbn/core-node-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-node-server-internal plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-node-server-internal'] --- import kbnCoreNodeServerInternalObj from './kbn_core_node_server_internal.devdocs.json'; diff --git a/api_docs/kbn_core_node_server_mocks.mdx b/api_docs/kbn_core_node_server_mocks.mdx index 659b677d6ddc0..5e0e6e282eb86 100644 --- a/api_docs/kbn_core_node_server_mocks.mdx +++ b/api_docs/kbn_core_node_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-node-server-mocks title: "@kbn/core-node-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-node-server-mocks plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-node-server-mocks'] --- import kbnCoreNodeServerMocksObj from './kbn_core_node_server_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_notifications_browser.mdx b/api_docs/kbn_core_notifications_browser.mdx index b9e712fac318d..a173bebb190c7 100644 --- a/api_docs/kbn_core_notifications_browser.mdx +++ b/api_docs/kbn_core_notifications_browser.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-notifications-browser title: "@kbn/core-notifications-browser" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-notifications-browser plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-notifications-browser'] --- import kbnCoreNotificationsBrowserObj from './kbn_core_notifications_browser.devdocs.json'; diff --git a/api_docs/kbn_core_notifications_browser_internal.mdx b/api_docs/kbn_core_notifications_browser_internal.mdx index 2c133bbb17afb..1c04b2e3fddba 100644 --- a/api_docs/kbn_core_notifications_browser_internal.mdx +++ b/api_docs/kbn_core_notifications_browser_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-notifications-browser-internal title: "@kbn/core-notifications-browser-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-notifications-browser-internal plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-notifications-browser-internal'] --- import kbnCoreNotificationsBrowserInternalObj from './kbn_core_notifications_browser_internal.devdocs.json'; diff --git a/api_docs/kbn_core_notifications_browser_mocks.mdx b/api_docs/kbn_core_notifications_browser_mocks.mdx index 10970d9a43021..c394f139e5e9e 100644 --- a/api_docs/kbn_core_notifications_browser_mocks.mdx +++ b/api_docs/kbn_core_notifications_browser_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-notifications-browser-mocks title: "@kbn/core-notifications-browser-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-notifications-browser-mocks plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-notifications-browser-mocks'] --- import kbnCoreNotificationsBrowserMocksObj from './kbn_core_notifications_browser_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_overlays_browser.mdx b/api_docs/kbn_core_overlays_browser.mdx index f893ab5572064..7cc3ef83e5a47 100644 --- a/api_docs/kbn_core_overlays_browser.mdx +++ b/api_docs/kbn_core_overlays_browser.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-overlays-browser title: "@kbn/core-overlays-browser" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-overlays-browser plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-overlays-browser'] --- import kbnCoreOverlaysBrowserObj from './kbn_core_overlays_browser.devdocs.json'; diff --git a/api_docs/kbn_core_overlays_browser_internal.mdx b/api_docs/kbn_core_overlays_browser_internal.mdx index 93db65b2c9b4a..7a71ad8e1cf7e 100644 --- a/api_docs/kbn_core_overlays_browser_internal.mdx +++ b/api_docs/kbn_core_overlays_browser_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-overlays-browser-internal title: "@kbn/core-overlays-browser-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-overlays-browser-internal plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-overlays-browser-internal'] --- import kbnCoreOverlaysBrowserInternalObj from './kbn_core_overlays_browser_internal.devdocs.json'; diff --git a/api_docs/kbn_core_overlays_browser_mocks.mdx b/api_docs/kbn_core_overlays_browser_mocks.mdx index 7a1fad2938ba8..20caec205a34a 100644 --- a/api_docs/kbn_core_overlays_browser_mocks.mdx +++ b/api_docs/kbn_core_overlays_browser_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-overlays-browser-mocks title: "@kbn/core-overlays-browser-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-overlays-browser-mocks plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-overlays-browser-mocks'] --- import kbnCoreOverlaysBrowserMocksObj from './kbn_core_overlays_browser_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_plugins_browser.mdx b/api_docs/kbn_core_plugins_browser.mdx index ac1138fcf705b..c3d9c7f07f523 100644 --- a/api_docs/kbn_core_plugins_browser.mdx +++ b/api_docs/kbn_core_plugins_browser.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-plugins-browser title: "@kbn/core-plugins-browser" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-plugins-browser plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-plugins-browser'] --- import kbnCorePluginsBrowserObj from './kbn_core_plugins_browser.devdocs.json'; diff --git a/api_docs/kbn_core_plugins_browser_mocks.mdx b/api_docs/kbn_core_plugins_browser_mocks.mdx index f22867e7e07c6..ec62a319db3d5 100644 --- a/api_docs/kbn_core_plugins_browser_mocks.mdx +++ b/api_docs/kbn_core_plugins_browser_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-plugins-browser-mocks title: "@kbn/core-plugins-browser-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-plugins-browser-mocks plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-plugins-browser-mocks'] --- import kbnCorePluginsBrowserMocksObj from './kbn_core_plugins_browser_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_plugins_server.mdx b/api_docs/kbn_core_plugins_server.mdx index ef612cf47efe5..750479149fed7 100644 --- a/api_docs/kbn_core_plugins_server.mdx +++ b/api_docs/kbn_core_plugins_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-plugins-server title: "@kbn/core-plugins-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-plugins-server plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-plugins-server'] --- import kbnCorePluginsServerObj from './kbn_core_plugins_server.devdocs.json'; diff --git a/api_docs/kbn_core_plugins_server_mocks.mdx b/api_docs/kbn_core_plugins_server_mocks.mdx index 29db180a3ac3b..7d49520aa896d 100644 --- a/api_docs/kbn_core_plugins_server_mocks.mdx +++ b/api_docs/kbn_core_plugins_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-plugins-server-mocks title: "@kbn/core-plugins-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-plugins-server-mocks plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-plugins-server-mocks'] --- import kbnCorePluginsServerMocksObj from './kbn_core_plugins_server_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_preboot_server.mdx b/api_docs/kbn_core_preboot_server.mdx index f50059deab3da..50717f04ad56b 100644 --- a/api_docs/kbn_core_preboot_server.mdx +++ b/api_docs/kbn_core_preboot_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-preboot-server title: "@kbn/core-preboot-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-preboot-server plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-preboot-server'] --- import kbnCorePrebootServerObj from './kbn_core_preboot_server.devdocs.json'; diff --git a/api_docs/kbn_core_preboot_server_mocks.mdx b/api_docs/kbn_core_preboot_server_mocks.mdx index da3662a1b1964..533569ce1c36a 100644 --- a/api_docs/kbn_core_preboot_server_mocks.mdx +++ b/api_docs/kbn_core_preboot_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-preboot-server-mocks title: "@kbn/core-preboot-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-preboot-server-mocks plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-preboot-server-mocks'] --- import kbnCorePrebootServerMocksObj from './kbn_core_preboot_server_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_rendering_browser_mocks.mdx b/api_docs/kbn_core_rendering_browser_mocks.mdx index 4712aec9a1424..2bc14e07b216c 100644 --- a/api_docs/kbn_core_rendering_browser_mocks.mdx +++ b/api_docs/kbn_core_rendering_browser_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-rendering-browser-mocks title: "@kbn/core-rendering-browser-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-rendering-browser-mocks plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-rendering-browser-mocks'] --- import kbnCoreRenderingBrowserMocksObj from './kbn_core_rendering_browser_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_rendering_server_internal.mdx b/api_docs/kbn_core_rendering_server_internal.mdx index f62fc322c6ebc..e4e16364bd9d7 100644 --- a/api_docs/kbn_core_rendering_server_internal.mdx +++ b/api_docs/kbn_core_rendering_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-rendering-server-internal title: "@kbn/core-rendering-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-rendering-server-internal plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-rendering-server-internal'] --- import kbnCoreRenderingServerInternalObj from './kbn_core_rendering_server_internal.devdocs.json'; diff --git a/api_docs/kbn_core_rendering_server_mocks.mdx b/api_docs/kbn_core_rendering_server_mocks.mdx index d7cd5c148f213..540371de2e74b 100644 --- a/api_docs/kbn_core_rendering_server_mocks.mdx +++ b/api_docs/kbn_core_rendering_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-rendering-server-mocks title: "@kbn/core-rendering-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-rendering-server-mocks plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-rendering-server-mocks'] --- import kbnCoreRenderingServerMocksObj from './kbn_core_rendering_server_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_root_server_internal.mdx b/api_docs/kbn_core_root_server_internal.mdx index f8e01613ec954..40a4cf22ded1e 100644 --- a/api_docs/kbn_core_root_server_internal.mdx +++ b/api_docs/kbn_core_root_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-root-server-internal title: "@kbn/core-root-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-root-server-internal plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-root-server-internal'] --- import kbnCoreRootServerInternalObj from './kbn_core_root_server_internal.devdocs.json'; diff --git a/api_docs/kbn_core_saved_objects_api_browser.devdocs.json b/api_docs/kbn_core_saved_objects_api_browser.devdocs.json index cb7c6b8810907..cc9449f2b9824 100644 --- a/api_docs/kbn_core_saved_objects_api_browser.devdocs.json +++ b/api_docs/kbn_core_saved_objects_api_browser.devdocs.json @@ -2995,18 +2995,6 @@ "plugin": "savedObjects", "path": "src/plugins/saved_objects/public/saved_object/helpers/find_object_by_title.ts" }, - { - "plugin": "embeddable", - "path": "src/plugins/embeddable/public/lib/panel/panel_header/panel_actions/add_panel/add_panel_flyout.tsx" - }, - { - "plugin": "embeddable", - "path": "src/plugins/embeddable/public/lib/panel/panel_header/panel_actions/add_panel/add_panel_flyout.tsx" - }, - { - "plugin": "embeddable", - "path": "src/plugins/embeddable/public/lib/panel/panel_header/panel_actions/add_panel/add_panel_flyout.tsx" - }, { "plugin": "presentationUtil", "path": "src/plugins/presentation_util/public/services/dashboards/types.ts" diff --git a/api_docs/kbn_core_saved_objects_api_browser.mdx b/api_docs/kbn_core_saved_objects_api_browser.mdx index a55253023997f..abf9d8b066fef 100644 --- a/api_docs/kbn_core_saved_objects_api_browser.mdx +++ b/api_docs/kbn_core_saved_objects_api_browser.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-saved-objects-api-browser title: "@kbn/core-saved-objects-api-browser" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-saved-objects-api-browser plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-saved-objects-api-browser'] --- import kbnCoreSavedObjectsApiBrowserObj from './kbn_core_saved_objects_api_browser.devdocs.json'; diff --git a/api_docs/kbn_core_saved_objects_api_server.mdx b/api_docs/kbn_core_saved_objects_api_server.mdx index eef6d06f5d053..445570339188b 100644 --- a/api_docs/kbn_core_saved_objects_api_server.mdx +++ b/api_docs/kbn_core_saved_objects_api_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-saved-objects-api-server title: "@kbn/core-saved-objects-api-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-saved-objects-api-server plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-saved-objects-api-server'] --- import kbnCoreSavedObjectsApiServerObj from './kbn_core_saved_objects_api_server.devdocs.json'; diff --git a/api_docs/kbn_core_saved_objects_api_server_mocks.mdx b/api_docs/kbn_core_saved_objects_api_server_mocks.mdx index fbaf385549d4a..c7b362b597c44 100644 --- a/api_docs/kbn_core_saved_objects_api_server_mocks.mdx +++ b/api_docs/kbn_core_saved_objects_api_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-saved-objects-api-server-mocks title: "@kbn/core-saved-objects-api-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-saved-objects-api-server-mocks plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-saved-objects-api-server-mocks'] --- import kbnCoreSavedObjectsApiServerMocksObj from './kbn_core_saved_objects_api_server_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_saved_objects_base_server_internal.mdx b/api_docs/kbn_core_saved_objects_base_server_internal.mdx index 6d0e57b7d34ee..8a2c5301568b9 100644 --- a/api_docs/kbn_core_saved_objects_base_server_internal.mdx +++ b/api_docs/kbn_core_saved_objects_base_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-saved-objects-base-server-internal title: "@kbn/core-saved-objects-base-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-saved-objects-base-server-internal plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-saved-objects-base-server-internal'] --- import kbnCoreSavedObjectsBaseServerInternalObj from './kbn_core_saved_objects_base_server_internal.devdocs.json'; diff --git a/api_docs/kbn_core_saved_objects_base_server_mocks.mdx b/api_docs/kbn_core_saved_objects_base_server_mocks.mdx index 61a5a70181257..4e3975b725d58 100644 --- a/api_docs/kbn_core_saved_objects_base_server_mocks.mdx +++ b/api_docs/kbn_core_saved_objects_base_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-saved-objects-base-server-mocks title: "@kbn/core-saved-objects-base-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-saved-objects-base-server-mocks plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-saved-objects-base-server-mocks'] --- import kbnCoreSavedObjectsBaseServerMocksObj from './kbn_core_saved_objects_base_server_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_saved_objects_browser.mdx b/api_docs/kbn_core_saved_objects_browser.mdx index 1a6fe6ab7bc78..e49b46e9aeae0 100644 --- a/api_docs/kbn_core_saved_objects_browser.mdx +++ b/api_docs/kbn_core_saved_objects_browser.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-saved-objects-browser title: "@kbn/core-saved-objects-browser" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-saved-objects-browser plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-saved-objects-browser'] --- import kbnCoreSavedObjectsBrowserObj from './kbn_core_saved_objects_browser.devdocs.json'; diff --git a/api_docs/kbn_core_saved_objects_browser_internal.mdx b/api_docs/kbn_core_saved_objects_browser_internal.mdx index 6bbb00fa14cf3..dff0b99762170 100644 --- a/api_docs/kbn_core_saved_objects_browser_internal.mdx +++ b/api_docs/kbn_core_saved_objects_browser_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-saved-objects-browser-internal title: "@kbn/core-saved-objects-browser-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-saved-objects-browser-internal plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-saved-objects-browser-internal'] --- import kbnCoreSavedObjectsBrowserInternalObj from './kbn_core_saved_objects_browser_internal.devdocs.json'; diff --git a/api_docs/kbn_core_saved_objects_browser_mocks.mdx b/api_docs/kbn_core_saved_objects_browser_mocks.mdx index 17085a496be38..20e4c4a88df88 100644 --- a/api_docs/kbn_core_saved_objects_browser_mocks.mdx +++ b/api_docs/kbn_core_saved_objects_browser_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-saved-objects-browser-mocks title: "@kbn/core-saved-objects-browser-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-saved-objects-browser-mocks plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-saved-objects-browser-mocks'] --- import kbnCoreSavedObjectsBrowserMocksObj from './kbn_core_saved_objects_browser_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_saved_objects_common.devdocs.json b/api_docs/kbn_core_saved_objects_common.devdocs.json index 8eba223b71c72..df94083947f81 100644 --- a/api_docs/kbn_core_saved_objects_common.devdocs.json +++ b/api_docs/kbn_core_saved_objects_common.devdocs.json @@ -1639,18 +1639,6 @@ "plugin": "savedObjects", "path": "src/plugins/saved_objects/public/saved_object/helpers/save_with_confirmation.ts" }, - { - "plugin": "embeddable", - "path": "src/plugins/embeddable/public/lib/panel/panel_header/panel_actions/add_panel/add_panel_flyout.tsx" - }, - { - "plugin": "embeddable", - "path": "src/plugins/embeddable/public/lib/panel/panel_header/panel_actions/add_panel/add_panel_flyout.tsx" - }, - { - "plugin": "embeddable", - "path": "src/plugins/embeddable/public/lib/panel/panel_header/panel_actions/add_panel/add_panel_flyout.tsx" - }, { "plugin": "embeddable", "path": "src/plugins/embeddable/public/lib/embeddables/default_embeddable_factory_provider.ts" diff --git a/api_docs/kbn_core_saved_objects_common.mdx b/api_docs/kbn_core_saved_objects_common.mdx index d879a0ce9f9ce..acbf27dd2bee6 100644 --- a/api_docs/kbn_core_saved_objects_common.mdx +++ b/api_docs/kbn_core_saved_objects_common.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-saved-objects-common title: "@kbn/core-saved-objects-common" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-saved-objects-common plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-saved-objects-common'] --- import kbnCoreSavedObjectsCommonObj from './kbn_core_saved_objects_common.devdocs.json'; diff --git a/api_docs/kbn_core_saved_objects_import_export_server_internal.mdx b/api_docs/kbn_core_saved_objects_import_export_server_internal.mdx index 88ffe5d00126d..8c955dd881ae4 100644 --- a/api_docs/kbn_core_saved_objects_import_export_server_internal.mdx +++ b/api_docs/kbn_core_saved_objects_import_export_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-saved-objects-import-export-server-internal title: "@kbn/core-saved-objects-import-export-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-saved-objects-import-export-server-internal plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-saved-objects-import-export-server-internal'] --- import kbnCoreSavedObjectsImportExportServerInternalObj from './kbn_core_saved_objects_import_export_server_internal.devdocs.json'; diff --git a/api_docs/kbn_core_saved_objects_import_export_server_mocks.mdx b/api_docs/kbn_core_saved_objects_import_export_server_mocks.mdx index 28a3090ea2dd0..03408e52687c9 100644 --- a/api_docs/kbn_core_saved_objects_import_export_server_mocks.mdx +++ b/api_docs/kbn_core_saved_objects_import_export_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-saved-objects-import-export-server-mocks title: "@kbn/core-saved-objects-import-export-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-saved-objects-import-export-server-mocks plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-saved-objects-import-export-server-mocks'] --- import kbnCoreSavedObjectsImportExportServerMocksObj from './kbn_core_saved_objects_import_export_server_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_saved_objects_migration_server_internal.mdx b/api_docs/kbn_core_saved_objects_migration_server_internal.mdx index df05680a06c61..5ec61e50855ea 100644 --- a/api_docs/kbn_core_saved_objects_migration_server_internal.mdx +++ b/api_docs/kbn_core_saved_objects_migration_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-saved-objects-migration-server-internal title: "@kbn/core-saved-objects-migration-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-saved-objects-migration-server-internal plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-saved-objects-migration-server-internal'] --- import kbnCoreSavedObjectsMigrationServerInternalObj from './kbn_core_saved_objects_migration_server_internal.devdocs.json'; diff --git a/api_docs/kbn_core_saved_objects_migration_server_mocks.mdx b/api_docs/kbn_core_saved_objects_migration_server_mocks.mdx index 52061cb1ba7fc..b3315dacc6801 100644 --- a/api_docs/kbn_core_saved_objects_migration_server_mocks.mdx +++ b/api_docs/kbn_core_saved_objects_migration_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-saved-objects-migration-server-mocks title: "@kbn/core-saved-objects-migration-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-saved-objects-migration-server-mocks plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-saved-objects-migration-server-mocks'] --- import kbnCoreSavedObjectsMigrationServerMocksObj from './kbn_core_saved_objects_migration_server_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_saved_objects_server.mdx b/api_docs/kbn_core_saved_objects_server.mdx index d240c4d518236..88a78f577891d 100644 --- a/api_docs/kbn_core_saved_objects_server.mdx +++ b/api_docs/kbn_core_saved_objects_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-saved-objects-server title: "@kbn/core-saved-objects-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-saved-objects-server plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-saved-objects-server'] --- import kbnCoreSavedObjectsServerObj from './kbn_core_saved_objects_server.devdocs.json'; diff --git a/api_docs/kbn_core_saved_objects_server_internal.mdx b/api_docs/kbn_core_saved_objects_server_internal.mdx index 4ecba83c7b311..8514a50b4d946 100644 --- a/api_docs/kbn_core_saved_objects_server_internal.mdx +++ b/api_docs/kbn_core_saved_objects_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-saved-objects-server-internal title: "@kbn/core-saved-objects-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-saved-objects-server-internal plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-saved-objects-server-internal'] --- import kbnCoreSavedObjectsServerInternalObj from './kbn_core_saved_objects_server_internal.devdocs.json'; diff --git a/api_docs/kbn_core_saved_objects_server_mocks.mdx b/api_docs/kbn_core_saved_objects_server_mocks.mdx index 93d44ee83d0f9..63dd9fac0c554 100644 --- a/api_docs/kbn_core_saved_objects_server_mocks.mdx +++ b/api_docs/kbn_core_saved_objects_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-saved-objects-server-mocks title: "@kbn/core-saved-objects-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-saved-objects-server-mocks plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-saved-objects-server-mocks'] --- import kbnCoreSavedObjectsServerMocksObj from './kbn_core_saved_objects_server_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_saved_objects_utils_server.mdx b/api_docs/kbn_core_saved_objects_utils_server.mdx index f378d0af85f9a..c4ee5b42b247b 100644 --- a/api_docs/kbn_core_saved_objects_utils_server.mdx +++ b/api_docs/kbn_core_saved_objects_utils_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-saved-objects-utils-server title: "@kbn/core-saved-objects-utils-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-saved-objects-utils-server plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-saved-objects-utils-server'] --- import kbnCoreSavedObjectsUtilsServerObj from './kbn_core_saved_objects_utils_server.devdocs.json'; diff --git a/api_docs/kbn_core_status_common.mdx b/api_docs/kbn_core_status_common.mdx index 032207c6ba738..cc2546ee00b6e 100644 --- a/api_docs/kbn_core_status_common.mdx +++ b/api_docs/kbn_core_status_common.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-status-common title: "@kbn/core-status-common" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-status-common plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-status-common'] --- import kbnCoreStatusCommonObj from './kbn_core_status_common.devdocs.json'; diff --git a/api_docs/kbn_core_status_common_internal.mdx b/api_docs/kbn_core_status_common_internal.mdx index 5f67513be11b8..3043175953dfd 100644 --- a/api_docs/kbn_core_status_common_internal.mdx +++ b/api_docs/kbn_core_status_common_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-status-common-internal title: "@kbn/core-status-common-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-status-common-internal plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-status-common-internal'] --- import kbnCoreStatusCommonInternalObj from './kbn_core_status_common_internal.devdocs.json'; diff --git a/api_docs/kbn_core_status_server.mdx b/api_docs/kbn_core_status_server.mdx index a7cd02f0fb79b..ac3f6cd3cde00 100644 --- a/api_docs/kbn_core_status_server.mdx +++ b/api_docs/kbn_core_status_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-status-server title: "@kbn/core-status-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-status-server plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-status-server'] --- import kbnCoreStatusServerObj from './kbn_core_status_server.devdocs.json'; diff --git a/api_docs/kbn_core_status_server_internal.mdx b/api_docs/kbn_core_status_server_internal.mdx index 239d06b8dc8f0..c97ee6c6e3901 100644 --- a/api_docs/kbn_core_status_server_internal.mdx +++ b/api_docs/kbn_core_status_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-status-server-internal title: "@kbn/core-status-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-status-server-internal plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-status-server-internal'] --- import kbnCoreStatusServerInternalObj from './kbn_core_status_server_internal.devdocs.json'; diff --git a/api_docs/kbn_core_status_server_mocks.mdx b/api_docs/kbn_core_status_server_mocks.mdx index dd126d50dab45..18101fbdc4c6a 100644 --- a/api_docs/kbn_core_status_server_mocks.mdx +++ b/api_docs/kbn_core_status_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-status-server-mocks title: "@kbn/core-status-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-status-server-mocks plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-status-server-mocks'] --- import kbnCoreStatusServerMocksObj from './kbn_core_status_server_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_test_helpers_deprecations_getters.mdx b/api_docs/kbn_core_test_helpers_deprecations_getters.mdx index 21261877eb733..3a56072e09cfd 100644 --- a/api_docs/kbn_core_test_helpers_deprecations_getters.mdx +++ b/api_docs/kbn_core_test_helpers_deprecations_getters.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-test-helpers-deprecations-getters title: "@kbn/core-test-helpers-deprecations-getters" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-test-helpers-deprecations-getters plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-test-helpers-deprecations-getters'] --- import kbnCoreTestHelpersDeprecationsGettersObj from './kbn_core_test_helpers_deprecations_getters.devdocs.json'; diff --git a/api_docs/kbn_core_test_helpers_http_setup_browser.mdx b/api_docs/kbn_core_test_helpers_http_setup_browser.mdx index 81ae165df9d09..62b15f048f46e 100644 --- a/api_docs/kbn_core_test_helpers_http_setup_browser.mdx +++ b/api_docs/kbn_core_test_helpers_http_setup_browser.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-test-helpers-http-setup-browser title: "@kbn/core-test-helpers-http-setup-browser" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-test-helpers-http-setup-browser plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-test-helpers-http-setup-browser'] --- import kbnCoreTestHelpersHttpSetupBrowserObj from './kbn_core_test_helpers_http_setup_browser.devdocs.json'; diff --git a/api_docs/kbn_core_test_helpers_kbn_server.mdx b/api_docs/kbn_core_test_helpers_kbn_server.mdx index c8a327b24acba..4de09c81c2467 100644 --- a/api_docs/kbn_core_test_helpers_kbn_server.mdx +++ b/api_docs/kbn_core_test_helpers_kbn_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-test-helpers-kbn-server title: "@kbn/core-test-helpers-kbn-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-test-helpers-kbn-server plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-test-helpers-kbn-server'] --- import kbnCoreTestHelpersKbnServerObj from './kbn_core_test_helpers_kbn_server.devdocs.json'; diff --git a/api_docs/kbn_core_test_helpers_so_type_serializer.mdx b/api_docs/kbn_core_test_helpers_so_type_serializer.mdx index e650808dd254f..50658c724fe44 100644 --- a/api_docs/kbn_core_test_helpers_so_type_serializer.mdx +++ b/api_docs/kbn_core_test_helpers_so_type_serializer.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-test-helpers-so-type-serializer title: "@kbn/core-test-helpers-so-type-serializer" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-test-helpers-so-type-serializer plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-test-helpers-so-type-serializer'] --- import kbnCoreTestHelpersSoTypeSerializerObj from './kbn_core_test_helpers_so_type_serializer.devdocs.json'; diff --git a/api_docs/kbn_core_test_helpers_test_utils.mdx b/api_docs/kbn_core_test_helpers_test_utils.mdx index bd4c92232b13b..d99e35c6b25d7 100644 --- a/api_docs/kbn_core_test_helpers_test_utils.mdx +++ b/api_docs/kbn_core_test_helpers_test_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-test-helpers-test-utils title: "@kbn/core-test-helpers-test-utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-test-helpers-test-utils plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-test-helpers-test-utils'] --- import kbnCoreTestHelpersTestUtilsObj from './kbn_core_test_helpers_test_utils.devdocs.json'; diff --git a/api_docs/kbn_core_theme_browser.mdx b/api_docs/kbn_core_theme_browser.mdx index dd52dcefd5f59..4d87680e023e0 100644 --- a/api_docs/kbn_core_theme_browser.mdx +++ b/api_docs/kbn_core_theme_browser.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-theme-browser title: "@kbn/core-theme-browser" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-theme-browser plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-theme-browser'] --- import kbnCoreThemeBrowserObj from './kbn_core_theme_browser.devdocs.json'; diff --git a/api_docs/kbn_core_theme_browser_internal.mdx b/api_docs/kbn_core_theme_browser_internal.mdx index 7698e25e66487..65bcf6fa2c6d8 100644 --- a/api_docs/kbn_core_theme_browser_internal.mdx +++ b/api_docs/kbn_core_theme_browser_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-theme-browser-internal title: "@kbn/core-theme-browser-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-theme-browser-internal plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-theme-browser-internal'] --- import kbnCoreThemeBrowserInternalObj from './kbn_core_theme_browser_internal.devdocs.json'; diff --git a/api_docs/kbn_core_theme_browser_mocks.mdx b/api_docs/kbn_core_theme_browser_mocks.mdx index f56614805f6b8..51b1e05bae400 100644 --- a/api_docs/kbn_core_theme_browser_mocks.mdx +++ b/api_docs/kbn_core_theme_browser_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-theme-browser-mocks title: "@kbn/core-theme-browser-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-theme-browser-mocks plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-theme-browser-mocks'] --- import kbnCoreThemeBrowserMocksObj from './kbn_core_theme_browser_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_ui_settings_browser.mdx b/api_docs/kbn_core_ui_settings_browser.mdx index 47d2eea7a3505..16cd20f3f0c52 100644 --- a/api_docs/kbn_core_ui_settings_browser.mdx +++ b/api_docs/kbn_core_ui_settings_browser.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-ui-settings-browser title: "@kbn/core-ui-settings-browser" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-ui-settings-browser plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-ui-settings-browser'] --- import kbnCoreUiSettingsBrowserObj from './kbn_core_ui_settings_browser.devdocs.json'; diff --git a/api_docs/kbn_core_ui_settings_browser_internal.mdx b/api_docs/kbn_core_ui_settings_browser_internal.mdx index 86f2728f42ca9..a8de5e5d5fcef 100644 --- a/api_docs/kbn_core_ui_settings_browser_internal.mdx +++ b/api_docs/kbn_core_ui_settings_browser_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-ui-settings-browser-internal title: "@kbn/core-ui-settings-browser-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-ui-settings-browser-internal plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-ui-settings-browser-internal'] --- import kbnCoreUiSettingsBrowserInternalObj from './kbn_core_ui_settings_browser_internal.devdocs.json'; diff --git a/api_docs/kbn_core_ui_settings_browser_mocks.mdx b/api_docs/kbn_core_ui_settings_browser_mocks.mdx index 0003bb42d0c0f..5c6ba1704dbfb 100644 --- a/api_docs/kbn_core_ui_settings_browser_mocks.mdx +++ b/api_docs/kbn_core_ui_settings_browser_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-ui-settings-browser-mocks title: "@kbn/core-ui-settings-browser-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-ui-settings-browser-mocks plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-ui-settings-browser-mocks'] --- import kbnCoreUiSettingsBrowserMocksObj from './kbn_core_ui_settings_browser_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_ui_settings_common.mdx b/api_docs/kbn_core_ui_settings_common.mdx index c1662dfd9176c..ec4c340a14cf6 100644 --- a/api_docs/kbn_core_ui_settings_common.mdx +++ b/api_docs/kbn_core_ui_settings_common.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-ui-settings-common title: "@kbn/core-ui-settings-common" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-ui-settings-common plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-ui-settings-common'] --- import kbnCoreUiSettingsCommonObj from './kbn_core_ui_settings_common.devdocs.json'; diff --git a/api_docs/kbn_core_ui_settings_server.mdx b/api_docs/kbn_core_ui_settings_server.mdx index fceeb61ec4314..8175442173cb9 100644 --- a/api_docs/kbn_core_ui_settings_server.mdx +++ b/api_docs/kbn_core_ui_settings_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-ui-settings-server title: "@kbn/core-ui-settings-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-ui-settings-server plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-ui-settings-server'] --- import kbnCoreUiSettingsServerObj from './kbn_core_ui_settings_server.devdocs.json'; diff --git a/api_docs/kbn_core_ui_settings_server_internal.mdx b/api_docs/kbn_core_ui_settings_server_internal.mdx index fad44ec556f39..22fa49b318d90 100644 --- a/api_docs/kbn_core_ui_settings_server_internal.mdx +++ b/api_docs/kbn_core_ui_settings_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-ui-settings-server-internal title: "@kbn/core-ui-settings-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-ui-settings-server-internal plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-ui-settings-server-internal'] --- import kbnCoreUiSettingsServerInternalObj from './kbn_core_ui_settings_server_internal.devdocs.json'; diff --git a/api_docs/kbn_core_ui_settings_server_mocks.mdx b/api_docs/kbn_core_ui_settings_server_mocks.mdx index c63b39862b2bc..373b288cc72fa 100644 --- a/api_docs/kbn_core_ui_settings_server_mocks.mdx +++ b/api_docs/kbn_core_ui_settings_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-ui-settings-server-mocks title: "@kbn/core-ui-settings-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-ui-settings-server-mocks plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-ui-settings-server-mocks'] --- import kbnCoreUiSettingsServerMocksObj from './kbn_core_ui_settings_server_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_usage_data_server.mdx b/api_docs/kbn_core_usage_data_server.mdx index f6857f2173def..2c59177c7b21d 100644 --- a/api_docs/kbn_core_usage_data_server.mdx +++ b/api_docs/kbn_core_usage_data_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-usage-data-server title: "@kbn/core-usage-data-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-usage-data-server plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-usage-data-server'] --- import kbnCoreUsageDataServerObj from './kbn_core_usage_data_server.devdocs.json'; diff --git a/api_docs/kbn_core_usage_data_server_internal.mdx b/api_docs/kbn_core_usage_data_server_internal.mdx index bde332eda35c3..d96001e8d4eaa 100644 --- a/api_docs/kbn_core_usage_data_server_internal.mdx +++ b/api_docs/kbn_core_usage_data_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-usage-data-server-internal title: "@kbn/core-usage-data-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-usage-data-server-internal plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-usage-data-server-internal'] --- import kbnCoreUsageDataServerInternalObj from './kbn_core_usage_data_server_internal.devdocs.json'; diff --git a/api_docs/kbn_core_usage_data_server_mocks.mdx b/api_docs/kbn_core_usage_data_server_mocks.mdx index 4b1eb04343345..0fb8c70cd8d9f 100644 --- a/api_docs/kbn_core_usage_data_server_mocks.mdx +++ b/api_docs/kbn_core_usage_data_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-usage-data-server-mocks title: "@kbn/core-usage-data-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-usage-data-server-mocks plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-usage-data-server-mocks'] --- import kbnCoreUsageDataServerMocksObj from './kbn_core_usage_data_server_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_user_settings_server.mdx b/api_docs/kbn_core_user_settings_server.mdx index e0c4e5eb6459a..238ae61a501b0 100644 --- a/api_docs/kbn_core_user_settings_server.mdx +++ b/api_docs/kbn_core_user_settings_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-user-settings-server title: "@kbn/core-user-settings-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-user-settings-server plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-user-settings-server'] --- import kbnCoreUserSettingsServerObj from './kbn_core_user_settings_server.devdocs.json'; diff --git a/api_docs/kbn_core_user_settings_server_internal.mdx b/api_docs/kbn_core_user_settings_server_internal.mdx index baeba82559ed6..c00c5fbd8cf13 100644 --- a/api_docs/kbn_core_user_settings_server_internal.mdx +++ b/api_docs/kbn_core_user_settings_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-user-settings-server-internal title: "@kbn/core-user-settings-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-user-settings-server-internal plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-user-settings-server-internal'] --- import kbnCoreUserSettingsServerInternalObj from './kbn_core_user_settings_server_internal.devdocs.json'; diff --git a/api_docs/kbn_core_user_settings_server_mocks.mdx b/api_docs/kbn_core_user_settings_server_mocks.mdx index 73290d93e1f56..8c31623fabfff 100644 --- a/api_docs/kbn_core_user_settings_server_mocks.mdx +++ b/api_docs/kbn_core_user_settings_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-user-settings-server-mocks title: "@kbn/core-user-settings-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-user-settings-server-mocks plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-user-settings-server-mocks'] --- import kbnCoreUserSettingsServerMocksObj from './kbn_core_user_settings_server_mocks.devdocs.json'; diff --git a/api_docs/kbn_crypto.mdx b/api_docs/kbn_crypto.mdx index cd0c2176c4388..b0a1de5b5af59 100644 --- a/api_docs/kbn_crypto.mdx +++ b/api_docs/kbn_crypto.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-crypto title: "@kbn/crypto" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/crypto plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/crypto'] --- import kbnCryptoObj from './kbn_crypto.devdocs.json'; diff --git a/api_docs/kbn_crypto_browser.mdx b/api_docs/kbn_crypto_browser.mdx index 23e1799a1d2cb..8aec175e147d0 100644 --- a/api_docs/kbn_crypto_browser.mdx +++ b/api_docs/kbn_crypto_browser.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-crypto-browser title: "@kbn/crypto-browser" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/crypto-browser plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/crypto-browser'] --- import kbnCryptoBrowserObj from './kbn_crypto_browser.devdocs.json'; diff --git a/api_docs/kbn_cypress_config.mdx b/api_docs/kbn_cypress_config.mdx index b32b37ffbeddd..fdfe2b09019e0 100644 --- a/api_docs/kbn_cypress_config.mdx +++ b/api_docs/kbn_cypress_config.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-cypress-config title: "@kbn/cypress-config" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/cypress-config plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/cypress-config'] --- import kbnCypressConfigObj from './kbn_cypress_config.devdocs.json'; diff --git a/api_docs/kbn_data_service.mdx b/api_docs/kbn_data_service.mdx index 9518e1084031b..e56fb02b0c363 100644 --- a/api_docs/kbn_data_service.mdx +++ b/api_docs/kbn_data_service.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-data-service title: "@kbn/data-service" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/data-service plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/data-service'] --- import kbnDataServiceObj from './kbn_data_service.devdocs.json'; diff --git a/api_docs/kbn_datemath.mdx b/api_docs/kbn_datemath.mdx index 2c874f1f275f7..145528d256c47 100644 --- a/api_docs/kbn_datemath.mdx +++ b/api_docs/kbn_datemath.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-datemath title: "@kbn/datemath" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/datemath plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/datemath'] --- import kbnDatemathObj from './kbn_datemath.devdocs.json'; diff --git a/api_docs/kbn_deeplinks_analytics.mdx b/api_docs/kbn_deeplinks_analytics.mdx index 84cf0c0796df9..73b3d5b61c823 100644 --- a/api_docs/kbn_deeplinks_analytics.mdx +++ b/api_docs/kbn_deeplinks_analytics.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-deeplinks-analytics title: "@kbn/deeplinks-analytics" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/deeplinks-analytics plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/deeplinks-analytics'] --- import kbnDeeplinksAnalyticsObj from './kbn_deeplinks_analytics.devdocs.json'; diff --git a/api_docs/kbn_deeplinks_devtools.mdx b/api_docs/kbn_deeplinks_devtools.mdx index 777bbc7d9afec..c2c616b165bc5 100644 --- a/api_docs/kbn_deeplinks_devtools.mdx +++ b/api_docs/kbn_deeplinks_devtools.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-deeplinks-devtools title: "@kbn/deeplinks-devtools" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/deeplinks-devtools plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/deeplinks-devtools'] --- import kbnDeeplinksDevtoolsObj from './kbn_deeplinks_devtools.devdocs.json'; diff --git a/api_docs/kbn_deeplinks_management.mdx b/api_docs/kbn_deeplinks_management.mdx index 6c88e74e2372a..503876303ca6b 100644 --- a/api_docs/kbn_deeplinks_management.mdx +++ b/api_docs/kbn_deeplinks_management.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-deeplinks-management title: "@kbn/deeplinks-management" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/deeplinks-management plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/deeplinks-management'] --- import kbnDeeplinksManagementObj from './kbn_deeplinks_management.devdocs.json'; diff --git a/api_docs/kbn_deeplinks_ml.mdx b/api_docs/kbn_deeplinks_ml.mdx index 78887b4402ed5..5ca3ac071fc5a 100644 --- a/api_docs/kbn_deeplinks_ml.mdx +++ b/api_docs/kbn_deeplinks_ml.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-deeplinks-ml title: "@kbn/deeplinks-ml" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/deeplinks-ml plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/deeplinks-ml'] --- import kbnDeeplinksMlObj from './kbn_deeplinks_ml.devdocs.json'; diff --git a/api_docs/kbn_deeplinks_observability.mdx b/api_docs/kbn_deeplinks_observability.mdx index 0c56b9cd7986e..cf455bca54e38 100644 --- a/api_docs/kbn_deeplinks_observability.mdx +++ b/api_docs/kbn_deeplinks_observability.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-deeplinks-observability title: "@kbn/deeplinks-observability" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/deeplinks-observability plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/deeplinks-observability'] --- import kbnDeeplinksObservabilityObj from './kbn_deeplinks_observability.devdocs.json'; diff --git a/api_docs/kbn_deeplinks_search.mdx b/api_docs/kbn_deeplinks_search.mdx index f65f58b13cd57..8cac3543b1027 100644 --- a/api_docs/kbn_deeplinks_search.mdx +++ b/api_docs/kbn_deeplinks_search.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-deeplinks-search title: "@kbn/deeplinks-search" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/deeplinks-search plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/deeplinks-search'] --- import kbnDeeplinksSearchObj from './kbn_deeplinks_search.devdocs.json'; diff --git a/api_docs/kbn_default_nav_analytics.mdx b/api_docs/kbn_default_nav_analytics.mdx index c426680fd4372..c72dd47253f74 100644 --- a/api_docs/kbn_default_nav_analytics.mdx +++ b/api_docs/kbn_default_nav_analytics.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-default-nav-analytics title: "@kbn/default-nav-analytics" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/default-nav-analytics plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/default-nav-analytics'] --- import kbnDefaultNavAnalyticsObj from './kbn_default_nav_analytics.devdocs.json'; diff --git a/api_docs/kbn_default_nav_devtools.mdx b/api_docs/kbn_default_nav_devtools.mdx index 5b2a71e95a629..14eea9458925b 100644 --- a/api_docs/kbn_default_nav_devtools.mdx +++ b/api_docs/kbn_default_nav_devtools.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-default-nav-devtools title: "@kbn/default-nav-devtools" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/default-nav-devtools plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/default-nav-devtools'] --- import kbnDefaultNavDevtoolsObj from './kbn_default_nav_devtools.devdocs.json'; diff --git a/api_docs/kbn_default_nav_management.mdx b/api_docs/kbn_default_nav_management.mdx index 5927f187253c5..31f1489f110be 100644 --- a/api_docs/kbn_default_nav_management.mdx +++ b/api_docs/kbn_default_nav_management.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-default-nav-management title: "@kbn/default-nav-management" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/default-nav-management plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/default-nav-management'] --- import kbnDefaultNavManagementObj from './kbn_default_nav_management.devdocs.json'; diff --git a/api_docs/kbn_default_nav_ml.mdx b/api_docs/kbn_default_nav_ml.mdx index 1158ecf361024..435c434182642 100644 --- a/api_docs/kbn_default_nav_ml.mdx +++ b/api_docs/kbn_default_nav_ml.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-default-nav-ml title: "@kbn/default-nav-ml" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/default-nav-ml plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/default-nav-ml'] --- import kbnDefaultNavMlObj from './kbn_default_nav_ml.devdocs.json'; diff --git a/api_docs/kbn_dev_cli_errors.mdx b/api_docs/kbn_dev_cli_errors.mdx index bc9e72f7d8d8f..9a446ec2f4266 100644 --- a/api_docs/kbn_dev_cli_errors.mdx +++ b/api_docs/kbn_dev_cli_errors.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-dev-cli-errors title: "@kbn/dev-cli-errors" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/dev-cli-errors plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/dev-cli-errors'] --- import kbnDevCliErrorsObj from './kbn_dev_cli_errors.devdocs.json'; diff --git a/api_docs/kbn_dev_cli_runner.mdx b/api_docs/kbn_dev_cli_runner.mdx index 72d0ee1c8c10b..108b57349a132 100644 --- a/api_docs/kbn_dev_cli_runner.mdx +++ b/api_docs/kbn_dev_cli_runner.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-dev-cli-runner title: "@kbn/dev-cli-runner" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/dev-cli-runner plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/dev-cli-runner'] --- import kbnDevCliRunnerObj from './kbn_dev_cli_runner.devdocs.json'; diff --git a/api_docs/kbn_dev_proc_runner.mdx b/api_docs/kbn_dev_proc_runner.mdx index ba0c32c55507b..17492c16f1e3a 100644 --- a/api_docs/kbn_dev_proc_runner.mdx +++ b/api_docs/kbn_dev_proc_runner.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-dev-proc-runner title: "@kbn/dev-proc-runner" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/dev-proc-runner plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/dev-proc-runner'] --- import kbnDevProcRunnerObj from './kbn_dev_proc_runner.devdocs.json'; diff --git a/api_docs/kbn_dev_utils.mdx b/api_docs/kbn_dev_utils.mdx index f9540a5893d86..2058fa074df2a 100644 --- a/api_docs/kbn_dev_utils.mdx +++ b/api_docs/kbn_dev_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-dev-utils title: "@kbn/dev-utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/dev-utils plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/dev-utils'] --- import kbnDevUtilsObj from './kbn_dev_utils.devdocs.json'; diff --git a/api_docs/kbn_doc_links.mdx b/api_docs/kbn_doc_links.mdx index e73919aa53b29..26bdea6148221 100644 --- a/api_docs/kbn_doc_links.mdx +++ b/api_docs/kbn_doc_links.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-doc-links title: "@kbn/doc-links" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/doc-links plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/doc-links'] --- import kbnDocLinksObj from './kbn_doc_links.devdocs.json'; diff --git a/api_docs/kbn_docs_utils.mdx b/api_docs/kbn_docs_utils.mdx index c69f980ec219c..2f53e5ec81609 100644 --- a/api_docs/kbn_docs_utils.mdx +++ b/api_docs/kbn_docs_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-docs-utils title: "@kbn/docs-utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/docs-utils plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/docs-utils'] --- import kbnDocsUtilsObj from './kbn_docs_utils.devdocs.json'; diff --git a/api_docs/kbn_dom_drag_drop.mdx b/api_docs/kbn_dom_drag_drop.mdx index 1bcf48320ce97..3f9fc374ccc2a 100644 --- a/api_docs/kbn_dom_drag_drop.mdx +++ b/api_docs/kbn_dom_drag_drop.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-dom-drag-drop title: "@kbn/dom-drag-drop" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/dom-drag-drop plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/dom-drag-drop'] --- import kbnDomDragDropObj from './kbn_dom_drag_drop.devdocs.json'; diff --git a/api_docs/kbn_ebt_tools.mdx b/api_docs/kbn_ebt_tools.mdx index 8666b37837589..d27e70f7d915c 100644 --- a/api_docs/kbn_ebt_tools.mdx +++ b/api_docs/kbn_ebt_tools.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ebt-tools title: "@kbn/ebt-tools" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ebt-tools plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ebt-tools'] --- import kbnEbtToolsObj from './kbn_ebt_tools.devdocs.json'; diff --git a/api_docs/kbn_ecs.mdx b/api_docs/kbn_ecs.mdx index 2bc973fbdf4a4..4522207aceb37 100644 --- a/api_docs/kbn_ecs.mdx +++ b/api_docs/kbn_ecs.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ecs title: "@kbn/ecs" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ecs plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ecs'] --- import kbnEcsObj from './kbn_ecs.devdocs.json'; diff --git a/api_docs/kbn_ecs_data_quality_dashboard.mdx b/api_docs/kbn_ecs_data_quality_dashboard.mdx index 10de8814e73ab..0939eacafac3f 100644 --- a/api_docs/kbn_ecs_data_quality_dashboard.mdx +++ b/api_docs/kbn_ecs_data_quality_dashboard.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ecs-data-quality-dashboard title: "@kbn/ecs-data-quality-dashboard" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ecs-data-quality-dashboard plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ecs-data-quality-dashboard'] --- import kbnEcsDataQualityDashboardObj from './kbn_ecs_data_quality_dashboard.devdocs.json'; diff --git a/api_docs/kbn_elastic_assistant.mdx b/api_docs/kbn_elastic_assistant.mdx index 1613724743105..c094e420ac63c 100644 --- a/api_docs/kbn_elastic_assistant.mdx +++ b/api_docs/kbn_elastic_assistant.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-elastic-assistant title: "@kbn/elastic-assistant" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/elastic-assistant plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/elastic-assistant'] --- import kbnElasticAssistantObj from './kbn_elastic_assistant.devdocs.json'; diff --git a/api_docs/kbn_es.mdx b/api_docs/kbn_es.mdx index bb0848e0230fc..8cd3319d0a144 100644 --- a/api_docs/kbn_es.mdx +++ b/api_docs/kbn_es.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-es title: "@kbn/es" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/es plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/es'] --- import kbnEsObj from './kbn_es.devdocs.json'; diff --git a/api_docs/kbn_es_archiver.mdx b/api_docs/kbn_es_archiver.mdx index b66755c660582..27a3e80c9a301 100644 --- a/api_docs/kbn_es_archiver.mdx +++ b/api_docs/kbn_es_archiver.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-es-archiver title: "@kbn/es-archiver" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/es-archiver plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/es-archiver'] --- import kbnEsArchiverObj from './kbn_es_archiver.devdocs.json'; diff --git a/api_docs/kbn_es_errors.mdx b/api_docs/kbn_es_errors.mdx index 807b0edbceece..917c281115ca9 100644 --- a/api_docs/kbn_es_errors.mdx +++ b/api_docs/kbn_es_errors.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-es-errors title: "@kbn/es-errors" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/es-errors plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/es-errors'] --- import kbnEsErrorsObj from './kbn_es_errors.devdocs.json'; diff --git a/api_docs/kbn_es_query.mdx b/api_docs/kbn_es_query.mdx index 61e0217b1a371..0cdc2fffbe4e9 100644 --- a/api_docs/kbn_es_query.mdx +++ b/api_docs/kbn_es_query.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-es-query title: "@kbn/es-query" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/es-query plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/es-query'] --- import kbnEsQueryObj from './kbn_es_query.devdocs.json'; diff --git a/api_docs/kbn_es_types.mdx b/api_docs/kbn_es_types.mdx index 744b5ba547810..296353fb09f5d 100644 --- a/api_docs/kbn_es_types.mdx +++ b/api_docs/kbn_es_types.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-es-types title: "@kbn/es-types" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/es-types plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/es-types'] --- import kbnEsTypesObj from './kbn_es_types.devdocs.json'; diff --git a/api_docs/kbn_eslint_plugin_imports.mdx b/api_docs/kbn_eslint_plugin_imports.mdx index 1c3f966dbde11..a7c8a29fe6e85 100644 --- a/api_docs/kbn_eslint_plugin_imports.mdx +++ b/api_docs/kbn_eslint_plugin_imports.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-eslint-plugin-imports title: "@kbn/eslint-plugin-imports" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/eslint-plugin-imports plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/eslint-plugin-imports'] --- import kbnEslintPluginImportsObj from './kbn_eslint_plugin_imports.devdocs.json'; diff --git a/api_docs/kbn_expandable_flyout.mdx b/api_docs/kbn_expandable_flyout.mdx index 646ad5bbde730..6d8621c0d4042 100644 --- a/api_docs/kbn_expandable_flyout.mdx +++ b/api_docs/kbn_expandable_flyout.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-expandable-flyout title: "@kbn/expandable-flyout" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/expandable-flyout plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/expandable-flyout'] --- import kbnExpandableFlyoutObj from './kbn_expandable_flyout.devdocs.json'; diff --git a/api_docs/kbn_field_types.mdx b/api_docs/kbn_field_types.mdx index b17361eedde72..6e1abf87c2821 100644 --- a/api_docs/kbn_field_types.mdx +++ b/api_docs/kbn_field_types.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-field-types title: "@kbn/field-types" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/field-types plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/field-types'] --- import kbnFieldTypesObj from './kbn_field_types.devdocs.json'; diff --git a/api_docs/kbn_find_used_node_modules.mdx b/api_docs/kbn_find_used_node_modules.mdx index 1d09d3e6e613a..7ae737f48afd0 100644 --- a/api_docs/kbn_find_used_node_modules.mdx +++ b/api_docs/kbn_find_used_node_modules.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-find-used-node-modules title: "@kbn/find-used-node-modules" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/find-used-node-modules plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/find-used-node-modules'] --- import kbnFindUsedNodeModulesObj from './kbn_find_used_node_modules.devdocs.json'; diff --git a/api_docs/kbn_ftr_common_functional_services.mdx b/api_docs/kbn_ftr_common_functional_services.mdx index eff1ab7f7f225..e2fc4a1a0bbd3 100644 --- a/api_docs/kbn_ftr_common_functional_services.mdx +++ b/api_docs/kbn_ftr_common_functional_services.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ftr-common-functional-services title: "@kbn/ftr-common-functional-services" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ftr-common-functional-services plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ftr-common-functional-services'] --- import kbnFtrCommonFunctionalServicesObj from './kbn_ftr_common_functional_services.devdocs.json'; diff --git a/api_docs/kbn_generate.mdx b/api_docs/kbn_generate.mdx index f89b37a72b4e1..c313524e58a8f 100644 --- a/api_docs/kbn_generate.mdx +++ b/api_docs/kbn_generate.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-generate title: "@kbn/generate" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/generate plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/generate'] --- import kbnGenerateObj from './kbn_generate.devdocs.json'; diff --git a/api_docs/kbn_generate_console_definitions.mdx b/api_docs/kbn_generate_console_definitions.mdx index 7012346066051..e94a78f083db3 100644 --- a/api_docs/kbn_generate_console_definitions.mdx +++ b/api_docs/kbn_generate_console_definitions.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-generate-console-definitions title: "@kbn/generate-console-definitions" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/generate-console-definitions plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/generate-console-definitions'] --- import kbnGenerateConsoleDefinitionsObj from './kbn_generate_console_definitions.devdocs.json'; diff --git a/api_docs/kbn_generate_csv.mdx b/api_docs/kbn_generate_csv.mdx index 24714cd89ccf6..ac124430b754a 100644 --- a/api_docs/kbn_generate_csv.mdx +++ b/api_docs/kbn_generate_csv.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-generate-csv title: "@kbn/generate-csv" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/generate-csv plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/generate-csv'] --- import kbnGenerateCsvObj from './kbn_generate_csv.devdocs.json'; diff --git a/api_docs/kbn_generate_csv_types.mdx b/api_docs/kbn_generate_csv_types.mdx index 5d71984c8f714..281d4ef2bff0b 100644 --- a/api_docs/kbn_generate_csv_types.mdx +++ b/api_docs/kbn_generate_csv_types.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-generate-csv-types title: "@kbn/generate-csv-types" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/generate-csv-types plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/generate-csv-types'] --- import kbnGenerateCsvTypesObj from './kbn_generate_csv_types.devdocs.json'; diff --git a/api_docs/kbn_guided_onboarding.mdx b/api_docs/kbn_guided_onboarding.mdx index aaaccadd44687..6777af841ba76 100644 --- a/api_docs/kbn_guided_onboarding.mdx +++ b/api_docs/kbn_guided_onboarding.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-guided-onboarding title: "@kbn/guided-onboarding" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/guided-onboarding plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/guided-onboarding'] --- import kbnGuidedOnboardingObj from './kbn_guided_onboarding.devdocs.json'; diff --git a/api_docs/kbn_handlebars.mdx b/api_docs/kbn_handlebars.mdx index 8e625b255fbf4..d3ddc3033b172 100644 --- a/api_docs/kbn_handlebars.mdx +++ b/api_docs/kbn_handlebars.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-handlebars title: "@kbn/handlebars" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/handlebars plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/handlebars'] --- import kbnHandlebarsObj from './kbn_handlebars.devdocs.json'; diff --git a/api_docs/kbn_hapi_mocks.mdx b/api_docs/kbn_hapi_mocks.mdx index c9b8f161778cf..967114b7c9816 100644 --- a/api_docs/kbn_hapi_mocks.mdx +++ b/api_docs/kbn_hapi_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-hapi-mocks title: "@kbn/hapi-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/hapi-mocks plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/hapi-mocks'] --- import kbnHapiMocksObj from './kbn_hapi_mocks.devdocs.json'; diff --git a/api_docs/kbn_health_gateway_server.mdx b/api_docs/kbn_health_gateway_server.mdx index 3a7310dcc3b63..60430aaca7c4d 100644 --- a/api_docs/kbn_health_gateway_server.mdx +++ b/api_docs/kbn_health_gateway_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-health-gateway-server title: "@kbn/health-gateway-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/health-gateway-server plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/health-gateway-server'] --- import kbnHealthGatewayServerObj from './kbn_health_gateway_server.devdocs.json'; diff --git a/api_docs/kbn_home_sample_data_card.mdx b/api_docs/kbn_home_sample_data_card.mdx index 9136b6b86ffae..d8c753198de04 100644 --- a/api_docs/kbn_home_sample_data_card.mdx +++ b/api_docs/kbn_home_sample_data_card.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-home-sample-data-card title: "@kbn/home-sample-data-card" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/home-sample-data-card plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/home-sample-data-card'] --- import kbnHomeSampleDataCardObj from './kbn_home_sample_data_card.devdocs.json'; diff --git a/api_docs/kbn_home_sample_data_tab.mdx b/api_docs/kbn_home_sample_data_tab.mdx index 7e0c06dd2f47c..791432038ecce 100644 --- a/api_docs/kbn_home_sample_data_tab.mdx +++ b/api_docs/kbn_home_sample_data_tab.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-home-sample-data-tab title: "@kbn/home-sample-data-tab" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/home-sample-data-tab plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/home-sample-data-tab'] --- import kbnHomeSampleDataTabObj from './kbn_home_sample_data_tab.devdocs.json'; diff --git a/api_docs/kbn_i18n.mdx b/api_docs/kbn_i18n.mdx index 13da597d6c26d..570c5bba2b302 100644 --- a/api_docs/kbn_i18n.mdx +++ b/api_docs/kbn_i18n.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-i18n title: "@kbn/i18n" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/i18n plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/i18n'] --- import kbnI18nObj from './kbn_i18n.devdocs.json'; diff --git a/api_docs/kbn_i18n_react.mdx b/api_docs/kbn_i18n_react.mdx index d8a04a15c33ab..65aad58cf21a5 100644 --- a/api_docs/kbn_i18n_react.mdx +++ b/api_docs/kbn_i18n_react.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-i18n-react title: "@kbn/i18n-react" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/i18n-react plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/i18n-react'] --- import kbnI18nReactObj from './kbn_i18n_react.devdocs.json'; diff --git a/api_docs/kbn_import_resolver.mdx b/api_docs/kbn_import_resolver.mdx index e37aa8bc4dfdc..715f96af8717f 100644 --- a/api_docs/kbn_import_resolver.mdx +++ b/api_docs/kbn_import_resolver.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-import-resolver title: "@kbn/import-resolver" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/import-resolver plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/import-resolver'] --- import kbnImportResolverObj from './kbn_import_resolver.devdocs.json'; diff --git a/api_docs/kbn_infra_forge.mdx b/api_docs/kbn_infra_forge.mdx index 48ff7fb472000..dcd5f433df565 100644 --- a/api_docs/kbn_infra_forge.mdx +++ b/api_docs/kbn_infra_forge.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-infra-forge title: "@kbn/infra-forge" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/infra-forge plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/infra-forge'] --- import kbnInfraForgeObj from './kbn_infra_forge.devdocs.json'; diff --git a/api_docs/kbn_interpreter.mdx b/api_docs/kbn_interpreter.mdx index 447ece2f9e939..96b2b7ef31dac 100644 --- a/api_docs/kbn_interpreter.mdx +++ b/api_docs/kbn_interpreter.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-interpreter title: "@kbn/interpreter" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/interpreter plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/interpreter'] --- import kbnInterpreterObj from './kbn_interpreter.devdocs.json'; diff --git a/api_docs/kbn_io_ts_utils.mdx b/api_docs/kbn_io_ts_utils.mdx index db776ea3647a1..ffb3c34a2d652 100644 --- a/api_docs/kbn_io_ts_utils.mdx +++ b/api_docs/kbn_io_ts_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-io-ts-utils title: "@kbn/io-ts-utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/io-ts-utils plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/io-ts-utils'] --- import kbnIoTsUtilsObj from './kbn_io_ts_utils.devdocs.json'; diff --git a/api_docs/kbn_jest_serializers.mdx b/api_docs/kbn_jest_serializers.mdx index 55c58b39378eb..241ec3e2d6f12 100644 --- a/api_docs/kbn_jest_serializers.mdx +++ b/api_docs/kbn_jest_serializers.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-jest-serializers title: "@kbn/jest-serializers" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/jest-serializers plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/jest-serializers'] --- import kbnJestSerializersObj from './kbn_jest_serializers.devdocs.json'; diff --git a/api_docs/kbn_journeys.mdx b/api_docs/kbn_journeys.mdx index 4c30045cf22d3..3575ee5cb37ac 100644 --- a/api_docs/kbn_journeys.mdx +++ b/api_docs/kbn_journeys.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-journeys title: "@kbn/journeys" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/journeys plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/journeys'] --- import kbnJourneysObj from './kbn_journeys.devdocs.json'; diff --git a/api_docs/kbn_json_ast.mdx b/api_docs/kbn_json_ast.mdx index 7b1aea3b00e25..b1bad1e325707 100644 --- a/api_docs/kbn_json_ast.mdx +++ b/api_docs/kbn_json_ast.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-json-ast title: "@kbn/json-ast" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/json-ast plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/json-ast'] --- import kbnJsonAstObj from './kbn_json_ast.devdocs.json'; diff --git a/api_docs/kbn_kibana_manifest_schema.mdx b/api_docs/kbn_kibana_manifest_schema.mdx index a8ef79679c9d8..51772e55e29c9 100644 --- a/api_docs/kbn_kibana_manifest_schema.mdx +++ b/api_docs/kbn_kibana_manifest_schema.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-kibana-manifest-schema title: "@kbn/kibana-manifest-schema" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/kibana-manifest-schema plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/kibana-manifest-schema'] --- import kbnKibanaManifestSchemaObj from './kbn_kibana_manifest_schema.devdocs.json'; diff --git a/api_docs/kbn_language_documentation_popover.mdx b/api_docs/kbn_language_documentation_popover.mdx index ed20d887758f1..366e245a4a56a 100644 --- a/api_docs/kbn_language_documentation_popover.mdx +++ b/api_docs/kbn_language_documentation_popover.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-language-documentation-popover title: "@kbn/language-documentation-popover" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/language-documentation-popover plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/language-documentation-popover'] --- import kbnLanguageDocumentationPopoverObj from './kbn_language_documentation_popover.devdocs.json'; diff --git a/api_docs/kbn_logging.mdx b/api_docs/kbn_logging.mdx index e74bd30e2f48d..6340b91343b08 100644 --- a/api_docs/kbn_logging.mdx +++ b/api_docs/kbn_logging.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-logging title: "@kbn/logging" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/logging plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/logging'] --- import kbnLoggingObj from './kbn_logging.devdocs.json'; diff --git a/api_docs/kbn_logging_mocks.mdx b/api_docs/kbn_logging_mocks.mdx index c04f9db280719..bb793014c1dcd 100644 --- a/api_docs/kbn_logging_mocks.mdx +++ b/api_docs/kbn_logging_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-logging-mocks title: "@kbn/logging-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/logging-mocks plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/logging-mocks'] --- import kbnLoggingMocksObj from './kbn_logging_mocks.devdocs.json'; diff --git a/api_docs/kbn_managed_vscode_config.mdx b/api_docs/kbn_managed_vscode_config.mdx index ce55b282523cf..a9858be70faa6 100644 --- a/api_docs/kbn_managed_vscode_config.mdx +++ b/api_docs/kbn_managed_vscode_config.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-managed-vscode-config title: "@kbn/managed-vscode-config" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/managed-vscode-config plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/managed-vscode-config'] --- import kbnManagedVscodeConfigObj from './kbn_managed_vscode_config.devdocs.json'; diff --git a/api_docs/kbn_management_cards_navigation.mdx b/api_docs/kbn_management_cards_navigation.mdx index 7a844936e13f8..5de1208541fd4 100644 --- a/api_docs/kbn_management_cards_navigation.mdx +++ b/api_docs/kbn_management_cards_navigation.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-management-cards-navigation title: "@kbn/management-cards-navigation" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/management-cards-navigation plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/management-cards-navigation'] --- import kbnManagementCardsNavigationObj from './kbn_management_cards_navigation.devdocs.json'; diff --git a/api_docs/kbn_management_storybook_config.mdx b/api_docs/kbn_management_storybook_config.mdx index 23c0bf4f4ab0e..5c388698066b9 100644 --- a/api_docs/kbn_management_storybook_config.mdx +++ b/api_docs/kbn_management_storybook_config.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-management-storybook-config title: "@kbn/management-storybook-config" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/management-storybook-config plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/management-storybook-config'] --- import kbnManagementStorybookConfigObj from './kbn_management_storybook_config.devdocs.json'; diff --git a/api_docs/kbn_mapbox_gl.mdx b/api_docs/kbn_mapbox_gl.mdx index d1eff1e738d5e..ea1b02a2bc783 100644 --- a/api_docs/kbn_mapbox_gl.mdx +++ b/api_docs/kbn_mapbox_gl.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-mapbox-gl title: "@kbn/mapbox-gl" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/mapbox-gl plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/mapbox-gl'] --- import kbnMapboxGlObj from './kbn_mapbox_gl.devdocs.json'; diff --git a/api_docs/kbn_maps_vector_tile_utils.mdx b/api_docs/kbn_maps_vector_tile_utils.mdx index 605c95dcb1f65..2496b975e6f52 100644 --- a/api_docs/kbn_maps_vector_tile_utils.mdx +++ b/api_docs/kbn_maps_vector_tile_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-maps-vector-tile-utils title: "@kbn/maps-vector-tile-utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/maps-vector-tile-utils plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/maps-vector-tile-utils'] --- import kbnMapsVectorTileUtilsObj from './kbn_maps_vector_tile_utils.devdocs.json'; diff --git a/api_docs/kbn_ml_agg_utils.mdx b/api_docs/kbn_ml_agg_utils.mdx index c3ed74b7455d5..d21276b86474c 100644 --- a/api_docs/kbn_ml_agg_utils.mdx +++ b/api_docs/kbn_ml_agg_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ml-agg-utils title: "@kbn/ml-agg-utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ml-agg-utils plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ml-agg-utils'] --- import kbnMlAggUtilsObj from './kbn_ml_agg_utils.devdocs.json'; diff --git a/api_docs/kbn_ml_anomaly_utils.mdx b/api_docs/kbn_ml_anomaly_utils.mdx index 28aafd2782590..19c1529e9262c 100644 --- a/api_docs/kbn_ml_anomaly_utils.mdx +++ b/api_docs/kbn_ml_anomaly_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ml-anomaly-utils title: "@kbn/ml-anomaly-utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ml-anomaly-utils plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ml-anomaly-utils'] --- import kbnMlAnomalyUtilsObj from './kbn_ml_anomaly_utils.devdocs.json'; diff --git a/api_docs/kbn_ml_data_frame_analytics_utils.mdx b/api_docs/kbn_ml_data_frame_analytics_utils.mdx index dd0b44e783e32..3bfbe00bf1b83 100644 --- a/api_docs/kbn_ml_data_frame_analytics_utils.mdx +++ b/api_docs/kbn_ml_data_frame_analytics_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ml-data-frame-analytics-utils title: "@kbn/ml-data-frame-analytics-utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ml-data-frame-analytics-utils plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ml-data-frame-analytics-utils'] --- import kbnMlDataFrameAnalyticsUtilsObj from './kbn_ml_data_frame_analytics_utils.devdocs.json'; diff --git a/api_docs/kbn_ml_data_grid.mdx b/api_docs/kbn_ml_data_grid.mdx index f5ddfcdfe07c7..8c8ffdf5d8671 100644 --- a/api_docs/kbn_ml_data_grid.mdx +++ b/api_docs/kbn_ml_data_grid.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ml-data-grid title: "@kbn/ml-data-grid" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ml-data-grid plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ml-data-grid'] --- import kbnMlDataGridObj from './kbn_ml_data_grid.devdocs.json'; diff --git a/api_docs/kbn_ml_date_picker.mdx b/api_docs/kbn_ml_date_picker.mdx index 265c9ce9f6ec5..2850121a538a8 100644 --- a/api_docs/kbn_ml_date_picker.mdx +++ b/api_docs/kbn_ml_date_picker.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ml-date-picker title: "@kbn/ml-date-picker" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ml-date-picker plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ml-date-picker'] --- import kbnMlDatePickerObj from './kbn_ml_date_picker.devdocs.json'; diff --git a/api_docs/kbn_ml_date_utils.mdx b/api_docs/kbn_ml_date_utils.mdx index 49a4281d9df85..7a0ae5a8021eb 100644 --- a/api_docs/kbn_ml_date_utils.mdx +++ b/api_docs/kbn_ml_date_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ml-date-utils title: "@kbn/ml-date-utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ml-date-utils plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ml-date-utils'] --- import kbnMlDateUtilsObj from './kbn_ml_date_utils.devdocs.json'; diff --git a/api_docs/kbn_ml_error_utils.mdx b/api_docs/kbn_ml_error_utils.mdx index 5ed1edf99def9..397520d54bec0 100644 --- a/api_docs/kbn_ml_error_utils.mdx +++ b/api_docs/kbn_ml_error_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ml-error-utils title: "@kbn/ml-error-utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ml-error-utils plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ml-error-utils'] --- import kbnMlErrorUtilsObj from './kbn_ml_error_utils.devdocs.json'; diff --git a/api_docs/kbn_ml_is_defined.mdx b/api_docs/kbn_ml_is_defined.mdx index 58c505966728e..244ce8df445d3 100644 --- a/api_docs/kbn_ml_is_defined.mdx +++ b/api_docs/kbn_ml_is_defined.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ml-is-defined title: "@kbn/ml-is-defined" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ml-is-defined plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ml-is-defined'] --- import kbnMlIsDefinedObj from './kbn_ml_is_defined.devdocs.json'; diff --git a/api_docs/kbn_ml_is_populated_object.mdx b/api_docs/kbn_ml_is_populated_object.mdx index 39ea00e579fd0..fd7c50d37c492 100644 --- a/api_docs/kbn_ml_is_populated_object.mdx +++ b/api_docs/kbn_ml_is_populated_object.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ml-is-populated-object title: "@kbn/ml-is-populated-object" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ml-is-populated-object plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ml-is-populated-object'] --- import kbnMlIsPopulatedObjectObj from './kbn_ml_is_populated_object.devdocs.json'; diff --git a/api_docs/kbn_ml_kibana_theme.mdx b/api_docs/kbn_ml_kibana_theme.mdx index 70b1446efdea8..594214ff10eae 100644 --- a/api_docs/kbn_ml_kibana_theme.mdx +++ b/api_docs/kbn_ml_kibana_theme.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ml-kibana-theme title: "@kbn/ml-kibana-theme" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ml-kibana-theme plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ml-kibana-theme'] --- import kbnMlKibanaThemeObj from './kbn_ml_kibana_theme.devdocs.json'; diff --git a/api_docs/kbn_ml_local_storage.mdx b/api_docs/kbn_ml_local_storage.mdx index 30ea0815fed9f..2f80171afd8e7 100644 --- a/api_docs/kbn_ml_local_storage.mdx +++ b/api_docs/kbn_ml_local_storage.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ml-local-storage title: "@kbn/ml-local-storage" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ml-local-storage plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ml-local-storage'] --- import kbnMlLocalStorageObj from './kbn_ml_local_storage.devdocs.json'; diff --git a/api_docs/kbn_ml_nested_property.mdx b/api_docs/kbn_ml_nested_property.mdx index 3a9c51cd73353..e700e10c96623 100644 --- a/api_docs/kbn_ml_nested_property.mdx +++ b/api_docs/kbn_ml_nested_property.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ml-nested-property title: "@kbn/ml-nested-property" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ml-nested-property plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ml-nested-property'] --- import kbnMlNestedPropertyObj from './kbn_ml_nested_property.devdocs.json'; diff --git a/api_docs/kbn_ml_number_utils.mdx b/api_docs/kbn_ml_number_utils.mdx index 23b66e071b32f..4385e070b3b60 100644 --- a/api_docs/kbn_ml_number_utils.mdx +++ b/api_docs/kbn_ml_number_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ml-number-utils title: "@kbn/ml-number-utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ml-number-utils plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ml-number-utils'] --- import kbnMlNumberUtilsObj from './kbn_ml_number_utils.devdocs.json'; diff --git a/api_docs/kbn_ml_query_utils.mdx b/api_docs/kbn_ml_query_utils.mdx index dc05d17264e07..abe9adccc2e5d 100644 --- a/api_docs/kbn_ml_query_utils.mdx +++ b/api_docs/kbn_ml_query_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ml-query-utils title: "@kbn/ml-query-utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ml-query-utils plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ml-query-utils'] --- import kbnMlQueryUtilsObj from './kbn_ml_query_utils.devdocs.json'; diff --git a/api_docs/kbn_ml_random_sampler_utils.mdx b/api_docs/kbn_ml_random_sampler_utils.mdx index fb5a0f669a613..6aa3d179c9add 100644 --- a/api_docs/kbn_ml_random_sampler_utils.mdx +++ b/api_docs/kbn_ml_random_sampler_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ml-random-sampler-utils title: "@kbn/ml-random-sampler-utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ml-random-sampler-utils plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ml-random-sampler-utils'] --- import kbnMlRandomSamplerUtilsObj from './kbn_ml_random_sampler_utils.devdocs.json'; diff --git a/api_docs/kbn_ml_route_utils.mdx b/api_docs/kbn_ml_route_utils.mdx index 5d5ab41143b7a..5530d80b160e2 100644 --- a/api_docs/kbn_ml_route_utils.mdx +++ b/api_docs/kbn_ml_route_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ml-route-utils title: "@kbn/ml-route-utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ml-route-utils plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ml-route-utils'] --- import kbnMlRouteUtilsObj from './kbn_ml_route_utils.devdocs.json'; diff --git a/api_docs/kbn_ml_runtime_field_utils.mdx b/api_docs/kbn_ml_runtime_field_utils.mdx index bdd9afeb4f821..7250b10841b2a 100644 --- a/api_docs/kbn_ml_runtime_field_utils.mdx +++ b/api_docs/kbn_ml_runtime_field_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ml-runtime-field-utils title: "@kbn/ml-runtime-field-utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ml-runtime-field-utils plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ml-runtime-field-utils'] --- import kbnMlRuntimeFieldUtilsObj from './kbn_ml_runtime_field_utils.devdocs.json'; diff --git a/api_docs/kbn_ml_string_hash.mdx b/api_docs/kbn_ml_string_hash.mdx index b2181427c925a..dddd29729ded5 100644 --- a/api_docs/kbn_ml_string_hash.mdx +++ b/api_docs/kbn_ml_string_hash.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ml-string-hash title: "@kbn/ml-string-hash" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ml-string-hash plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ml-string-hash'] --- import kbnMlStringHashObj from './kbn_ml_string_hash.devdocs.json'; diff --git a/api_docs/kbn_ml_trained_models_utils.mdx b/api_docs/kbn_ml_trained_models_utils.mdx index 009bc6bedbcab..3b0518a68b30a 100644 --- a/api_docs/kbn_ml_trained_models_utils.mdx +++ b/api_docs/kbn_ml_trained_models_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ml-trained-models-utils title: "@kbn/ml-trained-models-utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ml-trained-models-utils plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ml-trained-models-utils'] --- import kbnMlTrainedModelsUtilsObj from './kbn_ml_trained_models_utils.devdocs.json'; diff --git a/api_docs/kbn_ml_url_state.mdx b/api_docs/kbn_ml_url_state.mdx index d3d34e8315cd3..ee17a3da0da35 100644 --- a/api_docs/kbn_ml_url_state.mdx +++ b/api_docs/kbn_ml_url_state.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ml-url-state title: "@kbn/ml-url-state" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ml-url-state plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ml-url-state'] --- import kbnMlUrlStateObj from './kbn_ml_url_state.devdocs.json'; diff --git a/api_docs/kbn_monaco.mdx b/api_docs/kbn_monaco.mdx index ff17a3860cf69..b841cd732b752 100644 --- a/api_docs/kbn_monaco.mdx +++ b/api_docs/kbn_monaco.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-monaco title: "@kbn/monaco" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/monaco plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/monaco'] --- import kbnMonacoObj from './kbn_monaco.devdocs.json'; diff --git a/api_docs/kbn_object_versioning.mdx b/api_docs/kbn_object_versioning.mdx index 2c80d0b676f35..55356b25c9e94 100644 --- a/api_docs/kbn_object_versioning.mdx +++ b/api_docs/kbn_object_versioning.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-object-versioning title: "@kbn/object-versioning" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/object-versioning plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/object-versioning'] --- import kbnObjectVersioningObj from './kbn_object_versioning.devdocs.json'; diff --git a/api_docs/kbn_observability_alert_details.mdx b/api_docs/kbn_observability_alert_details.mdx index c2673398e8218..df113093293f2 100644 --- a/api_docs/kbn_observability_alert_details.mdx +++ b/api_docs/kbn_observability_alert_details.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-observability-alert-details title: "@kbn/observability-alert-details" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/observability-alert-details plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/observability-alert-details'] --- import kbnObservabilityAlertDetailsObj from './kbn_observability_alert_details.devdocs.json'; diff --git a/api_docs/kbn_optimizer.mdx b/api_docs/kbn_optimizer.mdx index 20f0cb7b0aad2..8b3799c11488e 100644 --- a/api_docs/kbn_optimizer.mdx +++ b/api_docs/kbn_optimizer.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-optimizer title: "@kbn/optimizer" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/optimizer plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/optimizer'] --- import kbnOptimizerObj from './kbn_optimizer.devdocs.json'; diff --git a/api_docs/kbn_optimizer_webpack_helpers.mdx b/api_docs/kbn_optimizer_webpack_helpers.mdx index 4d9a23b650a56..af8ea5b150bb8 100644 --- a/api_docs/kbn_optimizer_webpack_helpers.mdx +++ b/api_docs/kbn_optimizer_webpack_helpers.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-optimizer-webpack-helpers title: "@kbn/optimizer-webpack-helpers" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/optimizer-webpack-helpers plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/optimizer-webpack-helpers'] --- import kbnOptimizerWebpackHelpersObj from './kbn_optimizer_webpack_helpers.devdocs.json'; diff --git a/api_docs/kbn_osquery_io_ts_types.mdx b/api_docs/kbn_osquery_io_ts_types.mdx index f1145ffc08562..d4560a8b1dcac 100644 --- a/api_docs/kbn_osquery_io_ts_types.mdx +++ b/api_docs/kbn_osquery_io_ts_types.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-osquery-io-ts-types title: "@kbn/osquery-io-ts-types" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/osquery-io-ts-types plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/osquery-io-ts-types'] --- import kbnOsqueryIoTsTypesObj from './kbn_osquery_io_ts_types.devdocs.json'; diff --git a/api_docs/kbn_performance_testing_dataset_extractor.mdx b/api_docs/kbn_performance_testing_dataset_extractor.mdx index 611e5348ece99..833e5d23f9e63 100644 --- a/api_docs/kbn_performance_testing_dataset_extractor.mdx +++ b/api_docs/kbn_performance_testing_dataset_extractor.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-performance-testing-dataset-extractor title: "@kbn/performance-testing-dataset-extractor" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/performance-testing-dataset-extractor plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/performance-testing-dataset-extractor'] --- import kbnPerformanceTestingDatasetExtractorObj from './kbn_performance_testing_dataset_extractor.devdocs.json'; diff --git a/api_docs/kbn_plugin_generator.mdx b/api_docs/kbn_plugin_generator.mdx index e0f40bdeaf011..640696bc9cd84 100644 --- a/api_docs/kbn_plugin_generator.mdx +++ b/api_docs/kbn_plugin_generator.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-plugin-generator title: "@kbn/plugin-generator" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/plugin-generator plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/plugin-generator'] --- import kbnPluginGeneratorObj from './kbn_plugin_generator.devdocs.json'; diff --git a/api_docs/kbn_plugin_helpers.mdx b/api_docs/kbn_plugin_helpers.mdx index 580c4391bd2bc..5df36dfe851f1 100644 --- a/api_docs/kbn_plugin_helpers.mdx +++ b/api_docs/kbn_plugin_helpers.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-plugin-helpers title: "@kbn/plugin-helpers" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/plugin-helpers plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/plugin-helpers'] --- import kbnPluginHelpersObj from './kbn_plugin_helpers.devdocs.json'; diff --git a/api_docs/kbn_random_sampling.mdx b/api_docs/kbn_random_sampling.mdx index de4cf92a8a833..aa845874f9163 100644 --- a/api_docs/kbn_random_sampling.mdx +++ b/api_docs/kbn_random_sampling.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-random-sampling title: "@kbn/random-sampling" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/random-sampling plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/random-sampling'] --- import kbnRandomSamplingObj from './kbn_random_sampling.devdocs.json'; diff --git a/api_docs/kbn_react_field.mdx b/api_docs/kbn_react_field.mdx index e820e851dda0f..e0ba6a9d76140 100644 --- a/api_docs/kbn_react_field.mdx +++ b/api_docs/kbn_react_field.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-react-field title: "@kbn/react-field" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/react-field plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/react-field'] --- import kbnReactFieldObj from './kbn_react_field.devdocs.json'; diff --git a/api_docs/kbn_repo_file_maps.mdx b/api_docs/kbn_repo_file_maps.mdx index 26d80102cdeea..e34253f96c37f 100644 --- a/api_docs/kbn_repo_file_maps.mdx +++ b/api_docs/kbn_repo_file_maps.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-repo-file-maps title: "@kbn/repo-file-maps" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/repo-file-maps plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/repo-file-maps'] --- import kbnRepoFileMapsObj from './kbn_repo_file_maps.devdocs.json'; diff --git a/api_docs/kbn_repo_linter.mdx b/api_docs/kbn_repo_linter.mdx index 7aee8326b2bc6..1912f7331e31d 100644 --- a/api_docs/kbn_repo_linter.mdx +++ b/api_docs/kbn_repo_linter.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-repo-linter title: "@kbn/repo-linter" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/repo-linter plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/repo-linter'] --- import kbnRepoLinterObj from './kbn_repo_linter.devdocs.json'; diff --git a/api_docs/kbn_repo_path.mdx b/api_docs/kbn_repo_path.mdx index 6772965bf0df1..8c120096b3cfc 100644 --- a/api_docs/kbn_repo_path.mdx +++ b/api_docs/kbn_repo_path.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-repo-path title: "@kbn/repo-path" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/repo-path plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/repo-path'] --- import kbnRepoPathObj from './kbn_repo_path.devdocs.json'; diff --git a/api_docs/kbn_repo_source_classifier.mdx b/api_docs/kbn_repo_source_classifier.mdx index 75c5ad3ee2dba..5494ee371ab0e 100644 --- a/api_docs/kbn_repo_source_classifier.mdx +++ b/api_docs/kbn_repo_source_classifier.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-repo-source-classifier title: "@kbn/repo-source-classifier" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/repo-source-classifier plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/repo-source-classifier'] --- import kbnRepoSourceClassifierObj from './kbn_repo_source_classifier.devdocs.json'; diff --git a/api_docs/kbn_reporting_common.mdx b/api_docs/kbn_reporting_common.mdx index bb5654511879c..91a64c7e59dcd 100644 --- a/api_docs/kbn_reporting_common.mdx +++ b/api_docs/kbn_reporting_common.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-reporting-common title: "@kbn/reporting-common" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/reporting-common plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/reporting-common'] --- import kbnReportingCommonObj from './kbn_reporting_common.devdocs.json'; diff --git a/api_docs/kbn_rison.mdx b/api_docs/kbn_rison.mdx index 179f8f7b444bc..f6ff4470530e2 100644 --- a/api_docs/kbn_rison.mdx +++ b/api_docs/kbn_rison.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-rison title: "@kbn/rison" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/rison plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/rison'] --- import kbnRisonObj from './kbn_rison.devdocs.json'; diff --git a/api_docs/kbn_rrule.mdx b/api_docs/kbn_rrule.mdx index cbc59d77fca5d..a963fb2c13d00 100644 --- a/api_docs/kbn_rrule.mdx +++ b/api_docs/kbn_rrule.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-rrule title: "@kbn/rrule" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/rrule plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/rrule'] --- import kbnRruleObj from './kbn_rrule.devdocs.json'; diff --git a/api_docs/kbn_rule_data_utils.mdx b/api_docs/kbn_rule_data_utils.mdx index f41fd2f1b4be9..ab3c2f99ce552 100644 --- a/api_docs/kbn_rule_data_utils.mdx +++ b/api_docs/kbn_rule_data_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-rule-data-utils title: "@kbn/rule-data-utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/rule-data-utils plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/rule-data-utils'] --- import kbnRuleDataUtilsObj from './kbn_rule_data_utils.devdocs.json'; diff --git a/api_docs/kbn_saved_objects_settings.mdx b/api_docs/kbn_saved_objects_settings.mdx index 29a889201a78d..38db827c5bd0c 100644 --- a/api_docs/kbn_saved_objects_settings.mdx +++ b/api_docs/kbn_saved_objects_settings.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-saved-objects-settings title: "@kbn/saved-objects-settings" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/saved-objects-settings plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/saved-objects-settings'] --- import kbnSavedObjectsSettingsObj from './kbn_saved_objects_settings.devdocs.json'; diff --git a/api_docs/kbn_security_solution_side_nav.mdx b/api_docs/kbn_security_solution_side_nav.mdx index 3476c134623da..e928099455e41 100644 --- a/api_docs/kbn_security_solution_side_nav.mdx +++ b/api_docs/kbn_security_solution_side_nav.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-security-solution-side-nav title: "@kbn/security-solution-side-nav" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/security-solution-side-nav plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/security-solution-side-nav'] --- import kbnSecuritySolutionSideNavObj from './kbn_security_solution_side_nav.devdocs.json'; diff --git a/api_docs/kbn_security_solution_storybook_config.mdx b/api_docs/kbn_security_solution_storybook_config.mdx index 0da796d925683..b44824a27b141 100644 --- a/api_docs/kbn_security_solution_storybook_config.mdx +++ b/api_docs/kbn_security_solution_storybook_config.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-security-solution-storybook-config title: "@kbn/security-solution-storybook-config" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/security-solution-storybook-config plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/security-solution-storybook-config'] --- import kbnSecuritySolutionStorybookConfigObj from './kbn_security_solution_storybook_config.devdocs.json'; diff --git a/api_docs/kbn_securitysolution_autocomplete.mdx b/api_docs/kbn_securitysolution_autocomplete.mdx index 36eeabd32a4e8..33367b8ba6757 100644 --- a/api_docs/kbn_securitysolution_autocomplete.mdx +++ b/api_docs/kbn_securitysolution_autocomplete.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-securitysolution-autocomplete title: "@kbn/securitysolution-autocomplete" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/securitysolution-autocomplete plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/securitysolution-autocomplete'] --- import kbnSecuritysolutionAutocompleteObj from './kbn_securitysolution_autocomplete.devdocs.json'; diff --git a/api_docs/kbn_securitysolution_data_table.mdx b/api_docs/kbn_securitysolution_data_table.mdx index 560890284bc1a..949f92ae3bbd2 100644 --- a/api_docs/kbn_securitysolution_data_table.mdx +++ b/api_docs/kbn_securitysolution_data_table.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-securitysolution-data-table title: "@kbn/securitysolution-data-table" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/securitysolution-data-table plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/securitysolution-data-table'] --- import kbnSecuritysolutionDataTableObj from './kbn_securitysolution_data_table.devdocs.json'; diff --git a/api_docs/kbn_securitysolution_ecs.mdx b/api_docs/kbn_securitysolution_ecs.mdx index 1060134fb9595..f25f592aff9df 100644 --- a/api_docs/kbn_securitysolution_ecs.mdx +++ b/api_docs/kbn_securitysolution_ecs.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-securitysolution-ecs title: "@kbn/securitysolution-ecs" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/securitysolution-ecs plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/securitysolution-ecs'] --- import kbnSecuritysolutionEcsObj from './kbn_securitysolution_ecs.devdocs.json'; diff --git a/api_docs/kbn_securitysolution_es_utils.mdx b/api_docs/kbn_securitysolution_es_utils.mdx index 0748044f8d4c2..f84c4ce714003 100644 --- a/api_docs/kbn_securitysolution_es_utils.mdx +++ b/api_docs/kbn_securitysolution_es_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-securitysolution-es-utils title: "@kbn/securitysolution-es-utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/securitysolution-es-utils plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/securitysolution-es-utils'] --- import kbnSecuritysolutionEsUtilsObj from './kbn_securitysolution_es_utils.devdocs.json'; diff --git a/api_docs/kbn_securitysolution_exception_list_components.mdx b/api_docs/kbn_securitysolution_exception_list_components.mdx index 9ca56c6b2fc54..27b11f2223d80 100644 --- a/api_docs/kbn_securitysolution_exception_list_components.mdx +++ b/api_docs/kbn_securitysolution_exception_list_components.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-securitysolution-exception-list-components title: "@kbn/securitysolution-exception-list-components" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/securitysolution-exception-list-components plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/securitysolution-exception-list-components'] --- import kbnSecuritysolutionExceptionListComponentsObj from './kbn_securitysolution_exception_list_components.devdocs.json'; diff --git a/api_docs/kbn_securitysolution_grouping.mdx b/api_docs/kbn_securitysolution_grouping.mdx index df3aba3de7242..ee63c7a6daffe 100644 --- a/api_docs/kbn_securitysolution_grouping.mdx +++ b/api_docs/kbn_securitysolution_grouping.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-securitysolution-grouping title: "@kbn/securitysolution-grouping" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/securitysolution-grouping plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/securitysolution-grouping'] --- import kbnSecuritysolutionGroupingObj from './kbn_securitysolution_grouping.devdocs.json'; diff --git a/api_docs/kbn_securitysolution_hook_utils.mdx b/api_docs/kbn_securitysolution_hook_utils.mdx index 468522c65b910..2ad67989f762e 100644 --- a/api_docs/kbn_securitysolution_hook_utils.mdx +++ b/api_docs/kbn_securitysolution_hook_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-securitysolution-hook-utils title: "@kbn/securitysolution-hook-utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/securitysolution-hook-utils plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/securitysolution-hook-utils'] --- import kbnSecuritysolutionHookUtilsObj from './kbn_securitysolution_hook_utils.devdocs.json'; diff --git a/api_docs/kbn_securitysolution_io_ts_alerting_types.mdx b/api_docs/kbn_securitysolution_io_ts_alerting_types.mdx index ee3c0f1e0cb87..85484a75160d4 100644 --- a/api_docs/kbn_securitysolution_io_ts_alerting_types.mdx +++ b/api_docs/kbn_securitysolution_io_ts_alerting_types.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-securitysolution-io-ts-alerting-types title: "@kbn/securitysolution-io-ts-alerting-types" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/securitysolution-io-ts-alerting-types plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/securitysolution-io-ts-alerting-types'] --- import kbnSecuritysolutionIoTsAlertingTypesObj from './kbn_securitysolution_io_ts_alerting_types.devdocs.json'; diff --git a/api_docs/kbn_securitysolution_io_ts_list_types.mdx b/api_docs/kbn_securitysolution_io_ts_list_types.mdx index ffcf0d8ae161b..0ed3a46e1735d 100644 --- a/api_docs/kbn_securitysolution_io_ts_list_types.mdx +++ b/api_docs/kbn_securitysolution_io_ts_list_types.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-securitysolution-io-ts-list-types title: "@kbn/securitysolution-io-ts-list-types" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/securitysolution-io-ts-list-types plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/securitysolution-io-ts-list-types'] --- import kbnSecuritysolutionIoTsListTypesObj from './kbn_securitysolution_io_ts_list_types.devdocs.json'; diff --git a/api_docs/kbn_securitysolution_io_ts_types.mdx b/api_docs/kbn_securitysolution_io_ts_types.mdx index f569eddbc3ded..2bb46408669a3 100644 --- a/api_docs/kbn_securitysolution_io_ts_types.mdx +++ b/api_docs/kbn_securitysolution_io_ts_types.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-securitysolution-io-ts-types title: "@kbn/securitysolution-io-ts-types" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/securitysolution-io-ts-types plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/securitysolution-io-ts-types'] --- import kbnSecuritysolutionIoTsTypesObj from './kbn_securitysolution_io_ts_types.devdocs.json'; diff --git a/api_docs/kbn_securitysolution_io_ts_utils.mdx b/api_docs/kbn_securitysolution_io_ts_utils.mdx index 4eca94fd4ade3..7df14ad4ebb27 100644 --- a/api_docs/kbn_securitysolution_io_ts_utils.mdx +++ b/api_docs/kbn_securitysolution_io_ts_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-securitysolution-io-ts-utils title: "@kbn/securitysolution-io-ts-utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/securitysolution-io-ts-utils plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/securitysolution-io-ts-utils'] --- import kbnSecuritysolutionIoTsUtilsObj from './kbn_securitysolution_io_ts_utils.devdocs.json'; diff --git a/api_docs/kbn_securitysolution_list_api.mdx b/api_docs/kbn_securitysolution_list_api.mdx index a68878d550be1..2d0ed0476a115 100644 --- a/api_docs/kbn_securitysolution_list_api.mdx +++ b/api_docs/kbn_securitysolution_list_api.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-securitysolution-list-api title: "@kbn/securitysolution-list-api" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/securitysolution-list-api plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/securitysolution-list-api'] --- import kbnSecuritysolutionListApiObj from './kbn_securitysolution_list_api.devdocs.json'; diff --git a/api_docs/kbn_securitysolution_list_constants.mdx b/api_docs/kbn_securitysolution_list_constants.mdx index c33aefceb8e4e..f01ae49271bee 100644 --- a/api_docs/kbn_securitysolution_list_constants.mdx +++ b/api_docs/kbn_securitysolution_list_constants.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-securitysolution-list-constants title: "@kbn/securitysolution-list-constants" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/securitysolution-list-constants plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/securitysolution-list-constants'] --- import kbnSecuritysolutionListConstantsObj from './kbn_securitysolution_list_constants.devdocs.json'; diff --git a/api_docs/kbn_securitysolution_list_hooks.mdx b/api_docs/kbn_securitysolution_list_hooks.mdx index 1f569fd4de117..ed46db572a71e 100644 --- a/api_docs/kbn_securitysolution_list_hooks.mdx +++ b/api_docs/kbn_securitysolution_list_hooks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-securitysolution-list-hooks title: "@kbn/securitysolution-list-hooks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/securitysolution-list-hooks plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/securitysolution-list-hooks'] --- import kbnSecuritysolutionListHooksObj from './kbn_securitysolution_list_hooks.devdocs.json'; diff --git a/api_docs/kbn_securitysolution_list_utils.mdx b/api_docs/kbn_securitysolution_list_utils.mdx index 3962eba06a47e..2a34031c64414 100644 --- a/api_docs/kbn_securitysolution_list_utils.mdx +++ b/api_docs/kbn_securitysolution_list_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-securitysolution-list-utils title: "@kbn/securitysolution-list-utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/securitysolution-list-utils plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/securitysolution-list-utils'] --- import kbnSecuritysolutionListUtilsObj from './kbn_securitysolution_list_utils.devdocs.json'; diff --git a/api_docs/kbn_securitysolution_rules.mdx b/api_docs/kbn_securitysolution_rules.mdx index 74a10434f708f..833e80c0265cc 100644 --- a/api_docs/kbn_securitysolution_rules.mdx +++ b/api_docs/kbn_securitysolution_rules.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-securitysolution-rules title: "@kbn/securitysolution-rules" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/securitysolution-rules plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/securitysolution-rules'] --- import kbnSecuritysolutionRulesObj from './kbn_securitysolution_rules.devdocs.json'; diff --git a/api_docs/kbn_securitysolution_t_grid.mdx b/api_docs/kbn_securitysolution_t_grid.mdx index 7bf7b3a768d91..4bb38c00b4db3 100644 --- a/api_docs/kbn_securitysolution_t_grid.mdx +++ b/api_docs/kbn_securitysolution_t_grid.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-securitysolution-t-grid title: "@kbn/securitysolution-t-grid" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/securitysolution-t-grid plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/securitysolution-t-grid'] --- import kbnSecuritysolutionTGridObj from './kbn_securitysolution_t_grid.devdocs.json'; diff --git a/api_docs/kbn_securitysolution_utils.mdx b/api_docs/kbn_securitysolution_utils.mdx index 76098ddd99903..00024bfe762a0 100644 --- a/api_docs/kbn_securitysolution_utils.mdx +++ b/api_docs/kbn_securitysolution_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-securitysolution-utils title: "@kbn/securitysolution-utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/securitysolution-utils plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/securitysolution-utils'] --- import kbnSecuritysolutionUtilsObj from './kbn_securitysolution_utils.devdocs.json'; diff --git a/api_docs/kbn_server_http_tools.mdx b/api_docs/kbn_server_http_tools.mdx index 65e2d2a59c9a7..da8ca754e9e14 100644 --- a/api_docs/kbn_server_http_tools.mdx +++ b/api_docs/kbn_server_http_tools.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-server-http-tools title: "@kbn/server-http-tools" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/server-http-tools plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/server-http-tools'] --- import kbnServerHttpToolsObj from './kbn_server_http_tools.devdocs.json'; diff --git a/api_docs/kbn_server_route_repository.mdx b/api_docs/kbn_server_route_repository.mdx index a9671ede39224..9a2bd2caea73b 100644 --- a/api_docs/kbn_server_route_repository.mdx +++ b/api_docs/kbn_server_route_repository.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-server-route-repository title: "@kbn/server-route-repository" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/server-route-repository plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/server-route-repository'] --- import kbnServerRouteRepositoryObj from './kbn_server_route_repository.devdocs.json'; diff --git a/api_docs/kbn_serverless_project_switcher.mdx b/api_docs/kbn_serverless_project_switcher.mdx index bfdcd1bbea1ea..4ec8cbac25b21 100644 --- a/api_docs/kbn_serverless_project_switcher.mdx +++ b/api_docs/kbn_serverless_project_switcher.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-serverless-project-switcher title: "@kbn/serverless-project-switcher" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/serverless-project-switcher plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/serverless-project-switcher'] --- import kbnServerlessProjectSwitcherObj from './kbn_serverless_project_switcher.devdocs.json'; diff --git a/api_docs/kbn_serverless_storybook_config.mdx b/api_docs/kbn_serverless_storybook_config.mdx index d6be82f6e9359..da7cbbdc7cf36 100644 --- a/api_docs/kbn_serverless_storybook_config.mdx +++ b/api_docs/kbn_serverless_storybook_config.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-serverless-storybook-config title: "@kbn/serverless-storybook-config" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/serverless-storybook-config plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/serverless-storybook-config'] --- import kbnServerlessStorybookConfigObj from './kbn_serverless_storybook_config.devdocs.json'; diff --git a/api_docs/kbn_shared_svg.mdx b/api_docs/kbn_shared_svg.mdx index 044c70130bacd..0b5f344ae9a5f 100644 --- a/api_docs/kbn_shared_svg.mdx +++ b/api_docs/kbn_shared_svg.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-svg title: "@kbn/shared-svg" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-svg plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-svg'] --- import kbnSharedSvgObj from './kbn_shared_svg.devdocs.json'; diff --git a/api_docs/kbn_shared_ux_avatar_solution.mdx b/api_docs/kbn_shared_ux_avatar_solution.mdx index e506e7a253c7c..4e5b3c59bc1eb 100644 --- a/api_docs/kbn_shared_ux_avatar_solution.mdx +++ b/api_docs/kbn_shared_ux_avatar_solution.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-avatar-solution title: "@kbn/shared-ux-avatar-solution" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-avatar-solution plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-avatar-solution'] --- import kbnSharedUxAvatarSolutionObj from './kbn_shared_ux_avatar_solution.devdocs.json'; diff --git a/api_docs/kbn_shared_ux_avatar_user_profile_components.mdx b/api_docs/kbn_shared_ux_avatar_user_profile_components.mdx index bd850a6c82caa..187d11cc620d2 100644 --- a/api_docs/kbn_shared_ux_avatar_user_profile_components.mdx +++ b/api_docs/kbn_shared_ux_avatar_user_profile_components.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-avatar-user-profile-components title: "@kbn/shared-ux-avatar-user-profile-components" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-avatar-user-profile-components plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-avatar-user-profile-components'] --- import kbnSharedUxAvatarUserProfileComponentsObj from './kbn_shared_ux_avatar_user_profile_components.devdocs.json'; diff --git a/api_docs/kbn_shared_ux_button_exit_full_screen.mdx b/api_docs/kbn_shared_ux_button_exit_full_screen.mdx index 3260506810f2f..c1466cd7b7f1e 100644 --- a/api_docs/kbn_shared_ux_button_exit_full_screen.mdx +++ b/api_docs/kbn_shared_ux_button_exit_full_screen.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-button-exit-full-screen title: "@kbn/shared-ux-button-exit-full-screen" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-button-exit-full-screen plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-button-exit-full-screen'] --- import kbnSharedUxButtonExitFullScreenObj from './kbn_shared_ux_button_exit_full_screen.devdocs.json'; diff --git a/api_docs/kbn_shared_ux_button_exit_full_screen_mocks.mdx b/api_docs/kbn_shared_ux_button_exit_full_screen_mocks.mdx index 4ce43901a3409..2bae77b0afbe3 100644 --- a/api_docs/kbn_shared_ux_button_exit_full_screen_mocks.mdx +++ b/api_docs/kbn_shared_ux_button_exit_full_screen_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-button-exit-full-screen-mocks title: "@kbn/shared-ux-button-exit-full-screen-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-button-exit-full-screen-mocks plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-button-exit-full-screen-mocks'] --- import kbnSharedUxButtonExitFullScreenMocksObj from './kbn_shared_ux_button_exit_full_screen_mocks.devdocs.json'; diff --git a/api_docs/kbn_shared_ux_button_toolbar.mdx b/api_docs/kbn_shared_ux_button_toolbar.mdx index 9fc0cb8b72ed4..e4b8ae20b3844 100644 --- a/api_docs/kbn_shared_ux_button_toolbar.mdx +++ b/api_docs/kbn_shared_ux_button_toolbar.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-button-toolbar title: "@kbn/shared-ux-button-toolbar" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-button-toolbar plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-button-toolbar'] --- import kbnSharedUxButtonToolbarObj from './kbn_shared_ux_button_toolbar.devdocs.json'; diff --git a/api_docs/kbn_shared_ux_card_no_data.mdx b/api_docs/kbn_shared_ux_card_no_data.mdx index 59783aa35bad1..ff2966d2ed8b8 100644 --- a/api_docs/kbn_shared_ux_card_no_data.mdx +++ b/api_docs/kbn_shared_ux_card_no_data.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-card-no-data title: "@kbn/shared-ux-card-no-data" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-card-no-data plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-card-no-data'] --- import kbnSharedUxCardNoDataObj from './kbn_shared_ux_card_no_data.devdocs.json'; diff --git a/api_docs/kbn_shared_ux_card_no_data_mocks.mdx b/api_docs/kbn_shared_ux_card_no_data_mocks.mdx index 9c8ad1eec44d3..f0e7cb5fb8809 100644 --- a/api_docs/kbn_shared_ux_card_no_data_mocks.mdx +++ b/api_docs/kbn_shared_ux_card_no_data_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-card-no-data-mocks title: "@kbn/shared-ux-card-no-data-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-card-no-data-mocks plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-card-no-data-mocks'] --- import kbnSharedUxCardNoDataMocksObj from './kbn_shared_ux_card_no_data_mocks.devdocs.json'; diff --git a/api_docs/kbn_shared_ux_chrome_navigation.mdx b/api_docs/kbn_shared_ux_chrome_navigation.mdx index 0f52b82779786..a8da7eb218d38 100644 --- a/api_docs/kbn_shared_ux_chrome_navigation.mdx +++ b/api_docs/kbn_shared_ux_chrome_navigation.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-chrome-navigation title: "@kbn/shared-ux-chrome-navigation" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-chrome-navigation plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-chrome-navigation'] --- import kbnSharedUxChromeNavigationObj from './kbn_shared_ux_chrome_navigation.devdocs.json'; diff --git a/api_docs/kbn_shared_ux_file_context.mdx b/api_docs/kbn_shared_ux_file_context.mdx index 6326bb49aa371..975c535415e17 100644 --- a/api_docs/kbn_shared_ux_file_context.mdx +++ b/api_docs/kbn_shared_ux_file_context.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-file-context title: "@kbn/shared-ux-file-context" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-file-context plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-file-context'] --- import kbnSharedUxFileContextObj from './kbn_shared_ux_file_context.devdocs.json'; diff --git a/api_docs/kbn_shared_ux_file_image.mdx b/api_docs/kbn_shared_ux_file_image.mdx index 90a68a0c40d40..a89051e651529 100644 --- a/api_docs/kbn_shared_ux_file_image.mdx +++ b/api_docs/kbn_shared_ux_file_image.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-file-image title: "@kbn/shared-ux-file-image" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-file-image plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-file-image'] --- import kbnSharedUxFileImageObj from './kbn_shared_ux_file_image.devdocs.json'; diff --git a/api_docs/kbn_shared_ux_file_image_mocks.mdx b/api_docs/kbn_shared_ux_file_image_mocks.mdx index a10d1c87ec916..5d08a6619e6a5 100644 --- a/api_docs/kbn_shared_ux_file_image_mocks.mdx +++ b/api_docs/kbn_shared_ux_file_image_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-file-image-mocks title: "@kbn/shared-ux-file-image-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-file-image-mocks plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-file-image-mocks'] --- import kbnSharedUxFileImageMocksObj from './kbn_shared_ux_file_image_mocks.devdocs.json'; diff --git a/api_docs/kbn_shared_ux_file_mocks.mdx b/api_docs/kbn_shared_ux_file_mocks.mdx index 56c6e23161b5e..45446207d31b7 100644 --- a/api_docs/kbn_shared_ux_file_mocks.mdx +++ b/api_docs/kbn_shared_ux_file_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-file-mocks title: "@kbn/shared-ux-file-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-file-mocks plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-file-mocks'] --- import kbnSharedUxFileMocksObj from './kbn_shared_ux_file_mocks.devdocs.json'; diff --git a/api_docs/kbn_shared_ux_file_picker.mdx b/api_docs/kbn_shared_ux_file_picker.mdx index 1f82c03301a38..c7397985b5bbf 100644 --- a/api_docs/kbn_shared_ux_file_picker.mdx +++ b/api_docs/kbn_shared_ux_file_picker.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-file-picker title: "@kbn/shared-ux-file-picker" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-file-picker plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-file-picker'] --- import kbnSharedUxFilePickerObj from './kbn_shared_ux_file_picker.devdocs.json'; diff --git a/api_docs/kbn_shared_ux_file_types.mdx b/api_docs/kbn_shared_ux_file_types.mdx index 0bfde07207e1a..509fffbc03b23 100644 --- a/api_docs/kbn_shared_ux_file_types.mdx +++ b/api_docs/kbn_shared_ux_file_types.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-file-types title: "@kbn/shared-ux-file-types" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-file-types plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-file-types'] --- import kbnSharedUxFileTypesObj from './kbn_shared_ux_file_types.devdocs.json'; diff --git a/api_docs/kbn_shared_ux_file_upload.mdx b/api_docs/kbn_shared_ux_file_upload.mdx index 6f015e59f4dbc..08b8a433077d7 100644 --- a/api_docs/kbn_shared_ux_file_upload.mdx +++ b/api_docs/kbn_shared_ux_file_upload.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-file-upload title: "@kbn/shared-ux-file-upload" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-file-upload plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-file-upload'] --- import kbnSharedUxFileUploadObj from './kbn_shared_ux_file_upload.devdocs.json'; diff --git a/api_docs/kbn_shared_ux_file_util.mdx b/api_docs/kbn_shared_ux_file_util.mdx index d6fe89872432d..931eea5f28e80 100644 --- a/api_docs/kbn_shared_ux_file_util.mdx +++ b/api_docs/kbn_shared_ux_file_util.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-file-util title: "@kbn/shared-ux-file-util" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-file-util plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-file-util'] --- import kbnSharedUxFileUtilObj from './kbn_shared_ux_file_util.devdocs.json'; diff --git a/api_docs/kbn_shared_ux_link_redirect_app.mdx b/api_docs/kbn_shared_ux_link_redirect_app.mdx index 6a163c6a26a22..1ac4df2987ed9 100644 --- a/api_docs/kbn_shared_ux_link_redirect_app.mdx +++ b/api_docs/kbn_shared_ux_link_redirect_app.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-link-redirect-app title: "@kbn/shared-ux-link-redirect-app" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-link-redirect-app plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-link-redirect-app'] --- import kbnSharedUxLinkRedirectAppObj from './kbn_shared_ux_link_redirect_app.devdocs.json'; diff --git a/api_docs/kbn_shared_ux_link_redirect_app_mocks.mdx b/api_docs/kbn_shared_ux_link_redirect_app_mocks.mdx index e065313f87f48..b3061ee1b3f87 100644 --- a/api_docs/kbn_shared_ux_link_redirect_app_mocks.mdx +++ b/api_docs/kbn_shared_ux_link_redirect_app_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-link-redirect-app-mocks title: "@kbn/shared-ux-link-redirect-app-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-link-redirect-app-mocks plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-link-redirect-app-mocks'] --- import kbnSharedUxLinkRedirectAppMocksObj from './kbn_shared_ux_link_redirect_app_mocks.devdocs.json'; diff --git a/api_docs/kbn_shared_ux_markdown.mdx b/api_docs/kbn_shared_ux_markdown.mdx index 1d08690b724fc..a3483d05cdcbd 100644 --- a/api_docs/kbn_shared_ux_markdown.mdx +++ b/api_docs/kbn_shared_ux_markdown.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-markdown title: "@kbn/shared-ux-markdown" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-markdown plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-markdown'] --- import kbnSharedUxMarkdownObj from './kbn_shared_ux_markdown.devdocs.json'; diff --git a/api_docs/kbn_shared_ux_markdown_mocks.mdx b/api_docs/kbn_shared_ux_markdown_mocks.mdx index 97720d9d6f4c0..1be5f57bd500f 100644 --- a/api_docs/kbn_shared_ux_markdown_mocks.mdx +++ b/api_docs/kbn_shared_ux_markdown_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-markdown-mocks title: "@kbn/shared-ux-markdown-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-markdown-mocks plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-markdown-mocks'] --- import kbnSharedUxMarkdownMocksObj from './kbn_shared_ux_markdown_mocks.devdocs.json'; diff --git a/api_docs/kbn_shared_ux_page_analytics_no_data.mdx b/api_docs/kbn_shared_ux_page_analytics_no_data.mdx index e5cd5f9fe9168..ae09367ebe927 100644 --- a/api_docs/kbn_shared_ux_page_analytics_no_data.mdx +++ b/api_docs/kbn_shared_ux_page_analytics_no_data.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-page-analytics-no-data title: "@kbn/shared-ux-page-analytics-no-data" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-page-analytics-no-data plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-page-analytics-no-data'] --- import kbnSharedUxPageAnalyticsNoDataObj from './kbn_shared_ux_page_analytics_no_data.devdocs.json'; diff --git a/api_docs/kbn_shared_ux_page_analytics_no_data_mocks.mdx b/api_docs/kbn_shared_ux_page_analytics_no_data_mocks.mdx index ba28191868925..be61ca25fea4f 100644 --- a/api_docs/kbn_shared_ux_page_analytics_no_data_mocks.mdx +++ b/api_docs/kbn_shared_ux_page_analytics_no_data_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-page-analytics-no-data-mocks title: "@kbn/shared-ux-page-analytics-no-data-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-page-analytics-no-data-mocks plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-page-analytics-no-data-mocks'] --- import kbnSharedUxPageAnalyticsNoDataMocksObj from './kbn_shared_ux_page_analytics_no_data_mocks.devdocs.json'; diff --git a/api_docs/kbn_shared_ux_page_kibana_no_data.mdx b/api_docs/kbn_shared_ux_page_kibana_no_data.mdx index 65200ba5e7f7d..2f47a195f3fa0 100644 --- a/api_docs/kbn_shared_ux_page_kibana_no_data.mdx +++ b/api_docs/kbn_shared_ux_page_kibana_no_data.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-page-kibana-no-data title: "@kbn/shared-ux-page-kibana-no-data" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-page-kibana-no-data plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-page-kibana-no-data'] --- import kbnSharedUxPageKibanaNoDataObj from './kbn_shared_ux_page_kibana_no_data.devdocs.json'; diff --git a/api_docs/kbn_shared_ux_page_kibana_no_data_mocks.mdx b/api_docs/kbn_shared_ux_page_kibana_no_data_mocks.mdx index f5c8505c61f66..a1aae3ed7b58c 100644 --- a/api_docs/kbn_shared_ux_page_kibana_no_data_mocks.mdx +++ b/api_docs/kbn_shared_ux_page_kibana_no_data_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-page-kibana-no-data-mocks title: "@kbn/shared-ux-page-kibana-no-data-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-page-kibana-no-data-mocks plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-page-kibana-no-data-mocks'] --- import kbnSharedUxPageKibanaNoDataMocksObj from './kbn_shared_ux_page_kibana_no_data_mocks.devdocs.json'; diff --git a/api_docs/kbn_shared_ux_page_kibana_template.mdx b/api_docs/kbn_shared_ux_page_kibana_template.mdx index e2d0b70b24bbd..3f7b5d597676b 100644 --- a/api_docs/kbn_shared_ux_page_kibana_template.mdx +++ b/api_docs/kbn_shared_ux_page_kibana_template.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-page-kibana-template title: "@kbn/shared-ux-page-kibana-template" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-page-kibana-template plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-page-kibana-template'] --- import kbnSharedUxPageKibanaTemplateObj from './kbn_shared_ux_page_kibana_template.devdocs.json'; diff --git a/api_docs/kbn_shared_ux_page_kibana_template_mocks.mdx b/api_docs/kbn_shared_ux_page_kibana_template_mocks.mdx index 0a49cf68771f7..94d84c88bc43e 100644 --- a/api_docs/kbn_shared_ux_page_kibana_template_mocks.mdx +++ b/api_docs/kbn_shared_ux_page_kibana_template_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-page-kibana-template-mocks title: "@kbn/shared-ux-page-kibana-template-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-page-kibana-template-mocks plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-page-kibana-template-mocks'] --- import kbnSharedUxPageKibanaTemplateMocksObj from './kbn_shared_ux_page_kibana_template_mocks.devdocs.json'; diff --git a/api_docs/kbn_shared_ux_page_no_data.mdx b/api_docs/kbn_shared_ux_page_no_data.mdx index 75cc5671597b0..0803eb22adc0a 100644 --- a/api_docs/kbn_shared_ux_page_no_data.mdx +++ b/api_docs/kbn_shared_ux_page_no_data.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-page-no-data title: "@kbn/shared-ux-page-no-data" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-page-no-data plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-page-no-data'] --- import kbnSharedUxPageNoDataObj from './kbn_shared_ux_page_no_data.devdocs.json'; diff --git a/api_docs/kbn_shared_ux_page_no_data_config.mdx b/api_docs/kbn_shared_ux_page_no_data_config.mdx index bdea0e14b4349..a27af2bbd5e81 100644 --- a/api_docs/kbn_shared_ux_page_no_data_config.mdx +++ b/api_docs/kbn_shared_ux_page_no_data_config.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-page-no-data-config title: "@kbn/shared-ux-page-no-data-config" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-page-no-data-config plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-page-no-data-config'] --- import kbnSharedUxPageNoDataConfigObj from './kbn_shared_ux_page_no_data_config.devdocs.json'; diff --git a/api_docs/kbn_shared_ux_page_no_data_config_mocks.mdx b/api_docs/kbn_shared_ux_page_no_data_config_mocks.mdx index f2f3734661e0a..4c59157c78995 100644 --- a/api_docs/kbn_shared_ux_page_no_data_config_mocks.mdx +++ b/api_docs/kbn_shared_ux_page_no_data_config_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-page-no-data-config-mocks title: "@kbn/shared-ux-page-no-data-config-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-page-no-data-config-mocks plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-page-no-data-config-mocks'] --- import kbnSharedUxPageNoDataConfigMocksObj from './kbn_shared_ux_page_no_data_config_mocks.devdocs.json'; diff --git a/api_docs/kbn_shared_ux_page_no_data_mocks.mdx b/api_docs/kbn_shared_ux_page_no_data_mocks.mdx index d0b904ba1d0e9..917a08da1770d 100644 --- a/api_docs/kbn_shared_ux_page_no_data_mocks.mdx +++ b/api_docs/kbn_shared_ux_page_no_data_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-page-no-data-mocks title: "@kbn/shared-ux-page-no-data-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-page-no-data-mocks plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-page-no-data-mocks'] --- import kbnSharedUxPageNoDataMocksObj from './kbn_shared_ux_page_no_data_mocks.devdocs.json'; diff --git a/api_docs/kbn_shared_ux_page_solution_nav.mdx b/api_docs/kbn_shared_ux_page_solution_nav.mdx index 2c993c7d0776c..769be2671c9bb 100644 --- a/api_docs/kbn_shared_ux_page_solution_nav.mdx +++ b/api_docs/kbn_shared_ux_page_solution_nav.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-page-solution-nav title: "@kbn/shared-ux-page-solution-nav" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-page-solution-nav plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-page-solution-nav'] --- import kbnSharedUxPageSolutionNavObj from './kbn_shared_ux_page_solution_nav.devdocs.json'; diff --git a/api_docs/kbn_shared_ux_prompt_no_data_views.mdx b/api_docs/kbn_shared_ux_prompt_no_data_views.mdx index 9682b4a621435..2f763776bb45c 100644 --- a/api_docs/kbn_shared_ux_prompt_no_data_views.mdx +++ b/api_docs/kbn_shared_ux_prompt_no_data_views.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-prompt-no-data-views title: "@kbn/shared-ux-prompt-no-data-views" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-prompt-no-data-views plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-prompt-no-data-views'] --- import kbnSharedUxPromptNoDataViewsObj from './kbn_shared_ux_prompt_no_data_views.devdocs.json'; diff --git a/api_docs/kbn_shared_ux_prompt_no_data_views_mocks.mdx b/api_docs/kbn_shared_ux_prompt_no_data_views_mocks.mdx index d7b54645461e6..ee1c69433f5ce 100644 --- a/api_docs/kbn_shared_ux_prompt_no_data_views_mocks.mdx +++ b/api_docs/kbn_shared_ux_prompt_no_data_views_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-prompt-no-data-views-mocks title: "@kbn/shared-ux-prompt-no-data-views-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-prompt-no-data-views-mocks plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-prompt-no-data-views-mocks'] --- import kbnSharedUxPromptNoDataViewsMocksObj from './kbn_shared_ux_prompt_no_data_views_mocks.devdocs.json'; diff --git a/api_docs/kbn_shared_ux_prompt_not_found.mdx b/api_docs/kbn_shared_ux_prompt_not_found.mdx index 5a517c6943784..451602b0280b2 100644 --- a/api_docs/kbn_shared_ux_prompt_not_found.mdx +++ b/api_docs/kbn_shared_ux_prompt_not_found.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-prompt-not-found title: "@kbn/shared-ux-prompt-not-found" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-prompt-not-found plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-prompt-not-found'] --- import kbnSharedUxPromptNotFoundObj from './kbn_shared_ux_prompt_not_found.devdocs.json'; diff --git a/api_docs/kbn_shared_ux_router.mdx b/api_docs/kbn_shared_ux_router.mdx index 660027368a5be..e55a9e5a87fd7 100644 --- a/api_docs/kbn_shared_ux_router.mdx +++ b/api_docs/kbn_shared_ux_router.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-router title: "@kbn/shared-ux-router" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-router plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-router'] --- import kbnSharedUxRouterObj from './kbn_shared_ux_router.devdocs.json'; diff --git a/api_docs/kbn_shared_ux_router_mocks.mdx b/api_docs/kbn_shared_ux_router_mocks.mdx index d4dcddadd4410..012225de120a6 100644 --- a/api_docs/kbn_shared_ux_router_mocks.mdx +++ b/api_docs/kbn_shared_ux_router_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-router-mocks title: "@kbn/shared-ux-router-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-router-mocks plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-router-mocks'] --- import kbnSharedUxRouterMocksObj from './kbn_shared_ux_router_mocks.devdocs.json'; diff --git a/api_docs/kbn_shared_ux_storybook_config.mdx b/api_docs/kbn_shared_ux_storybook_config.mdx index a2d1a6892f11a..4a0db34a2bcf7 100644 --- a/api_docs/kbn_shared_ux_storybook_config.mdx +++ b/api_docs/kbn_shared_ux_storybook_config.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-storybook-config title: "@kbn/shared-ux-storybook-config" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-storybook-config plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-storybook-config'] --- import kbnSharedUxStorybookConfigObj from './kbn_shared_ux_storybook_config.devdocs.json'; diff --git a/api_docs/kbn_shared_ux_storybook_mock.mdx b/api_docs/kbn_shared_ux_storybook_mock.mdx index f498d12560b4c..d43c306da505c 100644 --- a/api_docs/kbn_shared_ux_storybook_mock.mdx +++ b/api_docs/kbn_shared_ux_storybook_mock.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-storybook-mock title: "@kbn/shared-ux-storybook-mock" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-storybook-mock plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-storybook-mock'] --- import kbnSharedUxStorybookMockObj from './kbn_shared_ux_storybook_mock.devdocs.json'; diff --git a/api_docs/kbn_shared_ux_utility.mdx b/api_docs/kbn_shared_ux_utility.mdx index 3687903e988cf..ad470b123cf87 100644 --- a/api_docs/kbn_shared_ux_utility.mdx +++ b/api_docs/kbn_shared_ux_utility.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-utility title: "@kbn/shared-ux-utility" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-utility plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-utility'] --- import kbnSharedUxUtilityObj from './kbn_shared_ux_utility.devdocs.json'; diff --git a/api_docs/kbn_slo_schema.mdx b/api_docs/kbn_slo_schema.mdx index 3f4b246c65de3..8f349ec9bffdb 100644 --- a/api_docs/kbn_slo_schema.mdx +++ b/api_docs/kbn_slo_schema.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-slo-schema title: "@kbn/slo-schema" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/slo-schema plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/slo-schema'] --- import kbnSloSchemaObj from './kbn_slo_schema.devdocs.json'; diff --git a/api_docs/kbn_some_dev_log.mdx b/api_docs/kbn_some_dev_log.mdx index c21862f0592a8..05c653c1387ac 100644 --- a/api_docs/kbn_some_dev_log.mdx +++ b/api_docs/kbn_some_dev_log.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-some-dev-log title: "@kbn/some-dev-log" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/some-dev-log plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/some-dev-log'] --- import kbnSomeDevLogObj from './kbn_some_dev_log.devdocs.json'; diff --git a/api_docs/kbn_std.mdx b/api_docs/kbn_std.mdx index ce769543fdcf5..bd49cd228f030 100644 --- a/api_docs/kbn_std.mdx +++ b/api_docs/kbn_std.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-std title: "@kbn/std" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/std plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/std'] --- import kbnStdObj from './kbn_std.devdocs.json'; diff --git a/api_docs/kbn_stdio_dev_helpers.mdx b/api_docs/kbn_stdio_dev_helpers.mdx index 018f9d0b70b79..69dfc7a643350 100644 --- a/api_docs/kbn_stdio_dev_helpers.mdx +++ b/api_docs/kbn_stdio_dev_helpers.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-stdio-dev-helpers title: "@kbn/stdio-dev-helpers" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/stdio-dev-helpers plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/stdio-dev-helpers'] --- import kbnStdioDevHelpersObj from './kbn_stdio_dev_helpers.devdocs.json'; diff --git a/api_docs/kbn_storybook.mdx b/api_docs/kbn_storybook.mdx index b44d06615fed1..3578cc469364c 100644 --- a/api_docs/kbn_storybook.mdx +++ b/api_docs/kbn_storybook.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-storybook title: "@kbn/storybook" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/storybook plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/storybook'] --- import kbnStorybookObj from './kbn_storybook.devdocs.json'; diff --git a/api_docs/kbn_telemetry_tools.mdx b/api_docs/kbn_telemetry_tools.mdx index 2db5d2ad29d8f..509030762b523 100644 --- a/api_docs/kbn_telemetry_tools.mdx +++ b/api_docs/kbn_telemetry_tools.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-telemetry-tools title: "@kbn/telemetry-tools" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/telemetry-tools plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/telemetry-tools'] --- import kbnTelemetryToolsObj from './kbn_telemetry_tools.devdocs.json'; diff --git a/api_docs/kbn_test.mdx b/api_docs/kbn_test.mdx index 7c910c5bf6800..9fb40ee693332 100644 --- a/api_docs/kbn_test.mdx +++ b/api_docs/kbn_test.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-test title: "@kbn/test" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/test plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/test'] --- import kbnTestObj from './kbn_test.devdocs.json'; diff --git a/api_docs/kbn_test_jest_helpers.mdx b/api_docs/kbn_test_jest_helpers.mdx index 21e009f90f23b..778190dbcc68c 100644 --- a/api_docs/kbn_test_jest_helpers.mdx +++ b/api_docs/kbn_test_jest_helpers.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-test-jest-helpers title: "@kbn/test-jest-helpers" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/test-jest-helpers plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/test-jest-helpers'] --- import kbnTestJestHelpersObj from './kbn_test_jest_helpers.devdocs.json'; diff --git a/api_docs/kbn_test_subj_selector.mdx b/api_docs/kbn_test_subj_selector.mdx index 72b2e68a6b69e..9b5cf264dc543 100644 --- a/api_docs/kbn_test_subj_selector.mdx +++ b/api_docs/kbn_test_subj_selector.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-test-subj-selector title: "@kbn/test-subj-selector" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/test-subj-selector plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/test-subj-selector'] --- import kbnTestSubjSelectorObj from './kbn_test_subj_selector.devdocs.json'; diff --git a/api_docs/kbn_text_based_editor.mdx b/api_docs/kbn_text_based_editor.mdx index eb2ea8b9f310e..6836e37a2b6d0 100644 --- a/api_docs/kbn_text_based_editor.mdx +++ b/api_docs/kbn_text_based_editor.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-text-based-editor title: "@kbn/text-based-editor" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/text-based-editor plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/text-based-editor'] --- import kbnTextBasedEditorObj from './kbn_text_based_editor.devdocs.json'; diff --git a/api_docs/kbn_tooling_log.mdx b/api_docs/kbn_tooling_log.mdx index 10d019cf39351..a37127c1df535 100644 --- a/api_docs/kbn_tooling_log.mdx +++ b/api_docs/kbn_tooling_log.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-tooling-log title: "@kbn/tooling-log" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/tooling-log plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/tooling-log'] --- import kbnToolingLogObj from './kbn_tooling_log.devdocs.json'; diff --git a/api_docs/kbn_ts_projects.mdx b/api_docs/kbn_ts_projects.mdx index f12488980dcd0..e6ad644efc097 100644 --- a/api_docs/kbn_ts_projects.mdx +++ b/api_docs/kbn_ts_projects.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ts-projects title: "@kbn/ts-projects" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ts-projects plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ts-projects'] --- import kbnTsProjectsObj from './kbn_ts_projects.devdocs.json'; diff --git a/api_docs/kbn_typed_react_router_config.mdx b/api_docs/kbn_typed_react_router_config.mdx index 3df6a371d389a..99d8a3be6eafb 100644 --- a/api_docs/kbn_typed_react_router_config.mdx +++ b/api_docs/kbn_typed_react_router_config.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-typed-react-router-config title: "@kbn/typed-react-router-config" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/typed-react-router-config plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/typed-react-router-config'] --- import kbnTypedReactRouterConfigObj from './kbn_typed_react_router_config.devdocs.json'; diff --git a/api_docs/kbn_ui_actions_browser.mdx b/api_docs/kbn_ui_actions_browser.mdx index 33202d0f82205..91320501c8c49 100644 --- a/api_docs/kbn_ui_actions_browser.mdx +++ b/api_docs/kbn_ui_actions_browser.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ui-actions-browser title: "@kbn/ui-actions-browser" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ui-actions-browser plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ui-actions-browser'] --- import kbnUiActionsBrowserObj from './kbn_ui_actions_browser.devdocs.json'; diff --git a/api_docs/kbn_ui_shared_deps_src.mdx b/api_docs/kbn_ui_shared_deps_src.mdx index 130963e2b578b..c21357cf59ca9 100644 --- a/api_docs/kbn_ui_shared_deps_src.mdx +++ b/api_docs/kbn_ui_shared_deps_src.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ui-shared-deps-src title: "@kbn/ui-shared-deps-src" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ui-shared-deps-src plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ui-shared-deps-src'] --- import kbnUiSharedDepsSrcObj from './kbn_ui_shared_deps_src.devdocs.json'; diff --git a/api_docs/kbn_ui_theme.mdx b/api_docs/kbn_ui_theme.mdx index 975dcdb157dc1..75053d55c6053 100644 --- a/api_docs/kbn_ui_theme.mdx +++ b/api_docs/kbn_ui_theme.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ui-theme title: "@kbn/ui-theme" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ui-theme plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ui-theme'] --- import kbnUiThemeObj from './kbn_ui_theme.devdocs.json'; diff --git a/api_docs/kbn_unified_field_list.mdx b/api_docs/kbn_unified_field_list.mdx index b231cd5396a5d..74f9d98fb3c6d 100644 --- a/api_docs/kbn_unified_field_list.mdx +++ b/api_docs/kbn_unified_field_list.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-unified-field-list title: "@kbn/unified-field-list" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/unified-field-list plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/unified-field-list'] --- import kbnUnifiedFieldListObj from './kbn_unified_field_list.devdocs.json'; diff --git a/api_docs/kbn_url_state.mdx b/api_docs/kbn_url_state.mdx index 8940908d88b7b..7df4ed3cc75eb 100644 --- a/api_docs/kbn_url_state.mdx +++ b/api_docs/kbn_url_state.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-url-state title: "@kbn/url-state" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/url-state plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/url-state'] --- import kbnUrlStateObj from './kbn_url_state.devdocs.json'; diff --git a/api_docs/kbn_user_profile_components.mdx b/api_docs/kbn_user_profile_components.mdx index 9330b650be011..661ebd2b29200 100644 --- a/api_docs/kbn_user_profile_components.mdx +++ b/api_docs/kbn_user_profile_components.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-user-profile-components title: "@kbn/user-profile-components" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/user-profile-components plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/user-profile-components'] --- import kbnUserProfileComponentsObj from './kbn_user_profile_components.devdocs.json'; diff --git a/api_docs/kbn_utility_types.mdx b/api_docs/kbn_utility_types.mdx index 07f2e11fc8059..f3e6648cf6609 100644 --- a/api_docs/kbn_utility_types.mdx +++ b/api_docs/kbn_utility_types.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-utility-types title: "@kbn/utility-types" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/utility-types plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/utility-types'] --- import kbnUtilityTypesObj from './kbn_utility_types.devdocs.json'; diff --git a/api_docs/kbn_utility_types_jest.mdx b/api_docs/kbn_utility_types_jest.mdx index 37fac862d22c4..47e6d5f7920a9 100644 --- a/api_docs/kbn_utility_types_jest.mdx +++ b/api_docs/kbn_utility_types_jest.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-utility-types-jest title: "@kbn/utility-types-jest" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/utility-types-jest plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/utility-types-jest'] --- import kbnUtilityTypesJestObj from './kbn_utility_types_jest.devdocs.json'; diff --git a/api_docs/kbn_utils.mdx b/api_docs/kbn_utils.mdx index c9995db7527c0..c0fcebd583608 100644 --- a/api_docs/kbn_utils.mdx +++ b/api_docs/kbn_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-utils title: "@kbn/utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/utils plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/utils'] --- import kbnUtilsObj from './kbn_utils.devdocs.json'; diff --git a/api_docs/kbn_yarn_lock_validator.mdx b/api_docs/kbn_yarn_lock_validator.mdx index ac4d84753235a..346c1196c961e 100644 --- a/api_docs/kbn_yarn_lock_validator.mdx +++ b/api_docs/kbn_yarn_lock_validator.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-yarn-lock-validator title: "@kbn/yarn-lock-validator" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/yarn-lock-validator plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/yarn-lock-validator'] --- import kbnYarnLockValidatorObj from './kbn_yarn_lock_validator.devdocs.json'; diff --git a/api_docs/kibana_overview.mdx b/api_docs/kibana_overview.mdx index da4ca406160a0..a696d5baf5445 100644 --- a/api_docs/kibana_overview.mdx +++ b/api_docs/kibana_overview.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kibanaOverview title: "kibanaOverview" image: https://source.unsplash.com/400x175/?github description: API docs for the kibanaOverview plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'kibanaOverview'] --- import kibanaOverviewObj from './kibana_overview.devdocs.json'; diff --git a/api_docs/kibana_react.mdx b/api_docs/kibana_react.mdx index fba13ec85cccf..574684d60f3b7 100644 --- a/api_docs/kibana_react.mdx +++ b/api_docs/kibana_react.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kibanaReact title: "kibanaReact" image: https://source.unsplash.com/400x175/?github description: API docs for the kibanaReact plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'kibanaReact'] --- import kibanaReactObj from './kibana_react.devdocs.json'; diff --git a/api_docs/kibana_utils.mdx b/api_docs/kibana_utils.mdx index fd2d62f34874d..8372dee9c1396 100644 --- a/api_docs/kibana_utils.mdx +++ b/api_docs/kibana_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kibanaUtils title: "kibanaUtils" image: https://source.unsplash.com/400x175/?github description: API docs for the kibanaUtils plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'kibanaUtils'] --- import kibanaUtilsObj from './kibana_utils.devdocs.json'; diff --git a/api_docs/kubernetes_security.mdx b/api_docs/kubernetes_security.mdx index fed7c282611e3..7e6618b635024 100644 --- a/api_docs/kubernetes_security.mdx +++ b/api_docs/kubernetes_security.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kubernetesSecurity title: "kubernetesSecurity" image: https://source.unsplash.com/400x175/?github description: API docs for the kubernetesSecurity plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'kubernetesSecurity'] --- import kubernetesSecurityObj from './kubernetes_security.devdocs.json'; diff --git a/api_docs/lens.mdx b/api_docs/lens.mdx index 9784a5c315fc2..345edf69dfb80 100644 --- a/api_docs/lens.mdx +++ b/api_docs/lens.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/lens title: "lens" image: https://source.unsplash.com/400x175/?github description: API docs for the lens plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'lens'] --- import lensObj from './lens.devdocs.json'; diff --git a/api_docs/license_api_guard.mdx b/api_docs/license_api_guard.mdx index 4d69bb1383c38..1f99ec42829fc 100644 --- a/api_docs/license_api_guard.mdx +++ b/api_docs/license_api_guard.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/licenseApiGuard title: "licenseApiGuard" image: https://source.unsplash.com/400x175/?github description: API docs for the licenseApiGuard plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'licenseApiGuard'] --- import licenseApiGuardObj from './license_api_guard.devdocs.json'; diff --git a/api_docs/license_management.mdx b/api_docs/license_management.mdx index b15543a1cbde5..da55979194656 100644 --- a/api_docs/license_management.mdx +++ b/api_docs/license_management.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/licenseManagement title: "licenseManagement" image: https://source.unsplash.com/400x175/?github description: API docs for the licenseManagement plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'licenseManagement'] --- import licenseManagementObj from './license_management.devdocs.json'; diff --git a/api_docs/licensing.mdx b/api_docs/licensing.mdx index 37ea35b118b51..a42fc429ffcb2 100644 --- a/api_docs/licensing.mdx +++ b/api_docs/licensing.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/licensing title: "licensing" image: https://source.unsplash.com/400x175/?github description: API docs for the licensing plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'licensing'] --- import licensingObj from './licensing.devdocs.json'; diff --git a/api_docs/lists.mdx b/api_docs/lists.mdx index a4a114d004b2f..1f421c1bc023b 100644 --- a/api_docs/lists.mdx +++ b/api_docs/lists.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/lists title: "lists" image: https://source.unsplash.com/400x175/?github description: API docs for the lists plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'lists'] --- import listsObj from './lists.devdocs.json'; diff --git a/api_docs/logs_shared.mdx b/api_docs/logs_shared.mdx index e157d599f36d1..7e3b3fe90a1f9 100644 --- a/api_docs/logs_shared.mdx +++ b/api_docs/logs_shared.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/logsShared title: "logsShared" image: https://source.unsplash.com/400x175/?github description: API docs for the logsShared plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'logsShared'] --- import logsSharedObj from './logs_shared.devdocs.json'; diff --git a/api_docs/management.mdx b/api_docs/management.mdx index 61df6e5780206..7189862b96a19 100644 --- a/api_docs/management.mdx +++ b/api_docs/management.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/management title: "management" image: https://source.unsplash.com/400x175/?github description: API docs for the management plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'management'] --- import managementObj from './management.devdocs.json'; diff --git a/api_docs/maps.mdx b/api_docs/maps.mdx index 965bac3680e57..06b797e993e40 100644 --- a/api_docs/maps.mdx +++ b/api_docs/maps.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/maps title: "maps" image: https://source.unsplash.com/400x175/?github description: API docs for the maps plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'maps'] --- import mapsObj from './maps.devdocs.json'; diff --git a/api_docs/maps_ems.mdx b/api_docs/maps_ems.mdx index b23780648b12c..20aed9c29a962 100644 --- a/api_docs/maps_ems.mdx +++ b/api_docs/maps_ems.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/mapsEms title: "mapsEms" image: https://source.unsplash.com/400x175/?github description: API docs for the mapsEms plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'mapsEms'] --- import mapsEmsObj from './maps_ems.devdocs.json'; diff --git a/api_docs/ml.mdx b/api_docs/ml.mdx index 8e1eeb7a455cb..3a20255aafcfa 100644 --- a/api_docs/ml.mdx +++ b/api_docs/ml.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/ml title: "ml" image: https://source.unsplash.com/400x175/?github description: API docs for the ml plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'ml'] --- import mlObj from './ml.devdocs.json'; diff --git a/api_docs/monitoring.mdx b/api_docs/monitoring.mdx index d6caaa87d96f7..13c810a89e9a7 100644 --- a/api_docs/monitoring.mdx +++ b/api_docs/monitoring.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/monitoring title: "monitoring" image: https://source.unsplash.com/400x175/?github description: API docs for the monitoring plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'monitoring'] --- import monitoringObj from './monitoring.devdocs.json'; diff --git a/api_docs/monitoring_collection.mdx b/api_docs/monitoring_collection.mdx index 67837062e2b56..12dbb8a983ed9 100644 --- a/api_docs/monitoring_collection.mdx +++ b/api_docs/monitoring_collection.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/monitoringCollection title: "monitoringCollection" image: https://source.unsplash.com/400x175/?github description: API docs for the monitoringCollection plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'monitoringCollection'] --- import monitoringCollectionObj from './monitoring_collection.devdocs.json'; diff --git a/api_docs/navigation.mdx b/api_docs/navigation.mdx index 5740f6e2b9ae5..a634607bcadbd 100644 --- a/api_docs/navigation.mdx +++ b/api_docs/navigation.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/navigation title: "navigation" image: https://source.unsplash.com/400x175/?github description: API docs for the navigation plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'navigation'] --- import navigationObj from './navigation.devdocs.json'; diff --git a/api_docs/newsfeed.mdx b/api_docs/newsfeed.mdx index d9b1f41a9f811..b030db681f49a 100644 --- a/api_docs/newsfeed.mdx +++ b/api_docs/newsfeed.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/newsfeed title: "newsfeed" image: https://source.unsplash.com/400x175/?github description: API docs for the newsfeed plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'newsfeed'] --- import newsfeedObj from './newsfeed.devdocs.json'; diff --git a/api_docs/notifications.mdx b/api_docs/notifications.mdx index 33f75b3d24eb0..6be1d3b6a40b2 100644 --- a/api_docs/notifications.mdx +++ b/api_docs/notifications.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/notifications title: "notifications" image: https://source.unsplash.com/400x175/?github description: API docs for the notifications plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'notifications'] --- import notificationsObj from './notifications.devdocs.json'; diff --git a/api_docs/observability.mdx b/api_docs/observability.mdx index e59a0e443235a..e3991f30607e3 100644 --- a/api_docs/observability.mdx +++ b/api_docs/observability.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/observability title: "observability" image: https://source.unsplash.com/400x175/?github description: API docs for the observability plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'observability'] --- import observabilityObj from './observability.devdocs.json'; diff --git a/api_docs/observability_onboarding.mdx b/api_docs/observability_onboarding.mdx index ccf60fd0223d5..3a9e4887551e1 100644 --- a/api_docs/observability_onboarding.mdx +++ b/api_docs/observability_onboarding.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/observabilityOnboarding title: "observabilityOnboarding" image: https://source.unsplash.com/400x175/?github description: API docs for the observabilityOnboarding plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'observabilityOnboarding'] --- import observabilityOnboardingObj from './observability_onboarding.devdocs.json'; diff --git a/api_docs/observability_shared.mdx b/api_docs/observability_shared.mdx index 415208fcbdd29..78a1f5e81fae7 100644 --- a/api_docs/observability_shared.mdx +++ b/api_docs/observability_shared.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/observabilityShared title: "observabilityShared" image: https://source.unsplash.com/400x175/?github description: API docs for the observabilityShared plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'observabilityShared'] --- import observabilitySharedObj from './observability_shared.devdocs.json'; diff --git a/api_docs/osquery.mdx b/api_docs/osquery.mdx index 078d31769dc0e..bedd294382615 100644 --- a/api_docs/osquery.mdx +++ b/api_docs/osquery.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/osquery title: "osquery" image: https://source.unsplash.com/400x175/?github description: API docs for the osquery plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'osquery'] --- import osqueryObj from './osquery.devdocs.json'; diff --git a/api_docs/plugin_directory.mdx b/api_docs/plugin_directory.mdx index d6ca5aa0e0d92..e65003ea414ae 100644 --- a/api_docs/plugin_directory.mdx +++ b/api_docs/plugin_directory.mdx @@ -7,7 +7,7 @@ id: kibDevDocsPluginDirectory slug: /kibana-dev-docs/api-meta/plugin-api-directory title: Directory description: Directory of public APIs available through plugins or packages. -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana'] --- @@ -21,7 +21,7 @@ tags: ['contributor', 'dev', 'apidocs', 'kibana'] | API Count | Any Count | Missing comments | Missing exports | |--------------|----------|-----------------|--------| -| 71445 | 552 | 61202 | 1455 | +| 71459 | 552 | 61221 | 1459 | ## Plugin Directory @@ -42,7 +42,7 @@ tags: ['contributor', 'dev', 'apidocs', 'kibana'] | | [@elastic/kibana-core](https://github.com/orgs/elastic/teams/kibana-core) | Chat available on Elastic Cloud deployments for quicker assistance. | 3 | 0 | 2 | 0 | | | [@elastic/kibana-core](https://github.com/orgs/elastic/teams/kibana-core) | This plugin exists as a workaround for using `cloudChat` plugin in plugins which can't have a direct dependency on security plugin. | 5 | 0 | 5 | 0 | | | [@elastic/platform-onboarding](https://github.com/orgs/elastic/teams/platform-onboarding) | Static migration page where self-managed users can see text/copy about migrating to Elastic Cloud | 8 | 1 | 8 | 1 | -| | [@elastic/sec-cloudnative-integrations](https://github.com/orgs/elastic/teams/sec-cloudnative-integrations) | Defend for containers (D4C) | 24 | 0 | 16 | 2 | +| | [@elastic/sec-cloudnative-integrations](https://github.com/orgs/elastic/teams/sec-cloudnative-integrations) | Defend for containers (D4C) | 52 | 0 | 43 | 2 | | | [@elastic/kibana-core](https://github.com/orgs/elastic/teams/kibana-core) | Provides the necessary APIs to implement A/B testing scenarios, fetching the variations in configuration and reporting back metrics to track conversion rates of the experiments. | 12 | 0 | 0 | 0 | | cloudFullStory | [@elastic/kibana-core](https://github.com/orgs/elastic/teams/kibana-core) | When Kibana runs on Elastic Cloud, this plugin registers FullStory as a shipper for telemetry. | 0 | 0 | 0 | 0 | | cloudGainsight | [@elastic/kibana-core](https://github.com/orgs/elastic/teams/kibana-core) | When Kibana runs on Elastic Cloud, this plugin registers Gainsight as a shipper for telemetry. | 0 | 0 | 0 | 0 | @@ -67,7 +67,7 @@ tags: ['contributor', 'dev', 'apidocs', 'kibana'] | | [@elastic/kibana-data-discovery](https://github.com/orgs/elastic/teams/kibana-data-discovery) | - | 37 | 0 | 35 | 2 | | discoverLogExplorer | [@elastic/infra-monitoring-ui](https://github.com/orgs/elastic/teams/infra-monitoring-ui) | This plugin exposes and registers Logs+ features. | 0 | 0 | 0 | 0 | | | [@elastic/security-threat-hunting-investigations](https://github.com/orgs/elastic/teams/security-threat-hunting-investigations) | APIs used to assess the quality of data in Elasticsearch indexes | 2 | 0 | 0 | 0 | -| | [@elastic/kibana-presentation](https://github.com/orgs/elastic/teams/kibana-presentation) | Adds embeddables service to Kibana | 548 | 11 | 444 | 4 | +| | [@elastic/kibana-presentation](https://github.com/orgs/elastic/teams/kibana-presentation) | Adds embeddables service to Kibana | 532 | 11 | 434 | 7 | | | [@elastic/kibana-presentation](https://github.com/orgs/elastic/teams/kibana-presentation) | Extends embeddable plugin with more functionality | 14 | 0 | 14 | 0 | | | [@elastic/kibana-security](https://github.com/orgs/elastic/teams/kibana-security) | This plugin provides encryption and decryption utilities for saved objects containing sensitive information. | 51 | 0 | 44 | 0 | | | [@elastic/enterprise-search-frontend](https://github.com/orgs/elastic/teams/enterprise-search-frontend) | Adds dashboards for discovering and managing Enterprise Search products. | 10 | 0 | 10 | 0 | @@ -94,7 +94,7 @@ tags: ['contributor', 'dev', 'apidocs', 'kibana'] | | [@elastic/kibana-gis](https://github.com/orgs/elastic/teams/kibana-gis) | The file upload plugin contains components and services for uploading a file, analyzing its data, and then importing the data into an Elasticsearch index. Supported file types include CSV, TSV, newline-delimited JSON and GeoJSON. | 62 | 0 | 62 | 2 | | | [@elastic/appex-sharedux](https://github.com/orgs/elastic/teams/appex-sharedux) | File upload, download, sharing, and serving over HTTP implementation in Kibana. | 239 | 0 | 24 | 9 | | | [@elastic/appex-sharedux](https://github.com/orgs/elastic/teams/appex-sharedux) | Simple UI for managing files in Kibana | 2 | 1 | 2 | 0 | -| | [@elastic/fleet](https://github.com/orgs/elastic/teams/fleet) | - | 1180 | 3 | 1064 | 39 | +| | [@elastic/fleet](https://github.com/orgs/elastic/teams/fleet) | - | 1182 | 3 | 1066 | 40 | | ftrApis | [@elastic/kibana-core](https://github.com/orgs/elastic/teams/kibana-core) | - | 0 | 0 | 0 | 0 | | | [@elastic/appex-sharedux](https://github.com/orgs/elastic/teams/appex-sharedux) | - | 68 | 0 | 14 | 5 | | globalSearchBar | [@elastic/appex-sharedux](https://github.com/orgs/elastic/teams/appex-sharedux) | - | 0 | 0 | 0 | 0 | diff --git a/api_docs/presentation_util.mdx b/api_docs/presentation_util.mdx index ded5a3ba3d673..53fd34d8451c2 100644 --- a/api_docs/presentation_util.mdx +++ b/api_docs/presentation_util.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/presentationUtil title: "presentationUtil" image: https://source.unsplash.com/400x175/?github description: API docs for the presentationUtil plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'presentationUtil'] --- import presentationUtilObj from './presentation_util.devdocs.json'; diff --git a/api_docs/profiling.mdx b/api_docs/profiling.mdx index e3b66ea910ab7..7582d5cd6f38b 100644 --- a/api_docs/profiling.mdx +++ b/api_docs/profiling.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/profiling title: "profiling" image: https://source.unsplash.com/400x175/?github description: API docs for the profiling plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'profiling'] --- import profilingObj from './profiling.devdocs.json'; diff --git a/api_docs/remote_clusters.mdx b/api_docs/remote_clusters.mdx index f43e8d469ccf7..a7b0e4fea1669 100644 --- a/api_docs/remote_clusters.mdx +++ b/api_docs/remote_clusters.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/remoteClusters title: "remoteClusters" image: https://source.unsplash.com/400x175/?github description: API docs for the remoteClusters plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'remoteClusters'] --- import remoteClustersObj from './remote_clusters.devdocs.json'; diff --git a/api_docs/reporting.mdx b/api_docs/reporting.mdx index 36307f79a24f7..270835a793835 100644 --- a/api_docs/reporting.mdx +++ b/api_docs/reporting.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/reporting title: "reporting" image: https://source.unsplash.com/400x175/?github description: API docs for the reporting plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'reporting'] --- import reportingObj from './reporting.devdocs.json'; diff --git a/api_docs/reporting_export_types.mdx b/api_docs/reporting_export_types.mdx index 181fb399e36d1..75c235878db3c 100644 --- a/api_docs/reporting_export_types.mdx +++ b/api_docs/reporting_export_types.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/reportingExportTypes title: "reportingExportTypes" image: https://source.unsplash.com/400x175/?github description: API docs for the reportingExportTypes plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'reportingExportTypes'] --- import reportingExportTypesObj from './reporting_export_types.devdocs.json'; diff --git a/api_docs/rollup.mdx b/api_docs/rollup.mdx index 54f087daafead..2268d9e7091c2 100644 --- a/api_docs/rollup.mdx +++ b/api_docs/rollup.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/rollup title: "rollup" image: https://source.unsplash.com/400x175/?github description: API docs for the rollup plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'rollup'] --- import rollupObj from './rollup.devdocs.json'; diff --git a/api_docs/rule_registry.mdx b/api_docs/rule_registry.mdx index e3b0c762c4b8d..291349a091432 100644 --- a/api_docs/rule_registry.mdx +++ b/api_docs/rule_registry.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/ruleRegistry title: "ruleRegistry" image: https://source.unsplash.com/400x175/?github description: API docs for the ruleRegistry plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'ruleRegistry'] --- import ruleRegistryObj from './rule_registry.devdocs.json'; diff --git a/api_docs/runtime_fields.mdx b/api_docs/runtime_fields.mdx index 6592ab913b2d6..9414250f6d0dc 100644 --- a/api_docs/runtime_fields.mdx +++ b/api_docs/runtime_fields.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/runtimeFields title: "runtimeFields" image: https://source.unsplash.com/400x175/?github description: API docs for the runtimeFields plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'runtimeFields'] --- import runtimeFieldsObj from './runtime_fields.devdocs.json'; diff --git a/api_docs/saved_objects.mdx b/api_docs/saved_objects.mdx index 548e5115137af..8ec1300a7736b 100644 --- a/api_docs/saved_objects.mdx +++ b/api_docs/saved_objects.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/savedObjects title: "savedObjects" image: https://source.unsplash.com/400x175/?github description: API docs for the savedObjects plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'savedObjects'] --- import savedObjectsObj from './saved_objects.devdocs.json'; diff --git a/api_docs/saved_objects_finder.mdx b/api_docs/saved_objects_finder.mdx index 609bd130eb1ce..b3c91d5320846 100644 --- a/api_docs/saved_objects_finder.mdx +++ b/api_docs/saved_objects_finder.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/savedObjectsFinder title: "savedObjectsFinder" image: https://source.unsplash.com/400x175/?github description: API docs for the savedObjectsFinder plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'savedObjectsFinder'] --- import savedObjectsFinderObj from './saved_objects_finder.devdocs.json'; diff --git a/api_docs/saved_objects_management.mdx b/api_docs/saved_objects_management.mdx index 9d7469e6dc6de..54e12718c2a6b 100644 --- a/api_docs/saved_objects_management.mdx +++ b/api_docs/saved_objects_management.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/savedObjectsManagement title: "savedObjectsManagement" image: https://source.unsplash.com/400x175/?github description: API docs for the savedObjectsManagement plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'savedObjectsManagement'] --- import savedObjectsManagementObj from './saved_objects_management.devdocs.json'; diff --git a/api_docs/saved_objects_tagging.mdx b/api_docs/saved_objects_tagging.mdx index 68808e97c87f9..90c190899baf1 100644 --- a/api_docs/saved_objects_tagging.mdx +++ b/api_docs/saved_objects_tagging.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/savedObjectsTagging title: "savedObjectsTagging" image: https://source.unsplash.com/400x175/?github description: API docs for the savedObjectsTagging plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'savedObjectsTagging'] --- import savedObjectsTaggingObj from './saved_objects_tagging.devdocs.json'; diff --git a/api_docs/saved_objects_tagging_oss.mdx b/api_docs/saved_objects_tagging_oss.mdx index fa86feb77e613..77c3cee39bb3c 100644 --- a/api_docs/saved_objects_tagging_oss.mdx +++ b/api_docs/saved_objects_tagging_oss.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/savedObjectsTaggingOss title: "savedObjectsTaggingOss" image: https://source.unsplash.com/400x175/?github description: API docs for the savedObjectsTaggingOss plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'savedObjectsTaggingOss'] --- import savedObjectsTaggingOssObj from './saved_objects_tagging_oss.devdocs.json'; diff --git a/api_docs/saved_search.mdx b/api_docs/saved_search.mdx index 669780bd8e901..4f00ab430140b 100644 --- a/api_docs/saved_search.mdx +++ b/api_docs/saved_search.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/savedSearch title: "savedSearch" image: https://source.unsplash.com/400x175/?github description: API docs for the savedSearch plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'savedSearch'] --- import savedSearchObj from './saved_search.devdocs.json'; diff --git a/api_docs/screenshot_mode.mdx b/api_docs/screenshot_mode.mdx index 6876a95e05d29..019e14cd7bed3 100644 --- a/api_docs/screenshot_mode.mdx +++ b/api_docs/screenshot_mode.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/screenshotMode title: "screenshotMode" image: https://source.unsplash.com/400x175/?github description: API docs for the screenshotMode plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'screenshotMode'] --- import screenshotModeObj from './screenshot_mode.devdocs.json'; diff --git a/api_docs/screenshotting.mdx b/api_docs/screenshotting.mdx index b9622d8e77209..9c8110a235891 100644 --- a/api_docs/screenshotting.mdx +++ b/api_docs/screenshotting.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/screenshotting title: "screenshotting" image: https://source.unsplash.com/400x175/?github description: API docs for the screenshotting plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'screenshotting'] --- import screenshottingObj from './screenshotting.devdocs.json'; diff --git a/api_docs/security.mdx b/api_docs/security.mdx index 63b1850045c63..21ff3e3189c7b 100644 --- a/api_docs/security.mdx +++ b/api_docs/security.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/security title: "security" image: https://source.unsplash.com/400x175/?github description: API docs for the security plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'security'] --- import securityObj from './security.devdocs.json'; diff --git a/api_docs/security_solution.mdx b/api_docs/security_solution.mdx index 17c95ad2b3c73..a5aaef672275c 100644 --- a/api_docs/security_solution.mdx +++ b/api_docs/security_solution.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/securitySolution title: "securitySolution" image: https://source.unsplash.com/400x175/?github description: API docs for the securitySolution plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'securitySolution'] --- import securitySolutionObj from './security_solution.devdocs.json'; diff --git a/api_docs/security_solution_ess.mdx b/api_docs/security_solution_ess.mdx index 968a38b727cc7..523978a3bfd78 100644 --- a/api_docs/security_solution_ess.mdx +++ b/api_docs/security_solution_ess.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/securitySolutionEss title: "securitySolutionEss" image: https://source.unsplash.com/400x175/?github description: API docs for the securitySolutionEss plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'securitySolutionEss'] --- import securitySolutionEssObj from './security_solution_ess.devdocs.json'; diff --git a/api_docs/security_solution_serverless.mdx b/api_docs/security_solution_serverless.mdx index 32c30210a2514..e0d660d8399cb 100644 --- a/api_docs/security_solution_serverless.mdx +++ b/api_docs/security_solution_serverless.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/securitySolutionServerless title: "securitySolutionServerless" image: https://source.unsplash.com/400x175/?github description: API docs for the securitySolutionServerless plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'securitySolutionServerless'] --- import securitySolutionServerlessObj from './security_solution_serverless.devdocs.json'; diff --git a/api_docs/serverless.mdx b/api_docs/serverless.mdx index 73090305124c5..f1e8138a3fed2 100644 --- a/api_docs/serverless.mdx +++ b/api_docs/serverless.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/serverless title: "serverless" image: https://source.unsplash.com/400x175/?github description: API docs for the serverless plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'serverless'] --- import serverlessObj from './serverless.devdocs.json'; diff --git a/api_docs/serverless_observability.mdx b/api_docs/serverless_observability.mdx index ae0a7c7d1c076..f0637ce888617 100644 --- a/api_docs/serverless_observability.mdx +++ b/api_docs/serverless_observability.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/serverlessObservability title: "serverlessObservability" image: https://source.unsplash.com/400x175/?github description: API docs for the serverlessObservability plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'serverlessObservability'] --- import serverlessObservabilityObj from './serverless_observability.devdocs.json'; diff --git a/api_docs/serverless_search.mdx b/api_docs/serverless_search.mdx index e03812c429ebb..4975a56821982 100644 --- a/api_docs/serverless_search.mdx +++ b/api_docs/serverless_search.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/serverlessSearch title: "serverlessSearch" image: https://source.unsplash.com/400x175/?github description: API docs for the serverlessSearch plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'serverlessSearch'] --- import serverlessSearchObj from './serverless_search.devdocs.json'; diff --git a/api_docs/session_view.mdx b/api_docs/session_view.mdx index 06ff8c1ea8b72..9a06b39eecc30 100644 --- a/api_docs/session_view.mdx +++ b/api_docs/session_view.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/sessionView title: "sessionView" image: https://source.unsplash.com/400x175/?github description: API docs for the sessionView plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'sessionView'] --- import sessionViewObj from './session_view.devdocs.json'; diff --git a/api_docs/share.mdx b/api_docs/share.mdx index d50a4798848f4..333ba9bc9dc53 100644 --- a/api_docs/share.mdx +++ b/api_docs/share.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/share title: "share" image: https://source.unsplash.com/400x175/?github description: API docs for the share plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'share'] --- import shareObj from './share.devdocs.json'; diff --git a/api_docs/snapshot_restore.mdx b/api_docs/snapshot_restore.mdx index 01f0f504dc321..0730606b38753 100644 --- a/api_docs/snapshot_restore.mdx +++ b/api_docs/snapshot_restore.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/snapshotRestore title: "snapshotRestore" image: https://source.unsplash.com/400x175/?github description: API docs for the snapshotRestore plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'snapshotRestore'] --- import snapshotRestoreObj from './snapshot_restore.devdocs.json'; diff --git a/api_docs/spaces.mdx b/api_docs/spaces.mdx index cf1da9f45e88f..97b799d9f9b00 100644 --- a/api_docs/spaces.mdx +++ b/api_docs/spaces.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/spaces title: "spaces" image: https://source.unsplash.com/400x175/?github description: API docs for the spaces plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'spaces'] --- import spacesObj from './spaces.devdocs.json'; diff --git a/api_docs/stack_alerts.mdx b/api_docs/stack_alerts.mdx index 7b8894cdc1c4a..cd7ca829ad628 100644 --- a/api_docs/stack_alerts.mdx +++ b/api_docs/stack_alerts.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/stackAlerts title: "stackAlerts" image: https://source.unsplash.com/400x175/?github description: API docs for the stackAlerts plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'stackAlerts'] --- import stackAlertsObj from './stack_alerts.devdocs.json'; diff --git a/api_docs/stack_connectors.mdx b/api_docs/stack_connectors.mdx index 1a7bed4a20f29..5c136b97e2b0f 100644 --- a/api_docs/stack_connectors.mdx +++ b/api_docs/stack_connectors.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/stackConnectors title: "stackConnectors" image: https://source.unsplash.com/400x175/?github description: API docs for the stackConnectors plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'stackConnectors'] --- import stackConnectorsObj from './stack_connectors.devdocs.json'; diff --git a/api_docs/task_manager.mdx b/api_docs/task_manager.mdx index 51ed607978766..f5a6b6619aa6d 100644 --- a/api_docs/task_manager.mdx +++ b/api_docs/task_manager.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/taskManager title: "taskManager" image: https://source.unsplash.com/400x175/?github description: API docs for the taskManager plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'taskManager'] --- import taskManagerObj from './task_manager.devdocs.json'; diff --git a/api_docs/telemetry.mdx b/api_docs/telemetry.mdx index b6c5f6b34fb6c..fcd2298ee82e9 100644 --- a/api_docs/telemetry.mdx +++ b/api_docs/telemetry.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/telemetry title: "telemetry" image: https://source.unsplash.com/400x175/?github description: API docs for the telemetry plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'telemetry'] --- import telemetryObj from './telemetry.devdocs.json'; diff --git a/api_docs/telemetry_collection_manager.mdx b/api_docs/telemetry_collection_manager.mdx index 928a5a8180957..f89c8e1073b7d 100644 --- a/api_docs/telemetry_collection_manager.mdx +++ b/api_docs/telemetry_collection_manager.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/telemetryCollectionManager title: "telemetryCollectionManager" image: https://source.unsplash.com/400x175/?github description: API docs for the telemetryCollectionManager plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'telemetryCollectionManager'] --- import telemetryCollectionManagerObj from './telemetry_collection_manager.devdocs.json'; diff --git a/api_docs/telemetry_collection_xpack.mdx b/api_docs/telemetry_collection_xpack.mdx index d7379aaa0e6e6..2428fa33744ad 100644 --- a/api_docs/telemetry_collection_xpack.mdx +++ b/api_docs/telemetry_collection_xpack.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/telemetryCollectionXpack title: "telemetryCollectionXpack" image: https://source.unsplash.com/400x175/?github description: API docs for the telemetryCollectionXpack plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'telemetryCollectionXpack'] --- import telemetryCollectionXpackObj from './telemetry_collection_xpack.devdocs.json'; diff --git a/api_docs/telemetry_management_section.mdx b/api_docs/telemetry_management_section.mdx index 1f961fbbbc15b..814d0f093cbe3 100644 --- a/api_docs/telemetry_management_section.mdx +++ b/api_docs/telemetry_management_section.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/telemetryManagementSection title: "telemetryManagementSection" image: https://source.unsplash.com/400x175/?github description: API docs for the telemetryManagementSection plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'telemetryManagementSection'] --- import telemetryManagementSectionObj from './telemetry_management_section.devdocs.json'; diff --git a/api_docs/text_based_languages.mdx b/api_docs/text_based_languages.mdx index 6d68ac1c85e7d..9409362c65377 100644 --- a/api_docs/text_based_languages.mdx +++ b/api_docs/text_based_languages.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/textBasedLanguages title: "textBasedLanguages" image: https://source.unsplash.com/400x175/?github description: API docs for the textBasedLanguages plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'textBasedLanguages'] --- import textBasedLanguagesObj from './text_based_languages.devdocs.json'; diff --git a/api_docs/threat_intelligence.mdx b/api_docs/threat_intelligence.mdx index f9c843103f1ba..ba6fe0c105e29 100644 --- a/api_docs/threat_intelligence.mdx +++ b/api_docs/threat_intelligence.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/threatIntelligence title: "threatIntelligence" image: https://source.unsplash.com/400x175/?github description: API docs for the threatIntelligence plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'threatIntelligence'] --- import threatIntelligenceObj from './threat_intelligence.devdocs.json'; diff --git a/api_docs/timelines.mdx b/api_docs/timelines.mdx index dfee7b0572147..f4e05f445b30a 100644 --- a/api_docs/timelines.mdx +++ b/api_docs/timelines.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/timelines title: "timelines" image: https://source.unsplash.com/400x175/?github description: API docs for the timelines plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'timelines'] --- import timelinesObj from './timelines.devdocs.json'; diff --git a/api_docs/transform.mdx b/api_docs/transform.mdx index e4ec13e628739..471e4a2de7b18 100644 --- a/api_docs/transform.mdx +++ b/api_docs/transform.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/transform title: "transform" image: https://source.unsplash.com/400x175/?github description: API docs for the transform plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'transform'] --- import transformObj from './transform.devdocs.json'; diff --git a/api_docs/triggers_actions_ui.mdx b/api_docs/triggers_actions_ui.mdx index d6c3cd9940b04..2ffa0b4e97bba 100644 --- a/api_docs/triggers_actions_ui.mdx +++ b/api_docs/triggers_actions_ui.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/triggersActionsUi title: "triggersActionsUi" image: https://source.unsplash.com/400x175/?github description: API docs for the triggersActionsUi plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'triggersActionsUi'] --- import triggersActionsUiObj from './triggers_actions_ui.devdocs.json'; diff --git a/api_docs/ui_actions.mdx b/api_docs/ui_actions.mdx index 24381d95a0f9b..32c8bb15f7c5d 100644 --- a/api_docs/ui_actions.mdx +++ b/api_docs/ui_actions.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/uiActions title: "uiActions" image: https://source.unsplash.com/400x175/?github description: API docs for the uiActions plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'uiActions'] --- import uiActionsObj from './ui_actions.devdocs.json'; diff --git a/api_docs/ui_actions_enhanced.mdx b/api_docs/ui_actions_enhanced.mdx index 49b31c31578f3..52ffda62e7d90 100644 --- a/api_docs/ui_actions_enhanced.mdx +++ b/api_docs/ui_actions_enhanced.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/uiActionsEnhanced title: "uiActionsEnhanced" image: https://source.unsplash.com/400x175/?github description: API docs for the uiActionsEnhanced plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'uiActionsEnhanced'] --- import uiActionsEnhancedObj from './ui_actions_enhanced.devdocs.json'; diff --git a/api_docs/unified_histogram.mdx b/api_docs/unified_histogram.mdx index e184723036da4..eb85f4942b370 100644 --- a/api_docs/unified_histogram.mdx +++ b/api_docs/unified_histogram.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/unifiedHistogram title: "unifiedHistogram" image: https://source.unsplash.com/400x175/?github description: API docs for the unifiedHistogram plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'unifiedHistogram'] --- import unifiedHistogramObj from './unified_histogram.devdocs.json'; diff --git a/api_docs/unified_search.mdx b/api_docs/unified_search.mdx index fe1fd966de53e..dac429d6ee5eb 100644 --- a/api_docs/unified_search.mdx +++ b/api_docs/unified_search.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/unifiedSearch title: "unifiedSearch" image: https://source.unsplash.com/400x175/?github description: API docs for the unifiedSearch plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'unifiedSearch'] --- import unifiedSearchObj from './unified_search.devdocs.json'; diff --git a/api_docs/unified_search_autocomplete.mdx b/api_docs/unified_search_autocomplete.mdx index b141c17828df1..595c50dddc65a 100644 --- a/api_docs/unified_search_autocomplete.mdx +++ b/api_docs/unified_search_autocomplete.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/unifiedSearch-autocomplete title: "unifiedSearch.autocomplete" image: https://source.unsplash.com/400x175/?github description: API docs for the unifiedSearch.autocomplete plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'unifiedSearch.autocomplete'] --- import unifiedSearchAutocompleteObj from './unified_search_autocomplete.devdocs.json'; diff --git a/api_docs/url_forwarding.mdx b/api_docs/url_forwarding.mdx index 632c949473e1a..edb82255bb712 100644 --- a/api_docs/url_forwarding.mdx +++ b/api_docs/url_forwarding.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/urlForwarding title: "urlForwarding" image: https://source.unsplash.com/400x175/?github description: API docs for the urlForwarding plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'urlForwarding'] --- import urlForwardingObj from './url_forwarding.devdocs.json'; diff --git a/api_docs/usage_collection.mdx b/api_docs/usage_collection.mdx index bc69a2cbece52..5a54d0b6769ea 100644 --- a/api_docs/usage_collection.mdx +++ b/api_docs/usage_collection.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/usageCollection title: "usageCollection" image: https://source.unsplash.com/400x175/?github description: API docs for the usageCollection plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'usageCollection'] --- import usageCollectionObj from './usage_collection.devdocs.json'; diff --git a/api_docs/ux.mdx b/api_docs/ux.mdx index 4fc334752311d..d3e34a9be9929 100644 --- a/api_docs/ux.mdx +++ b/api_docs/ux.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/ux title: "ux" image: https://source.unsplash.com/400x175/?github description: API docs for the ux plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'ux'] --- import uxObj from './ux.devdocs.json'; diff --git a/api_docs/vis_default_editor.mdx b/api_docs/vis_default_editor.mdx index 118e1d29d5bd4..47fe8087268e5 100644 --- a/api_docs/vis_default_editor.mdx +++ b/api_docs/vis_default_editor.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/visDefaultEditor title: "visDefaultEditor" image: https://source.unsplash.com/400x175/?github description: API docs for the visDefaultEditor plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'visDefaultEditor'] --- import visDefaultEditorObj from './vis_default_editor.devdocs.json'; diff --git a/api_docs/vis_type_gauge.mdx b/api_docs/vis_type_gauge.mdx index b794c95d7afd8..6d01fc34d315e 100644 --- a/api_docs/vis_type_gauge.mdx +++ b/api_docs/vis_type_gauge.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/visTypeGauge title: "visTypeGauge" image: https://source.unsplash.com/400x175/?github description: API docs for the visTypeGauge plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'visTypeGauge'] --- import visTypeGaugeObj from './vis_type_gauge.devdocs.json'; diff --git a/api_docs/vis_type_heatmap.mdx b/api_docs/vis_type_heatmap.mdx index fd70311bfaf02..1ff6e28c7e103 100644 --- a/api_docs/vis_type_heatmap.mdx +++ b/api_docs/vis_type_heatmap.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/visTypeHeatmap title: "visTypeHeatmap" image: https://source.unsplash.com/400x175/?github description: API docs for the visTypeHeatmap plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'visTypeHeatmap'] --- import visTypeHeatmapObj from './vis_type_heatmap.devdocs.json'; diff --git a/api_docs/vis_type_pie.mdx b/api_docs/vis_type_pie.mdx index e1ccbedaed3bb..1ab7fbe1b670a 100644 --- a/api_docs/vis_type_pie.mdx +++ b/api_docs/vis_type_pie.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/visTypePie title: "visTypePie" image: https://source.unsplash.com/400x175/?github description: API docs for the visTypePie plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'visTypePie'] --- import visTypePieObj from './vis_type_pie.devdocs.json'; diff --git a/api_docs/vis_type_table.mdx b/api_docs/vis_type_table.mdx index 23f1a6424cdcb..74f8092fdcd2f 100644 --- a/api_docs/vis_type_table.mdx +++ b/api_docs/vis_type_table.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/visTypeTable title: "visTypeTable" image: https://source.unsplash.com/400x175/?github description: API docs for the visTypeTable plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'visTypeTable'] --- import visTypeTableObj from './vis_type_table.devdocs.json'; diff --git a/api_docs/vis_type_timelion.mdx b/api_docs/vis_type_timelion.mdx index 2785ee2bedaa8..ea8c1274788cc 100644 --- a/api_docs/vis_type_timelion.mdx +++ b/api_docs/vis_type_timelion.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/visTypeTimelion title: "visTypeTimelion" image: https://source.unsplash.com/400x175/?github description: API docs for the visTypeTimelion plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'visTypeTimelion'] --- import visTypeTimelionObj from './vis_type_timelion.devdocs.json'; diff --git a/api_docs/vis_type_timeseries.mdx b/api_docs/vis_type_timeseries.mdx index 69e8881987b5f..4497030e5b1b1 100644 --- a/api_docs/vis_type_timeseries.mdx +++ b/api_docs/vis_type_timeseries.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/visTypeTimeseries title: "visTypeTimeseries" image: https://source.unsplash.com/400x175/?github description: API docs for the visTypeTimeseries plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'visTypeTimeseries'] --- import visTypeTimeseriesObj from './vis_type_timeseries.devdocs.json'; diff --git a/api_docs/vis_type_vega.mdx b/api_docs/vis_type_vega.mdx index 97a4281752cda..5cbab0bab9298 100644 --- a/api_docs/vis_type_vega.mdx +++ b/api_docs/vis_type_vega.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/visTypeVega title: "visTypeVega" image: https://source.unsplash.com/400x175/?github description: API docs for the visTypeVega plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'visTypeVega'] --- import visTypeVegaObj from './vis_type_vega.devdocs.json'; diff --git a/api_docs/vis_type_vislib.mdx b/api_docs/vis_type_vislib.mdx index 5c43468aa0f60..da66abf77ea8e 100644 --- a/api_docs/vis_type_vislib.mdx +++ b/api_docs/vis_type_vislib.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/visTypeVislib title: "visTypeVislib" image: https://source.unsplash.com/400x175/?github description: API docs for the visTypeVislib plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'visTypeVislib'] --- import visTypeVislibObj from './vis_type_vislib.devdocs.json'; diff --git a/api_docs/vis_type_xy.mdx b/api_docs/vis_type_xy.mdx index dcd788a7616da..94e0701062924 100644 --- a/api_docs/vis_type_xy.mdx +++ b/api_docs/vis_type_xy.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/visTypeXy title: "visTypeXy" image: https://source.unsplash.com/400x175/?github description: API docs for the visTypeXy plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'visTypeXy'] --- import visTypeXyObj from './vis_type_xy.devdocs.json'; diff --git a/api_docs/visualization_ui_components.mdx b/api_docs/visualization_ui_components.mdx index 3beaac9d9d08e..0537213bd9cdf 100644 --- a/api_docs/visualization_ui_components.mdx +++ b/api_docs/visualization_ui_components.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/visualizationUiComponents title: "visualizationUiComponents" image: https://source.unsplash.com/400x175/?github description: API docs for the visualizationUiComponents plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'visualizationUiComponents'] --- import visualizationUiComponentsObj from './visualization_ui_components.devdocs.json'; diff --git a/api_docs/visualizations.devdocs.json b/api_docs/visualizations.devdocs.json index 75d59826bdfbe..8a706378ff23e 100644 --- a/api_docs/visualizations.devdocs.json +++ b/api_docs/visualizations.devdocs.json @@ -6390,7 +6390,15 @@ "section": "def-public.VisualizeInput", "text": "VisualizeInput" }, - ">) => void; render: (domNode: HTMLElement) => Promise; getFilters: () => Promise<", + ">) => void; openInspector: () => ", + { + "pluginId": "@kbn/core-mount-utils-browser", + "scope": "common", + "docId": "kibKbnCoreMountUtilsBrowserPluginApi", + "section": "def-common.OverlayRef", + "text": "OverlayRef" + }, + " | undefined; render: (domNode: HTMLElement) => Promise; getFilters: () => Promise<", { "pluginId": "@kbn/es-query", "scope": "common", @@ -6422,14 +6430,6 @@ "section": "def-common.Adapters", "text": "Adapters" }, - " | undefined; openInspector: () => ", - { - "pluginId": "@kbn/core-mount-utils-browser", - "scope": "common", - "docId": "kibKbnCoreMountUtilsBrowserPluginApi", - "section": "def-common.OverlayRef", - "text": "OverlayRef" - }, " | undefined; transferCustomizationsToUiState: () => void; hasInspector: () => boolean; onContainerLoading: () => void; onContainerData: () => void; onContainerRender: () => void; onContainerError: (error: ", { "pluginId": "expressions", diff --git a/api_docs/visualizations.mdx b/api_docs/visualizations.mdx index 85f08cb6f5b4a..72ddb254498f0 100644 --- a/api_docs/visualizations.mdx +++ b/api_docs/visualizations.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/visualizations title: "visualizations" image: https://source.unsplash.com/400x175/?github description: API docs for the visualizations plugin -date: 2023-07-17 +date: 2023-07-18 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'visualizations'] --- import visualizationsObj from './visualizations.devdocs.json'; diff --git a/docs/api-generated/rules/rule-apis-passthru.asciidoc b/docs/api-generated/rules/rule-apis-passthru.asciidoc index e1cf66a214f31..fdcc9bc78bfd5 100644 --- a/docs/api-generated/rules/rule-apis-passthru.asciidoc +++ b/docs/api-generated/rules/rule-apis-passthru.asciidoc @@ -53,7 +53,7 @@ Any modifications made to this file will be overwritten. Up
post /s/{spaceId}/api/alerting/rule
Creates a rule with a randomly generated rule identifier. (createRule)
-
You must have all privileges for the appropriate Kibana features, depending on the consumer and rule_type_id of the rule you're creating. For example, you must have privileges for the Management > Stack rules feature, Analytics > Discover and Machine Learning features, Observability features, or Security features. If the rule has actions, you must also have read privileges for the Management > Actions and Connectors feature. NOTE: This API supports only token-based authentication. When you create a rule, it identifies which roles you have at that point in time. Thereafter, when the rule performs queries, it uses those security privileges. If a user with different privileges updates the rule, its behavior might change.
+
To create a rule, you must have all privileges for the appropriate Kibana features, depending on the consumer and rule_type_id of the rule you're creating. For example, you must have privileges for the Management > Stack rules feature, Analytics > Discover and Machine Learning features, Observability features, or Security features. If the rule has actions, you must also have read privileges for the Management > Actions and Connectors feature. This API supports both key- and token-based authentication. To use key-based authentication, create an API key in Kibana and use it in the header of the API call. To use token-based authentication, provide a username and password; an API key that matches the current privileges of the user is created automatically. In both cases, the API key is subsequently used for authorization when the rule runs.

Path parameters

@@ -289,7 +289,7 @@ Any modifications made to this file will be overwritten. Up
post /s/{spaceId}/api/alerting/rule/{ruleId}
Creates a rule with a specific rule identifier. (createRuleId)
-
You must have all privileges for the appropriate Kibana features, depending on the consumer and rule_type_id of the rule you're creating. For example, you must have privileges for the Management > Stack rules feature, Analytics > Discover and Machine Learning features, Observability features, or Security features. If the rule has actions, you must also have read privileges for the Management > Actions and Connectors feature. NOTE: This API supports only token-based authentication. When you create a rule, it identifies which roles you have at that point in time. Thereafter, when the rule performs queries, it uses those security privileges. If a user with different privileges updates the rule, its behavior might change.
+
To create a rule, you must have all privileges for the appropriate Kibana features, depending on the consumer and rule_type_id of the rule you're creating. For example, you must have privileges for the Management > Stack rules feature, Analytics > Discover and Machine Learning features, Observability features, or Security features. If the rule has actions, you must also have read privileges for the Management > Actions and Connectors feature. This API supports both key- and token-based authentication. To use key-based authentication, create an API key in Kibana and use it in the header of the API call. To use token-based authentication, provide a username and password; an API key that matches the current privileges of the user is created automatically. In both cases, the API key is subsequently used for authorization when the rule runs.

Path parameters

@@ -527,7 +527,7 @@ Any modifications made to this file will be overwritten. Up
delete /s/{spaceId}/api/alerting/rule/{ruleId}
Deletes a rule. (deleteRule)
-
You must have all privileges for the appropriate Kibana features, depending on the consumer and rule_type_id of the rule you're deleting. For example, the Management > Stack Rules feature, Analytics > Discover or Machine Learning features, Observability, or Security features. WARNING: After you delete a rule, you cannot recover it.
+
To delete a rule, you must have all privileges for the appropriate Kibana features, depending on the consumer and rule_type_id of the rule you're deleting. For example, the Management > Stack Rules feature, Analytics > Discover or Machine Learning features, Observability, or Security features. WARNING: After you delete a rule, you cannot recover it. If the API key that is used by the rule was created automatically, it is deleted.

Path parameters

@@ -629,7 +629,7 @@ Any modifications made to this file will be overwritten. Up
post /s/{spaceId}/api/alerting/rule/{ruleId}/_enable
Enables a rule. (enableRule)
-
This API supports token-based authentication only. You must have all privileges for the appropriate Kibana features, depending on the consumer and rule_type_id of the rule. For example, the Management > Stack Rules feature, Analytics > Discover and Machine Learning features, Observability, and Security features.
+
To enable a rule, you must have all privileges for the appropriate Kibana features, depending on the consumer and rule_type_id of the rule. For example, the Management > Stack Rules feature, Analytics > Discover and Machine Learning features, Observability, and Security features. This API supports both key- and token-based authentication. To use key-based authentication, create an API key in Kibana and use it in the header of the API call. To use token-based authentication, provide a username and password; an API key that matches the current privileges of the user is created automatically. In both cases, the API key is subsequently used for authorization when the rule runs.

Path parameters

@@ -2594,7 +2594,7 @@ Any modifications made to this file will be overwritten. Up
put /s/{spaceId}/api/alerting/rule/{ruleId}
Updates the attributes for a rule. (updateRule)
-
You must have all privileges for the appropriate Kibana features, depending on the consumer and rule_type_id of the rule you're updating. For example, you must have privileges for the Management > Stack rules feature, Analytics > Discover and Machine Learning features, Observability features, or Security features. If the rule has actions, you must also have read privileges for the Management > Actions and Connectors feature. NOTE: This API supports only token-based authentication. When you update a rule, it identifies which roles you have at that point in time. Thereafter, when the rule performs queries, it uses those security privileges. If you have different privileges than the user that created or most recently updated the rule, you might change its behavior. Though some properties are optional, when you update the rule the existing property values are overwritten with default values. Therefore, it is recommended to explicitly set all property values.
+
To update a rule, you must have all privileges for the appropriate Kibana features, depending on the consumer and rule_type_id of the rule you're updating. For example, you must have privileges for the Management > Stack rules feature, Analytics > Discover and Machine Learning features, Observability features, or Security features. If the rule has actions, you must also have read privileges for the Management > Actions and Connectors feature. This API supports both key- and token-based authentication. To use key-based authentication, create an API key in Kibana and use it in the header of the API call. To use token-based authentication, provide a username and password; an API key that matches the current privileges of the user is created automatically. In both cases, the API key is subsequently used for authorization when the rule runs. NOTE: If the API key has different privileges than the key that created or most recently updated the rule, the rule behavior might change. Though some properties are optional, when you update the rule the existing property values are overwritten with default values. Therefore, it is recommended to explicitly set all property values.

Path parameters

diff --git a/docs/api/alerting/create_rule.asciidoc b/docs/api/alerting/create_rule.asciidoc index c5e5bec9d061f..2bce4a1c49193 100644 --- a/docs/api/alerting/create_rule.asciidoc +++ b/docs/api/alerting/create_rule.asciidoc @@ -30,17 +30,6 @@ you must also have `read` privileges for the *Management* > *{connectors-feature}* feature. For more details, refer to <>. -=== {api-description-title} - -[WARNING] -==== -* This API supports only -<>. -* When you create a rule, it identifies which roles you have at that point in time. -Thereafter, when the rule performs queries, it uses those security privileges. -If a user with different privileges updates the rule, its behavior might change. -==== - [[create-rule-api-path-params]] === {api-path-parms-title} diff --git a/docs/api/alerting/update_rule.asciidoc b/docs/api/alerting/update_rule.asciidoc index 0db4c2cf38195..11ca1dc35fc85 100644 --- a/docs/api/alerting/update_rule.asciidoc +++ b/docs/api/alerting/update_rule.asciidoc @@ -29,21 +29,6 @@ features, *{observability}*, or *Security* features. If the rule has *{connectors-feature}* feature. For more details, refer to <>. -=== {api-description-title} - -[WARNING] -==== -* This API supports only -<>. -* When you update a rule, it identifies which roles you have at that point in time. -Thereafter, when the rule performs queries, it uses those security privileges. -If you have different privileges than the user that created or most recently -updated the rule, you might change its behavior. -* Though some properties are optional, when you update the rule the existing -property values are overwritten with default values. Therefore, it is -recommended to explicitly set all property values. -==== - [[update-rule-api-path-params]] === {api-path-parms-title} diff --git a/docs/user/alerting/alerting-setup.asciidoc b/docs/user/alerting/alerting-setup.asciidoc index 0a2e35d0abceb..8987d2d3370a0 100644 --- a/docs/user/alerting/alerting-setup.asciidoc +++ b/docs/user/alerting/alerting-setup.asciidoc @@ -4,6 +4,11 @@ Set up ++++ +:frontmatter-description: Prerequisites and production considerations for using {kib} {alert-features}. +:frontmatter-tags-products: [alerting] +:frontmatter-tags-content-type: [other] +:frontmatter-tags-user-goals: [configure] + {kib} {alert-features} are automatically enabled, but might require some additional configuration. @@ -77,27 +82,26 @@ A rule or connector created in one space will not be visible in another. Rules are authorized using an API key. Its credentials are used to run all background tasks associated with the rule, including condition checks like {es} queries and triggered actions. -You can create API keys and use them in the header of your API calls as described in <>. -If you create or edit a rule in {kib}, an API key is created that captures a snapshot of your privileges at the time of the edit. The following actions regenerate the API key in {kib}: +If you create or edit a rule in {kib}, an API key is created that captures a snapshot of your privileges at the time of the edit. +The following actions regenerate the API key in {kib}: * Creating a rule * Updating a rule -When you disable a rule, it retains the associated API key which is reused when -the rule is enabled. If the API key is missing when you enable the rule (for -example, in the case of imported rules), it generates a new key that has your -security privileges. +When you disable a rule, it retains the associated API key which is reused when the rule is enabled. +If the API key is missing when you enable the rule (for example, in the case of imported rules), it generates a new key that has your security privileges. + +You can update an API key manually in **{stack-manage-app} > {rules-ui}** or in the rule details page by selecting **Update API key** in the actions menu. -You can update an API key manually in -**{stack-manage-app} > {rules-ui}** or in the rule details page by selecting -**Update API key** in the actions menu. +If you manage your rules by using {kib} APIs, they support support both key- and token-based authentication as described in <>. +To use key-based authentication, create API keys and use them in the header of your API calls as described in <>. +To use token-based authentication, provide a username and password; an API key that matches the current privileges of the user is created automatically. +In both cases, the API key is subsequently associated with the rule and used when it runs. [IMPORTANT] ============================================== -If a rule requires certain privileges, such as index privileges, to run and a -user without those privileges updates the rule, the rule will no longer -function. Conversely, if a user with greater or administrator privileges -modifies the rule, it will begin running with increased privileges. +If a rule requires certain privileges, such as index privileges, to run and a user without those privileges updates the rule, the rule will no longer function. +Conversely, if a user with greater or administrator privileges modifies the rule, it will begin running with increased privileges. The same behavior occurs when you change the API key in the header of your API calls. ============================================== diff --git a/packages/content-management/tabbed_table_list_view/src/tabbed_table_list_view.tsx b/packages/content-management/tabbed_table_list_view/src/tabbed_table_list_view.tsx index 9872e35d90c88..e1cd59f9a1378 100644 --- a/packages/content-management/tabbed_table_list_view/src/tabbed_table_list_view.tsx +++ b/packages/content-management/tabbed_table_list_view/src/tabbed_table_list_view.tsx @@ -47,23 +47,23 @@ export const TabbedTableListView = ({ [activeTabId, tabs] ); + const onFetchSuccess = useCallback(() => { + setHasInitialFetchReturned(true); + }, []); + const [tableList, setTableList] = useState(null); useEffect(() => { async function loadTableList() { const newTableList = await getActiveTab().getTableList({ - onFetchSuccess: () => { - if (!hasInitialFetchReturned) { - setHasInitialFetchReturned(true); - } - }, + onFetchSuccess, setPageDataTestSubject, }); setTableList(newTableList); } loadTableList(); - }, [hasInitialFetchReturned, activeTabId, tabs, getActiveTab]); + }, [activeTabId, tabs, getActiveTab, onFetchSuccess]); return ( diff --git a/packages/content-management/table_list_view/src/table_list_view.tsx b/packages/content-management/table_list_view/src/table_list_view.tsx index 71b08f82174bb..71e9f95bbf581 100644 --- a/packages/content-management/table_list_view/src/table_list_view.tsx +++ b/packages/content-management/table_list_view/src/table_list_view.tsx @@ -82,10 +82,8 @@ export const TableListView = ({ const [pageDataTestSubject, setPageDataTestSubject] = useState(); const onFetchSuccess = useCallback(() => { - if (!hasInitialFetchReturned) { - setHasInitialFetchReturned(true); - } - }, [hasInitialFetchReturned]); + setHasInitialFetchReturned(true); + }, []); return ( diff --git a/packages/content-management/table_list_view_table/src/reducer.tsx b/packages/content-management/table_list_view_table/src/reducer.tsx index c8486d92caced..0a8a89db80d92 100644 --- a/packages/content-management/table_list_view_table/src/reducer.tsx +++ b/packages/content-management/table_list_view_table/src/reducer.tsx @@ -39,11 +39,21 @@ export function getReducer() { } } + let hasNoItems = state.hasNoItems; + + const hasQuery = state.searchQuery.text !== ''; + if (hasQuery) { + hasNoItems = undefined; + } else { + hasNoItems = items.length === 0; + } + return { ...state, hasInitialFetchReturned: true, isFetchingItems: false, items, + hasNoItems, totalItems: action.data.response.total, hasUpdatedAtMetadata, tableSort: tableSort ?? state.tableSort, diff --git a/packages/content-management/table_list_view_table/src/table_list_view.test.helpers.ts b/packages/content-management/table_list_view_table/src/table_list_view.test.helpers.ts new file mode 100644 index 0000000000000..cbfa96198cc9d --- /dev/null +++ b/packages/content-management/table_list_view_table/src/table_list_view.test.helpers.ts @@ -0,0 +1,64 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. + */ + +import type { TestBed } from '@kbn/test-jest-helpers'; +import { act } from 'react-dom/test-utils'; + +export const getActions = ({ find, form, component }: TestBed) => { + /** Open the sort select drop down menu */ + const openSortSelect = () => { + find('tableSortSelectBtn').at(0).simulate('click'); + }; + + // --- Search Box --- + + /** Set the search box value */ + const updateSearchText = async (value: string) => { + await act(async () => { + find('tableListSearchBox').simulate('keyup', { + key: 'Enter', + target: { value }, + }); + }); + component.update(); + }; + + /** Get the Search box value */ + const getSearchBoxValue = () => find('tableListSearchBox').props().defaultValue; + + // --- Row Actions --- + const selectRow = (rowId: string) => { + act(() => { + form.selectCheckBox(`checkboxSelectRow-${rowId}`); + }); + component.update(); + }; + + const clickDeleteSelectedItemsButton = () => { + act(() => { + find('deleteSelectedItems').simulate('click'); + }); + component.update(); + }; + + const clickConfirmModalButton = async () => { + await act(async () => { + find('confirmModalConfirmButton').simulate('click'); + }); + component.update(); + }; + + return { + openSortSelect, + updateSearchText, + getSearchBoxValue, + selectRow, + clickDeleteSelectedItemsButton, + clickConfirmModalButton, + }; +}; diff --git a/packages/content-management/table_list_view_table/src/table_list_view.test.tsx b/packages/content-management/table_list_view_table/src/table_list_view.test.tsx index 0fc1840f26613..94c1ca5ab6753 100644 --- a/packages/content-management/table_list_view_table/src/table_list_view.test.tsx +++ b/packages/content-management/table_list_view_table/src/table_list_view.test.tsx @@ -22,6 +22,7 @@ import { type TableListViewTableProps, type UserContentCommonSchema, } from './table_list_view_table'; +import { getActions } from './table_list_view.test.helpers'; const mockUseEffect = useEffect; @@ -54,12 +55,6 @@ const twoDaysAgoToString = new Date(twoDaysAgo.getTime()).toDateString(); const yesterday = new Date(new Date().setDate(new Date().getDate() - 1)); const yesterdayToString = new Date(yesterday.getTime()).toDateString(); -const getActions = (testBed: TestBed) => ({ - openSortSelect() { - testBed.find('tableSortSelectBtn').at(0).simulate('click'); - }, -}); - describe('TableListView', () => { const requiredProps: TableListViewTableProps = { entityName: 'test', @@ -91,50 +86,102 @@ describe('TableListView', () => { } ); - test('render default empty prompt', async () => { - let testBed: TestBed; + describe('empty prompt', () => { + test('render default empty prompt', async () => { + let testBed: TestBed; - await act(async () => { - testBed = await setup(); + await act(async () => { + testBed = await setup(); + }); + + const { component, exists } = testBed!; + component.update(); + + expect(component.find(EuiEmptyPrompt).length).toBe(1); + expect(exists('newItemButton')).toBe(false); }); - const { component, exists } = testBed!; - component.update(); + // avoid trapping users in empty prompt that can not create new items + test('render default empty prompt with create action when createItem supplied', async () => { + let testBed: TestBed; - expect(component.find(EuiEmptyPrompt).length).toBe(1); - expect(exists('newItemButton')).toBe(false); - }); + await act(async () => { + testBed = await setup({ createItem: () => undefined }); + }); - // avoid trapping users in empty prompt that can not create new items - test('render default empty prompt with create action when createItem supplied', async () => { - let testBed: TestBed; + const { component, exists } = testBed!; + component.update(); - await act(async () => { - testBed = await setup({ createItem: () => undefined }); + expect(component.find(EuiEmptyPrompt).length).toBe(1); + expect(exists('newItemButton')).toBe(true); }); - const { component, exists } = testBed!; - component.update(); + test('render custom empty prompt', async () => { + let testBed: TestBed; - expect(component.find(EuiEmptyPrompt).length).toBe(1); - expect(exists('newItemButton')).toBe(true); - }); + const CustomEmptyPrompt = () => { + return Table empty} />; + }; - test('render custom empty prompt', async () => { - let testBed: TestBed; + await act(async () => { + testBed = await setup({ emptyPrompt: }); + }); - const CustomEmptyPrompt = () => { - return Table empty} />; - }; + const { component, exists } = testBed!; + component.update(); - await act(async () => { - testBed = await setup({ emptyPrompt: }); + expect(exists('custom-empty-prompt')).toBe(true); }); - const { component, exists } = testBed!; - component.update(); + test('render empty prompt after deleting all items from table', async () => { + // NOTE: this test is using helpers that are being tested in the + // "should allow select items to be deleted" test below. + // If this test fails, check that one first. + + const hits: UserContentCommonSchema[] = [ + { + id: 'item-1', + type: 'dashboard', + updatedAt: '2020-01-01T00:00:00Z', + attributes: { + title: 'Item 1', + }, + references: [], + }, + ]; - expect(exists('custom-empty-prompt')).toBe(true); + const findItems = jest.fn().mockResolvedValue({ total: 1, hits }); + const deleteItems = jest.fn(); + + let testBed: TestBed; + + const EmptyPrompt = () => { + return Table empty} />; + }; + + await act(async () => { + testBed = await setup({ emptyPrompt: , findItems, deleteItems }); + }); + + const { component, exists, table } = testBed!; + const { selectRow, clickConfirmModalButton, clickDeleteSelectedItemsButton } = getActions( + testBed! + ); + component.update(); + + expect(exists('custom-empty-prompt')).toBe(false); + const { tableCellsValues } = table.getMetaData('itemsInMemTable'); + const [row] = tableCellsValues; + expect(row[1]).toBe('Item 1'); // Note: row[0] is the checkbox + + // We delete the item in the table and expect the empty prompt to show + findItems.mockResolvedValue({ total: 0, hits: [] }); + selectRow('item-1'); + clickDeleteSelectedItemsButton(); + await clickConfirmModalButton(); + + expect(exists('custom-empty-prompt')).toBe(true); + }); }); describe('default columns', () => { @@ -798,7 +845,20 @@ describe('TableListView', () => { let testBed: TestBed; const initialFilter = 'tag:(tag-1)'; - const findItems = jest.fn().mockResolvedValue({ total: 0, hits: [] }); + const findItems = jest.fn().mockResolvedValue({ + total: 1, + hits: [ + { + id: 'item-1', + type: 'dashboard', + updatedAt: new Date('2023-07-15').toISOString(), + attributes: { + title: 'Item 1', + }, + references: [], + }, + ], + }); await act(async () => { testBed = await setupInitialFilter({ @@ -824,6 +884,173 @@ describe('TableListView', () => { }); }); + describe('search', () => { + const updatedAt = new Date('2023-07-15').toISOString(); + + const hits: UserContentCommonSchema[] = [ + { + id: 'item-1', + type: 'dashboard', + updatedAt, + attributes: { + title: 'Item 1', + }, + references: [], + }, + { + id: 'item-2', + type: 'dashboard', + updatedAt, + attributes: { + title: 'Item 2', + }, + references: [], + }, + ]; + + const findItems = jest.fn(); + + const setupSearch = (...args: Parameters>) => { + const testBed = registerTestBed( + WithServices(TableListViewTable), + { + defaultProps: { + ...requiredProps, + findItems, + urlStateEnabled: false, + entityName: 'Foo', + entityNamePlural: 'Foos', + }, + memoryRouter: { wrapComponent: true }, + } + )(...args); + + const { updateSearchText, getSearchBoxValue } = getActions(testBed); + + return { + testBed, + updateSearchText, + getSearchBoxValue, + getLastCallArgsFromFindItems: () => findItems.mock.calls[findItems.mock.calls.length - 1], + }; + }; + + beforeEach(() => { + findItems.mockReset().mockResolvedValue({ total: hits.length, hits }); + }); + + test('should search the table items', async () => { + let testBed: TestBed; + let updateSearchText: (value: string) => Promise; + let getLastCallArgsFromFindItems: () => Parameters; + let getSearchBoxValue: () => string; + + await act(async () => { + ({ testBed, getLastCallArgsFromFindItems, getSearchBoxValue, updateSearchText } = + await setupSearch()); + }); + + const { component, table } = testBed!; + component.update(); + + let searchTerm = ''; + let expected = ''; + [searchTerm] = getLastCallArgsFromFindItems!(); + expect(getSearchBoxValue!()).toBe(expected); + expect(searchTerm).toBe(expected); + + const { tableCellsValues } = table.getMetaData('itemsInMemTable'); + expect(tableCellsValues).toMatchInlineSnapshot(` + Array [ + Array [ + "Item 1", + "Sat Jul 15 2023", + ], + Array [ + "Item 2", + "Sat Jul 15 2023", + ], + ] + `); + + findItems.mockResolvedValueOnce({ + total: 1, + hits: [ + { + id: 'item-from-search', + type: 'dashboard', + updatedAt: new Date('2023-07-01').toISOString(), + attributes: { + title: 'Item from search', + }, + references: [], + }, + ], + }); + + expected = 'foo'; + await updateSearchText!(expected); + [searchTerm] = getLastCallArgsFromFindItems!(); + expect(getSearchBoxValue!()).toBe(expected); + expect(searchTerm).toBe(expected); + + expect(table.getMetaData('itemsInMemTable').tableCellsValues).toMatchInlineSnapshot(` + Array [ + Array [ + "Item from search", + "July 1, 2023", + ], + ] + `); + }); + + test('should search and render empty list if no result', async () => { + let testBed: TestBed; + let updateSearchText: (value: string) => Promise; + + await act(async () => { + ({ testBed, updateSearchText } = await setupSearch()); + }); + + const { component, table, find } = testBed!; + component.update(); + + findItems.mockResolvedValueOnce({ + total: 0, + hits: [], + }); + + await updateSearchText!('unknown items'); + + expect(table.getMetaData('itemsInMemTable').tableCellsValues).toMatchInlineSnapshot(` + Array [ + Array [ + "No Foos matched your search.", + ], + ] + `); + + await act(async () => { + find('clearSearchButton').simulate('click'); + }); + component.update(); + + // We should get back the initial 2 items (Item 1 and Item 2) + expect(table.getMetaData('itemsInMemTable').tableCellsValues).toMatchInlineSnapshot(` + Array [ + Array [ + "Item 1", + "Sat Jul 15 2023", + ], + Array [ + "Item 2", + "Sat Jul 15 2023", + ], + ] + `); + }); + }); + describe('url state', () => { let router: Router | undefined; @@ -1153,10 +1380,11 @@ describe('TableListView', () => { }; test('should allow select items to be deleted', async () => { - const { - testBed: { table, find, exists, component, form }, - deleteItems, - } = await setupTest(); + const { testBed, deleteItems } = await setupTest(); + + const { table, exists, component } = testBed; + const { selectRow, clickDeleteSelectedItemsButton, clickConfirmModalButton } = + getActions(testBed); const { tableCellsValues } = table.getMetaData('itemsInMemTable'); @@ -1165,28 +1393,21 @@ describe('TableListView', () => { ['', 'Item 1Item 1 description', twoDaysAgoToString], ]); + // Select the second item const selectedHit = hits[1]; expect(exists('deleteSelectedItems')).toBe(false); - act(() => { - // Select the second item - form.selectCheckBox(`checkboxSelectRow-${selectedHit.id}`); - }); - component.update(); + + selectRow(selectedHit.id); // Delete button is now visible expect(exists('deleteSelectedItems')).toBe(true); // Click delete and validate that confirm modal opens expect(component.exists('.euiModal--confirmation')).toBe(false); - act(() => { - find('deleteSelectedItems').simulate('click'); - }); - component.update(); + clickDeleteSelectedItemsButton(); expect(component.exists('.euiModal--confirmation')).toBe(true); - await act(async () => { - find('confirmModalConfirmButton').simulate('click'); - }); + await clickConfirmModalButton(); expect(deleteItems).toHaveBeenCalledWith([selectedHit]); }); diff --git a/packages/content-management/table_list_view_table/src/table_list_view_table.tsx b/packages/content-management/table_list_view_table/src/table_list_view_table.tsx index 33ef91dc65e4b..9d7613c6a122d 100644 --- a/packages/content-management/table_list_view_table/src/table_list_view_table.tsx +++ b/packages/content-management/table_list_view_table/src/table_list_view_table.tsx @@ -108,6 +108,7 @@ export interface TableListViewTableProps< contentEditor?: ContentEditorConfig; tableCaption: string; + /** Flag to force a new fetch of the table items. Whenever it changes, the `findItems()` will be called. */ refreshListBouncer?: boolean; onFetchSuccess: () => void; setPageDataTestSubject: (subject: string) => void; @@ -115,6 +116,12 @@ export interface TableListViewTableProps< export interface State { items: T[]; + /** + * Flag to indicate if there aren't any item when **no filteres are applied**. + * When there are no item we render an empty prompt. + * Default to `undefined` to indicate that we don't know yet if there are items or not. + */ + hasNoItems: boolean | undefined; hasInitialFetchReturned: boolean; isFetchingItems: boolean; isDeletingItems: boolean; @@ -293,6 +300,7 @@ function TableListViewTableComp({ const isMounted = useRef(false); const fetchIdx = useRef(0); + /** * The "onTableSearchChange()" handler has an async behavior. We want to be able to discard * previsous search changes and only handle the last one. For that we keep a counter of the changes. @@ -335,9 +343,10 @@ function TableListViewTableComp({ const initialState = useMemo>( () => ({ items: [], + hasNoItems: undefined, totalItems: 0, hasInitialFetchReturned: false, - isFetchingItems: false, + isFetchingItems: true, isDeletingItems: false, showDeleteModal: false, hasUpdatedAtMetadata: false, @@ -364,6 +373,7 @@ function TableListViewTableComp({ hasInitialFetchReturned, isFetchingItems, items, + hasNoItems, fetchError, showDeleteModal, isDeletingItems, @@ -374,8 +384,6 @@ function TableListViewTableComp({ tableSort, } = state; - const hasQuery = searchQuery.text !== ''; - const hasNoItems = hasInitialFetchReturned && items.length === 0 && !hasQuery; const showFetchError = Boolean(fetchError); const showLimitError = !showFetchError && totalItems > listingLimit; @@ -857,17 +865,7 @@ function TableListViewTableComp({ // ------------ // Effects // ------------ - useDebounce( - () => { - // Do not call fetchItems on dependency changes when initial fetch does not load any items - // to avoid flashing between empty table and no items view - if (!hasNoItems) { - fetchItems(); - } - }, - 300, - [fetchItems, refreshListBouncer] - ); + useDebounce(fetchItems, 300, [fetchItems, refreshListBouncer]); useEffect(() => { if (!urlStateEnabled) { diff --git a/packages/core/elasticsearch/core-elasticsearch-client-server-internal/src/get_ecs_response_log.test.ts b/packages/core/elasticsearch/core-elasticsearch-client-server-internal/src/get_ecs_response_log.test.ts index 03c8c118edcf2..af9470d18e892 100644 --- a/packages/core/elasticsearch/core-elasticsearch-client-server-internal/src/get_ecs_response_log.test.ts +++ b/packages/core/elasticsearch/core-elasticsearch-client-server-internal/src/get_ecs_response_log.test.ts @@ -91,6 +91,23 @@ describe('getEcsResponseLog', () => { `); }); + test('redacts es-client-authentication headers by default', () => { + const event = createResponseEvent({ + requestParams: { + headers: { 'es-client-authentication': 'ae3fda37-xxx', 'user-agent': 'world' }, + }, + response: { headers: { 'content-length': '123' } }, + }); + const log = getEcsResponseLog(event); + // @ts-expect-error ECS custom field + expect(log.http.request.headers).toMatchInlineSnapshot(` + Object { + "es-client-authentication": "[REDACTED]", + "user-agent": "world", + } + `); + }); + test('does not mutate original headers', () => { const reqHeaders = { a: 'foo', b: ['hello', 'world'] }; const resHeaders = { c: 'bar' }; diff --git a/packages/core/elasticsearch/core-elasticsearch-client-server-internal/src/get_ecs_response_log.ts b/packages/core/elasticsearch/core-elasticsearch-client-server-internal/src/get_ecs_response_log.ts index fa122166ada08..6b44c48925438 100644 --- a/packages/core/elasticsearch/core-elasticsearch-client-server-internal/src/get_ecs_response_log.ts +++ b/packages/core/elasticsearch/core-elasticsearch-client-server-internal/src/get_ecs_response_log.ts @@ -12,7 +12,13 @@ import { type LogMeta } from '@kbn/logging'; // If you are updating these, consider whether they should also be updated in the // http service `getResponseLog` -const FORBIDDEN_HEADERS = ['authorization', 'cookie', 'set-cookie', 'x-elastic-app-auth']; +const FORBIDDEN_HEADERS = [ + 'authorization', + 'cookie', + 'set-cookie', + 'x-elastic-app-auth', + 'es-client-authentication', +]; const REDACTED_HEADER_TEXT = '[REDACTED]'; // We are excluding sensitive headers by default, until we have a log filtering mechanism. diff --git a/packages/core/http/core-http-server-internal/src/logging/get_response_log.test.ts b/packages/core/http/core-http-server-internal/src/logging/get_response_log.test.ts index a8f607c5c6865..a77283b6575ff 100644 --- a/packages/core/http/core-http-server-internal/src/logging/get_response_log.test.ts +++ b/packages/core/http/core-http-server-internal/src/logging/get_response_log.test.ts @@ -211,6 +211,21 @@ describe('getEcsResponseLog', () => { `); }); + test('redacts es-client-authentication headers by default', () => { + const req = createMockHapiRequest({ + headers: { 'es-client-authentication': 'ae3fda37-xxx', 'user-agent': 'world' }, + response: { headers: { 'content-length': '123' } }, + }); + const result = getEcsResponseLog(req, logger); + // @ts-expect-error ECS custom field + expect(result.meta.http.request.headers).toMatchInlineSnapshot(` + Object { + "es-client-authentication": "[REDACTED]", + "user-agent": "world", + } + `); + }); + test('does not mutate original headers', () => { const reqHeaders = { a: 'foo', b: ['hello', 'world'] }; const resHeaders = { headers: { c: 'bar' } }; diff --git a/packages/core/http/core-http-server-internal/src/logging/get_response_log.ts b/packages/core/http/core-http-server-internal/src/logging/get_response_log.ts index f356bf077095a..2cc9c50a1b319 100644 --- a/packages/core/http/core-http-server-internal/src/logging/get_response_log.ts +++ b/packages/core/http/core-http-server-internal/src/logging/get_response_log.ts @@ -16,7 +16,13 @@ import { getResponsePayloadBytes } from './get_payload_size'; // If you are updating these, consider whether they should also be updated in the // elasticsearch service `getEcsResponseLog` -const FORBIDDEN_HEADERS = ['authorization', 'cookie', 'set-cookie', 'x-elastic-app-auth']; +const FORBIDDEN_HEADERS = [ + 'authorization', + 'cookie', + 'set-cookie', + 'x-elastic-app-auth', + 'es-client-authentication', +]; const REDACTED_HEADER_TEXT = '[REDACTED]'; type HapiHeaders = Record; diff --git a/src/plugins/event_annotation/public/components/table_list.tsx b/src/plugins/event_annotation/public/components/table_list.tsx index afc94b11e8fc6..2e172c4a9daed 100644 --- a/src/plugins/event_annotation/public/components/table_list.tsx +++ b/src/plugins/event_annotation/public/components/table_list.tsx @@ -77,8 +77,8 @@ export const EventAnnotationGroupTableList = ({ const [refreshListBouncer, setRefreshListBouncer] = useState(false); const refreshList = useCallback(() => { - setRefreshListBouncer(!refreshListBouncer); - }, [refreshListBouncer]); + setRefreshListBouncer((prev) => !prev); + }, []); const fetchItems = useCallback( ( diff --git a/src/plugins/telemetry/schema/oss_plugins.json b/src/plugins/telemetry/schema/oss_plugins.json index 1347fb55897ff..5a79e7cb384e3 100644 --- a/src/plugins/telemetry/schema/oss_plugins.json +++ b/src/plugins/telemetry/schema/oss_plugins.json @@ -8938,6 +8938,12 @@ "description": "Default value of the setting was changed." } }, + "securitySolution:alertTags": { + "type": "keyword", + "_meta": { + "description": "Default value of the setting was changed." + } + }, "securitySolution:newsFeedUrl": { "type": "keyword", "_meta": { @@ -9076,12 +9082,6 @@ "description": "Non-default value of setting." } }, - "securitySolution:alertTags": { - "type": "keyword", - "_meta": { - "description": "Default value of the setting was changed." - } - }, "search:includeFrozen": { "type": "boolean", "_meta": { diff --git a/src/plugins/visualizations/common/content_management/v1/cm_services.ts b/src/plugins/visualizations/common/content_management/v1/cm_services.ts index 62ae0afc97830..4b1165d357203 100644 --- a/src/plugins/visualizations/common/content_management/v1/cm_services.ts +++ b/src/plugins/visualizations/common/content_management/v1/cm_services.ts @@ -29,7 +29,7 @@ const referencesSchema = schema.arrayOf(referenceSchema); const visualizeAttributesSchema = schema.object( { title: schema.string(), - description: schema.maybe(schema.string()), + description: schema.maybe(schema.nullable(schema.string())), version: schema.maybe(schema.number()), kibanaSavedObjectMeta: schema.maybe(schema.object({ searchSourceJSON: schema.string() })), uiStateJSON: schema.maybe(schema.string()), diff --git a/test/functional/apps/dashboard/group1/embeddable_rendering.ts b/test/functional/apps/dashboard/group1/embeddable_rendering.ts index 93b111f072443..d7addf89ac404 100644 --- a/test/functional/apps/dashboard/group1/embeddable_rendering.ts +++ b/test/functional/apps/dashboard/group1/embeddable_rendering.ts @@ -102,6 +102,8 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) { // FLAKY: https://github.com/elastic/kibana/issues/158529 describe.skip('dashboard embeddable rendering', function describeIndexTests() { + const from = 'Jan 1, 2018 @ 00:00:00.000'; + const to = 'Apr 13, 2018 @ 00:00:00.000'; before(async () => { await security.testUser.setRoles(['kibana_admin', 'animals', 'test_logstash_reader']); await kibanaServer.savedObjects.cleanStandardList(); @@ -111,14 +113,11 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) { await kibanaServer.uiSettings.replace({ defaultIndex: '0bf35f60-3dc9-11e8-8660-4d65aa086b3c', }); + await PageObjects.common.setTime({ from, to }); await PageObjects.common.navigateToApp('dashboard'); await PageObjects.dashboard.preserveCrossAppState(); await PageObjects.dashboard.clickNewDashboard(); await elasticChart.setNewChartUiDebugFlag(true); - - const fromTime = 'Jan 1, 2018 @ 00:00:00.000'; - const toTime = 'Apr 13, 2018 @ 00:00:00.000'; - await PageObjects.timePicker.setAbsoluteRange(fromTime, toTime); }); after(async () => { @@ -127,6 +126,7 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) { const newUrl = currentUrl.replace(/\?.*$/, ''); await browser.get(newUrl, false); await security.testUser.restoreDefaults(); + await PageObjects.common.unsetTime(); await kibanaServer.savedObjects.cleanStandardList(); }); diff --git a/test/functional/apps/dashboard/group5/share.ts b/test/functional/apps/dashboard/group5/share.ts index b6a2e9811e51f..a6d9289313e62 100644 --- a/test/functional/apps/dashboard/group5/share.ts +++ b/test/functional/apps/dashboard/group5/share.ts @@ -106,19 +106,19 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) { await kibanaServer.uiSettings.replace({ defaultIndex: '0bf35f60-3dc9-11e8-8660-4d65aa086b3c', }); + const from = 'Sep 19, 2017 @ 06:31:44.000'; + const to = 'Sep 23, 2018 @ 18:31:44.000'; + await PageObjects.common.setTime({ from, to }); await PageObjects.common.navigateToApp('dashboard'); await PageObjects.dashboard.preserveCrossAppState(); await PageObjects.dashboard.loadSavedDashboard('few panels'); - await PageObjects.dashboard.switchToEditMode(); - const from = 'Sep 19, 2017 @ 06:31:44.000'; - const to = 'Sep 23, 2018 @ 18:31:44.000'; - await PageObjects.timePicker.setAbsoluteRange(from, to); await PageObjects.dashboard.waitForRenderComplete(); }); after(async () => { await kibanaServer.savedObjects.cleanStandardList(); + await PageObjects.common.unsetTime(); }); describe('snapshot share', async () => { diff --git a/test/functional/apps/dashboard_elements/controls/common/range_slider.ts b/test/functional/apps/dashboard_elements/controls/common/range_slider.ts index d6cd7388987fe..9140c23573c3f 100644 --- a/test/functional/apps/dashboard_elements/controls/common/range_slider.ts +++ b/test/functional/apps/dashboard_elements/controls/common/range_slider.ts @@ -19,9 +19,8 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) { const filterBar = getService('filterBar'); const testSubjects = getService('testSubjects'); const kibanaServer = getService('kibanaServer'); - const { dashboardControls, timePicker, common, dashboard, header } = getPageObjects([ + const { dashboardControls, common, dashboard, header } = getPageObjects([ 'dashboardControls', - 'timePicker', 'dashboard', 'common', 'header', @@ -46,16 +45,16 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) { await kibanaServer.uiSettings.replace({ defaultIndex: '0bf35f60-3dc9-11e8-8660-4d65aa086b3c', }); + await common.setTime({ + from: 'Oct 22, 2018 @ 00:00:00.000', + to: 'Dec 3, 2018 @ 00:00:00.000', + }); await common.navigateToApp('dashboard'); await dashboardControls.enableControlsLab(); await common.navigateToApp('dashboard'); await dashboard.preserveCrossAppState(); await dashboard.gotoDashboardLandingPage(); await dashboard.clickNewDashboard(); - await timePicker.setAbsoluteRange( - 'Oct 22, 2018 @ 00:00:00.000', - 'Dec 3, 2018 @ 00:00:00.000' - ); await dashboard.saveDashboard(DASHBOARD_NAME, { exitFromEditMode: false }); }); @@ -66,6 +65,7 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) { ); await esArchiver.unload('test/functional/fixtures/es_archiver/kibana_sample_data_flights'); await kibanaServer.uiSettings.unset('defaultIndex'); + await common.unsetTime(); await security.testUser.restoreDefaults(); }); diff --git a/test/functional/apps/discover/embeddable/_saved_search_embeddable.ts b/test/functional/apps/discover/embeddable/_saved_search_embeddable.ts index 1bfdc9143ad4c..8961af57a4ad2 100644 --- a/test/functional/apps/discover/embeddable/_saved_search_embeddable.ts +++ b/test/functional/apps/discover/embeddable/_saved_search_embeddable.ts @@ -32,10 +32,15 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) { await kibanaServer.uiSettings.replace({ defaultIndex: '0bf35f60-3dc9-11e8-8660-4d65aa086b3c', }); + await PageObjects.common.setTime({ + from: 'Sep 22, 2015 @ 00:00:00.000', + to: 'Sep 23, 2015 @ 00:00:00.000', + }); }); after(async () => { await kibanaServer.savedObjects.cleanStandardList(); + await PageObjects.common.unsetTime(); }); beforeEach(async () => { @@ -43,10 +48,6 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) { await filterBar.ensureFieldEditorModalIsClosed(); await PageObjects.dashboard.gotoDashboardLandingPage(); await PageObjects.dashboard.clickNewDashboard(); - await PageObjects.timePicker.setAbsoluteRange( - 'Sep 22, 2015 @ 00:00:00.000', - 'Sep 23, 2015 @ 00:00:00.000' - ); }); const addSearchEmbeddableToDashboard = async () => { diff --git a/test/functional/apps/management/_files.ts b/test/functional/apps/management/_files.ts index 54b22028275d7..deebdb18f374b 100644 --- a/test/functional/apps/management/_files.ts +++ b/test/functional/apps/management/_files.ts @@ -13,8 +13,7 @@ export default function ({ getPageObjects, getService }: FtrProviderContext) { const PageObjects = getPageObjects(['common', 'filesManagement']); const testSubjects = getService('testSubjects'); - // FLAKY: https://github.com/elastic/kibana/issues/160178 - describe.skip('Files management', () => { + describe('Files management', () => { before(async () => { await PageObjects.filesManagement.navigateTo(); }); diff --git a/test/functional/apps/visualize/group3/_linked_saved_searches.ts b/test/functional/apps/visualize/group3/_linked_saved_searches.ts index c27d5725e50ac..f97a4c86e4560 100644 --- a/test/functional/apps/visualize/group3/_linked_saved_searches.ts +++ b/test/functional/apps/visualize/group3/_linked_saved_searches.ts @@ -31,19 +31,22 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) { before(async () => { await PageObjects.visualize.initTests(); + await PageObjects.timePicker.setDefaultAbsoluteRangeViaUiSettings(); await PageObjects.common.navigateToApp('discover'); - await PageObjects.timePicker.setDefaultAbsoluteRange(); await filterBar.addFilter({ field: 'extension.raw', operation: 'is', value: 'jpg' }); await PageObjects.header.waitUntilLoadingHasFinished(); await PageObjects.discover.saveSearch(savedSearchName); discoverSavedSearchUrlPath = (await browser.getCurrentUrl()).split('?')[0]; }); + after(async () => { + await PageObjects.common.unsetTime(); + }); + it('should create a visualization from a saved search', async () => { await PageObjects.visualize.navigateToNewAggBasedVisualization(); await PageObjects.visualize.clickDataTable(); await PageObjects.visualize.clickSavedSearch(savedSearchName); - await PageObjects.timePicker.setDefaultAbsoluteRange(); await retry.waitFor('wait for count to equal 9,109', async () => { const data = await PageObjects.visChart.getTableVisContent(); return data[0][0] === '9,109'; diff --git a/test/functional/apps/visualize/group6/_tsvb_markdown.ts b/test/functional/apps/visualize/group6/_tsvb_markdown.ts index 9f259ff005364..f015a0a010748 100644 --- a/test/functional/apps/visualize/group6/_tsvb_markdown.ts +++ b/test/functional/apps/visualize/group6/_tsvb_markdown.ts @@ -11,9 +11,9 @@ import expect from '@kbn/expect'; import { FtrProviderContext } from '../../../ftr_provider_context'; export default function ({ getPageObjects, getService }: FtrProviderContext) { - const { visualBuilder, timePicker, visualize, visChart } = getPageObjects([ + const { visualBuilder, common, visualize, visChart } = getPageObjects([ 'visualBuilder', - 'timePicker', + 'common', 'visualize', 'visChart', ]); @@ -37,20 +37,24 @@ export default function ({ getPageObjects, getService }: FtrProviderContext) { describe('markdown', () => { before(async () => { await visualize.initTests(); + await common.setTime({ + to: 'Sep 22, 2015 @ 06:00:00.000', + from: 'Sep 22, 2015 @ 11:00:00.000', + }); await visualize.navigateToNewVisualization(); await visualize.clickVisualBuilder(); await visualBuilder.checkVisualBuilderIsPresent(); await visualBuilder.clickMarkdown(); - await timePicker.setAbsoluteRange( - 'Sep 22, 2015 @ 06:00:00.000', - 'Sep 22, 2015 @ 11:00:00.000' - ); await visualBuilder.markdownSwitchSubTab('options'); await visualBuilder.setMetricsDataTimerangeMode('Last value'); await visualBuilder.setDropLastBucket(true); await visualBuilder.markdownSwitchSubTab('markdown'); }); + after(async () => { + await common.unsetTime(); + }); + it('should render subtabs and table variables markdown components', async () => { const tabs = await visualBuilder.getSubTabs(); expect(tabs).to.have.length(3); diff --git a/x-pack/plugins/alerting/docs/openapi/bundled.json b/x-pack/plugins/alerting/docs/openapi/bundled.json index d97cc6d892a61..1131daa58f3c0 100644 --- a/x-pack/plugins/alerting/docs/openapi/bundled.json +++ b/x-pack/plugins/alerting/docs/openapi/bundled.json @@ -29,7 +29,7 @@ "post": { "summary": "Creates a rule with a randomly generated rule identifier.", "operationId": "createRule", - "description": "You must have `all` privileges for the appropriate Kibana features, depending on the `consumer` and `rule_type_id` of the rule you're creating. For example, you must have privileges for the **Management > Stack rules** feature, **Analytics > Discover** and **Machine Learning** features, **Observability** features, or **Security** features. If the rule has actions, you must also have `read` privileges for the **Management > Actions and Connectors** feature. NOTE: This API supports only token-based authentication. When you create a rule, it identifies which roles you have at that point in time. Thereafter, when the rule performs queries, it uses those security privileges. If a user with different privileges updates the rule, its behavior might change.\n", + "description": "To create a rule, you must have `all` privileges for the appropriate Kibana features, depending on the `consumer` and `rule_type_id` of the rule you're creating. For example, you must have privileges for the **Management > Stack rules** feature, **Analytics > Discover** and **Machine Learning** features, **Observability** features, or **Security** features. If the rule has actions, you must also have `read` privileges for the **Management > Actions and Connectors** feature. This API supports both key- and token-based authentication. To use key-based authentication, create an API key in Kibana and use it in the header of the API call. To use token-based authentication, provide a username and password; an API key that matches the current privileges of the user is created automatically. In both cases, the API key is subsequently used for authorization when the rule runs.\n", "tags": [ "alerting" ], @@ -167,7 +167,7 @@ "delete": { "summary": "Deletes a rule.", "operationId": "deleteRule", - "description": "You must have `all` privileges for the appropriate Kibana features, depending on the `consumer` and `rule_type_id` of the rule you're deleting. For example, the **Management** > **Stack Rules** feature, **Analytics** > **Discover** or **Machine Learning** features, **Observability**, or **Security** features. WARNING: After you delete a rule, you cannot recover it.\n", + "description": "To delete a rule, you must have `all` privileges for the appropriate Kibana features, depending on the `consumer` and `rule_type_id` of the rule you're deleting. For example, the **Management** > **Stack Rules** feature, **Analytics** > **Discover** or **Machine Learning** features, **Observability**, or **Security** features. WARNING: After you delete a rule, you cannot recover it. If the API key that is used by the rule was created automatically, it is deleted.\n", "tags": [ "alerting" ], @@ -216,7 +216,7 @@ "post": { "summary": "Creates a rule with a specific rule identifier.", "operationId": "createRuleId", - "description": "You must have `all` privileges for the appropriate Kibana features, depending on the `consumer` and `rule_type_id` of the rule you're creating. For example, you must have privileges for the **Management > Stack rules** feature, **Analytics > Discover** and **Machine Learning** features, **Observability** features, or **Security** features. If the rule has actions, you must also have `read` privileges for the **Management > Actions and Connectors** feature. NOTE: This API supports only token-based authentication. When you create a rule, it identifies which roles you have at that point in time. Thereafter, when the rule performs queries, it uses those security privileges. If a user with different privileges updates the rule, its behavior might change.\n", + "description": "To create a rule, you must have `all` privileges for the appropriate Kibana features, depending on the `consumer` and `rule_type_id` of the rule you're creating. For example, you must have privileges for the **Management > Stack rules** feature, **Analytics > Discover** and **Machine Learning** features, **Observability** features, or **Security** features. If the rule has actions, you must also have `read` privileges for the **Management > Actions and Connectors** feature. This API supports both key- and token-based authentication. To use key-based authentication, create an API key in Kibana and use it in the header of the API call. To use token-based authentication, provide a username and password; an API key that matches the current privileges of the user is created automatically. In both cases, the API key is subsequently used for authorization when the rule runs.\n", "tags": [ "alerting" ], @@ -299,7 +299,7 @@ "put": { "summary": "Updates the attributes for a rule.", "operationId": "updateRule", - "description": "You must have `all` privileges for the appropriate Kibana features, depending on the `consumer` and `rule_type_id` of the rule you're updating. For example, you must have privileges for the **Management > Stack rules** feature, **Analytics > Discover** and **Machine Learning** features, **Observability** features, or **Security** features. If the rule has actions, you must also have `read` privileges for the **Management > Actions and Connectors** feature. NOTE: This API supports only token-based authentication. When you update a rule, it identifies which roles you have at that point in time. Thereafter, when the rule performs queries, it uses those security privileges. If you have different privileges than the user that created or most recently updated the rule, you might change its behavior. Though some properties are optional, when you update the rule the existing property values are overwritten with default values. Therefore, it is recommended to explicitly set all property values.\n", + "description": "To update a rule, you must have `all` privileges for the appropriate Kibana features, depending on the `consumer` and `rule_type_id` of the rule you're updating. For example, you must have privileges for the **Management > Stack rules** feature, **Analytics > Discover** and **Machine Learning** features, **Observability** features, or **Security** features. If the rule has actions, you must also have `read` privileges for the **Management > Actions and Connectors** feature. This API supports both key- and token-based authentication. To use key-based authentication, create an API key in Kibana and use it in the header of the API call. To use token-based authentication, provide a username and password; an API key that matches the current privileges of the user is created automatically. In both cases, the API key is subsequently used for authorization when the rule runs. NOTE: If the API key has different privileges than the key that created or most recently updated the rule, the rule behavior might change. Though some properties are optional, when you update the rule the existing property values are overwritten with default values. Therefore, it is recommended to explicitly set all property values.\n", "tags": [ "alerting" ], @@ -438,7 +438,7 @@ "post": { "summary": "Enables a rule.", "operationId": "enableRule", - "description": "This API supports token-based authentication only. You must have `all` privileges for the appropriate Kibana features, depending on the `consumer` and `rule_type_id` of the rule. For example, the **Management > Stack Rules** feature, **Analytics > Discover** and **Machine Learning** features, **Observability**, and **Security** features.\n", + "description": "To enable a rule, you must have `all` privileges for the appropriate Kibana features, depending on the `consumer` and `rule_type_id` of the rule. For example, the **Management > Stack Rules** feature, **Analytics > Discover** and **Machine Learning** features, **Observability**, and **Security** features. This API supports both key- and token-based authentication. To use key-based authentication, create an API key in Kibana and use it in the header of the API call. To use token-based authentication, provide a username and password; an API key that matches the current privileges of the user is created automatically. In both cases, the API key is subsequently used for authorization when the rule runs.\n", "tags": [ "alerting" ], diff --git a/x-pack/plugins/alerting/docs/openapi/bundled.yaml b/x-pack/plugins/alerting/docs/openapi/bundled.yaml index a6c019625937b..18b92843bd09f 100644 --- a/x-pack/plugins/alerting/docs/openapi/bundled.yaml +++ b/x-pack/plugins/alerting/docs/openapi/bundled.yaml @@ -20,7 +20,7 @@ paths: summary: Creates a rule with a randomly generated rule identifier. operationId: createRule description: | - You must have `all` privileges for the appropriate Kibana features, depending on the `consumer` and `rule_type_id` of the rule you're creating. For example, you must have privileges for the **Management > Stack rules** feature, **Analytics > Discover** and **Machine Learning** features, **Observability** features, or **Security** features. If the rule has actions, you must also have `read` privileges for the **Management > Actions and Connectors** feature. NOTE: This API supports only token-based authentication. When you create a rule, it identifies which roles you have at that point in time. Thereafter, when the rule performs queries, it uses those security privileges. If a user with different privileges updates the rule, its behavior might change. + To create a rule, you must have `all` privileges for the appropriate Kibana features, depending on the `consumer` and `rule_type_id` of the rule you're creating. For example, you must have privileges for the **Management > Stack rules** feature, **Analytics > Discover** and **Machine Learning** features, **Observability** features, or **Security** features. If the rule has actions, you must also have `read` privileges for the **Management > Actions and Connectors** feature. This API supports both key- and token-based authentication. To use key-based authentication, create an API key in Kibana and use it in the header of the API call. To use token-based authentication, provide a username and password; an API key that matches the current privileges of the user is created automatically. In both cases, the API key is subsequently used for authorization when the rule runs. tags: - alerting parameters: @@ -100,7 +100,7 @@ paths: summary: Deletes a rule. operationId: deleteRule description: | - You must have `all` privileges for the appropriate Kibana features, depending on the `consumer` and `rule_type_id` of the rule you're deleting. For example, the **Management** > **Stack Rules** feature, **Analytics** > **Discover** or **Machine Learning** features, **Observability**, or **Security** features. WARNING: After you delete a rule, you cannot recover it. + To delete a rule, you must have `all` privileges for the appropriate Kibana features, depending on the `consumer` and `rule_type_id` of the rule you're deleting. For example, the **Management** > **Stack Rules** feature, **Analytics** > **Discover** or **Machine Learning** features, **Observability**, or **Security** features. WARNING: After you delete a rule, you cannot recover it. If the API key that is used by the rule was created automatically, it is deleted. tags: - alerting parameters: @@ -128,7 +128,7 @@ paths: summary: Creates a rule with a specific rule identifier. operationId: createRuleId description: | - You must have `all` privileges for the appropriate Kibana features, depending on the `consumer` and `rule_type_id` of the rule you're creating. For example, you must have privileges for the **Management > Stack rules** feature, **Analytics > Discover** and **Machine Learning** features, **Observability** features, or **Security** features. If the rule has actions, you must also have `read` privileges for the **Management > Actions and Connectors** feature. NOTE: This API supports only token-based authentication. When you create a rule, it identifies which roles you have at that point in time. Thereafter, when the rule performs queries, it uses those security privileges. If a user with different privileges updates the rule, its behavior might change. + To create a rule, you must have `all` privileges for the appropriate Kibana features, depending on the `consumer` and `rule_type_id` of the rule you're creating. For example, you must have privileges for the **Management > Stack rules** feature, **Analytics > Discover** and **Machine Learning** features, **Observability** features, or **Security** features. If the rule has actions, you must also have `read` privileges for the **Management > Actions and Connectors** feature. This API supports both key- and token-based authentication. To use key-based authentication, create an API key in Kibana and use it in the header of the API call. To use token-based authentication, provide a username and password; an API key that matches the current privileges of the user is created automatically. In both cases, the API key is subsequently used for authorization when the rule runs. tags: - alerting parameters: @@ -179,7 +179,7 @@ paths: summary: Updates the attributes for a rule. operationId: updateRule description: | - You must have `all` privileges for the appropriate Kibana features, depending on the `consumer` and `rule_type_id` of the rule you're updating. For example, you must have privileges for the **Management > Stack rules** feature, **Analytics > Discover** and **Machine Learning** features, **Observability** features, or **Security** features. If the rule has actions, you must also have `read` privileges for the **Management > Actions and Connectors** feature. NOTE: This API supports only token-based authentication. When you update a rule, it identifies which roles you have at that point in time. Thereafter, when the rule performs queries, it uses those security privileges. If you have different privileges than the user that created or most recently updated the rule, you might change its behavior. Though some properties are optional, when you update the rule the existing property values are overwritten with default values. Therefore, it is recommended to explicitly set all property values. + To update a rule, you must have `all` privileges for the appropriate Kibana features, depending on the `consumer` and `rule_type_id` of the rule you're updating. For example, you must have privileges for the **Management > Stack rules** feature, **Analytics > Discover** and **Machine Learning** features, **Observability** features, or **Security** features. If the rule has actions, you must also have `read` privileges for the **Management > Actions and Connectors** feature. This API supports both key- and token-based authentication. To use key-based authentication, create an API key in Kibana and use it in the header of the API call. To use token-based authentication, provide a username and password; an API key that matches the current privileges of the user is created automatically. In both cases, the API key is subsequently used for authorization when the rule runs. NOTE: If the API key has different privileges than the key that created or most recently updated the rule, the rule behavior might change. Though some properties are optional, when you update the rule the existing property values are overwritten with default values. Therefore, it is recommended to explicitly set all property values. tags: - alerting parameters: @@ -257,7 +257,7 @@ paths: summary: Enables a rule. operationId: enableRule description: | - This API supports token-based authentication only. You must have `all` privileges for the appropriate Kibana features, depending on the `consumer` and `rule_type_id` of the rule. For example, the **Management > Stack Rules** feature, **Analytics > Discover** and **Machine Learning** features, **Observability**, and **Security** features. + To enable a rule, you must have `all` privileges for the appropriate Kibana features, depending on the `consumer` and `rule_type_id` of the rule. For example, the **Management > Stack Rules** feature, **Analytics > Discover** and **Machine Learning** features, **Observability**, and **Security** features. This API supports both key- and token-based authentication. To use key-based authentication, create an API key in Kibana and use it in the header of the API call. To use token-based authentication, provide a username and password; an API key that matches the current privileges of the user is created automatically. In both cases, the API key is subsequently used for authorization when the rule runs. tags: - alerting parameters: diff --git a/x-pack/plugins/alerting/docs/openapi/paths/s@{spaceid}@api@alerting@rule.yaml b/x-pack/plugins/alerting/docs/openapi/paths/s@{spaceid}@api@alerting@rule.yaml index 943efd9c0d470..1db9d39b096e6 100644 --- a/x-pack/plugins/alerting/docs/openapi/paths/s@{spaceid}@api@alerting@rule.yaml +++ b/x-pack/plugins/alerting/docs/openapi/paths/s@{spaceid}@api@alerting@rule.yaml @@ -2,13 +2,13 @@ post: summary: Creates a rule with a randomly generated rule identifier. operationId: createRule description: > - You must have `all` privileges for the appropriate Kibana features, depending on the `consumer` and `rule_type_id` of the rule you're creating. + To create a rule, you must have `all` privileges for the appropriate Kibana features, depending on the `consumer` and `rule_type_id` of the rule you're creating. For example, you must have privileges for the **Management > Stack rules** feature, **Analytics > Discover** and **Machine Learning** features, **Observability** features, or **Security** features. If the rule has actions, you must also have `read` privileges for the **Management > Actions and Connectors** feature. - NOTE: This API supports only token-based authentication. - When you create a rule, it identifies which roles you have at that point in time. - Thereafter, when the rule performs queries, it uses those security privileges. - If a user with different privileges updates the rule, its behavior might change. + This API supports both key- and token-based authentication. + To use key-based authentication, create an API key in Kibana and use it in the header of the API call. + To use token-based authentication, provide a username and password; an API key that matches the current privileges of the user is created automatically. + In both cases, the API key is subsequently used for authorization when the rule runs. tags: - alerting parameters: diff --git a/x-pack/plugins/alerting/docs/openapi/paths/s@{spaceid}@api@alerting@rule@{ruleid}.yaml b/x-pack/plugins/alerting/docs/openapi/paths/s@{spaceid}@api@alerting@rule@{ruleid}.yaml index 7ede8da710ea0..66d05da081457 100644 --- a/x-pack/plugins/alerting/docs/openapi/paths/s@{spaceid}@api@alerting@rule@{ruleid}.yaml +++ b/x-pack/plugins/alerting/docs/openapi/paths/s@{spaceid}@api@alerting@rule@{ruleid}.yaml @@ -42,11 +42,10 @@ delete: summary: Deletes a rule. operationId: deleteRule description: > - You must have `all` privileges for the appropriate Kibana features, depending - on the `consumer` and `rule_type_id` of the rule you're deleting. For example, - the **Management** > **Stack Rules** feature, **Analytics** > **Discover** or - **Machine Learning** features, **Observability**, or **Security** features. + To delete a rule, you must have `all` privileges for the appropriate Kibana features, depending on the `consumer` and `rule_type_id` of the rule you're deleting. + For example, the **Management** > **Stack Rules** feature, **Analytics** > **Discover** or **Machine Learning** features, **Observability**, or **Security** features. WARNING: After you delete a rule, you cannot recover it. + If the API key that is used by the rule was created automatically, it is deleted. tags: - alerting parameters: @@ -75,17 +74,13 @@ post: summary: Creates a rule with a specific rule identifier. operationId: createRuleId description: > - You must have `all` privileges for the appropriate Kibana features, - depending on the `consumer` and `rule_type_id` of the rule you're creating. - For example, you must have privileges for the **Management > Stack rules** - feature, **Analytics > Discover** and **Machine Learning** features, - **Observability** features, or **Security** features. If the rule has - actions, you must also have `read` privileges for the - **Management > Actions and Connectors** feature. NOTE: This API supports - only token-based authentication. When you create a rule, it identifies which - roles you have at that point in time. Thereafter, when the rule performs - queries, it uses those security privileges. If a user with different - privileges updates the rule, its behavior might change. + To create a rule, you must have `all` privileges for the appropriate Kibana features, depending on the `consumer` and `rule_type_id` of the rule you're creating. + For example, you must have privileges for the **Management > Stack rules** feature, **Analytics > Discover** and **Machine Learning** features, **Observability** features, or **Security** features. + If the rule has actions, you must also have `read` privileges for the **Management > Actions and Connectors** feature. + This API supports both key- and token-based authentication. + To use key-based authentication, create an API key in Kibana and use it in the header of the API call. + To use token-based authentication, provide a username and password; an API key that matches the current privileges of the user is created automatically. + In both cases, the API key is subsequently used for authorization when the rule runs. tags: - alerting parameters: @@ -138,19 +133,15 @@ put: summary: Updates the attributes for a rule. operationId: updateRule description: > - You must have `all` privileges for the appropriate Kibana features, - depending on the `consumer` and `rule_type_id` of the rule you're updating. - For example, you must have privileges for the **Management > Stack rules** - feature, **Analytics > Discover** and **Machine Learning** features, - **Observability** features, or **Security** features. If the rule has - actions, you must also have `read` privileges for the - **Management > Actions and Connectors** feature. NOTE: This API supports - only token-based authentication. When you update a rule, it identifies which - roles you have at that point in time. Thereafter, when the rule performs - queries, it uses those security privileges. If you have different privileges - than the user that created or most recently updated the rule, you might - change its behavior. Though some properties are optional, when you update - the rule the existing property values are overwritten with default values. + To update a rule, you must have `all` privileges for the appropriate Kibana features, depending on the `consumer` and `rule_type_id` of the rule you're updating. + For example, you must have privileges for the **Management > Stack rules** feature, **Analytics > Discover** and **Machine Learning** features, **Observability** features, or **Security** features. + If the rule has actions, you must also have `read` privileges for the **Management > Actions and Connectors** feature. + This API supports both key- and token-based authentication. + To use key-based authentication, create an API key in Kibana and use it in the header of the API call. + To use token-based authentication, provide a username and password; an API key that matches the current privileges of the user is created automatically. + In both cases, the API key is subsequently used for authorization when the rule runs. + NOTE: If the API key has different privileges than the key that created or most recently updated the rule, the rule behavior might change. + Though some properties are optional, when you update the rule the existing property values are overwritten with default values. Therefore, it is recommended to explicitly set all property values. tags: - alerting diff --git a/x-pack/plugins/alerting/docs/openapi/paths/s@{spaceid}@api@alerting@rule@{ruleid}@_enable.yaml b/x-pack/plugins/alerting/docs/openapi/paths/s@{spaceid}@api@alerting@rule@{ruleid}@_enable.yaml index cb7991c2d9185..3759acc7093a1 100644 --- a/x-pack/plugins/alerting/docs/openapi/paths/s@{spaceid}@api@alerting@rule@{ruleid}@_enable.yaml +++ b/x-pack/plugins/alerting/docs/openapi/paths/s@{spaceid}@api@alerting@rule@{ruleid}@_enable.yaml @@ -2,11 +2,12 @@ post: summary: Enables a rule. operationId: enableRule description: > - This API supports token-based authentication only. - You must have `all` privileges for the appropriate Kibana features, - depending on the `consumer` and `rule_type_id` of the rule. For example, the - **Management > Stack Rules** feature, **Analytics > Discover** and - **Machine Learning** features, **Observability**, and **Security** features. + To enable a rule, you must have `all` privileges for the appropriate Kibana features, depending on the `consumer` and `rule_type_id` of the rule. + For example, the **Management > Stack Rules** feature, **Analytics > Discover** and **Machine Learning** features, **Observability**, and **Security** features. + This API supports both key- and token-based authentication. + To use key-based authentication, create an API key in Kibana and use it in the header of the API call. + To use token-based authentication, provide a username and password; an API key that matches the current privileges of the user is created automatically. + In both cases, the API key is subsequently used for authorization when the rule runs. tags: - alerting parameters: diff --git a/x-pack/plugins/apm/jest.config.js b/x-pack/plugins/apm/jest.config.js index cc985407698bf..5d15dd048d4f1 100644 --- a/x-pack/plugins/apm/jest.config.js +++ b/x-pack/plugins/apm/jest.config.js @@ -11,10 +11,7 @@ module.exports = { preset: '@kbn/test', rootDir: path.resolve(__dirname, '../../..'), roots: ['/x-pack/plugins/apm'], - setupFiles: [ - '/x-pack/plugins/apm/jest_setup.js', - '/x-pack/plugins/apm/.storybook/jest_setup.js', - ], + setupFiles: ['/x-pack/plugins/apm/.storybook/jest_setup.js'], coverageDirectory: '/target/kibana-coverage/jest/x-pack/plugins/apm', coverageReporters: ['text', 'html'], collectCoverageFrom: [ diff --git a/x-pack/plugins/apm/jest_setup.js b/x-pack/plugins/apm/jest_setup.js deleted file mode 100644 index 0c56a092850ab..0000000000000 --- a/x-pack/plugins/apm/jest_setup.js +++ /dev/null @@ -1,15 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the Elastic License - * 2.0; you may not use this file except in compliance with the Elastic License - * 2.0. - */ - -/* global jest */ - -// When a `console.error` is encountered, throw the error to make the test fail. -// This effectively treats logged errors during the test run as failures. -jest.spyOn(console, 'error').mockImplementation((message, ...args) => { - console.log(message, ...args); - throw new Error(message); -}); diff --git a/x-pack/plugins/cases/public/components/case_view/components/case_view_activity.test.tsx b/x-pack/plugins/cases/public/components/case_view/components/case_view_activity.test.tsx index 3457d19ccc908..89f66abaf3f94 100644 --- a/x-pack/plugins/cases/public/components/case_view/components/case_view_activity.test.tsx +++ b/x-pack/plugins/cases/public/components/case_view/components/case_view_activity.test.tsx @@ -451,7 +451,8 @@ describe('Case View Page activity tab', () => { }); describe('Case users', () => { - describe('Participants', () => { + // FLAKY: https://github.com/elastic/kibana/issues/152204 + describe.skip('Participants', () => { it('should render the participants correctly', async () => { appMockRender = createAppMockRenderer(); appMockRender.render(); diff --git a/x-pack/plugins/cloud_defend/common/constants.ts b/x-pack/plugins/cloud_defend/common/constants.ts index 0bf74aeaaab02..4f528b1e33edd 100755 --- a/x-pack/plugins/cloud_defend/common/constants.ts +++ b/x-pack/plugins/cloud_defend/common/constants.ts @@ -10,8 +10,17 @@ export const PLUGIN_ID = 'cloudDefend'; export const PLUGIN_NAME = 'Cloud Defend'; export const INTEGRATION_PACKAGE_NAME = 'cloud_defend'; export const INPUT_CONTROL = 'cloud_defend/control'; + +export const LOGS_CLOUD_DEFEND_PATTERN = 'logs-cloud_defend.*'; export const ALERTS_DATASET = 'cloud_defend.alerts'; -export const ALERTS_INDEX_PATTERN = 'cloud_defend.alerts*'; +export const ALERTS_INDEX_PATTERN = 'logs-cloud_defend.alerts*'; +export const ALERTS_INDEX_PATTERN_DEFAULT_NS = 'logs-cloud_defend.alerts-default'; +export const FILE_DATASET = 'cloud_defend.file'; +export const FILE_INDEX_PATTERN = 'logs-cloud_defend.file*'; +export const FILE_INDEX_PATTERN_DEFAULT_NS = 'logs-cloud_defend.file-default'; +export const PROCESS_DATASET = 'cloud_defend.process'; +export const PROCESS_INDEX_PATTERN = 'logs-cloud_defend.process*'; +export const PROCESS_INDEX_PATTERN_DEFAULT_NS = 'logs-cloud_defend.process-default'; export const CURRENT_API_VERSION = '1'; export const POLICIES_ROUTE_PATH = '/internal/cloud_defend/policies'; diff --git a/x-pack/plugins/cloud_defend/common/index.ts b/x-pack/plugins/cloud_defend/common/index.ts index 7ba8cc3ffff7c..25bd5ac7b2751 100644 --- a/x-pack/plugins/cloud_defend/common/index.ts +++ b/x-pack/plugins/cloud_defend/common/index.ts @@ -12,6 +12,11 @@ export type { AgentPolicyStatus, CloudDefendPolicy, PoliciesQueryParams, + SelectorType, + SelectorCondition, + ResponseAction, + Selector, + Response, } from './latest'; export { policiesQueryParamsSchema } from './latest'; diff --git a/x-pack/plugins/cloud_defend/common/utils/helpers.test.ts b/x-pack/plugins/cloud_defend/common/utils/helpers.test.ts new file mode 100644 index 0000000000000..a61aa0f70f5d9 --- /dev/null +++ b/x-pack/plugins/cloud_defend/common/utils/helpers.test.ts @@ -0,0 +1,35 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import { getSelectorsAndResponsesFromYaml, getYamlFromSelectorsAndResponses } from './helpers'; +import { MOCK_YAML_CONFIGURATION, MOCK_YAML_INVALID_CONFIGURATION } from '../../public/test/mocks'; + +describe('getSelectorsAndResponsesFromYaml', () => { + it('converts yaml into arrays of selectors and responses', () => { + const { selectors, responses } = getSelectorsAndResponsesFromYaml(MOCK_YAML_CONFIGURATION); + + expect(selectors).toHaveLength(3); + expect(responses).toHaveLength(2); + }); + + it('returns empty arrays if bad yaml', () => { + const { selectors, responses } = getSelectorsAndResponsesFromYaml( + MOCK_YAML_INVALID_CONFIGURATION + ); + + expect(selectors).toHaveLength(0); + expect(responses).toHaveLength(0); + }); +}); + +describe('getYamlFromSelectorsAndResponses', () => { + it('converts arrays of selectors and responses into yaml', () => { + const { selectors, responses } = getSelectorsAndResponsesFromYaml(MOCK_YAML_CONFIGURATION); + const yaml = getYamlFromSelectorsAndResponses(selectors, responses); + expect(yaml).toEqual(MOCK_YAML_CONFIGURATION); + }); +}); diff --git a/x-pack/plugins/cloud_defend/common/utils/helpers.ts b/x-pack/plugins/cloud_defend/common/utils/helpers.ts index 14b506e8d2e70..ae1b3a4f3d00c 100644 --- a/x-pack/plugins/cloud_defend/common/utils/helpers.ts +++ b/x-pack/plugins/cloud_defend/common/utils/helpers.ts @@ -4,9 +4,11 @@ * 2.0; you may not use this file except in compliance with the Elastic License * 2.0. */ - +import yaml from 'js-yaml'; +import { NewPackagePolicy } from '@kbn/fleet-plugin/common'; import { Truthy } from 'lodash'; import { INTEGRATION_PACKAGE_NAME } from '../constants'; +import { Selector, Response } from '..'; /** * @example @@ -33,3 +35,77 @@ export function assert(condition: any, msg?: string): asserts condition { export const isCloudDefendPackage = (packageName?: string) => packageName === INTEGRATION_PACKAGE_NAME; + +export function getInputFromPolicy(policy: NewPackagePolicy, inputId: string) { + return policy.inputs.find((input) => input.type === inputId); +} + +export function getSelectorsAndResponsesFromYaml(configuration: string): { + selectors: Selector[]; + responses: Response[]; +} { + let selectors: Selector[] = []; + let responses: Response[] = []; + + try { + const result = yaml.load(configuration); + + if (result) { + // iterate selector/response types + Object.keys(result).forEach((selectorType) => { + const obj = result[selectorType]; + + if (obj.selectors) { + selectors = selectors.concat( + obj.selectors.map((selector: any) => ({ ...selector, type: selectorType })) + ); + } + + if (obj.responses) { + responses = responses.concat( + obj.responses.map((response: any) => ({ ...response, type: selectorType })) + ); + } + }); + } + } catch { + // noop + } + return { selectors, responses }; +} + +export function getYamlFromSelectorsAndResponses(selectors: Selector[], responses: Response[]) { + const schema: any = {}; + + selectors.reduce((current, selector: any) => { + if (current && selector) { + if (current[selector.type]) { + current[selector.type]?.selectors.push(selector); + } else { + current[selector.type] = { selectors: [selector], responses: [] }; + } + } + + // the 'any' cast is used so we can keep 'selector.type' type safe + delete selector.type; + + return current; + }, schema); + + responses.reduce((current, response: any) => { + if (current && response) { + if (current[response.type]) { + current[response.type].responses.push(response); + } else { + current[response.type] = { selectors: [], responses: [response] }; + } + } + + // the 'any' cast is used so we can keep 'response.type' type safe + delete response.type; + + return current; + }, schema); + + return yaml.dump(schema); +} diff --git a/x-pack/plugins/cloud_defend/common/v1.ts b/x-pack/plugins/cloud_defend/common/v1.ts index c3bdbb4418183..03365b9092199 100644 --- a/x-pack/plugins/cloud_defend/common/v1.ts +++ b/x-pack/plugins/cloud_defend/common/v1.ts @@ -52,3 +52,68 @@ export interface CloudDefendPolicy { package_policy: PackagePolicy; agent_policy: AgentPolicyStatus; } + +/** + * cloud_defend/control types + */ + +// Currently we support file and process selectors (which match on their respective set of hook points) +export type SelectorType = 'file' | 'process'; + +export type SelectorCondition = + | 'containerImageFullName' + | 'containerImageName' + | 'containerImageTag' + | 'kubernetesClusterId' + | 'kubernetesClusterName' + | 'kubernetesNamespace' + | 'kubernetesPodLabel' + | 'kubernetesPodName' + | 'targetFilePath' + | 'ignoreVolumeFiles' + | 'ignoreVolumeMounts' + | 'operation' + | 'processExecutable' + | 'processName' + | 'sessionLeaderInteractive'; + +export type ResponseAction = 'log' | 'alert' | 'block'; + +export interface Selector { + name: string; + operation?: string[]; + containerImageFullName?: string[]; + containerImageName?: string[]; + containerImageTag?: string[]; + kubernetesClusterId?: string[]; + kubernetesClusterName?: string[]; + kubernetesNamespace?: string[]; + kubernetesPodLabel?: string[]; + kubernetesPodName?: string[]; + + // selector properties + targetFilePath?: string[]; + ignoreVolumeFiles?: boolean; + ignoreVolumeMounts?: boolean; + + // process selector properties + processExecutable?: string[]; + processName?: string[]; + sessionLeaderInteractive?: boolean; + + // non yaml fields + type: SelectorType; + // used to track selector error state in UI + hasErrors?: boolean; +} + +export interface Response { + match: string[]; + exclude?: string[]; + actions: ResponseAction[]; + + // non yaml fields + type: SelectorType; + // used to track response error state in UI + hasErrors?: boolean; +} diff --git a/x-pack/plugins/cloud_defend/public/common/utils.test.ts b/x-pack/plugins/cloud_defend/public/common/utils.test.ts index ede1dfec5b421..7c1f249c1811c 100644 --- a/x-pack/plugins/cloud_defend/public/common/utils.test.ts +++ b/x-pack/plugins/cloud_defend/public/common/utils.test.ts @@ -6,43 +6,14 @@ */ import { - getSelectorsAndResponsesFromYaml, - getYamlFromSelectorsAndResponses, getSelectorConditions, conditionCombinationInvalid, getRestrictedValuesForCondition, validateBlockRestrictions, selectorsIncludeConditionsForFIMOperationsUsingSlashStarStar, } from './utils'; -import { MOCK_YAML_CONFIGURATION, MOCK_YAML_INVALID_CONFIGURATION } from '../test/mocks'; -import { Selector, Response } from '../types'; - -describe('getSelectorsAndResponsesFromYaml', () => { - it('converts yaml into arrays of selectors and responses', () => { - const { selectors, responses } = getSelectorsAndResponsesFromYaml(MOCK_YAML_CONFIGURATION); - - expect(selectors).toHaveLength(3); - expect(responses).toHaveLength(2); - }); - - it('returns empty arrays if bad yaml', () => { - const { selectors, responses } = getSelectorsAndResponsesFromYaml( - MOCK_YAML_INVALID_CONFIGURATION - ); - - expect(selectors).toHaveLength(0); - expect(responses).toHaveLength(0); - }); -}); - -describe('getYamlFromSelectorsAndResponses', () => { - it('converts arrays of selectors and responses into yaml', () => { - const { selectors, responses } = getSelectorsAndResponsesFromYaml(MOCK_YAML_CONFIGURATION); - const yaml = getYamlFromSelectorsAndResponses(selectors, responses); - expect(yaml).toEqual(MOCK_YAML_CONFIGURATION); - }); -}); +import { Selector, Response } from '../../common'; describe('getSelectorConditions', () => { it('grabs file conditions for file selectors', () => { diff --git a/x-pack/plugins/cloud_defend/public/common/utils.ts b/x-pack/plugins/cloud_defend/public/common/utils.ts index 8200bb866db8a..2ad4697191525 100644 --- a/x-pack/plugins/cloud_defend/public/common/utils.ts +++ b/x-pack/plugins/cloud_defend/public/common/utils.ts @@ -4,32 +4,23 @@ * 2.0; you may not use this file except in compliance with the Elastic License * 2.0. */ -import yaml from 'js-yaml'; import { uniq } from 'lodash'; -import { NewPackagePolicy } from '@kbn/fleet-plugin/public'; import { i18n } from '@kbn/i18n'; import { errorBlockActionRequiresTargetFilePath } from '../components/control_general_view/translations'; import { - Selector, - Response, - SelectorType, DefaultFileSelector, DefaultProcessSelector, DefaultFileResponse, DefaultProcessResponse, SelectorConditionsMap, - SelectorCondition, } from '../types'; +import { Selector, Response, SelectorType, SelectorCondition } from '../../common'; import { MAX_CONDITION_VALUE_LENGTH_BYTES, MAX_SELECTORS_AND_RESPONSES_PER_TYPE, FIM_OPERATIONS, } from './constants'; -export function getInputFromPolicy(policy: NewPackagePolicy, inputId: string) { - return policy.inputs.find((input) => input.type === inputId); -} - export function getSelectorTypeIcon(type: SelectorType) { switch (type) { case 'process': @@ -262,73 +253,3 @@ export function getDefaultResponseByType(type: SelectorType): Response { return { ...DefaultFileResponse }; } } - -export function getSelectorsAndResponsesFromYaml(configuration: string): { - selectors: Selector[]; - responses: Response[]; -} { - let selectors: Selector[] = []; - let responses: Response[] = []; - - try { - const result = yaml.load(configuration); - - if (result) { - // iterate selector/response types - Object.keys(result).forEach((selectorType) => { - const obj = result[selectorType]; - - if (obj.selectors) { - selectors = selectors.concat( - obj.selectors.map((selector: any) => ({ ...selector, type: selectorType })) - ); - } - - if (obj.responses) { - responses = responses.concat( - obj.responses.map((response: any) => ({ ...response, type: selectorType })) - ); - } - }); - } - } catch { - // noop - } - return { selectors, responses }; -} - -export function getYamlFromSelectorsAndResponses(selectors: Selector[], responses: Response[]) { - const schema: any = {}; - - selectors.reduce((current, selector: any) => { - if (current && selector) { - if (current[selector.type]) { - current[selector.type]?.selectors.push(selector); - } else { - current[selector.type] = { selectors: [selector], responses: [] }; - } - } - - // the 'any' cast is used so we can keep 'selector.type' type safe - delete selector.type; - - return current; - }, schema); - - responses.reduce((current, response: any) => { - if (current && response) { - if (current[response.type]) { - current[response.type].responses.push(response); - } else { - current[response.type] = { selectors: [], responses: [response] }; - } - } - - // the 'any' cast is used so we can keep 'response.type' type safe - delete response.type; - - return current; - }, schema); - - return yaml.dump(schema); -} diff --git a/x-pack/plugins/cloud_defend/public/components/control_general_view/index.test.tsx b/x-pack/plugins/cloud_defend/public/components/control_general_view/index.test.tsx index c8ca5d281f954..6b27395e10d4f 100644 --- a/x-pack/plugins/cloud_defend/public/components/control_general_view/index.test.tsx +++ b/x-pack/plugins/cloud_defend/public/components/control_general_view/index.test.tsx @@ -16,7 +16,7 @@ import { MOCK_YAML_TOO_MANY_FILE_SELECTORS_RESPONSES, } from '../../test/mocks'; import { ControlGeneralView } from '.'; -import { getInputFromPolicy } from '../../common/utils'; +import { getInputFromPolicy } from '../../../common/utils/helpers'; import { INPUT_CONTROL } from '../../../common/constants'; describe('', () => { diff --git a/x-pack/plugins/cloud_defend/public/components/control_general_view/index.tsx b/x-pack/plugins/cloud_defend/public/components/control_general_view/index.tsx index 701223da1ecad..9cee97cd68540 100644 --- a/x-pack/plugins/cloud_defend/public/components/control_general_view/index.tsx +++ b/x-pack/plugins/cloud_defend/public/components/control_general_view/index.tsx @@ -19,14 +19,17 @@ import { import { INPUT_CONTROL } from '../../../common/constants'; import { useStyles } from './styles'; import { - getInputFromPolicy, - getYamlFromSelectorsAndResponses, - getSelectorsAndResponsesFromYaml, getDefaultSelectorByType, getDefaultResponseByType, getTotalsByType, } from '../../common/utils'; -import { SelectorType, Selector, Response, ViewDeps } from '../../types'; +import { + getInputFromPolicy, + getYamlFromSelectorsAndResponses, + getSelectorsAndResponsesFromYaml, +} from '../../../common/utils/helpers'; +import { ViewDeps } from '../../types'; +import { SelectorType, Selector, Response } from '../../../common'; import * as i18n from './translations'; import { ControlGeneralViewSelector } from '../control_general_view_selector'; import { ControlGeneralViewResponse } from '../control_general_view_response'; diff --git a/x-pack/plugins/cloud_defend/public/components/control_general_view/translations.ts b/x-pack/plugins/cloud_defend/public/components/control_general_view/translations.ts index aae5e8d921025..d59cd47c08f7a 100644 --- a/x-pack/plugins/cloud_defend/public/components/control_general_view/translations.ts +++ b/x-pack/plugins/cloud_defend/public/components/control_general_view/translations.ts @@ -6,7 +6,7 @@ */ import { i18n } from '@kbn/i18n'; -import { SelectorCondition, SelectorType } from '../../types'; +import { SelectorCondition, SelectorType } from '../../../common'; export const fileSelector = i18n.translate('xpack.cloudDefend.fileSelector', { defaultMessage: 'File selector', diff --git a/x-pack/plugins/cloud_defend/public/components/control_general_view_response/index.test.tsx b/x-pack/plugins/cloud_defend/public/components/control_general_view_response/index.test.tsx index aabf4e25599b3..5fbdd9f55135c 100644 --- a/x-pack/plugins/cloud_defend/public/components/control_general_view_response/index.test.tsx +++ b/x-pack/plugins/cloud_defend/public/components/control_general_view_response/index.test.tsx @@ -10,7 +10,7 @@ import { coreMock } from '@kbn/core/public/mocks'; import userEvent from '@testing-library/user-event'; import { TestProvider } from '../../test/test_provider'; import { ControlGeneralViewResponse } from '.'; -import { Response, Selector } from '../../types'; +import { Response, Selector } from '../../../common'; import * as i18n from '../control_general_view/translations'; describe('', () => { diff --git a/x-pack/plugins/cloud_defend/public/components/control_general_view_response/index.tsx b/x-pack/plugins/cloud_defend/public/components/control_general_view_response/index.tsx index 05ab2dca5fc60..c9872f1a0fe83 100644 --- a/x-pack/plugins/cloud_defend/public/components/control_general_view_response/index.tsx +++ b/x-pack/plugins/cloud_defend/public/components/control_general_view_response/index.tsx @@ -30,12 +30,8 @@ import { } from '@elastic/eui'; import { useStyles } from './styles'; import { useStyles as useSelectorStyles } from '../control_general_view_selector/styles'; -import { - ControlGeneralViewResponseDeps, - ResponseAction, - Response, - ControlFormErrorMap, -} from '../../types'; +import { ControlGeneralViewResponseDeps, ControlFormErrorMap } from '../../types'; +import { Response, ResponseAction } from '../../../common'; import * as i18n from '../control_general_view/translations'; import { getSelectorTypeIcon, @@ -405,20 +401,18 @@ export const ControlGeneralViewResponse = ({ onChange={onToggleAction} /> - {response.type === 'file' && ( - - - - - - )} + + + + + diff --git a/x-pack/plugins/cloud_defend/public/components/control_general_view_selector/index.test.tsx b/x-pack/plugins/cloud_defend/public/components/control_general_view_selector/index.test.tsx index c83f802ae49b7..ae7dc61a2f67c 100644 --- a/x-pack/plugins/cloud_defend/public/components/control_general_view_selector/index.test.tsx +++ b/x-pack/plugins/cloud_defend/public/components/control_general_view_selector/index.test.tsx @@ -10,7 +10,7 @@ import { coreMock } from '@kbn/core/public/mocks'; import userEvent from '@testing-library/user-event'; import { TestProvider } from '../../test/test_provider'; import { ControlGeneralViewSelector } from '.'; -import { Selector } from '../../types'; +import { Selector } from '../../../common'; import { getSelectorConditions } from '../../common/utils'; import * as i18n from '../control_general_view/translations'; diff --git a/x-pack/plugins/cloud_defend/public/components/control_general_view_selector/index.tsx b/x-pack/plugins/cloud_defend/public/components/control_general_view_selector/index.tsx index ba14034a92182..04033509fbe7f 100644 --- a/x-pack/plugins/cloud_defend/public/components/control_general_view_selector/index.tsx +++ b/x-pack/plugins/cloud_defend/public/components/control_general_view_selector/index.tsx @@ -29,10 +29,9 @@ import { useStyles } from './styles'; import { ControlGeneralViewSelectorDeps, ControlFormErrorMap, - Selector, - SelectorCondition, SelectorConditionsMap, } from '../../types'; +import { Selector, SelectorCondition } from '../../../common'; import { getSelectorConditions, camelToSentenceCase, diff --git a/x-pack/plugins/cloud_defend/public/components/control_yaml_view/hooks/use_config_model.ts b/x-pack/plugins/cloud_defend/public/components/control_yaml_view/hooks/use_config_model.ts index 862b0cd27bc92..42154a6fe13e7 100644 --- a/x-pack/plugins/cloud_defend/public/components/control_yaml_view/hooks/use_config_model.ts +++ b/x-pack/plugins/cloud_defend/public/components/control_yaml_view/hooks/use_config_model.ts @@ -7,7 +7,7 @@ import { useMemo } from 'react'; import { setDiagnosticsOptions } from 'monaco-yaml'; import { monaco } from '@kbn/monaco'; -import { getSelectorsAndResponsesFromYaml } from '../../../common/utils'; +import { getSelectorsAndResponsesFromYaml } from '../../../../common/utils/helpers'; /** * In order to keep this json in sync with https://github.com/elastic/cloud-defend/blob/main/modules/service/policy-schema.json diff --git a/x-pack/plugins/cloud_defend/public/components/control_yaml_view/index.tsx b/x-pack/plugins/cloud_defend/public/components/control_yaml_view/index.tsx index b93a281f232f1..2e9a3a97ae7d5 100644 --- a/x-pack/plugins/cloud_defend/public/components/control_yaml_view/index.tsx +++ b/x-pack/plugins/cloud_defend/public/components/control_yaml_view/index.tsx @@ -13,14 +13,17 @@ import { INPUT_CONTROL } from '../../../common/constants'; import { useStyles } from './styles'; import { useConfigModel } from './hooks/use_config_model'; import { - getInputFromPolicy, validateStringValuesForCondition, - getSelectorsAndResponsesFromYaml, validateMaxSelectorsAndResponses, validateBlockRestrictions, } from '../../common/utils'; +import { + getInputFromPolicy, + getSelectorsAndResponsesFromYaml, +} from '../../../common/utils/helpers'; import * as i18n from './translations'; -import { ViewDeps, SelectorConditionsMap, SelectorCondition } from '../../types'; +import { ViewDeps, SelectorConditionsMap } from '../../types'; +import { SelectorCondition } from '../../../common'; const { editor } = monaco; diff --git a/x-pack/plugins/cloud_defend/public/components/policy_settings/index.test.tsx b/x-pack/plugins/cloud_defend/public/components/policy_settings/index.test.tsx index f4d0a4ddc6b5b..ced9dfe0171fa 100644 --- a/x-pack/plugins/cloud_defend/public/components/policy_settings/index.test.tsx +++ b/x-pack/plugins/cloud_defend/public/components/policy_settings/index.test.tsx @@ -10,7 +10,7 @@ import userEvent from '@testing-library/user-event'; import { TestProvider } from '../../test/test_provider'; import { getCloudDefendNewPolicyMock } from '../../test/mocks'; import { PolicySettings } from '.'; -import { getInputFromPolicy } from '../../common/utils'; +import { getInputFromPolicy } from '../../../common/utils/helpers'; import { INPUT_CONTROL } from '../../../common/constants'; describe('', () => { diff --git a/x-pack/plugins/cloud_defend/public/components/policy_settings/index.tsx b/x-pack/plugins/cloud_defend/public/components/policy_settings/index.tsx index 6c1e6abdc93cb..0c74551183942 100644 --- a/x-pack/plugins/cloud_defend/public/components/policy_settings/index.tsx +++ b/x-pack/plugins/cloud_defend/public/components/policy_settings/index.tsx @@ -18,7 +18,7 @@ import { EuiHorizontalRule, } from '@elastic/eui'; import { INPUT_CONTROL } from '../../../common/constants'; -import { getInputFromPolicy } from '../../common/utils'; +import { getInputFromPolicy } from '../../../common/utils/helpers'; import * as i18n from './translations'; import { ControlSettings } from '../control_settings'; import { SettingsDeps, OnChangeDeps } from '../../types'; diff --git a/x-pack/plugins/cloud_defend/public/types.ts b/x-pack/plugins/cloud_defend/public/types.ts index 5ad19220178c4..971a28f9da163 100755 --- a/x-pack/plugins/cloud_defend/public/types.ts +++ b/x-pack/plugins/cloud_defend/public/types.ts @@ -16,6 +16,7 @@ import type { import type { CloudDefendRouterProps } from './application/router'; import type { CloudDefendPageId } from './common/navigation/types'; import * as i18n from './components/control_general_view/translations'; +import { SelectorType, SelectorCondition, Selector, Response } from '../common'; /** * cloud_defend plugin types @@ -53,9 +54,6 @@ export interface CloudDefendSecuritySolutionContext { * cloud_defend/control types */ -// Currently we support file and process selectors (which match on their respective set of lsm hook points) -export type SelectorType = 'file' | 'process'; - /* * 'stringArray' uses a EuiComboBox * 'flag' is a boolean value which is always 'true' @@ -63,23 +61,6 @@ export type SelectorType = 'file' | 'process'; */ export type SelectorConditionType = 'stringArray' | 'flag' | 'boolean'; -export type SelectorCondition = - | 'containerImageFullName' - | 'containerImageName' - | 'containerImageTag' - | 'kubernetesClusterId' - | 'kubernetesClusterName' - | 'kubernetesNamespace' - | 'kubernetesPodLabel' - | 'kubernetesPodName' - | 'targetFilePath' - | 'ignoreVolumeFiles' - | 'ignoreVolumeMounts' - | 'operation' - | 'processExecutable' - | 'processName' - | 'sessionLeaderInteractive'; - export interface SelectorConditionOptions { type: SelectorConditionType; pattern?: string; @@ -155,47 +136,6 @@ export const SelectorConditionsMap: SelectorConditionsMapProps = { sessionLeaderInteractive: { selectorType: 'process', type: 'boolean' }, }; -export type ResponseAction = 'log' | 'alert' | 'block'; - -export interface Selector { - name: string; - operation?: string[]; - containerImageFullName?: string[]; - containerImageName?: string[]; - containerImageTag?: string[]; - kubernetesClusterId?: string[]; - kubernetesClusterName?: string[]; - kubernetesNamespace?: string[]; - kubernetesPodLabel?: string[]; - kubernetesPodName?: string[]; - - // selector properties - targetFilePath?: string[]; - ignoreVolumeFiles?: boolean; - ignoreVolumeMounts?: boolean; - - // process selector properties - processExecutable?: string[]; - processName?: string[]; - sessionLeaderInteractive?: string[]; - - // non yaml fields - type: SelectorType; - // used to track selector error state in UI - hasErrors?: boolean; -} - -export interface Response { - match: string[]; - exclude?: string[]; - actions: ResponseAction[]; - - // non yaml fields - type: SelectorType; - // used to track response error state in UI - hasErrors?: boolean; -} - export const DefaultFileSelector: Selector = { type: 'file', name: 'Untitled', diff --git a/x-pack/plugins/cloud_defend/server/lib/check_index_status.ts b/x-pack/plugins/cloud_defend/server/lib/check_index_status.ts index ab882e35fc70e..a02e3a22f1f23 100644 --- a/x-pack/plugins/cloud_defend/server/lib/check_index_status.ts +++ b/x-pack/plugins/cloud_defend/server/lib/check_index_status.ts @@ -26,6 +26,7 @@ export const checkIndexStatus = async ( } catch (e) { logger.debug(e); if (e?.meta?.body?.error?.type === 'security_exception') { + logger.info(e); return 'unprivileged'; } diff --git a/x-pack/plugins/cloud_defend/server/lib/telemetry/collectors/accounts_stats_collector.ts b/x-pack/plugins/cloud_defend/server/lib/telemetry/collectors/accounts_stats_collector.ts new file mode 100644 index 0000000000000..af29fad6e5918 --- /dev/null +++ b/x-pack/plugins/cloud_defend/server/lib/telemetry/collectors/accounts_stats_collector.ts @@ -0,0 +1,218 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ +import type { ElasticsearchClient } from '@kbn/core-elasticsearch-server'; +import type { Logger } from '@kbn/core/server'; +import type { + AggregationsMultiBucketBase, + SearchRequest, +} from '@elastic/elasticsearch/lib/api/types'; +import type { CloudDefendAccountsStats } from './types'; +import { LOGS_CLOUD_DEFEND_PATTERN } from '../../../../common/constants'; + +interface Value { + value: number; +} + +interface KubernetesVersion { + metrics: { 'orchestrator.version': string }; +} + +interface CloudProvider { + metrics: { 'cloud.provider': string }; +} + +interface AccountsStats { + accounts: { + buckets: AccountEntity[]; + }; +} +interface AccountEntity { + key: string; // aggregation bucket key (currently: orchestrator.cluster.id) + doc_count: number; // total doc count (process + file + alerts) + process_doc_count: AggregationsMultiBucketBase; + file_doc_count: AggregationsMultiBucketBase; + alert_doc_count: AggregationsMultiBucketBase; + cloud_provider: { top: CloudProvider[] }; + kubernetes_version: { top: KubernetesVersion[] }; + agents_count: Value; + nodes_count: Value; + pods_count: Value; + resources: { + pods_count: Value; + }; +} + +const getAccountsStatsQuery = (): SearchRequest => ({ + index: LOGS_CLOUD_DEFEND_PATTERN, + query: { + match_all: {}, + }, + aggs: { + accounts: { + terms: { + field: 'orchestrator.cluster.id', + order: { + _count: 'desc', + }, + size: 100, + }, + aggs: { + nodes_count: { + cardinality: { + field: 'cloud.instance.name', + }, + }, + agents_count: { + cardinality: { + field: 'agent.id', + }, + }, + kubernetes_version: { + top_metrics: { + metrics: { + field: 'orchestrator.version', + }, + size: 1, + sort: { + '@timestamp': 'desc', + }, + }, + }, + cloud_provider: { + top_metrics: { + metrics: { + field: 'cloud.provider', + }, + size: 1, + sort: { + '@timestamp': 'desc', + }, + }, + }, + file_doc_count: { + filter: { + bool: { + filter: [ + { + bool: { + should: [ + { + term: { + 'event.category': 'file', + }, + }, + ], + minimum_should_match: 1, + }, + }, + ], + }, + }, + }, + process_doc_count: { + filter: { + bool: { + filter: [ + { + bool: { + should: [ + { + term: { + 'event.category': 'process', + }, + }, + ], + minimum_should_match: 1, + }, + }, + ], + }, + }, + }, + alert_doc_count: { + filter: { + bool: { + filter: [ + { + bool: { + should: [ + { + term: { + 'event.kind': 'alert', + }, + }, + ], + minimum_should_match: 1, + }, + }, + ], + }, + }, + }, + pods_count: { + cardinality: { + field: 'orchestrator.resource.name', + }, + }, + }, + }, + }, + + size: 0, + _source: false, +}); + +const getCloudDefendAccountsStats = ( + aggregatedResourcesStats: AccountsStats, + logger: Logger +): CloudDefendAccountsStats[] => { + const accounts = aggregatedResourcesStats.accounts.buckets; + + const cloudDefendAccountsStats = accounts.map((account) => ({ + account_id: account.key, + total_doc_count: account.doc_count, + file_doc_count: account.file_doc_count.doc_count, + process_doc_count: account.process_doc_count.doc_count, + alert_doc_count: account.alert_doc_count.doc_count, + kubernetes_version: account.kubernetes_version?.top?.[0]?.metrics['orchestrator.version'], + cloud_provider: account.cloud_provider?.top?.[0]?.metrics['cloud.provider'], + agents_count: account.agents_count.value, + nodes_count: account.nodes_count.value, + pods_count: account.pods_count.value, + })); + logger.info('CloudDefend telemetry: accounts stats was sent'); + + return cloudDefendAccountsStats; +}; + +export const getAccountsStats = async ( + esClient: ElasticsearchClient, + logger: Logger +): Promise => { + try { + const isIndexExists = await esClient.indices.exists({ + index: LOGS_CLOUD_DEFEND_PATTERN, + }); + + if (isIndexExists) { + const accountsStatsResponse = await esClient.search( + getAccountsStatsQuery() + ); + + const cloudDefendAccountsStats = accountsStatsResponse.aggregations + ? getCloudDefendAccountsStats(accountsStatsResponse.aggregations, logger) + : []; + + return cloudDefendAccountsStats; + } + + return []; + } catch (e) { + logger.error(`Failed to get account stats ${e}`); + return []; + } +}; diff --git a/x-pack/plugins/cloud_defend/server/lib/telemetry/collectors/indices_stats_collector.ts b/x-pack/plugins/cloud_defend/server/lib/telemetry/collectors/indices_stats_collector.ts new file mode 100644 index 0000000000000..2c1279952391d --- /dev/null +++ b/x-pack/plugins/cloud_defend/server/lib/telemetry/collectors/indices_stats_collector.ts @@ -0,0 +1,107 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ +import type { CoreStart, Logger, SavedObjectsClientContract } from '@kbn/core/server'; +import type { ElasticsearchClient } from '@kbn/core-elasticsearch-server'; +import { getCloudDefendStatus } from '../../../routes/status/status'; +import type { CloudDefendPluginStart, CloudDefendPluginStartDeps } from '../../../types'; + +import type { CloudDefendIndicesStats, IndexStats } from './types'; +import { + ALERTS_INDEX_PATTERN, + FILE_INDEX_PATTERN, + PROCESS_INDEX_PATTERN, +} from '../../../../common/constants'; + +const getIndexDocCount = (esClient: ElasticsearchClient, index: string) => + esClient.indices.stats({ index }); + +const getLatestDocTimestamp = async ( + esClient: ElasticsearchClient, + index: string +): Promise => { + const latestTimestamp = await esClient.search({ + index, + query: { + match_all: {}, + }, + sort: '@timestamp:desc', + size: 1, + fields: ['@timestamp'], + _source: false, + }); + + const latestEventTimestamp = latestTimestamp.hits?.hits[0]?.fields; + + return latestEventTimestamp ? latestEventTimestamp['@timestamp'][0] : null; +}; + +const getIndexStats = async ( + esClient: ElasticsearchClient, + index: string, + logger: Logger +): Promise => { + try { + const lastDocTimestamp = await getLatestDocTimestamp(esClient, index); + + if (lastDocTimestamp) { + const indexStats = await getIndexDocCount(esClient, index); + return { + doc_count: indexStats._all.primaries?.docs ? indexStats._all.primaries?.docs?.count : 0, + deleted: indexStats._all.primaries?.docs?.deleted + ? indexStats._all.primaries?.docs?.deleted + : 0, + size_in_bytes: indexStats._all.primaries?.store + ? indexStats._all.primaries?.store.size_in_bytes + : 0, + last_doc_timestamp: lastDocTimestamp, + }; + } + + return {}; + } catch (e) { + logger.error(`Failed to get index stats for ${index}`); + return {}; + } +}; + +export const getIndicesStats = async ( + esClient: ElasticsearchClient, + soClient: SavedObjectsClientContract, + coreServices: Promise<[CoreStart, CloudDefendPluginStartDeps, CloudDefendPluginStart]>, + logger: Logger +): Promise => { + const [alerts, file, process] = await Promise.all([ + getIndexStats(esClient, ALERTS_INDEX_PATTERN, logger), + getIndexStats(esClient, FILE_INDEX_PATTERN, logger), + getIndexStats(esClient, PROCESS_INDEX_PATTERN, logger), + ]); + + const [, cloudDefendPluginStartDeps] = await coreServices; + + const { status, latestPackageVersion, installedPackagePolicies, healthyAgents } = + await getCloudDefendStatus({ + logger, + esClient, + soClient, + agentPolicyService: cloudDefendPluginStartDeps.fleet.agentPolicyService, + agentService: cloudDefendPluginStartDeps.fleet.agentService, + packagePolicyService: cloudDefendPluginStartDeps.fleet.packagePolicyService, + packageService: cloudDefendPluginStartDeps.fleet.packageService, + }); + + return { + alerts, + file, + process, + latestPackageVersion, + packageStatus: { + status, + installedPackagePolicies, + healthyAgents, + }, + }; +}; diff --git a/x-pack/plugins/cloud_defend/server/lib/telemetry/collectors/installation_stats_collector.ts b/x-pack/plugins/cloud_defend/server/lib/telemetry/collectors/installation_stats_collector.ts new file mode 100644 index 0000000000000..bf159a0f4c5ec --- /dev/null +++ b/x-pack/plugins/cloud_defend/server/lib/telemetry/collectors/installation_stats_collector.ts @@ -0,0 +1,89 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ +import type { CoreStart, Logger, SavedObjectsClientContract } from '@kbn/core/server'; +import type { ElasticsearchClient } from '@kbn/core-elasticsearch-server'; +import { + AgentPolicy, + PackagePolicy, + PACKAGE_POLICY_SAVED_OBJECT_TYPE, + SO_SEARCH_LIMIT, +} from '@kbn/fleet-plugin/common'; +import { agentPolicyService } from '@kbn/fleet-plugin/server/services'; +import type { CloudDefendInstallationStats } from './types'; +import type { CloudDefendPluginStart, CloudDefendPluginStartDeps } from '../../../types'; +import { INTEGRATION_PACKAGE_NAME, INPUT_CONTROL } from '../../../../common/constants'; +import { + getInputFromPolicy, + getSelectorsAndResponsesFromYaml, +} from '../../../../common/utils/helpers'; + +export const getInstallationStats = async ( + esClient: ElasticsearchClient, + soClient: SavedObjectsClientContract, + coreServices: Promise<[CoreStart, CloudDefendPluginStartDeps, CloudDefendPluginStart]>, + logger: Logger +): Promise => { + const [, cloudDefendServerPluginStartDeps] = await coreServices; + + const cloudDefendContext = { + logger, + esClient, + soClient, + agentPolicyService: cloudDefendServerPluginStartDeps.fleet.agentPolicyService, + packagePolicyService: cloudDefendServerPluginStartDeps.fleet.packagePolicyService, + }; + + const getInstalledPackagePolicies = async ( + packagePolicies: PackagePolicy[], + agentPolicies: AgentPolicy[] + ) => { + const installationStats = packagePolicies.map( + (packagePolicy: PackagePolicy): CloudDefendInstallationStats => { + const agentCounts = + agentPolicies?.find((agentPolicy) => agentPolicy?.id === packagePolicy.policy_id) + ?.agents ?? 0; + + const input = getInputFromPolicy(packagePolicy, INPUT_CONTROL); + const policyYaml = input?.vars?.configuration?.value; + const { selectors, responses } = getSelectorsAndResponsesFromYaml(policyYaml); + + return { + package_policy_id: packagePolicy.id, + package_version: packagePolicy.package?.version as string, + created_at: packagePolicy.created_at, + agent_policy_id: packagePolicy.policy_id, + agent_count: agentCounts, + policy_yaml: policyYaml, + selectors, + responses, + }; + } + ); + return installationStats; + }; + + const packagePolicies = await cloudDefendContext.packagePolicyService.list(soClient, { + perPage: SO_SEARCH_LIMIT, + kuery: `${PACKAGE_POLICY_SAVED_OBJECT_TYPE}.package.name:"${INTEGRATION_PACKAGE_NAME}"`, + }); + + const agentPolicies = await agentPolicyService.list(soClient, { + perPage: SO_SEARCH_LIMIT, + kuery: '', + esClient, + withAgentCount: true, + }); + + if (!packagePolicies) return []; + + const installationStats: CloudDefendInstallationStats[] = await getInstalledPackagePolicies( + packagePolicies.items, + agentPolicies?.items || [] + ); + + return installationStats; +}; diff --git a/x-pack/plugins/cloud_defend/server/lib/telemetry/collectors/pods_stats_collector.ts b/x-pack/plugins/cloud_defend/server/lib/telemetry/collectors/pods_stats_collector.ts new file mode 100644 index 0000000000000..311411ca92cad --- /dev/null +++ b/x-pack/plugins/cloud_defend/server/lib/telemetry/collectors/pods_stats_collector.ts @@ -0,0 +1,210 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ +import type { ElasticsearchClient } from '@kbn/core-elasticsearch-server'; +import type { Logger } from '@kbn/core/server'; +import type { SearchRequest } from '@elastic/elasticsearch/lib/api/types'; +import type { CloudDefendPodsStats } from './types'; +import { LOGS_CLOUD_DEFEND_PATTERN } from '../../../../common/constants'; + +interface PodsStats { + accounts: { + buckets: AccountEntity[]; + }; +} + +interface Bucket { + key: string; +} + +export interface AccountEntity { + key: string; // orchestrator.cluster.id + doc_count: number; + pods: { + buckets: Pod[]; + }; +} + +interface Pod { + key: string; // orchestrator.resource.name + container_image_name: { + buckets: Bucket[]; + }; + container_image_tag: { + buckets: Bucket[]; + }; + doc_count: number; + file_doc_count: { + doc_count: number; + }; + process_doc_count: { + doc_count: number; + }; + alert_doc_count: { + doc_count: number; + }; +} + +const getPodsStatsQuery = (index: string): SearchRequest => ({ + index, + query: { + match_all: {}, + }, + aggs: { + accounts: { + terms: { + field: 'orchestrator.cluster.id', + order: { + _count: 'desc', + }, + size: 100, + }, + aggs: { + // all cloud-defend logs are from the viewpoint of an orchestrator.resource.type = "pod" + // so no need to filter by orchestrator.resource.type. + pods: { + terms: { + field: 'orchestrator.resource.name', + order: { + _count: 'desc', + }, + size: 100, + }, + aggs: { + container_image_name: { + terms: { + field: 'container.image.name', + size: 1, + }, + }, + container_image_tag: { + terms: { + field: 'container.image.tag', + size: 1, + }, + }, + file_doc_count: { + filter: { + bool: { + filter: [ + { + bool: { + should: [ + { + term: { + 'event.category': 'file', + }, + }, + ], + minimum_should_match: 1, + }, + }, + ], + }, + }, + }, + process_doc_count: { + filter: { + bool: { + filter: [ + { + bool: { + should: [ + { + term: { + 'event.category': 'process', + }, + }, + ], + minimum_should_match: 1, + }, + }, + ], + }, + }, + }, + alert_doc_count: { + filter: { + bool: { + filter: [ + { + bool: { + should: [ + { + term: { + 'event.kind': 'alert', + }, + }, + ], + minimum_should_match: 1, + }, + }, + ], + }, + }, + }, + }, + }, + }, + }, + }, + + size: 0, + _source: false, +}); + +const getCloudDefendPodsStats = ( + aggregatedPodsStats: PodsStats, + logger: Logger +): CloudDefendPodsStats[] => { + const accounts = aggregatedPodsStats.accounts.buckets; + const podsStats = accounts.map((account) => { + const accountId = account.key; + return account.pods.buckets.map((pod) => { + return { + account_id: accountId, + pod_name: pod.key, + container_image_name: pod.container_image_name?.buckets?.[0]?.key, + container_image_tag: pod.container_image_tag?.buckets?.[0]?.key, + total_doc_count: pod.doc_count, + file_doc_count: pod.file_doc_count.doc_count, + process_doc_count: pod.process_doc_count.doc_count, + alert_doc_count: pod.alert_doc_count.doc_count, + }; + }); + }); + logger.info('Cloud defend telemetry: pods stats was sent'); + + return podsStats.flat(2); +}; + +export const getPodsStats = async ( + esClient: ElasticsearchClient, + logger: Logger +): Promise => { + try { + const isIndexExists = await esClient.indices.exists({ + index: LOGS_CLOUD_DEFEND_PATTERN, + }); + + if (isIndexExists) { + const podsStatsResponse = await esClient.search( + getPodsStatsQuery(LOGS_CLOUD_DEFEND_PATTERN) + ); + + const cloudDefendPodsStats = podsStatsResponse.aggregations + ? getCloudDefendPodsStats(podsStatsResponse.aggregations, logger) + : []; + + return cloudDefendPodsStats; + } + + return []; + } catch (e) { + logger.error(`Failed to get pods stats ${e}`); + return []; + } +}; diff --git a/x-pack/plugins/cloud_defend/server/lib/telemetry/collectors/register.ts b/x-pack/plugins/cloud_defend/server/lib/telemetry/collectors/register.ts new file mode 100644 index 0000000000000..6b7d53e57f89e --- /dev/null +++ b/x-pack/plugins/cloud_defend/server/lib/telemetry/collectors/register.ts @@ -0,0 +1,72 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import { CollectorFetchContext, UsageCollectionSetup } from '@kbn/usage-collection-plugin/server'; +import type { CoreStart, Logger } from '@kbn/core/server'; +import { CloudDefendPluginStart, CloudDefendPluginStartDeps } from '../../../types'; +import { getIndicesStats } from './indices_stats_collector'; +import { getPodsStats } from './pods_stats_collector'; +import { cloudDefendUsageSchema } from './schema'; +import { CloudDefendUsage } from './types'; +import { getAccountsStats } from './accounts_stats_collector'; +import { getInstallationStats } from './installation_stats_collector'; + +export function registerCloudDefendUsageCollector( + logger: Logger, + coreServices: Promise<[CoreStart, CloudDefendPluginStartDeps, CloudDefendPluginStart]>, + usageCollection?: UsageCollectionSetup +): void { + // usageCollection is an optional dependency, so make sure to return if it is not registered + if (!usageCollection) { + logger.debug('Usage collection disabled'); + return; + } + + // Create usage collector + const cloudDefendUsageCollector = usageCollection.makeUsageCollector({ + type: 'cloud_defend', + isReady: async () => { + await coreServices; + return true; + }, + fetch: async (collectorFetchContext: CollectorFetchContext) => { + logger.debug('Starting cloud_defend usage collection'); + + const [indicesStats, accountsStats, podsStats, installationStats] = await Promise.all([ + getIndicesStats( + collectorFetchContext.esClient, + collectorFetchContext.soClient, + coreServices, + logger + ), + getAccountsStats(collectorFetchContext.esClient, logger), + getPodsStats(collectorFetchContext.esClient, logger), + getInstallationStats( + collectorFetchContext.esClient, + collectorFetchContext.soClient, + coreServices, + logger + ), + ]).catch((err) => { + logger.error(err); + + return err; + }); + + return { + indices: indicesStats, + accounts_stats: accountsStats, + pods_stats: podsStats, + installation_stats: installationStats, + }; + }, + schema: cloudDefendUsageSchema, + }); + + // Register usage collector + usageCollection.registerCollector(cloudDefendUsageCollector); +} diff --git a/x-pack/plugins/cloud_defend/server/lib/telemetry/collectors/schema.ts b/x-pack/plugins/cloud_defend/server/lib/telemetry/collectors/schema.ts new file mode 100644 index 0000000000000..55c6677128c09 --- /dev/null +++ b/x-pack/plugins/cloud_defend/server/lib/telemetry/collectors/schema.ts @@ -0,0 +1,132 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import type { MakeSchemaFrom } from '@kbn/usage-collection-plugin/server'; +import type { CloudDefendUsage } from './types'; + +export const cloudDefendUsageSchema: MakeSchemaFrom = { + indices: { + alerts: { + doc_count: { + type: 'long', + }, + deleted: { + type: 'long', + }, + size_in_bytes: { + type: 'long', + }, + last_doc_timestamp: { + type: 'date', + }, + }, + file: { + doc_count: { + type: 'long', + }, + deleted: { + type: 'long', + }, + size_in_bytes: { + type: 'long', + }, + last_doc_timestamp: { + type: 'date', + }, + }, + process: { + doc_count: { + type: 'long', + }, + deleted: { + type: 'long', + }, + size_in_bytes: { + type: 'long', + }, + last_doc_timestamp: { + type: 'date', + }, + }, + latestPackageVersion: { type: 'keyword' }, + packageStatus: { + status: { type: 'keyword' }, + installedPackagePolicies: { type: 'long' }, + healthyAgents: { type: 'long' }, + }, + }, + pods_stats: { + type: 'array', + items: { + account_id: { type: 'keyword' }, + container_image_name: { type: 'keyword' }, + container_image_tag: { type: 'keyword' }, + pod_name: { type: 'keyword' }, + total_doc_count: { type: 'long' }, + process_doc_count: { type: 'long' }, + file_doc_count: { type: 'long' }, + alert_doc_count: { type: 'long' }, + }, + }, + accounts_stats: { + type: 'array', + items: { + account_id: { type: 'keyword' }, + cloud_provider: { type: 'keyword' }, + kubernetes_version: { type: 'keyword' }, + total_doc_count: { type: 'long' }, + file_doc_count: { type: 'long' }, + process_doc_count: { type: 'long' }, + alert_doc_count: { type: 'long' }, + agents_count: { type: 'short' }, + nodes_count: { type: 'short' }, + pods_count: { type: 'short' }, + }, + }, + installation_stats: { + type: 'array', + items: { + package_policy_id: { type: 'keyword' }, + package_version: { type: 'keyword' }, + agent_policy_id: { type: 'keyword' }, + created_at: { type: 'date' }, + agent_count: { type: 'long' }, + policy_yaml: { type: 'keyword' }, + selectors: { + type: 'array', + items: { + type: { type: 'keyword' }, + name: { type: 'keyword' }, + operation: { type: 'array', items: { type: 'keyword' } }, + containerImageFullName: { type: 'array', items: { type: 'keyword' } }, + containerImageName: { type: 'array', items: { type: 'keyword' } }, + containerImageTag: { type: 'array', items: { type: 'keyword' } }, + kubernetesClusterId: { type: 'array', items: { type: 'keyword' } }, + kubernetesClusterName: { type: 'array', items: { type: 'keyword' } }, + kubernetesNamespace: { type: 'array', items: { type: 'keyword' } }, + kubernetesPodLabel: { type: 'array', items: { type: 'keyword' } }, + kubernetesPodName: { type: 'array', items: { type: 'keyword' } }, + targetFilePath: { type: 'array', items: { type: 'keyword' } }, + ignoreVolumeFiles: { type: 'boolean' }, + ignoreVolumeMounts: { type: 'boolean' }, + processExecutable: { type: 'array', items: { type: 'keyword' } }, + processName: { type: 'array', items: { type: 'keyword' } }, + sessionLeaderInteractive: { type: 'boolean' }, + }, + }, + responses: { + type: 'array', + items: { + type: { type: 'keyword' }, + match: { type: 'array', items: { type: 'keyword' } }, + exclude: { type: 'array', items: { type: 'keyword' } }, + actions: { type: 'array', items: { type: 'keyword' } }, + }, + }, + }, + }, +}; diff --git a/x-pack/plugins/cloud_defend/server/lib/telemetry/collectors/types.ts b/x-pack/plugins/cloud_defend/server/lib/telemetry/collectors/types.ts new file mode 100644 index 0000000000000..32de2548cf7c2 --- /dev/null +++ b/x-pack/plugins/cloud_defend/server/lib/telemetry/collectors/types.ts @@ -0,0 +1,121 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ +// for some reason we can't reference common/index.ts because +// the `node scripts/check_telemetry.js --fix` command fails with the error +// ERROR Error: Error extracting collector in x-pack/plugins/cloud_defend/server/lib/telemetry/collectors/register.ts +// Error: Unable to find identifier in source Selector +// at createFailError (dev_cli_errors.ts:27:24) +// at parseUsageCollection (ts_parser.ts:226:32) +// at parseUsageCollection.next () +// at extractCollectors (extract_collectors.ts:58:32) +// at extractCollectors.next () +// at Task.task (extract_collectors_task.ts:43:53) +// at runMicrotasks () +// at processTicksAndRejections (node:internal/process/task_queues:96:5) +// +// I guess the intermediate import/export is causing problems +// for now we will just point to the current version (v1) +import type { + Selector, + Response, + SelectorType, + SelectorCondition, + ResponseAction, +} from '../../../../common/v1'; + +export interface CloudDefendUsage { + indices: CloudDefendIndicesStats; + pods_stats: CloudDefendPodsStats[]; + accounts_stats: CloudDefendAccountsStats[]; + installation_stats: CloudDefendInstallationStats[]; +} + +export interface PackageSetupStatus { + status: string; + installedPackagePolicies: number; + healthyAgents: number; +} + +export interface CloudDefendIndicesStats { + alerts: IndexStats | {}; + file: IndexStats | {}; + process: IndexStats | {}; + latestPackageVersion: string; + packageStatus: PackageSetupStatus; +} + +export interface IndexStats { + doc_count: number; + deleted: number; + size_in_bytes: number; + last_doc_timestamp: string | null; +} + +export interface CloudDefendPodsStats { + account_id: string; + pod_name: string; + container_image_name: string; + container_image_tag: string; + total_doc_count: number; + file_doc_count: number; + process_doc_count: number; + alert_doc_count: number; +} + +export interface CloudDefendAccountsStats { + account_id: string; + total_doc_count: number; + cloud_provider: string; + kubernetes_version: string | null; + file_doc_count: number; + process_doc_count: number; + alert_doc_count: number; + agents_count: number; + nodes_count: number; + pods_count: number; +} + +export type CloudDefendSelectorTypeCounts = { + [key in SelectorType]: number; +}; + +export type CloudDefendResponseTypeCounts = { + [key in SelectorType]: number; +}; + +export type CloudDefendConditionsCounts = { + [key in SelectorCondition]?: number; +}; + +export type CloudDefendActionCounts = { + [key in ResponseAction]?: number; +}; + +export interface CloudDefendPolicyYamlStats { + policy_yaml: string; + policy_json: string; // to be used for further digging in BigQuery + selector_counts: CloudDefendSelectorTypeCounts; + response_counts: CloudDefendResponseTypeCounts; + selector_conditions_counts: CloudDefendConditionsCounts; + response_actions_counts: CloudDefendActionCounts; + response_match_names: string[]; + response_exclude_names: string[]; +} + +type CloudDefendSelector = Omit; +type CloudDefendResponse = Omit; + +export interface CloudDefendInstallationStats { + package_policy_id: string; + package_version: string; + agent_policy_id: string; + created_at: string; + agent_count: number; + policy_yaml: string; + selectors: CloudDefendSelector[]; + responses: CloudDefendResponse[]; +} diff --git a/x-pack/plugins/cloud_defend/server/plugin.ts b/x-pack/plugins/cloud_defend/server/plugin.ts index d5254b7782647..c8a6bc5083b1c 100644 --- a/x-pack/plugins/cloud_defend/server/plugin.ts +++ b/x-pack/plugins/cloud_defend/server/plugin.ts @@ -23,6 +23,7 @@ import { setupRoutes } from './routes/setup_routes'; import { isCloudDefendPackage } from '../common/utils/helpers'; import { isSubscriptionAllowed } from '../common/utils/subscription'; import { onPackagePolicyPostCreateCallback } from './lib/fleet_util'; +import { registerCloudDefendUsageCollector } from './lib/telemetry/collectors/register'; export class CloudDefendPlugin implements Plugin { private readonly logger: Logger; @@ -43,6 +44,9 @@ export class CloudDefendPlugin implements Plugin @@ -67,14 +84,25 @@ const getHealthyAgents = async ( const calculateCloudDefendStatusCode = ( indicesStatus: { alerts: IndexStatus; + process: IndexStatus; + file: IndexStatus; }, installedCloudDefendPackagePolicies: number, healthyAgents: number, timeSinceInstallationInMinutes: number ): CloudDefendStatusCode => { - // We check privileges only for the relevant indices for our pages to appear - if (indicesStatus.alerts === 'unprivileged') return 'unprivileged'; - if (indicesStatus.alerts === 'not-empty') return 'indexed'; + if ( + indicesStatus.alerts === 'unprivileged' || + indicesStatus.file === 'unprivileged' || + indicesStatus.process === 'unprivileged' + ) + return 'unprivileged'; + if ( + indicesStatus.alerts === 'not-empty' || + indicesStatus.file === 'not-empty' || + indicesStatus.process === 'not-empty' + ) + return 'indexed'; if (installedCloudDefendPackagePolicies === 0) return 'not-installed'; if (healthyAgents === 0) return 'not-deployed'; if (timeSinceInstallationInMinutes <= INDEX_TIMEOUT_IN_MINUTES) return 'indexing'; @@ -95,7 +123,7 @@ const assertResponse = ( } }; -const getCloudDefendStatus = async ({ +export const getCloudDefendStatus = async ({ logger, esClient, soClient, @@ -103,15 +131,19 @@ const getCloudDefendStatus = async ({ packagePolicyService, agentPolicyService, agentService, -}: CloudDefendApiRequestHandlerContext): Promise => { +}: CloudDefendStatusDependencies): Promise => { const [ alertsIndexStatus, + fileIndexStatus, + processIndexStatus, installation, latestCloudDefendPackage, installedPackagePolicies, installedPolicyTemplates, ] = await Promise.all([ - checkIndexStatus(esClient.asCurrentUser, ALERTS_INDEX_PATTERN, logger), + checkIndexStatus(esClient, ALERTS_INDEX_PATTERN_DEFAULT_NS, logger), + checkIndexStatus(esClient, FILE_INDEX_PATTERN_DEFAULT_NS, logger), + checkIndexStatus(esClient, PROCESS_INDEX_PATTERN_DEFAULT_NS, logger), packageService.asInternalUser.getInstallation(INTEGRATION_PACKAGE_NAME), packageService.asInternalUser.fetchFindLatestPackage(INTEGRATION_PACKAGE_NAME), getCloudDefendPackagePolicies(soClient, packagePolicyService, INTEGRATION_PACKAGE_NAME, { @@ -134,14 +166,24 @@ const getCloudDefendStatus = async ({ const MIN_DATE = 0; const indicesDetails = [ { - index: ALERTS_INDEX_PATTERN, + index: ALERTS_INDEX_PATTERN_DEFAULT_NS, status: alertsIndexStatus, }, + { + index: FILE_INDEX_PATTERN_DEFAULT_NS, + status: fileIndexStatus, + }, + { + index: PROCESS_INDEX_PATTERN_DEFAULT_NS, + status: processIndexStatus, + }, ]; const status = calculateCloudDefendStatusCode( { alerts: alertsIndexStatus, + file: fileIndexStatus, + process: processIndexStatus, }, installedPackagePoliciesTotal, healthyAgents, @@ -183,7 +225,10 @@ export const defineGetCloudDefendStatusRoute = (router: CloudDefendRouter) => .addVersion({ version: '1', validate: {} }, async (context, request, response) => { const cloudDefendContext = await context.cloudDefend; try { - const status = await getCloudDefendStatus(cloudDefendContext); + const status = await getCloudDefendStatus({ + ...cloudDefendContext, + esClient: cloudDefendContext.esClient.asCurrentUser, + }); return response.ok({ body: status, }); diff --git a/x-pack/plugins/cloud_defend/server/types.ts b/x-pack/plugins/cloud_defend/server/types.ts index 121a97ee926be..e6a5d9454ba81 100644 --- a/x-pack/plugins/cloud_defend/server/types.ts +++ b/x-pack/plugins/cloud_defend/server/types.ts @@ -27,6 +27,8 @@ import type { PluginStart as DataPluginStart, } from '@kbn/data-plugin/server'; +import type { UsageCollectionSetup } from '@kbn/usage-collection-plugin/server'; + // eslint-disable-next-line @typescript-eslint/no-empty-interface export interface CloudDefendPluginSetup {} // eslint-disable-next-line @typescript-eslint/no-empty-interface @@ -36,6 +38,7 @@ export interface CloudDefendPluginSetupDeps { data: DataPluginSetup; security: SecurityPluginSetup; cloud: CloudSetup; + usageCollection?: UsageCollectionSetup; } export interface CloudDefendPluginStartDeps { data: DataPluginStart; diff --git a/x-pack/plugins/cloud_defend/tsconfig.json b/x-pack/plugins/cloud_defend/tsconfig.json index d1a3eaa60681f..f2433e1c956a0 100755 --- a/x-pack/plugins/cloud_defend/tsconfig.json +++ b/x-pack/plugins/cloud_defend/tsconfig.json @@ -34,7 +34,8 @@ "@kbn/utility-types", "@kbn/utility-types-jest", "@kbn/kubernetes-security-plugin", - "@kbn/core-http-router-server-mocks" + "@kbn/core-http-router-server-mocks", + "@kbn/core-elasticsearch-server" ], "exclude": ["target/**/*"] } diff --git a/x-pack/plugins/cloud_integrations/cloud_data_migration/server/config.ts b/x-pack/plugins/cloud_integrations/cloud_data_migration/server/config.ts index d1b9842857d47..e6a7fce2541f2 100644 --- a/x-pack/plugins/cloud_integrations/cloud_data_migration/server/config.ts +++ b/x-pack/plugins/cloud_integrations/cloud_data_migration/server/config.ts @@ -9,7 +9,14 @@ import { schema, TypeOf } from '@kbn/config-schema'; import { PluginConfigDescriptor } from '@kbn/core-plugins-server'; const configSchema = schema.object({ - enabled: schema.boolean({ defaultValue: true }), + enabled: schema.conditional( + schema.contextRef('serverless'), + true, + // cloud_data_migration is disabled in serverless; refer to the serverless.yml file as the source of truth + // We take this approach in order to have a central place (serverless.yml) to view disabled plugins across Kibana + schema.boolean({ defaultValue: true }), + schema.never() + ), }); export type CloudDataMigrationConfig = TypeOf; diff --git a/x-pack/plugins/cross_cluster_replication/server/config.ts b/x-pack/plugins/cross_cluster_replication/server/config.ts index 4cba6d0707abb..1d83f53920576 100644 --- a/x-pack/plugins/cross_cluster_replication/server/config.ts +++ b/x-pack/plugins/cross_cluster_replication/server/config.ts @@ -26,7 +26,14 @@ const schemaLatest = schema.object( * Disables the plugin. * Added back in 8.8. */ - enabled: schema.boolean({ defaultValue: true }), + enabled: schema.conditional( + schema.contextRef('serverless'), + true, + // CCR is disabled in serverless; refer to the serverless.yml file as the source of truth + // We take this approach in order to have a central place (serverless.yml) to view disabled plugins across Kibana + schema.boolean({ defaultValue: true }), + schema.never() + ), }, { defaultValue: undefined } ); diff --git a/x-pack/plugins/fleet/common/services/agent_policies_helpers.ts b/x-pack/plugins/fleet/common/services/agent_policies_helpers.ts index 9db799997fad3..52ce24634886e 100644 --- a/x-pack/plugins/fleet/common/services/agent_policies_helpers.ts +++ b/x-pack/plugins/fleet/common/services/agent_policies_helpers.ts @@ -6,7 +6,7 @@ */ import type { AgentPolicy } from '../types'; -import { FLEET_SERVER_PACKAGE, FLEET_APM_PACKAGE } from '../constants'; +import { FLEET_SERVER_PACKAGE, FLEET_APM_PACKAGE, FLEET_SYNTHETICS_PACKAGE } from '../constants'; export function policyHasFleetServer(agentPolicy: AgentPolicy) { if (!agentPolicy.package_policies) { @@ -19,8 +19,17 @@ export function policyHasFleetServer(agentPolicy: AgentPolicy) { } export function policyHasAPMIntegration(agentPolicy: AgentPolicy) { + return policyHasIntegration(agentPolicy, FLEET_APM_PACKAGE); +} + +export function policyHasSyntheticsIntegration(agentPolicy: AgentPolicy) { + return policyHasIntegration(agentPolicy, FLEET_SYNTHETICS_PACKAGE); +} + +function policyHasIntegration(agentPolicy: AgentPolicy, packageName: string) { if (!agentPolicy.package_policies) { return false; } - return agentPolicy.package_policies?.some((p) => p.package?.name === FLEET_APM_PACKAGE); + + return agentPolicy.package_policies?.some((p) => p.package?.name === packageName); } diff --git a/x-pack/plugins/fleet/common/services/index.ts b/x-pack/plugins/fleet/common/services/index.ts index 6b392f506b4c6..abf06ac54b07c 100644 --- a/x-pack/plugins/fleet/common/services/index.ts +++ b/x-pack/plugins/fleet/common/services/index.ts @@ -63,7 +63,11 @@ export { export { getAllowedOutputTypeForPolicy } from './output_helpers'; export { agentStatusesToSummary } from './agent_statuses_to_summary'; -export { policyHasFleetServer, policyHasAPMIntegration } from './agent_policies_helpers'; +export { + policyHasFleetServer, + policyHasAPMIntegration, + policyHasSyntheticsIntegration, +} from './agent_policies_helpers'; export { generateNewAgentPolicyWithDefaults, diff --git a/x-pack/plugins/fleet/common/services/output_helpers.ts b/x-pack/plugins/fleet/common/services/output_helpers.ts index d0d8c826878fd..00b480c378b61 100644 --- a/x-pack/plugins/fleet/common/services/output_helpers.ts +++ b/x-pack/plugins/fleet/common/services/output_helpers.ts @@ -6,7 +6,12 @@ */ import type { AgentPolicy } from '../types'; -import { FLEET_APM_PACKAGE, FLEET_SERVER_PACKAGE, outputType } from '../constants'; +import { + FLEET_APM_PACKAGE, + FLEET_SERVER_PACKAGE, + FLEET_SYNTHETICS_PACKAGE, + outputType, +} from '../constants'; /** * Return allowed output type for a given agent policy, @@ -16,7 +21,10 @@ export function getAllowedOutputTypeForPolicy(agentPolicy: AgentPolicy) { const isRestrictedToSameClusterES = agentPolicy.package_policies && agentPolicy.package_policies.some( - (p) => p.package?.name === FLEET_APM_PACKAGE || p.package?.name === FLEET_SERVER_PACKAGE + (p) => + p.package?.name === FLEET_APM_PACKAGE || + p.package?.name === FLEET_SERVER_PACKAGE || + p.package?.name === FLEET_SYNTHETICS_PACKAGE ); if (isRestrictedToSameClusterES) { diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/components/agent_policy_advanced_fields/hooks.test.tsx b/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/components/agent_policy_advanced_fields/hooks.test.tsx index 1a415e51e23a6..2d7eef6b864bf 100644 --- a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/components/agent_policy_advanced_fields/hooks.test.tsx +++ b/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/components/agent_policy_advanced_fields/hooks.test.tsx @@ -130,7 +130,7 @@ describe('useOutputOptions', () => { size="s" > { size="s" > { size="s" > { size="s" > { size="s" > { size="s" > { size="s" > { size="s" > getAllowedOutputTypeForPolicy(agentPolicy as AgentPolicy), [agentPolicy] @@ -89,7 +90,7 @@ export function useOutputOptions(agentPolicy: Partial ) : undefined ), - disabled: !isLicenceAllowingPolicyPerOutput || isOutputTypeUnsupported, + disabled: !isPolicyPerOutputAllowed || isOutputTypeUnsupported, }; }), ]; - }, [outputsRequest, isLicenceAllowingPolicyPerOutput, allowedOutputTypes]); + }, [outputsRequest, isPolicyPerOutputAllowed, allowedOutputTypes]); const monitoringOutputOptions = useMemo(() => { if (outputsRequest.isLoading || !outputsRequest.data) { @@ -135,11 +136,11 @@ export function useOutputOptions(agentPolicy: Partial ({ diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/settings/components/edit_output_flyout/confirm_update.tsx b/x-pack/plugins/fleet/public/applications/fleet/sections/settings/components/edit_output_flyout/confirm_update.tsx index 8d96c5f314547..4157c6964f79a 100644 --- a/x-pack/plugins/fleet/public/applications/fleet/sections/settings/components/edit_output_flyout/confirm_update.tsx +++ b/x-pack/plugins/fleet/public/applications/fleet/sections/settings/components/edit_output_flyout/confirm_update.tsx @@ -73,13 +73,13 @@ const ConfirmDescription: React.FunctionComponent = ({ title={ } > {' '} diff --git a/x-pack/plugins/fleet/server/integration_tests/__snapshots__/cloud_preconfiguration.test.ts.snap b/x-pack/plugins/fleet/server/integration_tests/__snapshots__/cloud_preconfiguration.test.ts.snap deleted file mode 100644 index 6a9de18956e43..0000000000000 --- a/x-pack/plugins/fleet/server/integration_tests/__snapshots__/cloud_preconfiguration.test.ts.snap +++ /dev/null @@ -1,258 +0,0 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`Fleet preconfiguration reset Preconfigured cloud policy With a full preconfigured cloud policy Create correct .fleet-policies 1`] = ` -Object { - "agent": Object { - "download": Object { - "sourceURI": "https://artifacts.elastic.co/downloads/", - }, - "features": Object {}, - "monitoring": Object { - "enabled": false, - "logs": false, - "metrics": false, - }, - "protection": Object { - "enabled": false, - "signing_key": "", - "uninstall_token_hash": "", - }, - }, - "id": "policy-elastic-agent-on-cloud", - "inputs": Array [ - Object { - "data_stream": Object { - "namespace": "default", - }, - "id": "fleet-server-fleet_server-elastic-cloud-fleet-server", - "meta": Object { - "package": Object { - "name": "fleet_server", - }, - }, - "name": "Fleet Server", - "package_policy_id": "elastic-cloud-fleet-server", - "revision": 1, - "server.runtime": Object { - "gc_percent": 20, - }, - "type": "fleet-server", - "unused_key": "not_used", - "use_output": "es-containerhost", - }, - Object { - "apm-server": Object { - "agent": Object { - "config": Object { - "elasticsearch": Object { - "api_key": "", - }, - }, - }, - "agent_config": Array [], - "auth": Object { - "anonymous": Object { - "allow_agent": Array [ - "rum-js", - "js-base", - "iOS/swift", - ], - "allow_service": null, - "enabled": true, - "rate_limit": Object { - "event_limit": 300, - "ip_limit": 1000, - }, - }, - "api_key": Object { - "enabled": true, - "limit": 100, - }, - "secret_token": "CLOUD_SECRET_TOKEN", - }, - "capture_personal_data": true, - "default_service_environment": null, - "expvar.enabled": false, - "host": "0.0.0.0:8200", - "idle_timeout": "45s", - "java_attacher": Object { - "discovery-rules": null, - "download-agent-version": null, - "enabled": false, - }, - "max_connections": 0, - "max_event_size": 307200, - "max_header_size": 1048576, - "pprof.enabled": false, - "read_timeout": "3600s", - "response_headers": null, - "rum": Object { - "allow_headers": null, - "allow_origins": Array [ - "*", - ], - "enabled": true, - "exclude_from_grouping": "^/webpack", - "library_pattern": "node_modules|bower_components|~", - "response_headers": null, - "source_mapping": Object { - "elasticsearch": Object { - "api_key": "", - }, - "metadata": Array [], - }, - }, - "sampling": Object { - "tail": Object { - "enabled": false, - "interval": "1m", - "policies": Array [ - Object { - "sample_rate": 0.1, - }, - ], - "storage_limit": "3GB", - }, - }, - "shutdown_timeout": "30s", - "ssl": Object { - "certificate": "/app/config/certs/node.crt", - "cipher_suites": null, - "curve_types": null, - "enabled": true, - "key": "/app/config/certs/node.key", - "key_passphrase": null, - "supported_protocols": Array [ - "TLSv1.1", - "TLSv1.2", - "TLSv1.3", - ], - }, - "write_timeout": "30s", - }, - "data_stream": Object { - "namespace": "default", - }, - "id": "elastic-cloud-apm", - "meta": Object { - "package": Object { - "name": "apm", - }, - }, - "name": "Elastic APM", - "package_policy_id": "elastic-cloud-apm", - "revision": 2, - "type": "apm", - "use_output": "es-containerhost", - }, - ], - "output_permissions": Object { - "es-containerhost": Object { - "_elastic_agent_checks": Object { - "cluster": Array [ - "monitor", - ], - }, - "_elastic_agent_monitoring": Object { - "indices": Array [], - }, - "elastic-cloud-apm": Object { - "cluster": Array [ - "cluster:monitor/main", - ], - "indices": Array [ - Object { - "names": Array [ - "logs-apm.app-default", - ], - "privileges": Array [ - "auto_configure", - "create_doc", - ], - }, - Object { - "names": Array [ - "metrics-apm.app.*-default", - ], - "privileges": Array [ - "auto_configure", - "create_doc", - ], - }, - Object { - "names": Array [ - "logs-apm.error-default", - ], - "privileges": Array [ - "auto_configure", - "create_doc", - ], - }, - Object { - "names": Array [ - "metrics-apm.internal-default", - ], - "privileges": Array [ - "auto_configure", - "create_doc", - ], - }, - Object { - "names": Array [ - "metrics-apm.profiling-default", - ], - "privileges": Array [ - "auto_configure", - "create_doc", - ], - }, - Object { - "names": Array [ - "traces-apm.rum-default", - ], - "privileges": Array [ - "auto_configure", - "create_doc", - ], - }, - Object { - "names": Array [ - "traces-apm.sampled-default", - ], - "privileges": Array [ - "auto_configure", - "create_doc", - "maintenance", - "monitor", - "read", - ], - }, - Object { - "names": Array [ - "traces-apm-default", - ], - "privileges": Array [ - "auto_configure", - "create_doc", - ], - }, - ], - }, - }, - }, - "outputs": Object { - "es-containerhost": Object { - "hosts": Array [ - "https://cloudinternales:9200", - ], - "type": "elasticsearch", - }, - }, - "revision": 5, - "secret_references": Array [], - "signed": Object { - "data": "", - "signature": "", - }, -} -`; diff --git a/x-pack/plugins/fleet/server/integration_tests/cloud_preconfiguration.test.ts b/x-pack/plugins/fleet/server/integration_tests/cloud_preconfiguration.test.ts index 7c18ef95997f6..7da8edb68f9f7 100644 --- a/x-pack/plugins/fleet/server/integration_tests/cloud_preconfiguration.test.ts +++ b/x-pack/plugins/fleet/server/integration_tests/cloud_preconfiguration.test.ts @@ -164,7 +164,201 @@ describe('Fleet preconfiguration reset', () => { data.signed.data = ''; data.signed.signature = ''; - expect(data).toMatchSnapshot(); + expect(data).toEqual({ + agent: { + download: { + sourceURI: 'https://artifacts.elastic.co/downloads/', + }, + features: {}, + monitoring: { + enabled: false, + logs: false, + metrics: false, + }, + protection: { + enabled: false, + signing_key: '', + uninstall_token_hash: '', + }, + }, + id: 'policy-elastic-agent-on-cloud', + inputs: [ + { + data_stream: { + namespace: 'default', + }, + id: 'fleet-server-fleet_server-elastic-cloud-fleet-server', + meta: { + package: { + name: 'fleet_server', + }, + }, + name: 'Fleet Server', + package_policy_id: 'elastic-cloud-fleet-server', + revision: 1, + 'server.runtime': { + gc_percent: 20, + }, + type: 'fleet-server', + unused_key: 'not_used', + use_output: 'es-containerhost', + }, + { + 'apm-server': { + agent: { + config: { + elasticsearch: { + api_key: '', + }, + }, + }, + agent_config: [], + auth: { + anonymous: { + allow_agent: ['rum-js', 'js-base', 'iOS/swift'], + allow_service: null, + enabled: true, + rate_limit: { + event_limit: 300, + ip_limit: 1000, + }, + }, + api_key: { + enabled: true, + limit: 100, + }, + secret_token: 'CLOUD_SECRET_TOKEN', + }, + capture_personal_data: true, + default_service_environment: null, + 'expvar.enabled': false, + host: '0.0.0.0:8200', + idle_timeout: '45s', + java_attacher: { + 'discovery-rules': null, + 'download-agent-version': null, + enabled: false, + }, + max_connections: 0, + max_event_size: 307200, + max_header_size: 1048576, + 'pprof.enabled': false, + read_timeout: '3600s', + response_headers: null, + rum: { + allow_headers: null, + allow_origins: ['*'], + enabled: true, + exclude_from_grouping: '^/webpack', + library_pattern: 'node_modules|bower_components|~', + response_headers: null, + source_mapping: { + elasticsearch: { + api_key: '', + }, + metadata: [], + }, + }, + sampling: { + tail: { + enabled: false, + interval: '1m', + policies: [ + { + sample_rate: 0.1, + }, + ], + storage_limit: '3GB', + }, + }, + shutdown_timeout: '30s', + ssl: { + certificate: '/app/config/certs/node.crt', + cipher_suites: null, + curve_types: null, + enabled: true, + key: '/app/config/certs/node.key', + key_passphrase: null, + supported_protocols: ['TLSv1.1', 'TLSv1.2', 'TLSv1.3'], + }, + write_timeout: '30s', + }, + data_stream: { + namespace: 'default', + }, + id: 'elastic-cloud-apm', + meta: { + package: { + name: 'apm', + }, + }, + name: 'Elastic APM', + package_policy_id: 'elastic-cloud-apm', + revision: 2, + type: 'apm', + use_output: 'es-containerhost', + }, + ], + output_permissions: { + 'es-containerhost': { + _elastic_agent_checks: { + cluster: ['monitor'], + }, + _elastic_agent_monitoring: { + indices: [], + }, + 'elastic-cloud-apm': { + cluster: ['cluster:monitor/main'], + indices: [ + { + names: ['logs-apm.app-default'], + privileges: ['auto_configure', 'create_doc'], + }, + { + names: ['metrics-apm.app.*-default'], + privileges: ['auto_configure', 'create_doc'], + }, + { + names: ['logs-apm.error-default'], + privileges: ['auto_configure', 'create_doc'], + }, + { + names: ['metrics-apm.internal-default'], + privileges: ['auto_configure', 'create_doc'], + }, + { + names: ['metrics-apm.profiling-default'], + privileges: ['auto_configure', 'create_doc'], + }, + { + names: ['traces-apm.rum-default'], + privileges: ['auto_configure', 'create_doc'], + }, + { + names: ['traces-apm.sampled-default'], + privileges: ['auto_configure', 'create_doc', 'maintenance', 'monitor', 'read'], + }, + { + names: ['traces-apm-default'], + privileges: ['auto_configure', 'create_doc'], + }, + ], + }, + }, + }, + outputs: { + 'es-containerhost': { + hosts: ['https://cloudinternales:9200'], + type: 'elasticsearch', + }, + }, + revision: 5, + secret_references: [], + signed: { + data: '', + signature: '', + }, + }); }); it('Create correct package policies', async () => { diff --git a/x-pack/plugins/fleet/server/services/agent_policies/output_helpers.test.ts b/x-pack/plugins/fleet/server/services/agent_policies/output_helpers.test.ts index 29d48d5d595ef..e43bc275a9c4d 100644 --- a/x-pack/plugins/fleet/server/services/agent_policies/output_helpers.test.ts +++ b/x-pack/plugins/fleet/server/services/agent_policies/output_helpers.test.ts @@ -196,7 +196,7 @@ describe('validateOutputForPolicy', () => { ); }); - it('should not allow logstash output to be used with a policy using fleet server or APM', async () => { + it('should not allow logstash output to be used with a policy using fleet server, synthetics or APM', async () => { mockHasLicence(true); mockedOutputService.get.mockResolvedValue({ type: 'logstash', @@ -217,7 +217,7 @@ describe('validateOutputForPolicy', () => { ); }); - it('should allow elasticsearch output to be used with a policy using fleet server or APM', async () => { + it('should allow elasticsearch output to be used with a policy using fleet server, synthetics or APM', async () => { mockHasLicence(true); mockedOutputService.get.mockResolvedValue({ type: 'elasticsearch', diff --git a/x-pack/plugins/fleet/server/services/agent_policies/outputs_helpers.ts b/x-pack/plugins/fleet/server/services/agent_policies/outputs_helpers.ts index d93bb965295ef..bbe00c49b414f 100644 --- a/x-pack/plugins/fleet/server/services/agent_policies/outputs_helpers.ts +++ b/x-pack/plugins/fleet/server/services/agent_policies/outputs_helpers.ts @@ -9,7 +9,7 @@ import type { SavedObjectsClientContract } from '@kbn/core/server'; import type { AgentPolicySOAttributes, AgentPolicy } from '../../types'; import { LICENCE_FOR_PER_POLICY_OUTPUT, outputType } from '../../../common/constants'; -import { policyHasFleetServer } from '../../../common/services'; +import { policyHasFleetServer, policyHasSyntheticsIntegration } from '../../../common/services'; import { appContextService } from '..'; import { outputService } from '../output'; import { OutputInvalidError, OutputLicenceError } from '../../errors'; @@ -80,6 +80,9 @@ export async function validateOutputForPolicy( // Validate output when the policy has fleet server if (policyHasFleetServer(data as AgentPolicy)) return; + // Validate output when the policy has synthetics integration + if (policyHasSyntheticsIntegration(data as AgentPolicy)) return; + const hasLicence = appContextService .getSecurityLicense() .hasAtLeast(LICENCE_FOR_PER_POLICY_OUTPUT); diff --git a/x-pack/plugins/fleet/server/services/agent_policy.ts b/x-pack/plugins/fleet/server/services/agent_policy.ts index d32737e0eb5c1..6958ea80c00d6 100644 --- a/x-pack/plugins/fleet/server/services/agent_policy.ts +++ b/x-pack/plugins/fleet/server/services/agent_policy.ts @@ -48,6 +48,7 @@ import { packageToPackagePolicy, policyHasFleetServer, policyHasAPMIntegration, + policyHasSyntheticsIntegration, } from '../../common/services'; import { agentPolicyStatuses, @@ -211,6 +212,10 @@ class AgentPolicyService { return policyHasFleetServer(agentPolicy); } + public hasSyntheticsIntegration(agentPolicy: AgentPolicy) { + return policyHasSyntheticsIntegration(agentPolicy); + } + public async create( soClient: SavedObjectsClientContract, esClient: ElasticsearchClient, diff --git a/x-pack/plugins/fleet/server/services/output.test.ts b/x-pack/plugins/fleet/server/services/output.test.ts index 7c0076abfc653..5ecd3a4a29a40 100644 --- a/x-pack/plugins/fleet/server/services/output.test.ts +++ b/x-pack/plugins/fleet/server/services/output.test.ts @@ -201,7 +201,7 @@ function getMockedSoClient( describe('Output Service', () => { const esClientMock = elasticsearchServiceMock.createElasticsearchClient(); - const mockedAgentPolicyResolvedValue = { + const mockedAgentPolicyWithFleetServerResolvedValue = { items: [ { name: 'fleet server policy', @@ -232,18 +232,50 @@ describe('Output Service', () => { ], } as unknown as ReturnType; + const mockedAgentPolicyWithSyntheticsResolvedValue = { + items: [ + { + name: 'synthetics policy', + id: 'synthetics_policy', + package_policies: [ + { + name: 'synthetics-123', + package: { + name: 'synthetics', + }, + }, + ], + }, + { + name: 'agent policy 1', + id: 'agent_policy_1', + is_managed: false, + package_policies: [ + { + name: 'nginx', + package: { + name: 'nginx', + }, + }, + ], + }, + ], + } as unknown as ReturnType; + beforeEach(() => { mockedAgentPolicyService.list.mockClear(); mockedAgentPolicyService.hasAPMIntegration.mockClear(); mockedAgentPolicyService.hasFleetServerIntegration.mockClear(); + mockedAgentPolicyService.hasSyntheticsIntegration.mockClear(); mockedAgentPolicyService.removeOutputFromAll.mockReset(); mockedAppContextService.getInternalUserSOClient.mockReset(); mockedAppContextService.getEncryptedSavedObjectsSetup.mockReset(); mockedAuditLoggingService.writeCustomSoAuditLog.mockReset(); mockedAgentPolicyService.update.mockReset(); }); + describe('create', () => { - it('work with a predefined id', async () => { + it('works with a predefined id', async () => { const soClient = getMockedSoClient(); await outputService.create( @@ -446,7 +478,9 @@ describe('Output Service', () => { mockedAppContextService.getEncryptedSavedObjectsSetup.mockReturnValue({ canEncrypt: true, } as any); - mockedAgentPolicyService.list.mockResolvedValue(mockedAgentPolicyResolvedValue); + mockedAgentPolicyService.list.mockResolvedValue( + mockedAgentPolicyWithFleetServerResolvedValue + ); mockedAgentPolicyService.hasFleetServerIntegration.mockReturnValue(true); await outputService.create( @@ -470,6 +504,37 @@ describe('Output Service', () => { ); }); + it('should update synthetics policies with data_output_id=default_output_id if a new default logstash output is created', async () => { + const soClient = getMockedSoClient({ + defaultOutputId: 'output-test', + }); + mockedAppContextService.getEncryptedSavedObjectsSetup.mockReturnValue({ + canEncrypt: true, + } as any); + mockedAgentPolicyService.list.mockResolvedValue(mockedAgentPolicyWithSyntheticsResolvedValue); + mockedAgentPolicyService.hasSyntheticsIntegration.mockReturnValue(true); + + await outputService.create( + soClient, + esClientMock, + { + is_default: true, + is_default_monitoring: false, + name: 'Test', + type: 'logstash', + }, + { id: 'output-1' } + ); + + expect(mockedAgentPolicyService.update).toBeCalledWith( + expect.anything(), + expect.anything(), + 'synthetics_policy', + { data_output_id: 'output-test' }, + { force: false } + ); + }); + it('Should allow to create a new logstash output with no errors if is not set as default', async () => { const soClient = getMockedSoClient({ defaultOutputId: 'output-test', @@ -477,7 +542,9 @@ describe('Output Service', () => { mockedAppContextService.getEncryptedSavedObjectsSetup.mockReturnValue({ canEncrypt: true, } as any); - mockedAgentPolicyService.list.mockResolvedValue(mockedAgentPolicyResolvedValue); + mockedAgentPolicyService.list.mockResolvedValue( + mockedAgentPolicyWithFleetServerResolvedValue + ); mockedAgentPolicyService.hasFleetServerIntegration.mockReturnValue(true); await outputService.create( @@ -523,7 +590,9 @@ describe('Output Service', () => { mockedAppContextService.getEncryptedSavedObjectsSetup.mockReturnValue({ canEncrypt: true, } as any); - mockedAgentPolicyService.list.mockResolvedValue(mockedAgentPolicyResolvedValue); + mockedAgentPolicyService.list.mockResolvedValue( + mockedAgentPolicyWithFleetServerResolvedValue + ); mockedAgentPolicyService.hasFleetServerIntegration.mockReturnValue(true); await outputService.create( @@ -547,6 +616,37 @@ describe('Output Service', () => { ); }); + it('Should update synthetics policies with data_output_id=default_output_id if a new default kafka output is created', async () => { + const soClient = getMockedSoClient({ + defaultOutputId: 'output-test', + }); + mockedAppContextService.getEncryptedSavedObjectsSetup.mockReturnValue({ + canEncrypt: true, + } as any); + mockedAgentPolicyService.list.mockResolvedValue(mockedAgentPolicyWithSyntheticsResolvedValue); + mockedAgentPolicyService.hasSyntheticsIntegration.mockReturnValue(true); + + await outputService.create( + soClient, + esClientMock, + { + is_default: true, + is_default_monitoring: false, + name: 'Test', + type: 'kafka', + }, + { id: 'output-1' } + ); + + expect(mockedAgentPolicyService.update).toBeCalledWith( + expect.anything(), + expect.anything(), + 'synthetics_policy', + { data_output_id: 'output-test' }, + { force: false } + ); + }); + it('Should allow to create a new kafka output with no errors if is not set as default', async () => { const soClient = getMockedSoClient({ defaultOutputId: 'output-test', @@ -554,7 +654,9 @@ describe('Output Service', () => { mockedAppContextService.getEncryptedSavedObjectsSetup.mockReturnValue({ canEncrypt: true, } as any); - mockedAgentPolicyService.list.mockResolvedValue(mockedAgentPolicyResolvedValue); + mockedAgentPolicyService.list.mockResolvedValue( + mockedAgentPolicyWithFleetServerResolvedValue + ); mockedAgentPolicyService.hasFleetServerIntegration.mockReturnValue(true); await outputService.create( @@ -878,6 +980,7 @@ describe('Output Service', () => { } as unknown as ReturnType); mockedAgentPolicyService.hasAPMIntegration.mockReturnValue(false); mockedAgentPolicyService.hasFleetServerIntegration.mockReturnValue(false); + mockedAgentPolicyService.hasSyntheticsIntegration.mockReturnValue(false); await outputService.update(soClient, esClientMock, 'existing-es-output', { type: 'logstash', @@ -936,36 +1039,9 @@ describe('Output Service', () => { const soClient = getMockedSoClient({ defaultOutputId: 'output-test', }); - mockedAgentPolicyService.list.mockResolvedValue({ - items: [ - { - name: 'fleet server policy', - id: 'fleet_server_policy', - is_default_fleet_server: true, - package_policies: [ - { - name: 'fleet-server-123', - package: { - name: 'fleet_server', - }, - }, - ], - }, - { - name: 'agent policy 1', - id: 'agent_policy_1', - is_managed: false, - package_policies: [ - { - name: 'nginx', - package: { - name: 'nginx', - }, - }, - ], - }, - ], - } as unknown as ReturnType); + mockedAgentPolicyService.list.mockResolvedValue( + mockedAgentPolicyWithFleetServerResolvedValue + ); mockedAgentPolicyService.hasFleetServerIntegration.mockReturnValue(true); await outputService.update(soClient, esClientMock, 'output-test', { @@ -994,36 +1070,9 @@ describe('Output Service', () => { const soClient = getMockedSoClient({ defaultOutputId: 'output-test', }); - mockedAgentPolicyService.list.mockResolvedValue({ - items: [ - { - name: 'fleet server policy', - id: 'fleet_server_policy', - is_default_fleet_server: true, - package_policies: [ - { - name: 'fleet-server-123', - package: { - name: 'fleet_server', - }, - }, - ], - }, - { - name: 'agent policy 1', - id: 'agent_policy_1', - is_managed: false, - package_policies: [ - { - name: 'nginx', - package: { - name: 'nginx', - }, - }, - ], - }, - ], - } as unknown as ReturnType); + mockedAgentPolicyService.list.mockResolvedValue( + mockedAgentPolicyWithFleetServerResolvedValue + ); mockedAgentPolicyService.hasFleetServerIntegration.mockReturnValue(true); await outputService.update( @@ -1056,38 +1105,77 @@ describe('Output Service', () => { ); }); + it('should update synthetics policies with data_output_id=default_output_id if a default ES output is changed to logstash', async () => { + const soClient = getMockedSoClient({ + defaultOutputId: 'output-test', + }); + mockedAgentPolicyService.list.mockResolvedValue(mockedAgentPolicyWithSyntheticsResolvedValue); + mockedAgentPolicyService.hasSyntheticsIntegration.mockReturnValue(true); + + await outputService.update(soClient, esClientMock, 'output-test', { + type: 'logstash', + hosts: ['test:4343'], + is_default: true, + }); + + expect(soClient.update).toBeCalledWith(expect.anything(), expect.anything(), { + type: 'logstash', + hosts: ['test:4343'], + is_default: true, + ca_sha256: null, + ca_trusted_fingerprint: null, + }); + expect(mockedAgentPolicyService.update).toBeCalledWith( + expect.anything(), + expect.anything(), + 'synthetics_policy', + { data_output_id: 'output-test' }, + { force: false } + ); + }); + + it('should update synthetics policies with data_output_id=default_output_id and force=true if a default ES output is changed to logstash, from preconfiguration', async () => { + const soClient = getMockedSoClient({ + defaultOutputId: 'output-test', + }); + mockedAgentPolicyService.list.mockResolvedValue(mockedAgentPolicyWithSyntheticsResolvedValue); + mockedAgentPolicyService.hasSyntheticsIntegration.mockReturnValue(true); + + await outputService.update( + soClient, + esClientMock, + 'output-test', + { + type: 'logstash', + hosts: ['test:4343'], + is_default: true, + }, + { + fromPreconfiguration: true, + } + ); + + expect(soClient.update).toBeCalledWith(expect.anything(), expect.anything(), { + type: 'logstash', + hosts: ['test:4343'], + is_default: true, + ca_sha256: null, + ca_trusted_fingerprint: null, + }); + expect(mockedAgentPolicyService.update).toBeCalledWith( + expect.anything(), + expect.anything(), + 'synthetics_policy', + { data_output_id: 'output-test' }, + { force: true } + ); + }); + it('Should return an error if trying to change the output to logstash for fleet server policy', async () => { const soClient = getMockedSoClient({}); - mockedAgentPolicyService.list.mockResolvedValue({ - items: [ - { - name: 'fleet server policy', - id: 'fleet_server_policy', - is_default_fleet_server: true, - package_policies: [ - { - name: 'fleet-server-123', - package: { - name: 'fleet_server', - }, - }, - ], - }, - { - name: 'agent policy 1', - id: 'agent_policy_1', - is_managed: false, - package_policies: [ - { - name: 'nginx', - package: { - name: 'nginx', - }, - }, - ], - }, - ], - } as unknown as ReturnType); + mockedAgentPolicyService.list.mockResolvedValue( + mockedAgentPolicyWithFleetServerResolvedValue + ); mockedAgentPolicyService.hasFleetServerIntegration.mockReturnValue(true); await expect( @@ -1100,6 +1188,22 @@ describe('Output Service', () => { ); }); + it('Should return an error if trying to change the output to logstash for synthetics policy', async () => { + const soClient = getMockedSoClient({}); + mockedAgentPolicyService.list.mockResolvedValue(mockedAgentPolicyWithSyntheticsResolvedValue); + mockedAgentPolicyService.hasFleetServerIntegration.mockReturnValue(false); + mockedAgentPolicyService.hasSyntheticsIntegration.mockReturnValue(true); + + await expect( + outputService.update(soClient, esClientMock, 'existing-es-output', { + type: 'logstash', + hosts: ['test:4343'], + }) + ).rejects.toThrowError( + 'Logstash output cannot be used with Synthetics integration in synthetics policy. Please create a new ElasticSearch output.' + ); + }); + it('should call audit logger', async () => { const soClient = getMockedSoClient({ defaultOutputId: 'existing-es-output' }); @@ -1115,7 +1219,6 @@ describe('Output Service', () => { }); // With Kafka output - it('Should delete ES specific fields if the output type changes to kafka', async () => { const soClient = getMockedSoClient({}); mockedAgentPolicyService.list.mockResolvedValue({ @@ -1123,6 +1226,7 @@ describe('Output Service', () => { } as unknown as ReturnType); mockedAgentPolicyService.hasAPMIntegration.mockReturnValue(false); mockedAgentPolicyService.hasFleetServerIntegration.mockReturnValue(false); + mockedAgentPolicyService.hasSyntheticsIntegration.mockReturnValue(false); await outputService.update(soClient, esClientMock, 'existing-es-output', { type: 'kafka', @@ -1180,7 +1284,9 @@ describe('Output Service', () => { const soClient = getMockedSoClient({ defaultOutputId: 'output-test', }); - mockedAgentPolicyService.list.mockResolvedValue(mockedAgentPolicyResolvedValue); + mockedAgentPolicyService.list.mockResolvedValue( + mockedAgentPolicyWithFleetServerResolvedValue + ); mockedAgentPolicyService.hasFleetServerIntegration.mockReturnValue(true); await outputService.update(soClient, esClientMock, 'output-test', { @@ -1218,7 +1324,9 @@ describe('Output Service', () => { const soClient = getMockedSoClient({ defaultOutputId: 'output-test', }); - mockedAgentPolicyService.list.mockResolvedValue(mockedAgentPolicyResolvedValue); + mockedAgentPolicyService.list.mockResolvedValue( + mockedAgentPolicyWithFleetServerResolvedValue + ); mockedAgentPolicyService.hasFleetServerIntegration.mockReturnValue(true); await outputService.update( @@ -1259,6 +1367,90 @@ describe('Output Service', () => { { force: true } ); }); + + it('should update synthetics policies with data_output_id=default_output_id if a default ES output is changed to kafka', async () => { + const soClient = getMockedSoClient({ + defaultOutputId: 'output-test', + }); + mockedAgentPolicyService.list.mockResolvedValue(mockedAgentPolicyWithSyntheticsResolvedValue); + mockedAgentPolicyService.hasSyntheticsIntegration.mockReturnValue(true); + + await outputService.update(soClient, esClientMock, 'output-test', { + type: 'kafka', + hosts: ['http://test:4343'], + is_default: true, + }); + + expect(soClient.update).toBeCalledWith(expect.anything(), expect.anything(), { + type: 'kafka', + hosts: ['http://test:4343'], + is_default: true, + ca_sha256: null, + ca_trusted_fingerprint: null, + client_id: 'Elastic Agent', + compression: 'gzip', + compression_level: 4, + partition: 'hash', + timeout: 30, + version: '1.0.0', + broker_timeout: 10, + broker_ack_reliability: 'Wait for local commit', + broker_buffer_size: 256, + }); + expect(mockedAgentPolicyService.update).toBeCalledWith( + expect.anything(), + expect.anything(), + 'synthetics_policy', + { data_output_id: 'output-test' }, + { force: false } + ); + }); + + it('should update synthetics policies with data_output_id=default_output_id and force=true if a default ES output is changed to kafka, from preconfiguration', async () => { + const soClient = getMockedSoClient({ + defaultOutputId: 'output-test', + }); + mockedAgentPolicyService.list.mockResolvedValue(mockedAgentPolicyWithSyntheticsResolvedValue); + mockedAgentPolicyService.hasSyntheticsIntegration.mockReturnValue(true); + + await outputService.update( + soClient, + esClientMock, + 'output-test', + { + type: 'kafka', + hosts: ['http://test:4343'], + is_default: true, + }, + { + fromPreconfiguration: true, + } + ); + + expect(soClient.update).toBeCalledWith(expect.anything(), expect.anything(), { + type: 'kafka', + hosts: ['http://test:4343'], + is_default: true, + ca_sha256: null, + ca_trusted_fingerprint: null, + client_id: 'Elastic Agent', + compression: 'gzip', + compression_level: 4, + partition: 'hash', + timeout: 30, + version: '1.0.0', + broker_timeout: 10, + broker_ack_reliability: 'Wait for local commit', + broker_buffer_size: 256, + }); + expect(mockedAgentPolicyService.update).toBeCalledWith( + expect.anything(), + expect.anything(), + 'synthetics_policy', + { data_output_id: 'output-test' }, + { force: true } + ); + }); }); describe('delete', () => { diff --git a/x-pack/plugins/fleet/server/services/output.ts b/x-pack/plugins/fleet/server/services/output.ts index a9e546d878fb5..ec5f63cbe3566 100644 --- a/x-pack/plugins/fleet/server/services/output.ts +++ b/x-pack/plugins/fleet/server/services/output.ts @@ -148,7 +148,7 @@ async function validateLogstashOutputNotUsedInAPMPolicy( } } -async function findPoliciesWithFleetServer( +async function findPoliciesWithFleetServerOrSynthetics( soClient: SavedObjectsClientContract, outputId?: string, isDefault?: boolean @@ -159,23 +159,24 @@ async function findPoliciesWithFleetServer( ? await getAgentPoliciesPerOutput(soClient, outputId, isDefault) : (await agentPolicyService.list(soClient, { withPackagePolicies: true }))?.items; - if (agentPolicies) { - const policiesWithFleetServer = agentPolicies.filter((policy) => - agentPolicyService.hasFleetServerIntegration(policy) - ); - return policiesWithFleetServer; - } - return []; + const policiesWithFleetServer = + agentPolicies?.filter((policy) => agentPolicyService.hasFleetServerIntegration(policy)) || []; + const policiesWithSynthetics = + agentPolicies?.filter((policy) => agentPolicyService.hasSyntheticsIntegration(policy)) || []; + return { policiesWithFleetServer, policiesWithSynthetics }; } -function validateOutputNotUsedInFleetServerPolicy( +function validateOutputNotUsedInPolicy( agentPolicies: AgentPolicy[], - dataOutputType: OutputType['Logstash'] | OutputType['Kafka'] + dataOutputType: OutputType['Logstash'] | OutputType['Kafka'], + integrationName: string ) { - // Validate no policy with fleet server use that policy + // Validate no policy with this integration uses that output for (const agentPolicy of agentPolicies) { throw new OutputInvalidError( - `${_.capitalize(dataOutputType)} output cannot be used with Fleet Server integration in ${ + `${_.capitalize( + dataOutputType + )} output cannot be used with ${integrationName} integration in ${ agentPolicy.name }. Please create a new ElasticSearch output.` ); @@ -192,44 +193,46 @@ async function validateTypeChanges( fromPreconfiguration: boolean ) { const mergedIsDefault = data.is_default ?? originalOutput.is_default; - const fleetServerPolicies = await findPoliciesWithFleetServer(soClient, id, mergedIsDefault); + const { policiesWithFleetServer, policiesWithSynthetics } = + await findPoliciesWithFleetServerOrSynthetics(soClient, id, mergedIsDefault); if (data.type === outputType.Logstash || originalOutput.type === outputType.Logstash) { await validateLogstashOutputNotUsedInAPMPolicy(soClient, id, mergedIsDefault); } - // prevent changing an ES output to logstash or kafka if it's used by fleet server policies + // prevent changing an ES output to logstash or kafka if it's used by fleet server or synthetics policies if ( originalOutput.type === outputType.Elasticsearch && (data?.type === outputType.Logstash || data?.type === outputType.Kafka) ) { // Validate no policy with fleet server use that policy - validateOutputNotUsedInFleetServerPolicy(fleetServerPolicies, data.type); + validateOutputNotUsedInPolicy(policiesWithFleetServer, data.type, 'Fleet Server'); + validateOutputNotUsedInPolicy(policiesWithSynthetics, data.type, 'Synthetics'); } - await updateFleetServerPoliciesDataOutputId( + await updateAgentPoliciesDataOutputId( soClient, esClient, data, mergedIsDefault, defaultDataOutputId, - fleetServerPolicies, + _.uniq([...policiesWithFleetServer, ...policiesWithSynthetics]), fromPreconfiguration ); } -async function updateFleetServerPoliciesDataOutputId( +async function updateAgentPoliciesDataOutputId( soClient: SavedObjectsClientContract, esClient: ElasticsearchClient, data: Nullable>, isDefault: boolean, defaultDataOutputId: string | null, - fleetServerPolicies: AgentPolicy[], + agentPolicies: AgentPolicy[], fromPreconfiguration: boolean ) { // if a logstash output is updated to become default // if fleet server policies don't have data_output_id // update them to use the default output if ((data?.type === outputType.Logstash || data?.type === outputType.Kafka) && isDefault) { - for (const policy of fleetServerPolicies) { + for (const policy of agentPolicies) { if (!policy.data_output_id) { await agentPolicyService.update( soClient, @@ -415,14 +418,15 @@ class OutputService { ); } } - const fleetServerPolicies = await findPoliciesWithFleetServer(soClient); - await updateFleetServerPoliciesDataOutputId( + const { policiesWithFleetServer, policiesWithSynthetics } = + await findPoliciesWithFleetServerOrSynthetics(soClient); + await updateAgentPoliciesDataOutputId( soClient, esClient, data, data.is_default, defaultDataOutputId, - fleetServerPolicies, + _.uniq([...policiesWithFleetServer, ...policiesWithSynthetics]), options?.fromPreconfiguration ?? false ); diff --git a/x-pack/plugins/index_lifecycle_management/server/config.ts b/x-pack/plugins/index_lifecycle_management/server/config.ts index 7fdec20bbb050..5a02e404ad2b7 100644 --- a/x-pack/plugins/index_lifecycle_management/server/config.ts +++ b/x-pack/plugins/index_lifecycle_management/server/config.ts @@ -28,7 +28,14 @@ const schemaLatest = schema.object( * Disables the plugin. * Added back in 8.8. */ - enabled: schema.boolean({ defaultValue: true }), + enabled: schema.conditional( + schema.contextRef('serverless'), + true, + // ILM is disabled in serverless; refer to the serverless.yml file as the source of truth + // We take this approach in order to have a central place (serverless.yml) to view disabled plugins across Kibana + schema.boolean({ defaultValue: true }), + schema.never() + ), }, { defaultValue: undefined } ); diff --git a/x-pack/plugins/lens/common/content_management/v1/cm_services.ts b/x-pack/plugins/lens/common/content_management/v1/cm_services.ts index c0e09f5041110..22e1af6272978 100644 --- a/x-pack/plugins/lens/common/content_management/v1/cm_services.ts +++ b/x-pack/plugins/lens/common/content_management/v1/cm_services.ts @@ -28,7 +28,7 @@ const referencesSchema = schema.arrayOf(referenceSchema); const lensAttributesSchema = schema.object( { title: schema.string(), - description: schema.maybe(schema.string()), + description: schema.maybe(schema.nullable(schema.string())), visualizationType: schema.maybe(schema.string()), state: schema.maybe(schema.any()), uiStateJSON: schema.maybe(schema.string()), diff --git a/x-pack/plugins/license_management/server/config.ts b/x-pack/plugins/license_management/server/config.ts index 23449bc19e793..f413335cc23ef 100644 --- a/x-pack/plugins/license_management/server/config.ts +++ b/x-pack/plugins/license_management/server/config.ts @@ -26,7 +26,14 @@ const schemaLatest = schema.object( * Disables the plugin. * Added back in 8.8. */ - enabled: schema.boolean({ defaultValue: true }), + enabled: schema.conditional( + schema.contextRef('serverless'), + true, + // License Management is disabled in serverless; refer to the serverless.yml file as the source of truth + // We take this approach in order to have a central place (serverless.yml) to view disabled plugins across Kibana + schema.boolean({ defaultValue: true }), + schema.never() + ), }, { defaultValue: undefined } ); diff --git a/x-pack/plugins/osquery/cypress/tasks/api_fixtures.ts b/x-pack/plugins/osquery/cypress/tasks/api_fixtures.ts index a87869d693348..b125693e8b915 100644 --- a/x-pack/plugins/osquery/cypress/tasks/api_fixtures.ts +++ b/x-pack/plugins/osquery/cypress/tasks/api_fixtures.ts @@ -8,7 +8,7 @@ import type { RuleCreateProps, RuleResponse, -} from '@kbn/security-solution-plugin/common/detection_engine/rule_schema'; +} from '@kbn/security-solution-plugin/common/api/detection_engine'; import type { AgentPolicy } from '@kbn/fleet-plugin/common'; import type { Case } from '@kbn/cases-plugin/common'; import { API_VERSIONS } from '../../common/constants'; diff --git a/x-pack/plugins/remote_clusters/server/config.ts b/x-pack/plugins/remote_clusters/server/config.ts index 4f6c56191cd89..12275985a3aa9 100644 --- a/x-pack/plugins/remote_clusters/server/config.ts +++ b/x-pack/plugins/remote_clusters/server/config.ts @@ -26,7 +26,14 @@ const schemaLatest = schema.object( * Disables the plugin. * Added back in 8.8. */ - enabled: schema.boolean({ defaultValue: true }), + enabled: schema.conditional( + schema.contextRef('serverless'), + true, + // Remote Clusters is disabled in serverless; refer to the serverless.yml file as the source of truth + // We take this approach in order to have a central place (serverless.yml) to view disabled plugins across Kibana + schema.boolean({ defaultValue: true }), + schema.never() + ), }, { defaultValue: undefined } ); diff --git a/x-pack/plugins/rollup/server/config.ts b/x-pack/plugins/rollup/server/config.ts index 953cd4b283f97..c0d5c1fbe92ee 100644 --- a/x-pack/plugins/rollup/server/config.ts +++ b/x-pack/plugins/rollup/server/config.ts @@ -26,7 +26,14 @@ const schemaLatest = schema.object( * Disables the plugin. * Added back in 8.8. */ - enabled: schema.boolean({ defaultValue: true }), + enabled: schema.conditional( + schema.contextRef('serverless'), + true, + // Rollups is disabled in serverless; refer to the serverless.yml file as the source of truth + // We take this approach in order to have a central place (serverless.yml) to view disabled plugins across Kibana + schema.boolean({ defaultValue: true }), + schema.never() + ), }, { defaultValue: undefined } ); diff --git a/x-pack/plugins/security_solution/common/detection_engine/schemas/response/index.ts b/x-pack/plugins/security_solution/common/api/detection_engine/alert_tags/index.ts similarity index 79% rename from x-pack/plugins/security_solution/common/detection_engine/schemas/response/index.ts rename to x-pack/plugins/security_solution/common/api/detection_engine/alert_tags/index.ts index 76da687604028..7adc565a09c8e 100644 --- a/x-pack/plugins/security_solution/common/detection_engine/schemas/response/index.ts +++ b/x-pack/plugins/security_solution/common/api/detection_engine/alert_tags/index.ts @@ -5,5 +5,4 @@ * 2.0. */ -export * from './error_schema'; -export * from './warning_schema'; +export * from './set_alert_tags/set_alert_tags_route'; diff --git a/x-pack/plugins/security_solution/common/detection_engine/schemas/common/index.ts b/x-pack/plugins/security_solution/common/api/detection_engine/alert_tags/mocks.ts similarity index 75% rename from x-pack/plugins/security_solution/common/detection_engine/schemas/common/index.ts rename to x-pack/plugins/security_solution/common/api/detection_engine/alert_tags/mocks.ts index e129a72362ed7..985a74f34e669 100644 --- a/x-pack/plugins/security_solution/common/detection_engine/schemas/common/index.ts +++ b/x-pack/plugins/security_solution/common/api/detection_engine/alert_tags/mocks.ts @@ -5,6 +5,4 @@ * 2.0. */ -export * from './pagination'; -export * from './schemas'; -export * from './sorting'; +export * from './set_alert_tags/set_alert_tags_route.mock'; diff --git a/x-pack/plugins/security_solution/common/detection_engine/schemas/request/set_alert_tags_schema.mock.ts b/x-pack/plugins/security_solution/common/api/detection_engine/alert_tags/set_alert_tags/set_alert_tags_route.mock.ts similarity index 67% rename from x-pack/plugins/security_solution/common/detection_engine/schemas/request/set_alert_tags_schema.mock.ts rename to x-pack/plugins/security_solution/common/api/detection_engine/alert_tags/set_alert_tags/set_alert_tags_route.mock.ts index 4f3bf93550223..f1e05ad7f125a 100644 --- a/x-pack/plugins/security_solution/common/detection_engine/schemas/request/set_alert_tags_schema.mock.ts +++ b/x-pack/plugins/security_solution/common/api/detection_engine/alert_tags/set_alert_tags/set_alert_tags_route.mock.ts @@ -5,10 +5,13 @@ * 2.0. */ -import type { SetAlertTagsSchema } from './set_alert_tags_schema'; +import type { SetAlertTagsRequestBody } from './set_alert_tags_route'; export const getSetAlertTagsRequestMock = ( tagsToAdd: string[] = [], tagsToRemove: string[] = [], ids: string[] = [] -): SetAlertTagsSchema => ({ tags: { tags_to_add: tagsToAdd, tags_to_remove: tagsToRemove }, ids }); +): SetAlertTagsRequestBody => ({ + tags: { tags_to_add: tagsToAdd, tags_to_remove: tagsToRemove }, + ids, +}); diff --git a/x-pack/plugins/security_solution/common/detection_engine/schemas/request/set_alert_tags_schema.ts b/x-pack/plugins/security_solution/common/api/detection_engine/alert_tags/set_alert_tags/set_alert_tags_route.ts similarity index 57% rename from x-pack/plugins/security_solution/common/detection_engine/schemas/request/set_alert_tags_schema.ts rename to x-pack/plugins/security_solution/common/api/detection_engine/alert_tags/set_alert_tags/set_alert_tags_route.ts index cb11c8c70c8ab..8a6f93c20b770 100644 --- a/x-pack/plugins/security_solution/common/detection_engine/schemas/request/set_alert_tags_schema.ts +++ b/x-pack/plugins/security_solution/common/api/detection_engine/alert_tags/set_alert_tags/set_alert_tags_route.ts @@ -7,14 +7,14 @@ import * as t from 'io-ts'; -import { alert_tag_ids, alert_tags } from '../common/schemas'; +import { alert_tag_ids, alert_tags } from '../../model'; -export const setAlertTagsSchema = t.exact( +export const setAlertTagsRequestBody = t.exact( t.type({ tags: alert_tags, ids: alert_tag_ids, }) ); -export type SetAlertTagsSchema = t.TypeOf; -export type SetAlertTagsSchemaDecoded = SetAlertTagsSchema; +export type SetAlertTagsRequestBody = t.TypeOf; +export type SetAlertTagsRequestBodyDecoded = SetAlertTagsRequestBody; diff --git a/x-pack/plugins/security_solution/common/detection_engine/fleet_integrations/api/get_installed_integrations/response_schema.ts b/x-pack/plugins/security_solution/common/api/detection_engine/fleet_integrations/get_installed_integrations/get_installed_integrations_route.ts similarity index 80% rename from x-pack/plugins/security_solution/common/detection_engine/fleet_integrations/api/get_installed_integrations/response_schema.ts rename to x-pack/plugins/security_solution/common/api/detection_engine/fleet_integrations/get_installed_integrations/get_installed_integrations_route.ts index d970fb7061a44..4f3c4e6f942da 100644 --- a/x-pack/plugins/security_solution/common/detection_engine/fleet_integrations/api/get_installed_integrations/response_schema.ts +++ b/x-pack/plugins/security_solution/common/api/detection_engine/fleet_integrations/get_installed_integrations/get_installed_integrations_route.ts @@ -5,7 +5,7 @@ * 2.0. */ -import type { InstalledIntegrationArray } from '../../model/installed_integrations'; +import type { InstalledIntegrationArray } from '../model/installed_integrations'; export interface GetInstalledIntegrationsResponse { installed_integrations: InstalledIntegrationArray; diff --git a/x-pack/plugins/security_solution/common/detection_engine/fleet_integrations/index.ts b/x-pack/plugins/security_solution/common/api/detection_engine/fleet_integrations/index.ts similarity index 74% rename from x-pack/plugins/security_solution/common/detection_engine/fleet_integrations/index.ts rename to x-pack/plugins/security_solution/common/api/detection_engine/fleet_integrations/index.ts index e79ebecbdb1cd..63a824a430c6e 100644 --- a/x-pack/plugins/security_solution/common/detection_engine/fleet_integrations/index.ts +++ b/x-pack/plugins/security_solution/common/api/detection_engine/fleet_integrations/index.ts @@ -5,7 +5,7 @@ * 2.0. */ -export * from './api/get_installed_integrations/response_schema'; -export * from './api/urls'; +export * from './get_installed_integrations/get_installed_integrations_route'; +export * from './urls'; export * from './model/installed_integrations'; diff --git a/x-pack/plugins/security_solution/common/detection_engine/fleet_integrations/model/installed_integrations.ts b/x-pack/plugins/security_solution/common/api/detection_engine/fleet_integrations/model/installed_integrations.ts similarity index 100% rename from x-pack/plugins/security_solution/common/detection_engine/fleet_integrations/model/installed_integrations.ts rename to x-pack/plugins/security_solution/common/api/detection_engine/fleet_integrations/model/installed_integrations.ts diff --git a/x-pack/plugins/security_solution/common/detection_engine/fleet_integrations/api/urls.ts b/x-pack/plugins/security_solution/common/api/detection_engine/fleet_integrations/urls.ts similarity index 100% rename from x-pack/plugins/security_solution/common/detection_engine/fleet_integrations/api/urls.ts rename to x-pack/plugins/security_solution/common/api/detection_engine/fleet_integrations/urls.ts diff --git a/x-pack/plugins/security_solution/common/api/detection_engine/index.ts b/x-pack/plugins/security_solution/common/api/detection_engine/index.ts new file mode 100644 index 0000000000000..093cc2d43bc33 --- /dev/null +++ b/x-pack/plugins/security_solution/common/api/detection_engine/index.ts @@ -0,0 +1,16 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +export * from './alert_tags'; +export * from './fleet_integrations'; +export * from './model'; +export * from './prebuilt_rules'; +export * from './rule_exceptions'; +export * from './rule_management'; +export * from './rule_monitoring'; +export * from './signals'; +export * from './signals_migration'; diff --git a/x-pack/plugins/security_solution/common/detection_engine/schemas/alerts/8.0.0/index.ts b/x-pack/plugins/security_solution/common/api/detection_engine/model/alerts/8.0.0/index.ts similarity index 97% rename from x-pack/plugins/security_solution/common/detection_engine/schemas/alerts/8.0.0/index.ts rename to x-pack/plugins/security_solution/common/api/detection_engine/model/alerts/8.0.0/index.ts index b347ffbd67ea5..3dd5d8362a497 100644 --- a/x-pack/plugins/security_solution/common/detection_engine/schemas/alerts/8.0.0/index.ts +++ b/x-pack/plugins/security_solution/common/api/detection_engine/model/alerts/8.0.0/index.ts @@ -68,9 +68,9 @@ import type { ALERT_RULE_TIMELINE_ID, ALERT_RULE_TIMELINE_TITLE, ALERT_RULE_TIMESTAMP_OVERRIDE, -} from '../../../../field_maps/field_names'; +} from '../../../../../field_maps/field_names'; // TODO: Create and import 8.0.0 versioned RuleAlertAction type -import type { RuleAlertAction, SearchTypes } from '../../../types'; +import type { RuleAlertAction, SearchTypes } from '../../../../../detection_engine/types'; /* DO NOT MODIFY THIS SCHEMA TO ADD NEW FIELDS. These types represent the alerts that shipped in 8.0.0. Any changes to these types should be bug fixes so the types more accurately represent the alerts from 8.0.0. diff --git a/x-pack/plugins/security_solution/common/detection_engine/schemas/alerts/8.4.0/index.ts b/x-pack/plugins/security_solution/common/api/detection_engine/model/alerts/8.4.0/index.ts similarity index 98% rename from x-pack/plugins/security_solution/common/detection_engine/schemas/alerts/8.4.0/index.ts rename to x-pack/plugins/security_solution/common/api/detection_engine/model/alerts/8.4.0/index.ts index 703e324a4fb24..b7136cf1213eb 100644 --- a/x-pack/plugins/security_solution/common/detection_engine/schemas/alerts/8.4.0/index.ts +++ b/x-pack/plugins/security_solution/common/api/detection_engine/model/alerts/8.4.0/index.ts @@ -12,7 +12,7 @@ import type { ALERT_GROUP_INDEX, ALERT_NEW_TERMS, ALERT_RULE_INDICES, -} from '../../../../field_maps/field_names'; +} from '../../../../../field_maps/field_names'; import type { Ancestor800, BaseFields800, diff --git a/x-pack/plugins/security_solution/common/detection_engine/schemas/alerts/8.6.0/index.ts b/x-pack/plugins/security_solution/common/api/detection_engine/model/alerts/8.6.0/index.ts similarity index 100% rename from x-pack/plugins/security_solution/common/detection_engine/schemas/alerts/8.6.0/index.ts rename to x-pack/plugins/security_solution/common/api/detection_engine/model/alerts/8.6.0/index.ts diff --git a/x-pack/plugins/security_solution/common/detection_engine/schemas/alerts/8.7.0/index.ts b/x-pack/plugins/security_solution/common/api/detection_engine/model/alerts/8.7.0/index.ts similarity index 100% rename from x-pack/plugins/security_solution/common/detection_engine/schemas/alerts/8.7.0/index.ts rename to x-pack/plugins/security_solution/common/api/detection_engine/model/alerts/8.7.0/index.ts diff --git a/x-pack/plugins/security_solution/common/detection_engine/schemas/alerts/8.8.0/index.ts b/x-pack/plugins/security_solution/common/api/detection_engine/model/alerts/8.8.0/index.ts similarity index 100% rename from x-pack/plugins/security_solution/common/detection_engine/schemas/alerts/8.8.0/index.ts rename to x-pack/plugins/security_solution/common/api/detection_engine/model/alerts/8.8.0/index.ts diff --git a/x-pack/plugins/security_solution/common/detection_engine/schemas/alerts/8.9.0/index.ts b/x-pack/plugins/security_solution/common/api/detection_engine/model/alerts/8.9.0/index.ts similarity index 100% rename from x-pack/plugins/security_solution/common/detection_engine/schemas/alerts/8.9.0/index.ts rename to x-pack/plugins/security_solution/common/api/detection_engine/model/alerts/8.9.0/index.ts diff --git a/x-pack/plugins/security_solution/common/detection_engine/schemas/alerts/README.md b/x-pack/plugins/security_solution/common/api/detection_engine/model/alerts/README.md similarity index 89% rename from x-pack/plugins/security_solution/common/detection_engine/schemas/alerts/README.md rename to x-pack/plugins/security_solution/common/api/detection_engine/model/alerts/README.md index c7acf84813f08..481fb04e5d3f7 100644 --- a/x-pack/plugins/security_solution/common/detection_engine/schemas/alerts/README.md +++ b/x-pack/plugins/security_solution/common/api/detection_engine/model/alerts/README.md @@ -20,7 +20,7 @@ Static types are a powerful tool for ensuring code correctness. However, each de The schemas in this directory have 2 primary purposes: (1) separate the alert document schemas from the FieldMaps, and (2) set up a code structure that enables easy versioning of alert schemas. During the Detection Engine migration to the rule registry we used the FieldMaps to define the alert schema, but ended up with numerous type casts and some bugs in the process. This common directory stores the various alert schemas by Kibana version. -x-pack/plugins/security_solution/common/detection_engine/schemas/alerts initially contains index.ts and one folder, 8.0.0. index.ts imports the schemas from 8.0.0 and re-exports them as ...Latest, denoting that those are the "write" schemas. The reason for this is that as we add new schemas, there are many places server side where we want to ensure that we're writing the latest alert schema. By having index.ts re-export 8.0.0 schemas, when we add make a new alert schema in the future (e.g. adding an additional field in 8.x) we can simply update index.ts to re-export the new schema instead of the previous schema. index.ts also exports a DetectionAlert which is the "read" schema - this type will be maintained as a union of all versioned alert schemas, which is needed to accurately type alerts that are read from the alerts index. +x-pack/plugins/security_solution/common/api/detection_engine/model/alerts initially contains index.ts and one folder, 8.0.0. index.ts imports the schemas from 8.0.0 and re-exports them as ...Latest, denoting that those are the "write" schemas. The reason for this is that as we add new schemas, there are many places server side where we want to ensure that we're writing the latest alert schema. By having index.ts re-export 8.0.0 schemas, when we add make a new alert schema in the future (e.g. adding an additional field in 8.x) we can simply update index.ts to re-export the new schema instead of the previous schema. index.ts also exports a DetectionAlert which is the "read" schema - this type will be maintained as a union of all versioned alert schemas, which is needed to accurately type alerts that are read from the alerts index. ## Reading vs writing alerts diff --git a/x-pack/plugins/security_solution/common/detection_engine/schemas/alerts/index.ts b/x-pack/plugins/security_solution/common/api/detection_engine/model/alerts/index.ts similarity index 100% rename from x-pack/plugins/security_solution/common/detection_engine/schemas/alerts/index.ts rename to x-pack/plugins/security_solution/common/api/detection_engine/model/alerts/index.ts diff --git a/x-pack/plugins/security_solution/common/detection_engine/schemas/response/error_schema.mocks.ts b/x-pack/plugins/security_solution/common/api/detection_engine/model/error_schema.mocks.ts similarity index 100% rename from x-pack/plugins/security_solution/common/detection_engine/schemas/response/error_schema.mocks.ts rename to x-pack/plugins/security_solution/common/api/detection_engine/model/error_schema.mocks.ts diff --git a/x-pack/plugins/security_solution/common/detection_engine/schemas/response/error_schema.test.ts b/x-pack/plugins/security_solution/common/api/detection_engine/model/error_schema.test.ts similarity index 100% rename from x-pack/plugins/security_solution/common/detection_engine/schemas/response/error_schema.test.ts rename to x-pack/plugins/security_solution/common/api/detection_engine/model/error_schema.test.ts diff --git a/x-pack/plugins/security_solution/common/detection_engine/schemas/response/error_schema.ts b/x-pack/plugins/security_solution/common/api/detection_engine/model/error_schema.ts similarity index 89% rename from x-pack/plugins/security_solution/common/detection_engine/schemas/response/error_schema.ts rename to x-pack/plugins/security_solution/common/api/detection_engine/model/error_schema.ts index 2c1cf288afe03..e6f2fecbf7e16 100644 --- a/x-pack/plugins/security_solution/common/detection_engine/schemas/response/error_schema.ts +++ b/x-pack/plugins/security_solution/common/api/detection_engine/model/error_schema.ts @@ -8,8 +8,8 @@ import { NonEmptyString } from '@kbn/securitysolution-io-ts-types'; import * as t from 'io-ts'; -import { RuleSignatureId } from '../../rule_schema'; -import { status_code, message } from '../common/schemas'; +import { RuleSignatureId } from './rule_schema'; +import { status_code, message } from './schemas'; // We use id: t.string intentionally and _never_ the id from global schemas as // sometimes echo back out the id that the user gave us and it is not guaranteed diff --git a/x-pack/plugins/security_solution/common/api/detection_engine/model/index.ts b/x-pack/plugins/security_solution/common/api/detection_engine/model/index.ts new file mode 100644 index 0000000000000..00d17d55817a5 --- /dev/null +++ b/x-pack/plugins/security_solution/common/api/detection_engine/model/index.ts @@ -0,0 +1,15 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +export * from './alerts'; +export * from './rule_response_actions'; +export * from './rule_schema'; +export * from './error_schema'; +export * from './pagination'; +export * from './schemas'; +export * from './sorting'; +export * from './warning_schema'; diff --git a/x-pack/plugins/security_solution/common/detection_engine/schemas/common/pagination.ts b/x-pack/plugins/security_solution/common/api/detection_engine/model/pagination.ts similarity index 100% rename from x-pack/plugins/security_solution/common/detection_engine/schemas/common/pagination.ts rename to x-pack/plugins/security_solution/common/api/detection_engine/model/pagination.ts diff --git a/x-pack/plugins/security_solution/common/detection_engine/rule_response_actions/schemas/endpoint.ts b/x-pack/plugins/security_solution/common/api/detection_engine/model/rule_response_actions/endpoint.ts similarity index 93% rename from x-pack/plugins/security_solution/common/detection_engine/rule_response_actions/schemas/endpoint.ts rename to x-pack/plugins/security_solution/common/api/detection_engine/model/rule_response_actions/endpoint.ts index 27d68c4e816d0..0aa3f97509f80 100644 --- a/x-pack/plugins/security_solution/common/detection_engine/rule_response_actions/schemas/endpoint.ts +++ b/x-pack/plugins/security_solution/common/api/detection_engine/model/rule_response_actions/endpoint.ts @@ -6,7 +6,7 @@ */ import * as t from 'io-ts'; -import { ENABLED_AUTOMATED_RESPONSE_ACTION_COMMANDS } from '../../../endpoint/service/response_actions/constants'; +import { ENABLED_AUTOMATED_RESPONSE_ACTION_COMMANDS } from '../../../../endpoint/service/response_actions/constants'; // to enable using RESPONSE_ACTION_API_COMMANDS_NAMES as a type function keyObject(arr: T): { [K in T[number]]: null } { diff --git a/x-pack/plugins/security_solution/common/detection_engine/rule_response_actions/schemas/index.ts b/x-pack/plugins/security_solution/common/api/detection_engine/model/rule_response_actions/index.ts similarity index 84% rename from x-pack/plugins/security_solution/common/detection_engine/rule_response_actions/schemas/index.ts rename to x-pack/plugins/security_solution/common/api/detection_engine/model/rule_response_actions/index.ts index 539ac438bf57f..6738515699814 100644 --- a/x-pack/plugins/security_solution/common/detection_engine/rule_response_actions/schemas/index.ts +++ b/x-pack/plugins/security_solution/common/api/detection_engine/model/rule_response_actions/index.ts @@ -6,3 +6,5 @@ */ export * from './response_actions'; +export * from './endpoint'; +export * from './osquery'; diff --git a/x-pack/plugins/security_solution/common/detection_engine/rule_response_actions/schemas/osquery.ts b/x-pack/plugins/security_solution/common/api/detection_engine/model/rule_response_actions/osquery.ts similarity index 100% rename from x-pack/plugins/security_solution/common/detection_engine/rule_response_actions/schemas/osquery.ts rename to x-pack/plugins/security_solution/common/api/detection_engine/model/rule_response_actions/osquery.ts diff --git a/x-pack/plugins/security_solution/common/detection_engine/rule_response_actions/schemas/response_actions.ts b/x-pack/plugins/security_solution/common/api/detection_engine/model/rule_response_actions/response_actions.ts similarity index 100% rename from x-pack/plugins/security_solution/common/detection_engine/rule_response_actions/schemas/response_actions.ts rename to x-pack/plugins/security_solution/common/api/detection_engine/model/rule_response_actions/response_actions.ts diff --git a/x-pack/plugins/security_solution/common/detection_engine/rule_schema/model/build_rule_schemas.ts b/x-pack/plugins/security_solution/common/api/detection_engine/model/rule_schema/build_rule_schemas.ts similarity index 100% rename from x-pack/plugins/security_solution/common/detection_engine/rule_schema/model/build_rule_schemas.ts rename to x-pack/plugins/security_solution/common/api/detection_engine/model/rule_schema/build_rule_schemas.ts diff --git a/x-pack/plugins/security_solution/common/detection_engine/rule_schema/model/common_attributes/field_overrides.ts b/x-pack/plugins/security_solution/common/api/detection_engine/model/rule_schema/common_attributes/field_overrides.ts similarity index 100% rename from x-pack/plugins/security_solution/common/detection_engine/rule_schema/model/common_attributes/field_overrides.ts rename to x-pack/plugins/security_solution/common/api/detection_engine/model/rule_schema/common_attributes/field_overrides.ts diff --git a/x-pack/plugins/security_solution/common/detection_engine/rule_schema/model/common_attributes/misc_attributes.ts b/x-pack/plugins/security_solution/common/api/detection_engine/model/rule_schema/common_attributes/misc_attributes.ts similarity index 100% rename from x-pack/plugins/security_solution/common/detection_engine/rule_schema/model/common_attributes/misc_attributes.ts rename to x-pack/plugins/security_solution/common/api/detection_engine/model/rule_schema/common_attributes/misc_attributes.ts diff --git a/x-pack/plugins/security_solution/common/detection_engine/rule_schema/model/common_attributes/related_integrations.ts b/x-pack/plugins/security_solution/common/api/detection_engine/model/rule_schema/common_attributes/related_integrations.ts similarity index 100% rename from x-pack/plugins/security_solution/common/detection_engine/rule_schema/model/common_attributes/related_integrations.ts rename to x-pack/plugins/security_solution/common/api/detection_engine/model/rule_schema/common_attributes/related_integrations.ts diff --git a/x-pack/plugins/security_solution/common/detection_engine/rule_schema/model/common_attributes/required_fields.ts b/x-pack/plugins/security_solution/common/api/detection_engine/model/rule_schema/common_attributes/required_fields.ts similarity index 100% rename from x-pack/plugins/security_solution/common/detection_engine/rule_schema/model/common_attributes/required_fields.ts rename to x-pack/plugins/security_solution/common/api/detection_engine/model/rule_schema/common_attributes/required_fields.ts diff --git a/x-pack/plugins/security_solution/common/detection_engine/rule_schema/model/common_attributes/saved_objects.ts b/x-pack/plugins/security_solution/common/api/detection_engine/model/rule_schema/common_attributes/saved_objects.ts similarity index 100% rename from x-pack/plugins/security_solution/common/detection_engine/rule_schema/model/common_attributes/saved_objects.ts rename to x-pack/plugins/security_solution/common/api/detection_engine/model/rule_schema/common_attributes/saved_objects.ts diff --git a/x-pack/plugins/security_solution/common/detection_engine/rule_schema/model/common_attributes/timeline_template.ts b/x-pack/plugins/security_solution/common/api/detection_engine/model/rule_schema/common_attributes/timeline_template.ts similarity index 100% rename from x-pack/plugins/security_solution/common/detection_engine/rule_schema/model/common_attributes/timeline_template.ts rename to x-pack/plugins/security_solution/common/api/detection_engine/model/rule_schema/common_attributes/timeline_template.ts diff --git a/x-pack/plugins/security_solution/common/api/detection_engine/model/rule_schema/index.ts b/x-pack/plugins/security_solution/common/api/detection_engine/model/rule_schema/index.ts new file mode 100644 index 0000000000000..0c207b17a548b --- /dev/null +++ b/x-pack/plugins/security_solution/common/api/detection_engine/model/rule_schema/index.ts @@ -0,0 +1,21 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +export * from './common_attributes/field_overrides'; +export * from './common_attributes/misc_attributes'; +export * from './common_attributes/related_integrations'; +export * from './common_attributes/required_fields'; +export * from './common_attributes/saved_objects'; +export * from './common_attributes/timeline_template'; + +export * from './specific_attributes/eql_attributes'; +export * from './specific_attributes/new_terms_attributes'; +export * from './specific_attributes/query_attributes'; +export * from './specific_attributes/threshold_attributes'; + +export * from './rule_schemas'; +export * from './build_rule_schemas'; diff --git a/x-pack/plugins/security_solution/common/detection_engine/schemas/request/index.ts b/x-pack/plugins/security_solution/common/api/detection_engine/model/rule_schema/mocks.ts similarity index 73% rename from x-pack/plugins/security_solution/common/detection_engine/schemas/request/index.ts rename to x-pack/plugins/security_solution/common/api/detection_engine/model/rule_schema/mocks.ts index 56ea598c58b0d..9ae3e0672efc5 100644 --- a/x-pack/plugins/security_solution/common/detection_engine/schemas/request/index.ts +++ b/x-pack/plugins/security_solution/common/api/detection_engine/model/rule_schema/mocks.ts @@ -5,5 +5,5 @@ * 2.0. */ -export * from './query_signals_index_schema'; -export * from './set_signal_status_schema'; +export * from './rule_request_schema.mock'; +export * from './rule_response_schema.mock'; diff --git a/x-pack/plugins/security_solution/common/detection_engine/rule_schema/model/rule_request_schema.mock.ts b/x-pack/plugins/security_solution/common/api/detection_engine/model/rule_schema/rule_request_schema.mock.ts similarity index 98% rename from x-pack/plugins/security_solution/common/detection_engine/rule_schema/model/rule_request_schema.mock.ts rename to x-pack/plugins/security_solution/common/api/detection_engine/model/rule_schema/rule_request_schema.mock.ts index d76450a0e0425..9ff3e50ea5877 100644 --- a/x-pack/plugins/security_solution/common/detection_engine/rule_schema/model/rule_request_schema.mock.ts +++ b/x-pack/plugins/security_solution/common/api/detection_engine/model/rule_schema/rule_request_schema.mock.ts @@ -5,7 +5,7 @@ * 2.0. */ -import { DEFAULT_INDICATOR_SOURCE_PATH } from '../../../constants'; +import { DEFAULT_INDICATOR_SOURCE_PATH } from '../../../../constants'; import type { MachineLearningRuleCreateProps, MachineLearningRuleUpdateProps, diff --git a/x-pack/plugins/security_solution/common/detection_engine/rule_schema/model/rule_request_schema.test.ts b/x-pack/plugins/security_solution/common/api/detection_engine/model/rule_schema/rule_request_schema.test.ts similarity index 99% rename from x-pack/plugins/security_solution/common/detection_engine/rule_schema/model/rule_request_schema.test.ts rename to x-pack/plugins/security_solution/common/api/detection_engine/model/rule_schema/rule_request_schema.test.ts index dab249557cc5a..a49112a98f81d 100644 --- a/x-pack/plugins/security_solution/common/detection_engine/rule_schema/model/rule_request_schema.test.ts +++ b/x-pack/plugins/security_solution/common/api/detection_engine/model/rule_schema/rule_request_schema.test.ts @@ -10,7 +10,7 @@ import { left } from 'fp-ts/lib/Either'; import { pipe } from 'fp-ts/lib/pipeable'; import { exactCheck, foldLeftRight, getPaths } from '@kbn/securitysolution-io-ts-utils'; -import { getListArrayMock } from '../../schemas/types/lists.mock'; +import { getListArrayMock } from '../../../../detection_engine/schemas/types/lists.mock'; import type { SavedQueryRuleCreateProps } from './rule_schemas'; import { RuleCreateProps } from './rule_schemas'; import { diff --git a/x-pack/plugins/security_solution/common/detection_engine/rule_schema/model/rule_response_schema.mock.ts b/x-pack/plugins/security_solution/common/api/detection_engine/model/rule_schema/rule_response_schema.mock.ts similarity index 97% rename from x-pack/plugins/security_solution/common/detection_engine/rule_schema/model/rule_response_schema.mock.ts rename to x-pack/plugins/security_solution/common/api/detection_engine/model/rule_schema/rule_response_schema.mock.ts index 7ccdd03b1355c..521e9918a6521 100644 --- a/x-pack/plugins/security_solution/common/detection_engine/rule_schema/model/rule_response_schema.mock.ts +++ b/x-pack/plugins/security_solution/common/api/detection_engine/model/rule_schema/rule_response_schema.mock.ts @@ -5,7 +5,7 @@ * 2.0. */ -import { DEFAULT_INDICATOR_SOURCE_PATH } from '../../../constants'; +import { DEFAULT_INDICATOR_SOURCE_PATH } from '../../../../constants'; import type { EqlRule, MachineLearningRule, @@ -14,7 +14,7 @@ import type { SharedResponseProps, ThreatMatchRule, } from './rule_schemas'; -import { getListArrayMock } from '../../schemas/types/lists.mock'; +import { getListArrayMock } from '../../../../detection_engine/schemas/types/lists.mock'; export const ANCHOR_DATE = '2020-02-20T03:57:54.037Z'; diff --git a/x-pack/plugins/security_solution/common/detection_engine/rule_schema/model/rule_response_schema.test.ts b/x-pack/plugins/security_solution/common/api/detection_engine/model/rule_schema/rule_response_schema.test.ts similarity index 100% rename from x-pack/plugins/security_solution/common/detection_engine/rule_schema/model/rule_response_schema.test.ts rename to x-pack/plugins/security_solution/common/api/detection_engine/model/rule_schema/rule_response_schema.test.ts diff --git a/x-pack/plugins/security_solution/common/detection_engine/rule_schema/model/rule_schemas.ts b/x-pack/plugins/security_solution/common/api/detection_engine/model/rule_schema/rule_schemas.ts similarity index 99% rename from x-pack/plugins/security_solution/common/detection_engine/rule_schema/model/rule_schemas.ts rename to x-pack/plugins/security_solution/common/api/detection_engine/model/rule_schema/rule_schemas.ts index ff4bb72a5eb65..93fd0aa8d0af8 100644 --- a/x-pack/plugins/security_solution/common/detection_engine/rule_schema/model/rule_schemas.ts +++ b/x-pack/plugins/security_solution/common/api/detection_engine/model/rule_schema/rule_schemas.ts @@ -27,8 +27,8 @@ import { threat_query, } from '@kbn/securitysolution-io-ts-alerting-types'; -import { RuleExecutionSummary } from '../../rule_monitoring'; -import { ResponseActionArray } from '../../rule_response_actions/schemas'; +import { RuleExecutionSummary } from '../../rule_monitoring/model'; +import { ResponseActionArray } from '../rule_response_actions'; import { saved_id, anomaly_threshold, @@ -37,7 +37,7 @@ import { created_at, created_by, revision, -} from '../../schemas/common'; +} from '../schemas'; import { AlertsIndex, diff --git a/x-pack/plugins/security_solution/common/detection_engine/rule_schema/model/specific_attributes/eql_attributes.ts b/x-pack/plugins/security_solution/common/api/detection_engine/model/rule_schema/specific_attributes/eql_attributes.ts similarity index 100% rename from x-pack/plugins/security_solution/common/detection_engine/rule_schema/model/specific_attributes/eql_attributes.ts rename to x-pack/plugins/security_solution/common/api/detection_engine/model/rule_schema/specific_attributes/eql_attributes.ts diff --git a/x-pack/plugins/security_solution/common/detection_engine/rule_schema/model/specific_attributes/new_terms_attributes.ts b/x-pack/plugins/security_solution/common/api/detection_engine/model/rule_schema/specific_attributes/new_terms_attributes.ts similarity index 92% rename from x-pack/plugins/security_solution/common/detection_engine/rule_schema/model/specific_attributes/new_terms_attributes.ts rename to x-pack/plugins/security_solution/common/api/detection_engine/model/rule_schema/specific_attributes/new_terms_attributes.ts index 6d9f39011b675..fa3e8e5860116 100644 --- a/x-pack/plugins/security_solution/common/detection_engine/rule_schema/model/specific_attributes/new_terms_attributes.ts +++ b/x-pack/plugins/security_solution/common/api/detection_engine/model/rule_schema/specific_attributes/new_terms_attributes.ts @@ -7,7 +7,7 @@ import * as t from 'io-ts'; import { LimitedSizeArray, NonEmptyString } from '@kbn/securitysolution-io-ts-types'; -import { MAX_NUMBER_OF_NEW_TERMS_FIELDS } from '../../../../constants'; +import { MAX_NUMBER_OF_NEW_TERMS_FIELDS } from '../../../../../constants'; // Attributes specific to New Terms rules diff --git a/x-pack/plugins/security_solution/common/detection_engine/rule_schema/model/specific_attributes/query_attributes.ts b/x-pack/plugins/security_solution/common/api/detection_engine/model/rule_schema/specific_attributes/query_attributes.ts similarity index 100% rename from x-pack/plugins/security_solution/common/detection_engine/rule_schema/model/specific_attributes/query_attributes.ts rename to x-pack/plugins/security_solution/common/api/detection_engine/model/rule_schema/specific_attributes/query_attributes.ts diff --git a/x-pack/plugins/security_solution/common/detection_engine/rule_schema/model/specific_attributes/threshold_attributes.ts b/x-pack/plugins/security_solution/common/api/detection_engine/model/rule_schema/specific_attributes/threshold_attributes.ts similarity index 100% rename from x-pack/plugins/security_solution/common/detection_engine/rule_schema/model/specific_attributes/threshold_attributes.ts rename to x-pack/plugins/security_solution/common/api/detection_engine/model/rule_schema/specific_attributes/threshold_attributes.ts diff --git a/x-pack/plugins/security_solution/common/detection_engine/schemas/common/schemas.ts b/x-pack/plugins/security_solution/common/api/detection_engine/model/schemas.ts similarity index 100% rename from x-pack/plugins/security_solution/common/detection_engine/schemas/common/schemas.ts rename to x-pack/plugins/security_solution/common/api/detection_engine/model/schemas.ts diff --git a/x-pack/plugins/security_solution/common/detection_engine/schemas/common/sorting.test.ts b/x-pack/plugins/security_solution/common/api/detection_engine/model/sorting.test.ts similarity index 100% rename from x-pack/plugins/security_solution/common/detection_engine/schemas/common/sorting.test.ts rename to x-pack/plugins/security_solution/common/api/detection_engine/model/sorting.test.ts diff --git a/x-pack/plugins/security_solution/common/detection_engine/schemas/common/sorting.ts b/x-pack/plugins/security_solution/common/api/detection_engine/model/sorting.ts similarity index 100% rename from x-pack/plugins/security_solution/common/detection_engine/schemas/common/sorting.ts rename to x-pack/plugins/security_solution/common/api/detection_engine/model/sorting.ts diff --git a/x-pack/plugins/security_solution/common/detection_engine/schemas/response/warning_schema/index.ts b/x-pack/plugins/security_solution/common/api/detection_engine/model/warning_schema.ts similarity index 100% rename from x-pack/plugins/security_solution/common/detection_engine/schemas/response/warning_schema/index.ts rename to x-pack/plugins/security_solution/common/api/detection_engine/model/warning_schema.ts diff --git a/x-pack/plugins/security_solution/common/detection_engine/prebuilt_rules/api/get_prebuilt_rules_and_timelines_status/response_schema.test.ts b/x-pack/plugins/security_solution/common/api/detection_engine/prebuilt_rules/get_prebuilt_rules_and_timelines_status/get_prebuilt_rules_and_timelines_status_route.test.ts similarity index 98% rename from x-pack/plugins/security_solution/common/detection_engine/prebuilt_rules/api/get_prebuilt_rules_and_timelines_status/response_schema.test.ts rename to x-pack/plugins/security_solution/common/api/detection_engine/prebuilt_rules/get_prebuilt_rules_and_timelines_status/get_prebuilt_rules_and_timelines_status_route.test.ts index e721e6f41cc19..83c09d2dcab26 100644 --- a/x-pack/plugins/security_solution/common/detection_engine/prebuilt_rules/api/get_prebuilt_rules_and_timelines_status/response_schema.test.ts +++ b/x-pack/plugins/security_solution/common/api/detection_engine/prebuilt_rules/get_prebuilt_rules_and_timelines_status/get_prebuilt_rules_and_timelines_status_route.test.ts @@ -9,7 +9,7 @@ import { left } from 'fp-ts/lib/Either'; import { pipe } from 'fp-ts/lib/pipeable'; import { exactCheck, foldLeftRight, getPaths } from '@kbn/securitysolution-io-ts-utils'; -import { GetPrebuiltRulesAndTimelinesStatusResponse } from './response_schema'; +import { GetPrebuiltRulesAndTimelinesStatusResponse } from './get_prebuilt_rules_and_timelines_status_route'; describe('Get prebuilt rules and timelines status response schema', () => { test('it should validate an empty prepackaged response with defaults', () => { diff --git a/x-pack/plugins/security_solution/common/detection_engine/prebuilt_rules/api/get_prebuilt_rules_and_timelines_status/response_schema.ts b/x-pack/plugins/security_solution/common/api/detection_engine/prebuilt_rules/get_prebuilt_rules_and_timelines_status/get_prebuilt_rules_and_timelines_status_route.ts similarity index 100% rename from x-pack/plugins/security_solution/common/detection_engine/prebuilt_rules/api/get_prebuilt_rules_and_timelines_status/response_schema.ts rename to x-pack/plugins/security_solution/common/api/detection_engine/prebuilt_rules/get_prebuilt_rules_and_timelines_status/get_prebuilt_rules_and_timelines_status_route.ts diff --git a/x-pack/plugins/security_solution/common/detection_engine/prebuilt_rules/api/get_prebuilt_rules_status/response_schema.ts b/x-pack/plugins/security_solution/common/api/detection_engine/prebuilt_rules/get_prebuilt_rules_status/get_prebuilt_rules_status_route.ts similarity index 100% rename from x-pack/plugins/security_solution/common/detection_engine/prebuilt_rules/api/get_prebuilt_rules_status/response_schema.ts rename to x-pack/plugins/security_solution/common/api/detection_engine/prebuilt_rules/get_prebuilt_rules_status/get_prebuilt_rules_status_route.ts diff --git a/x-pack/plugins/security_solution/common/api/detection_engine/prebuilt_rules/index.ts b/x-pack/plugins/security_solution/common/api/detection_engine/prebuilt_rules/index.ts new file mode 100644 index 0000000000000..38607fbd30513 --- /dev/null +++ b/x-pack/plugins/security_solution/common/api/detection_engine/prebuilt_rules/index.ts @@ -0,0 +1,24 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +export * from './get_prebuilt_rules_and_timelines_status/get_prebuilt_rules_and_timelines_status_route'; +export * from './get_prebuilt_rules_status/get_prebuilt_rules_status_route'; +export * from './install_prebuilt_rules_and_timelines/install_prebuilt_rules_and_timelines_route'; +export * from './perform_rule_installation/perform_rule_installation_route'; +export * from './perform_rule_upgrade/perform_rule_upgrade_route'; +export * from './review_rule_installation/review_rule_installation_route'; +export * from './review_rule_upgrade/review_rule_upgrade_route'; +export * from './urls'; +export * from './model/aggregated_prebuilt_rules_error'; +export * from './model/diff/diffable_rule/build_schema'; +export * from './model/diff/diffable_rule/diffable_field_types'; +export * from './model/diff/diffable_rule/diffable_rule'; +export * from './model/diff/rule_diff/fields_diff'; +export * from './model/diff/rule_diff/rule_diff'; +export * from './model/diff/three_way_diff/three_way_diff_outcome'; +export * from './model/diff/three_way_diff/three_way_diff'; +export * from './model/diff/three_way_diff/three_way_merge_outcome'; diff --git a/x-pack/plugins/security_solution/common/detection_engine/prebuilt_rules/api/install_prebuilt_rules_and_timelines/response_schema.test.ts b/x-pack/plugins/security_solution/common/api/detection_engine/prebuilt_rules/install_prebuilt_rules_and_timelines/install_prebuilt_rules_and_timelines_route.test.ts similarity index 97% rename from x-pack/plugins/security_solution/common/detection_engine/prebuilt_rules/api/install_prebuilt_rules_and_timelines/response_schema.test.ts rename to x-pack/plugins/security_solution/common/api/detection_engine/prebuilt_rules/install_prebuilt_rules_and_timelines/install_prebuilt_rules_and_timelines_route.test.ts index 6833a5891a2c2..7f049af0d78b8 100644 --- a/x-pack/plugins/security_solution/common/detection_engine/prebuilt_rules/api/install_prebuilt_rules_and_timelines/response_schema.test.ts +++ b/x-pack/plugins/security_solution/common/api/detection_engine/prebuilt_rules/install_prebuilt_rules_and_timelines/install_prebuilt_rules_and_timelines_route.test.ts @@ -9,7 +9,7 @@ import { left } from 'fp-ts/lib/Either'; import { pipe } from 'fp-ts/lib/pipeable'; import { exactCheck, foldLeftRight, getPaths } from '@kbn/securitysolution-io-ts-utils'; -import { InstallPrebuiltRulesAndTimelinesResponse } from './response_schema'; +import { InstallPrebuiltRulesAndTimelinesResponse } from './install_prebuilt_rules_and_timelines_route'; describe('Install prebuilt rules and timelines response schema', () => { test('it should validate an empty prepackaged response with defaults', () => { diff --git a/x-pack/plugins/security_solution/common/detection_engine/prebuilt_rules/api/install_prebuilt_rules_and_timelines/response_schema.ts b/x-pack/plugins/security_solution/common/api/detection_engine/prebuilt_rules/install_prebuilt_rules_and_timelines/install_prebuilt_rules_and_timelines_route.ts similarity index 100% rename from x-pack/plugins/security_solution/common/detection_engine/prebuilt_rules/api/install_prebuilt_rules_and_timelines/response_schema.ts rename to x-pack/plugins/security_solution/common/api/detection_engine/prebuilt_rules/install_prebuilt_rules_and_timelines/install_prebuilt_rules_and_timelines_route.ts diff --git a/x-pack/plugins/security_solution/common/detection_engine/prebuilt_rules/model/prebuilt_rules/aggregated_prebuilt_rules_error.ts b/x-pack/plugins/security_solution/common/api/detection_engine/prebuilt_rules/model/aggregated_prebuilt_rules_error.ts similarity index 100% rename from x-pack/plugins/security_solution/common/detection_engine/prebuilt_rules/model/prebuilt_rules/aggregated_prebuilt_rules_error.ts rename to x-pack/plugins/security_solution/common/api/detection_engine/prebuilt_rules/model/aggregated_prebuilt_rules_error.ts diff --git a/x-pack/plugins/security_solution/common/detection_engine/prebuilt_rules/model/diff/diffable_rule/build_schema.ts b/x-pack/plugins/security_solution/common/api/detection_engine/prebuilt_rules/model/diff/diffable_rule/build_schema.ts similarity index 89% rename from x-pack/plugins/security_solution/common/detection_engine/prebuilt_rules/model/diff/diffable_rule/build_schema.ts rename to x-pack/plugins/security_solution/common/api/detection_engine/prebuilt_rules/model/diff/diffable_rule/build_schema.ts index b0b60f70d1e63..b57882ffdfc5c 100644 --- a/x-pack/plugins/security_solution/common/detection_engine/prebuilt_rules/model/diff/diffable_rule/build_schema.ts +++ b/x-pack/plugins/security_solution/common/api/detection_engine/prebuilt_rules/model/diff/diffable_rule/build_schema.ts @@ -6,7 +6,7 @@ */ import * as t from 'io-ts'; -import { orUndefined } from '../../../../rule_schema/model/build_rule_schemas'; +import { orUndefined } from '../../../../model'; interface RuleFields { required: TRequired; diff --git a/x-pack/plugins/security_solution/common/detection_engine/prebuilt_rules/model/diff/diffable_rule/diffable_field_types.ts b/x-pack/plugins/security_solution/common/api/detection_engine/prebuilt_rules/model/diff/diffable_rule/diffable_field_types.ts similarity index 97% rename from x-pack/plugins/security_solution/common/detection_engine/prebuilt_rules/model/diff/diffable_rule/diffable_field_types.ts rename to x-pack/plugins/security_solution/common/api/detection_engine/prebuilt_rules/model/diff/diffable_rule/diffable_field_types.ts index 3e07566afbf96..e2f0480d092aa 100644 --- a/x-pack/plugins/security_solution/common/detection_engine/prebuilt_rules/model/diff/diffable_rule/diffable_field_types.ts +++ b/x-pack/plugins/security_solution/common/api/detection_engine/prebuilt_rules/model/diff/diffable_rule/diffable_field_types.ts @@ -19,8 +19,8 @@ import { TimelineTemplateTitle, TimestampOverride as TimestampOverrideFieldName, TimestampOverrideFallbackDisabled, -} from '../../../../rule_schema'; -import { saved_id } from '../../../../schemas/common'; + saved_id, +} from '../../../../model'; // ------------------------------------------------------------------------------------------------- // Rule data source diff --git a/x-pack/plugins/security_solution/common/detection_engine/prebuilt_rules/model/diff/diffable_rule/diffable_rule.ts b/x-pack/plugins/security_solution/common/api/detection_engine/prebuilt_rules/model/diff/diffable_rule/diffable_rule.ts similarity index 98% rename from x-pack/plugins/security_solution/common/detection_engine/prebuilt_rules/model/diff/diffable_rule/diffable_rule.ts rename to x-pack/plugins/security_solution/common/api/detection_engine/prebuilt_rules/model/diff/diffable_rule/diffable_rule.ts index 8ce2fb9bf7f1a..6dad2ff0cf6df 100644 --- a/x-pack/plugins/security_solution/common/detection_engine/prebuilt_rules/model/diff/diffable_rule/diffable_rule.ts +++ b/x-pack/plugins/security_solution/common/api/detection_engine/prebuilt_rules/model/diff/diffable_rule/diffable_rule.ts @@ -47,9 +47,8 @@ import { Threshold, TiebreakerField, TimestampField, -} from '../../../../rule_schema'; - -import { anomaly_threshold } from '../../../../schemas/common'; + anomaly_threshold, +} from '../../../../model'; import { BuildingBlockObject, diff --git a/x-pack/plugins/security_solution/common/detection_engine/prebuilt_rules/model/diff/rule_diff/fields_diff.ts b/x-pack/plugins/security_solution/common/api/detection_engine/prebuilt_rules/model/diff/rule_diff/fields_diff.ts similarity index 100% rename from x-pack/plugins/security_solution/common/detection_engine/prebuilt_rules/model/diff/rule_diff/fields_diff.ts rename to x-pack/plugins/security_solution/common/api/detection_engine/prebuilt_rules/model/diff/rule_diff/fields_diff.ts diff --git a/x-pack/plugins/security_solution/common/detection_engine/prebuilt_rules/model/diff/rule_diff/rule_diff.ts b/x-pack/plugins/security_solution/common/api/detection_engine/prebuilt_rules/model/diff/rule_diff/rule_diff.ts similarity index 100% rename from x-pack/plugins/security_solution/common/detection_engine/prebuilt_rules/model/diff/rule_diff/rule_diff.ts rename to x-pack/plugins/security_solution/common/api/detection_engine/prebuilt_rules/model/diff/rule_diff/rule_diff.ts diff --git a/x-pack/plugins/security_solution/common/detection_engine/prebuilt_rules/model/diff/three_way_diff/three_way_diff.ts b/x-pack/plugins/security_solution/common/api/detection_engine/prebuilt_rules/model/diff/three_way_diff/three_way_diff.ts similarity index 100% rename from x-pack/plugins/security_solution/common/detection_engine/prebuilt_rules/model/diff/three_way_diff/three_way_diff.ts rename to x-pack/plugins/security_solution/common/api/detection_engine/prebuilt_rules/model/diff/three_way_diff/three_way_diff.ts diff --git a/x-pack/plugins/security_solution/common/detection_engine/prebuilt_rules/model/diff/three_way_diff/three_way_diff_outcome.ts b/x-pack/plugins/security_solution/common/api/detection_engine/prebuilt_rules/model/diff/three_way_diff/three_way_diff_outcome.ts similarity index 100% rename from x-pack/plugins/security_solution/common/detection_engine/prebuilt_rules/model/diff/three_way_diff/three_way_diff_outcome.ts rename to x-pack/plugins/security_solution/common/api/detection_engine/prebuilt_rules/model/diff/three_way_diff/three_way_diff_outcome.ts diff --git a/x-pack/plugins/security_solution/common/detection_engine/prebuilt_rules/model/diff/three_way_diff/three_way_merge_outcome.ts b/x-pack/plugins/security_solution/common/api/detection_engine/prebuilt_rules/model/diff/three_way_diff/three_way_merge_outcome.ts similarity index 100% rename from x-pack/plugins/security_solution/common/detection_engine/prebuilt_rules/model/diff/three_way_diff/three_way_merge_outcome.ts rename to x-pack/plugins/security_solution/common/api/detection_engine/prebuilt_rules/model/diff/three_way_diff/three_way_merge_outcome.ts diff --git a/x-pack/plugins/security_solution/common/api/detection_engine/prebuilt_rules/model/index.ts b/x-pack/plugins/security_solution/common/api/detection_engine/prebuilt_rules/model/index.ts new file mode 100644 index 0000000000000..7e550633d8efc --- /dev/null +++ b/x-pack/plugins/security_solution/common/api/detection_engine/prebuilt_rules/model/index.ts @@ -0,0 +1,16 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +export * from './aggregated_prebuilt_rules_error'; +export * from './diff/diffable_rule/build_schema'; +export * from './diff/diffable_rule/diffable_field_types'; +export * from './diff/diffable_rule/diffable_rule'; +export * from './diff/rule_diff/fields_diff'; +export * from './diff/rule_diff/rule_diff'; +export * from './diff/three_way_diff/three_way_diff_outcome'; +export * from './diff/three_way_diff/three_way_diff'; +export * from './diff/three_way_diff/three_way_merge_outcome'; diff --git a/x-pack/plugins/security_solution/common/detection_engine/prebuilt_rules/api/perform_rule_installation/perform_rule_installation_request_schema.ts b/x-pack/plugins/security_solution/common/api/detection_engine/prebuilt_rules/perform_rule_installation/perform_rule_installation_route.ts similarity index 66% rename from x-pack/plugins/security_solution/common/detection_engine/prebuilt_rules/api/perform_rule_installation/perform_rule_installation_request_schema.ts rename to x-pack/plugins/security_solution/common/api/detection_engine/prebuilt_rules/perform_rule_installation/perform_rule_installation_route.ts index 3dc0c3619b2ee..fca8ce25d3ba1 100644 --- a/x-pack/plugins/security_solution/common/detection_engine/prebuilt_rules/api/perform_rule_installation/perform_rule_installation_request_schema.ts +++ b/x-pack/plugins/security_solution/common/api/detection_engine/prebuilt_rules/perform_rule_installation/perform_rule_installation_route.ts @@ -5,6 +5,8 @@ * 2.0. */ import * as t from 'io-ts'; +import type { RuleResponse } from '../../model'; +import type { AggregatedPrebuiltRuleError } from '../model'; export const RuleVersionSpecifier = t.exact( t.type({ @@ -39,3 +41,26 @@ export const PerformRuleInstallationRequestBody = t.union([ export type PerformRuleInstallationRequestBody = t.TypeOf< typeof PerformRuleInstallationRequestBody >; + +export enum SkipRuleInstallReason { + ALREADY_INSTALLED = 'ALREADY_INSTALLED', +} + +export interface SkippedRuleInstall { + rule_id: string; + reason: SkipRuleInstallReason; +} + +export interface PerformRuleInstallationResponseBody { + summary: { + total: number; + succeeded: number; + skipped: number; + failed: number; + }; + results: { + created: RuleResponse[]; + skipped: SkippedRuleInstall[]; + }; + errors: AggregatedPrebuiltRuleError[]; +} diff --git a/x-pack/plugins/security_solution/common/detection_engine/prebuilt_rules/api/perform_rule_upgrade/perform_rule_upgrade_request_schema.ts b/x-pack/plugins/security_solution/common/api/detection_engine/prebuilt_rules/perform_rule_upgrade/perform_rule_upgrade_route.ts similarity index 79% rename from x-pack/plugins/security_solution/common/detection_engine/prebuilt_rules/api/perform_rule_upgrade/perform_rule_upgrade_request_schema.ts rename to x-pack/plugins/security_solution/common/api/detection_engine/prebuilt_rules/perform_rule_upgrade/perform_rule_upgrade_route.ts index eb92782f4d916..b1d3b166a513e 100644 --- a/x-pack/plugins/security_solution/common/detection_engine/prebuilt_rules/api/perform_rule_upgrade/perform_rule_upgrade_request_schema.ts +++ b/x-pack/plugins/security_solution/common/api/detection_engine/prebuilt_rules/perform_rule_upgrade/perform_rule_upgrade_route.ts @@ -8,6 +8,9 @@ import { enumeration } from '@kbn/securitysolution-io-ts-types'; import * as t from 'io-ts'; +import type { RuleResponse } from '../../model'; +import type { AggregatedPrebuiltRuleError } from '../model'; + export enum PickVersionValues { BASE = 'BASE', CURRENT = 'CURRENT', @@ -70,3 +73,26 @@ export const PerformRuleUpgradeRequestBody = t.union([ UpgradeSpecificRulesRequest, ]); export type PerformRuleUpgradeRequestBody = t.TypeOf; + +export enum SkipRuleUpgradeReason { + RULE_UP_TO_DATE = 'RULE_UP_TO_DATE', +} + +export interface SkippedRuleUpgrade { + rule_id: string; + reason: SkipRuleUpgradeReason; +} + +export interface PerformRuleUpgradeResponseBody { + summary: { + total: number; + succeeded: number; + skipped: number; + failed: number; + }; + results: { + updated: RuleResponse[]; + skipped: SkippedRuleUpgrade[]; + }; + errors: AggregatedPrebuiltRuleError[]; +} diff --git a/x-pack/plugins/security_solution/common/detection_engine/prebuilt_rules/api/review_rule_installation/response_schema.ts b/x-pack/plugins/security_solution/common/api/detection_engine/prebuilt_rules/review_rule_installation/review_rule_installation_route.ts similarity index 90% rename from x-pack/plugins/security_solution/common/detection_engine/prebuilt_rules/api/review_rule_installation/response_schema.ts rename to x-pack/plugins/security_solution/common/api/detection_engine/prebuilt_rules/review_rule_installation/review_rule_installation_route.ts index 49757b80630a7..7a7f4878defb3 100644 --- a/x-pack/plugins/security_solution/common/detection_engine/prebuilt_rules/api/review_rule_installation/response_schema.ts +++ b/x-pack/plugins/security_solution/common/api/detection_engine/prebuilt_rules/review_rule_installation/review_rule_installation_route.ts @@ -5,8 +5,8 @@ * 2.0. */ -import type { RuleSignatureId, RuleTagArray, RuleVersion } from '../../../rule_schema'; -import type { DiffableRule } from '../../model/diff/diffable_rule/diffable_rule'; +import type { RuleSignatureId, RuleTagArray, RuleVersion } from '../../model'; +import type { DiffableRule } from '../model'; export interface ReviewRuleInstallationResponseBody { /** Aggregated info about all rules available for installation */ diff --git a/x-pack/plugins/security_solution/common/detection_engine/prebuilt_rules/api/review_rule_upgrade/response_schema.ts b/x-pack/plugins/security_solution/common/api/detection_engine/prebuilt_rules/review_rule_upgrade/review_rule_upgrade_route.ts similarity index 84% rename from x-pack/plugins/security_solution/common/detection_engine/prebuilt_rules/api/review_rule_upgrade/response_schema.ts rename to x-pack/plugins/security_solution/common/api/detection_engine/prebuilt_rules/review_rule_upgrade/review_rule_upgrade_route.ts index 52e12bc49fac6..99249cfab1cbc 100644 --- a/x-pack/plugins/security_solution/common/detection_engine/prebuilt_rules/api/review_rule_upgrade/response_schema.ts +++ b/x-pack/plugins/security_solution/common/api/detection_engine/prebuilt_rules/review_rule_upgrade/review_rule_upgrade_route.ts @@ -5,9 +5,8 @@ * 2.0. */ -import type { RuleObjectId, RuleSignatureId, RuleTagArray } from '../../../rule_schema'; -import type { DiffableRule } from '../../model/diff/diffable_rule/diffable_rule'; -import type { PartialRuleDiff } from '../../model/diff/rule_diff/rule_diff'; +import type { RuleObjectId, RuleSignatureId, RuleTagArray } from '../../model'; +import type { DiffableRule, PartialRuleDiff } from '../model'; export interface ReviewRuleUpgradeResponseBody { /** Aggregated info about all rules available for upgrade */ diff --git a/x-pack/plugins/security_solution/common/detection_engine/prebuilt_rules/api/urls.ts b/x-pack/plugins/security_solution/common/api/detection_engine/prebuilt_rules/urls.ts similarity index 100% rename from x-pack/plugins/security_solution/common/detection_engine/prebuilt_rules/api/urls.ts rename to x-pack/plugins/security_solution/common/api/detection_engine/prebuilt_rules/urls.ts diff --git a/x-pack/plugins/security_solution/common/detection_engine/rule_exceptions/api/create_rule_exceptions/request_schema.test.ts b/x-pack/plugins/security_solution/common/api/detection_engine/rule_exceptions/create_rule_exceptions/create_rule_exceptions_route.test.ts similarity index 99% rename from x-pack/plugins/security_solution/common/detection_engine/rule_exceptions/api/create_rule_exceptions/request_schema.test.ts rename to x-pack/plugins/security_solution/common/api/detection_engine/rule_exceptions/create_rule_exceptions/create_rule_exceptions_route.test.ts index 93b4e9f128a7b..b05cc35ce75fa 100644 --- a/x-pack/plugins/security_solution/common/detection_engine/rule_exceptions/api/create_rule_exceptions/request_schema.test.ts +++ b/x-pack/plugins/security_solution/common/api/detection_engine/rule_exceptions/create_rule_exceptions/create_rule_exceptions_route.test.ts @@ -13,7 +13,7 @@ import { getCreateExceptionListItemSchemaMock } from '@kbn/lists-plugin/common/s import { CreateRuleExceptionsRequestBody, CreateRuleExceptionsRequestParams, -} from './request_schema'; +} from './create_rule_exceptions_route'; describe('CreateRuleExceptionsRequestParams', () => { test('empty objects do not validate', () => { diff --git a/x-pack/plugins/security_solution/common/detection_engine/rule_exceptions/api/create_rule_exceptions/request_schema.ts b/x-pack/plugins/security_solution/common/api/detection_engine/rule_exceptions/create_rule_exceptions/create_rule_exceptions_route.ts similarity index 83% rename from x-pack/plugins/security_solution/common/detection_engine/rule_exceptions/api/create_rule_exceptions/request_schema.ts rename to x-pack/plugins/security_solution/common/api/detection_engine/rule_exceptions/create_rule_exceptions/create_rule_exceptions_route.ts index 57ef1f8974708..42ef5482b5b5a 100644 --- a/x-pack/plugins/security_solution/common/detection_engine/rule_exceptions/api/create_rule_exceptions/request_schema.ts +++ b/x-pack/plugins/security_solution/common/api/detection_engine/rule_exceptions/create_rule_exceptions/create_rule_exceptions_route.ts @@ -7,10 +7,13 @@ import * as t from 'io-ts'; -import type { CreateRuleExceptionListItemSchemaDecoded } from '@kbn/securitysolution-io-ts-list-types'; +import type { + CreateRuleExceptionListItemSchemaDecoded, + ExceptionListItemSchema, +} from '@kbn/securitysolution-io-ts-list-types'; import { createRuleExceptionListItemSchema } from '@kbn/securitysolution-io-ts-list-types'; -import { RuleObjectId } from '../../../rule_schema'; +import { RuleObjectId } from '../../model'; /** * URL path parameters of the API route. @@ -43,3 +46,5 @@ export type CreateRuleExceptionsRequestBodyDecoded = Omit< > & { items: CreateRuleExceptionListItemSchemaDecoded[]; }; + +export type CreateRuleExceptionsResponse = ExceptionListItemSchema[]; diff --git a/x-pack/plugins/security_solution/common/api/detection_engine/rule_exceptions/find_exception_references/find_exception_references_route.test.ts b/x-pack/plugins/security_solution/common/api/detection_engine/rule_exceptions/find_exception_references/find_exception_references_route.test.ts new file mode 100644 index 0000000000000..003060f4421aa --- /dev/null +++ b/x-pack/plugins/security_solution/common/api/detection_engine/rule_exceptions/find_exception_references/find_exception_references_route.test.ts @@ -0,0 +1,247 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import { exactCheck, formatErrors, foldLeftRight } from '@kbn/securitysolution-io-ts-utils'; +import { getExceptionListSchemaMock } from '@kbn/lists-plugin/common/schemas/response/exception_list_schema.mock'; +import { + exceptionListRuleReferencesSchema, + rulesReferencedByExceptionListsSchema, + findExceptionReferencesOnRuleSchema, +} from './find_exception_references_route'; +import type { + ExceptionListRuleReferencesSchema, + RulesReferencedByExceptionListsSchema, + FindExceptionReferencesOnRuleSchema, +} from './find_exception_references_route'; + +describe('Find exception list references', () => { + describe('request schema', () => { + test('validates all fields', () => { + const payload: FindExceptionReferencesOnRuleSchema = { + ids: 'abc,def', + list_ids: '123,456', + namespace_types: 'single,agnostic', + }; + + const decoded = findExceptionReferencesOnRuleSchema.decode(payload); + const checked = exactCheck(payload, decoded); + const output = foldLeftRight(checked); + expect(formatErrors(output.errors)).toEqual([]); + expect(output.schema).toEqual({ + ids: ['abc', 'def'], + list_ids: ['123', '456'], + namespace_types: ['single', 'agnostic'], + }); + }); + + test('"ids" can be optional', () => { + const payload: Omit = { + list_ids: '123,456', + namespace_types: 'single,agnostic', + }; + + const decoded = findExceptionReferencesOnRuleSchema.decode(payload); + const checked = exactCheck(payload, decoded); + const output = foldLeftRight(checked); + expect(formatErrors(output.errors)).toEqual([]); + expect(output.schema).toEqual({ + list_ids: ['123', '456'], + namespace_types: ['single', 'agnostic'], + }); + }); + + test('"list_ids" can be undefined', () => { + const payload: Omit = { + ids: 'abc', + namespace_types: 'single', + }; + + const decoded = findExceptionReferencesOnRuleSchema.decode(payload); + const checked = exactCheck(payload, decoded); + const output = foldLeftRight(checked); + expect(formatErrors(output.errors)).toEqual([]); + expect(output.schema).toEqual({ + ids: ['abc'], + namespace_types: ['single'], + }); + }); + + test('defaults "namespacetypes" to ["single"] if none set', () => { + const payload: Omit = { + ids: 'abc', + list_ids: '123', + }; + + const decoded = findExceptionReferencesOnRuleSchema.decode(payload); + const checked = exactCheck(payload, decoded); + const output = foldLeftRight(checked); + expect(formatErrors(output.errors)).toEqual([]); + expect(output.schema).toEqual({ + ids: ['abc'], + list_ids: ['123'], + namespace_types: ['single'], + }); + }); + + test('cannot add extra values', () => { + const payload: FindExceptionReferencesOnRuleSchema & { extra_value?: string } = { + ids: 'abc,def', + list_ids: '123,456', + namespace_types: 'single,agnostic', + extra_value: 'aaa', + }; + + const decoded = findExceptionReferencesOnRuleSchema.decode(payload); + const checked = exactCheck(payload, decoded); + const output = foldLeftRight(checked); + expect(formatErrors(output.errors)).toEqual(['invalid keys "extra_value"']); + expect(output.schema).toEqual({}); + }); + }); + + describe('response schema', () => { + describe('exceptionListRuleReferencesSchema', () => { + test('validates all fields', () => { + const payload: ExceptionListRuleReferencesSchema = { + ...getExceptionListSchemaMock(), + referenced_rules: [ + { + name: 'My rule', + id: '4656dc92-5832-11ea-8e2d-0242ac130003', + rule_id: 'my-rule-id', + exception_lists: [ + { + id: 'myListId', + list_id: 'my-list-id', + namespace_type: 'single', + type: 'detection', + }, + ], + }, + ], + }; + + const decoded = exceptionListRuleReferencesSchema.decode(payload); + const checked = exactCheck(payload, decoded); + const output = foldLeftRight(checked); + expect(formatErrors(output.errors)).toEqual([]); + expect(output.schema).toEqual(payload); + }); + + test('cannot add extra values', () => { + const payload: ExceptionListRuleReferencesSchema & { extra_value?: string } = { + extra_value: 'foo', + ...getExceptionListSchemaMock(), + referenced_rules: [ + { + name: 'My rule', + id: '4656dc92-5832-11ea-8e2d-0242ac130003', + rule_id: 'my-rule-id', + exception_lists: [ + { + id: 'myListId', + list_id: 'my-list-id', + namespace_type: 'single', + type: 'detection', + }, + ], + }, + ], + }; + + const decoded = exceptionListRuleReferencesSchema.decode(payload); + const checked = exactCheck(payload, decoded); + const output = foldLeftRight(checked); + expect(formatErrors(output.errors)).toEqual(['invalid keys "extra_value"']); + expect(output.schema).toEqual({}); + }); + }); + + describe('rulesReferencedByExceptionListsSchema', () => { + test('validates all fields', () => { + const payload: RulesReferencedByExceptionListsSchema = { + references: [ + { + 'my-list-id': { + ...getExceptionListSchemaMock(), + referenced_rules: [ + { + name: 'My rule', + id: '4656dc92-5832-11ea-8e2d-0242ac130003', + rule_id: 'my-rule-id', + exception_lists: [ + { + id: 'myListId', + list_id: 'my-list-id', + namespace_type: 'single', + type: 'detection', + }, + ], + }, + ], + }, + }, + ], + }; + + const decoded = rulesReferencedByExceptionListsSchema.decode(payload); + const checked = exactCheck(payload, decoded); + const output = foldLeftRight(checked); + expect(formatErrors(output.errors)).toEqual([]); + expect(output.schema).toEqual(payload); + }); + + test('validates "references" with empty array', () => { + const payload: RulesReferencedByExceptionListsSchema = { + references: [], + }; + + const decoded = rulesReferencedByExceptionListsSchema.decode(payload); + const checked = exactCheck(payload, decoded); + const output = foldLeftRight(checked); + expect(formatErrors(output.errors)).toEqual([]); + expect(output.schema).toEqual({ + references: [], + }); + }); + + test('cannot add extra values', () => { + const payload: RulesReferencedByExceptionListsSchema & { extra_value?: string } = { + extra_value: 'foo', + references: [ + { + 'my-list-id': { + ...getExceptionListSchemaMock(), + referenced_rules: [ + { + name: 'My rule', + id: '4656dc92-5832-11ea-8e2d-0242ac130003', + rule_id: 'my-rule-id', + exception_lists: [ + { + id: 'myListId', + list_id: 'my-list-id', + namespace_type: 'single', + type: 'detection', + }, + ], + }, + ], + }, + }, + ], + }; + + const decoded = rulesReferencedByExceptionListsSchema.decode(payload); + const checked = exactCheck(payload, decoded); + const output = foldLeftRight(checked); + expect(formatErrors(output.errors)).toEqual(['invalid keys "extra_value"']); + expect(output.schema).toEqual({}); + }); + }); + }); +}); diff --git a/x-pack/plugins/security_solution/common/detection_engine/rule_exceptions/api/find_exception_references/response_schema.ts b/x-pack/plugins/security_solution/common/api/detection_engine/rule_exceptions/find_exception_references/find_exception_references_route.ts similarity index 60% rename from x-pack/plugins/security_solution/common/detection_engine/rule_exceptions/api/find_exception_references/response_schema.ts rename to x-pack/plugins/security_solution/common/api/detection_engine/rule_exceptions/find_exception_references/find_exception_references_route.ts index 32589e2d165ea..e495ab9647725 100644 --- a/x-pack/plugins/security_solution/common/detection_engine/rule_exceptions/api/find_exception_references/response_schema.ts +++ b/x-pack/plugins/security_solution/common/api/detection_engine/rule_exceptions/find_exception_references/find_exception_references_route.ts @@ -6,8 +6,38 @@ */ import * as t from 'io-ts'; -import { exceptionListSchema, listArray, list_id } from '@kbn/securitysolution-io-ts-list-types'; -import { RuleName, RuleObjectId, RuleSignatureId } from '../../../rule_schema'; +import { + exceptionListSchema, + listArray, + list_id, + DefaultNamespaceArray, +} from '@kbn/securitysolution-io-ts-list-types'; +import { NonEmptyStringArray } from '@kbn/securitysolution-io-ts-types'; +import { RuleName, RuleObjectId, RuleSignatureId } from '../../model'; + +// If ids and list_ids are undefined, route will fetch all lists matching the +// specified namespace type +export const findExceptionReferencesOnRuleSchema = t.intersection([ + t.exact( + t.type({ + namespace_types: DefaultNamespaceArray, + }) + ), + t.exact( + t.partial({ + ids: NonEmptyStringArray, + list_ids: NonEmptyStringArray, + }) + ), +]); + +export type FindExceptionReferencesOnRuleSchema = t.OutputOf< + typeof findExceptionReferencesOnRuleSchema +>; + +export type FindExceptionReferencesOnRuleSchemaDecoded = t.TypeOf< + typeof findExceptionReferencesOnRuleSchema +>; export const ruleReferenceRuleInfoSchema = t.exact( t.type({ diff --git a/x-pack/plugins/security_solution/common/api/detection_engine/rule_exceptions/index.ts b/x-pack/plugins/security_solution/common/api/detection_engine/rule_exceptions/index.ts new file mode 100644 index 0000000000000..0b5ccc3b3a648 --- /dev/null +++ b/x-pack/plugins/security_solution/common/api/detection_engine/rule_exceptions/index.ts @@ -0,0 +1,10 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +export * from './create_rule_exceptions/create_rule_exceptions_route'; +export * from './find_exception_references/find_exception_references_route'; +export * from './urls'; diff --git a/x-pack/plugins/security_solution/common/detection_engine/rule_exceptions/api/urls.ts b/x-pack/plugins/security_solution/common/api/detection_engine/rule_exceptions/urls.ts similarity index 100% rename from x-pack/plugins/security_solution/common/detection_engine/rule_exceptions/api/urls.ts rename to x-pack/plugins/security_solution/common/api/detection_engine/rule_exceptions/urls.ts diff --git a/x-pack/plugins/security_solution/common/detection_engine/rule_management/api/rules/bulk_actions/request_schema.mock.ts b/x-pack/plugins/security_solution/common/api/detection_engine/rule_management/bulk_actions/bulk_actions_route.mock.ts similarity index 81% rename from x-pack/plugins/security_solution/common/detection_engine/rule_management/api/rules/bulk_actions/request_schema.mock.ts rename to x-pack/plugins/security_solution/common/api/detection_engine/rule_management/bulk_actions/bulk_actions_route.mock.ts index fd210ad99680f..66ce78ff9b615 100644 --- a/x-pack/plugins/security_solution/common/detection_engine/rule_management/api/rules/bulk_actions/request_schema.mock.ts +++ b/x-pack/plugins/security_solution/common/api/detection_engine/rule_management/bulk_actions/bulk_actions_route.mock.ts @@ -5,8 +5,8 @@ * 2.0. */ -import { BulkActionType, BulkActionEditType } from './request_schema'; -import type { PerformBulkActionRequestBody } from './request_schema'; +import { BulkActionType, BulkActionEditType } from './bulk_actions_route'; +import type { PerformBulkActionRequestBody } from './bulk_actions_route'; export const getPerformBulkActionSchemaMock = (): PerformBulkActionRequestBody => ({ query: '', diff --git a/x-pack/plugins/security_solution/common/detection_engine/rule_management/api/rules/bulk_actions/request_schema.test.ts b/x-pack/plugins/security_solution/common/api/detection_engine/rule_management/bulk_actions/bulk_actions_route.test.ts similarity index 99% rename from x-pack/plugins/security_solution/common/detection_engine/rule_management/api/rules/bulk_actions/request_schema.test.ts rename to x-pack/plugins/security_solution/common/api/detection_engine/rule_management/bulk_actions/bulk_actions_route.test.ts index 712312c50140d..70ae548674332 100644 --- a/x-pack/plugins/security_solution/common/detection_engine/rule_management/api/rules/bulk_actions/request_schema.test.ts +++ b/x-pack/plugins/security_solution/common/api/detection_engine/rule_management/bulk_actions/bulk_actions_route.test.ts @@ -7,7 +7,11 @@ import { left } from 'fp-ts/lib/Either'; import { exactCheck, foldLeftRight, getPaths } from '@kbn/securitysolution-io-ts-utils'; -import { PerformBulkActionRequestBody, BulkActionType, BulkActionEditType } from './request_schema'; +import { + PerformBulkActionRequestBody, + BulkActionType, + BulkActionEditType, +} from './bulk_actions_route'; const retrieveValidationMessage = (payload: unknown) => { const decoded = PerformBulkActionRequestBody.decode(payload); diff --git a/x-pack/plugins/security_solution/common/detection_engine/rule_management/api/rules/bulk_actions/request_schema.ts b/x-pack/plugins/security_solution/common/api/detection_engine/rule_management/bulk_actions/bulk_actions_route.ts similarity index 83% rename from x-pack/plugins/security_solution/common/detection_engine/rule_management/api/rules/bulk_actions/request_schema.ts rename to x-pack/plugins/security_solution/common/api/detection_engine/rule_management/bulk_actions/bulk_actions_route.ts index 118c886e94042..c87b9e9a088ba 100644 --- a/x-pack/plugins/security_solution/common/detection_engine/rule_management/api/rules/bulk_actions/request_schema.ts +++ b/x-pack/plugins/security_solution/common/api/detection_engine/rule_management/bulk_actions/bulk_actions_route.ts @@ -16,13 +16,17 @@ import { RuleActionParams, } from '@kbn/securitysolution-io-ts-alerting-types'; +import type { BulkActionSkipResult } from '@kbn/alerting-plugin/common'; +import type { RuleResponse } from '../../model'; +import type { BulkActionsDryRunErrCode } from '../../../../constants'; + import { IndexPatternArray, RuleQuery, RuleTagArray, TimelineTemplateId, TimelineTemplateTitle, -} from '../../../../rule_schema'; +} from '../../model'; export enum BulkActionType { 'enable' = 'enable', @@ -218,3 +222,46 @@ export const PerformBulkActionRequestQuery = t.exact( dry_run: t.union([t.literal('true'), t.literal('false')]), }) ); + +export interface RuleDetailsInError { + id: string; + name?: string; +} +export interface NormalizedRuleError { + message: string; + status_code: number; + err_code?: BulkActionsDryRunErrCode; + rules: RuleDetailsInError[]; +} +export interface BulkEditActionResults { + updated: RuleResponse[]; + created: RuleResponse[]; + deleted: RuleResponse[]; + skipped: BulkActionSkipResult[]; +} + +export interface BulkEditActionSummary { + failed: number; + skipped: number; + succeeded: number; + total: number; +} +export interface BulkEditActionSuccessResponse { + success: boolean; + rules_count: number; + attributes: { + results: BulkEditActionResults; + summary: BulkEditActionSummary; + }; +} +export interface BulkEditActionErrorResponse { + status_code: number; + message: string; + attributes: { + results: BulkEditActionResults; + summary: BulkEditActionSummary; + errors?: NormalizedRuleError[]; + }; +} + +export type BulkEditActionResponse = BulkEditActionSuccessResponse | BulkEditActionErrorResponse; diff --git a/x-pack/plugins/security_solution/common/detection_engine/rule_management/api/rules/bulk_crud/bulk_create_rules/request_schema.test.ts b/x-pack/plugins/security_solution/common/api/detection_engine/rule_management/bulk_crud/bulk_create_rules/bulk_create_rules_route.test.ts similarity index 98% rename from x-pack/plugins/security_solution/common/detection_engine/rule_management/api/rules/bulk_crud/bulk_create_rules/request_schema.test.ts rename to x-pack/plugins/security_solution/common/api/detection_engine/rule_management/bulk_crud/bulk_create_rules/bulk_create_rules_route.test.ts index d2c297d401edb..bf06b41aef39b 100644 --- a/x-pack/plugins/security_solution/common/detection_engine/rule_management/api/rules/bulk_crud/bulk_create_rules/request_schema.test.ts +++ b/x-pack/plugins/security_solution/common/api/detection_engine/rule_management/bulk_crud/bulk_create_rules/bulk_create_rules_route.test.ts @@ -5,9 +5,9 @@ * 2.0. */ -import { BulkCreateRulesRequestBody } from './request_schema'; +import { BulkCreateRulesRequestBody } from './bulk_create_rules_route'; import { exactCheck, foldLeftRight, formatErrors } from '@kbn/securitysolution-io-ts-utils'; -import { getCreateRulesSchemaMock } from '../../../../../rule_schema/mocks'; +import { getCreateRulesSchemaMock } from '../../../model/rule_schema/mocks'; // only the basics of testing are here. // see: rule_schemas.test.ts for the bulk of the validation tests diff --git a/x-pack/plugins/security_solution/common/detection_engine/rule_management/api/rules/bulk_crud/bulk_create_rules/request_schema.ts b/x-pack/plugins/security_solution/common/api/detection_engine/rule_management/bulk_crud/bulk_create_rules/bulk_create_rules_route.ts similarity index 88% rename from x-pack/plugins/security_solution/common/detection_engine/rule_management/api/rules/bulk_crud/bulk_create_rules/request_schema.ts rename to x-pack/plugins/security_solution/common/api/detection_engine/rule_management/bulk_crud/bulk_create_rules/bulk_create_rules_route.ts index 846da78b4cbba..18f16cfdd3ce2 100644 --- a/x-pack/plugins/security_solution/common/detection_engine/rule_management/api/rules/bulk_crud/bulk_create_rules/request_schema.ts +++ b/x-pack/plugins/security_solution/common/api/detection_engine/rule_management/bulk_crud/bulk_create_rules/bulk_create_rules_route.ts @@ -6,7 +6,7 @@ */ import * as t from 'io-ts'; -import { RuleCreateProps } from '../../../../../rule_schema'; +import { RuleCreateProps } from '../../../model'; /** * Request body parameters of the API route. diff --git a/x-pack/plugins/security_solution/common/detection_engine/rule_management/api/rules/bulk_crud/bulk_delete_rules/request_schema.test.ts b/x-pack/plugins/security_solution/common/api/detection_engine/rule_management/bulk_crud/bulk_delete_rules/bulk_delete_rules_route.test.ts similarity index 98% rename from x-pack/plugins/security_solution/common/detection_engine/rule_management/api/rules/bulk_crud/bulk_delete_rules/request_schema.test.ts rename to x-pack/plugins/security_solution/common/api/detection_engine/rule_management/bulk_crud/bulk_delete_rules/bulk_delete_rules_route.test.ts index 6a709db317109..cdb4085eea1eb 100644 --- a/x-pack/plugins/security_solution/common/detection_engine/rule_management/api/rules/bulk_crud/bulk_delete_rules/request_schema.test.ts +++ b/x-pack/plugins/security_solution/common/api/detection_engine/rule_management/bulk_crud/bulk_delete_rules/bulk_delete_rules_route.test.ts @@ -6,7 +6,7 @@ */ import { exactCheck, formatErrors, foldLeftRight } from '@kbn/securitysolution-io-ts-utils'; -import { BulkDeleteRulesRequestBody } from './request_schema'; +import { BulkDeleteRulesRequestBody } from './bulk_delete_rules_route'; // only the basics of testing are here. // see: query_rules_schema.test.ts for the bulk of the validation tests diff --git a/x-pack/plugins/security_solution/common/detection_engine/rule_management/api/rules/bulk_crud/bulk_delete_rules/request_schema.ts b/x-pack/plugins/security_solution/common/api/detection_engine/rule_management/bulk_crud/bulk_delete_rules/bulk_delete_rules_route.ts similarity index 87% rename from x-pack/plugins/security_solution/common/detection_engine/rule_management/api/rules/bulk_crud/bulk_delete_rules/request_schema.ts rename to x-pack/plugins/security_solution/common/api/detection_engine/rule_management/bulk_crud/bulk_delete_rules/bulk_delete_rules_route.ts index e290b57b4c404..0da4acf82f546 100644 --- a/x-pack/plugins/security_solution/common/detection_engine/rule_management/api/rules/bulk_crud/bulk_delete_rules/request_schema.ts +++ b/x-pack/plugins/security_solution/common/api/detection_engine/rule_management/bulk_crud/bulk_delete_rules/bulk_delete_rules_route.ts @@ -6,7 +6,7 @@ */ import * as t from 'io-ts'; -import { QueryRuleByIds } from '../../crud/read_rule/query_rule_by_ids'; +import { QueryRuleByIds } from '../../model/query_rule_by_ids'; /** * Request body parameters of the API route. diff --git a/x-pack/plugins/security_solution/common/detection_engine/rule_management/api/rules/bulk_crud/bulk_patch_rules/request_schema.test.ts b/x-pack/plugins/security_solution/common/api/detection_engine/rule_management/bulk_crud/bulk_patch_rules/bulk_patch_rules_route.test.ts similarity index 97% rename from x-pack/plugins/security_solution/common/detection_engine/rule_management/api/rules/bulk_crud/bulk_patch_rules/request_schema.test.ts rename to x-pack/plugins/security_solution/common/api/detection_engine/rule_management/bulk_crud/bulk_patch_rules/bulk_patch_rules_route.test.ts index 3d466d7d23894..9e1351c7f25f0 100644 --- a/x-pack/plugins/security_solution/common/detection_engine/rule_management/api/rules/bulk_crud/bulk_patch_rules/request_schema.test.ts +++ b/x-pack/plugins/security_solution/common/api/detection_engine/rule_management/bulk_crud/bulk_patch_rules/bulk_patch_rules_route.test.ts @@ -6,8 +6,8 @@ */ import { exactCheck, formatErrors, foldLeftRight } from '@kbn/securitysolution-io-ts-utils'; -import type { PatchRuleRequestBody } from '../../crud/patch_rule/request_schema'; -import { BulkPatchRulesRequestBody } from './request_schema'; +import type { PatchRuleRequestBody } from '../../crud/patch_rule/patch_rule_route'; +import { BulkPatchRulesRequestBody } from './bulk_patch_rules_route'; // only the basics of testing are here. // see: patch_rules_schema.test.ts for the bulk of the validation tests diff --git a/x-pack/plugins/security_solution/common/detection_engine/rule_management/api/rules/bulk_crud/bulk_patch_rules/request_schema.ts b/x-pack/plugins/security_solution/common/api/detection_engine/rule_management/bulk_crud/bulk_patch_rules/bulk_patch_rules_route.ts similarity index 86% rename from x-pack/plugins/security_solution/common/detection_engine/rule_management/api/rules/bulk_crud/bulk_patch_rules/request_schema.ts rename to x-pack/plugins/security_solution/common/api/detection_engine/rule_management/bulk_crud/bulk_patch_rules/bulk_patch_rules_route.ts index 2dcd0c2a22d4b..ee8e4be710084 100644 --- a/x-pack/plugins/security_solution/common/detection_engine/rule_management/api/rules/bulk_crud/bulk_patch_rules/request_schema.ts +++ b/x-pack/plugins/security_solution/common/api/detection_engine/rule_management/bulk_crud/bulk_patch_rules/bulk_patch_rules_route.ts @@ -6,7 +6,7 @@ */ import * as t from 'io-ts'; -import { PatchRuleRequestBody } from '../../crud/patch_rule/request_schema'; +import { PatchRuleRequestBody } from '../../crud/patch_rule/patch_rule_route'; /** * Request body parameters of the API route. diff --git a/x-pack/plugins/security_solution/common/detection_engine/rule_management/api/rules/bulk_crud/bulk_update_rules/request_schema.test.ts b/x-pack/plugins/security_solution/common/api/detection_engine/rule_management/bulk_crud/bulk_update_rules/bulk_update_rules_route.test.ts similarity index 98% rename from x-pack/plugins/security_solution/common/detection_engine/rule_management/api/rules/bulk_crud/bulk_update_rules/request_schema.test.ts rename to x-pack/plugins/security_solution/common/api/detection_engine/rule_management/bulk_crud/bulk_update_rules/bulk_update_rules_route.test.ts index f2b3437273d01..46dbbd22b7aaa 100644 --- a/x-pack/plugins/security_solution/common/detection_engine/rule_management/api/rules/bulk_crud/bulk_update_rules/request_schema.test.ts +++ b/x-pack/plugins/security_solution/common/api/detection_engine/rule_management/bulk_crud/bulk_update_rules/bulk_update_rules_route.test.ts @@ -6,9 +6,9 @@ */ import { exactCheck, formatErrors, foldLeftRight } from '@kbn/securitysolution-io-ts-utils'; -import type { RuleUpdateProps } from '../../../../../rule_schema'; -import { getUpdateRulesSchemaMock } from '../../../../../rule_schema/mocks'; -import { BulkUpdateRulesRequestBody } from './request_schema'; +import type { RuleUpdateProps } from '../../../model'; +import { getUpdateRulesSchemaMock } from '../../../model/rule_schema/mocks'; +import { BulkUpdateRulesRequestBody } from './bulk_update_rules_route'; // only the basics of testing are here. // see: update_rules_schema.test.ts for the bulk of the validation tests diff --git a/x-pack/plugins/security_solution/common/detection_engine/rule_management/api/rules/bulk_crud/bulk_update_rules/request_schema.ts b/x-pack/plugins/security_solution/common/api/detection_engine/rule_management/bulk_crud/bulk_update_rules/bulk_update_rules_route.ts similarity index 88% rename from x-pack/plugins/security_solution/common/detection_engine/rule_management/api/rules/bulk_crud/bulk_update_rules/request_schema.ts rename to x-pack/plugins/security_solution/common/api/detection_engine/rule_management/bulk_crud/bulk_update_rules/bulk_update_rules_route.ts index 5409e7b2bda43..649898adc9e37 100644 --- a/x-pack/plugins/security_solution/common/detection_engine/rule_management/api/rules/bulk_crud/bulk_update_rules/request_schema.ts +++ b/x-pack/plugins/security_solution/common/api/detection_engine/rule_management/bulk_crud/bulk_update_rules/bulk_update_rules_route.ts @@ -6,7 +6,7 @@ */ import * as t from 'io-ts'; -import { RuleUpdateProps } from '../../../../../rule_schema'; +import { RuleUpdateProps } from '../../../model'; /** * Request body parameters of the API route. diff --git a/x-pack/plugins/security_solution/common/detection_engine/rule_management/api/rules/bulk_crud/response_schema.test.ts b/x-pack/plugins/security_solution/common/api/detection_engine/rule_management/bulk_crud/response_schema.test.ts similarity index 95% rename from x-pack/plugins/security_solution/common/detection_engine/rule_management/api/rules/bulk_crud/response_schema.test.ts rename to x-pack/plugins/security_solution/common/api/detection_engine/rule_management/bulk_crud/response_schema.test.ts index 044af119f99ec..a149d73d333d4 100644 --- a/x-pack/plugins/security_solution/common/detection_engine/rule_management/api/rules/bulk_crud/response_schema.test.ts +++ b/x-pack/plugins/security_solution/common/api/detection_engine/rule_management/bulk_crud/response_schema.test.ts @@ -9,10 +9,9 @@ import { left } from 'fp-ts/lib/Either'; import { pipe } from 'fp-ts/lib/pipeable'; import { exactCheck, foldLeftRight, getPaths } from '@kbn/securitysolution-io-ts-utils'; -import type { RuleResponse } from '../../../../rule_schema'; -import { getRulesSchemaMock } from '../../../../rule_schema/mocks'; -import type { ErrorSchema } from '../../../../schemas/response/error_schema'; -import { getErrorSchemaMock } from '../../../../schemas/response/error_schema.mocks'; +import type { RuleResponse, ErrorSchema } from '../../model'; +import { getRulesSchemaMock } from '../../model/rule_schema/mocks'; +import { getErrorSchemaMock } from '../../model/error_schema.mocks'; import { BulkCrudRulesResponse } from './response_schema'; diff --git a/x-pack/plugins/security_solution/common/detection_engine/rule_management/api/rules/bulk_crud/response_schema.ts b/x-pack/plugins/security_solution/common/api/detection_engine/rule_management/bulk_crud/response_schema.ts similarity index 77% rename from x-pack/plugins/security_solution/common/detection_engine/rule_management/api/rules/bulk_crud/response_schema.ts rename to x-pack/plugins/security_solution/common/api/detection_engine/rule_management/bulk_crud/response_schema.ts index 9a0144e2cf758..b6f9bb359344b 100644 --- a/x-pack/plugins/security_solution/common/detection_engine/rule_management/api/rules/bulk_crud/response_schema.ts +++ b/x-pack/plugins/security_solution/common/api/detection_engine/rule_management/bulk_crud/response_schema.ts @@ -7,8 +7,7 @@ import * as t from 'io-ts'; -import { RuleResponse } from '../../../../rule_schema'; -import { errorSchema } from '../../../../schemas/response/error_schema'; +import { RuleResponse, errorSchema } from '../../model'; export type BulkCrudRulesResponse = t.TypeOf; export const BulkCrudRulesResponse = t.array(t.union([RuleResponse, errorSchema])); diff --git a/x-pack/plugins/security_solution/common/detection_engine/rule_management/api/rules/coverage_overview/request_schema.ts b/x-pack/plugins/security_solution/common/api/detection_engine/rule_management/coverage_overview/coverage_overview_route.ts similarity index 76% rename from x-pack/plugins/security_solution/common/detection_engine/rule_management/api/rules/coverage_overview/request_schema.ts rename to x-pack/plugins/security_solution/common/api/detection_engine/rule_management/coverage_overview/coverage_overview_route.ts index 48c3e4679702a..0f85a1fdc609a 100644 --- a/x-pack/plugins/security_solution/common/detection_engine/rule_management/api/rules/coverage_overview/request_schema.ts +++ b/x-pack/plugins/security_solution/common/api/detection_engine/rule_management/coverage_overview/coverage_overview_route.ts @@ -79,3 +79,27 @@ export const CoverageOverviewRequestBody = t.exact( filter: CoverageOverviewFilter, }) ); + +export type CoverageOverviewRuleAttributes = t.TypeOf; +export const CoverageOverviewRuleAttributes = t.type({ + name: t.string, + activity: CoverageOverviewRuleActivitySchema, +}); + +export type CoverageOverviewResponse = t.TypeOf; +export const CoverageOverviewResponse = t.exact( + t.type({ + /** + * Map having (tacticId, techniqueId or subtechniqueId) as the key and an array of rule ids as the value + */ + coverage: t.record(t.string, NonEmptyArray(t.string)), + /** + * Array of unmapped rule ids + */ + unmapped_rule_ids: t.array(t.string), + /** + * Map having ruleId as the key and coverage overview rule data as the value + */ + rules_data: t.record(t.string, CoverageOverviewRuleAttributes), + }) +); diff --git a/x-pack/plugins/security_solution/common/api/detection_engine/rule_management/crud/create_rule/create_rule_route.ts b/x-pack/plugins/security_solution/common/api/detection_engine/rule_management/crud/create_rule/create_rule_route.ts new file mode 100644 index 0000000000000..cc71d7da3fbed --- /dev/null +++ b/x-pack/plugins/security_solution/common/api/detection_engine/rule_management/crud/create_rule/create_rule_route.ts @@ -0,0 +1,12 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import type * as t from 'io-ts'; +import { RuleCreateProps } from '../../../model'; + +export const CreateRuleRequestBody = RuleCreateProps; +export type CreateRuleRequestBody = t.TypeOf; diff --git a/x-pack/plugins/security_solution/common/detection_engine/rule_management/api/rules/crud/create_rule/request_schema_validation.test.ts b/x-pack/plugins/security_solution/common/api/detection_engine/rule_management/crud/create_rule/request_schema_validation.test.ts similarity index 96% rename from x-pack/plugins/security_solution/common/detection_engine/rule_management/api/rules/crud/create_rule/request_schema_validation.test.ts rename to x-pack/plugins/security_solution/common/api/detection_engine/rule_management/crud/create_rule/request_schema_validation.test.ts index 39ed8b028f054..733645dcb3aa9 100644 --- a/x-pack/plugins/security_solution/common/detection_engine/rule_management/api/rules/crud/create_rule/request_schema_validation.test.ts +++ b/x-pack/plugins/security_solution/common/api/detection_engine/rule_management/crud/create_rule/request_schema_validation.test.ts @@ -5,11 +5,11 @@ * 2.0. */ -import type { RuleCreateProps } from '../../../../../rule_schema'; +import type { RuleCreateProps } from '../../../model/rule_schema'; import { getCreateRulesSchemaMock, getCreateThreatMatchRulesSchemaMock, -} from '../../../../../rule_schema/mocks'; +} from '../../../model/rule_schema/mocks'; import { validateCreateRuleProps } from './request_schema_validation'; describe('Create rule request schema, additional validation', () => { diff --git a/x-pack/plugins/security_solution/common/detection_engine/rule_management/api/rules/crud/create_rule/request_schema_validation.ts b/x-pack/plugins/security_solution/common/api/detection_engine/rule_management/crud/create_rule/request_schema_validation.ts similarity index 97% rename from x-pack/plugins/security_solution/common/detection_engine/rule_management/api/rules/crud/create_rule/request_schema_validation.ts rename to x-pack/plugins/security_solution/common/api/detection_engine/rule_management/crud/create_rule/request_schema_validation.ts index fd2e4b06b63d6..519ef874c422e 100644 --- a/x-pack/plugins/security_solution/common/detection_engine/rule_management/api/rules/crud/create_rule/request_schema_validation.ts +++ b/x-pack/plugins/security_solution/common/api/detection_engine/rule_management/crud/create_rule/request_schema_validation.ts @@ -5,7 +5,7 @@ * 2.0. */ -import type { RuleCreateProps } from '../../../../../rule_schema'; +import type { RuleCreateProps } from '../../../model'; /** * Additional validation that is implemented outside of the schema itself. diff --git a/x-pack/plugins/security_solution/common/detection_engine/rule_management/api/rules/crud/patch_rule/request_schema.mock.ts b/x-pack/plugins/security_solution/common/api/detection_engine/rule_management/crud/patch_rule/patch_rule_route.mock.ts similarity index 96% rename from x-pack/plugins/security_solution/common/detection_engine/rule_management/api/rules/crud/patch_rule/request_schema.mock.ts rename to x-pack/plugins/security_solution/common/api/detection_engine/rule_management/crud/patch_rule/patch_rule_route.mock.ts index 285e773456d98..4346c05333038 100644 --- a/x-pack/plugins/security_solution/common/detection_engine/rule_management/api/rules/crud/patch_rule/request_schema.mock.ts +++ b/x-pack/plugins/security_solution/common/api/detection_engine/rule_management/crud/patch_rule/patch_rule_route.mock.ts @@ -5,7 +5,7 @@ * 2.0. */ -import type { PatchRuleRequestBody, ThresholdPatchRuleRequestBody } from './request_schema'; +import type { PatchRuleRequestBody, ThresholdPatchRuleRequestBody } from './patch_rule_route'; export const getPatchRulesSchemaMock = (): PatchRuleRequestBody => ({ description: 'some description', diff --git a/x-pack/plugins/security_solution/common/detection_engine/rule_management/api/rules/crud/patch_rule/request_schema.test.ts b/x-pack/plugins/security_solution/common/api/detection_engine/rule_management/crud/patch_rule/patch_rule_route.test.ts similarity index 99% rename from x-pack/plugins/security_solution/common/detection_engine/rule_management/api/rules/crud/patch_rule/request_schema.test.ts rename to x-pack/plugins/security_solution/common/api/detection_engine/rule_management/crud/patch_rule/patch_rule_route.test.ts index 36613736e3274..902b5d0c50899 100644 --- a/x-pack/plugins/security_solution/common/detection_engine/rule_management/api/rules/crud/patch_rule/request_schema.test.ts +++ b/x-pack/plugins/security_solution/common/api/detection_engine/rule_management/crud/patch_rule/patch_rule_route.test.ts @@ -9,9 +9,9 @@ import { left } from 'fp-ts/lib/Either'; import { pipe } from 'fp-ts/lib/pipeable'; import { exactCheck, foldLeftRight, getPaths } from '@kbn/securitysolution-io-ts-utils'; -import { getListArrayMock } from '../../../../../schemas/types/lists.mock'; -import { PatchRuleRequestBody } from './request_schema'; -import { getPatchRulesSchemaMock } from './request_schema.mock'; +import { getListArrayMock } from '../../../../../detection_engine/schemas/types/lists.mock'; +import { PatchRuleRequestBody } from './patch_rule_route'; +import { getPatchRulesSchemaMock } from './patch_rule_route.mock'; describe('Patch rule request schema', () => { test('[id] does validate', () => { diff --git a/x-pack/plugins/security_solution/common/detection_engine/rule_management/api/rules/crud/patch_rule/request_schema.ts b/x-pack/plugins/security_solution/common/api/detection_engine/rule_management/crud/patch_rule/patch_rule_route.ts similarity index 96% rename from x-pack/plugins/security_solution/common/detection_engine/rule_management/api/rules/crud/patch_rule/request_schema.ts rename to x-pack/plugins/security_solution/common/api/detection_engine/rule_management/crud/patch_rule/patch_rule_route.ts index 27a1f14687aa4..e74e406141c26 100644 --- a/x-pack/plugins/security_solution/common/detection_engine/rule_management/api/rules/crud/patch_rule/request_schema.ts +++ b/x-pack/plugins/security_solution/common/api/detection_engine/rule_management/crud/patch_rule/patch_rule_route.ts @@ -5,7 +5,7 @@ * 2.0. */ -import { RulePatchProps, ThresholdRulePatchProps } from '../../../../../rule_schema'; +import { RulePatchProps, ThresholdRulePatchProps } from '../../../model'; /** * Request body parameters of the API route. diff --git a/x-pack/plugins/security_solution/common/detection_engine/rule_management/api/rules/crud/patch_rule/request_schema_validation.test.ts b/x-pack/plugins/security_solution/common/api/detection_engine/rule_management/crud/patch_rule/request_schema_validation.test.ts similarity index 98% rename from x-pack/plugins/security_solution/common/detection_engine/rule_management/api/rules/crud/patch_rule/request_schema_validation.test.ts rename to x-pack/plugins/security_solution/common/api/detection_engine/rule_management/crud/patch_rule/request_schema_validation.test.ts index c00e3c38fb91b..647bdd2c8be94 100644 --- a/x-pack/plugins/security_solution/common/detection_engine/rule_management/api/rules/crud/patch_rule/request_schema_validation.test.ts +++ b/x-pack/plugins/security_solution/common/api/detection_engine/rule_management/crud/patch_rule/request_schema_validation.test.ts @@ -5,8 +5,8 @@ * 2.0. */ -import type { PatchRuleRequestBody, ThresholdPatchRuleRequestBody } from './request_schema'; -import { getPatchRulesSchemaMock, getPatchThresholdRulesSchemaMock } from './request_schema.mock'; +import type { PatchRuleRequestBody, ThresholdPatchRuleRequestBody } from './patch_rule_route'; +import { getPatchRulesSchemaMock, getPatchThresholdRulesSchemaMock } from './patch_rule_route.mock'; import { validatePatchRuleRequestBody } from './request_schema_validation'; describe('Patch rule request schema, additional validation', () => { diff --git a/x-pack/plugins/security_solution/common/detection_engine/rule_management/api/rules/crud/patch_rule/request_schema_validation.ts b/x-pack/plugins/security_solution/common/api/detection_engine/rule_management/crud/patch_rule/request_schema_validation.ts similarity index 97% rename from x-pack/plugins/security_solution/common/detection_engine/rule_management/api/rules/crud/patch_rule/request_schema_validation.ts rename to x-pack/plugins/security_solution/common/api/detection_engine/rule_management/crud/patch_rule/request_schema_validation.ts index 72d10bf5e58de..f27237b563b21 100644 --- a/x-pack/plugins/security_solution/common/detection_engine/rule_management/api/rules/crud/patch_rule/request_schema_validation.ts +++ b/x-pack/plugins/security_solution/common/api/detection_engine/rule_management/crud/patch_rule/request_schema_validation.ts @@ -5,7 +5,7 @@ * 2.0. */ -import type { PatchRuleRequestBody } from './request_schema'; +import type { PatchRuleRequestBody } from './patch_rule_route'; /** * Additional validation that is implemented outside of the schema itself. diff --git a/x-pack/plugins/security_solution/common/detection_engine/rule_exceptions/index.ts b/x-pack/plugins/security_solution/common/api/detection_engine/rule_management/crud/read_rule/read_rule_route.ts similarity index 53% rename from x-pack/plugins/security_solution/common/detection_engine/rule_exceptions/index.ts rename to x-pack/plugins/security_solution/common/api/detection_engine/rule_management/crud/read_rule/read_rule_route.ts index d4b2fa83a4c58..e133c754ac327 100644 --- a/x-pack/plugins/security_solution/common/detection_engine/rule_exceptions/index.ts +++ b/x-pack/plugins/security_solution/common/api/detection_engine/rule_management/crud/read_rule/read_rule_route.ts @@ -5,7 +5,8 @@ * 2.0. */ -export * from './api/create_rule_exceptions/request_schema'; -export * from './api/find_exception_references/request_schema'; -export * from './api/find_exception_references/response_schema'; -export * from './api/urls'; +import type * as t from 'io-ts'; +import { QueryRuleByIds } from '../../model/query_rule_by_ids'; + +export const ReadRuleRequestQuery = QueryRuleByIds; +export type ReadRuleRequestQuery = t.TypeOf; diff --git a/x-pack/plugins/security_solution/common/detection_engine/rule_management/api/rules/crud/update_rule/request_schema_validation.test.ts b/x-pack/plugins/security_solution/common/api/detection_engine/rule_management/crud/update_rule/request_schema_validation.test.ts similarity index 95% rename from x-pack/plugins/security_solution/common/detection_engine/rule_management/api/rules/crud/update_rule/request_schema_validation.test.ts rename to x-pack/plugins/security_solution/common/api/detection_engine/rule_management/crud/update_rule/request_schema_validation.test.ts index f6a8d0bb39340..6bec7b1de3aba 100644 --- a/x-pack/plugins/security_solution/common/detection_engine/rule_management/api/rules/crud/update_rule/request_schema_validation.test.ts +++ b/x-pack/plugins/security_solution/common/api/detection_engine/rule_management/crud/update_rule/request_schema_validation.test.ts @@ -5,8 +5,8 @@ * 2.0. */ -import type { RuleUpdateProps } from '../../../../../rule_schema'; -import { getUpdateRulesSchemaMock } from '../../../../../rule_schema/mocks'; +import type { RuleUpdateProps } from '../../../model/rule_schema'; +import { getUpdateRulesSchemaMock } from '../../../model/rule_schema/mocks'; import { validateUpdateRuleProps } from './request_schema_validation'; describe('Update rule request schema, additional validation', () => { diff --git a/x-pack/plugins/security_solution/common/detection_engine/rule_management/api/rules/crud/update_rule/request_schema_validation.ts b/x-pack/plugins/security_solution/common/api/detection_engine/rule_management/crud/update_rule/request_schema_validation.ts similarity index 97% rename from x-pack/plugins/security_solution/common/detection_engine/rule_management/api/rules/crud/update_rule/request_schema_validation.ts rename to x-pack/plugins/security_solution/common/api/detection_engine/rule_management/crud/update_rule/request_schema_validation.ts index 09d1e1e7b0a99..d58bbdc4bee05 100644 --- a/x-pack/plugins/security_solution/common/detection_engine/rule_management/api/rules/crud/update_rule/request_schema_validation.ts +++ b/x-pack/plugins/security_solution/common/api/detection_engine/rule_management/crud/update_rule/request_schema_validation.ts @@ -5,7 +5,7 @@ * 2.0. */ -import type { RuleUpdateProps } from '../../../../../rule_schema'; +import type { RuleUpdateProps } from '../../../model'; /** * Additional validation that is implemented outside of the schema itself. diff --git a/x-pack/plugins/security_solution/common/api/detection_engine/rule_management/crud/update_rule/update_rule_route.ts b/x-pack/plugins/security_solution/common/api/detection_engine/rule_management/crud/update_rule/update_rule_route.ts new file mode 100644 index 0000000000000..528dfd1d6f648 --- /dev/null +++ b/x-pack/plugins/security_solution/common/api/detection_engine/rule_management/crud/update_rule/update_rule_route.ts @@ -0,0 +1,12 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import type * as t from 'io-ts'; +import { RuleUpdateProps } from '../../../model'; + +export const UpdateRuleRequestBody = RuleUpdateProps; +export type UpdateRuleRequestBody = t.TypeOf; diff --git a/x-pack/plugins/security_solution/common/detection_engine/rule_management/model/export/export_rules_details_schema.mock.ts b/x-pack/plugins/security_solution/common/api/detection_engine/rule_management/export_rules/export_rules_details_schema.mock.ts similarity index 100% rename from x-pack/plugins/security_solution/common/detection_engine/rule_management/model/export/export_rules_details_schema.mock.ts rename to x-pack/plugins/security_solution/common/api/detection_engine/rule_management/export_rules/export_rules_details_schema.mock.ts diff --git a/x-pack/plugins/security_solution/common/detection_engine/rule_management/model/export/export_rules_details_schema.test.ts b/x-pack/plugins/security_solution/common/api/detection_engine/rule_management/export_rules/export_rules_details_schema.test.ts similarity index 100% rename from x-pack/plugins/security_solution/common/detection_engine/rule_management/model/export/export_rules_details_schema.test.ts rename to x-pack/plugins/security_solution/common/api/detection_engine/rule_management/export_rules/export_rules_details_schema.test.ts diff --git a/x-pack/plugins/security_solution/common/detection_engine/rule_management/model/export/export_rules_details_schema.ts b/x-pack/plugins/security_solution/common/api/detection_engine/rule_management/export_rules/export_rules_details_schema.ts similarity index 100% rename from x-pack/plugins/security_solution/common/detection_engine/rule_management/model/export/export_rules_details_schema.ts rename to x-pack/plugins/security_solution/common/api/detection_engine/rule_management/export_rules/export_rules_details_schema.ts diff --git a/x-pack/plugins/security_solution/common/detection_engine/rule_management/api/rules/export_rules/request_schema.test.ts b/x-pack/plugins/security_solution/common/api/detection_engine/rule_management/export_rules/export_rules_route.test.ts similarity index 98% rename from x-pack/plugins/security_solution/common/detection_engine/rule_management/api/rules/export_rules/request_schema.test.ts rename to x-pack/plugins/security_solution/common/api/detection_engine/rule_management/export_rules/export_rules_route.test.ts index 0e0ec3cbaca3b..1edb1cfa499f0 100644 --- a/x-pack/plugins/security_solution/common/detection_engine/rule_management/api/rules/export_rules/request_schema.test.ts +++ b/x-pack/plugins/security_solution/common/api/detection_engine/rule_management/export_rules/export_rules_route.test.ts @@ -9,8 +9,8 @@ import { left } from 'fp-ts/lib/Either'; import { pipe } from 'fp-ts/lib/pipeable'; import { exactCheck, foldLeftRight, getPaths } from '@kbn/securitysolution-io-ts-utils'; -import { ExportRulesRequestBody, ExportRulesRequestQuery } from './request_schema'; -import type { ExportRulesRequestQueryDecoded } from './request_schema'; +import { ExportRulesRequestBody, ExportRulesRequestQuery } from './export_rules_route'; +import type { ExportRulesRequestQueryDecoded } from './export_rules_route'; describe('Export rules request schema', () => { describe('ExportRulesRequestBody', () => { diff --git a/x-pack/plugins/security_solution/common/detection_engine/rule_management/api/rules/export_rules/request_schema.ts b/x-pack/plugins/security_solution/common/api/detection_engine/rule_management/export_rules/export_rules_route.ts similarity index 89% rename from x-pack/plugins/security_solution/common/detection_engine/rule_management/api/rules/export_rules/request_schema.ts rename to x-pack/plugins/security_solution/common/api/detection_engine/rule_management/export_rules/export_rules_route.ts index 682e69e55d5a4..00042f6ed554c 100644 --- a/x-pack/plugins/security_solution/common/detection_engine/rule_management/api/rules/export_rules/request_schema.ts +++ b/x-pack/plugins/security_solution/common/api/detection_engine/rule_management/export_rules/export_rules_route.ts @@ -9,8 +9,8 @@ import * as t from 'io-ts'; import { DefaultExportFileName } from '@kbn/securitysolution-io-ts-alerting-types'; import { DefaultStringBooleanFalse } from '@kbn/securitysolution-io-ts-types'; -import type { FileName, ExcludeExportDetails } from '../../../../schemas/common/schemas'; -import { RuleSignatureId } from '../../../../rule_schema'; +import type { FileName, ExcludeExportDetails } from '../../model'; +import { RuleSignatureId } from '../../model'; const ObjectsWithRuleId = t.array(t.exact(t.type({ rule_id: RuleSignatureId }))); diff --git a/x-pack/plugins/security_solution/common/detection_engine/rule_management/api/rules/find_rules/request_schema.test.ts b/x-pack/plugins/security_solution/common/api/detection_engine/rule_management/find_rules/request_schema.test.ts similarity index 100% rename from x-pack/plugins/security_solution/common/detection_engine/rule_management/api/rules/find_rules/request_schema.test.ts rename to x-pack/plugins/security_solution/common/api/detection_engine/rule_management/find_rules/request_schema.test.ts diff --git a/x-pack/plugins/security_solution/common/detection_engine/rule_management/api/rules/find_rules/request_schema.ts b/x-pack/plugins/security_solution/common/api/detection_engine/rule_management/find_rules/request_schema.ts similarity index 88% rename from x-pack/plugins/security_solution/common/detection_engine/rule_management/api/rules/find_rules/request_schema.ts rename to x-pack/plugins/security_solution/common/api/detection_engine/rule_management/find_rules/request_schema.ts index 08d05a54a5753..f97002f92d562 100644 --- a/x-pack/plugins/security_solution/common/detection_engine/rule_management/api/rules/find_rules/request_schema.ts +++ b/x-pack/plugins/security_solution/common/api/detection_engine/rule_management/find_rules/request_schema.ts @@ -7,8 +7,8 @@ import * as t from 'io-ts'; import { DefaultPerPage, DefaultPage } from '@kbn/securitysolution-io-ts-alerting-types'; -import type { PerPage, Page } from '../../../../schemas/common'; -import { queryFilter, fields, SortOrder } from '../../../../schemas/common'; +import type { PerPage, Page, RuleResponse } from '../../model'; +import { SortOrder, queryFilter, fields } from '../../model'; export type FindRulesSortField = t.TypeOf; export const FindRulesSortField = t.union([ @@ -50,3 +50,10 @@ export type FindRulesRequestQueryDecoded = Omit { test('it should validate an empty response with defaults', () => { - const payload: RuleManagementFiltersResponse = { + const payload: GetRuleManagementFiltersResponse = { rules_summary: { custom_count: 0, prebuilt_installed_count: 0, @@ -21,7 +21,7 @@ describe('Rule management filters response schema', () => { tags: [], }, }; - const decoded = RuleManagementFiltersResponse.decode(payload); + const decoded = GetRuleManagementFiltersResponse.decode(payload); const checked = exactCheck(payload, decoded); const message = foldLeftRight(checked); @@ -30,7 +30,7 @@ describe('Rule management filters response schema', () => { }); test('it should validate an non empty response with defaults', () => { - const payload: RuleManagementFiltersResponse = { + const payload: GetRuleManagementFiltersResponse = { rules_summary: { custom_count: 10, prebuilt_installed_count: 20, @@ -39,7 +39,7 @@ describe('Rule management filters response schema', () => { tags: ['a', 'b', 'c'], }, }; - const decoded = RuleManagementFiltersResponse.decode(payload); + const decoded = GetRuleManagementFiltersResponse.decode(payload); const checked = exactCheck(payload, decoded); const message = foldLeftRight(checked); @@ -48,7 +48,7 @@ describe('Rule management filters response schema', () => { }); test('it should not validate an extra invalid field added', () => { - const payload: RuleManagementFiltersResponse & { invalid_field: string } = { + const payload: GetRuleManagementFiltersResponse & { invalid_field: string } = { rules_summary: { custom_count: 0, prebuilt_installed_count: 0, @@ -58,7 +58,7 @@ describe('Rule management filters response schema', () => { }, invalid_field: 'invalid', }; - const decoded = RuleManagementFiltersResponse.decode(payload); + const decoded = GetRuleManagementFiltersResponse.decode(payload); const checked = exactCheck(payload, decoded); const message = foldLeftRight(checked); @@ -67,7 +67,7 @@ describe('Rule management filters response schema', () => { }); test('it should NOT validate an empty response with a negative "summary.prebuilt_installed_count" number', () => { - const payload: RuleManagementFiltersResponse = { + const payload: GetRuleManagementFiltersResponse = { rules_summary: { custom_count: 0, prebuilt_installed_count: -1, @@ -76,7 +76,7 @@ describe('Rule management filters response schema', () => { tags: [], }, }; - const decoded = RuleManagementFiltersResponse.decode(payload); + const decoded = GetRuleManagementFiltersResponse.decode(payload); const checked = exactCheck(payload, decoded); const message = foldLeftRight(checked); @@ -87,7 +87,7 @@ describe('Rule management filters response schema', () => { }); test('it should NOT validate an empty response with a negative "summary.custom_count"', () => { - const payload: RuleManagementFiltersResponse = { + const payload: GetRuleManagementFiltersResponse = { rules_summary: { custom_count: -1, prebuilt_installed_count: 0, @@ -96,7 +96,7 @@ describe('Rule management filters response schema', () => { tags: [], }, }; - const decoded = RuleManagementFiltersResponse.decode(payload); + const decoded = GetRuleManagementFiltersResponse.decode(payload); const checked = exactCheck(payload, decoded); const message = foldLeftRight(checked); @@ -107,7 +107,7 @@ describe('Rule management filters response schema', () => { }); test('it should NOT validate an empty prepackaged response if "summary.prebuilt_installed_count" is not there', () => { - const payload: RuleManagementFiltersResponse = { + const payload: GetRuleManagementFiltersResponse = { rules_summary: { custom_count: 0, prebuilt_installed_count: 0, @@ -118,7 +118,7 @@ describe('Rule management filters response schema', () => { }; // @ts-expect-error delete payload.rules_summary.prebuilt_installed_count; - const decoded = RuleManagementFiltersResponse.decode(payload); + const decoded = GetRuleManagementFiltersResponse.decode(payload); const checked = exactCheck(payload, decoded); const message = foldLeftRight(checked); @@ -129,7 +129,7 @@ describe('Rule management filters response schema', () => { }); test('it should NOT validate an empty response with wrong "aggregated_fields.tags"', () => { - const payload: RuleManagementFiltersResponse = { + const payload: GetRuleManagementFiltersResponse = { rules_summary: { custom_count: 0, prebuilt_installed_count: 0, @@ -139,7 +139,7 @@ describe('Rule management filters response schema', () => { tags: [1], }, }; - const decoded = RuleManagementFiltersResponse.decode(payload); + const decoded = GetRuleManagementFiltersResponse.decode(payload); const checked = exactCheck(payload, decoded); const message = foldLeftRight(checked); diff --git a/x-pack/plugins/security_solution/common/detection_engine/rule_management/api/rules/filters/response_schema.ts b/x-pack/plugins/security_solution/common/api/detection_engine/rule_management/get_rule_management_filters/get_rule_management_filters_route.ts similarity index 78% rename from x-pack/plugins/security_solution/common/detection_engine/rule_management/api/rules/filters/response_schema.ts rename to x-pack/plugins/security_solution/common/api/detection_engine/rule_management/get_rule_management_filters/get_rule_management_filters_route.ts index 89d12bff729b3..bf786239d703d 100644 --- a/x-pack/plugins/security_solution/common/detection_engine/rule_management/api/rules/filters/response_schema.ts +++ b/x-pack/plugins/security_solution/common/api/detection_engine/rule_management/get_rule_management_filters/get_rule_management_filters_route.ts @@ -8,8 +8,8 @@ import * as t from 'io-ts'; import { PositiveInteger } from '@kbn/securitysolution-io-ts-types'; -export type RuleManagementFiltersResponse = t.TypeOf; -export const RuleManagementFiltersResponse = t.exact( +export type GetRuleManagementFiltersResponse = t.TypeOf; +export const GetRuleManagementFiltersResponse = t.exact( t.type({ rules_summary: t.type({ custom_count: PositiveInteger, diff --git a/x-pack/plugins/security_solution/common/api/detection_engine/rule_management/import_rules/import_rules_route.test.ts b/x-pack/plugins/security_solution/common/api/detection_engine/rule_management/import_rules/import_rules_route.test.ts new file mode 100644 index 0000000000000..64630dca05610 --- /dev/null +++ b/x-pack/plugins/security_solution/common/api/detection_engine/rule_management/import_rules/import_rules_route.test.ts @@ -0,0 +1,502 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import { pipe } from 'fp-ts/lib/pipeable'; +import type { Either } from 'fp-ts/lib/Either'; +import { left } from 'fp-ts/lib/Either'; +import type { Errors } from 'io-ts'; + +import { exactCheck, foldLeftRight, getPaths } from '@kbn/securitysolution-io-ts-utils'; +import type { ErrorSchema } from '../../model/error_schema'; + +import { ImportRulesResponse } from './import_rules_route'; + +describe('Import rules schema', () => { + describe('response schema', () => { + test('it should validate an empty import response with no errors', () => { + const payload: ImportRulesResponse = { + success: true, + success_count: 0, + rules_count: 0, + errors: [], + exceptions_errors: [], + exceptions_success: true, + exceptions_success_count: 0, + action_connectors_success: true, + action_connectors_success_count: 0, + action_connectors_errors: [], + action_connectors_warnings: [], + }; + const decoded = ImportRulesResponse.decode(payload); + const checked = exactCheck(payload, decoded); + const message = pipe(checked, foldLeftRight); + + expect(getPaths(left(message.errors))).toEqual([]); + expect(message.schema).toEqual(payload); + }); + + test('it should validate an empty import response with a single error', () => { + const payload: ImportRulesResponse = { + success: false, + success_count: 0, + rules_count: 0, + errors: [{ error: { status_code: 400, message: 'some message' } }], + exceptions_errors: [], + exceptions_success: true, + exceptions_success_count: 0, + action_connectors_success: true, + action_connectors_success_count: 0, + action_connectors_errors: [], + action_connectors_warnings: [], + }; + const decoded = ImportRulesResponse.decode(payload); + const checked = exactCheck(payload, decoded); + const message = pipe(checked, foldLeftRight); + + expect(getPaths(left(message.errors))).toEqual([]); + expect(message.schema).toEqual(payload); + }); + + test('it should validate an empty import response with a single exceptions error', () => { + const payload: ImportRulesResponse = { + success: false, + success_count: 0, + rules_count: 0, + errors: [], + exceptions_errors: [{ error: { status_code: 400, message: 'some message' } }], + exceptions_success: true, + exceptions_success_count: 0, + action_connectors_success: true, + action_connectors_success_count: 0, + action_connectors_errors: [], + action_connectors_warnings: [], + }; + const decoded = ImportRulesResponse.decode(payload); + const checked = exactCheck(payload, decoded); + const message = pipe(checked, foldLeftRight); + + expect(getPaths(left(message.errors))).toEqual([]); + expect(message.schema).toEqual(payload); + }); + + test('it should validate an empty import response with two errors', () => { + const payload: ImportRulesResponse = { + success: false, + success_count: 0, + rules_count: 0, + errors: [ + { error: { status_code: 400, message: 'some message' } }, + { error: { status_code: 500, message: 'some message' } }, + ], + exceptions_errors: [], + exceptions_success: true, + exceptions_success_count: 0, + action_connectors_success: true, + action_connectors_success_count: 0, + action_connectors_errors: [], + action_connectors_warnings: [], + }; + const decoded = ImportRulesResponse.decode(payload); + const checked = exactCheck(payload, decoded); + const message = pipe(checked, foldLeftRight); + + expect(getPaths(left(message.errors))).toEqual([]); + expect(message.schema).toEqual(payload); + }); + + test('it should validate an empty import response with two exception errors', () => { + const payload: ImportRulesResponse = { + success: false, + success_count: 0, + rules_count: 0, + errors: [], + exceptions_errors: [ + { error: { status_code: 400, message: 'some message' } }, + { error: { status_code: 500, message: 'some message' } }, + ], + exceptions_success: true, + exceptions_success_count: 0, + action_connectors_success: true, + action_connectors_success_count: 0, + action_connectors_errors: [], + action_connectors_warnings: [], + }; + const decoded = ImportRulesResponse.decode(payload); + const checked = exactCheck(payload, decoded); + const message = pipe(checked, foldLeftRight); + + expect(getPaths(left(message.errors))).toEqual([]); + expect(message.schema).toEqual(payload); + }); + + test('it should NOT validate a success_count that is a negative number', () => { + const payload: ImportRulesResponse = { + success: false, + success_count: -1, + rules_count: 0, + errors: [], + exceptions_errors: [], + exceptions_success: true, + exceptions_success_count: 0, + action_connectors_success: true, + action_connectors_success_count: 0, + action_connectors_errors: [], + action_connectors_warnings: [], + }; + const decoded = ImportRulesResponse.decode(payload); + const checked = exactCheck(payload, decoded); + const message = pipe(checked, foldLeftRight); + + expect(getPaths(left(message.errors))).toEqual([ + 'Invalid value "-1" supplied to "success_count"', + ]); + expect(message.schema).toEqual({}); + }); + + test('it should NOT validate a exceptions_success_count that is a negative number', () => { + const payload: ImportRulesResponse = { + success: false, + success_count: 0, + rules_count: 0, + errors: [], + exceptions_errors: [], + exceptions_success: true, + exceptions_success_count: -1, + action_connectors_success: true, + action_connectors_success_count: 0, + action_connectors_errors: [], + action_connectors_warnings: [], + }; + const decoded = ImportRulesResponse.decode(payload); + const checked = exactCheck(payload, decoded); + const message = pipe(checked, foldLeftRight); + + expect(getPaths(left(message.errors))).toEqual([ + 'Invalid value "-1" supplied to "exceptions_success_count"', + ]); + expect(message.schema).toEqual({}); + }); + + test('it should NOT validate a success that is not a boolean', () => { + type UnsafeCastForTest = Either< + Errors, + { + success: string; + success_count: number; + errors: Array< + { + id?: string | undefined; + rule_id?: string | undefined; + } & { + error: { + status_code: number; + message: string; + }; + } + >; + } + >; + const payload: Omit & { success: string } = { + success: 'hello', + success_count: 0, + rules_count: 0, + errors: [], + exceptions_errors: [], + exceptions_success: true, + exceptions_success_count: 0, + action_connectors_success: true, + action_connectors_success_count: 0, + action_connectors_errors: [], + action_connectors_warnings: [], + }; + const decoded = ImportRulesResponse.decode(payload); + const checked = exactCheck(payload, decoded as UnsafeCastForTest); + const message = pipe(checked, foldLeftRight); + + expect(getPaths(left(message.errors))).toEqual([ + 'Invalid value "hello" supplied to "success"', + ]); + expect(message.schema).toEqual({}); + }); + + test('it should NOT validate a exceptions_success that is not a boolean', () => { + type UnsafeCastForTest = Either< + Errors, + { + success: boolean; + exceptions_success: string; + success_count: number; + errors: Array< + { + id?: string | undefined; + rule_id?: string | undefined; + } & { + error: { + status_code: number; + message: string; + }; + } + >; + } + >; + const payload: Omit & { + exceptions_success: string; + } = { + success: true, + success_count: 0, + rules_count: 0, + errors: [], + exceptions_errors: [], + exceptions_success: 'hello', + exceptions_success_count: 0, + action_connectors_success: true, + action_connectors_success_count: 0, + action_connectors_errors: [], + action_connectors_warnings: [], + }; + const decoded = ImportRulesResponse.decode(payload); + const checked = exactCheck(payload, decoded as UnsafeCastForTest); + const message = pipe(checked, foldLeftRight); + + expect(getPaths(left(message.errors))).toEqual([ + 'Invalid value "hello" supplied to "exceptions_success"', + ]); + expect(message.schema).toEqual({}); + }); + + test('it should NOT validate a success an extra invalid field', () => { + const payload: ImportRulesResponse & { invalid_field: string } = { + success: true, + success_count: 0, + rules_count: 0, + errors: [], + invalid_field: 'invalid_data', + exceptions_errors: [], + exceptions_success: true, + exceptions_success_count: 0, + action_connectors_success: true, + action_connectors_success_count: 0, + action_connectors_errors: [], + action_connectors_warnings: [], + }; + const decoded = ImportRulesResponse.decode(payload); + const checked = exactCheck(payload, decoded); + const message = pipe(checked, foldLeftRight); + + expect(getPaths(left(message.errors))).toEqual(['invalid keys "invalid_field"']); + expect(message.schema).toEqual({}); + }); + + test('it should NOT validate an extra field in the second position of the errors array', () => { + type InvalidError = ErrorSchema & { invalid_data?: string }; + const payload: Omit & { + errors: InvalidError[]; + } = { + success: true, + success_count: 0, + rules_count: 0, + errors: [ + { error: { status_code: 400, message: 'some message' } }, + { invalid_data: 'something', error: { status_code: 500, message: 'some message' } }, + ], + exceptions_errors: [], + exceptions_success: true, + exceptions_success_count: 0, + action_connectors_success: true, + action_connectors_success_count: 0, + action_connectors_errors: [], + action_connectors_warnings: [], + }; + const decoded = ImportRulesResponse.decode(payload); + const checked = exactCheck(payload, decoded); + const message = pipe(checked, foldLeftRight); + + expect(getPaths(left(message.errors))).toEqual(['invalid keys "invalid_data"']); + expect(message.schema).toEqual({}); + }); + + test('it should validate an empty import response with a single connectors error', () => { + const payload: ImportRulesResponse = { + success: false, + success_count: 0, + rules_count: 0, + errors: [], + exceptions_errors: [], + exceptions_success: true, + exceptions_success_count: 0, + action_connectors_success: true, + action_connectors_success_count: 0, + action_connectors_errors: [{ error: { status_code: 400, message: 'some message' } }], + action_connectors_warnings: [], + }; + const decoded = ImportRulesResponse.decode(payload); + const checked = exactCheck(payload, decoded); + const message = pipe(checked, foldLeftRight); + + expect(getPaths(left(message.errors))).toEqual([]); + expect(message.schema).toEqual(payload); + }); + test('it should validate an empty import response with multiple errors', () => { + const payload: ImportRulesResponse = { + success: false, + success_count: 0, + rules_count: 0, + errors: [ + { error: { status_code: 400, message: 'some message' } }, + { error: { status_code: 500, message: 'some message' } }, + ], + exceptions_errors: [], + exceptions_success: true, + exceptions_success_count: 0, + action_connectors_success: true, + action_connectors_success_count: 0, + action_connectors_errors: [{ error: { status_code: 400, message: 'some message' } }], + action_connectors_warnings: [], + }; + const decoded = ImportRulesResponse.decode(payload); + const checked = exactCheck(payload, decoded); + const message = pipe(checked, foldLeftRight); + + expect(getPaths(left(message.errors))).toEqual([]); + expect(message.schema).toEqual(payload); + }); + test('it should NOT validate action_connectors_success that is not boolean', () => { + type UnsafeCastForTest = Either< + Errors, + { + success: boolean; + action_connectors_success: string; + success_count: number; + errors: Array< + { + id?: string | undefined; + rule_id?: string | undefined; + } & { + error: { + status_code: number; + message: string; + }; + } + >; + } + >; + const payload: Omit & { + action_connectors_success: string; + } = { + success: true, + success_count: 0, + rules_count: 0, + errors: [], + exceptions_errors: [], + exceptions_success: true, + exceptions_success_count: 0, + action_connectors_success: 'invalid', + action_connectors_success_count: 0, + action_connectors_errors: [], + action_connectors_warnings: [], + }; + const decoded = ImportRulesResponse.decode(payload); + const checked = exactCheck(payload, decoded as UnsafeCastForTest); + const message = pipe(checked, foldLeftRight); + + expect(getPaths(left(message.errors))).toEqual([ + 'Invalid value "invalid" supplied to "action_connectors_success"', + ]); + expect(message.schema).toEqual({}); + }); + test('it should NOT validate a action_connectors_success_count that is a negative number', () => { + const payload: ImportRulesResponse = { + success: false, + success_count: 0, + rules_count: 0, + errors: [], + exceptions_errors: [], + exceptions_success: true, + exceptions_success_count: 0, + action_connectors_success: true, + action_connectors_success_count: -1, + action_connectors_errors: [], + action_connectors_warnings: [], + }; + const decoded = ImportRulesResponse.decode(payload); + const checked = exactCheck(payload, decoded); + const message = pipe(checked, foldLeftRight); + + expect(getPaths(left(message.errors))).toEqual([ + 'Invalid value "-1" supplied to "action_connectors_success_count"', + ]); + expect(message.schema).toEqual({}); + }); + test('it should validate a action_connectors_warnings after importing successfully', () => { + const payload: ImportRulesResponse = { + success: false, + success_count: 0, + rules_count: 0, + errors: [], + exceptions_errors: [], + exceptions_success: true, + exceptions_success_count: 0, + action_connectors_success: true, + action_connectors_success_count: 1, + action_connectors_errors: [], + action_connectors_warnings: [ + { type: 'type', message: 'message', actionPath: 'actionPath' }, + ], + }; + const decoded = ImportRulesResponse.decode(payload); + const checked = exactCheck(payload, decoded); + const message = pipe(checked, foldLeftRight); + + expect(getPaths(left(message.errors))).toEqual([]); + expect(message.schema).toEqual(payload); + }); + test('it should NOT validate a action_connectors_warnings that is not WarningSchema', () => { + type UnsafeCastForTest = Either< + Errors, + { + success: boolean; + action_connectors_warnings: string; + success_count: number; + errors: Array< + { + id?: string | undefined; + rule_id?: string | undefined; + } & { + error: { + status_code: number; + message: string; + }; + } + >; + } + >; + const payload: Omit & { + action_connectors_warnings: string; + } = { + success: true, + success_count: 0, + rules_count: 0, + errors: [], + exceptions_errors: [], + exceptions_success: true, + exceptions_success_count: 0, + action_connectors_success: true, + action_connectors_success_count: 0, + action_connectors_errors: [], + action_connectors_warnings: 'invalid', + }; + const decoded = ImportRulesResponse.decode(payload); + const checked = exactCheck(payload, decoded as UnsafeCastForTest); + const message = pipe(checked, foldLeftRight); + + expect(getPaths(left(message.errors))).toEqual([ + 'Invalid value "invalid" supplied to "action_connectors_warnings"', + ]); + expect(message.schema).toEqual({}); + }); + }); +}); diff --git a/x-pack/plugins/security_solution/common/detection_engine/rule_management/api/rules/import_rules/response_schema.ts b/x-pack/plugins/security_solution/common/api/detection_engine/rule_management/import_rules/import_rules_route.ts similarity index 52% rename from x-pack/plugins/security_solution/common/detection_engine/rule_management/api/rules/import_rules/response_schema.ts rename to x-pack/plugins/security_solution/common/api/detection_engine/rule_management/import_rules/import_rules_route.ts index 99212b902c4d3..46e8721c45679 100644 --- a/x-pack/plugins/security_solution/common/detection_engine/rule_management/api/rules/import_rules/response_schema.ts +++ b/x-pack/plugins/security_solution/common/api/detection_engine/rule_management/import_rules/import_rules_route.ts @@ -6,8 +6,28 @@ */ import * as t from 'io-ts'; -import { PositiveInteger } from '@kbn/securitysolution-io-ts-types'; -import { errorSchema, warningSchema } from '../../../../schemas/response'; +import { DefaultStringBooleanFalse, PositiveInteger } from '@kbn/securitysolution-io-ts-types'; +import { errorSchema, warningSchema } from '../../model'; + +export const ImportRulesRequestQuery = t.exact( + t.partial({ + overwrite: DefaultStringBooleanFalse, + overwrite_exceptions: DefaultStringBooleanFalse, + overwrite_action_connectors: DefaultStringBooleanFalse, + as_new_list: DefaultStringBooleanFalse, + }) +); + +export type ImportRulesRequestQuery = t.TypeOf; +export type ImportRulesRequestQueryDecoded = Omit< + ImportRulesRequestQuery, + 'overwrite' | 'overwrite_exceptions' | 'as_new_list' | 'overwrite_action_connectors' +> & { + overwrite: boolean; + overwrite_exceptions: boolean; + overwrite_action_connectors: boolean; + as_new_list: boolean; +}; export type ImportRulesResponse = t.TypeOf; export const ImportRulesResponse = t.exact( diff --git a/x-pack/plugins/security_solution/common/detection_engine/rule_management/model/import/rule_to_import.mock.ts b/x-pack/plugins/security_solution/common/api/detection_engine/rule_management/import_rules/rule_to_import.mock.ts similarity index 100% rename from x-pack/plugins/security_solution/common/detection_engine/rule_management/model/import/rule_to_import.mock.ts rename to x-pack/plugins/security_solution/common/api/detection_engine/rule_management/import_rules/rule_to_import.mock.ts diff --git a/x-pack/plugins/security_solution/common/detection_engine/rule_management/model/import/rule_to_import.test.ts b/x-pack/plugins/security_solution/common/api/detection_engine/rule_management/import_rules/rule_to_import.test.ts similarity index 99% rename from x-pack/plugins/security_solution/common/detection_engine/rule_management/model/import/rule_to_import.test.ts rename to x-pack/plugins/security_solution/common/api/detection_engine/rule_management/import_rules/rule_to_import.test.ts index 84478b4af27fe..29ad45c10bf84 100644 --- a/x-pack/plugins/security_solution/common/detection_engine/rule_management/model/import/rule_to_import.test.ts +++ b/x-pack/plugins/security_solution/common/api/detection_engine/rule_management/import_rules/rule_to_import.test.ts @@ -9,7 +9,7 @@ import { left } from 'fp-ts/lib/Either'; import { pipe } from 'fp-ts/lib/pipeable'; import { exactCheck, foldLeftRight, getPaths } from '@kbn/securitysolution-io-ts-utils'; -import { getListArrayMock } from '../../../schemas/types/lists.mock'; +import { getListArrayMock } from '../../../../detection_engine/schemas/types/lists.mock'; import { RuleToImport } from './rule_to_import'; import { getImportRulesSchemaMock, diff --git a/x-pack/plugins/security_solution/common/detection_engine/rule_management/model/import/rule_to_import.ts b/x-pack/plugins/security_solution/common/api/detection_engine/rule_management/import_rules/rule_to_import.ts similarity index 92% rename from x-pack/plugins/security_solution/common/detection_engine/rule_management/model/import/rule_to_import.ts rename to x-pack/plugins/security_solution/common/api/detection_engine/rule_management/import_rules/rule_to_import.ts index 8d9cee09a9f7b..1b01d913eaee2 100644 --- a/x-pack/plugins/security_solution/common/detection_engine/rule_management/model/import/rule_to_import.ts +++ b/x-pack/plugins/security_solution/common/api/detection_engine/rule_management/import_rules/rule_to_import.ts @@ -16,8 +16,12 @@ import { SetupGuide, BaseCreateProps, TypeSpecificCreateProps, -} from '../../../rule_schema'; -import { created_at, updated_at, created_by, updated_by, revision } from '../../../schemas/common'; + created_at, + updated_at, + created_by, + updated_by, + revision, +} from '../../model'; /** * Differences from this and the createRulesSchema are diff --git a/x-pack/plugins/security_solution/common/detection_engine/rule_management/model/import/rule_to_import_validation.test.ts b/x-pack/plugins/security_solution/common/api/detection_engine/rule_management/import_rules/rule_to_import_validation.test.ts similarity index 100% rename from x-pack/plugins/security_solution/common/detection_engine/rule_management/model/import/rule_to_import_validation.test.ts rename to x-pack/plugins/security_solution/common/api/detection_engine/rule_management/import_rules/rule_to_import_validation.test.ts diff --git a/x-pack/plugins/security_solution/common/detection_engine/rule_management/model/import/rule_to_import_validation.ts b/x-pack/plugins/security_solution/common/api/detection_engine/rule_management/import_rules/rule_to_import_validation.ts similarity index 100% rename from x-pack/plugins/security_solution/common/detection_engine/rule_management/model/import/rule_to_import_validation.ts rename to x-pack/plugins/security_solution/common/api/detection_engine/rule_management/import_rules/rule_to_import_validation.ts diff --git a/x-pack/plugins/security_solution/common/api/detection_engine/rule_management/index.ts b/x-pack/plugins/security_solution/common/api/detection_engine/rule_management/index.ts new file mode 100644 index 0000000000000..bd9066d90a96e --- /dev/null +++ b/x-pack/plugins/security_solution/common/api/detection_engine/rule_management/index.ts @@ -0,0 +1,31 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +export * from './bulk_actions/bulk_actions_route'; +export * from './bulk_crud/bulk_create_rules/bulk_create_rules_route'; +export * from './bulk_crud/bulk_delete_rules/bulk_delete_rules_route'; +export * from './bulk_crud/bulk_patch_rules/bulk_patch_rules_route'; +export * from './bulk_crud/bulk_update_rules/bulk_update_rules_route'; +export * from './bulk_crud/response_schema'; +export * from './coverage_overview/coverage_overview_route'; +export * from './crud/create_rule/request_schema_validation'; +export * from './crud/patch_rule/request_schema_validation'; +export * from './crud/patch_rule/patch_rule_route'; +export * from './crud/read_rule/read_rule_route'; +export * from './crud/update_rule/update_rule_route'; +export * from './crud/update_rule/request_schema_validation'; +export * from './export_rules/export_rules_details_schema'; +export * from './export_rules/export_rules_route'; +export * from './get_rule_management_filters/get_rule_management_filters_route'; +export * from './find_rules/request_schema'; +export * from './find_rules/request_schema_validation'; +export * from './import_rules/import_rules_route'; +export * from './import_rules/rule_to_import_validation'; +export * from './import_rules/rule_to_import'; +export * from './urls'; +export * from './model/query_rule_by_ids'; +export * from './model/query_rule_by_ids_validation'; diff --git a/x-pack/plugins/security_solution/common/api/detection_engine/rule_management/mocks.ts b/x-pack/plugins/security_solution/common/api/detection_engine/rule_management/mocks.ts new file mode 100644 index 0000000000000..24e6f6120238b --- /dev/null +++ b/x-pack/plugins/security_solution/common/api/detection_engine/rule_management/mocks.ts @@ -0,0 +1,12 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +export * from './bulk_actions/bulk_actions_route.mock'; +export * from './crud/patch_rule/patch_rule_route.mock'; + +export * from './export_rules/export_rules_details_schema.mock'; +export * from './import_rules/rule_to_import.mock'; diff --git a/x-pack/plugins/security_solution/common/detection_engine/rule_management/api/rules/crud/read_rule/query_rule_by_ids.test.ts b/x-pack/plugins/security_solution/common/api/detection_engine/rule_management/model/query_rule_by_ids.test.ts similarity index 100% rename from x-pack/plugins/security_solution/common/detection_engine/rule_management/api/rules/crud/read_rule/query_rule_by_ids.test.ts rename to x-pack/plugins/security_solution/common/api/detection_engine/rule_management/model/query_rule_by_ids.test.ts diff --git a/x-pack/plugins/security_solution/common/detection_engine/rule_management/api/rules/crud/read_rule/query_rule_by_ids.ts b/x-pack/plugins/security_solution/common/api/detection_engine/rule_management/model/query_rule_by_ids.ts similarity index 85% rename from x-pack/plugins/security_solution/common/detection_engine/rule_management/api/rules/crud/read_rule/query_rule_by_ids.ts rename to x-pack/plugins/security_solution/common/api/detection_engine/rule_management/model/query_rule_by_ids.ts index d52d8c66125e6..2de0116d2875f 100644 --- a/x-pack/plugins/security_solution/common/detection_engine/rule_management/api/rules/crud/read_rule/query_rule_by_ids.ts +++ b/x-pack/plugins/security_solution/common/api/detection_engine/rule_management/model/query_rule_by_ids.ts @@ -6,7 +6,7 @@ */ import * as t from 'io-ts'; -import { RuleObjectId, RuleSignatureId } from '../../../../../rule_schema'; +import { RuleObjectId, RuleSignatureId } from '../../model'; export type QueryRuleByIds = t.TypeOf; export const QueryRuleByIds = t.exact( diff --git a/x-pack/plugins/security_solution/common/detection_engine/rule_management/api/rules/crud/read_rule/query_rule_by_ids_validation.test.ts b/x-pack/plugins/security_solution/common/api/detection_engine/rule_management/model/query_rule_by_ids_validation.test.ts similarity index 100% rename from x-pack/plugins/security_solution/common/detection_engine/rule_management/api/rules/crud/read_rule/query_rule_by_ids_validation.test.ts rename to x-pack/plugins/security_solution/common/api/detection_engine/rule_management/model/query_rule_by_ids_validation.test.ts diff --git a/x-pack/plugins/security_solution/common/detection_engine/rule_management/api/rules/crud/read_rule/query_rule_by_ids_validation.ts b/x-pack/plugins/security_solution/common/api/detection_engine/rule_management/model/query_rule_by_ids_validation.ts similarity index 100% rename from x-pack/plugins/security_solution/common/detection_engine/rule_management/api/rules/crud/read_rule/query_rule_by_ids_validation.ts rename to x-pack/plugins/security_solution/common/api/detection_engine/rule_management/model/query_rule_by_ids_validation.ts diff --git a/x-pack/plugins/security_solution/common/detection_engine/rule_management/api/urls.ts b/x-pack/plugins/security_solution/common/api/detection_engine/rule_management/urls.ts similarity index 100% rename from x-pack/plugins/security_solution/common/detection_engine/rule_management/api/urls.ts rename to x-pack/plugins/security_solution/common/api/detection_engine/rule_management/urls.ts diff --git a/x-pack/plugins/security_solution/common/detection_engine/rule_monitoring/api/detection_engine_health/README.md b/x-pack/plugins/security_solution/common/api/detection_engine/rule_monitoring/detection_engine_health/README.md similarity index 100% rename from x-pack/plugins/security_solution/common/detection_engine/rule_monitoring/api/detection_engine_health/README.md rename to x-pack/plugins/security_solution/common/api/detection_engine/rule_monitoring/detection_engine_health/README.md diff --git a/x-pack/plugins/security_solution/common/detection_engine/rule_monitoring/api/detection_engine_health/get_cluster_health_schemas.ts b/x-pack/plugins/security_solution/common/api/detection_engine/rule_monitoring/detection_engine_health/get_cluster_health/get_cluster_health_route.ts similarity index 83% rename from x-pack/plugins/security_solution/common/detection_engine/rule_monitoring/api/detection_engine_health/get_cluster_health_schemas.ts rename to x-pack/plugins/security_solution/common/api/detection_engine/rule_monitoring/detection_engine_health/get_cluster_health/get_cluster_health_route.ts index a4b28a2d1bc31..dafa1e4a4a1df 100644 --- a/x-pack/plugins/security_solution/common/detection_engine/rule_monitoring/api/detection_engine_health/get_cluster_health_schemas.ts +++ b/x-pack/plugins/security_solution/common/api/detection_engine/rule_monitoring/detection_engine_health/get_cluster_health/get_cluster_health_route.ts @@ -7,13 +7,13 @@ import * as t from 'io-ts'; import type { IsoDateString } from '@kbn/securitysolution-io-ts-types'; -import type { HealthInterval } from '../../model/detection_engine_health/health_interval'; -import { HealthIntervalParameters } from '../../model/detection_engine_health/health_interval'; -import type { HealthTimings } from '../../model/detection_engine_health/health_metadata'; import type { ClusterHealthParameters, ClusterHealthSnapshot, -} from '../../model/detection_engine_health/cluster_health'; + HealthInterval, + HealthTimings, +} from '../model'; +import { HealthIntervalParameters } from '../model'; /** * Schema for the request body of the endpoint. diff --git a/x-pack/plugins/security_solution/common/detection_engine/rule_monitoring/api/detection_engine_health/get_rule_health_schemas.ts b/x-pack/plugins/security_solution/common/api/detection_engine/rule_monitoring/detection_engine_health/get_rule_health/get_rule_health_route.ts similarity index 84% rename from x-pack/plugins/security_solution/common/detection_engine/rule_monitoring/api/detection_engine_health/get_rule_health_schemas.ts rename to x-pack/plugins/security_solution/common/api/detection_engine/rule_monitoring/detection_engine_health/get_rule_health/get_rule_health_route.ts index 8f810549f54ee..c3c32edfd9a19 100644 --- a/x-pack/plugins/security_solution/common/detection_engine/rule_monitoring/api/detection_engine_health/get_rule_health_schemas.ts +++ b/x-pack/plugins/security_solution/common/api/detection_engine/rule_monitoring/detection_engine_health/get_rule_health/get_rule_health_route.ts @@ -9,13 +9,13 @@ import * as t from 'io-ts'; import type { IsoDateString } from '@kbn/securitysolution-io-ts-types'; import { NonEmptyString } from '@kbn/securitysolution-io-ts-types'; -import type { HealthInterval } from '../../model/detection_engine_health/health_interval'; -import { HealthIntervalParameters } from '../../model/detection_engine_health/health_interval'; -import type { HealthTimings } from '../../model/detection_engine_health/health_metadata'; import type { + HealthInterval, + HealthTimings, RuleHealthParameters, RuleHealthSnapshot, -} from '../../model/detection_engine_health/rule_health'; +} from '../model'; +import { HealthIntervalParameters } from '../model'; /** * Schema for the request body of the endpoint. diff --git a/x-pack/plugins/security_solution/common/detection_engine/rule_monitoring/api/detection_engine_health/get_space_health_schemas.ts b/x-pack/plugins/security_solution/common/api/detection_engine/rule_monitoring/detection_engine_health/get_space_health/get_space_health_route.ts similarity index 82% rename from x-pack/plugins/security_solution/common/detection_engine/rule_monitoring/api/detection_engine_health/get_space_health_schemas.ts rename to x-pack/plugins/security_solution/common/api/detection_engine/rule_monitoring/detection_engine_health/get_space_health/get_space_health_route.ts index 4ad9a95a3f938..fe10178e5de9d 100644 --- a/x-pack/plugins/security_solution/common/detection_engine/rule_monitoring/api/detection_engine_health/get_space_health_schemas.ts +++ b/x-pack/plugins/security_solution/common/api/detection_engine/rule_monitoring/detection_engine_health/get_space_health/get_space_health_route.ts @@ -7,13 +7,13 @@ import * as t from 'io-ts'; import type { IsoDateString } from '@kbn/securitysolution-io-ts-types'; -import type { HealthInterval } from '../../model/detection_engine_health/health_interval'; -import { HealthIntervalParameters } from '../../model/detection_engine_health/health_interval'; -import type { HealthTimings } from '../../model/detection_engine_health/health_metadata'; import type { + HealthInterval, + HealthTimings, SpaceHealthParameters, SpaceHealthSnapshot, -} from '../../model/detection_engine_health/space_health'; +} from '../model'; +import { HealthIntervalParameters } from '../model'; /** * Schema for the request body of the endpoint. diff --git a/x-pack/plugins/security_solution/common/detection_engine/rule_monitoring/model/detection_engine_health/cluster_health.mock.ts b/x-pack/plugins/security_solution/common/api/detection_engine/rule_monitoring/detection_engine_health/model/cluster_health.mock.ts similarity index 100% rename from x-pack/plugins/security_solution/common/detection_engine/rule_monitoring/model/detection_engine_health/cluster_health.mock.ts rename to x-pack/plugins/security_solution/common/api/detection_engine/rule_monitoring/detection_engine_health/model/cluster_health.mock.ts diff --git a/x-pack/plugins/security_solution/common/detection_engine/rule_monitoring/model/detection_engine_health/cluster_health.ts b/x-pack/plugins/security_solution/common/api/detection_engine/rule_monitoring/detection_engine_health/model/cluster_health.ts similarity index 100% rename from x-pack/plugins/security_solution/common/detection_engine/rule_monitoring/model/detection_engine_health/cluster_health.ts rename to x-pack/plugins/security_solution/common/api/detection_engine/rule_monitoring/detection_engine_health/model/cluster_health.ts diff --git a/x-pack/plugins/security_solution/common/detection_engine/rule_monitoring/model/detection_engine_health/health_interval.ts b/x-pack/plugins/security_solution/common/api/detection_engine/rule_monitoring/detection_engine_health/model/health_interval.ts similarity index 100% rename from x-pack/plugins/security_solution/common/detection_engine/rule_monitoring/model/detection_engine_health/health_interval.ts rename to x-pack/plugins/security_solution/common/api/detection_engine/rule_monitoring/detection_engine_health/model/health_interval.ts diff --git a/x-pack/plugins/security_solution/common/detection_engine/rule_monitoring/model/detection_engine_health/health_metadata.ts b/x-pack/plugins/security_solution/common/api/detection_engine/rule_monitoring/detection_engine_health/model/health_metadata.ts similarity index 100% rename from x-pack/plugins/security_solution/common/detection_engine/rule_monitoring/model/detection_engine_health/health_metadata.ts rename to x-pack/plugins/security_solution/common/api/detection_engine/rule_monitoring/detection_engine_health/model/health_metadata.ts diff --git a/x-pack/plugins/security_solution/common/detection_engine/rule_monitoring/model/detection_engine_health/health_stats.mock.ts b/x-pack/plugins/security_solution/common/api/detection_engine/rule_monitoring/detection_engine_health/model/health_stats.mock.ts similarity index 100% rename from x-pack/plugins/security_solution/common/detection_engine/rule_monitoring/model/detection_engine_health/health_stats.mock.ts rename to x-pack/plugins/security_solution/common/api/detection_engine/rule_monitoring/detection_engine_health/model/health_stats.mock.ts diff --git a/x-pack/plugins/security_solution/common/detection_engine/rule_monitoring/model/detection_engine_health/health_stats.ts b/x-pack/plugins/security_solution/common/api/detection_engine/rule_monitoring/detection_engine_health/model/health_stats.ts similarity index 99% rename from x-pack/plugins/security_solution/common/detection_engine/rule_monitoring/model/detection_engine_health/health_stats.ts rename to x-pack/plugins/security_solution/common/api/detection_engine/rule_monitoring/detection_engine_health/model/health_stats.ts index e43a5bfbd3073..4af7ea8c6bd07 100644 --- a/x-pack/plugins/security_solution/common/detection_engine/rule_monitoring/model/detection_engine_health/health_stats.ts +++ b/x-pack/plugins/security_solution/common/api/detection_engine/rule_monitoring/detection_engine_health/model/health_stats.ts @@ -7,7 +7,7 @@ import type { IsoDateString } from '@kbn/securitysolution-io-ts-types'; import type { RuleLastRunOutcomes } from '@kbn/alerting-plugin/common'; -import type { LogLevel } from '../log_level'; +import type { LogLevel } from '../../model'; // ------------------------------------------------------------------------------------------------- // Stats history (date histogram) diff --git a/x-pack/plugins/security_solution/common/api/detection_engine/rule_monitoring/detection_engine_health/model/index.ts b/x-pack/plugins/security_solution/common/api/detection_engine/rule_monitoring/detection_engine_health/model/index.ts new file mode 100644 index 0000000000000..10d72d2241ec0 --- /dev/null +++ b/x-pack/plugins/security_solution/common/api/detection_engine/rule_monitoring/detection_engine_health/model/index.ts @@ -0,0 +1,13 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +export * from './cluster_health'; +export * from './health_interval'; +export * from './health_metadata'; +export * from './health_stats'; +export * from './rule_health'; +export * from './space_health'; diff --git a/x-pack/plugins/security_solution/common/detection_engine/rule_monitoring/model/detection_engine_health/rule_health.mock.ts b/x-pack/plugins/security_solution/common/api/detection_engine/rule_monitoring/detection_engine_health/model/rule_health.mock.ts similarity index 92% rename from x-pack/plugins/security_solution/common/detection_engine/rule_monitoring/model/detection_engine_health/rule_health.mock.ts rename to x-pack/plugins/security_solution/common/api/detection_engine/rule_monitoring/detection_engine_health/model/rule_health.mock.ts index 2ae5b8a7a8205..961a057b2603e 100644 --- a/x-pack/plugins/security_solution/common/detection_engine/rule_monitoring/model/detection_engine_health/rule_health.mock.ts +++ b/x-pack/plugins/security_solution/common/api/detection_engine/rule_monitoring/detection_engine_health/model/rule_health.mock.ts @@ -5,7 +5,7 @@ * 2.0. */ -import { getRulesSchemaMock } from '../../../rule_schema/mocks'; +import { getRulesSchemaMock } from '../../../model/rule_schema/mocks'; import { healthStatsMock } from './health_stats.mock'; import type { RuleHealthSnapshot } from './rule_health'; diff --git a/x-pack/plugins/security_solution/common/detection_engine/rule_monitoring/model/detection_engine_health/rule_health.ts b/x-pack/plugins/security_solution/common/api/detection_engine/rule_monitoring/detection_engine_health/model/rule_health.ts similarity index 94% rename from x-pack/plugins/security_solution/common/detection_engine/rule_monitoring/model/detection_engine_health/rule_health.ts rename to x-pack/plugins/security_solution/common/api/detection_engine/rule_monitoring/detection_engine_health/model/rule_health.ts index b0b3577a46967..59756df926e27 100644 --- a/x-pack/plugins/security_solution/common/detection_engine/rule_monitoring/model/detection_engine_health/rule_health.ts +++ b/x-pack/plugins/security_solution/common/api/detection_engine/rule_monitoring/detection_engine_health/model/rule_health.ts @@ -5,7 +5,7 @@ * 2.0. */ -import type { RuleResponse } from '../../../rule_schema/model/rule_schemas'; +import type { RuleResponse } from '../../../model'; import type { HealthParameters, HealthSnapshot } from './health_metadata'; import type { RuleExecutionStats, StatsHistory } from './health_stats'; diff --git a/x-pack/plugins/security_solution/common/detection_engine/rule_monitoring/model/detection_engine_health/space_health.mock.ts b/x-pack/plugins/security_solution/common/api/detection_engine/rule_monitoring/detection_engine_health/model/space_health.mock.ts similarity index 100% rename from x-pack/plugins/security_solution/common/detection_engine/rule_monitoring/model/detection_engine_health/space_health.mock.ts rename to x-pack/plugins/security_solution/common/api/detection_engine/rule_monitoring/detection_engine_health/model/space_health.mock.ts diff --git a/x-pack/plugins/security_solution/common/detection_engine/rule_monitoring/model/detection_engine_health/space_health.ts b/x-pack/plugins/security_solution/common/api/detection_engine/rule_monitoring/detection_engine_health/model/space_health.ts similarity index 100% rename from x-pack/plugins/security_solution/common/detection_engine/rule_monitoring/model/detection_engine_health/space_health.ts rename to x-pack/plugins/security_solution/common/api/detection_engine/rule_monitoring/detection_engine_health/model/space_health.ts diff --git a/x-pack/plugins/security_solution/common/api/detection_engine/rule_monitoring/index.ts b/x-pack/plugins/security_solution/common/api/detection_engine/rule_monitoring/index.ts new file mode 100644 index 0000000000000..a2f5f76f00b08 --- /dev/null +++ b/x-pack/plugins/security_solution/common/api/detection_engine/rule_monitoring/index.ts @@ -0,0 +1,22 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +export * from './detection_engine_health/get_cluster_health/get_cluster_health_route'; +export * from './detection_engine_health/get_rule_health/get_rule_health_route'; +export * from './detection_engine_health/get_space_health/get_space_health_route'; +export * from './detection_engine_health/model'; +export * from './rule_execution_logs/get_rule_execution_events/get_rule_execution_events_route'; +export * from './rule_execution_logs/get_rule_execution_results/get_rule_execution_results_route'; +export * from './urls'; + +export * from './model/execution_event'; +export * from './model/execution_metrics'; +export * from './model/execution_result'; +export * from './model/execution_settings'; +export * from './model/execution_status'; +export * from './model/execution_summary'; +export * from './model/log_level'; diff --git a/x-pack/plugins/security_solution/common/detection_engine/rule_monitoring/mocks.ts b/x-pack/plugins/security_solution/common/api/detection_engine/rule_monitoring/mocks.ts similarity index 50% rename from x-pack/plugins/security_solution/common/detection_engine/rule_monitoring/mocks.ts rename to x-pack/plugins/security_solution/common/api/detection_engine/rule_monitoring/mocks.ts index 1a93749849cdf..0c8c7a1cafad3 100644 --- a/x-pack/plugins/security_solution/common/detection_engine/rule_monitoring/mocks.ts +++ b/x-pack/plugins/security_solution/common/api/detection_engine/rule_monitoring/mocks.ts @@ -5,12 +5,12 @@ * 2.0. */ -export * from './api/rule_execution_logs/get_rule_execution_events_schemas.mock'; -export * from './api/rule_execution_logs/get_rule_execution_results_schemas.mock'; +export * from './rule_execution_logs/get_rule_execution_events/get_rule_execution_events_route.mock'; +export * from './rule_execution_logs/get_rule_execution_results/get_rule_execution_results_route.mock'; -export * from './model/detection_engine_health/cluster_health.mock'; -export * from './model/detection_engine_health/rule_health.mock'; -export * from './model/detection_engine_health/space_health.mock'; +export * from './detection_engine_health/model/cluster_health.mock'; +export * from './detection_engine_health/model/rule_health.mock'; +export * from './detection_engine_health/model/space_health.mock'; export * from './model/execution_event.mock'; export * from './model/execution_result.mock'; export * from './model/execution_summary.mock'; diff --git a/x-pack/plugins/security_solution/common/detection_engine/rule_monitoring/model/execution_event.mock.ts b/x-pack/plugins/security_solution/common/api/detection_engine/rule_monitoring/model/execution_event.mock.ts similarity index 100% rename from x-pack/plugins/security_solution/common/detection_engine/rule_monitoring/model/execution_event.mock.ts rename to x-pack/plugins/security_solution/common/api/detection_engine/rule_monitoring/model/execution_event.mock.ts diff --git a/x-pack/plugins/security_solution/common/detection_engine/rule_monitoring/model/execution_event.ts b/x-pack/plugins/security_solution/common/api/detection_engine/rule_monitoring/model/execution_event.ts similarity index 96% rename from x-pack/plugins/security_solution/common/detection_engine/rule_monitoring/model/execution_event.ts rename to x-pack/plugins/security_solution/common/api/detection_engine/rule_monitoring/model/execution_event.ts index 0e269b39ff8f1..3eaa2ca7efad0 100644 --- a/x-pack/plugins/security_solution/common/detection_engine/rule_monitoring/model/execution_event.ts +++ b/x-pack/plugins/security_solution/common/api/detection_engine/rule_monitoring/model/execution_event.ts @@ -7,7 +7,7 @@ import * as t from 'io-ts'; import { enumeration, IsoDateString } from '@kbn/securitysolution-io-ts-types'; -import { enumFromString } from '../../../utils/enum_from_string'; +import { enumFromString } from '../../../../utils/enum_from_string'; import { TLogLevel } from './log_level'; /** diff --git a/x-pack/plugins/security_solution/common/detection_engine/rule_monitoring/model/execution_metrics.ts b/x-pack/plugins/security_solution/common/api/detection_engine/rule_monitoring/model/execution_metrics.ts similarity index 100% rename from x-pack/plugins/security_solution/common/detection_engine/rule_monitoring/model/execution_metrics.ts rename to x-pack/plugins/security_solution/common/api/detection_engine/rule_monitoring/model/execution_metrics.ts diff --git a/x-pack/plugins/security_solution/common/detection_engine/rule_monitoring/model/execution_result.mock.ts b/x-pack/plugins/security_solution/common/api/detection_engine/rule_monitoring/model/execution_result.mock.ts similarity index 100% rename from x-pack/plugins/security_solution/common/detection_engine/rule_monitoring/model/execution_result.mock.ts rename to x-pack/plugins/security_solution/common/api/detection_engine/rule_monitoring/model/execution_result.mock.ts diff --git a/x-pack/plugins/security_solution/common/detection_engine/rule_monitoring/model/execution_result.ts b/x-pack/plugins/security_solution/common/api/detection_engine/rule_monitoring/model/execution_result.ts similarity index 100% rename from x-pack/plugins/security_solution/common/detection_engine/rule_monitoring/model/execution_result.ts rename to x-pack/plugins/security_solution/common/api/detection_engine/rule_monitoring/model/execution_result.ts diff --git a/x-pack/plugins/security_solution/common/detection_engine/rule_monitoring/model/execution_settings.ts b/x-pack/plugins/security_solution/common/api/detection_engine/rule_monitoring/model/execution_settings.ts similarity index 100% rename from x-pack/plugins/security_solution/common/detection_engine/rule_monitoring/model/execution_settings.ts rename to x-pack/plugins/security_solution/common/api/detection_engine/rule_monitoring/model/execution_settings.ts diff --git a/x-pack/plugins/security_solution/common/detection_engine/rule_monitoring/model/execution_status.ts b/x-pack/plugins/security_solution/common/api/detection_engine/rule_monitoring/model/execution_status.ts similarity index 98% rename from x-pack/plugins/security_solution/common/detection_engine/rule_monitoring/model/execution_status.ts rename to x-pack/plugins/security_solution/common/api/detection_engine/rule_monitoring/model/execution_status.ts index af5049c8f9bf0..1e95e3a812054 100644 --- a/x-pack/plugins/security_solution/common/detection_engine/rule_monitoring/model/execution_status.ts +++ b/x-pack/plugins/security_solution/common/api/detection_engine/rule_monitoring/model/execution_status.ts @@ -8,7 +8,7 @@ import type * as t from 'io-ts'; import { enumeration, PositiveInteger } from '@kbn/securitysolution-io-ts-types'; import type { RuleLastRunOutcomes } from '@kbn/alerting-plugin/common'; -import { assertUnreachable } from '../../../utility_types'; +import { assertUnreachable } from '../../../../utility_types'; /** * Custom execution status of Security rules that is different from the status diff --git a/x-pack/plugins/security_solution/common/detection_engine/rule_monitoring/model/execution_summary.mock.ts b/x-pack/plugins/security_solution/common/api/detection_engine/rule_monitoring/model/execution_summary.mock.ts similarity index 100% rename from x-pack/plugins/security_solution/common/detection_engine/rule_monitoring/model/execution_summary.mock.ts rename to x-pack/plugins/security_solution/common/api/detection_engine/rule_monitoring/model/execution_summary.mock.ts diff --git a/x-pack/plugins/security_solution/common/detection_engine/rule_monitoring/model/execution_summary.ts b/x-pack/plugins/security_solution/common/api/detection_engine/rule_monitoring/model/execution_summary.ts similarity index 100% rename from x-pack/plugins/security_solution/common/detection_engine/rule_monitoring/model/execution_summary.ts rename to x-pack/plugins/security_solution/common/api/detection_engine/rule_monitoring/model/execution_summary.ts diff --git a/x-pack/plugins/security_solution/common/api/detection_engine/rule_monitoring/model/index.ts b/x-pack/plugins/security_solution/common/api/detection_engine/rule_monitoring/model/index.ts new file mode 100644 index 0000000000000..b486b9d80957a --- /dev/null +++ b/x-pack/plugins/security_solution/common/api/detection_engine/rule_monitoring/model/index.ts @@ -0,0 +1,14 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +export * from './execution_event'; +export * from './execution_metrics'; +export * from './execution_result'; +export * from './execution_settings'; +export * from './execution_status'; +export * from './execution_summary'; +export * from './log_level'; diff --git a/x-pack/plugins/security_solution/common/detection_engine/rule_monitoring/model/log_level.ts b/x-pack/plugins/security_solution/common/api/detection_engine/rule_monitoring/model/log_level.ts similarity index 93% rename from x-pack/plugins/security_solution/common/detection_engine/rule_monitoring/model/log_level.ts rename to x-pack/plugins/security_solution/common/api/detection_engine/rule_monitoring/model/log_level.ts index b37ce62ad4891..9add3b46b3ef3 100644 --- a/x-pack/plugins/security_solution/common/detection_engine/rule_monitoring/model/log_level.ts +++ b/x-pack/plugins/security_solution/common/api/detection_engine/rule_monitoring/model/log_level.ts @@ -6,8 +6,8 @@ */ import { enumeration } from '@kbn/securitysolution-io-ts-types'; -import { enumFromString } from '../../../utils/enum_from_string'; -import { assertUnreachable } from '../../../utility_types'; +import { enumFromString } from '../../../../utils/enum_from_string'; +import { assertUnreachable } from '../../../../utility_types'; import { RuleExecutionStatus } from './execution_status'; export enum LogLevel { diff --git a/x-pack/plugins/security_solution/common/detection_engine/rule_monitoring/api/rule_execution_logs/get_rule_execution_events_schemas.mock.ts b/x-pack/plugins/security_solution/common/api/detection_engine/rule_monitoring/rule_execution_logs/get_rule_execution_events/get_rule_execution_events_route.mock.ts similarity index 96% rename from x-pack/plugins/security_solution/common/detection_engine/rule_monitoring/api/rule_execution_logs/get_rule_execution_events_schemas.mock.ts rename to x-pack/plugins/security_solution/common/api/detection_engine/rule_monitoring/rule_execution_logs/get_rule_execution_events/get_rule_execution_events_route.mock.ts index 4d647b5f10094..b46f8d9b13870 100644 --- a/x-pack/plugins/security_solution/common/detection_engine/rule_monitoring/api/rule_execution_logs/get_rule_execution_events_schemas.mock.ts +++ b/x-pack/plugins/security_solution/common/api/detection_engine/rule_monitoring/rule_execution_logs/get_rule_execution_events/get_rule_execution_events_route.mock.ts @@ -6,7 +6,7 @@ */ import { ruleExecutionEventMock } from '../../model/execution_event.mock'; -import type { GetRuleExecutionEventsResponse } from './get_rule_execution_events_schemas'; +import type { GetRuleExecutionEventsResponse } from './get_rule_execution_events_route'; const getSomeResponse = (): GetRuleExecutionEventsResponse => { const events = ruleExecutionEventMock.getSomeEvents(); diff --git a/x-pack/plugins/security_solution/common/detection_engine/rule_monitoring/api/rule_execution_logs/get_rule_execution_events_schemas.test.ts b/x-pack/plugins/security_solution/common/api/detection_engine/rule_monitoring/rule_execution_logs/get_rule_execution_events/get_rule_execution_events_route.test.ts similarity index 99% rename from x-pack/plugins/security_solution/common/detection_engine/rule_monitoring/api/rule_execution_logs/get_rule_execution_events_schemas.test.ts rename to x-pack/plugins/security_solution/common/api/detection_engine/rule_monitoring/rule_execution_logs/get_rule_execution_events/get_rule_execution_events_route.test.ts index 89b7b992fbbad..ecf94032039ac 100644 --- a/x-pack/plugins/security_solution/common/detection_engine/rule_monitoring/api/rule_execution_logs/get_rule_execution_events_schemas.test.ts +++ b/x-pack/plugins/security_solution/common/api/detection_engine/rule_monitoring/rule_execution_logs/get_rule_execution_events/get_rule_execution_events_route.test.ts @@ -12,7 +12,7 @@ import { foldLeftRight, getPaths } from '@kbn/securitysolution-io-ts-utils'; import { GetRuleExecutionEventsRequestParams, GetRuleExecutionEventsRequestQuery, -} from './get_rule_execution_events_schemas'; +} from './get_rule_execution_events_route'; describe('Request schema of Get rule execution events', () => { describe('GetRuleExecutionEventsRequestParams', () => { diff --git a/x-pack/plugins/security_solution/common/detection_engine/rule_monitoring/api/rule_execution_logs/get_rule_execution_events_schemas.ts b/x-pack/plugins/security_solution/common/api/detection_engine/rule_monitoring/rule_execution_logs/get_rule_execution_events/get_rule_execution_events_route.ts similarity index 90% rename from x-pack/plugins/security_solution/common/detection_engine/rule_monitoring/api/rule_execution_logs/get_rule_execution_events_schemas.ts rename to x-pack/plugins/security_solution/common/api/detection_engine/rule_monitoring/rule_execution_logs/get_rule_execution_events/get_rule_execution_events_route.ts index 8c3c76e2286d9..9f5bd8d273efc 100644 --- a/x-pack/plugins/security_solution/common/detection_engine/rule_monitoring/api/rule_execution_logs/get_rule_execution_events_schemas.ts +++ b/x-pack/plugins/security_solution/common/api/detection_engine/rule_monitoring/rule_execution_logs/get_rule_execution_events/get_rule_execution_events_route.ts @@ -10,9 +10,8 @@ import * as t from 'io-ts'; import { DefaultPerPage, DefaultPage } from '@kbn/securitysolution-io-ts-alerting-types'; import { defaultCsvArray, NonEmptyString } from '@kbn/securitysolution-io-ts-types'; -import { DefaultSortOrderDesc, PaginationResult } from '../../../schemas/common'; -import { RuleExecutionEvent, TRuleExecutionEventType } from '../../model/execution_event'; -import { TLogLevel } from '../../model/log_level'; +import { DefaultSortOrderDesc, PaginationResult } from '../../../model'; +import { RuleExecutionEvent, TRuleExecutionEventType, TLogLevel } from '../../model'; /** * URL path parameters of the API route. diff --git a/x-pack/plugins/security_solution/common/detection_engine/rule_monitoring/api/rule_execution_logs/get_rule_execution_results_schemas.mock.ts b/x-pack/plugins/security_solution/common/api/detection_engine/rule_monitoring/rule_execution_logs/get_rule_execution_results/get_rule_execution_results_route.mock.ts similarity index 95% rename from x-pack/plugins/security_solution/common/detection_engine/rule_monitoring/api/rule_execution_logs/get_rule_execution_results_schemas.mock.ts rename to x-pack/plugins/security_solution/common/api/detection_engine/rule_monitoring/rule_execution_logs/get_rule_execution_results/get_rule_execution_results_route.mock.ts index b8e323e6fb1f3..9584616343332 100644 --- a/x-pack/plugins/security_solution/common/detection_engine/rule_monitoring/api/rule_execution_logs/get_rule_execution_results_schemas.mock.ts +++ b/x-pack/plugins/security_solution/common/api/detection_engine/rule_monitoring/rule_execution_logs/get_rule_execution_results/get_rule_execution_results_route.mock.ts @@ -6,7 +6,7 @@ */ import { ruleExecutionResultMock } from '../../model/execution_result.mock'; -import type { GetRuleExecutionResultsResponse } from './get_rule_execution_results_schemas'; +import type { GetRuleExecutionResultsResponse } from './get_rule_execution_results_route'; const getSomeResponse = (): GetRuleExecutionResultsResponse => { const results = ruleExecutionResultMock.getSomeResults(); diff --git a/x-pack/plugins/security_solution/common/detection_engine/rule_monitoring/api/rule_execution_logs/get_rule_execution_results_schemas.test.ts b/x-pack/plugins/security_solution/common/api/detection_engine/rule_monitoring/rule_execution_logs/get_rule_execution_results/get_rule_execution_results_route.test.ts similarity index 99% rename from x-pack/plugins/security_solution/common/detection_engine/rule_monitoring/api/rule_execution_logs/get_rule_execution_results_schemas.test.ts rename to x-pack/plugins/security_solution/common/api/detection_engine/rule_monitoring/rule_execution_logs/get_rule_execution_results/get_rule_execution_results_route.test.ts index 375047b935d24..53ed03003487e 100644 --- a/x-pack/plugins/security_solution/common/detection_engine/rule_monitoring/api/rule_execution_logs/get_rule_execution_results_schemas.test.ts +++ b/x-pack/plugins/security_solution/common/api/detection_engine/rule_monitoring/rule_execution_logs/get_rule_execution_results/get_rule_execution_results_route.test.ts @@ -13,7 +13,7 @@ import { RULE_EXECUTION_STATUSES } from '../../model/execution_status'; import { DefaultSortField, DefaultRuleExecutionStatusCsvArray, -} from './get_rule_execution_results_schemas'; +} from './get_rule_execution_results_route'; describe('Request schema of Get rule execution results', () => { describe('DefaultRuleExecutionStatusCsvArray', () => { diff --git a/x-pack/plugins/security_solution/common/detection_engine/rule_monitoring/api/rule_execution_logs/get_rule_execution_results_schemas.ts b/x-pack/plugins/security_solution/common/api/detection_engine/rule_monitoring/rule_execution_logs/get_rule_execution_results/get_rule_execution_results_route.ts similarity index 91% rename from x-pack/plugins/security_solution/common/detection_engine/rule_monitoring/api/rule_execution_logs/get_rule_execution_results_schemas.ts rename to x-pack/plugins/security_solution/common/api/detection_engine/rule_monitoring/rule_execution_logs/get_rule_execution_results/get_rule_execution_results_route.ts index e2cec9b7a3b29..56370acbce5bd 100644 --- a/x-pack/plugins/security_solution/common/detection_engine/rule_monitoring/api/rule_execution_logs/get_rule_execution_results_schemas.ts +++ b/x-pack/plugins/security_solution/common/api/detection_engine/rule_monitoring/rule_execution_logs/get_rule_execution_results/get_rule_execution_results_route.ts @@ -16,9 +16,12 @@ import { NonEmptyString, } from '@kbn/securitysolution-io-ts-types'; -import { DefaultSortOrderDesc } from '../../../schemas/common'; -import { RuleExecutionResult, SortFieldOfRuleExecutionResult } from '../../model/execution_result'; -import { TRuleExecutionStatus } from '../../model/execution_status'; +import { DefaultSortOrderDesc } from '../../../model'; +import { + RuleExecutionResult, + SortFieldOfRuleExecutionResult, + TRuleExecutionStatus, +} from '../../model'; /** * Types the DefaultRuleExecutionStatusCsvArray as: diff --git a/x-pack/plugins/security_solution/common/detection_engine/rule_monitoring/api/urls.ts b/x-pack/plugins/security_solution/common/api/detection_engine/rule_monitoring/urls.ts similarity index 100% rename from x-pack/plugins/security_solution/common/detection_engine/rule_monitoring/api/urls.ts rename to x-pack/plugins/security_solution/common/api/detection_engine/rule_monitoring/urls.ts diff --git a/x-pack/plugins/security_solution/common/detection_engine/prebuilt_rules/index.ts b/x-pack/plugins/security_solution/common/api/detection_engine/signals/index.ts similarity index 57% rename from x-pack/plugins/security_solution/common/detection_engine/prebuilt_rules/index.ts rename to x-pack/plugins/security_solution/common/api/detection_engine/signals/index.ts index 20669682c63f9..636728ee2525d 100644 --- a/x-pack/plugins/security_solution/common/detection_engine/prebuilt_rules/index.ts +++ b/x-pack/plugins/security_solution/common/api/detection_engine/signals/index.ts @@ -5,6 +5,6 @@ * 2.0. */ -export * from './api/get_prebuilt_rules_and_timelines_status/response_schema'; -export * from './api/install_prebuilt_rules_and_timelines/response_schema'; -export * from './api/urls'; +export * from './query_signals/query_signals_route'; +export * from './set_signal_status/set_signal_status_route'; +export * from './set_signal_status/set_signal_status_type_dependents'; diff --git a/x-pack/plugins/security_solution/common/detection_engine/schemas/request/query_signals_index_schema.test.ts b/x-pack/plugins/security_solution/common/api/detection_engine/signals/query_signals/query_signals_route.test.ts similarity index 96% rename from x-pack/plugins/security_solution/common/detection_engine/schemas/request/query_signals_index_schema.test.ts rename to x-pack/plugins/security_solution/common/api/detection_engine/signals/query_signals/query_signals_route.test.ts index 41677055d6adf..6afdc9a07e8ab 100644 --- a/x-pack/plugins/security_solution/common/detection_engine/schemas/request/query_signals_index_schema.test.ts +++ b/x-pack/plugins/security_solution/common/api/detection_engine/signals/query_signals/query_signals_route.test.ts @@ -5,8 +5,8 @@ * 2.0. */ -import type { QuerySignalsSchema } from './query_signals_index_schema'; -import { querySignalsSchema } from './query_signals_index_schema'; +import type { QuerySignalsSchema } from './query_signals_route'; +import { querySignalsSchema } from './query_signals_route'; import { exactCheck, foldLeftRight, getPaths } from '@kbn/securitysolution-io-ts-utils'; import { pipe } from 'fp-ts/lib/pipeable'; import { left } from 'fp-ts/lib/Either'; diff --git a/x-pack/plugins/security_solution/common/detection_engine/schemas/request/query_signals_index_schema.ts b/x-pack/plugins/security_solution/common/api/detection_engine/signals/query_signals/query_signals_route.ts similarity index 100% rename from x-pack/plugins/security_solution/common/detection_engine/schemas/request/query_signals_index_schema.ts rename to x-pack/plugins/security_solution/common/api/detection_engine/signals/query_signals/query_signals_route.ts diff --git a/x-pack/plugins/security_solution/common/detection_engine/schemas/request/set_signal_status_schema.test.ts b/x-pack/plugins/security_solution/common/api/detection_engine/signals/set_signal_status/set_signal_status_route.test.ts similarity index 97% rename from x-pack/plugins/security_solution/common/detection_engine/schemas/request/set_signal_status_schema.test.ts rename to x-pack/plugins/security_solution/common/api/detection_engine/signals/set_signal_status/set_signal_status_route.test.ts index ef5353c91213c..3f9e432fbc4f9 100644 --- a/x-pack/plugins/security_solution/common/detection_engine/schemas/request/set_signal_status_schema.test.ts +++ b/x-pack/plugins/security_solution/common/api/detection_engine/signals/set_signal_status/set_signal_status_route.test.ts @@ -5,8 +5,8 @@ * 2.0. */ -import type { SetSignalsStatusSchema } from './set_signal_status_schema'; -import { setSignalsStatusSchema } from './set_signal_status_schema'; +import type { SetSignalsStatusSchema } from './set_signal_status_route'; +import { setSignalsStatusSchema } from './set_signal_status_route'; import { exactCheck, foldLeftRight, getPaths } from '@kbn/securitysolution-io-ts-utils'; import { pipe } from 'fp-ts/lib/pipeable'; import { left } from 'fp-ts/lib/Either'; diff --git a/x-pack/plugins/security_solution/common/detection_engine/schemas/request/set_signal_status_schema.ts b/x-pack/plugins/security_solution/common/api/detection_engine/signals/set_signal_status/set_signal_status_route.ts similarity index 96% rename from x-pack/plugins/security_solution/common/detection_engine/schemas/request/set_signal_status_schema.ts rename to x-pack/plugins/security_solution/common/api/detection_engine/signals/set_signal_status/set_signal_status_route.ts index e6f07f973a098..78d62031d5eb3 100644 --- a/x-pack/plugins/security_solution/common/detection_engine/schemas/request/set_signal_status_schema.ts +++ b/x-pack/plugins/security_solution/common/api/detection_engine/signals/set_signal_status/set_signal_status_route.ts @@ -7,7 +7,7 @@ import * as t from 'io-ts'; -import { conflicts, signal_ids, signal_status_query, status } from '../common/schemas'; +import { conflicts, signal_ids, signal_status_query, status } from '../../model'; export const setSignalsStatusSchema = t.intersection([ t.type({ diff --git a/x-pack/plugins/security_solution/common/detection_engine/schemas/request/set_signal_status_type_dependents.test.ts b/x-pack/plugins/security_solution/common/api/detection_engine/signals/set_signal_status/set_signal_status_type_dependents.test.ts similarity index 99% rename from x-pack/plugins/security_solution/common/detection_engine/schemas/request/set_signal_status_type_dependents.test.ts rename to x-pack/plugins/security_solution/common/api/detection_engine/signals/set_signal_status/set_signal_status_type_dependents.test.ts index efe5e6cedd303..97cf74435c294 100644 --- a/x-pack/plugins/security_solution/common/detection_engine/schemas/request/set_signal_status_type_dependents.test.ts +++ b/x-pack/plugins/security_solution/common/api/detection_engine/signals/set_signal_status/set_signal_status_type_dependents.test.ts @@ -6,7 +6,7 @@ */ import { setSignalStatusValidateTypeDependents } from './set_signal_status_type_dependents'; -import type { SetSignalsStatusSchema } from './set_signal_status_schema'; +import type { SetSignalsStatusSchema } from './set_signal_status_route'; describe('update_rules_type_dependents', () => { test('You can have just a "signals_id"', () => { diff --git a/x-pack/plugins/security_solution/common/detection_engine/schemas/request/set_signal_status_type_dependents.ts b/x-pack/plugins/security_solution/common/api/detection_engine/signals/set_signal_status/set_signal_status_type_dependents.ts similarity index 98% rename from x-pack/plugins/security_solution/common/detection_engine/schemas/request/set_signal_status_type_dependents.ts rename to x-pack/plugins/security_solution/common/api/detection_engine/signals/set_signal_status/set_signal_status_type_dependents.ts index 38ec66493ea39..a484fde33d107 100644 --- a/x-pack/plugins/security_solution/common/detection_engine/schemas/request/set_signal_status_type_dependents.ts +++ b/x-pack/plugins/security_solution/common/api/detection_engine/signals/set_signal_status/set_signal_status_type_dependents.ts @@ -5,7 +5,7 @@ * 2.0. */ -import type { SetSignalsStatusSchema } from './set_signal_status_schema'; +import type { SetSignalsStatusSchema } from './set_signal_status_route'; export const validateId = (signalStatus: SetSignalsStatusSchema): string[] => { if (signalStatus.signal_ids != null && signalStatus.query != null) { diff --git a/x-pack/plugins/security_solution/common/detection_engine/schemas/request/create_signals_migration_schema.mock.ts b/x-pack/plugins/security_solution/common/api/detection_engine/signals_migration/create_signals_migration/create_signals_migration_route.mock.ts similarity index 95% rename from x-pack/plugins/security_solution/common/detection_engine/schemas/request/create_signals_migration_schema.mock.ts rename to x-pack/plugins/security_solution/common/api/detection_engine/signals_migration/create_signals_migration/create_signals_migration_route.mock.ts index 19b409e8eab95..ccb5543ef72d2 100644 --- a/x-pack/plugins/security_solution/common/detection_engine/schemas/request/create_signals_migration_schema.mock.ts +++ b/x-pack/plugins/security_solution/common/api/detection_engine/signals_migration/create_signals_migration/create_signals_migration_route.mock.ts @@ -5,7 +5,7 @@ * 2.0. */ -import type { CreateSignalsMigrationSchema } from './create_signals_migration_schema'; +import type { CreateSignalsMigrationSchema } from './create_signals_migration_route'; export const getCreateSignalsMigrationSchemaMock = ( index: string = 'signals-index' diff --git a/x-pack/plugins/security_solution/common/detection_engine/schemas/request/create_signals_migration_schema.ts b/x-pack/plugins/security_solution/common/api/detection_engine/signals_migration/create_signals_migration/create_signals_migration_route.ts similarity index 94% rename from x-pack/plugins/security_solution/common/detection_engine/schemas/request/create_signals_migration_schema.ts rename to x-pack/plugins/security_solution/common/api/detection_engine/signals_migration/create_signals_migration/create_signals_migration_route.ts index 1eba4855bf0d3..cb67964ea7745 100644 --- a/x-pack/plugins/security_solution/common/detection_engine/schemas/request/create_signals_migration_schema.ts +++ b/x-pack/plugins/security_solution/common/api/detection_engine/signals_migration/create_signals_migration/create_signals_migration_route.ts @@ -8,7 +8,7 @@ import * as t from 'io-ts'; import { PositiveInteger, PositiveIntegerGreaterThanZero } from '@kbn/securitysolution-io-ts-types'; -import { IndexPatternArray } from '../../rule_schema'; +import { IndexPatternArray } from '../../model'; export const signalsReindexOptions = t.partial({ requests_per_second: t.number, diff --git a/x-pack/plugins/security_solution/common/detection_engine/schemas/request/delete_signals_migration_schema.ts b/x-pack/plugins/security_solution/common/api/detection_engine/signals_migration/delete_signals_migration/delete_signals_migration_route.ts similarity index 100% rename from x-pack/plugins/security_solution/common/detection_engine/schemas/request/delete_signals_migration_schema.ts rename to x-pack/plugins/security_solution/common/api/detection_engine/signals_migration/delete_signals_migration/delete_signals_migration_route.ts diff --git a/x-pack/plugins/security_solution/common/detection_engine/schemas/request/finalize_signals_migration_schema.mock.ts b/x-pack/plugins/security_solution/common/api/detection_engine/signals_migration/finalize_signals_migration/finalize_signals_migration_route.mock.ts similarity index 94% rename from x-pack/plugins/security_solution/common/detection_engine/schemas/request/finalize_signals_migration_schema.mock.ts rename to x-pack/plugins/security_solution/common/api/detection_engine/signals_migration/finalize_signals_migration/finalize_signals_migration_route.mock.ts index b6b7a54cd533b..25d66c5b68d09 100644 --- a/x-pack/plugins/security_solution/common/detection_engine/schemas/request/finalize_signals_migration_schema.mock.ts +++ b/x-pack/plugins/security_solution/common/api/detection_engine/signals_migration/finalize_signals_migration/finalize_signals_migration_route.mock.ts @@ -5,7 +5,7 @@ * 2.0. */ -import type { FinalizeSignalsMigrationSchema } from './finalize_signals_migration_schema'; +import type { FinalizeSignalsMigrationSchema } from './finalize_signals_migration_route'; export const getFinalizeSignalsMigrationSchemaMock = (): FinalizeSignalsMigrationSchema => ({ migration_ids: ['migrationSOIdentifier'], diff --git a/x-pack/plugins/security_solution/common/detection_engine/schemas/request/finalize_signals_migration_schema.ts b/x-pack/plugins/security_solution/common/api/detection_engine/signals_migration/finalize_signals_migration/finalize_signals_migration_route.ts similarity index 100% rename from x-pack/plugins/security_solution/common/detection_engine/schemas/request/finalize_signals_migration_schema.ts rename to x-pack/plugins/security_solution/common/api/detection_engine/signals_migration/finalize_signals_migration/finalize_signals_migration_route.ts diff --git a/x-pack/plugins/security_solution/common/detection_engine/schemas/request/get_signals_migration_status_schema.mock.ts b/x-pack/plugins/security_solution/common/api/detection_engine/signals_migration/get_signals_migration_status/get_signals_migration_status_route.mock.ts similarity index 93% rename from x-pack/plugins/security_solution/common/detection_engine/schemas/request/get_signals_migration_status_schema.mock.ts rename to x-pack/plugins/security_solution/common/api/detection_engine/signals_migration/get_signals_migration_status/get_signals_migration_status_route.mock.ts index 0de1cf9ea8456..8cc78ffa9700e 100644 --- a/x-pack/plugins/security_solution/common/detection_engine/schemas/request/get_signals_migration_status_schema.mock.ts +++ b/x-pack/plugins/security_solution/common/api/detection_engine/signals_migration/get_signals_migration_status/get_signals_migration_status_route.mock.ts @@ -5,7 +5,7 @@ * 2.0. */ -import type { GetSignalsMigrationStatusSchema } from './get_signals_migration_status_schema'; +import type { GetSignalsMigrationStatusSchema } from './get_signals_migration_status_route'; export const getSignalsMigrationStatusSchemaMock = (): GetSignalsMigrationStatusSchema => ({ from: 'now-30d', diff --git a/x-pack/plugins/security_solution/common/detection_engine/schemas/request/get_signals_migration_status_schema.ts b/x-pack/plugins/security_solution/common/api/detection_engine/signals_migration/get_signals_migration_status/get_signals_migration_status_route.ts similarity index 100% rename from x-pack/plugins/security_solution/common/detection_engine/schemas/request/get_signals_migration_status_schema.ts rename to x-pack/plugins/security_solution/common/api/detection_engine/signals_migration/get_signals_migration_status/get_signals_migration_status_route.ts diff --git a/x-pack/plugins/security_solution/common/api/detection_engine/signals_migration/index.ts b/x-pack/plugins/security_solution/common/api/detection_engine/signals_migration/index.ts new file mode 100644 index 0000000000000..78452dc62f46c --- /dev/null +++ b/x-pack/plugins/security_solution/common/api/detection_engine/signals_migration/index.ts @@ -0,0 +1,11 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +export * from './create_signals_migration/create_signals_migration_route'; +export * from './delete_signals_migration/delete_signals_migration_route'; +export * from './finalize_signals_migration/finalize_signals_migration_route'; +export * from './get_signals_migration_status/get_signals_migration_status_route'; diff --git a/x-pack/plugins/security_solution/common/detection_engine/rule_management/mocks.ts b/x-pack/plugins/security_solution/common/api/detection_engine/signals_migration/mocks.ts similarity index 50% rename from x-pack/plugins/security_solution/common/detection_engine/rule_management/mocks.ts rename to x-pack/plugins/security_solution/common/api/detection_engine/signals_migration/mocks.ts index 6827236f8dcbf..90713ec3a1881 100644 --- a/x-pack/plugins/security_solution/common/detection_engine/rule_management/mocks.ts +++ b/x-pack/plugins/security_solution/common/api/detection_engine/signals_migration/mocks.ts @@ -5,8 +5,6 @@ * 2.0. */ -export * from './api/rules/bulk_actions/request_schema.mock'; -export * from './api/rules/crud/patch_rule/request_schema.mock'; - -export * from './model/export/export_rules_details_schema.mock'; -export * from './model/import/rule_to_import.mock'; +export * from './create_signals_migration/create_signals_migration_route.mock'; +export * from './finalize_signals_migration/finalize_signals_migration_route.mock'; +export * from './get_signals_migration_status/get_signals_migration_status_route.mock'; diff --git a/x-pack/plugins/security_solution/server/lib/timeline/schemas/draft_timelines/clean_draft_timelines_schema.ts b/x-pack/plugins/security_solution/common/api/timeline/clean_draft_timelines/clean_draft_timelines_route.ts similarity index 82% rename from x-pack/plugins/security_solution/server/lib/timeline/schemas/draft_timelines/clean_draft_timelines_schema.ts rename to x-pack/plugins/security_solution/common/api/timeline/clean_draft_timelines/clean_draft_timelines_route.ts index 7dd0de2258a6b..fd967824370ea 100644 --- a/x-pack/plugins/security_solution/server/lib/timeline/schemas/draft_timelines/clean_draft_timelines_schema.ts +++ b/x-pack/plugins/security_solution/common/api/timeline/clean_draft_timelines/clean_draft_timelines_route.ts @@ -7,7 +7,7 @@ import * as rt from 'io-ts'; -import { TimelineTypeLiteralRt } from '../../../../../common/types/timeline/api'; +import { TimelineTypeLiteralRt } from '../model/api'; export const cleanDraftTimelineSchema = rt.type({ timelineType: TimelineTypeLiteralRt, diff --git a/x-pack/plugins/security_solution/server/lib/timeline/schemas/timelines/create_timelines_schema.ts b/x-pack/plugins/security_solution/common/api/timeline/create_timelines/create_timelines_route.ts similarity index 77% rename from x-pack/plugins/security_solution/server/lib/timeline/schemas/timelines/create_timelines_schema.ts rename to x-pack/plugins/security_solution/common/api/timeline/create_timelines/create_timelines_route.ts index 800fba1477c41..1911df3941a35 100644 --- a/x-pack/plugins/security_solution/server/lib/timeline/schemas/timelines/create_timelines_schema.ts +++ b/x-pack/plugins/security_solution/common/api/timeline/create_timelines/create_timelines_route.ts @@ -7,12 +7,13 @@ import * as rt from 'io-ts'; +import type { ResponseTimeline } from '../model/api'; import { SavedTimelineRuntimeType, TimelineStatusLiteralRt, TimelineTypeLiteralRt, -} from '../../../../../common/types/timeline/api'; -import { unionWithNullType } from '../../../../../common/utility_types'; +} from '../model/api'; +import { unionWithNullType } from '../../../utility_types'; export const createTimelineSchema = rt.intersection([ rt.type({ @@ -27,3 +28,9 @@ export const createTimelineSchema = rt.intersection([ version: unionWithNullType(rt.string), }), ]); + +export interface CreateTimelinesResponse { + data: { + persistTimeline: ResponseTimeline; + }; +} diff --git a/x-pack/plugins/security_solution/common/api/timeline/delete_note/delete_note_route.ts b/x-pack/plugins/security_solution/common/api/timeline/delete_note/delete_note_route.ts new file mode 100644 index 0000000000000..af5dbaf394d81 --- /dev/null +++ b/x-pack/plugins/security_solution/common/api/timeline/delete_note/delete_note_route.ts @@ -0,0 +1,13 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import * as runtimeTypes from 'io-ts'; +import { unionWithNullType } from '../../../utility_types'; + +export const deleteNoteSchema = runtimeTypes.partial({ + noteId: unionWithNullType(runtimeTypes.string), +}); diff --git a/x-pack/plugins/security_solution/server/lib/timeline/schemas/timelines/delete_timelines_schema.ts b/x-pack/plugins/security_solution/common/api/timeline/delete_timelines/delete_timelines_route.ts similarity index 100% rename from x-pack/plugins/security_solution/server/lib/timeline/schemas/timelines/delete_timelines_schema.ts rename to x-pack/plugins/security_solution/common/api/timeline/delete_timelines/delete_timelines_route.ts diff --git a/x-pack/plugins/security_solution/server/lib/timeline/schemas/timelines/export_timelines_schema.ts b/x-pack/plugins/security_solution/common/api/timeline/export_timelines/export_timelines_route.ts similarity index 86% rename from x-pack/plugins/security_solution/server/lib/timeline/schemas/timelines/export_timelines_schema.ts rename to x-pack/plugins/security_solution/common/api/timeline/export_timelines/export_timelines_route.ts index 778e692b2c0ed..cc391a47e0b9e 100644 --- a/x-pack/plugins/security_solution/server/lib/timeline/schemas/timelines/export_timelines_schema.ts +++ b/x-pack/plugins/security_solution/common/api/timeline/export_timelines/export_timelines_route.ts @@ -6,7 +6,7 @@ */ import * as rt from 'io-ts'; -import { unionWithNullType } from '../../../../../common/utility_types'; +import { unionWithNullType } from '../../../utility_types'; export const exportTimelinesQuerySchema = rt.type({ file_name: rt.string, diff --git a/x-pack/plugins/security_solution/server/lib/timeline/schemas/draft_timelines/get_draft_timelines_schema.ts b/x-pack/plugins/security_solution/common/api/timeline/get_draft_timelines/get_draft_timelines_route.ts similarity index 82% rename from x-pack/plugins/security_solution/server/lib/timeline/schemas/draft_timelines/get_draft_timelines_schema.ts rename to x-pack/plugins/security_solution/common/api/timeline/get_draft_timelines/get_draft_timelines_route.ts index d995bcedbfb2b..13625715289f6 100644 --- a/x-pack/plugins/security_solution/server/lib/timeline/schemas/draft_timelines/get_draft_timelines_schema.ts +++ b/x-pack/plugins/security_solution/common/api/timeline/get_draft_timelines/get_draft_timelines_route.ts @@ -7,7 +7,7 @@ import * as rt from 'io-ts'; -import { TimelineTypeLiteralRt } from '../../../../../common/types/timeline/api'; +import { TimelineTypeLiteralRt } from '../model/api'; export const getDraftTimelineSchema = rt.type({ timelineType: TimelineTypeLiteralRt, diff --git a/x-pack/plugins/security_solution/server/lib/timeline/schemas/timelines/get_timeline_schema.ts b/x-pack/plugins/security_solution/common/api/timeline/get_timeline/get_timeline_route.ts similarity index 100% rename from x-pack/plugins/security_solution/server/lib/timeline/schemas/timelines/get_timeline_schema.ts rename to x-pack/plugins/security_solution/common/api/timeline/get_timeline/get_timeline_route.ts diff --git a/x-pack/plugins/security_solution/server/lib/timeline/schemas/timelines/get_timelines_schema.ts b/x-pack/plugins/security_solution/common/api/timeline/get_timelines/get_timelines_route.ts similarity index 87% rename from x-pack/plugins/security_solution/server/lib/timeline/schemas/timelines/get_timelines_schema.ts rename to x-pack/plugins/security_solution/common/api/timeline/get_timelines/get_timelines_route.ts index 3fedcab33d83d..9f35197358aea 100644 --- a/x-pack/plugins/security_solution/server/lib/timeline/schemas/timelines/get_timelines_schema.ts +++ b/x-pack/plugins/security_solution/common/api/timeline/get_timelines/get_timelines_route.ts @@ -11,8 +11,8 @@ import { sortFieldTimeline, TimelineStatusLiteralRt, TimelineTypeLiteralRt, -} from '../../../../../common/types/timeline/api'; -import { unionWithNullType } from '../../../../../common/utility_types'; +} from '../model/api'; +import { unionWithNullType } from '../../../utility_types'; const BoolFromString = rt.union([rt.literal('true'), rt.literal('false')]); diff --git a/x-pack/plugins/security_solution/server/lib/timeline/schemas/timelines/import_timelines_schema.ts b/x-pack/plugins/security_solution/common/api/timeline/import_timelines/import_timelines_route.ts similarity index 78% rename from x-pack/plugins/security_solution/server/lib/timeline/schemas/timelines/import_timelines_schema.ts rename to x-pack/plugins/security_solution/common/api/timeline/import_timelines/import_timelines_route.ts index 3858f3886084f..ecd40bab9476b 100644 --- a/x-pack/plugins/security_solution/server/lib/timeline/schemas/timelines/import_timelines_schema.ts +++ b/x-pack/plugins/security_solution/common/api/timeline/import_timelines/import_timelines_route.ts @@ -7,11 +7,13 @@ import * as rt from 'io-ts'; -import { SavedTimelineRuntimeType } from '../../../../../common/types/timeline/api'; -import { unionWithNullType } from '../../../../../common/utility_types'; +import { BareNoteSchema, SavedTimelineRuntimeType } from '../model/api'; +import { unionWithNullType } from '../../../utility_types'; -import { eventNotes, globalNotes } from '../notes'; -import { pinnedEventIds } from '../pinned_events'; +import { pinnedEventIds } from '../pinned_events/pinned_events_route'; + +export const eventNotes = unionWithNullType(rt.array(BareNoteSchema)); +export const globalNotes = unionWithNullType(rt.array(BareNoteSchema)); export const ImportTimelinesSchemaRt = rt.intersection([ SavedTimelineRuntimeType, diff --git a/x-pack/plugins/security_solution/common/api/timeline/index.ts b/x-pack/plugins/security_solution/common/api/timeline/index.ts new file mode 100644 index 0000000000000..4a0858b72fea3 --- /dev/null +++ b/x-pack/plugins/security_solution/common/api/timeline/index.ts @@ -0,0 +1,21 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +export * from './model/api'; +export * from './clean_draft_timelines/clean_draft_timelines_route'; +export * from './get_draft_timelines/get_draft_timelines_route'; +export * from './create_timelines/create_timelines_route'; +export * from './delete_note/delete_note_route'; +export * from './delete_timelines/delete_timelines_route'; +export * from './export_timelines/export_timelines_route'; +export * from './get_timeline/get_timeline_route'; +export * from './get_timelines/get_timelines_route'; +export * from './import_timelines/import_timelines_route'; +export * from './patch_timelines/patch_timelines_schema'; +export * from './persist_favorite/persist_favorite_schema'; +export * from './persist_note/persist_note_route'; +export * from './pinned_events/pinned_events_route'; diff --git a/x-pack/plugins/security_solution/common/types/timeline/api.ts b/x-pack/plugins/security_solution/common/api/timeline/model/api.ts similarity index 92% rename from x-pack/plugins/security_solution/common/types/timeline/api.ts rename to x-pack/plugins/security_solution/common/api/timeline/model/api.ts index 896405d30ac82..230cf122dcbf6 100644 --- a/x-pack/plugins/security_solution/common/types/timeline/api.ts +++ b/x-pack/plugins/security_solution/common/api/timeline/model/api.ts @@ -8,24 +8,61 @@ import * as runtimeTypes from 'io-ts'; import { PositiveInteger } from '@kbn/securitysolution-io-ts-types'; -import { stringEnum, unionWithNullType } from '../../utility_types'; +import { stringEnum, unionWithNullType } from '../../../utility_types'; -import type { Maybe } from '../../search_strategy'; -import { Direction } from '../../search_strategy'; -import type { PinnedEvent } from './pinned_event/api'; -import { PinnedEventRuntimeType } from './pinned_event/api'; +import type { Maybe } from '../../../search_strategy'; +import { Direction } from '../../../search_strategy'; +import type { PinnedEvent } from '../pinned_events/pinned_events_route'; +import { PinnedEventRuntimeType } from '../pinned_events/pinned_events_route'; import { SavedObjectResolveAliasPurpose, SavedObjectResolveAliasTargetId, SavedObjectResolveOutcome, -} from '../../detection_engine/rule_schema'; -import { - success, - success_count as successCount, -} from '../../detection_engine/schemas/common/schemas'; -import { errorSchema } from '../../detection_engine/schemas/response/error_schema'; -import type { Note } from './note/api'; -import { NoteRuntimeType } from './note/api'; +} from '../../detection_engine/model/rule_schema'; +import { errorSchema, success, success_count as successCount } from '../../detection_engine'; + +export const BareNoteSchema = runtimeTypes.intersection([ + runtimeTypes.type({ + timelineId: unionWithNullType(runtimeTypes.string), + }), + runtimeTypes.partial({ + eventId: unionWithNullType(runtimeTypes.string), + note: unionWithNullType(runtimeTypes.string), + created: unionWithNullType(runtimeTypes.number), + createdBy: unionWithNullType(runtimeTypes.string), + updated: unionWithNullType(runtimeTypes.number), + updatedBy: unionWithNullType(runtimeTypes.string), + }), +]); + +export type BareNote = runtimeTypes.TypeOf; + +/** + * This type represents a note type stored in a saved object that does not include any fields that reference + * other saved objects. + */ +export type BareNoteWithoutExternalRefs = Omit; + +export const NoteRuntimeType = runtimeTypes.intersection([ + BareNoteSchema, + runtimeTypes.type({ + noteId: runtimeTypes.string, + version: runtimeTypes.string, + }), + runtimeTypes.partial({ + timelineVersion: unionWithNullType(runtimeTypes.string), + }), +]); + +export type Note = runtimeTypes.TypeOf; + +export interface ResponseNote { + code?: Maybe; + + message?: Maybe; + + note: Note; +} /* * ColumnHeader Types @@ -636,6 +673,7 @@ export interface ResponseTimeline { message?: Maybe; timeline: TimelineResult; } + export interface SortTimeline { sortField: SortFieldTimeline; sortOrder: Direction; diff --git a/x-pack/plugins/security_solution/server/lib/timeline/schemas/timelines/patch_timelines_schema.ts b/x-pack/plugins/security_solution/common/api/timeline/patch_timelines/patch_timelines_schema.ts similarity index 62% rename from x-pack/plugins/security_solution/server/lib/timeline/schemas/timelines/patch_timelines_schema.ts rename to x-pack/plugins/security_solution/common/api/timeline/patch_timelines/patch_timelines_schema.ts index c5061730c3c54..149dc24480d2d 100644 --- a/x-pack/plugins/security_solution/server/lib/timeline/schemas/timelines/patch_timelines_schema.ts +++ b/x-pack/plugins/security_solution/common/api/timeline/patch_timelines/patch_timelines_schema.ts @@ -7,11 +7,18 @@ import * as rt from 'io-ts'; -import { SavedTimelineRuntimeType } from '../../../../../common/types/timeline/api'; -import { unionWithNullType } from '../../../../../common/utility_types'; +import type { ResponseTimeline } from '../model/api'; +import { SavedTimelineRuntimeType } from '../model/api'; +import { unionWithNullType } from '../../../utility_types'; export const patchTimelineSchema = rt.type({ timeline: SavedTimelineRuntimeType, timelineId: unionWithNullType(rt.string), version: unionWithNullType(rt.string), }); + +export interface PatchTimelinesResponse { + data: { + persistTimeline: ResponseTimeline; + }; +} diff --git a/x-pack/plugins/security_solution/server/lib/timeline/schemas/timelines/persist_favorite_schema.ts b/x-pack/plugins/security_solution/common/api/timeline/persist_favorite/persist_favorite_schema.ts similarity index 77% rename from x-pack/plugins/security_solution/server/lib/timeline/schemas/timelines/persist_favorite_schema.ts rename to x-pack/plugins/security_solution/common/api/timeline/persist_favorite/persist_favorite_schema.ts index 7b3be78b426f9..0f4adff41c910 100644 --- a/x-pack/plugins/security_solution/server/lib/timeline/schemas/timelines/persist_favorite_schema.ts +++ b/x-pack/plugins/security_solution/common/api/timeline/persist_favorite/persist_favorite_schema.ts @@ -7,8 +7,8 @@ import * as rt from 'io-ts'; -import { TimelineTypeLiteralRt } from '../../../../../common/types/timeline/api'; -import { unionWithNullType } from '../../../../../common/utility_types'; +import { TimelineTypeLiteralRt } from '../model/api'; +import { unionWithNullType } from '../../../utility_types'; export const persistFavoriteSchema = rt.type({ timelineId: unionWithNullType(rt.string), diff --git a/x-pack/plugins/security_solution/server/lib/timeline/schemas/notes/index.ts b/x-pack/plugins/security_solution/common/api/timeline/persist_note/persist_note_route.ts similarity index 58% rename from x-pack/plugins/security_solution/server/lib/timeline/schemas/notes/index.ts rename to x-pack/plugins/security_solution/common/api/timeline/persist_note/persist_note_route.ts index 9aa18b93ef60a..b588e6829aaba 100644 --- a/x-pack/plugins/security_solution/server/lib/timeline/schemas/notes/index.ts +++ b/x-pack/plugins/security_solution/common/api/timeline/persist_note/persist_note_route.ts @@ -6,11 +6,8 @@ */ import * as runtimeTypes from 'io-ts'; -import { unionWithNullType } from '../../../../../common/utility_types'; -import { BareNoteSchema } from '../../../../../common/types/timeline/note/api'; - -export const eventNotes = unionWithNullType(runtimeTypes.array(BareNoteSchema)); -export const globalNotes = unionWithNullType(runtimeTypes.array(BareNoteSchema)); +import { unionWithNullType } from '../../../utility_types'; +import { BareNoteSchema } from '../model/api'; export const persistNoteSchema = runtimeTypes.intersection([ runtimeTypes.type({ @@ -22,7 +19,3 @@ export const persistNoteSchema = runtimeTypes.intersection([ version: unionWithNullType(runtimeTypes.string), }), ]); - -export const deleteNoteSchema = runtimeTypes.partial({ - noteId: unionWithNullType(runtimeTypes.string), -}); diff --git a/x-pack/plugins/security_solution/common/types/timeline/pinned_event/api.ts b/x-pack/plugins/security_solution/common/api/timeline/pinned_events/pinned_events_route.ts similarity index 81% rename from x-pack/plugins/security_solution/common/types/timeline/pinned_event/api.ts rename to x-pack/plugins/security_solution/common/api/timeline/pinned_events/pinned_events_route.ts index f5e9e2373a268..f446e4e065b35 100644 --- a/x-pack/plugins/security_solution/common/types/timeline/pinned_event/api.ts +++ b/x-pack/plugins/security_solution/common/api/timeline/pinned_events/pinned_events_route.ts @@ -8,9 +8,19 @@ /* eslint-disable @typescript-eslint/no-empty-interface */ import * as runtimeTypes from 'io-ts'; - import { unionWithNullType } from '../../../utility_types'; +export const pinnedEventIds = unionWithNullType(runtimeTypes.array(runtimeTypes.string)); +export const persistPinnedEventSchema = runtimeTypes.intersection([ + runtimeTypes.type({ + eventId: runtimeTypes.string, + }), + runtimeTypes.partial({ + pinnedEventId: unionWithNullType(runtimeTypes.string), + timelineId: unionWithNullType(runtimeTypes.string), + }), +]); + /* * Note Types */ diff --git a/x-pack/plugins/security_solution/common/detection_engine/prebuilt_rules/api/perform_rule_installation/perform_rule_installation_response_schema.ts b/x-pack/plugins/security_solution/common/detection_engine/prebuilt_rules/api/perform_rule_installation/perform_rule_installation_response_schema.ts deleted file mode 100644 index fdd51dc256333..0000000000000 --- a/x-pack/plugins/security_solution/common/detection_engine/prebuilt_rules/api/perform_rule_installation/perform_rule_installation_response_schema.ts +++ /dev/null @@ -1,32 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the Elastic License - * 2.0; you may not use this file except in compliance with the Elastic License - * 2.0. - */ - -import type { RuleResponse } from '../../../rule_schema/model/rule_schemas'; -import type { AggregatedPrebuiltRuleError } from '../../model/prebuilt_rules/aggregated_prebuilt_rules_error'; - -export enum SkipRuleInstallReason { - ALREADY_INSTALLED = 'ALREADY_INSTALLED', -} - -export interface SkippedRuleInstall { - rule_id: string; - reason: SkipRuleInstallReason; -} - -export interface PerformRuleInstallationResponseBody { - summary: { - total: number; - succeeded: number; - skipped: number; - failed: number; - }; - results: { - created: RuleResponse[]; - skipped: SkippedRuleInstall[]; - }; - errors: AggregatedPrebuiltRuleError[]; -} diff --git a/x-pack/plugins/security_solution/common/detection_engine/prebuilt_rules/api/perform_rule_upgrade/perform_rule_upgrade_response_schema.ts b/x-pack/plugins/security_solution/common/detection_engine/prebuilt_rules/api/perform_rule_upgrade/perform_rule_upgrade_response_schema.ts deleted file mode 100644 index 875d9fe42e790..0000000000000 --- a/x-pack/plugins/security_solution/common/detection_engine/prebuilt_rules/api/perform_rule_upgrade/perform_rule_upgrade_response_schema.ts +++ /dev/null @@ -1,32 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the Elastic License - * 2.0; you may not use this file except in compliance with the Elastic License - * 2.0. - */ - -import type { RuleResponse } from '../../../rule_schema'; -import type { AggregatedPrebuiltRuleError } from '../../model/prebuilt_rules/aggregated_prebuilt_rules_error'; - -export enum SkipRuleUpgradeReason { - RULE_UP_TO_DATE = 'RULE_UP_TO_DATE', -} - -export interface SkippedRuleUpgrade { - rule_id: string; - reason: SkipRuleUpgradeReason; -} - -export interface PerformRuleUpgradeResponseBody { - summary: { - total: number; - succeeded: number; - skipped: number; - failed: number; - }; - results: { - updated: RuleResponse[]; - skipped: SkippedRuleUpgrade[]; - }; - errors: AggregatedPrebuiltRuleError[]; -} diff --git a/x-pack/plugins/security_solution/common/detection_engine/rule_exceptions/api/find_exception_references/request_schema.test.ts b/x-pack/plugins/security_solution/common/detection_engine/rule_exceptions/api/find_exception_references/request_schema.test.ts deleted file mode 100644 index 644924e362d08..0000000000000 --- a/x-pack/plugins/security_solution/common/detection_engine/rule_exceptions/api/find_exception_references/request_schema.test.ts +++ /dev/null @@ -1,94 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the Elastic License - * 2.0; you may not use this file except in compliance with the Elastic License - * 2.0. - */ - -import { exactCheck, formatErrors, foldLeftRight } from '@kbn/securitysolution-io-ts-utils'; -import { findExceptionReferencesOnRuleSchema } from './request_schema'; -import type { FindExceptionReferencesOnRuleSchema } from './request_schema'; - -describe('Find exception list references schema', () => { - test('validates all fields', () => { - const payload: FindExceptionReferencesOnRuleSchema = { - ids: 'abc,def', - list_ids: '123,456', - namespace_types: 'single,agnostic', - }; - - const decoded = findExceptionReferencesOnRuleSchema.decode(payload); - const checked = exactCheck(payload, decoded); - const output = foldLeftRight(checked); - expect(formatErrors(output.errors)).toEqual([]); - expect(output.schema).toEqual({ - ids: ['abc', 'def'], - list_ids: ['123', '456'], - namespace_types: ['single', 'agnostic'], - }); - }); - - test('"ids" can be optional', () => { - const payload: Omit = { - list_ids: '123,456', - namespace_types: 'single,agnostic', - }; - - const decoded = findExceptionReferencesOnRuleSchema.decode(payload); - const checked = exactCheck(payload, decoded); - const output = foldLeftRight(checked); - expect(formatErrors(output.errors)).toEqual([]); - expect(output.schema).toEqual({ - list_ids: ['123', '456'], - namespace_types: ['single', 'agnostic'], - }); - }); - - test('"list_ids" can be undefined', () => { - const payload: Omit = { - ids: 'abc', - namespace_types: 'single', - }; - - const decoded = findExceptionReferencesOnRuleSchema.decode(payload); - const checked = exactCheck(payload, decoded); - const output = foldLeftRight(checked); - expect(formatErrors(output.errors)).toEqual([]); - expect(output.schema).toEqual({ - ids: ['abc'], - namespace_types: ['single'], - }); - }); - - test('defaults "namespacetypes" to ["single"] if none set', () => { - const payload: Omit = { - ids: 'abc', - list_ids: '123', - }; - - const decoded = findExceptionReferencesOnRuleSchema.decode(payload); - const checked = exactCheck(payload, decoded); - const output = foldLeftRight(checked); - expect(formatErrors(output.errors)).toEqual([]); - expect(output.schema).toEqual({ - ids: ['abc'], - list_ids: ['123'], - namespace_types: ['single'], - }); - }); - - test('cannot add extra values', () => { - const payload: FindExceptionReferencesOnRuleSchema & { extra_value?: string } = { - ids: 'abc,def', - list_ids: '123,456', - namespace_types: 'single,agnostic', - extra_value: 'aaa', - }; - - const decoded = findExceptionReferencesOnRuleSchema.decode(payload); - const checked = exactCheck(payload, decoded); - const output = foldLeftRight(checked); - expect(formatErrors(output.errors)).toEqual(['invalid keys "extra_value"']); - expect(output.schema).toEqual({}); - }); -}); diff --git a/x-pack/plugins/security_solution/common/detection_engine/rule_exceptions/api/find_exception_references/request_schema.ts b/x-pack/plugins/security_solution/common/detection_engine/rule_exceptions/api/find_exception_references/request_schema.ts deleted file mode 100644 index 367f0c157ebfc..0000000000000 --- a/x-pack/plugins/security_solution/common/detection_engine/rule_exceptions/api/find_exception_references/request_schema.ts +++ /dev/null @@ -1,34 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the Elastic License - * 2.0; you may not use this file except in compliance with the Elastic License - * 2.0. - */ - -import * as t from 'io-ts'; -import { NonEmptyStringArray } from '@kbn/securitysolution-io-ts-types'; -import { DefaultNamespaceArray } from '@kbn/securitysolution-io-ts-list-types'; - -// If ids and list_ids are undefined, route will fetch all lists matching the -// specified namespace type -export const findExceptionReferencesOnRuleSchema = t.intersection([ - t.exact( - t.type({ - namespace_types: DefaultNamespaceArray, - }) - ), - t.exact( - t.partial({ - ids: NonEmptyStringArray, - list_ids: NonEmptyStringArray, - }) - ), -]); - -export type FindExceptionReferencesOnRuleSchema = t.OutputOf< - typeof findExceptionReferencesOnRuleSchema ->; - -export type FindExceptionReferencesOnRuleSchemaDecoded = t.TypeOf< - typeof findExceptionReferencesOnRuleSchema ->; diff --git a/x-pack/plugins/security_solution/common/detection_engine/rule_exceptions/api/find_exception_references/response_schema.test.ts b/x-pack/plugins/security_solution/common/detection_engine/rule_exceptions/api/find_exception_references/response_schema.test.ts deleted file mode 100644 index c899ad46c3628..0000000000000 --- a/x-pack/plugins/security_solution/common/detection_engine/rule_exceptions/api/find_exception_references/response_schema.test.ts +++ /dev/null @@ -1,159 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the Elastic License - * 2.0; you may not use this file except in compliance with the Elastic License - * 2.0. - */ - -import { exactCheck, formatErrors, foldLeftRight } from '@kbn/securitysolution-io-ts-utils'; -import { getExceptionListSchemaMock } from '@kbn/lists-plugin/common/schemas/response/exception_list_schema.mock'; -import { - exceptionListRuleReferencesSchema, - rulesReferencedByExceptionListsSchema, -} from './response_schema'; -import type { - ExceptionListRuleReferencesSchema, - RulesReferencedByExceptionListsSchema, -} from './response_schema'; - -describe('Find exception list references response schema', () => { - describe('exceptionListRuleReferencesSchema', () => { - test('validates all fields', () => { - const payload: ExceptionListRuleReferencesSchema = { - ...getExceptionListSchemaMock(), - referenced_rules: [ - { - name: 'My rule', - id: '4656dc92-5832-11ea-8e2d-0242ac130003', - rule_id: 'my-rule-id', - exception_lists: [ - { - id: 'myListId', - list_id: 'my-list-id', - namespace_type: 'single', - type: 'detection', - }, - ], - }, - ], - }; - - const decoded = exceptionListRuleReferencesSchema.decode(payload); - const checked = exactCheck(payload, decoded); - const output = foldLeftRight(checked); - expect(formatErrors(output.errors)).toEqual([]); - expect(output.schema).toEqual(payload); - }); - - test('cannot add extra values', () => { - const payload: ExceptionListRuleReferencesSchema & { extra_value?: string } = { - extra_value: 'foo', - ...getExceptionListSchemaMock(), - referenced_rules: [ - { - name: 'My rule', - id: '4656dc92-5832-11ea-8e2d-0242ac130003', - rule_id: 'my-rule-id', - exception_lists: [ - { - id: 'myListId', - list_id: 'my-list-id', - namespace_type: 'single', - type: 'detection', - }, - ], - }, - ], - }; - - const decoded = exceptionListRuleReferencesSchema.decode(payload); - const checked = exactCheck(payload, decoded); - const output = foldLeftRight(checked); - expect(formatErrors(output.errors)).toEqual(['invalid keys "extra_value"']); - expect(output.schema).toEqual({}); - }); - }); - - describe('rulesReferencedByExceptionListsSchema', () => { - test('validates all fields', () => { - const payload: RulesReferencedByExceptionListsSchema = { - references: [ - { - 'my-list-id': { - ...getExceptionListSchemaMock(), - referenced_rules: [ - { - name: 'My rule', - id: '4656dc92-5832-11ea-8e2d-0242ac130003', - rule_id: 'my-rule-id', - exception_lists: [ - { - id: 'myListId', - list_id: 'my-list-id', - namespace_type: 'single', - type: 'detection', - }, - ], - }, - ], - }, - }, - ], - }; - - const decoded = rulesReferencedByExceptionListsSchema.decode(payload); - const checked = exactCheck(payload, decoded); - const output = foldLeftRight(checked); - expect(formatErrors(output.errors)).toEqual([]); - expect(output.schema).toEqual(payload); - }); - - test('validates "references" with empty array', () => { - const payload: RulesReferencedByExceptionListsSchema = { - references: [], - }; - - const decoded = rulesReferencedByExceptionListsSchema.decode(payload); - const checked = exactCheck(payload, decoded); - const output = foldLeftRight(checked); - expect(formatErrors(output.errors)).toEqual([]); - expect(output.schema).toEqual({ - references: [], - }); - }); - - test('cannot add extra values', () => { - const payload: RulesReferencedByExceptionListsSchema & { extra_value?: string } = { - extra_value: 'foo', - references: [ - { - 'my-list-id': { - ...getExceptionListSchemaMock(), - referenced_rules: [ - { - name: 'My rule', - id: '4656dc92-5832-11ea-8e2d-0242ac130003', - rule_id: 'my-rule-id', - exception_lists: [ - { - id: 'myListId', - list_id: 'my-list-id', - namespace_type: 'single', - type: 'detection', - }, - ], - }, - ], - }, - }, - ], - }; - - const decoded = rulesReferencedByExceptionListsSchema.decode(payload); - const checked = exactCheck(payload, decoded); - const output = foldLeftRight(checked); - expect(formatErrors(output.errors)).toEqual(['invalid keys "extra_value"']); - expect(output.schema).toEqual({}); - }); - }); -}); diff --git a/x-pack/plugins/security_solution/common/detection_engine/rule_management/api/rules/bulk_actions/response_schema.ts b/x-pack/plugins/security_solution/common/detection_engine/rule_management/api/rules/bulk_actions/response_schema.ts deleted file mode 100644 index e9b4ad6bbc1e5..0000000000000 --- a/x-pack/plugins/security_solution/common/detection_engine/rule_management/api/rules/bulk_actions/response_schema.ts +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the Elastic License - * 2.0; you may not use this file except in compliance with the Elastic License - * 2.0. - */ - -import type { BulkActionSkipResult } from '@kbn/alerting-plugin/common'; -import type { RuleResponse } from '../../../../rule_schema'; -import type { BulkActionsDryRunErrCode } from '../../../../../constants'; - -export interface RuleDetailsInError { - id: string; - name?: string; -} -export interface NormalizedRuleError { - message: string; - status_code: number; - err_code?: BulkActionsDryRunErrCode; - rules: RuleDetailsInError[]; -} -export interface BulkEditActionResults { - updated: RuleResponse[]; - created: RuleResponse[]; - deleted: RuleResponse[]; - skipped: BulkActionSkipResult[]; -} - -export interface BulkEditActionSummary { - failed: number; - skipped: number; - succeeded: number; - total: number; -} -export interface BulkEditActionSuccessResponse { - success: boolean; - rules_count: number; - attributes: { - results: BulkEditActionResults; - summary: BulkEditActionSummary; - }; -} -export interface BulkEditActionErrorResponse { - status_code: number; - message: string; - attributes: { - results: BulkEditActionResults; - summary: BulkEditActionSummary; - errors?: NormalizedRuleError[]; - }; -} - -export type BulkEditActionResponse = BulkEditActionSuccessResponse | BulkEditActionErrorResponse; diff --git a/x-pack/plugins/security_solution/common/detection_engine/rule_management/api/rules/coverage_overview/response_schema.ts b/x-pack/plugins/security_solution/common/detection_engine/rule_management/api/rules/coverage_overview/response_schema.ts deleted file mode 100644 index 61406700b1443..0000000000000 --- a/x-pack/plugins/security_solution/common/detection_engine/rule_management/api/rules/coverage_overview/response_schema.ts +++ /dev/null @@ -1,34 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the Elastic License - * 2.0; you may not use this file except in compliance with the Elastic License - * 2.0. - */ - -import * as t from 'io-ts'; -import { NonEmptyArray } from '@kbn/securitysolution-io-ts-types'; -import { CoverageOverviewRuleActivitySchema } from './request_schema'; - -export type CoverageOverviewRuleAttributes = t.TypeOf; -export const CoverageOverviewRuleAttributes = t.type({ - name: t.string, - activity: CoverageOverviewRuleActivitySchema, -}); - -export type CoverageOverviewResponse = t.TypeOf; -export const CoverageOverviewResponse = t.exact( - t.type({ - /** - * Map having (tacticId, techniqueId or subtechniqueId) as the key and an array of rule ids as the value - */ - coverage: t.record(t.string, NonEmptyArray(t.string)), - /** - * Array of unmapped rule ids - */ - unmapped_rule_ids: t.array(t.string), - /** - * Map having ruleId as the key and coverage overview rule data as the value - */ - rules_data: t.record(t.string, CoverageOverviewRuleAttributes), - }) -); diff --git a/x-pack/plugins/security_solution/common/detection_engine/rule_management/api/rules/import_rules/request_schema.test.ts b/x-pack/plugins/security_solution/common/detection_engine/rule_management/api/rules/import_rules/request_schema.test.ts deleted file mode 100644 index bd63dd7472aaf..0000000000000 --- a/x-pack/plugins/security_solution/common/detection_engine/rule_management/api/rules/import_rules/request_schema.test.ts +++ /dev/null @@ -1,52 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the Elastic License - * 2.0; you may not use this file except in compliance with the Elastic License - * 2.0. - */ - -import { left } from 'fp-ts/lib/Either'; -import { pipe } from 'fp-ts/lib/pipeable'; -import { exactCheck, foldLeftRight, getPaths } from '@kbn/securitysolution-io-ts-utils'; - -import { ImportRulesRequestBody } from './request_schema'; - -describe('Import rules schema', () => { - describe('ImportRulesRequestBody', () => { - test('does not validate with an empty object', () => { - const payload = {}; - - const decoded = ImportRulesRequestBody.decode(payload); - const checked = exactCheck(payload, decoded); - const message = pipe(checked, foldLeftRight); - expect(getPaths(left(message.errors))).toEqual([ - 'Invalid value "undefined" supplied to "file"', - ]); - expect(message.schema).toEqual({}); - }); - - test('does not validate with a made string', () => { - const payload: Omit & { madeUpKey: string } = { - madeUpKey: 'madeupstring', - }; - - const decoded = ImportRulesRequestBody.decode(payload); - const checked = exactCheck(payload, decoded); - const message = pipe(checked, foldLeftRight); - expect(getPaths(left(message.errors))).toEqual([ - 'Invalid value "undefined" supplied to "file"', - ]); - expect(message.schema).toEqual({}); - }); - - test('does validate with a file object', () => { - const payload: ImportRulesRequestBody = { file: {} }; - - const decoded = ImportRulesRequestBody.decode(payload); - const checked = exactCheck(payload, decoded); - const message = pipe(checked, foldLeftRight); - expect(getPaths(left(message.errors))).toEqual([]); - expect(message.schema).toEqual(payload); - }); - }); -}); diff --git a/x-pack/plugins/security_solution/common/detection_engine/rule_management/api/rules/import_rules/request_schema.ts b/x-pack/plugins/security_solution/common/detection_engine/rule_management/api/rules/import_rules/request_schema.ts deleted file mode 100644 index 8f64df3ea71b1..0000000000000 --- a/x-pack/plugins/security_solution/common/detection_engine/rule_management/api/rules/import_rules/request_schema.ts +++ /dev/null @@ -1,18 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the Elastic License - * 2.0; you may not use this file except in compliance with the Elastic License - * 2.0. - */ - -import * as t from 'io-ts'; - -/** - * Request body parameters of the API route. - */ -export type ImportRulesRequestBody = t.TypeOf; -export const ImportRulesRequestBody = t.exact( - t.type({ - file: t.object, - }) -); diff --git a/x-pack/plugins/security_solution/common/detection_engine/rule_management/api/rules/import_rules/response_schema.test.ts b/x-pack/plugins/security_solution/common/detection_engine/rule_management/api/rules/import_rules/response_schema.test.ts deleted file mode 100644 index b2ff257ba2c4e..0000000000000 --- a/x-pack/plugins/security_solution/common/detection_engine/rule_management/api/rules/import_rules/response_schema.test.ts +++ /dev/null @@ -1,495 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the Elastic License - * 2.0; you may not use this file except in compliance with the Elastic License - * 2.0. - */ - -import { pipe } from 'fp-ts/lib/pipeable'; -import type { Either } from 'fp-ts/lib/Either'; -import { left } from 'fp-ts/lib/Either'; -import type { Errors } from 'io-ts'; - -import { exactCheck, foldLeftRight, getPaths } from '@kbn/securitysolution-io-ts-utils'; -import type { ErrorSchema } from '../../../../schemas/response/error_schema'; -import { ImportRulesResponse } from './response_schema'; - -describe('Import rules response schema', () => { - test('it should validate an empty import response with no errors', () => { - const payload: ImportRulesResponse = { - success: true, - success_count: 0, - rules_count: 0, - errors: [], - exceptions_errors: [], - exceptions_success: true, - exceptions_success_count: 0, - action_connectors_success: true, - action_connectors_success_count: 0, - action_connectors_errors: [], - action_connectors_warnings: [], - }; - const decoded = ImportRulesResponse.decode(payload); - const checked = exactCheck(payload, decoded); - const message = pipe(checked, foldLeftRight); - - expect(getPaths(left(message.errors))).toEqual([]); - expect(message.schema).toEqual(payload); - }); - - test('it should validate an empty import response with a single error', () => { - const payload: ImportRulesResponse = { - success: false, - success_count: 0, - rules_count: 0, - errors: [{ error: { status_code: 400, message: 'some message' } }], - exceptions_errors: [], - exceptions_success: true, - exceptions_success_count: 0, - action_connectors_success: true, - action_connectors_success_count: 0, - action_connectors_errors: [], - action_connectors_warnings: [], - }; - const decoded = ImportRulesResponse.decode(payload); - const checked = exactCheck(payload, decoded); - const message = pipe(checked, foldLeftRight); - - expect(getPaths(left(message.errors))).toEqual([]); - expect(message.schema).toEqual(payload); - }); - - test('it should validate an empty import response with a single exceptions error', () => { - const payload: ImportRulesResponse = { - success: false, - success_count: 0, - rules_count: 0, - errors: [], - exceptions_errors: [{ error: { status_code: 400, message: 'some message' } }], - exceptions_success: true, - exceptions_success_count: 0, - action_connectors_success: true, - action_connectors_success_count: 0, - action_connectors_errors: [], - action_connectors_warnings: [], - }; - const decoded = ImportRulesResponse.decode(payload); - const checked = exactCheck(payload, decoded); - const message = pipe(checked, foldLeftRight); - - expect(getPaths(left(message.errors))).toEqual([]); - expect(message.schema).toEqual(payload); - }); - - test('it should validate an empty import response with two errors', () => { - const payload: ImportRulesResponse = { - success: false, - success_count: 0, - rules_count: 0, - errors: [ - { error: { status_code: 400, message: 'some message' } }, - { error: { status_code: 500, message: 'some message' } }, - ], - exceptions_errors: [], - exceptions_success: true, - exceptions_success_count: 0, - action_connectors_success: true, - action_connectors_success_count: 0, - action_connectors_errors: [], - action_connectors_warnings: [], - }; - const decoded = ImportRulesResponse.decode(payload); - const checked = exactCheck(payload, decoded); - const message = pipe(checked, foldLeftRight); - - expect(getPaths(left(message.errors))).toEqual([]); - expect(message.schema).toEqual(payload); - }); - - test('it should validate an empty import response with two exception errors', () => { - const payload: ImportRulesResponse = { - success: false, - success_count: 0, - rules_count: 0, - errors: [], - exceptions_errors: [ - { error: { status_code: 400, message: 'some message' } }, - { error: { status_code: 500, message: 'some message' } }, - ], - exceptions_success: true, - exceptions_success_count: 0, - action_connectors_success: true, - action_connectors_success_count: 0, - action_connectors_errors: [], - action_connectors_warnings: [], - }; - const decoded = ImportRulesResponse.decode(payload); - const checked = exactCheck(payload, decoded); - const message = pipe(checked, foldLeftRight); - - expect(getPaths(left(message.errors))).toEqual([]); - expect(message.schema).toEqual(payload); - }); - - test('it should NOT validate a success_count that is a negative number', () => { - const payload: ImportRulesResponse = { - success: false, - success_count: -1, - rules_count: 0, - errors: [], - exceptions_errors: [], - exceptions_success: true, - exceptions_success_count: 0, - action_connectors_success: true, - action_connectors_success_count: 0, - action_connectors_errors: [], - action_connectors_warnings: [], - }; - const decoded = ImportRulesResponse.decode(payload); - const checked = exactCheck(payload, decoded); - const message = pipe(checked, foldLeftRight); - - expect(getPaths(left(message.errors))).toEqual([ - 'Invalid value "-1" supplied to "success_count"', - ]); - expect(message.schema).toEqual({}); - }); - - test('it should NOT validate a exceptions_success_count that is a negative number', () => { - const payload: ImportRulesResponse = { - success: false, - success_count: 0, - rules_count: 0, - errors: [], - exceptions_errors: [], - exceptions_success: true, - exceptions_success_count: -1, - action_connectors_success: true, - action_connectors_success_count: 0, - action_connectors_errors: [], - action_connectors_warnings: [], - }; - const decoded = ImportRulesResponse.decode(payload); - const checked = exactCheck(payload, decoded); - const message = pipe(checked, foldLeftRight); - - expect(getPaths(left(message.errors))).toEqual([ - 'Invalid value "-1" supplied to "exceptions_success_count"', - ]); - expect(message.schema).toEqual({}); - }); - - test('it should NOT validate a success that is not a boolean', () => { - type UnsafeCastForTest = Either< - Errors, - { - success: string; - success_count: number; - errors: Array< - { - id?: string | undefined; - rule_id?: string | undefined; - } & { - error: { - status_code: number; - message: string; - }; - } - >; - } - >; - const payload: Omit & { success: string } = { - success: 'hello', - success_count: 0, - rules_count: 0, - errors: [], - exceptions_errors: [], - exceptions_success: true, - exceptions_success_count: 0, - action_connectors_success: true, - action_connectors_success_count: 0, - action_connectors_errors: [], - action_connectors_warnings: [], - }; - const decoded = ImportRulesResponse.decode(payload); - const checked = exactCheck(payload, decoded as UnsafeCastForTest); - const message = pipe(checked, foldLeftRight); - - expect(getPaths(left(message.errors))).toEqual(['Invalid value "hello" supplied to "success"']); - expect(message.schema).toEqual({}); - }); - - test('it should NOT validate a exceptions_success that is not a boolean', () => { - type UnsafeCastForTest = Either< - Errors, - { - success: boolean; - exceptions_success: string; - success_count: number; - errors: Array< - { - id?: string | undefined; - rule_id?: string | undefined; - } & { - error: { - status_code: number; - message: string; - }; - } - >; - } - >; - const payload: Omit & { - exceptions_success: string; - } = { - success: true, - success_count: 0, - rules_count: 0, - errors: [], - exceptions_errors: [], - exceptions_success: 'hello', - exceptions_success_count: 0, - action_connectors_success: true, - action_connectors_success_count: 0, - action_connectors_errors: [], - action_connectors_warnings: [], - }; - const decoded = ImportRulesResponse.decode(payload); - const checked = exactCheck(payload, decoded as UnsafeCastForTest); - const message = pipe(checked, foldLeftRight); - - expect(getPaths(left(message.errors))).toEqual([ - 'Invalid value "hello" supplied to "exceptions_success"', - ]); - expect(message.schema).toEqual({}); - }); - - test('it should NOT validate a success an extra invalid field', () => { - const payload: ImportRulesResponse & { invalid_field: string } = { - success: true, - success_count: 0, - rules_count: 0, - errors: [], - invalid_field: 'invalid_data', - exceptions_errors: [], - exceptions_success: true, - exceptions_success_count: 0, - action_connectors_success: true, - action_connectors_success_count: 0, - action_connectors_errors: [], - action_connectors_warnings: [], - }; - const decoded = ImportRulesResponse.decode(payload); - const checked = exactCheck(payload, decoded); - const message = pipe(checked, foldLeftRight); - - expect(getPaths(left(message.errors))).toEqual(['invalid keys "invalid_field"']); - expect(message.schema).toEqual({}); - }); - - test('it should NOT validate an extra field in the second position of the errors array', () => { - type InvalidError = ErrorSchema & { invalid_data?: string }; - const payload: Omit & { - errors: InvalidError[]; - } = { - success: true, - success_count: 0, - rules_count: 0, - errors: [ - { error: { status_code: 400, message: 'some message' } }, - { invalid_data: 'something', error: { status_code: 500, message: 'some message' } }, - ], - exceptions_errors: [], - exceptions_success: true, - exceptions_success_count: 0, - action_connectors_success: true, - action_connectors_success_count: 0, - action_connectors_errors: [], - action_connectors_warnings: [], - }; - const decoded = ImportRulesResponse.decode(payload); - const checked = exactCheck(payload, decoded); - const message = pipe(checked, foldLeftRight); - - expect(getPaths(left(message.errors))).toEqual(['invalid keys "invalid_data"']); - expect(message.schema).toEqual({}); - }); - - test('it should validate an empty import response with a single connectors error', () => { - const payload: ImportRulesResponse = { - success: false, - success_count: 0, - rules_count: 0, - errors: [], - exceptions_errors: [], - exceptions_success: true, - exceptions_success_count: 0, - action_connectors_success: true, - action_connectors_success_count: 0, - action_connectors_errors: [{ error: { status_code: 400, message: 'some message' } }], - action_connectors_warnings: [], - }; - const decoded = ImportRulesResponse.decode(payload); - const checked = exactCheck(payload, decoded); - const message = pipe(checked, foldLeftRight); - - expect(getPaths(left(message.errors))).toEqual([]); - expect(message.schema).toEqual(payload); - }); - test('it should validate an empty import response with multiple errors', () => { - const payload: ImportRulesResponse = { - success: false, - success_count: 0, - rules_count: 0, - errors: [ - { error: { status_code: 400, message: 'some message' } }, - { error: { status_code: 500, message: 'some message' } }, - ], - exceptions_errors: [], - exceptions_success: true, - exceptions_success_count: 0, - action_connectors_success: true, - action_connectors_success_count: 0, - action_connectors_errors: [{ error: { status_code: 400, message: 'some message' } }], - action_connectors_warnings: [], - }; - const decoded = ImportRulesResponse.decode(payload); - const checked = exactCheck(payload, decoded); - const message = pipe(checked, foldLeftRight); - - expect(getPaths(left(message.errors))).toEqual([]); - expect(message.schema).toEqual(payload); - }); - test('it should NOT validate action_connectors_success that is not boolean', () => { - type UnsafeCastForTest = Either< - Errors, - { - success: boolean; - action_connectors_success: string; - success_count: number; - errors: Array< - { - id?: string | undefined; - rule_id?: string | undefined; - } & { - error: { - status_code: number; - message: string; - }; - } - >; - } - >; - const payload: Omit & { - action_connectors_success: string; - } = { - success: true, - success_count: 0, - rules_count: 0, - errors: [], - exceptions_errors: [], - exceptions_success: true, - exceptions_success_count: 0, - action_connectors_success: 'invalid', - action_connectors_success_count: 0, - action_connectors_errors: [], - action_connectors_warnings: [], - }; - const decoded = ImportRulesResponse.decode(payload); - const checked = exactCheck(payload, decoded as UnsafeCastForTest); - const message = pipe(checked, foldLeftRight); - - expect(getPaths(left(message.errors))).toEqual([ - 'Invalid value "invalid" supplied to "action_connectors_success"', - ]); - expect(message.schema).toEqual({}); - }); - test('it should NOT validate a action_connectors_success_count that is a negative number', () => { - const payload: ImportRulesResponse = { - success: false, - success_count: 0, - rules_count: 0, - errors: [], - exceptions_errors: [], - exceptions_success: true, - exceptions_success_count: 0, - action_connectors_success: true, - action_connectors_success_count: -1, - action_connectors_errors: [], - action_connectors_warnings: [], - }; - const decoded = ImportRulesResponse.decode(payload); - const checked = exactCheck(payload, decoded); - const message = pipe(checked, foldLeftRight); - - expect(getPaths(left(message.errors))).toEqual([ - 'Invalid value "-1" supplied to "action_connectors_success_count"', - ]); - expect(message.schema).toEqual({}); - }); - test('it should validate a action_connectors_warnings after importing successfully', () => { - const payload: ImportRulesResponse = { - success: false, - success_count: 0, - rules_count: 0, - errors: [], - exceptions_errors: [], - exceptions_success: true, - exceptions_success_count: 0, - action_connectors_success: true, - action_connectors_success_count: 1, - action_connectors_errors: [], - action_connectors_warnings: [{ type: 'type', message: 'message', actionPath: 'actionPath' }], - }; - const decoded = ImportRulesResponse.decode(payload); - const checked = exactCheck(payload, decoded); - const message = pipe(checked, foldLeftRight); - - expect(getPaths(left(message.errors))).toEqual([]); - expect(message.schema).toEqual(payload); - }); - test('it should NOT validate a action_connectors_warnings that is not WarningSchema', () => { - type UnsafeCastForTest = Either< - Errors, - { - success: boolean; - action_connectors_warnings: string; - success_count: number; - errors: Array< - { - id?: string | undefined; - rule_id?: string | undefined; - } & { - error: { - status_code: number; - message: string; - }; - } - >; - } - >; - const payload: Omit & { - action_connectors_warnings: string; - } = { - success: true, - success_count: 0, - rules_count: 0, - errors: [], - exceptions_errors: [], - exceptions_success: true, - exceptions_success_count: 0, - action_connectors_success: true, - action_connectors_success_count: 0, - action_connectors_errors: [], - action_connectors_warnings: 'invalid', - }; - const decoded = ImportRulesResponse.decode(payload); - const checked = exactCheck(payload, decoded as UnsafeCastForTest); - const message = pipe(checked, foldLeftRight); - - expect(getPaths(left(message.errors))).toEqual([ - 'Invalid value "invalid" supplied to "action_connectors_warnings"', - ]); - expect(message.schema).toEqual({}); - }); -}); diff --git a/x-pack/plugins/security_solution/common/detection_engine/rule_management/index.ts b/x-pack/plugins/security_solution/common/detection_engine/rule_management/index.ts deleted file mode 100644 index 266a7e30d311c..0000000000000 --- a/x-pack/plugins/security_solution/common/detection_engine/rule_management/index.ts +++ /dev/null @@ -1,32 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the Elastic License - * 2.0; you may not use this file except in compliance with the Elastic License - * 2.0. - */ - -export * from './api/rules/bulk_crud/bulk_create_rules/request_schema'; -export * from './api/rules/bulk_crud/bulk_delete_rules/request_schema'; -export * from './api/rules/bulk_crud/bulk_patch_rules/request_schema'; -export * from './api/rules/bulk_crud/bulk_update_rules/request_schema'; -export * from './api/rules/bulk_crud/response_schema'; - -export * from './api/rules/crud/create_rule/request_schema_validation'; -export * from './api/rules/crud/patch_rule/request_schema_validation'; -export * from './api/rules/crud/patch_rule/request_schema'; -export * from './api/rules/crud/read_rule/query_rule_by_ids_validation'; -export * from './api/rules/crud/read_rule/query_rule_by_ids'; -export * from './api/rules/crud/update_rule/request_schema_validation'; - -export * from './api/rules/export_rules/request_schema'; -export * from './api/rules/find_rules/request_schema_validation'; -export * from './api/rules/find_rules/request_schema'; -export * from './api/rules/import_rules/request_schema'; -export * from './api/rules/import_rules/response_schema'; - -// TODO: https://github.com/elastic/kibana/pull/142950 -// export * from './api/urls'; - -export * from './model/export/export_rules_details_schema'; -export * from './model/import/rule_to_import_validation'; -export * from './model/import/rule_to_import'; diff --git a/x-pack/plugins/security_solution/common/detection_engine/rule_monitoring/index.ts b/x-pack/plugins/security_solution/common/detection_engine/rule_monitoring/index.ts deleted file mode 100644 index c4e6ccc4f1b3a..0000000000000 --- a/x-pack/plugins/security_solution/common/detection_engine/rule_monitoring/index.ts +++ /dev/null @@ -1,27 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the Elastic License - * 2.0; you may not use this file except in compliance with the Elastic License - * 2.0. - */ - -export * from './api/detection_engine_health/get_cluster_health_schemas'; -export * from './api/detection_engine_health/get_rule_health_schemas'; -export * from './api/detection_engine_health/get_space_health_schemas'; -export * from './api/rule_execution_logs/get_rule_execution_events_schemas'; -export * from './api/rule_execution_logs/get_rule_execution_results_schemas'; -export * from './api/urls'; - -export * from './model/detection_engine_health/cluster_health'; -export * from './model/detection_engine_health/health_interval'; -export * from './model/detection_engine_health/health_metadata'; -export * from './model/detection_engine_health/health_stats'; -export * from './model/detection_engine_health/rule_health'; -export * from './model/detection_engine_health/space_health'; -export * from './model/execution_event'; -export * from './model/execution_metrics'; -export * from './model/execution_result'; -export * from './model/execution_settings'; -export * from './model/execution_status'; -export * from './model/execution_summary'; -export * from './model/log_level'; diff --git a/x-pack/plugins/security_solution/common/detection_engine/rule_schema/index.ts b/x-pack/plugins/security_solution/common/detection_engine/rule_schema/index.ts deleted file mode 100644 index b63c27f71f79a..0000000000000 --- a/x-pack/plugins/security_solution/common/detection_engine/rule_schema/index.ts +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the Elastic License - * 2.0; you may not use this file except in compliance with the Elastic License - * 2.0. - */ - -export * from './model/common_attributes/field_overrides'; -export * from './model/common_attributes/misc_attributes'; -export * from './model/common_attributes/related_integrations'; -export * from './model/common_attributes/required_fields'; -export * from './model/common_attributes/saved_objects'; -export * from './model/common_attributes/timeline_template'; - -export * from './model/specific_attributes/eql_attributes'; -export * from './model/specific_attributes/new_terms_attributes'; -export * from './model/specific_attributes/query_attributes'; -export * from './model/specific_attributes/threshold_attributes'; - -export * from './model/rule_schemas'; diff --git a/x-pack/plugins/security_solution/common/detection_engine/rule_schema/mocks.ts b/x-pack/plugins/security_solution/common/detection_engine/rule_schema/mocks.ts deleted file mode 100644 index 6cf0d49e9560a..0000000000000 --- a/x-pack/plugins/security_solution/common/detection_engine/rule_schema/mocks.ts +++ /dev/null @@ -1,9 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the Elastic License - * 2.0; you may not use this file except in compliance with the Elastic License - * 2.0. - */ - -export * from './model/rule_request_schema.mock'; -export * from './model/rule_response_schema.mock'; diff --git a/x-pack/plugins/security_solution/common/detection_engine/transform_actions.test.ts b/x-pack/plugins/security_solution/common/detection_engine/transform_actions.test.ts index df8a56e999a06..6bdce7573ed4c 100644 --- a/x-pack/plugins/security_solution/common/detection_engine/transform_actions.test.ts +++ b/x-pack/plugins/security_solution/common/detection_engine/transform_actions.test.ts @@ -13,9 +13,12 @@ import { transformRuleToAlertResponseAction, transformAlertToRuleResponseAction, } from './transform_actions'; -import type { ResponseAction, RuleResponseAction } from './rule_response_actions/schemas'; -import { RESPONSE_ACTION_TYPES } from './rule_response_actions/schemas'; -import type { NormalizedRuleAction } from './rule_management/api/rules/bulk_actions/request_schema'; +import type { + ResponseAction, + RuleResponseAction, +} from '../api/detection_engine/model/rule_response_actions'; +import { RESPONSE_ACTION_TYPES } from '../api/detection_engine/model/rule_response_actions'; +import type { NormalizedRuleAction } from '../api/detection_engine/rule_management/bulk_actions/bulk_actions_route'; import type { RuleAction } from '@kbn/alerting-plugin/common'; describe('transform_actions', () => { diff --git a/x-pack/plugins/security_solution/common/detection_engine/transform_actions.ts b/x-pack/plugins/security_solution/common/detection_engine/transform_actions.ts index b17b4d5276c19..49d06ce33a78b 100644 --- a/x-pack/plugins/security_solution/common/detection_engine/transform_actions.ts +++ b/x-pack/plugins/security_solution/common/detection_engine/transform_actions.ts @@ -7,9 +7,12 @@ import type { RuleAction } from '@kbn/alerting-plugin/common'; import type { NormalizedAlertAction } from '@kbn/alerting-plugin/server/rules_client'; -import type { NormalizedRuleAction } from './rule_management/api/rules/bulk_actions/request_schema'; -import type { ResponseAction, RuleResponseAction } from './rule_response_actions/schemas'; -import { RESPONSE_ACTION_TYPES } from './rule_response_actions/schemas'; +import type { NormalizedRuleAction } from '../api/detection_engine/rule_management/bulk_actions/bulk_actions_route'; +import type { + ResponseAction, + RuleResponseAction, +} from '../api/detection_engine/model/rule_response_actions'; +import { RESPONSE_ACTION_TYPES } from '../api/detection_engine/model/rule_response_actions'; import type { RuleAlertAction } from './types'; export const transformRuleToAlertAction = ({ diff --git a/x-pack/plugins/security_solution/common/detection_engine/utils.ts b/x-pack/plugins/security_solution/common/detection_engine/utils.ts index 36f7ee8977f5f..361bf25b27c26 100644 --- a/x-pack/plugins/security_solution/common/detection_engine/utils.ts +++ b/x-pack/plugins/security_solution/common/detection_engine/utils.ts @@ -16,7 +16,7 @@ import type { import type { Type } from '@kbn/securitysolution-io-ts-alerting-types'; import { hasLargeValueList } from '@kbn/securitysolution-list-utils'; -import type { Threshold, ThresholdNormalized } from './rule_schema'; +import type { Threshold, ThresholdNormalized } from '../api/detection_engine/model/rule_schema'; export const hasLargeValueItem = ( exceptionItems: Array diff --git a/x-pack/plugins/security_solution/common/risk_engine/risk_score_preview/request_schema.ts b/x-pack/plugins/security_solution/common/risk_engine/risk_score_preview/request_schema.ts index e76b0673c6d83..87fdee201362a 100644 --- a/x-pack/plugins/security_solution/common/risk_engine/risk_score_preview/request_schema.ts +++ b/x-pack/plugins/security_solution/common/risk_engine/risk_score_preview/request_schema.ts @@ -6,7 +6,7 @@ */ import * as t from 'io-ts'; -import { DataViewId } from '../../detection_engine/rule_schema'; +import { DataViewId } from '../../api/detection_engine/model/rule_schema'; import { afterKeysSchema } from '../after_keys'; import { identifierTypeSchema } from '../identifier_types'; import { riskWeightsSchema } from '../risk_weights/schema'; diff --git a/x-pack/plugins/security_solution/common/search_strategy/timeline/index.ts b/x-pack/plugins/security_solution/common/search_strategy/timeline/index.ts index 9ca84a4cbb8d1..b71b48e425258 100644 --- a/x-pack/plugins/security_solution/common/search_strategy/timeline/index.ts +++ b/x-pack/plugins/security_solution/common/search_strategy/timeline/index.ts @@ -11,7 +11,7 @@ import type { TimelineType, TimelineStatus, RowRendererId, -} from '../../types/timeline/api'; +} from '../../api/timeline/model/api'; export * from './events'; diff --git a/x-pack/plugins/security_solution/common/types/index.ts b/x-pack/plugins/security_solution/common/types/index.ts index 8bee53d80db5a..42a3c10fc48e4 100644 --- a/x-pack/plugins/security_solution/common/types/index.ts +++ b/x-pack/plugins/security_solution/common/types/index.ts @@ -5,7 +5,7 @@ * 2.0. */ -import type { Status } from '../detection_engine/schemas/common'; +import type { Status } from '../api/detection_engine'; export * from './timeline'; export * from './detail_panel'; diff --git a/x-pack/plugins/security_solution/common/types/timeline/note/api.ts b/x-pack/plugins/security_solution/common/types/timeline/note/api.ts deleted file mode 100644 index a0968e85b30f2..0000000000000 --- a/x-pack/plugins/security_solution/common/types/timeline/note/api.ts +++ /dev/null @@ -1,56 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the Elastic License - * 2.0; you may not use this file except in compliance with the Elastic License - * 2.0. - */ - -/* eslint-disable @typescript-eslint/no-empty-interface */ - -import * as runtimeTypes from 'io-ts'; -import type { Maybe } from '../../../search_strategy/common'; - -import { unionWithNullType } from '../../../utility_types'; - -export const BareNoteSchema = runtimeTypes.intersection([ - runtimeTypes.type({ - timelineId: unionWithNullType(runtimeTypes.string), - }), - runtimeTypes.partial({ - eventId: unionWithNullType(runtimeTypes.string), - note: unionWithNullType(runtimeTypes.string), - created: unionWithNullType(runtimeTypes.number), - createdBy: unionWithNullType(runtimeTypes.string), - updated: unionWithNullType(runtimeTypes.number), - updatedBy: unionWithNullType(runtimeTypes.string), - }), -]); - -export interface BareNote extends runtimeTypes.TypeOf {} - -/** - * This type represents a note type stored in a saved object that does not include any fields that reference - * other saved objects. - */ -export type BareNoteWithoutExternalRefs = Omit; - -export const NoteRuntimeType = runtimeTypes.intersection([ - BareNoteSchema, - runtimeTypes.type({ - noteId: runtimeTypes.string, - version: runtimeTypes.string, - }), - runtimeTypes.partial({ - timelineVersion: unionWithNullType(runtimeTypes.string), - }), -]); - -export interface Note extends runtimeTypes.TypeOf {} - -export interface ResponseNote { - code?: Maybe; - - message?: Maybe; - - note: Note; -} diff --git a/x-pack/plugins/security_solution/common/types/timeline/rows/index.ts b/x-pack/plugins/security_solution/common/types/timeline/rows/index.ts index c46965635e90d..771000adb6b6f 100644 --- a/x-pack/plugins/security_solution/common/types/timeline/rows/index.ts +++ b/x-pack/plugins/security_solution/common/types/timeline/rows/index.ts @@ -6,7 +6,7 @@ */ import type { EcsSecurityExtension as Ecs } from '@kbn/securitysolution-ecs'; -import type { RowRendererId } from '../api'; +import type { RowRendererId } from '../../../api/timeline'; export interface RowRenderer { id: RowRendererId; diff --git a/x-pack/plugins/security_solution/common/types/timeline/store.ts b/x-pack/plugins/security_solution/common/types/timeline/store.ts index 8bb5a6218faaa..ceed44c45e03c 100644 --- a/x-pack/plugins/security_solution/common/types/timeline/store.ts +++ b/x-pack/plugins/security_solution/common/types/timeline/store.ts @@ -6,7 +6,7 @@ */ import type { Filter } from '@kbn/es-query'; -import type { RowRendererId, TimelineTypeLiteral } from './api'; +import type { RowRendererId, TimelineTypeLiteral } from '../../api/timeline/model/api'; import type { Direction } from '../../search_strategy'; import type { ExpandedDetailTimeline } from '../detail_panel'; diff --git a/x-pack/plugins/security_solution/common/utils/kql.ts b/x-pack/plugins/security_solution/common/utils/kql.ts index d96385e429cf6..cf55d16e91c9d 100644 --- a/x-pack/plugins/security_solution/common/utils/kql.ts +++ b/x-pack/plugins/security_solution/common/utils/kql.ts @@ -7,7 +7,7 @@ import { escapeKuery } from '@kbn/es-query'; import type { Type } from '@kbn/securitysolution-io-ts-alerting-types'; -import { RuleExecutionStatus } from '../detection_engine/rule_monitoring'; +import { RuleExecutionStatus } from '../api/detection_engine'; import { ENABLED_FIELD, LAST_RUN_OUTCOME_FIELD, diff --git a/x-pack/plugins/security_solution/cypress/data/detection_engine.ts b/x-pack/plugins/security_solution/cypress/data/detection_engine.ts index cdd72af22b785..d05ca3c1a1542 100644 --- a/x-pack/plugins/security_solution/cypress/data/detection_engine.ts +++ b/x-pack/plugins/security_solution/cypress/data/detection_engine.ts @@ -24,7 +24,7 @@ import type { RuleName, RuleReferenceArray, RuleTagArray, -} from '../../common/detection_engine/rule_schema'; +} from '../../common/api/detection_engine'; interface RuleFields { defaultIndexPatterns: IndexPatternArray; diff --git a/x-pack/plugins/security_solution/cypress/e2e/detection_rules/rule_snoozing.cy.ts b/x-pack/plugins/security_solution/cypress/e2e/detection_rules/rule_snoozing.cy.ts index c8bbbfe7756c3..20c48ebe9afbf 100644 --- a/x-pack/plugins/security_solution/cypress/e2e/detection_rules/rule_snoozing.cy.ts +++ b/x-pack/plugins/security_solution/cypress/e2e/detection_rules/rule_snoozing.cy.ts @@ -6,7 +6,7 @@ */ import { INTERNAL_ALERTING_API_FIND_RULES_PATH } from '@kbn/alerting-plugin/common'; -import type { RuleResponse } from '../../../common/detection_engine/rule_schema'; +import type { RuleResponse } from '../../../common/api/detection_engine'; import { createRule, snoozeRule as snoozeRuleViaAPI } from '../../tasks/api_calls/rules'; import { cleanKibana, deleteAlertsAndRules, deleteConnectors } from '../../tasks/common'; import { login, visitWithoutDateRange } from '../../tasks/login'; diff --git a/x-pack/plugins/security_solution/cypress/e2e/explore/dashboards/entity_analytics.cy.ts b/x-pack/plugins/security_solution/cypress/e2e/explore/dashboards/entity_analytics.cy.ts index a8d2146e4433b..4829a8d939331 100644 --- a/x-pack/plugins/security_solution/cypress/e2e/explore/dashboards/entity_analytics.cy.ts +++ b/x-pack/plugins/security_solution/cypress/e2e/explore/dashboards/entity_analytics.cy.ts @@ -10,7 +10,12 @@ import { login, visit } from '../../../tasks/login'; import { ALERTS_URL, ENTITY_ANALYTICS_URL } from '../../../urls/navigation'; import { esArchiverLoad, esArchiverUnload } from '../../../tasks/es_archiver'; -import { cleanKibana, deleteAlertsAndRules } from '../../../tasks/common'; +import { + cleanKibana, + deleteAlertsAndRules, + waitForPageToBeLoaded, + waitForTableToLoad, +} from '../../../tasks/common'; import { ANOMALIES_TABLE, ANOMALIES_TABLE_ROWS, @@ -313,11 +318,15 @@ describe('Entity Analytics Dashboard', () => { beforeEach(() => { login(); visit(ENTITY_ANALYTICS_URL); + waitForPageToBeLoaded(); }); it('renders table with pagination', () => { cy.get(ANOMALIES_TABLE).should('be.visible'); - cy.get(ANOMALIES_TABLE_ROWS).should('have.length', 10); + waitForTableToLoad(); + + // Increase default timeout because anomalies table takes a while to load + cy.get(ANOMALIES_TABLE_ROWS, { timeout: 20000 }).should('have.length', 10); // navigates to next page cy.get(ANOMALIES_TABLE_NEXT_PAGE_BUTTON).click(); diff --git a/x-pack/plugins/security_solution/cypress/e2e/explore/host_details/risk_tab.cy.ts b/x-pack/plugins/security_solution/cypress/e2e/explore/host_details/risk_tab.cy.ts index 6bcb5cd9532ee..a57d49a602c53 100644 --- a/x-pack/plugins/security_solution/cypress/e2e/explore/host_details/risk_tab.cy.ts +++ b/x-pack/plugins/security_solution/cypress/e2e/explore/host_details/risk_tab.cy.ts @@ -7,7 +7,7 @@ import { login, visitHostDetailsPage } from '../../../tasks/login'; -import { cleanKibana } from '../../../tasks/common'; +import { cleanKibana, waitForTableToLoad } from '../../../tasks/common'; import { esArchiverLoad, esArchiverUnload } from '../../../tasks/es_archiver'; import { TABLE_CELL, TABLE_ROWS } from '../../../screens/alerts_details'; @@ -49,8 +49,3 @@ describe('risk tab', () => { ); }); }); - -export const waitForTableToLoad = () => { - cy.get('.euiBasicTable-loading').should('exist'); - cy.get('.euiBasicTable-loading').should('not.exist'); -}; diff --git a/x-pack/plugins/security_solution/cypress/e2e/investigations/alerts/expandable_flyout/alert_details_right_panel.cy.ts b/x-pack/plugins/security_solution/cypress/e2e/investigations/alerts/expandable_flyout/alert_details_right_panel.cy.ts index fb21d9d5a445d..44a2326aebc8e 100644 --- a/x-pack/plugins/security_solution/cypress/e2e/investigations/alerts/expandable_flyout/alert_details_right_panel.cy.ts +++ b/x-pack/plugins/security_solution/cypress/e2e/investigations/alerts/expandable_flyout/alert_details_right_panel.cy.ts @@ -43,6 +43,7 @@ import { DOCUMENT_DETAILS_FLYOUT_HEADER_RISK_SCORE_VALUE, DOCUMENT_DETAILS_FLYOUT_HEADER_SEVERITY, DOCUMENT_DETAILS_FLYOUT_HEADER_SEVERITY_VALUE, + DOCUMENT_DETAILS_FLYOUT_HEADER_STATUS, DOCUMENT_DETAILS_FLYOUT_HEADER_TITLE, DOCUMENT_DETAILS_FLYOUT_JSON_TAB, DOCUMENT_DETAILS_FLYOUT_OVERVIEW_TAB, @@ -85,6 +86,8 @@ describe( cy.get(DOCUMENT_DETAILS_FLYOUT_HEADER_CHAT_BUTTON).should('be.visible'); + cy.get(DOCUMENT_DETAILS_FLYOUT_HEADER_STATUS).should('be.visible'); + cy.get(DOCUMENT_DETAILS_FLYOUT_HEADER_RISK_SCORE).should('be.visible'); cy.get(DOCUMENT_DETAILS_FLYOUT_HEADER_RISK_SCORE_VALUE) .should('be.visible') diff --git a/x-pack/plugins/security_solution/cypress/helpers/rules.ts b/x-pack/plugins/security_solution/cypress/helpers/rules.ts index a9a6594301384..86b5255d100c9 100644 --- a/x-pack/plugins/security_solution/cypress/helpers/rules.ts +++ b/x-pack/plugins/security_solution/cypress/helpers/rules.ts @@ -9,7 +9,7 @@ import moment from 'moment'; import type { PrebuiltRuleAsset } from '../../server/lib/detection_engine/prebuilt_rules'; import { getPrebuiltRuleMock } from '../../server/lib/detection_engine/prebuilt_rules/mocks'; -import type { ThreatArray } from '../../common/detection_engine/rule_schema'; +import type { ThreatArray } from '../../common/api/detection_engine'; export const formatMitreAttackDescription = (mitre: ThreatArray) => { return mitre diff --git a/x-pack/plugins/security_solution/cypress/objects/rule.ts b/x-pack/plugins/security_solution/cypress/objects/rule.ts index 371b81a346d0e..8488d94e9d329 100644 --- a/x-pack/plugins/security_solution/cypress/objects/rule.ts +++ b/x-pack/plugins/security_solution/cypress/objects/rule.ts @@ -16,7 +16,7 @@ import type { SavedQueryRuleCreateProps, ThreatMatchRuleCreateProps, ThresholdRuleCreateProps, -} from '../../common/detection_engine/rule_schema'; +} from '../../common/api/detection_engine'; import type { CreateRulePropsRewrites } from './types'; const ccsRemoteName: string = Cypress.env('CCS_REMOTE_NAME'); diff --git a/x-pack/plugins/security_solution/cypress/objects/timeline.ts b/x-pack/plugins/security_solution/cypress/objects/timeline.ts index 27f66b0072732..885734f93f734 100644 --- a/x-pack/plugins/security_solution/cypress/objects/timeline.ts +++ b/x-pack/plugins/security_solution/cypress/objects/timeline.ts @@ -5,7 +5,7 @@ * 2.0. */ -import type { TimelineResponse } from '../../common/types/timeline/api'; +import type { TimelineResponse } from '../../common/api/timeline'; export interface Timeline { title: string; diff --git a/x-pack/plugins/security_solution/cypress/screens/expandable_flyout/alert_details_right_panel.ts b/x-pack/plugins/security_solution/cypress/screens/expandable_flyout/alert_details_right_panel.ts index 50de0eb348264..60ebbe7fdd071 100644 --- a/x-pack/plugins/security_solution/cypress/screens/expandable_flyout/alert_details_right_panel.ts +++ b/x-pack/plugins/security_solution/cypress/screens/expandable_flyout/alert_details_right_panel.ts @@ -20,6 +20,7 @@ import { FLYOUT_HEADER_RISK_SCORE_VALUE_TEST_ID, FLYOUT_HEADER_SEVERITY_TITLE_TEST_ID, FLYOUT_HEADER_SEVERITY_VALUE_TEST_ID, + FLYOUT_HEADER_STATUS_BUTTON_TEST_ID, FLYOUT_HEADER_TITLE_TEST_ID, } from '../../../public/flyout/right/components/test_ids'; @@ -42,6 +43,9 @@ export const DOCUMENT_DETAILS_FLYOUT_OVERVIEW_TAB = getDataTestSubjectSelector(OVERVIEW_TAB_TEST_ID); export const DOCUMENT_DETAILS_FLYOUT_TABLE_TAB = getDataTestSubjectSelector(TABLE_TAB_TEST_ID); export const DOCUMENT_DETAILS_FLYOUT_JSON_TAB = getDataTestSubjectSelector(JSON_TAB_TEST_ID); +export const DOCUMENT_DETAILS_FLYOUT_HEADER_STATUS = getDataTestSubjectSelector( + FLYOUT_HEADER_STATUS_BUTTON_TEST_ID +); export const DOCUMENT_DETAILS_FLYOUT_HEADER_RISK_SCORE = getDataTestSubjectSelector( FLYOUT_HEADER_RISK_SCORE_TITLE_TEST_ID ); diff --git a/x-pack/plugins/security_solution/cypress/tasks/api_calls/rules.ts b/x-pack/plugins/security_solution/cypress/tasks/api_calls/rules.ts index bd4e9122c34d7..6c87b812046dc 100644 --- a/x-pack/plugins/security_solution/cypress/tasks/api_calls/rules.ts +++ b/x-pack/plugins/security_solution/cypress/tasks/api_calls/rules.ts @@ -11,7 +11,7 @@ import { DETECTION_ENGINE_RULES_URL, DETECTION_ENGINE_RULES_URL_FIND, } from '../../../common/constants'; -import type { RuleCreateProps, RuleResponse } from '../../../common/detection_engine/rule_schema'; +import type { RuleCreateProps, RuleResponse } from '../../../common/api/detection_engine'; import { internalAlertingSnoozeRule } from '../../urls/routes'; import type { FetchRulesResponse } from '../../../public/detection_engine/rule_management/logic/types'; diff --git a/x-pack/plugins/security_solution/cypress/tasks/api_calls/timelines.ts b/x-pack/plugins/security_solution/cypress/tasks/api_calls/timelines.ts index e30ffe7648063..ab64ac02698ca 100644 --- a/x-pack/plugins/security_solution/cypress/tasks/api_calls/timelines.ts +++ b/x-pack/plugins/security_solution/cypress/tasks/api_calls/timelines.ts @@ -5,7 +5,7 @@ * 2.0. */ -import type { TimelineResponse } from '../../../common/types/timeline/api'; +import type { TimelineResponse } from '../../../common/api/timeline'; import type { CompleteTimeline } from '../../objects/timeline'; import { rootRequest } from '../common'; diff --git a/x-pack/plugins/security_solution/cypress/tasks/common.ts b/x-pack/plugins/security_solution/cypress/tasks/common.ts index 1767b70fe33fe..fc6a7096e1814 100644 --- a/x-pack/plugins/security_solution/cypress/tasks/common.ts +++ b/x-pack/plugins/security_solution/cypress/tasks/common.ts @@ -12,6 +12,7 @@ import { LOADING_INDICATOR, LOADING_INDICATOR_HIDDEN, } from '../screens/security_header'; +import { EUI_BASIC_TABLE_LOADING } from '../screens/common/controls'; const primaryButton = 0; @@ -280,3 +281,8 @@ export const waitForWelcomePanelToBeLoaded = () => { cy.get(KIBANA_LOADING_ICON).should('exist'); cy.get(KIBANA_LOADING_ICON).should('not.exist'); }; + +export const waitForTableToLoad = () => { + cy.get(EUI_BASIC_TABLE_LOADING).should('exist'); + cy.get(EUI_BASIC_TABLE_LOADING).should('not.exist'); +}; diff --git a/x-pack/plugins/security_solution/cypress/tasks/create_new_rule.ts b/x-pack/plugins/security_solution/cypress/tasks/create_new_rule.ts index 2e9dc9630b8e6..c193245912fb6 100644 --- a/x-pack/plugins/security_solution/cypress/tasks/create_new_rule.ts +++ b/x-pack/plugins/security_solution/cypress/tasks/create_new_rule.ts @@ -123,7 +123,7 @@ import type { RuleCreateProps, ThreatMatchRuleCreateProps, ThresholdRuleCreateProps, -} from '../../common/detection_engine/rule_schema'; +} from '../../common/api/detection_engine/model'; import { waitForAlerts } from './alerts'; import { refreshPage } from './security_header'; import { EMPTY_ALERT_TABLE } from '../screens/alerts'; diff --git a/x-pack/plugins/security_solution/public/assistant/send_to_timeline/index.tsx b/x-pack/plugins/security_solution/public/assistant/send_to_timeline/index.tsx index 6651ef2b96533..9e7f5c0320b28 100644 --- a/x-pack/plugins/security_solution/public/assistant/send_to_timeline/index.tsx +++ b/x-pack/plugins/security_solution/public/assistant/send_to_timeline/index.tsx @@ -18,7 +18,7 @@ import { InputsModelId } from '../../common/store/inputs/constants'; import type { TimeRange } from '../../common/store/inputs/model'; import { SourcererScopeName } from '../../common/store/sourcerer/model'; import { TimelineTabs, TimelineId } from '../../../common/types/timeline'; -import { TimelineType } from '../../../common/types/timeline/api'; +import { TimelineType } from '../../../common/api/timeline'; import { ACTION_INVESTIGATE_IN_TIMELINE } from '../../detections/components/alerts_table/translations'; import type { DataProvider } from '../../timelines/components/timeline/data_providers/data_provider'; import { useCreateTimeline } from '../../timelines/components/timeline/properties/use_create_timeline'; diff --git a/x-pack/plugins/security_solution/public/common/components/alert_count_by_status/alert_count_by_rule_by_status.tsx b/x-pack/plugins/security_solution/public/common/components/alert_count_by_status/alert_count_by_rule_by_status.tsx index 78e36e10f04eb..f76254364d83d 100644 --- a/x-pack/plugins/security_solution/public/common/components/alert_count_by_status/alert_count_by_rule_by_status.tsx +++ b/x-pack/plugins/security_solution/public/common/components/alert_count_by_status/alert_count_by_rule_by_status.tsx @@ -12,7 +12,7 @@ import { EuiBasicTable, EuiEmptyPrompt, EuiLink, EuiPanel, EuiToolTip } from '@e import { euiStyled } from '@kbn/kibana-react-plugin/common'; import type { ESBoolQuery } from '../../../../common/typed_json'; -import type { Status } from '../../../../common/detection_engine/schemas/common'; +import type { Status } from '../../../../common/api/detection_engine'; import { SecurityPageName } from '../../../../common/constants'; import type { Filter } from '../../../overview/components/detection_response/hooks/use_navigate_to_timeline'; import { useNavigateToTimeline } from '../../../overview/components/detection_response/hooks/use_navigate_to_timeline'; diff --git a/x-pack/plugins/security_solution/public/common/components/alert_count_by_status/use_alert_count_by_rule_by_status.ts b/x-pack/plugins/security_solution/public/common/components/alert_count_by_status/use_alert_count_by_rule_by_status.ts index 515a5306ae913..c49fdb19310af 100644 --- a/x-pack/plugins/security_solution/public/common/components/alert_count_by_status/use_alert_count_by_rule_by_status.ts +++ b/x-pack/plugins/security_solution/public/common/components/alert_count_by_status/use_alert_count_by_rule_by_status.ts @@ -9,7 +9,7 @@ import { useCallback, useEffect, useState } from 'react'; import { firstNonNullValue } from '../../../../common/endpoint/models/ecs_safety_helpers'; import type { ESBoolQuery } from '../../../../common/typed_json'; -import type { Status } from '../../../../common/detection_engine/schemas/common'; +import type { Status } from '../../../../common/api/detection_engine'; import type { GenericBuckets } from '../../../../common/search_strategy'; import { ALERTS_QUERY_NAMES } from '../../../detections/containers/detection_engine/alerts/constants'; import { useQueryAlerts } from '../../../detections/containers/detection_engine/alerts/use_query'; diff --git a/x-pack/plugins/security_solution/public/common/components/drag_and_drop/drag_drop_context_wrapper.tsx b/x-pack/plugins/security_solution/public/common/components/drag_and_drop/drag_drop_context_wrapper.tsx index d29f34068a173..dd719f1cf83fd 100644 --- a/x-pack/plugins/security_solution/public/common/components/drag_and_drop/drag_drop_context_wrapper.tsx +++ b/x-pack/plugins/security_solution/public/common/components/drag_and_drop/drag_drop_context_wrapper.tsx @@ -27,7 +27,7 @@ import { } from '../../hooks/translations'; import { displaySuccessToast, useStateToaster } from '../toasters'; import { TimelineId } from '../../../../common/types/timeline'; -import { TimelineType } from '../../../../common/types/timeline/api'; +import { TimelineType } from '../../../../common/api/timeline'; import { addProviderToTimeline, fieldWasDroppedOnTimelineColumns, diff --git a/x-pack/plugins/security_solution/public/common/components/event_details/osquery_tab.tsx b/x-pack/plugins/security_solution/public/common/components/event_details/osquery_tab.tsx index 67957f2a38133..4edc6b7ae08de 100644 --- a/x-pack/plugins/security_solution/public/common/components/event_details/osquery_tab.tsx +++ b/x-pack/plugins/security_solution/public/common/components/event_details/osquery_tab.tsx @@ -20,7 +20,7 @@ import { useIsExperimentalFeatureEnabled } from '../../hooks/use_experimental_fe import { useKibana } from '../../lib/kibana'; import { EventsViewType } from './event_details'; import * as i18n from './translations'; -import { RESPONSE_ACTION_TYPES } from '../../../../common/detection_engine/rule_response_actions/schemas/response_actions'; +import { RESPONSE_ACTION_TYPES } from '../../../../common/api/detection_engine/model/rule_response_actions'; const TabContentWrapper = styled.div` height: 100%; diff --git a/x-pack/plugins/security_solution/public/common/components/event_details/overview/__snapshots__/index.test.tsx.snap b/x-pack/plugins/security_solution/public/common/components/event_details/overview/__snapshots__/index.test.tsx.snap index 6ee4557d2ee22..c676809c3c2a5 100644 --- a/x-pack/plugins/security_solution/public/common/components/event_details/overview/__snapshots__/index.test.tsx.snap +++ b/x-pack/plugins/security_solution/public/common/components/event_details/overview/__snapshots__/index.test.tsx.snap @@ -91,6 +91,7 @@ exports[`Event Details Overview Cards renders rows and spacers correctly 1`] = `
)} @@ -436,6 +490,7 @@ export const SessionView = ({ onJumpToEvent={onJumpToEvent} autoSeekToEntityId={currentJumpToOutputEntityId} canReadPolicyManagement={canReadPolicyManagement} + trackEvent={trackEvent} /> ); diff --git a/x-pack/plugins/session_view/public/components/session_view/styles.ts b/x-pack/plugins/session_view/public/components/session_view/styles.ts index ec13547fac2e4..a6d04bac0293d 100644 --- a/x-pack/plugins/session_view/public/components/session_view/styles.ts +++ b/x-pack/plugins/session_view/public/components/session_view/styles.ts @@ -55,11 +55,16 @@ export const useStyles = ({ height = 500, isFullScreen }: StylesDeps) => { }, }; + const fakeDisabled: CSSObject = { + color: euiVars.euiButtonColorDisabledText, + }; + return { processTree, detailPanel, nonGrowGroup, resizeHandle, + fakeDisabled, sessionViewerComponent, }; }, [euiTheme, isFullScreen, height, euiVars]); diff --git a/x-pack/plugins/session_view/public/components/session_view_search_bar/index.tsx b/x-pack/plugins/session_view/public/components/session_view_search_bar/index.tsx index 3fa7bcaf5d829..e7de2138f5623 100644 --- a/x-pack/plugins/session_view/public/components/session_view_search_bar/index.tsx +++ b/x-pack/plugins/session_view/public/components/session_view_search_bar/index.tsx @@ -9,6 +9,7 @@ import { EuiSearchBar, EuiPagination } from '@elastic/eui'; import { EuiSearchBarOnChangeArgs } from '@elastic/eui'; import { i18n } from '@kbn/i18n'; import { useStyles } from './styles'; +import { SessionViewTelemetryKey } from '../../types'; interface SessionViewSearchBarDeps { searchQuery: string; @@ -16,6 +17,7 @@ interface SessionViewSearchBarDeps { totalMatches: number; onPrevious: (index: number) => void; onNext: (index: number) => void; + trackEvent?: (name: SessionViewTelemetryKey) => void; } const translatePlaceholder = { @@ -37,6 +39,7 @@ export const SessionViewSearchBar = ({ totalMatches, onPrevious, onNext, + trackEvent, }: SessionViewSearchBarDeps) => { const showPagination = !!searchQuery && totalMatches !== 0; const noResults = !!searchQuery && totalMatches === 0; @@ -45,27 +48,40 @@ export const SessionViewSearchBar = ({ const [selectedResult, setSelectedResult] = useState(0); - const onSearch = ({ query }: EuiSearchBarOnChangeArgs) => { - setSelectedResult(0); + const onSearch = useCallback( + ({ query }: EuiSearchBarOnChangeArgs) => { + setSelectedResult(0); - if (query) { - setSearchQuery(query.text); - } else { - setSearchQuery(''); - } - }; + if (query) { + setSearchQuery(query.text); + } else { + setSearchQuery(''); + } + + if (trackEvent) { + trackEvent('search_performed'); + } + }, + [setSearchQuery, trackEvent] + ); const onPageClick = useCallback( (page: number) => { setSelectedResult(page); - if (page > selectedResult) { + const isNext = page > selectedResult; + + if (isNext) { onNext(page); } else { onPrevious(page); } + + if (trackEvent) { + trackEvent(isNext ? 'search_next' : 'search_previous'); + } }, - [onNext, onPrevious, selectedResult] + [onNext, onPrevious, selectedResult, trackEvent] ); return ( diff --git a/x-pack/plugins/session_view/public/components/tty_player/index.test.tsx b/x-pack/plugins/session_view/public/components/tty_player/index.test.tsx index 42be993d39d1d..8cd457e321a31 100644 --- a/x-pack/plugins/session_view/public/components/tty_player/index.test.tsx +++ b/x-pack/plugins/session_view/public/components/tty_player/index.test.tsx @@ -62,6 +62,7 @@ describe('TTYPlayer component', () => { onClose: jest.fn(), onJumpToEvent: jest.fn(), isFullscreen: false, + trackEvent: jest.fn(), }; }); diff --git a/x-pack/plugins/session_view/public/components/tty_player/index.tsx b/x-pack/plugins/session_view/public/components/tty_player/index.tsx index aa85f4bd794c0..9520e22d83fd2 100644 --- a/x-pack/plugins/session_view/public/components/tty_player/index.tsx +++ b/x-pack/plugins/session_view/public/components/tty_player/index.tsx @@ -28,6 +28,7 @@ import { POLICIES_PAGE_PATH, SECURITY_APP_ID, } from '../../../common/constants'; +import { SessionViewTelemetryKey } from '../../types'; import { useFetchIOEvents, useIOLines, useXtermPlayer } from './hooks'; import { TTYPlayerControls } from '../tty_player_controls'; import { BETA, TOGGLE_TTY_PLAYER, DETAIL_PANEL } from '../session_view/translations'; @@ -42,6 +43,7 @@ export interface TTYPlayerDeps { onJumpToEvent(event: ProcessEvent): void; autoSeekToEntityId?: string; canReadPolicyManagement?: boolean; + trackEvent(name: SessionViewTelemetryKey): void; } export const TTYPlayer = ({ @@ -54,6 +56,7 @@ export const TTYPlayer = ({ onJumpToEvent, autoSeekToEntityId, canReadPolicyManagement, + trackEvent, }: TTYPlayerDeps) => { const ref = useRef(null); const { ref: scrollRef, height: containerHeight = 1 } = useResizeObserver({}); @@ -153,7 +156,13 @@ export const TTYPlayer = ({ seekToLine(0); } setIsPlaying(!isPlaying); - }, [currentLine, isPlaying, lines.length, seekToLine]); + + if (isPlaying) { + trackEvent('tty_playback_started'); + } else { + trackEvent('tty_playback_stopped'); + } + }, [currentLine, isPlaying, lines.length, seekToLine, trackEvent]); useEffect(() => { if (isPlaying) { diff --git a/x-pack/plugins/session_view/public/methods/index.tsx b/x-pack/plugins/session_view/public/methods/index.tsx index 54d51d0833c3f..03a1afae3adec 100644 --- a/x-pack/plugins/session_view/public/methods/index.tsx +++ b/x-pack/plugins/session_view/public/methods/index.tsx @@ -8,7 +8,10 @@ import React, { lazy, Suspense } from 'react'; import { EuiLoadingSpinner } from '@elastic/eui'; import { QueryClient, QueryClientProvider } from '@tanstack/react-query'; -import { SessionViewDeps } from '../types'; +import type { UsageCollectionStart } from '@kbn/usage-collection-plugin/public'; +import { METRIC_TYPE } from '@kbn/analytics'; +import { SessionViewDeps, SessionViewTelemetryKey } from '../types'; +import { USAGE_COLLECTION_APP_NAME } from '../../common/constants'; // Initializing react-query const queryClient = new QueryClient(); @@ -48,13 +51,20 @@ export const getIndexPattern = (eventIndex?: string | null) => { return clusterStr + index; }; -export const getSessionViewLazy = (props: SessionViewDeps) => { +export const getSessionViewLazy = ( + props: SessionViewDeps & { usageCollection?: UsageCollectionStart } +) => { const index = getIndexPattern(props.index); + const trackEvent = (key: SessionViewTelemetryKey) => { + if (props.usageCollection) { + props.usageCollection.reportUiCounter(USAGE_COLLECTION_APP_NAME, METRIC_TYPE.CLICK, key); + } + }; return ( }> - + ); diff --git a/x-pack/plugins/session_view/public/plugin.ts b/x-pack/plugins/session_view/public/plugin.ts index 988068ccda729..0805f0c889b19 100644 --- a/x-pack/plugins/session_view/public/plugin.ts +++ b/x-pack/plugins/session_view/public/plugin.ts @@ -6,15 +6,24 @@ */ import { CoreSetup, CoreStart, Plugin } from '@kbn/core/public'; -import { SessionViewServices, SessionViewDeps } from './types'; +import { + SessionViewPluginStart, + SessionViewPluginStartDeps, + SessionViewPluginSetup, + SessionViewPluginSetupDeps, + SessionViewDeps, +} from './types'; import { getSessionViewLazy } from './methods'; -export class SessionViewPlugin implements Plugin { - public setup(core: CoreSetup) {} +export class SessionViewPlugin implements Plugin { + public setup(core: CoreSetup) { + return {}; + } - public start(core: CoreStart) { + public start(core: CoreStart, plugins: SessionViewPluginStartDeps): SessionViewPluginStart { return { - getSessionView: (sessionViewDeps: SessionViewDeps) => getSessionViewLazy(sessionViewDeps), + getSessionView: (sessionViewDeps: SessionViewDeps) => + getSessionViewLazy({ ...sessionViewDeps, usageCollection: plugins?.usageCollection }), }; } diff --git a/x-pack/plugins/session_view/public/types.ts b/x-pack/plugins/session_view/public/types.ts index 846d3baaa86ef..a12b7540720d5 100644 --- a/x-pack/plugins/session_view/public/types.ts +++ b/x-pack/plugins/session_view/public/types.ts @@ -5,9 +5,54 @@ * 2.0. */ import { ReactNode } from 'react'; -import { CoreStart } from '@kbn/core/public'; +import type { + UsageCollectionSetup, + UsageCollectionStart, +} from '@kbn/usage-collection-plugin/public'; -export type SessionViewServices = CoreStart; +// eslint-disable-next-line @typescript-eslint/no-empty-interface +export interface SessionViewPluginSetup {} +// eslint-disable-next-line @typescript-eslint/no-empty-interface +export interface SessionViewPluginStart {} + +export interface SessionViewPluginStartDeps { + usageCollection?: UsageCollectionStart; +} + +export interface SessionViewPluginSetupDeps { + usageCollection?: UsageCollectionSetup; +} + +// the following are all the reportUiCounter click tracking events we send up. +export type SessionViewTelemetryKey = + | 'loaded_from_cloud_defend_log' + | 'loaded_from_cloud_defend_alert' + | 'loaded_from_endpoint_log' + | 'loaded_from_endpoint_alert' + | 'loaded_from_unknown_log' + | 'loaded_from_unknown_alert' + | 'refresh_clicked' + | 'process_selected' + | 'collapse_tree' + | 'children_opened' + | 'children_closed' + | 'alerts_opened' + | 'alerts_closed' + | 'details_opened' + | 'details_closed' + | 'output_clicked' + | 'alert_details_loaded' + | 'disabled_tty_clicked' // tty button clicked when disabled (no data or not enabled) + | 'tty_loaded' // tty player succesfully loaded + | 'tty_playback_started' + | 'tty_playback_stopped' + | 'verbose_mode_enabled' + | 'verbose_mode_disabled' + | 'timestamp_enabled' + | 'timestamp_disabled' + | 'search_performed' + | 'search_next' + | 'search_previous'; export interface SessionViewDeps { // we pass in the index of the session leader that spawned session_view, this avoids having to query multiple cross cluster indices diff --git a/x-pack/plugins/session_view/server/types.ts b/x-pack/plugins/session_view/server/types.ts index f3585be42e7b5..c5d5473c4a809 100644 --- a/x-pack/plugins/session_view/server/types.ts +++ b/x-pack/plugins/session_view/server/types.ts @@ -8,9 +8,11 @@ import { RuleRegistryPluginSetupContract as RuleRegistryPluginSetup, RuleRegistryPluginStartContract as RuleRegistryPluginStart, } from '@kbn/rule-registry-plugin/server'; +import type { UsageCollectionSetup } from '@kbn/usage-collection-plugin/server'; export interface SessionViewSetupPlugins { ruleRegistry: RuleRegistryPluginSetup; + usageCollection: UsageCollectionSetup; } export interface SessionViewStartPlugins { diff --git a/x-pack/plugins/session_view/tsconfig.json b/x-pack/plugins/session_view/tsconfig.json index 021c772d9eb7d..20a1f5234d9ff 100644 --- a/x-pack/plugins/session_view/tsconfig.json +++ b/x-pack/plugins/session_view/tsconfig.json @@ -36,6 +36,8 @@ "@kbn/rule-data-utils", "@kbn/securitysolution-es-utils", "@kbn/shared-ux-router", + "@kbn/usage-collection-plugin", + "@kbn/analytics", ], "exclude": [ "target/**/*", diff --git a/x-pack/plugins/snapshot_restore/server/config.ts b/x-pack/plugins/snapshot_restore/server/config.ts index e2452e5b58e54..e712f33eb0cbd 100644 --- a/x-pack/plugins/snapshot_restore/server/config.ts +++ b/x-pack/plugins/snapshot_restore/server/config.ts @@ -29,7 +29,14 @@ const schemaLatest = schema.object( * Disables the plugin. * Added back in 8.8. */ - enabled: schema.boolean({ defaultValue: true }), + enabled: schema.conditional( + schema.contextRef('serverless'), + true, + // Snapshot & Restore is disabled in serverless; refer to the serverless.yml file as the source of truth + // We take this approach in order to have a central place (serverless.yml) to view disabled plugins across Kibana + schema.boolean({ defaultValue: true }), + schema.never() + ), }, { defaultValue: undefined } ); diff --git a/x-pack/plugins/synthetics/public/apps/synthetics/components/certificates/certificates_list.tsx b/x-pack/plugins/synthetics/public/apps/synthetics/components/certificates/certificates_list.tsx index 3bde6cd1a88b1..67d9b29b9024b 100644 --- a/x-pack/plugins/synthetics/public/apps/synthetics/components/certificates/certificates_list.tsx +++ b/x-pack/plugins/synthetics/public/apps/synthetics/components/certificates/certificates_list.tsx @@ -9,6 +9,7 @@ import React from 'react'; import moment from 'moment'; import { Direction, EuiBasicTable } from '@elastic/eui'; import { Cert, CertMonitor, CertResult } from '../../../../../common/runtime_types'; +import { useDateFormat } from '../../../../hooks/use_date_format'; import { CertStatus } from './cert_status'; import { CertMonitors } from './cert_monitors'; import * as labels from './translations'; @@ -46,6 +47,7 @@ interface Props { } export const CertificateList: React.FC = ({ page, certificates, sort, onChange }) => { + const dateFormatter = useDateFormat(); const pagination = { pageIndex: page.index, pageSize: page.size, @@ -80,7 +82,7 @@ export const CertificateList: React.FC = ({ page, certificates, sort, onC name: labels.VALID_UNTIL_COL, field: 'not_after', sortable: true, - render: (value: string) => moment(value).format('L LT'), + render: dateFormatter, }, { name: labels.AGE_COL, diff --git a/x-pack/plugins/synthetics/public/apps/synthetics/components/step_details_page/common/network_data/data_formatting.test.ts b/x-pack/plugins/synthetics/public/apps/synthetics/components/step_details_page/common/network_data/data_formatting.test.ts index 1e1112603e67f..2f4136d425963 100644 --- a/x-pack/plugins/synthetics/public/apps/synthetics/components/step_details_page/common/network_data/data_formatting.test.ts +++ b/x-pack/plugins/synthetics/public/apps/synthetics/components/step_details_page/common/network_data/data_formatting.test.ts @@ -14,6 +14,7 @@ import { } from './data_formatting'; import { MimeType, FriendlyFlyoutLabels, FriendlyTimingLabels, Timings, Metadata } from './types'; import { WaterfallDataEntry } from './types'; +import type { DateFormatter } from '../../../../../../hooks/use_date_format'; import { mockMoment } from '../../../../utils/formatting/test_helpers'; import { NetworkEvent } from '../../../../../../../common/runtime_types'; @@ -231,12 +232,14 @@ describe('Palettes', () => { }); describe('getSeriesAndDomain', () => { + let mockDateFormatter: DateFormatter; beforeEach(() => { mockMoment(); + mockDateFormatter = (dateStr?: string) => (dateStr ? moment(dateStr).format() : ''); }); it('formats series timings', () => { - const actual = getSeriesAndDomain(networkItems); + const actual = getSeriesAndDomain(networkItems, false, mockDateFormatter); expect(actual.series).toMatchInlineSnapshot(` Array [ Object { @@ -409,7 +412,7 @@ describe('getSeriesAndDomain', () => { }); it('handles series formatting when only total timing values are available', () => { - const { series } = getSeriesAndDomain(networkItemsWithoutFullTimings); + const { series } = getSeriesAndDomain(networkItemsWithoutFullTimings, false, mockDateFormatter); expect(series).toMatchInlineSnapshot(` Array [ Object { @@ -536,7 +539,7 @@ describe('getSeriesAndDomain', () => { }); it('handles series formatting when there is no timing information available', () => { - const { series } = getSeriesAndDomain(networkItemsWithoutAnyTimings); + const { series } = getSeriesAndDomain(networkItemsWithoutAnyTimings, false, mockDateFormatter); expect(series).toMatchInlineSnapshot(` Array [ Object { @@ -555,7 +558,7 @@ describe('getSeriesAndDomain', () => { }); it('handles formatting when there is no timing information available', () => { - const actual = getSeriesAndDomain(networkItemsWithoutAnyTimings); + const actual = getSeriesAndDomain(networkItemsWithoutAnyTimings, false, mockDateFormatter); expect(actual).toMatchInlineSnapshot(` Object { "domain": Object { @@ -636,7 +639,11 @@ describe('getSeriesAndDomain', () => { }); it('handles formatting when the timings object is undefined', () => { - const { series } = getSeriesAndDomain(networkItemsWithoutTimingsObject); + const { series } = getSeriesAndDomain( + networkItemsWithoutTimingsObject, + false, + mockDateFormatter + ); expect(series).toMatchInlineSnapshot(` Array [ Object { @@ -653,7 +660,11 @@ describe('getSeriesAndDomain', () => { }); it('handles formatting when mime type is not mapped to a specific mime type bucket', () => { - const { series } = getSeriesAndDomain(networkItemsWithUnknownMimeType); + const { series } = getSeriesAndDomain( + networkItemsWithUnknownMimeType, + false, + mockDateFormatter + ); /* verify that raw mime type appears in the tooltip config and that * the colour is mapped to mime type other */ const contentDownloadingConfigItem = series.find((item: WaterfallDataEntry) => { @@ -682,7 +693,7 @@ describe('getSeriesAndDomain', () => { [FriendlyFlyoutLabels[Metadata.ResourceSize], '1.000 KB'], [FriendlyFlyoutLabels[Metadata.IP], '104.18.8.22'], ])('handles metadata details formatting', (name, value) => { - const { metadata } = getSeriesAndDomain(networkItems); + const { metadata } = getSeriesAndDomain(networkItems, false, mockDateFormatter); const metadataEntry = metadata[0]; expect( metadataEntry.details.find((item) => item.value === value && item.name === name) @@ -690,7 +701,7 @@ describe('getSeriesAndDomain', () => { }); it('handles metadata headers formatting', () => { - const { metadata } = getSeriesAndDomain(networkItems); + const { metadata } = getSeriesAndDomain(networkItems, false, mockDateFormatter); const metadataEntry = metadata[0]; metadataEntry.requestHeaders?.forEach((header) => { expect(header).toEqual({ name: header.name, value: header.value }); @@ -701,7 +712,7 @@ describe('getSeriesAndDomain', () => { }); it('handles certificate formatting', () => { - const { metadata } = getSeriesAndDomain([networkItems[0]]); + const { metadata } = getSeriesAndDomain([networkItems[0]], false, mockDateFormatter); const metadataEntry = metadata[0]; expect(metadataEntry.certificates).toEqual([ { name: 'Issuer', value: networkItems[0].certificates?.issuer }, @@ -715,13 +726,15 @@ describe('getSeriesAndDomain', () => { }); it('counts the total number of highlighted items', () => { // only one CSS file in this array of network Items - const actual = getSeriesAndDomain(networkItems, false, '', ['stylesheet']); + const actual = getSeriesAndDomain(networkItems, false, mockDateFormatter, '', ['stylesheet']); expect(actual.totalHighlightedRequests).toBe(1); }); it('adds isHighlighted to waterfall entry when filter matches', () => { // only one CSS file in this array of network Items - const { series } = getSeriesAndDomain(networkItems, false, '', ['stylesheet']); + const { series } = getSeriesAndDomain(networkItems, false, mockDateFormatter, '', [ + 'stylesheet', + ]); series.forEach((item) => { if (item.x === 0) { expect(item.config.isHighlighted).toBe(true); @@ -733,7 +746,7 @@ describe('getSeriesAndDomain', () => { it('adds isHighlighted to waterfall entry when query matches', () => { // only the second item matches this query - const { series } = getSeriesAndDomain(networkItems, false, 'director', []); + const { series } = getSeriesAndDomain(networkItems, false, mockDateFormatter, 'director', []); series.forEach((item) => { if (item.x === 1) { expect(item.config.isHighlighted).toBe(true); diff --git a/x-pack/plugins/synthetics/public/apps/synthetics/components/step_details_page/common/network_data/data_formatting.ts b/x-pack/plugins/synthetics/public/apps/synthetics/components/step_details_page/common/network_data/data_formatting.ts index 9e300e5576671..8e87bbe657193 100644 --- a/x-pack/plugins/synthetics/public/apps/synthetics/components/step_details_page/common/network_data/data_formatting.ts +++ b/x-pack/plugins/synthetics/public/apps/synthetics/components/step_details_page/common/network_data/data_formatting.ts @@ -6,9 +6,9 @@ */ import { euiPaletteColorBlind } from '@elastic/eui'; -import moment from 'moment'; import { MarkerItems } from '../../step_waterfall_chart/waterfall/context/waterfall_context'; +import type { DateFormatter } from '../../../../../../hooks/use_date_format'; import { NetworkEvent } from '../../../../../../../common/runtime_types'; import { WaterfallData, WaterfallMetadata } from './types'; import { @@ -128,6 +128,7 @@ export const getFilterMatcher = (filters: string[] | undefined): ItemMatcher => export const getSeriesAndDomain = ( items: NetworkEvent[], onlyHighlighted = false, + dateFormatter: DateFormatter, query?: string, activeFilters?: string[], markerItems?: MarkerItems @@ -159,7 +160,7 @@ export const getSeriesAndDomain = ( const mimeTypeColour = getColourForMimeType(item.mimeType); const offsetValue = getValueForOffset(item); let currentOffset = offsetValue - zeroOffset; - metadata.push(formatMetadata({ item, index, requestStart: currentOffset })); + metadata.push(formatMetadata({ item, index, requestStart: currentOffset, dateFormatter })); const isHighlighted = isHighlightedItem(item, queryMatcher, filterMatcher); if (isHighlighted) { totalHighlightedRequests++; @@ -270,10 +271,12 @@ const formatMetadata = ({ item, index, requestStart, + dateFormatter, }: { item: NetworkEvent; index: number; requestStart: number; + dateFormatter: DateFormatter; }) => { const { certificates, @@ -301,13 +304,11 @@ const formatMetadata = ({ }, { name: FriendlyFlyoutLabels[Metadata.CertificateIssueDate], - value: certificates.validFrom - ? moment(certificates.validFrom).format('L LT') - : undefined, + value: certificates.validFrom ? dateFormatter(certificates.validFrom) : undefined, }, { name: FriendlyFlyoutLabels[Metadata.CertificateExpiryDate], - value: certificates.validTo ? moment(certificates.validTo).format('L LT') : undefined, + value: certificates.validTo ? dateFormatter(certificates.validTo) : undefined, }, { name: FriendlyFlyoutLabels[Metadata.CertificateSubject], diff --git a/x-pack/plugins/synthetics/public/apps/synthetics/components/step_details_page/step_waterfall_chart/waterfall/waterfall_chart_wrapper.tsx b/x-pack/plugins/synthetics/public/apps/synthetics/components/step_details_page/step_waterfall_chart/waterfall/waterfall_chart_wrapper.tsx index 5a6cc596068d3..ed5a6b73d411e 100644 --- a/x-pack/plugins/synthetics/public/apps/synthetics/components/step_details_page/step_waterfall_chart/waterfall/waterfall_chart_wrapper.tsx +++ b/x-pack/plugins/synthetics/public/apps/synthetics/components/step_details_page/step_waterfall_chart/waterfall/waterfall_chart_wrapper.tsx @@ -9,6 +9,7 @@ import React, { useCallback, useMemo, useState } from 'react'; import useLocalStorage from 'react-use/lib/useLocalStorage'; import { EuiHealth } from '@elastic/eui'; import { JourneyStep, NetworkEvent } from '../../../../../../../common/runtime_types'; +import { useDateFormat } from '../../../../../../hooks/use_date_format'; import { getSeriesAndDomain, getSidebarItems } from '../../common/network_data/data_formatting'; import { SidebarItem, LegendItem } from '../../common/network_data/types'; import { RenderItem, WaterfallDataEntry } from '../../common/network_data/types'; @@ -54,9 +55,17 @@ export const WaterfallChartWrapper: React.FC = ({ const hasFilters = activeFilters.length > 0; + const dateFormatter = useDateFormat(); const { series, domain, metadata, totalHighlightedRequests } = useMemo(() => { - return getSeriesAndDomain(networkData, onlyHighlighted, query, activeFilters, markerItems); - }, [networkData, query, activeFilters, onlyHighlighted, markerItems]); + return getSeriesAndDomain( + networkData, + onlyHighlighted, + dateFormatter, + query, + activeFilters, + markerItems + ); + }, [networkData, dateFormatter, query, activeFilters, onlyHighlighted, markerItems]); const sidebarItems = useMemo(() => { return getSidebarItems(networkData, onlyHighlighted ?? false, query, activeFilters); diff --git a/x-pack/plugins/synthetics/public/hooks/use_date_format.ts b/x-pack/plugins/synthetics/public/hooks/use_date_format.ts index 4b402cc2367cd..6214deb9be4a8 100644 --- a/x-pack/plugins/synthetics/public/hooks/use_date_format.ts +++ b/x-pack/plugins/synthetics/public/hooks/use_date_format.ts @@ -9,7 +9,8 @@ import moment from 'moment'; import { useEffect } from 'react'; import { i18n } from '@kbn/i18n'; -export function useDateFormat(): (timestamp?: string) => string { +export type DateFormatter = (timestamp?: string) => string; +export function useDateFormat(): DateFormatter { const kibanaLocale = i18n.getLocale(); const clientLocale = navigator.language; diff --git a/x-pack/plugins/telemetry_collection_xpack/schema/xpack_plugins.json b/x-pack/plugins/telemetry_collection_xpack/schema/xpack_plugins.json index cc7e743cd1055..f7a7db93ad6e8 100644 --- a/x-pack/plugins/telemetry_collection_xpack/schema/xpack_plugins.json +++ b/x-pack/plugins/telemetry_collection_xpack/schema/xpack_plugins.json @@ -5418,6 +5418,293 @@ } } }, + "cloud_defend": { + "properties": { + "indices": { + "properties": { + "alerts": { + "properties": { + "doc_count": { + "type": "long" + }, + "deleted": { + "type": "long" + }, + "size_in_bytes": { + "type": "long" + }, + "last_doc_timestamp": { + "type": "date" + } + } + }, + "file": { + "properties": { + "doc_count": { + "type": "long" + }, + "deleted": { + "type": "long" + }, + "size_in_bytes": { + "type": "long" + }, + "last_doc_timestamp": { + "type": "date" + } + } + }, + "process": { + "properties": { + "doc_count": { + "type": "long" + }, + "deleted": { + "type": "long" + }, + "size_in_bytes": { + "type": "long" + }, + "last_doc_timestamp": { + "type": "date" + } + } + }, + "latestPackageVersion": { + "type": "keyword" + }, + "packageStatus": { + "properties": { + "status": { + "type": "keyword" + }, + "installedPackagePolicies": { + "type": "long" + }, + "healthyAgents": { + "type": "long" + } + } + } + } + }, + "pods_stats": { + "type": "array", + "items": { + "properties": { + "account_id": { + "type": "keyword" + }, + "container_image_name": { + "type": "keyword" + }, + "container_image_tag": { + "type": "keyword" + }, + "pod_name": { + "type": "keyword" + }, + "total_doc_count": { + "type": "long" + }, + "process_doc_count": { + "type": "long" + }, + "file_doc_count": { + "type": "long" + }, + "alert_doc_count": { + "type": "long" + } + } + } + }, + "accounts_stats": { + "type": "array", + "items": { + "properties": { + "account_id": { + "type": "keyword" + }, + "cloud_provider": { + "type": "keyword" + }, + "kubernetes_version": { + "type": "keyword" + }, + "total_doc_count": { + "type": "long" + }, + "file_doc_count": { + "type": "long" + }, + "process_doc_count": { + "type": "long" + }, + "alert_doc_count": { + "type": "long" + }, + "agents_count": { + "type": "short" + }, + "nodes_count": { + "type": "short" + }, + "pods_count": { + "type": "short" + } + } + } + }, + "installation_stats": { + "type": "array", + "items": { + "properties": { + "package_policy_id": { + "type": "keyword" + }, + "package_version": { + "type": "keyword" + }, + "agent_policy_id": { + "type": "keyword" + }, + "created_at": { + "type": "date" + }, + "agent_count": { + "type": "long" + }, + "policy_yaml": { + "type": "keyword" + }, + "selectors": { + "type": "array", + "items": { + "properties": { + "type": { + "type": "keyword" + }, + "name": { + "type": "keyword" + }, + "operation": { + "type": "array", + "items": { + "type": "keyword" + } + }, + "containerImageFullName": { + "type": "array", + "items": { + "type": "keyword" + } + }, + "containerImageName": { + "type": "array", + "items": { + "type": "keyword" + } + }, + "containerImageTag": { + "type": "array", + "items": { + "type": "keyword" + } + }, + "kubernetesClusterId": { + "type": "array", + "items": { + "type": "keyword" + } + }, + "kubernetesClusterName": { + "type": "array", + "items": { + "type": "keyword" + } + }, + "kubernetesNamespace": { + "type": "array", + "items": { + "type": "keyword" + } + }, + "kubernetesPodLabel": { + "type": "array", + "items": { + "type": "keyword" + } + }, + "kubernetesPodName": { + "type": "array", + "items": { + "type": "keyword" + } + }, + "targetFilePath": { + "type": "array", + "items": { + "type": "keyword" + } + }, + "ignoreVolumeFiles": { + "type": "boolean" + }, + "ignoreVolumeMounts": { + "type": "boolean" + }, + "processExecutable": { + "type": "array", + "items": { + "type": "keyword" + } + }, + "processName": { + "type": "array", + "items": { + "type": "keyword" + } + }, + "sessionLeaderInteractive": { + "type": "boolean" + } + } + } + }, + "responses": { + "type": "array", + "items": { + "properties": { + "type": { + "type": "keyword" + }, + "match": { + "type": "array", + "items": { + "type": "keyword" + } + }, + "exclude": { + "type": "array", + "items": { + "type": "keyword" + } + }, + "actions": { + "type": "array", + "items": { + "type": "keyword" + } + } + } + } + } + } + } + } + } + }, "cloud_security_posture": { "properties": { "indices": { diff --git a/x-pack/plugins/upgrade_assistant/server/config.ts b/x-pack/plugins/upgrade_assistant/server/config.ts index bf872f50b5222..76820c5121765 100644 --- a/x-pack/plugins/upgrade_assistant/server/config.ts +++ b/x-pack/plugins/upgrade_assistant/server/config.ts @@ -15,7 +15,14 @@ const configSchema = schema.object({ /** * Disables the plugin. */ - enabled: schema.boolean({ defaultValue: true }), + enabled: schema.conditional( + schema.contextRef('serverless'), + true, + // Upgrade Assistant is disabled in serverless; refer to the serverless.yml file as the source of truth + // We take this approach in order to have a central place (serverless.yml) to view disabled plugins across Kibana + schema.boolean({ defaultValue: true }), + schema.never() + ), featureSet: schema.object({ /** diff --git a/x-pack/test/accessibility/apps/transform.ts b/x-pack/test/accessibility/apps/transform.ts index 417ab317218de..9d52571956816 100644 --- a/x-pack/test/accessibility/apps/transform.ts +++ b/x-pack/test/accessibility/apps/transform.ts @@ -11,7 +11,7 @@ export default function ({ getService }: FtrProviderContext) { const a11y = getService('a11y'); const transform = getService('transform'); - describe('transform Accessibility', () => { + describe('transform Accessibility', function () { const esArchiver = getService('esArchiver'); before(async () => { @@ -147,7 +147,7 @@ export default function ({ getService }: FtrProviderContext) { await a11y.testAppSnapshot(); }); - it('create pivot transform configuration step JSON editor', async () => { + it.skip('create pivot transform configuration step JSON editor', async () => { await transform.testExecution.logTestStep('displays the JSON pivot configuration'); await transform.wizard.assertAdvancedPivotEditorSwitchExists(); await transform.wizard.enableAdvancedPivotEditor(); diff --git a/x-pack/test/accessibility/config.ts b/x-pack/test/accessibility/config.ts index 6527fabb8bed3..dd059ff56e3b7 100644 --- a/x-pack/test/accessibility/config.ts +++ b/x-pack/test/accessibility/config.ts @@ -33,10 +33,8 @@ export default async function ({ readConfigFile }: FtrConfigProviderContext) { require.resolve('./apps/roles'), require.resolve('./apps/ingest_node_pipelines'), require.resolve('./apps/index_lifecycle_management'), - // https://github.com/elastic/kibana/issues/153596 - // https://github.com/elastic/kibana/issues/153592 require.resolve('./apps/ml'), - // require.resolve('./apps/transform'), + require.resolve('./apps/transform'), require.resolve('./apps/lens'), require.resolve('./apps/upgrade_assistant'), require.resolve('./apps/canvas'), diff --git a/x-pack/test/alerting_api_integration/spaces_only/tests/alerting/group3/builtin_alert_types/es_query/rule.ts b/x-pack/test/alerting_api_integration/spaces_only/tests/alerting/group3/builtin_alert_types/es_query/rule.ts index f422be7be19d7..cf4e8cf17b145 100644 --- a/x-pack/test/alerting_api_integration/spaces_only/tests/alerting/group3/builtin_alert_types/es_query/rule.ts +++ b/x-pack/test/alerting_api_integration/spaces_only/tests/alerting/group3/builtin_alert_types/es_query/rule.ts @@ -40,7 +40,8 @@ export default function ruleTests({ getService }: FtrProviderContext) { createGroupedEsDocumentsInGroups, } = getRuleServices(getService); - describe('rule', async () => { + // FLAKY: https://github.com/elastic/kibana/issues/154073 + describe.skip('rule', async () => { let endDate: string; let connectorId: string; const objectRemover = new ObjectRemover(supertest); diff --git a/x-pack/test/api_integration/apis/security_solution/saved_objects/helpers.ts b/x-pack/test/api_integration/apis/security_solution/saved_objects/helpers.ts index 0c8b58ba28e02..38212020ba18a 100644 --- a/x-pack/test/api_integration/apis/security_solution/saved_objects/helpers.ts +++ b/x-pack/test/api_integration/apis/security_solution/saved_objects/helpers.ts @@ -7,7 +7,7 @@ import type SuperTest from 'supertest'; import { v4 as uuidv4 } from 'uuid'; -import { TimelineType } from '@kbn/security-solution-plugin/common/types/timeline/api'; +import { TimelineType } from '@kbn/security-solution-plugin/common/api/timeline'; export const createBasicTimeline = async ( supertest: SuperTest.SuperTest, diff --git a/x-pack/test/api_integration/apis/security_solution/saved_objects/timeline.ts b/x-pack/test/api_integration/apis/security_solution/saved_objects/timeline.ts index a4dc8836e8be1..f253b3d5dec38 100644 --- a/x-pack/test/api_integration/apis/security_solution/saved_objects/timeline.ts +++ b/x-pack/test/api_integration/apis/security_solution/saved_objects/timeline.ts @@ -6,10 +6,7 @@ */ import expect from '@kbn/expect'; -import { - TimelineResult, - TimelineType, -} from '@kbn/security-solution-plugin/common/types/timeline/api'; +import { TimelineResult, TimelineType } from '@kbn/security-solution-plugin/common/api/timeline'; import { FtrProviderContext } from '../../../ftr_provider_context'; import { createBasicTimeline } from './helpers'; diff --git a/x-pack/test/api_integration/apis/security_solution/timeline.ts b/x-pack/test/api_integration/apis/security_solution/timeline.ts index 998be1806a03d..191cf7e396b33 100644 --- a/x-pack/test/api_integration/apis/security_solution/timeline.ts +++ b/x-pack/test/api_integration/apis/security_solution/timeline.ts @@ -6,10 +6,7 @@ */ import expect from '@kbn/expect'; -import { - SavedTimeline, - TimelineType, -} from '@kbn/security-solution-plugin/common/types/timeline/api'; +import { SavedTimeline, TimelineType } from '@kbn/security-solution-plugin/common/api/timeline'; import { FtrProviderContext } from '../../ftr_provider_context'; import { createBasicTimeline, createBasicTimelineTemplate } from './saved_objects/helpers'; diff --git a/x-pack/test/api_integration/apis/security_solution/timeline_migrations.ts b/x-pack/test/api_integration/apis/security_solution/timeline_migrations.ts index 6a7c57b0b4939..fad8b6b444fe0 100644 --- a/x-pack/test/api_integration/apis/security_solution/timeline_migrations.ts +++ b/x-pack/test/api_integration/apis/security_solution/timeline_migrations.ts @@ -11,10 +11,11 @@ import { pinnedEventSavedObjectType, timelineSavedObjectType, } from '@kbn/security-solution-plugin/server/lib/timeline/saved_object_mappings'; -import { TimelineWithoutExternalRefs } from '@kbn/security-solution-plugin/common/types/timeline/api'; -import { BareNoteWithoutExternalRefs } from '@kbn/security-solution-plugin/common/types/timeline/note/api'; - -import { BarePinnedEventWithoutExternalRefs } from '@kbn/security-solution-plugin/common/types/timeline/pinned_event/api'; +import { + BareNoteWithoutExternalRefs, + BarePinnedEventWithoutExternalRefs, + TimelineWithoutExternalRefs, +} from '@kbn/security-solution-plugin/common/api/timeline'; import { FtrProviderContext } from '../../ftr_provider_context'; import { getSavedObjectFromES } from './utils'; diff --git a/x-pack/test/cases_api_integration/common/lib/alerts.ts b/x-pack/test/cases_api_integration/common/lib/alerts.ts index be0ee606f503d..6f63c8df25777 100644 --- a/x-pack/test/cases_api_integration/common/lib/alerts.ts +++ b/x-pack/test/cases_api_integration/common/lib/alerts.ts @@ -10,7 +10,7 @@ import type SuperTest from 'supertest'; import type * as estypes from '@elastic/elasticsearch/lib/api/typesWithBodyKey'; import { ToolingLog } from '@kbn/tooling-log'; import { DETECTION_ENGINE_QUERY_SIGNALS_URL } from '@kbn/security-solution-plugin/common/constants'; -import { DetectionAlert } from '@kbn/security-solution-plugin/common/detection_engine/schemas/alerts'; +import { DetectionAlert } from '@kbn/security-solution-plugin/common/api/detection_engine'; import { RiskEnrichmentFields } from '@kbn/security-solution-plugin/server/lib/detection_engine/rule_types/utils/enrichments/types'; import { Case, CommentType } from '@kbn/cases-plugin/common'; import { ALERT_CASE_IDS } from '@kbn/rule-data-utils'; diff --git a/x-pack/test/detection_engine_api_integration/basic/tests/coverage_overview.ts b/x-pack/test/detection_engine_api_integration/basic/tests/coverage_overview.ts index 8a5419efdfe17..d7427a24657fa 100644 --- a/x-pack/test/detection_engine_api_integration/basic/tests/coverage_overview.ts +++ b/x-pack/test/detection_engine_api_integration/basic/tests/coverage_overview.ts @@ -7,8 +7,10 @@ import expect from '@kbn/expect'; -import { RULE_MANAGEMENT_COVERAGE_OVERVIEW_URL } from '@kbn/security-solution-plugin/common/detection_engine/rule_management/api/urls'; -import { ThreatArray } from '@kbn/security-solution-plugin/common/detection_engine/rule_schema'; +import { + RULE_MANAGEMENT_COVERAGE_OVERVIEW_URL, + ThreatArray, +} from '@kbn/security-solution-plugin/common/api/detection_engine'; import { FtrProviderContext } from '../../common/ftr_provider_context'; import { createPrebuiltRuleAssetSavedObjects, diff --git a/x-pack/test/detection_engine_api_integration/basic/tests/create_rules.ts b/x-pack/test/detection_engine_api_integration/basic/tests/create_rules.ts index 0ba047466e841..66e075792b6fa 100644 --- a/x-pack/test/detection_engine_api_integration/basic/tests/create_rules.ts +++ b/x-pack/test/detection_engine_api_integration/basic/tests/create_rules.ts @@ -6,7 +6,7 @@ */ import expect from '@kbn/expect'; -import { RuleCreateProps } from '@kbn/security-solution-plugin/common/detection_engine/rule_schema'; +import { RuleCreateProps } from '@kbn/security-solution-plugin/common/api/detection_engine'; import { DETECTION_ENGINE_RULES_URL } from '@kbn/security-solution-plugin/common/constants'; import { FtrProviderContext } from '../../common/ftr_provider_context'; diff --git a/x-pack/test/detection_engine_api_integration/basic/tests/open_close_signals.ts b/x-pack/test/detection_engine_api_integration/basic/tests/open_close_signals.ts index 4fa2c61b7384d..70021ffe0be3b 100644 --- a/x-pack/test/detection_engine_api_integration/basic/tests/open_close_signals.ts +++ b/x-pack/test/detection_engine_api_integration/basic/tests/open_close_signals.ts @@ -13,7 +13,7 @@ import { DETECTION_ENGINE_SIGNALS_STATUS_URL, DETECTION_ENGINE_QUERY_SIGNALS_URL, } from '@kbn/security-solution-plugin/common/constants'; -import { DetectionAlert } from '@kbn/security-solution-plugin/common/detection_engine/schemas/alerts'; +import { DetectionAlert } from '@kbn/security-solution-plugin/common/api/detection_engine'; import { FtrProviderContext } from '../../common/ftr_provider_context'; import { createSignalsIndex, diff --git a/x-pack/test/detection_engine_api_integration/security_and_spaces/group1/add_actions.ts b/x-pack/test/detection_engine_api_integration/security_and_spaces/group1/add_actions.ts index c4a48a6061624..2bfd3c6102e61 100644 --- a/x-pack/test/detection_engine_api_integration/security_and_spaces/group1/add_actions.ts +++ b/x-pack/test/detection_engine_api_integration/security_and_spaces/group1/add_actions.ts @@ -7,7 +7,7 @@ import expect from '@kbn/expect'; -import { RuleCreateProps } from '@kbn/security-solution-plugin/common/detection_engine/rule_schema'; +import { RuleCreateProps } from '@kbn/security-solution-plugin/common/api/detection_engine'; import { FtrProviderContext } from '../../common/ftr_provider_context'; import { createSignalsIndex, diff --git a/x-pack/test/detection_engine_api_integration/security_and_spaces/group1/check_privileges.ts b/x-pack/test/detection_engine_api_integration/security_and_spaces/group1/check_privileges.ts index 002ff10959c4d..060905be10d50 100644 --- a/x-pack/test/detection_engine_api_integration/security_and_spaces/group1/check_privileges.ts +++ b/x-pack/test/detection_engine_api_integration/security_and_spaces/group1/check_privileges.ts @@ -8,7 +8,7 @@ import expect from '@kbn/expect'; import { DETECTION_ENGINE_RULES_URL } from '@kbn/security-solution-plugin/common/constants'; import { ROLES } from '@kbn/security-solution-plugin/common/test'; -import { ThresholdRuleCreateProps } from '@kbn/security-solution-plugin/common/detection_engine/rule_schema'; +import { ThresholdRuleCreateProps } from '@kbn/security-solution-plugin/common/api/detection_engine'; import { FtrProviderContext } from '../../common/ftr_provider_context'; import { createSignalsIndex, diff --git a/x-pack/test/detection_engine_api_integration/security_and_spaces/group1/create_new_terms.ts b/x-pack/test/detection_engine_api_integration/security_and_spaces/group1/create_new_terms.ts index 7f17d077771a7..606aa00522595 100644 --- a/x-pack/test/detection_engine_api_integration/security_and_spaces/group1/create_new_terms.ts +++ b/x-pack/test/detection_engine_api_integration/security_and_spaces/group1/create_new_terms.ts @@ -8,7 +8,7 @@ import expect from '@kbn/expect'; import { DETECTION_ENGINE_RULES_URL } from '@kbn/security-solution-plugin/common/constants'; -import { getCreateNewTermsRulesSchemaMock } from '@kbn/security-solution-plugin/common/detection_engine/rule_schema/mocks'; +import { getCreateNewTermsRulesSchemaMock } from '@kbn/security-solution-plugin/common/api/detection_engine/model/rule_schema/mocks'; import { FtrProviderContext } from '../../common/ftr_provider_context'; import { deleteAllRules } from '../../utils'; diff --git a/x-pack/test/detection_engine_api_integration/security_and_spaces/group1/create_rules.ts b/x-pack/test/detection_engine_api_integration/security_and_spaces/group1/create_rules.ts index e72ba461f6058..fe17a9fb62008 100644 --- a/x-pack/test/detection_engine_api_integration/security_and_spaces/group1/create_rules.ts +++ b/x-pack/test/detection_engine_api_integration/security_and_spaces/group1/create_rules.ts @@ -13,7 +13,7 @@ import { NOTIFICATION_THROTTLE_NO_ACTIONS, NOTIFICATION_THROTTLE_RULE, } from '@kbn/security-solution-plugin/common/constants'; -import { RuleCreateProps } from '@kbn/security-solution-plugin/common/detection_engine/rule_schema'; +import { RuleCreateProps } from '@kbn/security-solution-plugin/common/api/detection_engine'; import { ExceptionListTypeEnum } from '@kbn/securitysolution-io-ts-list-types'; import { ROLES } from '@kbn/security-solution-plugin/common/test'; diff --git a/x-pack/test/detection_engine_api_integration/security_and_spaces/group1/create_rules_bulk.ts b/x-pack/test/detection_engine_api_integration/security_and_spaces/group1/create_rules_bulk.ts index 05c3cedc99562..35d6ceb038ec2 100644 --- a/x-pack/test/detection_engine_api_integration/security_and_spaces/group1/create_rules_bulk.ts +++ b/x-pack/test/detection_engine_api_integration/security_and_spaces/group1/create_rules_bulk.ts @@ -14,7 +14,7 @@ import { NOTIFICATION_THROTTLE_NO_ACTIONS, NOTIFICATION_THROTTLE_RULE, } from '@kbn/security-solution-plugin/common/constants'; -import { RuleCreateProps } from '@kbn/security-solution-plugin/common/detection_engine/rule_schema'; +import { RuleCreateProps } from '@kbn/security-solution-plugin/common/api/detection_engine'; import { ExceptionListTypeEnum } from '@kbn/securitysolution-io-ts-list-types'; import { FtrProviderContext } from '../../common/ftr_provider_context'; diff --git a/x-pack/test/detection_engine_api_integration/security_and_spaces/group1/export_rules.ts b/x-pack/test/detection_engine_api_integration/security_and_spaces/group1/export_rules.ts index 353c732e2635c..49cf3cc5107a7 100644 --- a/x-pack/test/detection_engine_api_integration/security_and_spaces/group1/export_rules.ts +++ b/x-pack/test/detection_engine_api_integration/security_and_spaces/group1/export_rules.ts @@ -8,7 +8,7 @@ import expect from 'expect'; import { DETECTION_ENGINE_RULES_URL } from '@kbn/security-solution-plugin/common/constants'; -import { RuleResponse } from '@kbn/security-solution-plugin/common/detection_engine/rule_schema'; +import { RuleResponse } from '@kbn/security-solution-plugin/common/api/detection_engine'; import { FtrProviderContext } from '../../common/ftr_provider_context'; import { binaryToString, diff --git a/x-pack/test/detection_engine_api_integration/security_and_spaces/group1/find_rule_exception_references.ts b/x-pack/test/detection_engine_api_integration/security_and_spaces/group1/find_rule_exception_references.ts index ba42835fe9b98..831c41dc07063 100644 --- a/x-pack/test/detection_engine_api_integration/security_and_spaces/group1/find_rule_exception_references.ts +++ b/x-pack/test/detection_engine_api_integration/security_and_spaces/group1/find_rule_exception_references.ts @@ -18,7 +18,7 @@ import { getCreateExceptionListMinimalSchemaMock } from '@kbn/lists-plugin/commo import { DETECTION_ENGINE_RULES_EXCEPTIONS_REFERENCE_URL, RuleReferencesSchema, -} from '@kbn/security-solution-plugin/common/detection_engine/rule_exceptions'; +} from '@kbn/security-solution-plugin/common/api/detection_engine/rule_exceptions'; import { FtrProviderContext } from '../../common/ftr_provider_context'; import { diff --git a/x-pack/test/detection_engine_api_integration/security_and_spaces/group1/get_rule_management_filters.ts b/x-pack/test/detection_engine_api_integration/security_and_spaces/group1/get_rule_management_filters.ts index e8e86851fb53c..441227165eeb5 100644 --- a/x-pack/test/detection_engine_api_integration/security_and_spaces/group1/get_rule_management_filters.ts +++ b/x-pack/test/detection_engine_api_integration/security_and_spaces/group1/get_rule_management_filters.ts @@ -8,7 +8,7 @@ import expect from '@kbn/expect'; import { DETECTION_ENGINE_RULES_URL } from '@kbn/security-solution-plugin/common/constants'; -import { RULE_MANAGEMENT_FILTERS_URL } from '@kbn/security-solution-plugin/common/detection_engine/rule_management/api/urls'; +import { RULE_MANAGEMENT_FILTERS_URL } from '@kbn/security-solution-plugin/common/api/detection_engine/rule_management'; import { FtrProviderContext } from '../../common/ftr_provider_context'; import { deleteAllRules, getSimpleRule, installMockPrebuiltRules } from '../../utils'; import { deleteAllPrebuiltRuleAssets } from '../../utils/prebuilt_rules/delete_all_prebuilt_rule_assets'; diff --git a/x-pack/test/detection_engine_api_integration/security_and_spaces/group1/update_actions.ts b/x-pack/test/detection_engine_api_integration/security_and_spaces/group1/update_actions.ts index e421333672bb9..8390fc10ad7fc 100644 --- a/x-pack/test/detection_engine_api_integration/security_and_spaces/group1/update_actions.ts +++ b/x-pack/test/detection_engine_api_integration/security_and_spaces/group1/update_actions.ts @@ -8,7 +8,7 @@ import expect from '@kbn/expect'; import { omit } from 'lodash'; -import { RuleCreateProps } from '@kbn/security-solution-plugin/common/detection_engine/rule_schema'; +import { RuleCreateProps } from '@kbn/security-solution-plugin/common/api/detection_engine'; import { ELASTIC_SECURITY_RULE_ID } from '@kbn/security-solution-plugin/common'; import { FtrProviderContext } from '../../common/ftr_provider_context'; import { diff --git a/x-pack/test/detection_engine_api_integration/security_and_spaces/group10/get_rule_execution_results.ts b/x-pack/test/detection_engine_api_integration/security_and_spaces/group10/get_rule_execution_results.ts index 896fc7ae46368..947269927218a 100644 --- a/x-pack/test/detection_engine_api_integration/security_and_spaces/group10/get_rule_execution_results.ts +++ b/x-pack/test/detection_engine_api_integration/security_and_spaces/group10/get_rule_execution_results.ts @@ -11,7 +11,7 @@ import expect from '@kbn/expect'; import moment from 'moment'; import { set } from '@kbn/safer-lodash-set'; import { v4 as uuidv4 } from 'uuid'; -import { getRuleExecutionResultsUrl } from '@kbn/security-solution-plugin/common/detection_engine/rule_monitoring'; +import { getRuleExecutionResultsUrl } from '@kbn/security-solution-plugin/common/api/detection_engine/rule_monitoring'; import { FtrProviderContext } from '../../common/ftr_provider_context'; import { diff --git a/x-pack/test/detection_engine_api_integration/security_and_spaces/group10/import_rules.ts b/x-pack/test/detection_engine_api_integration/security_and_spaces/group10/import_rules.ts index 9bdbb76cc67bb..5d01eb9ceb3f3 100644 --- a/x-pack/test/detection_engine_api_integration/security_and_spaces/group10/import_rules.ts +++ b/x-pack/test/detection_engine_api_integration/security_and_spaces/group10/import_rules.ts @@ -7,7 +7,7 @@ import expect from '@kbn/expect'; -import { RuleCreateProps } from '@kbn/security-solution-plugin/common/detection_engine/rule_schema'; +import { RuleCreateProps } from '@kbn/security-solution-plugin/common/api/detection_engine'; import { EXCEPTION_LIST_ITEM_URL, EXCEPTION_LIST_URL } from '@kbn/securitysolution-list-constants'; import { getCreateExceptionListMinimalSchemaMock } from '@kbn/lists-plugin/common/schemas/request/create_exception_list_schema.mock'; import { DETECTION_ENGINE_RULES_URL } from '@kbn/security-solution-plugin/common/constants'; diff --git a/x-pack/test/detection_engine_api_integration/security_and_spaces/group10/open_close_signals.ts b/x-pack/test/detection_engine_api_integration/security_and_spaces/group10/open_close_signals.ts index 72262b12453f8..bafde22beb1de 100644 --- a/x-pack/test/detection_engine_api_integration/security_and_spaces/group10/open_close_signals.ts +++ b/x-pack/test/detection_engine_api_integration/security_and_spaces/group10/open_close_signals.ts @@ -14,7 +14,7 @@ import { DETECTION_ENGINE_QUERY_SIGNALS_URL, } from '@kbn/security-solution-plugin/common/constants'; import { ROLES } from '@kbn/security-solution-plugin/common/test'; -import { DetectionAlert } from '@kbn/security-solution-plugin/common/detection_engine/schemas/alerts'; +import { DetectionAlert } from '@kbn/security-solution-plugin/common/api/detection_engine'; import { FtrProviderContext } from '../../common/ftr_provider_context'; import { createSignalsIndex, diff --git a/x-pack/test/detection_engine_api_integration/security_and_spaces/group10/perform_bulk_action.ts b/x-pack/test/detection_engine_api_integration/security_and_spaces/group10/perform_bulk_action.ts index 8cf283f09632a..095188d815123 100644 --- a/x-pack/test/detection_engine_api_integration/security_and_spaces/group10/perform_bulk_action.ts +++ b/x-pack/test/detection_engine_api_integration/security_and_spaces/group10/perform_bulk_action.ts @@ -11,11 +11,11 @@ import { DETECTION_ENGINE_RULES_URL, NOTIFICATION_THROTTLE_RULE, } from '@kbn/security-solution-plugin/common/constants'; -import type { RuleResponse } from '@kbn/security-solution-plugin/common/detection_engine/rule_schema'; +import type { RuleResponse } from '@kbn/security-solution-plugin/common/api/detection_engine'; import { BulkActionType, BulkActionEditType, -} from '@kbn/security-solution-plugin/common/detection_engine/rule_management/api/rules/bulk_actions/request_schema'; +} from '@kbn/security-solution-plugin/common/api/detection_engine/rule_management'; import { getCreateExceptionListDetectionSchemaMock } from '@kbn/lists-plugin/common/schemas/request/create_exception_list_schema.mock'; import { EXCEPTION_LIST_ITEM_URL, EXCEPTION_LIST_URL } from '@kbn/securitysolution-list-constants'; import { getCreateExceptionListItemMinimalSchemaMock } from '@kbn/lists-plugin/common/schemas/request/create_exception_list_item_schema.mock'; diff --git a/x-pack/test/detection_engine_api_integration/security_and_spaces/group10/perform_bulk_action_dry_run.ts b/x-pack/test/detection_engine_api_integration/security_and_spaces/group10/perform_bulk_action_dry_run.ts index aecb4fc214574..efe69bbb236f2 100644 --- a/x-pack/test/detection_engine_api_integration/security_and_spaces/group10/perform_bulk_action_dry_run.ts +++ b/x-pack/test/detection_engine_api_integration/security_and_spaces/group10/perform_bulk_action_dry_run.ts @@ -12,7 +12,7 @@ import expect from 'expect'; import { BulkActionType, BulkActionEditType, -} from '@kbn/security-solution-plugin/common/detection_engine/rule_management/api/rules/bulk_actions/request_schema'; +} from '@kbn/security-solution-plugin/common/api/detection_engine/rule_management'; import { FtrProviderContext } from '../../common/ftr_provider_context'; import { createRule, diff --git a/x-pack/test/detection_engine_api_integration/security_and_spaces/group10/set_alert_tags.ts b/x-pack/test/detection_engine_api_integration/security_and_spaces/group10/set_alert_tags.ts index 1057b214736fe..12815b0635db9 100644 --- a/x-pack/test/detection_engine_api_integration/security_and_spaces/group10/set_alert_tags.ts +++ b/x-pack/test/detection_engine_api_integration/security_and_spaces/group10/set_alert_tags.ts @@ -12,7 +12,7 @@ import { DETECTION_ENGINE_QUERY_SIGNALS_URL, DETECTION_ENGINE_ALERT_TAGS_URL, } from '@kbn/security-solution-plugin/common/constants'; -import { DetectionAlert } from '@kbn/security-solution-plugin/common/detection_engine/schemas/alerts'; +import { DetectionAlert } from '@kbn/security-solution-plugin/common/api/detection_engine'; import { FtrProviderContext } from '../../common/ftr_provider_context'; import { createSignalsIndex, diff --git a/x-pack/test/detection_engine_api_integration/security_and_spaces/group10/throttle.ts b/x-pack/test/detection_engine_api_integration/security_and_spaces/group10/throttle.ts index f6b82aa4857a9..4434b2977d251 100644 --- a/x-pack/test/detection_engine_api_integration/security_and_spaces/group10/throttle.ts +++ b/x-pack/test/detection_engine_api_integration/security_and_spaces/group10/throttle.ts @@ -7,7 +7,7 @@ import expect from '@kbn/expect'; -import { RuleCreateProps } from '@kbn/security-solution-plugin/common/detection_engine/rule_schema'; +import { RuleCreateProps } from '@kbn/security-solution-plugin/common/api/detection_engine'; import { DETECTION_ENGINE_RULES_URL, NOTIFICATION_THROTTLE_NO_ACTIONS, diff --git a/x-pack/test/detection_engine_api_integration/security_and_spaces/group10/timestamps.ts b/x-pack/test/detection_engine_api_integration/security_and_spaces/group10/timestamps.ts index 280f4fbb6559b..9b56ead0d91a6 100644 --- a/x-pack/test/detection_engine_api_integration/security_and_spaces/group10/timestamps.ts +++ b/x-pack/test/detection_engine_api_integration/security_and_spaces/group10/timestamps.ts @@ -7,11 +7,11 @@ import expect from '@kbn/expect'; import { orderBy } from 'lodash'; -import { RuleExecutionStatus } from '@kbn/security-solution-plugin/common/detection_engine/rule_monitoring'; +import { RuleExecutionStatus } from '@kbn/security-solution-plugin/common/api/detection_engine/rule_monitoring'; import { EqlRuleCreateProps, QueryRuleCreateProps, -} from '@kbn/security-solution-plugin/common/detection_engine/rule_schema'; +} from '@kbn/security-solution-plugin/common/api/detection_engine'; import { ALERT_ORIGINAL_TIME } from '@kbn/security-solution-plugin/common/field_maps/field_names'; import { FtrProviderContext } from '../../common/ftr_provider_context'; diff --git a/x-pack/test/detection_engine_api_integration/security_and_spaces/group10/update_rules_bulk.ts b/x-pack/test/detection_engine_api_integration/security_and_spaces/group10/update_rules_bulk.ts index 10d8edb8b0dff..440b691ce6b42 100644 --- a/x-pack/test/detection_engine_api_integration/security_and_spaces/group10/update_rules_bulk.ts +++ b/x-pack/test/detection_engine_api_integration/security_and_spaces/group10/update_rules_bulk.ts @@ -6,7 +6,7 @@ */ import expect from '@kbn/expect'; -import { RuleResponse } from '@kbn/security-solution-plugin/common/detection_engine/rule_schema'; +import { RuleResponse } from '@kbn/security-solution-plugin/common/api/detection_engine'; import { DETECTION_ENGINE_RULES_URL, diff --git a/x-pack/test/detection_engine_api_integration/security_and_spaces/group3/exceptions_workflows.ts b/x-pack/test/detection_engine_api_integration/security_and_spaces/group3/exceptions_workflows.ts index af2fd6796c8f6..0c806cb7aaf8e 100644 --- a/x-pack/test/detection_engine_api_integration/security_and_spaces/group3/exceptions_workflows.ts +++ b/x-pack/test/detection_engine_api_integration/security_and_spaces/group3/exceptions_workflows.ts @@ -20,7 +20,7 @@ import type { QueryRuleCreateProps, ThreatMatchRuleCreateProps, ThresholdRuleCreateProps, -} from '@kbn/security-solution-plugin/common/detection_engine/rule_schema'; +} from '@kbn/security-solution-plugin/common/api/detection_engine'; import { getCreateExceptionListItemMinimalSchemaMock } from '@kbn/lists-plugin/common/schemas/request/create_exception_list_item_schema.mock'; import { getCreateExceptionListDetectionSchemaMock, diff --git a/x-pack/test/detection_engine_api_integration/security_and_spaces/group4/telemetry/usage_collector/detection_rule_status.ts b/x-pack/test/detection_engine_api_integration/security_and_spaces/group4/telemetry/usage_collector/detection_rule_status.ts index 3f3d2e40ac951..233244ff5a05d 100644 --- a/x-pack/test/detection_engine_api_integration/security_and_spaces/group4/telemetry/usage_collector/detection_rule_status.ts +++ b/x-pack/test/detection_engine_api_integration/security_and_spaces/group4/telemetry/usage_collector/detection_rule_status.ts @@ -12,7 +12,7 @@ import type { DetectionMetrics } from '@kbn/security-solution-plugin/server/usag import type { ThreatMatchRuleCreateProps, ThresholdRuleCreateProps, -} from '@kbn/security-solution-plugin/common/detection_engine/rule_schema'; +} from '@kbn/security-solution-plugin/common/api/detection_engine'; import { getInitialMlJobUsage } from '@kbn/security-solution-plugin/server/usage/detections/ml_jobs/get_initial_usage'; import { getInitialDetectionMetrics } from '@kbn/security-solution-plugin/server/usage/detections/get_initial_usage'; import { diff --git a/x-pack/test/detection_engine_api_integration/security_and_spaces/group4/telemetry/usage_collector/detection_rules.ts b/x-pack/test/detection_engine_api_integration/security_and_spaces/group4/telemetry/usage_collector/detection_rules.ts index ef86c61e0ef0f..575da7ec63f5c 100644 --- a/x-pack/test/detection_engine_api_integration/security_and_spaces/group4/telemetry/usage_collector/detection_rules.ts +++ b/x-pack/test/detection_engine_api_integration/security_and_spaces/group4/telemetry/usage_collector/detection_rules.ts @@ -10,7 +10,7 @@ import type { DetectionMetrics } from '@kbn/security-solution-plugin/server/usag import type { ThreatMatchRuleCreateProps, ThresholdRuleCreateProps, -} from '@kbn/security-solution-plugin/common/detection_engine/rule_schema'; +} from '@kbn/security-solution-plugin/common/api/detection_engine'; import { getInitialDetectionMetrics } from '@kbn/security-solution-plugin/server/usage/detections/get_initial_usage'; import { getInitialEventLogUsage } from '@kbn/security-solution-plugin/server/usage/detections/rules/get_initial_usage'; import { ELASTIC_SECURITY_RULE_ID } from '@kbn/security-solution-plugin/common'; diff --git a/x-pack/test/detection_engine_api_integration/security_and_spaces/group5/keyword_family/const_keyword.ts b/x-pack/test/detection_engine_api_integration/security_and_spaces/group5/keyword_family/const_keyword.ts index ce28635dcee37..44c25e51ba11f 100644 --- a/x-pack/test/detection_engine_api_integration/security_and_spaces/group5/keyword_family/const_keyword.ts +++ b/x-pack/test/detection_engine_api_integration/security_and_spaces/group5/keyword_family/const_keyword.ts @@ -9,7 +9,7 @@ import expect from '@kbn/expect'; import { EqlRuleCreateProps, ThresholdRuleCreateProps, -} from '@kbn/security-solution-plugin/common/detection_engine/rule_schema'; +} from '@kbn/security-solution-plugin/common/api/detection_engine'; import { ALERT_THRESHOLD_RESULT } from '@kbn/security-solution-plugin/common/field_maps/field_names'; import { FtrProviderContext } from '../../../common/ftr_provider_context'; diff --git a/x-pack/test/detection_engine_api_integration/security_and_spaces/group5/keyword_family/keyword.ts b/x-pack/test/detection_engine_api_integration/security_and_spaces/group5/keyword_family/keyword.ts index 485bf59f9a062..39d62da77a1a8 100644 --- a/x-pack/test/detection_engine_api_integration/security_and_spaces/group5/keyword_family/keyword.ts +++ b/x-pack/test/detection_engine_api_integration/security_and_spaces/group5/keyword_family/keyword.ts @@ -11,7 +11,7 @@ import { EqlRuleCreateProps, QueryRuleCreateProps, ThresholdRuleCreateProps, -} from '@kbn/security-solution-plugin/common/detection_engine/rule_schema'; +} from '@kbn/security-solution-plugin/common/api/detection_engine'; import { ALERT_THRESHOLD_RESULT } from '@kbn/security-solution-plugin/common/field_maps/field_names'; import { FtrProviderContext } from '../../../common/ftr_provider_context'; import { diff --git a/x-pack/test/detection_engine_api_integration/security_and_spaces/group5/keyword_family/keyword_mixed_with_const.ts b/x-pack/test/detection_engine_api_integration/security_and_spaces/group5/keyword_family/keyword_mixed_with_const.ts index 8fe8f09aa9ffc..50bbd7efde9f2 100644 --- a/x-pack/test/detection_engine_api_integration/security_and_spaces/group5/keyword_family/keyword_mixed_with_const.ts +++ b/x-pack/test/detection_engine_api_integration/security_and_spaces/group5/keyword_family/keyword_mixed_with_const.ts @@ -9,7 +9,7 @@ import expect from '@kbn/expect'; import { EqlRuleCreateProps, ThresholdRuleCreateProps, -} from '@kbn/security-solution-plugin/common/detection_engine/rule_schema'; +} from '@kbn/security-solution-plugin/common/api/detection_engine'; import { ALERT_THRESHOLD_RESULT } from '@kbn/security-solution-plugin/common/field_maps/field_names'; import { FtrProviderContext } from '../../../common/ftr_provider_context'; diff --git a/x-pack/test/detection_engine_api_integration/security_and_spaces/group6/alerts/alerts_compatibility.ts b/x-pack/test/detection_engine_api_integration/security_and_spaces/group6/alerts/alerts_compatibility.ts index 963ae79d0d551..9e7b6265a2b9f 100644 --- a/x-pack/test/detection_engine_api_integration/security_and_spaces/group6/alerts/alerts_compatibility.ts +++ b/x-pack/test/detection_engine_api_integration/security_and_spaces/group6/alerts/alerts_compatibility.ts @@ -19,7 +19,7 @@ import { SavedQueryRuleCreateProps, ThreatMatchRuleCreateProps, ThresholdRuleCreateProps, -} from '@kbn/security-solution-plugin/common/detection_engine/rule_schema'; +} from '@kbn/security-solution-plugin/common/api/detection_engine'; import { createRule, createSignalsIndex, diff --git a/x-pack/test/detection_engine_api_integration/security_and_spaces/rule_execution_logic/eql.ts b/x-pack/test/detection_engine_api_integration/security_and_spaces/rule_execution_logic/eql.ts index 6959358efda6c..161fc5099f31c 100644 --- a/x-pack/test/detection_engine_api_integration/security_and_spaces/rule_execution_logic/eql.ts +++ b/x-pack/test/detection_engine_api_integration/security_and_spaces/rule_execution_logic/eql.ts @@ -17,7 +17,7 @@ import { flattenWithPrefix } from '@kbn/securitysolution-rules'; import { get } from 'lodash'; -import { EqlRuleCreateProps } from '@kbn/security-solution-plugin/common/detection_engine/rule_schema'; +import { EqlRuleCreateProps } from '@kbn/security-solution-plugin/common/api/detection_engine'; import { Ancestor } from '@kbn/security-solution-plugin/server/lib/detection_engine/rule_types/types'; import { ALERT_ANCESTORS, diff --git a/x-pack/test/detection_engine_api_integration/security_and_spaces/rule_execution_logic/machine_learning.ts b/x-pack/test/detection_engine_api_integration/security_and_spaces/rule_execution_logic/machine_learning.ts index 788d0c09d425d..be0d4876b59af 100644 --- a/x-pack/test/detection_engine_api_integration/security_and_spaces/rule_execution_logic/machine_learning.ts +++ b/x-pack/test/detection_engine_api_integration/security_and_spaces/rule_execution_logic/machine_learning.ts @@ -18,7 +18,7 @@ import { SPACE_IDS, VERSION, } from '@kbn/rule-data-utils'; -import { MachineLearningRuleCreateProps } from '@kbn/security-solution-plugin/common/detection_engine/rule_schema'; +import { MachineLearningRuleCreateProps } from '@kbn/security-solution-plugin/common/api/detection_engine'; import { ALERT_ANCESTORS, ALERT_DEPTH, diff --git a/x-pack/test/detection_engine_api_integration/security_and_spaces/rule_execution_logic/new_terms.ts b/x-pack/test/detection_engine_api_integration/security_and_spaces/rule_execution_logic/new_terms.ts index aa54019d64fbd..f005ee3344591 100644 --- a/x-pack/test/detection_engine_api_integration/security_and_spaces/rule_execution_logic/new_terms.ts +++ b/x-pack/test/detection_engine_api_integration/security_and_spaces/rule_execution_logic/new_terms.ts @@ -8,9 +8,9 @@ import expect from '@kbn/expect'; import { v4 as uuidv4 } from 'uuid'; -import { NewTermsRuleCreateProps } from '@kbn/security-solution-plugin/common/detection_engine/rule_schema'; +import { NewTermsRuleCreateProps } from '@kbn/security-solution-plugin/common/api/detection_engine'; import { orderBy } from 'lodash'; -import { getCreateNewTermsRulesSchemaMock } from '@kbn/security-solution-plugin/common/detection_engine/rule_schema/mocks'; +import { getCreateNewTermsRulesSchemaMock } from '@kbn/security-solution-plugin/common/api/detection_engine/model/rule_schema/mocks'; import { getNewTermsRuntimeMappings, AGG_FIELD_NAME, diff --git a/x-pack/test/detection_engine_api_integration/security_and_spaces/rule_execution_logic/query.ts b/x-pack/test/detection_engine_api_integration/security_and_spaces/rule_execution_logic/query.ts index 47486fd2db188..fa5a25ab06944 100644 --- a/x-pack/test/detection_engine_api_integration/security_and_spaces/rule_execution_logic/query.ts +++ b/x-pack/test/detection_engine_api_integration/security_and_spaces/rule_execution_logic/query.ts @@ -27,8 +27,8 @@ import { v4 as uuidv4 } from 'uuid'; import { QueryRuleCreateProps, AlertSuppressionMissingFieldsStrategy, -} from '@kbn/security-solution-plugin/common/detection_engine/rule_schema'; -import { RuleExecutionStatus } from '@kbn/security-solution-plugin/common/detection_engine/rule_monitoring'; +} from '@kbn/security-solution-plugin/common/api/detection_engine'; +import { RuleExecutionStatus } from '@kbn/security-solution-plugin/common/api/detection_engine/rule_monitoring'; import { Ancestor } from '@kbn/security-solution-plugin/server/lib/detection_engine/rule_types/types'; import { ALERT_ANCESTORS, diff --git a/x-pack/test/detection_engine_api_integration/security_and_spaces/rule_execution_logic/saved_query.ts b/x-pack/test/detection_engine_api_integration/security_and_spaces/rule_execution_logic/saved_query.ts index 39e8caf837156..ed7173133f9f3 100644 --- a/x-pack/test/detection_engine_api_integration/security_and_spaces/rule_execution_logic/saved_query.ts +++ b/x-pack/test/detection_engine_api_integration/security_and_spaces/rule_execution_logic/saved_query.ts @@ -9,7 +9,7 @@ import expect from '@kbn/expect'; import { ALERT_WORKFLOW_STATUS } from '@kbn/rule-data-utils'; import { flattenWithPrefix } from '@kbn/securitysolution-rules'; -import { SavedQueryRuleCreateProps } from '@kbn/security-solution-plugin/common/detection_engine/rule_schema'; +import { SavedQueryRuleCreateProps } from '@kbn/security-solution-plugin/common/api/detection_engine'; import { ALERT_ANCESTORS, ALERT_DEPTH, diff --git a/x-pack/test/detection_engine_api_integration/security_and_spaces/rule_execution_logic/threat_match.ts b/x-pack/test/detection_engine_api_integration/security_and_spaces/rule_execution_logic/threat_match.ts index eb935af66af33..7e430176a7f9a 100644 --- a/x-pack/test/detection_engine_api_integration/security_and_spaces/rule_execution_logic/threat_match.ts +++ b/x-pack/test/detection_engine_api_integration/security_and_spaces/rule_execution_logic/threat_match.ts @@ -22,7 +22,7 @@ import { import { flattenWithPrefix } from '@kbn/securitysolution-rules'; import { ThreatMapping } from '@kbn/securitysolution-io-ts-alerting-types'; -import { ThreatMatchRuleCreateProps } from '@kbn/security-solution-plugin/common/detection_engine/rule_schema'; +import { ThreatMatchRuleCreateProps } from '@kbn/security-solution-plugin/common/api/detection_engine'; import { ENRICHMENT_TYPES } from '@kbn/security-solution-plugin/common/cti/constants'; import { Ancestor } from '@kbn/security-solution-plugin/server/lib/detection_engine/rule_types/types'; @@ -34,7 +34,7 @@ import { ALERT_ORIGINAL_EVENT_MODULE, ALERT_ORIGINAL_TIME, } from '@kbn/security-solution-plugin/common/field_maps/field_names'; -import { RuleExecutionStatus } from '@kbn/security-solution-plugin/common/detection_engine/rule_monitoring'; +import { RuleExecutionStatus } from '@kbn/security-solution-plugin/common/api/detection_engine/rule_monitoring'; import { getMaxSignalsWarning } from '@kbn/security-solution-plugin/server/lib/detection_engine/rule_types/utils/utils'; import { previewRule, diff --git a/x-pack/test/detection_engine_api_integration/security_and_spaces/rule_execution_logic/threshold.ts b/x-pack/test/detection_engine_api_integration/security_and_spaces/rule_execution_logic/threshold.ts index ff9e5e185bcfe..4fa4c2be6c132 100644 --- a/x-pack/test/detection_engine_api_integration/security_and_spaces/rule_execution_logic/threshold.ts +++ b/x-pack/test/detection_engine_api_integration/security_and_spaces/rule_execution_logic/threshold.ts @@ -13,7 +13,7 @@ import { EVENT_KIND, } from '@kbn/rule-data-utils'; -import { ThresholdRuleCreateProps } from '@kbn/security-solution-plugin/common/detection_engine/rule_schema'; +import { ThresholdRuleCreateProps } from '@kbn/security-solution-plugin/common/api/detection_engine'; import { Ancestor } from '@kbn/security-solution-plugin/server/lib/detection_engine/rule_types/types'; import { ALERT_ANCESTORS, diff --git a/x-pack/test/detection_engine_api_integration/security_and_spaces/rule_execution_logic/utils.ts b/x-pack/test/detection_engine_api_integration/security_and_spaces/rule_execution_logic/utils.ts index f17aae89f5810..8530c085e1a5d 100644 --- a/x-pack/test/detection_engine_api_integration/security_and_spaces/rule_execution_logic/utils.ts +++ b/x-pack/test/detection_engine_api_integration/security_and_spaces/rule_execution_logic/utils.ts @@ -5,7 +5,7 @@ * 2.0. */ -import { DetectionAlert } from '@kbn/security-solution-plugin/common/detection_engine/schemas/alerts'; +import { DetectionAlert } from '@kbn/security-solution-plugin/common/api/detection_engine'; import { ALERT_LAST_DETECTED, ALERT_START } from '@kbn/rule-data-utils'; export const removeRandomValuedProperties = (alert: DetectionAlert | undefined) => { diff --git a/x-pack/test/detection_engine_api_integration/utils/create_rule.ts b/x-pack/test/detection_engine_api_integration/utils/create_rule.ts index b699649b64747..1637233ecd997 100644 --- a/x-pack/test/detection_engine_api_integration/utils/create_rule.ts +++ b/x-pack/test/detection_engine_api_integration/utils/create_rule.ts @@ -10,7 +10,7 @@ import type SuperTest from 'supertest'; import type { RuleCreateProps, RuleResponse, -} from '@kbn/security-solution-plugin/common/detection_engine/rule_schema'; +} from '@kbn/security-solution-plugin/common/api/detection_engine'; import { DETECTION_ENGINE_RULES_URL } from '@kbn/security-solution-plugin/common/constants'; import { deleteRule } from './delete_rule'; diff --git a/x-pack/test/detection_engine_api_integration/utils/create_rule_with_auth.ts b/x-pack/test/detection_engine_api_integration/utils/create_rule_with_auth.ts index daa8ad420e4ca..feeea8403d9b3 100644 --- a/x-pack/test/detection_engine_api_integration/utils/create_rule_with_auth.ts +++ b/x-pack/test/detection_engine_api_integration/utils/create_rule_with_auth.ts @@ -11,7 +11,7 @@ import { DETECTION_ENGINE_RULES_URL } from '@kbn/security-solution-plugin/common import type { RuleCreateProps, RuleResponse, -} from '@kbn/security-solution-plugin/common/detection_engine/rule_schema'; +} from '@kbn/security-solution-plugin/common/api/detection_engine'; /** * Helper to cut down on the noise in some of the tests. diff --git a/x-pack/test/detection_engine_api_integration/utils/create_rule_with_exception_entries.ts b/x-pack/test/detection_engine_api_integration/utils/create_rule_with_exception_entries.ts index d7f203eef82a4..a1a2e19650fbe 100644 --- a/x-pack/test/detection_engine_api_integration/utils/create_rule_with_exception_entries.ts +++ b/x-pack/test/detection_engine_api_integration/utils/create_rule_with_exception_entries.ts @@ -11,7 +11,7 @@ import type { NonEmptyEntriesArray, OsTypeArray } from '@kbn/securitysolution-io import type { RuleCreateProps, RuleResponse, -} from '@kbn/security-solution-plugin/common/detection_engine/rule_schema'; +} from '@kbn/security-solution-plugin/common/api/detection_engine'; import { DETECTION_ENGINE_RULES_URL } from '@kbn/security-solution-plugin/common/constants'; import { createContainerWithEntries } from './create_container_with_entries'; diff --git a/x-pack/test/detection_engine_api_integration/utils/delete_exception_list.ts b/x-pack/test/detection_engine_api_integration/utils/delete_exception_list.ts index fdb6975aae5de..6c5558a005b97 100644 --- a/x-pack/test/detection_engine_api_integration/utils/delete_exception_list.ts +++ b/x-pack/test/detection_engine_api_integration/utils/delete_exception_list.ts @@ -8,7 +8,7 @@ import type { ToolingLog } from '@kbn/tooling-log'; import type SuperTest from 'supertest'; import { EXCEPTION_LIST_URL } from '@kbn/securitysolution-list-constants'; -import type { RuleResponse } from '@kbn/security-solution-plugin/common/detection_engine/rule_schema'; +import type { RuleResponse } from '@kbn/security-solution-plugin/common/api/detection_engine'; /** * Helper to cut down on the noise in some of the tests. Does a delete of an exception list. diff --git a/x-pack/test/detection_engine_api_integration/utils/delete_rule.ts b/x-pack/test/detection_engine_api_integration/utils/delete_rule.ts index 21914a6b40e3c..ce108696d0603 100644 --- a/x-pack/test/detection_engine_api_integration/utils/delete_rule.ts +++ b/x-pack/test/detection_engine_api_integration/utils/delete_rule.ts @@ -6,7 +6,7 @@ */ import type SuperTest from 'supertest'; -import type { RuleResponse } from '@kbn/security-solution-plugin/common/detection_engine/rule_schema'; +import type { RuleResponse } from '@kbn/security-solution-plugin/common/api/detection_engine'; import { DETECTION_ENGINE_RULES_URL } from '@kbn/security-solution-plugin/common/constants'; diff --git a/x-pack/test/detection_engine_api_integration/utils/find_immutable_rule_by_id.ts b/x-pack/test/detection_engine_api_integration/utils/find_immutable_rule_by_id.ts index 40d3557bba6d4..6651deb941295 100644 --- a/x-pack/test/detection_engine_api_integration/utils/find_immutable_rule_by_id.ts +++ b/x-pack/test/detection_engine_api_integration/utils/find_immutable_rule_by_id.ts @@ -7,7 +7,7 @@ import type { ToolingLog } from '@kbn/tooling-log'; import type SuperTest from 'supertest'; -import type { RuleResponse } from '@kbn/security-solution-plugin/common/detection_engine/rule_schema'; +import type { RuleResponse } from '@kbn/security-solution-plugin/common/api/detection_engine'; import { DETECTION_ENGINE_RULES_URL } from '@kbn/security-solution-plugin/common/constants'; diff --git a/x-pack/test/detection_engine_api_integration/utils/get_complex_rule.ts b/x-pack/test/detection_engine_api_integration/utils/get_complex_rule.ts index 381f727f84585..3e507259ce685 100644 --- a/x-pack/test/detection_engine_api_integration/utils/get_complex_rule.ts +++ b/x-pack/test/detection_engine_api_integration/utils/get_complex_rule.ts @@ -5,7 +5,7 @@ * 2.0. */ -import type { RuleCreateProps } from '@kbn/security-solution-plugin/common/detection_engine/rule_schema'; +import type { RuleCreateProps } from '@kbn/security-solution-plugin/common/api/detection_engine'; /** * This will return a complex rule with all the outputs possible diff --git a/x-pack/test/detection_engine_api_integration/utils/get_complex_rule_output.ts b/x-pack/test/detection_engine_api_integration/utils/get_complex_rule_output.ts index 31b8c4571e2f5..0115b00c4b46b 100644 --- a/x-pack/test/detection_engine_api_integration/utils/get_complex_rule_output.ts +++ b/x-pack/test/detection_engine_api_integration/utils/get_complex_rule_output.ts @@ -5,7 +5,7 @@ * 2.0. */ -import type { RuleResponse } from '@kbn/security-solution-plugin/common/detection_engine/rule_schema'; +import type { RuleResponse } from '@kbn/security-solution-plugin/common/api/detection_engine'; // TODO: Follow up https://github.com/elastic/kibana/pull/137628 and add an explicit type to this object // without using Partial diff --git a/x-pack/test/detection_engine_api_integration/utils/get_eql_rule_for_signal_testing.ts b/x-pack/test/detection_engine_api_integration/utils/get_eql_rule_for_signal_testing.ts index 4e9d48916ff68..fbd2bd7f238e3 100644 --- a/x-pack/test/detection_engine_api_integration/utils/get_eql_rule_for_signal_testing.ts +++ b/x-pack/test/detection_engine_api_integration/utils/get_eql_rule_for_signal_testing.ts @@ -5,7 +5,7 @@ * 2.0. */ -import type { EqlRuleCreateProps } from '@kbn/security-solution-plugin/common/detection_engine/rule_schema'; +import type { EqlRuleCreateProps } from '@kbn/security-solution-plugin/common/api/detection_engine'; import { getRuleForSignalTesting } from './get_rule_for_signal_testing'; /** diff --git a/x-pack/test/detection_engine_api_integration/utils/get_open_signals.ts b/x-pack/test/detection_engine_api_integration/utils/get_open_signals.ts index 5de4a603c5a9c..817389ba20547 100644 --- a/x-pack/test/detection_engine_api_integration/utils/get_open_signals.ts +++ b/x-pack/test/detection_engine_api_integration/utils/get_open_signals.ts @@ -8,8 +8,8 @@ import type SuperTest from 'supertest'; import type { Client } from '@elastic/elasticsearch'; import type { ToolingLog } from '@kbn/tooling-log'; -import { RuleExecutionStatus } from '@kbn/security-solution-plugin/common/detection_engine/rule_monitoring'; -import type { RuleResponse } from '@kbn/security-solution-plugin/common/detection_engine/rule_schema'; +import { RuleExecutionStatus } from '@kbn/security-solution-plugin/common/api/detection_engine/rule_monitoring'; +import type { RuleResponse } from '@kbn/security-solution-plugin/common/api/detection_engine'; import { waitForRuleStatus } from './wait_for_rule_status'; import { refreshIndex } from './refresh_index'; diff --git a/x-pack/test/detection_engine_api_integration/utils/get_preview_alerts.ts b/x-pack/test/detection_engine_api_integration/utils/get_preview_alerts.ts index 716f46dfcb815..098611b4ce3bf 100644 --- a/x-pack/test/detection_engine_api_integration/utils/get_preview_alerts.ts +++ b/x-pack/test/detection_engine_api_integration/utils/get_preview_alerts.ts @@ -7,7 +7,7 @@ import type { Client } from '@elastic/elasticsearch'; import { ALERT_RULE_UUID } from '@kbn/rule-data-utils'; -import { DetectionAlert } from '@kbn/security-solution-plugin/common/detection_engine/schemas/alerts'; +import { DetectionAlert } from '@kbn/security-solution-plugin/common/api/detection_engine'; import { RiskEnrichmentFields } from '@kbn/security-solution-plugin/server/lib/detection_engine/rule_types/utils/enrichments/types'; import { refreshIndex } from './refresh_index'; diff --git a/x-pack/test/detection_engine_api_integration/utils/get_query_signal_ids.ts b/x-pack/test/detection_engine_api_integration/utils/get_query_signal_ids.ts index 586a7e9c8de73..28e59ff7a07f6 100644 --- a/x-pack/test/detection_engine_api_integration/utils/get_query_signal_ids.ts +++ b/x-pack/test/detection_engine_api_integration/utils/get_query_signal_ids.ts @@ -5,7 +5,7 @@ * 2.0. */ -import type { SignalIds } from '@kbn/security-solution-plugin/common/detection_engine/schemas/common'; +import type { SignalIds } from '@kbn/security-solution-plugin/common/api/detection_engine'; export const getQuerySignalIds = (signalIds: SignalIds) => ({ query: { diff --git a/x-pack/test/detection_engine_api_integration/utils/get_rule.ts b/x-pack/test/detection_engine_api_integration/utils/get_rule.ts index 0c9e77179709e..2636cd10ed81f 100644 --- a/x-pack/test/detection_engine_api_integration/utils/get_rule.ts +++ b/x-pack/test/detection_engine_api_integration/utils/get_rule.ts @@ -7,7 +7,7 @@ import type { ToolingLog } from '@kbn/tooling-log'; import type SuperTest from 'supertest'; -import type { RuleResponse } from '@kbn/security-solution-plugin/common/detection_engine/rule_schema'; +import type { RuleResponse } from '@kbn/security-solution-plugin/common/api/detection_engine'; import { DETECTION_ENGINE_RULES_URL } from '@kbn/security-solution-plugin/common/constants'; diff --git a/x-pack/test/detection_engine_api_integration/utils/get_rule_for_signal_testing.ts b/x-pack/test/detection_engine_api_integration/utils/get_rule_for_signal_testing.ts index 321e821682878..931a7d2c1aeeb 100644 --- a/x-pack/test/detection_engine_api_integration/utils/get_rule_for_signal_testing.ts +++ b/x-pack/test/detection_engine_api_integration/utils/get_rule_for_signal_testing.ts @@ -5,7 +5,7 @@ * 2.0. */ -import type { QueryRuleCreateProps } from '@kbn/security-solution-plugin/common/detection_engine/rule_schema'; +import type { QueryRuleCreateProps } from '@kbn/security-solution-plugin/common/api/detection_engine'; /** * This is a typical signal testing rule that is easy for most basic testing of output of signals. diff --git a/x-pack/test/detection_engine_api_integration/utils/get_rule_for_signal_testing_with_timestamp_override.ts b/x-pack/test/detection_engine_api_integration/utils/get_rule_for_signal_testing_with_timestamp_override.ts index 24ac2298ab68f..16d9613909f94 100644 --- a/x-pack/test/detection_engine_api_integration/utils/get_rule_for_signal_testing_with_timestamp_override.ts +++ b/x-pack/test/detection_engine_api_integration/utils/get_rule_for_signal_testing_with_timestamp_override.ts @@ -5,7 +5,7 @@ * 2.0. */ -import type { QueryRuleCreateProps } from '@kbn/security-solution-plugin/common/detection_engine/rule_schema'; +import type { QueryRuleCreateProps } from '@kbn/security-solution-plugin/common/api/detection_engine'; export const getRuleForSignalTestingWithTimestampOverride = ( index: string[], diff --git a/x-pack/test/detection_engine_api_integration/utils/get_rule_with_web_hook_action.ts b/x-pack/test/detection_engine_api_integration/utils/get_rule_with_web_hook_action.ts index 838ef235638e6..6437df274098d 100644 --- a/x-pack/test/detection_engine_api_integration/utils/get_rule_with_web_hook_action.ts +++ b/x-pack/test/detection_engine_api_integration/utils/get_rule_with_web_hook_action.ts @@ -8,7 +8,7 @@ import type { RuleCreateProps, RuleUpdateProps, -} from '@kbn/security-solution-plugin/common/detection_engine/rule_schema'; +} from '@kbn/security-solution-plugin/common/api/detection_engine'; import { getSimpleRule } from './get_simple_rule'; export const getRuleWithWebHookAction = ( diff --git a/x-pack/test/detection_engine_api_integration/utils/get_saved_query_rule_for_signal_testing.ts b/x-pack/test/detection_engine_api_integration/utils/get_saved_query_rule_for_signal_testing.ts index 12bca0207d4d6..d0d6e2924b352 100644 --- a/x-pack/test/detection_engine_api_integration/utils/get_saved_query_rule_for_signal_testing.ts +++ b/x-pack/test/detection_engine_api_integration/utils/get_saved_query_rule_for_signal_testing.ts @@ -5,7 +5,7 @@ * 2.0. */ -import type { SavedQueryRuleCreateProps } from '@kbn/security-solution-plugin/common/detection_engine/rule_schema'; +import type { SavedQueryRuleCreateProps } from '@kbn/security-solution-plugin/common/api/detection_engine'; import { getRuleForSignalTesting } from './get_rule_for_signal_testing'; /** diff --git a/x-pack/test/detection_engine_api_integration/utils/get_signals_by_id.ts b/x-pack/test/detection_engine_api_integration/utils/get_signals_by_id.ts index 088214a52f6ac..e68023837f770 100644 --- a/x-pack/test/detection_engine_api_integration/utils/get_signals_by_id.ts +++ b/x-pack/test/detection_engine_api_integration/utils/get_signals_by_id.ts @@ -8,7 +8,7 @@ import type { ToolingLog } from '@kbn/tooling-log'; import type SuperTest from 'supertest'; import { SearchResponse } from '@elastic/elasticsearch/lib/api/typesWithBodyKey'; -import type { DetectionAlert } from '@kbn/security-solution-plugin/common/detection_engine/schemas/alerts'; +import type { DetectionAlert } from '@kbn/security-solution-plugin/common/api/detection_engine'; import { DETECTION_ENGINE_QUERY_SIGNALS_URL } from '@kbn/security-solution-plugin/common/constants'; import { countDownTest } from './count_down_test'; diff --git a/x-pack/test/detection_engine_api_integration/utils/get_signals_by_ids.ts b/x-pack/test/detection_engine_api_integration/utils/get_signals_by_ids.ts index d5740d91934eb..f9f2eccdaa8b1 100644 --- a/x-pack/test/detection_engine_api_integration/utils/get_signals_by_ids.ts +++ b/x-pack/test/detection_engine_api_integration/utils/get_signals_by_ids.ts @@ -8,7 +8,7 @@ import { SearchResponse } from '@elastic/elasticsearch/lib/api/typesWithBodyKey'; import type { ToolingLog } from '@kbn/tooling-log'; import type SuperTest from 'supertest'; -import type { DetectionAlert } from '@kbn/security-solution-plugin/common/detection_engine/schemas/alerts'; +import type { DetectionAlert } from '@kbn/security-solution-plugin/common/api/detection_engine'; import type { RiskEnrichmentFields } from '@kbn/security-solution-plugin/server/lib/detection_engine/rule_types/utils/enrichments/types'; import { DETECTION_ENGINE_QUERY_SIGNALS_URL } from '@kbn/security-solution-plugin/common/constants'; diff --git a/x-pack/test/detection_engine_api_integration/utils/get_signals_by_rule_ids.ts b/x-pack/test/detection_engine_api_integration/utils/get_signals_by_rule_ids.ts index 85ad0e3d89acb..7a0a93d90855d 100644 --- a/x-pack/test/detection_engine_api_integration/utils/get_signals_by_rule_ids.ts +++ b/x-pack/test/detection_engine_api_integration/utils/get_signals_by_rule_ids.ts @@ -8,7 +8,7 @@ import type { SearchResponse } from '@elastic/elasticsearch/lib/api/typesWithBodyKey'; import type { ToolingLog } from '@kbn/tooling-log'; import type SuperTest from 'supertest'; -import type { DetectionAlert } from '@kbn/security-solution-plugin/common/detection_engine/schemas/alerts'; +import type { DetectionAlert } from '@kbn/security-solution-plugin/common/api/detection_engine'; import { DETECTION_ENGINE_QUERY_SIGNALS_URL } from '@kbn/security-solution-plugin/common/constants'; import { countDownTest } from './count_down_test'; diff --git a/x-pack/test/detection_engine_api_integration/utils/get_simple_ml_rule.ts b/x-pack/test/detection_engine_api_integration/utils/get_simple_ml_rule.ts index 7c70774847c87..a8fe28d54f24e 100644 --- a/x-pack/test/detection_engine_api_integration/utils/get_simple_ml_rule.ts +++ b/x-pack/test/detection_engine_api_integration/utils/get_simple_ml_rule.ts @@ -5,7 +5,7 @@ * 2.0. */ -import type { RuleCreateProps } from '@kbn/security-solution-plugin/common/detection_engine/rule_schema'; +import type { RuleCreateProps } from '@kbn/security-solution-plugin/common/api/detection_engine'; /** * This is a representative ML rule payload as expected by the server diff --git a/x-pack/test/detection_engine_api_integration/utils/get_simple_ml_rule_output.ts b/x-pack/test/detection_engine_api_integration/utils/get_simple_ml_rule_output.ts index 754dbb1cd1149..f65c458baa71e 100644 --- a/x-pack/test/detection_engine_api_integration/utils/get_simple_ml_rule_output.ts +++ b/x-pack/test/detection_engine_api_integration/utils/get_simple_ml_rule_output.ts @@ -5,7 +5,7 @@ * 2.0. */ -import type { MachineLearningRule } from '@kbn/security-solution-plugin/common/detection_engine/rule_schema'; +import type { MachineLearningRule } from '@kbn/security-solution-plugin/common/api/detection_engine'; import { getMockSharedResponseSchema } from './get_simple_rule_output'; import { removeServerGeneratedProperties } from './remove_server_generated_properties'; diff --git a/x-pack/test/detection_engine_api_integration/utils/get_simple_ml_rule_update.ts b/x-pack/test/detection_engine_api_integration/utils/get_simple_ml_rule_update.ts index 219fb3e425255..3098ede4f9712 100644 --- a/x-pack/test/detection_engine_api_integration/utils/get_simple_ml_rule_update.ts +++ b/x-pack/test/detection_engine_api_integration/utils/get_simple_ml_rule_update.ts @@ -5,7 +5,7 @@ * 2.0. */ -import type { RuleUpdateProps } from '@kbn/security-solution-plugin/common/detection_engine/rule_schema'; +import type { RuleUpdateProps } from '@kbn/security-solution-plugin/common/api/detection_engine'; /** * This is a representative ML rule payload as expected by the server for an update diff --git a/x-pack/test/detection_engine_api_integration/utils/get_simple_preview_rule.ts b/x-pack/test/detection_engine_api_integration/utils/get_simple_preview_rule.ts index 985728e9bec80..48e687316dbf5 100644 --- a/x-pack/test/detection_engine_api_integration/utils/get_simple_preview_rule.ts +++ b/x-pack/test/detection_engine_api_integration/utils/get_simple_preview_rule.ts @@ -5,7 +5,7 @@ * 2.0. */ -import type { PreviewRulesSchema } from '@kbn/security-solution-plugin/common/detection_engine/rule_schema'; +import type { PreviewRulesSchema } from '@kbn/security-solution-plugin/common/api/detection_engine'; /** * This is a typical simple preview rule for testing that is easy for most basic testing diff --git a/x-pack/test/detection_engine_api_integration/utils/get_simple_rule.ts b/x-pack/test/detection_engine_api_integration/utils/get_simple_rule.ts index e630ba9859e2f..f5e88e34bd62c 100644 --- a/x-pack/test/detection_engine_api_integration/utils/get_simple_rule.ts +++ b/x-pack/test/detection_engine_api_integration/utils/get_simple_rule.ts @@ -5,7 +5,7 @@ * 2.0. */ -import type { QueryRuleCreateProps } from '@kbn/security-solution-plugin/common/detection_engine/rule_schema'; +import type { QueryRuleCreateProps } from '@kbn/security-solution-plugin/common/api/detection_engine'; /** * This is a typical simple rule for testing that is easy for most basic testing diff --git a/x-pack/test/detection_engine_api_integration/utils/get_simple_rule_output.ts b/x-pack/test/detection_engine_api_integration/utils/get_simple_rule_output.ts index cdadcce39e0a8..7c51faf2b8846 100644 --- a/x-pack/test/detection_engine_api_integration/utils/get_simple_rule_output.ts +++ b/x-pack/test/detection_engine_api_integration/utils/get_simple_rule_output.ts @@ -8,7 +8,7 @@ import type { RuleResponse, SharedResponseProps, -} from '@kbn/security-solution-plugin/common/detection_engine/rule_schema'; +} from '@kbn/security-solution-plugin/common/api/detection_engine'; import { removeServerGeneratedProperties } from './remove_server_generated_properties'; export const getMockSharedResponseSchema = ( diff --git a/x-pack/test/detection_engine_api_integration/utils/get_simple_rule_preview_output.ts b/x-pack/test/detection_engine_api_integration/utils/get_simple_rule_preview_output.ts index 88f1efad4239e..2eac279b87795 100644 --- a/x-pack/test/detection_engine_api_integration/utils/get_simple_rule_preview_output.ts +++ b/x-pack/test/detection_engine_api_integration/utils/get_simple_rule_preview_output.ts @@ -5,7 +5,7 @@ * 2.0. */ -import type { RulePreviewLogs } from '@kbn/security-solution-plugin/common/detection_engine/rule_schema'; +import type { RulePreviewLogs } from '@kbn/security-solution-plugin/common/api/detection_engine'; /** * This is the typical output of a simple rule preview, with errors and warnings coming up from the rule diff --git a/x-pack/test/detection_engine_api_integration/utils/get_simple_rule_update.ts b/x-pack/test/detection_engine_api_integration/utils/get_simple_rule_update.ts index 43da256b4e793..6764a1d801dd5 100644 --- a/x-pack/test/detection_engine_api_integration/utils/get_simple_rule_update.ts +++ b/x-pack/test/detection_engine_api_integration/utils/get_simple_rule_update.ts @@ -5,7 +5,7 @@ * 2.0. */ -import type { RuleUpdateProps } from '@kbn/security-solution-plugin/common/detection_engine/rule_schema'; +import type { RuleUpdateProps } from '@kbn/security-solution-plugin/common/api/detection_engine'; /** * This is a typical simple rule for testing that is easy for most basic testing diff --git a/x-pack/test/detection_engine_api_integration/utils/get_simple_rule_without_rule_id.ts b/x-pack/test/detection_engine_api_integration/utils/get_simple_rule_without_rule_id.ts index 254cc044cbbe0..ad6ab7803ec21 100644 --- a/x-pack/test/detection_engine_api_integration/utils/get_simple_rule_without_rule_id.ts +++ b/x-pack/test/detection_engine_api_integration/utils/get_simple_rule_without_rule_id.ts @@ -5,7 +5,7 @@ * 2.0. */ -import type { RuleCreateProps } from '@kbn/security-solution-plugin/common/detection_engine/rule_schema'; +import type { RuleCreateProps } from '@kbn/security-solution-plugin/common/api/detection_engine'; import { getSimpleRule } from './get_simple_rule'; /** diff --git a/x-pack/test/detection_engine_api_integration/utils/get_simple_saved_query_rule.ts b/x-pack/test/detection_engine_api_integration/utils/get_simple_saved_query_rule.ts index 56571463f85e3..a4928f46e8b6a 100644 --- a/x-pack/test/detection_engine_api_integration/utils/get_simple_saved_query_rule.ts +++ b/x-pack/test/detection_engine_api_integration/utils/get_simple_saved_query_rule.ts @@ -5,7 +5,7 @@ * 2.0. */ -import type { SavedQueryRuleCreateProps } from '@kbn/security-solution-plugin/common/detection_engine/rule_schema'; +import type { SavedQueryRuleCreateProps } from '@kbn/security-solution-plugin/common/api/detection_engine'; /** * This is a typical simple saved_query rule for e2e testing diff --git a/x-pack/test/detection_engine_api_integration/utils/get_simple_threat_match.ts b/x-pack/test/detection_engine_api_integration/utils/get_simple_threat_match.ts index d3013be402377..c2e1a0e18021b 100644 --- a/x-pack/test/detection_engine_api_integration/utils/get_simple_threat_match.ts +++ b/x-pack/test/detection_engine_api_integration/utils/get_simple_threat_match.ts @@ -5,7 +5,7 @@ * 2.0. */ -import { ThreatMatchRuleCreateProps } from '@kbn/security-solution-plugin/common/detection_engine/rule_schema'; +import { ThreatMatchRuleCreateProps } from '@kbn/security-solution-plugin/common/api/detection_engine'; /** * This is a typical simple indicator match/threat match for testing that is easy for most basic testing diff --git a/x-pack/test/detection_engine_api_integration/utils/get_threat_match_rule_for_signal_testing.ts b/x-pack/test/detection_engine_api_integration/utils/get_threat_match_rule_for_signal_testing.ts index 24fa49c72cd09..5fc6225622c20 100644 --- a/x-pack/test/detection_engine_api_integration/utils/get_threat_match_rule_for_signal_testing.ts +++ b/x-pack/test/detection_engine_api_integration/utils/get_threat_match_rule_for_signal_testing.ts @@ -5,7 +5,7 @@ * 2.0. */ -import type { ThreatMatchRuleCreateProps } from '@kbn/security-solution-plugin/common/detection_engine/rule_schema'; +import type { ThreatMatchRuleCreateProps } from '@kbn/security-solution-plugin/common/api/detection_engine'; import { getRuleForSignalTesting } from './get_rule_for_signal_testing'; /** diff --git a/x-pack/test/detection_engine_api_integration/utils/get_threshold_rule_for_signal_testing.ts b/x-pack/test/detection_engine_api_integration/utils/get_threshold_rule_for_signal_testing.ts index d37ec2084d5a0..7dcfcc469f1be 100644 --- a/x-pack/test/detection_engine_api_integration/utils/get_threshold_rule_for_signal_testing.ts +++ b/x-pack/test/detection_engine_api_integration/utils/get_threshold_rule_for_signal_testing.ts @@ -5,7 +5,7 @@ * 2.0. */ -import type { ThresholdRuleCreateProps } from '@kbn/security-solution-plugin/common/detection_engine/rule_schema'; +import type { ThresholdRuleCreateProps } from '@kbn/security-solution-plugin/common/api/detection_engine'; import { getRuleForSignalTesting } from './get_rule_for_signal_testing'; /** diff --git a/x-pack/test/detection_engine_api_integration/utils/patch_rule.ts b/x-pack/test/detection_engine_api_integration/utils/patch_rule.ts index ec079c289e1fd..2d87660d989e3 100644 --- a/x-pack/test/detection_engine_api_integration/utils/patch_rule.ts +++ b/x-pack/test/detection_engine_api_integration/utils/patch_rule.ts @@ -12,7 +12,7 @@ import { DETECTION_ENGINE_RULES_URL } from '@kbn/security-solution-plugin/common import { RulePatchProps, RuleResponse, -} from '@kbn/security-solution-plugin/common/detection_engine/rule_schema'; +} from '@kbn/security-solution-plugin/common/api/detection_engine'; /** * Helper to cut down on the noise in some of the tests. This checks for diff --git a/x-pack/test/detection_engine_api_integration/utils/prebuilt_rules/get_prebuilt_rules_and_timelines_status.ts b/x-pack/test/detection_engine_api_integration/utils/prebuilt_rules/get_prebuilt_rules_and_timelines_status.ts index 1b5177cecb058..9a757d73824c8 100644 --- a/x-pack/test/detection_engine_api_integration/utils/prebuilt_rules/get_prebuilt_rules_and_timelines_status.ts +++ b/x-pack/test/detection_engine_api_integration/utils/prebuilt_rules/get_prebuilt_rules_and_timelines_status.ts @@ -8,7 +8,7 @@ import { GetPrebuiltRulesAndTimelinesStatusResponse, PREBUILT_RULES_STATUS_URL, -} from '@kbn/security-solution-plugin/common/detection_engine/prebuilt_rules'; +} from '@kbn/security-solution-plugin/common/api/detection_engine/prebuilt_rules'; import type SuperTest from 'supertest'; /** diff --git a/x-pack/test/detection_engine_api_integration/utils/prebuilt_rules/install_mock_prebuilt_rules.ts b/x-pack/test/detection_engine_api_integration/utils/prebuilt_rules/install_mock_prebuilt_rules.ts index 9cd3aabe5f79e..6f9726ae6a194 100644 --- a/x-pack/test/detection_engine_api_integration/utils/prebuilt_rules/install_mock_prebuilt_rules.ts +++ b/x-pack/test/detection_engine_api_integration/utils/prebuilt_rules/install_mock_prebuilt_rules.ts @@ -6,7 +6,7 @@ */ import { Client } from '@elastic/elasticsearch'; -import { InstallPrebuiltRulesAndTimelinesResponse } from '@kbn/security-solution-plugin/common/detection_engine/prebuilt_rules'; +import { InstallPrebuiltRulesAndTimelinesResponse } from '@kbn/security-solution-plugin/common/api/detection_engine/prebuilt_rules'; import type SuperTest from 'supertest'; import { createPrebuiltRuleAssetSavedObjects } from './create_prebuilt_rule_saved_objects'; import { installPrebuiltRulesAndTimelines } from './install_prebuilt_rules_and_timelines'; diff --git a/x-pack/test/detection_engine_api_integration/utils/prebuilt_rules/install_prebuilt_rules_and_timelines.ts b/x-pack/test/detection_engine_api_integration/utils/prebuilt_rules/install_prebuilt_rules_and_timelines.ts index c9729dd1654df..3609e1adbc112 100644 --- a/x-pack/test/detection_engine_api_integration/utils/prebuilt_rules/install_prebuilt_rules_and_timelines.ts +++ b/x-pack/test/detection_engine_api_integration/utils/prebuilt_rules/install_prebuilt_rules_and_timelines.ts @@ -8,7 +8,7 @@ import { InstallPrebuiltRulesAndTimelinesResponse, PREBUILT_RULES_URL, -} from '@kbn/security-solution-plugin/common/detection_engine/prebuilt_rules'; +} from '@kbn/security-solution-plugin/common/api/detection_engine/prebuilt_rules'; import type SuperTest from 'supertest'; /** diff --git a/x-pack/test/detection_engine_api_integration/utils/preview_rule.ts b/x-pack/test/detection_engine_api_integration/utils/preview_rule.ts index 1360209d9a175..a97c304f5ffaa 100644 --- a/x-pack/test/detection_engine_api_integration/utils/preview_rule.ts +++ b/x-pack/test/detection_engine_api_integration/utils/preview_rule.ts @@ -10,7 +10,7 @@ import type { RuleCreateProps, PreviewRulesSchema, RulePreviewLogs, -} from '@kbn/security-solution-plugin/common/detection_engine/rule_schema'; +} from '@kbn/security-solution-plugin/common/api/detection_engine'; import { DETECTION_ENGINE_RULES_PREVIEW } from '@kbn/security-solution-plugin/common/constants'; diff --git a/x-pack/test/detection_engine_api_integration/utils/preview_rule_with_exception_entries.ts b/x-pack/test/detection_engine_api_integration/utils/preview_rule_with_exception_entries.ts index efd5c71ac7047..d53d731f755f9 100644 --- a/x-pack/test/detection_engine_api_integration/utils/preview_rule_with_exception_entries.ts +++ b/x-pack/test/detection_engine_api_integration/utils/preview_rule_with_exception_entries.ts @@ -8,7 +8,7 @@ import type { ToolingLog } from '@kbn/tooling-log'; import type SuperTest from 'supertest'; import type { NonEmptyEntriesArray, OsTypeArray } from '@kbn/securitysolution-io-ts-list-types'; -import type { RuleCreateProps } from '@kbn/security-solution-plugin/common/detection_engine/rule_schema'; +import type { RuleCreateProps } from '@kbn/security-solution-plugin/common/api/detection_engine'; import { createContainerWithEntries } from './create_container_with_entries'; import { createContainerWithEndpointEntries } from './create_container_with_endpoint_entries'; diff --git a/x-pack/test/detection_engine_api_integration/utils/remove_server_generated_properties.ts b/x-pack/test/detection_engine_api_integration/utils/remove_server_generated_properties.ts index b5c0bd1864ca8..d36f43ef179a5 100644 --- a/x-pack/test/detection_engine_api_integration/utils/remove_server_generated_properties.ts +++ b/x-pack/test/detection_engine_api_integration/utils/remove_server_generated_properties.ts @@ -5,7 +5,7 @@ * 2.0. */ -import type { RuleResponse } from '@kbn/security-solution-plugin/common/detection_engine/rule_schema'; +import type { RuleResponse } from '@kbn/security-solution-plugin/common/api/detection_engine'; import { omit, pickBy } from 'lodash'; const serverGeneratedProperties = ['id', 'created_at', 'updated_at', 'execution_summary'] as const; diff --git a/x-pack/test/detection_engine_api_integration/utils/remove_server_generated_properties_including_rule_id.ts b/x-pack/test/detection_engine_api_integration/utils/remove_server_generated_properties_including_rule_id.ts index 2a37c1b659093..1b57b5663ec23 100644 --- a/x-pack/test/detection_engine_api_integration/utils/remove_server_generated_properties_including_rule_id.ts +++ b/x-pack/test/detection_engine_api_integration/utils/remove_server_generated_properties_including_rule_id.ts @@ -5,7 +5,7 @@ * 2.0. */ -import type { RuleResponse } from '@kbn/security-solution-plugin/common/detection_engine/rule_schema'; +import type { RuleResponse } from '@kbn/security-solution-plugin/common/api/detection_engine'; import { removeServerGeneratedProperties } from './remove_server_generated_properties'; diff --git a/x-pack/test/detection_engine_api_integration/utils/rule_to_ndjson.ts b/x-pack/test/detection_engine_api_integration/utils/rule_to_ndjson.ts index 03e6d266a3deb..404f3c1baa962 100644 --- a/x-pack/test/detection_engine_api_integration/utils/rule_to_ndjson.ts +++ b/x-pack/test/detection_engine_api_integration/utils/rule_to_ndjson.ts @@ -5,7 +5,7 @@ * 2.0. */ -import type { RuleCreateProps } from '@kbn/security-solution-plugin/common/detection_engine/rule_schema'; +import type { RuleCreateProps } from '@kbn/security-solution-plugin/common/api/detection_engine'; /** * Given a rule this will convert it to an ndjson buffer which is useful for diff --git a/x-pack/test/detection_engine_api_integration/utils/rule_to_update_schema.ts b/x-pack/test/detection_engine_api_integration/utils/rule_to_update_schema.ts index b4d2759ccf67d..f6669a1325eb1 100644 --- a/x-pack/test/detection_engine_api_integration/utils/rule_to_update_schema.ts +++ b/x-pack/test/detection_engine_api_integration/utils/rule_to_update_schema.ts @@ -8,7 +8,7 @@ import type { RuleResponse, RuleUpdateProps, -} from '@kbn/security-solution-plugin/common/detection_engine/rule_schema'; +} from '@kbn/security-solution-plugin/common/api/detection_engine'; import { omit, pickBy } from 'lodash'; const propertiesToRemove = [ diff --git a/x-pack/test/detection_engine_api_integration/utils/set_alert_tags.ts b/x-pack/test/detection_engine_api_integration/utils/set_alert_tags.ts index 5ba68ebf2fdba..b3ae1d4de0b5c 100644 --- a/x-pack/test/detection_engine_api_integration/utils/set_alert_tags.ts +++ b/x-pack/test/detection_engine_api_integration/utils/set_alert_tags.ts @@ -5,8 +5,8 @@ * 2.0. */ -import { AlertTagIds } from '@kbn/security-solution-plugin/common/detection_engine/schemas/common'; -import { SetAlertTagsSchema } from '@kbn/security-solution-plugin/common/detection_engine/schemas/request/set_alert_tags_schema'; +import { AlertTagIds } from '@kbn/security-solution-plugin/common/api/detection_engine'; +import { SetAlertTagsRequestBody } from '@kbn/security-solution-plugin/common/api/detection_engine'; export const setAlertTags = ({ tagsToAdd, @@ -16,7 +16,7 @@ export const setAlertTags = ({ tagsToAdd: string[]; tagsToRemove: string[]; ids: AlertTagIds; -}): SetAlertTagsSchema => ({ +}): SetAlertTagsRequestBody => ({ tags: { tags_to_add: tagsToAdd, tags_to_remove: tagsToRemove, diff --git a/x-pack/test/detection_engine_api_integration/utils/set_signal_status.ts b/x-pack/test/detection_engine_api_integration/utils/set_signal_status.ts index 37a10bd23f9a9..1ebcabae149b6 100644 --- a/x-pack/test/detection_engine_api_integration/utils/set_signal_status.ts +++ b/x-pack/test/detection_engine_api_integration/utils/set_signal_status.ts @@ -5,10 +5,7 @@ * 2.0. */ -import type { - Status, - SignalIds, -} from '@kbn/security-solution-plugin/common/detection_engine/schemas/common'; +import type { Status, SignalIds } from '@kbn/security-solution-plugin/common/api/detection_engine'; export const setSignalStatus = ({ signalIds, diff --git a/x-pack/test/detection_engine_api_integration/utils/update_rule.ts b/x-pack/test/detection_engine_api_integration/utils/update_rule.ts index cee09bc80a6c0..344dcdaea13e1 100644 --- a/x-pack/test/detection_engine_api_integration/utils/update_rule.ts +++ b/x-pack/test/detection_engine_api_integration/utils/update_rule.ts @@ -12,7 +12,7 @@ import { DETECTION_ENGINE_RULES_URL } from '@kbn/security-solution-plugin/common import { RuleUpdateProps, RuleResponse, -} from '@kbn/security-solution-plugin/common/detection_engine/rule_schema'; +} from '@kbn/security-solution-plugin/common/api/detection_engine'; /** * Helper to cut down on the noise in some of the tests. This checks for diff --git a/x-pack/test/detection_engine_api_integration/utils/wait_for_rule_status.ts b/x-pack/test/detection_engine_api_integration/utils/wait_for_rule_status.ts index 9eb08337427d9..69d904da9579d 100644 --- a/x-pack/test/detection_engine_api_integration/utils/wait_for_rule_status.ts +++ b/x-pack/test/detection_engine_api_integration/utils/wait_for_rule_status.ts @@ -8,7 +8,7 @@ import type { ToolingLog } from '@kbn/tooling-log'; import type SuperTest from 'supertest'; import { DETECTION_ENGINE_RULES_URL } from '@kbn/security-solution-plugin/common/constants'; -import { RuleExecutionStatus } from '@kbn/security-solution-plugin/common/detection_engine/rule_monitoring'; +import { RuleExecutionStatus } from '@kbn/security-solution-plugin/common/api/detection_engine/rule_monitoring'; import { waitFor } from './wait_for'; interface WaitForRuleStatusBaseParams { diff --git a/x-pack/test/fleet_api_integration/apis/epm/install_integration_in_multiple_spaces.ts b/x-pack/test/fleet_api_integration/apis/epm/install_integration_in_multiple_spaces.ts index 1202f73e35cf9..d6023ae0492e1 100644 --- a/x-pack/test/fleet_api_integration/apis/epm/install_integration_in_multiple_spaces.ts +++ b/x-pack/test/fleet_api_integration/apis/epm/install_integration_in_multiple_spaces.ts @@ -16,6 +16,7 @@ export default function (providerContext: FtrProviderContext) { const kibanaServer = getService('kibanaServer'); const supertest = getService('supertest'); const dockerServers = getService('dockerServers'); + const esArchiver = getService('esArchiver'); const server = dockerServers.get('registry'); const pkgName = 'system'; const pkgVersion = '1.27.0'; @@ -72,6 +73,7 @@ export default function (providerContext: FtrProviderContext) { before(async () => { if (!server.enabled) return; + await esArchiver.load('x-pack/test/functional/es_archives/fleet/empty_fleet_server'); await installPackage(pkgName, pkgVersion); await createSpace(testSpaceId); @@ -81,6 +83,7 @@ export default function (providerContext: FtrProviderContext) { after(async () => { await deleteSpace(testSpaceId); + await esArchiver.unload('x-pack/test/functional/es_archives/fleet/empty_fleet_server'); }); it('should install kibana assets', async function () { diff --git a/x-pack/test/functional/apps/dashboard/group3/reporting/download_csv.ts b/x-pack/test/functional/apps/dashboard/group3/reporting/download_csv.ts index d062eb8feb432..766e7ecd882fb 100644 --- a/x-pack/test/functional/apps/dashboard/group3/reporting/download_csv.ts +++ b/x-pack/test/functional/apps/dashboard/group3/reporting/download_csv.ts @@ -134,18 +134,15 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) { describe('Filtered Saved Search', () => { const TEST_SEARCH_TITLE = 'Customer Betty'; const TEST_DASHBOARD_TITLE = 'Filtered Search Data'; - const setTimeRange = async () => { - const fromTime = 'Jun 20, 2019 @ 23:56:51.374'; - const toTime = 'Jun 25, 2019 @ 16:18:51.821'; - await PageObjects.timePicker.setAbsoluteRange(fromTime, toTime); - }; + const from = 'Jun 20, 2019 @ 23:56:51.374'; + const to = 'Jun 25, 2019 @ 16:18:51.821'; before(async () => { await reporting.initEcommerce(); + await PageObjects.common.setTime({ from, to }); await navigateToDashboardApp(); log.info(`Creating empty dashboard`); await PageObjects.dashboard.clickNewDashboard(); - await setTimeRange(); log.info(`Adding "${TEST_SEARCH_TITLE}" to dashboard`); await dashboardAddPanel.addSavedSearch(TEST_SEARCH_TITLE); await PageObjects.dashboard.saveDashboard(TEST_DASHBOARD_TITLE); @@ -154,6 +151,7 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) { after(async () => { await reporting.teardownEcommerce(); await esArchiver.emptyKibanaIndex(); + await PageObjects.common.unsetTime(); }); it('Downloads filtered Discover saved search report', async () => { diff --git a/x-pack/test/rule_registry/security_and_spaces/tests/basic/search_strategy.ts b/x-pack/test/rule_registry/security_and_spaces/tests/basic/search_strategy.ts index b6fd50190f9d0..e0dd8aedb2766 100644 --- a/x-pack/test/rule_registry/security_and_spaces/tests/basic/search_strategy.ts +++ b/x-pack/test/rule_registry/security_and_spaces/tests/basic/search_strategy.ts @@ -8,7 +8,7 @@ import expect from '@kbn/expect'; import { AlertConsumers } from '@kbn/rule-data-utils'; import { RuleRegistrySearchResponse } from '@kbn/rule-registry-plugin/common/search_strategy'; -import { QueryRuleCreateProps } from '@kbn/security-solution-plugin/common/detection_engine/rule_schema'; +import { QueryRuleCreateProps } from '@kbn/security-solution-plugin/common/api/detection_engine'; import { FtrProviderContext } from '../../../common/ftr_provider_context'; import { deleteAllAlerts, diff --git a/x-pack/test/security_solution_endpoint/apps/endpoint/endpoint_solution_integrations.ts b/x-pack/test/security_solution_endpoint/apps/endpoint/endpoint_solution_integrations.ts index c87e67c369b64..3bdfa503b0a09 100644 --- a/x-pack/test/security_solution_endpoint/apps/endpoint/endpoint_solution_integrations.ts +++ b/x-pack/test/security_solution_endpoint/apps/endpoint/endpoint_solution_integrations.ts @@ -6,7 +6,7 @@ */ import { IndexedHostsAndAlertsResponse } from '@kbn/security-solution-plugin/common/endpoint/index_data'; -import { TimelineResponse } from '@kbn/security-solution-plugin/common/types/timeline/api'; +import { TimelineResponse } from '@kbn/security-solution-plugin/common/api/timeline'; // @ts-expect-error we have to check types with "allowJs: false" for now, causing this import to fail import { kibanaPackageJson } from '@kbn/repo-info'; import { type IndexedEndpointRuleAlerts } from '@kbn/security-solution-plugin/common/endpoint/data_loaders/index_endpoint_rule_alerts'; diff --git a/x-pack/test/security_solution_endpoint/apps/endpoint/responder.ts b/x-pack/test/security_solution_endpoint/apps/endpoint/responder.ts index 7d7211da0bad4..3c1ac41ae5466 100644 --- a/x-pack/test/security_solution_endpoint/apps/endpoint/responder.ts +++ b/x-pack/test/security_solution_endpoint/apps/endpoint/responder.ts @@ -6,7 +6,7 @@ */ import { IndexedHostsAndAlertsResponse } from '@kbn/security-solution-plugin/common/endpoint/index_data'; -import { TimelineResponse } from '@kbn/security-solution-plugin/common/types/timeline/api'; +import { TimelineResponse } from '@kbn/security-solution-plugin/common/api/timeline'; import { type IndexedEndpointRuleAlerts } from '@kbn/security-solution-plugin/common/endpoint/data_loaders/index_endpoint_rule_alerts'; import { DATE_RANGE_OPTION_TO_TEST_SUBJ_MAP } from '@kbn/security-solution-plugin/common/test'; import { FtrProviderContext } from '../../ftr_provider_context'; diff --git a/x-pack/test/security_solution_ftr/services/timeline/index.ts b/x-pack/test/security_solution_ftr/services/timeline/index.ts index 3181f44e2177c..8c87c92d7f6d6 100644 --- a/x-pack/test/security_solution_ftr/services/timeline/index.ts +++ b/x-pack/test/security_solution_ftr/services/timeline/index.ts @@ -8,7 +8,7 @@ import { Response } from 'superagent'; import { EndpointError } from '@kbn/security-solution-plugin/common/endpoint/errors'; import { TIMELINE_DRAFT_URL, TIMELINE_URL } from '@kbn/security-solution-plugin/common/constants'; -import { TimelineResponse } from '@kbn/security-solution-plugin/common/types/timeline/api'; +import { TimelineResponse } from '@kbn/security-solution-plugin/common/api/timeline'; import { TimelineInput } from '@kbn/security-solution-plugin/common/search_strategy'; import moment from 'moment'; import { fromKueryExpression, toElasticsearchQuery } from '@kbn/es-query'; diff --git a/x-pack/test_serverless/functional/test_suites/common/index.ts b/x-pack/test_serverless/functional/test_suites/common/index.ts index c49b2fcf91bcb..d0adbf04e23b4 100644 --- a/x-pack/test_serverless/functional/test_suites/common/index.ts +++ b/x-pack/test_serverless/functional/test_suites/common/index.ts @@ -10,5 +10,6 @@ import { FtrProviderContext } from '../../ftr_provider_context'; export default function ({ loadTestFile }: FtrProviderContext) { describe('serverless common UI', function () { loadTestFile(require.resolve('./home_page')); + loadTestFile(require.resolve('./management')); }); } diff --git a/x-pack/test_serverless/functional/test_suites/common/management.ts b/x-pack/test_serverless/functional/test_suites/common/management.ts new file mode 100644 index 0000000000000..0b2f2cab24716 --- /dev/null +++ b/x-pack/test_serverless/functional/test_suites/common/management.ts @@ -0,0 +1,66 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import { FtrProviderContext } from '../../ftr_provider_context'; + +export default function ({ getPageObject, getService }: FtrProviderContext) { + const commonPage = getPageObject('common'); + const testSubjects = getService('testSubjects'); + + describe('Management', function () { + describe('Disabled UIs', () => { + const DISABLED_PLUGINS = [ + { + appName: 'Upgrade Assistant', + url: 'stack/upgrade_assistant', + }, + { + appName: 'Advanced Settings', + url: 'kibana/settings', + }, + { + appName: 'Migrate', + url: 'data/migrate_data', + }, + { + appName: 'Remote Clusters', + url: 'data/remote_clusters', + }, + { + appName: 'Cross-Cluster Replication', + url: 'data/cross_cluster_replication', + }, + { + appName: 'Snapshot and Restore', + url: 'data/snapshot_restore', + }, + { + appName: 'Index Lifecycle Management', + url: 'data/index_lifecycle_management', + }, + { + appName: 'Rollup Jobs', + url: 'data/rollup_jobs', + }, + { + appName: 'License Management', + url: 'stack/license_management', + }, + ]; + + DISABLED_PLUGINS.forEach(({ appName, url }) => { + it(`${appName} is not accessible`, async () => { + await commonPage.navigateToUrl('management', url, { + shouldUseHashForSubUrl: false, + }); + // If the route doesn't exist, the user will be redirected back to the Management landing page + await testSubjects.exists('managementHome'); + }); + }); + }); + }); +} diff --git a/x-pack/test_serverless/functional/test_suites/security/cypress/cypress.config.ts b/x-pack/test_serverless/functional/test_suites/security/cypress/cypress.config.ts index b7a396652163b..5791794ce0c19 100644 --- a/x-pack/test_serverless/functional/test_suites/security/cypress/cypress.config.ts +++ b/x-pack/test_serverless/functional/test_suites/security/cypress/cypress.config.ts @@ -12,6 +12,7 @@ export default defineCypressConfig({ execTimeout: 60000, pageLoadTimeout: 60000, responseTimeout: 60000, + screenshotsFolder: '../../../../../../target/kibana-security-solution/cypress/screenshots', trashAssetsBeforeRuns: false, video: false, viewportHeight: 946,