diff --git a/api_docs/actions.devdocs.json b/api_docs/actions.devdocs.json index 7240f4070d260..3c2653e17a1a1 100644 --- a/api_docs/actions.devdocs.json +++ b/api_docs/actions.devdocs.json @@ -697,7 +697,7 @@ "SearchResponse", ">; }; helpers: ", "default", - "; name: string | symbol; [kAsyncSearch]: symbol | null; [kAutoscaling]: symbol | null; [kCat]: symbol | null; [kCcr]: symbol | null; [kCluster]: symbol | null; [kDanglingIndices]: symbol | null; [kEnrich]: symbol | null; [kEql]: symbol | null; [kFeatures]: symbol | null; [kFleet]: symbol | null; [kGraph]: symbol | null; [kIlm]: symbol | null; [kIndices]: symbol | null; [kIngest]: symbol | null; [kLicense]: symbol | null; [kLogstash]: symbol | null; [kMigration]: symbol | null; [kMl]: symbol | null; [kMonitoring]: symbol | null; [kNodes]: symbol | null; [kRollup]: symbol | null; [kSearchApplication]: symbol | null; [kSearchableSnapshots]: symbol | null; [kSecurity]: symbol | null; [kShutdown]: symbol | null; [kSlm]: symbol | null; [kSnapshot]: symbol | null; [kSql]: symbol | null; [kSsl]: symbol | null; [kTasks]: symbol | null; [kTextStructure]: symbol | null; [kTransform]: symbol | null; [kWatcher]: symbol | null; [kXpack]: symbol | null; transport: ", + "; name: string | symbol; [kAsyncSearch]: symbol | null; [kAutoscaling]: symbol | null; [kCat]: symbol | null; [kCcr]: symbol | null; [kCluster]: symbol | null; [kDanglingIndices]: symbol | null; [kEnrich]: symbol | null; [kEql]: symbol | null; [kFeatures]: symbol | null; [kFleet]: symbol | null; [kGraph]: symbol | null; [kIlm]: symbol | null; [kIndices]: symbol | null; [kIngest]: symbol | null; [kLicense]: symbol | null; [kLogstash]: symbol | null; [kMigration]: symbol | null; [kMl]: symbol | null; [kMonitoring]: symbol | null; [kNodes]: symbol | null; [kRollup]: symbol | null; [kSearchApplication]: symbol | null; [kSearchableSnapshots]: symbol | null; [kSecurity]: symbol | null; [kShutdown]: symbol | null; [kSlm]: symbol | null; [kSnapshot]: symbol | null; [kSql]: symbol | null; [kSsl]: symbol | null; [kSynonyms]: symbol | null; [kTasks]: symbol | null; [kTextStructure]: symbol | null; [kTransform]: symbol | null; [kWatcher]: symbol | null; [kXpack]: symbol | null; transport: ", "default", "; child: (opts: ", "ClientOptions", @@ -1659,6 +1659,8 @@ "default", "; ssl: ", "default", + "; synonyms: ", + "default", "; tasks: ", "default", "; termsEnum: { (this: That, params: ", diff --git a/api_docs/actions.mdx b/api_docs/actions.mdx index 7a2528589f6be..d11859f8b448f 100644 --- a/api_docs/actions.mdx +++ b/api_docs/actions.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/actions title: "actions" image: https://source.unsplash.com/400x175/?github description: API docs for the actions plugin -date: 2023-07-31 +date: 2023-08-01 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 11bc1dd1405c2..da924dd1245d0 100644 --- a/api_docs/advanced_settings.mdx +++ b/api_docs/advanced_settings.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/advancedSettings title: "advancedSettings" image: https://source.unsplash.com/400x175/?github description: API docs for the advancedSettings plugin -date: 2023-07-31 +date: 2023-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'advancedSettings'] --- import advancedSettingsObj from './advanced_settings.devdocs.json'; diff --git a/api_docs/aiops.mdx b/api_docs/aiops.mdx index 95195bb9ee68d..c601a3b82efc2 100644 --- a/api_docs/aiops.mdx +++ b/api_docs/aiops.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/aiops title: "aiops" image: https://source.unsplash.com/400x175/?github description: API docs for the aiops plugin -date: 2023-07-31 +date: 2023-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'aiops'] --- import aiopsObj from './aiops.devdocs.json'; diff --git a/api_docs/alerting.mdx b/api_docs/alerting.mdx index f4223cd5bb058..b3d8a225a89ee 100644 --- a/api_docs/alerting.mdx +++ b/api_docs/alerting.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/alerting title: "alerting" image: https://source.unsplash.com/400x175/?github description: API docs for the alerting plugin -date: 2023-07-31 +date: 2023-08-01 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 9ed2aec1d6fe9..ad4d4881e6617 100644 --- a/api_docs/apm.mdx +++ b/api_docs/apm.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/apm title: "apm" image: https://source.unsplash.com/400x175/?github description: API docs for the apm plugin -date: 2023-07-31 +date: 2023-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'apm'] --- import apmObj from './apm.devdocs.json'; diff --git a/api_docs/asset_manager.mdx b/api_docs/asset_manager.mdx index 559404e161eb5..4089eb9f2912c 100644 --- a/api_docs/asset_manager.mdx +++ b/api_docs/asset_manager.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/assetManager title: "assetManager" image: https://source.unsplash.com/400x175/?github description: API docs for the assetManager plugin -date: 2023-07-31 +date: 2023-08-01 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 43806ca670c85..0628d0705cf2f 100644 --- a/api_docs/banners.mdx +++ b/api_docs/banners.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/banners title: "banners" image: https://source.unsplash.com/400x175/?github description: API docs for the banners plugin -date: 2023-07-31 +date: 2023-08-01 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 6340ef034500d..867b0a291b482 100644 --- a/api_docs/bfetch.mdx +++ b/api_docs/bfetch.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/bfetch title: "bfetch" image: https://source.unsplash.com/400x175/?github description: API docs for the bfetch plugin -date: 2023-07-31 +date: 2023-08-01 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 2f6918c118ae3..e3cfc7a2ee7b3 100644 --- a/api_docs/canvas.mdx +++ b/api_docs/canvas.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/canvas title: "canvas" image: https://source.unsplash.com/400x175/?github description: API docs for the canvas plugin -date: 2023-07-31 +date: 2023-08-01 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 471594b5ac874..f7d5f54c8f59a 100644 --- a/api_docs/cases.mdx +++ b/api_docs/cases.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/cases title: "cases" image: https://source.unsplash.com/400x175/?github description: API docs for the cases plugin -date: 2023-07-31 +date: 2023-08-01 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 d6914d628ed63..c8d3f9a7365d5 100644 --- a/api_docs/charts.mdx +++ b/api_docs/charts.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/charts title: "charts" image: https://source.unsplash.com/400x175/?github description: API docs for the charts plugin -date: 2023-07-31 +date: 2023-08-01 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 c639e71b016a1..d9db397200a41 100644 --- a/api_docs/cloud.mdx +++ b/api_docs/cloud.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/cloud title: "cloud" image: https://source.unsplash.com/400x175/?github description: API docs for the cloud plugin -date: 2023-07-31 +date: 2023-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'cloud'] --- import cloudObj from './cloud.devdocs.json'; diff --git a/api_docs/cloud_chat.mdx b/api_docs/cloud_chat.mdx index 7f93d7ab755cd..c3caf5a296f6d 100644 --- a/api_docs/cloud_chat.mdx +++ b/api_docs/cloud_chat.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/cloudChat title: "cloudChat" image: https://source.unsplash.com/400x175/?github description: API docs for the cloudChat plugin -date: 2023-07-31 +date: 2023-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'cloudChat'] --- import cloudChatObj from './cloud_chat.devdocs.json'; diff --git a/api_docs/cloud_chat_provider.mdx b/api_docs/cloud_chat_provider.mdx index 7182015102644..a88701856b53c 100644 --- a/api_docs/cloud_chat_provider.mdx +++ b/api_docs/cloud_chat_provider.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/cloudChatProvider title: "cloudChatProvider" image: https://source.unsplash.com/400x175/?github description: API docs for the cloudChatProvider plugin -date: 2023-07-31 +date: 2023-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'cloudChatProvider'] --- import cloudChatProviderObj from './cloud_chat_provider.devdocs.json'; diff --git a/api_docs/cloud_data_migration.mdx b/api_docs/cloud_data_migration.mdx index 61ab07ff4cccc..f737ed8d48b56 100644 --- a/api_docs/cloud_data_migration.mdx +++ b/api_docs/cloud_data_migration.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/cloudDataMigration title: "cloudDataMigration" image: https://source.unsplash.com/400x175/?github description: API docs for the cloudDataMigration plugin -date: 2023-07-31 +date: 2023-08-01 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 ac07bb78f6ceb..7a178123d581a 100644 --- a/api_docs/cloud_defend.mdx +++ b/api_docs/cloud_defend.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/cloudDefend title: "cloudDefend" image: https://source.unsplash.com/400x175/?github description: API docs for the cloudDefend plugin -date: 2023-07-31 +date: 2023-08-01 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 a8f6e58175d2c..99f79abc8dfaa 100644 --- a/api_docs/cloud_experiments.mdx +++ b/api_docs/cloud_experiments.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/cloudExperiments title: "cloudExperiments" image: https://source.unsplash.com/400x175/?github description: API docs for the cloudExperiments plugin -date: 2023-07-31 +date: 2023-08-01 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 f0575945d4b33..4ce933fd87463 100644 --- a/api_docs/cloud_security_posture.mdx +++ b/api_docs/cloud_security_posture.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/cloudSecurityPosture title: "cloudSecurityPosture" image: https://source.unsplash.com/400x175/?github description: API docs for the cloudSecurityPosture plugin -date: 2023-07-31 +date: 2023-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'cloudSecurityPosture'] --- import cloudSecurityPostureObj from './cloud_security_posture.devdocs.json'; diff --git a/api_docs/console.mdx b/api_docs/console.mdx index e6cd5719d67bb..aea3731dc3f8e 100644 --- a/api_docs/console.mdx +++ b/api_docs/console.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/console title: "console" image: https://source.unsplash.com/400x175/?github description: API docs for the console plugin -date: 2023-07-31 +date: 2023-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'console'] --- import consoleObj from './console.devdocs.json'; diff --git a/api_docs/content_management.mdx b/api_docs/content_management.mdx index 81f41f8211bcf..7a7dd4d7e6786 100644 --- a/api_docs/content_management.mdx +++ b/api_docs/content_management.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/contentManagement title: "contentManagement" image: https://source.unsplash.com/400x175/?github description: API docs for the contentManagement plugin -date: 2023-07-31 +date: 2023-08-01 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 27a37a556d4f5..e8d8e851ae925 100644 --- a/api_docs/controls.mdx +++ b/api_docs/controls.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/controls title: "controls" image: https://source.unsplash.com/400x175/?github description: API docs for the controls plugin -date: 2023-07-31 +date: 2023-08-01 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 b01e250ccb3f8..c397d0e02b9c3 100644 --- a/api_docs/custom_integrations.mdx +++ b/api_docs/custom_integrations.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/customIntegrations title: "customIntegrations" image: https://source.unsplash.com/400x175/?github description: API docs for the customIntegrations plugin -date: 2023-07-31 +date: 2023-08-01 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 62bc3c918bccc..dcf8efb5964ae 100644 --- a/api_docs/dashboard.mdx +++ b/api_docs/dashboard.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/dashboard title: "dashboard" image: https://source.unsplash.com/400x175/?github description: API docs for the dashboard plugin -date: 2023-07-31 +date: 2023-08-01 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 912782385ef1b..50142133b0c11 100644 --- a/api_docs/dashboard_enhanced.mdx +++ b/api_docs/dashboard_enhanced.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/dashboardEnhanced title: "dashboardEnhanced" image: https://source.unsplash.com/400x175/?github description: API docs for the dashboardEnhanced plugin -date: 2023-07-31 +date: 2023-08-01 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 996c37711f757..f1b0fb31aa7d9 100644 --- a/api_docs/data.devdocs.json +++ b/api_docs/data.devdocs.json @@ -13636,10 +13636,6 @@ "plugin": "dataVisualizer", "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/hooks/use_data_visualizer_grid_data.ts" }, - { - "plugin": "dataVisualizer", - "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/index_data_visualizer_view/index_data_visualizer_view.tsx" - }, { "plugin": "ml", "path": "x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/components/configuration_step/configuration_step_details.tsx" @@ -17986,7 +17982,7 @@ "SearchResponse", ">; }; helpers: ", "default", - "; name: string | symbol; [kAsyncSearch]: symbol | null; [kAutoscaling]: symbol | null; [kCat]: symbol | null; [kCcr]: symbol | null; [kCluster]: symbol | null; [kDanglingIndices]: symbol | null; [kEnrich]: symbol | null; [kEql]: symbol | null; [kFeatures]: symbol | null; [kFleet]: symbol | null; [kGraph]: symbol | null; [kIlm]: symbol | null; [kIndices]: symbol | null; [kIngest]: symbol | null; [kLicense]: symbol | null; [kLogstash]: symbol | null; [kMigration]: symbol | null; [kMl]: symbol | null; [kMonitoring]: symbol | null; [kNodes]: symbol | null; [kRollup]: symbol | null; [kSearchApplication]: symbol | null; [kSearchableSnapshots]: symbol | null; [kSecurity]: symbol | null; [kShutdown]: symbol | null; [kSlm]: symbol | null; [kSnapshot]: symbol | null; [kSql]: symbol | null; [kSsl]: symbol | null; [kTasks]: symbol | null; [kTextStructure]: symbol | null; [kTransform]: symbol | null; [kWatcher]: symbol | null; [kXpack]: symbol | null; transport: ", + "; name: string | symbol; [kAsyncSearch]: symbol | null; [kAutoscaling]: symbol | null; [kCat]: symbol | null; [kCcr]: symbol | null; [kCluster]: symbol | null; [kDanglingIndices]: symbol | null; [kEnrich]: symbol | null; [kEql]: symbol | null; [kFeatures]: symbol | null; [kFleet]: symbol | null; [kGraph]: symbol | null; [kIlm]: symbol | null; [kIndices]: symbol | null; [kIngest]: symbol | null; [kLicense]: symbol | null; [kLogstash]: symbol | null; [kMigration]: symbol | null; [kMl]: symbol | null; [kMonitoring]: symbol | null; [kNodes]: symbol | null; [kRollup]: symbol | null; [kSearchApplication]: symbol | null; [kSearchableSnapshots]: symbol | null; [kSecurity]: symbol | null; [kShutdown]: symbol | null; [kSlm]: symbol | null; [kSnapshot]: symbol | null; [kSql]: symbol | null; [kSsl]: symbol | null; [kSynonyms]: symbol | null; [kTasks]: symbol | null; [kTextStructure]: symbol | null; [kTransform]: symbol | null; [kWatcher]: symbol | null; [kXpack]: symbol | null; transport: ", "default", "; child: (opts: ", "ClientOptions", @@ -18948,6 +18944,8 @@ "default", "; ssl: ", "default", + "; synonyms: ", + "default", "; tasks: ", "default", "; termsEnum: { (this: That, params: ", @@ -21321,10 +21319,6 @@ "plugin": "dataVisualizer", "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/hooks/use_data_visualizer_grid_data.ts" }, - { - "plugin": "dataVisualizer", - "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/index_data_visualizer_view/index_data_visualizer_view.tsx" - }, { "plugin": "ml", "path": "x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/components/configuration_step/configuration_step_details.tsx" diff --git a/api_docs/data.mdx b/api_docs/data.mdx index 1c87b5d5945f8..22f1bd9c3701b 100644 --- a/api_docs/data.mdx +++ b/api_docs/data.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/data title: "data" image: https://source.unsplash.com/400x175/?github description: API docs for the data plugin -date: 2023-07-31 +date: 2023-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'data'] --- import dataObj from './data.devdocs.json'; diff --git a/api_docs/data_query.mdx b/api_docs/data_query.mdx index 30cc6c309a495..d013676b777e4 100644 --- a/api_docs/data_query.mdx +++ b/api_docs/data_query.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/data-query title: "data.query" image: https://source.unsplash.com/400x175/?github description: API docs for the data.query plugin -date: 2023-07-31 +date: 2023-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'data.query'] --- import dataQueryObj from './data_query.devdocs.json'; diff --git a/api_docs/data_search.mdx b/api_docs/data_search.mdx index 88fc2c0f94814..832b1f54cab37 100644 --- a/api_docs/data_search.mdx +++ b/api_docs/data_search.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/data-search title: "data.search" image: https://source.unsplash.com/400x175/?github description: API docs for the data.search plugin -date: 2023-07-31 +date: 2023-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'data.search'] --- import dataSearchObj from './data_search.devdocs.json'; diff --git a/api_docs/data_view_editor.mdx b/api_docs/data_view_editor.mdx index a8a5ca8f1bd3d..f72e100b1f21f 100644 --- a/api_docs/data_view_editor.mdx +++ b/api_docs/data_view_editor.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/dataViewEditor title: "dataViewEditor" image: https://source.unsplash.com/400x175/?github description: API docs for the dataViewEditor plugin -date: 2023-07-31 +date: 2023-08-01 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 f144aa6b1f57e..03e80612d850c 100644 --- a/api_docs/data_view_field_editor.mdx +++ b/api_docs/data_view_field_editor.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/dataViewFieldEditor title: "dataViewFieldEditor" image: https://source.unsplash.com/400x175/?github description: API docs for the dataViewFieldEditor plugin -date: 2023-07-31 +date: 2023-08-01 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 cd4673260ba9c..ae3c22f8c8557 100644 --- a/api_docs/data_view_management.mdx +++ b/api_docs/data_view_management.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/dataViewManagement title: "dataViewManagement" image: https://source.unsplash.com/400x175/?github description: API docs for the dataViewManagement plugin -date: 2023-07-31 +date: 2023-08-01 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 d76cb54fd9d5a..ace6026c2be0e 100644 --- a/api_docs/data_views.devdocs.json +++ b/api_docs/data_views.devdocs.json @@ -447,10 +447,6 @@ "plugin": "dataVisualizer", "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/hooks/use_data_visualizer_grid_data.ts" }, - { - "plugin": "dataVisualizer", - "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/index_data_visualizer_view/index_data_visualizer_view.tsx" - }, { "plugin": "ml", "path": "x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/components/configuration_step/configuration_step_details.tsx" @@ -8305,10 +8301,6 @@ "plugin": "dataVisualizer", "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/hooks/use_data_visualizer_grid_data.ts" }, - { - "plugin": "dataVisualizer", - "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/index_data_visualizer_view/index_data_visualizer_view.tsx" - }, { "plugin": "ml", "path": "x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/components/configuration_step/configuration_step_details.tsx" @@ -13695,7 +13687,7 @@ "SearchResponse", ">; }; helpers: ", "default", - "; name: string | symbol; [kAsyncSearch]: symbol | null; [kAutoscaling]: symbol | null; [kCat]: symbol | null; [kCcr]: symbol | null; [kCluster]: symbol | null; [kDanglingIndices]: symbol | null; [kEnrich]: symbol | null; [kEql]: symbol | null; [kFeatures]: symbol | null; [kFleet]: symbol | null; [kGraph]: symbol | null; [kIlm]: symbol | null; [kIndices]: symbol | null; [kIngest]: symbol | null; [kLicense]: symbol | null; [kLogstash]: symbol | null; [kMigration]: symbol | null; [kMl]: symbol | null; [kMonitoring]: symbol | null; [kNodes]: symbol | null; [kRollup]: symbol | null; [kSearchApplication]: symbol | null; [kSearchableSnapshots]: symbol | null; [kSecurity]: symbol | null; [kShutdown]: symbol | null; [kSlm]: symbol | null; [kSnapshot]: symbol | null; [kSql]: symbol | null; [kSsl]: symbol | null; [kTasks]: symbol | null; [kTextStructure]: symbol | null; [kTransform]: symbol | null; [kWatcher]: symbol | null; [kXpack]: symbol | null; transport: ", + "; name: string | symbol; [kAsyncSearch]: symbol | null; [kAutoscaling]: symbol | null; [kCat]: symbol | null; [kCcr]: symbol | null; [kCluster]: symbol | null; [kDanglingIndices]: symbol | null; [kEnrich]: symbol | null; [kEql]: symbol | null; [kFeatures]: symbol | null; [kFleet]: symbol | null; [kGraph]: symbol | null; [kIlm]: symbol | null; [kIndices]: symbol | null; [kIngest]: symbol | null; [kLicense]: symbol | null; [kLogstash]: symbol | null; [kMigration]: symbol | null; [kMl]: symbol | null; [kMonitoring]: symbol | null; [kNodes]: symbol | null; [kRollup]: symbol | null; [kSearchApplication]: symbol | null; [kSearchableSnapshots]: symbol | null; [kSecurity]: symbol | null; [kShutdown]: symbol | null; [kSlm]: symbol | null; [kSnapshot]: symbol | null; [kSql]: symbol | null; [kSsl]: symbol | null; [kSynonyms]: symbol | null; [kTasks]: symbol | null; [kTextStructure]: symbol | null; [kTransform]: symbol | null; [kWatcher]: symbol | null; [kXpack]: symbol | null; transport: ", "default", "; child: (opts: ", "ClientOptions", @@ -14657,6 +14649,8 @@ "default", "; ssl: ", "default", + "; synonyms: ", + "default", "; tasks: ", "default", "; termsEnum: { (this: That, params: ", @@ -15282,10 +15276,6 @@ "plugin": "dataVisualizer", "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/hooks/use_data_visualizer_grid_data.ts" }, - { - "plugin": "dataVisualizer", - "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/index_data_visualizer_view/index_data_visualizer_view.tsx" - }, { "plugin": "ml", "path": "x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/components/configuration_step/configuration_step_details.tsx" diff --git a/api_docs/data_views.mdx b/api_docs/data_views.mdx index c6116a93e17a2..e03aabb9aa09b 100644 --- a/api_docs/data_views.mdx +++ b/api_docs/data_views.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/dataViews title: "dataViews" image: https://source.unsplash.com/400x175/?github description: API docs for the dataViews plugin -date: 2023-07-31 +date: 2023-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'dataViews'] --- import dataViewsObj from './data_views.devdocs.json'; diff --git a/api_docs/data_visualizer.devdocs.json b/api_docs/data_visualizer.devdocs.json index f690a34438943..9f100882c91c9 100644 --- a/api_docs/data_visualizer.devdocs.json +++ b/api_docs/data_visualizer.devdocs.json @@ -300,6 +300,54 @@ ], "enums": [], "misc": [ + { + "parentPluginId": "dataVisualizer", + "id": "def-public.DataComparisonSpec", + "type": "Type", + "tags": [], + "label": "DataComparisonSpec", + "description": [], + "signature": [ + "React.FunctionComponent<", + "DataComparisonDetectionAppStateProps", + ">" + ], + "path": "x-pack/plugins/data_visualizer/public/application/data_comparison/data_comparison_app_state.tsx", + "deprecated": false, + "trackAdoption": false, + "returnComment": [], + "children": [ + { + "parentPluginId": "dataVisualizer", + "id": "def-public.DataComparisonSpec.$1", + "type": "CompoundType", + "tags": [], + "label": "props", + "description": [], + "signature": [ + "P & { children?: React.ReactNode; }" + ], + "path": "node_modules/@types/react/index.d.ts", + "deprecated": false, + "trackAdoption": false + }, + { + "parentPluginId": "dataVisualizer", + "id": "def-public.DataComparisonSpec.$2", + "type": "Any", + "tags": [], + "label": "context", + "description": [], + "signature": [ + "any" + ], + "path": "node_modules/@types/react/index.d.ts", + "deprecated": false, + "trackAdoption": false + } + ], + "initialIsOpen": false + }, { "parentPluginId": "dataVisualizer", "id": "def-public.FileDataVisualizerSpec", @@ -449,7 +497,9 @@ "section": "def-public.GetAdditionalLinks", "text": "GetAdditionalLinks" }, - " | undefined; }>>; getMaxBytesFormatted: () => string; }" + " | undefined; }>>; getDataComparisonComponent: () => Promise<() => React.FC<", + "DataComparisonDetectionAppStateProps", + ">>; getMaxBytesFormatted: () => string; }" ], "path": "x-pack/plugins/data_visualizer/public/plugin.ts", "deprecated": false, diff --git a/api_docs/data_visualizer.mdx b/api_docs/data_visualizer.mdx index 8c2c8d4bc6cb4..3b034404c7410 100644 --- a/api_docs/data_visualizer.mdx +++ b/api_docs/data_visualizer.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/dataVisualizer title: "dataVisualizer" image: https://source.unsplash.com/400x175/?github description: API docs for the dataVisualizer plugin -date: 2023-07-31 +date: 2023-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'dataVisualizer'] --- import dataVisualizerObj from './data_visualizer.devdocs.json'; @@ -21,7 +21,7 @@ Contact [@elastic/ml-ui](https://github.com/orgs/elastic/teams/ml-ui) for questi | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 28 | 3 | 24 | 0 | +| 31 | 3 | 25 | 1 | ## Client diff --git a/api_docs/deprecations_by_api.mdx b/api_docs/deprecations_by_api.mdx index 9b246e973a493..5c99ef189dbac 100644 --- a/api_docs/deprecations_by_api.mdx +++ b/api_docs/deprecations_by_api.mdx @@ -7,7 +7,7 @@ id: kibDevDocsDeprecationsByApi slug: /kibana-dev-docs/api-meta/deprecated-api-list-by-api title: Deprecated API usage by API description: A list of deprecated APIs, which plugins are still referencing them, and when they need to be removed by. -date: 2023-07-31 +date: 2023-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana'] --- @@ -46,7 +46,7 @@ tags: ['contributor', 'dev', 'apidocs', 'kibana'] | | @kbn/securitysolution-data-table, securitySolution | - | | | securitySolution | - | | | securitySolution | - | -| | @kbn/core-saved-objects-api-browser, @kbn/core-saved-objects-browser-internal, @kbn/core-saved-objects-api-server, @kbn/core, home, savedObjectsTagging, canvas, savedObjects, @kbn/core-saved-objects-browser-mocks, @kbn/core-saved-objects-import-export-server-internal, savedObjectsTaggingOss, lists, securitySolution, upgradeAssistant, savedObjectsManagement, synthetics, @kbn/core-ui-settings-server-internal | - | +| | @kbn/core-saved-objects-api-browser, @kbn/core-saved-objects-browser-internal, @kbn/core-saved-objects-api-server, @kbn/core, home, savedObjectsTagging, canvas, savedObjects, @kbn/core-saved-objects-browser-mocks, @kbn/core-saved-objects-import-export-server-internal, savedObjectsTaggingOss, lists, securitySolution, upgradeAssistant, savedObjectsManagement, @kbn/core-ui-settings-server-internal | - | | | @kbn/core-saved-objects-migration-server-internal, actions, dataViews, data, alerting, lens, cases, savedObjectsTagging, visualizations, savedSearch, canvas, graph, lists, maps, securitySolution, dashboard, @kbn/core-test-helpers-so-type-serializer | - | | | lists, securitySolution, @kbn/securitysolution-io-ts-list-types | - | | | lists, securitySolution, @kbn/securitysolution-io-ts-list-types | - | diff --git a/api_docs/deprecations_by_plugin.mdx b/api_docs/deprecations_by_plugin.mdx index c96db95990d50..ad3501206ff72 100644 --- a/api_docs/deprecations_by_plugin.mdx +++ b/api_docs/deprecations_by_plugin.mdx @@ -7,7 +7,7 @@ id: kibDevDocsDeprecationsByPlugin slug: /kibana-dev-docs/api-meta/deprecated-api-list-by-plugin title: Deprecated API usage by plugin description: A list of deprecated APIs, which plugins are still referencing them, and when they need to be removed by. -date: 2023-07-31 +date: 2023-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana'] --- @@ -651,12 +651,12 @@ tags: ['contributor', 'dev', 'apidocs', 'kibana'] | Deprecated API | Reference location(s) | Remove By | | ---------------|-----------|-----------| | | [document_stats.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/data_visualizer/public/application/common/components/stats_table/components/field_data_row/document_stats.tsx#:~:text=fieldFormats), [top_values.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/data_visualizer/public/application/common/components/top_values/top_values.tsx#:~:text=fieldFormats), [choropleth_map.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/data_visualizer/public/application/common/components/stats_table/components/field_data_expanded_row/choropleth_map.tsx#:~:text=fieldFormats) | - | -| | [use_data_visualizer_grid_data.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/data_visualizer/public/application/index_data_visualizer/hooks/use_data_visualizer_grid_data.ts#:~:text=title), [index_data_visualizer_view.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/index_data_visualizer_view/index_data_visualizer_view.tsx#:~:text=title), [use_data_visualizer_grid_data.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/data_visualizer/public/application/index_data_visualizer/hooks/use_data_visualizer_grid_data.ts#:~:text=title), [index_data_visualizer_view.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/index_data_visualizer_view/index_data_visualizer_view.tsx#:~:text=title) | - | -| | [use_data_visualizer_grid_data.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/data_visualizer/public/application/index_data_visualizer/hooks/use_data_visualizer_grid_data.ts#:~:text=title), [index_data_visualizer_view.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/index_data_visualizer_view/index_data_visualizer_view.tsx#:~:text=title), [use_data_visualizer_grid_data.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/data_visualizer/public/application/index_data_visualizer/hooks/use_data_visualizer_grid_data.ts#:~:text=title), [index_data_visualizer_view.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/index_data_visualizer_view/index_data_visualizer_view.tsx#:~:text=title) | - | -| | [use_data_visualizer_grid_data.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/data_visualizer/public/application/index_data_visualizer/hooks/use_data_visualizer_grid_data.ts#:~:text=title), [index_data_visualizer_view.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/index_data_visualizer_view/index_data_visualizer_view.tsx#:~:text=title) | - | +| | [use_data_visualizer_grid_data.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/data_visualizer/public/application/index_data_visualizer/hooks/use_data_visualizer_grid_data.ts#:~:text=title), [use_data_visualizer_grid_data.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/data_visualizer/public/application/index_data_visualizer/hooks/use_data_visualizer_grid_data.ts#:~:text=title) | - | +| | [use_data_visualizer_grid_data.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/data_visualizer/public/application/index_data_visualizer/hooks/use_data_visualizer_grid_data.ts#:~:text=title), [use_data_visualizer_grid_data.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/data_visualizer/public/application/index_data_visualizer/hooks/use_data_visualizer_grid_data.ts#:~:text=title) | - | +| | [use_data_visualizer_grid_data.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/data_visualizer/public/application/index_data_visualizer/hooks/use_data_visualizer_grid_data.ts#:~:text=title) | - | | | [results_links.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/data_visualizer/public/application/common/components/results_links/results_links.tsx#:~:text=indexPatternId), [actions_panel.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/actions_panel/actions_panel.tsx#:~:text=indexPatternId) | - | -| | [grid_embeddable.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/data_visualizer/public/application/index_data_visualizer/embeddables/grid_embeddable/grid_embeddable.tsx#:~:text=toMountPoint), [grid_embeddable.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/data_visualizer/public/application/index_data_visualizer/embeddables/grid_embeddable/grid_embeddable.tsx#:~:text=toMountPoint), [index_data_visualizer.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/data_visualizer/public/application/index_data_visualizer/index_data_visualizer.tsx#:~:text=toMountPoint), [index_data_visualizer.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/data_visualizer/public/application/index_data_visualizer/index_data_visualizer.tsx#:~:text=toMountPoint) | - | -| | [file_data_visualizer.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/data_visualizer/public/application/file_data_visualizer/file_data_visualizer.tsx#:~:text=KibanaThemeProvider), [file_data_visualizer.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/data_visualizer/public/application/file_data_visualizer/file_data_visualizer.tsx#:~:text=KibanaThemeProvider), [file_data_visualizer.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/data_visualizer/public/application/file_data_visualizer/file_data_visualizer.tsx#:~:text=KibanaThemeProvider), [grid_embeddable.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/data_visualizer/public/application/index_data_visualizer/embeddables/grid_embeddable/grid_embeddable.tsx#:~:text=KibanaThemeProvider), [grid_embeddable.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/data_visualizer/public/application/index_data_visualizer/embeddables/grid_embeddable/grid_embeddable.tsx#:~:text=KibanaThemeProvider), [grid_embeddable.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/data_visualizer/public/application/index_data_visualizer/embeddables/grid_embeddable/grid_embeddable.tsx#:~:text=KibanaThemeProvider), [index_data_visualizer.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/data_visualizer/public/application/index_data_visualizer/index_data_visualizer.tsx#:~:text=KibanaThemeProvider), [index_data_visualizer.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/data_visualizer/public/application/index_data_visualizer/index_data_visualizer.tsx#:~:text=KibanaThemeProvider), [index_data_visualizer.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/data_visualizer/public/application/index_data_visualizer/index_data_visualizer.tsx#:~:text=KibanaThemeProvider) | - | +| | [grid_embeddable.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/data_visualizer/public/application/index_data_visualizer/embeddables/grid_embeddable/grid_embeddable.tsx#:~:text=toMountPoint), [grid_embeddable.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/data_visualizer/public/application/index_data_visualizer/embeddables/grid_embeddable/grid_embeddable.tsx#:~:text=toMountPoint), [index_data_visualizer.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/data_visualizer/public/application/index_data_visualizer/index_data_visualizer.tsx#:~:text=toMountPoint), [index_data_visualizer.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/data_visualizer/public/application/index_data_visualizer/index_data_visualizer.tsx#:~:text=toMountPoint), [data_comparison_app_state.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/data_visualizer/public/application/data_comparison/data_comparison_app_state.tsx#:~:text=toMountPoint), [data_comparison_app_state.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/data_visualizer/public/application/data_comparison/data_comparison_app_state.tsx#:~:text=toMountPoint) | - | +| | [file_data_visualizer.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/data_visualizer/public/application/file_data_visualizer/file_data_visualizer.tsx#:~:text=KibanaThemeProvider), [file_data_visualizer.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/data_visualizer/public/application/file_data_visualizer/file_data_visualizer.tsx#:~:text=KibanaThemeProvider), [file_data_visualizer.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/data_visualizer/public/application/file_data_visualizer/file_data_visualizer.tsx#:~:text=KibanaThemeProvider), [grid_embeddable.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/data_visualizer/public/application/index_data_visualizer/embeddables/grid_embeddable/grid_embeddable.tsx#:~:text=KibanaThemeProvider), [grid_embeddable.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/data_visualizer/public/application/index_data_visualizer/embeddables/grid_embeddable/grid_embeddable.tsx#:~:text=KibanaThemeProvider), [grid_embeddable.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/data_visualizer/public/application/index_data_visualizer/embeddables/grid_embeddable/grid_embeddable.tsx#:~:text=KibanaThemeProvider), [index_data_visualizer.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/data_visualizer/public/application/index_data_visualizer/index_data_visualizer.tsx#:~:text=KibanaThemeProvider), [index_data_visualizer.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/data_visualizer/public/application/index_data_visualizer/index_data_visualizer.tsx#:~:text=KibanaThemeProvider), [index_data_visualizer.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/data_visualizer/public/application/index_data_visualizer/index_data_visualizer.tsx#:~:text=KibanaThemeProvider), [data_comparison_app_state.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/data_visualizer/public/application/data_comparison/data_comparison_app_state.tsx#:~:text=KibanaThemeProvider)+ 2 more | - | | | [index_data_visualizer.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/data_visualizer/public/application/index_data_visualizer/index_data_visualizer.tsx#:~:text=savedObjects) | - | | | [index.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/data_visualizer/common/types/index.ts#:~:text=SimpleSavedObject), [index.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/data_visualizer/common/types/index.ts#:~:text=SimpleSavedObject) | - | @@ -1588,10 +1588,9 @@ migrates to using the Kibana Privilege model: https://github.com/elastic/kibana/ | ---------------|-----------|-----------| | | [common.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/synthetics/server/alert_rules/common.ts#:~:text=alertFactory), [message_utils.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/synthetics/server/alert_rules/tls_rule/message_utils.ts#:~:text=alertFactory), [tls_rule.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/synthetics/server/alert_rules/tls_rule/tls_rule.ts#:~:text=alertFactory), [monitor_status_rule.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/synthetics/server/alert_rules/status_rule/monitor_status_rule.ts#:~:text=alertFactory) | - | | | [stderr_logs.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/synthetics/public/apps/synthetics/components/common/components/stderr_logs.tsx#:~:text=indexPatternId) | - | -| | [toast_title.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/synthetics/public/apps/synthetics/state/monitor_list/toast_title.tsx#:~:text=toMountPoint), [toast_title.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/synthetics/public/apps/synthetics/state/monitor_list/toast_title.tsx#:~:text=toMountPoint), [browser_test_results.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/synthetics/public/apps/synthetics/components/test_now_mode/manual_test_run_mode/browser_test_results.tsx#:~:text=toMountPoint), [browser_test_results.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/synthetics/public/apps/synthetics/components/test_now_mode/manual_test_run_mode/browser_test_results.tsx#:~:text=toMountPoint), [delete_monitor.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/synthetics/public/apps/synthetics/components/monitors_page/management/monitor_list_table/delete_monitor.tsx#:~:text=toMountPoint), [delete_monitor.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/synthetics/public/apps/synthetics/components/monitors_page/management/monitor_list_table/delete_monitor.tsx#:~:text=toMountPoint), [delete_monitor.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/synthetics/public/apps/synthetics/components/monitors_page/management/monitor_list_table/delete_monitor.tsx#:~:text=toMountPoint), [delete_param.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/synthetics/public/apps/synthetics/components/settings/global_params/delete_param.tsx#:~:text=toMountPoint), [delete_param.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/synthetics/public/apps/synthetics/components/settings/global_params/delete_param.tsx#:~:text=toMountPoint), [delete_param.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/synthetics/public/apps/synthetics/components/settings/global_params/delete_param.tsx#:~:text=toMountPoint)+ 6 more | - | +| | [toast_title.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/synthetics/public/apps/synthetics/state/monitor_list/toast_title.tsx#:~:text=toMountPoint), [toast_title.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/synthetics/public/apps/synthetics/state/monitor_list/toast_title.tsx#:~:text=toMountPoint), [delete_monitor.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/synthetics/public/apps/synthetics/components/monitors_page/management/monitor_list_table/delete_monitor.tsx#:~:text=toMountPoint), [delete_monitor.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/synthetics/public/apps/synthetics/components/monitors_page/management/monitor_list_table/delete_monitor.tsx#:~:text=toMountPoint), [delete_monitor.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/synthetics/public/apps/synthetics/components/monitors_page/management/monitor_list_table/delete_monitor.tsx#:~:text=toMountPoint), [browser_test_results.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/synthetics/public/apps/synthetics/components/test_now_mode/manual_test_run_mode/browser_test_results.tsx#:~:text=toMountPoint), [browser_test_results.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/synthetics/public/apps/synthetics/components/test_now_mode/manual_test_run_mode/browser_test_results.tsx#:~:text=toMountPoint), [delete_param.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/synthetics/public/apps/synthetics/components/settings/global_params/delete_param.tsx#:~:text=toMountPoint), [delete_param.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/synthetics/public/apps/synthetics/components/settings/global_params/delete_param.tsx#:~:text=toMountPoint), [delete_param.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/synthetics/public/apps/synthetics/components/settings/global_params/delete_param.tsx#:~:text=toMountPoint)+ 6 more | - | | | [synthetics_app.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/synthetics/public/apps/synthetics/synthetics_app.tsx#:~:text=RedirectAppLinks), [synthetics_app.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/synthetics/public/apps/synthetics/synthetics_app.tsx#:~:text=RedirectAppLinks), [synthetics_app.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/synthetics/public/apps/synthetics/synthetics_app.tsx#:~:text=RedirectAppLinks) | - | | | [synthetics_app.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/synthetics/public/apps/synthetics/synthetics_app.tsx#:~:text=KibanaThemeProvider), [synthetics_app.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/synthetics/public/apps/synthetics/synthetics_app.tsx#:~:text=KibanaThemeProvider), [synthetics_app.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/synthetics/public/apps/synthetics/synthetics_app.tsx#:~:text=KibanaThemeProvider) | - | -| | [api.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/synthetics/public/apps/synthetics/state/monitor_list/api.ts#:~:text=SavedObject), [api.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/synthetics/public/apps/synthetics/state/monitor_list/api.ts#:~:text=SavedObject), [effects.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/synthetics/public/apps/synthetics/state/monitor_list/effects.ts#:~:text=SavedObject), [effects.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/synthetics/public/apps/synthetics/state/monitor_list/effects.ts#:~:text=SavedObject) | - | diff --git a/api_docs/deprecations_by_team.mdx b/api_docs/deprecations_by_team.mdx index 8232ea87736e5..e67baea6d08ed 100644 --- a/api_docs/deprecations_by_team.mdx +++ b/api_docs/deprecations_by_team.mdx @@ -7,7 +7,7 @@ id: kibDevDocsDeprecationsDueByTeam slug: /kibana-dev-docs/api-meta/deprecations-due-by-team title: Deprecated APIs due to be removed, by team description: Lists the teams that are referencing deprecated APIs with a remove by date. -date: 2023-07-31 +date: 2023-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana'] --- diff --git a/api_docs/dev_tools.mdx b/api_docs/dev_tools.mdx index 4ef48b3aa56bd..9ef460c274cc7 100644 --- a/api_docs/dev_tools.mdx +++ b/api_docs/dev_tools.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/devTools title: "devTools" image: https://source.unsplash.com/400x175/?github description: API docs for the devTools plugin -date: 2023-07-31 +date: 2023-08-01 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 6e99cd18746ea..06882fc0dff22 100644 --- a/api_docs/discover.mdx +++ b/api_docs/discover.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/discover title: "discover" image: https://source.unsplash.com/400x175/?github description: API docs for the discover plugin -date: 2023-07-31 +date: 2023-08-01 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 124d08cc58d80..09b845680f897 100644 --- a/api_docs/discover_enhanced.mdx +++ b/api_docs/discover_enhanced.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/discoverEnhanced title: "discoverEnhanced" image: https://source.unsplash.com/400x175/?github description: API docs for the discoverEnhanced plugin -date: 2023-07-31 +date: 2023-08-01 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 8139af8197fd6..d9816433e9333 100644 --- a/api_docs/ecs_data_quality_dashboard.mdx +++ b/api_docs/ecs_data_quality_dashboard.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/ecsDataQualityDashboard title: "ecsDataQualityDashboard" image: https://source.unsplash.com/400x175/?github description: API docs for the ecsDataQualityDashboard plugin -date: 2023-07-31 +date: 2023-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'ecsDataQualityDashboard'] --- import ecsDataQualityDashboardObj from './ecs_data_quality_dashboard.devdocs.json'; diff --git a/api_docs/embeddable.devdocs.json b/api_docs/embeddable.devdocs.json index a3efb8ed05233..cbb78b0f3defe 100644 --- a/api_docs/embeddable.devdocs.json +++ b/api_docs/embeddable.devdocs.json @@ -5714,7 +5714,7 @@ "label": "openAddPanelFlyout", "description": [], "signature": [ - "({ container, onAddPanel, }: { container: ", + "({ container, onAddPanel, onClose, }: { container: ", { "pluginId": "embeddable", "scope": "public", @@ -5738,7 +5738,7 @@ "section": "def-public.ContainerOutput", "text": "ContainerOutput" }, - ">; onAddPanel?: ((id: string) => void) | undefined; }) => ", + ">; onAddPanel?: ((id: string) => void) | undefined; onClose?: (() => void) | undefined; }) => ", { "pluginId": "@kbn/core-mount-utils-browser", "scope": "common", @@ -5756,7 +5756,7 @@ "id": "def-public.openAddPanelFlyout.$1", "type": "Object", "tags": [], - "label": "{\n container,\n onAddPanel,\n}", + "label": "{\n container,\n onAddPanel,\n onClose,\n}", "description": [], "path": "src/plugins/embeddable/public/add_panel_flyout/open_add_panel_flyout.tsx", "deprecated": false, @@ -5830,6 +5830,22 @@ } ], "returnComment": [] + }, + { + "parentPluginId": "embeddable", + "id": "def-public.openAddPanelFlyout.$1.onClose", + "type": "Function", + "tags": [], + "label": "onClose", + "description": [], + "signature": [ + "(() => void) | undefined" + ], + "path": "src/plugins/embeddable/public/add_panel_flyout/open_add_panel_flyout.tsx", + "deprecated": false, + "trackAdoption": false, + "children": [], + "returnComment": [] } ] } @@ -5890,6 +5906,39 @@ "returnComment": [], "initialIsOpen": false }, + { + "parentPluginId": "embeddable", + "id": "def-public.tracksOverlays", + "type": "Function", + "tags": [], + "label": "tracksOverlays", + "description": [], + "signature": [ + "(root: unknown) => root is TracksOverlays" + ], + "path": "src/plugins/embeddable/public/embeddable_panel/panel_actions/track_overlays.ts", + "deprecated": false, + "trackAdoption": false, + "children": [ + { + "parentPluginId": "embeddable", + "id": "def-public.tracksOverlays.$1", + "type": "Unknown", + "tags": [], + "label": "root", + "description": [], + "signature": [ + "unknown" + ], + "path": "src/plugins/embeddable/public/embeddable_panel/panel_actions/track_overlays.ts", + "deprecated": false, + "trackAdoption": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, { "parentPluginId": "embeddable", "id": "def-public.useEmbeddableFactory", diff --git a/api_docs/embeddable.mdx b/api_docs/embeddable.mdx index 2a25fc1bad110..8549121070975 100644 --- a/api_docs/embeddable.mdx +++ b/api_docs/embeddable.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/embeddable title: "embeddable" image: https://source.unsplash.com/400x175/?github description: API docs for the embeddable plugin -date: 2023-07-31 +date: 2023-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'embeddable'] --- import embeddableObj from './embeddable.devdocs.json'; @@ -21,7 +21,7 @@ Contact [@elastic/kibana-presentation](https://github.com/orgs/elastic/teams/kib | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 532 | 11 | 434 | 7 | +| 535 | 11 | 437 | 7 | ## Client diff --git a/api_docs/embeddable_enhanced.mdx b/api_docs/embeddable_enhanced.mdx index a7d3cf7e20ba5..2090a4f944457 100644 --- a/api_docs/embeddable_enhanced.mdx +++ b/api_docs/embeddable_enhanced.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/embeddableEnhanced title: "embeddableEnhanced" image: https://source.unsplash.com/400x175/?github description: API docs for the embeddableEnhanced plugin -date: 2023-07-31 +date: 2023-08-01 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 ec2a8628dafd9..fc35d212e77b0 100644 --- a/api_docs/encrypted_saved_objects.mdx +++ b/api_docs/encrypted_saved_objects.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/encryptedSavedObjects title: "encryptedSavedObjects" image: https://source.unsplash.com/400x175/?github description: API docs for the encryptedSavedObjects plugin -date: 2023-07-31 +date: 2023-08-01 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 91ae5c4437a56..39cf888b72b39 100644 --- a/api_docs/enterprise_search.mdx +++ b/api_docs/enterprise_search.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/enterpriseSearch title: "enterpriseSearch" image: https://source.unsplash.com/400x175/?github description: API docs for the enterpriseSearch plugin -date: 2023-07-31 +date: 2023-08-01 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 e24500365b36b..0ff24bbb87f90 100644 --- a/api_docs/es_ui_shared.mdx +++ b/api_docs/es_ui_shared.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/esUiShared title: "esUiShared" image: https://source.unsplash.com/400x175/?github description: API docs for the esUiShared plugin -date: 2023-07-31 +date: 2023-08-01 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 db0693538e29a..c812efe202bf8 100644 --- a/api_docs/event_annotation.mdx +++ b/api_docs/event_annotation.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/eventAnnotation title: "eventAnnotation" image: https://source.unsplash.com/400x175/?github description: API docs for the eventAnnotation plugin -date: 2023-07-31 +date: 2023-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'eventAnnotation'] --- import eventAnnotationObj from './event_annotation.devdocs.json'; diff --git a/api_docs/event_log.mdx b/api_docs/event_log.mdx index d0d630990a250..7573b7da905f2 100644 --- a/api_docs/event_log.mdx +++ b/api_docs/event_log.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/eventLog title: "eventLog" image: https://source.unsplash.com/400x175/?github description: API docs for the eventLog plugin -date: 2023-07-31 +date: 2023-08-01 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 ee8c0c65ff9e7..54dc94548ed80 100644 --- a/api_docs/exploratory_view.mdx +++ b/api_docs/exploratory_view.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/exploratoryView title: "exploratoryView" image: https://source.unsplash.com/400x175/?github description: API docs for the exploratoryView plugin -date: 2023-07-31 +date: 2023-08-01 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 e755ffd1c020d..93eecbe2f0209 100644 --- a/api_docs/expression_error.mdx +++ b/api_docs/expression_error.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/expressionError title: "expressionError" image: https://source.unsplash.com/400x175/?github description: API docs for the expressionError plugin -date: 2023-07-31 +date: 2023-08-01 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 e996dc8c475a8..da5d6d4570230 100644 --- a/api_docs/expression_gauge.mdx +++ b/api_docs/expression_gauge.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/expressionGauge title: "expressionGauge" image: https://source.unsplash.com/400x175/?github description: API docs for the expressionGauge plugin -date: 2023-07-31 +date: 2023-08-01 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 b9fa7e8cf8f0c..f133ea9cf9a30 100644 --- a/api_docs/expression_heatmap.mdx +++ b/api_docs/expression_heatmap.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/expressionHeatmap title: "expressionHeatmap" image: https://source.unsplash.com/400x175/?github description: API docs for the expressionHeatmap plugin -date: 2023-07-31 +date: 2023-08-01 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 466b7e01377f2..94b3ae09b880b 100644 --- a/api_docs/expression_image.mdx +++ b/api_docs/expression_image.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/expressionImage title: "expressionImage" image: https://source.unsplash.com/400x175/?github description: API docs for the expressionImage plugin -date: 2023-07-31 +date: 2023-08-01 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 33bcbe80eabc1..c6af5129c7e36 100644 --- a/api_docs/expression_legacy_metric_vis.mdx +++ b/api_docs/expression_legacy_metric_vis.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/expressionLegacyMetricVis title: "expressionLegacyMetricVis" image: https://source.unsplash.com/400x175/?github description: API docs for the expressionLegacyMetricVis plugin -date: 2023-07-31 +date: 2023-08-01 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 551addd59b566..9fa8e12f67945 100644 --- a/api_docs/expression_metric.mdx +++ b/api_docs/expression_metric.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/expressionMetric title: "expressionMetric" image: https://source.unsplash.com/400x175/?github description: API docs for the expressionMetric plugin -date: 2023-07-31 +date: 2023-08-01 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 3f712981575c1..382591ffe525b 100644 --- a/api_docs/expression_metric_vis.mdx +++ b/api_docs/expression_metric_vis.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/expressionMetricVis title: "expressionMetricVis" image: https://source.unsplash.com/400x175/?github description: API docs for the expressionMetricVis plugin -date: 2023-07-31 +date: 2023-08-01 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 da62cbd305d95..5c2dccf777382 100644 --- a/api_docs/expression_partition_vis.mdx +++ b/api_docs/expression_partition_vis.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/expressionPartitionVis title: "expressionPartitionVis" image: https://source.unsplash.com/400x175/?github description: API docs for the expressionPartitionVis plugin -date: 2023-07-31 +date: 2023-08-01 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 99534fad0c69f..925c49bf68256 100644 --- a/api_docs/expression_repeat_image.mdx +++ b/api_docs/expression_repeat_image.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/expressionRepeatImage title: "expressionRepeatImage" image: https://source.unsplash.com/400x175/?github description: API docs for the expressionRepeatImage plugin -date: 2023-07-31 +date: 2023-08-01 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 5f51f9ce7ccbd..527d92f29cf21 100644 --- a/api_docs/expression_reveal_image.mdx +++ b/api_docs/expression_reveal_image.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/expressionRevealImage title: "expressionRevealImage" image: https://source.unsplash.com/400x175/?github description: API docs for the expressionRevealImage plugin -date: 2023-07-31 +date: 2023-08-01 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 c72bc76652bdb..aca65060fc5ab 100644 --- a/api_docs/expression_shape.mdx +++ b/api_docs/expression_shape.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/expressionShape title: "expressionShape" image: https://source.unsplash.com/400x175/?github description: API docs for the expressionShape plugin -date: 2023-07-31 +date: 2023-08-01 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 632bde3162194..ab851054c19e1 100644 --- a/api_docs/expression_tagcloud.mdx +++ b/api_docs/expression_tagcloud.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/expressionTagcloud title: "expressionTagcloud" image: https://source.unsplash.com/400x175/?github description: API docs for the expressionTagcloud plugin -date: 2023-07-31 +date: 2023-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'expressionTagcloud'] --- import expressionTagcloudObj from './expression_tagcloud.devdocs.json'; diff --git a/api_docs/expression_x_y.devdocs.json b/api_docs/expression_x_y.devdocs.json index dea5fb9e26e9d..b1c3a96233ce9 100644 --- a/api_docs/expression_x_y.devdocs.json +++ b/api_docs/expression_x_y.devdocs.json @@ -1904,7 +1904,9 @@ }, " | undefined>; ticks?: number | undefined; domain?: ", + "> | undefined>; position?: ", + "Position", + " | undefined; ticks?: number | undefined; domain?: ", { "pluginId": "@kbn/chart-expressions-common", "scope": "common", @@ -1914,9 +1916,7 @@ }, "<", "YDomainRange", - " | undefined>; position?: ", - "Position", - " | undefined; hide?: boolean | undefined; showOverlappingTicks?: boolean | undefined; showOverlappingLabels?: boolean | undefined; timeAxisLayerCount?: number | undefined; integersOnly?: boolean | undefined; tickFormat?: \"ignore\" | undefined; labelFormat?: \"ignore\" | undefined; showDuplicatedTicks?: boolean | undefined; }>> & Partial; hide?: boolean | undefined; showOverlappingTicks?: boolean | undefined; showOverlappingLabels?: boolean | undefined; timeAxisLayerCount?: number | undefined; integersOnly?: boolean | undefined; tickFormat?: \"ignore\" | undefined; labelFormat?: \"ignore\" | undefined; showDuplicatedTicks?: boolean | undefined; }>> & Partial | undefined>; ticks?: number | undefined; domain?: ", + "> | undefined>; position?: ", + "Position", + " | undefined; ticks?: number | undefined; domain?: ", { "pluginId": "@kbn/chart-expressions-common", "scope": "common", @@ -2151,9 +2153,7 @@ }, "<", "YDomainRange", - " | undefined>; position?: ", - "Position", - " | undefined; hide?: boolean | undefined; showOverlappingTicks?: boolean | undefined; showOverlappingLabels?: boolean | undefined; timeAxisLayerCount?: number | undefined; integersOnly?: boolean | undefined; tickFormat?: \"ignore\" | undefined; labelFormat?: \"ignore\" | undefined; showDuplicatedTicks?: boolean | undefined; } | undefined; axisLeft?: { children?: boolean | React.ReactChild | React.ReactFragment | React.ReactPortal | undefined; style?: ", + " | undefined>; hide?: boolean | undefined; showOverlappingTicks?: boolean | undefined; showOverlappingLabels?: boolean | undefined; timeAxisLayerCount?: number | undefined; integersOnly?: boolean | undefined; tickFormat?: \"ignore\" | undefined; labelFormat?: \"ignore\" | undefined; showDuplicatedTicks?: boolean | undefined; } | undefined; axisLeft?: { children?: boolean | React.ReactChild | React.ReactFragment | React.ReactPortal | undefined; style?: ", { "pluginId": "@kbn/chart-expressions-common", "scope": "common", @@ -2175,7 +2175,9 @@ }, " | undefined>; ticks?: number | undefined; domain?: ", + "> | undefined>; position?: ", + "Position", + " | undefined; ticks?: number | undefined; domain?: ", { "pluginId": "@kbn/chart-expressions-common", "scope": "common", @@ -2185,9 +2187,7 @@ }, "<", "YDomainRange", - " | undefined>; position?: ", - "Position", - " | undefined; hide?: boolean | undefined; showOverlappingTicks?: boolean | undefined; showOverlappingLabels?: boolean | undefined; timeAxisLayerCount?: number | undefined; integersOnly?: boolean | undefined; tickFormat?: \"ignore\" | undefined; labelFormat?: \"ignore\" | undefined; showDuplicatedTicks?: boolean | undefined; } | undefined; axisRight?: { children?: boolean | React.ReactChild | React.ReactFragment | React.ReactPortal | undefined; style?: ", + " | undefined>; hide?: boolean | undefined; showOverlappingTicks?: boolean | undefined; showOverlappingLabels?: boolean | undefined; timeAxisLayerCount?: number | undefined; integersOnly?: boolean | undefined; tickFormat?: \"ignore\" | undefined; labelFormat?: \"ignore\" | undefined; showDuplicatedTicks?: boolean | undefined; } | undefined; axisRight?: { children?: boolean | React.ReactChild | React.ReactFragment | React.ReactPortal | undefined; style?: ", { "pluginId": "@kbn/chart-expressions-common", "scope": "common", @@ -2209,7 +2209,9 @@ }, " | undefined>; ticks?: number | undefined; domain?: ", + "> | undefined>; position?: ", + "Position", + " | undefined; ticks?: number | undefined; domain?: ", { "pluginId": "@kbn/chart-expressions-common", "scope": "common", @@ -2219,9 +2221,7 @@ }, "<", "YDomainRange", - " | undefined>; position?: ", - "Position", - " | undefined; hide?: boolean | undefined; showOverlappingTicks?: boolean | undefined; showOverlappingLabels?: boolean | undefined; timeAxisLayerCount?: number | undefined; integersOnly?: boolean | undefined; tickFormat?: \"ignore\" | undefined; labelFormat?: \"ignore\" | undefined; showDuplicatedTicks?: boolean | undefined; } | undefined; }" + " | undefined>; hide?: boolean | undefined; showOverlappingTicks?: boolean | undefined; showOverlappingLabels?: boolean | undefined; timeAxisLayerCount?: number | undefined; integersOnly?: boolean | undefined; tickFormat?: \"ignore\" | undefined; labelFormat?: \"ignore\" | undefined; showDuplicatedTicks?: boolean | undefined; } | undefined; }" ], "path": "src/plugins/chart_expressions/expression_xy/common/types/expression_functions.ts", "deprecated": false, diff --git a/api_docs/expression_x_y.mdx b/api_docs/expression_x_y.mdx index 2be3c743b5fc1..523ce38d12637 100644 --- a/api_docs/expression_x_y.mdx +++ b/api_docs/expression_x_y.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/expressionXY title: "expressionXY" image: https://source.unsplash.com/400x175/?github description: API docs for the expressionXY plugin -date: 2023-07-31 +date: 2023-08-01 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 8f4d402947a5c..33dca51da2d6f 100644 --- a/api_docs/expressions.mdx +++ b/api_docs/expressions.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/expressions title: "expressions" image: https://source.unsplash.com/400x175/?github description: API docs for the expressions plugin -date: 2023-07-31 +date: 2023-08-01 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 49f15d989cdaa..34c2118ea9fc6 100644 --- a/api_docs/features.mdx +++ b/api_docs/features.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/features title: "features" image: https://source.unsplash.com/400x175/?github description: API docs for the features plugin -date: 2023-07-31 +date: 2023-08-01 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 3dabe1cf7730e..22e30f19433be 100644 --- a/api_docs/field_formats.mdx +++ b/api_docs/field_formats.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/fieldFormats title: "fieldFormats" image: https://source.unsplash.com/400x175/?github description: API docs for the fieldFormats plugin -date: 2023-07-31 +date: 2023-08-01 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 247cc083169a2..185e197147914 100644 --- a/api_docs/file_upload.mdx +++ b/api_docs/file_upload.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/fileUpload title: "fileUpload" image: https://source.unsplash.com/400x175/?github description: API docs for the fileUpload plugin -date: 2023-07-31 +date: 2023-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'fileUpload'] --- import fileUploadObj from './file_upload.devdocs.json'; diff --git a/api_docs/files.devdocs.json b/api_docs/files.devdocs.json index 40f738a455dc1..c6085d88884ac 100644 --- a/api_docs/files.devdocs.json +++ b/api_docs/files.devdocs.json @@ -969,7 +969,7 @@ "SearchResponse", ">; }; helpers: ", "default", - "; name: string | symbol; [kAsyncSearch]: symbol | null; [kAutoscaling]: symbol | null; [kCat]: symbol | null; [kCcr]: symbol | null; [kCluster]: symbol | null; [kDanglingIndices]: symbol | null; [kEnrich]: symbol | null; [kEql]: symbol | null; [kFeatures]: symbol | null; [kFleet]: symbol | null; [kGraph]: symbol | null; [kIlm]: symbol | null; [kIndices]: symbol | null; [kIngest]: symbol | null; [kLicense]: symbol | null; [kLogstash]: symbol | null; [kMigration]: symbol | null; [kMl]: symbol | null; [kMonitoring]: symbol | null; [kNodes]: symbol | null; [kRollup]: symbol | null; [kSearchApplication]: symbol | null; [kSearchableSnapshots]: symbol | null; [kSecurity]: symbol | null; [kShutdown]: symbol | null; [kSlm]: symbol | null; [kSnapshot]: symbol | null; [kSql]: symbol | null; [kSsl]: symbol | null; [kTasks]: symbol | null; [kTextStructure]: symbol | null; [kTransform]: symbol | null; [kWatcher]: symbol | null; [kXpack]: symbol | null; transport: ", + "; name: string | symbol; [kAsyncSearch]: symbol | null; [kAutoscaling]: symbol | null; [kCat]: symbol | null; [kCcr]: symbol | null; [kCluster]: symbol | null; [kDanglingIndices]: symbol | null; [kEnrich]: symbol | null; [kEql]: symbol | null; [kFeatures]: symbol | null; [kFleet]: symbol | null; [kGraph]: symbol | null; [kIlm]: symbol | null; [kIndices]: symbol | null; [kIngest]: symbol | null; [kLicense]: symbol | null; [kLogstash]: symbol | null; [kMigration]: symbol | null; [kMl]: symbol | null; [kMonitoring]: symbol | null; [kNodes]: symbol | null; [kRollup]: symbol | null; [kSearchApplication]: symbol | null; [kSearchableSnapshots]: symbol | null; [kSecurity]: symbol | null; [kShutdown]: symbol | null; [kSlm]: symbol | null; [kSnapshot]: symbol | null; [kSql]: symbol | null; [kSsl]: symbol | null; [kSynonyms]: symbol | null; [kTasks]: symbol | null; [kTextStructure]: symbol | null; [kTransform]: symbol | null; [kWatcher]: symbol | null; [kXpack]: symbol | null; transport: ", "default", "; child: (opts: ", "ClientOptions", @@ -1931,6 +1931,8 @@ "default", "; ssl: ", "default", + "; synonyms: ", + "default", "; tasks: ", "default", "; termsEnum: { (this: That, params: ", diff --git a/api_docs/files.mdx b/api_docs/files.mdx index 8a10fc41d8bc5..a18bd56331281 100644 --- a/api_docs/files.mdx +++ b/api_docs/files.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/files title: "files" image: https://source.unsplash.com/400x175/?github description: API docs for the files plugin -date: 2023-07-31 +date: 2023-08-01 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 1feaf975ddaab..ab4fea6aed86f 100644 --- a/api_docs/files_management.mdx +++ b/api_docs/files_management.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/filesManagement title: "filesManagement" image: https://source.unsplash.com/400x175/?github description: API docs for the filesManagement plugin -date: 2023-07-31 +date: 2023-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'filesManagement'] --- import filesManagementObj from './files_management.devdocs.json'; diff --git a/api_docs/fleet.devdocs.json b/api_docs/fleet.devdocs.json index 325cf806cd278..936741569b227 100644 --- a/api_docs/fleet.devdocs.json +++ b/api_docs/fleet.devdocs.json @@ -10221,7 +10221,7 @@ "SearchResponse", ">; }; helpers: ", "default", - "; name: string | symbol; [kAsyncSearch]: symbol | null; [kAutoscaling]: symbol | null; [kCat]: symbol | null; [kCcr]: symbol | null; [kCluster]: symbol | null; [kDanglingIndices]: symbol | null; [kEnrich]: symbol | null; [kEql]: symbol | null; [kFeatures]: symbol | null; [kFleet]: symbol | null; [kGraph]: symbol | null; [kIlm]: symbol | null; [kIndices]: symbol | null; [kIngest]: symbol | null; [kLicense]: symbol | null; [kLogstash]: symbol | null; [kMigration]: symbol | null; [kMl]: symbol | null; [kMonitoring]: symbol | null; [kNodes]: symbol | null; [kRollup]: symbol | null; [kSearchApplication]: symbol | null; [kSearchableSnapshots]: symbol | null; [kSecurity]: symbol | null; [kShutdown]: symbol | null; [kSlm]: symbol | null; [kSnapshot]: symbol | null; [kSql]: symbol | null; [kSsl]: symbol | null; [kTasks]: symbol | null; [kTextStructure]: symbol | null; [kTransform]: symbol | null; [kWatcher]: symbol | null; [kXpack]: symbol | null; transport: ", + "; name: string | symbol; [kAsyncSearch]: symbol | null; [kAutoscaling]: symbol | null; [kCat]: symbol | null; [kCcr]: symbol | null; [kCluster]: symbol | null; [kDanglingIndices]: symbol | null; [kEnrich]: symbol | null; [kEql]: symbol | null; [kFeatures]: symbol | null; [kFleet]: symbol | null; [kGraph]: symbol | null; [kIlm]: symbol | null; [kIndices]: symbol | null; [kIngest]: symbol | null; [kLicense]: symbol | null; [kLogstash]: symbol | null; [kMigration]: symbol | null; [kMl]: symbol | null; [kMonitoring]: symbol | null; [kNodes]: symbol | null; [kRollup]: symbol | null; [kSearchApplication]: symbol | null; [kSearchableSnapshots]: symbol | null; [kSecurity]: symbol | null; [kShutdown]: symbol | null; [kSlm]: symbol | null; [kSnapshot]: symbol | null; [kSql]: symbol | null; [kSsl]: symbol | null; [kSynonyms]: symbol | null; [kTasks]: symbol | null; [kTextStructure]: symbol | null; [kTransform]: symbol | null; [kWatcher]: symbol | null; [kXpack]: symbol | null; transport: ", "default", "; child: (opts: ", "ClientOptions", @@ -11183,6 +11183,8 @@ "default", "; ssl: ", "default", + "; synonyms: ", + "default", "; tasks: ", "default", "; termsEnum: { (this: That, params: ", @@ -11584,7 +11586,7 @@ "SearchResponse", ">; }; helpers: ", "default", - "; name: string | symbol; [kAsyncSearch]: symbol | null; [kAutoscaling]: symbol | null; [kCat]: symbol | null; [kCcr]: symbol | null; [kCluster]: symbol | null; [kDanglingIndices]: symbol | null; [kEnrich]: symbol | null; [kEql]: symbol | null; [kFeatures]: symbol | null; [kFleet]: symbol | null; [kGraph]: symbol | null; [kIlm]: symbol | null; [kIndices]: symbol | null; [kIngest]: symbol | null; [kLicense]: symbol | null; [kLogstash]: symbol | null; [kMigration]: symbol | null; [kMl]: symbol | null; [kMonitoring]: symbol | null; [kNodes]: symbol | null; [kRollup]: symbol | null; [kSearchApplication]: symbol | null; [kSearchableSnapshots]: symbol | null; [kSecurity]: symbol | null; [kShutdown]: symbol | null; [kSlm]: symbol | null; [kSnapshot]: symbol | null; [kSql]: symbol | null; [kSsl]: symbol | null; [kTasks]: symbol | null; [kTextStructure]: symbol | null; [kTransform]: symbol | null; [kWatcher]: symbol | null; [kXpack]: symbol | null; transport: ", + "; name: string | symbol; [kAsyncSearch]: symbol | null; [kAutoscaling]: symbol | null; [kCat]: symbol | null; [kCcr]: symbol | null; [kCluster]: symbol | null; [kDanglingIndices]: symbol | null; [kEnrich]: symbol | null; [kEql]: symbol | null; [kFeatures]: symbol | null; [kFleet]: symbol | null; [kGraph]: symbol | null; [kIlm]: symbol | null; [kIndices]: symbol | null; [kIngest]: symbol | null; [kLicense]: symbol | null; [kLogstash]: symbol | null; [kMigration]: symbol | null; [kMl]: symbol | null; [kMonitoring]: symbol | null; [kNodes]: symbol | null; [kRollup]: symbol | null; [kSearchApplication]: symbol | null; [kSearchableSnapshots]: symbol | null; [kSecurity]: symbol | null; [kShutdown]: symbol | null; [kSlm]: symbol | null; [kSnapshot]: symbol | null; [kSql]: symbol | null; [kSsl]: symbol | null; [kSynonyms]: symbol | null; [kTasks]: symbol | null; [kTextStructure]: symbol | null; [kTransform]: symbol | null; [kWatcher]: symbol | null; [kXpack]: symbol | null; transport: ", "default", "; child: (opts: ", "ClientOptions", @@ -12546,6 +12548,8 @@ "default", "; ssl: ", "default", + "; synonyms: ", + "default", "; tasks: ", "default", "; termsEnum: { (this: That, params: ", @@ -12960,7 +12964,7 @@ "SearchResponse", ">; }; helpers: ", "default", - "; name: string | symbol; [kAsyncSearch]: symbol | null; [kAutoscaling]: symbol | null; [kCat]: symbol | null; [kCcr]: symbol | null; [kCluster]: symbol | null; [kDanglingIndices]: symbol | null; [kEnrich]: symbol | null; [kEql]: symbol | null; [kFeatures]: symbol | null; [kFleet]: symbol | null; [kGraph]: symbol | null; [kIlm]: symbol | null; [kIndices]: symbol | null; [kIngest]: symbol | null; [kLicense]: symbol | null; [kLogstash]: symbol | null; [kMigration]: symbol | null; [kMl]: symbol | null; [kMonitoring]: symbol | null; [kNodes]: symbol | null; [kRollup]: symbol | null; [kSearchApplication]: symbol | null; [kSearchableSnapshots]: symbol | null; [kSecurity]: symbol | null; [kShutdown]: symbol | null; [kSlm]: symbol | null; [kSnapshot]: symbol | null; [kSql]: symbol | null; [kSsl]: symbol | null; [kTasks]: symbol | null; [kTextStructure]: symbol | null; [kTransform]: symbol | null; [kWatcher]: symbol | null; [kXpack]: symbol | null; transport: ", + "; name: string | symbol; [kAsyncSearch]: symbol | null; [kAutoscaling]: symbol | null; [kCat]: symbol | null; [kCcr]: symbol | null; [kCluster]: symbol | null; [kDanglingIndices]: symbol | null; [kEnrich]: symbol | null; [kEql]: symbol | null; [kFeatures]: symbol | null; [kFleet]: symbol | null; [kGraph]: symbol | null; [kIlm]: symbol | null; [kIndices]: symbol | null; [kIngest]: symbol | null; [kLicense]: symbol | null; [kLogstash]: symbol | null; [kMigration]: symbol | null; [kMl]: symbol | null; [kMonitoring]: symbol | null; [kNodes]: symbol | null; [kRollup]: symbol | null; [kSearchApplication]: symbol | null; [kSearchableSnapshots]: symbol | null; [kSecurity]: symbol | null; [kShutdown]: symbol | null; [kSlm]: symbol | null; [kSnapshot]: symbol | null; [kSql]: symbol | null; [kSsl]: symbol | null; [kSynonyms]: symbol | null; [kTasks]: symbol | null; [kTextStructure]: symbol | null; [kTransform]: symbol | null; [kWatcher]: symbol | null; [kXpack]: symbol | null; transport: ", "default", "; child: (opts: ", "ClientOptions", @@ -13922,6 +13926,8 @@ "default", "; ssl: ", "default", + "; synonyms: ", + "default", "; tasks: ", "default", "; termsEnum: { (this: That, params: ", @@ -14333,7 +14339,7 @@ "SearchResponse", ">; }; helpers: ", "default", - "; name: string | symbol; [kAsyncSearch]: symbol | null; [kAutoscaling]: symbol | null; [kCat]: symbol | null; [kCcr]: symbol | null; [kCluster]: symbol | null; [kDanglingIndices]: symbol | null; [kEnrich]: symbol | null; [kEql]: symbol | null; [kFeatures]: symbol | null; [kFleet]: symbol | null; [kGraph]: symbol | null; [kIlm]: symbol | null; [kIndices]: symbol | null; [kIngest]: symbol | null; [kLicense]: symbol | null; [kLogstash]: symbol | null; [kMigration]: symbol | null; [kMl]: symbol | null; [kMonitoring]: symbol | null; [kNodes]: symbol | null; [kRollup]: symbol | null; [kSearchApplication]: symbol | null; [kSearchableSnapshots]: symbol | null; [kSecurity]: symbol | null; [kShutdown]: symbol | null; [kSlm]: symbol | null; [kSnapshot]: symbol | null; [kSql]: symbol | null; [kSsl]: symbol | null; [kTasks]: symbol | null; [kTextStructure]: symbol | null; [kTransform]: symbol | null; [kWatcher]: symbol | null; [kXpack]: symbol | null; transport: ", + "; name: string | symbol; [kAsyncSearch]: symbol | null; [kAutoscaling]: symbol | null; [kCat]: symbol | null; [kCcr]: symbol | null; [kCluster]: symbol | null; [kDanglingIndices]: symbol | null; [kEnrich]: symbol | null; [kEql]: symbol | null; [kFeatures]: symbol | null; [kFleet]: symbol | null; [kGraph]: symbol | null; [kIlm]: symbol | null; [kIndices]: symbol | null; [kIngest]: symbol | null; [kLicense]: symbol | null; [kLogstash]: symbol | null; [kMigration]: symbol | null; [kMl]: symbol | null; [kMonitoring]: symbol | null; [kNodes]: symbol | null; [kRollup]: symbol | null; [kSearchApplication]: symbol | null; [kSearchableSnapshots]: symbol | null; [kSecurity]: symbol | null; [kShutdown]: symbol | null; [kSlm]: symbol | null; [kSnapshot]: symbol | null; [kSql]: symbol | null; [kSsl]: symbol | null; [kSynonyms]: symbol | null; [kTasks]: symbol | null; [kTextStructure]: symbol | null; [kTransform]: symbol | null; [kWatcher]: symbol | null; [kXpack]: symbol | null; transport: ", "default", "; child: (opts: ", "ClientOptions", @@ -15295,6 +15301,8 @@ "default", "; ssl: ", "default", + "; synonyms: ", + "default", "; tasks: ", "default", "; termsEnum: { (this: That, params: ", @@ -15709,7 +15717,7 @@ "SearchResponse", ">; }; helpers: ", "default", - "; name: string | symbol; [kAsyncSearch]: symbol | null; [kAutoscaling]: symbol | null; [kCat]: symbol | null; [kCcr]: symbol | null; [kCluster]: symbol | null; [kDanglingIndices]: symbol | null; [kEnrich]: symbol | null; [kEql]: symbol | null; [kFeatures]: symbol | null; [kFleet]: symbol | null; [kGraph]: symbol | null; [kIlm]: symbol | null; [kIndices]: symbol | null; [kIngest]: symbol | null; [kLicense]: symbol | null; [kLogstash]: symbol | null; [kMigration]: symbol | null; [kMl]: symbol | null; [kMonitoring]: symbol | null; [kNodes]: symbol | null; [kRollup]: symbol | null; [kSearchApplication]: symbol | null; [kSearchableSnapshots]: symbol | null; [kSecurity]: symbol | null; [kShutdown]: symbol | null; [kSlm]: symbol | null; [kSnapshot]: symbol | null; [kSql]: symbol | null; [kSsl]: symbol | null; [kTasks]: symbol | null; [kTextStructure]: symbol | null; [kTransform]: symbol | null; [kWatcher]: symbol | null; [kXpack]: symbol | null; transport: ", + "; name: string | symbol; [kAsyncSearch]: symbol | null; [kAutoscaling]: symbol | null; [kCat]: symbol | null; [kCcr]: symbol | null; [kCluster]: symbol | null; [kDanglingIndices]: symbol | null; [kEnrich]: symbol | null; [kEql]: symbol | null; [kFeatures]: symbol | null; [kFleet]: symbol | null; [kGraph]: symbol | null; [kIlm]: symbol | null; [kIndices]: symbol | null; [kIngest]: symbol | null; [kLicense]: symbol | null; [kLogstash]: symbol | null; [kMigration]: symbol | null; [kMl]: symbol | null; [kMonitoring]: symbol | null; [kNodes]: symbol | null; [kRollup]: symbol | null; [kSearchApplication]: symbol | null; [kSearchableSnapshots]: symbol | null; [kSecurity]: symbol | null; [kShutdown]: symbol | null; [kSlm]: symbol | null; [kSnapshot]: symbol | null; [kSql]: symbol | null; [kSsl]: symbol | null; [kSynonyms]: symbol | null; [kTasks]: symbol | null; [kTextStructure]: symbol | null; [kTransform]: symbol | null; [kWatcher]: symbol | null; [kXpack]: symbol | null; transport: ", "default", "; child: (opts: ", "ClientOptions", @@ -16671,6 +16679,8 @@ "default", "; ssl: ", "default", + "; synonyms: ", + "default", "; tasks: ", "default", "; termsEnum: { (this: That, params: ", diff --git a/api_docs/fleet.mdx b/api_docs/fleet.mdx index c3d3a4af1320c..22b9b587ae7be 100644 --- a/api_docs/fleet.mdx +++ b/api_docs/fleet.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/fleet title: "fleet" image: https://source.unsplash.com/400x175/?github description: API docs for the fleet plugin -date: 2023-07-31 +date: 2023-08-01 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 c53e300ef2351..e2e007d1dfe35 100644 --- a/api_docs/global_search.mdx +++ b/api_docs/global_search.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/globalSearch title: "globalSearch" image: https://source.unsplash.com/400x175/?github description: API docs for the globalSearch plugin -date: 2023-07-31 +date: 2023-08-01 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 a4bacc4aa177e..1fc8ddbda1f46 100644 --- a/api_docs/guided_onboarding.mdx +++ b/api_docs/guided_onboarding.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/guidedOnboarding title: "guidedOnboarding" image: https://source.unsplash.com/400x175/?github description: API docs for the guidedOnboarding plugin -date: 2023-07-31 +date: 2023-08-01 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 af9e955f5ce39..3bb63217c8cb3 100644 --- a/api_docs/home.mdx +++ b/api_docs/home.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/home title: "home" image: https://source.unsplash.com/400x175/?github description: API docs for the home plugin -date: 2023-07-31 +date: 2023-08-01 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 3fb28a3e53b9e..9da0f3e1974ef 100644 --- a/api_docs/image_embeddable.mdx +++ b/api_docs/image_embeddable.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/imageEmbeddable title: "imageEmbeddable" image: https://source.unsplash.com/400x175/?github description: API docs for the imageEmbeddable plugin -date: 2023-07-31 +date: 2023-08-01 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 2c6843480af64..0c8149054acee 100644 --- a/api_docs/index_lifecycle_management.mdx +++ b/api_docs/index_lifecycle_management.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/indexLifecycleManagement title: "indexLifecycleManagement" image: https://source.unsplash.com/400x175/?github description: API docs for the indexLifecycleManagement plugin -date: 2023-07-31 +date: 2023-08-01 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 39a0c97999613..839e3415ce0bf 100644 --- a/api_docs/index_management.mdx +++ b/api_docs/index_management.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/indexManagement title: "indexManagement" image: https://source.unsplash.com/400x175/?github description: API docs for the indexManagement plugin -date: 2023-07-31 +date: 2023-08-01 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 b4ea749c3b99a..a7b69b64fa5bb 100644 --- a/api_docs/infra.mdx +++ b/api_docs/infra.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/infra title: "infra" image: https://source.unsplash.com/400x175/?github description: API docs for the infra plugin -date: 2023-07-31 +date: 2023-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'infra'] --- import infraObj from './infra.devdocs.json'; diff --git a/api_docs/inspector.mdx b/api_docs/inspector.mdx index b7fd132dd911e..f3b3c0c2e641f 100644 --- a/api_docs/inspector.mdx +++ b/api_docs/inspector.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/inspector title: "inspector" image: https://source.unsplash.com/400x175/?github description: API docs for the inspector plugin -date: 2023-07-31 +date: 2023-08-01 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 c7627739c80f2..31790a4613303 100644 --- a/api_docs/interactive_setup.mdx +++ b/api_docs/interactive_setup.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/interactiveSetup title: "interactiveSetup" image: https://source.unsplash.com/400x175/?github description: API docs for the interactiveSetup plugin -date: 2023-07-31 +date: 2023-08-01 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 567f13e645e38..f58056ab398dd 100644 --- a/api_docs/kbn_ace.mdx +++ b/api_docs/kbn_ace.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ace title: "@kbn/ace" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ace plugin -date: 2023-07-31 +date: 2023-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ace'] --- import kbnAceObj from './kbn_ace.devdocs.json'; diff --git a/api_docs/kbn_aiops_components.devdocs.json b/api_docs/kbn_aiops_components.devdocs.json index 31b0e57a6437b..1b99ef4188fb6 100644 --- a/api_docs/kbn_aiops_components.devdocs.json +++ b/api_docs/kbn_aiops_components.devdocs.json @@ -19,15 +19,72 @@ "common": { "classes": [], "functions": [ + { + "parentPluginId": "@kbn/aiops-components", + "id": "def-common.DocumentCountChart", + "type": "Function", + "tags": [ + "constructor" + ], + "label": "DocumentCountChart", + "description": [ + "\nDocument count chart with draggable brushes to select time ranges\nby default use `Baseline` and `Deviation` for the badge names" + ], + "signature": [ + "({ dependencies, brushSelectionUpdateHandler, width, chartPoints, chartPointsSplit, timeRangeEarliest, timeRangeLatest, interval, chartPointsSplitLabel, isBrushCleared, autoAnalysisStart, barColorOverride, barStyleAccessor, barHighlightColorOverride, deviationBrush, baselineBrush, }: React.PropsWithChildren<", + { + "pluginId": "@kbn/aiops-components", + "scope": "common", + "docId": "kibKbnAiopsComponentsPluginApi", + "section": "def-common.DocumentCountChartProps", + "text": "DocumentCountChartProps" + }, + ">) => JSX.Element" + ], + "path": "x-pack/packages/ml/aiops_components/src/document_count_chart/document_count_chart.tsx", + "deprecated": false, + "trackAdoption": false, + "children": [ + { + "parentPluginId": "@kbn/aiops-components", + "id": "def-common.DocumentCountChart.$1", + "type": "CompoundType", + "tags": [], + "label": "{\n dependencies,\n brushSelectionUpdateHandler,\n width,\n chartPoints,\n chartPointsSplit,\n timeRangeEarliest,\n timeRangeLatest,\n interval,\n chartPointsSplitLabel,\n isBrushCleared,\n autoAnalysisStart,\n barColorOverride,\n barStyleAccessor,\n barHighlightColorOverride,\n deviationBrush = {},\n baselineBrush = {},\n}", + "description": [], + "signature": [ + "React.PropsWithChildren<", + { + "pluginId": "@kbn/aiops-components", + "scope": "common", + "docId": "kibKbnAiopsComponentsPluginApi", + "section": "def-common.DocumentCountChartProps", + "text": "DocumentCountChartProps" + }, + ">" + ], + "path": "x-pack/packages/ml/aiops_components/src/document_count_chart/document_count_chart.tsx", + "deprecated": false, + "trackAdoption": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, { "parentPluginId": "@kbn/aiops-components", "id": "def-common.DualBrush", "type": "Function", - "tags": [], + "tags": [ + "type" + ], "label": "DualBrush", - "description": [], + "description": [ + "\nDualBrush React Component\nDual brush component that overlays the document count chart" + ], "signature": [ - "({\n windowParameters,\n min,\n max,\n onChange,\n marginLeft,\n snapTimestamps,\n width,\n}: DualBrushProps) => JSX.Element" + "({\n /**\n * Min and max numeric timestamps for the two brushes\n */\n windowParameters,\n /**\n * Min timestamp for x domain\n */\n min,\n /**\n * Max timestamp for x domain\n */\n max,\n /**\n * Callback function whenever the brush changes\n */\n onChange,\n /**\n * Margin left\n */\n marginLeft,\n /**\n * Nearest timestamps to snap to the brushes to\n */\n snapTimestamps,\n /**\n * Width\n */\n width,\n}: DualBrushProps) => JSX.Element" ], "path": "x-pack/packages/ml/aiops_components/src/dual_brush/dual_brush.tsx", "deprecated": false, @@ -38,7 +95,7 @@ "id": "def-common.DualBrush.$1", "type": "Object", "tags": [], - "label": "{\n windowParameters,\n min,\n max,\n onChange,\n marginLeft,\n snapTimestamps,\n width,\n}", + "label": "{\n /**\n * Min and max numeric timestamps for the two brushes\n */\n windowParameters,\n /**\n * Min timestamp for x domain\n */\n min,\n /**\n * Max timestamp for x domain\n */\n max,\n /**\n * Callback function whenever the brush changes\n */\n onChange,\n /**\n * Margin left\n */\n marginLeft,\n /**\n * Nearest timestamps to snap to the brushes to\n */\n snapTimestamps,\n /**\n * Width\n */\n width,\n}", "description": [], "signature": [ "DualBrushProps" @@ -49,18 +106,24 @@ "isRequired": true } ], - "returnComment": [], + "returnComment": [ + "The DualBrush component." + ], "initialIsOpen": false }, { "parentPluginId": "@kbn/aiops-components", "id": "def-common.DualBrushAnnotation", "type": "Function", - "tags": [], + "tags": [ + "type" + ], "label": "DualBrushAnnotation", - "description": [], + "description": [ + "\nDualBrushAnnotation React Component\nDual brush annotation component that overlays the document count chart" + ], "signature": [ - "({ id, min, max }: React.PropsWithChildren) => JSX.Element" + "({ id, min, max, style }: React.PropsWithChildren) => JSX.Element" ], "path": "x-pack/packages/ml/aiops_components/src/dual_brush/dual_brush_annotation.tsx", "deprecated": false, @@ -71,7 +134,7 @@ "id": "def-common.DualBrushAnnotation.$1", "type": "CompoundType", "tags": [], - "label": "{ id, min, max }", + "label": "{ id, min, max, style }", "description": [], "signature": [ "React.PropsWithChildren" @@ -82,18 +145,24 @@ "isRequired": true } ], - "returnComment": [], + "returnComment": [ + "The DualBrushAnnotation component." + ], "initialIsOpen": false }, { "parentPluginId": "@kbn/aiops-components", "id": "def-common.ProgressControls", "type": "Function", - "tags": [], + "tags": [ + "type" + ], "label": "ProgressControls", - "description": [], + "description": [ + "\nProgressControls React Component\nComponent with ability to Run & cancel analysis\nby default use `Baseline` and `Deviation` for the badge name" + ], "signature": [ - "({ children, isBrushCleared, progress, progressMessage, onRefresh, onCancel, onReset, isRunning, shouldRerunAnalysis, }: React.PropsWithChildren) => JSX.Element" + "({ children, isBrushCleared, progress, progressMessage, onRefresh, onCancel, onReset, isRunning, shouldRerunAnalysis, runAnalysisDisabled, }: React.PropsWithChildren) => JSX.Element" ], "path": "x-pack/packages/ml/aiops_components/src/progress_controls/progress_controls.tsx", "deprecated": false, @@ -104,7 +173,7 @@ "id": "def-common.ProgressControls.$1", "type": "CompoundType", "tags": [], - "label": "{\n children,\n isBrushCleared,\n progress,\n progressMessage,\n onRefresh,\n onCancel,\n onReset,\n isRunning,\n shouldRerunAnalysis,\n}", + "label": "{\n children,\n isBrushCleared,\n progress,\n progressMessage,\n onRefresh,\n onCancel,\n onReset,\n isRunning,\n shouldRerunAnalysis,\n runAnalysisDisabled = false,\n}", "description": [], "signature": [ "React.PropsWithChildren" @@ -115,13 +184,422 @@ "isRequired": true } ], - "returnComment": [], + "returnComment": [ + "The ProgressControls component." + ], + "initialIsOpen": false + } + ], + "interfaces": [ + { + "parentPluginId": "@kbn/aiops-components", + "id": "def-common.DocumentCountChartPoint", + "type": "Interface", + "tags": [], + "label": "DocumentCountChartPoint", + "description": [ + "\nDatum for the bar chart" + ], + "path": "x-pack/packages/ml/aiops_components/src/document_count_chart/document_count_chart.tsx", + "deprecated": false, + "trackAdoption": false, + "children": [ + { + "parentPluginId": "@kbn/aiops-components", + "id": "def-common.DocumentCountChartPoint.time", + "type": "CompoundType", + "tags": [], + "label": "time", + "description": [ + "\nTime of bucket" + ], + "signature": [ + "string | number" + ], + "path": "x-pack/packages/ml/aiops_components/src/document_count_chart/document_count_chart.tsx", + "deprecated": false, + "trackAdoption": false + }, + { + "parentPluginId": "@kbn/aiops-components", + "id": "def-common.DocumentCountChartPoint.value", + "type": "number", + "tags": [], + "label": "value", + "description": [ + "\nNumber of doc count for that time bucket" + ], + "path": "x-pack/packages/ml/aiops_components/src/document_count_chart/document_count_chart.tsx", + "deprecated": false, + "trackAdoption": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/aiops-components", + "id": "def-common.DocumentCountChartProps", + "type": "Interface", + "tags": [], + "label": "DocumentCountChartProps", + "description": [ + "\nProps for document count chart" + ], + "path": "x-pack/packages/ml/aiops_components/src/document_count_chart/document_count_chart.tsx", + "deprecated": false, + "trackAdoption": false, + "children": [ + { + "parentPluginId": "@kbn/aiops-components", + "id": "def-common.DocumentCountChartProps.dependencies", + "type": "Object", + "tags": [], + "label": "dependencies", + "description": [ + "List of Kibana services that are required as dependencies" + ], + "signature": [ + "{ data: ", + { + "pluginId": "data", + "scope": "public", + "docId": "kibDataPluginApi", + "section": "def-public.DataPublicPluginStart", + "text": "DataPublicPluginStart" + }, + "; charts: ", + { + "pluginId": "charts", + "scope": "public", + "docId": "kibChartsPluginApi", + "section": "def-public.ChartsPluginStart", + "text": "ChartsPluginStart" + }, + "; fieldFormats: ", + { + "pluginId": "fieldFormats", + "scope": "public", + "docId": "kibFieldFormatsPluginApi", + "section": "def-public.FieldFormatsStart", + "text": "FieldFormatsStart" + }, + "; uiSettings: ", + { + "pluginId": "@kbn/core-ui-settings-browser", + "scope": "common", + "docId": "kibKbnCoreUiSettingsBrowserPluginApi", + "section": "def-common.IUiSettingsClient", + "text": "IUiSettingsClient" + }, + "; }" + ], + "path": "x-pack/packages/ml/aiops_components/src/document_count_chart/document_count_chart.tsx", + "deprecated": false, + "trackAdoption": false + }, + { + "parentPluginId": "@kbn/aiops-components", + "id": "def-common.DocumentCountChartProps.brushSelectionUpdateHandler", + "type": "Function", + "tags": [], + "label": "brushSelectionUpdateHandler", + "description": [ + "Optional callback function which gets called the brush selection has changed" + ], + "signature": [ + "((windowParameters: ", + { + "pluginId": "@kbn/aiops-utils", + "scope": "common", + "docId": "kibKbnAiopsUtilsPluginApi", + "section": "def-common.WindowParameters", + "text": "WindowParameters" + }, + ", force: boolean) => void) | undefined" + ], + "path": "x-pack/packages/ml/aiops_components/src/document_count_chart/document_count_chart.tsx", + "deprecated": false, + "trackAdoption": false, + "children": [ + { + "parentPluginId": "@kbn/aiops-components", + "id": "def-common.DocumentCountChartProps.brushSelectionUpdateHandler.$1", + "type": "Object", + "tags": [], + "label": "windowParameters", + "description": [], + "signature": [ + { + "pluginId": "@kbn/aiops-utils", + "scope": "common", + "docId": "kibKbnAiopsUtilsPluginApi", + "section": "def-common.WindowParameters", + "text": "WindowParameters" + } + ], + "path": "x-pack/packages/ml/aiops_components/src/document_count_chart/document_count_chart.tsx", + "deprecated": false, + "trackAdoption": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/aiops-components", + "id": "def-common.DocumentCountChartProps.brushSelectionUpdateHandler.$2", + "type": "boolean", + "tags": [], + "label": "force", + "description": [], + "signature": [ + "boolean" + ], + "path": "x-pack/packages/ml/aiops_components/src/document_count_chart/document_count_chart.tsx", + "deprecated": false, + "trackAdoption": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/aiops-components", + "id": "def-common.DocumentCountChartProps.width", + "type": "number", + "tags": [], + "label": "width", + "description": [ + "Optional width" + ], + "signature": [ + "number | undefined" + ], + "path": "x-pack/packages/ml/aiops_components/src/document_count_chart/document_count_chart.tsx", + "deprecated": false, + "trackAdoption": false + }, + { + "parentPluginId": "@kbn/aiops-components", + "id": "def-common.DocumentCountChartProps.chartPoints", + "type": "Array", + "tags": [], + "label": "chartPoints", + "description": [ + "Data chart points" + ], + "signature": [ + { + "pluginId": "@kbn/aiops-components", + "scope": "common", + "docId": "kibKbnAiopsComponentsPluginApi", + "section": "def-common.DocumentCountChartPoint", + "text": "DocumentCountChartPoint" + }, + "[]" + ], + "path": "x-pack/packages/ml/aiops_components/src/document_count_chart/document_count_chart.tsx", + "deprecated": false, + "trackAdoption": false + }, + { + "parentPluginId": "@kbn/aiops-components", + "id": "def-common.DocumentCountChartProps.chartPointsSplit", + "type": "Array", + "tags": [], + "label": "chartPointsSplit", + "description": [ + "Data chart points split" + ], + "signature": [ + { + "pluginId": "@kbn/aiops-components", + "scope": "common", + "docId": "kibKbnAiopsComponentsPluginApi", + "section": "def-common.DocumentCountChartPoint", + "text": "DocumentCountChartPoint" + }, + "[] | undefined" + ], + "path": "x-pack/packages/ml/aiops_components/src/document_count_chart/document_count_chart.tsx", + "deprecated": false, + "trackAdoption": false + }, + { + "parentPluginId": "@kbn/aiops-components", + "id": "def-common.DocumentCountChartProps.timeRangeEarliest", + "type": "number", + "tags": [], + "label": "timeRangeEarliest", + "description": [ + "Start time range for the chart" + ], + "path": "x-pack/packages/ml/aiops_components/src/document_count_chart/document_count_chart.tsx", + "deprecated": false, + "trackAdoption": false + }, + { + "parentPluginId": "@kbn/aiops-components", + "id": "def-common.DocumentCountChartProps.timeRangeLatest", + "type": "number", + "tags": [], + "label": "timeRangeLatest", + "description": [ + "Ending time range for the chart" + ], + "path": "x-pack/packages/ml/aiops_components/src/document_count_chart/document_count_chart.tsx", + "deprecated": false, + "trackAdoption": false + }, + { + "parentPluginId": "@kbn/aiops-components", + "id": "def-common.DocumentCountChartProps.interval", + "type": "number", + "tags": [], + "label": "interval", + "description": [ + "Time interval for the document count buckets" + ], + "path": "x-pack/packages/ml/aiops_components/src/document_count_chart/document_count_chart.tsx", + "deprecated": false, + "trackAdoption": false + }, + { + "parentPluginId": "@kbn/aiops-components", + "id": "def-common.DocumentCountChartProps.chartPointsSplitLabel", + "type": "string", + "tags": [], + "label": "chartPointsSplitLabel", + "description": [ + "Label to name the adjustedChartPointsSplit histogram" + ], + "path": "x-pack/packages/ml/aiops_components/src/document_count_chart/document_count_chart.tsx", + "deprecated": false, + "trackAdoption": false + }, + { + "parentPluginId": "@kbn/aiops-components", + "id": "def-common.DocumentCountChartProps.isBrushCleared", + "type": "boolean", + "tags": [], + "label": "isBrushCleared", + "description": [ + "Whether or not brush has been reset" + ], + "path": "x-pack/packages/ml/aiops_components/src/document_count_chart/document_count_chart.tsx", + "deprecated": false, + "trackAdoption": false + }, + { + "parentPluginId": "@kbn/aiops-components", + "id": "def-common.DocumentCountChartProps.autoAnalysisStart", + "type": "CompoundType", + "tags": [], + "label": "autoAnalysisStart", + "description": [ + "Timestamp for start of initial analysis" + ], + "signature": [ + "number | ", + { + "pluginId": "@kbn/aiops-utils", + "scope": "common", + "docId": "kibKbnAiopsUtilsPluginApi", + "section": "def-common.WindowParameters", + "text": "WindowParameters" + }, + " | undefined" + ], + "path": "x-pack/packages/ml/aiops_components/src/document_count_chart/document_count_chart.tsx", + "deprecated": false, + "trackAdoption": false + }, + { + "parentPluginId": "@kbn/aiops-components", + "id": "def-common.DocumentCountChartProps.barStyleAccessor", + "type": "Function", + "tags": [], + "label": "barStyleAccessor", + "description": [ + "Optional style to override bar chart" + ], + "signature": [ + "BarStyleAccessor", + " | undefined" + ], + "path": "x-pack/packages/ml/aiops_components/src/document_count_chart/document_count_chart.tsx", + "deprecated": false, + "trackAdoption": false + }, + { + "parentPluginId": "@kbn/aiops-components", + "id": "def-common.DocumentCountChartProps.barColorOverride", + "type": "string", + "tags": [], + "label": "barColorOverride", + "description": [ + "Optional color override for the default bar color for charts" + ], + "signature": [ + "string | undefined" + ], + "path": "x-pack/packages/ml/aiops_components/src/document_count_chart/document_count_chart.tsx", + "deprecated": false, + "trackAdoption": false + }, + { + "parentPluginId": "@kbn/aiops-components", + "id": "def-common.DocumentCountChartProps.barHighlightColorOverride", + "type": "string", + "tags": [], + "label": "barHighlightColorOverride", + "description": [ + "Optional color override for the highlighted bar color for charts" + ], + "signature": [ + "string | undefined" + ], + "path": "x-pack/packages/ml/aiops_components/src/document_count_chart/document_count_chart.tsx", + "deprecated": false, + "trackAdoption": false + }, + { + "parentPluginId": "@kbn/aiops-components", + "id": "def-common.DocumentCountChartProps.deviationBrush", + "type": "Object", + "tags": [], + "label": "deviationBrush", + "description": [ + "Optional settings override for the 'deviation' brush" + ], + "signature": [ + "BrushSettings", + " | undefined" + ], + "path": "x-pack/packages/ml/aiops_components/src/document_count_chart/document_count_chart.tsx", + "deprecated": false, + "trackAdoption": false + }, + { + "parentPluginId": "@kbn/aiops-components", + "id": "def-common.DocumentCountChartProps.baselineBrush", + "type": "Object", + "tags": [], + "label": "baselineBrush", + "description": [ + "Optional settings override for the 'baseline' brush" + ], + "signature": [ + "BrushSettings", + " | undefined" + ], + "path": "x-pack/packages/ml/aiops_components/src/document_count_chart/document_count_chart.tsx", + "deprecated": false, + "trackAdoption": false + } + ], "initialIsOpen": false } ], - "interfaces": [], "enums": [], "misc": [], "objects": [] } -} +} \ No newline at end of file diff --git a/api_docs/kbn_aiops_components.mdx b/api_docs/kbn_aiops_components.mdx index 56d445afaaeab..7fb1c95c2625e 100644 --- a/api_docs/kbn_aiops_components.mdx +++ b/api_docs/kbn_aiops_components.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-aiops-components title: "@kbn/aiops-components" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/aiops-components plugin -date: 2023-07-31 +date: 2023-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/aiops-components'] --- import kbnAiopsComponentsObj from './kbn_aiops_components.devdocs.json'; @@ -21,10 +21,13 @@ Contact [@elastic/ml-ui](https://github.com/orgs/elastic/teams/ml-ui) for questi | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 6 | 0 | 6 | 0 | +| 30 | 0 | 6 | 1 | ## Common ### Functions +### Interfaces + + diff --git a/api_docs/kbn_aiops_utils.mdx b/api_docs/kbn_aiops_utils.mdx index 12f035a2b677f..7cdb14f3f44b1 100644 --- a/api_docs/kbn_aiops_utils.mdx +++ b/api_docs/kbn_aiops_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-aiops-utils title: "@kbn/aiops-utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/aiops-utils plugin -date: 2023-07-31 +date: 2023-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/aiops-utils'] --- import kbnAiopsUtilsObj from './kbn_aiops_utils.devdocs.json'; diff --git a/api_docs/kbn_alerting_state_types.mdx b/api_docs/kbn_alerting_state_types.mdx index 3a87dd88c64b1..32df999b18edd 100644 --- a/api_docs/kbn_alerting_state_types.mdx +++ b/api_docs/kbn_alerting_state_types.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-alerting-state-types title: "@kbn/alerting-state-types" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/alerting-state-types plugin -date: 2023-07-31 +date: 2023-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/alerting-state-types'] --- import kbnAlertingStateTypesObj from './kbn_alerting_state_types.devdocs.json'; diff --git a/api_docs/kbn_alerts_as_data_utils.mdx b/api_docs/kbn_alerts_as_data_utils.mdx index c95e6b28a2697..784ca0e5926ea 100644 --- a/api_docs/kbn_alerts_as_data_utils.mdx +++ b/api_docs/kbn_alerts_as_data_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-alerts-as-data-utils title: "@kbn/alerts-as-data-utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/alerts-as-data-utils plugin -date: 2023-07-31 +date: 2023-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/alerts-as-data-utils'] --- import kbnAlertsAsDataUtilsObj from './kbn_alerts_as_data_utils.devdocs.json'; diff --git a/api_docs/kbn_alerts_ui_shared.mdx b/api_docs/kbn_alerts_ui_shared.mdx index 867c9294380bb..87a452fd12158 100644 --- a/api_docs/kbn_alerts_ui_shared.mdx +++ b/api_docs/kbn_alerts_ui_shared.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-alerts-ui-shared title: "@kbn/alerts-ui-shared" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/alerts-ui-shared plugin -date: 2023-07-31 +date: 2023-08-01 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 645d3f82334da..8dd16023ecd92 100644 --- a/api_docs/kbn_analytics.mdx +++ b/api_docs/kbn_analytics.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-analytics title: "@kbn/analytics" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/analytics plugin -date: 2023-07-31 +date: 2023-08-01 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 9e157e4c90a81..f5f947a007e10 100644 --- a/api_docs/kbn_analytics_client.mdx +++ b/api_docs/kbn_analytics_client.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-analytics-client title: "@kbn/analytics-client" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/analytics-client plugin -date: 2023-07-31 +date: 2023-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/analytics-client'] --- import kbnAnalyticsClientObj from './kbn_analytics_client.devdocs.json'; diff --git a/api_docs/kbn_analytics_shippers_elastic_v3_browser.mdx b/api_docs/kbn_analytics_shippers_elastic_v3_browser.mdx index 735f71da78390..cf54cd5540a79 100644 --- a/api_docs/kbn_analytics_shippers_elastic_v3_browser.mdx +++ b/api_docs/kbn_analytics_shippers_elastic_v3_browser.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-analytics-shippers-elastic-v3-browser title: "@kbn/analytics-shippers-elastic-v3-browser" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/analytics-shippers-elastic-v3-browser plugin -date: 2023-07-31 +date: 2023-08-01 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 569d46bf9368b..c4f9b9e289005 100644 --- a/api_docs/kbn_analytics_shippers_elastic_v3_common.mdx +++ b/api_docs/kbn_analytics_shippers_elastic_v3_common.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-analytics-shippers-elastic-v3-common title: "@kbn/analytics-shippers-elastic-v3-common" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/analytics-shippers-elastic-v3-common plugin -date: 2023-07-31 +date: 2023-08-01 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 c9e81ff8baff7..233541f5b3bfb 100644 --- a/api_docs/kbn_analytics_shippers_elastic_v3_server.mdx +++ b/api_docs/kbn_analytics_shippers_elastic_v3_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-analytics-shippers-elastic-v3-server title: "@kbn/analytics-shippers-elastic-v3-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/analytics-shippers-elastic-v3-server plugin -date: 2023-07-31 +date: 2023-08-01 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 63f29a48f1c9c..94aaf9be7b631 100644 --- a/api_docs/kbn_analytics_shippers_fullstory.mdx +++ b/api_docs/kbn_analytics_shippers_fullstory.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-analytics-shippers-fullstory title: "@kbn/analytics-shippers-fullstory" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/analytics-shippers-fullstory plugin -date: 2023-07-31 +date: 2023-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/analytics-shippers-fullstory'] --- import kbnAnalyticsShippersFullstoryObj from './kbn_analytics_shippers_fullstory.devdocs.json'; diff --git a/api_docs/kbn_analytics_shippers_gainsight.mdx b/api_docs/kbn_analytics_shippers_gainsight.mdx index 590fd0c090e4b..22584b46bc905 100644 --- a/api_docs/kbn_analytics_shippers_gainsight.mdx +++ b/api_docs/kbn_analytics_shippers_gainsight.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-analytics-shippers-gainsight title: "@kbn/analytics-shippers-gainsight" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/analytics-shippers-gainsight plugin -date: 2023-07-31 +date: 2023-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/analytics-shippers-gainsight'] --- import kbnAnalyticsShippersGainsightObj from './kbn_analytics_shippers_gainsight.devdocs.json'; diff --git a/api_docs/kbn_apm_config_loader.mdx b/api_docs/kbn_apm_config_loader.mdx index 9d2cedf78604d..e412905f9eb15 100644 --- a/api_docs/kbn_apm_config_loader.mdx +++ b/api_docs/kbn_apm_config_loader.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-apm-config-loader title: "@kbn/apm-config-loader" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/apm-config-loader plugin -date: 2023-07-31 +date: 2023-08-01 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 645b9490f6284..1495cf269cc8e 100644 --- a/api_docs/kbn_apm_synthtrace.mdx +++ b/api_docs/kbn_apm_synthtrace.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-apm-synthtrace title: "@kbn/apm-synthtrace" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/apm-synthtrace plugin -date: 2023-07-31 +date: 2023-08-01 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 e28696cffec6a..df0ae4b99440b 100644 --- a/api_docs/kbn_apm_synthtrace_client.mdx +++ b/api_docs/kbn_apm_synthtrace_client.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-apm-synthtrace-client title: "@kbn/apm-synthtrace-client" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/apm-synthtrace-client plugin -date: 2023-07-31 +date: 2023-08-01 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 efed89da5122b..64f0eef3e4339 100644 --- a/api_docs/kbn_apm_utils.mdx +++ b/api_docs/kbn_apm_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-apm-utils title: "@kbn/apm-utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/apm-utils plugin -date: 2023-07-31 +date: 2023-08-01 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 57eddfce90d98..ea21a623ede97 100644 --- a/api_docs/kbn_axe_config.mdx +++ b/api_docs/kbn_axe_config.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-axe-config title: "@kbn/axe-config" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/axe-config plugin -date: 2023-07-31 +date: 2023-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/axe-config'] --- import kbnAxeConfigObj from './kbn_axe_config.devdocs.json'; diff --git a/api_docs/kbn_cases_components.mdx b/api_docs/kbn_cases_components.mdx index e0b0e8efe08e3..38bd644680300 100644 --- a/api_docs/kbn_cases_components.mdx +++ b/api_docs/kbn_cases_components.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-cases-components title: "@kbn/cases-components" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/cases-components plugin -date: 2023-07-31 +date: 2023-08-01 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 6e9ccd5407660..eb29b42ed034c 100644 --- a/api_docs/kbn_cell_actions.mdx +++ b/api_docs/kbn_cell_actions.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-cell-actions title: "@kbn/cell-actions" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/cell-actions plugin -date: 2023-07-31 +date: 2023-08-01 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 043d394338142..61689ffc6ccad 100644 --- a/api_docs/kbn_chart_expressions_common.mdx +++ b/api_docs/kbn_chart_expressions_common.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-chart-expressions-common title: "@kbn/chart-expressions-common" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/chart-expressions-common plugin -date: 2023-07-31 +date: 2023-08-01 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 02079d8999ace..9b77fed4d15ad 100644 --- a/api_docs/kbn_chart_icons.mdx +++ b/api_docs/kbn_chart_icons.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-chart-icons title: "@kbn/chart-icons" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/chart-icons plugin -date: 2023-07-31 +date: 2023-08-01 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 5c088fe2c5558..5541aafaab1a9 100644 --- a/api_docs/kbn_ci_stats_core.mdx +++ b/api_docs/kbn_ci_stats_core.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ci-stats-core title: "@kbn/ci-stats-core" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ci-stats-core plugin -date: 2023-07-31 +date: 2023-08-01 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 dfc33ad8df007..1655f70c94e1d 100644 --- a/api_docs/kbn_ci_stats_performance_metrics.mdx +++ b/api_docs/kbn_ci_stats_performance_metrics.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ci-stats-performance-metrics title: "@kbn/ci-stats-performance-metrics" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ci-stats-performance-metrics plugin -date: 2023-07-31 +date: 2023-08-01 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 b285782ebd57a..30d3859df5837 100644 --- a/api_docs/kbn_ci_stats_reporter.mdx +++ b/api_docs/kbn_ci_stats_reporter.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ci-stats-reporter title: "@kbn/ci-stats-reporter" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ci-stats-reporter plugin -date: 2023-07-31 +date: 2023-08-01 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 6a20eae86ca7f..d351e57e0af96 100644 --- a/api_docs/kbn_cli_dev_mode.mdx +++ b/api_docs/kbn_cli_dev_mode.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-cli-dev-mode title: "@kbn/cli-dev-mode" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/cli-dev-mode plugin -date: 2023-07-31 +date: 2023-08-01 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 3fd5428382255..5586ac962c669 100644 --- a/api_docs/kbn_code_editor.mdx +++ b/api_docs/kbn_code_editor.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-code-editor title: "@kbn/code-editor" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/code-editor plugin -date: 2023-07-31 +date: 2023-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/code-editor'] --- import kbnCodeEditorObj from './kbn_code_editor.devdocs.json'; diff --git a/api_docs/kbn_code_editor_mocks.mdx b/api_docs/kbn_code_editor_mocks.mdx index b399c712f8e63..1abe5f2cefa37 100644 --- a/api_docs/kbn_code_editor_mocks.mdx +++ b/api_docs/kbn_code_editor_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-code-editor-mocks title: "@kbn/code-editor-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/code-editor-mocks plugin -date: 2023-07-31 +date: 2023-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/code-editor-mocks'] --- import kbnCodeEditorMocksObj from './kbn_code_editor_mocks.devdocs.json'; diff --git a/api_docs/kbn_coloring.mdx b/api_docs/kbn_coloring.mdx index 51991de34a184..b4b8caeb28086 100644 --- a/api_docs/kbn_coloring.mdx +++ b/api_docs/kbn_coloring.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-coloring title: "@kbn/coloring" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/coloring plugin -date: 2023-07-31 +date: 2023-08-01 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 7861816c87d90..ba1fbf77e2e71 100644 --- a/api_docs/kbn_config.mdx +++ b/api_docs/kbn_config.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-config title: "@kbn/config" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/config plugin -date: 2023-07-31 +date: 2023-08-01 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 679199db0c68e..10e8dbfc62032 100644 --- a/api_docs/kbn_config_mocks.mdx +++ b/api_docs/kbn_config_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-config-mocks title: "@kbn/config-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/config-mocks plugin -date: 2023-07-31 +date: 2023-08-01 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 7b328afd78abe..afdc01b95d080 100644 --- a/api_docs/kbn_config_schema.mdx +++ b/api_docs/kbn_config_schema.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-config-schema title: "@kbn/config-schema" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/config-schema plugin -date: 2023-07-31 +date: 2023-08-01 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 8892cc4dff7a6..2711db178cf69 100644 --- a/api_docs/kbn_content_management_content_editor.mdx +++ b/api_docs/kbn_content_management_content_editor.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-content-management-content-editor title: "@kbn/content-management-content-editor" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/content-management-content-editor plugin -date: 2023-07-31 +date: 2023-08-01 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 c8cc7d9d43bb8..26e5a3cff6e28 100644 --- a/api_docs/kbn_content_management_tabbed_table_list_view.mdx +++ b/api_docs/kbn_content_management_tabbed_table_list_view.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-content-management-tabbed-table-list-view title: "@kbn/content-management-tabbed-table-list-view" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/content-management-tabbed-table-list-view plugin -date: 2023-07-31 +date: 2023-08-01 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 c309925ec365f..b10964ef789f4 100644 --- a/api_docs/kbn_content_management_table_list_view.mdx +++ b/api_docs/kbn_content_management_table_list_view.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-content-management-table-list-view title: "@kbn/content-management-table-list-view" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/content-management-table-list-view plugin -date: 2023-07-31 +date: 2023-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/content-management-table-list-view'] --- import kbnContentManagementTableListViewObj from './kbn_content_management_table_list_view.devdocs.json'; diff --git a/api_docs/kbn_content_management_table_list_view_table.mdx b/api_docs/kbn_content_management_table_list_view_table.mdx index 1632f8eb625a2..1188b0ed0be1d 100644 --- a/api_docs/kbn_content_management_table_list_view_table.mdx +++ b/api_docs/kbn_content_management_table_list_view_table.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-content-management-table-list-view-table title: "@kbn/content-management-table-list-view-table" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/content-management-table-list-view-table plugin -date: 2023-07-31 +date: 2023-08-01 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 e872c9c6d3cc4..3116e2ea978ab 100644 --- a/api_docs/kbn_content_management_utils.mdx +++ b/api_docs/kbn_content_management_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-content-management-utils title: "@kbn/content-management-utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/content-management-utils plugin -date: 2023-07-31 +date: 2023-08-01 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 004b8a241509e..d431267ac93e5 100644 --- a/api_docs/kbn_core_analytics_browser.mdx +++ b/api_docs/kbn_core_analytics_browser.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-analytics-browser title: "@kbn/core-analytics-browser" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-analytics-browser plugin -date: 2023-07-31 +date: 2023-08-01 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 1960543337c0e..66ff751d5d570 100644 --- a/api_docs/kbn_core_analytics_browser_internal.mdx +++ b/api_docs/kbn_core_analytics_browser_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-analytics-browser-internal title: "@kbn/core-analytics-browser-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-analytics-browser-internal plugin -date: 2023-07-31 +date: 2023-08-01 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 c0247027447a9..0ad915544352d 100644 --- a/api_docs/kbn_core_analytics_browser_mocks.mdx +++ b/api_docs/kbn_core_analytics_browser_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-analytics-browser-mocks title: "@kbn/core-analytics-browser-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-analytics-browser-mocks plugin -date: 2023-07-31 +date: 2023-08-01 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 29423caa53d03..6167db0652f3b 100644 --- a/api_docs/kbn_core_analytics_server.mdx +++ b/api_docs/kbn_core_analytics_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-analytics-server title: "@kbn/core-analytics-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-analytics-server plugin -date: 2023-07-31 +date: 2023-08-01 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 1670b18f1d322..2508b5547c0b7 100644 --- a/api_docs/kbn_core_analytics_server_internal.mdx +++ b/api_docs/kbn_core_analytics_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-analytics-server-internal title: "@kbn/core-analytics-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-analytics-server-internal plugin -date: 2023-07-31 +date: 2023-08-01 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 148ebcf719874..6045bfe75f3e2 100644 --- a/api_docs/kbn_core_analytics_server_mocks.mdx +++ b/api_docs/kbn_core_analytics_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-analytics-server-mocks title: "@kbn/core-analytics-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-analytics-server-mocks plugin -date: 2023-07-31 +date: 2023-08-01 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 5f55d697cedc5..ffa390ba98e17 100644 --- a/api_docs/kbn_core_application_browser.mdx +++ b/api_docs/kbn_core_application_browser.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-application-browser title: "@kbn/core-application-browser" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-application-browser plugin -date: 2023-07-31 +date: 2023-08-01 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 bd519ebc2f66b..10d32b00cf4be 100644 --- a/api_docs/kbn_core_application_browser_internal.mdx +++ b/api_docs/kbn_core_application_browser_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-application-browser-internal title: "@kbn/core-application-browser-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-application-browser-internal plugin -date: 2023-07-31 +date: 2023-08-01 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 5f90e05f62b54..69df5262aacd4 100644 --- a/api_docs/kbn_core_application_browser_mocks.mdx +++ b/api_docs/kbn_core_application_browser_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-application-browser-mocks title: "@kbn/core-application-browser-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-application-browser-mocks plugin -date: 2023-07-31 +date: 2023-08-01 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 d6ff036255cc8..b96b7052001b8 100644 --- a/api_docs/kbn_core_application_common.mdx +++ b/api_docs/kbn_core_application_common.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-application-common title: "@kbn/core-application-common" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-application-common plugin -date: 2023-07-31 +date: 2023-08-01 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 78845e59f7753..a0bacce8d0749 100644 --- a/api_docs/kbn_core_apps_browser_internal.mdx +++ b/api_docs/kbn_core_apps_browser_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-apps-browser-internal title: "@kbn/core-apps-browser-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-apps-browser-internal plugin -date: 2023-07-31 +date: 2023-08-01 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 07bf245ab3b22..b0de7379d1f1d 100644 --- a/api_docs/kbn_core_apps_browser_mocks.mdx +++ b/api_docs/kbn_core_apps_browser_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-apps-browser-mocks title: "@kbn/core-apps-browser-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-apps-browser-mocks plugin -date: 2023-07-31 +date: 2023-08-01 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 8e03bb0975ddb..40f23404db32c 100644 --- a/api_docs/kbn_core_apps_server_internal.mdx +++ b/api_docs/kbn_core_apps_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-apps-server-internal title: "@kbn/core-apps-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-apps-server-internal plugin -date: 2023-07-31 +date: 2023-08-01 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 11a1d79e6ebd6..d829ab229ed9e 100644 --- a/api_docs/kbn_core_base_browser_mocks.mdx +++ b/api_docs/kbn_core_base_browser_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-base-browser-mocks title: "@kbn/core-base-browser-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-base-browser-mocks plugin -date: 2023-07-31 +date: 2023-08-01 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 d0dbd24328a01..73727de37af8f 100644 --- a/api_docs/kbn_core_base_common.mdx +++ b/api_docs/kbn_core_base_common.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-base-common title: "@kbn/core-base-common" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-base-common plugin -date: 2023-07-31 +date: 2023-08-01 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 f57a80e9e7b23..70c9c33c92aed 100644 --- a/api_docs/kbn_core_base_server_internal.mdx +++ b/api_docs/kbn_core_base_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-base-server-internal title: "@kbn/core-base-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-base-server-internal plugin -date: 2023-07-31 +date: 2023-08-01 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 79e4bc72f8c95..d370a2a640321 100644 --- a/api_docs/kbn_core_base_server_mocks.mdx +++ b/api_docs/kbn_core_base_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-base-server-mocks title: "@kbn/core-base-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-base-server-mocks plugin -date: 2023-07-31 +date: 2023-08-01 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 eee2c2ce456ca..cd4d0e287d032 100644 --- a/api_docs/kbn_core_capabilities_browser_mocks.mdx +++ b/api_docs/kbn_core_capabilities_browser_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-capabilities-browser-mocks title: "@kbn/core-capabilities-browser-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-capabilities-browser-mocks plugin -date: 2023-07-31 +date: 2023-08-01 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 a42b1c5a6cd0c..fa02f66af617d 100644 --- a/api_docs/kbn_core_capabilities_common.mdx +++ b/api_docs/kbn_core_capabilities_common.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-capabilities-common title: "@kbn/core-capabilities-common" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-capabilities-common plugin -date: 2023-07-31 +date: 2023-08-01 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 296515e8a3e86..4b2595bac2b2b 100644 --- a/api_docs/kbn_core_capabilities_server.mdx +++ b/api_docs/kbn_core_capabilities_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-capabilities-server title: "@kbn/core-capabilities-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-capabilities-server plugin -date: 2023-07-31 +date: 2023-08-01 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 cddbe4a929420..b45b432fa6163 100644 --- a/api_docs/kbn_core_capabilities_server_mocks.mdx +++ b/api_docs/kbn_core_capabilities_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-capabilities-server-mocks title: "@kbn/core-capabilities-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-capabilities-server-mocks plugin -date: 2023-07-31 +date: 2023-08-01 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 43ba3012d5709..65ce85e083ad1 100644 --- a/api_docs/kbn_core_chrome_browser.mdx +++ b/api_docs/kbn_core_chrome_browser.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-chrome-browser title: "@kbn/core-chrome-browser" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-chrome-browser plugin -date: 2023-07-31 +date: 2023-08-01 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 6caec9a865fe4..f9698c32a3fec 100644 --- a/api_docs/kbn_core_chrome_browser_mocks.mdx +++ b/api_docs/kbn_core_chrome_browser_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-chrome-browser-mocks title: "@kbn/core-chrome-browser-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-chrome-browser-mocks plugin -date: 2023-07-31 +date: 2023-08-01 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 89392571cc27b..0ce15f5332ae9 100644 --- a/api_docs/kbn_core_config_server_internal.mdx +++ b/api_docs/kbn_core_config_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-config-server-internal title: "@kbn/core-config-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-config-server-internal plugin -date: 2023-07-31 +date: 2023-08-01 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 c9181665b67bd..d87f645e19af8 100644 --- a/api_docs/kbn_core_custom_branding_browser.mdx +++ b/api_docs/kbn_core_custom_branding_browser.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-custom-branding-browser title: "@kbn/core-custom-branding-browser" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-custom-branding-browser plugin -date: 2023-07-31 +date: 2023-08-01 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 ec2b1f33a4c3d..63a38cd876065 100644 --- a/api_docs/kbn_core_custom_branding_browser_internal.mdx +++ b/api_docs/kbn_core_custom_branding_browser_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-custom-branding-browser-internal title: "@kbn/core-custom-branding-browser-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-custom-branding-browser-internal plugin -date: 2023-07-31 +date: 2023-08-01 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 812c950c039b8..f26c58a5f4439 100644 --- a/api_docs/kbn_core_custom_branding_browser_mocks.mdx +++ b/api_docs/kbn_core_custom_branding_browser_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-custom-branding-browser-mocks title: "@kbn/core-custom-branding-browser-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-custom-branding-browser-mocks plugin -date: 2023-07-31 +date: 2023-08-01 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 a4b77eb9553e4..8de945f10b914 100644 --- a/api_docs/kbn_core_custom_branding_common.mdx +++ b/api_docs/kbn_core_custom_branding_common.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-custom-branding-common title: "@kbn/core-custom-branding-common" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-custom-branding-common plugin -date: 2023-07-31 +date: 2023-08-01 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 dee56536d7e53..7bb0619309906 100644 --- a/api_docs/kbn_core_custom_branding_server.mdx +++ b/api_docs/kbn_core_custom_branding_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-custom-branding-server title: "@kbn/core-custom-branding-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-custom-branding-server plugin -date: 2023-07-31 +date: 2023-08-01 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 35f02b4f16423..dd257cd7fbd6d 100644 --- a/api_docs/kbn_core_custom_branding_server_internal.mdx +++ b/api_docs/kbn_core_custom_branding_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-custom-branding-server-internal title: "@kbn/core-custom-branding-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-custom-branding-server-internal plugin -date: 2023-07-31 +date: 2023-08-01 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 0ef1ee576231c..451aaac3ace89 100644 --- a/api_docs/kbn_core_custom_branding_server_mocks.mdx +++ b/api_docs/kbn_core_custom_branding_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-custom-branding-server-mocks title: "@kbn/core-custom-branding-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-custom-branding-server-mocks plugin -date: 2023-07-31 +date: 2023-08-01 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 68162a4b0ffdc..aec0e4ae91782 100644 --- a/api_docs/kbn_core_deprecations_browser.mdx +++ b/api_docs/kbn_core_deprecations_browser.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-deprecations-browser title: "@kbn/core-deprecations-browser" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-deprecations-browser plugin -date: 2023-07-31 +date: 2023-08-01 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 90df42e9f24ce..9685429be121a 100644 --- a/api_docs/kbn_core_deprecations_browser_internal.mdx +++ b/api_docs/kbn_core_deprecations_browser_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-deprecations-browser-internal title: "@kbn/core-deprecations-browser-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-deprecations-browser-internal plugin -date: 2023-07-31 +date: 2023-08-01 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 2b391943f20b8..725c3917a0017 100644 --- a/api_docs/kbn_core_deprecations_browser_mocks.mdx +++ b/api_docs/kbn_core_deprecations_browser_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-deprecations-browser-mocks title: "@kbn/core-deprecations-browser-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-deprecations-browser-mocks plugin -date: 2023-07-31 +date: 2023-08-01 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 6e56ea4399943..1e75ecb8bd28c 100644 --- a/api_docs/kbn_core_deprecations_common.mdx +++ b/api_docs/kbn_core_deprecations_common.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-deprecations-common title: "@kbn/core-deprecations-common" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-deprecations-common plugin -date: 2023-07-31 +date: 2023-08-01 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 2f16f9f7c4d4f..3fcb889c2a4b7 100644 --- a/api_docs/kbn_core_deprecations_server.mdx +++ b/api_docs/kbn_core_deprecations_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-deprecations-server title: "@kbn/core-deprecations-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-deprecations-server plugin -date: 2023-07-31 +date: 2023-08-01 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 db10ef1457da5..bc3a8dcc81d43 100644 --- a/api_docs/kbn_core_deprecations_server_internal.mdx +++ b/api_docs/kbn_core_deprecations_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-deprecations-server-internal title: "@kbn/core-deprecations-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-deprecations-server-internal plugin -date: 2023-07-31 +date: 2023-08-01 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 edf09b734ac6c..d0de83e167f2c 100644 --- a/api_docs/kbn_core_deprecations_server_mocks.mdx +++ b/api_docs/kbn_core_deprecations_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-deprecations-server-mocks title: "@kbn/core-deprecations-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-deprecations-server-mocks plugin -date: 2023-07-31 +date: 2023-08-01 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 1172f7bdd3788..712f71278d619 100644 --- a/api_docs/kbn_core_doc_links_browser.mdx +++ b/api_docs/kbn_core_doc_links_browser.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-doc-links-browser title: "@kbn/core-doc-links-browser" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-doc-links-browser plugin -date: 2023-07-31 +date: 2023-08-01 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 1d6cc09fb8b8e..95e19045c4637 100644 --- a/api_docs/kbn_core_doc_links_browser_mocks.mdx +++ b/api_docs/kbn_core_doc_links_browser_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-doc-links-browser-mocks title: "@kbn/core-doc-links-browser-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-doc-links-browser-mocks plugin -date: 2023-07-31 +date: 2023-08-01 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 803da8ae658e6..d0b88e4a79b3a 100644 --- a/api_docs/kbn_core_doc_links_server.mdx +++ b/api_docs/kbn_core_doc_links_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-doc-links-server title: "@kbn/core-doc-links-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-doc-links-server plugin -date: 2023-07-31 +date: 2023-08-01 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 34500dd9920fa..a65b3b2fa9c6b 100644 --- a/api_docs/kbn_core_doc_links_server_mocks.mdx +++ b/api_docs/kbn_core_doc_links_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-doc-links-server-mocks title: "@kbn/core-doc-links-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-doc-links-server-mocks plugin -date: 2023-07-31 +date: 2023-08-01 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 6cbbef39f62dc..21cb2a377a3ed 100644 --- a/api_docs/kbn_core_elasticsearch_client_server_internal.mdx +++ b/api_docs/kbn_core_elasticsearch_client_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-elasticsearch-client-server-internal title: "@kbn/core-elasticsearch-client-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-elasticsearch-client-server-internal plugin -date: 2023-07-31 +date: 2023-08-01 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.devdocs.json b/api_docs/kbn_core_elasticsearch_client_server_mocks.devdocs.json index 7ad9ebdcc1c7f..fe84b5cc7ba33 100644 --- a/api_docs/kbn_core_elasticsearch_client_server_mocks.devdocs.json +++ b/api_docs/kbn_core_elasticsearch_client_server_mocks.devdocs.json @@ -361,7 +361,7 @@ }, "<", "default", - ">; name: string | symbol; [kAsyncSearch]: symbol | null; [kAutoscaling]: symbol | null; [kCat]: symbol | null; [kCcr]: symbol | null; [kCluster]: symbol | null; [kDanglingIndices]: symbol | null; [kEnrich]: symbol | null; [kEql]: symbol | null; [kFeatures]: symbol | null; [kFleet]: symbol | null; [kGraph]: symbol | null; [kIlm]: symbol | null; [kIndices]: symbol | null; [kIngest]: symbol | null; [kLicense]: symbol | null; [kLogstash]: symbol | null; [kMigration]: symbol | null; [kMl]: symbol | null; [kMonitoring]: symbol | null; [kNodes]: symbol | null; [kRollup]: symbol | null; [kSearchApplication]: symbol | null; [kSearchableSnapshots]: symbol | null; [kSecurity]: symbol | null; [kShutdown]: symbol | null; [kSlm]: symbol | null; [kSnapshot]: symbol | null; [kSql]: symbol | null; [kSsl]: symbol | null; [kTasks]: symbol | null; [kTextStructure]: symbol | null; [kTransform]: symbol | null; [kWatcher]: symbol | null; [kXpack]: symbol | null; transport: ", + ">; name: string | symbol; [kAsyncSearch]: symbol | null; [kAutoscaling]: symbol | null; [kCat]: symbol | null; [kCcr]: symbol | null; [kCluster]: symbol | null; [kDanglingIndices]: symbol | null; [kEnrich]: symbol | null; [kEql]: symbol | null; [kFeatures]: symbol | null; [kFleet]: symbol | null; [kGraph]: symbol | null; [kIlm]: symbol | null; [kIndices]: symbol | null; [kIngest]: symbol | null; [kLicense]: symbol | null; [kLogstash]: symbol | null; [kMigration]: symbol | null; [kMl]: symbol | null; [kMonitoring]: symbol | null; [kNodes]: symbol | null; [kRollup]: symbol | null; [kSearchApplication]: symbol | null; [kSearchableSnapshots]: symbol | null; [kSecurity]: symbol | null; [kShutdown]: symbol | null; [kSlm]: symbol | null; [kSnapshot]: symbol | null; [kSql]: symbol | null; [kSsl]: symbol | null; [kSynonyms]: symbol | null; [kTasks]: symbol | null; [kTextStructure]: symbol | null; [kTransform]: symbol | null; [kWatcher]: symbol | null; [kXpack]: symbol | null; transport: ", { "pluginId": "@kbn/core-elasticsearch-client-server-mocks", "scope": "common", @@ -1223,6 +1223,16 @@ }, "<", "default", + ">; synonyms: ", + { + "pluginId": "@kbn/core-elasticsearch-client-server-mocks", + "scope": "common", + "docId": "kibKbnCoreElasticsearchClientServerMocksPluginApi", + "section": "def-common.DeeplyMockedApi", + "text": "DeeplyMockedApi" + }, + "<", + "default", ">; tasks: ", { "pluginId": "@kbn/core-elasticsearch-client-server-mocks", @@ -1494,7 +1504,7 @@ }, "<", "default", - ">; name: string | symbol; [kAsyncSearch]: symbol | null; [kAutoscaling]: symbol | null; [kCat]: symbol | null; [kCcr]: symbol | null; [kCluster]: symbol | null; [kDanglingIndices]: symbol | null; [kEnrich]: symbol | null; [kEql]: symbol | null; [kFeatures]: symbol | null; [kFleet]: symbol | null; [kGraph]: symbol | null; [kIlm]: symbol | null; [kIndices]: symbol | null; [kIngest]: symbol | null; [kLicense]: symbol | null; [kLogstash]: symbol | null; [kMigration]: symbol | null; [kMl]: symbol | null; [kMonitoring]: symbol | null; [kNodes]: symbol | null; [kRollup]: symbol | null; [kSearchApplication]: symbol | null; [kSearchableSnapshots]: symbol | null; [kSecurity]: symbol | null; [kShutdown]: symbol | null; [kSlm]: symbol | null; [kSnapshot]: symbol | null; [kSql]: symbol | null; [kSsl]: symbol | null; [kTasks]: symbol | null; [kTextStructure]: symbol | null; [kTransform]: symbol | null; [kWatcher]: symbol | null; [kXpack]: symbol | null; transport: ", + ">; name: string | symbol; [kAsyncSearch]: symbol | null; [kAutoscaling]: symbol | null; [kCat]: symbol | null; [kCcr]: symbol | null; [kCluster]: symbol | null; [kDanglingIndices]: symbol | null; [kEnrich]: symbol | null; [kEql]: symbol | null; [kFeatures]: symbol | null; [kFleet]: symbol | null; [kGraph]: symbol | null; [kIlm]: symbol | null; [kIndices]: symbol | null; [kIngest]: symbol | null; [kLicense]: symbol | null; [kLogstash]: symbol | null; [kMigration]: symbol | null; [kMl]: symbol | null; [kMonitoring]: symbol | null; [kNodes]: symbol | null; [kRollup]: symbol | null; [kSearchApplication]: symbol | null; [kSearchableSnapshots]: symbol | null; [kSecurity]: symbol | null; [kShutdown]: symbol | null; [kSlm]: symbol | null; [kSnapshot]: symbol | null; [kSql]: symbol | null; [kSsl]: symbol | null; [kSynonyms]: symbol | null; [kTasks]: symbol | null; [kTextStructure]: symbol | null; [kTransform]: symbol | null; [kWatcher]: symbol | null; [kXpack]: symbol | null; transport: ", { "pluginId": "@kbn/core-elasticsearch-client-server-mocks", "scope": "common", @@ -2356,6 +2366,16 @@ }, "<", "default", + ">; synonyms: ", + { + "pluginId": "@kbn/core-elasticsearch-client-server-mocks", + "scope": "common", + "docId": "kibKbnCoreElasticsearchClientServerMocksPluginApi", + "section": "def-common.DeeplyMockedApi", + "text": "DeeplyMockedApi" + }, + "<", + "default", ">; tasks: ", { "pluginId": "@kbn/core-elasticsearch-client-server-mocks", @@ -2581,7 +2601,7 @@ }, "<", "default", - ">; name: string | symbol; [kAsyncSearch]: symbol | null; [kAutoscaling]: symbol | null; [kCat]: symbol | null; [kCcr]: symbol | null; [kCluster]: symbol | null; [kDanglingIndices]: symbol | null; [kEnrich]: symbol | null; [kEql]: symbol | null; [kFeatures]: symbol | null; [kFleet]: symbol | null; [kGraph]: symbol | null; [kIlm]: symbol | null; [kIndices]: symbol | null; [kIngest]: symbol | null; [kLicense]: symbol | null; [kLogstash]: symbol | null; [kMigration]: symbol | null; [kMl]: symbol | null; [kMonitoring]: symbol | null; [kNodes]: symbol | null; [kRollup]: symbol | null; [kSearchApplication]: symbol | null; [kSearchableSnapshots]: symbol | null; [kSecurity]: symbol | null; [kShutdown]: symbol | null; [kSlm]: symbol | null; [kSnapshot]: symbol | null; [kSql]: symbol | null; [kSsl]: symbol | null; [kTasks]: symbol | null; [kTextStructure]: symbol | null; [kTransform]: symbol | null; [kWatcher]: symbol | null; [kXpack]: symbol | null; transport: ", + ">; name: string | symbol; [kAsyncSearch]: symbol | null; [kAutoscaling]: symbol | null; [kCat]: symbol | null; [kCcr]: symbol | null; [kCluster]: symbol | null; [kDanglingIndices]: symbol | null; [kEnrich]: symbol | null; [kEql]: symbol | null; [kFeatures]: symbol | null; [kFleet]: symbol | null; [kGraph]: symbol | null; [kIlm]: symbol | null; [kIndices]: symbol | null; [kIngest]: symbol | null; [kLicense]: symbol | null; [kLogstash]: symbol | null; [kMigration]: symbol | null; [kMl]: symbol | null; [kMonitoring]: symbol | null; [kNodes]: symbol | null; [kRollup]: symbol | null; [kSearchApplication]: symbol | null; [kSearchableSnapshots]: symbol | null; [kSecurity]: symbol | null; [kShutdown]: symbol | null; [kSlm]: symbol | null; [kSnapshot]: symbol | null; [kSql]: symbol | null; [kSsl]: symbol | null; [kSynonyms]: symbol | null; [kTasks]: symbol | null; [kTextStructure]: symbol | null; [kTransform]: symbol | null; [kWatcher]: symbol | null; [kXpack]: symbol | null; transport: ", { "pluginId": "@kbn/core-elasticsearch-client-server-mocks", "scope": "common", @@ -3443,6 +3463,16 @@ }, "<", "default", + ">; synonyms: ", + { + "pluginId": "@kbn/core-elasticsearch-client-server-mocks", + "scope": "common", + "docId": "kibKbnCoreElasticsearchClientServerMocksPluginApi", + "section": "def-common.DeeplyMockedApi", + "text": "DeeplyMockedApi" + }, + "<", + "default", ">; tasks: ", { "pluginId": "@kbn/core-elasticsearch-client-server-mocks", @@ -3759,7 +3789,7 @@ }, "<", "default", - ">; name: string | symbol; [kAsyncSearch]: symbol | null; [kAutoscaling]: symbol | null; [kCat]: symbol | null; [kCcr]: symbol | null; [kCluster]: symbol | null; [kDanglingIndices]: symbol | null; [kEnrich]: symbol | null; [kEql]: symbol | null; [kFeatures]: symbol | null; [kFleet]: symbol | null; [kGraph]: symbol | null; [kIlm]: symbol | null; [kIndices]: symbol | null; [kIngest]: symbol | null; [kLicense]: symbol | null; [kLogstash]: symbol | null; [kMigration]: symbol | null; [kMl]: symbol | null; [kMonitoring]: symbol | null; [kNodes]: symbol | null; [kRollup]: symbol | null; [kSearchApplication]: symbol | null; [kSearchableSnapshots]: symbol | null; [kSecurity]: symbol | null; [kShutdown]: symbol | null; [kSlm]: symbol | null; [kSnapshot]: symbol | null; [kSql]: symbol | null; [kSsl]: symbol | null; [kTasks]: symbol | null; [kTextStructure]: symbol | null; [kTransform]: symbol | null; [kWatcher]: symbol | null; [kXpack]: symbol | null; transport: ", + ">; name: string | symbol; [kAsyncSearch]: symbol | null; [kAutoscaling]: symbol | null; [kCat]: symbol | null; [kCcr]: symbol | null; [kCluster]: symbol | null; [kDanglingIndices]: symbol | null; [kEnrich]: symbol | null; [kEql]: symbol | null; [kFeatures]: symbol | null; [kFleet]: symbol | null; [kGraph]: symbol | null; [kIlm]: symbol | null; [kIndices]: symbol | null; [kIngest]: symbol | null; [kLicense]: symbol | null; [kLogstash]: symbol | null; [kMigration]: symbol | null; [kMl]: symbol | null; [kMonitoring]: symbol | null; [kNodes]: symbol | null; [kRollup]: symbol | null; [kSearchApplication]: symbol | null; [kSearchableSnapshots]: symbol | null; [kSecurity]: symbol | null; [kShutdown]: symbol | null; [kSlm]: symbol | null; [kSnapshot]: symbol | null; [kSql]: symbol | null; [kSsl]: symbol | null; [kSynonyms]: symbol | null; [kTasks]: symbol | null; [kTextStructure]: symbol | null; [kTransform]: symbol | null; [kWatcher]: symbol | null; [kXpack]: symbol | null; transport: ", { "pluginId": "@kbn/core-elasticsearch-client-server-mocks", "scope": "common", @@ -4621,6 +4651,16 @@ }, "<", "default", + ">; synonyms: ", + { + "pluginId": "@kbn/core-elasticsearch-client-server-mocks", + "scope": "common", + "docId": "kibKbnCoreElasticsearchClientServerMocksPluginApi", + "section": "def-common.DeeplyMockedApi", + "text": "DeeplyMockedApi" + }, + "<", + "default", ">; tasks: ", { "pluginId": "@kbn/core-elasticsearch-client-server-mocks", diff --git a/api_docs/kbn_core_elasticsearch_client_server_mocks.mdx b/api_docs/kbn_core_elasticsearch_client_server_mocks.mdx index 09b98ffa1e219..e4ffafa83c922 100644 --- a/api_docs/kbn_core_elasticsearch_client_server_mocks.mdx +++ b/api_docs/kbn_core_elasticsearch_client_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-elasticsearch-client-server-mocks title: "@kbn/core-elasticsearch-client-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-elasticsearch-client-server-mocks plugin -date: 2023-07-31 +date: 2023-08-01 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.devdocs.json b/api_docs/kbn_core_elasticsearch_server.devdocs.json index c17ecc226e4c1..2583a7e0a9675 100644 --- a/api_docs/kbn_core_elasticsearch_server.devdocs.json +++ b/api_docs/kbn_core_elasticsearch_server.devdocs.json @@ -1148,7 +1148,7 @@ "SearchResponse", ">; }; helpers: ", "default", - "; name: string | symbol; [kAsyncSearch]: symbol | null; [kAutoscaling]: symbol | null; [kCat]: symbol | null; [kCcr]: symbol | null; [kCluster]: symbol | null; [kDanglingIndices]: symbol | null; [kEnrich]: symbol | null; [kEql]: symbol | null; [kFeatures]: symbol | null; [kFleet]: symbol | null; [kGraph]: symbol | null; [kIlm]: symbol | null; [kIndices]: symbol | null; [kIngest]: symbol | null; [kLicense]: symbol | null; [kLogstash]: symbol | null; [kMigration]: symbol | null; [kMl]: symbol | null; [kMonitoring]: symbol | null; [kNodes]: symbol | null; [kRollup]: symbol | null; [kSearchApplication]: symbol | null; [kSearchableSnapshots]: symbol | null; [kSecurity]: symbol | null; [kShutdown]: symbol | null; [kSlm]: symbol | null; [kSnapshot]: symbol | null; [kSql]: symbol | null; [kSsl]: symbol | null; [kTasks]: symbol | null; [kTextStructure]: symbol | null; [kTransform]: symbol | null; [kWatcher]: symbol | null; [kXpack]: symbol | null; transport: ", + "; name: string | symbol; [kAsyncSearch]: symbol | null; [kAutoscaling]: symbol | null; [kCat]: symbol | null; [kCcr]: symbol | null; [kCluster]: symbol | null; [kDanglingIndices]: symbol | null; [kEnrich]: symbol | null; [kEql]: symbol | null; [kFeatures]: symbol | null; [kFleet]: symbol | null; [kGraph]: symbol | null; [kIlm]: symbol | null; [kIndices]: symbol | null; [kIngest]: symbol | null; [kLicense]: symbol | null; [kLogstash]: symbol | null; [kMigration]: symbol | null; [kMl]: symbol | null; [kMonitoring]: symbol | null; [kNodes]: symbol | null; [kRollup]: symbol | null; [kSearchApplication]: symbol | null; [kSearchableSnapshots]: symbol | null; [kSecurity]: symbol | null; [kShutdown]: symbol | null; [kSlm]: symbol | null; [kSnapshot]: symbol | null; [kSql]: symbol | null; [kSsl]: symbol | null; [kSynonyms]: symbol | null; [kTasks]: symbol | null; [kTextStructure]: symbol | null; [kTransform]: symbol | null; [kWatcher]: symbol | null; [kXpack]: symbol | null; transport: ", "default", "; child: (opts: ", "ClientOptions", @@ -2110,6 +2110,8 @@ "default", "; ssl: ", "default", + "; synonyms: ", + "default", "; tasks: ", "default", "; termsEnum: { (this: That, params: ", @@ -2842,7 +2844,7 @@ "SearchResponse", ">; }; helpers: ", "default", - "; name: string | symbol; [kAsyncSearch]: symbol | null; [kAutoscaling]: symbol | null; [kCat]: symbol | null; [kCcr]: symbol | null; [kCluster]: symbol | null; [kDanglingIndices]: symbol | null; [kEnrich]: symbol | null; [kEql]: symbol | null; [kFeatures]: symbol | null; [kFleet]: symbol | null; [kGraph]: symbol | null; [kIlm]: symbol | null; [kIndices]: symbol | null; [kIngest]: symbol | null; [kLicense]: symbol | null; [kLogstash]: symbol | null; [kMigration]: symbol | null; [kMl]: symbol | null; [kMonitoring]: symbol | null; [kNodes]: symbol | null; [kRollup]: symbol | null; [kSearchApplication]: symbol | null; [kSearchableSnapshots]: symbol | null; [kSecurity]: symbol | null; [kShutdown]: symbol | null; [kSlm]: symbol | null; [kSnapshot]: symbol | null; [kSql]: symbol | null; [kSsl]: symbol | null; [kTasks]: symbol | null; [kTextStructure]: symbol | null; [kTransform]: symbol | null; [kWatcher]: symbol | null; [kXpack]: symbol | null; transport: ", + "; name: string | symbol; [kAsyncSearch]: symbol | null; [kAutoscaling]: symbol | null; [kCat]: symbol | null; [kCcr]: symbol | null; [kCluster]: symbol | null; [kDanglingIndices]: symbol | null; [kEnrich]: symbol | null; [kEql]: symbol | null; [kFeatures]: symbol | null; [kFleet]: symbol | null; [kGraph]: symbol | null; [kIlm]: symbol | null; [kIndices]: symbol | null; [kIngest]: symbol | null; [kLicense]: symbol | null; [kLogstash]: symbol | null; [kMigration]: symbol | null; [kMl]: symbol | null; [kMonitoring]: symbol | null; [kNodes]: symbol | null; [kRollup]: symbol | null; [kSearchApplication]: symbol | null; [kSearchableSnapshots]: symbol | null; [kSecurity]: symbol | null; [kShutdown]: symbol | null; [kSlm]: symbol | null; [kSnapshot]: symbol | null; [kSql]: symbol | null; [kSsl]: symbol | null; [kSynonyms]: symbol | null; [kTasks]: symbol | null; [kTextStructure]: symbol | null; [kTransform]: symbol | null; [kWatcher]: symbol | null; [kXpack]: symbol | null; transport: ", "default", "; child: (opts: ", "ClientOptions", @@ -3804,6 +3806,8 @@ "default", "; ssl: ", "default", + "; synonyms: ", + "default", "; tasks: ", "default", "; termsEnum: { (this: That, params: ", @@ -4072,7 +4076,7 @@ "SearchResponse", ">; }; helpers: ", "default", - "; name: string | symbol; [kAsyncSearch]: symbol | null; [kAutoscaling]: symbol | null; [kCat]: symbol | null; [kCcr]: symbol | null; [kCluster]: symbol | null; [kDanglingIndices]: symbol | null; [kEnrich]: symbol | null; [kEql]: symbol | null; [kFeatures]: symbol | null; [kFleet]: symbol | null; [kGraph]: symbol | null; [kIlm]: symbol | null; [kIndices]: symbol | null; [kIngest]: symbol | null; [kLicense]: symbol | null; [kLogstash]: symbol | null; [kMigration]: symbol | null; [kMl]: symbol | null; [kMonitoring]: symbol | null; [kNodes]: symbol | null; [kRollup]: symbol | null; [kSearchApplication]: symbol | null; [kSearchableSnapshots]: symbol | null; [kSecurity]: symbol | null; [kShutdown]: symbol | null; [kSlm]: symbol | null; [kSnapshot]: symbol | null; [kSql]: symbol | null; [kSsl]: symbol | null; [kTasks]: symbol | null; [kTextStructure]: symbol | null; [kTransform]: symbol | null; [kWatcher]: symbol | null; [kXpack]: symbol | null; transport: ", + "; name: string | symbol; [kAsyncSearch]: symbol | null; [kAutoscaling]: symbol | null; [kCat]: symbol | null; [kCcr]: symbol | null; [kCluster]: symbol | null; [kDanglingIndices]: symbol | null; [kEnrich]: symbol | null; [kEql]: symbol | null; [kFeatures]: symbol | null; [kFleet]: symbol | null; [kGraph]: symbol | null; [kIlm]: symbol | null; [kIndices]: symbol | null; [kIngest]: symbol | null; [kLicense]: symbol | null; [kLogstash]: symbol | null; [kMigration]: symbol | null; [kMl]: symbol | null; [kMonitoring]: symbol | null; [kNodes]: symbol | null; [kRollup]: symbol | null; [kSearchApplication]: symbol | null; [kSearchableSnapshots]: symbol | null; [kSecurity]: symbol | null; [kShutdown]: symbol | null; [kSlm]: symbol | null; [kSnapshot]: symbol | null; [kSql]: symbol | null; [kSsl]: symbol | null; [kSynonyms]: symbol | null; [kTasks]: symbol | null; [kTextStructure]: symbol | null; [kTransform]: symbol | null; [kWatcher]: symbol | null; [kXpack]: symbol | null; transport: ", "default", "; child: (opts: ", "ClientOptions", @@ -5034,6 +5038,8 @@ "default", "; ssl: ", "default", + "; synonyms: ", + "default", "; tasks: ", "default", "; termsEnum: { (this: That, params: ", @@ -5555,7 +5561,7 @@ "SearchResponse", ">; }; helpers: ", "default", - "; name: string | symbol; [kAsyncSearch]: symbol | null; [kAutoscaling]: symbol | null; [kCat]: symbol | null; [kCcr]: symbol | null; [kCluster]: symbol | null; [kDanglingIndices]: symbol | null; [kEnrich]: symbol | null; [kEql]: symbol | null; [kFeatures]: symbol | null; [kFleet]: symbol | null; [kGraph]: symbol | null; [kIlm]: symbol | null; [kIndices]: symbol | null; [kIngest]: symbol | null; [kLicense]: symbol | null; [kLogstash]: symbol | null; [kMigration]: symbol | null; [kMl]: symbol | null; [kMonitoring]: symbol | null; [kNodes]: symbol | null; [kRollup]: symbol | null; [kSearchApplication]: symbol | null; [kSearchableSnapshots]: symbol | null; [kSecurity]: symbol | null; [kShutdown]: symbol | null; [kSlm]: symbol | null; [kSnapshot]: symbol | null; [kSql]: symbol | null; [kSsl]: symbol | null; [kTasks]: symbol | null; [kTextStructure]: symbol | null; [kTransform]: symbol | null; [kWatcher]: symbol | null; [kXpack]: symbol | null; transport: ", + "; name: string | symbol; [kAsyncSearch]: symbol | null; [kAutoscaling]: symbol | null; [kCat]: symbol | null; [kCcr]: symbol | null; [kCluster]: symbol | null; [kDanglingIndices]: symbol | null; [kEnrich]: symbol | null; [kEql]: symbol | null; [kFeatures]: symbol | null; [kFleet]: symbol | null; [kGraph]: symbol | null; [kIlm]: symbol | null; [kIndices]: symbol | null; [kIngest]: symbol | null; [kLicense]: symbol | null; [kLogstash]: symbol | null; [kMigration]: symbol | null; [kMl]: symbol | null; [kMonitoring]: symbol | null; [kNodes]: symbol | null; [kRollup]: symbol | null; [kSearchApplication]: symbol | null; [kSearchableSnapshots]: symbol | null; [kSecurity]: symbol | null; [kShutdown]: symbol | null; [kSlm]: symbol | null; [kSnapshot]: symbol | null; [kSql]: symbol | null; [kSsl]: symbol | null; [kSynonyms]: symbol | null; [kTasks]: symbol | null; [kTextStructure]: symbol | null; [kTransform]: symbol | null; [kWatcher]: symbol | null; [kXpack]: symbol | null; transport: ", "default", "; child: (opts: ", "ClientOptions", @@ -6517,6 +6523,8 @@ "default", "; ssl: ", "default", + "; synonyms: ", + "default", "; tasks: ", "default", "; termsEnum: { (this: That, params: ", diff --git a/api_docs/kbn_core_elasticsearch_server.mdx b/api_docs/kbn_core_elasticsearch_server.mdx index a3c72764312cc..720f484a59326 100644 --- a/api_docs/kbn_core_elasticsearch_server.mdx +++ b/api_docs/kbn_core_elasticsearch_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-elasticsearch-server title: "@kbn/core-elasticsearch-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-elasticsearch-server plugin -date: 2023-07-31 +date: 2023-08-01 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 567cc8cfd6da4..7067e1ad7fe94 100644 --- a/api_docs/kbn_core_elasticsearch_server_internal.devdocs.json +++ b/api_docs/kbn_core_elasticsearch_server_internal.devdocs.json @@ -198,7 +198,7 @@ "SearchResponse", ">; }; helpers: ", "default", - "; name: string | symbol; [kAsyncSearch]: symbol | null; [kAutoscaling]: symbol | null; [kCat]: symbol | null; [kCcr]: symbol | null; [kCluster]: symbol | null; [kDanglingIndices]: symbol | null; [kEnrich]: symbol | null; [kEql]: symbol | null; [kFeatures]: symbol | null; [kFleet]: symbol | null; [kGraph]: symbol | null; [kIlm]: symbol | null; [kIndices]: symbol | null; [kIngest]: symbol | null; [kLicense]: symbol | null; [kLogstash]: symbol | null; [kMigration]: symbol | null; [kMl]: symbol | null; [kMonitoring]: symbol | null; [kNodes]: symbol | null; [kRollup]: symbol | null; [kSearchApplication]: symbol | null; [kSearchableSnapshots]: symbol | null; [kSecurity]: symbol | null; [kShutdown]: symbol | null; [kSlm]: symbol | null; [kSnapshot]: symbol | null; [kSql]: symbol | null; [kSsl]: symbol | null; [kTasks]: symbol | null; [kTextStructure]: symbol | null; [kTransform]: symbol | null; [kWatcher]: symbol | null; [kXpack]: symbol | null; transport: ", + "; name: string | symbol; [kAsyncSearch]: symbol | null; [kAutoscaling]: symbol | null; [kCat]: symbol | null; [kCcr]: symbol | null; [kCluster]: symbol | null; [kDanglingIndices]: symbol | null; [kEnrich]: symbol | null; [kEql]: symbol | null; [kFeatures]: symbol | null; [kFleet]: symbol | null; [kGraph]: symbol | null; [kIlm]: symbol | null; [kIndices]: symbol | null; [kIngest]: symbol | null; [kLicense]: symbol | null; [kLogstash]: symbol | null; [kMigration]: symbol | null; [kMl]: symbol | null; [kMonitoring]: symbol | null; [kNodes]: symbol | null; [kRollup]: symbol | null; [kSearchApplication]: symbol | null; [kSearchableSnapshots]: symbol | null; [kSecurity]: symbol | null; [kShutdown]: symbol | null; [kSlm]: symbol | null; [kSnapshot]: symbol | null; [kSql]: symbol | null; [kSsl]: symbol | null; [kSynonyms]: symbol | null; [kTasks]: symbol | null; [kTextStructure]: symbol | null; [kTransform]: symbol | null; [kWatcher]: symbol | null; [kXpack]: symbol | null; transport: ", "default", "; child: (opts: ", "ClientOptions", @@ -1160,6 +1160,8 @@ "default", "; ssl: ", "default", + "; synonyms: ", + "default", "; tasks: ", "default", "; termsEnum: { (this: That, params: ", @@ -1856,7 +1858,7 @@ "SearchResponse", ">; }; helpers: ", "default", - "; name: string | symbol; [kAsyncSearch]: symbol | null; [kAutoscaling]: symbol | null; [kCat]: symbol | null; [kCcr]: symbol | null; [kCluster]: symbol | null; [kDanglingIndices]: symbol | null; [kEnrich]: symbol | null; [kEql]: symbol | null; [kFeatures]: symbol | null; [kFleet]: symbol | null; [kGraph]: symbol | null; [kIlm]: symbol | null; [kIndices]: symbol | null; [kIngest]: symbol | null; [kLicense]: symbol | null; [kLogstash]: symbol | null; [kMigration]: symbol | null; [kMl]: symbol | null; [kMonitoring]: symbol | null; [kNodes]: symbol | null; [kRollup]: symbol | null; [kSearchApplication]: symbol | null; [kSearchableSnapshots]: symbol | null; [kSecurity]: symbol | null; [kShutdown]: symbol | null; [kSlm]: symbol | null; [kSnapshot]: symbol | null; [kSql]: symbol | null; [kSsl]: symbol | null; [kTasks]: symbol | null; [kTextStructure]: symbol | null; [kTransform]: symbol | null; [kWatcher]: symbol | null; [kXpack]: symbol | null; transport: ", + "; name: string | symbol; [kAsyncSearch]: symbol | null; [kAutoscaling]: symbol | null; [kCat]: symbol | null; [kCcr]: symbol | null; [kCluster]: symbol | null; [kDanglingIndices]: symbol | null; [kEnrich]: symbol | null; [kEql]: symbol | null; [kFeatures]: symbol | null; [kFleet]: symbol | null; [kGraph]: symbol | null; [kIlm]: symbol | null; [kIndices]: symbol | null; [kIngest]: symbol | null; [kLicense]: symbol | null; [kLogstash]: symbol | null; [kMigration]: symbol | null; [kMl]: symbol | null; [kMonitoring]: symbol | null; [kNodes]: symbol | null; [kRollup]: symbol | null; [kSearchApplication]: symbol | null; [kSearchableSnapshots]: symbol | null; [kSecurity]: symbol | null; [kShutdown]: symbol | null; [kSlm]: symbol | null; [kSnapshot]: symbol | null; [kSql]: symbol | null; [kSsl]: symbol | null; [kSynonyms]: symbol | null; [kTasks]: symbol | null; [kTextStructure]: symbol | null; [kTransform]: symbol | null; [kWatcher]: symbol | null; [kXpack]: symbol | null; transport: ", "default", "; child: (opts: ", "ClientOptions", @@ -2818,6 +2820,8 @@ "default", "; ssl: ", "default", + "; synonyms: ", + "default", "; tasks: ", "default", "; termsEnum: { (this: That, params: ", diff --git a/api_docs/kbn_core_elasticsearch_server_internal.mdx b/api_docs/kbn_core_elasticsearch_server_internal.mdx index 44a0d0e4687fe..80d60837eab33 100644 --- a/api_docs/kbn_core_elasticsearch_server_internal.mdx +++ b/api_docs/kbn_core_elasticsearch_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-elasticsearch-server-internal title: "@kbn/core-elasticsearch-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-elasticsearch-server-internal plugin -date: 2023-07-31 +date: 2023-08-01 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 73d0b5ac89c83..0f5c870c19bb4 100644 --- a/api_docs/kbn_core_elasticsearch_server_mocks.mdx +++ b/api_docs/kbn_core_elasticsearch_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-elasticsearch-server-mocks title: "@kbn/core-elasticsearch-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-elasticsearch-server-mocks plugin -date: 2023-07-31 +date: 2023-08-01 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 76f7178717067..133ac449b0201 100644 --- a/api_docs/kbn_core_environment_server_internal.mdx +++ b/api_docs/kbn_core_environment_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-environment-server-internal title: "@kbn/core-environment-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-environment-server-internal plugin -date: 2023-07-31 +date: 2023-08-01 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 5ee9965a6b6fc..a92b20c24fe6d 100644 --- a/api_docs/kbn_core_environment_server_mocks.mdx +++ b/api_docs/kbn_core_environment_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-environment-server-mocks title: "@kbn/core-environment-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-environment-server-mocks plugin -date: 2023-07-31 +date: 2023-08-01 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 97b0c38078f85..423196bdcf058 100644 --- a/api_docs/kbn_core_execution_context_browser.mdx +++ b/api_docs/kbn_core_execution_context_browser.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-execution-context-browser title: "@kbn/core-execution-context-browser" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-execution-context-browser plugin -date: 2023-07-31 +date: 2023-08-01 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 39f322683b622..eb485599cd889 100644 --- a/api_docs/kbn_core_execution_context_browser_internal.mdx +++ b/api_docs/kbn_core_execution_context_browser_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-execution-context-browser-internal title: "@kbn/core-execution-context-browser-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-execution-context-browser-internal plugin -date: 2023-07-31 +date: 2023-08-01 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 69a296201306c..4e37ab99281d4 100644 --- a/api_docs/kbn_core_execution_context_browser_mocks.mdx +++ b/api_docs/kbn_core_execution_context_browser_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-execution-context-browser-mocks title: "@kbn/core-execution-context-browser-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-execution-context-browser-mocks plugin -date: 2023-07-31 +date: 2023-08-01 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 564c06924f556..0d1218c76c968 100644 --- a/api_docs/kbn_core_execution_context_common.mdx +++ b/api_docs/kbn_core_execution_context_common.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-execution-context-common title: "@kbn/core-execution-context-common" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-execution-context-common plugin -date: 2023-07-31 +date: 2023-08-01 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 aa8e45cdb1825..4a378d4c3fac9 100644 --- a/api_docs/kbn_core_execution_context_server.mdx +++ b/api_docs/kbn_core_execution_context_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-execution-context-server title: "@kbn/core-execution-context-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-execution-context-server plugin -date: 2023-07-31 +date: 2023-08-01 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 ab29c925ac9a4..5e99423d58a10 100644 --- a/api_docs/kbn_core_execution_context_server_internal.mdx +++ b/api_docs/kbn_core_execution_context_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-execution-context-server-internal title: "@kbn/core-execution-context-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-execution-context-server-internal plugin -date: 2023-07-31 +date: 2023-08-01 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 541e07f66daea..079680db0586a 100644 --- a/api_docs/kbn_core_execution_context_server_mocks.mdx +++ b/api_docs/kbn_core_execution_context_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-execution-context-server-mocks title: "@kbn/core-execution-context-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-execution-context-server-mocks plugin -date: 2023-07-31 +date: 2023-08-01 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 3406932560242..f418705cc1e7d 100644 --- a/api_docs/kbn_core_fatal_errors_browser.mdx +++ b/api_docs/kbn_core_fatal_errors_browser.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-fatal-errors-browser title: "@kbn/core-fatal-errors-browser" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-fatal-errors-browser plugin -date: 2023-07-31 +date: 2023-08-01 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 f75e6ae53bc9a..b0e1d9567653c 100644 --- a/api_docs/kbn_core_fatal_errors_browser_mocks.mdx +++ b/api_docs/kbn_core_fatal_errors_browser_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-fatal-errors-browser-mocks title: "@kbn/core-fatal-errors-browser-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-fatal-errors-browser-mocks plugin -date: 2023-07-31 +date: 2023-08-01 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 1c3271b2e4fec..b6d0ebdf36223 100644 --- a/api_docs/kbn_core_http_browser.mdx +++ b/api_docs/kbn_core_http_browser.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-http-browser title: "@kbn/core-http-browser" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-http-browser plugin -date: 2023-07-31 +date: 2023-08-01 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 cf456c05e4a1a..ef9ccd8b45b97 100644 --- a/api_docs/kbn_core_http_browser_internal.mdx +++ b/api_docs/kbn_core_http_browser_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-http-browser-internal title: "@kbn/core-http-browser-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-http-browser-internal plugin -date: 2023-07-31 +date: 2023-08-01 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 e0b6b84b6a68b..7e0a1f30728ce 100644 --- a/api_docs/kbn_core_http_browser_mocks.mdx +++ b/api_docs/kbn_core_http_browser_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-http-browser-mocks title: "@kbn/core-http-browser-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-http-browser-mocks plugin -date: 2023-07-31 +date: 2023-08-01 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 9e2aea440f43f..9a41cf162e702 100644 --- a/api_docs/kbn_core_http_common.mdx +++ b/api_docs/kbn_core_http_common.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-http-common title: "@kbn/core-http-common" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-http-common plugin -date: 2023-07-31 +date: 2023-08-01 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 f1df25a03970b..e688b1eadb6c9 100644 --- a/api_docs/kbn_core_http_context_server_mocks.mdx +++ b/api_docs/kbn_core_http_context_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-http-context-server-mocks title: "@kbn/core-http-context-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-http-context-server-mocks plugin -date: 2023-07-31 +date: 2023-08-01 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 26c6b5ff8505b..a217a5b40941b 100644 --- a/api_docs/kbn_core_http_request_handler_context_server.mdx +++ b/api_docs/kbn_core_http_request_handler_context_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-http-request-handler-context-server title: "@kbn/core-http-request-handler-context-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-http-request-handler-context-server plugin -date: 2023-07-31 +date: 2023-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-http-request-handler-context-server'] --- import kbnCoreHttpRequestHandlerContextServerObj from './kbn_core_http_request_handler_context_server.devdocs.json'; diff --git a/api_docs/kbn_core_http_resources_server.mdx b/api_docs/kbn_core_http_resources_server.mdx index 0b4dc736d2a13..10433751b9389 100644 --- a/api_docs/kbn_core_http_resources_server.mdx +++ b/api_docs/kbn_core_http_resources_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-http-resources-server title: "@kbn/core-http-resources-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-http-resources-server plugin -date: 2023-07-31 +date: 2023-08-01 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 6eb29a8ff29df..668a6fbb47bab 100644 --- a/api_docs/kbn_core_http_resources_server_internal.mdx +++ b/api_docs/kbn_core_http_resources_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-http-resources-server-internal title: "@kbn/core-http-resources-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-http-resources-server-internal plugin -date: 2023-07-31 +date: 2023-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-http-resources-server-internal'] --- import kbnCoreHttpResourcesServerInternalObj from './kbn_core_http_resources_server_internal.devdocs.json'; diff --git a/api_docs/kbn_core_http_resources_server_mocks.mdx b/api_docs/kbn_core_http_resources_server_mocks.mdx index 8ba5bf40d5c35..6d7c5acae0769 100644 --- a/api_docs/kbn_core_http_resources_server_mocks.mdx +++ b/api_docs/kbn_core_http_resources_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-http-resources-server-mocks title: "@kbn/core-http-resources-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-http-resources-server-mocks plugin -date: 2023-07-31 +date: 2023-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-http-resources-server-mocks'] --- import kbnCoreHttpResourcesServerMocksObj from './kbn_core_http_resources_server_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_http_router_server_internal.mdx b/api_docs/kbn_core_http_router_server_internal.mdx index 5c000b9865cb4..e5f93aaa404e4 100644 --- a/api_docs/kbn_core_http_router_server_internal.mdx +++ b/api_docs/kbn_core_http_router_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-http-router-server-internal title: "@kbn/core-http-router-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-http-router-server-internal plugin -date: 2023-07-31 +date: 2023-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-http-router-server-internal'] --- import kbnCoreHttpRouterServerInternalObj from './kbn_core_http_router_server_internal.devdocs.json'; diff --git a/api_docs/kbn_core_http_router_server_mocks.mdx b/api_docs/kbn_core_http_router_server_mocks.mdx index 997c6db6552d6..72afc71b4551f 100644 --- a/api_docs/kbn_core_http_router_server_mocks.mdx +++ b/api_docs/kbn_core_http_router_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-http-router-server-mocks title: "@kbn/core-http-router-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-http-router-server-mocks plugin -date: 2023-07-31 +date: 2023-08-01 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 f8e9cf165bbd9..e99d76aae9184 100644 --- a/api_docs/kbn_core_http_server.devdocs.json +++ b/api_docs/kbn_core_http_server.devdocs.json @@ -3603,6 +3603,18 @@ "plugin": "alerting", "path": "x-pack/plugins/alerting/server/routes/maintenance_window/active_maintenance_windows.ts" }, + { + "plugin": "guidedOnboarding", + "path": "src/plugins/guided_onboarding/server/routes/guide_state_routes.ts" + }, + { + "plugin": "guidedOnboarding", + "path": "src/plugins/guided_onboarding/server/routes/plugin_state_routes.ts" + }, + { + "plugin": "guidedOnboarding", + "path": "src/plugins/guided_onboarding/server/routes/config_routes.ts" + }, { "plugin": "ruleRegistry", "path": "x-pack/plugins/rule_registry/server/routes/get_alert_by_id.ts" @@ -3623,18 +3635,6 @@ "plugin": "ruleRegistry", "path": "x-pack/plugins/rule_registry/server/routes/get_aad_fields_by_rule_type.ts" }, - { - "plugin": "guidedOnboarding", - "path": "src/plugins/guided_onboarding/server/routes/guide_state_routes.ts" - }, - { - "plugin": "guidedOnboarding", - "path": "src/plugins/guided_onboarding/server/routes/plugin_state_routes.ts" - }, - { - "plugin": "guidedOnboarding", - "path": "src/plugins/guided_onboarding/server/routes/config_routes.ts" - }, { "plugin": "observability", "path": "x-pack/plugins/observability/server/lib/annotations/register_annotation_apis.ts" diff --git a/api_docs/kbn_core_http_server.mdx b/api_docs/kbn_core_http_server.mdx index 24099f5a5a158..6b4ba1f578805 100644 --- a/api_docs/kbn_core_http_server.mdx +++ b/api_docs/kbn_core_http_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-http-server title: "@kbn/core-http-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-http-server plugin -date: 2023-07-31 +date: 2023-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-http-server'] --- import kbnCoreHttpServerObj from './kbn_core_http_server.devdocs.json'; diff --git a/api_docs/kbn_core_http_server_internal.mdx b/api_docs/kbn_core_http_server_internal.mdx index fba0205f32c11..92b1c6ea783f1 100644 --- a/api_docs/kbn_core_http_server_internal.mdx +++ b/api_docs/kbn_core_http_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-http-server-internal title: "@kbn/core-http-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-http-server-internal plugin -date: 2023-07-31 +date: 2023-08-01 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 e36742d23ea3f..ee2cfe71a5c0e 100644 --- a/api_docs/kbn_core_http_server_mocks.mdx +++ b/api_docs/kbn_core_http_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-http-server-mocks title: "@kbn/core-http-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-http-server-mocks plugin -date: 2023-07-31 +date: 2023-08-01 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 42b94aa95b881..761b1e010e7d4 100644 --- a/api_docs/kbn_core_i18n_browser.mdx +++ b/api_docs/kbn_core_i18n_browser.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-i18n-browser title: "@kbn/core-i18n-browser" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-i18n-browser plugin -date: 2023-07-31 +date: 2023-08-01 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 ffc1424957b04..6334965dccecc 100644 --- a/api_docs/kbn_core_i18n_browser_mocks.mdx +++ b/api_docs/kbn_core_i18n_browser_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-i18n-browser-mocks title: "@kbn/core-i18n-browser-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-i18n-browser-mocks plugin -date: 2023-07-31 +date: 2023-08-01 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 f2998c797c9b1..0a68532edab77 100644 --- a/api_docs/kbn_core_i18n_server.mdx +++ b/api_docs/kbn_core_i18n_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-i18n-server title: "@kbn/core-i18n-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-i18n-server plugin -date: 2023-07-31 +date: 2023-08-01 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 c722f773e8753..a867f538720a6 100644 --- a/api_docs/kbn_core_i18n_server_internal.mdx +++ b/api_docs/kbn_core_i18n_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-i18n-server-internal title: "@kbn/core-i18n-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-i18n-server-internal plugin -date: 2023-07-31 +date: 2023-08-01 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 29ce3ab794560..f16da29ed6ee1 100644 --- a/api_docs/kbn_core_i18n_server_mocks.mdx +++ b/api_docs/kbn_core_i18n_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-i18n-server-mocks title: "@kbn/core-i18n-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-i18n-server-mocks plugin -date: 2023-07-31 +date: 2023-08-01 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 d440f262e6954..cbe8bfe7c3dc4 100644 --- a/api_docs/kbn_core_injected_metadata_browser_mocks.mdx +++ b/api_docs/kbn_core_injected_metadata_browser_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-injected-metadata-browser-mocks title: "@kbn/core-injected-metadata-browser-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-injected-metadata-browser-mocks plugin -date: 2023-07-31 +date: 2023-08-01 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 77e7b328ff757..46e39642cb5ab 100644 --- a/api_docs/kbn_core_integrations_browser_internal.mdx +++ b/api_docs/kbn_core_integrations_browser_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-integrations-browser-internal title: "@kbn/core-integrations-browser-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-integrations-browser-internal plugin -date: 2023-07-31 +date: 2023-08-01 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 27ac3e8417ea2..4638a9317b6e2 100644 --- a/api_docs/kbn_core_integrations_browser_mocks.mdx +++ b/api_docs/kbn_core_integrations_browser_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-integrations-browser-mocks title: "@kbn/core-integrations-browser-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-integrations-browser-mocks plugin -date: 2023-07-31 +date: 2023-08-01 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 4f4ab74ffef79..c2aa561cbb9e9 100644 --- a/api_docs/kbn_core_lifecycle_browser.mdx +++ b/api_docs/kbn_core_lifecycle_browser.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-lifecycle-browser title: "@kbn/core-lifecycle-browser" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-lifecycle-browser plugin -date: 2023-07-31 +date: 2023-08-01 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 9e321161cbe4f..53e0b4af9886d 100644 --- a/api_docs/kbn_core_lifecycle_browser_mocks.mdx +++ b/api_docs/kbn_core_lifecycle_browser_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-lifecycle-browser-mocks title: "@kbn/core-lifecycle-browser-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-lifecycle-browser-mocks plugin -date: 2023-07-31 +date: 2023-08-01 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 dae3b56b047c6..c55f6d031f32b 100644 --- a/api_docs/kbn_core_lifecycle_server.mdx +++ b/api_docs/kbn_core_lifecycle_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-lifecycle-server title: "@kbn/core-lifecycle-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-lifecycle-server plugin -date: 2023-07-31 +date: 2023-08-01 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 66379c73e8f31..2cb79c5450221 100644 --- a/api_docs/kbn_core_lifecycle_server_mocks.mdx +++ b/api_docs/kbn_core_lifecycle_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-lifecycle-server-mocks title: "@kbn/core-lifecycle-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-lifecycle-server-mocks plugin -date: 2023-07-31 +date: 2023-08-01 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 1b74cbae85be2..e94fe6fad9b63 100644 --- a/api_docs/kbn_core_logging_browser_mocks.mdx +++ b/api_docs/kbn_core_logging_browser_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-logging-browser-mocks title: "@kbn/core-logging-browser-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-logging-browser-mocks plugin -date: 2023-07-31 +date: 2023-08-01 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 801a102a4425f..7cc54a9ab2c97 100644 --- a/api_docs/kbn_core_logging_common_internal.mdx +++ b/api_docs/kbn_core_logging_common_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-logging-common-internal title: "@kbn/core-logging-common-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-logging-common-internal plugin -date: 2023-07-31 +date: 2023-08-01 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 55c3187f279b2..ecd2e8b545e29 100644 --- a/api_docs/kbn_core_logging_server.mdx +++ b/api_docs/kbn_core_logging_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-logging-server title: "@kbn/core-logging-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-logging-server plugin -date: 2023-07-31 +date: 2023-08-01 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 09289445749da..771c9a2bfc69b 100644 --- a/api_docs/kbn_core_logging_server_internal.mdx +++ b/api_docs/kbn_core_logging_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-logging-server-internal title: "@kbn/core-logging-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-logging-server-internal plugin -date: 2023-07-31 +date: 2023-08-01 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 7d80dd5658395..17067d0128f45 100644 --- a/api_docs/kbn_core_logging_server_mocks.mdx +++ b/api_docs/kbn_core_logging_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-logging-server-mocks title: "@kbn/core-logging-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-logging-server-mocks plugin -date: 2023-07-31 +date: 2023-08-01 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 2369f39836642..fcb078ec3d645 100644 --- a/api_docs/kbn_core_metrics_collectors_server_internal.mdx +++ b/api_docs/kbn_core_metrics_collectors_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-metrics-collectors-server-internal title: "@kbn/core-metrics-collectors-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-metrics-collectors-server-internal plugin -date: 2023-07-31 +date: 2023-08-01 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 0a95fe2430af8..83afad4bd7070 100644 --- a/api_docs/kbn_core_metrics_collectors_server_mocks.mdx +++ b/api_docs/kbn_core_metrics_collectors_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-metrics-collectors-server-mocks title: "@kbn/core-metrics-collectors-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-metrics-collectors-server-mocks plugin -date: 2023-07-31 +date: 2023-08-01 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 23c79d01539b7..71b63feeedd8d 100644 --- a/api_docs/kbn_core_metrics_server.mdx +++ b/api_docs/kbn_core_metrics_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-metrics-server title: "@kbn/core-metrics-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-metrics-server plugin -date: 2023-07-31 +date: 2023-08-01 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 ad51bd7ccd644..e6cadf503ce72 100644 --- a/api_docs/kbn_core_metrics_server_internal.mdx +++ b/api_docs/kbn_core_metrics_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-metrics-server-internal title: "@kbn/core-metrics-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-metrics-server-internal plugin -date: 2023-07-31 +date: 2023-08-01 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 69d151ce11979..3b340a54c45ce 100644 --- a/api_docs/kbn_core_metrics_server_mocks.mdx +++ b/api_docs/kbn_core_metrics_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-metrics-server-mocks title: "@kbn/core-metrics-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-metrics-server-mocks plugin -date: 2023-07-31 +date: 2023-08-01 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 fd82241111b83..ef40500fafcd4 100644 --- a/api_docs/kbn_core_mount_utils_browser.mdx +++ b/api_docs/kbn_core_mount_utils_browser.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-mount-utils-browser title: "@kbn/core-mount-utils-browser" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-mount-utils-browser plugin -date: 2023-07-31 +date: 2023-08-01 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 bede792574e9c..9ebfc089386be 100644 --- a/api_docs/kbn_core_node_server.mdx +++ b/api_docs/kbn_core_node_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-node-server title: "@kbn/core-node-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-node-server plugin -date: 2023-07-31 +date: 2023-08-01 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 a2c8d3e7e3a14..780b811cb7878 100644 --- a/api_docs/kbn_core_node_server_internal.mdx +++ b/api_docs/kbn_core_node_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-node-server-internal title: "@kbn/core-node-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-node-server-internal plugin -date: 2023-07-31 +date: 2023-08-01 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 b1379000049f9..4379647659f21 100644 --- a/api_docs/kbn_core_node_server_mocks.mdx +++ b/api_docs/kbn_core_node_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-node-server-mocks title: "@kbn/core-node-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-node-server-mocks plugin -date: 2023-07-31 +date: 2023-08-01 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 d72c89c9bce56..d7d398c3af52d 100644 --- a/api_docs/kbn_core_notifications_browser.mdx +++ b/api_docs/kbn_core_notifications_browser.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-notifications-browser title: "@kbn/core-notifications-browser" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-notifications-browser plugin -date: 2023-07-31 +date: 2023-08-01 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 7869af7aafcca..c85d94e72c480 100644 --- a/api_docs/kbn_core_notifications_browser_internal.mdx +++ b/api_docs/kbn_core_notifications_browser_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-notifications-browser-internal title: "@kbn/core-notifications-browser-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-notifications-browser-internal plugin -date: 2023-07-31 +date: 2023-08-01 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 4c62fdb9a347d..dc6ff63133d95 100644 --- a/api_docs/kbn_core_notifications_browser_mocks.mdx +++ b/api_docs/kbn_core_notifications_browser_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-notifications-browser-mocks title: "@kbn/core-notifications-browser-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-notifications-browser-mocks plugin -date: 2023-07-31 +date: 2023-08-01 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 9c6352b45e71d..cfaad7f2aba6e 100644 --- a/api_docs/kbn_core_overlays_browser.mdx +++ b/api_docs/kbn_core_overlays_browser.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-overlays-browser title: "@kbn/core-overlays-browser" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-overlays-browser plugin -date: 2023-07-31 +date: 2023-08-01 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 43346aac48e5d..cdf44326f701f 100644 --- a/api_docs/kbn_core_overlays_browser_internal.mdx +++ b/api_docs/kbn_core_overlays_browser_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-overlays-browser-internal title: "@kbn/core-overlays-browser-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-overlays-browser-internal plugin -date: 2023-07-31 +date: 2023-08-01 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 e1cc5790203fb..81050a5000b41 100644 --- a/api_docs/kbn_core_overlays_browser_mocks.mdx +++ b/api_docs/kbn_core_overlays_browser_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-overlays-browser-mocks title: "@kbn/core-overlays-browser-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-overlays-browser-mocks plugin -date: 2023-07-31 +date: 2023-08-01 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 50402ba3342e2..a991fd46b3c1d 100644 --- a/api_docs/kbn_core_plugins_browser.mdx +++ b/api_docs/kbn_core_plugins_browser.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-plugins-browser title: "@kbn/core-plugins-browser" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-plugins-browser plugin -date: 2023-07-31 +date: 2023-08-01 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 e6357c2682348..6ba354b294bcd 100644 --- a/api_docs/kbn_core_plugins_browser_mocks.mdx +++ b/api_docs/kbn_core_plugins_browser_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-plugins-browser-mocks title: "@kbn/core-plugins-browser-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-plugins-browser-mocks plugin -date: 2023-07-31 +date: 2023-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-plugins-browser-mocks'] --- import kbnCorePluginsBrowserMocksObj from './kbn_core_plugins_browser_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_plugins_server.mdx b/api_docs/kbn_core_plugins_server.mdx index 38b3f4235af9b..3ecb534a09b92 100644 --- a/api_docs/kbn_core_plugins_server.mdx +++ b/api_docs/kbn_core_plugins_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-plugins-server title: "@kbn/core-plugins-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-plugins-server plugin -date: 2023-07-31 +date: 2023-08-01 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 62eb09a71b589..c4d5406785858 100644 --- a/api_docs/kbn_core_plugins_server_mocks.mdx +++ b/api_docs/kbn_core_plugins_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-plugins-server-mocks title: "@kbn/core-plugins-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-plugins-server-mocks plugin -date: 2023-07-31 +date: 2023-08-01 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 e99659ee67c5e..947c0ea5d5e11 100644 --- a/api_docs/kbn_core_preboot_server.mdx +++ b/api_docs/kbn_core_preboot_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-preboot-server title: "@kbn/core-preboot-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-preboot-server plugin -date: 2023-07-31 +date: 2023-08-01 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 d8cdc5ea9b9da..4e8c27ab8ad0e 100644 --- a/api_docs/kbn_core_preboot_server_mocks.mdx +++ b/api_docs/kbn_core_preboot_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-preboot-server-mocks title: "@kbn/core-preboot-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-preboot-server-mocks plugin -date: 2023-07-31 +date: 2023-08-01 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 780d4cfe36a1a..b8770621a70bb 100644 --- a/api_docs/kbn_core_rendering_browser_mocks.mdx +++ b/api_docs/kbn_core_rendering_browser_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-rendering-browser-mocks title: "@kbn/core-rendering-browser-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-rendering-browser-mocks plugin -date: 2023-07-31 +date: 2023-08-01 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 39833be7a0870..89e0f71ff5117 100644 --- a/api_docs/kbn_core_rendering_server_internal.mdx +++ b/api_docs/kbn_core_rendering_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-rendering-server-internal title: "@kbn/core-rendering-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-rendering-server-internal plugin -date: 2023-07-31 +date: 2023-08-01 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 5e073e81a459c..bd27df699ad34 100644 --- a/api_docs/kbn_core_rendering_server_mocks.mdx +++ b/api_docs/kbn_core_rendering_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-rendering-server-mocks title: "@kbn/core-rendering-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-rendering-server-mocks plugin -date: 2023-07-31 +date: 2023-08-01 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 1a834a55a39a3..2498348d89019 100644 --- a/api_docs/kbn_core_root_server_internal.mdx +++ b/api_docs/kbn_core_root_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-root-server-internal title: "@kbn/core-root-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-root-server-internal plugin -date: 2023-07-31 +date: 2023-08-01 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 2d31ba4f5fc89..9070867cc78bd 100644 --- a/api_docs/kbn_core_saved_objects_api_browser.mdx +++ b/api_docs/kbn_core_saved_objects_api_browser.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-saved-objects-api-browser title: "@kbn/core-saved-objects-api-browser" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-saved-objects-api-browser plugin -date: 2023-07-31 +date: 2023-08-01 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 b2e9ba4e8db17..de3f7bd2f78e3 100644 --- a/api_docs/kbn_core_saved_objects_api_server.mdx +++ b/api_docs/kbn_core_saved_objects_api_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-saved-objects-api-server title: "@kbn/core-saved-objects-api-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-saved-objects-api-server plugin -date: 2023-07-31 +date: 2023-08-01 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 0eaaa7ee2b7c7..4a498bb36493a 100644 --- a/api_docs/kbn_core_saved_objects_api_server_mocks.mdx +++ b/api_docs/kbn_core_saved_objects_api_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-saved-objects-api-server-mocks title: "@kbn/core-saved-objects-api-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-saved-objects-api-server-mocks plugin -date: 2023-07-31 +date: 2023-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-saved-objects-api-server-mocks'] --- import kbnCoreSavedObjectsApiServerMocksObj from './kbn_core_saved_objects_api_server_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_saved_objects_base_server_internal.mdx b/api_docs/kbn_core_saved_objects_base_server_internal.mdx index d381d2b54dbe4..4c7bc96a567ee 100644 --- a/api_docs/kbn_core_saved_objects_base_server_internal.mdx +++ b/api_docs/kbn_core_saved_objects_base_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-saved-objects-base-server-internal title: "@kbn/core-saved-objects-base-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-saved-objects-base-server-internal plugin -date: 2023-07-31 +date: 2023-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-saved-objects-base-server-internal'] --- import kbnCoreSavedObjectsBaseServerInternalObj from './kbn_core_saved_objects_base_server_internal.devdocs.json'; diff --git a/api_docs/kbn_core_saved_objects_base_server_mocks.mdx b/api_docs/kbn_core_saved_objects_base_server_mocks.mdx index b9a979bd84b87..9230b8e5ae8b9 100644 --- a/api_docs/kbn_core_saved_objects_base_server_mocks.mdx +++ b/api_docs/kbn_core_saved_objects_base_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-saved-objects-base-server-mocks title: "@kbn/core-saved-objects-base-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-saved-objects-base-server-mocks plugin -date: 2023-07-31 +date: 2023-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-saved-objects-base-server-mocks'] --- import kbnCoreSavedObjectsBaseServerMocksObj from './kbn_core_saved_objects_base_server_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_saved_objects_browser.mdx b/api_docs/kbn_core_saved_objects_browser.mdx index 16ee11d786552..ea349da792961 100644 --- a/api_docs/kbn_core_saved_objects_browser.mdx +++ b/api_docs/kbn_core_saved_objects_browser.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-saved-objects-browser title: "@kbn/core-saved-objects-browser" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-saved-objects-browser plugin -date: 2023-07-31 +date: 2023-08-01 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 ba9b54ea26e1c..de3e5b61f5f4a 100644 --- a/api_docs/kbn_core_saved_objects_browser_internal.mdx +++ b/api_docs/kbn_core_saved_objects_browser_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-saved-objects-browser-internal title: "@kbn/core-saved-objects-browser-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-saved-objects-browser-internal plugin -date: 2023-07-31 +date: 2023-08-01 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 74794b0fa5112..229f1391a41fb 100644 --- a/api_docs/kbn_core_saved_objects_browser_mocks.mdx +++ b/api_docs/kbn_core_saved_objects_browser_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-saved-objects-browser-mocks title: "@kbn/core-saved-objects-browser-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-saved-objects-browser-mocks plugin -date: 2023-07-31 +date: 2023-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-saved-objects-browser-mocks'] --- import kbnCoreSavedObjectsBrowserMocksObj from './kbn_core_saved_objects_browser_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_saved_objects_common.devdocs.json b/api_docs/kbn_core_saved_objects_common.devdocs.json index 47c190e62d2ae..02d966877b897 100644 --- a/api_docs/kbn_core_saved_objects_common.devdocs.json +++ b/api_docs/kbn_core_saved_objects_common.devdocs.json @@ -1441,22 +1441,6 @@ "plugin": "savedObjectsManagement", "path": "src/plugins/saved_objects_management/server/lib/find_relationships.test.ts" }, - { - "plugin": "synthetics", - "path": "x-pack/plugins/synthetics/public/apps/synthetics/state/monitor_list/api.ts" - }, - { - "plugin": "synthetics", - "path": "x-pack/plugins/synthetics/public/apps/synthetics/state/monitor_list/api.ts" - }, - { - "plugin": "synthetics", - "path": "x-pack/plugins/synthetics/public/apps/synthetics/state/monitor_list/effects.ts" - }, - { - "plugin": "synthetics", - "path": "x-pack/plugins/synthetics/public/apps/synthetics/state/monitor_list/effects.ts" - }, { "plugin": "@kbn/core-saved-objects-browser-internal", "path": "packages/core/saved-objects/core-saved-objects-browser-internal/src/simple_saved_object.test.ts" diff --git a/api_docs/kbn_core_saved_objects_common.mdx b/api_docs/kbn_core_saved_objects_common.mdx index 16d768dab2756..2d1d4cde1d97f 100644 --- a/api_docs/kbn_core_saved_objects_common.mdx +++ b/api_docs/kbn_core_saved_objects_common.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-saved-objects-common title: "@kbn/core-saved-objects-common" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-saved-objects-common plugin -date: 2023-07-31 +date: 2023-08-01 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 ad460fe4e75d8..62096e0e5061d 100644 --- a/api_docs/kbn_core_saved_objects_import_export_server_internal.mdx +++ b/api_docs/kbn_core_saved_objects_import_export_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-saved-objects-import-export-server-internal title: "@kbn/core-saved-objects-import-export-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-saved-objects-import-export-server-internal plugin -date: 2023-07-31 +date: 2023-08-01 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 797ceee15bc21..382777b40c135 100644 --- a/api_docs/kbn_core_saved_objects_import_export_server_mocks.mdx +++ b/api_docs/kbn_core_saved_objects_import_export_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-saved-objects-import-export-server-mocks title: "@kbn/core-saved-objects-import-export-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-saved-objects-import-export-server-mocks plugin -date: 2023-07-31 +date: 2023-08-01 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 3a6495d4c5078..cbd8b5774457d 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 @@ -2408,7 +2408,7 @@ "SearchResponse", ">; }; helpers: ", "default", - "; name: string | symbol; [kAsyncSearch]: symbol | null; [kAutoscaling]: symbol | null; [kCat]: symbol | null; [kCcr]: symbol | null; [kCluster]: symbol | null; [kDanglingIndices]: symbol | null; [kEnrich]: symbol | null; [kEql]: symbol | null; [kFeatures]: symbol | null; [kFleet]: symbol | null; [kGraph]: symbol | null; [kIlm]: symbol | null; [kIndices]: symbol | null; [kIngest]: symbol | null; [kLicense]: symbol | null; [kLogstash]: symbol | null; [kMigration]: symbol | null; [kMl]: symbol | null; [kMonitoring]: symbol | null; [kNodes]: symbol | null; [kRollup]: symbol | null; [kSearchApplication]: symbol | null; [kSearchableSnapshots]: symbol | null; [kSecurity]: symbol | null; [kShutdown]: symbol | null; [kSlm]: symbol | null; [kSnapshot]: symbol | null; [kSql]: symbol | null; [kSsl]: symbol | null; [kTasks]: symbol | null; [kTextStructure]: symbol | null; [kTransform]: symbol | null; [kWatcher]: symbol | null; [kXpack]: symbol | null; transport: ", + "; name: string | symbol; [kAsyncSearch]: symbol | null; [kAutoscaling]: symbol | null; [kCat]: symbol | null; [kCcr]: symbol | null; [kCluster]: symbol | null; [kDanglingIndices]: symbol | null; [kEnrich]: symbol | null; [kEql]: symbol | null; [kFeatures]: symbol | null; [kFleet]: symbol | null; [kGraph]: symbol | null; [kIlm]: symbol | null; [kIndices]: symbol | null; [kIngest]: symbol | null; [kLicense]: symbol | null; [kLogstash]: symbol | null; [kMigration]: symbol | null; [kMl]: symbol | null; [kMonitoring]: symbol | null; [kNodes]: symbol | null; [kRollup]: symbol | null; [kSearchApplication]: symbol | null; [kSearchableSnapshots]: symbol | null; [kSecurity]: symbol | null; [kShutdown]: symbol | null; [kSlm]: symbol | null; [kSnapshot]: symbol | null; [kSql]: symbol | null; [kSsl]: symbol | null; [kSynonyms]: symbol | null; [kTasks]: symbol | null; [kTextStructure]: symbol | null; [kTransform]: symbol | null; [kWatcher]: symbol | null; [kXpack]: symbol | null; transport: ", "default", "; child: (opts: ", "ClientOptions", @@ -3370,6 +3370,8 @@ "default", "; ssl: ", "default", + "; synonyms: ", + "default", "; tasks: ", "default", "; termsEnum: { (this: That, params: ", 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 e07086b7da35a..a92e495a35fb4 100644 --- a/api_docs/kbn_core_saved_objects_migration_server_internal.mdx +++ b/api_docs/kbn_core_saved_objects_migration_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-saved-objects-migration-server-internal title: "@kbn/core-saved-objects-migration-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-saved-objects-migration-server-internal plugin -date: 2023-07-31 +date: 2023-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-saved-objects-migration-server-internal'] --- import kbnCoreSavedObjectsMigrationServerInternalObj from './kbn_core_saved_objects_migration_server_internal.devdocs.json'; diff --git a/api_docs/kbn_core_saved_objects_migration_server_mocks.mdx b/api_docs/kbn_core_saved_objects_migration_server_mocks.mdx index 26a5e7a9e5559..bc0bf2c01a4d6 100644 --- a/api_docs/kbn_core_saved_objects_migration_server_mocks.mdx +++ b/api_docs/kbn_core_saved_objects_migration_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-saved-objects-migration-server-mocks title: "@kbn/core-saved-objects-migration-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-saved-objects-migration-server-mocks plugin -date: 2023-07-31 +date: 2023-08-01 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 27a6bfd61d853..3f2466bbac0ac 100644 --- a/api_docs/kbn_core_saved_objects_server.mdx +++ b/api_docs/kbn_core_saved_objects_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-saved-objects-server title: "@kbn/core-saved-objects-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-saved-objects-server plugin -date: 2023-07-31 +date: 2023-08-01 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 adc6bde38e507..b73f5954ab03b 100644 --- a/api_docs/kbn_core_saved_objects_server_internal.mdx +++ b/api_docs/kbn_core_saved_objects_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-saved-objects-server-internal title: "@kbn/core-saved-objects-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-saved-objects-server-internal plugin -date: 2023-07-31 +date: 2023-08-01 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 529716ea6a10d..8f345ca70c3ff 100644 --- a/api_docs/kbn_core_saved_objects_server_mocks.mdx +++ b/api_docs/kbn_core_saved_objects_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-saved-objects-server-mocks title: "@kbn/core-saved-objects-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-saved-objects-server-mocks plugin -date: 2023-07-31 +date: 2023-08-01 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 4efd2de1cf44a..242b15e15b0c3 100644 --- a/api_docs/kbn_core_saved_objects_utils_server.mdx +++ b/api_docs/kbn_core_saved_objects_utils_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-saved-objects-utils-server title: "@kbn/core-saved-objects-utils-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-saved-objects-utils-server plugin -date: 2023-07-31 +date: 2023-08-01 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 80b6b6ba2f459..74d7f47e7adc3 100644 --- a/api_docs/kbn_core_status_common.mdx +++ b/api_docs/kbn_core_status_common.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-status-common title: "@kbn/core-status-common" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-status-common plugin -date: 2023-07-31 +date: 2023-08-01 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 55a9351c2f2cf..ec4e4f1f86655 100644 --- a/api_docs/kbn_core_status_common_internal.mdx +++ b/api_docs/kbn_core_status_common_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-status-common-internal title: "@kbn/core-status-common-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-status-common-internal plugin -date: 2023-07-31 +date: 2023-08-01 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 b7c0a9c3d49b3..b6a3131b5ed50 100644 --- a/api_docs/kbn_core_status_server.mdx +++ b/api_docs/kbn_core_status_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-status-server title: "@kbn/core-status-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-status-server plugin -date: 2023-07-31 +date: 2023-08-01 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 3359ae261c948..b46980ed75502 100644 --- a/api_docs/kbn_core_status_server_internal.mdx +++ b/api_docs/kbn_core_status_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-status-server-internal title: "@kbn/core-status-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-status-server-internal plugin -date: 2023-07-31 +date: 2023-08-01 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 c580d9e1503f5..82a2faf677e89 100644 --- a/api_docs/kbn_core_status_server_mocks.mdx +++ b/api_docs/kbn_core_status_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-status-server-mocks title: "@kbn/core-status-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-status-server-mocks plugin -date: 2023-07-31 +date: 2023-08-01 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 691f9f10c2f61..181011148dd0b 100644 --- a/api_docs/kbn_core_test_helpers_deprecations_getters.mdx +++ b/api_docs/kbn_core_test_helpers_deprecations_getters.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-test-helpers-deprecations-getters title: "@kbn/core-test-helpers-deprecations-getters" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-test-helpers-deprecations-getters plugin -date: 2023-07-31 +date: 2023-08-01 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 f341577546166..d8a3bda6f57f7 100644 --- a/api_docs/kbn_core_test_helpers_http_setup_browser.mdx +++ b/api_docs/kbn_core_test_helpers_http_setup_browser.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-test-helpers-http-setup-browser title: "@kbn/core-test-helpers-http-setup-browser" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-test-helpers-http-setup-browser plugin -date: 2023-07-31 +date: 2023-08-01 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 fc05481347f47..b7d426640f105 100644 --- a/api_docs/kbn_core_test_helpers_kbn_server.mdx +++ b/api_docs/kbn_core_test_helpers_kbn_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-test-helpers-kbn-server title: "@kbn/core-test-helpers-kbn-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-test-helpers-kbn-server plugin -date: 2023-07-31 +date: 2023-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-test-helpers-kbn-server'] --- import kbnCoreTestHelpersKbnServerObj from './kbn_core_test_helpers_kbn_server.devdocs.json'; diff --git a/api_docs/kbn_core_test_helpers_so_type_serializer.mdx b/api_docs/kbn_core_test_helpers_so_type_serializer.mdx index 8a4c3e23aa983..39db6ec721ef2 100644 --- a/api_docs/kbn_core_test_helpers_so_type_serializer.mdx +++ b/api_docs/kbn_core_test_helpers_so_type_serializer.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-test-helpers-so-type-serializer title: "@kbn/core-test-helpers-so-type-serializer" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-test-helpers-so-type-serializer plugin -date: 2023-07-31 +date: 2023-08-01 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 327b45df66c8e..e297c56bcfc42 100644 --- a/api_docs/kbn_core_test_helpers_test_utils.mdx +++ b/api_docs/kbn_core_test_helpers_test_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-test-helpers-test-utils title: "@kbn/core-test-helpers-test-utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-test-helpers-test-utils plugin -date: 2023-07-31 +date: 2023-08-01 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 90a6f64b290d2..ab39b69ef2e4f 100644 --- a/api_docs/kbn_core_theme_browser.mdx +++ b/api_docs/kbn_core_theme_browser.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-theme-browser title: "@kbn/core-theme-browser" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-theme-browser plugin -date: 2023-07-31 +date: 2023-08-01 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 6d70bef8774df..a8e87820824b1 100644 --- a/api_docs/kbn_core_theme_browser_mocks.mdx +++ b/api_docs/kbn_core_theme_browser_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-theme-browser-mocks title: "@kbn/core-theme-browser-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-theme-browser-mocks plugin -date: 2023-07-31 +date: 2023-08-01 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 e0ddc7aa55b5e..19e7fa1416476 100644 --- a/api_docs/kbn_core_ui_settings_browser.mdx +++ b/api_docs/kbn_core_ui_settings_browser.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-ui-settings-browser title: "@kbn/core-ui-settings-browser" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-ui-settings-browser plugin -date: 2023-07-31 +date: 2023-08-01 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 354ef311bb8e6..b6eab205168c9 100644 --- a/api_docs/kbn_core_ui_settings_browser_internal.mdx +++ b/api_docs/kbn_core_ui_settings_browser_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-ui-settings-browser-internal title: "@kbn/core-ui-settings-browser-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-ui-settings-browser-internal plugin -date: 2023-07-31 +date: 2023-08-01 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 0b9013a9a59f5..f582348a9ed82 100644 --- a/api_docs/kbn_core_ui_settings_browser_mocks.mdx +++ b/api_docs/kbn_core_ui_settings_browser_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-ui-settings-browser-mocks title: "@kbn/core-ui-settings-browser-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-ui-settings-browser-mocks plugin -date: 2023-07-31 +date: 2023-08-01 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 b081fe030d132..cf7688b8ae9d9 100644 --- a/api_docs/kbn_core_ui_settings_common.mdx +++ b/api_docs/kbn_core_ui_settings_common.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-ui-settings-common title: "@kbn/core-ui-settings-common" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-ui-settings-common plugin -date: 2023-07-31 +date: 2023-08-01 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 92caf13e2a072..ed9abf6158501 100644 --- a/api_docs/kbn_core_ui_settings_server.mdx +++ b/api_docs/kbn_core_ui_settings_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-ui-settings-server title: "@kbn/core-ui-settings-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-ui-settings-server plugin -date: 2023-07-31 +date: 2023-08-01 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 8932d265677e1..0199542125c0a 100644 --- a/api_docs/kbn_core_ui_settings_server_internal.mdx +++ b/api_docs/kbn_core_ui_settings_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-ui-settings-server-internal title: "@kbn/core-ui-settings-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-ui-settings-server-internal plugin -date: 2023-07-31 +date: 2023-08-01 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 c7c29119adc57..4e64783cf16e7 100644 --- a/api_docs/kbn_core_ui_settings_server_mocks.mdx +++ b/api_docs/kbn_core_ui_settings_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-ui-settings-server-mocks title: "@kbn/core-ui-settings-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-ui-settings-server-mocks plugin -date: 2023-07-31 +date: 2023-08-01 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 85831b9a7ff67..8a68a42cbfc11 100644 --- a/api_docs/kbn_core_usage_data_server.mdx +++ b/api_docs/kbn_core_usage_data_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-usage-data-server title: "@kbn/core-usage-data-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-usage-data-server plugin -date: 2023-07-31 +date: 2023-08-01 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 cfeb7292b76b5..c63d85d9b7e5a 100644 --- a/api_docs/kbn_core_usage_data_server_internal.mdx +++ b/api_docs/kbn_core_usage_data_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-usage-data-server-internal title: "@kbn/core-usage-data-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-usage-data-server-internal plugin -date: 2023-07-31 +date: 2023-08-01 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 ecf233a417ff2..0f62f8a2e345b 100644 --- a/api_docs/kbn_core_usage_data_server_mocks.mdx +++ b/api_docs/kbn_core_usage_data_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-usage-data-server-mocks title: "@kbn/core-usage-data-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-usage-data-server-mocks plugin -date: 2023-07-31 +date: 2023-08-01 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 76429ef1dc406..1fda05a290f4d 100644 --- a/api_docs/kbn_core_user_settings_server.mdx +++ b/api_docs/kbn_core_user_settings_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-user-settings-server title: "@kbn/core-user-settings-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-user-settings-server plugin -date: 2023-07-31 +date: 2023-08-01 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 2e0b9c0358799..9f4dda2417241 100644 --- a/api_docs/kbn_core_user_settings_server_internal.mdx +++ b/api_docs/kbn_core_user_settings_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-user-settings-server-internal title: "@kbn/core-user-settings-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-user-settings-server-internal plugin -date: 2023-07-31 +date: 2023-08-01 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 54feb29474d8b..a17fb4ae82196 100644 --- a/api_docs/kbn_core_user_settings_server_mocks.mdx +++ b/api_docs/kbn_core_user_settings_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-user-settings-server-mocks title: "@kbn/core-user-settings-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-user-settings-server-mocks plugin -date: 2023-07-31 +date: 2023-08-01 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 0777a7b2de436..e9ea5a01e457e 100644 --- a/api_docs/kbn_crypto.mdx +++ b/api_docs/kbn_crypto.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-crypto title: "@kbn/crypto" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/crypto plugin -date: 2023-07-31 +date: 2023-08-01 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 06e1c81177e7b..c9c5764b7ae9a 100644 --- a/api_docs/kbn_crypto_browser.mdx +++ b/api_docs/kbn_crypto_browser.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-crypto-browser title: "@kbn/crypto-browser" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/crypto-browser plugin -date: 2023-07-31 +date: 2023-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/crypto-browser'] --- import kbnCryptoBrowserObj from './kbn_crypto_browser.devdocs.json'; diff --git a/api_docs/kbn_cypress_config.mdx b/api_docs/kbn_cypress_config.mdx index 6fe31f007d0aa..428eef29e3c6e 100644 --- a/api_docs/kbn_cypress_config.mdx +++ b/api_docs/kbn_cypress_config.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-cypress-config title: "@kbn/cypress-config" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/cypress-config plugin -date: 2023-07-31 +date: 2023-08-01 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 cbe071326722c..99524774cb7b0 100644 --- a/api_docs/kbn_data_service.mdx +++ b/api_docs/kbn_data_service.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-data-service title: "@kbn/data-service" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/data-service plugin -date: 2023-07-31 +date: 2023-08-01 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 9e82948987b3b..e42bd14aac323 100644 --- a/api_docs/kbn_datemath.mdx +++ b/api_docs/kbn_datemath.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-datemath title: "@kbn/datemath" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/datemath plugin -date: 2023-07-31 +date: 2023-08-01 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 608d253a0ce7c..005a5cc27f06b 100644 --- a/api_docs/kbn_deeplinks_analytics.mdx +++ b/api_docs/kbn_deeplinks_analytics.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-deeplinks-analytics title: "@kbn/deeplinks-analytics" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/deeplinks-analytics plugin -date: 2023-07-31 +date: 2023-08-01 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 746edbb693ad7..98f082a846d59 100644 --- a/api_docs/kbn_deeplinks_devtools.mdx +++ b/api_docs/kbn_deeplinks_devtools.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-deeplinks-devtools title: "@kbn/deeplinks-devtools" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/deeplinks-devtools plugin -date: 2023-07-31 +date: 2023-08-01 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 85f90ff9f1374..278ff467c344b 100644 --- a/api_docs/kbn_deeplinks_management.mdx +++ b/api_docs/kbn_deeplinks_management.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-deeplinks-management title: "@kbn/deeplinks-management" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/deeplinks-management plugin -date: 2023-07-31 +date: 2023-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/deeplinks-management'] --- import kbnDeeplinksManagementObj from './kbn_deeplinks_management.devdocs.json'; diff --git a/api_docs/kbn_deeplinks_ml.devdocs.json b/api_docs/kbn_deeplinks_ml.devdocs.json index f18294ad8a5be..a1d4f7262f54a 100644 --- a/api_docs/kbn_deeplinks_ml.devdocs.json +++ b/api_docs/kbn_deeplinks_ml.devdocs.json @@ -45,7 +45,7 @@ "label": "DeepLinkId", "description": [], "signature": [ - "\"ml\" | \"ml:nodes\" | \"ml:notifications\" | \"ml:overview\" | \"ml:settings\" | \"ml:dataVisualizer\" | \"ml:anomalyDetection\" | \"ml:anomalyExplorer\" | \"ml:singleMetricViewer\" | \"ml:dataFrameAnalytics\" | \"ml:resultExplorer\" | \"ml:analyticsMap\" | \"ml:aiOps\" | \"ml:logRateAnalysis\" | \"ml:logPatternAnalysis\" | \"ml:changePointDetections\" | \"ml:modelManagement\" | \"ml:nodesOverview\" | \"ml:memoryUsage\" | \"ml:fileUpload\" | \"ml:indexDataVisualizer\" | \"ml:calendarSettings\" | \"ml:filterListsSettings\"" + "\"ml\" | \"ml:nodes\" | \"ml:notifications\" | \"ml:overview\" | \"ml:settings\" | \"ml:dataVisualizer\" | \"ml:anomalyDetection\" | \"ml:anomalyExplorer\" | \"ml:singleMetricViewer\" | \"ml:dataComparison\" | \"ml:dataFrameAnalytics\" | \"ml:resultExplorer\" | \"ml:analyticsMap\" | \"ml:aiOps\" | \"ml:logRateAnalysis\" | \"ml:logPatternAnalysis\" | \"ml:changePointDetections\" | \"ml:modelManagement\" | \"ml:nodesOverview\" | \"ml:memoryUsage\" | \"ml:fileUpload\" | \"ml:indexDataVisualizer\" | \"ml:calendarSettings\" | \"ml:filterListsSettings\"" ], "path": "packages/deeplinks/ml/deep_links.ts", "deprecated": false, @@ -60,7 +60,7 @@ "label": "LinkId", "description": [], "signature": [ - "\"nodes\" | \"notifications\" | \"overview\" | \"settings\" | \"dataVisualizer\" | \"anomalyDetection\" | \"anomalyExplorer\" | \"singleMetricViewer\" | \"dataFrameAnalytics\" | \"resultExplorer\" | \"analyticsMap\" | \"aiOps\" | \"logRateAnalysis\" | \"logPatternAnalysis\" | \"changePointDetections\" | \"modelManagement\" | \"nodesOverview\" | \"memoryUsage\" | \"fileUpload\" | \"indexDataVisualizer\" | \"calendarSettings\" | \"filterListsSettings\"" + "\"nodes\" | \"notifications\" | \"overview\" | \"settings\" | \"dataVisualizer\" | \"anomalyDetection\" | \"anomalyExplorer\" | \"singleMetricViewer\" | \"dataComparison\" | \"dataFrameAnalytics\" | \"resultExplorer\" | \"analyticsMap\" | \"aiOps\" | \"logRateAnalysis\" | \"logPatternAnalysis\" | \"changePointDetections\" | \"modelManagement\" | \"nodesOverview\" | \"memoryUsage\" | \"fileUpload\" | \"indexDataVisualizer\" | \"calendarSettings\" | \"filterListsSettings\"" ], "path": "packages/deeplinks/ml/deep_links.ts", "deprecated": false, diff --git a/api_docs/kbn_deeplinks_ml.mdx b/api_docs/kbn_deeplinks_ml.mdx index a2c68a4edafbc..1674b98321c89 100644 --- a/api_docs/kbn_deeplinks_ml.mdx +++ b/api_docs/kbn_deeplinks_ml.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-deeplinks-ml title: "@kbn/deeplinks-ml" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/deeplinks-ml plugin -date: 2023-07-31 +date: 2023-08-01 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 9f168c34df36e..896b2b6516362 100644 --- a/api_docs/kbn_deeplinks_observability.mdx +++ b/api_docs/kbn_deeplinks_observability.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-deeplinks-observability title: "@kbn/deeplinks-observability" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/deeplinks-observability plugin -date: 2023-07-31 +date: 2023-08-01 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 27dea86b6c025..9288a04244286 100644 --- a/api_docs/kbn_deeplinks_search.mdx +++ b/api_docs/kbn_deeplinks_search.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-deeplinks-search title: "@kbn/deeplinks-search" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/deeplinks-search plugin -date: 2023-07-31 +date: 2023-08-01 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 4761faab669fd..2b6b6085aa1b2 100644 --- a/api_docs/kbn_default_nav_analytics.mdx +++ b/api_docs/kbn_default_nav_analytics.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-default-nav-analytics title: "@kbn/default-nav-analytics" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/default-nav-analytics plugin -date: 2023-07-31 +date: 2023-08-01 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 0f5d33823fd3e..3b582d9999d3a 100644 --- a/api_docs/kbn_default_nav_devtools.mdx +++ b/api_docs/kbn_default_nav_devtools.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-default-nav-devtools title: "@kbn/default-nav-devtools" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/default-nav-devtools plugin -date: 2023-07-31 +date: 2023-08-01 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 7d77b97f9621a..17ee3f122ac32 100644 --- a/api_docs/kbn_default_nav_management.mdx +++ b/api_docs/kbn_default_nav_management.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-default-nav-management title: "@kbn/default-nav-management" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/default-nav-management plugin -date: 2023-07-31 +date: 2023-08-01 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 fb9f50b44d0e7..92883cff938db 100644 --- a/api_docs/kbn_default_nav_ml.mdx +++ b/api_docs/kbn_default_nav_ml.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-default-nav-ml title: "@kbn/default-nav-ml" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/default-nav-ml plugin -date: 2023-07-31 +date: 2023-08-01 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 e4de2824ede74..0962b4c638671 100644 --- a/api_docs/kbn_dev_cli_errors.mdx +++ b/api_docs/kbn_dev_cli_errors.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-dev-cli-errors title: "@kbn/dev-cli-errors" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/dev-cli-errors plugin -date: 2023-07-31 +date: 2023-08-01 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 fafa7c974a1dd..e870025b75ce6 100644 --- a/api_docs/kbn_dev_cli_runner.mdx +++ b/api_docs/kbn_dev_cli_runner.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-dev-cli-runner title: "@kbn/dev-cli-runner" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/dev-cli-runner plugin -date: 2023-07-31 +date: 2023-08-01 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 5557ede7031eb..994acd4adb437 100644 --- a/api_docs/kbn_dev_proc_runner.mdx +++ b/api_docs/kbn_dev_proc_runner.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-dev-proc-runner title: "@kbn/dev-proc-runner" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/dev-proc-runner plugin -date: 2023-07-31 +date: 2023-08-01 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 8d97d5751c9f6..1533c4e9b4f2c 100644 --- a/api_docs/kbn_dev_utils.mdx +++ b/api_docs/kbn_dev_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-dev-utils title: "@kbn/dev-utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/dev-utils plugin -date: 2023-07-31 +date: 2023-08-01 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 e1f9579413a47..6a8ddabb3a995 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: 2023-07-31 +date: 2023-08-01 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 119385598358d..78457c82a664e 100644 --- a/api_docs/kbn_doc_links.mdx +++ b/api_docs/kbn_doc_links.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-doc-links title: "@kbn/doc-links" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/doc-links plugin -date: 2023-07-31 +date: 2023-08-01 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 4dcb2b257d072..41f63294b180c 100644 --- a/api_docs/kbn_docs_utils.mdx +++ b/api_docs/kbn_docs_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-docs-utils title: "@kbn/docs-utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/docs-utils plugin -date: 2023-07-31 +date: 2023-08-01 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 1e57ab3cb3cdd..268846d7a342b 100644 --- a/api_docs/kbn_dom_drag_drop.mdx +++ b/api_docs/kbn_dom_drag_drop.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-dom-drag-drop title: "@kbn/dom-drag-drop" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/dom-drag-drop plugin -date: 2023-07-31 +date: 2023-08-01 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 2e9f71fab1a47..2eab72d4c6f9c 100644 --- a/api_docs/kbn_ebt_tools.mdx +++ b/api_docs/kbn_ebt_tools.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ebt-tools title: "@kbn/ebt-tools" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ebt-tools plugin -date: 2023-07-31 +date: 2023-08-01 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 5490603969a61..9d21226ddb875 100644 --- a/api_docs/kbn_ecs.mdx +++ b/api_docs/kbn_ecs.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ecs title: "@kbn/ecs" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ecs plugin -date: 2023-07-31 +date: 2023-08-01 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 475fc14b6e5d4..f97272da172e3 100644 --- a/api_docs/kbn_ecs_data_quality_dashboard.mdx +++ b/api_docs/kbn_ecs_data_quality_dashboard.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ecs-data-quality-dashboard title: "@kbn/ecs-data-quality-dashboard" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ecs-data-quality-dashboard plugin -date: 2023-07-31 +date: 2023-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ecs-data-quality-dashboard'] --- import kbnEcsDataQualityDashboardObj from './kbn_ecs_data_quality_dashboard.devdocs.json'; diff --git a/api_docs/kbn_elastic_assistant.mdx b/api_docs/kbn_elastic_assistant.mdx index 5c573316723c6..da93a42b2dae1 100644 --- a/api_docs/kbn_elastic_assistant.mdx +++ b/api_docs/kbn_elastic_assistant.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-elastic-assistant title: "@kbn/elastic-assistant" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/elastic-assistant plugin -date: 2023-07-31 +date: 2023-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/elastic-assistant'] --- import kbnElasticAssistantObj from './kbn_elastic_assistant.devdocs.json'; diff --git a/api_docs/kbn_es.mdx b/api_docs/kbn_es.mdx index 7956acca26108..5c7b20217d161 100644 --- a/api_docs/kbn_es.mdx +++ b/api_docs/kbn_es.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-es title: "@kbn/es" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/es plugin -date: 2023-07-31 +date: 2023-08-01 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 c97ccb6258977..0668d140e1a4c 100644 --- a/api_docs/kbn_es_archiver.mdx +++ b/api_docs/kbn_es_archiver.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-es-archiver title: "@kbn/es-archiver" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/es-archiver plugin -date: 2023-07-31 +date: 2023-08-01 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 ef74530f59fe7..be908605f28eb 100644 --- a/api_docs/kbn_es_errors.mdx +++ b/api_docs/kbn_es_errors.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-es-errors title: "@kbn/es-errors" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/es-errors plugin -date: 2023-07-31 +date: 2023-08-01 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 a92afa2158eb9..3f6842c35b030 100644 --- a/api_docs/kbn_es_query.mdx +++ b/api_docs/kbn_es_query.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-es-query title: "@kbn/es-query" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/es-query plugin -date: 2023-07-31 +date: 2023-08-01 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 f560106fc12c0..06a5bbe57c5aa 100644 --- a/api_docs/kbn_es_types.mdx +++ b/api_docs/kbn_es_types.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-es-types title: "@kbn/es-types" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/es-types plugin -date: 2023-07-31 +date: 2023-08-01 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 127136bb4d69d..448641114935e 100644 --- a/api_docs/kbn_eslint_plugin_imports.mdx +++ b/api_docs/kbn_eslint_plugin_imports.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-eslint-plugin-imports title: "@kbn/eslint-plugin-imports" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/eslint-plugin-imports plugin -date: 2023-07-31 +date: 2023-08-01 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 8f297d2e22dfb..7f2af70961e8c 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: 2023-07-31 +date: 2023-08-01 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 2a68507e4e854..3216189a2d061 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: 2023-07-31 +date: 2023-08-01 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 6d0df22d37edb..eb25a6c38a65e 100644 --- a/api_docs/kbn_expandable_flyout.mdx +++ b/api_docs/kbn_expandable_flyout.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-expandable-flyout title: "@kbn/expandable-flyout" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/expandable-flyout plugin -date: 2023-07-31 +date: 2023-08-01 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 1c1bf4dda050a..66eb49b4218c6 100644 --- a/api_docs/kbn_field_types.mdx +++ b/api_docs/kbn_field_types.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-field-types title: "@kbn/field-types" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/field-types plugin -date: 2023-07-31 +date: 2023-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/field-types'] --- import kbnFieldTypesObj from './kbn_field_types.devdocs.json'; diff --git a/api_docs/kbn_find_used_node_modules.mdx b/api_docs/kbn_find_used_node_modules.mdx index 491e9ecf355a2..cd5b1e24b6d35 100644 --- a/api_docs/kbn_find_used_node_modules.mdx +++ b/api_docs/kbn_find_used_node_modules.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-find-used-node-modules title: "@kbn/find-used-node-modules" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/find-used-node-modules plugin -date: 2023-07-31 +date: 2023-08-01 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 4900c24c8f107..3db303a84f9e1 100644 --- a/api_docs/kbn_ftr_common_functional_services.mdx +++ b/api_docs/kbn_ftr_common_functional_services.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ftr-common-functional-services title: "@kbn/ftr-common-functional-services" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ftr-common-functional-services plugin -date: 2023-07-31 +date: 2023-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ftr-common-functional-services'] --- import kbnFtrCommonFunctionalServicesObj from './kbn_ftr_common_functional_services.devdocs.json'; diff --git a/api_docs/kbn_generate.mdx b/api_docs/kbn_generate.mdx index b78e7eaa51448..c9b21f38e950c 100644 --- a/api_docs/kbn_generate.mdx +++ b/api_docs/kbn_generate.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-generate title: "@kbn/generate" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/generate plugin -date: 2023-07-31 +date: 2023-08-01 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 a10ccfb83e71c..30e12b739a4aa 100644 --- a/api_docs/kbn_generate_console_definitions.mdx +++ b/api_docs/kbn_generate_console_definitions.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-generate-console-definitions title: "@kbn/generate-console-definitions" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/generate-console-definitions plugin -date: 2023-07-31 +date: 2023-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/generate-console-definitions'] --- import kbnGenerateConsoleDefinitionsObj from './kbn_generate_console_definitions.devdocs.json'; diff --git a/api_docs/kbn_generate_csv.mdx b/api_docs/kbn_generate_csv.mdx index 3465ac1a190bf..33cdf65d3dac3 100644 --- a/api_docs/kbn_generate_csv.mdx +++ b/api_docs/kbn_generate_csv.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-generate-csv title: "@kbn/generate-csv" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/generate-csv plugin -date: 2023-07-31 +date: 2023-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/generate-csv'] --- import kbnGenerateCsvObj from './kbn_generate_csv.devdocs.json'; diff --git a/api_docs/kbn_generate_csv_types.mdx b/api_docs/kbn_generate_csv_types.mdx index e263698b244fc..347fc28539af0 100644 --- a/api_docs/kbn_generate_csv_types.mdx +++ b/api_docs/kbn_generate_csv_types.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-generate-csv-types title: "@kbn/generate-csv-types" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/generate-csv-types plugin -date: 2023-07-31 +date: 2023-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/generate-csv-types'] --- import kbnGenerateCsvTypesObj from './kbn_generate_csv_types.devdocs.json'; diff --git a/api_docs/kbn_guided_onboarding.mdx b/api_docs/kbn_guided_onboarding.mdx index 062e00dc98129..8596f148851dd 100644 --- a/api_docs/kbn_guided_onboarding.mdx +++ b/api_docs/kbn_guided_onboarding.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-guided-onboarding title: "@kbn/guided-onboarding" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/guided-onboarding plugin -date: 2023-07-31 +date: 2023-08-01 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 03aca50077a41..7b2658ebc8e15 100644 --- a/api_docs/kbn_handlebars.mdx +++ b/api_docs/kbn_handlebars.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-handlebars title: "@kbn/handlebars" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/handlebars plugin -date: 2023-07-31 +date: 2023-08-01 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 a5fc623b1d7ec..3386cef166c5a 100644 --- a/api_docs/kbn_hapi_mocks.mdx +++ b/api_docs/kbn_hapi_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-hapi-mocks title: "@kbn/hapi-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/hapi-mocks plugin -date: 2023-07-31 +date: 2023-08-01 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 f1d84c3553938..1f8d2bcb6b72a 100644 --- a/api_docs/kbn_health_gateway_server.mdx +++ b/api_docs/kbn_health_gateway_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-health-gateway-server title: "@kbn/health-gateway-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/health-gateway-server plugin -date: 2023-07-31 +date: 2023-08-01 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 332fbcd87a6d6..f0c4f1631ae0b 100644 --- a/api_docs/kbn_home_sample_data_card.mdx +++ b/api_docs/kbn_home_sample_data_card.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-home-sample-data-card title: "@kbn/home-sample-data-card" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/home-sample-data-card plugin -date: 2023-07-31 +date: 2023-08-01 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 6a456bfd0d3d7..d58ec14c5630e 100644 --- a/api_docs/kbn_home_sample_data_tab.mdx +++ b/api_docs/kbn_home_sample_data_tab.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-home-sample-data-tab title: "@kbn/home-sample-data-tab" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/home-sample-data-tab plugin -date: 2023-07-31 +date: 2023-08-01 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 ab9de7a027c75..7d36a0abd22a7 100644 --- a/api_docs/kbn_i18n.mdx +++ b/api_docs/kbn_i18n.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-i18n title: "@kbn/i18n" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/i18n plugin -date: 2023-07-31 +date: 2023-08-01 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 e98187ffd5a9c..8a78ed6340dba 100644 --- a/api_docs/kbn_i18n_react.mdx +++ b/api_docs/kbn_i18n_react.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-i18n-react title: "@kbn/i18n-react" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/i18n-react plugin -date: 2023-07-31 +date: 2023-08-01 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 ed23bed8fc7d2..4d80da348d1b4 100644 --- a/api_docs/kbn_import_resolver.mdx +++ b/api_docs/kbn_import_resolver.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-import-resolver title: "@kbn/import-resolver" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/import-resolver plugin -date: 2023-07-31 +date: 2023-08-01 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 9a622437b241a..ee495030bed4b 100644 --- a/api_docs/kbn_infra_forge.mdx +++ b/api_docs/kbn_infra_forge.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-infra-forge title: "@kbn/infra-forge" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/infra-forge plugin -date: 2023-07-31 +date: 2023-08-01 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 2cf5fb41ed51b..134d43fa19638 100644 --- a/api_docs/kbn_interpreter.mdx +++ b/api_docs/kbn_interpreter.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-interpreter title: "@kbn/interpreter" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/interpreter plugin -date: 2023-07-31 +date: 2023-08-01 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 fe2e8832ec312..e91f1c02753be 100644 --- a/api_docs/kbn_io_ts_utils.mdx +++ b/api_docs/kbn_io_ts_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-io-ts-utils title: "@kbn/io-ts-utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/io-ts-utils plugin -date: 2023-07-31 +date: 2023-08-01 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 8d6f3110b86c5..67146bb9ff8a1 100644 --- a/api_docs/kbn_jest_serializers.mdx +++ b/api_docs/kbn_jest_serializers.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-jest-serializers title: "@kbn/jest-serializers" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/jest-serializers plugin -date: 2023-07-31 +date: 2023-08-01 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 bc0f3b71e620f..f7609518c7ef0 100644 --- a/api_docs/kbn_journeys.mdx +++ b/api_docs/kbn_journeys.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-journeys title: "@kbn/journeys" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/journeys plugin -date: 2023-07-31 +date: 2023-08-01 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 4234ae1aa0333..ac345ded39e10 100644 --- a/api_docs/kbn_json_ast.mdx +++ b/api_docs/kbn_json_ast.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-json-ast title: "@kbn/json-ast" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/json-ast plugin -date: 2023-07-31 +date: 2023-08-01 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 716936a422dd2..7446a0eda8ec2 100644 --- a/api_docs/kbn_kibana_manifest_schema.mdx +++ b/api_docs/kbn_kibana_manifest_schema.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-kibana-manifest-schema title: "@kbn/kibana-manifest-schema" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/kibana-manifest-schema plugin -date: 2023-07-31 +date: 2023-08-01 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 6dc159c567296..2971e9f5028f9 100644 --- a/api_docs/kbn_language_documentation_popover.mdx +++ b/api_docs/kbn_language_documentation_popover.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-language-documentation-popover title: "@kbn/language-documentation-popover" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/language-documentation-popover plugin -date: 2023-07-31 +date: 2023-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/language-documentation-popover'] --- import kbnLanguageDocumentationPopoverObj from './kbn_language_documentation_popover.devdocs.json'; diff --git a/api_docs/kbn_logging.mdx b/api_docs/kbn_logging.mdx index c0efc742b5120..34cf4cb57ef38 100644 --- a/api_docs/kbn_logging.mdx +++ b/api_docs/kbn_logging.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-logging title: "@kbn/logging" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/logging plugin -date: 2023-07-31 +date: 2023-08-01 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 4eb4ba6195c18..632e764397d61 100644 --- a/api_docs/kbn_logging_mocks.mdx +++ b/api_docs/kbn_logging_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-logging-mocks title: "@kbn/logging-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/logging-mocks plugin -date: 2023-07-31 +date: 2023-08-01 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 2a1955f657028..b7ea95ac6e015 100644 --- a/api_docs/kbn_managed_vscode_config.mdx +++ b/api_docs/kbn_managed_vscode_config.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-managed-vscode-config title: "@kbn/managed-vscode-config" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/managed-vscode-config plugin -date: 2023-07-31 +date: 2023-08-01 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 39d409c73ae24..92a545f6b3435 100644 --- a/api_docs/kbn_management_cards_navigation.mdx +++ b/api_docs/kbn_management_cards_navigation.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-management-cards-navigation title: "@kbn/management-cards-navigation" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/management-cards-navigation plugin -date: 2023-07-31 +date: 2023-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/management-cards-navigation'] --- import kbnManagementCardsNavigationObj from './kbn_management_cards_navigation.devdocs.json'; diff --git a/api_docs/kbn_management_storybook_config.mdx b/api_docs/kbn_management_storybook_config.mdx index ae099feff1fc9..3ba5db3a2370a 100644 --- a/api_docs/kbn_management_storybook_config.mdx +++ b/api_docs/kbn_management_storybook_config.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-management-storybook-config title: "@kbn/management-storybook-config" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/management-storybook-config plugin -date: 2023-07-31 +date: 2023-08-01 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 d2e76d06d4f8e..0eeba1091ad1c 100644 --- a/api_docs/kbn_mapbox_gl.mdx +++ b/api_docs/kbn_mapbox_gl.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-mapbox-gl title: "@kbn/mapbox-gl" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/mapbox-gl plugin -date: 2023-07-31 +date: 2023-08-01 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 5b36954f07feb..559f51a52e842 100644 --- a/api_docs/kbn_maps_vector_tile_utils.mdx +++ b/api_docs/kbn_maps_vector_tile_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-maps-vector-tile-utils title: "@kbn/maps-vector-tile-utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/maps-vector-tile-utils plugin -date: 2023-07-31 +date: 2023-08-01 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 0fe007086e266..595e8ee26f6b7 100644 --- a/api_docs/kbn_ml_agg_utils.mdx +++ b/api_docs/kbn_ml_agg_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ml-agg-utils title: "@kbn/ml-agg-utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ml-agg-utils plugin -date: 2023-07-31 +date: 2023-08-01 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 155f817302e94..dd40f1f8709dd 100644 --- a/api_docs/kbn_ml_anomaly_utils.mdx +++ b/api_docs/kbn_ml_anomaly_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ml-anomaly-utils title: "@kbn/ml-anomaly-utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ml-anomaly-utils plugin -date: 2023-07-31 +date: 2023-08-01 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 797a574be76e8..6d867f2269a02 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: 2023-07-31 +date: 2023-08-01 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_data_frame_analytics_utils.devdocs.json b/api_docs/kbn_ml_data_frame_analytics_utils.devdocs.json index 8c6a7440e1e09..c306defc55a5c 100644 --- a/api_docs/kbn_ml_data_frame_analytics_utils.devdocs.json +++ b/api_docs/kbn_ml_data_frame_analytics_utils.devdocs.json @@ -758,7 +758,7 @@ "\nInner data of the node element" ], "signature": [ - "{ id: string; label: string; type: string; analysisType?: string | undefined; }" + "{ id: string; label: string; type: string; analysisType?: string | undefined; isRoot?: boolean | undefined; }" ], "path": "x-pack/packages/ml/data_frame_analytics_utils/src/types.ts", "deprecated": false, @@ -2417,7 +2417,7 @@ "\nUnion type of JOB_MAP_NODE_TYPES" ], "signature": [ - "\"index\" | \"transform\" | \"analytics\" | \"trainedModel\"" + "\"index\" | \"transform\" | \"analytics\" | \"trainedModel\" | \"ingestPipeline\"" ], "path": "x-pack/packages/ml/data_frame_analytics_utils/src/constants.ts", "deprecated": false, @@ -2742,7 +2742,7 @@ "\nCustom enum for job map node types for the DFA map view" ], "signature": [ - "{ readonly ANALYTICS: \"analytics\"; readonly TRANSFORM: \"transform\"; readonly INDEX: \"index\"; readonly TRAINED_MODEL: \"trainedModel\"; }" + "{ readonly ANALYTICS: \"analytics\"; readonly TRANSFORM: \"transform\"; readonly INDEX: \"index\"; readonly TRAINED_MODEL: \"trainedModel\"; readonly INGEST_PIPELINE: \"ingestPipeline\"; }" ], "path": "x-pack/packages/ml/data_frame_analytics_utils/src/constants.ts", "deprecated": false, diff --git a/api_docs/kbn_ml_data_frame_analytics_utils.mdx b/api_docs/kbn_ml_data_frame_analytics_utils.mdx index a37a95fbdc26f..55e67ae1d05c3 100644 --- a/api_docs/kbn_ml_data_frame_analytics_utils.mdx +++ b/api_docs/kbn_ml_data_frame_analytics_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ml-data-frame-analytics-utils title: "@kbn/ml-data-frame-analytics-utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ml-data-frame-analytics-utils plugin -date: 2023-07-31 +date: 2023-08-01 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 1a9adc84c5826..149325659ee8e 100644 --- a/api_docs/kbn_ml_data_grid.mdx +++ b/api_docs/kbn_ml_data_grid.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ml-data-grid title: "@kbn/ml-data-grid" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ml-data-grid plugin -date: 2023-07-31 +date: 2023-08-01 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 b5d68b02632b2..d7f07b44c90b4 100644 --- a/api_docs/kbn_ml_date_picker.mdx +++ b/api_docs/kbn_ml_date_picker.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ml-date-picker title: "@kbn/ml-date-picker" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ml-date-picker plugin -date: 2023-07-31 +date: 2023-08-01 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 25b408e9fc39a..1df84dc84d30e 100644 --- a/api_docs/kbn_ml_date_utils.mdx +++ b/api_docs/kbn_ml_date_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ml-date-utils title: "@kbn/ml-date-utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ml-date-utils plugin -date: 2023-07-31 +date: 2023-08-01 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 eb480e2f0e956..b9e9962b53652 100644 --- a/api_docs/kbn_ml_error_utils.mdx +++ b/api_docs/kbn_ml_error_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ml-error-utils title: "@kbn/ml-error-utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ml-error-utils plugin -date: 2023-07-31 +date: 2023-08-01 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.devdocs.json b/api_docs/kbn_ml_in_memory_table.devdocs.json new file mode 100644 index 0000000000000..4f21249865b51 --- /dev/null +++ b/api_docs/kbn_ml_in_memory_table.devdocs.json @@ -0,0 +1,235 @@ +{ + "id": "@kbn/ml-in-memory-table", + "client": { + "classes": [], + "functions": [], + "interfaces": [], + "enums": [], + "misc": [], + "objects": [] + }, + "server": { + "classes": [], + "functions": [], + "interfaces": [], + "enums": [], + "misc": [], + "objects": [] + }, + "common": { + "classes": [], + "functions": [ + { + "parentPluginId": "@kbn/ml-in-memory-table", + "id": "def-common.useTableState", + "type": "Function", + "tags": [], + "label": "useTableState", + "description": [ + "\nHook to help with managing the pagination and sorting for EuiInMemoryTable" + ], + "signature": [ + "(items: T[], initialSortField: string, initialSortDirection: \"asc\" | \"desc\") => { onTableChange: ({ page, sort }: ", + "Criteria", + ") => void; pagination: ", + "Pagination", + "; sorting: { sort: { field: string; direction: ", + "Direction", + "; }; }; setPageIndex: React.Dispatch>; }" + ], + "path": "x-pack/packages/ml/in_memory_table/hooks/use_table_state.ts", + "deprecated": false, + "trackAdoption": false, + "children": [ + { + "parentPluginId": "@kbn/ml-in-memory-table", + "id": "def-common.useTableState.$1", + "type": "Array", + "tags": [], + "label": "items", + "description": [ + "- data to show in the table" + ], + "signature": [ + "T[]" + ], + "path": "x-pack/packages/ml/in_memory_table/hooks/use_table_state.ts", + "deprecated": false, + "trackAdoption": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/ml-in-memory-table", + "id": "def-common.useTableState.$2", + "type": "string", + "tags": [], + "label": "initialSortField", + "description": [ + "- field name to sort by default" + ], + "signature": [ + "string" + ], + "path": "x-pack/packages/ml/in_memory_table/hooks/use_table_state.ts", + "deprecated": false, + "trackAdoption": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/ml-in-memory-table", + "id": "def-common.useTableState.$3", + "type": "CompoundType", + "tags": [], + "label": "initialSortDirection", + "description": [ + "- default to 'asc'" + ], + "signature": [ + "\"asc\" | \"desc\"" + ], + "path": "x-pack/packages/ml/in_memory_table/hooks/use_table_state.ts", + "deprecated": false, + "trackAdoption": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + } + ], + "interfaces": [ + { + "parentPluginId": "@kbn/ml-in-memory-table", + "id": "def-common.UseTableState", + "type": "Interface", + "tags": [], + "label": "UseTableState", + "description": [ + "\nReturned type for useTableState hook" + ], + "signature": [ + { + "pluginId": "@kbn/ml-in-memory-table", + "scope": "common", + "docId": "kibKbnMlInMemoryTablePluginApi", + "section": "def-common.UseTableState", + "text": "UseTableState" + }, + "" + ], + "path": "x-pack/packages/ml/in_memory_table/hooks/use_table_state.ts", + "deprecated": false, + "trackAdoption": false, + "children": [ + { + "parentPluginId": "@kbn/ml-in-memory-table", + "id": "def-common.UseTableState.onTableChange", + "type": "Function", + "tags": [], + "label": "onTableChange", + "description": [ + "\nCallback function which gets called whenever the pagination or sorting state of the table changed" + ], + "signature": [ + "({ page, sort }: ", + "Criteria", + ") => void" + ], + "path": "x-pack/packages/ml/in_memory_table/hooks/use_table_state.ts", + "deprecated": false, + "trackAdoption": false, + "returnComment": [], + "children": [ + { + "parentPluginId": "@kbn/ml-in-memory-table", + "id": "def-common.UseTableState.onTableChange.$1", + "type": "Object", + "tags": [], + "label": "__0", + "description": [], + "signature": [ + "Criteria", + "" + ], + "path": "node_modules/@elastic/eui/eui.d.ts", + "deprecated": false, + "trackAdoption": false + } + ] + }, + { + "parentPluginId": "@kbn/ml-in-memory-table", + "id": "def-common.UseTableState.pagination", + "type": "Object", + "tags": [], + "label": "pagination", + "description": [ + "\nPagination object which contains pageIndex, pageSize" + ], + "signature": [ + "Pagination" + ], + "path": "x-pack/packages/ml/in_memory_table/hooks/use_table_state.ts", + "deprecated": false, + "trackAdoption": false + }, + { + "parentPluginId": "@kbn/ml-in-memory-table", + "id": "def-common.UseTableState.sorting", + "type": "Object", + "tags": [], + "label": "sorting", + "description": [ + "\nSort field and sort direction" + ], + "signature": [ + "{ sort: { field: string; direction: ", + "Direction", + "; }; }" + ], + "path": "x-pack/packages/ml/in_memory_table/hooks/use_table_state.ts", + "deprecated": false, + "trackAdoption": false + }, + { + "parentPluginId": "@kbn/ml-in-memory-table", + "id": "def-common.UseTableState.setPageIndex", + "type": "Function", + "tags": [], + "label": "setPageIndex", + "description": [ + "\nsetPageIndex setter function which updates page index" + ], + "signature": [ + "(value: React.SetStateAction) => void" + ], + "path": "x-pack/packages/ml/in_memory_table/hooks/use_table_state.ts", + "deprecated": false, + "trackAdoption": false, + "returnComment": [], + "children": [ + { + "parentPluginId": "@kbn/ml-in-memory-table", + "id": "def-common.UseTableState.setPageIndex.$1", + "type": "Uncategorized", + "tags": [], + "label": "value", + "description": [], + "signature": [ + "A" + ], + "path": "node_modules/@types/react/index.d.ts", + "deprecated": false, + "trackAdoption": false + } + ] + } + ], + "initialIsOpen": false + } + ], + "enums": [], + "misc": [], + "objects": [] + } +} \ No newline at end of file diff --git a/api_docs/kbn_ml_in_memory_table.mdx b/api_docs/kbn_ml_in_memory_table.mdx new file mode 100644 index 0000000000000..78a39a2f638fd --- /dev/null +++ b/api_docs/kbn_ml_in_memory_table.mdx @@ -0,0 +1,33 @@ +--- +#### +#### This document is auto-generated and is meant to be viewed inside our experimental, new docs system. +#### Reach out in #docs-engineering for more info. +#### +id: kibKbnMlInMemoryTablePluginApi +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: 2023-08-01 +tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ml-in-memory-table'] +--- +import kbnMlInMemoryTableObj from './kbn_ml_in_memory_table.devdocs.json'; + + + +Contact [@elastic/ml-ui](https://github.com/orgs/elastic/teams/ml-ui) for questions regarding this plugin. + +**Code health stats** + +| Public API count | Any count | Items lacking comments | Missing exports | +|-------------------|-----------|------------------------|-----------------| +| 11 | 0 | 0 | 0 | + +## Common + +### Functions + + +### Interfaces + + diff --git a/api_docs/kbn_ml_is_defined.mdx b/api_docs/kbn_ml_is_defined.mdx index 0c6640a5a968b..f600bc26a7e0d 100644 --- a/api_docs/kbn_ml_is_defined.mdx +++ b/api_docs/kbn_ml_is_defined.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ml-is-defined title: "@kbn/ml-is-defined" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ml-is-defined plugin -date: 2023-07-31 +date: 2023-08-01 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 3ee78ec32ac56..3044186a58380 100644 --- a/api_docs/kbn_ml_is_populated_object.mdx +++ b/api_docs/kbn_ml_is_populated_object.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ml-is-populated-object title: "@kbn/ml-is-populated-object" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ml-is-populated-object plugin -date: 2023-07-31 +date: 2023-08-01 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 6b074e1a3cb3b..061d27ad153d3 100644 --- a/api_docs/kbn_ml_kibana_theme.mdx +++ b/api_docs/kbn_ml_kibana_theme.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ml-kibana-theme title: "@kbn/ml-kibana-theme" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ml-kibana-theme plugin -date: 2023-07-31 +date: 2023-08-01 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 fffd896e1e58e..cdfd27af14c12 100644 --- a/api_docs/kbn_ml_local_storage.mdx +++ b/api_docs/kbn_ml_local_storage.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ml-local-storage title: "@kbn/ml-local-storage" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ml-local-storage plugin -date: 2023-07-31 +date: 2023-08-01 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 9bcd59ba7b563..ba26035c94c5b 100644 --- a/api_docs/kbn_ml_nested_property.mdx +++ b/api_docs/kbn_ml_nested_property.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ml-nested-property title: "@kbn/ml-nested-property" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ml-nested-property plugin -date: 2023-07-31 +date: 2023-08-01 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 b71c168abcada..41be59479c723 100644 --- a/api_docs/kbn_ml_number_utils.mdx +++ b/api_docs/kbn_ml_number_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ml-number-utils title: "@kbn/ml-number-utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ml-number-utils plugin -date: 2023-07-31 +date: 2023-08-01 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.devdocs.json b/api_docs/kbn_ml_query_utils.devdocs.json index 15a6380de170a..b536c0d173974 100644 --- a/api_docs/kbn_ml_query_utils.devdocs.json +++ b/api_docs/kbn_ml_query_utils.devdocs.json @@ -155,6 +155,26 @@ ], "initialIsOpen": false }, + { + "parentPluginId": "@kbn/ml-query-utils", + "id": "def-common.getDefaultDSLQuery", + "type": "Function", + "tags": [], + "label": "getDefaultDSLQuery", + "description": [ + "\nDefault DSL query which matches all the results" + ], + "signature": [ + "() => ", + "QueryDslQueryContainer" + ], + "path": "x-pack/packages/ml/query_utils/src/get_default_query.ts", + "deprecated": false, + "trackAdoption": false, + "children": [], + "returnComment": [], + "initialIsOpen": false + }, { "parentPluginId": "@kbn/ml-query-utils", "id": "def-common.getSafeAggregationName", @@ -214,7 +234,25 @@ ], "interfaces": [], "enums": [], - "misc": [], + "misc": [ + { + "parentPluginId": "@kbn/ml-query-utils", + "id": "def-common.SearchQueryLanguage", + "type": "Type", + "tags": [], + "label": "SearchQueryLanguage", + "description": [ + "\nType for SearchQueryLanguage" + ], + "signature": [ + "\"kuery\" | \"lucene\"" + ], + "path": "x-pack/packages/ml/query_utils/src/types.ts", + "deprecated": false, + "trackAdoption": false, + "initialIsOpen": false + } + ], "objects": [ { "parentPluginId": "@kbn/ml-query-utils", @@ -236,6 +274,23 @@ "deprecated": false, "trackAdoption": false, "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/ml-query-utils", + "id": "def-common.SEARCH_QUERY_LANGUAGE", + "type": "Object", + "tags": [], + "label": "SEARCH_QUERY_LANGUAGE", + "description": [ + "\nConstant for kuery and lucene string" + ], + "signature": [ + "{ readonly KUERY: \"kuery\"; readonly LUCENE: \"lucene\"; }" + ], + "path": "x-pack/packages/ml/query_utils/src/types.ts", + "deprecated": false, + "trackAdoption": false, + "initialIsOpen": false } ] } diff --git a/api_docs/kbn_ml_query_utils.mdx b/api_docs/kbn_ml_query_utils.mdx index 468453744b27f..e36f784849798 100644 --- a/api_docs/kbn_ml_query_utils.mdx +++ b/api_docs/kbn_ml_query_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ml-query-utils title: "@kbn/ml-query-utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ml-query-utils plugin -date: 2023-07-31 +date: 2023-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ml-query-utils'] --- import kbnMlQueryUtilsObj from './kbn_ml_query_utils.devdocs.json'; @@ -21,7 +21,7 @@ Contact [@elastic/ml-ui](https://github.com/orgs/elastic/teams/ml-ui) for questi | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 11 | 0 | 0 | 0 | +| 14 | 0 | 0 | 0 | ## Common @@ -31,3 +31,6 @@ Contact [@elastic/ml-ui](https://github.com/orgs/elastic/teams/ml-ui) for questi ### Functions +### Consts, variables and types + + diff --git a/api_docs/kbn_ml_random_sampler_utils.devdocs.json b/api_docs/kbn_ml_random_sampler_utils.devdocs.json index d34965780d9b0..857500e0b30e7 100644 --- a/api_docs/kbn_ml_random_sampler_utils.devdocs.json +++ b/api_docs/kbn_ml_random_sampler_utils.devdocs.json @@ -17,7 +17,423 @@ "objects": [] }, "common": { - "classes": [], + "classes": [ + { + "parentPluginId": "@kbn/ml-random-sampler-utils", + "id": "def-common.RandomSampler", + "type": "Class", + "tags": [], + "label": "RandomSampler", + "description": [ + "\nClass that helps manage random sampling settings\nAutomatically calculates the probability if only total doc count is provided\nElse, use the probability that was explicitly set" + ], + "path": "x-pack/packages/ml/random_sampler_utils/src/random_sampler_manager.ts", + "deprecated": false, + "trackAdoption": false, + "children": [ + { + "parentPluginId": "@kbn/ml-random-sampler-utils", + "id": "def-common.RandomSampler.Unnamed", + "type": "Function", + "tags": [], + "label": "Constructor", + "description": [ + "\nInitial values" + ], + "signature": [ + "any" + ], + "path": "x-pack/packages/ml/random_sampler_utils/src/random_sampler_manager.ts", + "deprecated": false, + "trackAdoption": false, + "children": [ + { + "parentPluginId": "@kbn/ml-random-sampler-utils", + "id": "def-common.RandomSampler.Unnamed.$1", + "type": "CompoundType", + "tags": [], + "label": "randomSamplerMode", + "description": [ + "- random sampler mode" + ], + "signature": [ + { + "pluginId": "@kbn/ml-random-sampler-utils", + "scope": "common", + "docId": "kibKbnMlRandomSamplerUtilsPluginApi", + "section": "def-common.RandomSamplerOption", + "text": "RandomSamplerOption" + } + ], + "path": "x-pack/packages/ml/random_sampler_utils/src/random_sampler_manager.ts", + "deprecated": false, + "trackAdoption": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/ml-random-sampler-utils", + "id": "def-common.RandomSampler.Unnamed.$2", + "type": "Function", + "tags": [], + "label": "setRandomSamplerMode", + "description": [ + "- callback to be called when random sampler mode is set" + ], + "signature": [ + "(mode: ", + { + "pluginId": "@kbn/ml-random-sampler-utils", + "scope": "common", + "docId": "kibKbnMlRandomSamplerUtilsPluginApi", + "section": "def-common.RandomSamplerOption", + "text": "RandomSamplerOption" + }, + ") => void" + ], + "path": "x-pack/packages/ml/random_sampler_utils/src/random_sampler_manager.ts", + "deprecated": false, + "trackAdoption": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/ml-random-sampler-utils", + "id": "def-common.RandomSampler.Unnamed.$3", + "type": "CompoundType", + "tags": [], + "label": "randomSamplerProbability", + "description": [ + "- initial value for random sampler probability" + ], + "signature": [ + { + "pluginId": "@kbn/ml-random-sampler-utils", + "scope": "common", + "docId": "kibKbnMlRandomSamplerUtilsPluginApi", + "section": "def-common.RandomSamplerProbability", + "text": "RandomSamplerProbability" + } + ], + "path": "x-pack/packages/ml/random_sampler_utils/src/random_sampler_manager.ts", + "deprecated": false, + "trackAdoption": false, + "isRequired": false + }, + { + "parentPluginId": "@kbn/ml-random-sampler-utils", + "id": "def-common.RandomSampler.Unnamed.$4", + "type": "Function", + "tags": [], + "label": "setRandomSamplerProbability", + "description": [ + "- initial setter for random sampler probability" + ], + "signature": [ + "(prob: ", + { + "pluginId": "@kbn/ml-random-sampler-utils", + "scope": "common", + "docId": "kibKbnMlRandomSamplerUtilsPluginApi", + "section": "def-common.RandomSamplerProbability", + "text": "RandomSamplerProbability" + }, + ") => void" + ], + "path": "x-pack/packages/ml/random_sampler_utils/src/random_sampler_manager.ts", + "deprecated": false, + "trackAdoption": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/ml-random-sampler-utils", + "id": "def-common.RandomSampler.setDocCount", + "type": "Function", + "tags": [], + "label": "setDocCount", + "description": [ + "\nSet total doc count\nIf probability is not explicitly set, this doc count is used for calculating the suggested probability for sampling" + ], + "signature": [ + "(docCount: number) => void" + ], + "path": "x-pack/packages/ml/random_sampler_utils/src/random_sampler_manager.ts", + "deprecated": false, + "trackAdoption": false, + "children": [ + { + "parentPluginId": "@kbn/ml-random-sampler-utils", + "id": "def-common.RandomSampler.setDocCount.$1", + "type": "number", + "tags": [], + "label": "docCount", + "description": [ + "- total document count" + ], + "signature": [ + "number" + ], + "path": "x-pack/packages/ml/random_sampler_utils/src/random_sampler_manager.ts", + "deprecated": false, + "trackAdoption": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/ml-random-sampler-utils", + "id": "def-common.RandomSampler.getDocCount", + "type": "Function", + "tags": [], + "label": "getDocCount", + "description": [ + "\nGet doc count" + ], + "signature": [ + "() => number" + ], + "path": "x-pack/packages/ml/random_sampler_utils/src/random_sampler_manager.ts", + "deprecated": false, + "trackAdoption": false, + "children": [], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/ml-random-sampler-utils", + "id": "def-common.RandomSampler.setMode", + "type": "Function", + "tags": [], + "label": "setMode", + "description": [ + "\nSet and save in storage what mode of random sampling to use" + ], + "signature": [ + "(mode: ", + { + "pluginId": "@kbn/ml-random-sampler-utils", + "scope": "common", + "docId": "kibKbnMlRandomSamplerUtilsPluginApi", + "section": "def-common.RandomSamplerOption", + "text": "RandomSamplerOption" + }, + ") => void" + ], + "path": "x-pack/packages/ml/random_sampler_utils/src/random_sampler_manager.ts", + "deprecated": false, + "trackAdoption": false, + "children": [ + { + "parentPluginId": "@kbn/ml-random-sampler-utils", + "id": "def-common.RandomSampler.setMode.$1", + "type": "CompoundType", + "tags": [], + "label": "mode", + "description": [ + "- mode to use when wrapping/unwrapping random sampling aggs" + ], + "signature": [ + { + "pluginId": "@kbn/ml-random-sampler-utils", + "scope": "common", + "docId": "kibKbnMlRandomSamplerUtilsPluginApi", + "section": "def-common.RandomSamplerOption", + "text": "RandomSamplerOption" + } + ], + "path": "x-pack/packages/ml/random_sampler_utils/src/random_sampler_manager.ts", + "deprecated": false, + "trackAdoption": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/ml-random-sampler-utils", + "id": "def-common.RandomSampler.getMode$", + "type": "Function", + "tags": [], + "label": "getMode$", + "description": [ + "\nObservable to get currently set mode of random sampling" + ], + "signature": [ + "() => ", + "Observable", + "<", + { + "pluginId": "@kbn/ml-random-sampler-utils", + "scope": "common", + "docId": "kibKbnMlRandomSamplerUtilsPluginApi", + "section": "def-common.RandomSamplerOption", + "text": "RandomSamplerOption" + }, + ">" + ], + "path": "x-pack/packages/ml/random_sampler_utils/src/random_sampler_manager.ts", + "deprecated": false, + "trackAdoption": false, + "children": [], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/ml-random-sampler-utils", + "id": "def-common.RandomSampler.getMode", + "type": "Function", + "tags": [], + "label": "getMode", + "description": [ + "\nHelper to get currently set mode of random sampling" + ], + "signature": [ + "() => ", + { + "pluginId": "@kbn/ml-random-sampler-utils", + "scope": "common", + "docId": "kibKbnMlRandomSamplerUtilsPluginApi", + "section": "def-common.RandomSamplerOption", + "text": "RandomSamplerOption" + } + ], + "path": "x-pack/packages/ml/random_sampler_utils/src/random_sampler_manager.ts", + "deprecated": false, + "trackAdoption": false, + "children": [], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/ml-random-sampler-utils", + "id": "def-common.RandomSampler.setProbability", + "type": "Function", + "tags": [], + "label": "setProbability", + "description": [ + "\nHelper to set the probability to use for random sampling requests" + ], + "signature": [ + "(probability: ", + { + "pluginId": "@kbn/ml-random-sampler-utils", + "scope": "common", + "docId": "kibKbnMlRandomSamplerUtilsPluginApi", + "section": "def-common.RandomSamplerProbability", + "text": "RandomSamplerProbability" + }, + ") => void" + ], + "path": "x-pack/packages/ml/random_sampler_utils/src/random_sampler_manager.ts", + "deprecated": false, + "trackAdoption": false, + "children": [ + { + "parentPluginId": "@kbn/ml-random-sampler-utils", + "id": "def-common.RandomSampler.setProbability.$1", + "type": "CompoundType", + "tags": [], + "label": "probability", + "description": [ + "- numeric value 0 < probability < 1 to use for random sampling" + ], + "signature": [ + { + "pluginId": "@kbn/ml-random-sampler-utils", + "scope": "common", + "docId": "kibKbnMlRandomSamplerUtilsPluginApi", + "section": "def-common.RandomSamplerProbability", + "text": "RandomSamplerProbability" + } + ], + "path": "x-pack/packages/ml/random_sampler_utils/src/random_sampler_manager.ts", + "deprecated": false, + "trackAdoption": false, + "isRequired": false + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/ml-random-sampler-utils", + "id": "def-common.RandomSampler.getProbability$", + "type": "Function", + "tags": [], + "label": "getProbability$", + "description": [ + "\nObservability to get the probability to use for random sampling requests" + ], + "signature": [ + "() => ", + "Observable", + "<", + { + "pluginId": "@kbn/ml-random-sampler-utils", + "scope": "common", + "docId": "kibKbnMlRandomSamplerUtilsPluginApi", + "section": "def-common.RandomSamplerProbability", + "text": "RandomSamplerProbability" + }, + ">" + ], + "path": "x-pack/packages/ml/random_sampler_utils/src/random_sampler_manager.ts", + "deprecated": false, + "trackAdoption": false, + "children": [], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/ml-random-sampler-utils", + "id": "def-common.RandomSampler.getProbability", + "type": "Function", + "tags": [], + "label": "getProbability", + "description": [ + "\nObservability to get the probability to use for random sampling requests" + ], + "signature": [ + "() => ", + { + "pluginId": "@kbn/ml-random-sampler-utils", + "scope": "common", + "docId": "kibKbnMlRandomSamplerUtilsPluginApi", + "section": "def-common.RandomSamplerProbability", + "text": "RandomSamplerProbability" + } + ], + "path": "x-pack/packages/ml/random_sampler_utils/src/random_sampler_manager.ts", + "deprecated": false, + "trackAdoption": false, + "children": [], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/ml-random-sampler-utils", + "id": "def-common.RandomSampler.createRandomSamplerWrapper", + "type": "Function", + "tags": [], + "label": "createRandomSamplerWrapper", + "description": [ + "\nHelper to return factory to extend any ES aggregations with the random sampling probability\nReturns wrapper = {wrap, unwrap}\nWhere {wrap} extends the ES aggregations with the random sampling probability\nAnd {unwrap} accesses the original ES aggregations directly" + ], + "signature": [ + "() => { wrap: >(aggs: T) => Record | T; unwrap: >(responseAggs: T) => T | T[string]; probability: number; }" + ], + "path": "x-pack/packages/ml/random_sampler_utils/src/random_sampler_manager.ts", + "deprecated": false, + "trackAdoption": false, + "children": [], + "returnComment": [] + } + ], + "initialIsOpen": false + } + ], "functions": [ { "parentPluginId": "@kbn/ml-random-sampler-utils", @@ -107,6 +523,105 @@ "interfaces": [], "enums": [], "misc": [ + { + "parentPluginId": "@kbn/ml-random-sampler-utils", + "id": "def-common.DEFAULT_PROBABILITY", + "type": "number", + "tags": [], + "label": "DEFAULT_PROBABILITY", + "description": [ + "\nDefault probability to use" + ], + "signature": [ + "0.001" + ], + "path": "x-pack/packages/ml/random_sampler_utils/src/random_sampler_manager.ts", + "deprecated": false, + "trackAdoption": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/ml-random-sampler-utils", + "id": "def-common.MIN_SAMPLER_PROBABILITY", + "type": "number", + "tags": [], + "label": "MIN_SAMPLER_PROBABILITY", + "description": [ + "\nDefault recommended minimum probability for default sampling" + ], + "signature": [ + "0.00001" + ], + "path": "x-pack/packages/ml/random_sampler_utils/src/random_sampler_manager.ts", + "deprecated": false, + "trackAdoption": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/ml-random-sampler-utils", + "id": "def-common.RANDOM_SAMPLER_PROBABILITIES", + "type": "Array", + "tags": [], + "label": "RANDOM_SAMPLER_PROBABILITIES", + "description": [ + "\nList of default probabilities to use for random sampler" + ], + "signature": [ + "number[]" + ], + "path": "x-pack/packages/ml/random_sampler_utils/src/random_sampler_manager.ts", + "deprecated": false, + "trackAdoption": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/ml-random-sampler-utils", + "id": "def-common.RANDOM_SAMPLER_STEP", + "type": "number", + "tags": [], + "label": "RANDOM_SAMPLER_STEP", + "description": [ + "\nDefault step minimum probability for default sampling" + ], + "path": "x-pack/packages/ml/random_sampler_utils/src/random_sampler_manager.ts", + "deprecated": false, + "trackAdoption": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/ml-random-sampler-utils", + "id": "def-common.RandomSamplerOption", + "type": "Type", + "tags": [], + "label": "RandomSamplerOption", + "description": [ + "\nDefault option for random sampler type" + ], + "signature": [ + "\"off\" | \"on_automatic\" | \"on_manual\"" + ], + "path": "x-pack/packages/ml/random_sampler_utils/src/random_sampler_manager.ts", + "deprecated": false, + "trackAdoption": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/ml-random-sampler-utils", + "id": "def-common.RandomSamplerProbability", + "type": "Type", + "tags": [], + "label": "RandomSamplerProbability", + "description": [ + "\nType for the random sampler probability" + ], + "signature": [ + "number | null" + ], + "path": "x-pack/packages/ml/random_sampler_utils/src/random_sampler_manager.ts", + "deprecated": false, + "trackAdoption": false, + "initialIsOpen": false + }, { "parentPluginId": "@kbn/ml-random-sampler-utils", "id": "def-common.RandomSamplerWrapper", @@ -131,6 +646,24 @@ "initialIsOpen": false } ], - "objects": [] + "objects": [ + { + "parentPluginId": "@kbn/ml-random-sampler-utils", + "id": "def-common.RANDOM_SAMPLER_OPTION", + "type": "Object", + "tags": [], + "label": "RANDOM_SAMPLER_OPTION", + "description": [ + "\nDefault options for random sampler" + ], + "signature": [ + "{ readonly ON_AUTOMATIC: \"on_automatic\"; readonly ON_MANUAL: \"on_manual\"; readonly OFF: \"off\"; }" + ], + "path": "x-pack/packages/ml/random_sampler_utils/src/random_sampler_manager.ts", + "deprecated": false, + "trackAdoption": false, + "initialIsOpen": false + } + ] } } \ No newline at end of file diff --git a/api_docs/kbn_ml_random_sampler_utils.mdx b/api_docs/kbn_ml_random_sampler_utils.mdx index 8080c7f520ab4..dea46ff7fbb2b 100644 --- a/api_docs/kbn_ml_random_sampler_utils.mdx +++ b/api_docs/kbn_ml_random_sampler_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ml-random-sampler-utils title: "@kbn/ml-random-sampler-utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ml-random-sampler-utils plugin -date: 2023-07-31 +date: 2023-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ml-random-sampler-utils'] --- import kbnMlRandomSamplerUtilsObj from './kbn_ml_random_sampler_utils.devdocs.json'; @@ -21,13 +21,19 @@ Contact [@elastic/ml-ui](https://github.com/orgs/elastic/teams/ml-ui) for questi | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 5 | 0 | 0 | 0 | +| 30 | 0 | 0 | 0 | ## Common +### Objects + + ### Functions +### Classes + + ### Consts, variables and types diff --git a/api_docs/kbn_ml_route_utils.mdx b/api_docs/kbn_ml_route_utils.mdx index d32cc9bc34396..d9564b2369e8b 100644 --- a/api_docs/kbn_ml_route_utils.mdx +++ b/api_docs/kbn_ml_route_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ml-route-utils title: "@kbn/ml-route-utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ml-route-utils plugin -date: 2023-07-31 +date: 2023-08-01 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 ba8ad4ad4d77b..1d2494f3b8fd0 100644 --- a/api_docs/kbn_ml_runtime_field_utils.mdx +++ b/api_docs/kbn_ml_runtime_field_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ml-runtime-field-utils title: "@kbn/ml-runtime-field-utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ml-runtime-field-utils plugin -date: 2023-07-31 +date: 2023-08-01 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 3165180d6e44a..46ce5f1f9b1a4 100644 --- a/api_docs/kbn_ml_string_hash.mdx +++ b/api_docs/kbn_ml_string_hash.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ml-string-hash title: "@kbn/ml-string-hash" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ml-string-hash plugin -date: 2023-07-31 +date: 2023-08-01 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.devdocs.json b/api_docs/kbn_ml_trained_models_utils.devdocs.json index a03e97875dd63..78b0f58eaba25 100644 --- a/api_docs/kbn_ml_trained_models_utils.devdocs.json +++ b/api_docs/kbn_ml_trained_models_utils.devdocs.json @@ -75,7 +75,7 @@ "label": "SupportedPytorchTasksType", "description": [], "signature": [ - "\"ner\" | \"question_answering\" | \"zero_shot_classification\" | \"text_classification\" | \"text_embedding\" | \"fill_mask\" | \"text_expansion\"" + "\"text_expansion\" | \"ner\" | \"question_answering\" | \"zero_shot_classification\" | \"text_classification\" | \"text_embedding\" | \"fill_mask\"" ], "path": "x-pack/packages/ml/trained_models_utils/src/constants/trained_models.ts", "deprecated": false, diff --git a/api_docs/kbn_ml_trained_models_utils.mdx b/api_docs/kbn_ml_trained_models_utils.mdx index f5b2078a5ba7d..c4bba785ebf74 100644 --- a/api_docs/kbn_ml_trained_models_utils.mdx +++ b/api_docs/kbn_ml_trained_models_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ml-trained-models-utils title: "@kbn/ml-trained-models-utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ml-trained-models-utils plugin -date: 2023-07-31 +date: 2023-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ml-trained-models-utils'] --- import kbnMlTrainedModelsUtilsObj from './kbn_ml_trained_models_utils.devdocs.json'; diff --git a/api_docs/kbn_ml_url_state.mdx b/api_docs/kbn_ml_url_state.mdx index 115a0f7122afa..e7f0a38cddd20 100644 --- a/api_docs/kbn_ml_url_state.mdx +++ b/api_docs/kbn_ml_url_state.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ml-url-state title: "@kbn/ml-url-state" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ml-url-state plugin -date: 2023-07-31 +date: 2023-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ml-url-state'] --- import kbnMlUrlStateObj from './kbn_ml_url_state.devdocs.json'; diff --git a/api_docs/kbn_monaco.mdx b/api_docs/kbn_monaco.mdx index 777a94cfa003a..61d9e8b1244c7 100644 --- a/api_docs/kbn_monaco.mdx +++ b/api_docs/kbn_monaco.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-monaco title: "@kbn/monaco" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/monaco plugin -date: 2023-07-31 +date: 2023-08-01 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 33ebba3ecbfb5..cfccee21a682b 100644 --- a/api_docs/kbn_object_versioning.mdx +++ b/api_docs/kbn_object_versioning.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-object-versioning title: "@kbn/object-versioning" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/object-versioning plugin -date: 2023-07-31 +date: 2023-08-01 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 636eaeee04ec9..70237f4163866 100644 --- a/api_docs/kbn_observability_alert_details.mdx +++ b/api_docs/kbn_observability_alert_details.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-observability-alert-details title: "@kbn/observability-alert-details" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/observability-alert-details plugin -date: 2023-07-31 +date: 2023-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/observability-alert-details'] --- import kbnObservabilityAlertDetailsObj from './kbn_observability_alert_details.devdocs.json'; diff --git a/api_docs/kbn_optimizer.mdx b/api_docs/kbn_optimizer.mdx index 8fed0527fed6a..17f00ccafb6a2 100644 --- a/api_docs/kbn_optimizer.mdx +++ b/api_docs/kbn_optimizer.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-optimizer title: "@kbn/optimizer" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/optimizer plugin -date: 2023-07-31 +date: 2023-08-01 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 2c462ceebb97a..75be19e40ffcb 100644 --- a/api_docs/kbn_optimizer_webpack_helpers.mdx +++ b/api_docs/kbn_optimizer_webpack_helpers.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-optimizer-webpack-helpers title: "@kbn/optimizer-webpack-helpers" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/optimizer-webpack-helpers plugin -date: 2023-07-31 +date: 2023-08-01 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 e125fb2f146d9..e61f2bd873996 100644 --- a/api_docs/kbn_osquery_io_ts_types.mdx +++ b/api_docs/kbn_osquery_io_ts_types.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-osquery-io-ts-types title: "@kbn/osquery-io-ts-types" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/osquery-io-ts-types plugin -date: 2023-07-31 +date: 2023-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/osquery-io-ts-types'] --- import kbnOsqueryIoTsTypesObj from './kbn_osquery_io_ts_types.devdocs.json'; diff --git a/api_docs/kbn_performance_testing_dataset_extractor.mdx b/api_docs/kbn_performance_testing_dataset_extractor.mdx index 6cc6adf2a246b..238bd44615b07 100644 --- a/api_docs/kbn_performance_testing_dataset_extractor.mdx +++ b/api_docs/kbn_performance_testing_dataset_extractor.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-performance-testing-dataset-extractor title: "@kbn/performance-testing-dataset-extractor" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/performance-testing-dataset-extractor plugin -date: 2023-07-31 +date: 2023-08-01 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 4ece6a2b1c60e..c97bcd83bb3f0 100644 --- a/api_docs/kbn_plugin_generator.mdx +++ b/api_docs/kbn_plugin_generator.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-plugin-generator title: "@kbn/plugin-generator" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/plugin-generator plugin -date: 2023-07-31 +date: 2023-08-01 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 7ed3c5a0cced3..5985c3621765b 100644 --- a/api_docs/kbn_plugin_helpers.mdx +++ b/api_docs/kbn_plugin_helpers.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-plugin-helpers title: "@kbn/plugin-helpers" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/plugin-helpers plugin -date: 2023-07-31 +date: 2023-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/plugin-helpers'] --- import kbnPluginHelpersObj from './kbn_plugin_helpers.devdocs.json'; diff --git a/api_docs/kbn_random_sampling.mdx b/api_docs/kbn_random_sampling.mdx index d2dc63800750c..863068b76c197 100644 --- a/api_docs/kbn_random_sampling.mdx +++ b/api_docs/kbn_random_sampling.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-random-sampling title: "@kbn/random-sampling" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/random-sampling plugin -date: 2023-07-31 +date: 2023-08-01 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 c53d98e975ea8..dcbbab5dc6c95 100644 --- a/api_docs/kbn_react_field.mdx +++ b/api_docs/kbn_react_field.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-react-field title: "@kbn/react-field" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/react-field plugin -date: 2023-07-31 +date: 2023-08-01 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 f2807e2c41f21..d0e661c3e4d66 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: 2023-07-31 +date: 2023-08-01 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 24bfe67e2fab5..c744f484f0d7c 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: 2023-07-31 +date: 2023-08-01 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 6e60d6900f4ce..bbb5c201f2930 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: 2023-07-31 +date: 2023-08-01 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 7568eb49037af..df404854d4483 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: 2023-07-31 +date: 2023-08-01 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 ac3e1193e60b9..2a91188a6c892 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: 2023-07-31 +date: 2023-08-01 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 ca645cbdbe074..6b587ae20b228 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: 2023-07-31 +date: 2023-08-01 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 e2fbb673ae064..93d01b7bd390f 100644 --- a/api_docs/kbn_repo_file_maps.mdx +++ b/api_docs/kbn_repo_file_maps.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-repo-file-maps title: "@kbn/repo-file-maps" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/repo-file-maps plugin -date: 2023-07-31 +date: 2023-08-01 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 2ccc378138caa..0847556ffdf58 100644 --- a/api_docs/kbn_repo_linter.mdx +++ b/api_docs/kbn_repo_linter.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-repo-linter title: "@kbn/repo-linter" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/repo-linter plugin -date: 2023-07-31 +date: 2023-08-01 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 4961da8d12d6a..256cbbd42a99f 100644 --- a/api_docs/kbn_repo_path.mdx +++ b/api_docs/kbn_repo_path.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-repo-path title: "@kbn/repo-path" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/repo-path plugin -date: 2023-07-31 +date: 2023-08-01 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 a8c3c01da6661..f436cf4d5f7d1 100644 --- a/api_docs/kbn_repo_source_classifier.mdx +++ b/api_docs/kbn_repo_source_classifier.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-repo-source-classifier title: "@kbn/repo-source-classifier" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/repo-source-classifier plugin -date: 2023-07-31 +date: 2023-08-01 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 a2868a36e7d15..8b659d5c020c4 100644 --- a/api_docs/kbn_reporting_common.mdx +++ b/api_docs/kbn_reporting_common.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-reporting-common title: "@kbn/reporting-common" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/reporting-common plugin -date: 2023-07-31 +date: 2023-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/reporting-common'] --- import kbnReportingCommonObj from './kbn_reporting_common.devdocs.json'; diff --git a/api_docs/kbn_rison.mdx b/api_docs/kbn_rison.mdx index a984cbb173792..41e2d8b7f785c 100644 --- a/api_docs/kbn_rison.mdx +++ b/api_docs/kbn_rison.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-rison title: "@kbn/rison" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/rison plugin -date: 2023-07-31 +date: 2023-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/rison'] --- import kbnRisonObj from './kbn_rison.devdocs.json'; diff --git a/api_docs/kbn_rrule.mdx b/api_docs/kbn_rrule.mdx index 5b0733ede9a99..2fb72b2456e7e 100644 --- a/api_docs/kbn_rrule.mdx +++ b/api_docs/kbn_rrule.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-rrule title: "@kbn/rrule" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/rrule plugin -date: 2023-07-31 +date: 2023-08-01 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 488d520e59054..284b0e8274596 100644 --- a/api_docs/kbn_rule_data_utils.mdx +++ b/api_docs/kbn_rule_data_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-rule-data-utils title: "@kbn/rule-data-utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/rule-data-utils plugin -date: 2023-07-31 +date: 2023-08-01 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 44301bd681904..acd625c745dd4 100644 --- a/api_docs/kbn_saved_objects_settings.mdx +++ b/api_docs/kbn_saved_objects_settings.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-saved-objects-settings title: "@kbn/saved-objects-settings" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/saved-objects-settings plugin -date: 2023-07-31 +date: 2023-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/saved-objects-settings'] --- import kbnSavedObjectsSettingsObj from './kbn_saved_objects_settings.devdocs.json'; diff --git a/api_docs/kbn_security_solution_navigation.mdx b/api_docs/kbn_security_solution_navigation.mdx index 55a9357eedaf9..651222d2d41e0 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: 2023-07-31 +date: 2023-08-01 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 6d9b8880869b7..64d9850b5748f 100644 --- a/api_docs/kbn_security_solution_side_nav.mdx +++ b/api_docs/kbn_security_solution_side_nav.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-security-solution-side-nav title: "@kbn/security-solution-side-nav" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/security-solution-side-nav plugin -date: 2023-07-31 +date: 2023-08-01 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 f1dcd0a33fdb6..bd39c117fe131 100644 --- a/api_docs/kbn_security_solution_storybook_config.mdx +++ b/api_docs/kbn_security_solution_storybook_config.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-security-solution-storybook-config title: "@kbn/security-solution-storybook-config" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/security-solution-storybook-config plugin -date: 2023-07-31 +date: 2023-08-01 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 0623fd9951a05..e46933d965f99 100644 --- a/api_docs/kbn_securitysolution_autocomplete.mdx +++ b/api_docs/kbn_securitysolution_autocomplete.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-securitysolution-autocomplete title: "@kbn/securitysolution-autocomplete" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/securitysolution-autocomplete plugin -date: 2023-07-31 +date: 2023-08-01 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 d51797ebf10fd..872b5497a1e26 100644 --- a/api_docs/kbn_securitysolution_data_table.mdx +++ b/api_docs/kbn_securitysolution_data_table.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-securitysolution-data-table title: "@kbn/securitysolution-data-table" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/securitysolution-data-table plugin -date: 2023-07-31 +date: 2023-08-01 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 366e51dea7251..5f33800111004 100644 --- a/api_docs/kbn_securitysolution_ecs.mdx +++ b/api_docs/kbn_securitysolution_ecs.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-securitysolution-ecs title: "@kbn/securitysolution-ecs" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/securitysolution-ecs plugin -date: 2023-07-31 +date: 2023-08-01 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.devdocs.json b/api_docs/kbn_securitysolution_es_utils.devdocs.json index 680d3d4baf7bf..4119a04abaa4d 100644 --- a/api_docs/kbn_securitysolution_es_utils.devdocs.json +++ b/api_docs/kbn_securitysolution_es_utils.devdocs.json @@ -622,7 +622,7 @@ "SearchResponse", ">; }; helpers: ", "default", - "; name: string | symbol; [kAsyncSearch]: symbol | null; [kAutoscaling]: symbol | null; [kCat]: symbol | null; [kCcr]: symbol | null; [kCluster]: symbol | null; [kDanglingIndices]: symbol | null; [kEnrich]: symbol | null; [kEql]: symbol | null; [kFeatures]: symbol | null; [kFleet]: symbol | null; [kGraph]: symbol | null; [kIlm]: symbol | null; [kIndices]: symbol | null; [kIngest]: symbol | null; [kLicense]: symbol | null; [kLogstash]: symbol | null; [kMigration]: symbol | null; [kMl]: symbol | null; [kMonitoring]: symbol | null; [kNodes]: symbol | null; [kRollup]: symbol | null; [kSearchApplication]: symbol | null; [kSearchableSnapshots]: symbol | null; [kSecurity]: symbol | null; [kShutdown]: symbol | null; [kSlm]: symbol | null; [kSnapshot]: symbol | null; [kSql]: symbol | null; [kSsl]: symbol | null; [kTasks]: symbol | null; [kTextStructure]: symbol | null; [kTransform]: symbol | null; [kWatcher]: symbol | null; [kXpack]: symbol | null; transport: ", + "; name: string | symbol; [kAsyncSearch]: symbol | null; [kAutoscaling]: symbol | null; [kCat]: symbol | null; [kCcr]: symbol | null; [kCluster]: symbol | null; [kDanglingIndices]: symbol | null; [kEnrich]: symbol | null; [kEql]: symbol | null; [kFeatures]: symbol | null; [kFleet]: symbol | null; [kGraph]: symbol | null; [kIlm]: symbol | null; [kIndices]: symbol | null; [kIngest]: symbol | null; [kLicense]: symbol | null; [kLogstash]: symbol | null; [kMigration]: symbol | null; [kMl]: symbol | null; [kMonitoring]: symbol | null; [kNodes]: symbol | null; [kRollup]: symbol | null; [kSearchApplication]: symbol | null; [kSearchableSnapshots]: symbol | null; [kSecurity]: symbol | null; [kShutdown]: symbol | null; [kSlm]: symbol | null; [kSnapshot]: symbol | null; [kSql]: symbol | null; [kSsl]: symbol | null; [kSynonyms]: symbol | null; [kTasks]: symbol | null; [kTextStructure]: symbol | null; [kTransform]: symbol | null; [kWatcher]: symbol | null; [kXpack]: symbol | null; transport: ", "default", "; asyncSearch: ", "default", @@ -1580,6 +1580,8 @@ "default", "; ssl: ", "default", + "; synonyms: ", + "default", "; tasks: ", "default", "; termsEnum: { (this: That, params: ", @@ -1894,7 +1896,7 @@ "SearchResponse", ">; }; helpers: ", "default", - "; name: string | symbol; [kAsyncSearch]: symbol | null; [kAutoscaling]: symbol | null; [kCat]: symbol | null; [kCcr]: symbol | null; [kCluster]: symbol | null; [kDanglingIndices]: symbol | null; [kEnrich]: symbol | null; [kEql]: symbol | null; [kFeatures]: symbol | null; [kFleet]: symbol | null; [kGraph]: symbol | null; [kIlm]: symbol | null; [kIndices]: symbol | null; [kIngest]: symbol | null; [kLicense]: symbol | null; [kLogstash]: symbol | null; [kMigration]: symbol | null; [kMl]: symbol | null; [kMonitoring]: symbol | null; [kNodes]: symbol | null; [kRollup]: symbol | null; [kSearchApplication]: symbol | null; [kSearchableSnapshots]: symbol | null; [kSecurity]: symbol | null; [kShutdown]: symbol | null; [kSlm]: symbol | null; [kSnapshot]: symbol | null; [kSql]: symbol | null; [kSsl]: symbol | null; [kTasks]: symbol | null; [kTextStructure]: symbol | null; [kTransform]: symbol | null; [kWatcher]: symbol | null; [kXpack]: symbol | null; transport: ", + "; name: string | symbol; [kAsyncSearch]: symbol | null; [kAutoscaling]: symbol | null; [kCat]: symbol | null; [kCcr]: symbol | null; [kCluster]: symbol | null; [kDanglingIndices]: symbol | null; [kEnrich]: symbol | null; [kEql]: symbol | null; [kFeatures]: symbol | null; [kFleet]: symbol | null; [kGraph]: symbol | null; [kIlm]: symbol | null; [kIndices]: symbol | null; [kIngest]: symbol | null; [kLicense]: symbol | null; [kLogstash]: symbol | null; [kMigration]: symbol | null; [kMl]: symbol | null; [kMonitoring]: symbol | null; [kNodes]: symbol | null; [kRollup]: symbol | null; [kSearchApplication]: symbol | null; [kSearchableSnapshots]: symbol | null; [kSecurity]: symbol | null; [kShutdown]: symbol | null; [kSlm]: symbol | null; [kSnapshot]: symbol | null; [kSql]: symbol | null; [kSsl]: symbol | null; [kSynonyms]: symbol | null; [kTasks]: symbol | null; [kTextStructure]: symbol | null; [kTransform]: symbol | null; [kWatcher]: symbol | null; [kXpack]: symbol | null; transport: ", "default", "; asyncSearch: ", "default", @@ -2852,6 +2854,8 @@ "default", "; ssl: ", "default", + "; synonyms: ", + "default", "; tasks: ", "default", "; termsEnum: { (this: That, params: ", diff --git a/api_docs/kbn_securitysolution_es_utils.mdx b/api_docs/kbn_securitysolution_es_utils.mdx index 724dcedecc6a8..0e6bcc2f81a8a 100644 --- a/api_docs/kbn_securitysolution_es_utils.mdx +++ b/api_docs/kbn_securitysolution_es_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-securitysolution-es-utils title: "@kbn/securitysolution-es-utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/securitysolution-es-utils plugin -date: 2023-07-31 +date: 2023-08-01 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 d57c0e73f12f3..a6852f808fa12 100644 --- a/api_docs/kbn_securitysolution_exception_list_components.mdx +++ b/api_docs/kbn_securitysolution_exception_list_components.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-securitysolution-exception-list-components title: "@kbn/securitysolution-exception-list-components" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/securitysolution-exception-list-components plugin -date: 2023-07-31 +date: 2023-08-01 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 31be160dd50f6..d80c384b9a27f 100644 --- a/api_docs/kbn_securitysolution_grouping.mdx +++ b/api_docs/kbn_securitysolution_grouping.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-securitysolution-grouping title: "@kbn/securitysolution-grouping" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/securitysolution-grouping plugin -date: 2023-07-31 +date: 2023-08-01 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 ecf6de4937d36..2f80b3ad07e2f 100644 --- a/api_docs/kbn_securitysolution_hook_utils.mdx +++ b/api_docs/kbn_securitysolution_hook_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-securitysolution-hook-utils title: "@kbn/securitysolution-hook-utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/securitysolution-hook-utils plugin -date: 2023-07-31 +date: 2023-08-01 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 513f5071ff3ca..960725fc2f2a9 100644 --- a/api_docs/kbn_securitysolution_io_ts_alerting_types.mdx +++ b/api_docs/kbn_securitysolution_io_ts_alerting_types.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-securitysolution-io-ts-alerting-types title: "@kbn/securitysolution-io-ts-alerting-types" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/securitysolution-io-ts-alerting-types plugin -date: 2023-07-31 +date: 2023-08-01 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 cd491a8a438f0..ca1ecb56656f7 100644 --- a/api_docs/kbn_securitysolution_io_ts_list_types.mdx +++ b/api_docs/kbn_securitysolution_io_ts_list_types.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-securitysolution-io-ts-list-types title: "@kbn/securitysolution-io-ts-list-types" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/securitysolution-io-ts-list-types plugin -date: 2023-07-31 +date: 2023-08-01 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 c0f1455f88aa2..efe6f9f109df1 100644 --- a/api_docs/kbn_securitysolution_io_ts_types.mdx +++ b/api_docs/kbn_securitysolution_io_ts_types.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-securitysolution-io-ts-types title: "@kbn/securitysolution-io-ts-types" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/securitysolution-io-ts-types plugin -date: 2023-07-31 +date: 2023-08-01 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 4f3c8899ed4ba..0c72cecb294d2 100644 --- a/api_docs/kbn_securitysolution_io_ts_utils.mdx +++ b/api_docs/kbn_securitysolution_io_ts_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-securitysolution-io-ts-utils title: "@kbn/securitysolution-io-ts-utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/securitysolution-io-ts-utils plugin -date: 2023-07-31 +date: 2023-08-01 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 83f729e41bd2c..dce971ab28dd0 100644 --- a/api_docs/kbn_securitysolution_list_api.mdx +++ b/api_docs/kbn_securitysolution_list_api.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-securitysolution-list-api title: "@kbn/securitysolution-list-api" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/securitysolution-list-api plugin -date: 2023-07-31 +date: 2023-08-01 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 f6109b12a1ad2..cd3c89e4816ae 100644 --- a/api_docs/kbn_securitysolution_list_constants.mdx +++ b/api_docs/kbn_securitysolution_list_constants.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-securitysolution-list-constants title: "@kbn/securitysolution-list-constants" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/securitysolution-list-constants plugin -date: 2023-07-31 +date: 2023-08-01 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 c524500546bb2..6e7c48a4a58fa 100644 --- a/api_docs/kbn_securitysolution_list_hooks.mdx +++ b/api_docs/kbn_securitysolution_list_hooks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-securitysolution-list-hooks title: "@kbn/securitysolution-list-hooks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/securitysolution-list-hooks plugin -date: 2023-07-31 +date: 2023-08-01 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 bb3d3895621a4..4891e60a47ed0 100644 --- a/api_docs/kbn_securitysolution_list_utils.mdx +++ b/api_docs/kbn_securitysolution_list_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-securitysolution-list-utils title: "@kbn/securitysolution-list-utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/securitysolution-list-utils plugin -date: 2023-07-31 +date: 2023-08-01 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 0656e49df0b40..aa98a91b1b476 100644 --- a/api_docs/kbn_securitysolution_rules.mdx +++ b/api_docs/kbn_securitysolution_rules.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-securitysolution-rules title: "@kbn/securitysolution-rules" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/securitysolution-rules plugin -date: 2023-07-31 +date: 2023-08-01 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 95048d61b2ed5..1523bb8b4d49e 100644 --- a/api_docs/kbn_securitysolution_t_grid.mdx +++ b/api_docs/kbn_securitysolution_t_grid.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-securitysolution-t-grid title: "@kbn/securitysolution-t-grid" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/securitysolution-t-grid plugin -date: 2023-07-31 +date: 2023-08-01 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 6ac338849ed37..b8ff60261f8cc 100644 --- a/api_docs/kbn_securitysolution_utils.mdx +++ b/api_docs/kbn_securitysolution_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-securitysolution-utils title: "@kbn/securitysolution-utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/securitysolution-utils plugin -date: 2023-07-31 +date: 2023-08-01 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 eaa9f39b57117..7f49468569281 100644 --- a/api_docs/kbn_server_http_tools.mdx +++ b/api_docs/kbn_server_http_tools.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-server-http-tools title: "@kbn/server-http-tools" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/server-http-tools plugin -date: 2023-07-31 +date: 2023-08-01 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 2543d38724cb0..51cc1704f3367 100644 --- a/api_docs/kbn_server_route_repository.mdx +++ b/api_docs/kbn_server_route_repository.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-server-route-repository title: "@kbn/server-route-repository" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/server-route-repository plugin -date: 2023-07-31 +date: 2023-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/server-route-repository'] --- import kbnServerRouteRepositoryObj from './kbn_server_route_repository.devdocs.json'; diff --git a/api_docs/kbn_serverless_project_switcher.mdx b/api_docs/kbn_serverless_project_switcher.mdx index 7b171bcc849a2..c675c3e4a49be 100644 --- a/api_docs/kbn_serverless_project_switcher.mdx +++ b/api_docs/kbn_serverless_project_switcher.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-serverless-project-switcher title: "@kbn/serverless-project-switcher" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/serverless-project-switcher plugin -date: 2023-07-31 +date: 2023-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/serverless-project-switcher'] --- import kbnServerlessProjectSwitcherObj from './kbn_serverless_project_switcher.devdocs.json'; diff --git a/api_docs/kbn_serverless_storybook_config.mdx b/api_docs/kbn_serverless_storybook_config.mdx index 1a4ee067e3a36..17ba993d76227 100644 --- a/api_docs/kbn_serverless_storybook_config.mdx +++ b/api_docs/kbn_serverless_storybook_config.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-serverless-storybook-config title: "@kbn/serverless-storybook-config" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/serverless-storybook-config plugin -date: 2023-07-31 +date: 2023-08-01 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 6223e6b5fd79a..232a3a8ec2830 100644 --- a/api_docs/kbn_shared_svg.mdx +++ b/api_docs/kbn_shared_svg.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-svg title: "@kbn/shared-svg" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-svg plugin -date: 2023-07-31 +date: 2023-08-01 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 887c0207dc5ee..867e11fcf1c2d 100644 --- a/api_docs/kbn_shared_ux_avatar_solution.mdx +++ b/api_docs/kbn_shared_ux_avatar_solution.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-avatar-solution title: "@kbn/shared-ux-avatar-solution" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-avatar-solution plugin -date: 2023-07-31 +date: 2023-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-avatar-solution'] --- import kbnSharedUxAvatarSolutionObj from './kbn_shared_ux_avatar_solution.devdocs.json'; diff --git a/api_docs/kbn_shared_ux_avatar_user_profile_components.mdx b/api_docs/kbn_shared_ux_avatar_user_profile_components.mdx index ec742a5b06ee3..df39484138e01 100644 --- a/api_docs/kbn_shared_ux_avatar_user_profile_components.mdx +++ b/api_docs/kbn_shared_ux_avatar_user_profile_components.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-avatar-user-profile-components title: "@kbn/shared-ux-avatar-user-profile-components" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-avatar-user-profile-components plugin -date: 2023-07-31 +date: 2023-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-avatar-user-profile-components'] --- import kbnSharedUxAvatarUserProfileComponentsObj from './kbn_shared_ux_avatar_user_profile_components.devdocs.json'; diff --git a/api_docs/kbn_shared_ux_button_exit_full_screen.mdx b/api_docs/kbn_shared_ux_button_exit_full_screen.mdx index 82976dfbdd68b..701de757959d8 100644 --- a/api_docs/kbn_shared_ux_button_exit_full_screen.mdx +++ b/api_docs/kbn_shared_ux_button_exit_full_screen.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-button-exit-full-screen title: "@kbn/shared-ux-button-exit-full-screen" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-button-exit-full-screen plugin -date: 2023-07-31 +date: 2023-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-button-exit-full-screen'] --- import kbnSharedUxButtonExitFullScreenObj from './kbn_shared_ux_button_exit_full_screen.devdocs.json'; diff --git a/api_docs/kbn_shared_ux_button_exit_full_screen_mocks.mdx b/api_docs/kbn_shared_ux_button_exit_full_screen_mocks.mdx index 4d1939768d465..fef5817cf615c 100644 --- a/api_docs/kbn_shared_ux_button_exit_full_screen_mocks.mdx +++ b/api_docs/kbn_shared_ux_button_exit_full_screen_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-button-exit-full-screen-mocks title: "@kbn/shared-ux-button-exit-full-screen-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-button-exit-full-screen-mocks plugin -date: 2023-07-31 +date: 2023-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-button-exit-full-screen-mocks'] --- import kbnSharedUxButtonExitFullScreenMocksObj from './kbn_shared_ux_button_exit_full_screen_mocks.devdocs.json'; diff --git a/api_docs/kbn_shared_ux_button_toolbar.mdx b/api_docs/kbn_shared_ux_button_toolbar.mdx index 1ec083fb98ea0..4f66fe21511e5 100644 --- a/api_docs/kbn_shared_ux_button_toolbar.mdx +++ b/api_docs/kbn_shared_ux_button_toolbar.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-button-toolbar title: "@kbn/shared-ux-button-toolbar" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-button-toolbar plugin -date: 2023-07-31 +date: 2023-08-01 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 11c82d9b5c28c..eecee15d0314c 100644 --- a/api_docs/kbn_shared_ux_card_no_data.mdx +++ b/api_docs/kbn_shared_ux_card_no_data.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-card-no-data title: "@kbn/shared-ux-card-no-data" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-card-no-data plugin -date: 2023-07-31 +date: 2023-08-01 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 83238e53b9764..9ac475572fc8a 100644 --- a/api_docs/kbn_shared_ux_card_no_data_mocks.mdx +++ b/api_docs/kbn_shared_ux_card_no_data_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-card-no-data-mocks title: "@kbn/shared-ux-card-no-data-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-card-no-data-mocks plugin -date: 2023-07-31 +date: 2023-08-01 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 d9508d1ca93d2..897d5e9496a4e 100644 --- a/api_docs/kbn_shared_ux_chrome_navigation.mdx +++ b/api_docs/kbn_shared_ux_chrome_navigation.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-chrome-navigation title: "@kbn/shared-ux-chrome-navigation" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-chrome-navigation plugin -date: 2023-07-31 +date: 2023-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-chrome-navigation'] --- import kbnSharedUxChromeNavigationObj from './kbn_shared_ux_chrome_navigation.devdocs.json'; diff --git a/api_docs/kbn_shared_ux_file_context.mdx b/api_docs/kbn_shared_ux_file_context.mdx index 577d9bebb3945..6b0dedb12dd83 100644 --- a/api_docs/kbn_shared_ux_file_context.mdx +++ b/api_docs/kbn_shared_ux_file_context.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-file-context title: "@kbn/shared-ux-file-context" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-file-context plugin -date: 2023-07-31 +date: 2023-08-01 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 bc8bf27c8faad..0920a5fdcaebb 100644 --- a/api_docs/kbn_shared_ux_file_image.mdx +++ b/api_docs/kbn_shared_ux_file_image.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-file-image title: "@kbn/shared-ux-file-image" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-file-image plugin -date: 2023-07-31 +date: 2023-08-01 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 1a37c6b8e2cd9..25a7cd6f59361 100644 --- a/api_docs/kbn_shared_ux_file_image_mocks.mdx +++ b/api_docs/kbn_shared_ux_file_image_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-file-image-mocks title: "@kbn/shared-ux-file-image-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-file-image-mocks plugin -date: 2023-07-31 +date: 2023-08-01 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 5fc2f45f415bc..e735fe049f968 100644 --- a/api_docs/kbn_shared_ux_file_mocks.mdx +++ b/api_docs/kbn_shared_ux_file_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-file-mocks title: "@kbn/shared-ux-file-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-file-mocks plugin -date: 2023-07-31 +date: 2023-08-01 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 ff7c513d5a4a3..fd99b9980a3dc 100644 --- a/api_docs/kbn_shared_ux_file_picker.mdx +++ b/api_docs/kbn_shared_ux_file_picker.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-file-picker title: "@kbn/shared-ux-file-picker" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-file-picker plugin -date: 2023-07-31 +date: 2023-08-01 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 eb72cd98c5282..eb9b514374c38 100644 --- a/api_docs/kbn_shared_ux_file_types.mdx +++ b/api_docs/kbn_shared_ux_file_types.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-file-types title: "@kbn/shared-ux-file-types" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-file-types plugin -date: 2023-07-31 +date: 2023-08-01 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 2895f644bb52d..9a805637e45a3 100644 --- a/api_docs/kbn_shared_ux_file_upload.mdx +++ b/api_docs/kbn_shared_ux_file_upload.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-file-upload title: "@kbn/shared-ux-file-upload" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-file-upload plugin -date: 2023-07-31 +date: 2023-08-01 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 9a3bdafd065e3..fa2195aff73f3 100644 --- a/api_docs/kbn_shared_ux_file_util.mdx +++ b/api_docs/kbn_shared_ux_file_util.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-file-util title: "@kbn/shared-ux-file-util" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-file-util plugin -date: 2023-07-31 +date: 2023-08-01 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 b2ed72326cd99..fafdc7a3cbb77 100644 --- a/api_docs/kbn_shared_ux_link_redirect_app.mdx +++ b/api_docs/kbn_shared_ux_link_redirect_app.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-link-redirect-app title: "@kbn/shared-ux-link-redirect-app" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-link-redirect-app plugin -date: 2023-07-31 +date: 2023-08-01 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 62e2bcc025bae..508a1eab4dcdf 100644 --- a/api_docs/kbn_shared_ux_link_redirect_app_mocks.mdx +++ b/api_docs/kbn_shared_ux_link_redirect_app_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-link-redirect-app-mocks title: "@kbn/shared-ux-link-redirect-app-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-link-redirect-app-mocks plugin -date: 2023-07-31 +date: 2023-08-01 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 6fe093ffb46bd..66657549c5f33 100644 --- a/api_docs/kbn_shared_ux_markdown.mdx +++ b/api_docs/kbn_shared_ux_markdown.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-markdown title: "@kbn/shared-ux-markdown" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-markdown plugin -date: 2023-07-31 +date: 2023-08-01 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 81c9302980602..f49981d1e726b 100644 --- a/api_docs/kbn_shared_ux_markdown_mocks.mdx +++ b/api_docs/kbn_shared_ux_markdown_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-markdown-mocks title: "@kbn/shared-ux-markdown-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-markdown-mocks plugin -date: 2023-07-31 +date: 2023-08-01 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 b7e96b037d8f7..84bc4fda8dbb2 100644 --- a/api_docs/kbn_shared_ux_page_analytics_no_data.mdx +++ b/api_docs/kbn_shared_ux_page_analytics_no_data.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-page-analytics-no-data title: "@kbn/shared-ux-page-analytics-no-data" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-page-analytics-no-data plugin -date: 2023-07-31 +date: 2023-08-01 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 f20c4da28a7bb..2a5f2366af3c8 100644 --- a/api_docs/kbn_shared_ux_page_analytics_no_data_mocks.mdx +++ b/api_docs/kbn_shared_ux_page_analytics_no_data_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-page-analytics-no-data-mocks title: "@kbn/shared-ux-page-analytics-no-data-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-page-analytics-no-data-mocks plugin -date: 2023-07-31 +date: 2023-08-01 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 c1ef9fb260cb5..a52ef2ad555c5 100644 --- a/api_docs/kbn_shared_ux_page_kibana_no_data.mdx +++ b/api_docs/kbn_shared_ux_page_kibana_no_data.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-page-kibana-no-data title: "@kbn/shared-ux-page-kibana-no-data" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-page-kibana-no-data plugin -date: 2023-07-31 +date: 2023-08-01 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 9be982f8e693d..c8058bb7da5a6 100644 --- a/api_docs/kbn_shared_ux_page_kibana_no_data_mocks.mdx +++ b/api_docs/kbn_shared_ux_page_kibana_no_data_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-page-kibana-no-data-mocks title: "@kbn/shared-ux-page-kibana-no-data-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-page-kibana-no-data-mocks plugin -date: 2023-07-31 +date: 2023-08-01 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 2d99e8fa30717..85e4881b63243 100644 --- a/api_docs/kbn_shared_ux_page_kibana_template.mdx +++ b/api_docs/kbn_shared_ux_page_kibana_template.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-page-kibana-template title: "@kbn/shared-ux-page-kibana-template" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-page-kibana-template plugin -date: 2023-07-31 +date: 2023-08-01 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 d7181d5066c9c..05dc5af20a735 100644 --- a/api_docs/kbn_shared_ux_page_kibana_template_mocks.mdx +++ b/api_docs/kbn_shared_ux_page_kibana_template_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-page-kibana-template-mocks title: "@kbn/shared-ux-page-kibana-template-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-page-kibana-template-mocks plugin -date: 2023-07-31 +date: 2023-08-01 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 5243276a8ed3c..6bf54b20c7381 100644 --- a/api_docs/kbn_shared_ux_page_no_data.mdx +++ b/api_docs/kbn_shared_ux_page_no_data.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-page-no-data title: "@kbn/shared-ux-page-no-data" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-page-no-data plugin -date: 2023-07-31 +date: 2023-08-01 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 59c56e0d842d3..3d465f110707d 100644 --- a/api_docs/kbn_shared_ux_page_no_data_config.mdx +++ b/api_docs/kbn_shared_ux_page_no_data_config.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-page-no-data-config title: "@kbn/shared-ux-page-no-data-config" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-page-no-data-config plugin -date: 2023-07-31 +date: 2023-08-01 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 b32c00181fc23..7b04876de2e52 100644 --- a/api_docs/kbn_shared_ux_page_no_data_config_mocks.mdx +++ b/api_docs/kbn_shared_ux_page_no_data_config_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-page-no-data-config-mocks title: "@kbn/shared-ux-page-no-data-config-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-page-no-data-config-mocks plugin -date: 2023-07-31 +date: 2023-08-01 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 914cd27a469d6..cd5eb40739b23 100644 --- a/api_docs/kbn_shared_ux_page_no_data_mocks.mdx +++ b/api_docs/kbn_shared_ux_page_no_data_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-page-no-data-mocks title: "@kbn/shared-ux-page-no-data-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-page-no-data-mocks plugin -date: 2023-07-31 +date: 2023-08-01 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 b5c4624ce6b49..eac9eadc26432 100644 --- a/api_docs/kbn_shared_ux_page_solution_nav.mdx +++ b/api_docs/kbn_shared_ux_page_solution_nav.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-page-solution-nav title: "@kbn/shared-ux-page-solution-nav" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-page-solution-nav plugin -date: 2023-07-31 +date: 2023-08-01 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 e9511bbb72a95..48e8cabc6d067 100644 --- a/api_docs/kbn_shared_ux_prompt_no_data_views.mdx +++ b/api_docs/kbn_shared_ux_prompt_no_data_views.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-prompt-no-data-views title: "@kbn/shared-ux-prompt-no-data-views" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-prompt-no-data-views plugin -date: 2023-07-31 +date: 2023-08-01 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 5bb02993598a7..128cad80159ad 100644 --- a/api_docs/kbn_shared_ux_prompt_no_data_views_mocks.mdx +++ b/api_docs/kbn_shared_ux_prompt_no_data_views_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-prompt-no-data-views-mocks title: "@kbn/shared-ux-prompt-no-data-views-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-prompt-no-data-views-mocks plugin -date: 2023-07-31 +date: 2023-08-01 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 ab03e9e0dd798..9c70fa17ed1cc 100644 --- a/api_docs/kbn_shared_ux_prompt_not_found.mdx +++ b/api_docs/kbn_shared_ux_prompt_not_found.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-prompt-not-found title: "@kbn/shared-ux-prompt-not-found" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-prompt-not-found plugin -date: 2023-07-31 +date: 2023-08-01 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 48564ee07c4a0..76680738ecfe2 100644 --- a/api_docs/kbn_shared_ux_router.mdx +++ b/api_docs/kbn_shared_ux_router.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-router title: "@kbn/shared-ux-router" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-router plugin -date: 2023-07-31 +date: 2023-08-01 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 6f954c4e2c104..07182757b7854 100644 --- a/api_docs/kbn_shared_ux_router_mocks.mdx +++ b/api_docs/kbn_shared_ux_router_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-router-mocks title: "@kbn/shared-ux-router-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-router-mocks plugin -date: 2023-07-31 +date: 2023-08-01 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 92f3a244227ca..c501c8ee56dd4 100644 --- a/api_docs/kbn_shared_ux_storybook_config.mdx +++ b/api_docs/kbn_shared_ux_storybook_config.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-storybook-config title: "@kbn/shared-ux-storybook-config" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-storybook-config plugin -date: 2023-07-31 +date: 2023-08-01 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 ed8c3531c86ce..81b2d6b56575d 100644 --- a/api_docs/kbn_shared_ux_storybook_mock.mdx +++ b/api_docs/kbn_shared_ux_storybook_mock.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-storybook-mock title: "@kbn/shared-ux-storybook-mock" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-storybook-mock plugin -date: 2023-07-31 +date: 2023-08-01 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 35740a1c47bee..736461f8ab9f3 100644 --- a/api_docs/kbn_shared_ux_utility.mdx +++ b/api_docs/kbn_shared_ux_utility.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-utility title: "@kbn/shared-ux-utility" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-utility plugin -date: 2023-07-31 +date: 2023-08-01 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.devdocs.json b/api_docs/kbn_slo_schema.devdocs.json index d7a3e97fed452..82ed114de663e 100644 --- a/api_docs/kbn_slo_schema.devdocs.json +++ b/api_docs/kbn_slo_schema.devdocs.json @@ -288,6 +288,22 @@ "trackAdoption": false, "children": [], "returnComment": [] + }, + { + "parentPluginId": "@kbn/slo-schema", + "id": "def-common.Duration.asSeconds", + "type": "Function", + "tags": [], + "label": "asSeconds", + "description": [], + "signature": [ + "() => number" + ], + "path": "x-pack/packages/kbn-slo-schema/src/models/duration.ts", + "deprecated": false, + "trackAdoption": false, + "children": [], + "returnComment": [] } ], "initialIsOpen": false @@ -680,7 +696,7 @@ "label": "FindSLOParams", "description": [], "signature": [ - "{ name?: string | undefined; indicatorTypes?: string[] | undefined; page?: string | undefined; perPage?: string | undefined; sortBy?: \"creationTime\" | \"indicatorType\" | undefined; sortDirection?: \"asc\" | \"desc\" | undefined; }" + "{ kqlQuery?: string | undefined; page?: string | undefined; perPage?: string | undefined; sortBy?: \"status\" | \"error_budget_consumed\" | \"error_budget_remaining\" | \"sli_value\" | undefined; sortDirection?: \"asc\" | \"desc\" | undefined; }" ], "path": "x-pack/packages/kbn-slo-schema/src/rest_specs/slo.ts", "deprecated": false, @@ -912,21 +928,6 @@ "trackAdoption": false, "initialIsOpen": false }, - { - "parentPluginId": "@kbn/slo-schema", - "id": "def-common.SummarySchema", - "type": "Type", - "tags": [], - "label": "SummarySchema", - "description": [], - "signature": [ - "{ status: \"HEALTHY\" | \"NO_DATA\" | \"DEGRADING\" | \"VIOLATED\"; sliValue: number; errorBudget: { initial: number; consumed: number; remaining: number; isEstimated: boolean; }; }" - ], - "path": "x-pack/packages/kbn-slo-schema/src/schema/common.ts", - "deprecated": false, - "trackAdoption": false, - "initialIsOpen": false - }, { "parentPluginId": "@kbn/slo-schema", "id": "def-common.TimeWindow", @@ -2328,11 +2329,9 @@ "PartialC", "<{ query: ", "PartialC", - "<{ name: ", + "<{ kqlQuery: ", "StringC", - "; indicatorTypes: ", - "Type", - "; page: ", + "; page: ", "StringC", "; perPage: ", "StringC", @@ -2340,9 +2339,13 @@ "UnionC", "<[", "LiteralC", - "<\"creationTime\">, ", + "<\"error_budget_consumed\">, ", + "LiteralC", + "<\"error_budget_remaining\">, ", + "LiteralC", + "<\"sli_value\">, ", "LiteralC", - "<\"indicatorType\">]>; sortDirection: ", + "<\"status\">]>; sortDirection: ", "UnionC", "<[", "LiteralC", diff --git a/api_docs/kbn_slo_schema.mdx b/api_docs/kbn_slo_schema.mdx index 33b784a4aa2c1..c6f5a1b0d7513 100644 --- a/api_docs/kbn_slo_schema.mdx +++ b/api_docs/kbn_slo_schema.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-slo-schema title: "@kbn/slo-schema" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/slo-schema plugin -date: 2023-07-31 +date: 2023-08-01 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 58d54750c1591..b4f2cbacb6af4 100644 --- a/api_docs/kbn_some_dev_log.mdx +++ b/api_docs/kbn_some_dev_log.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-some-dev-log title: "@kbn/some-dev-log" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/some-dev-log plugin -date: 2023-07-31 +date: 2023-08-01 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 6f8e243e75cf7..db7e2bda0cb6e 100644 --- a/api_docs/kbn_std.mdx +++ b/api_docs/kbn_std.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-std title: "@kbn/std" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/std plugin -date: 2023-07-31 +date: 2023-08-01 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 29105fca4cfdd..8fde26812681d 100644 --- a/api_docs/kbn_stdio_dev_helpers.mdx +++ b/api_docs/kbn_stdio_dev_helpers.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-stdio-dev-helpers title: "@kbn/stdio-dev-helpers" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/stdio-dev-helpers plugin -date: 2023-07-31 +date: 2023-08-01 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 d96a35b90d8b6..048e1b8d50010 100644 --- a/api_docs/kbn_storybook.mdx +++ b/api_docs/kbn_storybook.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-storybook title: "@kbn/storybook" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/storybook plugin -date: 2023-07-31 +date: 2023-08-01 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 d10f30d92cc5a..53f293a9e16ea 100644 --- a/api_docs/kbn_telemetry_tools.mdx +++ b/api_docs/kbn_telemetry_tools.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-telemetry-tools title: "@kbn/telemetry-tools" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/telemetry-tools plugin -date: 2023-07-31 +date: 2023-08-01 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 8afece7211584..751d7f9d7abd9 100644 --- a/api_docs/kbn_test.mdx +++ b/api_docs/kbn_test.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-test title: "@kbn/test" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/test plugin -date: 2023-07-31 +date: 2023-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/test'] --- import kbnTestObj from './kbn_test.devdocs.json'; diff --git a/api_docs/kbn_test_jest_helpers.mdx b/api_docs/kbn_test_jest_helpers.mdx index c91e492dddd5d..3da3a18b6904e 100644 --- a/api_docs/kbn_test_jest_helpers.mdx +++ b/api_docs/kbn_test_jest_helpers.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-test-jest-helpers title: "@kbn/test-jest-helpers" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/test-jest-helpers plugin -date: 2023-07-31 +date: 2023-08-01 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 76a5b6975e40c..884de6b45b913 100644 --- a/api_docs/kbn_test_subj_selector.mdx +++ b/api_docs/kbn_test_subj_selector.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-test-subj-selector title: "@kbn/test-subj-selector" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/test-subj-selector plugin -date: 2023-07-31 +date: 2023-08-01 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 19327d549c49c..04cd48891b7cf 100644 --- a/api_docs/kbn_text_based_editor.mdx +++ b/api_docs/kbn_text_based_editor.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-text-based-editor title: "@kbn/text-based-editor" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/text-based-editor plugin -date: 2023-07-31 +date: 2023-08-01 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 bb430d0166381..c9b2bce83bbc8 100644 --- a/api_docs/kbn_tooling_log.mdx +++ b/api_docs/kbn_tooling_log.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-tooling-log title: "@kbn/tooling-log" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/tooling-log plugin -date: 2023-07-31 +date: 2023-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/tooling-log'] --- import kbnToolingLogObj from './kbn_tooling_log.devdocs.json'; diff --git a/api_docs/kbn_ts_projects.mdx b/api_docs/kbn_ts_projects.mdx index 73821a59ec7dc..e440d2a140080 100644 --- a/api_docs/kbn_ts_projects.mdx +++ b/api_docs/kbn_ts_projects.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ts-projects title: "@kbn/ts-projects" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ts-projects plugin -date: 2023-07-31 +date: 2023-08-01 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 824a50d8f18c3..2098bc6214d34 100644 --- a/api_docs/kbn_typed_react_router_config.mdx +++ b/api_docs/kbn_typed_react_router_config.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-typed-react-router-config title: "@kbn/typed-react-router-config" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/typed-react-router-config plugin -date: 2023-07-31 +date: 2023-08-01 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 cd11bd91b59a4..b4119c3e29530 100644 --- a/api_docs/kbn_ui_actions_browser.mdx +++ b/api_docs/kbn_ui_actions_browser.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ui-actions-browser title: "@kbn/ui-actions-browser" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ui-actions-browser plugin -date: 2023-07-31 +date: 2023-08-01 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 d5df01c903847..d0b869a3a8312 100644 --- a/api_docs/kbn_ui_shared_deps_src.mdx +++ b/api_docs/kbn_ui_shared_deps_src.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ui-shared-deps-src title: "@kbn/ui-shared-deps-src" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ui-shared-deps-src plugin -date: 2023-07-31 +date: 2023-08-01 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 c36562ef2b579..85dc76108ae13 100644 --- a/api_docs/kbn_ui_theme.mdx +++ b/api_docs/kbn_ui_theme.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ui-theme title: "@kbn/ui-theme" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ui-theme plugin -date: 2023-07-31 +date: 2023-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ui-theme'] --- import kbnUiThemeObj from './kbn_ui_theme.devdocs.json'; diff --git a/api_docs/kbn_unified_field_list.mdx b/api_docs/kbn_unified_field_list.mdx index 3596fb3a01a1b..3b4b36a4ead2f 100644 --- a/api_docs/kbn_unified_field_list.mdx +++ b/api_docs/kbn_unified_field_list.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-unified-field-list title: "@kbn/unified-field-list" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/unified-field-list plugin -date: 2023-07-31 +date: 2023-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/unified-field-list'] --- import kbnUnifiedFieldListObj from './kbn_unified_field_list.devdocs.json'; diff --git a/api_docs/kbn_url_state.mdx b/api_docs/kbn_url_state.mdx index fb105f2f35a5d..a4f256ead694c 100644 --- a/api_docs/kbn_url_state.mdx +++ b/api_docs/kbn_url_state.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-url-state title: "@kbn/url-state" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/url-state plugin -date: 2023-07-31 +date: 2023-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/url-state'] --- import kbnUrlStateObj from './kbn_url_state.devdocs.json'; diff --git a/api_docs/kbn_user_profile_components.mdx b/api_docs/kbn_user_profile_components.mdx index 4205e3646a6ba..5dc1588bc2b29 100644 --- a/api_docs/kbn_user_profile_components.mdx +++ b/api_docs/kbn_user_profile_components.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-user-profile-components title: "@kbn/user-profile-components" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/user-profile-components plugin -date: 2023-07-31 +date: 2023-08-01 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 fa2cf062e19cc..84d7b3e10f3df 100644 --- a/api_docs/kbn_utility_types.mdx +++ b/api_docs/kbn_utility_types.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-utility-types title: "@kbn/utility-types" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/utility-types plugin -date: 2023-07-31 +date: 2023-08-01 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 5e01417c56500..45879828720ad 100644 --- a/api_docs/kbn_utility_types_jest.mdx +++ b/api_docs/kbn_utility_types_jest.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-utility-types-jest title: "@kbn/utility-types-jest" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/utility-types-jest plugin -date: 2023-07-31 +date: 2023-08-01 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 e0a707cbdba51..a05d30abff92e 100644 --- a/api_docs/kbn_utils.mdx +++ b/api_docs/kbn_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-utils title: "@kbn/utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/utils plugin -date: 2023-07-31 +date: 2023-08-01 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 54e14c5f6002c..bafd58b747ec6 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: 2023-07-31 +date: 2023-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/visualization-ui-components'] --- import kbnVisualizationUiComponentsObj from './kbn_visualization_ui_components.devdocs.json'; diff --git a/api_docs/kbn_yarn_lock_validator.mdx b/api_docs/kbn_yarn_lock_validator.mdx index 64a2b34ee8ab5..2bd83d4d1db52 100644 --- a/api_docs/kbn_yarn_lock_validator.mdx +++ b/api_docs/kbn_yarn_lock_validator.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-yarn-lock-validator title: "@kbn/yarn-lock-validator" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/yarn-lock-validator plugin -date: 2023-07-31 +date: 2023-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/yarn-lock-validator'] --- import kbnYarnLockValidatorObj from './kbn_yarn_lock_validator.devdocs.json'; diff --git a/api_docs/kibana_overview.mdx b/api_docs/kibana_overview.mdx index da195530b5055..a88194890c053 100644 --- a/api_docs/kibana_overview.mdx +++ b/api_docs/kibana_overview.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kibanaOverview title: "kibanaOverview" image: https://source.unsplash.com/400x175/?github description: API docs for the kibanaOverview plugin -date: 2023-07-31 +date: 2023-08-01 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 87d85fe5c6d6d..74e3c85ae0c15 100644 --- a/api_docs/kibana_react.devdocs.json +++ b/api_docs/kibana_react.devdocs.json @@ -1472,6 +1472,18 @@ "plugin": "dataVisualizer", "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/index_data_visualizer.tsx" }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/data_comparison/data_comparison_app_state.tsx" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/data_comparison/data_comparison_app_state.tsx" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/data_comparison/data_comparison_app_state.tsx" + }, { "plugin": "ml", "path": "x-pack/plugins/ml/public/embeddables/anomaly_charts/anomaly_charts_embeddable.tsx" @@ -3938,6 +3950,14 @@ "plugin": "dataVisualizer", "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/index_data_visualizer.tsx" }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/data_comparison/data_comparison_app_state.tsx" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/data_comparison/data_comparison_app_state.tsx" + }, { "plugin": "ml", "path": "x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_clone/clone_action_name.tsx" @@ -4296,11 +4316,11 @@ }, { "plugin": "synthetics", - "path": "x-pack/plugins/synthetics/public/apps/synthetics/components/test_now_mode/manual_test_run_mode/browser_test_results.tsx" + "path": "x-pack/plugins/synthetics/public/apps/synthetics/components/monitors_page/management/monitor_list_table/delete_monitor.tsx" }, { "plugin": "synthetics", - "path": "x-pack/plugins/synthetics/public/apps/synthetics/components/test_now_mode/manual_test_run_mode/browser_test_results.tsx" + "path": "x-pack/plugins/synthetics/public/apps/synthetics/components/monitors_page/management/monitor_list_table/delete_monitor.tsx" }, { "plugin": "synthetics", @@ -4308,11 +4328,11 @@ }, { "plugin": "synthetics", - "path": "x-pack/plugins/synthetics/public/apps/synthetics/components/monitors_page/management/monitor_list_table/delete_monitor.tsx" + "path": "x-pack/plugins/synthetics/public/apps/synthetics/components/test_now_mode/manual_test_run_mode/browser_test_results.tsx" }, { "plugin": "synthetics", - "path": "x-pack/plugins/synthetics/public/apps/synthetics/components/monitors_page/management/monitor_list_table/delete_monitor.tsx" + "path": "x-pack/plugins/synthetics/public/apps/synthetics/components/test_now_mode/manual_test_run_mode/browser_test_results.tsx" }, { "plugin": "synthetics", diff --git a/api_docs/kibana_react.mdx b/api_docs/kibana_react.mdx index 8ee4ed4e2d374..209dbe56f6b78 100644 --- a/api_docs/kibana_react.mdx +++ b/api_docs/kibana_react.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kibanaReact title: "kibanaReact" image: https://source.unsplash.com/400x175/?github description: API docs for the kibanaReact plugin -date: 2023-07-31 +date: 2023-08-01 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 9a417d345f6e7..ee83e64d4d773 100644 --- a/api_docs/kibana_utils.mdx +++ b/api_docs/kibana_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kibanaUtils title: "kibanaUtils" image: https://source.unsplash.com/400x175/?github description: API docs for the kibanaUtils plugin -date: 2023-07-31 +date: 2023-08-01 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 a8687a1a7f569..cf0cd7ad70baa 100644 --- a/api_docs/kubernetes_security.mdx +++ b/api_docs/kubernetes_security.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kubernetesSecurity title: "kubernetesSecurity" image: https://source.unsplash.com/400x175/?github description: API docs for the kubernetesSecurity plugin -date: 2023-07-31 +date: 2023-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'kubernetesSecurity'] --- import kubernetesSecurityObj from './kubernetes_security.devdocs.json'; diff --git a/api_docs/lens.devdocs.json b/api_docs/lens.devdocs.json index c2f213c20e516..67bdb8986ce48 100644 --- a/api_docs/lens.devdocs.json +++ b/api_docs/lens.devdocs.json @@ -8447,7 +8447,9 @@ }, " | undefined>; ticks?: number | undefined; domain?: ", + "> | undefined>; position?: ", + "Position", + " | undefined; ticks?: number | undefined; domain?: ", { "pluginId": "@kbn/chart-expressions-common", "scope": "common", @@ -8457,9 +8459,7 @@ }, "<", "YDomainRange", - " | undefined>; position?: ", - "Position", - " | undefined; hide?: boolean | undefined; showOverlappingTicks?: boolean | undefined; showOverlappingLabels?: boolean | undefined; timeAxisLayerCount?: number | undefined; integersOnly?: boolean | undefined; tickFormat?: \"ignore\" | undefined; labelFormat?: \"ignore\" | undefined; showDuplicatedTicks?: boolean | undefined; }>> & Partial; hide?: boolean | undefined; showOverlappingTicks?: boolean | undefined; showOverlappingLabels?: boolean | undefined; timeAxisLayerCount?: number | undefined; integersOnly?: boolean | undefined; tickFormat?: \"ignore\" | undefined; labelFormat?: \"ignore\" | undefined; showDuplicatedTicks?: boolean | undefined; }>> & Partial | undefined>; ticks?: number | undefined; domain?: ", + "> | undefined>; position?: ", + "Position", + " | undefined; ticks?: number | undefined; domain?: ", { "pluginId": "@kbn/chart-expressions-common", "scope": "common", @@ -10514,9 +10516,7 @@ }, "<", "YDomainRange", - " | undefined>; position?: ", - "Position", - " | undefined; hide?: boolean | undefined; showOverlappingTicks?: boolean | undefined; showOverlappingLabels?: boolean | undefined; timeAxisLayerCount?: number | undefined; integersOnly?: boolean | undefined; tickFormat?: \"ignore\" | undefined; labelFormat?: \"ignore\" | undefined; showDuplicatedTicks?: boolean | undefined; }>> | undefined; }" + " | undefined>; hide?: boolean | undefined; showOverlappingTicks?: boolean | undefined; showOverlappingLabels?: boolean | undefined; timeAxisLayerCount?: number | undefined; integersOnly?: boolean | undefined; tickFormat?: \"ignore\" | undefined; labelFormat?: \"ignore\" | undefined; showDuplicatedTicks?: boolean | undefined; }>> | undefined; }" ], "path": "x-pack/plugins/lens/public/embeddable/embeddable_component.tsx", "deprecated": false, diff --git a/api_docs/lens.mdx b/api_docs/lens.mdx index 53f649db41b78..9ef5b1747813b 100644 --- a/api_docs/lens.mdx +++ b/api_docs/lens.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/lens title: "lens" image: https://source.unsplash.com/400x175/?github description: API docs for the lens plugin -date: 2023-07-31 +date: 2023-08-01 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 5b880d9f9872e..828ca6a72bfd3 100644 --- a/api_docs/license_api_guard.mdx +++ b/api_docs/license_api_guard.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/licenseApiGuard title: "licenseApiGuard" image: https://source.unsplash.com/400x175/?github description: API docs for the licenseApiGuard plugin -date: 2023-07-31 +date: 2023-08-01 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 76f892fe2c4dc..5678210902ee4 100644 --- a/api_docs/license_management.mdx +++ b/api_docs/license_management.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/licenseManagement title: "licenseManagement" image: https://source.unsplash.com/400x175/?github description: API docs for the licenseManagement plugin -date: 2023-07-31 +date: 2023-08-01 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 d67f3618758e1..3f711591bcf5c 100644 --- a/api_docs/licensing.mdx +++ b/api_docs/licensing.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/licensing title: "licensing" image: https://source.unsplash.com/400x175/?github description: API docs for the licensing plugin -date: 2023-07-31 +date: 2023-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'licensing'] --- import licensingObj from './licensing.devdocs.json'; diff --git a/api_docs/lists.devdocs.json b/api_docs/lists.devdocs.json index 30c5fce02d391..d509b3a91d740 100644 --- a/api_docs/lists.devdocs.json +++ b/api_docs/lists.devdocs.json @@ -4223,7 +4223,7 @@ "SearchResponse", ">; }; helpers: ", "default", - "; name: string | symbol; [kAsyncSearch]: symbol | null; [kAutoscaling]: symbol | null; [kCat]: symbol | null; [kCcr]: symbol | null; [kCluster]: symbol | null; [kDanglingIndices]: symbol | null; [kEnrich]: symbol | null; [kEql]: symbol | null; [kFeatures]: symbol | null; [kFleet]: symbol | null; [kGraph]: symbol | null; [kIlm]: symbol | null; [kIndices]: symbol | null; [kIngest]: symbol | null; [kLicense]: symbol | null; [kLogstash]: symbol | null; [kMigration]: symbol | null; [kMl]: symbol | null; [kMonitoring]: symbol | null; [kNodes]: symbol | null; [kRollup]: symbol | null; [kSearchApplication]: symbol | null; [kSearchableSnapshots]: symbol | null; [kSecurity]: symbol | null; [kShutdown]: symbol | null; [kSlm]: symbol | null; [kSnapshot]: symbol | null; [kSql]: symbol | null; [kSsl]: symbol | null; [kTasks]: symbol | null; [kTextStructure]: symbol | null; [kTransform]: symbol | null; [kWatcher]: symbol | null; [kXpack]: symbol | null; transport: ", + "; name: string | symbol; [kAsyncSearch]: symbol | null; [kAutoscaling]: symbol | null; [kCat]: symbol | null; [kCcr]: symbol | null; [kCluster]: symbol | null; [kDanglingIndices]: symbol | null; [kEnrich]: symbol | null; [kEql]: symbol | null; [kFeatures]: symbol | null; [kFleet]: symbol | null; [kGraph]: symbol | null; [kIlm]: symbol | null; [kIndices]: symbol | null; [kIngest]: symbol | null; [kLicense]: symbol | null; [kLogstash]: symbol | null; [kMigration]: symbol | null; [kMl]: symbol | null; [kMonitoring]: symbol | null; [kNodes]: symbol | null; [kRollup]: symbol | null; [kSearchApplication]: symbol | null; [kSearchableSnapshots]: symbol | null; [kSecurity]: symbol | null; [kShutdown]: symbol | null; [kSlm]: symbol | null; [kSnapshot]: symbol | null; [kSql]: symbol | null; [kSsl]: symbol | null; [kSynonyms]: symbol | null; [kTasks]: symbol | null; [kTextStructure]: symbol | null; [kTransform]: symbol | null; [kWatcher]: symbol | null; [kXpack]: symbol | null; transport: ", "default", "; child: (opts: ", "ClientOptions", @@ -5185,6 +5185,8 @@ "default", "; ssl: ", "default", + "; synonyms: ", + "default", "; tasks: ", "default", "; termsEnum: { (this: That, params: ", diff --git a/api_docs/lists.mdx b/api_docs/lists.mdx index f8f5a5ff6a7e9..18c92881fe3ad 100644 --- a/api_docs/lists.mdx +++ b/api_docs/lists.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/lists title: "lists" image: https://source.unsplash.com/400x175/?github description: API docs for the lists plugin -date: 2023-07-31 +date: 2023-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'lists'] --- import listsObj from './lists.devdocs.json'; diff --git a/api_docs/logs_shared.mdx b/api_docs/logs_shared.mdx index 4511c4e35e22e..964d943388d9b 100644 --- a/api_docs/logs_shared.mdx +++ b/api_docs/logs_shared.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/logsShared title: "logsShared" image: https://source.unsplash.com/400x175/?github description: API docs for the logsShared plugin -date: 2023-07-31 +date: 2023-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'logsShared'] --- import logsSharedObj from './logs_shared.devdocs.json'; diff --git a/api_docs/management.mdx b/api_docs/management.mdx index 76122378804f6..1b763644608a6 100644 --- a/api_docs/management.mdx +++ b/api_docs/management.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/management title: "management" image: https://source.unsplash.com/400x175/?github description: API docs for the management plugin -date: 2023-07-31 +date: 2023-08-01 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 8179210364617..661d5d62bf686 100644 --- a/api_docs/maps.mdx +++ b/api_docs/maps.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/maps title: "maps" image: https://source.unsplash.com/400x175/?github description: API docs for the maps plugin -date: 2023-07-31 +date: 2023-08-01 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 1457a5d082371..e992418fd37e8 100644 --- a/api_docs/maps_ems.mdx +++ b/api_docs/maps_ems.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/mapsEms title: "mapsEms" image: https://source.unsplash.com/400x175/?github description: API docs for the mapsEms plugin -date: 2023-07-31 +date: 2023-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'mapsEms'] --- import mapsEmsObj from './maps_ems.devdocs.json'; diff --git a/api_docs/ml.devdocs.json b/api_docs/ml.devdocs.json index f3f69dffc0556..cced2333d264f 100644 --- a/api_docs/ml.devdocs.json +++ b/api_docs/ml.devdocs.json @@ -1025,7 +1025,7 @@ "label": "ML_PAGES", "description": [], "signature": [ - "{ readonly ANOMALY_DETECTION_JOBS_MANAGE: \"jobs\"; readonly ANOMALY_EXPLORER: \"explorer\"; readonly SINGLE_METRIC_VIEWER: \"timeseriesexplorer\"; readonly DATA_FRAME_ANALYTICS_JOBS_MANAGE: \"data_frame_analytics\"; readonly DATA_FRAME_ANALYTICS_SOURCE_SELECTION: \"data_frame_analytics/source_selection\"; readonly DATA_FRAME_ANALYTICS_CREATE_JOB: \"data_frame_analytics/new_job\"; readonly TRAINED_MODELS_MANAGE: \"trained_models\"; readonly NODES: \"nodes\"; readonly MEMORY_USAGE: \"memory_usage\"; readonly DATA_FRAME_ANALYTICS_EXPLORATION: \"data_frame_analytics/exploration\"; readonly DATA_FRAME_ANALYTICS_MAP: \"data_frame_analytics/map\"; readonly DATA_VISUALIZER: \"datavisualizer\"; readonly DATA_VISUALIZER_INDEX_SELECT: \"datavisualizer_index_select\"; readonly DATA_VISUALIZER_FILE: \"filedatavisualizer\"; readonly DATA_VISUALIZER_INDEX_VIEWER: \"jobs/new_job/datavisualizer\"; readonly ANOMALY_DETECTION_CREATE_JOB: \"jobs/new_job\"; readonly ANOMALY_DETECTION_CREATE_JOB_RECOGNIZER: \"jobs/new_job/recognize\"; readonly ANOMALY_DETECTION_CREATE_JOB_SINGLE_METRIC: \"jobs/new_job/single_metric\"; readonly ANOMALY_DETECTION_CREATE_JOB_MULTI_METRIC: \"jobs/new_job/multi_metric\"; readonly ANOMALY_DETECTION_CREATE_JOB_CONVERT_TO_MULTI_METRIC: \"jobs/new_job/convert_to_multi_metric\"; readonly ANOMALY_DETECTION_CREATE_JOB_ADVANCED: \"jobs/new_job/advanced\"; readonly ANOMALY_DETECTION_CREATE_JOB_POPULATION: \"jobs/new_job/population\"; readonly ANOMALY_DETECTION_CREATE_JOB_CATEGORIZATION: \"jobs/new_job/categorization\"; readonly ANOMALY_DETECTION_CREATE_JOB_RARE: \"jobs/new_job/rare\"; readonly ANOMALY_DETECTION_CREATE_JOB_GEO: \"jobs/new_job/geo\"; readonly ANOMALY_DETECTION_CREATE_JOB_CONVERT_TO_ADVANCED: \"jobs/new_job/convert_to_advanced\"; readonly ANOMALY_DETECTION_CREATE_JOB_SELECT_TYPE: \"jobs/new_job/step/job_type\"; readonly ANOMALY_DETECTION_CREATE_JOB_SELECT_INDEX: \"jobs/new_job/step/index_or_search\"; readonly ANOMALY_DETECTION_CREATE_JOB_FROM_LENS: \"jobs/new_job/from_lens\"; readonly ANOMALY_DETECTION_CREATE_JOB_FROM_MAP: \"jobs/new_job/from_map\"; readonly ANOMALY_DETECTION_MODULES_VIEW_OR_CREATE: \"modules/check_view_or_create\"; readonly SETTINGS: \"settings\"; readonly CALENDARS_MANAGE: \"settings/calendars_list\"; readonly CALENDARS_NEW: \"settings/calendars_list/new_calendar\"; readonly CALENDARS_EDIT: \"settings/calendars_list/edit_calendar\"; readonly FILTER_LISTS_MANAGE: \"settings/filter_lists\"; readonly FILTER_LISTS_NEW: \"settings/filter_lists/new_filter_list\"; readonly FILTER_LISTS_EDIT: \"settings/filter_lists/edit_filter_list\"; readonly OVERVIEW: \"overview\"; readonly NOTIFICATIONS: \"notifications\"; readonly AIOPS: \"aiops\"; readonly AIOPS_EXPLAIN_LOG_RATE_SPIKES: \"aiops/explain_log_rate_spikes\"; readonly AIOPS_EXPLAIN_LOG_RATE_SPIKES_INDEX_SELECT: \"aiops/explain_log_rate_spikes_index_select\"; readonly AIOPS_LOG_RATE_ANALYSIS: \"aiops/log_rate_analysis\"; readonly AIOPS_LOG_RATE_ANALYSIS_INDEX_SELECT: \"aiops/log_rate_analysis_index_select\"; readonly AIOPS_LOG_CATEGORIZATION: \"aiops/log_categorization\"; readonly AIOPS_LOG_CATEGORIZATION_INDEX_SELECT: \"aiops/log_categorization_index_select\"; readonly AIOPS_CHANGE_POINT_DETECTION: \"aiops/change_point_detection\"; readonly AIOPS_CHANGE_POINT_DETECTION_INDEX_SELECT: \"aiops/change_point_detection_index_select\"; }" + "{ readonly ANOMALY_DETECTION_JOBS_MANAGE: \"jobs\"; readonly ANOMALY_EXPLORER: \"explorer\"; readonly SINGLE_METRIC_VIEWER: \"timeseriesexplorer\"; readonly DATA_FRAME_ANALYTICS_JOBS_MANAGE: \"data_frame_analytics\"; readonly DATA_FRAME_ANALYTICS_SOURCE_SELECTION: \"data_frame_analytics/source_selection\"; readonly DATA_FRAME_ANALYTICS_CREATE_JOB: \"data_frame_analytics/new_job\"; readonly TRAINED_MODELS_MANAGE: \"trained_models\"; readonly DATA_COMPARISON_INDEX_SELECT: \"data_comparison_index_select\"; readonly DATA_COMPARISON: \"data_comparison\"; readonly NODES: \"nodes\"; readonly MEMORY_USAGE: \"memory_usage\"; readonly DATA_FRAME_ANALYTICS_EXPLORATION: \"data_frame_analytics/exploration\"; readonly DATA_FRAME_ANALYTICS_MAP: \"data_frame_analytics/map\"; readonly DATA_VISUALIZER: \"datavisualizer\"; readonly DATA_VISUALIZER_INDEX_SELECT: \"datavisualizer_index_select\"; readonly DATA_VISUALIZER_FILE: \"filedatavisualizer\"; readonly DATA_VISUALIZER_INDEX_VIEWER: \"jobs/new_job/datavisualizer\"; readonly ANOMALY_DETECTION_CREATE_JOB: \"jobs/new_job\"; readonly ANOMALY_DETECTION_CREATE_JOB_RECOGNIZER: \"jobs/new_job/recognize\"; readonly ANOMALY_DETECTION_CREATE_JOB_SINGLE_METRIC: \"jobs/new_job/single_metric\"; readonly ANOMALY_DETECTION_CREATE_JOB_MULTI_METRIC: \"jobs/new_job/multi_metric\"; readonly ANOMALY_DETECTION_CREATE_JOB_CONVERT_TO_MULTI_METRIC: \"jobs/new_job/convert_to_multi_metric\"; readonly ANOMALY_DETECTION_CREATE_JOB_ADVANCED: \"jobs/new_job/advanced\"; readonly ANOMALY_DETECTION_CREATE_JOB_POPULATION: \"jobs/new_job/population\"; readonly ANOMALY_DETECTION_CREATE_JOB_CATEGORIZATION: \"jobs/new_job/categorization\"; readonly ANOMALY_DETECTION_CREATE_JOB_RARE: \"jobs/new_job/rare\"; readonly ANOMALY_DETECTION_CREATE_JOB_GEO: \"jobs/new_job/geo\"; readonly ANOMALY_DETECTION_CREATE_JOB_CONVERT_TO_ADVANCED: \"jobs/new_job/convert_to_advanced\"; readonly ANOMALY_DETECTION_CREATE_JOB_SELECT_TYPE: \"jobs/new_job/step/job_type\"; readonly ANOMALY_DETECTION_CREATE_JOB_SELECT_INDEX: \"jobs/new_job/step/index_or_search\"; readonly ANOMALY_DETECTION_CREATE_JOB_FROM_LENS: \"jobs/new_job/from_lens\"; readonly ANOMALY_DETECTION_CREATE_JOB_FROM_MAP: \"jobs/new_job/from_map\"; readonly ANOMALY_DETECTION_MODULES_VIEW_OR_CREATE: \"modules/check_view_or_create\"; readonly SETTINGS: \"settings\"; readonly CALENDARS_MANAGE: \"settings/calendars_list\"; readonly CALENDARS_NEW: \"settings/calendars_list/new_calendar\"; readonly CALENDARS_EDIT: \"settings/calendars_list/edit_calendar\"; readonly FILTER_LISTS_MANAGE: \"settings/filter_lists\"; readonly FILTER_LISTS_NEW: \"settings/filter_lists/new_filter_list\"; readonly FILTER_LISTS_EDIT: \"settings/filter_lists/edit_filter_list\"; readonly OVERVIEW: \"overview\"; readonly NOTIFICATIONS: \"notifications\"; readonly AIOPS: \"aiops\"; readonly AIOPS_EXPLAIN_LOG_RATE_SPIKES: \"aiops/explain_log_rate_spikes\"; readonly AIOPS_EXPLAIN_LOG_RATE_SPIKES_INDEX_SELECT: \"aiops/explain_log_rate_spikes_index_select\"; readonly AIOPS_LOG_RATE_ANALYSIS: \"aiops/log_rate_analysis\"; readonly AIOPS_LOG_RATE_ANALYSIS_INDEX_SELECT: \"aiops/log_rate_analysis_index_select\"; readonly AIOPS_LOG_CATEGORIZATION: \"aiops/log_categorization\"; readonly AIOPS_LOG_CATEGORIZATION_INDEX_SELECT: \"aiops/log_categorization_index_select\"; readonly AIOPS_CHANGE_POINT_DETECTION: \"aiops/change_point_detection\"; readonly AIOPS_CHANGE_POINT_DETECTION_INDEX_SELECT: \"aiops/change_point_detection_index_select\"; }" ], "path": "x-pack/plugins/ml/common/constants/locator.ts", "deprecated": false, diff --git a/api_docs/ml.mdx b/api_docs/ml.mdx index d51e15c9c246f..d9ca904c28a67 100644 --- a/api_docs/ml.mdx +++ b/api_docs/ml.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/ml title: "ml" image: https://source.unsplash.com/400x175/?github description: API docs for the ml plugin -date: 2023-07-31 +date: 2023-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'ml'] --- import mlObj from './ml.devdocs.json'; diff --git a/api_docs/monitoring.mdx b/api_docs/monitoring.mdx index 7117e12651b23..d4f2f63e355a0 100644 --- a/api_docs/monitoring.mdx +++ b/api_docs/monitoring.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/monitoring title: "monitoring" image: https://source.unsplash.com/400x175/?github description: API docs for the monitoring plugin -date: 2023-07-31 +date: 2023-08-01 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 30a3e1b686166..ef6425dc00eb2 100644 --- a/api_docs/monitoring_collection.mdx +++ b/api_docs/monitoring_collection.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/monitoringCollection title: "monitoringCollection" image: https://source.unsplash.com/400x175/?github description: API docs for the monitoringCollection plugin -date: 2023-07-31 +date: 2023-08-01 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 d98e37ae8eb02..d31170da5ae0f 100644 --- a/api_docs/navigation.mdx +++ b/api_docs/navigation.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/navigation title: "navigation" image: https://source.unsplash.com/400x175/?github description: API docs for the navigation plugin -date: 2023-07-31 +date: 2023-08-01 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 2ad24cfe3c323..6c7518f523604 100644 --- a/api_docs/newsfeed.mdx +++ b/api_docs/newsfeed.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/newsfeed title: "newsfeed" image: https://source.unsplash.com/400x175/?github description: API docs for the newsfeed plugin -date: 2023-07-31 +date: 2023-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'newsfeed'] --- import newsfeedObj from './newsfeed.devdocs.json'; diff --git a/api_docs/notifications.mdx b/api_docs/notifications.mdx index c7dce08a36c6b..01255a8b1a5b0 100644 --- a/api_docs/notifications.mdx +++ b/api_docs/notifications.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/notifications title: "notifications" image: https://source.unsplash.com/400x175/?github description: API docs for the notifications plugin -date: 2023-07-31 +date: 2023-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'notifications'] --- import notificationsObj from './notifications.devdocs.json'; diff --git a/api_docs/observability.devdocs.json b/api_docs/observability.devdocs.json index 2c9c85e458f7b..5c1400d460fff 100644 --- a/api_docs/observability.devdocs.json +++ b/api_docs/observability.devdocs.json @@ -1284,7 +1284,7 @@ "label": "unit", "description": [], "signature": [ - "\"m\" | \"M\" | \"w\" | \"d\" | \"h\" | \"Y\"" + "\"m\" | \"M\" | \"w\" | \"d\" | \"h\"" ], "path": "x-pack/plugins/observability/public/typings/slo/index.ts", "deprecated": false, @@ -3702,7 +3702,7 @@ "label": "DurationUnit", "description": [], "signature": [ - "\"m\" | \"M\" | \"w\" | \"d\" | \"h\" | \"Y\"" + "\"m\" | \"M\" | \"w\" | \"d\" | \"h\"" ], "path": "x-pack/plugins/observability/public/typings/slo/index.ts", "deprecated": false, @@ -4631,7 +4631,7 @@ "SearchResponse", ">; }; helpers: ", "default", - "; name: string | symbol; [kAsyncSearch]: symbol | null; [kAutoscaling]: symbol | null; [kCat]: symbol | null; [kCcr]: symbol | null; [kCluster]: symbol | null; [kDanglingIndices]: symbol | null; [kEnrich]: symbol | null; [kEql]: symbol | null; [kFeatures]: symbol | null; [kFleet]: symbol | null; [kGraph]: symbol | null; [kIlm]: symbol | null; [kIndices]: symbol | null; [kIngest]: symbol | null; [kLicense]: symbol | null; [kLogstash]: symbol | null; [kMigration]: symbol | null; [kMl]: symbol | null; [kMonitoring]: symbol | null; [kNodes]: symbol | null; [kRollup]: symbol | null; [kSearchApplication]: symbol | null; [kSearchableSnapshots]: symbol | null; [kSecurity]: symbol | null; [kShutdown]: symbol | null; [kSlm]: symbol | null; [kSnapshot]: symbol | null; [kSql]: symbol | null; [kSsl]: symbol | null; [kTasks]: symbol | null; [kTextStructure]: symbol | null; [kTransform]: symbol | null; [kWatcher]: symbol | null; [kXpack]: symbol | null; transport: ", + "; name: string | symbol; [kAsyncSearch]: symbol | null; [kAutoscaling]: symbol | null; [kCat]: symbol | null; [kCcr]: symbol | null; [kCluster]: symbol | null; [kDanglingIndices]: symbol | null; [kEnrich]: symbol | null; [kEql]: symbol | null; [kFeatures]: symbol | null; [kFleet]: symbol | null; [kGraph]: symbol | null; [kIlm]: symbol | null; [kIndices]: symbol | null; [kIngest]: symbol | null; [kLicense]: symbol | null; [kLogstash]: symbol | null; [kMigration]: symbol | null; [kMl]: symbol | null; [kMonitoring]: symbol | null; [kNodes]: symbol | null; [kRollup]: symbol | null; [kSearchApplication]: symbol | null; [kSearchableSnapshots]: symbol | null; [kSecurity]: symbol | null; [kShutdown]: symbol | null; [kSlm]: symbol | null; [kSnapshot]: symbol | null; [kSql]: symbol | null; [kSsl]: symbol | null; [kSynonyms]: symbol | null; [kTasks]: symbol | null; [kTextStructure]: symbol | null; [kTransform]: symbol | null; [kWatcher]: symbol | null; [kXpack]: symbol | null; transport: ", "default", "; child: (opts: ", "ClientOptions", @@ -5593,6 +5593,8 @@ "default", "; ssl: ", "default", + "; synonyms: ", + "default", "; tasks: ", "default", "; termsEnum: { (this: That, params: ", @@ -5944,7 +5946,7 @@ "SearchResponse", ">; }; helpers: ", "default", - "; name: string | symbol; [kAsyncSearch]: symbol | null; [kAutoscaling]: symbol | null; [kCat]: symbol | null; [kCcr]: symbol | null; [kCluster]: symbol | null; [kDanglingIndices]: symbol | null; [kEnrich]: symbol | null; [kEql]: symbol | null; [kFeatures]: symbol | null; [kFleet]: symbol | null; [kGraph]: symbol | null; [kIlm]: symbol | null; [kIndices]: symbol | null; [kIngest]: symbol | null; [kLicense]: symbol | null; [kLogstash]: symbol | null; [kMigration]: symbol | null; [kMl]: symbol | null; [kMonitoring]: symbol | null; [kNodes]: symbol | null; [kRollup]: symbol | null; [kSearchApplication]: symbol | null; [kSearchableSnapshots]: symbol | null; [kSecurity]: symbol | null; [kShutdown]: symbol | null; [kSlm]: symbol | null; [kSnapshot]: symbol | null; [kSql]: symbol | null; [kSsl]: symbol | null; [kTasks]: symbol | null; [kTextStructure]: symbol | null; [kTransform]: symbol | null; [kWatcher]: symbol | null; [kXpack]: symbol | null; transport: ", + "; name: string | symbol; [kAsyncSearch]: symbol | null; [kAutoscaling]: symbol | null; [kCat]: symbol | null; [kCcr]: symbol | null; [kCluster]: symbol | null; [kDanglingIndices]: symbol | null; [kEnrich]: symbol | null; [kEql]: symbol | null; [kFeatures]: symbol | null; [kFleet]: symbol | null; [kGraph]: symbol | null; [kIlm]: symbol | null; [kIndices]: symbol | null; [kIngest]: symbol | null; [kLicense]: symbol | null; [kLogstash]: symbol | null; [kMigration]: symbol | null; [kMl]: symbol | null; [kMonitoring]: symbol | null; [kNodes]: symbol | null; [kRollup]: symbol | null; [kSearchApplication]: symbol | null; [kSearchableSnapshots]: symbol | null; [kSecurity]: symbol | null; [kShutdown]: symbol | null; [kSlm]: symbol | null; [kSnapshot]: symbol | null; [kSql]: symbol | null; [kSsl]: symbol | null; [kSynonyms]: symbol | null; [kTasks]: symbol | null; [kTextStructure]: symbol | null; [kTransform]: symbol | null; [kWatcher]: symbol | null; [kXpack]: symbol | null; transport: ", "default", "; child: (opts: ", "ClientOptions", @@ -6906,6 +6908,8 @@ "default", "; ssl: ", "default", + "; synonyms: ", + "default", "; tasks: ", "default", "; termsEnum: { (this: That, params: ", @@ -8316,21 +8320,51 @@ "section": "def-server.ObservabilityRouteHandlerResources", "text": "ObservabilityRouteHandlerResources" }, - " & { params: { path: { id: string; }; }; }) => Promise<{ sloResources: { [x: string]: string; \".slo-observability.sli\": string; \".slo-observability.sli-mappings\": string; \".slo-observability.sli-settings\": string; } | undefined; sloSavedObject: string | ", + " & { params: { path: { id: string; }; }; }) => Promise<{ sloResources: { \".slo-observability.sli\": string; \".slo-observability.sli-mappings\": string; \".slo-observability.sli-settings\": string; \".slo-observability.sli.pipeline\": string; } | undefined; sloSummaryResources: { \".slo-observability.summary\": string; \".slo-observability.summary-mappings\": string; \".slo-observability.summary-settings\": string; } | undefined; slo: string | { id: string; name: string; description: string; indicator: { type: \"sli.apm.transactionDuration\"; params: { environment: string; service: string; transactionType: string; transactionName: string; threshold: number; index: string; } & { filter?: string | undefined; }; } | { type: \"sli.apm.transactionErrorRate\"; params: { environment: string; service: string; transactionType: string; transactionName: string; index: string; } & { filter?: string | undefined; }; } | { type: \"sli.kql.custom\"; params: { index: string; filter: string; good: string; total: string; timestampField: string; }; } | { type: \"sli.metric.custom\"; params: { index: string; filter: string; good: { metrics: ({ name: string; aggregation: \"sum\"; field: string; } & { filter?: string | undefined; })[]; equation: string; }; total: { metrics: ({ name: string; aggregation: \"sum\"; field: string; } & { filter?: string | undefined; })[]; equation: string; }; timestampField: string; }; } | { type: \"sli.histogram.custom\"; params: { index: string; timestampField: string; filter: string; good: ({ field: string; aggregation: \"value_count\"; } & { filter?: string | undefined; }) | ({ field: string; aggregation: \"range\"; from: number; to: number; } & { filter?: string | undefined; }); total: ({ field: string; aggregation: \"value_count\"; } & { filter?: string | undefined; }) | ({ field: string; aggregation: \"range\"; from: number; to: number; } & { filter?: string | undefined; }); }; }; timeWindow: { duration: ", + { + "pluginId": "@kbn/slo-schema", + "scope": "common", + "docId": "kibKbnSloSchemaPluginApi", + "section": "def-common.Duration", + "text": "Duration" + }, + "; type: \"rolling\"; } | { duration: ", + { + "pluginId": "@kbn/slo-schema", + "scope": "common", + "docId": "kibKbnSloSchemaPluginApi", + "section": "def-common.Duration", + "text": "Duration" + }, + "; type: \"calendarAligned\"; }; budgetingMethod: \"occurrences\" | \"timeslices\"; objective: { target: number; } & { timesliceTarget?: number | undefined; timesliceWindow?: ", + { + "pluginId": "@kbn/slo-schema", + "scope": "common", + "docId": "kibKbnSloSchemaPluginApi", + "section": "def-common.Duration", + "text": "Duration" + }, + " | undefined; }; settings: { syncDelay: ", { - "pluginId": "@kbn/core-saved-objects-common", + "pluginId": "@kbn/slo-schema", "scope": "common", - "docId": "kibKbnCoreSavedObjectsCommonPluginApi", - "section": "def-common.SavedObject", - "text": "SavedObject" + "docId": "kibKbnSloSchemaPluginApi", + "section": "def-common.Duration", + "text": "Duration" }, - "<{ id: string; name: string; description: string; indicator: { type: \"sli.apm.transactionDuration\"; params: { environment: string; service: string; transactionType: string; transactionName: string; threshold: number; index: string; } & { filter?: string | undefined; }; } | { type: \"sli.apm.transactionErrorRate\"; params: { environment: string; service: string; transactionType: string; transactionName: string; index: string; } & { filter?: string | undefined; }; } | { type: \"sli.kql.custom\"; params: { index: string; filter: string; good: string; total: string; timestampField: string; }; } | { type: \"sli.metric.custom\"; params: { index: string; filter: string; good: { metrics: ({ name: string; aggregation: \"sum\"; field: string; } & { filter?: string | undefined; })[]; equation: string; }; total: { metrics: ({ name: string; aggregation: \"sum\"; field: string; } & { filter?: string | undefined; })[]; equation: string; }; timestampField: string; }; } | { type: \"sli.histogram.custom\"; params: { index: string; timestampField: string; filter: string; good: ({ field: string; aggregation: \"value_count\"; } & { filter?: string | undefined; }) | ({ field: string; aggregation: \"range\"; from: number; to: number; } & { filter?: string | undefined; }); total: ({ field: string; aggregation: \"value_count\"; } & { filter?: string | undefined; }) | ({ field: string; aggregation: \"range\"; from: number; to: number; } & { filter?: string | undefined; }); }; }; timeWindow: { duration: string; type: \"rolling\"; } | { duration: string; type: \"calendarAligned\"; }; budgetingMethod: \"occurrences\" | \"timeslices\"; objective: { target: number; } & { timesliceTarget?: number | undefined; timesliceWindow?: string | undefined; }; settings: { syncDelay: string; frequency: string; }; revision: number; enabled: boolean; tags: string[]; createdAt: string; updatedAt: string; }>; sloTransformStats: ", + "; frequency: ", + { + "pluginId": "@kbn/slo-schema", + "scope": "common", + "docId": "kibKbnSloSchemaPluginApi", + "section": "def-common.Duration", + "text": "Duration" + }, + "; }; revision: number; enabled: boolean; tags: string[]; createdAt: Date; updatedAt: Date; }; sloTransformStats: ", + "TransformGetTransformStatsResponse", + "; sloSummaryTransformsStats: ", "TransformGetTransformStatsResponse", - "; dataSample: string | ", - "SearchResponse", - ">; }>; } & ", + "; }>; } & ", { "pluginId": "observability", "scope": "server", @@ -8350,7 +8384,9 @@ "PublicLicenseJSON", "; userPrivileges: ", "SecurityGetUserPrivilegesResponse", - "; sloResources: { [x: string]: string; \".slo-observability.sli\": string; \".slo-observability.sli-mappings\": string; \".slo-observability.sli-settings\": string; } | undefined; }>; } & ", + "; sloResources: { \".slo-observability.sli\": string; \".slo-observability.sli-mappings\": string; \".slo-observability.sli-settings\": string; \".slo-observability.sli.pipeline\": string; } | undefined; sloSummaryResources: { \".slo-observability.summary\": string; \".slo-observability.summary-mappings\": string; \".slo-observability.summary-settings\": string; } | undefined; sloSummaryTransformsStats: ", + "TransformGetTransformStatsResponse", + "; }>; } & ", { "pluginId": "observability", "scope": "server", @@ -8754,11 +8790,9 @@ "PartialC", "<{ query: ", "PartialC", - "<{ name: ", + "<{ kqlQuery: ", "StringC", - "; indicatorTypes: ", - "Type", - "; page: ", + "; page: ", "StringC", "; perPage: ", "StringC", @@ -8766,9 +8800,13 @@ "UnionC", "<[", "LiteralC", - "<\"creationTime\">, ", + "<\"error_budget_consumed\">, ", + "LiteralC", + "<\"error_budget_remaining\">, ", "LiteralC", - "<\"indicatorType\">]>; sortDirection: ", + "<\"sli_value\">, ", + "LiteralC", + "<\"status\">]>; sortDirection: ", "UnionC", "<[", "LiteralC", @@ -8782,7 +8820,7 @@ "section": "def-server.ObservabilityRouteHandlerResources", "text": "ObservabilityRouteHandlerResources" }, - " & { params?: { query?: { name?: string | undefined; indicatorTypes?: string[] | undefined; page?: string | undefined; perPage?: string | undefined; sortBy?: \"creationTime\" | \"indicatorType\" | undefined; sortDirection?: \"asc\" | \"desc\" | undefined; } | undefined; } | undefined; }) => Promise<{ page: number; perPage: number; total: number; results: ({ id: string; name: string; description: string; indicator: { type: \"sli.apm.transactionDuration\"; params: { environment: string; service: string; transactionType: string; transactionName: string; threshold: number; index: string; } & { filter?: string | undefined; }; } | { type: \"sli.apm.transactionErrorRate\"; params: { environment: string; service: string; transactionType: string; transactionName: string; index: string; } & { filter?: string | undefined; }; } | { type: \"sli.kql.custom\"; params: { index: string; filter: string; good: string; total: string; timestampField: string; }; } | { type: \"sli.metric.custom\"; params: { index: string; filter: string; good: { metrics: ({ name: string; aggregation: \"sum\"; field: string; } & { filter?: string | undefined; })[]; equation: string; }; total: { metrics: ({ name: string; aggregation: \"sum\"; field: string; } & { filter?: string | undefined; })[]; equation: string; }; timestampField: string; }; } | { type: \"sli.histogram.custom\"; params: { index: string; timestampField: string; filter: string; good: ({ field: string; aggregation: \"value_count\"; } & { filter?: string | undefined; }) | ({ field: string; aggregation: \"range\"; from: number; to: number; } & { filter?: string | undefined; }); total: ({ field: string; aggregation: \"value_count\"; } & { filter?: string | undefined; }) | ({ field: string; aggregation: \"range\"; from: number; to: number; } & { filter?: string | undefined; }); }; }; timeWindow: { duration: string; type: \"rolling\"; } | { duration: string; type: \"calendarAligned\"; }; budgetingMethod: \"occurrences\" | \"timeslices\"; objective: { target: number; } & { timesliceTarget?: number | undefined; timesliceWindow?: string | undefined; }; revision: number; settings: { syncDelay: string; frequency: string; }; enabled: boolean; tags: string[]; createdAt: string; updatedAt: string; } & { summary: { status: \"HEALTHY\" | \"NO_DATA\" | \"DEGRADING\" | \"VIOLATED\"; sliValue: number; errorBudget: { initial: number; consumed: number; remaining: number; isEstimated: boolean; }; }; })[]; }>; } & ", + " & { params?: { query?: { kqlQuery?: string | undefined; page?: string | undefined; perPage?: string | undefined; sortBy?: \"status\" | \"error_budget_consumed\" | \"error_budget_remaining\" | \"sli_value\" | undefined; sortDirection?: \"asc\" | \"desc\" | undefined; } | undefined; } | undefined; }) => Promise<{ page: number; perPage: number; total: number; results: ({ id: string; name: string; description: string; indicator: { type: \"sli.apm.transactionDuration\"; params: { environment: string; service: string; transactionType: string; transactionName: string; threshold: number; index: string; } & { filter?: string | undefined; }; } | { type: \"sli.apm.transactionErrorRate\"; params: { environment: string; service: string; transactionType: string; transactionName: string; index: string; } & { filter?: string | undefined; }; } | { type: \"sli.kql.custom\"; params: { index: string; filter: string; good: string; total: string; timestampField: string; }; } | { type: \"sli.metric.custom\"; params: { index: string; filter: string; good: { metrics: ({ name: string; aggregation: \"sum\"; field: string; } & { filter?: string | undefined; })[]; equation: string; }; total: { metrics: ({ name: string; aggregation: \"sum\"; field: string; } & { filter?: string | undefined; })[]; equation: string; }; timestampField: string; }; } | { type: \"sli.histogram.custom\"; params: { index: string; timestampField: string; filter: string; good: ({ field: string; aggregation: \"value_count\"; } & { filter?: string | undefined; }) | ({ field: string; aggregation: \"range\"; from: number; to: number; } & { filter?: string | undefined; }); total: ({ field: string; aggregation: \"value_count\"; } & { filter?: string | undefined; }) | ({ field: string; aggregation: \"range\"; from: number; to: number; } & { filter?: string | undefined; }); }; }; timeWindow: { duration: string; type: \"rolling\"; } | { duration: string; type: \"calendarAligned\"; }; budgetingMethod: \"occurrences\" | \"timeslices\"; objective: { target: number; } & { timesliceTarget?: number | undefined; timesliceWindow?: string | undefined; }; revision: number; settings: { syncDelay: string; frequency: string; }; enabled: boolean; tags: string[]; createdAt: string; updatedAt: string; } & { summary: { status: \"HEALTHY\" | \"NO_DATA\" | \"DEGRADING\" | \"VIOLATED\"; sliValue: number; errorBudget: { initial: number; consumed: number; remaining: number; isEstimated: boolean; }; }; })[]; }>; } & ", { "pluginId": "observability", "scope": "server", @@ -9936,21 +9974,51 @@ "section": "def-server.ObservabilityRouteHandlerResources", "text": "ObservabilityRouteHandlerResources" }, - " & { params: { path: { id: string; }; }; }) => Promise<{ sloResources: { [x: string]: string; \".slo-observability.sli\": string; \".slo-observability.sli-mappings\": string; \".slo-observability.sli-settings\": string; } | undefined; sloSavedObject: string | ", + " & { params: { path: { id: string; }; }; }) => Promise<{ sloResources: { \".slo-observability.sli\": string; \".slo-observability.sli-mappings\": string; \".slo-observability.sli-settings\": string; \".slo-observability.sli.pipeline\": string; } | undefined; sloSummaryResources: { \".slo-observability.summary\": string; \".slo-observability.summary-mappings\": string; \".slo-observability.summary-settings\": string; } | undefined; slo: string | { id: string; name: string; description: string; indicator: { type: \"sli.apm.transactionDuration\"; params: { environment: string; service: string; transactionType: string; transactionName: string; threshold: number; index: string; } & { filter?: string | undefined; }; } | { type: \"sli.apm.transactionErrorRate\"; params: { environment: string; service: string; transactionType: string; transactionName: string; index: string; } & { filter?: string | undefined; }; } | { type: \"sli.kql.custom\"; params: { index: string; filter: string; good: string; total: string; timestampField: string; }; } | { type: \"sli.metric.custom\"; params: { index: string; filter: string; good: { metrics: ({ name: string; aggregation: \"sum\"; field: string; } & { filter?: string | undefined; })[]; equation: string; }; total: { metrics: ({ name: string; aggregation: \"sum\"; field: string; } & { filter?: string | undefined; })[]; equation: string; }; timestampField: string; }; } | { type: \"sli.histogram.custom\"; params: { index: string; timestampField: string; filter: string; good: ({ field: string; aggregation: \"value_count\"; } & { filter?: string | undefined; }) | ({ field: string; aggregation: \"range\"; from: number; to: number; } & { filter?: string | undefined; }); total: ({ field: string; aggregation: \"value_count\"; } & { filter?: string | undefined; }) | ({ field: string; aggregation: \"range\"; from: number; to: number; } & { filter?: string | undefined; }); }; }; timeWindow: { duration: ", + { + "pluginId": "@kbn/slo-schema", + "scope": "common", + "docId": "kibKbnSloSchemaPluginApi", + "section": "def-common.Duration", + "text": "Duration" + }, + "; type: \"rolling\"; } | { duration: ", + { + "pluginId": "@kbn/slo-schema", + "scope": "common", + "docId": "kibKbnSloSchemaPluginApi", + "section": "def-common.Duration", + "text": "Duration" + }, + "; type: \"calendarAligned\"; }; budgetingMethod: \"occurrences\" | \"timeslices\"; objective: { target: number; } & { timesliceTarget?: number | undefined; timesliceWindow?: ", + { + "pluginId": "@kbn/slo-schema", + "scope": "common", + "docId": "kibKbnSloSchemaPluginApi", + "section": "def-common.Duration", + "text": "Duration" + }, + " | undefined; }; settings: { syncDelay: ", { - "pluginId": "@kbn/core-saved-objects-common", + "pluginId": "@kbn/slo-schema", "scope": "common", - "docId": "kibKbnCoreSavedObjectsCommonPluginApi", - "section": "def-common.SavedObject", - "text": "SavedObject" + "docId": "kibKbnSloSchemaPluginApi", + "section": "def-common.Duration", + "text": "Duration" }, - "<{ id: string; name: string; description: string; indicator: { type: \"sli.apm.transactionDuration\"; params: { environment: string; service: string; transactionType: string; transactionName: string; threshold: number; index: string; } & { filter?: string | undefined; }; } | { type: \"sli.apm.transactionErrorRate\"; params: { environment: string; service: string; transactionType: string; transactionName: string; index: string; } & { filter?: string | undefined; }; } | { type: \"sli.kql.custom\"; params: { index: string; filter: string; good: string; total: string; timestampField: string; }; } | { type: \"sli.metric.custom\"; params: { index: string; filter: string; good: { metrics: ({ name: string; aggregation: \"sum\"; field: string; } & { filter?: string | undefined; })[]; equation: string; }; total: { metrics: ({ name: string; aggregation: \"sum\"; field: string; } & { filter?: string | undefined; })[]; equation: string; }; timestampField: string; }; } | { type: \"sli.histogram.custom\"; params: { index: string; timestampField: string; filter: string; good: ({ field: string; aggregation: \"value_count\"; } & { filter?: string | undefined; }) | ({ field: string; aggregation: \"range\"; from: number; to: number; } & { filter?: string | undefined; }); total: ({ field: string; aggregation: \"value_count\"; } & { filter?: string | undefined; }) | ({ field: string; aggregation: \"range\"; from: number; to: number; } & { filter?: string | undefined; }); }; }; timeWindow: { duration: string; type: \"rolling\"; } | { duration: string; type: \"calendarAligned\"; }; budgetingMethod: \"occurrences\" | \"timeslices\"; objective: { target: number; } & { timesliceTarget?: number | undefined; timesliceWindow?: string | undefined; }; settings: { syncDelay: string; frequency: string; }; revision: number; enabled: boolean; tags: string[]; createdAt: string; updatedAt: string; }>; sloTransformStats: ", + "; frequency: ", + { + "pluginId": "@kbn/slo-schema", + "scope": "common", + "docId": "kibKbnSloSchemaPluginApi", + "section": "def-common.Duration", + "text": "Duration" + }, + "; }; revision: number; enabled: boolean; tags: string[]; createdAt: Date; updatedAt: Date; }; sloTransformStats: ", "TransformGetTransformStatsResponse", - "; dataSample: string | ", - "SearchResponse", - ">; }>; } & ", + "; sloSummaryTransformsStats: ", + "TransformGetTransformStatsResponse", + "; }>; } & ", { "pluginId": "observability", "scope": "server", @@ -9970,7 +10038,9 @@ "PublicLicenseJSON", "; userPrivileges: ", "SecurityGetUserPrivilegesResponse", - "; sloResources: { [x: string]: string; \".slo-observability.sli\": string; \".slo-observability.sli-mappings\": string; \".slo-observability.sli-settings\": string; } | undefined; }>; } & ", + "; sloResources: { \".slo-observability.sli\": string; \".slo-observability.sli-mappings\": string; \".slo-observability.sli-settings\": string; \".slo-observability.sli.pipeline\": string; } | undefined; sloSummaryResources: { \".slo-observability.summary\": string; \".slo-observability.summary-mappings\": string; \".slo-observability.summary-settings\": string; } | undefined; sloSummaryTransformsStats: ", + "TransformGetTransformStatsResponse", + "; }>; } & ", { "pluginId": "observability", "scope": "server", @@ -10374,11 +10444,9 @@ "PartialC", "<{ query: ", "PartialC", - "<{ name: ", + "<{ kqlQuery: ", "StringC", - "; indicatorTypes: ", - "Type", - "; page: ", + "; page: ", "StringC", "; perPage: ", "StringC", @@ -10386,9 +10454,13 @@ "UnionC", "<[", "LiteralC", - "<\"creationTime\">, ", + "<\"error_budget_consumed\">, ", + "LiteralC", + "<\"error_budget_remaining\">, ", + "LiteralC", + "<\"sli_value\">, ", "LiteralC", - "<\"indicatorType\">]>; sortDirection: ", + "<\"status\">]>; sortDirection: ", "UnionC", "<[", "LiteralC", @@ -10402,7 +10474,7 @@ "section": "def-server.ObservabilityRouteHandlerResources", "text": "ObservabilityRouteHandlerResources" }, - " & { params?: { query?: { name?: string | undefined; indicatorTypes?: string[] | undefined; page?: string | undefined; perPage?: string | undefined; sortBy?: \"creationTime\" | \"indicatorType\" | undefined; sortDirection?: \"asc\" | \"desc\" | undefined; } | undefined; } | undefined; }) => Promise<{ page: number; perPage: number; total: number; results: ({ id: string; name: string; description: string; indicator: { type: \"sli.apm.transactionDuration\"; params: { environment: string; service: string; transactionType: string; transactionName: string; threshold: number; index: string; } & { filter?: string | undefined; }; } | { type: \"sli.apm.transactionErrorRate\"; params: { environment: string; service: string; transactionType: string; transactionName: string; index: string; } & { filter?: string | undefined; }; } | { type: \"sli.kql.custom\"; params: { index: string; filter: string; good: string; total: string; timestampField: string; }; } | { type: \"sli.metric.custom\"; params: { index: string; filter: string; good: { metrics: ({ name: string; aggregation: \"sum\"; field: string; } & { filter?: string | undefined; })[]; equation: string; }; total: { metrics: ({ name: string; aggregation: \"sum\"; field: string; } & { filter?: string | undefined; })[]; equation: string; }; timestampField: string; }; } | { type: \"sli.histogram.custom\"; params: { index: string; timestampField: string; filter: string; good: ({ field: string; aggregation: \"value_count\"; } & { filter?: string | undefined; }) | ({ field: string; aggregation: \"range\"; from: number; to: number; } & { filter?: string | undefined; }); total: ({ field: string; aggregation: \"value_count\"; } & { filter?: string | undefined; }) | ({ field: string; aggregation: \"range\"; from: number; to: number; } & { filter?: string | undefined; }); }; }; timeWindow: { duration: string; type: \"rolling\"; } | { duration: string; type: \"calendarAligned\"; }; budgetingMethod: \"occurrences\" | \"timeslices\"; objective: { target: number; } & { timesliceTarget?: number | undefined; timesliceWindow?: string | undefined; }; revision: number; settings: { syncDelay: string; frequency: string; }; enabled: boolean; tags: string[]; createdAt: string; updatedAt: string; } & { summary: { status: \"HEALTHY\" | \"NO_DATA\" | \"DEGRADING\" | \"VIOLATED\"; sliValue: number; errorBudget: { initial: number; consumed: number; remaining: number; isEstimated: boolean; }; }; })[]; }>; } & ", + " & { params?: { query?: { kqlQuery?: string | undefined; page?: string | undefined; perPage?: string | undefined; sortBy?: \"status\" | \"error_budget_consumed\" | \"error_budget_remaining\" | \"sli_value\" | undefined; sortDirection?: \"asc\" | \"desc\" | undefined; } | undefined; } | undefined; }) => Promise<{ page: number; perPage: number; total: number; results: ({ id: string; name: string; description: string; indicator: { type: \"sli.apm.transactionDuration\"; params: { environment: string; service: string; transactionType: string; transactionName: string; threshold: number; index: string; } & { filter?: string | undefined; }; } | { type: \"sli.apm.transactionErrorRate\"; params: { environment: string; service: string; transactionType: string; transactionName: string; index: string; } & { filter?: string | undefined; }; } | { type: \"sli.kql.custom\"; params: { index: string; filter: string; good: string; total: string; timestampField: string; }; } | { type: \"sli.metric.custom\"; params: { index: string; filter: string; good: { metrics: ({ name: string; aggregation: \"sum\"; field: string; } & { filter?: string | undefined; })[]; equation: string; }; total: { metrics: ({ name: string; aggregation: \"sum\"; field: string; } & { filter?: string | undefined; })[]; equation: string; }; timestampField: string; }; } | { type: \"sli.histogram.custom\"; params: { index: string; timestampField: string; filter: string; good: ({ field: string; aggregation: \"value_count\"; } & { filter?: string | undefined; }) | ({ field: string; aggregation: \"range\"; from: number; to: number; } & { filter?: string | undefined; }); total: ({ field: string; aggregation: \"value_count\"; } & { filter?: string | undefined; }) | ({ field: string; aggregation: \"range\"; from: number; to: number; } & { filter?: string | undefined; }); }; }; timeWindow: { duration: string; type: \"rolling\"; } | { duration: string; type: \"calendarAligned\"; }; budgetingMethod: \"occurrences\" | \"timeslices\"; objective: { target: number; } & { timesliceTarget?: number | undefined; timesliceWindow?: string | undefined; }; revision: number; settings: { syncDelay: string; frequency: string; }; enabled: boolean; tags: string[]; createdAt: string; updatedAt: string; } & { summary: { status: \"HEALTHY\" | \"NO_DATA\" | \"DEGRADING\" | \"VIOLATED\"; sliValue: number; errorBudget: { initial: number; consumed: number; remaining: number; isEstimated: boolean; }; }; })[]; }>; } & ", { "pluginId": "observability", "scope": "server", diff --git a/api_docs/observability.mdx b/api_docs/observability.mdx index 4cbcee2420149..858b3a78eebdd 100644 --- a/api_docs/observability.mdx +++ b/api_docs/observability.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/observability title: "observability" image: https://source.unsplash.com/400x175/?github description: API docs for the observability plugin -date: 2023-07-31 +date: 2023-08-01 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 fcfb980e12cf5..2c01c0beadc88 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: 2023-07-31 +date: 2023-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'observabilityAIAssistant'] --- import observabilityAIAssistantObj from './observability_a_i_assistant.devdocs.json'; diff --git a/api_docs/observability_onboarding.mdx b/api_docs/observability_onboarding.mdx index 845b6970b50ad..7fc6656480096 100644 --- a/api_docs/observability_onboarding.mdx +++ b/api_docs/observability_onboarding.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/observabilityOnboarding title: "observabilityOnboarding" image: https://source.unsplash.com/400x175/?github description: API docs for the observabilityOnboarding plugin -date: 2023-07-31 +date: 2023-08-01 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 986552ac93db7..532ffcb228a8e 100644 --- a/api_docs/observability_shared.mdx +++ b/api_docs/observability_shared.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/observabilityShared title: "observabilityShared" image: https://source.unsplash.com/400x175/?github description: API docs for the observabilityShared plugin -date: 2023-07-31 +date: 2023-08-01 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 40721c47ea93d..68213d49090c3 100644 --- a/api_docs/osquery.mdx +++ b/api_docs/osquery.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/osquery title: "osquery" image: https://source.unsplash.com/400x175/?github description: API docs for the osquery plugin -date: 2023-07-31 +date: 2023-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'osquery'] --- import osqueryObj from './osquery.devdocs.json'; diff --git a/api_docs/plugin_directory.mdx b/api_docs/plugin_directory.mdx index 4985a53fb8224..9e9b863af75b8 100644 --- a/api_docs/plugin_directory.mdx +++ b/api_docs/plugin_directory.mdx @@ -7,7 +7,7 @@ id: kibDevDocsPluginDirectory slug: /kibana-dev-docs/api-meta/plugin-api-directory title: Directory description: Directory of public APIs available through plugins or packages. -date: 2023-07-31 +date: 2023-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana'] --- @@ -15,13 +15,13 @@ tags: ['contributor', 'dev', 'apidocs', 'kibana'] | Count | Plugins or Packages with a
public API | Number of teams | |--------------|----------|------------------------| -| 659 | 548 | 38 | +| 660 | 550 | 38 | ### Public API health stats | API Count | Any Count | Missing comments | Missing exports | |--------------|----------|-----------------|--------| -| 71724 | 555 | 61381 | 1470 | +| 71794 | 555 | 61386 | 1472 | ## Plugin Directory @@ -61,13 +61,13 @@ tags: ['contributor', 'dev', 'apidocs', 'kibana'] | | [@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. | 1012 | 0 | 243 | 2 | -| | [@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. | 28 | 3 | 24 | 0 | +| | [@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/platform-deployment-management](https://github.com/orgs/elastic/teams/platform-deployment-management) | - | 12 | 0 | 10 | 3 | | | [@elastic/kibana-data-discovery](https://github.com/orgs/elastic/teams/kibana-data-discovery) | This plugin contains the Discover application and the saved search embeddable. | 86 | 0 | 60 | 15 | | | [@elastic/kibana-data-discovery](https://github.com/orgs/elastic/teams/kibana-data-discovery) | - | 37 | 0 | 35 | 2 | | discoverLogExplorer | [@elastic/infra-monitoring-ui](https://github.com/orgs/elastic/teams/infra-monitoring-ui) | This plugin exposes and registers Logs+ features. | 0 | 0 | 0 | 0 | | | [@elastic/security-threat-hunting-investigations](https://github.com/orgs/elastic/teams/security-threat-hunting-investigations) | APIs used to assess the quality of data in Elasticsearch indexes | 2 | 0 | 0 | 0 | -| | [@elastic/kibana-presentation](https://github.com/orgs/elastic/teams/kibana-presentation) | Adds embeddables service to Kibana | 532 | 11 | 434 | 7 | +| | [@elastic/kibana-presentation](https://github.com/orgs/elastic/teams/kibana-presentation) | Adds embeddables service to Kibana | 535 | 11 | 437 | 7 | | | [@elastic/kibana-presentation](https://github.com/orgs/elastic/teams/kibana-presentation) | Extends embeddable plugin with more functionality | 14 | 0 | 14 | 0 | | | [@elastic/kibana-security](https://github.com/orgs/elastic/teams/kibana-security) | This plugin provides encryption and decryption utilities for saved objects containing sensitive information. | 51 | 0 | 44 | 0 | | | [@elastic/enterprise-search-frontend](https://github.com/orgs/elastic/teams/enterprise-search-frontend) | Adds dashboards for discovering and managing Enterprise Search products. | 10 | 0 | 10 | 0 | @@ -185,7 +185,7 @@ tags: ['contributor', 'dev', 'apidocs', 'kibana'] | | [@elastic/kibana-data-discovery](https://github.com/orgs/elastic/teams/kibana-data-discovery) | The `unifiedHistogram` plugin provides UI components to create a layout including a resizable histogram and a main display. | 53 | 0 | 23 | 2 | | | [@elastic/kibana-visualizations](https://github.com/orgs/elastic/teams/kibana-visualizations) | Contains all the key functionality of Kibana's unified search experience.Contains all the key functionality of Kibana's unified search experience. | 142 | 2 | 104 | 22 | | upgradeAssistant | [@elastic/platform-deployment-management](https://github.com/orgs/elastic/teams/platform-deployment-management) | - | 0 | 0 | 0 | 0 | -| uptime | [@elastic/uptime](https://github.com/orgs/elastic/teams/uptime) | This plugin visualizes data from Heartbeat, and integrates with other Observability solutions. | 0 | 0 | 0 | 0 | +| | [@elastic/uptime](https://github.com/orgs/elastic/teams/uptime) | This plugin visualizes data from Heartbeat, and integrates with other Observability solutions. | 1 | 0 | 1 | 0 | | urlDrilldown | [@elastic/kibana-app-services](https://github.com/orgs/elastic/teams/kibana-app-services) | Adds drilldown implementations to Kibana | 0 | 0 | 0 | 0 | | | [@elastic/kibana-visualizations](https://github.com/orgs/elastic/teams/kibana-visualizations) | - | 12 | 0 | 12 | 0 | | | [@elastic/kibana-core](https://github.com/orgs/elastic/teams/kibana-core) | - | 55 | 0 | 16 | 2 | @@ -211,7 +211,7 @@ tags: ['contributor', 'dev', 'apidocs', 'kibana'] | Package name           | Maintaining team | Description | API Cnt | Any Cnt | Missing
comments | Missing
exports | |--------------|----------------|-----------|--------------|----------|---------------|--------| | | [@elastic/platform-deployment-management](https://github.com/orgs/elastic/teams/platform-deployment-management) | - | 11 | 5 | 11 | 0 | -| | [@elastic/ml-ui](https://github.com/orgs/elastic/teams/ml-ui) | - | 6 | 0 | 6 | 0 | +| | [@elastic/ml-ui](https://github.com/orgs/elastic/teams/ml-ui) | - | 30 | 0 | 6 | 1 | | | [@elastic/ml-ui](https://github.com/orgs/elastic/teams/ml-ui) | - | 12 | 0 | 0 | 0 | | | [@elastic/response-ops](https://github.com/orgs/elastic/teams/response-ops) | - | 16 | 0 | 15 | 0 | | | [@elastic/response-ops](https://github.com/orgs/elastic/teams/response-ops) | - | 24 | 0 | 24 | 0 | @@ -478,14 +478,15 @@ tags: ['contributor', 'dev', 'apidocs', 'kibana'] | | [@elastic/ml-ui](https://github.com/orgs/elastic/teams/ml-ui) | - | 52 | 0 | 4 | 0 | | | [@elastic/ml-ui](https://github.com/orgs/elastic/teams/ml-ui) | - | 11 | 0 | 0 | 0 | | | [@elastic/ml-ui](https://github.com/orgs/elastic/teams/ml-ui) | - | 36 | 4 | 8 | 0 | +| | [@elastic/ml-ui](https://github.com/orgs/elastic/teams/ml-ui) | - | 11 | 0 | 0 | 0 | | | [@elastic/ml-ui](https://github.com/orgs/elastic/teams/ml-ui) | - | 2 | 0 | 0 | 0 | | | [@elastic/ml-ui](https://github.com/orgs/elastic/teams/ml-ui) | - | 3 | 0 | 2 | 0 | | | [@elastic/ml-ui](https://github.com/orgs/elastic/teams/ml-ui) | - | 5 | 0 | 3 | 0 | | | [@elastic/ml-ui](https://github.com/orgs/elastic/teams/ml-ui) | - | 5 | 0 | 3 | 0 | | | [@elastic/ml-ui](https://github.com/orgs/elastic/teams/ml-ui) | - | 8 | 2 | 8 | 0 | | | [@elastic/ml-ui](https://github.com/orgs/elastic/teams/ml-ui) | - | 3 | 0 | 0 | 0 | -| | [@elastic/ml-ui](https://github.com/orgs/elastic/teams/ml-ui) | - | 11 | 0 | 0 | 0 | -| | [@elastic/ml-ui](https://github.com/orgs/elastic/teams/ml-ui) | - | 5 | 0 | 0 | 0 | +| | [@elastic/ml-ui](https://github.com/orgs/elastic/teams/ml-ui) | - | 14 | 0 | 0 | 0 | +| | [@elastic/ml-ui](https://github.com/orgs/elastic/teams/ml-ui) | - | 30 | 0 | 0 | 0 | | | [@elastic/ml-ui](https://github.com/orgs/elastic/teams/ml-ui) | - | 5 | 0 | 0 | 0 | | | [@elastic/ml-ui](https://github.com/orgs/elastic/teams/ml-ui) | - | 8 | 0 | 0 | 0 | | | [@elastic/ml-ui](https://github.com/orgs/elastic/teams/ml-ui) | - | 2 | 0 | 1 | 0 | diff --git a/api_docs/presentation_util.mdx b/api_docs/presentation_util.mdx index d968beb74a806..958ddd374cbc3 100644 --- a/api_docs/presentation_util.mdx +++ b/api_docs/presentation_util.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/presentationUtil title: "presentationUtil" image: https://source.unsplash.com/400x175/?github description: API docs for the presentationUtil plugin -date: 2023-07-31 +date: 2023-08-01 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 d03d08dbb7839..54047f29deff3 100644 --- a/api_docs/profiling.mdx +++ b/api_docs/profiling.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/profiling title: "profiling" image: https://source.unsplash.com/400x175/?github description: API docs for the profiling plugin -date: 2023-07-31 +date: 2023-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'profiling'] --- import profilingObj from './profiling.devdocs.json'; diff --git a/api_docs/remote_clusters.mdx b/api_docs/remote_clusters.mdx index 58e50bf5993ce..8aba5ac09ddfa 100644 --- a/api_docs/remote_clusters.mdx +++ b/api_docs/remote_clusters.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/remoteClusters title: "remoteClusters" image: https://source.unsplash.com/400x175/?github description: API docs for the remoteClusters plugin -date: 2023-07-31 +date: 2023-08-01 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 4a080bcd0ba00..35cc60d55e94a 100644 --- a/api_docs/reporting.mdx +++ b/api_docs/reporting.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/reporting title: "reporting" image: https://source.unsplash.com/400x175/?github description: API docs for the reporting plugin -date: 2023-07-31 +date: 2023-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'reporting'] --- import reportingObj from './reporting.devdocs.json'; diff --git a/api_docs/reporting_export_types.mdx b/api_docs/reporting_export_types.mdx index e95a110670690..5f44ca3b00fc4 100644 --- a/api_docs/reporting_export_types.mdx +++ b/api_docs/reporting_export_types.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/reportingExportTypes title: "reportingExportTypes" image: https://source.unsplash.com/400x175/?github description: API docs for the reportingExportTypes plugin -date: 2023-07-31 +date: 2023-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'reportingExportTypes'] --- import reportingExportTypesObj from './reporting_export_types.devdocs.json'; diff --git a/api_docs/rollup.mdx b/api_docs/rollup.mdx index 3f76bdc156db4..b916c52446e89 100644 --- a/api_docs/rollup.mdx +++ b/api_docs/rollup.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/rollup title: "rollup" image: https://source.unsplash.com/400x175/?github description: API docs for the rollup plugin -date: 2023-07-31 +date: 2023-08-01 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 e5241d0f09b72..0491770a6fb44 100644 --- a/api_docs/rule_registry.mdx +++ b/api_docs/rule_registry.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/ruleRegistry title: "ruleRegistry" image: https://source.unsplash.com/400x175/?github description: API docs for the ruleRegistry plugin -date: 2023-07-31 +date: 2023-08-01 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 f63bd95f28456..c3e780d33feb4 100644 --- a/api_docs/runtime_fields.mdx +++ b/api_docs/runtime_fields.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/runtimeFields title: "runtimeFields" image: https://source.unsplash.com/400x175/?github description: API docs for the runtimeFields plugin -date: 2023-07-31 +date: 2023-08-01 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 242dc117231f6..a8fca47df7714 100644 --- a/api_docs/saved_objects.mdx +++ b/api_docs/saved_objects.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/savedObjects title: "savedObjects" image: https://source.unsplash.com/400x175/?github description: API docs for the savedObjects plugin -date: 2023-07-31 +date: 2023-08-01 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 82610a524b53e..61c417a295bd9 100644 --- a/api_docs/saved_objects_finder.mdx +++ b/api_docs/saved_objects_finder.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/savedObjectsFinder title: "savedObjectsFinder" image: https://source.unsplash.com/400x175/?github description: API docs for the savedObjectsFinder plugin -date: 2023-07-31 +date: 2023-08-01 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 667c5b3f4fdb7..f29a972294436 100644 --- a/api_docs/saved_objects_management.mdx +++ b/api_docs/saved_objects_management.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/savedObjectsManagement title: "savedObjectsManagement" image: https://source.unsplash.com/400x175/?github description: API docs for the savedObjectsManagement plugin -date: 2023-07-31 +date: 2023-08-01 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 687fd1d2fb888..3f12291e89c7f 100644 --- a/api_docs/saved_objects_tagging.mdx +++ b/api_docs/saved_objects_tagging.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/savedObjectsTagging title: "savedObjectsTagging" image: https://source.unsplash.com/400x175/?github description: API docs for the savedObjectsTagging plugin -date: 2023-07-31 +date: 2023-08-01 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 32cf2d09186b1..690190fb0b446 100644 --- a/api_docs/saved_objects_tagging_oss.mdx +++ b/api_docs/saved_objects_tagging_oss.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/savedObjectsTaggingOss title: "savedObjectsTaggingOss" image: https://source.unsplash.com/400x175/?github description: API docs for the savedObjectsTaggingOss plugin -date: 2023-07-31 +date: 2023-08-01 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 d26ecafe99c0f..c03063af1509b 100644 --- a/api_docs/saved_search.mdx +++ b/api_docs/saved_search.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/savedSearch title: "savedSearch" image: https://source.unsplash.com/400x175/?github description: API docs for the savedSearch plugin -date: 2023-07-31 +date: 2023-08-01 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 4d328f0b7a7a5..c97b63cf986f9 100644 --- a/api_docs/screenshot_mode.mdx +++ b/api_docs/screenshot_mode.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/screenshotMode title: "screenshotMode" image: https://source.unsplash.com/400x175/?github description: API docs for the screenshotMode plugin -date: 2023-07-31 +date: 2023-08-01 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 3a68513d81579..87eadd92f2a84 100644 --- a/api_docs/screenshotting.mdx +++ b/api_docs/screenshotting.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/screenshotting title: "screenshotting" image: https://source.unsplash.com/400x175/?github description: API docs for the screenshotting plugin -date: 2023-07-31 +date: 2023-08-01 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 f5577456f328a..4dfac43f25226 100644 --- a/api_docs/security.mdx +++ b/api_docs/security.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/security title: "security" image: https://source.unsplash.com/400x175/?github description: API docs for the security plugin -date: 2023-07-31 +date: 2023-08-01 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 2dd59797e821d..90cb75c35a0cb 100644 --- a/api_docs/security_solution.mdx +++ b/api_docs/security_solution.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/securitySolution title: "securitySolution" image: https://source.unsplash.com/400x175/?github description: API docs for the securitySolution plugin -date: 2023-07-31 +date: 2023-08-01 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 74348ed5c6e14..8975fbcd1cb5a 100644 --- a/api_docs/security_solution_ess.mdx +++ b/api_docs/security_solution_ess.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/securitySolutionEss title: "securitySolutionEss" image: https://source.unsplash.com/400x175/?github description: API docs for the securitySolutionEss plugin -date: 2023-07-31 +date: 2023-08-01 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 03fdbcf7eb726..3ce884f0495d2 100644 --- a/api_docs/security_solution_serverless.mdx +++ b/api_docs/security_solution_serverless.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/securitySolutionServerless title: "securitySolutionServerless" image: https://source.unsplash.com/400x175/?github description: API docs for the securitySolutionServerless plugin -date: 2023-07-31 +date: 2023-08-01 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 af8d915dde4a9..e71d4d42e33c6 100644 --- a/api_docs/serverless.mdx +++ b/api_docs/serverless.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/serverless title: "serverless" image: https://source.unsplash.com/400x175/?github description: API docs for the serverless plugin -date: 2023-07-31 +date: 2023-08-01 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 d16b6dca58c3a..051fc19ebd045 100644 --- a/api_docs/serverless_observability.mdx +++ b/api_docs/serverless_observability.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/serverlessObservability title: "serverlessObservability" image: https://source.unsplash.com/400x175/?github description: API docs for the serverlessObservability plugin -date: 2023-07-31 +date: 2023-08-01 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 31e9cc8715832..42455c2d7a968 100644 --- a/api_docs/serverless_search.mdx +++ b/api_docs/serverless_search.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/serverlessSearch title: "serverlessSearch" image: https://source.unsplash.com/400x175/?github description: API docs for the serverlessSearch plugin -date: 2023-07-31 +date: 2023-08-01 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 a21026d5b1171..dc0fde36a0d3b 100644 --- a/api_docs/session_view.mdx +++ b/api_docs/session_view.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/sessionView title: "sessionView" image: https://source.unsplash.com/400x175/?github description: API docs for the sessionView plugin -date: 2023-07-31 +date: 2023-08-01 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 8b035e5b4aec1..c3e07de3c9f33 100644 --- a/api_docs/share.mdx +++ b/api_docs/share.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/share title: "share" image: https://source.unsplash.com/400x175/?github description: API docs for the share plugin -date: 2023-07-31 +date: 2023-08-01 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 3418fdf665007..e1b83e2e55934 100644 --- a/api_docs/snapshot_restore.mdx +++ b/api_docs/snapshot_restore.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/snapshotRestore title: "snapshotRestore" image: https://source.unsplash.com/400x175/?github description: API docs for the snapshotRestore plugin -date: 2023-07-31 +date: 2023-08-01 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 94fbbeefbb90f..a326428860216 100644 --- a/api_docs/spaces.mdx +++ b/api_docs/spaces.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/spaces title: "spaces" image: https://source.unsplash.com/400x175/?github description: API docs for the spaces plugin -date: 2023-07-31 +date: 2023-08-01 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 9975b9aaaf342..8a39b2fba283c 100644 --- a/api_docs/stack_alerts.mdx +++ b/api_docs/stack_alerts.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/stackAlerts title: "stackAlerts" image: https://source.unsplash.com/400x175/?github description: API docs for the stackAlerts plugin -date: 2023-07-31 +date: 2023-08-01 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 85dca8fb44bd7..6bf7d29cf68db 100644 --- a/api_docs/stack_connectors.mdx +++ b/api_docs/stack_connectors.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/stackConnectors title: "stackConnectors" image: https://source.unsplash.com/400x175/?github description: API docs for the stackConnectors plugin -date: 2023-07-31 +date: 2023-08-01 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 9785c02838e36..b79ad9e504f00 100644 --- a/api_docs/task_manager.mdx +++ b/api_docs/task_manager.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/taskManager title: "taskManager" image: https://source.unsplash.com/400x175/?github description: API docs for the taskManager plugin -date: 2023-07-31 +date: 2023-08-01 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 b69f74b859d4d..57baf114a5e01 100644 --- a/api_docs/telemetry.mdx +++ b/api_docs/telemetry.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/telemetry title: "telemetry" image: https://source.unsplash.com/400x175/?github description: API docs for the telemetry plugin -date: 2023-07-31 +date: 2023-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'telemetry'] --- import telemetryObj from './telemetry.devdocs.json'; diff --git a/api_docs/telemetry_collection_manager.devdocs.json b/api_docs/telemetry_collection_manager.devdocs.json index 67ed3b0e5e195..1f2f28671fd4c 100644 --- a/api_docs/telemetry_collection_manager.devdocs.json +++ b/api_docs/telemetry_collection_manager.devdocs.json @@ -214,7 +214,7 @@ "SearchResponse", ">; }; helpers: ", "default", - "; name: string | symbol; [kAsyncSearch]: symbol | null; [kAutoscaling]: symbol | null; [kCat]: symbol | null; [kCcr]: symbol | null; [kCluster]: symbol | null; [kDanglingIndices]: symbol | null; [kEnrich]: symbol | null; [kEql]: symbol | null; [kFeatures]: symbol | null; [kFleet]: symbol | null; [kGraph]: symbol | null; [kIlm]: symbol | null; [kIndices]: symbol | null; [kIngest]: symbol | null; [kLicense]: symbol | null; [kLogstash]: symbol | null; [kMigration]: symbol | null; [kMl]: symbol | null; [kMonitoring]: symbol | null; [kNodes]: symbol | null; [kRollup]: symbol | null; [kSearchApplication]: symbol | null; [kSearchableSnapshots]: symbol | null; [kSecurity]: symbol | null; [kShutdown]: symbol | null; [kSlm]: symbol | null; [kSnapshot]: symbol | null; [kSql]: symbol | null; [kSsl]: symbol | null; [kTasks]: symbol | null; [kTextStructure]: symbol | null; [kTransform]: symbol | null; [kWatcher]: symbol | null; [kXpack]: symbol | null; transport: ", + "; name: string | symbol; [kAsyncSearch]: symbol | null; [kAutoscaling]: symbol | null; [kCat]: symbol | null; [kCcr]: symbol | null; [kCluster]: symbol | null; [kDanglingIndices]: symbol | null; [kEnrich]: symbol | null; [kEql]: symbol | null; [kFeatures]: symbol | null; [kFleet]: symbol | null; [kGraph]: symbol | null; [kIlm]: symbol | null; [kIndices]: symbol | null; [kIngest]: symbol | null; [kLicense]: symbol | null; [kLogstash]: symbol | null; [kMigration]: symbol | null; [kMl]: symbol | null; [kMonitoring]: symbol | null; [kNodes]: symbol | null; [kRollup]: symbol | null; [kSearchApplication]: symbol | null; [kSearchableSnapshots]: symbol | null; [kSecurity]: symbol | null; [kShutdown]: symbol | null; [kSlm]: symbol | null; [kSnapshot]: symbol | null; [kSql]: symbol | null; [kSsl]: symbol | null; [kSynonyms]: symbol | null; [kTasks]: symbol | null; [kTextStructure]: symbol | null; [kTransform]: symbol | null; [kWatcher]: symbol | null; [kXpack]: symbol | null; transport: ", "default", "; child: (opts: ", "ClientOptions", @@ -1176,6 +1176,8 @@ "default", "; ssl: ", "default", + "; synonyms: ", + "default", "; tasks: ", "default", "; termsEnum: { (this: That, params: ", diff --git a/api_docs/telemetry_collection_manager.mdx b/api_docs/telemetry_collection_manager.mdx index 2aca25ea3104e..01c7925efc5d7 100644 --- a/api_docs/telemetry_collection_manager.mdx +++ b/api_docs/telemetry_collection_manager.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/telemetryCollectionManager title: "telemetryCollectionManager" image: https://source.unsplash.com/400x175/?github description: API docs for the telemetryCollectionManager plugin -date: 2023-07-31 +date: 2023-08-01 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 4489af6c1c40f..353ab18ff14e5 100644 --- a/api_docs/telemetry_collection_xpack.mdx +++ b/api_docs/telemetry_collection_xpack.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/telemetryCollectionXpack title: "telemetryCollectionXpack" image: https://source.unsplash.com/400x175/?github description: API docs for the telemetryCollectionXpack plugin -date: 2023-07-31 +date: 2023-08-01 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 33fdfdd7a1a88..9fcdedc3064ad 100644 --- a/api_docs/telemetry_management_section.mdx +++ b/api_docs/telemetry_management_section.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/telemetryManagementSection title: "telemetryManagementSection" image: https://source.unsplash.com/400x175/?github description: API docs for the telemetryManagementSection plugin -date: 2023-07-31 +date: 2023-08-01 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 d6f56ba8c4b97..133eb45b561bb 100644 --- a/api_docs/text_based_languages.mdx +++ b/api_docs/text_based_languages.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/textBasedLanguages title: "textBasedLanguages" image: https://source.unsplash.com/400x175/?github description: API docs for the textBasedLanguages plugin -date: 2023-07-31 +date: 2023-08-01 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 fa013abfacc8a..703b8d801f544 100644 --- a/api_docs/threat_intelligence.mdx +++ b/api_docs/threat_intelligence.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/threatIntelligence title: "threatIntelligence" image: https://source.unsplash.com/400x175/?github description: API docs for the threatIntelligence plugin -date: 2023-07-31 +date: 2023-08-01 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 a580e685fc143..4e74f1296d387 100644 --- a/api_docs/timelines.mdx +++ b/api_docs/timelines.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/timelines title: "timelines" image: https://source.unsplash.com/400x175/?github description: API docs for the timelines plugin -date: 2023-07-31 +date: 2023-08-01 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 5748e6e555584..2b108949c9fc9 100644 --- a/api_docs/transform.mdx +++ b/api_docs/transform.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/transform title: "transform" image: https://source.unsplash.com/400x175/?github description: API docs for the transform plugin -date: 2023-07-31 +date: 2023-08-01 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 7c31b53d06f0d..7bded109be324 100644 --- a/api_docs/triggers_actions_ui.mdx +++ b/api_docs/triggers_actions_ui.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/triggersActionsUi title: "triggersActionsUi" image: https://source.unsplash.com/400x175/?github description: API docs for the triggersActionsUi plugin -date: 2023-07-31 +date: 2023-08-01 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 16ff7dbf4b8b7..5ee893435928d 100644 --- a/api_docs/ui_actions.mdx +++ b/api_docs/ui_actions.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/uiActions title: "uiActions" image: https://source.unsplash.com/400x175/?github description: API docs for the uiActions plugin -date: 2023-07-31 +date: 2023-08-01 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 7a36977bc426a..b8d6c0b9737f8 100644 --- a/api_docs/ui_actions_enhanced.mdx +++ b/api_docs/ui_actions_enhanced.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/uiActionsEnhanced title: "uiActionsEnhanced" image: https://source.unsplash.com/400x175/?github description: API docs for the uiActionsEnhanced plugin -date: 2023-07-31 +date: 2023-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'uiActionsEnhanced'] --- import uiActionsEnhancedObj from './ui_actions_enhanced.devdocs.json'; diff --git a/api_docs/unified_histogram.mdx b/api_docs/unified_histogram.mdx index 2e8a8c3afdb89..c2a4ca898dce4 100644 --- a/api_docs/unified_histogram.mdx +++ b/api_docs/unified_histogram.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/unifiedHistogram title: "unifiedHistogram" image: https://source.unsplash.com/400x175/?github description: API docs for the unifiedHistogram plugin -date: 2023-07-31 +date: 2023-08-01 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 80f140829b3f8..d0caea3661678 100644 --- a/api_docs/unified_search.mdx +++ b/api_docs/unified_search.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/unifiedSearch title: "unifiedSearch" image: https://source.unsplash.com/400x175/?github description: API docs for the unifiedSearch plugin -date: 2023-07-31 +date: 2023-08-01 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 bb100748c64ba..7304e9edb866c 100644 --- a/api_docs/unified_search_autocomplete.mdx +++ b/api_docs/unified_search_autocomplete.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/unifiedSearch-autocomplete title: "unifiedSearch.autocomplete" image: https://source.unsplash.com/400x175/?github description: API docs for the unifiedSearch.autocomplete plugin -date: 2023-07-31 +date: 2023-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'unifiedSearch.autocomplete'] --- import unifiedSearchAutocompleteObj from './unified_search_autocomplete.devdocs.json'; diff --git a/api_docs/uptime.devdocs.json b/api_docs/uptime.devdocs.json new file mode 100644 index 0000000000000..96ba9d53919c0 --- /dev/null +++ b/api_docs/uptime.devdocs.json @@ -0,0 +1,43 @@ +{ + "id": "uptime", + "client": { + "classes": [], + "functions": [], + "interfaces": [], + "enums": [], + "misc": [], + "objects": [] + }, + "server": { + "classes": [], + "functions": [], + "interfaces": [], + "enums": [], + "misc": [], + "objects": [] + }, + "common": { + "classes": [], + "functions": [], + "interfaces": [], + "enums": [], + "misc": [ + { + "parentPluginId": "uptime", + "id": "def-common.UPTIME_RULE_TYPES", + "type": "Array", + "tags": [], + "label": "UPTIME_RULE_TYPES", + "description": [], + "signature": [ + "string[]" + ], + "path": "x-pack/plugins/uptime/common/constants/uptime_alerts.ts", + "deprecated": false, + "trackAdoption": false, + "initialIsOpen": false + } + ], + "objects": [] + } +} \ No newline at end of file diff --git a/api_docs/uptime.mdx b/api_docs/uptime.mdx new file mode 100644 index 0000000000000..4e74653f36950 --- /dev/null +++ b/api_docs/uptime.mdx @@ -0,0 +1,30 @@ +--- +#### +#### This document is auto-generated and is meant to be viewed inside our experimental, new docs system. +#### Reach out in #docs-engineering for more info. +#### +id: kibUptimePluginApi +slug: /kibana-dev-docs/api/uptime +title: "uptime" +image: https://source.unsplash.com/400x175/?github +description: API docs for the uptime plugin +date: 2023-08-01 +tags: ['contributor', 'dev', 'apidocs', 'kibana', 'uptime'] +--- +import uptimeObj from './uptime.devdocs.json'; + +This plugin visualizes data from Heartbeat, and integrates with other Observability solutions. + +Contact [@elastic/uptime](https://github.com/orgs/elastic/teams/uptime) for questions regarding this plugin. + +**Code health stats** + +| Public API count | Any count | Items lacking comments | Missing exports | +|-------------------|-----------|------------------------|-----------------| +| 1 | 0 | 1 | 0 | + +## Common + +### Consts, variables and types + + diff --git a/api_docs/url_forwarding.mdx b/api_docs/url_forwarding.mdx index 5c1d66768e48c..9cc7b970d64f8 100644 --- a/api_docs/url_forwarding.mdx +++ b/api_docs/url_forwarding.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/urlForwarding title: "urlForwarding" image: https://source.unsplash.com/400x175/?github description: API docs for the urlForwarding plugin -date: 2023-07-31 +date: 2023-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'urlForwarding'] --- import urlForwardingObj from './url_forwarding.devdocs.json'; diff --git a/api_docs/usage_collection.devdocs.json b/api_docs/usage_collection.devdocs.json index dfc86b1d1b8f1..d3e9b42e13140 100644 --- a/api_docs/usage_collection.devdocs.json +++ b/api_docs/usage_collection.devdocs.json @@ -483,7 +483,7 @@ "SearchResponse", ">; }; helpers: ", "default", - "; name: string | symbol; [kAsyncSearch]: symbol | null; [kAutoscaling]: symbol | null; [kCat]: symbol | null; [kCcr]: symbol | null; [kCluster]: symbol | null; [kDanglingIndices]: symbol | null; [kEnrich]: symbol | null; [kEql]: symbol | null; [kFeatures]: symbol | null; [kFleet]: symbol | null; [kGraph]: symbol | null; [kIlm]: symbol | null; [kIndices]: symbol | null; [kIngest]: symbol | null; [kLicense]: symbol | null; [kLogstash]: symbol | null; [kMigration]: symbol | null; [kMl]: symbol | null; [kMonitoring]: symbol | null; [kNodes]: symbol | null; [kRollup]: symbol | null; [kSearchApplication]: symbol | null; [kSearchableSnapshots]: symbol | null; [kSecurity]: symbol | null; [kShutdown]: symbol | null; [kSlm]: symbol | null; [kSnapshot]: symbol | null; [kSql]: symbol | null; [kSsl]: symbol | null; [kTasks]: symbol | null; [kTextStructure]: symbol | null; [kTransform]: symbol | null; [kWatcher]: symbol | null; [kXpack]: symbol | null; transport: ", + "; name: string | symbol; [kAsyncSearch]: symbol | null; [kAutoscaling]: symbol | null; [kCat]: symbol | null; [kCcr]: symbol | null; [kCluster]: symbol | null; [kDanglingIndices]: symbol | null; [kEnrich]: symbol | null; [kEql]: symbol | null; [kFeatures]: symbol | null; [kFleet]: symbol | null; [kGraph]: symbol | null; [kIlm]: symbol | null; [kIndices]: symbol | null; [kIngest]: symbol | null; [kLicense]: symbol | null; [kLogstash]: symbol | null; [kMigration]: symbol | null; [kMl]: symbol | null; [kMonitoring]: symbol | null; [kNodes]: symbol | null; [kRollup]: symbol | null; [kSearchApplication]: symbol | null; [kSearchableSnapshots]: symbol | null; [kSecurity]: symbol | null; [kShutdown]: symbol | null; [kSlm]: symbol | null; [kSnapshot]: symbol | null; [kSql]: symbol | null; [kSsl]: symbol | null; [kSynonyms]: symbol | null; [kTasks]: symbol | null; [kTextStructure]: symbol | null; [kTransform]: symbol | null; [kWatcher]: symbol | null; [kXpack]: symbol | null; transport: ", "default", "; child: (opts: ", "ClientOptions", @@ -1445,6 +1445,8 @@ "default", "; ssl: ", "default", + "; synonyms: ", + "default", "; tasks: ", "default", "; termsEnum: { (this: That, params: ", diff --git a/api_docs/usage_collection.mdx b/api_docs/usage_collection.mdx index 998c3e8be5201..c3b6bed548a6a 100644 --- a/api_docs/usage_collection.mdx +++ b/api_docs/usage_collection.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/usageCollection title: "usageCollection" image: https://source.unsplash.com/400x175/?github description: API docs for the usageCollection plugin -date: 2023-07-31 +date: 2023-08-01 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 dae9eba123b51..ab1033578ad61 100644 --- a/api_docs/ux.mdx +++ b/api_docs/ux.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/ux title: "ux" image: https://source.unsplash.com/400x175/?github description: API docs for the ux plugin -date: 2023-07-31 +date: 2023-08-01 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 9d538a1ec8bad..1fa463294619e 100644 --- a/api_docs/vis_default_editor.mdx +++ b/api_docs/vis_default_editor.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/visDefaultEditor title: "visDefaultEditor" image: https://source.unsplash.com/400x175/?github description: API docs for the visDefaultEditor plugin -date: 2023-07-31 +date: 2023-08-01 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 ab4fb6208c704..6a6076f457b75 100644 --- a/api_docs/vis_type_gauge.mdx +++ b/api_docs/vis_type_gauge.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/visTypeGauge title: "visTypeGauge" image: https://source.unsplash.com/400x175/?github description: API docs for the visTypeGauge plugin -date: 2023-07-31 +date: 2023-08-01 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 9ba2775a7901e..1c412ecad671c 100644 --- a/api_docs/vis_type_heatmap.mdx +++ b/api_docs/vis_type_heatmap.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/visTypeHeatmap title: "visTypeHeatmap" image: https://source.unsplash.com/400x175/?github description: API docs for the visTypeHeatmap plugin -date: 2023-07-31 +date: 2023-08-01 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 a9b831609d976..9ae2ac7a8752d 100644 --- a/api_docs/vis_type_pie.mdx +++ b/api_docs/vis_type_pie.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/visTypePie title: "visTypePie" image: https://source.unsplash.com/400x175/?github description: API docs for the visTypePie plugin -date: 2023-07-31 +date: 2023-08-01 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 eef10c62f56b1..11ed7055e6883 100644 --- a/api_docs/vis_type_table.mdx +++ b/api_docs/vis_type_table.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/visTypeTable title: "visTypeTable" image: https://source.unsplash.com/400x175/?github description: API docs for the visTypeTable plugin -date: 2023-07-31 +date: 2023-08-01 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 cb19f0599fe40..72504cf5ba6c4 100644 --- a/api_docs/vis_type_timelion.mdx +++ b/api_docs/vis_type_timelion.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/visTypeTimelion title: "visTypeTimelion" image: https://source.unsplash.com/400x175/?github description: API docs for the visTypeTimelion plugin -date: 2023-07-31 +date: 2023-08-01 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 11faa9468483b..5741952e1e651 100644 --- a/api_docs/vis_type_timeseries.mdx +++ b/api_docs/vis_type_timeseries.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/visTypeTimeseries title: "visTypeTimeseries" image: https://source.unsplash.com/400x175/?github description: API docs for the visTypeTimeseries plugin -date: 2023-07-31 +date: 2023-08-01 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 d4aff151d1c49..8100d5cc71376 100644 --- a/api_docs/vis_type_vega.mdx +++ b/api_docs/vis_type_vega.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/visTypeVega title: "visTypeVega" image: https://source.unsplash.com/400x175/?github description: API docs for the visTypeVega plugin -date: 2023-07-31 +date: 2023-08-01 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 efe04fe69e034..d6a1daa604bf6 100644 --- a/api_docs/vis_type_vislib.mdx +++ b/api_docs/vis_type_vislib.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/visTypeVislib title: "visTypeVislib" image: https://source.unsplash.com/400x175/?github description: API docs for the visTypeVislib plugin -date: 2023-07-31 +date: 2023-08-01 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 6b46f0601f5b6..d724553321801 100644 --- a/api_docs/vis_type_xy.mdx +++ b/api_docs/vis_type_xy.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/visTypeXy title: "visTypeXy" image: https://source.unsplash.com/400x175/?github description: API docs for the visTypeXy plugin -date: 2023-07-31 +date: 2023-08-01 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 baf1d6917e71e..8247d887a4b8f 100644 --- a/api_docs/visualizations.mdx +++ b/api_docs/visualizations.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/visualizations title: "visualizations" image: https://source.unsplash.com/400x175/?github description: API docs for the visualizations plugin -date: 2023-07-31 +date: 2023-08-01 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'visualizations'] --- import visualizationsObj from './visualizations.devdocs.json'; diff --git a/docs/apm/api.asciidoc b/docs/apm/api.asciidoc index fb672b2884af2..9058b29f0cb8a 100644 --- a/docs/apm/api.asciidoc +++ b/docs/apm/api.asciidoc @@ -11,6 +11,7 @@ Some APM app features are provided via a REST API: * <> * <> * <> +* <> * <> [float] @@ -715,6 +716,219 @@ curl -X DELETE "http://localhost:5601/api/apm/sourcemaps/apm:foo-1.0.0-644fd5a9" ******************************************************* //// +[role="xpack"] +[[android-sourcemap-api]] +=== Android source map API + +IMPORTANT: This endpoint is only compatible with the +{apm-guide-ref}/index.html[APM integration for Elastic Agent]. + +An Android source map (generated using Android's https://developer.android.com/build/shrink-code[R8 tool]) +allows obfuscated app stacktraces to be mapped back to original source code -- +allowing you to maintain the size and security of minimized code, without losing the ability to debug your application. + +For best results, uploading source maps should become a part of your deployment procedure, +and not something you only do when you see unhelpful errors. +That’s because uploading source maps after errors happen won’t make old errors magically readable -- +errors must occur again for source mapping to occur. + +The following APIs are available: + +* <> +* <> +* <> + +[float] +[[use-android-sourcemap-api]] +==== How to use APM APIs + +.Expand for required headers, privileges, and usage details +[%collapsible%closed] +====== +include::api.asciidoc[tag=using-the-APIs] +====== + +//// +******************************************************* +//// + +[[android-sourcemap-post]] +==== Create or update an Android source map + +Create or update an Android source map for a specific app and version. + +[[android-sourcemap-post-privs]] +===== Privileges + +The user accessing this endpoint requires `All` Kibana privileges for the {beat_kib_app} feature. +For more information, see <>. + +[[android-sourcemap-post-req]] +===== Request + +`POST /api/apm/androidmaps` + +[role="child_attributes"] +[[android-sourcemap-post-req-body]] +===== Request body + +`service_name`:: +(required, string) The name of the Android app that the map should apply to. + +`service_version`:: +(required, string) The version of the Android app that the map should apply to. + +`map_file`:: +(required, string or file upload) The R8-generated map. + +[[android-sourcemap-post-example]] +===== Examples + +The following example uploads a source map for a app named `foo` and a service version of `1.0.0`: + +[source,curl] +-------------------------------------------------- +curl -X POST "http://localhost:5601/api/apm/androidmaps" \ +-H 'Content-Type: multipart/form-data' \ +-H 'kbn-xsrf: true' \ +-H 'Authorization: ApiKey ${YOUR_API_KEY}' \ +-F 'service_name="foo"' \ +-F 'service_version="1.0.0"' \ +-F 'map_file=@"/Path/to/the/file/mapping.txt"' +-------------------------------------------------- + +[[android-sourcemap-post-body]] +===== Response body + +[source,js] +-------------------------------------------------- +{ + "type": "sourcemap", + "identifier": "foo-1.0.0-android", + "relative_url": "/api/fleet/artifacts/foo-1.0.0-android/644fd5a997d1ddd90ee131ba18e2b3d03931d89dd1fe4599143c0b3264b3e456", + "body": "eJyFkL1OwzAUhd/Fc+MbYMuCEBIbHRjKgBgc96R16tiWr1OQqr47NwqJxEK3q/PzWccXxchnZ7E1A1SjuhjVZtF2yOxiEPlO17oWox3D3uPFeSRTjmJQARfCPeiAgGx8NTKsYdAc1T3rwaSJGcds8Sp3c1HnhfywUZ3QhMTFFGepZxqMC9oex3CS9tpk1XyozgOlmoVKuJX1DqEQZ0su7PGtLU+V/3JPKc3cL7TJ2FNDRPov4bFta3MDM4f7W69lpJjLO9qdK8bzVPhcJz3HUCQ4LbO/p5hCSC4cZPByrp/wFqOklbpefwAhzpqI", + "created": "2021-07-09T20:47:44.812Z", + "id": "apm:foo-1.0.0-android-644fd5a997d1ddd90ee131ba18e2b3d03931d89dd1fe4599143c0b3264b3e456", + "compressionAlgorithm": "zlib", + "decodedSha256": "644fd5a997d1ddd90ee131ba18e2b3d03931d89dd1fe4599143c0b3264b3e456", + "decodedSize": 441, + "encodedSha256": "024c72749c3e3dd411b103f7040ae62633558608f480bce4b108cf5b2275bd24", + "encodedSize": 237, + "encryptionAlgorithm": "none", + "packageName": "apm" +} +-------------------------------------------------- + +//// +******************************************************* +//// + +[[android-sourcemap-get]] +==== Get source maps + +Returns an array of Fleet artifacts, including source map uploads. + +[[android-sourcemap-get-privs]] +===== Privileges + +The user accessing this endpoint requires `Read` or `All` Kibana privileges for the {beat_kib_app} feature. +For more information, see <>. + +[[android-sourcemap-get-req]] +===== Request + +`GET /api/apm/sourcemaps` + +[[android-sourcemap-get-example]] +===== Example + +The following example requests all uploaded source maps: + +[source,curl] +-------------------------------------------------- +curl -X GET "http://localhost:5601/api/apm/sourcemaps" \ +-H 'Content-Type: application/json' \ +-H 'kbn-xsrf: true' \ +-H 'Authorization: ApiKey ${YOUR_API_KEY}' +-------------------------------------------------- + +[[android-sourcemap-get-body]] +===== Response body + +[source,js] +-------------------------------------------------- +{ + "artifacts": [ + { + "type": "sourcemap", + "identifier": "foo-1.0.0-android", + "relative_url": "/api/fleet/artifacts/foo-1.0.0-android/644fd5a997d1ddd90ee131ba18e2b3d03931d89dd1fe4599143c0b3264b3e456", + "body": { + "serviceName": "foo", + "serviceVersion": "1.0.0", + "bundleFilepath": "android", + "sourceMap": "# compiler: R8\n# compiler_version: 3.2.47\n# min_api: 26\n..." + }, + "created": "2021-07-09T20:47:44.812Z", + "id": "apm:foo-1.0.0-android-644fd5a997d1ddd90ee131ba18e2b3d03931d89dd1fe4599143c0b3264b3e456", + "compressionAlgorithm": "zlib", + "decodedSha256": "644fd5a997d1ddd90ee131ba18e2b3d03931d89dd1fe4599143c0b3264b3e456", + "decodedSize": 441, + "encodedSha256": "024c72749c3e3dd411b103f7040ae62633558608f480bce4b108cf5b2275bd24", + "encodedSize": 237, + "encryptionAlgorithm": "none", + "packageName": "apm" + } + ] +} +-------------------------------------------------- + +//// +******************************************************* +//// + +[[android-sourcemap-delete]] +==== Delete source map + +Delete a previously uploaded source map. + +[[android-sourcemap-delete-privs]] +===== Privileges + +The user accessing this endpoint requires `All` Kibana privileges for the {beat_kib_app} feature. +For more information, see <>. + +[[android-sourcemap-delete-req]] +===== Request + +`DELETE /api/apm/sourcemaps/:id` + +[[android-sourcemap-delete-example]] +===== Example + +The following example deletes a source map with an id of `apm:foo-1.0.0-android-644fd5a9`: + +[source,curl] +-------------------------------------------------- +curl -X DELETE "http://localhost:5601/api/apm/sourcemaps/apm:foo-1.0.0-android-644fd5a9" \ +-H 'Content-Type: application/json' \ +-H 'kbn-xsrf: true' \ +-H 'Authorization: ApiKey ${YOUR_API_KEY}' +-------------------------------------------------- + +[[android-sourcemap-delete-body]] +===== Response body + +[source,js] +-------------------------------------------------- +{} +-------------------------------------------------- + +//// +******************************************************* +******************************************************* +//// + [role="xpack"] [[agent-key-api]] === APM agent Key API diff --git a/packages/content-management/table_list_view_table/src/components/tag_filter_panel.tsx b/packages/content-management/table_list_view_table/src/components/tag_filter_panel.tsx index c9871eb509d7e..8b7c947fb0c85 100644 --- a/packages/content-management/table_list_view_table/src/components/tag_filter_panel.tsx +++ b/packages/content-management/table_list_view_table/src/components/tag_filter_panel.tsx @@ -175,7 +175,11 @@ export const TagFilterPanel: FC = ({ - Save + + {i18n.translate('contentManagement.tableList.tagFilterPanel.applyButtonLabel', { + defaultMessage: 'Apply', + })} + diff --git a/packages/kbn-check-mappings-update-cli/current_mappings.json b/packages/kbn-check-mappings-update-cli/current_mappings.json index cb78e060d6edc..cddc8e363a49e 100644 --- a/packages/kbn-check-mappings-update-cli/current_mappings.json +++ b/packages/kbn-check-mappings-update-cli/current_mappings.json @@ -2249,6 +2249,9 @@ }, "observability-onboarding-state": { "properties": { + "type": { + "type": "keyword" + }, "state": { "type": "object", "dynamic": false diff --git a/packages/kbn-dom-drag-drop/src/sass/drag_drop.scss b/packages/kbn-dom-drag-drop/src/sass/drag_drop.scss index d586d86761cb5..c26bb6c49b6cf 100644 --- a/packages/kbn-dom-drag-drop/src/sass/drag_drop.scss +++ b/packages/kbn-dom-drag-drop/src/sass/drag_drop.scss @@ -146,7 +146,8 @@ $reorderItemMargin: $euiSizeS; right: calc(100% + #{$euiSizeS}); top: 0; transition: opacity $euiAnimSpeedFast ease-in-out; - width:100%; + width: 100%; + max-width: $euiFormMaxWidth; } .domDragDrop__extraDrops-visible { diff --git a/packages/kbn-io-ts-utils/src/to_number_rt/index.ts b/packages/kbn-io-ts-utils/src/to_number_rt/index.ts index ae6bb4911c907..2edf781698190 100644 --- a/packages/kbn-io-ts-utils/src/to_number_rt/index.ts +++ b/packages/kbn-io-ts-utils/src/to_number_rt/index.ts @@ -8,7 +8,7 @@ import * as t from 'io-ts'; -export const toNumberRt = new t.Type( +export const toNumberRt = new t.Type( 'ToNumber', t.number.is, (input, context) => { diff --git a/packages/kbn-management/cards_navigation/src/cards_navigation.tsx b/packages/kbn-management/cards_navigation/src/cards_navigation.tsx index 4d57a6843a3c3..cc6455c2e6b66 100644 --- a/packages/kbn-management/cards_navigation/src/cards_navigation.tsx +++ b/packages/kbn-management/cards_navigation/src/cards_navigation.tsx @@ -71,6 +71,13 @@ const getEnabledAppsByCategory = (sections: AppRegistrySections[], hideLinksTo: }), apps: getAppsForCategory(appCategories.DATA, filteredApps), }, + { + id: appCategories.ALERTS, + title: i18n.translate('management.landing.withCardNavigation.alertsTitle', { + defaultMessage: 'Alerts and insights', + }), + apps: getAppsForCategory(appCategories.ALERTS, filteredApps), + }, { id: appCategories.CONTENT, title: i18n.translate('management.landing.withCardNavigation.contentTitle', { diff --git a/packages/kbn-management/cards_navigation/src/consts.tsx b/packages/kbn-management/cards_navigation/src/consts.tsx index b01c6e1e024a2..8a26334eae8c6 100644 --- a/packages/kbn-management/cards_navigation/src/consts.tsx +++ b/packages/kbn-management/cards_navigation/src/consts.tsx @@ -18,7 +18,6 @@ export enum appIds { INDEX_MANAGEMENT = 'index_management', TRANSFORM = 'transform', ML = 'jobsListLink', - DATA_VIEW = 'data_view', SAVED_OBJECTS = 'objects', TAGS = 'tags', FILES_MANAGEMENT = 'filesManagement', @@ -35,29 +34,12 @@ export type AppId = `${appIds}`; export const appCategories = { DATA: 'data', + ALERTS: 'alerts', CONTENT: 'content', OTHER: 'other', }; export const appDefinitions: Record = { - [appIds.INGEST_PIPELINES]: { - category: appCategories.DATA, - description: i18n.translate( - 'management.landing.withCardNavigation.ingestPipelinesDescription', - { - defaultMessage: - 'Use pipelines to remove or transform fields, extract values from text, and enrich your data before indexing.', - } - ), - icon: , - }, - [appIds.PIPELINES]: { - category: appCategories.DATA, - description: i18n.translate('management.landing.withCardNavigation.ingestDescription', { - defaultMessage: 'Manage Logstash event processing and see the result visually.', - }), - icon: , - }, [appIds.INDEX_MANAGEMENT]: { category: appCategories.DATA, description: i18n.translate( @@ -76,15 +58,18 @@ export const appDefinitions: Record = { }), icon: , }, - [appIds.ML]: { + [appIds.INGEST_PIPELINES]: { category: appCategories.DATA, - description: i18n.translate('management.landing.withCardNavigation.mlDescription', { - defaultMessage: - 'View, export, and import machine learning analytics and anomaly detection items.', - }), - icon: , + description: i18n.translate( + 'management.landing.withCardNavigation.ingestPipelinesDescription', + { + defaultMessage: + 'Use pipelines to remove or transform fields, extract values from text, and enrich your data before indexing.', + } + ), + icon: , }, - [appIds.DATA_VIEW]: { + [appIds.DATA_VIEWS]: { category: appCategories.DATA, description: i18n.translate('management.landing.withCardNavigation.dataViewsDescription', { defaultMessage: @@ -92,59 +77,38 @@ export const appDefinitions: Record = { }), icon: , }, - [appIds.SAVED_OBJECTS]: { - category: appCategories.CONTENT, - description: i18n.translate('management.landing.withCardNavigation.objectsDescription', { + [appIds.ML]: { + category: appCategories.DATA, + description: i18n.translate('management.landing.withCardNavigation.mlDescription', { defaultMessage: - 'Manage and share your saved objects. To edit the underlying data of an object, go to its associated application.', - }), - icon: , - }, - [appIds.TAGS]: { - category: appCategories.CONTENT, - description: i18n.translate('management.landing.withCardNavigation.tagsDescription', { - defaultMessage: 'Use tags to categorize and easily find your objects.', - }), - icon: , - }, - [appIds.FILES_MANAGEMENT]: { - category: appCategories.CONTENT, - description: i18n.translate('management.landing.withCardNavigation.fileManagementDescription', { - defaultMessage: 'Any files created will be listed here.', + 'View, export, and import machine learning analytics and anomaly detection items.', }), - icon: , + icon: , }, - [appIds.API_KEYS]: { - category: appCategories.OTHER, - description: i18n.translate('management.landing.withCardNavigation.apiKeysDescription', { - defaultMessage: 'Allow applications to access Elastic on your behalf.', + [appIds.PIPELINES]: { + category: appCategories.DATA, + description: i18n.translate('management.landing.withCardNavigation.ingestDescription', { + defaultMessage: 'Manage Logstash event processing and see the result visually.', }), - icon: , + icon: , }, - [appIds.DATA_VIEWS]: { - category: appCategories.DATA, - description: i18n.translate('management.landing.withCardNavigation.dataViewsDescription', { - defaultMessage: - 'Create and manage the data views that help you retrieve your data from Elasticsearch.', + + [appIds.RULES]: { + category: appCategories.ALERTS, + description: i18n.translate('management.landing.withCardNavigation.rulesDescription', { + defaultMessage: 'Detect conditions using rules.', }), - icon: , + icon: , }, [appIds.CONNECTORS]: { - category: appCategories.OTHER, + category: appCategories.ALERTS, description: i18n.translate('management.landing.withCardNavigation.connectorsDescription', { defaultMessage: 'Connect third-party software with your alerting data.', }), icon: , }, - [appIds.RULES]: { - category: appCategories.OTHER, - description: i18n.translate('management.landing.withCardNavigation.rulesDescription', { - defaultMessage: 'Detect conditions using rules.', - }), - icon: , - }, [appIds.MAINTENANCE_WINDOWS]: { - category: appCategories.OTHER, + category: appCategories.ALERTS, description: i18n.translate( 'management.landing.withCardNavigation.maintenanceWindowsDescription', { @@ -153,6 +117,22 @@ export const appDefinitions: Record = { ), icon: , }, + + [appIds.SAVED_OBJECTS]: { + category: appCategories.CONTENT, + description: i18n.translate('management.landing.withCardNavigation.objectsDescription', { + defaultMessage: + 'Manage and share your saved objects. To edit the underlying data of an object, go to its associated application.', + }), + icon: , + }, + [appIds.FILES_MANAGEMENT]: { + category: appCategories.CONTENT, + description: i18n.translate('management.landing.withCardNavigation.fileManagementDescription', { + defaultMessage: 'Any files created will be listed here.', + }), + icon: , + }, [appIds.REPORTING]: { category: appCategories.CONTENT, description: i18n.translate('management.landing.withCardNavigation.reportingDescription', { @@ -160,6 +140,21 @@ export const appDefinitions: Record = { }), icon: , }, + [appIds.TAGS]: { + category: appCategories.CONTENT, + description: i18n.translate('management.landing.withCardNavigation.tagsDescription', { + defaultMessage: 'Use tags to categorize and easily find your objects.', + }), + icon: , + }, + + [appIds.API_KEYS]: { + category: appCategories.OTHER, + description: i18n.translate('management.landing.withCardNavigation.apiKeysDescription', { + defaultMessage: 'Allow applications to access Elastic on your behalf.', + }), + icon: , + }, }; // Compose a list of app ids that belong to a given category diff --git a/packages/kbn-test/src/kbn_client/kbn_client_requester.ts b/packages/kbn-test/src/kbn_client/kbn_client_requester.ts index 36a007c1c0d1c..be9ea42d94d66 100644 --- a/packages/kbn-test/src/kbn_client/kbn_client_requester.ts +++ b/packages/kbn-test/src/kbn_client/kbn_client_requester.ts @@ -131,6 +131,7 @@ export class KbnClientRequester { headers: { ...options.headers, 'kbn-xsrf': 'kbn-client', + 'x-elastic-internal-origin': 'kbn-client', }, httpsAgent: this.httpsAgent, responseType: options.responseType, diff --git a/src/core/server/integration_tests/saved_objects/migrations/group2/check_registered_types.test.ts b/src/core/server/integration_tests/saved_objects/migrations/group2/check_registered_types.test.ts index 063ed46c443f6..737522e973f98 100644 --- a/src/core/server/integration_tests/saved_objects/migrations/group2/check_registered_types.test.ts +++ b/src/core/server/integration_tests/saved_objects/migrations/group2/check_registered_types.test.ts @@ -120,7 +120,7 @@ describe('checking migration metadata changes on all registered SO types', () => "ml-module": "2225cbb4bd508ea5f69db4b848be9d8a74b60198", "ml-trained-model": "482195cefd6b04920e539d34d7356d22cb68e4f3", "monitoring-telemetry": "5d91bf75787d9d4dd2fae954d0b3f76d33d2e559", - "observability-onboarding-state": "55b112d6a33fedb7c1e4fec4da768d2bcc5fadc2", + "observability-onboarding-state": "c18631f47a0da568f12f859c9ab9d4ca73bdff7c", "osquery-manager-usage-metric": "983bcbc3b7dda0aad29b20907db233abba709bcc", "osquery-pack": "6ab4358ca4304a12dcfc1777c8135b75cffb4397", "osquery-pack-asset": "b14101d3172c4b60eb5404696881ce5275c84152", diff --git a/src/plugins/management/public/components/landing/landing.tsx b/src/plugins/management/public/components/landing/landing.tsx index 9e48a641fca41..b7d48d7b08491 100644 --- a/src/plugins/management/public/components/landing/landing.tsx +++ b/src/plugins/management/public/components/landing/landing.tsx @@ -12,6 +12,7 @@ import { EuiHorizontalRule } from '@elastic/eui'; import { KibanaPageTemplate } from '@kbn/shared-ux-page-kibana-template'; import { EuiPageBody } from '@elastic/eui'; import { CardsNavigation } from '@kbn/management-cards-navigation'; + import { useAppContext } from '../management_app/management_context'; interface ManagementLandingPageProps { @@ -23,9 +24,24 @@ export const ManagementLandingPage = ({ setBreadcrumbs, onAppMounted, }: ManagementLandingPageProps) => { - const { appBasePath, sections, kibanaVersion, cardsNavigationConfig } = useAppContext(); + const { + appBasePath, + sections, + kibanaVersion, + cardsNavigationConfig, + landingPageRedirect, + navigateToUrl, + basePath, + } = useAppContext(); setBreadcrumbs(); + // Redirect the user to the configured landing page if there is one + useEffect(() => { + if (landingPageRedirect) { + navigateToUrl(basePath.prepend(landingPageRedirect)); + } + }, [landingPageRedirect, navigateToUrl, basePath]); + useEffect(() => { onAppMounted(''); }, [onAppMounted]); diff --git a/src/plugins/management/public/components/management_app/management_app.tsx b/src/plugins/management/public/components/management_app/management_app.tsx index 538da6045255a..c5afc54201406 100644 --- a/src/plugins/management/public/components/management_app/management_app.tsx +++ b/src/plugins/management/public/components/management_app/management_app.tsx @@ -114,6 +114,9 @@ export const ManagementApp = ({ sections, cardsNavigationConfig, kibanaVersion: dependencies.kibanaVersion, + landingPageRedirect, + navigateToUrl: dependencies.coreStart.application.navigateToUrl, + basePath: dependencies.coreStart.http.basePath, }; return ( @@ -134,9 +137,6 @@ export const ManagementApp = ({ setBreadcrumbs={setBreadcrumbsScoped} onAppMounted={onAppMounted} sections={sections} - landingPageRedirect={landingPageRedirect} - navigateToUrl={dependencies.coreStart.application.navigateToUrl} - basePath={dependencies.coreStart.http.basePath} /> diff --git a/src/plugins/management/public/components/management_app/management_router.tsx b/src/plugins/management/public/components/management_app/management_router.tsx index 9335af3bf5b78..20c2cc263f7eb 100644 --- a/src/plugins/management/public/components/management_app/management_router.tsx +++ b/src/plugins/management/public/components/management_app/management_router.tsx @@ -6,12 +6,10 @@ * Side Public License, v 1. */ -import React, { memo, useEffect } from 'react'; +import React, { memo } from 'react'; import { Redirect } from 'react-router-dom'; import { Router, Routes, Route } from '@kbn/shared-ux-router'; import { AppMountParameters, ChromeBreadcrumb, ScopedHistory } from '@kbn/core/public'; -import type { ApplicationStart } from '@kbn/core-application-browser'; -import type { HttpStart } from '@kbn/core-http-browser'; import { ManagementAppWrapper } from '../management_app_wrapper'; import { ManagementLandingPage } from '../landing'; import { ManagementSection } from '../../utils'; @@ -22,29 +20,10 @@ interface ManagementRouterProps { setBreadcrumbs: (crumbs?: ChromeBreadcrumb[], appHistory?: ScopedHistory) => void; onAppMounted: (id: string) => void; sections: ManagementSection[]; - landingPageRedirect: string | undefined; - navigateToUrl: ApplicationStart['navigateToUrl']; - basePath: HttpStart['basePath']; } export const ManagementRouter = memo( - ({ - history, - setBreadcrumbs, - onAppMounted, - sections, - theme$, - landingPageRedirect, - navigateToUrl, - basePath, - }: ManagementRouterProps) => { - // Redirect the user to the configured landing page if there is one - useEffect(() => { - if (landingPageRedirect) { - navigateToUrl(basePath.prepend(landingPageRedirect)); - } - }, [landingPageRedirect, navigateToUrl, basePath]); - + ({ history, setBreadcrumbs, onAppMounted, sections, theme$ }: ManagementRouterProps) => { return ( diff --git a/src/plugins/management/public/types.ts b/src/plugins/management/public/types.ts index fd45ed41cd0e3..31755c39cc7c2 100644 --- a/src/plugins/management/public/types.ts +++ b/src/plugins/management/public/types.ts @@ -12,6 +12,8 @@ import type { LocatorPublic } from '@kbn/share-plugin/common'; import { ChromeBreadcrumb, CoreTheme } from '@kbn/core/public'; import type { AppId } from '@kbn/management-cards-navigation'; import { AppNavLinkStatus } from '@kbn/core/public'; +import type { ApplicationStart } from '@kbn/core-application-browser'; +import type { HttpStart } from '@kbn/core-http-browser'; import { ManagementSection, RegisterManagementSectionArgs } from './utils'; import type { ManagementAppLocatorParams } from '../common/locator'; @@ -93,6 +95,9 @@ export interface AppDependencies { kibanaVersion: string; sections: ManagementSection[]; cardsNavigationConfig?: NavigationCardsSubject; + landingPageRedirect: string | undefined; + navigateToUrl: ApplicationStart['navigateToUrl']; + basePath: HttpStart['basePath']; } export interface ConfigSchema { diff --git a/x-pack/packages/security-solution/navigation/src/constants.ts b/x-pack/packages/security-solution/navigation/src/constants.ts index 1ad8d9683f66a..6bdef7bb30e51 100644 --- a/x-pack/packages/security-solution/navigation/src/constants.ts +++ b/x-pack/packages/security-solution/navigation/src/constants.ts @@ -67,7 +67,7 @@ export enum SecurityPageName { * Warning: Computed values are not permitted in an enum with string valued members * All threat intelligence page names must match `TIPageId` in x-pack/plugins/threat_intelligence/public/common/navigation/types.ts */ - threatIntelligenceIndicators = 'threat_intelligence-indicators', + threatIntelligence = 'threat_intelligence', timelines = 'timelines', timelinesTemplates = 'timelines-templates', trustedApps = 'trusted_apps', diff --git a/x-pack/performance/journeys/apm_service_inventory.ts b/x-pack/performance/journeys/apm_service_inventory.ts index 980c193f67bbb..30787b6b16277 100644 --- a/x-pack/performance/journeys/apm_service_inventory.ts +++ b/x-pack/performance/journeys/apm_service_inventory.ts @@ -25,8 +25,8 @@ export const journey = new Journey({ // Setup Synthtrace Client await synthClient.initialiseEsClient(); // Generate data using Synthtrace - const start = Date.now() - 1000; - const end = Date.now(); + const start = Date.now() - 1000 * 60 * 15; + const end = Date.now() + 1000 * 60 * 15; await synthClient.index( generateData({ from: new Date(start).getTime(), @@ -35,7 +35,6 @@ export const journey = new Journey({ ); }, ftrConfigPath: 'x-pack/performance/configs/apm_config.ts', - skipped: true, }) .step('Navigate to Service Inventory Page', async ({ page, kbnUrl }) => { await page.goto(kbnUrl.get(`app/apm/services`)); diff --git a/x-pack/plugins/apm/server/routes/fleet/source_maps.ts b/x-pack/plugins/apm/server/routes/fleet/source_maps.ts index ad2bc870c7f33..4eb0b011cef3c 100644 --- a/x-pack/plugins/apm/server/routes/fleet/source_maps.ts +++ b/x-pack/plugins/apm/server/routes/fleet/source_maps.ts @@ -19,12 +19,18 @@ import { getPackagePolicyWithSourceMap } from './get_package_policy_decorators'; const doUnzip = promisify(unzip); -interface ApmSourceMapArtifactBody { +interface ApmMapArtifactBody { serviceName: string; serviceVersion: string; bundleFilepath: string; + sourceMap: string; +} + +interface ApmSourceMapArtifactBody + extends Omit { sourceMap: SourceMap; } + export type ArtifactSourceMap = Omit & { body: ApmSourceMapArtifactBody; }; @@ -104,6 +110,23 @@ export async function createFleetSourceMapArtifact({ }); } +export async function createFleetAndroidMapArtifact({ + apmArtifactBody, + fleetPluginStart, +}: { + apmArtifactBody: ApmMapArtifactBody; + fleetPluginStart: FleetPluginStart; +}) { + const apmArtifactClient = getApmArtifactClient(fleetPluginStart); + const identifier = `${apmArtifactBody.serviceName}-${apmArtifactBody.serviceVersion}-android`; + + return apmArtifactClient.createArtifact({ + type: 'sourcemap', + identifier, + content: JSON.stringify(apmArtifactBody), + }); +} + export async function deleteFleetSourcemapArtifact({ id, fleetPluginStart, diff --git a/x-pack/plugins/apm/server/routes/source_maps/bulk_create_apm_source_maps.ts b/x-pack/plugins/apm/server/routes/source_maps/bulk_create_apm_source_maps.ts index f681642c0bc4b..5cc9f93e49b7b 100644 --- a/x-pack/plugins/apm/server/routes/source_maps/bulk_create_apm_source_maps.ts +++ b/x-pack/plugins/apm/server/routes/source_maps/bulk_create_apm_source_maps.ts @@ -10,7 +10,7 @@ import { Artifact } from '@kbn/fleet-plugin/server'; import { getUnzippedArtifactBody } from '../fleet/source_maps'; import { APM_SOURCE_MAP_INDEX } from '../settings/apm_indices/get_apm_indices'; import { ApmSourceMap } from './create_apm_source_map_index_template'; -import { getEncodedContent, getSourceMapId } from './sourcemap_utils'; +import { getEncodedSourceMapContent, getSourceMapId } from './sourcemap_utils'; export async function bulkCreateApmSourceMaps({ artifacts, @@ -24,7 +24,7 @@ export async function bulkCreateApmSourceMaps({ const { serviceName, serviceVersion, bundleFilepath, sourceMap } = await getUnzippedArtifactBody(artifact.body); - const { contentEncoded, contentHash } = await getEncodedContent( + const { contentEncoded, contentHash } = await getEncodedSourceMapContent( sourceMap ); diff --git a/x-pack/plugins/apm/server/routes/source_maps/create_apm_source_map.ts b/x-pack/plugins/apm/server/routes/source_maps/create_apm_source_map.ts index 442b9299587a6..132a92a225187 100644 --- a/x-pack/plugins/apm/server/routes/source_maps/create_apm_source_map.ts +++ b/x-pack/plugins/apm/server/routes/source_maps/create_apm_source_map.ts @@ -10,7 +10,11 @@ import { Logger } from '@kbn/core/server'; import { APM_SOURCE_MAP_INDEX } from '../settings/apm_indices/get_apm_indices'; import { ApmSourceMap } from './create_apm_source_map_index_template'; import { SourceMap } from './route'; -import { getEncodedContent, getSourceMapId } from './sourcemap_utils'; +import { + getEncodedSourceMapContent, + getEncodedContent, + getSourceMapId, +} from './sourcemap_utils'; export async function createApmSourceMap({ internalESClient, @@ -31,9 +35,75 @@ export async function createApmSourceMap({ serviceName: string; serviceVersion: string; }) { - const { contentEncoded, contentHash } = await getEncodedContent( + const { contentEncoded, contentHash } = await getEncodedSourceMapContent( sourceMapContent ); + return await doCreateApmMap({ + internalESClient, + logger, + fleetId, + created, + bundleFilepath, + serviceName, + serviceVersion, + contentEncoded, + contentHash, + }); +} + +export async function createApmAndroidMap({ + internalESClient, + logger, + fleetId, + created, + mapContent, + bundleFilepath, + serviceName, + serviceVersion, +}: { + internalESClient: ElasticsearchClient; + logger: Logger; + fleetId: string; + created: string; + mapContent: string; + bundleFilepath: string; + serviceName: string; + serviceVersion: string; +}) { + const { contentEncoded, contentHash } = await getEncodedContent(mapContent); + return await doCreateApmMap({ + internalESClient, + logger, + fleetId, + created, + bundleFilepath, + serviceName, + serviceVersion, + contentEncoded, + contentHash, + }); +} +async function doCreateApmMap({ + internalESClient, + logger, + fleetId, + created, + bundleFilepath, + serviceName, + serviceVersion, + contentEncoded, + contentHash, +}: { + internalESClient: ElasticsearchClient; + logger: Logger; + fleetId: string; + created: string; + bundleFilepath: string; + serviceName: string; + serviceVersion: string; + contentEncoded: string; + contentHash: string; +}) { const doc: ApmSourceMap = { fleet_id: fleetId, created, diff --git a/x-pack/plugins/apm/server/routes/source_maps/route.ts b/x-pack/plugins/apm/server/routes/source_maps/route.ts index ae29267644668..c0cc2404af492 100644 --- a/x-pack/plugins/apm/server/routes/source_maps/route.ts +++ b/x-pack/plugins/apm/server/routes/source_maps/route.ts @@ -9,19 +9,24 @@ import { SavedObjectsClientContract } from '@kbn/core/server'; import { Artifact } from '@kbn/fleet-plugin/server'; import { jsonRt, toNumberRt } from '@kbn/io-ts-utils'; import * as t from 'io-ts'; +import { either } from 'fp-ts/lib/Either'; import { ApmFeatureFlags } from '../../../common/apm_feature_flags'; import { getInternalSavedObjectsClient } from '../../lib/helpers/get_internal_saved_objects_client'; import { stringFromBufferRt } from '../../utils/string_from_buffer_rt'; import { createApmServerRoute } from '../apm_routes/create_apm_server_route'; import { createFleetSourceMapArtifact, + createFleetAndroidMapArtifact, deleteFleetSourcemapArtifact, getCleanedBundleFilePath, listSourceMapArtifacts, ListSourceMapArtifactsResponse, updateSourceMapsOnFleetPolicies, } from '../fleet/source_maps'; -import { createApmSourceMap } from './create_apm_source_map'; +import { + createApmSourceMap, + createApmAndroidMap, +} from './create_apm_source_map'; import { deleteApmSourceMap } from './delete_apm_sourcemap'; import { runFleetSourcemapArtifactsMigration } from './schedule_source_map_migration'; @@ -41,6 +46,24 @@ export const sourceMapRt = t.intersection([ export type SourceMap = t.TypeOf; +const androidMapValidation = new t.Type( + 'ANDROID_MAP_VALIDATION', + t.string.is, + (input, context): t.Validation => + either.chain( + t.string.validate(input, context), + (str): t.Validation => { + const firstLine = str.split('\n', 1)[0]; + if (firstLine.trim() === '# compiler: R8') { + return t.success(str); + } else { + return t.failure(input, context); + } + } + ), + (a): string => a +); + function throwNotImplementedIfSourceMapNotAvailable( featureFlags: ApmFeatureFlags ): void { @@ -91,7 +114,7 @@ const uploadSourceMapRoute = createApmServerRoute({ endpoint: 'POST /api/apm/sourcemaps 2023-10-31', options: { tags: ['access:apm', 'access:apm_write'], - body: { accepts: ['multipart/form-data'] }, + body: { accepts: ['multipart/form-data'], maxBytes: 100 * 1024 * 1024 }, }, params: t.type({ body: t.type({ @@ -169,6 +192,85 @@ const uploadSourceMapRoute = createApmServerRoute({ }, }); +const uploadAndroidMapRoute = createApmServerRoute({ + endpoint: 'POST /api/apm/androidmaps 2023-10-31', + options: { + tags: ['access:apm', 'access:apm_write'], + body: { accepts: ['multipart/form-data'], maxBytes: 100 * 1024 * 1024 }, + }, + params: t.type({ + body: t.type({ + service_name: t.string, + service_version: t.string, + map_file: t + .union([t.string, stringFromBufferRt]) + .pipe(androidMapValidation), + }), + }), + handler: async ({ + params, + plugins, + core, + logger, + featureFlags, + }): Promise => { + throwNotImplementedIfSourceMapNotAvailable(featureFlags); + + const { + service_name: serviceName, + service_version: serviceVersion, + map_file: sourceMapContent, + } = params.body; + const bundleFilepath = 'android'; + const fleetPluginStart = await plugins.fleet?.start(); + const coreStart = await core.start(); + const internalESClient = coreStart.elasticsearch.client.asInternalUser; + const savedObjectsClient = await getInternalSavedObjectsClient(coreStart); + try { + if (fleetPluginStart) { + // create source map as fleet artifact + const artifact = await createFleetAndroidMapArtifact({ + fleetPluginStart, + apmArtifactBody: { + serviceName, + serviceVersion, + bundleFilepath, + sourceMap: sourceMapContent, + }, + }); + + // sync source map to APM managed index + await createApmAndroidMap({ + internalESClient, + logger, + fleetId: artifact.id, + created: artifact.created, + mapContent: sourceMapContent, + bundleFilepath, + serviceName, + serviceVersion, + }); + + // sync source map to fleet policy + await updateSourceMapsOnFleetPolicies({ + coreStart, + fleetPluginStart, + savedObjectsClient: + savedObjectsClient as unknown as SavedObjectsClientContract, + internalESClient, + }); + + return artifact; + } + } catch (e) { + throw Boom.internal( + 'Something went wrong while creating a new android map', + e + ); + } + }, +}); + const deleteSourceMapRoute = createApmServerRoute({ endpoint: 'DELETE /api/apm/sourcemaps/{id} 2023-10-31', options: { tags: ['access:apm', 'access:apm_write'] }, @@ -230,5 +332,6 @@ export const sourceMapsRouteRepository = { ...listSourceMapRoute, ...uploadSourceMapRoute, ...deleteSourceMapRoute, + ...uploadAndroidMapRoute, ...migrateFleetArtifactsSourceMapRoute, }; diff --git a/x-pack/plugins/apm/server/routes/source_maps/sourcemap_utils.ts b/x-pack/plugins/apm/server/routes/source_maps/sourcemap_utils.ts index 20ff2fa4bd41c..408d1b98f9c5a 100644 --- a/x-pack/plugins/apm/server/routes/source_maps/sourcemap_utils.ts +++ b/x-pack/plugins/apm/server/routes/source_maps/sourcemap_utils.ts @@ -16,8 +16,11 @@ function asSha256Encoded(content: BinaryLike): string { return createHash('sha256').update(content).digest('hex'); } -export async function getEncodedContent(sourceMapContent: SourceMap) { - const contentBuffer = Buffer.from(JSON.stringify(sourceMapContent)); +export async function getEncodedSourceMapContent(sourceMapContent: SourceMap) { + return getEncodedContent(JSON.stringify(sourceMapContent)); +} +export async function getEncodedContent(textContent: string) { + const contentBuffer = Buffer.from(textContent); const contentZipped = await deflateAsync(contentBuffer); const contentEncoded = contentZipped.toString('base64'); const contentHash = asSha256Encoded(contentZipped); diff --git a/x-pack/plugins/cases/common/api/helpers.ts b/x-pack/plugins/cases/common/api/helpers.ts index 9e33eb3173d0e..da16dc028b854 100644 --- a/x-pack/plugins/cases/common/api/helpers.ts +++ b/x-pack/plugins/cases/common/api/helpers.ts @@ -7,7 +7,7 @@ import { CASE_DETAILS_URL, - CASE_METRICS_DETAILS_URL, + INTERNAL_CASE_METRICS_DETAILS_URL, CASE_COMMENTS_URL, CASE_USER_ACTIONS_URL, CASE_PUSH_URL, @@ -28,7 +28,7 @@ export const getCaseDetailsUrl = (id: string): string => { }; export const getCaseDetailsMetricsUrl = (id: string): string => { - return CASE_METRICS_DETAILS_URL.replace('{case_id}', id); + return INTERNAL_CASE_METRICS_DETAILS_URL.replace('{case_id}', id); }; export const getCaseCommentsUrl = (id: string): string => { diff --git a/x-pack/plugins/cases/common/api/metrics/case.test.ts b/x-pack/plugins/cases/common/api/metrics/case.test.ts index 073aac4899fb9..aa6c9bfd11eeb 100644 --- a/x-pack/plugins/cases/common/api/metrics/case.test.ts +++ b/x-pack/plugins/cases/common/api/metrics/case.test.ts @@ -5,17 +5,19 @@ * 2.0. */ +import { PathReporter } from 'io-ts/lib/PathReporter'; import { SingleCaseMetricsRequestRt, CasesMetricsRequestRt, SingleCaseMetricsResponseRt, CasesMetricsResponseRt, + CaseMetricsFeature, } from './case'; describe('Metrics case', () => { describe('SingleCaseMetricsRequestRt', () => { const defaultRequest = { - features: ['alerts.count', 'lifespan'], + features: [CaseMetricsFeature.ALERTS_COUNT, CaseMetricsFeature.LIFESPAN], }; it('has expected attributes in request', () => { @@ -38,10 +40,27 @@ describe('Metrics case', () => { right: defaultRequest, }); }); + + describe('errors', () => { + it('has invalid feature in request', () => { + expect( + PathReporter.report( + SingleCaseMetricsRequestRt.decode({ + features: [CaseMetricsFeature.MTTR], + }) + )[0] + ).toContain('Invalid value "mttr" supplied'); + }); + }); }); describe('CasesMetricsRequestRt', () => { - const defaultRequest = { features: ['mttr'], to: 'now-1d', from: 'now-1d', owner: ['cases'] }; + const defaultRequest = { + features: [CaseMetricsFeature.MTTR], + to: 'now-1d', + from: 'now-1d', + owner: ['cases'], + }; it('has expected attributes in request', () => { const query = CasesMetricsRequestRt.decode(defaultRequest); @@ -65,16 +84,31 @@ describe('Metrics case', () => { }); it('removes foo:bar attributes from when partial fields', () => { - const query = CasesMetricsRequestRt.decode({ features: ['mttr'], to: 'now-1d', foo: 'bar' }); + const query = CasesMetricsRequestRt.decode({ + features: [CaseMetricsFeature.MTTR], + to: 'now-1d', + foo: 'bar', + }); expect(query).toStrictEqual({ _tag: 'Right', right: { - features: ['mttr'], + features: [CaseMetricsFeature.MTTR], to: 'now-1d', }, }); }); + describe('errors', () => { + it('has invalid feature in request', () => { + expect( + PathReporter.report( + CasesMetricsRequestRt.decode({ + features: ['foobar'], + }) + )[0] + ).toContain('Invalid value "foobar" supplied'); + }); + }); }); describe('SingleCaseMetricsResponseRt', () => { diff --git a/x-pack/plugins/cases/common/api/metrics/case.ts b/x-pack/plugins/cases/common/api/metrics/case.ts index 0e470a74bc4fa..895c0fe99b3bf 100644 --- a/x-pack/plugins/cases/common/api/metrics/case.ts +++ b/x-pack/plugins/cases/common/api/metrics/case.ts @@ -15,6 +15,30 @@ export type AlertHostsMetrics = rt.TypeOf; export type AlertUsersMetrics = rt.TypeOf; export type StatusInfo = rt.TypeOf; +export enum CaseMetricsFeature { + ALERTS_COUNT = 'alerts.count', + ALERTS_USERS = 'alerts.users', + ALERTS_HOSTS = 'alerts.hosts', + ACTIONS_ISOLATE_HOST = 'actions.isolateHost', + CONNECTORS = 'connectors', + LIFESPAN = 'lifespan', + MTTR = 'mttr', +} + +export const SingleCaseMetricsFeatureFieldRt = rt.union([ + rt.literal(CaseMetricsFeature.ALERTS_COUNT), + rt.literal(CaseMetricsFeature.ALERTS_USERS), + rt.literal(CaseMetricsFeature.ALERTS_HOSTS), + rt.literal(CaseMetricsFeature.ACTIONS_ISOLATE_HOST), + rt.literal(CaseMetricsFeature.CONNECTORS), + rt.literal(CaseMetricsFeature.LIFESPAN), +]); + +export const CasesMetricsFeatureFieldRt = rt.union([ + SingleCaseMetricsFeatureFieldRt, + rt.literal(CaseMetricsFeature.MTTR), +]); + const StatusInfoRt = rt.strict({ /** * Duration the case was in the open status in milliseconds @@ -76,7 +100,7 @@ export const SingleCaseMetricsRequestRt = rt.strict({ /** * The metrics to retrieve. */ - features: rt.array(rt.string), + features: rt.array(SingleCaseMetricsFeatureFieldRt), }); export const CasesMetricsRequestRt = rt.intersection([ @@ -84,7 +108,7 @@ export const CasesMetricsRequestRt = rt.intersection([ /** * The metrics to retrieve. */ - features: rt.array(rt.string), + features: rt.array(CasesMetricsFeatureFieldRt), }), rt.exact( rt.partial({ @@ -188,3 +212,6 @@ export const CasesMetricsResponseRt = rt.exact( mttr: rt.union([rt.number, rt.null]), }) ); + +export type CasesMetricsFeatureField = rt.TypeOf; +export type SingleCaseMetricsFeatureField = rt.TypeOf; diff --git a/x-pack/plugins/cases/common/constants/index.ts b/x-pack/plugins/cases/common/constants/index.ts index 02a20b014aa8a..ac689ad5b29d4 100644 --- a/x-pack/plugins/cases/common/constants/index.ts +++ b/x-pack/plugins/cases/common/constants/index.ts @@ -61,9 +61,6 @@ export const CASE_FIND_USER_ACTIONS_URL = `${CASE_USER_ACTIONS_URL}/_find` as co export const CASE_ALERTS_URL = `${CASES_URL}/alerts/{alert_id}` as const; export const CASE_DETAILS_ALERTS_URL = `${CASE_DETAILS_URL}/alerts` as const; -export const CASE_METRICS_URL = `${CASES_URL}/metrics` as const; -export const CASE_METRICS_DETAILS_URL = `${CASES_URL}/metrics/{case_id}` as const; - /** * Internal routes */ @@ -83,6 +80,8 @@ export const INTERNAL_CASE_USERS_URL = `${CASES_INTERNAL_URL}/{case_id}/_users` export const INTERNAL_DELETE_FILE_ATTACHMENTS_URL = `${CASES_INTERNAL_URL}/{case_id}/attachments/files/_bulk_delete` as const; export const INTERNAL_GET_CASE_CATEGORIES_URL = `${CASES_INTERNAL_URL}/categories` as const; +export const INTERNAL_CASE_METRICS_URL = `${CASES_INTERNAL_URL}/metrics` as const; +export const INTERNAL_CASE_METRICS_DETAILS_URL = `${CASES_INTERNAL_URL}/metrics/{case_id}` as const; /** * Action routes diff --git a/x-pack/plugins/cases/common/index.ts b/x-pack/plugins/cases/common/index.ts index 070945d322039..4b170fa9289a7 100644 --- a/x-pack/plugins/cases/common/index.ts +++ b/x-pack/plugins/cases/common/index.ts @@ -58,3 +58,4 @@ export { getCasesFromAlertsUrl, getCaseFindUserActionsUrl, throwErrors } from '. export { StatusAll } from './ui/types'; export { createUICapabilities } from './utils/capabilities'; export { getApiTags } from './utils/api_tags'; +export { CaseMetricsFeature } from './api/metrics/case'; diff --git a/x-pack/plugins/cases/common/ui/types.ts b/x-pack/plugins/cases/common/ui/types.ts index c9a5335f6388c..0a8a0acbb9899 100644 --- a/x-pack/plugins/cases/common/ui/types.ts +++ b/x-pack/plugins/cases/common/ui/types.ts @@ -12,7 +12,6 @@ import type { READ_CASES_CAPABILITY, UPDATE_CASES_CAPABILITY, } from '..'; -import type { SingleCaseMetricsResponse, CasesMetricsResponse } from '../api'; import type { PUSH_CASES_CAPABILITY } from '../constants'; import type { SnakeToCamelCase } from '../types'; import type { @@ -37,6 +36,7 @@ import type { UserActionFindRequestTypes, UserActionFindResponse, } from '../types/api'; +import type { CaseMetricsFeature, CasesMetricsResponse, SingleCaseMetricsResponse } from '../api'; type DeepRequired = { [K in keyof T]: DeepRequired } & Required; @@ -153,13 +153,7 @@ export interface FilterOptions { export type PartialFilterOptions = Partial; export type SingleCaseMetrics = SingleCaseMetricsResponse; -export type SingleCaseMetricsFeature = - | 'alerts.count' - | 'alerts.users' - | 'alerts.hosts' - | 'actions.isolateHost' - | 'connectors' - | 'lifespan'; +export type SingleCaseMetricsFeature = Exclude; export enum SortFieldCase { closedAt = 'closedAt', diff --git a/x-pack/plugins/cases/public/api/index.test.ts b/x-pack/plugins/cases/public/api/index.test.ts index c3a88c04cf8c7..0e887c185b313 100644 --- a/x-pack/plugins/cases/public/api/index.test.ts +++ b/x-pack/plugins/cases/public/api/index.test.ts @@ -5,6 +5,7 @@ * 2.0. */ +import { CaseMetricsFeature } from '../../common/api/metrics/case'; import { httpServiceMock } from '@kbn/core/public/mocks'; import { bulkGetCases, getCases, getCasesMetrics } from '.'; import { allCases, allCasesSnake, casesSnake } from '../containers/mock'; @@ -36,14 +37,17 @@ describe('api', () => { it('should return the correct response', async () => { expect( - await getCasesMetrics({ http, query: { features: ['mttr'], from: 'now-1d' } }) + await getCasesMetrics({ + http, + query: { features: [CaseMetricsFeature.MTTR], from: 'now-1d' }, + }) ).toEqual({ mttr: 0 }); }); it('should have been called with the correct path', async () => { - await getCasesMetrics({ http, query: { features: ['mttr'], to: 'now-1d' } }); - expect(http.get).toHaveBeenCalledWith('/api/cases/metrics', { - query: { features: ['mttr'], to: 'now-1d' }, + await getCasesMetrics({ http, query: { features: [CaseMetricsFeature.MTTR], to: 'now-1d' } }); + expect(http.get).toHaveBeenCalledWith('/internal/cases/metrics', { + query: { features: [CaseMetricsFeature.MTTR], to: 'now-1d' }, }); }); }); diff --git a/x-pack/plugins/cases/public/api/index.ts b/x-pack/plugins/cases/public/api/index.ts index 743bb2f2346ba..deb72d4c4beaf 100644 --- a/x-pack/plugins/cases/public/api/index.ts +++ b/x-pack/plugins/cases/public/api/index.ts @@ -17,7 +17,7 @@ import type { import type { CasesStatus, CasesMetrics, CasesFindResponseUI } from '../../common/ui'; import { CASE_FIND_URL, - CASE_METRICS_URL, + INTERNAL_CASE_METRICS_URL, CASE_STATUS_URL, INTERNAL_BULK_GET_CASES_URL, } from '../../common/constants'; @@ -62,7 +62,7 @@ export const getCasesMetrics = async ({ signal, query, }: HTTPService & { query: CasesMetricsRequest }): Promise => { - const res = await http.get(CASE_METRICS_URL, { signal, query }); + const res = await http.get(INTERNAL_CASE_METRICS_URL, { signal, query }); return convertToCamelCase(decodeCasesMetricsResponse(res)); }; diff --git a/x-pack/plugins/cases/public/client/api/index.test.ts b/x-pack/plugins/cases/public/client/api/index.test.ts index 0a07cd5454b02..792fa861b4241 100644 --- a/x-pack/plugins/cases/public/client/api/index.test.ts +++ b/x-pack/plugins/cases/public/client/api/index.test.ts @@ -5,6 +5,7 @@ * 2.0. */ +import { CaseMetricsFeature } from '../../../common/api/metrics/case'; import { httpServiceMock } from '@kbn/core/public/mocks'; import { createClientAPI } from '.'; import { allCases, allCasesSnake, casesSnake } from '../../containers/mock'; @@ -68,15 +69,17 @@ describe('createClientAPI', () => { http.get.mockResolvedValue({ mttr: 0 }); it('should return the correct response', async () => { - expect(await api.cases.getCasesMetrics({ features: ['mttr'], from: 'now-1d' })).toEqual({ + expect( + await api.cases.getCasesMetrics({ features: [CaseMetricsFeature.MTTR], from: 'now-1d' }) + ).toEqual({ mttr: 0, }); }); it('should have been called with the correct path', async () => { - await api.cases.getCasesMetrics({ features: ['mttr'], from: 'now-1d' }); - expect(http.get).toHaveBeenCalledWith('/api/cases/metrics', { - query: { features: ['mttr'], from: 'now-1d' }, + await api.cases.getCasesMetrics({ features: [CaseMetricsFeature.MTTR], from: 'now-1d' }); + expect(http.get).toHaveBeenCalledWith('/internal/cases/metrics', { + query: { features: [CaseMetricsFeature.MTTR], from: 'now-1d' }, }); }); }); diff --git a/x-pack/plugins/cases/public/common/use_cases_features.test.tsx b/x-pack/plugins/cases/public/common/use_cases_features.test.tsx index 973ed1326baa8..3f6ba6676d63e 100644 --- a/x-pack/plugins/cases/public/common/use_cases_features.test.tsx +++ b/x-pack/plugins/cases/public/common/use_cases_features.test.tsx @@ -14,6 +14,7 @@ import { useCasesFeatures } from './use_cases_features'; import { TestProviders } from './mock/test_providers'; import type { LicenseType } from '@kbn/licensing-plugin/common/types'; import { LICENSE_TYPE } from '@kbn/licensing-plugin/common/types'; +import { CaseMetricsFeature } from '../../common/api/metrics/case'; describe('useCasesFeatures', () => { // isAlertsEnabled, isSyncAlertsEnabled, alerts @@ -53,14 +54,16 @@ describe('useCasesFeatures', () => { it('returns the metrics correctly', async () => { const { result } = renderHook<{}, UseCasesFeatures>(() => useCasesFeatures(), { wrapper: ({ children }) => ( - {children} + + {children} + ), }); expect(result.current).toEqual({ isAlertsEnabled: true, isSyncAlertsEnabled: true, - metricsFeatures: ['connectors'], + metricsFeatures: [CaseMetricsFeature.CONNECTORS], caseAssignmentAuthorized: false, pushToServiceAuthorized: false, }); diff --git a/x-pack/plugins/cases/public/components/case_action_bar/index.test.tsx b/x-pack/plugins/cases/public/components/case_action_bar/index.test.tsx index 909bcc317b505..26af77bc77982 100644 --- a/x-pack/plugins/cases/public/components/case_action_bar/index.test.tsx +++ b/x-pack/plugins/cases/public/components/case_action_bar/index.test.tsx @@ -22,6 +22,7 @@ import { import { useGetCaseConnectors } from '../../containers/use_get_case_connectors'; import { useRefreshCaseViewPage } from '../case_view/use_on_refresh_case_view_page'; import { getCaseConnectorsMockResponse } from '../../common/mock/connectors'; +import { CaseMetricsFeature } from '../../../common/api/metrics/case'; jest.mock('../../containers/use_get_case_connectors'); jest.mock('../case_view/use_on_refresh_case_view_page'); @@ -152,7 +153,7 @@ describe('CaseActionBar', () => { it('should not show the Case open text when the lifespan feature is enabled', () => { const props: CaseActionBarProps = { ...defaultProps }; const { queryByText } = render( - + ); diff --git a/x-pack/plugins/cases/public/components/case_action_bar/index.tsx b/x-pack/plugins/cases/public/components/case_action_bar/index.tsx index eb4ff93aac99d..95ca7e407191f 100644 --- a/x-pack/plugins/cases/public/components/case_action_bar/index.tsx +++ b/x-pack/plugins/cases/public/components/case_action_bar/index.tsx @@ -16,8 +16,9 @@ import { EuiFlexItem, EuiIconTip, } from '@elastic/eui'; -import type { CaseUI } from '../../../common/ui/types'; import type { CaseStatuses } from '../../../common/types/domain'; +import type { CaseUI } from '../../../common/ui/types'; +import { CaseMetricsFeature } from '../../../common/api'; import * as i18n from '../case_view/translations'; import { Actions } from './actions'; import { StatusContextMenu } from './status_context_menu'; @@ -100,7 +101,7 @@ const CaseActionBarComponent: React.FC = ({ /> - {!metricsFeatures.includes('lifespan') ? ( + {!metricsFeatures.includes(CaseMetricsFeature.LIFESPAN) ? ( {title} diff --git a/x-pack/plugins/cases/public/components/case_view/case_view_page.test.tsx b/x-pack/plugins/cases/public/components/case_view/case_view_page.test.tsx index 49af1aed3a075..cba862d06fab7 100644 --- a/x-pack/plugins/cases/public/components/case_view/case_view_page.test.tsx +++ b/x-pack/plugins/cases/public/components/case_view/case_view_page.test.tsx @@ -41,6 +41,7 @@ import { useInfiniteFindCaseUserActions } from '../../containers/use_infinite_fi import { useGetCaseUserActionsStats } from '../../containers/use_get_case_user_actions_stats'; import { createQueryWithMarkup } from '../../common/test_utils'; import { useCasesFeatures } from '../../common/use_cases_features'; +import { CaseMetricsFeature } from '../../../common/api/metrics/case'; jest.mock('../../containers/use_get_action_license'); jest.mock('../../containers/use_update_case'); @@ -176,7 +177,7 @@ describe('CaseViewPage', () => { useGetTagsMock.mockReturnValue({ data: [], isLoading: false }); useGetCaseUsersMock.mockReturnValue({ isLoading: false, data: caseUsers }); useCasesFeaturesMock.mockReturnValue({ - metricsFeatures: ['alerts.count'], + metricsFeatures: [CaseMetricsFeature.ALERTS_COUNT], pushToServiceAuthorized: true, caseAssignmentAuthorized: true, isAlertsEnabled: true, diff --git a/x-pack/plugins/cases/public/components/case_view/components/case_view_activity.test.tsx b/x-pack/plugins/cases/public/components/case_view/components/case_view_activity.test.tsx index 76db6783bb037..5f2288a93191b 100644 --- a/x-pack/plugins/cases/public/components/case_view/components/case_view_activity.test.tsx +++ b/x-pack/plugins/cases/public/components/case_view/components/case_view_activity.test.tsx @@ -37,6 +37,7 @@ import { useInfiniteFindCaseUserActions } from '../../../containers/use_infinite import { useOnUpdateField } from '../use_on_update_field'; import { useCasesFeatures } from '../../../common/use_cases_features'; import { ConnectorTypes, UserActionTypes } from '../../../../common/types/domain'; +import { CaseMetricsFeature } from '../../../../common/api/metrics/case'; jest.mock('../../../containers/use_infinite_find_case_user_actions'); jest.mock('../../../containers/use_find_case_user_actions'); @@ -116,7 +117,7 @@ const caseProps = { const caseUsers = getCaseUsersMockResponse(); const useGetCasesFeaturesRes = { - metricsFeatures: ['alerts.count'], + metricsFeatures: [CaseMetricsFeature.ALERTS_COUNT], pushToServiceAuthorized: true, caseAssignmentAuthorized: true, isAlertsEnabled: true, diff --git a/x-pack/plugins/cases/public/components/case_view/metrics/index.test.tsx b/x-pack/plugins/cases/public/components/case_view/metrics/index.test.tsx index 166ec92d5798c..6f28f35845429 100644 --- a/x-pack/plugins/cases/public/components/case_view/metrics/index.test.tsx +++ b/x-pack/plugins/cases/public/components/case_view/metrics/index.test.tsx @@ -17,6 +17,7 @@ import type { SingleCaseMetrics, SingleCaseMetricsFeature } from '../../../../co import { TestProviders } from '../../../common/mock'; import { useGetCaseMetrics } from '../../../containers/use_get_case_metrics'; import { useCasesFeatures } from '../../../common/use_cases_features'; +import { CaseMetricsFeature } from '../../../../common/api/metrics/case'; jest.mock('../../../containers/use_get_case_metrics'); jest.mock('../../../common/use_cases_features'); @@ -56,19 +57,19 @@ interface FeatureTest { const metricsFeaturesTests: FeatureTest[] = [ { - feature: 'alerts.count', + feature: CaseMetricsFeature.ALERTS_COUNT, items: [{ title: 'Total alerts', value: basicCaseMetrics.alerts!.count! }], }, { - feature: 'alerts.users', + feature: CaseMetricsFeature.ALERTS_USERS, items: [{ title: 'Associated users', value: basicCaseMetrics.alerts!.users!.total! }], }, { - feature: 'alerts.hosts', + feature: CaseMetricsFeature.ALERTS_HOSTS, items: [{ title: 'Associated hosts', value: basicCaseMetrics.alerts!.hosts!.total! }], }, { - feature: 'actions.isolateHost', + feature: CaseMetricsFeature.ACTIONS_ISOLATE_HOST, items: [ { title: 'Isolated hosts', @@ -79,11 +80,11 @@ const metricsFeaturesTests: FeatureTest[] = [ ], }, { - feature: 'connectors', + feature: CaseMetricsFeature.CONNECTORS, items: [{ title: 'Total connectors', value: basicCaseMetrics.connectors!.total! }], }, { - feature: 'lifespan', + feature: CaseMetricsFeature.LIFESPAN, items: [ { title: 'Case created', @@ -187,7 +188,7 @@ describe('CaseViewMetrics', () => { }; const { getByText } = renderCaseMetrics({ metrics: incosistentMetrics, - features: ['actions.isolateHost'], + features: [CaseMetricsFeature.ACTIONS_ISOLATE_HOST], }); expect(getByText('Isolated hosts')).toBeInTheDocument(); expect(getByText('0')).toBeInTheDocument(); diff --git a/x-pack/plugins/cases/public/components/case_view/metrics/status.tsx b/x-pack/plugins/cases/public/components/case_view/metrics/status.tsx index e7364f029fc2d..761eea20fe74c 100644 --- a/x-pack/plugins/cases/public/components/case_view/metrics/status.tsx +++ b/x-pack/plugins/cases/public/components/case_view/metrics/status.tsx @@ -9,6 +9,7 @@ import React, { useMemo } from 'react'; import prettyMilliseconds from 'pretty-ms'; import { EuiFlexGrid, EuiFlexGroup, EuiFlexItem, EuiIconTip, EuiSpacer } from '@elastic/eui'; import { euiStyled } from '@kbn/kibana-react-plugin/common'; +import { CaseMetricsFeature } from '../../../../common/api/metrics/case'; import type { SingleCaseMetrics, SingleCaseMetricsFeature } from '../../../../common/ui'; import { CASE_CREATED, @@ -100,7 +101,7 @@ const useGetLifespanMetrics = ( statusInfo: { inProgressDuration: 0, reopenDates: [], openDuration: 0 }, }; - if (!features.includes('lifespan')) { + if (!features.includes(CaseMetricsFeature.LIFESPAN)) { return; } diff --git a/x-pack/plugins/cases/public/components/case_view/metrics/totals.tsx b/x-pack/plugins/cases/public/components/case_view/metrics/totals.tsx index dd81a2328a97a..46dc6c5bd6d92 100644 --- a/x-pack/plugins/cases/public/components/case_view/metrics/totals.tsx +++ b/x-pack/plugins/cases/public/components/case_view/metrics/totals.tsx @@ -8,6 +8,7 @@ import React, { useMemo } from 'react'; import { EuiFlexGroup, EuiFlexItem } from '@elastic/eui'; import { euiStyled } from '@kbn/kibana-react-plugin/common'; +import { CaseMetricsFeature } from '../../../../common/api/metrics/case'; import type { SingleCaseMetrics, SingleCaseMetricsFeature } from '../../../../common/ui'; import { ASSOCIATED_HOSTS_METRIC, @@ -62,11 +63,14 @@ const useGetTitleValueMetricItems = ( const metricItems = useMemo(() => { const items: Array<[SingleCaseMetricsFeature, Omit]> = [ - ['alerts.count', { title: TOTAL_ALERTS_METRIC, value: alertsCount }], - ['alerts.users', { title: ASSOCIATED_USERS_METRIC, value: totalAlertUsers }], - ['alerts.hosts', { title: ASSOCIATED_HOSTS_METRIC, value: totalAlertHosts }], - ['actions.isolateHost', { title: ISOLATED_HOSTS_METRIC, value: totalIsolatedHosts }], - ['connectors', { title: TOTAL_CONNECTORS_METRIC, value: totalConnectors }], + [CaseMetricsFeature.ALERTS_COUNT, { title: TOTAL_ALERTS_METRIC, value: alertsCount }], + [CaseMetricsFeature.ALERTS_USERS, { title: ASSOCIATED_USERS_METRIC, value: totalAlertUsers }], + [CaseMetricsFeature.ALERTS_HOSTS, { title: ASSOCIATED_HOSTS_METRIC, value: totalAlertHosts }], + [ + CaseMetricsFeature.ACTIONS_ISOLATE_HOST, + { title: ISOLATED_HOSTS_METRIC, value: totalIsolatedHosts }, + ], + [CaseMetricsFeature.CONNECTORS, { title: TOTAL_CONNECTORS_METRIC, value: totalConnectors }], ]; return items.reduce( diff --git a/x-pack/plugins/cases/public/components/header_page/editable_title.test.tsx b/x-pack/plugins/cases/public/components/header_page/editable_title.test.tsx index b8486e67dff75..f7e4df4d6a2e2 100644 --- a/x-pack/plugins/cases/public/components/header_page/editable_title.test.tsx +++ b/x-pack/plugins/cases/public/components/header_page/editable_title.test.tsx @@ -35,14 +35,16 @@ describe('EditableTitle', () => { expect(renderResult.getByText('Test title')).toBeInTheDocument(); }); - it('does not show the edit icon when the user does not have edit permissions', () => { + it('inline edit defaults to readOnly when the user does not have the edit permissions', () => { const wrapper = mount( ); - expect(wrapper.find('[data-test-subj="editable-title-edit-icon"]').exists()).toBeFalsy(); + expect( + wrapper.find('button[data-test-subj="editable-title-header-value"]').prop('disabled') + ).toBe(true); }); it('shows the edit title input field', () => { @@ -52,7 +54,7 @@ describe('EditableTitle', () => { ); - wrapper.find('button[data-test-subj="editable-title-edit-icon"]').simulate('click'); + wrapper.find('button[data-test-subj="editable-title-header-value"]').simulate('click'); wrapper.update(); expect(wrapper.find('[data-test-subj="editable-title-input-field"]').first().exists()).toBe( @@ -67,12 +69,12 @@ describe('EditableTitle', () => { ); - wrapper.find('button[data-test-subj="editable-title-edit-icon"]').simulate('click'); + wrapper.find('button[data-test-subj="editable-title-header-value"]').simulate('click'); wrapper.update(); - expect(wrapper.find('[data-test-subj="editable-title-submit-btn"]').first().exists()).toBe( - true - ); + expect( + wrapper.find('button[data-test-subj="editable-title-submit-btn"]').first().exists() + ).toBe(true); }); it('shows the cancel button', () => { @@ -82,27 +84,12 @@ describe('EditableTitle', () => { ); - wrapper.find('button[data-test-subj="editable-title-edit-icon"]').simulate('click'); - wrapper.update(); - - expect(wrapper.find('[data-test-subj="editable-title-cancel-btn"]').first().exists()).toBe( - true - ); - }); - - it('DOES NOT shows the edit icon when in edit mode', () => { - const wrapper = mount( - - - - ); - - wrapper.find('button[data-test-subj="editable-title-edit-icon"]').simulate('click'); + wrapper.find('button[data-test-subj="editable-title-header-value"]').simulate('click'); wrapper.update(); - expect(wrapper.find('[data-test-subj="editable-title-edit-icon"]').first().exists()).toBe( - false - ); + expect( + wrapper.find('button[data-test-subj="editable-title-cancel-btn"]').first().exists() + ).toBe(true); }); it('switch to non edit mode when canceled', () => { @@ -112,11 +99,13 @@ describe('EditableTitle', () => { ); - wrapper.find('button[data-test-subj="editable-title-edit-icon"]').simulate('click'); + wrapper.find('button[data-test-subj="editable-title-header-value"]').simulate('click'); wrapper.update(); wrapper.find('button[data-test-subj="editable-title-cancel-btn"]').simulate('click'); - expect(wrapper.find('[data-test-subj="editable-title-edit-icon"]').first().exists()).toBe(true); + expect( + wrapper.find('button[data-test-subj="editable-title-header-value"]').first().exists() + ).toBe(true); }); it('should change the title', () => { @@ -128,7 +117,7 @@ describe('EditableTitle', () => { ); - wrapper.find('button[data-test-subj="editable-title-edit-icon"]').simulate('click'); + wrapper.find('button[data-test-subj="editable-title-header-value"]').simulate('click'); wrapper.update(); wrapper @@ -152,18 +141,21 @@ describe('EditableTitle', () => { ); - wrapper.find('button[data-test-subj="editable-title-edit-icon"]').simulate('click'); + wrapper.find('button[data-test-subj="editable-title-header-value"]').simulate('click'); wrapper.update(); wrapper .find('input[data-test-subj="editable-title-input-field"]') + .simulate('change', { target: { value: newTitle } }); wrapper.update(); wrapper.find('button[data-test-subj="editable-title-cancel-btn"]').simulate('click'); wrapper.update(); - expect(wrapper.find('h1[data-test-subj="header-page-title"]').text()).toEqual(title); + expect(wrapper.find('button[data-test-subj="editable-title-header-value"]').text()).toEqual( + title + ); }); it('submits the title', () => { @@ -175,11 +167,12 @@ describe('EditableTitle', () => { ); - wrapper.find('button[data-test-subj="editable-title-edit-icon"]').simulate('click'); + wrapper.find('button[data-test-subj="editable-title-header-value"]').simulate('click'); wrapper.update(); wrapper .find('input[data-test-subj="editable-title-input-field"]') + .last() .simulate('change', { target: { value: newTitle } }); wrapper.find('button[data-test-subj="editable-title-submit-btn"]').simulate('click'); @@ -187,7 +180,9 @@ describe('EditableTitle', () => { expect(submitTitle).toHaveBeenCalled(); expect(submitTitle.mock.calls[0][0]).toEqual(newTitle); - expect(wrapper.find('[data-test-subj="editable-title-edit-icon"]').first().exists()).toBe(true); + expect( + wrapper.find('button[data-test-subj="editable-title-header-value"]').first().exists() + ).toBe(true); }); it('does not submit the title when the length is longer than 160 characters', () => { @@ -199,7 +194,7 @@ describe('EditableTitle', () => { ); - wrapper.find('button[data-test-subj="editable-title-edit-icon"]').simulate('click'); + wrapper.find('button[data-test-subj="editable-title-header-value"]').simulate('click'); wrapper.update(); wrapper @@ -213,9 +208,9 @@ describe('EditableTitle', () => { ); expect(submitTitle).not.toHaveBeenCalled(); - expect(wrapper.find('[data-test-subj="editable-title-edit-icon"]').first().exists()).toBe( - false - ); + expect( + wrapper.find('button[data-test-subj="editable-title-header-value"]').first().exists() + ).toBe(false); }); it('does not submit the title is empty', () => { @@ -225,11 +220,12 @@ describe('EditableTitle', () => { ); - wrapper.find('button[data-test-subj="editable-title-edit-icon"]').simulate('click'); + wrapper.find('button[data-test-subj="editable-title-header-value"]').simulate('click'); wrapper.update(); wrapper .find('input[data-test-subj="editable-title-input-field"]') + .simulate('change', { target: { value: '' } }); wrapper.find('button[data-test-subj="editable-title-submit-btn"]').simulate('click'); @@ -237,9 +233,9 @@ describe('EditableTitle', () => { expect(wrapper.find('.euiFormErrorText').text()).toBe('A name is required.'); expect(submitTitle).not.toHaveBeenCalled(); - expect(wrapper.find('[data-test-subj="editable-title-edit-icon"]').first().exists()).toBe( - false - ); + expect( + wrapper.find('button[data-test-subj="editable-title-header-value"]').first().exists() + ).toBe(false); }); it('does not show an error after a previous edit error was displayed', () => { @@ -252,7 +248,7 @@ describe('EditableTitle', () => { ); - wrapper.find('button[data-test-subj="editable-title-edit-icon"]').simulate('click'); + wrapper.find('button[data-test-subj="editable-title-header-value"]').simulate('click'); wrapper.update(); // simualte a long title @@ -269,6 +265,7 @@ describe('EditableTitle', () => { // write a shorter one wrapper .find('input[data-test-subj="editable-title-input-field"]') + .simulate('change', { target: { value: shortTitle } }); wrapper.update(); @@ -277,7 +274,7 @@ describe('EditableTitle', () => { wrapper.update(); // edit again - wrapper.find('button[data-test-subj="editable-title-edit-icon"]').simulate('click'); + wrapper.find('button[data-test-subj="editable-title-header-value"]').simulate('click'); wrapper.update(); // no error should appear diff --git a/x-pack/plugins/cases/public/components/header_page/editable_title.tsx b/x-pack/plugins/cases/public/components/header_page/editable_title.tsx index fdf5b09ca3c64..9ddb6978c35cd 100644 --- a/x-pack/plugins/cases/public/components/header_page/editable_title.tsx +++ b/x-pack/plugins/cases/public/components/header_page/editable_title.tsx @@ -5,38 +5,15 @@ * 2.0. */ -import type { ChangeEvent } from 'react'; import React, { useState, useCallback } from 'react'; -import styled, { css } from 'styled-components'; -import { - EuiButton, - EuiButtonEmpty, - EuiFlexGroup, - EuiFlexItem, - EuiFieldText, - EuiButtonIcon, - EuiLoadingSpinner, - EuiFormRow, -} from '@elastic/eui'; +import { EuiFlexGroup, EuiFlexItem, EuiInlineEditTitle } from '@elastic/eui'; import { MAX_TITLE_LENGTH } from '../../../common/constants'; import * as i18n from './translations'; -import { Title } from './title'; +import { TitleExperimentalBadge, TitleBetaBadge } from './title'; import { useCasesContext } from '../cases_context/use_cases_context'; -const MyEuiButtonIcon = styled(EuiButtonIcon)` - ${({ theme }) => css` - margin-left: ${theme.eui.euiSize}; - `} -`; - -const MySpinner = styled(EuiLoadingSpinner)` - ${({ theme }) => css` - margin-left: ${theme.eui.euiSize}; - `} -`; - export interface EditableTitleProps { isLoading: boolean; title: string; @@ -47,92 +24,81 @@ const EditableTitleComponent: React.FC = ({ onSubmit, isLoad const { releasePhase, permissions } = useCasesContext(); const [editMode, setEditMode] = useState(false); const [errors, setErrors] = useState([]); - const [newTitle, setNewTitle] = useState(title); - const onCancel = useCallback(() => { - setEditMode(false); - setErrors([]); - setNewTitle(title); - }, [title]); + const onClickSubmit = useCallback( + (newTitleValue: string): boolean => { + if (!newTitleValue.trim().length) { + setErrors([i18n.TITLE_REQUIRED]); + return false; + } - const onClickEditIcon = useCallback(() => setEditMode(true), []); - const onClickSubmit = useCallback((): void => { - if (!newTitle.trim().length) { - setErrors([i18n.TITLE_REQUIRED]); - return; - } + if (newTitleValue.trim().length > MAX_TITLE_LENGTH) { + setErrors([i18n.MAX_LENGTH_ERROR('title', MAX_TITLE_LENGTH)]); + return false; + } - if (newTitle.trim().length > MAX_TITLE_LENGTH) { - setErrors([i18n.MAX_LENGTH_ERROR('title', MAX_TITLE_LENGTH)]); - return; - } + if (newTitleValue !== title) { + onSubmit(newTitleValue.trim()); + } + setEditMode(false); + setErrors([]); - if (newTitle !== title) { - onSubmit(newTitle); - } - setEditMode(false); - setErrors([]); - }, [newTitle, onSubmit, title]); + return true; + }, + [onSubmit, title] + ); - const handleOnChange = useCallback((e: ChangeEvent) => { - setNewTitle(e.target.value); + const onCancel = () => { setErrors([]); - }, []); + setEditMode(false); + }; const hasErrors = errors.length > 0; - return editMode ? ( - - - - - - - - {i18n.SAVE} - - - - - {i18n.CANCEL} - - - - - ) : ( - - {isLoading && <MySpinner data-test-subj="editable-title-loading" />} - {!isLoading && permissions.update && ( - <MyEuiButtonIcon - aria-label={i18n.EDIT_TITLE_ARIA(title as string)} - iconType="pencil" - onClick={onClickEditIcon} - data-test-subj="editable-title-edit-icon" + return ( + <EuiFlexGroup> + <EuiFlexItem grow={true} css={releasePhase && { overflow: 'hidden' }}> + <EuiInlineEditTitle + defaultValue={title} + readModeProps={{ + onClick: () => setEditMode(true), + 'data-test-subj': 'editable-title-header-value', + }} + editModeProps={{ + formRowProps: { error: errors }, + inputProps: { + 'data-test-subj': 'editable-title-input-field', + onChange: () => { + setErrors([]); + }, + }, + saveButtonProps: { + 'data-test-subj': 'editable-title-submit-btn', + isDisabled: hasErrors, + }, + cancelButtonProps: { + onClick: () => onCancel(), + 'data-test-subj': 'editable-title-cancel-btn', + }, + }} + inputAriaLabel="Editable title input field" + heading="h1" + size="s" + isInvalid={hasErrors} + isLoading={isLoading} + isReadOnly={!permissions.update} + onSave={(value) => { + return onClickSubmit(value); + }} + startWithEditOpen={editMode} + data-test-subj="header-page-title" /> - )} - + + + {releasePhase === 'experimental' && } + {releasePhase === 'beta' && } + + ); }; EditableTitleComponent.displayName = 'EditableTitle'; diff --git a/x-pack/plugins/cases/public/components/header_page/index.tsx b/x-pack/plugins/cases/public/components/header_page/index.tsx index 9d267d30b0dfa..c820de4b25fc1 100644 --- a/x-pack/plugins/cases/public/components/header_page/index.tsx +++ b/x-pack/plugins/cases/public/components/header_page/index.tsx @@ -87,7 +87,7 @@ const HeaderPageComponent: React.FC = ({ return (
- + {showBackButton && ( ( ); ExperimentalBadge.displayName = 'ExperimentalBadge'; +export const TitleExperimentalBadge = React.memo(ExperimentalBadge); const BetaBadge: React.FC = () => ( ); BetaBadge.displayName = 'BetaBadge'; +export const TitleBetaBadge = React.memo(BetaBadge); const TitleComponent: React.FC = ({ title, releasePhase, children }) => ( diff --git a/x-pack/plugins/cases/public/containers/mock.ts b/x-pack/plugins/cases/public/containers/mock.ts index 3ce9b44997148..107dff18abbe6 100644 --- a/x-pack/plugins/cases/public/containers/mock.ts +++ b/x-pack/plugins/cases/public/containers/mock.ts @@ -43,6 +43,7 @@ import type { CasesUI, AttachmentUI, } from '../../common/ui/types'; +import { CaseMetricsFeature } from '../../common/api'; import { SECURITY_SOLUTION_OWNER } from '../../common/constants'; import type { SnakeToCamelCase } from '../../common/types'; import { covertToSnakeCase } from './utils'; @@ -290,14 +291,14 @@ export const basicResolvedCase: ResolvedCase = { }; export const basicCaseNumericValueFeatures: SingleCaseMetricsFeature[] = [ - 'alerts.count', - 'alerts.users', - 'alerts.hosts', - 'actions.isolateHost', - 'connectors', + CaseMetricsFeature.ALERTS_COUNT, + CaseMetricsFeature.ALERTS_USERS, + CaseMetricsFeature.ALERTS_HOSTS, + CaseMetricsFeature.ACTIONS_ISOLATE_HOST, + CaseMetricsFeature.CONNECTORS, ]; -export const basicCaseStatusFeatures: SingleCaseMetricsFeature[] = ['lifespan']; +export const basicCaseStatusFeatures: SingleCaseMetricsFeature[] = [CaseMetricsFeature.LIFESPAN]; export const basicCaseMetrics: SingleCaseMetrics = { alerts: { diff --git a/x-pack/plugins/cases/public/containers/use_get_case_metrics.test.tsx b/x-pack/plugins/cases/public/containers/use_get_case_metrics.test.tsx index 6d8d155a6818a..f6537bbb9b4e1 100644 --- a/x-pack/plugins/cases/public/containers/use_get_case_metrics.test.tsx +++ b/x-pack/plugins/cases/public/containers/use_get_case_metrics.test.tsx @@ -13,6 +13,7 @@ import { basicCase } from './mock'; import * as api from './api'; import { TestProviders } from '../common/mock'; import { useToasts } from '../common/lib/kibana'; +import { CaseMetricsFeature } from '../../common/api/metrics/case'; jest.mock('./api'); jest.mock('../common/lib/kibana'); @@ -21,7 +22,7 @@ const wrapper: React.FC = ({ children }) => {children} { const abortCtrl = new AbortController(); - const features: SingleCaseMetricsFeature[] = ['alerts.count']; + const features: SingleCaseMetricsFeature[] = [CaseMetricsFeature.ALERTS_COUNT]; beforeEach(() => { jest.clearAllMocks(); diff --git a/x-pack/plugins/cases/public/containers/use_get_cases_metrics.test.tsx b/x-pack/plugins/cases/public/containers/use_get_cases_metrics.test.tsx index 31bb539fbea17..3f474f45c3fcb 100644 --- a/x-pack/plugins/cases/public/containers/use_get_cases_metrics.test.tsx +++ b/x-pack/plugins/cases/public/containers/use_get_cases_metrics.test.tsx @@ -12,6 +12,7 @@ import { createAppMockRenderer } from '../common/mock'; import { useGetCasesMetrics } from './use_get_cases_metrics'; import { SECURITY_SOLUTION_OWNER } from '../../common/constants'; import { useToasts } from '../common/lib/kibana'; +import { CaseMetricsFeature } from '../../common/api/metrics/case'; jest.mock('../api'); jest.mock('../common/lib/kibana'); @@ -41,7 +42,7 @@ describe('useGetCasesMetrics', () => { expect(spy).toHaveBeenCalledWith({ http: expect.anything(), signal: abortCtrl.signal, - query: { owner: [SECURITY_SOLUTION_OWNER], features: ['mttr'] }, + query: { owner: [SECURITY_SOLUTION_OWNER], features: [CaseMetricsFeature.MTTR] }, }); }); diff --git a/x-pack/plugins/cases/public/containers/use_get_cases_metrics.tsx b/x-pack/plugins/cases/public/containers/use_get_cases_metrics.tsx index 3e3f8421eac00..edd440cbd3241 100644 --- a/x-pack/plugins/cases/public/containers/use_get_cases_metrics.tsx +++ b/x-pack/plugins/cases/public/containers/use_get_cases_metrics.tsx @@ -6,6 +6,7 @@ */ import { useQuery } from '@tanstack/react-query'; +import { CaseMetricsFeature } from '../../common/api/metrics/case'; import { useCasesContext } from '../components/cases_context/use_cases_context'; import * as i18n from './translations'; import { useHttp } from '../common/lib/kibana'; @@ -25,7 +26,7 @@ export const useGetCasesMetrics = () => { ({ signal }) => getCasesMetrics({ http, - query: { owner, features: ['mttr'] }, + query: { owner, features: [CaseMetricsFeature.MTTR] }, signal, }), { diff --git a/x-pack/plugins/cases/server/client/metrics/actions/actions.test.ts b/x-pack/plugins/cases/server/client/metrics/actions/actions.test.ts index ab25e206c05cf..a496437b7f1ce 100644 --- a/x-pack/plugins/cases/server/client/metrics/actions/actions.test.ts +++ b/x-pack/plugins/cases/server/client/metrics/actions/actions.test.ts @@ -5,6 +5,7 @@ * 2.0. */ +import { CaseMetricsFeature } from '../../../../common/api'; import { createCasesClientMock } from '../../mocks'; import type { CasesClientArgs } from '../../types'; import { loggingSystemMock } from '@kbn/core/server/mocks'; @@ -47,7 +48,7 @@ describe('Actions', () => { attachmentService.executeCaseActionsAggregations.mockResolvedValue(undefined); const handler = new Actions(constructorOptions); - handler.setupFeature('actions.isolateHost'); + handler.setupFeature(CaseMetricsFeature.ACTIONS_ISOLATE_HOST); expect(await handler.compute()).toEqual({ actions: { @@ -63,7 +64,7 @@ describe('Actions', () => { attachmentService.executeCaseActionsAggregations.mockResolvedValue({}); const handler = new Actions(constructorOptions); - handler.setupFeature('actions.isolateHost'); + handler.setupFeature(CaseMetricsFeature.ACTIONS_ISOLATE_HOST); expect(await handler.compute()).toEqual({ actions: { @@ -81,7 +82,7 @@ describe('Actions', () => { }); const handler = new Actions(constructorOptions); - handler.setupFeature('actions.isolateHost'); + handler.setupFeature(CaseMetricsFeature.ACTIONS_ISOLATE_HOST); expect(await handler.compute()).toEqual({ actions: { @@ -99,7 +100,7 @@ describe('Actions', () => { }); const handler = new Actions(constructorOptions); - handler.setupFeature('actions.isolateHost'); + handler.setupFeature(CaseMetricsFeature.ACTIONS_ISOLATE_HOST); expect(await handler.compute()).toEqual({ actions: { @@ -120,7 +121,7 @@ describe('Actions', () => { }); const handler = new Actions(constructorOptions); - handler.setupFeature('actions.isolateHost'); + handler.setupFeature(CaseMetricsFeature.ACTIONS_ISOLATE_HOST); expect(await handler.compute()).toEqual({ actions: { diff --git a/x-pack/plugins/cases/server/client/metrics/actions/actions.ts b/x-pack/plugins/cases/server/client/metrics/actions/actions.ts index f452e163e70f3..139951b41897b 100644 --- a/x-pack/plugins/cases/server/client/metrics/actions/actions.ts +++ b/x-pack/plugins/cases/server/client/metrics/actions/actions.ts @@ -7,6 +7,7 @@ import { merge } from 'lodash'; import type { SingleCaseMetricsResponse } from '../../../../common/api'; +import { CaseMetricsFeature } from '../../../../common/api'; import { Operations } from '../../../authorization'; import { createCaseError } from '../../../common/error'; import { SingleCaseAggregationHandler } from '../single_case_aggregation_handler'; @@ -18,7 +19,7 @@ export class Actions extends SingleCaseAggregationHandler { super( options, new Map>([ - ['actions.isolateHost', new IsolateHostActions()], + [CaseMetricsFeature.ACTIONS_ISOLATE_HOST, new IsolateHostActions()], ]) ); } diff --git a/x-pack/plugins/cases/server/client/metrics/aggregation_handler.ts b/x-pack/plugins/cases/server/client/metrics/aggregation_handler.ts index d3ea78d7ccf2f..8e8f4ef2d773a 100644 --- a/x-pack/plugins/cases/server/client/metrics/aggregation_handler.ts +++ b/x-pack/plugins/cases/server/client/metrics/aggregation_handler.ts @@ -6,6 +6,7 @@ */ import { merge } from 'lodash'; +import type { CaseMetricsFeature } from '../../../common/api'; import { BaseHandler } from './base_handler'; import type { AggregationBuilder, AggregationResponse, BaseHandlerCommonOptions } from './types'; @@ -19,11 +20,11 @@ export abstract class AggregationHandler extends BaseHandler { super(options); } - getFeatures(): Set { - return new Set(this.aggregations.keys()); + getFeatures(): Set { + return new Set(this.aggregations.keys() as unknown as CaseMetricsFeature[]); } - public setupFeature(feature: string) { + public setupFeature(feature: CaseMetricsFeature) { const aggregation = this.aggregations.get(feature); if (aggregation) { this.aggregationBuilders.push(aggregation); diff --git a/x-pack/plugins/cases/server/client/metrics/alerts/count.ts b/x-pack/plugins/cases/server/client/metrics/alerts/count.ts index 70344016910b7..c41d11e365271 100644 --- a/x-pack/plugins/cases/server/client/metrics/alerts/count.ts +++ b/x-pack/plugins/cases/server/client/metrics/alerts/count.ts @@ -6,6 +6,7 @@ */ import type { SingleCaseMetricsResponse } from '../../../../common/api'; +import { CaseMetricsFeature } from '../../../../common/api'; import { Operations } from '../../../authorization'; import { createCaseError } from '../../../common/error'; import { SingleCaseBaseHandler } from '../single_case_base_handler'; @@ -13,7 +14,7 @@ import type { SingleCaseBaseHandlerCommonOptions } from '../types'; export class AlertsCount extends SingleCaseBaseHandler { constructor(options: SingleCaseBaseHandlerCommonOptions) { - super(options, ['alerts.count']); + super(options, [CaseMetricsFeature.ALERTS_COUNT]); } public async compute(): Promise { diff --git a/x-pack/plugins/cases/server/client/metrics/alerts/details.test.ts b/x-pack/plugins/cases/server/client/metrics/alerts/details.test.ts index 23797b75992e4..5e5ba652317a1 100644 --- a/x-pack/plugins/cases/server/client/metrics/alerts/details.test.ts +++ b/x-pack/plugins/cases/server/client/metrics/alerts/details.test.ts @@ -13,6 +13,7 @@ import { loggingSystemMock } from '@kbn/core/server/mocks'; import { AlertDetails } from './details'; import { mockAlertsService } from '../test_utils/alerts'; import type { SingleCaseBaseHandlerCommonOptions } from '../types'; +import { CaseMetricsFeature } from '../../../../common/api/metrics/case'; describe('AlertDetails', () => { let client: CasesClientMock; @@ -53,7 +54,7 @@ describe('AlertDetails', () => { casesClient: client, clientArgs: { services: {} } as CasesClientArgs, }); - handler.setupFeature('alerts.hosts'); + handler.setupFeature(CaseMetricsFeature.ALERTS_HOSTS); expect(await handler.compute()).toEqual({ alerts: { @@ -69,7 +70,7 @@ describe('AlertDetails', () => { mockServices.services.alertsService.executeAggregations.mockImplementation(async () => ({})); const handler = new AlertDetails(constructorOptions); - handler.setupFeature('alerts.hosts'); + handler.setupFeature(CaseMetricsFeature.ALERTS_HOSTS); expect(await handler.compute()).toEqual({ alerts: { @@ -85,7 +86,7 @@ describe('AlertDetails', () => { mockServices.services.alertsService.executeAggregations.mockImplementation(async () => ({})); const handler = new AlertDetails(constructorOptions); - handler.setupFeature('alerts.users'); + handler.setupFeature(CaseMetricsFeature.ALERTS_USERS); expect(await handler.compute()).toEqual({ alerts: { @@ -101,7 +102,7 @@ describe('AlertDetails', () => { mockServices.services.alertsService.executeAggregations.mockImplementation(async () => ({})); const handler = new AlertDetails(constructorOptions); - handler.setupFeature('alerts.hosts'); + handler.setupFeature(CaseMetricsFeature.ALERTS_HOSTS); expect(await handler.compute()).toEqual({ alerts: { @@ -117,7 +118,7 @@ describe('AlertDetails', () => { mockServices.services.alertsService.executeAggregations.mockImplementation(async () => ({})); const handler = new AlertDetails(constructorOptions); - handler.setupFeature('alerts.users'); + handler.setupFeature(CaseMetricsFeature.ALERTS_USERS); expect(await handler.compute()).toEqual({ alerts: { @@ -159,7 +160,7 @@ describe('AlertDetails', () => { it('returns host details when the host feature is setup', async () => { const handler = new AlertDetails(constructorOptions); - handler.setupFeature('alerts.hosts'); + handler.setupFeature(CaseMetricsFeature.ALERTS_HOSTS); expect(await handler.compute()).toEqual({ alerts: { @@ -174,7 +175,7 @@ describe('AlertDetails', () => { it('returns user details when the user feature is setup', async () => { const handler = new AlertDetails(constructorOptions); - handler.setupFeature('alerts.users'); + handler.setupFeature(CaseMetricsFeature.ALERTS_USERS); expect(await handler.compute()).toEqual({ alerts: { @@ -189,8 +190,8 @@ describe('AlertDetails', () => { it('returns user and host details when the user and host features are setup', async () => { const handler = new AlertDetails(constructorOptions); - handler.setupFeature('alerts.users'); - handler.setupFeature('alerts.hosts'); + handler.setupFeature(CaseMetricsFeature.ALERTS_USERS); + handler.setupFeature(CaseMetricsFeature.ALERTS_HOSTS); expect(await handler.compute()).toEqual({ alerts: { diff --git a/x-pack/plugins/cases/server/client/metrics/alerts/details.ts b/x-pack/plugins/cases/server/client/metrics/alerts/details.ts index 75e96482ae9c0..d74dc4a0748ff 100644 --- a/x-pack/plugins/cases/server/client/metrics/alerts/details.ts +++ b/x-pack/plugins/cases/server/client/metrics/alerts/details.ts @@ -6,6 +6,7 @@ */ import type { SingleCaseMetricsResponse } from '../../../../common/api'; +import { CaseMetricsFeature } from '../../../../common/api'; import { createCaseError } from '../../../common/error'; import { SingleCaseAggregationHandler } from '../single_case_aggregation_handler'; @@ -17,8 +18,8 @@ export class AlertDetails extends SingleCaseAggregationHandler { super( options, new Map>([ - ['alerts.hosts', new AlertHosts()], - ['alerts.users', new AlertUsers()], + [CaseMetricsFeature.ALERTS_HOSTS, new AlertHosts()], + [CaseMetricsFeature.ALERTS_USERS, new AlertUsers()], ]) ); } diff --git a/x-pack/plugins/cases/server/client/metrics/all_cases/mttr.test.ts b/x-pack/plugins/cases/server/client/metrics/all_cases/mttr.test.ts index 9b2bbbf3ff412..64b0dc5d1dc18 100644 --- a/x-pack/plugins/cases/server/client/metrics/all_cases/mttr.test.ts +++ b/x-pack/plugins/cases/server/client/metrics/all_cases/mttr.test.ts @@ -6,6 +6,7 @@ */ import type { Case } from '../../../../common/types/domain'; +import { CaseMetricsFeature } from '../../../../common/api'; import { createCasesClientMock } from '../../mocks'; import type { CasesClientArgs } from '../../types'; import { loggingSystemMock } from '@kbn/core/server/mocks'; @@ -48,7 +49,7 @@ describe('MTTR', () => { it('returns null when aggregation returns undefined', async () => { caseService.executeAggregations.mockResolvedValue(undefined); const handler = new MTTR(constructorOptions); - handler.setupFeature('mttr'); + handler.setupFeature(CaseMetricsFeature.MTTR); expect(await handler.compute()).toEqual({ mttr: null }); }); @@ -56,7 +57,7 @@ describe('MTTR', () => { it('returns null when aggregation returns empty object', async () => { caseService.executeAggregations.mockResolvedValue({}); const handler = new MTTR(constructorOptions); - handler.setupFeature('mttr'); + handler.setupFeature(CaseMetricsFeature.MTTR); expect(await handler.compute()).toEqual({ mttr: null }); }); @@ -64,7 +65,7 @@ describe('MTTR', () => { it('returns null when aggregation returns empty mttr object', async () => { caseService.executeAggregations.mockResolvedValue({ mttr: {} }); const handler = new MTTR(constructorOptions); - handler.setupFeature('mttr'); + handler.setupFeature(CaseMetricsFeature.MTTR); expect(await handler.compute()).toEqual({ mttr: null }); }); @@ -72,7 +73,7 @@ describe('MTTR', () => { it('returns values when there is a mttr value', async () => { caseService.executeAggregations.mockResolvedValue({ mttr: { value: 5 } }); const handler = new MTTR(constructorOptions); - handler.setupFeature('mttr'); + handler.setupFeature(CaseMetricsFeature.MTTR); expect(await handler.compute()).toEqual({ mttr: 5 }); }); @@ -86,7 +87,7 @@ describe('MTTR', () => { owner: 'cases', }); - handler.setupFeature('mttr'); + handler.setupFeature(CaseMetricsFeature.MTTR); await handler.compute(); expect(caseService.executeAggregations.mock.calls[0][0]).toMatchInlineSnapshot(` diff --git a/x-pack/plugins/cases/server/client/metrics/all_cases_base_handler.ts b/x-pack/plugins/cases/server/client/metrics/all_cases_base_handler.ts index d4303d8c41d8c..4c27f54abf86a 100644 --- a/x-pack/plugins/cases/server/client/metrics/all_cases_base_handler.ts +++ b/x-pack/plugins/cases/server/client/metrics/all_cases_base_handler.ts @@ -5,14 +5,14 @@ * 2.0. */ -import type { CasesMetricsResponse } from '../../../common/api'; +import type { CaseMetricsFeature, CasesMetricsResponse } from '../../../common/api'; import { BaseHandler } from './base_handler'; import type { AllCasesBaseHandlerCommonOptions } from './types'; export abstract class AllCasesBaseHandler extends BaseHandler { protected readonly owner?: string | string[]; - constructor(options: AllCasesBaseHandlerCommonOptions, features?: string[]) { + constructor(options: AllCasesBaseHandlerCommonOptions, features?: CaseMetricsFeature[]) { const { owner, ...restOptions } = options; super(restOptions, features); diff --git a/x-pack/plugins/cases/server/client/metrics/base_handler.ts b/x-pack/plugins/cases/server/client/metrics/base_handler.ts index 92117fb6f34cf..0ff8c5e7bde8b 100644 --- a/x-pack/plugins/cases/server/client/metrics/base_handler.ts +++ b/x-pack/plugins/cases/server/client/metrics/base_handler.ts @@ -5,15 +5,16 @@ * 2.0. */ +import type { CasesMetricsFeatureField } from '../../../common/api/metrics/case'; import type { BaseHandlerCommonOptions, MetricsHandler } from './types'; export abstract class BaseHandler implements MetricsHandler { constructor( protected readonly options: BaseHandlerCommonOptions, - private readonly features?: string[] + private readonly features?: CasesMetricsFeatureField[] ) {} - getFeatures(): Set { + getFeatures(): Set { return new Set(this.features); } diff --git a/x-pack/plugins/cases/server/client/metrics/connectors.ts b/x-pack/plugins/cases/server/client/metrics/connectors.ts index 5248efb30939e..39e974a9fe81d 100644 --- a/x-pack/plugins/cases/server/client/metrics/connectors.ts +++ b/x-pack/plugins/cases/server/client/metrics/connectors.ts @@ -6,6 +6,7 @@ */ import type { SingleCaseMetricsResponse } from '../../../common/api'; +import { CaseMetricsFeature } from '../../../common/api'; import { Operations } from '../../authorization'; import { createCaseError } from '../../common/error'; import { SingleCaseBaseHandler } from './single_case_base_handler'; @@ -13,7 +14,7 @@ import type { SingleCaseBaseHandlerCommonOptions } from './types'; export class Connectors extends SingleCaseBaseHandler { constructor(options: SingleCaseBaseHandlerCommonOptions) { - super(options, ['connectors']); + super(options, [CaseMetricsFeature.CONNECTORS]); } public async compute(): Promise { diff --git a/x-pack/plugins/cases/server/client/metrics/get_case_metrics.test.ts b/x-pack/plugins/cases/server/client/metrics/get_case_metrics.test.ts index 0148053d56595..7b317ceb86af2 100644 --- a/x-pack/plugins/cases/server/client/metrics/get_case_metrics.test.ts +++ b/x-pack/plugins/cases/server/client/metrics/get_case_metrics.test.ts @@ -8,8 +8,7 @@ import { loggingSystemMock, savedObjectsClientMock } from '@kbn/core/server/mocks'; import { getCaseMetrics } from './get_case_metrics'; -import type { Case } from '../../../common/types/domain'; -import { CaseStatuses } from '../../../common/types/domain'; +import { CaseMetricsFeature } from '../../../common/api'; import type { CasesClientMock } from '../mocks'; import { createCasesClientMock } from '../mocks'; import type { CasesClientArgs } from '../types'; @@ -22,6 +21,8 @@ import { import { mockAlertsService } from './test_utils/alerts'; import { createStatusChangeSavedObject } from './test_utils/lifespan'; import type { CaseSavedObjectTransformed } from '../../common/types/case'; +import { CaseStatuses } from '@kbn/cases-components'; +import type { Case } from '../../../common'; describe('getCaseMetrics', () => { const inProgressStatusChangeTimestamp = new Date('2021-11-23T20:00:43Z'); @@ -55,7 +56,7 @@ describe('getCaseMetrics', () => { it('returns the lifespan metrics', async () => { const metrics = await getCaseMetrics( - { caseId: '', features: ['lifespan'] }, + { caseId: '', features: [CaseMetricsFeature.LIFESPAN] }, client, clientArgs ); @@ -75,7 +76,7 @@ describe('getCaseMetrics', () => { it('populates the alerts.hosts and alerts.users sections', async () => { const metrics = await getCaseMetrics( - { caseId: '', features: ['alerts.hosts', 'alerts.users'] }, + { caseId: '', features: [CaseMetricsFeature.ALERTS_HOSTS, CaseMetricsFeature.ALERTS_USERS] }, client, clientArgs ); @@ -89,7 +90,7 @@ describe('getCaseMetrics', () => { it('populates multiple sections at a time', async () => { const metrics = await getCaseMetrics( - { caseId: '', features: ['alerts.count', 'lifespan'] }, + { caseId: '', features: [CaseMetricsFeature.ALERTS_COUNT, CaseMetricsFeature.LIFESPAN] }, client, clientArgs ); @@ -108,7 +109,7 @@ describe('getCaseMetrics', () => { it('populates multiple alerts sections at a time', async () => { const metrics = await getCaseMetrics( - { caseId: '', features: ['alerts.count', 'alerts.hosts'] }, + { caseId: '', features: [CaseMetricsFeature.ALERTS_COUNT, CaseMetricsFeature.ALERTS_HOSTS] }, client, clientArgs ); @@ -124,6 +125,7 @@ describe('getCaseMetrics', () => { expect.assertions(1); await expect( + // @ts-expect-error: testing invalid features getCaseMetrics({ caseId: '', features: ['bananas'] }, client, clientArgs) ).rejects.toThrow(); }); @@ -133,13 +135,17 @@ describe('getCaseMetrics', () => { try { await getCaseMetrics( - { caseId: '1', features: ['bananas', 'lifespan', 'alerts.count'] }, + { + caseId: '1', + // @ts-expect-error: testing invalid features + features: ['bananas', CaseMetricsFeature.LIFESPAN, CaseMetricsFeature.ALERTS_COUNT], + }, client, clientArgs ); } catch (error) { expect(error.message).toMatchInlineSnapshot( - `"Failed to retrieve metrics within client for case id: 1: Error: invalid features: [bananas], please only provide valid features: [actions.isolateHost, alerts.count, alerts.hosts, alerts.users, connectors, lifespan]"` + `"Failed to retrieve metrics within client for case id: 1: Error: Invalid value \\"bananas\\" supplied to \\"features\\""` ); } }); @@ -148,7 +154,7 @@ describe('getCaseMetrics', () => { expect.assertions(1); await getCaseMetrics( - { caseId: '', features: ['alerts.users', 'alerts.hosts'] }, + { caseId: '', features: [CaseMetricsFeature.ALERTS_USERS, CaseMetricsFeature.ALERTS_HOSTS] }, client, clientArgs ); diff --git a/x-pack/plugins/cases/server/client/metrics/get_cases_metrics.test.ts b/x-pack/plugins/cases/server/client/metrics/get_cases_metrics.test.ts index 0aca8ad914144..d52bfb9486e2a 100644 --- a/x-pack/plugins/cases/server/client/metrics/get_cases_metrics.test.ts +++ b/x-pack/plugins/cases/server/client/metrics/get_cases_metrics.test.ts @@ -5,6 +5,7 @@ * 2.0. */ +import { CaseMetricsFeature } from '../../../common/api'; import type { CasesClientMock } from '../mocks'; import { getCasesMetrics } from './get_cases_metrics'; import { createMockClientArgs, createMockClient } from './test_utils/client'; @@ -35,19 +36,23 @@ describe('getCasesMetrics', () => { it('throws with excess fields', async () => { await expect( // @ts-expect-error: excess attribute - getCasesMetrics({ features: ['mttr'], foo: 'bar' }, client, clientArgs) + getCasesMetrics({ features: [CaseMetricsFeature.MTTR], foo: 'bar' }, client, clientArgs) ).rejects.toThrow('invalid keys "foo"'); }); it('returns the mttr metric', async () => { - const metrics = await getCasesMetrics({ features: ['mttr'] }, client, clientArgs); + const metrics = await getCasesMetrics( + { features: [CaseMetricsFeature.MTTR] }, + client, + clientArgs + ); expect(metrics).toEqual({ mttr: 5 }); }); it('calls the executeAggregations correctly', async () => { await getCasesMetrics( { - features: ['mttr'], + features: [CaseMetricsFeature.MTTR], from: '2022-04-28T15:18:00.000Z', to: '2022-04-28T15:22:00.000Z', owner: 'cases', @@ -129,4 +134,19 @@ describe('getCasesMetrics', () => { `); }); }); + + describe('validation', () => { + beforeEach(() => { + mockServices.services.caseService.executeAggregations.mockResolvedValue({ + mttr: { value: 5 }, + }); + }); + + it('throws with unknown feature value', async () => { + // @ts-expect-error: invalid feature value + await expect(getCasesMetrics({ features: ['foobar'] }, client, clientArgs)).rejects.toThrow( + 'Invalid value "foobar" supplied to "features"' + ); + }); + }); }); diff --git a/x-pack/plugins/cases/server/client/metrics/lifespan.ts b/x-pack/plugins/cases/server/client/metrics/lifespan.ts index 17f02cc089b6b..0167e12432aee 100644 --- a/x-pack/plugins/cases/server/client/metrics/lifespan.ts +++ b/x-pack/plugins/cases/server/client/metrics/lifespan.ts @@ -10,6 +10,7 @@ import type { StatusUserAction, UserActionAttributes } from '../../../common/typ import type { UserActionWithResponse } from '../../../common/types/api'; import { StatusUserActionRt, CaseStatuses } from '../../../common/types/domain'; import type { SingleCaseMetricsResponse, StatusInfo } from '../../../common/api'; +import { CaseMetricsFeature } from '../../../common/api'; import { Operations } from '../../authorization'; import { createCaseError } from '../../common/error'; import { SingleCaseBaseHandler } from './single_case_base_handler'; @@ -17,7 +18,7 @@ import type { SingleCaseBaseHandlerCommonOptions } from './types'; export class Lifespan extends SingleCaseBaseHandler { constructor(options: SingleCaseBaseHandlerCommonOptions) { - super(options, ['lifespan']); + super(options, [CaseMetricsFeature.LIFESPAN]); } public async compute(): Promise { diff --git a/x-pack/plugins/cases/server/client/metrics/single_case_base_handler.ts b/x-pack/plugins/cases/server/client/metrics/single_case_base_handler.ts index 054263739dd83..76b438c8874aa 100644 --- a/x-pack/plugins/cases/server/client/metrics/single_case_base_handler.ts +++ b/x-pack/plugins/cases/server/client/metrics/single_case_base_handler.ts @@ -5,14 +5,14 @@ * 2.0. */ -import type { SingleCaseMetricsResponse } from '../../../common/api'; +import type { CaseMetricsFeature, SingleCaseMetricsResponse } from '../../../common/api'; import { BaseHandler } from './base_handler'; import type { SingleCaseBaseHandlerCommonOptions } from './types'; export abstract class SingleCaseBaseHandler extends BaseHandler { protected readonly caseId: string; - constructor(options: SingleCaseBaseHandlerCommonOptions, features?: string[]) { + constructor(options: SingleCaseBaseHandlerCommonOptions, features?: CaseMetricsFeature[]) { const { caseId, ...restOptions } = options; super(restOptions, features); diff --git a/x-pack/plugins/cases/server/client/metrics/types.ts b/x-pack/plugins/cases/server/client/metrics/types.ts index a28b3294cccfb..d2fd89786ed72 100644 --- a/x-pack/plugins/cases/server/client/metrics/types.ts +++ b/x-pack/plugins/cases/server/client/metrics/types.ts @@ -6,13 +6,17 @@ */ import type * as estypes from '@elastic/elasticsearch/lib/api/typesWithBodyKey'; +import type { + CasesMetricsFeatureField, + SingleCaseMetricsFeatureField, +} from '../../../common/api/metrics/case'; import type { CasesClient } from '../client'; import type { CasesClientArgs } from '../types'; export interface MetricsHandler { - getFeatures(): Set; + getFeatures(): Set; compute(): Promise; - setupFeature?(feature: string): void; + setupFeature?(feature: CasesMetricsFeatureField): void; } export interface AggregationBuilder { @@ -40,5 +44,5 @@ export interface AllCasesBaseHandlerCommonOptions extends BaseHandlerCommonOptio export interface GetCaseMetricsParams { caseId: string; - features: string[]; + features: SingleCaseMetricsFeatureField[]; } diff --git a/x-pack/plugins/cases/server/client/metrics/utils.test.ts b/x-pack/plugins/cases/server/client/metrics/utils.test.ts index d376ed56dc232..168dcb6db1f8d 100644 --- a/x-pack/plugins/cases/server/client/metrics/utils.test.ts +++ b/x-pack/plugins/cases/server/client/metrics/utils.test.ts @@ -5,6 +5,8 @@ * 2.0. */ +import type { CasesMetricsFeatureField } from '../../../common/api/metrics/case'; +import { CaseMetricsFeature } from '../../../common/api/metrics/case'; import { createMockClient, createMockClientArgs } from './test_utils/client'; import { buildHandlers } from './utils'; @@ -12,16 +14,16 @@ describe('utils', () => { describe('buildHandlers', () => { const casesClient = createMockClient(); const clientArgs = createMockClientArgs(); - const SINGLE_CASE_FEATURES = [ - 'alerts.count', - 'alerts.users', - 'alerts.hosts', - 'actions.isolateHost', - 'connectors', - 'lifespan', + const SINGLE_CASE_FEATURES: CasesMetricsFeatureField[] = [ + CaseMetricsFeature.ALERTS_COUNT, + CaseMetricsFeature.ALERTS_HOSTS, + CaseMetricsFeature.ALERTS_USERS, + CaseMetricsFeature.ACTIONS_ISOLATE_HOST, + CaseMetricsFeature.CONNECTORS, + CaseMetricsFeature.LIFESPAN, ]; - const CASES_FEATURES = ['mttr']; + const CASES_FEATURES: CasesMetricsFeatureField[] = [CaseMetricsFeature.MTTR]; it('returns the correct single case handlers', async () => { const handlers = buildHandlers( @@ -86,6 +88,7 @@ describe('utils', () => { buildHandlers( { ...opts, + // @ts-expect-error features: ['not-exists'], }, casesClient, @@ -98,7 +101,7 @@ describe('utils', () => { const handlers = buildHandlers( { caseId: 'test-case-id', - features: ['alerts.count'], + features: [CaseMetricsFeature.ALERTS_COUNT], }, casesClient, clientArgs.clientArgs @@ -107,14 +110,14 @@ describe('utils', () => { const handler = Array.from(handlers)[0]; // @ts-expect-error expect(handler.caseId).toBe('test-case-id'); - expect(Array.from(handler.getFeatures().values())).toEqual(['alerts.count']); + expect(Array.from(handler.getFeatures().values())).toEqual([CaseMetricsFeature.ALERTS_COUNT]); }); it('set up the feature correctly', async () => { const handlers = buildHandlers( { caseId: 'test-case-id', - features: ['alerts.hosts'], + features: [CaseMetricsFeature.ALERTS_HOSTS], }, casesClient, clientArgs.clientArgs diff --git a/x-pack/plugins/cases/server/routes/api/get_external_routes.ts b/x-pack/plugins/cases/server/routes/api/get_external_routes.ts index 9644046db5799..bd990deefbdfa 100644 --- a/x-pack/plugins/cases/server/routes/api/get_external_routes.ts +++ b/x-pack/plugins/cases/server/routes/api/get_external_routes.ts @@ -29,8 +29,6 @@ import { getConnectorsRoute } from './configure/get_connectors'; import { patchCaseConfigureRoute } from './configure/patch_configure'; import { postCaseConfigureRoute } from './configure/post_configure'; import { getAllAlertsAttachedToCaseRoute } from './comments/get_alerts'; -import { getCaseMetricRoute } from './metrics/get_case_metrics'; -import { getCasesMetricRoute } from './metrics/get_cases_metrics'; import { findUserActionsRoute } from './user_actions/find_user_actions'; export const getExternalRoutes = () => @@ -60,6 +58,4 @@ export const getExternalRoutes = () => patchCaseConfigureRoute, postCaseConfigureRoute, getAllAlertsAttachedToCaseRoute, - getCaseMetricRoute, - getCasesMetricRoute, ] as CaseRoute[]; diff --git a/x-pack/plugins/cases/server/routes/api/get_internal_routes.ts b/x-pack/plugins/cases/server/routes/api/get_internal_routes.ts index a75836ffe2f72..a28d254161d07 100644 --- a/x-pack/plugins/cases/server/routes/api/get_internal_routes.ts +++ b/x-pack/plugins/cases/server/routes/api/get_internal_routes.ts @@ -16,6 +16,8 @@ import { bulkGetAttachmentsRoute } from './internal/bulk_get_attachments'; import { getCaseUsersRoute } from './internal/get_case_users'; import { bulkDeleteFileAttachments } from './internal/bulk_delete_file_attachments'; import { getCategoriesRoute } from './cases/categories/get_categories'; +import { getCaseMetricRoute } from './internal/get_case_metrics'; +import { getCasesMetricRoute } from './internal/get_cases_metrics'; export const getInternalRoutes = (userProfileService: UserProfileService) => [ @@ -28,4 +30,6 @@ export const getInternalRoutes = (userProfileService: UserProfileService) => getCaseUsersRoute, bulkDeleteFileAttachments, getCategoriesRoute, + getCaseMetricRoute, + getCasesMetricRoute, ] as CaseRoute[]; diff --git a/x-pack/plugins/cases/server/routes/api/metrics/get_case_metrics.ts b/x-pack/plugins/cases/server/routes/api/internal/get_case_metrics.ts similarity index 77% rename from x-pack/plugins/cases/server/routes/api/metrics/get_case_metrics.ts rename to x-pack/plugins/cases/server/routes/api/internal/get_case_metrics.ts index 394c0099b4991..95990554290c7 100644 --- a/x-pack/plugins/cases/server/routes/api/metrics/get_case_metrics.ts +++ b/x-pack/plugins/cases/server/routes/api/internal/get_case_metrics.ts @@ -6,14 +6,15 @@ */ import { schema } from '@kbn/config-schema'; +import type { SingleCaseMetricsFeatureField } from '../../../../common/api'; -import { CASE_METRICS_DETAILS_URL } from '../../../../common/constants'; +import { INTERNAL_CASE_METRICS_DETAILS_URL } from '../../../../common/constants'; import { createCaseError } from '../../../common/error'; import { createCasesRoute } from '../create_cases_route'; export const getCaseMetricRoute = createCasesRoute({ method: 'get', - path: CASE_METRICS_DETAILS_URL, + path: INTERNAL_CASE_METRICS_DETAILS_URL, params: { params: schema.object({ case_id: schema.string({ minLength: 1 }), @@ -34,7 +35,9 @@ export const getCaseMetricRoute = createCasesRoute({ return response.ok({ body: await client.metrics.getCaseMetrics({ caseId: request.params.case_id, - features: Array.isArray(features) ? features : [features], + features: Array.isArray(features) + ? (features as SingleCaseMetricsFeatureField[]) + : [features as SingleCaseMetricsFeatureField], }), }); } catch (error) { diff --git a/x-pack/plugins/cases/server/routes/api/metrics/get_cases_metrics.ts b/x-pack/plugins/cases/server/routes/api/internal/get_cases_metrics.ts similarity index 79% rename from x-pack/plugins/cases/server/routes/api/metrics/get_cases_metrics.ts rename to x-pack/plugins/cases/server/routes/api/internal/get_cases_metrics.ts index 44d351571edbb..ba08acaca7ce7 100644 --- a/x-pack/plugins/cases/server/routes/api/metrics/get_cases_metrics.ts +++ b/x-pack/plugins/cases/server/routes/api/internal/get_cases_metrics.ts @@ -7,13 +7,14 @@ import { schema } from '@kbn/config-schema'; -import { CASE_METRICS_URL } from '../../../../common/constants'; +import { INTERNAL_CASE_METRICS_URL } from '../../../../common/constants'; +import type { CasesMetricsFeatureField } from '../../../../common/api/metrics/case'; import { createCaseError } from '../../../common/error'; import { createCasesRoute } from '../create_cases_route'; export const getCasesMetricRoute = createCasesRoute({ method: 'get', - path: CASE_METRICS_URL, + path: INTERNAL_CASE_METRICS_URL, params: { query: schema.object({ features: schema.oneOf([ @@ -34,7 +35,9 @@ export const getCasesMetricRoute = createCasesRoute({ return response.ok({ body: await client.metrics.getCasesMetrics({ ...request.query, - features: Array.isArray(features) ? features : [features], + features: Array.isArray(features) + ? (features as CasesMetricsFeatureField[]) + : [features as CasesMetricsFeatureField], }), }); } catch (error) { diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/components/bulk_actions.test.tsx b/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/components/bulk_actions.test.tsx index a40e046458ab5..2d07cdb98f01d 100644 --- a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/components/bulk_actions.test.tsx +++ b/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/components/bulk_actions.test.tsx @@ -257,6 +257,43 @@ describe('AgentBulkActions', () => { ).toBeEnabled(); }); + it('should show correct actions when no managed policies exist', async () => { + const selectedAgents: Agent[] = []; + mockedSendGetAgentPolicies.mockResolvedValue({ + data: { + items: [], + }, + }); + + const props = { + totalAgents: 10, + totalInactiveAgents: 0, + selectionMode: 'query', + currentQuery: '(Base query)', + selectedAgents, + visibleAgents: [], + refreshAgents: () => undefined, + allTags: [], + agentPolicies: [], + }; + const results = render(props); + + const bulkActionsButton = results.getByTestId('agentBulkActionsButton'); + + await act(async () => { + fireEvent.click(bulkActionsButton); + }); + + expect(results.getByText('Add / remove tags').closest('button')!).toBeEnabled(); + expect(results.getByText('Assign to new policy').closest('button')!).toBeEnabled(); + expect(results.getByText('Unenroll 10 agents').closest('button')!).toBeEnabled(); + expect(results.getByText('Upgrade 10 agents').closest('button')!).toBeEnabled(); + expect(results.getByText('Schedule upgrade for 10 agents').closest('button')!).toBeDisabled(); + expect( + results.getByText('Request diagnostics for 10 agents').closest('button')! + ).toBeEnabled(); + }); + it('should generate a correct kuery to select agents', async () => { mockedSendGetAgentPolicies.mockResolvedValue({ data: { diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/components/bulk_actions.tsx b/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/components/bulk_actions.tsx index c73c5adaba2d3..e5a33beba733b 100644 --- a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/components/bulk_actions.tsx +++ b/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/components/bulk_actions.tsx @@ -96,6 +96,10 @@ export const AgentBulkActions: React.FunctionComponent = ({ const managedPolicies = agentPoliciesResponse.data?.items ?? []; + if (managedPolicies.length === 0) { + return []; + } + // find all the agents that have those policies and are not unenrolled const policiesKuery = managedPolicies .map((policy) => `policy_id:"${policy.id}"`) diff --git a/x-pack/plugins/fleet/server/services/epm/packages/get.test.ts b/x-pack/plugins/fleet/server/services/epm/packages/get.test.ts index 445bc6fca6719..5d1101ecdf573 100644 --- a/x-pack/plugins/fleet/server/services/epm/packages/get.test.ts +++ b/x-pack/plugins/fleet/server/services/epm/packages/get.test.ts @@ -325,6 +325,83 @@ owner: elastic`, ]); }); + it('should filter installed package that are not in registry and not valid packages', async () => { + const mockContract = createAppContextStartContractMock(); + appContextService.start(mockContract); + + const soClient = savedObjectsClientMock.create(); + soClient.find.mockResolvedValue({ + saved_objects: [ + { + id: 'invalidpackage', + attributes: { + name: 'invalidpackage', + version: '0.0.1', + install_source: 'upload', + install_version: '0.0.1', + }, + }, + ], + } as any); + soClient.get.mockImplementation((type) => { + if (type === 'epm-packages-assets') { + return Promise.resolve({ + attributes: { + data_utf8: ` +name: invalidpackage +version: 0.0.1 +test: invalid manifest`, + }, + } as any); + } else { + return Promise.resolve({ + id: 'invalidpackage', + attributes: { + name: 'invalidpackage', + version: '0.0.1', + install_source: 'upload', + package_assets: [], + data_utf8: ` + name: invalidpackage + version: 0.0.1 + title: Elastic + test: invalid manifest`, + }, + }); + } + }); + soClient.bulkGet.mockResolvedValue({ + saved_objects: [ + { + id: 'test', + references: [], + type: 'epm-package-assets', + attributes: { + asset_path: 'invalidpackage-0.0.1/manifest.yml', + data_utf8: ` +name: invalidpackage +version: 0.0.1 +title: Elastic +test: invalid manifest +`, + }, + }, + ], + }); + const packages = await getPackages({ + savedObjectsClient: soClient, + }); + expect(packages).toMatchObject([ + { id: 'fleet_server', name: 'fleet_server', title: 'Fleet Server', version: '1.0.0' }, + { id: 'nginx', name: 'nginx', title: 'Nginx', version: '1.0.0' }, + ]); + + expect(jest.mocked(appContextService.getLogger().warn)).toBeCalledTimes(1); + expect(jest.mocked(appContextService.getLogger().warn)).toBeCalledWith( + 'Installed package invalidpackage 0.0.1 is not a valid package anymore' + ); + }); + it('should call audit logger', async () => { const soClient = savedObjectsClientMock.create(); diff --git a/x-pack/plugins/fleet/server/services/epm/packages/get.ts b/x-pack/plugins/fleet/server/services/epm/packages/get.ts index 56c0e467d4160..68a884fd5f198 100644 --- a/x-pack/plugins/fleet/server/services/epm/packages/get.ts +++ b/x-pack/plugins/fleet/server/services/epm/packages/get.ts @@ -48,6 +48,7 @@ import { PackageFailedVerificationError, PackageNotFoundError, RegistryResponseError, + PackageInvalidArchiveError, } from '../../../errors'; import { appContextService } from '../..'; import * as Registry from '../registry'; @@ -78,6 +79,7 @@ export async function getPackages( excludeInstallStatus?: boolean; } & GetPackagesRequest['query'] ) { + const logger = appContextService.getLogger(); const { savedObjectsClient, category, @@ -98,29 +100,41 @@ export async function getPackages( (pkg) => !registryItems.some((item) => item.name === pkg.id) ); - const uploadedPackagesNotInRegistry = await pMap( - packagesNotInRegistry.entries(), - async ([i, pkg]) => { - // fetching info of uploaded packages to populate title, description - // limit to 10 for performance - if (i < MAX_PKGS_TO_LOAD_TITLE) { - const packageInfo = await withSpan({ name: 'get-package-info', type: 'package' }, () => - getPackageInfo({ - savedObjectsClient, - pkgName: pkg.id, - pkgVersion: pkg.attributes.version, - }) - ); - return createInstallableFrom({ ...packageInfo, id: pkg.id }, pkg); - } else { - return createInstallableFrom( - { ...pkg.attributes, title: nameAsTitle(pkg.id), id: pkg.id }, - pkg - ); - } - }, - { concurrency: 10 } - ); + const uploadedPackagesNotInRegistry = ( + await pMap( + packagesNotInRegistry.entries(), + async ([i, pkg]) => { + // fetching info of uploaded packages to populate title, description + // limit to 10 for performance + if (i < MAX_PKGS_TO_LOAD_TITLE) { + try { + const packageInfo = await withSpan({ name: 'get-package-info', type: 'package' }, () => + getPackageInfo({ + savedObjectsClient, + pkgName: pkg.id, + pkgVersion: pkg.attributes.version, + }) + ); + return createInstallableFrom({ ...packageInfo, id: pkg.id }, pkg); + } catch (err) { + if (err instanceof PackageInvalidArchiveError) { + logger.warn( + `Installed package ${pkg.id} ${pkg.attributes.version} is not a valid package anymore` + ); + return null; + } + throw err; + } + } else { + return createInstallableFrom( + { ...pkg.attributes, title: nameAsTitle(pkg.id), id: pkg.id }, + pkg + ); + } + }, + { concurrency: 10 } + ) + ).filter((p): p is Installable => p !== null); const filteredPackages = getFilteredSearchPackages(); const packageList = registryItems diff --git a/x-pack/plugins/infra/public/common/visualizations/lens/utils.ts b/x-pack/plugins/infra/public/common/visualizations/lens/utils.ts index e97e87380cd0a..2a28e1ac659a9 100644 --- a/x-pack/plugins/infra/public/common/visualizations/lens/utils.ts +++ b/x-pack/plugins/infra/public/common/visualizations/lens/utils.ts @@ -10,7 +10,7 @@ import { TermsIndexPatternColumn, } from '@kbn/lens-plugin/public'; import type { DataView, DataViewSpec } from '@kbn/data-views-plugin/public'; -import type { SavedObjectReference } from '@kbn/core-saved-objects-common'; +import type { SavedObjectReference } from '@kbn/core/server'; export const DEFAULT_LAYER_ID = 'layer'; export const DEFAULT_AD_HOC_DATA_VIEW_ID = 'infra_lens_ad_hoc_default'; diff --git a/x-pack/plugins/infra/public/common/visualizations/lens/visualization_types/layers/metric_layer.ts b/x-pack/plugins/infra/public/common/visualizations/lens/visualization_types/layers/metric_layer.ts index 25d05abd0f9c5..c5f65c27640ad 100644 --- a/x-pack/plugins/infra/public/common/visualizations/lens/visualization_types/layers/metric_layer.ts +++ b/x-pack/plugins/infra/public/common/visualizations/lens/visualization_types/layers/metric_layer.ts @@ -5,7 +5,7 @@ * 2.0. */ -import type { SavedObjectReference } from '@kbn/core-saved-objects-common'; +import type { SavedObjectReference } from '@kbn/core/server'; import type { DataView } from '@kbn/data-views-plugin/common'; import type { FormulaPublicApi, diff --git a/x-pack/plugins/infra/public/common/visualizations/lens/visualization_types/layers/xy_data_layer.ts b/x-pack/plugins/infra/public/common/visualizations/lens/visualization_types/layers/xy_data_layer.ts index f0babf519f19a..8da6598c77ae5 100644 --- a/x-pack/plugins/infra/public/common/visualizations/lens/visualization_types/layers/xy_data_layer.ts +++ b/x-pack/plugins/infra/public/common/visualizations/lens/visualization_types/layers/xy_data_layer.ts @@ -5,7 +5,7 @@ * 2.0. */ -import type { SavedObjectReference } from '@kbn/core-saved-objects-common'; +import type { SavedObjectReference } from '@kbn/core/server'; import type { DataView } from '@kbn/data-views-plugin/common'; import type { FormulaPublicApi, diff --git a/x-pack/plugins/infra/public/common/visualizations/lens/visualization_types/layers/xy_reference_lines_layer.ts b/x-pack/plugins/infra/public/common/visualizations/lens/visualization_types/layers/xy_reference_lines_layer.ts index 6508dcbc2cf49..c876473ee5f18 100644 --- a/x-pack/plugins/infra/public/common/visualizations/lens/visualization_types/layers/xy_reference_lines_layer.ts +++ b/x-pack/plugins/infra/public/common/visualizations/lens/visualization_types/layers/xy_reference_lines_layer.ts @@ -5,7 +5,7 @@ * 2.0. */ -import type { SavedObjectReference } from '@kbn/core-saved-objects-common'; +import type { SavedObjectReference } from '@kbn/core/server'; import type { DataView } from '@kbn/data-views-plugin/common'; import type { FormBasedPersistedState, diff --git a/x-pack/plugins/infra/public/common/visualizations/lens/visualization_types/metric_chart.ts b/x-pack/plugins/infra/public/common/visualizations/lens/visualization_types/metric_chart.ts index ecdb8fbb50480..136545e4a61bd 100644 --- a/x-pack/plugins/infra/public/common/visualizations/lens/visualization_types/metric_chart.ts +++ b/x-pack/plugins/infra/public/common/visualizations/lens/visualization_types/metric_chart.ts @@ -6,7 +6,7 @@ */ import type { FormBasedPersistedState, MetricVisualizationState } from '@kbn/lens-plugin/public'; -import type { SavedObjectReference } from '@kbn/core-saved-objects-common'; +import type { SavedObjectReference } from '@kbn/core/server'; import type { DataView } from '@kbn/data-views-plugin/public'; import { DEFAULT_LAYER_ID } from '../utils'; diff --git a/x-pack/plugins/infra/public/common/visualizations/lens/visualization_types/xy_chart.ts b/x-pack/plugins/infra/public/common/visualizations/lens/visualization_types/xy_chart.ts index 2794a86b3499b..dc6f93683f795 100644 --- a/x-pack/plugins/infra/public/common/visualizations/lens/visualization_types/xy_chart.ts +++ b/x-pack/plugins/infra/public/common/visualizations/lens/visualization_types/xy_chart.ts @@ -7,7 +7,7 @@ import type { FormBasedPersistedState, XYLayerConfig, XYState } from '@kbn/lens-plugin/public'; import type { DataView } from '@kbn/data-views-plugin/public'; -import type { SavedObjectReference } from '@kbn/core-saved-objects-common'; +import type { SavedObjectReference } from '@kbn/core/server'; import { DEFAULT_LAYER_ID } from '../utils'; import type { Chart, ChartConfig, ChartLayer } from '../../types'; diff --git a/x-pack/plugins/infra/public/common/visualizations/types.ts b/x-pack/plugins/infra/public/common/visualizations/types.ts index c60d72ce98537..b9e04bf524477 100644 --- a/x-pack/plugins/infra/public/common/visualizations/types.ts +++ b/x-pack/plugins/infra/public/common/visualizations/types.ts @@ -5,7 +5,7 @@ * 2.0. */ -import type { SavedObjectReference } from '@kbn/core-saved-objects-common'; +import type { SavedObjectReference } from '@kbn/core/server'; import type { DataView } from '@kbn/data-views-plugin/common'; import type { FormBasedPersistedState, diff --git a/x-pack/plugins/infra/server/lib/alerting/log_threshold/log_threshold_references_manager.test.ts b/x-pack/plugins/infra/server/lib/alerting/log_threshold/log_threshold_references_manager.test.ts index b0c6aa898c972..a6232b02a958f 100644 --- a/x-pack/plugins/infra/server/lib/alerting/log_threshold/log_threshold_references_manager.test.ts +++ b/x-pack/plugins/infra/server/lib/alerting/log_threshold/log_threshold_references_manager.test.ts @@ -5,7 +5,7 @@ * 2.0. */ -import { SavedObjectReference } from '@kbn/core-saved-objects-common'; +import type { SavedObjectReference } from '@kbn/core/server'; import { Comparator, RuleParams } from '../../../../common/alerting/logs/log_threshold'; import { extractReferences, injectReferences } from './log_threshold_references_manager'; diff --git a/x-pack/plugins/infra/server/lib/alerting/log_threshold/log_threshold_references_manager.ts b/x-pack/plugins/infra/server/lib/alerting/log_threshold/log_threshold_references_manager.ts index 12b67b6f260e4..41fec29a6c1f3 100644 --- a/x-pack/plugins/infra/server/lib/alerting/log_threshold/log_threshold_references_manager.ts +++ b/x-pack/plugins/infra/server/lib/alerting/log_threshold/log_threshold_references_manager.ts @@ -5,7 +5,7 @@ * 2.0. */ -import type { SavedObjectReference } from '@kbn/core-saved-objects-common'; +import type { SavedObjectReference } from '@kbn/core/server'; import { logViewReferenceRT } from '@kbn/logs-shared-plugin/common'; import { logViewSavedObjectName } from '@kbn/logs-shared-plugin/server'; import { RuleParams, ruleParamsRT } from '../../../../common/alerting/logs/log_threshold'; diff --git a/x-pack/plugins/infra/tsconfig.json b/x-pack/plugins/infra/tsconfig.json index d1f52ab041c1b..7978b6f3b0901 100644 --- a/x-pack/plugins/infra/tsconfig.json +++ b/x-pack/plugins/infra/tsconfig.json @@ -49,7 +49,6 @@ "@kbn/ui-actions-plugin", "@kbn/charts-plugin", "@kbn/lens-plugin", - "@kbn/core-saved-objects-common", "@kbn/core-analytics-server", "@kbn/analytics-client", "@kbn/shared-ux-router", diff --git a/x-pack/plugins/lens/public/app_plugin/shared/edit_on_the_fly/get_edit_lens_configuration.tsx b/x-pack/plugins/lens/public/app_plugin/shared/edit_on_the_fly/get_edit_lens_configuration.tsx index 28e4f84cb2112..b0e3ec119c532 100644 --- a/x-pack/plugins/lens/public/app_plugin/shared/edit_on_the_fly/get_edit_lens_configuration.tsx +++ b/x-pack/plugins/lens/public/app_plugin/shared/edit_on_the_fly/get_edit_lens_configuration.tsx @@ -14,6 +14,7 @@ import { css } from '@emotion/react'; import type { CoreStart } from '@kbn/core/public'; import { KibanaContextProvider } from '@kbn/kibana-react-plugin/public'; import { isEqual } from 'lodash'; +import { RootDragDropProvider } from '@kbn/dom-drag-drop'; import type { LensPluginStartDependencies } from '../../../plugin'; import { makeConfigureStore, @@ -136,6 +137,7 @@ export async function getEditLensConfiguration( hideCloseButton css={css` background: none; + clip-path: polygon(-100% 0, 100% 0, 100% 100%, -100% 100%); `} > {children} @@ -162,7 +164,9 @@ export async function getEditLensConfiguration( return getWrapper( - + + + ); diff --git a/x-pack/plugins/lens/public/app_plugin/shared/edit_on_the_fly/lens_configuration_flyout.tsx b/x-pack/plugins/lens/public/app_plugin/shared/edit_on_the_fly/lens_configuration_flyout.tsx index 4d7fd3bbf7031..c86c9931f93da 100644 --- a/x-pack/plugins/lens/public/app_plugin/shared/edit_on_the_fly/lens_configuration_flyout.tsx +++ b/x-pack/plugins/lens/public/app_plugin/shared/edit_on_the_fly/lens_configuration_flyout.tsx @@ -16,6 +16,7 @@ import { useEuiTheme, EuiCallOut, } from '@elastic/eui'; +import { euiThemeVars } from '@kbn/ui-theme'; import { i18n } from '@kbn/i18n'; import { FormattedMessage } from '@kbn/i18n-react'; import { css } from '@emotion/react'; @@ -99,6 +100,18 @@ export function LensEditConfigurationFlyout({ * { + pointer-events: auto; + } + } .euiFlyoutBody__overflowContent { padding: ${euiTheme.size.s}; } diff --git a/x-pack/plugins/lens/public/datasources/form_based/form_based.tsx b/x-pack/plugins/lens/public/datasources/form_based/form_based.tsx index c83fa54482efb..f51fe7a65eb14 100644 --- a/x-pack/plugins/lens/public/datasources/form_based/form_based.tsx +++ b/x-pack/plugins/lens/public/datasources/form_based/form_based.tsx @@ -141,7 +141,10 @@ export const removeColumn: Datasource['removeColumn'] = ( columnId, indexPatterns, }) => { - const indexPattern = indexPatterns[prevState.layers[layerId]?.indexPatternId]; + const indexPattern = indexPatterns?.[prevState.layers[layerId]?.indexPatternId]; + if (!indexPattern) { + throw new Error('indexPatterns is not passed to the function'); + } return mergeLayer({ state: prevState, layerId, diff --git a/x-pack/plugins/lens/public/datasources/text_based/dnd/get_drop_props.test.tsx b/x-pack/plugins/lens/public/datasources/text_based/dnd/get_drop_props.test.tsx new file mode 100644 index 0000000000000..ef4811f254cb2 --- /dev/null +++ b/x-pack/plugins/lens/public/datasources/text_based/dnd/get_drop_props.test.tsx @@ -0,0 +1,203 @@ +/* + * 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 { DatasourceDimensionDropHandlerProps } from '../../../types'; +import { getDropProps } from './get_drop_props'; +import { + column1, + column2, + column3, + numericDraggedColumn, + fieldList, + notNumericDraggedField, + numericDraggedField, +} from './mocks'; +import { TextBasedPrivateState } from '../types'; + +const defaultProps = { + state: { + layers: { + first: { + columns: [column1, column2, column3], + allColumns: [...fieldList, column1, column2, column3], + }, + }, + fieldList, + }, + source: numericDraggedColumn, + target: { + id: 'columnId3', + layerId: 'first', + columnId: 'columnId3', + groupId: 'x', + humanData: { + label: 'products.base_price', + groupLabel: 'Vertical axis', + position: 1, + layerNumber: 1, + }, + }, +} as unknown as DatasourceDimensionDropHandlerProps; + +describe('Text-based: getDropProps', () => { + it('should return undefined if source and target belong to different layers', () => { + const props = { + ...defaultProps, + source: { + ...defaultProps.source, + layerId: 'second', + }, + }; + expect(getDropProps(props)).toBeUndefined(); + }); + it('should return undefined if source and target is the same column', () => { + const props = { + ...defaultProps, + source: { + ...defaultProps.target, + }, + } as unknown as DatasourceDimensionDropHandlerProps; + expect(getDropProps(props)).toBeUndefined(); + }); + it('should return undefined if source is a non-numeric field and target is a metric dimension', () => { + const props = { + ...defaultProps, + source: notNumericDraggedField, + target: { + ...defaultProps.target, + isMetricDimension: true, + }, + } as unknown as DatasourceDimensionDropHandlerProps; + expect(getDropProps(props)).toBeUndefined(); + }); + it('should return reorder if source and target are operations from the same group', () => { + const props = { + ...defaultProps, + source: { + ...defaultProps.source, + groupId: 'x', + }, + } as unknown as DatasourceDimensionDropHandlerProps; + expect(getDropProps(props)).toEqual({ + dropTypes: ['reorder'], + nextLabel: 'category', + }); + }); + it('should return move_compatible if target is an empty column from compatible group', () => { + const props = { + ...defaultProps, + target: { + ...defaultProps.target, + columnId: 'columnId4', + groupId: 'x', + }, + } as unknown as DatasourceDimensionDropHandlerProps; + expect(getDropProps(props)).toEqual({ + dropTypes: ['move_compatible', 'duplicate_compatible'], + nextLabel: 'category', + }); + }); + it('should return replace_compatible and swap_compatible if target is a column from compatible group', () => { + const props = { + ...defaultProps, + target: { + ...defaultProps.target, + groupId: 'x', + isMetricDimension: false, + }, + } as unknown as DatasourceDimensionDropHandlerProps; + expect(getDropProps(props)).toEqual({ + dropTypes: ['replace_compatible', 'replace_duplicate_compatible', 'swap_compatible'], + nextLabel: 'category', + }); + }); + it('should return replace_compatible if target is a non-compatible column from compatible group', () => { + const props = { + ...defaultProps, + target: { + ...defaultProps.target, + groupId: 'x', + isMetricDimension: false, + }, + source: { + ...defaultProps.source, + isMetricDimension: true, + }, + } as unknown as DatasourceDimensionDropHandlerProps; + expect(getDropProps(props)).toEqual({ + dropTypes: ['replace_compatible', 'replace_duplicate_compatible', 'swap_compatible'], + nextLabel: 'category', + }); + }); + it('should return duplicate_compatible if target is an empty column from the same group', () => { + const props = { + ...defaultProps, + target: { + ...defaultProps.target, + columnId: 'columnId4', + groupId: 'y', + }, + } as unknown as DatasourceDimensionDropHandlerProps; + expect(getDropProps(props)).toEqual({ + dropTypes: ['duplicate_compatible'], + nextLabel: 'category', + }); + }); + it('should return field_add if source is a field and target is an empty column', () => { + const props = { + ...defaultProps, + source: notNumericDraggedField, + target: { + ...defaultProps.target, + columnId: 'columnId4', + }, + } as unknown as DatasourceDimensionDropHandlerProps; + expect(getDropProps(props)).toEqual({ + dropTypes: ['field_add'], + nextLabel: 'category', + }); + }); + it('should return field_add if field is numeric and the dimension is metric', () => { + expect( + getDropProps({ + ...defaultProps, + source: numericDraggedField, + target: { + ...defaultProps.target, + isMetricDimension: true, + columnId: 'columnId4', + }, + }) + ).toStrictEqual({ + dropTypes: ['field_add'], + nextLabel: 'products.base_price', + }); + }); + it('should return undefined if field is not numeric and the dimension is metric', () => { + expect( + getDropProps({ + ...defaultProps, + source: notNumericDraggedField, + target: { + ...defaultProps.target, + isMetricDimension: true, + columnId: 'columnId4', + }, + }) + ).toStrictEqual(undefined); + }); + it('should return field_replace if source is a field and target is a non-empty column', () => { + const props = { + ...defaultProps, + source: notNumericDraggedField, + } as unknown as DatasourceDimensionDropHandlerProps; + expect(getDropProps(props)).toEqual({ + dropTypes: ['field_replace'], + nextLabel: 'category', + }); + }); +}); diff --git a/x-pack/plugins/lens/public/datasources/text_based/dnd/get_drop_props.tsx b/x-pack/plugins/lens/public/datasources/text_based/dnd/get_drop_props.tsx new file mode 100644 index 0000000000000..9f79fff3d6080 --- /dev/null +++ b/x-pack/plugins/lens/public/datasources/text_based/dnd/get_drop_props.tsx @@ -0,0 +1,77 @@ +/* + * 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 { DropType } from '@kbn/dom-drag-drop'; +import { isOperation } from '../../../types'; +import type { TextBasedPrivateState } from '../types'; +import type { GetDropPropsArgs } from '../../../types'; +import { isDraggedField, isOperationFromTheSameGroup } from '../../../utils'; + +export const getDropProps = ( + props: GetDropPropsArgs +): { dropTypes: DropType[]; nextLabel?: string } | undefined => { + const { source, target, state } = props; + if (!source || source.id === target.columnId) { + return; + } + const layer = state.layers[target.layerId]; + const targetColumn = layer.columns.find((f) => f.columnId === target.columnId); + const targetField = layer.allColumns.find((f) => f.columnId === target.columnId); + const sourceField = layer.allColumns.find((f) => f.columnId === source.id); + + if (isDraggedField(source)) { + const nextLabel = source.humanData.label; + if (target?.isMetricDimension && sourceField?.meta?.type !== 'number') { + return; + } + return { + dropTypes: [targetColumn ? 'field_replace' : 'field_add'], + nextLabel, + }; + } + + if (isOperation(source)) { + if (source.layerId !== target.layerId) return; + const nextLabel = source.humanData.label; + if (isOperationFromTheSameGroup(source, target)) { + if (!targetColumn) { + return { dropTypes: ['duplicate_compatible'], nextLabel }; + } + return { dropTypes: ['reorder'], nextLabel }; + } + + const isMoveable = + !target?.isMetricDimension || + (target.isMetricDimension && sourceField?.meta?.type === 'number'); + + if (targetColumn) { + const isSwappable = + (isMoveable && !source?.isMetricDimension) || + (source.isMetricDimension && targetField?.meta?.type === 'number'); + if (isMoveable) { + if (isSwappable) { + return { + dropTypes: ['replace_compatible', 'replace_duplicate_compatible', 'swap_compatible'], + nextLabel, + }; + } + return { + dropTypes: ['replace_compatible', 'replace_duplicate_compatible'], + nextLabel, + }; + } + } else { + if (isMoveable) { + return { + dropTypes: ['move_compatible', 'duplicate_compatible'], + nextLabel, + }; + } + } + } + return; +}; diff --git a/x-pack/plugins/osquery/common/schemas/common/index.ts b/x-pack/plugins/lens/public/datasources/text_based/dnd/index.tsx similarity index 74% rename from x-pack/plugins/osquery/common/schemas/common/index.ts rename to x-pack/plugins/lens/public/datasources/text_based/dnd/index.tsx index 2478c7bb4f7fa..7ff835ea10b9c 100644 --- a/x-pack/plugins/osquery/common/schemas/common/index.ts +++ b/x-pack/plugins/lens/public/datasources/text_based/dnd/index.tsx @@ -5,4 +5,5 @@ * 2.0. */ -export * from './utils'; +export { getDropProps } from './get_drop_props'; +export { onDrop } from './on_drop'; diff --git a/x-pack/plugins/lens/public/datasources/text_based/dnd/mocks.tsx b/x-pack/plugins/lens/public/datasources/text_based/dnd/mocks.tsx new file mode 100644 index 0000000000000..5cb3bcd37e2cc --- /dev/null +++ b/x-pack/plugins/lens/public/datasources/text_based/dnd/mocks.tsx @@ -0,0 +1,196 @@ +/* + * 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 { DatasourceDimensionDropHandlerProps } from '../../../types'; +import { TextBasedPrivateState } from '../types'; + +export const column1 = { + columnId: 'columnId1', + fieldName: 'category', + meta: { + type: 'string', + }, +}; +export const column2 = { + columnId: 'columnId2', + fieldName: 'day_of_week_i', + meta: { + type: 'number', + }, +}; +export const column3 = { + columnId: 'columnId3', + fieldName: 'products.base_price', + meta: { + type: 'number', + }, +}; + +export const emptyDimensionTarget = { + layerId: 'first', + groupId: 'y', + isNewColumn: true, + indexPatternId: 'indexId', + filterOperations: () => true, + humanData: { + groupLabel: 'Horizontal axis', + layerNumber: 1, + position: 2, + label: 'Empty dimension', + nextLabel: '', + canDuplicate: true, + }, + columnId: 'newId', + id: 'newId', +}; + +export const numericDraggedColumn = { + id: column1.columnId, + layerId: 'first', + columnId: column1.columnId, + groupId: 'y', + isMetricDimension: false, + indexPatternId: 'indexId', + humanData: { + label: 'category', + groupLabel: 'Horizontal axis', + position: 1, + layerNumber: 1, + canSwap: false, + canDuplicate: false, + canCombine: false, + nextLabel: '', + }, +}; + +export const notNumericDraggedField = { + field: 'category', + id: 'category', + humanData: { + label: 'category', + }, +}; + +export const numericDraggedField = { + field: 'products.base_price', + id: 'products.base_price', + humanData: { + label: 'products.base_price', + }, +}; + +export const fieldList = [ + { + columnId: 'category', + fieldName: 'category', + meta: { + type: 'string', + }, + }, + { + columnId: 'currency', + fieldName: 'currency', + meta: { + type: 'string', + }, + }, + { + columnId: 'products.base_price', + fieldName: 'products.base_price', + meta: { + type: 'number', + }, + }, + { + columnId: 'products.price', + fieldName: 'products.price', + meta: { + type: 'number', + }, + }, +]; + +export const defaultProps = { + setState: jest.fn(), + state: { + layers: { + first: { + index: 'indexId', + query: { + sql: 'SELECT * FROM "kibana_sample_data_ecommerce"', + }, + columns: [column1, column2, column3], + allColumns: [...fieldList, column1, column2, column3], + errors: [], + }, + }, + fieldList, + indexPatternRefs: [], + }, + source: numericDraggedColumn, + target: { + layerId: 'first', + groupId: 'y', + isNewColumn: true, + isMetricDimension: true, + indexPatternId: 'indexId', + filterOperations: () => true, + humanData: { + groupLabel: 'Horizontal axis', + layerNumber: 1, + position: 2, + label: 'Empty dimension', + nextLabel: 'products.price', + canDuplicate: true, + }, + columnId: column3.columnId, + id: column3.columnId, + }, + targetLayerDimensionGroups: [ + { + groupId: 'x', + groupLabel: 'Vertical axis', + accessors: [ + { + columnId: 'columnId3', + }, + ], + supportsMoreColumns: false, + dataTestSubj: 'lnsXY_xDimensionPanel', + }, + { + groupId: 'y', + groupLabel: 'Horizontal axis', + accessors: [ + { + columnId: 'columnId1', + triggerIconType: 'disabled', + }, + ], + isMetricDimension: true, + supportsMoreColumns: true, + requiredMinDimensionCount: 1, + dataTestSubj: 'lnsXY_yDimensionPanel', + enableDimensionEditor: true, + }, + { + groupId: 'breakdown', + groupLabel: 'Breakdown', + accessors: [ + { + columnId: 'columnId2', + triggerIconType: 'colorBy', + }, + ], + supportsMoreColumns: false, + dataTestSubj: 'lnsXY_splitDimensionPanel', + requiredMinDimensionCount: 0, + enableDimensionEditor: true, + }, + ], + dropType: 'duplicate_compatible', +} as unknown as DatasourceDimensionDropHandlerProps; diff --git a/x-pack/plugins/lens/public/datasources/text_based/dnd/on_drop.test.ts b/x-pack/plugins/lens/public/datasources/text_based/dnd/on_drop.test.ts new file mode 100644 index 0000000000000..9bcb4f6545cde --- /dev/null +++ b/x-pack/plugins/lens/public/datasources/text_based/dnd/on_drop.test.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 { DropType } from '@kbn/dom-drag-drop'; +import { onDrop } from './on_drop'; +import { column1, column2, column3, emptyDimensionTarget, defaultProps, fieldList } from './mocks'; +import { DatasourceDimensionDropHandlerProps } from '../../../types'; +import { TextBasedPrivateState } from '../types'; + +describe('onDrop', () => { + it('should return false if dropType is not in the list', () => { + const props = { + ...defaultProps, + dropType: 'not_in_the_list' as DropType, + }; + expect(onDrop(props)).toEqual(undefined); + }); + it('should swap the dimensions if dropType is swap_compatible', () => { + const props = { + ...defaultProps, + dropType: 'swap_compatible' as DropType, + }; + const expectedColumns = [ + { ...column3, columnId: 'columnId1' }, + column2, + { ...column1, columnId: 'columnId3' }, + ]; + expect(onDrop(props)).toEqual( + expect.objectContaining({ + layers: { + first: expect.objectContaining({ + columns: expectedColumns, + allColumns: [...fieldList, ...expectedColumns], + }), + }, + }) + ); + }); + it('should reorder the dimensions if dropType is reorder', () => { + const props = { + ...defaultProps, + dropType: 'reorder' as DropType, + }; + const expectedColumns = [column2, column3, column1]; + expect(onDrop(props)).toEqual( + expect.objectContaining({ + layers: { + first: expect.objectContaining({ + columns: expectedColumns, + allColumns: [...fieldList, ...expectedColumns], + }), + }, + }) + ); + }); + it('should move the dimension if dropType is move_compatible and remove the original one', () => { + const props = { + ...defaultProps, + target: emptyDimensionTarget, + dropType: 'move_compatible' as DropType, + }; + const expectedColumns = [column2, column3, { ...column1, columnId: 'newId' }]; + expect(onDrop(props)).toEqual( + expect.objectContaining({ + layers: { + first: expect.objectContaining({ + columns: expectedColumns, + allColumns: [...fieldList, ...expectedColumns], + }), + }, + }) + ); + }); + it('should add the column when dropping a field', () => { + const props = { + ...defaultProps, + source: { + field: 'currency', + id: 'currency', + humanData: { + label: 'currency', + }, + }, + target: { + layerId: 'first', + groupId: 'x', + isNewColumn: true, + indexPatternId: '9de9a3c2-ae98-4180-b019-4d208e516b70', + humanData: { + groupLabel: 'Vertical axis', + layerNumber: 1, + position: 1, + label: 'Empty dimension', + nextLabel: 'currency', + canDuplicate: false, + }, + columnId: 'empty', + id: 'empty', + }, + dropType: 'field_add' as DropType, + } as unknown as DatasourceDimensionDropHandlerProps; + const expectedColumns = [ + column1, + column2, + column3, + { columnId: 'empty', fieldName: 'currency', meta: { type: 'string' } }, + ]; + expect(onDrop(props)).toEqual( + expect.objectContaining({ + layers: { + first: expect.objectContaining({ + columns: expectedColumns, + allColumns: [...fieldList, ...expectedColumns], + }), + }, + }) + ); + }); + it('should replace the column with the field', () => { + const props = { + ...defaultProps, + source: { + field: 'currency', + id: 'currency', + humanData: { + label: 'currency', + }, + }, + dropType: 'field_replace' as DropType, + }; + const expectedColumns = [ + column1, + column2, + { columnId: 'columnId3', fieldName: 'currency', meta: { type: 'string' } }, + ]; + expect(onDrop(props)).toEqual( + expect.objectContaining({ + layers: { + first: expect.objectContaining({ + columns: expectedColumns, + allColumns: [...fieldList, ...expectedColumns], + }), + }, + }) + ); + }); + it('should duplicate the dimension if dropType is duplicate_compatible', () => { + const props = { + ...defaultProps, + dropType: 'duplicate_compatible' as DropType, + }; + const expectedColumns = [column1, column2, { ...column1, columnId: 'columnId3' }]; + expect(onDrop(props)).toEqual( + expect.objectContaining({ + layers: { + first: expect.objectContaining({ + columns: expectedColumns, + allColumns: [...fieldList, ...expectedColumns], + }), + }, + }) + ); + }); +}); diff --git a/x-pack/plugins/lens/public/datasources/text_based/dnd/on_drop.ts b/x-pack/plugins/lens/public/datasources/text_based/dnd/on_drop.ts new file mode 100644 index 0000000000000..22c3d5b5f4436 --- /dev/null +++ b/x-pack/plugins/lens/public/datasources/text_based/dnd/on_drop.ts @@ -0,0 +1,101 @@ +/* + * 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 { TextBasedLayerColumn, TextBasedPrivateState } from '../types'; +import { reorderElements } from '../../../utils'; +import { DatasourceDimensionDropHandlerProps, isOperation } from '../../../types'; +import { removeColumn } from '../remove_column'; + +export const onDrop = (props: DatasourceDimensionDropHandlerProps) => { + const { dropType, state, source, target } = props; + if ( + ![ + 'field_add', + 'field_replace', + 'duplicate_compatible', + 'replace_duplicate_compatible', + 'replace_compatible', + 'move_compatible', + 'swap_compatible', + 'reorder', + ].includes(dropType) + ) { + return undefined; + } + + const layer = state.layers[target.layerId]; + const sourceField = layer.allColumns.find((f) => f.columnId === source.id); + const targetField = layer.allColumns.find((f) => f.columnId === target.columnId); + const newColumn = { + columnId: target.columnId, + fieldName: sourceField?.fieldName ?? '', + meta: sourceField?.meta, + }; + let columns: TextBasedLayerColumn[] | undefined; + let allColumns: TextBasedLayerColumn[] | undefined; + + switch (dropType) { + case 'field_add': + case 'duplicate_compatible': + case 'replace_duplicate_compatible': + columns = [...layer.columns.filter((c) => c.columnId !== target.columnId), newColumn]; + allColumns = [...layer.allColumns.filter((c) => c.columnId !== target.columnId), newColumn]; + break; + case 'field_replace': + case 'replace_compatible': + columns = layer.columns.map((c) => (c.columnId === target.columnId ? newColumn : c)); + allColumns = layer.allColumns.map((c) => (c.columnId === target.columnId ? newColumn : c)); + break; + case 'move_compatible': + columns = [...layer.columns, newColumn]; + allColumns = [...layer.allColumns, newColumn]; + break; + case 'swap_compatible': + const swapTwoColumns = (c: TextBasedLayerColumn) => + c.columnId === target.columnId + ? newColumn + : c.columnId === source.columnId + ? { + columnId: source.columnId, + fieldName: targetField?.fieldName ?? '', + meta: targetField?.meta, + } + : c; + columns = layer.columns.map(swapTwoColumns); + allColumns = layer.allColumns.map(swapTwoColumns); + break; + case 'reorder': + const targetColumn = layer.columns.find((f) => f.columnId === target.columnId); + const sourceColumn = layer.columns.find((f) => f.columnId === source.id); + if (!targetColumn || !sourceColumn) return; + columns = reorderElements(layer.columns, targetColumn, sourceColumn); + allColumns = reorderElements(layer.allColumns, targetColumn, sourceColumn); + break; + } + + if (!columns || !allColumns) return; + + const newState = { + ...props.state, + layers: { + ...props.state.layers, + [target.layerId]: { + ...layer, + columns, + allColumns, + }, + }, + }; + if (isOperation(source) && ['replace_compatible', 'move_compatible'].includes(dropType)) { + return removeColumn({ + prevState: newState, + columnId: source.columnId, + layerId: source.layerId, + }); + } + return newState; +}; diff --git a/x-pack/plugins/lens/public/datasources/text_based/remove_column.ts b/x-pack/plugins/lens/public/datasources/text_based/remove_column.ts new file mode 100644 index 0000000000000..bd10678d9d160 --- /dev/null +++ b/x-pack/plugins/lens/public/datasources/text_based/remove_column.ts @@ -0,0 +1,27 @@ +/* + * 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 { Datasource } from '../../types'; +import { TextBasedPrivateState } from './types'; + +export const removeColumn: Datasource['removeColumn'] = ({ + prevState, + layerId, + columnId, +}) => { + return { + ...prevState, + layers: { + ...prevState.layers, + [layerId]: { + ...prevState.layers[layerId], + columns: prevState.layers[layerId].columns.filter((col) => col.columnId !== columnId), + allColumns: prevState.layers[layerId].allColumns.filter((col) => col.columnId !== columnId), + }, + }, + }; +}; diff --git a/x-pack/plugins/lens/public/datasources/text_based/text_based_languages.test.ts b/x-pack/plugins/lens/public/datasources/text_based/text_based_languages.test.ts index d12505e93f07a..33010858162a5 100644 --- a/x-pack/plugins/lens/public/datasources/text_based/text_based_languages.test.ts +++ b/x-pack/plugins/lens/public/datasources/text_based/text_based_languages.test.ts @@ -251,31 +251,6 @@ describe('Textbased Data Source', () => { }; expect(TextBasedDatasource.getDropProps(props)).toBeUndefined(); }); - - it('should return props if field is allowed to be dropped', () => { - const props = { - target: { - layerId: 'a', - groupId: 'groupId', - columnId: 'col1', - filterOperations: jest.fn(), - isMetricDimension: true, - }, - source: { - id: 'col1', - field: 'Test 1', - humanData: { - label: 'Test 1', - }, - }, - state: baseState, - indexPatterns, - }; - expect(TextBasedDatasource.getDropProps(props)).toStrictEqual({ - dropTypes: ['field_add'], - nextLabel: 'Test 1', - }); - }); }); describe('#insertLayer', () => { diff --git a/x-pack/plugins/lens/public/datasources/text_based/text_based_languages.tsx b/x-pack/plugins/lens/public/datasources/text_based/text_based_languages.tsx index 06006f1fd1d39..c490c00b41f44 100644 --- a/x-pack/plugins/lens/public/datasources/text_based/text_based_languages.tsx +++ b/x-pack/plugins/lens/public/datasources/text_based/text_based_languages.tsx @@ -6,6 +6,7 @@ */ import React from 'react'; + import { CoreStart } from '@kbn/core/public'; import { i18n } from '@kbn/i18n'; import { IStorageWrapper } from '@kbn/kibana-utils-plugin/public'; @@ -19,6 +20,8 @@ import { euiThemeVars } from '@kbn/ui-theme'; import { DimensionTrigger } from '@kbn/visualization-ui-components'; import memoizeOne from 'memoize-one'; import { isEqual } from 'lodash'; +import { TextBasedDataPanel } from './datapanel'; +import { toExpression } from './to_expression'; import { DatasourceDimensionEditorProps, DatasourceDataPanelProps, @@ -31,8 +34,6 @@ import { UserMessage, } from '../../types'; import { generateId } from '../../id_generator'; -import { toExpression } from './to_expression'; -import { TextBasedDataPanel } from './datapanel'; import type { TextBasedPrivateState, TextBasedPersistedState, @@ -43,6 +44,8 @@ import { FieldSelect } from './field_select'; import type { Datasource, IndexPatternMap } from '../../types'; import { LayerPanel } from './layerpanel'; import { getUniqueLabelGenerator, nonNullable } from '../../utils'; +import { onDrop, getDropProps } from './dnd'; +import { removeColumn } from './remove_column'; function getLayerReferenceName(layerId: string) { return `textBasedLanguages-datasource-layer-${layerId}`; @@ -337,18 +340,7 @@ export function getTextBasedDatasource({ return state.layers[layerId].index; }, - removeColumn({ prevState, layerId, columnId }) { - return { - ...prevState, - layers: { - ...prevState.layers, - [layerId]: { - ...prevState.layers[layerId], - columns: prevState.layers[layerId].columns.filter((col) => col.columnId !== columnId), - }, - }, - }; - }, + removeColumn, toExpression: (state, layerId, indexPatterns, dateRange, searchSessionId) => { return toExpression(state, layerId); @@ -511,57 +503,8 @@ export function getTextBasedDatasource({ return columnLabelMap; }, - - getDropProps: (props) => { - const { source, target, state } = props; - if (!source) { - return; - } - if (target && target.isMetricDimension) { - const layerId = target.layerId; - const currentLayer = state.layers[layerId]; - const field = currentLayer.allColumns.find((f) => f.columnId === source.id); - if (field?.meta?.type !== 'number') return; - } - const label = source.field as string; - return { dropTypes: ['field_add'], nextLabel: label }; - }, - - onDrop: (props) => { - const { dropType, state, source, target } = props; - const { layers } = state; - - if (dropType === 'field_add') { - Object.keys(layers).forEach((layerId) => { - const currentLayer = layers[layerId]; - const field = currentLayer.allColumns.find((f) => f.columnId === source.id); - const newColumn = { - columnId: target.columnId, - fieldName: field?.fieldName ?? '', - meta: field?.meta, - }; - const columns = currentLayer.columns.filter((c) => c.columnId !== target.columnId); - columns.push(newColumn); - - const allColumns = currentLayer.allColumns.filter((c) => c.columnId !== target.columnId); - allColumns.push(newColumn); - - return { - ...props.state, - layers: { - ...props.state.layers, - [layerId]: { - ...props.state.layers[layerId], - columns, - allColumns, - }, - }, - }; - }); - } - return undefined; - }, - + getDropProps, + onDrop, getPublicAPI({ state, layerId, indexPatterns }: PublicAPIProps) { return { datasourceId: 'textBased', diff --git a/x-pack/plugins/lens/public/editor_frame_service/editor_frame/config_panel/config_panel.tsx b/x-pack/plugins/lens/public/editor_frame_service/editor_frame/config_panel/config_panel.tsx index 2a7056c759fac..5627916036bf3 100644 --- a/x-pack/plugins/lens/public/editor_frame_service/editor_frame/config_panel/config_panel.tsx +++ b/x-pack/plugins/lens/public/editor_frame_service/editor_frame/config_panel/config_panel.tsx @@ -17,7 +17,7 @@ import { import { DragDropIdentifier, DropType } from '@kbn/dom-drag-drop'; import { changeIndexPattern, - onDimensionDrop, + onDropToDimension, removeDimension, } from '../../../state_management/lens_slice'; import { AddLayerFunction, DragDropOperation, Visualization } from '../../../types'; @@ -158,8 +158,9 @@ export function LayerPanels( }, [dispatchLens]); const handleDimensionDrop = useCallback( - (payload: { source: DragDropIdentifier; target: DragDropOperation; dropType: DropType }) => - dispatchLens(onDimensionDrop(payload)), + (payload: { source: DragDropIdentifier; target: DragDropOperation; dropType: DropType }) => { + dispatchLens(onDropToDimension(payload)); + }, [dispatchLens] ); @@ -265,7 +266,7 @@ export function LayerPanels( !hidden && ( { let mockVisualization: jest.Mocked; @@ -109,7 +109,7 @@ describe('LayerPanel', () => { indexPatternService: createIndexPatternServiceMock(), getUserMessages: () => [], displayLayerSettings: true, - onDimensionDrop, + onDropToDimension, }; } @@ -144,7 +144,7 @@ describe('LayerPanel', () => { mockDatasource = createMockDatasource('testDatasource'); }); - afterEach(() => onDimensionDrop.mockClear()); + afterEach(() => onDropToDimension.mockClear()); describe('layer reset and remove', () => { it('should show the reset button when single layer', async () => { @@ -782,7 +782,7 @@ describe('LayerPanel', () => { dragDropElement.simulate('dragOver'); dragDropElement.simulate('drop'); - expect(onDimensionDrop).toHaveBeenCalledWith( + expect(onDropToDimension).toHaveBeenCalledWith( expect.objectContaining({ source: draggingField, }) @@ -832,7 +832,7 @@ describe('LayerPanel', () => { dragDropElement.simulate('dragOver'); dragDropElement.simulate('drop'); - expect(onDimensionDrop).not.toHaveBeenCalled(); + expect(onDropToDimension).not.toHaveBeenCalled(); }); it('should allow drag to move between groups', async () => { @@ -896,14 +896,14 @@ describe('LayerPanel', () => { dragDropElement.simulate('dragOver'); dragDropElement.simulate('drop'); - expect(onDimensionDrop).toHaveBeenCalledWith( + expect(onDropToDimension).toHaveBeenCalledWith( expect.objectContaining({ target: expect.objectContaining({ columnId: 'b' }), source: draggingOperation, }) ); - onDimensionDrop.mockClear(); + onDropToDimension.mockClear(); // Simulate drop on the empty dimension @@ -914,7 +914,7 @@ describe('LayerPanel', () => { updatedDragDropElement.simulate('dragOver'); updatedDragDropElement.simulate('drop'); - expect(onDimensionDrop).toHaveBeenCalledWith( + expect(onDropToDimension).toHaveBeenCalledWith( expect.objectContaining({ target: expect.objectContaining({ columnId: 'newid' }), source: draggingOperation, @@ -958,7 +958,7 @@ describe('LayerPanel', () => { act(() => { instance.find(DragDrop).at(1).prop('onDrop')!(draggingOperation, 'reorder'); }); - expect(onDimensionDrop).toHaveBeenCalledWith( + expect(onDropToDimension).toHaveBeenCalledWith( expect.objectContaining({ dropType: 'reorder', source: draggingOperation, @@ -1009,7 +1009,7 @@ describe('LayerPanel', () => { act(() => { instance.find(DragDrop).at(2).prop('onDrop')!(draggingOperation, 'duplicate_compatible'); }); - expect(onDimensionDrop).toHaveBeenCalledWith( + expect(onDropToDimension).toHaveBeenCalledWith( expect.objectContaining({ target: expect.objectContaining({ columnId: 'newid' }), dropType: 'duplicate_compatible', @@ -1060,7 +1060,7 @@ describe('LayerPanel', () => { act(() => { instance.find(DragDrop).at(3).prop('onDrop')!(draggingOperation, 'replace_compatible'); }); - expect(onDimensionDrop).toHaveBeenCalledWith( + expect(onDropToDimension).toHaveBeenCalledWith( expect.objectContaining({ dropType: 'replace_compatible', source: draggingOperation, @@ -1120,7 +1120,7 @@ describe('LayerPanel', () => { instance.find(DragDrop).at(3).prop('onDrop')!(draggingOperation, 'replace_compatible'); }); - expect(onDimensionDrop).toHaveBeenCalledWith( + expect(onDropToDimension).toHaveBeenCalledWith( expect.objectContaining({ dropType: 'replace_compatible', source: draggingOperation, @@ -1185,7 +1185,7 @@ describe('LayerPanel', () => { instance.find(DragDrop).at(3).prop('onDrop')!(draggingOperation, 'replace_compatible'); }); - expect(onDimensionDrop).toHaveBeenCalledWith( + expect(onDropToDimension).toHaveBeenCalledWith( expect.objectContaining({ dropType: 'replace_compatible', source: draggingOperation, diff --git a/x-pack/plugins/lens/public/editor_frame_service/editor_frame/config_panel/layer_panel.tsx b/x-pack/plugins/lens/public/editor_frame_service/editor_frame/config_panel/layer_panel.tsx index f87f52e1e0da0..6472c41a79e02 100644 --- a/x-pack/plugins/lens/public/editor_frame_service/editor_frame/config_panel/layer_panel.tsx +++ b/x-pack/plugins/lens/public/editor_frame_service/editor_frame/config_panel/layer_panel.tsx @@ -64,7 +64,7 @@ export function LayerPanel( addLayer: AddLayerFunction; registerLibraryAnnotationGroup: RegisterLibraryAnnotationGroupFunction; updateVisualization: StateSetter; - onDimensionDrop: (payload: { + onDropToDimension: (payload: { source: DragDropIdentifier; target: DragDropOperation; dropType: DropType; @@ -122,7 +122,7 @@ export function LayerPanel( visualizationState, onChangeIndexPattern, core, - onDimensionDrop, + onDropToDimension, } = props; const isSaveable = useLensSelector((state) => state.lens.isSaveable); @@ -211,9 +211,9 @@ export function LayerPanel( setNextFocusedButtonId(target.columnId); } - onDimensionDrop({ source, target, dropType }); + onDropToDimension({ source, target, dropType }); }, - [setNextFocusedButtonId, onDimensionDrop] + [setNextFocusedButtonId, onDropToDimension] ); const isDimensionPanelOpen = Boolean(activeId); @@ -517,6 +517,7 @@ export function LayerPanel( groupId: group.groupId, filterOperations: group.filterOperations, prioritizedOperation: group.prioritizedOperation, + isMetricDimension: group?.isMetricDimension, indexPatternId: layerDatasource ? layerDatasource.getUsedDataView(layerDatasourceState, layerId) : activeVisualization.getUsedDataView?.( diff --git a/x-pack/plugins/lens/public/state_management/index.ts b/x-pack/plugins/lens/public/state_management/index.ts index 6f170219df744..b426183eebaf2 100644 --- a/x-pack/plugins/lens/public/state_management/index.ts +++ b/x-pack/plugins/lens/public/state_management/index.ts @@ -51,7 +51,7 @@ export const { removeOrClearLayer, cloneLayer, addLayer, - onDimensionDrop, + onDropToDimension, setLayerDefaultDimension, removeDimension, setIsLoadLibraryVisible, @@ -70,15 +70,15 @@ export const makeConfigureStore = ( ...getDefaultMiddleware({ serializableCheck: { ignoredActionPaths: [ + 'payload.activeData', 'payload.dataViews.indexPatterns', 'payload.redirectCallback', 'payload.history', 'payload.newState.dataViews', - 'lens.activeData', - 'payload.source.filterOperations', + `payload.source.filterOperations`, 'payload.target.filterOperations', ], - ignoredPaths: ['lens.dataViews.indexPatterns'], + ignoredPaths: ['lens.dataViews.indexPatterns', 'lens.activeData'], }, }), initMiddleware(storeDeps), diff --git a/x-pack/plugins/lens/public/state_management/lens_slice.ts b/x-pack/plugins/lens/public/state_management/lens_slice.ts index ffc22d68f9e4c..8d24cf00d1d70 100644 --- a/x-pack/plugins/lens/public/state_management/lens_slice.ts +++ b/x-pack/plugins/lens/public/state_management/lens_slice.ts @@ -243,11 +243,11 @@ export const addLayer = createAction<{ extraArg: unknown; ignoreInitialValues?: boolean; }>('lens/addLayer'); -export const onDimensionDrop = createAction<{ +export const onDropToDimension = createAction<{ source: DragDropIdentifier; target: DragDropOperation; dropType: DropType; -}>('lens/onDimensionDrop'); +}>('lens/onDropToDimension'); export const setLayerDefaultDimension = createAction<{ layerId: string; @@ -305,7 +305,7 @@ export const lensActions = { removeLayers, removeOrClearLayer, addLayer, - onDimensionDrop, + onDropToDimension, cloneLayer, setLayerDefaultDimension, updateIndexPatterns, @@ -1105,7 +1105,7 @@ export const makeLensReducer = (storeDeps: LensStoreDeps) => { state.datasourceStates[state.activeDatasourceId].state = syncedDatasourceState; state.visualization.state = syncedVisualizationState; }, - [onDimensionDrop.type]: ( + [onDropToDimension.type]: ( state, { payload: { source, target, dropType }, @@ -1162,7 +1162,6 @@ export const makeLensReducer = (storeDeps: LensStoreDeps) => { } activeVisualization.onDrop = activeVisualization.onDrop?.bind(activeVisualization); - const newVisualizationState = (activeVisualization.onDrop || onDropForVisualization)?.( { prevState: state.visualization.state, @@ -1185,6 +1184,7 @@ export const makeLensReducer = (storeDeps: LensStoreDeps) => { state.datasourceStates[layerDatasourceId].state = syncedDatasourceState; state.visualization.state = syncedVisualizationState; } + state.stagedPreview = undefined; }, [setLayerDefaultDimension.type]: ( state, diff --git a/x-pack/plugins/lens/public/trigger_actions/open_lens_config/helpers.scss b/x-pack/plugins/lens/public/trigger_actions/open_lens_config/helpers.scss new file mode 100644 index 0000000000000..49a6908292e00 --- /dev/null +++ b/x-pack/plugins/lens/public/trigger_actions/open_lens_config/helpers.scss @@ -0,0 +1,12 @@ +// styles needed to display extra drop targets that are outside of the config panel main area while also allowing to scroll vertically +.lnsConfigPanel__overlay { + clip-path: polygon(-100% 0, 100% 0, 100% 100%, -100% 100%); + .kbnOverlayMountWrapper { + padding-left: $euiFormMaxWidth; + margin-left: -$euiFormMaxWidth; + pointer-events: none; + > * { + pointer-events: auto; + } + } +} \ No newline at end of file diff --git a/x-pack/plugins/lens/public/trigger_actions/open_lens_config/helpers.ts b/x-pack/plugins/lens/public/trigger_actions/open_lens_config/helpers.ts index 985424d18e1c2..1decd82c4ed19 100644 --- a/x-pack/plugins/lens/public/trigger_actions/open_lens_config/helpers.ts +++ b/x-pack/plugins/lens/public/trigger_actions/open_lens_config/helpers.ts @@ -5,6 +5,7 @@ * 2.0. */ import React from 'react'; +import './helpers.scss'; import type { IEmbeddable } from '@kbn/embeddable-plugin/public'; import type { OverlayRef, OverlayStart, ThemeServiceStart } from '@kbn/core/public'; import { toMountPoint } from '@kbn/kibana-react-plugin/public'; @@ -54,6 +55,7 @@ export async function executeAction({ embeddable, startDependencies, overlays, t } ), { + className: 'lnsConfigPanel__overlay', size: 's', 'data-test-subj': 'customizeLens', type: 'push', diff --git a/x-pack/plugins/lens/public/types.ts b/x-pack/plugins/lens/public/types.ts index efba612203c92..6287da06fb4d4 100644 --- a/x-pack/plugins/lens/public/types.ts +++ b/x-pack/plugins/lens/public/types.ts @@ -344,7 +344,7 @@ export interface Datasource { prevState: T; layerId: string; columnId: string; - indexPatterns: IndexPatternMap; + indexPatterns?: IndexPatternMap; }) => T; initializeDimension?: ( state: T, diff --git a/x-pack/plugins/lens/public/utils.ts b/x-pack/plugins/lens/public/utils.ts index a04eb157ae6de..446d7aac37e66 100644 --- a/x-pack/plugins/lens/public/utils.ts +++ b/x-pack/plugins/lens/public/utils.ts @@ -390,7 +390,7 @@ export function nonNullable(v: T): v is NonNullable { return v != null; } -export function reorderElements(items: string[], targetId: string, sourceId: string) { +export function reorderElements(items: S[], targetId: S, sourceId: S) { const result = items.filter((c) => c !== sourceId); const targetIndex = items.findIndex((c) => c === sourceId); const sourceIndex = items.findIndex((c) => c === targetId); diff --git a/x-pack/plugins/lens/public/visualizations/partition/visualization.tsx b/x-pack/plugins/lens/public/visualizations/partition/visualization.tsx index 371c9aca63452..6b4767b9177e5 100644 --- a/x-pack/plugins/lens/public/visualizations/partition/visualization.tsx +++ b/x-pack/plugins/lens/public/visualizations/partition/visualization.tsx @@ -372,6 +372,7 @@ export const getPieVisualization = ({ accessors, supportsMoreColumns: layer.metrics.length === 0 || Boolean(layer.allowMultipleMetrics), filterOperations: numberMetricOperations, + isMetricDimension: true, requiredMinDimensionCount: 1, dimensionsTooMany: layer.allowMultipleMetrics ? 0 : layer.metrics.length - 1, dataTestSubj: 'lnsPie_sizeByDimensionPanel', diff --git a/x-pack/plugins/observability_onboarding/public/application/app.tsx b/x-pack/plugins/observability_onboarding/public/application/app.tsx index 38686c08984f4..0646e0d800924 100644 --- a/x-pack/plugins/observability_onboarding/public/application/app.tsx +++ b/x-pack/plugins/observability_onboarding/public/application/app.tsx @@ -27,6 +27,7 @@ import ReactDOM from 'react-dom'; import { RouteComponentProps, RouteProps } from 'react-router-dom'; import { ConfigSchema } from '..'; import { customLogsRoutes } from '../components/app/custom_logs/wizard'; +import { systemLogsRoutes } from '../components/app/system_logs'; import { ObservabilityOnboardingHeaderActionMenu } from '../components/app/header_action_menu'; import { ObservabilityOnboardingPluginSetupDeps, @@ -34,6 +35,7 @@ import { } from '../plugin'; import { baseRoutes, routes } from '../routes'; import { CustomLogs } from '../routes/templates/custom_logs'; +import { SystemLogs } from '../routes/templates/system_logs'; export type BreadcrumbTitle< T extends { [K in keyof T]?: string | undefined } = {} @@ -59,6 +61,7 @@ export const breadcrumbsApp = { function App() { const customLogRoutesPaths = Object.keys(customLogsRoutes); + const systemLogRoutesPaths = Object.keys(systemLogsRoutes); return ( <> @@ -94,6 +97,26 @@ function App() { })} + + + {systemLogRoutesPaths.map((key) => { + const path = key as keyof typeof routes; + const { handler, exact } = routes[path]; + const Wrapper = () => { + return handler(); + }; + + return ( + + ); + })} + + ); diff --git a/x-pack/plugins/observability_onboarding/public/assets/standalone_agent_setup.sh b/x-pack/plugins/observability_onboarding/public/assets/standalone_agent_setup.sh index 1153b933c7b1a..cf0ed05d84462 100755 --- a/x-pack/plugins/observability_onboarding/public/assets/standalone_agent_setup.sh +++ b/x-pack/plugins/observability_onboarding/public/assets/standalone_agent_setup.sh @@ -55,7 +55,7 @@ updateStepProgress() { local STATUS="$2" # "incomplete" | "complete" | "disabled" | "loading" | "warning" | "danger" | "current" local MESSAGE=${3:-} curl --request POST \ - --url "${API_ENDPOINT}/custom_logs/${ONBOARDING_ID}/step/${STEPNAME}" \ + --url "${API_ENDPOINT}/flow/${ONBOARDING_ID}/step/${STEPNAME}" \ --header "Authorization: ApiKey ${API_KEY_ENCODED}" \ --header "Content-Type: application/json" \ --header "kbn-xsrf: true" \ diff --git a/x-pack/plugins/observability_onboarding/public/components/app/custom_logs/wizard/api_key_banner.tsx b/x-pack/plugins/observability_onboarding/public/components/app/custom_logs/wizard/api_key_banner.tsx index 2254105f979ff..57a7ba7b4cab1 100644 --- a/x-pack/plugins/observability_onboarding/public/components/app/custom_logs/wizard/api_key_banner.tsx +++ b/x-pack/plugins/observability_onboarding/public/components/app/custom_logs/wizard/api_key_banner.tsx @@ -21,7 +21,7 @@ import React from 'react'; import { APIReturnType } from '../../../../services/rest/create_call_api'; type ApiKeyPayload = - APIReturnType<'POST /internal/observability_onboarding/custom_logs/save'>; + APIReturnType<'POST /internal/observability_onboarding/logs/flow'>; export type HasPrivileges = boolean; diff --git a/x-pack/plugins/observability_onboarding/public/components/app/custom_logs/wizard/install_elastic_agent.tsx b/x-pack/plugins/observability_onboarding/public/components/app/custom_logs/wizard/install_elastic_agent.tsx index e29a2d84036e9..7fc7c12fa47d4 100644 --- a/x-pack/plugins/observability_onboarding/public/components/app/custom_logs/wizard/install_elastic_agent.tsx +++ b/x-pack/plugins/observability_onboarding/public/components/app/custom_logs/wizard/install_elastic_agent.tsx @@ -60,7 +60,7 @@ export function InstallElasticAgent() { (callApi) => { if (!hasAlreadySavedFlow(getState())) { return callApi( - 'GET /internal/observability_onboarding/custom_logs/privileges' + 'GET /internal/observability_onboarding/logs/setup/privileges' ); } }, @@ -69,7 +69,7 @@ export function InstallElasticAgent() { const { data: setup } = useFetcher((callApi) => { return callApi( - 'GET /internal/observability_onboarding/custom_logs/install_shipper_setup' + 'GET /internal/observability_onboarding/logs/setup/environment' ); }, []); @@ -87,23 +87,20 @@ export function InstallElasticAgent() { logFilePaths, } = getState(); if (!hasAlreadySavedFlow(getState()) && monitoringRole?.hasPrivileges) { - return callApi( - 'POST /internal/observability_onboarding/custom_logs/save', - { - params: { - body: { - name: datasetName, - state: { - datasetName, - serviceName, - namespace, - customConfigurations, - logFilePaths, - }, + return callApi('POST /internal/observability_onboarding/logs/flow', { + params: { + body: { + name: datasetName, + state: { + datasetName, + serviceName, + namespace, + customConfigurations, + logFilePaths, }, }, - } - ); + }, + }); } }, [monitoringRole?.hasPrivileges] @@ -120,7 +117,7 @@ export function InstallElasticAgent() { } = getState(); if (onboardingId) { return callApi( - 'PUT /internal/observability_onboarding/custom_logs/{onboardingId}/save', + 'PUT /internal/observability_onboarding/flow/{onboardingId}', { params: { path: { onboardingId }, @@ -173,7 +170,7 @@ export function InstallElasticAgent() { (callApi) => { if (onboardingId) { return callApi( - 'GET /internal/observability_onboarding/custom_logs/{onboardingId}/progress', + 'GET /internal/observability_onboarding/flow/{onboardingId}/progress', { params: { path: { onboardingId } } } ); } diff --git a/x-pack/plugins/observability_onboarding/public/components/app/home/index.tsx b/x-pack/plugins/observability_onboarding/public/components/app/home/index.tsx index bd15c9b6159e0..27a44e94f07b6 100644 --- a/x-pack/plugins/observability_onboarding/public/components/app/home/index.tsx +++ b/x-pack/plugins/observability_onboarding/public/components/app/home/index.tsx @@ -56,7 +56,9 @@ export function Home() { const { navigateToKibanaUrl } = useKibanaNavigation(); - const handleClickSystemLogs = () => {}; + const handleClickSystemLogs = () => { + navigateToKibanaUrl('/app/observabilityOnboarding/systemLogs'); + }; const handleClickCustomLogs = () => { navigateToKibanaUrl('/app/observabilityOnboarding/customLogs'); }; diff --git a/x-pack/plugins/observability_onboarding/public/components/app/system_logs/index.tsx b/x-pack/plugins/observability_onboarding/public/components/app/system_logs/index.tsx new file mode 100644 index 0000000000000..b5c866eec0e6e --- /dev/null +++ b/x-pack/plugins/observability_onboarding/public/components/app/system_logs/index.tsx @@ -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 { i18n } from '@kbn/i18n'; +import { + createWizardContext, + Step, +} from '../../../context/create_wizard_context'; +import { InstallElasticAgent } from './install_elastic_agent'; + +interface WizardState { + elasticAgentPlatform: 'linux-tar' | 'macos' | 'windows'; + autoDownloadConfig: boolean; + apiKeyEncoded: string; + onboardingId: string; +} + +const initialState: WizardState = { + elasticAgentPlatform: 'linux-tar', + autoDownloadConfig: false, + apiKeyEncoded: '', + onboardingId: '', +}; + +export type SystemLogsSteps = 'installElasticAgent'; + +const steps: Record = { + installElasticAgent: { + component: InstallElasticAgent, + title: i18n.translate( + 'xpack.observability_onboarding.systemLogs.installShipper.title', + { defaultMessage: 'Install shipper to collect system logs' } + ), + }, +}; + +const { + Provider, + useWizard, + routes: systemLogsRoutes, +} = createWizardContext({ + initialState, + initialStep: 'installElasticAgent', + steps, + basePath: '/systemLogs', +}); + +export { Provider, useWizard, systemLogsRoutes }; diff --git a/x-pack/plugins/observability_onboarding/public/components/app/system_logs/install_elastic_agent.tsx b/x-pack/plugins/observability_onboarding/public/components/app/system_logs/install_elastic_agent.tsx new file mode 100644 index 0000000000000..2120686c0f132 --- /dev/null +++ b/x-pack/plugins/observability_onboarding/public/components/app/system_logs/install_elastic_agent.tsx @@ -0,0 +1,319 @@ +/* + * 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 { + EuiButton, + EuiFlexGroup, + EuiFlexItem, + EuiSpacer, + EuiText, +} from '@elastic/eui'; +import { i18n } from '@kbn/i18n'; +import { default as React, useCallback, useEffect, useState } from 'react'; +import { useWizard } from '.'; +import { FETCH_STATUS, useFetcher } from '../../../hooks/use_fetcher'; +import { useKibanaNavigation } from '../../../hooks/use_kibana_navigation'; +import { + ElasticAgentPlatform, + getElasticAgentSetupCommand, +} from '../../shared/get_elastic_agent_setup_command'; +import { + InstallElasticAgentSteps, + ProgressStepId, + EuiStepStatus, +} from '../../shared/install_elastic_agent_steps'; +import { + StepPanel, + StepPanelContent, + StepPanelFooter, +} from '../../shared/step_panel'; +import { ApiKeyBanner } from '../custom_logs/wizard/api_key_banner'; + +export function InstallElasticAgent() { + const { navigateToKibanaUrl } = useKibanaNavigation(); + const { getState, setState } = useWizard(); + const wizardState = getState(); + const [elasticAgentPlatform, setElasticAgentPlatform] = + useState('linux-tar'); + + const datasetName = 'elastic-agent'; + const namespace = 'default'; + + function onBack() { + navigateToKibanaUrl('/app/observabilityOnboarding'); + } + function onContinue() { + navigateToKibanaUrl('/app/logs/stream'); + } + + function onAutoDownloadConfig() { + setState((state) => ({ + ...state, + autoDownloadConfig: !state.autoDownloadConfig, + })); + } + + const { data: monitoringRole, status: monitoringRoleStatus } = useFetcher( + (callApi) => { + return callApi( + 'GET /internal/observability_onboarding/custom_logs/privileges' + ); + }, + [] + ); + + const { data: setup } = useFetcher((callApi) => { + return callApi( + 'GET /internal/observability_onboarding/custom_logs/install_shipper_setup' + ); + }, []); + + const { + data: installShipperSetup, + status: installShipperSetupStatus, + error, + } = useFetcher( + (callApi) => { + if (monitoringRole?.hasPrivileges) { + return callApi( + 'POST /internal/observability_onboarding/custom_logs/save', + { + params: { + body: { + name: datasetName, + state: { + datasetName, + namespace, + }, + }, + }, + } + ); + } + }, + [monitoringRole?.hasPrivileges] + ); + + const { status: saveOnboardingStateDataStatus } = useFetcher((callApi) => { + const { onboardingId } = getState(); + if (onboardingId) { + return callApi( + 'PUT /internal/observability_onboarding/custom_logs/{onboardingId}/save', + { + params: { + path: { onboardingId }, + body: { + state: { + datasetName, + namespace, + }, + }, + }, + } + ); + } + }, []); + + const { apiKeyEncoded, onboardingId } = installShipperSetup ?? getState(); + + const { data: yamlConfig = '', status: yamlConfigStatus } = useFetcher( + (callApi) => { + if (apiKeyEncoded && onboardingId) { + return callApi( + 'GET /internal/observability_onboarding/elastic_agent/config', + { + headers: { authorization: `ApiKey ${apiKeyEncoded}` }, + params: { query: { onboardingId } }, + } + ); + } + }, + [ + apiKeyEncoded, + onboardingId, + saveOnboardingStateDataStatus === FETCH_STATUS.SUCCESS, + ] + ); + + useEffect(() => { + setState((state) => ({ ...state, onboardingId, apiKeyEncoded })); + // eslint-disable-next-line react-hooks/exhaustive-deps + }, [onboardingId, apiKeyEncoded]); + + const { + data: progressData, + status: progressStatus, + refetch: refetchProgress, + } = useFetcher( + (callApi) => { + if (onboardingId) { + return callApi( + 'GET /internal/observability_onboarding/custom_logs/{onboardingId}/progress', + { params: { path: { onboardingId } } } + ); + } + }, + [onboardingId] + ); + + const progressSucceded = progressStatus === FETCH_STATUS.SUCCESS; + + useEffect(() => { + if (progressSucceded) { + setTimeout(() => { + refetchProgress(); + }, 2000); + } + }, [progressSucceded, refetchProgress]); + + const getCheckLogsStep = useCallback(() => { + const progress = progressData?.progress; + if (progress) { + const stepStatus = progress?.['logs-ingest']?.status as EuiStepStatus; + const title = + stepStatus === 'loading' + ? CHECK_LOGS_LABELS.loading + : stepStatus === 'complete' + ? CHECK_LOGS_LABELS.completed + : CHECK_LOGS_LABELS.incomplete; + return { title, status: stepStatus }; + } + return { + title: CHECK_LOGS_LABELS.incomplete, + status: 'incomplete' as const, + }; + }, [progressData?.progress]); + + const isInstallStarted = progressData?.progress['ea-download'] !== undefined; + const isInstallCompleted = + progressData?.progress?.['ea-status']?.status === 'complete'; + const autoDownloadConfigStatus = progressData?.progress?.['ea-config'] + ?.status as EuiStepStatus; + + return ( + + {i18n.translate( + 'xpack.observability_onboarding.systemLogs.back', + { defaultMessage: 'Back' } + )} + , + + + + {i18n.translate( + 'xpack.observability_onboarding.steps.exploreLogs', + { defaultMessage: 'Explore logs' } + )} + + + , + ]} + /> + } + > + + +

+ {i18n.translate( + 'xpack.observability_onboarding.systemLogs.installElasticAgent.description', + { + defaultMessage: + 'To collect the data from your system and stream it to Elastic, you first need to install a shipping tool on the machine generating the logs. In this case, the shipper is an Agent developed by Elastic.', + } + )} +

+
+ + {apiKeyEncoded && onboardingId ? ( + + ) : ( + monitoringRoleStatus !== FETCH_STATUS.NOT_INITIATED && + monitoringRoleStatus !== FETCH_STATUS.LOADING && ( + + ) + )} + + setElasticAgentPlatform(id)} + selectedPlatform={elasticAgentPlatform} + installAgentCommand={getElasticAgentSetupCommand({ + elasticAgentPlatform, + apiKeyEncoded, + apiEndpoint: setup?.apiEndpoint, + scriptDownloadUrl: setup?.scriptDownloadUrl, + elasticAgentVersion: setup?.elasticAgentVersion, + autoDownloadConfig: wizardState.autoDownloadConfig, + onboardingId, + })} + autoDownloadConfig={wizardState.autoDownloadConfig} + onToggleAutoDownloadConfig={onAutoDownloadConfig} + installAgentStatus={ + installShipperSetupStatus === FETCH_STATUS.LOADING + ? 'loading' + : isInstallCompleted + ? 'complete' + : 'current' + } + showInstallProgressSteps={isInstallStarted} + installProgressSteps={ + (progressData?.progress ?? {}) as Partial< + Record< + ProgressStepId, + { status: EuiStepStatus; message?: string } + > + > + } + configureAgentStatus={ + yamlConfigStatus === FETCH_STATUS.LOADING + ? 'loading' + : autoDownloadConfigStatus + } + configureAgentYaml={yamlConfig} + appendedSteps={[getCheckLogsStep()]} + /> +
+
+ ); +} + +const CHECK_LOGS_LABELS = { + incomplete: i18n.translate( + 'xpack.observability_onboarding.systemLogs.installElasticAgent.progress.logsIngest.incompleteTitle', + { defaultMessage: 'Ship logs to Elastic Observability' } + ), + loading: i18n.translate( + 'xpack.observability_onboarding.systemLogs.installElasticAgent.progress.logsIngest.loadingTitle', + { defaultMessage: 'Waiting for logs to be shipped...' } + ), + completed: i18n.translate( + 'xpack.observability_onboarding.systemLogs.installElasticAgent.progress.logsIngest.completedTitle', + { defaultMessage: 'Logs are being shipped!' } + ), +}; diff --git a/x-pack/plugins/observability_onboarding/public/routes/index.tsx b/x-pack/plugins/observability_onboarding/public/routes/index.tsx index 0ad61cce116f1..66a99343be2b2 100644 --- a/x-pack/plugins/observability_onboarding/public/routes/index.tsx +++ b/x-pack/plugins/observability_onboarding/public/routes/index.tsx @@ -9,6 +9,7 @@ import * as t from 'io-ts'; import React from 'react'; import { Redirect } from 'react-router-dom'; import { customLogsRoutes } from '../components/app/custom_logs/wizard'; +import { systemLogsRoutes } from '../components/app/system_logs'; import { Home } from '../components/app/home'; export type RouteParams = DecodeParams< @@ -42,4 +43,5 @@ export const baseRoutes = { export const routes = { ...baseRoutes, ...customLogsRoutes, + ...systemLogsRoutes, }; diff --git a/x-pack/plugins/observability_onboarding/public/routes/templates/system_logs.tsx b/x-pack/plugins/observability_onboarding/public/routes/templates/system_logs.tsx new file mode 100644 index 0000000000000..7881914d053d8 --- /dev/null +++ b/x-pack/plugins/observability_onboarding/public/routes/templates/system_logs.tsx @@ -0,0 +1,54 @@ +/* + * 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 { EuiFlexGroup, EuiFlexItem, EuiSpacer, EuiTitle } from '@elastic/eui'; +import { i18n } from '@kbn/i18n'; +import { useBreadcrumbs } from '@kbn/observability-shared-plugin/public'; +import React from 'react'; +import { breadcrumbsApp } from '../../application/app'; +import { Provider as WizardProvider } from '../../components/app/system_logs'; + +interface Props { + children: React.ReactNode; +} + +export function SystemLogs({ children }: Props) { + useBreadcrumbs( + [ + { + text: i18n.translate( + 'xpack.observability_onboarding.breadcrumbs.systemLogs', + { defaultMessage: 'System logs' } + ), + }, + ], + breadcrumbsApp + ); + return ( + + + + + +

+ {i18n.translate( + 'xpack.observability_onboarding.title.collectSystemLogs', + { defaultMessage: 'Install shipper to collect system logs' } + )} +

+
+
+ + {children} + +
+
+ ); +} diff --git a/x-pack/plugins/observability_onboarding/server/routes/custom_logs/get_fallback_urls.ts b/x-pack/plugins/observability_onboarding/server/lib/get_fallback_urls.ts similarity index 90% rename from x-pack/plugins/observability_onboarding/server/routes/custom_logs/get_fallback_urls.ts rename to x-pack/plugins/observability_onboarding/server/lib/get_fallback_urls.ts index 06e560315d5c3..3a8963f9d2bbc 100644 --- a/x-pack/plugins/observability_onboarding/server/routes/custom_logs/get_fallback_urls.ts +++ b/x-pack/plugins/observability_onboarding/server/lib/get_fallback_urls.ts @@ -6,7 +6,7 @@ */ import { CoreStart } from '@kbn/core/server'; -import { EsLegacyConfigService } from '../../services/es_legacy_config_service'; +import { EsLegacyConfigService } from '../services/es_legacy_config_service'; export function getFallbackKibanaUrl({ http }: CoreStart) { const basePath = http.basePath; diff --git a/x-pack/plugins/observability_onboarding/server/routes/custom_logs/get_observability_onboarding_state.ts b/x-pack/plugins/observability_onboarding/server/lib/state/get_observability_onboarding_flow.ts similarity index 82% rename from x-pack/plugins/observability_onboarding/server/routes/custom_logs/get_observability_onboarding_state.ts rename to x-pack/plugins/observability_onboarding/server/lib/state/get_observability_onboarding_flow.ts index fd0c3edfb611b..70232fffe7794 100644 --- a/x-pack/plugins/observability_onboarding/server/routes/custom_logs/get_observability_onboarding_state.ts +++ b/x-pack/plugins/observability_onboarding/server/lib/state/get_observability_onboarding_flow.ts @@ -7,20 +7,20 @@ import { SavedObjectsClientContract } from '@kbn/core/server'; import { + ObservabilityOnboardingFlow, OBSERVABILITY_ONBOARDING_STATE_SAVED_OBJECT_TYPE, - ObservabilityOnboardingState, - SavedObservabilityOnboardingState, + SavedObservabilityOnboardingFlow, } from '../../saved_objects/observability_onboarding_status'; -export async function getObservabilityOnboardingState({ +export async function getObservabilityOnboardingFlow({ savedObjectsClient, savedObjectId, }: { savedObjectsClient: SavedObjectsClientContract; savedObjectId: string; -}): Promise { +}): Promise { try { - const result = await savedObjectsClient.get( + const result = await savedObjectsClient.get( OBSERVABILITY_ONBOARDING_STATE_SAVED_OBJECT_TYPE, savedObjectId ); diff --git a/x-pack/plugins/osquery/common/schemas/routes/live_query/index.ts b/x-pack/plugins/observability_onboarding/server/lib/state/index.ts similarity index 70% rename from x-pack/plugins/osquery/common/schemas/routes/live_query/index.ts rename to x-pack/plugins/observability_onboarding/server/lib/state/index.ts index 0438204e6c86e..4308f5f9b1239 100644 --- a/x-pack/plugins/osquery/common/schemas/routes/live_query/index.ts +++ b/x-pack/plugins/observability_onboarding/server/lib/state/index.ts @@ -5,4 +5,5 @@ * 2.0. */ -export * from './create_live_query_request_body_schema'; +export * from './get_observability_onboarding_flow'; +export * from './save_observability_onboarding_flow'; diff --git a/x-pack/plugins/observability_onboarding/server/routes/custom_logs/save_observability_onboarding_state.ts b/x-pack/plugins/observability_onboarding/server/lib/state/save_observability_onboarding_flow.ts similarity index 78% rename from x-pack/plugins/observability_onboarding/server/routes/custom_logs/save_observability_onboarding_state.ts rename to x-pack/plugins/observability_onboarding/server/lib/state/save_observability_onboarding_flow.ts index ca18c18e18f61..13eb2e871d2a7 100644 --- a/x-pack/plugins/observability_onboarding/server/routes/custom_logs/save_observability_onboarding_state.ts +++ b/x-pack/plugins/observability_onboarding/server/lib/state/save_observability_onboarding_flow.ts @@ -8,35 +8,36 @@ import { SavedObjectsClientContract, SavedObject } from '@kbn/core/server'; import { OBSERVABILITY_ONBOARDING_STATE_SAVED_OBJECT_TYPE, - ObservabilityOnboardingState, - SavedObservabilityOnboardingState, + ObservabilityOnboardingFlow, + SavedObservabilityOnboardingFlow, } from '../../saved_objects/observability_onboarding_status'; interface Options { savedObjectsClient: SavedObjectsClientContract; - observabilityOnboardingState: ObservabilityOnboardingState; + observabilityOnboardingState: ObservabilityOnboardingFlow; savedObjectId?: string; } -export async function saveObservabilityOnboardingState({ +export async function saveObservabilityOnboardingFlow({ savedObjectsClient, observabilityOnboardingState, savedObjectId, -}: Options): Promise { +}: Options): Promise { let savedObject: Omit< - SavedObject, + SavedObject, 'attributes' | 'references' >; if (savedObjectId) { - savedObject = await savedObjectsClient.update( + savedObject = await savedObjectsClient.update( OBSERVABILITY_ONBOARDING_STATE_SAVED_OBJECT_TYPE, savedObjectId, { + type: observabilityOnboardingState.type, state: observabilityOnboardingState.state, progress: { ...observabilityOnboardingState.progress }, } ); } else { - savedObject = await savedObjectsClient.create( + savedObject = await savedObjectsClient.create( OBSERVABILITY_ONBOARDING_STATE_SAVED_OBJECT_TYPE, observabilityOnboardingState ); diff --git a/x-pack/plugins/observability_onboarding/server/plugin.ts b/x-pack/plugins/observability_onboarding/server/plugin.ts index 9dc78fea2c6d5..6ed20935398ab 100644 --- a/x-pack/plugins/observability_onboarding/server/plugin.ts +++ b/x-pack/plugins/observability_onboarding/server/plugin.ts @@ -23,7 +23,7 @@ import { ObservabilityOnboardingPluginStartDependencies, } from './types'; import { ObservabilityOnboardingConfig } from '.'; -import { observabilityOnboardingState } from './saved_objects/observability_onboarding_status'; +import { observabilityOnboardingFlow } from './saved_objects/observability_onboarding_status'; import { EsLegacyConfigService } from './services/es_legacy_config_service'; export class ObservabilityOnboardingPlugin @@ -52,7 +52,7 @@ export class ObservabilityOnboardingPlugin this.logger.debug('observability_onboarding: Setup'); this.esLegacyConfigService.setup(core.elasticsearch.legacy.config$); - core.savedObjects.registerType(observabilityOnboardingState); + core.savedObjects.registerType(observabilityOnboardingFlow); const resourcePlugins = mapValues(plugins, (value, key) => { return { diff --git a/x-pack/plugins/observability_onboarding/server/routes/custom_logs/find_latest_observability_onboarding_state.ts b/x-pack/plugins/observability_onboarding/server/routes/custom_logs/find_latest_observability_onboarding_state.ts deleted file mode 100644 index fa379fc089c65..0000000000000 --- a/x-pack/plugins/observability_onboarding/server/routes/custom_logs/find_latest_observability_onboarding_state.ts +++ /dev/null @@ -1,36 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the Elastic License - * 2.0; you may not use this file except in compliance with the Elastic License - * 2.0. - */ - -import { SavedObjectsClientContract } from '@kbn/core/server'; -import { - OBSERVABILITY_ONBOARDING_STATE_SAVED_OBJECT_TYPE, - ObservabilityOnboardingState, - SavedObservabilityOnboardingState, -} from '../../saved_objects/observability_onboarding_status'; - -export async function findLatestObservabilityOnboardingState({ - savedObjectsClient, -}: { - savedObjectsClient: SavedObjectsClientContract; -}): Promise { - const result = await savedObjectsClient.find({ - type: OBSERVABILITY_ONBOARDING_STATE_SAVED_OBJECT_TYPE, - page: 1, - perPage: 1, - sortField: `updated_at`, - sortOrder: 'desc', - }); - if (result.total === 0) { - return undefined; - } - const { id, updated_at: updatedAt, attributes } = result.saved_objects[0]; - return { - id, - updatedAt: updatedAt ? Date.parse(updatedAt) : 0, - ...attributes, - }; -} diff --git a/x-pack/plugins/observability_onboarding/server/routes/elastic_agent/route.ts b/x-pack/plugins/observability_onboarding/server/routes/elastic_agent/route.ts index 1d243845d580f..fe5549b7b8f16 100644 --- a/x-pack/plugins/observability_onboarding/server/routes/elastic_agent/route.ts +++ b/x-pack/plugins/observability_onboarding/server/routes/elastic_agent/route.ts @@ -8,9 +8,9 @@ import * as t from 'io-ts'; import { getAuthenticationAPIKey } from '../../lib/get_authentication_api_key'; import { createObservabilityOnboardingServerRoute } from '../create_observability_onboarding_server_route'; -import { getObservabilityOnboardingState } from '../custom_logs/get_observability_onboarding_state'; import { generateYml } from './generate_yml'; -import { getFallbackESUrl } from '../custom_logs/get_fallback_urls'; +import { getFallbackESUrl } from '../../lib/get_fallback_urls'; +import { getObservabilityOnboardingFlow } from '../../lib/state'; const generateConfig = createObservabilityOnboardingServerRoute({ endpoint: 'GET /internal/observability_onboarding/elastic_agent/config', @@ -38,22 +38,22 @@ const generateConfig = createObservabilityOnboardingServerRoute({ ? [plugins.cloud?.setup?.elasticsearchUrl] : await getFallbackESUrl(esLegacyConfigService); - const savedState = await getObservabilityOnboardingState({ + const savedState = await getObservabilityOnboardingFlow({ savedObjectsClient, savedObjectId: onboardingId, }); const yaml = generateYml({ - datasetName: savedState?.state.datasetName, - customConfigurations: savedState?.state.customConfigurations, - logFilePaths: savedState?.state.logFilePaths, - namespace: savedState?.state.namespace, + datasetName: savedState?.state?.datasetName, + customConfigurations: savedState?.state?.customConfigurations, + logFilePaths: savedState?.state?.logFilePaths, + namespace: savedState?.state?.namespace, apiKey: authApiKey ? `${authApiKey?.apiKeyId}:${authApiKey?.apiKey}` : '$API_KEY', esHost: elasticsearchUrl, logfileId: `custom-logs-${Date.now()}`, - serviceName: savedState?.state.serviceName, + serviceName: savedState?.state?.serviceName, }); return yaml; diff --git a/x-pack/plugins/observability_onboarding/server/routes/custom_logs/get_has_logs.ts b/x-pack/plugins/observability_onboarding/server/routes/flow/get_has_logs.ts similarity index 100% rename from x-pack/plugins/observability_onboarding/server/routes/custom_logs/get_has_logs.ts rename to x-pack/plugins/observability_onboarding/server/routes/flow/get_has_logs.ts diff --git a/x-pack/plugins/observability_onboarding/server/routes/custom_logs/route.ts b/x-pack/plugins/observability_onboarding/server/routes/flow/route.ts similarity index 51% rename from x-pack/plugins/observability_onboarding/server/routes/custom_logs/route.ts rename to x-pack/plugins/observability_onboarding/server/routes/flow/route.ts index b71292b94aa93..2776af522388f 100644 --- a/x-pack/plugins/observability_onboarding/server/routes/custom_logs/route.ts +++ b/x-pack/plugins/observability_onboarding/server/routes/flow/route.ts @@ -7,113 +7,22 @@ import Boom from '@hapi/boom'; import * as t from 'io-ts'; -import { ObservabilityOnboardingState } from '../../saved_objects/observability_onboarding_status'; +import { + getObservabilityOnboardingFlow, + saveObservabilityOnboardingFlow, +} from '../../lib/state'; +import { ObservabilityOnboardingFlow } from '../../saved_objects/observability_onboarding_status'; import { createObservabilityOnboardingServerRoute } from '../create_observability_onboarding_server_route'; -import { createShipperApiKey } from './api_key/create_shipper_api_key'; -import { hasLogMonitoringPrivileges } from './api_key/has_log_monitoring_privileges'; -import { getFallbackKibanaUrl } from './get_fallback_urls'; import { getHasLogs } from './get_has_logs'; -import { getObservabilityOnboardingState } from './get_observability_onboarding_state'; -import { saveObservabilityOnboardingState } from './save_observability_onboarding_state'; -const logMonitoringPrivilegesRoute = createObservabilityOnboardingServerRoute({ - endpoint: 'GET /internal/observability_onboarding/custom_logs/privileges', - options: { tags: [] }, - - handler: async (resources): Promise<{ hasPrivileges: boolean }> => { - const { context } = resources; - - const { - elasticsearch: { client }, - } = await context.core; - - const hasPrivileges = await hasLogMonitoringPrivileges( - client.asCurrentUser - ); - - return { hasPrivileges }; - }, -}); - -const installShipperSetupRoute = createObservabilityOnboardingServerRoute({ - endpoint: - 'GET /internal/observability_onboarding/custom_logs/install_shipper_setup', - options: { tags: [] }, - async handler(resources): Promise<{ - apiEndpoint: string; - scriptDownloadUrl: string; - elasticAgentVersion: string; - }> { - const { core, plugins, kibanaVersion } = resources; - const coreStart = await core.start(); - - const kibanaUrl = - core.setup.http.basePath.publicBaseUrl ?? // priority given to server.publicBaseUrl - plugins.cloud?.setup?.kibanaUrl ?? // then cloud id - getFallbackKibanaUrl(coreStart); // falls back to local network binding - const scriptDownloadUrl = `${kibanaUrl}/plugins/observabilityOnboarding/assets/standalone_agent_setup.sh`; - const apiEndpoint = `${kibanaUrl}/internal/observability_onboarding`; - - return { - apiEndpoint, - scriptDownloadUrl, - elasticAgentVersion: kibanaVersion, - }; - }, -}); - -const createApiKeyRoute = createObservabilityOnboardingServerRoute({ - endpoint: 'POST /internal/observability_onboarding/custom_logs/save', - options: { tags: [] }, - params: t.type({ - body: t.type({ - name: t.string, - state: t.record(t.string, t.unknown), - }), - }), - async handler( - resources - ): Promise<{ apiKeyEncoded: string; onboardingId: string }> { - const { - context, - params: { - body: { name, state }, - }, - core, - request, - } = resources; - const coreStart = await core.start(); - const { - elasticsearch: { client }, - } = await context.core; - const { encoded: apiKeyEncoded } = await createShipperApiKey( - client.asCurrentUser, - name - ); - - const savedObjectsClient = coreStart.savedObjects.getScopedClient(request); - - const { id } = await saveObservabilityOnboardingState({ - savedObjectsClient, - observabilityOnboardingState: { - state: state as ObservabilityOnboardingState['state'], - progress: {}, - }, - }); - - return { apiKeyEncoded, onboardingId: id }; - }, -}); - -const updateOnboardingStateRoute = createObservabilityOnboardingServerRoute({ - endpoint: - 'PUT /internal/observability_onboarding/custom_logs/{onboardingId}/save', +const updateOnboardingFlowRoute = createObservabilityOnboardingServerRoute({ + endpoint: 'PUT /internal/observability_onboarding/flow/{onboardingId}', options: { tags: [] }, params: t.type({ path: t.type({ onboardingId: t.string, }), - body: t.type({ + body: t.partial({ state: t.record(t.string, t.unknown), }), }), @@ -128,18 +37,21 @@ const updateOnboardingStateRoute = createObservabilityOnboardingServerRoute({ } = resources; const coreStart = await core.start(); const savedObjectsClient = coreStart.savedObjects.getScopedClient(request); - const { id } = await saveObservabilityOnboardingState({ + const { id } = await saveObservabilityOnboardingFlow({ savedObjectsClient, savedObjectId: onboardingId, - observabilityOnboardingState: { state } as ObservabilityOnboardingState, + observabilityOnboardingState: { + type: 'logFiles', + state, + progress: {}, + } as ObservabilityOnboardingFlow, }); return { onboardingId: id }; }, }); const stepProgressUpdateRoute = createObservabilityOnboardingServerRoute({ - endpoint: - 'POST /internal/observability_onboarding/custom_logs/{id}/step/{name}', + endpoint: 'POST /internal/observability_onboarding/flow/{id}/step/{name}', options: { tags: [] }, params: t.type({ path: t.type({ @@ -166,7 +78,7 @@ const stepProgressUpdateRoute = createObservabilityOnboardingServerRoute({ coreStart.savedObjects.createInternalRepository(); const savedObservabilityOnboardingState = - await getObservabilityOnboardingState({ + await getObservabilityOnboardingFlow({ savedObjectsClient, savedObjectId: id, }); @@ -183,7 +95,7 @@ const stepProgressUpdateRoute = createObservabilityOnboardingServerRoute({ ...observabilityOnboardingState } = savedObservabilityOnboardingState; - await saveObservabilityOnboardingState({ + await saveObservabilityOnboardingFlow({ savedObjectsClient, savedObjectId, observabilityOnboardingState: { @@ -200,7 +112,7 @@ const stepProgressUpdateRoute = createObservabilityOnboardingServerRoute({ const getProgressRoute = createObservabilityOnboardingServerRoute({ endpoint: - 'GET /internal/observability_onboarding/custom_logs/{onboardingId}/progress', + 'GET /internal/observability_onboarding/flow/{onboardingId}/progress', options: { tags: [] }, params: t.type({ path: t.type({ @@ -220,7 +132,7 @@ const getProgressRoute = createObservabilityOnboardingServerRoute({ const coreStart = await core.start(); const savedObjectsClient = coreStart.savedObjects.getScopedClient(request); const savedObservabilityOnboardingState = - await getObservabilityOnboardingState({ + await getObservabilityOnboardingFlow({ savedObjectsClient, savedObjectId: onboardingId, }); @@ -236,9 +148,11 @@ const getProgressRoute = createObservabilityOnboardingServerRoute({ const esClient = coreStart.elasticsearch.client.asScoped(request).asCurrentUser; - const { - state: { datasetName: dataset, namespace }, - } = savedObservabilityOnboardingState; + const dataset = savedObservabilityOnboardingState.state + ?.datasetName as string; + const namespace = savedObservabilityOnboardingState.state + ?.namespace as string; + if (progress['ea-status']?.status === 'complete') { try { const hasLogs = await getHasLogs({ @@ -262,11 +176,8 @@ const getProgressRoute = createObservabilityOnboardingServerRoute({ }, }); -export const customLogsRouteRepository = { - ...logMonitoringPrivilegesRoute, - ...installShipperSetupRoute, - ...createApiKeyRoute, - ...updateOnboardingStateRoute, +export const flowRouteRepository = { + ...updateOnboardingFlowRoute, ...stepProgressUpdateRoute, ...getProgressRoute, }; diff --git a/x-pack/plugins/observability_onboarding/server/routes/index.ts b/x-pack/plugins/observability_onboarding/server/routes/index.ts index 4833f44a2936c..133ba446d3442 100644 --- a/x-pack/plugins/observability_onboarding/server/routes/index.ts +++ b/x-pack/plugins/observability_onboarding/server/routes/index.ts @@ -8,14 +8,14 @@ import type { EndpointOf, ServerRouteRepository, } from '@kbn/server-route-repository'; -import { statusRouteRepository } from './status/route'; -import { customLogsRouteRepository } from './custom_logs/route'; import { elasticAgentRouteRepository } from './elastic_agent/route'; +import { flowRouteRepository } from './flow/route'; +import { logsOnboardingRouteRepository } from './logs/route'; function getTypedObservabilityOnboardingServerRouteRepository() { const repository = { - ...statusRouteRepository, - ...customLogsRouteRepository, + ...flowRouteRepository, + ...logsOnboardingRouteRepository, ...elasticAgentRouteRepository, }; diff --git a/x-pack/plugins/observability_onboarding/server/routes/custom_logs/api_key/create_shipper_api_key.ts b/x-pack/plugins/observability_onboarding/server/routes/logs/api_key/create_shipper_api_key.ts similarity index 100% rename from x-pack/plugins/observability_onboarding/server/routes/custom_logs/api_key/create_shipper_api_key.ts rename to x-pack/plugins/observability_onboarding/server/routes/logs/api_key/create_shipper_api_key.ts diff --git a/x-pack/plugins/observability_onboarding/server/routes/custom_logs/api_key/has_log_monitoring_privileges.ts b/x-pack/plugins/observability_onboarding/server/routes/logs/api_key/has_log_monitoring_privileges.ts similarity index 100% rename from x-pack/plugins/observability_onboarding/server/routes/custom_logs/api_key/has_log_monitoring_privileges.ts rename to x-pack/plugins/observability_onboarding/server/routes/logs/api_key/has_log_monitoring_privileges.ts diff --git a/x-pack/plugins/observability_onboarding/server/routes/custom_logs/api_key/monitoring_config.ts b/x-pack/plugins/observability_onboarding/server/routes/logs/api_key/monitoring_config.ts similarity index 100% rename from x-pack/plugins/observability_onboarding/server/routes/custom_logs/api_key/monitoring_config.ts rename to x-pack/plugins/observability_onboarding/server/routes/logs/api_key/monitoring_config.ts diff --git a/x-pack/plugins/observability_onboarding/server/routes/logs/route.ts b/x-pack/plugins/observability_onboarding/server/routes/logs/route.ts new file mode 100644 index 0000000000000..4afe189ed7279 --- /dev/null +++ b/x-pack/plugins/observability_onboarding/server/routes/logs/route.ts @@ -0,0 +1,113 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import * as t from 'io-ts'; +import { createObservabilityOnboardingServerRoute } from '../create_observability_onboarding_server_route'; +import { getFallbackKibanaUrl } from '../../lib/get_fallback_urls'; +import { hasLogMonitoringPrivileges } from './api_key/has_log_monitoring_privileges'; +import { saveObservabilityOnboardingFlow } from '../../lib/state'; +import { createShipperApiKey } from './api_key/create_shipper_api_key'; +import { ObservabilityOnboardingFlow } from '../../saved_objects/observability_onboarding_status'; + +const logMonitoringPrivilegesRoute = createObservabilityOnboardingServerRoute({ + endpoint: 'GET /internal/observability_onboarding/logs/setup/privileges', + options: { tags: [] }, + + handler: async (resources): Promise<{ hasPrivileges: boolean }> => { + const { context } = resources; + + const { + elasticsearch: { client }, + } = await context.core; + + const hasPrivileges = await hasLogMonitoringPrivileges( + client.asCurrentUser + ); + + return { hasPrivileges }; + }, +}); + +const installShipperSetupRoute = createObservabilityOnboardingServerRoute({ + endpoint: 'GET /internal/observability_onboarding/logs/setup/environment', + options: { tags: [] }, + async handler(resources): Promise<{ + apiEndpoint: string; + scriptDownloadUrl: string; + elasticAgentVersion: string; + }> { + const { core, plugins, kibanaVersion } = resources; + const coreStart = await core.start(); + + const kibanaUrl = + core.setup.http.basePath.publicBaseUrl ?? // priority given to server.publicBaseUrl + plugins.cloud?.setup?.kibanaUrl ?? // then cloud id + getFallbackKibanaUrl(coreStart); // falls back to local network binding + const scriptDownloadUrl = `${kibanaUrl}/plugins/observabilityOnboarding/assets/standalone_agent_setup.sh`; + const apiEndpoint = `${kibanaUrl}/internal/observability_onboarding`; + + return { + apiEndpoint, + scriptDownloadUrl, + elasticAgentVersion: kibanaVersion, + }; + }, +}); + +const createFlowRoute = createObservabilityOnboardingServerRoute({ + endpoint: 'POST /internal/observability_onboarding/logs/flow', + options: { tags: [] }, + params: t.type({ + body: t.intersection([ + t.type({ + name: t.string, + }), + t.partial({ + state: t.record(t.string, t.unknown), + }), + ]), + }), + async handler( + resources + ): Promise<{ apiKeyEncoded: string; onboardingId: string }> { + const { + context, + params: { + body: { name, state }, + }, + core, + request, + } = resources; + const coreStart = await core.start(); + const { + elasticsearch: { client }, + } = await context.core; + const { encoded: apiKeyEncoded } = await createShipperApiKey( + client.asCurrentUser, + name + ); + + const savedObjectsClient = coreStart.savedObjects.getScopedClient(request); + + const { id } = await saveObservabilityOnboardingFlow({ + savedObjectsClient, + observabilityOnboardingState: { + type: 'logFiles', + state: state as ObservabilityOnboardingFlow['state'], + progress: {}, + }, + }); + + return { apiKeyEncoded, onboardingId: id }; + }, +}); + +export const logsOnboardingRouteRepository = { + ...logMonitoringPrivilegesRoute, + ...installShipperSetupRoute, + ...createFlowRoute, +}; diff --git a/x-pack/plugins/observability_onboarding/server/routes/status/route.ts b/x-pack/plugins/observability_onboarding/server/routes/status/route.ts deleted file mode 100644 index 438bbe7e8b6a5..0000000000000 --- a/x-pack/plugins/observability_onboarding/server/routes/status/route.ts +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the Elastic License - * 2.0; you may not use this file except in compliance with the Elastic License - * 2.0. - */ - -import { createObservabilityOnboardingServerRoute } from '../create_observability_onboarding_server_route'; - -const statusRoute = createObservabilityOnboardingServerRoute({ - endpoint: 'GET /internal/observability_onboarding/get_status', - options: { - tags: [], - }, - async handler(resources): Promise<{ status: 'incomplete' | 'complete' }> { - return { status: 'complete' }; - }, -}); - -export const statusRouteRepository = { - ...statusRoute, -}; diff --git a/x-pack/plugins/observability_onboarding/server/saved_objects/observability_onboarding_status.ts b/x-pack/plugins/observability_onboarding/server/saved_objects/observability_onboarding_status.ts index adc5291f73f72..4c151e29a1b2a 100644 --- a/x-pack/plugins/observability_onboarding/server/saved_objects/observability_onboarding_status.ts +++ b/x-pack/plugins/observability_onboarding/server/saved_objects/observability_onboarding_status.ts @@ -9,15 +9,19 @@ import { SavedObjectsType } from '@kbn/core/server'; export const OBSERVABILITY_ONBOARDING_STATE_SAVED_OBJECT_TYPE = 'observability-onboarding-state'; +export interface LogFilesState { + datasetName: string; + serviceName?: string; + customConfigurations?: string; + logFilePaths: string[]; + namespace: string; +} + +type ObservabilityOnboardingFlowState = LogFilesState | undefined; -export interface ObservabilityOnboardingState { - state: { - datasetName: string; - serviceName?: string; - customConfigurations?: string; - logFilePaths: string[]; - namespace: string; - }; +export interface ObservabilityOnboardingFlow { + type: 'logFiles'; + state: ObservabilityOnboardingFlowState; progress: Record< string, { @@ -27,18 +31,19 @@ export interface ObservabilityOnboardingState { >; } -export interface SavedObservabilityOnboardingState - extends ObservabilityOnboardingState { +export interface SavedObservabilityOnboardingFlow + extends ObservabilityOnboardingFlow { id: string; updatedAt: number; } -export const observabilityOnboardingState: SavedObjectsType = { +export const observabilityOnboardingFlow: SavedObjectsType = { name: OBSERVABILITY_ONBOARDING_STATE_SAVED_OBJECT_TYPE, hidden: false, namespaceType: 'agnostic', mappings: { properties: { + type: { type: 'keyword' }, state: { type: 'object', dynamic: false }, progress: { type: 'object', dynamic: false }, }, diff --git a/x-pack/plugins/observability_onboarding/server/test_helpers/create_observability_onboarding_users/authentication.ts b/x-pack/plugins/observability_onboarding/server/test_helpers/create_observability_onboarding_users/authentication.ts index 300cc029d92ce..95da640fa40ae 100644 --- a/x-pack/plugins/observability_onboarding/server/test_helpers/create_observability_onboarding_users/authentication.ts +++ b/x-pack/plugins/observability_onboarding/server/test_helpers/create_observability_onboarding_users/authentication.ts @@ -5,10 +5,7 @@ * 2.0. */ -import { - cluster, - indices, -} from '../../routes/custom_logs/api_key/monitoring_config'; +import { cluster, indices } from '../../routes/logs/api_key/monitoring_config'; export enum ObservabilityOnboardingUsername { noAccessUser = 'no_access_user', diff --git a/x-pack/plugins/osquery/common/api/asset/get_assets_status_route.ts b/x-pack/plugins/osquery/common/api/asset/get_assets_status_route.ts new file mode 100644 index 0000000000000..cfb19da0784ed --- /dev/null +++ b/x-pack/plugins/osquery/common/api/asset/get_assets_status_route.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 * as t from 'io-ts'; + +export const getAssetsStatusRequestParamsSchema = t.unknown; + +export type GetAssetsStatusRequestParamsSchema = t.OutputOf< + typeof getAssetsStatusRequestParamsSchema +>; diff --git a/x-pack/plugins/osquery/common/api/asset/update_assets_status_route.ts b/x-pack/plugins/osquery/common/api/asset/update_assets_status_route.ts new file mode 100644 index 0000000000000..9c1b4a60be16e --- /dev/null +++ b/x-pack/plugins/osquery/common/api/asset/update_assets_status_route.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 * as t from 'io-ts'; + +export const updateAssetsStatusRequestParamsSchema = t.unknown; + +export type UpdateAssetsStatusRequestParamsSchema = t.OutputOf< + typeof updateAssetsStatusRequestParamsSchema +>; diff --git a/x-pack/plugins/osquery/common/api/fleet_wrapper/get_agent_details_route.ts b/x-pack/plugins/osquery/common/api/fleet_wrapper/get_agent_details_route.ts new file mode 100644 index 0000000000000..fcc7dad089bab --- /dev/null +++ b/x-pack/plugins/osquery/common/api/fleet_wrapper/get_agent_details_route.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 * as t from 'io-ts'; + +export const getAgentDetailsRequestParamsSchema = t.unknown; + +export type GetAgentDetailsRequestParamsSchema = t.OutputOf< + typeof getAgentDetailsRequestParamsSchema +>; diff --git a/x-pack/plugins/osquery/common/api/fleet_wrapper/get_agent_policies_route.ts b/x-pack/plugins/osquery/common/api/fleet_wrapper/get_agent_policies_route.ts new file mode 100644 index 0000000000000..84a68e5fbf4c7 --- /dev/null +++ b/x-pack/plugins/osquery/common/api/fleet_wrapper/get_agent_policies_route.ts @@ -0,0 +1,20 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import * as t from 'io-ts'; + +export const getAgentPoliciesRequestParamsSchema = t.unknown; + +export type GetAgentPoliciesRequestParamsSchema = t.OutputOf< + typeof getAgentPoliciesRequestParamsSchema +>; + +export const getAgentPoliciesRequestQuerySchema = t.unknown; + +export type GetAgentPoliciesRequestQuerySchema = t.OutputOf< + typeof getAgentPoliciesRequestQuerySchema +>; diff --git a/x-pack/plugins/osquery/common/api/fleet_wrapper/get_agent_policy_route.ts b/x-pack/plugins/osquery/common/api/fleet_wrapper/get_agent_policy_route.ts new file mode 100644 index 0000000000000..9ec047978051e --- /dev/null +++ b/x-pack/plugins/osquery/common/api/fleet_wrapper/get_agent_policy_route.ts @@ -0,0 +1,16 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import * as t from 'io-ts'; + +export const getAgentPolicyRequestParamsSchema = t.type({ + id: t.string, +}); + +export type GetAgentPolicyRequestParamsSchema = t.OutputOf< + typeof getAgentPolicyRequestParamsSchema +>; diff --git a/x-pack/plugins/osquery/common/api/fleet_wrapper/get_agent_status_for_agent_policy_route.ts b/x-pack/plugins/osquery/common/api/fleet_wrapper/get_agent_status_for_agent_policy_route.ts new file mode 100644 index 0000000000000..83d3ebb7a9867 --- /dev/null +++ b/x-pack/plugins/osquery/common/api/fleet_wrapper/get_agent_status_for_agent_policy_route.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 * as t from 'io-ts'; + +export const getAgentStatusForAgentPolicyRequestParamsSchema = t.unknown; + +export type GetAgentStatusForAgentPolicyRequestParamsSchema = t.OutputOf< + typeof getAgentStatusForAgentPolicyRequestParamsSchema +>; + +export const getAgentStatusForAgentPolicyRequestQuerySchema = t.type({ + policyId: t.string, + kuery: t.union([t.string, t.undefined]), +}); + +export type GetAgentStatusForAgentPolicyRequestQuerySchema = t.OutputOf< + typeof getAgentStatusForAgentPolicyRequestQuerySchema +>; diff --git a/x-pack/plugins/osquery/common/schemas/routes/saved_query/index.ts b/x-pack/plugins/osquery/common/api/fleet_wrapper/get_agents_route.ts similarity index 59% rename from x-pack/plugins/osquery/common/schemas/routes/saved_query/index.ts rename to x-pack/plugins/osquery/common/api/fleet_wrapper/get_agents_route.ts index 6fbd10c7db6ca..667167a9bb3df 100644 --- a/x-pack/plugins/osquery/common/schemas/routes/saved_query/index.ts +++ b/x-pack/plugins/osquery/common/api/fleet_wrapper/get_agents_route.ts @@ -5,4 +5,8 @@ * 2.0. */ -export * from './create_saved_query_request_schema'; +import * as t from 'io-ts'; + +export const getAgentsRequestQuerySchema = t.unknown; + +export type GetAgentsRequestQuerySchema = t.OutputOf; diff --git a/x-pack/plugins/osquery/common/api/fleet_wrapper/get_package_policies_route.ts b/x-pack/plugins/osquery/common/api/fleet_wrapper/get_package_policies_route.ts new file mode 100644 index 0000000000000..31a20196e9b98 --- /dev/null +++ b/x-pack/plugins/osquery/common/api/fleet_wrapper/get_package_policies_route.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 * as t from 'io-ts'; + +export const getPackagePoliciesRequestQuerySchema = t.unknown; + +export type GetPackagePoliciesRequestQuerySchema = t.OutputOf< + typeof getPackagePoliciesRequestQuerySchema +>; diff --git a/x-pack/plugins/osquery/common/api/index.ts b/x-pack/plugins/osquery/common/api/index.ts new file mode 100644 index 0000000000000..681eaab583ca8 --- /dev/null +++ b/x-pack/plugins/osquery/common/api/index.ts @@ -0,0 +1,31 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +export * from './asset/get_assets_status_route'; +export * from './asset/update_assets_status_route'; +export * from './fleet_wrapper/get_agent_policies_route'; +export * from './fleet_wrapper/get_agent_details_route'; +export * from './fleet_wrapper/get_agent_policy_route'; +export * from './fleet_wrapper/get_agent_status_for_agent_policy_route'; +export * from './fleet_wrapper/get_agents_route'; +export * from './fleet_wrapper/get_package_policies_route'; +export * from './live_query/create_live_query_route'; +export * from './live_query/find_live_query_route'; +export * from './live_query/get_live_query_results_route'; +export * from './live_query/get_live_query_details_route'; +export * from './saved_query/create_saved_query_route'; +export * from './saved_query/delete_saved_query_route'; +export * from './saved_query/find_saved_query_route'; +export * from './saved_query/update_saved_query_route'; +export * from './saved_query/read_saved_query_route'; +export * from './packs/create_pack_route'; +export * from './packs/delete_packs_route'; +export * from './packs/find_packs_route'; +export * from './packs/read_packs_route'; +export * from './packs/update_packs_route'; +export * from './model/default_uuid'; +export * from './model/non_empty_string'; diff --git a/x-pack/plugins/osquery/common/schemas/routes/live_query/create_live_query_request_body_schema.ts b/x-pack/plugins/osquery/common/api/live_query/create_live_query_route.ts similarity index 100% rename from x-pack/plugins/osquery/common/schemas/routes/live_query/create_live_query_request_body_schema.ts rename to x-pack/plugins/osquery/common/api/live_query/create_live_query_route.ts diff --git a/x-pack/plugins/osquery/common/api/live_query/find_live_query_route.ts b/x-pack/plugins/osquery/common/api/live_query/find_live_query_route.ts new file mode 100644 index 0000000000000..110466a706457 --- /dev/null +++ b/x-pack/plugins/osquery/common/api/live_query/find_live_query_route.ts @@ -0,0 +1,19 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import * as t from 'io-ts'; +import { toNumberRt } from '@kbn/io-ts-utils'; + +export const findLiveQueryRequestQuerySchema = t.type({ + filterQuery: t.union([t.string, t.undefined]), + page: t.union([toNumberRt, t.undefined]), + pageSize: t.union([toNumberRt, t.undefined]), + sort: t.union([t.string, t.undefined]), + sortOrder: t.union([t.union([t.literal('asc'), t.literal('desc')]), t.undefined]), +}); + +export type FindLiveQueryRequestQuerySchema = t.OutputOf; diff --git a/x-pack/plugins/osquery/common/api/live_query/get_live_query_details_route.ts b/x-pack/plugins/osquery/common/api/live_query/get_live_query_details_route.ts new file mode 100644 index 0000000000000..776eeb13946b1 --- /dev/null +++ b/x-pack/plugins/osquery/common/api/live_query/get_live_query_details_route.ts @@ -0,0 +1,22 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import * as t from 'io-ts'; + +export const getLiveQueryDetailsRequestQuerySchema = t.unknown; + +export type GetLiveQueryDetailsRequestQuerySchema = t.OutputOf< + typeof getLiveQueryDetailsRequestQuerySchema +>; + +export const getLiveQueryDetailsRequestParamsSchema = t.type({ + id: t.string, +}); + +export type GetLiveQueryDetailsRequestParamsSchema = t.OutputOf< + typeof getLiveQueryDetailsRequestParamsSchema +>; diff --git a/x-pack/plugins/osquery/common/api/live_query/get_live_query_results_route.ts b/x-pack/plugins/osquery/common/api/live_query/get_live_query_results_route.ts new file mode 100644 index 0000000000000..553e3eae10cd8 --- /dev/null +++ b/x-pack/plugins/osquery/common/api/live_query/get_live_query_results_route.ts @@ -0,0 +1,30 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import * as t from 'io-ts'; +import { toNumberRt } from '@kbn/io-ts-utils'; + +export const getLiveQueryResultsRequestQuerySchema = t.type({ + filterQuery: t.union([t.string, t.undefined]), + page: t.union([toNumberRt, t.undefined]), + pageSize: t.union([toNumberRt, t.undefined]), + sort: t.union([t.string, t.undefined]), + sortOrder: t.union([t.union([t.literal('asc'), t.literal('desc')]), t.undefined]), +}); + +export type GetLiveQueryResultsRequestQuerySchema = t.OutputOf< + typeof getLiveQueryResultsRequestQuerySchema +>; + +export const getLiveQueryResultsRequestParamsSchema = t.type({ + id: t.string, + actionId: t.string, +}); + +export type GetLiveQueryResultsRequestParamsSchema = t.OutputOf< + typeof getLiveQueryResultsRequestParamsSchema +>; diff --git a/x-pack/plugins/osquery/common/schemas/types/default_uuid.test.ts b/x-pack/plugins/osquery/common/api/model/default_uuid.test.ts similarity index 100% rename from x-pack/plugins/osquery/common/schemas/types/default_uuid.test.ts rename to x-pack/plugins/osquery/common/api/model/default_uuid.test.ts diff --git a/x-pack/plugins/osquery/common/schemas/types/default_uuid.ts b/x-pack/plugins/osquery/common/api/model/default_uuid.ts similarity index 100% rename from x-pack/plugins/osquery/common/schemas/types/default_uuid.ts rename to x-pack/plugins/osquery/common/api/model/default_uuid.ts diff --git a/x-pack/plugins/osquery/common/schemas/types/non_empty_string.test.ts b/x-pack/plugins/osquery/common/api/model/non_empty_string.test.ts similarity index 100% rename from x-pack/plugins/osquery/common/schemas/types/non_empty_string.test.ts rename to x-pack/plugins/osquery/common/api/model/non_empty_string.test.ts diff --git a/x-pack/plugins/osquery/common/schemas/types/non_empty_string.ts b/x-pack/plugins/osquery/common/api/model/non_empty_string.ts similarity index 100% rename from x-pack/plugins/osquery/common/schemas/types/non_empty_string.ts rename to x-pack/plugins/osquery/common/api/model/non_empty_string.ts diff --git a/x-pack/plugins/osquery/common/api/packs/create_pack_route.ts b/x-pack/plugins/osquery/common/api/packs/create_pack_route.ts new file mode 100644 index 0000000000000..9205668d6f73d --- /dev/null +++ b/x-pack/plugins/osquery/common/api/packs/create_pack_route.ts @@ -0,0 +1,40 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import * as t from 'io-ts'; +import { toNumberRt } from '@kbn/io-ts-utils'; + +export const createPackRequestBodySchema = t.type({ + name: t.string, + description: t.union([t.string, t.undefined]), + enabled: t.union([t.boolean, t.undefined]), + policy_ids: t.union([t.array(t.string), t.undefined]), + shards: t.record(t.string, toNumberRt), + queries: t.record( + t.string, + t.type({ + query: t.string, + interval: t.union([toNumberRt, t.undefined]), + snapshot: t.union([t.boolean, t.undefined]), + removed: t.union([t.boolean, t.undefined]), + platform: t.union([t.string, t.undefined]), + version: t.union([t.string, t.undefined]), + ecs_mapping: t.union([ + t.record( + t.string, + t.type({ + field: t.union([t.string, t.undefined]), + value: t.union([t.string, t.array(t.string), t.undefined]), + }) + ), + t.undefined, + ]), + }) + ), +}); + +export type CreatePackRequestBodySchema = t.OutputOf; diff --git a/x-pack/plugins/osquery/common/api/packs/delete_packs_route.ts b/x-pack/plugins/osquery/common/api/packs/delete_packs_route.ts new file mode 100644 index 0000000000000..2f2c6e9346a42 --- /dev/null +++ b/x-pack/plugins/osquery/common/api/packs/delete_packs_route.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 * as t from 'io-ts'; + +export const deletePacksRequestParamsSchema = t.type({ + id: t.string, +}); + +export type DeletePacksRequestParamsSchema = t.OutputOf; diff --git a/x-pack/plugins/osquery/common/api/packs/find_packs_route.ts b/x-pack/plugins/osquery/common/api/packs/find_packs_route.ts new file mode 100644 index 0000000000000..2313d4b4aa8d4 --- /dev/null +++ b/x-pack/plugins/osquery/common/api/packs/find_packs_route.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 * as t from 'io-ts'; +import { toNumberRt } from '@kbn/io-ts-utils'; + +export const findPacksRequestQuerySchema = t.type({ + page: t.union([toNumberRt, t.undefined]), + pageSize: t.union([toNumberRt, t.undefined]), + sort: t.union([t.string, t.undefined]), + sortOrder: t.union([t.union([t.literal('asc'), t.literal('desc')]), t.undefined]), +}); + +export type FindPacksRequestQuerySchema = t.OutputOf; diff --git a/x-pack/plugins/osquery/common/api/packs/read_packs_route.ts b/x-pack/plugins/osquery/common/api/packs/read_packs_route.ts new file mode 100644 index 0000000000000..01865d014aab4 --- /dev/null +++ b/x-pack/plugins/osquery/common/api/packs/read_packs_route.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 * as t from 'io-ts'; + +export const readPacksRequestParamsSchema = t.type({ + id: t.string, +}); + +export type ReadPacksRequestParamsSchema = t.OutputOf; diff --git a/x-pack/plugins/osquery/common/api/packs/update_packs_route.ts b/x-pack/plugins/osquery/common/api/packs/update_packs_route.ts new file mode 100644 index 0000000000000..0a61d88813ad5 --- /dev/null +++ b/x-pack/plugins/osquery/common/api/packs/update_packs_route.ts @@ -0,0 +1,49 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import * as t from 'io-ts'; +import { toNumberRt } from '@kbn/io-ts-utils'; + +export const updatePacksRequestBodySchema = t.type({ + name: t.union([t.string, t.undefined]), + description: t.union([t.string, t.undefined]), + enabled: t.union([t.boolean, t.undefined]), + policy_ids: t.union([t.array(t.string), t.undefined]), + shards: t.union([t.record(t.string, toNumberRt), t.undefined]), + queries: t.union([ + t.record( + t.string, + t.type({ + query: t.string, + interval: t.union([toNumberRt, t.undefined]), + snapshot: t.union([t.boolean, t.undefined]), + removed: t.union([t.boolean, t.undefined]), + platform: t.union([t.string, t.undefined]), + version: t.union([t.string, t.undefined]), + ecs_mapping: t.union([ + t.record( + t.string, + t.type({ + field: t.union([t.string, t.undefined]), + value: t.union([t.string, t.array(t.string), t.undefined]), + }) + ), + t.undefined, + ]), + }) + ), + t.undefined, + ]), +}); + +export type UpdatePacksRequestBodySchema = t.OutputOf; + +export const updatePacksRequestParamsSchema = t.type({ + id: t.string, +}); + +export type UpdatePacksRequestParamsSchema = t.OutputOf; diff --git a/x-pack/plugins/osquery/common/schemas/routes/saved_query/create_saved_query_request_schema.ts b/x-pack/plugins/osquery/common/api/saved_query/create_saved_query_route.ts similarity index 100% rename from x-pack/plugins/osquery/common/schemas/routes/saved_query/create_saved_query_request_schema.ts rename to x-pack/plugins/osquery/common/api/saved_query/create_saved_query_route.ts diff --git a/x-pack/plugins/osquery/common/api/saved_query/delete_saved_query_route.ts b/x-pack/plugins/osquery/common/api/saved_query/delete_saved_query_route.ts new file mode 100644 index 0000000000000..5c671317e72e2 --- /dev/null +++ b/x-pack/plugins/osquery/common/api/saved_query/delete_saved_query_route.ts @@ -0,0 +1,16 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import * as t from 'io-ts'; + +export const deleteSavedQueryRequestParamsSchema = t.type({ + id: t.string, +}); + +export type DeleteSavedQueryRequestParamsSchema = t.OutputOf< + typeof deleteSavedQueryRequestParamsSchema +>; diff --git a/x-pack/plugins/osquery/common/api/saved_query/find_saved_query_route.ts b/x-pack/plugins/osquery/common/api/saved_query/find_saved_query_route.ts new file mode 100644 index 0000000000000..10ce1dc26fd0f --- /dev/null +++ b/x-pack/plugins/osquery/common/api/saved_query/find_saved_query_route.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 * as t from 'io-ts'; +import { toNumberRt } from '@kbn/io-ts-utils'; + +export const findSavedQueryRequestQuerySchema = t.type({ + page: t.union([toNumberRt, t.undefined]), + pageSize: t.union([toNumberRt, t.undefined]), + sort: t.union([t.string, t.undefined]), + sortOrder: t.union([t.union([t.literal('asc'), t.literal('desc')]), t.undefined]), +}); + +export type FindSavedQueryRequestQuerySchema = t.OutputOf; diff --git a/x-pack/plugins/osquery/common/api/saved_query/read_saved_query_route.ts b/x-pack/plugins/osquery/common/api/saved_query/read_saved_query_route.ts new file mode 100644 index 0000000000000..43e9184901b07 --- /dev/null +++ b/x-pack/plugins/osquery/common/api/saved_query/read_saved_query_route.ts @@ -0,0 +1,16 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import * as t from 'io-ts'; + +export const readSavedQueryRequestParamsSchema = t.type({ + id: t.string, +}); + +export type ReadSavedQueryRequestParamsSchema = t.OutputOf< + typeof readSavedQueryRequestParamsSchema +>; diff --git a/x-pack/plugins/osquery/common/api/saved_query/update_saved_query_route.ts b/x-pack/plugins/osquery/common/api/saved_query/update_saved_query_route.ts new file mode 100644 index 0000000000000..274b52094b1b4 --- /dev/null +++ b/x-pack/plugins/osquery/common/api/saved_query/update_saved_query_route.ts @@ -0,0 +1,42 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import * as t from 'io-ts'; +import { toNumberRt } from '@kbn/io-ts-utils'; + +export const updateSavedQueryRequestBodySchema = t.type({ + id: t.string, + query: t.string, + description: t.union([t.string, t.undefined]), + interval: t.union([toNumberRt, t.undefined]), + snapshot: t.union([t.boolean, t.undefined]), + removed: t.union([t.boolean, t.undefined]), + platform: t.union([t.string, t.undefined]), + version: t.union([t.string, t.undefined]), + ecs_mapping: t.union([ + t.record( + t.string, + t.type({ + field: t.union([t.string, t.undefined]), + value: t.union([t.string, t.array(t.string), t.undefined]), + }) + ), + t.undefined, + ]), +}); + +export type UpdateSavedQueryRequestBodySchema = t.OutputOf< + typeof updateSavedQueryRequestBodySchema +>; + +export const updateSavedQueryRequestParamsSchema = t.type({ + id: t.string, +}); + +export type UpdateSavedQueryRequestParamsSchema = t.OutputOf< + typeof updateSavedQueryRequestParamsSchema +>; diff --git a/x-pack/plugins/osquery/common/schemas/common/utils.ts b/x-pack/plugins/osquery/common/utils/converters.ts similarity index 100% rename from x-pack/plugins/osquery/common/schemas/common/utils.ts rename to x-pack/plugins/osquery/common/utils/converters.ts diff --git a/x-pack/plugins/osquery/public/live_queries/use_create_live_query_action.tsx b/x-pack/plugins/osquery/public/live_queries/use_create_live_query_action.tsx index 0fa7c538e6737..ae2d840bc8eae 100644 --- a/x-pack/plugins/osquery/public/live_queries/use_create_live_query_action.tsx +++ b/x-pack/plugins/osquery/public/live_queries/use_create_live_query_action.tsx @@ -7,8 +7,8 @@ import { useMutation } from '@tanstack/react-query'; import type { AgentSelection } from '@kbn/osquery-io-ts-types'; +import type { CreateLiveQueryRequestBodySchema } from '../../common/api'; import { API_VERSIONS } from '../../common/constants'; -import type { CreateLiveQueryRequestBodySchema } from '../../common/schemas/routes/live_query'; import { useKibana } from '../common/lib/kibana'; import { useErrorToast } from '../common/hooks/use_error_toast'; import type { LiveQueryDetailsItem } from '../actions/use_live_query_details'; diff --git a/x-pack/plugins/osquery/public/packs/form/shards/pack_shards_field.tsx b/x-pack/plugins/osquery/public/packs/form/shards/pack_shards_field.tsx index a658e5cb12fbb..1320845bc8015 100644 --- a/x-pack/plugins/osquery/public/packs/form/shards/pack_shards_field.tsx +++ b/x-pack/plugins/osquery/public/packs/form/shards/pack_shards_field.tsx @@ -13,9 +13,9 @@ import { EuiFlexItem } from '@elastic/eui'; import { EuiSpacer } from '@elastic/eui'; import deepEqual from 'fast-deep-equal'; import { isEmpty, last, reject } from 'lodash'; +import { convertShardsToArray, convertShardsToObject } from '../../../../common/utils/converters'; +import type { ShardsArray } from '../../../../common/utils/converters'; import { useAgentPolicies } from '../../../agent_policies'; -import type { ShardsArray } from '../../../../common/schemas/common'; -import { convertShardsToArray, convertShardsToObject } from '../../../../common/schemas/common'; import { ShardsForm } from './shards_form'; export const defaultShardData = { diff --git a/x-pack/plugins/osquery/public/packs/form/shards/shards_form.tsx b/x-pack/plugins/osquery/public/packs/form/shards/shards_form.tsx index 892e223ded741..c46666d363660 100644 --- a/x-pack/plugins/osquery/public/packs/form/shards/shards_form.tsx +++ b/x-pack/plugins/osquery/public/packs/form/shards/shards_form.tsx @@ -11,7 +11,7 @@ import type { EuiComboBoxOptionOption } from '@elastic/eui'; import { EuiButtonIcon, EuiFlexGroup, EuiFlexItem, EuiSpacer } from '@elastic/eui'; import styled from 'styled-components'; import type { UseFieldArrayRemove, UseFormReturn } from 'react-hook-form'; -import type { ShardsArray } from '../../../../common/schemas/common/utils'; +import type { ShardsArray } from '../../../../common/utils/converters'; import { ShardsPolicyField } from './shards_policy_field'; import { ShardsPercentageField } from './shards_percentage_field'; import { overflowCss } from '../../utils'; diff --git a/x-pack/plugins/osquery/public/packs/queries/ecs_mapping_editor_field.tsx b/x-pack/plugins/osquery/public/packs/queries/ecs_mapping_editor_field.tsx index fbd9ea4f28d87..7705e0dfcab8c 100644 --- a/x-pack/plugins/osquery/public/packs/queries/ecs_mapping_editor_field.tsx +++ b/x-pack/plugins/osquery/public/packs/queries/ecs_mapping_editor_field.tsx @@ -43,11 +43,11 @@ import type { FieldErrors, UseFieldArrayRemove, UseFormReturn } from 'react-hook import { useForm, useController, useFieldArray, useFormContext } from 'react-hook-form'; import type { ECSMapping } from '@kbn/osquery-io-ts-types'; -import type { ECSMappingArray } from '../../../common/schemas/common/utils'; +import type { ECSMappingArray } from '../../../common/utils/converters'; import { convertECSMappingToArray, convertECSMappingToObject, -} from '../../../common/schemas/common/utils'; +} from '../../../common/utils/converters'; import ECSSchema from '../../common/schemas/ecs/v8.7.0.json'; import osquerySchema from '../../common/schemas/osquery/v5.7.0.json'; @@ -927,8 +927,8 @@ export const ECSMappingEditorField = React.memo(({ euiFieldProps }: ECSMappingEd ?.map((selectItem: { type: string; name: string; alias?: string }) => { if (selectItem.type === 'identifier') { /* - select * from routes, uptime; - */ + select * from routes, uptime; + */ if (ast?.result.length === 1 && selectItem.name === '*') { return reduce( astOsqueryTables, @@ -953,8 +953,8 @@ export const ECSMappingEditorField = React.memo(({ euiFieldProps }: ECSMappingEd } /* - select i.*, p.resident_size, p.user_time, p.system_time, time.minutes as counter from osquery_info i, processes p, time where p.pid = i.pid; - */ + select i.*, p.resident_size, p.user_time, p.system_time, time.minutes as counter from osquery_info i, processes p, time where p.pid = i.pid; + */ const [table, column] = selectItem.name.includes('.') ? selectItem.name?.split('.') @@ -998,18 +998,18 @@ export const ECSMappingEditorField = React.memo(({ euiFieldProps }: ECSMappingEd } /* - SELECT pid, uid, name, ROUND(( - (user_time + system_time) / (cpu_time.tsb - cpu_time.itsb) - ) * 100, 2) AS percentage - FROM processes, ( - SELECT ( - SUM(user) + SUM(nice) + SUM(system) + SUM(idle) * 1.0) AS tsb, - SUM(COALESCE(idle, 0)) + SUM(COALESCE(iowait, 0)) AS itsb - FROM cpu_time - ) AS cpu_time - ORDER BY user_time+system_time DESC - LIMIT 5; - */ + SELECT pid, uid, name, ROUND(( + (user_time + system_time) / (cpu_time.tsb - cpu_time.itsb) + ) * 100, 2) AS percentage + FROM processes, ( + SELECT ( + SUM(user) + SUM(nice) + SUM(system) + SUM(idle) * 1.0) AS tsb, + SUM(COALESCE(idle, 0)) + SUM(COALESCE(iowait, 0)) AS itsb + FROM cpu_time + ) AS cpu_time + ORDER BY user_time+system_time DESC + LIMIT 5; + */ if (selectItem.type === 'function' && selectItem.alias) { return [ diff --git a/x-pack/plugins/osquery/public/packs/queries/use_pack_query_form.tsx b/x-pack/plugins/osquery/public/packs/queries/use_pack_query_form.tsx index d5f222af8f1a0..1a0ecdbe71c59 100644 --- a/x-pack/plugins/osquery/public/packs/queries/use_pack_query_form.tsx +++ b/x-pack/plugins/osquery/public/packs/queries/use_pack_query_form.tsx @@ -11,7 +11,7 @@ import type { Draft } from 'immer'; import { produce } from 'immer'; import { useMemo } from 'react'; import type { ECSMapping } from '@kbn/osquery-io-ts-types'; -import type { Shard } from '../../../common/schemas/common/utils'; +import type { Shard } from '../../../common/utils/converters'; export interface UsePackQueryFormProps { uniqueQueryIds: string[]; diff --git a/x-pack/plugins/osquery/public/packs/types.ts b/x-pack/plugins/osquery/public/packs/types.ts index 071795c1d966f..99ad6b1e8adf2 100644 --- a/x-pack/plugins/osquery/public/packs/types.ts +++ b/x-pack/plugins/osquery/public/packs/types.ts @@ -4,7 +4,7 @@ * 2.0; you may not use this file except in compliance with the Elastic License * 2.0. */ -import type { Shard } from '../../common/schemas/common/utils'; +import type { Shard } from '../../common/utils/converters'; import type { PackQueryFormData } from './queries/use_pack_query_form'; export interface PackSavedObject { diff --git a/x-pack/plugins/osquery/server/handlers/action/create_action_handler.ts b/x-pack/plugins/osquery/server/handlers/action/create_action_handler.ts index 4a38cf383c643..a6217f7c916fa 100644 --- a/x-pack/plugins/osquery/server/handlers/action/create_action_handler.ts +++ b/x-pack/plugins/osquery/server/handlers/action/create_action_handler.ts @@ -11,12 +11,12 @@ import { filter, flatten, isEmpty, map, omit, pick, pickBy, some } from 'lodash' import { AGENT_ACTIONS_INDEX } from '@kbn/fleet-plugin/common'; import type { SavedObjectsClientContract } from '@kbn/core/server'; import type { ParsedTechnicalFields } from '@kbn/rule-registry-plugin/common'; +import type { CreateLiveQueryRequestBodySchema } from '../../../common/api'; import { createDynamicQueries, replacedQueries } from './create_queries'; import { getInternalSavedObjectsClient } from '../../routes/utils'; import { parseAgentSelection } from '../../lib/parse_agent_groups'; import { packSavedObjectType } from '../../../common/types'; import type { OsqueryAppContext } from '../../lib/osquery_app_context_services'; -import type { CreateLiveQueryRequestBodySchema } from '../../../common/schemas/routes/live_query'; import { convertSOQueriesToPack } from '../../routes/pack/utils'; import { ACTIONS_INDEX } from '../../../common/constants'; import { TELEMETRY_EBT_LIVE_QUERY_EVENT } from '../../lib/telemetry/constants'; diff --git a/x-pack/plugins/osquery/server/handlers/action/create_action_service.ts b/x-pack/plugins/osquery/server/handlers/action/create_action_service.ts index e0e8098fd16bd..1ec052e0bbb77 100644 --- a/x-pack/plugins/osquery/server/handlers/action/create_action_service.ts +++ b/x-pack/plugins/osquery/server/handlers/action/create_action_service.ts @@ -7,8 +7,8 @@ import type { ParsedTechnicalFields } from '@kbn/rule-registry-plugin/common'; import type { Subscription } from 'rxjs'; +import type { CreateLiveQueryRequestBodySchema } from '../../../common/api'; import type { OsqueryAppContext } from '../../lib/osquery_app_context_services'; -import type { CreateLiveQueryRequestBodySchema } from '../../../common/schemas/routes/live_query'; import type { OsqueryActiveLicenses } from './validate_license'; import { validateLicense } from './validate_license'; import { createActionHandler } from './create_action_handler'; diff --git a/x-pack/plugins/osquery/server/handlers/action/create_queries.ts b/x-pack/plugins/osquery/server/handlers/action/create_queries.ts index 4185353fdacff..78092859a3990 100644 --- a/x-pack/plugins/osquery/server/handlers/action/create_queries.ts +++ b/x-pack/plugins/osquery/server/handlers/action/create_queries.ts @@ -9,9 +9,9 @@ import { isEmpty, map, pickBy } from 'lodash'; import { v4 as uuidv4 } from 'uuid'; import type { ParsedTechnicalFields } from '@kbn/rule-registry-plugin/common'; +import type { CreateLiveQueryRequestBodySchema } from '../../../common/api'; import { PARAMETER_NOT_FOUND } from '../../../common/translations/errors'; import type { OsqueryAppContext } from '../../lib/osquery_app_context_services'; -import type { CreateLiveQueryRequestBodySchema } from '../../../common/schemas/routes/live_query'; import { replaceParamsQuery } from '../../../common/utils/replace_params_query'; import { isSavedQueryPrebuilt } from '../../routes/saved_query/utils'; diff --git a/x-pack/plugins/osquery/server/routes/asset/get_assets_status_route.ts b/x-pack/plugins/osquery/server/routes/asset/get_assets_status_route.ts index a76ec52350ade..f217b60bf2459 100644 --- a/x-pack/plugins/osquery/server/routes/asset/get_assets_status_route.ts +++ b/x-pack/plugins/osquery/server/routes/asset/get_assets_status_route.ts @@ -6,15 +6,17 @@ */ import { filter } from 'lodash/fp'; -import { schema } from '@kbn/config-schema'; import { asyncForEach } from '@kbn/std'; import type { IRouter } from '@kbn/core/server'; import type { KibanaAssetReference } from '@kbn/fleet-plugin/common'; +import type { GetAssetsStatusRequestParamsSchema } from '../../../common/api'; +import { buildRouteValidation } from '../../utils/build_validation/route_validation'; import { API_VERSIONS } from '../../../common/constants'; import { packAssetSavedObjectType, packSavedObjectType } from '../../../common/types'; import { PLUGIN_ID, OSQUERY_INTEGRATION_NAME } from '../../../common'; import type { OsqueryAppContext } from '../../lib/osquery_app_context_services'; +import { getAssetsStatusRequestParamsSchema } from '../../../common/api'; export const getAssetsStatusRoute = (router: IRouter, osqueryContext: OsqueryAppContext) => { router.versioned @@ -28,7 +30,10 @@ export const getAssetsStatusRoute = (router: IRouter, osqueryContext: OsqueryApp version: API_VERSIONS.internal.v1, validate: { request: { - params: schema.object({}, { unknowns: 'allow' }), + params: buildRouteValidation< + typeof getAssetsStatusRequestParamsSchema, + GetAssetsStatusRequestParamsSchema + >(getAssetsStatusRequestParamsSchema), }, }, }, diff --git a/x-pack/plugins/osquery/server/routes/asset/update_assets_route.ts b/x-pack/plugins/osquery/server/routes/asset/update_assets_route.ts index 5cfef0d84c289..57800729d6435 100644 --- a/x-pack/plugins/osquery/server/routes/asset/update_assets_route.ts +++ b/x-pack/plugins/osquery/server/routes/asset/update_assets_route.ts @@ -7,12 +7,13 @@ import moment from 'moment-timezone'; import { filter, omit, some } from 'lodash'; -import { schema } from '@kbn/config-schema'; import { asyncForEach } from '@kbn/std'; import deepmerge from 'deepmerge'; import type { IRouter } from '@kbn/core/server'; import type { KibanaAssetReference } from '@kbn/fleet-plugin/common'; +import type { UpdateAssetsStatusRequestParamsSchema } from '../../../common/api'; +import { buildRouteValidation } from '../../utils/build_validation/route_validation'; import { API_VERSIONS } from '../../../common/constants'; import { packAssetSavedObjectType, packSavedObjectType } from '../../../common/types'; import { combineMerge } from './utils'; @@ -20,6 +21,7 @@ import { PLUGIN_ID, OSQUERY_INTEGRATION_NAME } from '../../../common'; import type { OsqueryAppContext } from '../../lib/osquery_app_context_services'; import { convertSOQueriesToPack, convertPackQueriesToSO } from '../pack/utils'; import type { PackSavedObject } from '../../common/types'; +import { updateAssetsStatusRequestParamsSchema } from '../../../common/api'; export const updateAssetsRoute = (router: IRouter, osqueryContext: OsqueryAppContext) => { router.versioned @@ -33,7 +35,10 @@ export const updateAssetsRoute = (router: IRouter, osqueryContext: OsqueryAppCon version: API_VERSIONS.internal.v1, validate: { request: { - params: schema.object({}, { unknowns: 'allow' }), + params: buildRouteValidation< + typeof updateAssetsStatusRequestParamsSchema, + UpdateAssetsStatusRequestParamsSchema + >(updateAssetsStatusRequestParamsSchema), }, }, }, diff --git a/x-pack/plugins/osquery/server/routes/fleet_wrapper/get_agent_details.ts b/x-pack/plugins/osquery/server/routes/fleet_wrapper/get_agent_details.ts index 65622569a446e..b3b6539f9fc35 100644 --- a/x-pack/plugins/osquery/server/routes/fleet_wrapper/get_agent_details.ts +++ b/x-pack/plugins/osquery/server/routes/fleet_wrapper/get_agent_details.ts @@ -5,11 +5,13 @@ * 2.0. */ -import { schema } from '@kbn/config-schema'; import type { IRouter } from '@kbn/core/server'; +import type { GetAgentDetailsRequestParamsSchema } from '../../../common/api'; +import { buildRouteValidation } from '../../utils/build_validation/route_validation'; import { API_VERSIONS } from '../../../common/constants'; import { PLUGIN_ID } from '../../../common'; import type { OsqueryAppContext } from '../../lib/osquery_app_context_services'; +import { getAgentDetailsRequestParamsSchema } from '../../../common/api'; export const getAgentDetailsRoute = (router: IRouter, osqueryContext: OsqueryAppContext) => { router.versioned @@ -23,7 +25,10 @@ export const getAgentDetailsRoute = (router: IRouter, osqueryContext: OsqueryApp version: API_VERSIONS.internal.v1, validate: { request: { - params: schema.object({}, { unknowns: 'allow' }), + params: buildRouteValidation< + typeof getAgentDetailsRequestParamsSchema, + GetAgentDetailsRequestParamsSchema + >(getAgentDetailsRequestParamsSchema), }, }, }, diff --git a/x-pack/plugins/osquery/server/routes/fleet_wrapper/get_agent_policies.ts b/x-pack/plugins/osquery/server/routes/fleet_wrapper/get_agent_policies.ts index 0fc992c69760b..af02b0ae97e32 100644 --- a/x-pack/plugins/osquery/server/routes/fleet_wrapper/get_agent_policies.ts +++ b/x-pack/plugins/osquery/server/routes/fleet_wrapper/get_agent_policies.ts @@ -6,16 +6,24 @@ */ import pMap from 'p-map'; -import { schema } from '@kbn/config-schema'; import { filter, uniq, map } from 'lodash'; import { satisfies } from 'semver'; import type { GetAgentPoliciesResponseItem, PackagePolicy } from '@kbn/fleet-plugin/common'; import { PACKAGE_POLICY_SAVED_OBJECT_TYPE } from '@kbn/fleet-plugin/common'; import type { IRouter } from '@kbn/core/server'; +import type { + GetAgentPoliciesRequestParamsSchema, + GetAgentPoliciesRequestQuerySchema, +} from '../../../common/api'; +import { buildRouteValidation } from '../../utils/build_validation/route_validation'; import { API_VERSIONS } from '../../../common/constants'; import { OSQUERY_INTEGRATION_NAME, PLUGIN_ID } from '../../../common'; import type { OsqueryAppContext } from '../../lib/osquery_app_context_services'; import { getInternalSavedObjectsClient } from '../utils'; +import { + getAgentPoliciesRequestParamsSchema, + getAgentPoliciesRequestQuerySchema, +} from '../../../common/api'; export const getAgentPoliciesRoute = (router: IRouter, osqueryContext: OsqueryAppContext) => { router.versioned @@ -29,8 +37,14 @@ export const getAgentPoliciesRoute = (router: IRouter, osqueryContext: OsqueryAp version: API_VERSIONS.internal.v1, validate: { request: { - params: schema.object({}, { unknowns: 'allow' }), - query: schema.object({}, { unknowns: 'allow' }), + params: buildRouteValidation< + typeof getAgentPoliciesRequestParamsSchema, + GetAgentPoliciesRequestParamsSchema + >(getAgentPoliciesRequestParamsSchema), + query: buildRouteValidation< + typeof getAgentPoliciesRequestQuerySchema, + GetAgentPoliciesRequestQuerySchema + >(getAgentPoliciesRequestQuerySchema), }, }, }, diff --git a/x-pack/plugins/osquery/server/routes/fleet_wrapper/get_agent_policy.ts b/x-pack/plugins/osquery/server/routes/fleet_wrapper/get_agent_policy.ts index b5fe59aa9d34d..85de68f7e44d9 100644 --- a/x-pack/plugins/osquery/server/routes/fleet_wrapper/get_agent_policy.ts +++ b/x-pack/plugins/osquery/server/routes/fleet_wrapper/get_agent_policy.ts @@ -5,12 +5,14 @@ * 2.0. */ -import { schema } from '@kbn/config-schema'; import type { IRouter } from '@kbn/core/server'; +import type { GetAgentPolicyRequestParamsSchema } from '../../../common/api'; +import { buildRouteValidation } from '../../utils/build_validation/route_validation'; import { API_VERSIONS } from '../../../common/constants'; import { PLUGIN_ID } from '../../../common'; import type { OsqueryAppContext } from '../../lib/osquery_app_context_services'; import { getInternalSavedObjectsClient } from '../utils'; +import { getAgentPolicyRequestParamsSchema } from '../../../common/api'; export const getAgentPolicyRoute = (router: IRouter, osqueryContext: OsqueryAppContext) => { router.versioned @@ -24,9 +26,10 @@ export const getAgentPolicyRoute = (router: IRouter, osqueryContext: OsqueryAppC version: API_VERSIONS.internal.v1, validate: { request: { - params: schema.object({ - id: schema.string(), - }), + params: buildRouteValidation< + typeof getAgentPolicyRequestParamsSchema, + GetAgentPolicyRequestParamsSchema + >(getAgentPolicyRequestParamsSchema), }, }, }, diff --git a/x-pack/plugins/osquery/server/routes/fleet_wrapper/get_agent_status_for_agent_policy.ts b/x-pack/plugins/osquery/server/routes/fleet_wrapper/get_agent_status_for_agent_policy.ts index 61a7e24ddaa76..64cd9d9f8ddd0 100644 --- a/x-pack/plugins/osquery/server/routes/fleet_wrapper/get_agent_status_for_agent_policy.ts +++ b/x-pack/plugins/osquery/server/routes/fleet_wrapper/get_agent_status_for_agent_policy.ts @@ -5,12 +5,20 @@ * 2.0. */ -import { schema } from '@kbn/config-schema'; import type { GetAgentStatusResponse } from '@kbn/fleet-plugin/common'; import type { IRouter } from '@kbn/core/server'; +import type { + GetAgentStatusForAgentPolicyRequestParamsSchema, + GetAgentStatusForAgentPolicyRequestQuerySchema, +} from '../../../common/api'; +import { buildRouteValidation } from '../../utils/build_validation/route_validation'; import { API_VERSIONS } from '../../../common/constants'; import { PLUGIN_ID } from '../../../common'; import type { OsqueryAppContext } from '../../lib/osquery_app_context_services'; +import { + getAgentStatusForAgentPolicyRequestParamsSchema, + getAgentStatusForAgentPolicyRequestQuerySchema, +} from '../../../common/api'; export const getAgentStatusForAgentPolicyRoute = ( router: IRouter, @@ -27,11 +35,14 @@ export const getAgentStatusForAgentPolicyRoute = ( version: API_VERSIONS.internal.v1, validate: { request: { - query: schema.object({ - policyId: schema.string(), - kuery: schema.maybe(schema.string()), - }), - params: schema.object({}, { unknowns: 'allow' }), + params: buildRouteValidation< + typeof getAgentStatusForAgentPolicyRequestParamsSchema, + GetAgentStatusForAgentPolicyRequestParamsSchema + >(getAgentStatusForAgentPolicyRequestParamsSchema), + query: buildRouteValidation< + typeof getAgentStatusForAgentPolicyRequestQuerySchema, + GetAgentStatusForAgentPolicyRequestQuerySchema + >(getAgentStatusForAgentPolicyRequestQuerySchema), }, }, }, diff --git a/x-pack/plugins/osquery/server/routes/fleet_wrapper/get_agents.ts b/x-pack/plugins/osquery/server/routes/fleet_wrapper/get_agents.ts index 9b86261aa07b4..44ce43305e697 100644 --- a/x-pack/plugins/osquery/server/routes/fleet_wrapper/get_agents.ts +++ b/x-pack/plugins/osquery/server/routes/fleet_wrapper/get_agents.ts @@ -5,8 +5,10 @@ * 2.0. */ -import { schema } from '@kbn/config-schema'; import type { IRouter } from '@kbn/core/server'; +import { getAgentsRequestQuerySchema } from '../../../common/api'; +import type { GetAgentsRequestQuerySchema } from '../../../common/api'; +import { buildRouteValidation } from '../../utils/build_validation/route_validation'; import { API_VERSIONS } from '../../../common/constants'; import { PLUGIN_ID } from '../../../common'; import type { OsqueryAppContext } from '../../lib/osquery_app_context_services'; @@ -23,7 +25,10 @@ export const getAgentsRoute = (router: IRouter, osqueryContext: OsqueryAppContex version: API_VERSIONS.internal.v1, validate: { request: { - query: schema.object({}, { unknowns: 'allow' }), + query: buildRouteValidation< + typeof getAgentsRequestQuerySchema, + GetAgentsRequestQuerySchema + >(getAgentsRequestQuerySchema), }, }, }, diff --git a/x-pack/plugins/osquery/server/routes/fleet_wrapper/get_package_policies.ts b/x-pack/plugins/osquery/server/routes/fleet_wrapper/get_package_policies.ts index cbf5414eb4f87..887fa4811e73e 100644 --- a/x-pack/plugins/osquery/server/routes/fleet_wrapper/get_package_policies.ts +++ b/x-pack/plugins/osquery/server/routes/fleet_wrapper/get_package_policies.ts @@ -5,13 +5,15 @@ * 2.0. */ -import { schema } from '@kbn/config-schema'; import type { IRouter } from '@kbn/core/server'; import { PACKAGE_POLICY_SAVED_OBJECT_TYPE } from '@kbn/fleet-plugin/common'; +import type { GetPackagePoliciesRequestQuerySchema } from '../../../common/api'; +import { buildRouteValidation } from '../../utils/build_validation/route_validation'; import { API_VERSIONS } from '../../../common/constants'; import { PLUGIN_ID, OSQUERY_INTEGRATION_NAME } from '../../../common'; import type { OsqueryAppContext } from '../../lib/osquery_app_context_services'; import { getInternalSavedObjectsClient } from '../utils'; +import { getPackagePoliciesRequestQuerySchema } from '../../../common/api'; export const getPackagePoliciesRoute = (router: IRouter, osqueryContext: OsqueryAppContext) => { router.versioned @@ -25,7 +27,10 @@ export const getPackagePoliciesRoute = (router: IRouter, osqueryContext: Osquery version: API_VERSIONS.internal.v1, validate: { request: { - query: schema.object({}, { unknowns: 'allow' }), + query: buildRouteValidation< + typeof getPackagePoliciesRequestQuerySchema, + GetPackagePoliciesRequestQuerySchema + >(getPackagePoliciesRequestQuerySchema), }, }, }, diff --git a/x-pack/plugins/osquery/server/routes/live_query/create_live_query_route.ts b/x-pack/plugins/osquery/server/routes/live_query/create_live_query_route.ts index 971f2c3b45a4c..586ebe3716a96 100644 --- a/x-pack/plugins/osquery/server/routes/live_query/create_live_query_route.ts +++ b/x-pack/plugins/osquery/server/routes/live_query/create_live_query_route.ts @@ -11,11 +11,11 @@ import markdown from 'remark-parse-no-trim'; import { some, filter } from 'lodash'; import deepEqual from 'fast-deep-equal'; import type { ECSMappingOrUndefined } from '@kbn/osquery-io-ts-types'; +import type { CreateLiveQueryRequestBodySchema } from '../../../common/api'; +import { createLiveQueryRequestBodySchema } from '../../../common/api'; import { API_VERSIONS } from '../../../common/constants'; import { PARAMETER_NOT_FOUND } from '../../../common/translations/errors'; import { replaceParamsQuery } from '../../../common/utils/replace_params_query'; -import { createLiveQueryRequestBodySchema } from '../../../common/schemas/routes/live_query'; -import type { CreateLiveQueryRequestBodySchema } from '../../../common/schemas/routes/live_query'; import { buildRouteValidation } from '../../utils/build_validation/route_validation'; import type { OsqueryAppContext } from '../../lib/osquery_app_context_services'; import { createActionHandler } from '../../handlers'; diff --git a/x-pack/plugins/osquery/server/routes/live_query/find_live_query_route.ts b/x-pack/plugins/osquery/server/routes/live_query/find_live_query_route.ts index 858b76315c8e0..2e12d1cd967b1 100644 --- a/x-pack/plugins/osquery/server/routes/live_query/find_live_query_route.ts +++ b/x-pack/plugins/osquery/server/routes/live_query/find_live_query_route.ts @@ -5,12 +5,13 @@ * 2.0. */ -import { schema } from '@kbn/config-schema'; import type { IRouter } from '@kbn/core/server'; import { omit } from 'lodash'; import type { Observable } from 'rxjs'; import { lastValueFrom } from 'rxjs'; import type { DataRequestHandlerContext } from '@kbn/data-plugin/server'; +import type { FindLiveQueryRequestQuerySchema } from '../../../common/api'; +import { buildRouteValidation } from '../../utils/build_validation/route_validation'; import { API_VERSIONS } from '../../../common/constants'; import { PLUGIN_ID } from '../../../common'; @@ -21,6 +22,7 @@ import type { } from '../../../common/search_strategy'; import { OsqueryQueries } from '../../../common/search_strategy'; import { createFilter, generateTablePaginationOptions } from '../../../common/utils/build_query'; +import { findLiveQueryRequestQuerySchema } from '../../../common/api'; export const findLiveQueryRoute = (router: IRouter) => { router.versioned @@ -34,18 +36,10 @@ export const findLiveQueryRoute = (router: IRouter) = version: API_VERSIONS.public.v1, validate: { request: { - query: schema.object( - { - filterQuery: schema.maybe(schema.string()), - page: schema.maybe(schema.number()), - pageSize: schema.maybe(schema.number()), - sort: schema.maybe(schema.string()), - sortOrder: schema.maybe( - schema.oneOf([schema.literal('asc'), schema.literal('desc')]) - ), - }, - { unknowns: 'allow' } - ), + query: buildRouteValidation< + typeof findLiveQueryRequestQuerySchema, + FindLiveQueryRequestQuerySchema + >(findLiveQueryRequestQuerySchema), }, }, }, diff --git a/x-pack/plugins/osquery/server/routes/live_query/get_live_query_details_route.ts b/x-pack/plugins/osquery/server/routes/live_query/get_live_query_details_route.ts index 6bd2bf3a11963..a6b6b06dcaca4 100644 --- a/x-pack/plugins/osquery/server/routes/live_query/get_live_query_details_route.ts +++ b/x-pack/plugins/osquery/server/routes/live_query/get_live_query_details_route.ts @@ -5,12 +5,16 @@ * 2.0. */ -import { schema } from '@kbn/config-schema'; import type { IRouter } from '@kbn/core/server'; import { every, map, mapKeys, pick, reduce } from 'lodash'; import type { Observable } from 'rxjs'; import { lastValueFrom, zip } from 'rxjs'; import type { DataRequestHandlerContext } from '@kbn/data-plugin/server'; +import type { + GetLiveQueryDetailsRequestParamsSchema, + GetLiveQueryDetailsRequestQuerySchema, +} from '../../../common/api'; +import { buildRouteValidation } from '../../utils/build_validation/route_validation'; import { API_VERSIONS } from '../../../common/constants'; import { PLUGIN_ID } from '../../../common'; import { getActionResponses } from './utils'; @@ -20,6 +24,10 @@ import type { ActionDetailsStrategyResponse, } from '../../../common/search_strategy'; import { OsqueryQueries } from '../../../common/search_strategy'; +import { + getLiveQueryDetailsRequestParamsSchema, + getLiveQueryDetailsRequestQuerySchema, +} from '../../../common/api'; export const getLiveQueryDetailsRoute = (router: IRouter) => { router.versioned @@ -33,13 +41,14 @@ export const getLiveQueryDetailsRoute = (router: IRouter(getLiveQueryDetailsRequestParamsSchema), + query: buildRouteValidation< + typeof getLiveQueryDetailsRequestQuerySchema, + GetLiveQueryDetailsRequestQuerySchema + >(getLiveQueryDetailsRequestQuerySchema), }, }, }, @@ -52,7 +61,7 @@ export const getLiveQueryDetailsRoute = (router: IRouter( { actionId: request.params.id, - filterQuery: request.query, + filterQuery: {}, factoryQueryType: OsqueryQueries.actionDetails, }, { abortSignal, strategy: 'osquerySearchStrategy' } diff --git a/x-pack/plugins/osquery/server/routes/live_query/get_live_query_results_route.ts b/x-pack/plugins/osquery/server/routes/live_query/get_live_query_results_route.ts index c7a86d440e344..bd924e9c93b34 100644 --- a/x-pack/plugins/osquery/server/routes/live_query/get_live_query_results_route.ts +++ b/x-pack/plugins/osquery/server/routes/live_query/get_live_query_results_route.ts @@ -5,12 +5,16 @@ * 2.0. */ -import { schema } from '@kbn/config-schema'; import type { IRouter } from '@kbn/core/server'; import { map } from 'lodash'; import type { Observable } from 'rxjs'; import { lastValueFrom, zip } from 'rxjs'; import type { DataRequestHandlerContext } from '@kbn/data-plugin/server'; +import type { + GetLiveQueryResultsRequestQuerySchema, + GetLiveQueryResultsRequestParamsSchema, +} from '../../../common/api'; +import { buildRouteValidation } from '../../utils/build_validation/route_validation'; import { API_VERSIONS } from '../../../common/constants'; import { PLUGIN_ID } from '../../../common'; import type { @@ -20,6 +24,10 @@ import type { import { OsqueryQueries } from '../../../common/search_strategy'; import { createFilter, generateTablePaginationOptions } from '../../../common/utils/build_query'; import { getActionResponses } from './utils'; +import { + getLiveQueryResultsRequestParamsSchema, + getLiveQueryResultsRequestQuerySchema, +} from '../../../common/api'; export const getLiveQueryResultsRoute = (router: IRouter) => { router.versioned @@ -33,25 +41,14 @@ export const getLiveQueryResultsRoute = (router: IRouter(getLiveQueryResultsRequestQuerySchema), + params: buildRouteValidation< + typeof getLiveQueryResultsRequestParamsSchema, + GetLiveQueryResultsRequestParamsSchema + >(getLiveQueryResultsRequestParamsSchema), }, }, }, diff --git a/x-pack/plugins/osquery/server/routes/pack/create_pack_route.ts b/x-pack/plugins/osquery/server/routes/pack/create_pack_route.ts index 5d12a41f03c4d..8429e7a91f68b 100644 --- a/x-pack/plugins/osquery/server/routes/pack/create_pack_route.ts +++ b/x-pack/plugins/osquery/server/routes/pack/create_pack_route.ts @@ -8,7 +8,6 @@ import moment from 'moment-timezone'; import { set } from '@kbn/safer-lodash-set'; import { has, unset, find, some, mapKeys } from 'lodash'; -import { schema } from '@kbn/config-schema'; import { produce } from 'immer'; import type { PackagePolicy } from '@kbn/fleet-plugin/common'; import { @@ -16,6 +15,8 @@ import { PACKAGE_POLICY_SAVED_OBJECT_TYPE, } from '@kbn/fleet-plugin/common'; import type { IRouter } from '@kbn/core/server'; +import type { CreatePackRequestBodySchema } from '../../../common/api'; +import { buildRouteValidation } from '../../utils/build_validation/route_validation'; import { API_VERSIONS } from '../../../common/constants'; import type { OsqueryAppContext } from '../../lib/osquery_app_context_services'; import { OSQUERY_INTEGRATION_NAME } from '../../../common'; @@ -30,6 +31,7 @@ import { import { convertShardsToArray, getInternalSavedObjectsClient } from '../utils'; import type { PackSavedObject } from '../../common/types'; import type { PackResponseData } from './types'; +import { createPackRequestBodySchema } from '../../../common/api'; type PackSavedObjectLimited = Omit; @@ -45,38 +47,10 @@ export const createPackRoute = (router: IRouter, osqueryContext: OsqueryAppConte version: API_VERSIONS.public.v1, validate: { request: { - body: schema.object( - { - name: schema.string(), - description: schema.maybe(schema.string()), - enabled: schema.maybe(schema.boolean()), - policy_ids: schema.maybe(schema.arrayOf(schema.string())), - shards: schema.recordOf(schema.string(), schema.number()), - queries: schema.recordOf( - schema.string(), - schema.object({ - query: schema.string(), - interval: schema.maybe(schema.number()), - snapshot: schema.maybe(schema.boolean()), - removed: schema.maybe(schema.boolean()), - platform: schema.maybe(schema.string()), - version: schema.maybe(schema.string()), - ecs_mapping: schema.maybe( - schema.recordOf( - schema.string(), - schema.object({ - field: schema.maybe(schema.string()), - value: schema.maybe( - schema.oneOf([schema.string(), schema.arrayOf(schema.string())]) - ), - }) - ) - ), - }) - ), - }, - { unknowns: 'allow' } - ), + body: buildRouteValidation< + typeof createPackRequestBodySchema, + CreatePackRequestBodySchema + >(createPackRequestBodySchema), }, }, }, diff --git a/x-pack/plugins/osquery/server/routes/pack/delete_pack_route.ts b/x-pack/plugins/osquery/server/routes/pack/delete_pack_route.ts index 33a569653ea1d..3408696d389e0 100644 --- a/x-pack/plugins/osquery/server/routes/pack/delete_pack_route.ts +++ b/x-pack/plugins/osquery/server/routes/pack/delete_pack_route.ts @@ -7,15 +7,17 @@ import { has, filter, unset } from 'lodash'; import { produce } from 'immer'; -import { schema } from '@kbn/config-schema'; import { PACKAGE_POLICY_SAVED_OBJECT_TYPE } from '@kbn/fleet-plugin/common'; import type { IRouter } from '@kbn/core/server'; +import type { DeletePacksRequestParamsSchema } from '../../../common/api'; +import { buildRouteValidation } from '../../utils/build_validation/route_validation'; import { API_VERSIONS } from '../../../common/constants'; import { OSQUERY_INTEGRATION_NAME } from '../../../common'; import { PLUGIN_ID } from '../../../common'; import { packSavedObjectType } from '../../../common/types'; import type { OsqueryAppContext } from '../../lib/osquery_app_context_services'; +import { deletePacksRequestParamsSchema } from '../../../common/api'; export const deletePackRoute = (router: IRouter, osqueryContext: OsqueryAppContext) => { router.versioned @@ -29,9 +31,10 @@ export const deletePackRoute = (router: IRouter, osqueryContext: OsqueryAppConte version: API_VERSIONS.public.v1, validate: { request: { - params: schema.object({ - id: schema.string(), - }), + params: buildRouteValidation< + typeof deletePacksRequestParamsSchema, + DeletePacksRequestParamsSchema + >(deletePacksRequestParamsSchema), }, }, }, diff --git a/x-pack/plugins/osquery/server/routes/pack/find_pack_route.ts b/x-pack/plugins/osquery/server/routes/pack/find_pack_route.ts index 394fc50ff4e29..808bb1bdbb864 100644 --- a/x-pack/plugins/osquery/server/routes/pack/find_pack_route.ts +++ b/x-pack/plugins/osquery/server/routes/pack/find_pack_route.ts @@ -6,15 +6,17 @@ */ import { filter, map, omit } from 'lodash'; -import { schema } from '@kbn/config-schema'; import { AGENT_POLICY_SAVED_OBJECT_TYPE } from '@kbn/fleet-plugin/common'; import type { IRouter } from '@kbn/core/server'; +import type { FindPacksRequestQuerySchema } from '../../../common/api'; +import { buildRouteValidation } from '../../utils/build_validation/route_validation'; import { API_VERSIONS } from '../../../common/constants'; import { packSavedObjectType } from '../../../common/types'; import { PLUGIN_ID } from '../../../common'; import type { PackSavedObject } from '../../common/types'; import type { PackResponseData } from './types'; +import { findPacksRequestQuerySchema } from '../../../common/api'; export const findPackRoute = (router: IRouter) => { router.versioned @@ -28,17 +30,10 @@ export const findPackRoute = (router: IRouter) => { version: API_VERSIONS.public.v1, validate: { request: { - query: schema.object( - { - page: schema.maybe(schema.number()), - pageSize: schema.maybe(schema.number()), - sort: schema.maybe(schema.string()), - sortOrder: schema.maybe( - schema.oneOf([schema.literal('asc'), schema.literal('desc')]) - ), - }, - { unknowns: 'allow' } - ), + query: buildRouteValidation< + typeof findPacksRequestQuerySchema, + FindPacksRequestQuerySchema + >(findPacksRequestQuerySchema), }, }, }, diff --git a/x-pack/plugins/osquery/server/routes/pack/read_pack_route.ts b/x-pack/plugins/osquery/server/routes/pack/read_pack_route.ts index 0a61b0310def0..d42d3f95bebac 100644 --- a/x-pack/plugins/osquery/server/routes/pack/read_pack_route.ts +++ b/x-pack/plugins/osquery/server/routes/pack/read_pack_route.ts @@ -6,9 +6,10 @@ */ import { filter, map } from 'lodash'; -import { schema } from '@kbn/config-schema'; import { AGENT_POLICY_SAVED_OBJECT_TYPE } from '@kbn/fleet-plugin/common'; import type { IRouter } from '@kbn/core/server'; +import type { ReadPacksRequestParamsSchema } from '../../../common/api'; +import { buildRouteValidation } from '../../utils/build_validation/route_validation'; import { API_VERSIONS } from '../../../common/constants'; import type { PackSavedObject } from '../../common/types'; import { PLUGIN_ID } from '../../../common'; @@ -17,6 +18,7 @@ import { packSavedObjectType } from '../../../common/types'; import { convertSOQueriesToPack } from './utils'; import { convertShardsToObject } from '../utils'; import type { ReadPackResponseData } from './types'; +import { readPacksRequestParamsSchema } from '../../../common/api'; export const readPackRoute = (router: IRouter) => { router.versioned @@ -30,9 +32,10 @@ export const readPackRoute = (router: IRouter) => { version: API_VERSIONS.public.v1, validate: { request: { - params: schema.object({ - id: schema.string(), - }), + params: buildRouteValidation< + typeof readPacksRequestParamsSchema, + ReadPacksRequestParamsSchema + >(readPacksRequestParamsSchema), }, }, }, diff --git a/x-pack/plugins/osquery/server/routes/pack/update_pack_route.ts b/x-pack/plugins/osquery/server/routes/pack/update_pack_route.ts index 0d05a4d1b30cb..1697718a00ba0 100644 --- a/x-pack/plugins/osquery/server/routes/pack/update_pack_route.ts +++ b/x-pack/plugins/osquery/server/routes/pack/update_pack_route.ts @@ -8,7 +8,6 @@ import moment from 'moment-timezone'; import { set } from '@kbn/safer-lodash-set'; import { unset, has, difference, filter, find, map, mapKeys, uniq, some, isEmpty } from 'lodash'; -import { schema } from '@kbn/config-schema'; import { produce } from 'immer'; import type { PackagePolicy } from '@kbn/fleet-plugin/common'; import { @@ -17,6 +16,11 @@ import { } from '@kbn/fleet-plugin/common'; import type { IRouter } from '@kbn/core/server'; +import type { + UpdatePacksRequestParamsSchema, + UpdatePacksRequestBodySchema, +} from '../../../common/api'; +import { buildRouteValidation } from '../../utils/build_validation/route_validation'; import { API_VERSIONS } from '../../../common/constants'; import { OSQUERY_INTEGRATION_NAME } from '../../../common'; import { packSavedObjectType } from '../../../common/types'; @@ -33,6 +37,7 @@ import { import { convertShardsToArray, getInternalSavedObjectsClient } from '../utils'; import type { PackSavedObject } from '../../common/types'; import type { PackResponseData } from './types'; +import { updatePacksRequestBodySchema, updatePacksRequestParamsSchema } from '../../../common/api'; export const updatePackRoute = (router: IRouter, osqueryContext: OsqueryAppContext) => { router.versioned @@ -46,46 +51,14 @@ export const updatePackRoute = (router: IRouter, osqueryContext: OsqueryAppConte version: API_VERSIONS.public.v1, validate: { request: { - params: schema.object( - { - id: schema.string(), - }, - { unknowns: 'allow' } - ), - body: schema.object( - { - name: schema.maybe(schema.string()), - description: schema.maybe(schema.string()), - enabled: schema.maybe(schema.boolean()), - policy_ids: schema.maybe(schema.arrayOf(schema.string())), - shards: schema.maybe(schema.recordOf(schema.string(), schema.number())), - queries: schema.maybe( - schema.recordOf( - schema.string(), - schema.object({ - query: schema.string(), - interval: schema.maybe(schema.number()), - snapshot: schema.maybe(schema.boolean()), - removed: schema.maybe(schema.boolean()), - platform: schema.maybe(schema.string()), - version: schema.maybe(schema.string()), - ecs_mapping: schema.maybe( - schema.recordOf( - schema.string(), - schema.object({ - field: schema.maybe(schema.string()), - value: schema.maybe( - schema.oneOf([schema.string(), schema.arrayOf(schema.string())]) - ), - }) - ) - ), - }) - ) - ), - }, - { unknowns: 'allow' } - ), + params: buildRouteValidation< + typeof updatePacksRequestParamsSchema, + UpdatePacksRequestParamsSchema + >(updatePacksRequestParamsSchema), + body: buildRouteValidation< + typeof updatePacksRequestBodySchema, + UpdatePacksRequestBodySchema + >(updatePacksRequestBodySchema), }, }, }, diff --git a/x-pack/plugins/osquery/server/routes/pack/utils.ts b/x-pack/plugins/osquery/server/routes/pack/utils.ts index 3be425ad1ec28..a458e6edadfa1 100644 --- a/x-pack/plugins/osquery/server/routes/pack/utils.ts +++ b/x-pack/plugins/osquery/server/routes/pack/utils.ts @@ -8,7 +8,7 @@ import { isEmpty, pick, reduce, isArray, filter, uniq, map, mapKeys } from 'lodash'; import { satisfies } from 'semver'; import type { AgentPolicy, PackagePolicy } from '@kbn/fleet-plugin/common'; -import type { Shard } from '../../../common/schemas/common/utils'; +import type { Shard } from '../../../common/utils/converters'; import { DEFAULT_PLATFORM } from '../../../common/constants'; import { removeMultilines } from '../../../common/utils/build_query/remove_multilines'; import { convertECSMappingToArray, convertECSMappingToObject } from '../utils'; diff --git a/x-pack/plugins/osquery/server/routes/saved_query/create_saved_query_route.ts b/x-pack/plugins/osquery/server/routes/saved_query/create_saved_query_route.ts index 8f40dbc28924a..bccd521f6323d 100644 --- a/x-pack/plugins/osquery/server/routes/saved_query/create_saved_query_route.ts +++ b/x-pack/plugins/osquery/server/routes/saved_query/create_saved_query_route.ts @@ -7,16 +7,16 @@ import { isEmpty, pickBy, some, isBoolean } from 'lodash'; import type { IRouter } from '@kbn/core/server'; +import type { CreateSavedQueryRequestSchemaDecoded } from '../../../common/api'; import { API_VERSIONS } from '../../../common/constants'; import type { SavedQueryResponse } from './types'; import type { SavedQuerySavedObject } from '../../common/types'; import { PLUGIN_ID } from '../../../common'; -import type { CreateSavedQueryRequestSchemaDecoded } from '../../../common/schemas/routes/saved_query/create_saved_query_request_schema'; -import { createSavedQueryRequestSchema } from '../../../common/schemas/routes/saved_query/create_saved_query_request_schema'; import { savedQuerySavedObjectType } from '../../../common/types'; import { buildRouteValidation } from '../../utils/build_validation/route_validation'; import type { OsqueryAppContext } from '../../lib/osquery_app_context_services'; import { convertECSMappingToArray } from '../utils'; +import { createSavedQueryRequestSchema } from '../../../common/api'; export const createSavedQueryRoute = (router: IRouter, osqueryContext: OsqueryAppContext) => { router.versioned diff --git a/x-pack/plugins/osquery/server/routes/saved_query/delete_saved_query_route.ts b/x-pack/plugins/osquery/server/routes/saved_query/delete_saved_query_route.ts index ccecbf7a66dd9..f33040e167c62 100644 --- a/x-pack/plugins/osquery/server/routes/saved_query/delete_saved_query_route.ts +++ b/x-pack/plugins/osquery/server/routes/saved_query/delete_saved_query_route.ts @@ -5,13 +5,15 @@ * 2.0. */ -import { schema } from '@kbn/config-schema'; import type { IRouter } from '@kbn/core/server'; +import { buildRouteValidation } from '../../utils/build_validation/route_validation'; import { API_VERSIONS } from '../../../common/constants'; import { PLUGIN_ID } from '../../../common'; import { savedQuerySavedObjectType } from '../../../common/types'; import type { OsqueryAppContext } from '../../lib/osquery_app_context_services'; import { isSavedQueryPrebuilt } from './utils'; +import type { DeleteSavedQueryRequestParamsSchema } from '../../../common/api/saved_query/delete_saved_query_route'; +import { deleteSavedQueryRequestParamsSchema } from '../../../common/api/saved_query/delete_saved_query_route'; export const deleteSavedQueryRoute = (router: IRouter, osqueryContext: OsqueryAppContext) => { router.versioned @@ -25,9 +27,10 @@ export const deleteSavedQueryRoute = (router: IRouter, osqueryContext: OsqueryAp version: API_VERSIONS.public.v1, validate: { request: { - params: schema.object({ - id: schema.string(), - }), + params: buildRouteValidation< + typeof deleteSavedQueryRequestParamsSchema, + DeleteSavedQueryRequestParamsSchema + >(deleteSavedQueryRequestParamsSchema), }, }, }, diff --git a/x-pack/plugins/osquery/server/routes/saved_query/find_saved_query_route.ts b/x-pack/plugins/osquery/server/routes/saved_query/find_saved_query_route.ts index ad4b151554e4d..a176d581329b5 100644 --- a/x-pack/plugins/osquery/server/routes/saved_query/find_saved_query_route.ts +++ b/x-pack/plugins/osquery/server/routes/saved_query/find_saved_query_route.ts @@ -5,10 +5,10 @@ * 2.0. */ -import { schema } from '@kbn/config-schema'; import type { IRouter } from '@kbn/core/server'; import { omit } from 'lodash'; +import { buildRouteValidation } from '../../utils/build_validation/route_validation'; import { API_VERSIONS } from '../../../common/constants'; import type { SavedQueryResponse } from './types'; import type { SavedQuerySavedObject } from '../../common/types'; @@ -17,6 +17,8 @@ import { PLUGIN_ID } from '../../../common'; import { savedQuerySavedObjectType } from '../../../common/types'; import { convertECSMappingToObject } from '../utils'; import { getInstalledSavedQueriesMap } from './utils'; +import type { FindSavedQueryRequestQuerySchema } from '../../../common/api/saved_query/find_saved_query_route'; +import { findSavedQueryRequestQuerySchema } from '../../../common/api/saved_query/find_saved_query_route'; export const findSavedQueryRoute = (router: IRouter, osqueryContext: OsqueryAppContext) => { router.versioned @@ -30,14 +32,10 @@ export const findSavedQueryRoute = (router: IRouter, osqueryContext: OsqueryAppC version: API_VERSIONS.public.v1, validate: { request: { - query: schema.object({ - page: schema.number({ defaultValue: 1 }), - pageSize: schema.maybe(schema.number()), - sort: schema.string({ defaultValue: 'id' }), - sortOrder: schema.oneOf([schema.literal('asc'), schema.literal('desc')], { - defaultValue: 'desc', - }), - }), + query: buildRouteValidation< + typeof findSavedQueryRequestQuerySchema, + FindSavedQueryRequestQuerySchema + >(findSavedQueryRequestQuerySchema), }, }, }, @@ -48,10 +46,10 @@ export const findSavedQueryRoute = (router: IRouter, osqueryContext: OsqueryAppC try { const savedQueries = await savedObjectsClient.find({ type: savedQuerySavedObjectType, - page: request.query.page, + page: request.query.page || 1, perPage: request.query.pageSize, - sortField: request.query.sort, - sortOrder: request.query.sortOrder, + sortField: request.query.sort || 'id', + sortOrder: request.query.sortOrder || 'desc', }); const prebuiltSavedQueriesMap = await getInstalledSavedQueriesMap( diff --git a/x-pack/plugins/osquery/server/routes/saved_query/read_saved_query_route.ts b/x-pack/plugins/osquery/server/routes/saved_query/read_saved_query_route.ts index 81d14e160a1a8..fb355c8b732b0 100644 --- a/x-pack/plugins/osquery/server/routes/saved_query/read_saved_query_route.ts +++ b/x-pack/plugins/osquery/server/routes/saved_query/read_saved_query_route.ts @@ -5,8 +5,8 @@ * 2.0. */ -import { schema } from '@kbn/config-schema'; import type { IRouter } from '@kbn/core/server'; +import { buildRouteValidation } from '../../utils/build_validation/route_validation'; import { API_VERSIONS } from '../../../common/constants'; import type { SavedQueryResponse } from './types'; import type { SavedQuerySavedObject } from '../../common/types'; @@ -15,6 +15,8 @@ import type { OsqueryAppContext } from '../../lib/osquery_app_context_services'; import { PLUGIN_ID } from '../../../common'; import { savedQuerySavedObjectType } from '../../../common/types'; import { convertECSMappingToObject } from '../utils'; +import type { ReadSavedQueryRequestParamsSchema } from '../../../common/api/saved_query/read_saved_query_route'; +import { readSavedQueryRequestParamsSchema } from '../../../common/api/saved_query/read_saved_query_route'; export const readSavedQueryRoute = (router: IRouter, osqueryContext: OsqueryAppContext) => { router.versioned @@ -28,9 +30,10 @@ export const readSavedQueryRoute = (router: IRouter, osqueryContext: OsqueryAppC version: API_VERSIONS.public.v1, validate: { request: { - params: schema.object({ - id: schema.string(), - }), + params: buildRouteValidation< + typeof readSavedQueryRequestParamsSchema, + ReadSavedQueryRequestParamsSchema + >(readSavedQueryRequestParamsSchema), }, }, }, diff --git a/x-pack/plugins/osquery/server/routes/saved_query/update_saved_query_route.ts b/x-pack/plugins/osquery/server/routes/saved_query/update_saved_query_route.ts index 758016830b892..d6cd11805c57a 100644 --- a/x-pack/plugins/osquery/server/routes/saved_query/update_saved_query_route.ts +++ b/x-pack/plugins/osquery/server/routes/saved_query/update_saved_query_route.ts @@ -6,9 +6,9 @@ */ import { filter, some } from 'lodash'; -import { schema } from '@kbn/config-schema'; import type { IRouter } from '@kbn/core/server'; +import { buildRouteValidation } from '../../utils/build_validation/route_validation'; import { API_VERSIONS } from '../../../common/constants'; import { isSavedQueryPrebuilt } from './utils'; import { PLUGIN_ID } from '../../../common'; @@ -16,6 +16,14 @@ import { savedQuerySavedObjectType } from '../../../common/types'; import type { OsqueryAppContext } from '../../lib/osquery_app_context_services'; import { convertECSMappingToArray, convertECSMappingToObject } from '../utils'; import type { UpdateSavedQueryResponse } from './types'; +import type { + UpdateSavedQueryRequestBodySchema, + UpdateSavedQueryRequestParamsSchema, +} from '../../../common/api/saved_query/update_saved_query_route'; +import { + updateSavedQueryRequestBodySchema, + updateSavedQueryRequestParamsSchema, +} from '../../../common/api/saved_query/update_saved_query_route'; export const updateSavedQueryRoute = (router: IRouter, osqueryContext: OsqueryAppContext) => { router.versioned @@ -29,33 +37,14 @@ export const updateSavedQueryRoute = (router: IRouter, osqueryContext: OsqueryAp version: API_VERSIONS.public.v1, validate: { request: { - params: schema.object({ - id: schema.string(), - }), - body: schema.object( - { - id: schema.string(), - query: schema.string(), - description: schema.maybe(schema.string()), - interval: schema.maybe(schema.number()), - snapshot: schema.maybe(schema.boolean()), - removed: schema.maybe(schema.boolean()), - platform: schema.maybe(schema.string()), - version: schema.maybe(schema.string()), - ecs_mapping: schema.maybe( - schema.recordOf( - schema.string(), - schema.object({ - field: schema.maybe(schema.string()), - value: schema.maybe( - schema.oneOf([schema.string(), schema.arrayOf(schema.string())]) - ), - }) - ) - ), - }, - { unknowns: 'allow' } - ), + params: buildRouteValidation< + typeof updateSavedQueryRequestParamsSchema, + UpdateSavedQueryRequestParamsSchema + >(updateSavedQueryRequestParamsSchema), + body: buildRouteValidation< + typeof updateSavedQueryRequestBodySchema, + UpdateSavedQueryRequestBodySchema + >(updateSavedQueryRequestBodySchema), }, }, }, diff --git a/x-pack/plugins/osquery/server/routes/utils.ts b/x-pack/plugins/osquery/server/routes/utils.ts index 5395d1c3968cb..5c803d27719ea 100644 --- a/x-pack/plugins/osquery/server/routes/utils.ts +++ b/x-pack/plugins/osquery/server/routes/utils.ts @@ -8,7 +8,7 @@ import type { CoreSetup } from '@kbn/core/server'; import { SavedObjectsClient } from '@kbn/core/server'; import { reduce } from 'lodash'; -import type { Shard } from '../../common/schemas/common/utils'; +import type { Shard } from '../../common/utils/converters'; import type { SOShard } from '../common/types'; export const convertECSMappingToArray = (ecsMapping: Record | undefined) => diff --git a/x-pack/plugins/osquery/tsconfig.json b/x-pack/plugins/osquery/tsconfig.json index df3fcbb546e87..1ab04ddd7d58d 100644 --- a/x-pack/plugins/osquery/tsconfig.json +++ b/x-pack/plugins/osquery/tsconfig.json @@ -72,6 +72,7 @@ "@kbn/licensing-plugin", "@kbn/core-lifecycle-browser", "@kbn/core-saved-objects-server", - "@kbn/monaco" + "@kbn/monaco", + "@kbn/io-ts-utils" ] } diff --git a/x-pack/plugins/security_solution/common/types/app_features.ts b/x-pack/plugins/security_solution/common/types/app_features.ts index b3955232fd209..727329681a17d 100644 --- a/x-pack/plugins/security_solution/common/types/app_features.ts +++ b/x-pack/plugins/security_solution/common/types/app_features.ts @@ -18,6 +18,11 @@ export enum AppFeatureSecurityKey { * Enables Endpoint Exceptions like isolate host, trusted apps, blocklist, etc. */ endpointExceptions = 'endpoint_exceptions', + + /** + * Enables Threat Intelligence + */ + threatIntelligence = 'threat-intelligence', } export enum AppFeatureCasesKey { diff --git a/x-pack/plugins/security_solution/cypress/e2e/exceptions/alerts_table_flow/endpoint_exceptions.cy.ts b/x-pack/plugins/security_solution/cypress/e2e/exceptions/alerts_table_flow/endpoint_exceptions.cy.ts index b1d6fb1a2c0f1..d848bef31f859 100644 --- a/x-pack/plugins/security_solution/cypress/e2e/exceptions/alerts_table_flow/endpoint_exceptions.cy.ts +++ b/x-pack/plugins/security_solution/cypress/e2e/exceptions/alerts_table_flow/endpoint_exceptions.cy.ts @@ -9,9 +9,9 @@ import { deleteAlertsAndRules } from '../../../tasks/common'; import { expandFirstAlert, goToClosedAlertsOnRuleDetailsPage, - goToOpenedAlertsOnRuleDetailsPage, openAddEndpointExceptionFromAlertActionButton, openAddEndpointExceptionFromFirstAlert, + waitForAlerts, } from '../../../tasks/alerts'; import { login, visitWithoutDateRange } from '../../../tasks/login'; import { getEndpointRule } from '../../../objects/rule'; @@ -31,27 +31,22 @@ import { submitNewExceptionItem, validateExceptionConditionField, } from '../../../tasks/exceptions'; -import { ALERTS_COUNT, EMPTY_ALERT_TABLE } from '../../../screens/alerts'; +import { ALERTS_COUNT } from '../../../screens/alerts'; import { ADD_AND_BTN, EXCEPTION_CARD_ITEM_CONDITIONS, EXCEPTION_CARD_ITEM_NAME, EXCEPTION_ITEM_VIEWER_CONTAINER, - NO_EXCEPTIONS_EXIST_PROMPT, } from '../../../screens/exceptions'; -import { - removeException, - goToAlertsTab, - goToEndpointExceptionsTab, -} from '../../../tasks/rule_details'; +import { goToEndpointExceptionsTab } from '../../../tasks/rule_details'; describe('Endpoint Exceptions workflows from Alert', () => { - const expectedNumberOfAlerts = 1; const ITEM_NAME = 'Sample Exception List Item'; const ITEM_NAME_EDIT = 'Sample Exception List Item'; const ADDITIONAL_ENTRY = 'host.hostname'; beforeEach(() => { + cy.task('esArchiverUnload', 'endpoint'); cy.task('esArchiverResetKibana'); login(); deleteAlertsAndRules(); @@ -65,7 +60,6 @@ describe('Endpoint Exceptions workflows from Alert', () => { after(() => { cy.task('esArchiverUnload', 'endpoint'); - cy.task('esArchiverUnload', 'endpoint_2'); }); it('Should be able to create and close single Endpoint exception from overflow menu', () => { @@ -80,33 +74,14 @@ describe('Endpoint Exceptions workflows from Alert', () => { addExceptionFlyoutItemName(ITEM_NAME); submitNewExceptionItem(); - // Alerts table should now be empty from having added exception and closed - // matching alert - cy.get(EMPTY_ALERT_TABLE).should('exist'); + // Instead of immediately checking if the Opened Alert has moved to the closed tab, + // use the waitForAlerts method to create a buffer, allowing the alerts some time to + // be moved to the Closed Alert tab. + waitForAlerts(); // Closed alert should appear in table goToClosedAlertsOnRuleDetailsPage(); cy.get(ALERTS_COUNT).should('exist'); - cy.get(ALERTS_COUNT).should('have.text', `${expectedNumberOfAlerts} alert`); - - // Endpoint Exception will move to Endpoint List under Exception tab of rule - goToEndpointExceptionsTab(); - - // Remove the exception and load an event that would have matched that exception - // to show that said exception now starts to show up again - removeException(); - // when removing exception and again, no more exist, empty screen shows again - cy.get(NO_EXCEPTIONS_EXIST_PROMPT).should('exist'); - - // load more docs - cy.task('esArchiverLoad', 'endpoint_2'); - - goToAlertsTab(); - goToOpenedAlertsOnRuleDetailsPage(); - waitForTheRuleToBeExecuted(); - waitForAlertsToPopulate(); - - cy.get(ALERTS_COUNT).should('have.text', `${expectedNumberOfAlerts} alert`); }); it('Should be able to create Endpoint exception from Alerts take action button, and change multiple exception items without resetting to initial auto-prefilled entries', () => { diff --git a/x-pack/plugins/security_solution/cypress/e2e/exceptions/alerts_table_flow/rule_exceptions.cy.ts b/x-pack/plugins/security_solution/cypress/e2e/exceptions/alerts_table_flow/rule_exceptions/auto_populate_with_alert_data.cy.ts similarity index 60% rename from x-pack/plugins/security_solution/cypress/e2e/exceptions/alerts_table_flow/rule_exceptions.cy.ts rename to x-pack/plugins/security_solution/cypress/e2e/exceptions/alerts_table_flow/rule_exceptions/auto_populate_with_alert_data.cy.ts index 31a5b796cb1c4..6bbdec283d976 100644 --- a/x-pack/plugins/security_solution/cypress/e2e/exceptions/alerts_table_flow/rule_exceptions.cy.ts +++ b/x-pack/plugins/security_solution/cypress/e2e/exceptions/alerts_table_flow/rule_exceptions/auto_populate_with_alert_data.cy.ts @@ -5,141 +5,64 @@ * 2.0. */ -import { LOADING_INDICATOR } from '../../../screens/security_header'; -import { getNewRule, getEndpointRule } from '../../../objects/rule'; -import { ALERTS_COUNT, EMPTY_ALERT_TABLE } from '../../../screens/alerts'; -import { createRule } from '../../../tasks/api_calls/rules'; -import { goToRuleDetails } from '../../../tasks/alerts_detection_rules'; +import { LOADING_INDICATOR } from '../../../../screens/security_header'; +import { getEndpointRule } from '../../../../objects/rule'; +import { createRule } from '../../../../tasks/api_calls/rules'; +import { goToRuleDetails } from '../../../../tasks/alerts_detection_rules'; import { addExceptionFromFirstAlert, expandFirstAlert, - goToClosedAlertsOnRuleDetailsPage, - goToOpenedAlertsOnRuleDetailsPage, openAddRuleExceptionFromAlertActionButton, -} from '../../../tasks/alerts'; +} from '../../../../tasks/alerts'; import { addExceptionEntryFieldValue, addExceptionEntryFieldValueValue, - addExceptionEntryOperatorValue, addExceptionFlyoutItemName, - selectBulkCloseAlerts, submitNewExceptionItem, - validateExceptionItemFirstAffectedRuleNameInRulePage, - validateExceptionItemAffectsTheCorrectRulesInRulePage, validateExceptionConditionField, validateExceptionCommentCountAndText, editExceptionFlyoutItemName, validateHighlightedFieldsPopulatedAsExceptionConditions, validateEmptyExceptionConditionField, -} from '../../../tasks/exceptions'; -import { login, visitWithoutDateRange } from '../../../tasks/login'; -import { - goToAlertsTab, - goToExceptionsTab, - removeException, - waitForTheRuleToBeExecuted, -} from '../../../tasks/rule_details'; +} from '../../../../tasks/exceptions'; +import { login, visitWithoutDateRange } from '../../../../tasks/login'; +import { goToExceptionsTab } from '../../../../tasks/rule_details'; -import { DETECTIONS_RULE_MANAGEMENT_URL } from '../../../urls/navigation'; -import { postDataView, deleteAlertsAndRules } from '../../../tasks/common'; +import { DETECTIONS_RULE_MANAGEMENT_URL } from '../../../../urls/navigation'; +import { deleteAlertsAndRules } from '../../../../tasks/common'; import { ADD_AND_BTN, ENTRY_DELETE_BTN, EXCEPTION_CARD_ITEM_CONDITIONS, EXCEPTION_CARD_ITEM_NAME, EXCEPTION_ITEM_VIEWER_CONTAINER, - NO_EXCEPTIONS_EXIST_PROMPT, -} from '../../../screens/exceptions'; -import { waitForAlertsToPopulate } from '../../../tasks/create_new_rule'; - -const loadEndpointRuleAndAlerts = () => { - cy.task('esArchiverLoad', 'endpoint'); - login(); - createRule(getEndpointRule()); - visitWithoutDateRange(DETECTIONS_RULE_MANAGEMENT_URL); - goToRuleDetails(); - waitForAlertsToPopulate(); -}; +} from '../../../../screens/exceptions'; +import { waitForAlertsToPopulate } from '../../../../tasks/create_new_rule'; -describe('Rule Exceptions workflows from Alert', () => { - const EXPECTED_NUMBER_OF_ALERTS = '1 alert'; +describe('Auto populate exception with Alert data', () => { const ITEM_NAME = 'Sample Exception Item'; const ITEM_NAME_EDIT = 'Sample Exception Item Edit'; const ADDITIONAL_ENTRY = 'host.hostname'; - const newRule = getNewRule(); beforeEach(() => { + cy.task('esArchiverUnload', 'endpoint'); cy.task('esArchiverResetKibana'); + cy.task('esArchiverLoad', 'endpoint'); + login(); + createRule(getEndpointRule()); + visitWithoutDateRange(DETECTIONS_RULE_MANAGEMENT_URL); + goToRuleDetails(); + waitForAlertsToPopulate(); }); after(() => { - cy.task('esArchiverUnload', 'exceptions'); + cy.task('esArchiverUnload', 'endpoint'); deleteAlertsAndRules(); }); afterEach(() => { - cy.task('esArchiverUnload', 'exceptions_2'); + cy.task('esArchiverUnload', 'endpoint'); }); - it('Should create a Rule exception item from alert actions overflow menu and close all matching alerts', () => { - cy.task('esArchiverLoad', 'exceptions'); - login(); - postDataView('exceptions-*'); - createRule({ - ...newRule, - query: 'agent.name:*', - data_view_id: 'exceptions-*', - interval: '10s', - rule_id: 'rule_testing', - }); - visitWithoutDateRange(DETECTIONS_RULE_MANAGEMENT_URL); - goToRuleDetails(); - waitForAlertsToPopulate(); - - cy.get(LOADING_INDICATOR).should('not.exist'); - addExceptionFromFirstAlert(); - - addExceptionEntryFieldValue('agent.name', 0); - addExceptionEntryOperatorValue('is', 0); - addExceptionEntryFieldValueValue('foo', 0); - - addExceptionFlyoutItemName(ITEM_NAME); - selectBulkCloseAlerts(); - submitNewExceptionItem(); - - // Alerts table should now be empty from having added exception and closed - // matching alert - cy.get(EMPTY_ALERT_TABLE).should('exist'); - - // Closed alert should appear in table - goToClosedAlertsOnRuleDetailsPage(); - cy.get(ALERTS_COUNT).should('exist'); - cy.get(ALERTS_COUNT).should('have.text', `${EXPECTED_NUMBER_OF_ALERTS}`); - - // Remove the exception and load an event that would have matched that exception - // to show that said exception now starts to show up again - goToExceptionsTab(); - - // Validate the exception is affecting the correct rule count and name - validateExceptionItemAffectsTheCorrectRulesInRulePage(1); - validateExceptionItemFirstAffectedRuleNameInRulePage(newRule.name); - - // when removing exception and again, no more exist, empty screen shows again - removeException(); - cy.get(NO_EXCEPTIONS_EXIST_PROMPT).should('exist'); - - // load more docs - cy.task('esArchiverLoad', 'exceptions_2'); - - // now that there are no more exceptions, the docs should match and populate alerts - goToAlertsTab(); - goToOpenedAlertsOnRuleDetailsPage(); - waitForTheRuleToBeExecuted(); - waitForAlertsToPopulate(); - - cy.get(ALERTS_COUNT).should('have.text', '2 alerts'); - }); it('Should create a Rule exception item from alert actions overflow menu and auto populate the conditions using alert Highlighted fields', () => { - loadEndpointRuleAndAlerts(); - cy.get(LOADING_INDICATOR).should('not.exist'); addExceptionFromFirstAlert(); @@ -171,8 +94,6 @@ describe('Rule Exceptions workflows from Alert', () => { submitNewExceptionItem(); }); it('Should create a Rule exception from Alerts take action button and change multiple exception items without resetting to initial auto-prefilled entries', () => { - loadEndpointRuleAndAlerts(); - cy.get(LOADING_INDICATOR).should('not.exist'); // Open first Alert Summary @@ -229,8 +150,6 @@ describe('Rule Exceptions workflows from Alert', () => { cy.get(EXCEPTION_CARD_ITEM_CONDITIONS).contains('span', 'host.hostname'); }); it('Should delete all prefilled exception entries when creating a Rule exception from Alerts take action button without resetting to initial auto-prefilled entries', () => { - loadEndpointRuleAndAlerts(); - cy.get(LOADING_INDICATOR).should('not.exist'); // Open first Alert Summary diff --git a/x-pack/plugins/security_solution/cypress/e2e/exceptions/alerts_table_flow/rule_exceptions/closing_all_matching_alerts.cy.ts b/x-pack/plugins/security_solution/cypress/e2e/exceptions/alerts_table_flow/rule_exceptions/closing_all_matching_alerts.cy.ts new file mode 100644 index 0000000000000..96bf48fa27935 --- /dev/null +++ b/x-pack/plugins/security_solution/cypress/e2e/exceptions/alerts_table_flow/rule_exceptions/closing_all_matching_alerts.cy.ts @@ -0,0 +1,81 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ +import { + addExceptionFromFirstAlert, + goToClosedAlertsOnRuleDetailsPage, + waitForAlerts, +} from '../../../../tasks/alerts'; +import { deleteAlertsAndRules, postDataView } from '../../../../tasks/common'; +import { waitForAlertsToPopulate } from '../../../../tasks/create_new_rule'; +import { login, visitWithoutDateRange } from '../../../../tasks/login'; +import { DETECTIONS_RULE_MANAGEMENT_URL } from '../../../../urls/navigation'; +import { goToRuleDetails } from '../../../../tasks/alerts_detection_rules'; +import { createRule } from '../../../../tasks/api_calls/rules'; +import { getNewRule } from '../../../../objects/rule'; +import { LOADING_INDICATOR } from '../../../../screens/security_header'; +import { ALERTS_COUNT } from '../../../../screens/alerts'; +import { + addExceptionEntryFieldValue, + addExceptionEntryOperatorValue, + addExceptionEntryFieldValueValue, + addExceptionFlyoutItemName, + selectBulkCloseAlerts, + submitNewExceptionItem, +} from '../../../../tasks/exceptions'; + +describe('Close matching Alerts ', () => { + const newRule = getNewRule(); + const ITEM_NAME = 'Sample Exception Item'; + + beforeEach(() => { + cy.task('esArchiverUnload', 'exceptions'); + cy.task('esArchiverResetKibana'); + deleteAlertsAndRules(); + cy.task('esArchiverLoad', 'exceptions'); + + login(); + postDataView('exceptions-*'); + createRule({ + ...newRule, + query: 'agent.name:*', + data_view_id: 'exceptions-*', + interval: '10s', + rule_id: 'rule_testing', + }); + visitWithoutDateRange(DETECTIONS_RULE_MANAGEMENT_URL); + goToRuleDetails(); + waitForAlertsToPopulate(); + }); + after(() => { + cy.task('esArchiverUnload', 'exceptions'); + }); + + it('Should create a Rule exception item from alert actions overflow menu and close all matching alerts', () => { + cy.get(LOADING_INDICATOR).should('not.exist'); + addExceptionFromFirstAlert(); + + addExceptionEntryFieldValue('agent.name', 0); + addExceptionEntryOperatorValue('is', 0); + addExceptionEntryFieldValueValue('foo', 0); + + addExceptionFlyoutItemName(ITEM_NAME); + selectBulkCloseAlerts(); + submitNewExceptionItem(); + + // Instead of immediately checking if the Opened Alert has moved to the closed tab, + // use the waitForAlerts method to create a buffer, allowing the alerts some time to + // be moved to the Closed Alert tab. + waitForAlerts(); + + // Closed alert should appear in table + goToClosedAlertsOnRuleDetailsPage(); + // We should not expect a specific number using should "have.text" because as the Rule is executing it is highly likely to create other + // alerts and when the exception conditions start to close matching alerts there might be more than what was + // before creating an exception + cy.get(ALERTS_COUNT).should('exist'); + }); +}); diff --git a/x-pack/plugins/security_solution/cypress/screens/case_details.ts b/x-pack/plugins/security_solution/cypress/screens/case_details.ts index 271ef54922d5d..1cf4af85f401e 100644 --- a/x-pack/plugins/security_solution/cypress/screens/case_details.ts +++ b/x-pack/plugins/security_solution/cypress/screens/case_details.ts @@ -5,6 +5,8 @@ * 2.0. */ +import { CaseMetricsFeature } from '@kbn/cases-plugin/common/api'; + export const CASE_ACTIONS = '[data-test-subj="property-actions-ellipses"]'; export const CASE_CONNECTOR = '[data-test-subj="connector-fields"] .euiCard__title'; @@ -14,7 +16,7 @@ export const CASE_DELETE = '[data-test-subj="property-actions-trash"]'; export const CASE_DETAILS_DESCRIPTION = '[data-test-subj="description"] [data-test-subj="scrollable-markdown"]'; -export const CASE_DETAILS_PAGE_TITLE = '[data-test-subj="header-page-title"]'; +export const CASE_DETAILS_PAGE_TITLE = '[data-test-subj="editable-title-header-value"]'; export const CASE_DETAILS_STATUS = '[data-test-subj="case-view-status-dropdown"]'; @@ -50,8 +52,13 @@ export const PARTICIPANTS = 1; export const REPORTER = 0; -export const EXPECTED_METRICS = ['alerts.count', 'alerts.users', 'alerts.hosts', 'connectors']; -export const UNEXPECTED_METRICS = ['actions.isolateHost']; +export const EXPECTED_METRICS = [ + CaseMetricsFeature.ALERTS_COUNT, + CaseMetricsFeature.ALERTS_USERS, + CaseMetricsFeature.ALERTS_HOSTS, + CaseMetricsFeature.CONNECTORS, +]; +export const UNEXPECTED_METRICS = [CaseMetricsFeature.ACTIONS_ISOLATE_HOST]; export const CASES_METRIC = (metric: string) => { return `[data-test-subj="case-metrics-totals-${metric}"]`; diff --git a/x-pack/plugins/security_solution/cypress/screens/security_header.ts b/x-pack/plugins/security_solution/cypress/screens/security_header.ts index 60563640425b9..293c4992e0750 100644 --- a/x-pack/plugins/security_solution/cypress/screens/security_header.ts +++ b/x-pack/plugins/security_solution/cypress/screens/security_header.ts @@ -60,8 +60,7 @@ export const NETWORK = '[data-test-subj="solutionSideNavPanelLink-network"]'; export const USERS = '[data-test-subj="solutionSideNavPanelLink-users"]'; -export const INDICATORS = - '[data-test-subj="solutionSideNavItemLink-threat_intelligence-indicators"]'; +export const INDICATORS = '[data-test-subj="solutionSideNavItemLink-threat_intelligence"]'; export const RULES = '[data-test-subj="solutionSideNavPanelLink-rules"]'; diff --git a/x-pack/plugins/security_solution/cypress/tasks/exceptions.ts b/x-pack/plugins/security_solution/cypress/tasks/exceptions.ts index 9195153d46f6f..a5d4bb698f5e2 100644 --- a/x-pack/plugins/security_solution/cypress/tasks/exceptions.ts +++ b/x-pack/plugins/security_solution/cypress/tasks/exceptions.ts @@ -171,6 +171,7 @@ export const validateEmptyExceptionConditionField = () => { cy.get(FIELD_INPUT).should('be.empty'); }; export const submitNewExceptionItem = () => { + cy.get(CONFIRM_BTN).should('exist'); cy.get(CONFIRM_BTN).click(); cy.get(CONFIRM_BTN).should('not.exist'); }; diff --git a/x-pack/plugins/security_solution/public/cases/pages/index.tsx b/x-pack/plugins/security_solution/public/cases/pages/index.tsx index 6485a395df95a..93b55e5a460c3 100644 --- a/x-pack/plugins/security_solution/public/cases/pages/index.tsx +++ b/x-pack/plugins/security_solution/public/cases/pages/index.tsx @@ -8,6 +8,7 @@ import React, { useCallback, useEffect, useMemo, useRef } from 'react'; import { useDispatch } from 'react-redux'; import type { CaseViewRefreshPropInterface } from '@kbn/cases-plugin/common'; +import { CaseMetricsFeature } from '@kbn/cases-plugin/common'; import { useTourContext } from '../../common/components/guided_onboarding_tour'; import { AlertsCasesTourSteps, @@ -114,7 +115,13 @@ const CaseContainerComponent: React.FC = () => { basePath: CASES_PATH, owner: [APP_ID], features: { - metrics: ['alerts.count', 'alerts.users', 'alerts.hosts', 'connectors', 'lifespan'], + metrics: [ + CaseMetricsFeature.ALERTS_COUNT, + CaseMetricsFeature.ALERTS_USERS, + CaseMetricsFeature.ALERTS_HOSTS, + CaseMetricsFeature.CONNECTORS, + CaseMetricsFeature.LIFESPAN, + ], alerts: { isExperimental: false }, }, refreshRef, diff --git a/x-pack/plugins/security_solution/public/common/components/navigation/security_side_nav/categories.ts b/x-pack/plugins/security_solution/public/common/components/navigation/security_side_nav/categories.ts index f3c1739e5bfe1..b30ea4844bf03 100644 --- a/x-pack/plugins/security_solution/public/common/components/navigation/security_side_nav/categories.ts +++ b/x-pack/plugins/security_solution/public/common/components/navigation/security_side_nav/categories.ts @@ -25,7 +25,7 @@ export const CATEGORIES: SeparatorLinkCategory[] = [ type: LinkCategoryType.separator, linkIds: [ SecurityPageName.timelines, - SecurityPageName.threatIntelligenceIndicators, + SecurityPageName.threatIntelligence, SecurityPageName.exploreLanding, ], }, diff --git a/x-pack/plugins/security_solution/public/overview/components/detection_response/soc_trends/hooks/use_cases_mttr.tsx b/x-pack/plugins/security_solution/public/overview/components/detection_response/soc_trends/hooks/use_cases_mttr.tsx index 7b52bc11e58c4..ace17a91b0f13 100644 --- a/x-pack/plugins/security_solution/public/overview/components/detection_response/soc_trends/hooks/use_cases_mttr.tsx +++ b/x-pack/plugins/security_solution/public/overview/components/detection_response/soc_trends/hooks/use_cases_mttr.tsx @@ -7,6 +7,7 @@ import { useEffect, useMemo, useReducer } from 'react'; import { v4 as uuidv4 } from 'uuid'; +import { CaseMetricsFeature } from '@kbn/cases-plugin/common'; import { statReducer } from './stat_reducer'; import type { GlobalTimeArgs } from '../../../../../common/containers/use_global_time'; import { useKibana } from '../../../../../common/lib/kibana'; @@ -63,7 +64,7 @@ export const useCasesMttr = ({ from, to, owner: APP_ID, - features: ['mttr'], + features: [CaseMetricsFeature.MTTR], }, abortCtrl.signal ), @@ -73,7 +74,7 @@ export const useCasesMttr = ({ from: fromCompare, to: toCompare, owner: APP_ID, - features: ['mttr'], + features: [CaseMetricsFeature.MTTR], }, abortCtrl.signal ), diff --git a/x-pack/plugins/security_solution/public/overview/components/overview_cti_links/threat_intel_panel_view.tsx b/x-pack/plugins/security_solution/public/overview/components/overview_cti_links/threat_intel_panel_view.tsx index df1e034a832f7..3665236b8ac67 100644 --- a/x-pack/plugins/security_solution/public/overview/components/overview_cti_links/threat_intel_panel_view.tsx +++ b/x-pack/plugins/security_solution/public/overview/components/overview_cti_links/threat_intel_panel_view.tsx @@ -69,7 +69,7 @@ export const ThreatIntelPanelView: React.FC = ({ () => ( ('indicators'), globalNavPosition: 7, - capabilities: [`${SERVER_APP_ID}.show`], + capabilities: [`${SERVER_APP_ID}.threat-intelligence`], }; diff --git a/x-pack/plugins/security_solution/public/threat_intelligence/routes.tsx b/x-pack/plugins/security_solution/public/threat_intelligence/routes.tsx index 87cf2a3ad60e7..5bec532b016b6 100644 --- a/x-pack/plugins/security_solution/public/threat_intelligence/routes.tsx +++ b/x-pack/plugins/security_solution/public/threat_intelligence/routes.tsx @@ -6,7 +6,6 @@ */ import React, { memo } from 'react'; -import { TrackApplicationView } from '@kbn/usage-collection-plugin/public'; import type { SecuritySolutionPluginContext } from '@kbn/threat-intelligence-plugin/public'; import { THREAT_INTELLIGENCE_BASE_PATH } from '@kbn/threat-intelligence-plugin/public'; import type { SourcererDataView } from '@kbn/threat-intelligence-plugin/public/types'; @@ -31,6 +30,7 @@ import { useGlobalTime } from '../common/containers/use_global_time'; import { deleteOneQuery, setQuery } from '../common/store/inputs/actions'; import { InputsModelId } from '../common/store/inputs/constants'; import { ArtifactFlyout } from '../management/components/artifact_list_page/components/artifact_flyout'; +import { SecurityRoutePageWrapper } from '../common/components/security_route_page_wrapper'; const ThreatIntelligence = memo(() => { const { threatIntelligence, http } = useKibana().services; @@ -85,10 +85,10 @@ const ThreatIntelligence = memo(() => { }; return ( - + - - + + ); }); diff --git a/x-pack/plugins/security_solution/server/lib/app_features/security_kibana_features.ts b/x-pack/plugins/security_solution/server/lib/app_features/security_kibana_features.ts index f8519a03ef043..99c86a02b80eb 100644 --- a/x-pack/plugins/security_solution/server/lib/app_features/security_kibana_features.ts +++ b/x-pack/plugins/security_solution/server/lib/app_features/security_kibana_features.ts @@ -155,6 +155,19 @@ export const getSecurityAppFeaturesConfig = ( }, }, + [AppFeatureSecurityKey.threatIntelligence]: { + privileges: { + all: { + ui: ['threat-intelligence'], + api: [`${APP_ID}-threat-intelligence`], + }, + read: { + ui: ['threat-intelligence'], + api: [`${APP_ID}-threat-intelligence`], + }, + }, + }, + [AppFeatureSecurityKey.endpointResponseActions]: { subFeatureIds: [ SecuritySubFeatureId.processOperations, diff --git a/x-pack/plugins/security_solution_serverless/common/pli/pli_config.ts b/x-pack/plugins/security_solution_serverless/common/pli/pli_config.ts index f848cc7c7e112..ace5891119c50 100644 --- a/x-pack/plugins/security_solution_serverless/common/pli/pli_config.ts +++ b/x-pack/plugins/security_solution_serverless/common/pli/pli_config.ts @@ -15,7 +15,11 @@ type PliAppFeatures = Readonly< export const PLI_APP_FEATURES: PliAppFeatures = { security: { essentials: [], - complete: [AppFeatureKey.advancedInsights, AppFeatureKey.casesConnectors], + complete: [ + AppFeatureKey.advancedInsights, + AppFeatureKey.threatIntelligence, + AppFeatureKey.casesConnectors, + ], }, endpoint: { essentials: [AppFeatureKey.endpointExceptions], diff --git a/x-pack/plugins/security_solution_serverless/public/navigation/side_navigation/categories.ts b/x-pack/plugins/security_solution_serverless/public/navigation/side_navigation/categories.ts index 62661aedf6bf1..7cc2ad97bff52 100644 --- a/x-pack/plugins/security_solution_serverless/public/navigation/side_navigation/categories.ts +++ b/x-pack/plugins/security_solution_serverless/public/navigation/side_navigation/categories.ts @@ -29,7 +29,7 @@ export const CATEGORIES: SeparatorLinkCategory[] = [ type: LinkCategoryType.separator, linkIds: [ SecurityPageName.timelines, - SecurityPageName.threatIntelligenceIndicators, + SecurityPageName.threatIntelligence, SecurityPageName.exploreLanding, ], }, diff --git a/x-pack/plugins/security_solution_serverless/public/upselling/pages/threat_intelligence_paywall.tsx b/x-pack/plugins/security_solution_serverless/public/upselling/pages/threat_intelligence_paywall.tsx new file mode 100644 index 0000000000000..0102742cbdc64 --- /dev/null +++ b/x-pack/plugins/security_solution_serverless/public/upselling/pages/threat_intelligence_paywall.tsx @@ -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 React from 'react'; +import { EuiEmptyPrompt, EuiIcon } from '@elastic/eui'; +import { FormattedMessage } from '@kbn/i18n-react'; +import type { AppFeatureKey } from '@kbn/security-solution-plugin/common'; +import { KibanaPageTemplate } from '@kbn/shared-ux-page-kibana-template'; +import { useProductTypeByPLI } from '../hooks/use_product_type_by_pli'; + +const ThreatIntelligencePaywall: React.FC<{ requiredPLI: AppFeatureKey }> = React.memo( + function PaywallComponent({ requiredPLI }) { + const productTypeRequired = useProductTypeByPLI(requiredPLI); + + return ( + + + } + color="subdued" + title={ +

+ +

+ } + body={ +

+ +

+ } + /> +
+
+ ); + } +); + +ThreatIntelligencePaywall.displayName = 'ThreatIntelligencePaywall'; + +// eslint-disable-next-line import/no-default-export +export { ThreatIntelligencePaywall as default }; diff --git a/x-pack/plugins/security_solution_serverless/public/upselling/register_upsellings.tsx b/x-pack/plugins/security_solution_serverless/public/upselling/register_upsellings.tsx index 7f5551ed8a1c3..5b5b4b0415597 100644 --- a/x-pack/plugins/security_solution_serverless/public/upselling/register_upsellings.tsx +++ b/x-pack/plugins/security_solution_serverless/public/upselling/register_upsellings.tsx @@ -4,16 +4,18 @@ * 2.0; you may not use this file except in compliance with the Elastic License * 2.0. */ -import type { SecurityPageName, AppFeatureKey } from '@kbn/security-solution-plugin/common'; +import { SecurityPageName, AppFeatureKey } from '@kbn/security-solution-plugin/common'; import type { UpsellingService, PageUpsellings, SectionUpsellings, UpsellingSectionId, } from '@kbn/security-solution-plugin/public'; +import React, { lazy } from 'react'; import type { SecurityProductTypes } from '../../common/config'; import { getProductAppFeatures } from '../../common/pli/pli_features'; +const ThreatIntelligencePaywallLazy = lazy(() => import('./pages/threat_intelligence_paywall')); interface UpsellingsConfig { pli: AppFeatureKey; component: React.ComponentType; @@ -61,6 +63,13 @@ export const upsellingPages: UpsellingPages = [ // pli: AppFeatureKey.advancedInsights, // component: () => , // }, + { + pageName: SecurityPageName.threatIntelligence, + pli: AppFeatureKey.threatIntelligence, + component: () => ( + + ), + }, ]; // Upsellings for sections, linked by arbitrary ids diff --git a/x-pack/plugins/task_manager/server/buffered_task_store.test.ts b/x-pack/plugins/task_manager/server/buffered_task_store.test.ts index 08d84c8236cf1..458b9d4c4bd2a 100644 --- a/x-pack/plugins/task_manager/server/buffered_task_store.test.ts +++ b/x-pack/plugins/task_manager/server/buffered_task_store.test.ts @@ -11,13 +11,57 @@ import { asErr, asOk } from './lib/result_type'; import { taskManagerMock } from './mocks'; describe('Buffered Task Store', () => { - test('proxies the TaskStore for `maxAttempts` and `remove`', async () => { - const taskStore = taskStoreMock.create(); - taskStore.bulkUpdate.mockResolvedValue([]); - const bufferedStore = new BufferedTaskStore(taskStore, {}); + describe('remove', () => { + test(`proxies the TaskStore's and "bulkRemove"`, async () => { + const taskStore = taskStoreMock.create(); + const bufferedStore = new BufferedTaskStore(taskStore, {}); + + taskStore.bulkRemove.mockResolvedValue({ + statuses: [{ id: '1', type: 'task', success: true }], + }); + + await expect(bufferedStore.remove('1')).resolves.toBeUndefined(); + expect(taskStore.bulkRemove).toHaveBeenCalledTimes(1); + expect(taskStore.bulkRemove).toHaveBeenCalledWith(['1']); + }); + + test(`handles partially successfull bulkRemove resolving each call appropriately`, async () => { + const taskStore = taskStoreMock.create(); + const bufferedStore = new BufferedTaskStore(taskStore, {}); + + taskStore.bulkRemove.mockResolvedValue({ + statuses: [ + { id: '1', type: 'task', success: true }, + { + id: '2', + type: 'task', + success: false, + error: { error: 'foo', statusCode: 400, message: 'foo' }, + }, + { id: '3', type: 'task', success: true }, + ], + }); + + const results = [ + bufferedStore.remove('1'), + bufferedStore.remove('2'), + bufferedStore.remove('3'), + ]; - bufferedStore.remove('1'); - expect(taskStore.remove).toHaveBeenCalledWith('1'); + await expect(results[0]).resolves.toBeUndefined(); + await expect(results[1]).rejects.toMatchInlineSnapshot(` + Object { + "error": Object { + "error": "foo", + "message": "foo", + "statusCode": 400, + }, + "id": "2", + "type": "task", + } + `); + await expect(results[2]).resolves.toBeUndefined(); + }); }); describe('update', () => { @@ -139,7 +183,7 @@ describe('Buffered Task Store', () => { bufferedStore.update(tasks[3], { validate: true }), ]; expect(await results[0]).toMatchObject(tasks[0]); - expect(results[1]).rejects.toMatchInlineSnapshot(` + await expect(results[1]).rejects.toMatchInlineSnapshot(` Object { "error": Object { "error": "Oh no, something went terribly wrong", diff --git a/x-pack/plugins/task_manager/server/buffered_task_store.ts b/x-pack/plugins/task_manager/server/buffered_task_store.ts index 4135164c1e442..8009db4259263 100644 --- a/x-pack/plugins/task_manager/server/buffered_task_store.ts +++ b/x-pack/plugins/task_manager/server/buffered_task_store.ts @@ -8,14 +8,16 @@ import { TaskStore } from './task_store'; import { ConcreteTaskInstance } from './task'; import { Updatable } from './task_running'; -import { createBuffer, Operation, BufferOptions } from './lib/bulk_operation_buffer'; -import { unwrapPromise } from './lib/result_type'; +import { createBuffer, Operation, BufferOptions, Entity } from './lib/bulk_operation_buffer'; +import { unwrapPromise, asErr, asOk } from './lib/result_type'; // by default allow updates to be buffered for up to 50ms const DEFAULT_BUFFER_MAX_DURATION = 50; export class BufferedTaskStore implements Updatable { private bufferedUpdate: Operation; + private bufferedRemove: Operation; + constructor(private readonly taskStore: TaskStore, options: BufferOptions) { this.bufferedUpdate = createBuffer( // Setting validate: false because we'll validate per update call @@ -29,6 +31,20 @@ export class BufferedTaskStore implements Updatable { ...options, } ); + this.bufferedRemove = createBuffer( + async (ids) => { + const result = await taskStore.bulkRemove(ids.map(({ id }) => id)); + return result.statuses.map((status) => + status.error + ? asErr({ error: status.error, id: status.id, type: status.type }) + : asOk(status) + ); + }, + { + bufferMaxDuration: DEFAULT_BUFFER_MAX_DURATION, + ...options, + } + ); } public async update( @@ -45,6 +61,6 @@ export class BufferedTaskStore implements Updatable { } public async remove(id: string): Promise { - return this.taskStore.remove(id); + await unwrapPromise(this.bufferedRemove({ id })); } } diff --git a/x-pack/plugins/task_manager/server/task_store.test.ts b/x-pack/plugins/task_manager/server/task_store.test.ts index 193b2027bca9f..76cce77144256 100644 --- a/x-pack/plugins/task_manager/server/task_store.test.ts +++ b/x-pack/plugins/task_manager/server/task_store.test.ts @@ -692,7 +692,7 @@ describe('TaskStore', () => { const id = randomId(); const result = await store.remove(id); expect(result).toBeUndefined(); - expect(savedObjectsClient.delete).toHaveBeenCalledWith('task', id); + expect(savedObjectsClient.delete).toHaveBeenCalledWith('task', id, { refresh: false }); }); test('pushes error from saved objects client to errors$', async () => { @@ -727,10 +727,13 @@ describe('TaskStore', () => { test('removes the tasks with the specified ids', async () => { const result = await store.bulkRemove(tasksIdsToDelete); expect(result).toBeUndefined(); - expect(savedObjectsClient.bulkDelete).toHaveBeenCalledWith([ - { type: 'task', id: tasksIdsToDelete[0] }, - { type: 'task', id: tasksIdsToDelete[1] }, - ]); + expect(savedObjectsClient.bulkDelete).toHaveBeenCalledWith( + [ + { type: 'task', id: tasksIdsToDelete[0] }, + { type: 'task', id: tasksIdsToDelete[1] }, + ], + { refresh: false } + ); }); test('pushes error from saved objects client to errors$', async () => { diff --git a/x-pack/plugins/task_manager/server/task_store.ts b/x-pack/plugins/task_manager/server/task_store.ts index d3c84e2c4e561..52140b2e4d468 100644 --- a/x-pack/plugins/task_manager/server/task_store.ts +++ b/x-pack/plugins/task_manager/server/task_store.ts @@ -345,7 +345,7 @@ export class TaskStore { */ public async remove(id: string): Promise { try { - await this.savedObjectsRepository.delete('task', id); + await this.savedObjectsRepository.delete('task', id, { refresh: false }); } catch (e) { this.errors$.next(e); throw e; @@ -361,7 +361,7 @@ export class TaskStore { public async bulkRemove(taskIds: string[]): Promise { try { const savedObjectsToDelete = taskIds.map((taskId) => ({ id: taskId, type: 'task' })); - return await this.savedObjectsRepository.bulkDelete(savedObjectsToDelete); + return await this.savedObjectsRepository.bulkDelete(savedObjectsToDelete, { refresh: false }); } catch (e) { this.errors$.next(e); throw e; diff --git a/x-pack/plugins/threat_intelligence/cypress/screens/common.ts b/x-pack/plugins/threat_intelligence/cypress/screens/common.ts index 9699e0f562e3b..fdbd8d97d4ea3 100644 --- a/x-pack/plugins/threat_intelligence/cypress/screens/common.ts +++ b/x-pack/plugins/threat_intelligence/cypress/screens/common.ts @@ -7,5 +7,5 @@ export const UPDATE_STATUS = `[data-test-subj="updateStatus"]`; export const SECURITY_SOLUTION_NAVBAR_MANAGE_ITEM = `[data-test-subj="solutionSideNavItemLink-administration"]`; -export const SECURITY_SOLUTION_NAVBAR_THREAT_INTELLIGENCE_ITEM = `[data-test-subj="solutionSideNavItemLink-threat_intelligence-indicators"]`; +export const SECURITY_SOLUTION_NAVBAR_THREAT_INTELLIGENCE_ITEM = `[data-test-subj="solutionSideNavItemLink-threat_intelligence"]`; export const MANAGE_NAVIGATION_ITEMS = `.euiLink`; diff --git a/x-pack/plugins/threat_intelligence/public/constants/navigation.ts b/x-pack/plugins/threat_intelligence/public/constants/navigation.ts index c77dccc745112..5164c815cc378 100644 --- a/x-pack/plugins/threat_intelligence/public/constants/navigation.ts +++ b/x-pack/plugins/threat_intelligence/public/constants/navigation.ts @@ -21,7 +21,7 @@ export const threatIntelligencePages: Record = { oldNavigationName: INDICATORS, newNavigationName: INTELLIGENCE, path: `${THREAT_INTELLIGENCE_BASE_PATH}/indicators`, - id: 'threat_intelligence-indicators', + id: 'threat_intelligence', description: DESCRIPTION, globalSearchKeywords: [INTELLIGENCE], keywords: [INTELLIGENCE], diff --git a/x-pack/plugins/threat_intelligence/public/types.ts b/x-pack/plugins/threat_intelligence/public/types.ts index dc02b266f1f5b..6d77f991dec1e 100644 --- a/x-pack/plugins/threat_intelligence/public/types.ts +++ b/x-pack/plugins/threat_intelligence/public/types.ts @@ -174,9 +174,9 @@ export type TIPage = 'indicators'; * This needs to match the threat intelligence page entries in SecurityPageName` (x-pack/plugins/security_solution/common/constants.ts). * * Example to add more IDs: - * export type TIPageId = 'threat_intelligence-indicators' | 'threat_intelligence-feed'; + * export type TIPageId = 'threat_intelligence' | 'threat_intelligence-feed'; */ -export type TIPageId = 'threat_intelligence-indicators'; +export type TIPageId = 'threat_intelligence'; /** * A record of all the properties that will be used to build deeplinks, links and navtabs objects. diff --git a/x-pack/plugins/watcher/public/application/sections/watch_list_page/watch_list_page.tsx b/x-pack/plugins/watcher/public/application/sections/watch_list_page/watch_list_page.tsx index 77668505742bc..cf0c1d4177d7f 100644 --- a/x-pack/plugins/watcher/public/application/sections/watch_list_page/watch_list_page.tsx +++ b/x-pack/plugins/watcher/public/application/sections/watch_list_page/watch_list_page.tsx @@ -62,7 +62,6 @@ export const WatchListPage = () => { pageIndex: 0, pageSize: PAGINATION.initialPageSize, }); - const [query, setQuery] = useState(''); useEffect(() => { setBreadcrumbs([listBreadcrumb]); @@ -447,14 +446,7 @@ export const WatchListPage = () => { : '', }; - const handleOnChange = (search: { queryText: string }) => { - setQuery(search.queryText); - return true; - }; - const searchConfig = { - query, - onChange: handleOnChange, box: { incremental: true, }, diff --git a/x-pack/test/api_integration/apis/synthetics/sync_global_params.ts b/x-pack/test/api_integration/apis/synthetics/sync_global_params.ts index b4b7eb8be2a3a..7a464b748a18a 100644 --- a/x-pack/test/api_integration/apis/synthetics/sync_global_params.ts +++ b/x-pack/test/api_integration/apis/synthetics/sync_global_params.ts @@ -22,7 +22,8 @@ import { PrivateLocationTestService } from './services/private_location_test_ser import { comparePolicies, getTestSyntheticsPolicy } from './sample_data/test_policy'; export default function ({ getService }: FtrProviderContext) { - describe('SyncGlobalParams', function () { + // Failing: See https://github.com/elastic/kibana/issues/162594 + describe.skip('SyncGlobalParams', function () { this.tags('skipCloud'); const supertestAPI = getService('supertest'); const kServer = getService('kibanaServer'); diff --git a/x-pack/test/api_integration/services/usage_api.ts b/x-pack/test/api_integration/services/usage_api.ts index c8b498232a876..fbcddfb3dc512 100644 --- a/x-pack/test/api_integration/services/usage_api.ts +++ b/x-pack/test/api_integration/services/usage_api.ts @@ -31,6 +31,7 @@ export function UsageAPIProvider({ getService }: FtrProviderContext) { const { body } = await supertest .post('/api/telemetry/v2/clusters/_stats') .set('kbn-xsrf', 'xxx') + .set('x-elastic-internal-origin', 'xxx') .send({ refreshCache: true, ...payload }) .expect(200); return body; diff --git a/x-pack/test/apm_api_integration/common/apm_api_supertest.ts b/x-pack/test/apm_api_integration/common/apm_api_supertest.ts index 4d8b39e67b4ab..ac16abff4098b 100644 --- a/x-pack/test/apm_api_integration/common/apm_api_supertest.ts +++ b/x-pack/test/apm_api_integration/common/apm_api_supertest.ts @@ -29,7 +29,10 @@ export function createApmApiClient(st: supertest.SuperTest) { const { method, pathname, version } = formatRequest(endpoint, params.path); const url = format({ pathname, query: params?.query }); - const headers: Record = { 'kbn-xsrf': 'foo' }; + const headers: Record = { + 'kbn-xsrf': 'foo', + 'x-elastic-internal-origin': 'foo', + }; if (version) { headers['Elastic-Api-Version'] = version; diff --git a/x-pack/test/apm_api_integration/tests/sourcemaps/sourcemaps.ts b/x-pack/test/apm_api_integration/tests/sourcemaps/sourcemaps.ts index ecaa2995ffb93..48a5cd4f1077e 100644 --- a/x-pack/test/apm_api_integration/tests/sourcemaps/sourcemaps.ts +++ b/x-pack/test/apm_api_integration/tests/sourcemaps/sourcemaps.ts @@ -27,6 +27,16 @@ const SAMPLE_SOURCEMAP = { mappings: 'A,AAAB;;ABCDE;', }; +const SAMPLE_ANDROID_MAP = `# compiler: R8 +# compiler_version: 3.2.47 +# min_api: 26 +# common_typos_disable +# {"id":"com.android.tools.r8.mapping","version":"2.0"} +# pg_map_id: 127b14c +# pg_map_hash: SHA-256 127b14c0be5dd1b55beee544a8d0e7c9414b432868ed8bc54ca5cc43cba12435 +a1.TableInfo$ForeignKey$$ExternalSyntheticOutline0 -> a1.e: +# {"id":"sourceFile","fileName":"R8$$SyntheticClass"}`; + export default function ApiTest({ getService }: FtrProviderContext) { const registry = getService('registry'); const apmApiClient = getService('apmApiClient'); @@ -99,6 +109,28 @@ export default function ApiTest({ getService }: FtrProviderContext) { return response.body; } + async function uploadAndroidMap({ + serviceName, + serviceVersion, + androidMap, + }: { + serviceName: string; + serviceVersion: string; + androidMap: string; + }) { + const response = await apmApiClient.writeUser({ + endpoint: 'POST /api/apm/androidmaps 2023-10-31', + type: 'form-data', + params: { + body: { + service_name: serviceName, + service_version: serviceVersion, + map_file: androidMap, + }, + }, + }); + return response.body; + } async function runSourceMapMigration() { await apmApiClient.writeUser({ endpoint: 'POST /internal/apm/sourcemaps/migrate_fleet_artifacts', @@ -128,6 +160,12 @@ export default function ApiTest({ getService }: FtrProviderContext) { await Promise.all([deleteAllFleetSourceMaps(), deleteAllApmSourceMaps()]); }); + async function getDecodedMapContent(encodedContent?: string): Promise { + if (encodedContent) { + return (await unzip(Buffer.from(encodedContent, 'base64'))).toString(); + } + } + async function getDecodedSourceMapContent( encodedContent?: string ): Promise { @@ -243,6 +281,111 @@ export default function ApiTest({ getService }: FtrProviderContext) { }); }); + let androidResp: APIReturnType<'POST /api/apm/androidmaps 2023-10-31'>; + describe('upload android map', () => { + after(async () => { + await apmApiClient.writeUser({ + endpoint: 'DELETE /api/apm/sourcemaps/{id} 2023-10-31', + params: { path: { id: androidResp.id } }, + }); + }); + + before(async () => { + androidResp = await uploadAndroidMap({ + serviceName: 'uploading-test', + serviceVersion: '1.0.0', + androidMap: SAMPLE_ANDROID_MAP, + }); + + await waitForSourceMapCount(1); + }); + + it('is uploaded as a fleet artifact', async () => { + const res = await esClient.search({ + index: '.fleet-artifacts', + size: 1, + query: { + bool: { + filter: [{ term: { type: 'sourcemap' } }, { term: { package_name: 'apm' } }], + }, + }, + }); + + // @ts-expect-error + expect(res.hits.hits[0]._source.identifier).to.be('uploading-test-1.0.0-android'); + }); + + it('is added to .apm-source-map index', async () => { + const res = await esClient.search({ + index: '.apm-source-map', + }); + + const source = res.hits.hits[0]._source; + const decodedSourceMap = await getDecodedMapContent(source?.content); + expect(decodedSourceMap).to.eql(SAMPLE_ANDROID_MAP); + expect(source?.content_sha256).to.be( + '702e07279b0fbed47fdbf5e71528dff845b4f07a16ca79cab0c1b06eb71be966' + ); + expect(source?.file.path).to.be('android'); + expect(source?.service.name).to.be('uploading-test'); + expect(source?.service.version).to.be('1.0.0'); + }); + + describe('when uploading a new android map with the same service.name and service.version', () => { + let resBefore: GetResponse; + let resAfter: GetResponse; + + before(async () => { + async function getSourceMapDocFromApmIndex() { + await esClient.indices.refresh({ index: '.apm-source-map' }); + return await esClient.get({ + index: '.apm-source-map', + id: 'uploading-test-1.0.0-android', + }); + } + + resBefore = await getSourceMapDocFromApmIndex(); + + await uploadAndroidMap({ + serviceName: 'uploading-test', + serviceVersion: '1.0.0', + androidMap: '# compiler: R8\n# ANOTHER MAP', + }); + + resAfter = await getSourceMapDocFromApmIndex(); + }); + + after(async () => { + await deleteAllApmSourceMaps(); + await deleteAllFleetSourceMaps(); + }); + + it('creates one document in the .apm-source-map index', async () => { + const res = await esClient.search({ index: '.apm-source-map', size: 0 }); + + // @ts-expect-error + expect(res.hits.total.value).to.be(1); + }); + + it('creates two documents in the .fleet-artifacts index', async () => { + const res = await listSourcemaps({ page: 1, perPage: 10 }); + expect(res.total).to.be(2); + }); + + it('updates the content', async () => { + const contentBefore = await getDecodedMapContent(resBefore._source?.content); + const contentAfter = await getDecodedMapContent(resAfter._source?.content); + + expect(contentBefore).to.be(SAMPLE_ANDROID_MAP); + expect(contentAfter).to.be('# compiler: R8\n# ANOTHER MAP'); + }); + + it('updates the content hash', async () => { + expect(resBefore._source?.content_sha256).to.not.be(resAfter._source?.content_sha256); + }); + }); + }); + describe('list source maps', async () => { before(async () => { const totalCount = 6; diff --git a/x-pack/test/cases_api_integration/common/lib/api/index.ts b/x-pack/test/cases_api_integration/common/lib/api/index.ts index 007efff840ba1..f9bbe17a00924 100644 --- a/x-pack/test/cases_api_integration/common/lib/api/index.ts +++ b/x-pack/test/cases_api_integration/common/lib/api/index.ts @@ -24,9 +24,14 @@ import { CASE_STATUS_URL, CASE_TAGS_URL, CASE_USER_ACTION_SAVED_OBJECT, + INTERNAL_CASE_METRICS_URL, INTERNAL_GET_CASE_CATEGORIES_URL, } from '@kbn/cases-plugin/common/constants'; -import { SingleCaseMetricsResponse, CasesMetricsResponse } from '@kbn/cases-plugin/common/api'; +import { + SingleCaseMetricsResponse, + CasesMetricsResponse, + CaseMetricsFeature, +} from '@kbn/cases-plugin/common/api'; import { SignalHit } from '@kbn/security-solution-plugin/server/lib/detection_engine/rule_types/types'; import { ActionResult } from '@kbn/actions-plugin/server/types'; import { CasePersistedAttributes } from '@kbn/cases-plugin/server/common/types/case'; @@ -537,12 +542,12 @@ export const getCaseMetrics = async ({ }: { supertest: SuperTest.SuperTest; caseId: string; - features: string[] | string; + features: CaseMetricsFeature[] | CaseMetricsFeature; expectedHttpCode?: number; auth?: { user: User; space: string | null }; }): Promise => { const { body: metricsResponse } = await supertest - .get(`${getSpaceUrlPrefix(auth?.space)}${CASES_URL}/metrics/${caseId}`) + .get(`${getSpaceUrlPrefix(auth?.space)}${INTERNAL_CASE_METRICS_URL}/${caseId}`) .query({ features }) .auth(auth.user.username, auth.user.password) .expect(expectedHttpCode); @@ -779,7 +784,7 @@ export const getCasesMetrics = async ({ auth?: { user: User; space: string | null }; }): Promise => { const { body: metricsResponse } = await supertest - .get(`${getSpaceUrlPrefix(auth?.space)}${CASES_URL}/metrics`) + .get(`${getSpaceUrlPrefix(auth?.space)}${INTERNAL_CASE_METRICS_URL}`) .query({ features, ...query }) .auth(auth.user.username, auth.user.password) .expect(expectedHttpCode); diff --git a/x-pack/test/cases_api_integration/security_and_spaces/tests/common/index.ts b/x-pack/test/cases_api_integration/security_and_spaces/tests/common/index.ts index 02f8e8d57ba57..72d6c093f4bfb 100644 --- a/x-pack/test/cases_api_integration/security_and_spaces/tests/common/index.ts +++ b/x-pack/test/cases_api_integration/security_and_spaces/tests/common/index.ts @@ -37,11 +37,11 @@ export default ({ loadTestFile }: FtrProviderContext): void => { loadTestFile(require.resolve('./configure/get_configure')); loadTestFile(require.resolve('./configure/patch_configure')); loadTestFile(require.resolve('./configure/post_configure')); - loadTestFile(require.resolve('./metrics/get_case_metrics')); - loadTestFile(require.resolve('./metrics/get_case_metrics_alerts')); - loadTestFile(require.resolve('./metrics/get_case_metrics_actions')); - loadTestFile(require.resolve('./metrics/get_case_metrics_connectors')); - loadTestFile(require.resolve('./metrics/get_cases_metrics')); + loadTestFile(require.resolve('./internal/metrics/get_case_metrics')); + loadTestFile(require.resolve('./internal/metrics/get_case_metrics_alerts')); + loadTestFile(require.resolve('./internal/metrics/get_case_metrics_actions')); + loadTestFile(require.resolve('./internal/metrics/get_case_metrics_connectors')); + loadTestFile(require.resolve('./internal/metrics/get_cases_metrics')); /** * Internal routes diff --git a/x-pack/test/cases_api_integration/security_and_spaces/tests/common/metrics/get_case_metrics.ts b/x-pack/test/cases_api_integration/security_and_spaces/tests/common/internal/metrics/get_case_metrics.ts similarity index 81% rename from x-pack/test/cases_api_integration/security_and_spaces/tests/common/metrics/get_case_metrics.ts rename to x-pack/test/cases_api_integration/security_and_spaces/tests/common/internal/metrics/get_case_metrics.ts index 1bafcfc84eb7b..9b3a81c99e31f 100644 --- a/x-pack/test/cases_api_integration/security_and_spaces/tests/common/metrics/get_case_metrics.ts +++ b/x-pack/test/cases_api_integration/security_and_spaces/tests/common/internal/metrics/get_case_metrics.ts @@ -5,10 +5,11 @@ * 2.0. */ +import { CaseMetricsFeature } from '@kbn/cases-plugin/common/api/metrics/case'; import expect from '@kbn/expect'; -import { FtrProviderContext } from '../../../../common/ftr_provider_context'; -import { createCase, deleteAllCaseItems, getCaseMetrics } from '../../../../common/lib/api'; +import { FtrProviderContext } from '../../../../../common/ftr_provider_context'; +import { createCase, deleteAllCaseItems, getCaseMetrics } from '../../../../../common/lib/api'; import { secOnly, obsOnly, @@ -19,8 +20,8 @@ import { obsSecRead, noKibanaPrivileges, obsSec, -} from '../../../../common/lib/authentication/users'; -import { getPostCaseRequest } from '../../../../common/lib/mock'; +} from '../../../../../common/lib/authentication/users'; +import { getPostCaseRequest } from '../../../../../common/lib/mock'; // eslint-disable-next-line import/no-default-export export default ({ getService }: FtrProviderContext): void => { @@ -36,7 +37,7 @@ export default ({ getService }: FtrProviderContext): void => { const metrics = await getCaseMetrics({ supertest, caseId: newCase.id, - features: 'connectors', + features: CaseMetricsFeature.CONNECTORS, }); expect(metrics).to.eql({ @@ -68,7 +69,7 @@ export default ({ getService }: FtrProviderContext): void => { const metrics = await getCaseMetrics({ supertest, caseId: closedCaseId, - features: ['lifespan'], + features: [CaseMetricsFeature.LIFESPAN], }); expect(metrics.lifespan?.creationDate).to.be('2021-06-17T18:57:41.682Z'); @@ -79,12 +80,13 @@ export default ({ getService }: FtrProviderContext): void => { const errorResponse = (await getCaseMetrics({ supertest, caseId: closedCaseId, + // @ts-expect-error: testing invalid feature features: ['bananas'], expectedHttpCode: 400, // casting here because we're expecting an error with a message field })) as unknown as { message: string }; - expect(errorResponse.message).to.contain('invalid features'); + expect(errorResponse.message).to.contain('Invalid value "bananas" supplied to "features"'); }); }); @@ -110,7 +112,7 @@ export default ({ getService }: FtrProviderContext): void => { const metrics = await getCaseMetrics({ supertest, caseId, - features: ['lifespan'], + features: [CaseMetricsFeature.LIFESPAN], }); expect(metrics).to.eql({ @@ -148,12 +150,12 @@ export default ({ getService }: FtrProviderContext): void => { supertest: supertestWithoutAuth, caseId: newCase.id, features: [ - 'lifespan', - 'alerts.hosts', - 'alerts.users', - 'alerts.count', - 'connectors', - 'actions.isolateHost', + CaseMetricsFeature.LIFESPAN, + CaseMetricsFeature.ALERTS_COUNT, + CaseMetricsFeature.ALERTS_HOSTS, + CaseMetricsFeature.ALERTS_USERS, + CaseMetricsFeature.CONNECTORS, + CaseMetricsFeature.ACTIONS_ISOLATE_HOST, ], auth: { user, space: 'space1' }, }); @@ -189,12 +191,12 @@ export default ({ getService }: FtrProviderContext): void => { supertest: supertestWithoutAuth, caseId: newCase.id, features: [ - 'lifespan', - 'alerts.hosts', - 'alerts.users', - 'alerts.count', - 'connectors', - 'actions.isolateHost', + CaseMetricsFeature.LIFESPAN, + CaseMetricsFeature.ALERTS_COUNT, + CaseMetricsFeature.ALERTS_HOSTS, + CaseMetricsFeature.ALERTS_USERS, + CaseMetricsFeature.CONNECTORS, + CaseMetricsFeature.ACTIONS_ISOLATE_HOST, ], expectedHttpCode: 403, auth: { user, space: 'space1' }, @@ -217,12 +219,12 @@ export default ({ getService }: FtrProviderContext): void => { supertest: supertestWithoutAuth, caseId: newCase.id, features: [ - 'lifespan', - 'alerts.hosts', - 'alerts.users', - 'alerts.count', - 'connectors', - 'actions.isolateHost', + CaseMetricsFeature.LIFESPAN, + CaseMetricsFeature.ALERTS_COUNT, + CaseMetricsFeature.ALERTS_HOSTS, + CaseMetricsFeature.ALERTS_USERS, + CaseMetricsFeature.CONNECTORS, + CaseMetricsFeature.ACTIONS_ISOLATE_HOST, ], expectedHttpCode: 403, auth: { user: secOnly, space: 'space2' }, diff --git a/x-pack/test/cases_api_integration/security_and_spaces/tests/common/metrics/get_case_metrics_actions.ts b/x-pack/test/cases_api_integration/security_and_spaces/tests/common/internal/metrics/get_case_metrics_actions.ts similarity index 88% rename from x-pack/test/cases_api_integration/security_and_spaces/tests/common/metrics/get_case_metrics_actions.ts rename to x-pack/test/cases_api_integration/security_and_spaces/tests/common/internal/metrics/get_case_metrics_actions.ts index f850ed1d472f1..8b4f0f5870f7d 100644 --- a/x-pack/test/cases_api_integration/security_and_spaces/tests/common/metrics/get_case_metrics_actions.ts +++ b/x-pack/test/cases_api_integration/security_and_spaces/tests/common/internal/metrics/get_case_metrics_actions.ts @@ -6,15 +6,16 @@ */ import expect from '@kbn/expect'; -import { getPostCaseRequest, postCommentActionsReq } from '../../../../common/lib/mock'; +import { CaseMetricsFeature } from '@kbn/cases-plugin/common/api/metrics/case'; +import { getPostCaseRequest, postCommentActionsReq } from '../../../../../common/lib/mock'; -import { FtrProviderContext } from '../../../../common/ftr_provider_context'; +import { FtrProviderContext } from '../../../../../common/ftr_provider_context'; import { createCase, createComment, deleteAllCaseItems, getCaseMetrics, -} from '../../../../common/lib/api'; +} from '../../../../../common/lib/api'; // eslint-disable-next-line import/no-default-export export default ({ getService }: FtrProviderContext): void => { @@ -33,7 +34,7 @@ export default ({ getService }: FtrProviderContext): void => { const metrics = await getCaseMetrics({ supertest, caseId: theCase.id, - features: ['actions.isolateHost'], + features: [CaseMetricsFeature.ACTIONS_ISOLATE_HOST], }); expect(metrics).to.eql({ @@ -66,7 +67,7 @@ export default ({ getService }: FtrProviderContext): void => { const metrics = await getCaseMetrics({ supertest, caseId: theCase.id, - features: ['actions.isolateHost'], + features: [CaseMetricsFeature.ACTIONS_ISOLATE_HOST], }); expect(metrics).to.eql({ @@ -103,7 +104,7 @@ export default ({ getService }: FtrProviderContext): void => { const metrics = await getCaseMetrics({ supertest, caseId: theCase.id, - features: ['actions.isolateHost'], + features: [CaseMetricsFeature.ACTIONS_ISOLATE_HOST], }); expect(metrics).to.eql({ diff --git a/x-pack/test/cases_api_integration/security_and_spaces/tests/common/metrics/get_case_metrics_alerts.ts b/x-pack/test/cases_api_integration/security_and_spaces/tests/common/internal/metrics/get_case_metrics_alerts.ts similarity index 89% rename from x-pack/test/cases_api_integration/security_and_spaces/tests/common/metrics/get_case_metrics_alerts.ts rename to x-pack/test/cases_api_integration/security_and_spaces/tests/common/internal/metrics/get_case_metrics_alerts.ts index b270121ee947b..04a0c5ff514a3 100644 --- a/x-pack/test/cases_api_integration/security_and_spaces/tests/common/metrics/get_case_metrics_alerts.ts +++ b/x-pack/test/cases_api_integration/security_and_spaces/tests/common/internal/metrics/get_case_metrics_alerts.ts @@ -6,16 +6,17 @@ */ import expect from '@kbn/expect'; -import { getPostCaseRequest, postCommentAlertReq } from '../../../../common/lib/mock'; +import { CaseMetricsFeature } from '@kbn/cases-plugin/common/api/metrics/case'; +import { getPostCaseRequest, postCommentAlertReq } from '../../../../../common/lib/mock'; -import { FtrProviderContext } from '../../../../common/ftr_provider_context'; +import { FtrProviderContext } from '../../../../../common/ftr_provider_context'; import { createCase, createComment, deleteAllCaseItems, getCaseMetrics, -} from '../../../../common/lib/api'; -import { arraysToEqual } from '../../../../common/lib/validation'; +} from '../../../../../common/lib/api'; +import { arraysToEqual } from '../../../../../common/lib/validation'; // eslint-disable-next-line import/no-default-export export default ({ getService }: FtrProviderContext): void => { @@ -41,7 +42,7 @@ export default ({ getService }: FtrProviderContext): void => { const metrics = await getCaseMetrics({ supertest, caseId, - features: ['alerts.hosts'], + features: [CaseMetricsFeature.ALERTS_HOSTS], }); expect(metrics.alerts?.hosts?.total).to.be(3); @@ -58,7 +59,7 @@ export default ({ getService }: FtrProviderContext): void => { const metrics = await getCaseMetrics({ supertest, caseId, - features: ['alerts.users'], + features: [CaseMetricsFeature.ALERTS_USERS], }); expect(metrics.alerts?.users?.total).to.be(4); @@ -76,7 +77,7 @@ export default ({ getService }: FtrProviderContext): void => { const metrics = await getCaseMetrics({ supertest, caseId, - features: ['alerts.users', 'alerts.hosts'], + features: [CaseMetricsFeature.ALERTS_USERS, CaseMetricsFeature.ALERTS_HOSTS], }); expect(metrics.alerts?.hosts?.total).to.be(3); @@ -122,7 +123,7 @@ export default ({ getService }: FtrProviderContext): void => { const metrics = await getCaseMetrics({ supertest, caseId: theCase.id, - features: ['alerts.users', 'alerts.hosts'], + features: [CaseMetricsFeature.ALERTS_USERS, CaseMetricsFeature.ALERTS_HOSTS], }); expect(metrics.alerts?.hosts).to.eql({ @@ -141,7 +142,11 @@ export default ({ getService }: FtrProviderContext): void => { const metrics = await getCaseMetrics({ supertest, caseId, - features: ['alerts.users', 'alerts.hosts', 'alerts.count'], + features: [ + CaseMetricsFeature.ALERTS_USERS, + CaseMetricsFeature.ALERTS_HOSTS, + CaseMetricsFeature.ALERTS_COUNT, + ], }); expect(metrics.alerts?.hosts?.total).to.be(3); @@ -172,7 +177,7 @@ export default ({ getService }: FtrProviderContext): void => { const metrics = await getCaseMetrics({ supertest, caseId: theCase.id, - features: ['alerts.count'], + features: [CaseMetricsFeature.ALERTS_COUNT], }); expect(metrics).to.eql({ @@ -199,7 +204,7 @@ export default ({ getService }: FtrProviderContext): void => { const metrics = await getCaseMetrics({ supertest, caseId: theCase.id, - features: ['alerts.count'], + features: [CaseMetricsFeature.ALERTS_COUNT], }); expect(metrics).to.eql({ diff --git a/x-pack/test/cases_api_integration/security_and_spaces/tests/common/metrics/get_case_metrics_connectors.ts b/x-pack/test/cases_api_integration/security_and_spaces/tests/common/internal/metrics/get_case_metrics_connectors.ts similarity index 91% rename from x-pack/test/cases_api_integration/security_and_spaces/tests/common/metrics/get_case_metrics_connectors.ts rename to x-pack/test/cases_api_integration/security_and_spaces/tests/common/internal/metrics/get_case_metrics_connectors.ts index 19564ade7b02a..8a28e64b48c49 100644 --- a/x-pack/test/cases_api_integration/security_and_spaces/tests/common/metrics/get_case_metrics_connectors.ts +++ b/x-pack/test/cases_api_integration/security_and_spaces/tests/common/internal/metrics/get_case_metrics_connectors.ts @@ -7,16 +7,17 @@ import expect from '@kbn/expect'; import { ConnectorTypes } from '@kbn/cases-plugin/common/types/domain'; -import { getPostCaseRequest } from '../../../../common/lib/mock'; -import { ObjectRemover as ActionsRemover } from '../../../../../alerting_api_integration/common/lib'; +import { CaseMetricsFeature } from '@kbn/cases-plugin/common/api/metrics/case'; +import { getPostCaseRequest } from '../../../../../common/lib/mock'; +import { ObjectRemover as ActionsRemover } from '../../../../../../alerting_api_integration/common/lib'; -import { FtrProviderContext } from '../../../../common/ftr_provider_context'; +import { FtrProviderContext } from '../../../../../common/ftr_provider_context'; import { createCase, deleteAllCaseItems, getCaseMetrics, updateCase, -} from '../../../../common/lib/api'; +} from '../../../../../common/lib/api'; // eslint-disable-next-line import/no-default-export export default ({ getService }: FtrProviderContext): void => { @@ -55,7 +56,7 @@ export default ({ getService }: FtrProviderContext): void => { const metrics = await getCaseMetrics({ supertest, caseId, - features: ['connectors'], + features: [CaseMetricsFeature.CONNECTORS], }); expect(metrics).to.eql({ diff --git a/x-pack/test/cases_api_integration/security_and_spaces/tests/common/metrics/get_cases_metrics.ts b/x-pack/test/cases_api_integration/security_and_spaces/tests/common/internal/metrics/get_cases_metrics.ts similarity index 89% rename from x-pack/test/cases_api_integration/security_and_spaces/tests/common/metrics/get_cases_metrics.ts rename to x-pack/test/cases_api_integration/security_and_spaces/tests/common/internal/metrics/get_cases_metrics.ts index 24b3defbc5d88..f7089db84985b 100644 --- a/x-pack/test/cases_api_integration/security_and_spaces/tests/common/metrics/get_cases_metrics.ts +++ b/x-pack/test/cases_api_integration/security_and_spaces/tests/common/internal/metrics/get_cases_metrics.ts @@ -7,6 +7,7 @@ import expect from '@kbn/expect'; import { CaseStatuses } from '@kbn/cases-plugin/common/types/domain'; +import { CaseMetricsFeature } from '@kbn/cases-plugin/common'; import { secOnly, obsOnlyRead, @@ -16,15 +17,15 @@ import { globalRead, obsSecRead, obsSec, -} from '../../../../common/lib/authentication/users'; -import { FtrProviderContext } from '../../../../common/ftr_provider_context'; +} from '../../../../../common/lib/authentication/users'; +import { FtrProviderContext } from '../../../../../common/ftr_provider_context'; import { createCase, deleteAllCaseItems, getCasesMetrics, updateCase, -} from '../../../../common/lib/api'; -import { getPostCaseRequest } from '../../../../common/lib/mock'; +} from '../../../../../common/lib/api'; +import { getPostCaseRequest } from '../../../../../common/lib/mock'; // eslint-disable-next-line import/no-default-export export default ({ getService }: FtrProviderContext): void => { @@ -37,7 +38,7 @@ export default ({ getService }: FtrProviderContext): void => { it('accepts the features as string', async () => { const metrics = await getCasesMetrics({ supertest, - features: 'mttr', + features: CaseMetricsFeature.MTTR, }); expect(metrics).to.eql({ mttr: null }); @@ -45,11 +46,11 @@ export default ({ getService }: FtrProviderContext): void => { await deleteAllCaseItems(es); }); - describe('MTTR', () => { + describe(CaseMetricsFeature.MTTR, () => { it('responses with null if there are no cases', async () => { const metrics = await getCasesMetrics({ supertest, - features: ['mttr'], + features: [CaseMetricsFeature.MTTR], }); expect(metrics).to.eql({ mttr: null }); @@ -74,7 +75,7 @@ export default ({ getService }: FtrProviderContext): void => { const metrics = await getCasesMetrics({ supertest, - features: ['mttr'], + features: [CaseMetricsFeature.MTTR], }); expect(metrics).to.eql({ mttr: null }); @@ -97,7 +98,7 @@ export default ({ getService }: FtrProviderContext): void => { it('should calculate the mttr correctly across all cases', async () => { const metrics = await getCasesMetrics({ supertest, - features: ['mttr'], + features: [CaseMetricsFeature.MTTR], }); expect(metrics).to.eql({ mttr: 220 }); @@ -106,7 +107,7 @@ export default ({ getService }: FtrProviderContext): void => { it('should respects the range parameters', async () => { const metrics = await getCasesMetrics({ supertest, - features: ['mttr'], + features: [CaseMetricsFeature.MTTR], query: { from: '2022-04-28', to: '2022-04-29', @@ -160,7 +161,7 @@ export default ({ getService }: FtrProviderContext): void => { ]) { const metrics = await getCasesMetrics({ supertest: supertestWithoutAuth, - features: ['mttr'], + features: [CaseMetricsFeature.MTTR], auth: { user: scenario.user, space: 'space1', @@ -181,7 +182,7 @@ export default ({ getService }: FtrProviderContext): void => { // user should not be able to read cases at the appropriate space await getCasesMetrics({ supertest: supertestWithoutAuth, - features: ['mttr'], + features: [CaseMetricsFeature.MTTR], auth: { user: scenario.user, space: scenario.space, @@ -194,7 +195,7 @@ export default ({ getService }: FtrProviderContext): void => { it('should respect the owner filter when having permissions', async () => { const metrics = await getCasesMetrics({ supertest: supertestWithoutAuth, - features: ['mttr'], + features: [CaseMetricsFeature.MTTR], query: { owner: 'securitySolutionFixture', }, @@ -210,7 +211,7 @@ export default ({ getService }: FtrProviderContext): void => { it('should return the correct cases when trying to exploit RBAC through the owner query parameter', async () => { const metrics = await getCasesMetrics({ supertest: supertestWithoutAuth, - features: ['mttr'], + features: [CaseMetricsFeature.MTTR], query: { owner: ['securitySolutionFixture', 'observabilityFixture'], }, @@ -226,7 +227,7 @@ export default ({ getService }: FtrProviderContext): void => { it('should respect the owner filter when using range queries', async () => { const metrics = await getCasesMetrics({ supertest: supertestWithoutAuth, - features: ['mttr'], + features: [CaseMetricsFeature.MTTR], query: { from: '2022-04-20', to: '2022-04-30', diff --git a/x-pack/test/cases_api_integration/spaces_only/tests/common/metrics/get_cases_metrics.ts b/x-pack/test/cases_api_integration/spaces_only/tests/common/metrics/get_cases_metrics.ts index 574fdcaa2be9c..cd9cb877ce5a1 100644 --- a/x-pack/test/cases_api_integration/spaces_only/tests/common/metrics/get_cases_metrics.ts +++ b/x-pack/test/cases_api_integration/spaces_only/tests/common/metrics/get_cases_metrics.ts @@ -5,6 +5,7 @@ * 2.0. */ +import { CaseMetricsFeature } from '@kbn/cases-plugin/common/api/metrics/case'; import expect from '@kbn/expect'; import { FtrProviderContext } from '../../../../common/ftr_provider_context'; @@ -51,7 +52,7 @@ export default ({ getService }: FtrProviderContext): void => { it('should calculate the mttr correctly on space 1', async () => { const metrics = await getCasesMetrics({ supertest: supertestWithoutAuth, - features: ['mttr'], + features: [CaseMetricsFeature.MTTR], auth: authSpace1, }); @@ -62,7 +63,7 @@ export default ({ getService }: FtrProviderContext): void => { const authSpace2 = getAuthWithSuperUser('space2'); const metrics = await getCasesMetrics({ supertest: supertestWithoutAuth, - features: ['mttr'], + features: [CaseMetricsFeature.MTTR], auth: authSpace2, }); diff --git a/x-pack/test/functional/services/cases/single_case_view.ts b/x-pack/test/functional/services/cases/single_case_view.ts index cf27d4c2498d5..008f89c5b3ee8 100644 --- a/x-pack/test/functional/services/cases/single_case_view.ts +++ b/x-pack/test/functional/services/cases/single_case_view.ts @@ -110,7 +110,7 @@ export function CasesSingleViewServiceProvider({ getService, getPageObject }: Ft }, async assertCaseTitle(expectedTitle: string) { - const actionTitle = await testSubjects.getVisibleText('header-page-title'); + const actionTitle = await testSubjects.getVisibleText('editable-title-header-value'); expect(actionTitle).to.eql( expectedTitle, `Expected case title to be '${expectedTitle}' (got '${actionTitle}')` @@ -138,7 +138,7 @@ export function CasesSingleViewServiceProvider({ getService, getPageObject }: Ft async closeAssigneesPopover() { await retry.try(async () => { // Click somewhere outside the popover - await testSubjects.click('header-page-title'); + await testSubjects.click('editable-title-header-value'); await header.waitUntilLoadingHasFinished(); await testSubjects.missingOrFail('euiSelectableList'); }); diff --git a/x-pack/test/functional_with_es_ssl/apps/cases/group1/create_case_form.ts b/x-pack/test/functional_with_es_ssl/apps/cases/group1/create_case_form.ts index 51b6ecbe73d8b..7eec8e96ef380 100644 --- a/x-pack/test/functional_with_es_ssl/apps/cases/group1/create_case_form.ts +++ b/x-pack/test/functional_with_es_ssl/apps/cases/group1/create_case_form.ts @@ -48,7 +48,7 @@ export default ({ getService, getPageObject }: FtrProviderContext) => { }); // validate title - const title = await find.byCssSelector('[data-test-subj="header-page-title"]'); + const title = await find.byCssSelector('[data-test-subj="editable-title-header-value"]'); expect(await title.getVisibleText()).equal(caseTitle); // validate description diff --git a/x-pack/test/functional_with_es_ssl/apps/cases/group1/view_case.ts b/x-pack/test/functional_with_es_ssl/apps/cases/group1/view_case.ts index 0790b9d66ddf2..ab4ed59336826 100644 --- a/x-pack/test/functional_with_es_ssl/apps/cases/group1/view_case.ts +++ b/x-pack/test/functional_with_es_ssl/apps/cases/group1/view_case.ts @@ -58,13 +58,13 @@ export default ({ getPageObject, getService }: FtrProviderContext) => { it('edits a case title from the case view page', async () => { const newTitle = `test-${uuidv4()}`; - await testSubjects.click('editable-title-edit-icon'); + await testSubjects.click('editable-title-header-value'); await testSubjects.setValue('editable-title-input-field', newTitle); await testSubjects.click('editable-title-submit-btn'); // wait for backend response await retry.tryForTime(5000, async () => { - const title = await find.byCssSelector('[data-test-subj="header-page-title"]'); + const title = await find.byCssSelector('[data-test-subj="editable-title-header-value"]'); expect(await title.getVisibleText()).equal(newTitle); }); @@ -75,7 +75,7 @@ export default ({ getPageObject, getService }: FtrProviderContext) => { it('shows error message when title is more than 160 characters', async () => { const longTitle = Array(161).fill('x').toString(); - await testSubjects.click('editable-title-edit-icon'); + await testSubjects.click('editable-title-header-value'); await testSubjects.setValue('editable-title-input-field', longTitle); await testSubjects.click('editable-title-submit-btn'); diff --git a/x-pack/test/functional_with_es_ssl/apps/cases/group2/attachment_framework.ts b/x-pack/test/functional_with_es_ssl/apps/cases/group2/attachment_framework.ts index 648362070907a..d3ce3d1a85d7f 100644 --- a/x-pack/test/functional_with_es_ssl/apps/cases/group2/attachment_framework.ts +++ b/x-pack/test/functional_with_es_ssl/apps/cases/group2/attachment_framework.ts @@ -385,7 +385,7 @@ export default ({ getPageObject, getService }: FtrProviderContext) => { await cases.common.expectToasterToContain(`${caseTitle} has been updated`); await testSubjects.click('toaster-content-case-view-link'); - const title = await find.byCssSelector('[data-test-subj="header-page-title"]'); + const title = await find.byCssSelector('[data-test-subj="editable-title-header-value"]'); expect(await title.getVisibleText()).toEqual(caseTitle); await testSubjects.existOrFail('comment-persistableState-.lens'); @@ -412,7 +412,7 @@ export default ({ getPageObject, getService }: FtrProviderContext) => { await cases.common.expectToasterToContain(`${theCaseTitle} has been updated`); await testSubjects.click('toaster-content-case-view-link'); - const title = await find.byCssSelector('[data-test-subj="header-page-title"]'); + const title = await find.byCssSelector('[data-test-subj="editable-title-header-value"]'); expect(await title.getVisibleText()).toEqual(theCaseTitle); await testSubjects.existOrFail('comment-persistableState-.lens'); diff --git a/x-pack/test/functional_with_es_ssl/apps/cases/group2/upgrade.ts b/x-pack/test/functional_with_es_ssl/apps/cases/group2/upgrade.ts index 93d12b5d908da..4076ddf286d8f 100644 --- a/x-pack/test/functional_with_es_ssl/apps/cases/group2/upgrade.ts +++ b/x-pack/test/functional_with_es_ssl/apps/cases/group2/upgrade.ts @@ -80,7 +80,7 @@ export default ({ getPageObject, getService }: FtrProviderContext) => { }); it('shows the title correctly', async () => { - const title = await testSubjects.find('header-page-title'); + const title = await testSubjects.find('editable-title-header-value'); expect(await title.getVisibleText()).equal('Upgrade test in Kibana'); }); diff --git a/x-pack/test/observability_onboarding_api_integration/tests/elastic_agent/config.spec.ts b/x-pack/test/observability_onboarding_api_integration/tests/elastic_agent/config.spec.ts index 0deffa986676a..5b4f5041d1d11 100644 --- a/x-pack/test/observability_onboarding_api_integration/tests/elastic_agent/config.spec.ts +++ b/x-pack/test/observability_onboarding_api_integration/tests/elastic_agent/config.spec.ts @@ -33,7 +33,7 @@ export default function ApiTest({ getService }: FtrProviderContext) { before(async () => { const req = await observabilityOnboardingApiClient.logMonitoringUser({ - endpoint: 'POST /internal/observability_onboarding/custom_logs/save', + endpoint: 'POST /internal/observability_onboarding/logs/flow', params: { body: { name: 'name', diff --git a/x-pack/test/observability_onboarding_api_integration/tests/custom_logs/progress/es_utils.ts b/x-pack/test/observability_onboarding_api_integration/tests/flow/progress/es_utils.ts similarity index 100% rename from x-pack/test/observability_onboarding_api_integration/tests/custom_logs/progress/es_utils.ts rename to x-pack/test/observability_onboarding_api_integration/tests/flow/progress/es_utils.ts diff --git a/x-pack/test/observability_onboarding_api_integration/tests/custom_logs/progress/progress.spec.ts b/x-pack/test/observability_onboarding_api_integration/tests/flow/progress/progress.spec.ts similarity index 96% rename from x-pack/test/observability_onboarding_api_integration/tests/custom_logs/progress/progress.spec.ts rename to x-pack/test/observability_onboarding_api_integration/tests/flow/progress/progress.spec.ts index c22b555b398d7..a6076261d81c4 100644 --- a/x-pack/test/observability_onboarding_api_integration/tests/custom_logs/progress/progress.spec.ts +++ b/x-pack/test/observability_onboarding_api_integration/tests/flow/progress/progress.spec.ts @@ -25,7 +25,7 @@ export default function ApiTest({ getService }: FtrProviderContext) { user?: ObservabilityOnboardingApiClientKey; }) { return await observabilityOnboardingApiClient[user]({ - endpoint: 'GET /internal/observability_onboarding/custom_logs/{onboardingId}/progress', + endpoint: 'GET /internal/observability_onboarding/flow/{onboardingId}/progress', params: { path: { onboardingId, @@ -41,7 +41,7 @@ export default function ApiTest({ getService }: FtrProviderContext) { before(async () => { const req = await observabilityOnboardingApiClient.logMonitoringUser({ - endpoint: 'POST /internal/observability_onboarding/custom_logs/save', + endpoint: 'POST /internal/observability_onboarding/logs/flow', params: { body: { name: 'name', @@ -104,7 +104,7 @@ export default function ApiTest({ getService }: FtrProviderContext) { describe('should not skip logs verification', () => { before(async () => { await observabilityOnboardingApiClient.logMonitoringUser({ - endpoint: 'POST /internal/observability_onboarding/custom_logs/{id}/step/{name}', + endpoint: 'POST /internal/observability_onboarding/flow/{id}/step/{name}', params: { path: { id: onboardingId, diff --git a/x-pack/test/observability_onboarding_api_integration/tests/custom_logs/save.spec.ts b/x-pack/test/observability_onboarding_api_integration/tests/logs/create.spec.ts similarity index 92% rename from x-pack/test/observability_onboarding_api_integration/tests/custom_logs/save.spec.ts rename to x-pack/test/observability_onboarding_api_integration/tests/logs/create.spec.ts index ad00d135d423e..1de222e2d2368 100644 --- a/x-pack/test/observability_onboarding_api_integration/tests/custom_logs/save.spec.ts +++ b/x-pack/test/observability_onboarding_api_integration/tests/logs/create.spec.ts @@ -18,7 +18,7 @@ export default function ApiTest({ getService }: FtrProviderContext) { async function callApiWithoutPrivileges(state = {}) { return await observabilityOnboardingApiClient.readUser({ - endpoint: 'POST /internal/observability_onboarding/custom_logs/save', + endpoint: 'POST /internal/observability_onboarding/logs/flow', params: { body: { name: 'name', @@ -30,7 +30,7 @@ export default function ApiTest({ getService }: FtrProviderContext) { async function callApiWithPrivileges(state = {}) { return await observabilityOnboardingApiClient.logMonitoringUser({ - endpoint: 'POST /internal/observability_onboarding/custom_logs/save', + endpoint: 'POST /internal/observability_onboarding/logs/flow', params: { body: { name: 'name', @@ -76,7 +76,7 @@ export default function ApiTest({ getService }: FtrProviderContext) { id: request.body.onboardingId, }); - expect(savedState.attributes).to.be.eql({ state, progress: {} }); + expect(savedState.attributes).to.be.eql({ type: 'logFiles', state, progress: {} }); }); }); }); diff --git a/x-pack/test/observability_onboarding_api_integration/tests/custom_logs/install_shipper_setup.spec.ts b/x-pack/test/observability_onboarding_api_integration/tests/logs/environment.spec.ts similarity index 95% rename from x-pack/test/observability_onboarding_api_integration/tests/custom_logs/install_shipper_setup.spec.ts rename to x-pack/test/observability_onboarding_api_integration/tests/logs/environment.spec.ts index b2a1c601f3905..95626901d452a 100644 --- a/x-pack/test/observability_onboarding_api_integration/tests/custom_logs/install_shipper_setup.spec.ts +++ b/x-pack/test/observability_onboarding_api_integration/tests/logs/environment.spec.ts @@ -15,7 +15,7 @@ export default function ApiTest({ getService }: FtrProviderContext) { async function callApiWithPrivileges() { return await observabilityOnboardingApiClient.logMonitoringUser({ - endpoint: 'GET /internal/observability_onboarding/custom_logs/install_shipper_setup', + endpoint: 'GET /internal/observability_onboarding/logs/setup/environment', }); } diff --git a/x-pack/test/observability_onboarding_api_integration/tests/custom_logs/privileges.spec.ts b/x-pack/test/observability_onboarding_api_integration/tests/logs/privileges.spec.ts similarity index 95% rename from x-pack/test/observability_onboarding_api_integration/tests/custom_logs/privileges.spec.ts rename to x-pack/test/observability_onboarding_api_integration/tests/logs/privileges.spec.ts index eefce48cde878..02de274373b20 100644 --- a/x-pack/test/observability_onboarding_api_integration/tests/custom_logs/privileges.spec.ts +++ b/x-pack/test/observability_onboarding_api_integration/tests/logs/privileges.spec.ts @@ -15,7 +15,7 @@ export default function ApiTest({ getService }: FtrProviderContext) { async function callApiAs(user: ObservabilityOnboardingApiClientKey) { return await observabilityOnboardingApiClient[user]({ - endpoint: 'GET /internal/observability_onboarding/custom_logs/privileges', + endpoint: 'GET /internal/observability_onboarding/logs/setup/privileges', }); } diff --git a/x-pack/test/observability_onboarding_api_integration/tests/custom_logs/update_step_progress.spec.ts b/x-pack/test/observability_onboarding_api_integration/tests/logs/update_step_progress.spec.ts similarity index 96% rename from x-pack/test/observability_onboarding_api_integration/tests/custom_logs/update_step_progress.spec.ts rename to x-pack/test/observability_onboarding_api_integration/tests/logs/update_step_progress.spec.ts index 1fd7c77abb7f2..0826b3719837b 100644 --- a/x-pack/test/observability_onboarding_api_integration/tests/custom_logs/update_step_progress.spec.ts +++ b/x-pack/test/observability_onboarding_api_integration/tests/logs/update_step_progress.spec.ts @@ -28,7 +28,7 @@ export default function ApiTest({ getService }: FtrProviderContext) { message?: string; }) { return await observabilityOnboardingApiClient.logMonitoringUser({ - endpoint: 'POST /internal/observability_onboarding/custom_logs/{id}/step/{name}', + endpoint: 'POST /internal/observability_onboarding/flow/{id}/step/{name}', params: { path: { id, @@ -64,7 +64,7 @@ export default function ApiTest({ getService }: FtrProviderContext) { beforeEach(async () => { const req = await observabilityOnboardingApiClient.logMonitoringUser({ - endpoint: 'POST /internal/observability_onboarding/custom_logs/save', + endpoint: 'POST /internal/observability_onboarding/logs/flow', params: { body: { name: 'name', diff --git a/x-pack/test_serverless/api_integration/test_suites/common/security_response_headers.ts b/x-pack/test_serverless/api_integration/test_suites/common/security_response_headers.ts index 47f541184a37c..01d1c1b147aa8 100644 --- a/x-pack/test_serverless/api_integration/test_suites/common/security_response_headers.ts +++ b/x-pack/test_serverless/api_integration/test_suites/common/security_response_headers.ts @@ -41,7 +41,7 @@ export default function ({ getService }: FtrProviderContext) { it('redirect endpoint response contains default security headers', async () => { const { header } = await supertest .get(`/logout`) - .set(svlCommonApi.getCommonRequestHeader()) + .set(svlCommonApi.getInternalRequestHeader()) .expect(200); expect(header).toBeDefined(); diff --git a/x-pack/test_serverless/api_integration/test_suites/common/security_users.ts b/x-pack/test_serverless/api_integration/test_suites/common/security_users.ts index af4e97fff06bc..2c82e216505b9 100644 --- a/x-pack/test_serverless/api_integration/test_suites/common/security_users.ts +++ b/x-pack/test_serverless/api_integration/test_suites/common/security_users.ts @@ -17,7 +17,7 @@ export default function ({ getService }: FtrProviderContext) { it('rejects request to create user', async () => { const { body, status } = await supertest .post(`/internal/security/users/some_testuser`) - .set(svlCommonApi.getCommonRequestHeader()) + .set(svlCommonApi.getInternalRequestHeader()) .send({ username: 'some_testuser', password: 'testpassword', roles: [] }); // in a non-serverless environment this would succeed with a 200 diff --git a/x-pack/test_serverless/api_integration/test_suites/observability/apm_api_integration/common/apm_api_supertest.ts b/x-pack/test_serverless/api_integration/test_suites/observability/apm_api_integration/common/apm_api_supertest.ts index 4a6527302f3ab..5b12a44e899c0 100644 --- a/x-pack/test_serverless/api_integration/test_suites/observability/apm_api_integration/common/apm_api_supertest.ts +++ b/x-pack/test_serverless/api_integration/test_suites/observability/apm_api_integration/common/apm_api_supertest.ts @@ -34,7 +34,10 @@ export function createApmApiClient(st: supertest.SuperTest) { const { method, pathname, version } = formatRequest(endpoint, params.path); const url = format({ pathname, query: params?.query }); - const headers: Record = { 'kbn-xsrf': 'foo' }; + const headers: Record = { + 'kbn-xsrf': 'foo', + 'x-elastic-internal-origin': 'foo', + }; if (version) { headers['Elastic-Api-Version'] = version; diff --git a/x-pack/test_serverless/api_integration/test_suites/observability/fleet.ts b/x-pack/test_serverless/api_integration/test_suites/observability/fleet.ts index 06fbe54ca4410..ea5ca79cbefb9 100644 --- a/x-pack/test_serverless/api_integration/test_suites/observability/fleet.ts +++ b/x-pack/test_serverless/api_integration/test_suites/observability/fleet.ts @@ -16,7 +16,7 @@ export default function ({ getService }: FtrProviderContext) { it('rejects request to create a new fleet server hosts', async () => { const { body, status } = await supertest .post('/api/fleet/fleet_server_hosts') - .set(svlCommonApi.getCommonRequestHeader()) + .set(svlCommonApi.getInternalRequestHeader()) .send({ name: 'test', host_urls: ['https://localhost:8220'], @@ -34,7 +34,7 @@ export default function ({ getService }: FtrProviderContext) { it('rejects request to create a new proxy', async () => { const { body, status } = await supertest .post('/api/fleet/proxies') - .set(svlCommonApi.getCommonRequestHeader()) + .set(svlCommonApi.getInternalRequestHeader()) .send({ name: 'test', url: 'https://localhost:8220', diff --git a/x-pack/test_serverless/api_integration/test_suites/observability/helpers/alerting_api_helper.ts b/x-pack/test_serverless/api_integration/test_suites/observability/helpers/alerting_api_helper.ts index a50e1b4e85c14..5229cfcfc8db8 100644 --- a/x-pack/test_serverless/api_integration/test_suites/observability/helpers/alerting_api_helper.ts +++ b/x-pack/test_serverless/api_integration/test_suites/observability/helpers/alerting_api_helper.ts @@ -21,6 +21,7 @@ export async function createIndexConnector({ const { body } = await supertest .post(`/api/actions/connector`) .set('kbn-xsrf', 'foo') + .set('x-elastic-internal-origin', 'foo') .send({ name, config: { @@ -54,6 +55,7 @@ export async function createRule({ const { body } = await supertest .post(`/api/alerting/rule`) .set('kbn-xsrf', 'foo') + .set('x-elastic-internal-origin', 'foo') .send({ params, consumer, diff --git a/x-pack/test_serverless/api_integration/test_suites/observability/helpers/alerting_wait_for_helpers.ts b/x-pack/test_serverless/api_integration/test_suites/observability/helpers/alerting_wait_for_helpers.ts index 80432a87185e6..fab50cdc92da3 100644 --- a/x-pack/test_serverless/api_integration/test_suites/observability/helpers/alerting_wait_for_helpers.ts +++ b/x-pack/test_serverless/api_integration/test_suites/observability/helpers/alerting_wait_for_helpers.ts @@ -25,7 +25,10 @@ export async function waitForRuleStatus({ }): Promise> { return pRetry( async () => { - const response = await supertest.get(`/api/alerting/rule/${id}`); + const response = await supertest + .get(`/api/alerting/rule/${id}`) + .set('kbn-xsrf', 'foo') + .set('x-elastic-internal-origin', 'foo'); const { execution_status: executionStatus } = response.body || {}; const { status } = executionStatus || {}; if (status !== expectedStatus) { diff --git a/x-pack/test_serverless/api_integration/test_suites/observability/helpers/data_view.ts b/x-pack/test_serverless/api_integration/test_suites/observability/helpers/data_view.ts index 0b0e85b104962..534bc1446fd3e 100644 --- a/x-pack/test_serverless/api_integration/test_suites/observability/helpers/data_view.ts +++ b/x-pack/test_serverless/api_integration/test_suites/observability/helpers/data_view.ts @@ -21,6 +21,7 @@ export const createDataView = async ({ 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: { @@ -49,6 +50,7 @@ export const deleteDataView = async ({ 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, diff --git a/x-pack/test_serverless/api_integration/test_suites/observability/threshold_rule/avg_pct_fired.ts b/x-pack/test_serverless/api_integration/test_suites/observability/threshold_rule/avg_pct_fired.ts index 0fb8c5f976f4a..e03f1f05ad287 100644 --- a/x-pack/test_serverless/api_integration/test_suites/observability/threshold_rule/avg_pct_fired.ts +++ b/x-pack/test_serverless/api_integration/test_suites/observability/threshold_rule/avg_pct_fired.ts @@ -40,8 +40,14 @@ export default function ({ getService }: FtrProviderContext) { }); after(async () => { - await supertest.delete(`/api/alerting/rule/${ruleId}`).set('kbn-xsrf', 'foo'); - await supertest.delete(`/api/actions/connector/${actionId}`).set('kbn-xsrf', 'foo'); + await supertest + .delete(`/api/alerting/rule/${ruleId}`) + .set('kbn-xsrf', 'foo') + .set('x-elastic-internal-origin', 'foo'); + await supertest + .delete(`/api/actions/connector/${actionId}`) + .set('kbn-xsrf', 'foo') + .set('x-elastic-internal-origin', 'foo'); await esClient.deleteByQuery({ index: THRESHOLD_RULE_ALERT_INDEX, query: { term: { 'kibana.alert.rule.uuid': ruleId } }, diff --git a/x-pack/test_serverless/api_integration/test_suites/observability/threshold_rule/avg_pct_no_data.ts b/x-pack/test_serverless/api_integration/test_suites/observability/threshold_rule/avg_pct_no_data.ts index 3b3a72954ab4c..7ed52de44810e 100644 --- a/x-pack/test_serverless/api_integration/test_suites/observability/threshold_rule/avg_pct_no_data.ts +++ b/x-pack/test_serverless/api_integration/test_suites/observability/threshold_rule/avg_pct_no_data.ts @@ -35,8 +35,14 @@ export default function ({ getService }: FtrProviderContext) { }); after(async () => { - await supertest.delete(`/api/alerting/rule/${ruleId}`).set('kbn-xsrf', 'foo'); - await supertest.delete(`/api/actions/connector/${actionId}`).set('kbn-xsrf', 'foo'); + await supertest + .delete(`/api/alerting/rule/${ruleId}`) + .set('kbn-xsrf', 'foo') + .set('x-elastic-internal-origin', 'foo'); + await supertest + .delete(`/api/actions/connector/${actionId}`) + .set('kbn-xsrf', 'foo') + .set('x-elastic-internal-origin', 'foo'); await esClient.deleteByQuery({ index: THRESHOLD_RULE_ALERT_INDEX, query: { term: { 'kibana.alert.rule.uuid': ruleId } }, diff --git a/x-pack/test_serverless/api_integration/test_suites/observability/threshold_rule/custom_eq_avg_bytes_fired.ts b/x-pack/test_serverless/api_integration/test_suites/observability/threshold_rule/custom_eq_avg_bytes_fired.ts index ef6d56cf641b0..faa9604e762cb 100644 --- a/x-pack/test_serverless/api_integration/test_suites/observability/threshold_rule/custom_eq_avg_bytes_fired.ts +++ b/x-pack/test_serverless/api_integration/test_suites/observability/threshold_rule/custom_eq_avg_bytes_fired.ts @@ -46,8 +46,14 @@ export default function ({ getService }: FtrProviderContext) { }); after(async () => { - await supertest.delete(`/api/alerting/rule/${ruleId}`).set('kbn-xsrf', 'foo'); - await supertest.delete(`/api/actions/connector/${actionId}`).set('kbn-xsrf', 'foo'); + await supertest + .delete(`/api/alerting/rule/${ruleId}`) + .set('kbn-xsrf', 'foo') + .set('x-elastic-internal-origin', 'foo'); + await supertest + .delete(`/api/actions/connector/${actionId}`) + .set('kbn-xsrf', 'foo') + .set('x-elastic-internal-origin', 'foo'); await esClient.deleteByQuery({ index: THRESHOLD_RULE_ALERT_INDEX, query: { term: { 'kibana.alert.rule.uuid': ruleId } }, diff --git a/x-pack/test_serverless/api_integration/test_suites/observability/threshold_rule/documents_count_fired.ts b/x-pack/test_serverless/api_integration/test_suites/observability/threshold_rule/documents_count_fired.ts index 52980e329de82..27c5bc17c7cfc 100644 --- a/x-pack/test_serverless/api_integration/test_suites/observability/threshold_rule/documents_count_fired.ts +++ b/x-pack/test_serverless/api_integration/test_suites/observability/threshold_rule/documents_count_fired.ts @@ -40,8 +40,14 @@ export default function ({ getService }: FtrProviderContext) { }); after(async () => { - await supertest.delete(`/api/alerting/rule/${ruleId}`).set('kbn-xsrf', 'foo'); - await supertest.delete(`/api/actions/connector/${actionId}`).set('kbn-xsrf', 'foo'); + await supertest + .delete(`/api/alerting/rule/${ruleId}`) + .set('kbn-xsrf', 'foo') + .set('x-elastic-internal-origin', 'foo'); + await supertest + .delete(`/api/actions/connector/${actionId}`) + .set('kbn-xsrf', 'foo') + .set('x-elastic-internal-origin', 'foo'); await esClient.deleteByQuery({ index: THRESHOLD_RULE_ALERT_INDEX, query: { term: { 'kibana.alert.rule.uuid': ruleId } }, diff --git a/x-pack/test_serverless/api_integration/test_suites/observability/threshold_rule/group_by_fired.ts b/x-pack/test_serverless/api_integration/test_suites/observability/threshold_rule/group_by_fired.ts index 1646b4254832e..29d2e64a41874 100644 --- a/x-pack/test_serverless/api_integration/test_suites/observability/threshold_rule/group_by_fired.ts +++ b/x-pack/test_serverless/api_integration/test_suites/observability/threshold_rule/group_by_fired.ts @@ -53,8 +53,14 @@ export default function ({ getService }: FtrProviderContext) { }); after(async () => { - await supertest.delete(`/api/alerting/rule/${ruleId}`).set('kbn-xsrf', 'foo'); - await supertest.delete(`/api/actions/connector/${actionId}`).set('kbn-xsrf', 'foo'); + await supertest + .delete(`/api/alerting/rule/${ruleId}`) + .set('kbn-xsrf', 'foo') + .set('x-elastic-internal-origin', 'foo'); + await supertest + .delete(`/api/actions/connector/${actionId}`) + .set('kbn-xsrf', 'foo') + .set('x-elastic-internal-origin', 'foo'); await esClient.deleteByQuery({ index: THRESHOLD_RULE_ALERT_INDEX, query: { term: { 'kibana.alert.rule.uuid': ruleId } }, diff --git a/x-pack/test_serverless/api_integration/test_suites/security/fleet.ts b/x-pack/test_serverless/api_integration/test_suites/security/fleet.ts index 06fbe54ca4410..ea5ca79cbefb9 100644 --- a/x-pack/test_serverless/api_integration/test_suites/security/fleet.ts +++ b/x-pack/test_serverless/api_integration/test_suites/security/fleet.ts @@ -16,7 +16,7 @@ export default function ({ getService }: FtrProviderContext) { it('rejects request to create a new fleet server hosts', async () => { const { body, status } = await supertest .post('/api/fleet/fleet_server_hosts') - .set(svlCommonApi.getCommonRequestHeader()) + .set(svlCommonApi.getInternalRequestHeader()) .send({ name: 'test', host_urls: ['https://localhost:8220'], @@ -34,7 +34,7 @@ export default function ({ getService }: FtrProviderContext) { it('rejects request to create a new proxy', async () => { const { body, status } = await supertest .post('/api/fleet/proxies') - .set(svlCommonApi.getCommonRequestHeader()) + .set(svlCommonApi.getInternalRequestHeader()) .send({ name: 'test', url: 'https://localhost:8220', diff --git a/x-pack/test_serverless/shared/config.base.ts b/x-pack/test_serverless/shared/config.base.ts index fa940bb8f3fca..5ee130b96525d 100644 --- a/x-pack/test_serverless/shared/config.base.ts +++ b/x-pack/test_serverless/shared/config.base.ts @@ -33,6 +33,7 @@ export default async () => { }, sourceArgs: ['--no-base-path', '--env.name=development'], serverArgs: [ + `--server.restrictInternalApis=true`, `--server.port=${kbnTestConfig.getPort()}`, '--status.allowAnonymous=true', // We shouldn't embed credentials into the URL since Kibana requests to Elasticsearch should