diff --git a/.buildkite/ftr_configs.yml b/.buildkite/ftr_configs.yml index 6aefc30411141..ac929afea575b 100644 --- a/.buildkite/ftr_configs.yml +++ b/.buildkite/ftr_configs.yml @@ -214,6 +214,7 @@ enabled: - x-pack/test/api_integration/apis/stats/config.ts - x-pack/test/api_integration/apis/status/config.ts - x-pack/test/api_integration/apis/synthetics/config.ts + - x-pack/test/api_integration/apis/slos/config.ts - x-pack/test/api_integration/apis/telemetry/config.ts - x-pack/test/api_integration/apis/transform/config.ts - x-pack/test/api_integration/apis/upgrade_assistant/config.ts @@ -515,4 +516,4 @@ enabled: - x-pack/test/security_solution_api_integration/test_suites/detections_response/default_license/rule_read/configs/serverless.config.ts - x-pack/test/security_solution_api_integration/test_suites/detections_response/default_license/rule_read/configs/ess.config.ts - x-pack/test/security_solution_api_integration/test_suites/detections_response/default_license/rule_bulk_actions/configs/ess.config.ts - - x-pack/test/security_solution_api_integration/test_suites/detections_response/default_license/rule_bulk_actions/configs/serverless.config.ts + - x-pack/test/security_solution_api_integration/test_suites/detections_response/default_license/rule_bulk_actions/configs/serverless.config.ts \ No newline at end of file diff --git a/.buildkite/scripts/serverless/create_deploy_tag/info_sections/so_snapshot_comparison.ts b/.buildkite/scripts/serverless/create_deploy_tag/info_sections/so_snapshot_comparison.ts index 19917730cca0c..61acda12cd1e9 100644 --- a/.buildkite/scripts/serverless/create_deploy_tag/info_sections/so_snapshot_comparison.ts +++ b/.buildkite/scripts/serverless/create_deploy_tag/info_sections/so_snapshot_comparison.ts @@ -11,12 +11,15 @@ import { readFileSync } from 'fs'; import { exec } from '../shared'; import { BuildkiteClient, getKibanaDir } from '#pipeline-utils'; +type VersionChanges = Record; + export function compareSOSnapshots( previousSha: string, selectedSha: string ): null | { hasChanges: boolean; changed: string[]; + versionChanges: VersionChanges; command: string; } { assertValidSha(previousSha); @@ -33,9 +36,15 @@ export function compareSOSnapshots( const buildkite = new BuildkiteClient({ exec }); buildkite.uploadArtifacts(outputPath); + const versionChanges = Object.keys(soComparisonResult.changes).reduce((changes, pluginId) => { + changes[pluginId] = soComparisonResult.changes[pluginId].versionChange; + return changes; + }, {} as VersionChanges); + return { hasChanges: soComparisonResult.hasChanges, changed: soComparisonResult.changed, + versionChanges, command, }; } catch (ex) { @@ -47,14 +56,24 @@ export function compareSOSnapshots( export function makeSOComparisonBlockHtml(comparisonResult: { hasChanges: boolean; changed: string[]; + versionChanges: VersionChanges; command: string; }): string { if (comparisonResult.hasChanges) { + const { versionChanges, changed, command } = comparisonResult; return `
-

Plugin Saved Object migration changes: *yes, ${comparisonResult.changed.length} plugin(s)*

-
Changed plugins: ${comparisonResult.changed.join(', ')}
+

Plugin Saved Object migration changes: *yes, ${changed.length} plugin(s)*

+
Changed plugins:
+
+
    +${Object.keys(versionChanges).map((key) => { + const { from, to, emoji } = versionChanges[key]; + return `
  • ${emoji} ${key}: ${from} => ${to}
  • `; +})} +
+
Find detailed info in the archived artifacts, or run the command yourself: -
${comparisonResult.command}
+
${command}
`; } else { return `
diff --git a/api_docs/actions.mdx b/api_docs/actions.mdx index ef15d64e1daa5..051531e01af6e 100644 --- a/api_docs/actions.mdx +++ b/api_docs/actions.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/actions title: "actions" image: https://source.unsplash.com/400x175/?github description: API docs for the actions plugin -date: 2024-01-16 +date: 2024-01-17 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 bce59ddcbe809..051147ea1d8a5 100644 --- a/api_docs/advanced_settings.mdx +++ b/api_docs/advanced_settings.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/advancedSettings title: "advancedSettings" image: https://source.unsplash.com/400x175/?github description: API docs for the advancedSettings plugin -date: 2024-01-16 +date: 2024-01-17 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'advancedSettings'] --- import advancedSettingsObj from './advanced_settings.devdocs.json'; diff --git a/api_docs/ai_assistant_management_observability.mdx b/api_docs/ai_assistant_management_observability.mdx index 45f6c19de1412..1d48250364aa6 100644 --- a/api_docs/ai_assistant_management_observability.mdx +++ b/api_docs/ai_assistant_management_observability.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/aiAssistantManagementObservability title: "aiAssistantManagementObservability" image: https://source.unsplash.com/400x175/?github description: API docs for the aiAssistantManagementObservability plugin -date: 2024-01-16 +date: 2024-01-17 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'aiAssistantManagementObservability'] --- import aiAssistantManagementObservabilityObj from './ai_assistant_management_observability.devdocs.json'; diff --git a/api_docs/ai_assistant_management_selection.mdx b/api_docs/ai_assistant_management_selection.mdx index 30bf53e64a6cf..a35c06c5685d9 100644 --- a/api_docs/ai_assistant_management_selection.mdx +++ b/api_docs/ai_assistant_management_selection.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/aiAssistantManagementSelection title: "aiAssistantManagementSelection" image: https://source.unsplash.com/400x175/?github description: API docs for the aiAssistantManagementSelection plugin -date: 2024-01-16 +date: 2024-01-17 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'aiAssistantManagementSelection'] --- import aiAssistantManagementSelectionObj from './ai_assistant_management_selection.devdocs.json'; diff --git a/api_docs/aiops.mdx b/api_docs/aiops.mdx index bdbfc23ffb260..fe245eddf541e 100644 --- a/api_docs/aiops.mdx +++ b/api_docs/aiops.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/aiops title: "aiops" image: https://source.unsplash.com/400x175/?github description: API docs for the aiops plugin -date: 2024-01-16 +date: 2024-01-17 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'aiops'] --- import aiopsObj from './aiops.devdocs.json'; diff --git a/api_docs/alerting.devdocs.json b/api_docs/alerting.devdocs.json index 5b6ba7327d94b..cf2b1b026a9de 100644 --- a/api_docs/alerting.devdocs.json +++ b/api_docs/alerting.devdocs.json @@ -3585,10 +3585,6 @@ "plugin": "uptime", "path": "x-pack/plugins/uptime/server/legacy_uptime/lib/alerts/tls.ts" }, - { - "plugin": "uptime", - "path": "x-pack/plugins/uptime/server/legacy_uptime/lib/alerts/tls_legacy.ts" - }, { "plugin": "uptime", "path": "x-pack/plugins/uptime/server/legacy_uptime/lib/alerts/duration_anomaly.ts" @@ -3815,7 +3811,7 @@ "section": "def-common.DataView", "text": "DataView" }, - ", displayErrors?: boolean) => Promise; fieldArrayToMap: (fields: ", + ", displayErrors?: boolean, forceRefresh?: boolean) => Promise; fieldArrayToMap: (fields: ", { "pluginId": "dataViews", "scope": "common", diff --git a/api_docs/alerting.mdx b/api_docs/alerting.mdx index c954d70b23147..6ffd695a60282 100644 --- a/api_docs/alerting.mdx +++ b/api_docs/alerting.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/alerting title: "alerting" image: https://source.unsplash.com/400x175/?github description: API docs for the alerting plugin -date: 2024-01-16 +date: 2024-01-17 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 05d8dc1ac48cc..684f0d6b5c27c 100644 --- a/api_docs/apm.mdx +++ b/api_docs/apm.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/apm title: "apm" image: https://source.unsplash.com/400x175/?github description: API docs for the apm plugin -date: 2024-01-16 +date: 2024-01-17 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'apm'] --- import apmObj from './apm.devdocs.json'; diff --git a/api_docs/apm_data_access.mdx b/api_docs/apm_data_access.mdx index acfcca07b1180..eda7f564e6b23 100644 --- a/api_docs/apm_data_access.mdx +++ b/api_docs/apm_data_access.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/apmDataAccess title: "apmDataAccess" image: https://source.unsplash.com/400x175/?github description: API docs for the apmDataAccess plugin -date: 2024-01-16 +date: 2024-01-17 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'apmDataAccess'] --- import apmDataAccessObj from './apm_data_access.devdocs.json'; diff --git a/api_docs/asset_manager.mdx b/api_docs/asset_manager.mdx index 42f46aa3e5fb2..0335c1b28ea34 100644 --- a/api_docs/asset_manager.mdx +++ b/api_docs/asset_manager.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/assetManager title: "assetManager" image: https://source.unsplash.com/400x175/?github description: API docs for the assetManager plugin -date: 2024-01-16 +date: 2024-01-17 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 0a587611207ba..7f750ad371b9a 100644 --- a/api_docs/banners.mdx +++ b/api_docs/banners.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/banners title: "banners" image: https://source.unsplash.com/400x175/?github description: API docs for the banners plugin -date: 2024-01-16 +date: 2024-01-17 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 da1d0bc3b8be4..77e0d8297b031 100644 --- a/api_docs/bfetch.mdx +++ b/api_docs/bfetch.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/bfetch title: "bfetch" image: https://source.unsplash.com/400x175/?github description: API docs for the bfetch plugin -date: 2024-01-16 +date: 2024-01-17 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 adb0cb7568343..7baf9cd69539c 100644 --- a/api_docs/canvas.mdx +++ b/api_docs/canvas.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/canvas title: "canvas" image: https://source.unsplash.com/400x175/?github description: API docs for the canvas plugin -date: 2024-01-16 +date: 2024-01-17 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 2f020ef71aabb..a20978d490634 100644 --- a/api_docs/cases.mdx +++ b/api_docs/cases.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/cases title: "cases" image: https://source.unsplash.com/400x175/?github description: API docs for the cases plugin -date: 2024-01-16 +date: 2024-01-17 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 cead91ffa90a0..14912fe3f5fea 100644 --- a/api_docs/charts.mdx +++ b/api_docs/charts.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/charts title: "charts" image: https://source.unsplash.com/400x175/?github description: API docs for the charts plugin -date: 2024-01-16 +date: 2024-01-17 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 00d0ee108c1cf..4f53a5e230c4e 100644 --- a/api_docs/cloud.mdx +++ b/api_docs/cloud.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/cloud title: "cloud" image: https://source.unsplash.com/400x175/?github description: API docs for the cloud plugin -date: 2024-01-16 +date: 2024-01-17 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'cloud'] --- import cloudObj from './cloud.devdocs.json'; diff --git a/api_docs/cloud_data_migration.mdx b/api_docs/cloud_data_migration.mdx index df3c9d261eba5..87d6543411841 100644 --- a/api_docs/cloud_data_migration.mdx +++ b/api_docs/cloud_data_migration.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/cloudDataMigration title: "cloudDataMigration" image: https://source.unsplash.com/400x175/?github description: API docs for the cloudDataMigration plugin -date: 2024-01-16 +date: 2024-01-17 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'cloudDataMigration'] --- import cloudDataMigrationObj from './cloud_data_migration.devdocs.json'; diff --git a/api_docs/cloud_defend.mdx b/api_docs/cloud_defend.mdx index bf8cffca75b54..103e8013e3202 100644 --- a/api_docs/cloud_defend.mdx +++ b/api_docs/cloud_defend.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/cloudDefend title: "cloudDefend" image: https://source.unsplash.com/400x175/?github description: API docs for the cloudDefend plugin -date: 2024-01-16 +date: 2024-01-17 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'cloudDefend'] --- import cloudDefendObj from './cloud_defend.devdocs.json'; diff --git a/api_docs/cloud_experiments.mdx b/api_docs/cloud_experiments.mdx index 5a8cf1363af06..857613d3f0b0a 100644 --- a/api_docs/cloud_experiments.mdx +++ b/api_docs/cloud_experiments.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/cloudExperiments title: "cloudExperiments" image: https://source.unsplash.com/400x175/?github description: API docs for the cloudExperiments plugin -date: 2024-01-16 +date: 2024-01-17 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 7a0a3ee24bb73..fde8f32e424c9 100644 --- a/api_docs/cloud_security_posture.mdx +++ b/api_docs/cloud_security_posture.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/cloudSecurityPosture title: "cloudSecurityPosture" image: https://source.unsplash.com/400x175/?github description: API docs for the cloudSecurityPosture plugin -date: 2024-01-16 +date: 2024-01-17 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'cloudSecurityPosture'] --- import cloudSecurityPostureObj from './cloud_security_posture.devdocs.json'; diff --git a/api_docs/console.devdocs.json b/api_docs/console.devdocs.json index 35dfc2c7cf34a..c1de41890cb4e 100644 --- a/api_docs/console.devdocs.json +++ b/api_docs/console.devdocs.json @@ -26,7 +26,13 @@ "text": "Plugin" }, "" ], "path": "src/plugins/console/public/plugin.ts", @@ -89,7 +95,13 @@ "text": "CoreSetup" }, ", { devTools, home, share, usageCollection }: ", - "AppSetupUIPluginDependencies", + { + "pluginId": "console", + "scope": "public", + "docId": "kibConsolePluginApi", + "section": "def-public.AppSetupUIPluginDependencies", + "text": "AppSetupUIPluginDependencies" + }, ") => ", { "pluginId": "console", @@ -133,7 +145,13 @@ "label": "{ devTools, home, share, usageCollection }", "description": [], "signature": [ - "AppSetupUIPluginDependencies" + { + "pluginId": "console", + "scope": "public", + "docId": "kibConsolePluginApi", + "section": "def-public.AppSetupUIPluginDependencies", + "text": "AppSetupUIPluginDependencies" + } ], "path": "src/plugins/console/public/plugin.ts", "deprecated": false, @@ -151,12 +169,79 @@ "label": "start", "description": [], "signature": [ - "() => void" + "(core: ", + { + "pluginId": "@kbn/core-lifecycle-browser", + "scope": "common", + "docId": "kibKbnCoreLifecycleBrowserPluginApi", + "section": "def-common.CoreStart", + "text": "CoreStart" + }, + ", deps: ", + { + "pluginId": "console", + "scope": "public", + "docId": "kibConsolePluginApi", + "section": "def-public.AppStartUIPluginDependencies", + "text": "AppStartUIPluginDependencies" + }, + ") => { renderEmbeddableConsole: (props: ", + { + "pluginId": "console", + "scope": "public", + "docId": "kibConsolePluginApi", + "section": "def-public.EmbeddableConsoleProps", + "text": "EmbeddableConsoleProps" + }, + ") => React.ReactElement> | null; } | { renderEmbeddableConsole?: undefined; }" ], "path": "src/plugins/console/public/plugin.ts", "deprecated": false, "trackAdoption": false, - "children": [], + "children": [ + { + "parentPluginId": "console", + "id": "def-public.ConsoleUIPlugin.start.$1", + "type": "Object", + "tags": [], + "label": "core", + "description": [], + "signature": [ + { + "pluginId": "@kbn/core-lifecycle-browser", + "scope": "common", + "docId": "kibKbnCoreLifecycleBrowserPluginApi", + "section": "def-common.CoreStart", + "text": "CoreStart" + } + ], + "path": "src/plugins/console/public/plugin.ts", + "deprecated": false, + "trackAdoption": false, + "isRequired": true + }, + { + "parentPluginId": "console", + "id": "def-public.ConsoleUIPlugin.start.$2", + "type": "Object", + "tags": [], + "label": "deps", + "description": [], + "signature": [ + { + "pluginId": "console", + "scope": "public", + "docId": "kibConsolePluginApi", + "section": "def-public.AppStartUIPluginDependencies", + "text": "AppStartUIPluginDependencies" + } + ], + "path": "src/plugins/console/public/plugin.ts", + "deprecated": false, + "trackAdoption": false, + "isRequired": true + } + ], "returnComment": [] } ], @@ -165,13 +250,235 @@ ], "functions": [], "interfaces": [ + { + "parentPluginId": "console", + "id": "def-public.AppSetupUIPluginDependencies", + "type": "Interface", + "tags": [], + "label": "AppSetupUIPluginDependencies", + "description": [], + "path": "src/plugins/console/public/types/plugin_dependencies.ts", + "deprecated": false, + "trackAdoption": false, + "children": [ + { + "parentPluginId": "console", + "id": "def-public.AppSetupUIPluginDependencies.home", + "type": "Object", + "tags": [], + "label": "home", + "description": [], + "signature": [ + { + "pluginId": "home", + "scope": "public", + "docId": "kibHomePluginApi", + "section": "def-public.HomePublicPluginSetup", + "text": "HomePublicPluginSetup" + }, + " | undefined" + ], + "path": "src/plugins/console/public/types/plugin_dependencies.ts", + "deprecated": false, + "trackAdoption": false + }, + { + "parentPluginId": "console", + "id": "def-public.AppSetupUIPluginDependencies.devTools", + "type": "Object", + "tags": [], + "label": "devTools", + "description": [], + "signature": [ + { + "pluginId": "devTools", + "scope": "public", + "docId": "kibDevToolsPluginApi", + "section": "def-public.DevToolsSetup", + "text": "DevToolsSetup" + } + ], + "path": "src/plugins/console/public/types/plugin_dependencies.ts", + "deprecated": false, + "trackAdoption": false + }, + { + "parentPluginId": "console", + "id": "def-public.AppSetupUIPluginDependencies.share", + "type": "CompoundType", + "tags": [], + "label": "share", + "description": [], + "signature": [ + "{ register: (shareMenuProvider: ", + { + "pluginId": "share", + "scope": "public", + "docId": "kibSharePluginApi", + "section": "def-public.ShareMenuProvider", + "text": "ShareMenuProvider" + }, + ") => void; } & { url: ", + { + "pluginId": "share", + "scope": "public", + "docId": "kibSharePluginApi", + "section": "def-public.BrowserUrlService", + "text": "BrowserUrlService" + }, + "; navigate(options: ", + "RedirectOptions", + "<", + { + "pluginId": "@kbn/utility-types", + "scope": "common", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-common.SerializableRecord", + "text": "SerializableRecord" + }, + ">): void; setAnonymousAccessServiceProvider: (provider: () => ", + { + "pluginId": "share", + "scope": "common", + "docId": "kibSharePluginApi", + "section": "def-common.AnonymousAccessServiceContract", + "text": "AnonymousAccessServiceContract" + }, + ") => void; }" + ], + "path": "src/plugins/console/public/types/plugin_dependencies.ts", + "deprecated": false, + "trackAdoption": false + }, + { + "parentPluginId": "console", + "id": "def-public.AppSetupUIPluginDependencies.usageCollection", + "type": "Object", + "tags": [], + "label": "usageCollection", + "description": [], + "signature": [ + { + "pluginId": "usageCollection", + "scope": "public", + "docId": "kibUsageCollectionPluginApi", + "section": "def-public.UsageCollectionSetup", + "text": "UsageCollectionSetup" + }, + " | undefined" + ], + "path": "src/plugins/console/public/types/plugin_dependencies.ts", + "deprecated": false, + "trackAdoption": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "console", + "id": "def-public.AppStartUIPluginDependencies", + "type": "Interface", + "tags": [], + "label": "AppStartUIPluginDependencies", + "description": [], + "path": "src/plugins/console/public/types/plugin_dependencies.ts", + "deprecated": false, + "trackAdoption": false, + "children": [ + { + "parentPluginId": "console", + "id": "def-public.AppStartUIPluginDependencies.home", + "type": "Object", + "tags": [], + "label": "home", + "description": [], + "signature": [ + { + "pluginId": "home", + "scope": "public", + "docId": "kibHomePluginApi", + "section": "def-public.HomePublicPluginStart", + "text": "HomePublicPluginStart" + }, + " | undefined" + ], + "path": "src/plugins/console/public/types/plugin_dependencies.ts", + "deprecated": false, + "trackAdoption": false + }, + { + "parentPluginId": "console", + "id": "def-public.AppStartUIPluginDependencies.share", + "type": "CompoundType", + "tags": [], + "label": "share", + "description": [], + "signature": [ + "{ toggleShareContextMenu: (options: ", + { + "pluginId": "share", + "scope": "public", + "docId": "kibSharePluginApi", + "section": "def-public.ShowShareMenuOptions", + "text": "ShowShareMenuOptions" + }, + ") => void; } & { url: ", + { + "pluginId": "share", + "scope": "public", + "docId": "kibSharePluginApi", + "section": "def-public.BrowserUrlService", + "text": "BrowserUrlService" + }, + "; navigate(options: ", + "RedirectOptions", + "<", + { + "pluginId": "@kbn/utility-types", + "scope": "common", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-common.SerializableRecord", + "text": "SerializableRecord" + }, + ">): void; }" + ], + "path": "src/plugins/console/public/types/plugin_dependencies.ts", + "deprecated": false, + "trackAdoption": false + }, + { + "parentPluginId": "console", + "id": "def-public.AppStartUIPluginDependencies.usageCollection", + "type": "Object", + "tags": [], + "label": "usageCollection", + "description": [], + "signature": [ + { + "pluginId": "usageCollection", + "scope": "public", + "docId": "kibUsageCollectionPluginApi", + "section": "def-public.UsageCollectionStart", + "text": "UsageCollectionStart" + }, + " | undefined" + ], + "path": "src/plugins/console/public/types/plugin_dependencies.ts", + "deprecated": false, + "trackAdoption": false + } + ], + "initialIsOpen": false + }, { "parentPluginId": "console", "id": "def-public.ConsolePluginSetup", "type": "Interface", "tags": [], "label": "ConsolePluginSetup", - "description": [], + "description": [ + "\nConsole plugin's setup service object" + ], "path": "src/plugins/console/public/types/plugin_dependencies.ts", "deprecated": false, "trackAdoption": false, @@ -182,7 +489,9 @@ "type": "Object", "tags": [], "label": "locator", - "description": [], + "description": [ + "\nPublic locator for the console UI" + ], "signature": [ { "pluginId": "share", @@ -208,6 +517,71 @@ ], "initialIsOpen": false }, + { + "parentPluginId": "console", + "id": "def-public.ConsolePluginStart", + "type": "Interface", + "tags": [], + "label": "ConsolePluginStart", + "description": [ + "\nConsole plugin's start service object" + ], + "path": "src/plugins/console/public/types/plugin_dependencies.ts", + "deprecated": false, + "trackAdoption": false, + "children": [ + { + "parentPluginId": "console", + "id": "def-public.ConsolePluginStart.renderEmbeddableConsole", + "type": "Function", + "tags": [], + "label": "renderEmbeddableConsole", + "description": [ + "\nrenderEmbeddableConsole is available if the console UI is enabled. This function can be called to\nrender an embeddable version of the developer console on the page." + ], + "signature": [ + "((props?: ", + { + "pluginId": "console", + "scope": "public", + "docId": "kibConsolePluginApi", + "section": "def-public.EmbeddableConsoleProps", + "text": "EmbeddableConsoleProps" + }, + " | undefined) => React.ReactElement> | null) | undefined" + ], + "path": "src/plugins/console/public/types/plugin_dependencies.ts", + "deprecated": false, + "trackAdoption": false, + "children": [ + { + "parentPluginId": "console", + "id": "def-public.ConsolePluginStart.renderEmbeddableConsole.$1", + "type": "Object", + "tags": [], + "label": "props", + "description": [], + "signature": [ + { + "pluginId": "console", + "scope": "public", + "docId": "kibConsolePluginApi", + "section": "def-public.EmbeddableConsoleProps", + "text": "EmbeddableConsoleProps" + }, + " | undefined" + ], + "path": "src/plugins/console/public/types/plugin_dependencies.ts", + "deprecated": false, + "trackAdoption": false, + "isRequired": false + } + ], + "returnComment": [] + } + ], + "initialIsOpen": false + }, { "parentPluginId": "console", "id": "def-public.ConsoleUILocatorParams", @@ -252,6 +626,38 @@ } ], "initialIsOpen": false + }, + { + "parentPluginId": "console", + "id": "def-public.EmbeddableConsoleProps", + "type": "Interface", + "tags": [], + "label": "EmbeddableConsoleProps", + "description": [ + "\nEmbeddableConsoleProps are optional props used when rendering the embeddable developer console." + ], + "path": "src/plugins/console/public/types/embeddable_console.ts", + "deprecated": false, + "trackAdoption": false, + "children": [ + { + "parentPluginId": "console", + "id": "def-public.EmbeddableConsoleProps.size", + "type": "CompoundType", + "tags": [], + "label": "size", + "description": [ + "\nThe default height of the content area." + ], + "signature": [ + "\"m\" | \"s\" | \"l\" | undefined" + ], + "path": "src/plugins/console/public/types/embeddable_console.ts", + "deprecated": false, + "trackAdoption": false + } + ], + "initialIsOpen": false } ], "enums": [], diff --git a/api_docs/console.mdx b/api_docs/console.mdx index 2a22f048b8dd1..918989516e5f1 100644 --- a/api_docs/console.mdx +++ b/api_docs/console.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/console title: "console" image: https://source.unsplash.com/400x175/?github description: API docs for the console plugin -date: 2024-01-16 +date: 2024-01-17 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'console'] --- import consoleObj from './console.devdocs.json'; @@ -21,7 +21,7 @@ Contact [@elastic/platform-deployment-management](https://github.com/orgs/elasti | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 13 | 0 | 13 | 1 | +| 29 | 0 | 23 | 0 | ## Client diff --git a/api_docs/content_management.mdx b/api_docs/content_management.mdx index 1ebc44e6856fa..5ff15a69eb9c6 100644 --- a/api_docs/content_management.mdx +++ b/api_docs/content_management.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/contentManagement title: "contentManagement" image: https://source.unsplash.com/400x175/?github description: API docs for the contentManagement plugin -date: 2024-01-16 +date: 2024-01-17 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 112130541349a..640d1e37fbcab 100644 --- a/api_docs/controls.mdx +++ b/api_docs/controls.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/controls title: "controls" image: https://source.unsplash.com/400x175/?github description: API docs for the controls plugin -date: 2024-01-16 +date: 2024-01-17 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 8921bc1d206c8..6b515fefa1509 100644 --- a/api_docs/custom_integrations.mdx +++ b/api_docs/custom_integrations.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/customIntegrations title: "customIntegrations" image: https://source.unsplash.com/400x175/?github description: API docs for the customIntegrations plugin -date: 2024-01-16 +date: 2024-01-17 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 2f25b4cf22646..8006f86af23b3 100644 --- a/api_docs/dashboard.mdx +++ b/api_docs/dashboard.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/dashboard title: "dashboard" image: https://source.unsplash.com/400x175/?github description: API docs for the dashboard plugin -date: 2024-01-16 +date: 2024-01-17 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 7c22a93bb3977..bdf9b0b567289 100644 --- a/api_docs/dashboard_enhanced.mdx +++ b/api_docs/dashboard_enhanced.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/dashboardEnhanced title: "dashboardEnhanced" image: https://source.unsplash.com/400x175/?github description: API docs for the dashboardEnhanced plugin -date: 2024-01-16 +date: 2024-01-17 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'dashboardEnhanced'] --- import dashboardEnhancedObj from './dashboard_enhanced.devdocs.json'; diff --git a/api_docs/data.devdocs.json b/api_docs/data.devdocs.json index 5c3bff8715f59..0e16a18c98056 100644 --- a/api_docs/data.devdocs.json +++ b/api_docs/data.devdocs.json @@ -7529,6 +7529,20 @@ "path": "src/plugins/data_views/common/types.ts", "deprecated": false, "trackAdoption": false + }, + { + "parentPluginId": "data", + "id": "def-public.GetFieldsOptions.forceRefresh", + "type": "CompoundType", + "tags": [], + "label": "forceRefresh", + "description": [], + "signature": [ + "boolean | undefined" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false, + "trackAdoption": false } ], "initialIsOpen": false @@ -12865,6 +12879,54 @@ ], "returnComment": [] }, + { + "parentPluginId": "data", + "id": "def-server.DataView.getEtag", + "type": "Function", + "tags": [], + "label": "getEtag", + "description": [], + "signature": [ + "() => string | undefined" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "trackAdoption": false, + "children": [], + "returnComment": [] + }, + { + "parentPluginId": "data", + "id": "def-server.DataView.setEtag", + "type": "Function", + "tags": [], + "label": "setEtag", + "description": [], + "signature": [ + "(etag: string | undefined) => string | undefined" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "trackAdoption": false, + "children": [ + { + "parentPluginId": "data", + "id": "def-server.DataView.setEtag.$1", + "type": "string", + "tags": [], + "label": "etag", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "trackAdoption": false, + "isRequired": false + } + ], + "returnComment": [] + }, { "parentPluginId": "data", "id": "def-server.DataView.getComputedFields", @@ -14344,7 +14406,7 @@ "section": "def-common.DataView", "text": "DataView" }, - ", displayErrors?: boolean) => Promise" + ", displayErrors?: boolean, forceRefresh?: boolean) => Promise" ], "path": "src/plugins/data_views/common/data_views/data_views.ts", "deprecated": false, @@ -14387,6 +14449,21 @@ "deprecated": false, "trackAdoption": false, "isRequired": true + }, + { + "parentPluginId": "data", + "id": "def-server.DataViewsService.refreshFields.$3", + "type": "boolean", + "tags": [], + "label": "forceRefresh", + "description": [], + "signature": [ + "boolean" + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "trackAdoption": false, + "isRequired": true } ], "returnComment": [] @@ -19026,6 +19103,54 @@ ], "returnComment": [] }, + { + "parentPluginId": "data", + "id": "def-common.DataView.getEtag", + "type": "Function", + "tags": [], + "label": "getEtag", + "description": [], + "signature": [ + "() => string | undefined" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "trackAdoption": false, + "children": [], + "returnComment": [] + }, + { + "parentPluginId": "data", + "id": "def-common.DataView.setEtag", + "type": "Function", + "tags": [], + "label": "setEtag", + "description": [], + "signature": [ + "(etag: string | undefined) => string | undefined" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "trackAdoption": false, + "children": [ + { + "parentPluginId": "data", + "id": "def-common.DataView.setEtag.$1", + "type": "string", + "tags": [], + "label": "etag", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "trackAdoption": false, + "isRequired": false + } + ], + "returnComment": [] + }, { "parentPluginId": "data", "id": "def-common.DataView.getComputedFields", @@ -21376,7 +21501,7 @@ "section": "def-common.DataView", "text": "DataView" }, - ", displayErrors?: boolean) => Promise" + ", displayErrors?: boolean, forceRefresh?: boolean) => Promise" ], "path": "src/plugins/data_views/common/data_views/data_views.ts", "deprecated": false, @@ -21419,6 +21544,21 @@ "deprecated": false, "trackAdoption": false, "isRequired": true + }, + { + "parentPluginId": "data", + "id": "def-common.DataViewsService.refreshFields.$3", + "type": "boolean", + "tags": [], + "label": "forceRefresh", + "description": [], + "signature": [ + "boolean" + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "trackAdoption": false, + "isRequired": true } ], "returnComment": [] @@ -23600,6 +23740,20 @@ "path": "src/plugins/data_views/common/types.ts", "deprecated": false, "trackAdoption": false + }, + { + "parentPluginId": "data", + "id": "def-common.GetFieldsOptions.forceRefresh", + "type": "CompoundType", + "tags": [], + "label": "forceRefresh", + "description": [], + "signature": [ + "boolean | undefined" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false, + "trackAdoption": false } ], "initialIsOpen": false @@ -24727,7 +24881,7 @@ "section": "def-common.DataView", "text": "DataView" }, - ", displayErrors?: boolean) => Promise; fieldArrayToMap: (fields: ", + ", displayErrors?: boolean, forceRefresh?: boolean) => Promise; fieldArrayToMap: (fields: ", { "pluginId": "dataViews", "scope": "common", diff --git a/api_docs/data.mdx b/api_docs/data.mdx index bb501ccbfcf92..8d9349e3082e3 100644 --- a/api_docs/data.mdx +++ b/api_docs/data.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/data title: "data" image: https://source.unsplash.com/400x175/?github description: API docs for the data plugin -date: 2024-01-16 +date: 2024-01-17 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'data'] --- import dataObj from './data.devdocs.json'; @@ -21,7 +21,7 @@ Contact [@elastic/kibana-visualizations](https://github.com/orgs/elastic/teams/k | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 3220 | 31 | 2569 | 23 | +| 3230 | 31 | 2579 | 23 | ## Client diff --git a/api_docs/data_query.mdx b/api_docs/data_query.mdx index 3265719a90495..1f9345951b56e 100644 --- a/api_docs/data_query.mdx +++ b/api_docs/data_query.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/data-query title: "data.query" image: https://source.unsplash.com/400x175/?github description: API docs for the data.query plugin -date: 2024-01-16 +date: 2024-01-17 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'data.query'] --- import dataQueryObj from './data_query.devdocs.json'; @@ -21,7 +21,7 @@ Contact [@elastic/kibana-visualizations](https://github.com/orgs/elastic/teams/k | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 3220 | 31 | 2569 | 23 | +| 3230 | 31 | 2579 | 23 | ## Client diff --git a/api_docs/data_search.mdx b/api_docs/data_search.mdx index fdae1425a8a7a..55dcfe4972577 100644 --- a/api_docs/data_search.mdx +++ b/api_docs/data_search.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/data-search title: "data.search" image: https://source.unsplash.com/400x175/?github description: API docs for the data.search plugin -date: 2024-01-16 +date: 2024-01-17 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'data.search'] --- import dataSearchObj from './data_search.devdocs.json'; @@ -21,7 +21,7 @@ Contact [@elastic/kibana-visualizations](https://github.com/orgs/elastic/teams/k | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 3220 | 31 | 2569 | 23 | +| 3230 | 31 | 2579 | 23 | ## Client diff --git a/api_docs/data_view_editor.mdx b/api_docs/data_view_editor.mdx index e58b239c5bab7..5d3d1c11d6aac 100644 --- a/api_docs/data_view_editor.mdx +++ b/api_docs/data_view_editor.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/dataViewEditor title: "dataViewEditor" image: https://source.unsplash.com/400x175/?github description: API docs for the dataViewEditor plugin -date: 2024-01-16 +date: 2024-01-17 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 3708bf74874a8..2b9056f440e4a 100644 --- a/api_docs/data_view_field_editor.mdx +++ b/api_docs/data_view_field_editor.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/dataViewFieldEditor title: "dataViewFieldEditor" image: https://source.unsplash.com/400x175/?github description: API docs for the dataViewFieldEditor plugin -date: 2024-01-16 +date: 2024-01-17 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 88518c4396a25..c041c20c5cb12 100644 --- a/api_docs/data_view_management.mdx +++ b/api_docs/data_view_management.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/dataViewManagement title: "dataViewManagement" image: https://source.unsplash.com/400x175/?github description: API docs for the dataViewManagement plugin -date: 2024-01-16 +date: 2024-01-17 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'dataViewManagement'] --- import dataViewManagementObj from './data_view_management.devdocs.json'; diff --git a/api_docs/data_views.devdocs.json b/api_docs/data_views.devdocs.json index d3ccdff224917..152212ed6bedf 100644 --- a/api_docs/data_views.devdocs.json +++ b/api_docs/data_views.devdocs.json @@ -158,6 +158,54 @@ ], "returnComment": [] }, + { + "parentPluginId": "dataViews", + "id": "def-public.DataView.getEtag", + "type": "Function", + "tags": [], + "label": "getEtag", + "description": [], + "signature": [ + "() => string | undefined" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "trackAdoption": false, + "children": [], + "returnComment": [] + }, + { + "parentPluginId": "dataViews", + "id": "def-public.DataView.setEtag", + "type": "Function", + "tags": [], + "label": "setEtag", + "description": [], + "signature": [ + "(etag: string | undefined) => string | undefined" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "trackAdoption": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-public.DataView.setEtag.$1", + "type": "string", + "tags": [], + "label": "etag", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "trackAdoption": false, + "isRequired": false + } + ], + "returnComment": [] + }, { "parentPluginId": "dataViews", "id": "def-public.DataView.getComputedFields", @@ -1803,6 +1851,21 @@ "deprecated": false, "trackAdoption": false, "isRequired": true + }, + { + "parentPluginId": "dataViews", + "id": "def-public.DataViewsApiClient.Unnamed.$2", + "type": "Function", + "tags": [], + "label": "getCurrentUserId", + "description": [], + "signature": [ + "() => Promise" + ], + "path": "src/plugins/data_views/public/data_views/data_views_api_client.ts", + "deprecated": false, + "trackAdoption": false, + "isRequired": true } ], "returnComment": [] @@ -1825,9 +1888,15 @@ "section": "def-common.GetFieldsOptions", "text": "GetFieldsOptions" }, - ") => Promise<", - "FieldsForWildcardResponse", - ">" + ") => Promise<{ indices: string[]; fields: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.FieldSpec", + "text": "FieldSpec" + }, + "[]; etag: string; }>" ], "path": "src/plugins/data_views/public/data_views/data_views_api_client.ts", "deprecated": false, @@ -2925,7 +2994,7 @@ "section": "def-common.DataView", "text": "DataView" }, - ", displayErrors?: boolean) => Promise" + ", displayErrors?: boolean, forceRefresh?: boolean) => Promise" ], "path": "src/plugins/data_views/common/data_views/data_views.ts", "deprecated": false, @@ -2968,6 +3037,21 @@ "deprecated": false, "trackAdoption": false, "isRequired": true + }, + { + "parentPluginId": "dataViews", + "id": "def-public.DataViewsService.refreshFields.$3", + "type": "boolean", + "tags": [], + "label": "forceRefresh", + "description": [], + "signature": [ + "boolean" + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "trackAdoption": false, + "isRequired": true } ], "returnComment": [] @@ -6346,6 +6430,23 @@ "deprecated": false, "trackAdoption": false, "initialIsOpen": false + }, + { + "parentPluginId": "dataViews", + "id": "def-public.UserIdGetter", + "type": "Type", + "tags": [], + "label": "UserIdGetter", + "description": [], + "signature": [ + "() => Promise" + ], + "path": "src/plugins/data_views/public/types.ts", + "deprecated": false, + "trackAdoption": false, + "returnComment": [], + "children": [], + "initialIsOpen": false } ], "objects": [], @@ -6563,6 +6664,54 @@ ], "returnComment": [] }, + { + "parentPluginId": "dataViews", + "id": "def-server.DataView.getEtag", + "type": "Function", + "tags": [], + "label": "getEtag", + "description": [], + "signature": [ + "() => string | undefined" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "trackAdoption": false, + "children": [], + "returnComment": [] + }, + { + "parentPluginId": "dataViews", + "id": "def-server.DataView.setEtag", + "type": "Function", + "tags": [], + "label": "setEtag", + "description": [], + "signature": [ + "(etag: string | undefined) => string | undefined" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "trackAdoption": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-server.DataView.setEtag.$1", + "type": "string", + "tags": [], + "label": "etag", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "trackAdoption": false, + "isRequired": false + } + ], + "returnComment": [] + }, { "parentPluginId": "dataViews", "id": "def-server.DataView.getComputedFields", @@ -8332,7 +8481,7 @@ "section": "def-common.DataView", "text": "DataView" }, - ", displayErrors?: boolean) => Promise" + ", displayErrors?: boolean, forceRefresh?: boolean) => Promise" ], "path": "src/plugins/data_views/common/data_views/data_views.ts", "deprecated": false, @@ -8375,6 +8524,21 @@ "deprecated": false, "trackAdoption": false, "isRequired": true + }, + { + "parentPluginId": "dataViews", + "id": "def-server.DataViewsService.refreshFields.$3", + "type": "boolean", + "tags": [], + "label": "forceRefresh", + "description": [], + "signature": [ + "boolean" + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "trackAdoption": false, + "isRequired": true } ], "returnComment": [] @@ -12005,6 +12169,54 @@ ], "returnComment": [] }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataView.getEtag", + "type": "Function", + "tags": [], + "label": "getEtag", + "description": [], + "signature": [ + "() => string | undefined" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "trackAdoption": false, + "children": [], + "returnComment": [] + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataView.setEtag", + "type": "Function", + "tags": [], + "label": "setEtag", + "description": [], + "signature": [ + "(etag: string | undefined) => string | undefined" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "trackAdoption": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-common.DataView.setEtag.$1", + "type": "string", + "tags": [], + "label": "etag", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "trackAdoption": false, + "isRequired": false + } + ], + "returnComment": [] + }, { "parentPluginId": "dataViews", "id": "def-common.DataView.getComputedFields", @@ -14438,7 +14650,7 @@ "section": "def-common.DataView", "text": "DataView" }, - ", displayErrors?: boolean) => Promise" + ", displayErrors?: boolean, forceRefresh?: boolean) => Promise" ], "path": "src/plugins/data_views/common/data_views/data_views.ts", "deprecated": false, @@ -14481,6 +14693,21 @@ "deprecated": false, "trackAdoption": false, "isRequired": true + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataViewsService.refreshFields.$3", + "type": "boolean", + "tags": [], + "label": "forceRefresh", + "description": [], + "signature": [ + "boolean" + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "trackAdoption": false, + "isRequired": true } ], "returnComment": [] @@ -17612,7 +17839,7 @@ "section": "def-common.DataView", "text": "DataView" }, - ", displayErrors?: boolean | undefined) => Promise" + ", displayErrors?: boolean | undefined, forceRefresh?: boolean | undefined) => Promise" ], "path": "src/plugins/data_views/common/data_views/data_views.ts", "deprecated": false, @@ -17653,6 +17880,21 @@ "deprecated": false, "trackAdoption": false, "isRequired": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataViewsServicePublicMethods.refreshFields.$3", + "type": "CompoundType", + "tags": [], + "label": "forceRefresh", + "description": [], + "signature": [ + "boolean | undefined" + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "trackAdoption": false, + "isRequired": false } ], "returnComment": [] @@ -18141,6 +18383,20 @@ "path": "src/plugins/data_views/common/types.ts", "deprecated": false, "trackAdoption": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.GetFieldsOptions.forceRefresh", + "type": "CompoundType", + "tags": [], + "label": "forceRefresh", + "description": [], + "signature": [ + "boolean | undefined" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false, + "trackAdoption": false } ], "initialIsOpen": false @@ -20369,7 +20625,7 @@ "section": "def-common.DataView", "text": "DataView" }, - ", displayErrors?: boolean) => Promise; fieldArrayToMap: (fields: ", + ", displayErrors?: boolean, forceRefresh?: boolean) => Promise; fieldArrayToMap: (fields: ", { "pluginId": "dataViews", "scope": "common", diff --git a/api_docs/data_views.mdx b/api_docs/data_views.mdx index b7a69eaab7a97..672d07c643b2b 100644 --- a/api_docs/data_views.mdx +++ b/api_docs/data_views.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/dataViews title: "dataViews" image: https://source.unsplash.com/400x175/?github description: API docs for the dataViews plugin -date: 2024-01-16 +date: 2024-01-17 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'dataViews'] --- import dataViewsObj from './data_views.devdocs.json'; @@ -21,7 +21,7 @@ Contact [@elastic/kibana-data-discovery](https://github.com/orgs/elastic/teams/k | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 922 | 0 | 257 | 4 | +| 938 | 0 | 273 | 4 | ## Client diff --git a/api_docs/data_visualizer.mdx b/api_docs/data_visualizer.mdx index 457d5251cf5fc..3f20702996a52 100644 --- a/api_docs/data_visualizer.mdx +++ b/api_docs/data_visualizer.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/dataVisualizer title: "dataVisualizer" image: https://source.unsplash.com/400x175/?github description: API docs for the dataVisualizer plugin -date: 2024-01-16 +date: 2024-01-17 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'dataVisualizer'] --- import dataVisualizerObj from './data_visualizer.devdocs.json'; diff --git a/api_docs/dataset_quality.mdx b/api_docs/dataset_quality.mdx index dcd80a2909f6b..9618ce6897fd9 100644 --- a/api_docs/dataset_quality.mdx +++ b/api_docs/dataset_quality.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/datasetQuality title: "datasetQuality" image: https://source.unsplash.com/400x175/?github description: API docs for the datasetQuality plugin -date: 2024-01-16 +date: 2024-01-17 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'datasetQuality'] --- import datasetQualityObj from './dataset_quality.devdocs.json'; diff --git a/api_docs/deprecations_by_api.mdx b/api_docs/deprecations_by_api.mdx index 1e0b5f123480a..dc2e5ee3d61a8 100644 --- a/api_docs/deprecations_by_api.mdx +++ b/api_docs/deprecations_by_api.mdx @@ -7,7 +7,7 @@ id: kibDevDocsDeprecationsByApi slug: /kibana-dev-docs/api-meta/deprecated-api-list-by-api title: Deprecated API usage by API description: A list of deprecated APIs, which plugins are still referencing them, and when they need to be removed by. -date: 2024-01-16 +date: 2024-01-17 tags: ['contributor', 'dev', 'apidocs', 'kibana'] --- @@ -17,7 +17,7 @@ tags: ['contributor', 'dev', 'apidocs', 'kibana'] | Deprecated API | Referencing plugin(s) | Remove By | | ---------------|-----------|-----------| | | ml, stackAlerts | - | -| | share, uiActions, guidedOnboarding, home, serverless, management, spaces, savedObjects, indexManagement, visualizations, dashboard, savedObjectsTagging, expressionXY, lens, expressionMetricVis, expressionGauge, security, alerting, triggersActionsUi, cases, aiops, advancedSettings, licenseManagement, maps, dataVisualizer, ml, exploratoryView, fleet, metricsDataAccess, osquery, ingestPipelines, profiling, apm, expressionImage, expressionMetric, expressionError, expressionRevealImage, expressionRepeatImage, expressionShape, crossClusterReplication, graph, grokdebugger, indexLifecycleManagement, infra, logstash, monitoring, observabilityOnboarding, devTools, painlessLab, remoteClusters, rollup, searchprofiler, newsfeed, securitySolution, snapshotRestore, synthetics, transform, upgradeAssistant, uptime, ux, watcher, cloudDataMigration, console, filesManagement, kibanaOverview, visDefaultEditor, expressionHeatmap, expressionLegacyMetricVis, expressionPartitionVis, expressionTagcloud, visTypeTable, visTypeTimelion, visTypeTimeseries, visTypeVega, visTypeVislib | - | +| | share, uiActions, guidedOnboarding, home, serverless, management, spaces, savedObjects, indexManagement, visualizations, dashboard, savedObjectsTagging, expressionXY, lens, expressionMetricVis, expressionGauge, security, alerting, triggersActionsUi, cases, aiops, advancedSettings, licenseManagement, maps, dataVisualizer, ml, exploratoryView, fleet, metricsDataAccess, osquery, ingestPipelines, profiling, apm, expressionImage, expressionMetric, expressionError, expressionRevealImage, expressionRepeatImage, expressionShape, crossClusterReplication, graph, grokdebugger, indexLifecycleManagement, infra, logstash, monitoring, observabilityOnboarding, devTools, painlessLab, remoteClusters, rollup, searchprofiler, newsfeed, securitySolution, console, snapshotRestore, synthetics, transform, upgradeAssistant, uptime, ux, watcher, cloudDataMigration, filesManagement, kibanaOverview, visDefaultEditor, expressionHeatmap, expressionLegacyMetricVis, expressionPartitionVis, expressionTagcloud, visTypeTable, visTypeTimelion, visTypeTimeseries, visTypeVega, visTypeVislib | - | | | encryptedSavedObjects, actions, data, ml, logstash, securitySolution, cloudChat | - | | | actions, ml, savedObjectsTagging, enterpriseSearch | - | | | @kbn/core-saved-objects-browser-internal, @kbn/core, savedObjects, visualizations, aiops, ml, dataVisualizer, dashboardEnhanced, graph, lens, securitySolution, eventAnnotation, @kbn/core-saved-objects-browser-mocks | - | @@ -27,7 +27,7 @@ tags: ['contributor', 'dev', 'apidocs', 'kibana'] | | dashboard, dataVisualizer, stackAlerts, expressionPartitionVis | - | | | stackAlerts, alerting, securitySolution, inputControlVis | - | | | triggersActionsUi | - | -| | inspector, data, savedObjects, runtimeFields, indexManagement, dataViewEditor, unifiedSearch, embeddable, visualizations, dashboard, licensing, savedObjectsTagging, dataViewFieldEditor, lens, security, triggersActionsUi, cases, observabilityShared, advancedSettings, telemetry, maps, exploratoryView, fleet, timelines, banners, reporting, cloudSecurityPosture, dashboardEnhanced, imageEmbeddable, graph, monitoring, securitySolution, synthetics, uptime, cloudLinks, console, dataViewManagement, eventAnnotationListing, filesManagement, uiActions, visTypeVislib | - | +| | inspector, data, savedObjects, runtimeFields, indexManagement, dataViewEditor, unifiedSearch, embeddable, visualizations, dashboard, licensing, savedObjectsTagging, dataViewFieldEditor, lens, security, triggersActionsUi, cases, observabilityShared, advancedSettings, telemetry, maps, exploratoryView, fleet, timelines, banners, reporting, cloudSecurityPosture, dashboardEnhanced, imageEmbeddable, graph, monitoring, securitySolution, console, synthetics, uptime, cloudLinks, dataViewManagement, eventAnnotationListing, filesManagement, uiActions, visTypeVislib | - | | | @kbn/core, visualizations, triggersActionsUi, advancedSettings | - | | | ruleRegistry, observability, infra, securitySolution, synthetics, uptime | - | | | observability, @kbn/securitysolution-data-table, securitySolution | - | diff --git a/api_docs/deprecations_by_plugin.mdx b/api_docs/deprecations_by_plugin.mdx index 66f08b3a867c9..09c57d55d0b49 100644 --- a/api_docs/deprecations_by_plugin.mdx +++ b/api_docs/deprecations_by_plugin.mdx @@ -7,7 +7,7 @@ id: kibDevDocsDeprecationsByPlugin slug: /kibana-dev-docs/api-meta/deprecated-api-list-by-plugin title: Deprecated API usage by plugin description: A list of deprecated APIs, which plugins are still referencing them, and when they need to be removed by. -date: 2024-01-16 +date: 2024-01-17 tags: ['contributor', 'dev', 'apidocs', 'kibana'] --- @@ -475,7 +475,7 @@ tags: ['contributor', 'dev', 'apidocs', 'kibana'] | Deprecated API | Reference location(s) | Remove By | | ---------------|-----------|-----------| | | [shared_imports.ts](https://github.com/elastic/kibana/tree/main/src/plugins/console/public/shared_imports.ts#:~:text=toMountPoint), [use_send_current_request.ts](https://github.com/elastic/kibana/tree/main/src/plugins/console/public/application/hooks/use_send_current_request/use_send_current_request.ts#:~:text=toMountPoint), [use_send_current_request.ts](https://github.com/elastic/kibana/tree/main/src/plugins/console/public/application/hooks/use_send_current_request/use_send_current_request.ts#:~:text=toMountPoint) | - | -| | [shared_imports.ts](https://github.com/elastic/kibana/tree/main/src/plugins/console/public/shared_imports.ts#:~:text=KibanaThemeProvider), [index.tsx](https://github.com/elastic/kibana/tree/main/src/plugins/console/public/application/index.tsx#:~:text=KibanaThemeProvider), [index.tsx](https://github.com/elastic/kibana/tree/main/src/plugins/console/public/application/index.tsx#:~:text=KibanaThemeProvider), [index.tsx](https://github.com/elastic/kibana/tree/main/src/plugins/console/public/application/index.tsx#:~:text=KibanaThemeProvider) | - | +| | [shared_imports.ts](https://github.com/elastic/kibana/tree/main/src/plugins/console/public/shared_imports.ts#:~:text=KibanaThemeProvider) | - | | | [plugin.ts](https://github.com/elastic/kibana/tree/main/src/plugins/console/server/plugin.ts#:~:text=legacy) | - | @@ -1524,7 +1524,7 @@ migrates to using the Kibana Privilege model: https://github.com/elastic/kibana/ | Deprecated API | Reference location(s) | Remove By | | ---------------|-----------|-----------| -| | [common.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/uptime/server/legacy_uptime/lib/alerts/common.ts#:~:text=alertFactory), [status_check.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/uptime/server/legacy_uptime/lib/alerts/status_check.ts#:~:text=alertFactory), [tls.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/uptime/server/legacy_uptime/lib/alerts/tls.ts#:~:text=alertFactory), [tls_legacy.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/uptime/server/legacy_uptime/lib/alerts/tls_legacy.ts#:~:text=alertFactory), [duration_anomaly.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/uptime/server/legacy_uptime/lib/alerts/duration_anomaly.ts#:~:text=alertFactory) | - | +| | [common.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/uptime/server/legacy_uptime/lib/alerts/common.ts#:~:text=alertFactory), [status_check.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/uptime/server/legacy_uptime/lib/alerts/status_check.ts#:~:text=alertFactory), [tls.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/uptime/server/legacy_uptime/lib/alerts/tls.ts#:~:text=alertFactory), [duration_anomaly.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/uptime/server/legacy_uptime/lib/alerts/duration_anomaly.ts#:~:text=alertFactory) | - | | | [alert_messages.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/uptime/public/legacy_uptime/lib/alert_types/alert_messages.tsx#:~:text=toMountPoint), [alert_messages.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/uptime/public/legacy_uptime/lib/alert_types/alert_messages.tsx#:~:text=toMountPoint), [ml_flyout_container.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/uptime/public/legacy_uptime/components/monitor/ml/ml_flyout_container.tsx#:~:text=toMountPoint), [ml_flyout_container.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/uptime/public/legacy_uptime/components/monitor/ml/ml_flyout_container.tsx#:~:text=toMountPoint), [ml_flyout_container.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/uptime/public/legacy_uptime/components/monitor/ml/ml_flyout_container.tsx#:~:text=toMountPoint) | - | | | [uptime_app.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/uptime/public/legacy_uptime/app/uptime_app.tsx#:~:text=KibanaThemeProvider), [uptime_app.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/uptime/public/legacy_uptime/app/uptime_app.tsx#:~:text=KibanaThemeProvider), [uptime_app.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/uptime/public/legacy_uptime/app/uptime_app.tsx#:~:text=KibanaThemeProvider) | - | diff --git a/api_docs/deprecations_by_team.mdx b/api_docs/deprecations_by_team.mdx index 131a66172341f..8e3ccd415ad0f 100644 --- a/api_docs/deprecations_by_team.mdx +++ b/api_docs/deprecations_by_team.mdx @@ -7,7 +7,7 @@ id: kibDevDocsDeprecationsDueByTeam slug: /kibana-dev-docs/api-meta/deprecations-due-by-team title: Deprecated APIs due to be removed, by team description: Lists the teams that are referencing deprecated APIs with a remove by date. -date: 2024-01-16 +date: 2024-01-17 tags: ['contributor', 'dev', 'apidocs', 'kibana'] --- diff --git a/api_docs/dev_tools.mdx b/api_docs/dev_tools.mdx index 9479cda0b595e..3951d0a51a54d 100644 --- a/api_docs/dev_tools.mdx +++ b/api_docs/dev_tools.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/devTools title: "devTools" image: https://source.unsplash.com/400x175/?github description: API docs for the devTools plugin -date: 2024-01-16 +date: 2024-01-17 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 d92704d38b2e5..fff012cc849a1 100644 --- a/api_docs/discover.mdx +++ b/api_docs/discover.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/discover title: "discover" image: https://source.unsplash.com/400x175/?github description: API docs for the discover plugin -date: 2024-01-16 +date: 2024-01-17 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 873544b6aec24..d3087d7343e9a 100644 --- a/api_docs/discover_enhanced.mdx +++ b/api_docs/discover_enhanced.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/discoverEnhanced title: "discoverEnhanced" image: https://source.unsplash.com/400x175/?github description: API docs for the discoverEnhanced plugin -date: 2024-01-16 +date: 2024-01-17 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 b9233d670575d..01e5043c1e5fc 100644 --- a/api_docs/ecs_data_quality_dashboard.mdx +++ b/api_docs/ecs_data_quality_dashboard.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/ecsDataQualityDashboard title: "ecsDataQualityDashboard" image: https://source.unsplash.com/400x175/?github description: API docs for the ecsDataQualityDashboard plugin -date: 2024-01-16 +date: 2024-01-17 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'ecsDataQualityDashboard'] --- import ecsDataQualityDashboardObj from './ecs_data_quality_dashboard.devdocs.json'; diff --git a/api_docs/elastic_assistant.mdx b/api_docs/elastic_assistant.mdx index 4907c3a900cc6..e4af34b96f893 100644 --- a/api_docs/elastic_assistant.mdx +++ b/api_docs/elastic_assistant.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/elasticAssistant title: "elasticAssistant" image: https://source.unsplash.com/400x175/?github description: API docs for the elasticAssistant plugin -date: 2024-01-16 +date: 2024-01-17 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'elasticAssistant'] --- import elasticAssistantObj from './elastic_assistant.devdocs.json'; diff --git a/api_docs/embeddable.mdx b/api_docs/embeddable.mdx index 3a379886e479d..b8aecd518eea0 100644 --- a/api_docs/embeddable.mdx +++ b/api_docs/embeddable.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/embeddable title: "embeddable" image: https://source.unsplash.com/400x175/?github description: API docs for the embeddable plugin -date: 2024-01-16 +date: 2024-01-17 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'embeddable'] --- import embeddableObj from './embeddable.devdocs.json'; diff --git a/api_docs/embeddable_enhanced.mdx b/api_docs/embeddable_enhanced.mdx index fada598b1587a..bc1f4dc2f8305 100644 --- a/api_docs/embeddable_enhanced.mdx +++ b/api_docs/embeddable_enhanced.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/embeddableEnhanced title: "embeddableEnhanced" image: https://source.unsplash.com/400x175/?github description: API docs for the embeddableEnhanced plugin -date: 2024-01-16 +date: 2024-01-17 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 325f70cfaa7ed..efa6776fd9312 100644 --- a/api_docs/encrypted_saved_objects.mdx +++ b/api_docs/encrypted_saved_objects.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/encryptedSavedObjects title: "encryptedSavedObjects" image: https://source.unsplash.com/400x175/?github description: API docs for the encryptedSavedObjects plugin -date: 2024-01-16 +date: 2024-01-17 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 0a533c6b1621a..62dbb649a2807 100644 --- a/api_docs/enterprise_search.mdx +++ b/api_docs/enterprise_search.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/enterpriseSearch title: "enterpriseSearch" image: https://source.unsplash.com/400x175/?github description: API docs for the enterpriseSearch plugin -date: 2024-01-16 +date: 2024-01-17 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 15c8157020fbf..0a6a520f813c4 100644 --- a/api_docs/es_ui_shared.mdx +++ b/api_docs/es_ui_shared.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/esUiShared title: "esUiShared" image: https://source.unsplash.com/400x175/?github description: API docs for the esUiShared plugin -date: 2024-01-16 +date: 2024-01-17 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 46fe241c01248..fdf5591b1ca3c 100644 --- a/api_docs/event_annotation.mdx +++ b/api_docs/event_annotation.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/eventAnnotation title: "eventAnnotation" image: https://source.unsplash.com/400x175/?github description: API docs for the eventAnnotation plugin -date: 2024-01-16 +date: 2024-01-17 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'eventAnnotation'] --- import eventAnnotationObj from './event_annotation.devdocs.json'; diff --git a/api_docs/event_annotation_listing.mdx b/api_docs/event_annotation_listing.mdx index f1fb16d30a348..3274f04d404d7 100644 --- a/api_docs/event_annotation_listing.mdx +++ b/api_docs/event_annotation_listing.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/eventAnnotationListing title: "eventAnnotationListing" image: https://source.unsplash.com/400x175/?github description: API docs for the eventAnnotationListing plugin -date: 2024-01-16 +date: 2024-01-17 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'eventAnnotationListing'] --- import eventAnnotationListingObj from './event_annotation_listing.devdocs.json'; diff --git a/api_docs/event_log.mdx b/api_docs/event_log.mdx index 268fa6ada7726..0560445fca468 100644 --- a/api_docs/event_log.mdx +++ b/api_docs/event_log.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/eventLog title: "eventLog" image: https://source.unsplash.com/400x175/?github description: API docs for the eventLog plugin -date: 2024-01-16 +date: 2024-01-17 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 36aa72cc3f6fd..d7d55757fd15a 100644 --- a/api_docs/exploratory_view.mdx +++ b/api_docs/exploratory_view.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/exploratoryView title: "exploratoryView" image: https://source.unsplash.com/400x175/?github description: API docs for the exploratoryView plugin -date: 2024-01-16 +date: 2024-01-17 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 3f750c169d195..4c531265e7bd1 100644 --- a/api_docs/expression_error.mdx +++ b/api_docs/expression_error.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/expressionError title: "expressionError" image: https://source.unsplash.com/400x175/?github description: API docs for the expressionError plugin -date: 2024-01-16 +date: 2024-01-17 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 00bd74141b9c3..3715e57b529da 100644 --- a/api_docs/expression_gauge.mdx +++ b/api_docs/expression_gauge.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/expressionGauge title: "expressionGauge" image: https://source.unsplash.com/400x175/?github description: API docs for the expressionGauge plugin -date: 2024-01-16 +date: 2024-01-17 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 def3779f2a3cd..2affc889a2296 100644 --- a/api_docs/expression_heatmap.mdx +++ b/api_docs/expression_heatmap.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/expressionHeatmap title: "expressionHeatmap" image: https://source.unsplash.com/400x175/?github description: API docs for the expressionHeatmap plugin -date: 2024-01-16 +date: 2024-01-17 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 788ac35c0c10d..4ef26b9c978b9 100644 --- a/api_docs/expression_image.mdx +++ b/api_docs/expression_image.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/expressionImage title: "expressionImage" image: https://source.unsplash.com/400x175/?github description: API docs for the expressionImage plugin -date: 2024-01-16 +date: 2024-01-17 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 259b77a4c89b5..55e58f88518fe 100644 --- a/api_docs/expression_legacy_metric_vis.mdx +++ b/api_docs/expression_legacy_metric_vis.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/expressionLegacyMetricVis title: "expressionLegacyMetricVis" image: https://source.unsplash.com/400x175/?github description: API docs for the expressionLegacyMetricVis plugin -date: 2024-01-16 +date: 2024-01-17 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 ebdb389aeb189..0808e1abbdcab 100644 --- a/api_docs/expression_metric.mdx +++ b/api_docs/expression_metric.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/expressionMetric title: "expressionMetric" image: https://source.unsplash.com/400x175/?github description: API docs for the expressionMetric plugin -date: 2024-01-16 +date: 2024-01-17 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 1de8571d9e0fb..3b97d9b718b6d 100644 --- a/api_docs/expression_metric_vis.mdx +++ b/api_docs/expression_metric_vis.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/expressionMetricVis title: "expressionMetricVis" image: https://source.unsplash.com/400x175/?github description: API docs for the expressionMetricVis plugin -date: 2024-01-16 +date: 2024-01-17 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 95d5ddc497b71..2fbf33aa6a8d2 100644 --- a/api_docs/expression_partition_vis.mdx +++ b/api_docs/expression_partition_vis.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/expressionPartitionVis title: "expressionPartitionVis" image: https://source.unsplash.com/400x175/?github description: API docs for the expressionPartitionVis plugin -date: 2024-01-16 +date: 2024-01-17 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 e776b5208f29a..a17e92b315b7d 100644 --- a/api_docs/expression_repeat_image.mdx +++ b/api_docs/expression_repeat_image.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/expressionRepeatImage title: "expressionRepeatImage" image: https://source.unsplash.com/400x175/?github description: API docs for the expressionRepeatImage plugin -date: 2024-01-16 +date: 2024-01-17 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 33c00c2eefe8f..e5c161fc76145 100644 --- a/api_docs/expression_reveal_image.mdx +++ b/api_docs/expression_reveal_image.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/expressionRevealImage title: "expressionRevealImage" image: https://source.unsplash.com/400x175/?github description: API docs for the expressionRevealImage plugin -date: 2024-01-16 +date: 2024-01-17 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 f3b6e03c8d85b..bb5b768d1bec9 100644 --- a/api_docs/expression_shape.mdx +++ b/api_docs/expression_shape.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/expressionShape title: "expressionShape" image: https://source.unsplash.com/400x175/?github description: API docs for the expressionShape plugin -date: 2024-01-16 +date: 2024-01-17 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 f0c1ef429ce36..08961d72cb4df 100644 --- a/api_docs/expression_tagcloud.mdx +++ b/api_docs/expression_tagcloud.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/expressionTagcloud title: "expressionTagcloud" image: https://source.unsplash.com/400x175/?github description: API docs for the expressionTagcloud plugin -date: 2024-01-16 +date: 2024-01-17 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 783d0221c0eb0..1864e02b0b2d6 100644 --- a/api_docs/expression_x_y.mdx +++ b/api_docs/expression_x_y.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/expressionXY title: "expressionXY" image: https://source.unsplash.com/400x175/?github description: API docs for the expressionXY plugin -date: 2024-01-16 +date: 2024-01-17 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 05de08b6b0c37..c527f1e135e15 100644 --- a/api_docs/expressions.mdx +++ b/api_docs/expressions.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/expressions title: "expressions" image: https://source.unsplash.com/400x175/?github description: API docs for the expressions plugin -date: 2024-01-16 +date: 2024-01-17 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 7e5f598bdbf82..a8cd41f562a82 100644 --- a/api_docs/features.mdx +++ b/api_docs/features.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/features title: "features" image: https://source.unsplash.com/400x175/?github description: API docs for the features plugin -date: 2024-01-16 +date: 2024-01-17 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 0364641ee1596..1d81263b8f66b 100644 --- a/api_docs/field_formats.mdx +++ b/api_docs/field_formats.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/fieldFormats title: "fieldFormats" image: https://source.unsplash.com/400x175/?github description: API docs for the fieldFormats plugin -date: 2024-01-16 +date: 2024-01-17 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 9531000dce89f..c7058192a8b11 100644 --- a/api_docs/file_upload.mdx +++ b/api_docs/file_upload.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/fileUpload title: "fileUpload" image: https://source.unsplash.com/400x175/?github description: API docs for the fileUpload plugin -date: 2024-01-16 +date: 2024-01-17 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 465fde8007a49..c5c9a8e4b1d84 100644 --- a/api_docs/files.mdx +++ b/api_docs/files.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/files title: "files" image: https://source.unsplash.com/400x175/?github description: API docs for the files plugin -date: 2024-01-16 +date: 2024-01-17 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 ad24c30e734d5..45176c8e49230 100644 --- a/api_docs/files_management.mdx +++ b/api_docs/files_management.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/filesManagement title: "filesManagement" image: https://source.unsplash.com/400x175/?github description: API docs for the filesManagement plugin -date: 2024-01-16 +date: 2024-01-17 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'filesManagement'] --- import filesManagementObj from './files_management.devdocs.json'; diff --git a/api_docs/fleet.mdx b/api_docs/fleet.mdx index 60a897149589d..cb1124c373f8b 100644 --- a/api_docs/fleet.mdx +++ b/api_docs/fleet.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/fleet title: "fleet" image: https://source.unsplash.com/400x175/?github description: API docs for the fleet plugin -date: 2024-01-16 +date: 2024-01-17 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'fleet'] --- import fleetObj from './fleet.devdocs.json'; diff --git a/api_docs/global_search.mdx b/api_docs/global_search.mdx index ac4435db92392..0867c4b4c3a8e 100644 --- a/api_docs/global_search.mdx +++ b/api_docs/global_search.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/globalSearch title: "globalSearch" image: https://source.unsplash.com/400x175/?github description: API docs for the globalSearch plugin -date: 2024-01-16 +date: 2024-01-17 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 e3be4612c6bc5..e7f3b6023e9cf 100644 --- a/api_docs/guided_onboarding.mdx +++ b/api_docs/guided_onboarding.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/guidedOnboarding title: "guidedOnboarding" image: https://source.unsplash.com/400x175/?github description: API docs for the guidedOnboarding plugin -date: 2024-01-16 +date: 2024-01-17 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 ef4a4141fc63d..7eeaf0345edcf 100644 --- a/api_docs/home.mdx +++ b/api_docs/home.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/home title: "home" image: https://source.unsplash.com/400x175/?github description: API docs for the home plugin -date: 2024-01-16 +date: 2024-01-17 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 92d679088f65b..f3bc9abbade2c 100644 --- a/api_docs/image_embeddable.mdx +++ b/api_docs/image_embeddable.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/imageEmbeddable title: "imageEmbeddable" image: https://source.unsplash.com/400x175/?github description: API docs for the imageEmbeddable plugin -date: 2024-01-16 +date: 2024-01-17 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 263c495ae7fbc..a189dbf71acea 100644 --- a/api_docs/index_lifecycle_management.mdx +++ b/api_docs/index_lifecycle_management.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/indexLifecycleManagement title: "indexLifecycleManagement" image: https://source.unsplash.com/400x175/?github description: API docs for the indexLifecycleManagement plugin -date: 2024-01-16 +date: 2024-01-17 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 7ff8fd4760986..73f22d2b33391 100644 --- a/api_docs/index_management.mdx +++ b/api_docs/index_management.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/indexManagement title: "indexManagement" image: https://source.unsplash.com/400x175/?github description: API docs for the indexManagement plugin -date: 2024-01-16 +date: 2024-01-17 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 3b68fc7c85ab9..cdda0071d7629 100644 --- a/api_docs/infra.mdx +++ b/api_docs/infra.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/infra title: "infra" image: https://source.unsplash.com/400x175/?github description: API docs for the infra plugin -date: 2024-01-16 +date: 2024-01-17 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'infra'] --- import infraObj from './infra.devdocs.json'; diff --git a/api_docs/ingest_pipelines.mdx b/api_docs/ingest_pipelines.mdx index 27c1551d27758..dc60a5aa8416d 100644 --- a/api_docs/ingest_pipelines.mdx +++ b/api_docs/ingest_pipelines.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/ingestPipelines title: "ingestPipelines" image: https://source.unsplash.com/400x175/?github description: API docs for the ingestPipelines plugin -date: 2024-01-16 +date: 2024-01-17 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'ingestPipelines'] --- import ingestPipelinesObj from './ingest_pipelines.devdocs.json'; diff --git a/api_docs/inspector.mdx b/api_docs/inspector.mdx index a61b522c1ad91..e37a80127abe2 100644 --- a/api_docs/inspector.mdx +++ b/api_docs/inspector.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/inspector title: "inspector" image: https://source.unsplash.com/400x175/?github description: API docs for the inspector plugin -date: 2024-01-16 +date: 2024-01-17 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 46b41c53b03e6..aa3cd0961c854 100644 --- a/api_docs/interactive_setup.mdx +++ b/api_docs/interactive_setup.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/interactiveSetup title: "interactiveSetup" image: https://source.unsplash.com/400x175/?github description: API docs for the interactiveSetup plugin -date: 2024-01-16 +date: 2024-01-17 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 744ece524df37..ee14e7773e555 100644 --- a/api_docs/kbn_ace.mdx +++ b/api_docs/kbn_ace.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ace title: "@kbn/ace" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ace plugin -date: 2024-01-16 +date: 2024-01-17 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ace'] --- import kbnAceObj from './kbn_ace.devdocs.json'; diff --git a/api_docs/kbn_actions_types.mdx b/api_docs/kbn_actions_types.mdx index 6f4ba99ae5d71..ba12cc2f39269 100644 --- a/api_docs/kbn_actions_types.mdx +++ b/api_docs/kbn_actions_types.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-actions-types title: "@kbn/actions-types" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/actions-types plugin -date: 2024-01-16 +date: 2024-01-17 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/actions-types'] --- import kbnActionsTypesObj from './kbn_actions_types.devdocs.json'; diff --git a/api_docs/kbn_aiops_components.mdx b/api_docs/kbn_aiops_components.mdx index a6be03da04fae..4e3860e355e85 100644 --- a/api_docs/kbn_aiops_components.mdx +++ b/api_docs/kbn_aiops_components.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-aiops-components title: "@kbn/aiops-components" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/aiops-components plugin -date: 2024-01-16 +date: 2024-01-17 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 28c66ab486295..1b0cd8d7eb143 100644 --- a/api_docs/kbn_aiops_utils.mdx +++ b/api_docs/kbn_aiops_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-aiops-utils title: "@kbn/aiops-utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/aiops-utils plugin -date: 2024-01-16 +date: 2024-01-17 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/aiops-utils'] --- import kbnAiopsUtilsObj from './kbn_aiops_utils.devdocs.json'; diff --git a/api_docs/kbn_alerting_api_integration_helpers.mdx b/api_docs/kbn_alerting_api_integration_helpers.mdx index f9f8b611f743e..92499126c0b97 100644 --- a/api_docs/kbn_alerting_api_integration_helpers.mdx +++ b/api_docs/kbn_alerting_api_integration_helpers.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-alerting-api-integration-helpers title: "@kbn/alerting-api-integration-helpers" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/alerting-api-integration-helpers plugin -date: 2024-01-16 +date: 2024-01-17 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/alerting-api-integration-helpers'] --- import kbnAlertingApiIntegrationHelpersObj from './kbn_alerting_api_integration_helpers.devdocs.json'; diff --git a/api_docs/kbn_alerting_state_types.mdx b/api_docs/kbn_alerting_state_types.mdx index 135c229adb524..341e2f0c7e997 100644 --- a/api_docs/kbn_alerting_state_types.mdx +++ b/api_docs/kbn_alerting_state_types.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-alerting-state-types title: "@kbn/alerting-state-types" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/alerting-state-types plugin -date: 2024-01-16 +date: 2024-01-17 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/alerting-state-types'] --- import kbnAlertingStateTypesObj from './kbn_alerting_state_types.devdocs.json'; diff --git a/api_docs/kbn_alerting_types.mdx b/api_docs/kbn_alerting_types.mdx index 6bd0719348106..c9cf4c3d1b953 100644 --- a/api_docs/kbn_alerting_types.mdx +++ b/api_docs/kbn_alerting_types.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-alerting-types title: "@kbn/alerting-types" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/alerting-types plugin -date: 2024-01-16 +date: 2024-01-17 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/alerting-types'] --- import kbnAlertingTypesObj from './kbn_alerting_types.devdocs.json'; diff --git a/api_docs/kbn_alerts_as_data_utils.mdx b/api_docs/kbn_alerts_as_data_utils.mdx index ebf82ed658329..ade551af6e1dd 100644 --- a/api_docs/kbn_alerts_as_data_utils.mdx +++ b/api_docs/kbn_alerts_as_data_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-alerts-as-data-utils title: "@kbn/alerts-as-data-utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/alerts-as-data-utils plugin -date: 2024-01-16 +date: 2024-01-17 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.devdocs.json b/api_docs/kbn_alerts_ui_shared.devdocs.json index 8b0fb68788bc2..1fc57339d3f09 100644 --- a/api_docs/kbn_alerts_ui_shared.devdocs.json +++ b/api_docs/kbn_alerts_ui_shared.devdocs.json @@ -1441,7 +1441,7 @@ "section": "def-common.DataView", "text": "DataView" }, - ", displayErrors?: boolean) => Promise; fieldArrayToMap: (fields: ", + ", displayErrors?: boolean, forceRefresh?: boolean) => Promise; fieldArrayToMap: (fields: ", { "pluginId": "dataViews", "scope": "common", @@ -1734,7 +1734,7 @@ "section": "def-common.DataView", "text": "DataView" }, - ", displayErrors?: boolean) => Promise; fieldArrayToMap: (fields: ", + ", displayErrors?: boolean, forceRefresh?: boolean) => Promise; fieldArrayToMap: (fields: ", { "pluginId": "dataViews", "scope": "common", diff --git a/api_docs/kbn_alerts_ui_shared.mdx b/api_docs/kbn_alerts_ui_shared.mdx index 2159f3b5efcc3..aa4ca86a3d82d 100644 --- a/api_docs/kbn_alerts_ui_shared.mdx +++ b/api_docs/kbn_alerts_ui_shared.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-alerts-ui-shared title: "@kbn/alerts-ui-shared" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/alerts-ui-shared plugin -date: 2024-01-16 +date: 2024-01-17 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 df7ead3c3a5b7..33a3b79573e1b 100644 --- a/api_docs/kbn_analytics.mdx +++ b/api_docs/kbn_analytics.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-analytics title: "@kbn/analytics" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/analytics plugin -date: 2024-01-16 +date: 2024-01-17 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 ac0eeae370fdf..2d8a8110fb121 100644 --- a/api_docs/kbn_analytics_client.mdx +++ b/api_docs/kbn_analytics_client.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-analytics-client title: "@kbn/analytics-client" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/analytics-client plugin -date: 2024-01-16 +date: 2024-01-17 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/analytics-client'] --- import kbnAnalyticsClientObj from './kbn_analytics_client.devdocs.json'; diff --git a/api_docs/kbn_analytics_collection_utils.mdx b/api_docs/kbn_analytics_collection_utils.mdx index fa8ac5b2efd7b..8f9713cd8b52a 100644 --- a/api_docs/kbn_analytics_collection_utils.mdx +++ b/api_docs/kbn_analytics_collection_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-analytics-collection-utils title: "@kbn/analytics-collection-utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/analytics-collection-utils plugin -date: 2024-01-16 +date: 2024-01-17 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/analytics-collection-utils'] --- import kbnAnalyticsCollectionUtilsObj from './kbn_analytics_collection_utils.devdocs.json'; diff --git a/api_docs/kbn_analytics_shippers_elastic_v3_browser.mdx b/api_docs/kbn_analytics_shippers_elastic_v3_browser.mdx index 3157c2f84b2f1..92ebdb30bbd13 100644 --- a/api_docs/kbn_analytics_shippers_elastic_v3_browser.mdx +++ b/api_docs/kbn_analytics_shippers_elastic_v3_browser.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-analytics-shippers-elastic-v3-browser title: "@kbn/analytics-shippers-elastic-v3-browser" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/analytics-shippers-elastic-v3-browser plugin -date: 2024-01-16 +date: 2024-01-17 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 4956970565cfa..a42b159ad3ea0 100644 --- a/api_docs/kbn_analytics_shippers_elastic_v3_common.mdx +++ b/api_docs/kbn_analytics_shippers_elastic_v3_common.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-analytics-shippers-elastic-v3-common title: "@kbn/analytics-shippers-elastic-v3-common" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/analytics-shippers-elastic-v3-common plugin -date: 2024-01-16 +date: 2024-01-17 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 5a0c7cef8d8a2..f58054345b0c6 100644 --- a/api_docs/kbn_analytics_shippers_elastic_v3_server.mdx +++ b/api_docs/kbn_analytics_shippers_elastic_v3_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-analytics-shippers-elastic-v3-server title: "@kbn/analytics-shippers-elastic-v3-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/analytics-shippers-elastic-v3-server plugin -date: 2024-01-16 +date: 2024-01-17 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 e26ccd8389f19..3abdc6bfe84e5 100644 --- a/api_docs/kbn_analytics_shippers_fullstory.mdx +++ b/api_docs/kbn_analytics_shippers_fullstory.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-analytics-shippers-fullstory title: "@kbn/analytics-shippers-fullstory" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/analytics-shippers-fullstory plugin -date: 2024-01-16 +date: 2024-01-17 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/analytics-shippers-fullstory'] --- import kbnAnalyticsShippersFullstoryObj from './kbn_analytics_shippers_fullstory.devdocs.json'; diff --git a/api_docs/kbn_apm_config_loader.mdx b/api_docs/kbn_apm_config_loader.mdx index dab6977c81566..7b283e5b37250 100644 --- a/api_docs/kbn_apm_config_loader.mdx +++ b/api_docs/kbn_apm_config_loader.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-apm-config-loader title: "@kbn/apm-config-loader" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/apm-config-loader plugin -date: 2024-01-16 +date: 2024-01-17 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 3519abcc89887..4f918ae795179 100644 --- a/api_docs/kbn_apm_synthtrace.mdx +++ b/api_docs/kbn_apm_synthtrace.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-apm-synthtrace title: "@kbn/apm-synthtrace" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/apm-synthtrace plugin -date: 2024-01-16 +date: 2024-01-17 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 3c0f67f711df4..6590967f8355f 100644 --- a/api_docs/kbn_apm_synthtrace_client.mdx +++ b/api_docs/kbn_apm_synthtrace_client.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-apm-synthtrace-client title: "@kbn/apm-synthtrace-client" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/apm-synthtrace-client plugin -date: 2024-01-16 +date: 2024-01-17 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 e0ba697ec64fd..877851c31ae56 100644 --- a/api_docs/kbn_apm_utils.mdx +++ b/api_docs/kbn_apm_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-apm-utils title: "@kbn/apm-utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/apm-utils plugin -date: 2024-01-16 +date: 2024-01-17 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 3e8f5deb059c9..5fe0a9a188465 100644 --- a/api_docs/kbn_axe_config.mdx +++ b/api_docs/kbn_axe_config.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-axe-config title: "@kbn/axe-config" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/axe-config plugin -date: 2024-01-16 +date: 2024-01-17 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/axe-config'] --- import kbnAxeConfigObj from './kbn_axe_config.devdocs.json'; diff --git a/api_docs/kbn_bfetch_error.mdx b/api_docs/kbn_bfetch_error.mdx index 8b05f980dac23..9e77878b8f2f2 100644 --- a/api_docs/kbn_bfetch_error.mdx +++ b/api_docs/kbn_bfetch_error.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-bfetch-error title: "@kbn/bfetch-error" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/bfetch-error plugin -date: 2024-01-16 +date: 2024-01-17 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/bfetch-error'] --- import kbnBfetchErrorObj from './kbn_bfetch_error.devdocs.json'; diff --git a/api_docs/kbn_calculate_auto.mdx b/api_docs/kbn_calculate_auto.mdx index 1d60d7d63a6d2..a2a09e07cf677 100644 --- a/api_docs/kbn_calculate_auto.mdx +++ b/api_docs/kbn_calculate_auto.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-calculate-auto title: "@kbn/calculate-auto" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/calculate-auto plugin -date: 2024-01-16 +date: 2024-01-17 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/calculate-auto'] --- import kbnCalculateAutoObj from './kbn_calculate_auto.devdocs.json'; diff --git a/api_docs/kbn_calculate_width_from_char_count.mdx b/api_docs/kbn_calculate_width_from_char_count.mdx index c026a22968047..0695028e49ab4 100644 --- a/api_docs/kbn_calculate_width_from_char_count.mdx +++ b/api_docs/kbn_calculate_width_from_char_count.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-calculate-width-from-char-count title: "@kbn/calculate-width-from-char-count" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/calculate-width-from-char-count plugin -date: 2024-01-16 +date: 2024-01-17 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/calculate-width-from-char-count'] --- import kbnCalculateWidthFromCharCountObj from './kbn_calculate_width_from_char_count.devdocs.json'; diff --git a/api_docs/kbn_cases_components.mdx b/api_docs/kbn_cases_components.mdx index b7470273f0418..f9c36d6edca6b 100644 --- a/api_docs/kbn_cases_components.mdx +++ b/api_docs/kbn_cases_components.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-cases-components title: "@kbn/cases-components" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/cases-components plugin -date: 2024-01-16 +date: 2024-01-17 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 2b59e7f9387c3..3c8925f8f9834 100644 --- a/api_docs/kbn_cell_actions.mdx +++ b/api_docs/kbn_cell_actions.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-cell-actions title: "@kbn/cell-actions" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/cell-actions plugin -date: 2024-01-16 +date: 2024-01-17 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 b9e8c197aa1e0..41dae117b3b17 100644 --- a/api_docs/kbn_chart_expressions_common.mdx +++ b/api_docs/kbn_chart_expressions_common.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-chart-expressions-common title: "@kbn/chart-expressions-common" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/chart-expressions-common plugin -date: 2024-01-16 +date: 2024-01-17 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 dc9e296c797db..e0b4eb41312ec 100644 --- a/api_docs/kbn_chart_icons.mdx +++ b/api_docs/kbn_chart_icons.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-chart-icons title: "@kbn/chart-icons" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/chart-icons plugin -date: 2024-01-16 +date: 2024-01-17 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 cff33d875a1a9..a230ed43ee9bc 100644 --- a/api_docs/kbn_ci_stats_core.mdx +++ b/api_docs/kbn_ci_stats_core.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ci-stats-core title: "@kbn/ci-stats-core" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ci-stats-core plugin -date: 2024-01-16 +date: 2024-01-17 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 9661f1475396e..a1aae03334f60 100644 --- a/api_docs/kbn_ci_stats_performance_metrics.mdx +++ b/api_docs/kbn_ci_stats_performance_metrics.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ci-stats-performance-metrics title: "@kbn/ci-stats-performance-metrics" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ci-stats-performance-metrics plugin -date: 2024-01-16 +date: 2024-01-17 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 54741be6d366f..a44103fd308fc 100644 --- a/api_docs/kbn_ci_stats_reporter.mdx +++ b/api_docs/kbn_ci_stats_reporter.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ci-stats-reporter title: "@kbn/ci-stats-reporter" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ci-stats-reporter plugin -date: 2024-01-16 +date: 2024-01-17 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 d9d15e5436cd5..b8a8d1fcf25d2 100644 --- a/api_docs/kbn_cli_dev_mode.mdx +++ b/api_docs/kbn_cli_dev_mode.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-cli-dev-mode title: "@kbn/cli-dev-mode" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/cli-dev-mode plugin -date: 2024-01-16 +date: 2024-01-17 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 d5b6a8325be14..b6e3cbeb3fc84 100644 --- a/api_docs/kbn_code_editor.mdx +++ b/api_docs/kbn_code_editor.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-code-editor title: "@kbn/code-editor" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/code-editor plugin -date: 2024-01-16 +date: 2024-01-17 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/code-editor'] --- import kbnCodeEditorObj from './kbn_code_editor.devdocs.json'; diff --git a/api_docs/kbn_code_editor_mock.mdx b/api_docs/kbn_code_editor_mock.mdx index d4739d0e60b31..d9b5aee9fc711 100644 --- a/api_docs/kbn_code_editor_mock.mdx +++ b/api_docs/kbn_code_editor_mock.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-code-editor-mock title: "@kbn/code-editor-mock" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/code-editor-mock plugin -date: 2024-01-16 +date: 2024-01-17 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/code-editor-mock'] --- import kbnCodeEditorMockObj from './kbn_code_editor_mock.devdocs.json'; diff --git a/api_docs/kbn_code_owners.mdx b/api_docs/kbn_code_owners.mdx index 2aafaea584252..5048c65029538 100644 --- a/api_docs/kbn_code_owners.mdx +++ b/api_docs/kbn_code_owners.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-code-owners title: "@kbn/code-owners" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/code-owners plugin -date: 2024-01-16 +date: 2024-01-17 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/code-owners'] --- import kbnCodeOwnersObj from './kbn_code_owners.devdocs.json'; diff --git a/api_docs/kbn_coloring.mdx b/api_docs/kbn_coloring.mdx index 6fb9aaeb0962f..9cf19ce24baad 100644 --- a/api_docs/kbn_coloring.mdx +++ b/api_docs/kbn_coloring.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-coloring title: "@kbn/coloring" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/coloring plugin -date: 2024-01-16 +date: 2024-01-17 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 4c3b56bc29290..1d4aa7a8dc371 100644 --- a/api_docs/kbn_config.mdx +++ b/api_docs/kbn_config.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-config title: "@kbn/config" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/config plugin -date: 2024-01-16 +date: 2024-01-17 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 f008f7a00dca0..bd69e6ac8a0cf 100644 --- a/api_docs/kbn_config_mocks.mdx +++ b/api_docs/kbn_config_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-config-mocks title: "@kbn/config-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/config-mocks plugin -date: 2024-01-16 +date: 2024-01-17 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 107c189c99a89..f79a8be8e034e 100644 --- a/api_docs/kbn_config_schema.mdx +++ b/api_docs/kbn_config_schema.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-config-schema title: "@kbn/config-schema" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/config-schema plugin -date: 2024-01-16 +date: 2024-01-17 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 3a2cf3bf1a926..d6a2269909d7c 100644 --- a/api_docs/kbn_content_management_content_editor.mdx +++ b/api_docs/kbn_content_management_content_editor.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-content-management-content-editor title: "@kbn/content-management-content-editor" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/content-management-content-editor plugin -date: 2024-01-16 +date: 2024-01-17 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 7ec9800b40fcf..576c83d763022 100644 --- a/api_docs/kbn_content_management_tabbed_table_list_view.mdx +++ b/api_docs/kbn_content_management_tabbed_table_list_view.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-content-management-tabbed-table-list-view title: "@kbn/content-management-tabbed-table-list-view" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/content-management-tabbed-table-list-view plugin -date: 2024-01-16 +date: 2024-01-17 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 f4f1d562cb0d5..9d668b1b545a6 100644 --- a/api_docs/kbn_content_management_table_list_view.mdx +++ b/api_docs/kbn_content_management_table_list_view.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-content-management-table-list-view title: "@kbn/content-management-table-list-view" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/content-management-table-list-view plugin -date: 2024-01-16 +date: 2024-01-17 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/content-management-table-list-view'] --- import kbnContentManagementTableListViewObj from './kbn_content_management_table_list_view.devdocs.json'; diff --git a/api_docs/kbn_content_management_table_list_view_common.mdx b/api_docs/kbn_content_management_table_list_view_common.mdx index 3a3fc1676a73a..fb54cd2fa38d7 100644 --- a/api_docs/kbn_content_management_table_list_view_common.mdx +++ b/api_docs/kbn_content_management_table_list_view_common.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-content-management-table-list-view-common title: "@kbn/content-management-table-list-view-common" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/content-management-table-list-view-common plugin -date: 2024-01-16 +date: 2024-01-17 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/content-management-table-list-view-common'] --- import kbnContentManagementTableListViewCommonObj from './kbn_content_management_table_list_view_common.devdocs.json'; diff --git a/api_docs/kbn_content_management_table_list_view_table.mdx b/api_docs/kbn_content_management_table_list_view_table.mdx index 7712724a4260c..18b6435f9b4b1 100644 --- a/api_docs/kbn_content_management_table_list_view_table.mdx +++ b/api_docs/kbn_content_management_table_list_view_table.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-content-management-table-list-view-table title: "@kbn/content-management-table-list-view-table" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/content-management-table-list-view-table plugin -date: 2024-01-16 +date: 2024-01-17 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 c7618154f3781..f88e7d76c7727 100644 --- a/api_docs/kbn_content_management_utils.mdx +++ b/api_docs/kbn_content_management_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-content-management-utils title: "@kbn/content-management-utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/content-management-utils plugin -date: 2024-01-16 +date: 2024-01-17 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 54d2f0027b7e9..7381e48322282 100644 --- a/api_docs/kbn_core_analytics_browser.mdx +++ b/api_docs/kbn_core_analytics_browser.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-analytics-browser title: "@kbn/core-analytics-browser" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-analytics-browser plugin -date: 2024-01-16 +date: 2024-01-17 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 07f7b854cfff3..8fdecc93b2af6 100644 --- a/api_docs/kbn_core_analytics_browser_internal.mdx +++ b/api_docs/kbn_core_analytics_browser_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-analytics-browser-internal title: "@kbn/core-analytics-browser-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-analytics-browser-internal plugin -date: 2024-01-16 +date: 2024-01-17 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 c8ade1dbe64d8..347741ac10337 100644 --- a/api_docs/kbn_core_analytics_browser_mocks.mdx +++ b/api_docs/kbn_core_analytics_browser_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-analytics-browser-mocks title: "@kbn/core-analytics-browser-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-analytics-browser-mocks plugin -date: 2024-01-16 +date: 2024-01-17 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 b26906e9466ba..804a5dd90731c 100644 --- a/api_docs/kbn_core_analytics_server.mdx +++ b/api_docs/kbn_core_analytics_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-analytics-server title: "@kbn/core-analytics-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-analytics-server plugin -date: 2024-01-16 +date: 2024-01-17 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 03b25ebdb8e4a..b840b3790eaee 100644 --- a/api_docs/kbn_core_analytics_server_internal.mdx +++ b/api_docs/kbn_core_analytics_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-analytics-server-internal title: "@kbn/core-analytics-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-analytics-server-internal plugin -date: 2024-01-16 +date: 2024-01-17 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 54b86737225e0..a2990737d9854 100644 --- a/api_docs/kbn_core_analytics_server_mocks.mdx +++ b/api_docs/kbn_core_analytics_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-analytics-server-mocks title: "@kbn/core-analytics-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-analytics-server-mocks plugin -date: 2024-01-16 +date: 2024-01-17 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 8f6b636caffc7..e091e5f9daff5 100644 --- a/api_docs/kbn_core_application_browser.mdx +++ b/api_docs/kbn_core_application_browser.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-application-browser title: "@kbn/core-application-browser" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-application-browser plugin -date: 2024-01-16 +date: 2024-01-17 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 bef2f0ebb3788..e6ce75cf96b4a 100644 --- a/api_docs/kbn_core_application_browser_internal.mdx +++ b/api_docs/kbn_core_application_browser_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-application-browser-internal title: "@kbn/core-application-browser-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-application-browser-internal plugin -date: 2024-01-16 +date: 2024-01-17 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 bd3af71518ae1..521175b3f3b3c 100644 --- a/api_docs/kbn_core_application_browser_mocks.mdx +++ b/api_docs/kbn_core_application_browser_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-application-browser-mocks title: "@kbn/core-application-browser-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-application-browser-mocks plugin -date: 2024-01-16 +date: 2024-01-17 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 25fe51a78c26a..392014a5b326c 100644 --- a/api_docs/kbn_core_application_common.mdx +++ b/api_docs/kbn_core_application_common.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-application-common title: "@kbn/core-application-common" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-application-common plugin -date: 2024-01-16 +date: 2024-01-17 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 3d40732e991af..e888c453c5d18 100644 --- a/api_docs/kbn_core_apps_browser_internal.mdx +++ b/api_docs/kbn_core_apps_browser_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-apps-browser-internal title: "@kbn/core-apps-browser-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-apps-browser-internal plugin -date: 2024-01-16 +date: 2024-01-17 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 42dc35ba9fe90..78bb92b60ffb3 100644 --- a/api_docs/kbn_core_apps_browser_mocks.mdx +++ b/api_docs/kbn_core_apps_browser_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-apps-browser-mocks title: "@kbn/core-apps-browser-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-apps-browser-mocks plugin -date: 2024-01-16 +date: 2024-01-17 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 e00bd975fb1cc..156781d265189 100644 --- a/api_docs/kbn_core_apps_server_internal.mdx +++ b/api_docs/kbn_core_apps_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-apps-server-internal title: "@kbn/core-apps-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-apps-server-internal plugin -date: 2024-01-16 +date: 2024-01-17 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 113cbfd662a02..c08a354973bf4 100644 --- a/api_docs/kbn_core_base_browser_mocks.mdx +++ b/api_docs/kbn_core_base_browser_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-base-browser-mocks title: "@kbn/core-base-browser-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-base-browser-mocks plugin -date: 2024-01-16 +date: 2024-01-17 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 7bf799d64c1f5..1b8bfa44acabb 100644 --- a/api_docs/kbn_core_base_common.mdx +++ b/api_docs/kbn_core_base_common.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-base-common title: "@kbn/core-base-common" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-base-common plugin -date: 2024-01-16 +date: 2024-01-17 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 64944f87ac5ad..caa64d23179ad 100644 --- a/api_docs/kbn_core_base_server_internal.mdx +++ b/api_docs/kbn_core_base_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-base-server-internal title: "@kbn/core-base-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-base-server-internal plugin -date: 2024-01-16 +date: 2024-01-17 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 eaf6623d93cd2..15c384b6b4d8b 100644 --- a/api_docs/kbn_core_base_server_mocks.mdx +++ b/api_docs/kbn_core_base_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-base-server-mocks title: "@kbn/core-base-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-base-server-mocks plugin -date: 2024-01-16 +date: 2024-01-17 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 8893af4c4293b..1ee4f10059cf0 100644 --- a/api_docs/kbn_core_capabilities_browser_mocks.mdx +++ b/api_docs/kbn_core_capabilities_browser_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-capabilities-browser-mocks title: "@kbn/core-capabilities-browser-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-capabilities-browser-mocks plugin -date: 2024-01-16 +date: 2024-01-17 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 939355982090f..989c6efd75bae 100644 --- a/api_docs/kbn_core_capabilities_common.mdx +++ b/api_docs/kbn_core_capabilities_common.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-capabilities-common title: "@kbn/core-capabilities-common" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-capabilities-common plugin -date: 2024-01-16 +date: 2024-01-17 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 7f64da3e71506..3476aa8014279 100644 --- a/api_docs/kbn_core_capabilities_server.mdx +++ b/api_docs/kbn_core_capabilities_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-capabilities-server title: "@kbn/core-capabilities-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-capabilities-server plugin -date: 2024-01-16 +date: 2024-01-17 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 cbb6e8eb43dc3..230ad19526395 100644 --- a/api_docs/kbn_core_capabilities_server_mocks.mdx +++ b/api_docs/kbn_core_capabilities_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-capabilities-server-mocks title: "@kbn/core-capabilities-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-capabilities-server-mocks plugin -date: 2024-01-16 +date: 2024-01-17 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 2afaffe6d6c69..4f21c52e2acbe 100644 --- a/api_docs/kbn_core_chrome_browser.mdx +++ b/api_docs/kbn_core_chrome_browser.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-chrome-browser title: "@kbn/core-chrome-browser" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-chrome-browser plugin -date: 2024-01-16 +date: 2024-01-17 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 8abfd9d9b4900..ff726764aa3b1 100644 --- a/api_docs/kbn_core_chrome_browser_mocks.mdx +++ b/api_docs/kbn_core_chrome_browser_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-chrome-browser-mocks title: "@kbn/core-chrome-browser-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-chrome-browser-mocks plugin -date: 2024-01-16 +date: 2024-01-17 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 6a21314e0687f..4b3853be0202b 100644 --- a/api_docs/kbn_core_config_server_internal.mdx +++ b/api_docs/kbn_core_config_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-config-server-internal title: "@kbn/core-config-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-config-server-internal plugin -date: 2024-01-16 +date: 2024-01-17 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 5d6d04a4cb928..532d73574b144 100644 --- a/api_docs/kbn_core_custom_branding_browser.mdx +++ b/api_docs/kbn_core_custom_branding_browser.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-custom-branding-browser title: "@kbn/core-custom-branding-browser" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-custom-branding-browser plugin -date: 2024-01-16 +date: 2024-01-17 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 5b52234dfc68a..f1038975740d1 100644 --- a/api_docs/kbn_core_custom_branding_browser_internal.mdx +++ b/api_docs/kbn_core_custom_branding_browser_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-custom-branding-browser-internal title: "@kbn/core-custom-branding-browser-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-custom-branding-browser-internal plugin -date: 2024-01-16 +date: 2024-01-17 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 dfcf1d1b0e620..30c4576be4025 100644 --- a/api_docs/kbn_core_custom_branding_browser_mocks.mdx +++ b/api_docs/kbn_core_custom_branding_browser_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-custom-branding-browser-mocks title: "@kbn/core-custom-branding-browser-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-custom-branding-browser-mocks plugin -date: 2024-01-16 +date: 2024-01-17 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 40f725b627d43..5571f05214112 100644 --- a/api_docs/kbn_core_custom_branding_common.mdx +++ b/api_docs/kbn_core_custom_branding_common.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-custom-branding-common title: "@kbn/core-custom-branding-common" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-custom-branding-common plugin -date: 2024-01-16 +date: 2024-01-17 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 d43d4ffd10cd7..63ddf99404285 100644 --- a/api_docs/kbn_core_custom_branding_server.mdx +++ b/api_docs/kbn_core_custom_branding_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-custom-branding-server title: "@kbn/core-custom-branding-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-custom-branding-server plugin -date: 2024-01-16 +date: 2024-01-17 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 79aba402794f2..95cad4268553e 100644 --- a/api_docs/kbn_core_custom_branding_server_internal.mdx +++ b/api_docs/kbn_core_custom_branding_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-custom-branding-server-internal title: "@kbn/core-custom-branding-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-custom-branding-server-internal plugin -date: 2024-01-16 +date: 2024-01-17 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 ca01038a1d2a4..ed047a84c0897 100644 --- a/api_docs/kbn_core_custom_branding_server_mocks.mdx +++ b/api_docs/kbn_core_custom_branding_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-custom-branding-server-mocks title: "@kbn/core-custom-branding-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-custom-branding-server-mocks plugin -date: 2024-01-16 +date: 2024-01-17 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 9205599531c7d..c18704fb2924d 100644 --- a/api_docs/kbn_core_deprecations_browser.mdx +++ b/api_docs/kbn_core_deprecations_browser.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-deprecations-browser title: "@kbn/core-deprecations-browser" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-deprecations-browser plugin -date: 2024-01-16 +date: 2024-01-17 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 bed9571157e3f..ad62b1a0d793d 100644 --- a/api_docs/kbn_core_deprecations_browser_internal.mdx +++ b/api_docs/kbn_core_deprecations_browser_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-deprecations-browser-internal title: "@kbn/core-deprecations-browser-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-deprecations-browser-internal plugin -date: 2024-01-16 +date: 2024-01-17 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 98b5e5bffd96c..c34a5fea97ddb 100644 --- a/api_docs/kbn_core_deprecations_browser_mocks.mdx +++ b/api_docs/kbn_core_deprecations_browser_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-deprecations-browser-mocks title: "@kbn/core-deprecations-browser-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-deprecations-browser-mocks plugin -date: 2024-01-16 +date: 2024-01-17 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 36484078e6c7e..23eb2258786bc 100644 --- a/api_docs/kbn_core_deprecations_common.mdx +++ b/api_docs/kbn_core_deprecations_common.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-deprecations-common title: "@kbn/core-deprecations-common" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-deprecations-common plugin -date: 2024-01-16 +date: 2024-01-17 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 1b2dacf8f1f04..5500738bf80c8 100644 --- a/api_docs/kbn_core_deprecations_server.mdx +++ b/api_docs/kbn_core_deprecations_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-deprecations-server title: "@kbn/core-deprecations-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-deprecations-server plugin -date: 2024-01-16 +date: 2024-01-17 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 77c511bca0efb..96e76f2c4c77b 100644 --- a/api_docs/kbn_core_deprecations_server_internal.mdx +++ b/api_docs/kbn_core_deprecations_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-deprecations-server-internal title: "@kbn/core-deprecations-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-deprecations-server-internal plugin -date: 2024-01-16 +date: 2024-01-17 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 2fddfd496b189..2e92a9e3650bd 100644 --- a/api_docs/kbn_core_deprecations_server_mocks.mdx +++ b/api_docs/kbn_core_deprecations_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-deprecations-server-mocks title: "@kbn/core-deprecations-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-deprecations-server-mocks plugin -date: 2024-01-16 +date: 2024-01-17 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 62375db8cf062..fe92791652103 100644 --- a/api_docs/kbn_core_doc_links_browser.mdx +++ b/api_docs/kbn_core_doc_links_browser.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-doc-links-browser title: "@kbn/core-doc-links-browser" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-doc-links-browser plugin -date: 2024-01-16 +date: 2024-01-17 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 58c3c43ad4709..79ce38c545bbf 100644 --- a/api_docs/kbn_core_doc_links_browser_mocks.mdx +++ b/api_docs/kbn_core_doc_links_browser_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-doc-links-browser-mocks title: "@kbn/core-doc-links-browser-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-doc-links-browser-mocks plugin -date: 2024-01-16 +date: 2024-01-17 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 0bc6b1b5347db..9d48b6737b6db 100644 --- a/api_docs/kbn_core_doc_links_server.mdx +++ b/api_docs/kbn_core_doc_links_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-doc-links-server title: "@kbn/core-doc-links-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-doc-links-server plugin -date: 2024-01-16 +date: 2024-01-17 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 b6f024b0d3591..057976cd8076d 100644 --- a/api_docs/kbn_core_doc_links_server_mocks.mdx +++ b/api_docs/kbn_core_doc_links_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-doc-links-server-mocks title: "@kbn/core-doc-links-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-doc-links-server-mocks plugin -date: 2024-01-16 +date: 2024-01-17 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 1c899bf22de5d..1622beb39f674 100644 --- a/api_docs/kbn_core_elasticsearch_client_server_internal.mdx +++ b/api_docs/kbn_core_elasticsearch_client_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-elasticsearch-client-server-internal title: "@kbn/core-elasticsearch-client-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-elasticsearch-client-server-internal plugin -date: 2024-01-16 +date: 2024-01-17 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 120ed38b2c5fc..13eada8f42cca 100644 --- a/api_docs/kbn_core_elasticsearch_client_server_mocks.mdx +++ b/api_docs/kbn_core_elasticsearch_client_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-elasticsearch-client-server-mocks title: "@kbn/core-elasticsearch-client-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-elasticsearch-client-server-mocks plugin -date: 2024-01-16 +date: 2024-01-17 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 431e5a5708247..ecefbf6cd7c12 100644 --- a/api_docs/kbn_core_elasticsearch_server.mdx +++ b/api_docs/kbn_core_elasticsearch_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-elasticsearch-server title: "@kbn/core-elasticsearch-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-elasticsearch-server plugin -date: 2024-01-16 +date: 2024-01-17 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.devdocs.json b/api_docs/kbn_core_elasticsearch_server_internal.devdocs.json index 82ccce9ed5415..623cfc3c3ce89 100644 --- a/api_docs/kbn_core_elasticsearch_server_internal.devdocs.json +++ b/api_docs/kbn_core_elasticsearch_server_internal.devdocs.json @@ -3088,7 +3088,7 @@ "label": "ElasticsearchConfigType", "description": [], "signature": [ - "{ readonly username?: string | undefined; readonly password?: string | undefined; readonly serviceAccountToken?: string | undefined; readonly ssl: Readonly<{ key?: string | undefined; certificateAuthorities?: string | string[] | undefined; certificate?: string | undefined; keyPassphrase?: string | undefined; } & { verificationMode: \"none\" | \"full\" | \"certificate\"; keystore: Readonly<{ path?: string | undefined; password?: string | undefined; } & {}>; truststore: Readonly<{ path?: string | undefined; password?: string | undefined; } & {}>; alwaysPresentCertificate: boolean; }>; readonly healthCheck: Readonly<{} & { delay: moment.Duration; }>; readonly hosts: string | string[]; readonly requestTimeout: moment.Duration; readonly compression: boolean; readonly customHeaders: Record; readonly sniffOnStart: boolean; readonly sniffInterval: false | moment.Duration; readonly sniffOnConnectionFault: boolean; readonly maxSockets: number; readonly maxIdleSockets: number; readonly idleSocketTimeout: moment.Duration; readonly requestHeadersWhitelist: string | string[]; readonly shardTimeout: moment.Duration; readonly pingTimeout: moment.Duration; readonly logQueries: boolean; readonly apiVersion: string; readonly ignoreVersionMismatch: boolean; readonly skipStartupConnectionCheck: boolean; readonly apisToRedactInLogs: Readonly<{ method?: string | undefined; } & { path: string; }>[]; }" + "{ readonly username?: string | undefined; readonly password?: string | undefined; readonly serviceAccountToken?: string | undefined; readonly ssl: Readonly<{ key?: string | undefined; certificateAuthorities?: string | string[] | undefined; certificate?: string | undefined; keyPassphrase?: string | undefined; } & { verificationMode: \"none\" | \"full\" | \"certificate\"; keystore: Readonly<{ path?: string | undefined; password?: string | undefined; } & {}>; truststore: Readonly<{ path?: string | undefined; password?: string | undefined; } & {}>; alwaysPresentCertificate: boolean; }>; readonly healthCheck: Readonly<{} & { delay: moment.Duration; }>; readonly hosts: string | string[]; readonly requestTimeout: moment.Duration; readonly compression: boolean; readonly apiVersion: string; readonly customHeaders: Record; readonly sniffOnStart: boolean; readonly sniffInterval: false | moment.Duration; readonly sniffOnConnectionFault: boolean; readonly maxSockets: number; readonly maxIdleSockets: number; readonly idleSocketTimeout: moment.Duration; readonly requestHeadersWhitelist: string | string[]; readonly shardTimeout: moment.Duration; readonly pingTimeout: moment.Duration; readonly logQueries: boolean; readonly ignoreVersionMismatch: boolean; readonly skipStartupConnectionCheck: boolean; readonly apisToRedactInLogs: Readonly<{ method?: string | undefined; } & { path: string; }>[]; }" ], "path": "packages/core/elasticsearch/core-elasticsearch-server-internal/src/elasticsearch_config.ts", "deprecated": false, diff --git a/api_docs/kbn_core_elasticsearch_server_internal.mdx b/api_docs/kbn_core_elasticsearch_server_internal.mdx index 1eac5f268f4f4..849c24f532dc2 100644 --- a/api_docs/kbn_core_elasticsearch_server_internal.mdx +++ b/api_docs/kbn_core_elasticsearch_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-elasticsearch-server-internal title: "@kbn/core-elasticsearch-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-elasticsearch-server-internal plugin -date: 2024-01-16 +date: 2024-01-17 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 51f57d352bb91..82e23d8e21299 100644 --- a/api_docs/kbn_core_elasticsearch_server_mocks.mdx +++ b/api_docs/kbn_core_elasticsearch_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-elasticsearch-server-mocks title: "@kbn/core-elasticsearch-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-elasticsearch-server-mocks plugin -date: 2024-01-16 +date: 2024-01-17 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 2da266f903f1b..5ea68c5c42116 100644 --- a/api_docs/kbn_core_environment_server_internal.mdx +++ b/api_docs/kbn_core_environment_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-environment-server-internal title: "@kbn/core-environment-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-environment-server-internal plugin -date: 2024-01-16 +date: 2024-01-17 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 ea61ea3753943..f9d5aa3ace2a5 100644 --- a/api_docs/kbn_core_environment_server_mocks.mdx +++ b/api_docs/kbn_core_environment_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-environment-server-mocks title: "@kbn/core-environment-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-environment-server-mocks plugin -date: 2024-01-16 +date: 2024-01-17 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 8fb792cb95dba..4bf8afa57f60c 100644 --- a/api_docs/kbn_core_execution_context_browser.mdx +++ b/api_docs/kbn_core_execution_context_browser.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-execution-context-browser title: "@kbn/core-execution-context-browser" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-execution-context-browser plugin -date: 2024-01-16 +date: 2024-01-17 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 5716fe953f8a5..2de61dfa33c1b 100644 --- a/api_docs/kbn_core_execution_context_browser_internal.mdx +++ b/api_docs/kbn_core_execution_context_browser_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-execution-context-browser-internal title: "@kbn/core-execution-context-browser-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-execution-context-browser-internal plugin -date: 2024-01-16 +date: 2024-01-17 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 5f6e5d60618c6..3c6905deac2f6 100644 --- a/api_docs/kbn_core_execution_context_browser_mocks.mdx +++ b/api_docs/kbn_core_execution_context_browser_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-execution-context-browser-mocks title: "@kbn/core-execution-context-browser-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-execution-context-browser-mocks plugin -date: 2024-01-16 +date: 2024-01-17 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 23a20f2c10dc7..302b0d161bc11 100644 --- a/api_docs/kbn_core_execution_context_common.mdx +++ b/api_docs/kbn_core_execution_context_common.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-execution-context-common title: "@kbn/core-execution-context-common" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-execution-context-common plugin -date: 2024-01-16 +date: 2024-01-17 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 b7986bc7003d4..a61bd5368f990 100644 --- a/api_docs/kbn_core_execution_context_server.mdx +++ b/api_docs/kbn_core_execution_context_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-execution-context-server title: "@kbn/core-execution-context-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-execution-context-server plugin -date: 2024-01-16 +date: 2024-01-17 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 12a14b4038d0a..c712c0870ccc3 100644 --- a/api_docs/kbn_core_execution_context_server_internal.mdx +++ b/api_docs/kbn_core_execution_context_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-execution-context-server-internal title: "@kbn/core-execution-context-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-execution-context-server-internal plugin -date: 2024-01-16 +date: 2024-01-17 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 8181838c76de1..23c518b3624dc 100644 --- a/api_docs/kbn_core_execution_context_server_mocks.mdx +++ b/api_docs/kbn_core_execution_context_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-execution-context-server-mocks title: "@kbn/core-execution-context-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-execution-context-server-mocks plugin -date: 2024-01-16 +date: 2024-01-17 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 4716941d989d3..cc031b393449c 100644 --- a/api_docs/kbn_core_fatal_errors_browser.mdx +++ b/api_docs/kbn_core_fatal_errors_browser.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-fatal-errors-browser title: "@kbn/core-fatal-errors-browser" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-fatal-errors-browser plugin -date: 2024-01-16 +date: 2024-01-17 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 0d0200fa8f841..2109d2b97c5e4 100644 --- a/api_docs/kbn_core_fatal_errors_browser_mocks.mdx +++ b/api_docs/kbn_core_fatal_errors_browser_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-fatal-errors-browser-mocks title: "@kbn/core-fatal-errors-browser-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-fatal-errors-browser-mocks plugin -date: 2024-01-16 +date: 2024-01-17 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 ad94fd7f81f9c..cf259ac7c04dc 100644 --- a/api_docs/kbn_core_http_browser.mdx +++ b/api_docs/kbn_core_http_browser.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-http-browser title: "@kbn/core-http-browser" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-http-browser plugin -date: 2024-01-16 +date: 2024-01-17 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 e5554ec744ef2..c99634c68b082 100644 --- a/api_docs/kbn_core_http_browser_internal.mdx +++ b/api_docs/kbn_core_http_browser_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-http-browser-internal title: "@kbn/core-http-browser-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-http-browser-internal plugin -date: 2024-01-16 +date: 2024-01-17 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 f552c137950e3..c324f02192385 100644 --- a/api_docs/kbn_core_http_browser_mocks.mdx +++ b/api_docs/kbn_core_http_browser_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-http-browser-mocks title: "@kbn/core-http-browser-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-http-browser-mocks plugin -date: 2024-01-16 +date: 2024-01-17 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 8df7eb2743288..17012aca2173f 100644 --- a/api_docs/kbn_core_http_common.mdx +++ b/api_docs/kbn_core_http_common.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-http-common title: "@kbn/core-http-common" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-http-common plugin -date: 2024-01-16 +date: 2024-01-17 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 9497efaf6bbb5..6065a2a3fdfbd 100644 --- a/api_docs/kbn_core_http_context_server_mocks.mdx +++ b/api_docs/kbn_core_http_context_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-http-context-server-mocks title: "@kbn/core-http-context-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-http-context-server-mocks plugin -date: 2024-01-16 +date: 2024-01-17 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 05bc7a3f2e0b4..38ea5fc521565 100644 --- a/api_docs/kbn_core_http_request_handler_context_server.mdx +++ b/api_docs/kbn_core_http_request_handler_context_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-http-request-handler-context-server title: "@kbn/core-http-request-handler-context-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-http-request-handler-context-server plugin -date: 2024-01-16 +date: 2024-01-17 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.devdocs.json b/api_docs/kbn_core_http_resources_server.devdocs.json index 806137b6d08a4..1d89ea374bb6b 100644 --- a/api_docs/kbn_core_http_resources_server.devdocs.json +++ b/api_docs/kbn_core_http_resources_server.devdocs.json @@ -506,6 +506,14 @@ "text": "KibanaRedirectionResponseFactory" }, " & ", + { + "pluginId": "@kbn/core-http-server", + "scope": "common", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-common.KibanaNotModifiedResponseFactory", + "text": "KibanaNotModifiedResponseFactory" + }, + " & ", { "pluginId": "@kbn/core-http-server", "scope": "common", diff --git a/api_docs/kbn_core_http_resources_server.mdx b/api_docs/kbn_core_http_resources_server.mdx index e7314232fdfae..fcf54e8c6d000 100644 --- a/api_docs/kbn_core_http_resources_server.mdx +++ b/api_docs/kbn_core_http_resources_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-http-resources-server title: "@kbn/core-http-resources-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-http-resources-server plugin -date: 2024-01-16 +date: 2024-01-17 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 26582b8135ef1..aba77f9fe7a18 100644 --- a/api_docs/kbn_core_http_resources_server_internal.mdx +++ b/api_docs/kbn_core_http_resources_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-http-resources-server-internal title: "@kbn/core-http-resources-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-http-resources-server-internal plugin -date: 2024-01-16 +date: 2024-01-17 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.devdocs.json b/api_docs/kbn_core_http_resources_server_mocks.devdocs.json index 5af3c308b95e5..58e758c332771 100644 --- a/api_docs/kbn_core_http_resources_server_mocks.devdocs.json +++ b/api_docs/kbn_core_http_resources_server_mocks.devdocs.json @@ -569,6 +569,38 @@ "section": "def-common.IKibanaResponse", "text": "IKibanaResponse" }, + "); notModified: jest.MockInstance<", + { + "pluginId": "@kbn/core-http-server", + "scope": "common", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-common.IKibanaResponse", + "text": "IKibanaResponse" + }, + ", [options: ", + { + "pluginId": "@kbn/core-http-server", + "scope": "common", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-common.HttpResponseOptions", + "text": "HttpResponseOptions" + }, + "], unknown> & ((options: ", + { + "pluginId": "@kbn/core-http-server", + "scope": "common", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-common.HttpResponseOptions", + "text": "HttpResponseOptions" + }, + ") => ", + { + "pluginId": "@kbn/core-http-server", + "scope": "common", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-common.IKibanaResponse", + "text": "IKibanaResponse" + }, "); badRequest: jest.MockInstance<", { "pluginId": "@kbn/core-http-server", diff --git a/api_docs/kbn_core_http_resources_server_mocks.mdx b/api_docs/kbn_core_http_resources_server_mocks.mdx index b28fe3155892d..0d2ef6c8dcee0 100644 --- a/api_docs/kbn_core_http_resources_server_mocks.mdx +++ b/api_docs/kbn_core_http_resources_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-http-resources-server-mocks title: "@kbn/core-http-resources-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-http-resources-server-mocks plugin -date: 2024-01-16 +date: 2024-01-17 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.devdocs.json b/api_docs/kbn_core_http_router_server_internal.devdocs.json index f3b8701d3798e..a79752dc72bb7 100644 --- a/api_docs/kbn_core_http_router_server_internal.devdocs.json +++ b/api_docs/kbn_core_http_router_server_internal.devdocs.json @@ -393,6 +393,20 @@ "deprecated": false, "trackAdoption": false }, + { + "parentPluginId": "@kbn/core-http-router-server-internal", + "id": "def-common.kibanaResponseFactory.Unnamed", + "type": "Any", + "tags": [], + "label": "Unnamed", + "description": [], + "signature": [ + "any" + ], + "path": "packages/core/http/core-http-router-server-internal/src/response.ts", + "deprecated": false, + "trackAdoption": false + }, { "parentPluginId": "@kbn/core-http-router-server-internal", "id": "def-common.kibanaResponseFactory.custom", diff --git a/api_docs/kbn_core_http_router_server_internal.mdx b/api_docs/kbn_core_http_router_server_internal.mdx index 3c4449dce170a..b2f3f2906b8a7 100644 --- a/api_docs/kbn_core_http_router_server_internal.mdx +++ b/api_docs/kbn_core_http_router_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-http-router-server-internal title: "@kbn/core-http-router-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-http-router-server-internal plugin -date: 2024-01-16 +date: 2024-01-17 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-http-router-server-internal'] --- import kbnCoreHttpRouterServerInternalObj from './kbn_core_http_router_server_internal.devdocs.json'; @@ -21,7 +21,7 @@ Contact [@elastic/kibana-core](https://github.com/orgs/elastic/teams/kibana-core | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 26 | 6 | 26 | 2 | +| 27 | 7 | 27 | 2 | ## Common diff --git a/api_docs/kbn_core_http_router_server_mocks.mdx b/api_docs/kbn_core_http_router_server_mocks.mdx index 02b8788acccf5..8a454041b97a0 100644 --- a/api_docs/kbn_core_http_router_server_mocks.mdx +++ b/api_docs/kbn_core_http_router_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-http-router-server-mocks title: "@kbn/core-http-router-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-http-router-server-mocks plugin -date: 2024-01-16 +date: 2024-01-17 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-http-router-server-mocks'] --- import kbnCoreHttpRouterServerMocksObj from './kbn_core_http_router_server_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_http_server.devdocs.json b/api_docs/kbn_core_http_server.devdocs.json index 8f3413bd88be7..eff9b2f82ee6d 100644 --- a/api_docs/kbn_core_http_server.devdocs.json +++ b/api_docs/kbn_core_http_server.devdocs.json @@ -10153,6 +10153,79 @@ ], "initialIsOpen": false }, + { + "parentPluginId": "@kbn/core-http-server", + "id": "def-common.KibanaNotModifiedResponseFactory", + "type": "Interface", + "tags": [], + "label": "KibanaNotModifiedResponseFactory", + "description": [], + "path": "packages/core/http/core-http-server/src/router/response_factory.ts", + "deprecated": false, + "trackAdoption": false, + "children": [ + { + "parentPluginId": "@kbn/core-http-server", + "id": "def-common.KibanaNotModifiedResponseFactory.notModified", + "type": "Function", + "tags": [], + "label": "notModified", + "description": [ + "\nContent not modified.\nStatus code: `304`." + ], + "signature": [ + "(options: ", + { + "pluginId": "@kbn/core-http-server", + "scope": "common", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-common.HttpResponseOptions", + "text": "HttpResponseOptions" + }, + ") => ", + { + "pluginId": "@kbn/core-http-server", + "scope": "common", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-common.IKibanaResponse", + "text": "IKibanaResponse" + }, + "" + ], + "path": "packages/core/http/core-http-server/src/router/response_factory.ts", + "deprecated": false, + "trackAdoption": false, + "children": [ + { + "parentPluginId": "@kbn/core-http-server", + "id": "def-common.KibanaNotModifiedResponseFactory.notModified.$1", + "type": "Object", + "tags": [], + "label": "options", + "description": [ + "- {@link HttpResponseOptions } configures HTTP response body & headers." + ], + "signature": [ + { + "pluginId": "@kbn/core-http-server", + "scope": "common", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-common.HttpResponseOptions", + "text": "HttpResponseOptions" + }, + "" + ], + "path": "packages/core/http/core-http-server/src/router/response_factory.ts", + "deprecated": false, + "trackAdoption": false, + "isRequired": true + } + ], + "returnComment": [] + } + ], + "initialIsOpen": false + }, { "parentPluginId": "@kbn/core-http-server", "id": "def-common.KibanaRedirectionResponseFactory", @@ -13061,6 +13134,10 @@ "plugin": "dataViews", "path": "src/plugins/data_views/server/rest_api_routes/internal/has_data_views.ts" }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/server/rest_api_routes/internal/fields.ts" + }, { "plugin": "bfetch", "path": "src/plugins/bfetch/server/plugin.ts" @@ -16350,6 +16427,14 @@ "text": "KibanaRedirectionResponseFactory" }, " & ", + { + "pluginId": "@kbn/core-http-server", + "scope": "common", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-common.KibanaNotModifiedResponseFactory", + "text": "KibanaNotModifiedResponseFactory" + }, + " & ", { "pluginId": "@kbn/core-http-server", "scope": "common", @@ -17208,7 +17293,15 @@ "section": "def-common.HttpResponseOptions", "text": "HttpResponseOptions" }, - " & { headers: { location: string; }; }" + " & { headers?: ", + { + "pluginId": "@kbn/core-http-server", + "scope": "common", + "docId": "kibKbnCoreHttpServerPluginApi", + "section": "def-common.ResponseHeaders", + "text": "ResponseHeaders" + }, + " | undefined; }" ], "path": "packages/core/http/core-http-server/src/router/response.ts", "deprecated": false, diff --git a/api_docs/kbn_core_http_server.mdx b/api_docs/kbn_core_http_server.mdx index daf45f9752c9b..5e2e4d46d1a9f 100644 --- a/api_docs/kbn_core_http_server.mdx +++ b/api_docs/kbn_core_http_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-http-server title: "@kbn/core-http-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-http-server plugin -date: 2024-01-16 +date: 2024-01-17 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-http-server'] --- import kbnCoreHttpServerObj from './kbn_core_http_server.devdocs.json'; @@ -21,7 +21,7 @@ Contact [@elastic/kibana-core](https://github.com/orgs/elastic/teams/kibana-core | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 454 | 1 | 179 | 0 | +| 457 | 1 | 180 | 0 | ## Common diff --git a/api_docs/kbn_core_http_server_internal.mdx b/api_docs/kbn_core_http_server_internal.mdx index 4ff869de1a8fe..4c8512a3d1fc3 100644 --- a/api_docs/kbn_core_http_server_internal.mdx +++ b/api_docs/kbn_core_http_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-http-server-internal title: "@kbn/core-http-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-http-server-internal plugin -date: 2024-01-16 +date: 2024-01-17 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 17df1d4826e95..ffc517ece6bfd 100644 --- a/api_docs/kbn_core_http_server_mocks.mdx +++ b/api_docs/kbn_core_http_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-http-server-mocks title: "@kbn/core-http-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-http-server-mocks plugin -date: 2024-01-16 +date: 2024-01-17 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 40b934b72ab85..73f4a331d0271 100644 --- a/api_docs/kbn_core_i18n_browser.mdx +++ b/api_docs/kbn_core_i18n_browser.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-i18n-browser title: "@kbn/core-i18n-browser" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-i18n-browser plugin -date: 2024-01-16 +date: 2024-01-17 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 651ea4dc6b532..8dc84957a7a4f 100644 --- a/api_docs/kbn_core_i18n_browser_mocks.mdx +++ b/api_docs/kbn_core_i18n_browser_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-i18n-browser-mocks title: "@kbn/core-i18n-browser-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-i18n-browser-mocks plugin -date: 2024-01-16 +date: 2024-01-17 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 ebd8633c294b1..fb7f771dc2388 100644 --- a/api_docs/kbn_core_i18n_server.mdx +++ b/api_docs/kbn_core_i18n_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-i18n-server title: "@kbn/core-i18n-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-i18n-server plugin -date: 2024-01-16 +date: 2024-01-17 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 5813ba8298a0c..1b9cd58a4a86f 100644 --- a/api_docs/kbn_core_i18n_server_internal.mdx +++ b/api_docs/kbn_core_i18n_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-i18n-server-internal title: "@kbn/core-i18n-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-i18n-server-internal plugin -date: 2024-01-16 +date: 2024-01-17 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 292793d9a9c32..3d5dd29c1d7e0 100644 --- a/api_docs/kbn_core_i18n_server_mocks.mdx +++ b/api_docs/kbn_core_i18n_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-i18n-server-mocks title: "@kbn/core-i18n-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-i18n-server-mocks plugin -date: 2024-01-16 +date: 2024-01-17 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 de0866466f605..3146f6cc0d86b 100644 --- a/api_docs/kbn_core_injected_metadata_browser_mocks.mdx +++ b/api_docs/kbn_core_injected_metadata_browser_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-injected-metadata-browser-mocks title: "@kbn/core-injected-metadata-browser-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-injected-metadata-browser-mocks plugin -date: 2024-01-16 +date: 2024-01-17 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 b56f4c11d0871..a6fa29b69d882 100644 --- a/api_docs/kbn_core_integrations_browser_internal.mdx +++ b/api_docs/kbn_core_integrations_browser_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-integrations-browser-internal title: "@kbn/core-integrations-browser-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-integrations-browser-internal plugin -date: 2024-01-16 +date: 2024-01-17 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 95e6b6cc3d1d3..9232aeb9f8f68 100644 --- a/api_docs/kbn_core_integrations_browser_mocks.mdx +++ b/api_docs/kbn_core_integrations_browser_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-integrations-browser-mocks title: "@kbn/core-integrations-browser-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-integrations-browser-mocks plugin -date: 2024-01-16 +date: 2024-01-17 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 be55eaba1a289..f16e89c97e380 100644 --- a/api_docs/kbn_core_lifecycle_browser.mdx +++ b/api_docs/kbn_core_lifecycle_browser.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-lifecycle-browser title: "@kbn/core-lifecycle-browser" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-lifecycle-browser plugin -date: 2024-01-16 +date: 2024-01-17 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 9e912597b9884..0c2e03e9e2e66 100644 --- a/api_docs/kbn_core_lifecycle_browser_mocks.mdx +++ b/api_docs/kbn_core_lifecycle_browser_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-lifecycle-browser-mocks title: "@kbn/core-lifecycle-browser-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-lifecycle-browser-mocks plugin -date: 2024-01-16 +date: 2024-01-17 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 e0c2b0f78bd38..57366cae5b663 100644 --- a/api_docs/kbn_core_lifecycle_server.mdx +++ b/api_docs/kbn_core_lifecycle_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-lifecycle-server title: "@kbn/core-lifecycle-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-lifecycle-server plugin -date: 2024-01-16 +date: 2024-01-17 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 2e5a24b7313f0..261f0aba3c0b3 100644 --- a/api_docs/kbn_core_lifecycle_server_mocks.mdx +++ b/api_docs/kbn_core_lifecycle_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-lifecycle-server-mocks title: "@kbn/core-lifecycle-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-lifecycle-server-mocks plugin -date: 2024-01-16 +date: 2024-01-17 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 b41cc17484b49..c5a2e4e090af7 100644 --- a/api_docs/kbn_core_logging_browser_mocks.mdx +++ b/api_docs/kbn_core_logging_browser_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-logging-browser-mocks title: "@kbn/core-logging-browser-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-logging-browser-mocks plugin -date: 2024-01-16 +date: 2024-01-17 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 ae8bc043da26f..9fefc003d7179 100644 --- a/api_docs/kbn_core_logging_common_internal.mdx +++ b/api_docs/kbn_core_logging_common_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-logging-common-internal title: "@kbn/core-logging-common-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-logging-common-internal plugin -date: 2024-01-16 +date: 2024-01-17 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 723a236357234..d21858c589b01 100644 --- a/api_docs/kbn_core_logging_server.mdx +++ b/api_docs/kbn_core_logging_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-logging-server title: "@kbn/core-logging-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-logging-server plugin -date: 2024-01-16 +date: 2024-01-17 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 b56c9b16f6644..923e91e4216c5 100644 --- a/api_docs/kbn_core_logging_server_internal.mdx +++ b/api_docs/kbn_core_logging_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-logging-server-internal title: "@kbn/core-logging-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-logging-server-internal plugin -date: 2024-01-16 +date: 2024-01-17 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 b81c39f7640ee..1a827b409fb70 100644 --- a/api_docs/kbn_core_logging_server_mocks.mdx +++ b/api_docs/kbn_core_logging_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-logging-server-mocks title: "@kbn/core-logging-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-logging-server-mocks plugin -date: 2024-01-16 +date: 2024-01-17 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 9254c2d44f6a3..91540a984bb05 100644 --- a/api_docs/kbn_core_metrics_collectors_server_internal.mdx +++ b/api_docs/kbn_core_metrics_collectors_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-metrics-collectors-server-internal title: "@kbn/core-metrics-collectors-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-metrics-collectors-server-internal plugin -date: 2024-01-16 +date: 2024-01-17 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 8f3e4dbd95ab9..862762ccf7688 100644 --- a/api_docs/kbn_core_metrics_collectors_server_mocks.mdx +++ b/api_docs/kbn_core_metrics_collectors_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-metrics-collectors-server-mocks title: "@kbn/core-metrics-collectors-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-metrics-collectors-server-mocks plugin -date: 2024-01-16 +date: 2024-01-17 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 70cf88b75ef44..d0cf2f379c092 100644 --- a/api_docs/kbn_core_metrics_server.mdx +++ b/api_docs/kbn_core_metrics_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-metrics-server title: "@kbn/core-metrics-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-metrics-server plugin -date: 2024-01-16 +date: 2024-01-17 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 b3ff0d8199485..d85b56f4dd4b8 100644 --- a/api_docs/kbn_core_metrics_server_internal.mdx +++ b/api_docs/kbn_core_metrics_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-metrics-server-internal title: "@kbn/core-metrics-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-metrics-server-internal plugin -date: 2024-01-16 +date: 2024-01-17 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 66e9207b46c3e..8fe71377a9e40 100644 --- a/api_docs/kbn_core_metrics_server_mocks.mdx +++ b/api_docs/kbn_core_metrics_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-metrics-server-mocks title: "@kbn/core-metrics-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-metrics-server-mocks plugin -date: 2024-01-16 +date: 2024-01-17 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 ca2d3f0f249bc..e15ff0d715556 100644 --- a/api_docs/kbn_core_mount_utils_browser.mdx +++ b/api_docs/kbn_core_mount_utils_browser.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-mount-utils-browser title: "@kbn/core-mount-utils-browser" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-mount-utils-browser plugin -date: 2024-01-16 +date: 2024-01-17 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 0e5b61b5968a3..534df9f474620 100644 --- a/api_docs/kbn_core_node_server.mdx +++ b/api_docs/kbn_core_node_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-node-server title: "@kbn/core-node-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-node-server plugin -date: 2024-01-16 +date: 2024-01-17 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 cd0874e762bc3..dd510c5f8a740 100644 --- a/api_docs/kbn_core_node_server_internal.mdx +++ b/api_docs/kbn_core_node_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-node-server-internal title: "@kbn/core-node-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-node-server-internal plugin -date: 2024-01-16 +date: 2024-01-17 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 449666461e899..1df7611f90925 100644 --- a/api_docs/kbn_core_node_server_mocks.mdx +++ b/api_docs/kbn_core_node_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-node-server-mocks title: "@kbn/core-node-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-node-server-mocks plugin -date: 2024-01-16 +date: 2024-01-17 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 86ad1376337a9..68a9cc7fca777 100644 --- a/api_docs/kbn_core_notifications_browser.mdx +++ b/api_docs/kbn_core_notifications_browser.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-notifications-browser title: "@kbn/core-notifications-browser" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-notifications-browser plugin -date: 2024-01-16 +date: 2024-01-17 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 6eb73d4b0b710..7db42c714eead 100644 --- a/api_docs/kbn_core_notifications_browser_internal.mdx +++ b/api_docs/kbn_core_notifications_browser_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-notifications-browser-internal title: "@kbn/core-notifications-browser-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-notifications-browser-internal plugin -date: 2024-01-16 +date: 2024-01-17 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 c84bb456fce36..7833d5ba2b65a 100644 --- a/api_docs/kbn_core_notifications_browser_mocks.mdx +++ b/api_docs/kbn_core_notifications_browser_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-notifications-browser-mocks title: "@kbn/core-notifications-browser-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-notifications-browser-mocks plugin -date: 2024-01-16 +date: 2024-01-17 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 8b1572c8741fd..8ed1761b42aff 100644 --- a/api_docs/kbn_core_overlays_browser.mdx +++ b/api_docs/kbn_core_overlays_browser.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-overlays-browser title: "@kbn/core-overlays-browser" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-overlays-browser plugin -date: 2024-01-16 +date: 2024-01-17 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 13b085cd8b6ba..eb71c889dd183 100644 --- a/api_docs/kbn_core_overlays_browser_internal.mdx +++ b/api_docs/kbn_core_overlays_browser_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-overlays-browser-internal title: "@kbn/core-overlays-browser-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-overlays-browser-internal plugin -date: 2024-01-16 +date: 2024-01-17 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 bb51bb1743749..dd49d48c0989d 100644 --- a/api_docs/kbn_core_overlays_browser_mocks.mdx +++ b/api_docs/kbn_core_overlays_browser_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-overlays-browser-mocks title: "@kbn/core-overlays-browser-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-overlays-browser-mocks plugin -date: 2024-01-16 +date: 2024-01-17 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 518172f5f0252..c64b76293d441 100644 --- a/api_docs/kbn_core_plugins_browser.mdx +++ b/api_docs/kbn_core_plugins_browser.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-plugins-browser title: "@kbn/core-plugins-browser" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-plugins-browser plugin -date: 2024-01-16 +date: 2024-01-17 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 2f87f8e785874..ab198afd2b0a9 100644 --- a/api_docs/kbn_core_plugins_browser_mocks.mdx +++ b/api_docs/kbn_core_plugins_browser_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-plugins-browser-mocks title: "@kbn/core-plugins-browser-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-plugins-browser-mocks plugin -date: 2024-01-16 +date: 2024-01-17 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-plugins-browser-mocks'] --- import kbnCorePluginsBrowserMocksObj from './kbn_core_plugins_browser_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_plugins_contracts_browser.mdx b/api_docs/kbn_core_plugins_contracts_browser.mdx index 2cc4c3552f94b..6f7f772828bda 100644 --- a/api_docs/kbn_core_plugins_contracts_browser.mdx +++ b/api_docs/kbn_core_plugins_contracts_browser.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-plugins-contracts-browser title: "@kbn/core-plugins-contracts-browser" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-plugins-contracts-browser plugin -date: 2024-01-16 +date: 2024-01-17 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-plugins-contracts-browser'] --- import kbnCorePluginsContractsBrowserObj from './kbn_core_plugins_contracts_browser.devdocs.json'; diff --git a/api_docs/kbn_core_plugins_contracts_server.mdx b/api_docs/kbn_core_plugins_contracts_server.mdx index 236c8a9dfe5ba..38393f9303b88 100644 --- a/api_docs/kbn_core_plugins_contracts_server.mdx +++ b/api_docs/kbn_core_plugins_contracts_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-plugins-contracts-server title: "@kbn/core-plugins-contracts-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-plugins-contracts-server plugin -date: 2024-01-16 +date: 2024-01-17 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-plugins-contracts-server'] --- import kbnCorePluginsContractsServerObj from './kbn_core_plugins_contracts_server.devdocs.json'; diff --git a/api_docs/kbn_core_plugins_server.mdx b/api_docs/kbn_core_plugins_server.mdx index a33a4f6f8b9e6..66e5e5bb99eeb 100644 --- a/api_docs/kbn_core_plugins_server.mdx +++ b/api_docs/kbn_core_plugins_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-plugins-server title: "@kbn/core-plugins-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-plugins-server plugin -date: 2024-01-16 +date: 2024-01-17 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 24755c1a87d96..3abe20d4fb126 100644 --- a/api_docs/kbn_core_plugins_server_mocks.mdx +++ b/api_docs/kbn_core_plugins_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-plugins-server-mocks title: "@kbn/core-plugins-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-plugins-server-mocks plugin -date: 2024-01-16 +date: 2024-01-17 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 985b45591b6cd..988d803a0bbe0 100644 --- a/api_docs/kbn_core_preboot_server.mdx +++ b/api_docs/kbn_core_preboot_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-preboot-server title: "@kbn/core-preboot-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-preboot-server plugin -date: 2024-01-16 +date: 2024-01-17 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 b01bb8a037463..98cc33b95645b 100644 --- a/api_docs/kbn_core_preboot_server_mocks.mdx +++ b/api_docs/kbn_core_preboot_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-preboot-server-mocks title: "@kbn/core-preboot-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-preboot-server-mocks plugin -date: 2024-01-16 +date: 2024-01-17 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 addfd32a871c1..9057772e2657c 100644 --- a/api_docs/kbn_core_rendering_browser_mocks.mdx +++ b/api_docs/kbn_core_rendering_browser_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-rendering-browser-mocks title: "@kbn/core-rendering-browser-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-rendering-browser-mocks plugin -date: 2024-01-16 +date: 2024-01-17 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 edec5c8354760..469f04f96fcee 100644 --- a/api_docs/kbn_core_rendering_server_internal.mdx +++ b/api_docs/kbn_core_rendering_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-rendering-server-internal title: "@kbn/core-rendering-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-rendering-server-internal plugin -date: 2024-01-16 +date: 2024-01-17 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 aa863d5d62218..b8847f6d54767 100644 --- a/api_docs/kbn_core_rendering_server_mocks.mdx +++ b/api_docs/kbn_core_rendering_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-rendering-server-mocks title: "@kbn/core-rendering-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-rendering-server-mocks plugin -date: 2024-01-16 +date: 2024-01-17 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 8c0e2847737c2..e1d95691d2bf3 100644 --- a/api_docs/kbn_core_root_server_internal.mdx +++ b/api_docs/kbn_core_root_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-root-server-internal title: "@kbn/core-root-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-root-server-internal plugin -date: 2024-01-16 +date: 2024-01-17 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-root-server-internal'] --- import kbnCoreRootServerInternalObj from './kbn_core_root_server_internal.devdocs.json'; diff --git a/api_docs/kbn_core_saved_objects_api_browser.mdx b/api_docs/kbn_core_saved_objects_api_browser.mdx index e2a1f0c02dfbf..3cfb57566cc0d 100644 --- a/api_docs/kbn_core_saved_objects_api_browser.mdx +++ b/api_docs/kbn_core_saved_objects_api_browser.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-saved-objects-api-browser title: "@kbn/core-saved-objects-api-browser" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-saved-objects-api-browser plugin -date: 2024-01-16 +date: 2024-01-17 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 3cecf90de0344..f576d89018dbd 100644 --- a/api_docs/kbn_core_saved_objects_api_server.mdx +++ b/api_docs/kbn_core_saved_objects_api_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-saved-objects-api-server title: "@kbn/core-saved-objects-api-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-saved-objects-api-server plugin -date: 2024-01-16 +date: 2024-01-17 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 0814e2c6fe891..6d82b6f4a6cf9 100644 --- a/api_docs/kbn_core_saved_objects_api_server_mocks.mdx +++ b/api_docs/kbn_core_saved_objects_api_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-saved-objects-api-server-mocks title: "@kbn/core-saved-objects-api-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-saved-objects-api-server-mocks plugin -date: 2024-01-16 +date: 2024-01-17 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.devdocs.json b/api_docs/kbn_core_saved_objects_base_server_internal.devdocs.json index ff317f16d9a6c..bcd13697e1ae8 100644 --- a/api_docs/kbn_core_saved_objects_base_server_internal.devdocs.json +++ b/api_docs/kbn_core_saved_objects_base_server_internal.devdocs.json @@ -1689,6 +1689,325 @@ } ], "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/core-saved-objects-base-server-internal", + "id": "def-common.DocumentMigrateOptions", + "type": "Interface", + "tags": [], + "label": "DocumentMigrateOptions", + "description": [ + "\nOptions for {@link IDocumentMigrator.migrate}" + ], + "path": "packages/core/saved-objects/core-saved-objects-base-server-internal/src/migration/document_migrator.ts", + "deprecated": false, + "trackAdoption": false, + "children": [ + { + "parentPluginId": "@kbn/core-saved-objects-base-server-internal", + "id": "def-common.DocumentMigrateOptions.allowDowngrade", + "type": "CompoundType", + "tags": [], + "label": "allowDowngrade", + "description": [ + "\nDefines whether it is allowed to convert documents from an higher version or not.\n- If `true`, documents from higher versions will go though the downgrade pipeline.\n- If `false`, an error will be thrown when trying to process a document with an higher type version.\nDefaults to `false`." + ], + "signature": [ + "boolean | undefined" + ], + "path": "packages/core/saved-objects/core-saved-objects-base-server-internal/src/migration/document_migrator.ts", + "deprecated": false, + "trackAdoption": false + }, + { + "parentPluginId": "@kbn/core-saved-objects-base-server-internal", + "id": "def-common.DocumentMigrateOptions.targetTypeVersion", + "type": "string", + "tags": [], + "label": "targetTypeVersion", + "description": [ + "\nIf specified, will migrate to the given version instead of the latest known version." + ], + "signature": [ + "string | undefined" + ], + "path": "packages/core/saved-objects/core-saved-objects-base-server-internal/src/migration/document_migrator.ts", + "deprecated": false, + "trackAdoption": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/core-saved-objects-base-server-internal", + "id": "def-common.IDocumentMigrator", + "type": "Interface", + "tags": [], + "label": "IDocumentMigrator", + "description": [ + "\nManages transformations of individual documents." + ], + "path": "packages/core/saved-objects/core-saved-objects-base-server-internal/src/migration/document_migrator.ts", + "deprecated": false, + "trackAdoption": false, + "children": [ + { + "parentPluginId": "@kbn/core-saved-objects-base-server-internal", + "id": "def-common.IDocumentMigrator.migrate", + "type": "Function", + "tags": [], + "label": "migrate", + "description": [ + "\nMigrates a document to its latest version." + ], + "signature": [ + "(doc: ", + { + "pluginId": "@kbn/core-saved-objects-server", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsServerPluginApi", + "section": "def-common.SavedObjectUnsanitizedDoc", + "text": "SavedObjectUnsanitizedDoc" + }, + ", options?: ", + { + "pluginId": "@kbn/core-saved-objects-base-server-internal", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsBaseServerInternalPluginApi", + "section": "def-common.DocumentMigrateOptions", + "text": "DocumentMigrateOptions" + }, + " | undefined) => ", + { + "pluginId": "@kbn/core-saved-objects-server", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsServerPluginApi", + "section": "def-common.SavedObjectUnsanitizedDoc", + "text": "SavedObjectUnsanitizedDoc" + }, + "" + ], + "path": "packages/core/saved-objects/core-saved-objects-base-server-internal/src/migration/document_migrator.ts", + "deprecated": false, + "trackAdoption": false, + "children": [ + { + "parentPluginId": "@kbn/core-saved-objects-base-server-internal", + "id": "def-common.IDocumentMigrator.migrate.$1", + "type": "CompoundType", + "tags": [], + "label": "doc", + "description": [], + "signature": [ + { + "pluginId": "@kbn/core-saved-objects-server", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsServerPluginApi", + "section": "def-common.SavedObjectUnsanitizedDoc", + "text": "SavedObjectUnsanitizedDoc" + }, + "" + ], + "path": "packages/core/saved-objects/core-saved-objects-base-server-internal/src/migration/document_migrator.ts", + "deprecated": false, + "trackAdoption": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/core-saved-objects-base-server-internal", + "id": "def-common.IDocumentMigrator.migrate.$2", + "type": "Object", + "tags": [], + "label": "options", + "description": [], + "signature": [ + { + "pluginId": "@kbn/core-saved-objects-base-server-internal", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsBaseServerInternalPluginApi", + "section": "def-common.DocumentMigrateOptions", + "text": "DocumentMigrateOptions" + }, + " | undefined" + ], + "path": "packages/core/saved-objects/core-saved-objects-base-server-internal/src/migration/document_migrator.ts", + "deprecated": false, + "trackAdoption": false, + "isRequired": false + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/core-saved-objects-base-server-internal", + "id": "def-common.IDocumentMigrator.migrateAndConvert", + "type": "Function", + "tags": [], + "label": "migrateAndConvert", + "description": [ + "\nMigrates a document to the latest version and applies type conversions if applicable.\nAlso returns any additional document(s) that may have been created during the transformation process.\n" + ], + "signature": [ + "(doc: ", + { + "pluginId": "@kbn/core-saved-objects-server", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsServerPluginApi", + "section": "def-common.SavedObjectUnsanitizedDoc", + "text": "SavedObjectUnsanitizedDoc" + }, + ") => ", + { + "pluginId": "@kbn/core-saved-objects-server", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsServerPluginApi", + "section": "def-common.SavedObjectUnsanitizedDoc", + "text": "SavedObjectUnsanitizedDoc" + }, + "[]" + ], + "path": "packages/core/saved-objects/core-saved-objects-base-server-internal/src/migration/document_migrator.ts", + "deprecated": false, + "trackAdoption": false, + "children": [ + { + "parentPluginId": "@kbn/core-saved-objects-base-server-internal", + "id": "def-common.IDocumentMigrator.migrateAndConvert.$1", + "type": "CompoundType", + "tags": [], + "label": "doc", + "description": [], + "signature": [ + { + "pluginId": "@kbn/core-saved-objects-server", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsServerPluginApi", + "section": "def-common.SavedObjectUnsanitizedDoc", + "text": "SavedObjectUnsanitizedDoc" + }, + "" + ], + "path": "packages/core/saved-objects/core-saved-objects-base-server-internal/src/migration/document_migrator.ts", + "deprecated": false, + "trackAdoption": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/core-saved-objects-base-server-internal", + "id": "def-common.IDocumentMigrator.isDowngradeRequired", + "type": "Function", + "tags": [], + "label": "isDowngradeRequired", + "description": [ + "\nReturns true if the provided document has a higher version that the `targetTypeVersion`\n(defaulting to the last known version), false otherwise." + ], + "signature": [ + "(doc: ", + { + "pluginId": "@kbn/core-saved-objects-server", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsServerPluginApi", + "section": "def-common.SavedObjectUnsanitizedDoc", + "text": "SavedObjectUnsanitizedDoc" + }, + ", options?: ", + { + "pluginId": "@kbn/core-saved-objects-base-server-internal", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsBaseServerInternalPluginApi", + "section": "def-common.IsDowngradeRequiredOptions", + "text": "IsDowngradeRequiredOptions" + }, + " | undefined) => boolean" + ], + "path": "packages/core/saved-objects/core-saved-objects-base-server-internal/src/migration/document_migrator.ts", + "deprecated": false, + "trackAdoption": false, + "children": [ + { + "parentPluginId": "@kbn/core-saved-objects-base-server-internal", + "id": "def-common.IDocumentMigrator.isDowngradeRequired.$1", + "type": "CompoundType", + "tags": [], + "label": "doc", + "description": [], + "signature": [ + { + "pluginId": "@kbn/core-saved-objects-server", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsServerPluginApi", + "section": "def-common.SavedObjectUnsanitizedDoc", + "text": "SavedObjectUnsanitizedDoc" + }, + "" + ], + "path": "packages/core/saved-objects/core-saved-objects-base-server-internal/src/migration/document_migrator.ts", + "deprecated": false, + "trackAdoption": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/core-saved-objects-base-server-internal", + "id": "def-common.IDocumentMigrator.isDowngradeRequired.$2", + "type": "Object", + "tags": [], + "label": "options", + "description": [], + "signature": [ + { + "pluginId": "@kbn/core-saved-objects-base-server-internal", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsBaseServerInternalPluginApi", + "section": "def-common.IsDowngradeRequiredOptions", + "text": "IsDowngradeRequiredOptions" + }, + " | undefined" + ], + "path": "packages/core/saved-objects/core-saved-objects-base-server-internal/src/migration/document_migrator.ts", + "deprecated": false, + "trackAdoption": false, + "isRequired": false + } + ], + "returnComment": [] + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/core-saved-objects-base-server-internal", + "id": "def-common.IsDowngradeRequiredOptions", + "type": "Interface", + "tags": [], + "label": "IsDowngradeRequiredOptions", + "description": [ + "\nOptions for {@link IDocumentMigrator.isDowngradeRequired}" + ], + "path": "packages/core/saved-objects/core-saved-objects-base-server-internal/src/migration/document_migrator.ts", + "deprecated": false, + "trackAdoption": false, + "children": [ + { + "parentPluginId": "@kbn/core-saved-objects-base-server-internal", + "id": "def-common.IsDowngradeRequiredOptions.targetTypeVersion", + "type": "string", + "tags": [], + "label": "targetTypeVersion", + "description": [ + "\nIf specified, will migrate to the given version instead of the latest known version." + ], + "signature": [ + "string | undefined" + ], + "path": "packages/core/saved-objects/core-saved-objects-base-server-internal/src/migration/document_migrator.ts", + "deprecated": false, + "trackAdoption": false + } + ], + "initialIsOpen": false } ], "enums": [], 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 07b2c88c02dc7..53aa23c171950 100644 --- a/api_docs/kbn_core_saved_objects_base_server_internal.mdx +++ b/api_docs/kbn_core_saved_objects_base_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-saved-objects-base-server-internal title: "@kbn/core-saved-objects-base-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-saved-objects-base-server-internal plugin -date: 2024-01-16 +date: 2024-01-17 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-saved-objects-base-server-internal'] --- import kbnCoreSavedObjectsBaseServerInternalObj from './kbn_core_saved_objects_base_server_internal.devdocs.json'; @@ -21,7 +21,7 @@ Contact [@elastic/kibana-core](https://github.com/orgs/elastic/teams/kibana-core | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 98 | 0 | 66 | 10 | +| 112 | 0 | 71 | 10 | ## Common diff --git a/api_docs/kbn_core_saved_objects_base_server_mocks.devdocs.json b/api_docs/kbn_core_saved_objects_base_server_mocks.devdocs.json index deba719927887..7712604342d52 100644 --- a/api_docs/kbn_core_saved_objects_base_server_mocks.devdocs.json +++ b/api_docs/kbn_core_saved_objects_base_server_mocks.devdocs.json @@ -18,7 +18,33 @@ }, "common": { "classes": [], - "functions": [], + "functions": [ + { + "parentPluginId": "@kbn/core-saved-objects-base-server-mocks", + "id": "def-common.createDocumentMigratorMock", + "type": "Function", + "tags": [], + "label": "createDocumentMigratorMock", + "description": [], + "signature": [ + "() => jest.Mocked<", + { + "pluginId": "@kbn/core-saved-objects-base-server-internal", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsBaseServerInternalPluginApi", + "section": "def-common.IDocumentMigrator", + "text": "IDocumentMigrator" + }, + ">" + ], + "path": "packages/core/saved-objects/core-saved-objects-base-server-mocks/src/document_migrator.mock.ts", + "deprecated": false, + "trackAdoption": false, + "children": [], + "returnComment": [], + "initialIsOpen": false + } + ], "interfaces": [], "enums": [], "misc": [], 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 4162ad449f290..3407a4a915a7b 100644 --- a/api_docs/kbn_core_saved_objects_base_server_mocks.mdx +++ b/api_docs/kbn_core_saved_objects_base_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-saved-objects-base-server-mocks title: "@kbn/core-saved-objects-base-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-saved-objects-base-server-mocks plugin -date: 2024-01-16 +date: 2024-01-17 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-saved-objects-base-server-mocks'] --- import kbnCoreSavedObjectsBaseServerMocksObj from './kbn_core_saved_objects_base_server_mocks.devdocs.json'; @@ -21,10 +21,13 @@ Contact [@elastic/kibana-core](https://github.com/orgs/elastic/teams/kibana-core | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 4 | 0 | 4 | 0 | +| 5 | 0 | 5 | 0 | ## Common ### Objects +### Functions + + diff --git a/api_docs/kbn_core_saved_objects_browser.mdx b/api_docs/kbn_core_saved_objects_browser.mdx index 24ab499d5fd93..3106030604847 100644 --- a/api_docs/kbn_core_saved_objects_browser.mdx +++ b/api_docs/kbn_core_saved_objects_browser.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-saved-objects-browser title: "@kbn/core-saved-objects-browser" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-saved-objects-browser plugin -date: 2024-01-16 +date: 2024-01-17 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 dbe1e32259ba4..ab49b65a99994 100644 --- a/api_docs/kbn_core_saved_objects_browser_internal.mdx +++ b/api_docs/kbn_core_saved_objects_browser_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-saved-objects-browser-internal title: "@kbn/core-saved-objects-browser-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-saved-objects-browser-internal plugin -date: 2024-01-16 +date: 2024-01-17 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 a0cca9ea1f4a6..0baee2ecd447e 100644 --- a/api_docs/kbn_core_saved_objects_browser_mocks.mdx +++ b/api_docs/kbn_core_saved_objects_browser_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-saved-objects-browser-mocks title: "@kbn/core-saved-objects-browser-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-saved-objects-browser-mocks plugin -date: 2024-01-16 +date: 2024-01-17 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-saved-objects-browser-mocks'] --- import kbnCoreSavedObjectsBrowserMocksObj from './kbn_core_saved_objects_browser_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_saved_objects_common.mdx b/api_docs/kbn_core_saved_objects_common.mdx index 2d595e5e2d2e8..b5b201c8f7dd2 100644 --- a/api_docs/kbn_core_saved_objects_common.mdx +++ b/api_docs/kbn_core_saved_objects_common.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-saved-objects-common title: "@kbn/core-saved-objects-common" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-saved-objects-common plugin -date: 2024-01-16 +date: 2024-01-17 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 e05d16622252b..96f0af2a363ce 100644 --- a/api_docs/kbn_core_saved_objects_import_export_server_internal.mdx +++ b/api_docs/kbn_core_saved_objects_import_export_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-saved-objects-import-export-server-internal title: "@kbn/core-saved-objects-import-export-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-saved-objects-import-export-server-internal plugin -date: 2024-01-16 +date: 2024-01-17 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 8530527b2b9d4..6e00fd43659df 100644 --- a/api_docs/kbn_core_saved_objects_import_export_server_mocks.mdx +++ b/api_docs/kbn_core_saved_objects_import_export_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-saved-objects-import-export-server-mocks title: "@kbn/core-saved-objects-import-export-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-saved-objects-import-export-server-mocks plugin -date: 2024-01-16 +date: 2024-01-17 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.devdocs.json b/api_docs/kbn_core_saved_objects_migration_server_internal.devdocs.json index fa854a0dea28f..9333bd0e00ef2 100644 --- a/api_docs/kbn_core_saved_objects_migration_server_internal.devdocs.json +++ b/api_docs/kbn_core_saved_objects_migration_server_internal.devdocs.json @@ -25,7 +25,7 @@ "tags": [], "label": "DocumentMigrator", "description": [ - "\nA concrete implementation of the {@link VersionedTransformer} interface." + "\nA concrete implementation of the {@link IDocumentMigrator} interface." ], "signature": [ { @@ -36,7 +36,13 @@ "text": "DocumentMigrator" }, " implements ", - "VersionedTransformer" + { + "pluginId": "@kbn/core-saved-objects-base-server-internal", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsBaseServerInternalPluginApi", + "section": "def-common.IDocumentMigrator", + "text": "IDocumentMigrator" + } ], "path": "packages/core/saved-objects/core-saved-objects-migration-server-internal/src/document_migrator/document_migrator.ts", "deprecated": false, @@ -159,7 +165,13 @@ "text": "SavedObjectUnsanitizedDoc" }, ", { allowDowngrade, targetTypeVersion }?: ", - "DocumentMigrateOptions", + { + "pluginId": "@kbn/core-saved-objects-base-server-internal", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsBaseServerInternalPluginApi", + "section": "def-common.DocumentMigrateOptions", + "text": "DocumentMigrateOptions" + }, ") => ", { "pluginId": "@kbn/core-saved-objects-server", @@ -204,7 +216,13 @@ "label": "{ allowDowngrade = false, targetTypeVersion }", "description": [], "signature": [ - "DocumentMigrateOptions" + { + "pluginId": "@kbn/core-saved-objects-base-server-internal", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsBaseServerInternalPluginApi", + "section": "def-common.DocumentMigrateOptions", + "text": "DocumentMigrateOptions" + } ], "path": "packages/core/saved-objects/core-saved-objects-migration-server-internal/src/document_migrator/document_migrator.ts", "deprecated": false, @@ -270,6 +288,84 @@ } ], "returnComment": [] + }, + { + "parentPluginId": "@kbn/core-saved-objects-migration-server-internal", + "id": "def-common.DocumentMigrator.isDowngradeRequired", + "type": "Function", + "tags": [], + "label": "isDowngradeRequired", + "description": [ + "\nReturns true if the provided document has a higher version that the `targetTypeVersion`\n(defaulting to the last known version), false otherwise." + ], + "signature": [ + "(doc: ", + { + "pluginId": "@kbn/core-saved-objects-server", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsServerPluginApi", + "section": "def-common.SavedObjectUnsanitizedDoc", + "text": "SavedObjectUnsanitizedDoc" + }, + ", { targetTypeVersion }?: ", + { + "pluginId": "@kbn/core-saved-objects-base-server-internal", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsBaseServerInternalPluginApi", + "section": "def-common.IsDowngradeRequiredOptions", + "text": "IsDowngradeRequiredOptions" + }, + ") => boolean" + ], + "path": "packages/core/saved-objects/core-saved-objects-migration-server-internal/src/document_migrator/document_migrator.ts", + "deprecated": false, + "trackAdoption": false, + "children": [ + { + "parentPluginId": "@kbn/core-saved-objects-migration-server-internal", + "id": "def-common.DocumentMigrator.isDowngradeRequired.$1", + "type": "CompoundType", + "tags": [], + "label": "doc", + "description": [], + "signature": [ + { + "pluginId": "@kbn/core-saved-objects-server", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsServerPluginApi", + "section": "def-common.SavedObjectUnsanitizedDoc", + "text": "SavedObjectUnsanitizedDoc" + }, + "" + ], + "path": "packages/core/saved-objects/core-saved-objects-migration-server-internal/src/document_migrator/document_migrator.ts", + "deprecated": false, + "trackAdoption": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/core-saved-objects-migration-server-internal", + "id": "def-common.DocumentMigrator.isDowngradeRequired.$2", + "type": "Object", + "tags": [], + "label": "{ targetTypeVersion }", + "description": [], + "signature": [ + { + "pluginId": "@kbn/core-saved-objects-base-server-internal", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsBaseServerInternalPluginApi", + "section": "def-common.IsDowngradeRequiredOptions", + "text": "IsDowngradeRequiredOptions" + } + ], + "path": "packages/core/saved-objects/core-saved-objects-migration-server-internal/src/document_migrator/document_migrator.ts", + "deprecated": false, + "trackAdoption": false, + "isRequired": true + } + ], + "returnComment": [] } ], "initialIsOpen": false @@ -349,6 +445,29 @@ ], "returnComment": [] }, + { + "parentPluginId": "@kbn/core-saved-objects-migration-server-internal", + "id": "def-common.KibanaMigrator.getDocumentMigrator", + "type": "Function", + "tags": [], + "label": "getDocumentMigrator", + "description": [], + "signature": [ + "() => ", + { + "pluginId": "@kbn/core-saved-objects-migration-server-internal", + "scope": "common", + "docId": "kibKbnCoreSavedObjectsMigrationServerInternalPluginApi", + "section": "def-common.DocumentMigrator", + "text": "DocumentMigrator" + } + ], + "path": "packages/core/saved-objects/core-saved-objects-migration-server-internal/src/kibana_migrator.ts", + "deprecated": false, + "trackAdoption": false, + "children": [], + "returnComment": [] + }, { "parentPluginId": "@kbn/core-saved-objects-migration-server-internal", "id": "def-common.KibanaMigrator.runMigrations", 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 2bcb4fbcd662c..b15367e6cbb19 100644 --- a/api_docs/kbn_core_saved_objects_migration_server_internal.mdx +++ b/api_docs/kbn_core_saved_objects_migration_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-saved-objects-migration-server-internal title: "@kbn/core-saved-objects-migration-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-saved-objects-migration-server-internal plugin -date: 2024-01-16 +date: 2024-01-17 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-saved-objects-migration-server-internal'] --- import kbnCoreSavedObjectsMigrationServerInternalObj from './kbn_core_saved_objects_migration_server_internal.devdocs.json'; @@ -21,7 +21,7 @@ Contact [@elastic/kibana-core](https://github.com/orgs/elastic/teams/kibana-core | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 125 | 0 | 91 | 47 | +| 129 | 0 | 94 | 45 | ## Common 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 73bef880b16c8..5ba60b0e2edc6 100644 --- a/api_docs/kbn_core_saved_objects_migration_server_mocks.mdx +++ b/api_docs/kbn_core_saved_objects_migration_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-saved-objects-migration-server-mocks title: "@kbn/core-saved-objects-migration-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-saved-objects-migration-server-mocks plugin -date: 2024-01-16 +date: 2024-01-17 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 5634a37239242..a0c08638610ab 100644 --- a/api_docs/kbn_core_saved_objects_server.mdx +++ b/api_docs/kbn_core_saved_objects_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-saved-objects-server title: "@kbn/core-saved-objects-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-saved-objects-server plugin -date: 2024-01-16 +date: 2024-01-17 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 f83a4d5cbc4f0..5ea338f57c257 100644 --- a/api_docs/kbn_core_saved_objects_server_internal.mdx +++ b/api_docs/kbn_core_saved_objects_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-saved-objects-server-internal title: "@kbn/core-saved-objects-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-saved-objects-server-internal plugin -date: 2024-01-16 +date: 2024-01-17 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 bb41c2ff623bd..220c1cb7b1907 100644 --- a/api_docs/kbn_core_saved_objects_server_mocks.mdx +++ b/api_docs/kbn_core_saved_objects_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-saved-objects-server-mocks title: "@kbn/core-saved-objects-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-saved-objects-server-mocks plugin -date: 2024-01-16 +date: 2024-01-17 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 ababb7449c59b..8410aff57ebcf 100644 --- a/api_docs/kbn_core_saved_objects_utils_server.mdx +++ b/api_docs/kbn_core_saved_objects_utils_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-saved-objects-utils-server title: "@kbn/core-saved-objects-utils-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-saved-objects-utils-server plugin -date: 2024-01-16 +date: 2024-01-17 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 639ac8065542b..3ec3382ceed1b 100644 --- a/api_docs/kbn_core_status_common.mdx +++ b/api_docs/kbn_core_status_common.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-status-common title: "@kbn/core-status-common" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-status-common plugin -date: 2024-01-16 +date: 2024-01-17 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 06ea35e382682..cec69340af8c0 100644 --- a/api_docs/kbn_core_status_common_internal.mdx +++ b/api_docs/kbn_core_status_common_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-status-common-internal title: "@kbn/core-status-common-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-status-common-internal plugin -date: 2024-01-16 +date: 2024-01-17 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 e79aa4dcee905..ef0e44941d98c 100644 --- a/api_docs/kbn_core_status_server.mdx +++ b/api_docs/kbn_core_status_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-status-server title: "@kbn/core-status-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-status-server plugin -date: 2024-01-16 +date: 2024-01-17 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 bd8d2678f3544..182ae45a7964c 100644 --- a/api_docs/kbn_core_status_server_internal.mdx +++ b/api_docs/kbn_core_status_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-status-server-internal title: "@kbn/core-status-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-status-server-internal plugin -date: 2024-01-16 +date: 2024-01-17 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 edd5f0268b77d..9de306c6e83da 100644 --- a/api_docs/kbn_core_status_server_mocks.mdx +++ b/api_docs/kbn_core_status_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-status-server-mocks title: "@kbn/core-status-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-status-server-mocks plugin -date: 2024-01-16 +date: 2024-01-17 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 cc2c9d90d2753..ff3dfc12b6ce9 100644 --- a/api_docs/kbn_core_test_helpers_deprecations_getters.mdx +++ b/api_docs/kbn_core_test_helpers_deprecations_getters.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-test-helpers-deprecations-getters title: "@kbn/core-test-helpers-deprecations-getters" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-test-helpers-deprecations-getters plugin -date: 2024-01-16 +date: 2024-01-17 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 52ae4e5caff1c..56ab72fae4417 100644 --- a/api_docs/kbn_core_test_helpers_http_setup_browser.mdx +++ b/api_docs/kbn_core_test_helpers_http_setup_browser.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-test-helpers-http-setup-browser title: "@kbn/core-test-helpers-http-setup-browser" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-test-helpers-http-setup-browser plugin -date: 2024-01-16 +date: 2024-01-17 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 7946523def66e..1abab66573c4a 100644 --- a/api_docs/kbn_core_test_helpers_kbn_server.mdx +++ b/api_docs/kbn_core_test_helpers_kbn_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-test-helpers-kbn-server title: "@kbn/core-test-helpers-kbn-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-test-helpers-kbn-server plugin -date: 2024-01-16 +date: 2024-01-17 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-test-helpers-kbn-server'] --- import kbnCoreTestHelpersKbnServerObj from './kbn_core_test_helpers_kbn_server.devdocs.json'; diff --git a/api_docs/kbn_core_test_helpers_model_versions.mdx b/api_docs/kbn_core_test_helpers_model_versions.mdx index 7f9ed2396ba8b..aba0873958af5 100644 --- a/api_docs/kbn_core_test_helpers_model_versions.mdx +++ b/api_docs/kbn_core_test_helpers_model_versions.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-test-helpers-model-versions title: "@kbn/core-test-helpers-model-versions" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-test-helpers-model-versions plugin -date: 2024-01-16 +date: 2024-01-17 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-test-helpers-model-versions'] --- import kbnCoreTestHelpersModelVersionsObj from './kbn_core_test_helpers_model_versions.devdocs.json'; diff --git a/api_docs/kbn_core_test_helpers_so_type_serializer.mdx b/api_docs/kbn_core_test_helpers_so_type_serializer.mdx index 456e84d86b201..7d41d0da238ff 100644 --- a/api_docs/kbn_core_test_helpers_so_type_serializer.mdx +++ b/api_docs/kbn_core_test_helpers_so_type_serializer.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-test-helpers-so-type-serializer title: "@kbn/core-test-helpers-so-type-serializer" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-test-helpers-so-type-serializer plugin -date: 2024-01-16 +date: 2024-01-17 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 4e2ca7fc29c10..59289e8ca1efa 100644 --- a/api_docs/kbn_core_test_helpers_test_utils.mdx +++ b/api_docs/kbn_core_test_helpers_test_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-test-helpers-test-utils title: "@kbn/core-test-helpers-test-utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-test-helpers-test-utils plugin -date: 2024-01-16 +date: 2024-01-17 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 1407ddb62da02..e256af77773f3 100644 --- a/api_docs/kbn_core_theme_browser.mdx +++ b/api_docs/kbn_core_theme_browser.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-theme-browser title: "@kbn/core-theme-browser" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-theme-browser plugin -date: 2024-01-16 +date: 2024-01-17 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-theme-browser'] --- import kbnCoreThemeBrowserObj from './kbn_core_theme_browser.devdocs.json'; diff --git a/api_docs/kbn_core_theme_browser_mocks.mdx b/api_docs/kbn_core_theme_browser_mocks.mdx index 2af4b154ebd19..3260d33008c30 100644 --- a/api_docs/kbn_core_theme_browser_mocks.mdx +++ b/api_docs/kbn_core_theme_browser_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-theme-browser-mocks title: "@kbn/core-theme-browser-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-theme-browser-mocks plugin -date: 2024-01-16 +date: 2024-01-17 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 2063565c2fad0..cac7f14246ff0 100644 --- a/api_docs/kbn_core_ui_settings_browser.mdx +++ b/api_docs/kbn_core_ui_settings_browser.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-ui-settings-browser title: "@kbn/core-ui-settings-browser" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-ui-settings-browser plugin -date: 2024-01-16 +date: 2024-01-17 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 f5141022a0b8c..b482831822689 100644 --- a/api_docs/kbn_core_ui_settings_browser_internal.mdx +++ b/api_docs/kbn_core_ui_settings_browser_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-ui-settings-browser-internal title: "@kbn/core-ui-settings-browser-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-ui-settings-browser-internal plugin -date: 2024-01-16 +date: 2024-01-17 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 5ba6713235b48..65c5971c9fd17 100644 --- a/api_docs/kbn_core_ui_settings_browser_mocks.mdx +++ b/api_docs/kbn_core_ui_settings_browser_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-ui-settings-browser-mocks title: "@kbn/core-ui-settings-browser-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-ui-settings-browser-mocks plugin -date: 2024-01-16 +date: 2024-01-17 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 49c0a0ecd3f4c..a5e10813a9414 100644 --- a/api_docs/kbn_core_ui_settings_common.mdx +++ b/api_docs/kbn_core_ui_settings_common.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-ui-settings-common title: "@kbn/core-ui-settings-common" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-ui-settings-common plugin -date: 2024-01-16 +date: 2024-01-17 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 df47926fe87ab..8ecbb0aaf7fbe 100644 --- a/api_docs/kbn_core_ui_settings_server.mdx +++ b/api_docs/kbn_core_ui_settings_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-ui-settings-server title: "@kbn/core-ui-settings-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-ui-settings-server plugin -date: 2024-01-16 +date: 2024-01-17 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 1a70236d63fca..37fd6a704010f 100644 --- a/api_docs/kbn_core_ui_settings_server_internal.mdx +++ b/api_docs/kbn_core_ui_settings_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-ui-settings-server-internal title: "@kbn/core-ui-settings-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-ui-settings-server-internal plugin -date: 2024-01-16 +date: 2024-01-17 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 2598cbe434a7e..51ef7855cc1c3 100644 --- a/api_docs/kbn_core_ui_settings_server_mocks.mdx +++ b/api_docs/kbn_core_ui_settings_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-ui-settings-server-mocks title: "@kbn/core-ui-settings-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-ui-settings-server-mocks plugin -date: 2024-01-16 +date: 2024-01-17 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 f8c395ecebe53..379d19a85b960 100644 --- a/api_docs/kbn_core_usage_data_server.mdx +++ b/api_docs/kbn_core_usage_data_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-usage-data-server title: "@kbn/core-usage-data-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-usage-data-server plugin -date: 2024-01-16 +date: 2024-01-17 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 009c7f6f4c495..a3847a79c70d3 100644 --- a/api_docs/kbn_core_usage_data_server_internal.mdx +++ b/api_docs/kbn_core_usage_data_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-usage-data-server-internal title: "@kbn/core-usage-data-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-usage-data-server-internal plugin -date: 2024-01-16 +date: 2024-01-17 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 4ca93d1148a3c..9e91a7fc0d2e7 100644 --- a/api_docs/kbn_core_usage_data_server_mocks.mdx +++ b/api_docs/kbn_core_usage_data_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-usage-data-server-mocks title: "@kbn/core-usage-data-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-usage-data-server-mocks plugin -date: 2024-01-16 +date: 2024-01-17 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 ba791e3e0b00b..9fde05cd1a254 100644 --- a/api_docs/kbn_core_user_settings_server.mdx +++ b/api_docs/kbn_core_user_settings_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-user-settings-server title: "@kbn/core-user-settings-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-user-settings-server plugin -date: 2024-01-16 +date: 2024-01-17 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 c427cacf7a131..9096107e24684 100644 --- a/api_docs/kbn_core_user_settings_server_internal.mdx +++ b/api_docs/kbn_core_user_settings_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-user-settings-server-internal title: "@kbn/core-user-settings-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-user-settings-server-internal plugin -date: 2024-01-16 +date: 2024-01-17 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 0ecd8df4e8f58..2175893ba2763 100644 --- a/api_docs/kbn_core_user_settings_server_mocks.mdx +++ b/api_docs/kbn_core_user_settings_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-user-settings-server-mocks title: "@kbn/core-user-settings-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-user-settings-server-mocks plugin -date: 2024-01-16 +date: 2024-01-17 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 88d1074ab1eb8..c3da468c904b8 100644 --- a/api_docs/kbn_crypto.mdx +++ b/api_docs/kbn_crypto.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-crypto title: "@kbn/crypto" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/crypto plugin -date: 2024-01-16 +date: 2024-01-17 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 8901317dc2f55..e58e85fd01287 100644 --- a/api_docs/kbn_crypto_browser.mdx +++ b/api_docs/kbn_crypto_browser.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-crypto-browser title: "@kbn/crypto-browser" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/crypto-browser plugin -date: 2024-01-16 +date: 2024-01-17 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/crypto-browser'] --- import kbnCryptoBrowserObj from './kbn_crypto_browser.devdocs.json'; diff --git a/api_docs/kbn_custom_icons.mdx b/api_docs/kbn_custom_icons.mdx index 44eaf0aa1c0cb..ccf791f294f88 100644 --- a/api_docs/kbn_custom_icons.mdx +++ b/api_docs/kbn_custom_icons.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-custom-icons title: "@kbn/custom-icons" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/custom-icons plugin -date: 2024-01-16 +date: 2024-01-17 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/custom-icons'] --- import kbnCustomIconsObj from './kbn_custom_icons.devdocs.json'; diff --git a/api_docs/kbn_custom_integrations.mdx b/api_docs/kbn_custom_integrations.mdx index 3ab1442889d32..aa081a3a66107 100644 --- a/api_docs/kbn_custom_integrations.mdx +++ b/api_docs/kbn_custom_integrations.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-custom-integrations title: "@kbn/custom-integrations" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/custom-integrations plugin -date: 2024-01-16 +date: 2024-01-17 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/custom-integrations'] --- import kbnCustomIntegrationsObj from './kbn_custom_integrations.devdocs.json'; diff --git a/api_docs/kbn_cypress_config.mdx b/api_docs/kbn_cypress_config.mdx index 718291c230b1b..358c4bf4b1d22 100644 --- a/api_docs/kbn_cypress_config.mdx +++ b/api_docs/kbn_cypress_config.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-cypress-config title: "@kbn/cypress-config" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/cypress-config plugin -date: 2024-01-16 +date: 2024-01-17 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 4a31e9333d173..71acbe9c31b37 100644 --- a/api_docs/kbn_data_service.mdx +++ b/api_docs/kbn_data_service.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-data-service title: "@kbn/data-service" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/data-service plugin -date: 2024-01-16 +date: 2024-01-17 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 e01550c6ae64b..28bb3449f3194 100644 --- a/api_docs/kbn_datemath.mdx +++ b/api_docs/kbn_datemath.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-datemath title: "@kbn/datemath" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/datemath plugin -date: 2024-01-16 +date: 2024-01-17 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 948c8673c7e8a..142b83eea4859 100644 --- a/api_docs/kbn_deeplinks_analytics.mdx +++ b/api_docs/kbn_deeplinks_analytics.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-deeplinks-analytics title: "@kbn/deeplinks-analytics" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/deeplinks-analytics plugin -date: 2024-01-16 +date: 2024-01-17 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 f4a62024811a8..eaed998ae235b 100644 --- a/api_docs/kbn_deeplinks_devtools.mdx +++ b/api_docs/kbn_deeplinks_devtools.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-deeplinks-devtools title: "@kbn/deeplinks-devtools" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/deeplinks-devtools plugin -date: 2024-01-16 +date: 2024-01-17 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 6c4226c5c2ed9..a3086a0ab3b01 100644 --- a/api_docs/kbn_deeplinks_management.mdx +++ b/api_docs/kbn_deeplinks_management.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-deeplinks-management title: "@kbn/deeplinks-management" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/deeplinks-management plugin -date: 2024-01-16 +date: 2024-01-17 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 5d204bbfef835..fa76c13e1cf9f 100644 --- a/api_docs/kbn_deeplinks_ml.mdx +++ b/api_docs/kbn_deeplinks_ml.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-deeplinks-ml title: "@kbn/deeplinks-ml" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/deeplinks-ml plugin -date: 2024-01-16 +date: 2024-01-17 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 8d06c25b23ab8..11edb84fed781 100644 --- a/api_docs/kbn_deeplinks_observability.mdx +++ b/api_docs/kbn_deeplinks_observability.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-deeplinks-observability title: "@kbn/deeplinks-observability" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/deeplinks-observability plugin -date: 2024-01-16 +date: 2024-01-17 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 e69aaaa01fff2..51cbd7a190ca3 100644 --- a/api_docs/kbn_deeplinks_search.mdx +++ b/api_docs/kbn_deeplinks_search.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-deeplinks-search title: "@kbn/deeplinks-search" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/deeplinks-search plugin -date: 2024-01-16 +date: 2024-01-17 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 4446f32ab16b6..d5c4881691ad6 100644 --- a/api_docs/kbn_default_nav_analytics.mdx +++ b/api_docs/kbn_default_nav_analytics.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-default-nav-analytics title: "@kbn/default-nav-analytics" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/default-nav-analytics plugin -date: 2024-01-16 +date: 2024-01-17 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 b6e98c4116768..b05f00c4caeac 100644 --- a/api_docs/kbn_default_nav_devtools.mdx +++ b/api_docs/kbn_default_nav_devtools.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-default-nav-devtools title: "@kbn/default-nav-devtools" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/default-nav-devtools plugin -date: 2024-01-16 +date: 2024-01-17 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 bbee5dbf49951..460e6dd727dea 100644 --- a/api_docs/kbn_default_nav_management.mdx +++ b/api_docs/kbn_default_nav_management.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-default-nav-management title: "@kbn/default-nav-management" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/default-nav-management plugin -date: 2024-01-16 +date: 2024-01-17 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 1555ad90ec8de..b0ae9d3875c84 100644 --- a/api_docs/kbn_default_nav_ml.mdx +++ b/api_docs/kbn_default_nav_ml.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-default-nav-ml title: "@kbn/default-nav-ml" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/default-nav-ml plugin -date: 2024-01-16 +date: 2024-01-17 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 2c4b28a48feb6..24d4c16137bcc 100644 --- a/api_docs/kbn_dev_cli_errors.mdx +++ b/api_docs/kbn_dev_cli_errors.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-dev-cli-errors title: "@kbn/dev-cli-errors" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/dev-cli-errors plugin -date: 2024-01-16 +date: 2024-01-17 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 25031426624ec..4cbdba5ef189b 100644 --- a/api_docs/kbn_dev_cli_runner.mdx +++ b/api_docs/kbn_dev_cli_runner.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-dev-cli-runner title: "@kbn/dev-cli-runner" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/dev-cli-runner plugin -date: 2024-01-16 +date: 2024-01-17 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 640b7d56e4a15..b99a49de23657 100644 --- a/api_docs/kbn_dev_proc_runner.mdx +++ b/api_docs/kbn_dev_proc_runner.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-dev-proc-runner title: "@kbn/dev-proc-runner" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/dev-proc-runner plugin -date: 2024-01-16 +date: 2024-01-17 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 a7155c8354c7d..43a493a76b51a 100644 --- a/api_docs/kbn_dev_utils.mdx +++ b/api_docs/kbn_dev_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-dev-utils title: "@kbn/dev-utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/dev-utils plugin -date: 2024-01-16 +date: 2024-01-17 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/dev-utils'] --- import kbnDevUtilsObj from './kbn_dev_utils.devdocs.json'; diff --git a/api_docs/kbn_discover_utils.mdx b/api_docs/kbn_discover_utils.mdx index 842422e73665e..d940f1282582e 100644 --- a/api_docs/kbn_discover_utils.mdx +++ b/api_docs/kbn_discover_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-discover-utils title: "@kbn/discover-utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/discover-utils plugin -date: 2024-01-16 +date: 2024-01-17 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/discover-utils'] --- import kbnDiscoverUtilsObj from './kbn_discover_utils.devdocs.json'; diff --git a/api_docs/kbn_doc_links.mdx b/api_docs/kbn_doc_links.mdx index 0048a0620b760..05ec4a4839541 100644 --- a/api_docs/kbn_doc_links.mdx +++ b/api_docs/kbn_doc_links.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-doc-links title: "@kbn/doc-links" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/doc-links plugin -date: 2024-01-16 +date: 2024-01-17 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 edc4d2d2f6f89..8e58187c73d72 100644 --- a/api_docs/kbn_docs_utils.mdx +++ b/api_docs/kbn_docs_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-docs-utils title: "@kbn/docs-utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/docs-utils plugin -date: 2024-01-16 +date: 2024-01-17 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 6fbd68f212e3e..effd16d26c382 100644 --- a/api_docs/kbn_dom_drag_drop.mdx +++ b/api_docs/kbn_dom_drag_drop.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-dom-drag-drop title: "@kbn/dom-drag-drop" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/dom-drag-drop plugin -date: 2024-01-16 +date: 2024-01-17 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 d9b857afd18c4..368bec224624a 100644 --- a/api_docs/kbn_ebt_tools.mdx +++ b/api_docs/kbn_ebt_tools.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ebt-tools title: "@kbn/ebt-tools" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ebt-tools plugin -date: 2024-01-16 +date: 2024-01-17 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 9e8c0adf746f2..acd4253e8cd7b 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: 2024-01-16 +date: 2024-01-17 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 437ab75018e3b..4e5563eb63ddc 100644 --- a/api_docs/kbn_ecs_data_quality_dashboard.mdx +++ b/api_docs/kbn_ecs_data_quality_dashboard.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ecs-data-quality-dashboard title: "@kbn/ecs-data-quality-dashboard" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ecs-data-quality-dashboard plugin -date: 2024-01-16 +date: 2024-01-17 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ecs-data-quality-dashboard'] --- import kbnEcsDataQualityDashboardObj from './kbn_ecs_data_quality_dashboard.devdocs.json'; diff --git a/api_docs/kbn_elastic_agent_utils.mdx b/api_docs/kbn_elastic_agent_utils.mdx index 74bb6402575b4..def2b0570903b 100644 --- a/api_docs/kbn_elastic_agent_utils.mdx +++ b/api_docs/kbn_elastic_agent_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-elastic-agent-utils title: "@kbn/elastic-agent-utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/elastic-agent-utils plugin -date: 2024-01-16 +date: 2024-01-17 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/elastic-agent-utils'] --- import kbnElasticAgentUtilsObj from './kbn_elastic_agent_utils.devdocs.json'; diff --git a/api_docs/kbn_elastic_assistant.mdx b/api_docs/kbn_elastic_assistant.mdx index af86b22618154..a1dc01d0c39c4 100644 --- a/api_docs/kbn_elastic_assistant.mdx +++ b/api_docs/kbn_elastic_assistant.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-elastic-assistant title: "@kbn/elastic-assistant" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/elastic-assistant plugin -date: 2024-01-16 +date: 2024-01-17 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/elastic-assistant'] --- import kbnElasticAssistantObj from './kbn_elastic_assistant.devdocs.json'; diff --git a/api_docs/kbn_elastic_assistant_common.mdx b/api_docs/kbn_elastic_assistant_common.mdx index 9aa798875aaf0..0b38361fd8029 100644 --- a/api_docs/kbn_elastic_assistant_common.mdx +++ b/api_docs/kbn_elastic_assistant_common.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-elastic-assistant-common title: "@kbn/elastic-assistant-common" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/elastic-assistant-common plugin -date: 2024-01-16 +date: 2024-01-17 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/elastic-assistant-common'] --- import kbnElasticAssistantCommonObj from './kbn_elastic_assistant_common.devdocs.json'; diff --git a/api_docs/kbn_es.mdx b/api_docs/kbn_es.mdx index a3e3d57d78eb1..f4405dba38cc8 100644 --- a/api_docs/kbn_es.mdx +++ b/api_docs/kbn_es.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-es title: "@kbn/es" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/es plugin -date: 2024-01-16 +date: 2024-01-17 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 0f8bff3d96029..9cb420faa0a10 100644 --- a/api_docs/kbn_es_archiver.mdx +++ b/api_docs/kbn_es_archiver.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-es-archiver title: "@kbn/es-archiver" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/es-archiver plugin -date: 2024-01-16 +date: 2024-01-17 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 61635cfc5e652..f1f9f33d779e1 100644 --- a/api_docs/kbn_es_errors.mdx +++ b/api_docs/kbn_es_errors.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-es-errors title: "@kbn/es-errors" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/es-errors plugin -date: 2024-01-16 +date: 2024-01-17 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 0c8b903f16d77..6b679995f4175 100644 --- a/api_docs/kbn_es_query.mdx +++ b/api_docs/kbn_es_query.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-es-query title: "@kbn/es-query" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/es-query plugin -date: 2024-01-16 +date: 2024-01-17 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 46d26d4b44b4e..c4655a938faea 100644 --- a/api_docs/kbn_es_types.mdx +++ b/api_docs/kbn_es_types.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-es-types title: "@kbn/es-types" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/es-types plugin -date: 2024-01-16 +date: 2024-01-17 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 62750e076939c..41856244a19e0 100644 --- a/api_docs/kbn_eslint_plugin_imports.mdx +++ b/api_docs/kbn_eslint_plugin_imports.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-eslint-plugin-imports title: "@kbn/eslint-plugin-imports" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/eslint-plugin-imports plugin -date: 2024-01-16 +date: 2024-01-17 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/eslint-plugin-imports'] --- import kbnEslintPluginImportsObj from './kbn_eslint_plugin_imports.devdocs.json'; diff --git a/api_docs/kbn_event_annotation_common.mdx b/api_docs/kbn_event_annotation_common.mdx index f24faabf61b28..96dae44b12124 100644 --- a/api_docs/kbn_event_annotation_common.mdx +++ b/api_docs/kbn_event_annotation_common.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-event-annotation-common title: "@kbn/event-annotation-common" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/event-annotation-common plugin -date: 2024-01-16 +date: 2024-01-17 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/event-annotation-common'] --- import kbnEventAnnotationCommonObj from './kbn_event_annotation_common.devdocs.json'; diff --git a/api_docs/kbn_event_annotation_components.mdx b/api_docs/kbn_event_annotation_components.mdx index c2b1fc3666d13..9f460344583c8 100644 --- a/api_docs/kbn_event_annotation_components.mdx +++ b/api_docs/kbn_event_annotation_components.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-event-annotation-components title: "@kbn/event-annotation-components" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/event-annotation-components plugin -date: 2024-01-16 +date: 2024-01-17 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/event-annotation-components'] --- import kbnEventAnnotationComponentsObj from './kbn_event_annotation_components.devdocs.json'; diff --git a/api_docs/kbn_expandable_flyout.mdx b/api_docs/kbn_expandable_flyout.mdx index 7a3dd342af76a..ce44209d426a5 100644 --- a/api_docs/kbn_expandable_flyout.mdx +++ b/api_docs/kbn_expandable_flyout.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-expandable-flyout title: "@kbn/expandable-flyout" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/expandable-flyout plugin -date: 2024-01-16 +date: 2024-01-17 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 e9fe23c1eac86..43c47846d3e4b 100644 --- a/api_docs/kbn_field_types.mdx +++ b/api_docs/kbn_field_types.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-field-types title: "@kbn/field-types" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/field-types plugin -date: 2024-01-16 +date: 2024-01-17 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/field-types'] --- import kbnFieldTypesObj from './kbn_field_types.devdocs.json'; diff --git a/api_docs/kbn_field_utils.mdx b/api_docs/kbn_field_utils.mdx index 1720fdc4aa01e..9697f72a3cd12 100644 --- a/api_docs/kbn_field_utils.mdx +++ b/api_docs/kbn_field_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-field-utils title: "@kbn/field-utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/field-utils plugin -date: 2024-01-16 +date: 2024-01-17 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/field-utils'] --- import kbnFieldUtilsObj from './kbn_field_utils.devdocs.json'; diff --git a/api_docs/kbn_find_used_node_modules.mdx b/api_docs/kbn_find_used_node_modules.mdx index b89c32f9af52e..9d09ae7ee6fe8 100644 --- a/api_docs/kbn_find_used_node_modules.mdx +++ b/api_docs/kbn_find_used_node_modules.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-find-used-node-modules title: "@kbn/find-used-node-modules" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/find-used-node-modules plugin -date: 2024-01-16 +date: 2024-01-17 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 8e93d456b3ee8..b09907c99bcde 100644 --- a/api_docs/kbn_ftr_common_functional_services.mdx +++ b/api_docs/kbn_ftr_common_functional_services.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ftr-common-functional-services title: "@kbn/ftr-common-functional-services" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ftr-common-functional-services plugin -date: 2024-01-16 +date: 2024-01-17 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ftr-common-functional-services'] --- import kbnFtrCommonFunctionalServicesObj from './kbn_ftr_common_functional_services.devdocs.json'; diff --git a/api_docs/kbn_ftr_common_functional_ui_services.mdx b/api_docs/kbn_ftr_common_functional_ui_services.mdx index 46258a339d597..71fd14dbc58a3 100644 --- a/api_docs/kbn_ftr_common_functional_ui_services.mdx +++ b/api_docs/kbn_ftr_common_functional_ui_services.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ftr-common-functional-ui-services title: "@kbn/ftr-common-functional-ui-services" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ftr-common-functional-ui-services plugin -date: 2024-01-16 +date: 2024-01-17 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ftr-common-functional-ui-services'] --- import kbnFtrCommonFunctionalUiServicesObj from './kbn_ftr_common_functional_ui_services.devdocs.json'; diff --git a/api_docs/kbn_generate.mdx b/api_docs/kbn_generate.mdx index f6e26bd9e838a..15d0582429a89 100644 --- a/api_docs/kbn_generate.mdx +++ b/api_docs/kbn_generate.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-generate title: "@kbn/generate" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/generate plugin -date: 2024-01-16 +date: 2024-01-17 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 5828fef0dab74..597bc86e3d847 100644 --- a/api_docs/kbn_generate_console_definitions.mdx +++ b/api_docs/kbn_generate_console_definitions.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-generate-console-definitions title: "@kbn/generate-console-definitions" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/generate-console-definitions plugin -date: 2024-01-16 +date: 2024-01-17 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.devdocs.json b/api_docs/kbn_generate_csv.devdocs.json index 1efbfc40df388..6445fa676e2c2 100644 --- a/api_docs/kbn_generate_csv.devdocs.json +++ b/api_docs/kbn_generate_csv.devdocs.json @@ -80,6 +80,21 @@ "id": "def-server.CsvGenerator.Unnamed.$3", "type": "Object", "tags": [], + "label": "taskInstanceFields", + "description": [], + "signature": [ + "TaskInstanceFields" + ], + "path": "packages/kbn-generate-csv/src/generate_csv.ts", + "deprecated": false, + "trackAdoption": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/generate-csv", + "id": "def-server.CsvGenerator.Unnamed.$4", + "type": "Object", + "tags": [], "label": "clients", "description": [], "signature": [ @@ -92,7 +107,7 @@ }, { "parentPluginId": "@kbn/generate-csv", - "id": "def-server.CsvGenerator.Unnamed.$4", + "id": "def-server.CsvGenerator.Unnamed.$5", "type": "Object", "tags": [], "label": "dependencies", @@ -107,7 +122,7 @@ }, { "parentPluginId": "@kbn/generate-csv", - "id": "def-server.CsvGenerator.Unnamed.$5", + "id": "def-server.CsvGenerator.Unnamed.$6", "type": "Object", "tags": [], "label": "cancellationToken", @@ -128,7 +143,7 @@ }, { "parentPluginId": "@kbn/generate-csv", - "id": "def-server.CsvGenerator.Unnamed.$6", + "id": "def-server.CsvGenerator.Unnamed.$7", "type": "Object", "tags": [], "label": "logger", @@ -149,7 +164,7 @@ }, { "parentPluginId": "@kbn/generate-csv", - "id": "def-server.CsvGenerator.Unnamed.$7", + "id": "def-server.CsvGenerator.Unnamed.$8", "type": "Object", "tags": [], "label": "stream", diff --git a/api_docs/kbn_generate_csv.mdx b/api_docs/kbn_generate_csv.mdx index 351f6689673b3..430f4e683db92 100644 --- a/api_docs/kbn_generate_csv.mdx +++ b/api_docs/kbn_generate_csv.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-generate-csv title: "@kbn/generate-csv" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/generate-csv plugin -date: 2024-01-16 +date: 2024-01-17 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/generate-csv'] --- import kbnGenerateCsvObj from './kbn_generate_csv.devdocs.json'; @@ -21,7 +21,7 @@ Contact [@elastic/appex-sharedux](https://github.com/orgs/elastic/teams/appex-sh | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 10 | 0 | 10 | 1 | +| 11 | 0 | 11 | 1 | ## Server diff --git a/api_docs/kbn_guided_onboarding.mdx b/api_docs/kbn_guided_onboarding.mdx index 2452e855755ed..5a5306a42f2cd 100644 --- a/api_docs/kbn_guided_onboarding.mdx +++ b/api_docs/kbn_guided_onboarding.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-guided-onboarding title: "@kbn/guided-onboarding" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/guided-onboarding plugin -date: 2024-01-16 +date: 2024-01-17 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 282dde58b8fad..6faa5216524e3 100644 --- a/api_docs/kbn_handlebars.mdx +++ b/api_docs/kbn_handlebars.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-handlebars title: "@kbn/handlebars" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/handlebars plugin -date: 2024-01-16 +date: 2024-01-17 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 02cf074c3fb0a..44c3aa4c44750 100644 --- a/api_docs/kbn_hapi_mocks.mdx +++ b/api_docs/kbn_hapi_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-hapi-mocks title: "@kbn/hapi-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/hapi-mocks plugin -date: 2024-01-16 +date: 2024-01-17 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 640a7edee0cf2..580adf0a1b2da 100644 --- a/api_docs/kbn_health_gateway_server.mdx +++ b/api_docs/kbn_health_gateway_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-health-gateway-server title: "@kbn/health-gateway-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/health-gateway-server plugin -date: 2024-01-16 +date: 2024-01-17 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 77554dc2cdc48..3e19cb95c0f5d 100644 --- a/api_docs/kbn_home_sample_data_card.mdx +++ b/api_docs/kbn_home_sample_data_card.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-home-sample-data-card title: "@kbn/home-sample-data-card" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/home-sample-data-card plugin -date: 2024-01-16 +date: 2024-01-17 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 6a9afb085b7db..f0d5eff1827fe 100644 --- a/api_docs/kbn_home_sample_data_tab.mdx +++ b/api_docs/kbn_home_sample_data_tab.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-home-sample-data-tab title: "@kbn/home-sample-data-tab" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/home-sample-data-tab plugin -date: 2024-01-16 +date: 2024-01-17 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 5153f057570e9..71b0398926ca2 100644 --- a/api_docs/kbn_i18n.mdx +++ b/api_docs/kbn_i18n.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-i18n title: "@kbn/i18n" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/i18n plugin -date: 2024-01-16 +date: 2024-01-17 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 ed044ff9d4291..2f4a4ab900eb4 100644 --- a/api_docs/kbn_i18n_react.mdx +++ b/api_docs/kbn_i18n_react.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-i18n-react title: "@kbn/i18n-react" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/i18n-react plugin -date: 2024-01-16 +date: 2024-01-17 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 d9432bedfceb2..5767976c1a7d5 100644 --- a/api_docs/kbn_import_resolver.mdx +++ b/api_docs/kbn_import_resolver.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-import-resolver title: "@kbn/import-resolver" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/import-resolver plugin -date: 2024-01-16 +date: 2024-01-17 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 4fd1bc796fc8d..296275cb3ec17 100644 --- a/api_docs/kbn_infra_forge.mdx +++ b/api_docs/kbn_infra_forge.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-infra-forge title: "@kbn/infra-forge" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/infra-forge plugin -date: 2024-01-16 +date: 2024-01-17 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 0bcbdd3049cd6..8d3345f7503cd 100644 --- a/api_docs/kbn_interpreter.mdx +++ b/api_docs/kbn_interpreter.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-interpreter title: "@kbn/interpreter" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/interpreter plugin -date: 2024-01-16 +date: 2024-01-17 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 41b5467390a0f..1ac96012c2f1c 100644 --- a/api_docs/kbn_io_ts_utils.mdx +++ b/api_docs/kbn_io_ts_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-io-ts-utils title: "@kbn/io-ts-utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/io-ts-utils plugin -date: 2024-01-16 +date: 2024-01-17 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 b5d63f0935f3c..b0a81c9f30064 100644 --- a/api_docs/kbn_jest_serializers.mdx +++ b/api_docs/kbn_jest_serializers.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-jest-serializers title: "@kbn/jest-serializers" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/jest-serializers plugin -date: 2024-01-16 +date: 2024-01-17 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 72116ac0c1f4a..7f34d4121a2cb 100644 --- a/api_docs/kbn_journeys.mdx +++ b/api_docs/kbn_journeys.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-journeys title: "@kbn/journeys" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/journeys plugin -date: 2024-01-16 +date: 2024-01-17 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 86a404056e075..bf306978b0806 100644 --- a/api_docs/kbn_json_ast.mdx +++ b/api_docs/kbn_json_ast.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-json-ast title: "@kbn/json-ast" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/json-ast plugin -date: 2024-01-16 +date: 2024-01-17 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 d367725961821..bd7228d726e0d 100644 --- a/api_docs/kbn_kibana_manifest_schema.mdx +++ b/api_docs/kbn_kibana_manifest_schema.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-kibana-manifest-schema title: "@kbn/kibana-manifest-schema" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/kibana-manifest-schema plugin -date: 2024-01-16 +date: 2024-01-17 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 d6067a1b7ab26..af3ba8662fae5 100644 --- a/api_docs/kbn_language_documentation_popover.mdx +++ b/api_docs/kbn_language_documentation_popover.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-language-documentation-popover title: "@kbn/language-documentation-popover" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/language-documentation-popover plugin -date: 2024-01-16 +date: 2024-01-17 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/language-documentation-popover'] --- import kbnLanguageDocumentationPopoverObj from './kbn_language_documentation_popover.devdocs.json'; diff --git a/api_docs/kbn_lens_embeddable_utils.mdx b/api_docs/kbn_lens_embeddable_utils.mdx index e1873de3f6eaf..e17553e692b1b 100644 --- a/api_docs/kbn_lens_embeddable_utils.mdx +++ b/api_docs/kbn_lens_embeddable_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-lens-embeddable-utils title: "@kbn/lens-embeddable-utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/lens-embeddable-utils plugin -date: 2024-01-16 +date: 2024-01-17 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/lens-embeddable-utils'] --- import kbnLensEmbeddableUtilsObj from './kbn_lens_embeddable_utils.devdocs.json'; diff --git a/api_docs/kbn_lens_formula_docs.mdx b/api_docs/kbn_lens_formula_docs.mdx index 3cfc1fb71baee..948c4379e1df3 100644 --- a/api_docs/kbn_lens_formula_docs.mdx +++ b/api_docs/kbn_lens_formula_docs.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-lens-formula-docs title: "@kbn/lens-formula-docs" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/lens-formula-docs plugin -date: 2024-01-16 +date: 2024-01-17 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/lens-formula-docs'] --- import kbnLensFormulaDocsObj from './kbn_lens_formula_docs.devdocs.json'; diff --git a/api_docs/kbn_logging.mdx b/api_docs/kbn_logging.mdx index 0c6e9fc45cd62..4edef5b853f71 100644 --- a/api_docs/kbn_logging.mdx +++ b/api_docs/kbn_logging.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-logging title: "@kbn/logging" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/logging plugin -date: 2024-01-16 +date: 2024-01-17 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 e8d222cf5f2e2..d0a5a7b00b2d3 100644 --- a/api_docs/kbn_logging_mocks.mdx +++ b/api_docs/kbn_logging_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-logging-mocks title: "@kbn/logging-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/logging-mocks plugin -date: 2024-01-16 +date: 2024-01-17 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 6355323af812d..eee160df6e70a 100644 --- a/api_docs/kbn_managed_vscode_config.mdx +++ b/api_docs/kbn_managed_vscode_config.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-managed-vscode-config title: "@kbn/managed-vscode-config" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/managed-vscode-config plugin -date: 2024-01-16 +date: 2024-01-17 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 774c5adbe22a6..95f1d64923610 100644 --- a/api_docs/kbn_management_cards_navigation.mdx +++ b/api_docs/kbn_management_cards_navigation.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-management-cards-navigation title: "@kbn/management-cards-navigation" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/management-cards-navigation plugin -date: 2024-01-16 +date: 2024-01-17 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/management-cards-navigation'] --- import kbnManagementCardsNavigationObj from './kbn_management_cards_navigation.devdocs.json'; diff --git a/api_docs/kbn_management_settings_application.mdx b/api_docs/kbn_management_settings_application.mdx index c31cf1905dfc5..bc106c2dbd174 100644 --- a/api_docs/kbn_management_settings_application.mdx +++ b/api_docs/kbn_management_settings_application.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-management-settings-application title: "@kbn/management-settings-application" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/management-settings-application plugin -date: 2024-01-16 +date: 2024-01-17 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/management-settings-application'] --- import kbnManagementSettingsApplicationObj from './kbn_management_settings_application.devdocs.json'; diff --git a/api_docs/kbn_management_settings_components_field_category.mdx b/api_docs/kbn_management_settings_components_field_category.mdx index 3218c6992f30f..62298ba9867bf 100644 --- a/api_docs/kbn_management_settings_components_field_category.mdx +++ b/api_docs/kbn_management_settings_components_field_category.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-management-settings-components-field-category title: "@kbn/management-settings-components-field-category" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/management-settings-components-field-category plugin -date: 2024-01-16 +date: 2024-01-17 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/management-settings-components-field-category'] --- import kbnManagementSettingsComponentsFieldCategoryObj from './kbn_management_settings_components_field_category.devdocs.json'; diff --git a/api_docs/kbn_management_settings_components_field_input.mdx b/api_docs/kbn_management_settings_components_field_input.mdx index fe91a2aab8d8f..c2b5ac080f6aa 100644 --- a/api_docs/kbn_management_settings_components_field_input.mdx +++ b/api_docs/kbn_management_settings_components_field_input.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-management-settings-components-field-input title: "@kbn/management-settings-components-field-input" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/management-settings-components-field-input plugin -date: 2024-01-16 +date: 2024-01-17 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/management-settings-components-field-input'] --- import kbnManagementSettingsComponentsFieldInputObj from './kbn_management_settings_components_field_input.devdocs.json'; diff --git a/api_docs/kbn_management_settings_components_field_row.mdx b/api_docs/kbn_management_settings_components_field_row.mdx index 857f67726737e..90619f3d82332 100644 --- a/api_docs/kbn_management_settings_components_field_row.mdx +++ b/api_docs/kbn_management_settings_components_field_row.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-management-settings-components-field-row title: "@kbn/management-settings-components-field-row" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/management-settings-components-field-row plugin -date: 2024-01-16 +date: 2024-01-17 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/management-settings-components-field-row'] --- import kbnManagementSettingsComponentsFieldRowObj from './kbn_management_settings_components_field_row.devdocs.json'; diff --git a/api_docs/kbn_management_settings_components_form.mdx b/api_docs/kbn_management_settings_components_form.mdx index 4c96f9f06ad86..97acb5545f197 100644 --- a/api_docs/kbn_management_settings_components_form.mdx +++ b/api_docs/kbn_management_settings_components_form.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-management-settings-components-form title: "@kbn/management-settings-components-form" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/management-settings-components-form plugin -date: 2024-01-16 +date: 2024-01-17 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/management-settings-components-form'] --- import kbnManagementSettingsComponentsFormObj from './kbn_management_settings_components_form.devdocs.json'; diff --git a/api_docs/kbn_management_settings_field_definition.mdx b/api_docs/kbn_management_settings_field_definition.mdx index 6481cfc232e3b..ab03c01a1b674 100644 --- a/api_docs/kbn_management_settings_field_definition.mdx +++ b/api_docs/kbn_management_settings_field_definition.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-management-settings-field-definition title: "@kbn/management-settings-field-definition" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/management-settings-field-definition plugin -date: 2024-01-16 +date: 2024-01-17 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/management-settings-field-definition'] --- import kbnManagementSettingsFieldDefinitionObj from './kbn_management_settings_field_definition.devdocs.json'; diff --git a/api_docs/kbn_management_settings_ids.mdx b/api_docs/kbn_management_settings_ids.mdx index e593b7ac12c0b..43b43a711e967 100644 --- a/api_docs/kbn_management_settings_ids.mdx +++ b/api_docs/kbn_management_settings_ids.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-management-settings-ids title: "@kbn/management-settings-ids" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/management-settings-ids plugin -date: 2024-01-16 +date: 2024-01-17 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/management-settings-ids'] --- import kbnManagementSettingsIdsObj from './kbn_management_settings_ids.devdocs.json'; diff --git a/api_docs/kbn_management_settings_section_registry.mdx b/api_docs/kbn_management_settings_section_registry.mdx index 2117bd7449833..d30125df54235 100644 --- a/api_docs/kbn_management_settings_section_registry.mdx +++ b/api_docs/kbn_management_settings_section_registry.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-management-settings-section-registry title: "@kbn/management-settings-section-registry" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/management-settings-section-registry plugin -date: 2024-01-16 +date: 2024-01-17 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/management-settings-section-registry'] --- import kbnManagementSettingsSectionRegistryObj from './kbn_management_settings_section_registry.devdocs.json'; diff --git a/api_docs/kbn_management_settings_types.mdx b/api_docs/kbn_management_settings_types.mdx index 44776f64768ac..384b5e320478f 100644 --- a/api_docs/kbn_management_settings_types.mdx +++ b/api_docs/kbn_management_settings_types.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-management-settings-types title: "@kbn/management-settings-types" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/management-settings-types plugin -date: 2024-01-16 +date: 2024-01-17 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/management-settings-types'] --- import kbnManagementSettingsTypesObj from './kbn_management_settings_types.devdocs.json'; diff --git a/api_docs/kbn_management_settings_utilities.mdx b/api_docs/kbn_management_settings_utilities.mdx index 75fe25651c974..6664fedc5ea61 100644 --- a/api_docs/kbn_management_settings_utilities.mdx +++ b/api_docs/kbn_management_settings_utilities.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-management-settings-utilities title: "@kbn/management-settings-utilities" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/management-settings-utilities plugin -date: 2024-01-16 +date: 2024-01-17 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/management-settings-utilities'] --- import kbnManagementSettingsUtilitiesObj from './kbn_management_settings_utilities.devdocs.json'; diff --git a/api_docs/kbn_management_storybook_config.mdx b/api_docs/kbn_management_storybook_config.mdx index b579a9c551abd..3c465085c7612 100644 --- a/api_docs/kbn_management_storybook_config.mdx +++ b/api_docs/kbn_management_storybook_config.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-management-storybook-config title: "@kbn/management-storybook-config" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/management-storybook-config plugin -date: 2024-01-16 +date: 2024-01-17 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 ab586e6c67609..76305d99ed0a9 100644 --- a/api_docs/kbn_mapbox_gl.mdx +++ b/api_docs/kbn_mapbox_gl.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-mapbox-gl title: "@kbn/mapbox-gl" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/mapbox-gl plugin -date: 2024-01-16 +date: 2024-01-17 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 e74a616a44a74..bc3794b4020a8 100644 --- a/api_docs/kbn_maps_vector_tile_utils.mdx +++ b/api_docs/kbn_maps_vector_tile_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-maps-vector-tile-utils title: "@kbn/maps-vector-tile-utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/maps-vector-tile-utils plugin -date: 2024-01-16 +date: 2024-01-17 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 5a739b128c83a..ada8087342932 100644 --- a/api_docs/kbn_ml_agg_utils.mdx +++ b/api_docs/kbn_ml_agg_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ml-agg-utils title: "@kbn/ml-agg-utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ml-agg-utils plugin -date: 2024-01-16 +date: 2024-01-17 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 b16664a213e99..ceeccff383c58 100644 --- a/api_docs/kbn_ml_anomaly_utils.mdx +++ b/api_docs/kbn_ml_anomaly_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ml-anomaly-utils title: "@kbn/ml-anomaly-utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ml-anomaly-utils plugin -date: 2024-01-16 +date: 2024-01-17 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_category_validator.mdx b/api_docs/kbn_ml_category_validator.mdx index 13c905d353de7..fc6908f937070 100644 --- a/api_docs/kbn_ml_category_validator.mdx +++ b/api_docs/kbn_ml_category_validator.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ml-category-validator title: "@kbn/ml-category-validator" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ml-category-validator plugin -date: 2024-01-16 +date: 2024-01-17 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ml-category-validator'] --- import kbnMlCategoryValidatorObj from './kbn_ml_category_validator.devdocs.json'; diff --git a/api_docs/kbn_ml_chi2test.mdx b/api_docs/kbn_ml_chi2test.mdx index bde774c8b5784..275aeafcbb57f 100644 --- a/api_docs/kbn_ml_chi2test.mdx +++ b/api_docs/kbn_ml_chi2test.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ml-chi2test title: "@kbn/ml-chi2test" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ml-chi2test plugin -date: 2024-01-16 +date: 2024-01-17 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ml-chi2test'] --- import kbnMlChi2testObj from './kbn_ml_chi2test.devdocs.json'; diff --git a/api_docs/kbn_ml_data_frame_analytics_utils.mdx b/api_docs/kbn_ml_data_frame_analytics_utils.mdx index 766d7392c500b..b480755be4f7c 100644 --- a/api_docs/kbn_ml_data_frame_analytics_utils.mdx +++ b/api_docs/kbn_ml_data_frame_analytics_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ml-data-frame-analytics-utils title: "@kbn/ml-data-frame-analytics-utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ml-data-frame-analytics-utils plugin -date: 2024-01-16 +date: 2024-01-17 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 abb25a85ed4ad..52473d040fef2 100644 --- a/api_docs/kbn_ml_data_grid.mdx +++ b/api_docs/kbn_ml_data_grid.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ml-data-grid title: "@kbn/ml-data-grid" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ml-data-grid plugin -date: 2024-01-16 +date: 2024-01-17 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 821347f8cf10b..de509e0d3e9be 100644 --- a/api_docs/kbn_ml_date_picker.mdx +++ b/api_docs/kbn_ml_date_picker.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ml-date-picker title: "@kbn/ml-date-picker" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ml-date-picker plugin -date: 2024-01-16 +date: 2024-01-17 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 71f0badbf1fe9..68e16ec14577f 100644 --- a/api_docs/kbn_ml_date_utils.mdx +++ b/api_docs/kbn_ml_date_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ml-date-utils title: "@kbn/ml-date-utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ml-date-utils plugin -date: 2024-01-16 +date: 2024-01-17 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 20b98254a61de..9712d3b2c189b 100644 --- a/api_docs/kbn_ml_error_utils.mdx +++ b/api_docs/kbn_ml_error_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ml-error-utils title: "@kbn/ml-error-utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ml-error-utils plugin -date: 2024-01-16 +date: 2024-01-17 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ml-error-utils'] --- import kbnMlErrorUtilsObj from './kbn_ml_error_utils.devdocs.json'; diff --git a/api_docs/kbn_ml_in_memory_table.mdx b/api_docs/kbn_ml_in_memory_table.mdx index 3fff58bba44a8..c7b366c64a6ef 100644 --- a/api_docs/kbn_ml_in_memory_table.mdx +++ b/api_docs/kbn_ml_in_memory_table.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ml-in-memory-table title: "@kbn/ml-in-memory-table" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ml-in-memory-table plugin -date: 2024-01-16 +date: 2024-01-17 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ml-in-memory-table'] --- import kbnMlInMemoryTableObj from './kbn_ml_in_memory_table.devdocs.json'; diff --git a/api_docs/kbn_ml_is_defined.mdx b/api_docs/kbn_ml_is_defined.mdx index 11125e28021c0..7761b6e5b4411 100644 --- a/api_docs/kbn_ml_is_defined.mdx +++ b/api_docs/kbn_ml_is_defined.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ml-is-defined title: "@kbn/ml-is-defined" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ml-is-defined plugin -date: 2024-01-16 +date: 2024-01-17 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 caf34c7643ef5..ba6e79603fa8d 100644 --- a/api_docs/kbn_ml_is_populated_object.mdx +++ b/api_docs/kbn_ml_is_populated_object.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ml-is-populated-object title: "@kbn/ml-is-populated-object" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ml-is-populated-object plugin -date: 2024-01-16 +date: 2024-01-17 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 1ae4b7fa80e14..0f4cb895dd2b2 100644 --- a/api_docs/kbn_ml_kibana_theme.mdx +++ b/api_docs/kbn_ml_kibana_theme.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ml-kibana-theme title: "@kbn/ml-kibana-theme" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ml-kibana-theme plugin -date: 2024-01-16 +date: 2024-01-17 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 28ddb3c8fe9fb..126b11d82affe 100644 --- a/api_docs/kbn_ml_local_storage.mdx +++ b/api_docs/kbn_ml_local_storage.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ml-local-storage title: "@kbn/ml-local-storage" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ml-local-storage plugin -date: 2024-01-16 +date: 2024-01-17 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 e6e3f8ac7ce6f..b766bf92d58c0 100644 --- a/api_docs/kbn_ml_nested_property.mdx +++ b/api_docs/kbn_ml_nested_property.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ml-nested-property title: "@kbn/ml-nested-property" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ml-nested-property plugin -date: 2024-01-16 +date: 2024-01-17 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 3718d23cca592..99bbaab8cf323 100644 --- a/api_docs/kbn_ml_number_utils.mdx +++ b/api_docs/kbn_ml_number_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ml-number-utils title: "@kbn/ml-number-utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ml-number-utils plugin -date: 2024-01-16 +date: 2024-01-17 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 c6e45c496663b..d334d4cd23f32 100644 --- a/api_docs/kbn_ml_query_utils.mdx +++ b/api_docs/kbn_ml_query_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ml-query-utils title: "@kbn/ml-query-utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ml-query-utils plugin -date: 2024-01-16 +date: 2024-01-17 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 45741e00c7935..728a0b825178c 100644 --- a/api_docs/kbn_ml_random_sampler_utils.mdx +++ b/api_docs/kbn_ml_random_sampler_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ml-random-sampler-utils title: "@kbn/ml-random-sampler-utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ml-random-sampler-utils plugin -date: 2024-01-16 +date: 2024-01-17 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 6d02327c8a09f..1203adce09ca1 100644 --- a/api_docs/kbn_ml_route_utils.mdx +++ b/api_docs/kbn_ml_route_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ml-route-utils title: "@kbn/ml-route-utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ml-route-utils plugin -date: 2024-01-16 +date: 2024-01-17 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 153d4d07869da..b8a5bc70f6b98 100644 --- a/api_docs/kbn_ml_runtime_field_utils.mdx +++ b/api_docs/kbn_ml_runtime_field_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ml-runtime-field-utils title: "@kbn/ml-runtime-field-utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ml-runtime-field-utils plugin -date: 2024-01-16 +date: 2024-01-17 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 0f596c4bd3a83..fbaaf4d22cb02 100644 --- a/api_docs/kbn_ml_string_hash.mdx +++ b/api_docs/kbn_ml_string_hash.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ml-string-hash title: "@kbn/ml-string-hash" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ml-string-hash plugin -date: 2024-01-16 +date: 2024-01-17 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 2547514695817..f9e27e01ca304 100644 --- a/api_docs/kbn_ml_trained_models_utils.mdx +++ b/api_docs/kbn_ml_trained_models_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ml-trained-models-utils title: "@kbn/ml-trained-models-utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ml-trained-models-utils plugin -date: 2024-01-16 +date: 2024-01-17 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ml-trained-models-utils'] --- import kbnMlTrainedModelsUtilsObj from './kbn_ml_trained_models_utils.devdocs.json'; diff --git a/api_docs/kbn_ml_ui_actions.mdx b/api_docs/kbn_ml_ui_actions.mdx index 6ec48444b5c2c..2b4a190469328 100644 --- a/api_docs/kbn_ml_ui_actions.mdx +++ b/api_docs/kbn_ml_ui_actions.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ml-ui-actions title: "@kbn/ml-ui-actions" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ml-ui-actions plugin -date: 2024-01-16 +date: 2024-01-17 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ml-ui-actions'] --- import kbnMlUiActionsObj from './kbn_ml_ui_actions.devdocs.json'; diff --git a/api_docs/kbn_ml_url_state.mdx b/api_docs/kbn_ml_url_state.mdx index 3a8348ecccb04..cb2129e3ef7b1 100644 --- a/api_docs/kbn_ml_url_state.mdx +++ b/api_docs/kbn_ml_url_state.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ml-url-state title: "@kbn/ml-url-state" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ml-url-state plugin -date: 2024-01-16 +date: 2024-01-17 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ml-url-state'] --- import kbnMlUrlStateObj from './kbn_ml_url_state.devdocs.json'; diff --git a/api_docs/kbn_mock_idp_utils.mdx b/api_docs/kbn_mock_idp_utils.mdx index 7b077dfe66714..112f2e61931ba 100644 --- a/api_docs/kbn_mock_idp_utils.mdx +++ b/api_docs/kbn_mock_idp_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-mock-idp-utils title: "@kbn/mock-idp-utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/mock-idp-utils plugin -date: 2024-01-16 +date: 2024-01-17 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/mock-idp-utils'] --- import kbnMockIdpUtilsObj from './kbn_mock_idp_utils.devdocs.json'; diff --git a/api_docs/kbn_monaco.mdx b/api_docs/kbn_monaco.mdx index 7d192e8ffeb81..d3098e09ab7ff 100644 --- a/api_docs/kbn_monaco.mdx +++ b/api_docs/kbn_monaco.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-monaco title: "@kbn/monaco" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/monaco plugin -date: 2024-01-16 +date: 2024-01-17 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 328ee38356dbe..e43341a5f5970 100644 --- a/api_docs/kbn_object_versioning.mdx +++ b/api_docs/kbn_object_versioning.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-object-versioning title: "@kbn/object-versioning" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/object-versioning plugin -date: 2024-01-16 +date: 2024-01-17 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 a5980eaa0a80a..41b40b4b2e1fe 100644 --- a/api_docs/kbn_observability_alert_details.mdx +++ b/api_docs/kbn_observability_alert_details.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-observability-alert-details title: "@kbn/observability-alert-details" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/observability-alert-details plugin -date: 2024-01-16 +date: 2024-01-17 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/observability-alert-details'] --- import kbnObservabilityAlertDetailsObj from './kbn_observability_alert_details.devdocs.json'; diff --git a/api_docs/kbn_observability_alerting_test_data.mdx b/api_docs/kbn_observability_alerting_test_data.mdx index ffc62c14684aa..ace8e8680566b 100644 --- a/api_docs/kbn_observability_alerting_test_data.mdx +++ b/api_docs/kbn_observability_alerting_test_data.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-observability-alerting-test-data title: "@kbn/observability-alerting-test-data" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/observability-alerting-test-data plugin -date: 2024-01-16 +date: 2024-01-17 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/observability-alerting-test-data'] --- import kbnObservabilityAlertingTestDataObj from './kbn_observability_alerting_test_data.devdocs.json'; diff --git a/api_docs/kbn_observability_get_padded_alert_time_range_util.mdx b/api_docs/kbn_observability_get_padded_alert_time_range_util.mdx index 324adb788b92f..418dbd7657049 100644 --- a/api_docs/kbn_observability_get_padded_alert_time_range_util.mdx +++ b/api_docs/kbn_observability_get_padded_alert_time_range_util.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-observability-get-padded-alert-time-range-util title: "@kbn/observability-get-padded-alert-time-range-util" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/observability-get-padded-alert-time-range-util plugin -date: 2024-01-16 +date: 2024-01-17 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/observability-get-padded-alert-time-range-util'] --- import kbnObservabilityGetPaddedAlertTimeRangeUtilObj from './kbn_observability_get_padded_alert_time_range_util.devdocs.json'; diff --git a/api_docs/kbn_openapi_bundler.mdx b/api_docs/kbn_openapi_bundler.mdx index 513e9611a91a7..180e7ab0fa054 100644 --- a/api_docs/kbn_openapi_bundler.mdx +++ b/api_docs/kbn_openapi_bundler.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-openapi-bundler title: "@kbn/openapi-bundler" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/openapi-bundler plugin -date: 2024-01-16 +date: 2024-01-17 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/openapi-bundler'] --- import kbnOpenapiBundlerObj from './kbn_openapi_bundler.devdocs.json'; diff --git a/api_docs/kbn_openapi_generator.mdx b/api_docs/kbn_openapi_generator.mdx index 6c8c5a64487ec..cacba112ba485 100644 --- a/api_docs/kbn_openapi_generator.mdx +++ b/api_docs/kbn_openapi_generator.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-openapi-generator title: "@kbn/openapi-generator" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/openapi-generator plugin -date: 2024-01-16 +date: 2024-01-17 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/openapi-generator'] --- import kbnOpenapiGeneratorObj from './kbn_openapi_generator.devdocs.json'; diff --git a/api_docs/kbn_optimizer.mdx b/api_docs/kbn_optimizer.mdx index c90503239435e..f07efaf0b1e17 100644 --- a/api_docs/kbn_optimizer.mdx +++ b/api_docs/kbn_optimizer.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-optimizer title: "@kbn/optimizer" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/optimizer plugin -date: 2024-01-16 +date: 2024-01-17 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 6597b17e7f796..20b3162ed2f8a 100644 --- a/api_docs/kbn_optimizer_webpack_helpers.mdx +++ b/api_docs/kbn_optimizer_webpack_helpers.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-optimizer-webpack-helpers title: "@kbn/optimizer-webpack-helpers" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/optimizer-webpack-helpers plugin -date: 2024-01-16 +date: 2024-01-17 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 4a467ad810c8c..60c320ce462f2 100644 --- a/api_docs/kbn_osquery_io_ts_types.mdx +++ b/api_docs/kbn_osquery_io_ts_types.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-osquery-io-ts-types title: "@kbn/osquery-io-ts-types" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/osquery-io-ts-types plugin -date: 2024-01-16 +date: 2024-01-17 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/osquery-io-ts-types'] --- import kbnOsqueryIoTsTypesObj from './kbn_osquery_io_ts_types.devdocs.json'; diff --git a/api_docs/kbn_panel_loader.mdx b/api_docs/kbn_panel_loader.mdx index dbe4082fcd87f..0b2e3785c5fb5 100644 --- a/api_docs/kbn_panel_loader.mdx +++ b/api_docs/kbn_panel_loader.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-panel-loader title: "@kbn/panel-loader" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/panel-loader plugin -date: 2024-01-16 +date: 2024-01-17 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/panel-loader'] --- import kbnPanelLoaderObj from './kbn_panel_loader.devdocs.json'; diff --git a/api_docs/kbn_performance_testing_dataset_extractor.mdx b/api_docs/kbn_performance_testing_dataset_extractor.mdx index a16995deb18b2..4c6cae1f02420 100644 --- a/api_docs/kbn_performance_testing_dataset_extractor.mdx +++ b/api_docs/kbn_performance_testing_dataset_extractor.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-performance-testing-dataset-extractor title: "@kbn/performance-testing-dataset-extractor" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/performance-testing-dataset-extractor plugin -date: 2024-01-16 +date: 2024-01-17 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 7f34ea6fd5e04..eaa5fa1c39af2 100644 --- a/api_docs/kbn_plugin_generator.mdx +++ b/api_docs/kbn_plugin_generator.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-plugin-generator title: "@kbn/plugin-generator" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/plugin-generator plugin -date: 2024-01-16 +date: 2024-01-17 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 913cddd71221d..01692ac2644ba 100644 --- a/api_docs/kbn_plugin_helpers.mdx +++ b/api_docs/kbn_plugin_helpers.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-plugin-helpers title: "@kbn/plugin-helpers" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/plugin-helpers plugin -date: 2024-01-16 +date: 2024-01-17 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/plugin-helpers'] --- import kbnPluginHelpersObj from './kbn_plugin_helpers.devdocs.json'; diff --git a/api_docs/kbn_profiling_utils.mdx b/api_docs/kbn_profiling_utils.mdx index 5fc9077dad899..6403868581005 100644 --- a/api_docs/kbn_profiling_utils.mdx +++ b/api_docs/kbn_profiling_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-profiling-utils title: "@kbn/profiling-utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/profiling-utils plugin -date: 2024-01-16 +date: 2024-01-17 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/profiling-utils'] --- import kbnProfilingUtilsObj from './kbn_profiling_utils.devdocs.json'; diff --git a/api_docs/kbn_random_sampling.mdx b/api_docs/kbn_random_sampling.mdx index dc8001b6da57b..481f805da0a93 100644 --- a/api_docs/kbn_random_sampling.mdx +++ b/api_docs/kbn_random_sampling.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-random-sampling title: "@kbn/random-sampling" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/random-sampling plugin -date: 2024-01-16 +date: 2024-01-17 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 df1fb9a7a4dae..769e2f91d28e4 100644 --- a/api_docs/kbn_react_field.mdx +++ b/api_docs/kbn_react_field.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-react-field title: "@kbn/react-field" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/react-field plugin -date: 2024-01-16 +date: 2024-01-17 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/react-field'] --- import kbnReactFieldObj from './kbn_react_field.devdocs.json'; diff --git a/api_docs/kbn_react_kibana_context_common.mdx b/api_docs/kbn_react_kibana_context_common.mdx index d03b8bf43fd76..e199854b18f2a 100644 --- a/api_docs/kbn_react_kibana_context_common.mdx +++ b/api_docs/kbn_react_kibana_context_common.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-react-kibana-context-common title: "@kbn/react-kibana-context-common" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/react-kibana-context-common plugin -date: 2024-01-16 +date: 2024-01-17 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/react-kibana-context-common'] --- import kbnReactKibanaContextCommonObj from './kbn_react_kibana_context_common.devdocs.json'; diff --git a/api_docs/kbn_react_kibana_context_render.mdx b/api_docs/kbn_react_kibana_context_render.mdx index 60b6ea7dc696c..e0dd094ed5650 100644 --- a/api_docs/kbn_react_kibana_context_render.mdx +++ b/api_docs/kbn_react_kibana_context_render.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-react-kibana-context-render title: "@kbn/react-kibana-context-render" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/react-kibana-context-render plugin -date: 2024-01-16 +date: 2024-01-17 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/react-kibana-context-render'] --- import kbnReactKibanaContextRenderObj from './kbn_react_kibana_context_render.devdocs.json'; diff --git a/api_docs/kbn_react_kibana_context_root.mdx b/api_docs/kbn_react_kibana_context_root.mdx index 3723231f1b60b..37598c17748db 100644 --- a/api_docs/kbn_react_kibana_context_root.mdx +++ b/api_docs/kbn_react_kibana_context_root.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-react-kibana-context-root title: "@kbn/react-kibana-context-root" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/react-kibana-context-root plugin -date: 2024-01-16 +date: 2024-01-17 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/react-kibana-context-root'] --- import kbnReactKibanaContextRootObj from './kbn_react_kibana_context_root.devdocs.json'; diff --git a/api_docs/kbn_react_kibana_context_styled.mdx b/api_docs/kbn_react_kibana_context_styled.mdx index 376409ca25c8e..a21a27662afc9 100644 --- a/api_docs/kbn_react_kibana_context_styled.mdx +++ b/api_docs/kbn_react_kibana_context_styled.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-react-kibana-context-styled title: "@kbn/react-kibana-context-styled" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/react-kibana-context-styled plugin -date: 2024-01-16 +date: 2024-01-17 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/react-kibana-context-styled'] --- import kbnReactKibanaContextStyledObj from './kbn_react_kibana_context_styled.devdocs.json'; diff --git a/api_docs/kbn_react_kibana_context_theme.mdx b/api_docs/kbn_react_kibana_context_theme.mdx index d543c5bce5f91..14f7c5db41a84 100644 --- a/api_docs/kbn_react_kibana_context_theme.mdx +++ b/api_docs/kbn_react_kibana_context_theme.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-react-kibana-context-theme title: "@kbn/react-kibana-context-theme" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/react-kibana-context-theme plugin -date: 2024-01-16 +date: 2024-01-17 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/react-kibana-context-theme'] --- import kbnReactKibanaContextThemeObj from './kbn_react_kibana_context_theme.devdocs.json'; diff --git a/api_docs/kbn_react_kibana_mount.mdx b/api_docs/kbn_react_kibana_mount.mdx index 47c2eb8a3fd3f..e5fcf116ca8ae 100644 --- a/api_docs/kbn_react_kibana_mount.mdx +++ b/api_docs/kbn_react_kibana_mount.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-react-kibana-mount title: "@kbn/react-kibana-mount" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/react-kibana-mount plugin -date: 2024-01-16 +date: 2024-01-17 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/react-kibana-mount'] --- import kbnReactKibanaMountObj from './kbn_react_kibana_mount.devdocs.json'; diff --git a/api_docs/kbn_repo_file_maps.mdx b/api_docs/kbn_repo_file_maps.mdx index 720606161c8c3..9132ad1e12fa4 100644 --- a/api_docs/kbn_repo_file_maps.mdx +++ b/api_docs/kbn_repo_file_maps.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-repo-file-maps title: "@kbn/repo-file-maps" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/repo-file-maps plugin -date: 2024-01-16 +date: 2024-01-17 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 efd53288912c8..c18bca02f843f 100644 --- a/api_docs/kbn_repo_linter.mdx +++ b/api_docs/kbn_repo_linter.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-repo-linter title: "@kbn/repo-linter" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/repo-linter plugin -date: 2024-01-16 +date: 2024-01-17 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 acd2686b2f7b0..bdc3d555e4bbb 100644 --- a/api_docs/kbn_repo_path.mdx +++ b/api_docs/kbn_repo_path.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-repo-path title: "@kbn/repo-path" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/repo-path plugin -date: 2024-01-16 +date: 2024-01-17 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 946cd1a97a27d..9497be88658e9 100644 --- a/api_docs/kbn_repo_source_classifier.mdx +++ b/api_docs/kbn_repo_source_classifier.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-repo-source-classifier title: "@kbn/repo-source-classifier" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/repo-source-classifier plugin -date: 2024-01-16 +date: 2024-01-17 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 44d73b8c1fda6..d79ffa99e5f10 100644 --- a/api_docs/kbn_reporting_common.mdx +++ b/api_docs/kbn_reporting_common.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-reporting-common title: "@kbn/reporting-common" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/reporting-common plugin -date: 2024-01-16 +date: 2024-01-17 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/reporting-common'] --- import kbnReportingCommonObj from './kbn_reporting_common.devdocs.json'; @@ -21,7 +21,7 @@ Contact [@elastic/appex-sharedux](https://github.com/orgs/elastic/teams/appex-sh | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 80 | 0 | 72 | 7 | +| 80 | 0 | 72 | 8 | ## Common diff --git a/api_docs/kbn_reporting_export_types_csv.devdocs.json b/api_docs/kbn_reporting_export_types_csv.devdocs.json index d862fb9f9b953..7f1fdf2f95005 100644 --- a/api_docs/kbn_reporting_export_types_csv.devdocs.json +++ b/api_docs/kbn_reporting_export_types_csv.devdocs.json @@ -290,6 +290,8 @@ "section": "def-common.TaskPayloadCSV", "text": "TaskPayloadCSV" }, + ", taskInstanceFields: ", + "TaskInstanceFields", ", cancellationToken: ", { "pluginId": "@kbn/reporting-common", @@ -349,6 +351,21 @@ "id": "def-server.CsvSearchSourceExportType.runTask.$3", "type": "Object", "tags": [], + "label": "taskInstanceFields", + "description": [], + "signature": [ + "TaskInstanceFields" + ], + "path": "packages/kbn-reporting/export_types/csv/csv_searchsource.ts", + "deprecated": false, + "trackAdoption": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/reporting-export-types-csv", + "id": "def-server.CsvSearchSourceExportType.runTask.$4", + "type": "Object", + "tags": [], "label": "cancellationToken", "description": [], "signature": [ @@ -367,7 +384,7 @@ }, { "parentPluginId": "@kbn/reporting-export-types-csv", - "id": "def-server.CsvSearchSourceExportType.runTask.$4", + "id": "def-server.CsvSearchSourceExportType.runTask.$5", "type": "Object", "tags": [], "label": "stream", @@ -1057,6 +1074,8 @@ "section": "def-common.TaskPayloadCsvFromSavedObject", "text": "TaskPayloadCsvFromSavedObject" }, + ", taskInstanceFields: ", + "TaskInstanceFields", ", cancellationToken: ", { "pluginId": "@kbn/reporting-common", @@ -1116,6 +1135,21 @@ "id": "def-server.CsvV2ExportType.runTask.$3", "type": "Object", "tags": [], + "label": "taskInstanceFields", + "description": [], + "signature": [ + "TaskInstanceFields" + ], + "path": "packages/kbn-reporting/export_types/csv/csv_v2.ts", + "deprecated": false, + "trackAdoption": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/reporting-export-types-csv", + "id": "def-server.CsvV2ExportType.runTask.$4", + "type": "Object", + "tags": [], "label": "cancellationToken", "description": [], "signature": [ @@ -1134,7 +1168,7 @@ }, { "parentPluginId": "@kbn/reporting-export-types-csv", - "id": "def-server.CsvV2ExportType.runTask.$4", + "id": "def-server.CsvV2ExportType.runTask.$5", "type": "Object", "tags": [], "label": "stream", diff --git a/api_docs/kbn_reporting_export_types_csv.mdx b/api_docs/kbn_reporting_export_types_csv.mdx index 3999771a4298b..820bb6d237f8a 100644 --- a/api_docs/kbn_reporting_export_types_csv.mdx +++ b/api_docs/kbn_reporting_export_types_csv.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-reporting-export-types-csv title: "@kbn/reporting-export-types-csv" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/reporting-export-types-csv plugin -date: 2024-01-16 +date: 2024-01-17 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/reporting-export-types-csv'] --- import kbnReportingExportTypesCsvObj from './kbn_reporting_export_types_csv.devdocs.json'; @@ -21,7 +21,7 @@ Contact [@elastic/appex-sharedux](https://github.com/orgs/elastic/teams/appex-sh | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 50 | 0 | 50 | 3 | +| 52 | 0 | 52 | 3 | ## Server diff --git a/api_docs/kbn_reporting_export_types_csv_common.mdx b/api_docs/kbn_reporting_export_types_csv_common.mdx index 0a4ce5bbb5068..88921a9ec016f 100644 --- a/api_docs/kbn_reporting_export_types_csv_common.mdx +++ b/api_docs/kbn_reporting_export_types_csv_common.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-reporting-export-types-csv-common title: "@kbn/reporting-export-types-csv-common" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/reporting-export-types-csv-common plugin -date: 2024-01-16 +date: 2024-01-17 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/reporting-export-types-csv-common'] --- import kbnReportingExportTypesCsvCommonObj from './kbn_reporting_export_types_csv_common.devdocs.json'; diff --git a/api_docs/kbn_reporting_export_types_pdf.devdocs.json b/api_docs/kbn_reporting_export_types_pdf.devdocs.json index 96359a7676d93..4275c87659457 100644 --- a/api_docs/kbn_reporting_export_types_pdf.devdocs.json +++ b/api_docs/kbn_reporting_export_types_pdf.devdocs.json @@ -304,6 +304,8 @@ "section": "def-common.TaskPayloadPDFV2", "text": "TaskPayloadPDFV2" }, + ", taskInstanceFields: ", + "TaskInstanceFields", ", cancellationToken: ", { "pluginId": "@kbn/reporting-common", @@ -363,6 +365,21 @@ "id": "def-server.PdfExportType.runTask.$3", "type": "Object", "tags": [], + "label": "taskInstanceFields", + "description": [], + "signature": [ + "TaskInstanceFields" + ], + "path": "packages/kbn-reporting/export_types/pdf/printable_pdf_v2.ts", + "deprecated": false, + "trackAdoption": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/reporting-export-types-pdf", + "id": "def-server.PdfExportType.runTask.$4", + "type": "Object", + "tags": [], "label": "cancellationToken", "description": [], "signature": [ @@ -381,7 +398,7 @@ }, { "parentPluginId": "@kbn/reporting-export-types-pdf", - "id": "def-server.PdfExportType.runTask.$4", + "id": "def-server.PdfExportType.runTask.$5", "type": "Object", "tags": [], "label": "stream", @@ -692,6 +709,8 @@ "section": "def-common.TaskPayloadPDF", "text": "TaskPayloadPDF" }, + ", taskInstanceFields: ", + "TaskInstanceFields", ", cancellationToken: ", { "pluginId": "@kbn/reporting-common", @@ -751,6 +770,21 @@ "id": "def-server.PdfV1ExportType.runTask.$3", "type": "Object", "tags": [], + "label": "taskInstanceFields", + "description": [], + "signature": [ + "TaskInstanceFields" + ], + "path": "packages/kbn-reporting/export_types/pdf/printable_pdf.ts", + "deprecated": false, + "trackAdoption": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/reporting-export-types-pdf", + "id": "def-server.PdfV1ExportType.runTask.$4", + "type": "Object", + "tags": [], "label": "cancellationToken", "description": [], "signature": [ @@ -769,7 +803,7 @@ }, { "parentPluginId": "@kbn/reporting-export-types-pdf", - "id": "def-server.PdfV1ExportType.runTask.$4", + "id": "def-server.PdfV1ExportType.runTask.$5", "type": "Object", "tags": [], "label": "stream", diff --git a/api_docs/kbn_reporting_export_types_pdf.mdx b/api_docs/kbn_reporting_export_types_pdf.mdx index c2ff704ea50e2..b94af41fd1454 100644 --- a/api_docs/kbn_reporting_export_types_pdf.mdx +++ b/api_docs/kbn_reporting_export_types_pdf.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-reporting-export-types-pdf title: "@kbn/reporting-export-types-pdf" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/reporting-export-types-pdf plugin -date: 2024-01-16 +date: 2024-01-17 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/reporting-export-types-pdf'] --- import kbnReportingExportTypesPdfObj from './kbn_reporting_export_types_pdf.devdocs.json'; @@ -21,7 +21,7 @@ Contact [@elastic/appex-sharedux](https://github.com/orgs/elastic/teams/appex-sh | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 32 | 0 | 31 | 0 | +| 34 | 0 | 33 | 0 | ## Server diff --git a/api_docs/kbn_reporting_export_types_pdf_common.mdx b/api_docs/kbn_reporting_export_types_pdf_common.mdx index 24d0f9dcf94b2..828521b7cc216 100644 --- a/api_docs/kbn_reporting_export_types_pdf_common.mdx +++ b/api_docs/kbn_reporting_export_types_pdf_common.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-reporting-export-types-pdf-common title: "@kbn/reporting-export-types-pdf-common" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/reporting-export-types-pdf-common plugin -date: 2024-01-16 +date: 2024-01-17 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/reporting-export-types-pdf-common'] --- import kbnReportingExportTypesPdfCommonObj from './kbn_reporting_export_types_pdf_common.devdocs.json'; diff --git a/api_docs/kbn_reporting_export_types_png.devdocs.json b/api_docs/kbn_reporting_export_types_png.devdocs.json index 1ea14e3f787d2..9eaefebb599b6 100644 --- a/api_docs/kbn_reporting_export_types_png.devdocs.json +++ b/api_docs/kbn_reporting_export_types_png.devdocs.json @@ -306,6 +306,8 @@ "section": "def-common.TaskPayloadPNGV2", "text": "TaskPayloadPNGV2" }, + ", taskInstanceFields: ", + "TaskInstanceFields", ", cancellationToken: ", { "pluginId": "@kbn/reporting-common", @@ -365,6 +367,21 @@ "id": "def-server.PngExportType.runTask.$3", "type": "Object", "tags": [], + "label": "taskInstanceFields", + "description": [], + "signature": [ + "TaskInstanceFields" + ], + "path": "packages/kbn-reporting/export_types/png/png_v2.ts", + "deprecated": false, + "trackAdoption": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/reporting-export-types-png", + "id": "def-server.PngExportType.runTask.$4", + "type": "Object", + "tags": [], "label": "cancellationToken", "description": [], "signature": [ @@ -383,7 +400,7 @@ }, { "parentPluginId": "@kbn/reporting-export-types-png", - "id": "def-server.PngExportType.runTask.$4", + "id": "def-server.PngExportType.runTask.$5", "type": "Object", "tags": [], "label": "stream", diff --git a/api_docs/kbn_reporting_export_types_png.mdx b/api_docs/kbn_reporting_export_types_png.mdx index 7c7cd7d35fa94..7677f67ff1e38 100644 --- a/api_docs/kbn_reporting_export_types_png.mdx +++ b/api_docs/kbn_reporting_export_types_png.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-reporting-export-types-png title: "@kbn/reporting-export-types-png" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/reporting-export-types-png plugin -date: 2024-01-16 +date: 2024-01-17 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/reporting-export-types-png'] --- import kbnReportingExportTypesPngObj from './kbn_reporting_export_types_png.devdocs.json'; @@ -21,7 +21,7 @@ Contact [@elastic/appex-sharedux](https://github.com/orgs/elastic/teams/appex-sh | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 16 | 0 | 15 | 0 | +| 17 | 0 | 16 | 0 | ## Server diff --git a/api_docs/kbn_reporting_export_types_png_common.mdx b/api_docs/kbn_reporting_export_types_png_common.mdx index 8a18e0f08598b..166328bc96a0b 100644 --- a/api_docs/kbn_reporting_export_types_png_common.mdx +++ b/api_docs/kbn_reporting_export_types_png_common.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-reporting-export-types-png-common title: "@kbn/reporting-export-types-png-common" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/reporting-export-types-png-common plugin -date: 2024-01-16 +date: 2024-01-17 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/reporting-export-types-png-common'] --- import kbnReportingExportTypesPngCommonObj from './kbn_reporting_export_types_png_common.devdocs.json'; diff --git a/api_docs/kbn_reporting_mocks_server.mdx b/api_docs/kbn_reporting_mocks_server.mdx index 6c40fa8adf126..0beebdbd7383c 100644 --- a/api_docs/kbn_reporting_mocks_server.mdx +++ b/api_docs/kbn_reporting_mocks_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-reporting-mocks-server title: "@kbn/reporting-mocks-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/reporting-mocks-server plugin -date: 2024-01-16 +date: 2024-01-17 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/reporting-mocks-server'] --- import kbnReportingMocksServerObj from './kbn_reporting_mocks_server.devdocs.json'; diff --git a/api_docs/kbn_reporting_public.mdx b/api_docs/kbn_reporting_public.mdx index a07d07d6f61c0..757d12a6fd145 100644 --- a/api_docs/kbn_reporting_public.mdx +++ b/api_docs/kbn_reporting_public.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-reporting-public title: "@kbn/reporting-public" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/reporting-public plugin -date: 2024-01-16 +date: 2024-01-17 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/reporting-public'] --- import kbnReportingPublicObj from './kbn_reporting_public.devdocs.json'; diff --git a/api_docs/kbn_reporting_server.devdocs.json b/api_docs/kbn_reporting_server.devdocs.json index 6e6f1bd1cb721..8fb78a7e011c3 100644 --- a/api_docs/kbn_reporting_server.devdocs.json +++ b/api_docs/kbn_reporting_server.devdocs.json @@ -207,7 +207,9 @@ "label": "runTask", "description": [], "signature": [ - "(jobId: string, payload: TaskPayloadType, cancellationToken: ", + "(jobId: string, payload: TaskPayloadType, taskInstanceFields: ", + "TaskInstanceFields", + ", cancellationToken: ", { "pluginId": "@kbn/reporting-common", "scope": "common", @@ -256,6 +258,20 @@ "id": "def-server.ExportType.runTask.$3", "type": "Object", "tags": [], + "label": "taskInstanceFields", + "description": [], + "signature": [ + "{ startedAt: Date | null; retryAt: Date | null; }" + ], + "path": "packages/kbn-reporting/server/types.ts", + "deprecated": false, + "trackAdoption": false + }, + { + "parentPluginId": "@kbn/reporting-server", + "id": "def-server.ExportType.runTask.$4", + "type": "Object", + "tags": [], "label": "cancellationToken", "description": [], "signature": [ @@ -273,7 +289,7 @@ }, { "parentPluginId": "@kbn/reporting-server", - "id": "def-server.ExportType.runTask.$4", + "id": "def-server.ExportType.runTask.$5", "type": "Object", "tags": [], "label": "stream", @@ -1510,7 +1526,9 @@ "label": "RunTaskFn", "description": [], "signature": [ - "(jobId: string, payload: TaskPayloadType, cancellationToken: ", + "(jobId: string, payload: TaskPayloadType, taskInstanceFields: ", + "TaskInstanceFields", + ", cancellationToken: ", { "pluginId": "@kbn/reporting-common", "scope": "common", @@ -1559,6 +1577,20 @@ "id": "def-server.RunTaskFn.$3", "type": "Object", "tags": [], + "label": "taskInstanceFields", + "description": [], + "signature": [ + "{ startedAt: Date | null; retryAt: Date | null; }" + ], + "path": "packages/kbn-reporting/server/types.ts", + "deprecated": false, + "trackAdoption": false + }, + { + "parentPluginId": "@kbn/reporting-server", + "id": "def-server.RunTaskFn.$4", + "type": "Object", + "tags": [], "label": "cancellationToken", "description": [], "signature": [ @@ -1576,7 +1608,7 @@ }, { "parentPluginId": "@kbn/reporting-server", - "id": "def-server.RunTaskFn.$4", + "id": "def-server.RunTaskFn.$5", "type": "Object", "tags": [], "label": "stream", diff --git a/api_docs/kbn_reporting_server.mdx b/api_docs/kbn_reporting_server.mdx index 6fadd760f1938..f73827abf3505 100644 --- a/api_docs/kbn_reporting_server.mdx +++ b/api_docs/kbn_reporting_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-reporting-server title: "@kbn/reporting-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/reporting-server plugin -date: 2024-01-16 +date: 2024-01-17 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/reporting-server'] --- import kbnReportingServerObj from './kbn_reporting_server.devdocs.json'; @@ -21,7 +21,7 @@ Contact [@elastic/appex-sharedux](https://github.com/orgs/elastic/teams/appex-sh | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 78 | 0 | 77 | 0 | +| 80 | 0 | 79 | 0 | ## Server diff --git a/api_docs/kbn_resizable_layout.mdx b/api_docs/kbn_resizable_layout.mdx index 6ef9af01f9a24..d9bd2b2322dd0 100644 --- a/api_docs/kbn_resizable_layout.mdx +++ b/api_docs/kbn_resizable_layout.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-resizable-layout title: "@kbn/resizable-layout" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/resizable-layout plugin -date: 2024-01-16 +date: 2024-01-17 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/resizable-layout'] --- import kbnResizableLayoutObj from './kbn_resizable_layout.devdocs.json'; diff --git a/api_docs/kbn_rison.mdx b/api_docs/kbn_rison.mdx index 73ea9ed474603..5a4c7718a7b45 100644 --- a/api_docs/kbn_rison.mdx +++ b/api_docs/kbn_rison.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-rison title: "@kbn/rison" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/rison plugin -date: 2024-01-16 +date: 2024-01-17 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/rison'] --- import kbnRisonObj from './kbn_rison.devdocs.json'; diff --git a/api_docs/kbn_router_utils.mdx b/api_docs/kbn_router_utils.mdx index 497c266e7e492..a271a7b7e4853 100644 --- a/api_docs/kbn_router_utils.mdx +++ b/api_docs/kbn_router_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-router-utils title: "@kbn/router-utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/router-utils plugin -date: 2024-01-16 +date: 2024-01-17 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/router-utils'] --- import kbnRouterUtilsObj from './kbn_router_utils.devdocs.json'; diff --git a/api_docs/kbn_rrule.mdx b/api_docs/kbn_rrule.mdx index db1e7806d6c89..0f65b81844aca 100644 --- a/api_docs/kbn_rrule.mdx +++ b/api_docs/kbn_rrule.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-rrule title: "@kbn/rrule" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/rrule plugin -date: 2024-01-16 +date: 2024-01-17 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 863a00da7e580..92557fcbd6ec3 100644 --- a/api_docs/kbn_rule_data_utils.mdx +++ b/api_docs/kbn_rule_data_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-rule-data-utils title: "@kbn/rule-data-utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/rule-data-utils plugin -date: 2024-01-16 +date: 2024-01-17 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 a0bf6d93af6f8..28d45ab7bf2dc 100644 --- a/api_docs/kbn_saved_objects_settings.mdx +++ b/api_docs/kbn_saved_objects_settings.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-saved-objects-settings title: "@kbn/saved-objects-settings" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/saved-objects-settings plugin -date: 2024-01-16 +date: 2024-01-17 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/saved-objects-settings'] --- import kbnSavedObjectsSettingsObj from './kbn_saved_objects_settings.devdocs.json'; diff --git a/api_docs/kbn_search_api_panels.mdx b/api_docs/kbn_search_api_panels.mdx index e6d5aaccdcee0..eb6e4d42a359c 100644 --- a/api_docs/kbn_search_api_panels.mdx +++ b/api_docs/kbn_search_api_panels.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-search-api-panels title: "@kbn/search-api-panels" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/search-api-panels plugin -date: 2024-01-16 +date: 2024-01-17 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/search-api-panels'] --- import kbnSearchApiPanelsObj from './kbn_search_api_panels.devdocs.json'; diff --git a/api_docs/kbn_search_connectors.mdx b/api_docs/kbn_search_connectors.mdx index a82ee73b97da3..dc3d5fc8e5022 100644 --- a/api_docs/kbn_search_connectors.mdx +++ b/api_docs/kbn_search_connectors.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-search-connectors title: "@kbn/search-connectors" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/search-connectors plugin -date: 2024-01-16 +date: 2024-01-17 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/search-connectors'] --- import kbnSearchConnectorsObj from './kbn_search_connectors.devdocs.json'; diff --git a/api_docs/kbn_search_errors.mdx b/api_docs/kbn_search_errors.mdx index 837695f1d1c2c..b7d0044996ac5 100644 --- a/api_docs/kbn_search_errors.mdx +++ b/api_docs/kbn_search_errors.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-search-errors title: "@kbn/search-errors" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/search-errors plugin -date: 2024-01-16 +date: 2024-01-17 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/search-errors'] --- import kbnSearchErrorsObj from './kbn_search_errors.devdocs.json'; diff --git a/api_docs/kbn_search_index_documents.mdx b/api_docs/kbn_search_index_documents.mdx index 101317585d439..3075292fb15f3 100644 --- a/api_docs/kbn_search_index_documents.mdx +++ b/api_docs/kbn_search_index_documents.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-search-index-documents title: "@kbn/search-index-documents" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/search-index-documents plugin -date: 2024-01-16 +date: 2024-01-17 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/search-index-documents'] --- import kbnSearchIndexDocumentsObj from './kbn_search_index_documents.devdocs.json'; diff --git a/api_docs/kbn_search_response_warnings.mdx b/api_docs/kbn_search_response_warnings.mdx index c45539c54f820..797cc6a50ef9f 100644 --- a/api_docs/kbn_search_response_warnings.mdx +++ b/api_docs/kbn_search_response_warnings.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-search-response-warnings title: "@kbn/search-response-warnings" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/search-response-warnings plugin -date: 2024-01-16 +date: 2024-01-17 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/search-response-warnings'] --- import kbnSearchResponseWarningsObj from './kbn_search_response_warnings.devdocs.json'; diff --git a/api_docs/kbn_security_plugin_types_common.mdx b/api_docs/kbn_security_plugin_types_common.mdx index bdd4c36e40184..28856a6637b51 100644 --- a/api_docs/kbn_security_plugin_types_common.mdx +++ b/api_docs/kbn_security_plugin_types_common.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-security-plugin-types-common title: "@kbn/security-plugin-types-common" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/security-plugin-types-common plugin -date: 2024-01-16 +date: 2024-01-17 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/security-plugin-types-common'] --- import kbnSecurityPluginTypesCommonObj from './kbn_security_plugin_types_common.devdocs.json'; diff --git a/api_docs/kbn_security_plugin_types_public.mdx b/api_docs/kbn_security_plugin_types_public.mdx index bb81ba4e2023b..d2888fcf0adda 100644 --- a/api_docs/kbn_security_plugin_types_public.mdx +++ b/api_docs/kbn_security_plugin_types_public.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-security-plugin-types-public title: "@kbn/security-plugin-types-public" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/security-plugin-types-public plugin -date: 2024-01-16 +date: 2024-01-17 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/security-plugin-types-public'] --- import kbnSecurityPluginTypesPublicObj from './kbn_security_plugin_types_public.devdocs.json'; diff --git a/api_docs/kbn_security_plugin_types_server.mdx b/api_docs/kbn_security_plugin_types_server.mdx index 25f761fdb0a7b..cf525937278e6 100644 --- a/api_docs/kbn_security_plugin_types_server.mdx +++ b/api_docs/kbn_security_plugin_types_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-security-plugin-types-server title: "@kbn/security-plugin-types-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/security-plugin-types-server plugin -date: 2024-01-16 +date: 2024-01-17 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/security-plugin-types-server'] --- import kbnSecurityPluginTypesServerObj from './kbn_security_plugin_types_server.devdocs.json'; diff --git a/api_docs/kbn_security_solution_features.mdx b/api_docs/kbn_security_solution_features.mdx index 637f2826552e1..0bd2bf9be68c4 100644 --- a/api_docs/kbn_security_solution_features.mdx +++ b/api_docs/kbn_security_solution_features.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-security-solution-features title: "@kbn/security-solution-features" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/security-solution-features plugin -date: 2024-01-16 +date: 2024-01-17 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/security-solution-features'] --- import kbnSecuritySolutionFeaturesObj from './kbn_security_solution_features.devdocs.json'; diff --git a/api_docs/kbn_security_solution_navigation.mdx b/api_docs/kbn_security_solution_navigation.mdx index 8baef6b220ad6..24e58801e1373 100644 --- a/api_docs/kbn_security_solution_navigation.mdx +++ b/api_docs/kbn_security_solution_navigation.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-security-solution-navigation title: "@kbn/security-solution-navigation" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/security-solution-navigation plugin -date: 2024-01-16 +date: 2024-01-17 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/security-solution-navigation'] --- import kbnSecuritySolutionNavigationObj from './kbn_security_solution_navigation.devdocs.json'; diff --git a/api_docs/kbn_security_solution_side_nav.mdx b/api_docs/kbn_security_solution_side_nav.mdx index b6f90c48f143c..57d4934957df7 100644 --- a/api_docs/kbn_security_solution_side_nav.mdx +++ b/api_docs/kbn_security_solution_side_nav.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-security-solution-side-nav title: "@kbn/security-solution-side-nav" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/security-solution-side-nav plugin -date: 2024-01-16 +date: 2024-01-17 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 0dfd17f2cfef6..8c7a0956b1907 100644 --- a/api_docs/kbn_security_solution_storybook_config.mdx +++ b/api_docs/kbn_security_solution_storybook_config.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-security-solution-storybook-config title: "@kbn/security-solution-storybook-config" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/security-solution-storybook-config plugin -date: 2024-01-16 +date: 2024-01-17 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 ee0eaf9c7d30d..f1312d6685aae 100644 --- a/api_docs/kbn_securitysolution_autocomplete.mdx +++ b/api_docs/kbn_securitysolution_autocomplete.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-securitysolution-autocomplete title: "@kbn/securitysolution-autocomplete" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/securitysolution-autocomplete plugin -date: 2024-01-16 +date: 2024-01-17 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 1a06d4bf8fa77..0d5278ec5de70 100644 --- a/api_docs/kbn_securitysolution_data_table.mdx +++ b/api_docs/kbn_securitysolution_data_table.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-securitysolution-data-table title: "@kbn/securitysolution-data-table" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/securitysolution-data-table plugin -date: 2024-01-16 +date: 2024-01-17 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 4ac91cce6174b..5ffe2ef74ad87 100644 --- a/api_docs/kbn_securitysolution_ecs.mdx +++ b/api_docs/kbn_securitysolution_ecs.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-securitysolution-ecs title: "@kbn/securitysolution-ecs" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/securitysolution-ecs plugin -date: 2024-01-16 +date: 2024-01-17 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 da28cfffddb3d..d66fe05da3854 100644 --- a/api_docs/kbn_securitysolution_es_utils.mdx +++ b/api_docs/kbn_securitysolution_es_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-securitysolution-es-utils title: "@kbn/securitysolution-es-utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/securitysolution-es-utils plugin -date: 2024-01-16 +date: 2024-01-17 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 ac77af1bcb0c4..a8b45088cf5f3 100644 --- a/api_docs/kbn_securitysolution_exception_list_components.mdx +++ b/api_docs/kbn_securitysolution_exception_list_components.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-securitysolution-exception-list-components title: "@kbn/securitysolution-exception-list-components" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/securitysolution-exception-list-components plugin -date: 2024-01-16 +date: 2024-01-17 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 8a0c535e40d0b..c23dcf9f4fa3e 100644 --- a/api_docs/kbn_securitysolution_grouping.mdx +++ b/api_docs/kbn_securitysolution_grouping.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-securitysolution-grouping title: "@kbn/securitysolution-grouping" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/securitysolution-grouping plugin -date: 2024-01-16 +date: 2024-01-17 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 22762f35d235f..aff8e7b807da4 100644 --- a/api_docs/kbn_securitysolution_hook_utils.mdx +++ b/api_docs/kbn_securitysolution_hook_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-securitysolution-hook-utils title: "@kbn/securitysolution-hook-utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/securitysolution-hook-utils plugin -date: 2024-01-16 +date: 2024-01-17 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 6772533df4163..9440063ee6f54 100644 --- a/api_docs/kbn_securitysolution_io_ts_alerting_types.mdx +++ b/api_docs/kbn_securitysolution_io_ts_alerting_types.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-securitysolution-io-ts-alerting-types title: "@kbn/securitysolution-io-ts-alerting-types" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/securitysolution-io-ts-alerting-types plugin -date: 2024-01-16 +date: 2024-01-17 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 0c2daa6517d04..f0035d36583c0 100644 --- a/api_docs/kbn_securitysolution_io_ts_list_types.mdx +++ b/api_docs/kbn_securitysolution_io_ts_list_types.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-securitysolution-io-ts-list-types title: "@kbn/securitysolution-io-ts-list-types" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/securitysolution-io-ts-list-types plugin -date: 2024-01-16 +date: 2024-01-17 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 30ac819771155..38563c33b778f 100644 --- a/api_docs/kbn_securitysolution_io_ts_types.mdx +++ b/api_docs/kbn_securitysolution_io_ts_types.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-securitysolution-io-ts-types title: "@kbn/securitysolution-io-ts-types" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/securitysolution-io-ts-types plugin -date: 2024-01-16 +date: 2024-01-17 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 cfcbae417820b..6dc41011c30d2 100644 --- a/api_docs/kbn_securitysolution_io_ts_utils.mdx +++ b/api_docs/kbn_securitysolution_io_ts_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-securitysolution-io-ts-utils title: "@kbn/securitysolution-io-ts-utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/securitysolution-io-ts-utils plugin -date: 2024-01-16 +date: 2024-01-17 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 396d2665cee8f..735390684362e 100644 --- a/api_docs/kbn_securitysolution_list_api.mdx +++ b/api_docs/kbn_securitysolution_list_api.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-securitysolution-list-api title: "@kbn/securitysolution-list-api" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/securitysolution-list-api plugin -date: 2024-01-16 +date: 2024-01-17 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 87ee63945dd1b..e324cc749cf83 100644 --- a/api_docs/kbn_securitysolution_list_constants.mdx +++ b/api_docs/kbn_securitysolution_list_constants.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-securitysolution-list-constants title: "@kbn/securitysolution-list-constants" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/securitysolution-list-constants plugin -date: 2024-01-16 +date: 2024-01-17 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 7ab52bb381bbb..68d4ce709ee41 100644 --- a/api_docs/kbn_securitysolution_list_hooks.mdx +++ b/api_docs/kbn_securitysolution_list_hooks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-securitysolution-list-hooks title: "@kbn/securitysolution-list-hooks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/securitysolution-list-hooks plugin -date: 2024-01-16 +date: 2024-01-17 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 1889f065c9d58..46db78941092a 100644 --- a/api_docs/kbn_securitysolution_list_utils.mdx +++ b/api_docs/kbn_securitysolution_list_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-securitysolution-list-utils title: "@kbn/securitysolution-list-utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/securitysolution-list-utils plugin -date: 2024-01-16 +date: 2024-01-17 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 43c4b3d933ffe..2c499ff8af964 100644 --- a/api_docs/kbn_securitysolution_rules.mdx +++ b/api_docs/kbn_securitysolution_rules.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-securitysolution-rules title: "@kbn/securitysolution-rules" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/securitysolution-rules plugin -date: 2024-01-16 +date: 2024-01-17 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 7d525cf5b3d6c..71499f1984ba9 100644 --- a/api_docs/kbn_securitysolution_t_grid.mdx +++ b/api_docs/kbn_securitysolution_t_grid.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-securitysolution-t-grid title: "@kbn/securitysolution-t-grid" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/securitysolution-t-grid plugin -date: 2024-01-16 +date: 2024-01-17 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 2111733c7f861..d4e4da77c94e4 100644 --- a/api_docs/kbn_securitysolution_utils.mdx +++ b/api_docs/kbn_securitysolution_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-securitysolution-utils title: "@kbn/securitysolution-utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/securitysolution-utils plugin -date: 2024-01-16 +date: 2024-01-17 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 aeed93c8fefb6..75cd456ec4690 100644 --- a/api_docs/kbn_server_http_tools.mdx +++ b/api_docs/kbn_server_http_tools.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-server-http-tools title: "@kbn/server-http-tools" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/server-http-tools plugin -date: 2024-01-16 +date: 2024-01-17 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 5858da39a3b95..af3eece7b387d 100644 --- a/api_docs/kbn_server_route_repository.mdx +++ b/api_docs/kbn_server_route_repository.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-server-route-repository title: "@kbn/server-route-repository" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/server-route-repository plugin -date: 2024-01-16 +date: 2024-01-17 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/server-route-repository'] --- import kbnServerRouteRepositoryObj from './kbn_server_route_repository.devdocs.json'; diff --git a/api_docs/kbn_serverless_common_settings.mdx b/api_docs/kbn_serverless_common_settings.mdx index 259eb5cda193d..cdbb7f79c09f2 100644 --- a/api_docs/kbn_serverless_common_settings.mdx +++ b/api_docs/kbn_serverless_common_settings.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-serverless-common-settings title: "@kbn/serverless-common-settings" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/serverless-common-settings plugin -date: 2024-01-16 +date: 2024-01-17 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/serverless-common-settings'] --- import kbnServerlessCommonSettingsObj from './kbn_serverless_common_settings.devdocs.json'; diff --git a/api_docs/kbn_serverless_observability_settings.mdx b/api_docs/kbn_serverless_observability_settings.mdx index 6276f33bccb12..e98a4e165fce3 100644 --- a/api_docs/kbn_serverless_observability_settings.mdx +++ b/api_docs/kbn_serverless_observability_settings.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-serverless-observability-settings title: "@kbn/serverless-observability-settings" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/serverless-observability-settings plugin -date: 2024-01-16 +date: 2024-01-17 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/serverless-observability-settings'] --- import kbnServerlessObservabilitySettingsObj from './kbn_serverless_observability_settings.devdocs.json'; diff --git a/api_docs/kbn_serverless_project_switcher.mdx b/api_docs/kbn_serverless_project_switcher.mdx index acd1c606df455..455d43b011573 100644 --- a/api_docs/kbn_serverless_project_switcher.mdx +++ b/api_docs/kbn_serverless_project_switcher.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-serverless-project-switcher title: "@kbn/serverless-project-switcher" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/serverless-project-switcher plugin -date: 2024-01-16 +date: 2024-01-17 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/serverless-project-switcher'] --- import kbnServerlessProjectSwitcherObj from './kbn_serverless_project_switcher.devdocs.json'; diff --git a/api_docs/kbn_serverless_search_settings.mdx b/api_docs/kbn_serverless_search_settings.mdx index a509f94f7a99a..a0a09fd452675 100644 --- a/api_docs/kbn_serverless_search_settings.mdx +++ b/api_docs/kbn_serverless_search_settings.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-serverless-search-settings title: "@kbn/serverless-search-settings" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/serverless-search-settings plugin -date: 2024-01-16 +date: 2024-01-17 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/serverless-search-settings'] --- import kbnServerlessSearchSettingsObj from './kbn_serverless_search_settings.devdocs.json'; diff --git a/api_docs/kbn_serverless_security_settings.mdx b/api_docs/kbn_serverless_security_settings.mdx index d5be722a0c795..81448e59d9721 100644 --- a/api_docs/kbn_serverless_security_settings.mdx +++ b/api_docs/kbn_serverless_security_settings.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-serverless-security-settings title: "@kbn/serverless-security-settings" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/serverless-security-settings plugin -date: 2024-01-16 +date: 2024-01-17 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/serverless-security-settings'] --- import kbnServerlessSecuritySettingsObj from './kbn_serverless_security_settings.devdocs.json'; diff --git a/api_docs/kbn_serverless_storybook_config.mdx b/api_docs/kbn_serverless_storybook_config.mdx index 68e80a321166e..9fcf8350d15c6 100644 --- a/api_docs/kbn_serverless_storybook_config.mdx +++ b/api_docs/kbn_serverless_storybook_config.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-serverless-storybook-config title: "@kbn/serverless-storybook-config" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/serverless-storybook-config plugin -date: 2024-01-16 +date: 2024-01-17 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 913e6cf1d07d0..5e3b79155f5b7 100644 --- a/api_docs/kbn_shared_svg.mdx +++ b/api_docs/kbn_shared_svg.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-svg title: "@kbn/shared-svg" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-svg plugin -date: 2024-01-16 +date: 2024-01-17 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 128a83059bf38..622a4f91c3826 100644 --- a/api_docs/kbn_shared_ux_avatar_solution.mdx +++ b/api_docs/kbn_shared_ux_avatar_solution.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-avatar-solution title: "@kbn/shared-ux-avatar-solution" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-avatar-solution plugin -date: 2024-01-16 +date: 2024-01-17 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-avatar-solution'] --- import kbnSharedUxAvatarSolutionObj from './kbn_shared_ux_avatar_solution.devdocs.json'; diff --git a/api_docs/kbn_shared_ux_button_exit_full_screen.mdx b/api_docs/kbn_shared_ux_button_exit_full_screen.mdx index 96430b82d45e9..d8054d0e31d7a 100644 --- a/api_docs/kbn_shared_ux_button_exit_full_screen.mdx +++ b/api_docs/kbn_shared_ux_button_exit_full_screen.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-button-exit-full-screen title: "@kbn/shared-ux-button-exit-full-screen" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-button-exit-full-screen plugin -date: 2024-01-16 +date: 2024-01-17 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-button-exit-full-screen'] --- import kbnSharedUxButtonExitFullScreenObj from './kbn_shared_ux_button_exit_full_screen.devdocs.json'; diff --git a/api_docs/kbn_shared_ux_button_toolbar.mdx b/api_docs/kbn_shared_ux_button_toolbar.mdx index 6a511afc5884e..b9c2ffcf29775 100644 --- a/api_docs/kbn_shared_ux_button_toolbar.mdx +++ b/api_docs/kbn_shared_ux_button_toolbar.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-button-toolbar title: "@kbn/shared-ux-button-toolbar" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-button-toolbar plugin -date: 2024-01-16 +date: 2024-01-17 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 afbb9a093725e..0dc2e868d3f10 100644 --- a/api_docs/kbn_shared_ux_card_no_data.mdx +++ b/api_docs/kbn_shared_ux_card_no_data.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-card-no-data title: "@kbn/shared-ux-card-no-data" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-card-no-data plugin -date: 2024-01-16 +date: 2024-01-17 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 1e7fcc2824575..fe01baa02ba9c 100644 --- a/api_docs/kbn_shared_ux_card_no_data_mocks.mdx +++ b/api_docs/kbn_shared_ux_card_no_data_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-card-no-data-mocks title: "@kbn/shared-ux-card-no-data-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-card-no-data-mocks plugin -date: 2024-01-16 +date: 2024-01-17 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 4faa2cb1426ad..96de9fef729e2 100644 --- a/api_docs/kbn_shared_ux_chrome_navigation.mdx +++ b/api_docs/kbn_shared_ux_chrome_navigation.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-chrome-navigation title: "@kbn/shared-ux-chrome-navigation" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-chrome-navigation plugin -date: 2024-01-16 +date: 2024-01-17 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-chrome-navigation'] --- import kbnSharedUxChromeNavigationObj from './kbn_shared_ux_chrome_navigation.devdocs.json'; diff --git a/api_docs/kbn_shared_ux_error_boundary.mdx b/api_docs/kbn_shared_ux_error_boundary.mdx index 078ad20536ad4..7eba2c7f96a6e 100644 --- a/api_docs/kbn_shared_ux_error_boundary.mdx +++ b/api_docs/kbn_shared_ux_error_boundary.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-error-boundary title: "@kbn/shared-ux-error-boundary" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-error-boundary plugin -date: 2024-01-16 +date: 2024-01-17 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-error-boundary'] --- import kbnSharedUxErrorBoundaryObj from './kbn_shared_ux_error_boundary.devdocs.json'; diff --git a/api_docs/kbn_shared_ux_file_context.mdx b/api_docs/kbn_shared_ux_file_context.mdx index bcc2dc1c7c178..63a7baf2f6209 100644 --- a/api_docs/kbn_shared_ux_file_context.mdx +++ b/api_docs/kbn_shared_ux_file_context.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-file-context title: "@kbn/shared-ux-file-context" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-file-context plugin -date: 2024-01-16 +date: 2024-01-17 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 0e1108a16e9b1..27141d8723745 100644 --- a/api_docs/kbn_shared_ux_file_image.mdx +++ b/api_docs/kbn_shared_ux_file_image.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-file-image title: "@kbn/shared-ux-file-image" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-file-image plugin -date: 2024-01-16 +date: 2024-01-17 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 fd6534b5d1b8d..db7be4e54a821 100644 --- a/api_docs/kbn_shared_ux_file_image_mocks.mdx +++ b/api_docs/kbn_shared_ux_file_image_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-file-image-mocks title: "@kbn/shared-ux-file-image-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-file-image-mocks plugin -date: 2024-01-16 +date: 2024-01-17 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 2646632c6fd99..051889ee72602 100644 --- a/api_docs/kbn_shared_ux_file_mocks.mdx +++ b/api_docs/kbn_shared_ux_file_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-file-mocks title: "@kbn/shared-ux-file-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-file-mocks plugin -date: 2024-01-16 +date: 2024-01-17 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 dd63bdcf5124f..51cf640dc7810 100644 --- a/api_docs/kbn_shared_ux_file_picker.mdx +++ b/api_docs/kbn_shared_ux_file_picker.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-file-picker title: "@kbn/shared-ux-file-picker" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-file-picker plugin -date: 2024-01-16 +date: 2024-01-17 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 52c1f39eda2e6..7d0313e717ba6 100644 --- a/api_docs/kbn_shared_ux_file_types.mdx +++ b/api_docs/kbn_shared_ux_file_types.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-file-types title: "@kbn/shared-ux-file-types" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-file-types plugin -date: 2024-01-16 +date: 2024-01-17 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 6931644afa4e0..0feb10f976371 100644 --- a/api_docs/kbn_shared_ux_file_upload.mdx +++ b/api_docs/kbn_shared_ux_file_upload.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-file-upload title: "@kbn/shared-ux-file-upload" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-file-upload plugin -date: 2024-01-16 +date: 2024-01-17 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 31c8f64be4c4b..04a29f2e7c34d 100644 --- a/api_docs/kbn_shared_ux_file_util.mdx +++ b/api_docs/kbn_shared_ux_file_util.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-file-util title: "@kbn/shared-ux-file-util" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-file-util plugin -date: 2024-01-16 +date: 2024-01-17 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 9993a1ddd789d..0beff4a90d9de 100644 --- a/api_docs/kbn_shared_ux_link_redirect_app.mdx +++ b/api_docs/kbn_shared_ux_link_redirect_app.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-link-redirect-app title: "@kbn/shared-ux-link-redirect-app" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-link-redirect-app plugin -date: 2024-01-16 +date: 2024-01-17 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 5f85c44674b1f..9ac90c8ccea54 100644 --- a/api_docs/kbn_shared_ux_link_redirect_app_mocks.mdx +++ b/api_docs/kbn_shared_ux_link_redirect_app_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-link-redirect-app-mocks title: "@kbn/shared-ux-link-redirect-app-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-link-redirect-app-mocks plugin -date: 2024-01-16 +date: 2024-01-17 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 4cae4743e0251..23888a8196362 100644 --- a/api_docs/kbn_shared_ux_markdown.mdx +++ b/api_docs/kbn_shared_ux_markdown.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-markdown title: "@kbn/shared-ux-markdown" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-markdown plugin -date: 2024-01-16 +date: 2024-01-17 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 b539a5392fea3..9dcdcbc20be63 100644 --- a/api_docs/kbn_shared_ux_markdown_mocks.mdx +++ b/api_docs/kbn_shared_ux_markdown_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-markdown-mocks title: "@kbn/shared-ux-markdown-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-markdown-mocks plugin -date: 2024-01-16 +date: 2024-01-17 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 dfd08881fd78e..4a93f3920f1e4 100644 --- a/api_docs/kbn_shared_ux_page_analytics_no_data.mdx +++ b/api_docs/kbn_shared_ux_page_analytics_no_data.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-page-analytics-no-data title: "@kbn/shared-ux-page-analytics-no-data" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-page-analytics-no-data plugin -date: 2024-01-16 +date: 2024-01-17 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 28725b6891e10..f4ac59ed42bc5 100644 --- a/api_docs/kbn_shared_ux_page_analytics_no_data_mocks.mdx +++ b/api_docs/kbn_shared_ux_page_analytics_no_data_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-page-analytics-no-data-mocks title: "@kbn/shared-ux-page-analytics-no-data-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-page-analytics-no-data-mocks plugin -date: 2024-01-16 +date: 2024-01-17 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 9332414f24a49..856134228142e 100644 --- a/api_docs/kbn_shared_ux_page_kibana_no_data.mdx +++ b/api_docs/kbn_shared_ux_page_kibana_no_data.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-page-kibana-no-data title: "@kbn/shared-ux-page-kibana-no-data" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-page-kibana-no-data plugin -date: 2024-01-16 +date: 2024-01-17 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 51453742c80d1..1461c3d43245e 100644 --- a/api_docs/kbn_shared_ux_page_kibana_no_data_mocks.mdx +++ b/api_docs/kbn_shared_ux_page_kibana_no_data_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-page-kibana-no-data-mocks title: "@kbn/shared-ux-page-kibana-no-data-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-page-kibana-no-data-mocks plugin -date: 2024-01-16 +date: 2024-01-17 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 12a9d365bfaf7..0b34fa831b910 100644 --- a/api_docs/kbn_shared_ux_page_kibana_template.mdx +++ b/api_docs/kbn_shared_ux_page_kibana_template.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-page-kibana-template title: "@kbn/shared-ux-page-kibana-template" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-page-kibana-template plugin -date: 2024-01-16 +date: 2024-01-17 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 bbd4501efc62a..c0e3544ab7c3c 100644 --- a/api_docs/kbn_shared_ux_page_kibana_template_mocks.mdx +++ b/api_docs/kbn_shared_ux_page_kibana_template_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-page-kibana-template-mocks title: "@kbn/shared-ux-page-kibana-template-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-page-kibana-template-mocks plugin -date: 2024-01-16 +date: 2024-01-17 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 c7ba640d1ec93..95d08db2a9a61 100644 --- a/api_docs/kbn_shared_ux_page_no_data.mdx +++ b/api_docs/kbn_shared_ux_page_no_data.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-page-no-data title: "@kbn/shared-ux-page-no-data" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-page-no-data plugin -date: 2024-01-16 +date: 2024-01-17 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 d5205eff918d2..b12a96b4c8fa2 100644 --- a/api_docs/kbn_shared_ux_page_no_data_config.mdx +++ b/api_docs/kbn_shared_ux_page_no_data_config.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-page-no-data-config title: "@kbn/shared-ux-page-no-data-config" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-page-no-data-config plugin -date: 2024-01-16 +date: 2024-01-17 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 bbffc266e9308..e249310fa895a 100644 --- a/api_docs/kbn_shared_ux_page_no_data_config_mocks.mdx +++ b/api_docs/kbn_shared_ux_page_no_data_config_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-page-no-data-config-mocks title: "@kbn/shared-ux-page-no-data-config-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-page-no-data-config-mocks plugin -date: 2024-01-16 +date: 2024-01-17 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 345e2856028c8..4931650841372 100644 --- a/api_docs/kbn_shared_ux_page_no_data_mocks.mdx +++ b/api_docs/kbn_shared_ux_page_no_data_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-page-no-data-mocks title: "@kbn/shared-ux-page-no-data-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-page-no-data-mocks plugin -date: 2024-01-16 +date: 2024-01-17 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 c9b2c1803ce2d..630a4d2f593ed 100644 --- a/api_docs/kbn_shared_ux_page_solution_nav.mdx +++ b/api_docs/kbn_shared_ux_page_solution_nav.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-page-solution-nav title: "@kbn/shared-ux-page-solution-nav" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-page-solution-nav plugin -date: 2024-01-16 +date: 2024-01-17 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 22a440c73e938..fab5f21007421 100644 --- a/api_docs/kbn_shared_ux_prompt_no_data_views.mdx +++ b/api_docs/kbn_shared_ux_prompt_no_data_views.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-prompt-no-data-views title: "@kbn/shared-ux-prompt-no-data-views" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-prompt-no-data-views plugin -date: 2024-01-16 +date: 2024-01-17 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 27fdbf063c8cf..3620b23ed8a45 100644 --- a/api_docs/kbn_shared_ux_prompt_no_data_views_mocks.mdx +++ b/api_docs/kbn_shared_ux_prompt_no_data_views_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-prompt-no-data-views-mocks title: "@kbn/shared-ux-prompt-no-data-views-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-prompt-no-data-views-mocks plugin -date: 2024-01-16 +date: 2024-01-17 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 9b6d3380938ea..2a1190d84ab03 100644 --- a/api_docs/kbn_shared_ux_prompt_not_found.mdx +++ b/api_docs/kbn_shared_ux_prompt_not_found.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-prompt-not-found title: "@kbn/shared-ux-prompt-not-found" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-prompt-not-found plugin -date: 2024-01-16 +date: 2024-01-17 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 1276e6eaa34b4..5f5f277518181 100644 --- a/api_docs/kbn_shared_ux_router.mdx +++ b/api_docs/kbn_shared_ux_router.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-router title: "@kbn/shared-ux-router" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-router plugin -date: 2024-01-16 +date: 2024-01-17 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 6cde2047ee863..b11af56968426 100644 --- a/api_docs/kbn_shared_ux_router_mocks.mdx +++ b/api_docs/kbn_shared_ux_router_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-router-mocks title: "@kbn/shared-ux-router-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-router-mocks plugin -date: 2024-01-16 +date: 2024-01-17 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 63ee372b6297c..c30b95ef43d35 100644 --- a/api_docs/kbn_shared_ux_storybook_config.mdx +++ b/api_docs/kbn_shared_ux_storybook_config.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-storybook-config title: "@kbn/shared-ux-storybook-config" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-storybook-config plugin -date: 2024-01-16 +date: 2024-01-17 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 5877795e1dcf8..db63e645e64dd 100644 --- a/api_docs/kbn_shared_ux_storybook_mock.mdx +++ b/api_docs/kbn_shared_ux_storybook_mock.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-storybook-mock title: "@kbn/shared-ux-storybook-mock" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-storybook-mock plugin -date: 2024-01-16 +date: 2024-01-17 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 39dbfc2c538cb..37d7eeb902e09 100644 --- a/api_docs/kbn_shared_ux_utility.mdx +++ b/api_docs/kbn_shared_ux_utility.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-utility title: "@kbn/shared-ux-utility" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-utility plugin -date: 2024-01-16 +date: 2024-01-17 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 83538d7689e16..c658c987fcc50 100644 --- a/api_docs/kbn_slo_schema.mdx +++ b/api_docs/kbn_slo_schema.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-slo-schema title: "@kbn/slo-schema" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/slo-schema plugin -date: 2024-01-16 +date: 2024-01-17 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 691291f4b21f2..ffa5fd0f4d7d6 100644 --- a/api_docs/kbn_some_dev_log.mdx +++ b/api_docs/kbn_some_dev_log.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-some-dev-log title: "@kbn/some-dev-log" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/some-dev-log plugin -date: 2024-01-16 +date: 2024-01-17 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 292497286f872..6447fd3754fbd 100644 --- a/api_docs/kbn_std.mdx +++ b/api_docs/kbn_std.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-std title: "@kbn/std" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/std plugin -date: 2024-01-16 +date: 2024-01-17 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 06df3130ac4f4..68a7b0b466ec2 100644 --- a/api_docs/kbn_stdio_dev_helpers.mdx +++ b/api_docs/kbn_stdio_dev_helpers.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-stdio-dev-helpers title: "@kbn/stdio-dev-helpers" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/stdio-dev-helpers plugin -date: 2024-01-16 +date: 2024-01-17 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 47f0d52f5eaa6..7fbbabf346412 100644 --- a/api_docs/kbn_storybook.mdx +++ b/api_docs/kbn_storybook.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-storybook title: "@kbn/storybook" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/storybook plugin -date: 2024-01-16 +date: 2024-01-17 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 1c16f4766a205..c1f5f56deecee 100644 --- a/api_docs/kbn_telemetry_tools.mdx +++ b/api_docs/kbn_telemetry_tools.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-telemetry-tools title: "@kbn/telemetry-tools" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/telemetry-tools plugin -date: 2024-01-16 +date: 2024-01-17 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 0578a1af4f5d1..052d17fa8b7e6 100644 --- a/api_docs/kbn_test.mdx +++ b/api_docs/kbn_test.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-test title: "@kbn/test" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/test plugin -date: 2024-01-16 +date: 2024-01-17 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/test'] --- import kbnTestObj from './kbn_test.devdocs.json'; diff --git a/api_docs/kbn_test_eui_helpers.mdx b/api_docs/kbn_test_eui_helpers.mdx index 661f84d3afe7a..c30a0865248ea 100644 --- a/api_docs/kbn_test_eui_helpers.mdx +++ b/api_docs/kbn_test_eui_helpers.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-test-eui-helpers title: "@kbn/test-eui-helpers" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/test-eui-helpers plugin -date: 2024-01-16 +date: 2024-01-17 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/test-eui-helpers'] --- import kbnTestEuiHelpersObj from './kbn_test_eui_helpers.devdocs.json'; diff --git a/api_docs/kbn_test_jest_helpers.mdx b/api_docs/kbn_test_jest_helpers.mdx index 8587cbfce3d70..e74c44a15e27b 100644 --- a/api_docs/kbn_test_jest_helpers.mdx +++ b/api_docs/kbn_test_jest_helpers.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-test-jest-helpers title: "@kbn/test-jest-helpers" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/test-jest-helpers plugin -date: 2024-01-16 +date: 2024-01-17 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 be2f1872e0c06..3428105f93ac4 100644 --- a/api_docs/kbn_test_subj_selector.mdx +++ b/api_docs/kbn_test_subj_selector.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-test-subj-selector title: "@kbn/test-subj-selector" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/test-subj-selector plugin -date: 2024-01-16 +date: 2024-01-17 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 d584d47f8e92a..038667ed64454 100644 --- a/api_docs/kbn_text_based_editor.mdx +++ b/api_docs/kbn_text_based_editor.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-text-based-editor title: "@kbn/text-based-editor" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/text-based-editor plugin -date: 2024-01-16 +date: 2024-01-17 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 c91b34cf03183..f89d76423be2d 100644 --- a/api_docs/kbn_tooling_log.mdx +++ b/api_docs/kbn_tooling_log.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-tooling-log title: "@kbn/tooling-log" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/tooling-log plugin -date: 2024-01-16 +date: 2024-01-17 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/tooling-log'] --- import kbnToolingLogObj from './kbn_tooling_log.devdocs.json'; diff --git a/api_docs/kbn_triggers_actions_ui_types.mdx b/api_docs/kbn_triggers_actions_ui_types.mdx index ee33131bea7c4..26eaab1fe7a9c 100644 --- a/api_docs/kbn_triggers_actions_ui_types.mdx +++ b/api_docs/kbn_triggers_actions_ui_types.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-triggers-actions-ui-types title: "@kbn/triggers-actions-ui-types" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/triggers-actions-ui-types plugin -date: 2024-01-16 +date: 2024-01-17 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/triggers-actions-ui-types'] --- import kbnTriggersActionsUiTypesObj from './kbn_triggers_actions_ui_types.devdocs.json'; diff --git a/api_docs/kbn_ts_projects.mdx b/api_docs/kbn_ts_projects.mdx index bd74278992303..fcf1f539e8bc9 100644 --- a/api_docs/kbn_ts_projects.mdx +++ b/api_docs/kbn_ts_projects.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ts-projects title: "@kbn/ts-projects" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ts-projects plugin -date: 2024-01-16 +date: 2024-01-17 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 1f95dd18c0c89..471a7f66d3c68 100644 --- a/api_docs/kbn_typed_react_router_config.mdx +++ b/api_docs/kbn_typed_react_router_config.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-typed-react-router-config title: "@kbn/typed-react-router-config" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/typed-react-router-config plugin -date: 2024-01-16 +date: 2024-01-17 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 cf947dda613e4..6c09f94317a86 100644 --- a/api_docs/kbn_ui_actions_browser.mdx +++ b/api_docs/kbn_ui_actions_browser.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ui-actions-browser title: "@kbn/ui-actions-browser" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ui-actions-browser plugin -date: 2024-01-16 +date: 2024-01-17 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 bccd65ae034f0..950b4c0a4bba2 100644 --- a/api_docs/kbn_ui_shared_deps_src.mdx +++ b/api_docs/kbn_ui_shared_deps_src.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ui-shared-deps-src title: "@kbn/ui-shared-deps-src" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ui-shared-deps-src plugin -date: 2024-01-16 +date: 2024-01-17 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 433fa1d7a0a4e..b1f068ad1a097 100644 --- a/api_docs/kbn_ui_theme.mdx +++ b/api_docs/kbn_ui_theme.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ui-theme title: "@kbn/ui-theme" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ui-theme plugin -date: 2024-01-16 +date: 2024-01-17 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ui-theme'] --- import kbnUiThemeObj from './kbn_ui_theme.devdocs.json'; diff --git a/api_docs/kbn_unified_data_table.mdx b/api_docs/kbn_unified_data_table.mdx index 00efa7ab17ac7..2b05696412a00 100644 --- a/api_docs/kbn_unified_data_table.mdx +++ b/api_docs/kbn_unified_data_table.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-unified-data-table title: "@kbn/unified-data-table" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/unified-data-table plugin -date: 2024-01-16 +date: 2024-01-17 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/unified-data-table'] --- import kbnUnifiedDataTableObj from './kbn_unified_data_table.devdocs.json'; diff --git a/api_docs/kbn_unified_doc_viewer.mdx b/api_docs/kbn_unified_doc_viewer.mdx index 0fdc9a34411ae..09a7304803dec 100644 --- a/api_docs/kbn_unified_doc_viewer.mdx +++ b/api_docs/kbn_unified_doc_viewer.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-unified-doc-viewer title: "@kbn/unified-doc-viewer" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/unified-doc-viewer plugin -date: 2024-01-16 +date: 2024-01-17 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/unified-doc-viewer'] --- import kbnUnifiedDocViewerObj from './kbn_unified_doc_viewer.devdocs.json'; diff --git a/api_docs/kbn_unified_field_list.mdx b/api_docs/kbn_unified_field_list.mdx index 8279a5b968d82..5035af0f08dea 100644 --- a/api_docs/kbn_unified_field_list.mdx +++ b/api_docs/kbn_unified_field_list.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-unified-field-list title: "@kbn/unified-field-list" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/unified-field-list plugin -date: 2024-01-16 +date: 2024-01-17 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/unified-field-list'] --- import kbnUnifiedFieldListObj from './kbn_unified_field_list.devdocs.json'; diff --git a/api_docs/kbn_unsaved_changes_badge.mdx b/api_docs/kbn_unsaved_changes_badge.mdx index 0cbdc049b4716..cf11b4a036933 100644 --- a/api_docs/kbn_unsaved_changes_badge.mdx +++ b/api_docs/kbn_unsaved_changes_badge.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-unsaved-changes-badge title: "@kbn/unsaved-changes-badge" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/unsaved-changes-badge plugin -date: 2024-01-16 +date: 2024-01-17 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/unsaved-changes-badge'] --- import kbnUnsavedChangesBadgeObj from './kbn_unsaved_changes_badge.devdocs.json'; diff --git a/api_docs/kbn_url_state.mdx b/api_docs/kbn_url_state.mdx index 9bcb1f277ef8a..e23ac3c3d6942 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: 2024-01-16 +date: 2024-01-17 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/url-state'] --- import kbnUrlStateObj from './kbn_url_state.devdocs.json'; diff --git a/api_docs/kbn_use_tracked_promise.mdx b/api_docs/kbn_use_tracked_promise.mdx index 415dd95d39029..eb44b1990742d 100644 --- a/api_docs/kbn_use_tracked_promise.mdx +++ b/api_docs/kbn_use_tracked_promise.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-use-tracked-promise title: "@kbn/use-tracked-promise" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/use-tracked-promise plugin -date: 2024-01-16 +date: 2024-01-17 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/use-tracked-promise'] --- import kbnUseTrackedPromiseObj from './kbn_use_tracked_promise.devdocs.json'; diff --git a/api_docs/kbn_user_profile_components.mdx b/api_docs/kbn_user_profile_components.mdx index 75126105e39a4..750331f310230 100644 --- a/api_docs/kbn_user_profile_components.mdx +++ b/api_docs/kbn_user_profile_components.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-user-profile-components title: "@kbn/user-profile-components" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/user-profile-components plugin -date: 2024-01-16 +date: 2024-01-17 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 4302a69f1c375..dbfda8cc9ecac 100644 --- a/api_docs/kbn_utility_types.mdx +++ b/api_docs/kbn_utility_types.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-utility-types title: "@kbn/utility-types" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/utility-types plugin -date: 2024-01-16 +date: 2024-01-17 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 af5057a7e4726..327e5dc2cb7b5 100644 --- a/api_docs/kbn_utility_types_jest.mdx +++ b/api_docs/kbn_utility_types_jest.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-utility-types-jest title: "@kbn/utility-types-jest" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/utility-types-jest plugin -date: 2024-01-16 +date: 2024-01-17 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 c171fcf22c3cc..239097956fe83 100644 --- a/api_docs/kbn_utils.mdx +++ b/api_docs/kbn_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-utils title: "@kbn/utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/utils plugin -date: 2024-01-16 +date: 2024-01-17 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/utils'] --- import kbnUtilsObj from './kbn_utils.devdocs.json'; diff --git a/api_docs/kbn_visualization_ui_components.mdx b/api_docs/kbn_visualization_ui_components.mdx index a6efb574da65b..12fc5ace566a3 100644 --- a/api_docs/kbn_visualization_ui_components.mdx +++ b/api_docs/kbn_visualization_ui_components.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-visualization-ui-components title: "@kbn/visualization-ui-components" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/visualization-ui-components plugin -date: 2024-01-16 +date: 2024-01-17 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/visualization-ui-components'] --- import kbnVisualizationUiComponentsObj from './kbn_visualization_ui_components.devdocs.json'; diff --git a/api_docs/kbn_visualization_utils.mdx b/api_docs/kbn_visualization_utils.mdx index 19b58ba064969..0f9b8aa7566f1 100644 --- a/api_docs/kbn_visualization_utils.mdx +++ b/api_docs/kbn_visualization_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-visualization-utils title: "@kbn/visualization-utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/visualization-utils plugin -date: 2024-01-16 +date: 2024-01-17 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/visualization-utils'] --- import kbnVisualizationUtilsObj from './kbn_visualization_utils.devdocs.json'; diff --git a/api_docs/kbn_xstate_utils.mdx b/api_docs/kbn_xstate_utils.mdx index 0a70ee3d99645..4d6e6df376a21 100644 --- a/api_docs/kbn_xstate_utils.mdx +++ b/api_docs/kbn_xstate_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-xstate-utils title: "@kbn/xstate-utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/xstate-utils plugin -date: 2024-01-16 +date: 2024-01-17 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/xstate-utils'] --- import kbnXstateUtilsObj from './kbn_xstate_utils.devdocs.json'; diff --git a/api_docs/kbn_yarn_lock_validator.mdx b/api_docs/kbn_yarn_lock_validator.mdx index f480feeb6621a..3c0f7c2ae47cb 100644 --- a/api_docs/kbn_yarn_lock_validator.mdx +++ b/api_docs/kbn_yarn_lock_validator.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-yarn-lock-validator title: "@kbn/yarn-lock-validator" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/yarn-lock-validator plugin -date: 2024-01-16 +date: 2024-01-17 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/yarn-lock-validator'] --- import kbnYarnLockValidatorObj from './kbn_yarn_lock_validator.devdocs.json'; diff --git a/api_docs/kbn_zod_helpers.mdx b/api_docs/kbn_zod_helpers.mdx index 527997dfd5c12..212e1536c50ea 100644 --- a/api_docs/kbn_zod_helpers.mdx +++ b/api_docs/kbn_zod_helpers.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-zod-helpers title: "@kbn/zod-helpers" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/zod-helpers plugin -date: 2024-01-16 +date: 2024-01-17 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/zod-helpers'] --- import kbnZodHelpersObj from './kbn_zod_helpers.devdocs.json'; diff --git a/api_docs/kibana_overview.mdx b/api_docs/kibana_overview.mdx index cc0697604af71..e476be31a568a 100644 --- a/api_docs/kibana_overview.mdx +++ b/api_docs/kibana_overview.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kibanaOverview title: "kibanaOverview" image: https://source.unsplash.com/400x175/?github description: API docs for the kibanaOverview plugin -date: 2024-01-16 +date: 2024-01-17 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'kibanaOverview'] --- import kibanaOverviewObj from './kibana_overview.devdocs.json'; diff --git a/api_docs/kibana_react.devdocs.json b/api_docs/kibana_react.devdocs.json index 1d779c94c042d..fbf2557c24d96 100644 --- a/api_docs/kibana_react.devdocs.json +++ b/api_docs/kibana_react.devdocs.json @@ -1615,6 +1615,10 @@ "plugin": "securitySolution", "path": "x-pack/plugins/security_solution/public/app/app.tsx" }, + { + "plugin": "console", + "path": "src/plugins/console/public/shared_imports.ts" + }, { "plugin": "snapshotRestore", "path": "x-pack/plugins/snapshot_restore/public/shared_imports.ts" @@ -1735,22 +1739,6 @@ "plugin": "triggersActionsUi", "path": "x-pack/plugins/triggers_actions_ui/public/application/sections/test_utils.tsx" }, - { - "plugin": "console", - "path": "src/plugins/console/public/shared_imports.ts" - }, - { - "plugin": "console", - "path": "src/plugins/console/public/application/index.tsx" - }, - { - "plugin": "console", - "path": "src/plugins/console/public/application/index.tsx" - }, - { - "plugin": "console", - "path": "src/plugins/console/public/application/index.tsx" - }, { "plugin": "filesManagement", "path": "src/plugins/files_management/public/mount_management_section.tsx" @@ -3124,6 +3112,18 @@ "plugin": "securitySolution", "path": "x-pack/plugins/security_solution/public/detection_engine/rule_management_ui/components/rules_table/bulk_actions/use_bulk_actions.tsx" }, + { + "plugin": "console", + "path": "src/plugins/console/public/shared_imports.ts" + }, + { + "plugin": "console", + "path": "src/plugins/console/public/application/hooks/use_send_current_request/use_send_current_request.ts" + }, + { + "plugin": "console", + "path": "src/plugins/console/public/application/hooks/use_send_current_request/use_send_current_request.ts" + }, { "plugin": "synthetics", "path": "x-pack/plugins/synthetics/public/apps/synthetics/state/monitor_list/toast_title.tsx" @@ -3216,18 +3216,6 @@ "plugin": "cloudLinks", "path": "x-pack/plugins/cloud_integrations/cloud_links/public/maybe_add_cloud_links/theme_darkmode_toggle.tsx" }, - { - "plugin": "console", - "path": "src/plugins/console/public/shared_imports.ts" - }, - { - "plugin": "console", - "path": "src/plugins/console/public/application/hooks/use_send_current_request/use_send_current_request.ts" - }, - { - "plugin": "console", - "path": "src/plugins/console/public/application/hooks/use_send_current_request/use_send_current_request.ts" - }, { "plugin": "dataViewManagement", "path": "src/plugins/data_view_management/public/components/edit_index_pattern/indexed_fields_table/components/table/table.tsx" diff --git a/api_docs/kibana_react.mdx b/api_docs/kibana_react.mdx index f448e22bc2faf..a47137a05baa5 100644 --- a/api_docs/kibana_react.mdx +++ b/api_docs/kibana_react.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kibanaReact title: "kibanaReact" image: https://source.unsplash.com/400x175/?github description: API docs for the kibanaReact plugin -date: 2024-01-16 +date: 2024-01-17 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 2db5fb4ad16fb..607d2b10dad00 100644 --- a/api_docs/kibana_utils.mdx +++ b/api_docs/kibana_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kibanaUtils title: "kibanaUtils" image: https://source.unsplash.com/400x175/?github description: API docs for the kibanaUtils plugin -date: 2024-01-16 +date: 2024-01-17 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 6e6aacb00f172..8aa18871fc184 100644 --- a/api_docs/kubernetes_security.mdx +++ b/api_docs/kubernetes_security.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kubernetesSecurity title: "kubernetesSecurity" image: https://source.unsplash.com/400x175/?github description: API docs for the kubernetesSecurity plugin -date: 2024-01-16 +date: 2024-01-17 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 9b99764cf44af..7dc731821e9fd 100644 --- a/api_docs/lens.mdx +++ b/api_docs/lens.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/lens title: "lens" image: https://source.unsplash.com/400x175/?github description: API docs for the lens plugin -date: 2024-01-16 +date: 2024-01-17 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 9d49c301b81a8..7d7b96eef9a55 100644 --- a/api_docs/license_api_guard.mdx +++ b/api_docs/license_api_guard.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/licenseApiGuard title: "licenseApiGuard" image: https://source.unsplash.com/400x175/?github description: API docs for the licenseApiGuard plugin -date: 2024-01-16 +date: 2024-01-17 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 f38aaeae7cad1..531481fd69615 100644 --- a/api_docs/license_management.mdx +++ b/api_docs/license_management.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/licenseManagement title: "licenseManagement" image: https://source.unsplash.com/400x175/?github description: API docs for the licenseManagement plugin -date: 2024-01-16 +date: 2024-01-17 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 feb537b00defc..d7294f06d90a7 100644 --- a/api_docs/licensing.mdx +++ b/api_docs/licensing.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/licensing title: "licensing" image: https://source.unsplash.com/400x175/?github description: API docs for the licensing plugin -date: 2024-01-16 +date: 2024-01-17 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'licensing'] --- import licensingObj from './licensing.devdocs.json'; diff --git a/api_docs/links.mdx b/api_docs/links.mdx index bdd3aad9ea793..f60321e4828f3 100644 --- a/api_docs/links.mdx +++ b/api_docs/links.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/links title: "links" image: https://source.unsplash.com/400x175/?github description: API docs for the links plugin -date: 2024-01-16 +date: 2024-01-17 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'links'] --- import linksObj from './links.devdocs.json'; diff --git a/api_docs/lists.mdx b/api_docs/lists.mdx index 843b3b81f56ac..1e2a700baf3e6 100644 --- a/api_docs/lists.mdx +++ b/api_docs/lists.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/lists title: "lists" image: https://source.unsplash.com/400x175/?github description: API docs for the lists plugin -date: 2024-01-16 +date: 2024-01-17 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'lists'] --- import listsObj from './lists.devdocs.json'; diff --git a/api_docs/log_explorer.mdx b/api_docs/log_explorer.mdx index d63f69e02bcce..a6ae766ae45e7 100644 --- a/api_docs/log_explorer.mdx +++ b/api_docs/log_explorer.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/logExplorer title: "logExplorer" image: https://source.unsplash.com/400x175/?github description: API docs for the logExplorer plugin -date: 2024-01-16 +date: 2024-01-17 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'logExplorer'] --- import logExplorerObj from './log_explorer.devdocs.json'; diff --git a/api_docs/logs_shared.devdocs.json b/api_docs/logs_shared.devdocs.json index 3fa06f4fdc9cf..696599e59e5f6 100644 --- a/api_docs/logs_shared.devdocs.json +++ b/api_docs/logs_shared.devdocs.json @@ -270,7 +270,15 @@ "label": "LogAIAssistant", "description": [], "signature": [ - "(props: any) => JSX.Element" + "(props: ", + { + "pluginId": "logsShared", + "scope": "public", + "docId": "kibLogsSharedPluginApi", + "section": "def-public.LogAIAssistantProps", + "text": "LogAIAssistantProps" + }, + ") => JSX.Element" ], "path": "x-pack/plugins/logs_shared/public/index.ts", "deprecated": false, @@ -280,12 +288,12 @@ { "parentPluginId": "logsShared", "id": "def-public.LogAIAssistant.$1", - "type": "Any", + "type": "Uncategorized", "tags": [], "label": "props", "description": [], "signature": [ - "any" + "TComponent extends React.JSXElementConstructor ? P : TComponent extends keyof JSX.IntrinsicElements ? JSX.IntrinsicElements[TComponent] : {}" ], "path": "x-pack/plugins/logs_shared/common/dynamic.tsx", "deprecated": false, @@ -302,7 +310,9 @@ "label": "LogColumnHeader", "description": [], "signature": [ - "(props: any) => JSX.Element" + "(props: { columnWidth: ", + "LogEntryColumnWidth", + "; 'data-test-subj'?: string | undefined; } & { children?: React.ReactNode; }) => JSX.Element" ], "path": "x-pack/plugins/logs_shared/public/index.ts", "deprecated": false, @@ -312,12 +322,12 @@ { "parentPluginId": "logsShared", "id": "def-public.LogColumnHeader.$1", - "type": "Any", + "type": "Uncategorized", "tags": [], "label": "props", "description": [], "signature": [ - "any" + "TComponent extends React.JSXElementConstructor ? P : TComponent extends keyof JSX.IntrinsicElements ? JSX.IntrinsicElements[TComponent] : {}" ], "path": "x-pack/plugins/logs_shared/common/dynamic.tsx", "deprecated": false, @@ -334,7 +344,15 @@ "label": "LogColumnHeadersWrapper", "description": [], "signature": [ - "(props: any) => JSX.Element" + "(props: StyledComponentPropsWithAs | keyof JSX.IntrinsicElements, ", + { + "pluginId": "@kbn/react-kibana-context-styled", + "scope": "common", + "docId": "kibKbnReactKibanaContextStyledPluginApi", + "section": "def-common.EuiTheme", + "text": "EuiTheme" + }, + ", { role: React.AriaRole; }, \"role\">) => JSX.Element" ], "path": "x-pack/plugins/logs_shared/public/index.ts", "deprecated": false, @@ -344,12 +362,12 @@ { "parentPluginId": "logsShared", "id": "def-public.LogColumnHeadersWrapper.$1", - "type": "Any", + "type": "Uncategorized", "tags": [], "label": "props", "description": [], "signature": [ - "any" + "TComponent extends React.JSXElementConstructor ? P : TComponent extends keyof JSX.IntrinsicElements ? JSX.IntrinsicElements[TComponent] : {}" ], "path": "x-pack/plugins/logs_shared/common/dynamic.tsx", "deprecated": false, @@ -366,7 +384,15 @@ "label": "LogEntryColumn", "description": [], "signature": [ - "(props: any) => JSX.Element" + "(props: StyledComponentPropsWithAs | keyof JSX.IntrinsicElements, ", + { + "pluginId": "@kbn/react-kibana-context-styled", + "scope": "common", + "docId": "kibKbnReactKibanaContextStyledPluginApi", + "section": "def-common.EuiTheme", + "text": "EuiTheme" + }, + ", { role: \"cell\"; } & LogEntryColumnProps, \"role\">) => JSX.Element" ], "path": "x-pack/plugins/logs_shared/public/index.ts", "deprecated": false, @@ -376,12 +402,12 @@ { "parentPluginId": "logsShared", "id": "def-public.LogEntryColumn.$1", - "type": "Any", + "type": "Uncategorized", "tags": [], "label": "props", "description": [], "signature": [ - "any" + "TComponent extends React.JSXElementConstructor ? P : TComponent extends keyof JSX.IntrinsicElements ? JSX.IntrinsicElements[TComponent] : {}" ], "path": "x-pack/plugins/logs_shared/common/dynamic.tsx", "deprecated": false, @@ -398,7 +424,9 @@ "label": "LogEntryContextMenu", "description": [], "signature": [ - "(props: any) => JSX.Element" + "(props: ", + "LogEntryContextMenuProps", + " & { children?: React.ReactNode; }) => JSX.Element" ], "path": "x-pack/plugins/logs_shared/public/index.ts", "deprecated": false, @@ -408,12 +436,12 @@ { "parentPluginId": "logsShared", "id": "def-public.LogEntryContextMenu.$1", - "type": "Any", + "type": "Uncategorized", "tags": [], "label": "props", "description": [], "signature": [ - "any" + "TComponent extends React.JSXElementConstructor ? P : TComponent extends keyof JSX.IntrinsicElements ? JSX.IntrinsicElements[TComponent] : {}" ], "path": "x-pack/plugins/logs_shared/common/dynamic.tsx", "deprecated": false, @@ -430,7 +458,9 @@ "label": "LogEntryFieldColumn", "description": [], "signature": [ - "(props: any) => JSX.Element" + "(props: ", + "LogEntryFieldColumnProps", + " & { children?: React.ReactNode; }) => JSX.Element" ], "path": "x-pack/plugins/logs_shared/public/index.ts", "deprecated": false, @@ -440,12 +470,12 @@ { "parentPluginId": "logsShared", "id": "def-public.LogEntryFieldColumn.$1", - "type": "Any", + "type": "Uncategorized", "tags": [], "label": "props", "description": [], "signature": [ - "any" + "TComponent extends React.JSXElementConstructor ? P : TComponent extends keyof JSX.IntrinsicElements ? JSX.IntrinsicElements[TComponent] : {}" ], "path": "x-pack/plugins/logs_shared/common/dynamic.tsx", "deprecated": false, @@ -497,7 +527,9 @@ "label": "LogEntryMessageColumn", "description": [], "signature": [ - "(props: any) => JSX.Element" + "(props: ", + "LogEntryMessageColumnProps", + ") => JSX.Element" ], "path": "x-pack/plugins/logs_shared/public/index.ts", "deprecated": false, @@ -507,12 +539,12 @@ { "parentPluginId": "logsShared", "id": "def-public.LogEntryMessageColumn.$1", - "type": "Any", + "type": "Uncategorized", "tags": [], "label": "props", "description": [], "signature": [ - "any" + "TComponent extends React.JSXElementConstructor ? P : TComponent extends keyof JSX.IntrinsicElements ? JSX.IntrinsicElements[TComponent] : {}" ], "path": "x-pack/plugins/logs_shared/common/dynamic.tsx", "deprecated": false, @@ -529,7 +561,15 @@ "label": "LogEntryRowWrapper", "description": [], "signature": [ - "(props: any) => JSX.Element" + "(props: StyledComponentPropsWithAs | keyof JSX.IntrinsicElements, ", + { + "pluginId": "@kbn/react-kibana-context-styled", + "scope": "common", + "docId": "kibKbnReactKibanaContextStyledPluginApi", + "section": "def-common.EuiTheme", + "text": "EuiTheme" + }, + ", { role: \"row\"; } & LogEntryRowWrapperProps, \"role\">) => JSX.Element" ], "path": "x-pack/plugins/logs_shared/public/index.ts", "deprecated": false, @@ -539,12 +579,12 @@ { "parentPluginId": "logsShared", "id": "def-public.LogEntryRowWrapper.$1", - "type": "Any", + "type": "Uncategorized", "tags": [], "label": "props", "description": [], "signature": [ - "any" + "TComponent extends React.JSXElementConstructor ? P : TComponent extends keyof JSX.IntrinsicElements ? JSX.IntrinsicElements[TComponent] : {}" ], "path": "x-pack/plugins/logs_shared/common/dynamic.tsx", "deprecated": false, @@ -561,7 +601,9 @@ "label": "LogEntryTimestampColumn", "description": [], "signature": [ - "(props: any) => JSX.Element" + "(props: ", + "LogEntryTimestampColumnProps", + ") => JSX.Element" ], "path": "x-pack/plugins/logs_shared/public/index.ts", "deprecated": false, @@ -571,12 +613,12 @@ { "parentPluginId": "logsShared", "id": "def-public.LogEntryTimestampColumn.$1", - "type": "Any", + "type": "Uncategorized", "tags": [], "label": "props", "description": [], "signature": [ - "any" + "TComponent extends React.JSXElementConstructor ? P : TComponent extends keyof JSX.IntrinsicElements ? JSX.IntrinsicElements[TComponent] : {}" ], "path": "x-pack/plugins/logs_shared/common/dynamic.tsx", "deprecated": false, @@ -689,7 +731,15 @@ "label": "LogStream", "description": [], "signature": [ - "(props: any) => JSX.Element" + "(props: ", + { + "pluginId": "logsShared", + "scope": "public", + "docId": "kibLogsSharedPluginApi", + "section": "def-public.LogStreamProps", + "text": "LogStreamProps" + }, + ") => JSX.Element" ], "path": "x-pack/plugins/logs_shared/public/index.ts", "deprecated": false, @@ -699,12 +749,12 @@ { "parentPluginId": "logsShared", "id": "def-public.LogStream.$1", - "type": "Any", + "type": "Uncategorized", "tags": [], "label": "props", "description": [], "signature": [ - "any" + "TComponent extends React.JSXElementConstructor ? P : TComponent extends keyof JSX.IntrinsicElements ? JSX.IntrinsicElements[TComponent] : {}" ], "path": "x-pack/plugins/logs_shared/common/dynamic.tsx", "deprecated": false, @@ -991,7 +1041,9 @@ "label": "ScrollableLogTextStreamView", "description": [], "signature": [ - "(props: any) => JSX.Element" + "(props: ", + "ScrollableLogTextStreamViewProps", + ") => JSX.Element" ], "path": "x-pack/plugins/logs_shared/public/index.ts", "deprecated": false, @@ -1001,12 +1053,12 @@ { "parentPluginId": "logsShared", "id": "def-public.ScrollableLogTextStreamView.$1", - "type": "Any", + "type": "Uncategorized", "tags": [], "label": "props", "description": [], "signature": [ - "any" + "TComponent extends React.JSXElementConstructor ? P : TComponent extends keyof JSX.IntrinsicElements ? JSX.IntrinsicElements[TComponent] : {}" ], "path": "x-pack/plugins/logs_shared/common/dynamic.tsx", "deprecated": false, diff --git a/api_docs/logs_shared.mdx b/api_docs/logs_shared.mdx index 52c11c5f382c1..30583fc8c2c84 100644 --- a/api_docs/logs_shared.mdx +++ b/api_docs/logs_shared.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/logsShared title: "logsShared" image: https://source.unsplash.com/400x175/?github description: API docs for the logsShared plugin -date: 2024-01-16 +date: 2024-01-17 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'logsShared'] --- import logsSharedObj from './logs_shared.devdocs.json'; @@ -21,7 +21,7 @@ Contact [@elastic/obs-ux-logs-team](https://github.com/orgs/elastic/teams/obs-ux | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 302 | 11 | 287 | 27 | +| 302 | 0 | 287 | 32 | ## Client diff --git a/api_docs/management.mdx b/api_docs/management.mdx index 117c8fc15e3db..fd1933b159627 100644 --- a/api_docs/management.mdx +++ b/api_docs/management.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/management title: "management" image: https://source.unsplash.com/400x175/?github description: API docs for the management plugin -date: 2024-01-16 +date: 2024-01-17 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 7b0e0631f8806..d84bf6590f960 100644 --- a/api_docs/maps.mdx +++ b/api_docs/maps.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/maps title: "maps" image: https://source.unsplash.com/400x175/?github description: API docs for the maps plugin -date: 2024-01-16 +date: 2024-01-17 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 fbdbd2b3b1e6a..89daf91ba5bdc 100644 --- a/api_docs/maps_ems.mdx +++ b/api_docs/maps_ems.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/mapsEms title: "mapsEms" image: https://source.unsplash.com/400x175/?github description: API docs for the mapsEms plugin -date: 2024-01-16 +date: 2024-01-17 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'mapsEms'] --- import mapsEmsObj from './maps_ems.devdocs.json'; diff --git a/api_docs/metrics_data_access.mdx b/api_docs/metrics_data_access.mdx index dc325a53d9759..3f26168c867f5 100644 --- a/api_docs/metrics_data_access.mdx +++ b/api_docs/metrics_data_access.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/metricsDataAccess title: "metricsDataAccess" image: https://source.unsplash.com/400x175/?github description: API docs for the metricsDataAccess plugin -date: 2024-01-16 +date: 2024-01-17 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'metricsDataAccess'] --- import metricsDataAccessObj from './metrics_data_access.devdocs.json'; diff --git a/api_docs/ml.mdx b/api_docs/ml.mdx index 18f2a4a9eeb2c..e51b51aa7c503 100644 --- a/api_docs/ml.mdx +++ b/api_docs/ml.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/ml title: "ml" image: https://source.unsplash.com/400x175/?github description: API docs for the ml plugin -date: 2024-01-16 +date: 2024-01-17 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'ml'] --- import mlObj from './ml.devdocs.json'; diff --git a/api_docs/mock_idp_plugin.mdx b/api_docs/mock_idp_plugin.mdx index 7a08b5fc30a78..010d476e6975c 100644 --- a/api_docs/mock_idp_plugin.mdx +++ b/api_docs/mock_idp_plugin.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/mockIdpPlugin title: "mockIdpPlugin" image: https://source.unsplash.com/400x175/?github description: API docs for the mockIdpPlugin plugin -date: 2024-01-16 +date: 2024-01-17 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'mockIdpPlugin'] --- import mockIdpPluginObj from './mock_idp_plugin.devdocs.json'; diff --git a/api_docs/monitoring.mdx b/api_docs/monitoring.mdx index ed455232b960a..e0df3d1e24c30 100644 --- a/api_docs/monitoring.mdx +++ b/api_docs/monitoring.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/monitoring title: "monitoring" image: https://source.unsplash.com/400x175/?github description: API docs for the monitoring plugin -date: 2024-01-16 +date: 2024-01-17 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 0ef4e0c867c25..801607d81b3f1 100644 --- a/api_docs/monitoring_collection.mdx +++ b/api_docs/monitoring_collection.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/monitoringCollection title: "monitoringCollection" image: https://source.unsplash.com/400x175/?github description: API docs for the monitoringCollection plugin -date: 2024-01-16 +date: 2024-01-17 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 7ad757bf750bd..255274122e529 100644 --- a/api_docs/navigation.mdx +++ b/api_docs/navigation.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/navigation title: "navigation" image: https://source.unsplash.com/400x175/?github description: API docs for the navigation plugin -date: 2024-01-16 +date: 2024-01-17 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 810cbcddff38e..c27e829dd21ae 100644 --- a/api_docs/newsfeed.mdx +++ b/api_docs/newsfeed.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/newsfeed title: "newsfeed" image: https://source.unsplash.com/400x175/?github description: API docs for the newsfeed plugin -date: 2024-01-16 +date: 2024-01-17 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'newsfeed'] --- import newsfeedObj from './newsfeed.devdocs.json'; diff --git a/api_docs/no_data_page.mdx b/api_docs/no_data_page.mdx index 24e4d1a66c7ba..2de5b581604f2 100644 --- a/api_docs/no_data_page.mdx +++ b/api_docs/no_data_page.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/noDataPage title: "noDataPage" image: https://source.unsplash.com/400x175/?github description: API docs for the noDataPage plugin -date: 2024-01-16 +date: 2024-01-17 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'noDataPage'] --- import noDataPageObj from './no_data_page.devdocs.json'; diff --git a/api_docs/notifications.mdx b/api_docs/notifications.mdx index 0d87d50aed7cb..346ad3c8b0465 100644 --- a/api_docs/notifications.mdx +++ b/api_docs/notifications.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/notifications title: "notifications" image: https://source.unsplash.com/400x175/?github description: API docs for the notifications plugin -date: 2024-01-16 +date: 2024-01-17 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 b8520a0515540..301f3bdc9f4c6 100644 --- a/api_docs/observability.mdx +++ b/api_docs/observability.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/observability title: "observability" image: https://source.unsplash.com/400x175/?github description: API docs for the observability plugin -date: 2024-01-16 +date: 2024-01-17 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'observability'] --- import observabilityObj from './observability.devdocs.json'; diff --git a/api_docs/observability_a_i_assistant.mdx b/api_docs/observability_a_i_assistant.mdx index e46bf9cabe768..e02601f49794c 100644 --- a/api_docs/observability_a_i_assistant.mdx +++ b/api_docs/observability_a_i_assistant.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/observabilityAIAssistant title: "observabilityAIAssistant" image: https://source.unsplash.com/400x175/?github description: API docs for the observabilityAIAssistant plugin -date: 2024-01-16 +date: 2024-01-17 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'observabilityAIAssistant'] --- import observabilityAIAssistantObj from './observability_a_i_assistant.devdocs.json'; diff --git a/api_docs/observability_log_explorer.mdx b/api_docs/observability_log_explorer.mdx index 8fcdda5ec9a75..945301f522f06 100644 --- a/api_docs/observability_log_explorer.mdx +++ b/api_docs/observability_log_explorer.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/observabilityLogExplorer title: "observabilityLogExplorer" image: https://source.unsplash.com/400x175/?github description: API docs for the observabilityLogExplorer plugin -date: 2024-01-16 +date: 2024-01-17 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'observabilityLogExplorer'] --- import observabilityLogExplorerObj from './observability_log_explorer.devdocs.json'; diff --git a/api_docs/observability_onboarding.mdx b/api_docs/observability_onboarding.mdx index 6771bd1bad073..954dc393e821d 100644 --- a/api_docs/observability_onboarding.mdx +++ b/api_docs/observability_onboarding.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/observabilityOnboarding title: "observabilityOnboarding" image: https://source.unsplash.com/400x175/?github description: API docs for the observabilityOnboarding plugin -date: 2024-01-16 +date: 2024-01-17 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 6f31481743603..2ac8e9a1e2acb 100644 --- a/api_docs/observability_shared.mdx +++ b/api_docs/observability_shared.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/observabilityShared title: "observabilityShared" image: https://source.unsplash.com/400x175/?github description: API docs for the observabilityShared plugin -date: 2024-01-16 +date: 2024-01-17 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 be093d0103c2a..f2499aef0c8bf 100644 --- a/api_docs/osquery.mdx +++ b/api_docs/osquery.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/osquery title: "osquery" image: https://source.unsplash.com/400x175/?github description: API docs for the osquery plugin -date: 2024-01-16 +date: 2024-01-17 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'osquery'] --- import osqueryObj from './osquery.devdocs.json'; diff --git a/api_docs/painless_lab.mdx b/api_docs/painless_lab.mdx index 5262f6c28d38f..6ef06c7c974f7 100644 --- a/api_docs/painless_lab.mdx +++ b/api_docs/painless_lab.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/painlessLab title: "painlessLab" image: https://source.unsplash.com/400x175/?github description: API docs for the painlessLab plugin -date: 2024-01-16 +date: 2024-01-17 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'painlessLab'] --- import painlessLabObj from './painless_lab.devdocs.json'; diff --git a/api_docs/plugin_directory.mdx b/api_docs/plugin_directory.mdx index 11987a95c7853..bbbc9234dbe4b 100644 --- a/api_docs/plugin_directory.mdx +++ b/api_docs/plugin_directory.mdx @@ -7,7 +7,7 @@ id: kibDevDocsPluginDirectory slug: /kibana-dev-docs/api-meta/plugin-api-directory title: Directory description: Directory of public APIs available through plugins or packages. -date: 2024-01-16 +date: 2024-01-17 tags: ['contributor', 'dev', 'apidocs', 'kibana'] --- @@ -21,7 +21,7 @@ tags: ['contributor', 'dev', 'apidocs', 'kibana'] | API Count | Any Count | Missing comments | Missing exports | |--------------|----------|-----------------|--------| -| 78851 | 240 | 67518 | 1702 | +| 78924 | 230 | 67573 | 1705 | ## Plugin Directory @@ -49,7 +49,7 @@ tags: ['contributor', 'dev', 'apidocs', 'kibana'] | 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 | | cloudLinks | [@elastic/kibana-core](https://github.com/orgs/elastic/teams/kibana-core) | Adds the links to the Elastic Cloud console | 0 | 0 | 0 | 0 | | | [@elastic/kibana-cloud-security-posture](https://github.com/orgs/elastic/teams/kibana-cloud-security-posture) | The cloud security posture plugin | 14 | 0 | 2 | 2 | -| | [@elastic/platform-deployment-management](https://github.com/orgs/elastic/teams/platform-deployment-management) | - | 13 | 0 | 13 | 1 | +| | [@elastic/platform-deployment-management](https://github.com/orgs/elastic/teams/platform-deployment-management) | - | 29 | 0 | 23 | 0 | | | [@elastic/appex-sharedux](https://github.com/orgs/elastic/teams/appex-sharedux) | Content management app | 149 | 0 | 126 | 6 | | | [@elastic/kibana-presentation](https://github.com/orgs/elastic/teams/kibana-presentation) | The Controls Plugin contains embeddable components intended to create a simple query interface for end users, and a powerful editing suite that allows dashboard authors to build controls | 311 | 0 | 304 | 16 | | crossClusterReplication | [@elastic/platform-deployment-management](https://github.com/orgs/elastic/teams/platform-deployment-management) | - | 0 | 0 | 0 | 0 | @@ -57,11 +57,11 @@ tags: ['contributor', 'dev', 'apidocs', 'kibana'] | | [@elastic/fleet](https://github.com/orgs/elastic/teams/fleet) | Add custom data integrations so they can be displayed in the Fleet integrations app | 268 | 0 | 249 | 1 | | | [@elastic/kibana-presentation](https://github.com/orgs/elastic/teams/kibana-presentation) | Adds the Dashboard app to Kibana | 109 | 0 | 106 | 11 | | | [@elastic/kibana-presentation](https://github.com/orgs/elastic/teams/kibana-presentation) | - | 54 | 0 | 51 | 0 | -| | [@elastic/kibana-visualizations](https://github.com/orgs/elastic/teams/kibana-visualizations) | Data services are useful for searching and querying data from Elasticsearch. Helpful utilities include: a re-usable react query bar, KQL autocomplete, async search, Data Views (Index Patterns) and field formatters. | 3220 | 31 | 2569 | 23 | +| | [@elastic/kibana-visualizations](https://github.com/orgs/elastic/teams/kibana-visualizations) | Data services are useful for searching and querying data from Elasticsearch. Helpful utilities include: a re-usable react query bar, KQL autocomplete, async search, Data Views (Index Patterns) and field formatters. | 3230 | 31 | 2579 | 23 | | | [@elastic/kibana-data-discovery](https://github.com/orgs/elastic/teams/kibana-data-discovery) | This plugin provides the ability to create data views via a modal flyout inside Kibana apps | 35 | 0 | 25 | 5 | | | [@elastic/kibana-data-discovery](https://github.com/orgs/elastic/teams/kibana-data-discovery) | Reusable data view field editor across Kibana | 72 | 0 | 33 | 0 | | | [@elastic/kibana-data-discovery](https://github.com/orgs/elastic/teams/kibana-data-discovery) | Data view management app | 2 | 0 | 2 | 0 | -| | [@elastic/kibana-data-discovery](https://github.com/orgs/elastic/teams/kibana-data-discovery) | Data services are useful for searching and querying data from Elasticsearch. Helpful utilities include: a re-usable react query bar, KQL autocomplete, async search, Data Views (Index Patterns) and field formatters. | 922 | 0 | 257 | 4 | +| | [@elastic/kibana-data-discovery](https://github.com/orgs/elastic/teams/kibana-data-discovery) | Data services are useful for searching and querying data from Elasticsearch. Helpful utilities include: a re-usable react query bar, KQL autocomplete, async search, Data Views (Index Patterns) and field formatters. | 938 | 0 | 273 | 4 | | | [@elastic/ml-ui](https://github.com/orgs/elastic/teams/ml-ui) | The Data Visualizer tools help you understand your data, by analyzing the metrics and fields in a log file or an existing Elasticsearch index. | 31 | 3 | 25 | 1 | | | [@elastic/obs-ux-logs-team](https://github.com/orgs/elastic/teams/obs-ux-logs-team) | This plugin introduces the concept of dataset quality, where users can easily get an overview on the datasets they have. | 8 | 0 | 8 | 2 | | | [@elastic/platform-deployment-management](https://github.com/orgs/elastic/teams/platform-deployment-management) | - | 12 | 0 | 10 | 3 | @@ -126,7 +126,7 @@ tags: ['contributor', 'dev', 'apidocs', 'kibana'] | | [@elastic/kibana-presentation](https://github.com/orgs/elastic/teams/kibana-presentation) | A dashboard panel for creating links to dashboards or external links. | 57 | 0 | 57 | 6 | | | [@elastic/security-detection-engine](https://github.com/orgs/elastic/teams/security-detection-engine) | - | 224 | 0 | 96 | 51 | | | [@elastic/obs-ux-logs-team](https://github.com/orgs/elastic/teams/obs-ux-logs-team) | This plugin provides a LogExplorer component using the Discover customization framework, offering several affordances specifically designed for log consumption. | 87 | 0 | 87 | 16 | -| | [@elastic/obs-ux-logs-team](https://github.com/orgs/elastic/teams/obs-ux-logs-team) | Exposes the shared components and APIs to access and visualize logs. | 302 | 11 | 287 | 27 | +| | [@elastic/obs-ux-logs-team](https://github.com/orgs/elastic/teams/obs-ux-logs-team) | Exposes the shared components and APIs to access and visualize logs. | 302 | 0 | 287 | 32 | | logstash | [@elastic/logstash](https://github.com/orgs/elastic/teams/logstash) | - | 0 | 0 | 0 | 0 | | | [@elastic/platform-deployment-management](https://github.com/orgs/elastic/teams/platform-deployment-management) | - | 45 | 0 | 45 | 7 | | | [@elastic/kibana-gis](https://github.com/orgs/elastic/teams/kibana-gis) | - | 261 | 0 | 260 | 28 | @@ -332,9 +332,9 @@ tags: ['contributor', 'dev', 'apidocs', 'kibana'] | | [@elastic/kibana-core](https://github.com/orgs/elastic/teams/kibana-core) | - | 22 | 0 | 7 | 0 | | | [@elastic/kibana-core](https://github.com/orgs/elastic/teams/kibana-core) | - | 9 | 0 | 9 | 3 | | | [@elastic/kibana-core](https://github.com/orgs/elastic/teams/kibana-core) | - | 7 | 0 | 7 | 0 | -| | [@elastic/kibana-core](https://github.com/orgs/elastic/teams/kibana-core) | - | 26 | 6 | 26 | 2 | +| | [@elastic/kibana-core](https://github.com/orgs/elastic/teams/kibana-core) | - | 27 | 7 | 27 | 2 | | | [@elastic/kibana-core](https://github.com/orgs/elastic/teams/kibana-core) | - | 13 | 0 | 13 | 1 | -| | [@elastic/kibana-core](https://github.com/orgs/elastic/teams/kibana-core) | - | 454 | 1 | 179 | 0 | +| | [@elastic/kibana-core](https://github.com/orgs/elastic/teams/kibana-core) | - | 457 | 1 | 180 | 0 | | | [@elastic/kibana-core](https://github.com/orgs/elastic/teams/kibana-core) | - | 58 | 0 | 52 | 9 | | | [@elastic/kibana-core](https://github.com/orgs/elastic/teams/kibana-core) | - | 44 | 0 | 43 | 0 | | | [@elastic/kibana-core](https://github.com/orgs/elastic/teams/kibana-core) | - | 4 | 0 | 2 | 0 | @@ -384,15 +384,15 @@ tags: ['contributor', 'dev', 'apidocs', 'kibana'] | | [@elastic/kibana-core](https://github.com/orgs/elastic/teams/kibana-core) | - | 111 | 1 | 0 | 0 | | | [@elastic/kibana-core](https://github.com/orgs/elastic/teams/kibana-core) | - | 353 | 1 | 5 | 2 | | | [@elastic/kibana-core](https://github.com/orgs/elastic/teams/kibana-core) | - | 11 | 0 | 11 | 0 | -| | [@elastic/kibana-core](https://github.com/orgs/elastic/teams/kibana-core) | - | 98 | 0 | 66 | 10 | -| | [@elastic/kibana-core](https://github.com/orgs/elastic/teams/kibana-core) | - | 4 | 0 | 4 | 0 | +| | [@elastic/kibana-core](https://github.com/orgs/elastic/teams/kibana-core) | - | 112 | 0 | 71 | 10 | +| | [@elastic/kibana-core](https://github.com/orgs/elastic/teams/kibana-core) | - | 5 | 0 | 5 | 0 | | | [@elastic/kibana-core](https://github.com/orgs/elastic/teams/kibana-core) | - | 2 | 0 | 1 | 0 | | | [@elastic/kibana-core](https://github.com/orgs/elastic/teams/kibana-core) | - | 6 | 0 | 6 | 0 | | | [@elastic/kibana-core](https://github.com/orgs/elastic/teams/kibana-core) | - | 7 | 0 | 7 | 0 | | | [@elastic/kibana-core](https://github.com/orgs/elastic/teams/kibana-core) | - | 73 | 0 | 40 | 0 | | | [@elastic/kibana-core](https://github.com/orgs/elastic/teams/kibana-core) | - | 26 | 0 | 23 | 0 | | | [@elastic/kibana-core](https://github.com/orgs/elastic/teams/kibana-core) | - | 4 | 0 | 4 | 0 | -| | [@elastic/kibana-core](https://github.com/orgs/elastic/teams/kibana-core) | - | 125 | 0 | 91 | 47 | +| | [@elastic/kibana-core](https://github.com/orgs/elastic/teams/kibana-core) | - | 129 | 0 | 94 | 45 | | | [@elastic/kibana-core](https://github.com/orgs/elastic/teams/kibana-core) | - | 12 | 0 | 12 | 0 | | | [@elastic/kibana-core](https://github.com/orgs/elastic/teams/kibana-core) | - | 555 | 1 | 130 | 4 | | | [@elastic/kibana-core](https://github.com/orgs/elastic/teams/kibana-core) | - | 69 | 0 | 69 | 4 | @@ -471,7 +471,7 @@ tags: ['contributor', 'dev', 'apidocs', 'kibana'] | | [@elastic/appex-qa](https://github.com/orgs/elastic/teams/appex-qa) | - | 550 | 6 | 510 | 2 | | | [@elastic/kibana-operations](https://github.com/orgs/elastic/teams/kibana-operations) | - | 1 | 0 | 0 | 0 | | | [@elastic/platform-deployment-management](https://github.com/orgs/elastic/teams/platform-deployment-management) | - | 1 | 0 | 1 | 0 | -| | [@elastic/appex-sharedux](https://github.com/orgs/elastic/teams/appex-sharedux) | - | 10 | 0 | 10 | 1 | +| | [@elastic/appex-sharedux](https://github.com/orgs/elastic/teams/appex-sharedux) | - | 11 | 0 | 11 | 1 | | | [@elastic/platform-onboarding](https://github.com/orgs/elastic/teams/platform-onboarding) | - | 49 | 0 | 47 | 0 | | | [@elastic/kibana-security](https://github.com/orgs/elastic/teams/kibana-security) | - | 33 | 3 | 24 | 6 | | | [@elastic/kibana-core](https://github.com/orgs/elastic/teams/kibana-core) | - | 3 | 0 | 3 | 0 | @@ -560,16 +560,16 @@ tags: ['contributor', 'dev', 'apidocs', 'kibana'] | | [@elastic/kibana-operations](https://github.com/orgs/elastic/teams/kibana-operations) | - | 40 | 0 | 38 | 5 | | | [@elastic/kibana-operations](https://github.com/orgs/elastic/teams/kibana-operations) | - | 13 | 0 | 9 | 0 | | | [@elastic/kibana-operations](https://github.com/orgs/elastic/teams/kibana-operations) | - | 6 | 0 | 6 | 1 | -| | [@elastic/appex-sharedux](https://github.com/orgs/elastic/teams/appex-sharedux) | - | 80 | 0 | 72 | 7 | -| | [@elastic/appex-sharedux](https://github.com/orgs/elastic/teams/appex-sharedux) | - | 50 | 0 | 50 | 3 | +| | [@elastic/appex-sharedux](https://github.com/orgs/elastic/teams/appex-sharedux) | - | 80 | 0 | 72 | 8 | +| | [@elastic/appex-sharedux](https://github.com/orgs/elastic/teams/appex-sharedux) | - | 52 | 0 | 52 | 3 | | | [@elastic/appex-sharedux](https://github.com/orgs/elastic/teams/appex-sharedux) | - | 23 | 0 | 20 | 0 | -| | [@elastic/appex-sharedux](https://github.com/orgs/elastic/teams/appex-sharedux) | - | 32 | 0 | 31 | 0 | +| | [@elastic/appex-sharedux](https://github.com/orgs/elastic/teams/appex-sharedux) | - | 34 | 0 | 33 | 0 | | | [@elastic/appex-sharedux](https://github.com/orgs/elastic/teams/appex-sharedux) | - | 14 | 0 | 11 | 0 | -| | [@elastic/appex-sharedux](https://github.com/orgs/elastic/teams/appex-sharedux) | - | 16 | 0 | 15 | 0 | +| | [@elastic/appex-sharedux](https://github.com/orgs/elastic/teams/appex-sharedux) | - | 17 | 0 | 16 | 0 | | | [@elastic/appex-sharedux](https://github.com/orgs/elastic/teams/appex-sharedux) | - | 13 | 0 | 11 | 0 | | | [@elastic/appex-sharedux](https://github.com/orgs/elastic/teams/appex-sharedux) | - | 2 | 0 | 2 | 0 | | | [@elastic/appex-sharedux](https://github.com/orgs/elastic/teams/appex-sharedux) | - | 6 | 0 | 6 | 0 | -| | [@elastic/appex-sharedux](https://github.com/orgs/elastic/teams/appex-sharedux) | - | 78 | 0 | 77 | 0 | +| | [@elastic/appex-sharedux](https://github.com/orgs/elastic/teams/appex-sharedux) | - | 80 | 0 | 79 | 0 | | | [@elastic/kibana-data-discovery](https://github.com/orgs/elastic/teams/kibana-data-discovery) | A component for creating resizable layouts containing a fixed width panel and a flexible panel, with support for horizontal and vertical layouts. | 18 | 0 | 5 | 0 | | | [@elastic/kibana-operations](https://github.com/orgs/elastic/teams/kibana-operations) | - | 13 | 2 | 8 | 0 | | | [@elastic/obs-ux-logs-team](https://github.com/orgs/elastic/teams/obs-ux-logs-team) | - | 2 | 0 | 1 | 0 | diff --git a/api_docs/presentation_util.mdx b/api_docs/presentation_util.mdx index c890ad8e3cf63..89daee463ee66 100644 --- a/api_docs/presentation_util.mdx +++ b/api_docs/presentation_util.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/presentationUtil title: "presentationUtil" image: https://source.unsplash.com/400x175/?github description: API docs for the presentationUtil plugin -date: 2024-01-16 +date: 2024-01-17 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 ddb631a1b9878..f89722acd6110 100644 --- a/api_docs/profiling.mdx +++ b/api_docs/profiling.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/profiling title: "profiling" image: https://source.unsplash.com/400x175/?github description: API docs for the profiling plugin -date: 2024-01-16 +date: 2024-01-17 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'profiling'] --- import profilingObj from './profiling.devdocs.json'; diff --git a/api_docs/profiling_data_access.mdx b/api_docs/profiling_data_access.mdx index 9adb71e715107..87fdc807ae6f5 100644 --- a/api_docs/profiling_data_access.mdx +++ b/api_docs/profiling_data_access.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/profilingDataAccess title: "profilingDataAccess" image: https://source.unsplash.com/400x175/?github description: API docs for the profilingDataAccess plugin -date: 2024-01-16 +date: 2024-01-17 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'profilingDataAccess'] --- import profilingDataAccessObj from './profiling_data_access.devdocs.json'; diff --git a/api_docs/remote_clusters.mdx b/api_docs/remote_clusters.mdx index a1ec8508df633..ba4f379bb92fe 100644 --- a/api_docs/remote_clusters.mdx +++ b/api_docs/remote_clusters.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/remoteClusters title: "remoteClusters" image: https://source.unsplash.com/400x175/?github description: API docs for the remoteClusters plugin -date: 2024-01-16 +date: 2024-01-17 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 03d0f2252c9ea..a85507c4f54de 100644 --- a/api_docs/reporting.mdx +++ b/api_docs/reporting.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/reporting title: "reporting" image: https://source.unsplash.com/400x175/?github description: API docs for the reporting plugin -date: 2024-01-16 +date: 2024-01-17 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'reporting'] --- import reportingObj from './reporting.devdocs.json'; diff --git a/api_docs/rollup.mdx b/api_docs/rollup.mdx index ac5d5e91b75bd..06383d2768042 100644 --- a/api_docs/rollup.mdx +++ b/api_docs/rollup.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/rollup title: "rollup" image: https://source.unsplash.com/400x175/?github description: API docs for the rollup plugin -date: 2024-01-16 +date: 2024-01-17 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 1fe6dbb13279c..7f5e0adf82f9d 100644 --- a/api_docs/rule_registry.mdx +++ b/api_docs/rule_registry.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/ruleRegistry title: "ruleRegistry" image: https://source.unsplash.com/400x175/?github description: API docs for the ruleRegistry plugin -date: 2024-01-16 +date: 2024-01-17 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 af372f38dac0c..1ca9aca9bff78 100644 --- a/api_docs/runtime_fields.mdx +++ b/api_docs/runtime_fields.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/runtimeFields title: "runtimeFields" image: https://source.unsplash.com/400x175/?github description: API docs for the runtimeFields plugin -date: 2024-01-16 +date: 2024-01-17 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 70f5207f1f2b3..69bcc2948994a 100644 --- a/api_docs/saved_objects.mdx +++ b/api_docs/saved_objects.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/savedObjects title: "savedObjects" image: https://source.unsplash.com/400x175/?github description: API docs for the savedObjects plugin -date: 2024-01-16 +date: 2024-01-17 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 0885542ea71d9..e9b79a9272f1e 100644 --- a/api_docs/saved_objects_finder.mdx +++ b/api_docs/saved_objects_finder.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/savedObjectsFinder title: "savedObjectsFinder" image: https://source.unsplash.com/400x175/?github description: API docs for the savedObjectsFinder plugin -date: 2024-01-16 +date: 2024-01-17 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 1acd8a227c6e6..13fb68b8c4225 100644 --- a/api_docs/saved_objects_management.mdx +++ b/api_docs/saved_objects_management.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/savedObjectsManagement title: "savedObjectsManagement" image: https://source.unsplash.com/400x175/?github description: API docs for the savedObjectsManagement plugin -date: 2024-01-16 +date: 2024-01-17 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 16cd81cb24ea5..302560bb305ec 100644 --- a/api_docs/saved_objects_tagging.mdx +++ b/api_docs/saved_objects_tagging.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/savedObjectsTagging title: "savedObjectsTagging" image: https://source.unsplash.com/400x175/?github description: API docs for the savedObjectsTagging plugin -date: 2024-01-16 +date: 2024-01-17 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 c283dde957504..bb4a1298ffae3 100644 --- a/api_docs/saved_objects_tagging_oss.mdx +++ b/api_docs/saved_objects_tagging_oss.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/savedObjectsTaggingOss title: "savedObjectsTaggingOss" image: https://source.unsplash.com/400x175/?github description: API docs for the savedObjectsTaggingOss plugin -date: 2024-01-16 +date: 2024-01-17 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 033fbd00937ac..e44584b059f49 100644 --- a/api_docs/saved_search.mdx +++ b/api_docs/saved_search.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/savedSearch title: "savedSearch" image: https://source.unsplash.com/400x175/?github description: API docs for the savedSearch plugin -date: 2024-01-16 +date: 2024-01-17 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 57a2adbbff3b5..ee88a9dd66211 100644 --- a/api_docs/screenshot_mode.mdx +++ b/api_docs/screenshot_mode.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/screenshotMode title: "screenshotMode" image: https://source.unsplash.com/400x175/?github description: API docs for the screenshotMode plugin -date: 2024-01-16 +date: 2024-01-17 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 87f40cdc501b3..dfd937af057b9 100644 --- a/api_docs/screenshotting.mdx +++ b/api_docs/screenshotting.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/screenshotting title: "screenshotting" image: https://source.unsplash.com/400x175/?github description: API docs for the screenshotting plugin -date: 2024-01-16 +date: 2024-01-17 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 0f7f31d17a060..1ddb4e212a668 100644 --- a/api_docs/security.mdx +++ b/api_docs/security.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/security title: "security" image: https://source.unsplash.com/400x175/?github description: API docs for the security plugin -date: 2024-01-16 +date: 2024-01-17 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 bf137d734a014..e3536e76f8beb 100644 --- a/api_docs/security_solution.mdx +++ b/api_docs/security_solution.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/securitySolution title: "securitySolution" image: https://source.unsplash.com/400x175/?github description: API docs for the securitySolution plugin -date: 2024-01-16 +date: 2024-01-17 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 6e6e5d8ad57ba..ebd824c3bfc4b 100644 --- a/api_docs/security_solution_ess.mdx +++ b/api_docs/security_solution_ess.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/securitySolutionEss title: "securitySolutionEss" image: https://source.unsplash.com/400x175/?github description: API docs for the securitySolutionEss plugin -date: 2024-01-16 +date: 2024-01-17 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 973ae77528bda..d1e1c0a84d126 100644 --- a/api_docs/security_solution_serverless.mdx +++ b/api_docs/security_solution_serverless.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/securitySolutionServerless title: "securitySolutionServerless" image: https://source.unsplash.com/400x175/?github description: API docs for the securitySolutionServerless plugin -date: 2024-01-16 +date: 2024-01-17 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 b5d8130b22376..d62197efffe35 100644 --- a/api_docs/serverless.mdx +++ b/api_docs/serverless.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/serverless title: "serverless" image: https://source.unsplash.com/400x175/?github description: API docs for the serverless plugin -date: 2024-01-16 +date: 2024-01-17 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 310e9bb0b101a..e44a54e072b21 100644 --- a/api_docs/serverless_observability.mdx +++ b/api_docs/serverless_observability.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/serverlessObservability title: "serverlessObservability" image: https://source.unsplash.com/400x175/?github description: API docs for the serverlessObservability plugin -date: 2024-01-16 +date: 2024-01-17 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 2eb484e9faf83..cf764d5eef0a8 100644 --- a/api_docs/serverless_search.mdx +++ b/api_docs/serverless_search.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/serverlessSearch title: "serverlessSearch" image: https://source.unsplash.com/400x175/?github description: API docs for the serverlessSearch plugin -date: 2024-01-16 +date: 2024-01-17 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 20c881bd38101..58d14c8a4b8b0 100644 --- a/api_docs/session_view.mdx +++ b/api_docs/session_view.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/sessionView title: "sessionView" image: https://source.unsplash.com/400x175/?github description: API docs for the sessionView plugin -date: 2024-01-16 +date: 2024-01-17 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 abefa1da21aa9..14300e81fe4d6 100644 --- a/api_docs/share.mdx +++ b/api_docs/share.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/share title: "share" image: https://source.unsplash.com/400x175/?github description: API docs for the share plugin -date: 2024-01-16 +date: 2024-01-17 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 7aaaf810b0fd3..1e403d797751e 100644 --- a/api_docs/snapshot_restore.mdx +++ b/api_docs/snapshot_restore.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/snapshotRestore title: "snapshotRestore" image: https://source.unsplash.com/400x175/?github description: API docs for the snapshotRestore plugin -date: 2024-01-16 +date: 2024-01-17 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 f3b0e95a6c9d8..5495889bbec87 100644 --- a/api_docs/spaces.mdx +++ b/api_docs/spaces.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/spaces title: "spaces" image: https://source.unsplash.com/400x175/?github description: API docs for the spaces plugin -date: 2024-01-16 +date: 2024-01-17 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 df50a30360d67..67cda35e54002 100644 --- a/api_docs/stack_alerts.mdx +++ b/api_docs/stack_alerts.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/stackAlerts title: "stackAlerts" image: https://source.unsplash.com/400x175/?github description: API docs for the stackAlerts plugin -date: 2024-01-16 +date: 2024-01-17 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 40efd539d3491..419b66f6f9df7 100644 --- a/api_docs/stack_connectors.mdx +++ b/api_docs/stack_connectors.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/stackConnectors title: "stackConnectors" image: https://source.unsplash.com/400x175/?github description: API docs for the stackConnectors plugin -date: 2024-01-16 +date: 2024-01-17 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 9a21be1960883..f9ff87af9f85d 100644 --- a/api_docs/task_manager.mdx +++ b/api_docs/task_manager.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/taskManager title: "taskManager" image: https://source.unsplash.com/400x175/?github description: API docs for the taskManager plugin -date: 2024-01-16 +date: 2024-01-17 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 23ac47e1f021e..5c3a158188205 100644 --- a/api_docs/telemetry.mdx +++ b/api_docs/telemetry.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/telemetry title: "telemetry" image: https://source.unsplash.com/400x175/?github description: API docs for the telemetry plugin -date: 2024-01-16 +date: 2024-01-17 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 f19ee99f8459f..f91328d67d522 100644 --- a/api_docs/telemetry_collection_manager.mdx +++ b/api_docs/telemetry_collection_manager.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/telemetryCollectionManager title: "telemetryCollectionManager" image: https://source.unsplash.com/400x175/?github description: API docs for the telemetryCollectionManager plugin -date: 2024-01-16 +date: 2024-01-17 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 5c2eddc799fea..677596fa6e55d 100644 --- a/api_docs/telemetry_collection_xpack.mdx +++ b/api_docs/telemetry_collection_xpack.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/telemetryCollectionXpack title: "telemetryCollectionXpack" image: https://source.unsplash.com/400x175/?github description: API docs for the telemetryCollectionXpack plugin -date: 2024-01-16 +date: 2024-01-17 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 f2cb169f302f2..e0d06ad37c7d6 100644 --- a/api_docs/telemetry_management_section.mdx +++ b/api_docs/telemetry_management_section.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/telemetryManagementSection title: "telemetryManagementSection" image: https://source.unsplash.com/400x175/?github description: API docs for the telemetryManagementSection plugin -date: 2024-01-16 +date: 2024-01-17 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 fd7f6654c4adb..b71fd5f5e639a 100644 --- a/api_docs/text_based_languages.mdx +++ b/api_docs/text_based_languages.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/textBasedLanguages title: "textBasedLanguages" image: https://source.unsplash.com/400x175/?github description: API docs for the textBasedLanguages plugin -date: 2024-01-16 +date: 2024-01-17 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 9c53778382f93..dd7fc6cc534ea 100644 --- a/api_docs/threat_intelligence.mdx +++ b/api_docs/threat_intelligence.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/threatIntelligence title: "threatIntelligence" image: https://source.unsplash.com/400x175/?github description: API docs for the threatIntelligence plugin -date: 2024-01-16 +date: 2024-01-17 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 27e097bc61c7c..416e3beebff20 100644 --- a/api_docs/timelines.mdx +++ b/api_docs/timelines.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/timelines title: "timelines" image: https://source.unsplash.com/400x175/?github description: API docs for the timelines plugin -date: 2024-01-16 +date: 2024-01-17 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 844bafafd1aa2..5a9250c2a8234 100644 --- a/api_docs/transform.mdx +++ b/api_docs/transform.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/transform title: "transform" image: https://source.unsplash.com/400x175/?github description: API docs for the transform plugin -date: 2024-01-16 +date: 2024-01-17 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 d723c422fbe06..dfcde7bc7bb8c 100644 --- a/api_docs/triggers_actions_ui.mdx +++ b/api_docs/triggers_actions_ui.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/triggersActionsUi title: "triggersActionsUi" image: https://source.unsplash.com/400x175/?github description: API docs for the triggersActionsUi plugin -date: 2024-01-16 +date: 2024-01-17 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 78d58cba5c4c6..b6be4889624c0 100644 --- a/api_docs/ui_actions.mdx +++ b/api_docs/ui_actions.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/uiActions title: "uiActions" image: https://source.unsplash.com/400x175/?github description: API docs for the uiActions plugin -date: 2024-01-16 +date: 2024-01-17 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 1d7baa3745e16..2333682bc0552 100644 --- a/api_docs/ui_actions_enhanced.mdx +++ b/api_docs/ui_actions_enhanced.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/uiActionsEnhanced title: "uiActionsEnhanced" image: https://source.unsplash.com/400x175/?github description: API docs for the uiActionsEnhanced plugin -date: 2024-01-16 +date: 2024-01-17 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'uiActionsEnhanced'] --- import uiActionsEnhancedObj from './ui_actions_enhanced.devdocs.json'; diff --git a/api_docs/unified_doc_viewer.mdx b/api_docs/unified_doc_viewer.mdx index 447cdf99988ca..5bb1804f99229 100644 --- a/api_docs/unified_doc_viewer.mdx +++ b/api_docs/unified_doc_viewer.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/unifiedDocViewer title: "unifiedDocViewer" image: https://source.unsplash.com/400x175/?github description: API docs for the unifiedDocViewer plugin -date: 2024-01-16 +date: 2024-01-17 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'unifiedDocViewer'] --- import unifiedDocViewerObj from './unified_doc_viewer.devdocs.json'; diff --git a/api_docs/unified_histogram.mdx b/api_docs/unified_histogram.mdx index b9166917e32a5..4c4e9ff719482 100644 --- a/api_docs/unified_histogram.mdx +++ b/api_docs/unified_histogram.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/unifiedHistogram title: "unifiedHistogram" image: https://source.unsplash.com/400x175/?github description: API docs for the unifiedHistogram plugin -date: 2024-01-16 +date: 2024-01-17 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 22845b8d66197..a40810841de45 100644 --- a/api_docs/unified_search.mdx +++ b/api_docs/unified_search.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/unifiedSearch title: "unifiedSearch" image: https://source.unsplash.com/400x175/?github description: API docs for the unifiedSearch plugin -date: 2024-01-16 +date: 2024-01-17 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 e803d6bb209ad..e2c1d79ef419b 100644 --- a/api_docs/unified_search_autocomplete.mdx +++ b/api_docs/unified_search_autocomplete.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/unifiedSearch-autocomplete title: "unifiedSearch.autocomplete" image: https://source.unsplash.com/400x175/?github description: API docs for the unifiedSearch.autocomplete plugin -date: 2024-01-16 +date: 2024-01-17 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'unifiedSearch.autocomplete'] --- import unifiedSearchAutocompleteObj from './unified_search_autocomplete.devdocs.json'; diff --git a/api_docs/uptime.mdx b/api_docs/uptime.mdx index 26ab7917cd879..5b3e80461bdd4 100644 --- a/api_docs/uptime.mdx +++ b/api_docs/uptime.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/uptime title: "uptime" image: https://source.unsplash.com/400x175/?github description: API docs for the uptime plugin -date: 2024-01-16 +date: 2024-01-17 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'uptime'] --- import uptimeObj from './uptime.devdocs.json'; diff --git a/api_docs/url_forwarding.mdx b/api_docs/url_forwarding.mdx index 2b93ed71a1578..2183372716cd9 100644 --- a/api_docs/url_forwarding.mdx +++ b/api_docs/url_forwarding.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/urlForwarding title: "urlForwarding" image: https://source.unsplash.com/400x175/?github description: API docs for the urlForwarding plugin -date: 2024-01-16 +date: 2024-01-17 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 7aa36df387b3c..63751ff228a6d 100644 --- a/api_docs/usage_collection.mdx +++ b/api_docs/usage_collection.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/usageCollection title: "usageCollection" image: https://source.unsplash.com/400x175/?github description: API docs for the usageCollection plugin -date: 2024-01-16 +date: 2024-01-17 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 0b9b4f7cc3b21..a5ed0d40dd712 100644 --- a/api_docs/ux.mdx +++ b/api_docs/ux.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/ux title: "ux" image: https://source.unsplash.com/400x175/?github description: API docs for the ux plugin -date: 2024-01-16 +date: 2024-01-17 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 b9d3137a29817..efe5b0353a931 100644 --- a/api_docs/vis_default_editor.mdx +++ b/api_docs/vis_default_editor.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/visDefaultEditor title: "visDefaultEditor" image: https://source.unsplash.com/400x175/?github description: API docs for the visDefaultEditor plugin -date: 2024-01-16 +date: 2024-01-17 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 c37d13e4c6c58..011977ff3b419 100644 --- a/api_docs/vis_type_gauge.mdx +++ b/api_docs/vis_type_gauge.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/visTypeGauge title: "visTypeGauge" image: https://source.unsplash.com/400x175/?github description: API docs for the visTypeGauge plugin -date: 2024-01-16 +date: 2024-01-17 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 4900e6fd37351..a6c2625a14141 100644 --- a/api_docs/vis_type_heatmap.mdx +++ b/api_docs/vis_type_heatmap.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/visTypeHeatmap title: "visTypeHeatmap" image: https://source.unsplash.com/400x175/?github description: API docs for the visTypeHeatmap plugin -date: 2024-01-16 +date: 2024-01-17 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 47d658e2553b8..739f977baac57 100644 --- a/api_docs/vis_type_pie.mdx +++ b/api_docs/vis_type_pie.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/visTypePie title: "visTypePie" image: https://source.unsplash.com/400x175/?github description: API docs for the visTypePie plugin -date: 2024-01-16 +date: 2024-01-17 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 382aa1fb53c9f..2728068147954 100644 --- a/api_docs/vis_type_table.mdx +++ b/api_docs/vis_type_table.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/visTypeTable title: "visTypeTable" image: https://source.unsplash.com/400x175/?github description: API docs for the visTypeTable plugin -date: 2024-01-16 +date: 2024-01-17 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 3d9c6c44565ce..6a27c51ff7da8 100644 --- a/api_docs/vis_type_timelion.mdx +++ b/api_docs/vis_type_timelion.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/visTypeTimelion title: "visTypeTimelion" image: https://source.unsplash.com/400x175/?github description: API docs for the visTypeTimelion plugin -date: 2024-01-16 +date: 2024-01-17 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 453e5685cdd27..f02e3cee1a135 100644 --- a/api_docs/vis_type_timeseries.mdx +++ b/api_docs/vis_type_timeseries.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/visTypeTimeseries title: "visTypeTimeseries" image: https://source.unsplash.com/400x175/?github description: API docs for the visTypeTimeseries plugin -date: 2024-01-16 +date: 2024-01-17 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 a760a43b9aaf5..eaf1e3c3435cd 100644 --- a/api_docs/vis_type_vega.mdx +++ b/api_docs/vis_type_vega.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/visTypeVega title: "visTypeVega" image: https://source.unsplash.com/400x175/?github description: API docs for the visTypeVega plugin -date: 2024-01-16 +date: 2024-01-17 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 ad87d73ec3e14..d80b2fa9b93ce 100644 --- a/api_docs/vis_type_vislib.mdx +++ b/api_docs/vis_type_vislib.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/visTypeVislib title: "visTypeVislib" image: https://source.unsplash.com/400x175/?github description: API docs for the visTypeVislib plugin -date: 2024-01-16 +date: 2024-01-17 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 b69aa9902ced5..b903e2009939b 100644 --- a/api_docs/vis_type_xy.mdx +++ b/api_docs/vis_type_xy.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/visTypeXy title: "visTypeXy" image: https://source.unsplash.com/400x175/?github description: API docs for the visTypeXy plugin -date: 2024-01-16 +date: 2024-01-17 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'visTypeXy'] --- import visTypeXyObj from './vis_type_xy.devdocs.json'; diff --git a/api_docs/visualizations.mdx b/api_docs/visualizations.mdx index baa870f59a587..aa1fec9b80b79 100644 --- a/api_docs/visualizations.mdx +++ b/api_docs/visualizations.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/visualizations title: "visualizations" image: https://source.unsplash.com/400x175/?github description: API docs for the visualizations plugin -date: 2024-01-16 +date: 2024-01-17 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'visualizations'] --- import visualizationsObj from './visualizations.devdocs.json'; diff --git a/docs/CHANGELOG.asciidoc b/docs/CHANGELOG.asciidoc index 7391002139d2e..9b0c49596eeef 100644 --- a/docs/CHANGELOG.asciidoc +++ b/docs/CHANGELOG.asciidoc @@ -325,7 +325,6 @@ Presentation:: === Bug fixes and enhancements There are no user-facing changes in the 8.11.4 release. - [[release-notes-8.11.3]] == {kib} 8.11.3 @@ -825,17 +824,80 @@ Before you upgrade to 8.10.0, review the breaking changes, then mitigate the imp [discrete] [[breaking-162665]] -.New summary search capabilities +.New summary search capabilities cause existing SLOs to stop working [%collapsible] ==== *Details* + -New summary search capabilities introduce breaking changes in various places, and we have decided to not handle backward compatibility: +New summary search capabilities introduce breaking changes in various places, and we have decided not to handle backward compatibility: + +* SLO find API body parameters have changed. +* The index mapping used by the rollup data has changed, and we have added a summary index that becomes the new source of truth for search. +* The rollup transforms have been updated, but existing SLO with their transforms won't be updated. + +If some SLOs have been installed in a prior version at 8.10, they won't work after migrating to 8.10. There are two approaches to handle this breaking change. The recommended route is to delete all SLOs before migrating to 8.10. The alternative is to migrate to 8.10 and manually remove the SLOs. + +*Removing SLOs before migrating to 8.10* + +Use the SLO UI or the SLO delete API to delete all existing SLOs. This takes care of the Saved Object, Transform and rollup data. When all SLOs have been deleted, then delete the residual rollup indices: `.slo-observability.sli-v1*`. Note that this is v1. + +*Removing SLOs after migrating to 8.10* + +After migrating to 8.10, the previously created SLOs won’t appear in the UI because the API is using a new index. The previously created SLOs still exist, and associated transforms are still rolling up data into the previous index `.slo-observability.sli-v1*`. The SLO delete API can't be used now, so remove the resources resources manually: + +. Find all existing transforms +All SLO related transforms start with the `slo-` prefix, this request returns them all: ++ +[source, bash] +---- +GET _transform/slo-* +---- ++ +Make a note of all the transforms IDs for later. + +. Stop all transforms ++ +[source, bash] +---- +POST _transform/slo-*/_stop?force=true +---- + +. Remove all transforms ++ +From the list of transforms returned during the first step, now delete them one by one: ++ +[source, bash] +---- +DELETE _transform/{transform_id}?force=true +---- + +. Find the SLO saved objects ++ +This request lists all the SLO saved objects. The SLO IDs and the saved object IDs are not the same. ++ +[source, bash] +---- +GET kbn:/api/saved_objects/_find?type=slo +---- ++ +Make a note of all the saved object IDs from the response. -* SLO find API body parameters have changed -* The index mapping used by the rollup data has changed, and we have added a summary index that becomes the new source of truth for search -* The rollup transform have been updated, but existing SLO with their transform won't be updated. +. Remove the SLO saved objects ++ +For each saved object ID, run the following: ++ +[source, bash] +---- +DELETE kbn:/api/saved_objects/slo/{Saved_Object_Id} +---- -If some SLOs have been installed in a prior version at 8.10, the user will need to remove them manually from the UI, or by deleting the Saved Object and the associated Transform. +. Delete the rollup indices v1 ++ +Note that this is v1. ++ +[source, bash] +---- +DELETE .slo-observability.sli-v1* +---- ==== [discrete] @@ -946,7 +1008,6 @@ Observability:: For more information about the features introduced in 8.10.0, refer to <>. -[discrete] [[enhancements-and-bug-fixes-v8.10.0-revised]] === Enhancements and bug fixes @@ -5733,7 +5794,7 @@ conditions are true: In 8.0.0 and later, weak links break because <>. This applies to both the UI and the API. -This issue will be fixed 8.0.1 and 8.1.0. For more information, refer to {kibana-issue}123550[#123550]. +For more information, refer to {kibana-issue}123550[#123550]. *Impact* + Saved objects in 7.x that are migrated during upgrade are **not** impacted. diff --git a/docs/apm/api.asciidoc b/docs/apm/api.asciidoc index 341e75bbb835c..113a03437cbef 100644 --- a/docs/apm/api.asciidoc +++ b/docs/apm/api.asciidoc @@ -573,7 +573,7 @@ curl -X POST "http://localhost:5601/api/apm/sourcemaps" \ -H 'Authorization: ApiKey ${YOUR_API_KEY}' \ -F 'service_name="foo"' \ -F 'service_version="1.0.0"' \ --F 'bundle_filepath="/test/e2e/general-usecase/bundle.js.map"' \ +-F 'bundle_filepath="/test/e2e/general-usecase/bundle.js"' \ -F 'sourcemap="{\"version\":3,\"file\":\"static/js/main.chunk.js\",\"sources\":[\"fleet-source-map-client/src/index.css\",\"fleet-source-map-client/src/App.js\",\"webpack:///./src/index.css?bb0a\",\"fleet-source-map-client/src/index.js\",\"fleet-source-map-client/src/reportWebVitals.js\"],\"sourcesContent\":[\"content\"],\"mappings\":\"mapping\",\"sourceRoot\":\"\"}"' <1> -------------------------------------------------- <1> Alternatively, upload the source map as a file with `-F 'sourcemap=@path/to/source_map/bundle.js.map'` @@ -647,7 +647,7 @@ curl -X GET "http://localhost:5601/api/apm/sourcemaps" \ "body": { "serviceName": "foo", "serviceVersion": "1.0.0", - "bundleFilepath": "/test/e2e/general-usecase/bundle.js.map", + "bundleFilepath": "/test/e2e/general-usecase/bundle.js", "sourceMap": { "version": 3, "file": "static/js/main.chunk.js", diff --git a/docs/management/cases/images/cases.png b/docs/management/cases/images/cases.png index b85ab9165c961..7fee49af5dd55 100644 Binary files a/docs/management/cases/images/cases.png and b/docs/management/cases/images/cases.png differ diff --git a/docs/user/dashboard/images/lens_primaryMetric.png b/docs/user/dashboard/images/lens_primaryMetric.png new file mode 100644 index 0000000000000..8e0efc1b90882 Binary files /dev/null and b/docs/user/dashboard/images/lens_primaryMetric.png differ diff --git a/docs/user/dashboard/lens.asciidoc b/docs/user/dashboard/lens.asciidoc index 7037f32f7b54d..b3c5c4980e933 100644 --- a/docs/user/dashboard/lens.asciidoc +++ b/docs/user/dashboard/lens.asciidoc @@ -617,3 +617,32 @@ Pagination in a data table is unsupported. To use pagination in data tables, cre ==== Specifying the color for a single data point, such as a single bar or line, is unsupported. ==== + +[discrete] +[[dynamic-metric-coloring]] +.*How does dynamic coloring work for the metric visualization?* +[%collapsible] +==== +In the color palette editor, if you select *Value type: Number* the colors are applied based on the *Primary metric* value. + +The *Primary metric* refers to the large number displayed in each tile. + +[role="screenshot"] +image:images/lens_primaryMetric.png[Illustration of where to find the primary metric in a metric visualization.] + + +If you select *Value type: Percent*, the primary metric values are mapped to a range between 0 and 100 percent. The bounds of the range depend on your configuration. + +The logic is as follows. If there is a Breakdown dimension for multiple visualization tiles: + +* When there is a *Maximum dimension*, the range is from zero to the value of your *Maximum dimension*. + +* When there is no *Maximum dimension*, the range is from the smallest primary metric values to the greatest primary metric values. + +If there is no Breakdown dimension for a single visualization tile: + +* When there is a *Maximum dimension*, the range is from zero to the value of your *Maximum dimension*. + +* When there is no *Maximum dimension*, *Value type: Percent* cannot be selected because there's no way to determine a range. + +==== \ No newline at end of file diff --git a/packages/kbn-es-types/index.ts b/packages/kbn-es-types/index.ts index 40b5ee400b0ed..92a0004aaf4bc 100644 --- a/packages/kbn-es-types/index.ts +++ b/packages/kbn-es-types/index.ts @@ -22,4 +22,5 @@ export type { ESQLColumn, ESQLRow, ESQLSearchReponse, + ESQLSearchParams, } from './src'; diff --git a/packages/kbn-es-types/src/index.ts b/packages/kbn-es-types/src/index.ts index 2acc88f9068a7..3e56bf17603b6 100644 --- a/packages/kbn-es-types/src/index.ts +++ b/packages/kbn-es-types/src/index.ts @@ -15,6 +15,7 @@ import { ESQLColumn, ESQLRow, ESQLSearchReponse, + ESQLSearchParams, } from './search'; export type ESFilter = estypes.QueryDslQueryContainer; @@ -47,4 +48,5 @@ export type { ESQLColumn, ESQLRow, ESQLSearchReponse, + ESQLSearchParams, }; diff --git a/packages/kbn-es-types/src/search.ts b/packages/kbn-es-types/src/search.ts index 71466c322be42..56e2cb56c8f71 100644 --- a/packages/kbn-es-types/src/search.ts +++ b/packages/kbn-es-types/src/search.ts @@ -665,3 +665,13 @@ export interface ESQLSearchReponse { columns: ESQLColumn[]; values: ESQLRow[]; } + +export interface ESQLSearchParams { + // TODO: time_zone support was temporarily removed from ES|QL, + // we will need to add it back in once it is supported again. + // https://github.com/elastic/elasticsearch/pull/102767 + // time_zone?: string; + query: string; + filter?: unknown; + locale?: string; +} diff --git a/packages/kbn-generate-csv/index.ts b/packages/kbn-generate-csv/index.ts index 976331e2dcb43..0bc07985bd64b 100644 --- a/packages/kbn-generate-csv/index.ts +++ b/packages/kbn-generate-csv/index.ts @@ -7,3 +7,4 @@ */ export { CsvGenerator } from './src/generate_csv'; +export { CsvESQLGenerator, type JobParamsCsvESQL } from './src/generate_csv_esql'; diff --git a/packages/kbn-generate-csv/src/generate_csv.test.ts b/packages/kbn-generate-csv/src/generate_csv.test.ts index fc169dd0a834d..f4c1914acddc5 100644 --- a/packages/kbn-generate-csv/src/generate_csv.test.ts +++ b/packages/kbn-generate-csv/src/generate_csv.test.ts @@ -25,8 +25,8 @@ import { IScopedSearchClient } from '@kbn/data-plugin/server'; import { dataPluginMock } from '@kbn/data-plugin/server/mocks'; import { FieldFormatsRegistry } from '@kbn/field-formats-plugin/common'; import { CancellationToken } from '@kbn/reporting-common'; -import type { ReportingConfigType } from '@kbn/reporting-server'; import { JobParamsCSV } from '@kbn/reporting-export-types-csv-common'; +import type { ReportingConfigType } from '@kbn/reporting-server'; import { UI_SETTINGS_CSV_QUOTE_VALUES, UI_SETTINGS_CSV_SEPARATOR, @@ -37,6 +37,7 @@ import { CsvGenerator } from './generate_csv'; const createMockJob = (baseObj: any = {}): JobParamsCSV => ({ ...baseObj, }); +const mockTaskInstanceFields = { startedAt: null, retryAt: null }; describe('CsvGenerator', () => { let mockEsClient: IScopedClusterClient; @@ -145,6 +146,7 @@ describe('CsvGenerator', () => { const generateCsv = new CsvGenerator( createMockJob({ columns: ['date', 'ip', 'message'] }), mockConfig, + mockTaskInstanceFields, { es: mockEsClient, data: mockDataClient, @@ -180,6 +182,7 @@ describe('CsvGenerator', () => { const generateCsv = new CsvGenerator( createMockJob({ columns: ['date', 'ip', 'message'] }), mockConfig, + mockTaskInstanceFields, { es: mockEsClient, data: mockDataClient, @@ -219,6 +222,7 @@ describe('CsvGenerator', () => { const generateCsv = new CsvGenerator( createMockJob({ columns: ['message'] }), mockConfig, + mockTaskInstanceFields, { es: mockEsClient, data: mockDataClient, @@ -269,6 +273,7 @@ describe('CsvGenerator', () => { const generateCsv = new CsvGenerator( createMockJob({ columns: ['date', 'ip', 'message'] }), mockConfig, + mockTaskInstanceFields, { es: mockEsClient, data: mockDataClient, @@ -328,6 +333,7 @@ describe('CsvGenerator', () => { const generateCsv = new CsvGenerator( createMockJob({ columns: ['date', 'ip', 'message'] }), mockConfig, + mockTaskInstanceFields, { es: mockEsClient, data: mockDataClient, @@ -400,6 +406,7 @@ describe('CsvGenerator', () => { const generateCsv = new CsvGenerator( createMockJob({ searchSource: {}, columns: [] }), mockConfig, + mockTaskInstanceFields, { es: mockEsClient, data: mockDataClient, @@ -440,6 +447,7 @@ describe('CsvGenerator', () => { const generateCsv = new CsvGenerator( createMockJob({ searchSource: {}, columns: ['_id', 'sku'] }), mockConfig, + mockTaskInstanceFields, { es: mockEsClient, data: mockDataClient, @@ -487,6 +495,7 @@ describe('CsvGenerator', () => { columns: ['_id', '_index', 'date', 'message'], }), mockConfig, + mockTaskInstanceFields, { es: mockEsClient, data: mockDataClient, @@ -541,6 +550,7 @@ describe('CsvGenerator', () => { }, }), mockConfig, + mockTaskInstanceFields, { es: mockEsClient, data: mockDataClient, @@ -583,6 +593,7 @@ describe('CsvGenerator', () => { const generateCsv = new CsvGenerator( createMockJob({ searchSource: {}, columns: ['product', 'category'] }), mockConfig, + mockTaskInstanceFields, { es: mockEsClient, data: mockDataClient, @@ -621,6 +632,7 @@ describe('CsvGenerator', () => { const generateCsv = new CsvGenerator( createMockJob({ searchSource: {}, columns: ['_id', '_index', 'product', 'category'] }), mockConfig, + mockTaskInstanceFields, { es: mockEsClient, data: mockDataClient, @@ -659,6 +671,7 @@ describe('CsvGenerator', () => { const generateCsv = new CsvGenerator( createMockJob({ searchSource: {}, columns: [] }), mockConfig, + mockTaskInstanceFields, { es: mockEsClient, data: mockDataClient, @@ -699,6 +712,7 @@ describe('CsvGenerator', () => { const generateCsv = new CsvGenerator( createMockJob({ columns: ['date', 'ip', 'message'] }), mockConfig, + mockTaskInstanceFields, { es: mockEsClient, data: mockDataClient, @@ -737,6 +751,7 @@ describe('CsvGenerator', () => { const generateCsv = new CsvGenerator( createMockJob({ columns: ['date', 'ip', TEST_FORMULA] }), mockConfig, + mockTaskInstanceFields, { es: mockEsClient, data: mockDataClient, @@ -784,6 +799,7 @@ describe('CsvGenerator', () => { const generateCsv = new CsvGenerator( createMockJob({ columns: ['date', 'ip', 'message'] }), mockConfig, + mockTaskInstanceFields, { es: mockEsClient, data: mockDataClient, @@ -817,6 +833,7 @@ describe('CsvGenerator', () => { const generateCsv = new CsvGenerator( createMockJob({}), mockConfig, + mockTaskInstanceFields, { es: mockEsClient, data: mockDataClient, uiSettings: uiSettingsClient }, { searchSourceStart: mockSearchSourceService, @@ -872,6 +889,7 @@ describe('CsvGenerator', () => { const generateCsv = new CsvGenerator( createMockJob({ columns: ['date', 'ip', 'message'] }), mockConfig, + mockTaskInstanceFields, { es: mockEsClient, data: mockDataClient, @@ -923,6 +941,7 @@ describe('CsvGenerator', () => { const generateCsv = new CsvGenerator( createMockJob({ columns: ['date', 'ip', 'message'] }), mockConfig, + mockTaskInstanceFields, { es: mockEsClient, data: mockDataClient, @@ -960,6 +979,7 @@ describe('CsvGenerator', () => { const generateCsv = new CsvGenerator( createMockJob({ columns: ['date', 'ip', 'message'] }), mockConfig, + mockTaskInstanceFields, { es: mockEsClient, data: mockDataClient, @@ -992,6 +1012,7 @@ describe('CsvGenerator', () => { const generateCsv = new CsvGenerator( createMockJob({ columns: ['date', 'ip', 'message'] }), mockConfig, + mockTaskInstanceFields, { es: mockEsClient, data: mockDataClient, @@ -1041,6 +1062,7 @@ describe('CsvGenerator', () => { const generateCsv = new CsvGenerator( createMockJob({ columns: ['date', 'ip', 'message'] }), mockConfig, + mockTaskInstanceFields, { es: mockEsClient, data: mockDataClient, @@ -1100,6 +1122,7 @@ describe('CsvGenerator', () => { const generateCsv = new CsvGenerator( createMockJob({ columns: ['date', 'ip', 'message'] }), mockConfig, + mockTaskInstanceFields, { es: mockEsClient, data: mockDataClient, diff --git a/packages/kbn-generate-csv/src/generate_csv.ts b/packages/kbn-generate-csv/src/generate_csv.ts index f1e15d85ee1c9..16cce7afb62ad 100644 --- a/packages/kbn-generate-csv/src/generate_csv.ts +++ b/packages/kbn-generate-csv/src/generate_csv.ts @@ -6,6 +6,7 @@ * Side Public License, v 1. */ +import moment from 'moment'; import { lastValueFrom } from 'rxjs'; import type { Writable } from 'stream'; @@ -31,7 +32,7 @@ import { ReportingError, byteSizeValueToNumber, } from '@kbn/reporting-common'; -import type { TaskRunResult } from '@kbn/reporting-common/types'; +import type { TaskInstanceFields, TaskRunResult } from '@kbn/reporting-common/types'; import type { ReportingConfigType } from '@kbn/reporting-server'; import { CONTENT_TYPE_CSV } from './constants'; @@ -59,6 +60,7 @@ export class CsvGenerator { constructor( private job: Omit, private config: ReportingConfigType['csv'], + private taskInstanceFields: TaskInstanceFields, private clients: Clients, private dependencies: Dependencies, private cancellationToken: CancellationToken, @@ -346,16 +348,19 @@ export class CsvGenerator { } public async generateData(): Promise { + const logger = this.logger; const [settings, searchSource] = await Promise.all([ - getExportSettings( - this.clients.uiSettings, - this.config, - this.job.browserTimezone, - this.logger - ), + getExportSettings(this.clients.uiSettings, this.config, this.job.browserTimezone, logger), this.dependencies.searchSourceStart.create(this.job.searchSource), ]); - let reportingError: undefined | ReportingError; + + const { startedAt, retryAt } = this.taskInstanceFields; + if (startedAt) { + this.logger.debug( + `Task started at: ${startedAt && moment(startedAt).format()}.` + + ` Can run until: ${retryAt && moment(retryAt).format()}` + ); + } const index = searchSource.getField('index'); @@ -372,12 +377,13 @@ export class CsvGenerator { let totalRecords: number | undefined; let searchAfter: estypes.SortResults | undefined; + let reportingError: undefined | ReportingError; let pitId = await this.openPointInTime(indexPatternTitle, settings); // apply timezone from the job to all date field formatters try { index.fields.getByType('date').forEach(({ name }) => { - this.logger.debug(`Setting timezone on ${name}`); + logger.debug(`Setting timezone on ${name}`); const format: FieldFormatConfig = { ...index.fieldFormatMap[name], id: index.fieldFormatMap[name]?.id || 'date', // allow id: date_nanos @@ -389,7 +395,7 @@ export class CsvGenerator { index.setFieldFormat(name, format); }); } catch (err) { - this.logger.error(err); + logger.error(err); } const columns = new Set(this.job.columns ?? []); @@ -403,7 +409,7 @@ export class CsvGenerator { const results = await this.doSearch(searchSource, settings, searchAfter); if (!results) { - this.logger.warn(`Search results are undefined!`); + logger.warn(`Search results are undefined!`); break; } @@ -423,14 +429,14 @@ export class CsvGenerator { // Update last sort results for next query. PIT is used, so the sort results // automatically include _shard_doc as a tiebreaker searchAfter = hits[hits.length - 1]?.sort as estypes.SortResults | undefined; - this.logger.debug(`Received search_after: [${searchAfter}]`); + logger.debug(`Received search_after: [${searchAfter}]`); // check for shard failures, log them and add a warning if found const { _shards: shards } = results; if (shards.failures) { shards.failures.forEach(({ reason }) => { warnings.push(`Shard failure: ${JSON.stringify(reason)}`); - this.logger.warn(JSON.stringify(reason)); + logger.warn(JSON.stringify(reason)); }); } @@ -438,7 +444,7 @@ export class CsvGenerator { try { table = tabifyDocs(results, index, { shallow: true, includeIgnoredValues: true }); } catch (err) { - this.logger.error(err); + logger.error(err); warnings.push(i18nTexts.unknownError(err?.message ?? err)); } @@ -472,7 +478,7 @@ export class CsvGenerator { warnings.push(i18nTexts.escapedFormulaValuesMessage); } } catch (err) { - this.logger.error(err); + logger.error(err); if (err instanceof esErrors.ResponseError) { if ([401, 403].includes(err.statusCode ?? 0)) { reportingError = new AuthenticationExpiredError(); @@ -487,20 +493,20 @@ export class CsvGenerator { try { if (pitId) { - this.logger.debug(`Closing PIT ${this.formatPit(pitId)}`); + logger.debug(`Closing PIT ${this.formatPit(pitId)}`); await this.clients.es.asCurrentUser.closePointInTime({ body: { id: pitId } }); } else { - this.logger.warn(`No PIT ID to clear!`); + logger.warn(`No PIT ID to clear!`); } } catch (err) { - this.logger.error(err); + logger.error(err); warnings.push(i18nTexts.csvUnableToClosePit()); } - this.logger.info(`Finished generating. Row count: ${this.csvRowCount}.`); + logger.info(`Finished generating. Row count: ${this.csvRowCount}.`); if (!this.maxSizeReached && this.csvRowCount !== totalRecords) { - this.logger.warn( + logger.warn( `ES scroll returned fewer total hits than expected! ` + `Search result total hits: ${totalRecords}. Row count: ${this.csvRowCount}` ); diff --git a/packages/kbn-generate-csv/src/generate_csv_esql.test.ts b/packages/kbn-generate-csv/src/generate_csv_esql.test.ts new file mode 100644 index 0000000000000..e939a4126aeee --- /dev/null +++ b/packages/kbn-generate-csv/src/generate_csv_esql.test.ts @@ -0,0 +1,479 @@ +/* + * 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 * as Rx from 'rxjs'; +import type { Writable } from 'stream'; + +import { errors as esErrors } from '@elastic/elasticsearch'; +import type { IScopedClusterClient, IUiSettingsClient, Logger } from '@kbn/core/server'; +import { + elasticsearchServiceMock, + loggingSystemMock, + savedObjectsClientMock, + uiSettingsServiceMock, +} from '@kbn/core/server/mocks'; +import { IKibanaSearchResponse } from '@kbn/data-plugin/common'; +import { IScopedSearchClient } from '@kbn/data-plugin/server'; +import { dataPluginMock } from '@kbn/data-plugin/server/mocks'; +import { CancellationToken } from '@kbn/reporting-common'; +import type { ReportingConfigType } from '@kbn/reporting-server'; +import { + UI_SETTINGS_CSV_QUOTE_VALUES, + UI_SETTINGS_CSV_SEPARATOR, + UI_SETTINGS_DATEFORMAT_TZ, +} from './constants'; +import { CsvESQLGenerator, JobParamsCsvESQL } from './generate_csv_esql'; +import type { ESQLSearchReponse } from '@kbn/es-types'; + +const createMockJob = ( + params: Partial = { query: { esql: '' } } +): JobParamsCsvESQL => ({ + ...params, + query: { esql: '' }, +}); + +describe('CsvESQLGenerator', () => { + let mockEsClient: IScopedClusterClient; + let mockDataClient: IScopedSearchClient; + let mockConfig: ReportingConfigType['csv']; + let mockLogger: jest.Mocked; + let uiSettingsClient: IUiSettingsClient; + let stream: jest.Mocked; + let content: string; + + const getMockRawResponse = ( + esqlResponse: ESQLSearchReponse = { + columns: [], + values: [], + } + ): ESQLSearchReponse => esqlResponse; + + const mockDataClientSearchDefault = jest.fn().mockImplementation( + (): Rx.Observable> => + Rx.of({ + rawResponse: getMockRawResponse(), + }) + ); + + const mockSearchResponse = (response: ESQLSearchReponse) => { + mockDataClient.search = jest.fn().mockImplementation(() => + Rx.of({ + rawResponse: getMockRawResponse(response), + }) + ); + }; + + beforeEach(async () => { + content = ''; + stream = { write: jest.fn((chunk) => (content += chunk)) } as unknown as typeof stream; + mockEsClient = elasticsearchServiceMock.createScopedClusterClient(); + mockDataClient = dataPluginMock.createStartContract().search.asScoped({} as any); + mockDataClient.search = mockDataClientSearchDefault; + uiSettingsClient = uiSettingsServiceMock + .createStartContract() + .asScopedToClient(savedObjectsClientMock.create()); + uiSettingsClient.get = jest.fn().mockImplementation((key): any => { + switch (key) { + case UI_SETTINGS_CSV_QUOTE_VALUES: + return true; + case UI_SETTINGS_CSV_SEPARATOR: + return ','; + case UI_SETTINGS_DATEFORMAT_TZ: + return 'Browser'; + } + }); + + mockConfig = { + checkForFormulas: true, + escapeFormulaValues: true, + maxSizeBytes: 180000, + useByteOrderMarkEncoding: false, + scroll: { size: 500, duration: '30s' }, + enablePanelActionDownload: true, + maxConcurrentShardRequests: 5, + }; + + mockLogger = loggingSystemMock.createLogger(); + }); + + it('formats an empty search result to CSV content', async () => { + const generateCsv = new CsvESQLGenerator( + createMockJob({ columns: ['date', 'ip', 'message'] }), + mockConfig, + { + es: mockEsClient, + data: mockDataClient, + uiSettings: uiSettingsClient, + }, + new CancellationToken(), + mockLogger, + stream + ); + const csvResult = await generateCsv.generateData(); + expect(content).toMatchInlineSnapshot(` + " + " + `); + expect(csvResult.csv_contains_formulas).toBe(false); + }); + + it('formats a search result to CSV content', async () => { + mockSearchResponse({ + columns: [ + { name: 'date', type: 'date' }, + { name: 'ip', type: 'ip' }, + { name: 'message', type: 'string' }, + { name: 'geo.coordinates', type: 'geo_point' }, + ], + values: [['2020-12-31T00:14:28.000Z', '110.135.176.89', 'This is a great message!', null]], + }); + + const generateCsv = new CsvESQLGenerator( + createMockJob(), + mockConfig, + { + es: mockEsClient, + data: mockDataClient, + uiSettings: uiSettingsClient, + }, + new CancellationToken(), + mockLogger, + stream + ); + const csvResult = await generateCsv.generateData(); + expect(content).toMatchInlineSnapshot(` + "date,ip,message,\\"geo.coordinates\\" + \\"2020-12-31T00:14:28.000Z\\",\\"110.135.176.89\\",\\"This is a great message!\\", + " + `); + expect(csvResult.csv_contains_formulas).toBe(false); + }); + + it('calculates the bytes of the content', async () => { + mockSearchResponse({ + columns: [{ name: 'message', type: 'string' }], + values: Array(100).fill(['This is a great message!']), + }); + + const generateCsv = new CsvESQLGenerator( + createMockJob(), + mockConfig, + { + es: mockEsClient, + data: mockDataClient, + uiSettings: uiSettingsClient, + }, + new CancellationToken(), + mockLogger, + stream + ); + const csvResult = await generateCsv.generateData(); + expect(csvResult.max_size_reached).toBe(false); + expect(csvResult.warnings).toEqual([]); + }); + + it('warns if max size was reached', async () => { + const TEST_MAX_SIZE = 50; + mockConfig = { + ...mockConfig, + maxSizeBytes: TEST_MAX_SIZE, + }; + + mockSearchResponse({ + columns: [{ name: 'message', type: 'string' }], + values: Array(100).fill(['This is a great message!']), + }); + + const generateCsv = new CsvESQLGenerator( + createMockJob(), + mockConfig, + { + es: mockEsClient, + data: mockDataClient, + uiSettings: uiSettingsClient, + }, + new CancellationToken(), + mockLogger, + stream + ); + const csvResult = await generateCsv.generateData(); + expect(csvResult.max_size_reached).toBe(true); + expect(csvResult.warnings).toEqual([]); + expect(content).toMatchInlineSnapshot(` + "message + \\"This is a great message!\\" + " + `); + }); + + describe('jobParams', () => { + it('uses columns to select columns', async () => { + mockSearchResponse({ + columns: [ + { name: 'date', type: 'date' }, + { name: 'ip', type: 'ip' }, + { name: 'message', type: 'string' }, + ], + values: [['2020-12-31T00:14:28.000Z', '110.135.176.89', 'This is a great message!']], + }); + + const generateCsv = new CsvESQLGenerator( + createMockJob({ columns: ['message', 'date', 'something else'] }), + mockConfig, + { + es: mockEsClient, + data: mockDataClient, + uiSettings: uiSettingsClient, + }, + new CancellationToken(), + mockLogger, + stream + ); + await generateCsv.generateData(); + + expect(content).toMatchInlineSnapshot(` + "message,date + \\"This is a great message!\\",\\"2020-12-31T00:14:28.000Z\\" + " + `); + }); + + it('passes filters to the query', async () => { + const query = { esql: 'from kibana_sample_data_logs | limit 10' }; + const filters = [ + { + meta: {}, + query: { + range: { + '@timestamp': { format: 'strict_date_optional_time', gte: 'now-15m', lte: 'now' }, + }, + }, + }, + ]; + + const generateCsv = new CsvESQLGenerator( + createMockJob({ query, filters }), + mockConfig, + { + es: mockEsClient, + data: mockDataClient, + uiSettings: uiSettingsClient, + }, + new CancellationToken(), + mockLogger, + stream + ); + await generateCsv.generateData(); + + expect(mockDataClient.search).toHaveBeenCalledWith( + { + params: { + filter: { + bool: { + filter: [ + { + range: { + '@timestamp': { + format: 'strict_date_optional_time', + gte: 'now-15m', + lte: 'now', + }, + }, + }, + ], + must: [], + must_not: [], + should: [], + }, + }, + locale: 'en', + query: '', + }, + }, + { + strategy: 'esql', + transport: { + requestTimeout: '30s', + }, + abortSignal: expect.any(AbortSignal), + } + ); + }); + }); + + describe('formulas', () => { + const TEST_FORMULA = '=SUM(A1:A2)'; + + it(`escapes formula values in a cell, doesn't warn the csv contains formulas`, async () => { + mockSearchResponse({ + columns: [{ name: 'message', type: 'string' }], + values: [[TEST_FORMULA]], + }); + + const generateCsv = new CsvESQLGenerator( + createMockJob(), + mockConfig, + { + es: mockEsClient, + data: mockDataClient, + uiSettings: uiSettingsClient, + }, + new CancellationToken(), + mockLogger, + stream + ); + + const csvResult = await generateCsv.generateData(); + + expect(content).toMatchInlineSnapshot(` + "message + \\"'=SUM(A1:A2)\\" + " + `); + expect(csvResult.csv_contains_formulas).toBe(false); + }); + + it(`escapes formula values in a header, doesn't warn the csv contains formulas`, async () => { + mockSearchResponse({ + columns: [{ name: TEST_FORMULA, type: 'string' }], + values: [['This is great data']], + }); + + const generateCsv = new CsvESQLGenerator( + createMockJob(), + mockConfig, + { + es: mockEsClient, + data: mockDataClient, + uiSettings: uiSettingsClient, + }, + new CancellationToken(), + mockLogger, + stream + ); + + const csvResult = await generateCsv.generateData(); + + expect(content).toMatchInlineSnapshot(` + "\\"'=SUM(A1:A2)\\" + \\"This is great data\\" + " + `); + expect(csvResult.csv_contains_formulas).toBe(false); + }); + + it('can check for formulas, without escaping them', async () => { + mockConfig = { + checkForFormulas: true, + escapeFormulaValues: false, + maxSizeBytes: 180000, + useByteOrderMarkEncoding: false, + scroll: { size: 500, duration: '30s' }, + enablePanelActionDownload: true, + maxConcurrentShardRequests: 5, + }; + mockSearchResponse({ + columns: [{ name: 'message', type: 'string' }], + values: [[TEST_FORMULA]], + }); + + const generateCsv = new CsvESQLGenerator( + createMockJob(), + mockConfig, + { + es: mockEsClient, + data: mockDataClient, + uiSettings: uiSettingsClient, + }, + new CancellationToken(), + mockLogger, + stream + ); + + const csvResult = await generateCsv.generateData(); + + expect(content).toMatchInlineSnapshot(` + "message + \\"=SUM(A1:A2)\\" + " + `); + expect(csvResult.csv_contains_formulas).toBe(true); + }); + }); + + it('handles unknown errors', async () => { + mockDataClient.search = jest.fn().mockImplementation(() => { + throw new Error('An unknown error'); + }); + const generateCsv = new CsvESQLGenerator( + createMockJob(), + mockConfig, + { + es: mockEsClient, + data: mockDataClient, + uiSettings: uiSettingsClient, + }, + new CancellationToken(), + mockLogger, + stream + ); + await expect(generateCsv.generateData()).resolves.toMatchInlineSnapshot(` + Object { + "content_type": "text/csv", + "csv_contains_formulas": false, + "error_code": undefined, + "max_size_reached": false, + "metrics": Object { + "csv": Object { + "rows": 0, + }, + }, + "warnings": Array [ + "Encountered an unknown error: An unknown error", + ], + } + `); + }); + + describe('error codes', () => { + it('returns the expected error code when authentication expires', async () => { + mockDataClient.search = jest.fn().mockImplementation(() => { + throw new esErrors.ResponseError({ statusCode: 403, meta: {} as any, warnings: [] }); + }); + + const generateCsv = new CsvESQLGenerator( + createMockJob(), + mockConfig, + { + es: mockEsClient, + data: mockDataClient, + uiSettings: uiSettingsClient, + }, + new CancellationToken(), + mockLogger, + stream + ); + + const { error_code: errorCode, warnings } = await generateCsv.generateData(); + expect(errorCode).toBe('authentication_expired_error'); + expect(warnings).toMatchInlineSnapshot(` + Array [ + "This report contains partial CSV results because the authentication token expired. Export a smaller amount of data or increase the timeout of the authentication token.", + ] + `); + + expect(mockLogger.error.mock.calls).toMatchInlineSnapshot(` + Array [ + Array [ + [ResponseError: Response Error], + ], + ] + `); + }); + }); +}); diff --git a/packages/kbn-generate-csv/src/generate_csv_esql.ts b/packages/kbn-generate-csv/src/generate_csv_esql.ts new file mode 100644 index 0000000000000..81fa31b962eda --- /dev/null +++ b/packages/kbn-generate-csv/src/generate_csv_esql.ts @@ -0,0 +1,231 @@ +/* + * 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 { lastValueFrom } from 'rxjs'; +import type { Writable } from 'stream'; + +import { errors as esErrors } from '@elastic/elasticsearch'; +import type { IScopedClusterClient, IUiSettingsClient, Logger } from '@kbn/core/server'; +import type { ESQLSearchParams, ESQLSearchReponse } from '@kbn/es-types'; +import { + cellHasFormulas, + ESQL_SEARCH_STRATEGY, + getEsQueryConfig, + IKibanaSearchRequest, + IKibanaSearchResponse, +} from '@kbn/data-plugin/common'; +import type { IScopedSearchClient } from '@kbn/data-plugin/server'; +import { + AuthenticationExpiredError, + byteSizeValueToNumber, + CancellationToken, + ReportingError, +} from '@kbn/reporting-common'; +import type { TaskRunResult } from '@kbn/reporting-common/types'; +import type { ReportingConfigType } from '@kbn/reporting-server'; +import { buildEsQuery, Filter } from '@kbn/es-query'; +import { zipObject } from 'lodash'; +import { i18n } from '@kbn/i18n'; + +import { CONTENT_TYPE_CSV } from './constants'; +import { CsvExportSettings, getExportSettings } from './get_export_settings'; +import { i18nTexts } from './i18n_texts'; +import { MaxSizeStringBuilder } from './max_size_string_builder'; + +export interface JobParamsCsvESQL { + query: { esql: string }; + columns?: string[]; + filters?: Filter[]; + browserTimezone?: string; +} + +interface Clients { + es: IScopedClusterClient; + data: IScopedSearchClient; + uiSettings: IUiSettingsClient; +} + +export class CsvESQLGenerator { + private csvContainsFormulas = false; + private maxSizeReached = false; + private csvRowCount = 0; + + constructor( + private job: JobParamsCsvESQL, + private config: ReportingConfigType['csv'], + private clients: Clients, + private cancellationToken: CancellationToken, + private logger: Logger, + private stream: Writable + ) {} + + public async generateData(): Promise { + const settings = await getExportSettings( + this.clients.uiSettings, + this.config, + this.job.browserTimezone, + this.logger + ); + + let reportingError: undefined | ReportingError; + const warnings: string[] = []; + + const { maxSizeBytes, bom, escapeFormulaValues } = settings; + const builder = new MaxSizeStringBuilder(this.stream, byteSizeValueToNumber(maxSizeBytes), bom); + + const filter = + this.job.filters && + buildEsQuery( + undefined, + [], + this.job.filters, + getEsQueryConfig(this.clients.uiSettings as Parameters[0]) + ); + + const searchParams: IKibanaSearchRequest = { + params: { + query: this.job.query.esql, + filter, + // locale can be used for number/date formatting + locale: i18n.getLocale(), + // TODO: time_zone support was temporarily removed from ES|QL, + // we will need to add it back in once it is supported again. + // https://github.com/elastic/elasticsearch/pull/102767 + // timezone + }, + }; + + try { + const abortController = new AbortController(); + this.cancellationToken.on(() => abortController.abort()); + const { rawResponse, warning } = await lastValueFrom( + this.clients.data.search< + IKibanaSearchRequest, + IKibanaSearchResponse + >(searchParams, { + strategy: ESQL_SEARCH_STRATEGY, + abortSignal: abortController.signal, + transport: { + requestTimeout: settings.scroll.duration, + }, + }) + ); + + if (warning) { + warnings.push(warning); + } + + const responseColumns = rawResponse.columns?.map(({ name }) => name) ?? []; + const visibleColumns = + this.job.columns && this.job.columns.length > 0 + ? this.job.columns.filter((column) => responseColumns.includes(column)) + : responseColumns; + + const rows = rawResponse.values.map((row) => zipObject(responseColumns, row)); + + const header = + Array.from(visibleColumns).map(this.escapeValues(settings)).join(settings.separator) + '\n'; + builder.tryAppend(header); + + await this.generateRows(visibleColumns, rows, builder, settings); + } catch (err) { + this.logger.error(err); + if (err instanceof esErrors.ResponseError) { + if ([401, 403].includes(err.statusCode ?? 0)) { + reportingError = new AuthenticationExpiredError(); + warnings.push(i18nTexts.authenticationError.partialResultsMessage); + } else { + warnings.push(i18nTexts.esErrorMessage(err.statusCode ?? 0, String(err.body))); + } + } else { + warnings.push(i18nTexts.unknownError(err?.message ?? err)); + } + } + + return { + content_type: CONTENT_TYPE_CSV, + csv_contains_formulas: this.csvContainsFormulas && !escapeFormulaValues, + max_size_reached: this.maxSizeReached, + metrics: { + csv: { rows: this.csvRowCount }, + }, + warnings, + error_code: reportingError?.code, + }; + } + + /* + * Format a Datatable into rows of CSV content + */ + private async generateRows( + columns: string[], + rows: Array>, + builder: MaxSizeStringBuilder, + settings: CsvExportSettings + ) { + this.logger.debug(`Building ${rows.length} CSV data rows`); + for (const dataTableRow of rows) { + if (this.cancellationToken.isCancelled()) { + break; + } + + /* + * Intrinsically, generating the rows is a synchronous process. Awaiting + * on a setImmediate call here partititions what could be a very long and + * CPU-intenstive synchronous process into an asychronous process. This + * give NodeJS to process other asychronous events that wait on the Event + * Loop. + * + * See: https://nodejs.org/en/docs/guides/dont-block-the-event-loop/ + * + * It's likely this creates a lot of context switching, and adds to the + * time it would take to generate the CSV. There are alternatives to the + * chosen performance solution: + * + * 1. Partition the synchronous process with fewer partitions, by using + * the loop counter to call setImmediate only every N amount of rows. + * Testing is required to see what the best N value for most data will + * be. + * + * 2. Use a C++ add-on to generate the CSV using the Node Worker Pool + * instead of using the Event Loop + */ + await new Promise(setImmediate); + + const rowDefinition: string[] = []; + const escape = this.escapeValues(settings); + + for (const column of columns) { + let formattedValue: string = escape(`${dataTableRow[column]}`); + if (formattedValue === 'null') formattedValue = ''; + if (formattedValue === 'undefined') formattedValue = ''; + rowDefinition.push(formattedValue); + } + + if (!builder.tryAppend(rowDefinition.join(settings.separator) + '\n')) { + this.logger.warn(`Max Size Reached after ${this.csvRowCount} rows.`); + this.maxSizeReached = true; + if (this.cancellationToken) { + this.cancellationToken.cancel(); + } + break; + } + + this.csvRowCount++; + } + } + + private escapeValues(settings: CsvExportSettings) { + return (value: string) => { + if (settings.checkForFormulas && cellHasFormulas(value)) { + this.csvContainsFormulas = true; // set warning if cell value has a formula + } + return settings.escapeValue(value); + }; + } +} diff --git a/packages/kbn-generate-csv/tsconfig.json b/packages/kbn-generate-csv/tsconfig.json index 51dbd54dda73e..6db6b731929a1 100644 --- a/packages/kbn-generate-csv/tsconfig.json +++ b/packages/kbn-generate-csv/tsconfig.json @@ -26,5 +26,7 @@ "@kbn/reporting-common", "@kbn/reporting-server", "@kbn/reporting-export-types-csv-common", + "@kbn/es-query", + "@kbn/es-types", ] } diff --git a/packages/kbn-profiling-utils/common/flamegraph.ts b/packages/kbn-profiling-utils/common/flamegraph.ts index fc19de530d58d..355919a6c08d8 100644 --- a/packages/kbn-profiling-utils/common/flamegraph.ts +++ b/packages/kbn-profiling-utils/common/flamegraph.ts @@ -155,7 +155,6 @@ export function createFlameGraph(base: BaseFlameGraph): ElasticFlameGraph { FunctionOffset: graph.FunctionOffset[i], SourceFilename: graph.SourceFilename[i], SourceLine: graph.SourceLine[i], - SamplingRate: graph.SamplingRate, }); graph.Label[i] = getCalleeLabel(metadata); } diff --git a/packages/kbn-profiling-utils/common/profiling.ts b/packages/kbn-profiling-utils/common/profiling.ts index c7e8e6a89b766..daea4166bea6e 100644 --- a/packages/kbn-profiling-utils/common/profiling.ts +++ b/packages/kbn-profiling-utils/common/profiling.ts @@ -155,26 +155,12 @@ export interface StackFrameMetadata { FunctionName: string; /** StackFrame.FunctionOffset */ FunctionOffset: number; - /** should this be StackFrame.SourceID? */ - SourceID: FileID; /** StackFrame.Filename */ SourceFilename: string; /** StackFrame.LineNumber */ SourceLine: number; - /** auto-generated - see createStackFrameMetadata */ - FunctionSourceLine: number; /** Executable.FileName */ ExeFileName: string; - /** unused atm due to lack of symbolization metadata */ - CommitHash: string; - /** unused atm due to lack of symbolization metadata */ - SourceCodeURL: string; - /** unused atm due to lack of symbolization metadata */ - SourcePackageHash: string; - /** unused atm due to lack of symbolization metadata */ - SourcePackageURL: string; - /** unused atm due to lack of symbolization metadata */ - SamplingRate: number; } /** @@ -194,29 +180,9 @@ export function createStackFrameMetadata( metadata.AddressOrLine = options.AddressOrLine ?? 0; metadata.FunctionName = options.FunctionName ?? ''; metadata.FunctionOffset = options.FunctionOffset ?? 0; - metadata.SourceID = options.SourceID ?? ''; + metadata.SourceFilename = options.SourceFilename ?? ''; metadata.SourceLine = options.SourceLine ?? 0; metadata.ExeFileName = options.ExeFileName ?? ''; - metadata.CommitHash = options.CommitHash ?? ''; - metadata.SourceCodeURL = options.SourceCodeURL ?? ''; - metadata.SourceFilename = options.SourceFilename ?? ''; - metadata.SourcePackageHash = options.SourcePackageHash ?? ''; - metadata.SourcePackageURL = options.SourcePackageURL ?? ''; - metadata.SamplingRate = options.SamplingRate ?? 1.0; - - // Unknown/invalid offsets are currently set to 0. - // - // In this case we leave FunctionSourceLine=0 as a flag for the UI that the - // FunctionSourceLine should not be displayed. - // - // As FunctionOffset=0 could also be a legit value, this work-around needs - // a real fix. The idea for after GA is to change FunctionOffset=-1 to - // indicate unknown/invalid. - if (metadata.FunctionOffset > 0) { - metadata.FunctionSourceLine = metadata.SourceLine - metadata.FunctionOffset; - } else { - metadata.FunctionSourceLine = 0; - } return metadata; } diff --git a/packages/kbn-reporting/common/tsconfig.json b/packages/kbn-reporting/common/tsconfig.json index 80ed6308f02ff..8210d93ad457c 100644 --- a/packages/kbn-reporting/common/tsconfig.json +++ b/packages/kbn-reporting/common/tsconfig.json @@ -19,5 +19,6 @@ "@kbn/utility-types", "@kbn/screenshotting-plugin", "@kbn/i18n", + "@kbn/task-manager-plugin", ] } diff --git a/packages/kbn-reporting/common/types.ts b/packages/kbn-reporting/common/types.ts index 5b5a26a18d775..01d6109012813 100644 --- a/packages/kbn-reporting/common/types.ts +++ b/packages/kbn-reporting/common/types.ts @@ -6,6 +6,7 @@ * Side Public License, v 1. */ +import type { ConcreteTaskInstance } from '@kbn/task-manager-plugin/server'; import type { LayoutParams, PerformanceMetrics as ScreenshotMetrics, @@ -82,6 +83,11 @@ export interface BasePayload extends BaseParams { isDeprecated?: boolean; } +/** + * Timestamp metrics about the task lifecycle + */ +export type TaskInstanceFields = Pick; + export type JobId = string; /** diff --git a/packages/kbn-reporting/export_types/csv/csv_searchsource.test.ts b/packages/kbn-reporting/export_types/csv/csv_searchsource.test.ts index f48c25695405e..150d36fde1cb6 100644 --- a/packages/kbn-reporting/export_types/csv/csv_searchsource.test.ts +++ b/packages/kbn-reporting/export_types/csv/csv_searchsource.test.ts @@ -19,19 +19,20 @@ jest.mock('@kbn/generate-csv', () => ({ import nodeCrypto from '@elastic/node-crypto'; import { coreMock, elasticsearchServiceMock, loggingSystemMock } from '@kbn/core/server/mocks'; -import { Writable } from 'stream'; -import { CancellationToken } from '@kbn/reporting-common'; +import { dataPluginMock } from '@kbn/data-plugin/server/mocks'; import { discoverPluginMock } from '@kbn/discover-plugin/server/mocks'; import { createFieldFormatsStartMock } from '@kbn/field-formats-plugin/server/mocks'; -import { dataPluginMock } from '@kbn/data-plugin/server/mocks'; -import { setFieldFormats } from '@kbn/reporting-server'; +import { CancellationToken } from '@kbn/reporting-common'; import { createMockConfigSchema } from '@kbn/reporting-mocks-server'; +import { setFieldFormats } from '@kbn/reporting-server'; +import { Writable } from 'stream'; import { CsvSearchSourceExportType } from '.'; const mockLogger = loggingSystemMock.createLogger(); const encryptionKey = 'tetkey'; const headers = { sid: 'cooltestheaders' }; +const taskInstanceFields = { startedAt: null, retryAt: null }; let encryptedHeaders: string; let stream: jest.Mocked; let mockCsvSearchSourceExportType: CsvSearchSourceExportType; @@ -92,6 +93,7 @@ test('gets the csv content from job parameters', async () => { title: 'Test Search', version: '7.13.0', }, + taskInstanceFields, new CancellationToken(), stream ); @@ -103,3 +105,24 @@ test('gets the csv content from job parameters', async () => { } `); }); + +test('uses the provided logger', async () => { + const logSpy = jest.spyOn(mockLogger, 'get'); + + await mockCsvSearchSourceExportType.runTask( + 'cool-job-id', + { + headers: encryptedHeaders, + browserTimezone: 'US/Alaska', + searchSource: {}, + objectType: 'search', + title: 'Test Search', + version: '7.13.0', + }, + taskInstanceFields, + new CancellationToken(), + stream + ); + + expect(logSpy).toHaveBeenCalledWith('execute-job:cool-job-id'); +}); diff --git a/packages/kbn-reporting/export_types/csv/csv_searchsource.ts b/packages/kbn-reporting/export_types/csv/csv_searchsource.ts index 4063495272137..f3e2ebffc1792 100644 --- a/packages/kbn-reporting/export_types/csv/csv_searchsource.ts +++ b/packages/kbn-reporting/export_types/csv/csv_searchsource.ts @@ -20,6 +20,7 @@ import { LICENSE_TYPE_PLATINUM, LICENSE_TYPE_TRIAL, } from '@kbn/reporting-common'; +import { TaskInstanceFields } from '@kbn/reporting-common/types'; import { CSV_JOB_TYPE, CSV_REPORT_TYPE, @@ -72,11 +73,13 @@ export class CsvSearchSourceExportType extends ExportType< public runTask = async ( jobId: string, job: TaskPayloadCSV, + taskInstanceFields: TaskInstanceFields, cancellationToken: CancellationToken, stream: Writable ) => { - const { encryptionKey, csv: csvConfig } = this.config; const logger = this.logger.get(`execute-job:${jobId}`); + + const { encryptionKey, csv: csvConfig } = this.config; const headers = await decryptJobHeaders(encryptionKey, job.headers, logger); const fakeRequest = this.getFakeRequest(headers, job.spaceId, logger); const uiSettings = await this.getUiSettingsClient(fakeRequest, logger); @@ -99,6 +102,7 @@ export class CsvSearchSourceExportType extends ExportType< const csv = new CsvGenerator( job, csvConfig, + taskInstanceFields, clients, dependencies, cancellationToken, diff --git a/packages/kbn-reporting/export_types/csv/csv_searchsource_immediate.ts b/packages/kbn-reporting/export_types/csv/csv_searchsource_immediate.ts index ed690935d4582..1fbbf08c5fed2 100644 --- a/packages/kbn-reporting/export_types/csv/csv_searchsource_immediate.ts +++ b/packages/kbn-reporting/export_types/csv/csv_searchsource_immediate.ts @@ -108,9 +108,11 @@ export class CsvSearchSourceImmediateExportType extends ExportType< }; const cancellationToken = new CancellationToken(); const csvConfig = this.config.csv; + const taskInstanceFields = { startedAt: null, retryAt: null }; const csv = new CsvGenerator( job, csvConfig, + taskInstanceFields, clients, dependencies, cancellationToken, diff --git a/packages/kbn-reporting/export_types/csv/csv_v2.ts b/packages/kbn-reporting/export_types/csv/csv_v2.ts index 9ef87011ba6dc..b8001f2145405 100644 --- a/packages/kbn-reporting/export_types/csv/csv_v2.ts +++ b/packages/kbn-reporting/export_types/csv/csv_v2.ts @@ -12,7 +12,7 @@ import { Writable } from 'stream'; import type { KibanaRequest } from '@kbn/core/server'; import type { DataPluginStart } from '@kbn/data-plugin/server/plugin'; import type { DiscoverServerPluginStart } from '@kbn/discover-plugin/server'; -import { CsvGenerator } from '@kbn/generate-csv'; +import { CsvGenerator, CsvESQLGenerator } from '@kbn/generate-csv'; import { CancellationToken, LICENSE_TYPE_BASIC, @@ -22,6 +22,7 @@ import { LICENSE_TYPE_PLATINUM, LICENSE_TYPE_TRIAL, } from '@kbn/reporting-common'; +import { TaskInstanceFields } from '@kbn/reporting-common/types'; import { CSV_REPORT_TYPE_V2, JobParamsCsvFromSavedObject, @@ -87,14 +88,10 @@ export class CsvV2ExportType extends ExportType< throw Boom.badRequest('Invalid Job params: must contain a single Discover App locator'); } - if (!params || !params.savedSearchId || typeof params.savedSearchId !== 'string') { - throw Boom.badRequest('Invalid Discover App locator: must contain a savedSearchId'); - } - // use Discover contract to get the title of the report from job params const { discover: discoverPluginStart } = this.startDeps; const locatorClient = await discoverPluginStart.locator.asScopedClient(req); - const title = await locatorClient.titleFromLocator(params); + const title = jobParams.title || (await locatorClient.titleFromLocator(params)); return { ...jobParams, title, objectType: 'search', isDeprecated: false }; }; @@ -102,12 +99,14 @@ export class CsvV2ExportType extends ExportType< public runTask = async ( jobId: string, job: TaskPayloadCsvFromSavedObject, + taskInstanceFields: TaskInstanceFields, cancellationToken: CancellationToken, stream: Writable ) => { + const logger = this.logger.get(`execute:${jobId}`); + const config = this.config; const { encryptionKey, csv: csvConfig } = config; - const logger = this.logger.get(`execute:${jobId}`); const headers = await decryptJobHeaders(encryptionKey, job.headers, logger); const fakeRequest = this.getFakeRequest(headers, job.spaceId, logger); @@ -121,6 +120,38 @@ export class CsvV2ExportType extends ExportType< // use Discover contract to convert the job params into inputs for CsvGenerator const locatorClient = await discoverPluginStart.locator.asScopedClient(fakeRequest); + + const query = await locatorClient.queryFromLocator(params); + + if (query && 'esql' in query) { + // TODO: use columnsFromLocator + // currently locatorClient.columnsFromLocator can only extract columns from the saved search, + // but for the es|ql we simply want to get currently visible columns from params.columns. + // we didn't want to add this change inside locatorClient.columnsFromLocator, as it would change the behaviour of csv_v2 for non-ES|QL export, + // this should be addressed here https://github.com/elastic/kibana/issues/151190 + // const columns = await locatorClient.columnsFromLocator(params); + const columns = params.columns as string[] | undefined; + const filters = await locatorClient.filtersFromLocator(params); + const es = this.startDeps.esClient.asScoped(fakeRequest); + + const clients = { uiSettings, data, es }; + + const csv = new CsvESQLGenerator( + { + columns, + query, + filters, + ...job, + }, + csvConfig, + clients, + cancellationToken, + logger, + stream + ); + return await csv.generateData(); + } + const columns = await locatorClient.columnsFromLocator(params); const searchSource = await locatorClient.searchSourceFromLocator(params); @@ -137,6 +168,7 @@ export class CsvV2ExportType extends ExportType< ...job, }, csvConfig, + taskInstanceFields, clients, dependencies, cancellationToken, diff --git a/packages/kbn-reporting/export_types/pdf/printable_pdf.test.ts b/packages/kbn-reporting/export_types/pdf/printable_pdf.test.ts index 10c21ede18227..722f6a20e3b42 100644 --- a/packages/kbn-reporting/export_types/pdf/printable_pdf.test.ts +++ b/packages/kbn-reporting/export_types/pdf/printable_pdf.test.ts @@ -15,6 +15,7 @@ import { TaskPayloadPDF } from '@kbn/reporting-export-types-pdf-common'; import { createMockConfigSchema } from '@kbn/reporting-mocks-server'; import { cryptoFactory } from '@kbn/reporting-server'; import { createMockScreenshottingStart } from '@kbn/screenshotting-plugin/server/mock'; + import { PdfV1ExportType } from '.'; let content: string; @@ -22,6 +23,7 @@ let mockPdfExportType: PdfV1ExportType; let stream: jest.Mocked; const cancellationToken = new CancellationToken(); +const taskInstanceFields = { startedAt: null, retryAt: null }; const mockLogger = loggingSystemMock.createLogger(); const mockEncryptionKey = 'testencryptionkey'; @@ -55,7 +57,9 @@ beforeEach(async () => { uiSettings: mockCoreStart.uiSettings, screenshotting: screenshottingMock, }); - getScreenshotsSpy.mockImplementation(() => { + getScreenshotsSpy.mockImplementation((opts) => { + const { logger } = opts; + logger?.get('screenshotting'); return Rx.of({ metrics: { cpu: 0, pages: 1 }, data: Buffer.from(testContent), @@ -65,7 +69,7 @@ beforeEach(async () => { }); }); -test(`passes browserTimezone to generatePdf`, async () => { +test(`passes browserTimezone to getScreenshots`, async () => { const encryptedHeaders = await encryptHeaders({}); const browserTimezone = 'UTC'; @@ -76,19 +80,14 @@ test(`passes browserTimezone to generatePdf`, async () => { headers: encryptedHeaders, objects: [{ relativeUrl: '/app/kibana#/something' }], }), + taskInstanceFields, cancellationToken, stream ); - expect(getScreenshotsSpy).toHaveBeenCalledWith({ - browserTimezone: 'UTC', - format: 'pdf', - headers: {}, - layout: undefined, - logo: false, - title: undefined, - urls: ['http://localhost:80/mock-server-basepath/app/kibana#/something'], - }); + expect(getScreenshotsSpy).toHaveBeenCalledWith( + expect.objectContaining({ browserTimezone: 'UTC' }) + ); }); test(`returns content_type of application/pdf`, async () => { @@ -97,20 +96,37 @@ test(`returns content_type of application/pdf`, async () => { const { content_type: contentType } = await mockPdfExportType.runTask( 'pdfJobId', getBasePayload({ objects: [], headers: encryptedHeaders }), + taskInstanceFields, cancellationToken, stream ); expect(contentType).toBe('application/pdf'); }); -test(`returns content of generatePdf getBuffer base64 encoded`, async () => { +test(`returns buffer content base64 encoded`, async () => { const encryptedHeaders = await encryptHeaders({}); await mockPdfExportType.runTask( 'pdfJobId', getBasePayload({ objects: [], headers: encryptedHeaders }), + taskInstanceFields, cancellationToken, stream ); expect(content).toEqual(testContent); }); + +test(`screenshotting plugin uses the logger provided by the PDF export-type`, async () => { + const logSpy = jest.spyOn(mockLogger, 'get'); + + const encryptedHeaders = await encryptHeaders({}); + await mockPdfExportType.runTask( + 'pdfJobId', + getBasePayload({ objects: [], headers: encryptedHeaders }), + taskInstanceFields, + cancellationToken, + stream + ); + + expect(logSpy).toHaveBeenCalledWith('screenshotting'); +}); diff --git a/packages/kbn-reporting/export_types/pdf/printable_pdf.ts b/packages/kbn-reporting/export_types/pdf/printable_pdf.ts index 6aaf0e5c491e2..0aaa5cbe59e20 100644 --- a/packages/kbn-reporting/export_types/pdf/printable_pdf.ts +++ b/packages/kbn-reporting/export_types/pdf/printable_pdf.ts @@ -21,7 +21,7 @@ import { LICENSE_TYPE_TRIAL, REPORTING_TRANSACTION_TYPE, } from '@kbn/reporting-common'; -import { TaskRunResult } from '@kbn/reporting-common/types'; +import { TaskInstanceFields, TaskRunResult } from '@kbn/reporting-common/types'; import { JobParamsPDFDeprecated, PDF_JOB_TYPE, @@ -73,6 +73,7 @@ export class PdfV1ExportType extends ExportType { @@ -108,6 +109,8 @@ export class PdfV1ExportType extends ExportType { diff --git a/packages/kbn-reporting/export_types/pdf/printable_pdf_v2.test.ts b/packages/kbn-reporting/export_types/pdf/printable_pdf_v2.test.ts index 28d28ade31e97..76686b83f6722 100644 --- a/packages/kbn-reporting/export_types/pdf/printable_pdf_v2.test.ts +++ b/packages/kbn-reporting/export_types/pdf/printable_pdf_v2.test.ts @@ -23,6 +23,7 @@ let mockPdfExportType: PdfExportType; let stream: jest.Mocked; const cancellationToken = new CancellationToken(); +const taskInstanceFields = { startedAt: null, retryAt: null }; const mockLogger = loggingSystemMock.createLogger(); const mockEncryptionKey = 'testencryptionkey'; @@ -64,7 +65,9 @@ beforeEach(async () => { screenshotting: screenshottingMock, }); - getScreenshotsSpy.mockImplementation(() => { + getScreenshotsSpy.mockImplementation((opts) => { + const { logger } = opts; + logger?.get('screenshotting'); return Rx.of({ metrics: { cpu: 0, pages: 1 }, data: Buffer.from(testContent), @@ -74,7 +77,7 @@ beforeEach(async () => { }); }); -test(`passes browserTimezone to generatePdf`, async () => { +test(`passes browserTimezone to getScreenshots`, async () => { const browserTimezone = 'UTC'; await mockPdfExportType.runTask( 'pdfJobId', @@ -86,24 +89,14 @@ test(`passes browserTimezone to generatePdf`, async () => { browserTimezone, headers: encryptedHeaders, }), + taskInstanceFields, cancellationToken, stream ); - expect(getScreenshotsSpy).toHaveBeenCalledWith({ - browserTimezone: 'UTC', - format: 'pdf', - headers: {}, - layout: { dimensions: {} }, - logo: false, - title: 'PDF Params Timezone Test', - urls: [ - [ - 'http://localhost:80/mock-server-basepath/app/reportingRedirect?forceNow=test', - { __REPORTING_REDIRECT_LOCATOR_STORE_KEY__: { id: 'test', version: 'test' } }, - ], - ], - }); + expect(getScreenshotsSpy).toHaveBeenCalledWith( + expect.objectContaining({ browserTimezone: 'UTC' }) + ); }); test(`returns content_type of application/pdf`, async () => { @@ -114,13 +107,14 @@ test(`returns content_type of application/pdf`, async () => { locatorParams: [{ version: 'test', id: 'test' }] as LocatorParams[], headers: encryptedHeaders, }), + taskInstanceFields, cancellationToken, stream ); expect(contentType).toBe('application/pdf'); }); -test(`returns content of generatePdf getBuffer base64 encoded`, async () => { +test(`returns buffer content base64 encoded`, async () => { await mockPdfExportType.runTask( 'pdfJobId', getBasePayload({ @@ -128,9 +122,28 @@ test(`returns content of generatePdf getBuffer base64 encoded`, async () => { locatorParams: [{ version: 'test', id: 'test' }] as LocatorParams[], headers: encryptedHeaders, }), + taskInstanceFields, cancellationToken, stream ); expect(content).toEqual(testContent); }); + +test(`screenshotting plugin uses the logger provided by the PDF export-type`, async () => { + const logSpy = jest.spyOn(mockLogger, 'get'); + + await mockPdfExportType.runTask( + 'pdfJobId', + getBasePayload({ + layout: { dimensions: {} }, + locatorParams: [{ version: 'test', id: 'test' }] as LocatorParams[], + headers: encryptedHeaders, + }), + taskInstanceFields, + cancellationToken, + stream + ); + + expect(logSpy).toHaveBeenCalledWith('screenshotting'); +}); diff --git a/packages/kbn-reporting/export_types/pdf/printable_pdf_v2.ts b/packages/kbn-reporting/export_types/pdf/printable_pdf_v2.ts index 24e445e503d51..ad513ec006acb 100644 --- a/packages/kbn-reporting/export_types/pdf/printable_pdf_v2.ts +++ b/packages/kbn-reporting/export_types/pdf/printable_pdf_v2.ts @@ -22,7 +22,7 @@ import { REPORTING_REDIRECT_LOCATOR_STORE_KEY, REPORTING_TRANSACTION_TYPE, } from '@kbn/reporting-common'; -import type { TaskRunResult } from '@kbn/reporting-common/types'; +import type { TaskInstanceFields, TaskRunResult } from '@kbn/reporting-common/types'; import type { TaskPayloadPDFV2 } from '@kbn/reporting-export-types-pdf-common'; import { JobParamsPDFV2, @@ -78,6 +78,7 @@ export class PdfExportType extends ExportType public runTask = ( jobId: string, payload: TaskPayloadPDFV2, + taskInstanceFields: TaskInstanceFields, cancellationToken: CancellationToken, stream: Writable ) => { @@ -130,6 +131,8 @@ export class PdfExportType extends ExportType ? url : [url[0], { [REPORTING_REDIRECT_LOCATOR_STORE_KEY]: url[1] }] ), + taskInstanceFields, + logger, }) .pipe( tap(({ metrics }) => { diff --git a/packages/kbn-reporting/export_types/png/png_v2.test.ts b/packages/kbn-reporting/export_types/png/png_v2.test.ts index bd59306af8168..89b65fc127aa4 100644 --- a/packages/kbn-reporting/export_types/png/png_v2.test.ts +++ b/packages/kbn-reporting/export_types/png/png_v2.test.ts @@ -24,6 +24,7 @@ let mockPngExportType: PngExportType; let stream: jest.Mocked; const cancellationToken = new CancellationToken(); +const taskInstanceFields = { startedAt: null, retryAt: null }; const mockLogger = loggingSystemMock.createLogger(); const mockEncryptionKey = 'abcabcsecuresecret'; @@ -61,7 +62,9 @@ beforeEach(async () => { screenshotting: screenshottingMock, }); - getScreenshotsSpy.mockImplementation(() => { + getScreenshotsSpy.mockImplementation((opts) => { + const { logger } = opts; + logger?.get('screenshotting'); return Rx.of({ metrics: { cpu: 0 }, results: [{ screenshots: [{ data: Buffer.from(testContent) }] }] as CaptureResult['results'], @@ -69,7 +72,7 @@ beforeEach(async () => { }); }); -test(`passes browserTimezone to generatePng`, async () => { +test(`passes browserTimezone to getScreenshots`, async () => { const browserTimezone = 'UTC'; await mockPngExportType.runTask( 'pngJobId', @@ -80,21 +83,14 @@ test(`passes browserTimezone to generatePng`, async () => { browserTimezone, headers: encryptedHeaders, }), + taskInstanceFields, cancellationToken, stream ); - expect(getScreenshotsSpy).toHaveBeenCalledWith({ - format: 'png', - headers: {}, - layout: { dimensions: {}, id: 'preserve_layout' }, - urls: [ - [ - 'http://localhost:80/mock-server-basepath/app/reportingRedirect?forceNow=test', - { __REPORTING_REDIRECT_LOCATOR_STORE_KEY__: undefined }, - ], - ], - }); + expect(getScreenshotsSpy).toHaveBeenCalledWith( + expect.objectContaining({ browserTimezone: 'UTC' }) + ); }); test(`returns content_type of application/png`, async () => { @@ -105,13 +101,14 @@ test(`returns content_type of application/png`, async () => { locatorParams: [{ version: 'test', id: 'test' }] as LocatorParams[], headers: encryptedHeaders, }), + taskInstanceFields, cancellationToken, stream ); expect(contentType).toBe('image/png'); }); -test(`returns content of generatePng getBuffer base64 encoded`, async () => { +test(`returns buffer content base64 encoded`, async () => { await mockPngExportType.runTask( 'pngJobId', getBasePayload({ @@ -119,9 +116,28 @@ test(`returns content of generatePng getBuffer base64 encoded`, async () => { locatorParams: [{ version: 'test', id: 'test' }] as LocatorParams[], headers: encryptedHeaders, }), + taskInstanceFields, cancellationToken, stream ); expect(content).toEqual(testContent); }); + +test(`screenshotting plugin uses the logger provided by the PNG export-type`, async () => { + const logSpy = jest.spyOn(mockLogger, 'get'); + + await mockPngExportType.runTask( + 'pngJobId', + getBasePayload({ + layout: { dimensions: {} }, + locatorParams: [{ version: 'test', id: 'test' }] as LocatorParams[], + headers: encryptedHeaders, + }), + taskInstanceFields, + cancellationToken, + stream + ); + + expect(logSpy).toHaveBeenCalledWith('screenshotting'); +}); diff --git a/packages/kbn-reporting/export_types/png/png_v2.ts b/packages/kbn-reporting/export_types/png/png_v2.ts index 2b824bde18a0b..b8ced55f0993c 100644 --- a/packages/kbn-reporting/export_types/png/png_v2.ts +++ b/packages/kbn-reporting/export_types/png/png_v2.ts @@ -31,7 +31,7 @@ import { REPORTING_REDIRECT_LOCATOR_STORE_KEY, REPORTING_TRANSACTION_TYPE, } from '@kbn/reporting-common'; -import type { TaskRunResult } from '@kbn/reporting-common/types'; +import type { TaskInstanceFields, TaskRunResult } from '@kbn/reporting-common/types'; import { JobParamsPNGV2, PNG_JOB_TYPE_V2, @@ -83,6 +83,7 @@ export class PngExportType extends ExportType public runTask = ( jobId: string, payload: TaskPayloadPNGV2, + taskInstanceFields: TaskInstanceFields, cancellationToken: CancellationToken, stream: Writable ) => { @@ -106,13 +107,9 @@ export class PngExportType extends ExportType apmGetAssets?.end(); apmGeneratePng = apmTrans.startSpan('generate-png-pipeline', 'execute'); - const options = { - headers, - browserTimezone: payload.browserTimezone, - layout: { ...payload.layout, id: 'preserve_layout' as const }, - }; - if (!options.layout?.dimensions) { + const layout = { ...payload.layout, id: 'preserve_layout' as const }; + if (!layout.dimensions) { throw new Error(`LayoutParams.Dimensions is undefined.`); } @@ -122,9 +119,12 @@ export class PngExportType extends ExportType return this.startDeps .screenshotting!.getScreenshots({ format: 'png', + browserTimezone: payload.browserTimezone, headers, - layout: { ...payload.layout, id: 'preserve_layout' }, + layout, urls: [[url, { [REPORTING_REDIRECT_LOCATOR_STORE_KEY]: locatorParams }]], + taskInstanceFields, + logger, }) .pipe( tap(({ metrics }) => { diff --git a/packages/kbn-reporting/server/types.ts b/packages/kbn-reporting/server/types.ts index 94ad1e34a19d3..99d82dc33c217 100644 --- a/packages/kbn-reporting/server/types.ts +++ b/packages/kbn-reporting/server/types.ts @@ -12,7 +12,12 @@ import type { TypeOf } from '@kbn/config-schema'; import type { CustomRequestHandlerContext } from '@kbn/core-http-request-handler-context-server'; import type { KibanaRequest } from '@kbn/core-http-server'; import type { CancellationToken } from '@kbn/reporting-common'; -import type { BaseParams, BasePayload, TaskRunResult } from '@kbn/reporting-common/types'; +import type { + BaseParams, + BasePayload, + TaskInstanceFields, + TaskRunResult, +} from '@kbn/reporting-common/types'; import { ConfigSchema } from './config_schema'; import type { ExportType } from './export_type'; @@ -38,6 +43,7 @@ export type CreateJobFn = ( jobId: string, payload: TaskPayloadType, + taskInstanceFields: TaskInstanceFields, cancellationToken: CancellationToken, stream: Writable ) => Promise; diff --git a/packages/kbn-search-connectors/types/native_connectors.ts b/packages/kbn-search-connectors/types/native_connectors.ts index 0fcac23e1038c..990b09c10314a 100644 --- a/packages/kbn-search-connectors/types/native_connectors.ts +++ b/packages/kbn-search-connectors/types/native_connectors.ts @@ -157,13 +157,33 @@ export const NATIVE_CONNECTOR_DEFINITIONS: Record { + emitJson = false, +}: CompareSnapshotsParameters): Promise { validateInput({ from, to, @@ -43,20 +60,25 @@ async function compareSnapshots({ const result = compareSnapshotFiles(fromSnapshot, toSnapshot); - log.info( - `Snapshots compared: ${from} <=> ${to}. ` + - `${result.hasChanges ? 'Changed: ' + result.changed.join(', ') : 'No changes'}` - ); + if (result.hasChanges) { + log.info(`Snapshots compared: ${from} <=> ${to}. Changed: ${result.changed.join(', ')}`); + result.changed.forEach((pluginName) => { + const { versionChange } = result.changes[pluginName]; + log.info( + `${versionChange.emoji} ${pluginName}: ${versionChange.from} => ${versionChange.to}` + ); + }); + } else { + log.info(`Snapshots compared: ${from} <=> ${to}. No changes`); + } if (outputPath) { writeSnapshot(outputPath, result); log.info(`Output written to: ${outputPath}`); - } else { - log.info( - `Emitting result to STDOUT... (Enable '--silent' or '--quiet' to disable non-parseable output)` - ); + } else if (emitJson) { // eslint-disable-next-line no-console console.log(JSON.stringify(result, null, 2)); + log.info(`Emitted result as JSON to stdout... (Use '--quiet' to disable non-parseable output)`); } return result; @@ -132,7 +154,10 @@ function expandGitRev(gitRev: string) { * @param fromSnapshot * @param toSnapshot */ -function compareSnapshotFiles(fromSnapshot: MigrationSnapshot, toSnapshot: MigrationSnapshot) { +function compareSnapshotFiles( + fromSnapshot: MigrationSnapshot, + toSnapshot: MigrationSnapshot +): SnapshotComparisonResult { const pluginNames = Object.keys(fromSnapshot.typeDefinitions); const pluginNamesWithChangedHash = pluginNames.filter((pluginName) => { const fromHash = fromSnapshot.typeDefinitions[pluginName].hash; @@ -145,17 +170,24 @@ function compareSnapshotFiles(fromSnapshot: MigrationSnapshot, toSnapshot: Migra const changes = pluginNamesWithChangedHash.reduce((changesObj, pluginName) => { const fromMigrationInfo = fromSnapshot.typeDefinitions[pluginName]; const toMigrationInfo = toSnapshot.typeDefinitions[pluginName]; + const fromVersion = Number(fromMigrationInfo.modelVersions.at(-1)?.version || '0'); + const toVersion = Number(toMigrationInfo.modelVersions.at(-1)?.version || '0'); changesObj[pluginName] = { from: fromMigrationInfo, to: toMigrationInfo, + versionChange: { + from: fromVersion, + to: toVersion, + emoji: Math.abs(fromVersion - toVersion) >= 2 ? '🚨' : '✅', + }, }; return changesObj; - }, {} as Record); + }, {} as SnapshotComparisonResult['changes']); return { hasChanges: pluginNamesWithChangedHash.length > 0, - from: fromSnapshot.meta.kibanaCommitHash, - to: toSnapshot.meta.kibanaCommitHash, + from: fromSnapshot.meta.kibanaCommitHash!, + to: toSnapshot.meta.kibanaCommitHash!, changed: pluginNamesWithChangedHash, unchanged: restOfPluginNames, changes, diff --git a/src/dev/so_migration/snapshot_plugin_types.ts b/src/dev/so_migration/snapshot_plugin_types.ts index 288f4704d19f8..59c8fe0b6b1cc 100644 --- a/src/dev/so_migration/snapshot_plugin_types.ts +++ b/src/dev/so_migration/snapshot_plugin_types.ts @@ -92,7 +92,7 @@ function collectSOSnapshotMeta(): MigrationSnapshotMeta { const buildUrl = process.env.BUILDKITE_BUILD_URL || null; const prId = process.env.BUILDKITE_MESSAGE?.match(/\(#(\d+)\)/)?.[1]; const pullRequestUrl = prId ? `https://github.com/elastic/kibana/pulls/${prId}` : null; - const kibanaCommitHash = process.env.BUILDKITE_COMMIT || getLocalHash(); + const kibanaCommitHash = process.env.BUILDKITE_COMMIT || getLocalHash() || 'unknown'; return { timestamp, diff --git a/src/dev/so_migration/so_migration_compare_cli.ts b/src/dev/so_migration/so_migration_compare_cli.ts index 33eaee9f4cbf0..ad8c4343f2381 100644 --- a/src/dev/so_migration/so_migration_compare_cli.ts +++ b/src/dev/so_migration/so_migration_compare_cli.ts @@ -15,11 +15,11 @@ const scriptName = process.argv[1].replace(/^.*scripts\//, 'scripts/'); run( async ({ log, flagsReader, procRunner }) => { const outputPath = flagsReader.string('outputPath'); - const from = flagsReader.requiredString('from'); const to = flagsReader.requiredString('to'); + const emitJson = flagsReader.boolean('json'); - const result = await compareSnapshots({ from, to, outputPath, log }); + const result = await compareSnapshots({ from, to, outputPath, log, emitJson }); return { outputPath, @@ -35,14 +35,17 @@ run( '--from ', '--to ', '[--outputPath ]', + '[--json]', ].join(' '), description: `Compares two Saved Object snapshot files based on hashes, filenames or urls.`, flags: { + boolean: ['json'], string: ['outputPath', 'from', 'to'], help: ` --from The source snapshot to compare from. Can be a revision, filename or url. --to The target snapshot to compare to. Can be a revision, filename or url. - --outputPath The path to write the comparison report to. If omitted, raw JSON will be output to stdout. + --outputPath The path to write the JSON comparison report to (assumes --json=true). + --json If true, the JSON output will be emitted to stdout. Add --quiet for the JSON only. `, }, } diff --git a/src/dev/so_migration/types.d.ts b/src/dev/so_migration/types.d.ts index 695fec1f487d7..ce9280b6cd464 100644 --- a/src/dev/so_migration/types.d.ts +++ b/src/dev/so_migration/types.d.ts @@ -17,7 +17,7 @@ export type MigrationInfoRecord = Pick< export interface MigrationSnapshotMeta { date: string; - kibanaCommitHash: string | null; + kibanaCommitHash: string; buildUrl: string | null; pullRequestUrl: string | null; timestamp: number; diff --git a/src/plugins/console/public/application/containers/embeddable/_embeddable_console.scss b/src/plugins/console/public/application/containers/embeddable/_embeddable_console.scss new file mode 100644 index 0000000000000..206ab6459c05a --- /dev/null +++ b/src/plugins/console/public/application/containers/embeddable/_embeddable_console.scss @@ -0,0 +1,146 @@ +.embeddableConsole { + background: $embeddableConsoleBackground; + color: $embeddableConsoleText; + display: flex; + flex-direction: column; + // This large box shadow helps prevent a flicker of dark + // background when the content is shown and hidden + box-shadow: inset 0 $embeddableConsoleInitialHeight 0 $embeddableConsoleBackground, inset 0 600rem 0 $euiPageBackgroundColor; + bottom: 0; + right: 0; + left: var(--euiCollapsibleNavOffset, 0); + transform: translateY(0); + height: $embeddableConsoleInitialHeight; + max-height: $embeddableConsoleMaxHeight; + + &--fixed { + position: fixed; + z-index: $euiZLevel1; + } + + &-isOpen { + animation-duration: $euiAnimSpeedNormal; + animation-timing-function: $euiAnimSlightResistance; + animation-fill-mode: forwards; + } + + &-isOpen.embeddableConsole--large { + animation-name: embeddableConsoleOpenPanelLarge; + height: $embeddableConsoleMaxHeight; + bottom: map-get($embeddableConsoleHeights, 'l') * -1; + } + + &-isOpen.embeddableConsole--medium { + animation-name: embeddableConsoleOpenPanelMedium; + height: map-get($embeddableConsoleHeights, 'm'); + bottom: map-get($embeddableConsoleHeights, 'm') * -1; + } + + &-isOpen.embeddableConsole--small { + animation-name: embeddableConsoleOpenPanelSmall; + height: map-get($embeddableConsoleHeights, 's'); + bottom: map-get($embeddableConsoleHeights, 's') * -1; + } +} + +.embeddableConsole__controls { + height: $embeddableConsoleInitialHeight; + width: 100%; + display: flex; + justify-content: flex-start; + overflow-y: hidden; // Ensures the movement of buttons in :focus don't cause scrollbars + overflow-x: auto; + + &--button { + justify-content: flex-start; + } +} + +.embeddableConsole__content { + @include euiScrollBar; + overflow-y: auto; + width: 100%; + height: calc(100% - #{$embeddableConsoleInitialHeight}); + background-color: $euiPageBackgroundColor; + animation-name: embeddableConsoleShowContent; + animation-duration: $euiAnimSpeedSlow; + animation-iteration-count: 1; + animation-timing-function: $euiAnimSlightResistance; + color: $euiColorDarkestShade; + + #consoleRoot { + height: 100%; + } +} + +@each $colorName, $colorValue in $euiButtonTypes { + .embeddableConsole__controls { + .euiLink.euiLink--#{$colorName} { + color: makeHighContrastColor($colorValue, $embeddableConsoleBackground); + + &:hover { + color: tintOrShade($colorValue, 30%, 30%); + } + } + + .euiLink.euiLink--text { + color: $euiColorGhost; + } + + .embeddableConsole__button.euiButton[class*='#{$colorName}']:enabled:not(.euiButton--fill) { + color: makeHighContrastColor($colorValue, $embeddableConsoleBackground); + border-color: makeHighContrastColor($colorValue, $embeddableConsoleBackground); + } + + .euiButtonIcon[class*='#{$colorName}'] { + color: makeHighContrastColor($colorValue, $embeddableConsoleBackground); + } + } +} + +@include euiBreakpoint('xs', 's') { + .embeddableConsole:not(.embeddableConsole--showOnMobile) { + display: none; + } +} + +@keyframes embeddableConsoleOpenPanelLarge { + 0% { + // Accounts for the initial height offset from the top + transform: translateY(calc((#{$embeddableConsoleInitialHeight} * 3) * -1)); + } + + 100% { + transform: translateY(map-get($embeddableConsoleHeights, 'l') * -1); + } +} + +@keyframes embeddableConsoleOpenPanelMedium { + 0% { + transform: translateY(-$embeddableConsoleInitialHeight); + } + + 100% { + transform: translateY(map-get($embeddableConsoleHeights, 'm') * -1); + } +} + +@keyframes embeddableConsoleOpenPanelSmall { + 0% { + transform: translateY(-$embeddableConsoleInitialHeight); + } + + 100% { + transform: translateY(map-get($embeddableConsoleHeights, 's') * -1); + } +} + +@keyframes embeddableConsoleShowContent { + 0% { + opacity: 0; + } + + 100% { + opacity: 1; + } +} diff --git a/src/plugins/console/public/application/containers/embeddable/_index.scss b/src/plugins/console/public/application/containers/embeddable/_index.scss new file mode 100644 index 0000000000000..ccd6b800f99cc --- /dev/null +++ b/src/plugins/console/public/application/containers/embeddable/_index.scss @@ -0,0 +1,2 @@ +@import 'variables'; +@import 'embeddable_console'; diff --git a/src/plugins/console/public/application/containers/embeddable/_variables.scss b/src/plugins/console/public/application/containers/embeddable/_variables.scss new file mode 100644 index 0000000000000..b987037af4d62 --- /dev/null +++ b/src/plugins/console/public/application/containers/embeddable/_variables.scss @@ -0,0 +1,12 @@ +$embeddableConsoleBackground: lightOrDarkTheme($euiColorDarkestShade, $euiColorInk); +$embeddableConsoleText: lighten(makeHighContrastColor($euiColorLightestShade, $embeddableConsoleBackground), 20%); +$embeddableConsoleBorderColor: transparentize($euiColorGhost, .8); +$embeddableConsoleInitialHeight: $euiSizeXXL; +$embeddableConsoleMaxHeight: calc(100vh - #{$euiSize * 5}); + +// Pixel heights ensure no blurriness caused by half pixel offsets +$embeddableConsoleHeights: ( + s: $euiSize * 30, + m: $euiSize * 50, + l: 100vh, +); diff --git a/src/plugins/console/public/application/containers/embeddable/console_wrapper.tsx b/src/plugins/console/public/application/containers/embeddable/console_wrapper.tsx new file mode 100644 index 0000000000000..7594bc06fa322 --- /dev/null +++ b/src/plugins/console/public/application/containers/embeddable/console_wrapper.tsx @@ -0,0 +1,160 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. + */ + +import React, { useMemo, useEffect } from 'react'; +import { Observable } from 'rxjs'; +import { + HttpSetup, + NotificationsStart, + I18nStart, + CoreTheme, + DocLinksStart, +} from '@kbn/core/public'; +import { KibanaThemeProvider } from '@kbn/react-kibana-context-theme'; + +import { ObjectStorageClient } from '../../../../common/types'; + +import * as localStorageObjectClient from '../../../lib/local_storage_object_client'; +import { + getAutocompleteInfo, + AutocompleteInfo, + History, + Settings, + Storage, + createStorage, + createHistory, + createSettings, + setStorage, +} from '../../../services'; +import { createUsageTracker } from '../../../services/tracker'; +import { MetricsTracker, EmbeddableConsoleDependencies } from '../../../types'; + +import { createApi, createEsHostService } from '../../lib'; +import { EsHostService } from '../../lib/es_host_service'; + +import { + ServicesContextProvider, + EditorContextProvider, + RequestContextProvider, +} from '../../contexts'; +import { Main } from '../main'; + +interface ConsoleDependencies { + I18nContext: I18nStart['Context']; + autocompleteInfo: AutocompleteInfo; + docLinks: DocLinksStart['links']; + docLinkVersion: string; + esHostService: EsHostService; + history: History; + http: HttpSetup; + notifications: NotificationsStart; + objectStorageClient: ObjectStorageClient; + settings: Settings; + storage: Storage; + theme$: Observable; + trackUiMetric: MetricsTracker; +} + +const loadDependencies = ({ + core, + usageCollection, +}: EmbeddableConsoleDependencies): ConsoleDependencies => { + const { + docLinks: { DOC_LINK_VERSION, links }, + http, + i18n: { Context: I18nContext }, + notifications, + theme: { theme$ }, + } = core; + const trackUiMetric = createUsageTracker(usageCollection); + trackUiMetric.load('opened_remote_app'); + + const autocompleteInfo = getAutocompleteInfo(); + const storage = createStorage({ + engine: window.localStorage, + prefix: 'sense:', + }); + setStorage(storage); + const history = createHistory({ storage }); + const settings = createSettings({ storage }); + const objectStorageClient = localStorageObjectClient.create(storage); + const api = createApi({ http }); + const esHostService = createEsHostService({ api }); + + autocompleteInfo.mapping.setup(http, settings); + return { + I18nContext, + autocompleteInfo, + docLinks: links, + docLinkVersion: DOC_LINK_VERSION, + esHostService, + history, + http, + notifications, + objectStorageClient, + settings, + storage, + theme$, + trackUiMetric, + }; +}; + +export const ConsoleWrapper = (props: EmbeddableConsoleDependencies): React.ReactElement => { + const dependencies = useMemo(() => loadDependencies(props), [props]); + useEffect(() => { + return () => { + dependencies.autocompleteInfo.clearSubscriptions(); + }; + }, [dependencies]); + + const { + I18nContext, + autocompleteInfo, + docLinkVersion, + docLinks, + esHostService, + history, + http, + notifications, + objectStorageClient, + settings, + storage, + theme$, + trackUiMetric, + } = dependencies; + return ( + + + + + +
+ + + + + + ); +}; diff --git a/src/plugins/console/public/application/containers/embeddable/embeddable_console.tsx b/src/plugins/console/public/application/containers/embeddable/embeddable_console.tsx new file mode 100644 index 0000000000000..48a1337266668 --- /dev/null +++ b/src/plugins/console/public/application/containers/embeddable/embeddable_console.tsx @@ -0,0 +1,106 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. + */ + +import React, { useState } from 'react'; +import classNames from 'classnames'; +import { + EuiButton, + EuiFocusTrap, + EuiPortal, + EuiScreenReaderOnly, + EuiThemeProvider, + EuiWindowEvent, + keys, +} from '@elastic/eui'; +import { i18n } from '@kbn/i18n'; + +import { + EmbeddableConsoleProps, + EmbeddableConsoleDependencies, +} from '../../../types/embeddable_console'; + +import { ConsoleWrapper } from './console_wrapper'; +import './_index.scss'; + +const landmarkHeading = i18n.translate('console.embeddableConsole.landmarkHeading', { + defaultMessage: 'Developer console', +}); + +export const EmbeddableConsole = ({ + size = 'm', + core, + usageCollection, +}: EmbeddableConsoleProps & EmbeddableConsoleDependencies) => { + const [isConsoleOpen, setIsConsoleOpen] = useState(false); + const toggleConsole = () => setIsConsoleOpen(!isConsoleOpen); + + const onKeyDown = (event: any) => { + if (event.key === keys.ESCAPE) { + event.preventDefault(); + event.stopPropagation(); + setIsConsoleOpen(false); + } + }; + + const classes = classNames('embeddableConsole', { + 'embeddableConsole-isOpen': isConsoleOpen, + 'embeddableConsole--large': size === 'l', + 'embeddableConsole--medium': size === 'm', + 'embeddableConsole--small': size === 's', + 'embeddableConsole--fixed': true, + 'embeddableConsole--showOnMobile': false, + }); + + return ( + + +
+ +

{landmarkHeading}

+
+ +
+ + {i18n.translate('console.embeddableConsole.title', { + defaultMessage: 'Console', + })} + +
+
+ {isConsoleOpen ? ( +
+ + +
+ ) : null} +
+ +

+ {i18n.translate('console.embeddableConsole.customScreenReaderAnnouncement', { + defaultMessage: + 'There is a new region landmark called {landmarkHeading} with page level controls at the end of the document.', + values: { landmarkHeading }, + })} +

+
+
+
+ ); +}; + +// Default Export is needed to lazy load this react component +// eslint-disable-next-line import/no-default-export +export default EmbeddableConsole; diff --git a/src/plugins/console/public/application/containers/embeddable/index.tsx b/src/plugins/console/public/application/containers/embeddable/index.tsx new file mode 100644 index 0000000000000..7ddf9f3355c94 --- /dev/null +++ b/src/plugins/console/public/application/containers/embeddable/index.tsx @@ -0,0 +1,26 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. + */ + +import React, { ReactElement, lazy, Suspense } from 'react'; +import { + EmbeddableConsoleProps, + EmbeddableConsoleDependencies, +} from '../../../types/embeddable_console'; + +const RemoteConsole = lazy(() => import('./embeddable_console')); + +export function renderEmbeddableConsole( + props: EmbeddableConsoleProps | undefined, + deps: EmbeddableConsoleDependencies +): ReactElement | null { + return ( + }> + + + ); +} diff --git a/src/plugins/console/public/application/containers/main/main.tsx b/src/plugins/console/public/application/containers/main/main.tsx index 8bbb5a986d6c2..11ff2e9b5146f 100644 --- a/src/plugins/console/public/application/containers/main/main.tsx +++ b/src/plugins/console/public/application/containers/main/main.tsx @@ -29,7 +29,11 @@ import { getTopNavConfig } from './get_top_nav'; import type { SenseEditor } from '../../models/sense_editor'; import { getResponseWithMostSevereStatusCode } from '../../../lib/utils'; -export function Main() { +export interface MainProps { + hideWelcome?: boolean; +} + +export function Main({ hideWelcome = false }: MainProps) { const { services: { storage }, } = useServicesContext(); @@ -42,7 +46,7 @@ export function Main() { } = useRequestReadContext(); const [showWelcome, setShowWelcomePanel] = useState( - () => storage.get('version_welcome_shown') !== '@@SENSE_REVISION' + () => storage.get('version_welcome_shown') !== '@@SENSE_REVISION' && !hideWelcome ); const [showingHistory, setShowHistory] = useState(false); diff --git a/src/plugins/console/public/application/index.tsx b/src/plugins/console/public/application/index.tsx index 92d875b9db2a9..ef5d2943f4d20 100644 --- a/src/plugins/console/public/application/index.tsx +++ b/src/plugins/console/public/application/index.tsx @@ -16,9 +16,9 @@ import { CoreTheme, DocLinksStart, } from '@kbn/core/public'; +import { KibanaThemeProvider } from '@kbn/react-kibana-context-theme'; import { UsageCollectionSetup } from '@kbn/usage-collection-plugin/public'; -import { KibanaThemeProvider } from '../shared_imports'; import { createStorage, createHistory, @@ -73,7 +73,7 @@ export function renderApp({ render( - + (); + if (isConsoleUiEnabled) { + return { + renderEmbeddableConsole: (props: EmbeddableConsoleProps) => { + const consoleDeps: EmbeddableConsoleDependencies = { + core, + usageCollection: deps.usageCollection, + }; + return renderEmbeddableConsole(props, consoleDeps); + }, + }; + } + return {}; + } } diff --git a/src/plugins/console/public/services/tracker.ts b/src/plugins/console/public/services/tracker.ts index 43675c4f9d8dd..e8dc4198d8fb1 100644 --- a/src/plugins/console/public/services/tracker.ts +++ b/src/plugins/console/public/services/tracker.ts @@ -7,12 +7,14 @@ */ import { METRIC_TYPE, UiCounterMetricType } from '@kbn/analytics'; -import { UsageCollectionSetup } from '@kbn/usage-collection-plugin/public'; +import { UsageCollectionSetup, UsageCollectionStart } from '@kbn/usage-collection-plugin/public'; import { MetricsTracker } from '../types'; const APP_TRACKER_NAME = 'console'; -export const createUsageTracker = (usageCollection?: UsageCollectionSetup): MetricsTracker => { +export const createUsageTracker = ( + usageCollection?: UsageCollectionSetup | UsageCollectionStart +): MetricsTracker => { const track = (type: UiCounterMetricType, name: string) => usageCollection?.reportUiCounter(APP_TRACKER_NAME, type, name); diff --git a/src/plugins/console/public/types/embeddable_console.ts b/src/plugins/console/public/types/embeddable_console.ts new file mode 100644 index 0000000000000..da0e3346a7bd2 --- /dev/null +++ b/src/plugins/console/public/types/embeddable_console.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 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 { CoreStart } from '@kbn/core/public'; +import type { UsageCollectionStart } from '@kbn/usage-collection-plugin/public'; + +/** + * EmbeddableConsoleProps are optional props used when rendering the embeddable developer console. + */ +export interface EmbeddableConsoleProps { + /** + * The default height of the content area. + */ + size?: 's' | 'm' | 'l'; +} + +export interface EmbeddableConsoleDependencies { + core: CoreStart; + usageCollection?: UsageCollectionStart; +} diff --git a/src/plugins/console/public/types/index.ts b/src/plugins/console/public/types/index.ts index 2a86e53e55b80..e384d81ef13db 100644 --- a/src/plugins/console/public/types/index.ts +++ b/src/plugins/console/public/types/index.ts @@ -11,5 +11,6 @@ export * from './core_editor'; export * from './token'; export * from './tokens_provider'; export * from './common'; +export * from './embeddable_console'; export type { ClientConfigType } from './config'; export type { ConsoleUILocatorParams } from './locator'; diff --git a/src/plugins/console/public/types/plugin_dependencies.ts b/src/plugins/console/public/types/plugin_dependencies.ts index 40d82a4df29ac..e4f65d44cb727 100644 --- a/src/plugins/console/public/types/plugin_dependencies.ts +++ b/src/plugins/console/public/types/plugin_dependencies.ts @@ -6,12 +6,14 @@ * Side Public License, v 1. */ -import { HomePublicPluginSetup } from '@kbn/home-plugin/public'; +import { ReactElement } from 'react'; +import { HomePublicPluginSetup, HomePublicPluginStart } from '@kbn/home-plugin/public'; import { DevToolsSetup } from '@kbn/dev-tools-plugin/public'; -import { UsageCollectionSetup } from '@kbn/usage-collection-plugin/public'; -import { SharePluginSetup, LocatorPublic } from '@kbn/share-plugin/public'; +import { UsageCollectionSetup, UsageCollectionStart } from '@kbn/usage-collection-plugin/public'; +import { SharePluginSetup, SharePluginStart, LocatorPublic } from '@kbn/share-plugin/public'; import { ConsoleUILocatorParams } from './locator'; +import { EmbeddableConsoleProps } from './embeddable_console'; export interface AppSetupUIPluginDependencies { home?: HomePublicPluginSetup; @@ -20,6 +22,29 @@ export interface AppSetupUIPluginDependencies { usageCollection?: UsageCollectionSetup; } +export interface AppStartUIPluginDependencies { + home?: HomePublicPluginStart; + share: SharePluginStart; + usageCollection?: UsageCollectionStart; +} + +/** + * Console plugin's setup service object + */ export interface ConsolePluginSetup { + /** + * Public locator for the console UI + */ locator?: LocatorPublic; } + +/** + * Console plugin's start service object + */ +export interface ConsolePluginStart { + /** + * renderEmbeddableConsole is available if the console UI is enabled. This function can be called to + * render an embeddable version of the developer console on the page. + */ + renderEmbeddableConsole?: (props?: EmbeddableConsoleProps) => ReactElement | null; +} diff --git a/src/plugins/console/tsconfig.json b/src/plugins/console/tsconfig.json index 4d1d508078eec..925cef9cbbbab 100644 --- a/src/plugins/console/tsconfig.json +++ b/src/plugins/console/tsconfig.json @@ -26,6 +26,7 @@ "@kbn/web-worker-stub", "@kbn/core-elasticsearch-server", "@kbn/core-http-browser-mocks", + "@kbn/react-kibana-context-theme", ], "exclude": [ "target/**/*", diff --git a/src/plugins/data/common/search/expressions/esql.ts b/src/plugins/data/common/search/expressions/esql.ts index f8b0bb04b3096..25ff77c8d8b6e 100644 --- a/src/plugins/data/common/search/expressions/esql.ts +++ b/src/plugins/data/common/search/expressions/esql.ts @@ -20,7 +20,7 @@ import { zipObject } from 'lodash'; import { Observable, defer, throwError } from 'rxjs'; import { catchError, map, switchMap, tap } from 'rxjs/operators'; import { buildEsQuery } from '@kbn/es-query'; -import type { ESQLSearchReponse } from '@kbn/es-types'; +import type { ESQLSearchReponse, ESQLSearchParams } from '@kbn/es-types'; import { getEsQueryConfig } from '../../es_query'; import { getTime } from '../../query'; import { ESQL_SEARCH_STRATEGY, IKibanaSearchRequest, ISearchGeneric, KibanaContext } from '..'; @@ -81,16 +81,6 @@ function extractTypeAndReason(attributes: any): { type?: string; reason?: string return {}; } -interface ESQLSearchParams { - // TODO: time_zone support was temporarily removed from ES|QL, - // we will need to add it back in once it is supported again. - // https://github.com/elastic/elasticsearch/pull/102767 - // time_zone?: string; - query: string; - filter?: unknown; - locale?: string; -} - export const getEsqlFn = ({ getStartDependencies }: EsqlFnArguments) => { const essql: EsqlExpressionFunctionDefinition = { name: 'esql', diff --git a/src/plugins/data/common/search/expressions/index.ts b/src/plugins/data/common/search/expressions/index.ts index 01e1f62193ad5..2a56777c7e457 100644 --- a/src/plugins/data/common/search/expressions/index.ts +++ b/src/plugins/data/common/search/expressions/index.ts @@ -48,3 +48,4 @@ export * from './es_raw_response'; export * from './eql_raw_response'; export * from './esdsl'; export * from './eql'; +export * from './esql'; diff --git a/src/plugins/data/server/search/strategies/esql_search/esql_search_strategy.ts b/src/plugins/data/server/search/strategies/esql_search/esql_search_strategy.ts index dbe5624675e83..1ad5b8fe0a5dd 100644 --- a/src/plugins/data/server/search/strategies/esql_search/esql_search_strategy.ts +++ b/src/plugins/data/server/search/strategies/esql_search/esql_search_strategy.ts @@ -12,8 +12,6 @@ import { getKbnSearchError, KbnSearchError } from '../../report_search_error'; import type { ISearchStrategy } from '../../types'; import { sanitizeRequestParams } from '../../sanitize_request_params'; -const ES_TIMEOUT_IN_MS = 120000; - export const esqlSearchStrategyProvider = ( logger: Logger, useInternalUser: boolean = false @@ -26,17 +24,6 @@ export const esqlSearchStrategyProvider = ( * @returns `Observable>` */ search: (request, { abortSignal, ...options }, { esClient, uiSettingsClient }) => { - const abortController = new AbortController(); - // We found out that there are cases where we are not aborting correctly - // For this reasons we want to manually cancel he abort signal after 2 mins - - abortSignal?.addEventListener('abort', () => { - abortController.abort(); - }); - - // Also abort after two mins - setTimeout(() => abortController.abort(), ES_TIMEOUT_IN_MS); - // Only default index pattern type is supported here. // See ese for other type support. if (request.indexType) { @@ -55,10 +42,11 @@ export const esqlSearchStrategyProvider = ( }, }, { - signal: abortController.signal, + signal: abortSignal, meta: true, // we don't want the ES client to retry (default value is 3) maxRetries: 0, + requestTimeout: options.transport?.requestTimeout, } ); return { diff --git a/src/plugins/discover/public/application/main/components/top_nav/get_top_nav_links.tsx b/src/plugins/discover/public/application/main/components/top_nav/get_top_nav_links.tsx index 0f471ae1a837d..bbe9096226fb7 100644 --- a/src/plugins/discover/public/application/main/components/top_nav/get_top_nav_links.tsx +++ b/src/plugins/discover/public/application/main/components/top_nav/get_top_nav_links.tsx @@ -122,7 +122,7 @@ export const getTopNavLinks = ({ run: async (anchorElement: HTMLElement) => { if (!services.share) return; const savedSearch = state.savedSearchState.getState(); - const sharingData = await getSharingData( + const searchSourceSharingData = await getSharingData( savedSearch.searchSource, state.appState.getState(), services, @@ -183,7 +183,9 @@ export const getTopNavLinks = ({ objectId: savedSearch.id, objectType: 'search', sharingData: { - ...sharingData, + isTextBased, + locatorParams: [{ id: locator.id, params }], + ...searchSourceSharingData, // CSV reports can be generated without a saved search so we provide a fallback title title: savedSearch.title || diff --git a/src/plugins/discover/server/index.ts b/src/plugins/discover/server/index.ts index 4ec924a258590..da167a584bead 100644 --- a/src/plugins/discover/server/index.ts +++ b/src/plugins/discover/server/index.ts @@ -8,7 +8,13 @@ import { KibanaRequest, PluginInitializerContext } from '@kbn/core/server'; import { DataPluginStart } from '@kbn/data-plugin/server/plugin'; -import { ColumnsFromLocatorFn, SearchSourceFromLocatorFn, TitleFromLocatorFn } from './locator'; +import { + ColumnsFromLocatorFn, + SearchSourceFromLocatorFn, + TitleFromLocatorFn, + QueryFromLocatorFn, + FiltersFromLocatorFn, +} from './locator'; export interface DiscoverServerPluginStartDeps { data: DataPluginStart; @@ -18,6 +24,8 @@ export interface LocatorServiceScopedClient { columnsFromLocator: ColumnsFromLocatorFn; searchSourceFromLocator: SearchSourceFromLocatorFn; titleFromLocator: TitleFromLocatorFn; + queryFromLocator: QueryFromLocatorFn; + filtersFromLocator: FiltersFromLocatorFn; } export interface DiscoverServerPluginLocatorService { diff --git a/src/plugins/discover/server/locator/filters_from_locator.ts b/src/plugins/discover/server/locator/filters_from_locator.ts new file mode 100644 index 0000000000000..0e79fceab0226 --- /dev/null +++ b/src/plugins/discover/server/locator/filters_from_locator.ts @@ -0,0 +1,55 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0 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 { Filter } from '@kbn/es-query'; +import { LocatorServicesDeps } from '.'; +import { DiscoverAppLocatorParams } from '../../common'; + +/** + * @internal + */ +export const filtersFromLocatorFactory = (services: LocatorServicesDeps) => { + /** + * @public + */ + const filtersFromLocator = async (params: DiscoverAppLocatorParams): Promise => { + const filters: Filter[] = []; + + if (params.timeRange && params.dataViewSpec?.timeFieldName) { + const timeRange = params.timeRange; + const timeFieldName = params.dataViewSpec.timeFieldName; + + if (timeRange) { + filters.push({ + meta: {}, + query: { + range: { + [timeFieldName]: { + format: 'strict_date_optional_time', + gte: timeRange.from, + lte: timeRange.to, + }, + }, + }, + }); + } + } + + if (params.filters) { + filters.push(...params.filters); + } + + return filters; + + // TODO: support extracting filters from saved search + }; + + return filtersFromLocator; +}; + +export type FiltersFromLocatorFn = ReturnType; diff --git a/src/plugins/discover/server/locator/index.ts b/src/plugins/discover/server/locator/index.ts index c1bbe2ded04af..6320815da827b 100644 --- a/src/plugins/discover/server/locator/index.ts +++ b/src/plugins/discover/server/locator/index.ts @@ -14,6 +14,8 @@ import { getScopedClient } from './service'; export type { ColumnsFromLocatorFn } from './columns_from_locator'; export type { SearchSourceFromLocatorFn } from './searchsource_from_locator'; export type { TitleFromLocatorFn } from './title_from_locator'; +export type { QueryFromLocatorFn } from './query_from_locator'; +export type { FiltersFromLocatorFn } from './filters_from_locator'; /** * @internal diff --git a/src/plugins/discover/server/locator/mocks.ts b/src/plugins/discover/server/locator/mocks.ts index 686b161e5df66..fadf7fdb623f0 100644 --- a/src/plugins/discover/server/locator/mocks.ts +++ b/src/plugins/discover/server/locator/mocks.ts @@ -7,7 +7,8 @@ */ import { KibanaRequest } from '@kbn/core/server'; -import { SearchSource } from '@kbn/data-plugin/common'; +import { Query, SearchSource } from '@kbn/data-plugin/common'; +import { AggregateQuery, Filter } from '@kbn/es-query'; import { createSearchSourceMock } from '@kbn/data-plugin/common/search/search_source/mocks'; import { DiscoverServerPluginLocatorService, LocatorServiceScopedClient } from '..'; import { DiscoverAppLocatorParams } from '../../common'; @@ -27,6 +28,14 @@ export const createLocatorServiceMock = (): DiscoverServerPluginLocatorService = .fn, [DiscoverAppLocatorParams]>() .mockResolvedValue('mock search title'); + const queryFromLocatorMock = jest + .fn, [DiscoverAppLocatorParams]>() + .mockResolvedValue(undefined); + + const filtersFromLocatorMock = jest + .fn, [DiscoverAppLocatorParams]>() + .mockResolvedValue([]); + return { asScopedClient: jest .fn, [req: KibanaRequest]>() @@ -35,6 +44,8 @@ export const createLocatorServiceMock = (): DiscoverServerPluginLocatorService = columnsFromLocator: columnsFromLocatorMock, searchSourceFromLocator: searchSourceFromLocatorMock, titleFromLocator: titleFromLocatorMock, + queryFromLocator: queryFromLocatorMock, + filtersFromLocator: filtersFromLocatorMock, } as LocatorServiceScopedClient); }), }; diff --git a/src/plugins/discover/server/locator/query_from_locator.ts b/src/plugins/discover/server/locator/query_from_locator.ts new file mode 100644 index 0000000000000..6d3e009463558 --- /dev/null +++ b/src/plugins/discover/server/locator/query_from_locator.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 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 { AggregateQuery, Query } from '@kbn/es-query'; +import { LocatorServicesDeps } from '.'; +import { DiscoverAppLocatorParams } from '../../common'; + +/** + * @internal + */ +export const queryFromLocatorFactory = (services: LocatorServicesDeps) => { + /** + * @public + */ + const queryFromLocator = async ( + params: DiscoverAppLocatorParams + ): Promise => { + return params.query; + + // TODO: support query from saved search + }; + + return queryFromLocator; +}; + +export type QueryFromLocatorFn = ReturnType; diff --git a/src/plugins/discover/server/locator/service.ts b/src/plugins/discover/server/locator/service.ts index 90e8b5a850a0b..a240ac7417bf3 100644 --- a/src/plugins/discover/server/locator/service.ts +++ b/src/plugins/discover/server/locator/service.ts @@ -11,6 +11,8 @@ import { DiscoverServerPluginLocatorService, DiscoverServerPluginStartDeps } fro import { columnsFromLocatorFactory } from './columns_from_locator'; import { searchSourceFromLocatorFactory } from './searchsource_from_locator'; import { titleFromLocatorFactory } from './title_from_locator'; +import { queryFromLocatorFactory } from './query_from_locator'; +import { filtersFromLocatorFactory } from './filters_from_locator'; export const getScopedClient = ( core: CoreStart, @@ -27,6 +29,8 @@ export const getScopedClient = ( columnsFromLocator: columnsFromLocatorFactory(services), searchSourceFromLocator: searchSourceFromLocatorFactory(services), titleFromLocator: titleFromLocatorFactory(services), + queryFromLocator: queryFromLocatorFactory(services), + filtersFromLocator: filtersFromLocatorFactory(services), }; }, }; diff --git a/test/functional/apps/management/data_views/_data_view_create_delete.ts b/test/functional/apps/management/data_views/_data_view_create_delete.ts index e3bc2240887ad..4c8873f59b348 100644 --- a/test/functional/apps/management/data_views/_data_view_create_delete.ts +++ b/test/functional/apps/management/data_views/_data_view_create_delete.ts @@ -149,7 +149,8 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) { }); }); - describe('edit index pattern', () => { + // FLAKY: https://github.com/elastic/kibana/issues/174066 + describe.skip('edit index pattern', () => { it('on edit click', async () => { await PageObjects.settings.editIndexPattern('logstash-*', '@timestamp', 'Logstash Star'); diff --git a/x-pack/examples/screenshotting_example/server/plugin.ts b/x-pack/examples/screenshotting_example/server/plugin.ts index 16a766558ff3f..ff21ce947140b 100644 --- a/x-pack/examples/screenshotting_example/server/plugin.ts +++ b/x-pack/examples/screenshotting_example/server/plugin.ts @@ -5,10 +5,10 @@ * 2.0. */ -import { lastValueFrom } from 'rxjs'; import { schema } from '@kbn/config-schema'; import type { CoreSetup, Plugin } from '@kbn/core/server'; import type { ScreenshottingStart } from '@kbn/screenshotting-plugin/server'; +import { lastValueFrom } from 'rxjs'; import { API_ENDPOINT, ScreenshottingExpressionResponse } from '../common'; interface StartDeps { @@ -28,11 +28,12 @@ export class ScreenshottingExamplePlugin implements Plugin { }), }, }, - async (context, request, response) => { + async (_context, request, response) => { const [, { screenshotting }] = await getStartServices(); const { metrics, results } = await lastValueFrom( screenshotting.getScreenshots({ request, + taskInstanceFields: { startedAt: null, retryAt: null }, expression: request.query.expression, }) ); diff --git a/x-pack/packages/kbn-infra-forge/src/data_sources/fake_hosts/index.ts b/x-pack/packages/kbn-infra-forge/src/data_sources/fake_hosts/index.ts index e134cc21a0796..7e0e4546033e2 100644 --- a/x-pack/packages/kbn-infra-forge/src/data_sources/fake_hosts/index.ts +++ b/x-pack/packages/kbn-infra-forge/src/data_sources/fake_hosts/index.ts @@ -21,6 +21,19 @@ const generateNetworkData = lodash.memoize(() => { return networkDataCount; }); +let currentStatic = 0; + +const staticBetween = (end = 1, step = 0.1) => { + { + if (currentStatic + step > end) { + currentStatic = 0; + } else { + currentStatic = currentStatic + step; + } + return currentStatic; + } +}; + export const generateEvent = (index: number, timestamp: Moment, interval: number) => { const groupIndex = createGroupIndex(index); return [ @@ -142,13 +155,14 @@ export const generateEvent = (index: number, timestamp: Moment, interval: number }, }, user: { - pct: randomBetween(1, 4), + pct: staticBetween(1, 1), }, system: { pct: randomBetween(1, 4), }, }, }, + tags: [`${randomBetween(1, 4, 1)}`], }, ]; }; diff --git a/x-pack/plugins/alerting/server/integration_tests/__snapshots__/alert_as_data_fields.test.ts.snap b/x-pack/plugins/alerting/server/integration_tests/__snapshots__/alert_as_data_fields.test.ts.snap index c23428b0f15a4..06d2cd5738fcf 100644 --- a/x-pack/plugins/alerting/server/integration_tests/__snapshots__/alert_as_data_fields.test.ts.snap +++ b/x-pack/plugins/alerting/server/integration_tests/__snapshots__/alert_as_data_fields.test.ts.snap @@ -9553,7 +9553,11 @@ Object { } `; -exports[`Alert as data fields checks detect AAD fields changes for: xpack.uptime.alerts.tls 1`] = `undefined`; +exports[`Alert as data fields checks detect AAD fields changes for: xpack.uptime.alerts.tls 1`] = ` +Object { + "fieldMap": Object {}, +} +`; exports[`Alert as data fields checks detect AAD fields changes for: xpack.uptime.alerts.tlsCertificate 1`] = ` Object { diff --git a/x-pack/plugins/cases/public/components/case_settings/sync_alerts_switch.test.tsx b/x-pack/plugins/cases/public/components/case_settings/sync_alerts_switch.test.tsx index f1e4bea2e57ee..018f33d2f35bc 100644 --- a/x-pack/plugins/cases/public/components/case_settings/sync_alerts_switch.test.tsx +++ b/x-pack/plugins/cases/public/components/case_settings/sync_alerts_switch.test.tsx @@ -11,7 +11,8 @@ import { waitFor } from '@testing-library/react'; import { SyncAlertsSwitch } from './sync_alerts_switch'; -describe('SyncAlertsSwitch', () => { +// FLAKY: https://github.com/elastic/kibana/issues/174259 +describe.skip('SyncAlertsSwitch', () => { it('it renders', async () => { const wrapper = mount(); diff --git a/x-pack/plugins/cases/public/components/case_view/components/case_view_alerts.test.tsx b/x-pack/plugins/cases/public/components/case_view/components/case_view_alerts.test.tsx index 165f974e8be2e..1ac3541c59cb8 100644 --- a/x-pack/plugins/cases/public/components/case_view/components/case_view_alerts.test.tsx +++ b/x-pack/plugins/cases/public/components/case_view/components/case_view_alerts.test.tsx @@ -23,7 +23,8 @@ const caseData: CaseUI = { comments: [...basicCase.comments, alertCommentWithIndices], }; -describe('CaseUI View Page activity tab', () => { +// FLAKY: https://github.com/elastic/kibana/issues/174819 +describe.skip('CaseUI View Page activity tab', () => { const getAlertsStateTableMock = jest.fn(); let appMockRender: AppMockRenderer; diff --git a/x-pack/plugins/cases/public/components/description/index.test.tsx b/x-pack/plugins/cases/public/components/description/index.test.tsx index 3c2f32437f4a0..ed03dc453737e 100644 --- a/x-pack/plugins/cases/public/components/description/index.test.tsx +++ b/x-pack/plugins/cases/public/components/description/index.test.tsx @@ -13,7 +13,7 @@ import { basicCase } from '../../containers/mock'; import { Description } from '.'; import type { AppMockRenderer } from '../../common/mock'; -import { createAppMockRenderer, noUpdateCasesPermissions, TestProviders } from '../../common/mock'; +import { createAppMockRenderer, noUpdateCasesPermissions } from '../../common/mock'; import { MAX_DESCRIPTION_LENGTH } from '../../../common/constants'; jest.mock('../../common/lib/kibana'); @@ -27,13 +27,7 @@ const defaultProps = { isLoadingDescription: false, }; -// FLAKY: https://github.com/elastic/kibana/issues/174321 -// FLAKY: https://github.com/elastic/kibana/issues/174322 -// FLAKY: https://github.com/elastic/kibana/issues/174323 -// FLAKY: https://github.com/elastic/kibana/issues/164045 -// FLAKY: https://github.com/elastic/kibana/issues/164048 -// FLAKY: https://github.com/elastic/kibana/issues/164049 -describe.skip('Description', () => { +describe('Description', () => { const onUpdateField = jest.fn(); let appMockRender: AppMockRenderer; @@ -45,48 +39,42 @@ describe.skip('Description', () => { it('renders description correctly', async () => { appMockRender.render(); - expect(screen.getByTestId('description')).toBeInTheDocument(); - expect(screen.getByText('Security banana Issue')).toBeInTheDocument(); + expect(await screen.findByTestId('description')).toBeInTheDocument(); + expect(await screen.findByText('Security banana Issue')).toBeInTheDocument(); }); it('hides and shows the description correctly when collapse button clicked', async () => { - const res = appMockRender.render( - - ); + appMockRender.render(); - userEvent.click(res.getByTestId('description-collapse-icon')); + userEvent.click(await screen.findByTestId('description-collapse-icon')); await waitFor(() => { expect(screen.queryByText('Security banana Issue')).not.toBeInTheDocument(); }); - userEvent.click(res.getByTestId('description-collapse-icon')); + userEvent.click(await screen.findByTestId('description-collapse-icon')); expect(await screen.findByText('Security banana Issue')).toBeInTheDocument(); }); it('shows textarea on edit click', async () => { - const res = appMockRender.render( - - ); + appMockRender.render(); - userEvent.click(res.getByTestId('description-edit-icon')); + userEvent.click(await screen.findByTestId('description-edit-icon')); expect(await screen.findByTestId('euiMarkdownEditorTextArea')).toBeInTheDocument(); }); it('edits the description correctly when saved', async () => { const editedDescription = 'New updated description'; - const res = appMockRender.render( - - ); + appMockRender.render(); - userEvent.click(res.getByTestId('description-edit-icon')); + userEvent.click(await screen.findByTestId('description-edit-icon')); - userEvent.clear(screen.getByTestId('euiMarkdownEditorTextArea')); - userEvent.paste(screen.getByTestId('euiMarkdownEditorTextArea'), editedDescription); + userEvent.clear(await screen.findByTestId('euiMarkdownEditorTextArea')); + userEvent.paste(await screen.findByTestId('euiMarkdownEditorTextArea'), editedDescription); - userEvent.click(screen.getByTestId('editable-save-markdown')); + userEvent.click(await screen.findByTestId('editable-save-markdown')); await waitFor(() => { expect(onUpdateField).toHaveBeenCalledWith({ @@ -98,37 +86,33 @@ describe.skip('Description', () => { it('keeps the old description correctly when canceled', async () => { const editedDescription = 'New updated description'; - const res = appMockRender.render( - - ); + appMockRender.render(); - userEvent.click(res.getByTestId('description-edit-icon')); + userEvent.click(await screen.findByTestId('description-edit-icon')); - userEvent.clear(screen.getByTestId('euiMarkdownEditorTextArea')); - userEvent.paste(screen.getByTestId('euiMarkdownEditorTextArea'), editedDescription); + userEvent.clear(await screen.findByTestId('euiMarkdownEditorTextArea')); + userEvent.paste(await screen.findByTestId('euiMarkdownEditorTextArea'), editedDescription); - expect(screen.getByText(editedDescription)).toBeInTheDocument(); + expect(await screen.findByText(editedDescription)).toBeInTheDocument(); - userEvent.click(screen.getByTestId('editable-cancel-markdown')); + userEvent.click(await screen.findByTestId('editable-cancel-markdown')); await waitFor(() => { expect(onUpdateField).not.toHaveBeenCalled(); }); - expect(screen.getByText('Security banana Issue')).toBeInTheDocument(); + expect(await screen.findByText('Security banana Issue')).toBeInTheDocument(); }); it('shows an error when description is too long', async () => { const longDescription = 'a'.repeat(MAX_DESCRIPTION_LENGTH + 1); - const res = appMockRender.render( - - ); + appMockRender.render(); - userEvent.click(res.getByTestId('description-edit-icon')); + userEvent.click(await screen.findByTestId('description-edit-icon')); - userEvent.clear(screen.getByTestId('euiMarkdownEditorTextArea')); - userEvent.paste(screen.getByTestId('euiMarkdownEditorTextArea'), longDescription); + userEvent.clear(await screen.findByTestId('euiMarkdownEditorTextArea')); + userEvent.paste(await screen.findByTestId('euiMarkdownEditorTextArea'), longDescription); expect( await screen.findByText( @@ -139,14 +123,11 @@ describe.skip('Description', () => { expect(await screen.findByTestId('editable-save-markdown')).toHaveAttribute('disabled'); }); - it('should hide the edit button when the user does not have update permissions', () => { - appMockRender.render( - - - - ); + it('should hide the edit button when the user does not have update permissions', async () => { + appMockRender = createAppMockRenderer({ permissions: noUpdateCasesPermissions() }); + appMockRender.render(); - expect(screen.getByText('Security banana Issue')).toBeInTheDocument(); + expect(await screen.findByText('Security banana Issue')).toBeInTheDocument(); expect(screen.queryByTestId('description-edit-icon')).not.toBeInTheDocument(); }); diff --git a/x-pack/plugins/infra/public/pages/logs/log_entry_categories/sections/top_categories/category_example_message.tsx b/x-pack/plugins/infra/public/pages/logs/log_entry_categories/sections/top_categories/category_example_message.tsx index babd0e9a1ae3b..fda6dad009609 100644 --- a/x-pack/plugins/infra/public/pages/logs/log_entry_categories/sections/top_categories/category_example_message.tsx +++ b/x-pack/plugins/infra/public/pages/logs/log_entry_categories/sections/top_categories/category_example_message.tsx @@ -52,13 +52,15 @@ export const CategoryExampleMessage: React.FunctionComponent<{ const openMenu = useCallback(() => setIsMenuOpen(true), []); const closeMenu = useCallback(() => setIsMenuOpen(false), []); + const time = moment(timestamp).toISOString(); + const viewInStreamLinkProps = useLinkProps({ app: 'logs', pathname: 'stream', search: { logPosition: encode({ end: moment(timeRange.endTime).format('YYYY-MM-DDTHH:mm:ss.SSSZ'), - position: { tiebreaker, time: moment(timestamp).toISOString() }, + position: { tiebreaker, time }, start: moment(timeRange.startTime).format('YYYY-MM-DDTHH:mm:ss.SSSZ'), streamLive: false, }), @@ -79,7 +81,7 @@ export const CategoryExampleMessage: React.FunctionComponent<{ onMouseLeave={setNotHovered} > - + = ({ // handle special cases for the dataset value const humanFriendlyDataset = getFriendlyNameForPartitionId(dataset); + const time = moment(timestamp).toISOString(); + const viewInStreamLinkProps = useLinkProps({ app: 'logs', pathname: 'stream', search: { logPosition: encode({ end: moment(timeRange.endTime).format('YYYY-MM-DDTHH:mm:ss.SSSZ'), - position: { tiebreaker, time: moment(timestamp).toISOString() }, + position: { tiebreaker, time }, start: moment(timeRange.startTime).format('YYYY-MM-DDTHH:mm:ss.SSSZ'), streamLive: false, }), @@ -182,7 +184,7 @@ export const LogEntryExampleMessage: React.FunctionComponent = ({ onMouseLeave={setItemIsNotHovered} > - + - Message + {i18n.translate( + 'xpack.infra.logEntryExampleMessageHeaders.logColumnHeader.messageLabel', + { defaultMessage: 'Message' } + )} ); } else if (isFieldLogColumnConfiguration(columnConfiguration)) { diff --git a/x-pack/plugins/logs_shared/common/dynamic.tsx b/x-pack/plugins/logs_shared/common/dynamic.tsx index 85ca9308d838e..f0e6bc216e5ff 100644 --- a/x-pack/plugins/logs_shared/common/dynamic.tsx +++ b/x-pack/plugins/logs_shared/common/dynamic.tsx @@ -5,10 +5,10 @@ * 2.0. */ -import React, { lazy, Suspense } from 'react'; +import React, { ComponentProps, ComponentType, lazy, Suspense } from 'react'; -type LoadableComponent = () => Promise<{ - default: React.ComponentType; +type LoadableComponent> = () => Promise<{ + default: TComponent; }>; interface DynamicOptions { @@ -21,10 +21,13 @@ interface DynamicOptions { * @example * const Header = dynamic(() => import('./components/header')) */ -export function dynamic(loader: LoadableComponent, options: DynamicOptions = {}) { +export function dynamic>( + loader: LoadableComponent, + options: DynamicOptions = {} +) { const Component = lazy(loader); - return (props: any) => ( + return (props: ComponentProps) => ( diff --git a/x-pack/plugins/logs_shared/public/components/log_ai_assistant/index.tsx b/x-pack/plugins/logs_shared/public/components/log_ai_assistant/index.tsx index 78b696388e165..e0ea649d1f763 100644 --- a/x-pack/plugins/logs_shared/public/components/log_ai_assistant/index.tsx +++ b/x-pack/plugins/logs_shared/public/components/log_ai_assistant/index.tsx @@ -4,18 +4,16 @@ * 2.0; you may not use this file except in compliance with the Elastic License * 2.0. */ -import { ObservabilityAIAssistantPluginStart } from '@kbn/observability-ai-assistant-plugin/public'; import React from 'react'; import { dynamic } from '../../../common/dynamic'; +import { LogAIAssistantProps } from './log_ai_assistant'; export const LogAIAssistant = dynamic(() => import('./log_ai_assistant')); export function createLogAIAssistant({ observabilityAIAssistant, -}: { - observabilityAIAssistant: ObservabilityAIAssistantPluginStart; -}) { - return ({ ...props }) => ( +}: Pick) { + return (props: Omit) => ( ); } diff --git a/x-pack/plugins/logs_shared/public/components/logging/log_text_stream/log_entry_context_menu.tsx b/x-pack/plugins/logs_shared/public/components/logging/log_text_stream/log_entry_context_menu.tsx index 6abc90ebf153e..34902fe210122 100644 --- a/x-pack/plugins/logs_shared/public/components/logging/log_text_stream/log_entry_context_menu.tsx +++ b/x-pack/plugins/logs_shared/public/components/logging/log_text_stream/log_entry_context_menu.tsx @@ -19,13 +19,13 @@ import { import { euiStyled } from '@kbn/kibana-react-plugin/common'; import { LogEntryColumnContent } from './log_entry_column'; -interface LogEntryContextMenuItem { +export interface LogEntryContextMenuItem { label: string; onClick: (e: React.MouseEvent) => void; href?: string; } -interface LogEntryContextMenuProps { +export interface LogEntryContextMenuProps { 'aria-label'?: string; isOpen: boolean; onOpen: () => void; diff --git a/x-pack/plugins/logs_shared/public/components/logging/log_text_stream/log_entry_field_column.tsx b/x-pack/plugins/logs_shared/public/components/logging/log_text_stream/log_entry_field_column.tsx index 863a54471e579..1332683426a85 100644 --- a/x-pack/plugins/logs_shared/public/components/logging/log_text_stream/log_entry_field_column.tsx +++ b/x-pack/plugins/logs_shared/public/components/logging/log_text_stream/log_entry_field_column.tsx @@ -19,7 +19,7 @@ import { WrapMode, } from './text_styles'; -interface LogEntryFieldColumnProps { +export interface LogEntryFieldColumnProps { columnValue: LogColumn; highlights: LogColumn[]; isActiveHighlight: boolean; diff --git a/x-pack/plugins/logs_shared/public/components/logging/log_text_stream/log_entry_message_column.tsx b/x-pack/plugins/logs_shared/public/components/logging/log_text_stream/log_entry_message_column.tsx index 8f419144f7283..0f840aeb1e4eb 100644 --- a/x-pack/plugins/logs_shared/public/components/logging/log_text_stream/log_entry_message_column.tsx +++ b/x-pack/plugins/logs_shared/public/components/logging/log_text_stream/log_entry_message_column.tsx @@ -24,7 +24,7 @@ import { WrapMode, } from './text_styles'; -interface LogEntryMessageColumnProps { +export interface LogEntryMessageColumnProps { columnValue: LogColumn; highlights: LogColumn[]; isActiveHighlight: boolean; diff --git a/x-pack/plugins/logs_shared/public/components/logging/log_text_stream/log_entry_timestamp_column.tsx b/x-pack/plugins/logs_shared/public/components/logging/log_text_stream/log_entry_timestamp_column.tsx index 0b145503ddf54..0087c83b4fefd 100644 --- a/x-pack/plugins/logs_shared/public/components/logging/log_text_stream/log_entry_timestamp_column.tsx +++ b/x-pack/plugins/logs_shared/public/components/logging/log_text_stream/log_entry_timestamp_column.tsx @@ -11,7 +11,7 @@ import { euiStyled } from '@kbn/kibana-react-plugin/common'; import { TimeFormat, useFormattedTime } from '../../formatted_time'; import { LogEntryColumnContent } from './log_entry_column'; -interface LogEntryTimestampColumnProps { +export interface LogEntryTimestampColumnProps { format?: TimeFormat; time: string; render?: (time: string) => React.ReactNode; diff --git a/x-pack/plugins/logs_shared/public/components/logging/log_text_stream/scrollable_log_text_stream_view.tsx b/x-pack/plugins/logs_shared/public/components/logging/log_text_stream/scrollable_log_text_stream_view.tsx index feae9b8b21d8a..1f97abcda9b15 100644 --- a/x-pack/plugins/logs_shared/public/components/logging/log_text_stream/scrollable_log_text_stream_view.tsx +++ b/x-pack/plugins/logs_shared/public/components/logging/log_text_stream/scrollable_log_text_stream_view.tsx @@ -28,7 +28,7 @@ import { LogDateRow } from './log_date_row'; import { LogEntry } from '../../../../common/log_entry'; import { LogColumnRenderConfiguration } from '../../../utils/log_column_render_configuration'; -interface ScrollableLogTextStreamViewProps { +export interface ScrollableLogTextStreamViewProps { columnConfigurations: LogColumnRenderConfiguration[]; items: StreamItem[]; scale: TextScale; diff --git a/x-pack/plugins/ml/common/types/capabilities.ts b/x-pack/plugins/ml/common/types/capabilities.ts index c6bf7e9e1c7e5..5151e41814ff9 100644 --- a/x-pack/plugins/ml/common/types/capabilities.ts +++ b/x-pack/plugins/ml/common/types/capabilities.ts @@ -130,7 +130,7 @@ export function getPluginPrivileges() { app: [PLUGIN_ID, 'kibana'], excludeFromBasePrivileges: false, management: { - insightsAndAlerting: ['jobsListLink'], + insightsAndAlerting: ['jobsListLink', 'triggersActions'], }, catalogue: [PLUGIN_ID], }; @@ -161,7 +161,7 @@ export function getPluginPrivileges() { ...[...featureMlCapabilitiesKeys, ...userMlCapabilitiesKeys].map((k) => `ml:${k}`), ], catalogue: [PLUGIN_ID], - management: { insightsAndAlerting: [] }, + management: { insightsAndAlerting: ['triggersActions'] }, ui: [...featureMlCapabilitiesKeys, ...userMlCapabilitiesKeys], savedObject: { all: [], diff --git a/x-pack/plugins/ml/server/plugin.ts b/x-pack/plugins/ml/server/plugin.ts index c268cd3383211..3d9ef2dd747a8 100644 --- a/x-pack/plugins/ml/server/plugin.ts +++ b/x-pack/plugins/ml/server/plugin.ts @@ -132,7 +132,7 @@ export class MlServerPlugin app: [PLUGIN_ID, 'kibana'], catalogue: [PLUGIN_ID, `${PLUGIN_ID}_file_data_visualizer`], management: { - insightsAndAlerting: ['jobsListLink'], + insightsAndAlerting: ['jobsListLink', 'triggersActions'], }, alerting: Object.values(ML_ALERT_TYPES), privileges: { diff --git a/x-pack/plugins/observability_ai_assistant/public/components/chat/chat_body.test.tsx b/x-pack/plugins/observability_ai_assistant/public/components/chat/chat_body.test.tsx new file mode 100644 index 0000000000000..23e1e61e16dc7 --- /dev/null +++ b/x-pack/plugins/observability_ai_assistant/public/components/chat/chat_body.test.tsx @@ -0,0 +1,148 @@ +/* + * 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 Message } from '../../../common/types'; +import { reverseToLastUserMessage } from './chat_body'; + +describe('', () => { + describe('reverseToLastUserMessage', () => { + const firstUserMessage = { + message: { + role: 'user', + content: 'Give me a list of my APM services', + }, + }; + const firstUserMessageIndex = 1; + + const secondUserMessage = { + message: { + role: 'user', + content: 'Can you tell me about the synth-go-0 service', + }, + }; + const secondUserMessageIndex = 7; + + const messages = [ + { + message: { + role: 'system', + content: "You're the best around", + }, + }, + firstUserMessage, + { + message: { + role: 'assistant', + function_call: { + name: 'recall', + arguments: '{"queries":[],"contexts":[]}', + trigger: 'assistant', + }, + content: '', + }, + }, + { + message: { + role: 'user', + name: 'recall', + content: '[]', + }, + }, + { + message: { + role: 'assistant', + function_call: { + name: 'get_apm_services_list', + arguments: '{\n "start": "now-1h",\n "end": "now"\n}', + trigger: 'assistant', + }, + content: '', + }, + }, + { + message: { + role: 'user', + name: 'get_apm_services_list', + content: '[{"service.name":"synth-go-0"}]', + }, + }, + { + message: { + role: 'assistant', + function_call: { + name: '', + arguments: '', + trigger: 'assistant', + }, + content: 'Here is a list of your APM services:\n\n1. synth-go-0\n', + }, + }, + secondUserMessage, + { + message: { + role: 'assistant', + function_call: { + name: 'recall', + arguments: '{"queries":[],"contexts":[]}', + trigger: 'assistant', + }, + content: '', + }, + }, + { + message: { + role: 'user', + name: 'recall', + content: '[]', + }, + }, + { + message: { + role: 'assistant', + function_call: { + name: 'get_apm_service_summary', + arguments: + '{\n "service.name": "synth-go-0",\n "start": "now-1h",\n "end": "now"\n}', + trigger: 'assistant', + }, + content: '', + }, + }, + { + message: { + role: 'user', + name: 'get_apm_service_summary', + content: '{"service.name":"synth-go-0"}', + }, + }, + { + message: { + role: 'assistant', + function_call: { + name: '', + arguments: '', + trigger: 'assistant', + }, + content: 'The service named "synth-go-0" is really neat.', + }, + }, + ] as unknown as Message[]; + + it('goes back to the last written user message when regenerating from the end of the conversation', () => { + const nextMessages = reverseToLastUserMessage(messages, messages.at(-1)!); + expect(nextMessages).toEqual(messages.slice(0, secondUserMessageIndex + 1)); + }); + + it('goes back to the last written user message when regenerating from the middle of the conversation', () => { + const nextMessages = reverseToLastUserMessage( + messages, + messages.at(secondUserMessageIndex - 1)! + ); + expect(nextMessages).toEqual(messages.slice(0, firstUserMessageIndex + 1)); + }); + }); +}); diff --git a/x-pack/plugins/observability_ai_assistant/public/components/chat/chat_body.tsx b/x-pack/plugins/observability_ai_assistant/public/components/chat/chat_body.tsx index 5b7e6b509e69f..15cd44119ce28 100644 --- a/x-pack/plugins/observability_ai_assistant/public/components/chat/chat_body.tsx +++ b/x-pack/plugins/observability_ai_assistant/public/components/chat/chat_body.tsx @@ -20,6 +20,7 @@ import { import type { AuthenticatedUser } from '@kbn/security-plugin/common'; import { euiThemeVars } from '@kbn/ui-theme'; import { i18n } from '@kbn/i18n'; +import { findLastIndex } from 'lodash'; import { ChatState } from '../../hooks/use_chat'; import { useConversation } from '../../hooks/use_conversation'; import { useLicense } from '../../hooks/use_license'; @@ -263,8 +264,7 @@ export function ChatBody({ }} onFeedback={handleFeedback} onRegenerate={(message) => { - const indexOf = messages.indexOf(message); - next(messages.slice(0, indexOf)); + next(reverseToLastUserMessage(messages, message)); }} onSendTelemetry={(eventWithPayload) => sendEvent(chatService.analytics, eventWithPayload) @@ -410,3 +410,19 @@ export function ChatBody({ ); } + +// Exported for testing only +export function reverseToLastUserMessage(messages: Message[], message: Message) { + // Drop messages after and including the one marked for regeneration + const indexOf = messages.indexOf(message); + const previousMessages = messages.slice(0, indexOf); + + // Go back to the last written user message to fully regenerate function calls + const lastUserMessageIndex = findLastIndex( + previousMessages, + (aMessage: Message) => aMessage.message.role === 'user' && !aMessage.message.name + ); + const nextMessages = previousMessages.slice(0, lastUserMessageIndex + 1); + + return nextMessages; +} diff --git a/x-pack/plugins/profiling/public/components/topn_functions/mock/top_n_functions.ts b/x-pack/plugins/profiling/public/components/topn_functions/mock/top_n_functions.ts index b76c236e975c8..e58e72fbe9447 100644 --- a/x-pack/plugins/profiling/public/components/topn_functions/mock/top_n_functions.ts +++ b/x-pack/plugins/profiling/public/components/topn_functions/mock/top_n_functions.ts @@ -20,16 +20,8 @@ export const data = { AddressOrLine: 11644932, FunctionName: '_raw_spin_unlock_irq', FunctionOffset: 0, - SourceID: '', SourceLine: 0, ExeFileName: 'vmlinux', - CommitHash: '', - SourceCodeURL: '', - SourceFilename: '', - SourcePackageHash: '', - SourcePackageURL: '', - SamplingRate: 1, - FunctionSourceLine: 0, }, CountExclusive: 1535, CountInclusive: 1550, @@ -45,16 +37,8 @@ export const data = { AddressOrLine: 11606326, FunctionName: 'syscall_enter_from_user_mode', FunctionOffset: 0, - SourceID: '', SourceLine: 0, ExeFileName: 'vmlinux', - CommitHash: '', - SourceCodeURL: '', - SourceFilename: '', - SourcePackageHash: '', - SourcePackageURL: '', - SamplingRate: 1, - FunctionSourceLine: 0, }, CountExclusive: 1320, CountInclusive: 1610, @@ -70,16 +54,8 @@ export const data = { AddressOrLine: 11644886, FunctionName: '_raw_spin_unlock_irqrestore', FunctionOffset: 0, - SourceID: '', SourceLine: 0, ExeFileName: 'vmlinux', - CommitHash: '', - SourceCodeURL: '', - SourceFilename: '', - SourcePackageHash: '', - SourcePackageURL: '', - SamplingRate: 1, - FunctionSourceLine: 0, }, CountExclusive: 1215, CountInclusive: 1220, @@ -95,16 +71,8 @@ export const data = { AddressOrLine: 1570627, FunctionName: 'audit_filter_syscall', FunctionOffset: 0, - SourceID: '', SourceLine: 0, ExeFileName: 'vmlinux', - CommitHash: '', - SourceCodeURL: '', - SourceFilename: '', - SourcePackageHash: '', - SourcePackageURL: '', - SamplingRate: 1, - FunctionSourceLine: 0, }, CountExclusive: 920, CountInclusive: 1560, diff --git a/x-pack/plugins/reporting/public/share_context_menu/register_csv_reporting.tsx b/x-pack/plugins/reporting/public/share_context_menu/register_csv_reporting.tsx index 17f26c6c34e8a..113e367b9a0c0 100644 --- a/x-pack/plugins/reporting/public/share_context_menu/register_csv_reporting.tsx +++ b/x-pack/plugins/reporting/public/share_context_menu/register_csv_reporting.tsx @@ -8,7 +8,7 @@ import { i18n } from '@kbn/i18n'; import React from 'react'; -import { CSV_JOB_TYPE } from '@kbn/reporting-export-types-csv-common'; +import { CSV_JOB_TYPE, CSV_JOB_TYPE_V2 } from '@kbn/reporting-export-types-csv-common'; import type { SearchSourceFields } from '@kbn/data-plugin/common'; import { ShareContext, ShareMenuProvider } from '@kbn/share-plugin/public'; @@ -30,6 +30,10 @@ export const reportingCsvShareProvider = ({ return []; } + // only csv v2 supports esql (isTextBased) reports + // TODO: whole csv reporting should move to v2 https://github.com/elastic/kibana/issues/151190 + const reportType = sharingData.isTextBased ? CSV_JOB_TYPE_V2 : CSV_JOB_TYPE; + const getSearchSource = sharingData.getSearchSource as ({ addGlobalTimeFilter, absoluteTime, @@ -41,12 +45,21 @@ export const reportingCsvShareProvider = ({ const jobParams = { title: sharingData.title as string, objectType, - columns: sharingData.columns as string[] | undefined, }; const getJobParams = (forShareUrl?: boolean) => { + if (reportType === CSV_JOB_TYPE_V2) { + // csv v2 uses locator params + return { + ...jobParams, + locatorParams: sharingData.locatorParams as [Record], + }; + } + + // csv v1 uses search source and columns return { ...jobParams, + columns: sharingData.columns as string[] | undefined, searchSource: getSearchSource({ addGlobalTimeFilter: true, absoluteTime: !forShareUrl, @@ -92,7 +105,7 @@ export const reportingCsvShareProvider = ({ apiClient={apiClient} toasts={toasts} uiSettings={uiSettings} - reportType={CSV_JOB_TYPE} + reportType={reportType} layoutId={undefined} objectId={objectId} getJobParams={getJobParams} diff --git a/x-pack/plugins/reporting/public/share_context_menu/reporting_panel_content/reporting_panel_content.tsx b/x-pack/plugins/reporting/public/share_context_menu/reporting_panel_content/reporting_panel_content.tsx index 920f74a4f2bba..3de42bea3483a 100644 --- a/x-pack/plugins/reporting/public/share_context_menu/reporting_panel_content/reporting_panel_content.tsx +++ b/x-pack/plugins/reporting/public/share_context_menu/reporting_panel_content/reporting_panel_content.tsx @@ -8,7 +8,7 @@ import React, { Component, ReactElement } from 'react'; import url from 'url'; -import { CSV_REPORT_TYPE } from '@kbn/reporting-export-types-csv-common'; +import { CSV_REPORT_TYPE, CSV_REPORT_TYPE_V2 } from '@kbn/reporting-export-types-csv-common'; import { PDF_REPORT_TYPE, PDF_REPORT_TYPE_V2 } from '@kbn/reporting-export-types-pdf-common'; import { PNG_REPORT_TYPE, PNG_REPORT_TYPE_V2 } from '@kbn/reporting-export-types-png-common'; @@ -251,7 +251,8 @@ class ReportingPanelContentUi extends Component { case PDF_REPORT_TYPE_V2: return 'PDF'; case CSV_REPORT_TYPE: - return 'csv'; + case CSV_REPORT_TYPE_V2: + return 'CSV'; case 'png': case PNG_REPORT_TYPE_V2: return PNG_REPORT_TYPE; diff --git a/x-pack/plugins/reporting/server/lib/tasks/execute_report.ts b/x-pack/plugins/reporting/server/lib/tasks/execute_report.ts index 8ae190a63a28f..ec0fff59471ca 100644 --- a/x-pack/plugins/reporting/server/lib/tasks/execute_report.ts +++ b/x-pack/plugins/reporting/server/lib/tasks/execute_report.ts @@ -26,6 +26,7 @@ import type { ExecutionError, ReportDocument, ReportOutput, + TaskInstanceFields, TaskRunResult, } from '@kbn/reporting-common/types'; import type { ReportingConfigType } from '@kbn/reporting-server'; @@ -38,16 +39,16 @@ import { throwRetryableError } from '@kbn/task-manager-plugin/server'; import { REPORTING_EXECUTE_TYPE, - TIME_BETWEEN_ATTEMPTS, ReportTaskParams, ReportingTask, ReportingTaskStatus, + TIME_BETWEEN_ATTEMPTS, } from '.'; import { ExportTypesRegistry, getContentStream } from '..'; import type { ReportingCore } from '../..'; import { - mapToReportingError, isExecutionError, + mapToReportingError, } from '../../../common/errors/map_to_reporting_error'; import type { ReportingStore } from '../store'; import { Report, SavedReport } from '../store'; @@ -294,6 +295,7 @@ export class ExecuteReportTask implements ReportingTask { public async _performJob( task: ReportTaskParams, + taskInstanceFields: TaskInstanceFields, cancellationToken: CancellationToken, stream: Writable ): Promise { @@ -306,9 +308,9 @@ export class ExecuteReportTask implements ReportingTask { // if workerFn doesn't finish before timeout, call the cancellationToken and throw an error const queueTimeout = durationToNumber(this.config.queue.timeout); return Rx.lastValueFrom( - Rx.from(exportType.runTask(task.id, task.payload, cancellationToken, stream)).pipe( - timeout(queueTimeout) - ) // throw an error if a value is not emitted before timeout + Rx.from( + exportType.runTask(task.id, task.payload, taskInstanceFields, cancellationToken, stream) + ).pipe(timeout(queueTimeout)) // throw an error if a value is not emitted before timeout ); } @@ -352,6 +354,12 @@ export class ExecuteReportTask implements ReportingTask { return ({ taskInstance }: RunContext) => { let jobId: string; const cancellationToken = new CancellationToken(); + const { + attempts: taskAttempts, + params: reportTaskParams, + retryAt: taskRetryAt, + startedAt: taskStartedAt, + } = taskInstance; return { /* @@ -363,11 +371,10 @@ export class ExecuteReportTask implements ReportingTask { */ run: async () => { let report: SavedReport | undefined; - const isLastAttempt = taskInstance.attempts >= this.getMaxAttempts(); + const isLastAttempt = taskAttempts >= this.getMaxAttempts(); // find the job in the store and set status to processing - const task = taskInstance.params as ReportTaskParams; - + const task = reportTaskParams as ReportTaskParams; jobId = task?.id; try { @@ -430,7 +437,12 @@ export class ExecuteReportTask implements ReportingTask { eventLog.logExecutionStart(); const output = await Promise.race([ - this._performJob(task, cancellationToken, stream), + this._performJob( + task, + { retryAt: taskRetryAt, startedAt: taskStartedAt }, + cancellationToken, + stream + ), this.throwIfKibanaShutsDown(), ]); diff --git a/x-pack/plugins/screenshotting/common/types.ts b/x-pack/plugins/screenshotting/common/types.ts index 3e6ad952baf55..70d4a26cab3e6 100644 --- a/x-pack/plugins/screenshotting/common/types.ts +++ b/x-pack/plugins/screenshotting/common/types.ts @@ -5,6 +5,8 @@ * 2.0. */ +import type { ConcreteTaskInstance } from '@kbn/task-manager-plugin/server'; + /** * Collected performance metrics during a screenshotting session. */ @@ -29,3 +31,9 @@ export interface PerformanceMetrics { */ memoryInMegabytes?: number; } + +/** + * Timestamp metrics about a running screenshot task + * which determine the maximum timeouts possible + */ +export type TaskInstanceFields = Pick; diff --git a/x-pack/plugins/screenshotting/server/screenshots/index.test.ts b/x-pack/plugins/screenshotting/server/screenshots/index.test.ts index 9538517d922ef..4a177a94a147b 100644 --- a/x-pack/plugins/screenshotting/server/screenshots/index.test.ts +++ b/x-pack/plugins/screenshotting/server/screenshots/index.test.ts @@ -66,6 +66,7 @@ describe('Screenshot Observable Pipeline', () => { headers: {}, layout: {}, urls: ['/welcome/home/start/index.htm'], + taskInstanceFields: { startedAt: null, retryAt: null }, }; config = { enabled: true, diff --git a/x-pack/plugins/screenshotting/server/screenshots/index.ts b/x-pack/plugins/screenshotting/server/screenshots/index.ts index 7f7882cb26b2e..6c94e0ffdc5f4 100644 --- a/x-pack/plugins/screenshotting/server/screenshots/index.ts +++ b/x-pack/plugins/screenshotting/server/screenshots/index.ts @@ -7,9 +7,10 @@ import type { KibanaRequest } from '@kbn/core/server'; import type { ExpressionAstExpression } from '@kbn/expressions-plugin/common'; +import { Logger } from '@kbn/logging'; import type { Optional } from '@kbn/utility-types'; import { LayoutParams } from '../../common'; -import { PerformanceMetrics } from '../../common/types'; +import { PerformanceMetrics, TaskInstanceFields } from '../../common/types'; import { PdfScreenshotOptions, PdfScreenshotResult, @@ -21,6 +22,10 @@ import type { ScreenshotObservableOptions, ScreenshotObservableResult } from './ export type { ScreenshotObservableResult, UrlOrUrlWithContext } from './observable'; export interface CaptureOptions extends Optional { + /** + * Timestamp metrics about the task lifecycle which are important for calculating timeouts + */ + taskInstanceFields: TaskInstanceFields; /** * Expression to render. Mutually exclusive with `urls`. */ @@ -37,6 +42,10 @@ export interface CaptureOptions extends Optional { format: 'png', layout: { id: 'preserve_layout' }, urls: ['/app/home/test'], + taskInstanceFields: { startedAt: null, retryAt: null }, }; const observe = screenshotsInstance.getScreenshots(options); @@ -151,6 +152,7 @@ describe('class Screenshots', () => { format: 'png', layout: { id: 'preserve_layout' }, urls: ['/app/home/test'], + taskInstanceFields: { startedAt: null, retryAt: null }, }; const observe = screenshotsInstance.getScreenshots(options); diff --git a/x-pack/plugins/screenshotting/server/screenshots/screenshots.ts b/x-pack/plugins/screenshotting/server/screenshots/screenshots.ts index 64f6ecdb5264a..8a35ce48fe1ae 100644 --- a/x-pack/plugins/screenshotting/server/screenshots/screenshots.ts +++ b/x-pack/plugins/screenshotting/server/screenshots/screenshots.ts @@ -5,12 +5,10 @@ * 2.0. */ -import type { CloudSetup } from '@kbn/cloud-plugin/server'; -import type { HttpServiceSetup, Logger, PackageInfo } from '@kbn/core/server'; -import { Semaphore } from '@kbn/std'; import ipaddr from 'ipaddr.js'; import { defaultsDeep, sum } from 'lodash'; -import { from, Observable, of, throwError } from 'rxjs'; +import moment from 'moment'; +import { Observable, from, of, throwError } from 'rxjs'; import { catchError, concatMap, @@ -22,12 +20,17 @@ import { tap, toArray, } from 'rxjs/operators'; + +import type { CloudSetup } from '@kbn/cloud-plugin/server'; +import type { HttpServiceSetup, Logger, PackageInfo } from '@kbn/core/server'; +import { Semaphore } from '@kbn/std'; + import { CaptureResult, ScreenshotOptions, ScreenshotResult } from '.'; import { - errors, SCREENSHOTTING_APP_ID, SCREENSHOTTING_EXPRESSION, SCREENSHOTTING_EXPRESSION_INPUT, + errors, } from '../../common'; import { HeadlessChromiumDriverFactory } from '../browsers'; import { systemHasInsufficientMemory } from '../cloud'; @@ -41,7 +44,7 @@ import { toPdf, toPng, } from '../formats'; -import { createLayout, Layout } from '../layouts'; +import { Layout, createLayout } from '../layouts'; import { EventLogger, Transactions } from './event_logger'; import type { ScreenshotObservableOptions } from './observable'; import { ScreenshotObservableHandler, UrlOrUrlWithContext } from './observable'; @@ -68,7 +71,8 @@ export class Screenshots { private captureScreenshots( eventLogger: EventLogger, layout: Layout, - options: ScreenshotObservableOptions + options: ScreenshotObservableOptions, + logger: Logger ): Observable { const { browserTimezone } = options; @@ -79,7 +83,7 @@ export class Screenshots { openUrlTimeout: durationToNumber(this.config.capture.timeouts.openUrl), defaultViewport: { width: layout.width, deviceScaleFactor: layout.getBrowserZoom() }, }, - this.logger + logger ) .pipe( this.semaphore.acquire(), @@ -98,7 +102,7 @@ export class Screenshots { catchError((error) => { screen.checkPageIsOpen(); // this fails the job if the browser has closed - this.logger.error(error); + logger.error(error); eventLogger.error(error, Transactions.SCREENSHOTTING); return of({ ...DEFAULT_SETUP_RESULT, error }); // allow "as-is" screenshot with injected warning message }), @@ -174,17 +178,28 @@ export class Screenshots { getScreenshots(options: PdfScreenshotOptions): Observable; getScreenshots(options: ScreenshotOptions): Observable; getScreenshots(options: ScreenshotOptions): Observable { + const logger = options.logger?.get('screenshotting') ?? this.logger; + const { taskInstanceFields, format, layout } = options; + + const { startedAt, retryAt } = taskInstanceFields; + if (startedAt) { + logger.debug( + `Task started at: ${startedAt && moment(startedAt).format()}.` + + ` Can run until: ${retryAt && moment(retryAt).format()}` + ); + } + if (this.systemHasInsufficientMemory()) { return throwError(() => new errors.InsufficientMemoryAvailableOnCloudError()); } - const eventLogger = new EventLogger(this.logger, this.config); + const eventLogger = new EventLogger(logger, this.config); const transactionEnd = eventLogger.startTransaction(Transactions.SCREENSHOTTING); - const layout = createLayout(options.layout ?? {}); + const layoutInstance = createLayout(layout ?? {}); const captureOptions = this.getCaptureOptions(options); - return this.captureScreenshots(eventLogger, layout, captureOptions).pipe( + return this.captureScreenshots(eventLogger, layoutInstance, captureOptions, logger).pipe( tap(({ results, metrics }) => { transactionEnd({ labels: { @@ -196,9 +211,9 @@ export class Screenshots { }); }), mergeMap((result) => { - switch (options.format) { + switch (format) { case 'pdf': - return toPdf(eventLogger, this.packageInfo, layout, options, result); + return toPdf(eventLogger, this.packageInfo, layoutInstance, options, result); default: return toPng(result); } diff --git a/x-pack/plugins/screenshotting/tsconfig.json b/x-pack/plugins/screenshotting/tsconfig.json index f23b380911f0f..8421b0c9fdd7d 100644 --- a/x-pack/plugins/screenshotting/tsconfig.json +++ b/x-pack/plugins/screenshotting/tsconfig.json @@ -26,6 +26,7 @@ "@kbn/logging-mocks", "@kbn/core-http-server", "@kbn/core-plugins-server", + "@kbn/task-manager-plugin", ], "exclude": [ "target/**/*", diff --git a/x-pack/plugins/security_solution/public/entity_analytics/components/severity/common/index.tsx b/x-pack/plugins/security_solution/public/entity_analytics/components/severity/common/index.tsx index 0706eb117c5d7..2b498fdca79ac 100644 --- a/x-pack/plugins/security_solution/public/entity_analytics/components/severity/common/index.tsx +++ b/x-pack/plugins/security_solution/public/entity_analytics/components/severity/common/index.tsx @@ -7,7 +7,7 @@ import React from 'react'; -import { EuiHealth, transparentize } from '@elastic/eui'; +import { EuiHealth, EuiTextColor, transparentize } from '@elastic/eui'; import styled, { css } from 'styled-components'; import { euiLightVars } from '@kbn/ui-theme'; @@ -38,17 +38,25 @@ export const RiskScoreLevel: React.FC<{ severity: RiskSeverity; hideBackgroundColor?: boolean; toolTipContent?: JSX.Element; -}> = ({ severity, hideBackgroundColor = false, toolTipContent }) => { + ['data-test-subj']?: string; +}> = ({ + severity, + hideBackgroundColor = false, + toolTipContent, + 'data-test-subj': dataTestSubj, +}) => { const badge = ( - - {severity} - + + + {severity} + + ); diff --git a/x-pack/plugins/security_solution/public/entity_analytics/components/severity/severity_filter_group.test.tsx b/x-pack/plugins/security_solution/public/entity_analytics/components/severity/severity_filter_group.test.tsx index ef978fdf80546..053338c67de6f 100644 --- a/x-pack/plugins/security_solution/public/entity_analytics/components/severity/severity_filter_group.test.tsx +++ b/x-pack/plugins/security_solution/public/entity_analytics/components/severity/severity_filter_group.test.tsx @@ -28,7 +28,7 @@ describe('SeverityFilterGroup', () => { }); it('preserves sort order when severityCount is out of order', () => { - const { getByTestId, getAllByTestId } = render( + const { getByTestId } = render( { fireEvent.click(getByTestId('risk-filter-button')); - expect(getAllByTestId('risk-score').map((ele) => ele.textContent)).toEqual([ - 'Unknown', - 'Low', - 'Moderate', - 'High', - 'Critical', - ]); + expect(getByTestId('risk-filter-selectable').textContent).toEqual( + ['Unknown', 'Low', 'Moderate', 'High', 'Critical'].join('') + ); }); it('sends telemetry when selecting a classification', () => { - const { getByTestId, getAllByTestId } = render( + const { getByTestId } = render( { fireEvent.click(getByTestId('risk-filter-button')); - fireEvent.click(getAllByTestId('risk-score').at(0)!); + fireEvent.click(getByTestId('risk-filter-item-Unknown')); expect(mockedTelemetry.reportEntityRiskFiltered).toHaveBeenCalledTimes(1); }); it('does not send telemetry when deselecting a classification', () => { - const { getByTestId, getAllByTestId } = render( + const { getByTestId } = render( { fireEvent.click(getByTestId('risk-filter-button')); - fireEvent.click(getAllByTestId('risk-score').at(0)!); + fireEvent.click(getByTestId('risk-filter-item-Unknown')); expect(mockedTelemetry.reportEntityRiskFiltered).toHaveBeenCalledTimes(0); }); }); diff --git a/x-pack/plugins/security_solution/public/entity_analytics/components/severity/severity_filter_group.tsx b/x-pack/plugins/security_solution/public/entity_analytics/components/severity/severity_filter_group.tsx index c5373199192a4..9ecb9d9cd6cdb 100644 --- a/x-pack/plugins/security_solution/public/entity_analytics/components/severity/severity_filter_group.tsx +++ b/x-pack/plugins/security_solution/public/entity_analytics/components/severity/severity_filter_group.tsx @@ -10,12 +10,11 @@ import type { FilterChecked } from '@elastic/eui'; import { EuiFilterButton, EuiFilterGroup, - EuiFilterSelectItem, EuiPopover, useGeneratedHtmlId, - useEuiTheme, + EuiSelectable, } from '@elastic/eui'; - +import { i18n } from '@kbn/i18n'; import { SEVERITY_UI_SORT_ORDER } from '../../common/utils'; import type { RiskScoreEntity, RiskSeverity } from '../../../../common/search_strategy'; import type { SeverityCount } from './types'; @@ -27,14 +26,22 @@ interface SeverityItems { risk: RiskSeverity; count: number; checked?: FilterChecked; + label: string; } + +const SEVERITY_FILTER_ARIA_LABEL = i18n.translate( + 'xpack.securitySolution.entityAnalytics.severityFilter.ariaLabel', + { + defaultMessage: 'Select the severity level to filter by', + } +); + export const SeverityFilterGroup: React.FC<{ severityCount: SeverityCount; selectedSeverities: RiskSeverity[]; onSelect: (newSelection: RiskSeverity[]) => void; riskEntity: RiskScoreEntity; }> = ({ severityCount, selectedSeverities, onSelect, riskEntity }) => { - const { euiTheme } = useEuiTheme(); const { telemetry } = useKibana().services; const [isPopoverOpen, setIsPopoverOpen] = useState(false); @@ -55,26 +62,27 @@ export const SeverityFilterGroup: React.FC<{ return SEVERITY_UI_SORT_ORDER.map((severity) => ({ risk: severity, count: severityCount[severity], + label: severity, checked: selectedSeverities.includes(severity) ? checked : undefined, })); }, [severityCount, selectedSeverities]); const updateSeverityFilter = useCallback( - (selectedSeverity: RiskSeverity) => { - const currentSelection = selectedSeverities ?? []; - const isAddingSeverity = !currentSelection.includes(selectedSeverity); - - const newSelection = isAddingSeverity - ? [...currentSelection, selectedSeverity] - : currentSelection.filter((s) => s !== selectedSeverity); - - if (isAddingSeverity) { - telemetry.reportEntityRiskFiltered({ entity: riskEntity, selectedSeverity }); + (newSelection: SeverityItems[], _, changedSeverity: SeverityItems) => { + if (changedSeverity.checked === 'on') { + telemetry.reportEntityRiskFiltered({ + entity: riskEntity, + selectedSeverity: changedSeverity.risk, + }); } - onSelect(newSelection); + const newSelectedSeverities = newSelection + .filter((item) => item.checked === 'on') + .map((item) => item.risk); + + onSelect(newSelectedSeverities); }, - [selectedSeverities, onSelect, telemetry, riskEntity] + [onSelect, riskEntity, telemetry] ); const totalActiveItem = useMemo( @@ -107,21 +115,17 @@ export const SeverityFilterGroup: React.FC<{ closePopover={closePopover} panelPaddingSize="none" > - {/* EUI NOTE: Please use EuiSelectable (which already has height/scrolling built in) - instead of EuiFilterSelectItem (which is pending deprecation). - @see https://elastic.github.io/eui/#/forms/filter-group#multi-select */} -
- {items.map((item, index) => ( - updateSeverityFilter(item.risk)} - > - - - ))} -
+ ( + + )} + > + {(list) =>
{list}
} +
); diff --git a/x-pack/plugins/security_solution/public/flyout/document_details/left/components/correlations_details.test.tsx b/x-pack/plugins/security_solution/public/flyout/document_details/left/components/correlations_details.test.tsx index 21214670241aa..2c1a6c27a52d3 100644 --- a/x-pack/plugins/security_solution/public/flyout/document_details/left/components/correlations_details.test.tsx +++ b/x-pack/plugins/security_solution/public/flyout/document_details/left/components/correlations_details.test.tsx @@ -67,7 +67,7 @@ describe('CorrelationsDetails', () => { it('renders all sections', () => { jest .mocked(useShowRelatedAlertsByAncestry) - .mockReturnValue({ show: true, documentId: 'documentId', indices: ['index1'] }); + .mockReturnValue({ show: true, indices: ['index1'] }); jest .mocked(useShowRelatedAlertsBySameSourceEvent) .mockReturnValue({ show: true, originalEventId: 'originalEventId' }); @@ -115,7 +115,7 @@ describe('CorrelationsDetails', () => { it('should render no section and show error message if show values are false', () => { jest .mocked(useShowRelatedAlertsByAncestry) - .mockReturnValue({ show: false, documentId: 'documentId', indices: ['index1'] }); + .mockReturnValue({ show: false, indices: ['index1'] }); jest .mocked(useShowRelatedAlertsBySameSourceEvent) .mockReturnValue({ show: false, originalEventId: 'originalEventId' }); diff --git a/x-pack/plugins/security_solution/public/flyout/document_details/left/components/correlations_details.tsx b/x-pack/plugins/security_solution/public/flyout/document_details/left/components/correlations_details.tsx index 0302083236532..739a17b7699a8 100644 --- a/x-pack/plugins/security_solution/public/flyout/document_details/left/components/correlations_details.tsx +++ b/x-pack/plugins/security_solution/public/flyout/document_details/left/components/correlations_details.tsx @@ -30,11 +30,7 @@ export const CorrelationsDetails: React.FC = () => { const { dataAsNestedObject, dataFormattedForFieldBrowser, eventId, getFieldsData, scopeId } = useLeftPanelContext(); - const { - show: showAlertsByAncestry, - documentId, - indices, - } = useShowRelatedAlertsByAncestry({ + const { show: showAlertsByAncestry, indices } = useShowRelatedAlertsByAncestry({ getFieldsData, dataAsNestedObject, dataFormattedForFieldBrowser, @@ -86,14 +82,9 @@ export const CorrelationsDetails: React.FC = () => { )} - {showAlertsByAncestry && documentId && indices && ( + {showAlertsByAncestry && indices && ( - + )} diff --git a/x-pack/plugins/security_solution/public/flyout/document_details/left/components/related_alerts_by_ancestry.test.tsx b/x-pack/plugins/security_solution/public/flyout/document_details/left/components/related_alerts_by_ancestry.test.tsx index d7f4a35fd11c5..063ebce7354aa 100644 --- a/x-pack/plugins/security_solution/public/flyout/document_details/left/components/related_alerts_by_ancestry.test.tsx +++ b/x-pack/plugins/security_solution/public/flyout/document_details/left/components/related_alerts_by_ancestry.test.tsx @@ -27,7 +27,6 @@ jest.mock('../hooks/use_paginated_alerts'); const documentId = 'documentId'; const indices = ['index1']; const scopeId = 'scopeId'; -const eventId = 'eventId'; const TOGGLE_ICON = EXPANDABLE_PANEL_TOGGLE_ICON_TEST_ID( CORRELATIONS_DETAILS_BY_ANCESTRY_SECTION_TEST_ID @@ -42,12 +41,7 @@ const TITLE_TEXT = EXPANDABLE_PANEL_HEADER_TITLE_TEXT_TEST_ID( const renderRelatedAlertsByAncestry = () => render( - + ); diff --git a/x-pack/plugins/security_solution/public/flyout/document_details/left/components/related_alerts_by_ancestry.tsx b/x-pack/plugins/security_solution/public/flyout/document_details/left/components/related_alerts_by_ancestry.tsx index 050d2b4ae1966..b8bb13fd1bd9f 100644 --- a/x-pack/plugins/security_solution/public/flyout/document_details/left/components/related_alerts_by_ancestry.tsx +++ b/x-pack/plugins/security_solution/public/flyout/document_details/left/components/related_alerts_by_ancestry.tsx @@ -13,7 +13,7 @@ import { CORRELATIONS_DETAILS_BY_ANCESTRY_SECTION_TEST_ID } from './test_ids'; export interface RelatedAlertsByAncestryProps { /** - * Value of the kibana.alert.ancestors.id field + * Id of the document */ documentId: string; /** @@ -24,10 +24,6 @@ export interface RelatedAlertsByAncestryProps { * Maintain backwards compatibility // TODO remove when possible */ scopeId: string; - /** - * Id of the document - */ - eventId: string; } /** @@ -37,7 +33,6 @@ export const RelatedAlertsByAncestry: React.VFC = documentId, indices, scopeId, - eventId, }) => { const { loading, error, data, dataCount } = useFetchRelatedAlertsByAncestry({ documentId, @@ -61,7 +56,7 @@ export const RelatedAlertsByAncestry: React.VFC = loading={loading} alertIds={data} scopeId={scopeId} - eventId={eventId} + eventId={documentId} noItemsMessage={ ', () => { expect(mockUseAlertPrevalenceFromProcessTree).toHaveBeenCalledWith({ isActiveTimeline: false, - documentId: 'ancestors-id', + documentId: 'eventId', indices: ['rule-indices'], }); expect(wrapper.getByTestId(ANALYZER_PREVIEW_TEST_ID)).toBeInTheDocument(); }); - it('shows error message when documentid and index are not present', () => { + it('shows error message when index is not present', () => { mockUseAlertPrevalenceFromProcessTree.mockReturnValue({ loading: false, error: false, @@ -82,7 +82,7 @@ describe('', () => { expect(mockUseAlertPrevalenceFromProcessTree).toHaveBeenCalledWith({ isActiveTimeline: false, - documentId: '', + documentId: 'eventId', indices: [], }); diff --git a/x-pack/plugins/security_solution/public/flyout/document_details/right/components/analyzer_preview.tsx b/x-pack/plugins/security_solution/public/flyout/document_details/right/components/analyzer_preview.tsx index e8f23bc4638bd..0beb237f17cf2 100644 --- a/x-pack/plugins/security_solution/public/flyout/document_details/right/components/analyzer_preview.tsx +++ b/x-pack/plugins/security_solution/public/flyout/document_details/right/components/analyzer_preview.tsx @@ -11,7 +11,7 @@ import { i18n } from '@kbn/i18n'; import { FormattedMessage } from '@kbn/i18n-react'; import { ANALYZER_PREVIEW_TEST_ID, ANALYZER_PREVIEW_LOADING_TEST_ID } from './test_ids'; import { getTreeNodes } from '../utils/analyzer_helpers'; -import { ANCESTOR_ID, RULE_INDICES } from '../../shared/constants/field_names'; +import { RULE_INDICES } from '../../shared/constants/field_names'; import { useRightPanelContext } from '../context'; import { useAlertPrevalenceFromProcessTree } from '../../../../common/containers/alerts/use_alert_prevalence_from_process_tree'; import type { StatsNode } from '../../../../common/containers/alerts/use_alert_prevalence_from_process_tree'; @@ -33,18 +33,14 @@ interface Cache { */ export const AnalyzerPreview: React.FC = () => { const [cache, setCache] = useState>({}); - const { dataFormattedForFieldBrowser: data, scopeId } = useRightPanelContext(); - - const documentId = find({ category: 'kibana', field: ANCESTOR_ID }, data); - const processDocumentId = - documentId && Array.isArray(documentId.values) ? documentId.values[0] : ''; + const { dataFormattedForFieldBrowser: data, scopeId, eventId } = useRightPanelContext(); const index = find({ category: 'kibana', field: RULE_INDICES }, data); const indices = index?.values ?? []; const { statsNodes, loading, error } = useAlertPrevalenceFromProcessTree({ isActiveTimeline: isActiveTimeline(scopeId), - documentId: processDocumentId, + documentId: eventId, indices, }); @@ -59,7 +55,7 @@ export const AnalyzerPreview: React.FC = () => { [cache.statsNodes] ); - const showAnalyzerTree = documentId && index && items && items.length > 0 && !error; + const showAnalyzerTree = eventId && index && items && items.length > 0 && !error; return loading ? ( ', () => { it('should show component with all rows in expandable panel', () => { jest .mocked(useShowRelatedAlertsByAncestry) - .mockReturnValue({ show: true, documentId: 'documentId', indices: ['index1'] }); + .mockReturnValue({ show: true, indices: ['index1'] }); jest .mocked(useShowRelatedAlertsBySameSourceEvent) .mockReturnValue({ show: true, originalEventId: 'originalEventId' }); @@ -145,7 +145,7 @@ describe('', () => { it('should hide rows and show error message if show values are false', () => { jest .mocked(useShowRelatedAlertsByAncestry) - .mockReturnValue({ show: false, documentId: 'documentId', indices: ['index1'] }); + .mockReturnValue({ show: false, indices: ['index1'] }); jest .mocked(useShowRelatedAlertsBySameSourceEvent) .mockReturnValue({ show: false, originalEventId: 'originalEventId' }); diff --git a/x-pack/plugins/security_solution/public/flyout/document_details/right/components/correlations_overview.tsx b/x-pack/plugins/security_solution/public/flyout/document_details/right/components/correlations_overview.tsx index 52e66fed55b5d..44689eaed616d 100644 --- a/x-pack/plugins/security_solution/public/flyout/document_details/right/components/correlations_overview.tsx +++ b/x-pack/plugins/security_solution/public/flyout/document_details/right/components/correlations_overview.tsx @@ -56,11 +56,7 @@ export const CorrelationsOverview: React.FC = () => { }); }, [eventId, openLeftPanel, indexName, scopeId]); - const { - show: showAlertsByAncestry, - documentId, - indices, - } = useShowRelatedAlertsByAncestry({ + const { show: showAlertsByAncestry, indices } = useShowRelatedAlertsByAncestry({ getFieldsData, dataAsNestedObject, dataFormattedForFieldBrowser, @@ -115,8 +111,8 @@ export const CorrelationsOverview: React.FC = () => { {showAlertsBySession && entityId && ( )} - {showAlertsByAncestry && documentId && indices && ( - + {showAlertsByAncestry && indices && ( + )} ) : ( diff --git a/x-pack/plugins/security_solution/public/flyout/document_details/right/components/related_alerts_by_ancestry.tsx b/x-pack/plugins/security_solution/public/flyout/document_details/right/components/related_alerts_by_ancestry.tsx index 1c41fbe0969b3..2e628ba61a7be 100644 --- a/x-pack/plugins/security_solution/public/flyout/document_details/right/components/related_alerts_by_ancestry.tsx +++ b/x-pack/plugins/security_solution/public/flyout/document_details/right/components/related_alerts_by_ancestry.tsx @@ -15,7 +15,7 @@ const ICON = 'warning'; export interface RelatedAlertsByAncestryProps { /** - * Value of the kibana.alert.ancestors.id field + * Id of the document */ documentId: string; /** diff --git a/x-pack/plugins/security_solution/public/flyout/document_details/shared/hooks/use_fetch_related_alerts_by_ancestry.ts b/x-pack/plugins/security_solution/public/flyout/document_details/shared/hooks/use_fetch_related_alerts_by_ancestry.ts index 73415c880a3c1..b44349a06eec9 100644 --- a/x-pack/plugins/security_solution/public/flyout/document_details/shared/hooks/use_fetch_related_alerts_by_ancestry.ts +++ b/x-pack/plugins/security_solution/public/flyout/document_details/shared/hooks/use_fetch_related_alerts_by_ancestry.ts @@ -11,7 +11,7 @@ import { isActiveTimeline } from '../../../../helpers'; export interface UseFetchRelatedAlertsByAncestryParams { /** - * Value of the kibana.alert.ancestors.id field + * Id of the document */ documentId: string; /** diff --git a/x-pack/plugins/security_solution/public/flyout/document_details/shared/hooks/use_show_related_alerts_by_ancestry.test.tsx b/x-pack/plugins/security_solution/public/flyout/document_details/shared/hooks/use_show_related_alerts_by_ancestry.test.tsx index a452e0e3a1686..8b70fcebdefb7 100644 --- a/x-pack/plugins/security_solution/public/flyout/document_details/shared/hooks/use_show_related_alerts_by_ancestry.test.tsx +++ b/x-pack/plugins/security_solution/public/flyout/document_details/shared/hooks/use_show_related_alerts_by_ancestry.test.tsx @@ -16,6 +16,7 @@ import { useIsExperimentalFeatureEnabled } from '../../../../common/hooks/use_ex import { licenseService } from '../../../../common/hooks/use_license'; import { mockDataFormattedForFieldBrowser } from '../mocks/mock_data_formatted_for_field_browser'; import { mockDataAsNestedObject } from '../mocks/mock_data_as_nested_object'; +import { useIsInvestigateInResolverActionEnabled } from '../../../../detections/components/alerts_table/timeline_actions/investigate_in_resolver'; jest.mock('../../../../common/hooks/use_experimental_features'); jest.mock('../../../../common/hooks/use_license', () => { @@ -29,6 +30,9 @@ jest.mock('../../../../common/hooks/use_license', () => { }, }; }); +jest.mock( + '../../../../detections/components/alerts_table/timeline_actions/investigate_in_resolver' +); const licenseServiceMock = licenseService as jest.Mocked; const dataAsNestedObject = mockDataAsNestedObject; @@ -40,8 +44,9 @@ describe('useShowRelatedAlertsByAncestry', () => { UseShowRelatedAlertsByAncestryResult >; - it('should return false if getFieldsData returns null', () => { + it('should return false if Process Entity Info is not available', () => { (useIsExperimentalFeatureEnabled as jest.Mock).mockReturnValue(true); + (useIsInvestigateInResolverActionEnabled as jest.Mock).mockReturnValue(false); licenseServiceMock.isPlatinumPlus.mockReturnValue(true); const getFieldsData = () => null; hookResult = renderHook(() => @@ -69,7 +74,6 @@ describe('useShowRelatedAlertsByAncestry', () => { expect(hookResult.result.current).toEqual({ show: false, - documentId: 'value', indices: ['rule-parameters-index'], }); }); @@ -88,26 +92,6 @@ describe('useShowRelatedAlertsByAncestry', () => { expect(hookResult.result.current).toEqual({ show: false, - documentId: 'value', - indices: ['rule-parameters-index'], - }); - }); - - it('should return true if getFieldsData has the correct fields', () => { - (useIsExperimentalFeatureEnabled as jest.Mock).mockReturnValue(true); - licenseServiceMock.isPlatinumPlus.mockReturnValue(true); - const getFieldsData = () => 'value'; - hookResult = renderHook(() => - useShowRelatedAlertsByAncestry({ - getFieldsData, - dataAsNestedObject, - dataFormattedForFieldBrowser, - }) - ); - - expect(hookResult.result.current).toEqual({ - show: true, - documentId: 'value', indices: ['rule-parameters-index'], }); }); diff --git a/x-pack/plugins/security_solution/public/flyout/document_details/shared/hooks/use_show_related_alerts_by_ancestry.ts b/x-pack/plugins/security_solution/public/flyout/document_details/shared/hooks/use_show_related_alerts_by_ancestry.ts index 53a1b336ff456..f1627b749bfe1 100644 --- a/x-pack/plugins/security_solution/public/flyout/document_details/shared/hooks/use_show_related_alerts_by_ancestry.ts +++ b/x-pack/plugins/security_solution/public/flyout/document_details/shared/hooks/use_show_related_alerts_by_ancestry.ts @@ -13,8 +13,7 @@ import type { GetFieldsData } from '../../../../common/hooks/use_get_fields_data import { useIsInvestigateInResolverActionEnabled } from '../../../../detections/components/alerts_table/timeline_actions/investigate_in_resolver'; import { useIsExperimentalFeatureEnabled } from '../../../../common/hooks/use_experimental_features'; import { useLicense } from '../../../../common/hooks/use_license'; -import { getField } from '../utils'; -import { ANCESTOR_ID, RULE_PARAMETERS_INDEX } from '../constants/field_names'; +import { RULE_PARAMETERS_INDEX } from '../constants/field_names'; export interface UseShowRelatedAlertsByAncestryParams { /** @@ -36,10 +35,6 @@ export interface UseShowRelatedAlertsByAncestryResult { * Returns true if the user has at least platinum privilege, and if the document has ancestry data */ show: boolean; - /** - * Value of the kibana.alert.ancestors.id field - */ - documentId?: string; /** * Values of the kibana.alert.rule.parameters.index field */ @@ -59,8 +54,6 @@ export const useShowRelatedAlertsByAncestry = ({ ); const hasProcessEntityInfo = useIsInvestigateInResolverActionEnabled(dataAsNestedObject); - const originalDocumentId = getField(getFieldsData(ANCESTOR_ID)); - // can't use getFieldsData here as the kibana.alert.rule.parameters is different and can be nested const originalDocumentIndex = useMemo( () => find({ category: 'kibana', field: RULE_PARAMETERS_INDEX }, dataFormattedForFieldBrowser), @@ -72,13 +65,11 @@ export const useShowRelatedAlertsByAncestry = ({ const show = isRelatedAlertsByProcessAncestryEnabled && hasProcessEntityInfo && - originalDocumentId != null && originalDocumentIndex != null && hasAtLeastPlatinum; return { show, - ...(originalDocumentId && { documentId: originalDocumentId }), ...(originalDocumentIndex && originalDocumentIndex.values && { indices: originalDocumentIndex.values }), }; diff --git a/x-pack/plugins/security_solution/server/lib/entity_analytics/risk_score/calculate_and_persist_risk_scores.test.ts b/x-pack/plugins/security_solution/server/lib/entity_analytics/risk_score/calculate_and_persist_risk_scores.test.ts index 1aa38395baf17..ba5b23074a469 100644 --- a/x-pack/plugins/security_solution/server/lib/entity_analytics/risk_score/calculate_and_persist_risk_scores.test.ts +++ b/x-pack/plugins/security_solution/server/lib/entity_analytics/risk_score/calculate_and_persist_risk_scores.test.ts @@ -7,20 +7,45 @@ import type { ElasticsearchClient, Logger } from '@kbn/core/server'; import { elasticsearchServiceMock, loggingSystemMock } from '@kbn/core/server/mocks'; +import { assetCriticalityServiceMock } from '../asset_criticality/asset_criticality_service.mock'; import { calculateAndPersistRiskScores } from './calculate_and_persist_risk_scores'; import { calculateRiskScores } from './calculate_risk_scores'; import { calculateRiskScoresMock } from './calculate_risk_scores.mock'; +import { riskScoreDataClientMock } from './risk_score_data_client.mock'; +import type { RiskScoreDataClient } from './risk_score_data_client'; jest.mock('./calculate_risk_scores'); +const calculateAndPersistRecentHostRiskScores = ( + esClient: ElasticsearchClient, + logger: Logger, + riskScoreDataClient: RiskScoreDataClient +) => { + return calculateAndPersistRiskScores({ + afterKeys: {}, + identifierType: 'host', + esClient, + logger, + index: 'index', + pageSize: 500, + spaceId: 'default', + range: { start: 'now - 15d', end: 'now' }, + riskScoreDataClient, + assetCriticalityService: assetCriticalityServiceMock.create(), + runtimeMappings: {}, + }); +}; + describe('calculateAndPersistRiskScores', () => { let esClient: ElasticsearchClient; let logger: Logger; + let riskScoreDataClient: RiskScoreDataClient; beforeEach(() => { esClient = elasticsearchServiceMock.createScopedClusterClient().asCurrentUser; logger = loggingSystemMock.createLogger(); + riskScoreDataClient = riskScoreDataClientMock.create(); }); describe('with no risk scores to persist', () => { @@ -30,22 +55,32 @@ describe('calculateAndPersistRiskScores', () => { ); }); + it('does not upgrade configurations', async () => { + await calculateAndPersistRecentHostRiskScores(esClient, logger, riskScoreDataClient); + + expect(riskScoreDataClient.upgradeIfNeeded).not.toHaveBeenCalled(); + }); + it('returns an appropriate response', async () => { - const results = await calculateAndPersistRiskScores({ - afterKeys: {}, - identifierType: 'host', + const results = await calculateAndPersistRecentHostRiskScores( esClient, logger, - index: 'index', - pageSize: 500, - range: { start: 'now - 15d', end: 'now' }, - spaceId: 'default', - // @ts-expect-error not relevant for this test - riskScoreDataClient: { getWriter: jest.fn() }, - runtimeMappings: {}, - }); + riskScoreDataClient + ); expect(results).toEqual({ after_keys: {}, errors: [], scores_written: 0 }); }); }); + describe('with risk scores to persist', () => { + beforeEach(() => { + (calculateRiskScores as jest.Mock).mockResolvedValueOnce( + calculateRiskScoresMock.buildResponseWithOneScore() + ); + }); + it('upgrades configurations when persisting risk scores', async () => { + await calculateAndPersistRecentHostRiskScores(esClient, logger, riskScoreDataClient); + + expect(riskScoreDataClient.upgradeIfNeeded).toHaveBeenCalled(); + }); + }); }); diff --git a/x-pack/plugins/security_solution/server/lib/entity_analytics/risk_score/calculate_and_persist_risk_scores.ts b/x-pack/plugins/security_solution/server/lib/entity_analytics/risk_score/calculate_and_persist_risk_scores.ts index 25bc1bddd99fa..58eedb35699ed 100644 --- a/x-pack/plugins/security_solution/server/lib/entity_analytics/risk_score/calculate_and_persist_risk_scores.ts +++ b/x-pack/plugins/security_solution/server/lib/entity_analytics/risk_score/calculate_and_persist_risk_scores.ts @@ -22,6 +22,7 @@ export const calculateAndPersistRiskScores = async ( } ): Promise => { const { riskScoreDataClient, spaceId, ...rest } = params; + const writer = await riskScoreDataClient.getWriter({ namespace: spaceId, }); @@ -31,6 +32,14 @@ export const calculateAndPersistRiskScores = async ( return { after_keys: {}, errors: [], scores_written: 0 }; } + try { + await riskScoreDataClient.upgradeIfNeeded(); + } catch (err) { + params.logger.error( + `There was an error upgrading the risk score indices. Continuing with risk score persistence. ${err.message}` + ); + } + const { errors, docs_written: scoresWritten } = await writer.bulk(scores); return { after_keys: afterKeys, errors, scores_written: scoresWritten }; diff --git a/x-pack/plugins/security_solution/server/lib/entity_analytics/risk_score/calculate_risk_scores.mock.ts b/x-pack/plugins/security_solution/server/lib/entity_analytics/risk_score/calculate_risk_scores.mock.ts index f5dd14bf71d2b..fae9efe59fa92 100644 --- a/x-pack/plugins/security_solution/server/lib/entity_analytics/risk_score/calculate_risk_scores.mock.ts +++ b/x-pack/plugins/security_solution/server/lib/entity_analytics/risk_score/calculate_risk_scores.mock.ts @@ -10,6 +10,7 @@ import { ALERT_RULE_NAME, } from '@kbn/rule-registry-plugin/common/technical_rule_data_field_names'; import { RiskCategories, RiskLevels } from '../../../../common/entity_analytics/risk_engine'; +import type { RiskScore } from '../../../../common/entity_analytics/risk_engine'; import type { CalculateRiskScoreAggregations, CalculateScoresResponse, @@ -114,8 +115,12 @@ const buildResponseMock = ( ...overrides, }); +const buildResponseWithOneScoreMock = () => + buildResponseMock({ scores: { host: [{} as RiskScore] } }); + export const calculateRiskScoresMock = { buildResponse: buildResponseMock, + buildResponseWithOneScore: buildResponseWithOneScoreMock, buildAggregationResponse: buildAggregationResponseMock, buildRiskScoreBucket: buildRiskScoreBucketMock, }; diff --git a/x-pack/plugins/security_solution/server/lib/entity_analytics/risk_score/risk_score_data_client.mock.ts b/x-pack/plugins/security_solution/server/lib/entity_analytics/risk_score/risk_score_data_client.mock.ts index 0277e9fc91a0f..c25961f15702c 100644 --- a/x-pack/plugins/security_solution/server/lib/entity_analytics/risk_score/risk_score_data_client.mock.ts +++ b/x-pack/plugins/security_solution/server/lib/entity_analytics/risk_score/risk_score_data_client.mock.ts @@ -9,9 +9,10 @@ import type { RiskScoreDataClient } from './risk_score_data_client'; const createRiskScoreDataClientMock = () => ({ - getWriter: jest.fn(), + getWriter: jest.fn().mockResolvedValue({ bulk: jest.fn().mockResolvedValue({ errors: [] }) }), init: jest.fn(), getRiskInputsIndex: jest.fn(), + upgradeIfNeeded: jest.fn(), } as unknown as jest.Mocked); export const riskScoreDataClientMock = { create: createRiskScoreDataClientMock }; diff --git a/x-pack/plugins/security_solution/server/lib/entity_analytics/risk_score/risk_score_data_client.test.ts b/x-pack/plugins/security_solution/server/lib/entity_analytics/risk_score/risk_score_data_client.test.ts index 022d8e92d4577..34360fc28357b 100644 --- a/x-pack/plugins/security_solution/server/lib/entity_analytics/risk_score/risk_score_data_client.test.ts +++ b/x-pack/plugins/security_solution/server/lib/entity_analytics/risk_score/risk_score_data_client.test.ts @@ -282,7 +282,7 @@ describe('RiskScoreDataClient', () => { options: { index: `risk-score.risk-score-latest-default`, mappings: { - dynamic: 'strict', + dynamic: false, properties: { '@timestamp': { ignore_malformed: false, @@ -452,4 +452,15 @@ describe('RiskScoreDataClient', () => { } }); }); + describe('upgrade process', () => { + it('upserts the configuration for the latest risk score index when upgrading', async () => { + await riskScoreDataClient.upgradeIfNeeded(); + + expect(esClient.indices.putMapping).toHaveBeenCalledWith( + expect.objectContaining({ + dynamic: 'false', + }) + ); + }); + }); }); diff --git a/x-pack/plugins/security_solution/server/lib/entity_analytics/risk_score/risk_score_data_client.ts b/x-pack/plugins/security_solution/server/lib/entity_analytics/risk_score/risk_score_data_client.ts index 54a2dc9f78c82..1b7e3d36ae34c 100644 --- a/x-pack/plugins/security_solution/server/lib/entity_analytics/risk_score/risk_score_data_client.ts +++ b/x-pack/plugins/security_solution/server/lib/entity_analytics/risk_score/risk_score_data_client.ts @@ -5,30 +5,34 @@ * 2.0. */ -import type { Metadata } from '@elastic/elasticsearch/lib/api/typesWithBodyKey'; +import type { + MappingDynamicMapping, + Metadata, +} from '@elastic/elasticsearch/lib/api/typesWithBodyKey'; import type { ClusterPutComponentTemplateRequest } from '@elastic/elasticsearch/lib/api/types'; import { createOrUpdateComponentTemplate, createOrUpdateIndexTemplate, } from '@kbn/alerting-plugin/server'; import { mappingFromFieldMap } from '@kbn/alerting-plugin/common'; -import type { Logger, ElasticsearchClient, SavedObjectsClientContract } from '@kbn/core/server'; +import type { ElasticsearchClient, Logger, SavedObjectsClientContract } from '@kbn/core/server'; import { - riskScoreFieldMap, getIndexPatternDataStream, - totalFieldsLimit, - mappingComponentName, getTransformOptions, + mappingComponentName, + riskScoreFieldMap, + totalFieldsLimit, } from './configurations'; import { createDataStream } from '../utils/create_datastream'; import type { RiskEngineDataWriter as Writer } from './risk_engine_data_writer'; import { RiskEngineDataWriter } from './risk_engine_data_writer'; import { getRiskScoreLatestIndex } from '../../../../common/entity_analytics/risk_engine'; -import { getLatestTransformId, createTransform } from '../utils/transforms'; +import { createTransform, getLatestTransformId } from '../utils/transforms'; import { getRiskInputsIndex } from './get_risk_inputs_index'; import { createOrUpdateIndex } from '../utils/create_or_update_index'; +import { retryTransientEsErrors } from '../utils/retry_transient_es_errors'; interface RiskScoringDataClientOpts { logger: Logger; @@ -140,7 +144,7 @@ export class RiskScoreDataClient { logger: this.options.logger, options: { index: getRiskScoreLatestIndex(namespace), - mappings: mappingFromFieldMap(riskScoreFieldMap, 'strict'), + mappings: mappingFromFieldMap(riskScoreFieldMap, false), }, }); @@ -161,4 +165,43 @@ export class RiskScoreDataClient { throw error; } } + /** + * Ensures that configuration migrations for risk score indices are seamlessly handled across Kibana upgrades. + * + * Upgrades: + * - Migrating to 8.12+ requires a change to the risk score latest transform index's 'dynamic' setting to ensure that + * unmapped fields are allowed within stored documents. + * + */ + public async upgradeIfNeeded() { + const desiredDynamicValue = 'false'; + const currentDynamicValue = await this.getRiskScoreLatestIndexDynamicConfiguration(); + if (currentDynamicValue !== desiredDynamicValue) { + await this.setRiskScoreLatestIndexDynamicConfiguration(desiredDynamicValue); + } + } + + private async getRiskScoreLatestIndexDynamicConfiguration(): Promise { + const riskScoreLatestIndexName = getRiskScoreLatestIndex(this.options.namespace); + const riskScoreLatestIndexResponse = await retryTransientEsErrors( + () => this.options.esClient.indices.get({ index: riskScoreLatestIndexName }), + { logger: this.options.logger } + ); + return riskScoreLatestIndexResponse[riskScoreLatestIndexName]?.mappings?.dynamic?.toString(); + } + + /** + * Sets the risk score latest index's 'dynamic' mapping property to the desired value. + * @throws Error if the index does not exist. + */ + private async setRiskScoreLatestIndexDynamicConfiguration(dynamic: MappingDynamicMapping) { + return retryTransientEsErrors( + () => + this.options.esClient.indices.putMapping({ + index: getRiskScoreLatestIndex(this.options.namespace), + dynamic, + }), + { logger: this.options.logger } + ); + } } diff --git a/x-pack/plugins/serverless_search/public/application/components/connectors_overview.tsx b/x-pack/plugins/serverless_search/public/application/components/connectors_overview.tsx index 78c70321d178c..9ba21a5e1afc6 100644 --- a/x-pack/plugins/serverless_search/public/application/components/connectors_overview.tsx +++ b/x-pack/plugins/serverless_search/public/application/components/connectors_overview.tsx @@ -16,7 +16,7 @@ import { } from '@elastic/eui'; import { i18n } from '@kbn/i18n'; import { FormattedMessage } from '@kbn/i18n-react'; -import React from 'react'; +import React, { useMemo } from 'react'; import { LEARN_MORE_LABEL } from '../../../common/i18n_string'; import { PLUGIN_ID } from '../../../common'; @@ -28,9 +28,12 @@ import { ConnectorsTable } from './connectors/connectors_table'; export const ConnectorsOverview = () => { const { data, isLoading: connectorsLoading } = useConnectors(); - const { http } = useKibanaServices(); - + const { http, console: consolePlugin } = useKibanaServices(); const { createConnector, isLoading } = useCreateConnector(); + const embeddableConsole = useMemo( + () => consolePlugin?.renderEmbeddableConsole?.() ?? <>, + [consolePlugin] + ); return ( @@ -116,6 +119,7 @@ export const ConnectorsOverview = () => { )} + {embeddableConsole} ); }; diff --git a/x-pack/plugins/serverless_search/public/application/components/overview.tsx b/x-pack/plugins/serverless_search/public/application/components/overview.tsx index e0b858b99022d..2a2313564c2e2 100644 --- a/x-pack/plugins/serverless_search/public/application/components/overview.tsx +++ b/x-pack/plugins/serverless_search/public/application/components/overview.tsx @@ -57,8 +57,7 @@ import { PipelineButtonOverview } from './pipeline_button_overview'; export const ElasticsearchOverview = () => { const [selectedLanguage, setSelectedLanguage] = useState(javaDefinition); const [clientApiKey, setClientApiKey] = useState(API_KEY_PLACEHOLDER); - const { application, cloud, http, user, share } = useKibanaServices(); - + const { application, cloud, http, user, share, console: consolePlugin } = useKibanaServices(); const { elasticsearchURL, cloudId } = useMemo(() => { return { elasticsearchURL: cloud?.elasticsearchUrl ?? ELASTICSEARCH_URL_PLACEHOLDER, @@ -66,11 +65,6 @@ export const ElasticsearchOverview = () => { }; }, [cloud]); const assetBasePath = useAssetBasePath(); - const codeSnippetArguments: LanguageDefinitionSnippetArguments = { - url: elasticsearchURL, - apiKey: clientApiKey, - cloudId, - }; const { hash } = useLocation(); useEffect(() => { if (hash) { @@ -81,6 +75,16 @@ export const ElasticsearchOverview = () => { } } }, [hash]); + const embeddableConsole = useMemo( + () => consolePlugin?.renderEmbeddableConsole?.() ?? <>, + [consolePlugin] + ); + + const codeSnippetArguments: LanguageDefinitionSnippetArguments = { + url: elasticsearchURL, + apiKey: clientApiKey, + cloudId, + }; return ( @@ -341,6 +345,7 @@ export const ElasticsearchOverview = () => { links={[]} overviewPanelProps={{ color: 'transparent', hasShadow: false }} /> + {embeddableConsole} ); diff --git a/x-pack/plugins/serverless_search/public/application/hooks/use_kibana.tsx b/x-pack/plugins/serverless_search/public/application/hooks/use_kibana.tsx index 6d3a37651bb35..21ff4c0fff505 100644 --- a/x-pack/plugins/serverless_search/public/application/hooks/use_kibana.tsx +++ b/x-pack/plugins/serverless_search/public/application/hooks/use_kibana.tsx @@ -6,6 +6,7 @@ */ import { CloudStart } from '@kbn/cloud-plugin/public'; +import { ConsolePluginStart } from '@kbn/console-plugin/public'; import type { AppMountParameters, CoreStart } from '@kbn/core/public'; import type { SharePluginStart } from '@kbn/share-plugin/public'; import { useKibana as useKibanaBase } from '@kbn/kibana-react-plugin/public'; @@ -13,6 +14,7 @@ import { AuthenticatedUser } from '@kbn/security-plugin/common'; export interface ServerlessSearchContext { cloud: CloudStart; + console: ConsolePluginStart; history: AppMountParameters['history']; share: SharePluginStart; user?: AuthenticatedUser; diff --git a/x-pack/plugins/serverless_search/public/types.ts b/x-pack/plugins/serverless_search/public/types.ts index 039353fa4e867..2bde66e05e99f 100644 --- a/x-pack/plugins/serverless_search/public/types.ts +++ b/x-pack/plugins/serverless_search/public/types.ts @@ -6,6 +6,7 @@ */ import { CloudSetup, CloudStart } from '@kbn/cloud-plugin/public'; +import { ConsolePluginStart } from '@kbn/console-plugin/public'; import { ManagementSetup, ManagementStart } from '@kbn/management-plugin/public'; import { SecurityPluginStart } from '@kbn/security-plugin/public'; import { ServerlessPluginSetup, ServerlessPluginStart } from '@kbn/serverless/public'; @@ -26,6 +27,7 @@ export interface ServerlessSearchPluginSetupDependencies { export interface ServerlessSearchPluginStartDependencies { cloud: CloudStart; + console: ConsolePluginStart; management: ManagementStart; security: SecurityPluginStart; serverless: ServerlessPluginStart; diff --git a/x-pack/plugins/serverless_search/tsconfig.json b/x-pack/plugins/serverless_search/tsconfig.json index 48eed31ef78d3..ef6072e765a66 100644 --- a/x-pack/plugins/serverless_search/tsconfig.json +++ b/x-pack/plugins/serverless_search/tsconfig.json @@ -42,5 +42,6 @@ "@kbn/usage-collection-plugin", "@kbn/es-types", "@kbn/code-editor", + "@kbn/console-plugin", ] } diff --git a/x-pack/plugins/uptime/server/legacy_uptime/lib/alerts/tls_legacy.ts b/x-pack/plugins/uptime/server/legacy_uptime/lib/alerts/tls_legacy.ts index f63e392f4739f..0599c6f43a073 100644 --- a/x-pack/plugins/uptime/server/legacy_uptime/lib/alerts/tls_legacy.ts +++ b/x-pack/plugins/uptime/server/legacy_uptime/lib/alerts/tls_legacy.ts @@ -10,9 +10,12 @@ import { observabilityPaths } from '@kbn/observability-plugin/common'; import moment from 'moment'; import { schema } from '@kbn/config-schema'; import { ActionGroupIdsOf } from '@kbn/alerting-plugin/common'; -import { AlertInstanceContext } from '@kbn/alerting-plugin/common'; -import { Alert, GetViewInAppRelativeUrlFnOpts } from '@kbn/alerting-plugin/server'; -import { UptimeAlertTypeFactory } from './types'; +import { + AlertsClientError, + DEFAULT_AAD_CONFIG, + GetViewInAppRelativeUrlFnOpts, +} from '@kbn/alerting-plugin/server'; +import { LegacyUptimeRuleTypeFactory } from './types'; import { updateState } from './common'; import { CLIENT_ALERT_TYPES, TLS_LEGACY } from '../../../../common/constants/uptime_alerts'; import { DYNAMIC_SETTINGS_DEFAULTS } from '../../../../common/constants'; @@ -29,8 +32,6 @@ import { export type ActionGroupIds = ActionGroupIdsOf; -type TLSAlertInstance = Alert, AlertInstanceContext, ActionGroupIds>; - interface TlsAlertState { count: number; agingCount: number; @@ -94,7 +95,10 @@ export const getCertSummary = ( }; }; -export const tlsLegacyAlertFactory: UptimeAlertTypeFactory = (_server, libs) => ({ +export const tlsLegacyRuleFactory: LegacyUptimeRuleTypeFactory = ( + _server, + libs +) => ({ id: CLIENT_ALERT_TYPES.TLS_LEGACY, category: DEFAULT_APP_CATEGORIES.observability.id, producer: 'uptime', @@ -115,7 +119,11 @@ export const tlsLegacyAlertFactory: UptimeAlertTypeFactory = (_s }, isExportable: true, minimumLicenseRequired: 'basic', - async executor({ services: { alertFactory, scopedClusterClient, savedObjectsClient }, state }) { + alerts: DEFAULT_AAD_CONFIG, + async executor({ services: { alertsClient, scopedClusterClient, savedObjectsClient }, state }) { + if (!alertsClient) { + throw new AlertsClientError(); + } const dynamicSettings = await savedObjectsAdapter.getUptimeDynamicSettings(savedObjectsClient); const uptimeEsClient = new UptimeEsClient( @@ -158,13 +166,15 @@ export const tlsLegacyAlertFactory: UptimeAlertTypeFactory = (_s 'd' ) .valueOf(); - const alertInstance: TLSAlertInstance = alertFactory.create(TLS_LEGACY.id); const summary = getCertSummary(certs, absoluteExpirationThreshold, absoluteAgeThreshold); - alertInstance.replaceState({ - ...updateState(state, foundCerts), - ...summary, + alertsClient.report({ + id: TLS_LEGACY.id, + actionGroup: TLS_LEGACY.id, + state: { + ...updateState(state, foundCerts), + ...summary, + }, }); - alertInstance.scheduleActions(TLS_LEGACY.id); } return { state: updateState(state, foundCerts) }; diff --git a/x-pack/plugins/uptime/server/legacy_uptime/lib/alerts/types.ts b/x-pack/plugins/uptime/server/legacy_uptime/lib/alerts/types.ts index c57f435b29a8a..1adefba8f9154 100644 --- a/x-pack/plugins/uptime/server/legacy_uptime/lib/alerts/types.ts +++ b/x-pack/plugins/uptime/server/legacy_uptime/lib/alerts/types.ts @@ -5,8 +5,14 @@ * 2.0. */ import { AlertTypeWithExecutor } from '@kbn/rule-registry-plugin/server'; -import { AlertInstanceContext } from '@kbn/alerting-plugin/common'; +import { + AlertInstanceContext, + AlertInstanceState, + RecoveredActionGroupId, +} from '@kbn/alerting-plugin/common'; +import { RuleType } from '@kbn/alerting-plugin/server'; import { LifecycleAlertServices } from '@kbn/rule-registry-plugin/server'; +import { DefaultAlert } from '@kbn/alerts-as-data-utils'; import { UMServerLibs } from '../lib'; import { UptimeCorePluginsSetup, UptimeServerSetup } from '../adapters'; @@ -28,3 +34,18 @@ export type UptimeAlertTypeFactory = ( libs: UMServerLibs, plugins: UptimeCorePluginsSetup ) => DefaultUptimeAlertInstance; + +export type LegacyUptimeRuleTypeFactory = ( + server: UptimeServerSetup, + libs: UMServerLibs, + plugins: UptimeCorePluginsSetup +) => RuleType< + Record, + never, + Record, + AlertInstanceState, + AlertInstanceContext, + TActionGroupIds, + RecoveredActionGroupId, + DefaultAlert +>; diff --git a/x-pack/plugins/uptime/server/legacy_uptime/uptime_server.ts b/x-pack/plugins/uptime/server/legacy_uptime/uptime_server.ts index dd01c36662e06..f02a3620fd37d 100644 --- a/x-pack/plugins/uptime/server/legacy_uptime/uptime_server.ts +++ b/x-pack/plugins/uptime/server/legacy_uptime/uptime_server.ts @@ -21,7 +21,7 @@ import { UptimeServerSetup, UptimeCorePluginsSetup } from './lib/adapters'; import { statusCheckAlertFactory } from './lib/alerts/status_check'; import { tlsAlertFactory } from './lib/alerts/tls'; -import { tlsLegacyAlertFactory } from './lib/alerts/tls_legacy'; +import { tlsLegacyRuleFactory } from './lib/alerts/tls_legacy'; import { durationAnomalyAlertFactory } from './lib/alerts/duration_anomaly'; import { licenseCheck } from './lib/domains'; @@ -144,7 +144,7 @@ export const initUptimeServer = ( } = plugins; const statusAlert = statusCheckAlertFactory(server, libs, plugins); - const tlsLegacyAlert = tlsLegacyAlertFactory(server, libs, plugins); + const tlsLegacyRule = tlsLegacyRuleFactory(server, libs, plugins); const tlsAlert = tlsAlertFactory(server, libs, plugins); const durationAlert = durationAnomalyAlertFactory(server, libs, plugins); @@ -159,5 +159,5 @@ export const initUptimeServer = ( /* TLS Legacy rule supported at least through 8.0. * Not registered with RAC */ - registerType(tlsLegacyAlert); + registerType(tlsLegacyRule); }; diff --git a/x-pack/test/api_integration/apis/slos/config.ts b/x-pack/test/api_integration/apis/slos/config.ts new file mode 100644 index 0000000000000..c755e2a46882d --- /dev/null +++ b/x-pack/test/api_integration/apis/slos/config.ts @@ -0,0 +1,29 @@ +/* + * 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 { FtrConfigProviderContext } from '@kbn/test'; + +export default async function ({ readConfigFile }: FtrConfigProviderContext) { + const baseIntegrationTestsConfig = await readConfigFile(require.resolve('../../config.ts')); + + return { + ...baseIntegrationTestsConfig.getAll(), + testFiles: [require.resolve('.')], + // overriding default timeouts from packages/kbn-test/src/functional_test_runner/lib/config/schema.ts + // so we can easily adjust them for serverless where needed + timeouts: { + find: 10 * 1000, + try: 120 * 1000, + waitFor: 20 * 1000, + esRequestTimeout: 30 * 1000, + kibanaReportCompletion: 60 * 1000, + kibanaStabilize: 15 * 1000, + navigateStatusPageCheck: 250, + waitForExists: 2500, + }, + }; +} diff --git a/x-pack/test/api_integration/apis/slos/create_slo.ts b/x-pack/test/api_integration/apis/slos/create_slo.ts new file mode 100644 index 0000000000000..485c113705463 --- /dev/null +++ b/x-pack/test/api_integration/apis/slos/create_slo.ts @@ -0,0 +1,273 @@ +/* + * 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 expect from '@kbn/expect'; +import type { CreateSLOInput } from '@kbn/slo-schema'; +import { SO_SLO_TYPE } from '@kbn/observability-plugin/server/saved_objects'; + +import { FtrProviderContext } from '../../ftr_provider_context'; +import { sloData } from './fixtures/create_slo'; + +export default function ({ getService }: FtrProviderContext) { + describe('Create SLOs', function () { + this.tags('skipCloud'); + + const supertestAPI = getService('supertest'); + const kibanaServer = getService('kibanaServer'); + const slo = getService('slo'); + + let createSLOInput: CreateSLOInput; + + before(async () => { + await slo.deleteAllSLOs(); + }); + + beforeEach(() => { + createSLOInput = sloData; + }); + + afterEach(async () => { + await slo.deleteAllSLOs(); + }); + + it('creates a new slo and transforms', async () => { + const apiResponse = await supertestAPI + .post('/api/observability/slos') + .set('kbn-xsrf', 'true') + .set('x-elastic-internal-origin', 'foo') + .send(createSLOInput) + .expect(200); + + expect(apiResponse.body).property('id'); + + const { id } = apiResponse.body; + + const savedObject = await kibanaServer.savedObjects.find({ + type: SO_SLO_TYPE, + }); + + expect(savedObject.saved_objects.length).eql(1); + + expect(savedObject.saved_objects[0].attributes).eql({ + budgetingMethod: 'occurrences', + updatedAt: savedObject.saved_objects[0].attributes.updatedAt, + createdAt: savedObject.saved_objects[0].attributes.createdAt, + description: 'Fixture for api integration tests', + enabled: true, + groupBy: 'tags', + id, + indicator: { + params: { + filter: 'system.network.name: eth1', + good: 'container.cpu.user.pct < 1', + index: 'kbn-data-forge*', + timestampField: '@timestamp', + total: 'container.cpu.user.pct: *', + }, + type: 'sli.kql.custom', + }, + name: 'Test SLO for api integration', + objective: { + target: 0.99, + }, + revision: 1, + settings: { + frequency: '1m', + syncDelay: '1m', + }, + tags: ['test'], + timeWindow: { + duration: '7d', + type: 'rolling', + }, + version: 2, + }); + + const rollUpTransformResponse = await supertestAPI + .get(`/internal/transform/transforms/slo-${id}-1`) + .set('kbn-xsrf', 'true') + .set('elastic-api-version', '1') + .send() + .expect(200); + + // expect roll up transform to be created + expect(rollUpTransformResponse.body).eql({ + count: 1, + transforms: [ + { + id: `slo-${id}-1`, + authorization: { roles: ['superuser'] }, + version: '10.0.0', + create_time: rollUpTransformResponse.body.transforms[0].create_time, + source: { + index: ['kbn-data-forge*'], + query: { + bool: { + filter: [ + { range: { '@timestamp': { gte: 'now-7d/d' } } }, + { + bool: { + should: [ + { + match: { + 'system.network.name': 'eth1', + }, + }, + ], + minimum_should_match: 1, + }, + }, + ], + }, + }, + runtime_mappings: { + 'slo.id': { + type: 'keyword', + script: { source: `emit('${id}')` }, + }, + 'slo.revision': { type: 'long', script: { source: 'emit(1)' } }, + }, + }, + dest: { + index: '.slo-observability.sli-v3', + pipeline: '.slo-observability.sli.pipeline-v3', + }, + frequency: '1m', + sync: { time: { field: '@timestamp', delay: '1m' } }, + pivot: { + group_by: { + 'slo.id': { terms: { field: 'slo.id' } }, + 'slo.revision': { terms: { field: 'slo.revision' } }, + 'slo.instanceId': { terms: { field: 'tags' } }, + 'slo.groupings.tags': { terms: { field: 'tags' } }, + '@timestamp': { date_histogram: { field: '@timestamp', fixed_interval: '1m' } }, + }, + aggregations: { + 'slo.numerator': { + filter: { + bool: { + should: [{ range: { 'container.cpu.user.pct': { lt: '1' } } }], + minimum_should_match: 1, + }, + }, + }, + 'slo.denominator': { + filter: { + bool: { + should: [{ exists: { field: 'container.cpu.user.pct' } }], + minimum_should_match: 1, + }, + }, + }, + }, + }, + description: `Rolled-up SLI data for SLO: Test SLO for api integration [id: ${id}, revision: 1]`, + settings: { deduce_mappings: false, unattended: true }, + _meta: { version: 3, managed: true, managed_by: 'observability' }, + }, + ], + }); + + const summaryTransform = await supertestAPI + .get(`/internal/transform/transforms/slo-summary-${id}-1`) + .set('kbn-xsrf', 'true') + .set('elastic-api-version', '1') + .send() + .expect(200); + + // expect summary transform to be created + expect(summaryTransform.body).eql({ + count: 1, + transforms: [ + { + id: `slo-summary-${id}-1`, + authorization: { roles: ['superuser'] }, + version: '10.0.0', + create_time: summaryTransform.body.transforms[0].create_time, + source: { + index: ['.slo-observability.sli-v3*'], + query: { + bool: { + filter: [ + { range: { '@timestamp': { gte: 'now-7d/m', lte: 'now/m' } } }, + { term: { 'slo.id': id } }, + { term: { 'slo.revision': 1 } }, + ], + }, + }, + }, + dest: { + index: '.slo-observability.summary-v3', + pipeline: `.slo-observability.summary.pipeline-${id}-1`, + }, + frequency: '1m', + sync: { time: { field: 'event.ingested', delay: '65s' } }, + pivot: { + group_by: { + 'slo.id': { terms: { field: 'slo.id' } }, + 'slo.revision': { terms: { field: 'slo.revision' } }, + 'slo.instanceId': { terms: { field: 'slo.instanceId' } }, + 'slo.groupings.tags': { + terms: { field: 'slo.groupings.tags' }, + }, + 'service.name': { terms: { field: 'service.name', missing_bucket: true } }, + 'service.environment': { + terms: { field: 'service.environment', missing_bucket: true }, + }, + 'transaction.name': { terms: { field: 'transaction.name', missing_bucket: true } }, + 'transaction.type': { terms: { field: 'transaction.type', missing_bucket: true } }, + }, + aggregations: { + goodEvents: { sum: { field: 'slo.numerator' } }, + totalEvents: { sum: { field: 'slo.denominator' } }, + sliValue: { + bucket_script: { + buckets_path: { goodEvents: 'goodEvents', totalEvents: 'totalEvents' }, + script: + 'if (params.totalEvents == 0) { return -1 } else if (params.goodEvents >= params.totalEvents) { return 1 } else { return params.goodEvents / params.totalEvents }', + }, + }, + errorBudgetInitial: { bucket_script: { buckets_path: {}, script: '1 - 0.99' } }, + errorBudgetConsumed: { + bucket_script: { + buckets_path: { + sliValue: 'sliValue', + errorBudgetInitial: 'errorBudgetInitial', + }, + script: + 'if (params.sliValue == -1) { return 0 } else { return (1 - params.sliValue) / params.errorBudgetInitial }', + }, + }, + errorBudgetRemaining: { + bucket_script: { + buckets_path: { errorBudgetConsumed: 'errorBudgetConsumed' }, + script: '1 - params.errorBudgetConsumed', + }, + }, + statusCode: { + bucket_script: { + buckets_path: { + sliValue: 'sliValue', + errorBudgetRemaining: 'errorBudgetRemaining', + }, + script: { + source: + 'if (params.sliValue == -1) { return 0 } else if (params.sliValue >= 0.99) { return 4 } else if (params.errorBudgetRemaining > 0) { return 2 } else { return 1 }', + }, + }, + }, + latestSliTimestamp: { max: { field: '@timestamp' } }, + }, + }, + description: `Summarise the rollup data of SLO: Test SLO for api integration [id: ${id}, revision: 1].`, + settings: { deduce_mappings: false, unattended: true }, + _meta: { version: 3, managed: true, managed_by: 'observability' }, + }, + ], + }); + }); + }); +} diff --git a/x-pack/test/api_integration/apis/slos/delete_slo.ts b/x-pack/test/api_integration/apis/slos/delete_slo.ts new file mode 100644 index 0000000000000..279f0e80464b2 --- /dev/null +++ b/x-pack/test/api_integration/apis/slos/delete_slo.ts @@ -0,0 +1,130 @@ +/* + * 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 { cleanup } from '@kbn/infra-forge'; +import expect from '@kbn/expect'; +import type { CreateSLOInput } from '@kbn/slo-schema'; +import { SO_SLO_TYPE } from '@kbn/observability-plugin/server/saved_objects'; + +import { FtrProviderContext } from '../../ftr_provider_context'; +import { sloData } from './fixtures/create_slo'; +import { loadTestData } from './helper/load_test_data'; +import { SloEsClient } from './helper/es'; + +export default function ({ getService }: FtrProviderContext) { + describe('Delete SLOs', function () { + this.tags('skipCloud'); + + const supertestAPI = getService('supertest'); + const kibanaServer = getService('kibanaServer'); + const esClient = getService('es'); + const logger = getService('log'); + const slo = getService('slo'); + const retry = getService('retry'); + const sloEsClient = new SloEsClient(esClient); + + let createSLOInput: CreateSLOInput; + + before(async () => { + await slo.deleteAllSLOs(); + await sloEsClient.deleteTestSourceData(); + loadTestData(getService); + }); + + beforeEach(() => { + createSLOInput = sloData; + }); + + afterEach(async () => { + await slo.deleteAllSLOs(); + }); + + after(async () => { + await cleanup({ esClient, logger }); + await sloEsClient.deleteTestSourceData(); + }); + + it('deletes new slo saved object and transforms', async () => { + const id = await slo.create(createSLOInput); + + const savedObject = await kibanaServer.savedObjects.find({ + type: SO_SLO_TYPE, + }); + + expect(savedObject.saved_objects.length).eql(1); + + expect(savedObject.saved_objects[0].attributes.id).eql(id); + + await retry.tryForTime(300 * 1000, async () => { + // expect summary and rollup data to exist + const sloSummaryResponse = await sloEsClient.getSLOSummaryDataById(id); + const sloRollupResponse = await sloEsClient.getSLORollupDataById(id); + + expect(sloSummaryResponse.hits.hits.length > 0).eql(true); + expect(sloRollupResponse.hits.hits.length > 0).eql(true); + + const rollUpTransformResponse = await supertestAPI + .get(`/internal/transform/transforms/slo-${id}-1`) + .set('kbn-xsrf', 'true') + .set('elastic-api-version', '1') + .send() + .expect(200); + + // expect roll up transform to be created + expect(rollUpTransformResponse.body.transforms[0].id).eql(`slo-${id}-1`); + + const summaryTransform = await supertestAPI + .get(`/internal/transform/transforms/slo-summary-${id}-1`) + .set('kbn-xsrf', 'true') + .set('elastic-api-version', '1') + .send() + .expect(200); + + // expect summary transform to be created + expect(summaryTransform.body.transforms[0].id).eql(`slo-summary-${id}-1`); + + await supertestAPI + .delete(`/api/observability/slos/${id}`) + .set('kbn-xsrf', 'true') + .send() + .expect(204); + }); + + // await retry.tryForTime(150 * 1000, async () => { + const savedObjectAfterDelete = await kibanaServer.savedObjects.find({ + type: SO_SLO_TYPE, + }); + + // SO should now be deleted + expect(savedObjectAfterDelete.saved_objects.length).eql(0); + + // roll up transform should be deleted + await supertestAPI + .get(`/internal/transform/transforms/slo-${id}-1`) + .set('kbn-xsrf', 'true') + .set('elastic-api-version', '1') + .send() + .expect(404); + + // summary transform should be deleted + await supertestAPI + .get(`/internal/transform/transforms/slo-summary-${id}-1`) + .set('kbn-xsrf', 'true') + .set('elastic-api-version', '1') + .send() + .expect(404); + + // expect summary and rollup documents to be deleted + await retry.tryForTime(60 * 1000, async () => { + const sloSummaryResponseAfterDeletion = await sloEsClient.getSLOSummaryDataById(id); + const sloRollupResponseAfterDeletion = await sloEsClient.getSLORollupDataById(id); + expect(sloSummaryResponseAfterDeletion.hits.hits.length).eql(0); + // sometimes the ingest pipeline ingests one extra document after the transform is stopped + expect(sloRollupResponseAfterDeletion.hits.hits.length <= 1).eql(true); + }); + }); + }); +} diff --git a/x-pack/test/api_integration/apis/slos/fixtures/create_slo.ts b/x-pack/test/api_integration/apis/slos/fixtures/create_slo.ts new file mode 100644 index 0000000000000..e252acbb3d34f --- /dev/null +++ b/x-pack/test/api_integration/apis/slos/fixtures/create_slo.ts @@ -0,0 +1,33 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import { CreateSLOInput } from '@kbn/slo-schema'; + +export const sloData: CreateSLOInput = { + name: 'Test SLO for api integration', + description: 'Fixture for api integration tests', + indicator: { + type: 'sli.kql.custom', + params: { + index: 'kbn-data-forge*', + filter: 'system.network.name: eth1', + good: 'container.cpu.user.pct < 1', + total: 'container.cpu.user.pct: *', + timestampField: '@timestamp', + }, + }, + budgetingMethod: 'occurrences', + timeWindow: { + duration: '7d', + type: 'rolling', + }, + objective: { + target: 0.99, + }, + tags: ['test'], + groupBy: 'tags', +}; diff --git a/x-pack/test/api_integration/apis/slos/get_slo.ts b/x-pack/test/api_integration/apis/slos/get_slo.ts new file mode 100644 index 0000000000000..b121000d6033c --- /dev/null +++ b/x-pack/test/api_integration/apis/slos/get_slo.ts @@ -0,0 +1,465 @@ +/* + * 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 { cleanup } from '@kbn/infra-forge'; +import expect from '@kbn/expect'; +import type { CreateSLOInput } from '@kbn/slo-schema'; + +import { FtrProviderContext } from '../../ftr_provider_context'; +import { loadTestData } from './helper/load_test_data'; +import { SloEsClient } from './helper/es'; +import { sloData } from './fixtures/create_slo'; + +export default function ({ getService }: FtrProviderContext) { + describe('Get SLOs', function () { + this.tags('skipCloud'); + + const supertestAPI = getService('supertest'); + const esClient = getService('es'); + const logger = getService('log'); + const retry = getService('retry'); + const slo = getService('slo'); + const sloEsClient = new SloEsClient(esClient); + + let createSLOInput: CreateSLOInput; + + const createSLO = async (requestOverrides?: Record) => { + return await slo.create({ + ...createSLOInput, + ...requestOverrides, + }); + }; + + before(async () => { + await slo.deleteAllSLOs(); + await sloEsClient.deleteTestSourceData(); + await loadTestData(getService); + }); + + beforeEach(async () => { + createSLOInput = sloData; + }); + + afterEach(async () => { + await slo.deleteAllSLOs(); + }); + + after(async () => { + await cleanup({ esClient, logger }); + await sloEsClient.deleteTestSourceData(); + }); + + it('gets slo by id and calculates SLI - occurances rolling', async () => { + const id = await createSLO({ + groupBy: '*', + }); + + await retry.tryForTime(300 * 1000, async () => { + const getResponse = await supertestAPI + .get(`/api/observability/slos/${id}`) + .set('kbn-xsrf', 'true') + .send() + .expect(200); + + expect(getResponse.body).eql({ + name: 'Test SLO for api integration', + description: 'Fixture for api integration tests', + indicator: { + type: 'sli.kql.custom', + params: { + index: 'kbn-data-forge*', + filter: `system.network.name: eth1`, + good: 'container.cpu.user.pct < 1', + total: 'container.cpu.user.pct: *', + timestampField: '@timestamp', + }, + }, + budgetingMethod: 'occurrences', + timeWindow: { duration: '7d', type: 'rolling' }, + objective: { target: 0.99 }, + tags: ['test'], + groupBy: '*', + id, + settings: { syncDelay: '1m', frequency: '1m' }, + revision: 1, + enabled: true, + createdAt: getResponse.body.createdAt, + updatedAt: getResponse.body.updatedAt, + version: 2, + instanceId: '*', + summary: { + sliValue: 0.5, + errorBudget: { + initial: 0.01, + consumed: 50, + remaining: -49, + isEstimated: false, + }, + status: 'VIOLATED', + }, + }); + }); + }); + + it('gets slo by id and calculates SLI - occurences calendarAligned', async () => { + const id = await createSLO({ + groupBy: '*', + timeWindow: { + duration: '1w', + type: 'calendarAligned', + }, + }); + + await retry.tryForTime(300 * 1000, async () => { + const getResponse = await supertestAPI + .get(`/api/observability/slos/${id}`) + .set('kbn-xsrf', 'true') + .send() + .expect(200); + + // expect summary transform to be created + expect(getResponse.body).eql({ + name: 'Test SLO for api integration', + description: 'Fixture for api integration tests', + indicator: { + type: 'sli.kql.custom', + params: { + index: 'kbn-data-forge*', + filter: `system.network.name: eth1`, + good: 'container.cpu.user.pct < 1', + total: 'container.cpu.user.pct: *', + timestampField: '@timestamp', + }, + }, + budgetingMethod: 'occurrences', + timeWindow: { duration: '1w', type: 'calendarAligned' }, + objective: { target: 0.99 }, + tags: ['test'], + groupBy: '*', + id, + settings: { syncDelay: '1m', frequency: '1m' }, + revision: 1, + enabled: true, + createdAt: getResponse.body.createdAt, + updatedAt: getResponse.body.updatedAt, + version: 2, + instanceId: '*', + summary: { + sliValue: 0.5, + errorBudget: { + initial: 0.01, + consumed: 50, + remaining: -49, + isEstimated: true, + }, + status: 'VIOLATED', + }, + }); + }); + }); + + it('gets slo by id and calculates SLI - timeslices rolling', async () => { + const id = await createSLO({ + groupBy: '*', + timeWindow: { + duration: '7d', + type: 'rolling', + }, + budgetingMethod: 'timeslices', + objective: { + target: 0.99, + timesliceTarget: 0.95, + timesliceWindow: '1m', + }, + }); + + await retry.tryForTime(300 * 1000, async () => { + const getResponse = await supertestAPI + .get(`/api/observability/slos/${id}`) + .set('kbn-xsrf', 'true') + .send() + .expect(200); + + // expect summary transform to be created + expect(getResponse.body).eql({ + name: 'Test SLO for api integration', + description: 'Fixture for api integration tests', + indicator: { + type: 'sli.kql.custom', + params: { + index: 'kbn-data-forge*', + filter: `system.network.name: eth1`, + good: 'container.cpu.user.pct < 1', + total: 'container.cpu.user.pct: *', + timestampField: '@timestamp', + }, + }, + budgetingMethod: 'timeslices', + timeWindow: { duration: '7d', type: 'rolling' }, + objective: { + target: 0.99, + timesliceTarget: 0.95, + timesliceWindow: '1m', + }, + tags: ['test'], + groupBy: '*', + id, + settings: { syncDelay: '1m', frequency: '1m' }, + revision: 1, + enabled: true, + createdAt: getResponse.body.createdAt, + updatedAt: getResponse.body.updatedAt, + version: 2, + instanceId: '*', + summary: { + sliValue: 0.5, + errorBudget: { + initial: 0.01, + consumed: 50, + remaining: -49, + isEstimated: false, + }, + status: 'VIOLATED', + }, + }); + }); + }); + + it('gets slo by id and calculates SLI - timeslices calendarAligned', async () => { + const id = await createSLO({ + groupBy: '*', + timeWindow: { + duration: '1w', + type: 'calendarAligned', + }, + budgetingMethod: 'timeslices', + objective: { + target: 0.99, + timesliceTarget: 0.95, + timesliceWindow: '10m', + }, + }); + + await retry.tryForTime(300 * 1000, async () => { + const getResponse = await supertestAPI + .get(`/api/observability/slos/${id}`) + .set('kbn-xsrf', 'true') + .send() + .expect(200); + + expect(getResponse.body).eql({ + name: 'Test SLO for api integration', + description: 'Fixture for api integration tests', + indicator: { + type: 'sli.kql.custom', + params: { + index: 'kbn-data-forge*', + filter: `system.network.name: eth1`, + good: 'container.cpu.user.pct < 1', + total: 'container.cpu.user.pct: *', + timestampField: '@timestamp', + }, + }, + budgetingMethod: 'timeslices', + timeWindow: { duration: '1w', type: 'calendarAligned' }, + objective: { + target: 0.99, + timesliceTarget: 0.95, + timesliceWindow: '10m', + }, + tags: ['test'], + groupBy: '*', + id, + settings: { syncDelay: '1m', frequency: '1m' }, + revision: 1, + enabled: true, + createdAt: getResponse.body.createdAt, + updatedAt: getResponse.body.updatedAt, + version: 2, + instanceId: '*', + summary: { + sliValue: 0, + errorBudget: { + initial: 0.01, + consumed: 0.198413, + remaining: 0.801587, + isEstimated: false, + }, + status: 'DEGRADING', + }, + }); + }); + }); + + it('gets slos by query', async () => { + const id = await createSLO(); + await createSLO({ name: 'test int' }); + + await retry.tryForTime(300 * 1000, async () => { + const response = await supertestAPI + .get(`/api/observability/slos`) + .set('kbn-xsrf', 'true') + .send() + .expect(200); + + expect(response.body.results.length).eql(2); + + const searchResponse = await supertestAPI + .get(`/api/observability/slos?kqlQuery=slo.name%3Aapi*`) + .set('kbn-xsrf', 'true') + .send() + .expect(200); + + expect(searchResponse.body.results.length).eql(1); + + const searchResponse2 = await supertestAPI + .get(`/api/observability/slos?kqlQuery=slo.name%3Aint`) + .set('kbn-xsrf', 'true') + .send() + .expect(200); + + expect(searchResponse2.body.results.length).eql(1); + + const searchResponse3 = await supertestAPI + .get(`/api/observability/slos?kqlQuery=slo.name%3Aint*`) + .set('kbn-xsrf', 'true') + .send() + .expect(200); + + expect(searchResponse3.body.results.length).eql(2); + + const searchResponse4 = await supertestAPI + .get(`/api/observability/slos?kqlQuery=int*`) + .set('kbn-xsrf', 'true') + .send() + .expect(200); + + expect(searchResponse4.body.results.length).eql(2); + + const instanceResponse = await supertestAPI + .get(`/internal/observability/slos/${id}/_instances`) + .set('kbn-xsrf', 'true') + .send() + .expect(200); + + // expect 3 instances to be created + expect(instanceResponse.body.groupBy).eql('tags'); + expect(instanceResponse.body.instances.sort()).eql(['1', '2', '3']); + }); + }); + + it('gets slo definitions', async () => { + const id = await createSLO(); + const secondId = await createSLO({ name: 'test name int' }); + const response = await supertestAPI + .get(`/api/observability/slos/_definitions`) + .set('kbn-xsrf', 'true') + .send() + .expect(200); + + expect(response.body).eql({ + page: 1, + perPage: 100, + results: [ + { + budgetingMethod: 'occurrences', + createdAt: response.body.results[0].createdAt, + description: 'Fixture for api integration tests', + enabled: true, + groupBy: 'tags', + id, + indicator: { + params: { + filter: 'system.network.name: eth1', + good: 'container.cpu.user.pct < 1', + index: 'kbn-data-forge*', + timestampField: '@timestamp', + total: 'container.cpu.user.pct: *', + }, + type: 'sli.kql.custom', + }, + name: 'Test SLO for api integration', + objective: { + target: 0.99, + }, + revision: 1, + settings: { + frequency: '1m', + syncDelay: '1m', + }, + tags: ['test'], + timeWindow: { + duration: '7d', + type: 'rolling', + }, + updatedAt: response.body.results[0].updatedAt, + version: 2, + }, + { + budgetingMethod: 'occurrences', + createdAt: response.body.results[1].createdAt, + description: 'Fixture for api integration tests', + enabled: true, + groupBy: 'tags', + id: secondId, + indicator: { + params: { + filter: 'system.network.name: eth1', + good: 'container.cpu.user.pct < 1', + index: 'kbn-data-forge*', + timestampField: '@timestamp', + total: 'container.cpu.user.pct: *', + }, + type: 'sli.kql.custom', + }, + name: 'test name int', + objective: { + target: 0.99, + }, + revision: 1, + settings: { + frequency: '1m', + syncDelay: '1m', + }, + tags: ['test'], + timeWindow: { + duration: '7d', + type: 'rolling', + }, + updatedAt: response.body.results[1].updatedAt, + version: 2, + }, + ], + total: 2, + }); + + // can search by name + const searchResponse = await supertestAPI + .get(`/api/observability/slos/_definitions?search=api`) + .set('kbn-xsrf', 'true') + .send() + .expect(200); + + expect(searchResponse.body.total).eql(1); + + const searchResponse2 = await supertestAPI + .get(`/api/observability/slos/_definitions?search=int`) + .set('kbn-xsrf', 'true') + .send() + .expect(200); + + expect(searchResponse2.body.total).eql(1); + + const searchResponse3 = await supertestAPI + .get(`/api/observability/slos/_definitions?search=int*`) + .set('kbn-xsrf', 'true') + .send() + .expect(200); + + expect(searchResponse3.body.total).eql(2); + }); + }); +} diff --git a/x-pack/test/api_integration/apis/slos/helper/es.ts b/x-pack/test/api_integration/apis/slos/helper/es.ts new file mode 100644 index 0000000000000..d1b50e625365a --- /dev/null +++ b/x-pack/test/api_integration/apis/slos/helper/es.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; you may not use this file except in compliance with the Elastic License + * 2.0. + */ +import { Client } from '@elastic/elasticsearch'; +import { + SLO_DESTINATION_INDEX_PATTERN, + SLO_SUMMARY_DESTINATION_INDEX_PATTERN, +} from '@kbn/observability-plugin/common/slo/constants'; + +export class SloEsClient { + constructor(private esClient: Client) {} + + public async getSLOSummaryDataById(id: string) { + return await this.esClient.search({ + index: SLO_SUMMARY_DESTINATION_INDEX_PATTERN, + body: { + query: { + bool: { + filter: [ + { + term: { 'slo.id': id }, + }, + { + term: { isTempDoc: false }, + }, + ], + }, + }, + }, + }); + } + + public async getSLORollupDataById(id: string) { + return await this.esClient.search({ + index: SLO_DESTINATION_INDEX_PATTERN, + body: { + query: { + bool: { + filter: [ + { + term: { 'slo.id': id }, + }, + ], + }, + }, + }, + }); + } + + public async deleteTestSourceData() { + try { + await this.esClient.deleteByQuery({ + index: 'kbn-data-forge-fake_hosts*', + query: { term: { 'system.network.name': 'eth1' } }, + }); + } catch (e) { + // eslint-disable-next-line no-console + console.warn('SLO api integration test data not found'); + } + } +} diff --git a/x-pack/test/api_integration/apis/slos/helper/load_test_data.ts b/x-pack/test/api_integration/apis/slos/helper/load_test_data.ts new file mode 100644 index 0000000000000..d1558a1357a91 --- /dev/null +++ b/x-pack/test/api_integration/apis/slos/helper/load_test_data.ts @@ -0,0 +1,23 @@ +/* + * 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 { generate } from '@kbn/infra-forge'; +import { FtrProviderContext } from '../../../ftr_provider_context'; + +export async function loadTestData(getService: FtrProviderContext['getService']) { + const DATE_VIEW = 'kbn-data-forge-fake_hosts'; + const DATA_VIEW_ID = 'data-view-id'; + const dataViewApi = getService('dataViewApi'); + const esClient = getService('es'); + const logger = getService('log'); + + await generate({ esClient, lookback: 'now-16m', logger }); + await dataViewApi.create({ + name: DATE_VIEW, + id: DATA_VIEW_ID, + title: DATE_VIEW, + }); +} diff --git a/x-pack/test/api_integration/apis/slos/index.ts b/x-pack/test/api_integration/apis/slos/index.ts new file mode 100644 index 0000000000000..6276dd4a4cf6f --- /dev/null +++ b/x-pack/test/api_integration/apis/slos/index.ts @@ -0,0 +1,18 @@ +/* + * 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 ({ loadTestFile }: FtrProviderContext) { + describe('SLO API Tests', () => { + loadTestFile(require.resolve('./create_slo')); + loadTestFile(require.resolve('./delete_slo')); + loadTestFile(require.resolve('./get_slo')); + loadTestFile(require.resolve('./update_slo')); + loadTestFile(require.resolve('./reset_slo')); + }); +} diff --git a/x-pack/test/api_integration/apis/slos/reset_slo.ts b/x-pack/test/api_integration/apis/slos/reset_slo.ts new file mode 100644 index 0000000000000..37dfbda0a882f --- /dev/null +++ b/x-pack/test/api_integration/apis/slos/reset_slo.ts @@ -0,0 +1,105 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ +import { cleanup } from '@kbn/infra-forge'; +import expect from '@kbn/expect'; +import { SO_SLO_TYPE } from '@kbn/observability-plugin/server/saved_objects'; + +import { FtrProviderContext } from '../../ftr_provider_context'; +import { loadTestData } from './helper/load_test_data'; +import { SloEsClient } from './helper/es'; + +export default function ({ getService }: FtrProviderContext) { + describe('Reset SLOs', function () { + this.tags('skipCloud'); + + const supertestAPI = getService('supertest'); + const kibanaServer = getService('kibanaServer'); + const esClient = getService('es'); + const logger = getService('log'); + const slo = getService('slo'); + const sloEsClient = new SloEsClient(esClient); + + before(async () => { + await sloEsClient.deleteTestSourceData(); + await slo.deleteAllSLOs(); + await loadTestData(getService); + }); + + afterEach(async () => { + await slo.deleteAllSLOs(); + }); + + after(async () => { + await cleanup({ esClient, logger }); + await sloEsClient.deleteTestSourceData(); + }); + + it('updates the SO and transforms', async () => { + // create mock old SLO + const id = 'bdaeccdd-dc63-4138-a1d5-92c075f88087'; + await kibanaServer.savedObjects.clean({ + types: [SO_SLO_TYPE], + }); + await kibanaServer.savedObjects.create({ + type: SO_SLO_TYPE, + overwrite: true, + id, + attributes: { + name: 'Test SLO for api integration', + description: 'Fixture for api integration tests', + indicator: { + type: 'sli.kql.custom', + params: { + index: 'kbn-data-forge*', + filter: 'system.network.name: eth1', + good: 'container.cpu.user.pct < 1', + total: 'container.cpu.user.pct: *', + timestampField: '@timestamp', + }, + }, + budgetingMethod: 'occurrences', + timeWindow: { duration: '7d', type: 'rolling' }, + objective: { target: 0.99 }, + tags: ['test'], + groupBy: '*', + id, + settings: { + syncDelay: '1m', + frequency: '1m', + }, + revision: 1, + enabled: true, + createdAt: '2023-12-14T01:12:35.638Z', + updatedAt: '2023-12-14T01:12:35.638Z', + version: 1, + }, + }); + + const responseBeforeReset = await supertestAPI + .get(`/api/observability/slos/_definitions`) + .set('kbn-xsrf', 'true') + .send() + .expect(200); + + expect(responseBeforeReset.body.results[0].version).eql(1); + + await supertestAPI + .post(`/api/observability/slos/${id}/_reset`) + .set('kbn-xsrf', 'true') + .send() + .expect(200); + + const responseAfterReset = await supertestAPI + .get(`/api/observability/slos/_definitions`) + .set('kbn-xsrf', 'true') + .send() + .expect(200); + + expect(responseAfterReset.body.results[0].version).eql(2); + }); + }); +} diff --git a/x-pack/test/api_integration/apis/slos/update_slo.ts b/x-pack/test/api_integration/apis/slos/update_slo.ts new file mode 100644 index 0000000000000..3d7e20baa32ff --- /dev/null +++ b/x-pack/test/api_integration/apis/slos/update_slo.ts @@ -0,0 +1,677 @@ +/* + * 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 { cleanup } from '@kbn/infra-forge'; +import expect from '@kbn/expect'; +import type { CreateSLOInput } from '@kbn/slo-schema'; +import { SO_SLO_TYPE } from '@kbn/observability-plugin/server/saved_objects'; + +import { FtrProviderContext } from '../../ftr_provider_context'; +import { loadTestData } from './helper/load_test_data'; +import { sloData } from './fixtures/create_slo'; + +export default function ({ getService }: FtrProviderContext) { + describe('Update SLOs', function () { + this.tags('skipCloud'); + + const supertestAPI = getService('supertest'); + const kibanaServer = getService('kibanaServer'); + const esClient = getService('es'); + const logger = getService('log'); + const slo = getService('slo'); + + let createSLOInput: CreateSLOInput; + + before(async () => { + await slo.deleteAllSLOs(); + await loadTestData(getService); + }); + + beforeEach(() => { + createSLOInput = sloData; + }); + + afterEach(async () => { + await slo.deleteAllSLOs(); + }); + + after(async () => { + await cleanup({ esClient, logger }); + }); + + it('updates the SO and transforms', async () => { + const apiResponse = await supertestAPI + .post('/api/observability/slos') + .set('kbn-xsrf', 'true') + .send(createSLOInput) + .expect(200); + + expect(apiResponse.body).property('id'); + + const { id } = apiResponse.body; + + await supertestAPI + .put(`/api/observability/slos/${id}`) + .set('kbn-xsrf', 'true') + .send({ + ...createSLOInput, + groupBy: 'hosts', + }) + .expect(200); + + const savedObject = await kibanaServer.savedObjects.find({ + type: SO_SLO_TYPE, + }); + + expect(savedObject.saved_objects.length).eql(1); + + expect(savedObject.saved_objects[0].attributes).eql({ + budgetingMethod: 'occurrences', + updatedAt: savedObject.saved_objects[0].attributes.updatedAt, + createdAt: savedObject.saved_objects[0].attributes.createdAt, + description: 'Fixture for api integration tests', + enabled: true, + groupBy: 'hosts', + id, + indicator: { + params: { + filter: 'system.network.name: eth1', + good: 'container.cpu.user.pct < 1', + index: 'kbn-data-forge*', + timestampField: '@timestamp', + total: 'container.cpu.user.pct: *', + }, + type: 'sli.kql.custom', + }, + name: 'Test SLO for api integration', + objective: { + target: 0.99, + }, + revision: 2, + settings: { + frequency: '1m', + syncDelay: '1m', + }, + tags: ['test'], + timeWindow: { + duration: '7d', + type: 'rolling', + }, + version: 2, + }); + + const rollUpTransformResponse = await supertestAPI + .get(`/internal/transform/transforms/slo-${id}-2`) + .set('kbn-xsrf', 'true') + .set('elastic-api-version', '1') + .send() + .expect(200); + + // expect roll up transform to be created + expect(rollUpTransformResponse.body).eql({ + count: 1, + transforms: [ + { + id: `slo-${id}-2`, + authorization: { roles: ['superuser'] }, + version: '10.0.0', + create_time: rollUpTransformResponse.body.transforms[0].create_time, + source: { + index: ['kbn-data-forge*'], + query: { + bool: { + filter: [ + { range: { '@timestamp': { gte: 'now-7d/d' } } }, + { + bool: { + should: [ + { + match: { + 'system.network.name': 'eth1', + }, + }, + ], + minimum_should_match: 1, + }, + }, + ], + }, + }, + runtime_mappings: { + 'slo.id': { + type: 'keyword', + script: { source: `emit('${id}')` }, + }, + 'slo.revision': { type: 'long', script: { source: 'emit(2)' } }, + }, + }, + dest: { + index: '.slo-observability.sli-v3', + pipeline: '.slo-observability.sli.pipeline-v3', + }, + frequency: '1m', + sync: { time: { field: '@timestamp', delay: '1m' } }, + pivot: { + group_by: { + 'slo.id': { terms: { field: 'slo.id' } }, + 'slo.revision': { terms: { field: 'slo.revision' } }, + 'slo.instanceId': { terms: { field: 'hosts' } }, + 'slo.groupings.hosts': { terms: { field: 'hosts' } }, + '@timestamp': { date_histogram: { field: '@timestamp', fixed_interval: '1m' } }, + }, + aggregations: { + 'slo.numerator': { + filter: { + bool: { + should: [{ range: { 'container.cpu.user.pct': { lt: '1' } } }], + minimum_should_match: 1, + }, + }, + }, + 'slo.denominator': { + filter: { + bool: { + should: [{ exists: { field: 'container.cpu.user.pct' } }], + minimum_should_match: 1, + }, + }, + }, + }, + }, + description: `Rolled-up SLI data for SLO: Test SLO for api integration [id: ${id}, revision: 2]`, + settings: { deduce_mappings: false, unattended: true }, + _meta: { version: 3, managed: true, managed_by: 'observability' }, + }, + ], + }); + + const summaryTransform = await supertestAPI + .get(`/internal/transform/transforms/slo-summary-${id}-2`) + .set('kbn-xsrf', 'true') + .set('elastic-api-version', '1') + .send() + .expect(200); + + // expect summary transform to be created + expect(summaryTransform.body).eql({ + count: 1, + transforms: [ + { + id: `slo-summary-${id}-2`, + authorization: { roles: ['superuser'] }, + version: '10.0.0', + create_time: summaryTransform.body.transforms[0].create_time, + source: { + index: ['.slo-observability.sli-v3*'], + query: { + bool: { + filter: [ + { range: { '@timestamp': { gte: 'now-7d/m', lte: 'now/m' } } }, + { term: { 'slo.id': id } }, + { term: { 'slo.revision': 2 } }, + ], + }, + }, + }, + dest: { + index: '.slo-observability.summary-v3', + pipeline: `.slo-observability.summary.pipeline-${id}-2`, + }, + frequency: '1m', + sync: { time: { field: 'event.ingested', delay: '65s' } }, + pivot: { + group_by: { + 'slo.id': { terms: { field: 'slo.id' } }, + 'slo.revision': { terms: { field: 'slo.revision' } }, + 'slo.instanceId': { terms: { field: 'slo.instanceId' } }, + 'slo.groupings.hosts': { + terms: { field: 'slo.groupings.hosts' }, + }, + 'service.name': { terms: { field: 'service.name', missing_bucket: true } }, + 'service.environment': { + terms: { field: 'service.environment', missing_bucket: true }, + }, + 'transaction.name': { terms: { field: 'transaction.name', missing_bucket: true } }, + 'transaction.type': { terms: { field: 'transaction.type', missing_bucket: true } }, + }, + aggregations: { + goodEvents: { sum: { field: 'slo.numerator' } }, + totalEvents: { sum: { field: 'slo.denominator' } }, + sliValue: { + bucket_script: { + buckets_path: { goodEvents: 'goodEvents', totalEvents: 'totalEvents' }, + script: + 'if (params.totalEvents == 0) { return -1 } else if (params.goodEvents >= params.totalEvents) { return 1 } else { return params.goodEvents / params.totalEvents }', + }, + }, + errorBudgetInitial: { bucket_script: { buckets_path: {}, script: '1 - 0.99' } }, + errorBudgetConsumed: { + bucket_script: { + buckets_path: { + sliValue: 'sliValue', + errorBudgetInitial: 'errorBudgetInitial', + }, + script: + 'if (params.sliValue == -1) { return 0 } else { return (1 - params.sliValue) / params.errorBudgetInitial }', + }, + }, + errorBudgetRemaining: { + bucket_script: { + buckets_path: { errorBudgetConsumed: 'errorBudgetConsumed' }, + script: '1 - params.errorBudgetConsumed', + }, + }, + statusCode: { + bucket_script: { + buckets_path: { + sliValue: 'sliValue', + errorBudgetRemaining: 'errorBudgetRemaining', + }, + script: { + source: + 'if (params.sliValue == -1) { return 0 } else if (params.sliValue >= 0.99) { return 4 } else if (params.errorBudgetRemaining > 0) { return 2 } else { return 1 }', + }, + }, + }, + latestSliTimestamp: { max: { field: '@timestamp' } }, + }, + }, + description: `Summarise the rollup data of SLO: Test SLO for api integration [id: ${id}, revision: 2].`, + settings: { deduce_mappings: false, unattended: true }, + _meta: { version: 3, managed: true, managed_by: 'observability' }, + }, + ], + }); + }); + + it('updates an existing slo and does not update transforms when relevant fields are changed', async () => { + const request = createSLOInput; + + const apiResponse = await supertestAPI + .post('/api/observability/slos') + .set('kbn-xsrf', 'true') + .send(request) + .expect(200); + + expect(apiResponse.body).property('id'); + + const { id } = apiResponse.body; + + const savedObject = await kibanaServer.savedObjects.find({ + type: SO_SLO_TYPE, + }); + + expect(savedObject.saved_objects.length).eql(1); + + await supertestAPI + .get(`/internal/transform/transforms/slo-${id}-1`) + .set('kbn-xsrf', 'true') + .set('elastic-api-version', '1') + .send() + .expect(200); + + await supertestAPI + .get(`/internal/transform/transforms/slo-summary-${id}-1`) + .set('kbn-xsrf', 'true') + .set('elastic-api-version', '1') + .send() + .expect(200); + + // change name + await supertestAPI + .put(`/api/observability/slos/${id}`) + .set('kbn-xsrf', 'true') + .send({ + ...request, + name: 'test name', + }) + .expect(200); + + await supertestAPI + .get(`/internal/transform/transforms/slo-${id}-1`) + .set('kbn-xsrf', 'true') + .set('elastic-api-version', '1') + .send() + .expect(200); + + await supertestAPI + .get(`/internal/transform/transforms/slo-summary-${id}-1`) + .set('kbn-xsrf', 'true') + .set('elastic-api-version', '1') + .send() + .expect(200); + + // change description + await supertestAPI + .put(`/api/observability/slos/${id}`) + .set('kbn-xsrf', 'true') + .send({ + ...request, + description: 'test description', + }) + .expect(200); + + await supertestAPI + .get(`/internal/transform/transforms/slo-${id}-1`) + .set('kbn-xsrf', 'true') + .set('elastic-api-version', '1') + .send() + .expect(200); + + await supertestAPI + .get(`/internal/transform/transforms/slo-summary-${id}-1`) + .set('kbn-xsrf', 'true') + .set('elastic-api-version', '1') + .send() + .expect(200); + + // change tags + await supertestAPI + .put(`/api/observability/slos/${id}`) + .set('kbn-xsrf', 'true') + .send({ + ...request, + tags: ['testTag'], + }) + .expect(200); + + await supertestAPI + .get(`/internal/transform/transforms/slo-${id}-1`) + .set('kbn-xsrf', 'true') + .set('elastic-api-version', '1') + .send() + .expect(200); + + await supertestAPI + .get(`/internal/transform/transforms/slo-summary-${id}-1`) + .set('kbn-xsrf', 'true') + .set('elastic-api-version', '1') + .send() + .expect(200); + }); + + it('updates an existing slo and updates transforms when relevant fields are changed', async () => { + const request = createSLOInput; + + const apiResponse = await supertestAPI + .post('/api/observability/slos') + .set('kbn-xsrf', 'true') + .send(request) + .expect(200); + + expect(apiResponse.body).property('id'); + + const { id } = apiResponse.body; + + const savedObject = await kibanaServer.savedObjects.find({ + type: SO_SLO_TYPE, + }); + + expect(savedObject.saved_objects.length).eql(1); + + await supertestAPI + .get(`/internal/transform/transforms/slo-${id}-1`) + .set('kbn-xsrf', 'true') + .set('elastic-api-version', '1') + .send() + .expect(200); + + await supertestAPI + .get(`/internal/transform/transforms/slo-summary-${id}-1`) + .set('kbn-xsrf', 'true') + .set('elastic-api-version', '1') + .send() + .expect(200); + + // change group by + await supertestAPI + .put(`/api/observability/slos/${id}`) + .set('kbn-xsrf', 'true') + .send({ + ...request, + groupBy: 'hosts', + }) + .expect(200); + + await supertestAPI + .get(`/internal/transform/transforms/slo-${id}-1`) + .set('kbn-xsrf', 'true') + .set('elastic-api-version', '1') + .send() + .expect(404); + + await supertestAPI + .get(`/internal/transform/transforms/slo-summary-${id}-1`) + .set('kbn-xsrf', 'true') + .set('elastic-api-version', '1') + .send() + .expect(404); + + await supertestAPI + .get(`/internal/transform/transforms/slo-${id}-2`) + .set('kbn-xsrf', 'true') + .set('elastic-api-version', '1') + .send() + .expect(200); + + await supertestAPI + .get(`/internal/transform/transforms/slo-summary-${id}-2`) + .set('kbn-xsrf', 'true') + .set('elastic-api-version', '1') + .send() + .expect(200); + + // change indicator + await supertestAPI + .put(`/api/observability/slos/${id}`) + .set('kbn-xsrf', 'true') + .send({ + ...request, + indicator: { + ...request.indicator, + params: { + ...request.indicator.params, + index: 'test-index-*', + }, + }, + }) + .expect(200); + + await supertestAPI + .get(`/internal/transform/transforms/slo-${id}-2`) + .set('kbn-xsrf', 'true') + .set('elastic-api-version', '1') + .send() + .expect(404); + + await supertestAPI + .get(`/internal/transform/transforms/slo-summary-${id}-2`) + .set('kbn-xsrf', 'true') + .set('elastic-api-version', '1') + .send() + .expect(404); + + await supertestAPI + .get(`/internal/transform/transforms/slo-${id}-3`) + .set('kbn-xsrf', 'true') + .set('elastic-api-version', '1') + .send() + .expect(200); + + await supertestAPI + .get(`/internal/transform/transforms/slo-summary-${id}-3`) + .set('kbn-xsrf', 'true') + .set('elastic-api-version', '1') + .send() + .expect(200); + + // change time window + await supertestAPI + .put(`/api/observability/slos/${id}`) + .set('kbn-xsrf', 'true') + .send({ + ...request, + timeWindow: { + ...request.timeWindow, + duration: '7d', + }, + }) + .expect(200); + + await supertestAPI + .get(`/internal/transform/transforms/slo-${id}-3`) + .set('kbn-xsrf', 'true') + .set('elastic-api-version', '1') + .send() + .expect(404); + + await supertestAPI + .get(`/internal/transform/transforms/slo-summary-${id}-3`) + .set('kbn-xsrf', 'true') + .set('elastic-api-version', '1') + .send() + .expect(404); + + await supertestAPI + .get(`/internal/transform/transforms/slo-${id}-4`) + .set('kbn-xsrf', 'true') + .set('elastic-api-version', '1') + .send() + .expect(200); + + await supertestAPI + .get(`/internal/transform/transforms/slo-summary-${id}-4`) + .set('kbn-xsrf', 'true') + .set('elastic-api-version', '1') + .send() + .expect(200); + + // change objective + await supertestAPI + .put(`/api/observability/slos/${id}`) + .set('kbn-xsrf', 'true') + .send({ + ...request, + objective: { + target: 0.97, + }, + }) + .expect(200); + + await supertestAPI + .get(`/internal/transform/transforms/slo-${id}-4`) + .set('kbn-xsrf', 'true') + .set('elastic-api-version', '1') + .send() + .expect(404); + + await supertestAPI + .get(`/internal/transform/transforms/slo-summary-${id}-4`) + .set('kbn-xsrf', 'true') + .set('elastic-api-version', '1') + .send() + .expect(404); + + await supertestAPI + .get(`/internal/transform/transforms/slo-${id}-5`) + .set('kbn-xsrf', 'true') + .set('elastic-api-version', '1') + .send() + .expect(200); + + await supertestAPI + .get(`/internal/transform/transforms/slo-summary-${id}-5`) + .set('kbn-xsrf', 'true') + .set('elastic-api-version', '1') + .send() + .expect(200); + + // change budgetingMethod + await supertestAPI + .put(`/api/observability/slos/${id}`) + .set('kbn-xsrf', 'true') + .send({ + ...request, + budgetingMethod: 'timeslices', + objective: { + target: 0.99, + timesliceTarget: 0.95, + timesliceWindow: '1m', + }, + }) + .expect(200); + + await supertestAPI + .get(`/internal/transform/transforms/slo-${id}-5`) + .set('kbn-xsrf', 'true') + .set('elastic-api-version', '1') + .send() + .expect(404); + + await supertestAPI + .get(`/internal/transform/transforms/slo-summary-${id}-5`) + .set('kbn-xsrf', 'true') + .set('elastic-api-version', '1') + .send() + .expect(404); + + await supertestAPI + .get(`/internal/transform/transforms/slo-${id}-6`) + .set('kbn-xsrf', 'true') + .set('elastic-api-version', '1') + .send() + .expect(200); + + await supertestAPI + .get(`/internal/transform/transforms/slo-summary-${id}-6`) + .set('kbn-xsrf', 'true') + .set('elastic-api-version', '1') + .send() + .expect(200); + + // change settings + await supertestAPI + .put(`/api/observability/slos/${id}`) + .set('kbn-xsrf', 'true') + .send({ + ...request, + settings: { + frequency: '2m', + syncDelay: '5m', + }, + }) + .expect(200); + + await supertestAPI + .get(`/internal/transform/transforms/slo-${id}-6`) + .set('kbn-xsrf', 'true') + .set('elastic-api-version', '1') + .send() + .expect(404); + + await supertestAPI + .get(`/internal/transform/transforms/slo-summary-${id}-6`) + .set('kbn-xsrf', 'true') + .set('elastic-api-version', '1') + .send() + .expect(404); + + await supertestAPI + .get(`/internal/transform/transforms/slo-${id}-7`) + .set('kbn-xsrf', 'true') + .set('elastic-api-version', '1') + .send() + .expect(200); + + await supertestAPI + .get(`/internal/transform/transforms/slo-summary-${id}-7`) + .set('kbn-xsrf', 'true') + .set('elastic-api-version', '1') + .send() + .expect(200); + }); + }); +} diff --git a/x-pack/test/api_integration/services/data_view_api.ts b/x-pack/test/api_integration/services/data_view_api.ts new file mode 100644 index 0000000000000..430ff60aac1e2 --- /dev/null +++ b/x-pack/test/api_integration/services/data_view_api.ts @@ -0,0 +1,52 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import { FtrProviderContext } from '../ftr_provider_context'; + +export function DataViewApiProvider({ getService }: FtrProviderContext) { + const supertest = getService('supertest'); + + return { + async create({ id, name, title }: { id: string; name: string; title: string }) { + const { body } = await supertest + .post(`/api/content_management/rpc/create`) + .set('kbn-xsrf', 'foo') + .set('x-elastic-internal-origin', 'foo') + .send({ + contentTypeId: 'index-pattern', + data: { + fieldAttrs: '{}', + title, + timeFieldName: '@timestamp', + sourceFilters: '[]', + fields: '[]', + fieldFormatMap: '{}', + typeMeta: '{}', + runtimeFieldMap: '{}', + name, + }, + options: { id }, + version: 1, + }); + return body; + }, + + async delete({ id }: { id: string }) { + const { body } = await supertest + .post(`/api/content_management/rpc/delete`) + .set('kbn-xsrf', 'foo') + .set('x-elastic-internal-origin', 'foo') + .send({ + contentTypeId: 'index-pattern', + id, + options: { force: true }, + version: 1, + }); + return body; + }, + }; +} diff --git a/x-pack/test/api_integration/services/index.ts b/x-pack/test/api_integration/services/index.ts index 1f8d4576d908d..edfaf5b668d2e 100644 --- a/x-pack/test/api_integration/services/index.ts +++ b/x-pack/test/api_integration/services/index.ts @@ -22,6 +22,8 @@ import { IngestManagerProvider } from '../../common/services/ingest_manager'; import { TransformProvider } from './transform'; import { IngestPipelinesProvider } from './ingest_pipelines'; import { IndexManagementProvider } from './index_management'; +import { DataViewApiProvider } from './data_view_api'; +import { SloApiProvider } from './slo'; export const services = { ...commonServices, @@ -30,6 +32,7 @@ export const services = { supertest: kibanaApiIntegrationServices.supertest, aiops: AiopsProvider, + dataViewApi: DataViewApiProvider, esSupertestWithoutAuth: EsSupertestWithoutAuthProvider, infraOpsSourceConfiguration: InfraOpsSourceConfigurationProvider, supertestWithoutAuth: SupertestWithoutAuthProvider, @@ -39,4 +42,5 @@ export const services = { transform: TransformProvider, ingestPipelines: IngestPipelinesProvider, indexManagement: IndexManagementProvider, + slo: SloApiProvider, }; diff --git a/x-pack/test/api_integration/services/slo.ts b/x-pack/test/api_integration/services/slo.ts new file mode 100644 index 0000000000000..c6d400d2452ce --- /dev/null +++ b/x-pack/test/api_integration/services/slo.ts @@ -0,0 +1,51 @@ +/* + * 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 { CreateSLOInput, FindSLODefinitionsResponse } from '@kbn/slo-schema'; +import { FtrProviderContext } from '../ftr_provider_context'; + +export function SloApiProvider({ getService }: FtrProviderContext) { + const supertest = getService('supertest'); + + return { + async create(params: CreateSLOInput) { + const slo = await supertest + .post('/api/observability/slos') + .set('kbn-xsrf', 'true') + .send(params) + .expect(200); + + const { id } = slo.body; + + const reqBody = [{ id: `slo-${id}-1` }, { id: `slo-summary-${id}-1` }]; + await supertest + .post(`/internal/transform/schedule_now_transforms`) + .set('kbn-xsrf', 'true') + .set('elastic-api-version', '1') + .send(reqBody) + .expect(200); + + return id; + }, + async deleteAllSLOs() { + const response = await supertest + .get(`/api/observability/slos/_definitions`) + .set('kbn-xsrf', 'true') + .send() + .expect(200); + await Promise.all( + (response.body as FindSLODefinitionsResponse).results.map(({ id }) => { + return supertest + .delete(`/api/observability/slos/${id}`) + .set('kbn-xsrf', 'true') + .send() + .expect(204); + }) + ); + }, + }; +} diff --git a/x-pack/test/apm_api_integration/tests/alerts/error_count_threshold.spec.ts b/x-pack/test/apm_api_integration/tests/alerts/error_count_threshold.spec.ts index 12a492bda7cf1..ea01c7c28c801 100644 --- a/x-pack/test/apm_api_integration/tests/alerts/error_count_threshold.spec.ts +++ b/x-pack/test/apm_api_integration/tests/alerts/error_count_threshold.spec.ts @@ -33,8 +33,7 @@ export default function ApiTest({ getService }: FtrProviderContext) { const apmApiClient = getService('apmApiClient'); const synthtraceEsClient = getService('synthtraceEsClient'); - // FAILING VERSION BUMP: https://github.com/elastic/kibana/issues/172764 - registry.when.skip('error count threshold alert', { config: 'basic', archives: [] }, () => { + registry.when('error count threshold alert', { config: 'basic', archives: [] }, () => { const javaErrorMessage = 'a java error'; const phpErrorMessage = 'a php error'; @@ -52,7 +51,7 @@ export default function ApiTest({ getService }: FtrProviderContext) { ], }; - before(async () => { + before(() => { const opbeansJava = apm .service({ name: 'opbeans-java', environment: 'production', agentName: 'java' }) .instance('instance'); @@ -97,12 +96,10 @@ export default function ApiTest({ getService }: FtrProviderContext) { ]; }); - await Promise.all([synthtraceEsClient.index(events), synthtraceEsClient.index(phpEvents)]); + return Promise.all([synthtraceEsClient.index(events), synthtraceEsClient.index(phpEvents)]); }); - after(async () => { - await synthtraceEsClient.clean(); - }); + after(() => synthtraceEsClient.clean()); describe('create rule without kql filter', () => { let ruleId: string; diff --git a/x-pack/test/functional/apps/discover/__snapshots__/reporting.snap b/x-pack/test/functional/apps/discover/__snapshots__/reporting.snap index 9d1f3633eb374..97378b7541927 100644 --- a/x-pack/test/functional/apps/discover/__snapshots__/reporting.snap +++ b/x-pack/test/functional/apps/discover/__snapshots__/reporting.snap @@ -1649,6 +1649,18 @@ exports[`discover Discover CSV Export Generate CSV: archived search generates a " `; +exports[`discover Discover CSV Export Generate CSV: new search generate a report using ES|QL 1`] = ` +"\\"total_sales\\",\\"day_of_week\\" +\\"58215.58984375\\",Friday +\\"57807.375\\",Thursday +\\"53841.03515625\\",Saturday +\\"45850.0546875\\",Sunday +\\"45410.2890625\\",Monday +\\"45080.90625\\",Wednesday +\\"44678.87890625\\",Tuesday +" +`; + exports[`discover Discover CSV Export Generate CSV: new search generates a large export 1`] = ` "\\"_id\\",\\"_index\\",\\"_score\\",category,\\"category.keyword\\",currency,\\"customer_first_name\\",\\"customer_first_name.keyword\\",\\"customer_full_name\\",\\"customer_full_name.keyword\\",\\"customer_gender\\",\\"customer_id\\",\\"customer_last_name\\",\\"customer_last_name.keyword\\",\\"customer_phone\\",\\"day_of_week\\",\\"day_of_week_i\\",email,\\"geoip.city_name\\",\\"geoip.continent_name\\",\\"geoip.country_iso_code\\",\\"geoip.location\\",\\"geoip.region_name\\",manufacturer,\\"manufacturer.keyword\\",\\"order_date\\",\\"order_id\\",\\"products._id\\",\\"products._id.keyword\\",\\"products.base_price\\",\\"products.base_unit_price\\",\\"products.category\\",\\"products.category.keyword\\",\\"products.created_on\\",\\"products.discount_amount\\",\\"products.discount_percentage\\",\\"products.manufacturer\\",\\"products.manufacturer.keyword\\",\\"products.min_price\\",\\"products.price\\",\\"products.product_id\\",\\"products.product_name\\",\\"products.product_name.keyword\\",\\"products.quantity\\",\\"products.sku\\",\\"products.tax_amount\\",\\"products.taxful_price\\",\\"products.taxless_price\\",\\"products.unit_discount_amount\\",sku,\\"taxful_total_price\\",\\"taxless_total_price\\",\\"total_quantity\\",\\"total_unique_products\\",type,user 3AMtOW0BH63Xcmy432DJ,ecommerce,\\"-\\",\\"Men's Shoes, Men's Clothing, Women's Accessories, Men's Accessories\\",\\"Men's Shoes, Men's Clothing, Women's Accessories, Men's Accessories\\",EUR,\\"Sultan Al\\",\\"Sultan Al\\",\\"Sultan Al Boone\\",\\"Sultan Al Boone\\",MALE,19,Boone,Boone,\\"(empty)\\",Saturday,5,\\"sultan al@boone-family.zzz\\",\\"Abu Dhabi\\",Asia,AE,\\"POINT (54.4 24.5)\\",\\"Abu Dhabi\\",\\"Angeldale, Oceanavigations, Microlutions\\",\\"Angeldale, Oceanavigations, Microlutions\\",\\"Jul 12, 2019 @ 00:00:00.000\\",716724,\\"sold_product_716724_23975, sold_product_716724_6338, sold_product_716724_14116, sold_product_716724_15290\\",\\"sold_product_716724_23975, sold_product_716724_6338, sold_product_716724_14116, sold_product_716724_15290\\",\\"80, 60, 21.984, 11.992\\",\\"80, 60, 21.984, 11.992\\",\\"Men's Shoes, Men's Clothing, Women's Accessories, Men's Accessories\\",\\"Men's Shoes, Men's Clothing, Women's Accessories, Men's Accessories\\",\\"Dec 31, 2016 @ 00:00:00.000, Dec 31, 2016 @ 00:00:00.000, Dec 31, 2016 @ 00:00:00.000, Dec 31, 2016 @ 00:00:00.000\\",\\"0, 0, 0, 0\\",\\"0, 0, 0, 0\\",\\"Angeldale, Oceanavigations, Microlutions, Oceanavigations\\",\\"Angeldale, Oceanavigations, Microlutions, Oceanavigations\\",\\"42.375, 33, 10.344, 6.109\\",\\"80, 60, 21.984, 11.992\\",\\"23,975, 6,338, 14,116, 15,290\\",\\"Winter boots - cognac, Trenchcoat - black, Watch - black, Hat - light grey multicolor\\",\\"Winter boots - cognac, Trenchcoat - black, Watch - black, Hat - light grey multicolor\\",\\"1, 1, 1, 1\\",\\"ZO0687606876, ZO0290502905, ZO0126701267, ZO0308503085\\",\\"0, 0, 0, 0\\",\\"80, 60, 21.984, 11.992\\",\\"80, 60, 21.984, 11.992\\",\\"0, 0, 0, 0\\",\\"ZO0687606876, ZO0290502905, ZO0126701267, ZO0308503085\\",174,174,4,4,order,sultan diff --git a/x-pack/test/functional/apps/discover/reporting.ts b/x-pack/test/functional/apps/discover/reporting.ts index 173869a85465f..25e451cabf992 100644 --- a/x-pack/test/functional/apps/discover/reporting.ts +++ b/x-pack/test/functional/apps/discover/reporting.ts @@ -18,7 +18,15 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) { const kibanaServer = getService('kibanaServer'); const browser = getService('browser'); const retry = getService('retry'); - const PageObjects = getPageObjects(['reporting', 'common', 'discover', 'timePicker', 'share']); + const PageObjects = getPageObjects([ + 'reporting', + 'common', + 'discover', + 'timePicker', + 'share', + 'header', + ]); + const monacoEditor = getService('monacoEditor'); const filterBar = getService('filterBar'); const find = getService('find'); const testSubjects = getService('testSubjects'); @@ -170,6 +178,22 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) { expectSnapshot(csvFile.slice(0, 5000)).toMatch(); expectSnapshot(csvFile.slice(-5000)).toMatch(); }); + + it('generate a report using ES|QL', async () => { + await PageObjects.discover.selectTextBaseLang(); + const testQuery = `from ecommerce | STATS total_sales = SUM(taxful_total_price) BY day_of_week | SORT total_sales DESC`; + + await monacoEditor.setCodeEditorValue(testQuery); + await testSubjects.click('querySubmitButton'); + await PageObjects.header.waitUntilLoadingHasFinished(); + + const res = await getReport(); + expect(res.status).to.equal(200); + expect(res.get('content-type')).to.equal('text/csv; charset=utf-8'); + + const csvFile = res.text; + expectSnapshot(csvFile).toMatch(); + }); }); describe('Generate CSV: sparse data', () => { diff --git a/x-pack/test/reporting_api_integration/reporting_and_security/__snapshots__/csv_v2_esql.snap b/x-pack/test/reporting_api_integration/reporting_and_security/__snapshots__/csv_v2_esql.snap new file mode 100644 index 0000000000000..9189b71f4d5c8 --- /dev/null +++ b/x-pack/test/reporting_api_integration/reporting_and_security/__snapshots__/csv_v2_esql.snap @@ -0,0 +1,40 @@ +// Jest Snapshot v1, https://goo.gl/fbAQLP + +exports[`Reporting APIs CSV Generation from ES|QL export from non-timebased data view csv from es|ql csv file matches 1`] = ` +"eon,epoch,era,period +Phanerozoic,\\" Pliocene\\",Cenozoic,Neogene +Phanerozoic,\\" Holocene\\",Cenozoic,Quaternary +Phanerozoic,,Mesozoic,Cretaceous +Phanerozoic,,Mesozoic,Jurassic +Phanerozoic,,Paleozoic,Cambrian +Proterozoic,,Paleozoic,Permian +Archean,,, +Hadean,,, +" +`; + +exports[`Reporting APIs CSV Generation from ES|QL export from non-timebased data view csv from es|ql job response data is correct 1`] = ` +Object { + "contentDisposition": "attachment; filename=CSV%20Report.csv", + "contentType": "text/csv; charset=utf-8", + "title": "CSV Report", +} +`; + +exports[`Reporting APIs CSV Generation from ES|QL export from timebased data view csv from es|ql export with time filter csv file matches 1`] = ` +"\\"@message\\" +\\"143.84.142.7 - - [2015-09-20T00:00:00.000Z] \\"\\"GET /uploads/steven-hawley.jpg HTTP/1.1\\"\\" 200 1623 \\"\\"-\\"\\" \\"\\"Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)\\"\\"\\" +\\"193.164.192.47 - - [2015-09-20T00:30:34.206Z] \\"\\"GET /uploads/michael-foreman.jpg HTTP/1.1\\"\\" 200 8537 \\"\\"-\\"\\" \\"\\"Mozilla/5.0 (X11; Linux x86_64; rv:6.0a1) Gecko/20110421 Firefox/6.0a1\\"\\"\\" +\\"176.7.244.68 - - [2015-09-20T00:32:42.058Z] \\"\\"GET /uploads/james-pawelczyk.jpg HTTP/1.1\\"\\" 200 9196 \\"\\"-\\"\\" \\"\\"Mozilla/5.0 (X11; Linux i686) AppleWebKit/534.24 (KHTML, like Gecko) Chrome/11.0.696.50 Safari/534.24\\"\\"\\" +\\"237.56.90.184 - - [2015-09-20T00:35:21.445Z] \\"\\"GET /uploads/david-leestma.jpg HTTP/1.1\\"\\" 200 9790 \\"\\"-\\"\\" \\"\\"Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)\\"\\"\\" +\\"255.56.89.50 - - [2015-09-20T00:43:01.353Z] \\"\\"GET /uploads/michael-r-barratt.jpg HTTP/1.1\\"\\" 200 9583 \\"\\"-\\"\\" \\"\\"Mozilla/5.0 (X11; Linux x86_64; rv:6.0a1) Gecko/20110421 Firefox/6.0a1\\"\\"\\" +" +`; + +exports[`Reporting APIs CSV Generation from ES|QL export from timebased data view csv from es|ql export with time filter job response data is correct 1`] = ` +Object { + "contentDisposition": "attachment; filename=Untitled%20discover%20search.csv", + "contentType": "text/csv; charset=utf-8", + "title": "Untitled discover search", +} +`; diff --git a/x-pack/test/reporting_api_integration/reporting_and_security/csv_v2_esql.ts b/x-pack/test/reporting_api_integration/reporting_and_security/csv_v2_esql.ts new file mode 100644 index 0000000000000..09a1da86b72d6 --- /dev/null +++ b/x-pack/test/reporting_api_integration/reporting_and_security/csv_v2_esql.ts @@ -0,0 +1,211 @@ +/* + * 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 expect from '@kbn/expect'; +import request from 'supertest'; + +import { DISCOVER_APP_LOCATOR } from '@kbn/discover-plugin/common'; +import type { JobParamsCsvFromSavedObject } from '@kbn/reporting-export-types-csv-common'; +import type { ReportApiJSON } from '@kbn/reporting-common/types'; +import rison from '@kbn/rison'; +import { FtrProviderContext } from '../ftr_provider_context'; + +// eslint-disable-next-line import/no-default-export +export default ({ getService }: FtrProviderContext) => { + const es = getService('es'); + const supertest = getService('supertest'); + const esArchiver = getService('esArchiver'); + const reportingAPI = getService('reportingAPI'); + const log = getService('log'); + + const requestCsv = async ( + params: Omit + ) => { + const job: JobParamsCsvFromSavedObject = { + browserTimezone: (params as JobParamsCsvFromSavedObject).browserTimezone ?? 'UTC', + objectType: 'search', + version: '8.13.0', + title: 'CSV Report', + ...params, + }; + log.info(`sending request for query: ${job.locatorParams[0].params.query}`); + const jobParams = rison.encode(job); + return await supertest + .post(`/api/reporting/generate/csv_v2`) + .set('kbn-xsrf', 'xxx') + .send({ jobParams }); + }; + + describe('CSV Generation from ES|QL', () => { + describe('export from non-timebased data view', () => { + const timelessIndexName = 'timeless-test'; + const loadTimelessData = async () => { + log.info(`loading test data`); + await es.indices.create({ + index: timelessIndexName, + body: { + settings: { number_of_shards: 1 }, + mappings: { + properties: { + eon: { type: 'keyword' }, + era: { type: 'keyword' }, + period: { type: 'keyword' }, + epoch: { type: 'keyword' }, + }, + }, + }, + }); + await es.bulk({ + refresh: 'wait_for', + body: [ + { index: { _index: timelessIndexName, _id: 'tvJJX4UBvD7uFsw9L2x4' } }, + { eon: 'Phanerozoic', era: 'Cenozoic', period: 'Neogene', epoch: ' Pliocene' }, + { index: { _index: timelessIndexName, _id: 't_JJX4UBvD7uFsw9L2x4' } }, + { eon: 'Phanerozoic', era: 'Cenozoic', period: 'Quaternary', epoch: ' Holocene' }, + { index: { _index: timelessIndexName, _id: 'uPJJX4UBvD7uFsw9L2x4' } }, + { eon: 'Phanerozoic', era: 'Mesozoic', period: 'Cretaceous' }, + { index: { _index: timelessIndexName, _id: 'ufJJX4UBvD7uFsw9L2x4' } }, + { eon: 'Phanerozoic', era: 'Mesozoic', period: 'Jurassic' }, + { index: { _index: timelessIndexName, _id: 'uvJJX4UBvD7uFsw9L2x4' } }, + { eon: 'Phanerozoic', era: 'Paleozoic', period: 'Cambrian' }, + { index: { _index: timelessIndexName, _id: 'u_JJX4UBvD7uFsw9L2x4' } }, + { eon: 'Proterozoic', era: 'Paleozoic', period: 'Permian' }, + { index: { _index: timelessIndexName, _id: 'vPJJX4UBvD7uFsw9L2x4' } }, + { eon: 'Archean' }, + { index: { _index: timelessIndexName, _id: 'vfJJX4UBvD7uFsw9L2x4' } }, + { eon: 'Hadean' }, + ], + }); + }; + before(async () => { + await loadTimelessData(); + }); + + after(async () => { + await es.indices.delete({ + index: timelessIndexName, + }); + }); + + describe('csv from es|ql', () => { + let response: request.Response; + let job: ReportApiJSON; + let path: string; + let csvFile: string; + + before(async () => { + const { text, status } = await requestCsv({ + locatorParams: [ + { + id: DISCOVER_APP_LOCATOR, + version: 'reporting', + params: { + query: { esql: `from ${timelessIndexName} | limit 10` }, + }, + }, + ], + }); + expect(status).to.eql(200); + ({ job, path } = JSON.parse(text)); + await reportingAPI.waitForJobToFinish(path); + response = await supertest.get(path); + csvFile = response.text; + }); + + it('job response data is correct', () => { + expect(path).to.be.a('string'); + expect(job).to.be.an('object'); + expect(job.attempts).equal(0); + expectSnapshot({ + contentType: response.header['content-type'], + contentDisposition: response.header['content-disposition'], + title: job.payload.title, + }).toMatch(); + }); + + it('csv file matches', () => { + expectSnapshot(csvFile).toMatch(); + }); + }); + }); + + describe('export from timebased data view', () => { + const LOGSTASH_DATA_ARCHIVE = 'test/functional/fixtures/es_archiver/logstash_functional'; + before(async () => { + log.info(`loading archives and fixtures`); + await esArchiver.load(LOGSTASH_DATA_ARCHIVE); + }); + + after(async () => { + log.info(`unloading archives and fixtures`); + await esArchiver.unload(LOGSTASH_DATA_ARCHIVE); + }); + + describe('csv from es|ql', () => { + describe('export with time filter', () => { + let response: request.Response; + let job: ReportApiJSON; + let path: string; + let csvFile: string; + + before(async () => { + const { text, status } = await requestCsv({ + locatorParams: [ + { + id: 'DISCOVER_APP_LOCATOR', + version: '8.13.0', + params: { + columns: ['@message'], + dataViewSpec: { + allowHidden: false, + allowNoIndex: false, + fieldFormats: {}, + id: '0ed8b65f-ec8f-4061-9d2e-542cd6ff10a6', + name: 'logstash-*', + runtimeFieldMap: {}, + sourceFilters: [], + timeFieldName: '@timestamp', + title: 'logstash-*', + }, + filters: [], + index: '0ed8b65f-ec8f-4061-9d2e-542cd6ff10a6', + interval: 'auto', + query: { esql: 'from logstash-* | sort @timestamp | limit 5' }, + refreshInterval: { pause: true, value: 60000 }, + sort: [['@timestamp', 'desc']], + timeRange: { from: '2015-09-18T22:00:00.000Z', to: '2015-09-23T22:00:00.000Z' }, + }, + }, + ], + title: 'Untitled discover search', + }); + expect(status).to.eql(200); + ({ job, path } = JSON.parse(text)); + await reportingAPI.waitForJobToFinish(path); + response = await supertest.get(path); + csvFile = response.text; + }); + + it('job response data is correct', () => { + expect(path).to.be.a('string'); + expect(job).to.be.an('object'); + expect(job.attempts).equal(0); + expectSnapshot({ + contentType: response.header['content-type'], + contentDisposition: response.header['content-disposition'], + title: job.payload.title, + }).toMatch(); + }); + + it('csv file matches', () => { + expectSnapshot(csvFile).toMatch(); + }); + }); + }); + }); + }); +}; diff --git a/x-pack/test/reporting_api_integration/reporting_and_security/index.ts b/x-pack/test/reporting_api_integration/reporting_and_security/index.ts index f0f11c93e62de..e2c55dcb43b03 100644 --- a/x-pack/test/reporting_api_integration/reporting_and_security/index.ts +++ b/x-pack/test/reporting_api_integration/reporting_and_security/index.ts @@ -24,6 +24,7 @@ export default function ({ getService, loadTestFile }: FtrProviderContext) { loadTestFile(require.resolve('./download_csv_dashboard')); loadTestFile(require.resolve('./generate_csv_discover')); loadTestFile(require.resolve('./csv_v2')); + loadTestFile(require.resolve('./csv_v2_esql')); loadTestFile(require.resolve('./network_policy')); loadTestFile(require.resolve('./spaces')); loadTestFile(require.resolve('./usage')); diff --git a/x-pack/test/screenshot_creation/apps/response_ops_docs/stack_cases/list_view.ts b/x-pack/test/screenshot_creation/apps/response_ops_docs/stack_cases/list_view.ts index ce659c47c331b..728c978ab76bf 100644 --- a/x-pack/test/screenshot_creation/apps/response_ops_docs/stack_cases/list_view.ts +++ b/x-pack/test/screenshot_creation/apps/response_ops_docs/stack_cases/list_view.ts @@ -16,7 +16,7 @@ export default function ({ getService }: FtrProviderContext) { describe('list view', function () { it('cases list screenshot', async () => { await cases.navigation.navigateToApp(); - await commonScreenshots.takeScreenshot('cases', screenshotDirectories, 1400, 1024); + await commonScreenshots.takeScreenshot('cases', screenshotDirectories, 1500, 1080); }); }); } diff --git a/x-pack/test/security_solution_api_integration/test_suites/entity_analytics/default_license/risk_engine/risk_score_calculation.ts b/x-pack/test/security_solution_api_integration/test_suites/entity_analytics/default_license/risk_engine/risk_score_calculation.ts index d4f5be1eff225..fe1c3df4af77c 100644 --- a/x-pack/test/security_solution_api_integration/test_suites/entity_analytics/default_license/risk_engine/risk_score_calculation.ts +++ b/x-pack/test/security_solution_api_integration/test_suites/entity_analytics/default_license/risk_engine/risk_score_calculation.ts @@ -26,14 +26,21 @@ import { assetCriticalityRouteHelpersFactory, cleanAssetCriticality, waitForAssetCriticalityToBePresent, + getLatestRiskScoreIndexMapping, + riskEngineRouteHelpersFactory, + cleanRiskEngine, } from '../../utils'; import { FtrProviderContext } from '../../../../ftr_provider_context'; export default ({ getService }: FtrProviderContext): void => { const supertest = getService('supertest'); + const esArchiver = getService('esArchiver'); const es = getService('es'); const log = getService('log'); + const kibanaServer = getService('kibanaServer'); + + const riskEngineRoutes = riskEngineRouteHelpersFactory(supertest); const createAndSyncRuleAndAlerts = createAndSyncRuleAndAlertsFactory({ supertest, log }); @@ -92,12 +99,17 @@ export default ({ getService }: FtrProviderContext): void => { beforeEach(async () => { await deleteAllAlerts(supertest, log, es); await deleteAllRules(supertest, log); + + await cleanRiskEngine({ kibanaServer, es, log }); + await riskEngineRoutes.init(); }); afterEach(async () => { await deleteAllRiskScores(log, es); await deleteAllAlerts(supertest, log, es); await deleteAllRules(supertest, log); + + await cleanRiskEngine({ kibanaServer, es, log }); }); it('calculates and persists risk score', async () => { @@ -132,6 +144,35 @@ export default ({ getService }: FtrProviderContext): void => { }); }); + it('upgrades latest risk score index dynamic setting before persisting risk scores', async () => { + const documentId = uuidv4(); + await indexListOfDocuments([buildDocument({ host: { name: 'host-1' } }, documentId)]); + + await calculateRiskScoreAfterRuleCreationAndExecution(documentId); + + const unmodifiedIndexMapping = await getLatestRiskScoreIndexMapping(es); + // by default, the dynamic mapping is set to false. + expect(unmodifiedIndexMapping?.dynamic).to.eql('false'); + + // set the 'dynamic' configuration to an undesirable value + await es.indices.putMapping({ + index: 'risk-score.risk-score-latest-default', + dynamic: 'strict', + }); + + expect((await getLatestRiskScoreIndexMapping(es))?.dynamic).to.eql('strict'); + + // before re-running risk score persistence, the dynamic configuration should be reset to the desired value + await calculateRiskScoreAfterRuleCreationAndExecution(documentId); + + const finalIndexMapping = await getLatestRiskScoreIndexMapping(es); + + expect(finalIndexMapping?.dynamic).to.eql('false'); + + // after all processing is complete, the mapping should be exactly the same as before + expect(unmodifiedIndexMapping).to.eql(finalIndexMapping); + }); + describe('paging through calculations', () => { let documentId: string; beforeEach(async () => { diff --git a/x-pack/test/security_solution_api_integration/test_suites/entity_analytics/default_license/risk_engine/risk_scoring_task/task_execution.ts b/x-pack/test/security_solution_api_integration/test_suites/entity_analytics/default_license/risk_engine/risk_scoring_task/task_execution.ts index 1f9c886b932f8..b735852886a7d 100644 --- a/x-pack/test/security_solution_api_integration/test_suites/entity_analytics/default_license/risk_engine/risk_scoring_task/task_execution.ts +++ b/x-pack/test/security_solution_api_integration/test_suites/entity_analytics/default_license/risk_engine/risk_scoring_task/task_execution.ts @@ -160,8 +160,7 @@ export default ({ getService }: FtrProviderContext): void => { await riskEngineRoutes.disable(); }); - // Temporary, expected failure: See https://github.com/elastic/security-team/issues/8012 - describe.skip('when task interval is modified', () => { + describe('when task interval is modified', () => { beforeEach(async () => { await updateRiskEngineConfigSO({ attributes: { diff --git a/x-pack/test/security_solution_api_integration/test_suites/entity_analytics/utils/risk_engine.ts b/x-pack/test/security_solution_api_integration/test_suites/entity_analytics/utils/risk_engine.ts index fb242e72bc898..e8ff2d4e10240 100644 --- a/x-pack/test/security_solution_api_integration/test_suites/entity_analytics/utils/risk_engine.ts +++ b/x-pack/test/security_solution_api_integration/test_suites/entity_analytics/utils/risk_engine.ts @@ -26,6 +26,7 @@ import { RISK_ENGINE_STATUS_URL, RISK_ENGINE_PRIVILEGES_URL, } from '@kbn/security-solution-plugin/common/constants'; +import { MappingTypeMapping } from '@elastic/elasticsearch/lib/api/types'; import { createRule, waitForAlertsToBePresent, @@ -113,6 +114,17 @@ export const createAndSyncRuleAndAlertsFactory = await waitForAlertsToBePresent(supertest, log, alerts, [id], namespace); }; +export const getLatestRiskScoreIndexMapping: ( + es: Client +) => Promise = async (es: Client) => { + const riskScoreLatestIndex = 'risk-score.risk-score-latest-default'; + return ( + await es.indices.get({ + index: riskScoreLatestIndex, + }) + )[riskScoreLatestIndex]?.mappings; +}; + export const deleteRiskScoreIndices = async ({ log, es, diff --git a/x-pack/test/tsconfig.json b/x-pack/test/tsconfig.json index 4ca836a475546..354e6819e3674 100644 --- a/x-pack/test/tsconfig.json +++ b/x-pack/test/tsconfig.json @@ -164,6 +164,7 @@ "@kbn/io-ts-utils", "@kbn/log-explorer-plugin", "@kbn/security-plugin-types-common", + "@kbn/slo-schema", "@kbn/typed-react-router-config", "@kbn/ftr-common-functional-ui-services", ] diff --git a/x-pack/test_serverless/api_integration/services/index.ts b/x-pack/test_serverless/api_integration/services/index.ts index 00be2fa67fbd7..cbf6a099966d4 100644 --- a/x-pack/test_serverless/api_integration/services/index.ts +++ b/x-pack/test_serverless/api_integration/services/index.ts @@ -14,6 +14,7 @@ import { SamlToolsProvider } from './saml_tools'; import { DataViewApiProvider } from './data_view_api'; import { SvlCasesServiceProvider } from './svl_cases'; import { SloApiProvider } from './slo_api'; +import { TransformProvider } from './transform'; export const services = { // deployment agnostic FTR services @@ -26,6 +27,7 @@ export const services = { dataViewApi: DataViewApiProvider, svlCases: SvlCasesServiceProvider, sloApi: SloApiProvider, + transform: TransformProvider, }; export type InheritedFtrProviderContext = GenericFtrProviderContext; diff --git a/x-pack/test_serverless/api_integration/services/slo_api.ts b/x-pack/test_serverless/api_integration/services/slo_api.ts index da3ec1710a56b..b0ca3770829c5 100644 --- a/x-pack/test_serverless/api_integration/services/slo_api.ts +++ b/x-pack/test_serverless/api_integration/services/slo_api.ts @@ -29,7 +29,7 @@ export interface SloBurnRateRuleParams { } interface SloParams { - id: string; + id?: string; name: string; description: string; indicator: { @@ -53,10 +53,11 @@ interface SloParams { } export function SloApiProvider({ getService }: FtrProviderContext) { + const es = getService('es'); const supertest = getService('supertest'); const retry = getService('retry'); const requestTimeout = 30 * 1000; - const retryTimeout = 120 * 1000; + const retryTimeout = 180 * 1000; return { async create(slo: SloParams) { @@ -69,7 +70,30 @@ export function SloApiProvider({ getService }: FtrProviderContext) { return body; }, - async delete() {}, + async delete(sloId: string) { + const response = await supertest + .delete(`/api/observability/slos/${sloId}`) + .set('kbn-xsrf', 'foo') + .set('x-elastic-internal-origin', 'foo'); + return response; + }, + + async waitForSloToBeDeleted(sloId: string) { + if (!sloId) { + throw new Error(`sloId is undefined`); + } + return await retry.tryForTime(retryTimeout, async () => { + const response = await supertest + .delete(`/api/observability/slos/${sloId}`) + .set('kbn-xsrf', 'foo') + .set('x-elastic-internal-origin', 'foo') + .timeout(requestTimeout); + if (!response.ok) { + throw new Error(`slodId [${sloId}] was not deleted`); + } + return response; + }); + }, async waitForSloCreated({ sloId }: { sloId: string }) { if (!sloId) { @@ -81,9 +105,75 @@ export function SloApiProvider({ getService }: FtrProviderContext) { .set('kbn-xsrf', 'foo') .set('x-elastic-internal-origin', 'foo') .timeout(requestTimeout); - + if (response.body.id === undefined) { + throw new Error(`No slo with id ${sloId} found`); + } return response.body; }); }, + + async waitForSloSummaryTempIndexToExist(index: string) { + if (!index) { + throw new Error(`index is undefined`); + } + + return await retry.tryForTime(retryTimeout, async () => { + const indexExists = await es.indices.exists({ index, allow_no_indices: false }); + if (!indexExists) { + throw new Error(`index ${index} should exist`); + } + return indexExists; + }); + }, + + async getSloData({ sloId, indexName }: { sloId: string; indexName: string }) { + const response = await es.search({ + index: indexName, + body: { + query: { + bool: { + filter: [{ term: { 'slo.id': sloId } }], + }, + }, + }, + }); + return response; + }, + async waitForSloData({ sloId, indexName }: { sloId: string; indexName: string }) { + return await retry.tryForTime(retryTimeout, async () => { + const response = await es.search({ + index: indexName, + body: { + query: { + bool: { + filter: [{ term: { 'slo.id': sloId } }], + }, + }, + }, + }); + if (response.hits.hits.length === 0) { + throw new Error(`No hits found at index [${indexName}] for slo [${sloId}] `); + } + return response; + }); + }, + async deleteAllSLOs() { + const response = await supertest + .get(`/api/observability/slos/_definitions`) + .set('kbn-xsrf', 'true') + .set('x-elastic-internal-origin', 'foo') + .send() + .expect(200); + await Promise.all( + response.body.results.map(({ id }: { id: string }) => { + return supertest + .delete(`/api/observability/slos/${id}`) + .set('kbn-xsrf', 'true') + .set('x-elastic-internal-origin', 'foo') + .send() + .expect(204); + }) + ); + }, }; } diff --git a/x-pack/test_serverless/api_integration/services/transform/api.ts b/x-pack/test_serverless/api_integration/services/transform/api.ts new file mode 100644 index 0000000000000..39c2d01c6adb1 --- /dev/null +++ b/x-pack/test_serverless/api_integration/services/transform/api.ts @@ -0,0 +1,290 @@ +/* + * 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 expect from '@kbn/expect'; + +import { TransformState, TRANSFORM_STATE } from '@kbn/transform-plugin/common/constants'; +import type { TransformStats } from '@kbn/transform-plugin/common/types/transform_stats'; +import type { GetTransformsResponseSchema } from '@kbn/transform-plugin/common/api_schemas/transforms'; +import type { PostTransformsUpdateRequestSchema } from '@kbn/transform-plugin/common/api_schemas/update_transforms'; +import type { TransformPivotConfig } from '@kbn/transform-plugin/common/types/transform'; +import type { PutTransformsRequestSchema } from '@kbn/transform-plugin/common/api_schemas/transforms'; +import { FtrProviderContext } from '../../ftr_provider_context'; + +export async function asyncForEach(array: any[], callback: Function) { + for (let index = 0; index < array.length; index++) { + await callback(array[index], index, array); + } +} + +export function TransformAPIProvider({ getService }: FtrProviderContext) { + const es = getService('es'); + const log = getService('log'); + const retry = getService('retry'); + const esSupertest = getService('esSupertest'); + const esDeleteAllIndices = getService('esDeleteAllIndices'); + + return { + assertResponseStatusCode(expectedStatus: number, actualStatus: number, responseBody: object) { + expect(actualStatus).to.eql( + expectedStatus, + `Expected status code ${expectedStatus}, got ${actualStatus} with body '${JSON.stringify( + responseBody + )}'` + ); + }, + + async deleteIndices(indices: string, skipWaitForIndicesNotToExist?: boolean) { + log.debug(`Deleting indices: '${indices}'...`); + if ((await es.indices.exists({ index: indices, allow_no_indices: false })) === false) { + log.debug(`Indices '${indices}' don't exist. Nothing to delete.`); + return; + } + + const deleteResponse = await es.indices.delete({ + index: indices, + }); + expect(deleteResponse) + .to.have.property('acknowledged') + .eql(true, 'Response for delete request should be acknowledged'); + + // Check for the option to skip the check if the indices are deleted. + // For example, we might want to clear the .transform-* indices but they + // will be automatically regenerated making tests flaky without the option + // to skip this check. + if (!skipWaitForIndicesNotToExist) { + await this.waitForIndicesNotToExist(indices, `expected indices '${indices}' to be deleted`); + } + }, + + async waitForIndicesToExist(indices: string, errorMsg?: string) { + await retry.tryForTime(30 * 1000, async () => { + if ((await es.indices.exists({ index: indices, allow_no_indices: false })) === true) { + return true; + } else { + throw new Error(errorMsg || `indices '${indices}' should exist`); + } + }); + }, + + async waitForIndicesNotToExist(indices: string, errorMsg?: string) { + await retry.tryForTime(30 * 1000, async () => { + if ((await es.indices.exists({ index: indices, allow_no_indices: false })) === false) { + return true; + } else { + throw new Error(errorMsg || `indices '${indices}' should not exist`); + } + }); + }, + + async cleanTransformIndices() { + // Delete all transforms using the API since we mustn't just delete + // all `.transform-*` indices since this might result in orphaned ES tasks. + const { body: getRspBody, status: getRspStatus } = await esSupertest.get(`/_transform/`); + this.assertResponseStatusCode(200, getRspStatus, getRspBody); + + const transformIds = getRspBody.transforms.map((t: { id: string }) => t.id); + + await asyncForEach(transformIds, async (transformId: string) => { + const { body: stopRspBody, status: stopRspStatus } = await esSupertest.post( + `/_transform/${transformId}/_stop?force=true&wait_for_completion` + ); + this.assertResponseStatusCode(200, stopRspStatus, stopRspBody); + + await this.waitForTransformState(transformId, TRANSFORM_STATE.STOPPED); + + const { body: deleteRspBody, status: deleteRspstatus } = await esSupertest.delete( + `/_transform/${transformId}` + ); + this.assertResponseStatusCode(200, deleteRspstatus, deleteRspBody); + + await this.waitForTransformNotToExist(transformId); + }); + + // Delete all transform related notifications to clear messages tabs + // in the transforms list expanded rows. + await esDeleteAllIndices('.transform-notifications-*'); + }, + + async getTransformStats(transformId: string): Promise { + log.debug(`Fetching transform stats for transform ${transformId}`); + const { body: statsResponse, status } = await esSupertest.get( + `/_transform/${transformId}/_stats` + ); + this.assertResponseStatusCode(200, status, statsResponse); + + expect(statsResponse.transforms).to.have.length( + 1, + `Expected transform stats to contain exactly 1 object (got '${statsResponse.transforms.length}')` + ); + return statsResponse.transforms[0]; + }, + + async getTransformState(transformId: string): Promise { + const stats = await this.getTransformStats(transformId); + return stats.state; + }, + + async waitForTransformState(transformId: string, expectedState: TransformState) { + await retry.waitForWithTimeout( + `transform state to be ${expectedState}`, + 2 * 60 * 1000, + async () => { + const state = await this.getTransformState(transformId); + if (state === expectedState) { + return true; + } else { + throw new Error(`expected transform state to be ${expectedState} but got ${state}`); + } + } + ); + }, + + async waitForTransformStateNotToBe(transformId: string, notExpectedState: TransformState) { + await retry.waitForWithTimeout( + `transform state not to be ${notExpectedState}`, + 2 * 60 * 1000, + async () => { + const state = await this.getTransformState(transformId); + if (state !== notExpectedState) { + return true; + } else { + throw new Error( + `expected transform state to not be ${notExpectedState} but got ${state}` + ); + } + } + ); + }, + + async waitForBatchTransformToComplete(transformId: string) { + await retry.waitForWithTimeout(`batch transform to complete`, 2 * 60 * 1000, async () => { + const stats = await this.getTransformStats(transformId); + if (stats.state === TRANSFORM_STATE.STOPPED && stats.checkpointing.last.checkpoint === 1) { + return true; + } else { + throw new Error( + `expected batch transform to be stopped with last checkpoint = 1 (got status: '${stats.state}', checkpoint: '${stats.checkpointing.last.checkpoint}')` + ); + } + }); + }, + + async getTransformList(size: number = 10): Promise { + const { body, status } = await esSupertest.get(`/_transform`); + this.assertResponseStatusCode(200, status, body); + + return body as GetTransformsResponseSchema; + }, + + async getTransform(transformId: string, expectedCode = 200) { + const response = await esSupertest.get(`/_transform/${transformId}`); + this.assertResponseStatusCode(expectedCode, response.status, response.body); + return response; + }, + + async updateTransform( + transformId: string, + updates: Partial + ): Promise { + const { body, status } = await esSupertest + .post(`/_transform/${transformId}/_update`) + .send(updates); + this.assertResponseStatusCode(200, status, body); + + return body as TransformPivotConfig; + }, + + async createTransform( + transformId: string, + transformConfig: PutTransformsRequestSchema, + options: { + deferValidation?: boolean; + headers?: object; + } = {} + ) { + const { deferValidation, headers } = options; + + if (headers) { + log.debug( + `Creating transform with id '${transformId}' with headers ${JSON.stringify( + headers + )} and defer_validation:${deferValidation}...` + ); + const { body, status } = await esSupertest + .put(`/_transform/${transformId}${deferValidation ? '?defer_validation=true' : ''}`) + .set(headers) + .send(transformConfig); + this.assertResponseStatusCode(200, status, body); + } else { + log.debug( + `Creating transform with id '${transformId}' and defer_validation:${deferValidation}...` + ); + const { body, status } = await esSupertest + .put(`/_transform/${transformId}${deferValidation ? '?defer_validation=true' : ''}`) + .send(transformConfig); + this.assertResponseStatusCode(200, status, body); + } + + await this.waitForTransformToExist( + transformId, + `expected transform '${transformId}' to be created` + ); + }, + + async waitForTransformToExist(transformId: string, errorMsg?: string) { + await retry.waitForWithTimeout(`'${transformId}' to exist`, 5 * 1000, async () => { + if (await this.getTransform(transformId, 200)) { + return true; + } else { + throw new Error(errorMsg || `expected transform '${transformId}' to exist`); + } + }); + }, + + async waitForTransformNotToExist(transformId: string, errorMsg?: string) { + await retry.waitForWithTimeout(`'${transformId}' to exist`, 5 * 1000, async () => { + if (await this.getTransform(transformId, 404)) { + return true; + } else { + throw new Error(errorMsg || `expected transform '${transformId}' to not exist`); + } + }); + }, + + async startTransform(transformId: string, assertSuccess = true) { + log.debug(`Starting transform '${transformId}' ...`); + const { body, status } = await esSupertest.post(`/_transform/${transformId}/_start`); + + if (assertSuccess) { + this.assertResponseStatusCode(200, status, body); + } + }, + + async stopTransform(transformId: string) { + log.debug(`Stopping transform '${transformId}' ...`); + const { body, status } = await esSupertest.post(`/_transform/${transformId}/_stop`); + this.assertResponseStatusCode(200, status, body); + }, + + async createAndRunTransform( + transformId: string, + transformConfig: PutTransformsRequestSchema, + options: { headers?: object } = {} + ) { + await this.createTransform(transformId, transformConfig, { headers: options.headers }); + await this.startTransform(transformId); + if (transformConfig.sync === undefined) { + // batch mode + await this.waitForBatchTransformToComplete(transformId); + } else { + // continuous mode + await this.waitForTransformStateNotToBe(transformId, TRANSFORM_STATE.STOPPED); + } + }, + }; +} diff --git a/x-pack/test_serverless/api_integration/services/transform/index.ts b/x-pack/test_serverless/api_integration/services/transform/index.ts new file mode 100644 index 0000000000000..beaf6f7fe0391 --- /dev/null +++ b/x-pack/test_serverless/api_integration/services/transform/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. + */ + +import { FtrProviderContext } from '../../ftr_provider_context'; + +import { TransformAPIProvider } from './api'; +import { TransformSecurityCommonProvider } from './security_common'; + +export function TransformProvider(context: FtrProviderContext) { + const api = TransformAPIProvider(context); + const securityCommon = TransformSecurityCommonProvider(context); + + return { + api, + securityCommon, + }; +} diff --git a/x-pack/test_serverless/api_integration/services/transform/security_common.ts b/x-pack/test_serverless/api_integration/services/transform/security_common.ts new file mode 100644 index 0000000000000..c112ef7572509 --- /dev/null +++ b/x-pack/test_serverless/api_integration/services/transform/security_common.ts @@ -0,0 +1,168 @@ +/* + * 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 { ProvidedType } from '@kbn/test'; + +import { Client } from '@elastic/elasticsearch'; +import { FtrProviderContext } from '../../ftr_provider_context'; + +export type TransformSecurityCommon = ProvidedType; + +export enum USER { + TRANSFORM_POWERUSER = 'transform_poweruser', + TRANSFORM_VIEWER = 'transform_viewer', + TRANSFORM_UNAUTHORIZED = 'transform_unauthorized', +} + +export function TransformSecurityCommonProvider({ getService }: FtrProviderContext) { + const security = getService('security'); + const esClient: Client = getService('es'); + + const roles = [ + { + name: 'transform_source', + elasticsearch: { + indices: [{ names: ['*'], privileges: ['read', 'view_index_metadata'] }], + }, + kibana: [], + }, + { + name: 'transform_dest', + elasticsearch: { + indices: [{ names: ['.slo-*'], privileges: ['read', 'index', 'manage', 'delete'] }], + }, + kibana: [], + }, + { + name: 'transform_dest_readonly', + elasticsearch: { + indices: [{ names: ['.slo-*'], privileges: ['read'] }], + }, + kibana: [], + }, + { + name: 'transform_ui_extras', + elasticsearch: { + cluster: ['monitor', 'read_pipeline'], + }, + kibana: [], + }, + ]; + + const users = [ + { + name: 'transform_poweruser', + full_name: 'Transform Poweruser', + password: 'tfp001', + roles: [ + 'kibana_admin', + 'transform_admin', + 'transform_source', + 'transform_dest', + 'transform_ui_extras', + ], + }, + { + name: 'transform_viewer', + full_name: 'Transform Viewer', + password: 'tfv001', + roles: ['kibana_admin', 'transform_user', 'transform_dest_readonly'], + }, + { + name: 'transform_unauthorized', + full_name: 'Transform Unauthorized', + password: 'tfu001', + roles: ['kibana_admin'], + }, + ]; + + return { + async createTransformRoles() { + for (const role of roles) { + await security.role.create(role.name, { + elasticsearch: role.elasticsearch, + kibana: role.kibana, + }); + } + }, + + async createTransformUsers() { + for (const user of users) { + await security.user.create(user.name, { + password: user.password, + roles: user.roles, + full_name: user.full_name, + }); + } + }, + + async createApiKeyForTransformUser(username: string) { + const user = users.find((u) => u.name === username); + + if (user === undefined) { + throw new Error(`Can't create api key for user ${user} - user not defined`); + } + + const roleDescriptors = user.roles.reduce>((map, roleName) => { + const userRole = roles.find((r) => r.name === roleName); + + if (userRole) { + map[roleName] = userRole.elasticsearch; + } + return map; + }, {}); + const apiKey = await esClient.security.createApiKey({ + body: { + name: `Transform API Key ${user.full_name}`, + role_descriptors: roleDescriptors, + metadata: user, + }, + }); + return { user: { name: user.name as USER, roles: user.roles }, apiKey }; + }, + + async createApiKeyForTransformUsers() { + const apiKeyForTransformUsers = await Promise.all( + users.map((user) => this.createApiKeyForTransformUser(user.name)) + ); + + return apiKeyForTransformUsers; + }, + + async clearAllTransformApiKeys() { + const existingKeys = await esClient.security.queryApiKeys(); + + if (existingKeys.count > 0) { + await Promise.all( + existingKeys.api_keys.map(async (key) => { + esClient.security.invalidateApiKey({ ids: [key.id] }); + }) + ); + } + }, + + async cleanTransformRoles() { + for (const role of roles) { + await security.role.delete(role.name); + } + }, + + async cleanTransformUsers() { + for (const user of users) { + await security.user.delete(user.name); + } + }, + + getPasswordForUser(user: USER): string { + const userConfig = users.find((u) => u.name === user); + if (userConfig === undefined) { + throw new Error(`Can't log in user ${user} - not defined`); + } + return userConfig.password; + }, + }; +} diff --git a/x-pack/test_serverless/api_integration/test_suites/observability/index.ts b/x-pack/test_serverless/api_integration/test_suites/observability/index.ts index 54d4e41c1f892..74bf14d1b0c48 100644 --- a/x-pack/test_serverless/api_integration/test_suites/observability/index.ts +++ b/x-pack/test_serverless/api_integration/test_suites/observability/index.ts @@ -18,5 +18,6 @@ export default function ({ loadTestFile }: FtrProviderContext) { loadTestFile(require.resolve('./cases')); loadTestFile(require.resolve('./burn_rate_rule/burn_rate_rule')); loadTestFile(require.resolve('./es_query_rule/es_query_rule')); + loadTestFile(require.resolve('./slos')); }); } diff --git a/x-pack/test_serverless/api_integration/test_suites/observability/slos/create_slo.ts b/x-pack/test_serverless/api_integration/test_suites/observability/slos/create_slo.ts new file mode 100644 index 0000000000000..06059d3bfe0b4 --- /dev/null +++ b/x-pack/test_serverless/api_integration/test_suites/observability/slos/create_slo.ts @@ -0,0 +1,338 @@ +/* + * 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 { cleanup, generate } from '@kbn/infra-forge'; +import expect from '@kbn/expect'; +import type { GetTransformsResponseSchema } from '@kbn/transform-plugin/common/api_schemas/transforms'; +import { SO_SLO_TYPE } from '@kbn/observability-plugin/server/saved_objects'; +import { ALL_VALUE } from '@kbn/slo-schema'; + +import { + getSLOSummaryPipelineId, + SLO_SUMMARY_TEMP_INDEX_NAME, +} from '@kbn/observability-plugin/common/slo/constants'; +import { FtrProviderContext } from '../../../ftr_provider_context'; + +interface ExpectedTransforms { + count: number; + typeOfVersion: string; + typeOfCreateTime: string; + results: Record; +} + +function assertTransformsResponseBody( + body: GetTransformsResponseSchema, + expectedTransforms: ExpectedTransforms +) { + expect(body.count).to.eql(expectedTransforms.count); + expect(body.transforms).to.have.length(expectedTransforms.count); + + body.transforms.forEach((transform, index) => { + const expectedTransform = expectedTransforms.results[`transform${index}`]; + expect(transform.id).to.eql(expectedTransform.id); + expect(transform.dest.index).to.eql(expectedTransform.destIndex); + expect(typeof transform.version).to.eql(expectedTransforms.typeOfVersion); + expect(typeof transform.create_time).to.eql(expectedTransforms.typeOfCreateTime); + }); +} + +export default function ({ getService }: FtrProviderContext) { + const esClient = getService('es'); + const supertest = getService('supertest'); + + const esDeleteAllIndices = getService('esDeleteAllIndices'); + const logger = getService('log'); + const dataViewApi = getService('dataViewApi'); + const sloApi = getService('sloApi'); + const kibanaServer = getService('kibanaServer'); + const transform = getService('transform'); + + describe('create_slo', () => { + // DATE_VIEW should match the index template: + // x-pack/packages/kbn-infra-forge/src/data_sources/composable/template.json + const DATE_VIEW = 'kbn-data-forge-fake_hosts'; + const DATA_VIEW_ID = 'data-view-id'; + let infraDataIndex: string; + + before(async () => { + infraDataIndex = await generate({ + esClient, + lookback: 'now-15m', + logger, + }); + await dataViewApi.create({ + name: DATE_VIEW, + id: DATA_VIEW_ID, + title: DATE_VIEW, + }); + await kibanaServer.savedObjects.cleanStandardList(); + }); + + after(async () => { + await dataViewApi.delete({ + id: DATA_VIEW_ID, + }); + await supertest + .delete('/api/observability/slos/my-custom-id1') + .set('kbn-xsrf', 'foo') + .set('x-elastic-internal-origin', 'foo'); + + await supertest + .delete('/api/observability/slos/my-custom-id2') + .set('kbn-xsrf', 'foo') + .set('x-elastic-internal-origin', 'foo'); + + await supertest + .delete('/api/observability/slos/my-custom-id3') + .set('kbn-xsrf', 'foo') + .set('x-elastic-internal-origin', 'foo'); + + await supertest + .delete('/api/observability/slos/my-custom-id4') + .set('kbn-xsrf', 'foo') + .set('x-elastic-internal-origin', 'foo'); + + await esDeleteAllIndices([infraDataIndex]); + await cleanup({ esClient, logger }); + await kibanaServer.savedObjects.clean({ types: [SO_SLO_TYPE] }); + await transform.api.cleanTransformIndices(); + }); + + describe('non partition by SLO', () => { + const sloId = 'my-custom-id1'; + + before(async () => { + await sloApi.create({ + id: sloId, + name: 'my custom name', + description: 'my custom description', + indicator: { + type: 'sli.kql.custom', + params: { + index: infraDataIndex, + good: 'system.cpu.total.norm.pct > 1', + total: 'system.cpu.total.norm.pct: *', + timestampField: '@timestamp', + }, + }, + timeWindow: { + duration: '7d', + type: 'rolling', + }, + budgetingMethod: 'occurrences', + objective: { + target: 0.999, + }, + groupBy: ALL_VALUE, + }); + }); + + it('saves the SLO definition', async () => { + const savedObject = await kibanaServer.savedObjects.find({ + type: SO_SLO_TYPE, + }); + expect(savedObject.total).to.eql(1); + expect(savedObject.saved_objects[0].attributes.version).eql(2); + expect(savedObject.saved_objects[0].attributes.revision).eql(1); + }); + + it('creates the rollup and summary transforms', async () => { + const expectedTransforms: ExpectedTransforms = { + count: 2, + results: { + transform0: { id: 'slo-my-custom-id1-1', destIndex: '.slo-observability.sli-v3' }, + transform1: { + id: 'slo-summary-my-custom-id1-1', + destIndex: '.slo-observability.summary-v3', + }, + }, + typeOfVersion: 'string', + typeOfCreateTime: 'number', + }; + const { body, status } = await supertest + .get(`/internal/transform/transforms`) + .set('kbn-xsrf', 'foo') + .set('x-elastic-internal-origin', 'foo') + .set('elastic-api-version', '1') + .send(); + transform.api.assertResponseStatusCode(200, status, body); + assertTransformsResponseBody(body, expectedTransforms); + }); + + it('creates ingest pipeline', async () => { + const sloRevision = 1; + const pipelineResponse = await esClient.ingest.getPipeline({ + id: getSLOSummaryPipelineId(sloId, sloRevision), + }); + const expectedPipeline = `.slo-observability.summary.pipeline-${sloId}-${sloRevision}`; + + expect(pipelineResponse[expectedPipeline]).not.to.be(undefined); + expect(pipelineResponse[expectedPipeline].description).to.be( + `Ingest pipeline for SLO summary data [id: ${sloId}, revision: ${sloRevision}]` + ); + }); + + it('creates summary TEMP index', async () => { + const result = await sloApi.waitForSloSummaryTempIndexToExist(SLO_SUMMARY_TEMP_INDEX_NAME); + expect(result).to.be(true); + }); + + it('finds the created SLO', async () => { + const createdSlo = await sloApi.waitForSloCreated({ sloId }); + expect(createdSlo.id).to.be(sloId); + expect(createdSlo.groupBy).to.be(ALL_VALUE); + }); + }); + + describe('SLO with long description', () => { + it('creates an SLO with description over 256 characters', async () => { + const sloId = 'my-custom-id2'; + await sloApi.create({ + id: sloId, + name: 'my super long SLO name and description', + description: + 'Lorem Ipsum has been the industry standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. ', + indicator: { + type: 'sli.kql.custom', + params: { + index: infraDataIndex, + good: 'system.cpu.total.norm.pct > 1', + total: 'system.cpu.total.norm.pct: *', + timestampField: '@timestamp', + }, + }, + timeWindow: { + duration: '7d', + type: 'rolling', + }, + budgetingMethod: 'occurrences', + objective: { + target: 0.999, + }, + groupBy: '*', + }); + + const createdSlo = await sloApi.waitForSloCreated({ sloId }); + expect(createdSlo.id).to.be(sloId); + }); + }); + + describe('SLO with special characters in the description', () => { + it("creates an SLO that has ' character in the description", async () => { + const sloId = 'my-custom-id3'; + await sloApi.create({ + id: sloId, + name: 'my SLO with weird characters in the description', + description: + "Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged.", + indicator: { + type: 'sli.kql.custom', + params: { + index: infraDataIndex, + good: 'system.cpu.total.norm.pct > 1', + total: 'system.cpu.total.norm.pct: *', + timestampField: '@timestamp', + }, + }, + timeWindow: { + duration: '7d', + type: 'rolling', + }, + budgetingMethod: 'occurrences', + objective: { + target: 0.999, + }, + groupBy: '*', + }); + const createdSlo = await sloApi.waitForSloCreated({ sloId }); + expect(createdSlo.id).to.be(sloId); + }); + }); + + describe('partition by SLO', () => { + it('creates a partition by SLO', async () => { + const sloId = 'my-custom-id4'; + await sloApi.create({ + id: sloId, + name: 'Group by SLO', + description: 'This is a group by SLO.', + indicator: { + type: 'sli.kql.custom', + params: { + index: infraDataIndex, + good: 'system.cpu.total.norm.pct > 1', + total: 'system.cpu.total.norm.pct: *', + timestampField: '@timestamp', + }, + }, + timeWindow: { + duration: '7d', + type: 'rolling', + }, + budgetingMethod: 'occurrences', + objective: { + target: 0.999, + }, + groupBy: 'host.name', + }); + const createdSlo = await sloApi.waitForSloCreated({ sloId }); + expect(createdSlo.id).to.be(sloId); + expect(createdSlo.groupBy).not.to.be(ALL_VALUE); + expect(createdSlo.groupBy).to.be('host.name'); + }); + }); + + describe('Total transforms', () => { + it('returns all the transforms for above created SLOs', async () => { + const expectedTransforms: ExpectedTransforms = { + count: 8, + results: { + transform0: { id: 'slo-my-custom-id1-1', destIndex: '.slo-observability.sli-v3' }, + transform1: { id: 'slo-my-custom-id2-1', destIndex: '.slo-observability.sli-v3' }, + transform2: { id: 'slo-my-custom-id3-1', destIndex: '.slo-observability.sli-v3' }, + transform3: { id: 'slo-my-custom-id4-1', destIndex: '.slo-observability.sli-v3' }, + transform4: { + id: 'slo-summary-my-custom-id1-1', + destIndex: '.slo-observability.summary-v3', + }, + transform5: { + id: 'slo-summary-my-custom-id2-1', + destIndex: '.slo-observability.summary-v3', + }, + transform6: { + id: 'slo-summary-my-custom-id3-1', + destIndex: '.slo-observability.summary-v3', + }, + transform7: { + id: 'slo-summary-my-custom-id4-1', + destIndex: '.slo-observability.summary-v3', + }, + }, + typeOfVersion: 'string', + typeOfCreateTime: 'number', + }; + const { body, status } = await supertest + .get(`/internal/transform/transforms`) + .set('kbn-xsrf', 'foo') + .set('x-elastic-internal-origin', 'foo') + .set('elastic-api-version', '1') + .send(); + transform.api.assertResponseStatusCode(200, status, body); + assertTransformsResponseBody(body, expectedTransforms); + }); + }); + + describe('Total SO definitions', () => { + it('returns SO definitions for above created SLOs', async () => { + const savedObject = await kibanaServer.savedObjects.find({ + type: SO_SLO_TYPE, + }); + expect(savedObject.total).to.eql(4); + }); + }); + }); +} diff --git a/x-pack/test_serverless/api_integration/test_suites/observability/slos/delete_slo.ts b/x-pack/test_serverless/api_integration/test_suites/observability/slos/delete_slo.ts new file mode 100644 index 0000000000000..82bcaec6a8631 --- /dev/null +++ b/x-pack/test_serverless/api_integration/test_suites/observability/slos/delete_slo.ts @@ -0,0 +1,173 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import { SO_SLO_TYPE } from '@kbn/observability-plugin/server/saved_objects'; +import { cleanup, generate } from '@kbn/infra-forge'; +import expect from '@kbn/expect'; +import { ALL_VALUE } from '@kbn/slo-schema'; +import { + getSLOSummaryTransformId, + getSLOTransformId, + getSLOSummaryPipelineId, +} from '@kbn/observability-plugin/common/slo/constants'; +import { + SLO_DESTINATION_INDEX_PATTERN, + SLO_SUMMARY_DESTINATION_INDEX_PATTERN, +} from '@kbn/observability-plugin/common/slo/constants'; +import { ElasticsearchClient } from '@kbn/core/server'; + +import { FtrProviderContext } from '../../../ftr_provider_context'; +export default function ({ getService }: FtrProviderContext) { + const esClient = getService('es'); + const logger = getService('log'); + const kibanaServer = getService('kibanaServer'); + const sloApi = getService('sloApi'); + const transform = getService('transform'); + const retry = getService('retry'); + + const esDeleteAllIndices = getService('esDeleteAllIndices'); + const dataViewApi = getService('dataViewApi'); + + const fetchSloSummaryPipeline = async ( + client: ElasticsearchClient, + sloId: string, + sloRevision: number + ) => { + try { + return await esClient.ingest.getPipeline({ + id: getSLOSummaryPipelineId(sloId, sloRevision), + }); + } catch (error) { + // The GET /_ingest/pipeline API returns an empty object on 404 Not Found. If there are no SLO + // pipelines then return an empty record of pipelines + return {}; + } + }; + describe('delete_slo', () => { + // DATE_VIEW should match the index template: + // x-pack/packages/kbn-infra-forge/src/data_sources/composable/template.json + const DATE_VIEW = 'kbn-data-forge-fake_hosts'; + const DATA_VIEW_ID = 'data-view-id'; + let infraDataIndex: string; + let sloId: string; + + before(async () => { + await sloApi.deleteAllSLOs(); + + infraDataIndex = await generate({ + esClient, + lookback: 'now-15m', + logger, + }); + await dataViewApi.create({ + name: DATE_VIEW, + id: DATA_VIEW_ID, + title: DATE_VIEW, + }); + await kibanaServer.savedObjects.cleanStandardList(); + }); + + after(async () => { + await dataViewApi.delete({ + id: DATA_VIEW_ID, + }); + await sloApi.deleteAllSLOs(); + await esDeleteAllIndices([infraDataIndex]); + await cleanup({ esClient, logger }); + }); + + describe('non partition by SLO', () => { + it('deletes the SLO definition, transforms, ingest pipeline and data', async () => { + const createdSlo = await sloApi.create({ + name: 'my custom name', + description: 'my custom description', + indicator: { + type: 'sli.kql.custom', + params: { + index: infraDataIndex, + good: 'system.cpu.total.norm.pct > 1', + total: 'system.cpu.total.norm.pct: *', + timestampField: '@timestamp', + }, + }, + timeWindow: { + duration: '7d', + type: 'rolling', + }, + budgetingMethod: 'occurrences', + objective: { + target: 0.999, + }, + groupBy: ALL_VALUE, + }); + sloId = createdSlo.id; + await sloApi.waitForSloCreated({ sloId }); + + // Saved Object + const savedObject = await kibanaServer.savedObjects.find({ + type: SO_SLO_TYPE, + }); + expect(savedObject.total).to.eql(1); + expect(savedObject.saved_objects[0].attributes.id).to.eql(sloId); + + // Transforms + const sloTransformId = getSLOTransformId(sloId, 1); + const sloSummaryTransformId = getSLOSummaryTransformId(sloId, 1); + await transform.api.waitForTransformToExist(sloTransformId); + await transform.api.waitForTransformToExist(sloSummaryTransformId); + + // Ingest pipeline + const sloRevision = 1; + const pipelineResponse = await fetchSloSummaryPipeline(esClient, sloId, sloRevision); + const expectedPipeline = `.slo-observability.summary.pipeline-${sloId}-${sloRevision}`; + expect(pipelineResponse[expectedPipeline]).not.to.be(undefined); + + // RollUp and Summary data + const sloRollupData = await sloApi.waitForSloData({ + sloId, + indexName: SLO_DESTINATION_INDEX_PATTERN, + }); + const sloSummaryData = await sloApi.waitForSloData({ + sloId, + indexName: SLO_SUMMARY_DESTINATION_INDEX_PATTERN, + }); + + expect(sloRollupData.hits.hits.length > 0).to.be(true); + expect(sloSummaryData.hits.hits.length > 0).to.be(true); + + // Delete the SLO + const response = await sloApi.waitForSloToBeDeleted(sloId); + expect(response.status).to.be(204); + + // Saved object definition + const savedObjectAfterDelete = await kibanaServer.savedObjects.find({ + type: SO_SLO_TYPE, + }); + expect(savedObjectAfterDelete.total).to.eql(0); + + // Transforms + await transform.api.getTransform(sloTransformId, 404); + await transform.api.getTransform(sloSummaryTransformId, 404); + + // Roll up and summary data + await retry.tryForTime(60 * 1000, async () => { + const sloRollupDataAfterDeletion = await sloApi.getSloData({ + sloId, + indexName: SLO_DESTINATION_INDEX_PATTERN, + }); + const sloSummaryDataAfterDeletion = await sloApi.getSloData({ + sloId, + indexName: SLO_SUMMARY_DESTINATION_INDEX_PATTERN, + }); + + expect(sloRollupDataAfterDeletion.hits.hits.length).to.be(0); + expect(sloSummaryDataAfterDeletion.hits.hits.length).to.be(0); + }); + }); + }); + }); +} diff --git a/x-pack/test_serverless/api_integration/test_suites/observability/slos/index.ts b/x-pack/test_serverless/api_integration/test_suites/observability/slos/index.ts new file mode 100644 index 0000000000000..77d2b169fc7aa --- /dev/null +++ b/x-pack/test_serverless/api_integration/test_suites/observability/slos/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. + */ +import { FtrProviderContext } from '../../../ftr_provider_context'; + +export default function ({ loadTestFile }: FtrProviderContext) { + describe('SLOs', function () { + loadTestFile(require.resolve('./create_slo')); + loadTestFile(require.resolve('./delete_slo')); + }); +} diff --git a/x-pack/test_serverless/tsconfig.json b/x-pack/test_serverless/tsconfig.json index dcd1cbcfd43ba..43db4b65f72e8 100644 --- a/x-pack/test_serverless/tsconfig.json +++ b/x-pack/test_serverless/tsconfig.json @@ -83,6 +83,9 @@ "@kbn/io-ts-utils", "@kbn/log-explorer-plugin", "@kbn/index-management-plugin", + "@kbn/transform-plugin", + "@kbn/slo-schema", + "@kbn/core", "@kbn/alerting-plugin", "@kbn/ftr-common-functional-ui-services", ]