diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 828a9e80f7c015..908d0c9c784f76 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -13,6 +13,7 @@ /src/plugins/saved_search/ @elastic/kibana-data-discovery /x-pack/plugins/discover_enhanced/ @elastic/kibana-data-discovery /x-pack/test/functional/apps/discover/ @elastic/kibana-data-discovery +/x-pack/test/functional_with_es_ssl/apps/discover/ @elastic/kibana-data-discovery /test/functional/apps/discover/ @elastic/kibana-data-discovery /test/functional/apps/context/ @elastic/kibana-data-discovery /test/api_integration/apis/unified_field_list/ @elastic/kibana-data-discovery diff --git a/api_docs/actions.mdx b/api_docs/actions.mdx index 9a314edd7cbfeb..413b9153c52838 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-01-05 +date: 2023-01-09 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 cffccf6775583f..5326a453f439a3 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-01-05 +date: 2023-01-09 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 ad1c5efc652ec2..f1c2bdd3907dfb 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-01-05 +date: 2023-01-09 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'aiops'] --- import aiopsObj from './aiops.devdocs.json'; diff --git a/api_docs/alerting.devdocs.json b/api_docs/alerting.devdocs.json index 22ad533ef6beed..75f83e3ffe5c62 100644 --- a/api_docs/alerting.devdocs.json +++ b/api_docs/alerting.devdocs.json @@ -3371,7 +3371,7 @@ "section": "def-server.BulkOperationError", "text": "BulkOperationError" }, - "[]; rules: (", + "[]; total: number; rules: (", { "pluginId": "alerting", "scope": "common", @@ -3381,7 +3381,7 @@ }, " | ", "RuleWithLegacyId", - ")[]; total: number; taskIdsFailedToBeDeleted: string[]; }>; bulkEdit: )[]; taskIdsFailedToBeDeleted: string[]; }>; bulkEdit: Promise<{ artifacts?: ", + { + "pluginId": "fleet", + "scope": "server", + "docId": "kibFleetPluginApi", + "section": "def-server.Artifact", + "text": "Artifact" + }, + "[] | undefined; errors?: Error[] | undefined; }>" + ], + "path": "x-pack/plugins/fleet/server/services/artifacts/types.ts", + "deprecated": false, + "trackAdoption": false, + "children": [ + { + "parentPluginId": "fleet", + "id": "def-server.ArtifactsClientInterface.bulkCreateArtifacts.$1", + "type": "Array", + "tags": [], + "label": "optionsList", + "description": [], + "signature": [ + "ArtifactsClientCreateOptions", + "[]" + ], + "path": "x-pack/plugins/fleet/server/services/artifacts/types.ts", + "deprecated": false, + "trackAdoption": false, + "isRequired": true + } + ], + "returnComment": [] + }, { "parentPluginId": "fleet", "id": "def-server.ArtifactsClientInterface.deleteArtifact", @@ -14988,6 +15031,37 @@ "trackAdoption": false, "initialIsOpen": false }, + { + "parentPluginId": "fleet", + "id": "def-common.AssetsGroupedByServiceByType", + "type": "Type", + "tags": [], + "label": "AssetsGroupedByServiceByType", + "description": [], + "signature": [ + "Record<\"kibana\", ", + { + "pluginId": "fleet", + "scope": "common", + "docId": "kibFleetPluginApi", + "section": "def-common.KibanaAssetTypeToParts", + "text": "KibanaAssetTypeToParts" + }, + "> & Record<\"elasticsearch\", ", + { + "pluginId": "fleet", + "scope": "common", + "docId": "kibFleetPluginApi", + "section": "def-common.ElasticsearchAssetTypeToParts", + "text": "ElasticsearchAssetTypeToParts" + }, + ">" + ], + "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "deprecated": false, + "trackAdoption": false, + "initialIsOpen": false + }, { "parentPluginId": "fleet", "id": "def-common.BulkGetAgentPoliciesResponse", @@ -17721,9 +17795,11 @@ "type": "Object", "tags": [], "label": "ENDPOINT_PRIVILEGES", - "description": [], + "description": [ + "\ndefines endpoint package privileges\nthe key is the name of the packagePrivilege (ie. 'readSecuritySolution')\nthe value object is for mapping kibana privileges and capabilities\nsee x-pack/plugins/fleet/server/services/security/security.ts for example of how object values are used" + ], "signature": [ - "readonly [\"writeEndpointList\", \"readEndpointList\", \"writeTrustedApplications\", \"readTrustedApplications\", \"writeHostIsolationExceptions\", \"readHostIsolationExceptions\", \"writeBlocklist\", \"readBlocklist\", \"writeEventFilters\", \"readEventFilters\", \"writePolicyManagement\", \"readPolicyManagement\", \"writeActionsLogManagement\", \"readActionsLogManagement\", \"writeHostIsolation\", \"writeProcessOperations\", \"writeFileOperations\"]" + "{ [x: string]: PrivilegeMapObject; }" ], "path": "x-pack/plugins/fleet/common/constants/authz.ts", "deprecated": false, diff --git a/api_docs/fleet.mdx b/api_docs/fleet.mdx index a33c3edd318926..481a804c3b7d0e 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-01-05 +date: 2023-01-09 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'fleet'] --- import fleetObj from './fleet.devdocs.json'; @@ -21,7 +21,7 @@ Contact [Fleet](https://github.com/orgs/elastic/teams/fleet) for questions regar | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 1029 | 3 | 924 | 20 | +| 1032 | 3 | 926 | 20 | ## Client diff --git a/api_docs/global_search.mdx b/api_docs/global_search.mdx index 991f6ee63ae255..c37de49ada21da 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-01-05 +date: 2023-01-09 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 8579bbab36573a..52e4db85947f47 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-01-05 +date: 2023-01-09 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 b17cce03be3d3f..88b7bbf497afc3 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-01-05 +date: 2023-01-09 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'home'] --- import homeObj from './home.devdocs.json'; diff --git a/api_docs/index_lifecycle_management.mdx b/api_docs/index_lifecycle_management.mdx index 15e76e279a410c..029bd3a570f1c2 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-01-05 +date: 2023-01-09 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 ba8364fc6ec809..8e8de976f54a4c 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-01-05 +date: 2023-01-09 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 f3c4a679dc6aeb..93b8b0dca2ce64 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-01-05 +date: 2023-01-09 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 5f1078ea52d79d..cf51135346e4cb 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-01-05 +date: 2023-01-09 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 4b5632761a0a9d..eb1da51e31c260 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-01-05 +date: 2023-01-09 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 003dcaf7aab1d1..45bf64f06fca0c 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-01-05 +date: 2023-01-09 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ace'] --- import kbnAceObj from './kbn_ace.devdocs.json'; diff --git a/api_docs/kbn_aiops_components.mdx b/api_docs/kbn_aiops_components.mdx index f53e31c786df68..b946a46cce234f 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-01-05 +date: 2023-01-09 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/aiops-components'] --- import kbnAiopsComponentsObj from './kbn_aiops_components.devdocs.json'; diff --git a/api_docs/kbn_aiops_utils.mdx b/api_docs/kbn_aiops_utils.mdx index 529c832c24274e..5a8f87033b6d26 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-01-05 +date: 2023-01-09 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/aiops-utils'] --- import kbnAiopsUtilsObj from './kbn_aiops_utils.devdocs.json'; diff --git a/api_docs/kbn_alerts.mdx b/api_docs/kbn_alerts.mdx index e1b1c6366d6747..2eea67c84789ad 100644 --- a/api_docs/kbn_alerts.mdx +++ b/api_docs/kbn_alerts.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-alerts title: "@kbn/alerts" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/alerts plugin -date: 2023-01-05 +date: 2023-01-09 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/alerts'] --- import kbnAlertsObj from './kbn_alerts.devdocs.json'; diff --git a/api_docs/kbn_analytics.mdx b/api_docs/kbn_analytics.mdx index 3e40f63db1968a..045f9e9e533e68 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-01-05 +date: 2023-01-09 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 a836eb25f07884..fa1efb18383b38 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-01-05 +date: 2023-01-09 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 8bc6c616d91e6f..fcc9a3b5cca824 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-01-05 +date: 2023-01-09 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 2dac3ae4b14bf3..9e3c5096eb8da8 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-01-05 +date: 2023-01-09 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 ff448b5a2df372..2e0aed7ae0a3cc 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-01-05 +date: 2023-01-09 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 44637b03c886ad..0b445da7609b93 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-01-05 +date: 2023-01-09 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 2c8d65ecfd961e..b82394c7895018 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-01-05 +date: 2023-01-09 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 69164bce228283..e31d17fae07d6a 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-01-05 +date: 2023-01-09 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 b6e770c2cb6368..557008a3bc2927 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-01-05 +date: 2023-01-09 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 20c801a6c27cc9..294123f44cf4e3 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-01-05 +date: 2023-01-09 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 ad75dc64690992..dfee7d81e7a4b5 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-01-05 +date: 2023-01-09 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 274e4d8e3edfef..b94af0b0cd2a2d 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-01-05 +date: 2023-01-09 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 0b70d8698e6e2c..0959716abc102e 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-01-05 +date: 2023-01-09 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/cases-components'] --- import kbnCasesComponentsObj from './kbn_cases_components.devdocs.json'; diff --git a/api_docs/kbn_chart_icons.mdx b/api_docs/kbn_chart_icons.mdx index dde88d52e34448..14b2c20683f878 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-01-05 +date: 2023-01-09 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 21e9987c0084ed..e7cdf7a9d2ae0e 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-01-05 +date: 2023-01-09 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 84cf5e03b3a849..d644913d7397ed 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-01-05 +date: 2023-01-09 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 572d5cd81b1626..b68a74f4541f56 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-01-05 +date: 2023-01-09 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 a1b429f8dc4a5f..6412436fbd71f0 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-01-05 +date: 2023-01-09 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/cli-dev-mode'] --- import kbnCliDevModeObj from './kbn_cli_dev_mode.devdocs.json'; diff --git a/api_docs/kbn_coloring.mdx b/api_docs/kbn_coloring.mdx index f7c2cb4bebe9af..2d85899bd69324 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-01-05 +date: 2023-01-09 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 aaee92815d3b4e..0649c3d10f9837 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-01-05 +date: 2023-01-09 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 312ce04e753b25..3be8481e20f34f 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-01-05 +date: 2023-01-09 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 dca8dd6db64082..2476ff0ad31a98 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-01-05 +date: 2023-01-09 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 3f61f638a8ab4b..51eada12612795 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-01-05 +date: 2023-01-09 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_table_list.mdx b/api_docs/kbn_content_management_table_list.mdx index eb8824fa036df1..ff76ee4ec4b0b0 100644 --- a/api_docs/kbn_content_management_table_list.mdx +++ b/api_docs/kbn_content_management_table_list.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-content-management-table-list title: "@kbn/content-management-table-list" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/content-management-table-list plugin -date: 2023-01-05 +date: 2023-01-09 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/content-management-table-list'] --- import kbnContentManagementTableListObj from './kbn_content_management_table_list.devdocs.json'; diff --git a/api_docs/kbn_core_analytics_browser.mdx b/api_docs/kbn_core_analytics_browser.mdx index 4446b18b31f3cb..196ce19af1289b 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-01-05 +date: 2023-01-09 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 70c724f951d59d..6053092c118acc 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-01-05 +date: 2023-01-09 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 5ed218c3ff6dc4..afe663d47e550e 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-01-05 +date: 2023-01-09 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 604aedde065818..ff381508579ab5 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-01-05 +date: 2023-01-09 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 a5dd693e2de36a..b568a6e5c45d16 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-01-05 +date: 2023-01-09 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 5fe4b6db852dc3..a1bf555c0b4947 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-01-05 +date: 2023-01-09 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 42883fd89bdb03..72b86e7ddda216 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-01-05 +date: 2023-01-09 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 e03613ab08e520..171671c34c8fde 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-01-05 +date: 2023-01-09 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 a3cf47493b7924..d5bca32ce36998 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-01-05 +date: 2023-01-09 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 06662ca0343930..f13953c207ba87 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-01-05 +date: 2023-01-09 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 825d30c2e65a95..980f255541d4af 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-01-05 +date: 2023-01-09 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 fb631665936c36..8e09ad45ebd40f 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-01-05 +date: 2023-01-09 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 193f3a1e73b1f5..d038fde8e9ff26 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-01-05 +date: 2023-01-09 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 335f3db53c0374..77f59211f3b5fc 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-01-05 +date: 2023-01-09 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 0eb01b985a253c..4ec5bd6584162f 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-01-05 +date: 2023-01-09 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 754fcb1d727e81..4740495bcd1cc9 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-01-05 +date: 2023-01-09 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 c00df002f87cd6..11f45f1805f90d 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-01-05 +date: 2023-01-09 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 857bc6824c5879..c6811c3437df40 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-01-05 +date: 2023-01-09 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 9b19a4d2a722e7..25b7884be85bb0 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-01-05 +date: 2023-01-09 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 4c613c04fe3d9c..1b95f924077ee7 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-01-05 +date: 2023-01-09 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 57599d1d0ee9e2..3ea1b2387b5541 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-01-05 +date: 2023-01-09 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 33d194b4d3cae1..e7a0aaf59da410 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-01-05 +date: 2023-01-09 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 cc9e6fb66db841..6487bfff0d154f 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-01-05 +date: 2023-01-09 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 23916b1a07f850..818c42cdab6540 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-01-05 +date: 2023-01-09 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_deprecations_browser.mdx b/api_docs/kbn_core_deprecations_browser.mdx index fe74b1326dc9cb..1f25924c4e84da 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-01-05 +date: 2023-01-09 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 8bdf78906c05e6..9761482626b63a 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-01-05 +date: 2023-01-09 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 2c6e915cda6042..705e8bec588f60 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-01-05 +date: 2023-01-09 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 a9aa31f4783e0f..80b05500a11abe 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-01-05 +date: 2023-01-09 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 d06d4468852cc5..10c609f98e5fe2 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-01-05 +date: 2023-01-09 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 b639211874f616..54a452b8487a4a 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-01-05 +date: 2023-01-09 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 2e076f2f87f975..5e0bb3568ba33f 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-01-05 +date: 2023-01-09 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 1b0b2ad1ff0b5f..312aa389868778 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-01-05 +date: 2023-01-09 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 9c4146e94218f7..64a364a50e6ce1 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-01-05 +date: 2023-01-09 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 529a2212e4d9fa..38f8ee6a4f9a56 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-01-05 +date: 2023-01-09 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 ecdb6951f3ee18..18a09e85cfb7db 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-01-05 +date: 2023-01-09 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 63c404370aa32e..5f295b6c5abaf5 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-01-05 +date: 2023-01-09 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-elasticsearch-client-server-internal'] --- import kbnCoreElasticsearchClientServerInternalObj from './kbn_core_elasticsearch_client_server_internal.devdocs.json'; diff --git a/api_docs/kbn_core_elasticsearch_client_server_mocks.mdx b/api_docs/kbn_core_elasticsearch_client_server_mocks.mdx index 575b4e1dc01aa7..516c42677865fe 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-01-05 +date: 2023-01-09 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-elasticsearch-client-server-mocks'] --- import kbnCoreElasticsearchClientServerMocksObj from './kbn_core_elasticsearch_client_server_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_elasticsearch_server.mdx b/api_docs/kbn_core_elasticsearch_server.mdx index 33e9d492f8d3e3..f07f531833905c 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-01-05 +date: 2023-01-09 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-elasticsearch-server'] --- import kbnCoreElasticsearchServerObj from './kbn_core_elasticsearch_server.devdocs.json'; diff --git a/api_docs/kbn_core_elasticsearch_server_internal.mdx b/api_docs/kbn_core_elasticsearch_server_internal.mdx index 47818b93186b5f..92c3a207e70d43 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-01-05 +date: 2023-01-09 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 bdd6137d712203..8ca089a7d0808b 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-01-05 +date: 2023-01-09 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 2069104586d699..c7e003199805f4 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-01-05 +date: 2023-01-09 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 f95aef7bf83adb..7db9c5119831fc 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-01-05 +date: 2023-01-09 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 32b448bc444284..87ed31a60b6a95 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-01-05 +date: 2023-01-09 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 3b250b1880bd37..edad7bf50e1b63 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-01-05 +date: 2023-01-09 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 34293547457e01..0ba0ff24360cdb 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-01-05 +date: 2023-01-09 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 551e46bc97d758..ab904c27f058fb 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-01-05 +date: 2023-01-09 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 df6988e3aebbb2..347f42295d72b6 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-01-05 +date: 2023-01-09 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 aef946de038a60..1e583254596789 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-01-05 +date: 2023-01-09 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 a41e615e7795d1..a817a8c416443f 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-01-05 +date: 2023-01-09 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 a3517e668461bd..400c640a70e777 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-01-05 +date: 2023-01-09 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 83915fcb73fbf3..42fdd50209ea75 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-01-05 +date: 2023-01-09 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 c2ce2d5a6567f3..2c7b3006e9e5de 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-01-05 +date: 2023-01-09 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 c2a18e25d15545..a0d0e4b9a2b76e 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-01-05 +date: 2023-01-09 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 a674a87c21441f..2894db64af010f 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-01-05 +date: 2023-01-09 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 49ebfe006ce4f7..aa2fe8e617d7a1 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-01-05 +date: 2023-01-09 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 4da2d696c45014..854c9e1d647960 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-01-05 +date: 2023-01-09 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 842998f8af8c86..e91d0d56adb049 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-01-05 +date: 2023-01-09 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 10d6588f3742c7..fa4f5797d38642 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-01-05 +date: 2023-01-09 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 e7d07dec9101ae..a20fac2430dab5 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-01-05 +date: 2023-01-09 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 746f5b1660d13a..a1a7fc6040a275 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-01-05 +date: 2023-01-09 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 0ce06809c33dd8..906ed5e220bf4c 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-01-05 +date: 2023-01-09 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 48b9d34fdbd218..28db91382e9c8c 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-01-05 +date: 2023-01-09 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-http-router-server-mocks'] --- import kbnCoreHttpRouterServerMocksObj from './kbn_core_http_router_server_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_http_server.mdx b/api_docs/kbn_core_http_server.mdx index f1cdcea595c44e..42c70112b4514b 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-01-05 +date: 2023-01-09 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 9b84f2529e626d..7638a730a54fc6 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-01-05 +date: 2023-01-09 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 61e01463bc5553..40ba8afe3f97e1 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-01-05 +date: 2023-01-09 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 3315b941b0714e..0b6b032a1fcf1c 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-01-05 +date: 2023-01-09 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 840cfe834e0adb..ce5eca51ba6690 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-01-05 +date: 2023-01-09 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 fcbb2ad5f6c54b..a8aeacd9ed55d5 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-01-05 +date: 2023-01-09 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 36c422eadf1489..231dbfb4927ba9 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-01-05 +date: 2023-01-09 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 159083e080a682..c091c69cb6237c 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-01-05 +date: 2023-01-09 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 e27cf520128c6c..c3a81829387c7d 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-01-05 +date: 2023-01-09 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 8c3e3840d0cb49..26fa7d5c3e273c 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-01-05 +date: 2023-01-09 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 7771439e39b451..a8bbe917c73e1e 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-01-05 +date: 2023-01-09 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 cba31fa00adec3..90acd88066d127 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-01-05 +date: 2023-01-09 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 d115fa9cf90a9c..b9de1786005974 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-01-05 +date: 2023-01-09 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 065cc387f09a4c..5d71436b1643dc 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-01-05 +date: 2023-01-09 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 7736c605fe236a..d6bf4eb7a26516 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-01-05 +date: 2023-01-09 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 5322838f77b60c..c28fb6375c8090 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-01-05 +date: 2023-01-09 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 354da232a384fa..5c26ad0ba0fe18 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-01-05 +date: 2023-01-09 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 a33b050586e10f..30e2bb6e47d7c1 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-01-05 +date: 2023-01-09 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 fdfc5ffc31e6d6..c5c6944d7138a0 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-01-05 +date: 2023-01-09 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 daf10114c08b56..e7ff3f94e36565 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-01-05 +date: 2023-01-09 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 1d59c67682b38b..7ef3749c22b52b 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-01-05 +date: 2023-01-09 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 387689e4f1d6b3..c1afec3aabe336 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-01-05 +date: 2023-01-09 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 8cf24a9cf955df..758d46f5b3d1fa 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-01-05 +date: 2023-01-09 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 a1cf7ea76406c1..46093aedc14477 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-01-05 +date: 2023-01-09 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 9990d4983efd56..be9d4ced2294e7 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-01-05 +date: 2023-01-09 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 67f6b1c5ad260b..16bcbb1e623555 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-01-05 +date: 2023-01-09 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 ecb4437222c629..6f5c9feec65551 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-01-05 +date: 2023-01-09 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 23b6109b057a66..67e23e9d1bea2c 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-01-05 +date: 2023-01-09 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 901c0a136274ef..3e3b6e4f48e70e 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-01-05 +date: 2023-01-09 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 e79ae1a65df21d..b1b5900072209f 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-01-05 +date: 2023-01-09 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 9086b205a846aa..fa75f36472d17b 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-01-05 +date: 2023-01-09 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 32e98544b7d99c..f523aa00af576b 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-01-05 +date: 2023-01-09 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 476cf273e11446..92046f0acfcac8 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-01-05 +date: 2023-01-09 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 e8a345913e6a81..ef132dc04ed0ca 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-01-05 +date: 2023-01-09 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 245c61815db452..4570aca17ff663 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-01-05 +date: 2023-01-09 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 9b6ae88fea65b0..cfeda2fd48f86e 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-01-05 +date: 2023-01-09 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 c4934fa01f6fed..980a71cb16a0a1 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-01-05 +date: 2023-01-09 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 e51c8bf025fcf8..77721d5f611c80 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-01-05 +date: 2023-01-09 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 f24f4a1977277c..bbcefb1774f322 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-01-05 +date: 2023-01-09 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 3ec31aef56a17c..27dc75742b4d53 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-01-05 +date: 2023-01-09 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 764275bf0c2112..ddf312d544bb6a 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-01-05 +date: 2023-01-09 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 c8f62869d13c59..3eee05562e6d90 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-01-05 +date: 2023-01-09 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 88bd0685580522..cc6de53fa4c431 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-01-05 +date: 2023-01-09 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 543ae91eda4a78..02af08d5875539 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-01-05 +date: 2023-01-09 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 fa8c8ae24569bc..e15071779819ab 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-01-05 +date: 2023-01-09 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 6e16505179db25..45908a2a5cd523 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-01-05 +date: 2023-01-09 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 48b765b02f0b7b..b9d79a0cc03d2f 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-01-05 +date: 2023-01-09 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_internal.mdx b/api_docs/kbn_core_saved_objects_api_server_internal.mdx index fd0859f009b019..799739bdaa5b3a 100644 --- a/api_docs/kbn_core_saved_objects_api_server_internal.mdx +++ b/api_docs/kbn_core_saved_objects_api_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-saved-objects-api-server-internal title: "@kbn/core-saved-objects-api-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-saved-objects-api-server-internal plugin -date: 2023-01-05 +date: 2023-01-09 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-saved-objects-api-server-internal'] --- import kbnCoreSavedObjectsApiServerInternalObj from './kbn_core_saved_objects_api_server_internal.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 82baf13882d1d2..5f946d51ea067a 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-01-05 +date: 2023-01-09 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 b4496dd8674010..fae8ef0a06b03c 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-01-05 +date: 2023-01-09 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 a66c5483d3a8c0..850804c8bd34fe 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-01-05 +date: 2023-01-09 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 ac8aee4e48f9e6..b34b4aab14fa04 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-01-05 +date: 2023-01-09 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 26c42deed2f897..44aeda68cc10f2 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-01-05 +date: 2023-01-09 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 f79b68b24200ba..0f01956013c5c3 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-01-05 +date: 2023-01-09 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-saved-objects-browser-mocks'] --- import kbnCoreSavedObjectsBrowserMocksObj from './kbn_core_saved_objects_browser_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_saved_objects_common.mdx b/api_docs/kbn_core_saved_objects_common.mdx index 8a58ad039262da..68434e5fe864c3 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-01-05 +date: 2023-01-09 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 f8b4f1319a12d0..16d9e296bd4c52 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-01-05 +date: 2023-01-09 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 b6341c2b7ac023..4e86e961ad03c2 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-01-05 +date: 2023-01-09 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-saved-objects-import-export-server-mocks'] --- import kbnCoreSavedObjectsImportExportServerMocksObj from './kbn_core_saved_objects_import_export_server_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_saved_objects_migration_server_internal.mdx b/api_docs/kbn_core_saved_objects_migration_server_internal.mdx index 6d0acf2302698a..14462bb52fcfd9 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-01-05 +date: 2023-01-09 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 a96894a90aa994..41d09a0058e3fe 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-01-05 +date: 2023-01-09 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 c7bc04b4af7a09..0777dd9ce30b29 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-01-05 +date: 2023-01-09 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 ff5923746bd437..75bc036df15e51 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-01-05 +date: 2023-01-09 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 4a430a8a0a94fa..b5cb2371044ca6 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-01-05 +date: 2023-01-09 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 a55bca92a7862c..91c13ff169ffb5 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-01-05 +date: 2023-01-09 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 52d9416458e3e7..2b614fff924fa8 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-01-05 +date: 2023-01-09 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 20c522efca2c42..160917fc887f93 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-01-05 +date: 2023-01-09 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 beabbb86b67c95..66cba917f22f7f 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-01-05 +date: 2023-01-09 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 37a43db95cdb16..14374dcee2f37c 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-01-05 +date: 2023-01-09 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 c1fe6cf3ad0b1c..fac3db91bb75c7 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-01-05 +date: 2023-01-09 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 08c7c07fcdf14e..89ae7491137f15 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-01-05 +date: 2023-01-09 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 ec166fe4b8d081..c0888a66f91e74 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-01-05 +date: 2023-01-09 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 9bcaefc1ae4a46..6e22adab5c50d6 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-01-05 +date: 2023-01-09 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 c80cc96685a2bb..87b1c523e28470 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-01-05 +date: 2023-01-09 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 f49089af40787c..198a944b40e476 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-01-05 +date: 2023-01-09 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 026ab4187fbdbe..212c813bc6f374 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-01-05 +date: 2023-01-09 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-theme-browser'] --- import kbnCoreThemeBrowserObj from './kbn_core_theme_browser.devdocs.json'; diff --git a/api_docs/kbn_core_theme_browser_internal.mdx b/api_docs/kbn_core_theme_browser_internal.mdx index c161082b2c9771..55125394b97380 100644 --- a/api_docs/kbn_core_theme_browser_internal.mdx +++ b/api_docs/kbn_core_theme_browser_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-theme-browser-internal title: "@kbn/core-theme-browser-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-theme-browser-internal plugin -date: 2023-01-05 +date: 2023-01-09 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-theme-browser-internal'] --- import kbnCoreThemeBrowserInternalObj from './kbn_core_theme_browser_internal.devdocs.json'; diff --git a/api_docs/kbn_core_theme_browser_mocks.mdx b/api_docs/kbn_core_theme_browser_mocks.mdx index 202f8f3fe62b69..de7aaf64b4a4f1 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-01-05 +date: 2023-01-09 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 2a54b16c7dc7a0..fcb053d746dd10 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-01-05 +date: 2023-01-09 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 8754e611f68399..b56b9d84f1dde3 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-01-05 +date: 2023-01-09 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 03e60774f2870d..e311693b3b373f 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-01-05 +date: 2023-01-09 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 299d03c2e96145..7cdbbe2dd48b96 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-01-05 +date: 2023-01-09 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 a551158d3efe96..4b237965183928 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-01-05 +date: 2023-01-09 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 9a25ca56527004..bedbe16385dfa5 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-01-05 +date: 2023-01-09 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 c5e1f7dd4aff54..4a9638340ef11d 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-01-05 +date: 2023-01-09 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 4937ae83fa7b3a..88ede01554301f 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-01-05 +date: 2023-01-09 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 bdf0ea761d323b..a02883080ea07f 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-01-05 +date: 2023-01-09 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 b00a60cf35c45f..de0435f9384130 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-01-05 +date: 2023-01-09 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_crypto.mdx b/api_docs/kbn_crypto.mdx index 871503070c3e6d..8c572ac2421c67 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-01-05 +date: 2023-01-09 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 a00e2fac3eb1af..c04a4ee9593b55 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-01-05 +date: 2023-01-09 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 82c75242560a17..7fbe0a02078b9d 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-01-05 +date: 2023-01-09 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/cypress-config'] --- import kbnCypressConfigObj from './kbn_cypress_config.devdocs.json'; diff --git a/api_docs/kbn_datemath.mdx b/api_docs/kbn_datemath.mdx index 5488da1d8d5a7c..9d5ee84b83b04a 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-01-05 +date: 2023-01-09 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/datemath'] --- import kbnDatemathObj from './kbn_datemath.devdocs.json'; diff --git a/api_docs/kbn_dev_cli_errors.mdx b/api_docs/kbn_dev_cli_errors.mdx index c28e272361c2b3..118171f9247ea2 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-01-05 +date: 2023-01-09 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 0ba2289b56dbc1..d993d360fe18d1 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-01-05 +date: 2023-01-09 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 0807eb814f0f59..0822ef9fb732a4 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-01-05 +date: 2023-01-09 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 751fb55358fd50..76c826e4e8d361 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-01-05 +date: 2023-01-09 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/dev-utils'] --- import kbnDevUtilsObj from './kbn_dev_utils.devdocs.json'; diff --git a/api_docs/kbn_doc_links.mdx b/api_docs/kbn_doc_links.mdx index dad9e23eda253e..8197168c8d0220 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-01-05 +date: 2023-01-09 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 18de821b5d501f..152b75eb742a1b 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-01-05 +date: 2023-01-09 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/docs-utils'] --- import kbnDocsUtilsObj from './kbn_docs_utils.devdocs.json'; diff --git a/api_docs/kbn_ebt_tools.mdx b/api_docs/kbn_ebt_tools.mdx index f1d6cf40be80ec..2bd4faff9ae79e 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-01-05 +date: 2023-01-09 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 c8229b33a81de1..f00eb0250b1172 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-01-05 +date: 2023-01-09 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ecs'] --- import kbnEcsObj from './kbn_ecs.devdocs.json'; diff --git a/api_docs/kbn_es.mdx b/api_docs/kbn_es.mdx index d86a8fd05b048d..236a2e21121aa3 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-01-05 +date: 2023-01-09 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 7b9f84a1ca86b5..c93134b665869e 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-01-05 +date: 2023-01-09 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 84cd95e548eab2..8770929d71aab3 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-01-05 +date: 2023-01-09 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 b7d286c1f242e9..671f9f4548bb54 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-01-05 +date: 2023-01-09 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 d36e303914b759..8dfbefeaf61a50 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-01-05 +date: 2023-01-09 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 a23b83752578d0..1c06fba39566f6 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-01-05 +date: 2023-01-09 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/eslint-plugin-imports'] --- import kbnEslintPluginImportsObj from './kbn_eslint_plugin_imports.devdocs.json'; diff --git a/api_docs/kbn_field_types.mdx b/api_docs/kbn_field_types.mdx index 837d13f190d732..cd0b2ab15b0ec0 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-01-05 +date: 2023-01-09 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 7b8507cc621a2a..e64dfe676e9f7c 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-01-05 +date: 2023-01-09 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 41c0a311843e1e..0ce79145b484da 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-01-05 +date: 2023-01-09 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 e31e7f5733c145..9e956b1e8c27f4 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-01-05 +date: 2023-01-09 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/generate'] --- import kbnGenerateObj from './kbn_generate.devdocs.json'; diff --git a/api_docs/kbn_get_repo_files.mdx b/api_docs/kbn_get_repo_files.mdx index 948e2f362b27f6..f0a79ec00c6dea 100644 --- a/api_docs/kbn_get_repo_files.mdx +++ b/api_docs/kbn_get_repo_files.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-get-repo-files title: "@kbn/get-repo-files" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/get-repo-files plugin -date: 2023-01-05 +date: 2023-01-09 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/get-repo-files'] --- import kbnGetRepoFilesObj from './kbn_get_repo_files.devdocs.json'; diff --git a/api_docs/kbn_guided_onboarding.mdx b/api_docs/kbn_guided_onboarding.mdx index 8d0aa8c6c53fed..b766b20be67ef4 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-01-05 +date: 2023-01-09 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 1a44f2f0021116..b48f074e30bf13 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-01-05 +date: 2023-01-09 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 9745a2cfc9d360..9e4eebb3b31823 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-01-05 +date: 2023-01-09 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 f59e4053b8fc92..bd81015febc97b 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-01-05 +date: 2023-01-09 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 9a2237ff5ff00b..63ef68aae2f4bc 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-01-05 +date: 2023-01-09 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 5b8de781cccded..3b46befb6aeb4a 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-01-05 +date: 2023-01-09 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 03aa76407fe3a0..90934b8ccc0fc1 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-01-05 +date: 2023-01-09 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 c4cc5b4edc141b..83284e1e5bf8c8 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-01-05 +date: 2023-01-09 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 360a6aad83d817..299c15f5e0860e 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-01-05 +date: 2023-01-09 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/import-resolver'] --- import kbnImportResolverObj from './kbn_import_resolver.devdocs.json'; diff --git a/api_docs/kbn_interpreter.mdx b/api_docs/kbn_interpreter.mdx index e652b959206b08..c427848c0d916a 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-01-05 +date: 2023-01-09 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 33421d53f6410c..93fc8e4dfde800 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-01-05 +date: 2023-01-09 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 8a9a18466af241..e4486c2cd0d40f 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-01-05 +date: 2023-01-09 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 57026cea062f3d..57fa48fd79086b 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-01-05 +date: 2023-01-09 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/journeys'] --- import kbnJourneysObj from './kbn_journeys.devdocs.json'; diff --git a/api_docs/kbn_kibana_manifest_schema.mdx b/api_docs/kbn_kibana_manifest_schema.mdx index 9ae2c71b3e5aa5..d79b1dff4d2bd8 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-01-05 +date: 2023-01-09 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 804a3c1aaf5cdf..bf74f23cc2842a 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-01-05 +date: 2023-01-09 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 792e203f64fa5e..035f853f2e23bb 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-01-05 +date: 2023-01-09 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 835f7623119b22..c13871a3a40f5f 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-01-05 +date: 2023-01-09 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 087ee94f8ad048..624775f5ccb5e5 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-01-05 +date: 2023-01-09 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/managed-vscode-config'] --- import kbnManagedVscodeConfigObj from './kbn_managed_vscode_config.devdocs.json'; diff --git a/api_docs/kbn_mapbox_gl.mdx b/api_docs/kbn_mapbox_gl.mdx index 1bc914b73ac3da..0b96577b6a3529 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-01-05 +date: 2023-01-09 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/mapbox-gl'] --- import kbnMapboxGlObj from './kbn_mapbox_gl.devdocs.json'; diff --git a/api_docs/kbn_ml_agg_utils.mdx b/api_docs/kbn_ml_agg_utils.mdx index 111900cdf91c08..72bf2ec1eb3622 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-01-05 +date: 2023-01-09 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_is_defined.devdocs.json b/api_docs/kbn_ml_is_defined.devdocs.json new file mode 100644 index 00000000000000..29ddeefb700e46 --- /dev/null +++ b/api_docs/kbn_ml_is_defined.devdocs.json @@ -0,0 +1,65 @@ +{ + "id": "@kbn/ml-is-defined", + "client": { + "classes": [], + "functions": [], + "interfaces": [], + "enums": [], + "misc": [], + "objects": [] + }, + "server": { + "classes": [], + "functions": [], + "interfaces": [], + "enums": [], + "misc": [], + "objects": [] + }, + "common": { + "classes": [], + "functions": [ + { + "parentPluginId": "@kbn/ml-is-defined", + "id": "def-common.isDefined", + "type": "Function", + "tags": [], + "label": "isDefined", + "description": [ + "\nChecks whether the supplied argument is not `undefined` and not `null`.\n" + ], + "signature": [ + "(argument: T | null | undefined) => boolean" + ], + "path": "x-pack/packages/ml/is_defined/src/is_defined.ts", + "deprecated": false, + "trackAdoption": false, + "children": [ + { + "parentPluginId": "@kbn/ml-is-defined", + "id": "def-common.isDefined.$1", + "type": "CompoundType", + "tags": [], + "label": "argument", + "description": [], + "signature": [ + "T | null | undefined" + ], + "path": "x-pack/packages/ml/is_defined/src/is_defined.ts", + "deprecated": false, + "trackAdoption": false, + "isRequired": false + } + ], + "returnComment": [ + "boolean" + ], + "initialIsOpen": false + } + ], + "interfaces": [], + "enums": [], + "misc": [], + "objects": [] + } +} \ No newline at end of file diff --git a/api_docs/kbn_ml_is_defined.mdx b/api_docs/kbn_ml_is_defined.mdx new file mode 100644 index 00000000000000..e339a4012610f1 --- /dev/null +++ b/api_docs/kbn_ml_is_defined.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: kibKbnMlIsDefinedPluginApi +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-01-09 +tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ml-is-defined'] +--- +import kbnMlIsDefinedObj from './kbn_ml_is_defined.devdocs.json'; + + + +Contact [Owner missing] for questions regarding this plugin. + +**Code health stats** + +| Public API count | Any count | Items lacking comments | Missing exports | +|-------------------|-----------|------------------------|-----------------| +| 2 | 0 | 1 | 0 | + +## Common + +### Functions + + diff --git a/api_docs/kbn_ml_is_populated_object.mdx b/api_docs/kbn_ml_is_populated_object.mdx index bacee761bb4f1d..afa6abb0587ffb 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-01-05 +date: 2023-01-09 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_local_storage.devdocs.json b/api_docs/kbn_ml_local_storage.devdocs.json new file mode 100644 index 00000000000000..6b0abed5166d26 --- /dev/null +++ b/api_docs/kbn_ml_local_storage.devdocs.json @@ -0,0 +1,113 @@ +{ + "id": "@kbn/ml-local-storage", + "client": { + "classes": [], + "functions": [], + "interfaces": [], + "enums": [], + "misc": [], + "objects": [] + }, + "server": { + "classes": [], + "functions": [], + "interfaces": [], + "enums": [], + "misc": [], + "objects": [] + }, + "common": { + "classes": [], + "functions": [ + { + "parentPluginId": "@kbn/ml-local-storage", + "id": "def-common.StorageContextProvider", + "type": "Function", + "tags": [], + "label": "StorageContextProvider", + "description": [ + "\nProvider to manage context for the `useStorage` hook." + ], + "signature": [ + "({\n children,\n storage,\n storageKeys,\n}: React.PropsWithChildren>) => JSX.Element" + ], + "path": "x-pack/packages/ml/local_storage/src/storage_context.tsx", + "deprecated": false, + "trackAdoption": false, + "children": [ + { + "parentPluginId": "@kbn/ml-local-storage", + "id": "def-common.StorageContextProvider.$1", + "type": "CompoundType", + "tags": [], + "label": "{\n children,\n storage,\n storageKeys,\n}", + "description": [], + "signature": [ + "React.PropsWithChildren>" + ], + "path": "x-pack/packages/ml/local_storage/src/storage_context.tsx", + "deprecated": false, + "trackAdoption": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/ml-local-storage", + "id": "def-common.useStorage", + "type": "Function", + "tags": [], + "label": "useStorage", + "description": [ + "\nHook for consuming a storage value" + ], + "signature": [ + "(key: K, initValue: T | undefined) => [T | undefined extends undefined ? T | undefined : Exclude, (value: T) => void]" + ], + "path": "x-pack/packages/ml/local_storage/src/storage_context.tsx", + "deprecated": false, + "trackAdoption": false, + "children": [ + { + "parentPluginId": "@kbn/ml-local-storage", + "id": "def-common.useStorage.$1", + "type": "Uncategorized", + "tags": [], + "label": "key", + "description": [], + "signature": [ + "K" + ], + "path": "x-pack/packages/ml/local_storage/src/storage_context.tsx", + "deprecated": false, + "trackAdoption": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/ml-local-storage", + "id": "def-common.useStorage.$2", + "type": "Uncategorized", + "tags": [], + "label": "initValue", + "description": [], + "signature": [ + "T | undefined" + ], + "path": "x-pack/packages/ml/local_storage/src/storage_context.tsx", + "deprecated": false, + "trackAdoption": false, + "isRequired": false + } + ], + "returnComment": [], + "initialIsOpen": false + } + ], + "interfaces": [], + "enums": [], + "misc": [], + "objects": [] + } +} \ No newline at end of file diff --git a/api_docs/kbn_ml_local_storage.mdx b/api_docs/kbn_ml_local_storage.mdx new file mode 100644 index 00000000000000..663370f26dcbeb --- /dev/null +++ b/api_docs/kbn_ml_local_storage.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: kibKbnMlLocalStoragePluginApi +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-01-09 +tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ml-local-storage'] +--- +import kbnMlLocalStorageObj from './kbn_ml_local_storage.devdocs.json'; + +Utilities to combine url state management with local storage. + +Contact Machine Learning UI for questions regarding this plugin. + +**Code health stats** + +| Public API count | Any count | Items lacking comments | Missing exports | +|-------------------|-----------|------------------------|-----------------| +| 5 | 0 | 3 | 0 | + +## Common + +### Functions + + diff --git a/api_docs/kbn_ml_nested_property.mdx b/api_docs/kbn_ml_nested_property.mdx index 6b1c016f1f15d6..b13b6c2522dbf1 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-01-05 +date: 2023-01-09 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_string_hash.mdx b/api_docs/kbn_ml_string_hash.mdx index 75d2c20208dbe6..b834aa8513279e 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-01-05 +date: 2023-01-09 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_url_state.mdx b/api_docs/kbn_ml_url_state.mdx index e6df949447d069..f5b49b8e89e9ac 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-01-05 +date: 2023-01-09 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 e7e916e4061a1d..292eae79554753 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-01-05 +date: 2023-01-09 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/monaco'] --- import kbnMonacoObj from './kbn_monaco.devdocs.json'; diff --git a/api_docs/kbn_optimizer.mdx b/api_docs/kbn_optimizer.mdx index ae63032d935a42..3e3f446765d75f 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-01-05 +date: 2023-01-09 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 3348f4d65d1f55..1467c090460ecf 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-01-05 +date: 2023-01-09 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.devdocs.json b/api_docs/kbn_osquery_io_ts_types.devdocs.json index 0ce61875f6d2f7..65501b5031659c 100644 --- a/api_docs/kbn_osquery_io_ts_types.devdocs.json +++ b/api_docs/kbn_osquery_io_ts_types.devdocs.json @@ -60,7 +60,7 @@ "label": "ArrayQueries", "description": [], "signature": [ - "{ id: string; query: string; ecs_mapping: { [x: string]: { field?: string | undefined; value?: string | string[] | undefined; }; } | undefined; version: string | undefined; platform: string | undefined; }[]" + "{ id: string; query: string; ecs_mapping: { [x: string]: { field?: string | undefined; value?: string | string[] | undefined; }; } | undefined; version: string | undefined; platform: string | undefined; removed: boolean | undefined; snapshot: boolean | undefined; }[]" ], "path": "packages/kbn-osquery-io-ts-types/src/live_query/index.ts", "deprecated": false, @@ -225,7 +225,7 @@ "label": "ObjectQueries", "description": [], "signature": [ - "{ [x: string]: { query: string; id: string; ecs_mapping: { [x: string]: { field?: string | undefined; value?: string | string[] | undefined; }; } | undefined; version: string | undefined; platform: string | undefined; saved_query_id: string | undefined; }; }" + "{ [x: string]: { query: string; id: string; ecs_mapping: { [x: string]: { field?: string | undefined; value?: string | string[] | undefined; }; } | undefined; version: string | undefined; platform: string | undefined; saved_query_id: string | undefined; removed: boolean | undefined; snapshot: boolean | undefined; }; }" ], "path": "packages/kbn-osquery-io-ts-types/src/live_query/index.ts", "deprecated": false, @@ -300,7 +300,7 @@ "label": "Queries", "description": [], "signature": [ - "{ id: string; query: string; ecs_mapping: { [x: string]: { field?: string | undefined; value?: string | string[] | undefined; }; } | undefined; version: string | undefined; platform: string | undefined; }[] | { [x: string]: { query: string; id: string; ecs_mapping: { [x: string]: { field?: string | undefined; value?: string | string[] | undefined; }; } | undefined; version: string | undefined; platform: string | undefined; saved_query_id: string | undefined; }; }" + "{ id: string; query: string; ecs_mapping: { [x: string]: { field?: string | undefined; value?: string | string[] | undefined; }; } | undefined; version: string | undefined; platform: string | undefined; removed: boolean | undefined; snapshot: boolean | undefined; }[] | { [x: string]: { query: string; id: string; ecs_mapping: { [x: string]: { field?: string | undefined; value?: string | string[] | undefined; }; } | undefined; version: string | undefined; platform: string | undefined; saved_query_id: string | undefined; removed: boolean | undefined; snapshot: boolean | undefined; }; }" ], "path": "packages/kbn-osquery-io-ts-types/src/live_query/index.ts", "deprecated": false, @@ -315,7 +315,7 @@ "label": "QueriesOrUndefined", "description": [], "signature": [ - "{ id: string; query: string; ecs_mapping: { [x: string]: { field?: string | undefined; value?: string | string[] | undefined; }; } | undefined; version: string | undefined; platform: string | undefined; }[] | { [x: string]: { query: string; id: string; ecs_mapping: { [x: string]: { field?: string | undefined; value?: string | string[] | undefined; }; } | undefined; version: string | undefined; platform: string | undefined; saved_query_id: string | undefined; }; } | undefined" + "{ id: string; query: string; ecs_mapping: { [x: string]: { field?: string | undefined; value?: string | string[] | undefined; }; } | undefined; version: string | undefined; platform: string | undefined; removed: boolean | undefined; snapshot: boolean | undefined; }[] | undefined" ], "path": "packages/kbn-osquery-io-ts-types/src/live_query/index.ts", "deprecated": false, @@ -600,6 +600,18 @@ "StringC", ", ", "UndefinedC", + "]>; removed: ", + "UnionC", + "<[", + "BooleanC", + ", ", + "UndefinedC", + "]>; snapshot: ", + "UnionC", + "<[", + "BooleanC", + ", ", + "UndefinedC", "]>; }>>" ], "path": "packages/kbn-osquery-io-ts-types/src/live_query/index.ts", @@ -891,6 +903,18 @@ "StringC", ", ", "UndefinedC", + "]>; removed: ", + "UnionC", + "<[", + "BooleanC", + ", ", + "UndefinedC", + "]>; snapshot: ", + "UnionC", + "<[", + "BooleanC", + ", ", + "UndefinedC", "]>; }>>" ], "path": "packages/kbn-osquery-io-ts-types/src/live_query/index.ts", @@ -1017,6 +1041,18 @@ "StringC", ", ", "UndefinedC", + "]>; removed: ", + "UnionC", + "<[", + "BooleanC", + ", ", + "UndefinedC", + "]>; snapshot: ", + "UnionC", + "<[", + "BooleanC", + ", ", + "UndefinedC", "]>; }>>, ", "RecordC", "<", @@ -1065,6 +1101,18 @@ "StringC", ", ", "UndefinedC", + "]>; removed: ", + "UnionC", + "<[", + "BooleanC", + ", ", + "UndefinedC", + "]>; snapshot: ", + "UnionC", + "<[", + "BooleanC", + ", ", + "UndefinedC", "]>; }>>]>" ], "path": "packages/kbn-osquery-io-ts-types/src/live_query/index.ts", @@ -1080,8 +1128,6 @@ "label": "queriesOrUndefined", "description": [], "signature": [ - "UnionC", - "<[", "UnionC", "<[", "ArrayC", @@ -1123,55 +1169,19 @@ "StringC", ", ", "UndefinedC", - "]>; }>>, ", - "RecordC", - "<", - "StringC", - ", ", - "TypeC", - "<{ query: ", - "StringC", - "; id: ", - "StringC", - "; ecs_mapping: ", - "UnionC", - "<[", - "RecordC", - "<", - "StringC", - ", ", - "PartialC", - "<{ field: ", - "StringC", - "; value: ", - "UnionC", - "<[", - "StringC", - ", ", - "ArrayC", - "<", - "StringC", - ">]>; }>>, ", - "UndefinedC", - "]>; version: ", + "]>; removed: ", "UnionC", "<[", - "StringC", - ", ", - "UndefinedC", - "]>; platform: ", - "UnionC", - "<[", - "StringC", + "BooleanC", ", ", "UndefinedC", - "]>; saved_query_id: ", + "]>; snapshot: ", "UnionC", "<[", - "StringC", + "BooleanC", ", ", "UndefinedC", - "]>; }>>]>, ", + "]>; }>>, ", "UndefinedC", "]>" ], diff --git a/api_docs/kbn_osquery_io_ts_types.mdx b/api_docs/kbn_osquery_io_ts_types.mdx index 0b34bf3d854650..d208989b34f5d2 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-01-05 +date: 2023-01-09 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 cf3cb26dec6e2d..58e797da9c556e 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-01-05 +date: 2023-01-09 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 15351567c0614f..fbd5cdf0196a27 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-01-05 +date: 2023-01-09 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 f7f994f3ed8978..9ded31429aa215 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-01-05 +date: 2023-01-09 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/plugin-helpers'] --- import kbnPluginHelpersObj from './kbn_plugin_helpers.devdocs.json'; diff --git a/api_docs/kbn_react_field.mdx b/api_docs/kbn_react_field.mdx index fc67e2cc7e19b0..7864f995abe380 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-01-05 +date: 2023-01-09 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/react-field'] --- import kbnReactFieldObj from './kbn_react_field.devdocs.json'; diff --git a/api_docs/kbn_repo_path.mdx b/api_docs/kbn_repo_path.mdx index 79aa99c6ca24e6..c9498bce0302ef 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-01-05 +date: 2023-01-09 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 ac382bfc689360..d2a7b8ec1c3b03 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-01-05 +date: 2023-01-09 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/repo-source-classifier'] --- import kbnRepoSourceClassifierObj from './kbn_repo_source_classifier.devdocs.json'; diff --git a/api_docs/kbn_rison.devdocs.json b/api_docs/kbn_rison.devdocs.json index f6c4c481670fd5..6d27f7e58ad0e7 100644 --- a/api_docs/kbn_rison.devdocs.json +++ b/api_docs/kbn_rison.devdocs.json @@ -206,6 +206,48 @@ ], "returnComment": [], "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/rison", + "id": "def-common.safeDecode", + "type": "Function", + "tags": [], + "label": "safeDecode", + "description": [ + "\nsafely parse a rison string into a javascript structure, never throws" + ], + "signature": [ + "(rison: string) => ", + { + "pluginId": "@kbn/rison", + "scope": "common", + "docId": "kibKbnRisonPluginApi", + "section": "def-common.RisonValue", + "text": "RisonValue" + } + ], + "path": "packages/kbn-rison/kbn_rison.ts", + "deprecated": false, + "trackAdoption": false, + "children": [ + { + "parentPluginId": "@kbn/rison", + "id": "def-common.safeDecode.$1", + "type": "string", + "tags": [], + "label": "rison", + "description": [], + "signature": [ + "string" + ], + "path": "packages/kbn-rison/kbn_rison.ts", + "deprecated": false, + "trackAdoption": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false } ], "interfaces": [], diff --git a/api_docs/kbn_rison.mdx b/api_docs/kbn_rison.mdx index 5dbfc0bddb3211..03bc18f3a3c66a 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-01-05 +date: 2023-01-09 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/rison'] --- import kbnRisonObj from './kbn_rison.devdocs.json'; @@ -21,7 +21,7 @@ Contact [Owner missing] for questions regarding this plugin. | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 11 | 2 | 7 | 0 | +| 13 | 2 | 8 | 0 | ## Common diff --git a/api_docs/kbn_rule_data_utils.mdx b/api_docs/kbn_rule_data_utils.mdx index 84bc39527bb7ce..b8ac712c42e1cd 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-01-05 +date: 2023-01-09 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/rule-data-utils'] --- import kbnRuleDataUtilsObj from './kbn_rule_data_utils.devdocs.json'; diff --git a/api_docs/kbn_securitysolution_autocomplete.mdx b/api_docs/kbn_securitysolution_autocomplete.mdx index 44d47c67c4d028..0b729b1f6fddb7 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-01-05 +date: 2023-01-09 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/securitysolution-autocomplete'] --- import kbnSecuritysolutionAutocompleteObj from './kbn_securitysolution_autocomplete.devdocs.json'; diff --git a/api_docs/kbn_securitysolution_es_utils.mdx b/api_docs/kbn_securitysolution_es_utils.mdx index a618242de8bf7a..f95919f50a2529 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-01-05 +date: 2023-01-09 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 6972bc971f7076..8311092787864f 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-01-05 +date: 2023-01-09 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/securitysolution-exception-list-components'] --- import kbnSecuritysolutionExceptionListComponentsObj from './kbn_securitysolution_exception_list_components.devdocs.json'; diff --git a/api_docs/kbn_securitysolution_hook_utils.mdx b/api_docs/kbn_securitysolution_hook_utils.mdx index 017642222ae4b5..ac7de620f2dba9 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-01-05 +date: 2023-01-09 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 ea035a67243bfc..2ef8dd92a60344 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-01-05 +date: 2023-01-09 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 0b6a62ebec764c..77badb89b3721c 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-01-05 +date: 2023-01-09 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 b344f611b3f0af..176ba0cf1c4fe4 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-01-05 +date: 2023-01-09 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 424999d392e610..6bfd56e20badca 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-01-05 +date: 2023-01-09 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 f3864b8cb0eef8..8748c2146b681c 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-01-05 +date: 2023-01-09 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 a17a8dd2433ee3..b3cdcea9c65fc0 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-01-05 +date: 2023-01-09 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 e799bb951a0148..ac62dd52d18abd 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-01-05 +date: 2023-01-09 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 b1658ea9a22755..7ad64039976b91 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-01-05 +date: 2023-01-09 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 d1c23e5ba63dfa..793fe2f6c6a3e9 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-01-05 +date: 2023-01-09 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 13e519e25775f4..f9d0c539867af9 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-01-05 +date: 2023-01-09 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 b3630c6a28db32..3904573e2058b6 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-01-05 +date: 2023-01-09 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 5d50550cbbdd8f..96784a9dd35c92 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-01-05 +date: 2023-01-09 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 9d4fa496b09944..6ffd814a801e8c 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-01-05 +date: 2023-01-09 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/server-route-repository'] --- import kbnServerRouteRepositoryObj from './kbn_server_route_repository.devdocs.json'; diff --git a/api_docs/kbn_shared_svg.mdx b/api_docs/kbn_shared_svg.mdx index 996b1e7e4628d2..2ca9e3a24346ab 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-01-05 +date: 2023-01-09 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 8d7231c293dddd..a068857319cb3b 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-01-05 +date: 2023-01-09 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 d8f0177ce5d264..b819e612b164ea 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-01-05 +date: 2023-01-09 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 5ac3b19d8f7377..63ab62a2cad156 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-01-05 +date: 2023-01-09 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 f53f4f93c07c88..673dd28a872fff 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-01-05 +date: 2023-01-09 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 5ab035a0f0d24b..8d4cfa8ec3904f 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-01-05 +date: 2023-01-09 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 823c9b7dfd7df0..e46e123cb9b619 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-01-05 +date: 2023-01-09 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 6e71f9f1b44115..9a1ce76f350d13 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-01-05 +date: 2023-01-09 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_file_context.mdx b/api_docs/kbn_shared_ux_file_context.mdx index bce15f8bee34fc..bed8fa55ea8207 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-01-05 +date: 2023-01-09 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 7aaa203a969e91..0c9a2bbd9333a7 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-01-05 +date: 2023-01-09 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 1dbef0f3dec9b3..b9fd59ba697d52 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-01-05 +date: 2023-01-09 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 e05608c51da615..a9cfd399e8f325 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-01-05 +date: 2023-01-09 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 00a733c1f013be..f0d494b0a31125 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-01-05 +date: 2023-01-09 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_upload.mdx b/api_docs/kbn_shared_ux_file_upload.mdx index 10182b405828eb..3915f35e74147a 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-01-05 +date: 2023-01-09 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 4d89f9f6afa9a5..d8d658f687890f 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-01-05 +date: 2023-01-09 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 8db2583b790e4d..5713155fbae131 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-01-05 +date: 2023-01-09 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 6bd6b1bcd24f12..99eb870cd46db3 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-01-05 +date: 2023-01-09 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 34849a157ee774..be9ca0ecbf780c 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-01-05 +date: 2023-01-09 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 cf8823b0e46e23..222a8ab641754a 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-01-05 +date: 2023-01-09 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 6fcca6f149e0fe..7e11590cc99d9c 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-01-05 +date: 2023-01-09 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 7858aa8f305501..dd7197f6299b45 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-01-05 +date: 2023-01-09 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 da4489070a9546..4f6e7532977fe3 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-01-05 +date: 2023-01-09 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 8cccc955948067..ca8ab5916b5de6 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-01-05 +date: 2023-01-09 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 c298217f90f525..19b40a7902df6a 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-01-05 +date: 2023-01-09 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 40ba5d3ba383e4..4fb019e469c4c8 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-01-05 +date: 2023-01-09 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 840aa22e56e8d7..a2cae7542345c6 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-01-05 +date: 2023-01-09 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 76080ea92521cd..644374168c44a2 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-01-05 +date: 2023-01-09 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 a26b0f9e3a688e..61e86737d7d704 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-01-05 +date: 2023-01-09 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 9f0208d1275850..f8bb2f633137d1 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-01-05 +date: 2023-01-09 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 1ad64edc7642d3..136b1c121e58c6 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-01-05 +date: 2023-01-09 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 6e405a9bcf5ab1..2652798598f013 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-01-05 +date: 2023-01-09 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 836de914f23117..2c169936ea6756 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-01-05 +date: 2023-01-09 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 fabf9042c2cf7d..6a53fda3129d51 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-01-05 +date: 2023-01-09 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 c5f0715c11702d..bd475c9817650c 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-01-05 +date: 2023-01-09 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 7e84f66ef4043b..b8d17a36429c0a 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-01-05 +date: 2023-01-09 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 6096b3f0847443..c3904063dab857 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-01-05 +date: 2023-01-09 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 1083fb81f22c70..d28a25ce9b93b3 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-01-05 +date: 2023-01-09 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 2f58ba8ccffb0f..909e16e3981334 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-01-05 +date: 2023-01-09 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-utility'] --- import kbnSharedUxUtilityObj from './kbn_shared_ux_utility.devdocs.json'; diff --git a/api_docs/kbn_slo_schema.mdx b/api_docs/kbn_slo_schema.mdx index ccd0383507f318..a5986452b05685 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-01-05 +date: 2023-01-09 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 d251cb53cf2b17..9490633dfc4816 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-01-05 +date: 2023-01-09 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/some-dev-log'] --- import kbnSomeDevLogObj from './kbn_some_dev_log.devdocs.json'; diff --git a/api_docs/kbn_sort_package_json.mdx b/api_docs/kbn_sort_package_json.mdx index 08fefdd0d1ca3f..ad618e638afbc3 100644 --- a/api_docs/kbn_sort_package_json.mdx +++ b/api_docs/kbn_sort_package_json.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-sort-package-json title: "@kbn/sort-package-json" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/sort-package-json plugin -date: 2023-01-05 +date: 2023-01-09 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/sort-package-json'] --- import kbnSortPackageJsonObj from './kbn_sort_package_json.devdocs.json'; diff --git a/api_docs/kbn_std.mdx b/api_docs/kbn_std.mdx index b7b7c40dcd9fb5..a144f96f96fe53 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-01-05 +date: 2023-01-09 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 9b5d09a06fc4dc..69468049138862 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-01-05 +date: 2023-01-09 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 72182a0ebbdc89..327a5d05a565d6 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-01-05 +date: 2023-01-09 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 1ca990575df890..96d1f02ce63958 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-01-05 +date: 2023-01-09 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 c4d798f5c5de31..d303a57b482aed 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-01-05 +date: 2023-01-09 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 8dffa71ae8d45a..66bdf19cf3e33b 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-01-05 +date: 2023-01-09 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 c392548600e63a..ca94ecf2001226 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-01-05 +date: 2023-01-09 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/test-subj-selector'] --- import kbnTestSubjSelectorObj from './kbn_test_subj_selector.devdocs.json'; diff --git a/api_docs/kbn_tooling_log.mdx b/api_docs/kbn_tooling_log.mdx index b88de09d27123f..dba7783132c1c7 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-01-05 +date: 2023-01-09 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/tooling-log'] --- import kbnToolingLogObj from './kbn_tooling_log.devdocs.json'; diff --git a/api_docs/kbn_ts_project_linter.mdx b/api_docs/kbn_ts_project_linter.mdx index b439a5aa0bfa3e..3df6d029b18d83 100644 --- a/api_docs/kbn_ts_project_linter.mdx +++ b/api_docs/kbn_ts_project_linter.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ts-project-linter title: "@kbn/ts-project-linter" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ts-project-linter plugin -date: 2023-01-05 +date: 2023-01-09 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ts-project-linter'] --- import kbnTsProjectLinterObj from './kbn_ts_project_linter.devdocs.json'; diff --git a/api_docs/kbn_ts_projects.mdx b/api_docs/kbn_ts_projects.mdx index 3a381ea493b253..8da1219800b345 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-01-05 +date: 2023-01-09 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 50c32474f05fc8..3390e960d7ee98 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-01-05 +date: 2023-01-09 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_shared_deps_src.mdx b/api_docs/kbn_ui_shared_deps_src.mdx index 94c8343bce3533..c50c0e47d65e6c 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-01-05 +date: 2023-01-09 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 e6a35cfacbf864..6ecc82f0cc75da 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-01-05 +date: 2023-01-09 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ui-theme'] --- import kbnUiThemeObj from './kbn_ui_theme.devdocs.json'; diff --git a/api_docs/kbn_user_profile_components.mdx b/api_docs/kbn_user_profile_components.mdx index b746c104964a27..5b263bacfed528 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-01-05 +date: 2023-01-09 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 dfa00ffb283f3c..6de6961a25f455 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-01-05 +date: 2023-01-09 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 a7d30a4b91117f..1b7d28310ac4e3 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-01-05 +date: 2023-01-09 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 08e8cab6e78ce6..80adf4bbc18dc1 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-01-05 +date: 2023-01-09 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/utils'] --- import kbnUtilsObj from './kbn_utils.devdocs.json'; diff --git a/api_docs/kbn_yarn_lock_validator.mdx b/api_docs/kbn_yarn_lock_validator.mdx index 3a29ccbae806c5..138653d6f1eea6 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-01-05 +date: 2023-01-09 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 e1852062078786..44f182b9ed2df7 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-01-05 +date: 2023-01-09 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'kibanaOverview'] --- import kibanaOverviewObj from './kibana_overview.devdocs.json'; diff --git a/api_docs/kibana_react.mdx b/api_docs/kibana_react.mdx index bcbecb8b8b5bee..6185ebc07d1455 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-01-05 +date: 2023-01-09 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 785e8e432a222e..e9b46e2deb2fda 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-01-05 +date: 2023-01-09 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 aeb8e5772ccc6b..0b02243fb41203 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-01-05 +date: 2023-01-09 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'kubernetesSecurity'] --- import kubernetesSecurityObj from './kubernetes_security.devdocs.json'; diff --git a/api_docs/lens.mdx b/api_docs/lens.mdx index 27052ecd2330fd..aece2377a7e0ad 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-01-05 +date: 2023-01-09 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 53c1e47a9d71b8..8c1dcfe2ae8f6e 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-01-05 +date: 2023-01-09 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 08c2f9018d9098..26bbf896c26365 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-01-05 +date: 2023-01-09 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 d8b2fbaca716d4..8832fead82b684 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-01-05 +date: 2023-01-09 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'licensing'] --- import licensingObj from './licensing.devdocs.json'; diff --git a/api_docs/lists.mdx b/api_docs/lists.mdx index d73fe879a87dfc..5206ee34cd476f 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-01-05 +date: 2023-01-09 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'lists'] --- import listsObj from './lists.devdocs.json'; diff --git a/api_docs/management.mdx b/api_docs/management.mdx index a26a82cd9eba6c..73b11afa985584 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-01-05 +date: 2023-01-09 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 050824fa799b0d..1322c192f1e3a0 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-01-05 +date: 2023-01-09 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 c75b8757894f92..6b2f10d29a1239 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-01-05 +date: 2023-01-09 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'mapsEms'] --- import mapsEmsObj from './maps_ems.devdocs.json'; diff --git a/api_docs/ml.mdx b/api_docs/ml.mdx index 27a62e0df36726..6e858f7ee33367 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-01-05 +date: 2023-01-09 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 f41f8bb07b586c..e9b2f79cc147cb 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-01-05 +date: 2023-01-09 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 ad1619e7850534..6032c8c8df2f81 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-01-05 +date: 2023-01-09 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 b9ef397cc3cb64..6b88671558f1fe 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-01-05 +date: 2023-01-09 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 6c81a74661a3fc..54ae76a2e6ec89 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-01-05 +date: 2023-01-09 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 d419273cbb40dd..d27e8e7836f449 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-01-05 +date: 2023-01-09 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'notifications'] --- import notificationsObj from './notifications.devdocs.json'; diff --git a/api_docs/observability.mdx b/api_docs/observability.mdx index 66d90e0580f10d..148df74b3e7623 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-01-05 +date: 2023-01-09 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'observability'] --- import observabilityObj from './observability.devdocs.json'; diff --git a/api_docs/osquery.devdocs.json b/api_docs/osquery.devdocs.json index 9ec19fc8e2d461..afb316f5ab7a51 100644 --- a/api_docs/osquery.devdocs.json +++ b/api_docs/osquery.devdocs.json @@ -43,7 +43,7 @@ "((props: ", "OsqueryActionProps", " & { ecsData?: ", - "AlertEcsData", + "Ecs", " | undefined; }) => JSX.Element) | undefined" ], "path": "x-pack/plugins/osquery/public/types.ts", @@ -190,6 +190,46 @@ "trackAdoption": false } ] + }, + { + "parentPluginId": "osquery", + "id": "def-public.OsqueryPluginStart.fetchAllLiveQueries", + "type": "Function", + "tags": [], + "label": "fetchAllLiveQueries", + "description": [], + "signature": [ + "(config: ", + "UseAllLiveQueriesConfig", + ") => ", + "UseQueryResult", + "<{ data: Omit<", + "ActionsStrategyResponse", + ", \"edges\"> & { items: ", + "SearchHit", + "[]; }; }, Error>" + ], + "path": "x-pack/plugins/osquery/public/types.ts", + "deprecated": false, + "trackAdoption": false, + "children": [ + { + "parentPluginId": "osquery", + "id": "def-public.OsqueryPluginStart.fetchAllLiveQueries.$1", + "type": "Object", + "tags": [], + "label": "config", + "description": [], + "signature": [ + "UseAllLiveQueriesConfig" + ], + "path": "x-pack/plugins/osquery/public/types.ts", + "deprecated": false, + "trackAdoption": false, + "isRequired": true + } + ], + "returnComment": [] } ], "lifecycle": "start", @@ -222,7 +262,15 @@ "label": "osqueryCreateAction", "description": [], "signature": [ - "(payload: { agent_ids?: string[] | undefined; agent_all?: boolean | undefined; agent_platforms?: string[] | undefined; agent_policy_ids?: string[] | undefined; query?: string | undefined; queries?: { id: string; query: string; ecs_mapping: { [x: string]: { field?: string | undefined; value?: string | string[] | undefined; }; } | undefined; version: string | undefined; platform: string | undefined; }[] | { [x: string]: { query: string; id: string; ecs_mapping: { [x: string]: { field?: string | undefined; value?: string | string[] | undefined; }; } | undefined; version: string | undefined; platform: string | undefined; saved_query_id: string | undefined; }; } | undefined; saved_query_id?: string | undefined; ecs_mapping?: { [x: string]: { field?: string | undefined; value?: string | string[] | undefined; }; } | undefined; pack_id?: string | undefined; alert_ids?: string[] | undefined; case_ids?: string[] | undefined; event_ids?: string[] | undefined; metadata?: object | undefined; }) => void" + "(payload: { agent_ids?: string[] | undefined; agent_all?: boolean | undefined; agent_platforms?: string[] | undefined; agent_policy_ids?: string[] | undefined; query?: string | undefined; queries?: { id: string; query: string; ecs_mapping: { [x: string]: { field?: string | undefined; value?: string | string[] | undefined; }; } | undefined; version: string | undefined; platform: string | undefined; removed: boolean | undefined; snapshot: boolean | undefined; }[] | undefined; saved_query_id?: string | undefined; ecs_mapping?: { [x: string]: { field?: string | undefined; value?: string | string[] | undefined; }; } | undefined; pack_id?: string | undefined; alert_ids?: string[] | undefined; case_ids?: string[] | undefined; event_ids?: string[] | undefined; metadata?: object | undefined; }, ecsData?: ", + { + "pluginId": "@kbn/ecs", + "scope": "common", + "docId": "kibKbnEcsPluginApi", + "section": "def-common.Ecs", + "text": "Ecs" + }, + " | undefined) => void" ], "path": "x-pack/plugins/osquery/server/types.ts", "deprecated": false, @@ -236,12 +284,34 @@ "label": "payload", "description": [], "signature": [ - "{ agent_ids?: string[] | undefined; agent_all?: boolean | undefined; agent_platforms?: string[] | undefined; agent_policy_ids?: string[] | undefined; query?: string | undefined; queries?: { id: string; query: string; ecs_mapping: { [x: string]: { field?: string | undefined; value?: string | string[] | undefined; }; } | undefined; version: string | undefined; platform: string | undefined; }[] | { [x: string]: { query: string; id: string; ecs_mapping: { [x: string]: { field?: string | undefined; value?: string | string[] | undefined; }; } | undefined; version: string | undefined; platform: string | undefined; saved_query_id: string | undefined; }; } | undefined; saved_query_id?: string | undefined; ecs_mapping?: { [x: string]: { field?: string | undefined; value?: string | string[] | undefined; }; } | undefined; pack_id?: string | undefined; alert_ids?: string[] | undefined; case_ids?: string[] | undefined; event_ids?: string[] | undefined; metadata?: object | undefined; }" + "{ agent_ids?: string[] | undefined; agent_all?: boolean | undefined; agent_platforms?: string[] | undefined; agent_policy_ids?: string[] | undefined; query?: string | undefined; queries?: { id: string; query: string; ecs_mapping: { [x: string]: { field?: string | undefined; value?: string | string[] | undefined; }; } | undefined; version: string | undefined; platform: string | undefined; removed: boolean | undefined; snapshot: boolean | undefined; }[] | undefined; saved_query_id?: string | undefined; ecs_mapping?: { [x: string]: { field?: string | undefined; value?: string | string[] | undefined; }; } | undefined; pack_id?: string | undefined; alert_ids?: string[] | undefined; case_ids?: string[] | undefined; event_ids?: string[] | undefined; metadata?: object | undefined; }" ], "path": "x-pack/plugins/osquery/server/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": true + }, + { + "parentPluginId": "osquery", + "id": "def-server.OsqueryPluginSetup.osqueryCreateAction.$2", + "type": "CompoundType", + "tags": [], + "label": "ecsData", + "description": [], + "signature": [ + { + "pluginId": "@kbn/ecs", + "scope": "common", + "docId": "kibKbnEcsPluginApi", + "section": "def-common.Ecs", + "text": "Ecs" + }, + " | undefined" + ], + "path": "x-pack/plugins/osquery/server/types.ts", + "deprecated": false, + "trackAdoption": false, + "isRequired": false } ], "returnComment": [] diff --git a/api_docs/osquery.mdx b/api_docs/osquery.mdx index 87042e93fd629c..107defad71e0a0 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-01-05 +date: 2023-01-09 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'osquery'] --- import osqueryObj from './osquery.devdocs.json'; @@ -21,7 +21,7 @@ Contact [Security asset management](https://github.com/orgs/elastic/teams/securi | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 21 | 0 | 21 | 5 | +| 24 | 0 | 24 | 7 | ## Client diff --git a/api_docs/plugin_directory.mdx b/api_docs/plugin_directory.mdx index e4e0db0e99b24a..a697f82929b5af 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-01-05 +date: 2023-01-09 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 | |--------------|----------|------------------------| -| 542 | 448 | 42 | +| 544 | 450 | 42 | ### Public API health stats | API Count | Any Count | Missing comments | Missing exports | |--------------|----------|-----------------|--------| -| 34115 | 521 | 23837 | 1176 | +| 34131 | 521 | 23848 | 1178 | ## Plugin Directory @@ -89,7 +89,7 @@ tags: ['contributor', 'dev', 'apidocs', 'kibana'] | | [Machine Learning UI](https://github.com/orgs/elastic/teams/ml-ui) | The file upload plugin contains components and services for uploading a file, analyzing its data, and then importing the data into an Elasticsearch index. Supported file types include CSV, TSV, newline-delimited JSON and GeoJSON. | 62 | 0 | 62 | 2 | | | [@elastic/kibana-app-services](https://github.com/orgs/elastic/teams/team:AppServicesUx) | File upload, download, sharing, and serving over HTTP implementation in Kibana. | 252 | 1 | 45 | 5 | | | [@elastic/kibana-global-experience](https://github.com/orgs/elastic/teams/@elastic/kibana-global-experience) | Simple UI for managing files in Kibana | 2 | 1 | 2 | 0 | -| | [Fleet](https://github.com/orgs/elastic/teams/fleet) | - | 1029 | 3 | 924 | 20 | +| | [Fleet](https://github.com/orgs/elastic/teams/fleet) | - | 1032 | 3 | 926 | 20 | | | [Kibana Core](https://github.com/orgs/elastic/teams/kibana-core) | - | 68 | 0 | 14 | 5 | | globalSearchBar | [Kibana Core](https://github.com/orgs/elastic/teams/kibana-core) | - | 0 | 0 | 0 | 0 | | globalSearchProviders | [Kibana Core](https://github.com/orgs/elastic/teams/kibana-core) | - | 0 | 0 | 0 | 0 | @@ -126,7 +126,7 @@ tags: ['contributor', 'dev', 'apidocs', 'kibana'] | | [Kibana Core](https://github.com/orgs/elastic/teams/kibana-core) | - | 17 | 0 | 17 | 0 | | | [App Services](https://github.com/orgs/elastic/teams/kibana-app-services) | - | 2 | 0 | 2 | 1 | | | [Observability UI](https://github.com/orgs/elastic/teams/observability-ui) | - | 571 | 38 | 567 | 31 | -| | [Security asset management](https://github.com/orgs/elastic/teams/security-asset-management) | - | 21 | 0 | 21 | 5 | +| | [Security asset management](https://github.com/orgs/elastic/teams/security-asset-management) | - | 24 | 0 | 24 | 7 | | painlessLab | [Stack Management](https://github.com/orgs/elastic/teams/kibana-stack-management) | - | 0 | 0 | 0 | 0 | | | [Kibana Presentation](https://github.com/orgs/elastic/teams/kibana-presentation) | The Presentation Utility Plugin is a set of common, shared components and toolkits for solutions within the Presentation space, (e.g. Dashboards, Canvas). | 231 | 7 | 175 | 11 | | | [profiling](https://github.com/orgs/elastic/teams/profiling-ui) | - | 15 | 2 | 15 | 0 | @@ -165,7 +165,7 @@ tags: ['contributor', 'dev', 'apidocs', 'kibana'] | | [Response Ops](https://github.com/orgs/elastic/teams/response-ops) | - | 579 | 11 | 550 | 53 | | | [App Services](https://github.com/orgs/elastic/teams/kibana-app-services) | Adds UI Actions service to Kibana | 140 | 2 | 97 | 12 | | | [App Services](https://github.com/orgs/elastic/teams/kibana-app-services) | Extends UI Actions plugin with more functionality | 206 | 0 | 142 | 9 | -| | [Data Discovery](https://github.com/orgs/elastic/teams/kibana-data-discovery) | Contains functionality for the field list which can be integrated into apps | 269 | 0 | 244 | 7 | +| | [Data Discovery](https://github.com/orgs/elastic/teams/kibana-data-discovery) | Contains functionality for the field list which can be integrated into apps | 270 | 0 | 245 | 7 | | | [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. | 52 | 0 | 15 | 0 | | | [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. | 134 | 2 | 99 | 20 | | upgradeAssistant | [Stack Management](https://github.com/orgs/elastic/teams/kibana-stack-management) | - | 0 | 0 | 0 | 0 | @@ -412,7 +412,9 @@ tags: ['contributor', 'dev', 'apidocs', 'kibana'] | | [Owner missing] | - | 6 | 0 | 1 | 1 | | | [Owner missing] | - | 534 | 1 | 1 | 0 | | | Machine Learning UI | This package includes utility functions related to creating elasticsearch aggregation queries, data manipulation and verification. | 82 | 2 | 58 | 0 | +| | [Owner missing] | - | 2 | 0 | 1 | 0 | | | Machine Learning UI | A type guard to check record like object structures. | 3 | 0 | 2 | 0 | +| | Machine Learning UI | Utilities to combine url state management with local storage. | 5 | 0 | 3 | 0 | | | Machine Learning UI | TypeScript-aware utility functions to get/set attributes from objects. | 8 | 2 | 8 | 0 | | | Machine Learning UI | Creates a deterministic number based hash out of a string. | 2 | 0 | 1 | 0 | | | Machine Learning UI | Url state management utilities. | 31 | 1 | 24 | 1 | @@ -426,7 +428,7 @@ tags: ['contributor', 'dev', 'apidocs', 'kibana'] | | [Owner missing] | - | 21 | 0 | 10 | 0 | | | [Owner missing] | - | 11 | 0 | 8 | 0 | | | [Owner missing] | - | 6 | 0 | 6 | 1 | -| | [Owner missing] | - | 11 | 2 | 7 | 0 | +| | [Owner missing] | - | 13 | 2 | 8 | 0 | | | [Owner missing] | - | 97 | 0 | 94 | 0 | | | [Owner missing] | Security Solution auto complete | 56 | 1 | 41 | 1 | | | [Owner missing] | security solution elastic search utilities to use across plugins such lists, security_solution, cases, etc... | 67 | 0 | 61 | 1 | diff --git a/api_docs/presentation_util.mdx b/api_docs/presentation_util.mdx index 70e037e70dcac8..ba76ab22302eee 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-01-05 +date: 2023-01-09 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 cae40a51c6170d..5ad31e51db80bc 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-01-05 +date: 2023-01-09 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 96981e1a4c447b..78e3ef59625e5d 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-01-05 +date: 2023-01-09 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 1e699f74f13356..0ba680ce495e3f 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-01-05 +date: 2023-01-09 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'reporting'] --- import reportingObj from './reporting.devdocs.json'; diff --git a/api_docs/rollup.mdx b/api_docs/rollup.mdx index 42a27713d9d2c1..3d0b9a0fa58e26 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-01-05 +date: 2023-01-09 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 f48e26810b8472..6b993f220bda61 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-01-05 +date: 2023-01-09 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 81bc391b6f69e7..38a129be1d77a9 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-01-05 +date: 2023-01-09 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 4b9aa2fac2319c..0d16830dcc99cd 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-01-05 +date: 2023-01-09 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 eae53296bc84f6..9000fc7b91ea0e 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-01-05 +date: 2023-01-09 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 1b0ce119303c05..e3c723291457d2 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-01-05 +date: 2023-01-09 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 1cf212e28e014b..7d3ecae3665ed3 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-01-05 +date: 2023-01-09 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 94983625fdc2de..43febb7894ba63 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-01-05 +date: 2023-01-09 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 a6b97790257f1a..3a668bf2061ef8 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-01-05 +date: 2023-01-09 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 5c256409cec602..cd7f0dc88773f4 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-01-05 +date: 2023-01-09 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 eccc30a39e4fd6..64ffa67bafcd4a 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-01-05 +date: 2023-01-09 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 758ded7a6a1126..dd977aafaab27c 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-01-05 +date: 2023-01-09 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 7dd5ea5cdb7aad..8e75bb1d52d7d8 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-01-05 +date: 2023-01-09 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'securitySolution'] --- import securitySolutionObj from './security_solution.devdocs.json'; diff --git a/api_docs/session_view.mdx b/api_docs/session_view.mdx index 8e156c78006bba..d582cf2d75a658 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-01-05 +date: 2023-01-09 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 30d4383c02d5c4..f1a2b3c1b7fd03 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-01-05 +date: 2023-01-09 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 3d6d9035a57b13..b06a27b9e49ce6 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-01-05 +date: 2023-01-09 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 1ae911770642bb..c0315f4fd599b2 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-01-05 +date: 2023-01-09 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 3d9c2134f1e3b6..3460f2aa4cb2fe 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-01-05 +date: 2023-01-09 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 ed8208fb46e081..8d0c6770518e44 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-01-05 +date: 2023-01-09 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 6c5bb5507a84c8..0cd86f3bcc273b 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-01-05 +date: 2023-01-09 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 f92fb69b09b2da..27584775ffd9b6 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-01-05 +date: 2023-01-09 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'telemetry'] --- import telemetryObj from './telemetry.devdocs.json'; diff --git a/api_docs/telemetry_collection_manager.mdx b/api_docs/telemetry_collection_manager.mdx index 377f96ecc66839..f1195314db4bcd 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-01-05 +date: 2023-01-09 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 46247e0e29196b..bf9b9ca42aaaa9 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-01-05 +date: 2023-01-09 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 f4f28414e410c0..6e2f61a625b8ff 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-01-05 +date: 2023-01-09 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'telemetryManagementSection'] --- import telemetryManagementSectionObj from './telemetry_management_section.devdocs.json'; diff --git a/api_docs/threat_intelligence.mdx b/api_docs/threat_intelligence.mdx index 461e9aa967832c..39748981da0d12 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-01-05 +date: 2023-01-09 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 74588448d5ca7c..add1032a306fcd 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-01-05 +date: 2023-01-09 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 b348ec5afd3e53..4be6a50ed72617 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-01-05 +date: 2023-01-09 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 a6e0561dff4899..0b26c32a445ec2 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-01-05 +date: 2023-01-09 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 657940d58b65bb..77ef9bfaee8c90 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-01-05 +date: 2023-01-09 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 80d3a2124bc62a..f81e623fa3f73a 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-01-05 +date: 2023-01-09 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'uiActionsEnhanced'] --- import uiActionsEnhancedObj from './ui_actions_enhanced.devdocs.json'; diff --git a/api_docs/unified_field_list.devdocs.json b/api_docs/unified_field_list.devdocs.json index 19bf10e13212d4..4b58ce1785a444 100644 --- a/api_docs/unified_field_list.devdocs.json +++ b/api_docs/unified_field_list.devdocs.json @@ -2680,6 +2680,20 @@ "deprecated": false, "trackAdoption": false }, + { + "parentPluginId": "unifiedFieldList", + "id": "def-public.FieldListGroupedProps.localStorageKeyPrefix", + "type": "string", + "tags": [], + "label": "localStorageKeyPrefix", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "src/plugins/unified_field_list/public/components/field_list_grouped/field_list_grouped.tsx", + "deprecated": false, + "trackAdoption": false + }, { "parentPluginId": "unifiedFieldList", "id": "def-public.FieldListGroupedProps.datatestsubj", diff --git a/api_docs/unified_field_list.mdx b/api_docs/unified_field_list.mdx index b7253793086d39..afbd1e1598768a 100644 --- a/api_docs/unified_field_list.mdx +++ b/api_docs/unified_field_list.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/unifiedFieldList title: "unifiedFieldList" image: https://source.unsplash.com/400x175/?github description: API docs for the unifiedFieldList plugin -date: 2023-01-05 +date: 2023-01-09 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'unifiedFieldList'] --- import unifiedFieldListObj from './unified_field_list.devdocs.json'; @@ -21,7 +21,7 @@ Contact [Data Discovery](https://github.com/orgs/elastic/teams/kibana-data-disco | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 269 | 0 | 244 | 7 | +| 270 | 0 | 245 | 7 | ## Client diff --git a/api_docs/unified_histogram.mdx b/api_docs/unified_histogram.mdx index 140702a4cfc30a..d276f90bb9ac7d 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-01-05 +date: 2023-01-09 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 2dac7a3f63b805..91f88d1bc3c088 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-01-05 +date: 2023-01-09 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 164293d5777534..94ebb1bf531a35 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-01-05 +date: 2023-01-09 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'unifiedSearch.autocomplete'] --- import unifiedSearchAutocompleteObj from './unified_search_autocomplete.devdocs.json'; diff --git a/api_docs/url_forwarding.mdx b/api_docs/url_forwarding.mdx index fa07889a776e1f..3b98d214a2e62f 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-01-05 +date: 2023-01-09 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'urlForwarding'] --- import urlForwardingObj from './url_forwarding.devdocs.json'; diff --git a/api_docs/usage_collection.mdx b/api_docs/usage_collection.mdx index 465867848c75c0..8465f448402f98 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-01-05 +date: 2023-01-09 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 5d173f9b8aa9d4..e5ac4adf0bbcc8 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-01-05 +date: 2023-01-09 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 e298514f96805e..1b43811ead1184 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-01-05 +date: 2023-01-09 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 e8669b98e4f02e..753209d1409ef9 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-01-05 +date: 2023-01-09 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 f93abd9c4170f5..2005588d77a94d 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-01-05 +date: 2023-01-09 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 9e1f216b57f74d..2cf6d1f0509567 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-01-05 +date: 2023-01-09 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 52e95848f99285..19cddded0cb1f8 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-01-05 +date: 2023-01-09 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 039afd2f3323f8..4cfae7b2b112e2 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-01-05 +date: 2023-01-09 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 2e48b962a2e961..adc05ae437aa65 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-01-05 +date: 2023-01-09 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 bc1fafbc9ce171..b366f5fd421477 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-01-05 +date: 2023-01-09 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 5678d82df90fc0..470be3eab03b9e 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-01-05 +date: 2023-01-09 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 2b8c6bedbb45db..146642c3e898d3 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-01-05 +date: 2023-01-09 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 220ddeec219b49..910f7ff56c7695 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-01-05 +date: 2023-01-09 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'visualizations'] --- import visualizationsObj from './visualizations.devdocs.json'; diff --git a/package.json b/package.json index 8d1f1b053962dc..9bd39109e62c91 100644 --- a/package.json +++ b/package.json @@ -567,7 +567,7 @@ "load-json-file": "^6.2.0", "lodash": "^4.17.21", "lru-cache": "^4.1.5", - "luxon": "^2.3.2", + "luxon": "^2.5.2", "lz-string": "^1.4.4", "mapbox-gl-draw-rectangle-mode": "1.0.4", "maplibre-gl": "2.1.9", @@ -621,7 +621,7 @@ "react-fast-compare": "^2.0.4", "react-focus-on": "^3.7.0", "react-grid-layout": "^1.3.4", - "react-hook-form": "^7.41.2", + "react-hook-form": "^7.41.3", "react-intl": "^2.8.0", "react-is": "^17.0.2", "react-markdown": "^6.0.3", @@ -955,7 +955,7 @@ "@types/redux-logger": "^3.0.8", "@types/resolve": "^1.20.1", "@types/seedrandom": ">=2.0.0 <4.0.0", - "@types/selenium-webdriver": "^4.1.9", + "@types/selenium-webdriver": "^4.1.10", "@types/semver": "^7", "@types/set-value": "^2.0.0", "@types/sharp": "^0.30.4", @@ -1019,14 +1019,14 @@ "cssnano": "^5.1.12", "cssnano-preset-default": "^5.2.12", "csstype": "^3.0.2", - "cypress": "^11.2.0", - "cypress-axe": "^1.0.0", + "cypress": "^12.3.0", + "cypress-axe": "^1.2.0", "cypress-file-upload": "^5.0.8", - "cypress-multi-reporters": "^1.6.1", + "cypress-multi-reporters": "^1.6.2", "cypress-pipe": "^2.0.0", "cypress-react-selector": "^3.0.0", - "cypress-real-events": "^1.7.4", - "cypress-recurse": "^1.24.0", + "cypress-real-events": "^1.7.6", + "cypress-recurse": "^1.26.0", "debug": "^2.6.9", "delete-empty": "^2.0.0", "dependency-check": "^4.1.0", diff --git a/src/plugins/unified_search/public/dataview_picker/change_dataview.tsx b/src/plugins/unified_search/public/dataview_picker/change_dataview.tsx index bfc5aa5b92f14b..a7f473f95b3744 100644 --- a/src/plugins/unified_search/public/dataview_picker/change_dataview.tsx +++ b/src/plugins/unified_search/public/dataview_picker/change_dataview.tsx @@ -218,11 +218,11 @@ export function ChangeDataView({ ) : ( ), - + ); } panelItems.push( - <> + {onDataViewCreated && ( - + ); if (textBasedLanguages?.length) { panelItems.push( - , + , + key="textbasedLanguages-options" data-test-subj="text-based-languages-switcher" singleSelection="always" options={textBasedLanguages.map((lang) => ({ diff --git a/test/server_integration/http/ssl_with_p12_intermediate/index.js b/test/server_integration/http/ssl_with_p12_intermediate/index.js index 54ec6f53d144d7..e6ea68d7f8af99 100644 --- a/test/server_integration/http/ssl_with_p12_intermediate/index.js +++ b/test/server_integration/http/ssl_with_p12_intermediate/index.js @@ -9,7 +9,8 @@ export default function ({ getService }) { const supertest = getService('supertest'); - describe('kibana server with ssl', () => { + // FLAKY: https://github.com/elastic/kibana/issues/148515 + describe.skip('kibana server with ssl', () => { it('handles requests using ssl with a P12 keystore that uses an intermediate CA', async () => { await supertest.get('/').expect(302); }); diff --git a/x-pack/plugins/apm/ftr_e2e/cypress.config.ts b/x-pack/plugins/apm/ftr_e2e/cypress.config.ts index 81a2939b9c9a42..16a0e8effb28a0 100644 --- a/x-pack/plugins/apm/ftr_e2e/cypress.config.ts +++ b/x-pack/plugins/apm/ftr_e2e/cypress.config.ts @@ -32,6 +32,5 @@ export default defineCypressConfig({ baseUrl: 'http://localhost:5601', supportFile: './cypress/support/e2e.ts', specPattern: './cypress/e2e/**/*.cy.{js,jsx,ts,tsx}', - experimentalSessionAndOrigin: false, }, }); diff --git a/x-pack/plugins/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/waterfall/waterfall_flyout.tsx b/x-pack/plugins/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/waterfall/waterfall_flyout.tsx index 10333af97c6d8c..29521134ff0760 100644 --- a/x-pack/plugins/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/waterfall/waterfall_flyout.tsx +++ b/x-pack/plugins/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/waterfall/waterfall_flyout.tsx @@ -36,6 +36,7 @@ export function WaterfallFlyout({ } = useAnyOfApmParams( '/services/{serviceName}/transactions/view', '/mobile-services/{serviceName}/transactions/view', + '/traces/explorer/waterfall', '/dependencies/operation' ); const currentItem = waterfall.items.find( diff --git a/x-pack/plugins/apm/public/components/routing/home/index.tsx b/x-pack/plugins/apm/public/components/routing/home/index.tsx index 4186dc7be9a0c2..d0c251de089718 100644 --- a/x-pack/plugins/apm/public/components/routing/home/index.tsx +++ b/x-pack/plugins/apm/public/components/routing/home/index.tsx @@ -159,16 +159,21 @@ export const home = { '/traces/explorer/waterfall': { element: , params: t.type({ - query: t.type({ - traceId: t.string, - transactionId: t.string, - waterfallItemId: t.string, - detailTab: t.union([ - t.literal(TransactionTab.timeline), - t.literal(TransactionTab.metadata), - t.literal(TransactionTab.logs), - ]), - }), + query: t.intersection([ + t.type({ + traceId: t.string, + transactionId: t.string, + waterfallItemId: t.string, + detailTab: t.union([ + t.literal(TransactionTab.timeline), + t.literal(TransactionTab.metadata), + t.literal(TransactionTab.logs), + ]), + }), + t.partial({ + flyoutDetailTab: t.string, + }), + ]), }), defaults: { query: { diff --git a/x-pack/plugins/cases/public/components/all_cases/all_cases_list.test.tsx b/x-pack/plugins/cases/public/components/all_cases/all_cases_list.test.tsx index 3450313114a0bf..6c65308bc9a943 100644 --- a/x-pack/plugins/cases/public/components/all_cases/all_cases_list.test.tsx +++ b/x-pack/plugins/cases/public/components/all_cases/all_cases_list.test.tsx @@ -82,7 +82,8 @@ const mockKibana = () => { } as unknown as ReturnType); }; -describe('AllCasesListGeneric', () => { +// Flaky: https://github.com/elastic/kibana/issues/148486 +describe.skip('AllCasesListGeneric', () => { const refetchCases = jest.fn(); const onRowClick = jest.fn(); const updateCaseProperty = jest.fn(); @@ -1085,7 +1086,8 @@ describe('AllCasesListGeneric', () => { }); }); -describe('Assignees', () => { +// Flaky: https://github.com/elastic/kibana/issues/148490 +describe.skip('Assignees', () => { it('should hide the assignees column on basic license', async () => { useLicenseMock.mockReturnValue({ isAtLeastPlatinum: () => false }); diff --git a/x-pack/plugins/enterprise_search/public/applications/analytics/api/delete_analytics_collection/delete_analytics_collection_api_logic.tsx b/x-pack/plugins/enterprise_search/public/applications/analytics/api/delete_analytics_collection/delete_analytics_collection_api_logic.tsx index bdc01e65e95f7c..1cd07433721d5c 100644 --- a/x-pack/plugins/enterprise_search/public/applications/analytics/api/delete_analytics_collection/delete_analytics_collection_api_logic.tsx +++ b/x-pack/plugins/enterprise_search/public/applications/analytics/api/delete_analytics_collection/delete_analytics_collection_api_logic.tsx @@ -5,6 +5,8 @@ * 2.0. */ +import { i18n } from '@kbn/i18n'; + import { createApiLogic } from '../../../shared/api_logic/create_api_logic'; import { HttpLogic } from '../../../shared/http'; @@ -20,5 +22,11 @@ export const deleteAnalyticsCollection = async ({ id }: { id: string }) => { export const DeleteAnalyticsCollectionAPILogic = createApiLogic( ['analytics', 'delete_analytics_collection_api_logic'], - deleteAnalyticsCollection + deleteAnalyticsCollection, + { + showSuccessFlashFn: () => + i18n.translate('xpack.enterpriseSearch.analytics.collectionsDelete.action.successMessage', { + defaultMessage: 'The collection has been successfully deleted', + }), + } ); diff --git a/x-pack/plugins/enterprise_search/public/applications/analytics/components/add_analytics_collections/add_analytics_collection_logic.ts b/x-pack/plugins/enterprise_search/public/applications/analytics/components/add_analytics_collections/add_analytics_collection_logic.ts index 2e71bee479e684..1e97b48975d68a 100644 --- a/x-pack/plugins/enterprise_search/public/applications/analytics/components/add_analytics_collections/add_analytics_collection_logic.ts +++ b/x-pack/plugins/enterprise_search/public/applications/analytics/components/add_analytics_collections/add_analytics_collection_logic.ts @@ -13,7 +13,7 @@ import { Status } from '../../../../../common/types/api'; import { Actions } from '../../../shared/api_logic/create_api_logic'; import { generateEncodedPath } from '../../../shared/encode_path_params'; -import { flashAPIErrors, flashSuccessToast } from '../../../shared/flash_messages'; +import { flashSuccessToast } from '../../../shared/flash_messages'; import { KibanaLogic } from '../../../shared/kibana'; import { AddAnalyticsCollectionsAPILogic, @@ -59,7 +59,6 @@ export const AddAnalyticsCollectionLogic = kea< values: [AddAnalyticsCollectionsAPILogic, ['status']], }, listeners: ({ values, actions }) => ({ - apiError: (error) => flashAPIErrors(error), apiSuccess: async ({ name, id }, breakpoint) => { // Wait for propagation of the new collection flashSuccessToast( diff --git a/x-pack/plugins/enterprise_search/public/applications/analytics/components/analytics_collection_view/delete_analytics_collection_logic.test.ts b/x-pack/plugins/enterprise_search/public/applications/analytics/components/analytics_collection_view/delete_analytics_collection_logic.test.ts index 0e5db4adacb547..7db951a31ea93c 100644 --- a/x-pack/plugins/enterprise_search/public/applications/analytics/components/analytics_collection_view/delete_analytics_collection_logic.test.ts +++ b/x-pack/plugins/enterprise_search/public/applications/analytics/components/analytics_collection_view/delete_analytics_collection_logic.test.ts @@ -14,7 +14,7 @@ import { import { nextTick } from '@kbn/test-jest-helpers'; import { AnalyticsCollection } from '../../../../../common/types/analytics'; -import { HttpError, Status } from '../../../../../common/types/api'; +import { Status } from '../../../../../common/types/api'; import { DeleteAnalyticsCollectionLogic } from './delete_analytics_collection_logic'; @@ -48,12 +48,6 @@ describe('deleteAnalyticsCollectionLogic', () => { expect(mockFlashMessageHelpers.clearFlashMessages).toHaveBeenCalledTimes(1); }); - it('calls flashAPIErrors on apiError', () => { - DeleteAnalyticsCollectionLogic.actions.apiError({} as HttpError); - expect(mockFlashMessageHelpers.flashAPIErrors).toHaveBeenCalledTimes(1); - expect(mockFlashMessageHelpers.flashAPIErrors).toHaveBeenCalledWith({}); - }); - it('calls makeRequest on deleteAnalyticsCollections', async () => { const collectionName = 'name'; diff --git a/x-pack/plugins/enterprise_search/public/applications/analytics/components/analytics_collection_view/delete_analytics_collection_logic.ts b/x-pack/plugins/enterprise_search/public/applications/analytics/components/analytics_collection_view/delete_analytics_collection_logic.ts index 1804dbe7f4fc2b..f78e8ee76aff4d 100644 --- a/x-pack/plugins/enterprise_search/public/applications/analytics/components/analytics_collection_view/delete_analytics_collection_logic.ts +++ b/x-pack/plugins/enterprise_search/public/applications/analytics/components/analytics_collection_view/delete_analytics_collection_logic.ts @@ -7,16 +7,9 @@ import { kea, MakeLogicType } from 'kea'; -import { i18n } from '@kbn/i18n'; - import { AnalyticsCollection } from '../../../../../common/types/analytics'; import { Status } from '../../../../../common/types/api'; import { Actions } from '../../../shared/api_logic/create_api_logic'; -import { - flashAPIErrors, - clearFlashMessages, - flashSuccessToast, -} from '../../../shared/flash_messages'; import { KibanaLogic } from '../../../shared/kibana'; import { DeleteAnalyticsCollectionAPILogic, @@ -25,7 +18,6 @@ import { import { ROOT_PATH } from '../../routes'; export interface DeleteAnalyticsCollectionActions { - apiError: Actions<{}, DeleteAnalyticsCollectionApiLogicResponse>['apiError']; apiSuccess: Actions<{}, DeleteAnalyticsCollectionApiLogicResponse>['apiSuccess']; deleteAnalyticsCollection(id: string): { id: string }; makeRequest: Actions<{}, DeleteAnalyticsCollectionApiLogicResponse>['makeRequest']; @@ -43,17 +35,11 @@ export const DeleteAnalyticsCollectionLogic = kea< deleteAnalyticsCollection: (id) => ({ id }), }, connect: { - actions: [DeleteAnalyticsCollectionAPILogic, ['makeRequest', 'apiSuccess', 'apiError']], + actions: [DeleteAnalyticsCollectionAPILogic, ['makeRequest', 'apiSuccess']], values: [DeleteAnalyticsCollectionAPILogic, ['status']], }, listeners: ({ actions }) => ({ - apiError: (e) => flashAPIErrors(e), - apiSuccess: async (undefined, breakpoint) => { - flashSuccessToast( - i18n.translate('xpack.enterpriseSearch.analytics.collectionsDelete.action.successMessage', { - defaultMessage: 'The collection has been successfully deleted', - }) - ); + apiSuccess: async (_, breakpoint) => { // Wait for propagation of the collection deletion await breakpoint(1000); KibanaLogic.values.navigateToUrl(ROOT_PATH); @@ -61,7 +47,6 @@ export const DeleteAnalyticsCollectionLogic = kea< deleteAnalyticsCollection: ({ id }) => { actions.makeRequest({ id }); }, - makeRequest: () => clearFlashMessages(), }), path: ['enterprise_search', 'analytics', 'collections', 'delete'], selectors: ({ selectors }) => ({ diff --git a/x-pack/plugins/enterprise_search/public/applications/analytics/components/analytics_collection_view/fetch_analytics_collection_logic.test.tsx b/x-pack/plugins/enterprise_search/public/applications/analytics/components/analytics_collection_view/fetch_analytics_collection_logic.test.tsx index efd6993a8411e8..89c422da5739d4 100644 --- a/x-pack/plugins/enterprise_search/public/applications/analytics/components/analytics_collection_view/fetch_analytics_collection_logic.test.tsx +++ b/x-pack/plugins/enterprise_search/public/applications/analytics/components/analytics_collection_view/fetch_analytics_collection_logic.test.tsx @@ -10,14 +10,18 @@ import { LogicMounter, mockFlashMessageHelpers } from '../../../__mocks__/kea_lo import { AnalyticsCollection } from '../../../../../common/types/analytics'; import { HttpError, Status } from '../../../../../common/types/api'; +import { FetchAnalyticsCollectionAPILogic } from '../../api/fetch_analytics_collection/fetch_analytics_collection_api_logic'; + import { FetchAnalyticsCollectionLogic } from './fetch_analytics_collection_logic'; describe('fetchAnalyticsCollectionLogic', () => { + const { mount: apiLogicMount } = new LogicMounter(FetchAnalyticsCollectionAPILogic); const { mount } = new LogicMounter(FetchAnalyticsCollectionLogic); beforeEach(() => { jest.clearAllMocks(); jest.useRealTimers(); + apiLogicMount(); mount(); }); @@ -39,7 +43,7 @@ describe('fetchAnalyticsCollectionLogic', () => { }); it('calls flashAPIErrors on apiError', () => { - FetchAnalyticsCollectionLogic.actions.apiError({} as HttpError); + FetchAnalyticsCollectionAPILogic.actions.apiError({} as HttpError); expect(mockFlashMessageHelpers.flashAPIErrors).toHaveBeenCalledTimes(1); expect(mockFlashMessageHelpers.flashAPIErrors).toHaveBeenCalledWith({}); }); @@ -58,7 +62,7 @@ describe('fetchAnalyticsCollectionLogic', () => { describe('selectors', () => { describe('analyticsCollections', () => { it('updates when apiSuccess listener triggered', () => { - FetchAnalyticsCollectionLogic.actions.apiSuccess({} as AnalyticsCollection); + FetchAnalyticsCollectionAPILogic.actions.apiSuccess({} as AnalyticsCollection); expect(FetchAnalyticsCollectionLogic.values).toEqual({ ...DEFAULT_VALUES, diff --git a/x-pack/plugins/enterprise_search/public/applications/analytics/components/analytics_collection_view/fetch_analytics_collection_logic.ts b/x-pack/plugins/enterprise_search/public/applications/analytics/components/analytics_collection_view/fetch_analytics_collection_logic.ts index bf9af189d79cc5..6f9ab441716d48 100644 --- a/x-pack/plugins/enterprise_search/public/applications/analytics/components/analytics_collection_view/fetch_analytics_collection_logic.ts +++ b/x-pack/plugins/enterprise_search/public/applications/analytics/components/analytics_collection_view/fetch_analytics_collection_logic.ts @@ -10,15 +10,12 @@ import { kea, MakeLogicType } from 'kea'; import { AnalyticsCollection } from '../../../../../common/types/analytics'; import { Status } from '../../../../../common/types/api'; import { Actions } from '../../../shared/api_logic/create_api_logic'; -import { flashAPIErrors, clearFlashMessages } from '../../../shared/flash_messages'; import { FetchAnalyticsCollectionAPILogic, FetchAnalyticsCollectionApiLogicResponse, } from '../../api/fetch_analytics_collection/fetch_analytics_collection_api_logic'; export interface FetchAnalyticsCollectionActions { - apiError: Actions<{}, FetchAnalyticsCollectionApiLogicResponse>['apiError']; - apiSuccess: Actions<{}, FetchAnalyticsCollectionApiLogicResponse>['apiSuccess']; fetchAnalyticsCollection(name: string): AnalyticsCollection; makeRequest: Actions<{}, FetchAnalyticsCollectionApiLogicResponse>['makeRequest']; } @@ -36,15 +33,13 @@ export const FetchAnalyticsCollectionLogic = kea< fetchAnalyticsCollection: (id) => ({ id }), }, connect: { - actions: [FetchAnalyticsCollectionAPILogic, ['makeRequest', 'apiSuccess', 'apiError']], + actions: [FetchAnalyticsCollectionAPILogic, ['makeRequest']], values: [FetchAnalyticsCollectionAPILogic, ['data', 'status']], }, listeners: ({ actions }) => ({ - apiError: (e) => flashAPIErrors(e), fetchAnalyticsCollection: ({ id }) => { actions.makeRequest({ id }); }, - makeRequest: () => clearFlashMessages(), }), path: ['enterprise_search', 'analytics', 'collection'], selectors: ({ selectors }) => ({ diff --git a/x-pack/plugins/enterprise_search/public/applications/analytics/components/analytics_overview/analytics_collections_logic.test.ts b/x-pack/plugins/enterprise_search/public/applications/analytics/components/analytics_overview/analytics_collections_logic.test.ts index 0089b30dc8cf1b..888ab558f3006a 100644 --- a/x-pack/plugins/enterprise_search/public/applications/analytics/components/analytics_overview/analytics_collections_logic.test.ts +++ b/x-pack/plugins/enterprise_search/public/applications/analytics/components/analytics_overview/analytics_collections_logic.test.ts @@ -10,14 +10,18 @@ import { LogicMounter, mockFlashMessageHelpers } from '../../../__mocks__/kea_lo import { AnalyticsCollection } from '../../../../../common/types/analytics'; import { HttpError, Status } from '../../../../../common/types/api'; +import { FetchAnalyticsCollectionsAPILogic } from '../../api/index/fetch_analytics_collections_api_logic'; + import { AnalyticsCollectionsLogic } from './analytics_collections_logic'; describe('analyticsCollectionsLogic', () => { + const { mount: apiMount } = new LogicMounter(FetchAnalyticsCollectionsAPILogic); const { mount } = new LogicMounter(AnalyticsCollectionsLogic); beforeEach(() => { jest.clearAllMocks(); jest.useRealTimers(); + apiMount(); mount(); }); @@ -36,7 +40,7 @@ describe('analyticsCollectionsLogic', () => { describe('reducers', () => { describe('hasNoAnalyticsCollections', () => { it('updates to true when apiSuccess returns empty analytics collections array', () => { - AnalyticsCollectionsLogic.actions.apiSuccess([]); + FetchAnalyticsCollectionsAPILogic.actions.apiSuccess([]); expect(AnalyticsCollectionsLogic.values.hasNoAnalyticsCollections).toBe(true); expect(AnalyticsCollectionsLogic.values).toEqual({ ...DEFAULT_VALUES, @@ -57,7 +61,7 @@ describe('analyticsCollectionsLogic', () => { name: 'collection1', }, ]; - AnalyticsCollectionsLogic.actions.apiSuccess(collections); + FetchAnalyticsCollectionsAPILogic.actions.apiSuccess(collections); expect(AnalyticsCollectionsLogic.values.hasNoAnalyticsCollections).toBe(false); expect(AnalyticsCollectionsLogic.values).toEqual({ ...DEFAULT_VALUES, @@ -77,7 +81,7 @@ describe('analyticsCollectionsLogic', () => { }); it('calls flashAPIErrors on apiError', () => { - AnalyticsCollectionsLogic.actions.apiError({} as HttpError); + FetchAnalyticsCollectionsAPILogic.actions.apiError({} as HttpError); expect(mockFlashMessageHelpers.flashAPIErrors).toHaveBeenCalledTimes(1); expect(mockFlashMessageHelpers.flashAPIErrors).toHaveBeenCalledWith({}); }); @@ -92,7 +96,7 @@ describe('analyticsCollectionsLogic', () => { describe('selectors', () => { describe('analyticsCollections', () => { it('updates when apiSuccess listener triggered', () => { - AnalyticsCollectionsLogic.actions.apiSuccess([]); + FetchAnalyticsCollectionsAPILogic.actions.apiSuccess([]); expect(AnalyticsCollectionsLogic.values).toEqual({ ...DEFAULT_VALUES, diff --git a/x-pack/plugins/enterprise_search/public/applications/analytics/components/analytics_overview/analytics_collections_logic.ts b/x-pack/plugins/enterprise_search/public/applications/analytics/components/analytics_overview/analytics_collections_logic.ts index 5736680893b2b0..aa12b92b0f1773 100644 --- a/x-pack/plugins/enterprise_search/public/applications/analytics/components/analytics_overview/analytics_collections_logic.ts +++ b/x-pack/plugins/enterprise_search/public/applications/analytics/components/analytics_overview/analytics_collections_logic.ts @@ -10,15 +10,12 @@ import { kea, MakeLogicType } from 'kea'; import { AnalyticsCollection } from '../../../../../common/types/analytics'; import { Status } from '../../../../../common/types/api'; import { Actions } from '../../../shared/api_logic/create_api_logic'; -import { flashAPIErrors, clearFlashMessages } from '../../../shared/flash_messages'; import { FetchAnalyticsCollectionsAPILogic, FetchAnalyticsCollectionsApiLogicResponse, } from '../../api/index/fetch_analytics_collections_api_logic'; export interface AnalyticsCollectionsActions { - apiError: Actions<{}, FetchAnalyticsCollectionsApiLogicResponse>['apiError']; - apiSuccess: Actions<{}, FetchAnalyticsCollectionsApiLogicResponse>['apiSuccess']; fetchAnalyticsCollections(): void; makeRequest: Actions<{}, FetchAnalyticsCollectionsApiLogicResponse>['makeRequest']; } @@ -37,15 +34,13 @@ export const AnalyticsCollectionsLogic = kea< fetchAnalyticsCollections: () => {}, }, connect: { - actions: [FetchAnalyticsCollectionsAPILogic, ['makeRequest', 'apiSuccess', 'apiError']], + actions: [FetchAnalyticsCollectionsAPILogic, ['makeRequest']], values: [FetchAnalyticsCollectionsAPILogic, ['data', 'status']], }, listeners: ({ actions }) => ({ - apiError: (e) => flashAPIErrors(e), fetchAnalyticsCollections: () => { actions.makeRequest({}); }, - makeRequest: () => clearFlashMessages(), }), path: ['enterprise_search', 'analytics', 'collections'], selectors: ({ selectors }) => ({ diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/connector/cancel_syncs_api_logic.ts b/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/connector/cancel_syncs_api_logic.ts index 297e26f2c05ec7..53324ceb9f6350 100644 --- a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/connector/cancel_syncs_api_logic.ts +++ b/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/connector/cancel_syncs_api_logic.ts @@ -5,6 +5,8 @@ * 2.0. */ +import { i18n } from '@kbn/i18n'; + import { createApiLogic } from '../../../shared/api_logic/create_api_logic'; import { HttpLogic } from '../../../shared/http'; @@ -17,4 +19,9 @@ export const cancelSyncs = async ({ connectorId }: CancelSyncsApiArgs) => { return await HttpLogic.values.http.post(route); }; -export const CancelSyncsApiLogic = createApiLogic(['cancel_syncs_api_logic'], cancelSyncs); +export const CancelSyncsApiLogic = createApiLogic(['cancel_syncs_api_logic'], cancelSyncs, { + showSuccessFlashFn: () => + i18n.translate('xpack.enterpriseSearch.content.searchIndex.cancelSyncs.successMessage', { + defaultMessage: 'Successfully canceled syncs', + }), +}); diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/connector/start_sync_api_logic.ts b/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/connector/start_sync_api_logic.ts index 4a97edfa528a8e..20e51228114a59 100644 --- a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/connector/start_sync_api_logic.ts +++ b/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/connector/start_sync_api_logic.ts @@ -5,6 +5,8 @@ * 2.0. */ +import { i18n } from '@kbn/i18n'; + import { createApiLogic } from '../../../shared/api_logic/create_api_logic'; import { HttpLogic } from '../../../shared/http'; import { CrawlRequestOverrides } from '../../components/search_index/crawler/crawler_logic'; @@ -23,4 +25,9 @@ export const startSync = async ({ connectorId, nextSyncConfig }: StartSyncArgs) }); }; -export const StartSyncApiLogic = createApiLogic(['start_sync_api_logic'], startSync); +export const StartSyncApiLogic = createApiLogic(['start_sync_api_logic'], startSync, { + showSuccessFlashFn: () => + i18n.translate('xpack.enterpriseSearch.content.searchIndex.index.syncSuccess.message', { + defaultMessage: 'Successfully scheduled a sync, waiting for a connector to pick it up', + }), +}); diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/connector/update_connector_configuration_api_logic.ts b/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/connector/update_connector_configuration_api_logic.ts index 2b3b86b296ea11..79294d60b5af0c 100644 --- a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/connector/update_connector_configuration_api_logic.ts +++ b/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/connector/update_connector_configuration_api_logic.ts @@ -5,6 +5,8 @@ * 2.0. */ +import { i18n } from '@kbn/i18n'; + import { ConnectorConfiguration } from '../../../../../common/types/connectors'; import { createApiLogic } from '../../../shared/api_logic/create_api_logic'; import { HttpLogic } from '../../../shared/http'; @@ -35,5 +37,12 @@ export const postConnectorConfiguration = async ({ export const ConnectorConfigurationApiLogic = createApiLogic( ['content', 'configuration_connector_api_logic'], - postConnectorConfiguration + postConnectorConfiguration, + { + showSuccessFlashFn: () => + i18n.translate( + 'xpack.enterpriseSearch.content.indices.configurationConnector.configuration.successToast.title', + { defaultMessage: 'Configuration updated' } + ), + } ); diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/connector/update_connector_filtering_api_logic.ts b/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/connector/update_connector_filtering_api_logic.ts index 3f1a668203615f..023d06b8f957b2 100644 --- a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/connector/update_connector_filtering_api_logic.ts +++ b/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/connector/update_connector_filtering_api_logic.ts @@ -5,6 +5,8 @@ * 2.0. */ +import { i18n } from '@kbn/i18n'; + import { FilteringRule, FilteringRules } from '../../../../../common/types/connectors'; import { createApiLogic } from '../../../shared/api_logic/create_api_logic'; import { HttpLogic } from '../../../shared/http'; @@ -34,5 +36,12 @@ export const putConnectorFiltering = async ({ export const ConnectorFilteringApiLogic = createApiLogic( ['content', 'connector_filtering_api_logic'], - putConnectorFiltering + putConnectorFiltering, + { + showSuccessFlashFn: () => + i18n.translate( + 'xpack.enterpriseSearch.content.index.connector.filtering.successToastRules.title', + { defaultMessage: 'Sync rules updated' } + ), + } ); diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/connector/update_connector_filtering_draft_api_logic.ts b/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/connector/update_connector_filtering_draft_api_logic.ts index aa7406aee253fe..f380af36e849ec 100644 --- a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/connector/update_connector_filtering_draft_api_logic.ts +++ b/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/connector/update_connector_filtering_draft_api_logic.ts @@ -5,6 +5,8 @@ * 2.0. */ +import { i18n } from '@kbn/i18n'; + import { FilteringRule, FilteringRules } from '../../../../../common/types/connectors'; import { createApiLogic } from '../../../shared/api_logic/create_api_logic'; import { HttpLogic } from '../../../shared/http'; @@ -34,5 +36,12 @@ export const putConnectorFilteringDraft = async ({ export const ConnectorFilteringDraftApiLogic = createApiLogic( ['content', 'connector_filtering_draft_api_logic'], - putConnectorFilteringDraft + putConnectorFilteringDraft, + { + showSuccessFlashFn: () => + i18n.translate( + 'xpack.enterpriseSearch.content.index.connector.syncRules.successToastDraft.title', + { defaultMessage: 'Draft rules saved' } + ), + } ); diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/connector/update_connector_name_and_description_api_logic.ts b/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/connector/update_connector_name_and_description_api_logic.ts index 639bd562085465..88d2c19a59eb06 100644 --- a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/connector/update_connector_name_and_description_api_logic.ts +++ b/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/connector/update_connector_name_and_description_api_logic.ts @@ -5,6 +5,8 @@ * 2.0. */ +import { i18n } from '@kbn/i18n'; + import { Connector } from '../../../../../common/types/connectors'; import { createApiLogic } from '../../../shared/api_logic/create_api_logic'; import { HttpLogic } from '../../../shared/http'; @@ -36,5 +38,12 @@ export const putConnectorNameAndDescription = async ({ export const ConnectorNameAndDescriptionApiLogic = createApiLogic( ['content', 'connector_name_and_description_api_logic'], - putConnectorNameAndDescription + putConnectorNameAndDescription, + { + showSuccessFlashFn: () => + i18n.translate( + 'xpack.enterpriseSearch.content.indices.configurationConnector.nameAndDescription.successToast.title', + { defaultMessage: 'Connector name and description updated' } + ), + } ); diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/connector/update_connector_scheduling_api_logic.ts b/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/connector/update_connector_scheduling_api_logic.ts index eebbd2b2bedf4d..2c68b5994e3987 100644 --- a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/connector/update_connector_scheduling_api_logic.ts +++ b/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/connector/update_connector_scheduling_api_logic.ts @@ -5,6 +5,8 @@ * 2.0. */ +import { i18n } from '@kbn/i18n'; + import { ConnectorScheduling } from '../../../../../common/types/connectors'; import { createApiLogic } from '../../../shared/api_logic/create_api_logic'; import { HttpLogic } from '../../../shared/http'; @@ -28,5 +30,12 @@ export const updateConnectorScheduling = async ({ export const UpdateConnectorSchedulingApiLogic = createApiLogic( ['content', 'update_connector_scheduling_api_logic'], - updateConnectorScheduling + updateConnectorScheduling, + { + showSuccessFlashFn: () => + i18n.translate( + 'xpack.enterpriseSearch.content.indices.configurationConnector.scheduling.successToast.title', + { defaultMessage: 'Scheduling successfully updated' } + ), + } ); diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/connector/update_default_pipeline_api_logic.ts b/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/connector/update_default_pipeline_api_logic.ts index 612403a1f04721..81cfeadf8e39aa 100644 --- a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/connector/update_default_pipeline_api_logic.ts +++ b/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/connector/update_default_pipeline_api_logic.ts @@ -5,6 +5,8 @@ * 2.0. */ +import { i18n } from '@kbn/i18n'; + import { IngestPipelineParams } from '../../../../../common/types/connectors'; import { createApiLogic } from '../../../shared/api_logic/create_api_logic'; @@ -25,5 +27,11 @@ export const updateDefaultPipeline = async ( export const UpdateDefaultPipelineApiLogic = createApiLogic( ['content', 'update_default_pipeline_api_logic'], - updateDefaultPipeline + updateDefaultPipeline, + { + showSuccessFlashFn: () => + i18n.translate('xpack.enterpriseSearch.content.indices.defaultPipelines.successToast.title', { + defaultMessage: 'Default pipeline successfully updated', + }), + } ); diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/connector/update_pipeline_api_logic.ts b/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/connector/update_pipeline_api_logic.ts index b3f3b2f6736225..496b50fce74444 100644 --- a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/connector/update_pipeline_api_logic.ts +++ b/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/connector/update_pipeline_api_logic.ts @@ -5,6 +5,8 @@ * 2.0. */ +import { i18n } from '@kbn/i18n'; + import { IngestPipelineParams } from '../../../../../common/types/connectors'; import { createApiLogic } from '../../../shared/api_logic/create_api_logic'; import { HttpLogic } from '../../../shared/http'; @@ -33,5 +35,11 @@ export const updatePipeline = async ({ export const UpdatePipelineApiLogic = createApiLogic( ['content', 'update_pipeline_api_logic'], - updatePipeline + updatePipeline, + { + showSuccessFlashFn: () => + i18n.translate('xpack.enterpriseSearch.content.indices.pipelines.successToast.title', { + defaultMessage: 'Pipelines updated', + }), + } ); diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/crawler/delete_crawler_domain_api_logic.ts b/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/crawler/delete_crawler_domain_api_logic.ts index 8857ef95a32fab..28d03f44a7c0ae 100644 --- a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/crawler/delete_crawler_domain_api_logic.ts +++ b/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/crawler/delete_crawler_domain_api_logic.ts @@ -5,6 +5,8 @@ * 2.0. */ +import { i18n } from '@kbn/i18n'; + import { createApiLogic } from '../../../shared/api_logic/create_api_logic'; import { HttpLogic } from '../../../shared/http'; @@ -34,5 +36,14 @@ export const deleteCrawlerDomain = async ({ export const DeleteCrawlerDomainApiLogic = createApiLogic( ['delete_crawler_domain'], - deleteCrawlerDomain + deleteCrawlerDomain, + { + showSuccessFlashFn: ({ domain }) => + i18n.translate('xpack.enterpriseSearch.crawler.domainsTable.action.delete.successMessage', { + defaultMessage: "Successfully deleted domain '{domainUrl}'", + values: { + domainUrl: domain.url, + }, + }), + } ); diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/index/create_custom_pipeline_api_logic.ts b/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/index/create_custom_pipeline_api_logic.ts index 9b3f8e9bd5c033..7d9a7ede6ad98f 100644 --- a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/index/create_custom_pipeline_api_logic.ts +++ b/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/index/create_custom_pipeline_api_logic.ts @@ -5,6 +5,8 @@ * 2.0. */ +import { i18n } from '@kbn/i18n'; + import { createApiLogic } from '../../../shared/api_logic/create_api_logic'; import { HttpLogic } from '../../../shared/http'; @@ -26,5 +28,11 @@ export const createCustomPipeline = async ({ export const CreateCustomPipelineApiLogic = createApiLogic( ['content', 'create_custom_pipeline_api_logic'], - createCustomPipeline + createCustomPipeline, + { + showSuccessFlashFn: () => + i18n.translate('xpack.enterpriseSearch.content.indices.pipelines.successToastCustom.title', { + defaultMessage: 'Custom pipeline created', + }), + } ); diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/index/delete_index_api_logic.ts b/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/index/delete_index_api_logic.ts index ff92e4ecef6bc5..391e3e102383a9 100644 --- a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/index/delete_index_api_logic.ts +++ b/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/index/delete_index_api_logic.ts @@ -5,6 +5,8 @@ * 2.0. */ +import { i18n } from '@kbn/i18n'; + import { createApiLogic } from '../../../shared/api_logic/create_api_logic'; import { HttpLogic } from '../../../shared/http'; @@ -12,10 +14,25 @@ export interface DeleteIndexApiLogicArgs { indexName: string; } -export const deleteIndex = async ({ indexName }: DeleteIndexApiLogicArgs): Promise => { +export interface DeleteIndexApiLogicValues { + indexName: string; +} + +export const deleteIndex = async ({ + indexName, +}: DeleteIndexApiLogicArgs): Promise => { const route = `/internal/enterprise_search/indices/${indexName}`; await HttpLogic.values.http.delete(route); - return; + return { indexName }; }; -export const DeleteIndexApiLogic = createApiLogic(['delete_index_api_logic'], deleteIndex); +export const DeleteIndexApiLogic = createApiLogic(['delete_index_api_logic'], deleteIndex, { + showSuccessFlashFn: ({ indexName }) => + i18n.translate('xpack.enterpriseSearch.content.indices.deleteIndex.successToast.title', { + defaultMessage: + 'Your index {indexName} and any associated ingestion configurations were successfully deleted', + values: { + indexName, + }, + }), +}); diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/index/fetch_index_api_logic.ts b/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/index/fetch_index_api_logic.ts index 9473e9041da3bc..9ba818bc6c57a1 100644 --- a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/index/fetch_index_api_logic.ts +++ b/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/index/fetch_index_api_logic.ts @@ -23,4 +23,7 @@ export const fetchIndex = async ({ return await HttpLogic.values.http.get(route); }; -export const FetchIndexApiLogic = createApiLogic(['fetch_index_api_logic'], fetchIndex); +export const FetchIndexApiLogic = createApiLogic(['fetch_index_api_logic'], fetchIndex, { + clearFlashMessagesOnMakeRequest: false, + showErrorFlash: false, +}); diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/ml_models/ml_model_stats_logic.ts b/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/ml_models/ml_model_stats_logic.ts index d80c1836a9597b..7c0d1020cd265b 100644 --- a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/ml_models/ml_model_stats_logic.ts +++ b/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/ml_models/ml_model_stats_logic.ts @@ -22,7 +22,11 @@ export const getMLModelsStats = async () => { export const MLModelsStatsApiLogic = createApiLogic( ['ml_models_stats_api_logic'], - getMLModelsStats + getMLModelsStats, + { + clearFlashMessagesOnMakeRequest: false, + showErrorFlash: false, + } ); export type MLModelsStatsApiLogicActions = Actions; diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/ml_models/ml_models_logic.ts b/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/ml_models/ml_models_logic.ts index 63095f3fbaa2d6..fe610ed0b710ac 100644 --- a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/ml_models/ml_models_logic.ts +++ b/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/ml_models/ml_models_logic.ts @@ -19,6 +19,9 @@ export const getMLModels = async (size: GetMlModelsArgs = 1000) => { }); }; -export const MLModelsApiLogic = createApiLogic(['ml_models_api_logic'], getMLModels); +export const MLModelsApiLogic = createApiLogic(['ml_models_api_logic'], getMLModels, { + clearFlashMessagesOnMakeRequest: false, + showErrorFlash: false, +}); export type MLModelsApiLogicActions = Actions; diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/crawler_domain_detail/crawler_domain_detail_logic.ts b/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/crawler_domain_detail/crawler_domain_detail_logic.ts index 0b00622492c9be..e36f62333a5884 100644 --- a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/crawler_domain_detail/crawler_domain_detail_logic.ts +++ b/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/crawler_domain_detail/crawler_domain_detail_logic.ts @@ -135,9 +135,6 @@ export const CrawlerDomainDetailLogic = kea< }) ); }, - deleteApiError: (error) => { - flashAPIErrors(error); - }, fetchDomainData: async ({ domainId }) => { const { http } = HttpLogic.values; const { indexName } = IndexNameLogic.values; diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/engines/engines_list_logic.ts b/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/engines/engines_list_logic.ts index 5f5bc657ef83ba..bccb560f79ac81 100644 --- a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/engines/engines_list_logic.ts +++ b/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/engines/engines_list_logic.ts @@ -9,8 +9,6 @@ import { kea, MakeLogicType } from 'kea'; import { Actions } from '../../../shared/api_logic/create_api_logic'; -import { flashAPIErrors } from '../../../shared/flash_messages'; - import { EnginesListAPIArguments, EnginesListAPIResponse, @@ -32,17 +30,12 @@ type EnginesListActions = Pick< interface EngineListValues { data: typeof FetchEnginesAPILogic.values.data; meta: Meta; - results: EngineListDetails[]; // stores engine list value from data parameters: { meta: Meta; searchQuery?: string }; // Added this variable to store to the search Query value as well + results: EngineListDetails[]; // stores engine list value from data status: typeof FetchEnginesAPILogic.values.status; } export const EnginesListLogic = kea>({ - connect: { - actions: [FetchEnginesAPILogic, ['makeRequest', 'apiSuccess', 'apiError']], - values: [FetchEnginesAPILogic, ['data', 'status']], - }, - path: ['enterprise_search', 'content', 'engine_list_logic'], actions: { fetchEngines: ({ meta, searchQuery }) => ({ meta, @@ -51,6 +44,16 @@ export const EnginesListLogic = kea ({ pageNumber }), }, + connect: { + actions: [FetchEnginesAPILogic, ['makeRequest', 'apiSuccess', 'apiError']], + values: [FetchEnginesAPILogic, ['data', 'status']], + }, + listeners: ({ actions }) => ({ + fetchEngines: async (input) => { + actions.makeRequest(input); + }, + }), + path: ['enterprise_search', 'content', 'engine_list_logic'], reducers: ({}) => ({ parameters: [ { meta: DEFAULT_META }, @@ -66,17 +69,8 @@ export const EnginesListLogic = kea ({ - results: [() => [selectors.data], (data) => data?.results ?? []], meta: [() => [selectors.parameters], (parameters) => parameters.meta], - }), - listeners: ({ actions }) => ({ - apiError: (e) => { - flashAPIErrors(e); - }, - fetchEngines: async (input) => { - actions.makeRequest(input); - }, + results: [() => [selectors.data], (data) => data?.results ?? []], }), }); diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/new_index/method_api/method_api_logic.test.ts b/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/new_index/method_api/method_api_logic.test.ts index f5f185e420b05c..2e4c5949be4265 100644 --- a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/new_index/method_api/method_api_logic.test.ts +++ b/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/new_index/method_api/method_api_logic.test.ts @@ -5,19 +5,12 @@ * 2.0. */ -import { - LogicMounter, - mockFlashMessageHelpers, - mockKibanaValues, -} from '../../../../__mocks__/kea_logic'; - -import { HttpError } from '../../../../../../common/types/api'; +import { LogicMounter, mockKibanaValues } from '../../../../__mocks__/kea_logic'; import { MethodApiLogic } from './method_api_logic'; describe('MethodApiLogic', () => { const { mount } = new LogicMounter(MethodApiLogic); - const { clearFlashMessages, flashAPIErrors } = mockFlashMessageHelpers; const { navigateToUrl } = mockKibanaValues; beforeEach(() => { @@ -33,23 +26,5 @@ describe('MethodApiLogic', () => { expect(navigateToUrl).toHaveBeenCalledWith('/search_indices/my-index/overview'); }); }); - - describe('makeRequest', () => { - it('clears any displayed errors', () => { - MethodApiLogic.actions.makeRequest({ indexName: 'my-index', language: 'Universal' }); - - expect(clearFlashMessages).toHaveBeenCalled(); - }); - }); - - describe('apiError', () => { - it('displays the error to the user', () => { - const error = {} as HttpError; - - MethodApiLogic.actions.apiError(error); - - expect(flashAPIErrors).toHaveBeenCalledWith(error); - }); - }); }); }); diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/new_index/method_api/method_api_logic.ts b/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/new_index/method_api/method_api_logic.ts index 65d1563458319c..3608395cf5f343 100644 --- a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/new_index/method_api/method_api_logic.ts +++ b/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/new_index/method_api/method_api_logic.ts @@ -10,8 +10,6 @@ import { kea, MakeLogicType } from 'kea'; import { Actions } from '../../../../shared/api_logic/create_api_logic'; import { generateEncodedPath } from '../../../../shared/encode_path_params'; -import { clearFlashMessages, flashAPIErrors } from '../../../../shared/flash_messages'; - import { KibanaLogic } from '../../../../shared/kibana'; import { CreateApiIndexApiLogic, @@ -23,17 +21,14 @@ import { SearchIndexTabId } from '../../search_index/search_index'; type MethodApiActions = Pick< Actions, - 'apiError' | 'apiSuccess' | 'makeRequest' + 'apiSuccess' | 'makeRequest' >; export const MethodApiLogic = kea>({ connect: { - actions: [CreateApiIndexApiLogic, ['apiError', 'apiSuccess', 'makeRequest']], + actions: [CreateApiIndexApiLogic, ['apiSuccess', 'makeRequest']], }, listeners: { - apiError: (error) => { - flashAPIErrors(error); - }, apiSuccess: ({ indexName }) => { KibanaLogic.values.navigateToUrl( generateEncodedPath(SEARCH_INDEX_TAB_PATH, { @@ -42,7 +37,6 @@ export const MethodApiLogic = kea>({ }) ); }, - makeRequest: () => clearFlashMessages(), }, path: ['enterprise_search', 'method_api'], }); diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/new_index/method_connector/add_connector_logic.ts b/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/new_index/method_connector/add_connector_logic.ts index dd9a33320d6496..bfef21d4bbba5c 100644 --- a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/new_index/method_connector/add_connector_logic.ts +++ b/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/new_index/method_connector/add_connector_logic.ts @@ -12,7 +12,6 @@ import { ErrorCode } from '../../../../../../common/types/error_codes'; import { generateEncodedPath } from '../../../../app_search/utils/encode_path_params'; import { Actions } from '../../../../shared/api_logic/create_api_logic'; -import { flashAPIErrors } from '../../../../shared/flash_messages'; import { KibanaLogic } from '../../../../shared/kibana'; import { AddConnectorApiLogic, @@ -41,7 +40,6 @@ export const AddConnectorLogic = kea flashAPIErrors(error), apiSuccess: async ({ indexName }, breakpoint) => { // Give Elasticsearch the chance to propagate the index so we don't end up in an error state after navigating await breakpoint(1000); @@ -53,7 +51,7 @@ export const AddConnectorLogic = kea { const { mount } = new LogicMounter(MethodCrawlerLogic); + const { mount: apiLogicMount } = new LogicMounter(CreateCrawlerIndexApiLogic); const { clearFlashMessages, flashAPIErrors } = mockFlashMessageHelpers; const { navigateToUrl } = mockKibanaValues; beforeEach(() => { jest.clearAllMocks(); + apiLogicMount(); mount(); }); describe('listeners', () => { describe('apiSuccess', () => { it('navigates user to index detail view', () => { - MethodCrawlerLogic.actions.apiSuccess({ created: 'my-index' }); + CreateCrawlerIndexApiLogic.actions.apiSuccess({ created: 'my-index' }); expect(navigateToUrl).toHaveBeenCalledWith('/search_indices/my-index/domain_management'); }); @@ -36,7 +40,10 @@ describe('MethodCrawlerLogic', () => { describe('makeRequest', () => { it('clears any displayed errors', () => { - MethodCrawlerLogic.actions.makeRequest({ indexName: 'my-index', language: 'Universal' }); + CreateCrawlerIndexApiLogic.actions.makeRequest({ + indexName: 'my-index', + language: 'Universal', + }); expect(clearFlashMessages).toHaveBeenCalled(); }); @@ -46,7 +53,7 @@ describe('MethodCrawlerLogic', () => { it('displays the error to the user', () => { const error = {} as HttpError; - MethodCrawlerLogic.actions.apiError(error); + CreateCrawlerIndexApiLogic.actions.apiError(error); expect(flashAPIErrors).toHaveBeenCalledWith(error); }); diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/new_index/method_crawler/method_crawler_logic.ts b/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/new_index/method_crawler/method_crawler_logic.ts index 57649ea710eefb..cbd53a07b4e0b5 100644 --- a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/new_index/method_crawler/method_crawler_logic.ts +++ b/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/new_index/method_crawler/method_crawler_logic.ts @@ -10,8 +10,6 @@ import { kea, MakeLogicType } from 'kea'; import { Actions } from '../../../../shared/api_logic/create_api_logic'; import { generateEncodedPath } from '../../../../shared/encode_path_params'; -import { clearFlashMessages, flashAPIErrors } from '../../../../shared/flash_messages'; - import { KibanaLogic } from '../../../../shared/kibana'; import { CreateCrawlerIndexApiLogic, @@ -28,12 +26,9 @@ type MethodCrawlerActions = Pick< export const MethodCrawlerLogic = kea>({ connect: { - actions: [CreateCrawlerIndexApiLogic, ['apiError', 'apiSuccess', 'makeRequest']], + actions: [CreateCrawlerIndexApiLogic, ['apiError', 'apiSuccess']], }, listeners: { - apiError: (error) => { - flashAPIErrors(error); - }, apiSuccess: ({ created }) => { KibanaLogic.values.navigateToUrl( generateEncodedPath(SEARCH_INDEX_TAB_PATH, { @@ -42,7 +37,6 @@ export const MethodCrawlerLogic = kea>({ }) ); }, - makeRequest: () => clearFlashMessages(), }, - path: ['enterprise_search', 'method_crawler'], + path: ['enterprise_search', 'content', 'method_crawler'], }); diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/components/generate_api_key_modal/generate_api_key_modal.logic.test.ts b/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/components/generate_api_key_modal/generate_api_key_modal.logic.test.ts index 596ec459bc9926..4dbfc574777ad5 100644 --- a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/components/generate_api_key_modal/generate_api_key_modal.logic.test.ts +++ b/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/components/generate_api_key_modal/generate_api_key_modal.logic.test.ts @@ -5,9 +5,9 @@ * 2.0. */ -import { LogicMounter, mockFlashMessageHelpers } from '../../../../../__mocks__/kea_logic'; +import { LogicMounter } from '../../../../../__mocks__/kea_logic'; -import { HttpError, Status } from '../../../../../../../common/types/api'; +import { Status } from '../../../../../../../common/types/api'; import { GenerateApiKeyLogic } from '../../../../api/generate_api_key/generate_api_key_logic'; import { GenerateApiKeyModalLogic } from './generate_api_key_modal.logic'; @@ -63,19 +63,6 @@ describe('IndicesLogic', () => { }); }); - describe('listeners', () => { - it('calls clearFlashMessages on new makeRequest', () => { - GenerateApiKeyModalLogic.actions.makeRequest({ indexName: 'test', keyName: 'test' }); - expect(mockFlashMessageHelpers.clearFlashMessages).toHaveBeenCalledTimes(1); - }); - - it('calls flashAPIErrors on apiError', () => { - GenerateApiKeyModalLogic.actions.apiError({} as HttpError); - expect(mockFlashMessageHelpers.flashAPIErrors).toHaveBeenCalledTimes(1); - expect(mockFlashMessageHelpers.flashAPIErrors).toHaveBeenCalledWith({}); - }); - }); - describe('selectors', () => { describe('apiKey', () => { it('updates when apiSuccess listener triggered', () => { @@ -110,7 +97,7 @@ describe('IndicesLogic', () => { describe('isLoading', () => { it('should update with API status', () => { expect(GenerateApiKeyModalLogic.values).toEqual(DEFAULT_VALUES); - GenerateApiKeyModalLogic.actions.makeRequest({ indexName: 'test', keyName: 'test' }); + GenerateApiKeyLogic.actions.makeRequest({ indexName: 'test', keyName: 'test' }); expect(GenerateApiKeyModalLogic.values).toEqual({ ...DEFAULT_VALUES, diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/components/generate_api_key_modal/generate_api_key_modal.logic.ts b/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/components/generate_api_key_modal/generate_api_key_modal.logic.ts index 654a984a171ca9..022dee11d63c9b 100644 --- a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/components/generate_api_key_modal/generate_api_key_modal.logic.ts +++ b/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/components/generate_api_key_modal/generate_api_key_modal.logic.ts @@ -7,15 +7,11 @@ import { kea, MakeLogicType } from 'kea'; -import { HttpError, Status } from '../../../../../../../common/types/api'; - -import { flashAPIErrors, clearFlashMessages } from '../../../../../shared/flash_messages'; +import { Status } from '../../../../../../../common/types/api'; import { GenerateApiKeyLogic } from '../../../../api/generate_api_key/generate_api_key_logic'; interface GenerateApiKeyModalActions { - apiError(error: HttpError): HttpError; - makeRequest: typeof GenerateApiKeyLogic.actions.makeRequest; setKeyName(keyName: string): { keyName: string }; } @@ -35,13 +31,8 @@ export const GenerateApiKeyModalLogic = kea< setKeyName: (keyName) => ({ keyName }), }, connect: { - actions: [GenerateApiKeyLogic, ['makeRequest', 'apiError']], values: [GenerateApiKeyLogic, ['data', 'status']], }, - listeners: () => ({ - apiError: (e) => flashAPIErrors(e), - makeRequest: () => clearFlashMessages(), - }), path: ['enterprise_search', 'search_index', 'generate_api_key_modal'], reducers: () => ({ keyName: [ diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/components/generate_api_key_modal/modal.tsx b/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/components/generate_api_key_modal/modal.tsx index 9dbe7fb5e5aa49..18514ef93d9d9e 100644 --- a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/components/generate_api_key_modal/modal.tsx +++ b/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/components/generate_api_key_modal/modal.tsx @@ -34,6 +34,7 @@ import { i18n } from '@kbn/i18n'; import { docLinks } from '../../../../../shared/doc_links'; +import { GenerateApiKeyLogic } from '../../../../api/generate_api_key/generate_api_key_logic'; import { IndexViewLogic } from '../../index_view_logic'; import { GenerateApiKeyModalLogic } from './generate_api_key_modal.logic'; @@ -46,7 +47,8 @@ interface GenerateApiKeyModalProps { export const GenerateApiKeyModal: React.FC = ({ indexName, onClose }) => { const { keyName, apiKey, isLoading, isSuccess } = useValues(GenerateApiKeyModalLogic); const { ingestionMethod } = useValues(IndexViewLogic); - const { setKeyName, makeRequest } = useActions(GenerateApiKeyModalLogic); + const { setKeyName } = useActions(GenerateApiKeyModalLogic); + const { makeRequest } = useActions(GenerateApiKeyLogic); return ( diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/connector/cancel_syncs_logic.test.ts b/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/connector/cancel_syncs_logic.test.ts index a63dac6806cc8f..36ee9b44ac9d94 100644 --- a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/connector/cancel_syncs_logic.test.ts +++ b/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/connector/cancel_syncs_logic.test.ts @@ -5,7 +5,7 @@ * 2.0. */ -import { LogicMounter, mockFlashMessageHelpers } from '../../../../__mocks__/kea_logic'; +import { LogicMounter } from '../../../../__mocks__/kea_logic'; import { indices } from '../../../__mocks__/search_indices.mock'; @@ -18,7 +18,6 @@ describe('CancelSyncsLogic', () => { const { mount } = new LogicMounter(CancelSyncsLogic); const { mount: IndexViewLogicMount } = new LogicMounter(IndexViewLogic); const { mount: FetchIndexApiLogicMount } = new LogicMounter(FetchIndexApiLogic); - const { clearFlashMessages, flashAPIErrors, flashSuccessToast } = mockFlashMessageHelpers; const DEFAULT_VALUES = { connectorId: null, isConnectorIndex: false, @@ -48,25 +47,5 @@ describe('CancelSyncsLogic', () => { expect(CancelSyncsLogic.actions.makeCancelSyncsRequest).toHaveBeenCalled(); }); }); - describe('makeRequest', () => { - it('should call clearFlashMessages', () => { - CancelSyncsLogic.actions.makeCancelSyncsRequest({ - connectorId: 'id', - }); - expect(clearFlashMessages).toHaveBeenCalled(); - }); - }); - describe('apiError', () => { - it('should call flashAPIError', () => { - CancelSyncsLogic.actions.cancelSyncsApiError('error' as any); - expect(flashAPIErrors).toHaveBeenCalledWith('error'); - }); - }); - describe('apiSuccess', () => { - it('should call flashAPIError', () => { - CancelSyncsLogic.actions.cancelSyncsApiSuccess('success' as any); - expect(flashSuccessToast).toHaveBeenCalledWith('Successfully canceled syncs'); - }); - }); }); }); diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/connector/cancel_syncs_logic.ts b/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/connector/cancel_syncs_logic.ts index 73fa34d69c83d7..43ae9d81a73360 100644 --- a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/connector/cancel_syncs_logic.ts +++ b/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/connector/cancel_syncs_logic.ts @@ -7,14 +7,7 @@ import { kea, MakeLogicType } from 'kea'; -import { i18n } from '@kbn/i18n'; - import { Actions } from '../../../../shared/api_logic/create_api_logic'; -import { - clearFlashMessages, - flashAPIErrors, - flashSuccessToast, -} from '../../../../shared/flash_messages'; import { CancelSyncsApiArgs, @@ -58,17 +51,6 @@ export const CancelSyncsLogic = kea flashAPIErrors(e), - cancelSyncsApiSuccess: () => { - flashSuccessToast( - i18n.translate('xpack.enterpriseSearch.content.searchIndex.cancelSyncs.successMessage', { - defaultMessage: 'Successfully canceled syncs', - }) - ); - }, - makeCancelSyncsRequest: () => { - clearFlashMessages(); - }, }), } ); diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/connector/connector_configuration_logic.test.ts b/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/connector/connector_configuration_logic.test.ts index 54b31d832af7f3..632d60fac3cad6 100644 --- a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/connector/connector_configuration_logic.test.ts +++ b/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/connector/connector_configuration_logic.test.ts @@ -5,7 +5,7 @@ * 2.0. */ -import { LogicMounter, mockFlashMessageHelpers } from '../../../../__mocks__/kea_logic'; +import { LogicMounter } from '../../../../__mocks__/kea_logic'; import { connectorIndex } from '../../../__mocks__/view_index.mock'; import { ConnectorStatus } from '../../../../../../common/types/connectors'; @@ -33,7 +33,6 @@ describe('ConnectorConfigurationLogic', () => { const { mount: mountIndexNameLogic } = new LogicMounter(IndexNameLogic); const { mount: mountFetchIndexApiWrapperLogic } = new LogicMounter(CachedFetchIndexApiLogic); const { mount: mountIndexViewLogic } = new LogicMounter(IndexViewLogic); - const { clearFlashMessages, flashAPIErrors, flashSuccessToast } = mockFlashMessageHelpers; beforeEach(() => { jest.clearAllMocks(); @@ -70,31 +69,6 @@ describe('ConnectorConfigurationLogic', () => { configView: [{ key: 'foo', label: 'thirdBar', value: 'fourthBar' }], }); }); - describe('makeRequest', () => { - it('should call clearFlashMessages', () => { - ConnectorConfigurationLogic.actions.makeRequest({ - configuration: {}, - connectorId: 'id', - indexName: 'name', - }); - expect(clearFlashMessages).toHaveBeenCalled(); - }); - }); - describe('apiError', () => { - it('should call flashAPIError', () => { - ConnectorConfigurationLogic.actions.apiError('error' as any); - expect(flashAPIErrors).toHaveBeenCalledWith('error'); - }); - }); - describe('apiSuccess', () => { - it('should call flashAPIError', () => { - ConnectorConfigurationLogic.actions.apiSuccess({ - configuration: {}, - indexName: 'name', - }); - expect(flashSuccessToast).toHaveBeenCalledWith('Configuration successfully updated'); - }); - }); describe('setLocalConfigEntry', () => { it('should set local config entry and sort keys', () => { ConnectorConfigurationLogic.actions.setConfigState({ diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/connector/connector_configuration_logic.ts b/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/connector/connector_configuration_logic.ts index b2c7d7091ad769..c939b37fac8adc 100644 --- a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/connector/connector_configuration_logic.ts +++ b/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/connector/connector_configuration_logic.ts @@ -7,15 +7,8 @@ import { kea, MakeLogicType } from 'kea'; -import { i18n } from '@kbn/i18n'; - import { ConnectorConfiguration, ConnectorStatus } from '../../../../../../common/types/connectors'; import { Actions } from '../../../../shared/api_logic/create_api_logic'; -import { - clearFlashMessages, - flashAPIErrors, - flashSuccessToast, -} from '../../../../shared/flash_messages'; import { ConnectorConfigurationApiLogic, @@ -31,7 +24,7 @@ import { isConnectorIndex } from '../../../utils/indices'; type ConnectorConfigurationActions = Pick< Actions, - 'apiError' | 'apiSuccess' | 'makeRequest' + 'apiSuccess' | 'makeRequest' > & { fetchIndexApiSuccess: CachedFetchIndexApiLogicActions['apiSuccess']; saveConfig: () => void; @@ -78,7 +71,7 @@ export const ConnectorConfigurationLogic = kea< connect: { actions: [ ConnectorConfigurationApiLogic, - ['apiError', 'apiSuccess', 'makeRequest'], + ['apiSuccess'], CachedFetchIndexApiLogic, ['apiSuccess as fetchIndexApiSuccess'], ], @@ -101,14 +94,7 @@ export const ConnectorConfigurationLogic = kea< }, }), listeners: ({ actions, values }) => ({ - apiError: (error) => flashAPIErrors(error), apiSuccess: ({ indexName }) => { - flashSuccessToast( - i18n.translate( - 'xpack.enterpriseSearch.content.indices.configurationConnector.configuration.successToast.title', - { defaultMessage: 'Configuration successfully updated' } - ) - ); CachedFetchIndexApiLogic.actions.makeRequest({ indexName }); }, fetchIndexApiSuccess: (index) => { @@ -127,7 +113,6 @@ export const ConnectorConfigurationLogic = kea< actions.setIsEditing(true); } }, - makeRequest: () => clearFlashMessages(), saveConfig: () => { if (isConnectorIndex(values.index)) { actions.makeRequest({ diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/connector/connector_name_and_description/connector_name_and_description_logic.ts b/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/connector/connector_name_and_description/connector_name_and_description_logic.ts index 934b7c11e180f0..563951fddf3eb5 100644 --- a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/connector/connector_name_and_description/connector_name_and_description_logic.ts +++ b/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/connector/connector_name_and_description/connector_name_and_description_logic.ts @@ -7,15 +7,8 @@ import { kea, MakeLogicType } from 'kea'; -import { i18n } from '@kbn/i18n'; - import { Connector } from '../../../../../../../common/types/connectors'; import { Actions } from '../../../../../shared/api_logic/create_api_logic'; -import { - flashAPIErrors, - flashSuccessToast, - clearFlashMessages, -} from '../../../../../shared/flash_messages'; import { ConnectorNameAndDescriptionApiLogic, PutConnectorNameAndDescriptionArgs, @@ -32,7 +25,7 @@ type NameAndDescription = Partial>; type ConnectorNameAndDescriptionActions = Pick< Actions, - 'apiError' | 'apiSuccess' | 'makeRequest' + 'apiSuccess' | 'makeRequest' > & { fetchIndexApiSuccess: CachedFetchIndexApiLogicActions['apiSuccess']; saveNameAndDescription: () => void; @@ -77,22 +70,11 @@ export const ConnectorNameAndDescriptionLogic = kea< ), }), listeners: ({ actions, values }) => ({ - apiError: (error) => flashAPIErrors(error), - apiSuccess: ({ indexName }) => { - flashSuccessToast( - i18n.translate( - 'xpack.enterpriseSearch.content.indices.configurationConnector.configuration.successToast.title', - { defaultMessage: 'Configuration successfully updated' } - ) - ); - CachedFetchIndexApiLogic.actions.makeRequest({ indexName }); - }, fetchIndexApiSuccess: (index) => { if (!values.isEditing && isConnectorIndex(index)) { actions.setNameAndDescription(index.connector); } }, - makeRequest: () => clearFlashMessages(), saveNameAndDescription: () => { if (isConnectorIndex(values.index) || isCrawlerIndex(values.index)) { actions.makeRequest({ diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/connector/connector_scheduling_logic.test.ts b/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/connector/connector_scheduling_logic.test.ts index b355273a710128..e2897a053a5b41 100644 --- a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/connector/connector_scheduling_logic.test.ts +++ b/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/connector/connector_scheduling_logic.test.ts @@ -5,7 +5,7 @@ * 2.0. */ -import { LogicMounter, mockFlashMessageHelpers } from '../../../../__mocks__/kea_logic'; +import { LogicMounter } from '../../../../__mocks__/kea_logic'; import { UpdateConnectorSchedulingApiLogic } from '../../../api/connector/update_connector_scheduling_api_logic'; @@ -13,7 +13,6 @@ import { ConnectorSchedulingLogic } from './connector_scheduling_logic'; describe('ConnectorSchedulingLogic', () => { const { mount } = new LogicMounter(ConnectorSchedulingLogic); - const { clearFlashMessages, flashAPIErrors, flashSuccessToast } = mockFlashMessageHelpers; const DEFAULT_VALUES = { hasChanges: false, }; @@ -48,31 +47,4 @@ describe('ConnectorSchedulingLogic', () => { }); }); }); - - describe('actions', () => { - describe('makeRequest', () => { - it('should call clearFlashMessages', () => { - ConnectorSchedulingLogic.actions.makeRequest({ - connectorId: 'id', - scheduling: { - enabled: true, - interval: 'interval', - }, - }); - expect(clearFlashMessages).toHaveBeenCalled(); - }); - }); - describe('apiError', () => { - it('should call flashAPIError', () => { - ConnectorSchedulingLogic.actions.apiError('error' as any); - expect(flashAPIErrors).toHaveBeenCalledWith('error'); - }); - }); - describe('apiSuccess', () => { - it('should call flashAPIError', () => { - ConnectorSchedulingLogic.actions.apiSuccess('success' as any); - expect(flashSuccessToast).toHaveBeenCalledWith('Scheduling successfully updated'); - }); - }); - }); }); diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/connector/connector_scheduling_logic.ts b/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/connector/connector_scheduling_logic.ts index a9b99a734d704b..73a624351cbb8b 100644 --- a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/connector/connector_scheduling_logic.ts +++ b/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/connector/connector_scheduling_logic.ts @@ -7,15 +7,8 @@ import { kea, MakeLogicType } from 'kea'; -import { i18n } from '@kbn/i18n'; - import { ConnectorScheduling } from '../../../../../../common/types/connectors'; import { Actions } from '../../../../shared/api_logic/create_api_logic'; -import { - clearFlashMessages, - flashAPIErrors, - flashSuccessToast, -} from '../../../../shared/flash_messages'; import { UpdateConnectorSchedulingApiLogic, @@ -24,7 +17,7 @@ import { type ConnectorSchedulingActions = Pick< Actions, - 'apiError' | 'apiSuccess' | 'makeRequest' + 'apiSuccess' > & { setHasChanges: (hasChanges: boolean) => { hasChanges: boolean } }; interface ConnectorSchedulingValues { @@ -38,18 +31,7 @@ export const ConnectorSchedulingLogic = kea< setHasChanges: (hasChanges) => ({ hasChanges }), }, connect: { - actions: [UpdateConnectorSchedulingApiLogic, ['apiError', 'apiSuccess', 'makeRequest']], - }, - listeners: { - apiError: (error) => flashAPIErrors(error), - apiSuccess: () => - flashSuccessToast( - i18n.translate( - 'xpack.enterpriseSearch.content.indices.configurationConnector.scheduling.successToast.title', - { defaultMessage: 'Scheduling successfully updated' } - ) - ), - makeRequest: () => clearFlashMessages(), + actions: [UpdateConnectorSchedulingApiLogic, ['apiSuccess']], }, reducers: { hasChanges: [ diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/connector/select_connector/select_connector_logic.tsx b/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/connector/select_connector/select_connector_logic.tsx index 48af3e24fa8b9c..fec06e823a4db1 100644 --- a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/connector/select_connector/select_connector_logic.tsx +++ b/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/connector/select_connector/select_connector_logic.tsx @@ -9,7 +9,6 @@ import { kea, MakeLogicType } from 'kea'; import { Actions } from '../../../../../shared/api_logic/create_api_logic'; import { generateEncodedPath } from '../../../../../shared/encode_path_params'; -import { clearFlashMessages, flashAPIErrors } from '../../../../../shared/flash_messages'; import { KibanaLogic } from '../../../../../shared/kibana'; import { @@ -28,7 +27,7 @@ import { NativeConnector } from '../types'; type SelectConnectorActions = Pick< Actions, - 'apiError' | 'apiSuccess' | 'makeRequest' + 'apiSuccess' | 'makeRequest' > & { saveNativeConnector(): void; setSelectedConnector(nativeConnector: NativeConnector): { @@ -66,11 +65,9 @@ export const SelectConnectorLogic = kea< }, }), listeners: ({ actions, values }) => ({ - apiError: (error) => flashAPIErrors(error), apiSuccess: () => { CachedFetchIndexApiLogic.actions.makeRequest({ indexName: values.index.name }); }, - makeRequest: () => clearFlashMessages(), saveNativeConnector: () => { if (!isConnectorIndex(values.index) || values.selectedNativeConnector === null) { KibanaLogic.values.navigateToUrl( diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/connector/sync_rules/connector_filtering_logic.tsx b/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/connector/sync_rules/connector_filtering_logic.tsx index c430794063a76d..13db854fa79e93 100644 --- a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/connector/sync_rules/connector_filtering_logic.tsx +++ b/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/connector/sync_rules/connector_filtering_logic.tsx @@ -9,8 +9,6 @@ import { kea, MakeLogicType } from 'kea'; import { isEqual } from 'lodash'; -import { i18n } from '@kbn/i18n'; - import { Status } from '../../../../../../../common/types/api'; import { @@ -22,11 +20,7 @@ import { FilteringValidationState, } from '../../../../../../../common/types/connectors'; import { Actions } from '../../../../../shared/api_logic/create_api_logic'; -import { - flashAPIErrors, - flashSuccessToast, - clearFlashMessages, -} from '../../../../../shared/flash_messages'; +import { clearFlashMessages } from '../../../../../shared/flash_messages'; import { ConnectorFilteringApiLogic, PutConnectorFilteringArgs, @@ -46,7 +40,7 @@ import { isConnectorIndex } from '../../../../utils/indices'; type ConnectorFilteringActions = Pick< Actions, - 'apiError' | 'apiSuccess' | 'makeRequest' + 'apiSuccess' | 'makeRequest' > & { addFilteringRule(filteringRule: FilteringRule): FilteringRule; applyDraft: () => void; @@ -134,7 +128,7 @@ export const ConnectorFilteringLogic = kea< connect: { actions: [ ConnectorFilteringApiLogic, - ['apiError', 'apiSuccess', 'makeRequest'], + ['apiSuccess', 'makeRequest'], ConnectorFilteringDraftApiLogic, [ 'apiError as draftApiError', @@ -153,15 +147,6 @@ export const ConnectorFilteringLogic = kea< ), }), listeners: ({ actions, values }) => ({ - apiError: (error) => flashAPIErrors(error), - apiSuccess: () => { - flashSuccessToast( - i18n.translate( - 'xpack.enterpriseSearch.content.index.connector.filtering.successToastRules.title', - { defaultMessage: 'Sync rules updated' } - ) - ); - }, applyDraft: () => { if (isConnectorIndex(values.index)) { actions.makeRequest({ @@ -171,16 +156,6 @@ export const ConnectorFilteringLogic = kea< }); } }, - draftApiError: (error) => flashAPIErrors(error), - draftApiSuccess: () => { - flashSuccessToast( - i18n.translate( - 'xpack.enterpriseSearch.content.index.connector.syncRules.successToastDraft.title', - { defaultMessage: 'Draft rules saved' } - ) - ); - }, - draftMakeRequest: () => clearFlashMessages(), fetchIndexApiSuccess: (index) => { if ( !values.isEditing && diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/crawler/crawler_logic.ts b/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/crawler/crawler_logic.ts index 3d8954d2210e65..7d25ad679d00cc 100644 --- a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/crawler/crawler_logic.ts +++ b/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/crawler/crawler_logic.ts @@ -86,9 +86,6 @@ export const CrawlerLogic = kea>({ values: [GetCrawlerApiLogic, ['status', 'data'], CachedFetchIndexApiLogic, ['indexData']], }, listeners: ({ actions, values }) => ({ - apiError: (error) => { - flashAPIErrors(error); - }, fetchCrawlerData: () => { const { indexName } = IndexNameLogic.values; diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/crawler/domain_management/delete_domain_modal_logic.ts b/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/crawler/domain_management/delete_domain_modal_logic.ts index 96294170d6b77c..9c69da8decbb53 100644 --- a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/crawler/domain_management/delete_domain_modal_logic.ts +++ b/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/crawler/domain_management/delete_domain_modal_logic.ts @@ -13,11 +13,8 @@ import { kea, MakeLogicType } from 'kea'; -import { i18n } from '@kbn/i18n'; - import { Status } from '../../../../../../../common/types/api'; import { Actions } from '../../../../../shared/api_logic/create_api_logic'; -import { flashAPIErrors, flashSuccessToast } from '../../../../../shared/flash_messages'; import { DeleteCrawlerDomainApiLogic, DeleteCrawlerDomainResponse, @@ -74,18 +71,7 @@ export const DeleteDomainModalLogic = kea< ], }, listeners: ({ values }) => ({ - apiError: (error) => { - flashAPIErrors(error); - }, - apiSuccess: ({ domain }) => { - flashSuccessToast( - i18n.translate('xpack.enterpriseSearch.crawler.domainsTable.action.delete.successMessage', { - defaultMessage: "Successfully deleted domain '{domainUrl}'", - values: { - domainUrl: domain.url, - }, - }) - ); + apiSuccess: () => { CrawlerLogic.actions.fetchCrawlerData(); }, deleteDomain: () => { diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/crawler/domain_management/domain_management_logic.ts b/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/crawler/domain_management/domain_management_logic.ts index 8131ceb250757e..e023b865ca987d 100644 --- a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/crawler/domain_management/domain_management_logic.ts +++ b/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/crawler/domain_management/domain_management_logic.ts @@ -14,9 +14,8 @@ import { kea, MakeLogicType } from 'kea'; import { Meta } from '../../../../../../../common/types'; -import { HttpError, Status } from '../../../../../../../common/types/api'; +import { Status } from '../../../../../../../common/types/api'; import { DEFAULT_META } from '../../../../../shared/constants'; -import { flashAPIErrors } from '../../../../../shared/flash_messages'; import { updateMetaPageIndex } from '../../../../../shared/table_pagination'; import { DeleteCrawlerDomainApiLogic } from '../../../../api/crawler/delete_crawler_domain_api_logic'; import { GetCrawlerDomainsApiLogic } from '../../../../api/crawler/get_crawler_domains_api_logic'; @@ -33,10 +32,8 @@ interface DomainManagementValues { } interface DomainManagementActions { - deleteApiError(error: HttpError): HttpError; deleteDomain(domain: CrawlerDomain): { domain: CrawlerDomain }; deleteSuccess(): void; - getApiError(error: HttpError): HttpError; getApiSuccess(data: CrawlerDomainsWithMeta): CrawlerDomainsWithMeta; getDomains(meta: Meta): { meta: Meta }; onPaginate(newPageIndex: number): { newPageIndex: number }; @@ -48,9 +45,9 @@ export const DomainManagementLogic = kea< connect: { actions: [ GetCrawlerDomainsApiLogic, - ['apiError as getApiError', 'apiSuccess as getApiSuccess'], + ['apiSuccess as getApiSuccess'], DeleteCrawlerDomainApiLogic, - ['apiError as deleteApiError', 'apiSuccess as deleteApiSuccess'], + ['apiSuccess as deleteApiSuccess'], ], values: [ GetCrawlerDomainsApiLogic, @@ -68,9 +65,6 @@ export const DomainManagementLogic = kea< }), }, listeners: ({ values, actions }) => ({ - deleteApiError: (error) => { - flashAPIErrors(error); - }, deleteApiSuccess: () => { actions.getDomains(values.meta); }, @@ -78,9 +72,6 @@ export const DomainManagementLogic = kea< const { indexName } = IndexNameLogic.values; DeleteCrawlerDomainApiLogic.actions.makeRequest({ domain, indexName }); }, - getApiError: (error) => { - flashAPIErrors(error); - }, getDomains: ({ meta }) => { const { indexName } = IndexNameLogic.values; GetCrawlerDomainsApiLogic.actions.makeRequest({ indexName, meta }); diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/documents_logic.test.ts b/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/documents_logic.test.ts index 1f255a049d26e3..28037f346c1adc 100644 --- a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/documents_logic.test.ts +++ b/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/documents_logic.test.ts @@ -5,7 +5,7 @@ * 2.0. */ -import { LogicMounter, mockFlashMessageHelpers } from '../../../__mocks__/kea_logic'; +import { LogicMounter } from '../../../__mocks__/kea_logic'; import { nextTick } from '@kbn/test-jest-helpers'; @@ -101,22 +101,6 @@ describe('DocumentsLogic', () => { jest.useRealTimers(); }); }); - it('calls flashAPIErrors on apiError', () => { - DocumentsLogic.actions.apiError({} as HttpError); - expect(mockFlashMessageHelpers.flashAPIErrors).toHaveBeenCalledTimes(1); - }); - it('calls flashAPIErrors on mappingsApiError', () => { - DocumentsLogic.actions.mappingsApiError({} as HttpError); - expect(mockFlashMessageHelpers.flashAPIErrors).toHaveBeenCalledTimes(1); - }); - it('clears flash messages on new makeRequest', () => { - DocumentsLogic.actions.makeRequest({ - indexName: 'index', - pagination: convertMetaToPagination(INDEX_DOCUMENTS_META_DEFAULT), - query: '', - }); - expect(mockFlashMessageHelpers.clearFlashMessages).toHaveBeenCalledTimes(1); - }); }); describe('selectors', () => { describe('isLoading', () => { diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/documents_logic.ts b/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/documents_logic.ts index 439e8652ffc3c5..093c4f5f399cc7 100644 --- a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/documents_logic.ts +++ b/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/documents_logic.ts @@ -16,9 +16,8 @@ import { import { ENTERPRISE_SEARCH_DOCUMENTS_DEFAULT_DOC_COUNT } from '../../../../../common/constants'; import { Meta } from '../../../../../common/types'; -import { HttpError, Status } from '../../../../../common/types/api'; +import { Status } from '../../../../../common/types/api'; -import { flashAPIErrors, clearFlashMessages } from '../../../shared/flash_messages'; import { updateMetaPageIndex } from '../../../shared/table_pagination'; import { MappingsApiLogic } from '../../api/mappings/mappings_logic'; @@ -42,11 +41,9 @@ export const DEFAULT_PAGINATION = { }; interface DocumentsLogicActions { - apiError(error: HttpError): HttpError; apiReset: typeof SearchDocumentsApiLogic.actions.apiReset; makeMappingRequest: typeof MappingsApiLogic.actions.makeRequest; makeRequest: typeof SearchDocumentsApiLogic.actions.makeRequest; - mappingsApiError(error: HttpError): HttpError; onPaginate(newPageIndex: number): { newPageIndex: number }; setDocsPerPage(docsPerPage: number): { docsPerPage: number }; setSearchQuery(query: string): { query: string }; @@ -81,9 +78,9 @@ export const DocumentsLogic = kea ({ - apiError: (e) => flashAPIErrors(e), - makeRequest: () => clearFlashMessages(), - mappingsApiError: (e) => flashAPIErrors(e), onPaginate: () => { actions.makeRequest({ docsPerPage: values.docsPerPage, diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/index_view_logic.test.ts b/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/index_view_logic.test.ts index f4f28ace3ae9a9..3ff4355636f892 100644 --- a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/index_view_logic.test.ts +++ b/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/index_view_logic.test.ts @@ -14,7 +14,7 @@ import { apiIndex, connectorIndex, crawlerIndex } from '../../__mocks__/view_ind import { nextTick } from '@kbn/test-jest-helpers'; -import { HttpError, Status } from '../../../../../common/types/api'; +import { Status } from '../../../../../common/types/api'; import { SyncStatus } from '../../../../../common/types/connectors'; import { StartSyncApiLogic } from '../../api/connector/start_sync_api_logic'; @@ -229,16 +229,6 @@ describe('IndexViewLogic', () => { }); describe('listeners', () => { - it('calls clearFlashMessages on makeStartSyncRequest', () => { - IndexViewLogic.actions.makeStartSyncRequest({ connectorId: 'connectorId' }); - expect(mockFlashMessageHelpers.clearFlashMessages).toHaveBeenCalledTimes(1); - }); - - it('calls flashAPIErrors on apiError', () => { - IndexViewLogic.actions.startSyncApiError({} as HttpError); - expect(mockFlashMessageHelpers.flashAPIErrors).toHaveBeenCalledTimes(1); - expect(mockFlashMessageHelpers.flashAPIErrors).toHaveBeenCalledWith({}); - }); it('calls makeFetchIndexRequest on fetchIndex', () => { IndexViewLogic.actions.makeFetchIndexRequest = jest.fn(); IndexNameLogic.actions.setIndexName('indexName'); diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/index_view_logic.ts b/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/index_view_logic.ts index 07f6f70aae37b8..2d3651a598fc16 100644 --- a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/index_view_logic.ts +++ b/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/index_view_logic.ts @@ -18,11 +18,7 @@ import { } from '../../../../../common/types/connectors'; import { ElasticsearchIndexWithIngestion } from '../../../../../common/types/indices'; import { Actions } from '../../../shared/api_logic/create_api_logic'; -import { - flashAPIErrors, - clearFlashMessages, - flashSuccessToast, -} from '../../../shared/flash_messages'; +import { flashSuccessToast } from '../../../shared/flash_messages'; import { StartSyncApiLogic, StartSyncArgs } from '../../api/connector/start_sync_api_logic'; import { @@ -60,8 +56,6 @@ export interface IndexViewActions { resetRecheckIndexLoading: () => void; startFetchIndexPoll: CachedFetchIndexApiLogicActions['startPolling']; startSync(): void; - startSyncApiError: StartSyncApiActions['apiError']; - startSyncApiSuccess: StartSyncApiActions['apiSuccess']; stopFetchIndexPoll(): CachedFetchIndexApiLogicActions['stopPolling']; stopFetchIndexPoll(): void; } @@ -114,11 +108,7 @@ export const IndexViewLogic = kea clearFlashMessages(), recheckIndex: () => actions.fetchIndex(), setIndexName: ({ indexName }) => { actions.startFetchIndexPoll(indexName); @@ -166,14 +155,6 @@ export const IndexViewLogic = kea flashAPIErrors(e), - startSyncApiSuccess: () => { - flashSuccessToast( - i18n.translate('xpack.enterpriseSearch.content.searchIndex.index.syncSuccess.message', { - defaultMessage: 'Successfully scheduled a sync, waiting for a connector to pick it up', - }) - ); - }, }), path: ['enterprise_search', 'content', 'index_view_logic'], reducers: { diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/overview.logic.ts b/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/overview.logic.ts index 4d3a8ec40834b7..34584d394b93a2 100644 --- a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/overview.logic.ts +++ b/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/overview.logic.ts @@ -8,7 +8,6 @@ import { kea, MakeLogicType } from 'kea'; import { Status } from '../../../../../common/types/api'; -import { flashAPIErrors } from '../../../shared/flash_messages'; import { KibanaLogic } from '../../../shared/kibana'; import { GenerateApiKeyLogic } from '../../api/generate_api_key/generate_api_key_logic'; @@ -58,8 +57,7 @@ export const OverviewLogic = kea ({ - apiError: async (error, breakpoint) => { - flashAPIErrors(error); + apiError: async (_, breakpoint) => { // show error for a second before navigating away await breakpoint(1000); KibanaLogic.values.navigateToUrl(SEARCH_INDICES_PATH); diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/pipelines/inference_errors.tsx b/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/pipelines/inference_errors.tsx index 0b380e003f48da..554c7d1162d0dd 100644 --- a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/pipelines/inference_errors.tsx +++ b/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/pipelines/inference_errors.tsx @@ -16,14 +16,16 @@ import { i18n } from '@kbn/i18n'; import { MlInferenceError } from '../../../../../../common/types/pipelines'; import { DataPanel } from '../../../../shared/data_panel/data_panel'; +import { FetchMlInferenceErrorsApiLogic } from '../../../api/pipelines/fetch_ml_inference_pipeline_errors'; + import { InferenceErrorsLogic } from './inference_errors_logic'; export const InferenceErrors: React.FC = () => { const { indexName, isLoading, inferenceErrors } = useValues(InferenceErrorsLogic); - const { fetchIndexInferenceErrorLogs } = useActions(InferenceErrorsLogic); + const { makeRequest } = useActions(FetchMlInferenceErrorsApiLogic); useEffect(() => { - fetchIndexInferenceErrorLogs({ indexName }); + makeRequest({ indexName }); }, [indexName]); const errorsColumns: Array> = [ diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/pipelines/inference_errors_logic.test.ts b/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/pipelines/inference_errors_logic.test.ts index a9d07657b94ab1..9b4414b4ec1ba6 100644 --- a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/pipelines/inference_errors_logic.test.ts +++ b/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/pipelines/inference_errors_logic.test.ts @@ -4,7 +4,7 @@ * 2.0; you may not use this file except in compliance with the Elastic License * 2.0. */ -import { LogicMounter, mockFlashMessageHelpers } from '../../../../__mocks__/kea_logic'; +import { LogicMounter } from '../../../../__mocks__/kea_logic'; import { Status } from '../../../../../../common/types/api'; import { FetchMlInferenceErrorsApiLogic } from '../../../api/pipelines/fetch_ml_inference_pipeline_errors'; @@ -24,7 +24,6 @@ describe('InferenceErrorsLogic', () => { const { mount: mountFetchInferenceErrorsApiLogic } = new LogicMounter( FetchMlInferenceErrorsApiLogic ); - const { clearFlashMessages, flashAPIErrors } = mockFlashMessageHelpers; beforeEach(() => { jest.clearAllMocks(); mountFetchInferenceErrorsApiLogic(); @@ -36,14 +35,6 @@ describe('InferenceErrorsLogic', () => { }); describe('actions', () => { - it('should clear flash errors when fetching data', () => { - FetchMlInferenceErrorsApiLogic.actions.makeRequest({ indexName: 'test' }); - expect(clearFlashMessages).toHaveBeenCalledTimes(1); - }); - it('should flash errors fetching errors', () => { - FetchMlInferenceErrorsApiLogic.actions.apiError('error' as any); - expect(flashAPIErrors).toHaveBeenCalledWith('error'); - }); it('should load fetched errors', () => { const inferenceErrorsData = { errors: [ diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/pipelines/inference_errors_logic.ts b/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/pipelines/inference_errors_logic.ts index 520af1bbd6c39d..9bc466597d92de 100644 --- a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/pipelines/inference_errors_logic.ts +++ b/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/pipelines/inference_errors_logic.ts @@ -9,26 +9,12 @@ import { kea, MakeLogicType } from 'kea'; import { Status } from '../../../../../../common/types/api'; import { MlInferenceError } from '../../../../../../common/types/pipelines'; -import { Actions } from '../../../../shared/api_logic/create_api_logic'; -import { clearFlashMessages, flashAPIErrors } from '../../../../shared/flash_messages'; import { - FetchMlInferenceErrorsApiLogicArgs, FetchMlInferenceErrorsApiLogicResponse, FetchMlInferenceErrorsApiLogic, } from '../../../api/pipelines/fetch_ml_inference_pipeline_errors'; import { IndexNameLogic } from '../index_name_logic'; -interface InferenceErrorsActions { - fetchIndexInferenceErrorLogs: Actions< - FetchMlInferenceErrorsApiLogicArgs, - FetchMlInferenceErrorsApiLogicResponse - >['makeRequest']; - fetchIndexInferenceErrorLogsError: Actions< - FetchMlInferenceErrorsApiLogicArgs, - FetchMlInferenceErrorsApiLogicResponse - >['apiError']; -} - interface InferenceErrorsValues { fetchIndexInferenceHistoryStatus: Status; indexName: string; @@ -37,17 +23,8 @@ interface InferenceErrorsValues { isLoading: boolean; } -export const InferenceErrorsLogic = kea< - MakeLogicType ->({ +export const InferenceErrorsLogic = kea>({ connect: { - actions: [ - FetchMlInferenceErrorsApiLogic, - [ - 'makeRequest as fetchIndexInferenceErrorLogs', - 'apiError as fetchIndexInferenceErrorLogsError', - ], - ], values: [ IndexNameLogic, ['indexName'], @@ -55,10 +32,6 @@ export const InferenceErrorsLogic = kea< ['data as inferenceErrorsData', 'status as fetchIndexInferenceHistoryStatus'], ], }, - listeners: () => ({ - fetchIndexInferenceErrorLogs: () => clearFlashMessages(), - fetchIndexInferenceErrorLogsError: (error) => flashAPIErrors(error), - }), path: ['enterprise_search', 'content', 'pipelines_inference_errors'], selectors: ({ selectors }) => ({ inferenceErrors: [ diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/pipelines/inference_history_logic.ts b/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/pipelines/inference_history_logic.ts index e1ec8feb77f09e..2d2e4021f2feb9 100644 --- a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/pipelines/inference_history_logic.ts +++ b/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/pipelines/inference_history_logic.ts @@ -10,7 +10,6 @@ import { kea, MakeLogicType } from 'kea'; import { Status } from '../../../../../../common/types/api'; import { MlInferenceHistoryItem } from '../../../../../../common/types/pipelines'; import { Actions } from '../../../../shared/api_logic/create_api_logic'; -import { clearFlashMessages, flashAPIErrors } from '../../../../shared/flash_messages'; import { FetchMlInferencePipelineHistoryApiLogicArgs, FetchMlInferencePipelineHistoryApiLogicResponse, @@ -48,10 +47,6 @@ export const InferenceHistoryLogic = kea< ['data as inferenceHistoryData', 'status as fetchIndexInferenceHistoryStatus'], ], }, - listeners: () => ({ - fetchIndexInferenceHistory: () => clearFlashMessages(), - fetchIndexInferenceHistoryError: (error) => flashAPIErrors(error), - }), path: ['enterprise_search', 'content', 'pipelines_inference_history'], selectors: ({ selectors }) => ({ inferenceHistory: [ diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/pipelines/pipelines_logic.test.ts b/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/pipelines/pipelines_logic.test.ts index 8d74cae4ba9982..970119cd58b4f6 100644 --- a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/pipelines/pipelines_logic.test.ts +++ b/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/pipelines/pipelines_logic.test.ts @@ -135,7 +135,7 @@ describe('PipelinesLogic', () => { describe('apiSuccess', () => { it('should call flashSuccessToast', () => { PipelinesLogic.actions.apiSuccess({ connectorId: 'a', pipeline: newPipeline }); - expect(flashSuccessToast).toHaveBeenCalledWith('Pipelines successfully updated'); + expect(flashSuccessToast).toHaveBeenCalledWith('Pipelines updated'); }); }); describe('createCustomPipelineError', () => { @@ -151,7 +151,7 @@ describe('PipelinesLogic', () => { PipelinesLogic.actions.fetchCustomPipeline = jest.fn(); PipelinesLogic.actions.fetchIndexApiSuccess(connectorIndex); PipelinesLogic.actions.createCustomPipelineSuccess({ created: ['a', 'b'] }); - expect(flashSuccessToast).toHaveBeenCalledWith('Custom pipeline successfully created'); + expect(flashSuccessToast).toHaveBeenCalledWith('Custom pipeline created'); expect(PipelinesLogic.actions.setPipelineState).toHaveBeenCalledWith({ ...PipelinesLogic.values.pipelineState, name: 'a', diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/pipelines/pipelines_logic.ts b/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/pipelines/pipelines_logic.ts index 487f89f57c22a1..134155f88a64ca 100644 --- a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/pipelines/pipelines_logic.ts +++ b/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/pipelines/pipelines_logic.ts @@ -8,6 +8,7 @@ import { kea, MakeLogicType } from 'kea'; import { IngestPipeline } from '@elastic/elasticsearch/lib/api/types'; + import { i18n } from '@kbn/i18n'; import { DEFAULT_PIPELINE_VALUES } from '../../../../../../common/constants'; @@ -17,11 +18,7 @@ import { IngestPipelineParams } from '../../../../../../common/types/connectors' import { ElasticsearchIndexWithIngestion } from '../../../../../../common/types/indices'; import { InferencePipeline } from '../../../../../../common/types/pipelines'; import { Actions } from '../../../../shared/api_logic/create_api_logic'; -import { - clearFlashMessages, - flashAPIErrors, - flashSuccessToast, -} from '../../../../shared/flash_messages'; +import { flashSuccessToast } from '../../../../shared/flash_messages'; import { FetchDefaultPipelineApiLogic, @@ -227,7 +224,6 @@ export const PipelinesLogic = kea ({ - apiError: (error) => flashAPIErrors(error), apiSuccess: ({ pipeline }) => { if (isConnectorIndex(values.index) || isCrawlerIndex(values.index)) { if (values.index.connector) { @@ -238,11 +234,6 @@ export const PipelinesLogic = kea { // Re-fetch processors to ensure we display newly added ml processor @@ -256,16 +247,7 @@ export const PipelinesLogic = kea flashAPIErrors(error), createCustomPipelineSuccess: ({ created }) => { - flashSuccessToast( - i18n.translate( - 'xpack.enterpriseSearch.content.indices.pipelines.successToastCustom.title', - { - defaultMessage: 'Custom pipeline successfully created', - } - ) - ); actions.setPipelineState({ ...values.pipelineState, name: created[0] }); actions.savePipeline(); actions.fetchCustomPipeline({ indexName: values.index.name }); @@ -276,7 +258,6 @@ export const PipelinesLogic = kea flashAPIErrors(error), deleteMlPipelineSuccess: (value) => { if (value.deleted) { flashSuccessToast( @@ -296,7 +277,6 @@ export const PipelinesLogic = kea flashAPIErrors(error), detachMlPipelineSuccess: (response) => { if (response.updated) { flashSuccessToast( @@ -326,7 +306,6 @@ export const PipelinesLogic = kea clearFlashMessages(), openModal: () => { const pipeline = isCrawlerIndex(values.index) || isConnectorIndex(values.index) diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/sync_jobs/sync_jobs_view_logic.test.ts b/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/sync_jobs/sync_jobs_view_logic.test.ts index 544d48110941ac..28af9f3d1a72d9 100644 --- a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/sync_jobs/sync_jobs_view_logic.test.ts +++ b/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/sync_jobs/sync_jobs_view_logic.test.ts @@ -188,11 +188,9 @@ describe('SyncJobsViewLogic', () => { expect(mockFlashMessageHelpers.clearFlashMessages).toHaveBeenCalledTimes(1); }); - it('calls flashAPIErrors on apiError', async () => { + it('updates state on apiError', async () => { SyncJobsViewLogic.actions.fetchSyncJobsError({} as HttpError); await nextTick(); - expect(mockFlashMessageHelpers.flashAPIErrors).toHaveBeenCalledTimes(1); - expect(mockFlashMessageHelpers.flashAPIErrors).toHaveBeenCalledWith({}); expect(SyncJobsViewLogic.values).toEqual({ ...DEFAULT_VALUES, syncJobsLoading: false, diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/sync_jobs/sync_jobs_view_logic.ts b/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/sync_jobs/sync_jobs_view_logic.ts index 91852dbaaec72a..e8feb159dbcd0e 100644 --- a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/sync_jobs/sync_jobs_view_logic.ts +++ b/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/sync_jobs/sync_jobs_view_logic.ts @@ -14,7 +14,6 @@ import { Status } from '../../../../../../common/types/api'; import { ConnectorSyncJob } from '../../../../../../common/types/connectors'; import { Paginate } from '../../../../../../common/types/pagination'; import { Actions } from '../../../../shared/api_logic/create_api_logic'; -import { clearFlashMessages, flashAPIErrors } from '../../../../shared/flash_messages'; import { FetchSyncJobsApiLogic, FetchSyncJobsArgs, @@ -61,10 +60,6 @@ export const SyncJobsViewLogic = kea ({ - fetchSyncJobs: () => clearFlashMessages(), - fetchSyncJobsError: (e) => flashAPIErrors(e), - }), path: ['enterprise_search', 'content', 'sync_jobs_view_logic'], selectors: ({ selectors }) => ({ syncJobs: [ diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_indices/indices_logic.test.ts b/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_indices/indices_logic.test.ts index e7405c45bf4a67..acf1eaa9f83319 100644 --- a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_indices/indices_logic.test.ts +++ b/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_indices/indices_logic.test.ts @@ -266,7 +266,7 @@ describe('IndicesLogic', () => { isDeleteLoading: true, }); }); - it('should update isDeleteLoading to to false on apiError', () => { + it('should update isDeleteLoading to false on apiError', () => { IndicesLogic.actions.deleteIndex({ indexName: 'to-delete' }); IndicesLogic.actions.deleteError({} as HttpError); @@ -276,9 +276,9 @@ describe('IndicesLogic', () => { isDeleteLoading: false, }); }); - it('should update isDeleteLoading to to false on apiSuccess', () => { + it('should update isDeleteLoading to false on apiSuccess', () => { IndicesLogic.actions.deleteIndex({ indexName: 'to-delete' }); - IndicesLogic.actions.deleteSuccess(); + IndicesLogic.actions.deleteSuccess({ indexName: 'to-delete' }); expect(IndicesLogic.values).toEqual({ ...DEFAULT_VALUES, @@ -294,20 +294,10 @@ describe('IndicesLogic', () => { IndicesLogic.actions.makeRequest({ meta: DEFAULT_META, returnHiddenIndices: false }); expect(mockFlashMessageHelpers.clearFlashMessages).toHaveBeenCalledTimes(1); }); - it('calls flashAPIErrors on apiError', () => { - IndicesLogic.actions.apiError({} as HttpError); - expect(mockFlashMessageHelpers.flashAPIErrors).toHaveBeenCalledTimes(1); - expect(mockFlashMessageHelpers.flashAPIErrors).toHaveBeenCalledWith({}); - }); - it('calls flashAPIErrors on deleteError', () => { - IndicesLogic.actions.deleteError({} as HttpError); - expect(mockFlashMessageHelpers.flashAPIErrors).toHaveBeenCalledTimes(1); - expect(mockFlashMessageHelpers.flashAPIErrors).toHaveBeenCalledWith({}); - }); it('calls flashSuccessToast, closeDeleteModal and fetchIndices on deleteSuccess', () => { IndicesLogic.actions.fetchIndices = jest.fn(); IndicesLogic.actions.closeDeleteModal = jest.fn(); - IndicesLogic.actions.deleteSuccess(); + IndicesLogic.actions.deleteSuccess({ indexName: 'index-name' }); expect(mockFlashMessageHelpers.flashSuccessToast).toHaveBeenCalledTimes(1); expect(IndicesLogic.actions.fetchIndices).toHaveBeenCalledWith( IndicesLogic.values.searchParams diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_indices/indices_logic.ts b/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_indices/indices_logic.ts index a771a29a3c0d96..282566637e1039 100644 --- a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_indices/indices_logic.ts +++ b/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_indices/indices_logic.ts @@ -7,22 +7,16 @@ import { kea, MakeLogicType } from 'kea'; -import { i18n } from '@kbn/i18n'; - import { Meta } from '../../../../../common/types'; import { HttpError, Status } from '../../../../../common/types/api'; import { ElasticsearchIndexWithIngestion } from '../../../../../common/types/indices'; import { Actions } from '../../../shared/api_logic/create_api_logic'; import { DEFAULT_META } from '../../../shared/constants'; -import { - flashAPIErrors, - clearFlashMessages, - flashSuccessToast, -} from '../../../shared/flash_messages'; import { updateMetaPageIndex } from '../../../shared/table_pagination'; import { DeleteIndexApiLogic, DeleteIndexApiLogicArgs, + DeleteIndexApiLogicValues, } from '../../api/index/delete_index_api_logic'; import { FetchIndicesAPILogic } from '../../api/index/fetch_indices_api_logic'; import { ElasticsearchViewIndex, IngestionMethod } from '../../types'; @@ -50,9 +44,9 @@ export interface IndicesActions { searchQuery?: string; }; closeDeleteModal(): void; - deleteError: Actions['apiError']; - deleteIndex: Actions['makeRequest']; - deleteSuccess: Actions['apiSuccess']; + deleteError: Actions['apiError']; + deleteIndex: Actions['makeRequest']; + deleteSuccess: Actions['apiSuccess']; fetchIndices({ meta, returnHiddenIndices, @@ -111,18 +105,7 @@ export const IndicesLogic = kea>({ ], }, listeners: ({ actions, values }) => ({ - apiError: (e) => flashAPIErrors(e), - deleteError: (e) => flashAPIErrors(e), deleteSuccess: () => { - flashSuccessToast( - i18n.translate('xpack.enterpriseSearch.content.indices.deleteIndex.successToast.title', { - defaultMessage: - 'Your index {indexName} and any associated ingestion configurations were successfully deleted', - values: { - indexName: values.deleteModalIndexName, - }, - }) - ); actions.closeDeleteModal(); actions.fetchIndices(values.searchParams); }, @@ -130,7 +113,6 @@ export const IndicesLogic = kea>({ await breakpoint(150); actions.makeRequest(input); }, - makeRequest: () => clearFlashMessages(), }), path: ['enterprise_search', 'content', 'indices_logic'], reducers: () => ({ diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/settings/settings_logic.ts b/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/settings/settings_logic.ts index 11c63043e989a2..84c03f821442b5 100644 --- a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/settings/settings_logic.ts +++ b/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/settings/settings_logic.ts @@ -9,18 +9,11 @@ import { kea, MakeLogicType } from 'kea'; import { isDeepEqual } from 'react-use/lib/util'; -import { i18n } from '@kbn/i18n'; - import { DEFAULT_PIPELINE_VALUES } from '../../../../../common/constants'; import { Status } from '../../../../../common/types/api'; import { IngestPipelineParams } from '../../../../../common/types/connectors'; import { Actions } from '../../../shared/api_logic/create_api_logic'; -import { - clearFlashMessages, - flashAPIErrors, - flashSuccessToast, -} from '../../../shared/flash_messages'; import { FetchDefaultPipelineApiLogic, @@ -81,22 +74,12 @@ export const SettingsLogic = kea ({ - apiError: (error) => flashAPIErrors(error), apiSuccess: (pipeline) => { - flashSuccessToast( - i18n.translate( - 'xpack.enterpriseSearch.content.indices.defaultPipelines.successToast.title', - { - defaultMessage: 'Default pipeline successfully updated', - } - ) - ); actions.fetchDefaultPipelineSuccess(pipeline); }, fetchDefaultPipelineSuccess: (pipeline) => { actions.setPipeline(pipeline); }, - makeRequest: () => clearFlashMessages(), }), path: ['enterprise_search', 'content', 'settings'], reducers: () => ({ diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/api_logic/create_api_logic.test.ts b/x-pack/plugins/enterprise_search/public/applications/shared/api_logic/create_api_logic.test.ts index 7349f036c255d8..ced4a7c5004b57 100644 --- a/x-pack/plugins/enterprise_search/public/applications/shared/api_logic/create_api_logic.test.ts +++ b/x-pack/plugins/enterprise_search/public/applications/shared/api_logic/create_api_logic.test.ts @@ -5,7 +5,7 @@ * 2.0. */ -import { LogicMounter } from '../../__mocks__/kea_logic'; +import { LogicMounter, mockFlashMessageHelpers } from '../../__mocks__/kea_logic'; import { nextTick } from '@kbn/test-jest-helpers'; @@ -26,6 +26,7 @@ describe('CreateApiLogic', () => { const apiCallMock = jest.fn(); const logic = createApiLogic(['path'], apiCallMock); const { mount } = new LogicMounter(logic); + const { clearFlashMessages, flashSuccessToast, flashAPIErrors } = mockFlashMessageHelpers; beforeEach(() => { jest.clearAllMocks(); @@ -45,6 +46,7 @@ describe('CreateApiLogic', () => { apiStatus: { status: Status.LOADING }, status: Status.LOADING, }); + expect(clearFlashMessages).toHaveBeenCalled(); }); it('should set persist data in between new requests', () => { @@ -57,6 +59,16 @@ describe('CreateApiLogic', () => { status: Status.LOADING, }); }); + + it('should not call clearFlashMessages if clearFlashMessages param is false', () => { + const messageLogic = createApiLogic(['message_path'], apiCallMock, { + clearFlashMessagesOnMakeRequest: false, + }); + const { mount: messageMount } = messageLogic; + messageMount(); + messageLogic.actions.makeRequest({}); + expect(clearFlashMessages).not.toHaveBeenCalled(); + }); }); describe('apiSuccess', () => { it('should set status to SUCCESS and load data', () => { @@ -70,6 +82,16 @@ describe('CreateApiLogic', () => { data: { success: 'data' }, status: Status.SUCCESS, }); + expect(flashSuccessToast).not.toHaveBeenCalled(); + }); + it('should call flashSuccessToast if success function provided', () => { + const messageLogic = createApiLogic(['message_path'], apiCallMock, { + showSuccessFlashFn: () => 'test message', + }); + const { mount: messageMount } = messageLogic; + messageMount(); + messageLogic.actions.apiSuccess({}); + expect(flashSuccessToast).toHaveBeenCalledWith('test message'); }); }); describe('apiError', () => { @@ -86,6 +108,16 @@ describe('CreateApiLogic', () => { error: 'error', status: Status.ERROR, }); + expect(flashAPIErrors).toHaveBeenCalledWith('error'); + }); + it('should not call flashApiErrors if showErrorFlash param is set to false', () => { + const messageLogic = createApiLogic(['message_path'], apiCallMock, { + showErrorFlash: false, + }); + const { mount: messageMount } = messageLogic; + messageMount(); + messageLogic.actions.apiError('error' as any as HttpError); + expect(flashAPIErrors).not.toHaveBeenCalledWith('error'); }); }); describe('apiReset', () => { diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/api_logic/create_api_logic.ts b/x-pack/plugins/enterprise_search/public/applications/shared/api_logic/create_api_logic.ts index b8f6aac6f86246..f8a3eb7a823d80 100644 --- a/x-pack/plugins/enterprise_search/public/applications/shared/api_logic/create_api_logic.ts +++ b/x-pack/plugins/enterprise_search/public/applications/shared/api_logic/create_api_logic.ts @@ -8,6 +8,7 @@ import { kea, MakeLogicType } from 'kea'; import { ApiStatus, Status, HttpError } from '../../../../common/types/api'; +import { clearFlashMessages, flashAPIErrors, flashSuccessToast } from '../flash_messages'; export interface Values { apiStatus: ApiStatus; @@ -23,11 +24,25 @@ export interface Actions { makeRequest(args: Args): Args; } +export interface CreateApiOptions { + clearFlashMessagesOnMakeRequest: boolean; + showErrorFlash: boolean; + showSuccessFlashFn?: (result: Result) => string; +} + +const DEFAULT_CREATE_API_OPTIONS = { + clearFlashMessagesOnMakeRequest: true, + showErrorFlash: true, +}; + export const createApiLogic = ( path: string[], - apiFunction: (args: Args) => Promise -) => - kea, Actions>>({ + apiFunction: (args: Args) => Promise, + incomingOptions: Partial> = {} +) => { + const options = { ...DEFAULT_CREATE_API_OPTIONS, ...incomingOptions }; + + return kea, Actions>>({ actions: { apiError: (error) => error, apiReset: true, @@ -35,7 +50,20 @@ export const createApiLogic = ( makeRequest: (args) => args, }, listeners: ({ actions }) => ({ + apiError: (error) => { + if (options.showErrorFlash) { + flashAPIErrors(error); + } + }, + apiSuccess: (result) => { + if (options.showSuccessFlashFn) { + flashSuccessToast(options.showSuccessFlashFn(result)); + } + }, makeRequest: async (args) => { + if (options.clearFlashMessagesOnMakeRequest) { + clearFlashMessages(); + } try { const result = await apiFunction(args); actions.apiSuccess(result); @@ -75,3 +103,4 @@ export const createApiLogic = ( status: [() => [selectors.apiStatus], (apiStatus: ApiStatus) => apiStatus.status], }), }); +}; diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/add_source/add_custom_source/add_custom_source_logic.ts b/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/add_source/add_custom_source/add_custom_source_logic.ts index 0f81e78d988688..1aa292c1efc3f9 100644 --- a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/add_source/add_custom_source/add_custom_source_logic.ts +++ b/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/add_source/add_custom_source/add_custom_source_logic.ts @@ -8,7 +8,6 @@ import { kea, MakeLogicType } from 'kea'; import { HttpError, Status } from '../../../../../../../../common/types/api'; -import { clearFlashMessages, flashAPIErrors } from '../../../../../../shared/flash_messages'; import { CustomSource } from '../../../../../types'; import { AddCustomSourceApiLogic } from './add_custom_source_api_logic'; @@ -92,8 +91,6 @@ export const AddCustomSourceLogic = kea< const { baseServiceType } = props; actions.makeRequest({ name: customSourceNameValue, baseServiceType }); }, - makeRequest: () => clearFlashMessages(), - apiError: (error) => flashAPIErrors(error), apiSuccess: ({ source }) => { actions.setNewCustomSource(source); }, diff --git a/x-pack/plugins/enterprise_search/server/lib/connectors/add_connector.test.ts b/x-pack/plugins/enterprise_search/server/lib/connectors/add_connector.test.ts index e9f22cae5b94b1..14c3532efee91c 100644 --- a/x-pack/plugins/enterprise_search/server/lib/connectors/add_connector.test.ts +++ b/x-pack/plugins/enterprise_search/server/lib/connectors/add_connector.test.ts @@ -35,7 +35,6 @@ describe('addConnector lib function', () => { create: jest.fn(), exists: jest.fn(), getMapping: jest.fn(), - refresh: jest.fn(), }, }, asInternalUser: {}, @@ -160,6 +159,7 @@ describe('addConnector lib function', () => { sync_now: false, }, index: CONNECTORS_INDEX, + refresh: true, }); expect(mockClient.asCurrentUser.indices.create).toHaveBeenCalledWith({ index: 'index_name', @@ -343,6 +343,7 @@ describe('addConnector lib function', () => { sync_now: false, }, index: CONNECTORS_INDEX, + refresh: true, }); expect(mockClient.asCurrentUser.indices.create).toHaveBeenCalledWith({ index: 'index_name', @@ -448,6 +449,7 @@ describe('addConnector lib function', () => { sync_now: false, }, index: CONNECTORS_INDEX, + refresh: true, }); expect(mockClient.asCurrentUser.indices.create).toHaveBeenCalledWith({ index: 'search-index_name', diff --git a/x-pack/plugins/enterprise_search/server/lib/connectors/add_connector.ts b/x-pack/plugins/enterprise_search/server/lib/connectors/add_connector.ts index f0ff60a0754395..e697cf57522f88 100644 --- a/x-pack/plugins/enterprise_search/server/lib/connectors/add_connector.ts +++ b/x-pack/plugins/enterprise_search/server/lib/connectors/add_connector.ts @@ -59,9 +59,9 @@ const createConnector = async ( const result = await client.asCurrentUser.index({ document, index: CONNECTORS_INDEX, + refresh: true, }); await createIndex(client, document.index_name, language, false); - await client.asCurrentUser.indices.refresh({ index: CONNECTORS_INDEX }); return { id: result._id, index_name: document.index_name }; }; diff --git a/x-pack/plugins/fleet/common/authz.test.ts b/x-pack/plugins/fleet/common/authz.test.ts index cadb90651b01c8..9602fabdce7c1a 100644 --- a/x-pack/plugins/fleet/common/authz.test.ts +++ b/x-pack/plugins/fleet/common/authz.test.ts @@ -15,11 +15,8 @@ import { ENDPOINT_PRIVILEGES } from './constants'; const SECURITY_SOLUTION_ID = DEFAULT_APP_CATEGORIES.security.id; -function generateActions( - privileges: typeof ENDPOINT_PRIVILEGES, - overrides: Record = {} -) { - return privileges.reduce((acc, privilege) => { +function generateActions(privileges: T, overrides: Record = {}) { + return Object.keys(privileges).reduce((acc, privilege) => { const executePackageAction = overrides[privilege] || false; return { diff --git a/x-pack/plugins/fleet/common/authz.ts b/x-pack/plugins/fleet/common/authz.ts index 72812576e13b35..fa30f2b8f7f339 100644 --- a/x-pack/plugins/fleet/common/authz.ts +++ b/x-pack/plugins/fleet/common/authz.ts @@ -5,7 +5,6 @@ * 2.0. */ -import { DEFAULT_APP_CATEGORIES } from '@kbn/core-application-common'; import type { Capabilities } from '@kbn/core-capabilities-common'; import { ENDPOINT_PRIVILEGES } from './constants'; @@ -95,14 +94,17 @@ export function calculatePackagePrivilegesFromCapabilities( return {}; } - const endpointActions = ENDPOINT_PRIVILEGES.reduce((acc, privilege) => { - return { - ...acc, - [privilege]: { - executePackageAction: capabilities.siem[privilege] || false, - }, - }; - }, {}); + const endpointActions = Object.entries(ENDPOINT_PRIVILEGES).reduce( + (acc, [privilege, { privilegeName }]) => { + return { + ...acc, + [privilege]: { + executePackageAction: capabilities.siem[privilegeName] || false, + }, + }; + }, + {} + ); return { endpoint: { @@ -117,10 +119,11 @@ function getAuthorizationFromPrivileges( privilege: string; authorized: boolean; }>, + prefix: string, searchPrivilege: string ): boolean { const privilege = kibanaPrivileges.find((p) => - p.privilege.endsWith(`${DEFAULT_APP_CATEGORIES.security.id}-${searchPrivilege}`) + p.privilege.endsWith(`${prefix}${searchPrivilege}`) ); return privilege?.authorized || false; } @@ -138,15 +141,22 @@ export function calculatePackagePrivilegesFromKibanaPrivileges( return {}; } - const endpointActions = ENDPOINT_PRIVILEGES.reduce((acc, privilege: string) => { - const kibanaPrivilege = getAuthorizationFromPrivileges(kibanaPrivileges, privilege); - return { - ...acc, - [privilege]: { - executePackageAction: kibanaPrivilege, - }, - }; - }, {}); + const endpointActions = Object.entries(ENDPOINT_PRIVILEGES).reduce( + (acc, [privilege, { appId, privilegeSplit, privilegeName }]) => { + const kibanaPrivilege = getAuthorizationFromPrivileges( + kibanaPrivileges, + `${appId}${privilegeSplit}`, + privilegeName + ); + return { + ...acc, + [privilege]: { + executePackageAction: kibanaPrivilege, + }, + }; + }, + {} + ); return { endpoint: { diff --git a/x-pack/plugins/fleet/common/constants/authz.ts b/x-pack/plugins/fleet/common/constants/authz.ts index d7a0ca4ade2eb8..fa2a2c0b44e93f 100644 --- a/x-pack/plugins/fleet/common/constants/authz.ts +++ b/x-pack/plugins/fleet/common/constants/authz.ts @@ -5,22 +5,137 @@ * 2.0. */ -export const ENDPOINT_PRIVILEGES = [ - 'writeEndpointList', - 'readEndpointList', - 'writeTrustedApplications', - 'readTrustedApplications', - 'writeHostIsolationExceptions', - 'readHostIsolationExceptions', - 'writeBlocklist', - 'readBlocklist', - 'writeEventFilters', - 'readEventFilters', - 'writePolicyManagement', - 'readPolicyManagement', - 'writeActionsLogManagement', - 'readActionsLogManagement', - 'writeHostIsolation', - 'writeProcessOperations', - 'writeFileOperations', -] as const; +import { deepFreeze } from '@kbn/std'; +import { DEFAULT_APP_CATEGORIES } from '@kbn/core-application-common'; + +const SECURITY_SOLUTION_APP_ID = 'siem'; + +interface PrivilegeMapObject { + appId: string; + privilegeSplit: string; + privilegeType: 'ui' | 'api'; + privilegeName: string; +} + +/** + * defines endpoint package privileges + * the key is the name of the packagePrivilege (ie. 'readSecuritySolution') + * the value object is for mapping kibana privileges and capabilities + * see x-pack/plugins/fleet/server/services/security/security.ts for example of how object values are used + */ +export const ENDPOINT_PRIVILEGES: Record = deepFreeze({ + readSecuritySolution: { + appId: SECURITY_SOLUTION_APP_ID, + privilegeSplit: '/', + privilegeType: 'ui', + privilegeName: 'show', + }, + writeSecuritySolution: { + appId: SECURITY_SOLUTION_APP_ID, + privilegeSplit: '/', + privilegeType: 'ui', + privilegeName: 'crud', + }, + writeEndpointList: { + appId: DEFAULT_APP_CATEGORIES.security.id, + privilegeSplit: '-', + privilegeType: 'api', + privilegeName: 'writeEndpointList', + }, + readEndpointList: { + appId: DEFAULT_APP_CATEGORIES.security.id, + privilegeSplit: '-', + privilegeType: 'api', + privilegeName: 'readEndpointList', + }, + writeTrustedApplications: { + appId: DEFAULT_APP_CATEGORIES.security.id, + privilegeSplit: '-', + privilegeType: 'api', + privilegeName: 'writeTrustedApplications', + }, + readTrustedApplications: { + appId: DEFAULT_APP_CATEGORIES.security.id, + privilegeSplit: '-', + privilegeType: 'api', + privilegeName: 'readTrustedApplications', + }, + writeHostIsolationExceptions: { + appId: DEFAULT_APP_CATEGORIES.security.id, + privilegeSplit: '-', + privilegeType: 'api', + privilegeName: 'writeHostIsolationExceptions', + }, + readHostIsolationExceptions: { + appId: DEFAULT_APP_CATEGORIES.security.id, + privilegeSplit: '-', + privilegeType: 'api', + privilegeName: 'readHostIsolationExceptions', + }, + writeBlocklist: { + appId: DEFAULT_APP_CATEGORIES.security.id, + privilegeSplit: '-', + privilegeType: 'api', + privilegeName: 'writeBlocklist', + }, + readBlocklist: { + appId: DEFAULT_APP_CATEGORIES.security.id, + privilegeSplit: '-', + privilegeType: 'api', + privilegeName: 'readBlocklist', + }, + writeEventFilters: { + appId: DEFAULT_APP_CATEGORIES.security.id, + privilegeSplit: '-', + privilegeType: 'api', + privilegeName: 'writeEventFilters', + }, + readEventFilters: { + appId: DEFAULT_APP_CATEGORIES.security.id, + privilegeSplit: '-', + privilegeType: 'api', + privilegeName: 'readEventFilters', + }, + writePolicyManagement: { + appId: DEFAULT_APP_CATEGORIES.security.id, + privilegeSplit: '-', + privilegeType: 'api', + privilegeName: 'writePolicyManagement', + }, + readPolicyManagement: { + appId: DEFAULT_APP_CATEGORIES.security.id, + privilegeSplit: '-', + privilegeType: 'api', + privilegeName: 'readPolicyManagement', + }, + writeActionsLogManagement: { + appId: DEFAULT_APP_CATEGORIES.security.id, + privilegeSplit: '-', + privilegeType: 'api', + privilegeName: 'writeActionsLogManagement', + }, + readActionsLogManagement: { + appId: DEFAULT_APP_CATEGORIES.security.id, + privilegeSplit: '-', + privilegeType: 'api', + privilegeName: 'readActionsLogManagement', + }, + writeHostIsolation: { + appId: DEFAULT_APP_CATEGORIES.security.id, + privilegeSplit: '-', + privilegeType: 'api', + privilegeName: 'writeHostIsolation', + }, + writeProcessOperations: { + appId: DEFAULT_APP_CATEGORIES.security.id, + privilegeSplit: '-', + privilegeType: 'api', + privilegeName: 'writeProcessOperations', + }, + writeFileOperations: { + appId: DEFAULT_APP_CATEGORIES.security.id, + privilegeSplit: '-', + privilegeType: 'api', + privilegeName: 'writeFileOperations', + }, +}); diff --git a/x-pack/plugins/fleet/common/index.ts b/x-pack/plugins/fleet/common/index.ts index 5b3765bf9e40bc..b347b5b29dd817 100644 --- a/x-pack/plugins/fleet/common/index.ts +++ b/x-pack/plugins/fleet/common/index.ts @@ -147,6 +147,7 @@ export type { KibanaAssetReference, KibanaSavedObjectType, EsAssetReference, + AssetsGroupedByServiceByType, KibanaAssetTypeToParts, KibanaAssetParts, KibanaAssetType, diff --git a/x-pack/plugins/fleet/common/mocks.ts b/x-pack/plugins/fleet/common/mocks.ts index d5aca8398abd87..526110e1331374 100644 --- a/x-pack/plugins/fleet/common/mocks.ts +++ b/x-pack/plugins/fleet/common/mocks.ts @@ -62,7 +62,7 @@ export const deletePackagePolicyMock = (): DeletePackagePoliciesResponse => { * Creates mock `authz` object */ export const createFleetAuthzMock = (): FleetAuthz => { - const endpointActions = ENDPOINT_PRIVILEGES.reduce((acc, privilege) => { + const endpointActions = Object.keys(ENDPOINT_PRIVILEGES).reduce((acc, privilege) => { return { ...acc, [privilege]: { diff --git a/x-pack/plugins/fleet/cypress/e2e/a11y/home_page.cy.ts b/x-pack/plugins/fleet/cypress/e2e/a11y/home_page.cy.ts index 9b3803679a0de5..18369a048b4644 100644 --- a/x-pack/plugins/fleet/cypress/e2e/a11y/home_page.cy.ts +++ b/x-pack/plugins/fleet/cypress/e2e/a11y/home_page.cy.ts @@ -33,15 +33,15 @@ import { setFleetServerHost } from '../../tasks/fleet_server'; describe('Home page', () => { before(() => { setFleetServerHost('https://fleetserver:8220'); - navigateTo(FLEET); - cy.getBySel(LANDING_PAGE_ADD_FLEET_SERVER_BUTTON).click(); }); describe('Agents', () => { - before(() => { + beforeEach(() => { + navigateTo(FLEET); + cy.getBySel(LANDING_PAGE_ADD_FLEET_SERVER_BUTTON).click(); cy.getBySel(AGENT_FLYOUT.QUICK_START_TAB_BUTTON, { timeout: 15000 }).should('be.visible'); - setFleetServerHost('https://fleetserver:8220'); }); + const fleetServerHost = 'https://localhost:8220'; describe('Quick Start', () => { @@ -63,7 +63,10 @@ describe('Home page', () => { }); describe('Advanced', () => { - before(() => { + beforeEach(() => { + navigateTo(FLEET); + cy.getBySel(LANDING_PAGE_ADD_FLEET_SERVER_BUTTON).click(); + cy.getBySel(AGENT_FLYOUT.QUICK_START_TAB_BUTTON, { timeout: 15000 }).should('be.visible'); cy.getBySel(AGENT_FLYOUT.ADVANCED_TAB_BUTTON).click(); }); it('Select policy for fleet', () => { @@ -88,7 +91,7 @@ describe('Home page', () => { }); describe('Agent Policies', () => { - before(() => { + beforeEach(() => { navigateTo(FLEET); cy.getBySel(AGENT_POLICIES_TAB).click(); cy.getBySel(AGENT_POLICIES_CREATE_AGENT_POLICY_FLYOUT.CREATE_BUTTON, { @@ -111,6 +114,11 @@ describe('Home page', () => { checkA11y({ skipFailures: false }); }); it('Agent Table After Adding Another Agent', () => { + cy.getBySel(AGENT_POLICIES_CREATE_AGENT_POLICY_FLYOUT.CREATE_BUTTON).click(); + cy.getBySel(AGENT_POLICIES_CREATE_AGENT_POLICY_FLYOUT.TITLE, { timeout: 15000 }).should( + 'be.visible' + ); + cy.getBySel(AGENT_POLICY_CREATE_AGENT_POLICY_NAME_FIELD).type('testName'); cy.getBySel(AGENT_POLICY_FLYOUT_CREATE_BUTTON).click(); cy.getBySel(AGENT_POLICY_NAME_LINK, { timeout: 15000 }).should('be.visible'); checkA11y({ skipFailures: true }); @@ -118,7 +126,7 @@ describe('Home page', () => { }); describe('Enrollment Tokens', () => { - before(() => { + beforeEach(() => { navigateTo(FLEET); cy.getBySel(ENROLLMENT_TOKENS_TAB).click(); }); @@ -137,7 +145,7 @@ describe('Home page', () => { describe('Data Streams', () => { before(() => { - cy.getBySel('confirmModalCancelButton').click(); + navigateTo(FLEET); cy.getBySel(DATA_STREAMS_TAB, { timeout: 15000 }).should('be.visible'); cy.getBySel(DATA_STREAMS_TAB).click(); }); diff --git a/x-pack/plugins/fleet/cypress/e2e/enrollment_token.cy.ts b/x-pack/plugins/fleet/cypress/e2e/enrollment_token.cy.ts index 88c94815eee0dc..862e49e6c21195 100644 --- a/x-pack/plugins/fleet/cypress/e2e/enrollment_token.cy.ts +++ b/x-pack/plugins/fleet/cypress/e2e/enrollment_token.cy.ts @@ -49,6 +49,12 @@ describe('Enrollment token page', () => { cy.get('.euiPanel').contains('Are you sure you want to revoke'); cy.get('.euiButton').contains('Revoke enrollment token').click({ force: true }); - cy.getBySel(ENROLLMENT_TOKENS.TABLE_REVOKE_BTN).first().should('not.exist'); + cy.getBySel(ENROLLMENT_TOKENS.LIST_TABLE).within(() => { + cy.get('.euiTableRow') + .first() + .within(() => { + cy.getBySel(ENROLLMENT_TOKENS.TABLE_REVOKE_BTN).should('not.exist'); + }); + }); }); }); diff --git a/x-pack/plugins/fleet/server/routes/epm/handlers.ts b/x-pack/plugins/fleet/server/routes/epm/handlers.ts index b4b189d3ad2bb9..702b70bee117b8 100644 --- a/x-pack/plugins/fleet/server/routes/epm/handlers.ts +++ b/x-pack/plugins/fleet/server/routes/epm/handlers.ts @@ -53,7 +53,7 @@ import { } from '../../services/epm/packages'; import type { BulkInstallResponse } from '../../services/epm/packages'; import { defaultFleetErrorHandler, fleetErrorToResponseOptions, FleetError } from '../../errors'; -import { licenseService } from '../../services'; +import { checkAllowedPackages, licenseService } from '../../services'; import { getArchiveEntry } from '../../services/epm/archive/cache'; import { getAsset } from '../../services/epm/archive/storage'; import { getPackageUsageStats } from '../../services/epm/packages/get'; @@ -91,6 +91,7 @@ export const getListHandler: FleetRequestHandler< savedObjectsClient, ...request.query, }); + const body: GetPackagesResponse = { items: res, response: res, @@ -209,7 +210,11 @@ export const getInfoHandler: FleetRequestHandler< > = async (context, request, response) => { try { const savedObjectsClient = (await context.fleet).internalSoClient; + const { limitedToPackages } = await context.fleet; const { pkgName, pkgVersion } = request.params; + + checkAllowedPackages([pkgName], limitedToPackages); + const { ignoreUnverified = false, full = false, prerelease } = request.query; if (pkgVersion && !semverValid(pkgVersion)) { throw new FleetError('Package version is not a valid semver'); diff --git a/x-pack/plugins/fleet/server/routes/epm/index.ts b/x-pack/plugins/fleet/server/routes/epm/index.ts index 383f9c3116d8d6..fecf49471c97df 100644 --- a/x-pack/plugins/fleet/server/routes/epm/index.ts +++ b/x-pack/plugins/fleet/server/routes/epm/index.ts @@ -7,7 +7,13 @@ import type { IKibanaResponse } from '@kbn/core/server'; -import type { FleetAuthzRouter } from '../../services/security'; +import type { FleetAuthz } from '../../../common'; + +import { + calculateRouteAuthz, + type FleetAuthzRouter, + getRouteRequiredAuthz, +} from '../../services/security'; import type { DeletePackageResponse, @@ -111,9 +117,9 @@ export const registerRoutes = (router: FleetAuthzRouter) => { { path: EPM_API_ROUTES.INFO_PATTERN, validate: GetInfoRequestSchema, - fleetAuthz: { - integrations: { readPackageInfo: true }, - }, + fleetAuthz: (fleetAuthz: FleetAuthz): boolean => + calculateRouteAuthz(fleetAuthz, getRouteRequiredAuthz('get', EPM_API_ROUTES.INFO_PATTERN)) + .granted, }, getInfoHandler ); @@ -186,9 +192,11 @@ export const registerRoutes = (router: FleetAuthzRouter) => { { path: EPM_API_ROUTES.INFO_PATTERN_DEPRECATED, validate: GetInfoRequestSchemaDeprecated, - fleetAuthz: { - integrations: { readPackageInfo: true }, - }, + fleetAuthz: (fleetAuthz: FleetAuthz): boolean => + calculateRouteAuthz( + fleetAuthz, + getRouteRequiredAuthz('get', EPM_API_ROUTES.INFO_PATTERN_DEPRECATED) + ).granted, }, async (context, request, response) => { const newRequest = { ...request, params: splitPkgKey(request.params.pkgkey) } as any; diff --git a/x-pack/plugins/fleet/server/routes/package_policy/handlers.ts b/x-pack/plugins/fleet/server/routes/package_policy/handlers.ts index 045f32cbf6c6e3..ca29e7c0d079b0 100644 --- a/x-pack/plugins/fleet/server/routes/package_policy/handlers.ts +++ b/x-pack/plugins/fleet/server/routes/package_policy/handlers.ts @@ -15,7 +15,12 @@ import { groupBy, keyBy } from 'lodash'; import { populatePackagePolicyAssignedAgentsCount } from '../../services/package_policies/populate_package_policy_assigned_agents_count'; -import { agentPolicyService, appContextService, packagePolicyService } from '../../services'; +import { + agentPolicyService, + appContextService, + checkAllowedPackages, + packagePolicyService, +} from '../../services'; import type { GetPackagePoliciesRequestSchema, GetOnePackagePolicyRequestSchema, @@ -45,44 +50,6 @@ import { simplifiedPackagePolicytoNewPackagePolicy } from '../../../common/servi import type { SimplifiedPackagePolicy } from '../../../common/services/simplified_package_policy_helper'; -const getAllowedPackageNamesMessage = (allowedPackageNames: string[]): string => { - return `Allowed package.name's: ${allowedPackageNames.join(', ')}`; -}; - -/** - * Validates that Package Policy data only includes `package.name`'s that are in the list of - * `allowedPackageNames`. If an error is encountered, then a message is return, otherwise, undefined. - * - * @param data - * @param allowedPackageNames - */ -const validatePackagePolicyDataIsScopedToAllowedPackageNames = ( - data: PackagePolicy[], - allowedPackageNames: string[] | undefined -): string | undefined => { - if (!data.length || typeof allowedPackageNames === 'undefined') { - return; - } - - if (!allowedPackageNames.length) { - return 'Authorization denied due to lack of integration package privileges'; - } - - // Because List type of APIs have an un-bounded `perPage` query param, we only validate the - // data up to the first package.name that we find is not authorized. - for (const packagePolicy of data) { - if (!packagePolicy.package) { - return `Authorization denied. ${getAllowedPackageNamesMessage(allowedPackageNames)}`; - } - - if (!allowedPackageNames.includes(packagePolicy.package.name)) { - return `Authorization denied to [package.name=${ - packagePolicy.package.name - }]. ${getAllowedPackageNamesMessage(allowedPackageNames)}`; - } - } -}; - export const getPackagePoliciesHandler: FleetRequestHandler< undefined, TypeOf @@ -98,18 +65,7 @@ export const getPackagePoliciesHandler: FleetRequestHandler< request.query ); - // specific to package-level RBAC - const validationResult = validatePackagePolicyDataIsScopedToAllowedPackageNames( - items, - limitedToPackages - ); - if (validationResult) { - return response.forbidden({ - body: { - message: validationResult, - }, - }); - } + checkAllowedPackages(items, limitedToPackages, 'package.name'); if (request.query.withAgentCount) { await populatePackagePolicyAssignedAgentsCount(esClient, items); @@ -146,17 +102,7 @@ export const bulkGetPackagePoliciesHandler: FleetRequestHandler< const body: BulkGetPackagePoliciesResponse = { items: items ?? [] }; - const validationResult = validatePackagePolicyDataIsScopedToAllowedPackageNames( - body.items, - limitedToPackages - ); - if (validationResult) { - return response.forbidden({ - body: { - message: validationResult, - }, - }); - } + checkAllowedPackages(body.items, limitedToPackages, 'package.name'); return response.ok({ body, @@ -186,17 +132,7 @@ export const getOnePackagePolicyHandler: FleetRequestHandler< const packagePolicy = await packagePolicyService.get(soClient, packagePolicyId); if (packagePolicy) { - const validationResult = validatePackagePolicyDataIsScopedToAllowedPackageNames( - [packagePolicy], - limitedToPackages - ); - if (validationResult) { - return response.forbidden({ - body: { - message: validationResult, - }, - }); - } + checkAllowedPackages([packagePolicy], limitedToPackages, 'package.name'); return response.ok({ body: { diff --git a/x-pack/plugins/fleet/server/services/check_allowed_packages.test.ts b/x-pack/plugins/fleet/server/services/check_allowed_packages.test.ts new file mode 100644 index 00000000000000..d475a4af618542 --- /dev/null +++ b/x-pack/plugins/fleet/server/services/check_allowed_packages.test.ts @@ -0,0 +1,56 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import { FleetUnauthorizedError } from '../errors'; + +import { checkAllowedPackages } from './check_allowed_packages'; + +describe('#checkAllowedPackages', () => { + it('does not throw if no packages', () => { + expect(() => checkAllowedPackages([], [])).not.toThrowError(FleetUnauthorizedError); + }); + + it('does not throw if allowedPackages is undefined', () => { + expect(() => checkAllowedPackages([])).not.toThrowError(FleetUnauthorizedError); + }); + + it('throws if allowedPackages is empty array', () => { + expect(() => checkAllowedPackages([{ name: 'packageA' }], [], 'name')).toThrowError( + new FleetUnauthorizedError( + 'Authorization denied due to lack of integration package privileges' + ) + ); + }); + + it('does not throw if all packages allowed', () => { + const packages = ['packageA', 'packageB', 'packageC']; + const allowedPackages = ['packageA', 'packageB', 'packageC']; + expect(() => checkAllowedPackages(packages, allowedPackages)).not.toThrowError( + FleetUnauthorizedError + ); + }); + + it('throws if contains unresolved package', () => { + const packages = [{ name: 'packageA' }, { name: 'packageB' }, { name: undefined }]; + const allowedPackages = ['packageA', 'packageB', 'packageC']; + expect(() => checkAllowedPackages(packages, allowedPackages, 'name')).toThrowError( + new FleetUnauthorizedError( + 'Authorization denied. Allowed package(s): packageA, packageB, packageC.' + ) + ); + }); + + it('throws if contains restricted packages', () => { + const packages = [{ name: 'packageA' }, { name: 'packageB' }, { name: 'packageC' }]; + const allowedPackages = ['packageA', 'packageB']; + expect(() => checkAllowedPackages(packages, allowedPackages, 'name')).toThrowError( + new FleetUnauthorizedError( + 'Authorization denied to package: packageC. Allowed package(s): packageA, packageB' + ) + ); + }); +}); diff --git a/x-pack/plugins/fleet/server/services/check_allowed_packages.ts b/x-pack/plugins/fleet/server/services/check_allowed_packages.ts new file mode 100644 index 00000000000000..fffd8d0bdcb918 --- /dev/null +++ b/x-pack/plugins/fleet/server/services/check_allowed_packages.ts @@ -0,0 +1,48 @@ +/* + * 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 { get } from 'lodash'; + +import { FleetUnauthorizedError } from '../errors'; + +export function checkAllowedPackages( + packages: T[], + allowedPackages?: string[], + keyPath: string = '' +) { + // allowedPackages is undefined when user has privileges from fleet + if (!packages.length || !allowedPackages) { + return; + } + + if (!allowedPackages.length) { + throw new FleetUnauthorizedError( + 'Authorization denied due to lack of integration package privileges' + ); + } + + const allowedPackagedSet = new Set(allowedPackages); + const allowedPackagesStr = allowedPackages.join(', '); + + packages.some((pkg) => { + const pkgName = typeof pkg === 'string' ? pkg : get(pkg, keyPath, undefined); + if (!pkgName) { + throw new FleetUnauthorizedError( + `Authorization denied. Allowed package(s): ${allowedPackagesStr}.` + ); + } + + const isRestricted = !allowedPackagedSet.has(pkgName); + if (isRestricted) { + throw new FleetUnauthorizedError( + `Authorization denied to package: ${pkgName}. Allowed package(s): ${allowedPackagesStr}` + ); + } + + return false; + }); +} diff --git a/x-pack/plugins/fleet/server/services/epm/kibana/assets/install.ts b/x-pack/plugins/fleet/server/services/epm/kibana/assets/install.ts index dd2a66a1526ab3..4dbceb772cc207 100644 --- a/x-pack/plugins/fleet/server/services/epm/kibana/assets/install.ts +++ b/x-pack/plugins/fleet/server/services/epm/kibana/assets/install.ts @@ -294,6 +294,7 @@ export async function installKibanaSavedObjects({ overwrite: true, readStream: createListStream(toBeSavedObjects), createNewCopies: false, + refresh: false, }) ); diff --git a/x-pack/plugins/fleet/server/services/index.ts b/x-pack/plugins/fleet/server/services/index.ts index 133d5cf88d71c7..a5078471d934d1 100644 --- a/x-pack/plugins/fleet/server/services/index.ts +++ b/x-pack/plugins/fleet/server/services/index.ts @@ -64,3 +64,5 @@ export type { PackageService, PackageClient } from './epm'; export { migrateSettingsToFleetServerHost } from './fleet_server_host'; export { FleetUsageSender } from './telemetry/fleet_usage_sender'; + +export { checkAllowedPackages } from './check_allowed_packages'; diff --git a/x-pack/plugins/fleet/server/services/security/fleet_router.test.ts b/x-pack/plugins/fleet/server/services/security/fleet_router.test.ts index 1f2b6c3fab22bb..6af9c891b31fc3 100644 --- a/x-pack/plugins/fleet/server/services/security/fleet_router.test.ts +++ b/x-pack/plugins/fleet/server/services/security/fleet_router.test.ts @@ -71,6 +71,8 @@ describe('FleetAuthzRouter', () => { const mockContext = createAppContextStartContractMock(); // @ts-expect-error type doesn't properly respect deeply mocked keys mockContext.securityStart.authz.actions.api.get.mockImplementation((priv) => `api:${priv}`); + // @ts-expect-error type doesn't properly respect deeply mocked keys + mockContext.securityStart.authz.actions.ui.get.mockImplementation((priv) => `ui:${priv}`); mockContext.securityStart.authc.getCurrentUser.mockReturnValue({ username: 'foo', diff --git a/x-pack/plugins/fleet/server/services/security/route_required_authz.ts b/x-pack/plugins/fleet/server/services/security/route_required_authz.ts index 107279f5f33e47..98effa4070c96f 100644 --- a/x-pack/plugins/fleet/server/services/security/route_required_authz.ts +++ b/x-pack/plugins/fleet/server/services/security/route_required_authz.ts @@ -11,6 +11,8 @@ import type { RouteMethod } from '@kbn/core-http-server'; import { PACKAGE_POLICY_API_ROUTES, AGENT_API_ROUTES } from '../../../common'; +import { EPM_API_ROUTES } from '../../constants'; + import type { FleetRouteRequiredAuthz } from './types'; /** @@ -144,6 +146,40 @@ const ROUTE_AUTHZ_REQUIREMENTS = deepFreeze - security.authz.actions.api.get(`${DEFAULT_APP_CATEGORIES.security.id}-${privilege}`) + const endpointPrivileges = Object.entries(ENDPOINT_PRIVILEGES).map( + ([_, { appId, privilegeType, privilegeName }]) => { + if (privilegeType === 'ui') { + return security.authz.actions[privilegeType].get(`${appId}`, `${privilegeName}`); + } + return security.authz.actions[privilegeType].get(`${appId}-${privilegeName}`); + } ); const { privileges } = await checkPrivileges({ kibana: [ diff --git a/x-pack/plugins/infra/public/pages/metrics/hosts/components/unified_search_bar.tsx b/x-pack/plugins/infra/public/pages/metrics/hosts/components/unified_search_bar.tsx index a588537244d0ff..cc9f6e7ef4102e 100644 --- a/x-pack/plugins/infra/public/pages/metrics/hosts/components/unified_search_bar.tsx +++ b/x-pack/plugins/infra/public/pages/metrics/hosts/components/unified_search_bar.tsx @@ -11,6 +11,7 @@ import type { Filter, Query, TimeRange } from '@kbn/es-query'; import type { DataView } from '@kbn/data-views-plugin/public'; import type { SavedQuery } from '@kbn/data-plugin/public'; import { i18n } from '@kbn/i18n'; +import { EuiFlexGrid } from '@elastic/eui'; import deepEqual from 'fast-deep-equal'; import type { InfraClientStartDeps } from '../../../../types'; import { useUnifiedSearchContext } from '../hooks/use_unified_search'; @@ -72,7 +73,7 @@ export const UnifiedSearchBar = ({ dataView }: Props) => { }; return ( - <> + { filters={unifiedSearchFilters} onFilterChange={onPanelFiltersChange} /> - + ); }; diff --git a/x-pack/plugins/osquery/cypress/e2e/all/alerts.cy.ts b/x-pack/plugins/osquery/cypress/e2e/all/alerts.cy.ts index 9fb916f1e4b7a9..d098c2bc57fb21 100644 --- a/x-pack/plugins/osquery/cypress/e2e/all/alerts.cy.ts +++ b/x-pack/plugins/osquery/cypress/e2e/all/alerts.cy.ts @@ -35,6 +35,7 @@ describe('Alert Event Details', () => { runKbnArchiverScript(ArchiverMethod.LOAD, 'example_pack'); runKbnArchiverScript(ArchiverMethod.LOAD, 'rule'); }); + beforeEach(() => { login(ROLES.soc_manager); }); diff --git a/x-pack/plugins/osquery/cypress/e2e/all/edit_saved_queries.cy.ts b/x-pack/plugins/osquery/cypress/e2e/all/edit_saved_queries.cy.ts index 7551176853f5e0..4453132dccd5ed 100644 --- a/x-pack/plugins/osquery/cypress/e2e/all/edit_saved_queries.cy.ts +++ b/x-pack/plugins/osquery/cypress/e2e/all/edit_saved_queries.cy.ts @@ -32,31 +32,35 @@ describe('ALL - Edit saved query', () => { }).click(); cy.contains('Custom key/value pairs.').should('exist'); cy.contains('Hours of uptime').should('exist'); - cy.get('[data-test-subj="ECSMappingEditorForm"]').within(() => { - cy.react('EuiButtonIcon', { props: { iconType: 'trash' } }).click(); - }); + cy.get('[data-test-subj="ECSMappingEditorForm"]') + .first() + .within(() => { + cy.react('EuiButtonIcon', { props: { iconType: 'trash' } }).click(); + }); - cy.react('PlatformCheckBoxGroupField').within(() => { - cy.react('EuiCheckbox', { - props: { - id: 'linux', - checked: true, - }, - }).should('exist'); - cy.react('EuiCheckbox', { - props: { - id: 'darwin', - checked: true, - }, - }).should('exist'); + cy.react('PlatformCheckBoxGroupField') + .first() + .within(() => { + cy.react('EuiCheckbox', { + props: { + id: 'linux', + checked: true, + }, + }).should('exist'); + cy.react('EuiCheckbox', { + props: { + id: 'darwin', + checked: true, + }, + }).should('exist'); - cy.react('EuiCheckbox', { - props: { - id: 'windows', - checked: false, - }, - }).should('exist'); - }); + cy.react('EuiCheckbox', { + props: { + id: 'windows', + checked: false, + }, + }).should('exist'); + }); cy.get('#windows').check({ force: true }); @@ -70,26 +74,28 @@ describe('ALL - Edit saved query', () => { cy.contains('Custom key/value pairs').should('not.exist'); cy.contains('Hours of uptime').should('not.exist'); - cy.react('PlatformCheckBoxGroupField').within(() => { - cy.react('EuiCheckbox', { - props: { - id: 'linux', - checked: true, - }, - }).should('exist'); - cy.react('EuiCheckbox', { - props: { - id: 'darwin', - checked: true, - }, - }).should('exist'); + cy.react('PlatformCheckBoxGroupField') + .first() + .within(() => { + cy.react('EuiCheckbox', { + props: { + id: 'linux', + checked: true, + }, + }).should('exist'); + cy.react('EuiCheckbox', { + props: { + id: 'darwin', + checked: true, + }, + }).should('exist'); - cy.react('EuiCheckbox', { - props: { - id: 'windows', - checked: true, - }, - }).should('exist'); - }); + cy.react('EuiCheckbox', { + props: { + id: 'windows', + checked: true, + }, + }).should('exist'); + }); }); }); diff --git a/x-pack/plugins/osquery/cypress/e2e/roles/t2_analyst.cy.ts b/x-pack/plugins/osquery/cypress/e2e/roles/t2_analyst.cy.ts index 6f2ba0a26882fe..7c468a679404dd 100644 --- a/x-pack/plugins/osquery/cypress/e2e/roles/t2_analyst.cy.ts +++ b/x-pack/plugins/osquery/cypress/e2e/roles/t2_analyst.cy.ts @@ -24,13 +24,14 @@ describe('T2 Analyst - READ + Write Live/Saved + runSavedQueries ', () => { // // const NEW_SAVED_QUERY_ID = `Saved-Query-Id-${randomNumber}`; // const NEW_SAVED_QUERY_DESCRIPTION = `Test saved query description ${randomNumber}`; + before(() => { + runKbnArchiverScript(ArchiverMethod.LOAD, 'saved_query'); + }); + beforeEach(() => { login(ROLES.t2_analyst); navigateTo('/app/osquery'); }); - before(() => { - runKbnArchiverScript(ArchiverMethod.LOAD, 'saved_query'); - }); after(() => { runKbnArchiverScript(ArchiverMethod.UNLOAD, 'saved_query'); @@ -100,6 +101,7 @@ describe('T2 Analyst - READ + Write Live/Saved + runSavedQueries ', () => { }); }); }); + it('to click the edit button and edit pack', () => { navigateTo('/app/osquery/saved_queries'); cy.getBySel('pagination-button-next').click(); @@ -109,9 +111,11 @@ describe('T2 Analyst - READ + Write Live/Saved + runSavedQueries ', () => { }).click(); cy.contains('Custom key/value pairs.').should('exist'); cy.contains('Hours of uptime').should('exist'); - cy.get('[data-test-subj="ECSMappingEditorForm"]').within(() => { - cy.react('EuiButtonIcon', { props: { iconType: 'trash' } }).click(); - }); + cy.get('[data-test-subj="ECSMappingEditorForm"]') + .first() + .within(() => { + cy.react('EuiButtonIcon', { props: { iconType: 'trash' } }).click(); + }); cy.react('EuiButton').contains('Update query').click(); cy.wait(5000); diff --git a/x-pack/plugins/osquery/cypress/tasks/login.ts b/x-pack/plugins/osquery/cypress/tasks/login.ts index 0f19f71f670113..eec845c255e657 100644 --- a/x-pack/plugins/osquery/cypress/tasks/login.ts +++ b/x-pack/plugins/osquery/cypress/tasks/login.ts @@ -163,19 +163,21 @@ export const loginWithRole = async (role: ROLES) => { port: Cypress.env('configport'), } as UrlObject); cy.log(`origin: ${theUrl}`); - cy.request({ - body: { - providerType: 'basic', - providerName: 'basic', - currentURL: '/', - params: { - username: role, - password: 'changeme', + cy.session([role], () => { + cy.request({ + body: { + providerType: 'basic', + providerName: 'basic', + currentURL: '/', + params: { + username: role, + password: 'changeme', + }, }, - }, - headers: { 'kbn-xsrf': 'cypress-creds-via-config' }, - method: 'POST', - url: getUrlWithRoute(role, LOGIN_API_ENDPOINT), + headers: { 'kbn-xsrf': 'cypress-creds-via-config' }, + method: 'POST', + url: getUrlWithRoute(role, LOGIN_API_ENDPOINT), + }); }); }; @@ -217,20 +219,25 @@ const loginViaEnvironmentCredentials = () => { `Authenticating via environment credentials from the \`CYPRESS_${ELASTICSEARCH_USERNAME}\` and \`CYPRESS_${ELASTICSEARCH_PASSWORD}\` environment variables` ); + const username = Cypress.env(ELASTICSEARCH_USERNAME); + const password = Cypress.env(ELASTICSEARCH_PASSWORD); + // programmatically authenticate without interacting with the Kibana login page - cy.request({ - body: { - providerType: 'basic', - providerName: url && !url.includes('localhost') ? 'cloud-basic' : 'basic', - currentURL: '/', - params: { - username: Cypress.env(ELASTICSEARCH_USERNAME), - password: Cypress.env(ELASTICSEARCH_PASSWORD), + cy.session([username, password], () => { + cy.request({ + body: { + providerType: 'basic', + providerName: url && !url.includes('localhost') ? 'cloud-basic' : 'basic', + currentURL: '/', + params: { + username, + password, + }, }, - }, - headers: { 'kbn-xsrf': 'cypress-creds-via-env' }, - method: 'POST', - url: `${Cypress.config().baseUrl}${LOGIN_API_ENDPOINT}`, + headers: { 'kbn-xsrf': 'cypress-creds-via-env' }, + method: 'POST', + url: `${Cypress.config().baseUrl}${LOGIN_API_ENDPOINT}`, + }); }); }; @@ -248,20 +255,25 @@ const loginViaConfig = () => { cy.readFile(KIBANA_DEV_YML_PATH).then((kibanaDevYml) => { const config = yaml.safeLoad(kibanaDevYml); + const username = 'elastic'; + const password = config.elasticsearch.password; + // programmatically authenticate without interacting with the Kibana login page - cy.request({ - body: { - providerType: 'basic', - providerName: 'basic', - currentURL: '/', - params: { - username: 'elastic', - password: config.elasticsearch.password, + cy.session([username, password], () => { + cy.request({ + body: { + providerType: 'basic', + providerName: 'basic', + currentURL: '/', + params: { + username, + password, + }, }, - }, - headers: { 'kbn-xsrf': 'cypress-creds-via-config' }, - method: 'POST', - url: `${Cypress.config().baseUrl}${LOGIN_API_ENDPOINT}`, + headers: { 'kbn-xsrf': 'cypress-creds-via-config' }, + method: 'POST', + url: `${Cypress.config().baseUrl}${LOGIN_API_ENDPOINT}`, + }); }); }); }; diff --git a/x-pack/plugins/security_solution/common/endpoint/data_loaders/index_endpoint_hosts.ts b/x-pack/plugins/security_solution/common/endpoint/data_loaders/index_endpoint_hosts.ts index c9a72be3bdcc8f..18b59998b07457 100644 --- a/x-pack/plugins/security_solution/common/endpoint/data_loaders/index_endpoint_hosts.ts +++ b/x-pack/plugins/security_solution/common/endpoint/data_loaders/index_endpoint_hosts.ts @@ -11,11 +11,7 @@ import type { AxiosResponse } from 'axios'; import uuid from 'uuid'; import type { KbnClient } from '@kbn/test'; import type { DeleteByQueryResponse } from '@elastic/elasticsearch/lib/api/typesWithBodyKey'; -import type { - Agent, - CreatePackagePolicyResponse, - GetPackagesResponse, -} from '@kbn/fleet-plugin/common'; +import type { Agent, CreatePackagePolicyResponse, GetInfoResponse } from '@kbn/fleet-plugin/common'; import { EndpointDocGenerator } from '../generate_data'; import type { HostMetadata, HostPolicyResponse } from '../types'; import type { @@ -95,7 +91,7 @@ export async function indexEndpointHostDocs({ client: Client; kbnClient: KbnClient; realPolicies: Record; - epmEndpointPackage: GetPackagesResponse['items'][0]; + epmEndpointPackage: GetInfoResponse['item']; metadataIndex: string; policyResponseIndex: string; enrollFleet: boolean; diff --git a/x-pack/plugins/security_solution/common/endpoint/generate_data.ts b/x-pack/plugins/security_solution/common/endpoint/generate_data.ts index 59808b1df430c1..9cda7554f08190 100644 --- a/x-pack/plugins/security_solution/common/endpoint/generate_data.ts +++ b/x-pack/plugins/security_solution/common/endpoint/generate_data.ts @@ -10,8 +10,10 @@ import { assertNever } from '@kbn/std'; import type { GetAgentPoliciesResponseItem, GetPackagesResponse, + GetInfoResponse, EsAssetReference, KibanaAssetReference, + AssetsGroupedByServiceByType, } from '@kbn/fleet-plugin/common'; import { agentPolicyStatuses } from '@kbn/fleet-plugin/common'; import { EndpointMetadataGenerator } from './data_generators/endpoint_metadata_generator'; @@ -1657,6 +1659,90 @@ export class EndpointDocGenerator extends BaseDataGenerator { }; } + /** + * Generate a Fleet EPM Package for Endpoint + */ + public generateEpmPackageInfo(): GetInfoResponse['item'] { + return { + name: 'endpoint', + title: 'Elastic Endpoint', + version: '0.5.0', + description: 'This is the Elastic Endpoint package.', + type: 'integration', + download: '/epr/endpoint/endpoint-0.5.0.tar.gz', + path: '/package/endpoint/0.5.0', + format_version: '', + owner: { github: '' }, + latestVersion: '', + assets: {} as AssetsGroupedByServiceByType, + icons: [ + { + path: '/package/endpoint/0.5.0/img/logo-endpoint-64-color.svg', + src: '/img/logo-endpoint-64-color.svg', + size: '16x16', + type: 'image/svg+xml', + }, + ], + status: 'installed', + release: 'ga', + savedObject: { + type: 'epm-packages', + id: 'endpoint', + attributes: { + installed_kibana: [ + { id: '826759f0-7074-11ea-9bc8-6b38f4d29a16', type: 'dashboard' }, + { id: '1cfceda0-728b-11ea-9bc8-6b38f4d29a16', type: 'visualization' }, + { id: '1e525190-7074-11ea-9bc8-6b38f4d29a16', type: 'visualization' }, + { id: '55387750-729c-11ea-9bc8-6b38f4d29a16', type: 'visualization' }, + { id: '92b1edc0-706a-11ea-9bc8-6b38f4d29a16', type: 'visualization' }, + { id: 'a3a3bd10-706b-11ea-9bc8-6b38f4d29a16', type: 'map' }, + ] as KibanaAssetReference[], + installed_es: [ + { id: 'logs-endpoint.alerts', type: 'index_template' }, + { id: 'events-endpoint', type: 'index_template' }, + { id: 'logs-endpoint.events.file', type: 'index_template' }, + { id: 'logs-endpoint.events.library', type: 'index_template' }, + { id: 'metrics-endpoint.metadata', type: 'index_template' }, + { id: 'metrics-endpoint.metadata_mirror', type: 'index_template' }, + { id: 'logs-endpoint.events.network', type: 'index_template' }, + { id: 'metrics-endpoint.policy', type: 'index_template' }, + { id: 'logs-endpoint.events.process', type: 'index_template' }, + { id: 'logs-endpoint.events.registry', type: 'index_template' }, + { id: 'logs-endpoint.events.security', type: 'index_template' }, + { id: 'metrics-endpoint.telemetry', type: 'index_template' }, + ] as EsAssetReference[], + package_assets: [], + es_index_patterns: { + alerts: 'logs-endpoint.alerts-*', + events: 'events-endpoint-*', + file: 'logs-endpoint.events.file-*', + library: 'logs-endpoint.events.library-*', + metadata: 'metrics-endpoint.metadata-*', + metadata_mirror: 'metrics-endpoint.metadata_mirror-*', + network: 'logs-endpoint.events.network-*', + policy: 'metrics-endpoint.policy-*', + process: 'logs-endpoint.events.process-*', + registry: 'logs-endpoint.events.registry-*', + security: 'logs-endpoint.events.security-*', + telemetry: 'metrics-endpoint.telemetry-*', + }, + name: 'endpoint', + version: '0.5.0', + internal: false, + install_version: '0.5.0', + install_status: 'installed', + install_started_at: '2020-06-24T14:41:23.098Z', + install_source: 'registry', + keep_policies_up_to_date: false, + verification_status: 'unknown', + }, + references: [], + updated_at: '2020-06-24T14:41:23.098Z', + version: 'Wzc0LDFd', + }, + }; + } + /** * Generates a Host Policy response message */ diff --git a/x-pack/plugins/security_solution/common/endpoint/index_data.ts b/x-pack/plugins/security_solution/common/endpoint/index_data.ts index 4971dc83c29aa1..454f945ca656ae 100644 --- a/x-pack/plugins/security_solution/common/endpoint/index_data.ts +++ b/x-pack/plugins/security_solution/common/endpoint/index_data.ts @@ -9,8 +9,8 @@ import type { Client } from '@elastic/elasticsearch'; import seedrandom from 'seedrandom'; import type { KbnClient } from '@kbn/test'; import type { AxiosResponse } from 'axios'; -import type { CreatePackagePolicyResponse, GetPackagesResponse } from '@kbn/fleet-plugin/common'; -import { EPM_API_ROUTES } from '@kbn/fleet-plugin/common'; +import type { CreatePackagePolicyResponse, GetInfoResponse } from '@kbn/fleet-plugin/common'; +import { epmRouteService } from '@kbn/fleet-plugin/common'; import type { TreeOptions } from './generate_data'; import { EndpointDocGenerator } from './generate_data'; import type { @@ -121,15 +121,16 @@ export async function indexHostsAndAlerts( return response; } -const getEndpointPackageInfo = async ( +export const getEndpointPackageInfo = async ( kbnClient: KbnClient -): Promise => { +): Promise => { + const path = epmRouteService.getInfoPath('endpoint'); const endpointPackage = ( (await kbnClient.request({ - path: `${EPM_API_ROUTES.LIST_PATTERN}?category=security`, + path, method: 'GET', - })) as AxiosResponse - ).data.items.find((epmPackage) => epmPackage.name === 'endpoint'); + })) as AxiosResponse + ).data.item; if (!endpointPackage) { throw new Error('EPM Endpoint package was not found!'); diff --git a/x-pack/plugins/security_solution/common/endpoint/service/authz/authz.test.ts b/x-pack/plugins/security_solution/common/endpoint/service/authz/authz.test.ts index 6bd6bbdbda02bd..34226900cbcc76 100644 --- a/x-pack/plugins/security_solution/common/endpoint/service/authz/authz.test.ts +++ b/x-pack/plugins/security_solution/common/endpoint/service/authz/authz.test.ts @@ -5,13 +5,7 @@ * 2.0. */ -import { - calculateEndpointAuthz, - calculatePermissionsFromCapabilities, - calculatePermissionsFromPrivileges, - defaultEndpointPermissions, - getEndpointAuthzInitialState, -} from './authz'; +import { calculateEndpointAuthz, getEndpointAuthzInitialState } from './authz'; import type { FleetAuthz } from '@kbn/fleet-plugin/common'; import { createFleetAuthzMock } from '@kbn/fleet-plugin/common'; import { createLicenseServiceMock } from '../../../license/mocks'; @@ -87,9 +81,7 @@ describe('Endpoint Authz service', () => { it(`should allow Host Isolation Exception read/delete when license is not Platinum+, but entries exist`, () => { licenseService.isPlatinumPlus.mockReturnValue(false); - expect( - calculateEndpointAuthz(licenseService, fleetAuthz, userRoles, false, undefined, true) - ).toEqual( + expect(calculateEndpointAuthz(licenseService, fleetAuthz, userRoles, false, true)).toEqual( expect.objectContaining({ canWriteHostIsolationExceptions: false, canReadHostIsolationExceptions: true, @@ -197,24 +189,6 @@ describe('Endpoint Authz service', () => { expect(authz[auth]).toBe(false); }); }); - - it('correctly handles permissions', () => { - const authz = calculateEndpointAuthz(licenseService, fleetAuthz, userRoles, true, { - canWriteSecuritySolution: false, - canReadSecuritySolution: true, - }); - expect(authz.canWriteSecuritySolution).toBe(false); - expect(authz.canReadSecuritySolution).toBe(true); - }); - }); - - describe('defaultEndpointPermissions', () => { - it('returns expected permissions', () => { - expect(defaultEndpointPermissions()).toEqual({ - canWriteSecuritySolution: false, - canReadSecuritySolution: false, - }); - }); }); describe('getEndpointAuthzInitialState()', () => { @@ -251,49 +225,4 @@ describe('Endpoint Authz service', () => { }); }); }); - - describe('calculatePermissionsFromPrivileges', () => { - it('returns default permissions if no privileges', () => { - const permissions = calculatePermissionsFromPrivileges(undefined); - expect(permissions).toEqual(defaultEndpointPermissions()); - }); - - it('returns expected permissions from privileges', () => { - const privileges = [ - { privilege: 'ui:8.6.0:siem/crud', authorized: false }, - { privilege: 'ui:8.6.0:siem/show', authorized: true }, - { privilege: 'ui:8.6.0:siem/foobar', authorized: true }, - ]; - const permissions = calculatePermissionsFromPrivileges(privileges); - expect(permissions).toEqual({ - canWriteSecuritySolution: false, - canReadSecuritySolution: true, - }); - }); - }); - - describe('calculatePermissionsFromCapabilities', () => { - it('returns default permissions if no capabilities', () => { - const permissions = calculatePermissionsFromCapabilities(undefined); - expect(permissions).toEqual(defaultEndpointPermissions()); - }); - - it('returns expected permissions from capabilities', () => { - const capabilities = { - navLinks: {}, - management: {}, - catalogue: {}, - siem: { - crud: false, - show: true, - foobar: true, - }, - }; - const permissions = calculatePermissionsFromCapabilities(capabilities); - expect(permissions).toEqual({ - canWriteSecuritySolution: false, - canReadSecuritySolution: true, - }); - }); - }); }); diff --git a/x-pack/plugins/security_solution/common/endpoint/service/authz/authz.ts b/x-pack/plugins/security_solution/common/endpoint/service/authz/authz.ts index 87c56ff4d94b14..45bc24e42416bf 100644 --- a/x-pack/plugins/security_solution/common/endpoint/service/authz/authz.ts +++ b/x-pack/plugins/security_solution/common/endpoint/service/authz/authz.ts @@ -6,19 +6,11 @@ */ import type { ENDPOINT_PRIVILEGES, FleetAuthz } from '@kbn/fleet-plugin/common'; -import type { Capabilities } from '@kbn/core-capabilities-common'; import type { LicenseService } from '../../../license'; -import type { EndpointPermissions, EndpointAuthz } from '../../types/authz'; +import type { EndpointAuthz } from '../../types/authz'; import type { MaybeImmutable } from '../../types'; -export function defaultEndpointPermissions(): EndpointPermissions { - return { - canWriteSecuritySolution: false, - canReadSecuritySolution: false, - }; -} - /** * Checks to see if a given Kibana privilege was granted. * Note that this only checks if the user has the privilege as part of their role. That @@ -35,7 +27,7 @@ export function hasKibanaPrivilege( fleetAuthz: FleetAuthz, isEndpointRbacEnabled: boolean, isSuperuser: boolean, - privilege: typeof ENDPOINT_PRIVILEGES[number] + privilege: keyof typeof ENDPOINT_PRIVILEGES ): boolean { // user is superuser, always return true if (isSuperuser) { @@ -70,13 +62,21 @@ export const calculateEndpointAuthz = ( fleetAuthz: FleetAuthz, userRoles: MaybeImmutable, isEndpointRbacEnabled: boolean = false, - permissions: Partial = defaultEndpointPermissions(), hasHostIsolationExceptionsItems: boolean = false ): EndpointAuthz => { const isPlatinumPlusLicense = licenseService.isPlatinumPlus(); const isEnterpriseLicense = licenseService.isEnterprise(); const hasEndpointManagementAccess = userRoles.includes('superuser'); - const { canWriteSecuritySolution = false, canReadSecuritySolution = false } = permissions; + + const canWriteSecuritySolution = hasKibanaPrivilege( + fleetAuthz, + true, + hasEndpointManagementAccess, + 'writeSecuritySolution' + ); + const canReadSecuritySolution = + canWriteSecuritySolution || + hasKibanaPrivilege(fleetAuthz, true, hasEndpointManagementAccess, 'readSecuritySolution'); const canWriteEndpointList = hasKibanaPrivilege( fleetAuthz, isEndpointRbacEnabled, @@ -251,7 +251,8 @@ export const calculateEndpointAuthz = ( export const getEndpointAuthzInitialState = (): EndpointAuthz => { return { - ...defaultEndpointPermissions(), + canWriteSecuritySolution: false, + canReadSecuritySolution: false, canAccessFleet: false, canAccessEndpointActionsLogManagement: false, canAccessEndpointManagement: false, @@ -280,66 +281,3 @@ export const getEndpointAuthzInitialState = (): EndpointAuthz => { canReadEventFilters: false, }; }; - -const SIEM_PERMISSIONS = [ - { permission: 'canWriteSecuritySolution', privilege: 'crud' }, - { permission: 'canReadSecuritySolution', privilege: 'show' }, -] as const; - -function hasPrivilege( - kibanaPrivileges: Array<{ - resource?: string; - privilege: string; - authorized: boolean; - }>, - prefix: string, - searchPrivilege: string -): boolean { - const privilege = kibanaPrivileges.find((p) => - p.privilege.endsWith(`${prefix}${searchPrivilege}`) - ); - return privilege?.authorized || false; -} - -export function calculatePermissionsFromPrivileges( - kibanaPrivileges: - | Array<{ - resource?: string; - privilege: string; - authorized: boolean; - }> - | undefined -): EndpointPermissions { - if (!kibanaPrivileges || !kibanaPrivileges.length) { - return defaultEndpointPermissions(); - } - - const siemPermissions: EndpointPermissions = SIEM_PERMISSIONS.reduce( - (acc, { permission, privilege }) => { - return { - ...acc, - [permission]: hasPrivilege(kibanaPrivileges, 'siem/', privilege), - }; - }, - {} as EndpointPermissions - ); - - return { - ...siemPermissions, - }; -} - -export function calculatePermissionsFromCapabilities( - capabilities: Capabilities | undefined -): EndpointPermissions { - if (!capabilities || !capabilities.siem) { - return defaultEndpointPermissions(); - } - - return SIEM_PERMISSIONS.reduce((acc, { permission, privilege }) => { - return { - ...acc, - [permission]: capabilities.siem[privilege] || false, - }; - }, {} as EndpointPermissions); -} diff --git a/x-pack/plugins/security_solution/common/endpoint/service/authz/index.ts b/x-pack/plugins/security_solution/common/endpoint/service/authz/index.ts index e1e2d241754e98..03d14a0945184a 100644 --- a/x-pack/plugins/security_solution/common/endpoint/service/authz/index.ts +++ b/x-pack/plugins/security_solution/common/endpoint/service/authz/index.ts @@ -5,10 +5,4 @@ * 2.0. */ -export { - getEndpointAuthzInitialState, - calculateEndpointAuthz, - calculatePermissionsFromPrivileges, - calculatePermissionsFromCapabilities, - defaultEndpointPermissions, -} from './authz'; +export { getEndpointAuthzInitialState, calculateEndpointAuthz } from './authz'; diff --git a/x-pack/plugins/security_solution/common/endpoint/types/authz.ts b/x-pack/plugins/security_solution/common/endpoint/types/authz.ts index e693e6d0e4cff4..d6f67e3efe8c5a 100644 --- a/x-pack/plugins/security_solution/common/endpoint/types/authz.ts +++ b/x-pack/plugins/security_solution/common/endpoint/types/authz.ts @@ -6,20 +6,14 @@ */ /** - * Endpoint permissions derived from Kibana capabilities and privileges + * Set of Endpoint Specific privileges that control application authorization. This interface is + * used both on the client and server for consistency */ -export interface EndpointPermissions { +export interface EndpointAuthz { /** if user has write permissions to the security solution app */ canWriteSecuritySolution: boolean; /** if user has read permissions to the security solution app */ canReadSecuritySolution: boolean; -} - -/** - * Set of Endpoint Specific privileges that control application authorization. This interface is - * used both on the client and server for consistency - */ -export interface EndpointAuthz extends EndpointPermissions { /** If user has permissions to access Fleet */ canAccessFleet: boolean; /** If user has permissions to access Endpoint management (includes check to ensure they also have access to fleet) */ diff --git a/x-pack/plugins/security_solution/cypress/e2e/dashboards/entity_analytics.cy.ts b/x-pack/plugins/security_solution/cypress/e2e/dashboards/entity_analytics.cy.ts index b5c2b07dc72b6e..525ee79a8e1dca 100644 --- a/x-pack/plugins/security_solution/cypress/e2e/dashboards/entity_analytics.cy.ts +++ b/x-pack/plugins/security_solution/cypress/e2e/dashboards/entity_analytics.cy.ts @@ -47,7 +47,7 @@ describe('Entity Analytics Dashboard', () => { }); describe('Without data', () => { - before(() => { + beforeEach(() => { visit(ENTITY_ANALYTICS_URL); }); @@ -64,7 +64,9 @@ describe('Entity Analytics Dashboard', () => { before(() => { esArchiverLoad('risk_hosts_no_data'); esArchiverLoad('risk_users_no_data'); + }); + beforeEach(() => { visit(ENTITY_ANALYTICS_URL); }); @@ -86,7 +88,9 @@ describe('Entity Analytics Dashboard', () => { before(() => { esArchiverLoad('risk_hosts_legacy_data'); esArchiverLoad('risk_users_legacy_data'); + }); + beforeEach(() => { visit(ENTITY_ANALYTICS_URL); }); @@ -107,6 +111,9 @@ describe('Entity Analytics Dashboard', () => { describe('With host risk data', () => { before(() => { esArchiverLoad('risk_hosts'); + }); + + beforeEach(() => { visit(ENTITY_ANALYTICS_URL); }); @@ -137,6 +144,9 @@ describe('Entity Analytics Dashboard', () => { describe('With alerts data', () => { before(() => { createCustomRuleEnabled(getNewRule()); + }); + + beforeEach(() => { visit(ALERTS_URL); waitForAlertsToPopulate(); visit(ENTITY_ANALYTICS_URL); @@ -161,6 +171,9 @@ describe('Entity Analytics Dashboard', () => { describe('With user risk data', () => { before(() => { esArchiverLoad('risk_users'); + }); + + beforeEach(() => { visit(ENTITY_ANALYTICS_URL); }); @@ -191,6 +204,9 @@ describe('Entity Analytics Dashboard', () => { describe('With alerts data', () => { before(() => { createCustomRuleEnabled(getNewRule()); + }); + + beforeEach(() => { visit(ALERTS_URL); waitForAlertsToPopulate(); visit(ENTITY_ANALYTICS_URL); @@ -213,7 +229,7 @@ describe('Entity Analytics Dashboard', () => { }); describe('With anomalies data', () => { - before(() => { + beforeEach(() => { visit(ENTITY_ANALYTICS_URL); }); diff --git a/x-pack/plugins/security_solution/cypress/e2e/detection_alert_details/navigation.cy.ts b/x-pack/plugins/security_solution/cypress/e2e/detection_alert_details/navigation.cy.ts index 4e9953b88e495b..32a582cbbeac72 100644 --- a/x-pack/plugins/security_solution/cypress/e2e/detection_alert_details/navigation.cy.ts +++ b/x-pack/plugins/security_solution/cypress/e2e/detection_alert_details/navigation.cy.ts @@ -17,6 +17,7 @@ import { ALERTS_URL } from '../../urls/navigation'; import { OPEN_ALERT_DETAILS_PAGE_CONTEXT_MENU_BTN, TIMELINE_CONTEXT_MENU_BTN, + ALERTS_REFRESH_BTN, } from '../../screens/alerts'; import { PAGE_TITLE } from '../../screens/common/page'; import { OPEN_ALERT_DETAILS_PAGE } from '../../screens/alerts_details'; @@ -29,12 +30,21 @@ describe('Alert Details Page Navigation', () => { cleanKibana(); login(); createCustomRuleEnabled(rule, 'rule1'); - visit(ALERTS_URL); - waitForAlertsPanelToBeLoaded(); }); describe('context menu', () => { + beforeEach(() => { + visit(ALERTS_URL); + waitForAlertsPanelToBeLoaded(); + }); + it('should navigate to the details page from the alert context menu', () => { + // Sometimes the alerts are not loaded yet, so we need to refresh the page + cy.get(TIMELINE_CONTEXT_MENU_BTN).then(($btns) => { + if ($btns.length === 0) { + cy.get(ALERTS_REFRESH_BTN).click(); + } + }); cy.get(TIMELINE_CONTEXT_MENU_BTN).first().click({ force: true }); cy.get(OPEN_ALERT_DETAILS_PAGE_CONTEXT_MENU_BTN).click({ force: true }); cy.get(PAGE_TITLE).should('contain.text', rule.name); diff --git a/x-pack/plugins/security_solution/cypress/e2e/detection_alerts/alert_flyout.cy.ts b/x-pack/plugins/security_solution/cypress/e2e/detection_alerts/alert_flyout.cy.ts index 7f3eef4015ba23..d2b5f889946583 100644 --- a/x-pack/plugins/security_solution/cypress/e2e/detection_alerts/alert_flyout.cy.ts +++ b/x-pack/plugins/security_solution/cypress/e2e/detection_alerts/alert_flyout.cy.ts @@ -34,6 +34,9 @@ describe('Alert Flyout', () => { cleanKibana(); login(); createCustomRuleEnabled(getNewRule(), 'rule1'); + }); + + beforeEach(() => { visitWithoutDateRange(ALERTS_URL); const dateContainingAllEvents = 'Jul 27, 2015 @ 00:00:00.000'; setStartDate(dateContainingAllEvents); diff --git a/x-pack/plugins/security_solution/cypress/e2e/detection_alerts/alerts_details.cy.ts b/x-pack/plugins/security_solution/cypress/e2e/detection_alerts/alerts_details.cy.ts index 31af8147b1940c..6471fbb98e81fc 100644 --- a/x-pack/plugins/security_solution/cypress/e2e/detection_alerts/alerts_details.cy.ts +++ b/x-pack/plugins/security_solution/cypress/e2e/detection_alerts/alerts_details.cy.ts @@ -36,6 +36,13 @@ describe('Alert details with unmapped fields', () => { waitForAlertsToPopulate(); expandFirstAlert(); }); + + beforeEach(() => { + visitWithoutDateRange(ALERTS_URL); + waitForAlertsToPopulate(); + expandFirstAlert(); + }); + after(() => { esArchiverUnload('unmapped_fields'); }); @@ -52,7 +59,7 @@ describe('Alert details with unmapped fields', () => { }); it('Displays the unmapped field on the table', () => { - const expectedUnmmappedField = { + const expectedUnmappedField = { field: 'unmapped', text: 'This is the unmapped field', }; @@ -61,9 +68,10 @@ describe('Alert details with unmapped fields', () => { cy.get(ALERT_FLYOUT).find(pageSelector(4)).click({ force: true }); cy.get(ALERT_FLYOUT) .find(TABLE_ROWS) + .last() .within(() => { - cy.get(CELL_TEXT).should('contain', expectedUnmmappedField.field); - cy.get(CELL_TEXT).should('contain', expectedUnmmappedField.text); + cy.get(CELL_TEXT).should('contain', expectedUnmappedField.field); + cy.get(CELL_TEXT).should('contain', expectedUnmappedField.text); }); }); diff --git a/x-pack/plugins/security_solution/cypress/e2e/detection_alerts/detection_page_filters.cy.ts b/x-pack/plugins/security_solution/cypress/e2e/detection_alerts/detection_page_filters.cy.ts index e105cc92b3a33b..f3ff1569a4cb7a 100644 --- a/x-pack/plugins/security_solution/cypress/e2e/detection_alerts/detection_page_filters.cy.ts +++ b/x-pack/plugins/security_solution/cypress/e2e/detection_alerts/detection_page_filters.cy.ts @@ -59,6 +59,10 @@ describe('Detections : Page Filters', () => { cleanKibana(); login(); createCustomRuleEnabled(getNewRule(), 'custom_rule_filters'); + }); + + beforeEach(() => { + login(); visit(ALERTS_URL); waitForAlerts(); waitForPageFilters(); diff --git a/x-pack/plugins/security_solution/cypress/e2e/detection_rules/all_rules_read_only.cy.ts b/x-pack/plugins/security_solution/cypress/e2e/detection_rules/all_rules_read_only.cy.ts index ad2222d54fb3b1..b0915305e23bae 100644 --- a/x-pack/plugins/security_solution/cypress/e2e/detection_rules/all_rules_read_only.cy.ts +++ b/x-pack/plugins/security_solution/cypress/e2e/detection_rules/all_rules_read_only.cy.ts @@ -27,6 +27,9 @@ describe('All rules - read only', () => { cleanKibana(); createCustomRule(getNewRule(), '1'); login(ROLES.reader); + }); + + beforeEach(() => { visitWithoutDateRange(SECURITY_DETECTIONS_RULES_URL, ROLES.reader); waitForRulesTableToBeLoaded(); cy.get(RULE_NAME).should('have.text', getNewRule().name); diff --git a/x-pack/plugins/security_solution/cypress/e2e/detection_rules/indicator_match_rule.cy.ts b/x-pack/plugins/security_solution/cypress/e2e/detection_rules/indicator_match_rule.cy.ts index 23e27dff84b3f1..2114dd3b1fe631 100644 --- a/x-pack/plugins/security_solution/cypress/e2e/detection_rules/indicator_match_rule.cy.ts +++ b/x-pack/plugins/security_solution/cypress/e2e/detection_rules/indicator_match_rule.cy.ts @@ -123,18 +123,19 @@ describe('indicator match', () => { esArchiverLoad('suspicious_source_event'); login(); }); + after(() => { esArchiverUnload('threat_indicator'); esArchiverUnload('suspicious_source_event'); }); describe('Creating new indicator match rules', () => { - before(() => { - visitWithoutDateRange(RULE_CREATION); - selectIndicatorMatchType(); - }); - describe('Index patterns', () => { + beforeEach(() => { + visitWithoutDateRange(RULE_CREATION); + selectIndicatorMatchType(); + }); + it('Contains a predefined index pattern', () => { getIndicatorIndex().should('have.text', getIndexPatterns().join('')); }); @@ -153,7 +154,7 @@ describe('indicator match', () => { }); describe('Indicator index patterns', () => { - before(() => { + beforeEach(() => { visitWithoutDateRange(RULE_CREATION); selectIndicatorMatchType(); }); @@ -174,7 +175,7 @@ describe('indicator match', () => { }); describe('custom query input', () => { - before(() => { + beforeEach(() => { visitWithoutDateRange(RULE_CREATION); selectIndicatorMatchType(); }); @@ -190,10 +191,11 @@ describe('indicator match', () => { }); describe('custom indicator query input', () => { - before(() => { + beforeEach(() => { visitWithoutDateRange(RULE_CREATION); selectIndicatorMatchType(); }); + it(`Has a default set of ${DEFAULT_THREAT_MATCH_QUERY}`, () => { getCustomIndicatorQueryInput().should('have.text', DEFAULT_THREAT_MATCH_QUERY); }); diff --git a/x-pack/plugins/security_solution/cypress/e2e/exceptions/add_edit_flyout/flyout_validation.cy.ts b/x-pack/plugins/security_solution/cypress/e2e/exceptions/add_edit_flyout/flyout_validation.cy.ts index fcde59d0bd79aa..f96af6b5f2572c 100644 --- a/x-pack/plugins/security_solution/cypress/e2e/exceptions/add_edit_flyout/flyout_validation.cy.ts +++ b/x-pack/plugins/security_solution/cypress/e2e/exceptions/add_edit_flyout/flyout_validation.cy.ts @@ -85,6 +85,9 @@ describe('Exceptions flyout', () => { ], }) ); + }); + + beforeEach(() => { visitWithoutDateRange(DETECTIONS_RULE_MANAGEMENT_URL); goToRuleDetails(); cy.get(RULE_STATUS).should('have.text', 'ā€”'); diff --git a/x-pack/plugins/security_solution/cypress/e2e/exceptions/exceptions_management_flow/exceptions_table.cy.ts b/x-pack/plugins/security_solution/cypress/e2e/exceptions/exceptions_management_flow/exceptions_table.cy.ts index 42ad3c20962aa7..d571d7cd4fae88 100644 --- a/x-pack/plugins/security_solution/cypress/e2e/exceptions/exceptions_management_flow/exceptions_table.cy.ts +++ b/x-pack/plugins/security_solution/cypress/e2e/exceptions/exceptions_management_flow/exceptions_table.cy.ts @@ -65,7 +65,9 @@ describe('Exceptions Table', () => { createExceptionList(getExceptionList1(), getExceptionList1().list_id).as( 'exceptionListResponse' ); + }); + beforeEach(() => { visitWithoutDateRange(EXCEPTIONS_URL); }); diff --git a/x-pack/plugins/security_solution/cypress/e2e/exceptions/rule_details_flow/add_edit_endpoint_exception.cy.ts b/x-pack/plugins/security_solution/cypress/e2e/exceptions/rule_details_flow/add_edit_endpoint_exception.cy.ts index da975710c7f394..9e5ee8b3932820 100644 --- a/x-pack/plugins/security_solution/cypress/e2e/exceptions/rule_details_flow/add_edit_endpoint_exception.cy.ts +++ b/x-pack/plugins/security_solution/cypress/e2e/exceptions/rule_details_flow/add_edit_endpoint_exception.cy.ts @@ -56,9 +56,6 @@ describe('Add endpoint exception from rule details', () => { esArchiverResetKibana(); esArchiverLoad('auditbeat'); login(); - }); - - before(() => { deleteAlertsAndRules(); // create rule with exception createEndpointExceptionList().then((response) => { @@ -79,7 +76,9 @@ describe('Add endpoint exception from rule details', () => { '2' ); }); + }); + beforeEach(() => { visitWithoutDateRange(DETECTIONS_RULE_MANAGEMENT_URL); goToRuleDetails(); goToEndpointExceptionsTab(); diff --git a/x-pack/plugins/security_solution/cypress/e2e/exceptions/rule_details_flow/read_only_view.cy.ts b/x-pack/plugins/security_solution/cypress/e2e/exceptions/rule_details_flow/read_only_view.cy.ts index b11c688520b1a3..9bc7d19eb44f73 100644 --- a/x-pack/plugins/security_solution/cypress/e2e/exceptions/rule_details_flow/read_only_view.cy.ts +++ b/x-pack/plugins/security_solution/cypress/e2e/exceptions/rule_details_flow/read_only_view.cy.ts @@ -54,6 +54,9 @@ describe('Exceptions viewer read only', () => { }); login(ROLES.reader); + }); + + beforeEach(() => { visitWithoutDateRange(DETECTIONS_RULE_MANAGEMENT_URL, ROLES.reader); goToRuleDetails(); goToExceptionsTab(); diff --git a/x-pack/plugins/security_solution/cypress/e2e/header/navigation.cy.ts b/x-pack/plugins/security_solution/cypress/e2e/header/navigation.cy.ts index ec48304c382cf2..ee031142894aa0 100644 --- a/x-pack/plugins/security_solution/cypress/e2e/header/navigation.cy.ts +++ b/x-pack/plugins/security_solution/cypress/e2e/header/navigation.cy.ts @@ -77,12 +77,12 @@ import { THREAT_INTELLIGENCE_PAGE, } from '../../screens/kibana_navigation'; -before(() => { - login(); -}); - describe('top-level navigation common to all pages in the Security app', () => { before(() => { + login(); + }); + + beforeEach(() => { visit(TIMELINES_URL); }); @@ -203,12 +203,11 @@ describe('top-level navigation common to all pages in the Security app', () => { }); describe('Kibana navigation to all pages in the Security app ', () => { - before(() => { - visit(KIBANA_HOME); - }); beforeEach(() => { + visit(KIBANA_HOME); openKibanaNavigation(); }); + it('navigates to the Dashboards page', () => { navigateFromKibanaCollapsibleTo(DASHBOARDS_PAGE); cy.url().should('include', DASHBOARDS_URL); diff --git a/x-pack/plugins/security_solution/cypress/e2e/header/search_bar.cy.ts b/x-pack/plugins/security_solution/cypress/e2e/header/search_bar.cy.ts index e09dac46c04e7b..073ee64a8212f8 100644 --- a/x-pack/plugins/security_solution/cypress/e2e/header/search_bar.cy.ts +++ b/x-pack/plugins/security_solution/cypress/e2e/header/search_bar.cy.ts @@ -25,6 +25,9 @@ import { waitForAllHostsToBeLoaded } from '../../tasks/hosts/all_hosts'; describe('SearchBar', () => { before(() => { login(); + }); + + beforeEach(() => { visit(HOSTS_URL); waitForAllHostsToBeLoaded(); }); diff --git a/x-pack/plugins/security_solution/cypress/e2e/hosts/events_viewer.cy.ts b/x-pack/plugins/security_solution/cypress/e2e/hosts/events_viewer.cy.ts index a45a95e6c68fad..0929a673828c17 100644 --- a/x-pack/plugins/security_solution/cypress/e2e/hosts/events_viewer.cy.ts +++ b/x-pack/plugins/security_solution/cypress/e2e/hosts/events_viewer.cy.ts @@ -60,12 +60,9 @@ describe('Events Viewer', () => { }); context('Fields rendering', () => { - before(() => { + beforeEach(() => { visit(HOSTS_URL); openEvents(); - }); - - beforeEach(() => { openEventsViewerFieldsBrowser(); }); @@ -92,7 +89,7 @@ describe('Events Viewer', () => { }); context('Events viewer query modal', () => { - before(() => { + beforeEach(() => { visit(HOSTS_URL); openEvents(); }); @@ -105,12 +102,9 @@ describe('Events Viewer', () => { }); context('Events viewer fields behaviour', () => { - before(() => { + beforeEach(() => { visit(HOSTS_URL); openEvents(); - }); - - beforeEach(() => { openEventsViewerFieldsBrowser(); }); @@ -135,7 +129,7 @@ describe('Events Viewer', () => { }); context('Events behavior', () => { - before(() => { + beforeEach(() => { visit(HOSTS_URL); openEvents(); waitsForEventsToBeLoaded(); diff --git a/x-pack/plugins/security_solution/cypress/e2e/hosts/host_risk_tab.cy.ts b/x-pack/plugins/security_solution/cypress/e2e/hosts/host_risk_tab.cy.ts index cf35a51e498659..bc8ccf8bcbe612 100644 --- a/x-pack/plugins/security_solution/cypress/e2e/hosts/host_risk_tab.cy.ts +++ b/x-pack/plugins/security_solution/cypress/e2e/hosts/host_risk_tab.cy.ts @@ -27,6 +27,9 @@ describe('risk tab', () => { cleanKibana(); esArchiverLoad('risk_hosts'); login(); + }); + + beforeEach(() => { visit(HOSTS_URL); navigateToHostRiskDetailTab(); }); diff --git a/x-pack/plugins/security_solution/cypress/e2e/hosts/inspect.cy.ts b/x-pack/plugins/security_solution/cypress/e2e/hosts/inspect.cy.ts index 8246222f5598d9..d562db678e79b4 100644 --- a/x-pack/plugins/security_solution/cypress/e2e/hosts/inspect.cy.ts +++ b/x-pack/plugins/security_solution/cypress/e2e/hosts/inspect.cy.ts @@ -18,10 +18,12 @@ describe('Inspect', () => { before(() => { login(); }); + context('Hosts stats and tables', () => { - before(() => { + beforeEach(() => { visit(HOSTS_URL); }); + afterEach(() => { closesModal(); }); @@ -35,7 +37,7 @@ describe('Inspect', () => { }); context('Hosts details', () => { - before(() => { + beforeEach(() => { visitHostDetailsPage('test.local'); }); diff --git a/x-pack/plugins/security_solution/cypress/e2e/network/inspect.cy.ts b/x-pack/plugins/security_solution/cypress/e2e/network/inspect.cy.ts index c54072799b290e..ff5054187f860e 100644 --- a/x-pack/plugins/security_solution/cypress/e2e/network/inspect.cy.ts +++ b/x-pack/plugins/security_solution/cypress/e2e/network/inspect.cy.ts @@ -16,8 +16,12 @@ describe('Inspect', () => { context('Network stats and tables', () => { before(() => { login(); + }); + + beforeEach(() => { visit(NETWORK_URL); }); + afterEach(() => { closesModal(); }); diff --git a/x-pack/plugins/security_solution/cypress/e2e/network/overflow_items.cy.ts b/x-pack/plugins/security_solution/cypress/e2e/network/overflow_items.cy.ts index ed84a7855fe8e4..961e86308e3e6e 100644 --- a/x-pack/plugins/security_solution/cypress/e2e/network/overflow_items.cy.ts +++ b/x-pack/plugins/security_solution/cypress/e2e/network/overflow_items.cy.ts @@ -28,6 +28,9 @@ describe('Overflow items', () => { before(() => { esArchiverLoad('network'); login(); + }); + + beforeEach(() => { visit(NETWORK_URL); cy.get(DESTINATION_DOMAIN).should('not.exist'); cy.get(FILTER_IN).should('not.exist'); diff --git a/x-pack/plugins/security_solution/cypress/e2e/overview/overview.cy.ts b/x-pack/plugins/security_solution/cypress/e2e/overview/overview.cy.ts index 97dd53c9b591ba..0bfd1cc88cec7f 100644 --- a/x-pack/plugins/security_solution/cypress/e2e/overview/overview.cy.ts +++ b/x-pack/plugins/security_solution/cypress/e2e/overview/overview.cy.ts @@ -25,6 +25,9 @@ describe('Overview Page', () => { before(() => { cleanKibana(); esArchiverLoad('overview'); + }); + + beforeEach(() => { visit(OVERVIEW_URL); }); diff --git a/x-pack/plugins/security_solution/cypress/e2e/pagination/pagination.cy.ts b/x-pack/plugins/security_solution/cypress/e2e/pagination/pagination.cy.ts index fd63e2957f5fe4..f0256a1b34b4b7 100644 --- a/x-pack/plugins/security_solution/cypress/e2e/pagination/pagination.cy.ts +++ b/x-pack/plugins/security_solution/cypress/e2e/pagination/pagination.cy.ts @@ -15,7 +15,7 @@ import { waitsForEventsToBeLoaded } from '../../tasks/hosts/events'; import { openEvents, openUncommonProcesses } from '../../tasks/hosts/main'; import { waitForUncommonProcessesToBeLoaded } from '../../tasks/hosts/uncommon_processes'; import { login, visit } from '../../tasks/login'; -import { goToFirstPage, goToSecondPage, sortFirstColumn } from '../../tasks/pagination'; +import { goToSecondPage, sortFirstColumn } from '../../tasks/pagination'; import { refreshPage } from '../../tasks/security_header'; import { HOSTS_URL, USERS_URL, HOSTS_PAGE_TAB_URLS } from '../../urls/navigation'; import { ALL_HOSTS_TABLE } from '../../screens/hosts/all_hosts'; @@ -29,17 +29,17 @@ describe('Pagination', () => { describe('Host uncommon processes table)', () => { before(() => { esArchiverLoad('host_uncommon_processes'); + }); + + beforeEach(() => { visit(HOSTS_PAGE_TAB_URLS.uncommonProcesses); waitForUncommonProcessesToBeLoaded(); }); + after(() => { esArchiverUnload('host_uncommon_processes'); }); - afterEach(() => { - goToFirstPage(); - }); - it('pagination updates results and page number', () => { cy.get(UNCOMMON_PROCESSES_TABLE) .find(FIRST_PAGE_SELECTOR) diff --git a/x-pack/plugins/security_solution/cypress/e2e/timelines/bulk_add_to_timeline.cy.ts b/x-pack/plugins/security_solution/cypress/e2e/timelines/bulk_add_to_timeline.cy.ts index 1d419c5bd75d47..d79569097a1378 100644 --- a/x-pack/plugins/security_solution/cypress/e2e/timelines/bulk_add_to_timeline.cy.ts +++ b/x-pack/plugins/security_solution/cypress/e2e/timelines/bulk_add_to_timeline.cy.ts @@ -20,7 +20,6 @@ import { esArchiverLoad, esArchiverUnload } from '../../tasks/es_archiver'; import { waitsForEventsToBeLoaded } from '../../tasks/hosts/events'; import { openEvents, openSessions } from '../../tasks/hosts/main'; import { login, visit } from '../../tasks/login'; -import { closeTimelineUsingCloseButton } from '../../tasks/security_main'; import { ALERTS_URL, HOSTS_URL } from '../../urls/navigation'; const assertFirstPageEventsAddToTimeline = () => { @@ -59,16 +58,13 @@ describe('Bulk Investigate in Timeline', () => { context('Alerts', () => { before(() => { createCustomRuleEnabled(getNewRule()); - visit(ALERTS_URL); }); + beforeEach(() => { + visit(ALERTS_URL); waitForAlertsToPopulate(); }); - afterEach(() => { - closeTimelineUsingCloseButton(); - }); - it('Adding multiple alerts to the timeline should be successful', () => { assertFirstPageEventsAddToTimeline(); }); @@ -79,16 +75,12 @@ describe('Bulk Investigate in Timeline', () => { }); context('Host -> Events Viewer', () => { - before(() => { + beforeEach(() => { visit(HOSTS_URL); openEvents(); waitsForEventsToBeLoaded(); }); - afterEach(() => { - closeTimelineUsingCloseButton(); - }); - it('Adding multiple alerts to the timeline should be successful', () => { assertFirstPageEventsAddToTimeline(); }); @@ -99,16 +91,12 @@ describe('Bulk Investigate in Timeline', () => { }); context('Host -> Sessions Viewer', () => { - before(() => { + beforeEach(() => { visit(HOSTS_URL); openSessions(); waitsForEventsToBeLoaded(); }); - afterEach(() => { - closeTimelineUsingCloseButton(); - }); - it('Adding multiple alerts to the timeline should be successful', () => { assertFirstPageEventsAddToTimeline(); }); diff --git a/x-pack/plugins/security_solution/cypress/e2e/timelines/creation.cy.ts b/x-pack/plugins/security_solution/cypress/e2e/timelines/creation.cy.ts index d62e73b321d532..62d8fdb8f1b415 100644 --- a/x-pack/plugins/security_solution/cypress/e2e/timelines/creation.cy.ts +++ b/x-pack/plugins/security_solution/cypress/e2e/timelines/creation.cy.ts @@ -49,6 +49,9 @@ describe('Create a timeline from a template', () => { before(() => { deleteTimelines(); createTimelineTemplate(getTimeline()); + }); + + beforeEach(() => { visitWithoutDateRange(TIMELINE_TEMPLATES_URL); }); @@ -67,15 +70,15 @@ describe('Create a timeline from a template', () => { describe('Timelines', (): void => { before(() => { cleanKibana(); - login(); - visit(OVERVIEW_URL); }); describe('Toggle create timeline from plus icon', () => { - after(() => { - closeTimeline(); - }); context('Privileges: CRUD', () => { + before(() => { + login(); + visit(OVERVIEW_URL); + }); + it('toggle create timeline ', () => { createNewTimeline(); addNameAndDescriptionToTimeline(getTimeline()); @@ -88,6 +91,7 @@ describe('Timelines', (): void => { login(ROLES.reader); visit(OVERVIEW_URL, undefined, ROLES.reader); }); + it('should not be able to create/update timeline ', () => { createNewTimeline(); cy.get(TIMELINE_PANEL).should('be.visible'); @@ -103,19 +107,15 @@ describe('Timelines', (): void => { }); describe('Creates a timeline by clicking untitled timeline from bottom bar', () => { - after(() => { - closeTimeline(); - }); - before(() => { login(); + }); + + beforeEach(() => { visit(OVERVIEW_URL); openTimelineUsingToggle(); addNameAndDescriptionToTimeline(getTimeline()); populateTimeline(); - }); - - beforeEach(() => { goToQueryTab(); }); diff --git a/x-pack/plugins/security_solution/cypress/e2e/timelines/data_providers.cy.ts b/x-pack/plugins/security_solution/cypress/e2e/timelines/data_providers.cy.ts index feb82397fe60c0..68b646265d213d 100644 --- a/x-pack/plugins/security_solution/cypress/e2e/timelines/data_providers.cy.ts +++ b/x-pack/plugins/security_solution/cypress/e2e/timelines/data_providers.cy.ts @@ -22,7 +22,6 @@ import { addNameAndDescriptionToTimeline, populateTimeline, waitForTimelineChanges, - closeTimeline, createNewTimeline, updateDataProviderByFieldHoverAction, } from '../../tasks/timeline'; @@ -34,21 +33,17 @@ describe('timeline data providers', () => { before(() => { cleanKibana(); login(); - visit(HOSTS_URL); - waitForAllHostsToBeLoaded(); - scrollToBottom(); }); beforeEach(() => { + visit(HOSTS_URL); + waitForAllHostsToBeLoaded(); + scrollToBottom(); createNewTimeline(); addNameAndDescriptionToTimeline(getTimeline()); populateTimeline(); }); - afterEach(() => { - closeTimeline(); - }); - it('displays the data provider action menu when Enter is pressed', (done) => { addDataProvider({ field: 'host.name', operator: 'exists' }).then(() => { cy.get(TIMELINE_DATA_PROVIDERS_ACTION_MENU).should('not.exist'); diff --git a/x-pack/plugins/security_solution/cypress/e2e/timelines/fields_browser.cy.ts b/x-pack/plugins/security_solution/cypress/e2e/timelines/fields_browser.cy.ts index dd6d1b80507bc9..963fca415b2fc7 100644 --- a/x-pack/plugins/security_solution/cypress/e2e/timelines/fields_browser.cy.ts +++ b/x-pack/plugins/security_solution/cypress/e2e/timelines/fields_browser.cy.ts @@ -23,7 +23,6 @@ import { cleanKibana } from '../../tasks/common'; import { addsHostGeoCityNameToTimeline, addsHostGeoContinentNameToTimeline, - clearFieldsBrowser, closeFieldsBrowser, filterFieldsBrowser, toggleCategoryFilter, @@ -56,17 +55,13 @@ describe('Fields Browser', () => { login(); }); context('Fields Browser rendering', () => { - before(() => { + beforeEach(() => { visit(HOSTS_URL); openTimelineUsingToggle(); populateTimeline(); openTimelineFieldsBrowser(); }); - afterEach(() => { - clearFieldsBrowser(); - }); - it('displays all categories (by default)', () => { cy.get(FIELDS_BROWSER_SELECTED_CATEGORIES_BADGES).should('be.empty'); }); @@ -126,18 +121,13 @@ describe('Fields Browser', () => { }); context('Editing the timeline', () => { - before(() => { + beforeEach(() => { visit(HOSTS_URL); openTimelineUsingToggle(); populateTimeline(); openTimelineFieldsBrowser(); }); - afterEach(() => { - openTimelineFieldsBrowser(); - clearFieldsBrowser(); - }); - it('removes the message field from the timeline when the user un-checks the field', () => { cy.get(FIELDS_BROWSER_MESSAGE_HEADER).should('exist'); diff --git a/x-pack/plugins/security_solution/cypress/e2e/timelines/flyout_button.cy.ts b/x-pack/plugins/security_solution/cypress/e2e/timelines/flyout_button.cy.ts index b4285ffe0f885e..ba0ca01d203d55 100644 --- a/x-pack/plugins/security_solution/cypress/e2e/timelines/flyout_button.cy.ts +++ b/x-pack/plugins/security_solution/cypress/e2e/timelines/flyout_button.cy.ts @@ -27,6 +27,9 @@ describe('timeline flyout button', () => { before(() => { cleanKibana(); login(); + }); + + beforeEach(() => { visit(HOSTS_URL); waitForAllHostsToBeLoaded(); }); diff --git a/x-pack/plugins/security_solution/cypress/e2e/timelines/full_screen.cy.ts b/x-pack/plugins/security_solution/cypress/e2e/timelines/full_screen.cy.ts index 819edfee5ffe53..1ea2e723bd1fbc 100644 --- a/x-pack/plugins/security_solution/cypress/e2e/timelines/full_screen.cy.ts +++ b/x-pack/plugins/security_solution/cypress/e2e/timelines/full_screen.cy.ts @@ -22,6 +22,9 @@ describe('Toggle full screen', () => { before(() => { cleanKibana(); login(); + }); + + beforeEach(() => { visit(HOSTS_URL); openTimelineUsingToggle(); populateTimeline(); @@ -35,6 +38,7 @@ describe('Toggle full screen', () => { }); it('Should show timeline header and tab list area', () => { + enterFullScreenMode(); exitFullScreenMode(); cy.get(TIMELINE_TABS).should('exist'); cy.get(TIMELINE_HEADER).should('be.visible'); diff --git a/x-pack/plugins/security_solution/cypress/e2e/timelines/notes_tab.cy.ts b/x-pack/plugins/security_solution/cypress/e2e/timelines/notes_tab.cy.ts index a6691225808ef9..c386abace97248 100644 --- a/x-pack/plugins/security_solution/cypress/e2e/timelines/notes_tab.cy.ts +++ b/x-pack/plugins/security_solution/cypress/e2e/timelines/notes_tab.cy.ts @@ -44,12 +44,17 @@ describe('Timeline notes tab', () => { refreshTimelinesUntilTimeLinePresent(timelineId) // This cy.wait is here because we cannot do a pipe on a timeline as that will introduce multiple URL // request responses and indeterminism since on clicks to activates URL's. - .then(() => cy.wait(1000)) - .then(() => openTimelineById(timelineId)) - .then(() => goToNotesTab()) + .then(() => cy.wrap(timelineId).as('timelineId')) ); }); + beforeEach(function () { + visitWithoutDateRange(TIMELINES_URL); + openTimelineById(this?.timelineId as string) + .then(() => goToNotesTab()) + .then(() => cy.wait(1000)); + }); + it('should render mockdown', () => { addNotesToTimeline(getTimelineNonValidQuery().notes); cy.get(NOTES_TEXT_AREA).should('exist'); diff --git a/x-pack/plugins/security_solution/cypress/e2e/timelines/open_timeline.cy.ts b/x-pack/plugins/security_solution/cypress/e2e/timelines/open_timeline.cy.ts index a84330df1b833e..a392b83276cdd0 100644 --- a/x-pack/plugins/security_solution/cypress/e2e/timelines/open_timeline.cy.ts +++ b/x-pack/plugins/security_solution/cypress/e2e/timelines/open_timeline.cy.ts @@ -22,7 +22,6 @@ import { cleanKibana } from '../../tasks/common'; import { login, visitWithoutDateRange } from '../../tasks/login'; import { - closeOpenTimelineModal, markAsFavorite, openTimelineById, openTimelineFromSettings, @@ -44,6 +43,7 @@ describe('Open timeline', () => { refreshTimelinesUntilTimeLinePresent(timelineId) // This cy.wait is here because we cannot do a pipe on a timeline as that will introduce multiple URL // request responses and indeterminism since on clicks to activates URL's. + .then(() => cy.wrap(timelineId).as('timelineId')) .then(() => cy.wait(1000)) .then(() => addNoteToTimeline(getTimeline().notes, timelineId).should((response) => @@ -57,12 +57,10 @@ describe('Open timeline', () => { }); describe('Open timeline modal', () => { - before(() => { + beforeEach(function () { + visitWithoutDateRange(TIMELINES_URL); openTimelineFromSettings(); - }); - - after(() => { - closeOpenTimelineModal(); + openTimelineById(this.timelineId); }); it('should open a modal', () => { diff --git a/x-pack/plugins/security_solution/cypress/e2e/timelines/overview.cy.tsx b/x-pack/plugins/security_solution/cypress/e2e/timelines/overview.cy.tsx index 3e87ee30e29b98..9683ee81903a58 100644 --- a/x-pack/plugins/security_solution/cypress/e2e/timelines/overview.cy.tsx +++ b/x-pack/plugins/security_solution/cypress/e2e/timelines/overview.cy.tsx @@ -34,10 +34,10 @@ describe('timeline overview search', () => { createTimeline(getTimeline()); login(); - visitWithoutDateRange(TIMELINES_URL); }); beforeEach(() => { + visitWithoutDateRange(TIMELINES_URL); cy.get(TIMELINES_OVERVIEW_SEARCH).clear(); }); diff --git a/x-pack/plugins/security_solution/cypress/e2e/timelines/pagination.cy.ts b/x-pack/plugins/security_solution/cypress/e2e/timelines/pagination.cy.ts index bc8635a9a91165..a354fb8359f50f 100644 --- a/x-pack/plugins/security_solution/cypress/e2e/timelines/pagination.cy.ts +++ b/x-pack/plugins/security_solution/cypress/e2e/timelines/pagination.cy.ts @@ -29,10 +29,14 @@ describe('Pagination', () => { cleanKibana(); esArchiverLoad('timeline'); login(); + }); + + beforeEach(() => { visit(HOSTS_URL); openTimelineUsingToggle(); populateTimeline(); }); + after(() => { esArchiverUnload('timeline'); }); diff --git a/x-pack/plugins/security_solution/cypress/e2e/timelines/query_tab.cy.ts b/x-pack/plugins/security_solution/cypress/e2e/timelines/query_tab.cy.ts index 2e5ec0576199f4..07a06139e28669 100644 --- a/x-pack/plugins/security_solution/cypress/e2e/timelines/query_tab.cy.ts +++ b/x-pack/plugins/security_solution/cypress/e2e/timelines/query_tab.cy.ts @@ -22,7 +22,6 @@ import { cleanKibana } from '../../tasks/common'; import { login, visitWithoutDateRange } from '../../tasks/login'; import { addFilter, - closeTimeline, openTimelineById, persistNoteToFirstEvent, pinFirstEvent, @@ -42,6 +41,7 @@ describe('Timeline query tab', () => { refreshTimelinesUntilTimeLinePresent(timelineId) // This cy.wait is here because we cannot do a pipe on a timeline as that will introduce multiple URL // request responses and indeterminism since on clicks to activates URL's. + .then(() => cy.wrap(timelineId).as('timelineId')) .then(() => cy.wait(1000)) .then(() => addNoteToTimeline(getTimeline().notes, timelineId).should((response) => @@ -56,8 +56,9 @@ describe('Timeline query tab', () => { }); describe('Query tab', () => { - after(() => { - closeTimeline(); + beforeEach(function () { + visitWithoutDateRange(TIMELINES_URL); + openTimelineById(this.timelineId).then(() => addFilter(getTimeline().filter)); }); it('should contain the right query', () => { diff --git a/x-pack/plugins/security_solution/cypress/e2e/timelines/search_or_filter.cy.ts b/x-pack/plugins/security_solution/cypress/e2e/timelines/search_or_filter.cy.ts index 39420b27e38665..4317365c1aaab8 100644 --- a/x-pack/plugins/security_solution/cypress/e2e/timelines/search_or_filter.cy.ts +++ b/x-pack/plugins/security_solution/cypress/e2e/timelines/search_or_filter.cy.ts @@ -30,6 +30,7 @@ describe('Timeline search and filters', () => { cleanKibana(); login(); }); + describe('timeline search or filter KQL bar', () => { beforeEach(() => { visit(HOSTS_URL); @@ -54,13 +55,10 @@ describe('Timeline search and filters', () => { }); describe('Update kqlMode for timeline', () => { - before(() => { + beforeEach(() => { visitWithoutDateRange(TIMELINES_URL); waitForTimelinesPanelToBeLoaded(); openTimelineUsingToggle(); - }); - - beforeEach(() => { cy.intercept('PATCH', '/api/timeline').as('update'); cy.get(TIMELINE_SEARCH_OR_FILTER) .pipe(($el) => $el.trigger('click')) diff --git a/x-pack/plugins/security_solution/cypress/e2e/timelines/toggle_column.cy.ts b/x-pack/plugins/security_solution/cypress/e2e/timelines/toggle_column.cy.ts index f531dcfc9fbdf4..ee922d42b646ca 100644 --- a/x-pack/plugins/security_solution/cypress/e2e/timelines/toggle_column.cy.ts +++ b/x-pack/plugins/security_solution/cypress/e2e/timelines/toggle_column.cy.ts @@ -26,10 +26,10 @@ describe('toggle column in timeline', () => { cleanKibana(); cy.intercept('POST', '/api/timeline/_export?file_name=timelines_export.ndjson').as('export'); login(); - visit(HOSTS_URL); }); beforeEach(() => { + visit(HOSTS_URL); openTimelineUsingToggle(); populateTimeline(); }); diff --git a/x-pack/plugins/security_solution/cypress/e2e/users/inspect.cy.ts b/x-pack/plugins/security_solution/cypress/e2e/users/inspect.cy.ts index 41f421baab9715..95c0c1f8fa6800 100644 --- a/x-pack/plugins/security_solution/cypress/e2e/users/inspect.cy.ts +++ b/x-pack/plugins/security_solution/cypress/e2e/users/inspect.cy.ts @@ -10,7 +10,7 @@ import { INSPECT_MODAL } from '../../screens/inspect'; import { ALL_USERS_TABLE } from '../../screens/users/all_users'; import { AUTHENTICATIONS_TAB } from '../../screens/users/user_authentications'; -import { clickInspectButton, closesModal } from '../../tasks/inspect'; +import { clickInspectButton } from '../../tasks/inspect'; import { login, visit } from '../../tasks/login'; import { USERS_URL } from '../../urls/navigation'; @@ -19,10 +19,10 @@ describe('Inspect', () => { context('Users stats and tables', () => { before(() => { login(); - visit(USERS_URL); }); - afterEach(() => { - closesModal(); + + beforeEach(() => { + visit(USERS_URL); }); it(`inspects all users table`, () => { diff --git a/x-pack/plugins/security_solution/cypress/e2e/users/users_tabs.cy.ts b/x-pack/plugins/security_solution/cypress/e2e/users/users_tabs.cy.ts index c345d5dc668727..3cfc225a4b7d27 100644 --- a/x-pack/plugins/security_solution/cypress/e2e/users/users_tabs.cy.ts +++ b/x-pack/plugins/security_solution/cypress/e2e/users/users_tabs.cy.ts @@ -27,8 +27,12 @@ describe('Users stats and tables', () => { esArchiverLoad('risk_users'); login(); + }); + + beforeEach(() => { visit(USERS_URL); }); + after(() => { esArchiverUnload('users'); esArchiverUnload('risk_users'); diff --git a/x-pack/plugins/security_solution/cypress/screens/alerts.ts b/x-pack/plugins/security_solution/cypress/screens/alerts.ts index 4ab83c7ef69e2e..24d8ad383b73fc 100644 --- a/x-pack/plugins/security_solution/cypress/screens/alerts.ts +++ b/x-pack/plugins/security_solution/cypress/screens/alerts.ts @@ -64,6 +64,12 @@ export const MANAGE_ALERT_DETECTION_RULES_BTN = '[data-test-subj="manage-alert-d export const MARK_ALERT_ACKNOWLEDGED_BTN = '[data-test-subj="acknowledged-alert-status"]'; +export const ALERTS_REFRESH_BTN = '[data-test-subj="querySubmitButton"]'; + +export const ALERTS_HISTOGRAM_PANEL_LOADER = '[data-test-subj="loadingPanelAlertsHistogram"]'; + +export const ALERTS_CONTAINER_LOADING_BAR = '[data-test-subj="events-container-loading-true"]'; + export const NUMBER_OF_ALERTS = '[data-test-subj="events-viewer-panel"] [data-test-subj="server-side-event-count"]'; diff --git a/x-pack/plugins/security_solution/cypress/support/e2e.js b/x-pack/plugins/security_solution/cypress/support/e2e.js index 73a9f1503a47de..8e2ba386125b22 100644 --- a/x-pack/plugins/security_solution/cypress/support/e2e.js +++ b/x-pack/plugins/security_solution/cypress/support/e2e.js @@ -24,10 +24,6 @@ import './commands'; import 'cypress-pipe'; -Cypress.Cookies.defaults({ - preserve: 'sid', -}); - Cypress.on('uncaught:exception', () => { return false; }); diff --git a/x-pack/plugins/security_solution/cypress/tasks/alerts.ts b/x-pack/plugins/security_solution/cypress/tasks/alerts.ts index 715c071b9fb68d..ee0b56ebd1660b 100644 --- a/x-pack/plugins/security_solution/cypress/tasks/alerts.ts +++ b/x-pack/plugins/security_solution/cypress/tasks/alerts.ts @@ -26,6 +26,8 @@ import { TAKE_ACTION_BTN, TAKE_ACTION_MENU, ADD_ENDPOINT_EXCEPTION_BTN, + ALERTS_HISTOGRAM_PANEL_LOADER, + ALERTS_CONTAINER_LOADING_BAR, DATAGRID_CHANGES_IN_PROGRESS, EVENT_CONTAINER_TABLE_NOT_LOADING, CLOSED_ALERTS_FILTER_BTN, @@ -288,6 +290,8 @@ export const waitForAlerts = () => { export const waitForAlertsPanelToBeLoaded = () => { cy.get(LOADING_ALERTS_PANEL).should('exist'); cy.get(LOADING_ALERTS_PANEL).should('not.exist'); + cy.get(ALERTS_CONTAINER_LOADING_BAR).should('not.exist'); + cy.get(ALERTS_HISTOGRAM_PANEL_LOADER).should('not.exist'); }; export const expandAlertTableCellValue = (columnSelector: string, row = 1) => { diff --git a/x-pack/plugins/security_solution/cypress/tasks/alerts_detection_rules.ts b/x-pack/plugins/security_solution/cypress/tasks/alerts_detection_rules.ts index db782538ee8876..821b4c415fdd82 100644 --- a/x-pack/plugins/security_solution/cypress/tasks/alerts_detection_rules.ts +++ b/x-pack/plugins/security_solution/cypress/tasks/alerts_detection_rules.ts @@ -368,11 +368,7 @@ export const expectNumberOfRules = (expectedNumber: number) => { }; export const expectToContainRule = (ruleName: string) => { - cy.get(RULES_TABLE).then(($table) => { - const rulesRow = cy.wrap($table.find(RULES_ROW)); - - rulesRow.should('include.text', ruleName); - }); + cy.get(RULES_TABLE).find(RULES_ROW).should('include.text', ruleName); }; const selectOverwriteRulesImport = () => { diff --git a/x-pack/plugins/security_solution/cypress/tasks/host_risk.ts b/x-pack/plugins/security_solution/cypress/tasks/host_risk.ts index 8573ec1c642c47..c1817cbea85485 100644 --- a/x-pack/plugins/security_solution/cypress/tasks/host_risk.ts +++ b/x-pack/plugins/security_solution/cypress/tasks/host_risk.ts @@ -26,7 +26,7 @@ export const openRiskTableFilterAndSelectTheCriticalOption = () => { }; export const openRiskTableFilterAndSelectTheLowOption = () => { - cy.get(HOST_BY_RISK_TABLE_FILTER).click(); + cy.get(HOST_BY_RISK_TABLE_FILTER).first().click(); cy.get(HOST_BY_RISK_TABLE_FILTER_LOW).click(); }; diff --git a/x-pack/plugins/security_solution/cypress/tasks/login.ts b/x-pack/plugins/security_solution/cypress/tasks/login.ts index d7568d1c2e8802..eb02d393a47647 100644 --- a/x-pack/plugins/security_solution/cypress/tasks/login.ts +++ b/x-pack/plugins/security_solution/cypress/tasks/login.ts @@ -136,19 +136,21 @@ export const deleteRoleAndUser = (role: ROLES) => { }; export const loginWithUser = (user: User) => { - cy.request({ - body: { - providerType: 'basic', - providerName: 'basic', - currentURL: '/', - params: { - username: user.username, - password: user.password, + cy.session(user, () => { + cy.request({ + body: { + providerType: 'basic', + providerName: 'basic', + currentURL: '/', + params: { + username: user.username, + password: user.password, + }, }, - }, - headers: { 'kbn-xsrf': 'cypress-creds-via-config' }, - method: 'POST', - url: constructUrlWithUser(user, LOGIN_API_ENDPOINT), + headers: { 'kbn-xsrf': 'cypress-creds-via-config' }, + method: 'POST', + url: constructUrlWithUser(user, LOGIN_API_ENDPOINT), + }); }); }; @@ -163,19 +165,21 @@ const loginWithRole = async (role: ROLES) => { port: Cypress.env('configport'), } as UrlObject); cy.log(`origin: ${theUrl}`); - cy.request({ - body: { - providerType: 'basic', - providerName: 'basic', - currentURL: '/', - params: { - username: role, - password: 'changeme', + cy.session(role, () => { + cy.request({ + body: { + providerType: 'basic', + providerName: 'basic', + currentURL: '/', + params: { + username: role, + password: 'changeme', + }, }, - }, - headers: { 'kbn-xsrf': 'cypress-creds-via-config' }, - method: 'POST', - url: getUrlWithRoute(role, LOGIN_API_ENDPOINT), + headers: { 'kbn-xsrf': 'cypress-creds-via-config' }, + method: 'POST', + url: getUrlWithRoute(role, LOGIN_API_ENDPOINT), + }); }); }; @@ -215,20 +219,25 @@ const loginViaEnvironmentCredentials = () => { `Authenticating via environment credentials from the \`CYPRESS_${ELASTICSEARCH_USERNAME}\` and \`CYPRESS_${ELASTICSEARCH_PASSWORD}\` environment variables` ); - // programmatically authenticate without interacting with the Kibana login page - cy.request({ - body: { - providerType: 'basic', - providerName: 'basic', - currentURL: '/', - params: { - username: Cypress.env(ELASTICSEARCH_USERNAME), - password: Cypress.env(ELASTICSEARCH_PASSWORD), + const username = Cypress.env(ELASTICSEARCH_USERNAME); + const password = Cypress.env(ELASTICSEARCH_PASSWORD); + + cy.session([username, password], () => { + // programmatically authenticate without interacting with the Kibana login page + cy.request({ + body: { + providerType: 'basic', + providerName: 'basic', + currentURL: '/', + params: { + username, + password, + }, }, - }, - headers: { 'kbn-xsrf': 'cypress-creds-via-env' }, - method: 'POST', - url: `${Cypress.config().baseUrl}${LOGIN_API_ENDPOINT}`, + headers: { 'kbn-xsrf': 'cypress-creds-via-env' }, + method: 'POST', + url: `${Cypress.config().baseUrl}${LOGIN_API_ENDPOINT}`, + }); }); }; diff --git a/x-pack/plugins/security_solution/cypress/tasks/timeline.ts b/x-pack/plugins/security_solution/cypress/tasks/timeline.ts index 76a512a6fcb887..7cc90e06cb2e68 100644 --- a/x-pack/plugins/security_solution/cypress/tasks/timeline.ts +++ b/x-pack/plugins/security_solution/cypress/tasks/timeline.ts @@ -328,6 +328,7 @@ export const deleteTimeline = () => { export const markAsFavorite = () => { const click = ($el: Cypress.ObjectLike) => cy.wrap($el).click(); cy.get(STAR_ICON).should('be.visible').pipe(click); + cy.get(LOADING_INDICATOR).should('exist'); cy.get(LOADING_INDICATOR).should('not.exist'); }; diff --git a/x-pack/plugins/security_solution/public/common/components/user_privileges/endpoint/use_endpoint_privileges.ts b/x-pack/plugins/security_solution/public/common/components/user_privileges/endpoint/use_endpoint_privileges.ts index 7cbf5789df7b4b..9f66e4f25e7bd3 100644 --- a/x-pack/plugins/security_solution/public/common/components/user_privileges/endpoint/use_endpoint_privileges.ts +++ b/x-pack/plugins/security_solution/public/common/components/user_privileges/endpoint/use_endpoint_privileges.ts @@ -19,7 +19,6 @@ import type { import { calculateEndpointAuthz, getEndpointAuthzInitialState, - calculatePermissionsFromCapabilities, } from '../../../../../common/endpoint/service/authz'; import { useSecuritySolutionStartDependencies } from './security_solution_start_dependencies'; import { useIsExperimentalFeatureEnabled } from '../../../hooks/use_experimental_features'; @@ -57,11 +56,6 @@ export const useEndpointPrivileges = (): Immutable => { const [hasHostIsolationExceptionsItems, setHasHostIsolationExceptionsItems] = useState(false); - const securitySolutionPermissions = useMemo( - () => calculatePermissionsFromCapabilities(kibanaServices.application.capabilities), - [kibanaServices.application.capabilities] - ); - const privileges = useMemo(() => { const loading = !userRolesCheckDone || !user || !checkHostIsolationExceptionsDone; @@ -73,7 +67,6 @@ export const useEndpointPrivileges = (): Immutable => { fleetAuthz, userRoles, isEndpointRbacEnabled || isEndpointRbacV1Enabled, - securitySolutionPermissions, hasHostIsolationExceptionsItems ) : getEndpointAuthzInitialState()), @@ -89,7 +82,6 @@ export const useEndpointPrivileges = (): Immutable => { userRoles, isEndpointRbacEnabled, isEndpointRbacV1Enabled, - securitySolutionPermissions, hasHostIsolationExceptionsItems, ]); diff --git a/x-pack/plugins/security_solution/public/common/mock/endpoint/app_context_render.tsx b/x-pack/plugins/security_solution/public/common/mock/endpoint/app_context_render.tsx index 196743d760bf71..2e2cdbdd3eda5e 100644 --- a/x-pack/plugins/security_solution/public/common/mock/endpoint/app_context_render.tsx +++ b/x-pack/plugins/security_solution/public/common/mock/endpoint/app_context_render.tsx @@ -40,7 +40,7 @@ import type { ExperimentalFeatures } from '../../../../common/experimental_featu import { APP_UI_ID, APP_PATH } from '../../../../common/constants'; import { KibanaContextProvider, KibanaServices } from '../../lib/kibana'; import { getDeepLinks } from '../../../app/deep_links'; -import { fleetGetPackageListHttpMock } from '../../../management/mocks'; +import { fleetGetPackageHttpMock } from '../../../management/mocks'; const REAL_REACT_DOM_CREATE_PORTAL = ReactDOM.createPortal; @@ -373,5 +373,5 @@ const applyDefaultCoreHttpMocks = (http: AppContextTestRender['coreStart']['http // Need to mock getting the endpoint package from the fleet API because it is used as soon // as the store middleware for Endpoint list is initialized, thus mocking it here would avoid // unnecessary errors being output to the console - fleetGetPackageListHttpMock(http, { ignoreUnMockedApiRouteErrors: true }); + fleetGetPackageHttpMock(http, { ignoreUnMockedApiRouteErrors: true }); }; diff --git a/x-pack/plugins/security_solution/public/management/cypress.config.ts b/x-pack/plugins/security_solution/public/management/cypress.config.ts index 0509fbf8cffdce..6ff919ea7effeb 100644 --- a/x-pack/plugins/security_solution/public/management/cypress.config.ts +++ b/x-pack/plugins/security_solution/public/management/cypress.config.ts @@ -35,8 +35,6 @@ export default defineCypressConfig({ baseUrl: 'http://localhost:5620', supportFile: 'public/management/cypress/support/e2e.ts', specPattern: 'public/management/cypress/e2e/**/*.cy.{js,jsx,ts,tsx}', - experimentalSessionAndOrigin: true, - testIsolation: 'on', experimentalRunAllSpecs: true, }, }); diff --git a/x-pack/plugins/security_solution/public/management/links.test.ts b/x-pack/plugins/security_solution/public/management/links.test.ts index b505c8a36e7437..a00d03fff59d6f 100644 --- a/x-pack/plugins/security_solution/public/management/links.test.ts +++ b/x-pack/plugins/security_solution/public/management/links.test.ts @@ -154,7 +154,6 @@ describe('links', () => { expect.anything(), expect.anything(), expect.anything(), - expect.anything(), false ); expect(filteredLinks).toEqual(getLinksWithout(SecurityPageName.hostIsolationExceptions)); @@ -196,7 +195,6 @@ describe('links', () => { expect.anything(), expect.anything(), expect.anything(), - expect.anything(), true ); expect(filteredLinks).toEqual(getLinksWithout()); diff --git a/x-pack/plugins/security_solution/public/management/links.ts b/x-pack/plugins/security_solution/public/management/links.ts index 49432df00aaf39..1db32eae3d5f2c 100644 --- a/x-pack/plugins/security_solution/public/management/links.ts +++ b/x-pack/plugins/security_solution/public/management/links.ts @@ -13,7 +13,6 @@ import { checkArtifactHasData } from './services/exceptions_list/check_artifact_ import { calculateEndpointAuthz, getEndpointAuthzInitialState, - calculatePermissionsFromCapabilities, } from '../../common/endpoint/service/authz'; import { BLOCKLIST_PATH, @@ -243,7 +242,6 @@ export const getManagementFilteredLinks = async ( const { endpointRbacEnabled, endpointRbacV1Enabled } = ExperimentalFeaturesService.get(); const isEndpointRbacEnabled = endpointRbacEnabled || endpointRbacV1Enabled; - const endpointPermissions = calculatePermissionsFromCapabilities(core.application.capabilities); const linksToExclude: SecurityPageName[] = []; @@ -287,7 +285,6 @@ export const getManagementFilteredLinks = async ( fleetAuthz, currentUser.roles, isEndpointRbacEnabled, - endpointPermissions, hasHostIsolationExceptions ) : getEndpointAuthzInitialState(); diff --git a/x-pack/plugins/security_solution/public/management/mocks/fleet_mocks.ts b/x-pack/plugins/security_solution/public/management/mocks/fleet_mocks.ts index 1e5cc83bb0bcc8..9a5274e2cdfab3 100644 --- a/x-pack/plugins/security_solution/public/management/mocks/fleet_mocks.ts +++ b/x-pack/plugins/security_solution/public/management/mocks/fleet_mocks.ts @@ -12,6 +12,7 @@ import type { GetAgentStatusResponse, GetPackagePoliciesResponse, GetPackagesResponse, + GetInfoResponse, BulkGetPackagePoliciesResponse, BulkGetAgentPoliciesResponse, } from '@kbn/fleet-plugin/common'; @@ -139,6 +140,24 @@ export const fleetGetPackageListHttpMock = }, ]); +export type FleetGetPackageHttpMockInterface = ResponseProvidersInterface<{ + endpointPackage: () => GetInfoResponse; +}>; +export const fleetGetPackageHttpMock = httpHandlerMockFactory([ + { + id: 'endpointPackage', + method: 'get', + path: EPM_API_ROUTES.INFO_PATTERN_DEPRECATED, + handler() { + const generator = new EndpointDocGenerator('seed'); + + return { + item: generator.generateEpmPackageInfo(), + }; + }, + }, +]); + export type FleetGetEndpointPackagePolicyHttpMockInterface = ResponseProvidersInterface<{ endpointPackagePolicy: () => GetPolicyResponse; }>; diff --git a/x-pack/plugins/security_solution/public/management/pages/endpoint_hosts/mocks.ts b/x-pack/plugins/security_solution/public/management/pages/endpoint_hosts/mocks.ts index 7dfd55664acc70..39bd07d071974d 100644 --- a/x-pack/plugins/security_solution/public/management/pages/endpoint_hosts/mocks.ts +++ b/x-pack/plugins/security_solution/public/management/pages/endpoint_hosts/mocks.ts @@ -32,12 +32,14 @@ import type { FleetGetAgentStatusHttpMockInterface, FleetGetCheckPermissionsInterface, FleetGetEndpointPackagePolicyHttpMockInterface, + FleetGetPackageHttpMockInterface, FleetGetPackageListHttpMockInterface, } from '../../mocks'; import { fleetGetAgentPolicyListHttpMock, fleetGetCheckPermissionsHttpMock, fleetGetPackageListHttpMock, + fleetGetPackageHttpMock, fleetBulkGetPackagePoliciesListHttpMock, fleetBulkGetAgentPolicyListHttpMock, fleetGetPackagePoliciesListHttpMock, @@ -125,6 +127,7 @@ export const transformsHttpMocks = httpHandlerMockFactory([ fleetGetPackageListHttpMock, + fleetGetPackageHttpMock, fleetGetAgentPolicyListHttpMock, fleetBulkGetPackagePoliciesListHttpMock, fleetBulkGetAgentPolicyListHttpMock, diff --git a/x-pack/plugins/security_solution/public/management/pages/endpoint_hosts/types.ts b/x-pack/plugins/security_solution/public/management/pages/endpoint_hosts/types.ts index 79c21360c3ab2e..8d7e6b0c4d10b7 100644 --- a/x-pack/plugins/security_solution/public/management/pages/endpoint_hosts/types.ts +++ b/x-pack/plugins/security_solution/public/management/pages/endpoint_hosts/types.ts @@ -6,7 +6,7 @@ */ import type { DataViewBase } from '@kbn/es-query'; -import type { GetPackagesResponse } from '@kbn/fleet-plugin/common'; +import type { GetInfoResponse } from '@kbn/fleet-plugin/common'; import type { HostInfo, Immutable, @@ -60,7 +60,7 @@ export interface EndpointState { /** the selected policy ID in the onboarding flow */ selectedPolicyId?: string; /** Endpoint package info */ - endpointPackageInfo: AsyncResourceState; + endpointPackageInfo: AsyncResourceState; /** Tracks the list of policies IDs used in Host metadata that may no longer exist */ nonExistingPolicies: PolicyIds['packagePolicy']; /** List of Package Policy Ids mapped to an associated Fleet Parent Agent Policy Id*/ diff --git a/x-pack/plugins/security_solution/public/management/pages/policy/store/test_mock_utils.ts b/x-pack/plugins/security_solution/public/management/pages/policy/store/test_mock_utils.ts index 880afeb347361e..e1a56417548f4f 100644 --- a/x-pack/plugins/security_solution/public/management/pages/policy/store/test_mock_utils.ts +++ b/x-pack/plugins/security_solution/public/management/pages/policy/store/test_mock_utils.ts @@ -5,7 +5,8 @@ * 2.0. */ -import type { GetPackagesResponse } from '@kbn/fleet-plugin/common'; +import type { GetPackagesResponse, GetInfoResponse } from '@kbn/fleet-plugin/common'; +import { epmRouteService } from '@kbn/fleet-plugin/common'; import { INGEST_API_EPM_PACKAGES, INGEST_API_PACKAGE_POLICIES, @@ -63,5 +64,10 @@ export const policyListApiPathHandlers = (totalPolicies: number = 1) => { items: [generator.generateEpmPackage()], }; }, + [epmRouteService.getInfoPath('endpoint')]: (): GetInfoResponse => { + return { + item: generator.generateEpmPackageInfo(), + }; + }, }; }; diff --git a/x-pack/plugins/security_solution/public/management/services/policies/hooks.test.ts b/x-pack/plugins/security_solution/public/management/services/policies/hooks.test.ts index 8bd8c4c72efea5..e2aa5e8cd8c93c 100644 --- a/x-pack/plugins/security_solution/public/management/services/policies/hooks.test.ts +++ b/x-pack/plugins/security_solution/public/management/services/policies/hooks.test.ts @@ -7,7 +7,7 @@ import type { UseQueryOptions } from '@tanstack/react-query'; import type { IHttpFetchError, HttpSetup } from '@kbn/core-http-browser'; -import type { GetPackagesResponse } from '@kbn/fleet-plugin/common'; +import type { GetInfoResponse } from '@kbn/fleet-plugin/common'; import { useGetEndpointSecurityPackage } from './hooks'; import { getFakeHttpService, renderQuery } from '../../hooks/test_utils'; import { EndpointDocGenerator } from '../../../../common/endpoint/generate_data'; @@ -19,7 +19,7 @@ describe('useGetEndpointSecurityPackage hook', () => { let result: ReturnType; let fakeHttpServices: jest.Mocked; let generator: EndpointDocGenerator; - let options: UseQueryOptions | undefined; + let options: UseQueryOptions | undefined; beforeEach(() => { fakeHttpServices = getFakeHttpService(); @@ -33,7 +33,7 @@ describe('useGetEndpointSecurityPackage hook', () => { it('retrieves the endpoint package', async () => { const apiResponse = { - items: [generator.generateEpmPackage()], + item: [generator.generateEpmPackageInfo()], }; fakeHttpServices.get.mockResolvedValue(apiResponse); const onSuccessMock: jest.Mock = jest.fn(); @@ -47,7 +47,7 @@ describe('useGetEndpointSecurityPackage hook', () => { () => useGetEndpointSecurityPackage({ customQueryOptions: options }), 'isSuccess' ); - expect(result.data).toBe(apiResponse.items[0]); + expect(result.data).toBe(apiResponse.item); expect(fakeHttpServices.get).toHaveBeenCalledTimes(1); expect(onSuccessMock).toHaveBeenCalledTimes(1); }); diff --git a/x-pack/plugins/security_solution/public/management/services/policies/hooks.ts b/x-pack/plugins/security_solution/public/management/services/policies/hooks.ts index 6254120445e438..a979d79db56630 100644 --- a/x-pack/plugins/security_solution/public/management/services/policies/hooks.ts +++ b/x-pack/plugins/security_solution/public/management/services/policies/hooks.ts @@ -7,7 +7,7 @@ import type { QueryObserverResult, UseQueryOptions } from '@tanstack/react-query'; import { useQuery } from '@tanstack/react-query'; import type { IHttpFetchError } from '@kbn/core-http-browser'; -import type { GetPackagesResponse } from '@kbn/fleet-plugin/common'; +import type { GetInfoResponse } from '@kbn/fleet-plugin/common'; import { useHttp } from '../../../common/lib/kibana'; import { MANAGEMENT_DEFAULT_PAGE_SIZE } from '../../common/constants'; import { sendGetEndpointSecurityPackage } from './ingest'; @@ -52,10 +52,10 @@ export function useGetEndpointSpecificPolicies( export function useGetEndpointSecurityPackage({ customQueryOptions, }: { - customQueryOptions?: UseQueryOptions; -}): QueryObserverResult { + customQueryOptions?: UseQueryOptions; +}): QueryObserverResult { const http = useHttp(); - return useQuery( + return useQuery( ['endpointPackageVersion', customQueryOptions], () => { return sendGetEndpointSecurityPackage(http); diff --git a/x-pack/plugins/security_solution/public/management/services/policies/ingest.test.ts b/x-pack/plugins/security_solution/public/management/services/policies/ingest.test.ts index d29eedd06f765a..a3644ce6914783 100644 --- a/x-pack/plugins/security_solution/public/management/services/policies/ingest.test.ts +++ b/x-pack/plugins/security_solution/public/management/services/policies/ingest.test.ts @@ -5,13 +5,9 @@ * 2.0. */ -import { - INGEST_API_EPM_PACKAGES, - sendGetPackagePolicy, - sendGetEndpointSecurityPackage, -} from './ingest'; +import { sendGetPackagePolicy, sendGetEndpointSecurityPackage } from './ingest'; import { httpServiceMock } from '@kbn/core/public/mocks'; -import { EPM_API_ROUTES, PACKAGE_POLICY_API_ROOT } from '@kbn/fleet-plugin/common'; +import { PACKAGE_POLICY_API_ROOT, epmRouteService } from '@kbn/fleet-plugin/common'; import { policyListApiPathHandlers } from '../../pages/policy/store/test_mock_utils'; describe('ingest service', () => { @@ -37,14 +33,11 @@ describe('ingest service', () => { }); describe('sendGetEndpointSecurityPackage()', () => { - it('should query EPM with category=security', async () => { - http.get.mockReturnValue( - Promise.resolve(policyListApiPathHandlers()[INGEST_API_EPM_PACKAGES]()) - ); + it('should query for endpoint package', async () => { + const path = epmRouteService.getInfoPath('endpoint'); + http.get.mockReturnValue(Promise.resolve(policyListApiPathHandlers()[path]())); await sendGetEndpointSecurityPackage(http); - expect(http.get).toHaveBeenCalledWith(`${EPM_API_ROUTES.LIST_PATTERN}`, { - query: { category: 'security' }, - }); + expect(http.get).toHaveBeenCalledWith(path); }); it('should throw if package is not found', async () => { diff --git a/x-pack/plugins/security_solution/public/management/services/policies/ingest.ts b/x-pack/plugins/security_solution/public/management/services/policies/ingest.ts index adfdcf3ca62a0b..c6240c934ec8fa 100644 --- a/x-pack/plugins/security_solution/public/management/services/policies/ingest.ts +++ b/x-pack/plugins/security_solution/public/management/services/policies/ingest.ts @@ -8,11 +8,13 @@ import type { HttpFetchOptions, HttpStart } from '@kbn/core/public'; import type { GetAgentStatusResponse, - GetPackagesResponse, GetAgentPoliciesRequest, GetAgentPoliciesResponse, GetPackagePoliciesResponse, + GetInfoResponse, } from '@kbn/fleet-plugin/common'; +import { epmRouteService } from '@kbn/fleet-plugin/common'; + import type { NewPolicyData } from '../../../../common/endpoint/types'; import type { GetPolicyResponse, UpdatePolicyResponse } from '../../pages/policy/types'; @@ -135,12 +137,10 @@ export const sendGetFleetAgentStatusForPolicy = ( */ export const sendGetEndpointSecurityPackage = async ( http: HttpStart -): Promise => { - const options = { query: { category: 'security' } }; - const securityPackages = await http.get(INGEST_API_EPM_PACKAGES, options); - const endpointPackageInfo = securityPackages.items.find( - (epmPackage) => epmPackage.name === 'endpoint' - ); +): Promise => { + const path = epmRouteService.getInfoPath('endpoint'); + const endpointPackageResponse = await http.get(path); + const endpointPackageInfo = endpointPackageResponse.item; if (!endpointPackageInfo) { throw new Error('Endpoint package was not found.'); } diff --git a/x-pack/plugins/security_solution/scripts/endpoint/agent_emulator/services/endpoint_loader.ts b/x-pack/plugins/security_solution/scripts/endpoint/agent_emulator/services/endpoint_loader.ts index b9df8251da3192..4d16a0407b0888 100644 --- a/x-pack/plugins/security_solution/scripts/endpoint/agent_emulator/services/endpoint_loader.ts +++ b/x-pack/plugins/security_solution/scripts/endpoint/agent_emulator/services/endpoint_loader.ts @@ -20,9 +20,9 @@ import { fetchEndpointMetadataList } from '../../common/endpoint_metadata_servic import { indexEndpointHostDocs } from '../../../../common/endpoint/data_loaders/index_endpoint_hosts'; import { setupFleetForEndpoint } from '../../../../common/endpoint/data_loaders/setup_fleet_for_endpoint'; import { enableFleetServerIfNecessary } from '../../../../common/endpoint/data_loaders/index_fleet_server'; -import { fetchEndpointPackageInfo } from '../../common/fleet_services'; import { METADATA_DATASTREAM } from '../../../../common/endpoint/constants'; import { EndpointMetadataGenerator } from '../../../../common/endpoint/data_generators/endpoint_metadata_generator'; +import { getEndpointPackageInfo } from '../../../../common/endpoint/index_data'; import { ENDPOINT_ALERTS_INDEX, ENDPOINT_EVENTS_INDEX } from '../../common/constants'; let WAS_FLEET_SETUP_DONE = false; @@ -105,7 +105,7 @@ export const loadEndpoints = async ({ WAS_FLEET_SETUP_DONE = true; } - const endpointPackage = await fetchEndpointPackageInfo(kbnClient); + const endpointPackage = await getEndpointPackageInfo(kbnClient); const realPolicies: Record = {}; let progress: LoadEndpointsProgress = { diff --git a/x-pack/plugins/security_solution/scripts/endpoint/common/fleet_services.ts b/x-pack/plugins/security_solution/scripts/endpoint/common/fleet_services.ts index c94b66d68a5da1..a8bc5fb04a8d44 100644 --- a/x-pack/plugins/security_solution/scripts/endpoint/common/fleet_services.ts +++ b/x-pack/plugins/security_solution/scripts/endpoint/common/fleet_services.ts @@ -6,12 +6,10 @@ */ import type { Client, estypes } from '@elastic/elasticsearch'; -import { AGENTS_INDEX, EPM_API_ROUTES } from '@kbn/fleet-plugin/common'; -import type { AgentStatus, GetPackagesResponse } from '@kbn/fleet-plugin/common'; +import { AGENTS_INDEX } from '@kbn/fleet-plugin/common'; +import type { AgentStatus } from '@kbn/fleet-plugin/common'; import { pick } from 'lodash'; import { ToolingLog } from '@kbn/tooling-log'; -import type { AxiosResponse } from 'axios'; -import type { KbnClient } from '@kbn/test'; import { FleetAgentGenerator } from '../../../common/endpoint/data_generators/fleet_agent_generator'; const fleetGenerator = new FleetAgentGenerator(); @@ -66,20 +64,3 @@ export const checkInFleetAgent = async ( }, }); }; - -export const fetchEndpointPackageInfo = async ( - kbnClient: KbnClient -): Promise => { - const endpointPackage = ( - (await kbnClient.request({ - path: `${EPM_API_ROUTES.LIST_PATTERN}?category=security`, - method: 'GET', - })) as AxiosResponse - ).data.items.find((epmPackage) => epmPackage.name === 'endpoint'); - - if (!endpointPackage) { - throw new Error('EPM Endpoint package was not found!'); - } - - return endpointPackage; -}; diff --git a/x-pack/plugins/security_solution/server/endpoint/endpoint_app_context_services.ts b/x-pack/plugins/security_solution/server/endpoint/endpoint_app_context_services.ts index e6c26c9af47738..bf87fbb22de0ae 100644 --- a/x-pack/plugins/security_solution/server/endpoint/endpoint_app_context_services.ts +++ b/x-pack/plugins/security_solution/server/endpoint/endpoint_app_context_services.ts @@ -41,11 +41,7 @@ import type { } from './services/fleet/endpoint_fleet_services_factory'; import { registerListsPluginEndpointExtensionPoints } from '../lists_integration'; import type { EndpointAuthz } from '../../common/endpoint/types/authz'; -import { - calculateEndpointAuthz, - calculatePermissionsFromPrivileges, - defaultEndpointPermissions, -} from '../../common/endpoint/service/authz'; +import { calculateEndpointAuthz } from '../../common/endpoint/service/authz'; import type { FeatureUsageService } from './services/feature_usage/service'; import type { ExperimentalFeatures } from '../../common/experimental_features'; import { doesArtifactHaveData } from './services'; @@ -173,18 +169,6 @@ export class EndpointAppContextService { const isPlatinumPlus = this.getLicenseService().isPlatinumPlus(); const listClient = this.getExceptionListsClient(); - let endpointPermissions = defaultEndpointPermissions(); - if (this.security) { - const checkPrivileges = this.security.authz.checkPrivilegesDynamicallyWithRequest(request); - const { privileges } = await checkPrivileges({ - kibana: [ - this.security.authz.actions.ui.get('siem', 'crud'), - this.security.authz.actions.ui.get('siem', 'show'), - ], - }); - endpointPermissions = calculatePermissionsFromPrivileges(privileges.kibana); - } - const hasExceptionsListItems = !isPlatinumPlus ? await doesArtifactHaveData(listClient, ENDPOINT_HOST_ISOLATION_EXCEPTIONS_LIST_ID) : true; @@ -194,7 +178,6 @@ export class EndpointAppContextService { fleetAuthz, userRoles, endpointRbacEnabled || endpointRbacV1Enabled, - endpointPermissions, hasExceptionsListItems ); } diff --git a/x-pack/plugins/synthetics/public/apps/synthetics/components/monitors_page/hooks/use_breadcrumbs.ts b/x-pack/plugins/synthetics/public/apps/synthetics/components/monitors_page/hooks/use_breadcrumbs.ts index 7454edfb32c1c3..70065d99dadbff 100644 --- a/x-pack/plugins/synthetics/public/apps/synthetics/components/monitors_page/hooks/use_breadcrumbs.ts +++ b/x-pack/plugins/synthetics/public/apps/synthetics/components/monitors_page/hooks/use_breadcrumbs.ts @@ -17,7 +17,7 @@ export const useMonitorListBreadcrumbs = (extraCrumbs?: Array<{ text: string; hr useBreadcrumbs([ { text: MONITOR_MANAGEMENT_CRUMB, - href: `${appPath}/${MONITORS_ROUTE}`, + href: `${appPath}${MONITORS_ROUTE}`, }, ...(extraCrumbs ?? []), ]); diff --git a/x-pack/plugins/synthetics/public/plugin.ts b/x-pack/plugins/synthetics/public/plugin.ts index ef8be0a72b3165..e82daf4bd78139 100644 --- a/x-pack/plugins/synthetics/public/plugin.ts +++ b/x-pack/plugins/synthetics/public/plugin.ts @@ -273,7 +273,7 @@ function registerSyntheticsRoutesWithNavigation( }), app: 'synthetics', path: OVERVIEW_ROUTE, - matchFullPath: true, + matchFullPath: false, ignoreTrailingSlash: true, }, ], diff --git a/x-pack/plugins/threat_intelligence/cypress/e2e/cases.cy.ts b/x-pack/plugins/threat_intelligence/cypress/e2e/cases.cy.ts index 52cdf25da68c21..94b103b827d4b7 100644 --- a/x-pack/plugins/threat_intelligence/cypress/e2e/cases.cy.ts +++ b/x-pack/plugins/threat_intelligence/cypress/e2e/cases.cy.ts @@ -29,10 +29,6 @@ import { login } from '../tasks/login'; import { esArchiverLoad, esArchiverUnload } from '../tasks/es_archiver'; import { selectRange } from '../tasks/select_range'; -before(() => { - login(); -}); - const THREAT_INTELLIGENCE = '/app/security/threat_intelligence/indicators'; const CASES = 'app/security/cases'; @@ -74,10 +70,14 @@ const deleteCase = () => { describe('Cases with invalid indicators', () => { before(() => { esArchiverLoad('threat_intelligence/invalid_indicators_data'); + login(); + }); + beforeEach(() => { cy.visit(THREAT_INTELLIGENCE); selectRange(); }); + after(() => { esArchiverUnload('threat_intelligence/invalid_indicators_data'); }); @@ -105,7 +105,9 @@ describe('Cases with invalid indicators', () => { describe('Cases interactions', () => { before(() => { esArchiverLoad('threat_intelligence/indicators_data'); + login(); }); + after(() => { esArchiverUnload('threat_intelligence/indicators_data'); }); diff --git a/x-pack/plugins/threat_intelligence/cypress/e2e/empty_page.cy.ts b/x-pack/plugins/threat_intelligence/cypress/e2e/empty_page.cy.ts index 6e31db8e12edc9..ef534deece7d41 100644 --- a/x-pack/plugins/threat_intelligence/cypress/e2e/empty_page.cy.ts +++ b/x-pack/plugins/threat_intelligence/cypress/e2e/empty_page.cy.ts @@ -14,13 +14,16 @@ import { const THREAT_INTEL_PATH = '/app/security/threat_intelligence/'; -before(() => { - login(); -}); - describe('Empty Page', () => { - it('should render the empty page with link to docs and integrations', () => { + before(() => { + login(); + }); + + beforeEach(() => { cy.visit(THREAT_INTEL_PATH); + }); + + it('should render the empty page with link to docs and integrations', () => { cy.get(EMPTY_PAGE_BODY).should('be.visible'); cy.get(EMPTY_PAGE_DOCS_LINK).should('be.visible'); cy.get(EMPTY_PAGE_INTEGRATIONS_LINK).should('be.visible'); diff --git a/x-pack/plugins/threat_intelligence/cypress/e2e/indicators.cy.ts b/x-pack/plugins/threat_intelligence/cypress/e2e/indicators.cy.ts index da5af8f6632d93..d9bf2bdc928c36 100644 --- a/x-pack/plugins/threat_intelligence/cypress/e2e/indicators.cy.ts +++ b/x-pack/plugins/threat_intelligence/cypress/e2e/indicators.cy.ts @@ -46,23 +46,26 @@ import { login } from '../tasks/login'; import { esArchiverLoad, esArchiverUnload } from '../tasks/es_archiver'; import { selectRange } from '../tasks/select_range'; -before(() => { - login(); -}); - const THREAT_INTELLIGENCE = '/app/security/threat_intelligence/indicators'; const URL_WITH_CONTRADICTORY_FILTERS = '/app/security/threat_intelligence/indicators?indicators=(filterQuery:(language:kuery,query:%27%27),filters:!((%27$state%27:(store:appState),meta:(alias:!n,disabled:!f,index:%27%27,key:threat.indicator.type,negate:!f,params:(query:file),type:phrase),query:(match_phrase:(threat.indicator.type:file))),(%27$state%27:(store:appState),meta:(alias:!n,disabled:!f,index:%27%27,key:threat.indicator.type,negate:!f,params:(query:url),type:phrase),query:(match_phrase:(threat.indicator.type:url)))),timeRange:(from:now/d,to:now/d))'; describe('Invalid Indicators', () => { + before(() => { + login(); + }); + describe('verify the grid loads even with missing fields', () => { before(() => { esArchiverLoad('threat_intelligence/invalid_indicators_data'); + }); + beforeEach(() => { cy.visit(THREAT_INTELLIGENCE); selectRange(); }); + after(() => { esArchiverUnload('threat_intelligence/invalid_indicators_data'); }); @@ -110,10 +113,13 @@ describe('Invalid Indicators', () => { describe('verify the grid loads even with missing mappings and missing fields', () => { before(() => { esArchiverLoad('threat_intelligence/missing_mappings_indicators_data'); + }); + beforeEach(() => { cy.visit(THREAT_INTELLIGENCE); selectRange(); }); + after(() => { esArchiverUnload('threat_intelligence/missing_mappings_indicators_data'); }); @@ -134,7 +140,9 @@ describe('Invalid Indicators', () => { describe('Indicators', () => { before(() => { esArchiverLoad('threat_intelligence/indicators_data'); + login(); }); + after(() => { esArchiverUnload('threat_intelligence/indicators_data'); }); @@ -149,7 +157,7 @@ describe('Indicators', () => { }); describe('Indicators page basics', () => { - before(() => { + beforeEach(() => { cy.visit(THREAT_INTELLIGENCE); selectRange(); @@ -200,7 +208,7 @@ describe('Indicators', () => { }); describe('Indicator page search', () => { - before(() => { + beforeEach(() => { cy.visit(THREAT_INTELLIGENCE); selectRange(); diff --git a/x-pack/plugins/threat_intelligence/cypress/e2e/query_bar.cy.ts b/x-pack/plugins/threat_intelligence/cypress/e2e/query_bar.cy.ts index e6eaa5671bed90..dd54473abc125f 100644 --- a/x-pack/plugins/threat_intelligence/cypress/e2e/query_bar.cy.ts +++ b/x-pack/plugins/threat_intelligence/cypress/e2e/query_bar.cy.ts @@ -28,15 +28,12 @@ import { selectRange } from '../tasks/select_range'; import { login } from '../tasks/login'; import { esArchiverLoad, esArchiverUnload } from '../tasks/es_archiver'; -before(() => { - login(); -}); - const THREAT_INTELLIGENCE = '/app/security/threat_intelligence/indicators'; describe('Indicators', () => { before(() => { esArchiverLoad('threat_intelligence/indicators_data'); + login(); }); after(() => { esArchiverUnload('threat_intelligence/indicators_data'); diff --git a/x-pack/plugins/threat_intelligence/cypress/e2e/timeline.cy.ts b/x-pack/plugins/threat_intelligence/cypress/e2e/timeline.cy.ts index 23aac220fc5cde..2f07c4199f3cb5 100644 --- a/x-pack/plugins/threat_intelligence/cypress/e2e/timeline.cy.ts +++ b/x-pack/plugins/threat_intelligence/cypress/e2e/timeline.cy.ts @@ -28,14 +28,12 @@ import { selectRange } from '../tasks/select_range'; const THREAT_INTELLIGENCE = '/app/security/threat_intelligence/indicators'; -before(() => { - login(); -}); - describe('Indicators', () => { before(() => { esArchiverLoad('threat_intelligence/indicators_data'); + login(); }); + after(() => { esArchiverUnload('threat_intelligence/indicators_data'); }); diff --git a/x-pack/plugins/threat_intelligence/cypress/tasks/login.ts b/x-pack/plugins/threat_intelligence/cypress/tasks/login.ts index accbed00a47e96..2f490e37595e18 100644 --- a/x-pack/plugins/threat_intelligence/cypress/tasks/login.ts +++ b/x-pack/plugins/threat_intelligence/cypress/tasks/login.ts @@ -162,19 +162,21 @@ export const loginWithRole = async (role: ROLES) => { port: Cypress.env('configport'), } as UrlObject); cy.log(`origin: ${theUrl}`); - cy.request({ - body: { - providerType: 'basic', - providerName: 'basic', - currentURL: '/', - params: { - username: role, - password: 'changeme', + cy.session(role, () => { + cy.request({ + body: { + providerType: 'basic', + providerName: 'basic', + currentURL: '/', + params: { + username: role, + password: 'changeme', + }, }, - }, - headers: { 'kbn-xsrf': 'cypress-creds-via-config' }, - method: 'POST', - url: getUrlWithRoute(role, LOGIN_API_ENDPOINT), + headers: { 'kbn-xsrf': 'cypress-creds-via-config' }, + method: 'POST', + url: getUrlWithRoute(role, LOGIN_API_ENDPOINT), + }); }); }; @@ -214,20 +216,25 @@ const loginViaEnvironmentCredentials = () => { `Authenticating via environment credentials from the \`CYPRESS_${ELASTICSEARCH_USERNAME}\` and \`CYPRESS_${ELASTICSEARCH_PASSWORD}\` environment variables` ); + const username = Cypress.env(ELASTICSEARCH_USERNAME); + const password = Cypress.env(ELASTICSEARCH_PASSWORD); + // programmatically authenticate without interacting with the Kibana login page - cy.request({ - body: { - providerType: 'basic', - providerName: 'basic', - currentURL: '/', - params: { - username: Cypress.env(ELASTICSEARCH_USERNAME), - password: Cypress.env(ELASTICSEARCH_PASSWORD), + cy.session([username, password], () => { + cy.request({ + body: { + providerType: 'basic', + providerName: 'basic', + currentURL: '/', + params: { + username, + password, + }, }, - }, - headers: { 'kbn-xsrf': 'cypress-creds-via-env' }, - method: 'POST', - url: `${Cypress.config().baseUrl}${LOGIN_API_ENDPOINT}`, + headers: { 'kbn-xsrf': 'cypress-creds-via-env' }, + method: 'POST', + url: `${Cypress.config().baseUrl}${LOGIN_API_ENDPOINT}`, + }); }); }; @@ -245,20 +252,25 @@ const loginViaConfig = () => { cy.readFile(KIBANA_DEV_YML_PATH).then((kibanaDevYml) => { const config = yaml.safeLoad(kibanaDevYml); + const username = config.elasticsearch.username; + const password = config.elasticsearch.password; + // programmatically authenticate without interacting with the Kibana login page - cy.request({ - body: { - providerType: 'basic', - providerName: 'basic', - currentURL: '/', - params: { - username: config.elasticsearch.username, - password: config.elasticsearch.password, + cy.session([username, password], () => { + cy.request({ + body: { + providerType: 'basic', + providerName: 'basic', + currentURL: '/', + params: { + username, + password, + }, }, - }, - headers: { 'kbn-xsrf': 'cypress-creds-via-config' }, - method: 'POST', - url: `${Cypress.config().baseUrl}${LOGIN_API_ENDPOINT}`, + headers: { 'kbn-xsrf': 'cypress-creds-via-config' }, + method: 'POST', + url: `${Cypress.config().baseUrl}${LOGIN_API_ENDPOINT}`, + }); }); }); }; diff --git a/x-pack/plugins/triggers_actions_ui/public/application/mock/alert_summary_widget/index.ts b/x-pack/plugins/triggers_actions_ui/public/application/mock/alert_summary_widget/index.ts index 566140397242ed..aaeb820ff136b7 100644 --- a/x-pack/plugins/triggers_actions_ui/public/application/mock/alert_summary_widget/index.ts +++ b/x-pack/plugins/triggers_actions_ui/public/application/mock/alert_summary_widget/index.ts @@ -6,79 +6,45 @@ */ import { AlertSummaryTimeRange } from '../../hooks/use_load_alert_summary'; -import { Rule } from '../../../types'; - -export const mockRule = (): Rule => { - return { - id: '1', - name: 'test rule', - tags: ['tag1'], - enabled: true, - ruleTypeId: 'test_rule_type', - schedule: { interval: '1s' }, - actions: [], - params: { name: 'test rule type name' }, - createdBy: null, - updatedBy: null, - apiKeyOwner: null, - throttle: '1m', - muteAll: false, - mutedInstanceIds: [], - createdAt: new Date(), - updatedAt: new Date(), - consumer: 'alerts', - notifyWhen: 'onActiveAlert', - executionStatus: { - status: 'active', - lastDuration: 500, - lastExecutionDate: new Date('2020-08-20T19:23:38Z'), - }, - monitoring: { - run: { - history: [ - { - success: true, - duration: 1000000, - timestamp: 1234567, - }, - { - success: true, - duration: 200000, - timestamp: 1234567, - }, - { - success: false, - duration: 300000, - timestamp: 1234567, - }, - ], - calculated_metrics: { - success_ratio: 0.66, - p50: 200000, - p95: 300000, - p99: 390000, - }, - last_run: { - timestamp: '2020-08-20T19:23:38Z', - metrics: { - duration: 500, - }, - }, - }, - }, - }; -}; export const mockAlertSummaryResponse = { - activeAlertCount: 1, - recoveredAlertCount: 1, + activeAlertCount: 2, activeAlerts: [ - { key: 1671321600000, doc_count: 0 }, + { key: 1671108000000, doc_count: 0 }, + { key: 1671208000000, doc_count: 0 }, + { key: 1671308000000, doc_count: 0 }, { key: 1671408000000, doc_count: 2 }, + { key: 1671508000000, doc_count: 4 }, + { key: 1671608000000, doc_count: 5 }, + { key: 1671708000000, doc_count: 3 }, + { key: 1671808000000, doc_count: 6 }, + { key: 1671908000000, doc_count: 14 }, + { key: 1672008000000, doc_count: 15 }, + { key: 1672108000000, doc_count: 15 }, + { key: 1672208000000, doc_count: 10 }, + { key: 1672308000000, doc_count: 9 }, + { key: 1672408000000, doc_count: 7 }, + { key: 1672508000000, doc_count: 2 }, + { key: 1672608000000, doc_count: 2 }, ], + recoveredAlertCount: 15, recoveredAlerts: [ - { key: 1671321600000, doc_count: 0 }, - { key: 1671408000000, doc_count: 1 }, + { key: 1671108000000, doc_count: 0 }, + { key: 1671208000000, doc_count: 0 }, + { key: 1671308000000, doc_count: 0 }, + { key: 1671408000000, doc_count: 0 }, + { key: 1671508000000, doc_count: 0 }, + { key: 1671608000000, doc_count: 0 }, + { key: 1671708000000, doc_count: 2 }, + { key: 1671808000000, doc_count: 0 }, + { key: 1671908000000, doc_count: 0 }, + { key: 1672008000000, doc_count: 0 }, + { key: 1672108000000, doc_count: 0 }, + { key: 1672208000000, doc_count: 5 }, + { key: 1672308000000, doc_count: 1 }, + { key: 1672408000000, doc_count: 2 }, + { key: 1672508000000, doc_count: 5 }, + { key: 1672608000000, doc_count: 0 }, ], }; diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/alert_summary/alert_summary_widget.test.tsx b/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/alert_summary/alert_summary_widget.test.tsx index 00059e491da006..721118c8a8dcf6 100644 --- a/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/alert_summary/alert_summary_widget.test.tsx +++ b/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/alert_summary/alert_summary_widget.test.tsx @@ -6,17 +6,19 @@ */ import React from 'react'; -import { act } from 'react-dom/test-utils'; -import { nextTick } from '@kbn/test-jest-helpers'; -import { AlertSummaryWidget } from './alert_summary_widget'; -import { mount, ReactWrapper } from 'enzyme'; +import { render } from '@testing-library/react'; import { __IntlProvider as IntlProvider } from '@kbn/i18n-react'; +import { AlertSummaryWidget } from './alert_summary_widget'; +import { AlertSummaryWidgetProps } from './types'; import { mockAlertSummaryTimeRange } from '../../../../mock/alert_summary_widget'; +import { useLoadAlertSummary } from '../../../../hooks/use_load_alert_summary'; jest.mock('@kbn/kibana-react-plugin/public/ui_settings/use_ui_setting', () => ({ useUiSetting: jest.fn().mockImplementation(() => true), })); +const TITLE_DATA_TEST_SUBJ = 'mockedTimeRangeTitle'; + jest.mock('../../../../hooks/use_load_alert_summary', () => ({ useLoadAlertSummary: jest.fn().mockReturnValue({ alertSummary: { @@ -33,40 +35,74 @@ jest.mock('../../../../hooks/use_load_alert_summary', () => ({ }, }), })); +const useLoadAlertSummaryMock = useLoadAlertSummary as jest.Mock; -describe('Alert Summary Widget', () => { - let wrapper: ReactWrapper; +describe('AlertSummaryWidget', () => { const mockedTimeRange = { ...mockAlertSummaryTimeRange, - title:

mockedTimeRangeTitle

, + title:

mockedTimeRangeTitle

, }; - async function setup() { - wrapper = mount( + const renderComponent = (props: Partial = {}) => + render( ); - await act(async () => { - await nextTick(); - wrapper.update(); - }); - } - beforeAll(async () => setup()); - it('should render the Rule Alerts Summary component', async () => { - expect(wrapper.find('[data-test-subj="alertSummaryWidget"]')).toBeTruthy(); + + it('should render AlertSummaryWidget compact version', async () => { + const alertSummaryWidget = renderComponent(); + + expect(alertSummaryWidget.queryByTestId('alertSummaryWidgetCompact')).toBeTruthy(); }); - it('should show zeros for all alerts counters', async () => { - expect(wrapper.find('[data-test-subj="activeAlertsCount"]').text()).toEqual('1'); - expect(wrapper.find('[data-test-subj="recoveredAlertsCount"]').text()).toBe('7'); - expect(wrapper.find('[data-test-subj="totalAlertsCount"]').at(1).text()).toBe('AlertsĀ (8)'); - expect(wrapper.find('[data-test-subj="mockedTimeRangeTitle"]').text()).toBe( - 'mockedTimeRangeTitle' - ); + it('should render AlertSummaryWidget full-size version', async () => { + const alertSummaryWidget = renderComponent({ fullSize: true }); + + expect(alertSummaryWidget.queryByTestId('alertSummaryWidgetFullSize')).toBeTruthy(); + }); + + it('should render counts and title correctly', async () => { + const alertSummaryWidget = renderComponent(); + expect(alertSummaryWidget.queryByTestId('activeAlertsCount')).toHaveTextContent('1'); + expect(alertSummaryWidget.queryByTestId('recoveredAlertsCount')).toHaveTextContent('7'); + expect(alertSummaryWidget.queryByTestId('totalAlertsCount')).toHaveTextContent('8'); + expect(alertSummaryWidget.queryByTestId(TITLE_DATA_TEST_SUBJ)).toBeTruthy(); + }); + + it('should render AlertSummaryWidgetError when API call fails', async () => { + useLoadAlertSummaryMock.mockImplementation(() => ({ + alertSummary: { + activeAlertCount: 0, + activeAlerts: [], + recoveredAlertCount: 0, + recoveredAlerts: [], + }, + isLoading: false, + error: 'Fetch Alert Summary Failed', + })); + const alertSummaryWidget = renderComponent(); + + expect(alertSummaryWidget.queryByTestId('alertSummaryWidgetError')).toBeTruthy(); + }); + + it('should render AlertSummaryWidget loading when API is loading', async () => { + useLoadAlertSummaryMock.mockImplementation(() => ({ + alertSummary: { + activeAlertCount: 0, + activeAlerts: [], + recoveredAlertCount: 0, + recoveredAlerts: [], + }, + isLoading: true, + })); + const alertSummaryWidget = renderComponent(); + + expect(alertSummaryWidget.queryByTestId('alertSummaryWidgetLoading')).toBeTruthy(); }); }); diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/alert_summary/alert_summary_widget.tsx b/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/alert_summary/alert_summary_widget.tsx index 1c8b9016b3df49..5232eb26619660 100644 --- a/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/alert_summary/alert_summary_widget.tsx +++ b/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/alert_summary/alert_summary_widget.tsx @@ -9,12 +9,17 @@ import { EuiLoadingSpinner } from '@elastic/eui'; import React from 'react'; import { useLoadAlertSummary } from '../../../../hooks/use_load_alert_summary'; import { AlertSummaryWidgetProps } from '.'; -import { AlertSummaryWidgetError, AlertsSummaryWidgetCompact } from './components'; +import { + AlertSummaryWidgetError, + AlertsSummaryWidgetCompact, + AlertsSummaryWidgetFullSize, +} from './components'; export const AlertSummaryWidget = ({ featureIds, filter, - onClick, + fullSize, + onClick = () => {}, timeRange, }: AlertSummaryWidgetProps) => { const { @@ -27,10 +32,17 @@ export const AlertSummaryWidget = ({ timeRange, }); - if (isLoading) return ; + if (isLoading) return ; if (error) return ; - return ( + return fullSize ? ( + + ) : ( { const isDarkMode = useUiSetting('theme:darkMode'); - const textColor = isDarkMode ? euiDarkVars.euiTextColor : euiLightVars.euiTextColor; + const { euiTheme } = useEuiTheme(); const theme = [ EUI_SPARKLINE_THEME_PARTIAL, { @@ -56,7 +61,7 @@ export const AlertStateInfo = ({ return ( - +

{count}

diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/alert_summary/components/alert_summary_widget_compact.stories.tsx b/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/alert_summary/components/alert_summary_widget_compact.stories.tsx index 1c3cecc73f6fa5..c676acdb60a8b3 100644 --- a/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/alert_summary/components/alert_summary_widget_compact.stories.tsx +++ b/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/alert_summary/components/alert_summary_widget_compact.stories.tsx @@ -7,6 +7,7 @@ import { action } from '@storybook/addon-actions'; import { AlertsSummaryWidgetCompact as Component } from './alert_summary_widget_compact'; +import { mockAlertSummaryResponse } from '../../../../../mock/alert_summary_widget'; export default { component: Component, @@ -15,44 +16,7 @@ export default { export const Compact = { args: { - activeAlertCount: 94, - activeAlerts: [ - { key: 1671108000000, doc_count: 0 }, - { key: 1671208000000, doc_count: 0 }, - { key: 1671308000000, doc_count: 0 }, - { key: 1671408000000, doc_count: 2 }, - { key: 1671508000000, doc_count: 4 }, - { key: 1671608000000, doc_count: 5 }, - { key: 1671708000000, doc_count: 3 }, - { key: 1671808000000, doc_count: 6 }, - { key: 1671908000000, doc_count: 14 }, - { key: 1672008000000, doc_count: 15 }, - { key: 1672108000000, doc_count: 15 }, - { key: 1672208000000, doc_count: 10 }, - { key: 1672308000000, doc_count: 9 }, - { key: 1672408000000, doc_count: 7 }, - { key: 1672508000000, doc_count: 2 }, - { key: 1672608000000, doc_count: 2 }, - ], - recoveredAlertCount: 15, - recoveredAlerts: [ - { key: 1671108000000, doc_count: 0 }, - { key: 1671208000000, doc_count: 0 }, - { key: 1671308000000, doc_count: 0 }, - { key: 1671408000000, doc_count: 0 }, - { key: 1671508000000, doc_count: 0 }, - { key: 1671608000000, doc_count: 0 }, - { key: 1671708000000, doc_count: 2 }, - { key: 1671808000000, doc_count: 0 }, - { key: 1671908000000, doc_count: 0 }, - { key: 1672008000000, doc_count: 0 }, - { key: 1672108000000, doc_count: 0 }, - { key: 1672208000000, doc_count: 5 }, - { key: 1672308000000, doc_count: 1 }, - { key: 1672408000000, doc_count: 2 }, - { key: 1672508000000, doc_count: 5 }, - { key: 1672608000000, doc_count: 0 }, - ], + ...mockAlertSummaryResponse, timeRangeTitle: 'Last 30 days', onClick: action('clicked'), }, diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/alert_summary/components/alert_summary_widget_compact.tsx b/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/alert_summary/components/alert_summary_widget_compact.tsx index 392dd901563f11..341d87b5162af6 100644 --- a/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/alert_summary/components/alert_summary_widget_compact.tsx +++ b/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/alert_summary/components/alert_summary_widget_compact.tsx @@ -16,8 +16,8 @@ import { EuiTitle, } from '@elastic/eui'; import { ALERT_STATUS_ACTIVE, ALERT_STATUS_RECOVERED, AlertStatus } from '@kbn/rule-data-utils'; -import { FormattedMessage } from '@kbn/i18n-react'; import { AlertStateInfo } from './alert_state_info'; +import { ACTIVE_ALERT_LABEL, ALL_ALERT_LABEL, RECOVERED_ALERT_LABEL } from './constants'; import { Alert } from '../../../../../hooks/use_load_alert_summary'; export interface AlertsSummaryWidgetCompactProps { @@ -58,7 +58,7 @@ export const AlertsSummaryWidgetCompact = ({ return (
- -  ({activeAlertCount + recoveredAlertCount}) + {ALL_ALERT_LABEL} ({activeAlertCount + recoveredAlertCount})
{!!timeRangeTitle && ( @@ -100,12 +96,7 @@ export const AlertsSummaryWidgetCompact = ({ domain={domain} id="active" stroke="#E7664C" - title={ - - } + title={ACTIVE_ALERT_LABEL} />
@@ -123,12 +114,7 @@ export const AlertsSummaryWidgetCompact = ({ domain={domain} id="recovered" stroke="#54B399" - title={ - - } + title={RECOVERED_ALERT_LABEL} /> diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/alert_summary/components/alert_summary_widget_error.tsx b/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/alert_summary/components/alert_summary_widget_error.tsx index 1ee04fe2f69d11..c44d1101366d40 100644 --- a/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/alert_summary/components/alert_summary_widget_error.tsx +++ b/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/alert_summary/components/alert_summary_widget_error.tsx @@ -12,7 +12,7 @@ import { FormattedMessage } from '@kbn/i18n-react'; export const AlertSummaryWidgetError = () => { return ( ({ + useUiSetting: jest.fn(() => false), +})); + +describe('AlertSummaryWidgetFullSize', () => { + const renderComponent = (props: Partial = {}) => + render( + + + + ); + + it('should render AlertSummaryWidgetFullSize', async () => { + const alertSummaryWidget = renderComponent(); + + expect(alertSummaryWidget.queryByTestId('alertSummaryWidgetFullSize')).toBeTruthy(); + }); + + it('should render counts correctly', async () => { + const alertSummaryWidget = renderComponent(); + + expect(alertSummaryWidget.queryByTestId('activeAlertsCount')).toHaveTextContent('2'); + expect(alertSummaryWidget.queryByTestId('recoveredAlertsCount')).toHaveTextContent('15'); + expect(alertSummaryWidget.queryByTestId('totalAlertsCount')).toHaveTextContent('17'); + }); +}); diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/alert_summary/components/alert_summary_widget_full_size.tsx b/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/alert_summary/components/alert_summary_widget_full_size.tsx new file mode 100644 index 00000000000000..4d8d7cc564e227 --- /dev/null +++ b/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/alert_summary/components/alert_summary_widget_full_size.tsx @@ -0,0 +1,161 @@ +/* + * 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 { + EUI_CHARTS_THEME_DARK, + EUI_CHARTS_THEME_LIGHT, + EUI_SPARKLINE_THEME_PARTIAL, +} from '@elastic/eui/dist/eui_charts_theme'; +import { useUiSetting } from '@kbn/kibana-react-plugin/public'; +import moment from 'moment'; +import React from 'react'; +import { Axis, Chart, CurveType, LineSeries, Position, ScaleType, Settings } from '@elastic/charts'; +import { EuiFlexGroup, EuiFlexItem, EuiPanel, EuiSpacer, EuiText, useEuiTheme } from '@elastic/eui'; +import { + ACTIVE_ALERT_LABEL, + ACTIVE_COLOR, + ALL_ALERT_LABEL, + RECOVERED_ALERT_LABEL, + RECOVERED_COLOR, + TOOLTIP_DATE_FORMAT, +} from './constants'; +import { Alert } from '../../../../../hooks/use_load_alert_summary'; + +export interface AlertsSummaryWidgetFullSizeProps { + activeAlertCount: number; + activeAlerts: Alert[]; + recoveredAlertCount: number; + recoveredAlerts: Alert[]; +} + +export const AlertsSummaryWidgetFullSize = ({ + activeAlertCount, + activeAlerts, + recoveredAlertCount, + recoveredAlerts, +}: AlertsSummaryWidgetFullSizeProps) => { + const isDarkMode = useUiSetting('theme:darkMode'); + const { euiTheme } = useEuiTheme(); + const chartTheme = [ + EUI_SPARKLINE_THEME_PARTIAL, + { + ...(isDarkMode ? EUI_CHARTS_THEME_DARK.theme : EUI_CHARTS_THEME_LIGHT.theme), + chartMargins: { + left: 10, + right: 10, + top: 10, + bottom: 10, + }, + }, + ]; + + return ( + + + + + + + + +

+ {activeAlertCount + recoveredAlertCount} +

+
+ + {ALL_ALERT_LABEL} + +
+ + +

{activeAlertCount}

+
+ + {ACTIVE_ALERT_LABEL} + +
+ + + +

{recoveredAlertCount}

+
+
+ + {RECOVERED_ALERT_LABEL} + +
+
+
+
+
+
+ + + moment(tooltip.value).format(TOOLTIP_DATE_FORMAT), + }} + /> + + + + + + +
+ ); +}; diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/alert_summary/components/constants.tsx b/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/alert_summary/components/constants.tsx new file mode 100644 index 00000000000000..33c1509adbc40e --- /dev/null +++ b/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/alert_summary/components/constants.tsx @@ -0,0 +1,34 @@ +/* + * 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 { FormattedMessage } from '@kbn/i18n-react'; +import React from 'react'; + +export const ACTIVE_COLOR = '#E7664C'; +export const RECOVERED_COLOR = '#54B399'; +export const TOOLTIP_DATE_FORMAT = 'MMMM D, YYYY'; + +export const ALL_ALERT_LABEL = ( + +); + +export const ACTIVE_ALERT_LABEL = ( + +); + +export const RECOVERED_ALERT_LABEL = ( + +); diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/alert_summary/components/index.ts b/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/alert_summary/components/index.ts index 9f4cd46f2e3608..51f94c6915f4cb 100644 --- a/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/alert_summary/components/index.ts +++ b/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/alert_summary/components/index.ts @@ -7,3 +7,4 @@ export { AlertsSummaryWidgetCompact } from './alert_summary_widget_compact'; export { AlertSummaryWidgetError } from './alert_summary_widget_error'; +export { AlertsSummaryWidgetFullSize } from './alert_summary_widget_full_size'; diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/alert_summary/types.ts b/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/alert_summary/types.ts index 61e189ab4e0c55..c9dc7b567d56c5 100644 --- a/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/alert_summary/types.ts +++ b/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/alert_summary/types.ts @@ -12,6 +12,7 @@ import { AlertSummaryTimeRange } from '../../../../hooks/use_load_alert_summary' export interface AlertSummaryWidgetProps { featureIds?: ValidFeatureId[]; filter?: estypes.QueryDslQueryContainer; - onClick: (status?: AlertStatus) => void; + fullSize?: boolean; + onClick?: (status?: AlertStatus) => void; timeRange: AlertSummaryTimeRange; } diff --git a/x-pack/test/fleet_api_integration/apis/epm/get.ts b/x-pack/test/fleet_api_integration/apis/epm/get.ts index 42e78b731a104c..21b55e0dd74548 100644 --- a/x-pack/test/fleet_api_integration/apis/epm/get.ts +++ b/x-pack/test/fleet_api_integration/apis/epm/get.ts @@ -208,5 +208,34 @@ export default function (providerContext: FtrProviderContext) { ); expect(dataStream?.elasticsearch?.source_mode).equal(undefined); }); + + it('allows user with only package level permission to access corresponding packages', async function () { + const pkg = 'endpoint'; + const pkgVersion = '8.6.0'; + await installPackage(pkg, pkgVersion); + const response = await supertestWithoutAuth + .get(`/api/fleet/epm/packages/${pkg}`) + .auth( + testUsers.endpoint_integr_read_only_fleet_none.username, + testUsers.endpoint_integr_read_only_fleet_none.password + ) + .expect(200); + expect(response.body.item.name).to.be(pkg); + expect(response.body.item.version).to.be(pkgVersion); + await uninstallPackage(pkg, pkgVersion); + }); + + it('rejects user with only package level permission to access unauthorized packages', async function () { + const response = await supertestWithoutAuth + .get(`/api/fleet/epm/packages/${testPkgName}`) + .auth( + testUsers.endpoint_integr_read_only_fleet_none.username, + testUsers.endpoint_integr_read_only_fleet_none.password + ) + .expect(403); + expect(response.body.message).to.be( + 'Authorization denied to package: apache. Allowed package(s): endpoint' + ); + }); }); } diff --git a/x-pack/test/fleet_api_integration/apis/package_policy/get.ts b/x-pack/test/fleet_api_integration/apis/package_policy/get.ts index 5e3978dc505979..be2c7cc73e5f36 100644 --- a/x-pack/test/fleet_api_integration/apis/package_policy/get.ts +++ b/x-pack/test/fleet_api_integration/apis/package_policy/get.ts @@ -144,8 +144,7 @@ export default function (providerContext: FtrProviderContext) { .expect(403, { statusCode: 403, error: 'Forbidden', - message: - "Authorization denied to [package.name=filetest]. Allowed package.name's: endpoint", + message: 'Authorization denied to package: filetest. Allowed package(s): endpoint', }); }); @@ -267,8 +266,7 @@ export default function (providerContext: FtrProviderContext) { .send({ ids: [packagePolicyId] }) .expect(403, { error: 'Forbidden', - message: - "Authorization denied to [package.name=filetest]. Allowed package.name's: endpoint", + message: 'Authorization denied to package: filetest. Allowed package(s): endpoint', statusCode: 403, }); }); diff --git a/x-pack/test/fleet_api_integration/apis/test_users.ts b/x-pack/test/fleet_api_integration/apis/test_users.ts index a202283cca9ccc..d8800003bda047 100644 --- a/x-pack/test/fleet_api_integration/apis/test_users.ts +++ b/x-pack/test/fleet_api_integration/apis/test_users.ts @@ -128,6 +128,17 @@ export const testUsers: { username: 'endpoint_fleet_read_integr_none', password: 'changeme', }, + // no fleet or integrations but read access to security solution app + endpoint_integr_read_only_fleet_none: { + permissions: { + feature: { + siem: ['minimal_all'], + }, + spaces: ['*'], + }, + username: 'endpoint_integr_read_only_fleet_none', + password: 'changeme', + }, }; export const setupTestUsers = async (security: SecurityService) => { diff --git a/x-pack/test/functional_with_es_ssl/apps/discover/search_source_alert.ts b/x-pack/test/functional_with_es_ssl/apps/discover/search_source_alert.ts index 58ce577c23fbad..f583abef819944 100644 --- a/x-pack/test/functional_with_es_ssl/apps/discover/search_source_alert.ts +++ b/x-pack/test/functional_with_es_ssl/apps/discover/search_source_alert.ts @@ -258,8 +258,8 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) { expect(await toasts.getToastCount()).to.be(0); } else { expect(await toasts.getToastCount()).to.be(1); - expect(await toasts.getToastContent(1)).to.equal( - `Displayed documents may vary\nThe displayed documents might differ from the documents that triggered the alert. Some documents might have been added or deleted.` + expect((await toasts.getToastContent(1)).startsWith('Displayed documents may vary')).to.be( + true ); } expect(await filterBar.getFilterCount()).to.be(0); @@ -306,16 +306,7 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) { expect(await titleElem.getVisibleText()).to.equal(dataView); }; - // Failing: See https://github.com/elastic/kibana/issues/148388 - // Failing: See https://github.com/elastic/kibana/issues/148386 - // Failing: https://github.com/elastic/kibana/issues/147958 - // Failing: https://github.com/elastic/kibana/issues/148367 - // Failing: https://github.com/elastic/kibana/issues/148385 - // Failing: https://github.com/elastic/kibana/issues/148387 - // Failing: https://github.com/elastic/kibana/issues/148389 - // Failing: https://github.com/elastic/kibana/issues/148390 - // Failing: https://github.com/elastic/kibana/issues/148391 - describe.skip('Search source Alert', () => { + describe('Search source Alert', () => { before(async () => { await security.testUser.setRoles(['discover_alert']); @@ -372,6 +363,11 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) { await input.type('search-source-alert-o*'); await testSubjects.click('explore-matching-indices-button'); + await retry.waitFor('selection to happen', async () => { + const dataViewSelector = await testSubjects.find('selectDataViewExpression'); + return (await dataViewSelector.getVisibleText()) === 'DATA VIEW\nsearch-source-alert-o*'; + }); + await testSubjects.click('saveRuleButton'); const errorElem = await testSubjects.find('esQueryAlertExpressionError'); @@ -382,6 +378,9 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) { it('should navigate to alert results via view in app link', async () => { await testSubjects.click('selectDataViewExpression'); await testSubjects.click('indexPattern-switcher--input'); + if (await testSubjects.exists('clearSearchButton')) { + await testSubjects.click('clearSearchButton'); + } const dataViewsElem = await testSubjects.find('euiSelectableList'); const sourceDataViewOption = await dataViewsElem.findByCssSelector( `[title="${SOURCE_DATA_VIEW}"]` diff --git a/x-pack/test/osquery_cypress/artifact_manager.ts b/x-pack/test/osquery_cypress/artifact_manager.ts index 74097deb442cc6..7ee2680e21f83b 100644 --- a/x-pack/test/osquery_cypress/artifact_manager.ts +++ b/x-pack/test/osquery_cypress/artifact_manager.ts @@ -6,5 +6,5 @@ */ export async function getLatestVersion(): Promise { - return '8.5.1-SNAPSHOT'; + return '8.6.0-SNAPSHOT'; } diff --git a/x-pack/test/security_functional/screenshots/baseline/reset_session_page.png b/x-pack/test/security_functional/screenshots/baseline/reset_session_page.png new file mode 100644 index 00000000000000..8ef70d4bf357a7 Binary files /dev/null and b/x-pack/test/security_functional/screenshots/baseline/reset_session_page.png differ diff --git a/x-pack/test/security_functional/tests/login_selector/index.ts b/x-pack/test/security_functional/tests/login_selector/index.ts index bf3cc557f0bd7d..ae81b307987cc3 100644 --- a/x-pack/test/security_functional/tests/login_selector/index.ts +++ b/x-pack/test/security_functional/tests/login_selector/index.ts @@ -11,5 +11,6 @@ export default function ({ loadTestFile }: FtrProviderContext) { describe('security app - login selector', function () { loadTestFile(require.resolve('./basic_functionality')); loadTestFile(require.resolve('./auth_provider_hint')); + loadTestFile(require.resolve('./reset_session_page')); }); } diff --git a/x-pack/test/security_functional/tests/login_selector/reset_session_page.ts b/x-pack/test/security_functional/tests/login_selector/reset_session_page.ts new file mode 100644 index 00000000000000..e4a9321b4b6f76 --- /dev/null +++ b/x-pack/test/security_functional/tests/login_selector/reset_session_page.ts @@ -0,0 +1,55 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import expect from '@kbn/expect'; +import { FtrProviderContext } from '../../ftr_provider_context'; + +export default function ({ getService, getPageObjects, updateBaselines }: FtrProviderContext) { + const screenshots = getService('screenshots'); + const browser = getService('browser'); + const security = getService('security'); + const PageObjects = getPageObjects(['security', 'common']); + + describe('reset session page', function () { + const userWithoutPermissions = { username: 'user_without_permissions', password: 'changeme' }; + + before(async () => { + // We use a really small window to minimize differences across os's and browsers. + await browser.setScreenshotSize(1000, 500); + + await security.user.create(userWithoutPermissions.username, { + password: userWithoutPermissions.password, + roles: [], + }); + }); + + beforeEach(async () => { + // Logout needs to happen before anything else to avoid flaky behavior + await PageObjects.security.forceLogout(); + }); + + after(async () => { + // Clean up after ourselves + await security.user.delete(userWithoutPermissions.username); + await PageObjects.security.forceLogout(); + }); + + it('compare screenshot', async () => { + await PageObjects.security.loginSelector.login('basic', 'basic1', { + username: userWithoutPermissions.username, + password: userWithoutPermissions.password, + expectedLoginResult: 'error', + }); + + const percentDifference = await screenshots.compareAgainstBaseline( + 'reset_session_page', + updateBaselines + ); + expect(percentDifference).to.be.lessThan(0.022); + }); + }); +} diff --git a/x-pack/test/security_solution_endpoint/services/endpoint_policy.ts b/x-pack/test/security_solution_endpoint/services/endpoint_policy.ts index db2f12694ac7cb..45d7b4226cf007 100644 --- a/x-pack/test/security_solution_endpoint/services/endpoint_policy.ts +++ b/x-pack/test/security_solution_endpoint/services/endpoint_policy.ts @@ -14,9 +14,10 @@ import { PACKAGE_POLICY_SAVED_OBJECT_TYPE, DeleteAgentPolicyRequest, DeletePackagePoliciesRequest, + epmRouteService, GetPackagePoliciesResponse, GetFullAgentPolicyResponse, - GetPackagesResponse, + type GetInfoResponse, } from '@kbn/fleet-plugin/common'; import { policyFactory } from '@kbn/security-solution-plugin/common/endpoint/models/policy_config'; import { Immutable } from '@kbn/security-solution-plugin/common/endpoint/types'; @@ -31,9 +32,6 @@ const INGEST_API_AGENT_POLICIES = `${INGEST_API_ROOT}/agent_policies`; const INGEST_API_AGENT_POLICIES_DELETE = `${INGEST_API_AGENT_POLICIES}/delete`; const INGEST_API_PACKAGE_POLICIES = `${INGEST_API_ROOT}/package_policies`; const INGEST_API_PACKAGE_POLICIES_DELETE = `${INGEST_API_PACKAGE_POLICIES}/delete`; -const INGEST_API_EPM_PACKAGES = `${INGEST_API_ROOT}/epm/packages`; - -const SECURITY_PACKAGES_ROUTE = `${INGEST_API_EPM_PACKAGES}?category=security&prerelease=true`; /** * Holds information about the test resources created to support an Endpoint Policy @@ -48,7 +46,7 @@ export interface PolicyTestResourceInfo { /** * Information about the endpoint package */ - packageInfo: Immutable; + packageInfo: Immutable; /** will clean up (delete) the objects created (Agent Policy + Package Policy) */ cleanup: () => Promise; } @@ -72,18 +70,19 @@ export function EndpointPolicyTestResourcesProvider({ getService }: FtrProviderC // so we'll retrieve a list of packages for a category of Security, and will then find the // endpoint package info. in the list. The request is kicked off here, but handled below after // Agent Policy creation so that they can be executed concurrently - let apiRequest: Promise; + let apiRequest: Promise; + const path = epmRouteService.getInfoPath('endpoint'); return () => { if (!apiRequest) { - log.info(`Setting up call to retrieve Endpoint package from ${SECURITY_PACKAGES_ROUTE}`); + log.info(`Setting up call to retrieve Endpoint package from ${path}`); // Currently (as of 2020-june) the package registry used in CI is the public one and // at times it encounters network connection issues. We use `retry.try` below to see if // subsequent requests get through. apiRequest = retry.try(() => { return supertest - .get(SECURITY_PACKAGES_ROUTE) + .get(path) .set('kbn-xsrf', 'xxx') .expect(200) .catch((error) => { @@ -92,15 +91,10 @@ export function EndpointPolicyTestResourcesProvider({ getService }: FtrProviderC error ); }) - .then((response: { body: GetPackagesResponse }) => { - const { body: secPackages } = response; - const endpointPackageInfo = secPackages.items.find( - (epmPackage) => epmPackage.name === 'endpoint' - ); + .then((response: { body: GetInfoResponse }) => { + const endpointPackageInfo = response.body.item; if (!endpointPackageInfo) { - throw new Error( - `Endpoint package was not in response from ${SECURITY_PACKAGES_ROUTE}` - ); + throw new Error(`Endpoint package was not in response from ${path}`); } log.info(`Endpoint package version: ${endpointPackageInfo.version}`); @@ -127,7 +121,7 @@ export function EndpointPolicyTestResourcesProvider({ getService }: FtrProviderC /** * Retrieves the currently installed endpoint package */ - async getEndpointPackage(): Promise> { + async getEndpointPackage(): Promise> { const endpointPackage = await retrieveEndpointPackageInfo(); if (!endpointPackage) { diff --git a/yarn.lock b/yarn.lock index 25cb67c35bfeeb..ce8e8cf546f8c8 100644 --- a/yarn.lock +++ b/yarn.lock @@ -7701,10 +7701,10 @@ resolved "https://registry.yarnpkg.com/@types/seedrandom/-/seedrandom-2.4.28.tgz#9ce8fa048c1e8c85cb71d7fe4d704e000226036f" integrity sha512-SMA+fUwULwK7sd/ZJicUztiPs8F1yCPwF3O23Z9uQ32ME5Ha0NmDK9+QTsYE4O2tHXChzXomSWWeIhCnoN1LqA== -"@types/selenium-webdriver@^4.1.9": - version "4.1.9" - resolved "https://registry.yarnpkg.com/@types/selenium-webdriver/-/selenium-webdriver-4.1.9.tgz#90b24668bf1ec0a049fbc7aeebd4f7ab672440fa" - integrity sha512-QNCYI3Rgjf3bZ2GZwXnUpOJUPR8p7+c9Um9MEKggLaUaF8UfjitH5aPCV1PF0DHVEiPYsXayGVS6+67DO3VILw== +"@types/selenium-webdriver@^4.1.10": + version "4.1.10" + resolved "https://registry.yarnpkg.com/@types/selenium-webdriver/-/selenium-webdriver-4.1.10.tgz#a33299c40afa8dfbd948c8dd338608b163f7c062" + integrity sha512-o6ARpkBI8J0b+jhLjXF46rYc8Vsb5CLrRetyA3V3qUPVDwNjPDyHZsZOCFSXH0KPZ6lIn2BfP1xVEPnO+AQy5w== dependencies: "@types/ws" "*" @@ -11669,20 +11669,20 @@ cyclist@~0.2.2: resolved "https://registry.yarnpkg.com/cyclist/-/cyclist-0.2.2.tgz#1b33792e11e914a2fd6d6ed6447464444e5fa640" integrity sha1-GzN5LhHpFKL9bW7WRHRkRE5fpkA= -cypress-axe@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/cypress-axe/-/cypress-axe-1.0.0.tgz#ab4e9486eaa3bb956a90a1ae40d52df42827b4f0" - integrity sha512-QBlNMAd5eZoyhG8RGGR/pLtpHGkvgWXm2tkP68scJ+AjYiNNOlJihxoEwH93RT+rWOLrefw4iWwEx8kpEcrvJA== +cypress-axe@^1.2.0: + version "1.2.0" + resolved "https://registry.yarnpkg.com/cypress-axe/-/cypress-axe-1.2.0.tgz#224936a3346055f6c22636e645746cc903aaa947" + integrity sha512-mK7rxc8+e0IM519efgkzVBQRYLapy55TOVNbWZsbX3495xFzf8NnkMddUaHAGgAnF+kcyJU7zNPu3lTiOD58WQ== cypress-file-upload@^5.0.8: version "5.0.8" resolved "https://registry.yarnpkg.com/cypress-file-upload/-/cypress-file-upload-5.0.8.tgz#d8824cbeaab798e44be8009769f9a6c9daa1b4a1" integrity sha512-+8VzNabRk3zG6x8f8BWArF/xA/W0VK4IZNx3MV0jFWrJS/qKn8eHfa5nU73P9fOQAgwHFJx7zjg4lwOnljMO8g== -cypress-multi-reporters@^1.6.1: - version "1.6.1" - resolved "https://registry.yarnpkg.com/cypress-multi-reporters/-/cypress-multi-reporters-1.6.1.tgz#515b891f6c80e0700068efb03ab9d55388399c95" - integrity sha512-FPeC0xWF1N6Myrwc2m7KC0xxlrtG8+x4hlsPFBDRWP8u/veR2x90pGaH3BuJfweV7xoQ4Zo85Qjhu3fgZGrBQQ== +cypress-multi-reporters@^1.6.2: + version "1.6.2" + resolved "https://registry.yarnpkg.com/cypress-multi-reporters/-/cypress-multi-reporters-1.6.2.tgz#129dfeffa00d4deca3e9f58d84570b9962c28c2b" + integrity sha512-lvwGwHqZG5CwGxBJ6UJXWaxlWGkJgxBjP0h+IVLrrwRlJpT4coSwwt+UzMdeqEMrzT4IDfhbtmUNOiDleisOYA== dependencies: debug "^4.1.1" lodash "^4.17.15" @@ -11699,22 +11699,22 @@ cypress-react-selector@^3.0.0: dependencies: resq "1.10.2" -cypress-real-events@^1.7.4: - version "1.7.4" - resolved "https://registry.yarnpkg.com/cypress-real-events/-/cypress-real-events-1.7.4.tgz#87780ee0f6669ee30ce52016c4bfc94d094a6e3d" - integrity sha512-bAlIf3w6uJa72hcbLFpQIl/hBoNGYnSVzFMgohefWcooyZz2WbFZdFAEDOl5qOPATtAU01o92sWvc2QW9eT8aA== +cypress-real-events@^1.7.6: + version "1.7.6" + resolved "https://registry.yarnpkg.com/cypress-real-events/-/cypress-real-events-1.7.6.tgz#6f17e0b2ceea1d6dc60f6737d8f84cc517bbbb4c" + integrity sha512-yP6GnRrbm6HK5q4DH6Nnupz37nOfZu/xn1xFYqsE2o4G73giPWQOdu6375QYpwfU1cvHNCgyD2bQ2hPH9D7NMw== -cypress-recurse@^1.24.0: - version "1.24.0" - resolved "https://registry.yarnpkg.com/cypress-recurse/-/cypress-recurse-1.24.0.tgz#d2d24024629573c84ee73b57955a728d6607046c" - integrity sha512-yH2XF71go+muxWjUbF7onNK0rzoVn27gzOPMTV3thg+Nv//jK2tV/z4hF0FWv88O3CAtmh7JZWhVNqFq4ghMZg== +cypress-recurse@^1.26.0: + version "1.26.0" + resolved "https://registry.yarnpkg.com/cypress-recurse/-/cypress-recurse-1.26.0.tgz#e897b8c849af25214ce8785c57479a7fd98d20a5" + integrity sha512-FioASB4kPgO8G0l4SkjPyFnm2VMvfG0zbjr3N/FqOiiq+YRtsXqGvFIYK9jKay90Ciqq3hKVLTuMCaNpniXYfA== dependencies: humanize-duration "^3.27.3" -cypress@^11.2.0: - version "11.2.0" - resolved "https://registry.yarnpkg.com/cypress/-/cypress-11.2.0.tgz#63edef8c387b687066c5493f6f0ad7b9ced4b2b7" - integrity sha512-u61UGwtu7lpsNWLUma/FKNOsrjcI6wleNmda/TyKHe0dOBcVjbCPlp1N6uwFZ0doXev7f/91YDpU9bqDCFeBLA== +cypress@^12.3.0: + version "12.3.0" + resolved "https://registry.yarnpkg.com/cypress/-/cypress-12.3.0.tgz#ae3fb0540aef4b5eab1ef2bcd0760caf2992b8bf" + integrity sha512-ZQNebibi6NBt51TRxRMYKeFvIiQZ01t50HSy7z/JMgRVqBUey3cdjog5MYEbzG6Ktti5ckDt1tfcC47lmFwXkw== dependencies: "@cypress/request" "^2.88.10" "@cypress/xvfb" "^1.2.4" @@ -19103,14 +19103,14 @@ lru-queue@0.1: es5-ext "~0.10.2" luxon@^1.21.3, luxon@^1.25.0: - version "1.28.0" - resolved "https://registry.yarnpkg.com/luxon/-/luxon-1.28.0.tgz#e7f96daad3938c06a62de0fb027115d251251fbf" - integrity sha512-TfTiyvZhwBYM/7QdAVDh+7dBTBA29v4ik0Ce9zda3Mnf8on1S5KJI8P2jKFZ8+5C0jhmr0KwJEO/Wdpm0VeWJQ== + version "1.28.1" + resolved "https://registry.yarnpkg.com/luxon/-/luxon-1.28.1.tgz#528cdf3624a54506d710290a2341aa8e6e6c61b0" + integrity sha512-gYHAa180mKrNIUJCbwpmD0aTu9kV0dREDrwNnuyFAsO1Wt0EVYSZelPnJlbj9HplzXX/YWXHFTL45kvZ53M0pw== -luxon@^2.3.2: - version "2.3.2" - resolved "https://registry.yarnpkg.com/luxon/-/luxon-2.3.2.tgz#5f2f3002b8c39b60a7b7ad24b2a85d90dc5db49c" - integrity sha512-MlAQQVMFhGk4WUA6gpfsy0QycnKP0+NlCBJRVRNPxxSIbjrCbQ65nrpJD3FVyJNZLuJ0uoqL57ye6BmDYgHaSw== +luxon@^2.5.2: + version "2.5.2" + resolved "https://registry.yarnpkg.com/luxon/-/luxon-2.5.2.tgz#17ed497f0277e72d58a4756d6a9abee4681457b6" + integrity sha512-Yg7/RDp4nedqmLgyH0LwgGRvMEKVzKbUdkBYyCosbHgJ+kaOUx0qzSiSatVc3DFygnirTPYnMM2P5dg2uH1WvA== lz-string@^1.4.4: version "1.4.4" @@ -22850,7 +22850,7 @@ react-grid-layout@^1.3.4: react-draggable "^4.0.0" react-resizable "^3.0.4" -react-hook-form@^7.41.2: +react-hook-form@^7.41.3: version "7.41.5" resolved "https://registry.yarnpkg.com/react-hook-form/-/react-hook-form-7.41.5.tgz#dcd0e7438c15044eadc99df6deb889da5858a03b" integrity sha512-DAKjSJ7X9f16oQrP3TW2/eD9N6HOgrmIahP4LOdFphEWVfGZ2LulFd6f6AQ/YS/0cx/5oc4j8a1PXxuaurWp/Q==